@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.cjs.js
CHANGED
|
@@ -3049,7 +3049,7 @@ const GridCellMultiEditor = (props, cellEditorSelector) => GridCell({
|
|
|
3049
3049
|
});
|
|
3050
3050
|
|
|
3051
3051
|
const GridFilterHeaderIconButton = React.forwardRef(function columnsButton({ icon, title, onClick, buttonProps, disabled = false, size = "md" }, ref) {
|
|
3052
|
-
return (jsxRuntime.jsx(lui.LuiButton, { ...buttonProps, type: "button", level: "tertiary", className: "lui-button-icon-only", ref: ref, "aria-label": title, title: title, onClick: onClick, disabled: disabled, children: jsxRuntime.jsx(lui.LuiIcon, { name: icon, alt: "Menu", size: size }) }));
|
|
3052
|
+
return (jsxRuntime.jsx(lui.LuiButton, { ...buttonProps, type: "button", level: "tertiary", className: "lui-button-icon-only", ref: ref, buttonProps: { "aria-label": title }, title: title, onClick: onClick, disabled: disabled, children: jsxRuntime.jsx(lui.LuiIcon, { name: icon, alt: "Menu", size: size }) }));
|
|
3053
3053
|
});
|
|
3054
3054
|
|
|
3055
3055
|
const GridFilterColumnsToggle = ({ saveState = true }) => {
|
|
@@ -5321,7 +5321,7 @@ const ActionButton = ({ icon, name, inProgressName, disabled, dataTestId, style,
|
|
|
5321
5321
|
inProgress ? setLocalInProgress(true) : setLocalInProgressDeferred(false, minimumInProgressTimeMs);
|
|
5322
5322
|
}, [inProgress, lastInProgress, setLocalInProgress, setLocalInProgressDeferred]);
|
|
5323
5323
|
const buttonText = (jsxRuntime.jsxs("span", { className: "ActionButton-minimalArea", children: [jsxRuntime.jsx("span", { className: "ActionButton-minimalAreaDisplay", children: (localInProgress ? inProgressName : name) ?? name }), jsxRuntime.jsx("span", { className: "ActionButton-minimalAreaExpand", children: name })] }));
|
|
5324
|
-
return (jsxRuntime.jsxs(lui.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 () => {
|
|
5324
|
+
return (jsxRuntime.jsxs(lui.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 () => {
|
|
5325
5325
|
const promise = onClick();
|
|
5326
5326
|
const isPromise = typeof promise !== "undefined";
|
|
5327
5327
|
if (isPromise) {
|