@bazza-ui/react 0.1.0-canary.16 → 0.1.0-canary.17
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/combobox/index.cjs +1 -1
- package/dist/combobox/index.cjs.map +1 -1
- package/dist/combobox/index.d.ts +842 -834
- package/dist/combobox/index.js +1 -1
- package/dist/combobox/index.js.map +1 -1
- package/dist/command-menu/index.cjs +1 -1
- package/dist/command-menu/index.cjs.map +1 -1
- package/dist/command-menu/index.d.ts +123 -96
- package/dist/command-menu/index.js +1 -1
- package/dist/command-menu/index.js.map +1 -1
- package/dist/context-menu/index.cjs +1 -1
- package/dist/context-menu/index.cjs.map +1 -1
- package/dist/context-menu/index.d.ts +701 -658
- package/dist/context-menu/index.js +1 -1
- package/dist/context-menu/index.js.map +1 -1
- package/dist/dropdown-menu/index.cjs +1 -1
- package/dist/dropdown-menu/index.cjs.map +1 -1
- package/dist/dropdown-menu/index.d.ts +723 -680
- package/dist/dropdown-menu/index.js +1 -1
- package/dist/dropdown-menu/index.js.map +1 -1
- package/dist/events-DDOsDu4X.d.ts +2091 -0
- package/dist/index-Cabqj7qI.d.ts +2003 -0
- package/dist/index-D8OrKThQ.d.ts +977 -0
- package/dist/internal/listbox/index.cjs +1 -2
- package/dist/internal/listbox/index.d.ts +2 -272
- package/dist/internal/listbox/index.js +1 -2
- package/dist/internal/popup-menu/index.cjs +1 -2
- package/dist/internal/popup-menu/index.d.ts +4 -238
- package/dist/internal/popup-menu/index.js +1 -2
- package/dist/items-CD2hw6-3.js +2 -0
- package/dist/items-CD2hw6-3.js.map +1 -0
- package/dist/items-DYDljwnt.cjs +2 -0
- package/dist/items-DYDljwnt.cjs.map +1 -0
- package/dist/{items-B6HeFO_8.d.cts → items-ceX--VIv.d.ts} +21 -19
- package/dist/kbd/index.cjs +1 -1
- package/dist/kbd/index.cjs.map +1 -1
- package/dist/kbd/index.d.ts +35 -35
- package/dist/kbd/index.js +1 -1
- package/dist/kbd/index.js.map +1 -1
- package/dist/listbox-CnwUlLZA.js +2 -0
- package/dist/listbox-CnwUlLZA.js.map +1 -0
- package/dist/listbox-DYvJTiF6.cjs +2 -0
- package/dist/listbox-DYvJTiF6.cjs.map +1 -0
- package/dist/loaders/index.cjs +1 -1
- package/dist/loaders/index.cjs.map +1 -1
- package/dist/loaders/index.d.ts +218 -188
- package/dist/loaders/index.js +1 -1
- package/dist/loaders/index.js.map +1 -1
- package/dist/merge-element-props-0mpNO7ZH.cjs +2 -0
- package/dist/merge-element-props-0mpNO7ZH.cjs.map +1 -0
- package/dist/merge-element-props-PxUvRHax.js +2 -0
- package/dist/merge-element-props-PxUvRHax.js.map +1 -0
- package/dist/platform-C-sxBTRa.cjs +2 -0
- package/dist/platform-C-sxBTRa.cjs.map +1 -0
- package/dist/platform-C4_cGUkS.js +2 -0
- package/dist/platform-C4_cGUkS.js.map +1 -0
- package/dist/popup-menu-BBAzAXIe.cjs +2 -0
- package/dist/popup-menu-BBAzAXIe.cjs.map +1 -0
- package/dist/popup-menu-HmBMJEZc.js +2 -0
- package/dist/popup-menu-HmBMJEZc.js.map +1 -0
- package/dist/resolve-state-props-C-zbhdXd.cjs +2 -0
- package/dist/resolve-state-props-C-zbhdXd.cjs.map +1 -0
- package/dist/resolve-state-props-D31kizRZ.js +2 -0
- package/dist/resolve-state-props-D31kizRZ.js.map +1 -0
- package/dist/rolldown-runtime-5lHFv1cW.cjs +1 -0
- package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
- package/dist/select/index.cjs +1 -1
- package/dist/select/index.cjs.map +1 -1
- package/dist/select/index.d.ts +835 -828
- package/dist/select/index.js +1 -1
- package/dist/select/index.js.map +1 -1
- package/dist/suggestion-menu/index.cjs +4 -0
- package/dist/suggestion-menu/index.cjs.map +1 -0
- package/dist/suggestion-menu/index.d.ts +359 -0
- package/dist/suggestion-menu/index.js +4 -0
- package/dist/suggestion-menu/index.js.map +1 -0
- package/dist/types-BbN28E3_.d.ts +50 -0
- package/dist/video-player/index.cjs +2 -2
- package/dist/video-player/index.cjs.map +1 -1
- package/dist/video-player/index.d.ts +964 -1000
- package/dist/video-player/index.js +2 -2
- package/dist/video-player/index.js.map +1 -1
- package/package.json +14 -5
- package/dist/ListboxStore-B8oTpM57.d.cts +0 -453
- package/dist/ListboxStore-CV5vPUUc.d.ts +0 -453
- package/dist/chunk-3HMQLMSF.js +0 -2
- package/dist/chunk-3HMQLMSF.js.map +0 -1
- package/dist/chunk-4C666HHU.js +0 -2
- package/dist/chunk-4C666HHU.js.map +0 -1
- package/dist/chunk-5T5B5SPR.cjs +0 -2
- package/dist/chunk-5T5B5SPR.cjs.map +0 -1
- package/dist/chunk-A4Z5BY7H.js +0 -2
- package/dist/chunk-A4Z5BY7H.js.map +0 -1
- package/dist/chunk-IT372NHF.js +0 -2
- package/dist/chunk-IT372NHF.js.map +0 -1
- package/dist/chunk-JFEVUUPC.cjs +0 -2
- package/dist/chunk-JFEVUUPC.cjs.map +0 -1
- package/dist/chunk-KO3DXT3Y.js +0 -2
- package/dist/chunk-KO3DXT3Y.js.map +0 -1
- package/dist/chunk-LXXK4S4Q.js +0 -2
- package/dist/chunk-LXXK4S4Q.js.map +0 -1
- package/dist/chunk-M4G6J7DP.cjs +0 -2
- package/dist/chunk-M4G6J7DP.cjs.map +0 -1
- package/dist/chunk-MPPIEWSL.js +0 -2
- package/dist/chunk-MPPIEWSL.js.map +0 -1
- package/dist/chunk-PCNHYMD6.cjs +0 -2
- package/dist/chunk-PCNHYMD6.cjs.map +0 -1
- package/dist/chunk-RTG6U56O.cjs +0 -2
- package/dist/chunk-RTG6U56O.cjs.map +0 -1
- package/dist/chunk-SCDHQZFI.cjs +0 -2
- package/dist/chunk-SCDHQZFI.cjs.map +0 -1
- package/dist/chunk-XMZZ62VJ.cjs +0 -2
- package/dist/chunk-XMZZ62VJ.cjs.map +0 -1
- package/dist/combobox/index.d.cts +0 -1066
- package/dist/command-menu/index.d.cts +0 -154
- package/dist/command-score-CTJ9NV6n.d.cts +0 -23
- package/dist/command-score-CTJ9NV6n.d.ts +0 -23
- package/dist/context-menu/index.d.cts +0 -696
- package/dist/dropdown-menu/index.d.cts +0 -723
- package/dist/events-BTHQ2OoH.d.ts +0 -1860
- package/dist/events-DVcrtGe3.d.cts +0 -1860
- package/dist/input-C95v6jB0.d.cts +0 -46
- package/dist/input-CYweYB_i.d.ts +0 -46
- package/dist/internal/listbox/index.cjs.map +0 -1
- package/dist/internal/listbox/index.d.cts +0 -272
- package/dist/internal/listbox/index.js.map +0 -1
- package/dist/internal/popup-menu/index.cjs.map +0 -1
- package/dist/internal/popup-menu/index.d.cts +0 -238
- package/dist/internal/popup-menu/index.js.map +0 -1
- package/dist/items-B6HeFO_8.d.ts +0 -37
- package/dist/kbd/index.d.cts +0 -61
- package/dist/loaders/index.d.cts +0 -363
- package/dist/loading-C6WZGUc3.d.cts +0 -29
- package/dist/loading-CC4n55sR.d.ts +0 -29
- package/dist/resolve-B-j0eW24.d.cts +0 -406
- package/dist/resolve-B1F-a3P1.d.ts +0 -406
- package/dist/scroll-arrow-BBoKckL_.d.cts +0 -544
- package/dist/scroll-arrow-fl3B5sVO.d.ts +0 -544
- package/dist/select/index.d.cts +0 -1005
- package/dist/separator-Dn15rte3.d.ts +0 -275
- package/dist/separator-NjsBVzek.d.cts +0 -275
- package/dist/surface-context-CGLDpMej.d.ts +0 -14
- package/dist/surface-context-CN4Lb_6F.d.cts +0 -14
- package/dist/type-guards-BHHzjRvZ.d.cts +0 -351
- package/dist/type-guards-C0e_GpeY.d.ts +0 -351
- package/dist/types-DT4FOOa2.d.cts +0 -51
- package/dist/types-DT4FOOa2.d.ts +0 -51
- package/dist/use-listbox-item-NzZuY34-.d.cts +0 -212
- package/dist/use-listbox-item-NzZuY34-.d.ts +0 -212
- package/dist/video-player/index.d.cts +0 -1391
|
@@ -1,26 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import
|
|
6
|
-
|
|
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-C0e_GpeY.js';
|
|
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-C0e_GpeY.js';
|
|
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-Dn15rte3.js';
|
|
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-Dn15rte3.js';
|
|
11
|
-
import { P as PopupMenuInput } from '../input-CYweYB_i.js';
|
|
12
|
-
export { a as ContextMenuInputProps, b as ContextMenuInputState } from '../input-CYweYB_i.js';
|
|
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-B1F-a3P1.js';
|
|
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-B1F-a3P1.js';
|
|
15
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
16
|
-
import * as React from 'react';
|
|
17
|
-
import { C as ComponentProps } from '../types-DT4FOOa2.js';
|
|
18
|
-
export { I as ItemContextValue, u as useItemContext, a as useMaybeItemContext } from '../use-listbox-item-NzZuY34-.js';
|
|
19
|
-
export { S as SurfaceContextValue, u as useMaybeSurfaceContext, a as useSurfaceContext } from '../surface-context-CGLDpMej.js';
|
|
20
|
-
export { c as commandScore, d as defaultFilter } from '../command-score-CTJ9NV6n.js';
|
|
21
|
-
import '@base-ui/utils/store';
|
|
22
|
-
import '@base-ui/react/popover';
|
|
23
|
-
|
|
1
|
+
import { B as VirtualItem, F as ListboxContext, H as ItemContextValue, I as ListboxState, L as ListboxStore, M as FilterFn, P as ItemRegistration, U as useItemContext, W as useMaybeItemContext, b as useMaybeSurfaceContext, i as defaultFilter, r as commandScore, x as useSurfaceContext, y as SurfaceContextValue } from "../index-D8OrKThQ.js";
|
|
2
|
+
import { $ as LinkItemRenderParams, $t as PopupMenuItemState, A as CheckboxItemRenderProps, At as defineRadioGroup, Bt as PopupMenuSubmenuTriggerProps, C as CheckboxGroupBehavior, Cn as submenuTrigger, Ct as SubpageDef, D as CheckboxGroupRenderProps, Dt as TreeItemRenderParams, E as CheckboxGroupRenderParams, Et as TreeItemDef, F as DisplayCheckboxGroupNode, G as GroupRenderContext, Gt as PopupMenuRadioGroup, H as GroupBehavior, Ht as PopupMenuRadioItem, I as DisplayGroupNode, It as PopupMenuSubpageTrigger, J as InitialQueryBehavior, Jt as PopupMenuLinkItem, K as GroupRenderParams, Kt as PopupMenuRadioGroupProps, L as DisplayNode, Lt as PopupMenuSubpageTriggerProps, Mt as isDisplayGroupNode, N as DeepSearchConfig, Nt as isDisplayRadioGroupNode, O as CheckboxItemDef, Ot as TreeItemRenderProps, P as DisabledBranchBehavior, Pt as isDisplayRowNode, Q as LinkItemDef, Qt as PopupMenuItemProps, R as DisplayRadioGroupNode, Rt as PopupMenuSubpageTriggerState, Sn as siblingOpen, St as SubpageContentRenderParams, T as CheckboxGroupLabelRenderParams, Tt as SubpageTriggerRenderProps, U as GroupDef, Ut as PopupMenuRadioItemProps, V as DisplaySubpageNode, Vt as PopupMenuSubmenuTriggerState, W as GroupLabelRenderParams, Wt as PopupMenuRadioItemState, X as ItemRenderParams, Xt as PopupMenuLinkItemState, Y as ItemDef, Yt as PopupMenuLinkItemProps, Z as ItemRenderProps, Zt as PopupMenuItem, an as PopupMenuCheckboxGroupState, b as AsyncResultBehavior, bn as pointer, bt as SubmenuRenderParams, c as PopupMenuIdScope, cn as closePress, ct as RadioGroupRenderParams, d as AsyncContentMode, dn as imperativeAction, en as PopupMenuCheckboxItem, et as LinkItemRenderProps, gn as listNavigation, hn as keyboard, ht as SeparatorDef, in as PopupMenuCheckboxGroupProps, j as DataListChildrenState, jt as isDisplayCheckboxGroupNode, k as CheckboxItemRenderParams, kt as defineCheckboxGroup, l as PopupMenuNode, ln as escapeKey, lt as RadioGroupRenderProps, mn as itemPress, mt as ScoredNode, nn as PopupMenuCheckboxItemState, nt as NodeDef, on as ChangeEventDetails, ot as RadioGroupDef, pt as RowRenderContext, q as IncludeInDeepSearch, qt as PopupMenuRadioGroupState, r as PopupMenuHighlightChangeHandler, rn as PopupMenuCheckboxGroup, s as GetResolvedIdFn, sn as GenericEventDetails, st as RadioGroupLabelRenderParams, tn as PopupMenuCheckboxItemProps, u as UnresolvedMenuNode, un as focusOut, vn as none, w as CheckboxGroupDef, wn as triggerContextMenu, wt as SubpageTriggerRenderParams, xn as reason_parts_d_exports, xt as SubmenuRenderProps, yn as outsidePress, yt as SubmenuDef, z as DisplayRowNode, zt as PopupMenuSubmenuTrigger } from "../events-DDOsDu4X.js";
|
|
3
|
+
import { t as ComponentProps } from "../types-BbN28E3_.js";
|
|
4
|
+
import { $ as PopupMenuFocusZoneProps, $t as PopupMenuPopupProps, A as PopupMenuTreeItem, At as PopupMenuInputState, B as PopupMenuHeaderProps, C as PopupMenuSubpage, Ct as PopupMenuList, D as PopupMenuSubmenuTriggerIndicatorState, Dn as useMaybePopupMenuContext, Dt as PopupMenuListCssVars, E as PopupMenuSubmenuTriggerIndicatorProps, Et as PopupMenuListState, F as PopupMenuShortcutState, Ft as PopupMenuIconProps, G as PopupMenuGroupValue, H as PopupMenuGroupLabel, I as PopupMenuSeparator, It as PopupMenuIconState, J as PopupMenuGroupState, Jt as PopupMenuPositionerProps, K as PopupMenuGroup, Kt as PopupMenuPositioner, L as PopupMenuSeparatorProps, Lt as UsePopupMenuItemParams, M as PopupMenuTree, Mt as PopupMenuEmptyProps, N as PopupMenuShortcut, Nt as PopupMenuEmptyState, O as PopupMenuSubmenuRoot, On as usePopupMenuContext, Ot as PopupMenuInput, P as PopupMenuShortcutProps, Pt as PopupMenuIcon, Q as PopupMenuFocusZone, Qt as PopupMenuPopup, R as PopupMenuSeparatorState, Rt as UsePopupMenuItemReturn, S as PopupMenuSubpageBackState, Sn as PopupMenuDebugOptions, T as PopupMenuSubmenuTriggerIndicator, Tt as PopupMenuListProps, U as PopupMenuGroupLabelProps, V as PopupMenuHeaderState, W as PopupMenuGroupLabelState, X as PopupMenuFooterProps, Xt as PopupMenuPortal, Y as PopupMenuFooter, Yt as PopupMenuPositionerCssVars, Z as PopupMenuFooterState, Zt as PopupMenuPortalProps, _ as PopupMenuSubpageBackItem, _n as useSubpageContext, _t as PopupMenuScrollDownArrowProps, a as DataListContext, an as PopupMenuArrowProps, at as PopupMenuRadioGroupValueProps, b as PopupMenuSubpageBack, bn as useSubmenuContext, c as DataSurfaceContextValue, ct as PopupMenuCheckboxItemIndicatorState, d as useDataSurfaceContext, dt as PopupMenuSurface, et as PopupMenuFocusZoneState, f as useMaybeDataList, fn as SubpageStackContextValue, ft as PopupMenuSurfaceProps, g as useMaybeAsyncMenuCoordinator, gn as useMaybeSubpageContext, gt as PopupMenuScrollDownArrow, h as useAsyncMenuCoordinator, hn as SubpageContextValue, ht as PopupMenuScrollArrowState, i as isTreeItemDef, in as PopupMenuArrow, it as PopupMenuRadioGroupValue, j as PopupMenuTreeConnector, jt as PopupMenuEmpty, k as PopupMenuSubmenuRootProps, kt as PopupMenuInputProps, l as RenderNodeFn, lt as PopupMenuCheckboxGroupValue, m as AsyncMenuCoordinatorValue, mn as useSubpageStack, mt as PopupMenuScrollArrowProps, n as isPopupMenuNode, nn as PopupMenuBackdrop, nt as PopupMenuRadioItemIndicatorProps, ot as PopupMenuCheckboxItemIndicator, p as useMaybeDataSurfaceContext, pn as useMaybeSubpageStack, pt as PopupMenuSurfaceState, q as PopupMenuGroupProps, qt as PopupMenuPositionerAlign, rn as PopupMenuBackdropProps, rt as PopupMenuRadioItemIndicatorState, s as DataSurfaceContext, sn as PopupMenuRootActions, st as PopupMenuCheckboxItemIndicatorProps, t as defaultGetResolvedId, tt as PopupMenuRadioItemIndicator, u as useDataList, ut as PopupMenuCheckboxGroupValueProps, v as PopupMenuSubpageBackItemProps, vn as SubmenuContextValue, vt as PopupMenuScrollUpArrow, w as PopupMenuSubpageProps, wn as PopupMenuContextValue, wt as PopupMenuListChildrenState, x as PopupMenuSubpageBackProps, y as PopupMenuSubpageBackItemState, yn as useMaybeSubmenuContext, yt as PopupMenuScrollUpArrowProps, z as PopupMenuHeader, zt as usePopupMenuItem } from "../index-Cabqj7qI.js";
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
//#region src/context-menu/events.d.ts
|
|
24
7
|
/**
|
|
25
8
|
* Reasons why the context menu's open state changed.
|
|
26
9
|
*/
|
|
@@ -37,136 +20,161 @@ type ContextMenuHighlightChangeReason = typeof pointer | typeof keyboard | typeo
|
|
|
37
20
|
* Event details passed to the `onHighlightChange` callback.
|
|
38
21
|
*/
|
|
39
22
|
type ContextMenuHighlightChangeEventDetails = GenericEventDetails<ContextMenuHighlightChangeReason, {
|
|
40
|
-
|
|
23
|
+
index: number;
|
|
41
24
|
}>;
|
|
42
|
-
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/context-menu/root/root.d.ts
|
|
43
27
|
interface ContextMenuRootProps {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Whether the context menu is open.
|
|
30
|
+
* Use for controlled mode.
|
|
31
|
+
*/
|
|
32
|
+
open?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Callback when the open state changes.
|
|
35
|
+
* The second parameter contains event details including the reason for the change.
|
|
36
|
+
*/
|
|
37
|
+
onOpenChange?: (open: boolean, eventDetails: ContextMenuOpenChangeEventDetails) => void;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the context menu is initially open.
|
|
40
|
+
* Use for uncontrolled mode.
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
defaultOpen?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Whether virtualization mode is enabled.
|
|
46
|
+
* When true, items should provide an explicit `index` prop and
|
|
47
|
+
* the `items` prop should be provided for navigation to work correctly.
|
|
48
|
+
* @default false
|
|
49
|
+
*/
|
|
50
|
+
virtualized?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Pre-registered items for virtualization.
|
|
53
|
+
* When provided with `virtualized={true}`, this allows navigation to work
|
|
54
|
+
* for items that aren't currently mounted in the DOM.
|
|
55
|
+
*/
|
|
56
|
+
items?: VirtualItem[];
|
|
57
|
+
/**
|
|
58
|
+
* Callback when the highlighted item changes.
|
|
59
|
+
* Useful for synchronizing with a virtualizer (e.g., scrollToIndex) or other UI state.
|
|
60
|
+
* `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.
|
|
61
|
+
* The fourth parameter contains event details including the reason for the change.
|
|
62
|
+
*/
|
|
63
|
+
onHighlightChange?: PopupMenuHighlightChangeHandler<ContextMenuHighlightChangeEventDetails>;
|
|
64
|
+
/**
|
|
65
|
+
* Whether the component should ignore user interaction.
|
|
66
|
+
* @default false
|
|
67
|
+
*/
|
|
68
|
+
disabled?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Determines if the context menu enters a modal state when open.
|
|
71
|
+
*
|
|
72
|
+
* - `true`: user interaction is limited to the menu: document page scroll
|
|
73
|
+
* is locked, and pointer interactions on outside elements are disabled.
|
|
74
|
+
* - `false`: user interaction with the rest of the document is allowed.
|
|
75
|
+
*
|
|
76
|
+
* @default true
|
|
77
|
+
*/
|
|
78
|
+
modal?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* When to close the menu on outside interactions.
|
|
81
|
+
* - `'pointerdown'`: Close immediately when pointer is pressed outside (default)
|
|
82
|
+
* - `'click'`: Close when a full click (pointerdown + pointerup) occurs outside
|
|
83
|
+
* @default 'pointerdown'
|
|
84
|
+
*/
|
|
85
|
+
closeOnOutsidePress?: 'click' | 'pointerdown';
|
|
86
|
+
/**
|
|
87
|
+
* Event handler called after any open/close animations have completed.
|
|
88
|
+
* When `clearSearchOnClose="after-exit"` is set on Surface, the search
|
|
89
|
+
* will be cleared before this callback is invoked.
|
|
90
|
+
*/
|
|
91
|
+
onOpenChangeComplete?: (open: boolean) => void;
|
|
92
|
+
/**
|
|
93
|
+
* A ref to imperative actions.
|
|
94
|
+
* - `close`: closes the menu imperatively.
|
|
95
|
+
* - `unmount`: unmounts the popup imperatively (when keep-mounted mode is enabled).
|
|
96
|
+
* - `setDisabled`: enables/disables the menu imperatively.
|
|
97
|
+
*/
|
|
98
|
+
actionsRef?: React.RefObject<ContextMenuRoot.Actions | null>;
|
|
99
|
+
/**
|
|
100
|
+
* - Otherwise, use the row's full definition path (`definitionPath`) — identical in
|
|
101
|
+
* browse and deep-search contexts
|
|
102
|
+
*/
|
|
103
|
+
/**
|
|
104
|
+
* Computes canonical Resolved IDs for data-first content from the Unresolved Menu Node (definitional facts only).
|
|
105
|
+
* @default encoded surface Definition Path joined with `/`; `idScope="menu"` uses the Definition Key
|
|
106
|
+
* 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.
|
|
107
|
+
* @example
|
|
108
|
+
* <ContextMenu.Root getResolvedId={(node) => node.def.id ?? node.definitionPath.join('.')} />
|
|
109
|
+
*/
|
|
110
|
+
getResolvedId?: GetResolvedIdFn;
|
|
111
|
+
/** Definition Key uniqueness scope. Read once when the menu root mounts. @default 'surface' */
|
|
112
|
+
idScope?: PopupMenuIdScope;
|
|
113
|
+
/**
|
|
114
|
+
* Whether shift-clicking a checkbox item (or pressing Shift+Enter on the
|
|
115
|
+
* highlighted one) sets every checkbox item between it and the last
|
|
116
|
+
* checkbox item you interacted with to the same checked state. Also
|
|
117
|
+
* enables the keyboard span: hold Shift while moving the highlight, release
|
|
118
|
+
* Shift to apply.
|
|
119
|
+
* @default true
|
|
120
|
+
*/
|
|
121
|
+
rangeSelection?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Lets the user press a checkbox item and drag across others to set them all
|
|
124
|
+
* to the pressed item's new state. Off by default. `'keep'` keeps rows set
|
|
125
|
+
* once the pointer has reached them; `'rubber-band'` returns rows outside the
|
|
126
|
+
* current span to their previous state. Mouse and pen only.
|
|
127
|
+
* @default false
|
|
128
|
+
*/
|
|
129
|
+
dragSelection?: false | 'keep' | 'rubber-band';
|
|
130
|
+
/**
|
|
131
|
+
* Returns the text announced to screen readers after a range or drag
|
|
132
|
+
* selection changes rows, for localization. `count` is the number of rows
|
|
133
|
+
* changed and `checked` the state they were set to. Defaults to English
|
|
134
|
+
* ("3 items checked", "1 item unchecked").
|
|
135
|
+
*/
|
|
136
|
+
getAriaSelectionText?: (count: number, checked: boolean) => string;
|
|
137
|
+
/**
|
|
138
|
+
* Debug visualization options for submenu interaction heuristics.
|
|
139
|
+
*/
|
|
140
|
+
debug?: PopupMenuDebugOptions;
|
|
141
|
+
children: React.ReactNode;
|
|
134
142
|
}
|
|
135
143
|
/**
|
|
136
144
|
* Groups all parts of the context menu.
|
|
137
145
|
* Manages open state and provides context to children.
|
|
138
146
|
* Doesn't render its own HTML element.
|
|
139
147
|
*/
|
|
140
|
-
declare function ContextMenuRoot(props: ContextMenuRoot.Props):
|
|
148
|
+
declare function ContextMenuRoot(props: ContextMenuRoot.Props): React.JSX.Element;
|
|
141
149
|
declare namespace ContextMenuRoot {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
type Actions = PopupMenuRootActions;
|
|
150
|
+
interface Props extends ContextMenuRootProps {}
|
|
151
|
+
type OpenChangeEventDetails = ContextMenuOpenChangeEventDetails;
|
|
152
|
+
type HighlightChangeEventDetails = ContextMenuHighlightChangeEventDetails;
|
|
153
|
+
type Actions = PopupMenuRootActions;
|
|
147
154
|
}
|
|
148
|
-
|
|
155
|
+
//#endregion
|
|
156
|
+
//#region src/context-menu/trigger/trigger.d.ts
|
|
149
157
|
interface ContextMenuTriggerState extends Record<string, unknown> {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
158
|
+
/**
|
|
159
|
+
* Whether the context menu is currently open.
|
|
160
|
+
*/
|
|
161
|
+
open: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Whether the trigger is currently being pressed (long-press in progress).
|
|
164
|
+
*/
|
|
165
|
+
pressed: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* Whether the trigger is disabled.
|
|
168
|
+
*/
|
|
169
|
+
disabled: boolean;
|
|
162
170
|
}
|
|
163
171
|
interface ContextMenuTriggerProps extends ComponentProps<'div', ContextMenuTrigger.State> {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
172
|
+
/**
|
|
173
|
+
* Whether the trigger is disabled.
|
|
174
|
+
* When disabled, right-click and long-press will not open the menu.
|
|
175
|
+
* @default false
|
|
176
|
+
*/
|
|
177
|
+
disabled?: boolean;
|
|
170
178
|
}
|
|
171
179
|
/**
|
|
172
180
|
* An area that opens the context menu on right-click or long-press.
|
|
@@ -174,523 +182,558 @@ interface ContextMenuTriggerProps extends ComponentProps<'div', ContextMenuTrigg
|
|
|
174
182
|
*/
|
|
175
183
|
declare const ContextMenuTrigger: React.ForwardRefExoticComponent<Omit<ContextMenuTrigger.Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
176
184
|
declare namespace ContextMenuTrigger {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
declare
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
declare
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
185
|
+
type State = ContextMenuTriggerState;
|
|
186
|
+
interface Props extends ContextMenuTriggerProps {}
|
|
187
|
+
}
|
|
188
|
+
declare namespace index_parts_d_exports {
|
|
189
|
+
export { PopupMenuArrow as Arrow, PopupMenuBackdrop as Backdrop, PopupMenuCheckboxGroup as CheckboxGroup, PopupMenuCheckboxGroupValue as CheckboxGroupValue, 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, PopupMenuLinkItem as LinkItem, PopupMenuList as List, PopupMenuNode as Node, 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, VirtualItem, useAsyncMenuCoordinator, useDataList, useMaybeAsyncMenuCoordinator, useMaybeDataList };
|
|
190
|
+
}
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region src/context-menu/trigger/trigger.data-attrs.d.ts
|
|
193
|
+
export declare enum ContextMenuTriggerDataAttributes {
|
|
194
|
+
/**
|
|
195
|
+
* Identifies the component part.
|
|
196
|
+
* @type {'bazzaui-context-menu-trigger'}
|
|
197
|
+
*/
|
|
198
|
+
slot = "bazzaui-context-menu-trigger",
|
|
199
|
+
/** Present when the corresponding context menu is open. */
|
|
200
|
+
popupOpen = "data-popup-open",
|
|
201
|
+
/** Present when the trigger is being pressed (long-press). */
|
|
202
|
+
pressed = "data-pressed",
|
|
203
|
+
/** Present when the trigger is disabled. */
|
|
204
|
+
disabled = "data-disabled"
|
|
205
|
+
}
|
|
206
|
+
//#endregion
|
|
207
|
+
//#region src/context-menu/arrow/arrow.data-attrs.d.ts
|
|
208
|
+
export declare enum ContextMenuArrowDataAttributes {
|
|
209
|
+
/**
|
|
210
|
+
* Identifies the component part.
|
|
211
|
+
* @type {'bazzaui-context-menu-arrow'}
|
|
212
|
+
*/
|
|
213
|
+
slot = "bazzaui-context-menu-arrow",
|
|
214
|
+
/**
|
|
215
|
+
* Present when the popup menu is open.
|
|
216
|
+
*/
|
|
217
|
+
open = "data-open",
|
|
218
|
+
/**
|
|
219
|
+
* Present when the popup menu is closed.
|
|
220
|
+
*/
|
|
221
|
+
closed = "data-closed",
|
|
222
|
+
/**
|
|
223
|
+
* Indicates which side the popup is positioned relative to the trigger.
|
|
224
|
+
* @type {'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}
|
|
225
|
+
*/
|
|
226
|
+
side = "data-side",
|
|
227
|
+
/**
|
|
228
|
+
* Indicates how the popup is aligned relative to specified side.
|
|
229
|
+
* @type {'start' | 'center' | 'end'}
|
|
230
|
+
*/
|
|
231
|
+
align = "data-align",
|
|
232
|
+
/**
|
|
233
|
+
* Present when the arrow is not centered due to collision avoidance.
|
|
234
|
+
*/
|
|
235
|
+
uncentered = "data-uncentered"
|
|
236
|
+
}
|
|
237
|
+
//#endregion
|
|
238
|
+
//#region src/context-menu/backdrop/backdrop.data-attrs.d.ts
|
|
239
|
+
export declare enum ContextMenuBackdropDataAttributes {
|
|
240
|
+
/**
|
|
241
|
+
* Identifies the component part.
|
|
242
|
+
* @type {'bazzaui-context-menu-backdrop'}
|
|
243
|
+
*/
|
|
244
|
+
slot = "bazzaui-context-menu-backdrop",
|
|
245
|
+
/**
|
|
246
|
+
* Present when the popup menu is open.
|
|
247
|
+
*/
|
|
248
|
+
open = "data-open",
|
|
249
|
+
/**
|
|
250
|
+
* Present when the popup menu is closed.
|
|
251
|
+
*/
|
|
252
|
+
closed = "data-closed",
|
|
253
|
+
/**
|
|
254
|
+
* Present when the popup menu is animating in.
|
|
255
|
+
*/
|
|
256
|
+
startingStyle = "data-starting-style",
|
|
257
|
+
/**
|
|
258
|
+
* Present when the popup menu is animating out.
|
|
259
|
+
*/
|
|
260
|
+
endingStyle = "data-ending-style"
|
|
261
|
+
}
|
|
262
|
+
//#endregion
|
|
263
|
+
//#region src/context-menu/checkbox-group/checkbox-group.data-attrs.d.ts
|
|
264
|
+
export declare enum ContextMenuCheckboxGroupDataAttributes {
|
|
265
|
+
/**
|
|
266
|
+
* Identifies the component part.
|
|
267
|
+
* @type {'bazzaui-context-menu-checkbox-group'}
|
|
268
|
+
*/
|
|
269
|
+
slot = "bazzaui-context-menu-checkbox-group",
|
|
270
|
+
/**
|
|
271
|
+
* Present when the checkbox group is disabled.
|
|
272
|
+
*/
|
|
273
|
+
disabled = "data-disabled"
|
|
274
|
+
}
|
|
275
|
+
//#endregion
|
|
276
|
+
//#region src/context-menu/checkbox-item/checkbox-item.data-attrs.d.ts
|
|
277
|
+
export declare enum ContextMenuCheckboxItemDataAttributes {
|
|
278
|
+
/**
|
|
279
|
+
* Identifies the component part.
|
|
280
|
+
* @type {'bazzaui-context-menu-checkbox-item'}
|
|
281
|
+
*/
|
|
282
|
+
slot = "bazzaui-context-menu-checkbox-item",
|
|
283
|
+
/**
|
|
284
|
+
* Present when the checkbox item is checked.
|
|
285
|
+
*/
|
|
286
|
+
checked = "data-checked",
|
|
287
|
+
/**
|
|
288
|
+
* Present when the checkbox item is unchecked.
|
|
289
|
+
*/
|
|
290
|
+
unchecked = "data-unchecked",
|
|
291
|
+
/**
|
|
292
|
+
* Present while a range or drag selection previews a checked state for this
|
|
293
|
+
* item that differs from its committed state.
|
|
294
|
+
*/
|
|
295
|
+
pending = "data-pending",
|
|
296
|
+
/**
|
|
297
|
+
* Present when the item is highlighted (via keyboard or pointer).
|
|
298
|
+
*/
|
|
299
|
+
highlighted = "data-highlighted",
|
|
300
|
+
/**
|
|
301
|
+
* Present when the item is disabled.
|
|
302
|
+
*/
|
|
303
|
+
disabled = "data-disabled"
|
|
304
|
+
}
|
|
305
|
+
export declare enum ContextMenuCheckboxItemIndicatorDataAttributes {
|
|
306
|
+
/**
|
|
307
|
+
* Identifies the component part.
|
|
308
|
+
* @type {'bazzaui-context-menu-checkbox-item-indicator'}
|
|
309
|
+
*/
|
|
310
|
+
slot = "bazzaui-context-menu-checkbox-item-indicator",
|
|
311
|
+
/**
|
|
312
|
+
* Present when the checkbox item is checked.
|
|
313
|
+
*/
|
|
314
|
+
checked = "data-checked",
|
|
315
|
+
/**
|
|
316
|
+
* Present when the checkbox item is unchecked.
|
|
317
|
+
*/
|
|
318
|
+
unchecked = "data-unchecked"
|
|
319
|
+
}
|
|
320
|
+
//#endregion
|
|
321
|
+
//#region src/context-menu/empty/empty.data-attrs.d.ts
|
|
322
|
+
export declare enum ContextMenuEmptyDataAttributes {
|
|
323
|
+
/**
|
|
324
|
+
* Identifies the component part.
|
|
325
|
+
* @type {'bazzaui-context-menu-empty'}
|
|
326
|
+
*/
|
|
327
|
+
slot = "bazzaui-context-menu-empty"
|
|
328
|
+
}
|
|
329
|
+
//#endregion
|
|
330
|
+
//#region src/context-menu/group/group.data-attrs.d.ts
|
|
331
|
+
export declare enum ContextMenuGroupDataAttributes {
|
|
332
|
+
/**
|
|
333
|
+
* Identifies the component part.
|
|
334
|
+
* @type {'bazzaui-context-menu-group'}
|
|
335
|
+
*/
|
|
336
|
+
slot = "bazzaui-context-menu-group"
|
|
337
|
+
}
|
|
338
|
+
//#endregion
|
|
339
|
+
//#region src/context-menu/group-label/group-label.data-attrs.d.ts
|
|
340
|
+
export declare enum ContextMenuGroupLabelDataAttributes {
|
|
341
|
+
/**
|
|
342
|
+
* Identifies the component part.
|
|
343
|
+
* @type {'bazzaui-context-menu-group-label'}
|
|
344
|
+
*/
|
|
345
|
+
slot = "bazzaui-context-menu-group-label"
|
|
346
|
+
}
|
|
347
|
+
//#endregion
|
|
348
|
+
//#region src/context-menu/icon/icon.data-attrs.d.ts
|
|
349
|
+
export declare const ContextMenuIconDataAttributes: {
|
|
350
|
+
/**
|
|
351
|
+
* Identifies the component part.
|
|
352
|
+
* @type {'bazzaui-context-menu-icon'}
|
|
353
|
+
*/
|
|
354
|
+
readonly slot: 'bazzaui-context-menu-icon';
|
|
355
|
+
/** Present when the popup is open. */
|
|
356
|
+
readonly open: 'data-popup-open';
|
|
331
357
|
};
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
358
|
+
//#endregion
|
|
359
|
+
//#region src/context-menu/input/input.data-attrs.d.ts
|
|
360
|
+
export declare enum ContextMenuInputDataAttributes {
|
|
361
|
+
/**
|
|
362
|
+
* Identifies the component part.
|
|
363
|
+
* @type {'bazzaui-context-menu-input'}
|
|
364
|
+
*/
|
|
365
|
+
slot = "bazzaui-context-menu-input",
|
|
366
|
+
/**
|
|
367
|
+
* Present when the popup menu is open.
|
|
368
|
+
*/
|
|
369
|
+
open = "data-open",
|
|
370
|
+
/**
|
|
371
|
+
* Present when the popup menu is closed.
|
|
372
|
+
*/
|
|
373
|
+
closed = "data-closed"
|
|
374
|
+
}
|
|
375
|
+
//#endregion
|
|
376
|
+
//#region src/context-menu/item/item.data-attrs.d.ts
|
|
377
|
+
export declare enum ContextMenuItemDataAttributes {
|
|
378
|
+
/**
|
|
379
|
+
* Identifies the component part.
|
|
380
|
+
* @type {'bazzaui-context-menu-item'}
|
|
381
|
+
*/
|
|
382
|
+
slot = "bazzaui-context-menu-item",
|
|
383
|
+
/**
|
|
384
|
+
* Present when the item is highlighted (via keyboard or pointer).
|
|
385
|
+
*/
|
|
386
|
+
highlighted = "data-highlighted",
|
|
387
|
+
/**
|
|
388
|
+
* Present when the item is disabled.
|
|
389
|
+
*/
|
|
390
|
+
disabled = "data-disabled"
|
|
391
|
+
}
|
|
392
|
+
//#endregion
|
|
393
|
+
//#region src/context-menu/link-item/link-item.data-attrs.d.ts
|
|
394
|
+
export declare enum ContextMenuLinkItemDataAttributes {
|
|
395
|
+
/**
|
|
396
|
+
* Identifies the component part.
|
|
397
|
+
* @type {'bazzaui-context-menu-link-item'}
|
|
398
|
+
*/
|
|
399
|
+
slot = "bazzaui-context-menu-link-item",
|
|
400
|
+
/**
|
|
401
|
+
* Present when the item is highlighted (via keyboard or pointer).
|
|
402
|
+
*/
|
|
403
|
+
highlighted = "data-highlighted",
|
|
404
|
+
/**
|
|
405
|
+
* Present when the item is disabled.
|
|
406
|
+
*/
|
|
407
|
+
disabled = "data-disabled",
|
|
408
|
+
/** Present when this row is the first visible list-level row (not inside a group). */
|
|
409
|
+
first = "data-first",
|
|
410
|
+
/** Present when this row is the last visible list-level row (not inside a group). */
|
|
411
|
+
last = "data-last",
|
|
412
|
+
/** Present when this row is the first visible row within its group. */
|
|
413
|
+
firstInGroup = "data-first-in-group",
|
|
414
|
+
/** Present when this row is the last visible row within its group. */
|
|
415
|
+
lastInGroup = "data-last-in-group"
|
|
416
|
+
}
|
|
417
|
+
//#endregion
|
|
418
|
+
//#region src/context-menu/list/list.data-attrs.d.ts
|
|
419
|
+
export declare enum ContextMenuListDataAttributes {
|
|
420
|
+
/**
|
|
421
|
+
* Identifies the component part.
|
|
422
|
+
* @type {'bazzaui-context-menu-list'}
|
|
423
|
+
*/
|
|
424
|
+
slot = "bazzaui-context-menu-list",
|
|
425
|
+
/**
|
|
426
|
+
* Always present on the list element.
|
|
427
|
+
* Used for styling and by useStickyRowWidth to find the list container.
|
|
428
|
+
*/
|
|
429
|
+
list = "data-popup-menu-list"
|
|
430
|
+
}
|
|
431
|
+
//#endregion
|
|
432
|
+
//#region src/context-menu/popup/popup.data-attrs.d.ts
|
|
433
|
+
export declare enum ContextMenuPopupDataAttributes {
|
|
434
|
+
/**
|
|
435
|
+
* Identifies the component part.
|
|
436
|
+
* @type {'bazzaui-context-menu-popup'}
|
|
437
|
+
*/
|
|
438
|
+
slot = "bazzaui-context-menu-popup",
|
|
439
|
+
/**
|
|
440
|
+
* Present when the popup menu is open.
|
|
441
|
+
*/
|
|
442
|
+
open = "data-open",
|
|
443
|
+
/**
|
|
444
|
+
* Present when the popup menu is closed.
|
|
445
|
+
*/
|
|
446
|
+
closed = "data-closed",
|
|
447
|
+
/**
|
|
448
|
+
* Indicates which side the popup is positioned relative to the trigger.
|
|
449
|
+
* @type {'top' | 'bottom' | 'left' | 'right'}
|
|
450
|
+
*/
|
|
451
|
+
side = "data-side",
|
|
452
|
+
/**
|
|
453
|
+
* Indicates how the popup is aligned relative to specified side.
|
|
454
|
+
* @type {'start' | 'center' | 'end'}
|
|
455
|
+
*/
|
|
456
|
+
align = "data-align",
|
|
457
|
+
/**
|
|
458
|
+
* Present when the popup is animating in.
|
|
459
|
+
*/
|
|
460
|
+
startingStyle = "data-starting-style",
|
|
461
|
+
/**
|
|
462
|
+
* Present when the popup is animating out.
|
|
463
|
+
*/
|
|
464
|
+
endingStyle = "data-ending-style",
|
|
465
|
+
/**
|
|
466
|
+
* Present if animations should be instant.
|
|
467
|
+
* @type {'click' | 'dismiss'}
|
|
468
|
+
*/
|
|
469
|
+
instant = "data-instant",
|
|
470
|
+
/**
|
|
471
|
+
* Present when this popup's surface is the focus owner.
|
|
472
|
+
* Useful for styling the currently focused menu in a submenu chain.
|
|
473
|
+
*/
|
|
474
|
+
focused = "data-focused",
|
|
475
|
+
/**
|
|
476
|
+
* Present when this popup has an open submenu below it in the menu tree.
|
|
477
|
+
* Useful for styling all parent menus in an open submenu chain.
|
|
478
|
+
*/
|
|
479
|
+
hasOpenSubmenu = "data-has-open-submenu",
|
|
480
|
+
/**
|
|
481
|
+
* Present when this popup is a submenu (not the root menu).
|
|
482
|
+
* Useful for applying different styles to submenus vs root menus.
|
|
483
|
+
*/
|
|
484
|
+
submenu = "data-submenu",
|
|
485
|
+
/**
|
|
486
|
+
* Present while navigating between subpages in this popup.
|
|
487
|
+
* Useful for temporary transition adjustments during subpage focus handoff.
|
|
488
|
+
*/
|
|
489
|
+
navigating = "data-navigating"
|
|
490
|
+
}
|
|
491
|
+
//#endregion
|
|
492
|
+
//#region src/context-menu/positioner/positioner.data-attrs.d.ts
|
|
493
|
+
export declare enum ContextMenuPositionerDataAttributes {
|
|
494
|
+
/**
|
|
495
|
+
* Identifies the component part.
|
|
496
|
+
* @type {'bazzaui-context-menu-positioner'}
|
|
497
|
+
*/
|
|
498
|
+
slot = "bazzaui-context-menu-positioner",
|
|
499
|
+
/**
|
|
500
|
+
* Present when the popup menu is open.
|
|
501
|
+
*/
|
|
502
|
+
open = "data-open",
|
|
503
|
+
/**
|
|
504
|
+
* Present when the popup menu is closed.
|
|
505
|
+
*/
|
|
506
|
+
closed = "data-closed",
|
|
507
|
+
/**
|
|
508
|
+
* Present when the anchor is hidden.
|
|
509
|
+
*/
|
|
510
|
+
anchorHidden = "data-anchor-hidden",
|
|
511
|
+
/**
|
|
512
|
+
* Indicates which side the popup is positioned relative to the trigger.
|
|
513
|
+
* @type {'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}
|
|
514
|
+
*/
|
|
515
|
+
side = "data-side",
|
|
516
|
+
/**
|
|
517
|
+
* Indicates how the popup is aligned relative to specified side.
|
|
518
|
+
* @type {'start' | 'center' | 'end' | 'list-start'}
|
|
519
|
+
*/
|
|
520
|
+
align = "data-align"
|
|
521
|
+
}
|
|
522
|
+
//#endregion
|
|
523
|
+
//#region src/context-menu/radio-group/radio-group.data-attrs.d.ts
|
|
524
|
+
export declare enum ContextMenuRadioGroupDataAttributes {
|
|
525
|
+
/**
|
|
526
|
+
* Identifies the component part.
|
|
527
|
+
* @type {'bazzaui-context-menu-radio-group'}
|
|
528
|
+
*/
|
|
529
|
+
slot = "bazzaui-context-menu-radio-group",
|
|
530
|
+
/**
|
|
531
|
+
* Present when the radio group is disabled.
|
|
532
|
+
*/
|
|
533
|
+
disabled = "data-disabled"
|
|
534
|
+
}
|
|
535
|
+
//#endregion
|
|
536
|
+
//#region src/context-menu/radio-item/radio-item.data-attrs.d.ts
|
|
537
|
+
export declare enum ContextMenuRadioItemDataAttributes {
|
|
538
|
+
/**
|
|
539
|
+
* Identifies the component part.
|
|
540
|
+
* @type {'bazzaui-context-menu-radio-item'}
|
|
541
|
+
*/
|
|
542
|
+
slot = "bazzaui-context-menu-radio-item",
|
|
543
|
+
/**
|
|
544
|
+
* Present when the radio item is checked/selected.
|
|
545
|
+
*/
|
|
546
|
+
checked = "data-checked",
|
|
547
|
+
/**
|
|
548
|
+
* Present when the radio item is unchecked.
|
|
549
|
+
*/
|
|
550
|
+
unchecked = "data-unchecked",
|
|
551
|
+
/**
|
|
552
|
+
* Present when the item is highlighted (via keyboard or pointer).
|
|
553
|
+
*/
|
|
554
|
+
highlighted = "data-highlighted",
|
|
555
|
+
/**
|
|
556
|
+
* Present when the item is disabled.
|
|
557
|
+
*/
|
|
558
|
+
disabled = "data-disabled"
|
|
559
|
+
}
|
|
560
|
+
export declare enum ContextMenuRadioItemIndicatorDataAttributes {
|
|
561
|
+
/**
|
|
562
|
+
* Identifies the component part.
|
|
563
|
+
* @type {'bazzaui-context-menu-radio-item-indicator'}
|
|
564
|
+
*/
|
|
565
|
+
slot = "bazzaui-context-menu-radio-item-indicator",
|
|
566
|
+
/**
|
|
567
|
+
* Present when the radio item is checked/selected.
|
|
568
|
+
*/
|
|
569
|
+
checked = "data-checked",
|
|
570
|
+
/**
|
|
571
|
+
* Present when the radio item is unchecked.
|
|
572
|
+
*/
|
|
573
|
+
unchecked = "data-unchecked"
|
|
574
|
+
}
|
|
575
|
+
//#endregion
|
|
576
|
+
//#region src/context-menu/scroll-arrow/scroll-arrow.data-attrs.d.ts
|
|
577
|
+
export declare const ContextMenuScrollArrowDataAttributes: {
|
|
578
|
+
/**
|
|
579
|
+
* Identifies the component part for scroll up arrow.
|
|
580
|
+
* @type {'bazzaui-context-menu-scroll-up-arrow'}
|
|
581
|
+
*/
|
|
582
|
+
readonly slotUp: 'bazzaui-context-menu-scroll-up-arrow';
|
|
583
|
+
/**
|
|
584
|
+
* Identifies the component part for scroll down arrow.
|
|
585
|
+
* @type {'bazzaui-context-menu-scroll-down-arrow'}
|
|
586
|
+
*/
|
|
587
|
+
readonly slotDown: 'bazzaui-context-menu-scroll-down-arrow';
|
|
588
|
+
/**
|
|
589
|
+
* Direction of the scroll arrow.
|
|
590
|
+
* @type {'up' | 'down'}
|
|
591
|
+
*/
|
|
592
|
+
readonly direction: 'data-direction';
|
|
593
|
+
/**
|
|
594
|
+
* Side of the popup.
|
|
595
|
+
* @type {'top' | 'bottom' | 'left' | 'right'}
|
|
596
|
+
*/
|
|
597
|
+
readonly side: 'data-side';
|
|
563
598
|
};
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
599
|
+
//#endregion
|
|
600
|
+
//#region src/context-menu/separator/separator.data-attrs.d.ts
|
|
601
|
+
export declare enum ContextMenuSeparatorDataAttributes {
|
|
602
|
+
/**
|
|
603
|
+
* Identifies the component part.
|
|
604
|
+
* @type {'bazzaui-context-menu-separator'}
|
|
605
|
+
*/
|
|
606
|
+
slot = "bazzaui-context-menu-separator"
|
|
607
|
+
}
|
|
608
|
+
//#endregion
|
|
609
|
+
//#region src/context-menu/shortcut/shortcut.data-attrs.d.ts
|
|
610
|
+
export declare enum ContextMenuShortcutDataAttributes {
|
|
611
|
+
/**
|
|
612
|
+
* Identifies the component part.
|
|
613
|
+
* @type {'bazzaui-context-menu-shortcut'}
|
|
614
|
+
*/
|
|
615
|
+
slot = "bazzaui-context-menu-shortcut",
|
|
616
|
+
/**
|
|
617
|
+
* Present when the parent item is highlighted.
|
|
618
|
+
*/
|
|
619
|
+
highlighted = "data-highlighted"
|
|
620
|
+
}
|
|
621
|
+
//#endregion
|
|
622
|
+
//#region src/context-menu/submenu-trigger/submenu-trigger.data-attrs.d.ts
|
|
623
|
+
export declare enum ContextMenuSubmenuTriggerDataAttributes {
|
|
624
|
+
/**
|
|
625
|
+
* Identifies the component part.
|
|
626
|
+
* @type {'bazzaui-context-menu-submenu-trigger'}
|
|
627
|
+
*/
|
|
628
|
+
slot = "bazzaui-context-menu-submenu-trigger",
|
|
629
|
+
/**
|
|
630
|
+
* Present on submenu trigger elements.
|
|
631
|
+
*/
|
|
632
|
+
submenuTrigger = "data-submenu-trigger",
|
|
633
|
+
/**
|
|
634
|
+
* Present when the submenu popup is open.
|
|
635
|
+
*/
|
|
636
|
+
popupOpen = "data-popup-open",
|
|
637
|
+
/**
|
|
638
|
+
* Present when the submenu owns keyboard focus.
|
|
639
|
+
*/
|
|
640
|
+
popupFocused = "data-popup-focused",
|
|
641
|
+
/**
|
|
642
|
+
* Present when the item is highlighted.
|
|
643
|
+
*/
|
|
644
|
+
highlighted = "data-highlighted",
|
|
645
|
+
/**
|
|
646
|
+
* Present when the item is disabled.
|
|
647
|
+
*/
|
|
648
|
+
disabled = "data-disabled"
|
|
649
|
+
}
|
|
650
|
+
export declare enum ContextMenuSubmenuTriggerIndicatorDataAttributes {
|
|
651
|
+
/**
|
|
652
|
+
* Identifies the component part.
|
|
653
|
+
* @type {'bazzaui-context-menu-submenu-trigger-indicator'}
|
|
654
|
+
*/
|
|
655
|
+
slot = "bazzaui-context-menu-submenu-trigger-indicator",
|
|
656
|
+
/**
|
|
657
|
+
* Present when the submenu popup is open.
|
|
658
|
+
*/
|
|
659
|
+
popupOpen = "data-popup-open"
|
|
660
|
+
}
|
|
661
|
+
//#endregion
|
|
662
|
+
//#region src/context-menu/subpage-back/subpage-back.data-attrs.d.ts
|
|
663
|
+
export declare enum ContextMenuSubpageBackDataAttributes {
|
|
664
|
+
/**
|
|
665
|
+
* Identifies the component part.
|
|
666
|
+
* @type {'bazzaui-context-menu-subpage-back'}
|
|
667
|
+
*/
|
|
668
|
+
slot = "bazzaui-context-menu-subpage-back",
|
|
669
|
+
/**
|
|
670
|
+
* Present when navigating back is available.
|
|
671
|
+
*/
|
|
672
|
+
canGoBack = "data-can-go-back",
|
|
673
|
+
/**
|
|
674
|
+
* Present when the button is disabled.
|
|
675
|
+
*/
|
|
676
|
+
disabled = "data-disabled"
|
|
677
|
+
}
|
|
678
|
+
//#endregion
|
|
679
|
+
//#region src/context-menu/subpage-back-item/subpage-back-item.data-attrs.d.ts
|
|
680
|
+
export declare enum ContextMenuSubpageBackItemDataAttributes {
|
|
681
|
+
/**
|
|
682
|
+
* Identifies the component part.
|
|
683
|
+
* @type {'bazzaui-context-menu-subpage-back-item'}
|
|
684
|
+
*/
|
|
685
|
+
slot = "bazzaui-context-menu-subpage-back-item",
|
|
686
|
+
/**
|
|
687
|
+
* Present on subpage back item elements.
|
|
688
|
+
*/
|
|
689
|
+
subpageBackItem = "data-subpage-back-item",
|
|
690
|
+
/**
|
|
691
|
+
* Present when the item is highlighted.
|
|
692
|
+
*/
|
|
693
|
+
highlighted = "data-highlighted",
|
|
694
|
+
/**
|
|
695
|
+
* Present when the item is disabled.
|
|
696
|
+
*/
|
|
697
|
+
disabled = "data-disabled"
|
|
698
|
+
}
|
|
699
|
+
//#endregion
|
|
700
|
+
//#region src/context-menu/subpage-trigger/subpage-trigger.data-attrs.d.ts
|
|
701
|
+
export declare enum ContextMenuSubpageTriggerDataAttributes {
|
|
702
|
+
/**
|
|
703
|
+
* Identifies the component part.
|
|
704
|
+
* @type {'bazzaui-context-menu-subpage-trigger'}
|
|
705
|
+
*/
|
|
706
|
+
slot = "bazzaui-context-menu-subpage-trigger",
|
|
707
|
+
/**
|
|
708
|
+
* Present on subpage trigger elements.
|
|
709
|
+
*/
|
|
710
|
+
subpageTrigger = "data-subpage-trigger",
|
|
711
|
+
/**
|
|
712
|
+
* Present when the target page is active.
|
|
713
|
+
*/
|
|
714
|
+
popupOpen = "data-popup-open",
|
|
715
|
+
/**
|
|
716
|
+
* Present when the target page owns keyboard focus.
|
|
717
|
+
*/
|
|
718
|
+
popupFocused = "data-popup-focused",
|
|
719
|
+
/**
|
|
720
|
+
* Present when the item is highlighted.
|
|
721
|
+
*/
|
|
722
|
+
highlighted = "data-highlighted",
|
|
723
|
+
/**
|
|
724
|
+
* Present when the item is disabled.
|
|
725
|
+
*/
|
|
726
|
+
disabled = "data-disabled"
|
|
727
|
+
}
|
|
728
|
+
//#endregion
|
|
729
|
+
//#region src/context-menu/surface/surface.data-attrs.d.ts
|
|
730
|
+
export declare enum ContextMenuSurfaceDataAttributes {
|
|
731
|
+
/**
|
|
732
|
+
* Identifies the component part.
|
|
733
|
+
* @type {'bazzaui-context-menu-surface'}
|
|
734
|
+
*/
|
|
735
|
+
slot = "bazzaui-context-menu-surface"
|
|
736
|
+
}
|
|
737
|
+
//#endregion
|
|
738
|
+
export { type AsyncContentMode, type AsyncMenuCoordinatorValue, type AsyncResultBehavior, type CheckboxGroupBehavior, type CheckboxGroupDef, type CheckboxGroupLabelRenderParams, type CheckboxGroupRenderParams, type CheckboxGroupRenderProps, type CheckboxItemDef, type CheckboxItemRenderParams, type CheckboxItemRenderProps, index_parts_d_exports as ContextMenu, type PopupMenuArrow as ContextMenuArrow, type PopupMenuArrowProps as ContextMenuArrowProps, type PopupMenuBackdrop as ContextMenuBackdrop, type PopupMenuBackdropProps as ContextMenuBackdropProps, type PopupMenuCheckboxGroup as ContextMenuCheckboxGroup, type PopupMenuCheckboxGroupProps as ContextMenuCheckboxGroupProps, type PopupMenuCheckboxGroupState as ContextMenuCheckboxGroupState, PopupMenuCheckboxGroupValue as ContextMenuCheckboxGroupValue, type PopupMenuCheckboxGroupValueProps as ContextMenuCheckboxGroupValueProps, type PopupMenuCheckboxItem as ContextMenuCheckboxItem, type PopupMenuCheckboxItemIndicator as ContextMenuCheckboxItemIndicator, type PopupMenuCheckboxItemIndicatorProps as ContextMenuCheckboxItemIndicatorProps, type PopupMenuCheckboxItemIndicatorState as ContextMenuCheckboxItemIndicatorState, type PopupMenuCheckboxItemProps as ContextMenuCheckboxItemProps, type PopupMenuCheckboxItemState as ContextMenuCheckboxItemState, type PopupMenuEmpty as ContextMenuEmpty, type PopupMenuEmptyProps as ContextMenuEmptyProps, type PopupMenuEmptyState as ContextMenuEmptyState, type FilterFn as ContextMenuFilterFn, type PopupMenuFocusZone as ContextMenuFocusZone, type PopupMenuFocusZoneProps as ContextMenuFocusZoneProps, type PopupMenuFocusZoneState as ContextMenuFocusZoneState, type PopupMenuFooter as ContextMenuFooter, type PopupMenuFooterProps as ContextMenuFooterProps, type PopupMenuFooterState as ContextMenuFooterState, type PopupMenuGroup as ContextMenuGroup, type PopupMenuGroupLabel as ContextMenuGroupLabel, type PopupMenuGroupLabelProps as ContextMenuGroupLabelProps, type PopupMenuGroupLabelState as ContextMenuGroupLabelState, type PopupMenuGroupProps as ContextMenuGroupProps, type PopupMenuGroupState as ContextMenuGroupState, type PopupMenuHeader as ContextMenuHeader, type PopupMenuHeaderProps as ContextMenuHeaderProps, type PopupMenuHeaderState as ContextMenuHeaderState, type PopupMenuIcon as ContextMenuIcon, type PopupMenuIconProps as ContextMenuIconProps, type PopupMenuIconState as ContextMenuIconState, type PopupMenuInput as ContextMenuInput, type PopupMenuInputProps as ContextMenuInputProps, type PopupMenuInputState as ContextMenuInputState, type PopupMenuItem as ContextMenuItem, type PopupMenuItemProps as ContextMenuItemProps, type ItemRegistration as ContextMenuItemRegistration, type PopupMenuItemState as ContextMenuItemState, type PopupMenuLinkItem as ContextMenuLinkItem, type PopupMenuLinkItemProps as ContextMenuLinkItemProps, type PopupMenuLinkItemState as ContextMenuLinkItemState, type PopupMenuList as ContextMenuList, type PopupMenuListChildrenState as ContextMenuListChildrenState, PopupMenuListCssVars as ContextMenuListCssVars, type PopupMenuListProps as ContextMenuListProps, type PopupMenuListState as ContextMenuListState, type PopupMenuPopup as ContextMenuPopup, type PopupMenuPopupProps as ContextMenuPopupProps, type PopupMenuPortal as ContextMenuPortal, type PopupMenuPortalProps as ContextMenuPortalProps, type PopupMenuPositioner as ContextMenuPositioner, type PopupMenuPositionerAlign as ContextMenuPositionerAlign, PopupMenuPositionerCssVars as ContextMenuPositionerCssVars, type PopupMenuPositionerProps as ContextMenuPositionerProps, type PopupMenuRadioGroup as ContextMenuRadioGroup, type PopupMenuRadioGroupProps as ContextMenuRadioGroupProps, type PopupMenuRadioGroupState as ContextMenuRadioGroupState, PopupMenuRadioGroupValue as ContextMenuRadioGroupValue, type PopupMenuRadioGroupValueProps as ContextMenuRadioGroupValueProps, type PopupMenuRadioItem as ContextMenuRadioItem, type PopupMenuRadioItemIndicator as ContextMenuRadioItemIndicator, type PopupMenuRadioItemIndicatorProps as ContextMenuRadioItemIndicatorProps, type PopupMenuRadioItemIndicatorState as ContextMenuRadioItemIndicatorState, type PopupMenuRadioItemProps as ContextMenuRadioItemProps, type PopupMenuRadioItemState as ContextMenuRadioItemState, type ContextMenuRoot, type ContextMenuRootProps, type PopupMenuScrollArrowProps as ContextMenuScrollArrowProps, type PopupMenuScrollArrowState as ContextMenuScrollArrowState, type PopupMenuScrollDownArrowProps as ContextMenuScrollDownArrowProps, type PopupMenuScrollUpArrowProps as ContextMenuScrollUpArrowProps, type PopupMenuSeparator as ContextMenuSeparator, type PopupMenuSeparatorProps as ContextMenuSeparatorProps, type PopupMenuSeparatorState as ContextMenuSeparatorState, type PopupMenuShortcut as ContextMenuShortcut, type PopupMenuShortcutProps as ContextMenuShortcutProps, type PopupMenuShortcutState as ContextMenuShortcutState, ListboxStore as ContextMenuStore, type ListboxContext as ContextMenuStoreContext, type ListboxState as ContextMenuStoreState, type PopupMenuSubmenuRoot as ContextMenuSubmenuRoot, type PopupMenuSubmenuRootProps as ContextMenuSubmenuRootProps, type PopupMenuSubmenuTrigger as ContextMenuSubmenuTrigger, type PopupMenuSubmenuTriggerIndicator as ContextMenuSubmenuTriggerIndicator, type PopupMenuSubmenuTriggerIndicatorProps as ContextMenuSubmenuTriggerIndicatorProps, type PopupMenuSubmenuTriggerIndicatorState as ContextMenuSubmenuTriggerIndicatorState, type PopupMenuSubmenuTriggerProps as ContextMenuSubmenuTriggerProps, type PopupMenuSubmenuTriggerState as ContextMenuSubmenuTriggerState, type PopupMenuSubpage as ContextMenuSubpage, type PopupMenuSubpageBack as ContextMenuSubpageBack, type PopupMenuSubpageBackItem as ContextMenuSubpageBackItem, type PopupMenuSubpageBackItemProps as ContextMenuSubpageBackItemProps, type PopupMenuSubpageBackItemState as ContextMenuSubpageBackItemState, type PopupMenuSubpageBackProps as ContextMenuSubpageBackProps, type PopupMenuSubpageBackState as ContextMenuSubpageBackState, type PopupMenuSubpageProps as ContextMenuSubpageProps, type PopupMenuSubpageTrigger as ContextMenuSubpageTrigger, type PopupMenuSubpageTriggerProps as ContextMenuSubpageTriggerProps, type PopupMenuSubpageTriggerState as ContextMenuSubpageTriggerState, type PopupMenuSurface as ContextMenuSurface, type PopupMenuSurfaceProps as ContextMenuSurfaceProps, type PopupMenuSurfaceState as ContextMenuSurfaceState, type ContextMenuTrigger, type ContextMenuTriggerProps, type ContextMenuTriggerState, type VirtualItem as ContextMenuVirtualItem, type DataListChildrenState, DataListContext, DataSurfaceContext, type DataSurfaceContextValue, type DeepSearchConfig, type DisabledBranchBehavior, type DisplayCheckboxGroupNode, type DisplayGroupNode, type DisplayNode, type DisplayRadioGroupNode, type DisplayRowNode, type DisplaySubpageNode, type GetResolvedIdFn, type GroupBehavior, type GroupDef, type GroupLabelRenderParams, type GroupRenderContext, type GroupRenderParams, type IncludeInDeepSearch, type InitialQueryBehavior, type ItemContextValue, type ItemDef, type ItemRenderParams, type ItemRenderProps, type LinkItemDef, type LinkItemRenderParams, type LinkItemRenderProps, type NodeDef, type PopupMenuIdScope, type PopupMenuNode, type RadioGroupDef, type RadioGroupLabelRenderParams, type RadioGroupRenderParams, type RadioGroupRenderProps, type RenderNodeFn, type PopupMenuContextValue as RootContextValue, type RowRenderContext, type ScoredNode, type SeparatorDef, type SubmenuContextValue, type SubmenuDef, type SubmenuRenderParams, type SubmenuRenderProps, type SubpageContentRenderParams, type SubpageContextValue, type SubpageDef, type SubpageStackContextValue, type SubpageTriggerRenderParams, type SubpageTriggerRenderProps, type SurfaceContextValue, type TreeItemDef, type TreeItemRenderParams, type TreeItemRenderProps, type UnresolvedMenuNode, type UsePopupMenuItemParams as UseItemParams, type UsePopupMenuItemReturn as UseItemReturn, commandScore, defaultFilter, defaultGetResolvedId, defineCheckboxGroup, defineRadioGroup, isDisplayCheckboxGroupNode, isDisplayGroupNode, isDisplayRadioGroupNode, isDisplayRowNode, isPopupMenuNode, isTreeItemDef, useAsyncMenuCoordinator, useDataList, useDataSurfaceContext, usePopupMenuItem as useItem, useItemContext, useMaybeAsyncMenuCoordinator, useMaybeDataList, useMaybeDataSurfaceContext, useMaybeItemContext, useMaybePopupMenuContext as useMaybeRootContext, useMaybeSubmenuContext, useMaybeSubpageContext, useMaybeSubpageStack, useMaybeSurfaceContext, usePopupMenuContext as useRootContext, useSubmenuContext, useSubpageContext, useSubpageStack, useSurfaceContext };
|
|
739
|
+
//# sourceMappingURL=index.d.ts.map
|