@soroush.tech/design-system 2.0.0-rc.2 → 2.0.0-rc.3
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/README.md +14 -10
- package/dist/AppBar.d.cts +1 -1
- package/dist/AppBar.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/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.d.cts +3 -3
- package/dist/Breadcrumbs.d.mts +3 -3
- package/dist/Breadcrumbs.mjs +1 -1
- 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.cjs +1 -1
- package/dist/Card.d.cts +4 -4
- package/dist/Card.d.mts +4 -4
- package/dist/Card.mjs +1 -1
- package/dist/Checkbox.d.cts +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/CircularProgress.d.cts +2 -2
- package/dist/CircularProgress.d.mts +2 -2
- package/dist/Drawer.d.cts +3 -3
- package/dist/Drawer.d.mts +3 -3
- 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.cjs +9 -1
- package/dist/FormControl.d.cts +9 -1
- package/dist/FormControl.d.mts +9 -1
- package/dist/FormControl.mjs +9 -1
- package/dist/FormHelperText.d.cts +1 -1
- package/dist/FormHelperText.d.mts +1 -1
- package/dist/FormLabel.cjs +9 -1
- package/dist/FormLabel.d.cts +2 -2
- package/dist/FormLabel.d.mts +2 -2
- package/dist/FormLabel.mjs +10 -2
- package/dist/Grid.d.cts +1 -1
- package/dist/Grid.d.mts +1 -1
- package/dist/{Icon-DlheCTJb.mjs → Icon-BihOAP4u.mjs} +40 -0
- package/dist/{Icon-Cvuhp9ek.cjs → Icon-D-EWsBVg.cjs} +40 -0
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.d.cts +1 -1
- package/dist/Icon.d.mts +1 -1
- package/dist/Icon.mjs +1 -1
- package/dist/Image.d.cts +1 -1
- package/dist/Image.d.mts +1 -1
- package/dist/InputRange.cjs +675 -0
- package/dist/InputRange.d.cts +79 -0
- package/dist/InputRange.d.mts +79 -0
- package/dist/InputRange.mjs +673 -0
- 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 +1 -1
- package/dist/Menu/ContextMenu.d.cts +5 -5
- package/dist/Menu/ContextMenu.d.mts +5 -5
- package/dist/Menu/ContextMenu.mjs +1 -1
- 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.d.cts +2 -2
- package/dist/Menu/MenuList.d.mts +2 -2
- package/dist/{Menu-BkKPTOfh.cjs → Menu-Cgg-sX4W.cjs} +3 -2
- package/dist/{Menu-tECbAEFj.mjs → Menu-CrzHc_cn.mjs} +2 -1
- package/dist/Menu.cjs +1 -1
- package/dist/Menu.d.cts +3 -3
- package/dist/Menu.d.mts +3 -3
- package/dist/Menu.mjs +1 -1
- package/dist/{MenuItem-CfdN4axw.cjs → MenuItem-BTP7Ijwi.cjs} +6 -17
- package/dist/{MenuItem-BR7ingQx.mjs → MenuItem-DUn4IZKK.mjs} +3 -8
- 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/{MenuListContext-Dml16k0X.d.mts → MenuListContext-DKUOhNyw.d.cts} +2 -2
- package/dist/{MenuListContext-vujGcRk9.d.cts → MenuListContext-x-7lH4CH.d.mts} +2 -2
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/NativeSelect.cjs +8 -7
- package/dist/NativeSelect.d.cts +3 -3
- package/dist/NativeSelect.d.mts +3 -3
- package/dist/NativeSelect.mjs +8 -7
- package/dist/NumberField.cjs +476 -0
- package/dist/NumberField.d.cts +74 -0
- package/dist/NumberField.d.mts +74 -0
- package/dist/NumberField.mjs +474 -0
- package/dist/Pagination/PaginationItem.cjs +1 -1
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination/PaginationItem.mjs +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/Rating.cjs +373 -0
- package/dist/Rating.d.cts +57 -0
- package/dist/Rating.d.mts +57 -0
- package/dist/Rating.mjs +371 -0
- package/dist/Select.cjs +3 -2
- package/dist/Select.d.cts +3 -3
- package/dist/Select.d.mts +3 -3
- package/dist/Select.mjs +5 -4
- package/dist/Sidebar/Sidebar.d.cts +1 -1
- package/dist/Sidebar/Sidebar.d.mts +1 -1
- package/dist/Sidebar/SidebarItem.cjs +1 -1
- package/dist/Sidebar/SidebarItem.d.cts +3 -3
- package/dist/Sidebar/SidebarItem.d.mts +3 -3
- package/dist/Sidebar/SidebarItem.mjs +3 -3
- package/dist/Skeleton.d.cts +1 -1
- package/dist/Skeleton.d.mts +1 -1
- package/dist/Switch.cjs +22 -15
- package/dist/Switch.d.cts +2 -2
- package/dist/Switch.d.mts +2 -2
- package/dist/Switch.mjs +24 -17
- 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/TableControl.mjs +2 -2
- 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.cjs +1 -1
- package/dist/Table/TableSortLabel.d.cts +1 -1
- package/dist/Table/TableSortLabel.d.mts +1 -1
- package/dist/Table/TableSortLabel.mjs +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-6PgGpUzM.d.mts → TableContext-DhuRf6Wy.d.mts} +1 -1
- package/dist/{TableContext-CBGk-Lh8.d.cts → TableContext-Duj1nVG7.d.cts} +1 -1
- package/dist/Tabs/Tab.cjs +1 -1
- package/dist/Tabs/Tab.d.cts +2 -2
- package/dist/Tabs/Tab.d.mts +2 -2
- package/dist/Tabs/Tab.mjs +1 -1
- 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.cjs +1 -1
- package/dist/Tabs/TabScrollButton.d.cts +1 -1
- package/dist/Tabs/TabScrollButton.d.mts +1 -1
- package/dist/Tabs/TabScrollButton.mjs +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-YfCUbkQV.mjs → Tabs-BTNOJx5v.mjs} +4 -3
- package/dist/{Tabs-D_wkX-Jb.cjs → Tabs-D4tWCq78.cjs} +7 -6
- 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-C2agsLBN.d.cts → TabsContext-B_XHbjcS.d.cts} +1 -1
- package/dist/{TabsContext-DqyxdmGW.d.mts → TabsContext-Dn2kqUwr.d.mts} +1 -1
- package/dist/TextInput.cjs +3 -3
- package/dist/TextInput.d.cts +2 -2
- package/dist/TextInput.d.mts +2 -2
- package/dist/TextInput.mjs +3 -3
- 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/TransferList.cjs +356 -0
- package/dist/TransferList.d.cts +67 -0
- package/dist/TransferList.d.mts +67 -0
- package/dist/TransferList.mjs +354 -0
- 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/catalog.cjs +476 -18
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +476 -18
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-DCmH5f9I.d.cts → index-B1RFybA_.d.mts} +2 -2
- package/dist/{index-Cj5Rhh_9.d.mts → index-B4TeaB7b.d.cts} +2 -2
- package/dist/{index-DIC7HKpP.d.mts → index-BGbTuHP9.d.mts} +1 -1
- package/dist/{index-BiVvxOvj.d.cts → index-BHKgEOZJ.d.cts} +2 -2
- package/dist/{index-BbgFYfX_.d.mts → index-BQWjh4rK.d.mts} +2 -2
- package/dist/{index-DJCpnTH3.d.mts → index-BelFIizY.d.cts} +3 -3
- package/dist/{index-C3KrFPCj.d.mts → index-BkzZxHVj.d.mts} +2 -2
- package/dist/{index-B8DNxyEw.d.mts → index-BrgwkY6z.d.mts} +2 -2
- package/dist/{index-DqjXDutI.d.mts → index-Bx0-6yeX.d.mts} +1 -1
- package/dist/index-BxVTIMnB.d.cts +1 -0
- package/dist/{index-Bhdn4KTy.d.cts → index-ByYxVl9O.d.mts} +3 -3
- package/dist/{index-gnh-Oe0n.d.cts → index-CE5JG1us.d.mts} +1 -1
- package/dist/{index-XxydXX8l.d.cts → index-CG_1uPrD.d.mts} +2 -2
- package/dist/{index-CVNJEUwJ.d.mts → index-CJhK7JND.d.mts} +49 -1
- package/dist/{index-BjfPEP_5.d.cts → index-CQfJZADG.d.cts} +2 -2
- package/dist/{index-DrVYWt-X.d.mts → index-CUz2h5xY.d.mts} +1 -1
- package/dist/{index-CrIxI8Na.d.mts → index-CbFaWtjK.d.mts} +2 -2
- package/dist/{index-BFruxTHv.d.cts → index-ChXeKJCk.d.cts} +1 -1
- package/dist/{index-DQcnJ5H4.d.cts → index-CknoXDLQ.d.cts} +2 -2
- package/dist/{index-IdMqR82e.d.cts → index-ClZyaZrR.d.mts} +2 -2
- package/dist/{index-Bxd9NOWb.d.mts → index-DAwcmIjN.d.cts} +2 -2
- package/dist/{index-CWnbCxgw.d.cts → index-DGnXJwLj.d.mts} +4 -4
- package/dist/{index-DmJ7yWWi.d.cts → index-DJ0f69wh.d.cts} +49 -1
- package/dist/{index-DckSub2J.d.mts → index-DWjz5ZzG.d.cts} +4 -4
- package/dist/{index-DXhMkjQ6.d.cts → index-DYF8sRE-.d.cts} +2 -2
- package/dist/index-DaIIo5QU.d.mts +1 -0
- package/dist/{index-BVPrG1L0.d.mts → index-DchHf5cF.d.cts} +1 -1
- package/dist/{index-BlLH6rlE.d.cts → index-DtYjdBvO.d.cts} +2 -2
- package/dist/{index-BqpS_Huq.d.mts → index-Dv_fk1_F.d.cts} +19 -3
- package/dist/{index-BSA6SKao.d.mts → index-K5exjvnX.d.cts} +2 -2
- package/dist/{index-BjPX49XA.d.mts → index-KnXhlKMr.d.cts} +1 -1
- package/dist/{index-B3LIhqHR.d.cts → index-WHFhjfgy.d.cts} +4 -4
- package/dist/{index-BCnKYNlZ.d.cts → index-YKrfFC_I.d.cts} +1 -1
- package/dist/{index-CoEqjFYn.d.mts → index-bpnLB_4K.d.mts} +4 -4
- package/dist/{index-DDJuUfL5.d.cts → index-h4dYtVrp.d.mts} +1 -1
- package/dist/{index-qlfNErNd.d.cts → index-ha1WjSZ5.d.mts} +19 -3
- package/dist/{index-DuVNRXP4.d.cts → index-nqUA_6J_.d.cts} +1 -1
- package/dist/{index-DeDxYlSQ.d.mts → index-pTNq3iQn.d.mts} +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/isRtl-BJDtm86G.mjs +7 -0
- package/dist/isRtl-DTkYHRPo.cjs +12 -0
- package/dist/precision-B1lhxnnO.mjs +25 -0
- package/dist/precision-B58cTPB2.cjs +48 -0
- package/dist/style.d.cts +2 -2
- package/dist/style.d.mts +2 -2
- package/dist/theme.d.cts +3 -3
- package/dist/theme.d.mts +3 -3
- package/dist/useControlled-C666KpQ0.cjs +18 -0
- package/dist/useControlled-CBRLsO-H.mjs +13 -0
- package/dist/{useTablePagination-C5VKtqDp.d.cts → useTablePagination-C-u3ru4N.d.cts} +1 -1
- package/dist/{useTablePagination-C6LSlt3w.d.mts → useTablePagination-D-39ZmQh.d.mts} +1 -1
- package/package.json +42 -2
- package/dist/index-DBteSahY.d.cts +0 -1
- package/dist/index-_G1osn09.d.mts +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-
|
|
1
|
+
import { W as Theme } from "./index-CJhK7JND.mjs";
|
|
2
|
+
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-BGbTuHP9.mjs";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { HTMLAttributes } from "react";
|
|
5
5
|
//#region src/Pagination/Pagination.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
3
|
-
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { W as Theme } from "./index-DJ0f69wh.cjs";
|
|
2
|
+
import { t as TableCellPadding } from "./TableContext-Duj1nVG7.cjs";
|
|
4
3
|
import { ElementType, ThHTMLAttributes } from "react";
|
|
4
|
+
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Table/TableSectionContext.d.ts
|
|
6
6
|
/** The table section a cell lives in - drives `TableCell`'s th/td element resolution. */
|
|
7
7
|
type TableSection = 'head' | 'body' | 'footer';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as MenuItemValue } from "./MenuListContext-
|
|
2
|
-
import { i as MenuItemRole } from "./index-
|
|
1
|
+
import { t as MenuItemValue } from "./MenuListContext-x-7lH4CH.mjs";
|
|
2
|
+
import { i as MenuItemRole } from "./index-B1RFybA_.mjs";
|
|
3
3
|
import { KeyboardEvent, MouseEvent, ReactNode } from "react";
|
|
4
4
|
//#region src/Menu/MenuItems/MenuItems.d.ts
|
|
5
5
|
/** A menu row as data - what a `MenuItem` takes, with its label as `label`. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-
|
|
1
|
+
import { W as Theme } from "./index-CJhK7JND.mjs";
|
|
2
|
+
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-CG_1uPrD.mjs";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ElementType, HTMLAttributes } from "react";
|
|
5
5
|
//#region src/ButtonGroup/ButtonGroup.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as Theme } from "./index-CJhK7JND.mjs";
|
|
2
2
|
import { KeyboardEvent, MouseEvent, ReactNode, Ref, RefCallback, SyntheticEvent } from "react";
|
|
3
3
|
//#region src/Modal/useModal.d.ts
|
|
4
4
|
type ModalCloseReason = 'escapeKey' | 'backdropClick';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index-DJ0f69wh.cjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
3
|
-
import { ElementType, ThHTMLAttributes } from "react";
|
|
1
|
+
import { W as Theme } from "./index-CJhK7JND.mjs";
|
|
2
|
+
import { t as TableCellPadding } from "./TableContext-DhuRf6Wy.mjs";
|
|
4
3
|
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { ElementType, ThHTMLAttributes } from "react";
|
|
5
5
|
//#region src/Table/TableSectionContext.d.ts
|
|
6
6
|
/** The table section a cell lives in - drives `TableCell`'s th/td element resolution. */
|
|
7
7
|
type TableSection = 'head' | 'body' | 'footer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as Theme } from "./index-CJhK7JND.mjs";
|
|
2
2
|
import { MouseEvent, ReactNode } from "react";
|
|
3
3
|
//#region src/Tabs/TabScrollButton/TabScrollButton.d.ts
|
|
4
4
|
/** Which way a scroll button scrolls a row of tabs: towards its start, or its end. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
1
|
+
import { P as PaletteColor, W as Theme, d as ButtonVariants } from "./index-CJhK7JND.mjs";
|
|
3
2
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
3
|
+
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
4
4
|
//#region src/Button/Button.d.ts
|
|
5
5
|
/** Augmentable via the `ButtonVariants` interface - style new values through `theme.components.Button.variants`. */
|
|
6
6
|
type ButtonVariant = keyof ButtonVariants;
|
|
@@ -467,6 +467,50 @@ interface ButtonVariants {
|
|
|
467
467
|
outlined: true;
|
|
468
468
|
text: true;
|
|
469
469
|
}
|
|
470
|
+
/** The defaults a theme may set for every `InputRange`. */
|
|
471
|
+
interface InputRangeOwnerState {
|
|
472
|
+
size?: keyof ThemeSizes;
|
|
473
|
+
color?: keyof ThemePalette;
|
|
474
|
+
orientation?: 'horizontal' | 'vertical';
|
|
475
|
+
track?: 'normal' | false | 'inverted';
|
|
476
|
+
step?: number | null;
|
|
477
|
+
shiftStep?: number;
|
|
478
|
+
valueLabel?: 'auto' | 'on' | 'off';
|
|
479
|
+
shouldSwapThumbs?: boolean;
|
|
480
|
+
}
|
|
481
|
+
/** The defaults a theme may set for every `NumberField` - its button labels give it a language. */
|
|
482
|
+
interface NumberFieldOwnerState {
|
|
483
|
+
variant?: 'default' | 'outlined' | 'text' | 'underline';
|
|
484
|
+
size?: keyof ThemeSizes;
|
|
485
|
+
color?: keyof ThemePalette;
|
|
486
|
+
spinButtons?: 'stacked' | 'sides' | 'none';
|
|
487
|
+
step?: number;
|
|
488
|
+
smallStep?: number;
|
|
489
|
+
largeStep?: number;
|
|
490
|
+
shouldSnapOnStep?: boolean;
|
|
491
|
+
shouldScrubOnWheel?: boolean;
|
|
492
|
+
incrementLabel?: string;
|
|
493
|
+
decrementLabel?: string;
|
|
494
|
+
}
|
|
495
|
+
/** The defaults a theme may set for every `Rating`. */
|
|
496
|
+
interface RatingOwnerState {
|
|
497
|
+
max?: number;
|
|
498
|
+
precision?: number;
|
|
499
|
+
highlightSelectedOnly?: boolean;
|
|
500
|
+
size?: keyof ThemeSizes;
|
|
501
|
+
color?: keyof ThemePalette;
|
|
502
|
+
}
|
|
503
|
+
/** The defaults a theme may set for every `TransferList` - its button labels give it a language. */
|
|
504
|
+
interface TransferListOwnerState {
|
|
505
|
+
size?: keyof ThemeSizes;
|
|
506
|
+
color?: keyof ThemePalette;
|
|
507
|
+
shouldShowMoveAll?: boolean;
|
|
508
|
+
hasSelectAll?: boolean;
|
|
509
|
+
moveAllRightLabel?: string;
|
|
510
|
+
moveRightLabel?: string;
|
|
511
|
+
moveLeftLabel?: string;
|
|
512
|
+
moveAllLeftLabel?: string;
|
|
513
|
+
}
|
|
470
514
|
/** The defaults a theme may set for every `Breadcrumbs` - its `expandLabel` gives a trail its language. */
|
|
471
515
|
interface BreadcrumbsOwnerState {
|
|
472
516
|
separator?: ReactNode;
|
|
@@ -623,6 +667,10 @@ interface ThemeComponents {
|
|
|
623
667
|
Pressable?: ComponentConfig<PressableOwnerState>;
|
|
624
668
|
Quote?: ComponentConfig;
|
|
625
669
|
Radio?: ComponentConfig<Record<string, unknown>, 'root' | 'input' | 'icon'>;
|
|
670
|
+
InputRange?: ComponentConfig<InputRangeOwnerState, 'root' | 'rail' | 'track' | 'thumb' | 'mark' | 'markLabel' | 'valueLabel' | 'input'>;
|
|
671
|
+
TransferList?: ComponentConfig<TransferListOwnerState, 'root' | 'list' | 'header' | 'title' | 'count' | 'items' | 'item' | 'controls' | 'icon'>;
|
|
672
|
+
NumberField?: ComponentConfig<NumberFieldOwnerState, 'root' | 'input' | 'spinButtons' | 'increment' | 'decrement'>;
|
|
673
|
+
Rating?: ComponentConfig<RatingOwnerState, 'root' | 'item' | 'icon' | 'decimal' | 'input' | 'text' | 'emptyLabel'>;
|
|
626
674
|
Select?: ComponentConfig<Record<string, unknown>, 'root' | 'value' | 'valueArea' | 'valueGhost' | 'listbox'>;
|
|
627
675
|
Sidebar?: ComponentConfig<Record<string, unknown>, 'root' | 'rail' | 'panel'>;
|
|
628
676
|
SidebarItem?: ComponentConfig;
|
|
@@ -825,4 +873,4 @@ interface CreateThemedStyled extends StyledTags {
|
|
|
825
873
|
*/
|
|
826
874
|
declare const styled: CreateThemedStyled;
|
|
827
875
|
//#endregion
|
|
828
|
-
export {
|
|
876
|
+
export { ThemeFonts as $, ViewBorderRadiusToken as $t, MenuListOwnerState as A, lineHeights as At, TabPanelOwnerState as B, ThemeOverride as Bt, LayoutContent as C, down as Ct, LayoutPanels as D, icon as Dt, LayoutPanel as E, fonts as Et, PaletteEntry as F, space$1 as Ft, ThemeAvatarSizes as G, PaperElevation as Gt, TabsOwnerState as H, BreakpointHelpers as Ht, PressableOwnerState as I, typography$1 as It, ThemeBorderWidths as J, FlexProps as Jt, ThemeBackground as K, PaperProps as Kt, RatingOwnerState as L, up as Lt, NumberFieldOwnerState as M, only as Mt, OpenScale as N, radii as Nt, LayoutSpace as O, layout$1 as Ot, PaletteColor as P, sizes as Pt, ThemeFontWeights as Q, ViewBorderColorToken as Qt, SizeEntry as R, zOrder as Rt, LayoutBars as S, containerQueries as St, LayoutLength as T, fontWeights as Tt, TabsVariants as U, withBreakpointHelpers as Ut, TabScrollButtonOwnerState as V, createTheme as Vt, Theme as W, Paper as Wt, ThemeComponents as X, View as Xt, ThemeBreakpoints as Y, GapToken as Yt, ThemeDefaults as Z, ViewBackgroundToken as Zt, ComponentStyle as _, avatar as _t, ThemeCustomizationOptions as a, ThemeRadii as at, DefaultBreakpoints as b, borderWidths as bt, BreakpointKey as c, ThemeSkeleton as ct, ButtonVariants as d, ThemeText as dt, ViewBorderWidthToken as en, ThemeIconSizes as et, CSSObject$1 as f, ThemeTypographyVariants as ft, ComponentConfig as g, TypographyVariantStyle as gt, CardSlotTypographyProps as h, TypographyVariant as ht, props as i, ThemePalette as it, MenuOwnerState as j, not as jt, MenuItemOwnerState as k, letterSpacings as kt, BreakpointOverrides as l, ThemeSpace as lt, CardSlotIconProps as m, TransferListOwnerState as mt, css$1 as n, ViewProps as nn, ThemeLetterSpacings as nt, styled as o, ThemeShadow as ot, CardOwnerState as p, ThemeZOrder as pt, ThemeBorder as q, Flex as qt, keyframes as r, ThemeLineHeights as rt, BreadcrumbsOwnerState as s, ThemeSizes as st, createShouldForwardProp as t, ViewColorToken as tn, ThemeLayout as tt, ButtonOwnerState as u, ThemeSwitch as ut, ComponentVariant as v, baseTheme as vt, LayoutEntry as w, fontSizes as wt, InputRangeOwnerState as x, breakpoints as xt, ContextMenuOwnerState as y, between as yt, TabOwnerState as z, DeepPartial as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-
|
|
1
|
+
import { W as Theme } from "./index-DJ0f69wh.cjs";
|
|
2
|
+
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-DAwcmIjN.cjs";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/ButtonGroup/ButtonGroup.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as PaletteColor, W as Theme } from "./index-CJhK7JND.mjs";
|
|
2
2
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
4
4
|
//#region src/Pressable/Pressable.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-BGbTuHP9.mjs";
|
|
2
|
+
import "./index-BQWjh4rK.mjs";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Table/TablePaginationActions/TablePaginationActions.d.ts
|
|
5
5
|
type TablePaginationActionType = 'first' | 'previous' | 'next' | 'last';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as PaletteColor, W as Theme } from "./index-DJ0f69wh.cjs";
|
|
2
2
|
import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
//#region src/Pagination/hooks/usePagination.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as MenuItemValue } from "./MenuListContext-
|
|
2
|
-
import { i as MenuItemRole } from "./index-
|
|
1
|
+
import { t as MenuItemValue } from "./MenuListContext-DKUOhNyw.cjs";
|
|
2
|
+
import { i as MenuItemRole } from "./index-B4TeaB7b.cjs";
|
|
3
3
|
import { KeyboardEvent, MouseEvent, ReactNode } from "react";
|
|
4
4
|
//#region src/Menu/MenuItems/MenuItems.d.ts
|
|
5
5
|
/** A menu row as data - what a `MenuItem` takes, with its label as `label`. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
1
|
+
import { W as Theme, ht as TypographyVariant } from "./index-CJhK7JND.mjs";
|
|
3
2
|
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
3
|
+
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Typography/Typography.d.ts
|
|
5
5
|
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
6
6
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { P as PaletteColor, W as Theme, d as ButtonVariants } from "./index-DJ0f69wh.cjs";
|
|
3
2
|
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
3
|
+
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
//#region src/Button/Button.d.ts
|
|
5
5
|
/** Augmentable via the `ButtonVariants` interface - style new values through `theme.components.Button.variants`. */
|
|
6
6
|
type ButtonVariant = keyof ButtonVariants;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as MenuItemValue } from "./MenuListContext-
|
|
4
|
-
import { n as MenuItemData } from "./index-
|
|
1
|
+
import { Gt as PaperElevation, W as Theme } from "./index-CJhK7JND.mjs";
|
|
2
|
+
import "./index-DaIIo5QU.mjs";
|
|
3
|
+
import { t as MenuItemValue } from "./MenuListContext-x-7lH4CH.mjs";
|
|
4
|
+
import { n as MenuItemData } from "./index-BkzZxHVj.mjs";
|
|
5
5
|
import { KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref, SyntheticEvent } from "react";
|
|
6
6
|
//#region src/Menu/utils/getMenuOrigins.d.ts
|
|
7
7
|
/** Which edge of its trigger a menu lines up with: the start edge, or the end edge. */
|
|
@@ -467,6 +467,50 @@ interface ButtonVariants {
|
|
|
467
467
|
outlined: true;
|
|
468
468
|
text: true;
|
|
469
469
|
}
|
|
470
|
+
/** The defaults a theme may set for every `InputRange`. */
|
|
471
|
+
interface InputRangeOwnerState {
|
|
472
|
+
size?: keyof ThemeSizes;
|
|
473
|
+
color?: keyof ThemePalette;
|
|
474
|
+
orientation?: 'horizontal' | 'vertical';
|
|
475
|
+
track?: 'normal' | false | 'inverted';
|
|
476
|
+
step?: number | null;
|
|
477
|
+
shiftStep?: number;
|
|
478
|
+
valueLabel?: 'auto' | 'on' | 'off';
|
|
479
|
+
shouldSwapThumbs?: boolean;
|
|
480
|
+
}
|
|
481
|
+
/** The defaults a theme may set for every `NumberField` - its button labels give it a language. */
|
|
482
|
+
interface NumberFieldOwnerState {
|
|
483
|
+
variant?: 'default' | 'outlined' | 'text' | 'underline';
|
|
484
|
+
size?: keyof ThemeSizes;
|
|
485
|
+
color?: keyof ThemePalette;
|
|
486
|
+
spinButtons?: 'stacked' | 'sides' | 'none';
|
|
487
|
+
step?: number;
|
|
488
|
+
smallStep?: number;
|
|
489
|
+
largeStep?: number;
|
|
490
|
+
shouldSnapOnStep?: boolean;
|
|
491
|
+
shouldScrubOnWheel?: boolean;
|
|
492
|
+
incrementLabel?: string;
|
|
493
|
+
decrementLabel?: string;
|
|
494
|
+
}
|
|
495
|
+
/** The defaults a theme may set for every `Rating`. */
|
|
496
|
+
interface RatingOwnerState {
|
|
497
|
+
max?: number;
|
|
498
|
+
precision?: number;
|
|
499
|
+
highlightSelectedOnly?: boolean;
|
|
500
|
+
size?: keyof ThemeSizes;
|
|
501
|
+
color?: keyof ThemePalette;
|
|
502
|
+
}
|
|
503
|
+
/** The defaults a theme may set for every `TransferList` - its button labels give it a language. */
|
|
504
|
+
interface TransferListOwnerState {
|
|
505
|
+
size?: keyof ThemeSizes;
|
|
506
|
+
color?: keyof ThemePalette;
|
|
507
|
+
shouldShowMoveAll?: boolean;
|
|
508
|
+
hasSelectAll?: boolean;
|
|
509
|
+
moveAllRightLabel?: string;
|
|
510
|
+
moveRightLabel?: string;
|
|
511
|
+
moveLeftLabel?: string;
|
|
512
|
+
moveAllLeftLabel?: string;
|
|
513
|
+
}
|
|
470
514
|
/** The defaults a theme may set for every `Breadcrumbs` - its `expandLabel` gives a trail its language. */
|
|
471
515
|
interface BreadcrumbsOwnerState {
|
|
472
516
|
separator?: ReactNode;
|
|
@@ -623,6 +667,10 @@ interface ThemeComponents {
|
|
|
623
667
|
Pressable?: ComponentConfig<PressableOwnerState>;
|
|
624
668
|
Quote?: ComponentConfig;
|
|
625
669
|
Radio?: ComponentConfig<Record<string, unknown>, 'root' | 'input' | 'icon'>;
|
|
670
|
+
InputRange?: ComponentConfig<InputRangeOwnerState, 'root' | 'rail' | 'track' | 'thumb' | 'mark' | 'markLabel' | 'valueLabel' | 'input'>;
|
|
671
|
+
TransferList?: ComponentConfig<TransferListOwnerState, 'root' | 'list' | 'header' | 'title' | 'count' | 'items' | 'item' | 'controls' | 'icon'>;
|
|
672
|
+
NumberField?: ComponentConfig<NumberFieldOwnerState, 'root' | 'input' | 'spinButtons' | 'increment' | 'decrement'>;
|
|
673
|
+
Rating?: ComponentConfig<RatingOwnerState, 'root' | 'item' | 'icon' | 'decimal' | 'input' | 'text' | 'emptyLabel'>;
|
|
626
674
|
Select?: ComponentConfig<Record<string, unknown>, 'root' | 'value' | 'valueArea' | 'valueGhost' | 'listbox'>;
|
|
627
675
|
Sidebar?: ComponentConfig<Record<string, unknown>, 'root' | 'rail' | 'panel'>;
|
|
628
676
|
SidebarItem?: ComponentConfig;
|
|
@@ -825,4 +873,4 @@ interface CreateThemedStyled extends StyledTags {
|
|
|
825
873
|
*/
|
|
826
874
|
declare const styled: CreateThemedStyled;
|
|
827
875
|
//#endregion
|
|
828
|
-
export {
|
|
876
|
+
export { ThemeFonts as $, ViewBorderRadiusToken as $t, MenuListOwnerState as A, lineHeights as At, TabPanelOwnerState as B, ThemeOverride as Bt, LayoutContent as C, down as Ct, LayoutPanels as D, icon as Dt, LayoutPanel as E, fonts as Et, PaletteEntry as F, space as Ft, ThemeAvatarSizes as G, PaperElevation as Gt, TabsOwnerState as H, BreakpointHelpers as Ht, PressableOwnerState as I, typography as It, ThemeBorderWidths as J, FlexProps as Jt, ThemeBackground as K, PaperProps as Kt, RatingOwnerState as L, up as Lt, NumberFieldOwnerState as M, only as Mt, OpenScale as N, radii as Nt, LayoutSpace as O, layout as Ot, PaletteColor as P, sizes as Pt, ThemeFontWeights as Q, ViewBorderColorToken as Qt, SizeEntry as R, zOrder as Rt, LayoutBars as S, containerQueries as St, LayoutLength as T, fontWeights as Tt, TabsVariants as U, withBreakpointHelpers as Ut, TabScrollButtonOwnerState as V, createTheme as Vt, Theme as W, Paper as Wt, ThemeComponents as X, View as Xt, ThemeBreakpoints as Y, GapToken as Yt, ThemeDefaults as Z, ViewBackgroundToken as Zt, ComponentStyle as _, avatar as _t, ThemeCustomizationOptions as a, ThemeRadii as at, DefaultBreakpoints as b, borderWidths as bt, BreakpointKey as c, ThemeSkeleton as ct, ButtonVariants as d, ThemeText as dt, ViewBorderWidthToken as en, ThemeIconSizes as et, CSSObject$1 as f, ThemeTypographyVariants as ft, ComponentConfig as g, TypographyVariantStyle as gt, CardSlotTypographyProps as h, TypographyVariant as ht, props as i, ThemePalette as it, MenuOwnerState as j, not as jt, MenuItemOwnerState as k, letterSpacings as kt, BreakpointOverrides as l, ThemeSpace as lt, CardSlotIconProps as m, TransferListOwnerState as mt, css as n, ViewProps as nn, ThemeLetterSpacings as nt, styled as o, ThemeShadow as ot, CardOwnerState as p, ThemeZOrder as pt, ThemeBorder as q, Flex as qt, keyframes as r, ThemeLineHeights as rt, BreadcrumbsOwnerState as s, ThemeSizes as st, createShouldForwardProp as t, ViewColorToken as tn, ThemeLayout as tt, ButtonOwnerState as u, ThemeSwitch as ut, ComponentVariant as v, baseTheme as vt, LayoutEntry as w, fontSizes as wt, InputRangeOwnerState as x, breakpoints as xt, ContextMenuOwnerState as y, between as yt, TabOwnerState as z, DeepPartial as zt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as MenuItemValue } from "./MenuListContext-
|
|
4
|
-
import { n as MenuItemData } from "./index-
|
|
1
|
+
import { Gt as PaperElevation, W as Theme } from "./index-DJ0f69wh.cjs";
|
|
2
|
+
import "./index-BxVTIMnB.cjs";
|
|
3
|
+
import { t as MenuItemValue } from "./MenuListContext-DKUOhNyw.cjs";
|
|
4
|
+
import { n as MenuItemData } from "./index-CknoXDLQ.cjs";
|
|
5
5
|
import { KeyboardEvent, MouseEvent, ReactElement, ReactNode, Ref, SyntheticEvent } from "react";
|
|
6
6
|
//#region src/Menu/utils/getMenuOrigins.d.ts
|
|
7
7
|
/** Which edge of its trigger a menu lines up with: the start edge, or the end edge. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { W as Theme } from "./index-DJ0f69wh.cjs";
|
|
2
|
+
import { n as IconProps, r as IconName } from "./index-Dv_fk1_F.cjs";
|
|
3
3
|
import { ButtonHTMLAttributes } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Table/TableSortLabel/TableSortLabel.d.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index-CJhK7JND.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as Theme, X as ThemeComponents, Z as ThemeDefaults, tt as ThemeLayout } from "./index-DJ0f69wh.cjs";
|
|
2
2
|
import { ComponentType, ReactNode } from "react";
|
|
3
3
|
//#region src/theme/ThemeProvider.d.ts
|
|
4
4
|
interface ThemeProviderProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-ChXeKJCk.cjs";
|
|
2
|
+
import "./index-BHKgEOZJ.cjs";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Table/TablePaginationActions/TablePaginationActions.d.ts
|
|
5
5
|
type TablePaginationActionType = 'first' | 'previous' | 'next' | 'last';
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as TextColorToken } from "./index-
|
|
3
|
-
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { et as ThemeIconSizes } from "./index-DJ0f69wh.cjs";
|
|
2
|
+
import { n as TextColorToken } from "./index-K5exjvnX.cjs";
|
|
4
3
|
import { SVGProps } from "react";
|
|
4
|
+
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Icon/icons/AccountTree.d.ts
|
|
6
6
|
declare const SvgAccountTree: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
7
7
|
//#endregion
|
|
8
|
+
//#region src/Icon/icons/Add.d.ts
|
|
9
|
+
declare const SvgAdd: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
10
|
+
//#endregion
|
|
8
11
|
//#region src/Icon/icons/AdsClick.d.ts
|
|
9
12
|
declare const SvgAdsClick: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
10
13
|
//#endregion
|
|
@@ -134,6 +137,9 @@ declare const SvgRebaseEdit: (props: SVGProps<SVGSVGElement>) => import("react")
|
|
|
134
137
|
//#region src/Icon/icons/Refresh.d.ts
|
|
135
138
|
declare const SvgRefresh: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
136
139
|
//#endregion
|
|
140
|
+
//#region src/Icon/icons/Remove.d.ts
|
|
141
|
+
declare const SvgRemove: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
142
|
+
//#endregion
|
|
137
143
|
//#region src/Icon/icons/Schema.d.ts
|
|
138
144
|
declare const SvgSchema: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
139
145
|
//#endregion
|
|
@@ -155,6 +161,12 @@ declare const SvgSpeed: (props: SVGProps<SVGSVGElement>) => import("react").JSX.
|
|
|
155
161
|
//#region src/Icon/icons/Stacks.d.ts
|
|
156
162
|
declare const SvgStacks: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
157
163
|
//#endregion
|
|
164
|
+
//#region src/Icon/icons/Star.d.ts
|
|
165
|
+
declare const SvgStar: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
166
|
+
//#endregion
|
|
167
|
+
//#region src/Icon/icons/StarBorder.d.ts
|
|
168
|
+
declare const SvgStarBorder: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
169
|
+
//#endregion
|
|
158
170
|
//#region src/Icon/icons/Table.d.ts
|
|
159
171
|
declare const SvgTable: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
160
172
|
//#endregion
|
|
@@ -180,6 +192,7 @@ declare const SvgZoomOut: (props: SVGProps<SVGSVGElement>) => import("react").JS
|
|
|
180
192
|
/** Registry of available icons, keyed by their asset file name. */
|
|
181
193
|
declare const icons: {
|
|
182
194
|
readonly account_tree: typeof SvgAccountTree;
|
|
195
|
+
readonly add: typeof SvgAdd;
|
|
183
196
|
readonly ads_click: typeof SvgAdsClick;
|
|
184
197
|
readonly analytics: typeof SvgAnalytics;
|
|
185
198
|
readonly architecture: typeof SvgArchitecture;
|
|
@@ -223,6 +236,7 @@ declare const icons: {
|
|
|
223
236
|
readonly psychology: typeof SvgPsychology;
|
|
224
237
|
readonly rebase_edit: typeof SvgRebaseEdit;
|
|
225
238
|
readonly refresh: typeof SvgRefresh;
|
|
239
|
+
readonly remove: typeof SvgRemove;
|
|
226
240
|
readonly schema: typeof SvgSchema;
|
|
227
241
|
readonly security: typeof SvgSecurity;
|
|
228
242
|
readonly settings_input_component: typeof SvgSettingsInputComponent;
|
|
@@ -230,6 +244,8 @@ declare const icons: {
|
|
|
230
244
|
readonly smartphone: typeof SvgSmartphone;
|
|
231
245
|
readonly speed: typeof SvgSpeed;
|
|
232
246
|
readonly stacks: typeof SvgStacks;
|
|
247
|
+
readonly star: typeof SvgStar;
|
|
248
|
+
readonly star_border: typeof SvgStarBorder;
|
|
233
249
|
readonly table: typeof SvgTable;
|
|
234
250
|
readonly terminal: typeof SvgTerminal;
|
|
235
251
|
readonly visibility: typeof SvgVisibility;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { W as Theme, ht as TypographyVariant } from "./index-DJ0f69wh.cjs";
|
|
3
2
|
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
3
|
+
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
//#region src/Typography/Typography.d.ts
|
|
5
5
|
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
6
6
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as Theme } from "./index-DJ0f69wh.cjs";
|
|
2
2
|
import { MouseEvent, ReactNode } from "react";
|
|
3
3
|
//#region src/Tabs/TabScrollButton/TabScrollButton.d.ts
|
|
4
4
|
/** Which way a scroll button scrolls a row of tabs: towards its start, or its end. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as TabValue } from "./TabsContext-
|
|
4
|
-
import { n as TabScrollButtonProps } from "./index-
|
|
1
|
+
import { U as TabsVariants, W as Theme } from "./index-DJ0f69wh.cjs";
|
|
2
|
+
import "./index-DchHf5cF.cjs";
|
|
3
|
+
import { t as TabValue } from "./TabsContext-B_XHbjcS.cjs";
|
|
4
|
+
import { n as TabScrollButtonProps } from "./index-KnXhlKMr.cjs";
|
|
5
5
|
import { ComponentType, ReactNode, Ref } from "react";
|
|
6
6
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
7
7
|
//#region src/Tabs/Tabs/Tabs.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as PaletteColor, W as Theme } from "./index-DJ0f69wh.cjs";
|
|
2
2
|
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
3
3
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
//#region src/Pressable/Pressable.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as TabValue } from "./TabsContext-
|
|
4
|
-
import { n as TabScrollButtonProps } from "./index-
|
|
1
|
+
import { U as TabsVariants, W as Theme } from "./index-CJhK7JND.mjs";
|
|
2
|
+
import "./index-h4dYtVrp.mjs";
|
|
3
|
+
import { t as TabValue } from "./TabsContext-Dn2kqUwr.mjs";
|
|
4
|
+
import { n as TabScrollButtonProps } from "./index-CE5JG1us.mjs";
|
|
5
5
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
import { ComponentType, ReactNode, Ref } from "react";
|
|
7
7
|
//#region src/Tabs/Tabs/Tabs.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as Theme, X as ThemeComponents, Z as ThemeDefaults, tt as ThemeLayout } from "./index-CJhK7JND.mjs";
|
|
2
2
|
import { ComponentType, ReactNode } from "react";
|
|
3
3
|
//#region src/theme/ThemeProvider.d.ts
|
|
4
4
|
interface ThemeProviderProps {
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as TextColorToken } from "./index-
|
|
3
|
-
import { SVGProps } from "react";
|
|
1
|
+
import { et as ThemeIconSizes } from "./index-CJhK7JND.mjs";
|
|
2
|
+
import { n as TextColorToken } from "./index-ClZyaZrR.mjs";
|
|
4
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { SVGProps } from "react";
|
|
5
5
|
//#region src/Icon/icons/AccountTree.d.ts
|
|
6
6
|
declare const SvgAccountTree: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
7
7
|
//#endregion
|
|
8
|
+
//#region src/Icon/icons/Add.d.ts
|
|
9
|
+
declare const SvgAdd: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
10
|
+
//#endregion
|
|
8
11
|
//#region src/Icon/icons/AdsClick.d.ts
|
|
9
12
|
declare const SvgAdsClick: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
10
13
|
//#endregion
|
|
@@ -134,6 +137,9 @@ declare const SvgRebaseEdit: (props: SVGProps<SVGSVGElement>) => import("react")
|
|
|
134
137
|
//#region src/Icon/icons/Refresh.d.ts
|
|
135
138
|
declare const SvgRefresh: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
136
139
|
//#endregion
|
|
140
|
+
//#region src/Icon/icons/Remove.d.ts
|
|
141
|
+
declare const SvgRemove: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
142
|
+
//#endregion
|
|
137
143
|
//#region src/Icon/icons/Schema.d.ts
|
|
138
144
|
declare const SvgSchema: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
139
145
|
//#endregion
|
|
@@ -155,6 +161,12 @@ declare const SvgSpeed: (props: SVGProps<SVGSVGElement>) => import("react").JSX.
|
|
|
155
161
|
//#region src/Icon/icons/Stacks.d.ts
|
|
156
162
|
declare const SvgStacks: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
157
163
|
//#endregion
|
|
164
|
+
//#region src/Icon/icons/Star.d.ts
|
|
165
|
+
declare const SvgStar: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
166
|
+
//#endregion
|
|
167
|
+
//#region src/Icon/icons/StarBorder.d.ts
|
|
168
|
+
declare const SvgStarBorder: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
169
|
+
//#endregion
|
|
158
170
|
//#region src/Icon/icons/Table.d.ts
|
|
159
171
|
declare const SvgTable: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
160
172
|
//#endregion
|
|
@@ -180,6 +192,7 @@ declare const SvgZoomOut: (props: SVGProps<SVGSVGElement>) => import("react").JS
|
|
|
180
192
|
/** Registry of available icons, keyed by their asset file name. */
|
|
181
193
|
declare const icons: {
|
|
182
194
|
readonly account_tree: typeof SvgAccountTree;
|
|
195
|
+
readonly add: typeof SvgAdd;
|
|
183
196
|
readonly ads_click: typeof SvgAdsClick;
|
|
184
197
|
readonly analytics: typeof SvgAnalytics;
|
|
185
198
|
readonly architecture: typeof SvgArchitecture;
|
|
@@ -223,6 +236,7 @@ declare const icons: {
|
|
|
223
236
|
readonly psychology: typeof SvgPsychology;
|
|
224
237
|
readonly rebase_edit: typeof SvgRebaseEdit;
|
|
225
238
|
readonly refresh: typeof SvgRefresh;
|
|
239
|
+
readonly remove: typeof SvgRemove;
|
|
226
240
|
readonly schema: typeof SvgSchema;
|
|
227
241
|
readonly security: typeof SvgSecurity;
|
|
228
242
|
readonly settings_input_component: typeof SvgSettingsInputComponent;
|
|
@@ -230,6 +244,8 @@ declare const icons: {
|
|
|
230
244
|
readonly smartphone: typeof SvgSmartphone;
|
|
231
245
|
readonly speed: typeof SvgSpeed;
|
|
232
246
|
readonly stacks: typeof SvgStacks;
|
|
247
|
+
readonly star: typeof SvgStar;
|
|
248
|
+
readonly star_border: typeof SvgStarBorder;
|
|
233
249
|
readonly table: typeof SvgTable;
|
|
234
250
|
readonly terminal: typeof SvgTerminal;
|
|
235
251
|
readonly visibility: typeof SvgVisibility;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { W as Theme } from "./index-DJ0f69wh.cjs";
|
|
2
2
|
import { KeyboardEvent, MouseEvent, ReactNode, Ref, RefCallback, SyntheticEvent } from "react";
|
|
3
3
|
//#region src/Modal/useModal.d.ts
|
|
4
4
|
type ModalCloseReason = 'escapeKey' | 'backdropClick';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { W as Theme } from "./index-CJhK7JND.mjs";
|
|
2
|
+
import { n as IconProps, r as IconName } from "./index-ha1WjSZ5.mjs";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ButtonHTMLAttributes } from "react";
|
|
5
5
|
//#region src/Table/TableSortLabel/TableSortLabel.d.ts
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as PaletteColor, W as Theme, a as ThemeCustomizationOptions, f as CSSObject, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-DJ0f69wh.cjs";
|
|
2
2
|
export * from "@soroush.tech/styled-system";
|
|
3
3
|
export { type CSSObject, type PaletteColor, type Theme, type ThemeCustomizationOptions, createShouldForwardProp, css, keyframes, props, styled };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as PaletteColor, W as Theme, a as ThemeCustomizationOptions, f as CSSObject, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-CJhK7JND.mjs";
|
|
2
2
|
export * from "@soroush.tech/styled-system";
|
|
3
3
|
export { type CSSObject, type PaletteColor, type Theme, type ThemeCustomizationOptions, createShouldForwardProp, css, keyframes, props, styled };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/utils/isRtl.ts
|
|
2
|
+
/** Whether an element sits in a right-to-left context - its nearest `dir` says so. */
|
|
3
|
+
function isRtl(element) {
|
|
4
|
+
return element.closest("[dir]")?.getAttribute("dir") === "rtl";
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
Object.defineProperty(exports, "isRtl", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function() {
|
|
10
|
+
return isRtl;
|
|
11
|
+
}
|
|
12
|
+
});
|