@m4l/components 9.1.63 → 9.1.65

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 (64) hide show
  1. package/components/Color/Color.js +136 -38
  2. package/components/Color/Color.styles.d.ts +0 -4
  3. package/components/Color/Color.styles.js +107 -54
  4. package/components/Color/constants.d.ts +0 -1
  5. package/components/Color/constants.js +1 -3
  6. package/components/Color/slots/ColorEnum.d.ts +3 -2
  7. package/components/Color/slots/ColorEnum.js +2 -1
  8. package/components/Color/slots/ColorSlots.d.ts +14 -10
  9. package/components/Color/slots/ColorSlots.js +16 -10
  10. package/components/Color/types.d.ts +14 -25
  11. package/components/DataGrid/index.js +1 -1
  12. package/components/DynamicFilter/subcomponents/DynamicFilterBase/DynamicFilterBase.js +1 -1
  13. package/components/Icon/Icon.js +1 -1
  14. package/components/Image/Image.js +1 -1
  15. package/components/Image/subcomponents/IntersectComponent/index.js +1 -1
  16. package/components/LanguagePopover/LanguagePopover.js +1 -1
  17. package/components/PropertyValue/PropertyValue.js +1 -1
  18. package/components/ToastContainer/ToastContainer.js +1 -1
  19. package/components/WindowBase/WindowBase.js +1 -1
  20. package/components/WindowConfirm/WindowConfirm.js +1 -1
  21. package/components/areas/components/AreasViewer/index.js +1 -1
  22. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/index.js +1 -1
  23. package/components/commercial/TopBar/TopBar.js +1 -1
  24. package/components/commercial/TopBar/component/ConteinItem/index.js +1 -1
  25. package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/index.js +1 -1
  26. package/components/formatters/BooleanFormatter/BooleanFormatter.js +1 -1
  27. package/components/formatters/PeriodFormatter/PeriodFormatter.js +1 -1
  28. package/components/formatters/PointsFormatter/PointsFormatter.js +1 -1
  29. package/components/hook-form/RHFColorPicker/RFHColorPicker.js +11 -89
  30. package/components/hook-form/RHFColorPicker/RHFColorPicker.styles.js +1 -100
  31. package/components/hook-form/RHFColorPicker/constants.d.ts +0 -1
  32. package/components/hook-form/RHFColorPicker/constants.js +1 -3
  33. package/components/hook-form/RHFColorPicker/slots/RHFColorPickerEnum.d.ts +1 -3
  34. package/components/hook-form/RHFColorPicker/slots/RHFColorPickerEnum.js +0 -2
  35. package/components/hook-form/RHFColorPicker/slots/RHFColorPickerSlots.d.ts +1 -19
  36. package/components/hook-form/RHFColorPicker/slots/RHFColorPickerSlots.js +3 -15
  37. package/components/hook-form/RHFPeriod/RHFPeriod.js +1 -1
  38. package/components/hook-form/RHFTextField/RHFTextField.js +1 -1
  39. package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.js +1 -1
  40. package/components/mui_extended/Accordion/Accordion.js +1 -1
  41. package/components/mui_extended/Avatar/Avatar.js +1 -1
  42. package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.js +1 -1
  43. package/components/mui_extended/Badge/Badge.js +1 -1
  44. package/components/mui_extended/CircularProgress/CircularProgress.js +1 -1
  45. package/components/mui_extended/Dialog/Dialog.js +1 -1
  46. package/components/mui_extended/IconButton/IconButton.js +57 -58
  47. package/components/mui_extended/IconButton/IconButton.styles.js +0 -12
  48. package/components/mui_extended/IconButton/slots/IconButtonEnum.d.ts +0 -1
  49. package/components/mui_extended/IconButton/slots/IconButtonEnum.js +0 -1
  50. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +0 -3
  51. package/components/mui_extended/IconButton/slots/IconButtonSlots.js +2 -6
  52. package/components/mui_extended/ImageButton/ImageButton.js +1 -1
  53. package/components/mui_extended/Popover/Popover.js +1 -1
  54. package/components/mui_extended/TextField/TextField.js +1 -1
  55. package/components/mui_extended/ToggleButton/ToggleButton.js +1 -1
  56. package/components/mui_extended/ToggleIconButton/ToggleIconButton.js +1 -1
  57. package/components/mui_extended/Typography/Typography.js +1 -1
  58. package/index.d.ts +4 -0
  59. package/package.json +1 -1
  60. package/patchLibErrors/defaultPropsError.d.ts +2 -0
  61. package/patchLibErrors/defaultPropsError.js +1 -0
  62. package/patchLibErrors/index.d.ts +1 -0
  63. package/patchLibErrors/index.js +1 -0
  64. package/test/getNameDataTestId.js +2 -2
@@ -1,4 +1,4 @@
1
- import { jsxs, Fragment, jsx } from "react/jsx-runtime";
1
+ import { jsx, Fragment } from "react/jsx-runtime";
2
2
  import { forwardRef, useMemo } from "react";
3
3
  import { useModuleSkeleton, getPropertyByString } from "@m4l/core";
4
4
  import { useTheme } from "@mui/material";
@@ -6,8 +6,8 @@ import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.j
6
6
  import { e as evalIconColor } from "./helpers/evalIconColor.js";
7
7
  import { I as ICON_BUTTON_KEY_COMPONENT } from "./constants.js";
8
8
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
9
+ import { S as SkeletonStyled, a as StyledMUIIconButton, B as BadgeStyled } from "./slots/IconButtonSlots.js";
9
10
  import { T as Tooltip } from "../Tooltip/Tooltip.js";
10
- import { S as StyledMUIIconButton, B as BadgeStyled, a as SkeletonStyled } from "./slots/IconButtonSlots.js";
11
11
  import { I as Icon } from "../../Icon/Icon.js";
12
12
  const IconButton = forwardRef((props, ref) => {
13
13
  const {
@@ -70,62 +70,61 @@ const IconButton = forwardRef((props, ref) => {
70
70
  );
71
71
  }
72
72
  };
73
- return /* @__PURE__ */ jsxs(Fragment, { children: [
74
- tooltipContent ? /* @__PURE__ */ jsx(
75
- Tooltip,
76
- {
77
- title: tooltipContent.toString(),
78
- placement,
79
- children: /* @__PURE__ */ jsx(
80
- StyledMUIIconButton,
81
- {
82
- ref,
83
- className: classRoot,
84
- ownerState: { ...OwnerState },
85
- onClick: !disabled ? onClick : void 0,
86
- disableRipple: true,
87
- disabled,
88
- "data-testid": "IconButtonRoot",
89
- tabIndex: 0,
90
- role: "button",
91
- ...other,
92
- children: badgeContent ? /* @__PURE__ */ jsx(
93
- BadgeStyled,
94
- {
95
- ownerState: { ...OwnerState },
96
- badgeContent,
97
- componentPaletteColor,
98
- children: renderIcon(icon || src)
99
- }
100
- ) : /* @__PURE__ */ jsx(Fragment, { children: renderIcon(icon || src) })
101
- }
102
- )
103
- }
104
- ) : /* @__PURE__ */ jsx(
105
- StyledMUIIconButton,
106
- {
107
- ref,
108
- className: classRoot,
109
- ownerState: { ...OwnerState },
110
- onClick: !disabled ? onClick : void 0,
111
- disableRipple: true,
112
- disabled,
113
- "data-testid": "IconButtonRoot",
114
- tabIndex: 0,
115
- ...other,
116
- children: badgeContent ? /* @__PURE__ */ jsx(
117
- BadgeStyled,
118
- {
119
- ownerState: { ...OwnerState },
120
- badgeContent,
121
- componentPaletteColor,
122
- children: renderIcon(icon || src)
123
- }
124
- ) : /* @__PURE__ */ jsx(Fragment, { children: renderIcon(icon || src) })
125
- }
126
- ),
127
- isSkeleton && /* @__PURE__ */ jsx(SkeletonStyled, { ownerState: { ...OwnerState } })
128
- ] });
73
+ if (isSkeleton) {
74
+ return /* @__PURE__ */ jsx(SkeletonStyled, { ownerState: { ...OwnerState } });
75
+ }
76
+ return /* @__PURE__ */ jsx(Fragment, { children: tooltipContent ? /* @__PURE__ */ jsx(
77
+ Tooltip,
78
+ {
79
+ title: tooltipContent.toString(),
80
+ placement,
81
+ children: /* @__PURE__ */ jsx(
82
+ StyledMUIIconButton,
83
+ {
84
+ ref,
85
+ className: classRoot,
86
+ ownerState: { ...OwnerState },
87
+ onClick: !disabled ? onClick : void 0,
88
+ disableRipple: true,
89
+ disabled,
90
+ "data-testid": "IconButtonRoot",
91
+ tabIndex: 0,
92
+ role: "button",
93
+ ...other,
94
+ children: badgeContent ? /* @__PURE__ */ jsx(
95
+ BadgeStyled,
96
+ {
97
+ ownerState: { ...OwnerState },
98
+ badgeContent,
99
+ componentPaletteColor,
100
+ children: renderIcon(icon || src)
101
+ }
102
+ ) : /* @__PURE__ */ jsx(Fragment, { children: renderIcon(icon || src) })
103
+ }
104
+ )
105
+ }
106
+ ) : /* @__PURE__ */ jsx(
107
+ StyledMUIIconButton,
108
+ {
109
+ ref,
110
+ className: classRoot,
111
+ ownerState: { ...OwnerState },
112
+ onClick: !disabled ? onClick : void 0,
113
+ disableRipple: true,
114
+ disabled,
115
+ "data-testid": "IconButtonRoot",
116
+ ...other,
117
+ children: badgeContent ? /* @__PURE__ */ jsx(
118
+ BadgeStyled,
119
+ {
120
+ ownerState: { ...OwnerState },
121
+ badgeContent,
122
+ componentPaletteColor,
123
+ children: renderIcon(icon || src)
124
+ }
125
+ ) : /* @__PURE__ */ jsx(Fragment, { children: renderIcon(icon || src) })
126
+ }
127
+ ) });
129
128
  });
130
129
  export {
131
130
  IconButton as I
@@ -171,18 +171,6 @@ const iconButtonStyles = {
171
171
  // }),
172
172
  // },
173
173
  }),
174
- /**
175
- * Slot de contenedor de reactNode
176
- * @author Andrés Quintero - automatic
177
- * @createdAt 2024-12-27 08:27:31 - automatic
178
- * @updatedAt 2025-01-03 11:42:14 - automatic
179
- * @updatedUser Andrés Quintero - automatic
180
- */
181
- containReact: ({ isSkeleton }) => ({
182
- display: isSkeleton ? "none" : "flex",
183
- width: "100%",
184
- height: "100%"
185
- }),
186
174
  /**
187
175
  * Slot skeleton con sus estilos de tamaño
188
176
  * @author Andrés Quintero - automatic
@@ -1,6 +1,5 @@
1
1
  export declare enum IconButtonSlots {
2
2
  styledMUIIconButton = "styledMUIIconButton",
3
- containReact = "containReact",
4
3
  badgeIconButton = "badgeIconButton",
5
4
  skeleton = "skeleton"
6
5
  }
@@ -1,6 +1,5 @@
1
1
  var IconButtonSlots = /* @__PURE__ */ ((IconButtonSlots2) => {
2
2
  IconButtonSlots2["styledMUIIconButton"] = "styledMUIIconButton";
3
- IconButtonSlots2["containReact"] = "containReact";
4
3
  IconButtonSlots2["badgeIconButton"] = "badgeIconButton";
5
4
  IconButtonSlots2["skeleton"] = "skeleton";
6
5
  return IconButtonSlots2;
@@ -3,9 +3,6 @@ export declare const StyledMUIIconButton: import('@emotion/styled').StyledCompon
3
3
  }, "children" | "size" | "action" | "color" | "style" | "disabled" | "sx" | "classes" | "className" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge">, "children" | "value" | "ref" | "title" | "size" | "name" | "id" | "type" | "action" | "hidden" | "color" | "content" | "style" | "disabled" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "form" | "key" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').IconButtonOwnerState> & Record<string, unknown> & {
4
4
  ownerState: Partial<import('../types').IconButtonOwnerState> & Record<string, unknown>;
5
5
  }, {}, {}>;
6
- export declare const ContainReactStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').IconButtonOwnerState> & Record<string, unknown> & {
7
- ownerState: Partial<import('../types').IconButtonOwnerState> & Record<string, unknown>;
8
- }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<HTMLDivElement>>, {}>;
9
6
  export declare const BadgeStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').BadgeOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
10
7
  ref?: ((instance: HTMLSpanElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLSpanElement> | null | undefined;
11
8
  }, "children" | "components" | "color" | "style" | "variant" | "sx" | "classes" | "className" | "componentsProps" | "slotProps" | "slots" | "max" | "badgeContent" | "anchorOrigin" | "invisible" | "overlap" | "showZero">, "children" | "ref" | "title" | "id" | "components" | "hidden" | "color" | "content" | "style" | "variant" | "translate" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "slot" | "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" | "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" | "onResize" | "onResizeCapture" | "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" | "slotProps" | "slots" | "key" | "max" | "badgeContent" | "anchorOrigin" | "invisible" | "overlap" | "showZero"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').IconButtonOwnerState> & Record<string, unknown> & {
@@ -8,10 +8,6 @@ const StyledMUIIconButton = styled(IconButton, {
8
8
  name: ICON_BUTTON_KEY_COMPONENT,
9
9
  slot: IconButtonSlots.styledMUIIconButton
10
10
  })(iconButtonStyles?.styledMUIIconButton);
11
- styled("div", {
12
- name: ICON_BUTTON_KEY_COMPONENT,
13
- slot: IconButtonSlots.containReact
14
- })(iconButtonStyles?.containReact);
15
11
  const BadgeStyled = styled(Badge, {
16
12
  name: ICON_BUTTON_KEY_COMPONENT,
17
13
  slot: IconButtonSlots.badgeIconButton
@@ -22,6 +18,6 @@ const SkeletonStyled = styled(Skeleton, {
22
18
  })(iconButtonStyles?.skeleton);
23
19
  export {
24
20
  BadgeStyled as B,
25
- StyledMUIIconButton as S,
26
- SkeletonStyled as a
21
+ SkeletonStyled as S,
22
+ StyledMUIIconButton as a
27
23
  };
@@ -6,7 +6,7 @@ import { I as Image } from "../../Image/Image.js";
6
6
  import { W as WrapperImageButton } from "./styles.js";
7
7
  import { u as useUtilityClasses } from "./utils/Clases/index.js";
8
8
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.js";
9
- import { g as getNameDataTestId } from "../../../test/getNameDataTestId.js";
9
+ import { a as getNameDataTestId } from "../../../test/getNameDataTestId.js";
10
10
  import { I as IMAGE_BUTTON_KEY_COMPONENT } from "./tests/constants.js";
11
11
  function ImageButton({
12
12
  src,
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- import { a as getPropDataTestId } from "../../../test/getNameDataTestId.js";
2
+ import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
3
3
  import { P as POPOVER_CLASS_NAME_SPECIFY, a as POPOVER_PREFIX } from "./constants.js";
4
4
  import clsx from "clsx";
5
5
  import { P as PopoverRootStyled } from "./slots/PopoverSlots.js";
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { useModuleSkeleton } from "@m4l/core";
3
3
  import clsx from "clsx";
4
4
  import { S as SkeletonStyled, T as TextFieldRootStyled } from "./slots/TextFieldSlots.js";
5
- import { a as getPropDataTestId } from "../../../test/getNameDataTestId.js";
5
+ import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
6
6
  import { T as TEXT_FIELD_CLASSES, a as TEXT_FIELD_KEY_COMPONENT } from "./constants.js";
7
7
  import { T as TextFieldSlots } from "./slots/TextFieldEnum.js";
8
8
  import { useTheme } from "@mui/material";
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { w as withToggle } from "../../../hocs/withToggle/index.js";
3
3
  import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
4
- import { a as getPropDataTestId } from "../../../test/getNameDataTestId.js";
4
+ import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
5
5
  import clsx from "clsx";
6
6
  import { T as TOGGLE_BUTTON_KEY_COMPONENT } from "./constants.js";
7
7
  import { T as ToggleButtonRootStyled } from "./slots/ToggleButtonSlots.js";
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { T as TOGGLE_ICON_BUTTON_KEY_COMPONENT } from "./constants.js";
3
3
  import { a as getComponentSlotRoot } from "../../../utils/getComponentSlotRoot.js";
4
4
  import clsx from "clsx";
5
- import { a as getPropDataTestId } from "../../../test/getNameDataTestId.js";
5
+ import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
6
6
  import { w as withToggle } from "../../../hocs/withToggle/index.js";
7
7
  import { T as ToggleIconButtonRootStyled } from "./slots/ToggleIconButtonSlots.js";
8
8
  import { T as ToggleIconButtonSlots } from "./slots/ToggleIconButtonEnum.js";
@@ -4,7 +4,7 @@ import { useModuleSkeleton } from "@m4l/core";
4
4
  import { T as TYPOGRAPHY_CLASS_NAME_SPECIFY, a as TYPOGRAPHY_CLASSES, b as TYPOGRAPHY_KEY_COMPONENT } from "./constants.js";
5
5
  import { T as TypographySlots } from "./slots/typographyEnum.js";
6
6
  import { S as StyledMUITypography, a as StyledSkeleton } from "./slots/typographySlots.js";
7
- import { a as getPropDataTestId } from "../../../test/getNameDataTestId.js";
7
+ import { g as getPropDataTestId } from "../../../test/getNameDataTestId.js";
8
8
  import { u as useComponentSize } from "../../../hooks/useComponentSize/useComponentSize.js";
9
9
  function Typography(props) {
10
10
  const {
package/index.d.ts CHANGED
@@ -1,3 +1,7 @@
1
+ /**
2
+ * Esta importación soluciona errores de librerías de terceros.
3
+ */
4
+ export * from './patchLibErrors';
1
5
  export * from './components';
2
6
  export * from './contexts';
3
7
  export * from './hooks';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.1.63",
3
+ "version": "9.1.65",
4
4
  "license": "UNLICENSED",
5
5
  "lint-staged": {
6
6
  "*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export * from './defaultPropsError';
@@ -0,0 +1 @@
1
+
@@ -12,6 +12,6 @@ function getPropDataTestId(componentName, slotKey, instaceId) {
12
12
  }
13
13
  }
14
14
  export {
15
- getPropDataTestId as a,
16
- getNameDataTestId as g
15
+ getNameDataTestId as a,
16
+ getPropDataTestId as g
17
17
  };