@m4l/components 9.5.3 → 9.5.4-beta-feature-701-create-extended-library.0
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/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 +1 -1
- 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/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 +9 -9
- 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/ActionFormSubmitProgrammatic/slots/ActionFormSubmitProgrammaticSlots.d.ts +1 -1
- package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
- package/components/DaysOfMonthPicker/slots/DaysOfMonthPickerSlots.d.ts +1 -1
- package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerSlots.d.ts +1 -1
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
- package/components/DynamicFilter/subcomponents/InputFilter/InputFilter.js +1 -1
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
- 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/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/slots/ImageTextSlots.d.ts +2 -2
- package/components/ImageText/slots/ImageTextSlots.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/LoadingError/LoadingError.js +6 -6
- 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/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
- package/components/ModalDialog/slots/ModalDialogSlots.d.ts +1 -1
- 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/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/slots/PaperFormSlots.d.ts +2 -2
- package/components/PaperForm/slots/PaperFormSlots.js +9 -10
- package/components/PropertyValue/PropertyValue.js +14 -14
- 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/TreeGroupItems/subcomponents/AdormentIcon/AdormentIcon.js +3 -3
- package/components/SideBar/subcomponents/TreeGroupItems/subcomponents/ArrowIcon/index.js +1 -1
- 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 +1 -1
- 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/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/types.d.ts +1 -1
- package/components/ToastContainer/types.d.ts.map +1 -1
- 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/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/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/subcomponents/ArrowIcon/index.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/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/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 +1 -1
- package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.js +1 -1
- 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/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 +4 -4
- package/components/extended/mui/Autocomplete/subcomponents/NoOptionsText/NoOptionsText.js +4 -4
- package/components/extended/mui/Autocomplete/subcomponents/RenderAdornment/RenderAdornment.js +4 -4
- package/components/extended/mui/Badge/slots/BadgeSlots.d.ts +1 -1
- 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/slots/CheckBoxSlots.d.ts +3 -3
- package/components/extended/mui/CheckBox/slots/CheckBoxSlots.js +11 -12
- package/components/extended/mui/DatePicker/slots/DatePickerSlots.d.ts +2 -2
- package/components/extended/mui/DateTimePicker/slots/DateTimePickerSlots.d.ts +2 -2
- 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/slots/LoadingButtonSlots.d.ts +1 -1
- 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/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 +1 -1
- 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/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/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/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/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +3 -3
- package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.js +16 -17
- 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/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/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/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/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/RHFCheckbox/slots/RHFCheckBoxSlots.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/slots/RHFColorPickerSlots.d.ts +1 -1
- package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +2 -2
- 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/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/slots/RHFSlots.d.ts +1 -1
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +1 -1
- package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +2 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +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/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/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +1 -1
- package/index.js +484 -476
- package/package.json +7 -6
- 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/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
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { IconProps } from './types';
|
|
2
1
|
/**
|
|
3
|
-
*
|
|
4
|
-
* Soporta dos estrategias:
|
|
5
|
-
* - Estrategia src (URL): Usa CSS mask para aplicar colores al icono SVG desde una URL
|
|
6
|
-
* - Estrategia type element: Usa componentes SVG de @m4l/icons directamente mediante src (ReactNode)
|
|
2
|
+
* @deprecated Import `Icon` or `BaseIcon` from `@m4l/base` instead of importing `Icon` from `@m4l/components`. This compatibility alias will be removed from this package in a future release.
|
|
7
3
|
*/
|
|
8
|
-
|
|
4
|
+
declare const Icon: (props: import('@m4l/base').IconProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
+
export { Icon };
|
|
9
6
|
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Icon/Icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Icon/Icon.tsx"],"names":[],"mappings":"AACA;;GAEG;AACH,QAAA,MAAM,IAAI,4FAAW,CAAC;AAEtB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
package/components/Icon/Icon.js
CHANGED
|
@@ -1,101 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import S from "clsx";
|
|
4
|
-
import { isValidElement as n, cloneElement as T } from "react";
|
|
5
|
-
import { getPropDataTestId as f } from "../../test/getNameDataTestId.js";
|
|
6
|
-
import { ICON_PREFIX as u, ICON_CLASSES as i } from "./constants.js";
|
|
7
|
-
import { useComponentSize as A } from "../../hooks/useComponentSize/useComponentSize.js";
|
|
8
|
-
import { IconSlots as g } from "./slots/IconEnum.js";
|
|
9
|
-
import { TooltipStyled as D, RootStyled as x, IconSkeletonStyled as F, IconStyled as L } from "./slots/IconSlots.js";
|
|
10
|
-
function O(t) {
|
|
11
|
-
return "src" in t && typeof t.src == "string" || "icon" in t && typeof t.icon == "string";
|
|
12
|
-
}
|
|
13
|
-
function _(t) {
|
|
14
|
-
return "src" in t && t.src !== void 0 && n(t.src) || "icon" in t && t.icon !== void 0 && n(t.icon);
|
|
15
|
-
}
|
|
16
|
-
const W = (t) => {
|
|
17
|
-
const {
|
|
18
|
-
size: N = "medium",
|
|
19
|
-
rotationAngle: l,
|
|
20
|
-
tooltipContent: y,
|
|
21
|
-
color: w = "text.primary",
|
|
22
|
-
className: I,
|
|
23
|
-
placement: R = "bottom",
|
|
24
|
-
instaceDataTestId: a,
|
|
25
|
-
disabled: s,
|
|
26
|
-
selected: E,
|
|
27
|
-
enabledSelected: j,
|
|
28
|
-
onClick: v,
|
|
29
|
-
ariaLabel: m
|
|
30
|
-
} = t;
|
|
31
|
-
let e;
|
|
32
|
-
O(t) ? e = "src" in t && typeof t.src == "string" ? t.src : "icon" in t && typeof t.icon == "string" ? t.icon : void 0 : _(t) && (e = "src" in t && t.src !== void 0 && n(t.src) ? t.src : "icon" in t && t.icon !== void 0 && n(t.icon) ? t.icon : void 0);
|
|
33
|
-
const { currentSize: d } = A(N), c = d === "small" || d === "medium" ? d : "medium", z = P(), r = {
|
|
34
|
-
size: c,
|
|
35
|
-
color: w,
|
|
36
|
-
src: e,
|
|
37
|
-
disabled: s,
|
|
38
|
-
rotationAngle: l,
|
|
39
|
-
selected: E,
|
|
40
|
-
enabledSelected: j,
|
|
41
|
-
isSkeleton: z,
|
|
42
|
-
isMaskStrategy: e !== void 0 ? typeof e == "string" : void 0
|
|
43
|
-
}, b = typeof v == "function" && !s, k = {
|
|
44
|
-
className: S(I, i.root),
|
|
45
|
-
ownerState: { ...r },
|
|
46
|
-
onClick: b ? v : void 0,
|
|
47
|
-
tabIndex: b ? 0 : -1,
|
|
48
|
-
"aria-disabled": s,
|
|
49
|
-
...f(u, g.root, a)
|
|
50
|
-
}, h = () => e && typeof e == "string" ? /* @__PURE__ */ o(
|
|
51
|
-
L,
|
|
52
|
-
{
|
|
53
|
-
className: S(i.icon, i.root),
|
|
54
|
-
role: "icon",
|
|
55
|
-
ownerState: { ...r },
|
|
56
|
-
...f(u, g.icon, a),
|
|
57
|
-
"aria-label": m || "icon"
|
|
58
|
-
}
|
|
59
|
-
) : e && n(e) ? /* @__PURE__ */ o(C, { children: T(
|
|
60
|
-
e,
|
|
61
|
-
{
|
|
62
|
-
sx: {
|
|
63
|
-
fontSize: c === "small" ? "small" : "medium",
|
|
64
|
-
...l && {
|
|
65
|
-
transform: `rotate(${l}deg)`
|
|
66
|
-
},
|
|
67
|
-
width: "100%",
|
|
68
|
-
height: "100%"
|
|
69
|
-
},
|
|
70
|
-
"aria-label": m || "icon"
|
|
71
|
-
}
|
|
72
|
-
) }) : null;
|
|
73
|
-
return /* @__PURE__ */ M(C, { children: [
|
|
74
|
-
y ? /* @__PURE__ */ o(
|
|
75
|
-
D,
|
|
76
|
-
{
|
|
77
|
-
className: I || i.tooltip,
|
|
78
|
-
title: y,
|
|
79
|
-
ownerState: { ...r },
|
|
80
|
-
placement: R,
|
|
81
|
-
size: c,
|
|
82
|
-
...f(u, g.tooltip, a),
|
|
83
|
-
children: /* @__PURE__ */ o(x, { ...k, children: h() })
|
|
84
|
-
}
|
|
85
|
-
) : /* @__PURE__ */ o(x, { ...k, children: h() }),
|
|
86
|
-
z && /* @__PURE__ */ o(
|
|
87
|
-
F,
|
|
88
|
-
{
|
|
89
|
-
className: S(i.iconSkeleton, i.root),
|
|
90
|
-
role: "icon-skeleton",
|
|
91
|
-
size: c,
|
|
92
|
-
variant: "rectangular",
|
|
93
|
-
ownerState: { ...r },
|
|
94
|
-
"aria-label": m || "icon"
|
|
95
|
-
}
|
|
96
|
-
)
|
|
97
|
-
] });
|
|
98
|
-
};
|
|
1
|
+
import { Icon as o } from "@m4l/base";
|
|
2
|
+
const n = o;
|
|
99
3
|
export {
|
|
100
|
-
|
|
4
|
+
n as Icon
|
|
101
5
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { Icon } from './Icon';
|
|
2
|
+
export { ICON_CLASSES, ICON_KEY_COMPONENT, ICON_PREFIX, } from '@m4l/base';
|
|
3
|
+
export type { IconBaseProps, IconColorDeep, IconOwnerState, IconProps, IconResourceComponent, IconResourceSrc, IconSlotsType, IconStyles, } from '@m4l/base';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Icon/index.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,WAAW,GACZ,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,aAAa,EACb,aAAa,EACb,cAAc,EACd,SAAS,EACT,qBAAqB,EACrB,eAAe,EACf,aAAa,EACb,UAAU,GACX,MAAM,WAAW,CAAC"}
|
|
@@ -10,10 +10,10 @@ export declare const ImgStyled: import('@emotion/styled').StyledComponent<Pick<i
|
|
|
10
10
|
export declare const WrapperTitleMessageStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
11
11
|
ownerState?: (Partial<import('../types').ImageTextOwnerState> & Record<string, unknown>) | undefined;
|
|
12
12
|
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
13
|
-
export declare const TypographyTitleStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('
|
|
13
|
+
export declare const TypographyTitleStyled: 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> & {
|
|
14
14
|
ownerState?: (Partial<import('../types').ImageTextOwnerState> & Record<string, unknown>) | undefined;
|
|
15
15
|
}, {}, {}>;
|
|
16
|
-
export declare const TypographyMessageStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('
|
|
16
|
+
export declare const TypographyMessageStyled: 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> & {
|
|
17
17
|
ownerState?: (Partial<import('../types').ImageTextOwnerState> & Record<string, unknown>) | undefined;
|
|
18
18
|
}, {}, {}>;
|
|
19
19
|
//# sourceMappingURL=ImageTextSlots.d.ts.map
|
|
@@ -2,8 +2,8 @@ import { styled as e } from "@mui/material/styles";
|
|
|
2
2
|
import { IMAGE_TEXT_KEY_COMPONENT as t } from "../constants.js";
|
|
3
3
|
import { ImageTextSlots as o } from "./ImageTextEnum.js";
|
|
4
4
|
import { imageTextContainerStyles as a } from "../ImageText.styles.js";
|
|
5
|
+
import { Typography as m } from "@m4l/base";
|
|
5
6
|
import { Image as r } from "../../Image/Image.js";
|
|
6
|
-
import { Typography as m } from "../../extended/mui/Typography/Typography.js";
|
|
7
7
|
const y = e("div", {
|
|
8
8
|
name: t,
|
|
9
9
|
slot: o.root
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const LabelRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').LabelOwnerState> & Record<string, unknown> & {
|
|
2
2
|
ownerState: Partial<import('../types').LabelOwnerState> & Record<string, unknown>;
|
|
3
3
|
}, Pick<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, keyof import('react').ClassAttributes<HTMLLabelElement> | keyof import('react').LabelHTMLAttributes<HTMLLabelElement>>, {}>;
|
|
4
|
-
export declare const TypographyStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('
|
|
4
|
+
export declare const TypographyStyled: 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> & Partial<import('../types').LabelOwnerState> & Record<string, unknown> & {
|
|
5
5
|
ownerState: Partial<import('../types').LabelOwnerState> & Record<string, unknown>;
|
|
6
6
|
}, {}, {}>;
|
|
7
|
-
export declare const TypographyMandatoryMessageStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('
|
|
7
|
+
export declare const TypographyMandatoryMessageStyled: 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> & Partial<import('../types').LabelOwnerState> & Record<string, unknown> & {
|
|
8
8
|
ownerState: Partial<import('../types').LabelOwnerState> & Record<string, unknown>;
|
|
9
9
|
}, {}, {}>;
|
|
10
|
-
export declare const IconHelperMessageStyled: import('@emotion/styled').StyledComponent<Pick<import('
|
|
10
|
+
export declare const IconHelperMessageStyled: import('@emotion/styled').StyledComponent<Pick<import('@m4l/base').IconProps, "src" | "icon" | keyof import('@m4l/base').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').LabelOwnerState> & Record<string, unknown> & {
|
|
11
11
|
ownerState: Partial<import('../types').LabelOwnerState> & Record<string, unknown>;
|
|
12
12
|
}, {}, {}>;
|
|
13
13
|
export declare const SkeletonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../extended/mui/Skeleton/types').SkeletonProps, keyof import('../../extended/mui/Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').LabelOwnerState> & Record<string, unknown> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabelSlots.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/Label/slots/LabelSlots.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LabelSlots.d.ts","sourceRoot":"","sources":["../../../../../../../packages/components/src/components/Label/slots/LabelSlots.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe;;+OAGP,CAAC;AAEtB,eAAO,MAAM,gBAAgB;;UAGI,CAAC;AAElC,eAAO,MAAM,gCAAgC;;UAGI,CAAC;AAElD,eAAO,MAAM,uBAAuB;;UAGI,CAAC;AAEzC,eAAO,MAAM,cAAc;;UAGI,CAAC"}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { styled as e } from "@mui/material/styles";
|
|
2
2
|
import { LABEL_KEY_COMPONENT as o } from "../constants.js";
|
|
3
3
|
import { LabelSlots as t } from "./LabelEnum.js";
|
|
4
|
+
import { Typography as y, Icon as a } from "@m4l/base";
|
|
4
5
|
import { labelStyles as l } from "../Label.styles.js";
|
|
5
|
-
import { Typography as y } from "../../extended/mui/Typography/Typography.js";
|
|
6
6
|
import { Skeleton as r } from "../../extended/mui/Skeleton/Skeleton.js";
|
|
7
|
-
|
|
8
|
-
const M = e("label", {
|
|
7
|
+
const g = e("label", {
|
|
9
8
|
name: o,
|
|
10
9
|
slot: t.root
|
|
11
|
-
})(l?.root),
|
|
10
|
+
})(l?.root), M = e(y, {
|
|
12
11
|
name: o,
|
|
13
12
|
slot: t.typographyStyled
|
|
14
|
-
})(l?.typographyStyled),
|
|
13
|
+
})(l?.typographyStyled), c = e(y, {
|
|
15
14
|
name: o,
|
|
16
15
|
slot: t.typographyMandatoryMessageStyled
|
|
17
|
-
})(l?.typographyMandatoryMessageStyled),
|
|
16
|
+
})(l?.typographyMandatoryMessageStyled), i = e(a, {
|
|
18
17
|
name: o,
|
|
19
18
|
slot: t.iconHelperMessageStyled
|
|
20
19
|
})(l?.iconHelperMessageStyled), h = e(r, {
|
|
@@ -22,9 +21,9 @@ const M = e("label", {
|
|
|
22
21
|
slot: t.skeletonStyled
|
|
23
22
|
})(l?.skeletonStyled);
|
|
24
23
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
i as IconHelperMessageStyled,
|
|
25
|
+
g as LabelRootStyled,
|
|
27
26
|
h as SkeletonStyled,
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
c as TypographyMandatoryMessageStyled,
|
|
28
|
+
M as TypographyStyled
|
|
30
29
|
};
|
|
@@ -3,7 +3,7 @@ import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
|
3
3
|
import { Theme } from '@mui/material';
|
|
4
4
|
import { LABEL_KEY_COMPONENT } from './constants';
|
|
5
5
|
import { Sizes } from '@m4l/styles';
|
|
6
|
-
import { TypographyProps } from '
|
|
6
|
+
import { TypographyProps } from '@m4l/base';
|
|
7
7
|
export type LabelVariants = 'standard';
|
|
8
8
|
/**
|
|
9
9
|
* Base props for Label component, excluding control and layout properties.
|
|
@@ -11,39 +11,41 @@ export type LabelVariants = 'standard';
|
|
|
11
11
|
* Label's content and configuration props but manage their own control/layout.
|
|
12
12
|
*/
|
|
13
13
|
export type LabelPropsBase = Omit<LabelProps, 'children' | 'disabled' | 'size' | 'className' | 'error'>;
|
|
14
|
-
export interface LabelProps
|
|
14
|
+
export interface LabelProps {
|
|
15
|
+
/** Optional skeleton width forwarded to the typography primitive when a loading placeholder is needed. */
|
|
16
|
+
skeletonWidth?: TypographyProps['skeletonWidth'];
|
|
15
17
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
18
|
+
* Helper message for the field. When it is a string, a help icon is shown
|
|
19
|
+
* with that string as tooltip content. When it is boolean `true`, the icon is
|
|
20
|
+
* shown without tooltip content.
|
|
19
21
|
*/
|
|
20
22
|
helperMessage?: boolean | string;
|
|
21
|
-
/**
|
|
23
|
+
/** Main label text for the component. */
|
|
22
24
|
label?: string;
|
|
23
|
-
/**
|
|
25
|
+
/** Controls whether the mandatory marker next to the label is rendered. */
|
|
24
26
|
mandatory?: boolean;
|
|
25
|
-
/**
|
|
27
|
+
/** Custom mandatory marker text. Defaults to `*` when omitted. */
|
|
26
28
|
mandatoryMessage?: string;
|
|
27
|
-
/**
|
|
29
|
+
/** Connects the label to a form control so clicking the label focuses the related field. */
|
|
28
30
|
htmlFor?: string | undefined;
|
|
29
|
-
/**
|
|
31
|
+
/** Unique id for the wrapping HTML label element. */
|
|
30
32
|
id?: string;
|
|
31
|
-
/**
|
|
33
|
+
/** Label size. Defaults to `medium`. */
|
|
32
34
|
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
33
|
-
/**
|
|
35
|
+
/** Child elements rendered inside the component. */
|
|
34
36
|
children?: React.ReactNode;
|
|
35
|
-
/**
|
|
37
|
+
/** Custom CSS class applied to the component. */
|
|
36
38
|
className?: string;
|
|
37
|
-
/**
|
|
39
|
+
/** Whether the related field is currently in an error state. */
|
|
38
40
|
error?: boolean;
|
|
39
|
-
/**
|
|
41
|
+
/** Whether the component is disabled. */
|
|
40
42
|
disabled?: boolean;
|
|
41
43
|
}
|
|
42
44
|
export type OwnerState = Pick<LabelProps, 'size'>;
|
|
43
45
|
export interface LabelOwnerState extends LabelProps, OwnerState {
|
|
44
|
-
/**
|
|
46
|
+
/** Whether the component is disabled. */
|
|
45
47
|
disabled?: boolean;
|
|
46
|
-
/**
|
|
48
|
+
/** Component size. */
|
|
47
49
|
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
48
50
|
}
|
|
49
51
|
export type LabelSlotsType = keyof typeof LabelSlots;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Label/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../packages/components/src/components/Label/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC;AAEvC;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,WAAW,GAAG,OAAO,CAAC,CAAC;AAExG,MAAM,WAAW,UAAU;IACzB,0GAA0G;IAC1G,aAAa,CAAC,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;IACjD;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACjC,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kEAAkE;IAClE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,4FAA4F;IAC5F,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,qDAAqD;IACrD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAC1C,oDAAoD;IACpD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AACD,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AAClD,MAAM,WAAW,eAAgB,SAAQ,UAAU,EAAE,UAAU;IAC7D,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sBAAsB;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;CAC3C;AACD,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,UAAU,CAAC;AACrD,MAAM,MAAM,WAAW,GAAG,mBAAmB,CAAC,UAAU,EAAE,OAAO,mBAAmB,EAAE,KAAK,CAAC,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as r, jsxs as t } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { useEnvironment as C, useModuleDictionary as b } from "@m4l/core";
|
|
3
|
+
import { Typography as g } from "@m4l/base";
|
|
3
4
|
import { LoadingErrorRootStyled as x, LoadingErrorStyled as N, LinearProgressIndeterminateStyled as D, LoadingErrorContainerStyled as A, LoadingErrorContentStyled as B, LoadingErrorImageStyled as z, LoadingErrorTextContainerStyled as M, LoadingErrorTitleDescriptionStyled as k, LoadingErrorDividerStyled as P, LoadingErrorButtonContainerStyled as $, LoadingErrorRecommendationTextStyled as W } from "./slots/LoadingErrorSlots.js";
|
|
4
5
|
import { getComponentSlotRoot as j } from "../../utils/getComponentSlotRoot.js";
|
|
5
6
|
import { getPropDataTestId as w } from "../../test/getNameDataTestId.js";
|
|
6
|
-
import { LOADING_ERROR_KEY_COMPONENT as
|
|
7
|
+
import { LOADING_ERROR_KEY_COMPONENT as L } from "./constants.js";
|
|
7
8
|
import V from "clsx";
|
|
8
9
|
import { dictionary as n } from "./dictionary.js";
|
|
9
10
|
import { useRef as G, useState as K, useEffect as Y } from "react";
|
|
10
11
|
import { useComponentSize as q } from "../../hooks/useComponentSize/useComponentSize.js";
|
|
11
|
-
import { Typography as L } from "../extended/mui/Typography/Typography.js";
|
|
12
12
|
import { Button as F } from "../extended/mui/Button/Button.js";
|
|
13
13
|
import { LoadingErrorSlots as H } from "./slots/LoadingErrorEnum.js";
|
|
14
14
|
const dr = (R) => {
|
|
@@ -26,8 +26,8 @@ const dr = (R) => {
|
|
|
26
26
|
{
|
|
27
27
|
ref: i,
|
|
28
28
|
ownerState: _,
|
|
29
|
-
className: V(j(
|
|
30
|
-
...w(
|
|
29
|
+
className: V(j(L), u),
|
|
30
|
+
...w(L, H.root, S),
|
|
31
31
|
children: f !== "error" ? /* @__PURE__ */ r(N, { children: /* @__PURE__ */ r(D, {}) }) : /* @__PURE__ */ r(A, { children: /* @__PURE__ */ t(B, { children: [
|
|
32
32
|
I && /* @__PURE__ */ r(
|
|
33
33
|
z,
|
|
@@ -38,9 +38,9 @@ const dr = (R) => {
|
|
|
38
38
|
),
|
|
39
39
|
/* @__PURE__ */ t(M, { children: [
|
|
40
40
|
/* @__PURE__ */ t(k, { children: [
|
|
41
|
-
/* @__PURE__ */ r(
|
|
41
|
+
/* @__PURE__ */ r(g, { size: o, variant: "h5", skeletonWidth: "100px", children: s || e(n.LABEL_ERROR_TITLE) }),
|
|
42
42
|
/* @__PURE__ */ r(
|
|
43
|
-
|
|
43
|
+
g,
|
|
44
44
|
{
|
|
45
45
|
size: o,
|
|
46
46
|
variant: "paragraph",
|