@soroush.tech/design-system 2.0.0-alpha.4 → 2.0.0-alpha.5
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 +3 -3
- package/dist/AppBar.d.mts +3 -3
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.d.cts +3 -3
- package/dist/Avatar.d.mts +3 -3
- package/dist/Avatar.mjs +1 -1
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Button.cjs +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/Card.cjs +2 -2
- 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 +2 -2
- package/dist/Checkbox.d.mts +2 -2
- package/dist/CircularProgress.d.cts +3 -3
- package/dist/CircularProgress.d.mts +3 -3
- package/dist/Drawer.cjs +1 -0
- package/dist/Drawer.d.cts +2 -2
- package/dist/Drawer.d.mts +2 -2
- package/dist/Drawer.mjs +1 -0
- 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 +1 -1
- package/dist/FormControl.d.cts +2 -2
- package/dist/FormControl.d.mts +2 -2
- package/dist/FormControl.mjs +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 +3 -3
- package/dist/Grid.d.mts +3 -3
- package/dist/{Icon-BGcd6yy0.mjs → Icon-CnYvHWhh.mjs} +1 -1
- package/dist/{Icon-Cn6Zx8wb.cjs → Icon-DRBVfAHY.cjs} +1 -1
- 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 +2 -2
- package/dist/Image.d.mts +2 -2
- package/dist/LinearProgress.d.cts +3 -3
- package/dist/LinearProgress.d.mts +3 -3
- package/dist/Link.cjs +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.cjs +2 -2
- package/dist/MenuItem.d.cts +2 -2
- package/dist/MenuItem.d.mts +2 -2
- package/dist/MenuItem.mjs +2 -2
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/NativeSelect.cjs +2 -2
- package/dist/NativeSelect.d.cts +3 -3
- package/dist/NativeSelect.d.mts +3 -3
- package/dist/NativeSelect.mjs +2 -2
- 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.cjs +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-CrSABgRk.cjs → Popover-CGJO-ztB.cjs} +1 -1
- package/dist/{Popover-DlpXdcwt.mjs → Popover-DPcahLFU.mjs} +1 -1
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.d.cts +4 -4
- package/dist/Popover.d.mts +4 -4
- package/dist/Popover.mjs +1 -1
- package/dist/Pressable.cjs +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 +3 -3
- package/dist/Quote.d.mts +3 -3
- package/dist/Radio.d.cts +2 -2
- package/dist/Radio.d.mts +2 -2
- package/dist/Select.cjs +7 -3
- package/dist/Select.d.cts +3 -3
- package/dist/Select.d.mts +3 -3
- package/dist/Select.mjs +7 -3
- 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 +4 -4
- package/dist/Sidebar/SidebarItem.d.mts +4 -4
- package/dist/Sidebar/SidebarItem.mjs +1 -1
- package/dist/Skeleton.d.cts +2 -2
- package/dist/Skeleton.d.mts +2 -2
- package/dist/Switch.cjs +1 -1
- package/dist/Switch.d.cts +2 -2
- package/dist/Switch.d.mts +2 -2
- package/dist/Switch.mjs +1 -1
- package/dist/Table/Table.d.cts +3 -3
- package/dist/Table/Table.d.mts +3 -3
- package/dist/Table/TableBody.d.cts +2 -2
- package/dist/Table/TableBody.d.mts +2 -2
- package/dist/Table/TableCell.d.cts +1 -1
- package/dist/Table/TableCell.d.mts +1 -1
- package/dist/Table/TableContainer.d.cts +3 -3
- package/dist/Table/TableContainer.d.mts +3 -3
- package/dist/Table/TableControl.d.cts +1 -1
- package/dist/Table/TableControl.d.mts +1 -1
- package/dist/Table/TableFooter.d.cts +2 -2
- package/dist/Table/TableFooter.d.mts +2 -2
- package/dist/Table/TableHead.d.cts +2 -2
- package/dist/Table/TableHead.d.mts +2 -2
- package/dist/Table/TablePagination.d.cts +2 -2
- package/dist/Table/TablePagination.d.mts +2 -2
- package/dist/Table/TablePaginationActions.cjs +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 +2 -2
- package/dist/Table/TableRow.d.mts +2 -2
- 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-BowhBZkZ.d.cts → TableContext-CA6a5Ol5.d.cts} +1 -1
- package/dist/{TableContext-GmYLRYpc.d.mts → TableContext-CIuPZ_at.d.mts} +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.d.cts +2 -2
- package/dist/TextInput.d.mts +2 -2
- package/dist/TextInput.mjs +1 -1
- package/dist/ToggleButton/ToggleButton.cjs +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.cjs +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.cjs +1 -1
- package/dist/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +1 -1
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-D5Rj4uWe.d.cts → index-5w87AK-Y.d.cts} +2 -2
- package/dist/{index-N_TM6YXV.d.cts → index-B2ljqGWF.d.cts} +3 -3
- package/dist/{index-CmscFo1L.d.mts → index-BAsVlkuL.d.mts} +2 -2
- package/dist/{index-VwsWkazt.d.cts → index-BCQ9LmG1.d.cts} +2 -2
- package/dist/{index-CPNzQhUu.d.cts → index-BHIuGvMo.d.cts} +2 -2
- package/dist/{index-DTeurv8z.d.cts → index-BSYW7cMN.d.mts} +4 -4
- package/dist/{index-BBV7_p-W.d.mts → index-BUb6X9OH.d.mts} +1 -1
- package/dist/{index-C_VwtHyK.d.mts → index-BUrUPbcB.d.mts} +3 -3
- package/dist/{index-D2yMhmE_.d.mts → index-BYqxI8bu.d.cts} +4 -4
- package/dist/{index-BUvlTtD7.d.mts → index-BcU5ow8v.d.mts} +3 -3
- package/dist/{index-CNzkJGNq.d.cts → index-BqJWxp9I.d.cts} +3 -3
- package/dist/{index-BsUsSWXP.d.cts → index-C1uWcbTj.d.cts} +1 -1
- package/dist/{index-BbngAEDY.d.mts → index-CAjXum0k.d.cts} +2 -2
- package/dist/{index-C-kvrbCi.d.cts → index-CQRdyj3E.d.mts} +2 -2
- package/dist/{index-C8SeYUxJ.d.cts → index-CSoaaZ20.d.cts} +2 -2
- package/dist/{index-D0XX9v0b.d.cts → index-ChPaQZ6F.d.cts} +3 -3
- package/dist/{index-C7bEBYuv.d.mts → index-Cj--T8Sh.d.mts} +3 -3
- package/dist/{index-DRM_YhHL.d.cts → index-ClclP_mB.d.cts} +3 -3
- package/dist/{index-t6XUvJ_3.d.mts → index-CllDs3D0.d.mts} +2 -2
- package/dist/{index-BHyJ6P_D.d.mts → index-DLezwPW8.d.mts} +20 -2
- package/dist/{index-BO-vkjtm.d.cts → index-DPMcs3Q1.d.cts} +20 -2
- package/dist/{index-B2eLreA5.d.cts → index-DT6KvZ1x.d.cts} +2 -2
- package/dist/{index-CMKzrxOO.d.mts → index-DbkAYV9r.d.mts} +2 -2
- package/dist/{index-CxDY_w-H.d.cts → index-DmJCHY90.d.cts} +1 -1
- package/dist/{index-BW4rc8cK.d.cts → index-Dq5PHWL4.d.mts} +2 -2
- package/dist/{index-di-L2lJ9.d.mts → index-DzdiUOgM.d.cts} +2 -2
- package/dist/{index-DYtIEMr9.d.mts → index-FiPb4-DU.d.mts} +2 -2
- package/dist/{index-Dkqk_6g2.d.mts → index-e5hDFZ05.d.mts} +1 -1
- package/dist/{index-CGCO5eo7.d.mts → index-q3Ftmjpf.d.mts} +3 -3
- package/dist/{index-C58AZZQ2.d.cts → index-sCbCJL02.d.cts} +3 -3
- package/dist/{index-BT-mcuE6.d.mts → index-yQfi7MqO.d.mts} +3 -3
- package/dist/{index-DJ8NTYR8.d.mts → index-yR_0laAQ.d.mts} +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/style.cjs +1 -1
- package/dist/style.d.cts +2 -2
- package/dist/style.d.mts +2 -2
- package/dist/style.mjs +1 -1
- package/dist/testing.cjs +59 -0
- package/dist/testing.d.cts +9 -0
- package/dist/testing.d.mts +9 -0
- package/dist/testing.mjs +58 -0
- package/dist/{theme-DfAqr7qo.cjs → theme-B0P8owUo.cjs} +34 -0
- package/dist/{theme-C1o9qa2E.mjs → theme-DdjeZjsA.mjs} +30 -2
- package/dist/theme.cjs +2 -1
- package/dist/theme.d.cts +3 -3
- package/dist/theme.d.mts +3 -3
- package/dist/theme.mjs +2 -2
- package/dist/{themes-Dswy4M6B.d.cts → themes-CQKn24UN.d.mts} +2 -2
- package/dist/{themes-C3RTORGO.d.mts → themes-DEom6o-J.d.cts} +2 -2
- package/dist/{useTablePagination-BueH0_dG.d.cts → useTablePagination-Ci9tV-Y3.d.cts} +1 -1
- package/dist/{useTablePagination-CxBh-gU8.d.mts → useTablePagination-Et2FY7SE.d.mts} +1 -1
- package/package.json +12 -2
|
@@ -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-BqJWxp9I.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-Cj--T8Sh.mjs";
|
|
2
2
|
export { TableSortLabel, TableSortLabelDirection, TableSortLabelProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "../src-DLGYOJMh.mjs";
|
|
2
|
-
import { t as Icon } from "../Icon-
|
|
2
|
+
import { t as Icon } from "../Icon-CnYvHWhh.mjs";
|
|
3
3
|
import { t as TableContext } from "../TableContext-Dyr89h_k.mjs";
|
|
4
4
|
import { useContext } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
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-Ci9tV-Y3.cjs";
|
|
2
2
|
//#region src/Table/hooks/useTableSelection.d.ts
|
|
3
3
|
/** Header select-all state - spreads directly onto `Checkbox`. */
|
|
4
4
|
interface TableSelectionAllProps {
|
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-Et2FY7SE.mjs";
|
|
2
2
|
//#region src/Table/hooks/useTableSelection.d.ts
|
|
3
3
|
/** Header select-all state - spreads directly onto `Checkbox`. */
|
|
4
4
|
interface TableSelectionAllProps {
|
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-CA6a5Ol5.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-BYqxI8bu.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-BqJWxp9I.cjs";
|
|
7
|
+
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "./useTablePagination-Ci9tV-Y3.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-DzdiUOgM.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-CIuPZ_at.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-BSYW7cMN.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-Cj--T8Sh.mjs";
|
|
7
|
+
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "./useTablePagination-Et2FY7SE.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-CQRdyj3E.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";
|
package/dist/TextInput.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_src = require("./src-DU81aGy9.cjs");
|
|
3
3
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
4
|
-
const require_theme = require("./theme-
|
|
4
|
+
const require_theme = require("./theme-B0P8owUo.cjs");
|
|
5
5
|
const require_FormControl = require("./FormControl.cjs");
|
|
6
6
|
const require_inputVariantStyles = require("./inputVariantStyles-BBkkYQtE.cjs");
|
|
7
7
|
let react = require("react");
|
package/dist/TextInput.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import "./index-C1uWcbTj.cjs";
|
|
3
3
|
import { ChangeEventHandler, ElementType, InputHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
4
4
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/TextInput/TextInput.d.ts
|
package/dist/TextInput.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme } from "./themes-CQKn24UN.mjs";
|
|
2
|
+
import "./index-e5hDFZ05.mjs";
|
|
3
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ChangeEventHandler, ElementType, InputHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
5
5
|
//#region src/TextInput/TextInput.d.ts
|
package/dist/TextInput.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
|
-
import { r as useTheme } from "./theme-
|
|
3
|
+
import { r as useTheme } from "./theme-DdjeZjsA.mjs";
|
|
4
4
|
import { useFormControl } from "./FormControl.mjs";
|
|
5
5
|
import { t as inputVariantStyles } from "./inputVariantStyles-CcqpGfuP.mjs";
|
|
6
6
|
import { forwardRef, useCallback, useLayoutEffect, useRef } from "react";
|
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_src = require("../src-DU81aGy9.cjs");
|
|
3
3
|
const require_themeDefault = require("../themeDefault-Cebi08Cv.cjs");
|
|
4
4
|
const require_utils = require("../utils.cjs");
|
|
5
|
-
const require_theme = require("../theme-
|
|
5
|
+
const require_theme = require("../theme-B0P8owUo.cjs");
|
|
6
6
|
const require_ButtonGroupContext = require("../ButtonGroupContext-NtkVeDVE.cjs");
|
|
7
7
|
const require_Button = require("../Button.cjs");
|
|
8
8
|
const require_ToggleButtonGroupContext = require("../ToggleButtonGroupContext-Ewc5Ixas.cjs");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ButtonProps } from "../index-
|
|
1
|
+
import { i as ButtonProps } from "../index-DT6KvZ1x.cjs";
|
|
2
2
|
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-10jEsQdg.cjs";
|
|
3
3
|
//#region src/ToggleButton/ToggleButton/ToggleButton.d.ts
|
|
4
4
|
interface ToggleButtonProps extends Omit<ButtonProps, 'variant' | 'href' | 'target' | 'rel' | 'value' | 'onChange'> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ButtonProps } from "../index-
|
|
1
|
+
import { i as ButtonProps } from "../index-FiPb4-DU.mjs";
|
|
2
2
|
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-10jEsQdg.mjs";
|
|
3
3
|
//#region src/ToggleButton/ToggleButton/ToggleButton.d.ts
|
|
4
4
|
interface ToggleButtonProps extends Omit<ButtonProps, 'variant' | 'href' | 'target' | 'rel' | 'value' | 'onChange'> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as src_exports, o as styled } from "../src-DLGYOJMh.mjs";
|
|
2
2
|
import { t as themeDefault } from "../themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { alpha } from "../utils.mjs";
|
|
4
|
-
import { r as useTheme } from "../theme-
|
|
4
|
+
import { r as useTheme } from "../theme-DdjeZjsA.mjs";
|
|
5
5
|
import { t as ButtonGroupContext } from "../ButtonGroupContext-DS-kl9lG.mjs";
|
|
6
6
|
import { Button } from "../Button.mjs";
|
|
7
7
|
import { t as ToggleButtonGroupContext } from "../ToggleButtonGroupContext-DxIyy8ze.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_src = require("../src-DU81aGy9.cjs");
|
|
3
3
|
const require_themeDefault = require("../themeDefault-Cebi08Cv.cjs");
|
|
4
|
-
const require_theme = require("../theme-
|
|
4
|
+
const require_theme = require("../theme-B0P8owUo.cjs");
|
|
5
5
|
const require_ButtonGroup = require("../ButtonGroup.cjs");
|
|
6
6
|
const require_ToggleButtonGroupContext = require("../ToggleButtonGroupContext-Ewc5Ixas.cjs");
|
|
7
7
|
let react = require("react");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ButtonGroupProps } from "../index-
|
|
1
|
+
import { a as ButtonGroupProps } from "../index-ChPaQZ6F.cjs";
|
|
2
2
|
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-10jEsQdg.cjs";
|
|
3
3
|
//#region src/ToggleButton/ToggleButtonGroup/ToggleButtonGroup.d.ts
|
|
4
4
|
interface ToggleButtonGroupProps extends Omit<ButtonGroupProps, 'variant' | 'onChange'> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ButtonGroupProps } from "../index-
|
|
1
|
+
import { a as ButtonGroupProps } from "../index-yQfi7MqO.mjs";
|
|
2
2
|
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-10jEsQdg.mjs";
|
|
3
3
|
//#region src/ToggleButton/ToggleButtonGroup/ToggleButtonGroup.d.ts
|
|
4
4
|
interface ToggleButtonGroupProps extends Omit<ButtonGroupProps, 'variant' | 'onChange'> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as styled } from "../src-DLGYOJMh.mjs";
|
|
2
2
|
import { t as themeDefault } from "../themeDefault-Z3KmyIbm.mjs";
|
|
3
|
-
import { r as useTheme } from "../theme-
|
|
3
|
+
import { r as useTheme } from "../theme-DdjeZjsA.mjs";
|
|
4
4
|
import { ButtonGroup } from "../ButtonGroup.mjs";
|
|
5
5
|
import { t as ToggleButtonGroupContext } from "../ToggleButtonGroupContext-DxIyy8ze.mjs";
|
|
6
6
|
import { useMemo } from "react";
|
package/dist/Typography.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_src = require("./src-DU81aGy9.cjs");
|
|
3
|
-
const require_theme = require("./theme-
|
|
3
|
+
const require_theme = require("./theme-B0P8owUo.cjs");
|
|
4
4
|
require("react");
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
package/dist/Typography.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Y as TypographyVariant } from "./themes-
|
|
2
|
-
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-
|
|
1
|
+
import { Y as TypographyVariant } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-5w87AK-Y.cjs";
|
|
3
3
|
export { BackgroundToken, TextColorToken, Typography, TypographyAlign, TypographyProps, type TypographyVariant };
|
package/dist/Typography.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Y as TypographyVariant } from "./themes-
|
|
2
|
-
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-
|
|
1
|
+
import { Y as TypographyVariant } from "./themes-CQKn24UN.mjs";
|
|
2
|
+
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-yR_0laAQ.mjs";
|
|
3
3
|
export { BackgroundToken, TextColorToken, Typography, TypographyAlign, TypographyProps, type TypographyVariant };
|
package/dist/Typography.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
|
|
2
|
-
import { r as useTheme } from "./theme-
|
|
2
|
+
import { r as useTheme } from "./theme-DdjeZjsA.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/Typography/Typography.tsx
|
package/dist/View.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ViewBorderWidthToken, i as ViewBorderRadiusToken, n as ViewBackgroundToken, o as ViewColorToken, r as ViewBorderColorToken, s as ViewProps, t as View } from "./index-
|
|
1
|
+
import { a as ViewBorderWidthToken, i as ViewBorderRadiusToken, n as ViewBackgroundToken, o as ViewColorToken, r as ViewBorderColorToken, s as ViewProps, t as View } from "./index-CSoaaZ20.cjs";
|
|
2
2
|
export { View, ViewBackgroundToken, ViewBorderColorToken, ViewBorderRadiusToken, ViewBorderWidthToken, ViewColorToken, ViewProps };
|
package/dist/View.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ViewBorderWidthToken, i as ViewBorderRadiusToken, n as ViewBackgroundToken, o as ViewColorToken, r as ViewBorderColorToken, s as ViewProps, t as View } from "./index-
|
|
1
|
+
import { a as ViewBorderWidthToken, i as ViewBorderRadiusToken, n as ViewBackgroundToken, o as ViewColorToken, r as ViewBorderColorToken, s as ViewProps, t as View } from "./index-CllDs3D0.mjs";
|
|
2
2
|
export { View, ViewBackgroundToken, ViewBorderColorToken, ViewBorderRadiusToken, ViewBorderWidthToken, ViewColorToken, ViewProps };
|
package/dist/engine.d.cts
CHANGED
package/dist/engine.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, Y as TypographyVariant } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, Y as TypographyVariant } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import "./index-C1uWcbTj.cjs";
|
|
3
3
|
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
4
4
|
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Typography/Typography.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as FlexProps } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import "./index-C1uWcbTj.cjs";
|
|
3
|
+
import { n as FlexProps } from "./index-ClclP_mB.cjs";
|
|
4
4
|
import { CSSProperties, ElementType } from "react";
|
|
5
5
|
//#region src/Paper/Paper.d.ts
|
|
6
6
|
type PaperElevation = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, x as PaletteColor } from "./themes-CQKn24UN.mjs";
|
|
2
|
+
import "./index-e5hDFZ05.mjs";
|
|
3
3
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
5
5
|
//#region src/Pressable/Pressable.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, x as PaletteColor } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import "./index-C1uWcbTj.cjs";
|
|
3
3
|
import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Pagination/hooks/usePagination.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, x as PaletteColor } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import "./index-C1uWcbTj.cjs";
|
|
3
3
|
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
4
4
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Pressable/Pressable.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
4
|
-
import { ElementType, ThHTMLAttributes } from "react";
|
|
1
|
+
import { T as Theme } from "./themes-CQKn24UN.mjs";
|
|
2
|
+
import "./index-e5hDFZ05.mjs";
|
|
3
|
+
import { t as TableCellPadding } from "./TableContext-CIuPZ_at.mjs";
|
|
5
4
|
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
|
+
import { ElementType, ThHTMLAttributes } from "react";
|
|
6
6
|
//#region src/Table/TableSectionContext.d.ts
|
|
7
7
|
/** The table section a cell lives in - drives `TableCell`'s th/td element resolution. */
|
|
8
8
|
type TableSection = 'head' | 'body' | 'footer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TextColorToken } from "./index-
|
|
1
|
+
import { n as TextColorToken } from "./index-yR_0laAQ.mjs";
|
|
2
2
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
3
|
import { SVGProps } from "react";
|
|
4
4
|
//#region src/Icon/icons/AccountTree.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-CQKn24UN.mjs";
|
|
2
|
+
import "./index-e5hDFZ05.mjs";
|
|
3
|
+
import { s as ViewProps } from "./index-CllDs3D0.mjs";
|
|
4
4
|
import { FlexboxProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Flex/Flex.d.ts
|
|
6
6
|
/** Valid values for the gap prop - derived from theme.space keys. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
4
|
-
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { T as Theme } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import "./index-C1uWcbTj.cjs";
|
|
3
|
+
import { t as TableCellPadding } from "./TableContext-CA6a5Ol5.cjs";
|
|
5
4
|
import { ElementType, ThHTMLAttributes } from "react";
|
|
5
|
+
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/Table/TableSectionContext.d.ts
|
|
7
7
|
/** The table section a cell lives in - drives `TableCell`'s th/td element resolution. */
|
|
8
8
|
type TableSection = 'head' | 'body' | 'footer';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as FlexProps } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-CQKn24UN.mjs";
|
|
2
|
+
import "./index-e5hDFZ05.mjs";
|
|
3
|
+
import { n as FlexProps } from "./index-BUrUPbcB.mjs";
|
|
4
4
|
import { CSSProperties, ElementType } from "react";
|
|
5
5
|
//#region src/Paper/Paper.d.ts
|
|
6
6
|
type PaperElevation = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import "./index-C1uWcbTj.cjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-DmJCHY90.cjs";
|
|
4
4
|
import { ButtonHTMLAttributes } from "react";
|
|
5
5
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/Table/TableSortLabel/TableSortLabel.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
1
|
+
import { T as Theme } from "./themes-DEom6o-J.cjs";
|
|
2
2
|
import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@emotion/styled";
|
|
3
3
|
import { PropsOf, css, keyframes } from "@emotion/react";
|
|
4
4
|
import { ComponentClass, ComponentProps, ComponentType, JSX, Ref } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import "./index-C1uWcbTj.cjs";
|
|
3
3
|
import { KeyboardEvent, MouseEvent, ReactNode, Ref, RefCallback, SyntheticEvent } from "react";
|
|
4
4
|
//#region src/Modal/useModal.d.ts
|
|
5
5
|
type ModalCloseReason = 'escapeKey' | 'backdropClick';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-DbkAYV9r.mjs";
|
|
2
|
+
import "./index-q3Ftmjpf.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,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import "./index-C1uWcbTj.cjs";
|
|
3
3
|
import { CSSProperties, HTMLAttributes } from "react";
|
|
4
4
|
import { BorderProps, FlexboxProps, LayoutFrameProps, LayoutProps, PositionProps, SpaceProps, SpanProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/View/View.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import "./index-C1uWcbTj.cjs";
|
|
3
|
+
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-DT6KvZ1x.cjs";
|
|
4
4
|
import { ElementType, HTMLAttributes } from "react";
|
|
5
5
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/ButtonGroup/ButtonGroup.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-CQKn24UN.mjs";
|
|
2
|
+
import "./index-e5hDFZ05.mjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-BUb6X9OH.mjs";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
import { ButtonHTMLAttributes } from "react";
|
|
6
6
|
//#region src/Table/TableSortLabel/TableSortLabel.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import "./index-C1uWcbTj.cjs";
|
|
3
|
+
import { s as ViewProps } from "./index-CSoaaZ20.cjs";
|
|
4
4
|
import { FlexboxProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Flex/Flex.d.ts
|
|
6
6
|
/** Valid values for the gap prop - derived from theme.space keys. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme } from "./themes-CQKn24UN.mjs";
|
|
2
|
+
import "./index-e5hDFZ05.mjs";
|
|
3
3
|
import { BorderProps, FlexboxProps, LayoutFrameProps, LayoutProps, PositionProps, SpaceProps, SpanProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { CSSProperties, HTMLAttributes } from "react";
|
|
5
5
|
//#region src/View/View.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ThemeDefaults, T as Theme, j as ThemeComponents } from "./themes-
|
|
1
|
+
import { I as ThemeLayout, M as ThemeDefaults, T as Theme, j as ThemeComponents } from "./themes-CQKn24UN.mjs";
|
|
2
2
|
import { ComponentType, ReactNode } from "react";
|
|
3
3
|
//#region src/theme/ThemeProvider.d.ts
|
|
4
4
|
interface ThemeProviderProps {
|
|
@@ -17,6 +17,24 @@ interface ThemeProviderProps {
|
|
|
17
17
|
}
|
|
18
18
|
declare function ThemeProvider({ children, theme, defaults }: Readonly<ThemeProviderProps>): import("react").JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
|
+
//#region src/theme/LayoutProvider.d.ts
|
|
21
|
+
interface LayoutProviderProps {
|
|
22
|
+
/**
|
|
23
|
+
* The page's layout: `theme.layout`'s shape - `content`, `panels`, `bars` per breakpoint -
|
|
24
|
+
* partial. A value holds from its breakpoint up, until the page sets it again. Keep it stable
|
|
25
|
+
* (defined outside the component, or memoized): a new object re-derives the theme.
|
|
26
|
+
*/
|
|
27
|
+
layout: ThemeLayout;
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @description A page-level layout: everything inside sees `theme.layout` with the page's
|
|
32
|
+
* values merged on top - `View`, `Flex` and `Grid` with `layout`, and `useTheme().layout`. It
|
|
33
|
+
* derives the theme from the one around it and changes nothing else, so colours, light/dark
|
|
34
|
+
* switching and every other token stay the app theme's. Nested providers stack.
|
|
35
|
+
*/
|
|
36
|
+
declare function LayoutProvider({ layout, children }: Readonly<LayoutProviderProps>): import("react").JSX.Element;
|
|
37
|
+
//#endregion
|
|
20
38
|
//#region src/theme/utils/themeDefault.d.ts
|
|
21
39
|
/**
|
|
22
40
|
* Resolves a component's default token/variant key: the theme's optional
|
|
@@ -50,4 +68,4 @@ declare function withTheme<P extends object>(WrappedComponent: ComponentType<P &
|
|
|
50
68
|
theme: Theme;
|
|
51
69
|
}>): (props: P) => import("react").JSX.Element;
|
|
52
70
|
//#endregion
|
|
53
|
-
export {
|
|
71
|
+
export { LayoutProvider as a, themeDefault as i, useDefaultProps as n, LayoutProviderProps as o, useTheme as r, ThemeProvider as s, withTheme as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ThemeDefaults, T as Theme, j as ThemeComponents } from "./themes-
|
|
1
|
+
import { I as ThemeLayout, M as ThemeDefaults, T as Theme, j as ThemeComponents } from "./themes-DEom6o-J.cjs";
|
|
2
2
|
import { ComponentType, ReactNode } from "react";
|
|
3
3
|
//#region src/theme/ThemeProvider.d.ts
|
|
4
4
|
interface ThemeProviderProps {
|
|
@@ -17,6 +17,24 @@ interface ThemeProviderProps {
|
|
|
17
17
|
}
|
|
18
18
|
declare function ThemeProvider({ children, theme, defaults }: Readonly<ThemeProviderProps>): import("react").JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
|
+
//#region src/theme/LayoutProvider.d.ts
|
|
21
|
+
interface LayoutProviderProps {
|
|
22
|
+
/**
|
|
23
|
+
* The page's layout: `theme.layout`'s shape - `content`, `panels`, `bars` per breakpoint -
|
|
24
|
+
* partial. A value holds from its breakpoint up, until the page sets it again. Keep it stable
|
|
25
|
+
* (defined outside the component, or memoized): a new object re-derives the theme.
|
|
26
|
+
*/
|
|
27
|
+
layout: ThemeLayout;
|
|
28
|
+
children: ReactNode;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @description A page-level layout: everything inside sees `theme.layout` with the page's
|
|
32
|
+
* values merged on top - `View`, `Flex` and `Grid` with `layout`, and `useTheme().layout`. It
|
|
33
|
+
* derives the theme from the one around it and changes nothing else, so colours, light/dark
|
|
34
|
+
* switching and every other token stay the app theme's. Nested providers stack.
|
|
35
|
+
*/
|
|
36
|
+
declare function LayoutProvider({ layout, children }: Readonly<LayoutProviderProps>): import("react").JSX.Element;
|
|
37
|
+
//#endregion
|
|
20
38
|
//#region src/theme/utils/themeDefault.d.ts
|
|
21
39
|
/**
|
|
22
40
|
* Resolves a component's default token/variant key: the theme's optional
|
|
@@ -50,4 +68,4 @@ declare function withTheme<P extends object>(WrappedComponent: ComponentType<P &
|
|
|
50
68
|
theme: Theme;
|
|
51
69
|
}>): (props: P) => import("react").JSX.Element;
|
|
52
70
|
//#endregion
|
|
53
|
-
export {
|
|
71
|
+
export { LayoutProvider as a, themeDefault as i, useDefaultProps as n, LayoutProviderProps as o, useTheme as r, ThemeProvider as s, withTheme as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, i as ButtonVariants, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, i as ButtonVariants, x as PaletteColor } from "./themes-DEom6o-J.cjs";
|
|
2
|
+
import "./index-C1uWcbTj.cjs";
|
|
3
3
|
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
4
4
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Button/Button.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, x as PaletteColor } from "./themes-CQKn24UN.mjs";
|
|
2
|
+
import "./index-e5hDFZ05.mjs";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
|
|
5
5
|
//#region src/Pagination/hooks/usePagination.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TextColorToken } from "./index-
|
|
1
|
+
import { n as TextColorToken } from "./index-5w87AK-Y.cjs";
|
|
2
2
|
import { SVGProps } from "react";
|
|
3
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
//#region src/Icon/icons/AccountTree.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme } from "./themes-CQKn24UN.mjs";
|
|
2
|
+
import "./index-e5hDFZ05.mjs";
|
|
3
3
|
import { KeyboardEvent, MouseEvent, ReactNode, Ref, RefCallback, SyntheticEvent } from "react";
|
|
4
4
|
//#region src/Modal/useModal.d.ts
|
|
5
5
|
type ModalCloseReason = 'escapeKey' | 'backdropClick';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-BCQ9LmG1.cjs";
|
|
2
|
+
import "./index-sCbCJL02.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,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, i as ButtonVariants, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, i as ButtonVariants, x as PaletteColor } from "./themes-CQKn24UN.mjs";
|
|
2
|
+
import "./index-e5hDFZ05.mjs";
|
|
3
3
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
5
5
|
//#region src/Button/Button.d.ts
|