@workday/canvas-kit-react 9.0.0-alpha.411-next.13 → 9.0.0-alpha.413-next.15
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/collection/lib/useBaseListModel.tsx +24 -12
- package/collection/lib/useCursorListModel.tsx +102 -78
- package/dialog/lib/Dialog.tsx +66 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +104 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +3 -0
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +3 -0
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +4 -0
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +55 -0
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +107 -0
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +4 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +3 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +2 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +49 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +4 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +55 -0
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/ListBox.d.ts +39 -0
- package/dist/commonjs/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useBaseListModel.d.ts +20 -10
- package/dist/commonjs/collection/lib/useBaseListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useBaseListModel.js +21 -10
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts +171 -10
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useCursorListModel.js +97 -64
- package/dist/commonjs/collection/lib/useGridModel.d.ts +39 -0
- package/dist/commonjs/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts +1 -0
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts +1 -0
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts +1 -0
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListModel.d.ts +39 -0
- package/dist/commonjs/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts +1 -0
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +1 -0
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +1 -0
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +51 -0
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +1 -0
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts +39 -0
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/commonjs/dialog/lib/Dialog.d.ts +65 -0
- package/dist/commonjs/dialog/lib/Dialog.d.ts.map +1 -1
- package/dist/commonjs/dialog/lib/Dialog.js +65 -0
- package/dist/commonjs/menu/lib/Menu.d.ts +48 -0
- package/dist/commonjs/menu/lib/Menu.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuCard.d.ts +2 -0
- package/dist/commonjs/menu/lib/MenuCard.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts +3 -0
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuItem.d.ts +2 -0
- package/dist/commonjs/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuList.d.ts +2 -0
- package/dist/commonjs/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuPopper.d.ts +1 -0
- package/dist/commonjs/menu/lib/MenuPopper.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuTarget.d.ts +5 -0
- package/dist/commonjs/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/useMenuModel.d.ts +45 -0
- package/dist/commonjs/menu/lib/useMenuModel.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/Popup.d.ts +1 -81
- package/dist/commonjs/popup/lib/Popup.d.ts.map +1 -1
- package/dist/commonjs/popup/lib/Popup.js +1 -1
- package/dist/commonjs/tabs/lib/Tabs.d.ts +158 -7
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +4 -0
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.d.ts +4 -0
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts +1 -0
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +4 -0
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +4 -0
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +2 -0
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +143 -12
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +104 -0
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +3 -0
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +3 -0
- package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +4 -0
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +55 -0
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +107 -0
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +4 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +3 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +2 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +49 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +4 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +55 -0
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/ListBox.d.ts +39 -0
- package/dist/es6/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/es6/collection/lib/useBaseListModel.d.ts +20 -10
- package/dist/es6/collection/lib/useBaseListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useBaseListModel.js +22 -11
- package/dist/es6/collection/lib/useCursorListModel.d.ts +171 -10
- package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useCursorListModel.js +97 -64
- package/dist/es6/collection/lib/useGridModel.d.ts +39 -0
- package/dist/es6/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRegister.d.ts +1 -0
- package/dist/es6/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts +1 -0
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemSelect.d.ts +1 -0
- package/dist/es6/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListModel.d.ts +39 -0
- package/dist/es6/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts +1 -0
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +1 -0
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +1 -0
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +51 -0
- package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +1 -0
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/collection/lib/useSelectionListModel.d.ts +39 -0
- package/dist/es6/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/es6/dialog/lib/Dialog.d.ts +65 -0
- package/dist/es6/dialog/lib/Dialog.d.ts.map +1 -1
- package/dist/es6/dialog/lib/Dialog.js +65 -0
- package/dist/es6/menu/lib/Menu.d.ts +48 -0
- package/dist/es6/menu/lib/Menu.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuCard.d.ts +2 -0
- package/dist/es6/menu/lib/MenuCard.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuContextTarget.d.ts +3 -0
- package/dist/es6/menu/lib/MenuContextTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuItem.d.ts +2 -0
- package/dist/es6/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuList.d.ts +2 -0
- package/dist/es6/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuPopper.d.ts +1 -0
- package/dist/es6/menu/lib/MenuPopper.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuTarget.d.ts +5 -0
- package/dist/es6/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/useMenuModel.d.ts +45 -0
- package/dist/es6/menu/lib/useMenuModel.d.ts.map +1 -1
- package/dist/es6/popup/lib/Popup.d.ts +1 -81
- package/dist/es6/popup/lib/Popup.d.ts.map +1 -1
- package/dist/es6/popup/lib/Popup.js +1 -1
- package/dist/es6/tabs/lib/Tabs.d.ts +158 -7
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.d.ts +4 -0
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.d.ts +4 -0
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts +1 -0
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +4 -0
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.d.ts +4 -0
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanels.d.ts +2 -0
- package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.d.ts +143 -12
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/package.json +3 -3
- package/popup/lib/Popup.tsx +1 -1
|
@@ -11,6 +11,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
11
11
|
initialCursorId: string;
|
|
12
12
|
columnCount: number;
|
|
13
13
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
14
|
+
pageSize: number;
|
|
14
15
|
getId: (item: any) => string;
|
|
15
16
|
getTextValue: (item: any) => string;
|
|
16
17
|
nonInteractiveIds: string[];
|
|
@@ -33,6 +34,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
33
34
|
unselectedIds: string[];
|
|
34
35
|
cursorId: string;
|
|
35
36
|
columnCount: number;
|
|
37
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
36
38
|
UNSTABLE_virtual: {
|
|
37
39
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
38
40
|
totalSize: number;
|
|
@@ -61,6 +63,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
61
63
|
unselectedIds: string[];
|
|
62
64
|
cursorId: string;
|
|
63
65
|
columnCount: number;
|
|
66
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
64
67
|
UNSTABLE_virtual: {
|
|
65
68
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
66
69
|
totalSize: number;
|
|
@@ -89,6 +92,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
89
92
|
unselectedIds: string[];
|
|
90
93
|
cursorId: string;
|
|
91
94
|
columnCount: number;
|
|
95
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
92
96
|
UNSTABLE_virtual: {
|
|
93
97
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
94
98
|
totalSize: number;
|
|
@@ -119,6 +123,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
119
123
|
unselectedIds: string[];
|
|
120
124
|
cursorId: string;
|
|
121
125
|
columnCount: number;
|
|
126
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
122
127
|
UNSTABLE_virtual: {
|
|
123
128
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
124
129
|
totalSize: number;
|
|
@@ -147,6 +152,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
147
152
|
unselectedIds: string[];
|
|
148
153
|
cursorId: string;
|
|
149
154
|
columnCount: number;
|
|
155
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
150
156
|
UNSTABLE_virtual: {
|
|
151
157
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
152
158
|
totalSize: number;
|
|
@@ -175,6 +181,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
175
181
|
unselectedIds: string[];
|
|
176
182
|
cursorId: string;
|
|
177
183
|
columnCount: number;
|
|
184
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
178
185
|
UNSTABLE_virtual: {
|
|
179
186
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
180
187
|
totalSize: number;
|
|
@@ -206,6 +213,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
206
213
|
unselectedIds: string[];
|
|
207
214
|
cursorId: string;
|
|
208
215
|
columnCount: number;
|
|
216
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
209
217
|
UNSTABLE_virtual: {
|
|
210
218
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
211
219
|
totalSize: number;
|
|
@@ -236,6 +244,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
236
244
|
unselectedIds: string[];
|
|
237
245
|
cursorId: string;
|
|
238
246
|
columnCount: number;
|
|
247
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
239
248
|
UNSTABLE_virtual: {
|
|
240
249
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
241
250
|
totalSize: number;
|
|
@@ -264,6 +273,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
264
273
|
unselectedIds: string[];
|
|
265
274
|
cursorId: string;
|
|
266
275
|
columnCount: number;
|
|
276
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
267
277
|
UNSTABLE_virtual: {
|
|
268
278
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
269
279
|
totalSize: number;
|
|
@@ -292,6 +302,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
292
302
|
unselectedIds: string[];
|
|
293
303
|
cursorId: string;
|
|
294
304
|
columnCount: number;
|
|
305
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
295
306
|
UNSTABLE_virtual: {
|
|
296
307
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
297
308
|
totalSize: number;
|
|
@@ -320,6 +331,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
320
331
|
unselectedIds: string[];
|
|
321
332
|
cursorId: string;
|
|
322
333
|
columnCount: number;
|
|
334
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
323
335
|
UNSTABLE_virtual: {
|
|
324
336
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
325
337
|
totalSize: number;
|
|
@@ -348,6 +360,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
348
360
|
unselectedIds: string[];
|
|
349
361
|
cursorId: string;
|
|
350
362
|
columnCount: number;
|
|
363
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
351
364
|
UNSTABLE_virtual: {
|
|
352
365
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
353
366
|
totalSize: number;
|
|
@@ -376,6 +389,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
376
389
|
unselectedIds: string[];
|
|
377
390
|
cursorId: string;
|
|
378
391
|
columnCount: number;
|
|
392
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
379
393
|
UNSTABLE_virtual: {
|
|
380
394
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
381
395
|
totalSize: number;
|
|
@@ -404,6 +418,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
404
418
|
unselectedIds: string[];
|
|
405
419
|
cursorId: string;
|
|
406
420
|
columnCount: number;
|
|
421
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
407
422
|
UNSTABLE_virtual: {
|
|
408
423
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
409
424
|
totalSize: number;
|
|
@@ -432,6 +447,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
432
447
|
unselectedIds: string[];
|
|
433
448
|
cursorId: string;
|
|
434
449
|
columnCount: number;
|
|
450
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
435
451
|
UNSTABLE_virtual: {
|
|
436
452
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
437
453
|
totalSize: number;
|
|
@@ -460,6 +476,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
460
476
|
unselectedIds: string[];
|
|
461
477
|
cursorId: string;
|
|
462
478
|
columnCount: number;
|
|
479
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
463
480
|
UNSTABLE_virtual: {
|
|
464
481
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
465
482
|
totalSize: number;
|
|
@@ -488,6 +505,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
488
505
|
unselectedIds: string[];
|
|
489
506
|
cursorId: string;
|
|
490
507
|
columnCount: number;
|
|
508
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
491
509
|
UNSTABLE_virtual: {
|
|
492
510
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
493
511
|
totalSize: number;
|
|
@@ -516,6 +534,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
516
534
|
unselectedIds: string[];
|
|
517
535
|
cursorId: string;
|
|
518
536
|
columnCount: number;
|
|
537
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
519
538
|
UNSTABLE_virtual: {
|
|
520
539
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
521
540
|
totalSize: number;
|
|
@@ -546,6 +565,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
546
565
|
unselectedIds: string[];
|
|
547
566
|
cursorId: string;
|
|
548
567
|
columnCount: number;
|
|
568
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
549
569
|
UNSTABLE_virtual: {
|
|
550
570
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
551
571
|
totalSize: number;
|
|
@@ -576,6 +596,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
576
596
|
unselectedIds: string[];
|
|
577
597
|
cursorId: string;
|
|
578
598
|
columnCount: number;
|
|
599
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
579
600
|
UNSTABLE_virtual: {
|
|
580
601
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
581
602
|
totalSize: number;
|
|
@@ -607,6 +628,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
607
628
|
unselectedIds: string[];
|
|
608
629
|
cursorId: string;
|
|
609
630
|
columnCount: number;
|
|
631
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
610
632
|
UNSTABLE_virtual: {
|
|
611
633
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
612
634
|
totalSize: number;
|
|
@@ -635,6 +657,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
635
657
|
unselectedIds: string[];
|
|
636
658
|
cursorId: string;
|
|
637
659
|
columnCount: number;
|
|
660
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
638
661
|
UNSTABLE_virtual: {
|
|
639
662
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
640
663
|
totalSize: number;
|
|
@@ -663,6 +686,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
663
686
|
unselectedIds: string[];
|
|
664
687
|
cursorId: string;
|
|
665
688
|
columnCount: number;
|
|
689
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
666
690
|
UNSTABLE_virtual: {
|
|
667
691
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
668
692
|
totalSize: number;
|
|
@@ -693,6 +717,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
693
717
|
unselectedIds: string[];
|
|
694
718
|
cursorId: string;
|
|
695
719
|
columnCount: number;
|
|
720
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
696
721
|
UNSTABLE_virtual: {
|
|
697
722
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
698
723
|
totalSize: number;
|
|
@@ -721,6 +746,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
721
746
|
unselectedIds: string[];
|
|
722
747
|
cursorId: string;
|
|
723
748
|
columnCount: number;
|
|
749
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
724
750
|
UNSTABLE_virtual: {
|
|
725
751
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
726
752
|
totalSize: number;
|
|
@@ -749,6 +775,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
749
775
|
unselectedIds: string[];
|
|
750
776
|
cursorId: string;
|
|
751
777
|
columnCount: number;
|
|
778
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
752
779
|
UNSTABLE_virtual: {
|
|
753
780
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
754
781
|
totalSize: number;
|
|
@@ -780,6 +807,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
780
807
|
unselectedIds: string[];
|
|
781
808
|
cursorId: string;
|
|
782
809
|
columnCount: number;
|
|
810
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
783
811
|
UNSTABLE_virtual: {
|
|
784
812
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
785
813
|
totalSize: number;
|
|
@@ -810,6 +838,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
810
838
|
unselectedIds: string[];
|
|
811
839
|
cursorId: string;
|
|
812
840
|
columnCount: number;
|
|
841
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
813
842
|
UNSTABLE_virtual: {
|
|
814
843
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
815
844
|
totalSize: number;
|
|
@@ -838,6 +867,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
838
867
|
unselectedIds: string[];
|
|
839
868
|
cursorId: string;
|
|
840
869
|
columnCount: number;
|
|
870
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
841
871
|
UNSTABLE_virtual: {
|
|
842
872
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
843
873
|
totalSize: number;
|
|
@@ -866,6 +896,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
866
896
|
unselectedIds: string[];
|
|
867
897
|
cursorId: string;
|
|
868
898
|
columnCount: number;
|
|
899
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
869
900
|
UNSTABLE_virtual: {
|
|
870
901
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
871
902
|
totalSize: number;
|
|
@@ -894,6 +925,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
894
925
|
unselectedIds: string[];
|
|
895
926
|
cursorId: string;
|
|
896
927
|
columnCount: number;
|
|
928
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
897
929
|
UNSTABLE_virtual: {
|
|
898
930
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
899
931
|
totalSize: number;
|
|
@@ -922,6 +954,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
922
954
|
unselectedIds: string[];
|
|
923
955
|
cursorId: string;
|
|
924
956
|
columnCount: number;
|
|
957
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
925
958
|
UNSTABLE_virtual: {
|
|
926
959
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
927
960
|
totalSize: number;
|
|
@@ -950,6 +983,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
950
983
|
unselectedIds: string[];
|
|
951
984
|
cursorId: string;
|
|
952
985
|
columnCount: number;
|
|
986
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
953
987
|
UNSTABLE_virtual: {
|
|
954
988
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
955
989
|
totalSize: number;
|
|
@@ -978,6 +1012,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
978
1012
|
unselectedIds: string[];
|
|
979
1013
|
cursorId: string;
|
|
980
1014
|
columnCount: number;
|
|
1015
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
981
1016
|
UNSTABLE_virtual: {
|
|
982
1017
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
983
1018
|
totalSize: number;
|
|
@@ -1006,6 +1041,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1006
1041
|
unselectedIds: string[];
|
|
1007
1042
|
cursorId: string;
|
|
1008
1043
|
columnCount: number;
|
|
1044
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
1009
1045
|
UNSTABLE_virtual: {
|
|
1010
1046
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1011
1047
|
totalSize: number;
|
|
@@ -1034,6 +1070,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1034
1070
|
unselectedIds: string[];
|
|
1035
1071
|
cursorId: string;
|
|
1036
1072
|
columnCount: number;
|
|
1073
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
1037
1074
|
UNSTABLE_virtual: {
|
|
1038
1075
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1039
1076
|
totalSize: number;
|
|
@@ -1062,6 +1099,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1062
1099
|
unselectedIds: string[];
|
|
1063
1100
|
cursorId: string;
|
|
1064
1101
|
columnCount: number;
|
|
1102
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
1065
1103
|
UNSTABLE_virtual: {
|
|
1066
1104
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1067
1105
|
totalSize: number;
|
|
@@ -1090,6 +1128,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1090
1128
|
unselectedIds: string[];
|
|
1091
1129
|
cursorId: string;
|
|
1092
1130
|
columnCount: number;
|
|
1131
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
1093
1132
|
UNSTABLE_virtual: {
|
|
1094
1133
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1095
1134
|
totalSize: number;
|
|
@@ -1120,6 +1159,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1120
1159
|
unselectedIds: string[];
|
|
1121
1160
|
cursorId: string;
|
|
1122
1161
|
columnCount: number;
|
|
1162
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
1123
1163
|
UNSTABLE_virtual: {
|
|
1124
1164
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1125
1165
|
totalSize: number;
|
|
@@ -1150,6 +1190,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1150
1190
|
unselectedIds: string[];
|
|
1151
1191
|
cursorId: string;
|
|
1152
1192
|
columnCount: number;
|
|
1193
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
1153
1194
|
UNSTABLE_virtual: {
|
|
1154
1195
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1155
1196
|
totalSize: number;
|
|
@@ -1179,6 +1220,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1179
1220
|
unselectedIds: string[];
|
|
1180
1221
|
cursorId: string;
|
|
1181
1222
|
columnCount: number;
|
|
1223
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
1182
1224
|
UNSTABLE_virtual: {
|
|
1183
1225
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1184
1226
|
totalSize: number;
|
|
@@ -1246,6 +1288,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1246
1288
|
initialCursorId: string;
|
|
1247
1289
|
columnCount: number;
|
|
1248
1290
|
navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
|
|
1291
|
+
pageSize: number;
|
|
1249
1292
|
getId: (item: any) => string;
|
|
1250
1293
|
getTextValue: (item: any) => string;
|
|
1251
1294
|
nonInteractiveIds: string[];
|
|
@@ -1265,6 +1308,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1265
1308
|
unselectedIds: string[];
|
|
1266
1309
|
cursorId: string;
|
|
1267
1310
|
columnCount: number;
|
|
1311
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
1268
1312
|
UNSTABLE_virtual: {
|
|
1269
1313
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1270
1314
|
totalSize: number;
|
|
@@ -1327,6 +1371,7 @@ export declare const useMenuModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1327
1371
|
unselectedIds: string[];
|
|
1328
1372
|
cursorId: string;
|
|
1329
1373
|
columnCount: number;
|
|
1374
|
+
pageSizeRef: import("react").MutableRefObject<number>;
|
|
1330
1375
|
UNSTABLE_virtual: {
|
|
1331
1376
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1332
1377
|
totalSize: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMenuModel.d.ts","sourceRoot":"","sources":["../../../../menu/lib/useMenuModel.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,YAAY;IAIrB,2GAA2G
|
|
1
|
+
{"version":3,"file":"useMenuModel.d.ts","sourceRoot":"","sources":["../../../../menu/lib/useMenuModel.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,YAAY;IAIrB,2GAA2G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAA3G,2GAA2G;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsC7G,CAAC"}
|
|
@@ -98,16 +98,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
98
98
|
visibility: "hidden" | "visible";
|
|
99
99
|
};
|
|
100
100
|
events: {
|
|
101
|
-
/**
|
|
102
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
103
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
104
|
-
*
|
|
105
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
106
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
107
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
108
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
109
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
110
|
-
*/
|
|
111
101
|
updatePlacement(data: {
|
|
112
102
|
placement: import("@popperjs/core").Placement;
|
|
113
103
|
}): void;
|
|
@@ -126,7 +116,7 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
126
116
|
* const model = usePopupModel();
|
|
127
117
|
*
|
|
128
118
|
* // using this component
|
|
129
|
-
* <Popup.Target>Show Popup</
|
|
119
|
+
* <Popup.Target>Show Popup</Popup.Target>
|
|
130
120
|
*
|
|
131
121
|
* // using props instead
|
|
132
122
|
* const popupTargetButtonProps = usePopupTarget(model);
|
|
@@ -155,16 +145,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
155
145
|
visibility: "hidden" | "visible";
|
|
156
146
|
};
|
|
157
147
|
events: {
|
|
158
|
-
/**
|
|
159
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
160
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
161
|
-
*
|
|
162
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
163
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
164
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
165
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
166
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
167
|
-
*/
|
|
168
148
|
updatePlacement(data: {
|
|
169
149
|
placement: import("@popperjs/core").Placement;
|
|
170
150
|
}): void;
|
|
@@ -193,16 +173,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
193
173
|
visibility: "hidden" | "visible";
|
|
194
174
|
};
|
|
195
175
|
events: {
|
|
196
|
-
/**
|
|
197
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
198
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
199
|
-
*
|
|
200
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
201
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
202
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
203
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
204
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
205
|
-
*/
|
|
206
176
|
updatePlacement(data: {
|
|
207
177
|
placement: import("@popperjs/core").Placement;
|
|
208
178
|
}): void;
|
|
@@ -226,16 +196,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
226
196
|
visibility: "hidden" | "visible";
|
|
227
197
|
};
|
|
228
198
|
events: {
|
|
229
|
-
/**
|
|
230
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
231
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
232
|
-
*
|
|
233
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
234
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
235
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
236
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
237
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
238
|
-
*/
|
|
239
199
|
updatePlacement(data: {
|
|
240
200
|
placement: import("@popperjs/core").Placement;
|
|
241
201
|
}): void;
|
|
@@ -258,16 +218,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
258
218
|
visibility: "hidden" | "visible";
|
|
259
219
|
};
|
|
260
220
|
events: {
|
|
261
|
-
/**
|
|
262
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
263
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
264
|
-
*
|
|
265
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
266
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
267
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
268
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
269
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
270
|
-
*/
|
|
271
221
|
updatePlacement(data: {
|
|
272
222
|
placement: import("@popperjs/core").Placement;
|
|
273
223
|
}): void;
|
|
@@ -292,16 +242,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
292
242
|
visibility: "hidden" | "visible";
|
|
293
243
|
};
|
|
294
244
|
events: {
|
|
295
|
-
/**
|
|
296
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
297
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
298
|
-
*
|
|
299
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
300
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
301
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
302
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
303
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
304
|
-
*/
|
|
305
245
|
updatePlacement(data: {
|
|
306
246
|
placement: import("@popperjs/core").Placement;
|
|
307
247
|
}): void;
|
|
@@ -324,16 +264,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
324
264
|
visibility: "hidden" | "visible";
|
|
325
265
|
};
|
|
326
266
|
events: {
|
|
327
|
-
/**
|
|
328
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
329
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
330
|
-
*
|
|
331
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
332
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
333
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
334
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
335
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
336
|
-
*/
|
|
337
267
|
updatePlacement(data: {
|
|
338
268
|
placement: import("@popperjs/core").Placement;
|
|
339
269
|
}): void;
|
|
@@ -358,16 +288,6 @@ export declare const Popup: import("@workday/canvas-kit-react/common").Component
|
|
|
358
288
|
visibility: "hidden" | "visible";
|
|
359
289
|
};
|
|
360
290
|
events: {
|
|
361
|
-
/**
|
|
362
|
-
* A `Popup.Popper` is a {@link Popper} component that is hooked up to the {@link PopupModel}
|
|
363
|
-
* automatically. The behavior hook used is called {@link usePopupPopper}.
|
|
364
|
-
*
|
|
365
|
-
* > **Note:** `Popup.Popper` renders any children to a `div` element created by the
|
|
366
|
-
* > {@link PopupStack}. This element is not controlled by React, so any extra element props
|
|
367
|
-
* > will _not_ be forwarded. The `ref` will point to the `div` element created by the
|
|
368
|
-
* > `PopupStack`, however. If you wish to add extra props to an element, add them to the
|
|
369
|
-
* > {@link PopupCard Popup.Card} instead.
|
|
370
|
-
*/
|
|
371
291
|
updatePlacement(data: {
|
|
372
292
|
placement: import("@popperjs/core").Placement;
|
|
373
293
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../../popup/lib/Popup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../../popup/lib/Popup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAa/B,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAId;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;;;OASG;;;;;;;;;;;;;;;;;;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;;;;;;;;;;;;IAEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;CAKL,CAAC"}
|
|
@@ -40,7 +40,7 @@ export const Popup = createContainer()({
|
|
|
40
40
|
* const model = usePopupModel();
|
|
41
41
|
*
|
|
42
42
|
* // using this component
|
|
43
|
-
* <Popup.Target>Show Popup</
|
|
43
|
+
* <Popup.Target>Show Popup</Popup.Target>
|
|
44
44
|
*
|
|
45
45
|
* // using props instead
|
|
46
46
|
* const popupTargetButtonProps = usePopupTarget(model);
|