@linzjs/step-ag-grid 23.0.0 → 23.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/step-ag-grid.cjs.js +2 -2
- package/dist/step-ag-grid.cjs.js.map +1 -1
- package/dist/step-ag-grid.esm.js +2 -2
- package/dist/step-ag-grid.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/gridFilter/GridFilterHeaderIconButton.tsx +1 -1
- package/src/lui/ActionButton.tsx +1 -1
package/dist/step-ag-grid.esm.js
CHANGED
|
@@ -3047,7 +3047,7 @@ const GridCellMultiEditor = (props, cellEditorSelector) => GridCell({
|
|
|
3047
3047
|
});
|
|
3048
3048
|
|
|
3049
3049
|
const GridFilterHeaderIconButton = forwardRef(function columnsButton({ icon, title, onClick, buttonProps, disabled = false, size = "md" }, ref) {
|
|
3050
|
-
return (jsx(LuiButton, { ...buttonProps, type: "button", level: "tertiary", className: "lui-button-icon-only", ref: ref, "aria-label": title, title: title, onClick: onClick, disabled: disabled, children: jsx(LuiIcon, { name: icon, alt: "Menu", size: size }) }));
|
|
3050
|
+
return (jsx(LuiButton, { ...buttonProps, type: "button", level: "tertiary", className: "lui-button-icon-only", ref: ref, buttonProps: { "aria-label": title }, title: title, onClick: onClick, disabled: disabled, children: jsx(LuiIcon, { name: icon, alt: "Menu", size: size }) }));
|
|
3051
3051
|
});
|
|
3052
3052
|
|
|
3053
3053
|
const GridFilterColumnsToggle = ({ saveState = true }) => {
|
|
@@ -5319,7 +5319,7 @@ const ActionButton = ({ icon, name, inProgressName, disabled, dataTestId, style,
|
|
|
5319
5319
|
inProgress ? setLocalInProgress(true) : setLocalInProgressDeferred(false, minimumInProgressTimeMs);
|
|
5320
5320
|
}, [inProgress, lastInProgress, setLocalInProgress, setLocalInProgressDeferred]);
|
|
5321
5321
|
const buttonText = (jsxs("span", { className: "ActionButton-minimalArea", children: [jsx("span", { className: "ActionButton-minimalAreaDisplay", children: (localInProgress ? inProgressName : name) ?? name }), jsx("span", { className: "ActionButton-minimalAreaExpand", children: name })] }));
|
|
5322
|
-
return (jsxs(LuiButton, { "data-testid": dataTestId, type: "button", level: level, title: title ?? ariaLabel ?? name, "aria-label": ariaLabel ?? name, className: clsx("lui-button-icon-right", "ActionButton", className, localInProgress && "ActionButton-inProgress", name != null && !className?.includes("ActionButton-fill") && "ActionButton-minimal", name == null && "ActionButton-iconOnly"), size: "lg", style: style, onClick: async () => {
|
|
5322
|
+
return (jsxs(LuiButton, { "data-testid": dataTestId, type: "button", level: level, title: title ?? ariaLabel ?? name, buttonProps: { "aria-label": ariaLabel ?? name }, className: clsx("lui-button-icon-right", "ActionButton", className, localInProgress && "ActionButton-inProgress", name != null && !className?.includes("ActionButton-fill") && "ActionButton-minimal", name == null && "ActionButton-iconOnly"), size: "lg", style: style, onClick: async () => {
|
|
5323
5323
|
const promise = onClick();
|
|
5324
5324
|
const isPromise = typeof promise !== "undefined";
|
|
5325
5325
|
if (isPromise) {
|