@m4l/components 9.1.38 → 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 (27) hide show
  1. package/@types/types.d.ts +12 -3
  2. package/components/ModalDialog/slots/ModalDialogSlots.d.ts +1 -1
  3. package/components/mui_extended/Badge/slots/BadgeSlots.d.ts +1 -1
  4. package/components/mui_extended/IconButton/slots/IconButtonSlots.d.ts +1 -1
  5. package/components/mui_extended/Popover/Popover.d.ts +13 -5
  6. package/components/mui_extended/Popover/Popover.js +29 -30
  7. package/components/mui_extended/Popover/Popover.styles.d.ts +2 -0
  8. package/components/mui_extended/Popover/Popover.styles.js +20 -0
  9. package/components/mui_extended/Popover/constants.d.ts +7 -0
  10. package/components/mui_extended/Popover/constants.js +8 -0
  11. package/components/mui_extended/Popover/slots/PopoverEnum.d.ts +4 -0
  12. package/components/mui_extended/Popover/slots/PopoverEnum.js +8 -0
  13. package/components/mui_extended/Popover/slots/PopoverSlots.d.ts +3 -0
  14. package/components/mui_extended/Popover/slots/PopoverSlots.js +12 -0
  15. package/components/mui_extended/Popover/slots/index.d.ts +2 -0
  16. package/components/mui_extended/Popover/slots/index.js +1 -0
  17. package/components/mui_extended/Popover/types.d.ts +17 -6
  18. package/components/mui_extended/Tooltip/types.d.ts +0 -2
  19. package/package.json +1 -1
  20. package/components/mui_extended/Popover/classes/index.d.ts +0 -11
  21. package/components/mui_extended/Popover/classes/index.js +0 -51
  22. package/components/mui_extended/Popover/classes/types.d.ts +0 -17
  23. package/components/mui_extended/Popover/styles.d.ts +0 -1
  24. package/components/mui_extended/Popover/styles.js +0 -8
  25. package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +0 -2
  26. package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.js +0 -61
  27. /package/components/mui_extended/Popover/{index.test.d.ts → popover.test.d.ts} +0 -0
package/@types/types.d.ts CHANGED
@@ -144,6 +144,8 @@ import { ToggleButtonOwnerState, ToggleButtonSlotsType } from '../components/mui
144
144
  import { BooleanFormatterOwnerState, PresentationType } from '../components/formatters/BooleanFormatter/types';
145
145
  import { ToggleIconButtonOwnerState, ToggleIconButtonSlotsType } from '../components/mui_extended/ToggleIconButton/types';
146
146
 
147
+ import { PopoverOwnerState, PopoverSlotsType } from '../components/mui_extended/Popover/types';
148
+
147
149
  declare module '@mui/material/styles' {
148
150
  // Define the slots in the theme
149
151
  interface ComponentNameToClassKey {
@@ -173,6 +175,7 @@ declare module '@mui/material/styles' {
173
175
  M4LButton: ButtonSlotsType;
174
176
  M4LActionIntro: ActionIntroSlotsType;
175
177
  M4LActionCancel: ActionCancelSlotsType;
178
+ M4LPopover: PopoverSlotsType;
176
179
  M4LImage: ImageSlotsType;
177
180
  M4LSideBar: SideBarSlotsType;
178
181
  M4LAutocomplete: AutocompleteSlotsType;
@@ -218,6 +221,7 @@ declare module '@mui/material/styles' {
218
221
  M4LButton: Partial<ButtonOwnerState>;
219
222
  M4LActionIntro: Partial<ActionIntroOwnerState>;
220
223
  M4LActionCancel: Partial<ActionCancelOwnerState>;
224
+ M4LPopover: Partial<PopoverOwnerState>;
221
225
  M4LImage: Partial<ImageOwnerState>;
222
226
  M4LAutocomplete: Partial<AutocompleteOwnerState>;
223
227
  M4LChip: Partial<ChipOwnerState>;
@@ -456,10 +460,16 @@ declare module '@mui/material/styles' {
456
460
  styleOverrides?: ComponentsOverrides<Theme>['M4LActionCancel'];
457
461
  variants?: ComponentsVariants['M4LActionCancel'];
458
462
  };
463
+ M4LPopover?: {
464
+ defaultProps?: ComponentsPropsList['M4LPopover'];
465
+ styleOverrides?: ComponentsOverrides<Theme>['M4LPopover'];
466
+ variants?: ComponentsVariants['M4LPopover'];
467
+ };
459
468
  M4LImage?: {
460
469
  defaultProps?: ComponentsPropsList['M4LImage'];
461
470
  styleOverrides?: ComponentsOverrides<Theme>['M4LImage'];
462
471
  variants?: ComponentsVariants['M4LImage'];
472
+ };
463
473
  M4LActionCancel?: {
464
474
  defaultProps?: ComponentsPropsList['M4LActionCancel'];
465
475
  styleOverrides?: ComponentsOverrides<Theme>['M4LActionCancel'];
@@ -519,11 +529,12 @@ declare module '@mui/material/styles' {
519
529
  defaultProps?: ComponentsPropsList['M4LPopper'];
520
530
  styleOverrides?: ComponentsOverrides<Theme>['M4LPopper'];
521
531
  variants?: ComponentsVariants['M4LPopper'];
532
+ };
522
533
  M4LToggleButton?: {
523
534
  defaultProps?: ComponentsPropsList['M4LToggleButton'];
524
535
  styleOverrides?: ComponentsOverrides<Theme>['M4LToggleButton'];
525
536
  variants?: ComponentsVariants['M4LToggleButton'];
526
- }
537
+ };
527
538
  M4LBooleanFormatter?: {
528
539
  defaultProps?: ComponentsPropsList['M4LBooleanFormatter'];
529
540
  styleOverrides?: ComponentsOverrides<Theme>['M4LBooleanFormatter'];
@@ -534,7 +545,5 @@ declare module '@mui/material/styles' {
534
545
  styleOverrides?: ComponentsOverrides<Theme>['M4LToggleIconButton'];
535
546
  variants?: ComponentsVariants['M4LToggleIconButton'];
536
547
  };
537
- }
538
548
  }
539
549
  }
540
- }
@@ -1,7 +1,7 @@
1
1
  export declare const ModalDialogRootStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PaperOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
2
  ref?: ((instance: HTMLDivElement | 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<HTMLDivElement> | null | undefined;
3
3
  }, "children" | "style" | "square" | "variant" | "className" | "classes" | "elevation" | "sx">, "children" | "ref" | "title" | "id" | "hidden" | "color" | "content" | "style" | "square" | "variant" | "className" | "classes" | "onChange" | "elevation" | "sx" | "translate" | "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"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
4
- export declare const DialogRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/Dialog').DialogProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "children" | "onClose" | "title" | "component" | "scroll" | "id" | "container" | "components" | "hidden" | "color" | "content" | "style" | "open" | "variant" | "maxWidth" | "className" | "classes" | "onChange" | "sx" | "transitionDuration" | "translate" | "TransitionComponent" | "TransitionProps" | "slots" | "slotProps" | "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" | "componentsProps" | "dataTestId" | "disablePortal" | "keepMounted" | keyof import('react').RefAttributes<HTMLDivElement> | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "disableAutoFocus" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "onBackdropClick" | "onTransitionEnter" | "onTransitionExited" | "PaperProps" | "fullWidth" | "fullScreen" | "PaperComponent"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
4
+ export declare const DialogRootStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('../../mui_extended/Dialog').DialogProps, "ref"> & import('react').RefAttributes<HTMLDivElement>, "children" | "onClose" | "title" | "component" | "scroll" | "id" | "container" | "components" | "hidden" | "color" | "content" | "style" | "open" | "variant" | "maxWidth" | "className" | "classes" | "onChange" | "sx" | "transitionDuration" | "translate" | "TransitionComponent" | "TransitionProps" | "slots" | "slotProps" | "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" | "componentsProps" | "dataTestId" | "disablePortal" | "keepMounted" | keyof import('react').RefAttributes<HTMLDivElement> | "fullWidth" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "disableAutoFocus" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "onBackdropClick" | "onTransitionEnter" | "onTransitionExited" | "PaperProps" | "fullScreen" | "PaperComponent"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
5
5
  export declare const ContentComponent: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
6
6
  export declare const DragResizeWindowStyled: import('@emotion/styled').StyledComponent<Pick<import('../../DragResizeWindow/types').DragResizeWindowProps & import('react').RefAttributes<HTMLDivElement>, keyof import('react').RefAttributes<HTMLDivElement> | keyof import('../../DragResizeWindow/types').DragResizeWindowProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Record<string, unknown>, {}, {}>;
7
7
  export declare const PaperModalDialogStyled: import('@emotion/styled').StyledComponent<Pick<import('@mui/material').PaperOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
@@ -1,5 +1,5 @@
1
1
  export declare const BadgeRootStyled: 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"> & {
2
2
  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;
3
- }, "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('..').BadgeOwnerState> & Record<string, unknown> & {
3
+ }, "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('..').BadgeOwnerState> & Record<string, unknown> & {
4
4
  ownerState: Partial<import('..').BadgeOwnerState> & Record<string, unknown>;
5
5
  }, {}, {}>;
@@ -8,7 +8,7 @@ export declare const ContainReactStyled: import('@emotion/styled').StyledCompone
8
8
  }, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
9
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"> & {
10
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;
11
- }, "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> & {
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> & {
12
12
  ownerState: Partial<import('../types').IconButtonOwnerState> & Record<string, unknown>;
13
13
  }, {}, {}>;
14
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> & {
@@ -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;
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.1.38",
3
+ "version": "9.1.39",
4
4
  "license": "UNLICENSED",
5
5
  "lint-staged": {
6
6
  "*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
@@ -1,11 +0,0 @@
1
- import { PopoverClassesType } from './types';
2
- import { OwnerState } from '../types';
3
- export declare const popoverClasses: PopoverClassesType;
4
- export declare function getPopoverClassesUtilityClass(slot: string): string;
5
- /**
6
- * TODO: Documentar
7
- */
8
- export declare const useUtilityClasses: (ownerState: OwnerState) => {
9
- root: string;
10
- arrowStyle: string;
11
- };
@@ -1,51 +0,0 @@
1
- import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
2
- import { unstable_composeClasses } from "@mui/base";
3
- generateUtilityClasses("M4LPopover", [
4
- /* elements */
5
- "root",
6
- "arrowStyle",
7
- /* states or variants of elements */
8
- "noArrow",
9
- "topLeft",
10
- "topCenter",
11
- "topRight",
12
- "bottomLeft",
13
- "bottomCenter",
14
- "bottomRight",
15
- "leftTop",
16
- "leftCenter",
17
- "leftBottom",
18
- "rightTop",
19
- "rightCenter",
20
- "rightBottom"
21
- ]);
22
- function getPopoverClassesUtilityClass(slot) {
23
- return generateUtilityClass("M4LPopover", slot);
24
- }
25
- const useUtilityClasses = (ownerState) => {
26
- const slots = {
27
- root: ["root"],
28
- arrowStyle: [
29
- "arrowStyle",
30
- ownerState.arrowType === "top-left" && "topLeft",
31
- ownerState.arrowType === "top-center" && "topCenter",
32
- ownerState.arrowType === "top-right" && "topRight",
33
- ownerState.arrowType === "bottom-left" && "bottomLeft",
34
- ownerState.arrowType === "bottom-center" && "bottomCenter",
35
- ownerState.arrowType === "bottom-right" && "bottomRight",
36
- ownerState.arrowType === "left-top" && "leftTop",
37
- ownerState.arrowType === "left-center" && "leftCenter",
38
- ownerState.arrowType === "left-bottom" && "leftBottom",
39
- ownerState.arrowType === "right-top" && "rightTop",
40
- ownerState.arrowType === "right-center" && "rightCenter",
41
- ownerState.arrowType === "right-bottom" && "rightBottom"
42
- ]
43
- };
44
- const composedClasses = unstable_composeClasses(slots, getPopoverClassesUtilityClass, {});
45
- return {
46
- ...composedClasses
47
- };
48
- };
49
- export {
50
- useUtilityClasses as u
51
- };
@@ -1,17 +0,0 @@
1
- export interface PopoverClassesType {
2
- root: string;
3
- arrowStyle: string;
4
- topLeft: string;
5
- topCenter: string;
6
- topRight: string;
7
- bottomLeft: string;
8
- bottomCenter: string;
9
- bottomRight: string;
10
- leftTop: string;
11
- leftCenter: string;
12
- leftBottom: string;
13
- rightTop: string;
14
- rightCenter: string;
15
- rightBottom: string;
16
- }
17
- export type PopoverClassesKey = keyof PopoverClassesType;
@@ -1 +0,0 @@
1
- export declare const PopoverRoot: import('@emotion/styled').StyledComponent<import('@mui/material').PopoverProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -1,8 +0,0 @@
1
- import { Popover } from "@mui/material";
2
- import { styled } from "@mui/material/styles";
3
- const PopoverRoot = styled(Popover)(({ theme }) => ({
4
- ...theme.components?.M4LPopover?.styleOverrides || {}
5
- }));
6
- export {
7
- PopoverRoot as P
8
- };
@@ -1,2 +0,0 @@
1
- import { ArrowStyleProps } from '../../types';
2
- export declare const ArrowStyle: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & ArrowStyleProps, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -1,61 +0,0 @@
1
- import { styled } from "@mui/material/styles";
2
- const ArrowStyle = styled("span")(({ arrowType, theme }) => {
3
- const SIZE = 12;
4
- const POSITION = -(SIZE / 2);
5
- const borderStyle = `solid 1px ${theme.vars.palette.border.disabled}`;
6
- const topStyle = {
7
- borderRadius: "0 0 3px 0",
8
- top: POSITION,
9
- borderBottom: borderStyle,
10
- borderRight: borderStyle
11
- };
12
- const bottomStyle = {
13
- borderRadius: "3px 0 0 0",
14
- bottom: POSITION,
15
- borderTop: borderStyle,
16
- borderLeft: borderStyle
17
- };
18
- const leftStyle = {
19
- borderRadius: "0 3px 0 0",
20
- left: POSITION,
21
- borderTop: borderStyle,
22
- borderRight: borderStyle
23
- };
24
- const rightStyle = {
25
- borderRadius: "0 0 0 3px",
26
- right: POSITION,
27
- borderBottom: borderStyle,
28
- borderLeft: borderStyle
29
- };
30
- return {
31
- display: "none",
32
- [theme.breakpoints.up("sm")]: {
33
- width: SIZE,
34
- height: SIZE,
35
- content: "''",
36
- position: "absolute",
37
- display: "block",
38
- transform: "rotate(-135deg)",
39
- background: theme.vars.palette.background.default
40
- },
41
- // Top
42
- ...arrowType === "top-left" && { ...topStyle, left: 20 },
43
- ...arrowType === "top-center" && { ...topStyle, left: 0, right: 0, margin: "auto" },
44
- ...arrowType === "top-right" && { ...topStyle, right: 20 },
45
- // Bottom
46
- ...arrowType === "bottom-left" && { ...bottomStyle, left: 20 },
47
- ...arrowType === "bottom-center" && { ...bottomStyle, left: 0, right: 0, margin: "auto" },
48
- ...arrowType === "bottom-right" && { ...bottomStyle, right: 20 },
49
- // Left
50
- ...arrowType === "left-top" && { ...leftStyle, top: 20 },
51
- ...arrowType === "left-center" && { ...leftStyle, top: 0, bottom: 0, margin: "auto" },
52
- ...arrowType === "left-bottom" && { ...leftStyle, bottom: 20 },
53
- // Right
54
- ...arrowType === "right-top" && { ...rightStyle, top: 20 },
55
- ...arrowType === "right-center" && { ...rightStyle, top: 0, bottom: 0, margin: "auto" },
56
- ...arrowType === "right-bottom" && { ...rightStyle, bottom: 20 }
57
- };
58
- });
59
- export {
60
- ArrowStyle as A
61
- };