@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,4 +1,4 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, r as keyframes, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, r as keyframes, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { clamp } from "./utils.mjs";
|
|
4
4
|
import "react";
|
package/dist/Drawer.cjs
CHANGED
|
@@ -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_Paper = require("./Paper.cjs");
|
|
4
|
-
const require_Modal = require("./Modal-
|
|
4
|
+
const require_Modal = require("./Modal-CApyh_V5.cjs");
|
|
5
5
|
require("react");
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let _emotion_react = require("@emotion/react");
|
package/dist/Drawer.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as PaperElevation } from "./index-
|
|
2
|
-
import { s as ModalProps } from "./index-
|
|
1
|
+
import { n as PaperElevation } from "./index-Cf7w9Lod.cjs";
|
|
2
|
+
import { s as ModalProps } from "./index-D-QRCHiS.cjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/Drawer/Drawer.d.ts
|
|
5
5
|
type DrawerAnchor = 'left' | 'right' | 'top' | 'bottom';
|
|
@@ -8,7 +8,7 @@ interface DrawerProps extends Pick<ModalProps, 'isOpen' | 'onClose' | 'hasBackdr
|
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
/** Edge the drawer slides in from. Default: 'left'. */
|
|
10
10
|
anchor?: DrawerAnchor;
|
|
11
|
-
/** Shadow depth of the panel (0
|
|
11
|
+
/** Shadow depth of the panel (0-24), forwarded to Paper. Default: 16. */
|
|
12
12
|
elevation?: PaperElevation;
|
|
13
13
|
/** Slide duration in milliseconds. Default: 225. */
|
|
14
14
|
transitionDuration?: number;
|
package/dist/Drawer.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as PaperElevation } from "./index-
|
|
2
|
-
import { s as ModalProps } from "./index-
|
|
1
|
+
import { n as PaperElevation } from "./index-BCvkP5R1.mjs";
|
|
2
|
+
import { s as ModalProps } from "./index-CTVFwvju.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/Drawer/Drawer.d.ts
|
|
5
5
|
type DrawerAnchor = 'left' | 'right' | 'top' | 'bottom';
|
|
@@ -8,7 +8,7 @@ interface DrawerProps extends Pick<ModalProps, 'isOpen' | 'onClose' | 'hasBackdr
|
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
/** Edge the drawer slides in from. Default: 'left'. */
|
|
10
10
|
anchor?: DrawerAnchor;
|
|
11
|
-
/** Shadow depth of the panel (0
|
|
11
|
+
/** Shadow depth of the panel (0-24), forwarded to Paper. Default: 16. */
|
|
12
12
|
elevation?: PaperElevation;
|
|
13
13
|
/** Slide duration in milliseconds. Default: 225. */
|
|
14
14
|
transitionDuration?: number;
|
package/dist/Drawer.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as styled, r as keyframes, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { o as styled, r as keyframes, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
|
|
2
2
|
import { Paper } from "./Paper.mjs";
|
|
3
|
-
import { t as Modal } from "./Modal-
|
|
3
|
+
import { t as Modal } from "./Modal-CYNcPk-2.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/Drawer/Drawer.tsx
|
package/dist/Flex.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
|
const require_View = require("./View.cjs");
|
|
4
4
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
|
5
5
|
//#region src/Flex/Flex.tsx
|
package/dist/Flex.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FlexProps, r as GapToken, t as Flex } from "./index-
|
|
1
|
+
import { n as FlexProps, r as GapToken, t as Flex } from "./index-DOLA1VFD.cjs";
|
|
2
2
|
export { Flex, FlexProps, GapToken };
|
package/dist/Flex.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FlexProps, r as GapToken, t as Flex } from "./index-
|
|
1
|
+
import { n as FlexProps, r as GapToken, t as Flex } from "./index-KZKeZDAF.mjs";
|
|
2
2
|
export { Flex, FlexProps, GapToken };
|
package/dist/Flex.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 { View } from "./View.mjs";
|
|
3
3
|
//#region src/Flex/Flex.tsx
|
|
4
4
|
const shouldForwardProp = createShouldForwardProp([...props]);
|
package/dist/FocusTrap.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
|
let react = require("react");
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
5
|
//#region src/FocusTrap/FocusTrap.tsx
|
package/dist/FocusTrap.mjs
CHANGED
package/dist/Form.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
|
const require_FormContext = require("./FormContext-BGCsWAFc.cjs");
|
|
4
4
|
let react = require("react");
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -9,7 +9,7 @@ const FormRoot = require_src.styled("form", {
|
|
|
9
9
|
label: "Form"
|
|
10
10
|
})();
|
|
11
11
|
/**
|
|
12
|
-
* Renders a `<form>` and provides form-wide defaults via FormContext
|
|
12
|
+
* Renders a `<form>` and provides form-wide defaults via FormContext - the lowest
|
|
13
13
|
* priority in the override chain (FormControl and explicit control props win).
|
|
14
14
|
*/
|
|
15
15
|
function Form({ children, onSubmit, size, color, textColor, disabled, fullWidth, id, className, noValidate, "data-testid": dataTestid }) {
|
package/dist/Form.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.cjs";
|
|
2
2
|
import { ReactNode, SyntheticEvent } from "react";
|
|
3
3
|
//#region src/Form/Form.d.ts
|
|
4
4
|
interface FormProps {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
onSubmit?: (event: SyntheticEvent<HTMLFormElement>) => void;
|
|
7
|
-
/** Default control size for every field
|
|
7
|
+
/** Default control size for every field - overridable per FormControl/control. */
|
|
8
8
|
size?: keyof Theme['sizes'];
|
|
9
9
|
/** Default accent color for every field. */
|
|
10
10
|
color?: keyof Theme['palette'];
|
|
11
|
-
/** Default text color for every field's label/helper/input
|
|
11
|
+
/** Default text color for every field's label/helper/input - resolves against `theme.text`. */
|
|
12
12
|
textColor?: keyof Theme['text'];
|
|
13
13
|
/** Disables every field. */
|
|
14
14
|
disabled?: boolean;
|
|
@@ -21,7 +21,7 @@ interface FormProps {
|
|
|
21
21
|
'data-testid'?: string;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Renders a `<form>` and provides form-wide defaults via FormContext
|
|
24
|
+
* Renders a `<form>` and provides form-wide defaults via FormContext - the lowest
|
|
25
25
|
* priority in the override chain (FormControl and explicit control props win).
|
|
26
26
|
*/
|
|
27
27
|
declare function Form({ children, onSubmit, size, color, textColor, disabled, fullWidth, id, className, noValidate, 'data-testid': dataTestid }: Readonly<FormProps>): import("react").JSX.Element;
|
|
@@ -31,7 +31,7 @@ declare function Form({ children, onSubmit, size, color, textColor, disabled, fu
|
|
|
31
31
|
interface FormContextValue {
|
|
32
32
|
size?: keyof Theme['sizes'];
|
|
33
33
|
color?: keyof Theme['palette'];
|
|
34
|
-
/** Text color for label/helper/input content
|
|
34
|
+
/** Text color for label/helper/input content - resolves against `theme.text`. */
|
|
35
35
|
textColor?: keyof Theme['text'];
|
|
36
36
|
disabled?: boolean;
|
|
37
37
|
fullWidth?: boolean;
|
package/dist/Form.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.mjs";
|
|
2
2
|
import { ReactNode, SyntheticEvent } from "react";
|
|
3
3
|
//#region src/Form/Form.d.ts
|
|
4
4
|
interface FormProps {
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
onSubmit?: (event: SyntheticEvent<HTMLFormElement>) => void;
|
|
7
|
-
/** Default control size for every field
|
|
7
|
+
/** Default control size for every field - overridable per FormControl/control. */
|
|
8
8
|
size?: keyof Theme['sizes'];
|
|
9
9
|
/** Default accent color for every field. */
|
|
10
10
|
color?: keyof Theme['palette'];
|
|
11
|
-
/** Default text color for every field's label/helper/input
|
|
11
|
+
/** Default text color for every field's label/helper/input - resolves against `theme.text`. */
|
|
12
12
|
textColor?: keyof Theme['text'];
|
|
13
13
|
/** Disables every field. */
|
|
14
14
|
disabled?: boolean;
|
|
@@ -21,7 +21,7 @@ interface FormProps {
|
|
|
21
21
|
'data-testid'?: string;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Renders a `<form>` and provides form-wide defaults via FormContext
|
|
24
|
+
* Renders a `<form>` and provides form-wide defaults via FormContext - the lowest
|
|
25
25
|
* priority in the override chain (FormControl and explicit control props win).
|
|
26
26
|
*/
|
|
27
27
|
declare function Form({ children, onSubmit, size, color, textColor, disabled, fullWidth, id, className, noValidate, 'data-testid': dataTestid }: Readonly<FormProps>): import("react").JSX.Element;
|
|
@@ -31,7 +31,7 @@ declare function Form({ children, onSubmit, size, color, textColor, disabled, fu
|
|
|
31
31
|
interface FormContextValue {
|
|
32
32
|
size?: keyof Theme['sizes'];
|
|
33
33
|
color?: keyof Theme['palette'];
|
|
34
|
-
/** Text color for label/helper/input content
|
|
34
|
+
/** Text color for label/helper/input content - resolves against `theme.text`. */
|
|
35
35
|
textColor?: keyof Theme['text'];
|
|
36
36
|
disabled?: boolean;
|
|
37
37
|
fullWidth?: boolean;
|
package/dist/Form.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as styled } from "./src-
|
|
1
|
+
import { o as styled } from "./src-DLGYOJMh.mjs";
|
|
2
2
|
import { t as FormContext } from "./FormContext-LrjAGe6U.mjs";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -8,7 +8,7 @@ const FormRoot = styled("form", {
|
|
|
8
8
|
label: "Form"
|
|
9
9
|
})();
|
|
10
10
|
/**
|
|
11
|
-
* Renders a `<form>` and provides form-wide defaults via FormContext
|
|
11
|
+
* Renders a `<form>` and provides form-wide defaults via FormContext - the lowest
|
|
12
12
|
* priority in the override chain (FormControl and explicit control props win).
|
|
13
13
|
*/
|
|
14
14
|
function Form({ children, onSubmit, size, color, textColor, disabled, fullWidth, id, className, noValidate, "data-testid": dataTestid }) {
|
package/dist/FormControl.cjs
CHANGED
|
@@ -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_View = require("./View.cjs");
|
|
4
4
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
5
|
-
const require_theme = require("./theme-
|
|
5
|
+
const require_theme = require("./theme-Bnc03K83.cjs");
|
|
6
6
|
const require_FormControlContext = require("./FormControlContext-74gvPGFk.cjs");
|
|
7
7
|
const require_FormContext = require("./FormContext-BGCsWAFc.cjs");
|
|
8
8
|
let react = require("react");
|
package/dist/FormControl.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
2
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.cjs";
|
|
2
|
+
import { s as ViewProps } from "./index-Btmdtbpb.cjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/FormControl/FormControl.d.ts
|
|
5
5
|
interface FormControlProps extends Omit<ViewProps, 'color'> {
|
|
6
6
|
children: ReactNode;
|
|
7
|
-
/** Field id
|
|
7
|
+
/** Field id - auto-generated via `useId()` when omitted. Links FormLabel, control, and helper text. */
|
|
8
8
|
id?: string;
|
|
9
9
|
error?: boolean;
|
|
10
10
|
disabled?: boolean;
|
|
@@ -24,7 +24,7 @@ declare function FormControl({ children, id, error, disabled, required, size, fu
|
|
|
24
24
|
//#region src/FormControl/FormControlContext.d.ts
|
|
25
25
|
/** Per-field state, middle priority in the override chain (overrides Form, overridden by explicit props). */
|
|
26
26
|
interface FormControlContextValue {
|
|
27
|
-
/** Field id
|
|
27
|
+
/** Field id - links FormLabel `htmlFor` and the control. Auto-generated by FormControl when not provided. */
|
|
28
28
|
id: string;
|
|
29
29
|
/** Id of the helper/error text node, used for `aria-describedby`. */
|
|
30
30
|
helperId: string;
|
|
@@ -34,9 +34,9 @@ interface FormControlContextValue {
|
|
|
34
34
|
size?: keyof Theme['sizes'];
|
|
35
35
|
fullWidth?: boolean;
|
|
36
36
|
color?: keyof Theme['palette'];
|
|
37
|
-
/** Text color for label/helper/input content
|
|
37
|
+
/** Text color for label/helper/input content - resolves against `theme.text`. */
|
|
38
38
|
textColor?: keyof Theme['text'];
|
|
39
|
-
/** Whether a FormHelperText is currently rendered
|
|
39
|
+
/** Whether a FormHelperText is currently rendered - drives `aria-describedby` on the control. */
|
|
40
40
|
hasHelperText: boolean;
|
|
41
41
|
/** Stable setter FormHelperText calls to register/unregister its presence. */
|
|
42
42
|
setHasHelperText: (present: boolean) => void;
|
|
@@ -44,7 +44,7 @@ interface FormControlContextValue {
|
|
|
44
44
|
declare const FormControlContext: import("react").Context<FormControlContextValue | null>;
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/FormControl/useFormControl.d.ts
|
|
47
|
-
/** Explicit props a control passes in
|
|
47
|
+
/** Explicit props a control passes in - always win over context when defined. */
|
|
48
48
|
interface FormControlOverrides {
|
|
49
49
|
id?: string;
|
|
50
50
|
error?: boolean;
|
|
@@ -65,7 +65,7 @@ interface ResolvedFormControl {
|
|
|
65
65
|
fullWidth: boolean;
|
|
66
66
|
color?: keyof Theme['palette'];
|
|
67
67
|
textColor?: keyof Theme['text'];
|
|
68
|
-
/** Points at the helper text id only while one is rendered
|
|
68
|
+
/** Points at the helper text id only while one is rendered - avoids a dangling reference. */
|
|
69
69
|
'aria-describedby'?: string;
|
|
70
70
|
}
|
|
71
71
|
/**
|
package/dist/FormControl.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
2
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.mjs";
|
|
2
|
+
import { s as ViewProps } from "./index-DQ16ijxx.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/FormControl/FormControl.d.ts
|
|
5
5
|
interface FormControlProps extends Omit<ViewProps, 'color'> {
|
|
6
6
|
children: ReactNode;
|
|
7
|
-
/** Field id
|
|
7
|
+
/** Field id - auto-generated via `useId()` when omitted. Links FormLabel, control, and helper text. */
|
|
8
8
|
id?: string;
|
|
9
9
|
error?: boolean;
|
|
10
10
|
disabled?: boolean;
|
|
@@ -24,7 +24,7 @@ declare function FormControl({ children, id, error, disabled, required, size, fu
|
|
|
24
24
|
//#region src/FormControl/FormControlContext.d.ts
|
|
25
25
|
/** Per-field state, middle priority in the override chain (overrides Form, overridden by explicit props). */
|
|
26
26
|
interface FormControlContextValue {
|
|
27
|
-
/** Field id
|
|
27
|
+
/** Field id - links FormLabel `htmlFor` and the control. Auto-generated by FormControl when not provided. */
|
|
28
28
|
id: string;
|
|
29
29
|
/** Id of the helper/error text node, used for `aria-describedby`. */
|
|
30
30
|
helperId: string;
|
|
@@ -34,9 +34,9 @@ interface FormControlContextValue {
|
|
|
34
34
|
size?: keyof Theme['sizes'];
|
|
35
35
|
fullWidth?: boolean;
|
|
36
36
|
color?: keyof Theme['palette'];
|
|
37
|
-
/** Text color for label/helper/input content
|
|
37
|
+
/** Text color for label/helper/input content - resolves against `theme.text`. */
|
|
38
38
|
textColor?: keyof Theme['text'];
|
|
39
|
-
/** Whether a FormHelperText is currently rendered
|
|
39
|
+
/** Whether a FormHelperText is currently rendered - drives `aria-describedby` on the control. */
|
|
40
40
|
hasHelperText: boolean;
|
|
41
41
|
/** Stable setter FormHelperText calls to register/unregister its presence. */
|
|
42
42
|
setHasHelperText: (present: boolean) => void;
|
|
@@ -44,7 +44,7 @@ interface FormControlContextValue {
|
|
|
44
44
|
declare const FormControlContext: import("react").Context<FormControlContextValue | null>;
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/FormControl/useFormControl.d.ts
|
|
47
|
-
/** Explicit props a control passes in
|
|
47
|
+
/** Explicit props a control passes in - always win over context when defined. */
|
|
48
48
|
interface FormControlOverrides {
|
|
49
49
|
id?: string;
|
|
50
50
|
error?: boolean;
|
|
@@ -65,7 +65,7 @@ interface ResolvedFormControl {
|
|
|
65
65
|
fullWidth: boolean;
|
|
66
66
|
color?: keyof Theme['palette'];
|
|
67
67
|
textColor?: keyof Theme['text'];
|
|
68
|
-
/** Points at the helper text id only while one is rendered
|
|
68
|
+
/** Points at the helper text id only while one is rendered - avoids a dangling reference. */
|
|
69
69
|
'aria-describedby'?: string;
|
|
70
70
|
}
|
|
71
71
|
/**
|
package/dist/FormControl.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { o as styled } from "./src-
|
|
1
|
+
import { o as styled } from "./src-DLGYOJMh.mjs";
|
|
2
2
|
import { View } from "./View.mjs";
|
|
3
3
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
4
|
-
import { r as useTheme } from "./theme-
|
|
4
|
+
import { r as useTheme } from "./theme-BuqqFbsz.mjs";
|
|
5
5
|
import { t as FormControlContext } from "./FormControlContext-CC2kToms.mjs";
|
|
6
6
|
import { t as FormContext } from "./FormContext-LrjAGe6U.mjs";
|
|
7
7
|
import { useContext, useId, useMemo, useState } from "react";
|
package/dist/FormHelperText.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
|
const require_Typography = require("./Typography.cjs");
|
|
4
4
|
const require_FormControlContext = require("./FormControlContext-74gvPGFk.cjs");
|
|
5
5
|
const require_FormContext = require("./FormContext-BGCsWAFc.cjs");
|
package/dist/FormHelperText.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as styled } from "./src-
|
|
1
|
+
import { o as styled } from "./src-DLGYOJMh.mjs";
|
|
2
2
|
import { Typography } from "./Typography.mjs";
|
|
3
3
|
import { t as FormControlContext } from "./FormControlContext-CC2kToms.mjs";
|
|
4
4
|
import { t as FormContext } from "./FormContext-LrjAGe6U.mjs";
|
package/dist/FormLabel.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
|
const require_Typography = require("./Typography.cjs");
|
|
4
4
|
const require_FormControlContext = require("./FormControlContext-74gvPGFk.cjs");
|
|
5
5
|
const require_FormContext = require("./FormContext-BGCsWAFc.cjs");
|
package/dist/FormLabel.d.cts
CHANGED
package/dist/FormLabel.d.mts
CHANGED
package/dist/FormLabel.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as styled } from "./src-
|
|
1
|
+
import { o as styled } from "./src-DLGYOJMh.mjs";
|
|
2
2
|
import { Typography } from "./Typography.mjs";
|
|
3
3
|
import { t as FormControlContext } from "./FormControlContext-CC2kToms.mjs";
|
|
4
4
|
import { t as FormContext } from "./FormContext-LrjAGe6U.mjs";
|
package/dist/Grid.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
|
const require_View = require("./View.cjs");
|
|
4
4
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
|
5
5
|
//#region src/Grid/Grid.tsx
|
package/dist/Grid.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.cjs";
|
|
2
|
+
import "./index-jmy5eXpx.cjs";
|
|
3
|
+
import { s as ViewProps } from "./index-Btmdtbpb.cjs";
|
|
4
4
|
import { FlexboxProps, GridProps as GridProps$1 } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Grid/Grid.d.ts
|
|
6
|
-
/** Valid values for the gap / columnGap / rowGap props
|
|
6
|
+
/** Valid values for the gap / columnGap / rowGap props - derived from theme.space keys. */
|
|
7
7
|
type GapToken = keyof Theme['space'];
|
|
8
8
|
interface GridProps extends ViewProps, GridProps$1<Theme>, FlexboxProps<Theme> {}
|
|
9
9
|
declare const Grid: import("@emotion/styled").StyledComponent<{
|
package/dist/Grid.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.mjs";
|
|
2
|
+
import "./index-v_otepCe.mjs";
|
|
3
|
+
import { s as ViewProps } from "./index-DQ16ijxx.mjs";
|
|
4
4
|
import { FlexboxProps, GridProps as GridProps$1 } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Grid/Grid.d.ts
|
|
6
|
-
/** Valid values for the gap / columnGap / rowGap props
|
|
6
|
+
/** Valid values for the gap / columnGap / rowGap props - derived from theme.space keys. */
|
|
7
7
|
type GapToken = keyof Theme['space'];
|
|
8
8
|
interface GridProps extends ViewProps, GridProps$1<Theme>, FlexboxProps<Theme> {}
|
|
9
9
|
declare const Grid: import("@emotion/styled").StyledComponent<{
|
package/dist/Grid.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 { View } from "./View.mjs";
|
|
3
3
|
//#region src/Grid/Grid.tsx
|
|
4
4
|
const shouldForwardProp = createShouldForwardProp([...props]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_src = require("./src-
|
|
1
|
+
const require_src = require("./src-DU81aGy9.cjs");
|
|
2
2
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
3
|
-
const require_theme = require("./theme-
|
|
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");
|
|
@@ -1,6 +1,6 @@
|
|
|
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 { 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 "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/Icon/icons/AccountTree.tsx
|
package/dist/Icon.cjs
CHANGED
package/dist/Icon.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as icons, n as IconProps, r as IconName, t as Icon } from "./index-
|
|
1
|
+
import { i as icons, n as IconProps, r as IconName, t as Icon } from "./index-DCu7qjpa.cjs";
|
|
2
2
|
export { Icon, type IconName, IconProps, icons };
|
package/dist/Icon.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as icons, n as IconProps, r as IconName, t as Icon } from "./index-
|
|
1
|
+
import { i as icons, n as IconProps, r as IconName, t as Icon } from "./index-76XH-GEc.mjs";
|
|
2
2
|
export { Icon, type IconName, IconProps, icons };
|
package/dist/Icon.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as icons, t as Icon } from "./Icon-
|
|
1
|
+
import { n as icons, t as Icon } from "./Icon-gSiGgU13.mjs";
|
|
2
2
|
export { Icon, icons };
|
package/dist/Image.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
|
let react = require("react");
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
5
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
package/dist/Image.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.cjs";
|
|
2
|
+
import "./index-jmy5eXpx.cjs";
|
|
3
3
|
import { CSSProperties, ImgHTMLAttributes } from "react";
|
|
4
4
|
import { BackgroundProps, LayoutProps, PositionProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Image/Image.d.ts
|
|
@@ -8,7 +8,7 @@ interface ImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'height'
|
|
|
8
8
|
fallback?: string;
|
|
9
9
|
objectFit?: CSSProperties['objectFit'];
|
|
10
10
|
objectPosition?: CSSProperties['objectPosition'];
|
|
11
|
-
/** Corner radius
|
|
11
|
+
/** Corner radius - resolves against `theme.radii`. */
|
|
12
12
|
borderRadius?: keyof Theme['radii'];
|
|
13
13
|
/** Called once when all image sources are exhausted. */
|
|
14
14
|
onError?: () => void;
|
package/dist/Image.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.mjs";
|
|
2
|
+
import "./index-v_otepCe.mjs";
|
|
3
3
|
import { BackgroundProps, LayoutProps, PositionProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { CSSProperties, ImgHTMLAttributes } from "react";
|
|
5
5
|
//#region src/Image/Image.d.ts
|
|
@@ -8,7 +8,7 @@ interface ImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'height'
|
|
|
8
8
|
fallback?: string;
|
|
9
9
|
objectFit?: CSSProperties['objectFit'];
|
|
10
10
|
objectPosition?: CSSProperties['objectPosition'];
|
|
11
|
-
/** Corner radius
|
|
11
|
+
/** Corner radius - resolves against `theme.radii`. */
|
|
12
12
|
borderRadius?: keyof Theme['radii'];
|
|
13
13
|
/** Called once when all image sources are exhausted. */
|
|
14
14
|
onError?: () => void;
|
package/dist/Image.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 { useState } from "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/Image/Image.tsx
|
package/dist/LinearProgress.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
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
4
4
|
const require_utils = require("./utils.cjs");
|
|
5
5
|
require("react");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as ButtonColor } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.cjs";
|
|
2
|
+
import "./index-jmy5eXpx.cjs";
|
|
3
|
+
import { n as ButtonColor } from "./index-Oxx0z4dS.cjs";
|
|
4
4
|
import { HTMLAttributes } from "react";
|
|
5
5
|
import { LayoutProps, PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/LinearProgress/LinearProgress.d.ts
|
|
@@ -8,9 +8,9 @@ type LinearProgressVariant = 'indeterminate' | 'determinate' | 'query';
|
|
|
8
8
|
type LinearProgressColor = ButtonColor | 'inherit';
|
|
9
9
|
type LinearProgressEasing = 'linear' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out';
|
|
10
10
|
interface LinearProgressProps extends HTMLAttributes<HTMLSpanElement>, Omit<SpaceProps<Theme>, keyof PaddingProps>, LayoutProps<Theme> {
|
|
11
|
-
/** Visual variant
|
|
11
|
+
/** Visual variant - looping animation, value-driven bar, or reversed loop. Default: `'indeterminate'`. */
|
|
12
12
|
variant?: LinearProgressVariant;
|
|
13
|
-
/** Bar color
|
|
13
|
+
/** Bar color - resolves to `theme.palette[color].main`; `'inherit'` uses `currentColor`. Default: 'primary', overridable via `theme.defaults.color`. */
|
|
14
14
|
color?: LinearProgressColor;
|
|
15
15
|
/** Bar height. Number → px; string → raw CSS unit (e.g. `'0.5rem'`). Default: `4`. */
|
|
16
16
|
thickness?: number | string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as ButtonColor } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-kbuYiwCi.mjs";
|
|
2
|
+
import "./index-v_otepCe.mjs";
|
|
3
|
+
import { n as ButtonColor } from "./index-C-2VKPcp.mjs";
|
|
4
4
|
import { LayoutProps, PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
import { HTMLAttributes } from "react";
|
|
6
6
|
//#region src/LinearProgress/LinearProgress.d.ts
|
|
@@ -8,9 +8,9 @@ type LinearProgressVariant = 'indeterminate' | 'determinate' | 'query';
|
|
|
8
8
|
type LinearProgressColor = ButtonColor | 'inherit';
|
|
9
9
|
type LinearProgressEasing = 'linear' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out';
|
|
10
10
|
interface LinearProgressProps extends HTMLAttributes<HTMLSpanElement>, Omit<SpaceProps<Theme>, keyof PaddingProps>, LayoutProps<Theme> {
|
|
11
|
-
/** Visual variant
|
|
11
|
+
/** Visual variant - looping animation, value-driven bar, or reversed loop. Default: `'indeterminate'`. */
|
|
12
12
|
variant?: LinearProgressVariant;
|
|
13
|
-
/** Bar color
|
|
13
|
+
/** Bar color - resolves to `theme.palette[color].main`; `'inherit'` uses `currentColor`. Default: 'primary', overridable via `theme.defaults.color`. */
|
|
14
14
|
color?: LinearProgressColor;
|
|
15
15
|
/** Bar height. Number → px; string → raw CSS unit (e.g. `'0.5rem'`). Default: `4`. */
|
|
16
16
|
thickness?: number | string;
|
package/dist/LinearProgress.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as src_exports, i as props, o as styled, r as keyframes, t as createShouldForwardProp } from "./src-
|
|
1
|
+
import { a as src_exports, i as props, o as styled, r as keyframes, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { clamp } from "./utils.mjs";
|
|
4
4
|
import "react";
|