@hanzogui/context-menu 8.3.0 → 8.3.2

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 (57) hide show
  1. package/dist/cjs/ContextMenu.js +148 -0
  2. package/dist/cjs/ContextMenu.js.map +1 -0
  3. package/dist/cjs/createNonNativeContextMenu.js +311 -0
  4. package/dist/cjs/createNonNativeContextMenu.js.map +1 -0
  5. package/dist/cjs/index.js +18 -0
  6. package/dist/cjs/index.js.map +1 -0
  7. package/dist/cjs/package.json +1 -0
  8. package/dist/esm/ContextMenu.js +144 -0
  9. package/dist/esm/ContextMenu.js.map +1 -0
  10. package/dist/esm/createNonNativeContextMenu.js +306 -0
  11. package/dist/esm/createNonNativeContextMenu.js.map +1 -0
  12. package/dist/esm/index.js +14 -14
  13. package/dist/esm/index.js.map +1 -1
  14. package/package.json +21 -20
  15. package/src/ContextMenu.tsx +2 -2
  16. package/src/index.tsx +1 -1
  17. package/types/ContextMenu.d.ts +30 -30
  18. package/types/ContextMenu.d.ts.map +1 -1
  19. package/types/createNonNativeContextMenu.d.ts +18 -18
  20. package/types/createNonNativeContextMenu.d.ts.map +1 -1
  21. package/types/index.d.ts +29 -29
  22. package/types/index.d.ts.map +1 -1
  23. package/dist/cjs/ContextMenu.cjs +0 -185
  24. package/dist/cjs/ContextMenu.native.js +0 -193
  25. package/dist/cjs/ContextMenu.native.js.map +0 -1
  26. package/dist/cjs/createNonNativeContextMenu.cjs +0 -443
  27. package/dist/cjs/createNonNativeContextMenu.native.js +0 -470
  28. package/dist/cjs/createNonNativeContextMenu.native.js.map +0 -1
  29. package/dist/cjs/index.cjs +0 -41
  30. package/dist/cjs/index.native.js +0 -44
  31. package/dist/cjs/index.native.js.map +0 -1
  32. package/dist/esm/ContextMenu.mjs +0 -149
  33. package/dist/esm/ContextMenu.mjs.map +0 -1
  34. package/dist/esm/ContextMenu.native.js +0 -154
  35. package/dist/esm/ContextMenu.native.js.map +0 -1
  36. package/dist/esm/createNonNativeContextMenu.mjs +0 -406
  37. package/dist/esm/createNonNativeContextMenu.mjs.map +0 -1
  38. package/dist/esm/createNonNativeContextMenu.native.js +0 -430
  39. package/dist/esm/createNonNativeContextMenu.native.js.map +0 -1
  40. package/dist/esm/index.mjs +0 -15
  41. package/dist/esm/index.mjs.map +0 -1
  42. package/dist/esm/index.native.js +0 -15
  43. package/dist/esm/index.native.js.map +0 -1
  44. package/dist/jsx/ContextMenu.mjs +0 -149
  45. package/dist/jsx/ContextMenu.mjs.map +0 -1
  46. package/dist/jsx/ContextMenu.native.js +0 -193
  47. package/dist/jsx/ContextMenu.native.js.map +0 -1
  48. package/dist/jsx/createNonNativeContextMenu.mjs +0 -406
  49. package/dist/jsx/createNonNativeContextMenu.mjs.map +0 -1
  50. package/dist/jsx/createNonNativeContextMenu.native.js +0 -470
  51. package/dist/jsx/createNonNativeContextMenu.native.js.map +0 -1
  52. package/dist/jsx/index.js +0 -15
  53. package/dist/jsx/index.js.map +0 -1
  54. package/dist/jsx/index.mjs +0 -15
  55. package/dist/jsx/index.mjs.map +0 -1
  56. package/dist/jsx/index.native.js +0 -44
  57. package/dist/jsx/index.native.js.map +0 -1
@@ -43,11 +43,11 @@ interface ContextMenuSubProps extends BaseMenuTypes.MenuSubProps {
43
43
  type ContextMenuSubTriggerProps = React.ComponentPropsWithoutRef<BaseMenu['SubTrigger']>;
44
44
  type ContextMenuSubContentProps = React.ComponentPropsWithoutRef<BaseMenu['SubContent']>;
45
45
  export declare function createNonNativeContextMenu(params: CreateBaseMenuProps): {
46
- (props: ScopedProps<ContextMenuProps>): import("react/jsx-runtime").JSX.Element;
46
+ (props: ScopedProps<ContextMenuProps>): React.JSX.Element;
47
47
  displayName: string;
48
48
  } & {
49
49
  Root: {
50
- (props: ScopedProps<ContextMenuProps>): import("react/jsx-runtime").JSX.Element;
50
+ (props: ScopedProps<ContextMenuProps>): React.JSX.Element;
51
51
  displayName: string;
52
52
  };
53
53
  Trigger: import("@hanzogui/web").GuiComponent<Omit<ViewProps, "scope" | keyof ContextMenuTriggerProps> & ContextMenuTriggerProps & {
@@ -56,23 +56,23 @@ export declare function createNonNativeContextMenu(params: CreateBaseMenuProps):
56
56
  scope?: string;
57
57
  }, import("@hanzogui/web").StackStyleBase, {}, {}>;
58
58
  Portal: {
59
- (props: ScopedProps<ContextMenuPortalProps>): import("react/jsx-runtime").JSX.Element;
59
+ (props: ScopedProps<ContextMenuPortalProps>): React.JSX.Element;
60
60
  displayName: string;
61
61
  };
62
62
  Content: React.ForwardRefExoticComponent<ContextMenuContentProps & {
63
63
  scope?: string;
64
- } & React.RefAttributes<(HTMLElement & import("@hanzogui/web").GuiElementMethods) | import("react-native").View>>;
64
+ } & React.RefAttributes<import("react-native").View | (HTMLElement & import("@hanzogui/web").GuiElementMethods)>>;
65
65
  Group: import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
66
66
  unstyled?: boolean | undefined;
67
67
  }>, keyof BaseMenuTypes.MenuGroupProps> & BaseMenuTypes.MenuGroupProps, GuiElement, import("@hanzogui/web").StackNonStyleProps & BaseMenuTypes.MenuGroupProps, import("@hanzogui/web").StackStyleBase, {
68
68
  unstyled?: boolean | undefined;
69
69
  }, import("@hanzogui/web").StaticConfigPublic>;
70
70
  Label: import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
71
- unstyled?: boolean | undefined;
72
71
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
73
- }>, keyof BaseMenuTypes.MenuLabelProps> & BaseMenuTypes.MenuLabelProps, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps & BaseMenuTypes.MenuLabelProps, import("@hanzogui/web").TextStylePropsBase, {
74
72
  unstyled?: boolean | undefined;
73
+ }>, keyof BaseMenuTypes.MenuLabelProps> & BaseMenuTypes.MenuLabelProps, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps & BaseMenuTypes.MenuLabelProps, import("@hanzogui/web").TextStylePropsBase, {
75
74
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
75
+ unstyled?: boolean | undefined;
76
76
  }, import("@hanzogui/web").StaticConfigPublic>;
77
77
  Item: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
78
78
  unstyled?: boolean | undefined;
@@ -94,7 +94,7 @@ export declare function createNonNativeContextMenu(params: CreateBaseMenuProps):
94
94
  scope?: string;
95
95
  } & React.RefAttributes<GuiElement>, "ref"> & {
96
96
  scope?: string;
97
- } & React.RefAttributes<(HTMLElement & import("@hanzogui/web").GuiElementMethods) | import("react-native").View>>;
97
+ } & React.RefAttributes<import("react-native").View | (HTMLElement & import("@hanzogui/web").GuiElementMethods)>>;
98
98
  RadioItem: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
99
99
  unstyled?: boolean | undefined;
100
100
  }>, "scope" | keyof BaseMenuTypes.MenuRadioItemProps> & BaseMenuTypes.MenuRadioItemProps & {
@@ -106,7 +106,7 @@ export declare function createNonNativeContextMenu(params: CreateBaseMenuProps):
106
106
  unstyled?: boolean | undefined;
107
107
  }>, "scope" | keyof BaseMenuTypes.MenuItemIndicatorProps> & BaseMenuTypes.MenuItemIndicatorProps & {
108
108
  scope?: string;
109
- }, "theme" | "debug" | `$${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` | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "unstyled" | "id" | "render" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "animatedBy" | "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" | "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" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridTemplate" | "grid" | "gridArea" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "justifyItems" | "justifySelf" | "placeItems" | "placeContent" | "placeSelf" | "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" | "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" | "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" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusWithinStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "forceMount" | "scope" | "key"> & Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
109
+ }, "accessibilityActions" | "accessibilityElementsHidden" | "accessibilityHint" | "accessibilityIgnoresInvertColors" | "accessibilityLabel" | "accessibilityLabelledBy" | "accessibilityLanguage" | "accessibilityLargeContentTitle" | "accessibilityLiveRegion" | "accessibilityRespondsToUserInteraction" | "accessibilityRole" | "accessibilityShowsLargeContentViewer" | "accessibilityState" | "accessibilityValue" | "accessibilityViewIsModal" | "accessible" | "alignContent" | "alignItems" | "alignSelf" | "animateOnly" | "animatePresence" | "animatedBy" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-hidden" | "aria-label" | "aria-labelledby" | "aria-live" | "aria-modal" | "aria-selected" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "asChild" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "border" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderBottomWidth" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderEndWidth" | "borderImage" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRadius" | "borderRightColor" | "borderRightWidth" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStartWidth" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderTopWidth" | "borderWidth" | "bottom" | "boxShadow" | "boxSizing" | "caretColor" | "children" | "className" | "clipPath" | "collapsable" | "collapsableChildren" | "columnGap" | "componentName" | "contain" | "containerType" | "content" | "cursor" | "dangerouslySetInnerHTML" | "debug" | "direction" | "disableClassName" | "disableOptimization" | "disabled" | "disabledStyle" | "display" | "end" | "enterStyle" | "exitStyle" | "experimental_backgroundImage" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "focusStyle" | "focusVisibleStyle" | "focusWithinStyle" | "focusable" | "forceMount" | "forceStyle" | "gap" | "grid" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnStart" | "gridRow" | "gridRowEnd" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "group" | "hasTVPreferredFocus" | "height" | "hitSlop" | "hoverStyle" | "htmlFor" | "id" | "importantForAccessibility" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isTVSelectable" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "key" | "left" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "mask" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "matrix" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "nativeID" | "needsOffscreenAlphaCompositing" | "objectFit" | "onAccessibilityAction" | "onAccessibilityEscape" | "onAccessibilityTap" | "onBeforeInput" | "onBlur" | "onChange" | "onClick" | "onContextMenu" | "onCopy" | "onCut" | "onDoubleClick" | "onDrag" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDragStart" | "onDrop" | "onFocus" | "onInput" | "onKeyDown" | "onKeyUp" | "onLongPress" | "onMagicTap" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOut" | "onMouseOver" | "onMouseUp" | "onPaste" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPress" | "onPressIn" | "onPressOut" | "onScroll" | "onTouchCancel" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchStart" | "onWheel" | "opacity" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowBlock" | "overflowInline" | "overflowX" | "overflowY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "passThrough" | "perspective" | "placeContent" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "pressStyle" | "removeClippedSubviews" | "render" | "renderToHardwareTextureAndroid" | "right" | "role" | "rotate" | "rotateX" | "rotateY" | "rotateZ" | "rotation" | "rowGap" | "scale" | "scaleX" | "scaleY" | "scope" | "screenReaderFocusable" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "shouldRasterizeIOS" | "skewX" | "skewY" | "start" | "style" | "tabIndex" | "target" | "testID" | "textEmphasis" | "theme" | "themeShallow" | "top" | "transform" | "transformMatrix" | "transformOrigin" | "transformStyle" | "transition" | "translateX" | "translateY" | "tvParallaxMagnification" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "unstyled" | "untilMeasured" | "userSelect" | "verticalAlign" | "width" | "x" | "y" | "zIndex" | `$${string}` | `$${number}` | `$group-${string}` | `$group-${number}` | `$group-${string}-focus` | `$group-${number}-focus` | `$group-${string}-focusVisible` | `$group-${number}-focusVisible` | `$group-${string}-focusWithin` | `$group-${number}-focusWithin` | `$group-${string}-hover` | `$group-${number}-hover` | `$group-${string}-press` | `$group-${number}-press`> & Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
110
110
  unstyled?: boolean | undefined;
111
111
  }>, "scope" | keyof BaseMenuTypes.MenuItemIndicatorProps> & BaseMenuTypes.MenuItemIndicatorProps & {
112
112
  scope?: string;
@@ -132,10 +132,10 @@ export declare function createNonNativeContextMenu(params: CreateBaseMenuProps):
132
132
  scope?: string;
133
133
  } & React.RefAttributes<GuiElement>>;
134
134
  Sub: {
135
- (props: ScopedProps<ContextMenuSubProps>): import("react/jsx-runtime").JSX.Element;
135
+ (props: ScopedProps<ContextMenuSubProps>): React.JSX.Element;
136
136
  displayName: string;
137
137
  };
138
- SubTrigger: import("@hanzogui/web").GuiComponent<Omit<ViewProps, "scope" | "key" | keyof BaseMenuTypes.MenuSubTriggerProps> & Omit<BaseMenuTypes.MenuSubTriggerProps & {
138
+ SubTrigger: import("@hanzogui/web").GuiComponent<Omit<ViewProps, "key" | "scope" | keyof BaseMenuTypes.MenuSubTriggerProps> & Omit<BaseMenuTypes.MenuSubTriggerProps & {
139
139
  scope?: string;
140
140
  } & React.RefAttributes<GuiElement>, "ref"> & {
141
141
  scope?: string;
@@ -145,32 +145,32 @@ export declare function createNonNativeContextMenu(params: CreateBaseMenuProps):
145
145
  scope?: string;
146
146
  }, import("@hanzogui/web").StackStyleBase, {}, {}>;
147
147
  SubContent: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
148
- size?: import("@hanzogui/web").SizeTokens | undefined;
149
- unstyled?: boolean | undefined;
150
148
  elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
151
149
  fullscreen?: boolean | undefined;
150
+ size?: import("@hanzogui/web").SizeTokens | undefined;
151
+ unstyled?: boolean | undefined;
152
152
  }>, keyof BaseMenuTypes.MenuSubContentProps> & BaseMenuTypes.MenuSubContentProps & {
153
153
  scope?: string;
154
154
  } & React.RefAttributes<GuiElement>, "ref"> & {
155
155
  scope?: string;
156
- } & React.RefAttributes<(HTMLElement & import("@hanzogui/web").GuiElementMethods) | import("react-native").View>>;
156
+ } & React.RefAttributes<import("react-native").View | (HTMLElement & import("@hanzogui/web").GuiElementMethods)>>;
157
157
  ItemTitle: import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
158
- unstyled?: boolean | undefined;
159
158
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
160
- }>, keyof BaseMenuTypes.MenuItemTitleProps> & BaseMenuTypes.MenuItemTitleProps, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps & BaseMenuTypes.MenuItemTitleProps, import("@hanzogui/web").TextStylePropsBase, {
161
159
  unstyled?: boolean | undefined;
160
+ }>, keyof BaseMenuTypes.MenuItemTitleProps> & BaseMenuTypes.MenuItemTitleProps, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps & BaseMenuTypes.MenuItemTitleProps, import("@hanzogui/web").TextStylePropsBase, {
162
161
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
162
+ unstyled?: boolean | undefined;
163
163
  }, import("@hanzogui/web").StaticConfigPublic>;
164
164
  ItemSubtitle: import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
165
- unstyled?: boolean | undefined;
166
165
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
167
- }>, keyof BaseMenuTypes.MenuItemSubTitleProps> & BaseMenuTypes.MenuItemSubTitleProps, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps & BaseMenuTypes.MenuItemSubTitleProps, import("@hanzogui/web").TextStylePropsBase, {
168
166
  unstyled?: boolean | undefined;
167
+ }>, keyof BaseMenuTypes.MenuItemSubTitleProps> & BaseMenuTypes.MenuItemSubTitleProps, import("@hanzogui/web").GuiTextElement, import("@hanzogui/web").TextNonStyleProps & BaseMenuTypes.MenuItemSubTitleProps, import("@hanzogui/web").TextStylePropsBase, {
169
168
  size?: import("@hanzogui/web").FontSizeTokens | undefined;
169
+ unstyled?: boolean | undefined;
170
170
  }, import("@hanzogui/web").StaticConfigPublic>;
171
171
  ItemIcon: import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
172
172
  unstyled?: boolean | undefined;
173
- }>, `$${string}` | `$${number}` | import("@hanzogui/web").GroupMediaKeys | keyof import("@hanzogui/web").StackStyleBase | keyof import("@hanzogui/web").StackNonStyleProps | keyof import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>>> & import("@hanzogui/web").StackNonStyleProps & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase, {}>>, GuiElement, import("@hanzogui/web").StackNonStyleProps & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase, {}>>, import("@hanzogui/web").StackStyleBase, {
173
+ }>, `$${string}` | `$${number}` | import("@hanzogui/web").GroupMediaKeys | keyof import("@hanzogui/web").StackNonStyleProps | keyof import("@hanzogui/web").StackStyleBase | keyof import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>>> & import("@hanzogui/web").StackNonStyleProps & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase, {}>>, GuiElement, import("@hanzogui/web").StackNonStyleProps & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase, {}>>, import("@hanzogui/web").StackStyleBase, {
174
174
  unstyled?: boolean | undefined;
175
175
  }, import("@hanzogui/web").StaticConfigPublic>;
176
176
  ItemImage: React.ForwardRefExoticComponent<import("react-native").ImageProps & React.RefAttributes<import("react-native").Image>>;
@@ -1 +1 @@
1
- {"version":3,"file":"createNonNativeContextMenu.d.ts","sourceRoot":"","sources":["../src/createNonNativeContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,aAAa,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhF,OAAO,EAOL,KAAK,UAAU,EAEf,KAAK,SAAS,EAEf,MAAM,eAAe,CAAA;AACtB,OAAO,KAAgB,MAAM,OAAO,CAAA;AAEpC,KAAK,SAAS,GAAG,KAAK,GAAG,KAAK,CAAA;AAG9B,eAAO,MAAM,mBAAmB,uBAAuB,CAAA;AAMvD,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAE5C,KAAK,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