@workday/canvas-kit-react 12.1.0-937-next.0 → 12.1.0-945-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/collection/lib/useOverflowListItemMeasure.tsx +6 -2
- package/collection/lib/useOverflowListMeasure.ts +19 -5
- package/collection/lib/useOverflowListModel.tsx +114 -47
- package/collection/lib/useOverflowListTarget.tsx +5 -1
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +580 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +44 -0
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +45 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +44 -0
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +558 -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 +602 -0
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +44 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +44 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +22 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +44 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +558 -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 +22 -0
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.js +5 -2
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +23 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.js +12 -28
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +970 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.js +84 -37
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +22 -0
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListTarget.js +4 -1
- package/dist/commonjs/combobox/lib/ComboboxMenuList.js +1 -1
- package/dist/commonjs/common/lib/AccessibleHide.js +1 -1
- package/dist/commonjs/common/lib/CanvasProvider.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldContainer.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldField.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldGroupLabel.js +5 -5
- package/dist/commonjs/form-field/lib/FormFieldGroupList.js +3 -3
- package/dist/commonjs/form-field/lib/FormFieldHint.js +3 -3
- package/dist/commonjs/form-field/lib/FormFieldLabel.js +6 -6
- package/dist/commonjs/form-field/lib/formFieldStencil.js +8 -8
- package/dist/commonjs/icon/lib/AccentIcon.js +2 -2
- package/dist/commonjs/icon/lib/AppletIcon.js +1 -1
- package/dist/commonjs/icon/lib/Graphic.js +2 -2
- package/dist/commonjs/icon/lib/Svg.js +2 -2
- package/dist/commonjs/icon/lib/SystemIcon.js +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.js +1 -1
- package/dist/commonjs/loading-dots/lib/LoadingDots.js +2 -2
- package/dist/commonjs/menu/lib/MenuCard.js +1 -1
- package/dist/commonjs/menu/lib/MenuItem.js +1 -1
- package/dist/commonjs/menu/lib/MenuList.js +3 -3
- package/dist/commonjs/menu/lib/MenuOption.js +1 -1
- package/dist/commonjs/modal/lib/ModalBody.js +1 -1
- package/dist/commonjs/modal/lib/ModalCard.js +1 -1
- package/dist/commonjs/modal/lib/ModalHeading.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.js +2 -2
- package/dist/commonjs/popup/lib/PopupBody.js +1 -1
- package/dist/commonjs/popup/lib/PopupCard.js +2 -2
- package/dist/commonjs/popup/lib/PopupCloseIcon.js +1 -1
- package/dist/commonjs/popup/lib/PopupHeading.js +1 -1
- package/dist/commonjs/select/lib/SelectCard.js +1 -1
- package/dist/commonjs/select/lib/SelectInput.js +3 -3
- package/dist/commonjs/switch/lib/Switch.js +7 -7
- package/dist/commonjs/table/lib/Table.js +1 -1
- package/dist/commonjs/table/lib/TableBody.js +1 -1
- package/dist/commonjs/table/lib/TableCaption.js +1 -1
- package/dist/commonjs/table/lib/TableCell.js +1 -1
- package/dist/commonjs/table/lib/TableFooter.js +1 -1
- package/dist/commonjs/table/lib/TableHead.js +1 -1
- package/dist/commonjs/table/lib/TableHeader.js +1 -1
- package/dist/commonjs/table/lib/TableRow.js +1 -1
- package/dist/commonjs/tabs/lib/Tabs.d.ts +666 -0
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +44 -0
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.d.ts +45 -1
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +44 -0
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +44 -0
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +22 -0
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +680 -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 +580 -0
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +44 -0
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +45 -1
- package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +44 -0
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +558 -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 +602 -0
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +44 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +44 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +22 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +44 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +558 -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 +22 -0
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.js +5 -2
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +23 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.js +13 -6
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +970 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.js +84 -37
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +22 -0
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListTarget.js +4 -1
- package/dist/es6/combobox/lib/ComboboxMenuList.js +1 -1
- package/dist/es6/common/lib/AccessibleHide.js +1 -1
- package/dist/es6/common/lib/CanvasProvider.js +1 -1
- package/dist/es6/form-field/lib/FormFieldContainer.js +1 -1
- package/dist/es6/form-field/lib/FormFieldField.js +1 -1
- package/dist/es6/form-field/lib/FormFieldGroupLabel.js +5 -5
- package/dist/es6/form-field/lib/FormFieldGroupList.js +3 -3
- package/dist/es6/form-field/lib/FormFieldHint.js +3 -3
- package/dist/es6/form-field/lib/FormFieldLabel.js +6 -6
- package/dist/es6/form-field/lib/formFieldStencil.js +8 -8
- package/dist/es6/icon/lib/AccentIcon.js +2 -2
- package/dist/es6/icon/lib/AppletIcon.js +1 -1
- package/dist/es6/icon/lib/Graphic.js +2 -2
- package/dist/es6/icon/lib/Svg.js +2 -2
- package/dist/es6/icon/lib/SystemIcon.js +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.js +1 -1
- package/dist/es6/loading-dots/lib/LoadingDots.js +2 -2
- package/dist/es6/menu/lib/MenuCard.js +1 -1
- package/dist/es6/menu/lib/MenuItem.js +1 -1
- package/dist/es6/menu/lib/MenuList.js +3 -3
- package/dist/es6/menu/lib/MenuOption.js +1 -1
- package/dist/es6/modal/lib/ModalBody.js +1 -1
- package/dist/es6/modal/lib/ModalCard.js +1 -1
- package/dist/es6/modal/lib/ModalHeading.js +1 -1
- package/dist/es6/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/es6/modal/lib/ModalOverlay.js +2 -2
- package/dist/es6/popup/lib/PopupBody.js +1 -1
- package/dist/es6/popup/lib/PopupCard.js +2 -2
- package/dist/es6/popup/lib/PopupCloseIcon.js +1 -1
- package/dist/es6/popup/lib/PopupHeading.js +1 -1
- package/dist/es6/select/lib/SelectCard.js +1 -1
- package/dist/es6/select/lib/SelectInput.js +3 -3
- package/dist/es6/switch/lib/Switch.js +7 -7
- package/dist/es6/table/lib/Table.js +1 -1
- package/dist/es6/table/lib/TableBody.js +1 -1
- package/dist/es6/table/lib/TableCaption.js +1 -1
- package/dist/es6/table/lib/TableCell.js +1 -1
- package/dist/es6/table/lib/TableFooter.js +1 -1
- package/dist/es6/table/lib/TableHead.js +1 -1
- package/dist/es6/table/lib/TableHeader.js +1 -1
- package/dist/es6/table/lib/TableRow.js +1 -1
- package/dist/es6/tabs/lib/Tabs.d.ts +666 -0
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.d.ts +44 -0
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.d.ts +45 -1
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +44 -0
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.d.ts +44 -0
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanels.d.ts +22 -0
- package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.d.ts +680 -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
|
@@ -1461,8 +1461,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1461
1461
|
*/
|
|
1462
1462
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1463
1463
|
hiddenIds: string[];
|
|
1464
|
+
itemSizeCache: Record<string, number>;
|
|
1464
1465
|
itemWidthCache: Record<string, number>;
|
|
1466
|
+
containerSize: number;
|
|
1465
1467
|
containerWidth: number;
|
|
1468
|
+
containerGap: number;
|
|
1466
1469
|
overflowTargetWidth: number;
|
|
1467
1470
|
selectedIds: string[] | "all";
|
|
1468
1471
|
unselectedIds: string[];
|
|
@@ -1503,8 +1506,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1503
1506
|
*/
|
|
1504
1507
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1505
1508
|
hiddenIds: string[];
|
|
1509
|
+
itemSizeCache: Record<string, number>;
|
|
1506
1510
|
itemWidthCache: Record<string, number>;
|
|
1511
|
+
containerSize: number;
|
|
1507
1512
|
containerWidth: number;
|
|
1513
|
+
containerGap: number;
|
|
1508
1514
|
overflowTargetWidth: number;
|
|
1509
1515
|
selectedIds: string[] | "all";
|
|
1510
1516
|
unselectedIds: string[];
|
|
@@ -1545,8 +1551,57 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1545
1551
|
*/
|
|
1546
1552
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1547
1553
|
hiddenIds: string[];
|
|
1554
|
+
itemSizeCache: Record<string, number>;
|
|
1548
1555
|
itemWidthCache: Record<string, number>;
|
|
1556
|
+
containerSize: number;
|
|
1549
1557
|
containerWidth: number;
|
|
1558
|
+
containerGap: number;
|
|
1559
|
+
overflowTargetWidth: number;
|
|
1560
|
+
selectedIds: string[] | "all";
|
|
1561
|
+
unselectedIds: string[];
|
|
1562
|
+
cursorId: string;
|
|
1563
|
+
columnCount: number;
|
|
1564
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1565
|
+
cursorIndexRef: {
|
|
1566
|
+
readonly current: number;
|
|
1567
|
+
};
|
|
1568
|
+
UNSTABLE_virtual: {
|
|
1569
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1570
|
+
totalSize: number;
|
|
1571
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1572
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1573
|
+
measure: () => void;
|
|
1574
|
+
};
|
|
1575
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1576
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1577
|
+
id: string;
|
|
1578
|
+
indexRef: React.MutableRefObject<number>;
|
|
1579
|
+
nonInteractiveIds: string[];
|
|
1580
|
+
isVirtualized: boolean;
|
|
1581
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1582
|
+
}) => void) | undefined;
|
|
1583
|
+
onSetContainerSize?: ((data: {
|
|
1584
|
+
width?: number | undefined;
|
|
1585
|
+
height?: number | undefined;
|
|
1586
|
+
}, prevState: {
|
|
1587
|
+
getId: (item: any) => string;
|
|
1588
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1589
|
+
/**
|
|
1590
|
+
* A list of panels. Uses `ListModel`
|
|
1591
|
+
*/
|
|
1592
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1593
|
+
/**
|
|
1594
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1595
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1596
|
+
* state setting phase.
|
|
1597
|
+
*/
|
|
1598
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1599
|
+
hiddenIds: string[];
|
|
1600
|
+
itemSizeCache: Record<string, number>;
|
|
1601
|
+
itemWidthCache: Record<string, number>;
|
|
1602
|
+
containerSize: number;
|
|
1603
|
+
containerWidth: number;
|
|
1604
|
+
containerGap: number;
|
|
1550
1605
|
overflowTargetWidth: number;
|
|
1551
1606
|
selectedIds: string[] | "all";
|
|
1552
1607
|
unselectedIds: string[];
|
|
@@ -1587,8 +1642,102 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1587
1642
|
*/
|
|
1588
1643
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1589
1644
|
hiddenIds: string[];
|
|
1645
|
+
itemSizeCache: Record<string, number>;
|
|
1646
|
+
itemWidthCache: Record<string, number>;
|
|
1647
|
+
containerSize: number;
|
|
1648
|
+
containerWidth: number;
|
|
1649
|
+
containerGap: number;
|
|
1650
|
+
overflowTargetWidth: number;
|
|
1651
|
+
selectedIds: string[] | "all";
|
|
1652
|
+
unselectedIds: string[];
|
|
1653
|
+
cursorId: string;
|
|
1654
|
+
columnCount: number;
|
|
1655
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1656
|
+
cursorIndexRef: {
|
|
1657
|
+
readonly current: number;
|
|
1658
|
+
};
|
|
1659
|
+
UNSTABLE_virtual: {
|
|
1660
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1661
|
+
totalSize: number;
|
|
1662
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1663
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1664
|
+
measure: () => void;
|
|
1665
|
+
};
|
|
1666
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1667
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1668
|
+
id: string;
|
|
1669
|
+
indexRef: React.MutableRefObject<number>;
|
|
1670
|
+
nonInteractiveIds: string[];
|
|
1671
|
+
isVirtualized: boolean;
|
|
1672
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1673
|
+
}) => void) | undefined;
|
|
1674
|
+
onSetContainerGap?: ((data: {
|
|
1675
|
+
size: number;
|
|
1676
|
+
}, prevState: {
|
|
1677
|
+
getId: (item: any) => string;
|
|
1678
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1679
|
+
/**
|
|
1680
|
+
* A list of panels. Uses `ListModel`
|
|
1681
|
+
*/
|
|
1682
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1683
|
+
/**
|
|
1684
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1685
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1686
|
+
* state setting phase.
|
|
1687
|
+
*/
|
|
1688
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1689
|
+
hiddenIds: string[];
|
|
1690
|
+
itemSizeCache: Record<string, number>;
|
|
1691
|
+
itemWidthCache: Record<string, number>;
|
|
1692
|
+
containerSize: number;
|
|
1693
|
+
containerWidth: number;
|
|
1694
|
+
containerGap: number;
|
|
1695
|
+
overflowTargetWidth: number;
|
|
1696
|
+
selectedIds: string[] | "all";
|
|
1697
|
+
unselectedIds: string[];
|
|
1698
|
+
cursorId: string;
|
|
1699
|
+
columnCount: number;
|
|
1700
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1701
|
+
cursorIndexRef: {
|
|
1702
|
+
readonly current: number;
|
|
1703
|
+
};
|
|
1704
|
+
UNSTABLE_virtual: {
|
|
1705
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1706
|
+
totalSize: number;
|
|
1707
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1708
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1709
|
+
measure: () => void;
|
|
1710
|
+
};
|
|
1711
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1712
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1713
|
+
id: string;
|
|
1714
|
+
indexRef: React.MutableRefObject<number>;
|
|
1715
|
+
nonInteractiveIds: string[];
|
|
1716
|
+
isVirtualized: boolean;
|
|
1717
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1718
|
+
}) => void) | undefined;
|
|
1719
|
+
onSetOverflowTargetSize?: ((data: {
|
|
1720
|
+
width: number;
|
|
1721
|
+
height: number;
|
|
1722
|
+
}, prevState: {
|
|
1723
|
+
getId: (item: any) => string;
|
|
1724
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1725
|
+
/**
|
|
1726
|
+
* A list of panels. Uses `ListModel`
|
|
1727
|
+
*/
|
|
1728
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1729
|
+
/**
|
|
1730
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1731
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1732
|
+
* state setting phase.
|
|
1733
|
+
*/
|
|
1734
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1735
|
+
hiddenIds: string[];
|
|
1736
|
+
itemSizeCache: Record<string, number>;
|
|
1590
1737
|
itemWidthCache: Record<string, number>;
|
|
1738
|
+
containerSize: number;
|
|
1591
1739
|
containerWidth: number;
|
|
1740
|
+
containerGap: number;
|
|
1592
1741
|
overflowTargetWidth: number;
|
|
1593
1742
|
selectedIds: string[] | "all";
|
|
1594
1743
|
unselectedIds: string[];
|
|
@@ -1629,8 +1778,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1629
1778
|
*/
|
|
1630
1779
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1631
1780
|
hiddenIds: string[];
|
|
1781
|
+
itemSizeCache: Record<string, number>;
|
|
1632
1782
|
itemWidthCache: Record<string, number>;
|
|
1783
|
+
containerSize: number;
|
|
1633
1784
|
containerWidth: number;
|
|
1785
|
+
containerGap: number;
|
|
1634
1786
|
overflowTargetWidth: number;
|
|
1635
1787
|
selectedIds: string[] | "all";
|
|
1636
1788
|
unselectedIds: string[];
|
|
@@ -1672,8 +1824,103 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1672
1824
|
*/
|
|
1673
1825
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1674
1826
|
hiddenIds: string[];
|
|
1827
|
+
itemSizeCache: Record<string, number>;
|
|
1828
|
+
itemWidthCache: Record<string, number>;
|
|
1829
|
+
containerSize: number;
|
|
1830
|
+
containerWidth: number;
|
|
1831
|
+
containerGap: number;
|
|
1832
|
+
overflowTargetWidth: number;
|
|
1833
|
+
selectedIds: string[] | "all";
|
|
1834
|
+
unselectedIds: string[];
|
|
1835
|
+
cursorId: string;
|
|
1836
|
+
columnCount: number;
|
|
1837
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1838
|
+
cursorIndexRef: {
|
|
1839
|
+
readonly current: number;
|
|
1840
|
+
};
|
|
1841
|
+
UNSTABLE_virtual: {
|
|
1842
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1843
|
+
totalSize: number;
|
|
1844
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1845
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1846
|
+
measure: () => void;
|
|
1847
|
+
};
|
|
1848
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1849
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1850
|
+
id: string;
|
|
1851
|
+
indexRef: React.MutableRefObject<number>;
|
|
1852
|
+
nonInteractiveIds: string[];
|
|
1853
|
+
isVirtualized: boolean;
|
|
1854
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1855
|
+
}) => void) | undefined;
|
|
1856
|
+
onAddItemSize?: ((data: {
|
|
1857
|
+
id: string;
|
|
1858
|
+
width: number;
|
|
1859
|
+
height: number;
|
|
1860
|
+
}, prevState: {
|
|
1861
|
+
getId: (item: any) => string;
|
|
1862
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1863
|
+
/**
|
|
1864
|
+
* A list of panels. Uses `ListModel`
|
|
1865
|
+
*/
|
|
1866
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1867
|
+
/**
|
|
1868
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1869
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1870
|
+
* state setting phase.
|
|
1871
|
+
*/
|
|
1872
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1873
|
+
hiddenIds: string[];
|
|
1874
|
+
itemSizeCache: Record<string, number>;
|
|
1875
|
+
itemWidthCache: Record<string, number>;
|
|
1876
|
+
containerSize: number;
|
|
1877
|
+
containerWidth: number;
|
|
1878
|
+
containerGap: number;
|
|
1879
|
+
overflowTargetWidth: number;
|
|
1880
|
+
selectedIds: string[] | "all";
|
|
1881
|
+
unselectedIds: string[];
|
|
1882
|
+
cursorId: string;
|
|
1883
|
+
columnCount: number;
|
|
1884
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
1885
|
+
cursorIndexRef: {
|
|
1886
|
+
readonly current: number;
|
|
1887
|
+
};
|
|
1888
|
+
UNSTABLE_virtual: {
|
|
1889
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1890
|
+
totalSize: number;
|
|
1891
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
1892
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
1893
|
+
measure: () => void;
|
|
1894
|
+
};
|
|
1895
|
+
UNSTABLE_defaultItemHeight: number;
|
|
1896
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
1897
|
+
id: string;
|
|
1898
|
+
indexRef: React.MutableRefObject<number>;
|
|
1899
|
+
nonInteractiveIds: string[];
|
|
1900
|
+
isVirtualized: boolean;
|
|
1901
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1902
|
+
}) => void) | undefined;
|
|
1903
|
+
onRemoveItemSize?: ((data: {
|
|
1904
|
+
id: string;
|
|
1905
|
+
}, prevState: {
|
|
1906
|
+
getId: (item: any) => string;
|
|
1907
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1908
|
+
/**
|
|
1909
|
+
* A list of panels. Uses `ListModel`
|
|
1910
|
+
*/
|
|
1911
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1912
|
+
/**
|
|
1913
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
1914
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
1915
|
+
* state setting phase.
|
|
1916
|
+
*/
|
|
1917
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
1918
|
+
hiddenIds: string[];
|
|
1919
|
+
itemSizeCache: Record<string, number>;
|
|
1675
1920
|
itemWidthCache: Record<string, number>;
|
|
1921
|
+
containerSize: number;
|
|
1676
1922
|
containerWidth: number;
|
|
1923
|
+
containerGap: number;
|
|
1677
1924
|
overflowTargetWidth: number;
|
|
1678
1925
|
selectedIds: string[] | "all";
|
|
1679
1926
|
unselectedIds: string[];
|
|
@@ -1714,8 +1961,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1714
1961
|
*/
|
|
1715
1962
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1716
1963
|
hiddenIds: string[];
|
|
1964
|
+
itemSizeCache: Record<string, number>;
|
|
1717
1965
|
itemWidthCache: Record<string, number>;
|
|
1966
|
+
containerSize: number;
|
|
1718
1967
|
containerWidth: number;
|
|
1968
|
+
containerGap: number;
|
|
1719
1969
|
overflowTargetWidth: number;
|
|
1720
1970
|
selectedIds: string[] | "all";
|
|
1721
1971
|
unselectedIds: string[];
|
|
@@ -1756,8 +2006,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1756
2006
|
*/
|
|
1757
2007
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1758
2008
|
hiddenIds: string[];
|
|
2009
|
+
itemSizeCache: Record<string, number>;
|
|
1759
2010
|
itemWidthCache: Record<string, number>;
|
|
2011
|
+
containerSize: number;
|
|
1760
2012
|
containerWidth: number;
|
|
2013
|
+
containerGap: number;
|
|
1761
2014
|
overflowTargetWidth: number;
|
|
1762
2015
|
selectedIds: string[] | "all";
|
|
1763
2016
|
unselectedIds: string[];
|
|
@@ -1798,8 +2051,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1798
2051
|
*/
|
|
1799
2052
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1800
2053
|
hiddenIds: string[];
|
|
2054
|
+
itemSizeCache: Record<string, number>;
|
|
1801
2055
|
itemWidthCache: Record<string, number>;
|
|
2056
|
+
containerSize: number;
|
|
1802
2057
|
containerWidth: number;
|
|
2058
|
+
containerGap: number;
|
|
1803
2059
|
overflowTargetWidth: number;
|
|
1804
2060
|
selectedIds: string[] | "all";
|
|
1805
2061
|
unselectedIds: string[];
|
|
@@ -1838,8 +2094,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1838
2094
|
*/
|
|
1839
2095
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1840
2096
|
hiddenIds: string[];
|
|
2097
|
+
itemSizeCache: Record<string, number>;
|
|
1841
2098
|
itemWidthCache: Record<string, number>;
|
|
2099
|
+
containerSize: number;
|
|
1842
2100
|
containerWidth: number;
|
|
2101
|
+
containerGap: number;
|
|
1843
2102
|
overflowTargetWidth: number;
|
|
1844
2103
|
selectedIds: string[] | "all";
|
|
1845
2104
|
unselectedIds: string[];
|
|
@@ -1878,8 +2137,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1878
2137
|
*/
|
|
1879
2138
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1880
2139
|
hiddenIds: string[];
|
|
2140
|
+
itemSizeCache: Record<string, number>;
|
|
1881
2141
|
itemWidthCache: Record<string, number>;
|
|
2142
|
+
containerSize: number;
|
|
1882
2143
|
containerWidth: number;
|
|
2144
|
+
containerGap: number;
|
|
1883
2145
|
overflowTargetWidth: number;
|
|
1884
2146
|
selectedIds: string[] | "all";
|
|
1885
2147
|
unselectedIds: string[];
|
|
@@ -1918,8 +2180,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1918
2180
|
*/
|
|
1919
2181
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1920
2182
|
hiddenIds: string[];
|
|
2183
|
+
itemSizeCache: Record<string, number>;
|
|
1921
2184
|
itemWidthCache: Record<string, number>;
|
|
2185
|
+
containerSize: number;
|
|
1922
2186
|
containerWidth: number;
|
|
2187
|
+
containerGap: number;
|
|
1923
2188
|
overflowTargetWidth: number;
|
|
1924
2189
|
selectedIds: string[] | "all";
|
|
1925
2190
|
unselectedIds: string[];
|
|
@@ -1960,8 +2225,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1960
2225
|
*/
|
|
1961
2226
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1962
2227
|
hiddenIds: string[];
|
|
2228
|
+
itemSizeCache: Record<string, number>;
|
|
1963
2229
|
itemWidthCache: Record<string, number>;
|
|
2230
|
+
containerSize: number;
|
|
1964
2231
|
containerWidth: number;
|
|
2232
|
+
containerGap: number;
|
|
1965
2233
|
overflowTargetWidth: number;
|
|
1966
2234
|
selectedIds: string[] | "all";
|
|
1967
2235
|
unselectedIds: string[];
|
|
@@ -2000,8 +2268,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2000
2268
|
*/
|
|
2001
2269
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2002
2270
|
hiddenIds: string[];
|
|
2271
|
+
itemSizeCache: Record<string, number>;
|
|
2003
2272
|
itemWidthCache: Record<string, number>;
|
|
2273
|
+
containerSize: number;
|
|
2004
2274
|
containerWidth: number;
|
|
2275
|
+
containerGap: number;
|
|
2005
2276
|
overflowTargetWidth: number;
|
|
2006
2277
|
selectedIds: string[] | "all";
|
|
2007
2278
|
unselectedIds: string[];
|
|
@@ -2040,8 +2311,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2040
2311
|
*/
|
|
2041
2312
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2042
2313
|
hiddenIds: string[];
|
|
2314
|
+
itemSizeCache: Record<string, number>;
|
|
2043
2315
|
itemWidthCache: Record<string, number>;
|
|
2316
|
+
containerSize: number;
|
|
2044
2317
|
containerWidth: number;
|
|
2318
|
+
containerGap: number;
|
|
2045
2319
|
overflowTargetWidth: number;
|
|
2046
2320
|
selectedIds: string[] | "all";
|
|
2047
2321
|
unselectedIds: string[];
|
|
@@ -2080,8 +2354,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2080
2354
|
*/
|
|
2081
2355
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2082
2356
|
hiddenIds: string[];
|
|
2357
|
+
itemSizeCache: Record<string, number>;
|
|
2083
2358
|
itemWidthCache: Record<string, number>;
|
|
2359
|
+
containerSize: number;
|
|
2084
2360
|
containerWidth: number;
|
|
2361
|
+
containerGap: number;
|
|
2085
2362
|
overflowTargetWidth: number;
|
|
2086
2363
|
selectedIds: string[] | "all";
|
|
2087
2364
|
unselectedIds: string[];
|
|
@@ -2120,8 +2397,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2120
2397
|
*/
|
|
2121
2398
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2122
2399
|
hiddenIds: string[];
|
|
2400
|
+
itemSizeCache: Record<string, number>;
|
|
2123
2401
|
itemWidthCache: Record<string, number>;
|
|
2402
|
+
containerSize: number;
|
|
2124
2403
|
containerWidth: number;
|
|
2404
|
+
containerGap: number;
|
|
2125
2405
|
overflowTargetWidth: number;
|
|
2126
2406
|
selectedIds: string[] | "all";
|
|
2127
2407
|
unselectedIds: string[];
|
|
@@ -2160,8 +2440,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2160
2440
|
*/
|
|
2161
2441
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2162
2442
|
hiddenIds: string[];
|
|
2443
|
+
itemSizeCache: Record<string, number>;
|
|
2163
2444
|
itemWidthCache: Record<string, number>;
|
|
2445
|
+
containerSize: number;
|
|
2164
2446
|
containerWidth: number;
|
|
2447
|
+
containerGap: number;
|
|
2165
2448
|
overflowTargetWidth: number;
|
|
2166
2449
|
selectedIds: string[] | "all";
|
|
2167
2450
|
unselectedIds: string[];
|
|
@@ -2200,8 +2483,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2200
2483
|
*/
|
|
2201
2484
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2202
2485
|
hiddenIds: string[];
|
|
2486
|
+
itemSizeCache: Record<string, number>;
|
|
2203
2487
|
itemWidthCache: Record<string, number>;
|
|
2488
|
+
containerSize: number;
|
|
2204
2489
|
containerWidth: number;
|
|
2490
|
+
containerGap: number;
|
|
2205
2491
|
overflowTargetWidth: number;
|
|
2206
2492
|
selectedIds: string[] | "all";
|
|
2207
2493
|
unselectedIds: string[];
|
|
@@ -2240,8 +2526,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2240
2526
|
*/
|
|
2241
2527
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2242
2528
|
hiddenIds: string[];
|
|
2529
|
+
itemSizeCache: Record<string, number>;
|
|
2243
2530
|
itemWidthCache: Record<string, number>;
|
|
2531
|
+
containerSize: number;
|
|
2244
2532
|
containerWidth: number;
|
|
2533
|
+
containerGap: number;
|
|
2245
2534
|
overflowTargetWidth: number;
|
|
2246
2535
|
selectedIds: string[] | "all";
|
|
2247
2536
|
unselectedIds: string[];
|
|
@@ -2280,8 +2569,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2280
2569
|
*/
|
|
2281
2570
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2282
2571
|
hiddenIds: string[];
|
|
2572
|
+
itemSizeCache: Record<string, number>;
|
|
2283
2573
|
itemWidthCache: Record<string, number>;
|
|
2574
|
+
containerSize: number;
|
|
2284
2575
|
containerWidth: number;
|
|
2576
|
+
containerGap: number;
|
|
2285
2577
|
overflowTargetWidth: number;
|
|
2286
2578
|
selectedIds: string[] | "all";
|
|
2287
2579
|
unselectedIds: string[];
|
|
@@ -2320,8 +2612,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2320
2612
|
*/
|
|
2321
2613
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2322
2614
|
hiddenIds: string[];
|
|
2615
|
+
itemSizeCache: Record<string, number>;
|
|
2323
2616
|
itemWidthCache: Record<string, number>;
|
|
2617
|
+
containerSize: number;
|
|
2324
2618
|
containerWidth: number;
|
|
2619
|
+
containerGap: number;
|
|
2325
2620
|
overflowTargetWidth: number;
|
|
2326
2621
|
selectedIds: string[] | "all";
|
|
2327
2622
|
unselectedIds: string[];
|
|
@@ -2360,8 +2655,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2360
2655
|
*/
|
|
2361
2656
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2362
2657
|
hiddenIds: string[];
|
|
2658
|
+
itemSizeCache: Record<string, number>;
|
|
2363
2659
|
itemWidthCache: Record<string, number>;
|
|
2660
|
+
containerSize: number;
|
|
2364
2661
|
containerWidth: number;
|
|
2662
|
+
containerGap: number;
|
|
2365
2663
|
overflowTargetWidth: number;
|
|
2366
2664
|
selectedIds: string[] | "all";
|
|
2367
2665
|
unselectedIds: string[];
|
|
@@ -2403,8 +2701,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2403
2701
|
*/
|
|
2404
2702
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2405
2703
|
hiddenIds: string[];
|
|
2704
|
+
itemSizeCache: Record<string, number>;
|
|
2406
2705
|
itemWidthCache: Record<string, number>;
|
|
2706
|
+
containerSize: number;
|
|
2407
2707
|
containerWidth: number;
|
|
2708
|
+
containerGap: number;
|
|
2408
2709
|
overflowTargetWidth: number;
|
|
2409
2710
|
selectedIds: string[] | "all";
|
|
2410
2711
|
unselectedIds: string[];
|
|
@@ -2445,8 +2746,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2445
2746
|
*/
|
|
2446
2747
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2447
2748
|
hiddenIds: string[];
|
|
2749
|
+
itemSizeCache: Record<string, number>;
|
|
2448
2750
|
itemWidthCache: Record<string, number>;
|
|
2751
|
+
containerSize: number;
|
|
2449
2752
|
containerWidth: number;
|
|
2753
|
+
containerGap: number;
|
|
2450
2754
|
overflowTargetWidth: number;
|
|
2451
2755
|
selectedIds: string[] | "all";
|
|
2452
2756
|
unselectedIds: string[];
|
|
@@ -2487,8 +2791,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2487
2791
|
*/
|
|
2488
2792
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2489
2793
|
hiddenIds: string[];
|
|
2794
|
+
itemSizeCache: Record<string, number>;
|
|
2490
2795
|
itemWidthCache: Record<string, number>;
|
|
2796
|
+
containerSize: number;
|
|
2491
2797
|
containerWidth: number;
|
|
2798
|
+
containerGap: number;
|
|
2492
2799
|
overflowTargetWidth: number;
|
|
2493
2800
|
selectedIds: string[] | "all";
|
|
2494
2801
|
unselectedIds: string[];
|
|
@@ -2531,8 +2838,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2531
2838
|
*/
|
|
2532
2839
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2533
2840
|
hiddenIds: string[];
|
|
2841
|
+
itemSizeCache: Record<string, number>;
|
|
2534
2842
|
itemWidthCache: Record<string, number>;
|
|
2843
|
+
containerSize: number;
|
|
2535
2844
|
containerWidth: number;
|
|
2845
|
+
containerGap: number;
|
|
2536
2846
|
overflowTargetWidth: number;
|
|
2537
2847
|
selectedIds: string[] | "all";
|
|
2538
2848
|
unselectedIds: string[];
|
|
@@ -2573,8 +2883,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2573
2883
|
*/
|
|
2574
2884
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2575
2885
|
hiddenIds: string[];
|
|
2886
|
+
itemSizeCache: Record<string, number>;
|
|
2576
2887
|
itemWidthCache: Record<string, number>;
|
|
2888
|
+
containerSize: number;
|
|
2577
2889
|
containerWidth: number;
|
|
2890
|
+
containerGap: number;
|
|
2578
2891
|
overflowTargetWidth: number;
|
|
2579
2892
|
selectedIds: string[] | "all";
|
|
2580
2893
|
unselectedIds: string[];
|
|
@@ -2615,8 +2928,57 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2615
2928
|
*/
|
|
2616
2929
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2617
2930
|
hiddenIds: string[];
|
|
2931
|
+
itemSizeCache: Record<string, number>;
|
|
2932
|
+
itemWidthCache: Record<string, number>;
|
|
2933
|
+
containerSize: number;
|
|
2934
|
+
containerWidth: number;
|
|
2935
|
+
containerGap: number;
|
|
2936
|
+
overflowTargetWidth: number;
|
|
2937
|
+
selectedIds: string[] | "all";
|
|
2938
|
+
unselectedIds: string[];
|
|
2939
|
+
cursorId: string;
|
|
2940
|
+
columnCount: number;
|
|
2941
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
2942
|
+
cursorIndexRef: {
|
|
2943
|
+
readonly current: number;
|
|
2944
|
+
};
|
|
2945
|
+
UNSTABLE_virtual: {
|
|
2946
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
2947
|
+
totalSize: number;
|
|
2948
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
2949
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
2950
|
+
measure: () => void;
|
|
2951
|
+
};
|
|
2952
|
+
UNSTABLE_defaultItemHeight: number;
|
|
2953
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
2954
|
+
id: string;
|
|
2955
|
+
indexRef: React.MutableRefObject<number>;
|
|
2956
|
+
nonInteractiveIds: string[];
|
|
2957
|
+
isVirtualized: boolean;
|
|
2958
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2959
|
+
}) => boolean) | undefined;
|
|
2960
|
+
shouldSetContainerSize?: ((data: {
|
|
2961
|
+
width?: number | undefined;
|
|
2962
|
+
height?: number | undefined;
|
|
2963
|
+
}, state: {
|
|
2964
|
+
getId: (item: any) => string;
|
|
2965
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2966
|
+
/**
|
|
2967
|
+
* A list of panels. Uses `ListModel`
|
|
2968
|
+
*/
|
|
2969
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2970
|
+
/**
|
|
2971
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
2972
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
2973
|
+
* state setting phase.
|
|
2974
|
+
*/
|
|
2975
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
2976
|
+
hiddenIds: string[];
|
|
2977
|
+
itemSizeCache: Record<string, number>;
|
|
2618
2978
|
itemWidthCache: Record<string, number>;
|
|
2979
|
+
containerSize: number;
|
|
2619
2980
|
containerWidth: number;
|
|
2981
|
+
containerGap: number;
|
|
2620
2982
|
overflowTargetWidth: number;
|
|
2621
2983
|
selectedIds: string[] | "all";
|
|
2622
2984
|
unselectedIds: string[];
|
|
@@ -2657,8 +3019,102 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2657
3019
|
*/
|
|
2658
3020
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2659
3021
|
hiddenIds: string[];
|
|
3022
|
+
itemSizeCache: Record<string, number>;
|
|
3023
|
+
itemWidthCache: Record<string, number>;
|
|
3024
|
+
containerSize: number;
|
|
3025
|
+
containerWidth: number;
|
|
3026
|
+
containerGap: number;
|
|
3027
|
+
overflowTargetWidth: number;
|
|
3028
|
+
selectedIds: string[] | "all";
|
|
3029
|
+
unselectedIds: string[];
|
|
3030
|
+
cursorId: string;
|
|
3031
|
+
columnCount: number;
|
|
3032
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3033
|
+
cursorIndexRef: {
|
|
3034
|
+
readonly current: number;
|
|
3035
|
+
};
|
|
3036
|
+
UNSTABLE_virtual: {
|
|
3037
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3038
|
+
totalSize: number;
|
|
3039
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
3040
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
3041
|
+
measure: () => void;
|
|
3042
|
+
};
|
|
3043
|
+
UNSTABLE_defaultItemHeight: number;
|
|
3044
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
3045
|
+
id: string;
|
|
3046
|
+
indexRef: React.MutableRefObject<number>;
|
|
3047
|
+
nonInteractiveIds: string[];
|
|
3048
|
+
isVirtualized: boolean;
|
|
3049
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3050
|
+
}) => boolean) | undefined;
|
|
3051
|
+
shouldSetContainerGap?: ((data: {
|
|
3052
|
+
size: number;
|
|
3053
|
+
}, state: {
|
|
3054
|
+
getId: (item: any) => string;
|
|
3055
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3056
|
+
/**
|
|
3057
|
+
* A list of panels. Uses `ListModel`
|
|
3058
|
+
*/
|
|
3059
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3060
|
+
/**
|
|
3061
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
3062
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
3063
|
+
* state setting phase.
|
|
3064
|
+
*/
|
|
3065
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
3066
|
+
hiddenIds: string[];
|
|
3067
|
+
itemSizeCache: Record<string, number>;
|
|
2660
3068
|
itemWidthCache: Record<string, number>;
|
|
3069
|
+
containerSize: number;
|
|
2661
3070
|
containerWidth: number;
|
|
3071
|
+
containerGap: number;
|
|
3072
|
+
overflowTargetWidth: number;
|
|
3073
|
+
selectedIds: string[] | "all";
|
|
3074
|
+
unselectedIds: string[];
|
|
3075
|
+
cursorId: string;
|
|
3076
|
+
columnCount: number;
|
|
3077
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3078
|
+
cursorIndexRef: {
|
|
3079
|
+
readonly current: number;
|
|
3080
|
+
};
|
|
3081
|
+
UNSTABLE_virtual: {
|
|
3082
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3083
|
+
totalSize: number;
|
|
3084
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
3085
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
3086
|
+
measure: () => void;
|
|
3087
|
+
};
|
|
3088
|
+
UNSTABLE_defaultItemHeight: number;
|
|
3089
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
3090
|
+
id: string;
|
|
3091
|
+
indexRef: React.MutableRefObject<number>;
|
|
3092
|
+
nonInteractiveIds: string[];
|
|
3093
|
+
isVirtualized: boolean;
|
|
3094
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3095
|
+
}) => boolean) | undefined;
|
|
3096
|
+
shouldSetOverflowTargetSize?: ((data: {
|
|
3097
|
+
width: number;
|
|
3098
|
+
height: number;
|
|
3099
|
+
}, state: {
|
|
3100
|
+
getId: (item: any) => string;
|
|
3101
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3102
|
+
/**
|
|
3103
|
+
* A list of panels. Uses `ListModel`
|
|
3104
|
+
*/
|
|
3105
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3106
|
+
/**
|
|
3107
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
3108
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
3109
|
+
* state setting phase.
|
|
3110
|
+
*/
|
|
3111
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
3112
|
+
hiddenIds: string[];
|
|
3113
|
+
itemSizeCache: Record<string, number>;
|
|
3114
|
+
itemWidthCache: Record<string, number>;
|
|
3115
|
+
containerSize: number;
|
|
3116
|
+
containerWidth: number;
|
|
3117
|
+
containerGap: number;
|
|
2662
3118
|
overflowTargetWidth: number;
|
|
2663
3119
|
selectedIds: string[] | "all";
|
|
2664
3120
|
unselectedIds: string[];
|
|
@@ -2699,8 +3155,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2699
3155
|
*/
|
|
2700
3156
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2701
3157
|
hiddenIds: string[];
|
|
3158
|
+
itemSizeCache: Record<string, number>;
|
|
2702
3159
|
itemWidthCache: Record<string, number>;
|
|
3160
|
+
containerSize: number;
|
|
2703
3161
|
containerWidth: number;
|
|
3162
|
+
containerGap: number;
|
|
2704
3163
|
overflowTargetWidth: number;
|
|
2705
3164
|
selectedIds: string[] | "all";
|
|
2706
3165
|
unselectedIds: string[];
|
|
@@ -2742,8 +3201,103 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2742
3201
|
*/
|
|
2743
3202
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2744
3203
|
hiddenIds: string[];
|
|
3204
|
+
itemSizeCache: Record<string, number>;
|
|
3205
|
+
itemWidthCache: Record<string, number>;
|
|
3206
|
+
containerSize: number;
|
|
3207
|
+
containerWidth: number;
|
|
3208
|
+
containerGap: number;
|
|
3209
|
+
overflowTargetWidth: number;
|
|
3210
|
+
selectedIds: string[] | "all";
|
|
3211
|
+
unselectedIds: string[];
|
|
3212
|
+
cursorId: string;
|
|
3213
|
+
columnCount: number;
|
|
3214
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3215
|
+
cursorIndexRef: {
|
|
3216
|
+
readonly current: number;
|
|
3217
|
+
};
|
|
3218
|
+
UNSTABLE_virtual: {
|
|
3219
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3220
|
+
totalSize: number;
|
|
3221
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
3222
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
3223
|
+
measure: () => void;
|
|
3224
|
+
};
|
|
3225
|
+
UNSTABLE_defaultItemHeight: number;
|
|
3226
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
3227
|
+
id: string;
|
|
3228
|
+
indexRef: React.MutableRefObject<number>;
|
|
3229
|
+
nonInteractiveIds: string[];
|
|
3230
|
+
isVirtualized: boolean;
|
|
3231
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3232
|
+
}) => boolean) | undefined;
|
|
3233
|
+
shouldAddItemSize?: ((data: {
|
|
3234
|
+
id: string;
|
|
3235
|
+
width: number;
|
|
3236
|
+
height: number;
|
|
3237
|
+
}, state: {
|
|
3238
|
+
getId: (item: any) => string;
|
|
3239
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3240
|
+
/**
|
|
3241
|
+
* A list of panels. Uses `ListModel`
|
|
3242
|
+
*/
|
|
3243
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3244
|
+
/**
|
|
3245
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
3246
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
3247
|
+
* state setting phase.
|
|
3248
|
+
*/
|
|
3249
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
3250
|
+
hiddenIds: string[];
|
|
3251
|
+
itemSizeCache: Record<string, number>;
|
|
3252
|
+
itemWidthCache: Record<string, number>;
|
|
3253
|
+
containerSize: number;
|
|
3254
|
+
containerWidth: number;
|
|
3255
|
+
containerGap: number;
|
|
3256
|
+
overflowTargetWidth: number;
|
|
3257
|
+
selectedIds: string[] | "all";
|
|
3258
|
+
unselectedIds: string[];
|
|
3259
|
+
cursorId: string;
|
|
3260
|
+
columnCount: number;
|
|
3261
|
+
pageSizeRef: React.MutableRefObject<number>;
|
|
3262
|
+
cursorIndexRef: {
|
|
3263
|
+
readonly current: number;
|
|
3264
|
+
};
|
|
3265
|
+
UNSTABLE_virtual: {
|
|
3266
|
+
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
3267
|
+
totalSize: number;
|
|
3268
|
+
scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
3269
|
+
scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
3270
|
+
measure: () => void;
|
|
3271
|
+
};
|
|
3272
|
+
UNSTABLE_defaultItemHeight: number;
|
|
3273
|
+
containerRef: React.RefObject<HTMLDivElement>;
|
|
3274
|
+
id: string;
|
|
3275
|
+
indexRef: React.MutableRefObject<number>;
|
|
3276
|
+
nonInteractiveIds: string[];
|
|
3277
|
+
isVirtualized: boolean;
|
|
3278
|
+
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3279
|
+
}) => boolean) | undefined;
|
|
3280
|
+
shouldRemoveItemSize?: ((data: {
|
|
3281
|
+
id: string;
|
|
3282
|
+
}, state: {
|
|
3283
|
+
getId: (item: any) => string;
|
|
3284
|
+
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3285
|
+
/**
|
|
3286
|
+
* A list of panels. Uses `ListModel`
|
|
3287
|
+
*/
|
|
3288
|
+
panels: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3289
|
+
/**
|
|
3290
|
+
* A React.Ref of the current item index. A ref is used to allow for updating outside the normal
|
|
3291
|
+
* React state cycle to ensure accurate index tracking as items are registered within the same
|
|
3292
|
+
* state setting phase.
|
|
3293
|
+
*/
|
|
3294
|
+
panelIndexRef: React.MutableRefObject<number>;
|
|
3295
|
+
hiddenIds: string[];
|
|
3296
|
+
itemSizeCache: Record<string, number>;
|
|
2745
3297
|
itemWidthCache: Record<string, number>;
|
|
3298
|
+
containerSize: number;
|
|
2746
3299
|
containerWidth: number;
|
|
3300
|
+
containerGap: number;
|
|
2747
3301
|
overflowTargetWidth: number;
|
|
2748
3302
|
selectedIds: string[] | "all";
|
|
2749
3303
|
unselectedIds: string[];
|
|
@@ -2784,8 +3338,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2784
3338
|
*/
|
|
2785
3339
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2786
3340
|
hiddenIds: string[];
|
|
3341
|
+
itemSizeCache: Record<string, number>;
|
|
2787
3342
|
itemWidthCache: Record<string, number>;
|
|
3343
|
+
containerSize: number;
|
|
2788
3344
|
containerWidth: number;
|
|
3345
|
+
containerGap: number;
|
|
2789
3346
|
overflowTargetWidth: number;
|
|
2790
3347
|
selectedIds: string[] | "all";
|
|
2791
3348
|
unselectedIds: string[];
|
|
@@ -2826,8 +3383,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2826
3383
|
*/
|
|
2827
3384
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2828
3385
|
hiddenIds: string[];
|
|
3386
|
+
itemSizeCache: Record<string, number>;
|
|
2829
3387
|
itemWidthCache: Record<string, number>;
|
|
3388
|
+
containerSize: number;
|
|
2830
3389
|
containerWidth: number;
|
|
3390
|
+
containerGap: number;
|
|
2831
3391
|
overflowTargetWidth: number;
|
|
2832
3392
|
selectedIds: string[] | "all";
|
|
2833
3393
|
unselectedIds: string[];
|
|
@@ -2868,8 +3428,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2868
3428
|
*/
|
|
2869
3429
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2870
3430
|
hiddenIds: string[];
|
|
3431
|
+
itemSizeCache: Record<string, number>;
|
|
2871
3432
|
itemWidthCache: Record<string, number>;
|
|
3433
|
+
containerSize: number;
|
|
2872
3434
|
containerWidth: number;
|
|
3435
|
+
containerGap: number;
|
|
2873
3436
|
overflowTargetWidth: number;
|
|
2874
3437
|
selectedIds: string[] | "all";
|
|
2875
3438
|
unselectedIds: string[];
|
|
@@ -2908,8 +3471,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2908
3471
|
*/
|
|
2909
3472
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2910
3473
|
hiddenIds: string[];
|
|
3474
|
+
itemSizeCache: Record<string, number>;
|
|
2911
3475
|
itemWidthCache: Record<string, number>;
|
|
3476
|
+
containerSize: number;
|
|
2912
3477
|
containerWidth: number;
|
|
3478
|
+
containerGap: number;
|
|
2913
3479
|
overflowTargetWidth: number;
|
|
2914
3480
|
selectedIds: string[] | "all";
|
|
2915
3481
|
unselectedIds: string[];
|
|
@@ -2948,8 +3514,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2948
3514
|
*/
|
|
2949
3515
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2950
3516
|
hiddenIds: string[];
|
|
3517
|
+
itemSizeCache: Record<string, number>;
|
|
2951
3518
|
itemWidthCache: Record<string, number>;
|
|
3519
|
+
containerSize: number;
|
|
2952
3520
|
containerWidth: number;
|
|
3521
|
+
containerGap: number;
|
|
2953
3522
|
overflowTargetWidth: number;
|
|
2954
3523
|
selectedIds: string[] | "all";
|
|
2955
3524
|
unselectedIds: string[];
|
|
@@ -2988,8 +3557,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2988
3557
|
*/
|
|
2989
3558
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2990
3559
|
hiddenIds: string[];
|
|
3560
|
+
itemSizeCache: Record<string, number>;
|
|
2991
3561
|
itemWidthCache: Record<string, number>;
|
|
3562
|
+
containerSize: number;
|
|
2992
3563
|
containerWidth: number;
|
|
3564
|
+
containerGap: number;
|
|
2993
3565
|
overflowTargetWidth: number;
|
|
2994
3566
|
selectedIds: string[] | "all";
|
|
2995
3567
|
unselectedIds: string[];
|
|
@@ -3030,8 +3602,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3030
3602
|
*/
|
|
3031
3603
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3032
3604
|
hiddenIds: string[];
|
|
3605
|
+
itemSizeCache: Record<string, number>;
|
|
3033
3606
|
itemWidthCache: Record<string, number>;
|
|
3607
|
+
containerSize: number;
|
|
3034
3608
|
containerWidth: number;
|
|
3609
|
+
containerGap: number;
|
|
3035
3610
|
overflowTargetWidth: number;
|
|
3036
3611
|
selectedIds: string[] | "all";
|
|
3037
3612
|
unselectedIds: string[];
|
|
@@ -3070,8 +3645,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3070
3645
|
*/
|
|
3071
3646
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3072
3647
|
hiddenIds: string[];
|
|
3648
|
+
itemSizeCache: Record<string, number>;
|
|
3073
3649
|
itemWidthCache: Record<string, number>;
|
|
3650
|
+
containerSize: number;
|
|
3074
3651
|
containerWidth: number;
|
|
3652
|
+
containerGap: number;
|
|
3075
3653
|
overflowTargetWidth: number;
|
|
3076
3654
|
selectedIds: string[] | "all";
|
|
3077
3655
|
unselectedIds: string[];
|
|
@@ -3110,8 +3688,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3110
3688
|
*/
|
|
3111
3689
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3112
3690
|
hiddenIds: string[];
|
|
3691
|
+
itemSizeCache: Record<string, number>;
|
|
3113
3692
|
itemWidthCache: Record<string, number>;
|
|
3693
|
+
containerSize: number;
|
|
3114
3694
|
containerWidth: number;
|
|
3695
|
+
containerGap: number;
|
|
3115
3696
|
overflowTargetWidth: number;
|
|
3116
3697
|
selectedIds: string[] | "all";
|
|
3117
3698
|
unselectedIds: string[];
|
|
@@ -3150,8 +3731,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3150
3731
|
*/
|
|
3151
3732
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3152
3733
|
hiddenIds: string[];
|
|
3734
|
+
itemSizeCache: Record<string, number>;
|
|
3153
3735
|
itemWidthCache: Record<string, number>;
|
|
3736
|
+
containerSize: number;
|
|
3154
3737
|
containerWidth: number;
|
|
3738
|
+
containerGap: number;
|
|
3155
3739
|
overflowTargetWidth: number;
|
|
3156
3740
|
selectedIds: string[] | "all";
|
|
3157
3741
|
unselectedIds: string[];
|
|
@@ -3190,8 +3774,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3190
3774
|
*/
|
|
3191
3775
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3192
3776
|
hiddenIds: string[];
|
|
3777
|
+
itemSizeCache: Record<string, number>;
|
|
3193
3778
|
itemWidthCache: Record<string, number>;
|
|
3779
|
+
containerSize: number;
|
|
3194
3780
|
containerWidth: number;
|
|
3781
|
+
containerGap: number;
|
|
3195
3782
|
overflowTargetWidth: number;
|
|
3196
3783
|
selectedIds: string[] | "all";
|
|
3197
3784
|
unselectedIds: string[];
|
|
@@ -3230,8 +3817,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3230
3817
|
*/
|
|
3231
3818
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3232
3819
|
hiddenIds: string[];
|
|
3820
|
+
itemSizeCache: Record<string, number>;
|
|
3233
3821
|
itemWidthCache: Record<string, number>;
|
|
3822
|
+
containerSize: number;
|
|
3234
3823
|
containerWidth: number;
|
|
3824
|
+
containerGap: number;
|
|
3235
3825
|
overflowTargetWidth: number;
|
|
3236
3826
|
selectedIds: string[] | "all";
|
|
3237
3827
|
unselectedIds: string[];
|
|
@@ -3270,8 +3860,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3270
3860
|
*/
|
|
3271
3861
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3272
3862
|
hiddenIds: string[];
|
|
3863
|
+
itemSizeCache: Record<string, number>;
|
|
3273
3864
|
itemWidthCache: Record<string, number>;
|
|
3865
|
+
containerSize: number;
|
|
3274
3866
|
containerWidth: number;
|
|
3867
|
+
containerGap: number;
|
|
3275
3868
|
overflowTargetWidth: number;
|
|
3276
3869
|
selectedIds: string[] | "all";
|
|
3277
3870
|
unselectedIds: string[];
|
|
@@ -3310,8 +3903,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3310
3903
|
*/
|
|
3311
3904
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3312
3905
|
hiddenIds: string[];
|
|
3906
|
+
itemSizeCache: Record<string, number>;
|
|
3313
3907
|
itemWidthCache: Record<string, number>;
|
|
3908
|
+
containerSize: number;
|
|
3314
3909
|
containerWidth: number;
|
|
3910
|
+
containerGap: number;
|
|
3315
3911
|
overflowTargetWidth: number;
|
|
3316
3912
|
selectedIds: string[] | "all";
|
|
3317
3913
|
unselectedIds: string[];
|
|
@@ -3350,8 +3946,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3350
3946
|
*/
|
|
3351
3947
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3352
3948
|
hiddenIds: string[];
|
|
3949
|
+
itemSizeCache: Record<string, number>;
|
|
3353
3950
|
itemWidthCache: Record<string, number>;
|
|
3951
|
+
containerSize: number;
|
|
3354
3952
|
containerWidth: number;
|
|
3953
|
+
containerGap: number;
|
|
3355
3954
|
overflowTargetWidth: number;
|
|
3356
3955
|
selectedIds: string[] | "all";
|
|
3357
3956
|
unselectedIds: string[];
|
|
@@ -3390,8 +3989,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3390
3989
|
*/
|
|
3391
3990
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3392
3991
|
hiddenIds: string[];
|
|
3992
|
+
itemSizeCache: Record<string, number>;
|
|
3393
3993
|
itemWidthCache: Record<string, number>;
|
|
3994
|
+
containerSize: number;
|
|
3394
3995
|
containerWidth: number;
|
|
3996
|
+
containerGap: number;
|
|
3395
3997
|
overflowTargetWidth: number;
|
|
3396
3998
|
selectedIds: string[] | "all";
|
|
3397
3999
|
unselectedIds: string[];
|
|
@@ -3430,8 +4032,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3430
4032
|
*/
|
|
3431
4033
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3432
4034
|
hiddenIds: string[];
|
|
4035
|
+
itemSizeCache: Record<string, number>;
|
|
3433
4036
|
itemWidthCache: Record<string, number>;
|
|
4037
|
+
containerSize: number;
|
|
3434
4038
|
containerWidth: number;
|
|
4039
|
+
containerGap: number;
|
|
3435
4040
|
overflowTargetWidth: number;
|
|
3436
4041
|
selectedIds: string[] | "all";
|
|
3437
4042
|
unselectedIds: string[];
|
|
@@ -3473,8 +4078,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3473
4078
|
*/
|
|
3474
4079
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3475
4080
|
hiddenIds: string[];
|
|
4081
|
+
itemSizeCache: Record<string, number>;
|
|
3476
4082
|
itemWidthCache: Record<string, number>;
|
|
4083
|
+
containerSize: number;
|
|
3477
4084
|
containerWidth: number;
|
|
4085
|
+
containerGap: number;
|
|
3478
4086
|
overflowTargetWidth: number;
|
|
3479
4087
|
selectedIds: string[] | "all";
|
|
3480
4088
|
unselectedIds: string[];
|
|
@@ -3515,8 +4123,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3515
4123
|
*/
|
|
3516
4124
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3517
4125
|
hiddenIds: string[];
|
|
4126
|
+
itemSizeCache: Record<string, number>;
|
|
3518
4127
|
itemWidthCache: Record<string, number>;
|
|
4128
|
+
containerSize: number;
|
|
3519
4129
|
containerWidth: number;
|
|
4130
|
+
containerGap: number;
|
|
3520
4131
|
overflowTargetWidth: number;
|
|
3521
4132
|
selectedIds: string[] | "all";
|
|
3522
4133
|
unselectedIds: string[];
|
|
@@ -3557,8 +4168,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3557
4168
|
*/
|
|
3558
4169
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3559
4170
|
hiddenIds: string[];
|
|
4171
|
+
itemSizeCache: Record<string, number>;
|
|
3560
4172
|
itemWidthCache: Record<string, number>;
|
|
4173
|
+
containerSize: number;
|
|
3561
4174
|
containerWidth: number;
|
|
4175
|
+
containerGap: number;
|
|
3562
4176
|
overflowTargetWidth: number;
|
|
3563
4177
|
selectedIds: string[] | "all";
|
|
3564
4178
|
unselectedIds: string[];
|
|
@@ -3598,8 +4212,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3598
4212
|
*/
|
|
3599
4213
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3600
4214
|
hiddenIds: string[];
|
|
4215
|
+
itemSizeCache: Record<string, number>;
|
|
3601
4216
|
itemWidthCache: Record<string, number>;
|
|
4217
|
+
containerSize: number;
|
|
3602
4218
|
containerWidth: number;
|
|
4219
|
+
containerGap: number;
|
|
3603
4220
|
overflowTargetWidth: number;
|
|
3604
4221
|
selectedIds: string[] | "all";
|
|
3605
4222
|
unselectedIds: string[];
|
|
@@ -3641,9 +4258,20 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3641
4258
|
select(data: {
|
|
3642
4259
|
id: string;
|
|
3643
4260
|
}): void;
|
|
4261
|
+
setContainerSize(data: {
|
|
4262
|
+
width?: number | undefined;
|
|
4263
|
+
height?: number | undefined;
|
|
4264
|
+
}): void;
|
|
3644
4265
|
setContainerWidth(data: {
|
|
3645
4266
|
width?: number | undefined;
|
|
3646
4267
|
}): void;
|
|
4268
|
+
setContainerGap(data: {
|
|
4269
|
+
size: number;
|
|
4270
|
+
}): void;
|
|
4271
|
+
setOverflowTargetSize(data: {
|
|
4272
|
+
width: number;
|
|
4273
|
+
height: number;
|
|
4274
|
+
}): void;
|
|
3647
4275
|
setOverflowTargetWidth(data: {
|
|
3648
4276
|
width: number;
|
|
3649
4277
|
}): void;
|
|
@@ -3651,6 +4279,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3651
4279
|
id: string;
|
|
3652
4280
|
width: number;
|
|
3653
4281
|
}): void;
|
|
4282
|
+
addItemSize(data: {
|
|
4283
|
+
id: string;
|
|
4284
|
+
width: number;
|
|
4285
|
+
height: number;
|
|
4286
|
+
}): void;
|
|
4287
|
+
removeItemSize(data: {
|
|
4288
|
+
id: string;
|
|
4289
|
+
}): void;
|
|
3654
4290
|
removeItemWidth(data: {
|
|
3655
4291
|
id: string;
|
|
3656
4292
|
}): void;
|
|
@@ -5205,8 +5841,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5205
5841
|
*/
|
|
5206
5842
|
panelIndexRef: React.MutableRefObject<number>;
|
|
5207
5843
|
hiddenIds: string[];
|
|
5844
|
+
itemSizeCache: Record<string, number>;
|
|
5208
5845
|
itemWidthCache: Record<string, number>;
|
|
5846
|
+
containerSize: number;
|
|
5209
5847
|
containerWidth: number;
|
|
5848
|
+
containerGap: number;
|
|
5210
5849
|
overflowTargetWidth: number;
|
|
5211
5850
|
selectedIds: string[] | "all";
|
|
5212
5851
|
unselectedIds: string[];
|
|
@@ -5247,9 +5886,20 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5247
5886
|
select(data: {
|
|
5248
5887
|
id: string;
|
|
5249
5888
|
}): void;
|
|
5889
|
+
setContainerSize(data: {
|
|
5890
|
+
width?: number | undefined;
|
|
5891
|
+
height?: number | undefined;
|
|
5892
|
+
}): void;
|
|
5250
5893
|
setContainerWidth(data: {
|
|
5251
5894
|
width?: number | undefined;
|
|
5252
5895
|
}): void;
|
|
5896
|
+
setContainerGap(data: {
|
|
5897
|
+
size: number;
|
|
5898
|
+
}): void;
|
|
5899
|
+
setOverflowTargetSize(data: {
|
|
5900
|
+
width: number;
|
|
5901
|
+
height: number;
|
|
5902
|
+
}): void;
|
|
5253
5903
|
setOverflowTargetWidth(data: {
|
|
5254
5904
|
width: number;
|
|
5255
5905
|
}): void;
|
|
@@ -5257,6 +5907,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5257
5907
|
id: string;
|
|
5258
5908
|
width: number;
|
|
5259
5909
|
}): void;
|
|
5910
|
+
addItemSize(data: {
|
|
5911
|
+
id: string;
|
|
5912
|
+
width: number;
|
|
5913
|
+
height: number;
|
|
5914
|
+
}): void;
|
|
5915
|
+
removeItemSize(data: {
|
|
5916
|
+
id: string;
|
|
5917
|
+
}): void;
|
|
5260
5918
|
removeItemWidth(data: {
|
|
5261
5919
|
id: string;
|
|
5262
5920
|
}): void;
|
|
@@ -5307,8 +5965,11 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5307
5965
|
*/
|
|
5308
5966
|
panelIndexRef: React.MutableRefObject<number>;
|
|
5309
5967
|
hiddenIds: string[];
|
|
5968
|
+
itemSizeCache: Record<string, number>;
|
|
5310
5969
|
itemWidthCache: Record<string, number>;
|
|
5970
|
+
containerSize: number;
|
|
5311
5971
|
containerWidth: number;
|
|
5972
|
+
containerGap: number;
|
|
5312
5973
|
overflowTargetWidth: number;
|
|
5313
5974
|
selectedIds: string[] | "all";
|
|
5314
5975
|
unselectedIds: string[];
|
|
@@ -5350,9 +6011,20 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5350
6011
|
select(data: {
|
|
5351
6012
|
id: string;
|
|
5352
6013
|
}): void;
|
|
6014
|
+
setContainerSize(data: {
|
|
6015
|
+
width?: number | undefined;
|
|
6016
|
+
height?: number | undefined;
|
|
6017
|
+
}): void;
|
|
5353
6018
|
setContainerWidth(data: {
|
|
5354
6019
|
width?: number | undefined;
|
|
5355
6020
|
}): void;
|
|
6021
|
+
setContainerGap(data: {
|
|
6022
|
+
size: number;
|
|
6023
|
+
}): void;
|
|
6024
|
+
setOverflowTargetSize(data: {
|
|
6025
|
+
width: number;
|
|
6026
|
+
height: number;
|
|
6027
|
+
}): void;
|
|
5356
6028
|
setOverflowTargetWidth(data: {
|
|
5357
6029
|
width: number;
|
|
5358
6030
|
}): void;
|
|
@@ -5360,6 +6032,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5360
6032
|
id: string;
|
|
5361
6033
|
width: number;
|
|
5362
6034
|
}): void;
|
|
6035
|
+
addItemSize(data: {
|
|
6036
|
+
id: string;
|
|
6037
|
+
width: number;
|
|
6038
|
+
height: number;
|
|
6039
|
+
}): void;
|
|
6040
|
+
removeItemSize(data: {
|
|
6041
|
+
id: string;
|
|
6042
|
+
}): void;
|
|
5363
6043
|
removeItemWidth(data: {
|
|
5364
6044
|
id: string;
|
|
5365
6045
|
}): void;
|