@m4l/components 9.4.9 → 9.4.10

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.
@@ -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.9",
3
+ "version": "9.4.10",
4
4
  "license": "UNLICENSED",
5
5
  "description": "M4L Components",
6
6
  "lint-staged": {