@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
|
@@ -61,7 +61,44 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
61
61
|
hiddenIds: string[];
|
|
62
62
|
nonInteractiveIds: string[];
|
|
63
63
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
64
|
+
itemSizeCache: Record<string, number>;
|
|
64
65
|
itemWidthCache: Record<string, number>;
|
|
66
|
+
containerSize: number;
|
|
67
|
+
containerWidth: number;
|
|
68
|
+
containerGap: number;
|
|
69
|
+
overflowTargetWidth: number;
|
|
70
|
+
selectedIds: string[] | "all";
|
|
71
|
+
unselectedIds: string[];
|
|
72
|
+
cursorId: string;
|
|
73
|
+
columnCount: number;
|
|
74
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
75
|
+
cursorIndexRef: {
|
|
76
|
+
readonly current: number;
|
|
77
|
+
};
|
|
78
|
+
UNSTABLE_virtual: {
|
|
79
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
80
|
+
totalSize: number;
|
|
81
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
82
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
83
|
+
measure: () => void;
|
|
84
|
+
};
|
|
85
|
+
UNSTABLE_defaultItemHeight: number;
|
|
86
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
87
|
+
id: string;
|
|
88
|
+
indexRef: React.MutableRefObject<number>;
|
|
89
|
+
isVirtualized: boolean;
|
|
90
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
91
|
+
}) => void) | undefined;
|
|
92
|
+
onSetContainerSize?: ((data: {
|
|
93
|
+
width?: number | undefined;
|
|
94
|
+
height?: number | undefined;
|
|
95
|
+
}, prevState: {
|
|
96
|
+
hiddenIds: string[];
|
|
97
|
+
nonInteractiveIds: string[];
|
|
98
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
99
|
+
itemSizeCache: Record<string, number>;
|
|
100
|
+
itemWidthCache: Record<string, number>;
|
|
101
|
+
containerSize: number;
|
|
65
102
|
containerWidth: number;
|
|
66
103
|
containerGap: number;
|
|
67
104
|
overflowTargetWidth: number;
|
|
@@ -93,7 +130,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
93
130
|
hiddenIds: string[];
|
|
94
131
|
nonInteractiveIds: string[];
|
|
95
132
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
133
|
+
itemSizeCache: Record<string, number>;
|
|
96
134
|
itemWidthCache: Record<string, number>;
|
|
135
|
+
containerSize: number;
|
|
97
136
|
containerWidth: number;
|
|
98
137
|
containerGap: number;
|
|
99
138
|
overflowTargetWidth: number;
|
|
@@ -125,7 +164,44 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
125
164
|
hiddenIds: string[];
|
|
126
165
|
nonInteractiveIds: string[];
|
|
127
166
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
167
|
+
itemSizeCache: Record<string, number>;
|
|
168
|
+
itemWidthCache: Record<string, number>;
|
|
169
|
+
containerSize: number;
|
|
170
|
+
containerWidth: number;
|
|
171
|
+
containerGap: number;
|
|
172
|
+
overflowTargetWidth: number;
|
|
173
|
+
selectedIds: string[] | "all";
|
|
174
|
+
unselectedIds: string[];
|
|
175
|
+
cursorId: string;
|
|
176
|
+
columnCount: number;
|
|
177
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
178
|
+
cursorIndexRef: {
|
|
179
|
+
readonly current: number;
|
|
180
|
+
};
|
|
181
|
+
UNSTABLE_virtual: {
|
|
182
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
183
|
+
totalSize: number;
|
|
184
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
185
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
186
|
+
measure: () => void;
|
|
187
|
+
};
|
|
188
|
+
UNSTABLE_defaultItemHeight: number;
|
|
189
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
190
|
+
id: string;
|
|
191
|
+
indexRef: React.MutableRefObject<number>;
|
|
192
|
+
isVirtualized: boolean;
|
|
193
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
194
|
+
}) => void) | undefined;
|
|
195
|
+
onSetOverflowTargetSize?: ((data: {
|
|
196
|
+
width: number;
|
|
197
|
+
height: number;
|
|
198
|
+
}, prevState: {
|
|
199
|
+
hiddenIds: string[];
|
|
200
|
+
nonInteractiveIds: string[];
|
|
201
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
202
|
+
itemSizeCache: Record<string, number>;
|
|
128
203
|
itemWidthCache: Record<string, number>;
|
|
204
|
+
containerSize: number;
|
|
129
205
|
containerWidth: number;
|
|
130
206
|
containerGap: number;
|
|
131
207
|
overflowTargetWidth: number;
|
|
@@ -157,7 +233,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
157
233
|
hiddenIds: string[];
|
|
158
234
|
nonInteractiveIds: string[];
|
|
159
235
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
236
|
+
itemSizeCache: Record<string, number>;
|
|
160
237
|
itemWidthCache: Record<string, number>;
|
|
238
|
+
containerSize: number;
|
|
161
239
|
containerWidth: number;
|
|
162
240
|
containerGap: number;
|
|
163
241
|
overflowTargetWidth: number;
|
|
@@ -190,7 +268,79 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
190
268
|
hiddenIds: string[];
|
|
191
269
|
nonInteractiveIds: string[];
|
|
192
270
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
271
|
+
itemSizeCache: Record<string, number>;
|
|
193
272
|
itemWidthCache: Record<string, number>;
|
|
273
|
+
containerSize: number;
|
|
274
|
+
containerWidth: number;
|
|
275
|
+
containerGap: number;
|
|
276
|
+
overflowTargetWidth: number;
|
|
277
|
+
selectedIds: string[] | "all";
|
|
278
|
+
unselectedIds: string[];
|
|
279
|
+
cursorId: string;
|
|
280
|
+
columnCount: number;
|
|
281
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
282
|
+
cursorIndexRef: {
|
|
283
|
+
readonly current: number;
|
|
284
|
+
};
|
|
285
|
+
UNSTABLE_virtual: {
|
|
286
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
287
|
+
totalSize: number;
|
|
288
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
289
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
290
|
+
measure: () => void;
|
|
291
|
+
};
|
|
292
|
+
UNSTABLE_defaultItemHeight: number;
|
|
293
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
294
|
+
id: string;
|
|
295
|
+
indexRef: React.MutableRefObject<number>;
|
|
296
|
+
isVirtualized: boolean;
|
|
297
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
298
|
+
}) => void) | undefined;
|
|
299
|
+
onAddItemSize?: ((data: {
|
|
300
|
+
id: string;
|
|
301
|
+
width: number;
|
|
302
|
+
height: number;
|
|
303
|
+
}, prevState: {
|
|
304
|
+
hiddenIds: string[];
|
|
305
|
+
nonInteractiveIds: string[];
|
|
306
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
307
|
+
itemSizeCache: Record<string, number>;
|
|
308
|
+
itemWidthCache: Record<string, number>;
|
|
309
|
+
containerSize: number;
|
|
310
|
+
containerWidth: number;
|
|
311
|
+
containerGap: number;
|
|
312
|
+
overflowTargetWidth: number;
|
|
313
|
+
selectedIds: string[] | "all";
|
|
314
|
+
unselectedIds: string[];
|
|
315
|
+
cursorId: string;
|
|
316
|
+
columnCount: number;
|
|
317
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
318
|
+
cursorIndexRef: {
|
|
319
|
+
readonly current: number;
|
|
320
|
+
};
|
|
321
|
+
UNSTABLE_virtual: {
|
|
322
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
323
|
+
totalSize: number;
|
|
324
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
325
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
326
|
+
measure: () => void;
|
|
327
|
+
};
|
|
328
|
+
UNSTABLE_defaultItemHeight: number;
|
|
329
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
330
|
+
id: string;
|
|
331
|
+
indexRef: React.MutableRefObject<number>;
|
|
332
|
+
isVirtualized: boolean;
|
|
333
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
334
|
+
}) => void) | undefined;
|
|
335
|
+
onRemoveItemSize?: ((data: {
|
|
336
|
+
id: string;
|
|
337
|
+
}, prevState: {
|
|
338
|
+
hiddenIds: string[];
|
|
339
|
+
nonInteractiveIds: string[];
|
|
340
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
341
|
+
itemSizeCache: Record<string, number>;
|
|
342
|
+
itemWidthCache: Record<string, number>;
|
|
343
|
+
containerSize: number;
|
|
194
344
|
containerWidth: number;
|
|
195
345
|
containerGap: number;
|
|
196
346
|
overflowTargetWidth: number;
|
|
@@ -222,7 +372,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
222
372
|
hiddenIds: string[];
|
|
223
373
|
nonInteractiveIds: string[];
|
|
224
374
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
375
|
+
itemSizeCache: Record<string, number>;
|
|
225
376
|
itemWidthCache: Record<string, number>;
|
|
377
|
+
containerSize: number;
|
|
226
378
|
containerWidth: number;
|
|
227
379
|
containerGap: number;
|
|
228
380
|
overflowTargetWidth: number;
|
|
@@ -254,7 +406,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
254
406
|
hiddenIds: string[];
|
|
255
407
|
nonInteractiveIds: string[];
|
|
256
408
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
409
|
+
itemSizeCache: Record<string, number>;
|
|
257
410
|
itemWidthCache: Record<string, number>;
|
|
411
|
+
containerSize: number;
|
|
258
412
|
containerWidth: number;
|
|
259
413
|
containerGap: number;
|
|
260
414
|
overflowTargetWidth: number;
|
|
@@ -286,7 +440,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
286
440
|
hiddenIds: string[];
|
|
287
441
|
nonInteractiveIds: string[];
|
|
288
442
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
443
|
+
itemSizeCache: Record<string, number>;
|
|
289
444
|
itemWidthCache: Record<string, number>;
|
|
445
|
+
containerSize: number;
|
|
290
446
|
containerWidth: number;
|
|
291
447
|
containerGap: number;
|
|
292
448
|
overflowTargetWidth: number;
|
|
@@ -316,7 +472,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
316
472
|
hiddenIds: string[];
|
|
317
473
|
nonInteractiveIds: string[];
|
|
318
474
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
475
|
+
itemSizeCache: Record<string, number>;
|
|
319
476
|
itemWidthCache: Record<string, number>;
|
|
477
|
+
containerSize: number;
|
|
320
478
|
containerWidth: number;
|
|
321
479
|
containerGap: number;
|
|
322
480
|
overflowTargetWidth: number;
|
|
@@ -346,7 +504,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
346
504
|
hiddenIds: string[];
|
|
347
505
|
nonInteractiveIds: string[];
|
|
348
506
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
507
|
+
itemSizeCache: Record<string, number>;
|
|
349
508
|
itemWidthCache: Record<string, number>;
|
|
509
|
+
containerSize: number;
|
|
350
510
|
containerWidth: number;
|
|
351
511
|
containerGap: number;
|
|
352
512
|
overflowTargetWidth: number;
|
|
@@ -376,7 +536,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
376
536
|
hiddenIds: string[];
|
|
377
537
|
nonInteractiveIds: string[];
|
|
378
538
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
539
|
+
itemSizeCache: Record<string, number>;
|
|
379
540
|
itemWidthCache: Record<string, number>;
|
|
541
|
+
containerSize: number;
|
|
380
542
|
containerWidth: number;
|
|
381
543
|
containerGap: number;
|
|
382
544
|
overflowTargetWidth: number;
|
|
@@ -408,7 +570,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
408
570
|
hiddenIds: string[];
|
|
409
571
|
nonInteractiveIds: string[];
|
|
410
572
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
573
|
+
itemSizeCache: Record<string, number>;
|
|
411
574
|
itemWidthCache: Record<string, number>;
|
|
575
|
+
containerSize: number;
|
|
412
576
|
containerWidth: number;
|
|
413
577
|
containerGap: number;
|
|
414
578
|
overflowTargetWidth: number;
|
|
@@ -438,7 +602,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
438
602
|
hiddenIds: string[];
|
|
439
603
|
nonInteractiveIds: string[];
|
|
440
604
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
605
|
+
itemSizeCache: Record<string, number>;
|
|
441
606
|
itemWidthCache: Record<string, number>;
|
|
607
|
+
containerSize: number;
|
|
442
608
|
containerWidth: number;
|
|
443
609
|
containerGap: number;
|
|
444
610
|
overflowTargetWidth: number;
|
|
@@ -468,7 +634,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
468
634
|
hiddenIds: string[];
|
|
469
635
|
nonInteractiveIds: string[];
|
|
470
636
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
637
|
+
itemSizeCache: Record<string, number>;
|
|
471
638
|
itemWidthCache: Record<string, number>;
|
|
639
|
+
containerSize: number;
|
|
472
640
|
containerWidth: number;
|
|
473
641
|
containerGap: number;
|
|
474
642
|
overflowTargetWidth: number;
|
|
@@ -498,7 +666,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
498
666
|
hiddenIds: string[];
|
|
499
667
|
nonInteractiveIds: string[];
|
|
500
668
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
669
|
+
itemSizeCache: Record<string, number>;
|
|
501
670
|
itemWidthCache: Record<string, number>;
|
|
671
|
+
containerSize: number;
|
|
502
672
|
containerWidth: number;
|
|
503
673
|
containerGap: number;
|
|
504
674
|
overflowTargetWidth: number;
|
|
@@ -528,7 +698,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
528
698
|
hiddenIds: string[];
|
|
529
699
|
nonInteractiveIds: string[];
|
|
530
700
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
701
|
+
itemSizeCache: Record<string, number>;
|
|
531
702
|
itemWidthCache: Record<string, number>;
|
|
703
|
+
containerSize: number;
|
|
532
704
|
containerWidth: number;
|
|
533
705
|
containerGap: number;
|
|
534
706
|
overflowTargetWidth: number;
|
|
@@ -558,7 +730,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
558
730
|
hiddenIds: string[];
|
|
559
731
|
nonInteractiveIds: string[];
|
|
560
732
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
733
|
+
itemSizeCache: Record<string, number>;
|
|
561
734
|
itemWidthCache: Record<string, number>;
|
|
735
|
+
containerSize: number;
|
|
562
736
|
containerWidth: number;
|
|
563
737
|
containerGap: number;
|
|
564
738
|
overflowTargetWidth: number;
|
|
@@ -588,7 +762,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
588
762
|
hiddenIds: string[];
|
|
589
763
|
nonInteractiveIds: string[];
|
|
590
764
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
765
|
+
itemSizeCache: Record<string, number>;
|
|
591
766
|
itemWidthCache: Record<string, number>;
|
|
767
|
+
containerSize: number;
|
|
592
768
|
containerWidth: number;
|
|
593
769
|
containerGap: number;
|
|
594
770
|
overflowTargetWidth: number;
|
|
@@ -618,7 +794,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
618
794
|
hiddenIds: string[];
|
|
619
795
|
nonInteractiveIds: string[];
|
|
620
796
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
797
|
+
itemSizeCache: Record<string, number>;
|
|
621
798
|
itemWidthCache: Record<string, number>;
|
|
799
|
+
containerSize: number;
|
|
622
800
|
containerWidth: number;
|
|
623
801
|
containerGap: number;
|
|
624
802
|
overflowTargetWidth: number;
|
|
@@ -648,7 +826,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
648
826
|
hiddenIds: string[];
|
|
649
827
|
nonInteractiveIds: string[];
|
|
650
828
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
829
|
+
itemSizeCache: Record<string, number>;
|
|
651
830
|
itemWidthCache: Record<string, number>;
|
|
831
|
+
containerSize: number;
|
|
652
832
|
containerWidth: number;
|
|
653
833
|
containerGap: number;
|
|
654
834
|
overflowTargetWidth: number;
|
|
@@ -678,7 +858,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
678
858
|
hiddenIds: string[];
|
|
679
859
|
nonInteractiveIds: string[];
|
|
680
860
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
861
|
+
itemSizeCache: Record<string, number>;
|
|
681
862
|
itemWidthCache: Record<string, number>;
|
|
863
|
+
containerSize: number;
|
|
682
864
|
containerWidth: number;
|
|
683
865
|
containerGap: number;
|
|
684
866
|
overflowTargetWidth: number;
|
|
@@ -708,7 +890,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
708
890
|
hiddenIds: string[];
|
|
709
891
|
nonInteractiveIds: string[];
|
|
710
892
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
893
|
+
itemSizeCache: Record<string, number>;
|
|
711
894
|
itemWidthCache: Record<string, number>;
|
|
895
|
+
containerSize: number;
|
|
712
896
|
containerWidth: number;
|
|
713
897
|
containerGap: number;
|
|
714
898
|
overflowTargetWidth: number;
|
|
@@ -741,7 +925,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
741
925
|
hiddenIds: string[];
|
|
742
926
|
nonInteractiveIds: string[];
|
|
743
927
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
928
|
+
itemSizeCache: Record<string, number>;
|
|
744
929
|
itemWidthCache: Record<string, number>;
|
|
930
|
+
containerSize: number;
|
|
745
931
|
containerWidth: number;
|
|
746
932
|
containerGap: number;
|
|
747
933
|
overflowTargetWidth: number;
|
|
@@ -773,7 +959,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
773
959
|
hiddenIds: string[];
|
|
774
960
|
nonInteractiveIds: string[];
|
|
775
961
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
962
|
+
itemSizeCache: Record<string, number>;
|
|
776
963
|
itemWidthCache: Record<string, number>;
|
|
964
|
+
containerSize: number;
|
|
777
965
|
containerWidth: number;
|
|
778
966
|
containerGap: number;
|
|
779
967
|
overflowTargetWidth: number;
|
|
@@ -805,7 +993,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
805
993
|
hiddenIds: string[];
|
|
806
994
|
nonInteractiveIds: string[];
|
|
807
995
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
996
|
+
itemSizeCache: Record<string, number>;
|
|
808
997
|
itemWidthCache: Record<string, number>;
|
|
998
|
+
containerSize: number;
|
|
809
999
|
containerWidth: number;
|
|
810
1000
|
containerGap: number;
|
|
811
1001
|
overflowTargetWidth: number;
|
|
@@ -838,7 +1028,44 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
838
1028
|
hiddenIds: string[];
|
|
839
1029
|
nonInteractiveIds: string[];
|
|
840
1030
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1031
|
+
itemSizeCache: Record<string, number>;
|
|
841
1032
|
itemWidthCache: Record<string, number>;
|
|
1033
|
+
containerSize: number;
|
|
1034
|
+
containerWidth: number;
|
|
1035
|
+
containerGap: number;
|
|
1036
|
+
overflowTargetWidth: number;
|
|
1037
|
+
selectedIds: string[] | "all";
|
|
1038
|
+
unselectedIds: string[];
|
|
1039
|
+
cursorId: string;
|
|
1040
|
+
columnCount: number;
|
|
1041
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1042
|
+
cursorIndexRef: {
|
|
1043
|
+
readonly current: number;
|
|
1044
|
+
};
|
|
1045
|
+
UNSTABLE_virtual: {
|
|
1046
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1047
|
+
totalSize: number;
|
|
1048
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1049
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1050
|
+
measure: () => void;
|
|
1051
|
+
};
|
|
1052
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1053
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1054
|
+
id: string;
|
|
1055
|
+
indexRef: React.MutableRefObject<number>;
|
|
1056
|
+
isVirtualized: boolean;
|
|
1057
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1058
|
+
}) => boolean) | undefined;
|
|
1059
|
+
shouldSetContainerSize?: ((data: {
|
|
1060
|
+
width?: number | undefined;
|
|
1061
|
+
height?: number | undefined;
|
|
1062
|
+
}, state: {
|
|
1063
|
+
hiddenIds: string[];
|
|
1064
|
+
nonInteractiveIds: string[];
|
|
1065
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1066
|
+
itemSizeCache: Record<string, number>;
|
|
1067
|
+
itemWidthCache: Record<string, number>;
|
|
1068
|
+
containerSize: number;
|
|
842
1069
|
containerWidth: number;
|
|
843
1070
|
containerGap: number;
|
|
844
1071
|
overflowTargetWidth: number;
|
|
@@ -870,7 +1097,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
870
1097
|
hiddenIds: string[];
|
|
871
1098
|
nonInteractiveIds: string[];
|
|
872
1099
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1100
|
+
itemSizeCache: Record<string, number>;
|
|
873
1101
|
itemWidthCache: Record<string, number>;
|
|
1102
|
+
containerSize: number;
|
|
874
1103
|
containerWidth: number;
|
|
875
1104
|
containerGap: number;
|
|
876
1105
|
overflowTargetWidth: number;
|
|
@@ -902,7 +1131,44 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
902
1131
|
hiddenIds: string[];
|
|
903
1132
|
nonInteractiveIds: string[];
|
|
904
1133
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1134
|
+
itemSizeCache: Record<string, number>;
|
|
905
1135
|
itemWidthCache: Record<string, number>;
|
|
1136
|
+
containerSize: number;
|
|
1137
|
+
containerWidth: number;
|
|
1138
|
+
containerGap: number;
|
|
1139
|
+
overflowTargetWidth: number;
|
|
1140
|
+
selectedIds: string[] | "all";
|
|
1141
|
+
unselectedIds: string[];
|
|
1142
|
+
cursorId: string;
|
|
1143
|
+
columnCount: number;
|
|
1144
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1145
|
+
cursorIndexRef: {
|
|
1146
|
+
readonly current: number;
|
|
1147
|
+
};
|
|
1148
|
+
UNSTABLE_virtual: {
|
|
1149
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1150
|
+
totalSize: number;
|
|
1151
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1152
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1153
|
+
measure: () => void;
|
|
1154
|
+
};
|
|
1155
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1156
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1157
|
+
id: string;
|
|
1158
|
+
indexRef: React.MutableRefObject<number>;
|
|
1159
|
+
isVirtualized: boolean;
|
|
1160
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1161
|
+
}) => boolean) | undefined;
|
|
1162
|
+
shouldSetOverflowTargetSize?: ((data: {
|
|
1163
|
+
width: number;
|
|
1164
|
+
height: number;
|
|
1165
|
+
}, state: {
|
|
1166
|
+
hiddenIds: string[];
|
|
1167
|
+
nonInteractiveIds: string[];
|
|
1168
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1169
|
+
itemSizeCache: Record<string, number>;
|
|
1170
|
+
itemWidthCache: Record<string, number>;
|
|
1171
|
+
containerSize: number;
|
|
906
1172
|
containerWidth: number;
|
|
907
1173
|
containerGap: number;
|
|
908
1174
|
overflowTargetWidth: number;
|
|
@@ -934,7 +1200,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
934
1200
|
hiddenIds: string[];
|
|
935
1201
|
nonInteractiveIds: string[];
|
|
936
1202
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1203
|
+
itemSizeCache: Record<string, number>;
|
|
937
1204
|
itemWidthCache: Record<string, number>;
|
|
1205
|
+
containerSize: number;
|
|
938
1206
|
containerWidth: number;
|
|
939
1207
|
containerGap: number;
|
|
940
1208
|
overflowTargetWidth: number;
|
|
@@ -967,7 +1235,79 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
967
1235
|
hiddenIds: string[];
|
|
968
1236
|
nonInteractiveIds: string[];
|
|
969
1237
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1238
|
+
itemSizeCache: Record<string, number>;
|
|
1239
|
+
itemWidthCache: Record<string, number>;
|
|
1240
|
+
containerSize: number;
|
|
1241
|
+
containerWidth: number;
|
|
1242
|
+
containerGap: number;
|
|
1243
|
+
overflowTargetWidth: number;
|
|
1244
|
+
selectedIds: string[] | "all";
|
|
1245
|
+
unselectedIds: string[];
|
|
1246
|
+
cursorId: string;
|
|
1247
|
+
columnCount: number;
|
|
1248
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1249
|
+
cursorIndexRef: {
|
|
1250
|
+
readonly current: number;
|
|
1251
|
+
};
|
|
1252
|
+
UNSTABLE_virtual: {
|
|
1253
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1254
|
+
totalSize: number;
|
|
1255
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1256
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1257
|
+
measure: () => void;
|
|
1258
|
+
};
|
|
1259
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1260
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1261
|
+
id: string;
|
|
1262
|
+
indexRef: React.MutableRefObject<number>;
|
|
1263
|
+
isVirtualized: boolean;
|
|
1264
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1265
|
+
}) => boolean) | undefined;
|
|
1266
|
+
shouldAddItemSize?: ((data: {
|
|
1267
|
+
id: string;
|
|
1268
|
+
width: number;
|
|
1269
|
+
height: number;
|
|
1270
|
+
}, state: {
|
|
1271
|
+
hiddenIds: string[];
|
|
1272
|
+
nonInteractiveIds: string[];
|
|
1273
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1274
|
+
itemSizeCache: Record<string, number>;
|
|
970
1275
|
itemWidthCache: Record<string, number>;
|
|
1276
|
+
containerSize: number;
|
|
1277
|
+
containerWidth: number;
|
|
1278
|
+
containerGap: number;
|
|
1279
|
+
overflowTargetWidth: number;
|
|
1280
|
+
selectedIds: string[] | "all";
|
|
1281
|
+
unselectedIds: string[];
|
|
1282
|
+
cursorId: string;
|
|
1283
|
+
columnCount: number;
|
|
1284
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1285
|
+
cursorIndexRef: {
|
|
1286
|
+
readonly current: number;
|
|
1287
|
+
};
|
|
1288
|
+
UNSTABLE_virtual: {
|
|
1289
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1290
|
+
totalSize: number;
|
|
1291
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1292
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1293
|
+
measure: () => void;
|
|
1294
|
+
};
|
|
1295
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1296
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1297
|
+
id: string;
|
|
1298
|
+
indexRef: React.MutableRefObject<number>;
|
|
1299
|
+
isVirtualized: boolean;
|
|
1300
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1301
|
+
}) => boolean) | undefined;
|
|
1302
|
+
shouldRemoveItemSize?: ((data: {
|
|
1303
|
+
id: string;
|
|
1304
|
+
}, state: {
|
|
1305
|
+
hiddenIds: string[];
|
|
1306
|
+
nonInteractiveIds: string[];
|
|
1307
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1308
|
+
itemSizeCache: Record<string, number>;
|
|
1309
|
+
itemWidthCache: Record<string, number>;
|
|
1310
|
+
containerSize: number;
|
|
971
1311
|
containerWidth: number;
|
|
972
1312
|
containerGap: number;
|
|
973
1313
|
overflowTargetWidth: number;
|
|
@@ -999,7 +1339,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
999
1339
|
hiddenIds: string[];
|
|
1000
1340
|
nonInteractiveIds: string[];
|
|
1001
1341
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1342
|
+
itemSizeCache: Record<string, number>;
|
|
1002
1343
|
itemWidthCache: Record<string, number>;
|
|
1344
|
+
containerSize: number;
|
|
1003
1345
|
containerWidth: number;
|
|
1004
1346
|
containerGap: number;
|
|
1005
1347
|
overflowTargetWidth: number;
|
|
@@ -1031,7 +1373,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1031
1373
|
hiddenIds: string[];
|
|
1032
1374
|
nonInteractiveIds: string[];
|
|
1033
1375
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1376
|
+
itemSizeCache: Record<string, number>;
|
|
1034
1377
|
itemWidthCache: Record<string, number>;
|
|
1378
|
+
containerSize: number;
|
|
1035
1379
|
containerWidth: number;
|
|
1036
1380
|
containerGap: number;
|
|
1037
1381
|
overflowTargetWidth: number;
|
|
@@ -1063,7 +1407,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1063
1407
|
hiddenIds: string[];
|
|
1064
1408
|
nonInteractiveIds: string[];
|
|
1065
1409
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1410
|
+
itemSizeCache: Record<string, number>;
|
|
1066
1411
|
itemWidthCache: Record<string, number>;
|
|
1412
|
+
containerSize: number;
|
|
1067
1413
|
containerWidth: number;
|
|
1068
1414
|
containerGap: number;
|
|
1069
1415
|
overflowTargetWidth: number;
|
|
@@ -1093,7 +1439,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1093
1439
|
hiddenIds: string[];
|
|
1094
1440
|
nonInteractiveIds: string[];
|
|
1095
1441
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1442
|
+
itemSizeCache: Record<string, number>;
|
|
1096
1443
|
itemWidthCache: Record<string, number>;
|
|
1444
|
+
containerSize: number;
|
|
1097
1445
|
containerWidth: number;
|
|
1098
1446
|
containerGap: number;
|
|
1099
1447
|
overflowTargetWidth: number;
|
|
@@ -1123,7 +1471,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1123
1471
|
hiddenIds: string[];
|
|
1124
1472
|
nonInteractiveIds: string[];
|
|
1125
1473
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1474
|
+
itemSizeCache: Record<string, number>;
|
|
1126
1475
|
itemWidthCache: Record<string, number>;
|
|
1476
|
+
containerSize: number;
|
|
1127
1477
|
containerWidth: number;
|
|
1128
1478
|
containerGap: number;
|
|
1129
1479
|
overflowTargetWidth: number;
|
|
@@ -1153,7 +1503,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1153
1503
|
hiddenIds: string[];
|
|
1154
1504
|
nonInteractiveIds: string[];
|
|
1155
1505
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1506
|
+
itemSizeCache: Record<string, number>;
|
|
1156
1507
|
itemWidthCache: Record<string, number>;
|
|
1508
|
+
containerSize: number;
|
|
1157
1509
|
containerWidth: number;
|
|
1158
1510
|
containerGap: number;
|
|
1159
1511
|
overflowTargetWidth: number;
|
|
@@ -1185,7 +1537,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1185
1537
|
hiddenIds: string[];
|
|
1186
1538
|
nonInteractiveIds: string[];
|
|
1187
1539
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1540
|
+
itemSizeCache: Record<string, number>;
|
|
1188
1541
|
itemWidthCache: Record<string, number>;
|
|
1542
|
+
containerSize: number;
|
|
1189
1543
|
containerWidth: number;
|
|
1190
1544
|
containerGap: number;
|
|
1191
1545
|
overflowTargetWidth: number;
|
|
@@ -1215,7 +1569,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1215
1569
|
hiddenIds: string[];
|
|
1216
1570
|
nonInteractiveIds: string[];
|
|
1217
1571
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1572
|
+
itemSizeCache: Record<string, number>;
|
|
1218
1573
|
itemWidthCache: Record<string, number>;
|
|
1574
|
+
containerSize: number;
|
|
1219
1575
|
containerWidth: number;
|
|
1220
1576
|
containerGap: number;
|
|
1221
1577
|
overflowTargetWidth: number;
|
|
@@ -1245,7 +1601,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1245
1601
|
hiddenIds: string[];
|
|
1246
1602
|
nonInteractiveIds: string[];
|
|
1247
1603
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1604
|
+
itemSizeCache: Record<string, number>;
|
|
1248
1605
|
itemWidthCache: Record<string, number>;
|
|
1606
|
+
containerSize: number;
|
|
1249
1607
|
containerWidth: number;
|
|
1250
1608
|
containerGap: number;
|
|
1251
1609
|
overflowTargetWidth: number;
|
|
@@ -1275,7 +1633,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1275
1633
|
hiddenIds: string[];
|
|
1276
1634
|
nonInteractiveIds: string[];
|
|
1277
1635
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1636
|
+
itemSizeCache: Record<string, number>;
|
|
1278
1637
|
itemWidthCache: Record<string, number>;
|
|
1638
|
+
containerSize: number;
|
|
1279
1639
|
containerWidth: number;
|
|
1280
1640
|
containerGap: number;
|
|
1281
1641
|
overflowTargetWidth: number;
|
|
@@ -1305,7 +1665,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1305
1665
|
hiddenIds: string[];
|
|
1306
1666
|
nonInteractiveIds: string[];
|
|
1307
1667
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1668
|
+
itemSizeCache: Record<string, number>;
|
|
1308
1669
|
itemWidthCache: Record<string, number>;
|
|
1670
|
+
containerSize: number;
|
|
1309
1671
|
containerWidth: number;
|
|
1310
1672
|
containerGap: number;
|
|
1311
1673
|
overflowTargetWidth: number;
|
|
@@ -1335,7 +1697,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1335
1697
|
hiddenIds: string[];
|
|
1336
1698
|
nonInteractiveIds: string[];
|
|
1337
1699
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1700
|
+
itemSizeCache: Record<string, number>;
|
|
1338
1701
|
itemWidthCache: Record<string, number>;
|
|
1702
|
+
containerSize: number;
|
|
1339
1703
|
containerWidth: number;
|
|
1340
1704
|
containerGap: number;
|
|
1341
1705
|
overflowTargetWidth: number;
|
|
@@ -1365,7 +1729,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1365
1729
|
hiddenIds: string[];
|
|
1366
1730
|
nonInteractiveIds: string[];
|
|
1367
1731
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1732
|
+
itemSizeCache: Record<string, number>;
|
|
1368
1733
|
itemWidthCache: Record<string, number>;
|
|
1734
|
+
containerSize: number;
|
|
1369
1735
|
containerWidth: number;
|
|
1370
1736
|
containerGap: number;
|
|
1371
1737
|
overflowTargetWidth: number;
|
|
@@ -1395,7 +1761,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1395
1761
|
hiddenIds: string[];
|
|
1396
1762
|
nonInteractiveIds: string[];
|
|
1397
1763
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1764
|
+
itemSizeCache: Record<string, number>;
|
|
1398
1765
|
itemWidthCache: Record<string, number>;
|
|
1766
|
+
containerSize: number;
|
|
1399
1767
|
containerWidth: number;
|
|
1400
1768
|
containerGap: number;
|
|
1401
1769
|
overflowTargetWidth: number;
|
|
@@ -1425,7 +1793,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1425
1793
|
hiddenIds: string[];
|
|
1426
1794
|
nonInteractiveIds: string[];
|
|
1427
1795
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1796
|
+
itemSizeCache: Record<string, number>;
|
|
1428
1797
|
itemWidthCache: Record<string, number>;
|
|
1798
|
+
containerSize: number;
|
|
1429
1799
|
containerWidth: number;
|
|
1430
1800
|
containerGap: number;
|
|
1431
1801
|
overflowTargetWidth: number;
|
|
@@ -1455,7 +1825,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1455
1825
|
hiddenIds: string[];
|
|
1456
1826
|
nonInteractiveIds: string[];
|
|
1457
1827
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1828
|
+
itemSizeCache: Record<string, number>;
|
|
1458
1829
|
itemWidthCache: Record<string, number>;
|
|
1830
|
+
containerSize: number;
|
|
1459
1831
|
containerWidth: number;
|
|
1460
1832
|
containerGap: number;
|
|
1461
1833
|
overflowTargetWidth: number;
|
|
@@ -1485,7 +1857,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1485
1857
|
hiddenIds: string[];
|
|
1486
1858
|
nonInteractiveIds: string[];
|
|
1487
1859
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1860
|
+
itemSizeCache: Record<string, number>;
|
|
1488
1861
|
itemWidthCache: Record<string, number>;
|
|
1862
|
+
containerSize: number;
|
|
1489
1863
|
containerWidth: number;
|
|
1490
1864
|
containerGap: number;
|
|
1491
1865
|
overflowTargetWidth: number;
|
|
@@ -1518,7 +1892,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1518
1892
|
hiddenIds: string[];
|
|
1519
1893
|
nonInteractiveIds: string[];
|
|
1520
1894
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1895
|
+
itemSizeCache: Record<string, number>;
|
|
1521
1896
|
itemWidthCache: Record<string, number>;
|
|
1897
|
+
containerSize: number;
|
|
1522
1898
|
containerWidth: number;
|
|
1523
1899
|
containerGap: number;
|
|
1524
1900
|
overflowTargetWidth: number;
|
|
@@ -1550,7 +1926,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1550
1926
|
hiddenIds: string[];
|
|
1551
1927
|
nonInteractiveIds: string[];
|
|
1552
1928
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1929
|
+
itemSizeCache: Record<string, number>;
|
|
1553
1930
|
itemWidthCache: Record<string, number>;
|
|
1931
|
+
containerSize: number;
|
|
1554
1932
|
containerWidth: number;
|
|
1555
1933
|
containerGap: number;
|
|
1556
1934
|
overflowTargetWidth: number;
|
|
@@ -1582,7 +1960,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1582
1960
|
hiddenIds: string[];
|
|
1583
1961
|
nonInteractiveIds: string[];
|
|
1584
1962
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1963
|
+
itemSizeCache: Record<string, number>;
|
|
1585
1964
|
itemWidthCache: Record<string, number>;
|
|
1965
|
+
containerSize: number;
|
|
1586
1966
|
containerWidth: number;
|
|
1587
1967
|
containerGap: number;
|
|
1588
1968
|
overflowTargetWidth: number;
|
|
@@ -1613,7 +1993,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1613
1993
|
hiddenIds: string[];
|
|
1614
1994
|
nonInteractiveIds: string[];
|
|
1615
1995
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1996
|
+
itemSizeCache: Record<string, number>;
|
|
1616
1997
|
itemWidthCache: Record<string, number>;
|
|
1998
|
+
containerSize: number;
|
|
1617
1999
|
containerWidth: number;
|
|
1618
2000
|
containerGap: number;
|
|
1619
2001
|
overflowTargetWidth: number;
|
|
@@ -1643,12 +2025,20 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1643
2025
|
select(data: {
|
|
1644
2026
|
id: string;
|
|
1645
2027
|
}): void;
|
|
2028
|
+
setContainerSize(data: {
|
|
2029
|
+
width?: number | undefined;
|
|
2030
|
+
height?: number | undefined;
|
|
2031
|
+
}): void;
|
|
1646
2032
|
setContainerWidth(data: {
|
|
1647
2033
|
width?: number | undefined;
|
|
1648
2034
|
}): void;
|
|
1649
2035
|
setContainerGap(data: {
|
|
1650
2036
|
size: number;
|
|
1651
2037
|
}): void;
|
|
2038
|
+
setOverflowTargetSize(data: {
|
|
2039
|
+
width: number;
|
|
2040
|
+
height: number;
|
|
2041
|
+
}): void;
|
|
1652
2042
|
setOverflowTargetWidth(data: {
|
|
1653
2043
|
width: number;
|
|
1654
2044
|
}): void;
|
|
@@ -1656,6 +2046,14 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1656
2046
|
id: string;
|
|
1657
2047
|
width: number;
|
|
1658
2048
|
}): void;
|
|
2049
|
+
addItemSize(data: {
|
|
2050
|
+
id: string;
|
|
2051
|
+
width: number;
|
|
2052
|
+
height: number;
|
|
2053
|
+
}): void;
|
|
2054
|
+
removeItemSize(data: {
|
|
2055
|
+
id: string;
|
|
2056
|
+
}): void;
|
|
1659
2057
|
removeItemWidth(data: {
|
|
1660
2058
|
id: string;
|
|
1661
2059
|
}): void;
|
|
@@ -1827,7 +2225,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1827
2225
|
hiddenIds: string[];
|
|
1828
2226
|
nonInteractiveIds: string[];
|
|
1829
2227
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2228
|
+
itemSizeCache: Record<string, number>;
|
|
1830
2229
|
itemWidthCache: Record<string, number>;
|
|
2230
|
+
containerSize: number;
|
|
1831
2231
|
containerWidth: number;
|
|
1832
2232
|
containerGap: number;
|
|
1833
2233
|
overflowTargetWidth: number;
|
|
@@ -1856,12 +2256,20 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1856
2256
|
select(data: {
|
|
1857
2257
|
id: string;
|
|
1858
2258
|
}): void;
|
|
2259
|
+
setContainerSize(data: {
|
|
2260
|
+
width?: number | undefined;
|
|
2261
|
+
height?: number | undefined;
|
|
2262
|
+
}): void;
|
|
1859
2263
|
setContainerWidth(data: {
|
|
1860
2264
|
width?: number | undefined;
|
|
1861
2265
|
}): void;
|
|
1862
2266
|
setContainerGap(data: {
|
|
1863
2267
|
size: number;
|
|
1864
2268
|
}): void;
|
|
2269
|
+
setOverflowTargetSize(data: {
|
|
2270
|
+
width: number;
|
|
2271
|
+
height: number;
|
|
2272
|
+
}): void;
|
|
1865
2273
|
setOverflowTargetWidth(data: {
|
|
1866
2274
|
width: number;
|
|
1867
2275
|
}): void;
|
|
@@ -1869,6 +2277,14 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1869
2277
|
id: string;
|
|
1870
2278
|
width: number;
|
|
1871
2279
|
}): void;
|
|
2280
|
+
addItemSize(data: {
|
|
2281
|
+
id: string;
|
|
2282
|
+
width: number;
|
|
2283
|
+
height: number;
|
|
2284
|
+
}): void;
|
|
2285
|
+
removeItemSize(data: {
|
|
2286
|
+
id: string;
|
|
2287
|
+
}): void;
|
|
1872
2288
|
removeItemWidth(data: {
|
|
1873
2289
|
id: string;
|
|
1874
2290
|
}): void;
|
|
@@ -1909,7 +2325,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1909
2325
|
hiddenIds: string[];
|
|
1910
2326
|
nonInteractiveIds: string[];
|
|
1911
2327
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2328
|
+
itemSizeCache: Record<string, number>;
|
|
1912
2329
|
itemWidthCache: Record<string, number>;
|
|
2330
|
+
containerSize: number;
|
|
1913
2331
|
containerWidth: number;
|
|
1914
2332
|
containerGap: number;
|
|
1915
2333
|
overflowTargetWidth: number;
|
|
@@ -1939,12 +2357,20 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1939
2357
|
select(data: {
|
|
1940
2358
|
id: string;
|
|
1941
2359
|
}): void;
|
|
2360
|
+
setContainerSize(data: {
|
|
2361
|
+
width?: number | undefined;
|
|
2362
|
+
height?: number | undefined;
|
|
2363
|
+
}): void;
|
|
1942
2364
|
setContainerWidth(data: {
|
|
1943
2365
|
width?: number | undefined;
|
|
1944
2366
|
}): void;
|
|
1945
2367
|
setContainerGap(data: {
|
|
1946
2368
|
size: number;
|
|
1947
2369
|
}): void;
|
|
2370
|
+
setOverflowTargetSize(data: {
|
|
2371
|
+
width: number;
|
|
2372
|
+
height: number;
|
|
2373
|
+
}): void;
|
|
1948
2374
|
setOverflowTargetWidth(data: {
|
|
1949
2375
|
width: number;
|
|
1950
2376
|
}): void;
|
|
@@ -1952,6 +2378,14 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1952
2378
|
id: string;
|
|
1953
2379
|
width: number;
|
|
1954
2380
|
}): void;
|
|
2381
|
+
addItemSize(data: {
|
|
2382
|
+
id: string;
|
|
2383
|
+
width: number;
|
|
2384
|
+
height: number;
|
|
2385
|
+
}): void;
|
|
2386
|
+
removeItemSize(data: {
|
|
2387
|
+
id: string;
|
|
2388
|
+
}): void;
|
|
1955
2389
|
removeItemWidth(data: {
|
|
1956
2390
|
id: string;
|
|
1957
2391
|
}): void;
|