@m4l/components 9.2.57 → 9.2.58
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/.storybook/utils/flattenDeep.d.ts +8 -0
- package/.storybook/utils/getStylesColorsByMode.d.ts +52 -4
- package/@types/augmentations.d.ts +1 -1
- package/@types/types.d.ts +10 -9
- package/components/AccountPopover/AccountPopover.js +3 -4
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +32 -32
- package/components/AccountPopover/subcomponents/MenuPopover/MenuPopover.js +13 -14
- package/components/AccountPopover/types.d.ts +2 -2
- package/components/AppBar/AppBar.js +6 -9
- package/components/AppBar/slots/AppBarSlots.d.ts +16 -16
- package/components/AppBar/styles.js +2 -1
- package/components/AppBar/types.d.ts +2 -2
- package/components/Chip/Chip.js +1 -1
- package/components/Chip/ChipStyles.js +12 -12
- package/components/Chip/slots/ChipSlots.d.ts +6 -6
- package/components/Color/Color.styles.js +11 -11
- package/components/Color/slots/ColorSlots.d.ts +5 -5
- package/components/CommonActions/components/ActionCancel/ActionCancel.js +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/ActionFormIntro/ActionFormIntro.js +0 -1
- package/components/CommonActions/components/ActionFormIntro/slots/ActionFormIntroSlots.d.ts +2 -2
- package/components/CommonActions/components/ActionFormIntro/types.d.ts +2 -2
- package/components/CommonActions/components/ActionIntro/ActionIntro.js +1 -1
- package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionsContainer/ActionsContainerStyles.js +1 -1
- package/components/CommonActions/components/ActionsContainer/slots/ActionsContainerSlots.d.ts +1 -1
- package/components/DataGrid/DataGrid.js +36 -8
- package/components/DataGrid/Datagrid.styles.js +630 -0
- package/components/DataGrid/constants.d.ts +9 -0
- package/components/DataGrid/constants.js +9 -3
- package/components/DataGrid/contexts/DataGridContext/index.js +23 -5
- package/components/DataGrid/contexts/DataGridContext/types.d.ts +4 -0
- package/components/DataGrid/formatters/ColumnIconFormatter/formatter.js +0 -2
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/formatter.js +2 -2
- package/components/DataGrid/icons.d.ts +1 -0
- package/components/DataGrid/icons.js +4 -3
- package/components/DataGrid/index.d.ts +1 -1
- package/components/DataGrid/slots/DataGridEnum.d.ts +6 -0
- package/components/DataGrid/slots/DataGridEnum.js +10 -2
- package/components/DataGrid/slots/DataGridSlot.d.ts +9 -0
- package/components/DataGrid/slots/DataGridSlot.js +35 -14
- package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.d.ts +5 -0
- package/components/DataGrid/subcomponents/ControlNavigate/ControlNavigate.js +30 -0
- package/components/DataGrid/subcomponents/ControlNavigate/index.d.ts +2 -0
- package/components/DataGrid/subcomponents/ControlNavigate/types.d.ts +7 -0
- package/components/DataGrid/subcomponents/HeaderActions/index.d.ts +5 -0
- package/components/DataGrid/subcomponents/HeaderActions/index.js +40 -0
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/index.js +4 -3
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/MobileMenuActions/index.js +3 -2
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.js +4 -4
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/index.js +5 -2
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +34 -24
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +4 -1
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.d.ts +8 -0
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/index.js +11 -6
- package/components/DataGrid/subcomponents/HeaderActions/types.d.ts +5 -0
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +6 -6
- package/components/DataGrid/subcomponents/Table/index.js +4 -4
- package/components/DataGrid/subcomponents/Table/subcomponents/ActionsColumn.js +1 -1
- package/components/DataGrid/subcomponents/Table/subcomponents/CustomIcons.js +12 -3
- package/components/DataGrid/subcomponents/Table/subcomponents/DraggableHeaderRenderer.js +28 -13
- package/components/DataGrid/subcomponents/Table/subcomponents/SelectColumn.js +3 -3
- package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/index.js +4 -2
- package/components/DataGrid/subcomponents/editors/TextEditor/index.js +1 -1
- package/components/DataGrid/types.d.ts +20 -3
- package/components/DragResizeWindowRND/DragResizeWindowRND.styles.js +1 -1
- package/components/DragResizeWindowRND/slots/DragResizeWindowRNDSlots.d.ts +3 -5
- package/components/DynamicFilter/DynamicFilter.styles.js +13 -13
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +19 -19
- package/components/DynamicFilter/store/DynamicFilterStore.js +2 -2
- package/components/DynamicFilter/subcomponents/AppliedFilters/AppliedFilters.js +2 -2
- package/components/DynamicFilter/subcomponents/AppliedFilters/useAppliedFilters.js +1 -1
- package/components/DynamicFilter/subcomponents/FilterActions/FilterActions.js +2 -3
- package/components/DynamicFilter/subcomponents/FilterActions/useFilterActions.js +2 -2
- package/components/DynamicFilter/subcomponents/PopoverFilter/PopoverFilter.js +3 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +3 -3
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/PopoverMenuFields.js +0 -1
- package/components/DynamicSort/DynamicSort.styles.js +13 -13
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +19 -19
- package/components/DynamicSort/store/DynamicSortStore.js +2 -2
- package/components/DynamicSort/subcomponents/AppliedSorts/AppliedSorts.js +2 -2
- package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +0 -1
- package/components/DynamicSort/subcomponents/PopoverSort/PopoverSort.js +4 -5
- package/components/DynamicSort/subcomponents/PopoverSort/usePopoverSort.d.ts +3 -3
- package/components/DynamicSort/subcomponents/SortActions/SortActions.js +2 -3
- package/components/DynamicSort/subcomponents/SortActions/useSortActions.js +2 -2
- package/components/GridLayout/styles.js +4 -82
- package/components/HelperError/HelperError.styles.js +4 -4
- package/components/Icon/Icon.js +1 -1
- package/components/Icon/Icon.styles.js +10 -10
- package/components/Image/Image.js +1 -1
- package/components/Image/image.styles.js +1 -1
- package/components/Image/slots/ImageSlots.d.ts +12 -12
- package/components/Image/subcomponents/IntersectComponent/index.js +0 -1
- package/components/Image/types.d.ts +2 -2
- package/components/Label/Label.js +1 -1
- package/components/Label/Label.styles.js +22 -13
- package/components/Label/slots/LabelSlots.d.ts +1 -1
- package/components/LanguagePopover/slots/LanguagePopoverSlots.d.ts +1 -1
- package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.styles.js +3 -3
- package/components/LoadingError/LoadingError.js +1 -2
- package/components/LoadingError/LoadingError.styles.js +6 -3
- package/components/MenuActions/MenuActions.js +3 -3
- package/components/MenuActions/MenuActions.styles.js +4 -4
- package/components/MenuActions/slots/MenuActionsSlots.d.ts +12 -12
- package/components/MenuActions/types.d.ts +3 -3
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +2 -2
- package/components/NoItemSelected/NoItemSelected.js +23 -7
- package/components/NoItemSelected/NoItemSelected.styles.js +24 -17
- package/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +7 -7
- package/components/NumberInput/NumberInput.styles.js +20 -20
- package/components/NumberInput/hooks/useNumberInput/useNumberInput.js +0 -2
- package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
- package/components/ObjectLogs/hooks/useDetailFormatter.js +3 -2
- package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +20 -20
- package/components/ObjectLogs/subcomponents/ObjectLogsByM4L/ObjectLogsByM4L.js +1 -4
- package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +1 -4
- package/components/ObjectLogs/types.d.ts +2 -2
- package/components/Pager/Pager.js +2 -3
- package/components/Pager/Pager.styles.js +13 -12
- package/components/Pager/index.d.ts +2 -0
- package/components/Pager/slots/PagerEnum.d.ts +2 -1
- package/components/Pager/slots/PagerEnum.js +1 -0
- package/components/Pager/slots/PagerSlots.d.ts +1 -0
- package/components/Pager/slots/PagerSlots.js +7 -2
- package/components/Pager/subcomponents/CustomTablePagination/CustomTablePagination.js +16 -18
- package/components/Pager/subcomponents/PagerActions/PagerActions.js +4 -2
- package/components/Pager/subcomponents/PagerActions/types.d.ts +1 -0
- package/components/PaperForm/components/Header.js +2 -2
- package/components/PaperForm/slots/PaperFormSlots.d.ts +10 -10
- package/components/PaperForm/styles.js +7 -7
- package/components/PaperForm/types.d.ts +2 -2
- package/components/PrintingSystem/slots/PrintingSystemSlots.d.ts +42 -42
- package/components/PrintingSystem/subcomponents/BodyNode/index.js +0 -1
- package/components/PrintingSystem/subcomponents/ChartNode/index.js +0 -1
- package/components/PrintingSystem/subcomponents/DividerNode/index.js +0 -1
- package/components/PrintingSystem/subcomponents/FooterNode/index.js +0 -1
- package/components/PrintingSystem/subcomponents/GridNode/index.js +0 -5
- package/components/PrintingSystem/subcomponents/HeaderNode/index.js +0 -1
- package/components/PrintingSystem/subcomponents/PageNode/index.js +0 -1
- package/components/PrintingSystem/subcomponents/PaperNode/index.js +0 -5
- package/components/PrintingSystem/subcomponents/PropertyValueNode/index.js +0 -2
- package/components/PrintingSystem/subcomponents/SectionNode/index.js +0 -1
- package/components/PrintingSystem/types.d.ts +2 -2
- package/components/PropertyValue/PropertyValue.js +3 -4
- package/components/PropertyValue/PropertyValue.styles.js +36 -31
- package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
- package/components/ScrollBar/ScrollBar.d.ts +3 -3
- package/components/ScrollBar/ScrollBar.js +6 -45
- package/components/ScrollBar/ScrollBar.styles.js +7 -52
- package/components/ScrollBar/constants.d.ts +5 -2
- package/components/ScrollBar/constants.js +4 -4
- package/components/ScrollBar/index.d.ts +2 -0
- package/components/ScrollBar/index.js +1 -0
- package/components/ScrollBar/slots/ScrollBarSlots.d.ts +2 -5
- package/components/ScrollBar/slots/ScrollBarSlots.js +7 -13
- package/components/ScrollBar/slots/ScrollbarEnum.d.ts +3 -0
- package/components/ScrollBar/slots/ScrollbarEnum.js +7 -0
- package/components/ScrollBar/types.d.ts +19 -38
- package/components/SideBar/slots/SideBarSlots.d.ts +34 -34
- package/components/SideBar/subcomponents/ContentComponent/style.d.ts +2 -2
- package/components/SideBar/subcomponents/ContentComponent/style.js +10 -7
- package/components/SideBar/subcomponents/ContentGroups/index.js +3 -3
- package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +2 -2
- package/components/SideBar/subcomponents/ContentGroups/styles.js +15 -3
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.d.ts +2 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/styles.js +1 -10
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ContainerMenuItemsMain/subcomponents/ArrowIcon/index.js +0 -1
- package/components/SideBar/subcomponents/FooterSidebar/styles.d.ts +2 -2
- package/components/SideBar/subcomponents/HeaderSidebar/index.js +2 -2
- package/components/SideBar/subcomponents/HeaderSidebar/styles.d.ts +2 -2
- package/components/SideBar/subcomponents/SideBarDesktop/styles.d.ts +2 -2
- package/components/SideBar/subcomponents/SideBarDesktop/styles.js +2 -2
- package/components/SideBar/subcomponents/SideBarMobile/index.js +0 -1
- package/components/SideBar/subcomponents/SideBarMobile/styles.d.ts +2 -2
- package/components/SideBar/types.d.ts +9 -2
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +2 -2
- package/components/WindowBase/WindowBase.js +13 -7
- package/components/WindowBase/WindowBase.styles.js +233 -116
- package/components/WindowBase/icons.js +2 -2
- package/components/WindowBase/slots/WindowBaseEnum.d.ts +3 -3
- package/components/WindowBase/slots/WindowBaseEnum.js +2 -2
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +18 -23
- package/components/WindowBase/slots/WindowBaseSlots.js +13 -12
- package/components/WindowBase/subcomponents/Header/HeaderWindowBase.js +24 -12
- package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
- package/components/WindowBase/subcomponents/Header/useButtonActions.js +5 -2
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.d.ts +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/MemoizedIconButton.js +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +9 -0
- package/components/WindowBase/types.d.ts +16 -0
- package/components/WindowConfirm/WindowConfirm.js +2 -3
- package/components/WindowConfirm/WindowConfirm.styles.js +5 -7
- package/components/areas/components/AreasAdmin/AreasAdmin.js +14 -20
- package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +24 -23
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +23 -23
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +2 -5
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +3 -4
- package/components/areas/components/AreasAdmin/types.d.ts +1 -1
- package/components/areas/components/AreasViewer/AreasViewer.js +12 -4
- package/components/areas/components/AreasViewer/AreasViewer.styles.js +7 -4
- package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts +5 -5
- package/components/areas/components/AreasViewer/subcomponents/Area/Area.js +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.js +20 -4
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/types.d.ts +2 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.js +7 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/types.d.ts +2 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/Window.js +8 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/hooks/useRightActions.js +7 -3
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/WindowModal.js +0 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/types.d.ts +2 -0
- package/components/areas/components/AreasViewer/types.d.ts +6 -0
- package/components/areas/contexts/AreasContext/helpers/helper.d.ts +2 -9
- package/components/areas/contexts/AreasContext/helpers/helper.js +14 -16
- package/components/areas/contexts/AreasContext/index.js +1 -1
- package/components/areas/contexts/AreasContext/store.js +4 -4
- package/components/areas/contexts/AreasContext/types.d.ts +1 -1
- package/components/areas/icons.d.ts +2 -2
- package/components/areas/icons.js +4 -4
- package/components/commercial/SectionCommercial/classes/index.d.ts +2 -2
- package/components/commercial/SectionCommercial/classes/index.js +3 -3
- package/components/commercial/SectionCommercial/types.d.ts +1 -1
- package/components/extended/React-Resizable/helpers.d.ts +2 -9
- package/components/extended/React-Resizable/helpers.js +15 -13
- package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.js +0 -1
- package/components/extended/React-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.styles.js +1 -1
- package/components/extended/React-Spinners/PropagateLoaderSpinner/slots/PropagateLoaderSpinnerSlots.d.ts +4 -4
- package/components/extended/React-Spinners/PropagateLoaderSpinner/types.d.ts +2 -2
- package/components/extended/React-Splitter-Layout/slots/SplitLayoutSlots.d.ts +3 -3
- package/components/extended/React-resizable-panels/SplitLayout.styles.js +6 -6
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +8 -8
- package/components/formatters/BooleanFormatter/BooleanFormatter.js +3 -1
- package/components/formatters/BooleanFormatter/BooleanFormatter.styles.js +1 -1
- package/components/formatters/ChipStatusFormatter/slots/ChipStatusFormatterSlots.d.ts +2 -2
- package/components/formatters/PeriodFormatter/PeriodFormatter.styles.js +1 -1
- package/components/hook-form/RHFAutocomplete/RFHAutocompleteStyles.js +1 -1
- package/components/hook-form/RHFAutocomplete/RHFAutocomplete.js +1 -1
- 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/RHFColorPicker/RFHColorPicker.js +1 -1
- package/components/hook-form/RHFDateTime/types.d.ts +1 -1
- package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +2 -2
- package/components/hook-form/RHFSelect/RHFSelect.js +1 -1
- package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
- package/components/hook-form/RHFSelect/slots/RHFSlots.js +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.js +13 -17
- package/components/hook-form/RHFTextField/RHFTextField.styles.js +2 -1
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
- package/components/hook-form/RHFTextField/types.d.ts +1 -1
- package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.js +1 -1
- package/components/hook-form/RHFTextFieldPassword/RHFTextFieldPassword.styles.js +2 -2
- package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +8 -8
- package/components/hook-form/RHFTextFieldPassword/types.d.ts +2 -2
- package/components/hook-form/RHFTimePicker/types.d.ts +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.styles.js +3 -3
- package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +22 -22
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +9 -10
- package/components/hook-form/RHFUpload/RHFUploadImage/types.d.ts +2 -2
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.styles.js +2 -2
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +22 -22
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/BlockContent/BlockContent.js +2 -7
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/subcomponents/Preview/Preview.js +5 -6
- package/components/hook-form/RHFormContext/index.d.ts +1 -1
- package/components/hook-form/RHFormContext/styles.js +2 -1
- package/components/index.d.ts +2 -0
- package/components/mui_extended/Accordion/Accordion.js +32 -22
- package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +12 -12
- package/components/mui_extended/Accordion/styles.js +60 -33
- package/components/mui_extended/Accordion/types.d.ts +39 -6
- package/components/mui_extended/Autocomplete/Autocomplete.styles.js +3 -3
- package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +1 -1
- package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +17 -17
- package/components/mui_extended/Avatar/Avatar.js +1 -1
- package/components/mui_extended/Avatar/slots/AvatarSlots.d.ts +1 -1
- package/components/mui_extended/Avatar/styles.js +3 -3
- package/components/mui_extended/Badge/Badge.js +1 -2
- package/components/mui_extended/Badge/Badge.styles.js +9 -9
- package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +2 -2
- package/components/mui_extended/Badge/types.d.ts +2 -2
- package/components/mui_extended/Button/Button.js +4 -5
- package/components/mui_extended/Button/ButtonStyles.js +37 -26
- package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
- package/components/mui_extended/CheckBox/CheckBox.js +2 -2
- package/components/mui_extended/CheckBox/CheckBox.styles.js +12 -12
- package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +12 -12
- package/components/mui_extended/CheckBox/types.d.ts +2 -2
- package/components/mui_extended/CircularProgress/CircularProgress.styles.js +5 -5
- package/components/mui_extended/DateTimePicker/DateTimePicker.styles.js +49 -49
- package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +12 -12
- package/components/mui_extended/Divider/Divider.js +1 -2
- package/components/mui_extended/Divider/Divider.styles.js +9 -9
- package/components/mui_extended/Divider/slots/DividerSlots.d.ts +1 -1
- package/components/mui_extended/IconButton/IconButton.js +3 -2
- package/components/mui_extended/IconButton/IconButton.styles.js +21 -21
- package/components/mui_extended/IconButton/helpers/getIconButtonColors.d.ts +1 -1
- package/components/mui_extended/IconButton/helpers/getIconButtonColors.js +4 -4
- package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +5 -5
- package/components/mui_extended/IconButton/types.d.ts +1 -1
- package/components/mui_extended/LoadingButton/LoadingButton.js +1 -1
- package/components/mui_extended/LoadingButton/LoadingButton.styles.js +5 -5
- package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
- package/components/mui_extended/MenuDivider/MenuDivider.js +1 -2
- package/components/mui_extended/MenuDivider/MenuDivider.styles.js +9 -9
- package/components/mui_extended/MenuDivider/slots/MenuDividerSlots.d.ts +1 -1
- package/components/mui_extended/MenuItem/MenuItem.styles.js +10 -10
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +7 -7
- package/components/mui_extended/MenuItem/types.d.ts +8 -3
- package/components/mui_extended/NavLink/NavLink.js +1 -2
- package/components/mui_extended/NavLink/NavLink.styles.js +9 -9
- package/components/mui_extended/NavLink/slots/NavLinkSlots.d.ts +4 -4
- package/components/mui_extended/Popover/Popover.js +0 -1
- package/components/mui_extended/Popover/slots/PopoverSlots.d.ts +2 -2
- package/components/mui_extended/Popover/types.d.ts +3 -3
- package/components/mui_extended/Popper/PopperStyles.js +1 -1
- package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
- package/components/mui_extended/Select/Select.js +2 -3
- package/components/mui_extended/Select/Select.styles.js +10 -10
- package/components/mui_extended/Select/slots/SelectSlots.d.ts +12 -12
- package/components/mui_extended/Select/slots/SelectSlots.js +1 -1
- package/components/mui_extended/Skeleton/Skeleton.js +2 -2
- package/components/mui_extended/Skeleton/Slots/skeletonSlots.d.ts +1 -1
- package/components/mui_extended/Skeleton/skeleton.styles.js +6 -5
- package/components/mui_extended/Skeleton/types.d.ts +1 -1
- package/components/mui_extended/Stack/Stack.styles.js +3 -3
- package/components/mui_extended/Stack/slots/StackSlot.d.ts +2 -2
- package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
- package/components/mui_extended/Tab/Tab.js +2 -0
- package/components/mui_extended/Tab/Tab.styles.js +27 -49
- package/components/mui_extended/Tab/types.d.ts +4 -0
- package/components/mui_extended/TabContent/TabContent.js +2 -2
- package/components/mui_extended/TabContent/TabContent.styles.js +13 -7
- package/components/mui_extended/TabContent/index.d.ts +1 -0
- package/components/mui_extended/TabContent/slots/TabContentSlots.d.ts +2 -2
- package/components/mui_extended/TabContent/types.d.ts +3 -2
- package/components/mui_extended/Tabs/Tabs.styles.js +2 -1
- package/components/mui_extended/Tabs/slots/TabsSlots.d.ts +1 -1
- package/components/mui_extended/TextField/TextField.js +11 -6
- package/components/mui_extended/TextField/TextField.styles.js +71 -68
- package/components/mui_extended/TextField/constants.d.ts +1 -0
- package/components/mui_extended/TextField/slots/TextFieldEnum.d.ts +2 -1
- package/components/mui_extended/TextField/slots/TextFieldEnum.js +1 -0
- package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
- package/components/mui_extended/TextField/types.d.ts +7 -0
- package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +9 -9
- package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
- package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
- package/components/mui_extended/Tooltip/Tooltip.styles.js +1 -1
- package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +3 -3
- package/components/mui_extended/Typography/Typography.js +2 -1
- package/components/mui_extended/Typography/slots/typographySlots.d.ts +4 -4
- package/components/mui_extended/Typography/types.d.ts +3 -2
- package/components/mui_extended/Typography/typography.styles.js +12 -9
- package/components/mui_extended/index.d.ts +0 -2
- package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +4 -4
- package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +7 -9
- package/components/popups/components/PopupsViewer/subcomponents/Popup/Popup.js +2 -0
- package/hooks/useComponentSize/useComponentSize.d.ts +3 -3
- package/hooks/useComponentSize/useComponentSize.js +5 -2
- package/hooks/useDynamicFilterAndSort/icons.d.ts +2 -2
- package/hooks/useDynamicFilterAndSort/icons.js +2 -2
- package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +6 -6
- package/hooks/useDynamicFilterAndSort/styles.js +8 -7
- package/hooks/useDynamicFilterAndSort/types.d.ts +2 -2
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +3 -3
- package/index.js +24 -26
- package/package.json +1 -1
- package/storybook/components/Chip/Chip.stories.d.ts +4 -0
- package/storybook/components/DataGrid/DataGrid.stories.d.ts +16 -0
- package/storybook/components/Icon/Icon.stories.d.ts +4 -0
- package/storybook/components/NoItemSelect/NoItemSelect.stories.d.ts +4 -0
- package/storybook/components/PropertyValue/PropertyValue.stories.d.ts +5 -1
- package/storybook/components/{extended/scrollBar → ScrollBar}/ScrollBar.stories.d.ts +2 -2
- package/storybook/components/WindowBase/windowBase.stories.d.ts +64 -7
- package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +72 -20
- package/storybook/components/extended/mui/Tab/Tab.stories.d.ts +24 -24
- package/storybook/components/extended/mui/TextField/TextFieldText.stories.d.ts +11 -0
- package/storybook/hook-form/RHFTextField/RHFTextField.stories.d.ts +13 -0
- package/storybook/wrappers/LineGuide/LineGuide.d.ts +9 -0
- package/storybook/wrappers/LineGuide/styles.d.ts +1 -0
- package/storybook/wrappers/LineGuide/types.d.ts +5 -0
- package/components/DataGrid/styles.js +0 -484
- package/components/DataGrid/subcomponents/Actions/index.d.ts +0 -5
- package/components/DataGrid/subcomponents/Actions/index.js +0 -49
- package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +0 -7
- package/components/DataGrid/subcomponents/Actions/types.d.ts +0 -16
- package/components/ScrollBar/slots/ScrollBarEnum.d.ts +0 -4
- package/components/ScrollBar/slots/ScrollBarEnum.js +0 -8
- package/components/ScrollBar/slots/index.d.ts +0 -2
- package/storybook/components/extended/scrollBar/ScrollBarDecorator.d.ts +0 -11
- /package/components/DataGrid/{styles.d.ts → Datagrid.styles.d.ts} +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Density/types.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.js +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/MobileMenuActions/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/types.d.ts +0 -0
- /package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/types.d.ts +0 -0
- /package/components/{ScrollBar/slots → Pager}/index.js +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
export declare const PrintingSystemRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
2
|
-
ownerState
|
|
1
|
+
export declare const PrintingSystemRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
2
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
3
3
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
|
-
export declare const PageNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
5
|
-
ownerState
|
|
4
|
+
export declare const PageNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
5
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
6
6
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
7
|
-
export declare const SectionNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
8
|
-
ownerState
|
|
7
|
+
export declare const SectionNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
8
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
9
9
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
10
|
-
export declare const HeaderNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
11
|
-
ownerState
|
|
10
|
+
export declare const HeaderNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
11
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
12
12
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
13
|
-
export declare const FooterNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
14
|
-
ownerState
|
|
13
|
+
export declare const FooterNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
14
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
15
15
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
16
|
-
export declare const TextBoxNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
17
|
-
ownerState
|
|
16
|
+
export declare const TextBoxNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
17
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
18
18
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import('react').ClassAttributes<HTMLSpanElement> | keyof import('react').HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
19
|
-
export declare const BodyNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
20
|
-
ownerState
|
|
19
|
+
export declare const BodyNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
20
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
21
21
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
22
|
-
export declare const PaperNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
23
|
-
ownerState
|
|
22
|
+
export declare const PaperNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
23
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
24
24
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
25
|
-
export declare const PaperNodeContainerTitlesStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
26
|
-
ownerState
|
|
25
|
+
export declare const PaperNodeContainerTitlesStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
26
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
27
27
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
28
|
-
export declare const PaperNodeTitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
29
|
-
ownerState
|
|
28
|
+
export declare const PaperNodeTitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
29
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
30
30
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
31
|
-
export declare const PaperNodeTitleSecondaryStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
32
|
-
ownerState
|
|
31
|
+
export declare const PaperNodeTitleSecondaryStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
32
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
33
33
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
34
|
-
export declare const PaperNodeContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
35
|
-
ownerState
|
|
34
|
+
export declare const PaperNodeContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
35
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
36
36
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
37
|
-
export declare const PropertyValueNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
38
|
-
ownerState
|
|
37
|
+
export declare const PropertyValueNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
38
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
39
39
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
40
|
-
export declare const PropertyValueNodeTitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
41
|
-
ownerState
|
|
40
|
+
export declare const PropertyValueNodeTitleStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
41
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
42
42
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
43
|
-
export declare const PropertyValueNodeContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
44
|
-
ownerState
|
|
43
|
+
export declare const PropertyValueNodeContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
44
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
45
45
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
46
|
-
export declare const DividerNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
47
|
-
ownerState
|
|
46
|
+
export declare const DividerNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
47
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
48
48
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
49
|
-
export declare const GridNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
50
|
-
ownerState
|
|
49
|
+
export declare const GridNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
50
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
51
51
|
}, Pick<import('react').DetailedHTMLProps<import('react').TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, keyof import('react').ClassAttributes<HTMLTableElement> | keyof import('react').TableHTMLAttributes<HTMLTableElement>>, {}>;
|
|
52
|
-
export declare const GridNodeTdStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
53
|
-
ownerState
|
|
52
|
+
export declare const GridNodeTdStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
53
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
54
54
|
}, Pick<import('react').DetailedHTMLProps<import('react').TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, keyof import('react').ClassAttributes<HTMLTableDataCellElement> | keyof import('react').TdHTMLAttributes<HTMLTableDataCellElement>>, {}>;
|
|
55
|
-
export declare const GridNodeThStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
56
|
-
ownerState
|
|
55
|
+
export declare const GridNodeThStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
56
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
57
57
|
}, Pick<import('react').DetailedHTMLProps<import('react').ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, keyof import('react').ClassAttributes<HTMLTableHeaderCellElement> | keyof import('react').ThHTMLAttributes<HTMLTableHeaderCellElement>>, {}>;
|
|
58
|
-
export declare const GridNodeTrStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
59
|
-
ownerState
|
|
58
|
+
export declare const GridNodeTrStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
59
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
60
60
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, keyof import('react').ClassAttributes<HTMLTableRowElement> | keyof import('react').HTMLAttributes<HTMLTableRowElement>>, {}>;
|
|
61
|
-
export declare const ChartNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> &
|
|
62
|
-
ownerState
|
|
61
|
+
export declare const ChartNodeRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
62
|
+
ownerState?: (Partial<import('../types').PrintingSystemOwnerState> & Record<string, unknown>) | undefined;
|
|
63
63
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -19,7 +19,6 @@ const GridNode = (props) => {
|
|
|
19
19
|
return /* @__PURE__ */ jsxs(
|
|
20
20
|
GridNodeRootStyled,
|
|
21
21
|
{
|
|
22
|
-
ownerState: {},
|
|
23
22
|
style: {
|
|
24
23
|
...style
|
|
25
24
|
},
|
|
@@ -27,12 +26,10 @@ const GridNode = (props) => {
|
|
|
27
26
|
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsx(
|
|
28
27
|
GridNodeTrStyled,
|
|
29
28
|
{
|
|
30
|
-
ownerState: {},
|
|
31
29
|
children: columns.map((column) => {
|
|
32
30
|
return /* @__PURE__ */ jsx(
|
|
33
31
|
GridNodeThStyled,
|
|
34
32
|
{
|
|
35
|
-
ownerState: {},
|
|
36
33
|
style: {
|
|
37
34
|
minWidth: column.width ? getSize(column.width, unitSize) : "auto",
|
|
38
35
|
maxWidth: column.width ? getSize(column.width, unitSize) : "auto",
|
|
@@ -50,13 +47,11 @@ const GridNode = (props) => {
|
|
|
50
47
|
return /* @__PURE__ */ jsx(
|
|
51
48
|
GridNodeTrStyled,
|
|
52
49
|
{
|
|
53
|
-
ownerState: {},
|
|
54
50
|
children: columns.map((cell, id) => {
|
|
55
51
|
const isNested = cell.nestedValue ? true : false;
|
|
56
52
|
return /* @__PURE__ */ jsx(
|
|
57
53
|
GridNodeTdStyled,
|
|
58
54
|
{
|
|
59
|
-
ownerState: {},
|
|
60
55
|
style: {
|
|
61
56
|
minWidth: getSize(dataColumns[id].width || "auto", unitSize),
|
|
62
57
|
justifyContent: cell.alignX ? cell.alignX : "center"
|
|
@@ -10,24 +10,20 @@ const PaperNode = (props) => {
|
|
|
10
10
|
return /* @__PURE__ */ jsxs(
|
|
11
11
|
PaperNodeRootStyled,
|
|
12
12
|
{
|
|
13
|
-
ownerState: {},
|
|
14
13
|
children: [
|
|
15
14
|
/* @__PURE__ */ jsxs(
|
|
16
15
|
PaperNodeContainerTitlesStyled,
|
|
17
16
|
{
|
|
18
|
-
ownerState: {},
|
|
19
17
|
children: [
|
|
20
18
|
/* @__PURE__ */ jsx(
|
|
21
19
|
PaperNodeTitleStyled,
|
|
22
20
|
{
|
|
23
|
-
ownerState: {},
|
|
24
21
|
children: titleFormated
|
|
25
22
|
}
|
|
26
23
|
),
|
|
27
24
|
titleSecondary ? /* @__PURE__ */ jsx(
|
|
28
25
|
PaperNodeTitleSecondaryStyled,
|
|
29
26
|
{
|
|
30
|
-
ownerState: {},
|
|
31
27
|
style: { color: mainColor },
|
|
32
28
|
children: titleSecondaryFormated
|
|
33
29
|
}
|
|
@@ -38,7 +34,6 @@ const PaperNode = (props) => {
|
|
|
38
34
|
/* @__PURE__ */ jsx(
|
|
39
35
|
PaperNodeContentStyled,
|
|
40
36
|
{
|
|
41
|
-
ownerState: {},
|
|
42
37
|
children
|
|
43
38
|
}
|
|
44
39
|
)
|
|
@@ -19,7 +19,6 @@ const PropertyValueNode = (props) => {
|
|
|
19
19
|
/* @__PURE__ */ jsx(
|
|
20
20
|
PropertyValueNodeTitleStyled,
|
|
21
21
|
{
|
|
22
|
-
ownerState: {},
|
|
23
22
|
style: {
|
|
24
23
|
width: getSize(propertyWidth, unitSize),
|
|
25
24
|
minWidth: getSize(propertyWidth, unitSize),
|
|
@@ -31,7 +30,6 @@ const PropertyValueNode = (props) => {
|
|
|
31
30
|
/* @__PURE__ */ jsx(
|
|
32
31
|
PropertyValueNodeContentStyled,
|
|
33
32
|
{
|
|
34
|
-
ownerState: {},
|
|
35
33
|
children
|
|
36
34
|
}
|
|
37
35
|
)
|
|
@@ -10,9 +10,9 @@ import { PropertyValueNodeProps } from './subcomponents/PropertyValueNode/types'
|
|
|
10
10
|
import { GridNodeProps } from './subcomponents/GridNode/types';
|
|
11
11
|
import { ChartNodeProps } from './subcomponents/ChartNode/types';
|
|
12
12
|
import { Theme } from '@mui/material';
|
|
13
|
-
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
14
13
|
import { PRINTING_SYSTEM_KEY_COMPONENT } from './constants';
|
|
15
14
|
import { PrintingSystemSlots } from './slots/PrintingSystemEnum';
|
|
15
|
+
import { M4LOverridesStyleRules } from '../../@types/augmentations';
|
|
16
16
|
export interface BaseProviderPrintSystem {
|
|
17
17
|
pageId: number;
|
|
18
18
|
unitSize: string;
|
|
@@ -241,5 +241,5 @@ export type PrintingSystemOwnerState = Pick<PrintingSystemProps, 'size'> & {
|
|
|
241
241
|
variant?: PrintingSystemProps['variant'];
|
|
242
242
|
size?: PrintingSystemProps['size'];
|
|
243
243
|
};
|
|
244
|
-
export type PrintingSystemStyles =
|
|
244
|
+
export type PrintingSystemStyles = M4LOverridesStyleRules<printingSystemType, typeof PRINTING_SYSTEM_KEY_COMPONENT, Theme>;
|
|
245
245
|
export {};
|
|
@@ -31,7 +31,6 @@ function PropertyValue(props) {
|
|
|
31
31
|
const uniqueId = useId();
|
|
32
32
|
const inputId = `property-value-${uniqueId}`;
|
|
33
33
|
const { currentSize } = useComponentSize(size);
|
|
34
|
-
const normalizedSize = currentSize === "large" ? "medium" : currentSize;
|
|
35
34
|
const ownerState = {
|
|
36
35
|
propertyWidth,
|
|
37
36
|
disabled: isForm && disabled ? disabled : false,
|
|
@@ -56,10 +55,10 @@ function PropertyValue(props) {
|
|
|
56
55
|
};
|
|
57
56
|
const renderValue = () => {
|
|
58
57
|
if (typeof value === "string" || typeof value === "number" || value === null || value === void 0) {
|
|
59
|
-
return /* @__PURE__ */ jsx(Typography, { id: inputId, size:
|
|
58
|
+
return /* @__PURE__ */ jsx(Typography, { id: inputId, size: currentSize, variant: "body", style: { wordBreak: "break-word" }, children: getNullGuard(value) });
|
|
60
59
|
}
|
|
61
60
|
if (React.isValidElement(value)) {
|
|
62
|
-
return React.cloneElement(value, { size:
|
|
61
|
+
return React.cloneElement(value, { size: currentSize, id: inputId });
|
|
63
62
|
}
|
|
64
63
|
return value;
|
|
65
64
|
};
|
|
@@ -80,7 +79,7 @@ function PropertyValue(props) {
|
|
|
80
79
|
/* @__PURE__ */ jsx(
|
|
81
80
|
Label,
|
|
82
81
|
{
|
|
83
|
-
size:
|
|
82
|
+
size: currentSize,
|
|
84
83
|
label: property,
|
|
85
84
|
mandatory,
|
|
86
85
|
mandatoryMessage,
|
|
@@ -4,72 +4,77 @@ const propertyValueStyles = {
|
|
|
4
4
|
* Property Value Root Styles
|
|
5
5
|
*/
|
|
6
6
|
Root: ({ theme, ownerState }) => {
|
|
7
|
-
const createSemanticStyle = (
|
|
8
|
-
|
|
9
|
-
maxWidth
|
|
10
|
-
[`@container ${CONTAINER_QUERY_NAME} (max-width: ${
|
|
11
|
-
minWidth: "
|
|
7
|
+
const createSemanticStyle = (maxWidth) => ({
|
|
8
|
+
maxWidth: `${maxWidth}px`,
|
|
9
|
+
minWidth: `${maxWidth}px`,
|
|
10
|
+
[`@container ${CONTAINER_QUERY_NAME} (max-width: ${maxWidth - 1}px)`]: {
|
|
11
|
+
minWidth: "100px",
|
|
12
12
|
maxWidth: "100%"
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
const semanticStylesMap = {
|
|
16
|
-
email: createSemanticStyle(
|
|
17
|
-
shortName: createSemanticStyle(
|
|
18
|
-
mediumName: createSemanticStyle(
|
|
19
|
-
bigName: createSemanticStyle(
|
|
20
|
-
shortId: createSemanticStyle(
|
|
21
|
-
mediumId: createSemanticStyle(
|
|
22
|
-
bigId: createSemanticStyle(
|
|
23
|
-
shortDescription: createSemanticStyle(
|
|
24
|
-
mediumDescription: createSemanticStyle(
|
|
16
|
+
email: createSemanticStyle(400),
|
|
17
|
+
shortName: createSemanticStyle(90),
|
|
18
|
+
mediumName: createSemanticStyle(260),
|
|
19
|
+
bigName: createSemanticStyle(520),
|
|
20
|
+
shortId: createSemanticStyle(44),
|
|
21
|
+
mediumId: createSemanticStyle(60),
|
|
22
|
+
bigId: createSemanticStyle(200),
|
|
23
|
+
shortDescription: createSemanticStyle(796),
|
|
24
|
+
mediumDescription: createSemanticStyle(1500),
|
|
25
25
|
bigDescription: {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
maxWidth: "100%",
|
|
27
|
+
width: "100%",
|
|
28
|
+
minWidth: "100px"
|
|
28
29
|
},
|
|
29
|
-
shortNumber: createSemanticStyle(
|
|
30
|
-
mediumNumber: createSemanticStyle(
|
|
31
|
-
bigNumber: createSemanticStyle(
|
|
32
|
-
percentNumber: createSemanticStyle(
|
|
30
|
+
shortNumber: createSemanticStyle(50),
|
|
31
|
+
mediumNumber: createSemanticStyle(60),
|
|
32
|
+
bigNumber: createSemanticStyle(162),
|
|
33
|
+
percentNumber: createSemanticStyle(50),
|
|
33
34
|
fullWidth: {
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
maxWidth: "100%",
|
|
36
|
+
width: "100%",
|
|
37
|
+
minWidth: "100px"
|
|
36
38
|
}
|
|
37
39
|
};
|
|
38
|
-
const semanticStyle = ownerState?.semanticWidth && semanticStylesMap[ownerState
|
|
40
|
+
const semanticStyle = ownerState?.semanticWidth && semanticStylesMap[ownerState?.semanticWidth] ? semanticStylesMap[ownerState?.semanticWidth] : {};
|
|
39
41
|
return {
|
|
42
|
+
containerName: CONTAINER_QUERY_NAME,
|
|
43
|
+
containerType: "inline-size",
|
|
40
44
|
display: "flex",
|
|
41
45
|
flexDirection: ownerState?.isForm ? "column" : "row",
|
|
42
46
|
justifyContent: ownerState?.isForm ? "space-between" : "left",
|
|
43
47
|
alignItems: "flex-start",
|
|
44
48
|
gap: theme.vars.size.baseSpacings["sp1"],
|
|
49
|
+
width: ownerState?.semanticWidth ? "auto" : "200px",
|
|
50
|
+
overflow: "hidden",
|
|
45
51
|
color: theme.palette.text.primary,
|
|
46
52
|
paddingTop: !ownerState?.isForm ? theme.vars.size.baseSpacings.sp1 : void 0,
|
|
47
53
|
paddingBottom: !ownerState?.isForm ? theme.vars.size.baseSpacings.sp1 : void 0,
|
|
48
54
|
borderBottom: !ownerState?.isForm ? `${theme.vars.palette.border.disabled} solid 1px` : "none",
|
|
49
55
|
"&:hover": !ownerState?.isForm && {
|
|
50
|
-
background: theme.vars.palette.
|
|
56
|
+
background: theme.vars.palette.default?.hoverOpacity
|
|
51
57
|
},
|
|
52
|
-
...semanticStyle,
|
|
53
58
|
[`@container ${CONTAINER_QUERY_NAME} (min-width: 0px) and (max-width: 400px)`]: {
|
|
54
59
|
flexDirection: "column"
|
|
55
60
|
},
|
|
56
61
|
...theme.generalSettings.isMobile && {
|
|
57
62
|
flexDirection: "column"
|
|
58
|
-
}
|
|
63
|
+
},
|
|
64
|
+
...semanticStyle
|
|
59
65
|
};
|
|
60
66
|
},
|
|
61
67
|
/**
|
|
62
68
|
* Property Styles
|
|
63
69
|
*/
|
|
64
|
-
name: ({ theme
|
|
70
|
+
name: ({ theme }) => ({
|
|
65
71
|
display: "flex",
|
|
66
72
|
alignItems: "center",
|
|
67
|
-
minWidth: ownerState.propertyWidth,
|
|
68
|
-
width: ownerState?.semanticWidth ? "auto" : "200px",
|
|
69
73
|
fontSize: theme.typography.body2.fontSize,
|
|
70
74
|
color: theme.palette.text.primary,
|
|
71
75
|
gap: theme.vars.size.baseSpacings["sp1"],
|
|
72
|
-
overflow: "hidden"
|
|
76
|
+
overflow: "hidden",
|
|
77
|
+
width: "100%"
|
|
73
78
|
}),
|
|
74
79
|
/**
|
|
75
80
|
* Value Styles (Form and No Form Combined)
|
|
@@ -79,7 +84,7 @@ const propertyValueStyles = {
|
|
|
79
84
|
display: "flex",
|
|
80
85
|
justifyContent: "flex-start",
|
|
81
86
|
overflow: "hidden",
|
|
82
|
-
height: ownerState?.valueHeight ? ownerState
|
|
87
|
+
height: ownerState?.valueHeight ? ownerState?.valueHeight : "auto",
|
|
83
88
|
...ownerState?.isForm && {
|
|
84
89
|
gap: theme.vars.size.baseSpacings["sp0-5"],
|
|
85
90
|
flexDirection: "column"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const PropertyValueRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
2
|
-
ownerState
|
|
2
|
+
ownerState?: (Partial<import('../types').PropertyVaLueOwnerState> & Record<string, unknown>) | undefined;
|
|
3
3
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
4
|
export declare const NameStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
5
|
-
ownerState
|
|
5
|
+
ownerState?: (Partial<import('../types').PropertyVaLueOwnerState> & Record<string, unknown>) | undefined;
|
|
6
6
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
7
7
|
export declare const ValueStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
8
|
-
ownerState
|
|
8
|
+
ownerState?: (Partial<import('../types').PropertyVaLueOwnerState> & Record<string, unknown>) | undefined;
|
|
9
9
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ScrollBarProps } from './types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Wrapper scroll, preferably use the scroll with overflow auto.
|
|
4
|
+
* @deprecated
|
|
4
5
|
*/
|
|
5
|
-
export declare
|
|
6
|
-
export default ScrollBar;
|
|
6
|
+
export declare const ScrollBar: (props: ScrollBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,49 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import "
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { R as RootScrollBar, S as SimpleBarStyled } from "./slots/ScrollBarSlots.js";
|
|
9
|
-
import { S as ScrollBarSlots } from "./slots/ScrollBarEnum.js";
|
|
10
|
-
function ScrollBar(props) {
|
|
11
|
-
const {
|
|
12
|
-
orientation,
|
|
13
|
-
children,
|
|
14
|
-
className,
|
|
15
|
-
dataTestId,
|
|
16
|
-
...otherProps
|
|
17
|
-
} = props;
|
|
18
|
-
const isMobile = useIsMobile();
|
|
19
|
-
const ownerState = {
|
|
20
|
-
orientation,
|
|
21
|
-
children
|
|
22
|
-
};
|
|
23
|
-
if (isMobile) {
|
|
24
|
-
return /* @__PURE__ */ jsx(Box, { sx: { overflowX: "auto", width: "100%" }, children });
|
|
25
|
-
}
|
|
26
|
-
return /* @__PURE__ */ jsx(
|
|
27
|
-
RootScrollBar,
|
|
28
|
-
{
|
|
29
|
-
ownerState: { ...ownerState },
|
|
30
|
-
id: "RootStyle",
|
|
31
|
-
className: clsx(classScrollRoot, className),
|
|
32
|
-
...getPropDataTestId(SCROLL_KEY_COMPONENT, ScrollBarSlots.root, dataTestId),
|
|
33
|
-
children: /* @__PURE__ */ jsx(
|
|
34
|
-
SimpleBarStyled,
|
|
35
|
-
{
|
|
36
|
-
orientation: props.orientation,
|
|
37
|
-
autoHide: false,
|
|
38
|
-
ownerState: {},
|
|
39
|
-
className: "simplebar",
|
|
40
|
-
...otherProps,
|
|
41
|
-
children
|
|
42
|
-
}
|
|
43
|
-
)
|
|
44
|
-
}
|
|
45
|
-
);
|
|
46
|
-
}
|
|
2
|
+
import { S as SCROLL_BAR_CLASS_NAME } from "./constants.js";
|
|
3
|
+
import { S as ScrollbarRootStyled } from "./slots/ScrollBarSlots.js";
|
|
4
|
+
const ScrollBar = (props) => {
|
|
5
|
+
const { children, overflowX = false, overflowY = true } = props;
|
|
6
|
+
return /* @__PURE__ */ jsx(ScrollbarRootStyled, { ownerState: { overflowX, overflowY }, className: SCROLL_BAR_CLASS_NAME, children });
|
|
7
|
+
};
|
|
47
8
|
export {
|
|
48
9
|
ScrollBar as S
|
|
49
10
|
};
|
|
@@ -1,60 +1,15 @@
|
|
|
1
1
|
const scrollBarStyles = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Scrollbar root styles
|
|
4
4
|
*/
|
|
5
|
-
root: ({
|
|
6
|
-
|
|
5
|
+
root: ({ ownerState }) => ({
|
|
6
|
+
display: "flex",
|
|
7
|
+
flexDirection: "column",
|
|
7
8
|
width: "100%",
|
|
8
9
|
height: "100%",
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
opacity: 1
|
|
13
|
-
},
|
|
14
|
-
'& .simplebar-content-wrapper[style*="overflow: hidden scroll;"] .simplebar-content': {},
|
|
15
|
-
'& .simplebar-content-wrapper[style*="overflow: scroll hidden;"] .simplebar-content': {
|
|
16
|
-
marginBottom: "9px"
|
|
17
|
-
},
|
|
18
|
-
"& .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before": {
|
|
19
|
-
backgroundColor: theme.vars.palette.default.focusOpacity,
|
|
20
|
-
borderRadius: "2px",
|
|
21
|
-
height: "5px"
|
|
22
|
-
},
|
|
23
|
-
"& .simplebar-track.simplebar-vertical .simplebar-scrollbar:before": {
|
|
24
|
-
background: theme.vars.palette.general.scrollBar,
|
|
25
|
-
borderRadius: "2px"
|
|
26
|
-
}
|
|
27
|
-
}),
|
|
28
|
-
/**
|
|
29
|
-
* Scroll bar
|
|
30
|
-
*/
|
|
31
|
-
scrollBar: ({ theme }) => ({
|
|
32
|
-
height: "100%",
|
|
33
|
-
"& .simplebar-scrollbar": {
|
|
34
|
-
"&:before": {
|
|
35
|
-
background: theme.vars.palette.general.scrollBar
|
|
36
|
-
},
|
|
37
|
-
"&.simplebar-visible:before": {
|
|
38
|
-
opacity: 1
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"& .simplebar-track.simplebar-vertical": {
|
|
42
|
-
width: 10
|
|
43
|
-
},
|
|
44
|
-
"& .simplebar-track.simplebar-horizontal .simplebar-scrollbar": {
|
|
45
|
-
height: 6
|
|
46
|
-
},
|
|
47
|
-
"& .simplebar-mask": {
|
|
48
|
-
zIndex: "inherit"
|
|
49
|
-
},
|
|
50
|
-
"& .simplebar-content": {
|
|
51
|
-
display: "flex",
|
|
52
|
-
flexDirection: "column",
|
|
53
|
-
height: "100%"
|
|
54
|
-
},
|
|
55
|
-
'& .simplebar-content-wrapper[style*="overflow: hidden scroll;"] .simplebar-content': {
|
|
56
|
-
marginRight: "12px"
|
|
57
|
-
}
|
|
10
|
+
// Si alguno está en true, aplica overflowX o overflowY por separado
|
|
11
|
+
...ownerState?.overflowX && { overflowX: "auto" },
|
|
12
|
+
...ownerState?.overflowY && { overflowY: "auto" }
|
|
58
13
|
})
|
|
59
14
|
};
|
|
60
15
|
export {
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Nombre de la clase css para el componente.
|
|
3
|
+
*/
|
|
4
|
+
export declare const SCROLL_BAR_KEY_COMPONENTS = "M4LScrollBar";
|
|
5
|
+
export declare const SCROLL_BAR_CLASS_NAME: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
|
|
2
|
-
const
|
|
3
|
-
const
|
|
2
|
+
const SCROLL_BAR_KEY_COMPONENTS = "M4LScrollBar";
|
|
3
|
+
const SCROLL_BAR_CLASS_NAME = getComponentSlotRoot(SCROLL_BAR_KEY_COMPONENTS);
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
SCROLL_BAR_CLASS_NAME as S,
|
|
6
|
+
SCROLL_BAR_KEY_COMPONENTS as a
|
|
7
7
|
};
|