@soroush.tech/design-system 1.0.0 → 1.1.0
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 +5 -5
- package/dist/AppBar.d.cts +3 -3
- package/dist/AppBar.d.mts +3 -3
- package/dist/Avatar.d.cts +3 -3
- package/dist/Avatar.d.mts +3 -3
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Button.cjs +0 -6
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/Button.mjs +0 -6
- 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 +3 -3
- package/dist/Card.d.mts +3 -3
- package/dist/Card.mjs +1 -1
- 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.d.cts +2 -2
- package/dist/Drawer.d.mts +2 -2
- package/dist/Flex.cjs +2 -6
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Flex.mjs +2 -8
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +1 -1
- package/dist/FormControl.d.cts +2 -2
- package/dist/FormControl.d.mts +2 -2
- 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.cjs +2 -25
- package/dist/Grid.d.cts +4 -11
- package/dist/Grid.d.mts +4 -11
- package/dist/Grid.mjs +2 -24
- package/dist/{Icon-zsHe7hWR.cjs → Icon-BOjk5r39.cjs} +30 -0
- package/dist/{Icon-bv8Z38l-.mjs → Icon-CYjD0Bad.mjs} +30 -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 +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 -5
- package/dist/Link.d.cts +1 -2
- package/dist/Link.d.mts +1 -2
- package/dist/Link.mjs +2 -6
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.d.cts +2 -2
- package/dist/MenuItem.d.mts +2 -2
- package/dist/MenuItem.mjs +1 -1
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/NativeSelect.cjs +1 -1
- package/dist/NativeSelect.d.cts +3 -3
- package/dist/NativeSelect.d.mts +3 -3
- package/dist/NativeSelect.mjs +1 -1
- 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 +0 -2
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +1 -1
- package/dist/Paper.mjs +0 -2
- package/dist/Popover.d.cts +4 -4
- package/dist/Popover.d.mts +4 -4
- package/dist/Pressable.cjs +123 -0
- package/dist/Pressable.d.cts +2 -0
- package/dist/Pressable.d.mts +2 -0
- package/dist/Pressable.mjs +121 -0
- package/dist/Quote.d.cts +4 -4
- package/dist/Quote.d.mts +4 -4
- package/dist/Radio.d.cts +2 -2
- package/dist/Radio.d.mts +2 -2
- package/dist/Select.cjs +1 -1
- package/dist/Select.d.cts +3 -3
- package/dist/Select.d.mts +3 -3
- package/dist/Select.mjs +1 -1
- package/dist/Sidebar/Sidebar.cjs +94 -0
- package/dist/Sidebar/Sidebar.d.cts +59 -0
- package/dist/Sidebar/Sidebar.d.mts +59 -0
- package/dist/Sidebar/Sidebar.mjs +93 -0
- package/dist/Sidebar/SidebarItem.cjs +125 -0
- package/dist/Sidebar/SidebarItem.d.cts +39 -0
- package/dist/Sidebar/SidebarItem.d.mts +39 -0
- package/dist/Sidebar/SidebarItem.mjs +124 -0
- package/dist/Sidebar.cjs +7 -0
- package/dist/Sidebar.d.cts +4 -0
- package/dist/Sidebar.d.mts +4 -0
- package/dist/Sidebar.mjs +4 -0
- package/dist/SidebarContext-DgSLwjur.mjs +10 -0
- package/dist/SidebarContext-ao6lRfTX.d.cts +37 -0
- package/dist/SidebarContext-ao6lRfTX.d.mts +37 -0
- package/dist/SidebarContext-jG6OioC-.cjs +14 -0
- package/dist/Skeleton.d.cts +2 -2
- package/dist/Skeleton.d.mts +2 -2
- package/dist/Switch.d.cts +2 -2
- package/dist/Switch.d.mts +2 -2
- 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 +4 -4
- package/dist/Table/TableContainer.d.mts +4 -4
- 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.d.cts +1 -1
- package/dist/Table/TablePaginationActions.d.mts +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-DOhYeOFx.d.cts → TableContext-BoOxdk8p.d.cts} +1 -1
- package/dist/{TableContext-adilRIJZ.d.mts → TableContext-DV31j6HO.d.mts} +1 -1
- package/dist/TextInput.d.cts +2 -2
- package/dist/TextInput.d.mts +2 -2
- 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/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- package/dist/View.cjs +0 -2
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/View.mjs +0 -2
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-DwjxjLcD.d.mts → index--mvTGo8F.d.cts} +3 -3
- package/dist/{index-CY0Czi9Z.d.cts → index-ATXjtAOY.d.mts} +2 -2
- package/dist/{index-BF2KXGBM.d.mts → index-B2hrssyF.d.mts} +2 -2
- package/dist/{index-C-UBdWKI.d.cts → index-B3FrhO2r.d.cts} +3 -3
- package/dist/{index-DCwLdUQH.d.mts → index-B7aaTHOe.d.cts} +2 -2
- package/dist/{index-BGzs2cKy.d.mts → index-BItZoGZ1.d.mts} +3 -3
- package/dist/{index-CLCtvcKA.d.mts → index-BJ8OC_Zh.d.cts} +2 -2
- package/dist/{index-D0x1ZMVG.d.mts → index-BL3jwIQU.d.mts} +5 -2
- package/dist/{index-D2H_6WLf.d.cts → index-BNP_iejT.d.cts} +3 -3
- package/dist/{index-BpLv6Y8m.d.mts → index-BfpjEqqt.d.cts} +2 -2
- package/dist/{index-0J6U39Rl.d.mts → index-BoOs5h_b.d.mts} +1 -1
- package/dist/{index-ypEBcdCx.d.mts → index-BwUnDd9W.d.mts} +2 -2
- package/dist/{index-DGqakgRN.d.mts → index-C7j38wne.d.mts} +3 -3
- package/dist/{index-DN7IvJeV.d.cts → index-CA_X-mXg.d.cts} +5 -2
- package/dist/index-CO3Qq0I0.d.mts +49 -0
- package/dist/{index-DLiHZtDi.d.mts → index-CYTaYcm3.d.cts} +3 -5
- package/dist/{index-DitJ7ss0.d.mts → index-Ca0Pj5m2.d.mts} +3 -3
- package/dist/{index-BLnOsdgc.d.cts → index-CvaEVk-f.d.cts} +2 -2
- package/dist/{index-BnCp6k4s.d.cts → index-D8U2tk1L.d.mts} +2 -2
- package/dist/{index-B66h9kbP.d.mts → index-D8b5OCLe.d.mts} +1 -1
- package/dist/{index-DhcmRr8Q.d.cts → index-DEv2QslH.d.mts} +4 -7
- package/dist/{index-C1vVYigQ.d.cts → index-DF3Hweir.d.mts} +3 -3
- package/dist/{index-BVX_Jq2G.d.cts → index-DLJ-li1B.d.cts} +1 -1
- package/dist/{index-CYNgNatZ.d.mts → index-DjtGkwRM.d.cts} +2 -4
- package/dist/{index-DdFxl06Q.d.cts → index-Ds__py2h.d.mts} +2 -2
- package/dist/{index-HnvGdPCp.d.cts → index-KZUd8B5E.d.mts} +3 -5
- package/dist/{index-CJQXZ4hq.d.cts → index-MsUtFRul.d.cts} +1 -1
- package/dist/index-dtLxevvf.d.cts +49 -0
- package/dist/{index-B8FOqBiS.d.cts → index-q6EgsH9R.d.mts} +2 -4
- package/dist/{index-BahGB82c.d.cts → index-v99yMdts.d.cts} +3 -3
- package/dist/{index-BGWm4HKR.d.cts → index-yr4HkKOj.d.cts} +2 -2
- package/dist/{index-BJcHQUga.d.mts → index-zFYi0f1t.d.cts} +4 -7
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- 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/{themes-BTGww2YK.d.cts → themes-CUV79qWU.d.cts} +16 -1
- package/dist/{themes-BTGww2YK.d.mts → themes-CUV79qWU.d.mts} +16 -1
- package/dist/{useTablePagination-D6T-fQFc.d.mts → useTablePagination-7jiSvKCh.d.cts} +1 -1
- package/dist/{useTablePagination-_94Wrvj9.d.cts → useTablePagination-HaIcJPv-.d.mts} +1 -1
- package/package.json +22 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TablePaginationActions, r as TablePaginationActionsProps, t as TablePaginationActionType } from "../index-
|
|
1
|
+
import { n as TablePaginationActions, r as TablePaginationActionsProps, t as TablePaginationActionType } from "../index-B7aaTHOe.cjs";
|
|
2
2
|
export { TablePaginationActionType, TablePaginationActions, TablePaginationActionsProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TablePaginationActions, r as TablePaginationActionsProps, t as TablePaginationActionType } from "../index-
|
|
1
|
+
import { n as TablePaginationActions, r as TablePaginationActionsProps, t as TablePaginationActionType } from "../index-ATXjtAOY.mjs";
|
|
2
2
|
export { TablePaginationActionType, TablePaginationActions, TablePaginationActionsProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as index_d_exports } from "../index-
|
|
2
|
-
import { d as PaletteColor,
|
|
1
|
+
import { r as index_d_exports } from "../index-DLJ-li1B.cjs";
|
|
2
|
+
import { d as PaletteColor, h as Theme } from "../themes-CUV79qWU.cjs";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Table/TableRow/TableRow.d.ts
|
|
5
5
|
/** Palette color driving the hover/selected shading — a `theme.palette` key. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as PaletteColor,
|
|
2
|
-
import { r as index_d_exports } from "../index-
|
|
1
|
+
import { d as PaletteColor, h as Theme } from "../themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "../index-D8b5OCLe.mjs";
|
|
3
3
|
import { ElementType, HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Table/TableRow/TableRow.d.ts
|
|
5
5
|
/** Palette color driving the hover/selected shading — a `theme.palette` key. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_src = require("../src-C8PIppTy.cjs");
|
|
3
|
-
const require_Icon = require("../Icon-
|
|
3
|
+
const require_Icon = require("../Icon-BOjk5r39.cjs");
|
|
4
4
|
const require_TableContext = require("../TableContext-Bfg1C3Sr.cjs");
|
|
5
5
|
let react = require("react");
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -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-v99yMdts.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-BItZoGZ1.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-BJy4dM4f.mjs";
|
|
2
|
-
import { t as Icon } from "../Icon-
|
|
2
|
+
import { t as Icon } from "../Icon-CYjD0Bad.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-7jiSvKCh.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-HaIcJPv-.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-BoOxdk8p.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-BNP_iejT.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-v99yMdts.cjs";
|
|
7
|
+
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "./useTablePagination-7jiSvKCh.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-B7aaTHOe.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-DV31j6HO.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-C7j38wne.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-BItZoGZ1.mjs";
|
|
7
|
+
import { a as TableSortMap, i as TableSortEntry, n as UseTablePaginationOptions, o as useTableSort, r as useTablePagination, t as TablePaginationState } from "./useTablePagination-HaIcJPv-.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-ATXjtAOY.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.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
3
|
import { ChangeEventHandler, ElementType, InputHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
4
4
|
//#region src/TextInput/TextInput.d.ts
|
|
5
5
|
type TextInputColor = keyof Theme['palette'];
|
package/dist/TextInput.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as index_d_exports } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
3
|
import { ChangeEventHandler, ElementType, InputHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
4
4
|
//#region src/TextInput/TextInput.d.ts
|
|
5
5
|
type TextInputColor = keyof Theme['palette'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ButtonProps } from "../index-
|
|
1
|
+
import { i as ButtonProps } from "../index-BJ8OC_Zh.cjs";
|
|
2
2
|
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-CqD-Afho.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-D8U2tk1L.mjs";
|
|
2
2
|
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-CqD-Afho.mjs";
|
|
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 { a as ButtonGroupProps } from "../index
|
|
1
|
+
import { a as ButtonGroupProps } from "../index--mvTGo8F.cjs";
|
|
2
2
|
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-CqD-Afho.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-DF3Hweir.mjs";
|
|
2
2
|
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-CqD-Afho.mjs";
|
|
3
3
|
//#region src/ToggleButton/ToggleButtonGroup/ToggleButtonGroup.d.ts
|
|
4
4
|
interface ToggleButtonGroupProps extends Omit<ButtonGroupProps, 'variant' | 'onChange'> {
|
package/dist/Typography.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-
|
|
1
|
+
import { L as TypographyVariant } from "./themes-CUV79qWU.cjs";
|
|
2
|
+
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-CvaEVk-f.cjs";
|
|
3
3
|
export { BackgroundToken, TextColorToken, Typography, TypographyAlign, TypographyProps, type TypographyVariant };
|
package/dist/Typography.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-
|
|
1
|
+
import { L as TypographyVariant } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-B2hrssyF.mjs";
|
|
3
3
|
export { BackgroundToken, TextColorToken, Typography, TypographyAlign, TypographyProps, type TypographyVariant };
|
package/dist/View.cjs
CHANGED
|
@@ -6,7 +6,6 @@ let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/sty
|
|
|
6
6
|
const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)([
|
|
7
7
|
..._soroush_tech_styled_system_should_forward_prop.props,
|
|
8
8
|
"cursor",
|
|
9
|
-
"aspectRatio",
|
|
10
9
|
"order"
|
|
11
10
|
]);
|
|
12
11
|
const colorSystem = (0, require_src.src_exports.system)({
|
|
@@ -20,7 +19,6 @@ const colorSystem = (0, require_src.src_exports.system)({
|
|
|
20
19
|
},
|
|
21
20
|
opacity: { property: "opacity" },
|
|
22
21
|
cursor: { property: "cursor" },
|
|
23
|
-
aspectRatio: { property: "aspectRatio" },
|
|
24
22
|
order: { property: "order" }
|
|
25
23
|
});
|
|
26
24
|
const View = require_src.styled("div", {
|
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-DjtGkwRM.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-q6EgsH9R.mjs";
|
|
2
2
|
export { View, ViewBackgroundToken, ViewBorderColorToken, ViewBorderRadiusToken, ViewBorderWidthToken, ViewColorToken, ViewProps };
|
package/dist/View.mjs
CHANGED
|
@@ -4,7 +4,6 @@ import "react";
|
|
|
4
4
|
const shouldForwardProp = createShouldForwardProp([
|
|
5
5
|
...props,
|
|
6
6
|
"cursor",
|
|
7
|
-
"aspectRatio",
|
|
8
7
|
"order"
|
|
9
8
|
]);
|
|
10
9
|
const colorSystem = (0, src_exports.system)({
|
|
@@ -18,7 +17,6 @@ const colorSystem = (0, src_exports.system)({
|
|
|
18
17
|
},
|
|
19
18
|
opacity: { property: "opacity" },
|
|
20
19
|
cursor: { property: "cursor" },
|
|
21
|
-
aspectRatio: { property: "aspectRatio" },
|
|
22
20
|
order: { property: "order" }
|
|
23
21
|
});
|
|
24
22
|
const View = styled("div", {
|
package/dist/engine.d.cts
CHANGED
package/dist/engine.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
+
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-BJ8OC_Zh.cjs";
|
|
4
4
|
import { ElementType, HTMLAttributes } from "react";
|
|
5
5
|
//#region src/ButtonGroup/ButtonGroup.d.ts
|
|
6
6
|
type ButtonGroupOrientation = 'horizontal' | 'vertical';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-BwUnDd9W.mjs";
|
|
2
|
+
import "./index-Ca0Pj5m2.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 {
|
|
2
|
-
import { r as index_d_exports } from "./index-
|
|
1
|
+
import { L as TypographyVariant, h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
3
|
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Typography/Typography.d.ts
|
|
5
5
|
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-
|
|
2
|
-
import {
|
|
3
|
-
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
+
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-yr4HkKOj.cjs";
|
|
4
4
|
import { HTMLAttributes } from "react";
|
|
5
5
|
//#region src/Pagination/Pagination.d.ts
|
|
6
6
|
type PaginationColor = PaginationItemColor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-yr4HkKOj.cjs";
|
|
2
|
+
import "./index-B3FrhO2r.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,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as index_d_exports } from "./index-
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-BL3jwIQU.mjs";
|
|
4
4
|
import { ButtonHTMLAttributes } from "react";
|
|
5
5
|
//#region src/Table/TableSortLabel/TableSortLabel.d.ts
|
|
6
6
|
type TableSortLabelDirection = 'asc' | 'desc';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { d as PaletteColor, h as Theme, n as ButtonVariants } from "./themes-CUV79qWU.cjs";
|
|
3
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`. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-
|
|
2
|
-
import { n as TextColorToken } from "./index-
|
|
1
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
2
|
+
import { n as TextColorToken } from "./index-B2hrssyF.mjs";
|
|
3
3
|
import { SVGProps } from "react";
|
|
4
4
|
//#region src/Icon/icons.d.ts
|
|
5
5
|
/** Registry of available icons, keyed by their asset file name. */
|
|
@@ -23,16 +23,19 @@ declare const icons: {
|
|
|
23
23
|
readonly database: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
24
24
|
readonly desktop_windows: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
25
25
|
readonly dns: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
26
|
+
readonly edit_note: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
26
27
|
readonly expand_less: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
27
28
|
readonly expand_more: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
28
29
|
readonly external_link: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
29
30
|
readonly first_page: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
31
|
+
readonly folder: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
30
32
|
readonly format_list_bulleted: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
31
33
|
readonly format_list_numbered: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
32
34
|
readonly format_quote: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
33
35
|
readonly fullscreen: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
34
36
|
readonly grid_view: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
35
37
|
readonly groups: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
38
|
+
readonly history: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
36
39
|
readonly hub: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
37
40
|
readonly image: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
38
41
|
readonly language: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-
|
|
2
|
-
import {
|
|
3
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
+
import { t as TableCellPadding } from "./TableContext-BoOxdk8p.cjs";
|
|
4
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. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./
|
|
1
|
+
import "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.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,4 +1,4 @@
|
|
|
1
|
-
import { b as
|
|
1
|
+
import { b as ThemeComponents, h as Theme, x as ThemeDefaults } from "./themes-CUV79qWU.mjs";
|
|
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 { d as PaletteColor,
|
|
2
|
-
import { r as index_d_exports } from "./index-
|
|
1
|
+
import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
3
|
import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
|
|
4
4
|
//#region src/Pagination/hooks/usePagination.d.ts
|
|
5
5
|
type PaginationItemType = 'page' | 'first' | 'previous' | 'next' | 'last' | 'start-ellipsis' | 'end-ellipsis';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as index_d_exports } from "./index-
|
|
3
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
|
+
import { t as TableCellPadding } from "./TableContext-DV31j6HO.mjs";
|
|
4
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. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-
|
|
2
|
-
import { n as TextColorToken } from "./index-
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { n as TextColorToken } from "./index-CvaEVk-f.cjs";
|
|
3
3
|
import { SVGProps } from "react";
|
|
4
4
|
//#region src/Icon/icons.d.ts
|
|
5
5
|
/** Registry of available icons, keyed by their asset file name. */
|
|
@@ -23,16 +23,19 @@ declare const icons: {
|
|
|
23
23
|
readonly database: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
24
24
|
readonly desktop_windows: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
25
25
|
readonly dns: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
26
|
+
readonly edit_note: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
26
27
|
readonly expand_less: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
27
28
|
readonly expand_more: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
28
29
|
readonly external_link: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
29
30
|
readonly first_page: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
31
|
+
readonly folder: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
30
32
|
readonly format_list_bulleted: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
31
33
|
readonly format_list_numbered: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
32
34
|
readonly format_quote: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
33
35
|
readonly fullscreen: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
34
36
|
readonly grid_view: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
35
37
|
readonly groups: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
38
|
+
readonly history: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
36
39
|
readonly hub: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
37
40
|
readonly image: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
38
41
|
readonly language: (props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
|
+
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
4
|
+
//#region src/Pressable/Pressable.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Press feedback: `none` leaves the wrapped content untouched, `opacity` dims it
|
|
7
|
+
* while held, `highlight` tints the surface behind it while held.
|
|
8
|
+
*/
|
|
9
|
+
type PressableFeedback = 'none' | 'opacity' | 'highlight';
|
|
10
|
+
type PressableColor = PaletteColor;
|
|
11
|
+
interface PressableProps extends Omit<ButtonHTMLAttributes<HTMLElement>, 'color'>, index_d_exports.SpaceProps<Theme>, index_d_exports.LayoutProps<Theme>, index_d_exports.BorderProps<Theme>, index_d_exports.TypographyProps<Theme> {
|
|
12
|
+
/**
|
|
13
|
+
* Element to render. Default: `'div'` — which still behaves as a button
|
|
14
|
+
* (`role`, tab stop, Enter/Space) because a `<button>` may not legally contain
|
|
15
|
+
* links, buttons, or block-level content. Pass `'button'` for a native button
|
|
16
|
+
* when the content is phrasing-only, or any other tag you need.
|
|
17
|
+
*/
|
|
18
|
+
as?: ElementType;
|
|
19
|
+
/** Feedback shown while pressed. Default: `'none'`, overridable via `theme.components.Pressable.defaultProps`. */
|
|
20
|
+
feedback?: PressableFeedback;
|
|
21
|
+
/** Palette the `highlight` tint derives from — maps to `theme.palette[color]`. Default: `'primary'`, overridable via `theme.defaults.color`. */
|
|
22
|
+
color?: PressableColor;
|
|
23
|
+
/** Opacity held content fades to under `feedback="opacity"`. Default: `0.7`. */
|
|
24
|
+
activeOpacity?: number;
|
|
25
|
+
/** The URL to link to. If defined and `as` is unset, an `a` element is used. */
|
|
26
|
+
href?: string;
|
|
27
|
+
/** Anchor `target` — only meaningful when `href` is set. */
|
|
28
|
+
target?: string;
|
|
29
|
+
/** Anchor `rel` — only meaningful when `href` is set. */
|
|
30
|
+
rel?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* An unstyled clickable surface — button semantics (keyboard activation, focus
|
|
34
|
+
* ring, disabled state) with none of a button's looks, so it can wrap arbitrary
|
|
35
|
+
* content without changing its layout. Use it instead of an `onClick` on a
|
|
36
|
+
* `div`, which no keyboard or screen-reader user can reach.
|
|
37
|
+
*
|
|
38
|
+
* It renders a `div` by default, because `<button>` may not legally contain a
|
|
39
|
+
* link, another button, or block-level content — the shim gives that div a
|
|
40
|
+
* `role`, a tab stop, and Enter/Space activation, so it is announced and
|
|
41
|
+
* operated as a button either way. Pass `as="button"` for a native button, or
|
|
42
|
+
* `href` for an anchor; both skip the shim and let the browser do the work.
|
|
43
|
+
*
|
|
44
|
+
* `feedback` picks what happens while it is held: nothing (default), the content
|
|
45
|
+
* dims, or the surface tints.
|
|
46
|
+
*/
|
|
47
|
+
declare function Pressable({ as, feedback, color, activeOpacity, href, type, disabled, onClick, onKeyDown, onKeyUp, ...rest }: Readonly<PressableProps>): import("react").JSX.Element;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { PressableProps as i, PressableColor as n, PressableFeedback as r, Pressable as t };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./
|
|
3
|
-
import { n as FlexProps } from "./index-
|
|
1
|
+
import "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
+
import { n as FlexProps } from "./index-zFYi0f1t.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;
|
|
7
7
|
interface PaperProps extends FlexProps {
|
|
8
8
|
/** Shadow depth — 0 (flat) to 24 (highest). Resolves to theme.shadows[n]. Default: 1. */
|
|
9
9
|
elevation?: PaperElevation;
|
|
10
|
-
/** CSS aspect-ratio for fixed-ratio surfaces (e.g. 16/9, 1). */
|
|
11
|
-
aspectRatio?: CSSProperties['aspectRatio'];
|
|
12
10
|
/** CSS transition for surface animations (e.g. hover elevation change). */
|
|
13
11
|
transition?: CSSProperties['transition'];
|
|
14
12
|
/** Resolves against theme.border — light · primary · dark */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as index_d_exports } from "./index-
|
|
3
|
-
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
|
+
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-BwUnDd9W.mjs";
|
|
4
4
|
import { HTMLAttributes } from "react";
|
|
5
5
|
//#region src/Pagination/Pagination.d.ts
|
|
6
6
|
type PaginationColor = PaginationItemColor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { L as TypographyVariant, h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
3
|
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Typography/Typography.d.ts
|
|
5
5
|
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { d as PaletteColor, h as Theme, n as ButtonVariants } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
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`. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as PaletteColor,
|
|
1
|
+
import { d as PaletteColor, h as Theme, r as CSSObject$1 } from "./themes-CUV79qWU.mjs";
|
|
2
2
|
import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@emotion/styled";
|
|
3
3
|
import { PropsOf, css as css$1, keyframes } from "@emotion/react";
|
|
4
4
|
import { createShouldForwardProp, props } from "@soroush.tech/styled-system/should-forward-prop";
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
|
+
import { s as ViewProps } from "./index-q6EgsH9R.mjs";
|
|
4
4
|
//#region src/Flex/Flex.d.ts
|
|
5
5
|
/** Valid values for the gap prop — derived from theme.space keys. */
|
|
6
6
|
type GapToken = keyof Theme['space'];
|
|
7
|
-
interface FlexProps extends ViewProps, index_d_exports.FlexboxProps<Theme> {
|
|
8
|
-
/** Resolves against theme.space — maps to CSS gap. Accepts responsive arrays. */
|
|
9
|
-
gap?: index_d_exports.ResponsiveValue<GapToken>;
|
|
10
|
-
}
|
|
7
|
+
interface FlexProps extends ViewProps, index_d_exports.FlexboxProps<Theme> {}
|
|
11
8
|
declare const Flex: import("@emotion/styled").StyledComponent<{
|
|
12
9
|
theme?: Theme;
|
|
13
10
|
as?: React.ElementType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
|
+
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-D8U2tk1L.mjs";
|
|
4
4
|
import { ElementType, HTMLAttributes } from "react";
|
|
5
5
|
//#region src/ButtonGroup/ButtonGroup.d.ts
|
|
6
6
|
type ButtonGroupOrientation = 'horizontal' | 'vertical';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as PaletteColor,
|
|
1
|
+
import { d as PaletteColor, h as Theme, r as CSSObject$1 } from "./themes-CUV79qWU.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";
|