@workday/canvas-kit-react 12.1.0-943-next.0 → 12.1.0-945-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/collection/lib/useOverflowListItemMeasure.tsx +6 -2
- package/collection/lib/useOverflowListMeasure.ts +1 -1
- package/collection/lib/useOverflowListModel.tsx +90 -51
- package/collection/lib/useOverflowListTarget.tsx +5 -1
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +452 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +36 -0
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +36 -0
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +36 -0
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +434 -0
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/commonjs/avatar/lib/Avatar.js +21 -21
- package/dist/commonjs/badge/lib/CountBadge.js +3 -3
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +525 -385
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +36 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +36 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +18 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +36 -0
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +434 -0
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/commonjs/button/lib/BaseButton.js +21 -21
- package/dist/commonjs/button/lib/DeleteButton.js +1 -1
- package/dist/commonjs/button/lib/PrimaryButton.js +2 -2
- package/dist/commonjs/button/lib/SecondaryButton.js +2 -2
- package/dist/commonjs/button/lib/TertiaryButton.js +18 -18
- package/dist/commonjs/card/lib/Card.js +1 -1
- package/dist/commonjs/card/lib/CardBody.js +1 -1
- package/dist/commonjs/card/lib/CardHeading.js +1 -1
- package/dist/commonjs/checkbox/lib/CheckBackground.js +3 -3
- package/dist/commonjs/checkbox/lib/CheckboxCheck.js +5 -5
- package/dist/commonjs/checkbox/lib/CheckboxContainer.js +1 -1
- package/dist/commonjs/checkbox/lib/CheckboxInput.js +5 -5
- package/dist/commonjs/checkbox/lib/CheckboxRipple.js +1 -1
- package/dist/commonjs/collection/lib/ListBox.js +3 -3
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +18 -0
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.js +5 -2
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +18 -0
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.js +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +846 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.js +73 -35
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +18 -0
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListTarget.js +4 -1
- package/dist/commonjs/combobox/lib/ComboboxMenuList.js +1 -1
- package/dist/commonjs/common/lib/AccessibleHide.js +1 -1
- package/dist/commonjs/common/lib/CanvasProvider.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldContainer.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldField.js +1 -1
- package/dist/commonjs/form-field/lib/FormFieldGroupLabel.js +5 -5
- package/dist/commonjs/form-field/lib/FormFieldGroupList.js +3 -3
- package/dist/commonjs/form-field/lib/FormFieldHint.js +3 -3
- package/dist/commonjs/form-field/lib/FormFieldLabel.js +6 -6
- package/dist/commonjs/form-field/lib/formFieldStencil.js +8 -8
- package/dist/commonjs/icon/lib/AccentIcon.js +2 -2
- package/dist/commonjs/icon/lib/AppletIcon.js +1 -1
- package/dist/commonjs/icon/lib/Graphic.js +2 -2
- package/dist/commonjs/icon/lib/Svg.js +2 -2
- package/dist/commonjs/icon/lib/SystemIcon.js +1 -1
- package/dist/commonjs/icon/lib/SystemIconCircle.js +1 -1
- package/dist/commonjs/loading-dots/lib/LoadingDots.js +2 -2
- package/dist/commonjs/menu/lib/MenuCard.js +1 -1
- package/dist/commonjs/menu/lib/MenuItem.js +1 -1
- package/dist/commonjs/menu/lib/MenuList.js +3 -3
- package/dist/commonjs/menu/lib/MenuOption.js +1 -1
- package/dist/commonjs/modal/lib/ModalBody.js +1 -1
- package/dist/commonjs/modal/lib/ModalCard.js +1 -1
- package/dist/commonjs/modal/lib/ModalHeading.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/commonjs/modal/lib/ModalOverlay.js +2 -2
- package/dist/commonjs/popup/lib/PopupBody.js +1 -1
- package/dist/commonjs/popup/lib/PopupCard.js +2 -2
- package/dist/commonjs/popup/lib/PopupCloseIcon.js +1 -1
- package/dist/commonjs/popup/lib/PopupHeading.js +1 -1
- package/dist/commonjs/select/lib/SelectCard.js +1 -1
- package/dist/commonjs/select/lib/SelectInput.js +3 -3
- package/dist/commonjs/switch/lib/Switch.js +7 -7
- package/dist/commonjs/table/lib/Table.js +1 -1
- package/dist/commonjs/table/lib/TableBody.js +1 -1
- package/dist/commonjs/table/lib/TableCaption.js +1 -1
- package/dist/commonjs/table/lib/TableCell.js +1 -1
- package/dist/commonjs/table/lib/TableFooter.js +1 -1
- package/dist/commonjs/table/lib/TableHead.js +1 -1
- package/dist/commonjs/table/lib/TableHeader.js +1 -1
- package/dist/commonjs/table/lib/TableRow.js +1 -1
- package/dist/commonjs/tabs/lib/Tabs.d.ts +520 -0
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +36 -0
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.d.ts +36 -0
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +36 -0
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +36 -0
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +18 -0
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +530 -0
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/commonjs/text/lib/LabelText.js +6 -6
- package/dist/commonjs/text/lib/Text.js +16 -16
- package/dist/commonjs/text/lib/TypeLevelComponents.js +4 -4
- package/dist/commonjs/text-area/lib/TextArea.js +5 -5
- package/dist/commonjs/text-input/lib/InputGroup.js +6 -6
- package/dist/commonjs/text-input/lib/TextInput.js +5 -5
- package/dist/commonjs/toast/lib/Toast.js +1 -1
- package/dist/commonjs/toast/lib/ToastBody.js +1 -1
- package/dist/commonjs/toast/lib/ToastCloseIcon.js +1 -1
- package/dist/commonjs/toast/lib/ToastIcon.js +1 -1
- package/dist/commonjs/toast/lib/ToastMessage.js +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +452 -0
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +36 -0
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +36 -0
- package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +36 -0
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +434 -0
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/es6/avatar/lib/Avatar.js +21 -21
- package/dist/es6/badge/lib/CountBadge.js +3 -3
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +525 -385
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +36 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +36 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +18 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +36 -0
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +434 -0
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/es6/button/lib/BaseButton.js +21 -21
- package/dist/es6/button/lib/DeleteButton.js +1 -1
- package/dist/es6/button/lib/PrimaryButton.js +2 -2
- package/dist/es6/button/lib/SecondaryButton.js +2 -2
- package/dist/es6/button/lib/TertiaryButton.js +18 -18
- package/dist/es6/card/lib/Card.js +1 -1
- package/dist/es6/card/lib/CardBody.js +1 -1
- package/dist/es6/card/lib/CardHeading.js +1 -1
- package/dist/es6/checkbox/lib/CheckBackground.js +3 -3
- package/dist/es6/checkbox/lib/CheckboxCheck.js +5 -5
- package/dist/es6/checkbox/lib/CheckboxContainer.js +1 -1
- package/dist/es6/checkbox/lib/CheckboxInput.js +5 -5
- package/dist/es6/checkbox/lib/CheckboxRipple.js +1 -1
- package/dist/es6/collection/lib/ListBox.js +3 -3
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +18 -0
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.js +5 -2
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +18 -0
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.js +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +846 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.js +73 -35
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +18 -0
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListTarget.js +4 -1
- package/dist/es6/combobox/lib/ComboboxMenuList.js +1 -1
- package/dist/es6/common/lib/AccessibleHide.js +1 -1
- package/dist/es6/common/lib/CanvasProvider.js +1 -1
- package/dist/es6/form-field/lib/FormFieldContainer.js +1 -1
- package/dist/es6/form-field/lib/FormFieldField.js +1 -1
- package/dist/es6/form-field/lib/FormFieldGroupLabel.js +5 -5
- package/dist/es6/form-field/lib/FormFieldGroupList.js +3 -3
- package/dist/es6/form-field/lib/FormFieldHint.js +3 -3
- package/dist/es6/form-field/lib/FormFieldLabel.js +6 -6
- package/dist/es6/form-field/lib/formFieldStencil.js +8 -8
- package/dist/es6/icon/lib/AccentIcon.js +2 -2
- package/dist/es6/icon/lib/AppletIcon.js +1 -1
- package/dist/es6/icon/lib/Graphic.js +2 -2
- package/dist/es6/icon/lib/Svg.js +2 -2
- package/dist/es6/icon/lib/SystemIcon.js +1 -1
- package/dist/es6/icon/lib/SystemIconCircle.js +1 -1
- package/dist/es6/loading-dots/lib/LoadingDots.js +2 -2
- package/dist/es6/menu/lib/MenuCard.js +1 -1
- package/dist/es6/menu/lib/MenuItem.js +1 -1
- package/dist/es6/menu/lib/MenuList.js +3 -3
- package/dist/es6/menu/lib/MenuOption.js +1 -1
- package/dist/es6/modal/lib/ModalBody.js +1 -1
- package/dist/es6/modal/lib/ModalCard.js +1 -1
- package/dist/es6/modal/lib/ModalHeading.js +1 -1
- package/dist/es6/modal/lib/ModalOverflowOverlay.js +1 -1
- package/dist/es6/modal/lib/ModalOverlay.js +2 -2
- package/dist/es6/popup/lib/PopupBody.js +1 -1
- package/dist/es6/popup/lib/PopupCard.js +2 -2
- package/dist/es6/popup/lib/PopupCloseIcon.js +1 -1
- package/dist/es6/popup/lib/PopupHeading.js +1 -1
- package/dist/es6/select/lib/SelectCard.js +1 -1
- package/dist/es6/select/lib/SelectInput.js +3 -3
- package/dist/es6/switch/lib/Switch.js +7 -7
- package/dist/es6/table/lib/Table.js +1 -1
- package/dist/es6/table/lib/TableBody.js +1 -1
- package/dist/es6/table/lib/TableCaption.js +1 -1
- package/dist/es6/table/lib/TableCell.js +1 -1
- package/dist/es6/table/lib/TableFooter.js +1 -1
- package/dist/es6/table/lib/TableHead.js +1 -1
- package/dist/es6/table/lib/TableHeader.js +1 -1
- package/dist/es6/table/lib/TableRow.js +1 -1
- package/dist/es6/tabs/lib/Tabs.d.ts +520 -0
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.d.ts +36 -0
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.d.ts +36 -0
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +36 -0
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.d.ts +36 -0
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanels.d.ts +18 -0
- package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.d.ts +530 -0
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/text/lib/LabelText.js +6 -6
- package/dist/es6/text/lib/Text.js +16 -16
- package/dist/es6/text/lib/TypeLevelComponents.js +4 -4
- package/dist/es6/text-area/lib/TextArea.js +5 -5
- package/dist/es6/text-input/lib/InputGroup.js +6 -6
- package/dist/es6/text-input/lib/TextInput.js +5 -5
- package/dist/es6/toast/lib/Toast.js +1 -1
- package/dist/es6/toast/lib/ToastBody.js +1 -1
- package/dist/es6/toast/lib/ToastCloseIcon.js +1 -1
- package/dist/es6/toast/lib/ToastIcon.js +1 -1
- package/dist/es6/toast/lib/ToastMessage.js +1 -1
- package/package.json +4 -4
|
@@ -1461,7 +1461,9 @@ 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;
|
|
1466
1468
|
containerGap: number;
|
|
1467
1469
|
overflowTargetWidth: number;
|
|
@@ -1504,7 +1506,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1504
1506
|
*/
|
|
1505
1507
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1506
1508
|
hiddenIds: string[];
|
|
1509
|
+
itemSizeCache: Record<string, number>;
|
|
1507
1510
|
itemWidthCache: Record<string, number>;
|
|
1511
|
+
containerSize: number;
|
|
1508
1512
|
containerWidth: number;
|
|
1509
1513
|
containerGap: number;
|
|
1510
1514
|
overflowTargetWidth: number;
|
|
@@ -1547,7 +1551,55 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1547
1551
|
*/
|
|
1548
1552
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1549
1553
|
hiddenIds: string[];
|
|
1554
|
+
itemSizeCache: Record<string, number>;
|
|
1550
1555
|
itemWidthCache: Record<string, number>;
|
|
1556
|
+
containerSize: number;
|
|
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;
|
|
1551
1603
|
containerWidth: number;
|
|
1552
1604
|
containerGap: number;
|
|
1553
1605
|
overflowTargetWidth: number;
|
|
@@ -1590,7 +1642,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1590
1642
|
*/
|
|
1591
1643
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1592
1644
|
hiddenIds: string[];
|
|
1645
|
+
itemSizeCache: Record<string, number>;
|
|
1593
1646
|
itemWidthCache: Record<string, number>;
|
|
1647
|
+
containerSize: number;
|
|
1594
1648
|
containerWidth: number;
|
|
1595
1649
|
containerGap: number;
|
|
1596
1650
|
overflowTargetWidth: number;
|
|
@@ -1633,7 +1687,55 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1633
1687
|
*/
|
|
1634
1688
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1635
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>;
|
|
1636
1737
|
itemWidthCache: Record<string, number>;
|
|
1738
|
+
containerSize: number;
|
|
1637
1739
|
containerWidth: number;
|
|
1638
1740
|
containerGap: number;
|
|
1639
1741
|
overflowTargetWidth: number;
|
|
@@ -1676,7 +1778,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1676
1778
|
*/
|
|
1677
1779
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1678
1780
|
hiddenIds: string[];
|
|
1781
|
+
itemSizeCache: Record<string, number>;
|
|
1679
1782
|
itemWidthCache: Record<string, number>;
|
|
1783
|
+
containerSize: number;
|
|
1680
1784
|
containerWidth: number;
|
|
1681
1785
|
containerGap: number;
|
|
1682
1786
|
overflowTargetWidth: number;
|
|
@@ -1720,7 +1824,101 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1720
1824
|
*/
|
|
1721
1825
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1722
1826
|
hiddenIds: string[];
|
|
1827
|
+
itemSizeCache: Record<string, number>;
|
|
1723
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>;
|
|
1920
|
+
itemWidthCache: Record<string, number>;
|
|
1921
|
+
containerSize: number;
|
|
1724
1922
|
containerWidth: number;
|
|
1725
1923
|
containerGap: number;
|
|
1726
1924
|
overflowTargetWidth: number;
|
|
@@ -1763,7 +1961,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1763
1961
|
*/
|
|
1764
1962
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1765
1963
|
hiddenIds: string[];
|
|
1964
|
+
itemSizeCache: Record<string, number>;
|
|
1766
1965
|
itemWidthCache: Record<string, number>;
|
|
1966
|
+
containerSize: number;
|
|
1767
1967
|
containerWidth: number;
|
|
1768
1968
|
containerGap: number;
|
|
1769
1969
|
overflowTargetWidth: number;
|
|
@@ -1806,7 +2006,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1806
2006
|
*/
|
|
1807
2007
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1808
2008
|
hiddenIds: string[];
|
|
2009
|
+
itemSizeCache: Record<string, number>;
|
|
1809
2010
|
itemWidthCache: Record<string, number>;
|
|
2011
|
+
containerSize: number;
|
|
1810
2012
|
containerWidth: number;
|
|
1811
2013
|
containerGap: number;
|
|
1812
2014
|
overflowTargetWidth: number;
|
|
@@ -1849,7 +2051,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1849
2051
|
*/
|
|
1850
2052
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1851
2053
|
hiddenIds: string[];
|
|
2054
|
+
itemSizeCache: Record<string, number>;
|
|
1852
2055
|
itemWidthCache: Record<string, number>;
|
|
2056
|
+
containerSize: number;
|
|
1853
2057
|
containerWidth: number;
|
|
1854
2058
|
containerGap: number;
|
|
1855
2059
|
overflowTargetWidth: number;
|
|
@@ -1890,7 +2094,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1890
2094
|
*/
|
|
1891
2095
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1892
2096
|
hiddenIds: string[];
|
|
2097
|
+
itemSizeCache: Record<string, number>;
|
|
1893
2098
|
itemWidthCache: Record<string, number>;
|
|
2099
|
+
containerSize: number;
|
|
1894
2100
|
containerWidth: number;
|
|
1895
2101
|
containerGap: number;
|
|
1896
2102
|
overflowTargetWidth: number;
|
|
@@ -1931,7 +2137,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1931
2137
|
*/
|
|
1932
2138
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1933
2139
|
hiddenIds: string[];
|
|
2140
|
+
itemSizeCache: Record<string, number>;
|
|
1934
2141
|
itemWidthCache: Record<string, number>;
|
|
2142
|
+
containerSize: number;
|
|
1935
2143
|
containerWidth: number;
|
|
1936
2144
|
containerGap: number;
|
|
1937
2145
|
overflowTargetWidth: number;
|
|
@@ -1972,7 +2180,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1972
2180
|
*/
|
|
1973
2181
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1974
2182
|
hiddenIds: string[];
|
|
2183
|
+
itemSizeCache: Record<string, number>;
|
|
1975
2184
|
itemWidthCache: Record<string, number>;
|
|
2185
|
+
containerSize: number;
|
|
1976
2186
|
containerWidth: number;
|
|
1977
2187
|
containerGap: number;
|
|
1978
2188
|
overflowTargetWidth: number;
|
|
@@ -2015,7 +2225,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2015
2225
|
*/
|
|
2016
2226
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2017
2227
|
hiddenIds: string[];
|
|
2228
|
+
itemSizeCache: Record<string, number>;
|
|
2018
2229
|
itemWidthCache: Record<string, number>;
|
|
2230
|
+
containerSize: number;
|
|
2019
2231
|
containerWidth: number;
|
|
2020
2232
|
containerGap: number;
|
|
2021
2233
|
overflowTargetWidth: number;
|
|
@@ -2056,7 +2268,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2056
2268
|
*/
|
|
2057
2269
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2058
2270
|
hiddenIds: string[];
|
|
2271
|
+
itemSizeCache: Record<string, number>;
|
|
2059
2272
|
itemWidthCache: Record<string, number>;
|
|
2273
|
+
containerSize: number;
|
|
2060
2274
|
containerWidth: number;
|
|
2061
2275
|
containerGap: number;
|
|
2062
2276
|
overflowTargetWidth: number;
|
|
@@ -2097,7 +2311,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2097
2311
|
*/
|
|
2098
2312
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2099
2313
|
hiddenIds: string[];
|
|
2314
|
+
itemSizeCache: Record<string, number>;
|
|
2100
2315
|
itemWidthCache: Record<string, number>;
|
|
2316
|
+
containerSize: number;
|
|
2101
2317
|
containerWidth: number;
|
|
2102
2318
|
containerGap: number;
|
|
2103
2319
|
overflowTargetWidth: number;
|
|
@@ -2138,7 +2354,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2138
2354
|
*/
|
|
2139
2355
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2140
2356
|
hiddenIds: string[];
|
|
2357
|
+
itemSizeCache: Record<string, number>;
|
|
2141
2358
|
itemWidthCache: Record<string, number>;
|
|
2359
|
+
containerSize: number;
|
|
2142
2360
|
containerWidth: number;
|
|
2143
2361
|
containerGap: number;
|
|
2144
2362
|
overflowTargetWidth: number;
|
|
@@ -2179,7 +2397,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2179
2397
|
*/
|
|
2180
2398
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2181
2399
|
hiddenIds: string[];
|
|
2400
|
+
itemSizeCache: Record<string, number>;
|
|
2182
2401
|
itemWidthCache: Record<string, number>;
|
|
2402
|
+
containerSize: number;
|
|
2183
2403
|
containerWidth: number;
|
|
2184
2404
|
containerGap: number;
|
|
2185
2405
|
overflowTargetWidth: number;
|
|
@@ -2220,7 +2440,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2220
2440
|
*/
|
|
2221
2441
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2222
2442
|
hiddenIds: string[];
|
|
2443
|
+
itemSizeCache: Record<string, number>;
|
|
2223
2444
|
itemWidthCache: Record<string, number>;
|
|
2445
|
+
containerSize: number;
|
|
2224
2446
|
containerWidth: number;
|
|
2225
2447
|
containerGap: number;
|
|
2226
2448
|
overflowTargetWidth: number;
|
|
@@ -2261,7 +2483,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2261
2483
|
*/
|
|
2262
2484
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2263
2485
|
hiddenIds: string[];
|
|
2486
|
+
itemSizeCache: Record<string, number>;
|
|
2264
2487
|
itemWidthCache: Record<string, number>;
|
|
2488
|
+
containerSize: number;
|
|
2265
2489
|
containerWidth: number;
|
|
2266
2490
|
containerGap: number;
|
|
2267
2491
|
overflowTargetWidth: number;
|
|
@@ -2302,7 +2526,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2302
2526
|
*/
|
|
2303
2527
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2304
2528
|
hiddenIds: string[];
|
|
2529
|
+
itemSizeCache: Record<string, number>;
|
|
2305
2530
|
itemWidthCache: Record<string, number>;
|
|
2531
|
+
containerSize: number;
|
|
2306
2532
|
containerWidth: number;
|
|
2307
2533
|
containerGap: number;
|
|
2308
2534
|
overflowTargetWidth: number;
|
|
@@ -2343,7 +2569,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2343
2569
|
*/
|
|
2344
2570
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2345
2571
|
hiddenIds: string[];
|
|
2572
|
+
itemSizeCache: Record<string, number>;
|
|
2346
2573
|
itemWidthCache: Record<string, number>;
|
|
2574
|
+
containerSize: number;
|
|
2347
2575
|
containerWidth: number;
|
|
2348
2576
|
containerGap: number;
|
|
2349
2577
|
overflowTargetWidth: number;
|
|
@@ -2384,7 +2612,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2384
2612
|
*/
|
|
2385
2613
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2386
2614
|
hiddenIds: string[];
|
|
2615
|
+
itemSizeCache: Record<string, number>;
|
|
2387
2616
|
itemWidthCache: Record<string, number>;
|
|
2617
|
+
containerSize: number;
|
|
2388
2618
|
containerWidth: number;
|
|
2389
2619
|
containerGap: number;
|
|
2390
2620
|
overflowTargetWidth: number;
|
|
@@ -2425,7 +2655,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2425
2655
|
*/
|
|
2426
2656
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2427
2657
|
hiddenIds: string[];
|
|
2658
|
+
itemSizeCache: Record<string, number>;
|
|
2428
2659
|
itemWidthCache: Record<string, number>;
|
|
2660
|
+
containerSize: number;
|
|
2429
2661
|
containerWidth: number;
|
|
2430
2662
|
containerGap: number;
|
|
2431
2663
|
overflowTargetWidth: number;
|
|
@@ -2469,7 +2701,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2469
2701
|
*/
|
|
2470
2702
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2471
2703
|
hiddenIds: string[];
|
|
2704
|
+
itemSizeCache: Record<string, number>;
|
|
2472
2705
|
itemWidthCache: Record<string, number>;
|
|
2706
|
+
containerSize: number;
|
|
2473
2707
|
containerWidth: number;
|
|
2474
2708
|
containerGap: number;
|
|
2475
2709
|
overflowTargetWidth: number;
|
|
@@ -2512,7 +2746,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2512
2746
|
*/
|
|
2513
2747
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2514
2748
|
hiddenIds: string[];
|
|
2749
|
+
itemSizeCache: Record<string, number>;
|
|
2515
2750
|
itemWidthCache: Record<string, number>;
|
|
2751
|
+
containerSize: number;
|
|
2516
2752
|
containerWidth: number;
|
|
2517
2753
|
containerGap: number;
|
|
2518
2754
|
overflowTargetWidth: number;
|
|
@@ -2555,7 +2791,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2555
2791
|
*/
|
|
2556
2792
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2557
2793
|
hiddenIds: string[];
|
|
2794
|
+
itemSizeCache: Record<string, number>;
|
|
2558
2795
|
itemWidthCache: Record<string, number>;
|
|
2796
|
+
containerSize: number;
|
|
2559
2797
|
containerWidth: number;
|
|
2560
2798
|
containerGap: number;
|
|
2561
2799
|
overflowTargetWidth: number;
|
|
@@ -2600,7 +2838,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2600
2838
|
*/
|
|
2601
2839
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2602
2840
|
hiddenIds: string[];
|
|
2841
|
+
itemSizeCache: Record<string, number>;
|
|
2603
2842
|
itemWidthCache: Record<string, number>;
|
|
2843
|
+
containerSize: number;
|
|
2604
2844
|
containerWidth: number;
|
|
2605
2845
|
containerGap: number;
|
|
2606
2846
|
overflowTargetWidth: number;
|
|
@@ -2643,7 +2883,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2643
2883
|
*/
|
|
2644
2884
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2645
2885
|
hiddenIds: string[];
|
|
2886
|
+
itemSizeCache: Record<string, number>;
|
|
2646
2887
|
itemWidthCache: Record<string, number>;
|
|
2888
|
+
containerSize: number;
|
|
2647
2889
|
containerWidth: number;
|
|
2648
2890
|
containerGap: number;
|
|
2649
2891
|
overflowTargetWidth: number;
|
|
@@ -2686,7 +2928,55 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2686
2928
|
*/
|
|
2687
2929
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2688
2930
|
hiddenIds: string[];
|
|
2931
|
+
itemSizeCache: Record<string, number>;
|
|
2689
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>;
|
|
2978
|
+
itemWidthCache: Record<string, number>;
|
|
2979
|
+
containerSize: number;
|
|
2690
2980
|
containerWidth: number;
|
|
2691
2981
|
containerGap: number;
|
|
2692
2982
|
overflowTargetWidth: number;
|
|
@@ -2729,7 +3019,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2729
3019
|
*/
|
|
2730
3020
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2731
3021
|
hiddenIds: string[];
|
|
3022
|
+
itemSizeCache: Record<string, number>;
|
|
2732
3023
|
itemWidthCache: Record<string, number>;
|
|
3024
|
+
containerSize: number;
|
|
2733
3025
|
containerWidth: number;
|
|
2734
3026
|
containerGap: number;
|
|
2735
3027
|
overflowTargetWidth: number;
|
|
@@ -2772,7 +3064,55 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2772
3064
|
*/
|
|
2773
3065
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2774
3066
|
hiddenIds: string[];
|
|
3067
|
+
itemSizeCache: Record<string, number>;
|
|
2775
3068
|
itemWidthCache: Record<string, number>;
|
|
3069
|
+
containerSize: number;
|
|
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;
|
|
2776
3116
|
containerWidth: number;
|
|
2777
3117
|
containerGap: number;
|
|
2778
3118
|
overflowTargetWidth: number;
|
|
@@ -2815,7 +3155,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2815
3155
|
*/
|
|
2816
3156
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2817
3157
|
hiddenIds: string[];
|
|
3158
|
+
itemSizeCache: Record<string, number>;
|
|
2818
3159
|
itemWidthCache: Record<string, number>;
|
|
3160
|
+
containerSize: number;
|
|
2819
3161
|
containerWidth: number;
|
|
2820
3162
|
containerGap: number;
|
|
2821
3163
|
overflowTargetWidth: number;
|
|
@@ -2859,7 +3201,101 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2859
3201
|
*/
|
|
2860
3202
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2861
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>;
|
|
2862
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>;
|
|
3297
|
+
itemWidthCache: Record<string, number>;
|
|
3298
|
+
containerSize: number;
|
|
2863
3299
|
containerWidth: number;
|
|
2864
3300
|
containerGap: number;
|
|
2865
3301
|
overflowTargetWidth: number;
|
|
@@ -2902,7 +3338,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2902
3338
|
*/
|
|
2903
3339
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2904
3340
|
hiddenIds: string[];
|
|
3341
|
+
itemSizeCache: Record<string, number>;
|
|
2905
3342
|
itemWidthCache: Record<string, number>;
|
|
3343
|
+
containerSize: number;
|
|
2906
3344
|
containerWidth: number;
|
|
2907
3345
|
containerGap: number;
|
|
2908
3346
|
overflowTargetWidth: number;
|
|
@@ -2945,7 +3383,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2945
3383
|
*/
|
|
2946
3384
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2947
3385
|
hiddenIds: string[];
|
|
3386
|
+
itemSizeCache: Record<string, number>;
|
|
2948
3387
|
itemWidthCache: Record<string, number>;
|
|
3388
|
+
containerSize: number;
|
|
2949
3389
|
containerWidth: number;
|
|
2950
3390
|
containerGap: number;
|
|
2951
3391
|
overflowTargetWidth: number;
|
|
@@ -2988,7 +3428,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2988
3428
|
*/
|
|
2989
3429
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2990
3430
|
hiddenIds: string[];
|
|
3431
|
+
itemSizeCache: Record<string, number>;
|
|
2991
3432
|
itemWidthCache: Record<string, number>;
|
|
3433
|
+
containerSize: number;
|
|
2992
3434
|
containerWidth: number;
|
|
2993
3435
|
containerGap: number;
|
|
2994
3436
|
overflowTargetWidth: number;
|
|
@@ -3029,7 +3471,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3029
3471
|
*/
|
|
3030
3472
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3031
3473
|
hiddenIds: string[];
|
|
3474
|
+
itemSizeCache: Record<string, number>;
|
|
3032
3475
|
itemWidthCache: Record<string, number>;
|
|
3476
|
+
containerSize: number;
|
|
3033
3477
|
containerWidth: number;
|
|
3034
3478
|
containerGap: number;
|
|
3035
3479
|
overflowTargetWidth: number;
|
|
@@ -3070,7 +3514,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3070
3514
|
*/
|
|
3071
3515
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3072
3516
|
hiddenIds: string[];
|
|
3517
|
+
itemSizeCache: Record<string, number>;
|
|
3073
3518
|
itemWidthCache: Record<string, number>;
|
|
3519
|
+
containerSize: number;
|
|
3074
3520
|
containerWidth: number;
|
|
3075
3521
|
containerGap: number;
|
|
3076
3522
|
overflowTargetWidth: number;
|
|
@@ -3111,7 +3557,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3111
3557
|
*/
|
|
3112
3558
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3113
3559
|
hiddenIds: string[];
|
|
3560
|
+
itemSizeCache: Record<string, number>;
|
|
3114
3561
|
itemWidthCache: Record<string, number>;
|
|
3562
|
+
containerSize: number;
|
|
3115
3563
|
containerWidth: number;
|
|
3116
3564
|
containerGap: number;
|
|
3117
3565
|
overflowTargetWidth: number;
|
|
@@ -3154,7 +3602,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3154
3602
|
*/
|
|
3155
3603
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3156
3604
|
hiddenIds: string[];
|
|
3605
|
+
itemSizeCache: Record<string, number>;
|
|
3157
3606
|
itemWidthCache: Record<string, number>;
|
|
3607
|
+
containerSize: number;
|
|
3158
3608
|
containerWidth: number;
|
|
3159
3609
|
containerGap: number;
|
|
3160
3610
|
overflowTargetWidth: number;
|
|
@@ -3195,7 +3645,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3195
3645
|
*/
|
|
3196
3646
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3197
3647
|
hiddenIds: string[];
|
|
3648
|
+
itemSizeCache: Record<string, number>;
|
|
3198
3649
|
itemWidthCache: Record<string, number>;
|
|
3650
|
+
containerSize: number;
|
|
3199
3651
|
containerWidth: number;
|
|
3200
3652
|
containerGap: number;
|
|
3201
3653
|
overflowTargetWidth: number;
|
|
@@ -3236,7 +3688,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3236
3688
|
*/
|
|
3237
3689
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3238
3690
|
hiddenIds: string[];
|
|
3691
|
+
itemSizeCache: Record<string, number>;
|
|
3239
3692
|
itemWidthCache: Record<string, number>;
|
|
3693
|
+
containerSize: number;
|
|
3240
3694
|
containerWidth: number;
|
|
3241
3695
|
containerGap: number;
|
|
3242
3696
|
overflowTargetWidth: number;
|
|
@@ -3277,7 +3731,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3277
3731
|
*/
|
|
3278
3732
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3279
3733
|
hiddenIds: string[];
|
|
3734
|
+
itemSizeCache: Record<string, number>;
|
|
3280
3735
|
itemWidthCache: Record<string, number>;
|
|
3736
|
+
containerSize: number;
|
|
3281
3737
|
containerWidth: number;
|
|
3282
3738
|
containerGap: number;
|
|
3283
3739
|
overflowTargetWidth: number;
|
|
@@ -3318,7 +3774,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3318
3774
|
*/
|
|
3319
3775
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3320
3776
|
hiddenIds: string[];
|
|
3777
|
+
itemSizeCache: Record<string, number>;
|
|
3321
3778
|
itemWidthCache: Record<string, number>;
|
|
3779
|
+
containerSize: number;
|
|
3322
3780
|
containerWidth: number;
|
|
3323
3781
|
containerGap: number;
|
|
3324
3782
|
overflowTargetWidth: number;
|
|
@@ -3359,7 +3817,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3359
3817
|
*/
|
|
3360
3818
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3361
3819
|
hiddenIds: string[];
|
|
3820
|
+
itemSizeCache: Record<string, number>;
|
|
3362
3821
|
itemWidthCache: Record<string, number>;
|
|
3822
|
+
containerSize: number;
|
|
3363
3823
|
containerWidth: number;
|
|
3364
3824
|
containerGap: number;
|
|
3365
3825
|
overflowTargetWidth: number;
|
|
@@ -3400,7 +3860,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3400
3860
|
*/
|
|
3401
3861
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3402
3862
|
hiddenIds: string[];
|
|
3863
|
+
itemSizeCache: Record<string, number>;
|
|
3403
3864
|
itemWidthCache: Record<string, number>;
|
|
3865
|
+
containerSize: number;
|
|
3404
3866
|
containerWidth: number;
|
|
3405
3867
|
containerGap: number;
|
|
3406
3868
|
overflowTargetWidth: number;
|
|
@@ -3441,7 +3903,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3441
3903
|
*/
|
|
3442
3904
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3443
3905
|
hiddenIds: string[];
|
|
3906
|
+
itemSizeCache: Record<string, number>;
|
|
3444
3907
|
itemWidthCache: Record<string, number>;
|
|
3908
|
+
containerSize: number;
|
|
3445
3909
|
containerWidth: number;
|
|
3446
3910
|
containerGap: number;
|
|
3447
3911
|
overflowTargetWidth: number;
|
|
@@ -3482,7 +3946,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3482
3946
|
*/
|
|
3483
3947
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3484
3948
|
hiddenIds: string[];
|
|
3949
|
+
itemSizeCache: Record<string, number>;
|
|
3485
3950
|
itemWidthCache: Record<string, number>;
|
|
3951
|
+
containerSize: number;
|
|
3486
3952
|
containerWidth: number;
|
|
3487
3953
|
containerGap: number;
|
|
3488
3954
|
overflowTargetWidth: number;
|
|
@@ -3523,7 +3989,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3523
3989
|
*/
|
|
3524
3990
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3525
3991
|
hiddenIds: string[];
|
|
3992
|
+
itemSizeCache: Record<string, number>;
|
|
3526
3993
|
itemWidthCache: Record<string, number>;
|
|
3994
|
+
containerSize: number;
|
|
3527
3995
|
containerWidth: number;
|
|
3528
3996
|
containerGap: number;
|
|
3529
3997
|
overflowTargetWidth: number;
|
|
@@ -3564,7 +4032,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3564
4032
|
*/
|
|
3565
4033
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3566
4034
|
hiddenIds: string[];
|
|
4035
|
+
itemSizeCache: Record<string, number>;
|
|
3567
4036
|
itemWidthCache: Record<string, number>;
|
|
4037
|
+
containerSize: number;
|
|
3568
4038
|
containerWidth: number;
|
|
3569
4039
|
containerGap: number;
|
|
3570
4040
|
overflowTargetWidth: number;
|
|
@@ -3608,7 +4078,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3608
4078
|
*/
|
|
3609
4079
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3610
4080
|
hiddenIds: string[];
|
|
4081
|
+
itemSizeCache: Record<string, number>;
|
|
3611
4082
|
itemWidthCache: Record<string, number>;
|
|
4083
|
+
containerSize: number;
|
|
3612
4084
|
containerWidth: number;
|
|
3613
4085
|
containerGap: number;
|
|
3614
4086
|
overflowTargetWidth: number;
|
|
@@ -3651,7 +4123,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3651
4123
|
*/
|
|
3652
4124
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3653
4125
|
hiddenIds: string[];
|
|
4126
|
+
itemSizeCache: Record<string, number>;
|
|
3654
4127
|
itemWidthCache: Record<string, number>;
|
|
4128
|
+
containerSize: number;
|
|
3655
4129
|
containerWidth: number;
|
|
3656
4130
|
containerGap: number;
|
|
3657
4131
|
overflowTargetWidth: number;
|
|
@@ -3694,7 +4168,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3694
4168
|
*/
|
|
3695
4169
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3696
4170
|
hiddenIds: string[];
|
|
4171
|
+
itemSizeCache: Record<string, number>;
|
|
3697
4172
|
itemWidthCache: Record<string, number>;
|
|
4173
|
+
containerSize: number;
|
|
3698
4174
|
containerWidth: number;
|
|
3699
4175
|
containerGap: number;
|
|
3700
4176
|
overflowTargetWidth: number;
|
|
@@ -3736,7 +4212,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3736
4212
|
*/
|
|
3737
4213
|
panelIndexRef: React.MutableRefObject<number>;
|
|
3738
4214
|
hiddenIds: string[];
|
|
4215
|
+
itemSizeCache: Record<string, number>;
|
|
3739
4216
|
itemWidthCache: Record<string, number>;
|
|
4217
|
+
containerSize: number;
|
|
3740
4218
|
containerWidth: number;
|
|
3741
4219
|
containerGap: number;
|
|
3742
4220
|
overflowTargetWidth: number;
|
|
@@ -3780,12 +4258,20 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3780
4258
|
select(data: {
|
|
3781
4259
|
id: string;
|
|
3782
4260
|
}): void;
|
|
4261
|
+
setContainerSize(data: {
|
|
4262
|
+
width?: number | undefined;
|
|
4263
|
+
height?: number | undefined;
|
|
4264
|
+
}): void;
|
|
3783
4265
|
setContainerWidth(data: {
|
|
3784
4266
|
width?: number | undefined;
|
|
3785
4267
|
}): void;
|
|
3786
4268
|
setContainerGap(data: {
|
|
3787
4269
|
size: number;
|
|
3788
4270
|
}): void;
|
|
4271
|
+
setOverflowTargetSize(data: {
|
|
4272
|
+
width: number;
|
|
4273
|
+
height: number;
|
|
4274
|
+
}): void;
|
|
3789
4275
|
setOverflowTargetWidth(data: {
|
|
3790
4276
|
width: number;
|
|
3791
4277
|
}): void;
|
|
@@ -3793,6 +4279,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3793
4279
|
id: string;
|
|
3794
4280
|
width: number;
|
|
3795
4281
|
}): void;
|
|
4282
|
+
addItemSize(data: {
|
|
4283
|
+
id: string;
|
|
4284
|
+
width: number;
|
|
4285
|
+
height: number;
|
|
4286
|
+
}): void;
|
|
4287
|
+
removeItemSize(data: {
|
|
4288
|
+
id: string;
|
|
4289
|
+
}): void;
|
|
3796
4290
|
removeItemWidth(data: {
|
|
3797
4291
|
id: string;
|
|
3798
4292
|
}): void;
|
|
@@ -5347,7 +5841,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5347
5841
|
*/
|
|
5348
5842
|
panelIndexRef: React.MutableRefObject<number>;
|
|
5349
5843
|
hiddenIds: string[];
|
|
5844
|
+
itemSizeCache: Record<string, number>;
|
|
5350
5845
|
itemWidthCache: Record<string, number>;
|
|
5846
|
+
containerSize: number;
|
|
5351
5847
|
containerWidth: number;
|
|
5352
5848
|
containerGap: number;
|
|
5353
5849
|
overflowTargetWidth: number;
|
|
@@ -5390,12 +5886,20 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5390
5886
|
select(data: {
|
|
5391
5887
|
id: string;
|
|
5392
5888
|
}): void;
|
|
5889
|
+
setContainerSize(data: {
|
|
5890
|
+
width?: number | undefined;
|
|
5891
|
+
height?: number | undefined;
|
|
5892
|
+
}): void;
|
|
5393
5893
|
setContainerWidth(data: {
|
|
5394
5894
|
width?: number | undefined;
|
|
5395
5895
|
}): void;
|
|
5396
5896
|
setContainerGap(data: {
|
|
5397
5897
|
size: number;
|
|
5398
5898
|
}): void;
|
|
5899
|
+
setOverflowTargetSize(data: {
|
|
5900
|
+
width: number;
|
|
5901
|
+
height: number;
|
|
5902
|
+
}): void;
|
|
5399
5903
|
setOverflowTargetWidth(data: {
|
|
5400
5904
|
width: number;
|
|
5401
5905
|
}): void;
|
|
@@ -5403,6 +5907,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5403
5907
|
id: string;
|
|
5404
5908
|
width: number;
|
|
5405
5909
|
}): void;
|
|
5910
|
+
addItemSize(data: {
|
|
5911
|
+
id: string;
|
|
5912
|
+
width: number;
|
|
5913
|
+
height: number;
|
|
5914
|
+
}): void;
|
|
5915
|
+
removeItemSize(data: {
|
|
5916
|
+
id: string;
|
|
5917
|
+
}): void;
|
|
5406
5918
|
removeItemWidth(data: {
|
|
5407
5919
|
id: string;
|
|
5408
5920
|
}): void;
|
|
@@ -5453,7 +5965,9 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5453
5965
|
*/
|
|
5454
5966
|
panelIndexRef: React.MutableRefObject<number>;
|
|
5455
5967
|
hiddenIds: string[];
|
|
5968
|
+
itemSizeCache: Record<string, number>;
|
|
5456
5969
|
itemWidthCache: Record<string, number>;
|
|
5970
|
+
containerSize: number;
|
|
5457
5971
|
containerWidth: number;
|
|
5458
5972
|
containerGap: number;
|
|
5459
5973
|
overflowTargetWidth: number;
|
|
@@ -5497,12 +6011,20 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5497
6011
|
select(data: {
|
|
5498
6012
|
id: string;
|
|
5499
6013
|
}): void;
|
|
6014
|
+
setContainerSize(data: {
|
|
6015
|
+
width?: number | undefined;
|
|
6016
|
+
height?: number | undefined;
|
|
6017
|
+
}): void;
|
|
5500
6018
|
setContainerWidth(data: {
|
|
5501
6019
|
width?: number | undefined;
|
|
5502
6020
|
}): void;
|
|
5503
6021
|
setContainerGap(data: {
|
|
5504
6022
|
size: number;
|
|
5505
6023
|
}): void;
|
|
6024
|
+
setOverflowTargetSize(data: {
|
|
6025
|
+
width: number;
|
|
6026
|
+
height: number;
|
|
6027
|
+
}): void;
|
|
5506
6028
|
setOverflowTargetWidth(data: {
|
|
5507
6029
|
width: number;
|
|
5508
6030
|
}): void;
|
|
@@ -5510,6 +6032,14 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
5510
6032
|
id: string;
|
|
5511
6033
|
width: number;
|
|
5512
6034
|
}): void;
|
|
6035
|
+
addItemSize(data: {
|
|
6036
|
+
id: string;
|
|
6037
|
+
width: number;
|
|
6038
|
+
height: number;
|
|
6039
|
+
}): void;
|
|
6040
|
+
removeItemSize(data: {
|
|
6041
|
+
id: string;
|
|
6042
|
+
}): void;
|
|
5513
6043
|
removeItemWidth(data: {
|
|
5514
6044
|
id: string;
|
|
5515
6045
|
}): void;
|