@m4l/components 9.1.62 → 9.1.64

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 (75) 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/Label/Label.d.ts +0 -8
  17. package/components/Label/Label.js +31 -14
  18. package/components/Label/Label.styles.js +79 -88
  19. package/components/Label/constants.d.ts +2 -0
  20. package/components/Label/constants.js +6 -1
  21. package/components/Label/types.d.ts +9 -3
  22. package/components/LanguagePopover/LanguagePopover.js +1 -1
  23. package/components/PropertyValue/PropertyValue.js +1 -1
  24. package/components/ToastContainer/ToastContainer.js +1 -1
  25. package/components/WindowBase/WindowBase.js +1 -1
  26. package/components/WindowConfirm/WindowConfirm.js +1 -1
  27. package/components/areas/components/AreasViewer/index.js +1 -1
  28. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/index.js +1 -1
  29. package/components/commercial/TopBar/TopBar.js +1 -1
  30. package/components/commercial/TopBar/component/ConteinItem/index.js +1 -1
  31. package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/index.js +1 -1
  32. package/components/formatters/BooleanFormatter/BooleanFormatter.js +1 -1
  33. package/components/formatters/PeriodFormatter/PeriodFormatter.js +1 -1
  34. package/components/formatters/PointsFormatter/PointsFormatter.js +1 -1
  35. package/components/hook-form/RHFAutocomplete/oldTypes.d.ts +1 -1
  36. package/components/hook-form/RHFAutocomplete/types.d.ts +1 -1
  37. package/components/hook-form/RHFColorPicker/RFHColorPicker.js +11 -89
  38. package/components/hook-form/RHFColorPicker/RHFColorPicker.styles.js +0 -99
  39. package/components/hook-form/RHFColorPicker/constants.d.ts +0 -1
  40. package/components/hook-form/RHFColorPicker/constants.js +1 -3
  41. package/components/hook-form/RHFColorPicker/slots/RHFColorPickerEnum.d.ts +1 -3
  42. package/components/hook-form/RHFColorPicker/slots/RHFColorPickerEnum.js +0 -2
  43. package/components/hook-form/RHFColorPicker/slots/RHFColorPickerSlots.d.ts +1 -19
  44. package/components/hook-form/RHFColorPicker/slots/RHFColorPickerSlots.js +3 -15
  45. package/components/hook-form/RHFPeriod/RHFPeriod.js +1 -1
  46. package/components/hook-form/RHFTextField/RHFTextField.js +1 -1
  47. package/components/hook-form/RHFTextField/types.d.ts +1 -1
  48. package/components/maps/components/Map/popups/MapPopupMyGps/MapPopupMyGps.js +1 -1
  49. package/components/mui_extended/Accordion/Accordion.js +1 -1
  50. package/components/mui_extended/Avatar/Avatar.js +1 -1
  51. package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.js +1 -1
  52. package/components/mui_extended/Badge/Badge.js +1 -1
  53. package/components/mui_extended/CircularProgress/CircularProgress.js +1 -1
  54. package/components/mui_extended/Dialog/Dialog.js +1 -1
  55. package/components/mui_extended/IconButton/IconButton.js +57 -58
  56. package/components/mui_extended/IconButton/IconButton.styles.js +0 -12
  57. package/components/mui_extended/IconButton/slots/IconButtonEnum.d.ts +0 -1
  58. package/components/mui_extended/IconButton/slots/IconButtonEnum.js +0 -1
  59. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +0 -3
  60. package/components/mui_extended/IconButton/slots/IconButtonSlots.js +2 -6
  61. package/components/mui_extended/ImageButton/ImageButton.js +1 -1
  62. package/components/mui_extended/Popover/Popover.js +1 -1
  63. package/components/mui_extended/TextField/TextField.js +1 -1
  64. package/components/mui_extended/ToggleButton/ToggleButton.js +1 -1
  65. package/components/mui_extended/ToggleIconButton/ToggleIconButton.js +1 -1
  66. package/components/mui_extended/Typography/Typography.js +1 -1
  67. package/index.d.ts +4 -0
  68. package/package.json +1 -1
  69. package/patchLibErrors/defaultPropsError.d.ts +2 -0
  70. package/patchLibErrors/defaultPropsError.js +1 -0
  71. package/patchLibErrors/index.d.ts +1 -0
  72. package/patchLibErrors/index.js +1 -0
  73. package/{components/Label/stories/PaletteColor/VariantsLabel/LabelDefaultPredeterminado.stories.d.ts → storybook/components/Label/Label.stories.d.ts} +4 -6
  74. package/test/getNameDataTestId.js +2 -2
  75. package/components/Label/stories/PaletteColor/VariantsLabel/LabelDefaultInternal.stories.d.ts +0 -18
@@ -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.62",
3
+ "version": "9.1.64",
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
+
@@ -1,5 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
- import { Label } from '../../../Label';
2
+ import { Label } from '../../../src/components/Label/Label';
3
3
  /**
4
4
  * Label es un componente React que renderiza una etiqueta de texto, la cual puede ser utilizada en formularios o en cualquier
5
5
  * lugar donde se necesite una descripción textual.
@@ -11,8 +11,6 @@ declare const meta: Meta<typeof Label>;
11
11
  export default meta;
12
12
  type Story = StoryObj<typeof Label>;
13
13
  /** Label component Props Comunes */
14
- export declare const MandatoryAndHelpmessage: Story;
15
- /** Label component With props `mandatory=true` */
16
- export declare const Mandatory: Story;
17
- /** Label component With props `helperMessage` */
18
- export declare const Base: Story;
14
+ export declare const LabelDefault: Story;
15
+ /** Label component mode Skeleton With props `helperMessage` */
16
+ export declare const LabelDefaultSkeleton: Story;
@@ -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
  };
@@ -1,18 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { Label } from '../../../Label';
3
- /**
4
- * Label es un componente React que renderiza una etiqueta de texto, la cual puede ser utilizada en formularios o en cualquier
5
- * lugar donde se necesite una descripción textual.
6
- * Soporta la visualización de un indicador de campo obligatorio, mensaje de ayuda a través
7
- * de un tooltip, y puede adaptar su tamaño. El componente también puede mostrar un estado de esqueleto, indicando
8
- * que el contenido está cargando.
9
- */
10
- declare const meta: Meta<typeof Label>;
11
- export default meta;
12
- type Story = StoryObj<typeof Label>;
13
- /** Label component mode Skeleton With props `helperMessage` */
14
- export declare const MandatoryAndHelpMessage: Story;
15
- /** Label component With props `mandatory=true` in mode Skeleton */
16
- export declare const Mandatory: Story;
17
- /** Base Label component mode Skeleton */
18
- export declare const BaseSkeleton: Story;