@m4l/components 9.5.7 → 9.5.8
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/@types/types.d.ts +1 -1
- package/components/AccountPopover/AccountPopover.js +1 -1
- package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +5 -5
- package/components/AccountPopover/slots/AccountPopoverSlots.js +37 -38
- package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts +3 -3
- package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts.map +1 -1
- package/components/ActionsGroup/slots/ActionsGroupSlots.js +12 -13
- package/components/ActionsGroup/subcomponents/ActionIconButton/ActionIconButton.js +12 -12
- package/components/AppBar/AppBar.d.ts +9 -9
- package/components/AppBar/AppBar.d.ts.map +1 -1
- package/components/AppBar/AppBar.js +23 -21
- package/components/AppBar/slots/AppBarSlots.d.ts +1 -1
- package/components/CheckableList/CheckableList.js +28 -28
- package/components/CheckableList/slots/styled.d.ts +9 -9
- package/components/CheckableList/slots/styled.js +1 -1
- package/components/Chip/Chip.js +4 -4
- package/components/Chip/slots/ChipSlots.d.ts +4 -4
- package/components/Chip/slots/ChipSlots.d.ts.map +1 -1
- package/components/Chip/slots/ChipSlots.js +20 -21
- package/components/Color/Color.d.ts +1 -3
- package/components/Color/Color.d.ts.map +1 -1
- package/components/Color/Color.js +10 -10
- package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionFormCancel/slots/ActionFormCancelSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionFormIntro/ActionFormIntro.js +6 -6
- package/components/CommonActions/components/ActionFormSubmitProgrammatic/ActionFormSubmitProgrammatic.js +7 -7
- package/components/CommonActions/components/ActionFormSubmitProgrammatic/slots/ActionFormSubmitProgrammaticSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
- package/components/DaysOfMonthPicker/hooks/useDaysOfMonthPicker/useDaysOfMonthPicker.js +6 -6
- package/components/DaysOfMonthPicker/slots/DaysOfMonthPickerSlots.d.ts +1 -1
- package/components/DaysOfWeekPicker/hooks/useDaysOfWeekPicker.js +1 -1
- package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerSlots.d.ts +1 -1
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
- package/components/DynamicFilter/store/DynamicFilterContext.js +10 -10
- package/components/DynamicFilter/subcomponents/InputFilter/InputFilter.js +1 -1
- package/components/DynamicForm/DynamicForm.js +14 -14
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
- package/components/DynamicSort/store/DynamicSortContext.js +8 -8
- package/components/DynamicSort/subcomponents/FieldTypes/StringSort/index.js +1 -1
- package/components/DynamicSort/subcomponents/InputSort/InputSort.js +1 -1
- package/components/DynamicSort/subcomponents/PopoverMenuFields/PopoverMenuFields.js +1 -1
- package/components/EditLabel/slots/EditLabelSlots.d.ts +4 -4
- package/components/HelperError/HelperError.js +5 -5
- package/components/HelperError/slots/HelperErrorSlots.d.ts +1 -1
- package/components/HelperError/slots/HelperErrorSlots.js +1 -1
- package/components/HelperError/types.d.ts +1 -1
- package/components/HelperError/types.d.ts.map +1 -1
- package/components/Icon/Icon.d.ts +3 -6
- package/components/Icon/Icon.d.ts.map +1 -1
- package/components/Icon/Icon.js +3 -99
- package/components/Icon/index.d.ts +3 -2
- package/components/Icon/index.d.ts.map +1 -1
- package/components/ImageText/ImageText.js +5 -5
- package/components/ImageText/slots/ImageTextSlots.d.ts +2 -2
- package/components/ImageText/slots/ImageTextSlots.js +1 -1
- package/components/Label/Label.js +1 -1
- package/components/Label/slots/LabelSlots.d.ts +3 -3
- package/components/Label/slots/LabelSlots.d.ts.map +1 -1
- package/components/Label/slots/LabelSlots.js +9 -10
- package/components/Label/types.d.ts +19 -17
- package/components/Label/types.d.ts.map +1 -1
- package/components/LanguagePopover/LanguagePopover.js +7 -7
- package/components/LoadingError/LoadingError.js +11 -11
- package/components/LoadingError/slots/LoadingErrorSlots.d.ts +1 -1
- package/components/LoadingError/slots/LoadingErrorSlots.d.ts.map +1 -1
- package/components/LoadingError/slots/LoadingErrorSlots.js +6 -6
- package/components/MFIsolationApp/MFIsolationApp.js +10 -11
- package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.d.ts +1 -5
- package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/createComponentsMFIsolationAppStorybookProps.d.ts +19 -0
- package/components/MFIsolationAppStorybook/createComponentsMFIsolationAppStorybookProps.d.ts.map +1 -0
- package/components/MFIsolationAppStorybook/createComponentsMFIsolationAppStorybookProps.js +52 -0
- package/components/MFIsolationAppStorybook/index.d.ts +4 -3
- package/components/MFIsolationAppStorybook/index.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/MFAppStorybook.d.ts +1 -5
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/MFAppStorybook.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/types.d.ts +1 -4
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/types.d.ts.map +1 -1
- package/components/MFIsolationAppStorybook/types.d.ts +2 -34
- package/components/MFIsolationAppStorybook/types.d.ts.map +1 -1
- package/components/MenuActions/MenuActions.js +14 -14
- package/components/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +1 -1
- package/components/NoItemPrivileges/NoItemPrivileges.js +4 -4
- package/components/NoItemSelected/NoItemSelected.js +7 -7
- package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
- package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +4 -4
- package/components/ObjectLogs/slots/ObjectLogsSlots.js +18 -19
- package/components/Pager/Pager.js +8 -8
- package/components/Pager/slots/PagerSlots.d.ts +3 -3
- package/components/Pager/slots/PagerSlots.d.ts.map +1 -1
- package/components/Pager/slots/PagerSlots.js +1 -1
- package/components/PaperForm/PaperForm.js +1 -1
- package/components/PaperForm/slots/PaperFormSlots.d.ts +2 -2
- package/components/PaperForm/slots/PaperFormSlots.js +9 -10
- package/components/PropertyValue/PropertyValue.js +11 -11
- package/components/PropertyValue/slots/PropertyValueSlots.d.ts +1 -1
- package/components/PropertyValue/slots/PropertyValueSlots.js +1 -1
- package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +5 -5
- package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts.map +1 -1
- package/components/SettingsLayout/slots/SettingsLayoutSlots.js +25 -26
- package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.d.ts.map +1 -1
- package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.js +17 -18
- package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.d.ts.map +1 -1
- package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.js +13 -14
- package/components/SettingsLayout/subcomponents/SettingFullscreen/SettingFullscreen.js +1 -1
- package/components/SettingsLayout/subcomponents/SettingItem/SettingItem.js +4 -4
- package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.d.ts.map +1 -1
- package/components/SettingsLayout/subcomponents/SettingMode/SettingMode.js +19 -20
- package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
- package/components/SideBar/subcomponents/ContentComponent/index.js +8 -8
- package/components/SideBar/subcomponents/TreeGroupItems/index.js +11 -11
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/AdormentIcon/AdormentIcon.js +3 -3
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/ArrowIcon/index.js +1 -1
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItem/index.js +5 -5
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/NodeMenuItemMain/NodeMenuItemMain.js +14 -14
- package/components/Stepper/Stepper.js +6 -6
- package/components/Stepper/slots/StepperSlot.d.ts +5 -5
- package/components/Stepper/slots/StepperSlot.d.ts.map +1 -1
- package/components/Stepper/slots/StepperSlot.js +41 -42
- package/components/Stepper/subcomponents/StepArea/subcomponents/Inidicator/index.js +2 -2
- package/components/TabsNavigator/TabsNavigator.js +13 -13
- package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts +3 -3
- package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts.map +1 -1
- package/components/TabsNavigator/slots/TabsNavigatorSlots.js +21 -22
- package/components/TabsNavigator/subcomponents/TabNavigatorClusterComponent/TabNavigatorClusterComponent.js +6 -6
- package/components/TabsNavigator/subcomponents/TabNavigatorComponent/TabNavigatorComponent.js +1 -1
- package/components/TabsNavigator/subcomponents/TextMarquee/types.d.ts +1 -1
- package/components/TabsNavigator/subcomponents/TextMarquee/types.d.ts.map +1 -1
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +5 -5
- package/components/ToastContainer/slots/toastContainerSlots.d.ts.map +1 -1
- package/components/ToastContainer/slots/toastContainerSlots.js +17 -18
- package/components/ToastContainer/subcomponents/ToastMessage/useToastMessage.js +3 -3
- package/components/ToastContainer/types.d.ts +1 -1
- package/components/ToastContainer/types.d.ts.map +1 -1
- package/components/WindowBase/WindowBase.js +22 -23
- package/components/WindowBase/slots/WindowBaseSlots.d.ts +4 -4
- package/components/WindowBase/slots/WindowBaseSlots.d.ts.map +1 -1
- package/components/WindowBase/slots/WindowBaseSlots.js +67 -68
- package/components/WindowBase/subcomponents/EditionInfo/EditionInfo.js +6 -6
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts +1 -1
- package/components/WindowBase/subcomponents/MemoizedIconButton/types.d.ts.map +1 -1
- package/components/WindowBase/types.d.ts +1 -2
- package/components/WindowBase/types.d.ts.map +1 -1
- package/components/WindowConfirm/WindowConfirm.js +11 -11
- package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +4 -4
- package/components/WindowConfirm/slots/WindowConfirmSlots.js +1 -1
- package/components/animate/variants/background.d.ts +9 -9
- package/components/animate/variants/bounce.d.ts +9 -9
- package/components/animate/variants/fade.d.ts +20 -20
- package/components/animate/variants/flip.d.ts +6 -6
- package/components/animate/variants/rotate.d.ts +3 -3
- package/components/animate/variants/scale.d.ts +6 -6
- package/components/animate/variants/slide.d.ts +16 -16
- package/components/animate/variants/transition.d.ts +3 -3
- package/components/animate/variants/zoom.d.ts +15 -15
- package/components/areas/components/AreasAdmin/AreasAdmin.js +8 -8
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +3 -3
- package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.js +4 -4
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/AreaChip.js +22 -22
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/ChipMobile.js +10 -10
- package/components/areas/components/AreasViewer/AreasViewer.js +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/AreaGridLayout.js +1 -1
- package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/subcomponents/ArrowIcon/index.js +1 -1
- package/components/datagrids/components/BaseDataGrid/BaseDataGrid.js +1 -1
- package/components/datagrids/formatters/ColumnIconFormatter/types.d.ts +1 -1
- package/components/datagrids/formatters/ColumnIconFormatter/types.d.ts.map +1 -1
- package/components/datagrids/slots/DataGridSlot.d.ts +6 -6
- package/components/datagrids/slots/DataGridSlot.d.ts.map +1 -1
- package/components/datagrids/slots/DataGridSlot.js +111 -112
- package/components/datagrids/subcomponents/ControlNavigate/ControlNavigate.js +1 -1
- package/components/datagrids/subcomponents/HeaderActions/HeaderActions.js +1 -1
- package/components/datagrids/subcomponents/HeaderActions/subcomponents/Density/Density.js +1 -1
- package/components/datagrids/subcomponents/HeaderActions/subcomponents/ViewMode/ViewMode.js +1 -1
- package/components/datagrids/tests/helpers/useCustomCardExample.d.ts.map +1 -1
- package/components/datagrids/views/CardsView/hooks/useCardContent/useCardContent.js +1 -1
- package/components/datagrids/views/CardsView/subcomponents/CardDetails/CardDetails.js +1 -1
- package/components/datagrids/views/ListView/hooks/useListContent/useListContent.js +1 -1
- package/components/datagrids/views/ListView/subcomponents/ListDetail/ListDetail.js +1 -1
- package/components/datagrids/views/TableView/hooks/useHeaderMenuActions/useHeaderMenuActions.js +4 -4
- package/components/datagrids/views/TableView/subcomponents/CheckboxFormatter/subcomponents/CustomIcons/CustomIcons.js +8 -8
- package/components/datagrids/views/TableView/subcomponents/DraggableHeaderRenderer/DraggableHeaderRenderer.js +1 -1
- package/components/datagrids/views/TableView/subcomponents/RenderGroupCell/RenderGroupCell.js +1 -1
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +3 -3
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.js +1 -1
- package/components/extended/mui/Accordion/Accordion.js +6 -6
- package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts +3 -3
- package/components/extended/mui/Accordion/slots/AccordionSlots.d.ts.map +1 -1
- package/components/extended/mui/Accordion/slots/AccordionSlots.js +11 -12
- package/components/extended/mui/Autocomplete/constants.d.ts +1 -1
- package/components/extended/mui/Autocomplete/hooks/useAutocomplete/useAutocomplete.js +11 -11
- package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.d.ts +5 -5
- package/components/extended/mui/Autocomplete/slots/AutocompleteSlots.js +1 -1
- package/components/extended/mui/Autocomplete/subcomponents/LoadingText/LoadingText.js +2 -2
- package/components/extended/mui/Autocomplete/subcomponents/NoOptionsText/NoOptionsText.js +2 -2
- package/components/extended/mui/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.js +4 -4
- package/components/extended/mui/Avatar/Avatar.js +4 -4
- package/components/extended/mui/Badge/Badge.js +6 -6
- package/components/extended/mui/Badge/slots/BadgeSlots.d.ts +1 -1
- package/components/extended/mui/Button/Button.js +4 -4
- package/components/extended/mui/Button/slots/ButtonSlots.d.ts +2 -2
- package/components/extended/mui/Button/slots/ButtonSlots.js +10 -11
- package/components/extended/mui/CheckBox/CheckBox.js +6 -6
- package/components/extended/mui/CheckBox/slots/CheckBoxSlots.d.ts +3 -3
- package/components/extended/mui/CheckBox/slots/CheckBoxSlots.js +11 -12
- package/components/extended/mui/CircularProgress/CircularProgress.js +9 -9
- package/components/extended/mui/DatePicker/hooks/useDatePicker/useDatePicker.js +7 -7
- package/components/extended/mui/DatePicker/slots/DatePickerSlots.d.ts +2 -2
- package/components/extended/mui/DateTimePicker/DateTimePicker.js +14 -14
- package/components/extended/mui/DateTimePicker/slots/DateTimePickerSlots.d.ts +2 -2
- package/components/extended/mui/Divider/Divider.js +1 -1
- package/components/extended/mui/IconButton/IconButton.js +9 -9
- package/components/extended/mui/IconButton/helpers/evalIconColor.d.ts +1 -1
- package/components/extended/mui/IconButton/helpers/evalIconColor.d.ts.map +1 -1
- package/components/extended/mui/IconButton/slots/IconButtonSlots.d.ts +1 -1
- package/components/extended/mui/IconButton/slots/IconButtonSlots.js +1 -1
- package/components/extended/mui/IconButton/types.d.ts +1 -2
- package/components/extended/mui/IconButton/types.d.ts.map +1 -1
- package/components/extended/mui/LoadingButton/LoadingButton.js +9 -9
- package/components/extended/mui/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
- package/components/extended/mui/MenuDivider/MenuDivider.js +1 -1
- package/components/extended/mui/MenuItem/MenuItem.js +12 -12
- package/components/extended/mui/MenuItem/slots/MenuItemSlots.d.ts +4 -4
- package/components/extended/mui/MenuItem/slots/MenuItemSlots.js +17 -18
- package/components/extended/mui/MenuItem/types.d.ts +1 -1
- package/components/extended/mui/MenuItem/types.d.ts.map +1 -1
- package/components/extended/mui/NavLink/NavLink.js +4 -4
- package/components/extended/mui/NavLink/slots/NavLinkSlots.d.ts +1 -1
- package/components/extended/mui/NavLink/slots/NavLinkSlots.js +4 -4
- package/components/extended/mui/NavLink/types.d.ts +1 -1
- package/components/extended/mui/NavLink/types.d.ts.map +1 -1
- package/components/extended/mui/Popper/slots/PopperStlots.d.ts +1 -1
- package/components/extended/mui/Radio/Radio.js +17 -17
- package/components/extended/mui/Radio/slots/styled.d.ts +1 -1
- package/components/extended/mui/Radio/slots/styled.js +1 -1
- package/components/extended/mui/Select/Select.js +16 -16
- package/components/extended/mui/Select/slots/SelectSlots.d.ts +6 -6
- package/components/extended/mui/Select/slots/SelectSlots.d.ts.map +1 -1
- package/components/extended/mui/Select/slots/SelectSlots.js +21 -22
- package/components/extended/mui/Switch/Switch.js +9 -9
- package/components/extended/mui/Switch/slots/SwitchSlots.d.ts +1 -1
- package/components/extended/mui/Tab/Slots/TabSlots.d.ts +4 -4
- package/components/extended/mui/Tab/Slots/TabSlots.d.ts.map +1 -1
- package/components/extended/mui/Tab/Slots/TabSlots.js +11 -12
- package/components/extended/mui/Tab/Tab.js +6 -6
- package/components/extended/mui/Tabs/Tabs.js +7 -7
- package/components/extended/mui/TextField/TextField.js +12 -12
- package/components/extended/mui/TextField/slots/TextFieldSlots.d.ts +3 -3
- package/components/extended/mui/TextField/slots/TextFieldSlots.js +1 -1
- package/components/extended/mui/TimePicker/slots/TimePickerSlots.d.ts +2 -2
- package/components/extended/mui/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
- package/components/extended/mui/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
- package/components/extended/mui/Tooltip/Tooltip.d.ts +3 -3
- package/components/extended/mui/Tooltip/Tooltip.d.ts.map +1 -1
- package/components/extended/mui/Tooltip/Tooltip.js +3 -32
- package/components/extended/mui/Tooltip/index.d.ts +0 -1
- package/components/extended/mui/Tooltip/index.d.ts.map +1 -1
- package/components/extended/mui/Typography/Typography.d.ts +3 -19
- package/components/extended/mui/Typography/Typography.d.ts.map +1 -1
- package/components/extended/mui/Typography/Typography.js +3 -56
- package/components/extended/mui/Typography/index.d.ts +2 -1
- package/components/extended/mui/Typography/index.d.ts.map +1 -1
- package/components/extended/rsuite/DateRangePicker/DateRangePicker.js +1 -1
- package/components/extended/rsuite/DateRangePicker/hooks/useDateRangePicker/useDateRangePicker.js +3 -3
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +3 -3
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.js +16 -17
- package/components/formatters/ChipStatusFormatter/ChipStatusFormatter.js +4 -4
- package/components/formatters/ConcatenatedFormatter/ConcatenatedFormatter.js +5 -5
- package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.d.ts +1 -1
- package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.d.ts.map +1 -1
- package/components/formatters/ConcatenatedFormatter/slots/ConcatenatedFormatterSlots.js +1 -1
- package/components/formatters/ConcatenatedFormatter/types.d.ts +1 -1
- package/components/formatters/ConcatenatedFormatter/types.d.ts.map +1 -1
- package/components/formatters/DateFormatter/slots/DateFormatterSlots.d.ts +1 -1
- package/components/formatters/DateFormatter/slots/DateFormatterSlots.d.ts.map +1 -1
- package/components/formatters/DateFormatter/slots/DateFormatterSlots.js +1 -1
- package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.d.ts +1 -1
- package/components/formatters/DistanceToNowFormatter/slots/DistanceToNowFormatterSlots.js +1 -1
- package/components/formatters/IconsFormatter/slots/IconsFormatterSlots.d.ts +2 -2
- package/components/formatters/IconsFormatter/slots/IconsFormatterSlots.js +1 -1
- package/components/formatters/IconsFormatter/types.d.ts +1 -1
- package/components/formatters/IconsFormatter/types.d.ts.map +1 -1
- package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.d.ts +1 -1
- package/components/formatters/ImageFormatter/slots/ImageFormatterSlots.js +1 -1
- package/components/formatters/NestedFormatter/slots/NestedFormatterSlots.d.ts +1 -1
- package/components/formatters/NestedFormatter/slots/NestedFormatterSlots.d.ts.map +1 -1
- package/components/formatters/NestedFormatter/slots/NestedFormatterSlots.js +4 -4
- package/components/formatters/PeriodFormatter/PeriodFormatter.js +3 -3
- package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.d.ts +1 -1
- package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.d.ts.map +1 -1
- package/components/formatters/PeriodFormatter/slots/PeriodFormatterSlots.js +1 -1
- package/components/formatters/PointsFormatter/PointsFormatter.js +1 -1
- package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.d.ts +1 -1
- package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.d.ts.map +1 -1
- package/components/formatters/PointsFormatter/slots/ointsFormatterSlots.js +1 -1
- package/components/formatters/PriceFormatter/PriceFormatter.js +5 -5
- package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.d.ts +1 -1
- package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.d.ts.map +1 -1
- package/components/formatters/PriceFormatter/slots/PriceFormatterSlots.js +8 -8
- package/components/formatters/PriceFormatter/types.d.ts +1 -1
- package/components/formatters/PriceFormatter/types.d.ts.map +1 -1
- package/components/formatters/TagsFormatter/TagsFormatter.js +1 -1
- package/components/formatters/TagsFormatter/subcomponents/Tag/Tag.js +5 -5
- package/components/formatters/UncertaintyFormatter/UncertaintyFormatter.js +7 -7
- package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.d.ts +1 -1
- package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.d.ts.map +1 -1
- package/components/formatters/UncertaintyFormatter/slots/UncertaintyFormatterSlots.js +8 -8
- package/components/formatters/UncertaintyFormatter/types.d.ts +1 -1
- package/components/formatters/UncertaintyFormatter/types.d.ts.map +1 -1
- package/components/hook-form/RHFActionsGroup/RHFActionsGroup.js +4 -4
- package/components/hook-form/RHFCheckableList/RHFCheckableList.js +13 -13
- package/components/hook-form/RHFCheckbox/RHFCheckbox.js +7 -7
- package/components/hook-form/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/RFHColorPicker.js +6 -6
- package/components/hook-form/RHFColorPicker/slots/RHFColorPickerSlots.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/subcomponents/ColorPickerField/ColorPickerField.js +1 -1
- package/components/hook-form/RHFDatePicker/RHFDatePicker.js +6 -6
- package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +2 -2
- package/components/hook-form/RHFDateTime/RHFDateTime.js +9 -9
- package/components/hook-form/RHFNumberInput/RHFNumberInput.js +13 -13
- package/components/hook-form/RHFPeriod/slots/RHFPeriodSlots.d.ts +1 -1
- package/components/hook-form/RHFPeriod/subcomponents/Period/Period.js +9 -9
- package/components/hook-form/RHFRadioGroup/RHFRadioGroup.js +12 -12
- package/components/hook-form/RHFRadioGroup/formatters/OptionIconLabelFormatter/index.d.ts.map +1 -1
- package/components/hook-form/RHFRadioGroup/slots/styled.d.ts +1 -1
- package/components/hook-form/RHFRadioGroup/slots/styled.d.ts.map +1 -1
- package/components/hook-form/RHFRadioGroup/slots/styled.js +1 -1
- package/components/hook-form/RHFRadioGroup/subcomponents/RenderOptionStartAdornment/RenderOptionStartAdornment.js +6 -6
- package/components/hook-form/RHFSelect/RHFSelect.js +3 -3
- package/components/hook-form/RHFSelect/slots/RHFSlots.d.ts +1 -1
- package/components/hook-form/RHFTextField/RHFTextField.js +6 -6
- 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/slots/RHFTextFieldPasswordSlots.d.ts +2 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/RHFUploadImage.js +6 -6
- package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +3 -3
- package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.js +1 -1
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/UploadImage.js +14 -14
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/RHFUploadSingleFile.js +8 -8
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +7 -7
- package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.js +1 -1
- package/components/hook-form/RHFUpload/components/UploadComponents/BlockContent.d.ts.map +1 -1
- package/components/hook-form/RHFUpload/components/UploadComponents/RejectionFiles.d.ts.map +1 -1
- package/contexts/AppearanceComponentContext/AppearanceComponentContext.d.ts +1 -27
- package/contexts/AppearanceComponentContext/AppearanceComponentContext.d.ts.map +1 -1
- package/contexts/AppearanceComponentContext/AppearanceComponentStore.d.ts +1 -30
- package/contexts/AppearanceComponentContext/AppearanceComponentStore.d.ts.map +1 -1
- package/contexts/AppearanceComponentContext/useAppearanceComponentStore.d.ts +1 -5
- package/contexts/AppearanceComponentContext/useAppearanceComponentStore.d.ts.map +1 -1
- package/hooks/useComponentSize/index.d.ts +5 -1
- package/hooks/useComponentSize/index.d.ts.map +1 -1
- package/hooks/useComponentSize/index.js +5 -0
- package/hooks/useComponentSize/useComponentSize.d.ts +1 -9
- package/hooks/useComponentSize/useComponentSize.d.ts.map +1 -1
- package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +1 -1
- package/index.js +486 -478
- package/package.json +8 -7
- package/test/importTestingVitest.d.ts +13 -0
- package/test/importTestingVitest.d.ts.map +1 -0
- package/utils/getIconColor.d.ts +1 -1
- package/utils/getIconColor.d.ts.map +1 -1
- package/components/Icon/Icon.styles.d.ts +0 -3
- package/components/Icon/Icon.styles.d.ts.map +0 -1
- package/components/Icon/Icon.styles.js +0 -92
- package/components/Icon/constants.d.ts +0 -4
- package/components/Icon/constants.d.ts.map +0 -1
- package/components/Icon/constants.js +0 -8
- package/components/Icon/slots/IconEnum.d.ts +0 -7
- package/components/Icon/slots/IconEnum.d.ts.map +0 -1
- package/components/Icon/slots/IconEnum.js +0 -4
- package/components/Icon/slots/IconSlots.d.ts +0 -13
- package/components/Icon/slots/IconSlots.d.ts.map +0 -1
- package/components/Icon/slots/IconSlots.js +0 -25
- package/components/Icon/slots/index.d.ts +0 -3
- package/components/Icon/slots/index.d.ts.map +0 -1
- package/components/Icon/types.d.ts +0 -109
- package/components/Icon/types.d.ts.map +0 -1
- package/components/MFIsolationAppStorybook/MFIsolationAppStorybook.js +0 -132
- package/components/MFIsolationAppStorybook/subcomponents/MFAppStorybook/MFAppStorybook.js +0 -42
- package/components/extended/mui/Tooltip/Tooltip.styles.d.ts +0 -3
- package/components/extended/mui/Tooltip/Tooltip.styles.d.ts.map +0 -1
- package/components/extended/mui/Tooltip/Tooltip.styles.js +0 -65
- package/components/extended/mui/Tooltip/constants.d.ts +0 -10
- package/components/extended/mui/Tooltip/constants.d.ts.map +0 -1
- package/components/extended/mui/Tooltip/constants.js +0 -8
- package/components/extended/mui/Tooltip/slots/TooltipEnum.d.ts +0 -6
- package/components/extended/mui/Tooltip/slots/TooltipEnum.d.ts.map +0 -1
- package/components/extended/mui/Tooltip/slots/TooltipEnum.js +0 -4
- package/components/extended/mui/Tooltip/slots/TooltipSlots.d.ts +0 -10
- package/components/extended/mui/Tooltip/slots/TooltipSlots.d.ts.map +0 -1
- package/components/extended/mui/Tooltip/slots/TooltipSlots.js +0 -20
- package/components/extended/mui/Tooltip/slots/index.d.ts +0 -3
- package/components/extended/mui/Tooltip/slots/index.d.ts.map +0 -1
- package/components/extended/mui/Tooltip/types.d.ts +0 -28
- package/components/extended/mui/Tooltip/types.d.ts.map +0 -1
- package/components/extended/mui/Typography/constants.d.ts +0 -18
- package/components/extended/mui/Typography/constants.d.ts.map +0 -1
- package/components/extended/mui/Typography/constants.js +0 -8
- package/components/extended/mui/Typography/slots/typographyEnum.d.ts +0 -8
- package/components/extended/mui/Typography/slots/typographyEnum.d.ts.map +0 -1
- package/components/extended/mui/Typography/slots/typographyEnum.js +0 -4
- package/components/extended/mui/Typography/slots/typographySlots.d.ts +0 -13
- package/components/extended/mui/Typography/slots/typographySlots.d.ts.map +0 -1
- package/components/extended/mui/Typography/slots/typographySlots.js +0 -17
- package/components/extended/mui/Typography/types.d.ts +0 -79
- package/components/extended/mui/Typography/types.d.ts.map +0 -1
- package/components/extended/mui/Typography/typography.styles.d.ts +0 -3
- package/components/extended/mui/Typography/typography.styles.d.ts.map +0 -1
- package/components/extended/mui/Typography/typography.styles.js +0 -59
- package/contexts/AppearanceComponentContext/AppearanceComponentContext.js +0 -18
- package/contexts/AppearanceComponentContext/AppearanceComponentStore.js +0 -28
- package/contexts/AppearanceComponentContext/useAppearanceComponentStore.js +0 -15
- package/hooks/useComponentSize/useComponentSize.js +0 -11
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { NavLink as l } from "react-router-dom";
|
|
2
2
|
import { styled as o } from "@mui/material/styles";
|
|
3
3
|
import { NavLinkSlots as t } from "./NavLinkEnum.js";
|
|
4
|
+
import { Typography as n } from "@m4l/base";
|
|
4
5
|
import { NAV_LINK_KEY_COMPONENT as e } from "../constants.js";
|
|
5
|
-
import { Skeleton as
|
|
6
|
+
import { Skeleton as y } from "../../Skeleton/Skeleton.js";
|
|
6
7
|
import { navLinkStyles as r } from "../NavLink.styles.js";
|
|
7
|
-
import { Typography as y } from "../../Typography/Typography.js";
|
|
8
8
|
const k = o("div", {
|
|
9
9
|
name: e,
|
|
10
10
|
slot: t.root
|
|
11
|
-
})(r?.root), N = o(
|
|
11
|
+
})(r?.root), N = o(n, {
|
|
12
12
|
name: e,
|
|
13
13
|
slot: t.typographyStyled
|
|
14
|
-
})(r?.typographyStyled), v = o(
|
|
14
|
+
})(r?.typographyStyled), v = o(y, {
|
|
15
15
|
name: e,
|
|
16
16
|
slot: t.skeletonStyled
|
|
17
17
|
})(r?.skeletonStyled), L = o(l, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NavLinkProps as RouterNavLinkProps } from 'react-router-dom';
|
|
2
|
-
import { TypographyProps } from '
|
|
2
|
+
import { TypographyProps } from '@m4l/base';
|
|
3
3
|
import { ComponentPalletColor, Sizes } from '@m4l/styles';
|
|
4
4
|
import { NavLinkSlots } from './slots/NavLinkEnum';
|
|
5
5
|
import { M4LOverridesStyleRules } from '../../../../@types/augmentations';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/NavLink/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/NavLink/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC;;GAEG;AACH,MAAM,WAAW,YACf,SAAQ,kBAAkB,EAC1B,IAAI,CAAC,eAAe,EAAE,eAAe,CAAC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,2DAA2D;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAC,oBAAoB,EAAE,SAAS,CAAC,CAAC;IACjD,sCAAsC;IACtC,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,6FAA6F;IAC7F,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAC1C,oEAAoE;IACpE,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kDAAkD;IAClD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AACD,yCAAyC;AACzC,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,YAAY,EAAE,OAAO,GAAG,YAAY,CAAC,GAAG;IAC3E,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6FAA6F;IAC7F,IAAI,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;CAC1C,CAAA;AACD,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,YAAY,CAAC;AACzD,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,gBAAgB,EAAE,OAAO,sBAAsB,EAAE,KAAK,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const PopperRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PopperProps & import('react').RefAttributes<HTMLDivElement>, "title" | "component" | "color" | "content" | "translate" | "container" | "transition" | "className" | "style" | "children" | "sx" | "slots" | "slotProps" | "slot" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "
|
|
1
|
+
declare const PopperRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PopperProps & import('react').RefAttributes<HTMLDivElement>, "title" | "component" | "color" | "content" | "translate" | "container" | "transition" | "className" | "style" | "children" | "sx" | "slots" | "slotProps" | "slot" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "componentsProps" | "components" | "placement" | "open" | "disablePortal" | "keepMounted" | "anchorEl" | "modifiers" | "popperOptions" | "popperRef"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').PopperOwnerState> & Record<string, unknown> & {
|
|
2
2
|
ownerState: Partial<import('..').PopperOwnerState> & Record<string, unknown>;
|
|
3
3
|
}, {}, {}>;
|
|
4
4
|
export { PopperRootStyled };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s, Fragment as d } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { forwardRef as C, useId as v } from "react";
|
|
3
3
|
import { useModuleSkeleton as w } from "@m4l/core";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import E from "
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
4
|
+
import { useComponentSize as N } from "../../../../hooks/useComponentSize/index.js";
|
|
5
|
+
import { RadioRootStyled as g, MUIRadioStyled as A, InlineTextStyled as O, SkeletonStyled as c } from "./slots/styled.js";
|
|
6
|
+
import { getComponentSlotRoot as T } from "../../../../utils/getComponentSlotRoot.js";
|
|
7
|
+
import { RADIO_CLASSES as D, RADIO_KEY_COMPONENT as E } from "./constants.js";
|
|
8
|
+
import F from "clsx";
|
|
9
|
+
import { getOptionLabelColor as M } from "../../../../utils/getOptionLabelColor.js";
|
|
10
|
+
import { Icon as m } from "@m4l/base";
|
|
11
|
+
import { ActionsRadioButtonUncheckDuotone as _, ActionsRadioButtonCheckFill as j } from "@m4l/icons";
|
|
12
12
|
const Q = C(
|
|
13
13
|
(p, u) => {
|
|
14
14
|
const {
|
|
@@ -23,7 +23,7 @@ const Q = C(
|
|
|
23
23
|
value: R,
|
|
24
24
|
id: k,
|
|
25
25
|
...x
|
|
26
|
-
} = p, { currentSize: l } =
|
|
26
|
+
} = p, { currentSize: l } = N(f), I = w(), y = T(E), z = v(), i = k || z, a = {
|
|
27
27
|
disabled: o,
|
|
28
28
|
color: b,
|
|
29
29
|
error: t,
|
|
@@ -31,12 +31,12 @@ const Q = C(
|
|
|
31
31
|
checked: n
|
|
32
32
|
};
|
|
33
33
|
return /* @__PURE__ */ e(
|
|
34
|
-
|
|
34
|
+
g,
|
|
35
35
|
{
|
|
36
36
|
ownerState: { ...a },
|
|
37
|
-
className:
|
|
37
|
+
className: F(S, y),
|
|
38
38
|
children: I ? /* @__PURE__ */ s(d, { children: [
|
|
39
|
-
/* @__PURE__ */ e(c, { variant: "rounded", className:
|
|
39
|
+
/* @__PURE__ */ e(c, { variant: "rounded", className: D.skeleton }),
|
|
40
40
|
r ? /* @__PURE__ */ e(
|
|
41
41
|
c,
|
|
42
42
|
{
|
|
@@ -46,7 +46,7 @@ const Q = C(
|
|
|
46
46
|
) : null
|
|
47
47
|
] }) : /* @__PURE__ */ s(d, { children: [
|
|
48
48
|
/* @__PURE__ */ e(
|
|
49
|
-
|
|
49
|
+
A,
|
|
50
50
|
{
|
|
51
51
|
ref: u,
|
|
52
52
|
id: i,
|
|
@@ -56,7 +56,7 @@ const Q = C(
|
|
|
56
56
|
checkedIcon: /* @__PURE__ */ e(
|
|
57
57
|
m,
|
|
58
58
|
{
|
|
59
|
-
src: /* @__PURE__ */ e(
|
|
59
|
+
src: /* @__PURE__ */ e(j, {}),
|
|
60
60
|
size: l,
|
|
61
61
|
color: o ? "text.disabled" : t ? "error.enabled" : "primary.enabled"
|
|
62
62
|
}
|
|
@@ -64,7 +64,7 @@ const Q = C(
|
|
|
64
64
|
icon: /* @__PURE__ */ e(
|
|
65
65
|
m,
|
|
66
66
|
{
|
|
67
|
-
src: /* @__PURE__ */ e(
|
|
67
|
+
src: /* @__PURE__ */ e(_, {}),
|
|
68
68
|
size: l,
|
|
69
69
|
color: o ? "text.disabled" : t ? "error.enabled" : "text.secondary"
|
|
70
70
|
}
|
|
@@ -82,13 +82,13 @@ const Q = C(
|
|
|
82
82
|
}
|
|
83
83
|
),
|
|
84
84
|
r && /* @__PURE__ */ e(
|
|
85
|
-
|
|
85
|
+
O,
|
|
86
86
|
{
|
|
87
87
|
id: `${i}-label`,
|
|
88
88
|
component: "label",
|
|
89
89
|
htmlFor: i,
|
|
90
90
|
variant: "body",
|
|
91
|
-
color:
|
|
91
|
+
color: M(n, o),
|
|
92
92
|
ownerState: { ...a },
|
|
93
93
|
size: l,
|
|
94
94
|
disabled: o,
|
|
@@ -4,7 +4,7 @@ export declare const RadioRootStyled: import('@emotion/styled').StyledComponent<
|
|
|
4
4
|
export declare const MUIRadioStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').RadioProps, keyof import('@mui/material').RadioProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
5
5
|
ownerState?: (Partial<import('../types').RadioOwnerState> & Record<string, unknown>) | undefined;
|
|
6
6
|
}, {}, {}>;
|
|
7
|
-
export declare const InlineTextStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('
|
|
7
|
+
export declare const InlineTextStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('@m4l/base').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "title" | "component" | "zIndex" | "size" | "variant" | "color" | "dataTestid" | "paragraph" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "children" | "sx" | "p" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "disabled" | "skeletonWidth" | "ellipsis" | "align" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonRows" | "htmlFor" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
8
8
|
ownerState?: (Partial<import('../types').RadioOwnerState> & Record<string, unknown>) | undefined;
|
|
9
9
|
}, {}, {}>;
|
|
10
10
|
export declare const SkeletonStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').SkeletonOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "variant" | "height" | "width" | "animation" | "className" | "style" | "classes" | "children" | "sx">, "title" | "variant" | "color" | "content" | "height" | "translate" | "width" | "animation" | "className" | "style" | "classes" | "children" | "sx" | "slot" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "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" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
@@ -3,7 +3,7 @@ import { Radio as n, Skeleton as l } from "@mui/material";
|
|
|
3
3
|
import { RadioSlots as t } from "./slots.js";
|
|
4
4
|
import { RADIO_KEY_COMPONENT as e } from "../constants.js";
|
|
5
5
|
import { radioButtonStyles as i } from "../Radio.styles.js";
|
|
6
|
-
import { Typography as m } from "
|
|
6
|
+
import { Typography as m } from "@m4l/base";
|
|
7
7
|
const R = o("div", {
|
|
8
8
|
name: e,
|
|
9
9
|
slot: t.root
|
|
@@ -4,12 +4,12 @@ import { useTheme as re } from "@mui/material";
|
|
|
4
4
|
import { useForkRef as ne } from "@mui/material/utils";
|
|
5
5
|
import oe from "clsx";
|
|
6
6
|
import se, { forwardRef as ce, useMemo as A, useState as ie, useRef as z, useCallback as S, useEffect as L } from "react";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
7
|
+
import { useComponentSize as ae } from "../../../../hooks/useComponentSize/index.js";
|
|
8
|
+
import { ArrowDownStyled as le, AdormentStyled as ue, SelectRootStyled as fe, SkeletonSelectStyled as me, MenuItemListStyled as Se, MenuItemNoOptionStyled as de, LabelPlaceholerStyled as pe, RenderValueContainerStyled as T, RenderValueTypography as Ae } from "./slots/SelectSlots.js";
|
|
9
|
+
import { ICON_ARROW_DOWN as we, SELECT_CLASSES as u, SELECT_KEY_COMPONENT as he } from "./constants.js";
|
|
10
|
+
import { SELECT_DICTIONARY as ye } from "./dictionary.js";
|
|
11
|
+
import { getPropDataTestId as Ce } from "../../../../test/getNameDataTestId.js";
|
|
11
12
|
import { selectStyles as k } from "./Select.styles.js";
|
|
12
|
-
import { useComponentSize as Ce } from "../../../../hooks/useComponentSize/useComponentSize.js";
|
|
13
13
|
import { Chip as ge } from "../../../Chip/Chip.js";
|
|
14
14
|
import { SelectSlots as Ie } from "./slots/SelectEnum.js";
|
|
15
15
|
const Be = ce(
|
|
@@ -28,7 +28,7 @@ const Be = ce(
|
|
|
28
28
|
readOnly: r = !1,
|
|
29
29
|
...N
|
|
30
30
|
}, _) {
|
|
31
|
-
const { currentSize: y } =
|
|
31
|
+
const { currentSize: y } = ae(P), { host_static_assets: x, environment_assets: j } = b(), B = ee(), { getLabel: K } = te(), i = y === "small" || y === "medium" ? y : "medium", R = `${x}/${j}/${we}`, o = A(() => I, [I]), [f, p] = ie(!1), D = z(null), E = z(null), W = re(), m = A(() => ({
|
|
32
32
|
size: i,
|
|
33
33
|
disabled: t,
|
|
34
34
|
error: w,
|
|
@@ -63,7 +63,7 @@ const Be = ce(
|
|
|
63
63
|
p(!f);
|
|
64
64
|
}
|
|
65
65
|
}, [t, r, s, f]), Y = A(() => () => /* @__PURE__ */ a(
|
|
66
|
-
|
|
66
|
+
le,
|
|
67
67
|
{
|
|
68
68
|
ownerState: { ...m },
|
|
69
69
|
icon: R,
|
|
@@ -73,7 +73,7 @@ const Be = ce(
|
|
|
73
73
|
rotationAngle: f ? 180 : 0
|
|
74
74
|
}
|
|
75
75
|
), [m, R, t, r, i, f, C]), q = S((e) => e ? typeof e == "string" ? /* @__PURE__ */ a(
|
|
76
|
-
|
|
76
|
+
ue,
|
|
77
77
|
{
|
|
78
78
|
src: e,
|
|
79
79
|
size: i,
|
|
@@ -86,7 +86,7 @@ const Be = ce(
|
|
|
86
86
|
e.stopPropagation();
|
|
87
87
|
}, []), J = () => {
|
|
88
88
|
if (o == null || s && Array.isArray(o) && o.length === 0)
|
|
89
|
-
return /* @__PURE__ */ a(
|
|
89
|
+
return /* @__PURE__ */ a(pe, { ownerState: { disabled: t, readOnly: r }, variant: "body", color: "text.disabled", children: V });
|
|
90
90
|
if (s) {
|
|
91
91
|
if (!Array.isArray(o))
|
|
92
92
|
return null;
|
|
@@ -117,7 +117,7 @@ const Be = ce(
|
|
|
117
117
|
const e = l.find((n) => String(n.id) === String(o));
|
|
118
118
|
return e ? /* @__PURE__ */ Z(T, { ownerState: { ...m }, className: u.renderValueContainer, children: [
|
|
119
119
|
e.startAdornment && q(e.startAdornment),
|
|
120
|
-
/* @__PURE__ */ a(
|
|
120
|
+
/* @__PURE__ */ a(Ae, { ownerState: { disabled: t, readOnly: r }, variant: "body", color: "text.primary", size: i, className: u.renderValueTypography, children: e.label })
|
|
121
121
|
] }) : "";
|
|
122
122
|
}
|
|
123
123
|
}, O = S(() => {
|
|
@@ -135,12 +135,12 @@ const Be = ce(
|
|
|
135
135
|
}, [s, o]), L(() => {
|
|
136
136
|
r && f && p(!1);
|
|
137
137
|
}, [r, f]);
|
|
138
|
-
const U = A(() =>
|
|
139
|
-
return B ? /* @__PURE__ */ a(
|
|
138
|
+
const U = A(() => fe(), []), X = ne(D, _);
|
|
139
|
+
return B ? /* @__PURE__ */ a(me, { ownerState: { ...m }, className: u.skeletonSelect }) : /* @__PURE__ */ a(
|
|
140
140
|
U,
|
|
141
141
|
{
|
|
142
142
|
...N,
|
|
143
|
-
...
|
|
143
|
+
...Ce(he, Ie.root, M),
|
|
144
144
|
ref: X,
|
|
145
145
|
className: oe(u.root, u[h], v),
|
|
146
146
|
ownerState: { ...m },
|
|
@@ -180,7 +180,7 @@ const Be = ce(
|
|
|
180
180
|
(e) => {
|
|
181
181
|
const n = s ? Array.isArray(o) && o.some((c) => c === e.id) : o === e.id;
|
|
182
182
|
return /* @__PURE__ */ a(
|
|
183
|
-
|
|
183
|
+
Se,
|
|
184
184
|
{
|
|
185
185
|
className: u.menuItem,
|
|
186
186
|
ownerState: { ...m },
|
|
@@ -197,12 +197,12 @@ const Be = ce(
|
|
|
197
197
|
);
|
|
198
198
|
}
|
|
199
199
|
) : /* @__PURE__ */ a(
|
|
200
|
-
|
|
200
|
+
de,
|
|
201
201
|
{
|
|
202
202
|
ownerState: { ...m },
|
|
203
203
|
className: u.menuItemNoOptions,
|
|
204
204
|
size: i,
|
|
205
|
-
label: K(
|
|
205
|
+
label: K(ye.noOptions),
|
|
206
206
|
disabled: !0
|
|
207
207
|
}
|
|
208
208
|
)
|