@m4l/components 9.4.7-BE20260106-beta.1 → 9.4.7-BE20260109-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -143,19 +143,9 @@ const CheckableList = (props) => {
143
143
  ownerState,
144
144
  className: clsx(className, CHECKABLE_LIST_CLASSES.root),
145
145
  "data-testid": dataTestId,
146
- "aria-label": ariaLabel || "checkable list",
146
+ "aria-label": ariaLabel,
147
147
  "aria-labelledby": ariaLabelledBy,
148
- children: /* @__PURE__ */ jsx(LoadingContainerStyled, { ownerState, children: /* @__PURE__ */ jsx(
149
- Skeleton,
150
- {
151
- variant: "rectangular",
152
- width: "100%",
153
- height: 200,
154
- role: "status",
155
- "aria-label": "Cargando lista de elementos",
156
- "aria-live": "polite"
157
- }
158
- ) })
148
+ children: /* @__PURE__ */ jsx(LoadingContainerStyled, { ownerState, children: /* @__PURE__ */ jsx(Skeleton, { variant: "rectangular", width: "100%", height: 200 }) })
159
149
  }
160
150
  );
161
151
  }
@@ -166,28 +156,24 @@ const CheckableList = (props) => {
166
156
  ownerState,
167
157
  className: clsx(className, CHECKABLE_LIST_CLASSES.root),
168
158
  "data-testid": dataTestId,
169
- role: "group",
170
- "aria-label": ariaLabel || "checkable list",
159
+ "aria-label": ariaLabel,
171
160
  "aria-labelledby": ariaLabelledBy,
172
161
  children: [
173
- searchable && /* @__PURE__ */ jsx(SearchContainerStyled, { ownerState, role: "search", children: /* @__PURE__ */ jsx(
162
+ searchable && /* @__PURE__ */ jsx(SearchContainerStyled, { ownerState, children: /* @__PURE__ */ jsx(
174
163
  SearchInputStyled,
175
164
  {
176
- role: "searchbox",
177
- "aria-label": "search",
178
165
  ownerState,
179
166
  value: searchQuery,
180
167
  onChange: (e) => setSearchQuery(e.target.value),
181
168
  placeholder: getLabel(DICCTIONARY.label_search_placeholder),
182
169
  size,
183
- className: CHECKABLE_LIST_CLASSES.searchInput,
184
170
  variant: "contained",
185
171
  InputProps: {
186
172
  startAdornment: /* @__PURE__ */ jsx(Icon, { src: urlIconSearch })
187
173
  }
188
174
  }
189
175
  ) }),
190
- selectAll && hasItems && /* @__PURE__ */ jsxs(SelectAllContainerStyled, { ownerState, role: "group", "aria-label": "Seleccionar todo", children: [
176
+ selectAll && hasItems && /* @__PURE__ */ jsxs(SelectAllContainerStyled, { ownerState, children: [
191
177
  /* @__PURE__ */ jsx(
192
178
  SelectAllCheckboxStyled,
193
179
  {
@@ -210,35 +196,26 @@ const CheckableList = (props) => {
210
196
  }
211
197
  )
212
198
  ] }),
213
- /* @__PURE__ */ jsx(
214
- ListContainerStyled,
199
+ /* @__PURE__ */ jsx(ListContainerStyled, { ref: setContainerElement, ownerState: { ...ownerState }, children: hasItems ? refHeight.current > 0 ? /* @__PURE__ */ jsx(
200
+ VirtualizedListStyled,
201
+ {
202
+ ref: listRef,
203
+ height: refHeight.current,
204
+ width,
205
+ itemCount: virtualizedItems.length,
206
+ itemSize: getItemSize,
207
+ itemData: virtualizedItems,
208
+ layout: "vertical",
209
+ children: renderVirtualizedItem
210
+ }
211
+ ) : null : /* @__PURE__ */ jsx(EmptyMessageWrapperStyled, { ownerState, children: /* @__PURE__ */ jsx(
212
+ ImageText,
215
213
  {
216
- ref: setContainerElement,
217
- ownerState: { ...ownerState },
218
- "aria-multiselectable": multiple ? "true" : "false",
219
- children: hasItems ? refHeight.current > 0 ? /* @__PURE__ */ jsx(
220
- VirtualizedListStyled,
221
- {
222
- ref: listRef,
223
- height: refHeight.current,
224
- width,
225
- itemCount: virtualizedItems.length,
226
- itemSize: getItemSize,
227
- itemData: virtualizedItems,
228
- layout: "vertical",
229
- className: CHECKABLE_LIST_CLASSES.virtualizedList,
230
- children: renderVirtualizedItem
231
- }
232
- ) : null : /* @__PURE__ */ jsx(EmptyMessageWrapperStyled, { ownerState, role: "status", "aria-live": "polite", children: /* @__PURE__ */ jsx(
233
- ImageText,
234
- {
235
- title: getLabel(DICCTIONARY.label_no_results),
236
- message: getLabel(DICCTIONARY.label_no_results_description),
237
- imageUrl: urlIconNoResults
238
- }
239
- ) })
214
+ title: getLabel(DICCTIONARY.label_no_results),
215
+ message: getLabel(DICCTIONARY.label_no_results_description),
216
+ imageUrl: urlIconNoResults
240
217
  }
241
- )
218
+ ) }) })
242
219
  ]
243
220
  }
244
221
  );
@@ -10,6 +10,5 @@ export declare const DICCTIONARY: {
10
10
  readonly label_no_results_description: "checkable_list.label_no_results_description";
11
11
  readonly label_group_title: "checkable_list.label_group_title";
12
12
  readonly label_select_all: "checkable_list.label_select_all";
13
- readonly label_loading: "checkable_list.label_loading";
14
13
  };
15
14
  export type TypeDictionary = typeof DICCTIONARY;
@@ -14,27 +14,25 @@ const useCheckableListItems = ({
14
14
  return items;
15
15
  }, [items, groups, isGrouped]);
16
16
  const filteredItems = useMemo(() => {
17
- const trimmedQuery = searchQuery.trim();
18
- if (!trimmedQuery) {
17
+ if (!searchQuery.trim()) {
19
18
  return normalizedItems;
20
19
  }
21
- const query = trimmedQuery.toLowerCase();
20
+ const query = searchQuery.toLowerCase();
22
21
  const defaultFilter = (item) => item.label.toLowerCase().includes(query) || item.description?.toLowerCase().includes(query);
23
22
  return normalizedItems.filter(
24
- (item) => filterFn ? filterFn(item, trimmedQuery) : defaultFilter(item)
23
+ (item) => filterFn ? filterFn(item, searchQuery) : defaultFilter(item)
25
24
  );
26
25
  }, [normalizedItems, searchQuery, filterFn]);
27
26
  const filteredGroups = useMemo(() => {
28
- const trimmedQuery = searchQuery.trim();
29
- if (!isGrouped || !trimmedQuery) {
27
+ if (!isGrouped || !searchQuery.trim()) {
30
28
  return groups || [];
31
29
  }
32
- const normalizedQuery = trimmedQuery.toLowerCase();
30
+ const normalizedQuery = searchQuery.toLowerCase();
33
31
  const defaultGroupFilter = (candidate) => candidate.label.toLowerCase().includes(normalizedQuery) || candidate.description?.toLowerCase().includes(normalizedQuery);
34
32
  return (groups || []).map((group) => ({
35
33
  ...group,
36
34
  items: group.items.filter(
37
- (groupItem) => filterFn ? filterFn(groupItem, trimmedQuery) : defaultGroupFilter(groupItem)
35
+ (groupItem) => filterFn ? filterFn(groupItem, searchQuery) : defaultGroupFilter(groupItem)
38
36
  )
39
37
  })).filter((group) => group.items.length > 0);
40
38
  }, [groups, isGrouped, searchQuery, filterFn]);
@@ -65,10 +65,6 @@ const useCheckableListRender = ({
65
65
  ItemWrapperStyled,
66
66
  {
67
67
  ownerState: { size, variant, disabled: itemDisabled, selected: checked },
68
- role: "option",
69
- "aria-label": "item",
70
- "aria-selected": checked,
71
- "aria-disabled": itemDisabled,
72
68
  onClick: () => !itemDisabled && handleItemToggle(item.id),
73
69
  children: [
74
70
  /* @__PURE__ */ jsx(
@@ -164,48 +160,37 @@ const useCheckableListRender = ({
164
160
  )
165
161
  ] });
166
162
  const groupBodyContent = customGroupContent ?? fallbackGroupLabel;
167
- return /* @__PURE__ */ jsx(
168
- GroupWrapperStyled,
163
+ return /* @__PURE__ */ jsx(GroupWrapperStyled, { ownerState: { size, variant, grouped: true, selected: checkboxState === true }, children: /* @__PURE__ */ jsxs(
164
+ GroupHeaderStyled,
169
165
  {
170
- ownerState: { size, variant, grouped: true, selected: checkboxState === true },
171
- role: "group",
172
- "aria-label": group.label,
173
- "aria-expanded": isExpanded,
174
- "aria-disabled": groupDisabled,
175
- children: /* @__PURE__ */ jsxs(
176
- GroupHeaderStyled,
177
- {
178
- ownerState: { size, variant, disabled: groupDisabled },
179
- onClick: handleExpand,
180
- children: [
181
- showCheckboxOnGroup && /* @__PURE__ */ jsx(
182
- GroupCheckboxStyled,
183
- {
184
- checked: checkboxState === true,
185
- indeterminate: checkboxState === "indeterminate",
186
- disabled: groupDisabled,
187
- size: checkboxSize,
188
- onChange: handleToggleGroup,
189
- onClick: (e) => e.stopPropagation()
190
- }
191
- ),
192
- group.icon && /* @__PURE__ */ jsx(GroupIconStyled, { children: group.icon }),
193
- /* @__PURE__ */ jsx("div", { style: { flex: 1, minWidth: 0 }, children: groupBodyContent }),
194
- groupable && /* @__PURE__ */ jsx(
195
- GroupToggleButtonStyled,
196
- {
197
- size,
198
- variant: "text",
199
- icon: isExpanded ? urlIconCompact : urlIconExpanded,
200
- onClick: handleExpand,
201
- "aria-label": isExpanded ? "Colapsar grupo" : "Expandir grupo"
202
- }
203
- )
204
- ]
205
- }
206
- )
166
+ ownerState: { size, variant, disabled: groupDisabled },
167
+ onClick: handleExpand,
168
+ children: [
169
+ showCheckboxOnGroup && /* @__PURE__ */ jsx(
170
+ GroupCheckboxStyled,
171
+ {
172
+ checked: checkboxState === true,
173
+ indeterminate: checkboxState === "indeterminate",
174
+ disabled: groupDisabled,
175
+ size: checkboxSize,
176
+ onChange: handleToggleGroup,
177
+ onClick: (e) => e.stopPropagation()
178
+ }
179
+ ),
180
+ group.icon && /* @__PURE__ */ jsx(GroupIconStyled, { children: group.icon }),
181
+ /* @__PURE__ */ jsx("div", { style: { flex: 1, minWidth: 0 }, children: groupBodyContent }),
182
+ groupable && /* @__PURE__ */ jsx(
183
+ GroupToggleButtonStyled,
184
+ {
185
+ size,
186
+ variant: "text",
187
+ icon: isExpanded ? urlIconCompact : urlIconExpanded,
188
+ onClick: handleExpand
189
+ }
190
+ )
191
+ ]
207
192
  }
208
- );
193
+ ) });
209
194
  },
210
195
  [expandedGroups, disabled, isGroupFullySelected, isGroupPartiallySelected, getGroupItems, indeterminateBehavior, renderGroup, size, variant, showCheckboxOnGroup, checkboxSize, groupable, urlIconCompact, urlIconExpanded, handleGroupExpandToggle, handleGroupToggle, isItemSelected]
211
196
  );
@@ -1,16 +1,29 @@
1
1
  import { C as CLASS_NAME_IS_ROOT, a as CLASS_NAME_MENU_ACTIVE, b as CLASS_NAME_ITEM_IN_TREE_ACTIVE, c as CLASS_NAME_HAS_CHILDREN, d as CLASS_NAME_ITEM_CLOSED } from "../../constants.js";
2
2
  import { g as getTypographyStyles } from "../../../../utils/getTypographyStyles.js";
3
+ import { g as getSizeStyles } from "../../../../utils/getSizeStyles/getSizeStyles.js";
3
4
  const contentComponentStyles = {
4
5
  /**
5
6
  * Estilos del contenedor principal del sidebar
6
7
  */
7
- contentComponentRoot: ({ theme }) => ({
8
+ contentComponentRoot: ({ theme, ownerState }) => ({
8
9
  position: "relative",
9
10
  display: "flex",
10
11
  flexDirection: "column",
11
12
  height: "100%",
12
13
  width: "100%",
13
- backgroundColor: theme.vars.palette.background.default
14
+ backgroundColor: theme.vars.palette.background.default,
15
+ '& [class*="M4LMenuItem-root"]': {
16
+ ...getSizeStyles(
17
+ theme,
18
+ ownerState?.size || "medium",
19
+ "action",
20
+ (height) => {
21
+ return {
22
+ minHeight: `${height}!important`
23
+ };
24
+ }
25
+ )
26
+ }
14
27
  }),
15
28
  /**
16
29
  * Contenedor que abraza el contenido del menu en primer lugar.
@@ -4,7 +4,7 @@ import clsx from "clsx";
4
4
  import React, { useMemo, cloneElement } from "react";
5
5
  import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
6
6
  import { M as MENUITEM_CLASSES } from "./constants.js";
7
- import { M as MenuItemIconStyled, a as MenuItemSkeletonStyled, b as MenuItemRootStyled, c as MenuItemIconCheckedStyled, d as MenuItemContainerStyled, e as MenuItemTypographyStyled } from "./slots/MenuItemSlots.js";
7
+ import { M as MenuItemIconStyled, a as MenuItemSkeletonStyled, b as MenuItemRootStyled, c as MenuItemIconCheckedStyled, d as MenuItemTypographyStyled } from "./slots/MenuItemSlots.js";
8
8
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
9
9
  const MenuItem = (props) => {
10
10
  const {
@@ -95,20 +95,18 @@ const MenuItem = (props) => {
95
95
  disabled
96
96
  }
97
97
  ),
98
- /* @__PURE__ */ jsxs(MenuItemContainerStyled, { ownerState: { ...ownerState }, className: MENUITEM_CLASSES.menuItemContainer, children: [
99
- renderIcon(startIcon, "MenuItemStartIcon", getComponentSlotRoot("MenuItemStartIcon")),
100
- /* @__PURE__ */ jsx(
101
- MenuItemTypographyStyled,
102
- {
103
- ownerState: { ...ownerState },
104
- variant: "body",
105
- size: adjustedSize,
106
- "data-testid": "MenuItemLabel",
107
- children: label
108
- }
109
- ),
110
- renderIcon(endIcon, "MenuItemEndIcon", getComponentSlotRoot("MenuItemEndIcon"))
111
- ] })
98
+ renderIcon(startIcon, "MenuItemStartIcon", getComponentSlotRoot("MenuItemStartIcon")),
99
+ /* @__PURE__ */ jsx(
100
+ MenuItemTypographyStyled,
101
+ {
102
+ ownerState: { ...ownerState },
103
+ variant: "body",
104
+ size: adjustedSize,
105
+ "data-testid": "MenuItemLabel",
106
+ children: label
107
+ }
108
+ ),
109
+ renderIcon(endIcon, "MenuItemEndIcon", getComponentSlotRoot("MenuItemEndIcon"))
112
110
  ]
113
111
  }
114
112
  );
@@ -1,4 +1,4 @@
1
- import { a as getHeightSizeStyles } from "../../../utils/getSizeStyles/getSizeStyles.js";
1
+ import { g as getSizeStyles } from "../../../utils/getSizeStyles/getSizeStyles.js";
2
2
  const menuItemStyles = {
3
3
  /**
4
4
  * Estilos para el contenedor de los items del menú contenedor
@@ -11,14 +11,15 @@ const menuItemStyles = {
11
11
  };
12
12
  return {
13
13
  width: "100%",
14
- gap: theme.vars.size.baseSpacings.sp4,
15
- paddingTop: theme.vars.size.baseSpacings.sp1,
16
- paddingBottom: theme.vars.size.baseSpacings.sp1,
17
- paddingLeft: theme.vars.size.baseSpacings.sp4,
18
- paddingRight: theme.vars.size.baseSpacings.sp4,
19
- borderRadius: theme.vars.size.borderRadius.r0,
14
+ gap: theme.vars.size.baseSpacings.sp1,
15
+ paddingTop: theme.vars.size.baseSpacings["sp1-5"],
16
+ paddingBottom: theme.vars.size.baseSpacings["sp1-5"],
17
+ paddingLeft: theme.vars.size.baseSpacings.sp2,
18
+ paddingRight: theme.vars.size.baseSpacings.sp2,
20
19
  borderLeft: theme.vars.size.borderStroke.container,
21
20
  borderLeftColor: "transparent",
21
+ transition: "background-color 0.3s ease",
22
+ borderRadius: theme.vars.size.borderRadius["r1-5"],
22
23
  // Estilos base para el texto y el ícono
23
24
  "&&& .M4LTypography-root": {
24
25
  paddingLeft: theme.vars.size.baseSpacings.sp1,
@@ -37,38 +38,32 @@ const menuItemStyles = {
37
38
  }
38
39
  },
39
40
  "&:hover": {
40
- backgroundColor: paletteColor.hoverOpacity,
41
- "& .M4LTypography-root": {
42
- paddingLeft: theme.vars.size.baseSpacings.sp1
43
- }
41
+ backgroundColor: `${paletteColor.hoverOpacity} !important`
44
42
  },
45
- // '&:focus-visible': {
46
- // outline: theme.vars.size.borderStroke.container,
47
- // outlineColor: theme.vars.palette.border.main,
48
- // outlineOffset: theme.vars.size.baseSpacings['sp0-5'],
49
- // },
50
43
  ...ownerState?.selected && {
51
- borderLeftColor: paletteColor.enabled
44
+ backgroundColor: `${paletteColor.opacity} !important`,
45
+ border: theme.vars.size.borderStroke.container,
46
+ borderColor: paletteColor.enabledOpacity
52
47
  },
53
48
  "& .M4LImage-root": {
54
49
  marginRight: 6,
55
50
  marginLeft: 6,
56
- ...getHeightSizeStyles(
57
- theme.generalSettings.isMobile,
51
+ ...getSizeStyles(
52
+ theme,
58
53
  ownerState?.size || "medium",
59
54
  "base",
60
- (val) => {
55
+ (size) => {
61
56
  return {
62
- height: val,
63
- width: val
57
+ height: size,
58
+ width: size
64
59
  };
65
60
  }
66
61
  )
67
62
  },
68
- ...getHeightSizeStyles(
69
- theme.generalSettings.isMobile,
63
+ ...getSizeStyles(
64
+ theme,
70
65
  ownerState?.size || "medium",
71
- "action",
66
+ "box",
72
67
  (height) => {
73
68
  return {
74
69
  //height: 'auto !important',
@@ -113,31 +108,23 @@ const menuItemStyles = {
113
108
  textOverflow: "ellipsis",
114
109
  cursor: "inherit"
115
110
  }),
116
- /**
117
- * Estilos para el contenedor de los items del menú contenedor
118
- */
119
- menuItemContainer: ({ theme }) => ({
120
- display: "flex",
121
- alignItems: "center",
122
- width: "100%",
123
- gap: theme.vars.size.baseSpacings["sp0-5"],
124
- overflow: "hidden"
125
- }),
126
111
  /**
127
112
  * Estilos para el contenedor de los items del menú en skeleton
128
113
  */
129
114
  skeletonMenuItem: ({ theme, ownerState }) => ({
130
- width: "100%",
131
- padding: theme.vars.size.baseSpacings.sp2,
132
- borderRadius: theme.vars.size.borderRadius.r0,
133
- display: "flex",
134
- alignItems: "center",
135
- background: theme.vars.palette.skeleton.default,
136
- ...getHeightSizeStyles(
137
- theme.generalSettings.isMobile,
138
- ownerState?.size || "medium",
139
- "action"
140
- )
115
+ "&&&": {
116
+ width: "100%",
117
+ padding: theme.vars.size.baseSpacings.sp2,
118
+ borderRadius: theme.vars.size.borderRadius["r1-5"],
119
+ display: "flex",
120
+ alignItems: "center",
121
+ background: `${theme.vars.palette.skeleton.default} !important`,
122
+ ...getSizeStyles(
123
+ theme,
124
+ ownerState?.size || "medium",
125
+ "action"
126
+ )
127
+ }
141
128
  })
142
129
  };
143
130
  export {
@@ -9,4 +9,4 @@ export declare const MENUITEM_KEY_COMPONENT = "M4LMenuItem";
9
9
  /**
10
10
  * Inventario de clases CSS para el componente MenuItem
11
11
  */
12
- export declare const MENUITEM_CLASSES: Record<"root" | "menuItemIcon" | "menuItemIconChecked" | "menuItemContainer" | "skeletonMenuItem" | "menuItemTypography", string>;
12
+ export declare const MENUITEM_CLASSES: Record<"root" | "menuItemIcon" | "menuItemIconChecked" | "skeletonMenuItem" | "menuItemTypography", string>;
@@ -2,7 +2,6 @@ export declare enum MenuItemSlots {
2
2
  root = "menuItemRoot",
3
3
  menuItemIcon = "menuItemIcon",
4
4
  menuItemIconChecked = "menuItemIconChecked",
5
- menuItemContainer = "menuItemContainer",
6
5
  skeletonMenuItem = "skeletonMenuItem",
7
6
  menuItemTypography = "menuItemTypography"
8
7
  }
@@ -2,7 +2,6 @@ var MenuItemSlots = /* @__PURE__ */ ((MenuItemSlots2) => {
2
2
  MenuItemSlots2["root"] = "menuItemRoot";
3
3
  MenuItemSlots2["menuItemIcon"] = "menuItemIcon";
4
4
  MenuItemSlots2["menuItemIconChecked"] = "menuItemIconChecked";
5
- MenuItemSlots2["menuItemContainer"] = "menuItemContainer";
6
5
  MenuItemSlots2["skeletonMenuItem"] = "skeletonMenuItem";
7
6
  MenuItemSlots2["menuItemTypography"] = "menuItemTypography";
8
7
  return MenuItemSlots2;
@@ -3,9 +3,6 @@ declare const MenuItemRootStyled: import('@emotion/styled').StyledComponent<Pick
3
3
  }, "children" | "divider" | "selected" | "disabled" | "action" | "className" | "style" | "classes" | "sx" | "autoFocus" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters">, "value" | "children" | "ref" | "title" | "id" | "divider" | "selected" | "disabled" | "action" | "color" | "content" | "translate" | "className" | "style" | "classes" | "sx" | "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" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
4
4
  ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
5
5
  }, {}, {}>;
6
- declare const MenuItemContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown> & {
7
- ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
8
- }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
9
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" | "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" | "flex" | "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> & {
10
7
  ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
11
8
  }, {}, {}>;
@@ -18,4 +15,4 @@ declare const MenuItemIconCheckedStyled: import('@emotion/styled').StyledCompone
18
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> & {
19
16
  ownerState?: (Partial<import('..').MenuItemOwnerState> & Record<string, unknown>) | undefined;
20
17
  }, {}, {}>;
21
- export { MenuItemRootStyled, MenuItemIconStyled, MenuItemIconCheckedStyled, MenuItemTypographyStyled, MenuItemContainerStyled, MenuItemSkeletonStyled, };
18
+ export { MenuItemRootStyled, MenuItemIconStyled, MenuItemIconCheckedStyled, MenuItemTypographyStyled, MenuItemSkeletonStyled, };
@@ -10,10 +10,6 @@ const MenuItemRootStyled = styled(MenuItem, {
10
10
  name: MENUITEM_KEY_COMPONENT,
11
11
  slot: MenuItemSlots.root
12
12
  })(menuItemStyles?.root);
13
- const MenuItemContainerStyled = styled("div", {
14
- name: MENUITEM_KEY_COMPONENT,
15
- slot: MenuItemSlots.menuItemContainer
16
- })(menuItemStyles?.menuItemContainer);
17
13
  const MenuItemTypographyStyled = styled(Typography, {
18
14
  name: MENUITEM_KEY_COMPONENT,
19
15
  slot: MenuItemSlots.menuItemTypography
@@ -35,6 +31,5 @@ export {
35
31
  MenuItemSkeletonStyled as a,
36
32
  MenuItemRootStyled as b,
37
33
  MenuItemIconCheckedStyled as c,
38
- MenuItemContainerStyled as d,
39
- MenuItemTypographyStyled as e
34
+ MenuItemTypographyStyled as d
40
35
  };
@@ -234,7 +234,7 @@ const Select = forwardRef(
234
234
  disabled,
235
235
  selected: isSelected,
236
236
  label: option.label,
237
- startIcon: RenderIcon(option.startAdornment)
237
+ startIcon: option.startAdornment
238
238
  },
239
239
  String(option.id)
240
240
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.4.7-BE20260106-beta.1",
3
+ "version": "9.4.7-BE20260109-beta.3",
4
4
  "license": "UNLICENSED",
5
5
  "description": "M4L Components",
6
6
  "lint-staged": {
@@ -1 +0,0 @@
1
- export {};