@soroush.tech/design-system 2.1.0-alpha.0 → 2.1.0-alpha.2
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/dist/Accordion/Accordion.d.cts +2 -2
- package/dist/Accordion/Accordion.d.mts +2 -2
- package/dist/Accordion/AccordionGroup.d.cts +1 -1
- package/dist/Accordion/AccordionGroup.d.mts +1 -1
- package/dist/Alert/Alert.d.cts +1 -1
- package/dist/Alert/Alert.d.mts +1 -1
- package/dist/AppBar.d.cts +1 -1
- package/dist/AppBar.d.mts +1 -1
- package/dist/Autocomplete.d.cts +1 -1
- package/dist/Autocomplete.d.mts +1 -1
- package/dist/Avatar.d.cts +1 -1
- package/dist/Avatar.d.mts +1 -1
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Badge.d.cts +1 -1
- package/dist/Badge.d.mts +1 -1
- package/dist/Breadcrumbs.d.cts +3 -3
- package/dist/Breadcrumbs.d.mts +3 -3
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/ButtonGroup.d.cts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/Card.d.cts +4 -4
- package/dist/Card.d.mts +4 -4
- package/dist/Checkbox.d.cts +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/Chip.d.cts +1 -1
- package/dist/Chip.d.mts +1 -1
- package/dist/CircularProgress.d.cts +2 -2
- package/dist/CircularProgress.d.mts +2 -2
- package/dist/Collapse.d.cts +1 -1
- package/dist/Collapse.d.mts +1 -1
- package/dist/Drawer.d.cts +3 -3
- package/dist/Drawer.d.mts +3 -3
- package/dist/Fab.d.cts +1 -1
- package/dist/Fab.d.mts +1 -1
- package/dist/FabMenu/FabMenu.d.cts +1 -1
- package/dist/FabMenu/FabMenu.d.mts +1 -1
- package/dist/FabMenu/FabMenuItem.d.cts +1 -1
- package/dist/FabMenu/FabMenuItem.d.mts +1 -1
- package/dist/Fade.d.cts +1 -1
- package/dist/Fade.d.mts +1 -1
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +1 -1
- package/dist/FormControl.d.cts +1 -1
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormHelperText.d.cts +1 -1
- package/dist/FormHelperText.d.mts +1 -1
- package/dist/FormLabel.d.cts +1 -1
- package/dist/FormLabel.d.mts +1 -1
- package/dist/Grid.d.cts +1 -1
- package/dist/Grid.d.mts +1 -1
- package/dist/Grow.d.cts +1 -1
- package/dist/Grow.d.mts +1 -1
- package/dist/Icon.d.cts +1 -1
- package/dist/Icon.d.mts +1 -1
- package/dist/Image.d.cts +1 -1
- package/dist/Image.d.mts +1 -1
- package/dist/LinearProgress.d.cts +2 -2
- package/dist/LinearProgress.d.mts +2 -2
- package/dist/Link.d.cts +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/Menu/ContextMenu.cjs +23 -14
- package/dist/Menu/ContextMenu.d.cts +18 -8
- package/dist/Menu/ContextMenu.d.mts +18 -8
- package/dist/Menu/ContextMenu.mjs +24 -15
- package/dist/Menu/Menu.cjs +1 -1
- package/dist/Menu/Menu.d.cts +1 -1
- package/dist/Menu/Menu.d.mts +1 -1
- package/dist/Menu/Menu.mjs +1 -1
- package/dist/Menu/MenuItems.cjs +1 -1
- package/dist/Menu/MenuItems.d.cts +1 -1
- package/dist/Menu/MenuItems.d.mts +1 -1
- package/dist/Menu/MenuItems.mjs +1 -1
- package/dist/Menu/MenuList.cjs +1 -1
- package/dist/Menu/MenuList.d.cts +3 -36
- package/dist/Menu/MenuList.d.mts +3 -36
- package/dist/Menu/MenuList.mjs +1 -1
- package/dist/{Menu-CX9V2DAu.mjs → Menu-Cv887y7O.mjs} +8 -5
- package/dist/{Menu-BfJF32J2.cjs → Menu-DOOK_gM9.cjs} +8 -5
- package/dist/Menu.cjs +2 -2
- package/dist/Menu.d.cts +5 -5
- package/dist/Menu.d.mts +5 -5
- package/dist/Menu.mjs +2 -2
- package/dist/{MenuItem-CvCMGXuL.cjs → MenuItem-BWm8DC-S.cjs} +28 -25
- package/dist/{MenuItem-DdPzSWZY.mjs → MenuItem-hJeCsQZX.mjs} +28 -25
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.d.cts +1 -1
- package/dist/MenuItem.d.mts +1 -1
- package/dist/MenuItem.mjs +1 -1
- package/dist/{MenuList-DsJmxNPu.cjs → MenuList-CSaaR3jt.cjs} +2 -1
- package/dist/{MenuList-CGZgfBno.mjs → MenuList-D7Pvpn_K.mjs} +2 -1
- package/dist/{MenuListContext-DJ_qJ1Uo.d.cts → MenuListContext-BN1VV12-.d.mts} +2 -2
- package/dist/{MenuListContext-DiZAVDCb.d.mts → MenuListContext-BkQzp2DA.d.cts} +2 -2
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/NativeSelect.d.cts +2 -2
- package/dist/NativeSelect.d.mts +2 -2
- package/dist/NavTree/NavLink.d.cts +1 -1
- package/dist/NavTree/NavLink.d.mts +1 -1
- package/dist/NavTree/NavTree.d.cts +1 -1
- package/dist/NavTree/NavTree.d.mts +1 -1
- package/dist/NumberInput.d.cts +1 -1
- package/dist/NumberInput.d.mts +1 -1
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination.d.cts +2 -2
- package/dist/Pagination.d.mts +2 -2
- package/dist/Paper.d.cts +2 -2
- package/dist/Paper.d.mts +2 -2
- package/dist/Popover.d.cts +3 -3
- package/dist/Popover.d.mts +3 -3
- package/dist/Pressable.d.cts +1 -1
- package/dist/Pressable.d.mts +1 -1
- package/dist/Quote.d.cts +2 -2
- package/dist/Quote.d.mts +2 -2
- package/dist/Radio.d.cts +1 -1
- package/dist/Radio.d.mts +1 -1
- package/dist/RangeInput.d.cts +1 -1
- package/dist/RangeInput.d.mts +1 -1
- package/dist/Rating.d.cts +1 -1
- package/dist/Rating.d.mts +1 -1
- package/dist/ScrollArea.d.cts +1 -1
- package/dist/ScrollArea.d.mts +1 -1
- package/dist/Select.d.cts +2 -2
- package/dist/Select.d.mts +2 -2
- package/dist/Sidebar/Sidebar.d.cts +1 -1
- package/dist/Sidebar/Sidebar.d.mts +1 -1
- package/dist/Sidebar/SidebarItem.d.cts +3 -3
- package/dist/Sidebar/SidebarItem.d.mts +3 -3
- package/dist/Skeleton.d.cts +1 -1
- package/dist/Skeleton.d.mts +1 -1
- package/dist/Slide.d.cts +1 -1
- package/dist/Slide.d.mts +1 -1
- package/dist/Snackbar.d.cts +2 -2
- package/dist/Snackbar.d.mts +2 -2
- package/dist/Switch.d.cts +1 -1
- package/dist/Switch.d.mts +1 -1
- package/dist/Table/Table.d.cts +2 -2
- package/dist/Table/Table.d.mts +2 -2
- package/dist/Table/TableBody.d.cts +1 -1
- package/dist/Table/TableBody.d.mts +1 -1
- package/dist/Table/TableCell.d.cts +1 -1
- package/dist/Table/TableCell.d.mts +1 -1
- package/dist/Table/TableContainer.d.cts +1 -1
- package/dist/Table/TableContainer.d.mts +1 -1
- package/dist/Table/TableControl.d.cts +1 -1
- package/dist/Table/TableControl.d.mts +1 -1
- package/dist/Table/TableFooter.d.cts +1 -1
- package/dist/Table/TableFooter.d.mts +1 -1
- package/dist/Table/TableHead.d.cts +1 -1
- package/dist/Table/TableHead.d.mts +1 -1
- package/dist/Table/TablePagination.d.cts +2 -2
- package/dist/Table/TablePagination.d.mts +2 -2
- package/dist/Table/TablePaginationActions.d.cts +1 -1
- package/dist/Table/TablePaginationActions.d.mts +1 -1
- package/dist/Table/TableRow.d.cts +1 -1
- package/dist/Table/TableRow.d.mts +1 -1
- package/dist/Table/TableSortLabel.d.cts +1 -1
- package/dist/Table/TableSortLabel.d.mts +1 -1
- package/dist/Table/hooks.d.cts +1 -1
- package/dist/Table/hooks.d.mts +1 -1
- package/dist/Table.d.cts +5 -5
- package/dist/Table.d.mts +5 -5
- package/dist/{TableContext-4sJdk84N.d.cts → TableContext-BNwokJ3f.d.cts} +1 -1
- package/dist/{TableContext-BCW5av9c.d.mts → TableContext-jOlk5jxs.d.mts} +1 -1
- package/dist/Tabs/Tab.cjs +18 -14
- package/dist/Tabs/Tab.d.cts +2 -2
- package/dist/Tabs/Tab.d.mts +2 -2
- package/dist/Tabs/Tab.mjs +18 -14
- package/dist/Tabs/TabContext.d.cts +1 -1
- package/dist/Tabs/TabContext.d.mts +1 -1
- package/dist/Tabs/TabList.cjs +1 -1
- package/dist/Tabs/TabList.d.cts +1 -1
- package/dist/Tabs/TabList.d.mts +1 -1
- package/dist/Tabs/TabList.mjs +1 -1
- package/dist/Tabs/TabPanel.d.cts +2 -2
- package/dist/Tabs/TabPanel.d.mts +2 -2
- package/dist/Tabs/TabScrollButton.d.cts +1 -1
- package/dist/Tabs/TabScrollButton.d.mts +1 -1
- package/dist/Tabs/Tabs.cjs +1 -1
- package/dist/Tabs/Tabs.d.cts +2 -2
- package/dist/Tabs/Tabs.d.mts +2 -2
- package/dist/Tabs/Tabs.mjs +1 -1
- package/dist/{Tabs-CPH0H6yp.cjs → Tabs-BTa2myRe.cjs} +28 -21
- package/dist/{Tabs-CG-hRs9L.mjs → Tabs-CE8iDr0D.mjs} +28 -21
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.d.cts +3 -3
- package/dist/Tabs.d.mts +3 -3
- package/dist/Tabs.mjs +1 -1
- package/dist/{TabsContext-CsiW5MOp.d.mts → TabsContext-D5E7s9i5.d.mts} +1 -1
- package/dist/{TabsContext-DrmDtBqA.d.cts → TabsContext-i57cha5W.d.cts} +1 -1
- package/dist/TextInput.d.cts +1 -1
- package/dist/TextInput.d.mts +1 -1
- package/dist/ToggleButton/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton/ToggleButton.d.mts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
- package/dist/Tooltip-Cx4ez9vY.mjs +405 -0
- package/dist/Tooltip-rkGm1HnP.cjs +417 -0
- package/dist/Tooltip.cjs +3 -311
- package/dist/Tooltip.d.cts +36 -5
- package/dist/Tooltip.d.mts +36 -5
- package/dist/Tooltip.mjs +1 -310
- package/dist/TransferList.d.cts +1 -1
- package/dist/TransferList.d.mts +1 -1
- package/dist/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/Zoom.d.cts +1 -1
- package/dist/Zoom.d.mts +1 -1
- package/dist/catalog.cjs +4 -0
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +4 -0
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-D24iFgwR.d.cts → index-3-LXZL7g.d.mts} +3 -3
- package/dist/{index-BWiDilH8.d.mts → index-B-1sp9oV.d.mts} +7 -0
- package/dist/{index-C3TrdOpQ.d.cts → index-BDVi1DNs.d.mts} +3 -3
- package/dist/{index-5TAVgzbU.d.mts → index-BJIqJbF4.d.mts} +2 -2
- package/dist/{index-Bx-4KmJU.d.mts → index-BMeqk34D.d.mts} +1 -1
- package/dist/{index-DQYhGgbl.d.cts → index-BYg-l1_n.d.cts} +2 -2
- package/dist/{index-Biqn5xUs.d.mts → index-BbWQZ2Wj.d.mts} +4 -4
- package/dist/{index-DKNvADeE.d.mts → index-BhWBXIkH.d.cts} +3 -3
- package/dist/{index-DWon54cO.d.cts → index-BwFPSXSw.d.mts} +1 -1
- package/dist/{index-Bo8Og0oC.d.cts → index-Bwry7fNj.d.mts} +3 -3
- package/dist/{index-CeFExef3.d.cts → index-C3D70-3U.d.mts} +2 -2
- package/dist/{index-HLDMvfb2.d.cts → index-C6uLwNRF.d.cts} +4 -4
- package/dist/{index-BgmEVOSj.d.mts → index-C9jnQ-mQ.d.mts} +1 -1
- package/dist/{index-D--R4_5H.d.mts → index-CGlDeiGk.d.cts} +2 -2
- package/dist/{index-DvVQLBZc.d.cts → index-CK-uaK5U.d.cts} +7 -0
- package/dist/{index-DjmWIzXF.d.mts → index-CLTH0nFB.d.cts} +3 -3
- package/dist/{index-Dt-ZNTnC.d.cts → index-COGZ6LV4.d.mts} +1 -1
- package/dist/{index-DhzjNAzv.d.mts → index-CPmemva9.d.mts} +10 -5
- package/dist/{index-CW0DW6Aq.d.mts → index-CRbfhyQ6.d.mts} +2 -2
- package/dist/{index-m1RGSQlP.d.mts → index-CZofj6vc.d.cts} +3 -3
- package/dist/{index-Buu5MtRG.d.mts → index-C_K0hsEr.d.mts} +1 -1
- package/dist/index-C_n4ZPpQ.d.mts +1 -0
- package/dist/{index-fRyMPKtY.d.cts → index-Cc7Yhn7-.d.cts} +1 -1
- package/dist/{index-DgLjcrkG.d.cts → index-Cf2D7Y1b.d.cts} +1 -1
- package/dist/{index-YKXzINGk.d.mts → index-ClTo3BEJ.d.mts} +2 -2
- package/dist/{index-DR76LcSz.d.mts → index-CoHM1HQY.d.cts} +1 -1
- package/dist/{index-DtVrZFJI.d.mts → index-Cp96BUYc.d.cts} +2 -2
- package/dist/{index-CAICXdTA.d.cts → index-CvV0TCBK.d.cts} +1 -1
- package/dist/{index-DhTzn0mf.d.cts → index-CwWM6Xfz.d.cts} +1 -1
- package/dist/{index-BlHFb150.d.cts → index-CykbbqeN.d.cts} +2 -2
- package/dist/{index-Ba39mhDf.d.cts → index-DA3M2w5w.d.cts} +10 -5
- package/dist/index-DOimZ1Wo.d.mts +44 -0
- package/dist/{index-HAVWK7RM.d.cts → index-DOnYRzqY.d.cts} +2 -2
- package/dist/{index-BYAtunSZ.d.cts → index-DPCh-ols.d.mts} +2 -2
- package/dist/{index-CBOtkDdX.d.cts → index-DXUVsHux.d.mts} +1 -1
- package/dist/{index-DrfJt7W6.d.cts → index-Dh_9qMhj.d.mts} +2 -2
- package/dist/index-DiQHPHUv.d.cts +44 -0
- package/dist/{index-CyOSmefH.d.cts → index-F81TdZtB.d.mts} +2 -2
- package/dist/{index-DM7HHa4V.d.mts → index-YxsjfTkO.d.cts} +2 -2
- package/dist/{index-Bp9ECTzr.d.mts → index-d5jm3kxO.d.cts} +2 -2
- package/dist/index-fwRQcB91.d.cts +1 -0
- package/dist/{index-D_azfqsX.d.mts → index-qgFJF8n2.d.cts} +1 -1
- package/dist/{index-DtK3SaKA.d.mts → index-vls8Jhdl.d.cts} +1 -1
- package/dist/{index-Dudkopvi.d.mts → index-xhbtDtsc.d.mts} +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/style.d.cts +2 -2
- package/dist/style.d.mts +2 -2
- package/dist/theme.d.cts +2 -2
- package/dist/theme.d.mts +2 -2
- package/dist/{useTablePagination-BOzuKUnF.d.mts → useTablePagination-DOLl6Ba7.d.cts} +1 -1
- package/dist/{useTablePagination-CraL2Mux.d.cts → useTablePagination-bZTeweJ_.d.mts} +1 -1
- package/dist/{useTransition-B-hzi7Sm.d.mts → useTransition-Dk84FQFT.d.mts} +1 -1
- package/dist/{useTransition-CF_Zy_tM.d.cts → useTransition-DnOAXNav.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/index-6zQ2VUlM.d.cts +0 -1
- package/dist/index-B1qv6yGM.d.mts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-
|
|
1
|
+
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-DOLl6Ba7.cjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
interface TableControlProps<T, K extends string = string> {
|
|
4
4
|
/** The full dataset - `TableControl` derives the visible rows from it. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-
|
|
1
|
+
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-bZTeweJ_.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
interface TableControlProps<T, K extends string = string> {
|
|
4
4
|
/** The full dataset - `TableControl` derives the visible rows from it. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "../index-
|
|
1
|
+
import { nt as Theme } from "../index-CK-uaK5U.cjs";
|
|
2
2
|
import { ElementType, HTMLAttributes } from "react";
|
|
3
3
|
import { BorderProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "../index-
|
|
1
|
+
import { nt as Theme } from "../index-B-1sp9oV.mjs";
|
|
2
2
|
import { BorderProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "../index-
|
|
1
|
+
import { nt as Theme } from "../index-CK-uaK5U.cjs";
|
|
2
2
|
import { ElementType, HTMLAttributes } from "react";
|
|
3
3
|
import { BorderProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "../index-
|
|
1
|
+
import { nt as Theme } from "../index-B-1sp9oV.mjs";
|
|
2
2
|
import { BorderProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as TableCellProps } from "../index-
|
|
2
|
-
import { t as TablePaginationActionType } from "../index-
|
|
1
|
+
import { o as TableCellProps } from "../index-DOnYRzqY.cjs";
|
|
2
|
+
import { t as TablePaginationActionType } from "../index-YxsjfTkO.cjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
interface TablePaginationDisplayedRowsInfo {
|
|
5
5
|
from: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as TableCellProps } from "../index-
|
|
2
|
-
import { t as TablePaginationActionType } from "../index-
|
|
1
|
+
import { o as TableCellProps } from "../index-ClTo3BEJ.mjs";
|
|
2
|
+
import { t as TablePaginationActionType } from "../index-DPCh-ols.mjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
interface TablePaginationDisplayedRowsInfo {
|
|
5
5
|
from: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TablePaginationActions, r as TablePaginationActionsProps, t as TablePaginationActionType } from "../index-
|
|
1
|
+
import { n as TablePaginationActions, r as TablePaginationActionsProps, t as TablePaginationActionType } from "../index-YxsjfTkO.cjs";
|
|
2
2
|
export { TablePaginationActionType, TablePaginationActions, TablePaginationActionsProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TablePaginationActions, r as TablePaginationActionsProps, t as TablePaginationActionType } from "../index-
|
|
1
|
+
import { n as TablePaginationActions, r as TablePaginationActionsProps, t as TablePaginationActionType } from "../index-DPCh-ols.mjs";
|
|
2
2
|
export { TablePaginationActionType, TablePaginationActions, TablePaginationActionsProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as PaletteColor, nt as Theme } from "../index-
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "../index-CK-uaK5U.cjs";
|
|
2
2
|
import { ElementType, HTMLAttributes } from "react";
|
|
3
3
|
import { BorderProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
/** Palette color driving the hover/selected shading - a `theme.palette` key. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as PaletteColor, nt as Theme } from "../index-
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "../index-B-1sp9oV.mjs";
|
|
2
2
|
import { BorderProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
/** Palette color driving the hover/selected shading - a `theme.palette` key. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TableSortLabelDirection, r as TableSortLabelProps, t as TableSortLabel } from "../index-
|
|
1
|
+
import { n as TableSortLabelDirection, r as TableSortLabelProps, t as TableSortLabel } from "../index-BYg-l1_n.cjs";
|
|
2
2
|
export { TableSortLabel, TableSortLabelDirection, TableSortLabelProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TableSortLabelDirection, r as TableSortLabelProps, t as TableSortLabel } from "../index-
|
|
1
|
+
import { n as TableSortLabelDirection, r as TableSortLabelProps, t as TableSortLabel } from "../index-BJIqJbF4.mjs";
|
|
2
2
|
export { TableSortLabel, TableSortLabelDirection, TableSortLabelProps };
|
package/dist/Table/hooks.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "../useTablePagination-
|
|
1
|
+
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "../useTablePagination-DOLl6Ba7.cjs";
|
|
2
2
|
/** Header select-all state - spreads directly onto `Checkbox`. */
|
|
3
3
|
interface TableSelectionAllProps {
|
|
4
4
|
checked: boolean;
|
package/dist/Table/hooks.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "../useTablePagination-
|
|
1
|
+
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "../useTablePagination-bZTeweJ_.mjs";
|
|
2
2
|
/** Header select-all state - spreads directly onto `Checkbox`. */
|
|
3
3
|
interface TableSelectionAllProps {
|
|
4
4
|
checked: boolean;
|
package/dist/Table.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as TableContext, r as TableContextValue, t as TableCellPadding } from "./TableContext-
|
|
1
|
+
import { n as TableContext, r as TableContextValue, t as TableCellPadding } from "./TableContext-BNwokJ3f.cjs";
|
|
2
2
|
import { Table, TableAlign, TableBackgroundToken, TableBorderColorToken, TableProps, TableSize } from "./Table/Table.cjs";
|
|
3
3
|
import { TableBody, TableBodyBackgroundToken, TableBodyBorderColorToken, TableBodyColorToken, TableBodyProps } from "./Table/TableBody.cjs";
|
|
4
|
-
import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, l as TableSection, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell, u as TableSectionContext } from "./index-
|
|
4
|
+
import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, l as TableSection, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell, u as TableSectionContext } from "./index-DOnYRzqY.cjs";
|
|
5
5
|
import { TableContainer, TableContainerProps } from "./Table/TableContainer.cjs";
|
|
6
|
-
import { n as TableSortLabelDirection, r as TableSortLabelProps, t as TableSortLabel } from "./index-
|
|
7
|
-
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "./useTablePagination-
|
|
6
|
+
import { n as TableSortLabelDirection, r as TableSortLabelProps, t as TableSortLabel } from "./index-BYg-l1_n.cjs";
|
|
7
|
+
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "./useTablePagination-DOLl6Ba7.cjs";
|
|
8
8
|
import { TableControl, TableControlProps } from "./Table/TableControl.cjs";
|
|
9
9
|
import { TableFooter, TableFooterBackgroundToken, TableFooterBorderColorToken, TableFooterColorToken, TableFooterProps } from "./Table/TableFooter.cjs";
|
|
10
10
|
import { TableHead, TableHeadBackgroundToken, TableHeadBorderColorToken, TableHeadColorToken, TableHeadProps } from "./Table/TableHead.cjs";
|
|
11
|
-
import { n as TablePaginationActions, r as TablePaginationActionsProps, t as TablePaginationActionType } from "./index-
|
|
11
|
+
import { n as TablePaginationActions, r as TablePaginationActionsProps, t as TablePaginationActionType } from "./index-YxsjfTkO.cjs";
|
|
12
12
|
import { TablePagination, TablePaginationDisplayedRowsInfo, TablePaginationProps } from "./Table/TablePagination.cjs";
|
|
13
13
|
import { TableRow, TableRowBackgroundToken, TableRowBorderColorToken, TableRowColor, TableRowProps } from "./Table/TableRow.cjs";
|
|
14
14
|
import { TableSelection, TableSelectionAllProps, TableSelectionRowProps, useTableSelection } from "./Table/hooks.cjs";
|
package/dist/Table.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as TableContext, r as TableContextValue, t as TableCellPadding } from "./TableContext-
|
|
1
|
+
import { n as TableContext, r as TableContextValue, t as TableCellPadding } from "./TableContext-jOlk5jxs.mjs";
|
|
2
2
|
import { Table, TableAlign, TableBackgroundToken, TableBorderColorToken, TableProps, TableSize } from "./Table/Table.mjs";
|
|
3
3
|
import { TableBody, TableBodyBackgroundToken, TableBodyBorderColorToken, TableBodyColorToken, TableBodyProps } from "./Table/TableBody.mjs";
|
|
4
|
-
import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, l as TableSection, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell, u as TableSectionContext } from "./index-
|
|
4
|
+
import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, l as TableSection, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell, u as TableSectionContext } from "./index-ClTo3BEJ.mjs";
|
|
5
5
|
import { TableContainer, TableContainerProps } from "./Table/TableContainer.mjs";
|
|
6
|
-
import { n as TableSortLabelDirection, r as TableSortLabelProps, t as TableSortLabel } from "./index-
|
|
7
|
-
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "./useTablePagination-
|
|
6
|
+
import { n as TableSortLabelDirection, r as TableSortLabelProps, t as TableSortLabel } from "./index-BJIqJbF4.mjs";
|
|
7
|
+
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "./useTablePagination-bZTeweJ_.mjs";
|
|
8
8
|
import { TableControl, TableControlProps } from "./Table/TableControl.mjs";
|
|
9
9
|
import { TableFooter, TableFooterBackgroundToken, TableFooterBorderColorToken, TableFooterColorToken, TableFooterProps } from "./Table/TableFooter.mjs";
|
|
10
10
|
import { TableHead, TableHeadBackgroundToken, TableHeadBorderColorToken, TableHeadColorToken, TableHeadProps } from "./Table/TableHead.mjs";
|
|
11
|
-
import { n as TablePaginationActions, r as TablePaginationActionsProps, t as TablePaginationActionType } from "./index-
|
|
11
|
+
import { n as TablePaginationActions, r as TablePaginationActionsProps, t as TablePaginationActionType } from "./index-DPCh-ols.mjs";
|
|
12
12
|
import { TablePagination, TablePaginationDisplayedRowsInfo, TablePaginationProps } from "./Table/TablePagination.mjs";
|
|
13
13
|
import { TableRow, TableRowBackgroundToken, TableRowBorderColorToken, TableRowColor, TableRowProps } from "./Table/TableRow.mjs";
|
|
14
14
|
import { TableSelection, TableSelectionAllProps, TableSelectionRowProps, useTableSelection } from "./Table/hooks.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-CK-uaK5U.cjs";
|
|
2
2
|
/** Cell padding modes broadcast from `Table` to descendant cells. */
|
|
3
3
|
type TableCellPadding = 'normal' | 'none';
|
|
4
4
|
/** Table-wide cell config, provided by `Table` and consumed by `TableCell` / `TableSortLabel`. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-B-1sp9oV.mjs";
|
|
2
2
|
/** Cell padding modes broadcast from `Table` to descendant cells. */
|
|
3
3
|
type TableCellPadding = 'normal' | 'none';
|
|
4
4
|
/** Table-wide cell config, provided by `Table` and consumed by `TableCell` / `TableSortLabel`. */
|
package/dist/Tabs/Tab.cjs
CHANGED
|
@@ -2,6 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_src = require("../src-yC1f5WR2.cjs");
|
|
3
3
|
const require_theme = require("../theme-XJvMdOnY.cjs");
|
|
4
4
|
const require_Icon = require("../Icon-C5Iz5ekp.cjs");
|
|
5
|
+
const require_Tooltip = require("../Tooltip-rkGm1HnP.cjs");
|
|
5
6
|
const require_dividerLine = require("../dividerLine-DFuLn1zU.cjs");
|
|
6
7
|
const require_tonalRadius = require("../tonalRadius-CU9GHoHx.cjs");
|
|
7
8
|
let react = require("react");
|
|
@@ -302,21 +303,24 @@ function Tab({ value: valueProp, label, icon, iconPosition = "top", isWrapped: i
|
|
|
302
303
|
]
|
|
303
304
|
}),
|
|
304
305
|
secondaryAction != null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SecondaryActionSlot, { children: secondaryAction }),
|
|
305
|
-
isClosable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
306
|
-
type: "button",
|
|
307
|
-
isAnnounced: tabs.shouldAnnounceClose,
|
|
308
|
-
"aria-hidden": tabs.shouldAnnounceClose ? void 0 : true,
|
|
309
|
-
"aria-label": tabs.shouldAnnounceClose ? closeLabel : void 0,
|
|
306
|
+
isClosable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Tooltip.Tooltip, {
|
|
310
307
|
title: closeLabel,
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
color
|
|
308
|
+
isInteractive: false,
|
|
309
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TabClose, {
|
|
310
|
+
type: "button",
|
|
311
|
+
isAnnounced: tabs.shouldAnnounceClose,
|
|
312
|
+
"aria-hidden": tabs.shouldAnnounceClose ? void 0 : true,
|
|
313
|
+
"aria-label": tabs.shouldAnnounceClose ? closeLabel : void 0,
|
|
314
|
+
tabIndex: -1,
|
|
315
|
+
"data-tab-close": true,
|
|
316
|
+
color,
|
|
317
|
+
isSelected,
|
|
318
|
+
onClick: close,
|
|
319
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icon.Icon, {
|
|
320
|
+
name: "close",
|
|
321
|
+
size: "0.75rem",
|
|
322
|
+
color: "inherit"
|
|
323
|
+
})
|
|
320
324
|
})
|
|
321
325
|
})
|
|
322
326
|
]
|
package/dist/Tabs/Tab.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "../index-
|
|
2
|
-
import { t as TabValue } from "../TabsContext-
|
|
1
|
+
import { nt as Theme } from "../index-CK-uaK5U.cjs";
|
|
2
|
+
import { t as TabValue } from "../TabsContext-i57cha5W.cjs";
|
|
3
3
|
import { ElementType, MouseEvent, ReactNode } from "react";
|
|
4
4
|
/** Where `icon` sits around a tab's label. */
|
|
5
5
|
type TabIconPosition = 'start' | 'end' | 'top' | 'bottom';
|
package/dist/Tabs/Tab.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "../index-
|
|
2
|
-
import { t as TabValue } from "../TabsContext-
|
|
1
|
+
import { nt as Theme } from "../index-B-1sp9oV.mjs";
|
|
2
|
+
import { t as TabValue } from "../TabsContext-D5E7s9i5.mjs";
|
|
3
3
|
import { ElementType, MouseEvent, ReactNode } from "react";
|
|
4
4
|
/** Where `icon` sits around a tab's label. */
|
|
5
5
|
type TabIconPosition = 'start' | 'end' | 'top' | 'bottom';
|
package/dist/Tabs/Tab.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { a as src_exports, o as styled, t as createShouldForwardProp } from "../src-B-rNjHIL.mjs";
|
|
2
2
|
import { n as useDefaultProps } from "../theme-DyyZQFzQ.mjs";
|
|
3
3
|
import { t as Icon } from "../Icon-XpXU-SuF.mjs";
|
|
4
|
+
import { n as Tooltip } from "../Tooltip-Cx4ez9vY.mjs";
|
|
4
5
|
import { i as TabIndexContext, n as getDividerShadow, o as useTabsContext } from "../dividerLine-BC8E38Ed.mjs";
|
|
5
6
|
import { t as TONAL_RADIUS } from "../tonalRadius-CvXRueqT.mjs";
|
|
6
7
|
import { useContext } from "react";
|
|
@@ -301,21 +302,24 @@ function Tab({ value: valueProp, label, icon, iconPosition = "top", isWrapped: i
|
|
|
301
302
|
]
|
|
302
303
|
}),
|
|
303
304
|
secondaryAction != null && /* @__PURE__ */ jsx(SecondaryActionSlot, { children: secondaryAction }),
|
|
304
|
-
isClosable && /* @__PURE__ */ jsx(
|
|
305
|
-
type: "button",
|
|
306
|
-
isAnnounced: tabs.shouldAnnounceClose,
|
|
307
|
-
"aria-hidden": tabs.shouldAnnounceClose ? void 0 : true,
|
|
308
|
-
"aria-label": tabs.shouldAnnounceClose ? closeLabel : void 0,
|
|
305
|
+
isClosable && /* @__PURE__ */ jsx(Tooltip, {
|
|
309
306
|
title: closeLabel,
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
color
|
|
307
|
+
isInteractive: false,
|
|
308
|
+
children: /* @__PURE__ */ jsx(TabClose, {
|
|
309
|
+
type: "button",
|
|
310
|
+
isAnnounced: tabs.shouldAnnounceClose,
|
|
311
|
+
"aria-hidden": tabs.shouldAnnounceClose ? void 0 : true,
|
|
312
|
+
"aria-label": tabs.shouldAnnounceClose ? closeLabel : void 0,
|
|
313
|
+
tabIndex: -1,
|
|
314
|
+
"data-tab-close": true,
|
|
315
|
+
color,
|
|
316
|
+
isSelected,
|
|
317
|
+
onClick: close,
|
|
318
|
+
children: /* @__PURE__ */ jsx(Icon, {
|
|
319
|
+
name: "close",
|
|
320
|
+
size: "0.75rem",
|
|
321
|
+
color: "inherit"
|
|
322
|
+
})
|
|
319
323
|
})
|
|
320
324
|
})
|
|
321
325
|
]
|
package/dist/Tabs/TabList.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_TabsValueContext = require("../TabsValueContext-DklTSPKh.cjs");
|
|
3
|
-
const require_Tabs = require("../Tabs-
|
|
3
|
+
const require_Tabs = require("../Tabs-BTa2myRe.cjs");
|
|
4
4
|
let react = require("react");
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
// src/Tabs/TabList/TabList.tsx
|
package/dist/Tabs/TabList.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TabsProps } from "../index-
|
|
1
|
+
import { a as TabsProps } from "../index-C6uLwNRF.cjs";
|
|
2
2
|
type TabListProps = Omit<TabsProps, 'value' | 'defaultValue'>;
|
|
3
3
|
/**
|
|
4
4
|
* @description The `Tabs` of a `TabContext`: it shows the context's value and chooses through it,
|
package/dist/Tabs/TabList.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TabsProps } from "../index-
|
|
1
|
+
import { a as TabsProps } from "../index-BbWQZ2Wj.mjs";
|
|
2
2
|
type TabListProps = Omit<TabsProps, 'value' | 'defaultValue'>;
|
|
3
3
|
/**
|
|
4
4
|
* @description The `Tabs` of a `TabContext`: it shows the context's value and chooses through it,
|
package/dist/Tabs/TabList.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as useTabsValue } from "../TabsValueContext-C0vG9V7s.mjs";
|
|
2
|
-
import { n as TabListContext, t as Tabs } from "../Tabs-
|
|
2
|
+
import { n as TabListContext, t as Tabs } from "../Tabs-CE8iDr0D.mjs";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
// src/Tabs/TabList/TabList.tsx
|
package/dist/Tabs/TabPanel.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "../index-
|
|
2
|
-
import { t as TabValue } from "../TabsContext-
|
|
1
|
+
import { nt as Theme } from "../index-CK-uaK5U.cjs";
|
|
2
|
+
import { t as TabValue } from "../TabsContext-i57cha5W.cjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
interface TabPanelProps extends SpaceProps<Theme> {
|
package/dist/Tabs/TabPanel.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "../index-
|
|
2
|
-
import { t as TabValue } from "../TabsContext-
|
|
1
|
+
import { nt as Theme } from "../index-B-1sp9oV.mjs";
|
|
2
|
+
import { t as TabValue } from "../TabsContext-D5E7s9i5.mjs";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
interface TabPanelProps extends SpaceProps<Theme> {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TabScrollButtonProps, r as TabScrollDirection, t as TabScrollButton } from "../index-
|
|
1
|
+
import { n as TabScrollButtonProps, r as TabScrollDirection, t as TabScrollButton } from "../index-qgFJF8n2.cjs";
|
|
2
2
|
export { TabScrollButton, TabScrollButtonProps, TabScrollDirection };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TabScrollButtonProps, r as TabScrollDirection, t as TabScrollButton } from "../index-
|
|
1
|
+
import { n as TabScrollButtonProps, r as TabScrollDirection, t as TabScrollButton } from "../index-DXUVsHux.mjs";
|
|
2
2
|
export { TabScrollButton, TabScrollButtonProps, TabScrollDirection };
|
package/dist/Tabs/Tabs.cjs
CHANGED
package/dist/Tabs/Tabs.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as TabValue } from "../TabsContext-
|
|
2
|
-
import { a as TabsProps, i as TabsOverflowBehavior, n as TabsActions, o as TabsScrollButtons, r as TabsOrientation, s as TabsVariant, t as Tabs } from "../index-
|
|
1
|
+
import { t as TabValue } from "../TabsContext-i57cha5W.cjs";
|
|
2
|
+
import { a as TabsProps, i as TabsOverflowBehavior, n as TabsActions, o as TabsScrollButtons, r as TabsOrientation, s as TabsVariant, t as Tabs } from "../index-C6uLwNRF.cjs";
|
|
3
3
|
export { type TabValue, Tabs, TabsActions, TabsOrientation, TabsOverflowBehavior, TabsProps, TabsScrollButtons, TabsVariant };
|
package/dist/Tabs/Tabs.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as TabValue } from "../TabsContext-
|
|
2
|
-
import { a as TabsProps, i as TabsOverflowBehavior, n as TabsActions, o as TabsScrollButtons, r as TabsOrientation, s as TabsVariant, t as Tabs } from "../index-
|
|
1
|
+
import { t as TabValue } from "../TabsContext-D5E7s9i5.mjs";
|
|
2
|
+
import { a as TabsProps, i as TabsOverflowBehavior, n as TabsActions, o as TabsScrollButtons, r as TabsOrientation, s as TabsVariant, t as Tabs } from "../index-BbWQZ2Wj.mjs";
|
|
3
3
|
export { type TabValue, Tabs, TabsActions, TabsOrientation, TabsOverflowBehavior, TabsProps, TabsScrollButtons, TabsVariant };
|
package/dist/Tabs/Tabs.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as Tabs } from "../Tabs-
|
|
1
|
+
export { t as Tabs } from "../Tabs-CE8iDr0D.mjs";
|
|
@@ -4,8 +4,9 @@ const require_themeDefault = require("./themeDefault-DbPHBbNO.cjs");
|
|
|
4
4
|
const require_Icon = require("./Icon-C5Iz5ekp.cjs");
|
|
5
5
|
const require_View = require("./View.cjs");
|
|
6
6
|
const require_isRtl = require("./isRtl-Dl6QQWib.cjs");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
7
|
+
const require_Tooltip = require("./Tooltip-rkGm1HnP.cjs");
|
|
8
|
+
const require_MenuItem = require("./MenuItem-BWm8DC-S.cjs");
|
|
9
|
+
const require_Menu = require("./Menu-DOOK_gM9.cjs");
|
|
9
10
|
const require_dividerLine = require("./dividerLine-DFuLn1zU.cjs");
|
|
10
11
|
require("./tonalRadius-CU9GHoHx.cjs");
|
|
11
12
|
const require_Tabs_TabScrollButton = require("./Tabs/TabScrollButton.cjs");
|
|
@@ -595,33 +596,39 @@ function Tabs({ children, value: valueProp, defaultValue, onChange, onTabClose,
|
|
|
595
596
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Menu.Menu, {
|
|
596
597
|
align: "end",
|
|
597
598
|
onSelect: select,
|
|
598
|
-
trigger: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
599
|
-
type: "button",
|
|
600
|
-
...styleProps,
|
|
601
|
-
"aria-label": overflowLabel,
|
|
599
|
+
trigger: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Tooltip.Tooltip, {
|
|
602
600
|
title: overflowLabel,
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
601
|
+
isInteractive: false,
|
|
602
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OverflowButton, {
|
|
603
|
+
type: "button",
|
|
604
|
+
...styleProps,
|
|
605
|
+
"aria-label": overflowLabel,
|
|
606
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icon.Icon, {
|
|
607
|
+
name: "expand_more",
|
|
608
|
+
size: "sm",
|
|
609
|
+
color: "inherit"
|
|
610
|
+
})
|
|
607
611
|
})
|
|
608
612
|
}),
|
|
609
613
|
children: hiddenTabs.map((tab) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_MenuItem.MenuItem, {
|
|
610
614
|
value: tab.value,
|
|
611
615
|
disabled: tab.disabled,
|
|
612
616
|
shouldAnnounceSecondaryAction: shouldAnnounceClose,
|
|
613
|
-
secondaryAction: tab.closeLabel === void 0 ? void 0 : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
614
|
-
type: "button",
|
|
615
|
-
color: selectedColor,
|
|
616
|
-
"aria-hidden": shouldAnnounceClose ? void 0 : true,
|
|
617
|
-
"aria-label": shouldAnnounceClose ? tab.closeLabel : void 0,
|
|
617
|
+
secondaryAction: tab.closeLabel === void 0 ? void 0 : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Tooltip.Tooltip, {
|
|
618
618
|
title: tab.closeLabel,
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
619
|
+
isInteractive: false,
|
|
620
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(OverflowClose, {
|
|
621
|
+
type: "button",
|
|
622
|
+
color: selectedColor,
|
|
623
|
+
"aria-hidden": shouldAnnounceClose ? void 0 : true,
|
|
624
|
+
"aria-label": shouldAnnounceClose ? tab.closeLabel : void 0,
|
|
625
|
+
tabIndex: -1,
|
|
626
|
+
onClick: () => onTabClose?.(tab.value),
|
|
627
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icon.Icon, {
|
|
628
|
+
name: "close",
|
|
629
|
+
size: "0.75rem",
|
|
630
|
+
color: "inherit"
|
|
631
|
+
})
|
|
625
632
|
})
|
|
626
633
|
}),
|
|
627
634
|
children: tab.label ?? tab.icon
|
|
@@ -4,8 +4,9 @@ import { t as themeDefault } from "./themeDefault-BeZJzqJj.mjs";
|
|
|
4
4
|
import { t as Icon } from "./Icon-XpXU-SuF.mjs";
|
|
5
5
|
import { View } from "./View.mjs";
|
|
6
6
|
import { t as isRtl } from "./isRtl-DN-EdUlg.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
7
|
+
import { n as Tooltip } from "./Tooltip-Cx4ez9vY.mjs";
|
|
8
|
+
import { t as MenuItem } from "./MenuItem-hJeCsQZX.mjs";
|
|
9
|
+
import { t as Menu } from "./Menu-Cv887y7O.mjs";
|
|
9
10
|
import { a as TabsContext, i as TabIndexContext, n as getDividerShadow, r as getEnclosedPieceStyle, t as getDividerColor } from "./dividerLine-BC8E38Ed.mjs";
|
|
10
11
|
import "./tonalRadius-CvXRueqT.mjs";
|
|
11
12
|
import { TabScrollButton } from "./Tabs/TabScrollButton.mjs";
|
|
@@ -594,33 +595,39 @@ function Tabs({ children, value: valueProp, defaultValue, onChange, onTabClose,
|
|
|
594
595
|
children: /* @__PURE__ */ jsx(Menu, {
|
|
595
596
|
align: "end",
|
|
596
597
|
onSelect: select,
|
|
597
|
-
trigger: /* @__PURE__ */ jsx(
|
|
598
|
-
type: "button",
|
|
599
|
-
...styleProps,
|
|
600
|
-
"aria-label": overflowLabel,
|
|
598
|
+
trigger: /* @__PURE__ */ jsx(Tooltip, {
|
|
601
599
|
title: overflowLabel,
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
600
|
+
isInteractive: false,
|
|
601
|
+
children: /* @__PURE__ */ jsx(OverflowButton, {
|
|
602
|
+
type: "button",
|
|
603
|
+
...styleProps,
|
|
604
|
+
"aria-label": overflowLabel,
|
|
605
|
+
children: /* @__PURE__ */ jsx(Icon, {
|
|
606
|
+
name: "expand_more",
|
|
607
|
+
size: "sm",
|
|
608
|
+
color: "inherit"
|
|
609
|
+
})
|
|
606
610
|
})
|
|
607
611
|
}),
|
|
608
612
|
children: hiddenTabs.map((tab) => /* @__PURE__ */ jsx(MenuItem, {
|
|
609
613
|
value: tab.value,
|
|
610
614
|
disabled: tab.disabled,
|
|
611
615
|
shouldAnnounceSecondaryAction: shouldAnnounceClose,
|
|
612
|
-
secondaryAction: tab.closeLabel === void 0 ? void 0 : /* @__PURE__ */ jsx(
|
|
613
|
-
type: "button",
|
|
614
|
-
color: selectedColor,
|
|
615
|
-
"aria-hidden": shouldAnnounceClose ? void 0 : true,
|
|
616
|
-
"aria-label": shouldAnnounceClose ? tab.closeLabel : void 0,
|
|
616
|
+
secondaryAction: tab.closeLabel === void 0 ? void 0 : /* @__PURE__ */ jsx(Tooltip, {
|
|
617
617
|
title: tab.closeLabel,
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
618
|
+
isInteractive: false,
|
|
619
|
+
children: /* @__PURE__ */ jsx(OverflowClose, {
|
|
620
|
+
type: "button",
|
|
621
|
+
color: selectedColor,
|
|
622
|
+
"aria-hidden": shouldAnnounceClose ? void 0 : true,
|
|
623
|
+
"aria-label": shouldAnnounceClose ? tab.closeLabel : void 0,
|
|
624
|
+
tabIndex: -1,
|
|
625
|
+
onClick: () => onTabClose?.(tab.value),
|
|
626
|
+
children: /* @__PURE__ */ jsx(Icon, {
|
|
627
|
+
name: "close",
|
|
628
|
+
size: "0.75rem",
|
|
629
|
+
color: "inherit"
|
|
630
|
+
})
|
|
624
631
|
})
|
|
625
632
|
}),
|
|
626
633
|
children: tab.label ?? tab.icon
|
package/dist/Tabs.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_Tabs_Tab = require("./Tabs/Tab.cjs");
|
|
3
3
|
const require_Tabs_TabContext = require("./Tabs/TabContext.cjs");
|
|
4
4
|
const require_Tabs_TabScrollButton = require("./Tabs/TabScrollButton.cjs");
|
|
5
|
-
const require_Tabs = require("./Tabs-
|
|
5
|
+
const require_Tabs = require("./Tabs-BTa2myRe.cjs");
|
|
6
6
|
const require_Tabs_TabList = require("./Tabs/TabList.cjs");
|
|
7
7
|
const require_Tabs_TabPanel = require("./Tabs/TabPanel.cjs");
|
|
8
8
|
exports.Tab = require_Tabs_Tab.Tab;
|
package/dist/Tabs.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as TabValue } from "./TabsContext-
|
|
1
|
+
import { t as TabValue } from "./TabsContext-i57cha5W.cjs";
|
|
2
2
|
import { Tab, TabIconPosition, TabProps } from "./Tabs/Tab.cjs";
|
|
3
3
|
import { TabContext, TabContextProps } from "./Tabs/TabContext.cjs";
|
|
4
|
-
import { n as TabScrollButtonProps, r as TabScrollDirection, t as TabScrollButton } from "./index-
|
|
5
|
-
import { a as TabsProps, i as TabsOverflowBehavior, n as TabsActions, o as TabsScrollButtons, r as TabsOrientation, s as TabsVariant, t as Tabs } from "./index-
|
|
4
|
+
import { n as TabScrollButtonProps, r as TabScrollDirection, t as TabScrollButton } from "./index-qgFJF8n2.cjs";
|
|
5
|
+
import { a as TabsProps, i as TabsOverflowBehavior, n as TabsActions, o as TabsScrollButtons, r as TabsOrientation, s as TabsVariant, t as Tabs } from "./index-C6uLwNRF.cjs";
|
|
6
6
|
import { TabList, TabListProps } from "./Tabs/TabList.cjs";
|
|
7
7
|
import { TabPanel, TabPanelProps } from "./Tabs/TabPanel.cjs";
|
|
8
8
|
export { Tab, TabContext, TabContextProps, TabIconPosition, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, TabScrollButton, TabScrollButtonProps, TabScrollDirection, type TabValue, Tabs, TabsActions, TabsOrientation, TabsOverflowBehavior, TabsProps, TabsScrollButtons, TabsVariant };
|
package/dist/Tabs.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as TabValue } from "./TabsContext-
|
|
1
|
+
import { t as TabValue } from "./TabsContext-D5E7s9i5.mjs";
|
|
2
2
|
import { Tab, TabIconPosition, TabProps } from "./Tabs/Tab.mjs";
|
|
3
3
|
import { TabContext, TabContextProps } from "./Tabs/TabContext.mjs";
|
|
4
|
-
import { n as TabScrollButtonProps, r as TabScrollDirection, t as TabScrollButton } from "./index-
|
|
5
|
-
import { a as TabsProps, i as TabsOverflowBehavior, n as TabsActions, o as TabsScrollButtons, r as TabsOrientation, s as TabsVariant, t as Tabs } from "./index-
|
|
4
|
+
import { n as TabScrollButtonProps, r as TabScrollDirection, t as TabScrollButton } from "./index-DXUVsHux.mjs";
|
|
5
|
+
import { a as TabsProps, i as TabsOverflowBehavior, n as TabsActions, o as TabsScrollButtons, r as TabsOrientation, s as TabsVariant, t as Tabs } from "./index-BbWQZ2Wj.mjs";
|
|
6
6
|
import { TabList, TabListProps } from "./Tabs/TabList.mjs";
|
|
7
7
|
import { TabPanel, TabPanelProps } from "./Tabs/TabPanel.mjs";
|
|
8
8
|
export { Tab, TabContext, TabContextProps, TabIconPosition, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, TabScrollButton, TabScrollButtonProps, TabScrollDirection, type TabValue, Tabs, TabsActions, TabsOrientation, TabsOverflowBehavior, TabsProps, TabsScrollButtons, TabsVariant };
|
package/dist/Tabs.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tab } from "./Tabs/Tab.mjs";
|
|
2
2
|
import { TabContext } from "./Tabs/TabContext.mjs";
|
|
3
3
|
import { TabScrollButton } from "./Tabs/TabScrollButton.mjs";
|
|
4
|
-
import { t as Tabs } from "./Tabs-
|
|
4
|
+
import { t as Tabs } from "./Tabs-CE8iDr0D.mjs";
|
|
5
5
|
import { TabList } from "./Tabs/TabList.mjs";
|
|
6
6
|
import { TabPanel } from "./Tabs/TabPanel.mjs";
|
|
7
7
|
export { Tab, TabContext, TabList, TabPanel, TabScrollButton, Tabs };
|