@soroush.tech/design-system 2.0.0 → 2.1.0-alpha.1
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.cjs +1 -1
- package/dist/Autocomplete.d.cts +1 -1
- package/dist/Autocomplete.d.mts +1 -1
- package/dist/Autocomplete.mjs +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-Bx9jaHOy.cjs → Menu-C6eIdA1J.cjs} +8 -5
- package/dist/{Menu-D4AIpdJv.mjs → Menu-C_4jYHWE.mjs} +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-DXRw3Yca.cjs → MenuItem-Bg4iRvVe.cjs} +29 -26
- package/dist/{MenuItem-vXHGPK8g.mjs → MenuItem-kRGVRI6G.mjs} +29 -26
- 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-BwgQHUu9.d.cts → MenuListContext-AnAxu0he.d.cts} +2 -2
- package/dist/{MenuListContext-DbnAoUdJ.d.mts → MenuListContext-DURKFg_T.d.mts} +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 +4 -14
- package/dist/Popover.d.mts +4 -14
- 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-0hifLOKH.d.mts → TableContext-CPxH920f.d.mts} +1 -1
- package/dist/{TableContext-fIyMD_Bj.d.cts → TableContext-VuMFtVNr.d.cts} +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-JvjuCU8m.mjs → Tabs-C_qe9d4p.mjs} +28 -21
- package/dist/{Tabs-BsbX0jFL.cjs → Tabs-DmiA1J--.cjs} +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-0ZtedNyH.d.mts → TabsContext-DeP8oJpC.d.cts} +1 -1
- package/dist/{TabsContext-MpMEEVuB.d.cts → TabsContext-VJcdZQOf.d.mts} +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-CrPRvmj3.cjs +338 -0
- package/dist/Tooltip-CwbuEQzf.mjs +332 -0
- package/dist/Tooltip.cjs +2 -267
- package/dist/Tooltip.d.cts +42 -7
- package/dist/Tooltip.d.mts +42 -7
- package/dist/Tooltip.mjs +1 -266
- 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 +12 -0
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +12 -0
- package/dist/computePopoverPosition-JgOwCM7k.d.cts +12 -0
- package/dist/computePopoverPosition-JgOwCM7k.d.mts +12 -0
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-4maWM1H8.d.mts → index-2jMSUeji.d.cts} +1 -1
- package/dist/{index-76zijQoi.d.mts → index-3Xe5X6Ny.d.mts} +2 -2
- package/dist/{index-C7EUYyom.d.cts → index-B-p51b0z.d.cts} +2 -2
- package/dist/index-B2XL_zZY.d.mts +44 -0
- package/dist/{index-D4PcgL-c.d.cts → index-B5_-Bxoo.d.cts} +2 -2
- package/dist/{index-DBF5n3ey.d.cts → index-BFUn2EWp.d.mts} +3 -3
- package/dist/{index-Byk1_ms9.d.cts → index-BKM4d_F4.d.cts} +2 -2
- package/dist/index-BL5Kj3Ka.d.mts +1 -0
- package/dist/{index-SotXsXXb.d.mts → index-BLypGp0N.d.mts} +4 -4
- package/dist/{index-hoHPfsc1.d.cts → index-BVDN2XbT.d.mts} +3 -3
- package/dist/{index-CLTFsCYC.d.cts → index-Bhb0bFxe.d.mts} +2 -2
- package/dist/index-Biqpy7c9.d.cts +44 -0
- package/dist/{index-CKywwIep.d.mts → index-C-ebcNOc.d.mts} +1 -1
- package/dist/{index-Lsm4v8fB.d.cts → index-C6a3kDn2.d.cts} +3 -0
- package/dist/{index-RaDENVX_.d.cts → index-C9nnnfhd.d.cts} +2 -2
- package/dist/{index-BuAKhHMs.d.cts → index-CBHCGizS.d.mts} +1 -1
- package/dist/{index-BChRNCld.d.mts → index-CCEfrBNN.d.mts} +1 -1
- package/dist/{index-Dxu6Ks2A.d.cts → index-CHWMSBhQ.d.cts} +1 -1
- package/dist/index-CJMvoc8h.d.cts +1 -0
- package/dist/{index-C2a-5yop.d.mts → index-COgZvhXQ.d.mts} +1 -1
- package/dist/{index-BC9S8Fpr.d.cts → index-CP55_Zs2.d.mts} +1 -1
- package/dist/{index-Dm7vQHor.d.cts → index-CgyyM3ty.d.cts} +10 -5
- package/dist/{index-CfB7OceY.d.cts → index-CtwlReZi.d.cts} +1 -1
- package/dist/{index-CnVvfG9_.d.mts → index-D0skdQEK.d.mts} +1 -1
- package/dist/{index-Cjh607-v.d.cts → index-D2tfsNPw.d.cts} +1 -1
- package/dist/{index-B3Bdupj3.d.mts → index-D7h8qFS1.d.cts} +2 -2
- package/dist/{index-BV5BvdeN.d.mts → index-DACdQ7-d.d.cts} +1 -1
- package/dist/{index-CAt0-L4i.d.cts → index-DAJ5DVHh.d.cts} +2 -2
- package/dist/{index-CGyIuCRh.d.cts → index-DMysZsti.d.cts} +1 -1
- package/dist/{index-CR8qkP8U.d.mts → index-DOH6uskj.d.mts} +3 -0
- package/dist/{index-C2tTbEBS.d.mts → index-DQo4XtH4.d.mts} +2 -2
- package/dist/{index-CQeTS_zL.d.cts → index-DTJN6JL2.d.cts} +1 -1
- package/dist/{index-Dt274Ngt.d.mts → index-DbKYSbLs.d.mts} +2 -2
- package/dist/{index-CJYWGPVO.d.mts → index-Dg0FPoms.d.mts} +2 -2
- package/dist/{index-C_J58B_n.d.mts → index-DlNBgVwb.d.mts} +1 -1
- package/dist/{index-UiyZAKID.d.mts → index-DsBOpK8T.d.mts} +2 -2
- package/dist/{index-DbgrItbx.d.cts → index-Dvx5TRET.d.cts} +2 -2
- package/dist/{index-tOrd12AJ.d.mts → index-Sq75GwA2.d.cts} +3 -3
- package/dist/{index-BAzMLTVi.d.mts → index-ZyigJMkV.d.mts} +10 -5
- package/dist/{index-Bo45R0nD.d.cts → index-gHMydoIS.d.cts} +4 -4
- package/dist/{index-BzQze7eY.d.cts → index-gxBafJdz.d.cts} +1 -1
- package/dist/{index-D48qVo1X.d.mts → index-hTgl9zwe.d.mts} +2 -2
- package/dist/{index-CF_pl72E.d.mts → index-i8BxMDEC.d.mts} +1 -1
- package/dist/{index-BXlBouWV.d.mts → index-v1I6VA9w.d.cts} +3 -3
- 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/{useAnchoredPlacement-ee6KzG3t.cjs → useAnchoredPlacement-BSfjNMut.cjs} +10 -5
- package/dist/{useAnchoredPlacement-COrXZxhm.mjs → useAnchoredPlacement-txSaWzfk.mjs} +10 -5
- package/dist/{useTablePagination-BlD8mK8k.d.mts → useTablePagination-CUsagS5T.d.mts} +1 -1
- package/dist/{useTablePagination-CGjb_jPX.d.cts → useTablePagination-jpEfHKUh.d.cts} +1 -1
- package/dist/{useTransition-3EoagwIe.d.mts → useTransition-BJ375Sto.d.cts} +1 -1
- package/dist/{useTransition-C89K0mS7.d.cts → useTransition-DDGpvgci.d.mts} +1 -1
- package/package.json +1 -1
- package/dist/index-1Xzj0iAs.d.mts +0 -1
- package/dist/index-323PrYLR.d.cts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dn as FlexProps } from "../index-
|
|
1
|
+
import { dn as FlexProps } from "../index-DOH6uskj.mjs";
|
|
2
2
|
import { a as SidebarLayout, i as SidebarItemVariant, t as SidebarAnchor } from "../SidebarContext-Bod_oUMi.mjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
interface SidebarProps extends FlexProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { nt as Theme } from "../index-
|
|
2
|
-
import { r as IconName } from "../index-
|
|
3
|
-
import { i as PressableProps } from "../index-
|
|
1
|
+
import { nt as Theme } from "../index-C6a3kDn2.cjs";
|
|
2
|
+
import { r as IconName } from "../index-DAJ5DVHh.cjs";
|
|
3
|
+
import { i as PressableProps } from "../index-D2tfsNPw.cjs";
|
|
4
4
|
import { i as SidebarItemVariant } from "../SidebarContext-Bod_oUMi.cjs";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
/** Density token - controls padding and font size. Resolves against `theme.sizes`. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { nt as Theme } from "../index-
|
|
2
|
-
import { r as IconName } from "../index-
|
|
3
|
-
import { i as PressableProps } from "../index-
|
|
1
|
+
import { nt as Theme } from "../index-DOH6uskj.mjs";
|
|
2
|
+
import { r as IconName } from "../index-hTgl9zwe.mjs";
|
|
3
|
+
import { i as PressableProps } from "../index-D0skdQEK.mjs";
|
|
4
4
|
import { i as SidebarItemVariant } from "../SidebarContext-Bod_oUMi.mjs";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
/** Density token - controls padding and font size. Resolves against `theme.sizes`. */
|
package/dist/Skeleton.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-C6a3kDn2.cjs";
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
3
|
import { PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
type SkeletonVariant = 'text' | 'circular' | 'rectangular';
|
package/dist/Skeleton.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-DOH6uskj.mjs";
|
|
2
2
|
import { PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
type SkeletonVariant = 'text' | 'circular' | 'rectangular';
|
package/dist/Slide.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TransitionProps } from "./useTransition-
|
|
1
|
+
import { n as TransitionProps } from "./useTransition-BJ375Sto.cjs";
|
|
2
2
|
/** The edge of the window the child slides in from. */
|
|
3
3
|
type SlideDirection = 'up' | 'down' | 'left' | 'right';
|
|
4
4
|
interface SlideProps extends TransitionProps {
|
package/dist/Slide.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TransitionProps } from "./useTransition-
|
|
1
|
+
import { n as TransitionProps } from "./useTransition-DDGpvgci.mjs";
|
|
2
2
|
/** The edge of the window the child slides in from. */
|
|
3
3
|
type SlideDirection = 'up' | 'down' | 'left' | 'right';
|
|
4
4
|
interface SlideProps extends TransitionProps {
|
package/dist/Snackbar.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import { n as TransitionProps } from "./useTransition-
|
|
1
|
+
import { nt as Theme } from "./index-C6a3kDn2.cjs";
|
|
2
|
+
import { n as TransitionProps } from "./useTransition-BJ375Sto.cjs";
|
|
3
3
|
import { t as Shape } from "./getShapeRadius-CdCQb8OT.cjs";
|
|
4
4
|
import { n as PortalProps } from "./index-UloRwym_.cjs";
|
|
5
5
|
import { ComponentType, ReactNode, SyntheticEvent } from "react";
|
package/dist/Snackbar.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
2
|
-
import { n as TransitionProps } from "./useTransition-
|
|
1
|
+
import { nt as Theme } from "./index-DOH6uskj.mjs";
|
|
2
|
+
import { n as TransitionProps } from "./useTransition-DDGpvgci.mjs";
|
|
3
3
|
import { t as Shape } from "./getShapeRadius-CdCQb8OT.mjs";
|
|
4
4
|
import { n as PortalProps } from "./index-UloRwym_.mjs";
|
|
5
5
|
import { ComponentType, ReactNode, SyntheticEvent } from "react";
|
package/dist/Switch.d.cts
CHANGED
package/dist/Switch.d.mts
CHANGED
package/dist/Table/Table.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as PaletteColor, nt as Theme } from "../index-
|
|
2
|
-
import { t as TableCellPadding } from "../TableContext-
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "../index-C6a3kDn2.cjs";
|
|
2
|
+
import { t as TableCellPadding } from "../TableContext-VuMFtVNr.cjs";
|
|
3
3
|
import { ElementType, TableHTMLAttributes } from "react";
|
|
4
4
|
import { BorderProps, LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
/** Valid values for the bg prop - derived from theme.background keys. */
|
package/dist/Table/Table.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as PaletteColor, nt as Theme } from "../index-
|
|
2
|
-
import { t as TableCellPadding } from "../TableContext-
|
|
1
|
+
import { U as PaletteColor, nt as Theme } from "../index-DOH6uskj.mjs";
|
|
2
|
+
import { t as TableCellPadding } from "../TableContext-CPxH920f.mjs";
|
|
3
3
|
import { BorderProps, LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ElementType, TableHTMLAttributes } from "react";
|
|
5
5
|
/** Valid values for the bg prop - derived from theme.background keys. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "../index-
|
|
1
|
+
import { nt as Theme } from "../index-C6a3kDn2.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-DOH6uskj.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,2 +1,2 @@
|
|
|
1
|
-
import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell } from "../index-
|
|
1
|
+
import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell } from "../index-B5_-Bxoo.cjs";
|
|
2
2
|
export { TableCell, TableCellAlign, TableCellBackgroundToken, TableCellBorderColorToken, TableCellColorToken, TableCellProps, TableCellSortDirection, TableCellVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell } from "../index-
|
|
1
|
+
import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell } from "../index-DsBOpK8T.mjs";
|
|
2
2
|
export { TableCell, TableCellAlign, TableCellBackgroundToken, TableCellBorderColorToken, TableCellColorToken, TableCellProps, TableCellSortDirection, TableCellVariant };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-
|
|
1
|
+
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-jpEfHKUh.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-CUsagS5T.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-C6a3kDn2.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-DOH6uskj.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-C6a3kDn2.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-DOH6uskj.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-B5_-Bxoo.cjs";
|
|
2
|
+
import { t as TablePaginationActionType } from "../index-B-p51b0z.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-DsBOpK8T.mjs";
|
|
2
|
+
import { t as TablePaginationActionType } from "../index-DQo4XtH4.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-B-p51b0z.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-DQo4XtH4.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-C6a3kDn2.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-DOH6uskj.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-C9nnnfhd.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-3Xe5X6Ny.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-jpEfHKUh.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-CUsagS5T.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-VuMFtVNr.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-B5_-Bxoo.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-C9nnnfhd.cjs";
|
|
7
|
+
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "./useTablePagination-jpEfHKUh.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-B-p51b0z.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-CPxH920f.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-DsBOpK8T.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-3Xe5X6Ny.mjs";
|
|
7
|
+
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "./useTablePagination-CUsagS5T.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-DQo4XtH4.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-DOH6uskj.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`. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { nt as Theme } from "./index-
|
|
1
|
+
import { nt as Theme } from "./index-C6a3kDn2.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`. */
|
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-CrPRvmj3.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-C6a3kDn2.cjs";
|
|
2
|
+
import { t as TabValue } from "../TabsContext-DeP8oJpC.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-DOH6uskj.mjs";
|
|
2
|
+
import { t as TabValue } from "../TabsContext-VJcdZQOf.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 { t as Tooltip } from "../Tooltip-CwbuEQzf.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-DmiA1J--.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-gHMydoIS.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-BLypGp0N.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-C_qe9d4p.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-C6a3kDn2.cjs";
|
|
2
|
+
import { t as TabValue } from "../TabsContext-DeP8oJpC.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-DOH6uskj.mjs";
|
|
2
|
+
import { t as TabValue } from "../TabsContext-VJcdZQOf.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-DTJN6JL2.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-DlNBgVwb.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-DeP8oJpC.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-gHMydoIS.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-VJcdZQOf.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-BLypGp0N.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-C_qe9d4p.mjs";
|