@hanzogui/context-menu 8.3.1 → 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.
- package/dist/cjs/ContextMenu.js +148 -0
- package/dist/cjs/ContextMenu.js.map +1 -0
- package/dist/cjs/createNonNativeContextMenu.js +311 -0
- package/dist/cjs/createNonNativeContextMenu.js.map +1 -0
- package/dist/cjs/index.js +18 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/esm/ContextMenu.js +144 -0
- package/dist/esm/ContextMenu.js.map +1 -0
- package/dist/esm/createNonNativeContextMenu.js +306 -0
- package/dist/esm/createNonNativeContextMenu.js.map +1 -0
- package/dist/esm/index.js +14 -14
- package/dist/esm/index.js.map +1 -1
- package/package.json +27 -21
- package/src/ContextMenu.tsx +2 -2
- package/src/index.tsx +1 -1
- package/types/ContextMenu.d.ts +30 -30
- package/types/ContextMenu.d.ts.map +1 -1
- package/types/createNonNativeContextMenu.d.ts +18 -18
- package/types/createNonNativeContextMenu.d.ts.map +1 -1
- package/types/index.d.ts +29 -29
- package/types/index.d.ts.map +1 -1
- package/dist/cjs/ContextMenu.cjs +0 -185
- package/dist/cjs/ContextMenu.native.js +0 -193
- package/dist/cjs/ContextMenu.native.js.map +0 -1
- package/dist/cjs/createNonNativeContextMenu.cjs +0 -443
- package/dist/cjs/createNonNativeContextMenu.native.js +0 -470
- package/dist/cjs/createNonNativeContextMenu.native.js.map +0 -1
- package/dist/cjs/index.cjs +0 -41
- package/dist/cjs/index.native.js +0 -44
- package/dist/cjs/index.native.js.map +0 -1
- package/dist/esm/ContextMenu.mjs +0 -149
- package/dist/esm/ContextMenu.mjs.map +0 -1
- package/dist/esm/ContextMenu.native.js +0 -154
- package/dist/esm/ContextMenu.native.js.map +0 -1
- package/dist/esm/createNonNativeContextMenu.mjs +0 -406
- package/dist/esm/createNonNativeContextMenu.mjs.map +0 -1
- package/dist/esm/createNonNativeContextMenu.native.js +0 -430
- package/dist/esm/createNonNativeContextMenu.native.js.map +0 -1
- package/dist/esm/index.mjs +0 -15
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js +0 -15
- package/dist/esm/index.native.js.map +0 -1
- package/dist/jsx/ContextMenu.mjs +0 -149
- package/dist/jsx/ContextMenu.mjs.map +0 -1
- package/dist/jsx/ContextMenu.native.js +0 -193
- package/dist/jsx/ContextMenu.native.js.map +0 -1
- package/dist/jsx/createNonNativeContextMenu.mjs +0 -406
- package/dist/jsx/createNonNativeContextMenu.mjs.map +0 -1
- package/dist/jsx/createNonNativeContextMenu.native.js +0 -470
- package/dist/jsx/createNonNativeContextMenu.native.js.map +0 -1
- package/dist/jsx/index.js +0 -15
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/index.mjs +0 -15
- package/dist/jsx/index.mjs.map +0 -1
- package/dist/jsx/index.native.js +0 -44
- package/dist/jsx/index.native.js.map +0 -1
package/types/ContextMenu.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import type { CreateBaseMenuProps } from '@hanzogui/create-menu';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
export declare function createContextMenu(param: CreateBaseMenuProps): React.FC<import("./createNonNativeContextMenu").ContextMenuProps & {
|
|
3
|
+
export declare function createContextMenu(param: CreateBaseMenuProps): React.FC<import("./createNonNativeContextMenu.tsx").ContextMenuProps & {
|
|
4
4
|
scope?: string;
|
|
5
|
-
} & Partial<Omit<import("@hanzogui/create-menu").NativeMenuProps, keyof import("./createNonNativeContextMenu").ContextMenuProps>>> & {
|
|
6
|
-
Trigger: React.FC<Omit<import("@hanzogui/web").ViewProps, "scope" | keyof import("./createNonNativeContextMenu").ContextMenuTriggerProps> & import("./createNonNativeContextMenu").ContextMenuTriggerProps & {
|
|
5
|
+
} & Partial<Omit<import("@hanzogui/create-menu").NativeMenuProps, keyof import("./createNonNativeContextMenu.tsx").ContextMenuProps>>> & {
|
|
6
|
+
Trigger: React.FC<Omit<import("@hanzogui/web").ViewProps, "scope" | keyof import("./createNonNativeContextMenu.tsx").ContextMenuTriggerProps> & import("./createNonNativeContextMenu.tsx").ContextMenuTriggerProps & {
|
|
7
7
|
scope?: string;
|
|
8
|
-
} & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<import("@hanzogui/create-menu").MenuTriggerProps, "scope" | keyof
|
|
8
|
+
} & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<import("@hanzogui/create-menu").MenuTriggerProps, "scope" | keyof import("./createNonNativeContextMenu.tsx").ContextMenuTriggerProps | keyof React.RefAttributes<import("@hanzogui/web").GuiElement>>>>;
|
|
9
9
|
Portal: React.FC<import("@hanzogui/create-menu").MenuPortalProps & {
|
|
10
10
|
scope?: string;
|
|
11
11
|
} & {
|
|
12
12
|
scope?: string;
|
|
13
|
-
} & Partial<Omit<React.FragmentProps, keyof import("@hanzogui/create-menu").MenuPortalProps
|
|
14
|
-
Content: React.FC<import("./createNonNativeContextMenu").ContextMenuContentProps & {
|
|
13
|
+
} & Partial<Omit<React.FragmentProps, "scope" | keyof import("@hanzogui/create-menu").MenuPortalProps>>>;
|
|
14
|
+
Content: React.FC<import("./createNonNativeContextMenu.tsx").ContextMenuContentProps & {
|
|
15
15
|
scope?: string;
|
|
16
|
-
} & React.RefAttributes<(HTMLElement & import("@hanzogui/web").GuiElementMethods)
|
|
16
|
+
} & React.RefAttributes<import("react-native").View | (HTMLElement & import("@hanzogui/web").GuiElementMethods)> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuContentProps, "accessibilityActions" | "accessibilityElementsHidden" | "accessibilityHint" | "accessibilityIgnoresInvertColors" | "accessibilityLabel" | "accessibilityLabelledBy" | "accessibilityLanguage" | "accessibilityLargeContentTitle" | "accessibilityLiveRegion" | "accessibilityRespondsToUserInteraction" | "accessibilityRole" | "accessibilityShowsLargeContentViewer" | "accessibilityState" | "accessibilityValue" | "accessibilityViewIsModal" | "accessible" | "alignContent" | "alignItems" | "alignSelf" | "animateOnly" | "animatePosition" | "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" | "bordered" | "bottom" | "boxShadow" | "boxSizing" | "caretColor" | "children" | "chromeless" | "circular" | "className" | "clipPath" | "collapsable" | "collapsableChildren" | "columnGap" | "componentName" | "contain" | "containerType" | "content" | "cursor" | "dangerouslySetInnerHTML" | "debug" | "direction" | "disableClassName" | "disableOptimization" | "disabled" | "disabledStyle" | "display" | "download" | "elevate" | "elevation" | "elevationAndroid" | "enableAnimationForPositionChange" | "end" | "enterStyle" | "exitStyle" | "experimental_backgroundImage" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "focusStyle" | "focusVisibleStyle" | "focusWithinStyle" | "focusable" | "forceMount" | "forceStyle" | "fullscreen" | "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" | "loop" | "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" | "onCloseAutoFocus" | "onContextMenu" | "onCopy" | "onCut" | "onDoubleClick" | "onDrag" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDragStart" | "onDrop" | "onEscapeKeyDown" | "onFocus" | "onFocusOutside" | "onInput" | "onInteractOutside" | "onKeyDown" | "onKeyUp" | "onLayout" | "onLongPress" | "onMagicTap" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOut" | "onMouseOver" | "onMouseUp" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onPaste" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerDownOutside" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPress" | "onPressIn" | "onPressOut" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScroll" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "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" | "ref" | "rel" | "removeClippedSubviews" | "render" | "renderToHardwareTextureAndroid" | "right" | "role" | "rotate" | "rotateX" | "rotateY" | "rotateZ" | "rotation" | "rowGap" | "scale" | "scaleX" | "scaleY" | "scope" | "screenReaderFocusable" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "shouldRasterizeIOS" | "size" | "skewX" | "skewY" | "start" | "style" | "tabIndex" | "target" | "testID" | "textEmphasis" | "theme" | "themeShallow" | "top" | "transform" | "transformMatrix" | "transformOrigin" | "transformStyle" | "transition" | "translateX" | "translateY" | "transparent" | "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`>>>;
|
|
17
17
|
Group: React.FC<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
18
18
|
unstyled?: boolean | undefined;
|
|
19
|
-
}>, keyof import("@hanzogui/create-menu").MenuGroupProps> & import("@hanzogui/create-menu").MenuGroupProps & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuGroupProps, keyof
|
|
19
|
+
}>, keyof import("@hanzogui/create-menu").MenuGroupProps> & import("@hanzogui/create-menu").MenuGroupProps & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuGroupProps, keyof import("@hanzogui/create-menu").MenuGroupProps | keyof React.RefAttributes<import("@hanzogui/web").GuiElement>>>>;
|
|
20
20
|
Label: React.FC<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
|
|
21
|
-
unstyled?: boolean | undefined;
|
|
22
21
|
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
23
|
-
|
|
22
|
+
unstyled?: boolean | undefined;
|
|
23
|
+
}>, keyof import("@hanzogui/create-menu").MenuLabelProps> & import("@hanzogui/create-menu").MenuLabelProps & React.RefAttributes<import("@hanzogui/web").GuiTextElement> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuLabelProps, "adjustsFontSizeToFit" | "allowFontScaling" | "android_hyphenationFrequency" | "color" | "dataDetectorType" | "dynamicTypeRamp" | "elevation" | "ellipsis" | "ellipsizeMode" | "fontFamily" | "fontSize" | "fontStyle" | "fontVariant" | "fontWeight" | "includeFontPadding" | "letterSpacing" | "lineBreakMode" | "lineBreakStrategyIOS" | "lineHeight" | "maxFontSizeMultiplier" | "minimumFontScale" | "numberOfLines" | "pressRetentionOffset" | "selectable" | "selectionColor" | "size" | "suppressHighlighting" | "textAlign" | "textAlignVertical" | "textBreakStrategy" | "textDecorationColor" | "textDecorationDistance" | "textDecorationLine" | "textDecorationStyle" | "textOverflow" | "textShadow" | "textShadowColor" | "textShadowOffset" | "textShadowRadius" | "textTransform" | "whiteSpace" | "wordWrap" | "writingDirection" | keyof import("@hanzogui/create-menu").MenuLabelProps | keyof React.RefAttributes<import("@hanzogui/web").GuiTextElement>>>>;
|
|
24
24
|
Item: React.FC<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
25
25
|
unstyled?: boolean | undefined;
|
|
26
26
|
}>, "scope" | keyof import("@hanzogui/create-menu").MenuItemProps> & import("@hanzogui/create-menu").MenuItemProps & {
|
|
@@ -36,7 +36,7 @@ export declare function createContextMenu(param: CreateBaseMenuProps): React.FC<
|
|
|
36
36
|
hidden?: boolean;
|
|
37
37
|
destructive?: boolean;
|
|
38
38
|
key: string;
|
|
39
|
-
}, "scope" | keyof
|
|
39
|
+
}, "scope" | keyof import("@hanzogui/create-menu").MenuItemProps | keyof React.RefAttributes<import("@hanzogui/web").GuiElement>>>>;
|
|
40
40
|
CheckboxItem: React.FC<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
41
41
|
unstyled?: boolean | undefined;
|
|
42
42
|
}>, "scope" | keyof import("@hanzogui/create-menu").MenuCheckboxItemProps> & import("@hanzogui/create-menu").MenuCheckboxItemProps & {
|
|
@@ -46,44 +46,44 @@ export declare function createContextMenu(param: CreateBaseMenuProps): React.FC<
|
|
|
46
46
|
} & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<Omit<import("@hanzogui/create-menu").NativeMenuItemProps, "onSelect"> & {
|
|
47
47
|
checked?: boolean;
|
|
48
48
|
onCheckedChange?: (checked: boolean) => void;
|
|
49
|
-
value?:
|
|
50
|
-
onValueChange?: (state:
|
|
49
|
+
value?: 'mixed' | 'on' | 'off' | boolean;
|
|
50
|
+
onValueChange?: (state: 'mixed' | 'on' | 'off', prevState: 'mixed' | 'on' | 'off') => void;
|
|
51
51
|
key: string;
|
|
52
|
-
}, "scope" | keyof
|
|
52
|
+
}, "scope" | keyof import("@hanzogui/create-menu").MenuCheckboxItemProps | keyof React.RefAttributes<import("@hanzogui/web").GuiElement>>>>;
|
|
53
53
|
RadioGroup: React.FC<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
54
54
|
unstyled?: boolean | undefined;
|
|
55
55
|
}>, "scope" | keyof import("@hanzogui/create-menu").MenuRadioGroupProps> & import("@hanzogui/create-menu").MenuRadioGroupProps & {
|
|
56
56
|
scope?: string;
|
|
57
57
|
} & React.RefAttributes<import("@hanzogui/web").GuiElement>, "ref"> & {
|
|
58
58
|
scope?: string;
|
|
59
|
-
} & React.RefAttributes<(HTMLElement & import("@hanzogui/web").GuiElementMethods)
|
|
59
|
+
} & React.RefAttributes<import("react-native").View | (HTMLElement & import("@hanzogui/web").GuiElementMethods)> & Partial<Omit<unknown, "scope" | keyof import("@hanzogui/create-menu").MenuRadioGroupProps | keyof React.RefAttributes<import("react-native").View | (HTMLElement & import("@hanzogui/web").GuiElementMethods)>>>>;
|
|
60
60
|
RadioItem: React.FC<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
61
61
|
unstyled?: boolean | undefined;
|
|
62
62
|
}>, "scope" | keyof import("@hanzogui/create-menu").MenuRadioItemProps> & import("@hanzogui/create-menu").MenuRadioItemProps & {
|
|
63
63
|
scope?: string;
|
|
64
64
|
} & React.RefAttributes<import("@hanzogui/web").GuiElement>, "ref"> & {
|
|
65
65
|
scope?: string;
|
|
66
|
-
} & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<any, "scope" | keyof
|
|
66
|
+
} & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<any, "scope" | keyof import("@hanzogui/create-menu").MenuRadioItemProps | keyof React.RefAttributes<import("@hanzogui/web").GuiElement>>>>;
|
|
67
67
|
ItemIndicator: React.FC<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
68
68
|
unstyled?: boolean | undefined;
|
|
69
69
|
}>, "scope" | keyof import("@hanzogui/create-menu").MenuItemIndicatorProps> & import("@hanzogui/create-menu").MenuItemIndicatorProps & {
|
|
70
70
|
scope?: string;
|
|
71
|
-
}, "
|
|
71
|
+
}, "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, {
|
|
72
72
|
unstyled?: boolean | undefined;
|
|
73
73
|
}>, "scope" | keyof import("@hanzogui/create-menu").MenuItemIndicatorProps> & import("@hanzogui/create-menu").MenuItemIndicatorProps & {
|
|
74
74
|
scope?: string;
|
|
75
75
|
} & React.RefAttributes<import("@hanzogui/web").GuiElement>, "ref"> & {
|
|
76
76
|
scope?: string;
|
|
77
|
-
} & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuItemIndicatorProps, "
|
|
77
|
+
} & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuItemIndicatorProps, "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" | "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` | keyof React.RefAttributes<import("@hanzogui/web").GuiElement>>>>;
|
|
78
78
|
Separator: React.FC<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
79
79
|
unstyled?: boolean | undefined;
|
|
80
|
-
}>, keyof import("@hanzogui/create-menu").MenuSeparatorProps> & import("@hanzogui/create-menu").MenuSeparatorProps & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuSeparatorProps, keyof
|
|
80
|
+
}>, keyof import("@hanzogui/create-menu").MenuSeparatorProps> & import("@hanzogui/create-menu").MenuSeparatorProps & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuSeparatorProps, keyof import("@hanzogui/create-menu").MenuSeparatorProps | keyof React.RefAttributes<import("@hanzogui/web").GuiElement>>>>;
|
|
81
81
|
Arrow: React.FC<Omit<import("@hanzogui/create-menu").MenuArrowProps & React.RefAttributes<import("@hanzogui/web").GuiElement>, "ref"> & {
|
|
82
82
|
scope?: string;
|
|
83
|
-
} & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuArrowProps, "
|
|
84
|
-
Sub: React.FC<import("./createNonNativeContextMenu").ContextMenuSubProps & {
|
|
83
|
+
} & React.RefAttributes<import("@hanzogui/web").GuiElement> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuArrowProps, "accessibilityActions" | "accessibilityElementsHidden" | "accessibilityHint" | "accessibilityIgnoresInvertColors" | "accessibilityLabel" | "accessibilityLabelledBy" | "accessibilityLanguage" | "accessibilityLargeContentTitle" | "accessibilityLiveRegion" | "accessibilityRespondsToUserInteraction" | "accessibilityRole" | "accessibilityShowsLargeContentViewer" | "accessibilityState" | "accessibilityValue" | "accessibilityViewIsModal" | "accessible" | "alignContent" | "alignItems" | "alignSelf" | "animateOnly" | "animatePosition" | "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" | "download" | "elevation" | "elevationAndroid" | "end" | "enterStyle" | "exitStyle" | "experimental_backgroundImage" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "focusStyle" | "focusVisibleStyle" | "focusWithinStyle" | "focusable" | "forceStyle" | "fullscreen" | "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" | "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" | "offset" | "onAccessibilityAction" | "onAccessibilityEscape" | "onAccessibilityTap" | "onBeforeInput" | "onBlur" | "onChange" | "onClick" | "onContextMenu" | "onCopy" | "onCut" | "onDoubleClick" | "onDrag" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDragStart" | "onDrop" | "onFocus" | "onInput" | "onKeyDown" | "onKeyUp" | "onLayout" | "onLongPress" | "onMagicTap" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOut" | "onMouseOver" | "onMouseUp" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onPaste" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPress" | "onPressIn" | "onPressOut" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScroll" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "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" | "rel" | "removeClippedSubviews" | "render" | "renderToHardwareTextureAndroid" | "right" | "role" | "rotate" | "rotateX" | "rotateY" | "rotateZ" | "rotation" | "rowGap" | "scale" | "scaleX" | "scaleY" | "scope" | "screenReaderFocusable" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "shouldRasterizeIOS" | "size" | "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` | keyof React.RefAttributes<import("@hanzogui/web").GuiElement>>>>;
|
|
84
|
+
Sub: React.FC<import("./createNonNativeContextMenu.tsx").ContextMenuSubProps & {
|
|
85
85
|
scope?: string;
|
|
86
|
-
} & Partial<Omit<import("@hanzogui/create-menu").NativeMenuSubProps, keyof import("./createNonNativeContextMenu").ContextMenuSubProps>>>;
|
|
86
|
+
} & Partial<Omit<import("@hanzogui/create-menu").NativeMenuSubProps, keyof import("./createNonNativeContextMenu.tsx").ContextMenuSubProps>>>;
|
|
87
87
|
SubTrigger: React.FC<Omit<import("@hanzogui/create-menu").MenuSubTriggerProps & {
|
|
88
88
|
scope?: string;
|
|
89
89
|
} & React.RefAttributes<import("@hanzogui/web").GuiElement>, "ref"> & {
|
|
@@ -99,28 +99,28 @@ export declare function createContextMenu(param: CreateBaseMenuProps): React.FC<
|
|
|
99
99
|
key: string;
|
|
100
100
|
}>;
|
|
101
101
|
SubContent: React.FC<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
102
|
-
size?: import("@hanzogui/web").SizeTokens | undefined;
|
|
103
|
-
unstyled?: boolean | undefined;
|
|
104
102
|
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
105
103
|
fullscreen?: boolean | undefined;
|
|
104
|
+
size?: import("@hanzogui/web").SizeTokens | undefined;
|
|
105
|
+
unstyled?: boolean | undefined;
|
|
106
106
|
}>, keyof import("@hanzogui/create-menu").MenuSubContentProps> & import("@hanzogui/create-menu").MenuSubContentProps & {
|
|
107
107
|
scope?: string;
|
|
108
108
|
} & React.RefAttributes<import("@hanzogui/web").GuiElement>, "ref"> & {
|
|
109
109
|
scope?: string;
|
|
110
|
-
} & React.RefAttributes<(HTMLElement & import("@hanzogui/web").GuiElementMethods)
|
|
110
|
+
} & React.RefAttributes<import("react-native").View | (HTMLElement & import("@hanzogui/web").GuiElementMethods)> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuSubContentProps, keyof import("@hanzogui/create-menu").MenuSubContentProps | keyof React.RefAttributes<import("react-native").View | (HTMLElement & import("@hanzogui/web").GuiElementMethods)>>>>;
|
|
111
111
|
ItemTitle: React.FC<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
|
|
112
|
-
unstyled?: boolean | undefined;
|
|
113
112
|
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
113
|
+
unstyled?: boolean | undefined;
|
|
114
114
|
}>, keyof import("@hanzogui/create-menu").MenuItemTitleProps> & import("@hanzogui/create-menu").MenuItemTitleProps & React.RefAttributes<import("@hanzogui/web").GuiTextElement> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuItemTitleProps, "size" | keyof import("@hanzogui/create-menu").MenuItemTitleProps | keyof React.RefAttributes<import("@hanzogui/web").GuiTextElement>>>>;
|
|
115
115
|
ItemSubtitle: React.FC<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
|
|
116
|
-
unstyled?: boolean | undefined;
|
|
117
116
|
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
117
|
+
unstyled?: boolean | undefined;
|
|
118
118
|
}>, keyof import("@hanzogui/create-menu").MenuItemSubTitleProps> & import("@hanzogui/create-menu").MenuItemSubTitleProps & React.RefAttributes<import("@hanzogui/web").GuiTextElement> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuItemSubtitleProps, "size" | keyof import("@hanzogui/create-menu").MenuItemSubTitleProps | keyof React.RefAttributes<import("@hanzogui/web").GuiTextElement>>>>;
|
|
119
119
|
ItemIcon: React.FC<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
120
120
|
unstyled?: boolean | undefined;
|
|
121
|
-
}>, `$${string}` | `$${number}` | import("@hanzogui/web").GroupMediaKeys | keyof import("@hanzogui/web").
|
|
121
|
+
}>, `$${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, {}>> & React.RefAttributes<import("@hanzogui/web").GuiElement>, "ref"> & import("@hanzogui/create-menu").NativeMenuItemCommonProps>;
|
|
122
122
|
ItemImage: React.FC<import("react-native").ImageProps & React.RefAttributes<import("react-native").Image> & Partial<Omit<import("@hanzogui/create-menu").NativeMenuItemCommonProps & {
|
|
123
|
-
source: import("react-native").ImageProps[
|
|
123
|
+
source: import("react-native").ImageProps['source'];
|
|
124
124
|
ios?: {
|
|
125
125
|
style?: {
|
|
126
126
|
tint?: string;
|
|
@@ -130,5 +130,5 @@ export declare function createContextMenu(param: CreateBaseMenuProps): React.FC<
|
|
|
130
130
|
}, keyof import("react-native").ImageProps | keyof React.RefAttributes<import("react-native").Image>>>>;
|
|
131
131
|
Preview: React.FC<Partial<Omit<import("@hanzogui/create-menu").ContextMenuPreviewProps, never>>>;
|
|
132
132
|
};
|
|
133
|
-
export type { ContextMenuArrowProps, ContextMenuCheckboxItemProps, ContextMenuContentProps, ContextMenuGroupProps, ContextMenuItemIconProps, ContextMenuItemImageProps, ContextMenuItemIndicatorProps, ContextMenuItemProps, ContextMenuProps, ContextMenuRadioGroupProps, ContextMenuRadioItemProps, ContextMenuSeparatorProps, ContextMenuSubContentProps, ContextMenuSubProps, ContextMenuSubTriggerProps, ContextMenuTriggerProps, } from './createNonNativeContextMenu';
|
|
133
|
+
export type { ContextMenuArrowProps, ContextMenuCheckboxItemProps, ContextMenuContentProps, ContextMenuGroupProps, ContextMenuItemIconProps, ContextMenuItemImageProps, ContextMenuItemIndicatorProps, ContextMenuItemProps, ContextMenuProps, ContextMenuRadioGroupProps, ContextMenuRadioItemProps, ContextMenuSeparatorProps, ContextMenuSubContentProps, ContextMenuSubProps, ContextMenuSubTriggerProps, ContextMenuTriggerProps, } from './createNonNativeContextMenu.tsx';
|
|
134
134
|
//# sourceMappingURL=ContextMenu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../src/ContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EAGpB,MAAM,uBAAuB,CAAA;AAG9B,OAAO,KAAK,MAAM,OAAO,CAAA;AAczB,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,mBAAmB
|
|
1
|
+
{"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../src/ContextMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EAGpB,MAAM,uBAAuB,CAAA;AAG9B,OAAO,KAAK,MAAM,OAAO,CAAA;AAczB,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAwI9B,KAAK,CAAC,EAAE;;;;;;;;;;;;;MAAoC;;;;;;;;;;;;;;;;;;;cAKhD,KAAK,CAAC,EAAE;;mqCAAkC;;;;;;;;;;;EAKnE;AAED,YAAY,EACV,qBAAqB,EACrB,4BAA4B,EAC5B,uBAAuB,EACvB,qBAAqB,EACrB,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,oBAAoB,EACpB,gBAAgB,EAChB,0BAA0B,EAC1B,yBAAyB,EACzB,yBAAyB,EACzB,0BAA0B,EAC1B,mBAAmB,EACnB,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,kCAAkC,CAAA"}
|