@workday/canvas-kit-react 11.1.19 → 11.1.21
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/useOverflowListMeasure.ts +18 -4
- package/collection/lib/useOverflowListModel.tsx +34 -6
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +126 -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 +9 -1
- 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 +122 -0
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +499 -51
- 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 +122 -0
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- 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 +5 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.js +11 -23
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +123 -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/tabs/lib/Tabs.d.ts +144 -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 +9 -1
- 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 +148 -0
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +126 -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 +9 -1
- 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 +122 -0
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +499 -51
- 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 +122 -0
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- 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 +5 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.js +12 -5
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +123 -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/tabs/lib/Tabs.d.ts +144 -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 +9 -1
- 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 +148 -0
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -7,7 +7,7 @@ exports.useOverflowListModel = exports.getHiddenIds = void 0;
|
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const common_1 = require("@workday/canvas-kit-react/common");
|
|
9
9
|
const useSelectionListModel_1 = require("./useSelectionListModel");
|
|
10
|
-
function getHiddenIds(containerWidth, overflowTargetWidth, itemWidthCache, selectedIds, items) {
|
|
10
|
+
function getHiddenIds(containerWidth, containerGap, overflowTargetWidth, itemWidthCache, selectedIds, items) {
|
|
11
11
|
/** Allows us to prioritize showing the selected item */
|
|
12
12
|
let selectedKey;
|
|
13
13
|
/** Tally of combined item widths. We'll add items that fit until the container is full */
|
|
@@ -15,16 +15,16 @@ function getHiddenIds(containerWidth, overflowTargetWidth, itemWidthCache, selec
|
|
|
15
15
|
/** Tally ids that won't fit inside the container. These will be used by components to hide
|
|
16
16
|
* elements that won't fit in the container */
|
|
17
17
|
const hiddenIds = [];
|
|
18
|
+
/** Track if gap should be calculated since gap doesn't apply to the width of the first item, only
|
|
19
|
+
* consecutive items */
|
|
20
|
+
let shouldAddGap = false;
|
|
18
21
|
if (selectedIds !== 'all' && selectedIds.length) {
|
|
19
|
-
if (items
|
|
22
|
+
if (items.length) {
|
|
20
23
|
// If selectedIds[0] is not in items, use the first id from items
|
|
21
24
|
selectedKey = items.find(item => item.id === selectedIds[0]) ? selectedIds[0] : items[0].id;
|
|
22
25
|
}
|
|
23
|
-
else {
|
|
24
|
-
selectedKey = selectedIds[0];
|
|
25
|
-
}
|
|
26
26
|
}
|
|
27
|
-
if (Object.keys(itemWidthCache).reduce((sum, key) => sum + itemWidthCache[key], 0) <= containerWidth) {
|
|
27
|
+
if (Object.keys(itemWidthCache).reduce((sum, key, index) => sum + itemWidthCache[key] + (index > 0 ? containerGap : 0), 0) <= containerWidth) {
|
|
28
28
|
// All items fit, return empty array
|
|
29
29
|
return [];
|
|
30
30
|
}
|
|
@@ -36,6 +36,7 @@ function getHiddenIds(containerWidth, overflowTargetWidth, itemWidthCache, selec
|
|
|
36
36
|
else {
|
|
37
37
|
// at least the selected item and overflow target fit. Update our itemWidth with the sum
|
|
38
38
|
itemWidth += itemWidthCache[selectedKey] + overflowTargetWidth;
|
|
39
|
+
shouldAddGap = true;
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
42
|
else {
|
|
@@ -43,7 +44,8 @@ function getHiddenIds(containerWidth, overflowTargetWidth, itemWidthCache, selec
|
|
|
43
44
|
}
|
|
44
45
|
for (const key in itemWidthCache) {
|
|
45
46
|
if (key !== selectedKey) {
|
|
46
|
-
itemWidth += itemWidthCache[key];
|
|
47
|
+
itemWidth += itemWidthCache[key] + (shouldAddGap ? containerGap : 0);
|
|
48
|
+
shouldAddGap = true;
|
|
47
49
|
if (itemWidth > containerWidth) {
|
|
48
50
|
hiddenIds.push(key);
|
|
49
51
|
}
|
|
@@ -70,6 +72,7 @@ exports.useOverflowListModel = common_1.createModelHook({
|
|
|
70
72
|
const [hiddenIds, setHiddenIds] = react_1.default.useState(config.initialHiddenIds);
|
|
71
73
|
const [itemWidthCache, setItemWidthCache] = react_1.default.useState({});
|
|
72
74
|
const [containerWidth, setContainerWidth] = react_1.default.useState(0);
|
|
75
|
+
const [containerGap, setContainerGap] = react_1.default.useState(0);
|
|
73
76
|
const containerWidthRef = react_1.default.useRef(0);
|
|
74
77
|
const itemWidthCacheRef = react_1.default.useRef(itemWidthCache);
|
|
75
78
|
const [overflowTargetWidth, setOverflowTargetWidth] = react_1.default.useState(0);
|
|
@@ -87,20 +90,26 @@ exports.useOverflowListModel = common_1.createModelHook({
|
|
|
87
90
|
hiddenIds: internalHiddenIds,
|
|
88
91
|
itemWidthCache,
|
|
89
92
|
containerWidth,
|
|
93
|
+
containerGap,
|
|
90
94
|
overflowTargetWidth,
|
|
91
95
|
};
|
|
92
96
|
const events = {
|
|
93
97
|
...model.events,
|
|
94
98
|
select(data) {
|
|
95
99
|
const { selectedIds } = model.selection.select(data.id, state);
|
|
96
|
-
const ids = getHiddenIds(containerWidthRef.current, overflowTargetWidthRef.current, itemWidthCacheRef.current, selectedIds, config.items);
|
|
100
|
+
const ids = getHiddenIds(containerWidthRef.current, containerGap, overflowTargetWidthRef.current, itemWidthCacheRef.current, selectedIds, config.items);
|
|
97
101
|
model.events.select(data);
|
|
98
102
|
setHiddenIds(ids);
|
|
99
103
|
},
|
|
100
104
|
setContainerWidth(data) {
|
|
101
105
|
containerWidthRef.current = data.width || 0;
|
|
102
106
|
setContainerWidth(data.width || 0);
|
|
103
|
-
const ids = getHiddenIds(containerWidthRef.current, overflowTargetWidthRef.current, itemWidthCacheRef.current, state.selectedIds, config.items);
|
|
107
|
+
const ids = getHiddenIds(containerWidthRef.current, containerGap, overflowTargetWidthRef.current, itemWidthCacheRef.current, state.selectedIds, config.items);
|
|
108
|
+
setHiddenIds(ids);
|
|
109
|
+
},
|
|
110
|
+
setContainerGap(data) {
|
|
111
|
+
setContainerGap(data.size);
|
|
112
|
+
const ids = getHiddenIds(containerWidthRef.current, data.size, overflowTargetWidthRef.current, itemWidthCacheRef.current, state.selectedIds, config.items);
|
|
104
113
|
setHiddenIds(ids);
|
|
105
114
|
},
|
|
106
115
|
setOverflowTargetWidth(data) {
|
|
@@ -113,7 +122,7 @@ exports.useOverflowListModel = common_1.createModelHook({
|
|
|
113
122
|
[data.id]: data.width,
|
|
114
123
|
};
|
|
115
124
|
setItemWidthCache(itemWidthCacheRef.current);
|
|
116
|
-
const ids = getHiddenIds(containerWidthRef.current, overflowTargetWidthRef.current, itemWidthCacheRef.current, state.selectedIds, config.items);
|
|
125
|
+
const ids = getHiddenIds(containerWidthRef.current, containerGap, overflowTargetWidthRef.current, itemWidthCacheRef.current, state.selectedIds, config.items);
|
|
117
126
|
setHiddenIds(ids);
|
|
118
127
|
},
|
|
119
128
|
removeItemWidth(data) {
|
|
@@ -121,7 +130,7 @@ exports.useOverflowListModel = common_1.createModelHook({
|
|
|
121
130
|
delete newCache[data.id];
|
|
122
131
|
itemWidthCacheRef.current = newCache;
|
|
123
132
|
setItemWidthCache(itemWidthCacheRef.current);
|
|
124
|
-
const ids = getHiddenIds(containerWidthRef.current, overflowTargetWidthRef.current, itemWidthCacheRef.current, state.selectedIds !== 'all'
|
|
133
|
+
const ids = getHiddenIds(containerWidthRef.current, containerGap, overflowTargetWidthRef.current, itemWidthCacheRef.current, state.selectedIds !== 'all'
|
|
125
134
|
? state.selectedIds.filter(sId => data.id !== sId)
|
|
126
135
|
: state.selectedIds, config.items);
|
|
127
136
|
setHiddenIds(ids);
|
|
@@ -8,6 +8,7 @@ export declare const useOverflowListTarget: import("@workday/canvas-kit-react/co
|
|
|
8
8
|
hiddenIds: string[];
|
|
9
9
|
itemWidthCache: Record<string, number>;
|
|
10
10
|
containerWidth: number;
|
|
11
|
+
containerGap: number;
|
|
11
12
|
overflowTargetWidth: number;
|
|
12
13
|
selectedIds: string[] | "all";
|
|
13
14
|
unselectedIds: string[];
|
|
@@ -40,6 +41,9 @@ export declare const useOverflowListTarget: import("@workday/canvas-kit-react/co
|
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOverflowListTarget.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useOverflowListTarget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B;;;GAGG;AACH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"useOverflowListTarget.d.ts","sourceRoot":"","sources":["../../../../collection/lib/useOverflowListTarget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BhC,CAAC"}
|
|
@@ -1392,6 +1392,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1392
1392
|
hiddenIds: string[];
|
|
1393
1393
|
itemWidthCache: Record<string, number>;
|
|
1394
1394
|
containerWidth: number;
|
|
1395
|
+
containerGap: number;
|
|
1395
1396
|
overflowTargetWidth: number;
|
|
1396
1397
|
selectedIds: string[] | "all";
|
|
1397
1398
|
unselectedIds: string[];
|
|
@@ -1426,6 +1427,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1426
1427
|
hiddenIds: string[];
|
|
1427
1428
|
itemWidthCache: Record<string, number>;
|
|
1428
1429
|
containerWidth: number;
|
|
1430
|
+
containerGap: number;
|
|
1429
1431
|
overflowTargetWidth: number;
|
|
1430
1432
|
selectedIds: string[] | "all";
|
|
1431
1433
|
unselectedIds: string[];
|
|
@@ -1460,6 +1462,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1460
1462
|
hiddenIds: string[];
|
|
1461
1463
|
itemWidthCache: Record<string, number>;
|
|
1462
1464
|
containerWidth: number;
|
|
1465
|
+
containerGap: number;
|
|
1463
1466
|
overflowTargetWidth: number;
|
|
1464
1467
|
selectedIds: string[] | "all";
|
|
1465
1468
|
unselectedIds: string[];
|
|
@@ -1494,6 +1497,42 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1494
1497
|
hiddenIds: string[];
|
|
1495
1498
|
itemWidthCache: Record<string, number>;
|
|
1496
1499
|
containerWidth: number;
|
|
1500
|
+
containerGap: number;
|
|
1501
|
+
overflowTargetWidth: number;
|
|
1502
|
+
selectedIds: string[] | "all";
|
|
1503
|
+
unselectedIds: string[];
|
|
1504
|
+
cursorId: string;
|
|
1505
|
+
columnCount: number;
|
|
1506
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1507
|
+
cursorIndexRef: {
|
|
1508
|
+
readonly current: number;
|
|
1509
|
+
};
|
|
1510
|
+
UNSTABLE_virtual: {
|
|
1511
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1512
|
+
totalSize: number;
|
|
1513
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1514
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1515
|
+
measure: () => void;
|
|
1516
|
+
};
|
|
1517
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1518
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1519
|
+
id: string;
|
|
1520
|
+
indexRef: React.MutableRefObject<number>;
|
|
1521
|
+
nonInteractiveIds: string[];
|
|
1522
|
+
isVirtualized: boolean;
|
|
1523
|
+
items: import("../..").Item<any>[];
|
|
1524
|
+
}) => void) | undefined;
|
|
1525
|
+
onSetContainerGap?: ((data: {
|
|
1526
|
+
size: number;
|
|
1527
|
+
}, prevState: {
|
|
1528
|
+
getId: (item: any) => string;
|
|
1529
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1530
|
+
panels: import("../..").Item<any>[];
|
|
1531
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1532
|
+
hiddenIds: string[];
|
|
1533
|
+
itemWidthCache: Record<string, number>;
|
|
1534
|
+
containerWidth: number;
|
|
1535
|
+
containerGap: number;
|
|
1497
1536
|
overflowTargetWidth: number;
|
|
1498
1537
|
selectedIds: string[] | "all";
|
|
1499
1538
|
unselectedIds: string[];
|
|
@@ -1528,6 +1567,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1528
1567
|
hiddenIds: string[];
|
|
1529
1568
|
itemWidthCache: Record<string, number>;
|
|
1530
1569
|
containerWidth: number;
|
|
1570
|
+
containerGap: number;
|
|
1531
1571
|
overflowTargetWidth: number;
|
|
1532
1572
|
selectedIds: string[] | "all";
|
|
1533
1573
|
unselectedIds: string[];
|
|
@@ -1563,6 +1603,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1563
1603
|
hiddenIds: string[];
|
|
1564
1604
|
itemWidthCache: Record<string, number>;
|
|
1565
1605
|
containerWidth: number;
|
|
1606
|
+
containerGap: number;
|
|
1566
1607
|
overflowTargetWidth: number;
|
|
1567
1608
|
selectedIds: string[] | "all";
|
|
1568
1609
|
unselectedIds: string[];
|
|
@@ -1597,6 +1638,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1597
1638
|
hiddenIds: string[];
|
|
1598
1639
|
itemWidthCache: Record<string, number>;
|
|
1599
1640
|
containerWidth: number;
|
|
1641
|
+
containerGap: number;
|
|
1600
1642
|
overflowTargetWidth: number;
|
|
1601
1643
|
selectedIds: string[] | "all";
|
|
1602
1644
|
unselectedIds: string[];
|
|
@@ -1631,6 +1673,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1631
1673
|
hiddenIds: string[];
|
|
1632
1674
|
itemWidthCache: Record<string, number>;
|
|
1633
1675
|
containerWidth: number;
|
|
1676
|
+
containerGap: number;
|
|
1634
1677
|
overflowTargetWidth: number;
|
|
1635
1678
|
selectedIds: string[] | "all";
|
|
1636
1679
|
unselectedIds: string[];
|
|
@@ -1665,6 +1708,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1665
1708
|
hiddenIds: string[];
|
|
1666
1709
|
itemWidthCache: Record<string, number>;
|
|
1667
1710
|
containerWidth: number;
|
|
1711
|
+
containerGap: number;
|
|
1668
1712
|
overflowTargetWidth: number;
|
|
1669
1713
|
selectedIds: string[] | "all";
|
|
1670
1714
|
unselectedIds: string[];
|
|
@@ -1697,6 +1741,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1697
1741
|
hiddenIds: string[];
|
|
1698
1742
|
itemWidthCache: Record<string, number>;
|
|
1699
1743
|
containerWidth: number;
|
|
1744
|
+
containerGap: number;
|
|
1700
1745
|
overflowTargetWidth: number;
|
|
1701
1746
|
selectedIds: string[] | "all";
|
|
1702
1747
|
unselectedIds: string[];
|
|
@@ -1729,6 +1774,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1729
1774
|
hiddenIds: string[];
|
|
1730
1775
|
itemWidthCache: Record<string, number>;
|
|
1731
1776
|
containerWidth: number;
|
|
1777
|
+
containerGap: number;
|
|
1732
1778
|
overflowTargetWidth: number;
|
|
1733
1779
|
selectedIds: string[] | "all";
|
|
1734
1780
|
unselectedIds: string[];
|
|
@@ -1763,6 +1809,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1763
1809
|
hiddenIds: string[];
|
|
1764
1810
|
itemWidthCache: Record<string, number>;
|
|
1765
1811
|
containerWidth: number;
|
|
1812
|
+
containerGap: number;
|
|
1766
1813
|
overflowTargetWidth: number;
|
|
1767
1814
|
selectedIds: string[] | "all";
|
|
1768
1815
|
unselectedIds: string[];
|
|
@@ -1795,6 +1842,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1795
1842
|
hiddenIds: string[];
|
|
1796
1843
|
itemWidthCache: Record<string, number>;
|
|
1797
1844
|
containerWidth: number;
|
|
1845
|
+
containerGap: number;
|
|
1798
1846
|
overflowTargetWidth: number;
|
|
1799
1847
|
selectedIds: string[] | "all";
|
|
1800
1848
|
unselectedIds: string[];
|
|
@@ -1827,6 +1875,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1827
1875
|
hiddenIds: string[];
|
|
1828
1876
|
itemWidthCache: Record<string, number>;
|
|
1829
1877
|
containerWidth: number;
|
|
1878
|
+
containerGap: number;
|
|
1830
1879
|
overflowTargetWidth: number;
|
|
1831
1880
|
selectedIds: string[] | "all";
|
|
1832
1881
|
unselectedIds: string[];
|
|
@@ -1859,6 +1908,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1859
1908
|
hiddenIds: string[];
|
|
1860
1909
|
itemWidthCache: Record<string, number>;
|
|
1861
1910
|
containerWidth: number;
|
|
1911
|
+
containerGap: number;
|
|
1862
1912
|
overflowTargetWidth: number;
|
|
1863
1913
|
selectedIds: string[] | "all";
|
|
1864
1914
|
unselectedIds: string[];
|
|
@@ -1891,6 +1941,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1891
1941
|
hiddenIds: string[];
|
|
1892
1942
|
itemWidthCache: Record<string, number>;
|
|
1893
1943
|
containerWidth: number;
|
|
1944
|
+
containerGap: number;
|
|
1894
1945
|
overflowTargetWidth: number;
|
|
1895
1946
|
selectedIds: string[] | "all";
|
|
1896
1947
|
unselectedIds: string[];
|
|
@@ -1923,6 +1974,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1923
1974
|
hiddenIds: string[];
|
|
1924
1975
|
itemWidthCache: Record<string, number>;
|
|
1925
1976
|
containerWidth: number;
|
|
1977
|
+
containerGap: number;
|
|
1926
1978
|
overflowTargetWidth: number;
|
|
1927
1979
|
selectedIds: string[] | "all";
|
|
1928
1980
|
unselectedIds: string[];
|
|
@@ -1955,6 +2007,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1955
2007
|
hiddenIds: string[];
|
|
1956
2008
|
itemWidthCache: Record<string, number>;
|
|
1957
2009
|
containerWidth: number;
|
|
2010
|
+
containerGap: number;
|
|
1958
2011
|
overflowTargetWidth: number;
|
|
1959
2012
|
selectedIds: string[] | "all";
|
|
1960
2013
|
unselectedIds: string[];
|
|
@@ -1987,6 +2040,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1987
2040
|
hiddenIds: string[];
|
|
1988
2041
|
itemWidthCache: Record<string, number>;
|
|
1989
2042
|
containerWidth: number;
|
|
2043
|
+
containerGap: number;
|
|
1990
2044
|
overflowTargetWidth: number;
|
|
1991
2045
|
selectedIds: string[] | "all";
|
|
1992
2046
|
unselectedIds: string[];
|
|
@@ -2019,6 +2073,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2019
2073
|
hiddenIds: string[];
|
|
2020
2074
|
itemWidthCache: Record<string, number>;
|
|
2021
2075
|
containerWidth: number;
|
|
2076
|
+
containerGap: number;
|
|
2022
2077
|
overflowTargetWidth: number;
|
|
2023
2078
|
selectedIds: string[] | "all";
|
|
2024
2079
|
unselectedIds: string[];
|
|
@@ -2051,6 +2106,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2051
2106
|
hiddenIds: string[];
|
|
2052
2107
|
itemWidthCache: Record<string, number>;
|
|
2053
2108
|
containerWidth: number;
|
|
2109
|
+
containerGap: number;
|
|
2054
2110
|
overflowTargetWidth: number;
|
|
2055
2111
|
selectedIds: string[] | "all";
|
|
2056
2112
|
unselectedIds: string[];
|
|
@@ -2083,6 +2139,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2083
2139
|
hiddenIds: string[];
|
|
2084
2140
|
itemWidthCache: Record<string, number>;
|
|
2085
2141
|
containerWidth: number;
|
|
2142
|
+
containerGap: number;
|
|
2086
2143
|
overflowTargetWidth: number;
|
|
2087
2144
|
selectedIds: string[] | "all";
|
|
2088
2145
|
unselectedIds: string[];
|
|
@@ -2118,6 +2175,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2118
2175
|
hiddenIds: string[];
|
|
2119
2176
|
itemWidthCache: Record<string, number>;
|
|
2120
2177
|
containerWidth: number;
|
|
2178
|
+
containerGap: number;
|
|
2121
2179
|
overflowTargetWidth: number;
|
|
2122
2180
|
selectedIds: string[] | "all";
|
|
2123
2181
|
unselectedIds: string[];
|
|
@@ -2152,6 +2210,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2152
2210
|
hiddenIds: string[];
|
|
2153
2211
|
itemWidthCache: Record<string, number>;
|
|
2154
2212
|
containerWidth: number;
|
|
2213
|
+
containerGap: number;
|
|
2155
2214
|
overflowTargetWidth: number;
|
|
2156
2215
|
selectedIds: string[] | "all";
|
|
2157
2216
|
unselectedIds: string[];
|
|
@@ -2186,6 +2245,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2186
2245
|
hiddenIds: string[];
|
|
2187
2246
|
itemWidthCache: Record<string, number>;
|
|
2188
2247
|
containerWidth: number;
|
|
2248
|
+
containerGap: number;
|
|
2189
2249
|
overflowTargetWidth: number;
|
|
2190
2250
|
selectedIds: string[] | "all";
|
|
2191
2251
|
unselectedIds: string[];
|
|
@@ -2222,6 +2282,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2222
2282
|
hiddenIds: string[];
|
|
2223
2283
|
itemWidthCache: Record<string, number>;
|
|
2224
2284
|
containerWidth: number;
|
|
2285
|
+
containerGap: number;
|
|
2225
2286
|
overflowTargetWidth: number;
|
|
2226
2287
|
selectedIds: string[] | "all";
|
|
2227
2288
|
unselectedIds: string[];
|
|
@@ -2256,6 +2317,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2256
2317
|
hiddenIds: string[];
|
|
2257
2318
|
itemWidthCache: Record<string, number>;
|
|
2258
2319
|
containerWidth: number;
|
|
2320
|
+
containerGap: number;
|
|
2259
2321
|
overflowTargetWidth: number;
|
|
2260
2322
|
selectedIds: string[] | "all";
|
|
2261
2323
|
unselectedIds: string[];
|
|
@@ -2290,6 +2352,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2290
2352
|
hiddenIds: string[];
|
|
2291
2353
|
itemWidthCache: Record<string, number>;
|
|
2292
2354
|
containerWidth: number;
|
|
2355
|
+
containerGap: number;
|
|
2293
2356
|
overflowTargetWidth: number;
|
|
2294
2357
|
selectedIds: string[] | "all";
|
|
2295
2358
|
unselectedIds: string[];
|
|
@@ -2324,6 +2387,42 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2324
2387
|
hiddenIds: string[];
|
|
2325
2388
|
itemWidthCache: Record<string, number>;
|
|
2326
2389
|
containerWidth: number;
|
|
2390
|
+
containerGap: number;
|
|
2391
|
+
overflowTargetWidth: number;
|
|
2392
|
+
selectedIds: string[] | "all";
|
|
2393
|
+
unselectedIds: string[];
|
|
2394
|
+
cursorId: string;
|
|
2395
|
+
columnCount: number;
|
|
2396
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2397
|
+
cursorIndexRef: {
|
|
2398
|
+
readonly current: number;
|
|
2399
|
+
};
|
|
2400
|
+
UNSTABLE_virtual: {
|
|
2401
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2402
|
+
totalSize: number;
|
|
2403
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
2404
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
2405
|
+
measure: () => void;
|
|
2406
|
+
};
|
|
2407
|
+
UNSTABLE_defaultItemHeight: number;
|
|
2408
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
2409
|
+
id: string;
|
|
2410
|
+
indexRef: React.MutableRefObject<number>;
|
|
2411
|
+
nonInteractiveIds: string[];
|
|
2412
|
+
isVirtualized: boolean;
|
|
2413
|
+
items: import("../..").Item<any>[];
|
|
2414
|
+
}) => boolean) | undefined;
|
|
2415
|
+
shouldSetContainerGap?: ((data: {
|
|
2416
|
+
size: number;
|
|
2417
|
+
}, state: {
|
|
2418
|
+
getId: (item: any) => string;
|
|
2419
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2420
|
+
panels: import("../..").Item<any>[];
|
|
2421
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
2422
|
+
hiddenIds: string[];
|
|
2423
|
+
itemWidthCache: Record<string, number>;
|
|
2424
|
+
containerWidth: number;
|
|
2425
|
+
containerGap: number;
|
|
2327
2426
|
overflowTargetWidth: number;
|
|
2328
2427
|
selectedIds: string[] | "all";
|
|
2329
2428
|
unselectedIds: string[];
|
|
@@ -2358,6 +2457,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2358
2457
|
hiddenIds: string[];
|
|
2359
2458
|
itemWidthCache: Record<string, number>;
|
|
2360
2459
|
containerWidth: number;
|
|
2460
|
+
containerGap: number;
|
|
2361
2461
|
overflowTargetWidth: number;
|
|
2362
2462
|
selectedIds: string[] | "all";
|
|
2363
2463
|
unselectedIds: string[];
|
|
@@ -2393,6 +2493,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2393
2493
|
hiddenIds: string[];
|
|
2394
2494
|
itemWidthCache: Record<string, number>;
|
|
2395
2495
|
containerWidth: number;
|
|
2496
|
+
containerGap: number;
|
|
2396
2497
|
overflowTargetWidth: number;
|
|
2397
2498
|
selectedIds: string[] | "all";
|
|
2398
2499
|
unselectedIds: string[];
|
|
@@ -2427,6 +2528,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2427
2528
|
hiddenIds: string[];
|
|
2428
2529
|
itemWidthCache: Record<string, number>;
|
|
2429
2530
|
containerWidth: number;
|
|
2531
|
+
containerGap: number;
|
|
2430
2532
|
overflowTargetWidth: number;
|
|
2431
2533
|
selectedIds: string[] | "all";
|
|
2432
2534
|
unselectedIds: string[];
|
|
@@ -2461,6 +2563,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2461
2563
|
hiddenIds: string[];
|
|
2462
2564
|
itemWidthCache: Record<string, number>;
|
|
2463
2565
|
containerWidth: number;
|
|
2566
|
+
containerGap: number;
|
|
2464
2567
|
overflowTargetWidth: number;
|
|
2465
2568
|
selectedIds: string[] | "all";
|
|
2466
2569
|
unselectedIds: string[];
|
|
@@ -2495,6 +2598,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2495
2598
|
hiddenIds: string[];
|
|
2496
2599
|
itemWidthCache: Record<string, number>;
|
|
2497
2600
|
containerWidth: number;
|
|
2601
|
+
containerGap: number;
|
|
2498
2602
|
overflowTargetWidth: number;
|
|
2499
2603
|
selectedIds: string[] | "all";
|
|
2500
2604
|
unselectedIds: string[];
|
|
@@ -2527,6 +2631,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2527
2631
|
hiddenIds: string[];
|
|
2528
2632
|
itemWidthCache: Record<string, number>;
|
|
2529
2633
|
containerWidth: number;
|
|
2634
|
+
containerGap: number;
|
|
2530
2635
|
overflowTargetWidth: number;
|
|
2531
2636
|
selectedIds: string[] | "all";
|
|
2532
2637
|
unselectedIds: string[];
|
|
@@ -2559,6 +2664,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2559
2664
|
hiddenIds: string[];
|
|
2560
2665
|
itemWidthCache: Record<string, number>;
|
|
2561
2666
|
containerWidth: number;
|
|
2667
|
+
containerGap: number;
|
|
2562
2668
|
overflowTargetWidth: number;
|
|
2563
2669
|
selectedIds: string[] | "all";
|
|
2564
2670
|
unselectedIds: string[];
|
|
@@ -2593,6 +2699,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2593
2699
|
hiddenIds: string[];
|
|
2594
2700
|
itemWidthCache: Record<string, number>;
|
|
2595
2701
|
containerWidth: number;
|
|
2702
|
+
containerGap: number;
|
|
2596
2703
|
overflowTargetWidth: number;
|
|
2597
2704
|
selectedIds: string[] | "all";
|
|
2598
2705
|
unselectedIds: string[];
|
|
@@ -2625,6 +2732,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2625
2732
|
hiddenIds: string[];
|
|
2626
2733
|
itemWidthCache: Record<string, number>;
|
|
2627
2734
|
containerWidth: number;
|
|
2735
|
+
containerGap: number;
|
|
2628
2736
|
overflowTargetWidth: number;
|
|
2629
2737
|
selectedIds: string[] | "all";
|
|
2630
2738
|
unselectedIds: string[];
|
|
@@ -2657,6 +2765,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2657
2765
|
hiddenIds: string[];
|
|
2658
2766
|
itemWidthCache: Record<string, number>;
|
|
2659
2767
|
containerWidth: number;
|
|
2768
|
+
containerGap: number;
|
|
2660
2769
|
overflowTargetWidth: number;
|
|
2661
2770
|
selectedIds: string[] | "all";
|
|
2662
2771
|
unselectedIds: string[];
|
|
@@ -2689,6 +2798,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2689
2798
|
hiddenIds: string[];
|
|
2690
2799
|
itemWidthCache: Record<string, number>;
|
|
2691
2800
|
containerWidth: number;
|
|
2801
|
+
containerGap: number;
|
|
2692
2802
|
overflowTargetWidth: number;
|
|
2693
2803
|
selectedIds: string[] | "all";
|
|
2694
2804
|
unselectedIds: string[];
|
|
@@ -2721,6 +2831,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2721
2831
|
hiddenIds: string[];
|
|
2722
2832
|
itemWidthCache: Record<string, number>;
|
|
2723
2833
|
containerWidth: number;
|
|
2834
|
+
containerGap: number;
|
|
2724
2835
|
overflowTargetWidth: number;
|
|
2725
2836
|
selectedIds: string[] | "all";
|
|
2726
2837
|
unselectedIds: string[];
|
|
@@ -2753,6 +2864,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2753
2864
|
hiddenIds: string[];
|
|
2754
2865
|
itemWidthCache: Record<string, number>;
|
|
2755
2866
|
containerWidth: number;
|
|
2867
|
+
containerGap: number;
|
|
2756
2868
|
overflowTargetWidth: number;
|
|
2757
2869
|
selectedIds: string[] | "all";
|
|
2758
2870
|
unselectedIds: string[];
|
|
@@ -2785,6 +2897,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2785
2897
|
hiddenIds: string[];
|
|
2786
2898
|
itemWidthCache: Record<string, number>;
|
|
2787
2899
|
containerWidth: number;
|
|
2900
|
+
containerGap: number;
|
|
2788
2901
|
overflowTargetWidth: number;
|
|
2789
2902
|
selectedIds: string[] | "all";
|
|
2790
2903
|
unselectedIds: string[];
|
|
@@ -2817,6 +2930,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2817
2930
|
hiddenIds: string[];
|
|
2818
2931
|
itemWidthCache: Record<string, number>;
|
|
2819
2932
|
containerWidth: number;
|
|
2933
|
+
containerGap: number;
|
|
2820
2934
|
overflowTargetWidth: number;
|
|
2821
2935
|
selectedIds: string[] | "all";
|
|
2822
2936
|
unselectedIds: string[];
|
|
@@ -2849,6 +2963,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2849
2963
|
hiddenIds: string[];
|
|
2850
2964
|
itemWidthCache: Record<string, number>;
|
|
2851
2965
|
containerWidth: number;
|
|
2966
|
+
containerGap: number;
|
|
2852
2967
|
overflowTargetWidth: number;
|
|
2853
2968
|
selectedIds: string[] | "all";
|
|
2854
2969
|
unselectedIds: string[];
|
|
@@ -2881,6 +2996,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2881
2996
|
hiddenIds: string[];
|
|
2882
2997
|
itemWidthCache: Record<string, number>;
|
|
2883
2998
|
containerWidth: number;
|
|
2999
|
+
containerGap: number;
|
|
2884
3000
|
overflowTargetWidth: number;
|
|
2885
3001
|
selectedIds: string[] | "all";
|
|
2886
3002
|
unselectedIds: string[];
|
|
@@ -2913,6 +3029,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2913
3029
|
hiddenIds: string[];
|
|
2914
3030
|
itemWidthCache: Record<string, number>;
|
|
2915
3031
|
containerWidth: number;
|
|
3032
|
+
containerGap: number;
|
|
2916
3033
|
overflowTargetWidth: number;
|
|
2917
3034
|
selectedIds: string[] | "all";
|
|
2918
3035
|
unselectedIds: string[];
|
|
@@ -2948,6 +3065,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2948
3065
|
hiddenIds: string[];
|
|
2949
3066
|
itemWidthCache: Record<string, number>;
|
|
2950
3067
|
containerWidth: number;
|
|
3068
|
+
containerGap: number;
|
|
2951
3069
|
overflowTargetWidth: number;
|
|
2952
3070
|
selectedIds: string[] | "all";
|
|
2953
3071
|
unselectedIds: string[];
|
|
@@ -2982,6 +3100,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
2982
3100
|
hiddenIds: string[];
|
|
2983
3101
|
itemWidthCache: Record<string, number>;
|
|
2984
3102
|
containerWidth: number;
|
|
3103
|
+
containerGap: number;
|
|
2985
3104
|
overflowTargetWidth: number;
|
|
2986
3105
|
selectedIds: string[] | "all";
|
|
2987
3106
|
unselectedIds: string[];
|
|
@@ -3016,6 +3135,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3016
3135
|
hiddenIds: string[];
|
|
3017
3136
|
itemWidthCache: Record<string, number>;
|
|
3018
3137
|
containerWidth: number;
|
|
3138
|
+
containerGap: number;
|
|
3019
3139
|
overflowTargetWidth: number;
|
|
3020
3140
|
selectedIds: string[] | "all";
|
|
3021
3141
|
unselectedIds: string[];
|
|
@@ -3049,6 +3169,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3049
3169
|
hiddenIds: string[];
|
|
3050
3170
|
itemWidthCache: Record<string, number>;
|
|
3051
3171
|
containerWidth: number;
|
|
3172
|
+
containerGap: number;
|
|
3052
3173
|
overflowTargetWidth: number;
|
|
3053
3174
|
selectedIds: string[] | "all";
|
|
3054
3175
|
unselectedIds: string[];
|
|
@@ -3087,6 +3208,9 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3087
3208
|
setContainerWidth(data: {
|
|
3088
3209
|
width?: number | undefined;
|
|
3089
3210
|
}): void;
|
|
3211
|
+
setContainerGap(data: {
|
|
3212
|
+
size: number;
|
|
3213
|
+
}): void;
|
|
3090
3214
|
setOverflowTargetWidth(data: {
|
|
3091
3215
|
width: number;
|
|
3092
3216
|
}): void;
|
|
@@ -3222,6 +3346,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3222
3346
|
hiddenIds: string[];
|
|
3223
3347
|
itemWidthCache: Record<string, number>;
|
|
3224
3348
|
containerWidth: number;
|
|
3349
|
+
containerGap: number;
|
|
3225
3350
|
overflowTargetWidth: number;
|
|
3226
3351
|
selectedIds: string[] | "all";
|
|
3227
3352
|
unselectedIds: string[];
|
|
@@ -3260,6 +3385,9 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3260
3385
|
setContainerWidth(data: {
|
|
3261
3386
|
width?: number | undefined;
|
|
3262
3387
|
}): void;
|
|
3388
|
+
setContainerGap(data: {
|
|
3389
|
+
size: number;
|
|
3390
|
+
}): void;
|
|
3263
3391
|
setOverflowTargetWidth(data: {
|
|
3264
3392
|
width: number;
|
|
3265
3393
|
}): void;
|
|
@@ -3396,6 +3524,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3396
3524
|
hiddenIds: string[];
|
|
3397
3525
|
itemWidthCache: Record<string, number>;
|
|
3398
3526
|
containerWidth: number;
|
|
3527
|
+
containerGap: number;
|
|
3399
3528
|
overflowTargetWidth: number;
|
|
3400
3529
|
selectedIds: string[] | "all";
|
|
3401
3530
|
unselectedIds: string[];
|
|
@@ -3434,6 +3563,9 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3434
3563
|
setContainerWidth(data: {
|
|
3435
3564
|
width?: number | undefined;
|
|
3436
3565
|
}): void;
|
|
3566
|
+
setContainerGap(data: {
|
|
3567
|
+
size: number;
|
|
3568
|
+
}): void;
|
|
3437
3569
|
setOverflowTargetWidth(data: {
|
|
3438
3570
|
width: number;
|
|
3439
3571
|
}): void;
|
|
@@ -3576,6 +3708,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3576
3708
|
hiddenIds: string[];
|
|
3577
3709
|
itemWidthCache: Record<string, number>;
|
|
3578
3710
|
containerWidth: number;
|
|
3711
|
+
containerGap: number;
|
|
3579
3712
|
overflowTargetWidth: number;
|
|
3580
3713
|
selectedIds: string[] | "all";
|
|
3581
3714
|
unselectedIds: string[];
|
|
@@ -3614,6 +3747,9 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3614
3747
|
setContainerWidth(data: {
|
|
3615
3748
|
width?: number | undefined;
|
|
3616
3749
|
}): void;
|
|
3750
|
+
setContainerGap(data: {
|
|
3751
|
+
size: number;
|
|
3752
|
+
}): void;
|
|
3617
3753
|
setOverflowTargetWidth(data: {
|
|
3618
3754
|
width: number;
|
|
3619
3755
|
}): void;
|
|
@@ -3755,6 +3891,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3755
3891
|
hiddenIds: string[];
|
|
3756
3892
|
itemWidthCache: Record<string, number>;
|
|
3757
3893
|
containerWidth: number;
|
|
3894
|
+
containerGap: number;
|
|
3758
3895
|
overflowTargetWidth: number;
|
|
3759
3896
|
selectedIds: string[] | "all";
|
|
3760
3897
|
unselectedIds: string[];
|
|
@@ -3793,6 +3930,9 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3793
3930
|
setContainerWidth(data: {
|
|
3794
3931
|
width?: number | undefined;
|
|
3795
3932
|
}): void;
|
|
3933
|
+
setContainerGap(data: {
|
|
3934
|
+
size: number;
|
|
3935
|
+
}): void;
|
|
3796
3936
|
setOverflowTargetWidth(data: {
|
|
3797
3937
|
width: number;
|
|
3798
3938
|
}): void;
|
|
@@ -3934,6 +4074,7 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3934
4074
|
hiddenIds: string[];
|
|
3935
4075
|
itemWidthCache: Record<string, number>;
|
|
3936
4076
|
containerWidth: number;
|
|
4077
|
+
containerGap: number;
|
|
3937
4078
|
overflowTargetWidth: number;
|
|
3938
4079
|
selectedIds: string[] | "all";
|
|
3939
4080
|
unselectedIds: string[];
|
|
@@ -3972,6 +4113,9 @@ export declare const Tabs: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
3972
4113
|
setContainerWidth(data: {
|
|
3973
4114
|
width?: number | undefined;
|
|
3974
4115
|
}): void;
|
|
4116
|
+
setContainerGap(data: {
|
|
4117
|
+
size: number;
|
|
4118
|
+
}): void;
|
|
3975
4119
|
setOverflowTargetWidth(data: {
|
|
3976
4120
|
width: number;
|
|
3977
4121
|
}): void;
|