@soroush.tech/design-system 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -28
- package/dist/AppBar.cjs +1 -1
- package/dist/AppBar.d.cts +6 -6
- package/dist/AppBar.d.mts +6 -6
- package/dist/AppBar.mjs +1 -1
- package/dist/Avatar.cjs +2 -2
- package/dist/Avatar.d.cts +6 -6
- package/dist/Avatar.d.mts +6 -6
- package/dist/Avatar.mjs +2 -2
- package/dist/Backdrop.cjs +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.cjs +2 -2
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/Button.mjs +2 -2
- package/dist/ButtonGroup.cjs +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.cjs +3 -3
- package/dist/Card.d.cts +3 -3
- package/dist/Card.d.mts +3 -3
- package/dist/Card.mjs +3 -3
- package/dist/Checkbox.cjs +1 -1
- package/dist/Checkbox.d.cts +2 -2
- package/dist/Checkbox.d.mts +2 -2
- package/dist/Checkbox.mjs +1 -1
- package/dist/CircularProgress.cjs +1 -1
- package/dist/CircularProgress.d.cts +6 -6
- package/dist/CircularProgress.d.mts +6 -6
- package/dist/CircularProgress.mjs +1 -1
- package/dist/Drawer.cjs +2 -2
- package/dist/Drawer.d.cts +3 -3
- package/dist/Drawer.d.mts +3 -3
- package/dist/Drawer.mjs +2 -2
- package/dist/Flex.cjs +1 -1
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Flex.mjs +1 -1
- package/dist/FocusTrap.cjs +1 -1
- package/dist/FocusTrap.mjs +1 -1
- package/dist/Form.cjs +2 -2
- package/dist/Form.d.cts +5 -5
- package/dist/Form.d.mts +5 -5
- package/dist/Form.mjs +2 -2
- package/dist/FormControl.cjs +2 -2
- package/dist/FormControl.d.cts +8 -8
- package/dist/FormControl.d.mts +8 -8
- package/dist/FormControl.mjs +2 -2
- package/dist/FormHelperText.cjs +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.cjs +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.cjs +1 -1
- package/dist/Grid.d.cts +4 -4
- package/dist/Grid.d.mts +4 -4
- package/dist/Grid.mjs +1 -1
- package/dist/{Icon-ByDvM-t1.cjs → Icon-BAMpe9SO.cjs} +2 -2
- package/dist/{Icon-CU_nUmsU.mjs → Icon-gSiGgU13.mjs} +2 -2
- 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.cjs +1 -1
- package/dist/Image.d.cts +3 -3
- package/dist/Image.d.mts +3 -3
- package/dist/Image.mjs +1 -1
- package/dist/LinearProgress.cjs +1 -1
- package/dist/LinearProgress.d.cts +5 -5
- package/dist/LinearProgress.d.mts +5 -5
- package/dist/LinearProgress.mjs +1 -1
- package/dist/Link.cjs +2 -2
- package/dist/Link.d.cts +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/Link.mjs +2 -2
- package/dist/MenuItem.cjs +3 -3
- package/dist/MenuItem.d.cts +9 -9
- package/dist/MenuItem.d.mts +9 -9
- package/dist/MenuItem.mjs +3 -3
- package/dist/{Modal-Bjfv7n4e.cjs → Modal-CApyh_V5.cjs} +2 -2
- package/dist/{Modal-Bv-mf8Fn.mjs → Modal-CYNcPk-2.mjs} +2 -2
- package/dist/Modal.cjs +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.cjs +3 -3
- package/dist/NativeSelect.d.cts +12 -12
- package/dist/NativeSelect.d.mts +12 -12
- package/dist/NativeSelect.mjs +3 -3
- package/dist/Pagination/PaginationItem.cjs +3 -3
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination/PaginationItem.mjs +3 -3
- package/dist/Pagination.cjs +2 -2
- package/dist/Pagination.d.cts +2 -2
- package/dist/Pagination.d.mts +2 -2
- package/dist/Pagination.mjs +2 -2
- package/dist/Paper.cjs +2 -2
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +1 -1
- package/dist/Paper.mjs +2 -2
- package/dist/{Popover-CH3yI-j-.mjs → Popover-Bq31OTEl.mjs} +4 -4
- package/dist/{Popover-COoJ2p2I.cjs → Popover-gg44qzwo.cjs} +4 -4
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.d.cts +7 -7
- package/dist/Popover.d.mts +7 -7
- package/dist/Popover.mjs +1 -1
- package/dist/Portal.cjs +1 -1
- package/dist/Portal.d.cts +1 -1
- package/dist/Portal.d.mts +1 -1
- package/dist/Portal.mjs +1 -1
- package/dist/Pressable.cjs +4 -4
- package/dist/Pressable.d.cts +1 -1
- package/dist/Pressable.d.mts +1 -1
- package/dist/Pressable.mjs +4 -4
- package/dist/Quote.cjs +2 -2
- package/dist/Quote.d.cts +5 -5
- package/dist/Quote.d.mts +5 -5
- package/dist/Quote.mjs +2 -2
- package/dist/Radio.cjs +1 -1
- package/dist/Radio.d.cts +3 -3
- package/dist/Radio.d.mts +3 -3
- package/dist/Radio.mjs +1 -1
- package/dist/Select.cjs +4 -4
- package/dist/Select.d.cts +11 -11
- package/dist/Select.d.mts +11 -11
- package/dist/Select.mjs +4 -4
- package/dist/Sidebar/Sidebar.cjs +4 -4
- package/dist/Sidebar/Sidebar.d.cts +12 -12
- package/dist/Sidebar/Sidebar.d.mts +12 -12
- package/dist/Sidebar/Sidebar.mjs +4 -4
- package/dist/Sidebar/SidebarItem.cjs +4 -4
- package/dist/Sidebar/SidebarItem.d.cts +13 -13
- package/dist/Sidebar/SidebarItem.d.mts +13 -13
- package/dist/Sidebar/SidebarItem.mjs +4 -4
- package/dist/Sidebar.d.cts +1 -1
- package/dist/Sidebar.d.mts +1 -1
- package/dist/{SidebarContext-ao6lRfTX.d.cts → SidebarContext-B1lWrt77.d.cts} +4 -4
- package/dist/{SidebarContext-ao6lRfTX.d.mts → SidebarContext-B1lWrt77.d.mts} +4 -4
- package/dist/Skeleton.cjs +1 -1
- package/dist/Skeleton.d.cts +3 -3
- package/dist/Skeleton.d.mts +3 -3
- package/dist/Skeleton.mjs +1 -1
- package/dist/Switch.cjs +2 -2
- package/dist/Switch.d.cts +5 -5
- package/dist/Switch.d.mts +5 -5
- package/dist/Switch.mjs +2 -2
- package/dist/Table/Table.cjs +1 -1
- package/dist/Table/Table.d.cts +14 -14
- package/dist/Table/Table.d.mts +14 -14
- package/dist/Table/Table.mjs +1 -1
- package/dist/Table/TableBody.cjs +1 -1
- package/dist/Table/TableBody.d.cts +6 -6
- package/dist/Table/TableBody.d.mts +6 -6
- package/dist/Table/TableBody.mjs +1 -1
- package/dist/Table/TableCell.cjs +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.cjs +2 -2
- package/dist/Table/TableContainer.d.cts +5 -5
- package/dist/Table/TableContainer.d.mts +5 -5
- package/dist/Table/TableContainer.mjs +2 -2
- package/dist/Table/TableControl.cjs +1 -1
- package/dist/Table/TableControl.d.cts +7 -7
- package/dist/Table/TableControl.d.mts +7 -7
- package/dist/Table/TableControl.mjs +1 -1
- package/dist/Table/TableFooter.cjs +1 -1
- package/dist/Table/TableFooter.d.cts +6 -6
- package/dist/Table/TableFooter.d.mts +6 -6
- package/dist/Table/TableFooter.mjs +1 -1
- package/dist/Table/TableHead.cjs +1 -1
- package/dist/Table/TableHead.d.cts +6 -6
- package/dist/Table/TableHead.d.mts +6 -6
- package/dist/Table/TableHead.mjs +1 -1
- package/dist/Table/TablePagination.cjs +3 -3
- package/dist/Table/TablePagination.d.cts +4 -4
- package/dist/Table/TablePagination.d.mts +4 -4
- package/dist/Table/TablePagination.mjs +3 -3
- package/dist/Table/TablePaginationActions.cjs +2 -2
- package/dist/Table/TablePaginationActions.d.cts +1 -1
- package/dist/Table/TablePaginationActions.d.mts +1 -1
- package/dist/Table/TablePaginationActions.mjs +2 -2
- package/dist/Table/TableRow.cjs +1 -1
- package/dist/Table/TableRow.d.cts +7 -7
- package/dist/Table/TableRow.d.mts +7 -7
- package/dist/Table/TableRow.mjs +1 -1
- package/dist/Table/TableSortLabel.cjs +2 -2
- 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.cjs +5 -5
- package/dist/Table/hooks.d.cts +5 -5
- package/dist/Table/hooks.d.mts +5 -5
- package/dist/Table/hooks.mjs +5 -5
- package/dist/Table.d.cts +5 -5
- package/dist/Table.d.mts +5 -5
- package/dist/{TableContext-BoOxdk8p.d.cts → TableContext-BrIREKe7.d.mts} +2 -2
- package/dist/{TableContext-DV31j6HO.d.mts → TableContext-DXzUQ4-a.d.cts} +2 -2
- package/dist/TextInput.cjs +2 -2
- package/dist/TextInput.d.cts +10 -10
- package/dist/TextInput.d.mts +10 -10
- package/dist/TextInput.mjs +2 -2
- package/dist/ToggleButton/ToggleButton.cjs +2 -2
- package/dist/ToggleButton/ToggleButton.d.cts +3 -3
- package/dist/ToggleButton/ToggleButton.d.mts +3 -3
- package/dist/ToggleButton/ToggleButton.mjs +2 -2
- package/dist/ToggleButton/ToggleButtonGroup.cjs +3 -3
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +4 -4
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +4 -4
- package/dist/ToggleButton/ToggleButtonGroup.mjs +3 -3
- package/dist/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton.d.mts +1 -1
- package/dist/{ToggleButtonGroupContext-CqD-Afho.d.cts → ToggleButtonGroupContext-10jEsQdg.d.cts} +2 -2
- package/dist/{ToggleButtonGroupContext-CqD-Afho.d.mts → ToggleButtonGroupContext-10jEsQdg.d.mts} +2 -2
- package/dist/Typography.cjs +2 -2
- package/dist/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +2 -2
- package/dist/View.cjs +1 -1
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/View.mjs +1 -1
- package/dist/engine.cjs +2 -2
- package/dist/engine.d.cts +3 -3
- package/dist/engine.d.mts +3 -3
- package/dist/engine.mjs +2 -2
- package/dist/index-76XH-GEc.d.mts +250 -0
- package/dist/{index-BW-9sqFG.d.cts → index-BCvkP5R1.d.mts} +6 -6
- package/dist/{index-CohsoGjZ.d.cts → index-BWECJgSb.d.mts} +7 -7
- package/dist/{index-X4STXeE2.d.cts → index-BoIi-XoB.d.mts} +15 -15
- package/dist/{index-D07y72Xr.d.mts → index-Br2gDSme.d.cts} +8 -8
- package/dist/{index-m9jUR509.d.mts → index-Btmdtbpb.d.cts} +9 -9
- package/dist/{index-uH0EeDBZ.d.cts → index-C-2VKPcp.d.mts} +12 -12
- package/dist/{index-CbGfrKZi.d.mts → index-C5-ZM7lt.d.cts} +7 -7
- package/dist/{index-DfhMdqqI.d.mts → index-CHRAYSwH.d.cts} +15 -15
- package/dist/{index-CrXLEJO4.d.mts → index-COYxtrc0.d.mts} +8 -8
- package/dist/{index-CTYZyQ2g.d.mts → index-CTVFwvju.d.mts} +3 -3
- package/dist/{index-CKz1lEdR.d.mts → index-Cf7w9Lod.d.cts} +6 -6
- package/dist/{index-DxBKLmUS.d.mts → index-Csp1Wzbz.d.cts} +7 -7
- package/dist/{index-BBWtMvkm.d.cts → index-D-QRCHiS.d.cts} +3 -3
- package/dist/{index-MsUtFRul.d.cts → index-D3iQQ0L3.d.cts} +3 -3
- package/dist/{index-DEEHBUUZ.d.cts → index-D9CwTcnr.d.cts} +4 -4
- package/dist/index-DCu7qjpa.d.cts +250 -0
- package/dist/{index-DLUE7t3O.d.cts → index-DOLA1VFD.d.cts} +4 -4
- package/dist/{index-BPzvFTi5.d.cts → index-DQ16ijxx.d.mts} +9 -9
- package/dist/{index-3hPS6Lm8.d.mts → index-DdBeSvit.d.mts} +8 -8
- package/dist/{index-BYYEoNec.d.cts → index-DhMAwR96.d.mts} +7 -7
- package/dist/{index-CSXMCqrV.d.cts → index-DzuXwDCW.d.cts} +8 -8
- package/dist/{index-n2OyTMr6.d.mts → index-KZKeZDAF.d.mts} +4 -4
- package/dist/{index-BoOs5h_b.d.mts → index-NBVilQuP.d.mts} +3 -3
- package/dist/{index-BAfSyQaP.d.mts → index-Oxx0z4dS.d.cts} +12 -12
- package/dist/{index-DGku7hLP.d.mts → index-XZDPGJ_h.d.mts} +4 -4
- package/dist/{index-CiShdd2j.d.cts → index-d6gR2x8j.d.cts} +8 -8
- package/dist/{index-C1hP7Igl.d.mts → index-ggLhNdZV.d.mts} +5 -5
- package/dist/{index-CCfnnT2l.d.cts → index-h36rcOy8.d.mts} +8 -8
- package/dist/{index-2QPYJgCl.d.cts → index-jmy5eXpx.d.cts} +7 -7
- package/dist/{index-q9peil7T.d.mts → index-v_otepCe.d.mts} +7 -7
- package/dist/{index-DiLm48XP.d.cts → index-vuPAf55D.d.cts} +5 -5
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{src-D3tHU94W.mjs → src-DLGYOJMh.mjs} +1 -1
- package/dist/{src-BJrcLd7P.cjs → src-DU81aGy9.cjs} +1 -1
- 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/{theme-CleLAV6A.cjs → theme-Bnc03K83.cjs} +4 -4
- package/dist/{theme-Cudynq5K.mjs → theme-BuqqFbsz.mjs} +4 -4
- package/dist/theme.cjs +1 -1
- package/dist/theme.d.cts +2 -2
- package/dist/theme.d.mts +2 -2
- package/dist/theme.mjs +1 -1
- package/dist/{themes-CUV79qWU.d.mts → themes-kbuYiwCi.d.cts} +20 -20
- package/dist/{themes-CUV79qWU.d.cts → themes-kbuYiwCi.d.mts} +20 -20
- package/dist/{useTablePagination-DOty8Ucb.d.mts → useTablePagination-BpMOVLsR.d.cts} +6 -6
- package/dist/{useTablePagination-Dh7o59Wt.d.cts → useTablePagination-DebYZ6vN.d.mts} +6 -6
- package/package.json +15 -15
- package/dist/index-BjLlSr2P.d.mts +0 -79
- package/dist/index-Borai-Wg.d.cts +0 -79
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("../src-
|
|
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-Bnc03K83.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,10 +1,10 @@
|
|
|
1
|
-
import { i as ButtonProps } from "../index-
|
|
2
|
-
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-
|
|
1
|
+
import { i as ButtonProps } from "../index-Oxx0z4dS.cjs";
|
|
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'> {
|
|
5
5
|
/** The value associated with the button inside a `ToggleButtonGroup`. */
|
|
6
6
|
value: ToggleButtonValue;
|
|
7
|
-
/** Active state
|
|
7
|
+
/** Active state - inferred from the group's value when omitted. Drives `aria-pressed`. */
|
|
8
8
|
isSelected?: boolean;
|
|
9
9
|
/** Fired with the button's `value` when toggled. */
|
|
10
10
|
onChange?: (value: ToggleButtonValue) => void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as ButtonProps } from "../index-
|
|
2
|
-
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-
|
|
1
|
+
import { i as ButtonProps } from "../index-C-2VKPcp.mjs";
|
|
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'> {
|
|
5
5
|
/** The value associated with the button inside a `ToggleButtonGroup`. */
|
|
6
6
|
value: ToggleButtonValue;
|
|
7
|
-
/** Active state
|
|
7
|
+
/** Active state - inferred from the group's value when omitted. Drives `aria-pressed`. */
|
|
8
8
|
isSelected?: boolean;
|
|
9
9
|
/** Fired with the button's `value` when toggled. */
|
|
10
10
|
onChange?: (value: ToggleButtonValue) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as src_exports, o as styled } from "../src-
|
|
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-BuqqFbsz.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
|
-
const require_src = require("../src-
|
|
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-Bnc03K83.cjs");
|
|
5
5
|
const require_ButtonGroup = require("../ButtonGroup.cjs");
|
|
6
6
|
const require_ToggleButtonGroupContext = require("../ToggleButtonGroupContext-Ewc5Ixas.cjs");
|
|
7
7
|
let react = require("react");
|
|
@@ -16,7 +16,7 @@ const ToggleButtonGroupRoot = require_src.styled(require_ButtonGroup.ButtonGroup
|
|
|
16
16
|
})(selectedEdgeStyles);
|
|
17
17
|
/**
|
|
18
18
|
* A `ButtonGroup` of `ToggleButton`s with single (exclusive) or multiple selection,
|
|
19
|
-
* provided to children via `ToggleButtonGroupContext`. Controlled
|
|
19
|
+
* provided to children via `ToggleButtonGroupContext`. Controlled - the consumer
|
|
20
20
|
* owns `value`. Visual props (`color` / `size` / `disabled` / `fullWidth`) broadcast
|
|
21
21
|
* through `ButtonGroup` as usual.
|
|
22
22
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as ButtonGroupProps } from "../index-
|
|
2
|
-
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-
|
|
1
|
+
import { a as ButtonGroupProps } from "../index-C5-ZM7lt.cjs";
|
|
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'> {
|
|
5
|
-
/** Selected value(s)
|
|
5
|
+
/** Selected value(s) - single when `isExclusive`, array otherwise. Controlled. */
|
|
6
6
|
value?: ToggleButtonValue | ToggleButtonValue[] | null;
|
|
7
7
|
/**
|
|
8
8
|
* Fired with the next selection: a single value or `null` when `isExclusive`,
|
|
@@ -14,7 +14,7 @@ interface ToggleButtonGroupProps extends Omit<ButtonGroupProps, 'variant' | 'onC
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* A `ButtonGroup` of `ToggleButton`s with single (exclusive) or multiple selection,
|
|
17
|
-
* provided to children via `ToggleButtonGroupContext`. Controlled
|
|
17
|
+
* provided to children via `ToggleButtonGroupContext`. Controlled - the consumer
|
|
18
18
|
* owns `value`. Visual props (`color` / `size` / `disabled` / `fullWidth`) broadcast
|
|
19
19
|
* through `ButtonGroup` as usual.
|
|
20
20
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as ButtonGroupProps } from "../index-
|
|
2
|
-
import { r as ToggleButtonValue } from "../ToggleButtonGroupContext-
|
|
1
|
+
import { a as ButtonGroupProps } from "../index-DhMAwR96.mjs";
|
|
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'> {
|
|
5
|
-
/** Selected value(s)
|
|
5
|
+
/** Selected value(s) - single when `isExclusive`, array otherwise. Controlled. */
|
|
6
6
|
value?: ToggleButtonValue | ToggleButtonValue[] | null;
|
|
7
7
|
/**
|
|
8
8
|
* Fired with the next selection: a single value or `null` when `isExclusive`,
|
|
@@ -14,7 +14,7 @@ interface ToggleButtonGroupProps extends Omit<ButtonGroupProps, 'variant' | 'onC
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* A `ButtonGroup` of `ToggleButton`s with single (exclusive) or multiple selection,
|
|
17
|
-
* provided to children via `ToggleButtonGroupContext`. Controlled
|
|
17
|
+
* provided to children via `ToggleButtonGroupContext`. Controlled - the consumer
|
|
18
18
|
* owns `value`. Visual props (`color` / `size` / `disabled` / `fullWidth`) broadcast
|
|
19
19
|
* through `ButtonGroup` as usual.
|
|
20
20
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as styled } from "../src-
|
|
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-BuqqFbsz.mjs";
|
|
4
4
|
import { ButtonGroup } from "../ButtonGroup.mjs";
|
|
5
5
|
import { t as ToggleButtonGroupContext } from "../ToggleButtonGroupContext-DxIyy8ze.mjs";
|
|
6
6
|
import { useMemo } from "react";
|
|
@@ -15,7 +15,7 @@ const ToggleButtonGroupRoot = styled(ButtonGroup, {
|
|
|
15
15
|
})(selectedEdgeStyles);
|
|
16
16
|
/**
|
|
17
17
|
* A `ButtonGroup` of `ToggleButton`s with single (exclusive) or multiple selection,
|
|
18
|
-
* provided to children via `ToggleButtonGroupContext`. Controlled
|
|
18
|
+
* provided to children via `ToggleButtonGroupContext`. Controlled - the consumer
|
|
19
19
|
* owns `value`. Visual props (`color` / `size` / `disabled` / `fullWidth`) broadcast
|
|
20
20
|
* through `ButtonGroup` as usual.
|
|
21
21
|
*/
|
package/dist/ToggleButton.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ToggleButtonGroupContextValue, r as ToggleButtonValue, t as ToggleButtonGroupContext } from "./ToggleButtonGroupContext-
|
|
1
|
+
import { n as ToggleButtonGroupContextValue, r as ToggleButtonValue, t as ToggleButtonGroupContext } from "./ToggleButtonGroupContext-10jEsQdg.cjs";
|
|
2
2
|
import { ToggleButton, ToggleButtonProps } from "./ToggleButton/ToggleButton.cjs";
|
|
3
3
|
import { ToggleButtonGroup, ToggleButtonGroupProps } from "./ToggleButton/ToggleButtonGroup.cjs";
|
|
4
4
|
export { ToggleButton, ToggleButtonGroup, ToggleButtonGroupContext, ToggleButtonGroupContextValue, ToggleButtonGroupProps, ToggleButtonProps, ToggleButtonValue };
|
package/dist/ToggleButton.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ToggleButtonGroupContextValue, r as ToggleButtonValue, t as ToggleButtonGroupContext } from "./ToggleButtonGroupContext-
|
|
1
|
+
import { n as ToggleButtonGroupContextValue, r as ToggleButtonValue, t as ToggleButtonGroupContext } from "./ToggleButtonGroupContext-10jEsQdg.mjs";
|
|
2
2
|
import { ToggleButton, ToggleButtonProps } from "./ToggleButton/ToggleButton.mjs";
|
|
3
3
|
import { ToggleButtonGroup, ToggleButtonGroupProps } from "./ToggleButton/ToggleButtonGroup.mjs";
|
|
4
4
|
export { ToggleButton, ToggleButtonGroup, ToggleButtonGroupContext, ToggleButtonGroupContextValue, ToggleButtonGroupProps, ToggleButtonProps, ToggleButtonValue };
|
package/dist/{ToggleButtonGroupContext-CqD-Afho.d.cts → ToggleButtonGroupContext-10jEsQdg.d.cts}
RENAMED
|
@@ -5,9 +5,9 @@ type ToggleButtonValue = string | number;
|
|
|
5
5
|
* Visual config (color / size / disabled / fullWidth) travels via `ButtonGroupContext`.
|
|
6
6
|
*/
|
|
7
7
|
interface ToggleButtonGroupContextValue {
|
|
8
|
-
/** Selected value(s)
|
|
8
|
+
/** Selected value(s) - single when exclusive, array otherwise. */
|
|
9
9
|
value?: ToggleButtonValue | ToggleButtonValue[] | null;
|
|
10
|
-
/** Fired with the clicked button's value
|
|
10
|
+
/** Fired with the clicked button's value - the group resolves the next selection. */
|
|
11
11
|
onToggle?: (value: ToggleButtonValue) => void;
|
|
12
12
|
}
|
|
13
13
|
declare const ToggleButtonGroupContext: import("react").Context<ToggleButtonGroupContextValue>;
|
package/dist/{ToggleButtonGroupContext-CqD-Afho.d.mts → ToggleButtonGroupContext-10jEsQdg.d.mts}
RENAMED
|
@@ -5,9 +5,9 @@ type ToggleButtonValue = string | number;
|
|
|
5
5
|
* Visual config (color / size / disabled / fullWidth) travels via `ButtonGroupContext`.
|
|
6
6
|
*/
|
|
7
7
|
interface ToggleButtonGroupContextValue {
|
|
8
|
-
/** Selected value(s)
|
|
8
|
+
/** Selected value(s) - single when exclusive, array otherwise. */
|
|
9
9
|
value?: ToggleButtonValue | ToggleButtonValue[] | null;
|
|
10
|
-
/** Fired with the clicked button's value
|
|
10
|
+
/** Fired with the clicked button's value - the group resolves the next selection. */
|
|
11
11
|
onToggle?: (value: ToggleButtonValue) => void;
|
|
12
12
|
}
|
|
13
13
|
declare const ToggleButtonGroupContext: import("react").Context<ToggleButtonGroupContextValue>;
|
package/dist/Typography.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
3
|
-
const require_theme = require("./theme-
|
|
2
|
+
const require_src = require("./src-DU81aGy9.cjs");
|
|
3
|
+
const require_theme = require("./theme-Bnc03K83.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 { L 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 { L as TypographyVariant } from "./themes-kbuYiwCi.cjs";
|
|
2
|
+
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-Csp1Wzbz.cjs";
|
|
3
3
|
export { BackgroundToken, TextColorToken, Typography, TypographyAlign, TypographyProps, type TypographyVariant };
|
package/dist/Typography.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { L 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 { L as TypographyVariant } from "./themes-kbuYiwCi.mjs";
|
|
2
|
+
import { a as TypographyProps, i as TypographyAlign, n as TextColorToken, r as Typography, t as BackgroundToken } from "./index-BWECJgSb.mjs";
|
|
3
3
|
export { BackgroundToken, TextColorToken, Typography, TypographyAlign, TypographyProps, type TypographyVariant };
|
package/dist/Typography.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-
|
|
2
|
-
import { r as useTheme } from "./theme-
|
|
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-BuqqFbsz.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/Typography/Typography.tsx
|
package/dist/View.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
2
|
+
const require_src = require("./src-DU81aGy9.cjs");
|
|
3
3
|
require("react");
|
|
4
4
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
|
5
5
|
//#region src/View/View.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-Btmdtbpb.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-DQ16ijxx.mjs";
|
|
2
2
|
export { View, ViewBackgroundToken, ViewBorderColorToken, ViewBorderRadiusToken, ViewBorderWidthToken, ViewColorToken, ViewProps };
|
package/dist/View.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-DLGYOJMh.mjs";
|
|
2
2
|
import "react";
|
|
3
3
|
//#region src/View/View.tsx
|
|
4
4
|
const shouldForwardProp = createShouldForwardProp([
|
package/dist/engine.cjs
CHANGED
|
@@ -9,9 +9,9 @@ var styleCache_default = (0, _emotion_cache.default)({ key: "soroush" });
|
|
|
9
9
|
//#endregion
|
|
10
10
|
//#region src/engine/globalStyles.ts
|
|
11
11
|
/**
|
|
12
|
-
* The base reset this package owns
|
|
12
|
+
* The base reset this package owns - box-sizing, margin/table resets, and
|
|
13
13
|
* theme-driven body colors. Font-family, webfont loading, and anything else
|
|
14
|
-
* app-specific are app policy
|
|
14
|
+
* app-specific are app policy - compose this into your own `Global` styles array.
|
|
15
15
|
*/
|
|
16
16
|
const globalStyles = (theme) => _emotion_react.css`
|
|
17
17
|
*,
|
package/dist/engine.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.cjs";
|
|
2
2
|
import { CacheProvider, Interpolation } from "@emotion/react";
|
|
3
3
|
import { ComponentType, RefAttributes } from "react";
|
|
4
4
|
//#region src/theme/emotion.d.ts
|
|
@@ -12,9 +12,9 @@ declare const _default: import("@emotion/cache").EmotionCache;
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/engine/globalStyles.d.ts
|
|
14
14
|
/**
|
|
15
|
-
* The base reset this package owns
|
|
15
|
+
* The base reset this package owns - box-sizing, margin/table resets, and
|
|
16
16
|
* theme-driven body colors. Font-family, webfont loading, and anything else
|
|
17
|
-
* app-specific are app policy
|
|
17
|
+
* app-specific are app policy - compose this into your own `Global` styles array.
|
|
18
18
|
*/
|
|
19
19
|
declare const globalStyles: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
20
20
|
//#endregion
|
package/dist/engine.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.mjs";
|
|
2
2
|
import { CacheProvider, Interpolation } from "@emotion/react";
|
|
3
3
|
import { ComponentType, RefAttributes } from "react";
|
|
4
4
|
//#region src/theme/emotion.d.ts
|
|
@@ -12,9 +12,9 @@ declare const _default: import("@emotion/cache").EmotionCache;
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/engine/globalStyles.d.ts
|
|
14
14
|
/**
|
|
15
|
-
* The base reset this package owns
|
|
15
|
+
* The base reset this package owns - box-sizing, margin/table resets, and
|
|
16
16
|
* theme-driven body colors. Font-family, webfont loading, and anything else
|
|
17
|
-
* app-specific are app policy
|
|
17
|
+
* app-specific are app policy - compose this into your own `Global` styles array.
|
|
18
18
|
*/
|
|
19
19
|
declare const globalStyles: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
20
20
|
//#endregion
|
package/dist/engine.mjs
CHANGED
|
@@ -6,9 +6,9 @@ var styleCache_default = createCache({ key: "soroush" });
|
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region src/engine/globalStyles.ts
|
|
8
8
|
/**
|
|
9
|
-
* The base reset this package owns
|
|
9
|
+
* The base reset this package owns - box-sizing, margin/table resets, and
|
|
10
10
|
* theme-driven body colors. Font-family, webfont loading, and anything else
|
|
11
|
-
* app-specific are app policy
|
|
11
|
+
* app-specific are app policy - compose this into your own `Global` styles array.
|
|
12
12
|
*/
|
|
13
13
|
const globalStyles = (theme) => css`
|
|
14
14
|
*,
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { n as TextColorToken } from "./index-BWECJgSb.mjs";
|
|
2
|
+
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
|
+
import { SVGProps } from "react";
|
|
4
|
+
//#region src/Icon/icons/AccountTree.d.ts
|
|
5
|
+
declare const SvgAccountTree: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/Icon/icons/AdsClick.d.ts
|
|
8
|
+
declare const SvgAdsClick: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/Icon/icons/Analytics.d.ts
|
|
11
|
+
declare const SvgAnalytics: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/Icon/icons/Architecture.d.ts
|
|
14
|
+
declare const SvgArchitecture: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/Icon/icons/ArrowBack.d.ts
|
|
17
|
+
declare const SvgArrowBack: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/Icon/icons/ArrowForward.d.ts
|
|
20
|
+
declare const SvgArrowForward: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/Icon/icons/ArrowUpward.d.ts
|
|
23
|
+
declare const SvgArrowUpward: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/Icon/icons/Check.d.ts
|
|
26
|
+
declare const SvgCheck: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/Icon/icons/ChevronLeft.d.ts
|
|
29
|
+
declare const SvgChevronLeft: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/Icon/icons/ChevronRight.d.ts
|
|
32
|
+
declare const SvgChevronRight: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/Icon/icons/Checklist.d.ts
|
|
35
|
+
declare const SvgChecklist: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/Icon/icons/CloudDone.d.ts
|
|
38
|
+
declare const SvgCloudDone: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/Icon/icons/Close.d.ts
|
|
41
|
+
declare const SvgClose: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region src/Icon/icons/Code.d.ts
|
|
44
|
+
declare const SvgCode: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/Icon/icons/ContentCopy.d.ts
|
|
47
|
+
declare const SvgContentCopy: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/Icon/icons/Cookie.d.ts
|
|
50
|
+
declare const SvgCookie: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/Icon/icons/Database.d.ts
|
|
53
|
+
declare const SvgDatabase: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/Icon/icons/DesktopWindows.d.ts
|
|
56
|
+
declare const SvgDesktopWindows: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/Icon/icons/Dns.d.ts
|
|
59
|
+
declare const SvgDns: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/Icon/icons/EditNote.d.ts
|
|
62
|
+
declare const SvgEditNote: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/Icon/icons/ExpandLess.d.ts
|
|
65
|
+
declare const SvgExpandLess: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/Icon/icons/ExpandMore.d.ts
|
|
68
|
+
declare const SvgExpandMore: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/Icon/icons/ExternalLink.d.ts
|
|
71
|
+
declare const SvgExternalLink: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/Icon/icons/FirstPage.d.ts
|
|
74
|
+
declare const SvgFirstPage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/Icon/icons/Folder.d.ts
|
|
77
|
+
declare const SvgFolder: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/Icon/icons/FormatListBulleted.d.ts
|
|
80
|
+
declare const SvgFormatListBulleted: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
81
|
+
//#endregion
|
|
82
|
+
//#region src/Icon/icons/FormatListNumbered.d.ts
|
|
83
|
+
declare const SvgFormatListNumbered: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/Icon/icons/FormatQuote.d.ts
|
|
86
|
+
declare const SvgFormatQuote: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/Icon/icons/Fullscreen.d.ts
|
|
89
|
+
declare const SvgFullscreen: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region src/Icon/icons/GridView.d.ts
|
|
92
|
+
declare const SvgGridView: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/Icon/icons/Groups.d.ts
|
|
95
|
+
declare const SvgGroups: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
96
|
+
//#endregion
|
|
97
|
+
//#region src/Icon/icons/History.d.ts
|
|
98
|
+
declare const SvgHistory: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region src/Icon/icons/Hub.d.ts
|
|
101
|
+
declare const SvgHub: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
102
|
+
//#endregion
|
|
103
|
+
//#region src/Icon/icons/Image.d.ts
|
|
104
|
+
declare const SvgImage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/Icon/icons/Language.d.ts
|
|
107
|
+
declare const SvgLanguage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/Icon/icons/LastPage.d.ts
|
|
110
|
+
declare const SvgLastPage: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/Icon/icons/Link.d.ts
|
|
113
|
+
declare const SvgLink: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region src/Icon/icons/Lock.d.ts
|
|
116
|
+
declare const SvgLock: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
117
|
+
//#endregion
|
|
118
|
+
//#region src/Icon/icons/Menu.d.ts
|
|
119
|
+
declare const SvgMenu: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region src/Icon/icons/Neurology.d.ts
|
|
122
|
+
declare const SvgNeurology: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region src/Icon/icons/Psychology.d.ts
|
|
125
|
+
declare const SvgPsychology: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
126
|
+
//#endregion
|
|
127
|
+
//#region src/Icon/icons/RebaseEdit.d.ts
|
|
128
|
+
declare const SvgRebaseEdit: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region src/Icon/icons/Refresh.d.ts
|
|
131
|
+
declare const SvgRefresh: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
132
|
+
//#endregion
|
|
133
|
+
//#region src/Icon/icons/Schema.d.ts
|
|
134
|
+
declare const SvgSchema: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region src/Icon/icons/Security.d.ts
|
|
137
|
+
declare const SvgSecurity: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
138
|
+
//#endregion
|
|
139
|
+
//#region src/Icon/icons/SettingsInputComponent.d.ts
|
|
140
|
+
declare const SvgSettingsInputComponent: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region src/Icon/icons/SmartToy.d.ts
|
|
143
|
+
declare const SvgSmartToy: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/Icon/icons/Smartphone.d.ts
|
|
146
|
+
declare const SvgSmartphone: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/Icon/icons/Speed.d.ts
|
|
149
|
+
declare const SvgSpeed: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region src/Icon/icons/Stacks.d.ts
|
|
152
|
+
declare const SvgStacks: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/Icon/icons/Table.d.ts
|
|
155
|
+
declare const SvgTable: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
156
|
+
//#endregion
|
|
157
|
+
//#region src/Icon/icons/Terminal.d.ts
|
|
158
|
+
declare const SvgTerminal: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
159
|
+
//#endregion
|
|
160
|
+
//#region src/Icon/icons/Visibility.d.ts
|
|
161
|
+
declare const SvgVisibility: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region src/Icon/icons/Warning.d.ts
|
|
164
|
+
declare const SvgWarning: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
165
|
+
//#endregion
|
|
166
|
+
//#region src/Icon/icons/WebAsset.d.ts
|
|
167
|
+
declare const SvgWebAsset: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
168
|
+
//#endregion
|
|
169
|
+
//#region src/Icon/icons/ZoomIn.d.ts
|
|
170
|
+
declare const SvgZoomIn: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region src/Icon/icons/ZoomOut.d.ts
|
|
173
|
+
declare const SvgZoomOut: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
174
|
+
//#endregion
|
|
175
|
+
//#region src/Icon/icons.d.ts
|
|
176
|
+
/** Registry of available icons, keyed by their asset file name. */
|
|
177
|
+
declare const icons: {
|
|
178
|
+
readonly account_tree: typeof SvgAccountTree;
|
|
179
|
+
readonly ads_click: typeof SvgAdsClick;
|
|
180
|
+
readonly analytics: typeof SvgAnalytics;
|
|
181
|
+
readonly architecture: typeof SvgArchitecture;
|
|
182
|
+
readonly arrow_back: typeof SvgArrowBack;
|
|
183
|
+
readonly arrow_forward: typeof SvgArrowForward;
|
|
184
|
+
readonly arrow_upward: typeof SvgArrowUpward;
|
|
185
|
+
readonly check: typeof SvgCheck;
|
|
186
|
+
readonly chevron_left: typeof SvgChevronLeft;
|
|
187
|
+
readonly chevron_right: typeof SvgChevronRight;
|
|
188
|
+
readonly checklist: typeof SvgChecklist;
|
|
189
|
+
readonly cloud_done: typeof SvgCloudDone;
|
|
190
|
+
readonly close: typeof SvgClose;
|
|
191
|
+
readonly code: typeof SvgCode;
|
|
192
|
+
readonly content_copy: typeof SvgContentCopy;
|
|
193
|
+
readonly cookie: typeof SvgCookie;
|
|
194
|
+
readonly database: typeof SvgDatabase;
|
|
195
|
+
readonly desktop_windows: typeof SvgDesktopWindows;
|
|
196
|
+
readonly dns: typeof SvgDns;
|
|
197
|
+
readonly edit_note: typeof SvgEditNote;
|
|
198
|
+
readonly expand_less: typeof SvgExpandLess;
|
|
199
|
+
readonly expand_more: typeof SvgExpandMore;
|
|
200
|
+
readonly external_link: typeof SvgExternalLink;
|
|
201
|
+
readonly first_page: typeof SvgFirstPage;
|
|
202
|
+
readonly folder: typeof SvgFolder;
|
|
203
|
+
readonly format_list_bulleted: typeof SvgFormatListBulleted;
|
|
204
|
+
readonly format_list_numbered: typeof SvgFormatListNumbered;
|
|
205
|
+
readonly format_quote: typeof SvgFormatQuote;
|
|
206
|
+
readonly fullscreen: typeof SvgFullscreen;
|
|
207
|
+
readonly grid_view: typeof SvgGridView;
|
|
208
|
+
readonly groups: typeof SvgGroups;
|
|
209
|
+
readonly history: typeof SvgHistory;
|
|
210
|
+
readonly hub: typeof SvgHub;
|
|
211
|
+
readonly image: typeof SvgImage;
|
|
212
|
+
readonly language: typeof SvgLanguage;
|
|
213
|
+
readonly last_page: typeof SvgLastPage;
|
|
214
|
+
readonly link: typeof SvgLink;
|
|
215
|
+
readonly lock: typeof SvgLock;
|
|
216
|
+
readonly menu: typeof SvgMenu;
|
|
217
|
+
readonly neurology: typeof SvgNeurology;
|
|
218
|
+
readonly psychology: typeof SvgPsychology;
|
|
219
|
+
readonly rebase_edit: typeof SvgRebaseEdit;
|
|
220
|
+
readonly refresh: typeof SvgRefresh;
|
|
221
|
+
readonly schema: typeof SvgSchema;
|
|
222
|
+
readonly security: typeof SvgSecurity;
|
|
223
|
+
readonly settings_input_component: typeof SvgSettingsInputComponent;
|
|
224
|
+
readonly smart_toy: typeof SvgSmartToy;
|
|
225
|
+
readonly smartphone: typeof SvgSmartphone;
|
|
226
|
+
readonly speed: typeof SvgSpeed;
|
|
227
|
+
readonly stacks: typeof SvgStacks;
|
|
228
|
+
readonly table: typeof SvgTable;
|
|
229
|
+
readonly terminal: typeof SvgTerminal;
|
|
230
|
+
readonly visibility: typeof SvgVisibility;
|
|
231
|
+
readonly warning: typeof SvgWarning;
|
|
232
|
+
readonly web_asset: typeof SvgWebAsset;
|
|
233
|
+
readonly zoom_in: typeof SvgZoomIn;
|
|
234
|
+
readonly zoom_out: typeof SvgZoomOut;
|
|
235
|
+
};
|
|
236
|
+
/** Valid values for the Icon `name` prop - derived from the registry keys. */
|
|
237
|
+
type IconName = keyof typeof icons;
|
|
238
|
+
//#endregion
|
|
239
|
+
//#region src/Icon/Icon.d.ts
|
|
240
|
+
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'color' | 'ref' | 'width' | 'height' | 'display' | 'overflow'>, LayoutProps, SpaceProps {
|
|
241
|
+
/** Registry key of the icon to render. */
|
|
242
|
+
name: IconName;
|
|
243
|
+
/** Resolves against theme.text - applied as `color`, which the SVG inherits via `currentColor`. */
|
|
244
|
+
color?: TextColorToken;
|
|
245
|
+
/** Sets both width and height (icons are square). */
|
|
246
|
+
size?: string | number;
|
|
247
|
+
}
|
|
248
|
+
declare function Icon({ name, color, size, ...rest }: Readonly<IconProps>): import("react").JSX.Element;
|
|
249
|
+
//#endregion
|
|
250
|
+
export { icons as i, IconProps as n, IconName as r, Icon as t };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as FlexProps } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.mjs";
|
|
2
|
+
import "./index-v_otepCe.mjs";
|
|
3
|
+
import { n as FlexProps } from "./index-KZKeZDAF.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;
|
|
7
7
|
interface PaperProps extends FlexProps {
|
|
8
|
-
/** Shadow depth
|
|
8
|
+
/** Shadow depth - 0 (flat) to 24 (highest). Resolves to theme.shadows[n]. Default: 1. */
|
|
9
9
|
elevation?: PaperElevation;
|
|
10
10
|
/** CSS transition for surface animations (e.g. hover elevation change). */
|
|
11
11
|
transition?: CSSProperties['transition'];
|
|
12
|
-
/** Resolves against theme.border
|
|
12
|
+
/** Resolves against theme.border - light · primary · dark */
|
|
13
13
|
borderColor?: keyof Theme['border'];
|
|
14
|
-
/** Resolves against theme.borderWidths
|
|
14
|
+
/** Resolves against theme.borderWidths - none · thin · base · thick */
|
|
15
15
|
borderWidth?: keyof Theme['borderWidths'];
|
|
16
16
|
/** CSS border-style value (e.g. 'solid', 'dashed'). */
|
|
17
17
|
borderStyle?: CSSProperties['borderStyle'];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { L as TypographyVariant, h as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
1
|
+
import { L as TypographyVariant, h as Theme } from "./themes-kbuYiwCi.mjs";
|
|
2
|
+
import "./index-v_otepCe.mjs";
|
|
4
3
|
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
5
5
|
//#region src/Typography/Typography.d.ts
|
|
6
6
|
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
7
|
-
/** Valid values for the color prop
|
|
7
|
+
/** Valid values for the color prop - derived from theme.text keys. */
|
|
8
8
|
type TextColorToken = keyof Theme['text'];
|
|
9
|
-
/** Valid values for the bg prop
|
|
9
|
+
/** Valid values for the bg prop - derived from theme.background keys. */
|
|
10
10
|
type BackgroundToken = keyof Theme['background'];
|
|
11
11
|
interface TypographyProps$1 extends Omit<HTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, TypographyProps<Theme>, FlexboxProps<Theme>, BorderProps<Theme>, PositionProps<Theme> {
|
|
12
|
-
/** Resolves against theme.text
|
|
12
|
+
/** Resolves against theme.text - inherit · initial · primary · secondary · error · success */
|
|
13
13
|
color?: TextColorToken;
|
|
14
14
|
/** Resolves against theme.background */
|
|
15
15
|
bg?: BackgroundToken;
|
|
@@ -19,7 +19,7 @@ interface TypographyProps$1 extends Omit<HTMLAttributes<HTMLElement>, 'color'>,
|
|
|
19
19
|
align?: TypographyAlign;
|
|
20
20
|
gutterBottom?: boolean;
|
|
21
21
|
noWrap?: boolean;
|
|
22
|
-
/** Machine-readable timestamp
|
|
22
|
+
/** Machine-readable timestamp - forwarded when rendering as `<time>` (`as="time"`). */
|
|
23
23
|
dateTime?: string;
|
|
24
24
|
as?: ElementType;
|
|
25
25
|
}
|