@m4l/components 9.5.4-beta-feature-701-create-extended-library.0 → 9.5.4
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 +38 -37
- 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 +13 -12
- 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 +21 -23
- 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 +21 -20
- package/components/Color/Color.d.ts +3 -1
- 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 +6 -3
- package/components/Icon/Icon.d.ts.map +1 -1
- package/components/Icon/Icon.js +99 -3
- package/components/Icon/Icon.styles.d.ts +3 -0
- package/components/Icon/Icon.styles.d.ts.map +1 -0
- package/components/Icon/Icon.styles.js +92 -0
- package/components/Icon/constants.d.ts +4 -0
- package/components/Icon/constants.d.ts.map +1 -0
- package/components/Icon/constants.js +8 -0
- package/components/Icon/index.d.ts +2 -3
- package/components/Icon/index.d.ts.map +1 -1
- package/components/Icon/slots/IconEnum.d.ts +7 -0
- package/components/Icon/slots/IconEnum.d.ts.map +1 -0
- package/components/Icon/slots/IconEnum.js +4 -0
- package/components/Icon/slots/IconSlots.d.ts +13 -0
- package/components/Icon/slots/IconSlots.d.ts.map +1 -0
- package/components/Icon/slots/IconSlots.js +25 -0
- package/components/Icon/slots/index.d.ts +3 -0
- package/components/Icon/slots/index.d.ts.map +1 -0
- package/components/Icon/types.d.ts +109 -0
- package/components/Icon/types.d.ts.map +1 -0
- 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 +10 -9
- package/components/Label/types.d.ts +17 -19
- 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 +19 -18
- 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 +10 -9
- 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 +26 -25
- package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.d.ts.map +1 -1
- package/components/SettingsLayout/subcomponents/SettingColorPresets/SettingColorPresets.js +18 -17
- package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.d.ts.map +1 -1
- package/components/SettingsLayout/subcomponents/SettingDirection/SettingDirection.js +14 -13
- 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 +20 -19
- 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 +42 -41
- 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 +22 -21
- 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 +18 -17
- 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 +68 -67
- 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 +2 -1
- 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/components/BaseDataGrid/BaseDataGrid.d.ts +2 -2
- 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 +112 -111
- 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-Spinners/PropagateLoaderSpinner/PropagateLoaderSpinner.styles.js +3 -3
- 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 +12 -11
- 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 +11 -10
- package/components/extended/mui/CheckBox/slots/CheckBoxSlots.d.ts +3 -3
- package/components/extended/mui/CheckBox/slots/CheckBoxSlots.js +12 -11
- 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 +2 -1
- 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 +18 -17
- 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 +22 -21
- 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 +12 -11
- 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 +32 -3
- package/components/extended/mui/Tooltip/Tooltip.styles.d.ts +3 -0
- package/components/extended/mui/Tooltip/Tooltip.styles.d.ts.map +1 -0
- package/components/extended/mui/Tooltip/Tooltip.styles.js +65 -0
- package/components/extended/mui/Tooltip/constants.d.ts +10 -0
- package/components/extended/mui/Tooltip/constants.d.ts.map +1 -0
- package/components/extended/mui/Tooltip/constants.js +8 -0
- package/components/extended/mui/Tooltip/index.d.ts +1 -0
- package/components/extended/mui/Tooltip/index.d.ts.map +1 -1
- package/components/extended/mui/Tooltip/slots/TooltipEnum.d.ts +6 -0
- package/components/extended/mui/Tooltip/slots/TooltipEnum.d.ts.map +1 -0
- package/components/extended/mui/Tooltip/slots/TooltipEnum.js +4 -0
- package/components/extended/mui/Tooltip/slots/TooltipSlots.d.ts +10 -0
- package/components/extended/mui/Tooltip/slots/TooltipSlots.d.ts.map +1 -0
- package/components/extended/mui/Tooltip/slots/TooltipSlots.js +20 -0
- package/components/extended/mui/Tooltip/slots/index.d.ts +3 -0
- package/components/extended/mui/Tooltip/slots/index.d.ts.map +1 -0
- package/components/extended/mui/Tooltip/types.d.ts +28 -0
- package/components/extended/mui/Tooltip/types.d.ts.map +1 -0
- package/components/extended/mui/Typography/Typography.d.ts +19 -3
- package/components/extended/mui/Typography/Typography.d.ts.map +1 -1
- package/components/extended/mui/Typography/Typography.js +56 -3
- package/components/extended/mui/Typography/constants.d.ts +18 -0
- package/components/extended/mui/Typography/constants.d.ts.map +1 -0
- package/components/extended/mui/Typography/constants.js +8 -0
- package/components/extended/mui/Typography/index.d.ts +1 -2
- package/components/extended/mui/Typography/index.d.ts.map +1 -1
- package/components/extended/mui/Typography/slots/typographyEnum.d.ts +8 -0
- package/components/extended/mui/Typography/slots/typographyEnum.d.ts.map +1 -0
- package/components/extended/mui/Typography/slots/typographyEnum.js +4 -0
- package/components/extended/mui/Typography/slots/typographySlots.d.ts +13 -0
- package/components/extended/mui/Typography/slots/typographySlots.d.ts.map +1 -0
- package/components/extended/mui/Typography/slots/typographySlots.js +17 -0
- package/components/extended/mui/Typography/types.d.ts +79 -0
- package/components/extended/mui/Typography/types.d.ts.map +1 -0
- package/components/extended/mui/Typography/typography.styles.d.ts +3 -0
- package/components/extended/mui/Typography/typography.styles.d.ts.map +1 -0
- package/components/extended/mui/Typography/typography.styles.js +59 -0
- 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 +17 -16
- 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 +476 -484
- package/package.json +6 -7
- package/utils/getIconColor.d.ts +1 -1
- package/utils/getIconColor.d.ts.map +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { styled as o } from "@mui/material/styles";
|
|
2
|
+
import { Tooltip as m } from "@mui/material";
|
|
3
|
+
import { TOOLTIP_KEY_COMPONENT as t } from "../constants.js";
|
|
4
|
+
import { tooltipStyles as l } from "../Tooltip.styles.js";
|
|
5
|
+
import { TooltipSlots as i } from "./TooltipEnum.js";
|
|
6
|
+
const d = o(m, {
|
|
7
|
+
name: t,
|
|
8
|
+
slot: i.root
|
|
9
|
+
})(l?.root), n = o("div", {
|
|
10
|
+
name: t,
|
|
11
|
+
slot: i.text
|
|
12
|
+
})(l?.text), f = o("div", {
|
|
13
|
+
name: t,
|
|
14
|
+
slot: i.tooltip
|
|
15
|
+
})(l?.tooltip);
|
|
16
|
+
export {
|
|
17
|
+
d as RootStyled,
|
|
18
|
+
n as TextStyled,
|
|
19
|
+
f as TooltipStyled
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Tooltip/slots/index.tsx"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ComponentNameToClassKey, SxProps, Theme, TooltipProps as MUITooltipProps } from '@mui/material';
|
|
2
|
+
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
3
|
+
import { Sizes } from '@m4l/styles';
|
|
4
|
+
import { TooltipSlots } from './slots';
|
|
5
|
+
import { TOOLTIP_KEY_COMPONENT } from './constants';
|
|
6
|
+
import { M4LOverridesStyleRules } from '../../../../@types/augmentations';
|
|
7
|
+
export interface TooltipProps extends Omit<MUITooltipProps, 'sx'> {
|
|
8
|
+
sx?: SxProps<Theme> | Partial<OverridesStyleRules<string, ComponentNameToClassKey, Theme>>;
|
|
9
|
+
/**
|
|
10
|
+
* Tamaño del componente, puede ser uno de los valores definidos en 'small' , 'medium' , 'large'.
|
|
11
|
+
*/
|
|
12
|
+
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
13
|
+
/**
|
|
14
|
+
* Tipo de flecha que se mostrará en el tooltip.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Define la posición general del tooltip en relación con el elemento de referencia.
|
|
18
|
+
*/
|
|
19
|
+
placement?: MUITooltipProps['placement'];
|
|
20
|
+
/**
|
|
21
|
+
* Desplazamiento del tooltip en relación con el elemento de referencia (X, Y).
|
|
22
|
+
*/
|
|
23
|
+
offset?: [number, number];
|
|
24
|
+
}
|
|
25
|
+
export type TooltipSlotsType = keyof typeof TooltipSlots;
|
|
26
|
+
export type TooltipOwnerState = Pick<TooltipProps, 'size'>;
|
|
27
|
+
export type TooltipStyles = M4LOverridesStyleRules<TooltipSlotsType, typeof TOOLTIP_KEY_COMPONENT, Theme>;
|
|
28
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Tooltip/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC;IAC/D,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,mBAAmB,CAAC,MAAM,EAAE,uBAAuB,EAAE,KAAK,CAAC,CAAC,CAAC;IAC3F;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAC1C;;OAEG;IAEH;;OAEG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC3B;AACD,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,YAAY,CAAC;AACzD,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;AAC3D,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,gBAAgB,EAAE,OAAO,qBAAqB,EAAE,KAAK,CAAC,CAAA"}
|
|
@@ -1,6 +1,22 @@
|
|
|
1
|
+
import { TypographyProps } from './types';
|
|
1
2
|
/**
|
|
2
|
-
*
|
|
3
|
+
* El componente `Typography` es una extensión de MUI `Typography`
|
|
4
|
+
* que incorpora una capa adicional de diseño basada en el sistema de diseño,
|
|
5
|
+
* junto con la funcionalidad de skeleton.
|
|
6
|
+
*
|
|
7
|
+
* La capa de skeleton se utiliza para mostrar un marcador de posición mientras el contenido real está cargando.
|
|
8
|
+
* El componente puede configurarse para mostrar varias filas de skeleton.
|
|
9
|
+
* @param {TypographyProps} props - The properties for the Typography component.
|
|
10
|
+
* @param {string} [props.skeletonWidth] - The width of the skeleton loader.
|
|
11
|
+
* @param {number} [props.skeletonRows] - The number of rows for the skeleton loader.
|
|
12
|
+
* @param {string} [props.variant] - The variant of the typography.
|
|
13
|
+
* @param {string} [props.color] - The color of the typography.
|
|
14
|
+
* @param {string} [props.size] - The size of the typography.
|
|
15
|
+
* @param {string} [props.className] - Additional class names for the component.
|
|
16
|
+
* @param {string} [props.dataTestid] - The data-testid attribute for testing purposes.
|
|
17
|
+
* @param {React.ReactNode} [props.children] - The content of the typography.
|
|
18
|
+
* @param {object} [props.other] - Additional properties to be passed to the component.
|
|
19
|
+
* @returns {JSX.Element} The rendered Typography component.
|
|
3
20
|
*/
|
|
4
|
-
declare const Typography: import('react').ForwardRefExoticComponent<Omit<
|
|
5
|
-
export { Typography };
|
|
21
|
+
export declare const Typography: import('react').ForwardRefExoticComponent<Omit<TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
|
|
6
22
|
//# sourceMappingURL=Typography.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Typography/Typography.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Typography/Typography.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAwB,eAAe,EAAE,MAAM,SAAS,CAAC;AAMhE;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,UAAU,0HAoDrB,CAAC"}
|
|
@@ -1,5 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsx as m } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import Y from "clsx";
|
|
3
|
+
import { forwardRef as k } from "react";
|
|
4
|
+
import { useModuleSkeleton as A } from "@m4l/core";
|
|
5
|
+
import { TYPOGRAPHY_CLASSES as i, TYPOGRAPHY_KEY_COMPONENT as _, TYPOGRAPHY_CLASS_NAME_SPECIFY as g } from "./constants.js";
|
|
6
|
+
import { TypographySlots as w } from "./slots/typographyEnum.js";
|
|
7
|
+
import { StyledMUITypography as z, StyledSkeleton as N } from "./slots/typographySlots.js";
|
|
8
|
+
import { getPropDataTestId as C } from "../../../../test/getNameDataTestId.js";
|
|
9
|
+
import { useComponentSize as E } from "../../../../hooks/useComponentSize/useComponentSize.js";
|
|
10
|
+
const D = k(function(n, l) {
|
|
11
|
+
const {
|
|
12
|
+
skeletonWidth: p = "100%",
|
|
13
|
+
skeletonRows: o = 1,
|
|
14
|
+
variant: e = "body",
|
|
15
|
+
color: d = "text.primary",
|
|
16
|
+
size: S,
|
|
17
|
+
className: c,
|
|
18
|
+
dataTestid: f,
|
|
19
|
+
children: y,
|
|
20
|
+
disabled: h,
|
|
21
|
+
ellipsis: u = !1,
|
|
22
|
+
fontFamily: T = "Inter",
|
|
23
|
+
...P
|
|
24
|
+
} = n, r = A(), { currentSize: t } = E(S), s = {
|
|
25
|
+
disabled: h,
|
|
26
|
+
color: d,
|
|
27
|
+
size: t === "small" || t === "medium" ? t : "medium",
|
|
28
|
+
skeletonRows: o,
|
|
29
|
+
variant: e,
|
|
30
|
+
skeleton: r,
|
|
31
|
+
ellipsis: u,
|
|
32
|
+
fontFamily: T
|
|
33
|
+
};
|
|
34
|
+
return /* @__PURE__ */ m(
|
|
35
|
+
z,
|
|
36
|
+
{
|
|
37
|
+
ref: l,
|
|
38
|
+
className: Y(c, g, i.root),
|
|
39
|
+
variant: e,
|
|
40
|
+
ownerState: { ...s },
|
|
41
|
+
...C(_, w.root, f),
|
|
42
|
+
...P,
|
|
43
|
+
children: r ? Array.from({ length: o }).map((x, a) => /* @__PURE__ */ m(
|
|
44
|
+
N,
|
|
45
|
+
{
|
|
46
|
+
width: a === o - 1 ? p : "100%",
|
|
47
|
+
variant: "text",
|
|
48
|
+
ownerState: { ...s },
|
|
49
|
+
className: i.skeleton
|
|
50
|
+
},
|
|
51
|
+
a
|
|
52
|
+
)) : y
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
});
|
|
3
56
|
export {
|
|
4
|
-
|
|
57
|
+
D as Typography
|
|
5
58
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nombre de clase css usada para asociarse en los slots del componente.
|
|
3
|
+
*/
|
|
4
|
+
export declare const TYPOGRAPHY_KEY_COMPONENT = "M4LTypography";
|
|
5
|
+
/**
|
|
6
|
+
* Nombre de clase creado para aportar especificidad a los estilos del componente. Es usado para sobreescribir los estilos de MUI sin
|
|
7
|
+
* tener la necesidad de agregar valores en !important.
|
|
8
|
+
*/
|
|
9
|
+
export declare const TYPOGRAPHY_CLASS_NAME_SPECIFY = "M4lclassCssSpecificity";
|
|
10
|
+
/**
|
|
11
|
+
* Inventario de clases CSS para el componente Typography.
|
|
12
|
+
*/
|
|
13
|
+
export declare const TYPOGRAPHY_CLASSES: Record<"skeleton" | "root", string>;
|
|
14
|
+
export declare const TYPOGRAPHY_FONTS: {
|
|
15
|
+
Inter: string;
|
|
16
|
+
Jura: string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Typography/constants.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,wBAAwB,kBAAkB,CAAC;AACxD;;;GAGG;AACH,eAAO,MAAM,6BAA6B,2BAA2B,CAAC;AACtE;;GAEG;AACH,eAAO,MAAM,kBAAkB,qCAAiE,CAAC;AAEjG,eAAO,MAAM,gBAAgB;;;CAG5B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { getComponentClasses as o } from "../../../../utils/getComponentSlotRoot.js";
|
|
2
|
+
import { TypographySlots as s } from "./slots/typographyEnum.js";
|
|
3
|
+
const t = "M4LTypography", S = "M4lclassCssSpecificity", Y = o(t, s);
|
|
4
|
+
export {
|
|
5
|
+
Y as TYPOGRAPHY_CLASSES,
|
|
6
|
+
S as TYPOGRAPHY_CLASS_NAME_SPECIFY,
|
|
7
|
+
t as TYPOGRAPHY_KEY_COMPONENT
|
|
8
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { Typography } from './Typography';
|
|
2
|
-
export type {
|
|
3
|
-
export { TYPOGRAPHY_CLASS_NAME_SPECIFY, TYPOGRAPHY_CLASSES, TYPOGRAPHY_FONTS, TYPOGRAPHY_KEY_COMPONENT, } from '@m4l/base';
|
|
2
|
+
export type { TypographyProps } from './types';
|
|
4
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typographyEnum.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Typography/slots/typographyEnum.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,eAAe;IACzB,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Componente slot styled de Mui Typography
|
|
3
|
+
*/
|
|
4
|
+
export declare const StyledMUITypography: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').TypographyOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "zIndex" | "variant" | "color" | "paragraph" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "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" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "variantMapping">, "title" | "zIndex" | "variant" | "color" | "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" | "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" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
5
|
+
ownerState?: (Partial<import('../types').TypographyOwnerState> & Record<string, unknown>) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
/**
|
|
8
|
+
* Componente slot styled de Skeleton
|
|
9
|
+
*/
|
|
10
|
+
export declare const StyledSkeleton: import('@emotion/styled').StyledComponent<Pick<import('../../Skeleton/types').SkeletonProps, keyof import('../../Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
|
|
11
|
+
ownerState?: (Partial<import('../types').TypographyOwnerState> & Record<string, unknown>) | undefined;
|
|
12
|
+
}, {}, {}>;
|
|
13
|
+
//# sourceMappingURL=typographySlots.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typographySlots.d.ts","sourceRoot":"","sources":["../../../../../../../../../packages/components/src/components/extended/mui/Typography/slots/typographySlots.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,mBAAmB;;UAGN,CAAC;AAC3B;;GAEG;AACH,eAAO,MAAM,cAAc;;UAGG,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Typography as m } from "@mui/material";
|
|
2
|
+
import { styled as o } from "@mui/material/styles";
|
|
3
|
+
import { TYPOGRAPHY_KEY_COMPONENT as t } from "../constants.js";
|
|
4
|
+
import { TypographySlots as r } from "./typographyEnum.js";
|
|
5
|
+
import { typographyStyles as p } from "../typography.styles.js";
|
|
6
|
+
import { Skeleton as e } from "../../Skeleton/Skeleton.js";
|
|
7
|
+
const i = o(m, {
|
|
8
|
+
name: t,
|
|
9
|
+
slot: r.root
|
|
10
|
+
})(p?.root), S = o(e, {
|
|
11
|
+
name: t,
|
|
12
|
+
slot: r.root
|
|
13
|
+
})(p?.skeleton);
|
|
14
|
+
export {
|
|
15
|
+
i as StyledMUITypography,
|
|
16
|
+
S as StyledSkeleton
|
|
17
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { TypographyProps as MUITypographyProps, Theme } from '@mui/material';
|
|
2
|
+
import { Sizes, TypographyVariants } from '@m4l/styles';
|
|
3
|
+
import { TypographySlots } from './slots/typographyEnum';
|
|
4
|
+
import { TYPOGRAPHY_KEY_COMPONENT } from './constants';
|
|
5
|
+
import { M4LOverridesStyleRules } from '../../../../@types/augmentations';
|
|
6
|
+
import { DeepKeyOf } from '../../../../utils/types';
|
|
7
|
+
/**
|
|
8
|
+
* Define los colores de tipografía disponibles para el componente.
|
|
9
|
+
*/
|
|
10
|
+
export type TypographyColors = 'text.primary' | 'text.secondary' | 'text.disabled' | string;
|
|
11
|
+
export type TypographyFontsFamily = 'Inter' | 'Jura';
|
|
12
|
+
/**
|
|
13
|
+
* Define la propiedades del componente, se une a las capacidades originales de MUI Typography.
|
|
14
|
+
*/
|
|
15
|
+
export interface TypographyProps extends Omit<MUITypographyProps, 'color' | 'variant' | 'children' | 'size'> {
|
|
16
|
+
/**
|
|
17
|
+
* Anchura del elemento Skeleton.
|
|
18
|
+
*/
|
|
19
|
+
skeletonWidth?: string | number;
|
|
20
|
+
/**
|
|
21
|
+
* Número de filas de texto que se visualizan en skeleton, pueden ser mínimo una y máximo cinco.
|
|
22
|
+
*/
|
|
23
|
+
skeletonRows?: 1 | 2 | 3 | 4 | 5;
|
|
24
|
+
/**
|
|
25
|
+
* Opción de color usada para pintar el componente.
|
|
26
|
+
*/
|
|
27
|
+
color?: DeepKeyOf<Theme['vars']['palette']> | string;
|
|
28
|
+
/**
|
|
29
|
+
* Opciones de tamaño del componente.
|
|
30
|
+
*/
|
|
31
|
+
size?: Extract<Sizes, 'small' | 'medium'>;
|
|
32
|
+
/**
|
|
33
|
+
* Listas de variantes de tipografía disponibles para la aplicación web.
|
|
34
|
+
*/
|
|
35
|
+
variant?: TypographyVariants;
|
|
36
|
+
/**
|
|
37
|
+
* Contenido del componente.
|
|
38
|
+
*/
|
|
39
|
+
children?: React.ReactNode;
|
|
40
|
+
/**
|
|
41
|
+
* Nombre identificador del componente, es útil para realizar pruebas del componente.
|
|
42
|
+
*/
|
|
43
|
+
dataTestid?: string;
|
|
44
|
+
/** Sirve para vincular un elemento de etiqueta con un elemento de formulario, como un campo de entrada, lo que permite que al hacer clic en el texto de la etiqueta, se active el campo correspondiente*/
|
|
45
|
+
htmlFor?: string | undefined;
|
|
46
|
+
/** Si esta disabled, el texto pasa a text.disabled */
|
|
47
|
+
disabled?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Si se activa, el texto se corta y se muestra un elipsis.
|
|
50
|
+
*/
|
|
51
|
+
ellipsis?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Familia de fuentes a usar para el componente.
|
|
54
|
+
*/
|
|
55
|
+
fontFamily?: TypographyFontsFamily;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Define valores de estado necesarios para estilar el componente.
|
|
59
|
+
*/
|
|
60
|
+
export interface TypographyOwnerState {
|
|
61
|
+
disabled?: boolean;
|
|
62
|
+
color: TypographyProps['color'];
|
|
63
|
+
variant: TypographyProps['variant'];
|
|
64
|
+
size: TypographyProps['size'];
|
|
65
|
+
skeletonRows: TypographyProps['skeletonRows'];
|
|
66
|
+
skeleton: boolean;
|
|
67
|
+
ellipsis: TypographyProps['ellipsis'];
|
|
68
|
+
fontFamily: TypographyProps['fontFamily'];
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Agrupa la lista de slots del componente.
|
|
72
|
+
*/
|
|
73
|
+
export type TypographySlotsType = keyof typeof TypographySlots;
|
|
74
|
+
/**
|
|
75
|
+
* Define las capacidades de estilos css disponibles para los slots del componente,
|
|
76
|
+
* también asocia la clase TYPOGRAPHY_KEY_COMPONENT a cada slot.
|
|
77
|
+
*/
|
|
78
|
+
export type TypographyStyles = M4LOverridesStyleRules<TypographySlotsType, typeof TYPOGRAPHY_KEY_COMPONENT, Theme>;
|
|
79
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Typography/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,kBAAkB,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,cAAc,GAAG,gBAAgB,GAAG,eAAe,GAAG,MAAM,CAAC;AAE5F,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,MAAM,CAAC;AAErD;;GAEG;AACH,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,kBAAkB,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;IAC1G;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,MAAM,CAAC;IACrD;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,CAAC,CAAC;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0MAA0M;IAC1M,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,sDAAsD;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,qBAAqB,CAAC;CACpC;AACD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;IAChC,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;IACpC,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,YAAY,EAAE,eAAe,CAAC,cAAc,CAAC,CAAC;IAC9C,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;IACtC,UAAU,EAAE,eAAe,CAAC,YAAY,CAAC,CAAC;CAC3C;AACD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,eAAe,CAAC;AAC/D;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,CAAC,mBAAmB,EAAE,OAAO,wBAAwB,EAAE,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typography.styles.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/components/src/components/extended/mui/Typography/typography.styles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,eAAO,MAAM,gBAAgB,EAAE,gBAwD9B,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { getPropertyByString as s } from "@m4l/core";
|
|
2
|
+
import { getSizeStyles as o } from "../../../../utils/getSizeStyles/getSizeStyles.js";
|
|
3
|
+
import { getTypographyStyles as e } from "../../../../utils/getTypographyStyles.js";
|
|
4
|
+
const y = {
|
|
5
|
+
/**
|
|
6
|
+
* Slot: root
|
|
7
|
+
* Componente extendido de MUI Typography, que permite personalizar los estilos del componente.
|
|
8
|
+
*/
|
|
9
|
+
root: ({ ownerState: i, theme: l }) => ({
|
|
10
|
+
margin: 0,
|
|
11
|
+
cursor: "default",
|
|
12
|
+
...i?.fontFamily && i?.fontFamily !== "Inter" && {
|
|
13
|
+
fontFamily: i?.fontFamily
|
|
14
|
+
},
|
|
15
|
+
"&.M4lclassCssSpecificity": {
|
|
16
|
+
// Estilos generales 🌐
|
|
17
|
+
// skeleton spacing when multiple rows 🦴
|
|
18
|
+
...i?.skeletonRows && i?.skeletonRows > 1 && {
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: "column"
|
|
21
|
+
},
|
|
22
|
+
// Override de estilos generales de MUI 🚫
|
|
23
|
+
// color text.disabled 🎨
|
|
24
|
+
...i?.disabled || i?.color === "text.disabled" ? {
|
|
25
|
+
color: l.vars.palette.text.disabled
|
|
26
|
+
} : {
|
|
27
|
+
color: s(l.vars.palette, i?.color || "text.primary", "text.primary")
|
|
28
|
+
},
|
|
29
|
+
...e(
|
|
30
|
+
l.generalSettings.isMobile,
|
|
31
|
+
i?.size || "medium",
|
|
32
|
+
i?.variant || "body"
|
|
33
|
+
),
|
|
34
|
+
// ellipsis 🔤
|
|
35
|
+
...i?.ellipsis && {
|
|
36
|
+
overflow: "hidden",
|
|
37
|
+
textOverflow: "ellipsis",
|
|
38
|
+
whiteSpace: "nowrap"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
...i?.skeleton ? {
|
|
42
|
+
width: i?.width ? i?.width : "100%"
|
|
43
|
+
} : {},
|
|
44
|
+
variants: []
|
|
45
|
+
}),
|
|
46
|
+
/**
|
|
47
|
+
* Slot: skeleton
|
|
48
|
+
*/
|
|
49
|
+
skeleton: ({ theme: i, ownerState: l }) => ({
|
|
50
|
+
...o(
|
|
51
|
+
i,
|
|
52
|
+
l?.size || "medium",
|
|
53
|
+
"base"
|
|
54
|
+
)
|
|
55
|
+
})
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
y as typographyStyles
|
|
59
|
+
};
|
|
@@ -7,7 +7,7 @@ import { clsx as h } from "clsx";
|
|
|
7
7
|
import { TEST_PROP_ID as m } from "../../../../test/constants_no_mock.js";
|
|
8
8
|
import { DateRangePicker as O } from "rsuite";
|
|
9
9
|
import { DateTimeCreatedOutlined as T } from "@m4l/icons";
|
|
10
|
-
import { Icon as y } from "
|
|
10
|
+
import { Icon as y } from "../../../Icon/Icon.js";
|
|
11
11
|
const z = N((a, c) => {
|
|
12
12
|
const {
|
|
13
13
|
value: t,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare const BooleanFormatterIconStyled: import('@emotion/styled').StyledComponent<Pick<import('
|
|
1
|
+
export declare const BooleanFormatterIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../..').IconProps, "src" | "icon" | keyof import('../../..').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').BooleanFormatterOwnerState> & Record<string, unknown> & {
|
|
2
2
|
ownerState: Partial<import('../types').BooleanFormatterOwnerState> & Record<string, unknown>;
|
|
3
3
|
}, {}, {}>;
|
|
4
|
-
export declare const BooleanFormatterIconCheckFalseStyled: import('@emotion/styled').StyledComponent<Pick<import('
|
|
4
|
+
export declare const BooleanFormatterIconCheckFalseStyled: import('@emotion/styled').StyledComponent<Pick<import('../../..').IconProps, "src" | "icon" | keyof import('../../..').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').BooleanFormatterOwnerState> & Record<string, unknown> & {
|
|
5
5
|
ownerState: Partial<import('../types').BooleanFormatterOwnerState> & Record<string, unknown>;
|
|
6
6
|
}, {}, {}>;
|
|
7
|
-
export declare const BooleanFormatterRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('
|
|
7
|
+
export declare const BooleanFormatterRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../..').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" | "align" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonWidth" | "skeletonRows" | "htmlFor" | "ellipsis" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').BooleanFormatterOwnerState> & Record<string, unknown> & {
|
|
8
8
|
ownerState: Partial<import('../types').BooleanFormatterOwnerState> & Record<string, unknown>;
|
|
9
9
|
}, {}, {}>;
|
|
10
10
|
export declare const BooleanFormatterChipStyled: import('@emotion/styled').StyledComponent<Pick<import('../../..').ChipProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../..').ChipProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').BooleanFormatterOwnerState> & Record<string, unknown> & {
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { styled as o } from "@mui/material/styles";
|
|
2
2
|
import { BOOLEAN_FORMATTER_KEY_COMPONENT as t } from "../constants.js";
|
|
3
|
-
import { BooleanFormatterSlots as
|
|
4
|
-
import { booleanFormatterStyles as
|
|
5
|
-
import {
|
|
3
|
+
import { BooleanFormatterSlots as r } from "./BooleanFormatterEnum.js";
|
|
4
|
+
import { booleanFormatterStyles as e } from "../BooleanFormatter.styles.js";
|
|
5
|
+
import { Icon as m } from "../../../Icon/Icon.js";
|
|
6
|
+
import { Typography as n } from "../../../extended/mui/Typography/Typography.js";
|
|
6
7
|
import { Chip as a } from "../../../Chip/Chip.js";
|
|
7
|
-
const
|
|
8
|
+
const y = o(m, {
|
|
8
9
|
name: t,
|
|
9
|
-
slot:
|
|
10
|
-
})(
|
|
10
|
+
slot: r.icon
|
|
11
|
+
})(e?.icon), f = o(m, {
|
|
11
12
|
name: t,
|
|
12
|
-
slot:
|
|
13
|
-
})(
|
|
13
|
+
slot: r.iconCheckFalse
|
|
14
|
+
})(e?.iconCheckFalse), B = o(n, {
|
|
14
15
|
name: t,
|
|
15
|
-
slot:
|
|
16
|
-
})(
|
|
16
|
+
slot: r.root
|
|
17
|
+
})(e?.root), C = o(a, {
|
|
17
18
|
name: t,
|
|
18
|
-
slot:
|
|
19
|
-
})(
|
|
19
|
+
slot: r.chip
|
|
20
|
+
})(e?.chip);
|
|
20
21
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
C as BooleanFormatterChipStyled,
|
|
23
|
+
f as BooleanFormatterIconCheckFalseStyled,
|
|
24
|
+
y as BooleanFormatterIconStyled,
|
|
25
|
+
B as BooleanFormatterRootStyled
|
|
25
26
|
};
|