@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
|
@@ -71,7 +71,44 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
71
71
|
hiddenIds: string[];
|
|
72
72
|
nonInteractiveIds: string[];
|
|
73
73
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
74
|
+
itemSizeCache: Record<string, number>;
|
|
74
75
|
itemWidthCache: Record<string, number>;
|
|
76
|
+
containerSize: number;
|
|
77
|
+
containerWidth: number;
|
|
78
|
+
containerGap: number;
|
|
79
|
+
overflowTargetWidth: number;
|
|
80
|
+
selectedIds: string[] | "all";
|
|
81
|
+
unselectedIds: string[];
|
|
82
|
+
cursorId: string;
|
|
83
|
+
columnCount: number;
|
|
84
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
85
|
+
cursorIndexRef: {
|
|
86
|
+
readonly current: number;
|
|
87
|
+
};
|
|
88
|
+
UNSTABLE_virtual: {
|
|
89
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
90
|
+
totalSize: number;
|
|
91
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
92
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
93
|
+
measure: () => void;
|
|
94
|
+
};
|
|
95
|
+
UNSTABLE_defaultItemHeight: number;
|
|
96
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
97
|
+
id: string;
|
|
98
|
+
indexRef: React.MutableRefObject<number>;
|
|
99
|
+
isVirtualized: boolean;
|
|
100
|
+
items: import("../..").Item<any>[];
|
|
101
|
+
}) => void) | undefined;
|
|
102
|
+
onSetContainerSize?: ((data: {
|
|
103
|
+
width?: number | undefined;
|
|
104
|
+
height?: number | undefined;
|
|
105
|
+
}, prevState: {
|
|
106
|
+
hiddenIds: string[];
|
|
107
|
+
nonInteractiveIds: string[];
|
|
108
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
109
|
+
itemSizeCache: Record<string, number>;
|
|
110
|
+
itemWidthCache: Record<string, number>;
|
|
111
|
+
containerSize: number;
|
|
75
112
|
containerWidth: number;
|
|
76
113
|
containerGap: number;
|
|
77
114
|
overflowTargetWidth: number;
|
|
@@ -103,7 +140,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
103
140
|
hiddenIds: string[];
|
|
104
141
|
nonInteractiveIds: string[];
|
|
105
142
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
143
|
+
itemSizeCache: Record<string, number>;
|
|
106
144
|
itemWidthCache: Record<string, number>;
|
|
145
|
+
containerSize: number;
|
|
107
146
|
containerWidth: number;
|
|
108
147
|
containerGap: number;
|
|
109
148
|
overflowTargetWidth: number;
|
|
@@ -135,7 +174,44 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
135
174
|
hiddenIds: string[];
|
|
136
175
|
nonInteractiveIds: string[];
|
|
137
176
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
177
|
+
itemSizeCache: Record<string, number>;
|
|
178
|
+
itemWidthCache: Record<string, number>;
|
|
179
|
+
containerSize: number;
|
|
180
|
+
containerWidth: number;
|
|
181
|
+
containerGap: number;
|
|
182
|
+
overflowTargetWidth: number;
|
|
183
|
+
selectedIds: string[] | "all";
|
|
184
|
+
unselectedIds: string[];
|
|
185
|
+
cursorId: string;
|
|
186
|
+
columnCount: number;
|
|
187
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
188
|
+
cursorIndexRef: {
|
|
189
|
+
readonly current: number;
|
|
190
|
+
};
|
|
191
|
+
UNSTABLE_virtual: {
|
|
192
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
193
|
+
totalSize: number;
|
|
194
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
195
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
196
|
+
measure: () => void;
|
|
197
|
+
};
|
|
198
|
+
UNSTABLE_defaultItemHeight: number;
|
|
199
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
200
|
+
id: string;
|
|
201
|
+
indexRef: React.MutableRefObject<number>;
|
|
202
|
+
isVirtualized: boolean;
|
|
203
|
+
items: import("../..").Item<any>[];
|
|
204
|
+
}) => void) | undefined;
|
|
205
|
+
onSetOverflowTargetSize?: ((data: {
|
|
206
|
+
width: number;
|
|
207
|
+
height: number;
|
|
208
|
+
}, prevState: {
|
|
209
|
+
hiddenIds: string[];
|
|
210
|
+
nonInteractiveIds: string[];
|
|
211
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
212
|
+
itemSizeCache: Record<string, number>;
|
|
138
213
|
itemWidthCache: Record<string, number>;
|
|
214
|
+
containerSize: number;
|
|
139
215
|
containerWidth: number;
|
|
140
216
|
containerGap: number;
|
|
141
217
|
overflowTargetWidth: number;
|
|
@@ -167,7 +243,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
167
243
|
hiddenIds: string[];
|
|
168
244
|
nonInteractiveIds: string[];
|
|
169
245
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
246
|
+
itemSizeCache: Record<string, number>;
|
|
170
247
|
itemWidthCache: Record<string, number>;
|
|
248
|
+
containerSize: number;
|
|
171
249
|
containerWidth: number;
|
|
172
250
|
containerGap: number;
|
|
173
251
|
overflowTargetWidth: number;
|
|
@@ -200,7 +278,79 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
200
278
|
hiddenIds: string[];
|
|
201
279
|
nonInteractiveIds: string[];
|
|
202
280
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
281
|
+
itemSizeCache: Record<string, number>;
|
|
203
282
|
itemWidthCache: Record<string, number>;
|
|
283
|
+
containerSize: number;
|
|
284
|
+
containerWidth: number;
|
|
285
|
+
containerGap: number;
|
|
286
|
+
overflowTargetWidth: number;
|
|
287
|
+
selectedIds: string[] | "all";
|
|
288
|
+
unselectedIds: string[];
|
|
289
|
+
cursorId: string;
|
|
290
|
+
columnCount: number;
|
|
291
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
292
|
+
cursorIndexRef: {
|
|
293
|
+
readonly current: number;
|
|
294
|
+
};
|
|
295
|
+
UNSTABLE_virtual: {
|
|
296
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
297
|
+
totalSize: number;
|
|
298
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
299
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
300
|
+
measure: () => void;
|
|
301
|
+
};
|
|
302
|
+
UNSTABLE_defaultItemHeight: number;
|
|
303
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
304
|
+
id: string;
|
|
305
|
+
indexRef: React.MutableRefObject<number>;
|
|
306
|
+
isVirtualized: boolean;
|
|
307
|
+
items: import("../..").Item<any>[];
|
|
308
|
+
}) => void) | undefined;
|
|
309
|
+
onAddItemSize?: ((data: {
|
|
310
|
+
id: string;
|
|
311
|
+
width: number;
|
|
312
|
+
height: number;
|
|
313
|
+
}, prevState: {
|
|
314
|
+
hiddenIds: string[];
|
|
315
|
+
nonInteractiveIds: string[];
|
|
316
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
317
|
+
itemSizeCache: Record<string, number>;
|
|
318
|
+
itemWidthCache: Record<string, number>;
|
|
319
|
+
containerSize: number;
|
|
320
|
+
containerWidth: number;
|
|
321
|
+
containerGap: number;
|
|
322
|
+
overflowTargetWidth: number;
|
|
323
|
+
selectedIds: string[] | "all";
|
|
324
|
+
unselectedIds: string[];
|
|
325
|
+
cursorId: string;
|
|
326
|
+
columnCount: number;
|
|
327
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
328
|
+
cursorIndexRef: {
|
|
329
|
+
readonly current: number;
|
|
330
|
+
};
|
|
331
|
+
UNSTABLE_virtual: {
|
|
332
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
333
|
+
totalSize: number;
|
|
334
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
335
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
336
|
+
measure: () => void;
|
|
337
|
+
};
|
|
338
|
+
UNSTABLE_defaultItemHeight: number;
|
|
339
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
340
|
+
id: string;
|
|
341
|
+
indexRef: React.MutableRefObject<number>;
|
|
342
|
+
isVirtualized: boolean;
|
|
343
|
+
items: import("../..").Item<any>[];
|
|
344
|
+
}) => void) | undefined;
|
|
345
|
+
onRemoveItemSize?: ((data: {
|
|
346
|
+
id: string;
|
|
347
|
+
}, prevState: {
|
|
348
|
+
hiddenIds: string[];
|
|
349
|
+
nonInteractiveIds: string[];
|
|
350
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
351
|
+
itemSizeCache: Record<string, number>;
|
|
352
|
+
itemWidthCache: Record<string, number>;
|
|
353
|
+
containerSize: number;
|
|
204
354
|
containerWidth: number;
|
|
205
355
|
containerGap: number;
|
|
206
356
|
overflowTargetWidth: number;
|
|
@@ -232,7 +382,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
232
382
|
hiddenIds: string[];
|
|
233
383
|
nonInteractiveIds: string[];
|
|
234
384
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
385
|
+
itemSizeCache: Record<string, number>;
|
|
235
386
|
itemWidthCache: Record<string, number>;
|
|
387
|
+
containerSize: number;
|
|
236
388
|
containerWidth: number;
|
|
237
389
|
containerGap: number;
|
|
238
390
|
overflowTargetWidth: number;
|
|
@@ -264,7 +416,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
264
416
|
hiddenIds: string[];
|
|
265
417
|
nonInteractiveIds: string[];
|
|
266
418
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
419
|
+
itemSizeCache: Record<string, number>;
|
|
267
420
|
itemWidthCache: Record<string, number>;
|
|
421
|
+
containerSize: number;
|
|
268
422
|
containerWidth: number;
|
|
269
423
|
containerGap: number;
|
|
270
424
|
overflowTargetWidth: number;
|
|
@@ -296,7 +450,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
296
450
|
hiddenIds: string[];
|
|
297
451
|
nonInteractiveIds: string[];
|
|
298
452
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
453
|
+
itemSizeCache: Record<string, number>;
|
|
299
454
|
itemWidthCache: Record<string, number>;
|
|
455
|
+
containerSize: number;
|
|
300
456
|
containerWidth: number;
|
|
301
457
|
containerGap: number;
|
|
302
458
|
overflowTargetWidth: number;
|
|
@@ -326,7 +482,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
326
482
|
hiddenIds: string[];
|
|
327
483
|
nonInteractiveIds: string[];
|
|
328
484
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
485
|
+
itemSizeCache: Record<string, number>;
|
|
329
486
|
itemWidthCache: Record<string, number>;
|
|
487
|
+
containerSize: number;
|
|
330
488
|
containerWidth: number;
|
|
331
489
|
containerGap: number;
|
|
332
490
|
overflowTargetWidth: number;
|
|
@@ -356,7 +514,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
356
514
|
hiddenIds: string[];
|
|
357
515
|
nonInteractiveIds: string[];
|
|
358
516
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
517
|
+
itemSizeCache: Record<string, number>;
|
|
359
518
|
itemWidthCache: Record<string, number>;
|
|
519
|
+
containerSize: number;
|
|
360
520
|
containerWidth: number;
|
|
361
521
|
containerGap: number;
|
|
362
522
|
overflowTargetWidth: number;
|
|
@@ -386,7 +546,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
386
546
|
hiddenIds: string[];
|
|
387
547
|
nonInteractiveIds: string[];
|
|
388
548
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
549
|
+
itemSizeCache: Record<string, number>;
|
|
389
550
|
itemWidthCache: Record<string, number>;
|
|
551
|
+
containerSize: number;
|
|
390
552
|
containerWidth: number;
|
|
391
553
|
containerGap: number;
|
|
392
554
|
overflowTargetWidth: number;
|
|
@@ -418,7 +580,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
418
580
|
hiddenIds: string[];
|
|
419
581
|
nonInteractiveIds: string[];
|
|
420
582
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
583
|
+
itemSizeCache: Record<string, number>;
|
|
421
584
|
itemWidthCache: Record<string, number>;
|
|
585
|
+
containerSize: number;
|
|
422
586
|
containerWidth: number;
|
|
423
587
|
containerGap: number;
|
|
424
588
|
overflowTargetWidth: number;
|
|
@@ -448,7 +612,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
448
612
|
hiddenIds: string[];
|
|
449
613
|
nonInteractiveIds: string[];
|
|
450
614
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
615
|
+
itemSizeCache: Record<string, number>;
|
|
451
616
|
itemWidthCache: Record<string, number>;
|
|
617
|
+
containerSize: number;
|
|
452
618
|
containerWidth: number;
|
|
453
619
|
containerGap: number;
|
|
454
620
|
overflowTargetWidth: number;
|
|
@@ -478,7 +644,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
478
644
|
hiddenIds: string[];
|
|
479
645
|
nonInteractiveIds: string[];
|
|
480
646
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
647
|
+
itemSizeCache: Record<string, number>;
|
|
481
648
|
itemWidthCache: Record<string, number>;
|
|
649
|
+
containerSize: number;
|
|
482
650
|
containerWidth: number;
|
|
483
651
|
containerGap: number;
|
|
484
652
|
overflowTargetWidth: number;
|
|
@@ -508,7 +676,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
508
676
|
hiddenIds: string[];
|
|
509
677
|
nonInteractiveIds: string[];
|
|
510
678
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
679
|
+
itemSizeCache: Record<string, number>;
|
|
511
680
|
itemWidthCache: Record<string, number>;
|
|
681
|
+
containerSize: number;
|
|
512
682
|
containerWidth: number;
|
|
513
683
|
containerGap: number;
|
|
514
684
|
overflowTargetWidth: number;
|
|
@@ -538,7 +708,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
538
708
|
hiddenIds: string[];
|
|
539
709
|
nonInteractiveIds: string[];
|
|
540
710
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
711
|
+
itemSizeCache: Record<string, number>;
|
|
541
712
|
itemWidthCache: Record<string, number>;
|
|
713
|
+
containerSize: number;
|
|
542
714
|
containerWidth: number;
|
|
543
715
|
containerGap: number;
|
|
544
716
|
overflowTargetWidth: number;
|
|
@@ -568,7 +740,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
568
740
|
hiddenIds: string[];
|
|
569
741
|
nonInteractiveIds: string[];
|
|
570
742
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
743
|
+
itemSizeCache: Record<string, number>;
|
|
571
744
|
itemWidthCache: Record<string, number>;
|
|
745
|
+
containerSize: number;
|
|
572
746
|
containerWidth: number;
|
|
573
747
|
containerGap: number;
|
|
574
748
|
overflowTargetWidth: number;
|
|
@@ -598,7 +772,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
598
772
|
hiddenIds: string[];
|
|
599
773
|
nonInteractiveIds: string[];
|
|
600
774
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
775
|
+
itemSizeCache: Record<string, number>;
|
|
601
776
|
itemWidthCache: Record<string, number>;
|
|
777
|
+
containerSize: number;
|
|
602
778
|
containerWidth: number;
|
|
603
779
|
containerGap: number;
|
|
604
780
|
overflowTargetWidth: number;
|
|
@@ -628,7 +804,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
628
804
|
hiddenIds: string[];
|
|
629
805
|
nonInteractiveIds: string[];
|
|
630
806
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
807
|
+
itemSizeCache: Record<string, number>;
|
|
631
808
|
itemWidthCache: Record<string, number>;
|
|
809
|
+
containerSize: number;
|
|
632
810
|
containerWidth: number;
|
|
633
811
|
containerGap: number;
|
|
634
812
|
overflowTargetWidth: number;
|
|
@@ -658,7 +836,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
658
836
|
hiddenIds: string[];
|
|
659
837
|
nonInteractiveIds: string[];
|
|
660
838
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
839
|
+
itemSizeCache: Record<string, number>;
|
|
661
840
|
itemWidthCache: Record<string, number>;
|
|
841
|
+
containerSize: number;
|
|
662
842
|
containerWidth: number;
|
|
663
843
|
containerGap: number;
|
|
664
844
|
overflowTargetWidth: number;
|
|
@@ -688,7 +868,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
688
868
|
hiddenIds: string[];
|
|
689
869
|
nonInteractiveIds: string[];
|
|
690
870
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
871
|
+
itemSizeCache: Record<string, number>;
|
|
691
872
|
itemWidthCache: Record<string, number>;
|
|
873
|
+
containerSize: number;
|
|
692
874
|
containerWidth: number;
|
|
693
875
|
containerGap: number;
|
|
694
876
|
overflowTargetWidth: number;
|
|
@@ -718,7 +900,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
718
900
|
hiddenIds: string[];
|
|
719
901
|
nonInteractiveIds: string[];
|
|
720
902
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
903
|
+
itemSizeCache: Record<string, number>;
|
|
721
904
|
itemWidthCache: Record<string, number>;
|
|
905
|
+
containerSize: number;
|
|
722
906
|
containerWidth: number;
|
|
723
907
|
containerGap: number;
|
|
724
908
|
overflowTargetWidth: number;
|
|
@@ -751,7 +935,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
751
935
|
hiddenIds: string[];
|
|
752
936
|
nonInteractiveIds: string[];
|
|
753
937
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
938
|
+
itemSizeCache: Record<string, number>;
|
|
754
939
|
itemWidthCache: Record<string, number>;
|
|
940
|
+
containerSize: number;
|
|
755
941
|
containerWidth: number;
|
|
756
942
|
containerGap: number;
|
|
757
943
|
overflowTargetWidth: number;
|
|
@@ -783,7 +969,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
783
969
|
hiddenIds: string[];
|
|
784
970
|
nonInteractiveIds: string[];
|
|
785
971
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
972
|
+
itemSizeCache: Record<string, number>;
|
|
786
973
|
itemWidthCache: Record<string, number>;
|
|
974
|
+
containerSize: number;
|
|
787
975
|
containerWidth: number;
|
|
788
976
|
containerGap: number;
|
|
789
977
|
overflowTargetWidth: number;
|
|
@@ -815,7 +1003,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
815
1003
|
hiddenIds: string[];
|
|
816
1004
|
nonInteractiveIds: string[];
|
|
817
1005
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1006
|
+
itemSizeCache: Record<string, number>;
|
|
818
1007
|
itemWidthCache: Record<string, number>;
|
|
1008
|
+
containerSize: number;
|
|
819
1009
|
containerWidth: number;
|
|
820
1010
|
containerGap: number;
|
|
821
1011
|
overflowTargetWidth: number;
|
|
@@ -848,7 +1038,44 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
848
1038
|
hiddenIds: string[];
|
|
849
1039
|
nonInteractiveIds: string[];
|
|
850
1040
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1041
|
+
itemSizeCache: Record<string, number>;
|
|
1042
|
+
itemWidthCache: Record<string, number>;
|
|
1043
|
+
containerSize: number;
|
|
1044
|
+
containerWidth: number;
|
|
1045
|
+
containerGap: number;
|
|
1046
|
+
overflowTargetWidth: number;
|
|
1047
|
+
selectedIds: string[] | "all";
|
|
1048
|
+
unselectedIds: string[];
|
|
1049
|
+
cursorId: string;
|
|
1050
|
+
columnCount: number;
|
|
1051
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1052
|
+
cursorIndexRef: {
|
|
1053
|
+
readonly current: number;
|
|
1054
|
+
};
|
|
1055
|
+
UNSTABLE_virtual: {
|
|
1056
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1057
|
+
totalSize: number;
|
|
1058
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1059
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1060
|
+
measure: () => void;
|
|
1061
|
+
};
|
|
1062
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1063
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1064
|
+
id: string;
|
|
1065
|
+
indexRef: React.MutableRefObject<number>;
|
|
1066
|
+
isVirtualized: boolean;
|
|
1067
|
+
items: import("../..").Item<any>[];
|
|
1068
|
+
}) => boolean) | undefined;
|
|
1069
|
+
shouldSetContainerSize?: ((data: {
|
|
1070
|
+
width?: number | undefined;
|
|
1071
|
+
height?: number | undefined;
|
|
1072
|
+
}, state: {
|
|
1073
|
+
hiddenIds: string[];
|
|
1074
|
+
nonInteractiveIds: string[];
|
|
1075
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1076
|
+
itemSizeCache: Record<string, number>;
|
|
851
1077
|
itemWidthCache: Record<string, number>;
|
|
1078
|
+
containerSize: number;
|
|
852
1079
|
containerWidth: number;
|
|
853
1080
|
containerGap: number;
|
|
854
1081
|
overflowTargetWidth: number;
|
|
@@ -880,7 +1107,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
880
1107
|
hiddenIds: string[];
|
|
881
1108
|
nonInteractiveIds: string[];
|
|
882
1109
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1110
|
+
itemSizeCache: Record<string, number>;
|
|
883
1111
|
itemWidthCache: Record<string, number>;
|
|
1112
|
+
containerSize: number;
|
|
884
1113
|
containerWidth: number;
|
|
885
1114
|
containerGap: number;
|
|
886
1115
|
overflowTargetWidth: number;
|
|
@@ -912,7 +1141,44 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
912
1141
|
hiddenIds: string[];
|
|
913
1142
|
nonInteractiveIds: string[];
|
|
914
1143
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1144
|
+
itemSizeCache: Record<string, number>;
|
|
1145
|
+
itemWidthCache: Record<string, number>;
|
|
1146
|
+
containerSize: number;
|
|
1147
|
+
containerWidth: number;
|
|
1148
|
+
containerGap: number;
|
|
1149
|
+
overflowTargetWidth: number;
|
|
1150
|
+
selectedIds: string[] | "all";
|
|
1151
|
+
unselectedIds: string[];
|
|
1152
|
+
cursorId: string;
|
|
1153
|
+
columnCount: number;
|
|
1154
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1155
|
+
cursorIndexRef: {
|
|
1156
|
+
readonly current: number;
|
|
1157
|
+
};
|
|
1158
|
+
UNSTABLE_virtual: {
|
|
1159
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1160
|
+
totalSize: number;
|
|
1161
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1162
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1163
|
+
measure: () => void;
|
|
1164
|
+
};
|
|
1165
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1166
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1167
|
+
id: string;
|
|
1168
|
+
indexRef: React.MutableRefObject<number>;
|
|
1169
|
+
isVirtualized: boolean;
|
|
1170
|
+
items: import("../..").Item<any>[];
|
|
1171
|
+
}) => boolean) | undefined;
|
|
1172
|
+
shouldSetOverflowTargetSize?: ((data: {
|
|
1173
|
+
width: number;
|
|
1174
|
+
height: number;
|
|
1175
|
+
}, state: {
|
|
1176
|
+
hiddenIds: string[];
|
|
1177
|
+
nonInteractiveIds: string[];
|
|
1178
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1179
|
+
itemSizeCache: Record<string, number>;
|
|
915
1180
|
itemWidthCache: Record<string, number>;
|
|
1181
|
+
containerSize: number;
|
|
916
1182
|
containerWidth: number;
|
|
917
1183
|
containerGap: number;
|
|
918
1184
|
overflowTargetWidth: number;
|
|
@@ -944,7 +1210,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
944
1210
|
hiddenIds: string[];
|
|
945
1211
|
nonInteractiveIds: string[];
|
|
946
1212
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1213
|
+
itemSizeCache: Record<string, number>;
|
|
947
1214
|
itemWidthCache: Record<string, number>;
|
|
1215
|
+
containerSize: number;
|
|
948
1216
|
containerWidth: number;
|
|
949
1217
|
containerGap: number;
|
|
950
1218
|
overflowTargetWidth: number;
|
|
@@ -977,7 +1245,79 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
977
1245
|
hiddenIds: string[];
|
|
978
1246
|
nonInteractiveIds: string[];
|
|
979
1247
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1248
|
+
itemSizeCache: Record<string, number>;
|
|
980
1249
|
itemWidthCache: Record<string, number>;
|
|
1250
|
+
containerSize: number;
|
|
1251
|
+
containerWidth: number;
|
|
1252
|
+
containerGap: number;
|
|
1253
|
+
overflowTargetWidth: number;
|
|
1254
|
+
selectedIds: string[] | "all";
|
|
1255
|
+
unselectedIds: string[];
|
|
1256
|
+
cursorId: string;
|
|
1257
|
+
columnCount: number;
|
|
1258
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1259
|
+
cursorIndexRef: {
|
|
1260
|
+
readonly current: number;
|
|
1261
|
+
};
|
|
1262
|
+
UNSTABLE_virtual: {
|
|
1263
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1264
|
+
totalSize: number;
|
|
1265
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1266
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1267
|
+
measure: () => void;
|
|
1268
|
+
};
|
|
1269
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1270
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1271
|
+
id: string;
|
|
1272
|
+
indexRef: React.MutableRefObject<number>;
|
|
1273
|
+
isVirtualized: boolean;
|
|
1274
|
+
items: import("../..").Item<any>[];
|
|
1275
|
+
}) => boolean) | undefined;
|
|
1276
|
+
shouldAddItemSize?: ((data: {
|
|
1277
|
+
id: string;
|
|
1278
|
+
width: number;
|
|
1279
|
+
height: number;
|
|
1280
|
+
}, state: {
|
|
1281
|
+
hiddenIds: string[];
|
|
1282
|
+
nonInteractiveIds: string[];
|
|
1283
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1284
|
+
itemSizeCache: Record<string, number>;
|
|
1285
|
+
itemWidthCache: Record<string, number>;
|
|
1286
|
+
containerSize: number;
|
|
1287
|
+
containerWidth: number;
|
|
1288
|
+
containerGap: number;
|
|
1289
|
+
overflowTargetWidth: number;
|
|
1290
|
+
selectedIds: string[] | "all";
|
|
1291
|
+
unselectedIds: string[];
|
|
1292
|
+
cursorId: string;
|
|
1293
|
+
columnCount: number;
|
|
1294
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1295
|
+
cursorIndexRef: {
|
|
1296
|
+
readonly current: number;
|
|
1297
|
+
};
|
|
1298
|
+
UNSTABLE_virtual: {
|
|
1299
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1300
|
+
totalSize: number;
|
|
1301
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1302
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1303
|
+
measure: () => void;
|
|
1304
|
+
};
|
|
1305
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1306
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1307
|
+
id: string;
|
|
1308
|
+
indexRef: React.MutableRefObject<number>;
|
|
1309
|
+
isVirtualized: boolean;
|
|
1310
|
+
items: import("../..").Item<any>[];
|
|
1311
|
+
}) => boolean) | undefined;
|
|
1312
|
+
shouldRemoveItemSize?: ((data: {
|
|
1313
|
+
id: string;
|
|
1314
|
+
}, state: {
|
|
1315
|
+
hiddenIds: string[];
|
|
1316
|
+
nonInteractiveIds: string[];
|
|
1317
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1318
|
+
itemSizeCache: Record<string, number>;
|
|
1319
|
+
itemWidthCache: Record<string, number>;
|
|
1320
|
+
containerSize: number;
|
|
981
1321
|
containerWidth: number;
|
|
982
1322
|
containerGap: number;
|
|
983
1323
|
overflowTargetWidth: number;
|
|
@@ -1009,7 +1349,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1009
1349
|
hiddenIds: string[];
|
|
1010
1350
|
nonInteractiveIds: string[];
|
|
1011
1351
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1352
|
+
itemSizeCache: Record<string, number>;
|
|
1012
1353
|
itemWidthCache: Record<string, number>;
|
|
1354
|
+
containerSize: number;
|
|
1013
1355
|
containerWidth: number;
|
|
1014
1356
|
containerGap: number;
|
|
1015
1357
|
overflowTargetWidth: number;
|
|
@@ -1041,7 +1383,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1041
1383
|
hiddenIds: string[];
|
|
1042
1384
|
nonInteractiveIds: string[];
|
|
1043
1385
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1386
|
+
itemSizeCache: Record<string, number>;
|
|
1044
1387
|
itemWidthCache: Record<string, number>;
|
|
1388
|
+
containerSize: number;
|
|
1045
1389
|
containerWidth: number;
|
|
1046
1390
|
containerGap: number;
|
|
1047
1391
|
overflowTargetWidth: number;
|
|
@@ -1073,7 +1417,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1073
1417
|
hiddenIds: string[];
|
|
1074
1418
|
nonInteractiveIds: string[];
|
|
1075
1419
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1420
|
+
itemSizeCache: Record<string, number>;
|
|
1076
1421
|
itemWidthCache: Record<string, number>;
|
|
1422
|
+
containerSize: number;
|
|
1077
1423
|
containerWidth: number;
|
|
1078
1424
|
containerGap: number;
|
|
1079
1425
|
overflowTargetWidth: number;
|
|
@@ -1103,7 +1449,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1103
1449
|
hiddenIds: string[];
|
|
1104
1450
|
nonInteractiveIds: string[];
|
|
1105
1451
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1452
|
+
itemSizeCache: Record<string, number>;
|
|
1106
1453
|
itemWidthCache: Record<string, number>;
|
|
1454
|
+
containerSize: number;
|
|
1107
1455
|
containerWidth: number;
|
|
1108
1456
|
containerGap: number;
|
|
1109
1457
|
overflowTargetWidth: number;
|
|
@@ -1133,7 +1481,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1133
1481
|
hiddenIds: string[];
|
|
1134
1482
|
nonInteractiveIds: string[];
|
|
1135
1483
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1484
|
+
itemSizeCache: Record<string, number>;
|
|
1136
1485
|
itemWidthCache: Record<string, number>;
|
|
1486
|
+
containerSize: number;
|
|
1137
1487
|
containerWidth: number;
|
|
1138
1488
|
containerGap: number;
|
|
1139
1489
|
overflowTargetWidth: number;
|
|
@@ -1163,7 +1513,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1163
1513
|
hiddenIds: string[];
|
|
1164
1514
|
nonInteractiveIds: string[];
|
|
1165
1515
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1516
|
+
itemSizeCache: Record<string, number>;
|
|
1166
1517
|
itemWidthCache: Record<string, number>;
|
|
1518
|
+
containerSize: number;
|
|
1167
1519
|
containerWidth: number;
|
|
1168
1520
|
containerGap: number;
|
|
1169
1521
|
overflowTargetWidth: number;
|
|
@@ -1195,7 +1547,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1195
1547
|
hiddenIds: string[];
|
|
1196
1548
|
nonInteractiveIds: string[];
|
|
1197
1549
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1550
|
+
itemSizeCache: Record<string, number>;
|
|
1198
1551
|
itemWidthCache: Record<string, number>;
|
|
1552
|
+
containerSize: number;
|
|
1199
1553
|
containerWidth: number;
|
|
1200
1554
|
containerGap: number;
|
|
1201
1555
|
overflowTargetWidth: number;
|
|
@@ -1225,7 +1579,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1225
1579
|
hiddenIds: string[];
|
|
1226
1580
|
nonInteractiveIds: string[];
|
|
1227
1581
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1582
|
+
itemSizeCache: Record<string, number>;
|
|
1228
1583
|
itemWidthCache: Record<string, number>;
|
|
1584
|
+
containerSize: number;
|
|
1229
1585
|
containerWidth: number;
|
|
1230
1586
|
containerGap: number;
|
|
1231
1587
|
overflowTargetWidth: number;
|
|
@@ -1255,7 +1611,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1255
1611
|
hiddenIds: string[];
|
|
1256
1612
|
nonInteractiveIds: string[];
|
|
1257
1613
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1614
|
+
itemSizeCache: Record<string, number>;
|
|
1258
1615
|
itemWidthCache: Record<string, number>;
|
|
1616
|
+
containerSize: number;
|
|
1259
1617
|
containerWidth: number;
|
|
1260
1618
|
containerGap: number;
|
|
1261
1619
|
overflowTargetWidth: number;
|
|
@@ -1285,7 +1643,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1285
1643
|
hiddenIds: string[];
|
|
1286
1644
|
nonInteractiveIds: string[];
|
|
1287
1645
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1646
|
+
itemSizeCache: Record<string, number>;
|
|
1288
1647
|
itemWidthCache: Record<string, number>;
|
|
1648
|
+
containerSize: number;
|
|
1289
1649
|
containerWidth: number;
|
|
1290
1650
|
containerGap: number;
|
|
1291
1651
|
overflowTargetWidth: number;
|
|
@@ -1315,7 +1675,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1315
1675
|
hiddenIds: string[];
|
|
1316
1676
|
nonInteractiveIds: string[];
|
|
1317
1677
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1678
|
+
itemSizeCache: Record<string, number>;
|
|
1318
1679
|
itemWidthCache: Record<string, number>;
|
|
1680
|
+
containerSize: number;
|
|
1319
1681
|
containerWidth: number;
|
|
1320
1682
|
containerGap: number;
|
|
1321
1683
|
overflowTargetWidth: number;
|
|
@@ -1345,7 +1707,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1345
1707
|
hiddenIds: string[];
|
|
1346
1708
|
nonInteractiveIds: string[];
|
|
1347
1709
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1710
|
+
itemSizeCache: Record<string, number>;
|
|
1348
1711
|
itemWidthCache: Record<string, number>;
|
|
1712
|
+
containerSize: number;
|
|
1349
1713
|
containerWidth: number;
|
|
1350
1714
|
containerGap: number;
|
|
1351
1715
|
overflowTargetWidth: number;
|
|
@@ -1375,7 +1739,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1375
1739
|
hiddenIds: string[];
|
|
1376
1740
|
nonInteractiveIds: string[];
|
|
1377
1741
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1742
|
+
itemSizeCache: Record<string, number>;
|
|
1378
1743
|
itemWidthCache: Record<string, number>;
|
|
1744
|
+
containerSize: number;
|
|
1379
1745
|
containerWidth: number;
|
|
1380
1746
|
containerGap: number;
|
|
1381
1747
|
overflowTargetWidth: number;
|
|
@@ -1405,7 +1771,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1405
1771
|
hiddenIds: string[];
|
|
1406
1772
|
nonInteractiveIds: string[];
|
|
1407
1773
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1774
|
+
itemSizeCache: Record<string, number>;
|
|
1408
1775
|
itemWidthCache: Record<string, number>;
|
|
1776
|
+
containerSize: number;
|
|
1409
1777
|
containerWidth: number;
|
|
1410
1778
|
containerGap: number;
|
|
1411
1779
|
overflowTargetWidth: number;
|
|
@@ -1435,7 +1803,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1435
1803
|
hiddenIds: string[];
|
|
1436
1804
|
nonInteractiveIds: string[];
|
|
1437
1805
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1806
|
+
itemSizeCache: Record<string, number>;
|
|
1438
1807
|
itemWidthCache: Record<string, number>;
|
|
1808
|
+
containerSize: number;
|
|
1439
1809
|
containerWidth: number;
|
|
1440
1810
|
containerGap: number;
|
|
1441
1811
|
overflowTargetWidth: number;
|
|
@@ -1465,7 +1835,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1465
1835
|
hiddenIds: string[];
|
|
1466
1836
|
nonInteractiveIds: string[];
|
|
1467
1837
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1838
|
+
itemSizeCache: Record<string, number>;
|
|
1468
1839
|
itemWidthCache: Record<string, number>;
|
|
1840
|
+
containerSize: number;
|
|
1469
1841
|
containerWidth: number;
|
|
1470
1842
|
containerGap: number;
|
|
1471
1843
|
overflowTargetWidth: number;
|
|
@@ -1495,7 +1867,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1495
1867
|
hiddenIds: string[];
|
|
1496
1868
|
nonInteractiveIds: string[];
|
|
1497
1869
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1870
|
+
itemSizeCache: Record<string, number>;
|
|
1498
1871
|
itemWidthCache: Record<string, number>;
|
|
1872
|
+
containerSize: number;
|
|
1499
1873
|
containerWidth: number;
|
|
1500
1874
|
containerGap: number;
|
|
1501
1875
|
overflowTargetWidth: number;
|
|
@@ -1528,7 +1902,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1528
1902
|
hiddenIds: string[];
|
|
1529
1903
|
nonInteractiveIds: string[];
|
|
1530
1904
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1905
|
+
itemSizeCache: Record<string, number>;
|
|
1531
1906
|
itemWidthCache: Record<string, number>;
|
|
1907
|
+
containerSize: number;
|
|
1532
1908
|
containerWidth: number;
|
|
1533
1909
|
containerGap: number;
|
|
1534
1910
|
overflowTargetWidth: number;
|
|
@@ -1560,7 +1936,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1560
1936
|
hiddenIds: string[];
|
|
1561
1937
|
nonInteractiveIds: string[];
|
|
1562
1938
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1939
|
+
itemSizeCache: Record<string, number>;
|
|
1563
1940
|
itemWidthCache: Record<string, number>;
|
|
1941
|
+
containerSize: number;
|
|
1564
1942
|
containerWidth: number;
|
|
1565
1943
|
containerGap: number;
|
|
1566
1944
|
overflowTargetWidth: number;
|
|
@@ -1592,7 +1970,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1592
1970
|
hiddenIds: string[];
|
|
1593
1971
|
nonInteractiveIds: string[];
|
|
1594
1972
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1973
|
+
itemSizeCache: Record<string, number>;
|
|
1595
1974
|
itemWidthCache: Record<string, number>;
|
|
1975
|
+
containerSize: number;
|
|
1596
1976
|
containerWidth: number;
|
|
1597
1977
|
containerGap: number;
|
|
1598
1978
|
overflowTargetWidth: number;
|
|
@@ -1623,7 +2003,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1623
2003
|
hiddenIds: string[];
|
|
1624
2004
|
nonInteractiveIds: string[];
|
|
1625
2005
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2006
|
+
itemSizeCache: Record<string, number>;
|
|
1626
2007
|
itemWidthCache: Record<string, number>;
|
|
2008
|
+
containerSize: number;
|
|
1627
2009
|
containerWidth: number;
|
|
1628
2010
|
containerGap: number;
|
|
1629
2011
|
overflowTargetWidth: number;
|
|
@@ -1653,12 +2035,20 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1653
2035
|
select(data: {
|
|
1654
2036
|
id: string;
|
|
1655
2037
|
}): void;
|
|
2038
|
+
setContainerSize(data: {
|
|
2039
|
+
width?: number | undefined;
|
|
2040
|
+
height?: number | undefined;
|
|
2041
|
+
}): void;
|
|
1656
2042
|
setContainerWidth(data: {
|
|
1657
2043
|
width?: number | undefined;
|
|
1658
2044
|
}): void;
|
|
1659
2045
|
setContainerGap(data: {
|
|
1660
2046
|
size: number;
|
|
1661
2047
|
}): void;
|
|
2048
|
+
setOverflowTargetSize(data: {
|
|
2049
|
+
width: number;
|
|
2050
|
+
height: number;
|
|
2051
|
+
}): void;
|
|
1662
2052
|
setOverflowTargetWidth(data: {
|
|
1663
2053
|
width: number;
|
|
1664
2054
|
}): void;
|
|
@@ -1666,6 +2056,14 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1666
2056
|
id: string;
|
|
1667
2057
|
width: number;
|
|
1668
2058
|
}): void;
|
|
2059
|
+
addItemSize(data: {
|
|
2060
|
+
id: string;
|
|
2061
|
+
width: number;
|
|
2062
|
+
height: number;
|
|
2063
|
+
}): void;
|
|
2064
|
+
removeItemSize(data: {
|
|
2065
|
+
id: string;
|
|
2066
|
+
}): void;
|
|
1669
2067
|
removeItemWidth(data: {
|
|
1670
2068
|
id: string;
|
|
1671
2069
|
}): void;
|
|
@@ -1800,7 +2198,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1800
2198
|
hiddenIds: string[];
|
|
1801
2199
|
nonInteractiveIds: string[];
|
|
1802
2200
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2201
|
+
itemSizeCache: Record<string, number>;
|
|
1803
2202
|
itemWidthCache: Record<string, number>;
|
|
2203
|
+
containerSize: number;
|
|
1804
2204
|
containerWidth: number;
|
|
1805
2205
|
containerGap: number;
|
|
1806
2206
|
overflowTargetWidth: number;
|
|
@@ -1830,12 +2230,20 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1830
2230
|
select(data: {
|
|
1831
2231
|
id: string;
|
|
1832
2232
|
}): void;
|
|
2233
|
+
setContainerSize(data: {
|
|
2234
|
+
width?: number | undefined;
|
|
2235
|
+
height?: number | undefined;
|
|
2236
|
+
}): void;
|
|
1833
2237
|
setContainerWidth(data: {
|
|
1834
2238
|
width?: number | undefined;
|
|
1835
2239
|
}): void;
|
|
1836
2240
|
setContainerGap(data: {
|
|
1837
2241
|
size: number;
|
|
1838
2242
|
}): void;
|
|
2243
|
+
setOverflowTargetSize(data: {
|
|
2244
|
+
width: number;
|
|
2245
|
+
height: number;
|
|
2246
|
+
}): void;
|
|
1839
2247
|
setOverflowTargetWidth(data: {
|
|
1840
2248
|
width: number;
|
|
1841
2249
|
}): void;
|
|
@@ -1843,6 +2251,14 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1843
2251
|
id: string;
|
|
1844
2252
|
width: number;
|
|
1845
2253
|
}): void;
|
|
2254
|
+
addItemSize(data: {
|
|
2255
|
+
id: string;
|
|
2256
|
+
width: number;
|
|
2257
|
+
height: number;
|
|
2258
|
+
}): void;
|
|
2259
|
+
removeItemSize(data: {
|
|
2260
|
+
id: string;
|
|
2261
|
+
}): void;
|
|
1846
2262
|
removeItemWidth(data: {
|
|
1847
2263
|
id: string;
|
|
1848
2264
|
}): void;
|
|
@@ -1971,7 +2387,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1971
2387
|
hiddenIds: string[];
|
|
1972
2388
|
nonInteractiveIds: string[];
|
|
1973
2389
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2390
|
+
itemSizeCache: Record<string, number>;
|
|
1974
2391
|
itemWidthCache: Record<string, number>;
|
|
2392
|
+
containerSize: number;
|
|
1975
2393
|
containerWidth: number;
|
|
1976
2394
|
containerGap: number;
|
|
1977
2395
|
overflowTargetWidth: number;
|
|
@@ -2001,12 +2419,20 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2001
2419
|
select(data: {
|
|
2002
2420
|
id: string;
|
|
2003
2421
|
}): void;
|
|
2422
|
+
setContainerSize(data: {
|
|
2423
|
+
width?: number | undefined;
|
|
2424
|
+
height?: number | undefined;
|
|
2425
|
+
}): void;
|
|
2004
2426
|
setContainerWidth(data: {
|
|
2005
2427
|
width?: number | undefined;
|
|
2006
2428
|
}): void;
|
|
2007
2429
|
setContainerGap(data: {
|
|
2008
2430
|
size: number;
|
|
2009
2431
|
}): void;
|
|
2432
|
+
setOverflowTargetSize(data: {
|
|
2433
|
+
width: number;
|
|
2434
|
+
height: number;
|
|
2435
|
+
}): void;
|
|
2010
2436
|
setOverflowTargetWidth(data: {
|
|
2011
2437
|
width: number;
|
|
2012
2438
|
}): void;
|
|
@@ -2014,6 +2440,14 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2014
2440
|
id: string;
|
|
2015
2441
|
width: number;
|
|
2016
2442
|
}): void;
|
|
2443
|
+
addItemSize(data: {
|
|
2444
|
+
id: string;
|
|
2445
|
+
width: number;
|
|
2446
|
+
height: number;
|
|
2447
|
+
}): void;
|
|
2448
|
+
removeItemSize(data: {
|
|
2449
|
+
id: string;
|
|
2450
|
+
}): void;
|
|
2017
2451
|
removeItemWidth(data: {
|
|
2018
2452
|
id: string;
|
|
2019
2453
|
}): void;
|
|
@@ -2132,7 +2566,9 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2132
2566
|
hiddenIds: string[];
|
|
2133
2567
|
nonInteractiveIds: string[];
|
|
2134
2568
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2569
|
+
itemSizeCache: Record<string, number>;
|
|
2135
2570
|
itemWidthCache: Record<string, number>;
|
|
2571
|
+
containerSize: number;
|
|
2136
2572
|
containerWidth: number;
|
|
2137
2573
|
containerGap: number;
|
|
2138
2574
|
overflowTargetWidth: number;
|
|
@@ -2162,12 +2598,20 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2162
2598
|
select(data: {
|
|
2163
2599
|
id: string;
|
|
2164
2600
|
}): void;
|
|
2601
|
+
setContainerSize(data: {
|
|
2602
|
+
width?: number | undefined;
|
|
2603
|
+
height?: number | undefined;
|
|
2604
|
+
}): void;
|
|
2165
2605
|
setContainerWidth(data: {
|
|
2166
2606
|
width?: number | undefined;
|
|
2167
2607
|
}): void;
|
|
2168
2608
|
setContainerGap(data: {
|
|
2169
2609
|
size: number;
|
|
2170
2610
|
}): void;
|
|
2611
|
+
setOverflowTargetSize(data: {
|
|
2612
|
+
width: number;
|
|
2613
|
+
height: number;
|
|
2614
|
+
}): void;
|
|
2171
2615
|
setOverflowTargetWidth(data: {
|
|
2172
2616
|
width: number;
|
|
2173
2617
|
}): void;
|
|
@@ -2175,6 +2619,14 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2175
2619
|
id: string;
|
|
2176
2620
|
width: number;
|
|
2177
2621
|
}): void;
|
|
2622
|
+
addItemSize(data: {
|
|
2623
|
+
id: string;
|
|
2624
|
+
width: number;
|
|
2625
|
+
height: number;
|
|
2626
|
+
}): void;
|
|
2627
|
+
removeItemSize(data: {
|
|
2628
|
+
id: string;
|
|
2629
|
+
}): void;
|
|
2178
2630
|
removeItemWidth(data: {
|
|
2179
2631
|
id: string;
|
|
2180
2632
|
}): void;
|