8.17.0
@comet/admin@8.17.0
Minor Changes
- 45163f1: Add DataGrid helper
useDataGridUrlStatethat can be used likeuseDataGridRemoteto store state as location params but for client side (non paginated) filter/sort
@comet/admin-generator@8.17.0
Minor Changes
-
cd854dc: Grid: Add automatic
onRowClicknavigationGenerated grids now automatically navigate to the edit page when a row is clicked, improving user experience.
- When
rowActionPropisfalse(default): generates ahandleRowClickhandler usinguseStackSwitchApi().activatePage("edit", id) - When
rowActionPropistrue: adds anonRowClickprop to allow parent components to implement needed action
- When
-
45163f1: Grid: Enable client side filter and sort when non paging api is used
@comet/site-react@8.17.0
Minor Changes
-
35c338e: Add HTML anchor props pass-through to
ExternalLinkBlock,PhoneLinkBlock, andEmailLinkBlockThese link block components now accept and pass through standard HTML anchor element attributes (such as
id,className,style,target,rel,aria-*,data-*,onClick, etc.) to the rendered<a>element.Example:
<ExternalLinkBlock data={linkData} className="custom-link" aria-label="Opens external site" data-tracking="external-click"> <span>External Link</span> </ExternalLinkBlock>