@workday/canvas-kit-react 12.1.0-943-next.0 → 12.1.0-945-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/collection/lib/useOverflowListItemMeasure.tsx +6 -2
- package/collection/lib/useOverflowListMeasure.ts +1 -1
- package/collection/lib/useOverflowListModel.tsx +90 -51
- package/collection/lib/useOverflowListTarget.tsx +5 -1
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +452 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +36 -0
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +36 -0
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +36 -0
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +434 -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 +525 -385
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +36 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +36 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +18 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +36 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +434 -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 +18 -0
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.js +5 -2
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +18 -0
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.js +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +846 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.js +73 -35
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +18 -0
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListTarget.js +4 -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 +2 -2
- 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 +520 -0
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +36 -0
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.d.ts +36 -0
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +36 -0
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +36 -0
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +18 -0
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +530 -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 +452 -0
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +36 -0
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +36 -0
- package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +36 -0
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +434 -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 +525 -385
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +36 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +36 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +18 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +36 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +434 -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 +18 -0
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.js +5 -2
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +18 -0
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.js +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +846 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.js +73 -35
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +18 -0
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListTarget.js +4 -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 +2 -2
- 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 +520 -0
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.d.ts +36 -0
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.d.ts +36 -0
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +36 -0
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.d.ts +36 -0
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanels.d.ts +18 -0
- package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.d.ts +530 -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
|
@@ -55,7 +55,44 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
55
55
|
hiddenIds: string[];
|
|
56
56
|
nonInteractiveIds: string[];
|
|
57
57
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
58
|
+
itemSizeCache: Record<string, number>;
|
|
58
59
|
itemWidthCache: Record<string, number>;
|
|
60
|
+
containerSize: number;
|
|
61
|
+
containerWidth: number;
|
|
62
|
+
containerGap: number;
|
|
63
|
+
overflowTargetWidth: number;
|
|
64
|
+
selectedIds: string[] | "all";
|
|
65
|
+
unselectedIds: string[];
|
|
66
|
+
cursorId: string;
|
|
67
|
+
columnCount: number;
|
|
68
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
69
|
+
cursorIndexRef: {
|
|
70
|
+
readonly current: number;
|
|
71
|
+
};
|
|
72
|
+
UNSTABLE_virtual: {
|
|
73
|
+
virtualItems: import("../../../collection/lib/react-virtual").VirtualItem[];
|
|
74
|
+
totalSize: number;
|
|
75
|
+
scrollToOffset: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
76
|
+
scrollToIndex: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
77
|
+
measure: () => void;
|
|
78
|
+
};
|
|
79
|
+
UNSTABLE_defaultItemHeight: number;
|
|
80
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
81
|
+
id: string;
|
|
82
|
+
indexRef: React.MutableRefObject<number>;
|
|
83
|
+
isVirtualized: boolean;
|
|
84
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
85
|
+
}) => void) | undefined;
|
|
86
|
+
onSetContainerSize?: ((data: {
|
|
87
|
+
width?: number | undefined;
|
|
88
|
+
height?: number | undefined;
|
|
89
|
+
}, prevState: {
|
|
90
|
+
hiddenIds: string[];
|
|
91
|
+
nonInteractiveIds: string[];
|
|
92
|
+
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
93
|
+
itemSizeCache: Record<string, number>;
|
|
94
|
+
itemWidthCache: Record<string, number>;
|
|
95
|
+
containerSize: number;
|
|
59
96
|
containerWidth: number;
|
|
60
97
|
containerGap: number;
|
|
61
98
|
overflowTargetWidth: number;
|
|
@@ -87,7 +124,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
87
124
|
hiddenIds: string[];
|
|
88
125
|
nonInteractiveIds: string[];
|
|
89
126
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
127
|
+
itemSizeCache: Record<string, number>;
|
|
90
128
|
itemWidthCache: Record<string, number>;
|
|
129
|
+
containerSize: number;
|
|
91
130
|
containerWidth: number;
|
|
92
131
|
containerGap: number;
|
|
93
132
|
overflowTargetWidth: number;
|
|
@@ -119,7 +158,44 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
119
158
|
hiddenIds: string[];
|
|
120
159
|
nonInteractiveIds: string[];
|
|
121
160
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
161
|
+
itemSizeCache: Record<string, number>;
|
|
162
|
+
itemWidthCache: Record<string, number>;
|
|
163
|
+
containerSize: number;
|
|
164
|
+
containerWidth: number;
|
|
165
|
+
containerGap: number;
|
|
166
|
+
overflowTargetWidth: number;
|
|
167
|
+
selectedIds: string[] | "all";
|
|
168
|
+
unselectedIds: string[];
|
|
169
|
+
cursorId: string;
|
|
170
|
+
columnCount: number;
|
|
171
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
172
|
+
cursorIndexRef: {
|
|
173
|
+
readonly current: number;
|
|
174
|
+
};
|
|
175
|
+
UNSTABLE_virtual: {
|
|
176
|
+
virtualItems: import("../../../collection/lib/react-virtual").VirtualItem[];
|
|
177
|
+
totalSize: number;
|
|
178
|
+
scrollToOffset: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
179
|
+
scrollToIndex: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
180
|
+
measure: () => void;
|
|
181
|
+
};
|
|
182
|
+
UNSTABLE_defaultItemHeight: number;
|
|
183
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
184
|
+
id: string;
|
|
185
|
+
indexRef: React.MutableRefObject<number>;
|
|
186
|
+
isVirtualized: boolean;
|
|
187
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
188
|
+
}) => void) | undefined;
|
|
189
|
+
onSetOverflowTargetSize?: ((data: {
|
|
190
|
+
width: number;
|
|
191
|
+
height: number;
|
|
192
|
+
}, prevState: {
|
|
193
|
+
hiddenIds: string[];
|
|
194
|
+
nonInteractiveIds: string[];
|
|
195
|
+
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
196
|
+
itemSizeCache: Record<string, number>;
|
|
122
197
|
itemWidthCache: Record<string, number>;
|
|
198
|
+
containerSize: number;
|
|
123
199
|
containerWidth: number;
|
|
124
200
|
containerGap: number;
|
|
125
201
|
overflowTargetWidth: number;
|
|
@@ -151,7 +227,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
151
227
|
hiddenIds: string[];
|
|
152
228
|
nonInteractiveIds: string[];
|
|
153
229
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
230
|
+
itemSizeCache: Record<string, number>;
|
|
154
231
|
itemWidthCache: Record<string, number>;
|
|
232
|
+
containerSize: number;
|
|
155
233
|
containerWidth: number;
|
|
156
234
|
containerGap: number;
|
|
157
235
|
overflowTargetWidth: number;
|
|
@@ -184,7 +262,79 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
184
262
|
hiddenIds: string[];
|
|
185
263
|
nonInteractiveIds: string[];
|
|
186
264
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
265
|
+
itemSizeCache: Record<string, number>;
|
|
187
266
|
itemWidthCache: Record<string, number>;
|
|
267
|
+
containerSize: number;
|
|
268
|
+
containerWidth: number;
|
|
269
|
+
containerGap: number;
|
|
270
|
+
overflowTargetWidth: number;
|
|
271
|
+
selectedIds: string[] | "all";
|
|
272
|
+
unselectedIds: string[];
|
|
273
|
+
cursorId: string;
|
|
274
|
+
columnCount: number;
|
|
275
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
276
|
+
cursorIndexRef: {
|
|
277
|
+
readonly current: number;
|
|
278
|
+
};
|
|
279
|
+
UNSTABLE_virtual: {
|
|
280
|
+
virtualItems: import("../../../collection/lib/react-virtual").VirtualItem[];
|
|
281
|
+
totalSize: number;
|
|
282
|
+
scrollToOffset: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
283
|
+
scrollToIndex: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
284
|
+
measure: () => void;
|
|
285
|
+
};
|
|
286
|
+
UNSTABLE_defaultItemHeight: number;
|
|
287
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
288
|
+
id: string;
|
|
289
|
+
indexRef: React.MutableRefObject<number>;
|
|
290
|
+
isVirtualized: boolean;
|
|
291
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
292
|
+
}) => void) | undefined;
|
|
293
|
+
onAddItemSize?: ((data: {
|
|
294
|
+
id: string;
|
|
295
|
+
width: number;
|
|
296
|
+
height: number;
|
|
297
|
+
}, prevState: {
|
|
298
|
+
hiddenIds: string[];
|
|
299
|
+
nonInteractiveIds: string[];
|
|
300
|
+
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
301
|
+
itemSizeCache: Record<string, number>;
|
|
302
|
+
itemWidthCache: Record<string, number>;
|
|
303
|
+
containerSize: number;
|
|
304
|
+
containerWidth: number;
|
|
305
|
+
containerGap: number;
|
|
306
|
+
overflowTargetWidth: number;
|
|
307
|
+
selectedIds: string[] | "all";
|
|
308
|
+
unselectedIds: string[];
|
|
309
|
+
cursorId: string;
|
|
310
|
+
columnCount: number;
|
|
311
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
312
|
+
cursorIndexRef: {
|
|
313
|
+
readonly current: number;
|
|
314
|
+
};
|
|
315
|
+
UNSTABLE_virtual: {
|
|
316
|
+
virtualItems: import("../../../collection/lib/react-virtual").VirtualItem[];
|
|
317
|
+
totalSize: number;
|
|
318
|
+
scrollToOffset: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
319
|
+
scrollToIndex: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
320
|
+
measure: () => void;
|
|
321
|
+
};
|
|
322
|
+
UNSTABLE_defaultItemHeight: number;
|
|
323
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
324
|
+
id: string;
|
|
325
|
+
indexRef: React.MutableRefObject<number>;
|
|
326
|
+
isVirtualized: boolean;
|
|
327
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
328
|
+
}) => void) | undefined;
|
|
329
|
+
onRemoveItemSize?: ((data: {
|
|
330
|
+
id: string;
|
|
331
|
+
}, prevState: {
|
|
332
|
+
hiddenIds: string[];
|
|
333
|
+
nonInteractiveIds: string[];
|
|
334
|
+
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
335
|
+
itemSizeCache: Record<string, number>;
|
|
336
|
+
itemWidthCache: Record<string, number>;
|
|
337
|
+
containerSize: number;
|
|
188
338
|
containerWidth: number;
|
|
189
339
|
containerGap: number;
|
|
190
340
|
overflowTargetWidth: number;
|
|
@@ -216,7 +366,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
216
366
|
hiddenIds: string[];
|
|
217
367
|
nonInteractiveIds: string[];
|
|
218
368
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
369
|
+
itemSizeCache: Record<string, number>;
|
|
219
370
|
itemWidthCache: Record<string, number>;
|
|
371
|
+
containerSize: number;
|
|
220
372
|
containerWidth: number;
|
|
221
373
|
containerGap: number;
|
|
222
374
|
overflowTargetWidth: number;
|
|
@@ -248,7 +400,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
248
400
|
hiddenIds: string[];
|
|
249
401
|
nonInteractiveIds: string[];
|
|
250
402
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
403
|
+
itemSizeCache: Record<string, number>;
|
|
251
404
|
itemWidthCache: Record<string, number>;
|
|
405
|
+
containerSize: number;
|
|
252
406
|
containerWidth: number;
|
|
253
407
|
containerGap: number;
|
|
254
408
|
overflowTargetWidth: number;
|
|
@@ -280,7 +434,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
280
434
|
hiddenIds: string[];
|
|
281
435
|
nonInteractiveIds: string[];
|
|
282
436
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
437
|
+
itemSizeCache: Record<string, number>;
|
|
283
438
|
itemWidthCache: Record<string, number>;
|
|
439
|
+
containerSize: number;
|
|
284
440
|
containerWidth: number;
|
|
285
441
|
containerGap: number;
|
|
286
442
|
overflowTargetWidth: number;
|
|
@@ -310,7 +466,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
310
466
|
hiddenIds: string[];
|
|
311
467
|
nonInteractiveIds: string[];
|
|
312
468
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
469
|
+
itemSizeCache: Record<string, number>;
|
|
313
470
|
itemWidthCache: Record<string, number>;
|
|
471
|
+
containerSize: number;
|
|
314
472
|
containerWidth: number;
|
|
315
473
|
containerGap: number;
|
|
316
474
|
overflowTargetWidth: number;
|
|
@@ -340,7 +498,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
340
498
|
hiddenIds: string[];
|
|
341
499
|
nonInteractiveIds: string[];
|
|
342
500
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
501
|
+
itemSizeCache: Record<string, number>;
|
|
343
502
|
itemWidthCache: Record<string, number>;
|
|
503
|
+
containerSize: number;
|
|
344
504
|
containerWidth: number;
|
|
345
505
|
containerGap: number;
|
|
346
506
|
overflowTargetWidth: number;
|
|
@@ -370,7 +530,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
370
530
|
hiddenIds: string[];
|
|
371
531
|
nonInteractiveIds: string[];
|
|
372
532
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
533
|
+
itemSizeCache: Record<string, number>;
|
|
373
534
|
itemWidthCache: Record<string, number>;
|
|
535
|
+
containerSize: number;
|
|
374
536
|
containerWidth: number;
|
|
375
537
|
containerGap: number;
|
|
376
538
|
overflowTargetWidth: number;
|
|
@@ -402,7 +564,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
402
564
|
hiddenIds: string[];
|
|
403
565
|
nonInteractiveIds: string[];
|
|
404
566
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
567
|
+
itemSizeCache: Record<string, number>;
|
|
405
568
|
itemWidthCache: Record<string, number>;
|
|
569
|
+
containerSize: number;
|
|
406
570
|
containerWidth: number;
|
|
407
571
|
containerGap: number;
|
|
408
572
|
overflowTargetWidth: number;
|
|
@@ -432,7 +596,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
432
596
|
hiddenIds: string[];
|
|
433
597
|
nonInteractiveIds: string[];
|
|
434
598
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
599
|
+
itemSizeCache: Record<string, number>;
|
|
435
600
|
itemWidthCache: Record<string, number>;
|
|
601
|
+
containerSize: number;
|
|
436
602
|
containerWidth: number;
|
|
437
603
|
containerGap: number;
|
|
438
604
|
overflowTargetWidth: number;
|
|
@@ -462,7 +628,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
462
628
|
hiddenIds: string[];
|
|
463
629
|
nonInteractiveIds: string[];
|
|
464
630
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
631
|
+
itemSizeCache: Record<string, number>;
|
|
465
632
|
itemWidthCache: Record<string, number>;
|
|
633
|
+
containerSize: number;
|
|
466
634
|
containerWidth: number;
|
|
467
635
|
containerGap: number;
|
|
468
636
|
overflowTargetWidth: number;
|
|
@@ -492,7 +660,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
492
660
|
hiddenIds: string[];
|
|
493
661
|
nonInteractiveIds: string[];
|
|
494
662
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
663
|
+
itemSizeCache: Record<string, number>;
|
|
495
664
|
itemWidthCache: Record<string, number>;
|
|
665
|
+
containerSize: number;
|
|
496
666
|
containerWidth: number;
|
|
497
667
|
containerGap: number;
|
|
498
668
|
overflowTargetWidth: number;
|
|
@@ -522,7 +692,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
522
692
|
hiddenIds: string[];
|
|
523
693
|
nonInteractiveIds: string[];
|
|
524
694
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
695
|
+
itemSizeCache: Record<string, number>;
|
|
525
696
|
itemWidthCache: Record<string, number>;
|
|
697
|
+
containerSize: number;
|
|
526
698
|
containerWidth: number;
|
|
527
699
|
containerGap: number;
|
|
528
700
|
overflowTargetWidth: number;
|
|
@@ -552,7 +724,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
552
724
|
hiddenIds: string[];
|
|
553
725
|
nonInteractiveIds: string[];
|
|
554
726
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
727
|
+
itemSizeCache: Record<string, number>;
|
|
555
728
|
itemWidthCache: Record<string, number>;
|
|
729
|
+
containerSize: number;
|
|
556
730
|
containerWidth: number;
|
|
557
731
|
containerGap: number;
|
|
558
732
|
overflowTargetWidth: number;
|
|
@@ -582,7 +756,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
582
756
|
hiddenIds: string[];
|
|
583
757
|
nonInteractiveIds: string[];
|
|
584
758
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
759
|
+
itemSizeCache: Record<string, number>;
|
|
585
760
|
itemWidthCache: Record<string, number>;
|
|
761
|
+
containerSize: number;
|
|
586
762
|
containerWidth: number;
|
|
587
763
|
containerGap: number;
|
|
588
764
|
overflowTargetWidth: number;
|
|
@@ -612,7 +788,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
612
788
|
hiddenIds: string[];
|
|
613
789
|
nonInteractiveIds: string[];
|
|
614
790
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
791
|
+
itemSizeCache: Record<string, number>;
|
|
615
792
|
itemWidthCache: Record<string, number>;
|
|
793
|
+
containerSize: number;
|
|
616
794
|
containerWidth: number;
|
|
617
795
|
containerGap: number;
|
|
618
796
|
overflowTargetWidth: number;
|
|
@@ -642,7 +820,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
642
820
|
hiddenIds: string[];
|
|
643
821
|
nonInteractiveIds: string[];
|
|
644
822
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
823
|
+
itemSizeCache: Record<string, number>;
|
|
645
824
|
itemWidthCache: Record<string, number>;
|
|
825
|
+
containerSize: number;
|
|
646
826
|
containerWidth: number;
|
|
647
827
|
containerGap: number;
|
|
648
828
|
overflowTargetWidth: number;
|
|
@@ -672,7 +852,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
672
852
|
hiddenIds: string[];
|
|
673
853
|
nonInteractiveIds: string[];
|
|
674
854
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
855
|
+
itemSizeCache: Record<string, number>;
|
|
675
856
|
itemWidthCache: Record<string, number>;
|
|
857
|
+
containerSize: number;
|
|
676
858
|
containerWidth: number;
|
|
677
859
|
containerGap: number;
|
|
678
860
|
overflowTargetWidth: number;
|
|
@@ -702,7 +884,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
702
884
|
hiddenIds: string[];
|
|
703
885
|
nonInteractiveIds: string[];
|
|
704
886
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
887
|
+
itemSizeCache: Record<string, number>;
|
|
705
888
|
itemWidthCache: Record<string, number>;
|
|
889
|
+
containerSize: number;
|
|
706
890
|
containerWidth: number;
|
|
707
891
|
containerGap: number;
|
|
708
892
|
overflowTargetWidth: number;
|
|
@@ -735,7 +919,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
735
919
|
hiddenIds: string[];
|
|
736
920
|
nonInteractiveIds: string[];
|
|
737
921
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
922
|
+
itemSizeCache: Record<string, number>;
|
|
738
923
|
itemWidthCache: Record<string, number>;
|
|
924
|
+
containerSize: number;
|
|
739
925
|
containerWidth: number;
|
|
740
926
|
containerGap: number;
|
|
741
927
|
overflowTargetWidth: number;
|
|
@@ -767,7 +953,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
767
953
|
hiddenIds: string[];
|
|
768
954
|
nonInteractiveIds: string[];
|
|
769
955
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
956
|
+
itemSizeCache: Record<string, number>;
|
|
770
957
|
itemWidthCache: Record<string, number>;
|
|
958
|
+
containerSize: number;
|
|
771
959
|
containerWidth: number;
|
|
772
960
|
containerGap: number;
|
|
773
961
|
overflowTargetWidth: number;
|
|
@@ -799,7 +987,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
799
987
|
hiddenIds: string[];
|
|
800
988
|
nonInteractiveIds: string[];
|
|
801
989
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
990
|
+
itemSizeCache: Record<string, number>;
|
|
802
991
|
itemWidthCache: Record<string, number>;
|
|
992
|
+
containerSize: number;
|
|
803
993
|
containerWidth: number;
|
|
804
994
|
containerGap: number;
|
|
805
995
|
overflowTargetWidth: number;
|
|
@@ -832,7 +1022,44 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
832
1022
|
hiddenIds: string[];
|
|
833
1023
|
nonInteractiveIds: string[];
|
|
834
1024
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1025
|
+
itemSizeCache: Record<string, number>;
|
|
835
1026
|
itemWidthCache: Record<string, number>;
|
|
1027
|
+
containerSize: number;
|
|
1028
|
+
containerWidth: number;
|
|
1029
|
+
containerGap: number;
|
|
1030
|
+
overflowTargetWidth: number;
|
|
1031
|
+
selectedIds: string[] | "all";
|
|
1032
|
+
unselectedIds: string[];
|
|
1033
|
+
cursorId: string;
|
|
1034
|
+
columnCount: number;
|
|
1035
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1036
|
+
cursorIndexRef: {
|
|
1037
|
+
readonly current: number;
|
|
1038
|
+
};
|
|
1039
|
+
UNSTABLE_virtual: {
|
|
1040
|
+
virtualItems: import("../../../collection/lib/react-virtual").VirtualItem[];
|
|
1041
|
+
totalSize: number;
|
|
1042
|
+
scrollToOffset: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1043
|
+
scrollToIndex: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1044
|
+
measure: () => void;
|
|
1045
|
+
};
|
|
1046
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1047
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1048
|
+
id: string;
|
|
1049
|
+
indexRef: React.MutableRefObject<number>;
|
|
1050
|
+
isVirtualized: boolean;
|
|
1051
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1052
|
+
}) => boolean) | undefined;
|
|
1053
|
+
shouldSetContainerSize?: ((data: {
|
|
1054
|
+
width?: number | undefined;
|
|
1055
|
+
height?: number | undefined;
|
|
1056
|
+
}, state: {
|
|
1057
|
+
hiddenIds: string[];
|
|
1058
|
+
nonInteractiveIds: string[];
|
|
1059
|
+
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1060
|
+
itemSizeCache: Record<string, number>;
|
|
1061
|
+
itemWidthCache: Record<string, number>;
|
|
1062
|
+
containerSize: number;
|
|
836
1063
|
containerWidth: number;
|
|
837
1064
|
containerGap: number;
|
|
838
1065
|
overflowTargetWidth: number;
|
|
@@ -864,7 +1091,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
864
1091
|
hiddenIds: string[];
|
|
865
1092
|
nonInteractiveIds: string[];
|
|
866
1093
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1094
|
+
itemSizeCache: Record<string, number>;
|
|
867
1095
|
itemWidthCache: Record<string, number>;
|
|
1096
|
+
containerSize: number;
|
|
868
1097
|
containerWidth: number;
|
|
869
1098
|
containerGap: number;
|
|
870
1099
|
overflowTargetWidth: number;
|
|
@@ -896,7 +1125,44 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
896
1125
|
hiddenIds: string[];
|
|
897
1126
|
nonInteractiveIds: string[];
|
|
898
1127
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1128
|
+
itemSizeCache: Record<string, number>;
|
|
899
1129
|
itemWidthCache: Record<string, number>;
|
|
1130
|
+
containerSize: number;
|
|
1131
|
+
containerWidth: number;
|
|
1132
|
+
containerGap: number;
|
|
1133
|
+
overflowTargetWidth: number;
|
|
1134
|
+
selectedIds: string[] | "all";
|
|
1135
|
+
unselectedIds: string[];
|
|
1136
|
+
cursorId: string;
|
|
1137
|
+
columnCount: number;
|
|
1138
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1139
|
+
cursorIndexRef: {
|
|
1140
|
+
readonly current: number;
|
|
1141
|
+
};
|
|
1142
|
+
UNSTABLE_virtual: {
|
|
1143
|
+
virtualItems: import("../../../collection/lib/react-virtual").VirtualItem[];
|
|
1144
|
+
totalSize: number;
|
|
1145
|
+
scrollToOffset: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1146
|
+
scrollToIndex: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1147
|
+
measure: () => void;
|
|
1148
|
+
};
|
|
1149
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1150
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1151
|
+
id: string;
|
|
1152
|
+
indexRef: React.MutableRefObject<number>;
|
|
1153
|
+
isVirtualized: boolean;
|
|
1154
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1155
|
+
}) => boolean) | undefined;
|
|
1156
|
+
shouldSetOverflowTargetSize?: ((data: {
|
|
1157
|
+
width: number;
|
|
1158
|
+
height: number;
|
|
1159
|
+
}, state: {
|
|
1160
|
+
hiddenIds: string[];
|
|
1161
|
+
nonInteractiveIds: string[];
|
|
1162
|
+
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1163
|
+
itemSizeCache: Record<string, number>;
|
|
1164
|
+
itemWidthCache: Record<string, number>;
|
|
1165
|
+
containerSize: number;
|
|
900
1166
|
containerWidth: number;
|
|
901
1167
|
containerGap: number;
|
|
902
1168
|
overflowTargetWidth: number;
|
|
@@ -928,7 +1194,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
928
1194
|
hiddenIds: string[];
|
|
929
1195
|
nonInteractiveIds: string[];
|
|
930
1196
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1197
|
+
itemSizeCache: Record<string, number>;
|
|
931
1198
|
itemWidthCache: Record<string, number>;
|
|
1199
|
+
containerSize: number;
|
|
932
1200
|
containerWidth: number;
|
|
933
1201
|
containerGap: number;
|
|
934
1202
|
overflowTargetWidth: number;
|
|
@@ -961,7 +1229,79 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
961
1229
|
hiddenIds: string[];
|
|
962
1230
|
nonInteractiveIds: string[];
|
|
963
1231
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1232
|
+
itemSizeCache: Record<string, number>;
|
|
1233
|
+
itemWidthCache: Record<string, number>;
|
|
1234
|
+
containerSize: number;
|
|
1235
|
+
containerWidth: number;
|
|
1236
|
+
containerGap: number;
|
|
1237
|
+
overflowTargetWidth: number;
|
|
1238
|
+
selectedIds: string[] | "all";
|
|
1239
|
+
unselectedIds: string[];
|
|
1240
|
+
cursorId: string;
|
|
1241
|
+
columnCount: number;
|
|
1242
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1243
|
+
cursorIndexRef: {
|
|
1244
|
+
readonly current: number;
|
|
1245
|
+
};
|
|
1246
|
+
UNSTABLE_virtual: {
|
|
1247
|
+
virtualItems: import("../../../collection/lib/react-virtual").VirtualItem[];
|
|
1248
|
+
totalSize: number;
|
|
1249
|
+
scrollToOffset: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1250
|
+
scrollToIndex: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1251
|
+
measure: () => void;
|
|
1252
|
+
};
|
|
1253
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1254
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1255
|
+
id: string;
|
|
1256
|
+
indexRef: React.MutableRefObject<number>;
|
|
1257
|
+
isVirtualized: boolean;
|
|
1258
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1259
|
+
}) => boolean) | undefined;
|
|
1260
|
+
shouldAddItemSize?: ((data: {
|
|
1261
|
+
id: string;
|
|
1262
|
+
width: number;
|
|
1263
|
+
height: number;
|
|
1264
|
+
}, state: {
|
|
1265
|
+
hiddenIds: string[];
|
|
1266
|
+
nonInteractiveIds: string[];
|
|
1267
|
+
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1268
|
+
itemSizeCache: Record<string, number>;
|
|
964
1269
|
itemWidthCache: Record<string, number>;
|
|
1270
|
+
containerSize: number;
|
|
1271
|
+
containerWidth: number;
|
|
1272
|
+
containerGap: number;
|
|
1273
|
+
overflowTargetWidth: number;
|
|
1274
|
+
selectedIds: string[] | "all";
|
|
1275
|
+
unselectedIds: string[];
|
|
1276
|
+
cursorId: string;
|
|
1277
|
+
columnCount: number;
|
|
1278
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1279
|
+
cursorIndexRef: {
|
|
1280
|
+
readonly current: number;
|
|
1281
|
+
};
|
|
1282
|
+
UNSTABLE_virtual: {
|
|
1283
|
+
virtualItems: import("../../../collection/lib/react-virtual").VirtualItem[];
|
|
1284
|
+
totalSize: number;
|
|
1285
|
+
scrollToOffset: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1286
|
+
scrollToIndex: (index: number, options?: import("../../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1287
|
+
measure: () => void;
|
|
1288
|
+
};
|
|
1289
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1290
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1291
|
+
id: string;
|
|
1292
|
+
indexRef: React.MutableRefObject<number>;
|
|
1293
|
+
isVirtualized: boolean;
|
|
1294
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1295
|
+
}) => boolean) | undefined;
|
|
1296
|
+
shouldRemoveItemSize?: ((data: {
|
|
1297
|
+
id: string;
|
|
1298
|
+
}, state: {
|
|
1299
|
+
hiddenIds: string[];
|
|
1300
|
+
nonInteractiveIds: string[];
|
|
1301
|
+
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1302
|
+
itemSizeCache: Record<string, number>;
|
|
1303
|
+
itemWidthCache: Record<string, number>;
|
|
1304
|
+
containerSize: number;
|
|
965
1305
|
containerWidth: number;
|
|
966
1306
|
containerGap: number;
|
|
967
1307
|
overflowTargetWidth: number;
|
|
@@ -993,7 +1333,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
993
1333
|
hiddenIds: string[];
|
|
994
1334
|
nonInteractiveIds: string[];
|
|
995
1335
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1336
|
+
itemSizeCache: Record<string, number>;
|
|
996
1337
|
itemWidthCache: Record<string, number>;
|
|
1338
|
+
containerSize: number;
|
|
997
1339
|
containerWidth: number;
|
|
998
1340
|
containerGap: number;
|
|
999
1341
|
overflowTargetWidth: number;
|
|
@@ -1025,7 +1367,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1025
1367
|
hiddenIds: string[];
|
|
1026
1368
|
nonInteractiveIds: string[];
|
|
1027
1369
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1370
|
+
itemSizeCache: Record<string, number>;
|
|
1028
1371
|
itemWidthCache: Record<string, number>;
|
|
1372
|
+
containerSize: number;
|
|
1029
1373
|
containerWidth: number;
|
|
1030
1374
|
containerGap: number;
|
|
1031
1375
|
overflowTargetWidth: number;
|
|
@@ -1057,7 +1401,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1057
1401
|
hiddenIds: string[];
|
|
1058
1402
|
nonInteractiveIds: string[];
|
|
1059
1403
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1404
|
+
itemSizeCache: Record<string, number>;
|
|
1060
1405
|
itemWidthCache: Record<string, number>;
|
|
1406
|
+
containerSize: number;
|
|
1061
1407
|
containerWidth: number;
|
|
1062
1408
|
containerGap: number;
|
|
1063
1409
|
overflowTargetWidth: number;
|
|
@@ -1087,7 +1433,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1087
1433
|
hiddenIds: string[];
|
|
1088
1434
|
nonInteractiveIds: string[];
|
|
1089
1435
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1436
|
+
itemSizeCache: Record<string, number>;
|
|
1090
1437
|
itemWidthCache: Record<string, number>;
|
|
1438
|
+
containerSize: number;
|
|
1091
1439
|
containerWidth: number;
|
|
1092
1440
|
containerGap: number;
|
|
1093
1441
|
overflowTargetWidth: number;
|
|
@@ -1117,7 +1465,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1117
1465
|
hiddenIds: string[];
|
|
1118
1466
|
nonInteractiveIds: string[];
|
|
1119
1467
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1468
|
+
itemSizeCache: Record<string, number>;
|
|
1120
1469
|
itemWidthCache: Record<string, number>;
|
|
1470
|
+
containerSize: number;
|
|
1121
1471
|
containerWidth: number;
|
|
1122
1472
|
containerGap: number;
|
|
1123
1473
|
overflowTargetWidth: number;
|
|
@@ -1147,7 +1497,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1147
1497
|
hiddenIds: string[];
|
|
1148
1498
|
nonInteractiveIds: string[];
|
|
1149
1499
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1500
|
+
itemSizeCache: Record<string, number>;
|
|
1150
1501
|
itemWidthCache: Record<string, number>;
|
|
1502
|
+
containerSize: number;
|
|
1151
1503
|
containerWidth: number;
|
|
1152
1504
|
containerGap: number;
|
|
1153
1505
|
overflowTargetWidth: number;
|
|
@@ -1179,7 +1531,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1179
1531
|
hiddenIds: string[];
|
|
1180
1532
|
nonInteractiveIds: string[];
|
|
1181
1533
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1534
|
+
itemSizeCache: Record<string, number>;
|
|
1182
1535
|
itemWidthCache: Record<string, number>;
|
|
1536
|
+
containerSize: number;
|
|
1183
1537
|
containerWidth: number;
|
|
1184
1538
|
containerGap: number;
|
|
1185
1539
|
overflowTargetWidth: number;
|
|
@@ -1209,7 +1563,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1209
1563
|
hiddenIds: string[];
|
|
1210
1564
|
nonInteractiveIds: string[];
|
|
1211
1565
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1566
|
+
itemSizeCache: Record<string, number>;
|
|
1212
1567
|
itemWidthCache: Record<string, number>;
|
|
1568
|
+
containerSize: number;
|
|
1213
1569
|
containerWidth: number;
|
|
1214
1570
|
containerGap: number;
|
|
1215
1571
|
overflowTargetWidth: number;
|
|
@@ -1239,7 +1595,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1239
1595
|
hiddenIds: string[];
|
|
1240
1596
|
nonInteractiveIds: string[];
|
|
1241
1597
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1598
|
+
itemSizeCache: Record<string, number>;
|
|
1242
1599
|
itemWidthCache: Record<string, number>;
|
|
1600
|
+
containerSize: number;
|
|
1243
1601
|
containerWidth: number;
|
|
1244
1602
|
containerGap: number;
|
|
1245
1603
|
overflowTargetWidth: number;
|
|
@@ -1269,7 +1627,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1269
1627
|
hiddenIds: string[];
|
|
1270
1628
|
nonInteractiveIds: string[];
|
|
1271
1629
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1630
|
+
itemSizeCache: Record<string, number>;
|
|
1272
1631
|
itemWidthCache: Record<string, number>;
|
|
1632
|
+
containerSize: number;
|
|
1273
1633
|
containerWidth: number;
|
|
1274
1634
|
containerGap: number;
|
|
1275
1635
|
overflowTargetWidth: number;
|
|
@@ -1299,7 +1659,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1299
1659
|
hiddenIds: string[];
|
|
1300
1660
|
nonInteractiveIds: string[];
|
|
1301
1661
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1662
|
+
itemSizeCache: Record<string, number>;
|
|
1302
1663
|
itemWidthCache: Record<string, number>;
|
|
1664
|
+
containerSize: number;
|
|
1303
1665
|
containerWidth: number;
|
|
1304
1666
|
containerGap: number;
|
|
1305
1667
|
overflowTargetWidth: number;
|
|
@@ -1329,7 +1691,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1329
1691
|
hiddenIds: string[];
|
|
1330
1692
|
nonInteractiveIds: string[];
|
|
1331
1693
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1694
|
+
itemSizeCache: Record<string, number>;
|
|
1332
1695
|
itemWidthCache: Record<string, number>;
|
|
1696
|
+
containerSize: number;
|
|
1333
1697
|
containerWidth: number;
|
|
1334
1698
|
containerGap: number;
|
|
1335
1699
|
overflowTargetWidth: number;
|
|
@@ -1359,7 +1723,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1359
1723
|
hiddenIds: string[];
|
|
1360
1724
|
nonInteractiveIds: string[];
|
|
1361
1725
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1726
|
+
itemSizeCache: Record<string, number>;
|
|
1362
1727
|
itemWidthCache: Record<string, number>;
|
|
1728
|
+
containerSize: number;
|
|
1363
1729
|
containerWidth: number;
|
|
1364
1730
|
containerGap: number;
|
|
1365
1731
|
overflowTargetWidth: number;
|
|
@@ -1389,7 +1755,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1389
1755
|
hiddenIds: string[];
|
|
1390
1756
|
nonInteractiveIds: string[];
|
|
1391
1757
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1758
|
+
itemSizeCache: Record<string, number>;
|
|
1392
1759
|
itemWidthCache: Record<string, number>;
|
|
1760
|
+
containerSize: number;
|
|
1393
1761
|
containerWidth: number;
|
|
1394
1762
|
containerGap: number;
|
|
1395
1763
|
overflowTargetWidth: number;
|
|
@@ -1419,7 +1787,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1419
1787
|
hiddenIds: string[];
|
|
1420
1788
|
nonInteractiveIds: string[];
|
|
1421
1789
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1790
|
+
itemSizeCache: Record<string, number>;
|
|
1422
1791
|
itemWidthCache: Record<string, number>;
|
|
1792
|
+
containerSize: number;
|
|
1423
1793
|
containerWidth: number;
|
|
1424
1794
|
containerGap: number;
|
|
1425
1795
|
overflowTargetWidth: number;
|
|
@@ -1449,7 +1819,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1449
1819
|
hiddenIds: string[];
|
|
1450
1820
|
nonInteractiveIds: string[];
|
|
1451
1821
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1822
|
+
itemSizeCache: Record<string, number>;
|
|
1452
1823
|
itemWidthCache: Record<string, number>;
|
|
1824
|
+
containerSize: number;
|
|
1453
1825
|
containerWidth: number;
|
|
1454
1826
|
containerGap: number;
|
|
1455
1827
|
overflowTargetWidth: number;
|
|
@@ -1479,7 +1851,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1479
1851
|
hiddenIds: string[];
|
|
1480
1852
|
nonInteractiveIds: string[];
|
|
1481
1853
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1854
|
+
itemSizeCache: Record<string, number>;
|
|
1482
1855
|
itemWidthCache: Record<string, number>;
|
|
1856
|
+
containerSize: number;
|
|
1483
1857
|
containerWidth: number;
|
|
1484
1858
|
containerGap: number;
|
|
1485
1859
|
overflowTargetWidth: number;
|
|
@@ -1512,7 +1886,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1512
1886
|
hiddenIds: string[];
|
|
1513
1887
|
nonInteractiveIds: string[];
|
|
1514
1888
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1889
|
+
itemSizeCache: Record<string, number>;
|
|
1515
1890
|
itemWidthCache: Record<string, number>;
|
|
1891
|
+
containerSize: number;
|
|
1516
1892
|
containerWidth: number;
|
|
1517
1893
|
containerGap: number;
|
|
1518
1894
|
overflowTargetWidth: number;
|
|
@@ -1544,7 +1920,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1544
1920
|
hiddenIds: string[];
|
|
1545
1921
|
nonInteractiveIds: string[];
|
|
1546
1922
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1923
|
+
itemSizeCache: Record<string, number>;
|
|
1547
1924
|
itemWidthCache: Record<string, number>;
|
|
1925
|
+
containerSize: number;
|
|
1548
1926
|
containerWidth: number;
|
|
1549
1927
|
containerGap: number;
|
|
1550
1928
|
overflowTargetWidth: number;
|
|
@@ -1576,7 +1954,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1576
1954
|
hiddenIds: string[];
|
|
1577
1955
|
nonInteractiveIds: string[];
|
|
1578
1956
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1957
|
+
itemSizeCache: Record<string, number>;
|
|
1579
1958
|
itemWidthCache: Record<string, number>;
|
|
1959
|
+
containerSize: number;
|
|
1580
1960
|
containerWidth: number;
|
|
1581
1961
|
containerGap: number;
|
|
1582
1962
|
overflowTargetWidth: number;
|
|
@@ -1607,7 +1987,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1607
1987
|
hiddenIds: string[];
|
|
1608
1988
|
nonInteractiveIds: string[];
|
|
1609
1989
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
1990
|
+
itemSizeCache: Record<string, number>;
|
|
1610
1991
|
itemWidthCache: Record<string, number>;
|
|
1992
|
+
containerSize: number;
|
|
1611
1993
|
containerWidth: number;
|
|
1612
1994
|
containerGap: number;
|
|
1613
1995
|
overflowTargetWidth: number;
|
|
@@ -1637,12 +2019,20 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1637
2019
|
select(data: {
|
|
1638
2020
|
id: string;
|
|
1639
2021
|
}): void;
|
|
2022
|
+
setContainerSize(data: {
|
|
2023
|
+
width?: number | undefined;
|
|
2024
|
+
height?: number | undefined;
|
|
2025
|
+
}): void;
|
|
1640
2026
|
setContainerWidth(data: {
|
|
1641
2027
|
width?: number | undefined;
|
|
1642
2028
|
}): void;
|
|
1643
2029
|
setContainerGap(data: {
|
|
1644
2030
|
size: number;
|
|
1645
2031
|
}): void;
|
|
2032
|
+
setOverflowTargetSize(data: {
|
|
2033
|
+
width: number;
|
|
2034
|
+
height: number;
|
|
2035
|
+
}): void;
|
|
1646
2036
|
setOverflowTargetWidth(data: {
|
|
1647
2037
|
width: number;
|
|
1648
2038
|
}): void;
|
|
@@ -1650,6 +2040,14 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1650
2040
|
id: string;
|
|
1651
2041
|
width: number;
|
|
1652
2042
|
}): void;
|
|
2043
|
+
addItemSize(data: {
|
|
2044
|
+
id: string;
|
|
2045
|
+
width: number;
|
|
2046
|
+
height: number;
|
|
2047
|
+
}): void;
|
|
2048
|
+
removeItemSize(data: {
|
|
2049
|
+
id: string;
|
|
2050
|
+
}): void;
|
|
1653
2051
|
removeItemWidth(data: {
|
|
1654
2052
|
id: string;
|
|
1655
2053
|
}): void;
|
|
@@ -1815,7 +2213,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1815
2213
|
hiddenIds: string[];
|
|
1816
2214
|
nonInteractiveIds: string[];
|
|
1817
2215
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
2216
|
+
itemSizeCache: Record<string, number>;
|
|
1818
2217
|
itemWidthCache: Record<string, number>;
|
|
2218
|
+
containerSize: number;
|
|
1819
2219
|
containerWidth: number;
|
|
1820
2220
|
containerGap: number;
|
|
1821
2221
|
overflowTargetWidth: number;
|
|
@@ -1844,12 +2244,20 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1844
2244
|
select(data: {
|
|
1845
2245
|
id: string;
|
|
1846
2246
|
}): void;
|
|
2247
|
+
setContainerSize(data: {
|
|
2248
|
+
width?: number | undefined;
|
|
2249
|
+
height?: number | undefined;
|
|
2250
|
+
}): void;
|
|
1847
2251
|
setContainerWidth(data: {
|
|
1848
2252
|
width?: number | undefined;
|
|
1849
2253
|
}): void;
|
|
1850
2254
|
setContainerGap(data: {
|
|
1851
2255
|
size: number;
|
|
1852
2256
|
}): void;
|
|
2257
|
+
setOverflowTargetSize(data: {
|
|
2258
|
+
width: number;
|
|
2259
|
+
height: number;
|
|
2260
|
+
}): void;
|
|
1853
2261
|
setOverflowTargetWidth(data: {
|
|
1854
2262
|
width: number;
|
|
1855
2263
|
}): void;
|
|
@@ -1857,6 +2265,14 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1857
2265
|
id: string;
|
|
1858
2266
|
width: number;
|
|
1859
2267
|
}): void;
|
|
2268
|
+
addItemSize(data: {
|
|
2269
|
+
id: string;
|
|
2270
|
+
width: number;
|
|
2271
|
+
height: number;
|
|
2272
|
+
}): void;
|
|
2273
|
+
removeItemSize(data: {
|
|
2274
|
+
id: string;
|
|
2275
|
+
}): void;
|
|
1860
2276
|
removeItemWidth(data: {
|
|
1861
2277
|
id: string;
|
|
1862
2278
|
}): void;
|
|
@@ -1897,7 +2313,9 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1897
2313
|
hiddenIds: string[];
|
|
1898
2314
|
nonInteractiveIds: string[];
|
|
1899
2315
|
orientation: import("../../../collection/lib/useBaseListModel").Orientation;
|
|
2316
|
+
itemSizeCache: Record<string, number>;
|
|
1900
2317
|
itemWidthCache: Record<string, number>;
|
|
2318
|
+
containerSize: number;
|
|
1901
2319
|
containerWidth: number;
|
|
1902
2320
|
containerGap: number;
|
|
1903
2321
|
overflowTargetWidth: number;
|
|
@@ -1927,12 +2345,20 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1927
2345
|
select(data: {
|
|
1928
2346
|
id: string;
|
|
1929
2347
|
}): void;
|
|
2348
|
+
setContainerSize(data: {
|
|
2349
|
+
width?: number | undefined;
|
|
2350
|
+
height?: number | undefined;
|
|
2351
|
+
}): void;
|
|
1930
2352
|
setContainerWidth(data: {
|
|
1931
2353
|
width?: number | undefined;
|
|
1932
2354
|
}): void;
|
|
1933
2355
|
setContainerGap(data: {
|
|
1934
2356
|
size: number;
|
|
1935
2357
|
}): void;
|
|
2358
|
+
setOverflowTargetSize(data: {
|
|
2359
|
+
width: number;
|
|
2360
|
+
height: number;
|
|
2361
|
+
}): void;
|
|
1936
2362
|
setOverflowTargetWidth(data: {
|
|
1937
2363
|
width: number;
|
|
1938
2364
|
}): void;
|
|
@@ -1940,6 +2366,14 @@ export declare const useBreadcrumbsModel: (<TT_Special_Generic>(config?: (Partia
|
|
|
1940
2366
|
id: string;
|
|
1941
2367
|
width: number;
|
|
1942
2368
|
}): void;
|
|
2369
|
+
addItemSize(data: {
|
|
2370
|
+
id: string;
|
|
2371
|
+
width: number;
|
|
2372
|
+
height: number;
|
|
2373
|
+
}): void;
|
|
2374
|
+
removeItemSize(data: {
|
|
2375
|
+
id: string;
|
|
2376
|
+
}): void;
|
|
1943
2377
|
removeItemWidth(data: {
|
|
1944
2378
|
id: string;
|
|
1945
2379
|
}): void;
|