@soroush.tech/design-system 1.3.0 → 1.3.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/AppBar.d.cts +2 -2
- package/dist/AppBar.d.mts +2 -2
- package/dist/AppBar.mjs +1 -1
- package/dist/Avatar.d.cts +2 -2
- package/dist/Avatar.d.mts +2 -2
- package/dist/Avatar.mjs +1 -1
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Backdrop.mjs +1 -1
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/Button.mjs +1 -1
- package/dist/ButtonGroup.d.cts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/ButtonGroup.mjs +1 -1
- package/dist/Card.d.cts +3 -3
- package/dist/Card.d.mts +3 -3
- package/dist/Card.mjs +2 -2
- package/dist/Checkbox.d.cts +3 -2
- package/dist/Checkbox.d.mts +3 -2
- package/dist/Checkbox.mjs +1 -1
- package/dist/CircularProgress.d.cts +4 -3
- package/dist/CircularProgress.d.mts +4 -3
- package/dist/CircularProgress.mjs +1 -1
- package/dist/Drawer.d.cts +2 -2
- package/dist/Drawer.d.mts +2 -2
- package/dist/Drawer.mjs +2 -2
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Flex.mjs +1 -1
- package/dist/FocusTrap.mjs +1 -1
- package/dist/Form.mjs +1 -1
- package/dist/FormControl.d.cts +1 -1
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControl.mjs +1 -1
- package/dist/FormHelperText.d.cts +1 -1
- package/dist/FormHelperText.d.mts +1 -1
- package/dist/FormHelperText.mjs +1 -1
- package/dist/FormLabel.d.cts +1 -1
- package/dist/FormLabel.d.mts +1 -1
- package/dist/FormLabel.mjs +1 -1
- package/dist/Grid.d.cts +4 -3
- package/dist/Grid.d.mts +4 -3
- package/dist/Grid.mjs +1 -1
- package/dist/{Icon-GgwNXKEY.mjs → Icon-CU_nUmsU.mjs} +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 +3 -2
- package/dist/Image.d.mts +3 -2
- package/dist/Image.mjs +1 -1
- package/dist/LinearProgress.d.cts +4 -3
- package/dist/LinearProgress.d.mts +4 -3
- package/dist/LinearProgress.mjs +1 -1
- package/dist/Link.d.cts +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/Link.mjs +1 -1
- package/dist/MenuItem.d.cts +1 -1
- package/dist/MenuItem.d.mts +1 -1
- package/dist/MenuItem.mjs +2 -2
- package/dist/{Modal-C0oiFAj5.mjs → Modal-Bv-mf8Fn.mjs} +1 -1
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/Modal.mjs +1 -1
- package/dist/NativeSelect.d.cts +4 -3
- package/dist/NativeSelect.d.mts +4 -3
- package/dist/NativeSelect.mjs +2 -2
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination/PaginationItem.mjs +2 -2
- package/dist/Pagination.d.cts +2 -2
- package/dist/Pagination.d.mts +2 -2
- package/dist/Pagination.mjs +1 -1
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +1 -1
- package/dist/Paper.mjs +1 -1
- package/dist/{Popover-mz_rnf5s.mjs → Popover-CH3yI-j-.mjs} +2 -2
- package/dist/Popover.d.cts +3 -3
- package/dist/Popover.d.mts +3 -3
- package/dist/Popover.mjs +1 -1
- package/dist/Pressable.d.cts +1 -1
- package/dist/Pressable.d.mts +1 -1
- package/dist/Pressable.mjs +1 -1
- package/dist/Quote.d.cts +2 -2
- package/dist/Quote.d.mts +2 -2
- package/dist/Quote.mjs +1 -1
- package/dist/Radio.d.cts +3 -2
- package/dist/Radio.d.mts +3 -2
- package/dist/Radio.mjs +1 -1
- package/dist/Select.d.cts +4 -3
- package/dist/Select.d.mts +4 -3
- package/dist/Select.mjs +3 -3
- package/dist/Sidebar/Sidebar.d.cts +1 -1
- package/dist/Sidebar/Sidebar.d.mts +1 -1
- package/dist/Sidebar/Sidebar.mjs +1 -1
- package/dist/Sidebar/SidebarItem.d.cts +3 -3
- package/dist/Sidebar/SidebarItem.d.mts +3 -3
- package/dist/Sidebar/SidebarItem.mjs +2 -2
- package/dist/Skeleton.d.cts +3 -2
- package/dist/Skeleton.d.mts +3 -2
- package/dist/Skeleton.mjs +1 -1
- package/dist/Switch.d.cts +3 -2
- package/dist/Switch.d.mts +3 -2
- package/dist/Switch.mjs +1 -1
- package/dist/Table/Table.d.cts +3 -2
- package/dist/Table/Table.d.mts +3 -2
- package/dist/Table/Table.mjs +1 -1
- package/dist/Table/TableBody.d.cts +3 -2
- package/dist/Table/TableBody.d.mts +3 -2
- package/dist/Table/TableBody.mjs +1 -1
- package/dist/Table/TableCell.d.cts +1 -1
- package/dist/Table/TableCell.d.mts +1 -1
- package/dist/Table/TableCell.mjs +1 -1
- package/dist/Table/TableContainer.d.cts +2 -2
- package/dist/Table/TableContainer.d.mts +2 -2
- package/dist/Table/TableContainer.mjs +1 -1
- package/dist/Table/TableControl.d.cts +1 -1
- package/dist/Table/TableControl.d.mts +1 -1
- package/dist/Table/TableFooter.d.cts +3 -2
- package/dist/Table/TableFooter.d.mts +3 -2
- package/dist/Table/TableFooter.mjs +1 -1
- package/dist/Table/TableHead.d.cts +3 -2
- package/dist/Table/TableHead.d.mts +3 -2
- package/dist/Table/TableHead.mjs +1 -1
- package/dist/Table/TablePagination.d.cts +2 -2
- package/dist/Table/TablePagination.d.mts +2 -2
- package/dist/Table/TablePagination.mjs +1 -1
- package/dist/Table/TablePaginationActions.d.cts +1 -1
- package/dist/Table/TablePaginationActions.d.mts +1 -1
- package/dist/Table/TablePaginationActions.mjs +1 -1
- package/dist/Table/TableRow.d.cts +3 -2
- package/dist/Table/TableRow.d.mts +3 -2
- package/dist/Table/TableRow.mjs +1 -1
- package/dist/Table/TableSortLabel.d.cts +1 -1
- package/dist/Table/TableSortLabel.d.mts +1 -1
- package/dist/Table/TableSortLabel.mjs +2 -2
- package/dist/Table/hooks.d.cts +1 -1
- package/dist/Table/hooks.d.mts +1 -1
- package/dist/Table.d.cts +4 -4
- package/dist/Table.d.mts +4 -4
- package/dist/TextInput.d.cts +3 -2
- package/dist/TextInput.d.mts +3 -2
- package/dist/TextInput.mjs +1 -1
- package/dist/ToggleButton/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton/ToggleButton.d.mts +1 -1
- package/dist/ToggleButton/ToggleButton.mjs +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.mjs +1 -1
- package/dist/Typography.d.cts +1 -1
- package/dist/Typography.d.mts +1 -1
- package/dist/Typography.mjs +1 -1
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/View.mjs +1 -1
- package/dist/{index-DLJ-li1B.d.cts → index-2QPYJgCl.d.cts} +2 -7
- package/dist/{index-BwUnDd9W.d.mts → index-3hPS6Lm8.d.mts} +3 -2
- package/dist/{index-D8U2tk1L.d.mts → index-BAfSyQaP.d.mts} +3 -2
- package/dist/{index-0law1kXY.d.cts → index-BBWtMvkm.d.cts} +1 -1
- package/dist/{index-DjtGkwRM.d.cts → index-BPzvFTi5.d.cts} +4 -3
- package/dist/{index-CYTaYcm3.d.cts → index-BW-9sqFG.d.cts} +2 -2
- package/dist/{index--mvTGo8F.d.cts → index-BYYEoNec.d.cts} +4 -3
- package/dist/{index-CA_X-mXg.d.cts → index-BjLlSr2P.d.mts} +3 -3
- package/dist/{index-BL3jwIQU.d.mts → index-Borai-Wg.d.cts} +3 -3
- package/dist/{index-BItZoGZ1.d.mts → index-C1hP7Igl.d.mts} +4 -3
- package/dist/{index-B3FrhO2r.d.cts → index-CCfnnT2l.d.cts} +4 -3
- package/dist/{index-KZUd8B5E.d.mts → index-CKz1lEdR.d.mts} +2 -2
- package/dist/{index-dtLxevvf.d.cts → index-CSXMCqrV.d.cts} +3 -2
- package/dist/{index-CqFd46gX.d.mts → index-CTYZyQ2g.d.mts} +1 -1
- package/dist/{index-DF3Hweir.d.mts → index-CbGfrKZi.d.mts} +4 -3
- package/dist/{index-yr4HkKOj.d.cts → index-CiShdd2j.d.cts} +3 -2
- package/dist/{index-CvaEVk-f.d.cts → index-CohsoGjZ.d.cts} +5 -4
- package/dist/{index-CO3Qq0I0.d.mts → index-CrXLEJO4.d.mts} +3 -2
- package/dist/{index-Ca0Pj5m2.d.mts → index-D07y72Xr.d.mts} +4 -3
- package/dist/{index-ATXjtAOY.d.mts → index-DEEHBUUZ.d.cts} +2 -2
- package/dist/{index-B7aaTHOe.d.cts → index-DGku7hLP.d.mts} +2 -2
- package/dist/{index-zFYi0f1t.d.cts → index-DLUE7t3O.d.cts} +4 -3
- package/dist/{index-C7j38wne.d.mts → index-DfhMdqqI.d.mts} +3 -2
- package/dist/{index-v99yMdts.d.cts → index-DiLm48XP.d.cts} +4 -3
- package/dist/{index-B2hrssyF.d.mts → index-DxBKLmUS.d.mts} +5 -4
- package/dist/{index-BNP_iejT.d.cts → index-X4STXeE2.d.cts} +3 -2
- package/dist/{index-q6EgsH9R.d.mts → index-m9jUR509.d.mts} +4 -3
- package/dist/{index-DEv2QslH.d.mts → index-n2OyTMr6.d.mts} +4 -3
- package/dist/{index-D8b5OCLe.d.mts → index-q9peil7T.d.mts} +2 -6
- package/dist/{index-BJ8OC_Zh.d.cts → index-uH0EeDBZ.d.cts} +3 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{src-BJy4dM4f.mjs → src-D3tHU94W.mjs} +26 -1
- package/dist/{useTablePagination-HaIcJPv-.d.mts → useTablePagination-DOty8Ucb.d.mts} +1 -1
- package/dist/{useTablePagination-7jiSvKCh.d.cts → useTablePagination-Dh7o59Wt.d.cts} +1 -1
- package/package.json +8 -7
- package/dist/rolldown-runtime-BBjsoOtd.mjs +0 -27
package/dist/NativeSelect.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
1
|
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
-
import
|
|
2
|
+
import "./index-2QPYJgCl.cjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-Borai-Wg.cjs";
|
|
4
4
|
import { SelectHTMLAttributes } from "react";
|
|
5
|
+
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
5
6
|
//#region src/NativeSelect/NativeSelect.d.ts
|
|
6
7
|
type NativeSelectColor = keyof Theme['palette'];
|
|
7
8
|
type NativeSelectTextColor = keyof Theme['text'];
|
|
@@ -12,7 +13,7 @@ interface NativeSelectOption {
|
|
|
12
13
|
label: string;
|
|
13
14
|
value: string | number;
|
|
14
15
|
}
|
|
15
|
-
interface NativeSelectProps extends
|
|
16
|
+
interface NativeSelectProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'minWidth' | 'maxWidth'> {
|
|
16
17
|
/** The options to populate the select with. */
|
|
17
18
|
options: NativeSelectOption[];
|
|
18
19
|
/** Controlled value — matches an option's `value`. */
|
package/dist/NativeSelect.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
-
import
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
2
|
+
import "./index-q9peil7T.mjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-BjLlSr2P.mjs";
|
|
4
|
+
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
5
|
import { SelectHTMLAttributes } from "react";
|
|
5
6
|
//#region src/NativeSelect/NativeSelect.d.ts
|
|
6
7
|
type NativeSelectColor = keyof Theme['palette'];
|
|
@@ -12,7 +13,7 @@ interface NativeSelectOption {
|
|
|
12
13
|
label: string;
|
|
13
14
|
value: string | number;
|
|
14
15
|
}
|
|
15
|
-
interface NativeSelectProps extends
|
|
16
|
+
interface NativeSelectProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'minWidth' | 'maxWidth'> {
|
|
16
17
|
/** The options to populate the select with. */
|
|
17
18
|
options: NativeSelectOption[];
|
|
18
19
|
/** Controlled value — matches an option's `value`. */
|
package/dist/NativeSelect.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { r as useTheme } from "./theme-Cudynq5K.mjs";
|
|
4
|
-
import { t as Icon } from "./Icon-
|
|
4
|
+
import { t as Icon } from "./Icon-CU_nUmsU.mjs";
|
|
5
5
|
import { useFormControl } from "./FormControl.mjs";
|
|
6
6
|
import { t as inputVariantStyles } from "./inputVariantStyles-CcqpGfuP.mjs";
|
|
7
7
|
import "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-
|
|
1
|
+
import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-CiShdd2j.cjs";
|
|
2
2
|
export { PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-
|
|
1
|
+
import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-3hPS6Lm8.mjs";
|
|
2
2
|
export { PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemVariant };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "../src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "../src-D3tHU94W.mjs";
|
|
2
2
|
import { t as themeDefault } from "../themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { alpha } from "../utils.mjs";
|
|
4
|
-
import { t as Icon } from "../Icon-
|
|
4
|
+
import { t as Icon } from "../Icon-CU_nUmsU.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/Pagination/PaginationItem/PaginationItem.tsx
|
package/dist/Pagination.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as PaginationItemSize, c as UsePaginationItem, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, s as PaginationItemType, t as PaginationItem, u as usePagination } from "./index-
|
|
2
|
-
import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-
|
|
1
|
+
import { a as PaginationItemSize, c as UsePaginationItem, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, s as PaginationItemType, t as PaginationItem, u as usePagination } from "./index-CiShdd2j.cjs";
|
|
2
|
+
import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-CCfnnT2l.cjs";
|
|
3
3
|
export { Pagination, PaginationColor, PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemType, PaginationItemVariant, PaginationProps, PaginationShape, PaginationSize, PaginationVariant, UsePaginationItem, UsePaginationProps, usePagination };
|
package/dist/Pagination.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as PaginationItemSize, c as UsePaginationItem, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, s as PaginationItemType, t as PaginationItem, u as usePagination } from "./index-
|
|
2
|
-
import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-
|
|
1
|
+
import { a as PaginationItemSize, c as UsePaginationItem, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, s as PaginationItemType, t as PaginationItem, u as usePagination } from "./index-3hPS6Lm8.mjs";
|
|
2
|
+
import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-D07y72Xr.mjs";
|
|
3
3
|
export { Pagination, PaginationColor, PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemType, PaginationItemVariant, PaginationProps, PaginationShape, PaginationSize, PaginationVariant, UsePaginationItem, UsePaginationProps, usePagination };
|
package/dist/Pagination.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
|
|
2
2
|
import { PaginationItem } from "./Pagination/PaginationItem.mjs";
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
package/dist/Paper.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PaperElevation, r as PaperProps, t as Paper } from "./index-
|
|
1
|
+
import { n as PaperElevation, r as PaperProps, t as Paper } from "./index-BW-9sqFG.cjs";
|
|
2
2
|
export { Paper, PaperElevation, PaperProps };
|
package/dist/Paper.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PaperElevation, r as PaperProps, t as Paper } from "./index-
|
|
1
|
+
import { n as PaperElevation, r as PaperProps, t as Paper } from "./index-CKz1lEdR.mjs";
|
|
2
2
|
export { Paper, PaperElevation, PaperProps };
|
package/dist/Paper.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as src_exports, o as styled, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { a as src_exports, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
|
|
2
2
|
import { Flex } from "./Flex.mjs";
|
|
3
3
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
4
4
|
import { r as useTheme } from "./theme-Cudynq5K.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as styled, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
|
|
2
2
|
import { r as useTheme } from "./theme-Cudynq5K.mjs";
|
|
3
3
|
import { Paper } from "./Paper.mjs";
|
|
4
|
-
import { t as Modal } from "./Modal-
|
|
4
|
+
import { t as Modal } from "./Modal-Bv-mf8Fn.mjs";
|
|
5
5
|
import { useCallback, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/Popover/utils/resolveAnchorEl.ts
|
package/dist/Popover.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./index-DLJ-li1B.cjs";
|
|
2
1
|
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import "./index-2QPYJgCl.cjs";
|
|
3
|
+
import { n as PaperElevation, r as PaperProps } from "./index-BW-9sqFG.cjs";
|
|
4
|
+
import { l as ModalCloseReason } from "./index-BBWtMvkm.cjs";
|
|
5
5
|
import { ReactNode, Ref } from "react";
|
|
6
6
|
//#region src/Popover/utils/resolveAnchorEl.d.ts
|
|
7
7
|
type PopoverAnchorEl = HTMLElement | (() => HTMLElement | null) | null;
|
package/dist/Popover.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as PaperElevation, r as PaperProps } from "./index-
|
|
4
|
-
import { l as ModalCloseReason } from "./index-
|
|
2
|
+
import "./index-q9peil7T.mjs";
|
|
3
|
+
import { n as PaperElevation, r as PaperProps } from "./index-CKz1lEdR.mjs";
|
|
4
|
+
import { l as ModalCloseReason } from "./index-CTYZyQ2g.mjs";
|
|
5
5
|
import { ReactNode, Ref } from "react";
|
|
6
6
|
//#region src/Popover/utils/resolveAnchorEl.d.ts
|
|
7
7
|
type PopoverAnchorEl = HTMLElement | (() => HTMLElement | null) | null;
|
package/dist/Popover.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Popover } from "./Popover-
|
|
1
|
+
import { t as Popover } from "./Popover-CH3yI-j-.mjs";
|
|
2
2
|
export { Popover };
|
package/dist/Pressable.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-
|
|
1
|
+
import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-CSXMCqrV.cjs";
|
|
2
2
|
export { Pressable, PressableColor, PressableFeedback, PressableProps };
|
package/dist/Pressable.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-
|
|
1
|
+
import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-CrXLEJO4.mjs";
|
|
2
2
|
export { Pressable, PressableColor, PressableFeedback, PressableProps };
|
package/dist/Pressable.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { alpha } from "./utils.mjs";
|
|
4
4
|
import { n as useDefaultProps, r as useTheme } from "./theme-Cudynq5K.mjs";
|
package/dist/Quote.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./index-DLJ-li1B.cjs";
|
|
2
1
|
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
-
import
|
|
2
|
+
import "./index-2QPYJgCl.cjs";
|
|
3
|
+
import { s as ViewProps } from "./index-BPzvFTi5.cjs";
|
|
4
4
|
//#region src/Quote/Quote.d.ts
|
|
5
5
|
type QuoteProps = ViewProps;
|
|
6
6
|
/** A View with a 2px primary left-border — used for terminal readouts and markdown blockquotes. */
|
package/dist/Quote.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
-
import "./index-
|
|
3
|
-
import { s as ViewProps } from "./index-
|
|
2
|
+
import "./index-q9peil7T.mjs";
|
|
3
|
+
import { s as ViewProps } from "./index-m9jUR509.mjs";
|
|
4
4
|
//#region src/Quote/Quote.d.ts
|
|
5
5
|
type QuoteProps = ViewProps;
|
|
6
6
|
/** A View with a 2px primary left-border — used for terminal readouts and markdown blockquotes. */
|
package/dist/Quote.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as styled } from "./src-
|
|
1
|
+
import { o as styled } from "./src-D3tHU94W.mjs";
|
|
2
2
|
import { View } from "./View.mjs";
|
|
3
3
|
//#region src/Quote/Quote.tsx
|
|
4
4
|
/** A View with a 2px primary left-border — used for terminal readouts and markdown blockquotes. */
|
package/dist/Radio.d.cts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
1
|
import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.cjs";
|
|
2
|
+
import "./index-2QPYJgCl.cjs";
|
|
3
3
|
import { ChangeEvent, InputHTMLAttributes, ReactNode } from "react";
|
|
4
|
+
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
5
|
//#region src/Radio/Radio.d.ts
|
|
5
6
|
type RadioColor = PaletteColor;
|
|
6
7
|
type RadioSize = keyof Theme['sizes'];
|
|
7
|
-
interface RadioProps extends
|
|
8
|
+
interface RadioProps extends SpaceProps<Theme> {
|
|
8
9
|
/** Controlled checked state. Must be paired with `onChange`. */
|
|
9
10
|
checked?: boolean;
|
|
10
11
|
/** Disables the radio. */
|
package/dist/Radio.d.mts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
-
import
|
|
2
|
+
import "./index-q9peil7T.mjs";
|
|
3
|
+
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
3
4
|
import { ChangeEvent, InputHTMLAttributes, ReactNode } from "react";
|
|
4
5
|
//#region src/Radio/Radio.d.ts
|
|
5
6
|
type RadioColor = PaletteColor;
|
|
6
7
|
type RadioSize = keyof Theme['sizes'];
|
|
7
|
-
interface RadioProps extends
|
|
8
|
+
interface RadioProps extends SpaceProps<Theme> {
|
|
8
9
|
/** Controlled checked state. Must be paired with `onChange`. */
|
|
9
10
|
checked?: boolean;
|
|
10
11
|
/** Disables the radio. */
|
package/dist/Radio.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { useFormControl } from "./FormControl.mjs";
|
|
4
4
|
import "react";
|
package/dist/Select.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
1
|
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
-
import
|
|
2
|
+
import "./index-2QPYJgCl.cjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-Borai-Wg.cjs";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
|
+
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
5
6
|
//#region src/Select/utils/isOptionSelected.d.ts
|
|
6
7
|
/** The union of value shapes `Select` holds: a single value, or an array in multiple mode. */
|
|
7
8
|
type SelectValue = string | number | Array<string | number>;
|
|
@@ -12,7 +13,7 @@ type SelectTextColor = keyof Theme['text'];
|
|
|
12
13
|
type SelectBackgroundToken = keyof Theme['background'];
|
|
13
14
|
type SelectVariant = 'default' | 'outlined' | 'text' | 'underline';
|
|
14
15
|
type SelectSize = keyof Theme['sizes'];
|
|
15
|
-
interface SelectProps extends
|
|
16
|
+
interface SelectProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'minWidth' | 'maxWidth'> {
|
|
16
17
|
/** `MenuItem` children — one per option. */
|
|
17
18
|
children: ReactNode;
|
|
18
19
|
/** Render a native `<select>` (delegates to `NativeSelect`, single-select) instead of the custom listbox. */
|
package/dist/Select.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
-
import
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
2
|
+
import "./index-q9peil7T.mjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-BjLlSr2P.mjs";
|
|
4
|
+
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
5
|
import { ReactNode } from "react";
|
|
5
6
|
//#region src/Select/utils/isOptionSelected.d.ts
|
|
6
7
|
/** The union of value shapes `Select` holds: a single value, or an array in multiple mode. */
|
|
@@ -12,7 +13,7 @@ type SelectTextColor = keyof Theme['text'];
|
|
|
12
13
|
type SelectBackgroundToken = keyof Theme['background'];
|
|
13
14
|
type SelectVariant = 'default' | 'outlined' | 'text' | 'underline';
|
|
14
15
|
type SelectSize = keyof Theme['sizes'];
|
|
15
|
-
interface SelectProps extends
|
|
16
|
+
interface SelectProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'minWidth' | 'maxWidth'> {
|
|
16
17
|
/** `MenuItem` children — one per option. */
|
|
17
18
|
children: ReactNode;
|
|
18
19
|
/** Render a native `<select>` (delegates to `NativeSelect`, single-select) instead of the custom listbox. */
|
package/dist/Select.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { r as useTheme } from "./theme-Cudynq5K.mjs";
|
|
4
|
-
import { t as Icon } from "./Icon-
|
|
4
|
+
import { t as Icon } from "./Icon-CU_nUmsU.mjs";
|
|
5
5
|
import { useFormControl } from "./FormControl.mjs";
|
|
6
6
|
import { t as inputVariantStyles } from "./inputVariantStyles-CcqpGfuP.mjs";
|
|
7
7
|
import { NativeSelect } from "./NativeSelect.mjs";
|
|
8
|
-
import { t as Popover } from "./Popover-
|
|
8
|
+
import { t as Popover } from "./Popover-CH3yI-j-.mjs";
|
|
9
9
|
import { Children, cloneElement, isValidElement, useCallback, useId, useState } from "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region src/Select/hooks/useSelectPopover.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as FlexProps } from "../index-
|
|
1
|
+
import { n as FlexProps } from "../index-DLUE7t3O.cjs";
|
|
2
2
|
import { i as SidebarItemVariant, t as SidebarAnchor } from "../SidebarContext-ao6lRfTX.cjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
//#region src/Sidebar/Sidebar/Sidebar.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as FlexProps } from "../index-
|
|
1
|
+
import { n as FlexProps } from "../index-n2OyTMr6.mjs";
|
|
2
2
|
import { i as SidebarItemVariant, t as SidebarAnchor } from "../SidebarContext-ao6lRfTX.mjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
//#region src/Sidebar/Sidebar/Sidebar.d.ts
|
package/dist/Sidebar/Sidebar.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../index-DLJ-li1B.cjs";
|
|
2
1
|
import { h as Theme } from "../themes-CUV79qWU.cjs";
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
2
|
+
import "../index-2QPYJgCl.cjs";
|
|
3
|
+
import { r as IconName } from "../index-Borai-Wg.cjs";
|
|
4
|
+
import { i as PressableProps } from "../index-CSXMCqrV.cjs";
|
|
5
5
|
import { i as SidebarItemVariant } from "../SidebarContext-ao6lRfTX.cjs";
|
|
6
6
|
import { ReactNode } from "react";
|
|
7
7
|
//#region src/Sidebar/SidebarItem/SidebarItem.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as Theme } from "../themes-CUV79qWU.mjs";
|
|
2
|
-
import "../index-
|
|
3
|
-
import { r as IconName } from "../index-
|
|
4
|
-
import { i as PressableProps } from "../index-
|
|
2
|
+
import "../index-q9peil7T.mjs";
|
|
3
|
+
import { r as IconName } from "../index-BjLlSr2P.mjs";
|
|
4
|
+
import { i as PressableProps } from "../index-CrXLEJO4.mjs";
|
|
5
5
|
import { i as SidebarItemVariant } from "../SidebarContext-ao6lRfTX.mjs";
|
|
6
6
|
import { ReactNode } from "react";
|
|
7
7
|
//#region src/Sidebar/SidebarItem/SidebarItem.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as src_exports, o as styled } from "../src-
|
|
1
|
+
import { a as src_exports, o as styled } from "../src-D3tHU94W.mjs";
|
|
2
2
|
import { Flex } from "../Flex.mjs";
|
|
3
3
|
import { alpha } from "../utils.mjs";
|
|
4
4
|
import { Typography } from "../Typography.mjs";
|
|
5
|
-
import { t as Icon } from "../Icon-
|
|
5
|
+
import { t as Icon } from "../Icon-CU_nUmsU.mjs";
|
|
6
6
|
import { Portal } from "../Portal.mjs";
|
|
7
7
|
import { Pressable } from "../Pressable.mjs";
|
|
8
8
|
import { t as SidebarContext } from "../SidebarContext-DgSLwjur.mjs";
|
package/dist/Skeleton.d.cts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
1
|
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
2
|
+
import "./index-2QPYJgCl.cjs";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
|
+
import { PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
5
|
//#region src/Skeleton/Skeleton.d.ts
|
|
5
6
|
type SkeletonVariant = 'text' | 'circular' | 'rectangular';
|
|
6
7
|
type SkeletonAnimation = 'pulse' | 'wave' | false;
|
|
7
8
|
type SkeletonRadius = keyof Theme['radii'];
|
|
8
|
-
interface SkeletonProps extends HTMLAttributes<HTMLSpanElement>, Omit<
|
|
9
|
+
interface SkeletonProps extends HTMLAttributes<HTMLSpanElement>, Omit<SpaceProps<Theme>, keyof PaddingProps> {
|
|
9
10
|
/** Shape of the placeholder. Default: `'text'`. */
|
|
10
11
|
variant?: SkeletonVariant;
|
|
11
12
|
/** Corner radius — resolves against `theme.radii` (sq · sm · md · lg). Overrides the variant default. */
|
package/dist/Skeleton.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
-
import
|
|
2
|
+
import "./index-q9peil7T.mjs";
|
|
3
|
+
import { PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
4
|
import { HTMLAttributes } from "react";
|
|
4
5
|
//#region src/Skeleton/Skeleton.d.ts
|
|
5
6
|
type SkeletonVariant = 'text' | 'circular' | 'rectangular';
|
|
6
7
|
type SkeletonAnimation = 'pulse' | 'wave' | false;
|
|
7
8
|
type SkeletonRadius = keyof Theme['radii'];
|
|
8
|
-
interface SkeletonProps extends HTMLAttributes<HTMLSpanElement>, Omit<
|
|
9
|
+
interface SkeletonProps extends HTMLAttributes<HTMLSpanElement>, Omit<SpaceProps<Theme>, keyof PaddingProps> {
|
|
9
10
|
/** Shape of the placeholder. Default: `'text'`. */
|
|
10
11
|
variant?: SkeletonVariant;
|
|
11
12
|
/** Corner radius — resolves against `theme.radii` (sq · sm · md · lg). Overrides the variant default. */
|
package/dist/Skeleton.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, r as keyframes, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, r as keyframes, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
|
|
2
2
|
import "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/Skeleton/Skeleton.tsx
|
package/dist/Switch.d.cts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
1
|
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
2
|
+
import "./index-2QPYJgCl.cjs";
|
|
3
3
|
import { ChangeEvent, ReactNode } from "react";
|
|
4
|
+
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
5
|
//#region src/Switch/Switch.d.ts
|
|
5
6
|
type SwitchColor = keyof Theme['palette'];
|
|
6
7
|
type SwitchSize = keyof Theme['sizes'];
|
|
7
8
|
type SwitchEdge = 'start' | 'end' | false;
|
|
8
9
|
type SwitchVariant = 'outside' | 'inside';
|
|
9
|
-
interface SwitchProps extends
|
|
10
|
+
interface SwitchProps extends SpaceProps<Theme> {
|
|
10
11
|
checked?: boolean;
|
|
11
12
|
defaultChecked?: boolean;
|
|
12
13
|
disabled?: boolean;
|
package/dist/Switch.d.mts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
-
import
|
|
2
|
+
import "./index-q9peil7T.mjs";
|
|
3
|
+
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
3
4
|
import { ChangeEvent, ReactNode } from "react";
|
|
4
5
|
//#region src/Switch/Switch.d.ts
|
|
5
6
|
type SwitchColor = keyof Theme['palette'];
|
|
6
7
|
type SwitchSize = keyof Theme['sizes'];
|
|
7
8
|
type SwitchEdge = 'start' | 'end' | false;
|
|
8
9
|
type SwitchVariant = 'outside' | 'inside';
|
|
9
|
-
interface SwitchProps extends
|
|
10
|
+
interface SwitchProps extends SpaceProps<Theme> {
|
|
10
11
|
checked?: boolean;
|
|
11
12
|
defaultChecked?: boolean;
|
|
12
13
|
disabled?: boolean;
|
package/dist/Switch.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { alpha } from "./utils.mjs";
|
|
4
4
|
import { r as useTheme } from "./theme-Cudynq5K.mjs";
|
package/dist/Table/Table.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { r as index_d_exports } from "../index-DLJ-li1B.cjs";
|
|
2
1
|
import { d as PaletteColor, h as Theme } from "../themes-CUV79qWU.cjs";
|
|
2
|
+
import "../index-2QPYJgCl.cjs";
|
|
3
3
|
import { t as TableCellPadding } from "../TableContext-BoOxdk8p.cjs";
|
|
4
4
|
import { ElementType, TableHTMLAttributes } from "react";
|
|
5
|
+
import { BorderProps, LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
5
6
|
//#region src/Table/Table/Table.d.ts
|
|
6
7
|
/** Valid values for the bg prop — derived from theme.background keys. */
|
|
7
8
|
type TableBackgroundToken = keyof Theme['background'];
|
|
@@ -9,7 +10,7 @@ type TableBackgroundToken = keyof Theme['background'];
|
|
|
9
10
|
type TableSize = keyof Theme['sizes'];
|
|
10
11
|
/** Valid values for the borderColor prop — derived from theme.border keys. */
|
|
11
12
|
type TableBorderColorToken = keyof Theme['border'];
|
|
12
|
-
interface TableProps extends Omit<TableHTMLAttributes<HTMLTableElement>, 'color' | 'cellPadding' | 'align' | 'width' | 'border'>,
|
|
13
|
+
interface TableProps extends Omit<TableHTMLAttributes<HTMLTableElement>, 'color' | 'cellPadding' | 'align' | 'width' | 'border'>, SpaceProps<Theme>, LayoutProps<Theme>, Omit<BorderProps<Theme>, 'borderColor'> {
|
|
13
14
|
/**
|
|
14
15
|
* Palette color for descendant rows' hover/selected shading — broadcast to
|
|
15
16
|
* `TableRow`s via `TableContext`; a row's own `color` wins.
|
package/dist/Table/Table.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { d as PaletteColor, h as Theme } from "../themes-CUV79qWU.mjs";
|
|
2
|
-
import
|
|
2
|
+
import "../index-q9peil7T.mjs";
|
|
3
3
|
import { t as TableCellPadding } from "../TableContext-DV31j6HO.mjs";
|
|
4
|
+
import { BorderProps, LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
5
|
import { ElementType, TableHTMLAttributes } from "react";
|
|
5
6
|
//#region src/Table/Table/Table.d.ts
|
|
6
7
|
/** Valid values for the bg prop — derived from theme.background keys. */
|
|
@@ -9,7 +10,7 @@ type TableBackgroundToken = keyof Theme['background'];
|
|
|
9
10
|
type TableSize = keyof Theme['sizes'];
|
|
10
11
|
/** Valid values for the borderColor prop — derived from theme.border keys. */
|
|
11
12
|
type TableBorderColorToken = keyof Theme['border'];
|
|
12
|
-
interface TableProps extends Omit<TableHTMLAttributes<HTMLTableElement>, 'color' | 'cellPadding' | 'align' | 'width' | 'border'>,
|
|
13
|
+
interface TableProps extends Omit<TableHTMLAttributes<HTMLTableElement>, 'color' | 'cellPadding' | 'align' | 'width' | 'border'>, SpaceProps<Theme>, LayoutProps<Theme>, Omit<BorderProps<Theme>, 'borderColor'> {
|
|
13
14
|
/**
|
|
14
15
|
* Palette color for descendant rows' hover/selected shading — broadcast to
|
|
15
16
|
* `TableRow`s via `TableContext`; a row's own `color` wins.
|
package/dist/Table/Table.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "../src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "../src-D3tHU94W.mjs";
|
|
2
2
|
import { t as TableContext } from "../TableContext-Dyr89h_k.mjs";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { r as index_d_exports } from "../index-DLJ-li1B.cjs";
|
|
2
1
|
import { h as Theme } from "../themes-CUV79qWU.cjs";
|
|
2
|
+
import "../index-2QPYJgCl.cjs";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
|
+
import { BorderProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
5
|
//#region src/Table/TableBody/TableBody.d.ts
|
|
5
6
|
/** Valid values for the color prop — derived from theme.text keys. */
|
|
6
7
|
type TableBodyColorToken = keyof Theme['text'];
|
|
@@ -8,7 +9,7 @@ type TableBodyColorToken = keyof Theme['text'];
|
|
|
8
9
|
type TableBodyBackgroundToken = keyof Theme['background'];
|
|
9
10
|
/** Valid values for the borderColor prop — derived from theme.border keys. */
|
|
10
11
|
type TableBodyBorderColorToken = keyof Theme['border'];
|
|
11
|
-
interface TableBodyProps extends Omit<HTMLAttributes<HTMLTableSectionElement>, 'color'>,
|
|
12
|
+
interface TableBodyProps extends Omit<HTMLAttributes<HTMLTableSectionElement>, 'color'>, SpaceProps<Theme>, Omit<BorderProps<Theme>, 'borderColor' | 'borderRadius'> {
|
|
12
13
|
/** Resolves against theme.text */
|
|
13
14
|
color?: TableBodyColorToken;
|
|
14
15
|
/** Resolves against theme.background */
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h as Theme } from "../themes-CUV79qWU.mjs";
|
|
2
|
-
import
|
|
2
|
+
import "../index-q9peil7T.mjs";
|
|
3
|
+
import { BorderProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
4
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
5
|
//#region src/Table/TableBody/TableBody.d.ts
|
|
5
6
|
/** Valid values for the color prop — derived from theme.text keys. */
|
|
@@ -8,7 +9,7 @@ type TableBodyColorToken = keyof Theme['text'];
|
|
|
8
9
|
type TableBodyBackgroundToken = keyof Theme['background'];
|
|
9
10
|
/** Valid values for the borderColor prop — derived from theme.border keys. */
|
|
10
11
|
type TableBodyBorderColorToken = keyof Theme['border'];
|
|
11
|
-
interface TableBodyProps extends Omit<HTMLAttributes<HTMLTableSectionElement>, 'color'>,
|
|
12
|
+
interface TableBodyProps extends Omit<HTMLAttributes<HTMLTableSectionElement>, 'color'>, SpaceProps<Theme>, Omit<BorderProps<Theme>, 'borderColor' | 'borderRadius'> {
|
|
12
13
|
/** Resolves against theme.text */
|
|
13
14
|
color?: TableBodyColorToken;
|
|
14
15
|
/** Resolves against theme.background */
|
package/dist/Table/TableBody.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "../src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "../src-D3tHU94W.mjs";
|
|
2
2
|
import { t as TableSectionContext } from "../TableSectionContext-meIG4lFZ.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -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-X4STXeE2.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-DfhMdqqI.mjs";
|
|
2
2
|
export { TableCell, TableCellAlign, TableCellBackgroundToken, TableCellBorderColorToken, TableCellColorToken, TableCellProps, TableCellSortDirection, TableCellVariant };
|
package/dist/Table/TableCell.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "../src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "../src-D3tHU94W.mjs";
|
|
2
2
|
import { t as themeDefault } from "../themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { t as TableContext } from "../TableContext-Dyr89h_k.mjs";
|
|
4
4
|
import { t as TableSectionContext } from "../TableSectionContext-meIG4lFZ.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../index-DLJ-li1B.cjs";
|
|
2
1
|
import { h as Theme } from "../themes-CUV79qWU.cjs";
|
|
3
|
-
import
|
|
2
|
+
import "../index-2QPYJgCl.cjs";
|
|
3
|
+
import { s as ViewProps } from "../index-BPzvFTi5.cjs";
|
|
4
4
|
//#region src/Table/TableContainer/TableContainer.d.ts
|
|
5
5
|
type TableContainerProps = ViewProps;
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as Theme } from "../themes-CUV79qWU.mjs";
|
|
2
|
-
import "../index-
|
|
3
|
-
import { s as ViewProps } from "../index-
|
|
2
|
+
import "../index-q9peil7T.mjs";
|
|
3
|
+
import { s as ViewProps } from "../index-m9jUR509.mjs";
|
|
4
4
|
//#region src/Table/TableContainer/TableContainer.d.ts
|
|
5
5
|
type TableContainerProps = ViewProps;
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-
|
|
1
|
+
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-Dh7o59Wt.cjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
//#region src/Table/TableControl/TableControl.d.ts
|
|
4
4
|
interface TableControlProps<T, K extends string = string> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-
|
|
1
|
+
import { a as TableSortMap, t as TablePaginationState } from "../useTablePagination-DOty8Ucb.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
//#region src/Table/TableControl/TableControl.d.ts
|
|
4
4
|
interface TableControlProps<T, K extends string = string> {
|