@bazza-ui/react 0.0.0 → 0.1.0-canary.10
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/ListboxStore-BYBpGrOz.d.ts +453 -0
- package/dist/ListboxStore-nmorsoqX.d.cts +453 -0
- package/dist/chunk-4C666HHU.js +2 -0
- package/dist/chunk-4C666HHU.js.map +1 -0
- package/dist/chunk-5T5B5SPR.cjs +2 -0
- package/dist/chunk-5T5B5SPR.cjs.map +1 -0
- package/dist/chunk-A4Z5BY7H.js +2 -0
- package/dist/chunk-A4Z5BY7H.js.map +1 -0
- package/dist/chunk-BFOY762U.js +2 -0
- package/dist/chunk-BFOY762U.js.map +1 -0
- package/dist/chunk-IT372NHF.js +2 -0
- package/dist/chunk-IT372NHF.js.map +1 -0
- package/dist/chunk-JFEVUUPC.cjs +2 -0
- package/dist/chunk-JFEVUUPC.cjs.map +1 -0
- package/dist/chunk-KO3DXT3Y.js +2 -0
- package/dist/chunk-KO3DXT3Y.js.map +1 -0
- package/dist/chunk-LXXK4S4Q.js +2 -0
- package/dist/chunk-LXXK4S4Q.js.map +1 -0
- package/dist/chunk-M4G6J7DP.cjs +2 -0
- package/dist/chunk-M4G6J7DP.cjs.map +1 -0
- package/dist/chunk-SCDHQZFI.cjs +2 -0
- package/dist/chunk-SCDHQZFI.cjs.map +1 -0
- package/dist/chunk-W4ACKMIZ.cjs +2 -0
- package/dist/chunk-W4ACKMIZ.cjs.map +1 -0
- package/dist/chunk-XMZZ62VJ.cjs +2 -0
- package/dist/chunk-XMZZ62VJ.cjs.map +1 -0
- package/dist/combobox/index.cjs +2 -0
- package/dist/combobox/index.cjs.map +1 -0
- package/dist/combobox/index.d.cts +1066 -0
- package/dist/combobox/index.d.ts +1066 -0
- package/dist/combobox/index.js +2 -0
- package/dist/combobox/index.js.map +1 -0
- package/dist/command-menu/index.cjs +2 -0
- package/dist/command-menu/index.cjs.map +1 -0
- package/dist/command-menu/index.d.cts +154 -0
- package/dist/command-menu/index.d.ts +154 -0
- package/dist/command-menu/index.js +2 -0
- package/dist/command-menu/index.js.map +1 -0
- package/dist/command-score-CTJ9NV6n.d.cts +23 -0
- package/dist/command-score-CTJ9NV6n.d.ts +23 -0
- package/dist/context-menu/index.cjs +2 -0
- package/dist/context-menu/index.cjs.map +1 -0
- package/dist/context-menu/index.d.cts +672 -0
- package/dist/context-menu/index.d.ts +672 -0
- package/dist/context-menu/index.js +2 -0
- package/dist/context-menu/index.js.map +1 -0
- package/dist/dropdown-menu/index.cjs +2 -0
- package/dist/dropdown-menu/index.cjs.map +1 -0
- package/dist/dropdown-menu/index.d.cts +699 -0
- package/dist/dropdown-menu/index.d.ts +699 -0
- package/dist/dropdown-menu/index.js +2 -0
- package/dist/dropdown-menu/index.js.map +1 -0
- package/dist/events-DOGItflK.d.ts +1776 -0
- package/dist/events-DPsuhBln.d.cts +1776 -0
- package/dist/input-C95v6jB0.d.cts +46 -0
- package/dist/input-CYweYB_i.d.ts +46 -0
- package/dist/internal/listbox/index.cjs +2 -0
- package/dist/internal/listbox/index.cjs.map +1 -0
- package/dist/internal/listbox/index.d.cts +272 -0
- package/dist/internal/listbox/index.d.ts +272 -0
- package/dist/internal/listbox/index.js +2 -0
- package/dist/internal/listbox/index.js.map +1 -0
- package/dist/internal/popup-menu/index.cjs +2 -0
- package/dist/internal/popup-menu/index.cjs.map +1 -0
- package/dist/internal/popup-menu/index.d.cts +238 -0
- package/dist/internal/popup-menu/index.d.ts +238 -0
- package/dist/internal/popup-menu/index.js +2 -0
- package/dist/internal/popup-menu/index.js.map +1 -0
- package/dist/items-B6HeFO_8.d.cts +37 -0
- package/dist/items-B6HeFO_8.d.ts +37 -0
- package/dist/kbd/index.cjs +2 -0
- package/dist/kbd/index.cjs.map +1 -0
- package/dist/kbd/index.d.cts +61 -0
- package/dist/kbd/index.d.ts +61 -0
- package/dist/kbd/index.js +2 -0
- package/dist/kbd/index.js.map +1 -0
- package/dist/loaders/index.cjs +2 -0
- package/dist/loaders/index.cjs.map +1 -0
- package/dist/loaders/index.d.cts +363 -0
- package/dist/loaders/index.d.ts +363 -0
- package/dist/loaders/index.js +2 -0
- package/dist/loaders/index.js.map +1 -0
- package/dist/loading-C6WZGUc3.d.cts +29 -0
- package/dist/loading-CC4n55sR.d.ts +29 -0
- package/dist/resolve-BYm41YfG.d.ts +406 -0
- package/dist/resolve-Dk_fAKb2.d.cts +406 -0
- package/dist/scroll-arrow-B81wZTZ2.d.cts +544 -0
- package/dist/scroll-arrow-CNd0tgME.d.ts +544 -0
- package/dist/select/index.cjs +2 -0
- package/dist/select/index.cjs.map +1 -0
- package/dist/select/index.d.cts +985 -0
- package/dist/select/index.d.ts +985 -0
- package/dist/select/index.js +2 -0
- package/dist/select/index.js.map +1 -0
- package/dist/separator-BiySI623.d.cts +275 -0
- package/dist/separator-De8l8DKO.d.ts +275 -0
- package/dist/surface-context-ClmxshBW.d.ts +14 -0
- package/dist/surface-context-DF-L-30G.d.cts +14 -0
- package/dist/type-guards-BC2B6bVi.d.cts +350 -0
- package/dist/type-guards-ybcHBB3C.d.ts +350 -0
- package/dist/types-DT4FOOa2.d.cts +51 -0
- package/dist/types-DT4FOOa2.d.ts +51 -0
- package/dist/use-listbox-item-NzZuY34-.d.cts +212 -0
- package/dist/use-listbox-item-NzZuY34-.d.ts +212 -0
- package/dist/video-player/index.cjs +3 -0
- package/dist/video-player/index.cjs.map +1 -0
- package/dist/video-player/index.d.cts +1391 -0
- package/dist/video-player/index.d.ts +1391 -0
- package/dist/video-player/index.js +3 -0
- package/dist/video-player/index.js.map +1 -0
- package/package.json +66 -12
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
|
@@ -0,0 +1,672 @@
|
|
|
1
|
+
import { C as ChangeEventDetails, aR as triggerContextMenu, e as escapeKey, o as outsidePress, f as focusOut, i as itemPress, c as closePress, l as listNavigation, s as submenuTrigger, d as siblingOpen, g as imperativeAction, n as none, G as GenericEventDetails, p as pointer, k as keyboard, P as PopupMenuHighlightChangeHandler, h as GetResolvedIdFn, j as PopupMenuIdScope, m as PopupMenuCheckboxItem, q as PopupMenuItem, r as PopupMenuNode, N as NodeDef, u as PopupMenuRadioGroup, v as PopupMenuRadioItem, w as PopupMenuSubmenuTrigger, x as PopupMenuSubpageTrigger } from '../events-DPsuhBln.cjs';
|
|
2
|
+
export { W as AsyncResultBehavior, Z as CheckboxItemDef, _ as CheckboxItemRenderParams, $ as CheckboxItemRenderProps, y as ContextMenuCheckboxItemProps, z as ContextMenuCheckboxItemState, A as ContextMenuItemProps, B as ContextMenuItemState, D as ContextMenuRadioGroupProps, E as ContextMenuRadioGroupState, F as ContextMenuRadioItemProps, H as ContextMenuRadioItemState, I as ContextMenuSubmenuTriggerProps, J as ContextMenuSubmenuTriggerState, K as ContextMenuSubpageTriggerProps, L as ContextMenuSubpageTriggerState, a0 as DataListChildrenState, a1 as DeepSearchConfig, a2 as DisplayGroupNode, a3 as DisplayNode, a4 as DisplayRadioGroupNode, a5 as DisplayRowNode, a7 as DisplaySubpageNode, a8 as GroupBehavior, a9 as GroupDef, aa as GroupLabelRenderParams, ab as GroupRenderContext, ac as GroupRenderParams, ad as IncludeInDeepSearch, ae as InitialQueryBehavior, af as ItemDef, ag as ItemRenderParams, ah as ItemRenderProps, am as RadioGroupDef, an as RadioGroupLabelRenderParams, ao as RadioGroupRenderParams, ap as RadioGroupRenderProps, at as RowRenderContext, au as ScoredNode, av as SeparatorDef, az as SubmenuDef, aA as SubmenuRenderParams, aB as SubmenuRenderProps, aC as SubpageContentRenderParams, aD as SubpageDef, aE as SubpageTriggerRenderParams, aF as SubpageTriggerRenderProps, aG as TreeItemDef, aH as TreeItemRenderParams, aI as TreeItemRenderProps, aJ as UnresolvedMenuNode, aK as defineRadioGroup, aL as isDisplayGroupNode, aM as isDisplayRadioGroupNode, aN as isDisplayRowNode } from '../events-DPsuhBln.cjs';
|
|
3
|
+
import { V as VirtualItem } from '../ListboxStore-nmorsoqX.cjs';
|
|
4
|
+
export { F as ContextMenuFilterFn, I as ContextMenuItemRegistration, b as ContextMenuStore, L as ContextMenuStoreContext, a as ContextMenuStoreState } from '../ListboxStore-nmorsoqX.cjs';
|
|
5
|
+
import { P as PopupMenuDebugOptions, a as PopupMenuRootActions, b as PopupMenuArrow, c as PopupMenuBackdrop, d as PopupMenuPopup, e as PopupMenuPortal, f as PopupMenuScrollDownArrow, g as PopupMenuScrollUpArrow } from '../scroll-arrow-B81wZTZ2.cjs';
|
|
6
|
+
export { h as ContextMenuArrowProps, i as ContextMenuBackdropProps, p as ContextMenuListCssVars, j as ContextMenuPopupProps, k as ContextMenuPortalProps, q as ContextMenuPositionerCssVars, l as ContextMenuScrollArrowProps, m as ContextMenuScrollArrowState, n as ContextMenuScrollDownArrowProps, o as ContextMenuScrollUpArrowProps, r as RootContextValue, u as useMaybeRootContext, s as useRootContext } from '../scroll-arrow-B81wZTZ2.cjs';
|
|
7
|
+
import { P as PopupMenuGroupValue, a as PopupMenuPositioner, b as PopupMenuRadioItemIndicator, c as PopupMenuSubmenuRoot, d as PopupMenuSubmenuTriggerIndicator, e as PopupMenuTree, f as PopupMenuTreeConnector, g as PopupMenuTreeItem } from '../type-guards-BC2B6bVi.cjs';
|
|
8
|
+
export { h as ContextMenuPositionerAlign, i as ContextMenuPositionerProps, j as ContextMenuRadioItemIndicatorProps, k as ContextMenuRadioItemIndicatorState, l as ContextMenuSubmenuRootProps, m as ContextMenuSubmenuTriggerIndicatorProps, n as ContextMenuSubmenuTriggerIndicatorState, S as SubmenuContextValue, o as SubpageContextValue, p as SubpageStackContextValue, U as UseItemParams, w as UseItemReturn, y as isTreeItemDef, x as useItem, u as useMaybeSubmenuContext, q as useMaybeSubpageContext, r as useMaybeSubpageStack, s as useSubmenuContext, t as useSubpageContext, v as useSubpageStack } from '../type-guards-BC2B6bVi.cjs';
|
|
9
|
+
import { P as PopupMenuEmpty, a as PopupMenuGroup, b as PopupMenuGroupLabel, c as PopupMenuIcon, d as PopupMenuList, e as PopupMenuSeparator, f as PopupMenuSurface } from '../separator-BiySI623.cjs';
|
|
10
|
+
export { g as ContextMenuEmptyProps, h as ContextMenuEmptyState, i as ContextMenuGroupLabelProps, j as ContextMenuGroupLabelState, k as ContextMenuGroupProps, l as ContextMenuGroupState, m as ContextMenuIconProps, n as ContextMenuIconState, o as ContextMenuListChildrenState, p as ContextMenuListProps, q as ContextMenuListState, r as ContextMenuSeparatorProps, s as ContextMenuSeparatorState, t as ContextMenuSurfaceProps, u as ContextMenuSurfaceState } from '../separator-BiySI623.cjs';
|
|
11
|
+
import { P as PopupMenuInput } from '../input-C95v6jB0.cjs';
|
|
12
|
+
export { a as ContextMenuInputProps, b as ContextMenuInputState } from '../input-C95v6jB0.cjs';
|
|
13
|
+
import { P as PopupMenuCheckboxItemIndicator, a as PopupMenuFocusZone, b as PopupMenuFooter, c as PopupMenuHeader, d as PopupMenuRadioGroupValue, e as PopupMenuShortcut, f as PopupMenuSubpage, g as PopupMenuSubpageBack, h as PopupMenuSubpageBackItem, u as useAsyncMenuCoordinator, i as useDataList, j as useMaybeAsyncMenuCoordinator, k as useMaybeDataList } from '../resolve-Dk_fAKb2.cjs';
|
|
14
|
+
export { B as AsyncMenuCoordinatorValue, l as ContextMenuCheckboxItemIndicatorProps, m as ContextMenuCheckboxItemIndicatorState, n as ContextMenuFocusZoneProps, o as ContextMenuFocusZoneState, p as ContextMenuFooterProps, q as ContextMenuFooterState, r as ContextMenuHeaderProps, s as ContextMenuHeaderState, C as ContextMenuRadioGroupValueProps, t as ContextMenuShortcutProps, v as ContextMenuShortcutState, w as ContextMenuSubpageBackItemProps, x as ContextMenuSubpageBackItemState, y as ContextMenuSubpageBackProps, z as ContextMenuSubpageBackState, A as ContextMenuSubpageProps, E as DataListContext, F as DataSurfaceContext, D as DataSurfaceContextValue, R as RenderNodeFn, G as defaultGetResolvedId, H as isPopupMenuNode, I as useDataSurfaceContext, J as useMaybeDataSurfaceContext } from '../resolve-Dk_fAKb2.cjs';
|
|
15
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
16
|
+
import * as React from 'react';
|
|
17
|
+
import { C as ComponentProps } from '../types-DT4FOOa2.cjs';
|
|
18
|
+
export { I as ItemContextValue, u as useItemContext, a as useMaybeItemContext } from '../use-listbox-item-NzZuY34-.cjs';
|
|
19
|
+
export { S as SurfaceContextValue, u as useMaybeSurfaceContext, a as useSurfaceContext } from '../surface-context-DF-L-30G.cjs';
|
|
20
|
+
export { c as commandScore, d as defaultFilter } from '../command-score-CTJ9NV6n.cjs';
|
|
21
|
+
import '@base-ui/utils/store';
|
|
22
|
+
import '@base-ui/react/popover';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Reasons why the context menu's open state changed.
|
|
26
|
+
*/
|
|
27
|
+
type ContextMenuOpenChangeReason = typeof triggerContextMenu | typeof escapeKey | typeof outsidePress | typeof focusOut | typeof itemPress | typeof closePress | typeof listNavigation | typeof submenuTrigger | typeof siblingOpen | typeof imperativeAction | typeof none;
|
|
28
|
+
/**
|
|
29
|
+
* Event details passed to the `onOpenChange` callback.
|
|
30
|
+
*/
|
|
31
|
+
type ContextMenuOpenChangeEventDetails = ChangeEventDetails<ContextMenuOpenChangeReason>;
|
|
32
|
+
/**
|
|
33
|
+
* Reasons why highlight changed.
|
|
34
|
+
*/
|
|
35
|
+
type ContextMenuHighlightChangeReason = typeof pointer | typeof keyboard | typeof none;
|
|
36
|
+
/**
|
|
37
|
+
* Event details passed to the `onHighlightChange` callback.
|
|
38
|
+
*/
|
|
39
|
+
type ContextMenuHighlightChangeEventDetails = GenericEventDetails<ContextMenuHighlightChangeReason, {
|
|
40
|
+
index: number;
|
|
41
|
+
}>;
|
|
42
|
+
|
|
43
|
+
interface ContextMenuRootProps {
|
|
44
|
+
/**
|
|
45
|
+
* Whether the context menu is open.
|
|
46
|
+
* Use for controlled mode.
|
|
47
|
+
*/
|
|
48
|
+
open?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Callback when the open state changes.
|
|
51
|
+
* The second parameter contains event details including the reason for the change.
|
|
52
|
+
*/
|
|
53
|
+
onOpenChange?: (open: boolean, eventDetails: ContextMenuOpenChangeEventDetails) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Whether the context menu is initially open.
|
|
56
|
+
* Use for uncontrolled mode.
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
defaultOpen?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Whether virtualization mode is enabled.
|
|
62
|
+
* When true, items should provide an explicit `index` prop and
|
|
63
|
+
* the `items` prop should be provided for navigation to work correctly.
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
virtualized?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Pre-registered items for virtualization.
|
|
69
|
+
* When provided with `virtualized={true}`, this allows navigation to work
|
|
70
|
+
* for items that aren't currently mounted in the DOM.
|
|
71
|
+
*/
|
|
72
|
+
items?: VirtualItem[];
|
|
73
|
+
/**
|
|
74
|
+
* Callback when the highlighted item changes.
|
|
75
|
+
* Useful for synchronizing with a virtualizer (e.g., scrollToIndex) or other UI state.
|
|
76
|
+
* `id` is first. `node` is the resolved menu node carrying the highlighted ID, looked up in the menu's data-first tree — `null` when the highlight clears or when no data-first node carries that ID (e.g. JSX-defined rows). A JSX row that shares an ID with a data-first node yields that node; Resolved IDs are expected to be unique per menu.
|
|
77
|
+
* The fourth parameter contains event details including the reason for the change.
|
|
78
|
+
*/
|
|
79
|
+
onHighlightChange?: PopupMenuHighlightChangeHandler<ContextMenuHighlightChangeEventDetails>;
|
|
80
|
+
/**
|
|
81
|
+
* Whether the component should ignore user interaction.
|
|
82
|
+
* @default false
|
|
83
|
+
*/
|
|
84
|
+
disabled?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Determines if the context menu enters a modal state when open.
|
|
87
|
+
*
|
|
88
|
+
* - `true`: user interaction is limited to the menu: document page scroll
|
|
89
|
+
* is locked, and pointer interactions on outside elements are disabled.
|
|
90
|
+
* - `false`: user interaction with the rest of the document is allowed.
|
|
91
|
+
*
|
|
92
|
+
* @default true
|
|
93
|
+
*/
|
|
94
|
+
modal?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* When to close the menu on outside interactions.
|
|
97
|
+
* - `'pointerdown'`: Close immediately when pointer is pressed outside (default)
|
|
98
|
+
* - `'click'`: Close when a full click (pointerdown + pointerup) occurs outside
|
|
99
|
+
* @default 'pointerdown'
|
|
100
|
+
*/
|
|
101
|
+
closeOnOutsidePress?: 'click' | 'pointerdown';
|
|
102
|
+
/**
|
|
103
|
+
* Event handler called after any open/close animations have completed.
|
|
104
|
+
* When `clearSearchOnClose="after-exit"` is set on Surface, the search
|
|
105
|
+
* will be cleared before this callback is invoked.
|
|
106
|
+
*/
|
|
107
|
+
onOpenChangeComplete?: (open: boolean) => void;
|
|
108
|
+
/**
|
|
109
|
+
* A ref to imperative actions.
|
|
110
|
+
* - `close`: closes the menu imperatively.
|
|
111
|
+
* - `unmount`: unmounts the popup imperatively (when keep-mounted mode is enabled).
|
|
112
|
+
* - `setDisabled`: enables/disables the menu imperatively.
|
|
113
|
+
*/
|
|
114
|
+
actionsRef?: React.RefObject<ContextMenuRoot.Actions | null>;
|
|
115
|
+
/**
|
|
116
|
+
* - Otherwise, use the row's full definition path (`definitionPath`) — identical in
|
|
117
|
+
* browse and deep-search contexts
|
|
118
|
+
*/
|
|
119
|
+
/**
|
|
120
|
+
* Computes canonical Resolved IDs for data-first content from the Unresolved Menu Node (definitional facts only).
|
|
121
|
+
* @default encoded surface Definition Path joined with `/`; `idScope="menu"` uses the Definition Key
|
|
122
|
+
* Read once when the menu root mounts — later changes have no effect. To retain the old dot-path default, use `node => node.def.id ?? node.definitionPath.join('.')`. This does not recreate former tree-item ancestry; exact compatibility requires walking `node.parent` and reproducing the old slug/key lineage.
|
|
123
|
+
* @example
|
|
124
|
+
* <ContextMenu.Root getResolvedId={(node) => node.def.id ?? node.definitionPath.join('.')} />
|
|
125
|
+
*/
|
|
126
|
+
getResolvedId?: GetResolvedIdFn;
|
|
127
|
+
/** Definition Key uniqueness scope. Read once when the menu root mounts. @default 'surface' */
|
|
128
|
+
idScope?: PopupMenuIdScope;
|
|
129
|
+
/**
|
|
130
|
+
* Debug visualization options for submenu interaction heuristics.
|
|
131
|
+
*/
|
|
132
|
+
debug?: PopupMenuDebugOptions;
|
|
133
|
+
children: React.ReactNode;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Groups all parts of the context menu.
|
|
137
|
+
* Manages open state and provides context to children.
|
|
138
|
+
* Doesn't render its own HTML element.
|
|
139
|
+
*/
|
|
140
|
+
declare function ContextMenuRoot(props: ContextMenuRoot.Props): react_jsx_runtime.JSX.Element;
|
|
141
|
+
declare namespace ContextMenuRoot {
|
|
142
|
+
interface Props extends ContextMenuRootProps {
|
|
143
|
+
}
|
|
144
|
+
type OpenChangeEventDetails = ContextMenuOpenChangeEventDetails;
|
|
145
|
+
type HighlightChangeEventDetails = ContextMenuHighlightChangeEventDetails;
|
|
146
|
+
type Actions = PopupMenuRootActions;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
interface ContextMenuTriggerState extends Record<string, unknown> {
|
|
150
|
+
/**
|
|
151
|
+
* Whether the context menu is currently open.
|
|
152
|
+
*/
|
|
153
|
+
open: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* Whether the trigger is currently being pressed (long-press in progress).
|
|
156
|
+
*/
|
|
157
|
+
pressed: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Whether the trigger is disabled.
|
|
160
|
+
*/
|
|
161
|
+
disabled: boolean;
|
|
162
|
+
}
|
|
163
|
+
interface ContextMenuTriggerProps extends ComponentProps<'div', ContextMenuTrigger.State> {
|
|
164
|
+
/**
|
|
165
|
+
* Whether the trigger is disabled.
|
|
166
|
+
* When disabled, right-click and long-press will not open the menu.
|
|
167
|
+
* @default false
|
|
168
|
+
*/
|
|
169
|
+
disabled?: boolean;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* An area that opens the context menu on right-click or long-press.
|
|
173
|
+
* Renders a `<div>` element.
|
|
174
|
+
*/
|
|
175
|
+
declare const ContextMenuTrigger: React.ForwardRefExoticComponent<Omit<ContextMenuTrigger.Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
176
|
+
declare namespace ContextMenuTrigger {
|
|
177
|
+
type State = ContextMenuTriggerState;
|
|
178
|
+
interface Props extends ContextMenuTriggerProps {
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
declare const index_parts_NodeDef: typeof NodeDef;
|
|
183
|
+
declare const index_parts_VirtualItem: typeof VirtualItem;
|
|
184
|
+
declare const index_parts_useAsyncMenuCoordinator: typeof useAsyncMenuCoordinator;
|
|
185
|
+
declare const index_parts_useDataList: typeof useDataList;
|
|
186
|
+
declare const index_parts_useMaybeAsyncMenuCoordinator: typeof useMaybeAsyncMenuCoordinator;
|
|
187
|
+
declare const index_parts_useMaybeDataList: typeof useMaybeDataList;
|
|
188
|
+
declare namespace index_parts {
|
|
189
|
+
export { PopupMenuArrow as Arrow, PopupMenuBackdrop as Backdrop, PopupMenuCheckboxItem as CheckboxItem, PopupMenuCheckboxItemIndicator as CheckboxItemIndicator, PopupMenuEmpty as Empty, PopupMenuFocusZone as FocusZone, PopupMenuFooter as Footer, PopupMenuGroup as Group, PopupMenuGroupLabel as GroupLabel, PopupMenuGroupValue as GroupValue, PopupMenuHeader as Header, PopupMenuIcon as Icon, PopupMenuInput as Input, PopupMenuItem as Item, PopupMenuList as List, PopupMenuNode as Node, index_parts_NodeDef as NodeDef, PopupMenuPopup as Popup, PopupMenuPortal as Portal, PopupMenuPositioner as Positioner, PopupMenuRadioGroup as RadioGroup, PopupMenuRadioGroupValue as RadioGroupValue, PopupMenuRadioItem as RadioItem, PopupMenuRadioItemIndicator as RadioItemIndicator, ContextMenuRoot as Root, PopupMenuScrollDownArrow as ScrollDownArrow, PopupMenuScrollUpArrow as ScrollUpArrow, PopupMenuSeparator as Separator, PopupMenuShortcut as Shortcut, PopupMenuSubmenuRoot as Submenu, PopupMenuSubmenuTrigger as SubmenuTrigger, PopupMenuSubmenuTriggerIndicator as SubmenuTriggerIndicator, PopupMenuSubpage as Subpage, PopupMenuSubpageBack as SubpageBack, PopupMenuSubpageBackItem as SubpageBackItem, PopupMenuSubpageTrigger as SubpageTrigger, PopupMenuSurface as Surface, PopupMenuTree as Tree, PopupMenuTreeConnector as TreeConnector, PopupMenuTreeItem as TreeItem, ContextMenuTrigger as Trigger, index_parts_VirtualItem as VirtualItem, index_parts_useAsyncMenuCoordinator as useAsyncMenuCoordinator, index_parts_useDataList as useDataList, index_parts_useMaybeAsyncMenuCoordinator as useMaybeAsyncMenuCoordinator, index_parts_useMaybeDataList as useMaybeDataList };
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
declare enum ContextMenuTriggerDataAttributes {
|
|
193
|
+
/**
|
|
194
|
+
* Identifies the component part.
|
|
195
|
+
* @type {'bazzaui-context-menu-trigger'}
|
|
196
|
+
*/
|
|
197
|
+
slot = "bazzaui-context-menu-trigger",
|
|
198
|
+
/** Present when the corresponding context menu is open. */
|
|
199
|
+
popupOpen = "data-popup-open",
|
|
200
|
+
/** Present when the trigger is being pressed (long-press). */
|
|
201
|
+
pressed = "data-pressed",
|
|
202
|
+
/** Present when the trigger is disabled. */
|
|
203
|
+
disabled = "data-disabled"
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
declare enum ContextMenuArrowDataAttributes {
|
|
207
|
+
/**
|
|
208
|
+
* Identifies the component part.
|
|
209
|
+
* @type {'bazzaui-context-menu-arrow'}
|
|
210
|
+
*/
|
|
211
|
+
slot = "bazzaui-context-menu-arrow",
|
|
212
|
+
/**
|
|
213
|
+
* Present when the popup menu is open.
|
|
214
|
+
*/
|
|
215
|
+
open = "data-open",
|
|
216
|
+
/**
|
|
217
|
+
* Present when the popup menu is closed.
|
|
218
|
+
*/
|
|
219
|
+
closed = "data-closed",
|
|
220
|
+
/**
|
|
221
|
+
* Indicates which side the popup is positioned relative to the trigger.
|
|
222
|
+
* @type {'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}
|
|
223
|
+
*/
|
|
224
|
+
side = "data-side",
|
|
225
|
+
/**
|
|
226
|
+
* Indicates how the popup is aligned relative to specified side.
|
|
227
|
+
* @type {'start' | 'center' | 'end'}
|
|
228
|
+
*/
|
|
229
|
+
align = "data-align",
|
|
230
|
+
/**
|
|
231
|
+
* Present when the arrow is not centered due to collision avoidance.
|
|
232
|
+
*/
|
|
233
|
+
uncentered = "data-uncentered"
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
declare enum ContextMenuBackdropDataAttributes {
|
|
237
|
+
/**
|
|
238
|
+
* Identifies the component part.
|
|
239
|
+
* @type {'bazzaui-context-menu-backdrop'}
|
|
240
|
+
*/
|
|
241
|
+
slot = "bazzaui-context-menu-backdrop",
|
|
242
|
+
/**
|
|
243
|
+
* Present when the popup menu is open.
|
|
244
|
+
*/
|
|
245
|
+
open = "data-open",
|
|
246
|
+
/**
|
|
247
|
+
* Present when the popup menu is closed.
|
|
248
|
+
*/
|
|
249
|
+
closed = "data-closed",
|
|
250
|
+
/**
|
|
251
|
+
* Present when the popup menu is animating in.
|
|
252
|
+
*/
|
|
253
|
+
startingStyle = "data-starting-style",
|
|
254
|
+
/**
|
|
255
|
+
* Present when the popup menu is animating out.
|
|
256
|
+
*/
|
|
257
|
+
endingStyle = "data-ending-style"
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
declare enum ContextMenuCheckboxItemDataAttributes {
|
|
261
|
+
/**
|
|
262
|
+
* Identifies the component part.
|
|
263
|
+
* @type {'bazzaui-context-menu-checkbox-item'}
|
|
264
|
+
*/
|
|
265
|
+
slot = "bazzaui-context-menu-checkbox-item",
|
|
266
|
+
/**
|
|
267
|
+
* Present when the checkbox item is checked.
|
|
268
|
+
*/
|
|
269
|
+
checked = "data-checked",
|
|
270
|
+
/**
|
|
271
|
+
* Present when the checkbox item is unchecked.
|
|
272
|
+
*/
|
|
273
|
+
unchecked = "data-unchecked",
|
|
274
|
+
/**
|
|
275
|
+
* Present when the item is highlighted (via keyboard or pointer).
|
|
276
|
+
*/
|
|
277
|
+
highlighted = "data-highlighted",
|
|
278
|
+
/**
|
|
279
|
+
* Present when the item is disabled.
|
|
280
|
+
*/
|
|
281
|
+
disabled = "data-disabled"
|
|
282
|
+
}
|
|
283
|
+
declare enum ContextMenuCheckboxItemIndicatorDataAttributes {
|
|
284
|
+
/**
|
|
285
|
+
* Identifies the component part.
|
|
286
|
+
* @type {'bazzaui-context-menu-checkbox-item-indicator'}
|
|
287
|
+
*/
|
|
288
|
+
slot = "bazzaui-context-menu-checkbox-item-indicator",
|
|
289
|
+
/**
|
|
290
|
+
* Present when the checkbox item is checked.
|
|
291
|
+
*/
|
|
292
|
+
checked = "data-checked",
|
|
293
|
+
/**
|
|
294
|
+
* Present when the checkbox item is unchecked.
|
|
295
|
+
*/
|
|
296
|
+
unchecked = "data-unchecked"
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
declare enum ContextMenuEmptyDataAttributes {
|
|
300
|
+
/**
|
|
301
|
+
* Identifies the component part.
|
|
302
|
+
* @type {'bazzaui-context-menu-empty'}
|
|
303
|
+
*/
|
|
304
|
+
slot = "bazzaui-context-menu-empty"
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
declare enum ContextMenuGroupDataAttributes {
|
|
308
|
+
/**
|
|
309
|
+
* Identifies the component part.
|
|
310
|
+
* @type {'bazzaui-context-menu-group'}
|
|
311
|
+
*/
|
|
312
|
+
slot = "bazzaui-context-menu-group"
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
declare enum ContextMenuGroupLabelDataAttributes {
|
|
316
|
+
/**
|
|
317
|
+
* Identifies the component part.
|
|
318
|
+
* @type {'bazzaui-context-menu-group-label'}
|
|
319
|
+
*/
|
|
320
|
+
slot = "bazzaui-context-menu-group-label"
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
declare const ContextMenuIconDataAttributes: {
|
|
324
|
+
/**
|
|
325
|
+
* Identifies the component part.
|
|
326
|
+
* @type {'bazzaui-context-menu-icon'}
|
|
327
|
+
*/
|
|
328
|
+
readonly slot: "bazzaui-context-menu-icon";
|
|
329
|
+
/** Present when the popup is open. */
|
|
330
|
+
readonly open: "data-popup-open";
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
declare enum ContextMenuInputDataAttributes {
|
|
334
|
+
/**
|
|
335
|
+
* Identifies the component part.
|
|
336
|
+
* @type {'bazzaui-context-menu-input'}
|
|
337
|
+
*/
|
|
338
|
+
slot = "bazzaui-context-menu-input",
|
|
339
|
+
/**
|
|
340
|
+
* Present when the popup menu is open.
|
|
341
|
+
*/
|
|
342
|
+
open = "data-open",
|
|
343
|
+
/**
|
|
344
|
+
* Present when the popup menu is closed.
|
|
345
|
+
*/
|
|
346
|
+
closed = "data-closed"
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
declare enum ContextMenuItemDataAttributes {
|
|
350
|
+
/**
|
|
351
|
+
* Identifies the component part.
|
|
352
|
+
* @type {'bazzaui-context-menu-item'}
|
|
353
|
+
*/
|
|
354
|
+
slot = "bazzaui-context-menu-item",
|
|
355
|
+
/**
|
|
356
|
+
* Present when the item is highlighted (via keyboard or pointer).
|
|
357
|
+
*/
|
|
358
|
+
highlighted = "data-highlighted",
|
|
359
|
+
/**
|
|
360
|
+
* Present when the item is disabled.
|
|
361
|
+
*/
|
|
362
|
+
disabled = "data-disabled"
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
declare enum ContextMenuListDataAttributes {
|
|
366
|
+
/**
|
|
367
|
+
* Identifies the component part.
|
|
368
|
+
* @type {'bazzaui-context-menu-list'}
|
|
369
|
+
*/
|
|
370
|
+
slot = "bazzaui-context-menu-list",
|
|
371
|
+
/**
|
|
372
|
+
* Always present on the list element.
|
|
373
|
+
* Used for styling and by useStickyRowWidth to find the list container.
|
|
374
|
+
*/
|
|
375
|
+
list = "data-popup-menu-list"
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
declare enum ContextMenuPopupDataAttributes {
|
|
379
|
+
/**
|
|
380
|
+
* Identifies the component part.
|
|
381
|
+
* @type {'bazzaui-context-menu-popup'}
|
|
382
|
+
*/
|
|
383
|
+
slot = "bazzaui-context-menu-popup",
|
|
384
|
+
/**
|
|
385
|
+
* Present when the popup menu is open.
|
|
386
|
+
*/
|
|
387
|
+
open = "data-open",
|
|
388
|
+
/**
|
|
389
|
+
* Present when the popup menu is closed.
|
|
390
|
+
*/
|
|
391
|
+
closed = "data-closed",
|
|
392
|
+
/**
|
|
393
|
+
* Indicates which side the popup is positioned relative to the trigger.
|
|
394
|
+
* @type {'top' | 'bottom' | 'left' | 'right'}
|
|
395
|
+
*/
|
|
396
|
+
side = "data-side",
|
|
397
|
+
/**
|
|
398
|
+
* Indicates how the popup is aligned relative to specified side.
|
|
399
|
+
* @type {'start' | 'center' | 'end'}
|
|
400
|
+
*/
|
|
401
|
+
align = "data-align",
|
|
402
|
+
/**
|
|
403
|
+
* Present when the popup is animating in.
|
|
404
|
+
*/
|
|
405
|
+
startingStyle = "data-starting-style",
|
|
406
|
+
/**
|
|
407
|
+
* Present when the popup is animating out.
|
|
408
|
+
*/
|
|
409
|
+
endingStyle = "data-ending-style",
|
|
410
|
+
/**
|
|
411
|
+
* Present if animations should be instant.
|
|
412
|
+
* @type {'click' | 'dismiss'}
|
|
413
|
+
*/
|
|
414
|
+
instant = "data-instant",
|
|
415
|
+
/**
|
|
416
|
+
* Present when this popup's surface is the focus owner.
|
|
417
|
+
* Useful for styling the currently focused menu in a submenu chain.
|
|
418
|
+
*/
|
|
419
|
+
focused = "data-focused",
|
|
420
|
+
/**
|
|
421
|
+
* Present when this popup has an open submenu below it in the menu tree.
|
|
422
|
+
* Useful for styling all parent menus in an open submenu chain.
|
|
423
|
+
*/
|
|
424
|
+
hasOpenSubmenu = "data-has-open-submenu",
|
|
425
|
+
/**
|
|
426
|
+
* Present when this popup is a submenu (not the root menu).
|
|
427
|
+
* Useful for applying different styles to submenus vs root menus.
|
|
428
|
+
*/
|
|
429
|
+
submenu = "data-submenu",
|
|
430
|
+
/**
|
|
431
|
+
* Present while navigating between subpages in this popup.
|
|
432
|
+
* Useful for temporary transition adjustments during subpage focus handoff.
|
|
433
|
+
*/
|
|
434
|
+
navigating = "data-navigating"
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
declare enum ContextMenuPositionerDataAttributes {
|
|
438
|
+
/**
|
|
439
|
+
* Identifies the component part.
|
|
440
|
+
* @type {'bazzaui-context-menu-positioner'}
|
|
441
|
+
*/
|
|
442
|
+
slot = "bazzaui-context-menu-positioner",
|
|
443
|
+
/**
|
|
444
|
+
* Present when the popup menu is open.
|
|
445
|
+
*/
|
|
446
|
+
open = "data-open",
|
|
447
|
+
/**
|
|
448
|
+
* Present when the popup menu is closed.
|
|
449
|
+
*/
|
|
450
|
+
closed = "data-closed",
|
|
451
|
+
/**
|
|
452
|
+
* Present when the anchor is hidden.
|
|
453
|
+
*/
|
|
454
|
+
anchorHidden = "data-anchor-hidden",
|
|
455
|
+
/**
|
|
456
|
+
* Indicates which side the popup is positioned relative to the trigger.
|
|
457
|
+
* @type {'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}
|
|
458
|
+
*/
|
|
459
|
+
side = "data-side",
|
|
460
|
+
/**
|
|
461
|
+
* Indicates how the popup is aligned relative to specified side.
|
|
462
|
+
* @type {'start' | 'center' | 'end' | 'list-start'}
|
|
463
|
+
*/
|
|
464
|
+
align = "data-align"
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
declare enum ContextMenuRadioGroupDataAttributes {
|
|
468
|
+
/**
|
|
469
|
+
* Identifies the component part.
|
|
470
|
+
* @type {'bazzaui-context-menu-radio-group'}
|
|
471
|
+
*/
|
|
472
|
+
slot = "bazzaui-context-menu-radio-group",
|
|
473
|
+
/**
|
|
474
|
+
* Present when the radio group is disabled.
|
|
475
|
+
*/
|
|
476
|
+
disabled = "data-disabled"
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
declare enum ContextMenuRadioItemDataAttributes {
|
|
480
|
+
/**
|
|
481
|
+
* Identifies the component part.
|
|
482
|
+
* @type {'bazzaui-context-menu-radio-item'}
|
|
483
|
+
*/
|
|
484
|
+
slot = "bazzaui-context-menu-radio-item",
|
|
485
|
+
/**
|
|
486
|
+
* Present when the radio item is checked/selected.
|
|
487
|
+
*/
|
|
488
|
+
checked = "data-checked",
|
|
489
|
+
/**
|
|
490
|
+
* Present when the radio item is unchecked.
|
|
491
|
+
*/
|
|
492
|
+
unchecked = "data-unchecked",
|
|
493
|
+
/**
|
|
494
|
+
* Present when the item is highlighted (via keyboard or pointer).
|
|
495
|
+
*/
|
|
496
|
+
highlighted = "data-highlighted",
|
|
497
|
+
/**
|
|
498
|
+
* Present when the item is disabled.
|
|
499
|
+
*/
|
|
500
|
+
disabled = "data-disabled"
|
|
501
|
+
}
|
|
502
|
+
declare enum ContextMenuRadioItemIndicatorDataAttributes {
|
|
503
|
+
/**
|
|
504
|
+
* Identifies the component part.
|
|
505
|
+
* @type {'bazzaui-context-menu-radio-item-indicator'}
|
|
506
|
+
*/
|
|
507
|
+
slot = "bazzaui-context-menu-radio-item-indicator",
|
|
508
|
+
/**
|
|
509
|
+
* Present when the radio item is checked/selected.
|
|
510
|
+
*/
|
|
511
|
+
checked = "data-checked",
|
|
512
|
+
/**
|
|
513
|
+
* Present when the radio item is unchecked.
|
|
514
|
+
*/
|
|
515
|
+
unchecked = "data-unchecked"
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
declare const ContextMenuScrollArrowDataAttributes: {
|
|
519
|
+
/**
|
|
520
|
+
* Identifies the component part for scroll up arrow.
|
|
521
|
+
* @type {'bazzaui-context-menu-scroll-up-arrow'}
|
|
522
|
+
*/
|
|
523
|
+
readonly slotUp: "bazzaui-context-menu-scroll-up-arrow";
|
|
524
|
+
/**
|
|
525
|
+
* Identifies the component part for scroll down arrow.
|
|
526
|
+
* @type {'bazzaui-context-menu-scroll-down-arrow'}
|
|
527
|
+
*/
|
|
528
|
+
readonly slotDown: "bazzaui-context-menu-scroll-down-arrow";
|
|
529
|
+
/**
|
|
530
|
+
* Direction of the scroll arrow.
|
|
531
|
+
* @type {'up' | 'down'}
|
|
532
|
+
*/
|
|
533
|
+
readonly direction: "data-direction";
|
|
534
|
+
/**
|
|
535
|
+
* Side of the popup.
|
|
536
|
+
* @type {'top' | 'bottom' | 'left' | 'right'}
|
|
537
|
+
*/
|
|
538
|
+
readonly side: "data-side";
|
|
539
|
+
};
|
|
540
|
+
|
|
541
|
+
declare enum ContextMenuSeparatorDataAttributes {
|
|
542
|
+
/**
|
|
543
|
+
* Identifies the component part.
|
|
544
|
+
* @type {'bazzaui-context-menu-separator'}
|
|
545
|
+
*/
|
|
546
|
+
slot = "bazzaui-context-menu-separator"
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
declare enum ContextMenuShortcutDataAttributes {
|
|
550
|
+
/**
|
|
551
|
+
* Identifies the component part.
|
|
552
|
+
* @type {'bazzaui-context-menu-shortcut'}
|
|
553
|
+
*/
|
|
554
|
+
slot = "bazzaui-context-menu-shortcut",
|
|
555
|
+
/**
|
|
556
|
+
* Present when the parent item is highlighted.
|
|
557
|
+
*/
|
|
558
|
+
highlighted = "data-highlighted"
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
declare enum ContextMenuSubmenuTriggerDataAttributes {
|
|
562
|
+
/**
|
|
563
|
+
* Identifies the component part.
|
|
564
|
+
* @type {'bazzaui-context-menu-submenu-trigger'}
|
|
565
|
+
*/
|
|
566
|
+
slot = "bazzaui-context-menu-submenu-trigger",
|
|
567
|
+
/**
|
|
568
|
+
* Present on submenu trigger elements.
|
|
569
|
+
*/
|
|
570
|
+
submenuTrigger = "data-submenu-trigger",
|
|
571
|
+
/**
|
|
572
|
+
* Present when the submenu popup is open.
|
|
573
|
+
*/
|
|
574
|
+
popupOpen = "data-popup-open",
|
|
575
|
+
/**
|
|
576
|
+
* Present when the submenu owns keyboard focus.
|
|
577
|
+
*/
|
|
578
|
+
popupFocused = "data-popup-focused",
|
|
579
|
+
/**
|
|
580
|
+
* Present when the item is highlighted.
|
|
581
|
+
*/
|
|
582
|
+
highlighted = "data-highlighted",
|
|
583
|
+
/**
|
|
584
|
+
* Present when the item is disabled.
|
|
585
|
+
*/
|
|
586
|
+
disabled = "data-disabled"
|
|
587
|
+
}
|
|
588
|
+
declare enum ContextMenuSubmenuTriggerIndicatorDataAttributes {
|
|
589
|
+
/**
|
|
590
|
+
* Identifies the component part.
|
|
591
|
+
* @type {'bazzaui-context-menu-submenu-trigger-indicator'}
|
|
592
|
+
*/
|
|
593
|
+
slot = "bazzaui-context-menu-submenu-trigger-indicator",
|
|
594
|
+
/**
|
|
595
|
+
* Present when the submenu popup is open.
|
|
596
|
+
*/
|
|
597
|
+
popupOpen = "data-popup-open"
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
declare enum ContextMenuSubpageBackDataAttributes {
|
|
601
|
+
/**
|
|
602
|
+
* Identifies the component part.
|
|
603
|
+
* @type {'bazzaui-context-menu-subpage-back'}
|
|
604
|
+
*/
|
|
605
|
+
slot = "bazzaui-context-menu-subpage-back",
|
|
606
|
+
/**
|
|
607
|
+
* Present when navigating back is available.
|
|
608
|
+
*/
|
|
609
|
+
canGoBack = "data-can-go-back",
|
|
610
|
+
/**
|
|
611
|
+
* Present when the button is disabled.
|
|
612
|
+
*/
|
|
613
|
+
disabled = "data-disabled"
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
declare enum ContextMenuSubpageBackItemDataAttributes {
|
|
617
|
+
/**
|
|
618
|
+
* Identifies the component part.
|
|
619
|
+
* @type {'bazzaui-context-menu-subpage-back-item'}
|
|
620
|
+
*/
|
|
621
|
+
slot = "bazzaui-context-menu-subpage-back-item",
|
|
622
|
+
/**
|
|
623
|
+
* Present on subpage back item elements.
|
|
624
|
+
*/
|
|
625
|
+
subpageBackItem = "data-subpage-back-item",
|
|
626
|
+
/**
|
|
627
|
+
* Present when the item is highlighted.
|
|
628
|
+
*/
|
|
629
|
+
highlighted = "data-highlighted",
|
|
630
|
+
/**
|
|
631
|
+
* Present when the item is disabled.
|
|
632
|
+
*/
|
|
633
|
+
disabled = "data-disabled"
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
declare enum ContextMenuSubpageTriggerDataAttributes {
|
|
637
|
+
/**
|
|
638
|
+
* Identifies the component part.
|
|
639
|
+
* @type {'bazzaui-context-menu-subpage-trigger'}
|
|
640
|
+
*/
|
|
641
|
+
slot = "bazzaui-context-menu-subpage-trigger",
|
|
642
|
+
/**
|
|
643
|
+
* Present on subpage trigger elements.
|
|
644
|
+
*/
|
|
645
|
+
subpageTrigger = "data-subpage-trigger",
|
|
646
|
+
/**
|
|
647
|
+
* Present when the target page is active.
|
|
648
|
+
*/
|
|
649
|
+
popupOpen = "data-popup-open",
|
|
650
|
+
/**
|
|
651
|
+
* Present when the target page owns keyboard focus.
|
|
652
|
+
*/
|
|
653
|
+
popupFocused = "data-popup-focused",
|
|
654
|
+
/**
|
|
655
|
+
* Present when the item is highlighted.
|
|
656
|
+
*/
|
|
657
|
+
highlighted = "data-highlighted",
|
|
658
|
+
/**
|
|
659
|
+
* Present when the item is disabled.
|
|
660
|
+
*/
|
|
661
|
+
disabled = "data-disabled"
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
declare enum ContextMenuSurfaceDataAttributes {
|
|
665
|
+
/**
|
|
666
|
+
* Identifies the component part.
|
|
667
|
+
* @type {'bazzaui-context-menu-surface'}
|
|
668
|
+
*/
|
|
669
|
+
slot = "bazzaui-context-menu-surface"
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export { index_parts as ContextMenu, PopupMenuArrow as ContextMenuArrow, ContextMenuArrowDataAttributes, PopupMenuBackdrop as ContextMenuBackdrop, ContextMenuBackdropDataAttributes, PopupMenuCheckboxItem as ContextMenuCheckboxItem, ContextMenuCheckboxItemDataAttributes, PopupMenuCheckboxItemIndicator as ContextMenuCheckboxItemIndicator, ContextMenuCheckboxItemIndicatorDataAttributes, PopupMenuEmpty as ContextMenuEmpty, ContextMenuEmptyDataAttributes, PopupMenuFocusZone as ContextMenuFocusZone, PopupMenuFooter as ContextMenuFooter, PopupMenuGroup as ContextMenuGroup, ContextMenuGroupDataAttributes, PopupMenuGroupLabel as ContextMenuGroupLabel, ContextMenuGroupLabelDataAttributes, PopupMenuHeader as ContextMenuHeader, PopupMenuIcon as ContextMenuIcon, ContextMenuIconDataAttributes, PopupMenuInput as ContextMenuInput, ContextMenuInputDataAttributes, PopupMenuItem as ContextMenuItem, ContextMenuItemDataAttributes, PopupMenuList as ContextMenuList, ContextMenuListDataAttributes, PopupMenuPopup as ContextMenuPopup, ContextMenuPopupDataAttributes, PopupMenuPortal as ContextMenuPortal, PopupMenuPositioner as ContextMenuPositioner, ContextMenuPositionerDataAttributes, PopupMenuRadioGroup as ContextMenuRadioGroup, ContextMenuRadioGroupDataAttributes, PopupMenuRadioGroupValue as ContextMenuRadioGroupValue, PopupMenuRadioItem as ContextMenuRadioItem, ContextMenuRadioItemDataAttributes, PopupMenuRadioItemIndicator as ContextMenuRadioItemIndicator, ContextMenuRadioItemIndicatorDataAttributes, ContextMenuRoot, type ContextMenuRootProps, ContextMenuScrollArrowDataAttributes, PopupMenuSeparator as ContextMenuSeparator, ContextMenuSeparatorDataAttributes, PopupMenuShortcut as ContextMenuShortcut, ContextMenuShortcutDataAttributes, PopupMenuSubmenuRoot as ContextMenuSubmenuRoot, PopupMenuSubmenuTrigger as ContextMenuSubmenuTrigger, ContextMenuSubmenuTriggerDataAttributes, PopupMenuSubmenuTriggerIndicator as ContextMenuSubmenuTriggerIndicator, ContextMenuSubmenuTriggerIndicatorDataAttributes, PopupMenuSubpage as ContextMenuSubpage, PopupMenuSubpageBack as ContextMenuSubpageBack, ContextMenuSubpageBackDataAttributes, PopupMenuSubpageBackItem as ContextMenuSubpageBackItem, ContextMenuSubpageBackItemDataAttributes, PopupMenuSubpageTrigger as ContextMenuSubpageTrigger, ContextMenuSubpageTriggerDataAttributes, PopupMenuSurface as ContextMenuSurface, ContextMenuSurfaceDataAttributes, ContextMenuTrigger, ContextMenuTriggerDataAttributes, type ContextMenuTriggerProps, type ContextMenuTriggerState, VirtualItem as ContextMenuVirtualItem, GetResolvedIdFn, NodeDef, PopupMenuIdScope, PopupMenuNode, useAsyncMenuCoordinator, useDataList, useMaybeAsyncMenuCoordinator, useMaybeDataList };
|