@m4l/components 9.4.17-BE20260121-2 → 9.4.18

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.
Files changed (156) hide show
  1. package/@types/types.d.ts +0 -9
  2. package/components/AccountPopover/AccountPopover.styles.js +10 -5
  3. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +2 -2
  4. package/components/ActionsGroup/slots/ActionsGroupSlots.d.ts +2 -2
  5. package/components/AppBar/slots/AppBarSlots.d.ts +1 -1
  6. package/components/CheckableList/slots/styled.d.ts +1 -1
  7. package/components/Chip/slots/ChipSlots.d.ts +2 -2
  8. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +2 -2
  9. package/components/DynamicSort/slots/DynamicSortSlots.d.ts +2 -2
  10. package/components/EditLabel/slots/EditLabelSlots.d.ts +2 -2
  11. package/components/Icon/Icon.d.ts +3 -0
  12. package/components/Icon/Icon.js +52 -28
  13. package/components/Icon/Icon.styles.js +53 -61
  14. package/components/Icon/constants.d.ts +1 -0
  15. package/components/Icon/constants.js +5 -1
  16. package/components/Icon/slots/IconSlots.js +3 -3
  17. package/components/Icon/types.d.ts +44 -7
  18. package/components/Label/slots/LabelSlots.d.ts +1 -1
  19. package/components/MenuActions/MenuActions.js +17 -5
  20. package/components/MenuActions/constants.js +2 -8
  21. package/components/MenuActions/slots/MenuActionsSlots.d.ts +1 -1
  22. package/components/MenuActions/slots/MenuActionsSlots.js +1 -1
  23. package/components/NumberInput/slots/NumberInputSlots.d.ts +2 -2
  24. package/components/ObjectLogs/slots/ObjectLogsSlots.d.ts +3 -3
  25. package/components/PaperForm/slots/PaperFormSlots.d.ts +1 -1
  26. package/components/SettingsLayout/slots/SettingsLayoutSlots.d.ts +2 -2
  27. package/components/SideBar/slots/SideBarSlots.d.ts +1 -1
  28. package/components/Stepper/slots/StepperSlot.d.ts +1 -1
  29. package/components/TabsNavigator/slots/TabsNavigatorSlots.d.ts +1 -1
  30. package/components/ToastContainer/slots/toastContainerSlots.d.ts +3 -3
  31. package/components/WindowBase/slots/WindowBaseSlots.d.ts +2 -2
  32. package/components/WindowBase/types.d.ts +2 -1
  33. package/components/areas/components/AreasAdmin/slots/AreasAdminSlots.d.ts +1 -1
  34. package/components/datagrids/formatters/ColumnIconFormatter/types.d.ts +2 -1
  35. package/components/datagrids/icons.js +0 -8
  36. package/components/datagrids/subcomponents/HeaderActions/subcomponents/Density/Density.js +11 -14
  37. package/components/datagrids/subcomponents/HeaderActions/subcomponents/MobileMenuActions/MobileMenuActions.js +6 -5
  38. package/components/datagrids/subcomponents/HeaderActions/subcomponents/ViewMode/ViewMode.js +9 -10
  39. package/components/datagrids/views/CardsView/hooks/useCardContent/useCardContent.js +3 -4
  40. package/components/datagrids/views/CardsView/subcomponents/CardDetails/CardDetails.js +3 -4
  41. package/components/datagrids/views/CardsView/subcomponents/CardRow/subcomponents/CardHeader/CardHeader.js +2 -4
  42. package/components/datagrids/views/CardsView/subcomponents/Settings/Settings.js +3 -4
  43. package/components/datagrids/views/CardsView/subcomponents/Settings/hooks/useModalSettings/useModalSettings.js +3 -4
  44. package/components/datagrids/views/CardsView/subcomponents/Settings/subcomponents/ColumnsConfig/ColumnsConfig.js +9 -10
  45. package/components/datagrids/views/TableView/hooks/useHeaderMenuActions/useHeaderMenuActions.js +35 -49
  46. package/components/extended/React-resizable-panels/SplitLayout.styles.js +46 -37
  47. package/components/extended/React-resizable-panels/slots/SplitLayoutSlots.d.ts +3 -3
  48. package/components/formatters/BooleanFormatter/slots/BooleanFormatterSlots.d.ts +2 -2
  49. package/components/formatters/IconsFormatter/slots/IconsFormatterSlots.d.ts +2 -2
  50. package/components/formatters/IconsFormatter/types.d.ts +2 -1
  51. package/components/hook-form/RHFColorPicker/slots/RHFColorPickerSlots.d.ts +1 -1
  52. package/components/hook-form/RHFDatePicker/slots/RHFDatePickerSlots.d.ts +1 -1
  53. package/components/hook-form/RHFTextFieldPassword/slots/RHFTextFieldPasswordSlots.d.ts +1 -1
  54. package/components/hook-form/RHFUpload/RHFUploadImage/slots/RHFUploadImageSlots.d.ts +1 -1
  55. package/components/hook-form/RHFUpload/RHFUploadSingleFile/slots/RHFUploadSingleFileSlots.d.ts +1 -1
  56. package/components/hook-form/index.d.ts +0 -1
  57. package/components/index.d.ts +0 -1
  58. package/components/mui_extended/Accordion/Accordion.js +3 -2
  59. package/components/mui_extended/Accordion/constants.d.ts +0 -1
  60. package/components/mui_extended/Accordion/constants.js +1 -3
  61. package/components/mui_extended/Accordion/slots/AccordionSlots.d.ts +2 -2
  62. package/components/mui_extended/Autocomplete/Autocomplete.js +7 -3
  63. package/components/mui_extended/Autocomplete/Autocomplete.styles.js +76 -45
  64. package/components/mui_extended/Autocomplete/constants.d.ts +23 -0
  65. package/components/mui_extended/Autocomplete/constants.js +9 -1
  66. package/components/mui_extended/Autocomplete/hooks/useAutocomplete/useAutocomplete.js +9 -4
  67. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.d.ts +5 -1
  68. package/components/mui_extended/Autocomplete/hooks/useEndAdornments.js +45 -15
  69. package/components/mui_extended/Autocomplete/hooks/useMultipleChips.js +25 -6
  70. package/components/mui_extended/Autocomplete/slots/AutocompleteEnum.d.ts +6 -1
  71. package/components/mui_extended/Autocomplete/slots/AutocompleteEnum.js +8 -1
  72. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.d.ts +4 -1
  73. package/components/mui_extended/Autocomplete/slots/AutocompleteSlots.js +9 -4
  74. package/components/mui_extended/Autocomplete/subcomponents/renderOptions/index.js +4 -3
  75. package/components/mui_extended/Autocomplete/types.d.ts +9 -2
  76. package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
  77. package/components/mui_extended/CheckBox/slots/CheckBoxSlots.d.ts +2 -2
  78. package/components/mui_extended/DatePicker/DatePicker.styles.js +2 -2
  79. package/components/mui_extended/DatePicker/hooks/useDatePicker/useDatePicker.js +10 -11
  80. package/components/mui_extended/DatePicker/slots/DatePickerSlots.d.ts +1 -1
  81. package/components/mui_extended/DateTimePicker/DateTimePicker.d.ts +0 -4
  82. package/components/mui_extended/DateTimePicker/DateTimePicker.js +10 -11
  83. package/components/mui_extended/DateTimePicker/slots/DateTimePickerSlots.d.ts +1 -1
  84. package/components/mui_extended/IconButton/IconButton.js +19 -8
  85. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +1 -1
  86. package/components/mui_extended/IconButton/types.d.ts +3 -6
  87. package/components/mui_extended/MenuItem/MenuItem.js +14 -4
  88. package/components/mui_extended/MenuItem/slots/MenuItemSlots.d.ts +2 -2
  89. package/components/mui_extended/MenuItem/types.d.ts +3 -3
  90. package/components/mui_extended/Radio/Radio.js +4 -5
  91. package/components/mui_extended/Select/Select.d.ts +2 -1
  92. package/components/mui_extended/Select/Select.js +7 -5
  93. package/components/mui_extended/Select/slots/SelectSlots.d.ts +2 -2
  94. package/components/mui_extended/Tab/Slots/TabSlots.d.ts +1 -1
  95. package/components/mui_extended/Tabs/Tabs.js +5 -9
  96. package/components/mui_extended/TimePicker/slots/TimePickerSlots.d.ts +1 -1
  97. package/components/mui_extended/ToggleIconButton/slots/ToggleIconButtonSlots.d.ts +1 -1
  98. package/hocs/index.d.ts +0 -2
  99. package/hooks/useDynamicFilterAndSort/slots/DynamicFilterAndSortSlots.d.ts +1 -1
  100. package/index.js +105 -111
  101. package/package.json +2 -1
  102. package/components/DaysOfWeekPicker/DaysOfWeekPicker.d.ts +0 -33
  103. package/components/DaysOfWeekPicker/DaysOfWeekPicker.js +0 -81
  104. package/components/DaysOfWeekPicker/DaysOfWeekPicker.styles.d.ts +0 -2
  105. package/components/DaysOfWeekPicker/DaysOfWeekPicker.styles.js +0 -99
  106. package/components/DaysOfWeekPicker/DaysOfWeekPicker.test.d.ts +0 -1
  107. package/components/DaysOfWeekPicker/constants.d.ts +0 -12
  108. package/components/DaysOfWeekPicker/constants.js +0 -11
  109. package/components/DaysOfWeekPicker/dictionary.d.ts +0 -1
  110. package/components/DaysOfWeekPicker/dictionary.js +0 -6
  111. package/components/DaysOfWeekPicker/helpers/getDaysOfWeekFromDictionary.d.ts +0 -29
  112. package/components/DaysOfWeekPicker/helpers/getDaysOfWeekFromDictionary.js +0 -12
  113. package/components/DaysOfWeekPicker/helpers/getDaysOfWeekFromDictionary.test.d.ts +0 -1
  114. package/components/DaysOfWeekPicker/helpers/index.d.ts +0 -1
  115. package/components/DaysOfWeekPicker/helpers/index.js +0 -1
  116. package/components/DaysOfWeekPicker/hooks/index.d.ts +0 -2
  117. package/components/DaysOfWeekPicker/hooks/types.d.ts +0 -29
  118. package/components/DaysOfWeekPicker/hooks/useDaysOfWeekPicker.d.ts +0 -9
  119. package/components/DaysOfWeekPicker/hooks/useDaysOfWeekPicker.js +0 -71
  120. package/components/DaysOfWeekPicker/hooks/useDaysOfWeekPicker.test.d.ts +0 -1
  121. package/components/DaysOfWeekPicker/index.d.ts +0 -3
  122. package/components/DaysOfWeekPicker/index.js +0 -1
  123. package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerEnum.d.ts +0 -5
  124. package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerEnum.js +0 -9
  125. package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerSlots.d.ts +0 -9
  126. package/components/DaysOfWeekPicker/slots/DaysOfWeekPickerSlots.js +0 -23
  127. package/components/DaysOfWeekPicker/slots/index.d.ts +0 -3
  128. package/components/DaysOfWeekPicker/slots/index.js +0 -1
  129. package/components/DaysOfWeekPicker/types.d.ts +0 -70
  130. package/components/hook-form/RHFDatePicker/icons.d.ts +0 -6
  131. package/components/hook-form/RHFDaysOfWeekPicker/RHFDaysOfWeekPicker.d.ts +0 -26
  132. package/components/hook-form/RHFDaysOfWeekPicker/RHFDaysOfWeekPicker.js +0 -6
  133. package/components/hook-form/RHFDaysOfWeekPicker/index.d.ts +0 -1
  134. package/components/hook-form/RHFDaysOfWeekPicker/index.js +0 -1
  135. package/components/mui_extended/Autocomplete/icons.js +0 -7
  136. package/components/mui_extended/DatePicker/icons.d.ts +0 -4
  137. package/components/mui_extended/DatePicker/icons.js +0 -10
  138. package/components/mui_extended/DateTimePicker/icons.d.ts +0 -4
  139. package/components/mui_extended/DateTimePicker/icons.js +0 -10
  140. package/components/mui_extended/Radio/icons.js +0 -7
  141. package/components/mui_extended/Tabs/icons.d.ts +0 -4
  142. package/components/mui_extended/Tabs/icons.js +0 -7
  143. package/hocs/withRHFController/constants.d.ts +0 -8
  144. package/hocs/withRHFController/constants.js +0 -8
  145. package/hocs/withRHFController/index.d.ts +0 -37
  146. package/hocs/withRHFController/index.js +0 -95
  147. package/hocs/withRHFController/slots/WithRHFControllerEnum.d.ts +0 -3
  148. package/hocs/withRHFController/slots/WithRHFControllerEnum.js +0 -7
  149. package/hocs/withRHFController/slots/WithRHFControllerSlots.d.ts +0 -5
  150. package/hocs/withRHFController/slots/WithRHFControllerSlots.js +0 -11
  151. package/hocs/withRHFController/slots/index.d.ts +0 -2
  152. package/hocs/withRHFController/slots/index.js +0 -1
  153. package/hocs/withRHFController/types.d.ts +0 -70
  154. package/hocs/withRHFController/withRHFController.styles.d.ts +0 -5
  155. package/hocs/withRHFController/withRHFController.styles.js +0 -14
  156. package/hocs/withRHFController/withRHFController.test.d.ts +0 -1
@@ -1,14 +1,14 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import clsx from "clsx";
3
3
  import { useMemo, useCallback } from "react";
4
- import { useEnvironment, useModuleSkeleton } from "@m4l/core";
4
+ import { useModuleSkeleton } from "@m4l/core";
5
5
  import { useIsMobile } from "@m4l/graphics";
6
6
  import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
7
7
  import { g as getComponentClasses } from "../../../utils/getComponentSlotRoot.js";
8
8
  import { P as PopperStyled, a as PickersCalendarHeaderStyled, I as IconButtonStyled, b as PickersDayStyled, c as PaperStyled, S as SkeletonStyled, M as MobileDateTimePickerRootStyled, D as DesktopDateTimePickerRootStyled } from "./slots/DateTimePickerSlots.js";
9
- import { d as date, c as chevron_right, a as chevron_left, b as chevron_down } from "./icons.js";
10
9
  import { D as DateTimePickerEnum } from "./slots/DateTimePickerEnum.js";
11
10
  import { D as DATE_TIME_PICKER_KEY_COMPONENT } from "./constants.js";
11
+ import { DateTimeCreatedOutlined, ArrowChevronSmRightOutlined, ArrowChevronSmLeftOutlined, ArrowChevronSmDownOutlined } from "@m4l/icons";
12
12
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
13
13
  import { I as IconButton } from "../IconButton/IconButton.js";
14
14
  const DateTimePicker = (props) => {
@@ -25,7 +25,6 @@ const DateTimePicker = (props) => {
25
25
  ...others
26
26
  } = props;
27
27
  const isMobile = useIsMobile();
28
- const { host_static_assets, environment_assets } = useEnvironment();
29
28
  const { currentSize } = useComponentSize(size);
30
29
  const adjustedSize = currentSize === "small" || currentSize === "medium" ? currentSize : "medium";
31
30
  const ownerState = useMemo(() => ({
@@ -39,12 +38,12 @@ const DateTimePicker = (props) => {
39
38
  IconButton,
40
39
  {
41
40
  ...args,
42
- icon: `${host_static_assets}/${environment_assets}/${date}`,
41
+ src: /* @__PURE__ */ jsx(DateTimeCreatedOutlined, {}),
43
42
  size: adjustedSize,
44
43
  disabled
45
44
  }
46
45
  );
47
- }, [adjustedSize, disabled, environment_assets, host_static_assets]);
46
+ }, [adjustedSize, disabled]);
48
47
  const popper = useCallback((args) => {
49
48
  return /* @__PURE__ */ jsx(PopperStyled, { ...args, ownerState, ...getPropDataTestId(DATE_TIME_PICKER_KEY_COMPONENT, DateTimePickerEnum.popper, dataTestId) });
50
49
  }, [ownerState]);
@@ -59,10 +58,10 @@ const DateTimePicker = (props) => {
59
58
  ownerState,
60
59
  size: adjustedSize,
61
60
  disabled,
62
- icon: `${host_static_assets}/${environment_assets}/${chevron_right}`
61
+ icon: /* @__PURE__ */ jsx(ArrowChevronSmRightOutlined, {})
63
62
  }
64
63
  );
65
- }, [adjustedSize, disabled, environment_assets, host_static_assets, ownerState]);
64
+ }, [adjustedSize, disabled, ownerState]);
66
65
  const previousIconButton = useCallback((args) => {
67
66
  return /* @__PURE__ */ jsx(
68
67
  IconButtonStyled,
@@ -71,10 +70,10 @@ const DateTimePicker = (props) => {
71
70
  ownerState,
72
71
  size: adjustedSize,
73
72
  disabled,
74
- icon: `${host_static_assets}/${environment_assets}/${chevron_left}`
73
+ icon: /* @__PURE__ */ jsx(ArrowChevronSmLeftOutlined, {})
75
74
  }
76
75
  );
77
- }, [adjustedSize, disabled, environment_assets, host_static_assets, ownerState]);
76
+ }, [adjustedSize, disabled, ownerState]);
78
77
  const switchViewButton = useCallback((args) => {
79
78
  return /* @__PURE__ */ jsx(
80
79
  IconButtonStyled,
@@ -83,10 +82,10 @@ const DateTimePicker = (props) => {
83
82
  ownerState,
84
83
  size: adjustedSize,
85
84
  disabled,
86
- icon: `${host_static_assets}/${environment_assets}/${chevron_down}`
85
+ icon: /* @__PURE__ */ jsx(ArrowChevronSmDownOutlined, {})
87
86
  }
88
87
  );
89
- }, [adjustedSize, disabled, environment_assets, host_static_assets, ownerState]);
88
+ }, [adjustedSize, disabled, ownerState]);
90
89
  const day = useCallback((args) => {
91
90
  return /* @__PURE__ */ jsx(PickersDayStyled, { ...args, disableRipple: true, ownerState, ...getPropDataTestId(DATE_TIME_PICKER_KEY_COMPONENT, DateTimePickerEnum.pickersDay, dataTestId) });
92
91
  }, [ownerState]);
@@ -15,7 +15,7 @@ export declare const PaperStyled: import('@emotion/styled').StyledComponent<Pick
15
15
  export declare const PickersCalendarHeaderStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/x-date-pickers').PickersCalendarHeaderProps<unknown> & import('react').RefAttributes<HTMLButtonElement>, keyof import('react').RefAttributes<HTMLButtonElement> | keyof import('@mui/x-date-pickers').PickersCalendarHeaderProps<unknown>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
16
16
  ownerState?: (Partial<import('../types').DateTimePickerOwnerState> & Record<string, unknown>) | undefined;
17
17
  }, {}, {}>;
18
- export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "variant" | "color" | "content" | "translate" | "className" | "style" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "tooltip" | "instaceDataTestId" | "placement" | "icon" | "rotationAngle" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
18
+ export declare const IconButtonStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "variant" | "color" | "content" | "translate" | "className" | "style" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "tooltip" | "instaceDataTestId" | "placement" | "icon" | "rotationAngle" | "ariaLabel" | "dataTestId" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
19
19
  ownerState?: (Partial<import('../types').DateTimePickerOwnerState> & Record<string, unknown>) | undefined;
20
20
  }, {}, {}>;
21
21
  export declare const PickersDayStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/x-date-pickers').PickersDayProps<unknown> & import('react').RefAttributes<HTMLButtonElement>, "value" | "children" | "ref" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "color" | "content" | "translate" | "className" | "style" | "classes" | "sx" | "form" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "day" | "disableHighlightToday" | "showDaysOutsideCurrentMonth" | "disableMargin" | "isAnimating" | "onDaySelect" | "outsideCurrentMonth" | "isFirstVisibleCell" | "isLastVisibleCell" | "today"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useModuleSkeleton } from "@m4l/core";
3
3
  import clsx from "clsx";
4
- import React, { forwardRef, useMemo, cloneElement } from "react";
4
+ import React, { forwardRef, useMemo } from "react";
5
5
  import { I as ICON_BUTTON_CLASSES } from "./constants.js";
6
6
  import { e as evalIconColor } from "./helpers/evalIconColor.js";
7
7
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
@@ -22,6 +22,7 @@ const IconButton = forwardRef((props, ref) => {
22
22
  rotationAngle,
23
23
  className,
24
24
  badgeProps = {},
25
+ dataTestId,
25
26
  ...other
26
27
  } = props;
27
28
  const { currentSize } = useComponentSize(size);
@@ -53,17 +54,27 @@ const IconButton = forwardRef((props, ref) => {
53
54
  size: adjustedSize,
54
55
  color: iconColor,
55
56
  disabled,
56
- rotationAngle
57
+ rotationAngle,
58
+ "data-testid": dataTestId ?? "IconButtonRoot"
57
59
  }
58
60
  );
59
61
  }
60
62
  if (React.isValidElement(arg)) {
61
- return cloneElement(arg, {
62
- disabled
63
- });
63
+ return /* @__PURE__ */ jsx(
64
+ IconStyled,
65
+ {
66
+ ownerState,
67
+ src: arg,
68
+ size: adjustedSize,
69
+ color: iconColor,
70
+ disabled,
71
+ rotationAngle,
72
+ "data-testid": dataTestId ?? "IconButtonRoot"
73
+ }
74
+ );
64
75
  }
65
76
  return null;
66
- }, [adjustedSize, disabled, iconColor, rotationAngle, ownerState]);
77
+ }, [ownerState, adjustedSize, iconColor, disabled, rotationAngle, dataTestId]);
67
78
  if (isSkeleton) {
68
79
  return /* @__PURE__ */ jsx(SkeletonStyled, { ownerState: { ...ownerState } });
69
80
  }
@@ -84,7 +95,7 @@ const IconButton = forwardRef((props, ref) => {
84
95
  onClick: !disabled ? onClick : void 0,
85
96
  disableRipple: true,
86
97
  disabled,
87
- "data-testid": "IconButtonRoot",
98
+ "data-testid": dataTestId ?? "IconButtonRoot",
88
99
  color,
89
100
  role: "button",
90
101
  ...other,
@@ -106,7 +117,7 @@ const IconButton = forwardRef((props, ref) => {
106
117
  onClick: !disabled ? onClick : void 0,
107
118
  disableRipple: true,
108
119
  disabled,
109
- "data-testid": "IconButtonRoot",
120
+ "data-testid": dataTestId ?? "IconButtonRoot",
110
121
  color,
111
122
  ...other,
112
123
  className: clsx(
@@ -9,6 +9,6 @@ export declare const BadgeStyled: import('@emotion/styled').StyledComponent<Pick
9
9
  export declare const SkeletonStyled: 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> & {
10
10
  ownerState?: (Partial<import('../types').IconButtonOwnerState> & Record<string, unknown>) | undefined;
11
11
  }, {}, {}>;
12
- export declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
12
+ export declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, "src" | "icon" | keyof import('../../../Icon').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
13
13
  ownerState?: (Partial<import('../types').IconButtonOwnerState> & Record<string, unknown>) | undefined;
14
14
  }, {}, {}>;
@@ -1,7 +1,6 @@
1
1
  import { ComponentPalletColor, Sizes } from '@m4l/styles';
2
2
  import { IconButtonProps as MUIIconButtonProps } from '@mui/material';
3
3
  import { Theme } from '@mui/material/styles';
4
- import { ReactNode } from 'react';
5
4
  import { M4LOverridesStyleRules } from '../../../@types/augmentations';
6
5
  import { IconProps } from '../../Icon/types';
7
6
  import { TooltipProps } from '../../mui_extended/Tooltip/types';
@@ -12,7 +11,7 @@ import { IconButtonSlots } from './slots';
12
11
  export type IconButtonVariants = 'contained' | 'outline' | 'text';
13
12
  /** Tipo `IconButtonSize` para definir sus tamaños */
14
13
  export type IconButtonSize = 'small' | 'medium';
15
- export interface IconButtonProps extends Omit<IconProps, 'size' | 'color' | 'src' | 'selected' | 'enabledSelected' | 'onClick' | 'tooltipContent'>, Omit<MUIIconButtonProps, 'size' | 'color' | 'disabled' | 'src'>, Pick<TooltipProps, 'placement'> {
14
+ export interface IconButtonProps extends Partial<Omit<IconProps, 'size' | 'color' | 'selected' | 'enabledSelected' | 'onClick' | 'tooltipContent'>>, Omit<MUIIconButtonProps, 'size' | 'color' | 'disabled' | 'src'>, Pick<TooltipProps, 'placement'> {
16
15
  /** Variante del componente, modifica la apariencia gráfica */
17
16
  variant?: IconButtonVariants;
18
17
  /**
@@ -29,12 +28,10 @@ export interface IconButtonProps extends Omit<IconProps, 'size' | 'color' | 'src
29
28
  disabled?: boolean;
30
29
  /** Propiedad que sirve para complementar el nombre del data-testid, aporta un identificador único del elemento html en toda aplicación. Es útil para realizar pruebas unitarias y de integración. */
31
30
  instaceDataTestId?: string;
31
+ /** Propiedad que define el data-testid del botón. Si no se proporciona, se usa 'IconButtonRoot' por defecto. */
32
+ dataTestId?: string;
32
33
  /** Propiedad que sirve para cambiar al modo seleccionado */
33
34
  selected?: boolean;
34
- /** Propiedad para renderizar el icon */
35
- icon?: ReactNode;
36
- /** URL del icono */
37
- src?: string;
38
35
  /** Propiedades para el componente badge */
39
36
  badgeProps?: BadgeProps;
40
37
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useModuleSkeleton, useEnvironment } from "@m4l/core";
3
3
  import clsx from "clsx";
4
- import React, { useMemo, cloneElement } from "react";
4
+ import React, { useMemo } from "react";
5
5
  import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
6
6
  import { M as MENUITEM_CLASSES } from "./constants.js";
7
7
  import { M as MenuItemIconStyled, a as MenuItemSkeletonStyled, b as MenuItemRootStyled, c as MenuItemIconCheckedStyled, d as MenuItemTypographyStyled } from "./slots/MenuItemSlots.js";
@@ -56,9 +56,19 @@ const MenuItem = (props) => {
56
56
  );
57
57
  }
58
58
  if (React.isValidElement(icon)) {
59
- return cloneElement(icon, {
60
- selected
61
- });
59
+ return /* @__PURE__ */ jsx(
60
+ MenuItemIconStyled,
61
+ {
62
+ ownerState: { ...ownerState },
63
+ selected,
64
+ enabledSelected: true,
65
+ src: icon,
66
+ size: adjustedSize,
67
+ disabled,
68
+ instaceDataTestId,
69
+ className: classNameIcon
70
+ }
71
+ );
62
72
  }
63
73
  return null;
64
74
  }, [ownerState, adjustedSize, disabled, selected]);
@@ -6,10 +6,10 @@ declare const MenuItemRootStyled: import('@emotion/styled').StyledComponent<Pick
6
6
  declare const MenuItemTypographyStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Typography/types').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "size" | "children" | "title" | "component" | "zIndex" | "id" | "disabled" | "paragraph" | "border" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontSize" | "textTransform" | "fontFamily" | "typography" | "flex" | "variant" | "color" | "dataTestid" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "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" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "sx" | "p" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "htmlFor" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonWidth" | "skeletonRows" | "ellipsis" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
7
7
  ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
8
8
  }, {}, {}>;
9
- declare const MenuItemIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
9
+ declare const MenuItemIconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, "src" | "icon" | keyof import('../../../Icon').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
10
10
  ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
11
11
  }, {}, {}>;
12
- declare const MenuItemIconCheckedStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
12
+ declare const MenuItemIconCheckedStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, "src" | "icon" | keyof import('../../../Icon').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
13
13
  ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
14
14
  }, {}, {}>;
15
15
  declare const MenuItemSkeletonStyled: 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> & {
@@ -2,9 +2,9 @@ import { MenuItemProps as MUIMenuItemProps, Theme } from '@mui/material';
2
2
  import { Sizes } from '@m4l/styles';
3
3
  import { MenuItemSlots } from './slots';
4
4
  import { MENUITEM_KEY_COMPONENT } from './constants';
5
- import { ReactNode } from 'react';
6
5
  import { M4LOverridesStyleRules } from '../../../@types/augmentations';
7
6
  import { IconButtonProps } from '../IconButton/types';
7
+ import { IconProps } from '../../Icon/types';
8
8
  /**
9
9
  * Propiedades del componente `MenuItem`.
10
10
  */
@@ -12,11 +12,11 @@ export interface MenuItemProps extends Omit<MUIMenuItemProps, 'size' | 'color'>
12
12
  /**
13
13
  * Prop opcional para el ícono a la izquierda en el `MenuItem`
14
14
  */
15
- startIcon?: ReactNode;
15
+ startIcon?: IconProps['src'] | null;
16
16
  /**
17
17
  * Prop opcional para el ícono a la derecha en el `MenuItem`
18
18
  */
19
- endIcon?: ReactNode;
19
+ endIcon?: IconProps['src'] | null;
20
20
  /**
21
21
  * Texto que describe el `MenuItem`
22
22
  */
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { forwardRef, useId } from "react";
3
- import { useModuleSkeleton, useEnvironment } from "@m4l/core";
3
+ import { useModuleSkeleton } from "@m4l/core";
4
4
  import { R as RadioRootStyled, M as MUIRadioStyled, I as InlineTextStyled, S as SkeletonStyled } from "./slots/styled.js";
5
5
  import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
6
6
  import { R as RADIO_CLASSES, a as RADIO_KEY_COMPONENT } from "./constants.js";
7
7
  import clsx from "clsx";
8
- import { p as pathIcons } from "./icons.js";
8
+ import { ActionsUncheckDuotone, ActionsRadioButtonCheckFill } from "@m4l/icons";
9
9
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
10
10
  import { I as Icon } from "../../Icon/Icon.js";
11
11
  const Radio = forwardRef(
@@ -26,7 +26,6 @@ const Radio = forwardRef(
26
26
  const { currentSize } = useComponentSize(size);
27
27
  const isSkeleton = useModuleSkeleton();
28
28
  const classRoot = getComponentSlotRoot(RADIO_KEY_COMPONENT);
29
- const { host_static_assets, environment_assets } = useEnvironment();
30
29
  const hookId = useId();
31
30
  const finalId = id || hookId;
32
31
  const ownerState = {
@@ -53,7 +52,7 @@ const Radio = forwardRef(
53
52
  checkedIcon: /* @__PURE__ */ jsx(
54
53
  Icon,
55
54
  {
56
- src: `${host_static_assets}/${environment_assets}/${pathIcons.checked}`,
55
+ src: /* @__PURE__ */ jsx(ActionsRadioButtonCheckFill, {}),
57
56
  size: currentSize,
58
57
  color: disabled ? "text.disabled" : error ? "error.enabled" : "primary.enabled"
59
58
  }
@@ -61,7 +60,7 @@ const Radio = forwardRef(
61
60
  icon: /* @__PURE__ */ jsx(
62
61
  Icon,
63
62
  {
64
- src: `${host_static_assets}/${environment_assets}/${pathIcons.unchecked}`,
63
+ src: /* @__PURE__ */ jsx(ActionsUncheckDuotone, {}),
65
64
  size: currentSize,
66
65
  color: disabled ? "text.disabled" : error ? "error.enabled" : "text.secondary"
67
66
  }
@@ -1,7 +1,8 @@
1
+ import { default as React } from 'react';
1
2
  import { SelectProps } from './types';
2
3
  /**
3
4
  * Select component for rendering a dropdown with various options.
4
5
  * @param {SelectProps} props - The properties for the Select component.
5
6
  * @returns {JSX.Element} The rendered Select component.
6
7
  */
7
- export declare const Select: import('react').ForwardRefExoticComponent<Omit<SelectProps<string | number, boolean | undefined>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
8
+ export declare const Select: React.ForwardRefExoticComponent<Omit<SelectProps<string | number, boolean | undefined>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -3,7 +3,7 @@ import { useEnvironment, useModuleSkeleton, useModuleDictionary } from "@m4l/cor
3
3
  import { useTheme } from "@mui/material";
4
4
  import { useForkRef } from "@mui/material/utils";
5
5
  import clsx from "clsx";
6
- import { forwardRef, useMemo, useState, useRef, useCallback, useEffect } from "react";
6
+ import React, { forwardRef, useMemo, useState, useRef, useCallback, useEffect } from "react";
7
7
  import { A as ArrowDownStyled, a as AdormentStyled, S as SelectRootStyled, b as SkeletonSelectStyled, M as MenuItemListStyled, c as MenuItemNoOptionStyled, L as LabelPlaceholerStyled, R as RenderValueContainerStyled, d as RenderValueTypography } from "./slots/SelectSlots.js";
8
8
  import { I as ICON_ARROW_DOWN, S as SELECT_CLASSES, a as SELECT_KEY_COMPONENT } from "./constants.js";
9
9
  import { S as SELECT_DICTIONARY } from "./dictionary.js";
@@ -104,9 +104,7 @@ const Select = forwardRef(
104
104
  if (!icon) {
105
105
  return null;
106
106
  }
107
- if (typeof icon !== "string") {
108
- return icon;
109
- } else {
107
+ if (typeof icon === "string") {
110
108
  return /* @__PURE__ */ jsx(
111
109
  AdormentStyled,
112
110
  {
@@ -117,6 +115,10 @@ const Select = forwardRef(
117
115
  }
118
116
  );
119
117
  }
118
+ if (React.isValidElement(icon)) {
119
+ return icon;
120
+ }
121
+ return null;
120
122
  }, [disabled, adjustedSize]);
121
123
  const onMouseDownIconButtonChip = useCallback((e) => {
122
124
  e.stopPropagation();
@@ -234,7 +236,7 @@ const Select = forwardRef(
234
236
  disabled,
235
237
  selected: isSelected,
236
238
  label: option.label,
237
- startIcon: option.startAdornment
239
+ startIcon: RenderIcon(option.startAdornment)
238
240
  },
239
241
  String(option.id)
240
242
  );
@@ -9,7 +9,7 @@
9
9
  export declare const SelectRootStyled: <T extends string | number>() => import('@emotion/styled').StyledComponent<Pick<import('@mui/material').SelectProps<T>, "value" | "size" | "children" | "ref" | "onClose" | "title" | "name" | "error" | "input" | "rows" | "id" | "type" | "disabled" | "components" | "variant" | "color" | "content" | "translate" | "margin" | "className" | "style" | "classes" | "sx" | "slots" | "slotProps" | "label" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "componentsProps" | "onOpen" | "open" | "autoComplete" | "multiple" | "placeholder" | "readOnly" | "required" | "maxRows" | "fullWidth" | "inputProps" | "inputRef" | "multiline" | "minRows" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "renderSuffix" | "startAdornment" | "disableUnderline" | "autoWidth" | "defaultOpen" | "displayEmpty" | "IconComponent" | "labelId" | "MenuProps" | "native" | "renderValue" | "SelectDisplayProps"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
10
10
  ownerState?: any;
11
11
  }, {}, {}>;
12
- export declare const AdormentStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
12
+ export declare const AdormentStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, "src" | "icon" | keyof import('../../../Icon').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
13
13
  ownerState?: any;
14
14
  }, {}, {}>;
15
15
  export declare const MenuItemListStyled: import('@emotion/styled').StyledComponent<Pick<import('../../MenuItem').MenuItemProps, keyof import('../../MenuItem').MenuItemProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
@@ -24,7 +24,7 @@ export declare const SkeletonSelectStyled: import('@emotion/styled').StyledCompo
24
24
  export declare const RenderValueContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
25
25
  ownerState?: any;
26
26
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
27
- export declare const ArrowDownStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "variant" | "color" | "content" | "translate" | "className" | "style" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "tooltip" | "instaceDataTestId" | "placement" | "icon" | "rotationAngle" | "ariaLabel" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
27
+ export declare const ArrowDownStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../IconButton/types').IconButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "selected" | "disabled" | "action" | "variant" | "color" | "content" | "translate" | "className" | "style" | "classes" | "src" | "sx" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "tooltip" | "instaceDataTestId" | "placement" | "icon" | "rotationAngle" | "ariaLabel" | "dataTestId" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "badgeProps" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
28
28
  ownerState?: any;
29
29
  }, {}, {}>;
30
30
  export declare const RenderValueTypography: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Typography/types').TypographyProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>, "size" | "children" | "title" | "component" | "zIndex" | "id" | "disabled" | "paragraph" | "border" | "fontWeight" | "lineHeight" | "letterSpacing" | "fontSize" | "textTransform" | "fontFamily" | "typography" | "flex" | "variant" | "color" | "dataTestid" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "columnGap" | "content" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "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" | "top" | "translate" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "className" | "style" | "classes" | "sx" | "p" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "displayPrint" | "align" | "htmlFor" | "gutterBottom" | "noWrap" | "variantMapping" | "skeletonWidth" | "skeletonRows" | "ellipsis" | keyof import('react').RefAttributes<HTMLSpanElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
@@ -13,7 +13,7 @@ export declare const RootStyled: import('@emotion/styled').StyledComponent<Pick<
13
13
  * Componente de tipo icono (`Icon`).
14
14
  * Utiliza el slot `icon` para agregar estilos específicos al icono del Tab.
15
15
  */
16
- export declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').TabOwnerState> & Record<string, unknown> & {
16
+ export declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, "src" | "icon" | keyof import('../../../Icon').IconBaseProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').TabOwnerState> & Record<string, unknown> & {
17
17
  ownerState: Partial<import('../types').TabOwnerState> & Record<string, unknown>;
18
18
  }, {}, {}>;
19
19
  /**
@@ -1,7 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { R as RootStyled } from "./slots/TabsSlots.js";
3
- import { useEnvironment } from "@m4l/core";
4
- import { T as TABS_ICONS } from "./icons.js";
3
+ import { ArrowChevronMdRightOutlined, ArrowChevronMdLeftOutlined } from "@m4l/icons";
5
4
  import React, { useMemo } from "react";
6
5
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
7
6
  import { I as IconButton } from "../IconButton/IconButton.js";
@@ -24,16 +23,13 @@ const Tabs = (props) => {
24
23
  const { children, className, size, ...others } = props;
25
24
  const ownerState = {};
26
25
  const { currentSize } = useComponentSize(size);
27
- const { host_static_assets, environment_assets } = useEnvironment();
28
- const leftIconSrc = `${host_static_assets}/${environment_assets}/${TABS_ICONS.ARROW_LEFT}`;
29
- const rightIconSrc = `${host_static_assets}/${environment_assets}/${TABS_ICONS.ARROW_RIGHT}`;
30
26
  const StartScrollButtonIcon = useMemo(
31
- () => createScrollButtonIcon(leftIconSrc, currentSize),
32
- [leftIconSrc, currentSize]
27
+ () => createScrollButtonIcon(/* @__PURE__ */ jsx(ArrowChevronMdLeftOutlined, {}), currentSize),
28
+ [currentSize]
33
29
  );
34
30
  const EndScrollButtonIcon = useMemo(
35
- () => createScrollButtonIcon(rightIconSrc, currentSize),
36
- [rightIconSrc, currentSize]
31
+ () => createScrollButtonIcon(/* @__PURE__ */ jsx(ArrowChevronMdRightOutlined, {}), currentSize),
32
+ [currentSize]
37
33
  );
38
34
  return /* @__PURE__ */ jsx(
39
35
  RootStyled,