@m4l/components 9.1.37 → 9.1.39

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 (81) hide show
  1. package/@types/types.d.ts +13 -4
  2. package/components/AccountPopover/slots/AccountPopoverSlots.d.ts +1 -1
  3. package/components/CommonActions/components/ActionCancel/slots/ActionsCancelSlots.d.ts +1 -1
  4. package/components/CommonActions/components/ActionIntro/slots/ActionsIntroSlots.d.ts +1 -1
  5. package/components/DataGrid/subcomponents/Actions/subcomponents/Density/index.js +1 -1
  6. package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/index.js +1 -1
  7. package/components/DataGrid/subcomponents/Table/subcomponents/ActionsColumn.js +1 -1
  8. package/components/DataGrid/types.d.ts +1 -1
  9. package/components/{mui_extended/MenuActions → MenuActions}/MenuActions.d.ts +2 -2
  10. package/components/MenuActions/MenuActions.js +134 -0
  11. package/components/{mui_extended/MenuActions → MenuActions}/MenuActions.styles.js +1 -13
  12. package/components/{mui_extended/MenuActions → MenuActions}/slots/MenuActionsEnum.d.ts +1 -4
  13. package/components/{mui_extended/MenuActions → MenuActions}/slots/MenuActionsEnum.js +0 -3
  14. package/components/MenuActions/slots/MenuActionsSlots.d.ts +20 -0
  15. package/components/MenuActions/slots/MenuActionsSlots.js +17 -0
  16. package/components/{mui_extended/MenuActions → MenuActions}/types.d.ts +26 -6
  17. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +1 -1
  18. package/components/WindowBase/slots/WindowBaseSlots.d.ts +1 -1
  19. package/components/WindowBase/slots/WindowBaseSlots.js +1 -1
  20. package/components/WindowBase/subcomponents/Header/types.d.ts +1 -1
  21. package/components/WindowConfirm/slots/WindowConfirmSlots.d.ts +2 -2
  22. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.js +1 -1
  23. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.js +1 -1
  24. package/components/areas/components/AreasAdmin/subcomponents/PanelWindowPopUp/index.js +1 -1
  25. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/index.js +1 -1
  26. package/components/areas/types.d.ts +1 -1
  27. package/components/hook-form/RHFColorPicker/RFHColorPicker.js +1 -1
  28. package/components/index.d.ts +2 -0
  29. package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/useRowActionsGetter.d.ts +1 -1
  30. package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +1 -1
  31. package/components/mui_extended/Autocomplete/slots /AutocompleteSlots.d.ts +1 -1
  32. package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +1 -1
  33. package/components/mui_extended/Button/slots/ButtonSlots.d.ts +1 -1
  34. package/components/mui_extended/IconButton/IconButton.js +17 -17
  35. package/components/mui_extended/IconButton/IconButton.styles.js +2 -30
  36. package/components/mui_extended/IconButton/slots/IconButtonEnum.d.ts +0 -2
  37. package/components/mui_extended/IconButton/slots/IconButtonEnum.js +0 -2
  38. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +1 -7
  39. package/components/mui_extended/IconButton/slots/IconButtonSlots.js +1 -14
  40. package/components/mui_extended/IconButton/types.d.ts +7 -2
  41. package/components/mui_extended/LoadingButton/slots/LoadingButtonSlots.d.ts +1 -1
  42. package/components/mui_extended/Popover/Popover.d.ts +13 -5
  43. package/components/mui_extended/Popover/Popover.js +29 -30
  44. package/components/mui_extended/Popover/Popover.styles.d.ts +2 -0
  45. package/components/mui_extended/Popover/Popover.styles.js +20 -0
  46. package/components/mui_extended/Popover/constants.d.ts +7 -0
  47. package/components/mui_extended/Popover/constants.js +8 -0
  48. package/components/mui_extended/Popover/slots/PopoverEnum.d.ts +4 -0
  49. package/components/mui_extended/Popover/slots/PopoverEnum.js +8 -0
  50. package/components/mui_extended/Popover/slots/PopoverSlots.d.ts +3 -0
  51. package/components/mui_extended/Popover/slots/PopoverSlots.js +12 -0
  52. package/components/mui_extended/Popover/slots/index.d.ts +2 -0
  53. package/components/mui_extended/Popover/slots/index.js +1 -0
  54. package/components/mui_extended/Popover/types.d.ts +17 -6
  55. package/components/mui_extended/Popper/slots/PopperStlots.d.ts +1 -1
  56. package/components/mui_extended/ToggleButton/slots/ToggleButtonSlots.d.ts +1 -1
  57. package/components/mui_extended/Tooltip/types.d.ts +0 -2
  58. package/components/mui_extended/index.d.ts +0 -2
  59. package/index.js +9 -9
  60. package/package.json +1 -1
  61. package/components/mui_extended/MenuActions/MenuActions.js +0 -133
  62. package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +0 -47
  63. package/components/mui_extended/MenuActions/slots/MenuActionsSlots.js +0 -35
  64. package/components/mui_extended/Popover/classes/index.d.ts +0 -11
  65. package/components/mui_extended/Popover/classes/index.js +0 -51
  66. package/components/mui_extended/Popover/classes/types.d.ts +0 -17
  67. package/components/mui_extended/Popover/styles.d.ts +0 -1
  68. package/components/mui_extended/Popover/styles.js +0 -8
  69. package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +0 -2
  70. package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.js +0 -61
  71. /package/components/{mui_extended/MenuActions → MenuActions}/MenuActions.styles.d.ts +0 -0
  72. /package/components/{mui_extended/MenuActions → MenuActions}/MenuActions.test.d.ts +0 -0
  73. /package/components/{mui_extended/MenuActions → MenuActions}/constants.d.ts +0 -0
  74. /package/components/{mui_extended/MenuActions → MenuActions}/constants.js +0 -0
  75. /package/components/{mui_extended/MenuActions → MenuActions}/dictionary.d.ts +0 -0
  76. /package/components/{mui_extended/MenuActions → MenuActions}/dictionary.js +0 -0
  77. /package/components/{mui_extended/MenuActions → MenuActions}/index.d.ts +0 -0
  78. /package/components/{mui_extended/MenuActions → MenuActions}/index.js +0 -0
  79. /package/components/{mui_extended/MenuActions → MenuActions}/slots/index.d.ts +0 -0
  80. /package/components/{mui_extended/MenuActions → MenuActions}/slots/index.js +0 -0
  81. /package/components/mui_extended/Popover/{index.test.d.ts → popover.test.d.ts} +0 -0
@@ -1,9 +1,7 @@
1
1
  var IconButtonSlots = /* @__PURE__ */ ((IconButtonSlots2) => {
2
2
  IconButtonSlots2["styledMUIIconButton"] = "styledMUIIconButton";
3
3
  IconButtonSlots2["containReact"] = "containReact";
4
- IconButtonSlots2["icon"] = "icon";
5
4
  IconButtonSlots2["badgeIconButton"] = "badgeIconButton";
6
- IconButtonSlots2["tooltip"] = "tooltip";
7
5
  IconButtonSlots2["skeleton"] = "skeleton";
8
6
  return IconButtonSlots2;
9
7
  })(IconButtonSlots || {});
@@ -6,15 +6,9 @@ export declare const StyledMUIIconButton: import('@emotion/styled').StyledCompon
6
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
7
  ownerState: Partial<import('../types').IconButtonOwnerState> & Record<string, unknown>;
8
8
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
9
- export declare const IconStyled: import('@emotion/styled').StyledComponent<Pick<import('../../../Icon').IconProps, keyof import('../../../Icon').IconProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').IconButtonOwnerState> & Record<string, unknown> & {
10
- ownerState: Partial<import('../types').IconButtonOwnerState> & Record<string, unknown>;
11
- }, {}, {}>;
12
9
  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"> & {
13
10
  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;
14
- }, "children" | "components" | "color" | "style" | "variant" | "className" | "classes" | "sx" | "slots" | "slotProps" | "componentsProps" | "anchorOrigin" | "badgeContent" | "invisible" | "max" | "overlap" | "showZero">, "children" | "ref" | "title" | "id" | "components" | "hidden" | "color" | "content" | "style" | "variant" | "className" | "classes" | "onChange" | "sx" | "translate" | "slots" | "slotProps" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "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" | "anchorOrigin" | "badgeContent" | "invisible" | "max" | "overlap" | "showZero"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').IconButtonOwnerState> & Record<string, unknown> & {
15
- ownerState: Partial<import('../types').IconButtonOwnerState> & Record<string, unknown>;
16
- }, {}, {}>;
17
- export declare const TooltipStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Tooltip').TooltipProps, keyof import('../../Tooltip').TooltipProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').IconButtonOwnerState> & Record<string, unknown> & {
11
+ }, "children" | "components" | "color" | "style" | "variant" | "className" | "classes" | "sx" | "slots" | "slotProps" | "componentsProps" | "badgeContent" | "anchorOrigin" | "invisible" | "max" | "overlap" | "showZero">, "children" | "ref" | "title" | "id" | "components" | "hidden" | "color" | "content" | "style" | "variant" | "className" | "classes" | "onChange" | "sx" | "translate" | "slots" | "slotProps" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "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" | "badgeContent" | "anchorOrigin" | "invisible" | "max" | "overlap" | "showZero"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').IconButtonOwnerState> & Record<string, unknown> & {
18
12
  ownerState: Partial<import('../types').IconButtonOwnerState> & Record<string, unknown>;
19
13
  }, {}, {}>;
20
14
  export declare const SkeletonStyled: import('@emotion/styled').StyledComponent<Pick<import('../../Skeleton/types').SkeletonProps, keyof import('../../Skeleton/types').SkeletonProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').IconButtonOwnerState> & Record<string, unknown> & {
@@ -3,38 +3,25 @@ import { styled } from "@mui/material/styles";
3
3
  import { i as iconButtonStyles } from "../IconButton.styles.js";
4
4
  import { I as ICON_BUTTON_KEY_COMPONENT } from "../constants.js";
5
5
  import { I as IconButtonSlots } from "./IconButtonEnum.js";
6
- import { I as Icon } from "../../../Icon/Icon.js";
7
- import { T as Tooltip } from "../../Tooltip/Tooltip.js";
8
6
  import { S as Skeleton } from "../../Skeleton/Skeleton.js";
9
7
  const StyledMUIIconButton = styled(IconButton, {
10
8
  name: ICON_BUTTON_KEY_COMPONENT,
11
9
  slot: IconButtonSlots.styledMUIIconButton
12
10
  })(iconButtonStyles?.styledMUIIconButton);
13
- const ContainReactStyled = styled("div", {
11
+ styled("div", {
14
12
  name: ICON_BUTTON_KEY_COMPONENT,
15
13
  slot: IconButtonSlots.containReact
16
14
  })(iconButtonStyles?.containReact);
17
- const IconStyled = styled(Icon, {
18
- name: ICON_BUTTON_KEY_COMPONENT,
19
- slot: IconButtonSlots.icon
20
- })(iconButtonStyles?.icon);
21
15
  const BadgeStyled = styled(Badge, {
22
16
  name: ICON_BUTTON_KEY_COMPONENT,
23
17
  slot: IconButtonSlots.badgeIconButton
24
18
  })(iconButtonStyles?.badgeIconButton);
25
- const TooltipStyled = styled(Tooltip, {
26
- name: ICON_BUTTON_KEY_COMPONENT,
27
- slot: IconButtonSlots.tooltip
28
- })(iconButtonStyles?.tooltip);
29
19
  const SkeletonStyled = styled(Skeleton, {
30
20
  name: ICON_BUTTON_KEY_COMPONENT,
31
21
  slot: IconButtonSlots.skeleton
32
22
  })(iconButtonStyles?.skeleton);
33
23
  export {
34
24
  BadgeStyled as B,
35
- ContainReactStyled as C,
36
- IconStyled as I,
37
25
  StyledMUIIconButton as S,
38
- TooltipStyled as T,
39
26
  SkeletonStyled as a
40
27
  };
@@ -32,7 +32,7 @@ export type IconButtonSize = 'small' | 'medium';
32
32
  * [disabled] - Whether the IconButton is disabled.
33
33
  * [instaceDataTestId] - A unique identifier for the HTML element, useful for unit and integration testing.
34
34
  */
35
- export interface IconButtonProps extends Omit<IconProps, 'size' | 'color'>, Omit<MUIIconButtonProps, 'size' | 'color' | 'disabled'>, Pick<BadgeProps, 'badgeContent'>, Pick<TooltipProps, 'placement'> {
35
+ export interface IconButtonProps extends Omit<IconProps, 'size' | 'color' | 'src'>, Omit<MUIIconButtonProps, 'size' | 'color' | 'disabled' | 'src'>, Pick<BadgeProps, 'badgeContent'>, Pick<TooltipProps, 'placement'> {
36
36
  /**
37
37
  * Define el uso de tooltip en IconButton
38
38
  */
@@ -74,6 +74,11 @@ export interface IconButtonProps extends Omit<IconProps, 'size' | 'color'>, Omit
74
74
  * Propiedad vara renderizar el icon
75
75
  */
76
76
  icon?: ReactNode;
77
+ /**
78
+ * (Deprecada) URL del icono.
79
+ * @deprecated Usa la prop `icon` en su lugar para renderizar un ReactNode o string.
80
+ */
81
+ src?: string;
77
82
  }
78
83
  /**
79
84
  * Tipo `IconButtonOwnerState` que define los valores que tendra el ownerState
@@ -90,4 +95,4 @@ export type IconButtonSlotsType = keyof typeof IconButtonSlots;
90
95
  /**
91
96
  * Tipo `IconButtonStyles` que tiene un overrides de los estilos del tema
92
97
  */
93
- export type IconButtonStyles = Partial<OverridesStyleRules<IconButtonSlotsType, typeof ICON_BUTTON_KEY_COMPONENT, Theme> | undefined> | undefined;
98
+ export type IconButtonStyles = OverridesStyleRules<IconButtonSlotsType, typeof ICON_BUTTON_KEY_COMPONENT, Theme>;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  declare const LoadingButtonRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').ButtonOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
6
6
  ref?: ((instance: HTMLButtonElement | 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<HTMLButtonElement> | null | undefined;
7
- }, "children" | "size" | "action" | "color" | "style" | "disabled" | "variant" | "className" | "classes" | "sx" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "startIcon" | "endIcon" | "disableFocusRipple" | "disableElevation" | "fullWidth">, "children" | "value" | "ref" | "title" | "size" | "name" | "id" | "type" | "action" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "className" | "classes" | "onChange" | "sx" | "translate" | "form" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "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" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "startIcon" | "endIcon" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "disableElevation" | "fullWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').LoadingButtonOwnerState> & Record<string, unknown> & {
7
+ }, "children" | "size" | "action" | "color" | "style" | "disabled" | "variant" | "className" | "classes" | "sx" | "tabIndex" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableFocusRipple" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon">, "children" | "value" | "ref" | "title" | "size" | "name" | "id" | "type" | "action" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "className" | "classes" | "onChange" | "sx" | "translate" | "form" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "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" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').LoadingButtonOwnerState> & Record<string, unknown> & {
8
8
  ownerState: Partial<import('../types').LoadingButtonOwnerState> & Record<string, unknown>;
9
9
  }, {}, {}>;
10
10
  /**
@@ -1,9 +1,17 @@
1
1
  import { PopoverProps } from './types';
2
2
  /**
3
- * TODO: Documentar
4
- * @author SebastianM - automatic
5
- * @createdAt 2024-12-06 14:04:23 - automatic
6
- * @updatedAt 2024-12-06 14:04:23 - automatic
7
- * @updatedUser SebastianM - automatic
3
+ * Provee de un componente que genera un contenedor desacoplado del flujo del documento de tipo ventana emergente,
4
+ * usado para hacer énfasis en información, comúnmente contiene texto, elementos interactivos y acciones de usuario.
5
+ * @param props - Las propiedades del componente Popover.
6
+ * @param props.children - Los elementos hijos que se renderizarán dentro del Popover.
7
+ * @param props.arrowType - El tipo de flecha que se mostrará en el Popover. Por defecto es 'top-right'.
8
+ * @param props.className - Clase CSS adicional para el componente Popover.
9
+ * @param props.size - Tamaño del Popover.
10
+ * @param props.instaceDataTestId - Identificador de prueba para la instancia del Popover.
11
+ * @param props.other - Otras propiedades adicionales que se pasarán al componente PopoverRootStyled.
12
+ * @returns Un componente Popover que contiene los elementos hijos proporcionados y una flecha opcional.
13
+ */
14
+ /**
15
+ * Componente Popover que se utiliza para mostrar información adicional en un área emergente.
8
16
  */
9
17
  export declare const Popover: (props: PopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,45 +1,44 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { P as PopoverRoot } from "./styles.js";
3
- import { u as useUtilityClasses } from "./classes/index.js";
4
- import { A as ArrowStyle } from "./subcomponts/ArrowIcon/index.js";
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { a as getPropDataTestId } from "../../../test/getNameDataTestId.js";
3
+ import { P as POPOVER_CLASS_NAME_SPECIFY, a as POPOVER_PREFIX } from "./constants.js";
5
4
  import clsx from "clsx";
5
+ import { P as PopoverRootStyled } from "./slots/PopoverSlots.js";
6
+ import { P as PopoverSlots } from "./slots/PopoverEnum.js";
6
7
  const Popover = (props) => {
7
- const { children, arrowType = "top-right", className, ...other } = props;
8
- const ownerState = {
9
- arrowType
10
- };
11
- const classes = useUtilityClasses(ownerState);
8
+ const {
9
+ children,
10
+ className,
11
+ size,
12
+ instaceDataTestId,
13
+ anchorOrigin = { vertical: "bottom", horizontal: "right" },
14
+ transformOrigin = { vertical: "top", horizontal: "right" },
15
+ ...other
16
+ } = props;
12
17
  return (
13
18
  /* PopoverRoot: Contenedor principal del componente, es usado para aplicar los estilos css de los
14
19
  overrides que provienen del objeto del tema. Se usa para garantizar de que estos estilos no se
15
20
  propaguen a otros componentes de la plataforna web. */
16
- /* @__PURE__ */ jsxs(
17
- PopoverRoot,
21
+ /* @__PURE__ */ jsx(
22
+ PopoverRootStyled,
18
23
  {
19
- className: clsx(classes.root, className),
24
+ ownerState: {},
25
+ className: clsx(className, POPOVER_CLASS_NAME_SPECIFY),
20
26
  "data-testid": "PopoverRoot",
21
- anchorOrigin: { vertical: "bottom", horizontal: "right" },
22
- transformOrigin: { vertical: "top", horizontal: "right" },
27
+ anchorOrigin,
28
+ transformOrigin,
23
29
  transitionDuration: 0,
24
- PaperProps: {
25
- sx: {
26
- p: 1,
27
- overflow: "inherit"
30
+ ...getPropDataTestId(POPOVER_PREFIX, PopoverSlots.root, instaceDataTestId),
31
+ slotProps: {
32
+ paper: {
33
+ ["aria-label"]: "Paper-popover-root",
34
+ sx: {
35
+ p: 1,
36
+ overflow: "inherit"
37
+ }
28
38
  }
29
39
  },
30
40
  ...other,
31
- children: [
32
- arrowType !== "no-arrow" && /* ArrowStyle: Subcomponente que posiciona una flecha de dialogo en el área del Popover. */
33
- /* @__PURE__ */ jsx(
34
- ArrowStyle,
35
- {
36
- className: classes.arrowStyle,
37
- "data-testid": "ArrowStyle",
38
- arrowType
39
- }
40
- ),
41
- children
42
- ]
41
+ children
43
42
  }
44
43
  )
45
44
  );
@@ -0,0 +1,2 @@
1
+ import { PopoverStyles } from '../Popover/types';
2
+ export declare const popoverStyles: PopoverStyles;
@@ -0,0 +1,20 @@
1
+ const popoverStyles = {
2
+ /**
3
+ * Styles applied to the Popover root element.
4
+ */
5
+ root: ({ theme }) => ({
6
+ "&.M4lclassCssSpecificity": {
7
+ "& .MuiPaper-root": {
8
+ boxShadow: theme.vars.customShadows.z4,
9
+ borderRadius: theme.vars.size.borderRadius.r1
10
+ }
11
+ }
12
+ }),
13
+ /**
14
+ * Styles applied to the Popover arrow element.
15
+ */
16
+ arrow: () => ({})
17
+ };
18
+ export {
19
+ popoverStyles as p
20
+ };
@@ -0,0 +1,7 @@
1
+ export declare const POPOVER_KEY_COMPONENT = "M4LPopover";
2
+ export declare const POPOVER_PREFIX = "Popover";
3
+ /**
4
+ * Nombre de clase creado para aportar especificidad a los estilos del componente. Es usado para sobreescribir los estilos de MUI sin
5
+ * tener la necesidad de agregar valores en !important.
6
+ */
7
+ export declare const POPOVER_CLASS_NAME_SPECIFY = "M4lclassCssSpecificity";
@@ -0,0 +1,8 @@
1
+ const POPOVER_KEY_COMPONENT = "M4LPopover";
2
+ const POPOVER_PREFIX = "Popover";
3
+ const POPOVER_CLASS_NAME_SPECIFY = "M4lclassCssSpecificity";
4
+ export {
5
+ POPOVER_CLASS_NAME_SPECIFY as P,
6
+ POPOVER_PREFIX as a,
7
+ POPOVER_KEY_COMPONENT as b
8
+ };
@@ -0,0 +1,4 @@
1
+ export declare enum PopoverSlots {
2
+ root = "root",
3
+ arrow = "arrow"
4
+ }
@@ -0,0 +1,8 @@
1
+ var PopoverSlots = /* @__PURE__ */ ((PopoverSlots2) => {
2
+ PopoverSlots2["root"] = "root";
3
+ PopoverSlots2["arrow"] = "arrow";
4
+ return PopoverSlots2;
5
+ })(PopoverSlots || {});
6
+ export {
7
+ PopoverSlots as P
8
+ };
@@ -0,0 +1,3 @@
1
+ export declare const PopoverRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PopoverProps, keyof import('@mui/material').PopoverProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('../types').PopoverProps> & Record<string, unknown> & {
2
+ ownerState: Partial<import('../types').PopoverProps> & Record<string, unknown>;
3
+ }, {}, {}>;
@@ -0,0 +1,12 @@
1
+ import { styled } from "@mui/material/styles";
2
+ import { Popover } from "@mui/material";
3
+ import { b as POPOVER_KEY_COMPONENT } from "../constants.js";
4
+ import { p as popoverStyles } from "../Popover.styles.js";
5
+ import { P as PopoverSlots } from "./PopoverEnum.js";
6
+ const PopoverRootStyled = styled(Popover, {
7
+ name: POPOVER_KEY_COMPONENT,
8
+ slot: PopoverSlots.root
9
+ })(popoverStyles?.root);
10
+ export {
11
+ PopoverRootStyled as P
12
+ };
@@ -0,0 +1,2 @@
1
+ export * from './PopoverEnum';
2
+ export * from './PopoverSlots';
@@ -1,11 +1,22 @@
1
- import { ComponentNameToClassKey, Theme, PopoverProps as MUIPopeverProps, SxProps } from '@mui/material';
1
+ import { ComponentNameToClassKey, SxProps, Theme, PopoverProps as MUIPopoverProps } from '@mui/material';
2
2
  import { OverridesStyleRules } from '@mui/material/styles/overrides';
3
+ import { PopoverSlots } from './slots';
4
+ import { POPOVER_KEY_COMPONENT } from './constants';
5
+ import { Sizes } from '@m4l/styles';
6
+ export interface PopoverProps extends Omit<MUIPopoverProps, 'sx'> {
7
+ arrowType?: ArrowType;
8
+ sx?: SxProps<Theme> | Partial<OverridesStyleRules<string, ComponentNameToClassKey, Theme>>;
9
+ size?: Sizes;
10
+ /**
11
+ * Propiedad que sirve para complementar el nombre del data-testid, aporta un identificador único del elemento html en toda aplicación.
12
+ * Es útil para realizar pruebas unitarias y de integración.
13
+ */
14
+ instaceDataTestId?: string;
15
+ }
3
16
  export type ArrowType = 'no-arrow' | 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'left-top' | 'left-center' | 'left-bottom' | 'right-top' | 'right-center' | 'right-bottom';
4
17
  export type ArrowStyleProps = {
5
18
  arrowType: ArrowType;
6
19
  };
7
- export type OwnerState = ArrowStyleProps;
8
- export interface PopoverProps extends Omit<MUIPopeverProps, 'sx'> {
9
- arrowType?: ArrowType;
10
- sx?: SxProps<Theme> | Partial<OverridesStyleRules<string, ComponentNameToClassKey, Theme>>;
11
- }
20
+ export type PopoverSlotsType = keyof typeof PopoverSlots;
21
+ export type PopoverOwnerState = PopoverProps;
22
+ export type PopoverStyles = Partial<OverridesStyleRules<PopoverSlotsType, typeof POPOVER_KEY_COMPONENT, Theme> | undefined> | undefined;
@@ -1,4 +1,4 @@
1
- declare const PopperRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PopperProps & import('react').RefAttributes<HTMLDivElement>, "children" | "ref" | "title" | "component" | "id" | "container" | "components" | "hidden" | "color" | "content" | "style" | "open" | "transition" | "className" | "onChange" | "sx" | "translate" | "slots" | "slotProps" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "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" | "placement" | "componentsProps" | "disablePortal" | "keepMounted" | "anchorEl" | "modifiers" | "popperOptions" | "popperRef"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').PopperOwnerState> & Record<string, unknown> & {
1
+ declare const PopperRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PopperProps & import('react').RefAttributes<HTMLDivElement>, "children" | "ref" | "title" | "component" | "id" | "container" | "components" | "hidden" | "color" | "content" | "style" | "open" | "transition" | "className" | "onChange" | "sx" | "translate" | "slots" | "slotProps" | "slot" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "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" | "placement" | "componentsProps" | "anchorEl" | "disablePortal" | "keepMounted" | "modifiers" | "popperOptions" | "popperRef"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Partial<import('..').PopperOwnerState> & Record<string, unknown> & {
2
2
  ownerState: Partial<import('..').PopperOwnerState> & Record<string, unknown>;
3
3
  }, {}, {}>;
4
4
  export { PopperRootStyled };
@@ -1,3 +1,3 @@
1
- export declare const ToggleButtonRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "children" | "value" | "title" | "component" | "size" | "name" | "id" | "type" | "action" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "label" | "className" | "classes" | "onChange" | "sx" | "translate" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "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" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "skeletonWidth" | "href" | "startIcon" | "endIcon" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | keyof import('react').RefAttributes<HTMLButtonElement> | "disableElevation" | "fullWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').ToggleButtonOwnerState> & Record<string, unknown> & {
1
+ export declare const ToggleButtonRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "children" | "value" | "title" | "component" | "size" | "name" | "id" | "type" | "action" | "hidden" | "color" | "content" | "style" | "disabled" | "variant" | "label" | "className" | "classes" | "onChange" | "sx" | "translate" | "form" | "slot" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "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" | "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" | "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" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "skeletonWidth" | "href" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon" | keyof import('react').RefAttributes<HTMLButtonElement>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Partial<import('..').ToggleButtonOwnerState> & Record<string, unknown> & {
2
2
  ownerState: Partial<import('..').ToggleButtonOwnerState> & Record<string, unknown>;
3
3
  }, {}, {}>;
@@ -3,7 +3,6 @@ import { OverridesStyleRules } from '@mui/material/styles/overrides';
3
3
  import { TooltipSlots } from './slots';
4
4
  import { TOOLTIP_KEY_COMPONENT } from './constants';
5
5
  import { Sizes } from '@m4l/styles';
6
- import { ArrowType } from '../Popover/types';
7
6
  export interface TooltipProps extends Omit<MUITooltipProps, 'sx'> {
8
7
  sx?: SxProps<Theme> | Partial<OverridesStyleRules<string, ComponentNameToClassKey, Theme>>;
9
8
  /**
@@ -13,7 +12,6 @@ export interface TooltipProps extends Omit<MUITooltipProps, 'sx'> {
13
12
  /**
14
13
  * Tipo de flecha que se mostrará en el tooltip.
15
14
  */
16
- arrowType?: ArrowType;
17
15
  /**
18
16
  * Define la posición general del tooltip en relación con el elemento de referencia.
19
17
  */
@@ -1,5 +1,4 @@
1
1
  export { Accordion } from './Accordion';
2
- export * from './MenuActions';
3
2
  export * from './Tooltip';
4
3
  export * from './IconButton';
5
4
  export { Avatar } from './Avatar/Avatar';
@@ -15,7 +14,6 @@ export * from './ImageButton/ImageButton';
15
14
  export { LinearProgress } from './LinearProgress';
16
15
  export { LinkWithRoute } from './LinkWithRoute';
17
16
  export { LoadingButton } from './LoadingButton/LoadingButton';
18
- export type { MenuAction, ComponentActionProps } from './MenuActions/types';
19
17
  export * from './Popover';
20
18
  export * from './Skeleton';
21
19
  export * from './Stack';
package/index.js CHANGED
@@ -126,6 +126,8 @@ import { P as P9 } from "./components/PDFViewer/PDFViewer.js";
126
126
  import { P as P10 } from "./components/Period/Period.js";
127
127
  import { H as H4 } from "./components/HelmetPage/index.js";
128
128
  import { P as P11 } from "./components/PropertyValue/PropertyValue.js";
129
+ import { a as a9 } from "./components/MenuActions/dictionary.js";
130
+ import { a as a10, M as M11 } from "./components/MenuActions/MenuActions.js";
129
131
  import { R as R15 } from "./components/extended/React-Resizable/Resizable/Resizable.js";
130
132
  import { R as R16 } from "./components/extended/React-Resizable/ResizableBox/ResizableBox.js";
131
133
  import { S as S3 } from "./components/ScrollBar/index.js";
@@ -138,13 +140,13 @@ import { g as g24 } from "./components/AppBar/dictionary.js";
138
140
  import { A as A12 } from "./components/AccountPopover/AccountPopover.js";
139
141
  import { g as g25 } from "./components/AccountPopover/dictionary.js";
140
142
  import { u as u8 } from "./components/popups/components/PopupsProvider/hooks/usePopupsStore/index.js";
141
- import { a as a9, P as P12 } from "./components/popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js";
143
+ import { a as a11, P as P12 } from "./components/popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext.js";
142
144
  import { P as P13 } from "./components/popups/components/PopupsViewer/PopupsViewer.js";
143
145
  import { A as A13 } from "./components/commercial/AppBarCommercial/index.js";
144
146
  import { H as H5 } from "./components/commercial/HamburgerMenu/HamburgerMenu.js";
145
147
  import { T as T5 } from "./components/commercial/TopBar/TopBar.js";
146
148
  import { S as S6 } from "./components/commercial/SectionCommercial/index.js";
147
- import { M as M11 } from "./components/MFIsolationApp/MFIsolationApp.js";
149
+ import { M as M12 } from "./components/MFIsolationApp/MFIsolationApp.js";
148
150
  import { B as B2 } from "./components/BaseModule/BaseModule.js";
149
151
  import { A as A14 } from "./components/mui_extended/Accordion/Accordion.js";
150
152
  import { A as A15 } from "./components/mui_extended/Avatar/Avatar.js";
@@ -158,8 +160,6 @@ import { L as L10 } from "./components/mui_extended/LoadingButton/LoadingButton.
158
160
  import { P as P14 } from "./components/mui_extended/Pager/index.js";
159
161
  import { g as g26 } from "./components/mui_extended/Pager/dicctionary.js";
160
162
  import { T as T6 } from "./components/mui_extended/Tab/Tab.js";
161
- import { a as a10 } from "./components/mui_extended/MenuActions/dictionary.js";
162
- import { a as a11, M as M12 } from "./components/mui_extended/MenuActions/MenuActions.js";
163
163
  import { T as T7 } from "./components/mui_extended/Tooltip/Tooltip.js";
164
164
  import { I as I6 } from "./components/mui_extended/IconButton/IconButton.js";
165
165
  import { B as B6 } from "./components/mui_extended/Button/Button.js";
@@ -269,7 +269,7 @@ export {
269
269
  L10 as LoadingButton,
270
270
  L7 as LoadingError,
271
271
  L as LoadingScreen,
272
- M11 as MFIsolationApp,
272
+ M12 as MFIsolationApp,
273
273
  M10 as MFLoader,
274
274
  M4 as Map,
275
275
  M5 as MapContext,
@@ -279,8 +279,8 @@ export {
279
279
  a7 as MapProvider,
280
280
  M6 as MarkerFeatureRender,
281
281
  M13 as MemonizedDynamicMFParmsProvider,
282
- a11 as MemonizedMenuActions,
283
- M12 as MenuActions,
282
+ a10 as MemonizedMenuActions,
283
+ M11 as MenuActions,
284
284
  M9 as MenuActionsWindowsStyled,
285
285
  a14 as ModalContext,
286
286
  M8 as ModalDialog,
@@ -301,7 +301,7 @@ export {
301
301
  P2 as PointsFormatter,
302
302
  P6 as PolylineWithArrows,
303
303
  P15 as Popover,
304
- a9 as PopupsContext,
304
+ a11 as PopupsContext,
305
305
  P12 as PopupsProvider,
306
306
  P13 as PopupsViewer,
307
307
  P4 as PriceFormatter,
@@ -396,7 +396,7 @@ export {
396
396
  g16 as getMapComponentsDictionary,
397
397
  g15 as getMapGpsToolsComponentsDictionary,
398
398
  g17 as getMapPopupMyGpsComponentsDictionary,
399
- a10 as getMenuActionsComponentsDictionary,
399
+ a9 as getMenuActionsComponentsDictionary,
400
400
  g19 as getModalDialogComponentsDictionary,
401
401
  g18 as getModalDictionary,
402
402
  g22 as getNoItemSelectedComponentsDictionary,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.1.37",
3
+ "version": "9.1.39",
4
4
  "license": "UNLICENSED",
5
5
  "lint-staged": {
6
6
  "*.{js,ts,tsx}": "eslint --fix --max-warnings 0"