@m4l/components 9.2.55 → 9.2.56-beta.3
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/decorators/WithWindowsToolsContext/WithContextWindowTools.d.ts +5 -0
- package/.storybook/utils/flattenDeep.d.ts +8 -0
- package/.storybook/utils/getStylesColorsByMode.d.ts +4 -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/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/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/DataGrid/DataGrid.js +36 -7
- package/components/DataGrid/Datagrid.styles.js +600 -0
- package/components/DataGrid/constants.d.ts +1 -0
- package/components/DataGrid/constants.js +2 -0
- package/components/DataGrid/contexts/DataGridContext/index.js +62 -13
- package/components/DataGrid/contexts/DataGridContext/types.d.ts +5 -2
- package/components/DataGrid/dictionary.d.ts +2 -1
- package/components/DataGrid/dictionary.js +22 -21
- 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/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 +8 -7
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Filter/index.js +2 -2
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/MobileMenuActions/index.d.ts +7 -0
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/MobileMenuActions/index.js +5 -3
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/RowsCount/index.js +4 -4
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/index.d.ts +5 -0
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/index.js +7 -3
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/index.js +57 -47
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/Settings/subcomponents/ColumnsConfig/types.d.ts +6 -1
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/Settings/types.d.ts +4 -0
- package/components/DataGrid/subcomponents/HeaderActions/subcomponents/hooks/useModalSettings/index.d.ts +8 -0
- package/components/DataGrid/subcomponents/{Actions → HeaderActions}/subcomponents/hooks/useModalSettings/index.js +13 -7
- package/components/DataGrid/subcomponents/HeaderActions/types.d.ts +5 -0
- package/components/DataGrid/subcomponents/Table/hooks/useSortColumnsRows.js +5 -3
- package/components/DataGrid/subcomponents/Table/index.js +4 -4
- 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 +2 -2
- 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/dictionary.d.ts +1 -0
- package/components/DynamicFilter/dictionary.js +2 -1
- 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/PopoverMenuFields/PopoverMenuFields.js +0 -1
- package/components/DynamicFilter/types.d.ts +1 -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/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.styles.js +11 -11
- package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.styles.js +3 -3
- package/components/LoadingError/LoadingError.js +1 -2
- package/components/MenuActions/MenuActions.js +4 -4
- 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/NoItemSelected/NoItemSelected.js +3 -5
- package/components/NoItemSelected/NoItemSelected.styles.js +4 -4
- package/components/NoItemSelected/slots/NoItemSelectedSlots.d.ts +7 -7
- package/components/NumberInput/NumberInput.styles.js +20 -20
- 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 -3
- package/components/ObjectLogs/subcomponents/ObjectLogsByOthers/ObjectLogsByOthers.js +1 -3
- 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 +3 -3
- package/components/PropertyValue/slots/PropertyValueSlots.d.ts +3 -3
- package/components/ScrollBar/ScrollBar.d.ts +3 -3
- package/components/ScrollBar/ScrollBar.js +5 -45
- package/components/ScrollBar/ScrollBar.styles.js +5 -52
- package/components/ScrollBar/constants.d.ts +4 -2
- package/components/ScrollBar/constants.js +2 -5
- package/components/ScrollBar/index.d.ts +2 -0
- package/components/ScrollBar/index.js +1 -0
- package/components/ScrollBar/slots/ScrollBarSlots.d.ts +1 -6
- 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 +12 -42
- 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 +4 -4
- 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 +11 -2
- 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 +8 -6
- package/components/WindowBase/WindowBase.styles.js +208 -107
- 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 +22 -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 +10 -0
- package/components/WindowConfirm/WindowConfirm.js +2 -3
- package/components/WindowConfirm/WindowConfirm.styles.js +4 -4
- package/components/areas/components/AreasAdmin/AreasAdmin.js +12 -17
- package/components/areas/components/AreasAdmin/AreasAdmin.styles.js +13 -21
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +22 -22
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +1 -4
- 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 +1 -1
- package/components/areas/components/AreasViewer/AreasViewer.styles.js +2 -2
- package/components/areas/components/AreasViewer/slots/AreasViewerSlots.d.ts +5 -5
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/BaseArea/BaseArea.js +1 -1
- 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/contexts/AreasContext/index.js +1 -1
- package/components/areas/contexts/AreasContext/store.js +1 -1
- 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 +7 -7
- 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/RHFAutocompleteAsync/RHFAutocompleteAsync.d.ts +2 -1
- package/components/hook-form/RHFAutocompleteAsync/reducer/RHFAutocompleteReducer.js +2 -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/slots/RHFTextFieldSlots.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 +21 -21
- 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/index.d.ts +2 -0
- package/components/mui_extended/Accordion/Accordion.js +31 -21
- package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +12 -12
- package/components/mui_extended/Accordion/styles.js +56 -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/renderOptions/index.d.ts +3 -1
- package/components/mui_extended/Autocomplete/renderOptions/index.js +3 -2
- package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +16 -16
- package/components/mui_extended/Avatar/Avatar.js +1 -1
- package/components/mui_extended/Avatar/styles.js +3 -3
- package/components/mui_extended/Badge/Badge.js +14 -8
- package/components/mui_extended/Badge/Badge.styles.js +23 -33
- package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +2 -2
- 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 +25 -25
- 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 +10 -10
- package/components/mui_extended/Divider/Divider.js +1 -2
- package/components/mui_extended/Divider/Divider.styles.js +9 -9
- package/components/mui_extended/IconButton/IconButton.js +39 -12
- package/components/mui_extended/IconButton/IconButton.styles.js +64 -54
- package/components/mui_extended/IconButton/helpers/evalIconColor.d.ts +1 -1
- 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 -7
- package/components/mui_extended/IconButton/slots/IconButtonSlots.js +4 -3
- package/components/mui_extended/IconButton/types.d.ts +10 -8
- package/components/mui_extended/LoadingButton/LoadingButton.styles.js +5 -5
- package/components/mui_extended/MenuDivider/MenuDivider.js +1 -2
- package/components/mui_extended/MenuDivider/MenuDivider.styles.js +9 -9
- package/components/mui_extended/MenuItem/MenuItem.styles.js +10 -10
- package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +6 -6
- 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.styles.js +4 -4
- 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/Tab.js +2 -0
- package/components/mui_extended/Tab/Tab.styles.js +26 -48
- package/components/mui_extended/Tab/types.d.ts +4 -0
- package/components/mui_extended/TabContent/TabContent.js +1 -1
- package/components/mui_extended/TabContent/TabContent.styles.js +2 -4
- package/components/mui_extended/TabContent/slots/TabContentSlots.d.ts +2 -2
- package/components/mui_extended/TabContent/types.d.ts +2 -2
- package/components/mui_extended/Tabs/Tabs.styles.js +2 -1
- package/components/mui_extended/TextField/TextField.styles.js +22 -22
- package/components/mui_extended/TextField/slots/TextFieldSlots.d.ts +3 -3
- package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +8 -8
- 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/Tooltip/Tooltip.styles.js +1 -1
- package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +3 -3
- package/components/mui_extended/Typography/typography.styles.js +7 -7
- package/components/mui_extended/index.d.ts +0 -2
- package/components/popups/components/PopupsViewer/PopupsViewer.styles.js +2 -2
- 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/slots/DynamicFilterAndSortSlots.d.ts +6 -6
- package/hooks/useDynamicFilterAndSort/styles.js +7 -13
- package/hooks/useDynamicFilterAndSort/types.d.ts +2 -2
- package/hooks/useDynamicFilterAndSort/useDynamicFilterAndSort.js +17 -28
- package/index.js +43 -42
- package/package.json +3 -3
- 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/WindowBase/windowBase.stories.d.ts +60 -7
- package/storybook/components/extended/mui/Accordion/Accordion.stories.d.ts +72 -20
- package/storybook/components/extended/mui/Badge/Badge.stories.d.ts +4 -0
- package/storybook/components/extended/mui/IconButton/IconButton.stories.d.ts +12 -0
- package/storybook/components/extended/mui/Tab/Tab.stories.d.ts +24 -24
- package/storybook/components/extended/mui/ToggleIconButton/ToggleIconButton.stories.d.ts +12 -0
- package/storybook/tootls/WrapperLineGuide/WrapperLineGuide.d.ts +9 -0
- package/storybook/tootls/WrapperLineGuide/styles.d.ts +1 -0
- package/storybook/tootls/WrapperLineGuide/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 -48
- package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.d.ts +0 -4
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/index.d.ts +0 -4
- package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/index.d.ts +0 -6
- package/components/DataGrid/subcomponents/Actions/subcomponents/types.d.ts +0 -2
- package/components/DataGrid/subcomponents/Actions/types.d.ts +0 -13
- 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/ScrollBar.stories.d.ts +0 -7
- 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/RowsCount/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/hooks/useModalSettings/types.d.ts +0 -0
- /package/components/{ScrollBar/slots → Pager}/index.js +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export declare const AppBarRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> &
|
|
2
|
-
ownerState
|
|
1
|
+
export declare const AppBarRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
2
|
+
ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
|
|
3
3
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, keyof import('react').HTMLAttributes<HTMLElement> | keyof import('react').ClassAttributes<HTMLElement>>, {}>;
|
|
4
|
-
export declare const ContainerIsotypeNameStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> &
|
|
5
|
-
ownerState
|
|
4
|
+
export declare const ContainerIsotypeNameStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
5
|
+
ownerState?: (Partial<import('../types').AppBarOwnerState> & 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 ImageIsotypeStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Image').ImageProps, keyof import('../../Image').ImageProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> &
|
|
8
|
-
ownerState
|
|
7
|
+
export declare const ImageIsotypeStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Image').ImageProps, keyof import('../../Image').ImageProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
8
|
+
ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
|
|
9
9
|
}, {}, {}>;
|
|
10
|
-
export declare const CompanyNameStyled: import('@emotion/styled').StyledComponent<Pick<import('../../mui_extended/Typography/types').TypographyProps, keyof import('../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> &
|
|
11
|
-
ownerState
|
|
10
|
+
export declare const CompanyNameStyled: import('@emotion/styled').StyledComponent<Pick<import('../../mui_extended/Typography/types').TypographyProps, keyof import('../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
11
|
+
ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
|
|
12
12
|
}, {}, {}>;
|
|
13
|
-
export declare const MenuIconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "
|
|
14
|
-
ownerState
|
|
13
|
+
export declare const MenuIconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
14
|
+
ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
|
|
15
15
|
}, {}, {}>;
|
|
16
|
-
export declare const ContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> &
|
|
17
|
-
ownerState
|
|
16
|
+
export declare const ContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
17
|
+
ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
|
|
18
18
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
19
|
-
export declare const ContentIsotypeStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> &
|
|
20
|
-
ownerState
|
|
19
|
+
export declare const ContentIsotypeStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
20
|
+
ownerState?: (Partial<import('../types').AppBarOwnerState> & 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
22
|
export declare const DividerStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').DividerOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & {
|
|
23
23
|
ref?: ((instance: HTMLHRElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLHRElement> | null | undefined;
|
|
24
|
-
}, "children" | "light" | "style" | "absolute" | "variant" | "textAlign" | "className" | "classes" | "sx" | "orientation" | "flexItem">, "children" | "ref" | "title" | "id" | "light" | "hidden" | "color" | "content" | "style" | "absolute" | "variant" | "textAlign" | "translate" | "className" | "classes" | "sx" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "orientation" | "flexItem"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> &
|
|
25
|
-
ownerState
|
|
24
|
+
}, "children" | "light" | "style" | "absolute" | "variant" | "textAlign" | "className" | "classes" | "sx" | "orientation" | "flexItem">, "children" | "ref" | "title" | "id" | "light" | "hidden" | "color" | "content" | "style" | "absolute" | "variant" | "textAlign" | "translate" | "className" | "classes" | "sx" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "orientation" | "flexItem"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
25
|
+
ownerState?: (Partial<import('../types').AppBarOwnerState> & Record<string, unknown>) | undefined;
|
|
26
26
|
}, {}, {}>;
|
|
@@ -10,6 +10,7 @@ const appBarStyles = {
|
|
|
10
10
|
flexWrap: "nowrap",
|
|
11
11
|
alignItems: theme.generalSettings.isMobile ? "center" : "initial",
|
|
12
12
|
height: theme.vars.size.baseSpacings.sp12,
|
|
13
|
+
minHeight: theme.vars.size.baseSpacings.sp12,
|
|
13
14
|
padding: `0 ${theme.generalSettings.isMobile ? theme.vars.size.baseSpacings.sp2 : theme.vars.size.baseSpacings.sp4}`,
|
|
14
15
|
borderBottom: `1px solid ${theme.vars.palette.border.default}`,
|
|
15
16
|
gap: theme.vars.size.baseSpacings.sp3,
|
|
@@ -99,7 +100,7 @@ const appBarStyles = {
|
|
|
99
100
|
divider: ({ theme, ownerState }) => ({
|
|
100
101
|
height: "100%",
|
|
101
102
|
borderColor: theme.vars.palette.border.secondary,
|
|
102
|
-
borderRightWidth: ownerState
|
|
103
|
+
borderRightWidth: ownerState?.isMobile ? "thin" : "none"
|
|
103
104
|
})
|
|
104
105
|
};
|
|
105
106
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { AppBarSlots } from './slots/AppBarEnum';
|
|
3
|
-
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
4
3
|
import { APP_BAR_KEY } from './constants';
|
|
5
4
|
import { Theme } from '@mui/material/styles';
|
|
6
5
|
import { ComponentPalletColor, Sizes } from '@m4l/styles';
|
|
6
|
+
import { M4LOverridesStyleRules } from '../../@types/augmentations';
|
|
7
7
|
/**
|
|
8
8
|
* Propiedades de estilo para el componente raíz de la barra de aplicaciones.
|
|
9
9
|
*/
|
|
@@ -56,4 +56,4 @@ export type AppBarSlotsType = keyof typeof AppBarSlots;
|
|
|
56
56
|
/**
|
|
57
57
|
* Estilos aplicables al `AppBar`
|
|
58
58
|
*/
|
|
59
|
-
export type AppBarStyles =
|
|
59
|
+
export type AppBarStyles = M4LOverridesStyleRules<AppBarSlotsType, typeof APP_BAR_KEY, Theme>;
|
|
@@ -26,8 +26,8 @@ const getExternalColor = (externalColor) => {
|
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
const getColors = (theme, ownerState) => {
|
|
29
|
-
const finalPalette = ownerState
|
|
30
|
-
const color = ownerState
|
|
29
|
+
const finalPalette = ownerState?.externalColor ? getExternalColor(ownerState?.externalColor) : theme.vars.palette.chips[ownerState?.color ?? "default"][ownerState?.variant || "contained"];
|
|
30
|
+
const color = ownerState?.opacity ? finalPalette.color : finalPalette.colorTone;
|
|
31
31
|
return { color, finalPalette };
|
|
32
32
|
};
|
|
33
33
|
const chipStyles = {
|
|
@@ -36,9 +36,9 @@ const chipStyles = {
|
|
|
36
36
|
*/
|
|
37
37
|
root: ({ theme, ownerState }) => {
|
|
38
38
|
const { color, finalPalette } = getColors(theme, ownerState);
|
|
39
|
-
const bgColor = ownerState
|
|
40
|
-
const bgHover = ownerState
|
|
41
|
-
const bgActive = ownerState
|
|
39
|
+
const bgColor = ownerState?.opacity ? finalPalette.backgroundColor : finalPalette.backgroundColorTone;
|
|
40
|
+
const bgHover = ownerState?.opacity ? finalPalette.backgroundHover : finalPalette.backgroundHoverTone;
|
|
41
|
+
const bgActive = ownerState?.opacity ? finalPalette.backgroundActive : finalPalette.backgroundActiveTone;
|
|
42
42
|
return {
|
|
43
43
|
display: "flex",
|
|
44
44
|
alignItems: "center",
|
|
@@ -48,14 +48,14 @@ const chipStyles = {
|
|
|
48
48
|
width: "max-content",
|
|
49
49
|
cursor: "pointer",
|
|
50
50
|
color,
|
|
51
|
-
backgroundColor: !(ownerState
|
|
51
|
+
backgroundColor: !(ownerState?.variant === "outlined") ? bgColor : "transparent",
|
|
52
52
|
...getSizeStyles(
|
|
53
53
|
theme,
|
|
54
|
-
ownerState
|
|
54
|
+
ownerState?.size || "medium",
|
|
55
55
|
"base"
|
|
56
56
|
),
|
|
57
57
|
//TODO: OJO no OLVIDAR interactive ************ JUAN
|
|
58
|
-
...ownerState
|
|
58
|
+
...ownerState?.interactive && {
|
|
59
59
|
"&:hover": {
|
|
60
60
|
backgroundColor: bgHover
|
|
61
61
|
},
|
|
@@ -68,7 +68,7 @@ const chipStyles = {
|
|
|
68
68
|
backgroundColor: bgActive
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
|
-
...ownerState
|
|
71
|
+
...ownerState?.variant === "outlined" && {
|
|
72
72
|
border: `${theme.vars.size.borderStroke.container}`,
|
|
73
73
|
borderColor: bgColor
|
|
74
74
|
},
|
|
@@ -105,7 +105,7 @@ const chipStyles = {
|
|
|
105
105
|
},
|
|
106
106
|
...getSizeStyles(
|
|
107
107
|
theme,
|
|
108
|
-
ownerState
|
|
108
|
+
ownerState?.size || "medium",
|
|
109
109
|
"base",
|
|
110
110
|
(size) => ({
|
|
111
111
|
height: size,
|
|
@@ -120,10 +120,10 @@ const chipStyles = {
|
|
|
120
120
|
*/
|
|
121
121
|
skeletonChip: ({ theme, ownerState }) => ({
|
|
122
122
|
width: "100%",
|
|
123
|
-
background: theme.vars.palette.skeleton.
|
|
123
|
+
background: theme.vars.palette.skeleton.default,
|
|
124
124
|
...getSizeStyles(
|
|
125
125
|
theme,
|
|
126
|
-
ownerState
|
|
126
|
+
ownerState?.size || "medium",
|
|
127
127
|
"base",
|
|
128
128
|
(size) => ({
|
|
129
129
|
height: size,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
declare const ChipRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
2
|
-
ownerState
|
|
2
|
+
ownerState?: (Partial<import('..').ChipOwnerState> & 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
|
declare const SkeletonChipStyled: import('@emotion/styled').StyledComponent<Pick<import('../../mui_extended/Skeleton/types').SkeletonProps, keyof import('../../mui_extended/Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
5
|
-
ownerState
|
|
5
|
+
ownerState?: (Partial<import('..').ChipOwnerState> & Record<string, unknown>) | undefined;
|
|
6
6
|
}, {}, {}>;
|
|
7
7
|
declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Icon').IconProps, keyof import('../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
8
|
-
ownerState
|
|
8
|
+
ownerState?: (Partial<import('..').ChipOwnerState> & Record<string, unknown>) | undefined;
|
|
9
9
|
}, {}, {}>;
|
|
10
10
|
declare const TextChipStyled: import('@emotion/styled').StyledComponent<Pick<import('../../mui_extended/Typography/types').TypographyProps, keyof import('../../mui_extended/Typography/types').TypographyProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
11
|
-
ownerState
|
|
11
|
+
ownerState?: (Partial<import('..').ChipOwnerState> & Record<string, unknown>) | undefined;
|
|
12
12
|
}, {}, {}>;
|
|
13
|
-
declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "
|
|
14
|
-
ownerState
|
|
13
|
+
declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
14
|
+
ownerState?: (Partial<import('..').ChipOwnerState> & Record<string, unknown>) | undefined;
|
|
15
15
|
}, {}, {}>;
|
|
16
16
|
export { ChipRootStyled, SkeletonChipStyled, IconStyled, TextChipStyled, IconButtonStyled };
|
|
@@ -8,29 +8,29 @@ const colorStyles = {
|
|
|
8
8
|
justifyContent: "center",
|
|
9
9
|
width: "fit-content",
|
|
10
10
|
height: "fit-content",
|
|
11
|
-
cursor: ownerState
|
|
11
|
+
cursor: ownerState?.disabled ? "not-allowed" : "pointer",
|
|
12
12
|
color: theme.vars.palette.text.primary,
|
|
13
|
-
pointerEvents: ownerState
|
|
13
|
+
pointerEvents: ownerState?.disabled ? "none" : "auto",
|
|
14
14
|
//Espaciado
|
|
15
15
|
padding: 0,
|
|
16
16
|
// Radio de borde
|
|
17
17
|
borderRadius: theme.size.borderRadius.r1,
|
|
18
|
-
border: ownerState
|
|
18
|
+
border: ownerState?.error ? `1px solid ${theme.vars.palette.error.enabled}` : void 0,
|
|
19
19
|
/**
|
|
20
20
|
*Pseudoclases**:
|
|
21
21
|
*/
|
|
22
22
|
"&:hover": {
|
|
23
|
-
background: ownerState
|
|
23
|
+
background: ownerState?.error ? theme.vars.palette.error.hoverOpacity : theme.vars.palette.default.hoverOpacity
|
|
24
24
|
},
|
|
25
25
|
"&:active": {
|
|
26
|
-
background: ownerState
|
|
26
|
+
background: ownerState?.error ? theme.vars.palette.error.activeOpacity : theme.vars.palette.default.activeOpacity
|
|
27
27
|
},
|
|
28
28
|
"&:focus-visible": {
|
|
29
29
|
outline: `1px solid ${theme.vars.palette.primary.focusVisible}`,
|
|
30
30
|
outlineOffset: 2
|
|
31
31
|
},
|
|
32
32
|
// Sizes medium
|
|
33
|
-
...ownerState
|
|
33
|
+
...ownerState?.size === "medium" && {
|
|
34
34
|
...theme.generalSettings.isMobile ? {
|
|
35
35
|
width: theme.vars.size.mobile.medium.action,
|
|
36
36
|
height: theme.vars.size.mobile.medium.action
|
|
@@ -40,7 +40,7 @@ const colorStyles = {
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
// Sizes small
|
|
43
|
-
...ownerState
|
|
43
|
+
...ownerState?.size === "small" && {
|
|
44
44
|
...theme.generalSettings.isMobile ? {
|
|
45
45
|
width: theme.vars.size.mobile.small.action,
|
|
46
46
|
height: theme.vars.size.mobile.small.action
|
|
@@ -59,10 +59,10 @@ const colorStyles = {
|
|
|
59
59
|
display: "flex",
|
|
60
60
|
flexDirection: "column",
|
|
61
61
|
justifyContent: "center",
|
|
62
|
-
backgroundColor: ownerState
|
|
62
|
+
backgroundColor: ownerState?.value,
|
|
63
63
|
borderRadius: theme.size.borderRadius["r0-5"],
|
|
64
64
|
// Sizes medium
|
|
65
|
-
...ownerState
|
|
65
|
+
...ownerState?.size === "medium" && {
|
|
66
66
|
...theme.generalSettings.isMobile ? {
|
|
67
67
|
width: theme.vars.size.mobile.medium.base,
|
|
68
68
|
height: theme.vars.size.mobile.medium.base
|
|
@@ -72,7 +72,7 @@ const colorStyles = {
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
// Sizes small
|
|
75
|
-
...ownerState
|
|
75
|
+
...ownerState?.size === "small" && {
|
|
76
76
|
...theme.generalSettings.isMobile ? {
|
|
77
77
|
width: theme.vars.size.mobile.small.base,
|
|
78
78
|
height: theme.vars.size.mobile.small.base
|
|
@@ -90,7 +90,7 @@ const colorStyles = {
|
|
|
90
90
|
"& .MuiPaper-root": {
|
|
91
91
|
padding: 0,
|
|
92
92
|
border: theme.vars.size.borderStroke.container,
|
|
93
|
-
borderColor: ownerState
|
|
93
|
+
borderColor: ownerState?.error ? theme.vars.palette.border.error : theme.vars.palette.border.default,
|
|
94
94
|
borderRadius: theme.vars.size.borderRadius.r1,
|
|
95
95
|
"& .MuiButtonBase-root": {
|
|
96
96
|
// Ajuste específico de estilo para el contenido de los botones
|
|
@@ -2,26 +2,26 @@ import { SketchPicker } from 'react-color';
|
|
|
2
2
|
/**
|
|
3
3
|
* Componente estilizado de IconButton como el contenedor raíz del componente de color.
|
|
4
4
|
*/
|
|
5
|
-
export declare const IconButtonRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "
|
|
6
|
-
ownerState
|
|
5
|
+
export declare const IconButtonRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "icon" | "tooltip" | "variant" | "translate" | "className" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "instaceDataTestId" | "placement" | "rotationAngle" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
6
|
+
ownerState?: (Partial<import('../types').ColorOwnerState> & Record<string, unknown>) | undefined;
|
|
7
7
|
}, {}, {}>;
|
|
8
8
|
/**
|
|
9
9
|
* Componente envoltorio `div` que representa el color que recibe por la prop `value`.
|
|
10
10
|
*/
|
|
11
11
|
export declare const ColorPickerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
12
|
-
ownerState
|
|
12
|
+
ownerState?: (Partial<import('../types').ColorOwnerState> & Record<string, unknown>) | undefined;
|
|
13
13
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
14
14
|
/**
|
|
15
15
|
* Componente `Popover` de M4L.
|
|
16
16
|
*/
|
|
17
17
|
export declare const PopoverStyled: import('@emotion/styled').StyledComponent<Pick<import('../../mui_extended/Popover/types').PopoverProps, keyof import('../../mui_extended/Popover/types').PopoverProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
18
|
-
ownerState
|
|
18
|
+
ownerState?: (Partial<import('../types').ColorOwnerState> & Record<string, unknown>) | undefined;
|
|
19
19
|
}, {}, {}>;
|
|
20
20
|
/**
|
|
21
21
|
* Componente `SketchPicker` que viene de la libreria de react color.
|
|
22
22
|
*/
|
|
23
23
|
export declare const SketchPickerStyled: import('@emotion/styled').StyledComponent<Pick<import('react-color').SketchPickerProps, keyof import('react-color').SketchPickerProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
24
|
-
ownerState
|
|
24
|
+
ownerState?: (Partial<import('../types').ColorOwnerState> & Record<string, unknown>) | undefined;
|
|
25
25
|
}, {}, {
|
|
26
26
|
ref?: import('react').Ref<SketchPicker> | undefined;
|
|
27
27
|
}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const LoadingButtonActionFormIntroRootStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../mui_extended/LoadingButton/types').LoadingButtonProps, keyof import('../../../../mui_extended/LoadingButton/types').LoadingButtonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> &
|
|
2
|
-
ownerState
|
|
1
|
+
export declare const LoadingButtonActionFormIntroRootStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../../mui_extended/LoadingButton/types').LoadingButtonProps, keyof import('../../../../mui_extended/LoadingButton/types').LoadingButtonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
2
|
+
ownerState?: (Partial<import('../types').ActionFormIntroOwnerState> & Record<string, unknown>) | undefined;
|
|
3
3
|
}, {}, {}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Sizes } from '@m4l/styles';
|
|
2
2
|
import { Theme } from '@mui/material';
|
|
3
|
-
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
4
3
|
import { LoadingButtonProps } from '../../../mui_extended/LoadingButton/types';
|
|
5
4
|
import { ACTION_FORM_INTRO_KEY_COMPONENT } from './constanst';
|
|
6
5
|
import { ActionFormIntroSlots } from './slots/ActionFormIntroEnum';
|
|
6
|
+
import { M4LOverridesStyleRules } from '../../../../@types/augmentations';
|
|
7
7
|
export interface ActionsFormIntroProps extends Omit<LoadingButtonProps, 'label'> {
|
|
8
8
|
label?: string;
|
|
9
9
|
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
@@ -15,4 +15,4 @@ export type OwnerState = Pick<LoadingButtonProps, 'size'>;
|
|
|
15
15
|
export interface ActionFormIntroOwnerState extends LoadingButtonProps, OwnerState {
|
|
16
16
|
}
|
|
17
17
|
export type ActionFormIntroType = keyof typeof ActionFormIntroSlots;
|
|
18
|
-
export type ActionFormIntroStyles =
|
|
18
|
+
export type ActionFormIntroStyles = M4LOverridesStyleRules<ActionFormIntroSlots, typeof ACTION_FORM_INTRO_KEY_COMPONENT, Theme>;
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { T as Table } from "./subcomponents/Table/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { H as HeaderActions } from "./subcomponents/HeaderActions/index.js";
|
|
4
4
|
import { F as FilterProvider } from "./contexts/FilterContext/index.js";
|
|
5
5
|
import { D as DataGridProvider } from "./contexts/DataGridContext/index.js";
|
|
6
6
|
import { T as TEST_PROP_COLUMNS } from "./types.js";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.js";
|
|
8
8
|
import { a as getNameDataTestId } from "../../test/getNameDataTestId.js";
|
|
9
|
-
import { D as DATAGRID_PREFIX_NAME } from "./constants.js";
|
|
9
|
+
import { T as TEST_SKELETON, D as DATAGRID_PREFIX_NAME } from "./constants.js";
|
|
10
10
|
import { D as DataGridRootStyled, C as CustomHeaderStyled } from "./slots/DataGridSlot.js";
|
|
11
11
|
import { a as getComponentSlotRoot } from "../../utils/getComponentSlotRoot.js";
|
|
12
12
|
import { useRef } from "react";
|
|
13
|
+
import { C as ControlNavigate } from "./subcomponents/ControlNavigate/ControlNavigate.js";
|
|
14
|
+
import { useModuleSkeleton } from "@m4l/core";
|
|
15
|
+
import { u as useComponentSize } from "../../hooks/useComponentSize/useComponentSize.js";
|
|
13
16
|
function DataGrid(props) {
|
|
14
17
|
const {
|
|
15
18
|
id,
|
|
@@ -31,13 +34,28 @@ function DataGrid(props) {
|
|
|
31
34
|
customHeader: CustomHeader,
|
|
32
35
|
visibleCustomHeader = true,
|
|
33
36
|
defaultUserColumns,
|
|
34
|
-
onChangeUserColumns
|
|
37
|
+
onChangeUserColumns,
|
|
38
|
+
size
|
|
35
39
|
} = props;
|
|
40
|
+
const {
|
|
41
|
+
withSettings,
|
|
42
|
+
settingsProps,
|
|
43
|
+
// TotalRecords
|
|
44
|
+
withRowsCount,
|
|
45
|
+
// WithLocalFilters
|
|
46
|
+
withLocalFilters,
|
|
47
|
+
leftActions,
|
|
48
|
+
rightActions,
|
|
49
|
+
withPager,
|
|
50
|
+
pagerOptions
|
|
51
|
+
} = actionsProps;
|
|
52
|
+
const { currentSize } = useComponentSize(size);
|
|
36
53
|
const refDataGrid = useRef(null);
|
|
37
54
|
const classRoot = getComponentSlotRoot(DATAGRID_PREFIX_NAME);
|
|
38
55
|
const ownerState = {
|
|
39
56
|
visibleCustomHeader
|
|
40
57
|
};
|
|
58
|
+
const isSkeleton = useModuleSkeleton();
|
|
41
59
|
return /* @__PURE__ */ jsx(
|
|
42
60
|
DataGridRootStyled,
|
|
43
61
|
{
|
|
@@ -45,7 +63,8 @@ function DataGrid(props) {
|
|
|
45
63
|
className: classRoot,
|
|
46
64
|
...process.env.NODE_ENV !== "production" ? {
|
|
47
65
|
[TEST_PROP_COLUMNS]: JSON.stringify(columns),
|
|
48
|
-
[TEST_PROP_ID]: getNameDataTestId(DATAGRID_PREFIX_NAME, "root", dataTestId)
|
|
66
|
+
[TEST_PROP_ID]: getNameDataTestId(DATAGRID_PREFIX_NAME, "root", dataTestId),
|
|
67
|
+
[TEST_SKELETON]: isSkeleton ? true : false
|
|
49
68
|
} : {},
|
|
50
69
|
children: /* @__PURE__ */ jsx(
|
|
51
70
|
DataGridProvider,
|
|
@@ -63,11 +82,20 @@ function DataGrid(props) {
|
|
|
63
82
|
rows,
|
|
64
83
|
onChangeUserColumns,
|
|
65
84
|
defaultUserColumns,
|
|
85
|
+
size: currentSize,
|
|
66
86
|
children: /* @__PURE__ */ jsxs(FilterProvider, { initialActiveFilters: false, children: [
|
|
67
87
|
withActions && actionsProps && /* @__PURE__ */ jsx(
|
|
68
|
-
|
|
88
|
+
HeaderActions,
|
|
69
89
|
{
|
|
70
|
-
|
|
90
|
+
withSettings,
|
|
91
|
+
settingsProps,
|
|
92
|
+
withRowsCount,
|
|
93
|
+
withLocalFilters,
|
|
94
|
+
leftActions,
|
|
95
|
+
rightActions,
|
|
96
|
+
withPager,
|
|
97
|
+
columns,
|
|
98
|
+
size: currentSize
|
|
71
99
|
}
|
|
72
100
|
),
|
|
73
101
|
CustomHeader ? /* @__PURE__ */ jsx(CustomHeaderStyled, { ownerState, children: CustomHeader }) : null,
|
|
@@ -83,7 +111,8 @@ function DataGrid(props) {
|
|
|
83
111
|
rowKeyGetter,
|
|
84
112
|
onRowsChange
|
|
85
113
|
}
|
|
86
|
-
)
|
|
114
|
+
),
|
|
115
|
+
withPager && /* @__PURE__ */ jsx(ControlNavigate, { size: currentSize, ...{ withPager, pagerOptions } })
|
|
87
116
|
] })
|
|
88
117
|
}
|
|
89
118
|
)
|