@linzjs/step-ag-grid 31.2.1 → 31.2.2
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 +2 -2
- package/dist/step-ag-grid.cjs.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/gridForm/GridFormPopoverMenu.tsx +2 -4
- package/src/stories/grid/gridFormStatic/GridFormPopoverMenu.stories.tsx +12 -3
package/dist/step-ag-grid.esm.js
CHANGED
|
@@ -63744,7 +63744,7 @@ const GridFormPopoverMenu = (props) => {
|
|
|
63744
63744
|
invalid: () => subComponentSelected && !subComponentIsValid.current,
|
|
63745
63745
|
save,
|
|
63746
63746
|
});
|
|
63747
|
-
return popoverWrapper(jsx(ComponentLoadingWrapper, { loading: !options, className: 'GridFormPopupMenu', children: jsx(Fragment, { children: isEmpty(options) ? (jsx(MenuItem, { className: 'GridPopoverMenu-noOptions', disabled: true, children: "No actions" }, `GridPopoverMenu-empty`)) : (options?.map((item, index) => item.label === '__isMenuSeparator__' ? (jsx(MenuDivider, {}, `$$divider_${index}`)) : (!item.hidden && (jsxs(Fragment$1, { children: [item.subMenu ? (jsx(SubMenu, { disabled: !!item.disabled, label: item.label, title: item.disabled && typeof item.disabled !== 'boolean' ? item.disabled : '', children: jsx(item.subMenu, {}) }
|
|
63747
|
+
return popoverWrapper(jsx(ComponentLoadingWrapper, { loading: !options, className: 'GridFormPopupMenu', children: jsx(Fragment, { children: isEmpty(options) ? (jsx(MenuItem, { className: 'GridPopoverMenu-noOptions', disabled: true, children: "No actions" }, `GridPopoverMenu-empty`)) : (options?.map((item, index) => item.label === '__isMenuSeparator__' ? (jsx(MenuDivider, {}, `$$divider_${index}`)) : (!item.hidden && (jsxs(Fragment$1, { children: [item.subMenu ? (jsx(SubMenu, { disabled: !!item.disabled, label: item.label, title: item.disabled && typeof item.disabled !== 'boolean' ? item.disabled : '', children: jsx(item.subMenu, {}) })) : (jsx(MenuItem, { onClick: (e) => void onMenuItemClick(e, item), disabled: !!item.disabled, title: item.disabled && typeof item.disabled !== 'boolean' ? item.disabled : '', children: item.label })), item.subComponent && subComponentSelected === item && (jsx(FocusableItem, { className: 'LuiDeprecatedForms', children: () => (jsx(GridSubComponentContext.Provider, { value: {
|
|
63748
63748
|
context: {},
|
|
63749
63749
|
data,
|
|
63750
63750
|
value: subSelectedValue,
|
|
@@ -63755,7 +63755,7 @@ const GridFormPopoverMenu = (props) => {
|
|
|
63755
63755
|
subComponentIsValid.current = valid;
|
|
63756
63756
|
},
|
|
63757
63757
|
triggerSave,
|
|
63758
|
-
}, children: jsx("div", { className: 'subComponent', children: item.subComponent && jsx(item.subComponent, {}) }) })) }
|
|
63758
|
+
}, children: jsx("div", { className: 'subComponent', children: item.subComponent && jsx(item.subComponent, {}) }) })) }))] }, `fragment__${index}`))))) }) }));
|
|
63759
63759
|
};
|
|
63760
63760
|
|
|
63761
63761
|
const TextAreaInput = (props) => {
|