@hanzogui/context-menu 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.
- package/package.json +12 -12
- package/src/createNonNativeContextMenu.tsx +17 -17
- package/types/ContextMenu.d.ts +59 -59
- package/types/createNonNativeContextMenu.d.ts +63 -63
- package/types/index.d.ts +59 -59
- package/dist/cjs/ContextMenu.cjs +0 -182
- package/dist/cjs/ContextMenu.native.js +0 -191
- package/dist/cjs/ContextMenu.native.js.map +0 -1
- package/dist/cjs/createNonNativeContextMenu.cjs +0 -417
- package/dist/cjs/createNonNativeContextMenu.native.js +0 -443
- package/dist/cjs/createNonNativeContextMenu.native.js.map +0 -1
- package/dist/cjs/index.cjs +0 -39
- package/dist/cjs/index.native.js +0 -42
- package/dist/cjs/index.native.js.map +0 -1
- package/dist/esm/ContextMenu.mjs +0 -148
- 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 -382
- package/dist/esm/createNonNativeContextMenu.mjs.map +0 -1
- package/dist/esm/createNonNativeContextMenu.native.js +0 -405
- package/dist/esm/createNonNativeContextMenu.native.js.map +0 -1
- package/dist/esm/index.js +0 -15
- package/dist/esm/index.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 -148
- package/dist/jsx/ContextMenu.mjs.map +0 -1
- package/dist/jsx/ContextMenu.native.js +0 -191
- package/dist/jsx/ContextMenu.native.js.map +0 -1
- package/dist/jsx/createNonNativeContextMenu.mjs +0 -382
- package/dist/jsx/createNonNativeContextMenu.mjs.map +0 -1
- package/dist/jsx/createNonNativeContextMenu.native.js +0 -443
- 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 -42
- package/dist/jsx/index.native.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type BaseMenuTypes from '@
|
|
2
|
-
import { createBaseMenu, type CreateBaseMenuProps } from '@
|
|
3
|
-
import { type
|
|
1
|
+
import type BaseMenuTypes from '@hanzogui/create-menu';
|
|
2
|
+
import { createBaseMenu, type CreateBaseMenuProps } from '@hanzogui/create-menu';
|
|
3
|
+
import { type HanzoguiElement, type ViewProps } from '@hanzogui/web';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
type Direction = 'ltr' | 'rtl';
|
|
6
6
|
export declare const CONTEXTMENU_CONTEXT = "ContextMenuContext";
|
|
@@ -50,129 +50,129 @@ export declare function createNonNativeContextMenu(params: CreateBaseMenuProps):
|
|
|
50
50
|
(props: ScopedProps<ContextMenuProps>): import("react/jsx-runtime").JSX.Element;
|
|
51
51
|
displayName: string;
|
|
52
52
|
};
|
|
53
|
-
Trigger: import("@
|
|
53
|
+
Trigger: import("@hanzogui/web").HanzoguiComponent<Omit<ViewProps, "scope" | keyof ContextMenuTriggerProps> & ContextMenuTriggerProps & {
|
|
54
54
|
scope?: string;
|
|
55
|
-
},
|
|
55
|
+
}, HanzoguiElement, import("@hanzogui/web").StackNonStyleProps & ContextMenuTriggerProps & {
|
|
56
56
|
scope?: string;
|
|
57
|
-
}, import("@
|
|
57
|
+
}, import("@hanzogui/web").StackStyleBase, {}, {}>;
|
|
58
58
|
Portal: {
|
|
59
59
|
(props: ScopedProps<ContextMenuPortalProps>): import("react/jsx-runtime").JSX.Element;
|
|
60
60
|
displayName: string;
|
|
61
61
|
};
|
|
62
62
|
Content: React.ForwardRefExoticComponent<ContextMenuContentProps & {
|
|
63
63
|
scope?: string;
|
|
64
|
-
} & React.RefAttributes<(HTMLElement & import("@
|
|
65
|
-
Group: import("@
|
|
64
|
+
} & React.RefAttributes<(HTMLElement & import("@hanzogui/web").HanzoguiElementMethods) | import("react-native").View>>;
|
|
65
|
+
Group: import("@hanzogui/web").HanzoguiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
66
66
|
unstyled?: boolean | undefined;
|
|
67
|
-
}>, keyof BaseMenuTypes.MenuGroupProps> & BaseMenuTypes.MenuGroupProps,
|
|
67
|
+
}>, keyof BaseMenuTypes.MenuGroupProps> & BaseMenuTypes.MenuGroupProps, HanzoguiElement, import("@hanzogui/web").StackNonStyleProps & BaseMenuTypes.MenuGroupProps, import("@hanzogui/web").StackStyleBase, {
|
|
68
68
|
unstyled?: boolean | undefined;
|
|
69
|
-
}, import("@
|
|
70
|
-
Label: import("@
|
|
69
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
70
|
+
Label: import("@hanzogui/web").HanzoguiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
|
|
71
71
|
unstyled?: boolean | undefined;
|
|
72
|
-
size?: import("@
|
|
73
|
-
}>, keyof BaseMenuTypes.MenuLabelProps> & BaseMenuTypes.MenuLabelProps, import("@
|
|
72
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
73
|
+
}>, keyof BaseMenuTypes.MenuLabelProps> & BaseMenuTypes.MenuLabelProps, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps & BaseMenuTypes.MenuLabelProps, import("@hanzogui/web").TextStylePropsBase, {
|
|
74
74
|
unstyled?: boolean | undefined;
|
|
75
|
-
size?: import("@
|
|
76
|
-
}, import("@
|
|
77
|
-
Item: React.ForwardRefExoticComponent<Omit<Omit<import("@
|
|
75
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
76
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
77
|
+
Item: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
78
78
|
unstyled?: boolean | undefined;
|
|
79
79
|
}>, "scope" | keyof BaseMenuTypes.MenuItemProps> & BaseMenuTypes.MenuItemProps & {
|
|
80
80
|
scope?: string;
|
|
81
|
-
} & React.RefAttributes<
|
|
81
|
+
} & React.RefAttributes<HanzoguiElement>, "ref"> & {
|
|
82
82
|
scope?: string;
|
|
83
|
-
} & React.RefAttributes<
|
|
84
|
-
CheckboxItem: React.ForwardRefExoticComponent<Omit<Omit<import("@
|
|
83
|
+
} & React.RefAttributes<HanzoguiElement>>;
|
|
84
|
+
CheckboxItem: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
85
85
|
unstyled?: boolean | undefined;
|
|
86
86
|
}>, "scope" | keyof BaseMenuTypes.MenuCheckboxItemProps> & BaseMenuTypes.MenuCheckboxItemProps & {
|
|
87
87
|
scope?: string;
|
|
88
|
-
} & React.RefAttributes<
|
|
88
|
+
} & React.RefAttributes<HanzoguiElement>, "ref"> & {
|
|
89
89
|
scope?: string;
|
|
90
|
-
} & React.RefAttributes<
|
|
91
|
-
RadioGroup: React.ForwardRefExoticComponent<Omit<Omit<import("@
|
|
90
|
+
} & React.RefAttributes<HanzoguiElement>>;
|
|
91
|
+
RadioGroup: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
92
92
|
unstyled?: boolean | undefined;
|
|
93
93
|
}>, "scope" | keyof BaseMenuTypes.MenuRadioGroupProps> & BaseMenuTypes.MenuRadioGroupProps & {
|
|
94
94
|
scope?: string;
|
|
95
|
-
} & React.RefAttributes<
|
|
95
|
+
} & React.RefAttributes<HanzoguiElement>, "ref"> & {
|
|
96
96
|
scope?: string;
|
|
97
|
-
} & React.RefAttributes<(HTMLElement & import("@
|
|
98
|
-
RadioItem: React.ForwardRefExoticComponent<Omit<Omit<import("@
|
|
97
|
+
} & React.RefAttributes<(HTMLElement & import("@hanzogui/web").HanzoguiElementMethods) | import("react-native").View>>;
|
|
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 & {
|
|
101
101
|
scope?: string;
|
|
102
|
-
} & React.RefAttributes<
|
|
102
|
+
} & React.RefAttributes<HanzoguiElement>, "ref"> & {
|
|
103
103
|
scope?: string;
|
|
104
|
-
} & React.RefAttributes<
|
|
105
|
-
ItemIndicator: import("@
|
|
104
|
+
} & React.RefAttributes<HanzoguiElement>>;
|
|
105
|
+
ItemIndicator: import("@hanzogui/web").HanzoguiComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
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` | `$theme-${string}` | `$theme-${number}` | "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" | "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" | "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("@
|
|
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` | `$theme-${string}` | `$theme-${number}` | "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" | "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" | "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, {
|
|
110
110
|
unstyled?: boolean | undefined;
|
|
111
111
|
}>, "scope" | keyof BaseMenuTypes.MenuItemIndicatorProps> & BaseMenuTypes.MenuItemIndicatorProps & {
|
|
112
112
|
scope?: string;
|
|
113
|
-
} & React.RefAttributes<
|
|
113
|
+
} & React.RefAttributes<HanzoguiElement>, "ref"> & {
|
|
114
114
|
scope?: string;
|
|
115
|
-
},
|
|
115
|
+
}, HanzoguiElement, import("@hanzogui/web").StackNonStyleProps & BaseMenuTypes.MenuItemIndicatorProps & {
|
|
116
116
|
scope?: string;
|
|
117
|
-
} & Omit<Omit<import("@
|
|
117
|
+
} & Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
118
118
|
unstyled?: boolean | undefined;
|
|
119
119
|
}>, "scope" | keyof BaseMenuTypes.MenuItemIndicatorProps> & BaseMenuTypes.MenuItemIndicatorProps & {
|
|
120
120
|
scope?: string;
|
|
121
|
-
} & React.RefAttributes<
|
|
121
|
+
} & React.RefAttributes<HanzoguiElement>, "ref"> & {
|
|
122
122
|
scope?: string;
|
|
123
|
-
}, import("@
|
|
123
|
+
}, import("@hanzogui/web").StackStyleBase, {
|
|
124
124
|
unstyled?: boolean | undefined;
|
|
125
|
-
}, import("@
|
|
126
|
-
Separator: import("@
|
|
125
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
126
|
+
Separator: import("@hanzogui/web").HanzoguiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
127
127
|
unstyled?: boolean | undefined;
|
|
128
|
-
}>, keyof BaseMenuTypes.MenuSeparatorProps> & BaseMenuTypes.MenuSeparatorProps,
|
|
128
|
+
}>, keyof BaseMenuTypes.MenuSeparatorProps> & BaseMenuTypes.MenuSeparatorProps, HanzoguiElement, import("@hanzogui/web").StackNonStyleProps & BaseMenuTypes.MenuSeparatorProps, import("@hanzogui/web").StackStyleBase, {
|
|
129
129
|
unstyled?: boolean | undefined;
|
|
130
|
-
}, import("@
|
|
131
|
-
Arrow: React.ForwardRefExoticComponent<Omit<BaseMenuTypes.MenuArrowProps & React.RefAttributes<
|
|
130
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
131
|
+
Arrow: React.ForwardRefExoticComponent<Omit<BaseMenuTypes.MenuArrowProps & React.RefAttributes<HanzoguiElement>, "ref"> & {
|
|
132
132
|
scope?: string;
|
|
133
|
-
} & React.RefAttributes<
|
|
133
|
+
} & React.RefAttributes<HanzoguiElement>>;
|
|
134
134
|
Sub: {
|
|
135
135
|
(props: ScopedProps<ContextMenuSubProps>): import("react/jsx-runtime").JSX.Element;
|
|
136
136
|
displayName: string;
|
|
137
137
|
};
|
|
138
|
-
SubTrigger: import("@
|
|
138
|
+
SubTrigger: import("@hanzogui/web").HanzoguiComponent<Omit<ViewProps, "scope" | "key" | keyof BaseMenuTypes.MenuSubTriggerProps> & Omit<BaseMenuTypes.MenuSubTriggerProps & {
|
|
139
139
|
scope?: string;
|
|
140
|
-
} & React.RefAttributes<
|
|
140
|
+
} & React.RefAttributes<HanzoguiElement>, "ref"> & {
|
|
141
141
|
scope?: string;
|
|
142
|
-
},
|
|
142
|
+
}, HanzoguiElement, import("@hanzogui/web").StackNonStyleProps & Omit<BaseMenuTypes.MenuSubTriggerProps & {
|
|
143
143
|
scope?: string;
|
|
144
|
-
} & React.RefAttributes<
|
|
144
|
+
} & React.RefAttributes<HanzoguiElement>, "ref"> & {
|
|
145
145
|
scope?: string;
|
|
146
|
-
}, import("@
|
|
147
|
-
SubContent: React.ForwardRefExoticComponent<Omit<Omit<import("@
|
|
148
|
-
size?: import("@
|
|
146
|
+
}, import("@hanzogui/web").StackStyleBase, {}, {}>;
|
|
147
|
+
SubContent: React.ForwardRefExoticComponent<Omit<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
148
|
+
size?: import("@hanzogui/web").SizeTokens | undefined;
|
|
149
149
|
unstyled?: boolean | undefined;
|
|
150
|
-
elevation?: number | import("@
|
|
150
|
+
elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
|
|
151
151
|
fullscreen?: boolean | undefined;
|
|
152
152
|
}>, keyof BaseMenuTypes.MenuSubContentProps> & BaseMenuTypes.MenuSubContentProps & {
|
|
153
153
|
scope?: string;
|
|
154
|
-
} & React.RefAttributes<
|
|
154
|
+
} & React.RefAttributes<HanzoguiElement>, "ref"> & {
|
|
155
155
|
scope?: string;
|
|
156
|
-
} & React.RefAttributes<(HTMLElement & import("@
|
|
157
|
-
ItemTitle: import("@
|
|
156
|
+
} & React.RefAttributes<(HTMLElement & import("@hanzogui/web").HanzoguiElementMethods) | import("react-native").View>>;
|
|
157
|
+
ItemTitle: import("@hanzogui/web").HanzoguiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
|
|
158
158
|
unstyled?: boolean | undefined;
|
|
159
|
-
size?: import("@
|
|
160
|
-
}>, keyof BaseMenuTypes.MenuItemTitleProps> & BaseMenuTypes.MenuItemTitleProps, import("@
|
|
159
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
160
|
+
}>, keyof BaseMenuTypes.MenuItemTitleProps> & BaseMenuTypes.MenuItemTitleProps, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps & BaseMenuTypes.MenuItemTitleProps, import("@hanzogui/web").TextStylePropsBase, {
|
|
161
161
|
unstyled?: boolean | undefined;
|
|
162
|
-
size?: import("@
|
|
163
|
-
}, import("@
|
|
164
|
-
ItemSubtitle: import("@
|
|
162
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
163
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
164
|
+
ItemSubtitle: import("@hanzogui/web").HanzoguiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").TextNonStyleProps, import("@hanzogui/web").TextStylePropsBase, {
|
|
165
165
|
unstyled?: boolean | undefined;
|
|
166
|
-
size?: import("@
|
|
167
|
-
}>, keyof BaseMenuTypes.MenuItemSubTitleProps> & BaseMenuTypes.MenuItemSubTitleProps, import("@
|
|
166
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
167
|
+
}>, keyof BaseMenuTypes.MenuItemSubTitleProps> & BaseMenuTypes.MenuItemSubTitleProps, import("@hanzogui/web").HanzoguiTextElement, import("@hanzogui/web").TextNonStyleProps & BaseMenuTypes.MenuItemSubTitleProps, import("@hanzogui/web").TextStylePropsBase, {
|
|
168
168
|
unstyled?: boolean | undefined;
|
|
169
|
-
size?: import("@
|
|
170
|
-
}, import("@
|
|
171
|
-
ItemIcon: import("@
|
|
169
|
+
size?: import("@hanzogui/web").FontSizeTokens | undefined;
|
|
170
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
171
|
+
ItemIcon: import("@hanzogui/web").HanzoguiComponent<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/web").StackNonStyleProps, import("@hanzogui/web").StackStyleBase, {
|
|
172
172
|
unstyled?: boolean | undefined;
|
|
173
|
-
}>, `$${string}` | `$${number}` | import("@
|
|
173
|
+
}>, `$${string}` | `$${number}` | import("@hanzogui/web").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | 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, {}>>, HanzoguiElement, 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
|
-
}, import("@
|
|
175
|
+
}, import("@hanzogui/web").StaticConfigPublic>;
|
|
176
176
|
ItemImage: React.ForwardRefExoticComponent<import("react-native").ImageProps & React.RefAttributes<import("react-native").Image>>;
|
|
177
177
|
Preview: () => null;
|
|
178
178
|
};
|