@workday/canvas-kit-react 12.0.6 → 12.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/collection/lib/useOverflowListModel.tsx +34 -6
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +128 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +8 -0
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +8 -0
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +8 -0
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +124 -0
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/commonjs/avatar/lib/Avatar.js +21 -21
- package/dist/commonjs/badge/lib/CountBadge.js +3 -3
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +515 -53
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +8 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +8 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +4 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +8 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +124 -0
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/commonjs/button/lib/BaseButton.js +21 -21
- package/dist/commonjs/button/lib/DeleteButton.js +1 -1
- package/dist/commonjs/button/lib/PrimaryButton.js +2 -2
- package/dist/commonjs/button/lib/SecondaryButton.js +2 -2
- package/dist/commonjs/button/lib/TertiaryButton.js +18 -18
- package/dist/commonjs/card/lib/Card.js +1 -1
- package/dist/commonjs/card/lib/CardBody.js +1 -1
- package/dist/commonjs/card/lib/CardHeading.js +1 -1
- package/dist/commonjs/checkbox/lib/CheckBackground.js +3 -3
- package/dist/commonjs/checkbox/lib/CheckboxCheck.js +5 -5
- package/dist/commonjs/checkbox/lib/CheckboxContainer.js +1 -1
- package/dist/commonjs/checkbox/lib/CheckboxInput.js +5 -5
- package/dist/commonjs/checkbox/lib/CheckboxRipple.js +1 -1
- package/dist/commonjs/collection/lib/ListBox.js +3 -3
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +4 -0
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +4 -0
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +125 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.js +20 -11
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +4 -0
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/combobox/lib/ComboboxMenuList.js +1 -1
- package/dist/commonjs/common/lib/AccessibleHide.js +1 -1
- package/dist/commonjs/common/lib/CanvasProvider.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldContainer.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldField.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldGroupLabel.js +5 -5
- package/dist/commonjs/form-field/lib/FormFieldGroupList.js +3 -3
- package/dist/commonjs/form-field/lib/FormFieldHint.js +3 -3
- package/dist/commonjs/form-field/lib/FormFieldLabel.js +6 -6
- package/dist/commonjs/form-field/lib/formFieldStencil.js +8 -8
- package/dist/commonjs/icon/lib/AccentIcon.js +2 -2
- package/dist/commonjs/icon/lib/AppletIcon.js +1 -1
- package/dist/commonjs/icon/lib/Graphic.js +2 -2
- package/dist/commonjs/icon/lib/Svg.js +2 -2
- package/dist/commonjs/icon/lib/SystemIcon.js +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.js +1 -1
- package/dist/commonjs/loading-dots/lib/LoadingDots.js +3 -3
- package/dist/commonjs/menu/lib/MenuCard.js +1 -1
- package/dist/commonjs/menu/lib/MenuItem.js +1 -1
- package/dist/commonjs/menu/lib/MenuList.js +3 -3
- package/dist/commonjs/menu/lib/MenuOption.js +1 -1
- package/dist/commonjs/modal/lib/ModalBody.js +1 -1
- package/dist/commonjs/modal/lib/ModalCard.js +1 -1
- package/dist/commonjs/modal/lib/ModalHeading.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.js +2 -2
- package/dist/commonjs/popup/lib/PopupBody.js +1 -1
- package/dist/commonjs/popup/lib/PopupCard.js +2 -2
- package/dist/commonjs/popup/lib/PopupCloseIcon.js +1 -1
- package/dist/commonjs/popup/lib/PopupHeading.js +1 -1
- package/dist/commonjs/select/lib/SelectCard.js +1 -1
- package/dist/commonjs/select/lib/SelectInput.js +3 -3
- package/dist/commonjs/switch/lib/Switch.js +7 -7
- package/dist/commonjs/table/lib/Table.js +1 -1
- package/dist/commonjs/table/lib/TableBody.js +1 -1
- package/dist/commonjs/table/lib/TableCaption.js +1 -1
- package/dist/commonjs/table/lib/TableCell.js +1 -1
- package/dist/commonjs/table/lib/TableFooter.js +1 -1
- package/dist/commonjs/table/lib/TableHead.js +1 -1
- package/dist/commonjs/table/lib/TableHeader.js +1 -1
- package/dist/commonjs/table/lib/TableRow.js +1 -1
- package/dist/commonjs/tabs/lib/Tabs.d.ts +146 -0
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +8 -0
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.d.ts +8 -0
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +8 -0
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +8 -0
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +4 -0
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +150 -0
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/commonjs/text/lib/LabelText.js +6 -6
- package/dist/commonjs/text/lib/Text.js +16 -16
- package/dist/commonjs/text/lib/TypeLevelComponents.js +4 -4
- package/dist/commonjs/text-area/lib/TextArea.js +5 -5
- package/dist/commonjs/text-input/lib/InputGroup.js +6 -6
- package/dist/commonjs/text-input/lib/TextInput.js +5 -5
- package/dist/commonjs/toast/lib/Toast.js +1 -1
- package/dist/commonjs/toast/lib/ToastBody.js +1 -1
- package/dist/commonjs/toast/lib/ToastCloseIcon.js +1 -1
- package/dist/commonjs/toast/lib/ToastIcon.js +1 -1
- package/dist/commonjs/toast/lib/ToastMessage.js +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +128 -0
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +8 -0
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +8 -0
- package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +8 -0
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +124 -0
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/es6/avatar/lib/Avatar.js +21 -21
- package/dist/es6/badge/lib/CountBadge.js +3 -3
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +515 -53
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +8 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +8 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +4 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +8 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +124 -0
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/es6/button/lib/BaseButton.js +21 -21
- package/dist/es6/button/lib/DeleteButton.js +1 -1
- package/dist/es6/button/lib/PrimaryButton.js +2 -2
- package/dist/es6/button/lib/SecondaryButton.js +2 -2
- package/dist/es6/button/lib/TertiaryButton.js +18 -18
- package/dist/es6/card/lib/Card.js +1 -1
- package/dist/es6/card/lib/CardBody.js +1 -1
- package/dist/es6/card/lib/CardHeading.js +1 -1
- package/dist/es6/checkbox/lib/CheckBackground.js +3 -3
- package/dist/es6/checkbox/lib/CheckboxCheck.js +5 -5
- package/dist/es6/checkbox/lib/CheckboxContainer.js +1 -1
- package/dist/es6/checkbox/lib/CheckboxInput.js +5 -5
- package/dist/es6/checkbox/lib/CheckboxRipple.js +1 -1
- package/dist/es6/collection/lib/ListBox.js +3 -3
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +4 -0
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +4 -0
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +125 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.js +20 -11
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +4 -0
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/combobox/lib/ComboboxMenuList.js +1 -1
- package/dist/es6/common/lib/AccessibleHide.js +1 -1
- package/dist/es6/common/lib/CanvasProvider.js +1 -1
- package/dist/es6/form-field/lib/FormFieldContainer.js +1 -1
- package/dist/es6/form-field/lib/FormFieldField.js +1 -1
- package/dist/es6/form-field/lib/FormFieldGroupLabel.js +5 -5
- package/dist/es6/form-field/lib/FormFieldGroupList.js +3 -3
- package/dist/es6/form-field/lib/FormFieldHint.js +3 -3
- package/dist/es6/form-field/lib/FormFieldLabel.js +6 -6
- package/dist/es6/form-field/lib/formFieldStencil.js +8 -8
- package/dist/es6/icon/lib/AccentIcon.js +2 -2
- package/dist/es6/icon/lib/AppletIcon.js +1 -1
- package/dist/es6/icon/lib/Graphic.js +2 -2
- package/dist/es6/icon/lib/Svg.js +2 -2
- package/dist/es6/icon/lib/SystemIcon.js +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.js +1 -1
- package/dist/es6/loading-dots/lib/LoadingDots.js +3 -3
- package/dist/es6/menu/lib/MenuCard.js +1 -1
- package/dist/es6/menu/lib/MenuItem.js +1 -1
- package/dist/es6/menu/lib/MenuList.js +3 -3
- package/dist/es6/menu/lib/MenuOption.js +1 -1
- package/dist/es6/modal/lib/ModalBody.js +1 -1
- package/dist/es6/modal/lib/ModalCard.js +1 -1
- package/dist/es6/modal/lib/ModalHeading.js +1 -1
- package/dist/es6/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/es6/modal/lib/ModalOverlay.js +2 -2
- package/dist/es6/popup/lib/PopupBody.js +1 -1
- package/dist/es6/popup/lib/PopupCard.js +2 -2
- package/dist/es6/popup/lib/PopupCloseIcon.js +1 -1
- package/dist/es6/popup/lib/PopupHeading.js +1 -1
- package/dist/es6/select/lib/SelectCard.js +1 -1
- package/dist/es6/select/lib/SelectInput.js +3 -3
- package/dist/es6/switch/lib/Switch.js +7 -7
- package/dist/es6/table/lib/Table.js +1 -1
- package/dist/es6/table/lib/TableBody.js +1 -1
- package/dist/es6/table/lib/TableCaption.js +1 -1
- package/dist/es6/table/lib/TableCell.js +1 -1
- package/dist/es6/table/lib/TableFooter.js +1 -1
- package/dist/es6/table/lib/TableHead.js +1 -1
- package/dist/es6/table/lib/TableHeader.js +1 -1
- package/dist/es6/table/lib/TableRow.js +1 -1
- package/dist/es6/tabs/lib/Tabs.d.ts +146 -0
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.d.ts +8 -0
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.d.ts +8 -0
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +8 -0
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.d.ts +8 -0
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanels.d.ts +4 -0
- package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.d.ts +150 -0
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/text/lib/LabelText.js +6 -6
- package/dist/es6/text/lib/Text.js +16 -16
- package/dist/es6/text/lib/TypeLevelComponents.js +4 -4
- package/dist/es6/text-area/lib/TextArea.js +5 -5
- package/dist/es6/text-input/lib/InputGroup.js +6 -6
- package/dist/es6/text-input/lib/TextInput.js +5 -5
- package/dist/es6/toast/lib/Toast.js +1 -1
- package/dist/es6/toast/lib/ToastBody.js +1 -1
- package/dist/es6/toast/lib/ToastCloseIcon.js +1 -1
- package/dist/es6/toast/lib/ToastIcon.js +1 -1
- package/dist/es6/toast/lib/ToastMessage.js +1 -1
- package/package.json +4 -4
|
@@ -20,6 +20,7 @@ export declare const useActionBarItem: import("@workday/canvas-kit-react/common"
|
|
|
20
20
|
hiddenIds: string[];
|
|
21
21
|
itemWidthCache: Record<string, number>;
|
|
22
22
|
containerWidth: number;
|
|
23
|
+
containerGap: number;
|
|
23
24
|
overflowTargetWidth: number;
|
|
24
25
|
selectedIds: string[] | "all";
|
|
25
26
|
unselectedIds: string[];
|
|
@@ -52,6 +53,9 @@ export declare const useActionBarItem: import("@workday/canvas-kit-react/common"
|
|
|
52
53
|
setContainerWidth(data: {
|
|
53
54
|
width?: number | undefined;
|
|
54
55
|
}): void;
|
|
56
|
+
setContainerGap(data: {
|
|
57
|
+
size: number;
|
|
58
|
+
}): void;
|
|
55
59
|
setOverflowTargetWidth(data: {
|
|
56
60
|
width: number;
|
|
57
61
|
}): void;
|
|
@@ -121,6 +125,7 @@ export declare const ActionBarItem: import("@workday/canvas-kit-react/common").E
|
|
|
121
125
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
122
126
|
itemWidthCache: Record<string, number>;
|
|
123
127
|
containerWidth: number;
|
|
128
|
+
containerGap: number;
|
|
124
129
|
overflowTargetWidth: number;
|
|
125
130
|
selectedIds: string[] | "all";
|
|
126
131
|
unselectedIds: string[];
|
|
@@ -151,6 +156,9 @@ export declare const ActionBarItem: import("@workday/canvas-kit-react/common").E
|
|
|
151
156
|
setContainerWidth(data: {
|
|
152
157
|
width?: number | undefined;
|
|
153
158
|
}): void;
|
|
159
|
+
setContainerGap(data: {
|
|
160
|
+
size: number;
|
|
161
|
+
}): void;
|
|
154
162
|
setOverflowTargetWidth(data: {
|
|
155
163
|
width: number;
|
|
156
164
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionBarItem.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"ActionBarItem.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qPAAgE,CAAC;AAE9F,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMxB,CAAC"}
|
|
@@ -27,6 +27,7 @@ export declare const useActionBarList: import("@workday/canvas-kit-react/common"
|
|
|
27
27
|
hiddenIds: string[];
|
|
28
28
|
itemWidthCache: Record<string, number>;
|
|
29
29
|
containerWidth: number;
|
|
30
|
+
containerGap: number;
|
|
30
31
|
overflowTargetWidth: number;
|
|
31
32
|
selectedIds: string[] | "all";
|
|
32
33
|
unselectedIds: string[];
|
|
@@ -59,6 +60,9 @@ export declare const useActionBarList: import("@workday/canvas-kit-react/common"
|
|
|
59
60
|
setContainerWidth(data: {
|
|
60
61
|
width?: number | undefined;
|
|
61
62
|
}): void;
|
|
63
|
+
setContainerGap(data: {
|
|
64
|
+
size: number;
|
|
65
|
+
}): void;
|
|
62
66
|
setOverflowTargetWidth(data: {
|
|
63
67
|
width: number;
|
|
64
68
|
}): void;
|
|
@@ -115,6 +119,7 @@ export declare const ActionBarList: import("@workday/canvas-kit-react/common").E
|
|
|
115
119
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
116
120
|
itemWidthCache: Record<string, number>;
|
|
117
121
|
containerWidth: number;
|
|
122
|
+
containerGap: number;
|
|
118
123
|
overflowTargetWidth: number;
|
|
119
124
|
selectedIds: string[] | "all";
|
|
120
125
|
unselectedIds: string[];
|
|
@@ -145,6 +150,9 @@ export declare const ActionBarList: import("@workday/canvas-kit-react/common").E
|
|
|
145
150
|
setContainerWidth(data: {
|
|
146
151
|
width?: number | undefined;
|
|
147
152
|
}): void;
|
|
153
|
+
setContainerGap(data: {
|
|
154
|
+
size: number;
|
|
155
|
+
}): void;
|
|
148
156
|
setOverflowTargetWidth(data: {
|
|
149
157
|
width: number;
|
|
150
158
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionBarList.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBarList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAEL,YAAY,EAIb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kCAAkC,CAAC;AAKtD,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,GAAG,CACzC,SAAQ,IAAI,CAAC,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC,EAAE,UAAU,CAAC;IAC1D;;;;;;;;OAQG;IACH,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;IAC1E;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAClC;AAcD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"ActionBarList.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBarList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAEL,YAAY,EAIb,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kCAAkC,CAAC;AAKtD,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,GAAG,CACzC,SAAQ,IAAI,CAAC,YAAY,CAAC,OAAO,IAAI,EAAE,KAAK,CAAC,EAAE,UAAU,CAAC;IAC1D;;;;;;;;OAQG;IACH,QAAQ,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;IAC1E;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAClC;AAcD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyB,CAAC;AAEvD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBxB,CAAC"}
|
|
@@ -10,6 +10,7 @@ export declare const useActionBarOverflowButton: import("@workday/canvas-kit-rea
|
|
|
10
10
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
11
11
|
itemWidthCache: Record<string, number>;
|
|
12
12
|
containerWidth: number;
|
|
13
|
+
containerGap: number;
|
|
13
14
|
overflowTargetWidth: number;
|
|
14
15
|
selectedIds: string[] | "all";
|
|
15
16
|
unselectedIds: string[];
|
|
@@ -40,6 +41,9 @@ export declare const useActionBarOverflowButton: import("@workday/canvas-kit-rea
|
|
|
40
41
|
setContainerWidth(data: {
|
|
41
42
|
width?: number | undefined;
|
|
42
43
|
}): void;
|
|
44
|
+
setContainerGap(data: {
|
|
45
|
+
size: number;
|
|
46
|
+
}): void;
|
|
43
47
|
setOverflowTargetWidth(data: {
|
|
44
48
|
width: number;
|
|
45
49
|
}): void;
|
|
@@ -185,6 +189,7 @@ export declare const ActionBarOverflowButton: import("@workday/canvas-kit-react/
|
|
|
185
189
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
186
190
|
itemWidthCache: Record<string, number>;
|
|
187
191
|
containerWidth: number;
|
|
192
|
+
containerGap: number;
|
|
188
193
|
overflowTargetWidth: number;
|
|
189
194
|
selectedIds: string[] | "all";
|
|
190
195
|
unselectedIds: string[];
|
|
@@ -215,6 +220,9 @@ export declare const ActionBarOverflowButton: import("@workday/canvas-kit-react/
|
|
|
215
220
|
setContainerWidth(data: {
|
|
216
221
|
width?: number | undefined;
|
|
217
222
|
}): void;
|
|
223
|
+
setContainerGap(data: {
|
|
224
|
+
size: number;
|
|
225
|
+
}): void;
|
|
218
226
|
setOverflowTargetWidth(data: {
|
|
219
227
|
width: number;
|
|
220
228
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionBarOverflowButton.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBarOverflowButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,EAAkB,oBAAoB,EAAC,MAAM,kCAAkC,CAAC;AAEvF,MAAM,WAAW,4BAA6B,SAAQ,oBAAoB;IACxE,YAAY,EAAE,MAAM,CAAC;CACtB;AAMD,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"ActionBarOverflowButton.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBarOverflowButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,EAAkB,oBAAoB,EAAC,MAAM,kCAAkC,CAAC;AAEvF,MAAM,WAAW,4BAA6B,SAAQ,oBAAoB;IACxE,YAAY,EAAE,MAAM,CAAC;CACtB;AAMD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8aAMtC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMlC,CAAC"}
|
|
@@ -63,6 +63,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
63
63
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
64
64
|
itemWidthCache: Record<string, number>;
|
|
65
65
|
containerWidth: number;
|
|
66
|
+
containerGap: number;
|
|
66
67
|
overflowTargetWidth: number;
|
|
67
68
|
selectedIds: string[] | "all";
|
|
68
69
|
unselectedIds: string[];
|
|
@@ -94,6 +95,39 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
94
95
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
95
96
|
itemWidthCache: Record<string, number>;
|
|
96
97
|
containerWidth: number;
|
|
98
|
+
containerGap: number;
|
|
99
|
+
overflowTargetWidth: number;
|
|
100
|
+
selectedIds: string[] | "all";
|
|
101
|
+
unselectedIds: string[];
|
|
102
|
+
cursorId: string;
|
|
103
|
+
columnCount: number;
|
|
104
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
105
|
+
cursorIndexRef: {
|
|
106
|
+
readonly current: number;
|
|
107
|
+
};
|
|
108
|
+
UNSTABLE_virtual: {
|
|
109
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
110
|
+
totalSize: number;
|
|
111
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
112
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
113
|
+
measure: () => void;
|
|
114
|
+
};
|
|
115
|
+
UNSTABLE_defaultItemHeight: number;
|
|
116
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
117
|
+
id: string;
|
|
118
|
+
indexRef: React.MutableRefObject<number>;
|
|
119
|
+
isVirtualized: boolean;
|
|
120
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
121
|
+
}) => void) | undefined;
|
|
122
|
+
onSetContainerGap?: ((data: {
|
|
123
|
+
size: number;
|
|
124
|
+
}, prevState: {
|
|
125
|
+
hiddenIds: string[];
|
|
126
|
+
nonInteractiveIds: string[];
|
|
127
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
128
|
+
itemWidthCache: Record<string, number>;
|
|
129
|
+
containerWidth: number;
|
|
130
|
+
containerGap: number;
|
|
97
131
|
overflowTargetWidth: number;
|
|
98
132
|
selectedIds: string[] | "all";
|
|
99
133
|
unselectedIds: string[];
|
|
@@ -125,6 +159,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
125
159
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
126
160
|
itemWidthCache: Record<string, number>;
|
|
127
161
|
containerWidth: number;
|
|
162
|
+
containerGap: number;
|
|
128
163
|
overflowTargetWidth: number;
|
|
129
164
|
selectedIds: string[] | "all";
|
|
130
165
|
unselectedIds: string[];
|
|
@@ -157,6 +192,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
157
192
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
158
193
|
itemWidthCache: Record<string, number>;
|
|
159
194
|
containerWidth: number;
|
|
195
|
+
containerGap: number;
|
|
160
196
|
overflowTargetWidth: number;
|
|
161
197
|
selectedIds: string[] | "all";
|
|
162
198
|
unselectedIds: string[];
|
|
@@ -188,6 +224,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
188
224
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
189
225
|
itemWidthCache: Record<string, number>;
|
|
190
226
|
containerWidth: number;
|
|
227
|
+
containerGap: number;
|
|
191
228
|
overflowTargetWidth: number;
|
|
192
229
|
selectedIds: string[] | "all";
|
|
193
230
|
unselectedIds: string[];
|
|
@@ -219,6 +256,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
219
256
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
220
257
|
itemWidthCache: Record<string, number>;
|
|
221
258
|
containerWidth: number;
|
|
259
|
+
containerGap: number;
|
|
222
260
|
overflowTargetWidth: number;
|
|
223
261
|
selectedIds: string[] | "all";
|
|
224
262
|
unselectedIds: string[];
|
|
@@ -250,6 +288,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
250
288
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
251
289
|
itemWidthCache: Record<string, number>;
|
|
252
290
|
containerWidth: number;
|
|
291
|
+
containerGap: number;
|
|
253
292
|
overflowTargetWidth: number;
|
|
254
293
|
selectedIds: string[] | "all";
|
|
255
294
|
unselectedIds: string[];
|
|
@@ -279,6 +318,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
279
318
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
280
319
|
itemWidthCache: Record<string, number>;
|
|
281
320
|
containerWidth: number;
|
|
321
|
+
containerGap: number;
|
|
282
322
|
overflowTargetWidth: number;
|
|
283
323
|
selectedIds: string[] | "all";
|
|
284
324
|
unselectedIds: string[];
|
|
@@ -308,6 +348,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
308
348
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
309
349
|
itemWidthCache: Record<string, number>;
|
|
310
350
|
containerWidth: number;
|
|
351
|
+
containerGap: number;
|
|
311
352
|
overflowTargetWidth: number;
|
|
312
353
|
selectedIds: string[] | "all";
|
|
313
354
|
unselectedIds: string[];
|
|
@@ -337,6 +378,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
337
378
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
338
379
|
itemWidthCache: Record<string, number>;
|
|
339
380
|
containerWidth: number;
|
|
381
|
+
containerGap: number;
|
|
340
382
|
overflowTargetWidth: number;
|
|
341
383
|
selectedIds: string[] | "all";
|
|
342
384
|
unselectedIds: string[];
|
|
@@ -368,6 +410,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
368
410
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
369
411
|
itemWidthCache: Record<string, number>;
|
|
370
412
|
containerWidth: number;
|
|
413
|
+
containerGap: number;
|
|
371
414
|
overflowTargetWidth: number;
|
|
372
415
|
selectedIds: string[] | "all";
|
|
373
416
|
unselectedIds: string[];
|
|
@@ -397,6 +440,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
397
440
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
398
441
|
itemWidthCache: Record<string, number>;
|
|
399
442
|
containerWidth: number;
|
|
443
|
+
containerGap: number;
|
|
400
444
|
overflowTargetWidth: number;
|
|
401
445
|
selectedIds: string[] | "all";
|
|
402
446
|
unselectedIds: string[];
|
|
@@ -426,6 +470,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
426
470
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
427
471
|
itemWidthCache: Record<string, number>;
|
|
428
472
|
containerWidth: number;
|
|
473
|
+
containerGap: number;
|
|
429
474
|
overflowTargetWidth: number;
|
|
430
475
|
selectedIds: string[] | "all";
|
|
431
476
|
unselectedIds: string[];
|
|
@@ -455,6 +500,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
455
500
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
456
501
|
itemWidthCache: Record<string, number>;
|
|
457
502
|
containerWidth: number;
|
|
503
|
+
containerGap: number;
|
|
458
504
|
overflowTargetWidth: number;
|
|
459
505
|
selectedIds: string[] | "all";
|
|
460
506
|
unselectedIds: string[];
|
|
@@ -484,6 +530,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
484
530
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
485
531
|
itemWidthCache: Record<string, number>;
|
|
486
532
|
containerWidth: number;
|
|
533
|
+
containerGap: number;
|
|
487
534
|
overflowTargetWidth: number;
|
|
488
535
|
selectedIds: string[] | "all";
|
|
489
536
|
unselectedIds: string[];
|
|
@@ -513,6 +560,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
513
560
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
514
561
|
itemWidthCache: Record<string, number>;
|
|
515
562
|
containerWidth: number;
|
|
563
|
+
containerGap: number;
|
|
516
564
|
overflowTargetWidth: number;
|
|
517
565
|
selectedIds: string[] | "all";
|
|
518
566
|
unselectedIds: string[];
|
|
@@ -542,6 +590,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
542
590
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
543
591
|
itemWidthCache: Record<string, number>;
|
|
544
592
|
containerWidth: number;
|
|
593
|
+
containerGap: number;
|
|
545
594
|
overflowTargetWidth: number;
|
|
546
595
|
selectedIds: string[] | "all";
|
|
547
596
|
unselectedIds: string[];
|
|
@@ -571,6 +620,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
571
620
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
572
621
|
itemWidthCache: Record<string, number>;
|
|
573
622
|
containerWidth: number;
|
|
623
|
+
containerGap: number;
|
|
574
624
|
overflowTargetWidth: number;
|
|
575
625
|
selectedIds: string[] | "all";
|
|
576
626
|
unselectedIds: string[];
|
|
@@ -600,6 +650,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
600
650
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
601
651
|
itemWidthCache: Record<string, number>;
|
|
602
652
|
containerWidth: number;
|
|
653
|
+
containerGap: number;
|
|
603
654
|
overflowTargetWidth: number;
|
|
604
655
|
selectedIds: string[] | "all";
|
|
605
656
|
unselectedIds: string[];
|
|
@@ -629,6 +680,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
629
680
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
630
681
|
itemWidthCache: Record<string, number>;
|
|
631
682
|
containerWidth: number;
|
|
683
|
+
containerGap: number;
|
|
632
684
|
overflowTargetWidth: number;
|
|
633
685
|
selectedIds: string[] | "all";
|
|
634
686
|
unselectedIds: string[];
|
|
@@ -658,6 +710,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
658
710
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
659
711
|
itemWidthCache: Record<string, number>;
|
|
660
712
|
containerWidth: number;
|
|
713
|
+
containerGap: number;
|
|
661
714
|
overflowTargetWidth: number;
|
|
662
715
|
selectedIds: string[] | "all";
|
|
663
716
|
unselectedIds: string[];
|
|
@@ -690,6 +743,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
690
743
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
691
744
|
itemWidthCache: Record<string, number>;
|
|
692
745
|
containerWidth: number;
|
|
746
|
+
containerGap: number;
|
|
693
747
|
overflowTargetWidth: number;
|
|
694
748
|
selectedIds: string[] | "all";
|
|
695
749
|
unselectedIds: string[];
|
|
@@ -721,6 +775,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
721
775
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
722
776
|
itemWidthCache: Record<string, number>;
|
|
723
777
|
containerWidth: number;
|
|
778
|
+
containerGap: number;
|
|
724
779
|
overflowTargetWidth: number;
|
|
725
780
|
selectedIds: string[] | "all";
|
|
726
781
|
unselectedIds: string[];
|
|
@@ -752,6 +807,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
752
807
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
753
808
|
itemWidthCache: Record<string, number>;
|
|
754
809
|
containerWidth: number;
|
|
810
|
+
containerGap: number;
|
|
755
811
|
overflowTargetWidth: number;
|
|
756
812
|
selectedIds: string[] | "all";
|
|
757
813
|
unselectedIds: string[];
|
|
@@ -784,6 +840,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
784
840
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
785
841
|
itemWidthCache: Record<string, number>;
|
|
786
842
|
containerWidth: number;
|
|
843
|
+
containerGap: number;
|
|
787
844
|
overflowTargetWidth: number;
|
|
788
845
|
selectedIds: string[] | "all";
|
|
789
846
|
unselectedIds: string[];
|
|
@@ -815,6 +872,39 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
815
872
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
816
873
|
itemWidthCache: Record<string, number>;
|
|
817
874
|
containerWidth: number;
|
|
875
|
+
containerGap: number;
|
|
876
|
+
overflowTargetWidth: number;
|
|
877
|
+
selectedIds: string[] | "all";
|
|
878
|
+
unselectedIds: string[];
|
|
879
|
+
cursorId: string;
|
|
880
|
+
columnCount: number;
|
|
881
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
882
|
+
cursorIndexRef: {
|
|
883
|
+
readonly current: number;
|
|
884
|
+
};
|
|
885
|
+
UNSTABLE_virtual: {
|
|
886
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
887
|
+
totalSize: number;
|
|
888
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
889
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
890
|
+
measure: () => void;
|
|
891
|
+
};
|
|
892
|
+
UNSTABLE_defaultItemHeight: number;
|
|
893
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
894
|
+
id: string;
|
|
895
|
+
indexRef: React.MutableRefObject<number>;
|
|
896
|
+
isVirtualized: boolean;
|
|
897
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
898
|
+
}) => boolean) | undefined;
|
|
899
|
+
shouldSetContainerGap?: ((data: {
|
|
900
|
+
size: number;
|
|
901
|
+
}, state: {
|
|
902
|
+
hiddenIds: string[];
|
|
903
|
+
nonInteractiveIds: string[];
|
|
904
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
905
|
+
itemWidthCache: Record<string, number>;
|
|
906
|
+
containerWidth: number;
|
|
907
|
+
containerGap: number;
|
|
818
908
|
overflowTargetWidth: number;
|
|
819
909
|
selectedIds: string[] | "all";
|
|
820
910
|
unselectedIds: string[];
|
|
@@ -846,6 +936,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
846
936
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
847
937
|
itemWidthCache: Record<string, number>;
|
|
848
938
|
containerWidth: number;
|
|
939
|
+
containerGap: number;
|
|
849
940
|
overflowTargetWidth: number;
|
|
850
941
|
selectedIds: string[] | "all";
|
|
851
942
|
unselectedIds: string[];
|
|
@@ -878,6 +969,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
878
969
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
879
970
|
itemWidthCache: Record<string, number>;
|
|
880
971
|
containerWidth: number;
|
|
972
|
+
containerGap: number;
|
|
881
973
|
overflowTargetWidth: number;
|
|
882
974
|
selectedIds: string[] | "all";
|
|
883
975
|
unselectedIds: string[];
|
|
@@ -909,6 +1001,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
909
1001
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
910
1002
|
itemWidthCache: Record<string, number>;
|
|
911
1003
|
containerWidth: number;
|
|
1004
|
+
containerGap: number;
|
|
912
1005
|
overflowTargetWidth: number;
|
|
913
1006
|
selectedIds: string[] | "all";
|
|
914
1007
|
unselectedIds: string[];
|
|
@@ -940,6 +1033,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
940
1033
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
941
1034
|
itemWidthCache: Record<string, number>;
|
|
942
1035
|
containerWidth: number;
|
|
1036
|
+
containerGap: number;
|
|
943
1037
|
overflowTargetWidth: number;
|
|
944
1038
|
selectedIds: string[] | "all";
|
|
945
1039
|
unselectedIds: string[];
|
|
@@ -971,6 +1065,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
971
1065
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
972
1066
|
itemWidthCache: Record<string, number>;
|
|
973
1067
|
containerWidth: number;
|
|
1068
|
+
containerGap: number;
|
|
974
1069
|
overflowTargetWidth: number;
|
|
975
1070
|
selectedIds: string[] | "all";
|
|
976
1071
|
unselectedIds: string[];
|
|
@@ -1000,6 +1095,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1000
1095
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1001
1096
|
itemWidthCache: Record<string, number>;
|
|
1002
1097
|
containerWidth: number;
|
|
1098
|
+
containerGap: number;
|
|
1003
1099
|
overflowTargetWidth: number;
|
|
1004
1100
|
selectedIds: string[] | "all";
|
|
1005
1101
|
unselectedIds: string[];
|
|
@@ -1029,6 +1125,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1029
1125
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1030
1126
|
itemWidthCache: Record<string, number>;
|
|
1031
1127
|
containerWidth: number;
|
|
1128
|
+
containerGap: number;
|
|
1032
1129
|
overflowTargetWidth: number;
|
|
1033
1130
|
selectedIds: string[] | "all";
|
|
1034
1131
|
unselectedIds: string[];
|
|
@@ -1058,6 +1155,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1058
1155
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1059
1156
|
itemWidthCache: Record<string, number>;
|
|
1060
1157
|
containerWidth: number;
|
|
1158
|
+
containerGap: number;
|
|
1061
1159
|
overflowTargetWidth: number;
|
|
1062
1160
|
selectedIds: string[] | "all";
|
|
1063
1161
|
unselectedIds: string[];
|
|
@@ -1089,6 +1187,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1089
1187
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1090
1188
|
itemWidthCache: Record<string, number>;
|
|
1091
1189
|
containerWidth: number;
|
|
1190
|
+
containerGap: number;
|
|
1092
1191
|
overflowTargetWidth: number;
|
|
1093
1192
|
selectedIds: string[] | "all";
|
|
1094
1193
|
unselectedIds: string[];
|
|
@@ -1118,6 +1217,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1118
1217
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1119
1218
|
itemWidthCache: Record<string, number>;
|
|
1120
1219
|
containerWidth: number;
|
|
1220
|
+
containerGap: number;
|
|
1121
1221
|
overflowTargetWidth: number;
|
|
1122
1222
|
selectedIds: string[] | "all";
|
|
1123
1223
|
unselectedIds: string[];
|
|
@@ -1147,6 +1247,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1147
1247
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1148
1248
|
itemWidthCache: Record<string, number>;
|
|
1149
1249
|
containerWidth: number;
|
|
1250
|
+
containerGap: number;
|
|
1150
1251
|
overflowTargetWidth: number;
|
|
1151
1252
|
selectedIds: string[] | "all";
|
|
1152
1253
|
unselectedIds: string[];
|
|
@@ -1176,6 +1277,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1176
1277
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1177
1278
|
itemWidthCache: Record<string, number>;
|
|
1178
1279
|
containerWidth: number;
|
|
1280
|
+
containerGap: number;
|
|
1179
1281
|
overflowTargetWidth: number;
|
|
1180
1282
|
selectedIds: string[] | "all";
|
|
1181
1283
|
unselectedIds: string[];
|
|
@@ -1205,6 +1307,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1205
1307
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1206
1308
|
itemWidthCache: Record<string, number>;
|
|
1207
1309
|
containerWidth: number;
|
|
1310
|
+
containerGap: number;
|
|
1208
1311
|
overflowTargetWidth: number;
|
|
1209
1312
|
selectedIds: string[] | "all";
|
|
1210
1313
|
unselectedIds: string[];
|
|
@@ -1234,6 +1337,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1234
1337
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1235
1338
|
itemWidthCache: Record<string, number>;
|
|
1236
1339
|
containerWidth: number;
|
|
1340
|
+
containerGap: number;
|
|
1237
1341
|
overflowTargetWidth: number;
|
|
1238
1342
|
selectedIds: string[] | "all";
|
|
1239
1343
|
unselectedIds: string[];
|
|
@@ -1263,6 +1367,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1263
1367
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1264
1368
|
itemWidthCache: Record<string, number>;
|
|
1265
1369
|
containerWidth: number;
|
|
1370
|
+
containerGap: number;
|
|
1266
1371
|
overflowTargetWidth: number;
|
|
1267
1372
|
selectedIds: string[] | "all";
|
|
1268
1373
|
unselectedIds: string[];
|
|
@@ -1292,6 +1397,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1292
1397
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1293
1398
|
itemWidthCache: Record<string, number>;
|
|
1294
1399
|
containerWidth: number;
|
|
1400
|
+
containerGap: number;
|
|
1295
1401
|
overflowTargetWidth: number;
|
|
1296
1402
|
selectedIds: string[] | "all";
|
|
1297
1403
|
unselectedIds: string[];
|
|
@@ -1321,6 +1427,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1321
1427
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1322
1428
|
itemWidthCache: Record<string, number>;
|
|
1323
1429
|
containerWidth: number;
|
|
1430
|
+
containerGap: number;
|
|
1324
1431
|
overflowTargetWidth: number;
|
|
1325
1432
|
selectedIds: string[] | "all";
|
|
1326
1433
|
unselectedIds: string[];
|
|
@@ -1350,6 +1457,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1350
1457
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1351
1458
|
itemWidthCache: Record<string, number>;
|
|
1352
1459
|
containerWidth: number;
|
|
1460
|
+
containerGap: number;
|
|
1353
1461
|
overflowTargetWidth: number;
|
|
1354
1462
|
selectedIds: string[] | "all";
|
|
1355
1463
|
unselectedIds: string[];
|
|
@@ -1379,6 +1487,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1379
1487
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1380
1488
|
itemWidthCache: Record<string, number>;
|
|
1381
1489
|
containerWidth: number;
|
|
1490
|
+
containerGap: number;
|
|
1382
1491
|
overflowTargetWidth: number;
|
|
1383
1492
|
selectedIds: string[] | "all";
|
|
1384
1493
|
unselectedIds: string[];
|
|
@@ -1411,6 +1520,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1411
1520
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1412
1521
|
itemWidthCache: Record<string, number>;
|
|
1413
1522
|
containerWidth: number;
|
|
1523
|
+
containerGap: number;
|
|
1414
1524
|
overflowTargetWidth: number;
|
|
1415
1525
|
selectedIds: string[] | "all";
|
|
1416
1526
|
unselectedIds: string[];
|
|
@@ -1442,6 +1552,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1442
1552
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1443
1553
|
itemWidthCache: Record<string, number>;
|
|
1444
1554
|
containerWidth: number;
|
|
1555
|
+
containerGap: number;
|
|
1445
1556
|
overflowTargetWidth: number;
|
|
1446
1557
|
selectedIds: string[] | "all";
|
|
1447
1558
|
unselectedIds: string[];
|
|
@@ -1473,6 +1584,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1473
1584
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1474
1585
|
itemWidthCache: Record<string, number>;
|
|
1475
1586
|
containerWidth: number;
|
|
1587
|
+
containerGap: number;
|
|
1476
1588
|
overflowTargetWidth: number;
|
|
1477
1589
|
selectedIds: string[] | "all";
|
|
1478
1590
|
unselectedIds: string[];
|
|
@@ -1503,6 +1615,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1503
1615
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1504
1616
|
itemWidthCache: Record<string, number>;
|
|
1505
1617
|
containerWidth: number;
|
|
1618
|
+
containerGap: number;
|
|
1506
1619
|
overflowTargetWidth: number;
|
|
1507
1620
|
selectedIds: string[] | "all";
|
|
1508
1621
|
unselectedIds: string[];
|
|
@@ -1533,6 +1646,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1533
1646
|
setContainerWidth(data: {
|
|
1534
1647
|
width?: number | undefined;
|
|
1535
1648
|
}): void;
|
|
1649
|
+
setContainerGap(data: {
|
|
1650
|
+
size: number;
|
|
1651
|
+
}): void;
|
|
1536
1652
|
setOverflowTargetWidth(data: {
|
|
1537
1653
|
width: number;
|
|
1538
1654
|
}): void;
|
|
@@ -1713,6 +1829,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1713
1829
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1714
1830
|
itemWidthCache: Record<string, number>;
|
|
1715
1831
|
containerWidth: number;
|
|
1832
|
+
containerGap: number;
|
|
1716
1833
|
overflowTargetWidth: number;
|
|
1717
1834
|
selectedIds: string[] | "all";
|
|
1718
1835
|
unselectedIds: string[];
|
|
@@ -1742,6 +1859,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1742
1859
|
setContainerWidth(data: {
|
|
1743
1860
|
width?: number | undefined;
|
|
1744
1861
|
}): void;
|
|
1862
|
+
setContainerGap(data: {
|
|
1863
|
+
size: number;
|
|
1864
|
+
}): void;
|
|
1745
1865
|
setOverflowTargetWidth(data: {
|
|
1746
1866
|
width: number;
|
|
1747
1867
|
}): void;
|
|
@@ -1791,6 +1911,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1791
1911
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1792
1912
|
itemWidthCache: Record<string, number>;
|
|
1793
1913
|
containerWidth: number;
|
|
1914
|
+
containerGap: number;
|
|
1794
1915
|
overflowTargetWidth: number;
|
|
1795
1916
|
selectedIds: string[] | "all";
|
|
1796
1917
|
unselectedIds: string[];
|
|
@@ -1821,6 +1942,9 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1821
1942
|
setContainerWidth(data: {
|
|
1822
1943
|
width?: number | undefined;
|
|
1823
1944
|
}): void;
|
|
1945
|
+
setContainerGap(data: {
|
|
1946
|
+
size: number;
|
|
1947
|
+
}): void;
|
|
1824
1948
|
setOverflowTargetWidth(data: {
|
|
1825
1949
|
width: number;
|
|
1826
1950
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useActionBarModel.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/useActionBarModel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,iBAAiB;IAG1B;;;OAGG;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;IAGH;;;;OAIG
|
|
1
|
+
{"version":3,"file":"useActionBarModel.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/useActionBarModel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,iBAAiB;IAG1B;;;OAGG;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;IAGH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAhBH;;;OAGG;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;IAGH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8EL,CAAC"}
|