@workday/canvas-kit-react 12.0.6 → 12.0.7
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/useOverflowListModel.tsx +34 -6
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +128 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +8 -0
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +8 -0
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +8 -0
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +124 -0
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/commonjs/avatar/lib/Avatar.js +21 -21
- package/dist/commonjs/badge/lib/CountBadge.js +3 -3
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +515 -53
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +8 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +8 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +4 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +8 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +124 -0
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/commonjs/button/lib/BaseButton.js +21 -21
- package/dist/commonjs/button/lib/DeleteButton.js +1 -1
- package/dist/commonjs/button/lib/PrimaryButton.js +2 -2
- package/dist/commonjs/button/lib/SecondaryButton.js +2 -2
- package/dist/commonjs/button/lib/TertiaryButton.js +18 -18
- package/dist/commonjs/card/lib/Card.js +1 -1
- package/dist/commonjs/card/lib/CardBody.js +1 -1
- package/dist/commonjs/card/lib/CardHeading.js +1 -1
- package/dist/commonjs/checkbox/lib/CheckBackground.js +3 -3
- package/dist/commonjs/checkbox/lib/CheckboxCheck.js +5 -5
- package/dist/commonjs/checkbox/lib/CheckboxContainer.js +1 -1
- package/dist/commonjs/checkbox/lib/CheckboxInput.js +5 -5
- package/dist/commonjs/checkbox/lib/CheckboxRipple.js +1 -1
- package/dist/commonjs/collection/lib/ListBox.js +3 -3
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +4 -0
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +4 -0
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +125 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.js +20 -11
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +4 -0
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/ComboboxMenuList.js +1 -1
- package/dist/commonjs/common/lib/AccessibleHide.js +1 -1
- package/dist/commonjs/common/lib/CanvasProvider.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldContainer.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldField.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldGroupLabel.js +5 -5
- package/dist/commonjs/form-field/lib/FormFieldGroupList.js +3 -3
- package/dist/commonjs/form-field/lib/FormFieldHint.js +3 -3
- package/dist/commonjs/form-field/lib/FormFieldLabel.js +6 -6
- package/dist/commonjs/form-field/lib/formFieldStencil.js +8 -8
- package/dist/commonjs/icon/lib/AccentIcon.js +2 -2
- package/dist/commonjs/icon/lib/AppletIcon.js +1 -1
- package/dist/commonjs/icon/lib/Graphic.js +2 -2
- package/dist/commonjs/icon/lib/Svg.js +2 -2
- package/dist/commonjs/icon/lib/SystemIcon.js +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.js +1 -1
- package/dist/commonjs/loading-dots/lib/LoadingDots.js +3 -3
- package/dist/commonjs/menu/lib/MenuCard.js +1 -1
- package/dist/commonjs/menu/lib/MenuItem.js +1 -1
- package/dist/commonjs/menu/lib/MenuList.js +3 -3
- package/dist/commonjs/menu/lib/MenuOption.js +1 -1
- package/dist/commonjs/modal/lib/ModalBody.js +1 -1
- package/dist/commonjs/modal/lib/ModalCard.js +1 -1
- package/dist/commonjs/modal/lib/ModalHeading.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.js +2 -2
- package/dist/commonjs/popup/lib/PopupBody.js +1 -1
- package/dist/commonjs/popup/lib/PopupCard.js +2 -2
- package/dist/commonjs/popup/lib/PopupCloseIcon.js +1 -1
- package/dist/commonjs/popup/lib/PopupHeading.js +1 -1
- package/dist/commonjs/select/lib/SelectCard.js +1 -1
- package/dist/commonjs/select/lib/SelectInput.js +3 -3
- package/dist/commonjs/switch/lib/Switch.js +7 -7
- package/dist/commonjs/table/lib/Table.js +1 -1
- package/dist/commonjs/table/lib/TableBody.js +1 -1
- package/dist/commonjs/table/lib/TableCaption.js +1 -1
- package/dist/commonjs/table/lib/TableCell.js +1 -1
- package/dist/commonjs/table/lib/TableFooter.js +1 -1
- package/dist/commonjs/table/lib/TableHead.js +1 -1
- package/dist/commonjs/table/lib/TableHeader.js +1 -1
- package/dist/commonjs/table/lib/TableRow.js +1 -1
- package/dist/commonjs/tabs/lib/Tabs.d.ts +146 -0
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +8 -0
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.d.ts +8 -0
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +8 -0
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +8 -0
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +4 -0
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +150 -0
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/commonjs/text/lib/LabelText.js +6 -6
- package/dist/commonjs/text/lib/Text.js +16 -16
- package/dist/commonjs/text/lib/TypeLevelComponents.js +4 -4
- package/dist/commonjs/text-area/lib/TextArea.js +5 -5
- package/dist/commonjs/text-input/lib/InputGroup.js +6 -6
- package/dist/commonjs/text-input/lib/TextInput.js +5 -5
- package/dist/commonjs/toast/lib/Toast.js +1 -1
- package/dist/commonjs/toast/lib/ToastBody.js +1 -1
- package/dist/commonjs/toast/lib/ToastCloseIcon.js +1 -1
- package/dist/commonjs/toast/lib/ToastIcon.js +1 -1
- package/dist/commonjs/toast/lib/ToastMessage.js +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +128 -0
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +8 -0
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +8 -0
- package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +8 -0
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +124 -0
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/es6/avatar/lib/Avatar.js +21 -21
- package/dist/es6/badge/lib/CountBadge.js +3 -3
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +515 -53
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +8 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +8 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +4 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +8 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +124 -0
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/es6/button/lib/BaseButton.js +21 -21
- package/dist/es6/button/lib/DeleteButton.js +1 -1
- package/dist/es6/button/lib/PrimaryButton.js +2 -2
- package/dist/es6/button/lib/SecondaryButton.js +2 -2
- package/dist/es6/button/lib/TertiaryButton.js +18 -18
- package/dist/es6/card/lib/Card.js +1 -1
- package/dist/es6/card/lib/CardBody.js +1 -1
- package/dist/es6/card/lib/CardHeading.js +1 -1
- package/dist/es6/checkbox/lib/CheckBackground.js +3 -3
- package/dist/es6/checkbox/lib/CheckboxCheck.js +5 -5
- package/dist/es6/checkbox/lib/CheckboxContainer.js +1 -1
- package/dist/es6/checkbox/lib/CheckboxInput.js +5 -5
- package/dist/es6/checkbox/lib/CheckboxRipple.js +1 -1
- package/dist/es6/collection/lib/ListBox.js +3 -3
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +4 -0
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +4 -0
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +125 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.js +20 -11
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +4 -0
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/combobox/lib/ComboboxMenuList.js +1 -1
- package/dist/es6/common/lib/AccessibleHide.js +1 -1
- package/dist/es6/common/lib/CanvasProvider.js +1 -1
- package/dist/es6/form-field/lib/FormFieldContainer.js +1 -1
- package/dist/es6/form-field/lib/FormFieldField.js +1 -1
- package/dist/es6/form-field/lib/FormFieldGroupLabel.js +5 -5
- package/dist/es6/form-field/lib/FormFieldGroupList.js +3 -3
- package/dist/es6/form-field/lib/FormFieldHint.js +3 -3
- package/dist/es6/form-field/lib/FormFieldLabel.js +6 -6
- package/dist/es6/form-field/lib/formFieldStencil.js +8 -8
- package/dist/es6/icon/lib/AccentIcon.js +2 -2
- package/dist/es6/icon/lib/AppletIcon.js +1 -1
- package/dist/es6/icon/lib/Graphic.js +2 -2
- package/dist/es6/icon/lib/Svg.js +2 -2
- package/dist/es6/icon/lib/SystemIcon.js +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.js +1 -1
- package/dist/es6/loading-dots/lib/LoadingDots.js +3 -3
- package/dist/es6/menu/lib/MenuCard.js +1 -1
- package/dist/es6/menu/lib/MenuItem.js +1 -1
- package/dist/es6/menu/lib/MenuList.js +3 -3
- package/dist/es6/menu/lib/MenuOption.js +1 -1
- package/dist/es6/modal/lib/ModalBody.js +1 -1
- package/dist/es6/modal/lib/ModalCard.js +1 -1
- package/dist/es6/modal/lib/ModalHeading.js +1 -1
- package/dist/es6/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/es6/modal/lib/ModalOverlay.js +2 -2
- package/dist/es6/popup/lib/PopupBody.js +1 -1
- package/dist/es6/popup/lib/PopupCard.js +2 -2
- package/dist/es6/popup/lib/PopupCloseIcon.js +1 -1
- package/dist/es6/popup/lib/PopupHeading.js +1 -1
- package/dist/es6/select/lib/SelectCard.js +1 -1
- package/dist/es6/select/lib/SelectInput.js +3 -3
- package/dist/es6/switch/lib/Switch.js +7 -7
- package/dist/es6/table/lib/Table.js +1 -1
- package/dist/es6/table/lib/TableBody.js +1 -1
- package/dist/es6/table/lib/TableCaption.js +1 -1
- package/dist/es6/table/lib/TableCell.js +1 -1
- package/dist/es6/table/lib/TableFooter.js +1 -1
- package/dist/es6/table/lib/TableHead.js +1 -1
- package/dist/es6/table/lib/TableHeader.js +1 -1
- package/dist/es6/table/lib/TableRow.js +1 -1
- package/dist/es6/tabs/lib/Tabs.d.ts +146 -0
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.d.ts +8 -0
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.d.ts +8 -0
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +8 -0
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.d.ts +8 -0
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanels.d.ts +4 -0
- package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.d.ts +150 -0
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/text/lib/LabelText.js +6 -6
- package/dist/es6/text/lib/Text.js +16 -16
- package/dist/es6/text/lib/TypeLevelComponents.js +4 -4
- package/dist/es6/text-area/lib/TextArea.js +5 -5
- package/dist/es6/text-input/lib/InputGroup.js +6 -6
- package/dist/es6/text-input/lib/TextInput.js +5 -5
- package/dist/es6/toast/lib/Toast.js +1 -1
- package/dist/es6/toast/lib/ToastBody.js +1 -1
- package/dist/es6/toast/lib/ToastCloseIcon.js +1 -1
- package/dist/es6/toast/lib/ToastIcon.js +1 -1
- package/dist/es6/toast/lib/ToastMessage.js +1 -1
- package/package.json +4 -4
|
@@ -57,6 +57,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
57
57
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
58
58
|
itemWidthCache: Record<string, number>;
|
|
59
59
|
containerWidth: number;
|
|
60
|
+
containerGap: number;
|
|
60
61
|
overflowTargetWidth: number;
|
|
61
62
|
selectedIds: string[] | "all";
|
|
62
63
|
unselectedIds: string[];
|
|
@@ -88,6 +89,39 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
88
89
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
89
90
|
itemWidthCache: Record<string, number>;
|
|
90
91
|
containerWidth: number;
|
|
92
|
+
containerGap: number;
|
|
93
|
+
overflowTargetWidth: number;
|
|
94
|
+
selectedIds: string[] | "all";
|
|
95
|
+
unselectedIds: string[];
|
|
96
|
+
cursorId: string;
|
|
97
|
+
columnCount: number;
|
|
98
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
99
|
+
cursorIndexRef: {
|
|
100
|
+
readonly current: number;
|
|
101
|
+
};
|
|
102
|
+
UNSTABLE_virtual: {
|
|
103
|
+
virtualItems: import("../../../collection/lib/react-virtual").VirtualItem[];
|
|
104
|
+
totalSize: number;
|
|
105
|
+
scrollToOffset: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
106
|
+
scrollToIndex: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
107
|
+
measure: () => void;
|
|
108
|
+
};
|
|
109
|
+
UNSTABLE_defaultItemHeight: number;
|
|
110
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
111
|
+
id: string;
|
|
112
|
+
indexRef: React.MutableRefObject<number>;
|
|
113
|
+
isVirtualized: boolean;
|
|
114
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
115
|
+
}) => void) | undefined;
|
|
116
|
+
onSetContainerGap?: ((data: {
|
|
117
|
+
size: number;
|
|
118
|
+
}, prevState: {
|
|
119
|
+
hiddenIds: string[];
|
|
120
|
+
nonInteractiveIds: string[];
|
|
121
|
+
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
122
|
+
itemWidthCache: Record<string, number>;
|
|
123
|
+
containerWidth: number;
|
|
124
|
+
containerGap: number;
|
|
91
125
|
overflowTargetWidth: number;
|
|
92
126
|
selectedIds: string[] | "all";
|
|
93
127
|
unselectedIds: string[];
|
|
@@ -119,6 +153,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
119
153
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
120
154
|
itemWidthCache: Record<string, number>;
|
|
121
155
|
containerWidth: number;
|
|
156
|
+
containerGap: number;
|
|
122
157
|
overflowTargetWidth: number;
|
|
123
158
|
selectedIds: string[] | "all";
|
|
124
159
|
unselectedIds: string[];
|
|
@@ -151,6 +186,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
151
186
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
152
187
|
itemWidthCache: Record<string, number>;
|
|
153
188
|
containerWidth: number;
|
|
189
|
+
containerGap: number;
|
|
154
190
|
overflowTargetWidth: number;
|
|
155
191
|
selectedIds: string[] | "all";
|
|
156
192
|
unselectedIds: string[];
|
|
@@ -182,6 +218,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
182
218
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
183
219
|
itemWidthCache: Record<string, number>;
|
|
184
220
|
containerWidth: number;
|
|
221
|
+
containerGap: number;
|
|
185
222
|
overflowTargetWidth: number;
|
|
186
223
|
selectedIds: string[] | "all";
|
|
187
224
|
unselectedIds: string[];
|
|
@@ -213,6 +250,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
213
250
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
214
251
|
itemWidthCache: Record<string, number>;
|
|
215
252
|
containerWidth: number;
|
|
253
|
+
containerGap: number;
|
|
216
254
|
overflowTargetWidth: number;
|
|
217
255
|
selectedIds: string[] | "all";
|
|
218
256
|
unselectedIds: string[];
|
|
@@ -244,6 +282,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
244
282
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
245
283
|
itemWidthCache: Record<string, number>;
|
|
246
284
|
containerWidth: number;
|
|
285
|
+
containerGap: number;
|
|
247
286
|
overflowTargetWidth: number;
|
|
248
287
|
selectedIds: string[] | "all";
|
|
249
288
|
unselectedIds: string[];
|
|
@@ -273,6 +312,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
273
312
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
274
313
|
itemWidthCache: Record<string, number>;
|
|
275
314
|
containerWidth: number;
|
|
315
|
+
containerGap: number;
|
|
276
316
|
overflowTargetWidth: number;
|
|
277
317
|
selectedIds: string[] | "all";
|
|
278
318
|
unselectedIds: string[];
|
|
@@ -302,6 +342,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
302
342
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
303
343
|
itemWidthCache: Record<string, number>;
|
|
304
344
|
containerWidth: number;
|
|
345
|
+
containerGap: number;
|
|
305
346
|
overflowTargetWidth: number;
|
|
306
347
|
selectedIds: string[] | "all";
|
|
307
348
|
unselectedIds: string[];
|
|
@@ -331,6 +372,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
331
372
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
332
373
|
itemWidthCache: Record<string, number>;
|
|
333
374
|
containerWidth: number;
|
|
375
|
+
containerGap: number;
|
|
334
376
|
overflowTargetWidth: number;
|
|
335
377
|
selectedIds: string[] | "all";
|
|
336
378
|
unselectedIds: string[];
|
|
@@ -362,6 +404,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
362
404
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
363
405
|
itemWidthCache: Record<string, number>;
|
|
364
406
|
containerWidth: number;
|
|
407
|
+
containerGap: number;
|
|
365
408
|
overflowTargetWidth: number;
|
|
366
409
|
selectedIds: string[] | "all";
|
|
367
410
|
unselectedIds: string[];
|
|
@@ -391,6 +434,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
391
434
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
392
435
|
itemWidthCache: Record<string, number>;
|
|
393
436
|
containerWidth: number;
|
|
437
|
+
containerGap: number;
|
|
394
438
|
overflowTargetWidth: number;
|
|
395
439
|
selectedIds: string[] | "all";
|
|
396
440
|
unselectedIds: string[];
|
|
@@ -420,6 +464,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
420
464
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
421
465
|
itemWidthCache: Record<string, number>;
|
|
422
466
|
containerWidth: number;
|
|
467
|
+
containerGap: number;
|
|
423
468
|
overflowTargetWidth: number;
|
|
424
469
|
selectedIds: string[] | "all";
|
|
425
470
|
unselectedIds: string[];
|
|
@@ -449,6 +494,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
449
494
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
450
495
|
itemWidthCache: Record<string, number>;
|
|
451
496
|
containerWidth: number;
|
|
497
|
+
containerGap: number;
|
|
452
498
|
overflowTargetWidth: number;
|
|
453
499
|
selectedIds: string[] | "all";
|
|
454
500
|
unselectedIds: string[];
|
|
@@ -478,6 +524,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
478
524
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
479
525
|
itemWidthCache: Record<string, number>;
|
|
480
526
|
containerWidth: number;
|
|
527
|
+
containerGap: number;
|
|
481
528
|
overflowTargetWidth: number;
|
|
482
529
|
selectedIds: string[] | "all";
|
|
483
530
|
unselectedIds: string[];
|
|
@@ -507,6 +554,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
507
554
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
508
555
|
itemWidthCache: Record<string, number>;
|
|
509
556
|
containerWidth: number;
|
|
557
|
+
containerGap: number;
|
|
510
558
|
overflowTargetWidth: number;
|
|
511
559
|
selectedIds: string[] | "all";
|
|
512
560
|
unselectedIds: string[];
|
|
@@ -536,6 +584,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
536
584
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
537
585
|
itemWidthCache: Record<string, number>;
|
|
538
586
|
containerWidth: number;
|
|
587
|
+
containerGap: number;
|
|
539
588
|
overflowTargetWidth: number;
|
|
540
589
|
selectedIds: string[] | "all";
|
|
541
590
|
unselectedIds: string[];
|
|
@@ -565,6 +614,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
565
614
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
566
615
|
itemWidthCache: Record<string, number>;
|
|
567
616
|
containerWidth: number;
|
|
617
|
+
containerGap: number;
|
|
568
618
|
overflowTargetWidth: number;
|
|
569
619
|
selectedIds: string[] | "all";
|
|
570
620
|
unselectedIds: string[];
|
|
@@ -594,6 +644,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
594
644
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
595
645
|
itemWidthCache: Record<string, number>;
|
|
596
646
|
containerWidth: number;
|
|
647
|
+
containerGap: number;
|
|
597
648
|
overflowTargetWidth: number;
|
|
598
649
|
selectedIds: string[] | "all";
|
|
599
650
|
unselectedIds: string[];
|
|
@@ -623,6 +674,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
623
674
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
624
675
|
itemWidthCache: Record<string, number>;
|
|
625
676
|
containerWidth: number;
|
|
677
|
+
containerGap: number;
|
|
626
678
|
overflowTargetWidth: number;
|
|
627
679
|
selectedIds: string[] | "all";
|
|
628
680
|
unselectedIds: string[];
|
|
@@ -652,6 +704,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
652
704
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
653
705
|
itemWidthCache: Record<string, number>;
|
|
654
706
|
containerWidth: number;
|
|
707
|
+
containerGap: number;
|
|
655
708
|
overflowTargetWidth: number;
|
|
656
709
|
selectedIds: string[] | "all";
|
|
657
710
|
unselectedIds: string[];
|
|
@@ -684,6 +737,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
684
737
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
685
738
|
itemWidthCache: Record<string, number>;
|
|
686
739
|
containerWidth: number;
|
|
740
|
+
containerGap: number;
|
|
687
741
|
overflowTargetWidth: number;
|
|
688
742
|
selectedIds: string[] | "all";
|
|
689
743
|
unselectedIds: string[];
|
|
@@ -715,6 +769,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
715
769
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
716
770
|
itemWidthCache: Record<string, number>;
|
|
717
771
|
containerWidth: number;
|
|
772
|
+
containerGap: number;
|
|
718
773
|
overflowTargetWidth: number;
|
|
719
774
|
selectedIds: string[] | "all";
|
|
720
775
|
unselectedIds: string[];
|
|
@@ -746,6 +801,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
746
801
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
747
802
|
itemWidthCache: Record<string, number>;
|
|
748
803
|
containerWidth: number;
|
|
804
|
+
containerGap: number;
|
|
749
805
|
overflowTargetWidth: number;
|
|
750
806
|
selectedIds: string[] | "all";
|
|
751
807
|
unselectedIds: string[];
|
|
@@ -778,6 +834,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
778
834
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
779
835
|
itemWidthCache: Record<string, number>;
|
|
780
836
|
containerWidth: number;
|
|
837
|
+
containerGap: number;
|
|
781
838
|
overflowTargetWidth: number;
|
|
782
839
|
selectedIds: string[] | "all";
|
|
783
840
|
unselectedIds: string[];
|
|
@@ -809,6 +866,39 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
809
866
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
810
867
|
itemWidthCache: Record<string, number>;
|
|
811
868
|
containerWidth: number;
|
|
869
|
+
containerGap: number;
|
|
870
|
+
overflowTargetWidth: number;
|
|
871
|
+
selectedIds: string[] | "all";
|
|
872
|
+
unselectedIds: string[];
|
|
873
|
+
cursorId: string;
|
|
874
|
+
columnCount: number;
|
|
875
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
876
|
+
cursorIndexRef: {
|
|
877
|
+
readonly current: number;
|
|
878
|
+
};
|
|
879
|
+
UNSTABLE_virtual: {
|
|
880
|
+
virtualItems: import("../../../collection/lib/react-virtual").VirtualItem[];
|
|
881
|
+
totalSize: number;
|
|
882
|
+
scrollToOffset: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
883
|
+
scrollToIndex: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
884
|
+
measure: () => void;
|
|
885
|
+
};
|
|
886
|
+
UNSTABLE_defaultItemHeight: number;
|
|
887
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
888
|
+
id: string;
|
|
889
|
+
indexRef: React.MutableRefObject<number>;
|
|
890
|
+
isVirtualized: boolean;
|
|
891
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
892
|
+
}) => boolean) | undefined;
|
|
893
|
+
shouldSetContainerGap?: ((data: {
|
|
894
|
+
size: number;
|
|
895
|
+
}, state: {
|
|
896
|
+
hiddenIds: string[];
|
|
897
|
+
nonInteractiveIds: string[];
|
|
898
|
+
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
899
|
+
itemWidthCache: Record<string, number>;
|
|
900
|
+
containerWidth: number;
|
|
901
|
+
containerGap: number;
|
|
812
902
|
overflowTargetWidth: number;
|
|
813
903
|
selectedIds: string[] | "all";
|
|
814
904
|
unselectedIds: string[];
|
|
@@ -840,6 +930,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
840
930
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
841
931
|
itemWidthCache: Record<string, number>;
|
|
842
932
|
containerWidth: number;
|
|
933
|
+
containerGap: number;
|
|
843
934
|
overflowTargetWidth: number;
|
|
844
935
|
selectedIds: string[] | "all";
|
|
845
936
|
unselectedIds: string[];
|
|
@@ -872,6 +963,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
872
963
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
873
964
|
itemWidthCache: Record<string, number>;
|
|
874
965
|
containerWidth: number;
|
|
966
|
+
containerGap: number;
|
|
875
967
|
overflowTargetWidth: number;
|
|
876
968
|
selectedIds: string[] | "all";
|
|
877
969
|
unselectedIds: string[];
|
|
@@ -903,6 +995,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
903
995
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
904
996
|
itemWidthCache: Record<string, number>;
|
|
905
997
|
containerWidth: number;
|
|
998
|
+
containerGap: number;
|
|
906
999
|
overflowTargetWidth: number;
|
|
907
1000
|
selectedIds: string[] | "all";
|
|
908
1001
|
unselectedIds: string[];
|
|
@@ -934,6 +1027,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
934
1027
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
935
1028
|
itemWidthCache: Record<string, number>;
|
|
936
1029
|
containerWidth: number;
|
|
1030
|
+
containerGap: number;
|
|
937
1031
|
overflowTargetWidth: number;
|
|
938
1032
|
selectedIds: string[] | "all";
|
|
939
1033
|
unselectedIds: string[];
|
|
@@ -965,6 +1059,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
965
1059
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
966
1060
|
itemWidthCache: Record<string, number>;
|
|
967
1061
|
containerWidth: number;
|
|
1062
|
+
containerGap: number;
|
|
968
1063
|
overflowTargetWidth: number;
|
|
969
1064
|
selectedIds: string[] | "all";
|
|
970
1065
|
unselectedIds: string[];
|
|
@@ -994,6 +1089,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
994
1089
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
995
1090
|
itemWidthCache: Record<string, number>;
|
|
996
1091
|
containerWidth: number;
|
|
1092
|
+
containerGap: number;
|
|
997
1093
|
overflowTargetWidth: number;
|
|
998
1094
|
selectedIds: string[] | "all";
|
|
999
1095
|
unselectedIds: string[];
|
|
@@ -1023,6 +1119,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1023
1119
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1024
1120
|
itemWidthCache: Record<string, number>;
|
|
1025
1121
|
containerWidth: number;
|
|
1122
|
+
containerGap: number;
|
|
1026
1123
|
overflowTargetWidth: number;
|
|
1027
1124
|
selectedIds: string[] | "all";
|
|
1028
1125
|
unselectedIds: string[];
|
|
@@ -1052,6 +1149,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1052
1149
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1053
1150
|
itemWidthCache: Record<string, number>;
|
|
1054
1151
|
containerWidth: number;
|
|
1152
|
+
containerGap: number;
|
|
1055
1153
|
overflowTargetWidth: number;
|
|
1056
1154
|
selectedIds: string[] | "all";
|
|
1057
1155
|
unselectedIds: string[];
|
|
@@ -1083,6 +1181,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1083
1181
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1084
1182
|
itemWidthCache: Record<string, number>;
|
|
1085
1183
|
containerWidth: number;
|
|
1184
|
+
containerGap: number;
|
|
1086
1185
|
overflowTargetWidth: number;
|
|
1087
1186
|
selectedIds: string[] | "all";
|
|
1088
1187
|
unselectedIds: string[];
|
|
@@ -1112,6 +1211,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1112
1211
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1113
1212
|
itemWidthCache: Record<string, number>;
|
|
1114
1213
|
containerWidth: number;
|
|
1214
|
+
containerGap: number;
|
|
1115
1215
|
overflowTargetWidth: number;
|
|
1116
1216
|
selectedIds: string[] | "all";
|
|
1117
1217
|
unselectedIds: string[];
|
|
@@ -1141,6 +1241,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1141
1241
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1142
1242
|
itemWidthCache: Record<string, number>;
|
|
1143
1243
|
containerWidth: number;
|
|
1244
|
+
containerGap: number;
|
|
1144
1245
|
overflowTargetWidth: number;
|
|
1145
1246
|
selectedIds: string[] | "all";
|
|
1146
1247
|
unselectedIds: string[];
|
|
@@ -1170,6 +1271,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1170
1271
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1171
1272
|
itemWidthCache: Record<string, number>;
|
|
1172
1273
|
containerWidth: number;
|
|
1274
|
+
containerGap: number;
|
|
1173
1275
|
overflowTargetWidth: number;
|
|
1174
1276
|
selectedIds: string[] | "all";
|
|
1175
1277
|
unselectedIds: string[];
|
|
@@ -1199,6 +1301,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1199
1301
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1200
1302
|
itemWidthCache: Record<string, number>;
|
|
1201
1303
|
containerWidth: number;
|
|
1304
|
+
containerGap: number;
|
|
1202
1305
|
overflowTargetWidth: number;
|
|
1203
1306
|
selectedIds: string[] | "all";
|
|
1204
1307
|
unselectedIds: string[];
|
|
@@ -1228,6 +1331,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1228
1331
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1229
1332
|
itemWidthCache: Record<string, number>;
|
|
1230
1333
|
containerWidth: number;
|
|
1334
|
+
containerGap: number;
|
|
1231
1335
|
overflowTargetWidth: number;
|
|
1232
1336
|
selectedIds: string[] | "all";
|
|
1233
1337
|
unselectedIds: string[];
|
|
@@ -1257,6 +1361,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1257
1361
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1258
1362
|
itemWidthCache: Record<string, number>;
|
|
1259
1363
|
containerWidth: number;
|
|
1364
|
+
containerGap: number;
|
|
1260
1365
|
overflowTargetWidth: number;
|
|
1261
1366
|
selectedIds: string[] | "all";
|
|
1262
1367
|
unselectedIds: string[];
|
|
@@ -1286,6 +1391,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1286
1391
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1287
1392
|
itemWidthCache: Record<string, number>;
|
|
1288
1393
|
containerWidth: number;
|
|
1394
|
+
containerGap: number;
|
|
1289
1395
|
overflowTargetWidth: number;
|
|
1290
1396
|
selectedIds: string[] | "all";
|
|
1291
1397
|
unselectedIds: string[];
|
|
@@ -1315,6 +1421,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1315
1421
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1316
1422
|
itemWidthCache: Record<string, number>;
|
|
1317
1423
|
containerWidth: number;
|
|
1424
|
+
containerGap: number;
|
|
1318
1425
|
overflowTargetWidth: number;
|
|
1319
1426
|
selectedIds: string[] | "all";
|
|
1320
1427
|
unselectedIds: string[];
|
|
@@ -1344,6 +1451,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1344
1451
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1345
1452
|
itemWidthCache: Record<string, number>;
|
|
1346
1453
|
containerWidth: number;
|
|
1454
|
+
containerGap: number;
|
|
1347
1455
|
overflowTargetWidth: number;
|
|
1348
1456
|
selectedIds: string[] | "all";
|
|
1349
1457
|
unselectedIds: string[];
|
|
@@ -1373,6 +1481,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1373
1481
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1374
1482
|
itemWidthCache: Record<string, number>;
|
|
1375
1483
|
containerWidth: number;
|
|
1484
|
+
containerGap: number;
|
|
1376
1485
|
overflowTargetWidth: number;
|
|
1377
1486
|
selectedIds: string[] | "all";
|
|
1378
1487
|
unselectedIds: string[];
|
|
@@ -1405,6 +1514,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1405
1514
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1406
1515
|
itemWidthCache: Record<string, number>;
|
|
1407
1516
|
containerWidth: number;
|
|
1517
|
+
containerGap: number;
|
|
1408
1518
|
overflowTargetWidth: number;
|
|
1409
1519
|
selectedIds: string[] | "all";
|
|
1410
1520
|
unselectedIds: string[];
|
|
@@ -1436,6 +1546,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1436
1546
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1437
1547
|
itemWidthCache: Record<string, number>;
|
|
1438
1548
|
containerWidth: number;
|
|
1549
|
+
containerGap: number;
|
|
1439
1550
|
overflowTargetWidth: number;
|
|
1440
1551
|
selectedIds: string[] | "all";
|
|
1441
1552
|
unselectedIds: string[];
|
|
@@ -1467,6 +1578,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1467
1578
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1468
1579
|
itemWidthCache: Record<string, number>;
|
|
1469
1580
|
containerWidth: number;
|
|
1581
|
+
containerGap: number;
|
|
1470
1582
|
overflowTargetWidth: number;
|
|
1471
1583
|
selectedIds: string[] | "all";
|
|
1472
1584
|
unselectedIds: string[];
|
|
@@ -1497,6 +1609,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1497
1609
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1498
1610
|
itemWidthCache: Record<string, number>;
|
|
1499
1611
|
containerWidth: number;
|
|
1612
|
+
containerGap: number;
|
|
1500
1613
|
overflowTargetWidth: number;
|
|
1501
1614
|
selectedIds: string[] | "all";
|
|
1502
1615
|
unselectedIds: string[];
|
|
@@ -1527,6 +1640,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1527
1640
|
setContainerWidth(data: {
|
|
1528
1641
|
width?: number | undefined;
|
|
1529
1642
|
}): void;
|
|
1643
|
+
setContainerGap(data: {
|
|
1644
|
+
size: number;
|
|
1645
|
+
}): void;
|
|
1530
1646
|
setOverflowTargetWidth(data: {
|
|
1531
1647
|
width: number;
|
|
1532
1648
|
}): void;
|
|
@@ -1701,6 +1817,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1701
1817
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1702
1818
|
itemWidthCache: Record<string, number>;
|
|
1703
1819
|
containerWidth: number;
|
|
1820
|
+
containerGap: number;
|
|
1704
1821
|
overflowTargetWidth: number;
|
|
1705
1822
|
selectedIds: string[] | "all";
|
|
1706
1823
|
unselectedIds: string[];
|
|
@@ -1730,6 +1847,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1730
1847
|
setContainerWidth(data: {
|
|
1731
1848
|
width?: number | undefined;
|
|
1732
1849
|
}): void;
|
|
1850
|
+
setContainerGap(data: {
|
|
1851
|
+
size: number;
|
|
1852
|
+
}): void;
|
|
1733
1853
|
setOverflowTargetWidth(data: {
|
|
1734
1854
|
width: number;
|
|
1735
1855
|
}): void;
|
|
@@ -1779,6 +1899,7 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1779
1899
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1780
1900
|
itemWidthCache: Record<string, number>;
|
|
1781
1901
|
containerWidth: number;
|
|
1902
|
+
containerGap: number;
|
|
1782
1903
|
overflowTargetWidth: number;
|
|
1783
1904
|
selectedIds: string[] | "all";
|
|
1784
1905
|
unselectedIds: string[];
|
|
@@ -1809,6 +1930,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1809
1930
|
setContainerWidth(data: {
|
|
1810
1931
|
width?: number | undefined;
|
|
1811
1932
|
}): void;
|
|
1933
|
+
setContainerGap(data: {
|
|
1934
|
+
size: number;
|
|
1935
|
+
}): void;
|
|
1812
1936
|
setOverflowTargetWidth(data: {
|
|
1813
1937
|
width: number;
|
|
1814
1938
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useBreadcrumbsModel.d.ts","sourceRoot":"","sources":["../../../../../breadcrumbs/lib/hooks/useBreadcrumbsModel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,mBAAmB;IAG5B;;;OAGG;;IAEH;;;;OAIG
|
|
1
|
+
{"version":3,"file":"useBreadcrumbsModel.d.ts","sourceRoot":"","sources":["../../../../../breadcrumbs/lib/hooks/useBreadcrumbsModel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,mBAAmB;IAG5B;;;OAGG;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IATH;;;OAGG;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyDL,CAAC"}
|
|
@@ -55,7 +55,7 @@ exports.buttonStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
|
55
55
|
opacity: '',
|
|
56
56
|
borderRadius: '',
|
|
57
57
|
},
|
|
58
|
-
base: { name: "
|
|
58
|
+
base: { name: "j34o18", styles: "box-sizing:border-box;font-family:\"Roboto\", \"Helvetica Neue\", \"Helvetica\", Arial, sans-serif;font-size:0.875rem;line-height:normal;letter-spacing:0.015rem;font-weight:var(--cnvs-sys-font-weight-bold);background-color:var(--background-b5fb58, var(--background-button-65cb05, transparent));color:var(--label-b5fb58, var(--label-button-65cb05, var(--cnvs-sys-color-fg-strong)));border-width:0.0625rem;border-style:solid;gap:var(--cnvs-sys-space-x2);border-color:var(--border-b5fb58, var(--border-button-65cb05, transparent));cursor:pointer;display:inline-flex;box-shadow:none;align-items:center;justify-content:center;outline:0.125rem transparent;white-space:nowrap;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:var(--borderRadius-b5fb58, var(--borderRadius-button-65cb05, var(--cnvs-sys-shape-round)));position:relative;vertical-align:middle;overflow:hidden;--color-system-icon-583fae:var(--icon-b5fb58, var(--cnvs-sys-color-fg-strong));transition:box-shadow 120ms linear, border 120ms linear, background-color 120ms linear, color 120ms linear;&:disabled, &:disabled:active, &.disabled{cursor:default;box-shadow:none;opacity:var(--opacity-b5fb58, var(--opacity-button-65cb05, var(--cnvs-sys-opacity-full)));}&:focus-visible, &.focus{background-color:var(--background-2ae7b1, var(--background-button-65cb05, transparent));border-color:var(--border-2ae7b1, var(--border-button-65cb05, transparent));color:var(--label-2ae7b1, var(--label-button-65cb05, var(--cnvs-sys-color-fg-strong)));--color-system-icon-583fae:var(--icon-2ae7b1, var(--cnvs-sys-color-fg-strong));box-shadow:0 0 0 2px var(--boxShadowInner-2ae7b1, var(--boxShadowInner-button-65cb05, var(--cnvs-sys-color-border-inverse))), 0 0 0 4px var(--boxShadowOuter-2ae7b1, var(--boxShadowOuter-button-65cb05, var(--cnvs-brand-common-focus-outline)));}&:hover, &.hover{background-color:var(--background-c4b8f8, var(--background-button-65cb05, var(--cnvs-sys-color-bg-contrast-strong)));border-color:var(--border-c4b8f8, var(--border-button-65cb05, transparent));color:var(--label-c4b8f8, var(--label-button-65cb05, var(--cnvs-sys-color-fg-stronger)));--color-system-icon-583fae:var(--icon-c4b8f8, var(--cnvs-sys-color-fg-stronger));}&:hover:active{transition-duration:40ms;}&:active, &.active{background-color:var(--background-93b1ce, var(--background-button-65cb05, transparent));border-color:var(--border-93b1ce, var(--border-button-65cb05, transparent));color:var(--label-93b1ce, var(--label-button-65cb05, var(--cnvs-sys-color-fg-strong)));--color-system-icon-583fae:var(--icon-93b1ce, var(--cnvs-sys-color-fg-strong));}&:disabled, &.disabled{background-color:var(--background-c34400, var(--background-button-65cb05, transparent));border-color:var(--border-c34400, var(--border-button-65cb05, transparent));color:var(--label-c34400, var(--label-button-65cb05, var(--cnvs-sys-color-fg-strong)));--color-system-icon-583fae:var(--icon-c34400, var(--cnvs-sys-color-fg-strong));}" },
|
|
59
59
|
modifiers: {
|
|
60
60
|
/**
|
|
61
61
|
* Button modifiers that will overwrite the base styles of Buttons.
|
|
@@ -64,70 +64,70 @@ exports.buttonStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
|
64
64
|
* within a button or if there is only an icon and no text.
|
|
65
65
|
*/
|
|
66
66
|
size: {
|
|
67
|
-
large: { name: "
|
|
68
|
-
medium: { name: "
|
|
69
|
-
small: { name: "
|
|
70
|
-
extraSmall: { name: "
|
|
67
|
+
large: { name: "j34o19", styles: "font-family:var(--cnvs-base-font-family-50);font-weight:var(--cnvs-sys-font-weight-bold);line-height:var(--cnvs-base-line-height-150);font-size:var(--cnvs-base-font-size-100);letter-spacing:var(--cnvs-base-letter-spacing-200);height:3rem;padding-inline:var(--cnvs-sys-space-x8);min-width:7rem;" },
|
|
68
|
+
medium: { name: "j34o1a", styles: "font-family:var(--cnvs-base-font-family-50);font-weight:var(--cnvs-sys-font-weight-bold);line-height:var(--cnvs-base-line-height-100);font-size:var(--cnvs-base-font-size-75);letter-spacing:var(--cnvs-base-letter-spacing-150);min-width:6rem;padding-inline:var(--cnvs-sys-space-x6);height:var(--cnvs-sys-space-x10);" },
|
|
69
|
+
small: { name: "j34o1b", styles: "font-family:var(--cnvs-base-font-family-50);font-weight:var(--cnvs-sys-font-weight-bold);line-height:var(--cnvs-base-line-height-100);font-size:var(--cnvs-base-font-size-75);letter-spacing:var(--cnvs-base-letter-spacing-150);height:var(--cnvs-sys-space-x8);min-width:var(--cnvs-sys-space-x20);padding-inline:var(--cnvs-sys-space-x4);gap:var(--cnvs-sys-space-x1);" },
|
|
70
|
+
extraSmall: { name: "j34o1c", styles: "font-family:var(--cnvs-base-font-family-50);font-weight:var(--cnvs-sys-font-weight-bold);line-height:var(--cnvs-base-line-height-50);font-size:var(--cnvs-base-font-size-50);letter-spacing:var(--cnvs-base-letter-spacing-100);height:var(--cnvs-sys-space-x6);min-width:auto;padding-inline:var(--cnvs-sys-space-x3);gap:var(--cnvs-sys-space-x1);" }
|
|
71
71
|
},
|
|
72
72
|
grow: {
|
|
73
|
-
true: { name: "
|
|
73
|
+
true: { name: "j34o1d", styles: "width:100%;max-width:100%;" }
|
|
74
74
|
},
|
|
75
75
|
// IconPosition Styles
|
|
76
76
|
iconPosition: {
|
|
77
|
-
only: { name: "
|
|
78
|
-
start: { name: "
|
|
79
|
-
end: { name: "
|
|
77
|
+
only: { name: "j34o1e", styles: "padding:var(--cnvs-sys-space-zero);" },
|
|
78
|
+
start: { name: "j34o1f", styles: "" },
|
|
79
|
+
end: { name: "j34o1g", styles: "" }
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
// Compound Modifier Styles
|
|
83
83
|
compound: [
|
|
84
84
|
{
|
|
85
85
|
modifiers: { size: 'large', iconPosition: 'only' },
|
|
86
|
-
styles: { name: "
|
|
86
|
+
styles: { name: "j34o1h", styles: "min-width:calc(var(--cnvs-sys-space-x4) * 3);" }
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
modifiers: { size: 'large', iconPosition: 'start' },
|
|
90
|
-
styles: { name: "
|
|
90
|
+
styles: { name: "j34o1i", styles: "padding-inline-start:var(--cnvs-sys-space-x6);padding-inline-end:var(--cnvs-sys-space-x8);" }
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
modifiers: { size: 'large', iconPosition: 'end' },
|
|
94
|
-
styles: { name: "
|
|
94
|
+
styles: { name: "j34o1j", styles: "padding-inline-start:var(--cnvs-sys-space-x8);padding-inline-end:var(--cnvs-sys-space-x6);" }
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
modifiers: { size: 'medium', iconPosition: 'only' },
|
|
98
|
-
styles: { name: "
|
|
98
|
+
styles: { name: "j34o1k", styles: "min-width:var(--cnvs-sys-space-x10);" }
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
modifiers: { size: 'medium', iconPosition: 'start' },
|
|
102
|
-
styles: { name: "
|
|
102
|
+
styles: { name: "j34o1l", styles: "padding-inline-start:calc(var(--cnvs-sys-space-x1) * 5);padding-inline-end:var(--cnvs-sys-space-x6);" }
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
modifiers: { size: 'medium', iconPosition: 'end' },
|
|
106
|
-
styles: { name: "
|
|
106
|
+
styles: { name: "j34o1m", styles: "padding-inline-start:var(--cnvs-sys-space-x6);padding-inline-end:calc(var(--cnvs-sys-space-x1) * 5);" }
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
109
|
modifiers: { size: 'small', iconPosition: 'only' },
|
|
110
|
-
styles: { name: "
|
|
110
|
+
styles: { name: "j34o1n", styles: "min-width:var(--cnvs-sys-space-x8);" }
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
modifiers: { size: 'small', iconPosition: 'start' },
|
|
114
|
-
styles: { name: "
|
|
114
|
+
styles: { name: "j34o1o", styles: "padding-inline-start:var(--cnvs-sys-space-x3);padding-inline-end:var(--cnvs-sys-space-x4);" }
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
modifiers: { size: 'small', iconPosition: 'end' },
|
|
118
|
-
styles: { name: "
|
|
118
|
+
styles: { name: "j34o1p", styles: "padding-inline-start:var(--cnvs-sys-space-x4);padding-inline-end:var(--cnvs-sys-space-x3);" }
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
121
|
modifiers: { size: 'extraSmall', iconPosition: 'only' },
|
|
122
|
-
styles: { name: "
|
|
122
|
+
styles: { name: "j34o1q", styles: "min-width:var(--cnvs-sys-space-x6);" }
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
modifiers: { size: 'extraSmall', iconPosition: 'start' },
|
|
126
|
-
styles: { name: "
|
|
126
|
+
styles: { name: "j34o1r", styles: "padding-inline-start:var(--cnvs-sys-space-x2);padding-inline-end:var(--cnvs-sys-space-x3);" }
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
129
|
modifiers: { size: 'extraSmall', iconPosition: 'end' },
|
|
130
|
-
styles: { name: "
|
|
130
|
+
styles: { name: "j34o1s", styles: "padding-inline-start:var(--cnvs-sys-space-x3);padding-inline-end:var(--cnvs-sys-space-x2);" }
|
|
131
131
|
}
|
|
132
132
|
]
|
|
133
133
|
}, "button-65cb05");
|
|
@@ -33,7 +33,7 @@ const Button_1 = require("./Button");
|
|
|
33
33
|
const icon_1 = require("@workday/canvas-kit-react/icon");
|
|
34
34
|
const deleteButtonStencil = (0, canvas_kit_styling_1.createStencil)({
|
|
35
35
|
extends: BaseButton_1.buttonStencil,
|
|
36
|
-
base: { name: "
|
|
36
|
+
base: { name: "j34o2f", styles: "box-sizing:border-box;--background-button-65cb05:var(--cnvs-brand-error-base);--borderRadius-button-65cb05:var(--cnvs-sys-shape-round);--label-button-65cb05:var(--cnvs-brand-error-accent);--color-system-icon-583fae:var(--icon-b5fb58, var(--cnvs-brand-error-accent));&:focus-visible, &.focus{--background-button-65cb05:var(--cnvs-brand-error-base);--label-button-65cb05:var(--cnvs-brand-error-accent);--color-system-icon-583fae:var(--icon-2ae7b1, var(--cnvs-brand-error-accent));--boxShadowInner-button-65cb05:var(--cnvs-sys-color-border-inverse);--boxShadowOuter-button-65cb05:var(--cnvs-brand-common-focus-outline);}&:hover, &.hover{--background-button-65cb05:var(--cnvs-brand-error-dark);--label-button-65cb05:var(--cnvs-brand-error-accent);--color-system-icon-583fae:var(--icon-c4b8f8, var(--cnvs-brand-error-accent));}&:active, &.active{--background-button-65cb05:var(--cnvs-brand-error-darkest);--label-button-65cb05:var(--cnvs-brand-error-accent);--color-system-icon-583fae:var(--icon-93b1ce, var(--cnvs-brand-error-accent));}&:disabled, &.disabled{--background-button-65cb05:var(--cnvs-brand-error-base);--label-button-65cb05:var(--cnvs-brand-error-accent);--color-system-icon-583fae:var(--icon-c34400, var(--cnvs-brand-error-accent));--opacity-button-65cb05:var(--cnvs-sys-opacity-disabled);}" }
|
|
37
37
|
}, "delete-button-880e51");
|
|
38
38
|
/**
|
|
39
39
|
* Use sparingly for destructive actions that will result in data loss, can’t be undone, or will
|