@tamagui/context-menu 3.0.0-beta.924.1 → 3.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/dist/cjs/createNonNativeContextMenu.cjs +1 -1
- package/dist/cjs/createNonNativeContextMenu.native.cjs +2 -9
- package/dist/cjs/createNonNativeContextMenu.native.js +2 -9
- package/dist/cjs/createNonNativeContextMenu.native.js.map +1 -1
- package/dist/esm/createNonNativeContextMenu.mjs +1 -1
- package/dist/esm/createNonNativeContextMenu.mjs.map +1 -1
- package/dist/esm/createNonNativeContextMenu.native.js +2 -9
- package/dist/esm/createNonNativeContextMenu.native.js.map +1 -1
- package/dist/jsx/createNonNativeContextMenu.mjs +1 -1
- package/dist/jsx/createNonNativeContextMenu.mjs.map +1 -1
- package/dist/jsx/createNonNativeContextMenu.native.cjs +2 -9
- package/dist/jsx/createNonNativeContextMenu.native.js +2 -9
- package/dist/jsx/createNonNativeContextMenu.native.js.map +1 -1
- package/package.json +12 -10
- package/src/createNonNativeContextMenu.tsx +1 -1
- package/types/ContextMenu.d.ts +28 -16
- package/types/ContextMenu.d.ts.map +1 -1
- package/types/createNonNativeContextMenu.d.ts +21 -33
- package/types/createNonNativeContextMenu.d.ts.map +1 -1
- package/types/index.d.ts +28 -16
- package/types/index.d.ts.map +1 -1
|
@@ -38,13 +38,6 @@ var import_create_menu = require("@tamagui/create-menu");
|
|
|
38
38
|
var import_use_controllable_state = require("@tamagui/use-controllable-state");
|
|
39
39
|
var import_web = require("@tamagui/web");
|
|
40
40
|
var import_react = __toESM(require("react"), 1);
|
|
41
|
-
function _instanceof(left, right) {
|
|
42
|
-
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
43
|
-
return !!right[Symbol.hasInstance](left);
|
|
44
|
-
} else {
|
|
45
|
-
return left instanceof right;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
41
|
var CONTEXTMENU_CONTEXT = "ContextMenuContext";
|
|
49
42
|
function createNonNativeContextMenu() {
|
|
50
43
|
var { Menu } = (0, import_create_menu.createBaseMenu)();
|
|
@@ -137,7 +130,7 @@ function createNonNativeContextMenu() {
|
|
|
137
130
|
};
|
|
138
131
|
};
|
|
139
132
|
var handleOpen = function(event) {
|
|
140
|
-
if (import_web.isWeb && (
|
|
133
|
+
if (import_web.isWeb && (event instanceof MouseEvent || event instanceof PointerEvent)) {
|
|
141
134
|
pointRef.current = {
|
|
142
135
|
x: event.clientX,
|
|
143
136
|
y: event.clientY
|
|
@@ -173,7 +166,7 @@ function createNonNativeContextMenu() {
|
|
|
173
166
|
style: import_web.isWeb ? {
|
|
174
167
|
WebkitTouchCallout: "none",
|
|
175
168
|
...style
|
|
176
|
-
} :
|
|
169
|
+
} : style,
|
|
177
170
|
...import_web.isWeb && {
|
|
178
171
|
onContextMenu: disabled ? props.onContextMenu : (0, import_web.composeEventHandlers)(props.onContextMenu, function(event) {
|
|
179
172
|
clearLongPress();
|
|
@@ -38,13 +38,6 @@ var import_create_menu = require("@tamagui/create-menu");
|
|
|
38
38
|
var import_use_controllable_state = require("@tamagui/use-controllable-state");
|
|
39
39
|
var import_web = require("@tamagui/web");
|
|
40
40
|
var import_react = __toESM(require("react"), 1);
|
|
41
|
-
function _instanceof(left, right) {
|
|
42
|
-
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
43
|
-
return !!right[Symbol.hasInstance](left);
|
|
44
|
-
} else {
|
|
45
|
-
return left instanceof right;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
41
|
var CONTEXTMENU_CONTEXT = "ContextMenuContext";
|
|
49
42
|
function createNonNativeContextMenu() {
|
|
50
43
|
var { Menu } = (0, import_create_menu.createBaseMenu)();
|
|
@@ -137,7 +130,7 @@ function createNonNativeContextMenu() {
|
|
|
137
130
|
};
|
|
138
131
|
};
|
|
139
132
|
var handleOpen = function(event) {
|
|
140
|
-
if (import_web.isWeb && (
|
|
133
|
+
if (import_web.isWeb && (event instanceof MouseEvent || event instanceof PointerEvent)) {
|
|
141
134
|
pointRef.current = {
|
|
142
135
|
x: event.clientX,
|
|
143
136
|
y: event.clientY
|
|
@@ -173,7 +166,7 @@ function createNonNativeContextMenu() {
|
|
|
173
166
|
style: import_web.isWeb ? {
|
|
174
167
|
WebkitTouchCallout: "none",
|
|
175
168
|
...style
|
|
176
|
-
} :
|
|
169
|
+
} : style,
|
|
177
170
|
...import_web.isWeb && {
|
|
178
171
|
onContextMenu: disabled ? props.onContextMenu : (0, import_web.composeEventHandlers)(props.onContextMenu, function(event) {
|
|
179
172
|
clearLongPress();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createNonNativeContextMenu.native.js","names":[],"sources":["jsx/createNonNativeContextMenu.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar createNonNativeContextMenu_exports = {};\n__export(createNonNativeContextMenu_exports, {\n CONTEXTMENU_CONTEXT: () => CONTEXTMENU_CONTEXT,\n createNonNativeContextMenu: () => createNonNativeContextMenu\n});\nmodule.exports = __toCommonJS(createNonNativeContextMenu_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_compose_refs = require(\"@tamagui/compose-refs\");\nvar import_create_menu = require(\"@tamagui/create-menu\");\nvar import_use_controllable_state = require(\"@tamagui/use-controllable-state\");\nvar import_web = require(\"@tamagui/web\");\nvar import_react = __toESM(require(\"react\"), 1);\nfunction _instanceof(left, right) {\n if (right != null && typeof Symbol !== \"undefined\" && right[Symbol.hasInstance]) {\n return !!right[Symbol.hasInstance](left);\n } else {\n return left instanceof right;\n }\n}\nvar CONTEXTMENU_CONTEXT = \"ContextMenuContext\";\nfunction createNonNativeContextMenu() {\n var { Menu } = (0, import_create_menu.createBaseMenu)();\n var CONTEXT_MENU_NAME = \"ContextMenu\";\n var { Provider: ContextMenuProvider, useStyledContext: useContextMenuContext } = (0, import_web.createStyledContext)();\n var ContextMenuComp = function(props) {\n var { scope, children, onOpenChange, open: openProp, defaultOpen, dir, modal = true, ...rest } = props;\n var [open, setOpen] = (0, import_use_controllable_state.useControllableState)({\n prop: openProp,\n defaultProp: defaultOpen !== null && defaultOpen !== void 0 ? defaultOpen : false\n });\n var triggerRef = import_react.default.useRef(null);\n var handleOpenChange = import_react.default.useCallback(function(open2, event) {\n onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(open2, event);\n if (event === null || event === void 0 ? void 0 : event.defaultPrevented) return;\n setOpen(open2);\n }, [\n onOpenChange,\n setOpen\n ]);\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ContextMenuProvider, {\n scope,\n triggerId: (0, import_react.useId)(),\n triggerRef,\n contentId: (0, import_react.useId)(),\n open,\n onOpenChange: handleOpenChange,\n modal,\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu, {\n scope: scope || CONTEXTMENU_CONTEXT,\n dir,\n open,\n onOpenChange: handleOpenChange,\n modal,\n ...rest,\n children\n })\n });\n };\n ContextMenuComp.displayName = CONTEXT_MENU_NAME;\n var TRIGGER_NAME = \"ContextMenuTrigger\";\n var ContextMenuTrigger = (0, import_web.createStyledHOC)(import_web.View, function(props, forwardedRef) {\n var { scope, style, className, disabled = false, asChild, children, ...triggerProps } = props;\n var context = useContextMenuContext(scope);\n var pointRef = import_react.default.useRef({\n x: 0,\n y: 0\n });\n var virtualRef = import_react.default.useMemo(function() {\n return {\n current: {\n getBoundingClientRect: function() {\n if (import_web.isWeb) {\n var scrollX = window.scrollX || document.documentElement.scrollLeft;\n var scrollY = window.scrollY || document.documentElement.scrollTop;\n return DOMRect.fromRect({\n width: 0,\n height: 0,\n x: pointRef.current.x - scrollX,\n y: pointRef.current.y - scrollY\n });\n }\n return {\n width: 0,\n height: 0,\n top: 0,\n left: 0,\n ...pointRef.current\n };\n },\n ...!import_web.isWeb && {\n measure: function(c) {\n return c(pointRef.current.x, pointRef.current.y, 0, 0);\n },\n measureInWindow: function(c) {\n return c(pointRef.current.x, pointRef.current.y, 0, 0);\n }\n }\n }\n };\n }, [\n pointRef.current.x,\n pointRef.current.y\n ]);\n var longPressTimerRef = import_react.default.useRef(0);\n var clearLongPress = import_react.default.useCallback(function() {\n return window.clearTimeout(longPressTimerRef.current);\n }, []);\n var createOpenChangeEvent = function() {\n var defaultPrevented = false;\n return {\n get defaultPrevented() {\n return defaultPrevented;\n },\n preventDefault() {\n defaultPrevented = true;\n }\n };\n };\n var handleOpen = function(event) {\n if (import_web.isWeb && (_instanceof(event, MouseEvent) || _instanceof(event, PointerEvent))) {\n pointRef.current = {\n x: event.clientX,\n y: event.clientY\n };\n } else {\n pointRef.current = {\n x: event.nativeEvent.pageX,\n y: event.nativeEvent.pageY\n };\n }\n var openChangeEvent = createOpenChangeEvent();\n context.onOpenChange(true, openChangeEvent);\n return openChangeEvent;\n };\n import_react.default.useEffect(function() {\n return clearLongPress;\n }, [\n clearLongPress\n ]);\n import_react.default.useEffect(function() {\n return void (disabled && clearLongPress());\n }, [\n disabled,\n clearLongPress\n ]);\n var Comp = asChild ? import_web.Slot : import_web.View;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.Anchor, {\n scope: scope || CONTEXTMENU_CONTEXT,\n virtualRef\n }),\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Comp, {\n render: \"span\",\n className: `is_${TRIGGER_NAME} ${className || \"\"}`.trim(),\n id: context.triggerId,\n \"data-state\": context.open ? \"open\" : \"closed\",\n \"data-disabled\": disabled ? \"\" : void 0,\n ...triggerProps,\n ref: (0, import_web.composeRefs)(forwardedRef, context.triggerRef),\n style: import_web.isWeb ? {\n WebkitTouchCallout: \"none\",\n ...style\n } : null,\n ...import_web.isWeb && {\n onContextMenu: disabled ? props.onContextMenu : (0, import_web.composeEventHandlers)(props.onContextMenu, function(event) {\n clearLongPress();\n var openChangeEvent = handleOpen(event);\n if (!openChangeEvent.defaultPrevented) {\n event.preventDefault();\n }\n }),\n onPointerDown: disabled ? props.onPointerDown : (0, import_web.composeEventHandlers)(props.onPointerDown, function(event) {\n if (event.pointerType === \"mouse\") return;\n clearLongPress();\n longPressTimerRef.current = window.setTimeout(function() {\n return handleOpen(event);\n }, 700);\n }),\n onPointerMove: disabled ? props.onPointerMove : (0, import_web.composeEventHandlers)(props.onPointerMove, function(event) {\n if (event.pointerType === \"mouse\") return;\n clearLongPress();\n }),\n onPointerCancel: disabled ? props.onPointerCancel : (0, import_web.composeEventHandlers)(props.onPointerCancel, function(event) {\n if (event.pointerType === \"mouse\") return;\n clearLongPress();\n }),\n onPointerUp: disabled ? props.onPointerUp : (0, import_web.composeEventHandlers)(props.onPointerUp, function(event) {\n if (event.pointerType === \"mouse\") return;\n clearLongPress();\n })\n },\n ...!import_web.isWeb && {\n onLongPress: disabled ? props.onLongPress : (0, import_web.composeEventHandlers)(props.onLongPress, function(event) {\n clearLongPress();\n var openChangeEvent = handleOpen(event);\n if (!openChangeEvent.defaultPrevented) {\n event.preventDefault();\n }\n })\n },\n children\n })\n ]\n });\n });\n ContextMenuTrigger.displayName = TRIGGER_NAME;\n var PORTAL_NAME = \"ContextMenuPortal\";\n var ContextMenuPortal = function(props) {\n var { scope, children, ...portalProps } = props;\n var context = import_web.isAndroid ? useContextMenuContext(scope) : null;\n var content = import_web.isAndroid ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ContextMenuProvider, {\n ...context,\n children\n }) : children;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.Portal, {\n scope: scope || CONTEXTMENU_CONTEXT,\n ...portalProps,\n children: content\n });\n };\n ContextMenuPortal.displayName = PORTAL_NAME;\n var CONTENT_NAME = \"ContextMenuContent\";\n var ContextMenuContent = (0, import_web.createStyledHOC)(Menu.Content, function(props, forwardedRef) {\n var { scope, ...contentProps } = props;\n var context = useContextMenuContext(scope);\n var hasInteractedOutsideRef = import_react.default.useRef(false);\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.Content, {\n id: context.contentId,\n \"aria-labelledby\": context.triggerId,\n scope: scope || CONTEXTMENU_CONTEXT,\n ...contentProps,\n ref: forwardedRef,\n onCloseAutoFocus: (0, import_web.composeEventHandlers)(props.onCloseAutoFocus, function(event) {\n var _context_triggerRef_current;\n if (!hasInteractedOutsideRef.current) (_context_triggerRef_current = context.triggerRef.current) === null || _context_triggerRef_current === void 0 ? void 0 : _context_triggerRef_current.focus();\n hasInteractedOutsideRef.current = false;\n event.cancel();\n }),\n onInteractOutside: (0, import_web.composeEventHandlers)(props.onInteractOutside, function(event) {\n if (event.interaction !== \"pointer\" || !event.event) return;\n var originalEvent = event.event;\n var ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n var isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (!context.modal || isRightClick) hasInteractedOutsideRef.current = true;\n })\n });\n });\n ContextMenuContent.displayName = CONTENT_NAME;\n var ITEM_NAME = \"ContextMenuItem\";\n var ContextMenuItem = (0, import_compose_refs.createRefComponent)(function(props, forwardedRef) {\n var { scope, className, ...itemProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.Item, {\n className: `is_${ITEM_NAME} ${className || \"\"}`.trim(),\n scope: scope || CONTEXTMENU_CONTEXT,\n ...itemProps,\n ref: forwardedRef\n });\n });\n ContextMenuItem.displayName = ITEM_NAME;\n var CHECKBOX_ITEM_NAME = \"ContextMenuCheckboxItem\";\n var ContextMenuCheckboxItem = (0, import_compose_refs.createRefComponent)(function(props, forwardedRef) {\n var { scope, className, ...checkboxItemProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.CheckboxItem, {\n className: `is_${CHECKBOX_ITEM_NAME} ${className || \"\"}`.trim(),\n scope: scope || CONTEXTMENU_CONTEXT,\n ...checkboxItemProps,\n ref: forwardedRef\n });\n });\n ContextMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\n var RADIO_GROUP_NAME = \"ContextMenuRadioGroup\";\n var ContextMenuRadioGroup = (0, import_compose_refs.createRefComponent)(function(props, forwardedRef) {\n var { scope, ...radioGroupProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.RadioGroup, {\n scope: scope || CONTEXTMENU_CONTEXT,\n ...radioGroupProps,\n ref: forwardedRef\n });\n });\n ContextMenuRadioGroup.displayName = RADIO_GROUP_NAME;\n var RADIO_ITEM_NAME = \"ContextMenuRadioItem\";\n var ContextMenuRadioItem = (0, import_compose_refs.createRefComponent)(function(props, forwardedRef) {\n var { scope, className, ...radioItemProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.RadioItem, {\n className: `is_${RADIO_ITEM_NAME} ${className || \"\"}`.trim(),\n scope: scope || CONTEXTMENU_CONTEXT,\n ...radioItemProps,\n ref: forwardedRef\n });\n });\n ContextMenuRadioItem.displayName = RADIO_ITEM_NAME;\n var INDICATOR_NAME = \"ContextMenuItemIndicator\";\n var ContextMenuItemIndicator = (0, import_web.createStyledHOC)(Menu.ItemIndicator, function(props, forwardedRef) {\n var { scope, className, ...itemIndicatorProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.ItemIndicator, {\n className: `is_${INDICATOR_NAME} ${className || \"\"}`.trim(),\n scope: scope || CONTEXTMENU_CONTEXT,\n ...itemIndicatorProps,\n ref: forwardedRef\n });\n });\n ContextMenuItemIndicator.displayName = INDICATOR_NAME;\n var SUB_NAME = \"ContextMenuSub\";\n var ContextMenuSub = function(props) {\n var { scope, children, onOpenChange, open: openProp, defaultOpen, ...rest } = props;\n var [open, setOpen] = (0, import_use_controllable_state.useControllableState)({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.Sub, {\n scope: scope || CONTEXTMENU_CONTEXT,\n open,\n onOpenChange: setOpen,\n ...rest,\n children\n });\n };\n ContextMenuSub.displayName = SUB_NAME;\n var SUB_TRIGGER_NAME = \"ContextMenuSubTrigger\";\n var ContextMenuSubTrigger = (0, import_web.createStyledHOC)(import_web.View, function(props, forwardedRef) {\n var { scope, className, ...subTriggerProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.SubTrigger, {\n className: `is_${SUB_TRIGGER_NAME} ${className || \"\"}`.trim(),\n scope: scope || CONTEXTMENU_CONTEXT,\n ...subTriggerProps,\n ref: forwardedRef\n });\n });\n ContextMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\n var SUB_CONTENT_NAME = \"ContextMenuSubContent\";\n var ContextMenuSubContent = (0, import_web.createStyledHOC)(Menu.SubContent, function(props, forwardedRef) {\n var { scope, ...subContentProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.SubContent, {\n scope: scope || CONTEXTMENU_CONTEXT,\n ...subContentProps,\n ref: forwardedRef,\n style: import_web.isWeb ? {\n ...props.style,\n ...{\n \"--tamagui-context-menu-content-transform-origin\": \"var(--tamagui-popper-transform-origin)\",\n \"--tamagui-context-menu-content-available-width\": \"var(--tamagui-popper-available-width)\",\n \"--tamagui-context-menu-content-available-height\": \"var(--tamagui-popper-available-height)\",\n \"--tamagui-context-menu-trigger-width\": \"var(--tamagui-popper-anchor-width)\",\n \"--tamagui-context-menu-trigger-height\": \"var(--tamagui-popper-anchor-height)\"\n }\n } : null\n });\n });\n ContextMenuSubContent.displayName = SUB_CONTENT_NAME;\n var ARROW_NAME = \"ContextMenuArrow\";\n var ContextMenuArrow = (0, import_compose_refs.createRefComponent)(function(props, forwardedRef) {\n var { scope, className, ...arrowProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.Arrow, {\n className: `is_${ARROW_NAME} ${className || \"\"}`.trim(),\n scope: scope || CONTEXTMENU_CONTEXT,\n ...arrowProps,\n ref: forwardedRef\n });\n });\n ContextMenuArrow.displayName = ARROW_NAME;\n var ContextMenuGroup = Menu.Group;\n var ContextMenuLabel = Menu.Label;\n var ContextMenuSeparator = Menu.Separator;\n var ContextMenuItemTitle = Menu.ItemTitle;\n var ContextMenuItemSubTitle = Menu.ItemSubtitle;\n var ContextMenuItemImage = Menu.ItemImage;\n var ContextMenuItemIcon = Menu.ItemIcon;\n var ContextMenuPreview = function() {\n return null;\n };\n return (0, import_web.withStaticProperties)(ContextMenuComp, {\n Root: ContextMenuComp,\n Trigger: ContextMenuTrigger,\n Portal: ContextMenuPortal,\n Content: ContextMenuContent,\n Group: ContextMenuGroup,\n Label: ContextMenuLabel,\n Item: ContextMenuItem,\n CheckboxItem: ContextMenuCheckboxItem,\n RadioGroup: ContextMenuRadioGroup,\n RadioItem: ContextMenuRadioItem,\n ItemIndicator: ContextMenuItemIndicator,\n Separator: ContextMenuSeparator,\n Arrow: ContextMenuArrow,\n Sub: ContextMenuSub,\n SubTrigger: ContextMenuSubTrigger,\n SubContent: ContextMenuSubContent,\n ItemTitle: ContextMenuItemTitle,\n ItemSubtitle: ContextMenuItemSubTitle,\n ItemIcon: ContextMenuItemIcon,\n ItemImage: ContextMenuItemImage,\n Preview: ContextMenuPreview\n });\n}\n//# sourceMappingURL=createNonNativeContextMenu.js.map\n"],"mappings":";;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,WAAW,KAAK,YAAY,YAAY,SAAS,OAAO,OAAO,SAAS,aAAa,GAAG,CAAC,IAAI,CAAC,GAAG,YAKnG,cAAc,CAAC,OAAO,CAAC,IAAI,aAAa,UAAU,QAAQ,WAAW;CAAE,OAAO;CAAK,YAAY;AAAK,CAAC,IAAI,QACzG,GACF;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,qCAAqC,CAAC;AAC1C,SAAS,oCAAoC;CAC3C,2BAA2B;CAC3B,kCAAk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ContextMenu.native.js","names":[],"sources":["jsx/createNonNativeContextMenu.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar createNonNativeContextMenu_exports = {};\n__export(createNonNativeContextMenu_exports, {\n CONTEXTMENU_CONTEXT: () => CONTEXTMENU_CONTEXT,\n createNonNativeContextMenu: () => createNonNativeContextMenu\n});\nmodule.exports = __toCommonJS(createNonNativeContextMenu_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_compose_refs = require(\"@tamagui/compose-refs\");\nvar import_create_menu = require(\"@tamagui/create-menu\");\nvar import_use_controllable_state = require(\"@tamagui/use-controllable-state\");\nvar import_web = require(\"@tamagui/web\");\nvar import_react = __toESM(require(\"react\"), 1);\nvar CONTEXTMENU_CONTEXT = \"ContextMenuContext\";\nfunction createNonNativeContextMenu() {\n var { Menu } = (0, import_create_menu.createBaseMenu)();\n var CONTEXT_MENU_NAME = \"ContextMenu\";\n var { Provider: ContextMenuProvider, useStyledContext: useContextMenuContext } = (0, import_web.createStyledContext)();\n var ContextMenuComp = function(props) {\n var { scope, children, onOpenChange, open: openProp, defaultOpen, dir, modal = true, ...rest } = props;\n var [open, setOpen] = (0, import_use_controllable_state.useControllableState)({\n prop: openProp,\n defaultProp: defaultOpen !== null && defaultOpen !== void 0 ? defaultOpen : false\n });\n var triggerRef = import_react.default.useRef(null);\n var handleOpenChange = import_react.default.useCallback(function(open2, event) {\n onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(open2, event);\n if (event === null || event === void 0 ? void 0 : event.defaultPrevented) return;\n setOpen(open2);\n }, [\n onOpenChange,\n setOpen\n ]);\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ContextMenuProvider, {\n scope,\n triggerId: (0, import_react.useId)(),\n triggerRef,\n contentId: (0, import_react.useId)(),\n open,\n onOpenChange: handleOpenChange,\n modal,\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu, {\n scope: scope || CONTEXTMENU_CONTEXT,\n dir,\n open,\n onOpenChange: handleOpenChange,\n modal,\n ...rest,\n children\n })\n });\n };\n ContextMenuComp.displayName = CONTEXT_MENU_NAME;\n var TRIGGER_NAME = \"ContextMenuTrigger\";\n var ContextMenuTrigger = (0, import_web.createStyledHOC)(import_web.View, function(props, forwardedRef) {\n var { scope, style, className, disabled = false, asChild, children, ...triggerProps } = props;\n var context = useContextMenuContext(scope);\n var pointRef = import_react.default.useRef({\n x: 0,\n y: 0\n });\n var virtualRef = import_react.default.useMemo(function() {\n return {\n current: {\n getBoundingClientRect: function() {\n if (import_web.isWeb) {\n var scrollX = window.scrollX || document.documentElement.scrollLeft;\n var scrollY = window.scrollY || document.documentElement.scrollTop;\n return DOMRect.fromRect({\n width: 0,\n height: 0,\n x: pointRef.current.x - scrollX,\n y: pointRef.current.y - scrollY\n });\n }\n return {\n width: 0,\n height: 0,\n top: 0,\n left: 0,\n ...pointRef.current\n };\n },\n ...!import_web.isWeb && {\n measure: function(c) {\n return c(pointRef.current.x, pointRef.current.y, 0, 0);\n },\n measureInWindow: function(c) {\n return c(pointRef.current.x, pointRef.current.y, 0, 0);\n }\n }\n }\n };\n }, [\n pointRef.current.x,\n pointRef.current.y\n ]);\n var longPressTimerRef = import_react.default.useRef(0);\n var clearLongPress = import_react.default.useCallback(function() {\n return window.clearTimeout(longPressTimerRef.current);\n }, []);\n var createOpenChangeEvent = function() {\n var defaultPrevented = false;\n return {\n get defaultPrevented() {\n return defaultPrevented;\n },\n preventDefault() {\n defaultPrevented = true;\n }\n };\n };\n var handleOpen = function(event) {\n if (import_web.isWeb && (event instanceof MouseEvent || event instanceof PointerEvent)) {\n pointRef.current = {\n x: event.clientX,\n y: event.clientY\n };\n } else {\n pointRef.current = {\n x: event.nativeEvent.pageX,\n y: event.nativeEvent.pageY\n };\n }\n var openChangeEvent = createOpenChangeEvent();\n context.onOpenChange(true, openChangeEvent);\n return openChangeEvent;\n };\n import_react.default.useEffect(function() {\n return clearLongPress;\n }, [\n clearLongPress\n ]);\n import_react.default.useEffect(function() {\n return void (disabled && clearLongPress());\n }, [\n disabled,\n clearLongPress\n ]);\n var Comp = asChild ? import_web.Slot : import_web.View;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.Anchor, {\n scope: scope || CONTEXTMENU_CONTEXT,\n virtualRef\n }),\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Comp, {\n render: \"span\",\n className: `is_${TRIGGER_NAME} ${className || \"\"}`.trim(),\n id: context.triggerId,\n \"data-state\": context.open ? \"open\" : \"closed\",\n \"data-disabled\": disabled ? \"\" : void 0,\n ...triggerProps,\n ref: (0, import_web.composeRefs)(forwardedRef, context.triggerRef),\n style: import_web.isWeb ? {\n WebkitTouchCallout: \"none\",\n ...style\n } : style,\n ...import_web.isWeb && {\n onContextMenu: disabled ? props.onContextMenu : (0, import_web.composeEventHandlers)(props.onContextMenu, function(event) {\n clearLongPress();\n var openChangeEvent = handleOpen(event);\n if (!openChangeEvent.defaultPrevented) {\n event.preventDefault();\n }\n }),\n onPointerDown: disabled ? props.onPointerDown : (0, import_web.composeEventHandlers)(props.onPointerDown, function(event) {\n if (event.pointerType === \"mouse\") return;\n clearLongPress();\n longPressTimerRef.current = window.setTimeout(function() {\n return handleOpen(event);\n }, 700);\n }),\n onPointerMove: disabled ? props.onPointerMove : (0, import_web.composeEventHandlers)(props.onPointerMove, function(event) {\n if (event.pointerType === \"mouse\") return;\n clearLongPress();\n }),\n onPointerCancel: disabled ? props.onPointerCancel : (0, import_web.composeEventHandlers)(props.onPointerCancel, function(event) {\n if (event.pointerType === \"mouse\") return;\n clearLongPress();\n }),\n onPointerUp: disabled ? props.onPointerUp : (0, import_web.composeEventHandlers)(props.onPointerUp, function(event) {\n if (event.pointerType === \"mouse\") return;\n clearLongPress();\n })\n },\n ...!import_web.isWeb && {\n onLongPress: disabled ? props.onLongPress : (0, import_web.composeEventHandlers)(props.onLongPress, function(event) {\n clearLongPress();\n var openChangeEvent = handleOpen(event);\n if (!openChangeEvent.defaultPrevented) {\n event.preventDefault();\n }\n })\n },\n children\n })\n ]\n });\n });\n ContextMenuTrigger.displayName = TRIGGER_NAME;\n var PORTAL_NAME = \"ContextMenuPortal\";\n var ContextMenuPortal = function(props) {\n var { scope, children, ...portalProps } = props;\n var context = import_web.isAndroid ? useContextMenuContext(scope) : null;\n var content = import_web.isAndroid ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ContextMenuProvider, {\n ...context,\n children\n }) : children;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.Portal, {\n scope: scope || CONTEXTMENU_CONTEXT,\n ...portalProps,\n children: content\n });\n };\n ContextMenuPortal.displayName = PORTAL_NAME;\n var CONTENT_NAME = \"ContextMenuContent\";\n var ContextMenuContent = (0, import_web.createStyledHOC)(Menu.Content, function(props, forwardedRef) {\n var { scope, ...contentProps } = props;\n var context = useContextMenuContext(scope);\n var hasInteractedOutsideRef = import_react.default.useRef(false);\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.Content, {\n id: context.contentId,\n \"aria-labelledby\": context.triggerId,\n scope: scope || CONTEXTMENU_CONTEXT,\n ...contentProps,\n ref: forwardedRef,\n onCloseAutoFocus: (0, import_web.composeEventHandlers)(props.onCloseAutoFocus, function(event) {\n var _context_triggerRef_current;\n if (!hasInteractedOutsideRef.current) (_context_triggerRef_current = context.triggerRef.current) === null || _context_triggerRef_current === void 0 ? void 0 : _context_triggerRef_current.focus();\n hasInteractedOutsideRef.current = false;\n event.cancel();\n }),\n onInteractOutside: (0, import_web.composeEventHandlers)(props.onInteractOutside, function(event) {\n if (event.interaction !== \"pointer\" || !event.event) return;\n var originalEvent = event.event;\n var ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n var isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (!context.modal || isRightClick) hasInteractedOutsideRef.current = true;\n })\n });\n });\n ContextMenuContent.displayName = CONTENT_NAME;\n var ITEM_NAME = \"ContextMenuItem\";\n var ContextMenuItem = (0, import_compose_refs.createRefComponent)(function(props, forwardedRef) {\n var { scope, className, ...itemProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.Item, {\n className: `is_${ITEM_NAME} ${className || \"\"}`.trim(),\n scope: scope || CONTEXTMENU_CONTEXT,\n ...itemProps,\n ref: forwardedRef\n });\n });\n ContextMenuItem.displayName = ITEM_NAME;\n var CHECKBOX_ITEM_NAME = \"ContextMenuCheckboxItem\";\n var ContextMenuCheckboxItem = (0, import_compose_refs.createRefComponent)(function(props, forwardedRef) {\n var { scope, className, ...checkboxItemProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.CheckboxItem, {\n className: `is_${CHECKBOX_ITEM_NAME} ${className || \"\"}`.trim(),\n scope: scope || CONTEXTMENU_CONTEXT,\n ...checkboxItemProps,\n ref: forwardedRef\n });\n });\n ContextMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\n var RADIO_GROUP_NAME = \"ContextMenuRadioGroup\";\n var ContextMenuRadioGroup = (0, import_compose_refs.createRefComponent)(function(props, forwardedRef) {\n var { scope, ...radioGroupProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.RadioGroup, {\n scope: scope || CONTEXTMENU_CONTEXT,\n ...radioGroupProps,\n ref: forwardedRef\n });\n });\n ContextMenuRadioGroup.displayName = RADIO_GROUP_NAME;\n var RADIO_ITEM_NAME = \"ContextMenuRadioItem\";\n var ContextMenuRadioItem = (0, import_compose_refs.createRefComponent)(function(props, forwardedRef) {\n var { scope, className, ...radioItemProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.RadioItem, {\n className: `is_${RADIO_ITEM_NAME} ${className || \"\"}`.trim(),\n scope: scope || CONTEXTMENU_CONTEXT,\n ...radioItemProps,\n ref: forwardedRef\n });\n });\n ContextMenuRadioItem.displayName = RADIO_ITEM_NAME;\n var INDICATOR_NAME = \"ContextMenuItemIndicator\";\n var ContextMenuItemIndicator = (0, import_web.createStyledHOC)(Menu.ItemIndicator, function(props, forwardedRef) {\n var { scope, className, ...itemIndicatorProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.ItemIndicator, {\n className: `is_${INDICATOR_NAME} ${className || \"\"}`.trim(),\n scope: scope || CONTEXTMENU_CONTEXT,\n ...itemIndicatorProps,\n ref: forwardedRef\n });\n });\n ContextMenuItemIndicator.displayName = INDICATOR_NAME;\n var SUB_NAME = \"ContextMenuSub\";\n var ContextMenuSub = function(props) {\n var { scope, children, onOpenChange, open: openProp, defaultOpen, ...rest } = props;\n var [open, setOpen] = (0, import_use_controllable_state.useControllableState)({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.Sub, {\n scope: scope || CONTEXTMENU_CONTEXT,\n open,\n onOpenChange: setOpen,\n ...rest,\n children\n });\n };\n ContextMenuSub.displayName = SUB_NAME;\n var SUB_TRIGGER_NAME = \"ContextMenuSubTrigger\";\n var ContextMenuSubTrigger = (0, import_web.createStyledHOC)(import_web.View, function(props, forwardedRef) {\n var { scope, className, ...subTriggerProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.SubTrigger, {\n className: `is_${SUB_TRIGGER_NAME} ${className || \"\"}`.trim(),\n scope: scope || CONTEXTMENU_CONTEXT,\n ...subTriggerProps,\n ref: forwardedRef\n });\n });\n ContextMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\n var SUB_CONTENT_NAME = \"ContextMenuSubContent\";\n var ContextMenuSubContent = (0, import_web.createStyledHOC)(Menu.SubContent, function(props, forwardedRef) {\n var { scope, ...subContentProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.SubContent, {\n scope: scope || CONTEXTMENU_CONTEXT,\n ...subContentProps,\n ref: forwardedRef,\n style: import_web.isWeb ? {\n ...props.style,\n ...{\n \"--tamagui-context-menu-content-transform-origin\": \"var(--tamagui-popper-transform-origin)\",\n \"--tamagui-context-menu-content-available-width\": \"var(--tamagui-popper-available-width)\",\n \"--tamagui-context-menu-content-available-height\": \"var(--tamagui-popper-available-height)\",\n \"--tamagui-context-menu-trigger-width\": \"var(--tamagui-popper-anchor-width)\",\n \"--tamagui-context-menu-trigger-height\": \"var(--tamagui-popper-anchor-height)\"\n }\n } : null\n });\n });\n ContextMenuSubContent.displayName = SUB_CONTENT_NAME;\n var ARROW_NAME = \"ContextMenuArrow\";\n var ContextMenuArrow = (0, import_compose_refs.createRefComponent)(function(props, forwardedRef) {\n var { scope, className, ...arrowProps } = props;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu.Arrow, {\n className: `is_${ARROW_NAME} ${className || \"\"}`.trim(),\n scope: scope || CONTEXTMENU_CONTEXT,\n ...arrowProps,\n ref: forwardedRef\n });\n });\n ContextMenuArrow.displayName = ARROW_NAME;\n var ContextMenuGroup = Menu.Group;\n var ContextMenuLabel = Menu.Label;\n var ContextMenuSeparator = Menu.Separator;\n var ContextMenuItemTitle = Menu.ItemTitle;\n var ContextMenuItemSubTitle = Menu.ItemSubtitle;\n var ContextMenuItemImage = Menu.ItemImage;\n var ContextMenuItemIcon = Menu.ItemIcon;\n var ContextMenuPreview = function() {\n return null;\n };\n return (0, import_web.withStaticProperties)(ContextMenuComp, {\n Root: ContextMenuComp,\n Trigger: ContextMenuTrigger,\n Portal: ContextMenuPortal,\n Content: ContextMenuContent,\n Group: ContextMenuGroup,\n Label: ContextMenuLabel,\n Item: ContextMenuItem,\n CheckboxItem: ContextMenuCheckboxItem,\n RadioGroup: ContextMenuRadioGroup,\n RadioItem: ContextMenuRadioItem,\n ItemIndicator: ContextMenuItemIndicator,\n Separator: ContextMenuSeparator,\n Arrow: ContextMenuArrow,\n Sub: ContextMenuSub,\n SubTrigger: ContextMenuSubTrigger,\n SubContent: ContextMenuSubContent,\n ItemTitle: ContextMenuItemTitle,\n ItemSubtitle: ContextMenuItemSubTitle,\n ItemIcon: ContextMenuItemIcon,\n ItemImage: ContextMenuItemImage,\n Preview: ContextMenuPreview\n });\n}\n//# sourceMappingURL=createNonNativeContextMenu.js.map\n"],"mappings":";;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAA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,uBAAuB,KAAK;CAChC,IAAI,0BAA0B,KAAK;CACnC,IAAI,uBAAuB,KAAK;CAChC,IAAI,sBAAsB,KAAK;CAC/B,IAAI,qBAAqB,WAAW;EAClC,OAAO;CACT;CACA,QAAQ,GAAG,WAAW,qBAAoB,CAAE,iBAAiB;EAC3D,MAAM;EACN,SAAS;EACT,QAAQ;EACR,SAAS;EACT,OAAO;EACP,OAAO;EACP,MAAM;EACN,cAAc;EACd,YAAY;EACZ,WAAW;EACX,eAAe;EACf,WAAW;EACX,OAAO;EACP,KAAK;EACL,YAAY;EACZ,YAAY;EACZ,WAAW;EACX,cAAc;EACd,UAAU;EACV,WAAW;EACX,SAAS;CACX,CAAC;AACH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/context-menu",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
6
|
"source": "src/index.ts",
|
|
6
7
|
"type": "module",
|
|
@@ -34,16 +35,16 @@
|
|
|
34
35
|
"clean:build": "tamagui-build clean:build"
|
|
35
36
|
},
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"@tamagui/compose-refs": "3.0.0
|
|
38
|
-
"@tamagui/create-menu": "3.0.0
|
|
39
|
-
"@tamagui/polyfill-dev": "3.0.0
|
|
40
|
-
"@tamagui/popover": "3.0.0
|
|
41
|
-
"@tamagui/use-callback-ref": "3.0.0
|
|
42
|
-
"@tamagui/use-controllable-state": "3.0.0
|
|
43
|
-
"@tamagui/web": "3.0.0
|
|
38
|
+
"@tamagui/compose-refs": "3.0.0",
|
|
39
|
+
"@tamagui/create-menu": "3.0.0",
|
|
40
|
+
"@tamagui/polyfill-dev": "3.0.0",
|
|
41
|
+
"@tamagui/popover": "3.0.0",
|
|
42
|
+
"@tamagui/use-callback-ref": "3.0.0",
|
|
43
|
+
"@tamagui/use-controllable-state": "3.0.0",
|
|
44
|
+
"@tamagui/web": "3.0.0"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
|
-
"@tamagui/build": "3.0.0
|
|
47
|
+
"@tamagui/build": "3.0.0",
|
|
47
48
|
"react": "19.2.3"
|
|
48
49
|
},
|
|
49
50
|
"peerDependencies": {
|
|
@@ -54,5 +55,6 @@
|
|
|
54
55
|
"type": "git",
|
|
55
56
|
"url": "git+https://github.com/tamagui/tamagui.git",
|
|
56
57
|
"directory": "code/ui/context-menu"
|
|
57
|
-
}
|
|
58
|
+
},
|
|
59
|
+
"releaseSourceCommit": "15fbca480b143f876f6975601e23a17d3f90d2ee"
|
|
58
60
|
}
|
|
@@ -253,7 +253,7 @@ export function createNonNativeContextMenu() {
|
|
|
253
253
|
data-disabled={disabled ? '' : undefined}
|
|
254
254
|
{...triggerProps}
|
|
255
255
|
ref={composeRefs(forwardedRef, context.triggerRef)}
|
|
256
|
-
style={isWeb ? { WebkitTouchCallout: 'none', ...(style as object) } :
|
|
256
|
+
style={isWeb ? { WebkitTouchCallout: 'none', ...(style as object) } : style}
|
|
257
257
|
{...(isWeb && {
|
|
258
258
|
onContextMenu: disabled
|
|
259
259
|
? props.onContextMenu
|
package/types/ContextMenu.d.ts
CHANGED
|
@@ -12,11 +12,11 @@ export declare function createContextMenu(): React.FC<import("./createNonNativeC
|
|
|
12
12
|
} & {
|
|
13
13
|
scope?: string;
|
|
14
14
|
} & Partial<Omit<React.FragmentProps, "scope" | keyof import("@tamagui/create-menu").MenuPortalProps>>>;
|
|
15
|
-
Content: React.FC<Omit<Omit<
|
|
15
|
+
Content: React.FC<Omit<Omit<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/create-menu").MenuContentProps> & import("@tamagui/create-menu").MenuContentProps & {
|
|
16
16
|
scope?: string;
|
|
17
17
|
}, keyof import("./createNonNativeContextMenu").ContextMenuContentProps> & import("./createNonNativeContextMenu").ContextMenuContentProps & {
|
|
18
18
|
scope?: string;
|
|
19
|
-
} & {
|
|
19
|
+
}, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<Omit<Omit<{}, keyof import("@tamagui/create-menu").MenuContentProps>, keyof import("./createNonNativeContextMenu").ContextMenuContentProps>> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "onEntryFocus" | keyof import("./createNonNativeContextMenu").ContextMenuContentProps> & {
|
|
20
20
|
ref?: React.Ref<import("@tamagui/web").TamaguiElement> | undefined;
|
|
21
21
|
} & Partial<Omit<import("@tamagui/create-menu").NativeMenuContentProps, "onEntryFocus" | "ref" | keyof import("./createNonNativeContextMenu").ContextMenuContentProps>>>;
|
|
22
22
|
Group: React.FC<Omit<import("@tamagui/web").ViewProps, keyof import("@tamagui/create-menu").MenuGroupProps> & import("@tamagui/create-menu").MenuGroupProps & {
|
|
@@ -60,7 +60,7 @@ export declare function createContextMenu(): React.FC<import("./createNonNativeC
|
|
|
60
60
|
ref?: React.Ref<import("@tamagui/web").TamaguiElement> | undefined;
|
|
61
61
|
}, "ref"> & {
|
|
62
62
|
scope?: string;
|
|
63
|
-
} & import("@tamagui/web").RefProp<import("react-native").
|
|
63
|
+
} & import("@tamagui/web").RefProp<import("@tamagui/react-native-types/src").ReactNativeElement | (HTMLElement & import("@tamagui/web").TamaguiElementMethods)> & Partial<Omit<unknown, "ref" | "scope" | keyof import("@tamagui/create-menu").MenuRadioGroupProps>>>;
|
|
64
64
|
RadioItem: React.FC<Omit<Omit<import("@tamagui/web").ViewProps, "scope" | keyof import("@tamagui/create-menu").MenuRadioItemProps> & import("@tamagui/create-menu").MenuRadioItemProps & {
|
|
65
65
|
scope?: string;
|
|
66
66
|
} & {
|
|
@@ -82,9 +82,9 @@ export declare function createContextMenu(): React.FC<import("./createNonNativeC
|
|
|
82
82
|
Separator: React.FC<Omit<import("@tamagui/web").ViewProps, keyof import("@tamagui/create-menu").MenuSeparatorProps> & import("@tamagui/create-menu").MenuSeparatorProps & {
|
|
83
83
|
ref?: React.Ref<import("@tamagui/web").TamaguiElement> | undefined;
|
|
84
84
|
} & Partial<Omit<import("@tamagui/create-menu").NativeMenuSeparatorProps, "ref" | keyof import("@tamagui/create-menu").MenuSeparatorProps>>>;
|
|
85
|
-
Arrow: React.FC<Omit<Omit<import("@tamagui/web").StackNonStyleProps & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
85
|
+
Arrow: React.FC<Omit<Omit<import("@tamagui/web").StackNonStyleProps & import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/popper").PopperArrowExtraProps & import("@tamagui/web").RefProp<import("@tamagui/web").TamaguiElement>, "ref"> & import("@tamagui/web").RefProp<import("@tamagui/web").TamaguiElement>, "ref"> & {
|
|
86
86
|
scope?: string;
|
|
87
|
-
} & import("@tamagui/web").RefProp<import("@tamagui/web").TamaguiElement> & Partial<Omit<import("@tamagui/create-menu").NativeMenuArrowProps, "ref" | keyof import("@tamagui/popper").PopperArrowExtraProps | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").StackStyleBase>>>;
|
|
87
|
+
} & import("@tamagui/web").RefProp<import("@tamagui/web").TamaguiElement> & Partial<Omit<import("@tamagui/create-menu").NativeMenuArrowProps, "KhtmlBoxAlign" | "KhtmlBoxDirection" | "KhtmlBoxFlex" | "KhtmlBoxFlexGroup" | "KhtmlBoxLines" | "KhtmlBoxOrdinalGroup" | "KhtmlBoxOrient" | "KhtmlBoxPack" | "KhtmlLineBreak" | "KhtmlOpacity" | "KhtmlUserSelect" | "OAnimation" | "OAnimationDelay" | "OAnimationDirection" | "OAnimationDuration" | "OAnimationFillMode" | "OAnimationIterationCount" | "OAnimationName" | "OAnimationPlayState" | "OAnimationTimingFunction" | "OBackgroundSize" | "OBorderImage" | "OObjectFit" | "OObjectPosition" | "OTabSize" | "OTextOverflow" | "OTransform" | "OTransformOrigin" | "OTransition" | "OTransitionDelay" | "OTransitionDuration" | "OTransitionProperty" | "OTransitionTimingFunction" | "accentColor" | "accessibilityActions" | "accessibilityElementsHidden" | "accessibilityHint" | "accessibilityIgnoresInvertColors" | "accessibilityLabel" | "accessibilityLabelledBy" | "accessibilityLanguage" | "accessibilityLargeContentTitle" | "accessibilityLiveRegion" | "accessibilityRespondsToUserInteraction" | "accessibilityRole" | "accessibilityShowsLargeContentViewer" | "accessibilityState" | "accessibilityValue" | "accessibilityViewIsModal" | "accessible" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "alignmentBaseline" | "all" | "anchorName" | "anchorScope" | "animatePosition" | "animatePresence" | "animatedBy" | "animation" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationRange" | "animationRangeEnd" | "animationRangeStart" | "animationTimeline" | "animationTimingFunction" | "appearance" | "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" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "baselineShift" | "blockSize" | "border" | "borderBlock" | "borderBlockColor" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottom" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderEndWidth" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInline" | "borderInlineColor" | "borderInlineEnd" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStartWidth" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "bottom" | "boxAlign" | "boxDecorationBreak" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caret" | "caretColor" | "caretShape" | "children" | "className" | "clear" | "clip" | "clipPath" | "clipRule" | "collapsable" | "collapsableChildren" | "color" | "colorAdjust" | "colorInterpolation" | "colorInterpolationFilters" | "colorRendering" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicSize" | "containIntrinsicWidth" | "container" | "containerName" | "containerType" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "cx" | "cy" | "d" | "dangerouslySetInnerHTML" | "debug" | "direction" | "disableClassName" | "disableNativeStyle" | "disableOptimization" | "disabled" | "display" | "dominantBaseline" | "emptyCells" | "end" | "experimental_accessibilityOrder" | "experimental_backgroundImage" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "experimental_backgroundSize" | "fieldSizing" | "fill" | "fillOpacity" | "fillRule" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "floodColor" | "floodOpacity" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "fontWidth" | "forceStyle" | "forcedColorAdjust" | "gap" | "glyphOrientationVertical" | "grid" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "group" | "hangingPunctuation" | "hasTVPreferredFocus" | "height" | "hitSlop" | "htmlFor" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "id" | "imageOrientation" | "imageRendering" | "imageResolution" | "imeMode" | "importantForAccessibility" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inset" | "insetArea" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "interpolateSize" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lightingColor" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginTrim" | "marginVertical" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "mask" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "matrix" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "motion" | "motionDistance" | "motionPath" | "motionRotation" | "name" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "nativeID" | "needsOffscreenAlphaCompositing" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "objectFit" | "objectPosition" | "objectViewBox" | "offset" | "offsetAnchor" | "offsetBlock" | "offsetBlockEnd" | "offsetBlockStart" | "offsetDistance" | "offsetInline" | "offsetInlineEnd" | "offsetInlineStart" | "offsetPath" | "offsetPosition" | "offsetRotate" | "offsetRotation" | "onAccessibilityAction" | "onAccessibilityEscape" | "onAccessibilityTap" | "onBeforeInput" | "onBlur" | "onBlurCapture" | "onChange" | "onClick" | "onClickCapture" | "onContextMenu" | "onCopy" | "onCut" | "onDoubleClick" | "onDrag" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDragStart" | "onDrop" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onKeyDown" | "onKeyDownCapture" | "onKeyUp" | "onKeyUpCapture" | "onLongPress" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMagicTap" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOut" | "onMouseOver" | "onMouseUp" | "onPaste" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onPress" | "onPressIn" | "onPressOut" | "onScroll" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransition" | "onWheel" | "opacity" | "order" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "page" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "passThrough" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "positionAnchor" | "positionArea" | "positionTry" | "positionTryFallbacks" | "positionTryOptions" | "positionTryOrder" | "positionVisibility" | "printColorAdjust" | "quotes" | "r" | "ref" | "removeClippedSubviews" | "render" | "renderToHardwareTextureAndroid" | "resize" | "right" | "role" | "rotate" | "rotateX" | "rotateY" | "rotateZ" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyOverhang" | "rubyPosition" | "rx" | "ry" | "scale" | "scaleX" | "scaleY" | "scope" | "screenReaderFocusable" | "scrollBehavior" | "scrollInitialTarget" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInline" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInline" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapMargin" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "scrollSnapMarginTop" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapStop" | "scrollSnapType" | "scrollSnapTypeX" | "scrollSnapTypeY" | "scrollTimeline" | "scrollTimelineAxis" | "scrollTimelineName" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "shapeRendering" | "shouldRasterizeIOS" | "size" | "skewX" | "skewY" | "speakAs" | "start" | "stopColor" | "stopOpacity" | "stroke" | "strokeColor" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "style" | "tabIndex" | "tabSize" | "tableLayout" | "target" | "testID" | "textAlign" | "textAlignLast" | "textAnchor" | "textAutospace" | "textBox" | "textBoxEdge" | "textBoxTrim" | "textCombineUpright" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textSpacingTrim" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "textWrapMode" | "textWrapStyle" | "theme" | "themeShallow" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transition" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "untilMeasured" | "userSelect" | "vectorEffect" | "verticalAlign" | "viewTimeline" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionClass" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "x" | "y" | "zIndex" | "zoom">>>;
|
|
88
88
|
Sub: React.FC<import("./createNonNativeContextMenu").ContextMenuSubProps & {
|
|
89
89
|
scope?: string;
|
|
90
90
|
} & Partial<Omit<import("@tamagui/create-menu").NativeMenuSubProps, keyof import("./createNonNativeContextMenu").ContextMenuSubProps>>>;
|
|
@@ -102,41 +102,53 @@ export declare function createContextMenu(): React.FC<import("./createNonNativeC
|
|
|
102
102
|
} & {
|
|
103
103
|
key: string;
|
|
104
104
|
}>;
|
|
105
|
-
SubContent: React.FC<Omit<Omit<
|
|
105
|
+
SubContent: React.FC<Omit<Omit<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/create-menu").MenuSubContentProps> & import("@tamagui/create-menu").MenuSubContentProps & {
|
|
106
106
|
scope?: string;
|
|
107
|
-
}, "download" | "
|
|
107
|
+
}, "download" | "onLayout" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "rel" | keyof import("@tamagui/create-menu").MenuSubContentProps> & Omit<Omit<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof import("@tamagui/create-menu").MenuSubContentProps> & import("@tamagui/create-menu").MenuSubContentProps & {
|
|
108
108
|
scope?: string;
|
|
109
|
-
} & {
|
|
109
|
+
}, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<Omit<{}, keyof import("@tamagui/create-menu").MenuSubContentProps>> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "download" | "onLayout" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "rel" | keyof import("@tamagui/create-menu").MenuSubContentProps> & {
|
|
110
110
|
ref?: React.Ref<import("@tamagui/web").TamaguiElement> | undefined;
|
|
111
111
|
}, "ref"> & {
|
|
112
112
|
scope?: string;
|
|
113
|
-
} & {
|
|
113
|
+
}, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<Omit<Omit<{}, keyof import("@tamagui/create-menu").MenuSubContentProps>, "download" | "onLayout" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "rel" | keyof import("@tamagui/create-menu").MenuSubContentProps>> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "download" | "onLayout" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "rel" | keyof import("@tamagui/create-menu").MenuSubContentProps> & {
|
|
114
114
|
ref?: React.Ref<import("@tamagui/web").TamaguiElement> | undefined;
|
|
115
|
-
} & Partial<Omit<import("@tamagui/create-menu").NativeMenuSubContentProps, "download" | "
|
|
115
|
+
} & Partial<Omit<import("@tamagui/create-menu").NativeMenuSubContentProps, "download" | "onLayout" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "ref" | "rel" | keyof import("@tamagui/create-menu").MenuSubContentProps>>>;
|
|
116
116
|
ItemTitle: React.FC<Omit<import("@tamagui/web").TextProps, keyof import("@tamagui/create-menu").MenuItemTitleProps> & import("@tamagui/create-menu").MenuItemTitleProps & {
|
|
117
117
|
ref?: React.Ref<import("@tamagui/web").TamaguiTextElement> | undefined;
|
|
118
118
|
} & Partial<Omit<import("@tamagui/create-menu").NativeMenuItemTitleProps, "ref" | keyof import("@tamagui/create-menu").MenuItemTitleProps>>>;
|
|
119
119
|
ItemSubtitle: React.FC<Omit<import("@tamagui/web").TextProps, keyof import("@tamagui/create-menu").MenuItemSubTitleProps> & import("@tamagui/create-menu").MenuItemSubTitleProps & {
|
|
120
120
|
ref?: React.Ref<import("@tamagui/web").TamaguiTextElement> | undefined;
|
|
121
121
|
} & Partial<Omit<import("@tamagui/create-menu").NativeMenuItemSubtitleProps, "ref" | keyof import("@tamagui/create-menu").MenuItemSubTitleProps>>>;
|
|
122
|
-
ItemIcon: React.FC<Omit<Omit<import("@tamagui/web").ViewProps, keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").StackNonStyleProps & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
122
|
+
ItemIcon: React.FC<Omit<Omit<import("@tamagui/web").ViewProps, keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").StackNonStyleProps & import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & {
|
|
123
123
|
ref?: React.Ref<import("@tamagui/web").TamaguiElement> | undefined;
|
|
124
124
|
}, "ref"> & import("@tamagui/create-menu").NativeMenuItemCommonProps>;
|
|
125
|
-
ItemImage: React.FC<import("@tamagui/web").StackNonStyleProps & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
125
|
+
ItemImage: React.FC<import("@tamagui/web").StackNonStyleProps & import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & Omit<Readonly<Omit<Readonly<{
|
|
126
|
+
defaultSource?: import("@tamagui/react-native-types/src").ImageSource | undefined;
|
|
127
|
+
onPartialLoad?: (() => void) | undefined;
|
|
128
|
+
onProgress?: ((event: import("@tamagui/react-native-types/src").ImageProgressEventIOS) => void) | undefined;
|
|
129
|
+
}>, "fadeDuration" | "loadingIndicatorSource" | "progressiveRenderingEnabled" | "resizeMethod" | "resizeMultiplier" | "style" | keyof import("@tamagui/react-native-types/src").ImagePropsBase> & Omit<Readonly<{
|
|
130
|
+
loadingIndicatorSource?: (number | Readonly<import("@tamagui/react-native-types/src").ImageURISource>) | undefined;
|
|
131
|
+
progressiveRenderingEnabled?: boolean | undefined;
|
|
132
|
+
fadeDuration?: number | undefined;
|
|
133
|
+
resizeMethod?: ('auto' | 'resize' | 'scale' | 'none') | undefined;
|
|
134
|
+
resizeMultiplier?: number | undefined;
|
|
135
|
+
}>, "style" | keyof import("@tamagui/react-native-types/src").ImagePropsBase> & Omit<import("@tamagui/react-native-types/src").ImagePropsBase, "style"> & {
|
|
136
|
+
style?: import("@tamagui/react-native-types/src").ImageStyleProp | undefined;
|
|
137
|
+
}>, "resizeMode" | "source" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & {
|
|
126
138
|
src?: string | number;
|
|
127
|
-
source?: import("react-native").ImageSourcePropType;
|
|
128
|
-
resizeMode?: import("react-native").ImageResizeMode;
|
|
139
|
+
source?: import("@tamagui/react-native-types/src").ImageSourcePropType;
|
|
140
|
+
resizeMode?: import("@tamagui/react-native-types/src").ImageResizeMode;
|
|
129
141
|
objectFit?: React.CSSProperties['objectFit'];
|
|
130
142
|
objectPosition?: React.CSSProperties['objectPosition'];
|
|
131
143
|
} & Omit<React.ImgHTMLAttributes<HTMLImageElement>, "src" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & Omit<React.ImgHTMLAttributes<HTMLImageElement>, "height" | "src" | "style" | "width"> & import("@tamagui/web").RefProp<import("@tamagui/web").TamaguiElement> & Partial<Omit<import("@tamagui/create-menu").NativeMenuItemCommonProps & {
|
|
132
|
-
source: import("react-native").ImageProps['source'];
|
|
144
|
+
source: import("@tamagui/react-native-types/src").ImageProps['source'];
|
|
133
145
|
ios?: {
|
|
134
146
|
style?: {
|
|
135
147
|
tint?: string;
|
|
136
148
|
};
|
|
137
149
|
lazy?: boolean;
|
|
138
150
|
};
|
|
139
|
-
}, "about" | "accessKey" | "alt" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-setsize" | "aria-sort" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "autoSave" | "blurRadius" | "capInsets" | "
|
|
151
|
+
}, "about" | "accessKey" | "alt" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-setsize" | "aria-sort" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "autoSave" | "blurRadius" | "capInsets" | "contentEditable" | "contextMenu" | "crossOrigin" | "datatype" | "decoding" | "defaultChecked" | "defaultSource" | "defaultValue" | "dir" | "draggable" | "enterKeyHint" | "exportparts" | "fadeDuration" | "fetchPriority" | "focusable" | "hidden" | "inert" | "inlist" | "inputMode" | "internal_analyticTag" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "lang" | "loading" | "loadingIndicatorSource" | "nonce" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInputCapture" | "onBeforeToggle" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChangeCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContextMenuCapture" | "onCopyCapture" | "onCutCapture" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeaveCapture" | "onDragOverCapture" | "onDragStartCapture" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyPress" | "onKeyPressCapture" | "onLayout" | "onLoad" | "onLoadCapture" | "onLoadEnd" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onPartialLoad" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onStalled" | "onStalledCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "onSubmit" | "onSubmitCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheelCapture" | "part" | "popover" | "popoverTarget" | "popoverTargetAction" | "prefix" | "progressiveRenderingEnabled" | "property" | "radioGroup" | "ref" | "referrerPolicy" | "rel" | "resizeMethod" | "resizeMode" | "resizeMultiplier" | "resource" | "results" | "rev" | "security" | "sizes" | "slot" | "source" | "spellCheck" | "src" | "srcSet" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tintColor" | "title" | "typeof" | "unselectable" | "useMap" | "vocab" | keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").StackStyleBase>>>;
|
|
140
152
|
Preview: React.FC<Partial<Omit<import("@tamagui/create-menu").ContextMenuPreviewProps, never>>>;
|
|
141
153
|
};
|
|
142
154
|
export type { ContextMenuArrowProps, ContextMenuCheckboxItemProps, ContextMenuContentProps, ContextMenuGroupProps, ContextMenuItemIconProps, ContextMenuItemImageProps, ContextMenuItemIndicatorProps, ContextMenuItemProps, ContextMenuProps, ContextMenuRadioGroupProps, ContextMenuRadioItemProps, ContextMenuSeparatorProps, ContextMenuSubContentProps, ContextMenuSubProps, ContextMenuSubTriggerProps, ContextMenuTriggerProps, } from './createNonNativeContextMenu';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../src/ContextMenu.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAA;AAczB,wBAAgB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAwIH,KAAK,CAAC,EAAE;;;;;;;;;;;;;MAAoC;;;;;;;;;;;;;;;;;;cAKhD,KAAK,CAAC,EAAE;;yEAAkC
|
|
1
|
+
{"version":3,"file":"ContextMenu.d.ts","sourceRoot":"","sources":["../src/ContextMenu.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAA;AAczB,wBAAgB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAwIH,KAAK,CAAC,EAAE;;;;;;;;;;;;;MAAoC;;;;;;;;;;;;;;;;;;cAKhD,KAAK,CAAC,EAAE;;yEAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,8BAA8B,CAAA"}
|
|
@@ -53,24 +53,20 @@ export declare function createNonNativeContextMenu(): {
|
|
|
53
53
|
};
|
|
54
54
|
Trigger: import("@tamagui/web").TamaguiComponent<Omit<ViewProps, "scope" | keyof ContextMenuTriggerProps> & ContextMenuTriggerProps & {
|
|
55
55
|
scope?: string;
|
|
56
|
-
}, TamaguiElement, import("@tamagui/web").StackNonStyleProps & ContextMenuTriggerProps & {
|
|
56
|
+
}, TamaguiElement, Omit<import("@tamagui/web").StackNonStyleProps, "scope" | keyof ContextMenuTriggerProps> & ContextMenuTriggerProps & {
|
|
57
57
|
scope?: string;
|
|
58
|
-
}, import("@tamagui/web").StackStyleBase, {}, {}>;
|
|
58
|
+
}, import("@tamagui/web").StackStyleBase, Omit<{}, "scope" | keyof ContextMenuTriggerProps>, {}>;
|
|
59
59
|
Portal: {
|
|
60
60
|
(props: ScopedProps<ContextMenuPortalProps>): React.JSX.Element;
|
|
61
61
|
displayName: string;
|
|
62
62
|
};
|
|
63
|
-
Content: import("@tamagui/web").TamaguiComponent<
|
|
63
|
+
Content: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, TamaguiElement, Omit<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof BaseMenuTypes.MenuContentProps> & BaseMenuTypes.MenuContentProps & {
|
|
64
64
|
scope?: string;
|
|
65
65
|
}, keyof ContextMenuContentProps> & ContextMenuContentProps & {
|
|
66
66
|
scope?: string;
|
|
67
|
-
},
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
scope?: string;
|
|
71
|
-
}, import("@tamagui/web").StackStyleBase, {}, import("@tamagui/web").StaticConfigPublic>;
|
|
72
|
-
Group: import("@tamagui/web").TamaguiComponent<Omit<ViewProps, keyof BaseMenuTypes.MenuGroupProps> & BaseMenuTypes.MenuGroupProps, TamaguiElement, import("@tamagui/web").StackNonStyleProps & BaseMenuTypes.MenuGroupProps, import("@tamagui/web").StackStyleBase, {}, {}>;
|
|
73
|
-
Label: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").TextProps, keyof BaseMenuTypes.MenuLabelProps> & BaseMenuTypes.MenuLabelProps, import("@tamagui/web").TamaguiTextElement, import("@tamagui/web").TextNonStyleProps & BaseMenuTypes.MenuLabelProps, import("@tamagui/web").TextStylePropsBase, {}, {}>;
|
|
67
|
+
}, import("@tamagui/web").StackStyleBase, Omit<Omit<{}, keyof BaseMenuTypes.MenuContentProps>, keyof ContextMenuContentProps>, import("@tamagui/web").StaticConfigPublic>;
|
|
68
|
+
Group: import("@tamagui/web").TamaguiComponent<Omit<ViewProps, keyof BaseMenuTypes.MenuGroupProps> & BaseMenuTypes.MenuGroupProps, TamaguiElement, Omit<import("@tamagui/web").StackNonStyleProps, keyof BaseMenuTypes.MenuGroupProps> & BaseMenuTypes.MenuGroupProps, import("@tamagui/web").StackStyleBase, Omit<{}, keyof BaseMenuTypes.MenuGroupProps>, {}>;
|
|
69
|
+
Label: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").TextProps, keyof BaseMenuTypes.MenuLabelProps> & BaseMenuTypes.MenuLabelProps, import("@tamagui/web").TamaguiTextElement, Omit<import("@tamagui/web").TextNonStyleProps, keyof BaseMenuTypes.MenuLabelProps> & BaseMenuTypes.MenuLabelProps, import("@tamagui/web").TextStylePropsBase, Omit<{}, keyof BaseMenuTypes.MenuLabelProps>, {}>;
|
|
74
70
|
Item: import("@tamagui/compose-refs").RefComponent<TamaguiElement, ScopedProps<Omit<Omit<ViewProps, "scope" | keyof BaseMenuTypes.MenuItemProps> & BaseMenuTypes.MenuItemProps & {
|
|
75
71
|
scope?: string;
|
|
76
72
|
} & {
|
|
@@ -81,7 +77,7 @@ export declare function createNonNativeContextMenu(): {
|
|
|
81
77
|
} & {
|
|
82
78
|
ref?: React.Ref<TamaguiElement> | undefined;
|
|
83
79
|
}, "ref">>>;
|
|
84
|
-
RadioGroup: import("@tamagui/compose-refs").RefComponent<import("react-native").
|
|
80
|
+
RadioGroup: import("@tamagui/compose-refs").RefComponent<import("@tamagui/react-native-types/src").ReactNativeElement | (HTMLElement & import("@tamagui/web").TamaguiElementMethods), ScopedProps<Omit<Omit<ViewProps, "scope" | keyof BaseMenuTypes.MenuRadioGroupProps> & BaseMenuTypes.MenuRadioGroupProps & {
|
|
85
81
|
scope?: string;
|
|
86
82
|
} & {
|
|
87
83
|
ref?: React.Ref<TamaguiElement> | undefined;
|
|
@@ -99,17 +95,17 @@ export declare function createNonNativeContextMenu(): {
|
|
|
99
95
|
ref?: React.Ref<TamaguiElement> | undefined;
|
|
100
96
|
}, "ref"> & {
|
|
101
97
|
scope?: string;
|
|
102
|
-
}, TamaguiElement, import("@tamagui/web").StackNonStyleProps & BaseMenuTypes.MenuItemIndicatorProps & {
|
|
98
|
+
}, TamaguiElement, Omit<Omit<import("@tamagui/web").StackNonStyleProps, "scope" | keyof BaseMenuTypes.MenuItemIndicatorProps> & BaseMenuTypes.MenuItemIndicatorProps & {
|
|
103
99
|
scope?: string;
|
|
104
|
-
} & Omit<Omit<ViewProps, "scope" | keyof BaseMenuTypes.MenuItemIndicatorProps> & BaseMenuTypes.MenuItemIndicatorProps & {
|
|
100
|
+
}, "scope" | keyof BaseMenuTypes.MenuItemIndicatorProps> & Omit<Omit<ViewProps, "scope" | keyof BaseMenuTypes.MenuItemIndicatorProps> & BaseMenuTypes.MenuItemIndicatorProps & {
|
|
105
101
|
scope?: string;
|
|
106
102
|
} & {
|
|
107
103
|
ref?: React.Ref<TamaguiElement> | undefined;
|
|
108
104
|
}, "ref"> & {
|
|
109
105
|
scope?: string;
|
|
110
|
-
}, import("@tamagui/web").StackStyleBase, {}, {}>;
|
|
111
|
-
Separator: import("@tamagui/web").TamaguiComponent<Omit<ViewProps, keyof BaseMenuTypes.MenuSeparatorProps> & BaseMenuTypes.MenuSeparatorProps, TamaguiElement, import("@tamagui/web").StackNonStyleProps & BaseMenuTypes.MenuSeparatorProps, import("@tamagui/web").StackStyleBase, {}, {}>;
|
|
112
|
-
Arrow: import("@tamagui/compose-refs").RefComponent<TamaguiElement, ScopedProps<Omit<Omit<import("@tamagui/web").StackNonStyleProps & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
106
|
+
}, import("@tamagui/web").StackStyleBase, Omit<Omit<{}, "scope" | keyof BaseMenuTypes.MenuItemIndicatorProps>, "scope" | keyof BaseMenuTypes.MenuItemIndicatorProps>, {}>;
|
|
107
|
+
Separator: import("@tamagui/web").TamaguiComponent<Omit<ViewProps, keyof BaseMenuTypes.MenuSeparatorProps> & BaseMenuTypes.MenuSeparatorProps, TamaguiElement, Omit<import("@tamagui/web").StackNonStyleProps, keyof BaseMenuTypes.MenuSeparatorProps> & BaseMenuTypes.MenuSeparatorProps, import("@tamagui/web").StackStyleBase, Omit<{}, keyof BaseMenuTypes.MenuSeparatorProps>, {}>;
|
|
108
|
+
Arrow: import("@tamagui/compose-refs").RefComponent<TamaguiElement, ScopedProps<Omit<Omit<import("@tamagui/web").StackNonStyleProps & import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & import("@tamagui/popper").PopperArrowExtraProps & import("@tamagui/compose-refs").RefProp<TamaguiElement>, "ref"> & import("@tamagui/compose-refs").RefProp<TamaguiElement>, "ref">>>;
|
|
113
109
|
Sub: {
|
|
114
110
|
(props: ScopedProps<ContextMenuSubProps>): React.JSX.Element;
|
|
115
111
|
displayName: string;
|
|
@@ -118,31 +114,23 @@ export declare function createNonNativeContextMenu(): {
|
|
|
118
114
|
scope?: string;
|
|
119
115
|
} & import("@tamagui/compose-refs").RefProp<TamaguiElement>, "ref"> & {
|
|
120
116
|
scope?: string;
|
|
121
|
-
}, TamaguiElement, import("@tamagui/web").StackNonStyleProps & Omit<BaseMenuTypes.MenuSubTriggerProps & {
|
|
117
|
+
}, TamaguiElement, Omit<import("@tamagui/web").StackNonStyleProps, "scope" | keyof BaseMenuTypes.MenuSubTriggerProps> & Omit<BaseMenuTypes.MenuSubTriggerProps & {
|
|
122
118
|
scope?: string;
|
|
123
119
|
} & import("@tamagui/compose-refs").RefProp<TamaguiElement>, "ref"> & {
|
|
124
120
|
scope?: string;
|
|
125
|
-
}, import("@tamagui/web").StackStyleBase, {}, {}>;
|
|
126
|
-
SubContent: import("@tamagui/web").TamaguiComponent<
|
|
127
|
-
scope?: string;
|
|
128
|
-
}, "download" | "elevationAndroid" | "onLayout" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "rel" | keyof BaseMenuTypes.MenuSubContentProps> & Omit<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {}>, keyof BaseMenuTypes.MenuSubContentProps> & BaseMenuTypes.MenuSubContentProps & {
|
|
129
|
-
scope?: string;
|
|
130
|
-
} & {
|
|
131
|
-
ref?: React.Ref<TamaguiElement> | undefined;
|
|
132
|
-
}, "ref"> & {
|
|
121
|
+
}, import("@tamagui/web").StackStyleBase, Omit<{}, "scope" | keyof BaseMenuTypes.MenuSubTriggerProps>, {}>;
|
|
122
|
+
SubContent: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, TamaguiElement, Omit<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof BaseMenuTypes.MenuSubContentProps> & BaseMenuTypes.MenuSubContentProps & {
|
|
133
123
|
scope?: string;
|
|
134
|
-
},
|
|
124
|
+
}, "download" | "onLayout" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "rel" | keyof BaseMenuTypes.MenuSubContentProps> & Omit<Omit<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, keyof BaseMenuTypes.MenuSubContentProps> & BaseMenuTypes.MenuSubContentProps & {
|
|
135
125
|
scope?: string;
|
|
136
|
-
} & Omit<
|
|
137
|
-
scope?: string;
|
|
138
|
-
} & {
|
|
126
|
+
}, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<Omit<{}, keyof BaseMenuTypes.MenuSubContentProps>> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "download" | "onLayout" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "rel" | keyof BaseMenuTypes.MenuSubContentProps> & {
|
|
139
127
|
ref?: React.Ref<TamaguiElement> | undefined;
|
|
140
128
|
}, "ref"> & {
|
|
141
129
|
scope?: string;
|
|
142
|
-
}, import("@tamagui/web").StackStyleBase, {}, import("@tamagui/web").StaticConfigPublic>;
|
|
143
|
-
ItemTitle: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").TextProps, keyof BaseMenuTypes.MenuItemTitleProps> & BaseMenuTypes.MenuItemTitleProps, import("@tamagui/web").TamaguiTextElement, import("@tamagui/web").TextNonStyleProps & BaseMenuTypes.MenuItemTitleProps, import("@tamagui/web").TextStylePropsBase, {}, {}>;
|
|
144
|
-
ItemSubtitle: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").TextProps, keyof BaseMenuTypes.MenuItemSubTitleProps> & BaseMenuTypes.MenuItemSubTitleProps, import("@tamagui/web").TamaguiTextElement, import("@tamagui/web").TextNonStyleProps & BaseMenuTypes.MenuItemSubTitleProps, import("@tamagui/web").TextStylePropsBase, {}, {}>;
|
|
145
|
-
ItemIcon: import("@tamagui/web").TamaguiComponent<Omit<ViewProps, keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").StackNonStyleProps & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase
|
|
130
|
+
}, import("@tamagui/web").StackStyleBase, Omit<Omit<{}, keyof BaseMenuTypes.MenuSubContentProps>, "download" | "onLayout" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "rel" | keyof BaseMenuTypes.MenuSubContentProps>, import("@tamagui/web").StaticConfigPublic>;
|
|
131
|
+
ItemTitle: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").TextProps, keyof BaseMenuTypes.MenuItemTitleProps> & BaseMenuTypes.MenuItemTitleProps, import("@tamagui/web").TamaguiTextElement, Omit<import("@tamagui/web").TextNonStyleProps, keyof BaseMenuTypes.MenuItemTitleProps> & BaseMenuTypes.MenuItemTitleProps, import("@tamagui/web").TextStylePropsBase, Omit<{}, keyof BaseMenuTypes.MenuItemTitleProps>, {}>;
|
|
132
|
+
ItemSubtitle: import("@tamagui/web").TamaguiComponent<Omit<import("@tamagui/web").TextProps, keyof BaseMenuTypes.MenuItemSubTitleProps> & BaseMenuTypes.MenuItemSubTitleProps, import("@tamagui/web").TamaguiTextElement, Omit<import("@tamagui/web").TextNonStyleProps, keyof BaseMenuTypes.MenuItemSubTitleProps> & BaseMenuTypes.MenuItemSubTitleProps, import("@tamagui/web").TextStylePropsBase, Omit<{}, keyof BaseMenuTypes.MenuItemSubTitleProps>, {}>;
|
|
133
|
+
ItemIcon: import("@tamagui/web").TamaguiComponent<Omit<ViewProps, keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").StackNonStyleProps & import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, TamaguiElement, Omit<import("@tamagui/web").StackNonStyleProps, keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").StackNonStyleProps & import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, import("@tamagui/web").StackStyleBase, Omit<{}, keyof import("@tamagui/web").StackNonStyleProps | keyof import("@tamagui/web").StackStyleBase>, {}>;
|
|
146
134
|
ItemImage: import("@tamagui/compose-refs").RefComponent<TamaguiElement, import("@tamagui/image").ImageProps>;
|
|
147
135
|
Preview: () => null;
|
|
148
136
|
};
|