@m4l/components 9.2.54 → 9.2.56
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/components/AccountPopover/slots/AccountPopoverSlots.d.ts +3 -3
- package/components/AppBar/slots/AppBarSlots.d.ts +2 -2
- package/components/Chip/slots/ChipSlots.d.ts +1 -1
- package/components/Color/slots/ColorSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +0 -2
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
- package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
- package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +3 -3
- package/components/Label/slots/LabelSlots.d.ts +1 -1
- package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
- package/components/MenuActions/MenuActions.js +1 -1
- package/components/MenuActions/slots/MenuActionsSlots.d.ts +2 -2
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
- package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +0 -2
- package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
- package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +1 -1
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +2 -2
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +4 -4
- package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +0 -5
- package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
- package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
- package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
- package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +2 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +2 -2
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +2 -2
- package/components/hook-form/RHFormContext/index.d.ts +1 -1
- package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +2 -2
- package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +4 -4
- package/components/mui_extended/Avatar/slots/AvatarSlots.d.ts +1 -1
- package/components/mui_extended/Badge/Badge.js +14 -7
- package/components/mui_extended/Badge/Badge.styles.js +22 -32
- package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +1 -1
- package/components/mui_extended/Badge/slots/BadgeSlots.js +2 -2
- package/components/mui_extended/Badge/types.d.ts +4 -3
- package/components/mui_extended/Button/ButtonStyles.js +16 -4
- package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
- package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +1 -1
- package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +4 -4
- package/components/mui_extended/Divider/slots/DividerSlots.d.ts +1 -1
- package/components/mui_extended/IconButton/IconButton.js +37 -11
- package/components/mui_extended/IconButton/IconButton.styles.js +48 -38
- package/components/mui_extended/IconButton/helpers/evalIconColor.d.ts +1 -1
- package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +2 -4
- package/components/mui_extended/IconButton/slots/IconButtonSlots.js +4 -3
- package/components/mui_extended/IconButton/types.d.ts +9 -7
- package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
- package/components/mui_extended/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +1 -1
- package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
- package/components/mui_extended/Select/slots/SelectSlots.d.ts +2 -2
- package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
- package/components/mui_extended/Stack/Stack.js +4 -2
- package/components/mui_extended/Stack/Stack.styles.js +7 -4
- package/components/mui_extended/Stack/slots/StackSlot.d.ts +1 -1
- package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
- package/components/mui_extended/Tabs/slots/TabsSlots.d.ts +1 -1
- package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +1 -1
- package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +3 -3
- package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
- package/components/mui_extended/ToggleIconButton/ToggleIconButton.js +12 -5
- package/components/mui_extended/ToggleIconButton/ToggleIconButton.styles.js +21 -11
- package/components/mui_extended/ToggleIconButton/constants.d.ts +7 -0
- package/components/mui_extended/ToggleIconButton/constants.js +3 -1
- package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
- package/components/mui_extended/ToggleIconButton/types.d.ts +9 -3
- package/components/mui_extended/Typography/slots/typographySlots.d.ts +1 -1
- package/hooks/useDynamicFilterAndSort/styles.js +1 -8
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +3 -19
- package/index.js +20 -19
- package/package.json +1 -1
- package/storybook/components/ObjectLogs/ObjectLogs.stories.d.ts +2 -2
- package/storybook/components/extended/mui/Badge/Badge.stories.d.ts +4 -0
- package/storybook/components/extended/mui/Button/Button.stories.d.ts +1 -0
- package/storybook/components/extended/mui/Button/ButtonDataGridWithActions.d.ts +5 -0
- package/storybook/components/extended/mui/IconButton/IconButton.stories.d.ts +12 -0
- package/storybook/components/extended/mui/ToggleIconButton/ToggleIconButton.stories.d.ts +12 -0
package/index.js
CHANGED
|
@@ -103,7 +103,7 @@ import { T as T11 } from "./components/mui_extended/ToggleButton/slots/ToggleBut
|
|
|
103
103
|
import { T as T12 } from "./components/mui_extended/ToggleButton/slots/ToggleButtonSlots.js";
|
|
104
104
|
import { t as t2 } from "./components/mui_extended/ToggleIconButton/ToggleIconButton.styles.js";
|
|
105
105
|
import { T as T13 } from "./components/mui_extended/ToggleIconButton/ToggleIconButton.js";
|
|
106
|
-
import { T as T14 } from "./components/mui_extended/ToggleIconButton/constants.js";
|
|
106
|
+
import { a as a7, T as T14 } from "./components/mui_extended/ToggleIconButton/constants.js";
|
|
107
107
|
import { T as T15 } from "./components/mui_extended/ToggleIconButton/slots/ToggleIconButtonEnum.js";
|
|
108
108
|
import { T as T16 } from "./components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.js";
|
|
109
109
|
import { N as N2 } from "./components/mui_extended/NavLink/NavLink.js";
|
|
@@ -157,7 +157,7 @@ import { L as L9 } from "./components/Loadable/index.js";
|
|
|
157
157
|
import { L as L10 } from "./components/LoadingError/LoadingError.js";
|
|
158
158
|
import { g as g22 } from "./components/LoadingError/dictionary.js";
|
|
159
159
|
import { g as g23 } from "./components/MenuActions/dictionary.js";
|
|
160
|
-
import { a as
|
|
160
|
+
import { a as a8, M as M3 } from "./components/MenuActions/MenuActions.js";
|
|
161
161
|
import { M as M4 } from "./components/MFIsolationApp/MFIsolationApp.js";
|
|
162
162
|
import { M as M5 } from "./components/MFLoader/MFLoader.js";
|
|
163
163
|
import { g as g24 } from "./components/MFLoader/dictionary.js";
|
|
@@ -168,7 +168,7 @@ import { O } from "./components/ObjectLogs/ObjectLogs.js";
|
|
|
168
168
|
import { P as P8 } from "./components/PaperForm/PaperForm.js";
|
|
169
169
|
import { P as P9 } from "./components/PDFViewer/PDFViewer.js";
|
|
170
170
|
import { u as u14 } from "./components/popups/components/PopupsProvider/hooks/usePopupsStore.js";
|
|
171
|
-
import { a as
|
|
171
|
+
import { a as a9, P as P10 } from "./components/popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js";
|
|
172
172
|
import { P as P11 } from "./components/popups/components/PopupsViewer/PopupsViewer.js";
|
|
173
173
|
import { P as P12 } from "./components/PrintingSystem/PrintingSystem.js";
|
|
174
174
|
import { P as P13 } from "./components/PropertyValue/PropertyValue.js";
|
|
@@ -178,18 +178,18 @@ import { T as T18 } from "./components/ToastContainer/ToastContainer.js";
|
|
|
178
178
|
import { T as T19 } from "./components/ToastContainer/subcomponents/ToastMessage/ToastMessage.js";
|
|
179
179
|
import { W } from "./components/WindowBase/WindowBase.js";
|
|
180
180
|
import { u as u15 } from "./components/WindowBase/hooks/useWindowToolsMF/index.js";
|
|
181
|
-
import { a as
|
|
182
|
-
import { M as M6, W as W2, a as
|
|
181
|
+
import { a as a10, u as u16 } from "./components/WindowBase/hooks/useDynamicMFParameters/index.js";
|
|
182
|
+
import { M as M6, W as W2, a as a11 } from "./components/WindowBase/contexts/WindowToolsMFContext/WindowToolsMFContext.js";
|
|
183
183
|
import { c as c3 } from "./components/WindowBase/contexts/DynamicMFParmsContext/store.js";
|
|
184
|
-
import { D as D9, a as
|
|
184
|
+
import { D as D9, a as a12, M as M7 } from "./components/WindowBase/contexts/DynamicMFParmsContext/DynamicMFParmsContext.js";
|
|
185
185
|
import { W as W3 } from "./components/WindowConfirm/WindowConfirm.js";
|
|
186
|
-
import { a as
|
|
186
|
+
import { a as a13, g as g27 } from "./components/ModalDialog/dictionary.js";
|
|
187
187
|
import { M as M8 } from "./components/ModalDialog/ModalDialog.js";
|
|
188
188
|
import { F as F2, R as R22, u as u17 } from "./components/hook-form/RHFormContext/index.js";
|
|
189
189
|
import { g as g28 } from "./components/hook-form/RHFormContext/dictionary.js";
|
|
190
190
|
import { u as u18 } from "./contexts/AppearanceComponentContext/useAppearanceComponentStore.js";
|
|
191
191
|
import { A as A16 } from "./contexts/AppearanceComponentContext/AppearanceComponentContext.js";
|
|
192
|
-
import { a as
|
|
192
|
+
import { a as a14, M as M9 } from "./contexts/ModalContext/index.js";
|
|
193
193
|
import { u as u19 } from "./hooks/useFormAddEdit/index.js";
|
|
194
194
|
import { u as u20 } from "./hooks/useModal/index.js";
|
|
195
195
|
import { u as u21 } from "./hooks/useTab/index.js";
|
|
@@ -210,9 +210,9 @@ import { g as g30 } from "./utils/getComponentUtilityClass.js";
|
|
|
210
210
|
import { g as g31 } from "./utils/getPaletteColor.js";
|
|
211
211
|
import { g as g32 } from "./utils/getTypographyStyles.js";
|
|
212
212
|
import { g as g33 } from "./utils/getIconColor.js";
|
|
213
|
-
import { a as
|
|
213
|
+
import { a as a15 } from "./utils/getSizeStyles/getSizeStyles.js";
|
|
214
214
|
import { O as O2 } from "./utils/ObjectQueue.js";
|
|
215
|
-
import { g as g34, a as
|
|
215
|
+
import { g as g34, a as a16 } from "./utils/getComponentSlotRoot.js";
|
|
216
216
|
import { f } from "./utils/formatDistanceToNow/formatDistanteToNow.js";
|
|
217
217
|
import { g as g35 } from "./utils/getValidDate.js";
|
|
218
218
|
import { g as g36 } from "./utils/getNullGuard.js";
|
|
@@ -266,7 +266,7 @@ export {
|
|
|
266
266
|
D3 as DragResizeWindowRND,
|
|
267
267
|
D4 as DynamicFilter,
|
|
268
268
|
D9 as DynamicMFParmsContext,
|
|
269
|
-
|
|
269
|
+
a12 as DynamicMFParmsProvider,
|
|
270
270
|
D5 as DynamicSort,
|
|
271
271
|
F as FixedSizeList,
|
|
272
272
|
F2 as FormProviderCustom,
|
|
@@ -292,10 +292,10 @@ export {
|
|
|
292
292
|
M4 as MFIsolationApp,
|
|
293
293
|
M5 as MFLoader,
|
|
294
294
|
M7 as MemonizedDynamicMFParmsProvider,
|
|
295
|
-
|
|
295
|
+
a8 as MemonizedMenuActions,
|
|
296
296
|
M6 as MemonizedWindowToolsMFContext,
|
|
297
297
|
M3 as MenuActions,
|
|
298
|
-
|
|
298
|
+
a14 as ModalContext,
|
|
299
299
|
M8 as ModalDialog,
|
|
300
300
|
M9 as ModalProvider,
|
|
301
301
|
M as MotionContainer,
|
|
@@ -312,7 +312,7 @@ export {
|
|
|
312
312
|
P7 as PeriodRootStyled,
|
|
313
313
|
P4 as PointsFormatter,
|
|
314
314
|
P3 as Popover,
|
|
315
|
-
|
|
315
|
+
a9 as PopupsContext,
|
|
316
316
|
P10 as PopupsProvider,
|
|
317
317
|
P11 as PopupsViewer,
|
|
318
318
|
P6 as PriceFormatter,
|
|
@@ -351,6 +351,7 @@ export {
|
|
|
351
351
|
S3 as SplitLayout,
|
|
352
352
|
S5 as Stack,
|
|
353
353
|
T10 as TOGGLE_BUTTON_KEY_COMPONENT,
|
|
354
|
+
a7 as TOGGLE_ICON_BUTTON_CLASS_NAME_SPECIFY,
|
|
354
355
|
T14 as TOGGLE_ICON_BUTTON_KEY_COMPONENT,
|
|
355
356
|
T4 as Tab,
|
|
356
357
|
T6 as TabContent,
|
|
@@ -375,7 +376,7 @@ export {
|
|
|
375
376
|
W as WindowBase,
|
|
376
377
|
W3 as WindowConfirm,
|
|
377
378
|
W2 as WindowToolsMFContext,
|
|
378
|
-
|
|
379
|
+
a11 as WindowToolsMFProvider,
|
|
379
380
|
c2 as addLayoutItemToBreakPointIfNoExists,
|
|
380
381
|
e as addLayoutItemToBreakPoints,
|
|
381
382
|
c4 as capitalizeFirstLetter,
|
|
@@ -391,7 +392,7 @@ export {
|
|
|
391
392
|
g3 as getAreasDictionary,
|
|
392
393
|
g4 as getCommonActionsDictionary,
|
|
393
394
|
g34 as getComponentClasses,
|
|
394
|
-
|
|
395
|
+
a16 as getComponentSlotRoot,
|
|
395
396
|
g30 as getComponentUtilityClass,
|
|
396
397
|
g5 as getDataGridComponentsDictionary,
|
|
397
398
|
g6 as getDataGridRowsFromSet,
|
|
@@ -405,13 +406,13 @@ export {
|
|
|
405
406
|
g14 as getFormatPoints,
|
|
406
407
|
g16 as getFormatPrice,
|
|
407
408
|
g18 as getFormattersComponentsDictionary,
|
|
408
|
-
|
|
409
|
+
a15 as getHeightSizeStyles,
|
|
409
410
|
g33 as getIconColor,
|
|
410
411
|
g8 as getIsIfInDynamicFilter,
|
|
411
412
|
g22 as getLoadingErrorComponentsDictionary,
|
|
412
413
|
g24 as getMFLoaderComponentsDictionary,
|
|
413
414
|
g23 as getMenuActionsComponentsDictionary,
|
|
414
|
-
|
|
415
|
+
a13 as getModalDialogComponentsDictionary,
|
|
415
416
|
g27 as getModalDictionary,
|
|
416
417
|
g25 as getNoItemSelectedComponentsDictionary,
|
|
417
418
|
g36 as getNullGuard,
|
|
@@ -449,7 +450,7 @@ export {
|
|
|
449
450
|
u17 as useCustomForm,
|
|
450
451
|
u29 as useDataGridPersistence,
|
|
451
452
|
u28 as useDynamicFilterAndSort,
|
|
452
|
-
|
|
453
|
+
a10 as useDynamicMFParameters,
|
|
453
454
|
u16 as useDynamicMFParametersStore,
|
|
454
455
|
u19 as useFormAddEdit,
|
|
455
456
|
u22 as useFormFocus,
|
package/package.json
CHANGED
|
@@ -3,5 +3,5 @@ import { ObjectLogs } from '../../../src/components/ObjectLogs/ObjectLogs';
|
|
|
3
3
|
import { ObjectLogsM4LProps, ObjectLogsOtherProps } from '../../../src/components/ObjectLogs/types';
|
|
4
4
|
declare const meta: Meta<typeof ObjectLogs>;
|
|
5
5
|
export default meta;
|
|
6
|
-
export declare const DefaultM4L: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ObjectLogsM4LProps>;
|
|
7
|
-
export declare const DefaultOthers: import('@storybook/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ObjectLogsOtherProps>;
|
|
6
|
+
export declare const DefaultM4L: import('@storybook/core/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ObjectLogsM4LProps>;
|
|
7
|
+
export declare const DefaultOthers: import('@storybook/core/csf').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ObjectLogsOtherProps>;
|
|
@@ -30,4 +30,8 @@ export declare const WarningBadge: Story;
|
|
|
30
30
|
* Badge with a success color.
|
|
31
31
|
*/
|
|
32
32
|
export declare const SuccessBadge: Story;
|
|
33
|
+
/**
|
|
34
|
+
* Badge with a value greater than 9 in type number.
|
|
35
|
+
*/
|
|
36
|
+
export declare const BadgeMaxValue: Story;
|
|
33
37
|
export default meta;
|
|
@@ -10,6 +10,7 @@ export declare const Default: Story;
|
|
|
10
10
|
* Base story for `Button` with start and end icon.
|
|
11
11
|
*/
|
|
12
12
|
export declare const WithStartAndEndIcon: Story;
|
|
13
|
+
export declare const CustomHeaderFilterSortManual: Story;
|
|
13
14
|
/**
|
|
14
15
|
* Base story for `Button` with disabled state.
|
|
15
16
|
*/
|
|
@@ -19,6 +19,18 @@ export declare const isSelected: Story;
|
|
|
19
19
|
* Story for IconButton is selected
|
|
20
20
|
*/
|
|
21
21
|
export declare const WithReactElement: Story;
|
|
22
|
+
/**
|
|
23
|
+
* Story for IconButton with badge text
|
|
24
|
+
*/
|
|
25
|
+
export declare const WithBadge: Story;
|
|
26
|
+
/**
|
|
27
|
+
* Story for IconButton with badge text with max value
|
|
28
|
+
*/
|
|
29
|
+
export declare const WithBadgeMaxValue: Story;
|
|
30
|
+
/**
|
|
31
|
+
* Story for IconButton with badge dot
|
|
32
|
+
*/
|
|
33
|
+
export declare const WithBadgeDot: Story;
|
|
22
34
|
/**
|
|
23
35
|
* Story for IconButton with skeleton.
|
|
24
36
|
*/
|
|
@@ -34,4 +34,16 @@ export declare const PressedFocusVisible: Story;
|
|
|
34
34
|
* Story for `Pressed` in `Active` state.
|
|
35
35
|
****************************/
|
|
36
36
|
export declare const PressedActive: Story;
|
|
37
|
+
/*****************************
|
|
38
|
+
* Story for `WithBadgeValue` with badge props.
|
|
39
|
+
****************************/
|
|
40
|
+
export declare const WithBadgeValue: Story;
|
|
41
|
+
/*****************************
|
|
42
|
+
* Story for `WithBadgeDot` with badge props.
|
|
43
|
+
****************************/
|
|
44
|
+
export declare const WithBadgeDot: Story;
|
|
45
|
+
/*****************************
|
|
46
|
+
* Story for `WithTooltip` with tooltip props.
|
|
47
|
+
****************************/
|
|
48
|
+
export declare const WithTooltip: Story;
|
|
37
49
|
export default meta;
|