@hanzogui/tooltip 3.0.2 → 7.0.0

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 (41) hide show
  1. package/package.json +19 -19
  2. package/src/Tooltip.tsx +2 -2
  3. package/types/Tooltip.d.ts +12 -12
  4. package/types/TooltipSimple.d.ts +1 -1
  5. package/dist/cjs/Tooltip.cjs +0 -224
  6. package/dist/cjs/Tooltip.native.js +0 -48
  7. package/dist/cjs/Tooltip.native.js.map +0 -1
  8. package/dist/cjs/TooltipSimple.cjs +0 -107
  9. package/dist/cjs/TooltipSimple.native.js +0 -32
  10. package/dist/cjs/TooltipSimple.native.js.map +0 -1
  11. package/dist/cjs/index.cjs +0 -19
  12. package/dist/cjs/index.native.js +0 -22
  13. package/dist/cjs/index.native.js.map +0 -1
  14. package/dist/esm/Tooltip.mjs +0 -187
  15. package/dist/esm/Tooltip.mjs.map +0 -1
  16. package/dist/esm/Tooltip.native.js +0 -20
  17. package/dist/esm/Tooltip.native.js.map +0 -1
  18. package/dist/esm/TooltipSimple.mjs +0 -73
  19. package/dist/esm/TooltipSimple.mjs.map +0 -1
  20. package/dist/esm/TooltipSimple.native.js +0 -6
  21. package/dist/esm/TooltipSimple.native.js.map +0 -1
  22. package/dist/esm/index.js +0 -3
  23. package/dist/esm/index.js.map +0 -1
  24. package/dist/esm/index.mjs +0 -3
  25. package/dist/esm/index.mjs.map +0 -1
  26. package/dist/esm/index.native.js +0 -3
  27. package/dist/esm/index.native.js.map +0 -1
  28. package/dist/jsx/Tooltip.mjs +0 -187
  29. package/dist/jsx/Tooltip.mjs.map +0 -1
  30. package/dist/jsx/Tooltip.native.js +0 -48
  31. package/dist/jsx/Tooltip.native.js.map +0 -1
  32. package/dist/jsx/TooltipSimple.mjs +0 -73
  33. package/dist/jsx/TooltipSimple.mjs.map +0 -1
  34. package/dist/jsx/TooltipSimple.native.js +0 -32
  35. package/dist/jsx/TooltipSimple.native.js.map +0 -1
  36. package/dist/jsx/index.js +0 -3
  37. package/dist/jsx/index.js.map +0 -1
  38. package/dist/jsx/index.mjs +0 -3
  39. package/dist/jsx/index.mjs.map +0 -1
  40. package/dist/jsx/index.native.js +0 -22
  41. package/dist/jsx/index.native.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/tooltip",
3
- "version": "3.0.2",
3
+ "version": "7.0.0",
4
4
  "source": "src/index.tsx",
5
5
  "files": [
6
6
  "src",
@@ -30,27 +30,27 @@
30
30
  "access": "public"
31
31
  },
32
32
  "scripts": {
33
- "build": "hanzo-gui-build",
34
- "watch": "hanzo-gui-build --watch",
35
- "clean": "hanzo-gui-build clean",
36
- "clean:build": "hanzo-gui-build clean:build"
33
+ "build": "hanzogui-build",
34
+ "watch": "hanzogui-build --watch",
35
+ "clean": "hanzogui-build clean",
36
+ "clean:build": "hanzogui-build clean:build"
37
37
  },
38
38
  "dependencies": {
39
- "@hanzogui/compose-refs": "3.0.1",
40
- "@hanzogui/core": "3.0.1",
41
- "@hanzogui/create-context": "3.0.1",
42
- "@hanzogui/floating": "3.0.1",
43
- "@hanzogui/get-token": "3.0.1",
44
- "@hanzogui/helpers": "3.0.1",
45
- "@hanzogui/polyfill-dev": "3.0.1",
46
- "@hanzogui/popover": "3.0.1",
47
- "@hanzogui/popper": "3.0.1",
48
- "@hanzogui/stacks": "3.0.1",
49
- "@hanzogui/text": "3.0.1",
50
- "@hanzogui/use-controllable-state": "3.0.1"
39
+ "@hanzogui/compose-refs": "^7.0.0",
40
+ "@hanzogui/core": "^7.0.0",
41
+ "@hanzogui/create-context": "^7.0.0",
42
+ "@hanzogui/floating": "^7.0.0",
43
+ "@hanzogui/get-token": "^7.0.0",
44
+ "@hanzogui/helpers": "^7.0.0",
45
+ "@hanzogui/polyfill-dev": "^7.0.0",
46
+ "@hanzogui/popover": "^7.0.0",
47
+ "@hanzogui/popper": "^7.0.0",
48
+ "@hanzogui/stacks": "^7.0.0",
49
+ "@hanzogui/text": "^7.0.0",
50
+ "@hanzogui/use-controllable-state": "^7.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@hanzogui/build": "3.0.1",
53
+ "@hanzogui/build": "^7.0.0",
54
54
  "react": ">=19",
55
55
  "react-native": "0.83.2"
56
56
  },
@@ -59,4 +59,4 @@
59
59
  "react-native": "*"
60
60
  },
61
61
  "module:jsx": "dist/jsx"
62
- }
62
+ }
package/src/Tooltip.tsx CHANGED
@@ -1,7 +1,7 @@
1
1
  import '@hanzogui/polyfill-dev'
2
2
 
3
3
  import { FloatingDelayGroup, useDelayGroupContext, type Delay } from '@hanzogui/floating'
4
- import type { SizeTokens, GuiElement } from '@hanzogui/core'
4
+ import type { SizeTokens, HanzoguiElement } from '@hanzogui/core'
5
5
  import { useEvent } from '@hanzogui/core'
6
6
  import { FloatingOverrideContext } from '@hanzogui/floating'
7
7
  import { getSize } from '@hanzogui/get-token'
@@ -74,7 +74,7 @@ const TooltipContent = PopperContentFrame.styleable<TooltipContentProps>(
74
74
  }
75
75
  )
76
76
 
77
- const TooltipArrow = React.forwardRef<GuiElement, PopperArrowProps>((props, ref) => {
77
+ const TooltipArrow = React.forwardRef<HanzoguiElement, PopperArrowProps>((props, ref) => {
78
78
  return (
79
79
  <PopoverArrow
80
80
  scope={props.scope || TOOLTIP_SCOPE}
@@ -1,8 +1,8 @@
1
- import '@gui/polyfill-dev';
2
- import { type Delay } from '@gui/floating';
3
- import type { SizeTokens, GuiElement } from '@gui/core';
4
- import type { PopoverAnchorProps, PopoverContentProps, PopoverTriggerProps } from '@gui/popover';
5
- import type { PopperProps } from '@gui/popper';
1
+ import '@hanzogui/polyfill-dev';
2
+ import { type Delay } from '@hanzogui/floating';
3
+ import type { SizeTokens, HanzoguiElement } from '@hanzogui/core';
4
+ import type { PopoverAnchorProps, PopoverContentProps, PopoverTriggerProps } from '@hanzogui/popover';
5
+ import type { PopperProps } from '@hanzogui/popper';
6
6
  import * as React from 'react';
7
7
  export type TooltipScopes = string;
8
8
  type ScopedProps<P> = Omit<P, 'scope'> & {
@@ -65,25 +65,25 @@ export declare const Tooltip: React.ForwardRefExoticComponent<Omit<PopperProps &
65
65
  Anchor: React.ForwardRefExoticComponent<Omit<PopoverAnchorProps, "scope"> & {
66
66
  scope?: TooltipScopes;
67
67
  } & React.RefAttributes<unknown>>;
68
- Arrow: React.ForwardRefExoticComponent<Omit<import("@gui/core").GetFinalProps<import("@gui/core").RNGuiViewNonStyleProps, import("@gui/core").StackStyleBase, {
68
+ Arrow: React.ForwardRefExoticComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
69
69
  elevation?: number | SizeTokens | undefined;
70
70
  fullscreen?: boolean | undefined;
71
- }>, keyof import("@gui/stacks").StackVariants> & import("@gui/stacks").StackVariants & import("@gui/popper").PopperArrowExtraProps & React.RefAttributes<GuiElement>>;
72
- Content: import("@gui/core").GuiComponent<Omit<import("@gui/core").GetFinalProps<import("@gui/core").RNGuiViewNonStyleProps, import("@gui/core").StackStyleBase, {
71
+ }>, keyof import("@hanzogui/stacks").StackVariants> & import("@hanzogui/stacks").StackVariants & import("@hanzogui/popper").PopperArrowExtraProps & React.RefAttributes<HanzoguiElement>>;
72
+ Content: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
73
73
  size?: SizeTokens | undefined;
74
74
  unstyled?: boolean | undefined;
75
75
  elevation?: number | SizeTokens | undefined;
76
76
  fullscreen?: boolean | undefined;
77
- }>, "theme" | "debug" | "scope" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "unstyled" | "id" | "render" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "elevationAndroid" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "outline" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "filter" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "elevation" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "size" | "transparent" | "fullscreen" | "circular" | "elevate" | "bordered" | "chromeless" | `$${string}` | `$${number}` | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${string}-focusWithin` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$group-${number}-focusWithin` | `$theme-${string}` | `$theme-${number}` | "branches" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "forceUnmount" | "onBlurCapture" | "onFocusCapture" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusWithinStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "animatePosition" | "enableAnimationForPositionChange" | "lazyMount" | "trapFocus" | "disableFocusScope" | "onOpenAutoFocus" | "onCloseAutoFocus" | "enableRemoveScroll" | "freezeContentsWhenHidden" | "alwaysDisable"> & Omit<import("@gui/popover").PopoverContentTypeProps, "scope"> & {
77
+ }>, "theme" | "debug" | "scope" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "unstyled" | "id" | "render" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "elevationAndroid" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "onFocus" | "onBlur" | "onPointerCancel" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "position" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "borderCurve" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "outline" | "userSelect" | "backdropFilter" | "background" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "boxShadow" | "border" | "overflowX" | "overflowY" | "transformOrigin" | "filter" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "inset" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "transition" | "animateOnly" | "animatePresence" | "passThrough" | "elevation" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "mixBlendMode" | "experimental_backgroundImage" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "boxSizing" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "size" | "transparent" | "fullscreen" | "circular" | "elevate" | "bordered" | "chromeless" | `$${string}` | `$${number}` | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${string}-focusWithin` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$group-${number}-focusWithin` | `$theme-${string}` | `$theme-${number}` | "branches" | "onEscapeKeyDown" | "onPointerDownOutside" | "onFocusOutside" | "onInteractOutside" | "forceUnmount" | "onBlurCapture" | "onFocusCapture" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusWithinStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "animatePosition" | "enableAnimationForPositionChange" | "lazyMount" | "trapFocus" | "disableFocusScope" | "onOpenAutoFocus" | "onCloseAutoFocus" | "enableRemoveScroll" | "freezeContentsWhenHidden" | "alwaysDisable"> & Omit<import("@hanzogui/popover").PopoverContentTypeProps, "scope"> & {
78
78
  scope?: TooltipScopes;
79
- }, GuiElement, import("@gui/core").RNGuiViewNonStyleProps & Omit<import("@gui/popover").PopoverContentTypeProps, "scope"> & {
79
+ }, HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps & Omit<import("@hanzogui/popover").PopoverContentTypeProps, "scope"> & {
80
80
  scope?: TooltipScopes;
81
- }, import("@gui/core").StackStyleBase, {
81
+ }, import("@hanzogui/core").StackStyleBase, {
82
82
  size?: SizeTokens | undefined;
83
83
  unstyled?: boolean | undefined;
84
84
  elevation?: number | SizeTokens | undefined;
85
85
  fullscreen?: boolean | undefined;
86
- }, import("@gui/core").StaticConfigPublic>;
86
+ }, import("@hanzogui/core").StaticConfigPublic>;
87
87
  Trigger: React.ForwardRefExoticComponent<Omit<PopoverTriggerProps, "scope"> & {
88
88
  scope?: TooltipScopes;
89
89
  } & React.RefAttributes<unknown>>;
@@ -1,4 +1,4 @@
1
- import type { SizableStackProps } from '@gui/stacks';
1
+ import type { SizableStackProps } from '@hanzogui/stacks';
2
2
  import * as React from 'react';
3
3
  import type { TooltipProps } from './Tooltip';
4
4
  export type TooltipSimpleProps = TooltipProps & {
@@ -1,224 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf,
6
- __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
- get: () => from[key],
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
- value: mod,
27
- enumerable: !0
28
- }) : target, mod)),
29
- __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
30
- value: !0
31
- }), mod);
32
- var Tooltip_exports = {};
33
- __export(Tooltip_exports, {
34
- Tooltip: () => Tooltip2,
35
- TooltipGroup: () => TooltipGroup,
36
- closeOpenTooltips: () => closeOpenTooltips
37
- });
38
- module.exports = __toCommonJS(Tooltip_exports);
39
- var import_gui_polyfill_dev = require("@hanzogui/polyfill-dev"),
40
- import_gui_floating = require("@hanzogui/floating"),
41
- import_gui_core = require("@hanzogui/core"),
42
- import_gui_floating2 = require("@hanzogui/floating"),
43
- import_gui_get_token = require("@hanzogui/get-token"),
44
- import_gui_helpers = require("@hanzogui/helpers"),
45
- import_gui_popover = require("@hanzogui/popover"),
46
- import_gui_popper = require("@hanzogui/popper"),
47
- import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
48
- React = __toESM(require("react"), 1),
49
- import_jsx_runtime = require("react/jsx-runtime");
50
- const TOOLTIP_SCOPE = "",
51
- ALWAYS_DISABLE_TOOLTIP = {
52
- focus: !0,
53
- "remove-scroll": !0
54
- // it's nice to hit escape to hide a tooltip
55
- // dismiss: true
56
- },
57
- TooltipContent = import_gui_popper.PopperContentFrame.styleable((props, ref) => {
58
- const preventAnimation = React.useContext(PreventTooltipAnimationContext),
59
- zIndexFromContext = React.useContext(TooltipZIndexContext);
60
- return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui_popover.PopoverContent, {
61
- scope: props.scope || TOOLTIP_SCOPE,
62
- alwaysDisable: ALWAYS_DISABLE_TOOLTIP,
63
- ...(!props.unstyled && {
64
- backgroundColor: "$background",
65
- alignItems: "center",
66
- pointerEvents: "none",
67
- size: "$true"
68
- }),
69
- ref,
70
- ...(zIndexFromContext !== void 0 && {
71
- zIndex: zIndexFromContext
72
- }),
73
- ...props,
74
- ...(preventAnimation && {
75
- transition: null
76
- })
77
- });
78
- }, {
79
- staticConfig: {
80
- componentName: "Tooltip"
81
- }
82
- }),
83
- TooltipArrow = React.forwardRef((props, ref) => /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui_popover.PopoverArrow, {
84
- scope: props.scope || TOOLTIP_SCOPE,
85
- componentName: "Tooltip",
86
- ref,
87
- ...props
88
- })),
89
- PreventTooltipAnimationContext = React.createContext(!1),
90
- TooltipZIndexContext = React.createContext(void 0),
91
- TooltipGroup = ({
92
- children,
93
- delay,
94
- preventAnimation = !1,
95
- timeoutMs
96
- }) => /* @__PURE__ */(0, import_jsx_runtime.jsx)(PreventTooltipAnimationContext.Provider, {
97
- value: preventAnimation,
98
- children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui_floating.FloatingDelayGroup, {
99
- timeoutMs,
100
- delay: React.useMemo(() => delay, [JSON.stringify(delay)]),
101
- children
102
- })
103
- }),
104
- setOpens = /* @__PURE__ */new Set(),
105
- closeOpenTooltips = () => {
106
- setOpens.forEach(x => x(!1));
107
- },
108
- TooltipComponent = React.forwardRef(function (props, ref) {
109
- "use no memo";
110
-
111
- const {
112
- children,
113
- delay: delayProp,
114
- restMs: restMsProp,
115
- onOpenChange: onOpenChangeProp,
116
- focus,
117
- open: openProp,
118
- disableAutoCloseOnScroll,
119
- zIndex,
120
- scope = TOOLTIP_SCOPE,
121
- ...restProps
122
- } = props,
123
- triggerRef = React.useRef(null),
124
- [hasCustomAnchor, setHasCustomAnchor] = React.useState(!1),
125
- {
126
- delay: delayGroup,
127
- setCurrentId
128
- } = (0, import_gui_floating.useDelayGroupContext)(),
129
- delay = delayProp !== void 0 ? delayProp : delayGroup ?? 400,
130
- restMs = restMsProp ?? (typeof delay == "number" ? delay : 0),
131
- [open, setOpen] = (0, import_gui_use_controllable_state.useControllableState)({
132
- prop: openProp,
133
- defaultProp: !1,
134
- onChange: onOpenChangeProp
135
- }),
136
- id = props.groupId,
137
- onOpenChange = (0, import_gui_core.useEvent)(open2 => {
138
- open2 && setCurrentId(id), setOpen(open2);
139
- });
140
- React.useEffect(() => {
141
- if (!open || disableAutoCloseOnScroll || typeof document > "u") return;
142
- const closeIt = () => {
143
- setOpen(!1);
144
- };
145
- return setOpens.add(setOpen), document.documentElement.addEventListener("scroll", closeIt), () => {
146
- setOpens.delete(setOpen), document.documentElement.removeEventListener("scroll", closeIt);
147
- };
148
- }, [open, disableAutoCloseOnScroll]);
149
- const floatingContext = (0, import_gui_popover.useFloatingContext)({
150
- open,
151
- setOpen: onOpenChange,
152
- disable: !1,
153
- disableFocus: !1,
154
- hoverable: !0,
155
- role: "tooltip",
156
- focus,
157
- groupId: id,
158
- delay,
159
- restMs
160
- }),
161
- onCustomAnchorAdd = React.useCallback(() => setHasCustomAnchor(!0), []),
162
- onCustomAnchorRemove = React.useCallback(() => setHasCustomAnchor(!1), []),
163
- contentId = React.useId(),
164
- smallerSize = props.unstyled ? null : (0, import_gui_get_token.getSize)("$true", {
165
- shift: -2,
166
- bounds: [0]
167
- }),
168
- content = /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui_floating2.FloatingOverrideContext.Provider, {
169
- value: floatingContext,
170
- children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui_popper.Popper, {
171
- scope,
172
- size: smallerSize?.key,
173
- allowFlip: !0,
174
- stayInFrame: !0,
175
- open,
176
- ...restProps,
177
- children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui_popover.PopoverContextProvider, {
178
- scope,
179
- contentId,
180
- triggerRef,
181
- open,
182
- onOpenChange: setOpen,
183
- onOpenToggle: voidFn,
184
- hasCustomAnchor,
185
- onCustomAnchorAdd,
186
- onCustomAnchorRemove,
187
- children
188
- })
189
- })
190
- });
191
- return zIndex !== void 0 ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(TooltipZIndexContext.Provider, {
192
- value: zIndex,
193
- children: content
194
- }) : content;
195
- }),
196
- TooltipTrigger = React.forwardRef(function (props, ref) {
197
- const {
198
- scope,
199
- ...rest
200
- } = props;
201
- return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui_popover.PopoverTrigger, {
202
- ...rest,
203
- scope: scope || TOOLTIP_SCOPE,
204
- ref
205
- });
206
- }),
207
- TooltipAnchor = React.forwardRef(function (props, ref) {
208
- const {
209
- scope,
210
- ...rest
211
- } = props;
212
- return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui_popover.PopoverAnchor, {
213
- ...rest,
214
- scope: scope || TOOLTIP_SCOPE,
215
- ref
216
- });
217
- }),
218
- Tooltip2 = (0, import_gui_helpers.withStaticProperties)(TooltipComponent, {
219
- Anchor: TooltipAnchor,
220
- Arrow: TooltipArrow,
221
- Content: TooltipContent,
222
- Trigger: TooltipTrigger
223
- }),
224
- voidFn = () => {};
@@ -1,48 +0,0 @@
1
- "use strict";
2
-
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
- get: () => from[key],
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- return to;
19
- };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
22
- }), mod);
23
- var Tooltip_native_exports = {};
24
- __export(Tooltip_native_exports, {
25
- Tooltip: () => Tooltip,
26
- TooltipGroup: () => TooltipGroup,
27
- closeOpenTooltips: () => closeOpenTooltips
28
- });
29
- module.exports = __toCommonJS(Tooltip_native_exports);
30
- var import_gui_helpers = require("@hanzogui/helpers"),
31
- RenderChildren = function (props) {
32
- return props.children;
33
- },
34
- RenderNull = function (props) {
35
- return null;
36
- },
37
- TooltipGroup = function () {
38
- return null;
39
- },
40
- closeOpenTooltips = function () {},
41
- Tooltip = (0, import_gui_helpers.withStaticProperties)(RenderChildren, {
42
- Anchor: RenderChildren,
43
- Arrow: RenderNull,
44
- Close: RenderNull,
45
- Content: RenderNull,
46
- Trigger: RenderChildren
47
- });
48
- //# sourceMappingURL=Tooltip.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Tooltip_native_exports","__export","Tooltip","TooltipGroup","closeOpenTooltips","module","exports","__toCommonJS","import_gui_helpers","require","RenderChildren","props","children","RenderNull","withStaticProperties","Anchor","Arrow","Close","Content","Trigger"],"sources":["../../src/Tooltip.native.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,sBAAA;AAAAC,QAAA,CAAAD,sBAAA;EAAAE,OAAA,EAAAA,CAAA,KAAAA,OAAA;EAAAC,YAAA,EAAAA,CAAA,KAAAA,YAAA;EAAAC,iBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAP,sBAAA;AAAA,IAAAQ,kBAAA,GAAqCC,OAAA;EAGjCC,cAAA,GAAiB,SAAAA,CAASC,KAAA,EAAO;IACjC,OAAOA,KAAA,CAAMC,QAAA;EACjB;EACIC,UAAA,GAAa,SAAAA,CAASF,KAAA,EAAO;IAC7B,OAAO;EACX;EACWR,YAAA,GAAe,SAAAA,CAAA,EAAW;IACjC,OAAO;EACX;EACWC,iBAAA,GAAoB,SAAAA,CAAA,EAAW,CAAC;EACrBF,OAAA,OAAUM,kBAAA,CAAAM,oBAAA,EAAqBJ,cAAA,EAAgB;IACjEK,MAAA,EAAQL,cAAA;IACRM,KAAA,EAAOH,UAAA;IACPI,KAAA,EAAOJ,UAAA;IACPK,OAAA,EAASL,UAAA;IACTM,OAAA,EAAST;EACb,CAAC","ignoreList":[]}
@@ -1,107 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf,
6
- __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
- get: () => from[key],
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
- value: mod,
27
- enumerable: !0
28
- }) : target, mod)),
29
- __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
30
- value: !0
31
- }), mod);
32
- var TooltipSimple_exports = {};
33
- __export(TooltipSimple_exports, {
34
- TooltipSimple: () => TooltipSimple
35
- });
36
- module.exports = __toCommonJS(TooltipSimple_exports);
37
- var import_gui_get_token = require("@hanzogui/get-token"),
38
- import_gui_text = require("@hanzogui/text"),
39
- React = __toESM(require("react"), 1),
40
- import_Tooltip = require("./Tooltip.cjs"),
41
- import_jsx_runtime = require("react/jsx-runtime");
42
- const TooltipSimple = React.forwardRef(({
43
- label,
44
- children,
45
- contentProps,
46
- disabled,
47
- ...tooltipProps
48
- }, ref) => {
49
- "use no memo";
50
-
51
- const child = React.Children.only(children);
52
- return label ? /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_Tooltip.Tooltip, {
53
- disableRTL: !0,
54
- offset: 15,
55
- restMs: 40,
56
- delay: 40,
57
- zIndex: 1e6,
58
- ...tooltipProps,
59
- ...(disabled ? {
60
- open: !1
61
- } : null),
62
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_Tooltip.Tooltip.Trigger, {
63
- ...(typeof label == "string" && {
64
- "aria-label": label
65
- }),
66
- asChild: "except-style",
67
- children: ref && React.isValidElement(child) ? React.cloneElement(child, {
68
- ref
69
- }) : child
70
- }), /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_Tooltip.Tooltip.Content, {
71
- enterStyle: {
72
- y: -4,
73
- opacity: 0,
74
- scale: 0.96
75
- },
76
- exitStyle: {
77
- y: -4,
78
- opacity: 0,
79
- scale: 0.96
80
- },
81
- scale: 1,
82
- elevation: "$0.5",
83
- opacity: 1,
84
- pointerEvents: "none",
85
- paddingVertical: (0, import_gui_get_token.getSpace)(tooltipProps.size || "$true", {
86
- shift: -4
87
- }),
88
- animateOnly: ["transform", "opacity"],
89
- transition: ["quicker", {
90
- opacity: {
91
- overshootClamping: !0
92
- }
93
- }],
94
- ...contentProps,
95
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_Tooltip.Tooltip.Arrow, {}), /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_gui_text.Paragraph, {
96
- maxWidth: 350,
97
- overflow: "hidden",
98
- size: "$3",
99
- textAlign: "center",
100
- "$platform-web": {
101
- textWrap: "balance"
102
- },
103
- children: label
104
- })]
105
- })]
106
- }) : children;
107
- });
@@ -1,32 +0,0 @@
1
- "use strict";
2
-
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
- get: () => from[key],
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- return to;
19
- };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
22
- }), mod);
23
- var TooltipSimple_native_exports = {};
24
- __export(TooltipSimple_native_exports, {
25
- TooltipSimple: () => TooltipSimple
26
- });
27
- module.exports = __toCommonJS(TooltipSimple_native_exports);
28
- var RenderChildren = function (props) {
29
- return props.children;
30
- },
31
- TooltipSimple = RenderChildren;
32
- //# sourceMappingURL=TooltipSimple.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["TooltipSimple_native_exports","__export","TooltipSimple","module","exports","__toCommonJS","RenderChildren","props","children"],"sources":["../../src/TooltipSimple.native.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,4BAAA;AAAAC,QAAA,CAAAD,4BAAA;EAAAE,aAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,4BAAA;AAAA,IAAIM,cAAA,GAAiB,SAAAA,CAASC,KAAA,EAAO;IACjC,OAAOA,KAAA,CAAMC,QAAA;EACjB;EACWN,aAAA,GAAgBI,cAAA","ignoreList":[]}
@@ -1,19 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
7
- get: () => from[key],
8
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
9
- });
10
- return to;
11
- },
12
- __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
13
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
14
- value: !0
15
- }), mod);
16
- var index_exports = {};
17
- module.exports = __toCommonJS(index_exports);
18
- __reExport(index_exports, require("./Tooltip.cjs"), module.exports);
19
- __reExport(index_exports, require("./TooltipSimple.cjs"), module.exports);
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __copyProps = (to, from, except, desc) => {
8
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
9
- get: () => from[key],
10
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
11
- });
12
- return to;
13
- },
14
- __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
16
- value: !0
17
- }), mod);
18
- var index_exports = {};
19
- module.exports = __toCommonJS(index_exports);
20
- __reExport(index_exports, require("./Tooltip.native.js"), module.exports);
21
- __reExport(index_exports, require("./TooltipSimple.native.js"), module.exports);
22
- //# sourceMappingURL=index.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","module","exports","__reExport","require"],"sources":["../../src/index.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAP,YAAc,CAAAK,aAAA;AACdG,UAAA,CAAAH,aAAA,EAAcI,OAAA,yBAAAH,MADd,CAAAC,OAAA","ignoreList":[]}