@soroush.tech/design-system 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/AppBar.cjs +1 -1
- package/dist/AppBar.d.cts +3 -3
- package/dist/AppBar.d.mts +3 -3
- package/dist/Avatar.cjs +2 -2
- package/dist/Avatar.d.cts +3 -3
- package/dist/Avatar.d.mts +3 -3
- package/dist/Avatar.mjs +1 -1
- package/dist/Backdrop.cjs +1 -1
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Button.cjs +2 -8
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/Button.mjs +1 -7
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.d.cts +1 -1
- package/dist/ButtonGroup.d.mts +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 +2 -2
- package/dist/Checkbox.cjs +1 -1
- package/dist/Checkbox.d.cts +2 -2
- package/dist/Checkbox.d.mts +2 -2
- package/dist/CircularProgress.cjs +1 -1
- package/dist/CircularProgress.d.cts +3 -3
- package/dist/CircularProgress.d.mts +3 -3
- package/dist/Drawer.cjs +4 -3
- package/dist/Drawer.d.cts +2 -2
- package/dist/Drawer.d.mts +2 -2
- package/dist/Drawer.mjs +3 -2
- package/dist/Flex.cjs +3 -7
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Flex.mjs +2 -6
- package/dist/FocusTrap.cjs +1 -1
- package/dist/Form.cjs +1 -1
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +1 -1
- package/dist/FormControl.cjs +2 -2
- package/dist/FormControl.d.cts +2 -2
- package/dist/FormControl.d.mts +2 -2
- package/dist/FormControl.mjs +1 -1
- package/dist/FormHelperText.cjs +1 -1
- package/dist/FormHelperText.d.cts +1 -1
- package/dist/FormHelperText.d.mts +1 -1
- package/dist/FormLabel.cjs +1 -1
- package/dist/FormLabel.d.cts +1 -1
- package/dist/FormLabel.d.mts +1 -1
- package/dist/Grid.cjs +3 -26
- package/dist/Grid.d.cts +4 -11
- package/dist/Grid.d.mts +4 -11
- package/dist/Grid.mjs +4 -24
- package/dist/{Icon-zsHe7hWR.cjs → Icon-ByDvM-t1.cjs} +39 -7
- package/dist/{Icon-bv8Z38l-.mjs → Icon-GgwNXKEY.mjs} +38 -6
- 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 +10 -9
- package/dist/Image.d.cts +2 -2
- package/dist/Image.d.mts +2 -2
- package/dist/Image.mjs +9 -8
- package/dist/LinearProgress.cjs +1 -1
- package/dist/LinearProgress.d.cts +3 -3
- package/dist/LinearProgress.d.mts +3 -3
- package/dist/Link.cjs +3 -7
- package/dist/Link.d.cts +1 -2
- package/dist/Link.d.mts +1 -2
- package/dist/Link.mjs +3 -7
- package/dist/MenuItem.cjs +3 -3
- package/dist/MenuItem.d.cts +2 -2
- package/dist/MenuItem.d.mts +2 -2
- package/dist/MenuItem.mjs +2 -2
- package/dist/{Modal-dy5l7gfH.mjs → Modal-COLrJoNW.mjs} +2 -1
- package/dist/{Modal-DZH-DzMZ.cjs → Modal-S2nb35q-.cjs} +3 -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 +9 -8
- package/dist/NativeSelect.d.cts +3 -3
- package/dist/NativeSelect.d.mts +3 -3
- package/dist/NativeSelect.mjs +8 -7
- package/dist/Pagination/PaginationItem.cjs +2 -2
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination/PaginationItem.mjs +1 -1
- package/dist/Pagination.cjs +1 -1
- package/dist/Pagination.d.cts +2 -2
- package/dist/Pagination.d.mts +2 -2
- package/dist/Paper.cjs +2 -4
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +1 -1
- package/dist/Paper.mjs +1 -3
- package/dist/{Popover-Chgtjn-N.mjs → Popover-BjGubpna.mjs} +2 -2
- package/dist/{Popover-pEVboMZO.cjs → Popover-BxN7ts_I.cjs} +3 -3
- package/dist/Popover.cjs +1 -1
- package/dist/Popover.d.cts +4 -4
- package/dist/Popover.d.mts +4 -4
- package/dist/Popover.mjs +1 -1
- package/dist/Pressable.cjs +123 -0
- package/dist/Pressable.d.cts +2 -0
- package/dist/Pressable.d.mts +2 -0
- package/dist/Pressable.mjs +121 -0
- package/dist/Quote.cjs +1 -1
- package/dist/Quote.d.cts +4 -4
- package/dist/Quote.d.mts +4 -4
- package/dist/Radio.cjs +1 -1
- package/dist/Radio.d.cts +2 -2
- package/dist/Radio.d.mts +2 -2
- package/dist/Select.cjs +42 -41
- package/dist/Select.d.cts +3 -3
- package/dist/Select.d.mts +3 -3
- package/dist/Select.mjs +41 -40
- package/dist/Sidebar/Sidebar.cjs +94 -0
- package/dist/Sidebar/Sidebar.d.cts +59 -0
- package/dist/Sidebar/Sidebar.d.mts +59 -0
- package/dist/Sidebar/Sidebar.mjs +93 -0
- package/dist/Sidebar/SidebarItem.cjs +125 -0
- package/dist/Sidebar/SidebarItem.d.cts +39 -0
- package/dist/Sidebar/SidebarItem.d.mts +39 -0
- package/dist/Sidebar/SidebarItem.mjs +124 -0
- package/dist/Sidebar.cjs +7 -0
- package/dist/Sidebar.d.cts +4 -0
- package/dist/Sidebar.d.mts +4 -0
- package/dist/Sidebar.mjs +4 -0
- package/dist/SidebarContext-DgSLwjur.mjs +10 -0
- package/dist/SidebarContext-ao6lRfTX.d.cts +37 -0
- package/dist/SidebarContext-ao6lRfTX.d.mts +37 -0
- package/dist/SidebarContext-jG6OioC-.cjs +14 -0
- package/dist/Skeleton.cjs +1 -1
- package/dist/Skeleton.d.cts +2 -2
- package/dist/Skeleton.d.mts +2 -2
- package/dist/Switch.cjs +2 -2
- package/dist/Switch.d.cts +2 -2
- package/dist/Switch.d.mts +2 -2
- package/dist/Switch.mjs +1 -1
- package/dist/Table/Table.cjs +1 -1
- package/dist/Table/Table.d.cts +3 -3
- package/dist/Table/Table.d.mts +3 -3
- package/dist/Table/TableBody.cjs +18 -16
- package/dist/Table/TableBody.d.cts +2 -2
- package/dist/Table/TableBody.d.mts +2 -2
- package/dist/Table/TableBody.mjs +17 -15
- 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/TableContainer.cjs +1 -1
- package/dist/Table/TableContainer.d.cts +4 -4
- package/dist/Table/TableContainer.d.mts +4 -4
- package/dist/Table/TableControl.cjs +3 -2
- package/dist/Table/TableControl.d.cts +1 -1
- package/dist/Table/TableControl.d.mts +1 -1
- package/dist/Table/TableControl.mjs +3 -2
- package/dist/Table/TableFooter.cjs +18 -16
- package/dist/Table/TableFooter.d.cts +2 -2
- package/dist/Table/TableFooter.d.mts +2 -2
- package/dist/Table/TableFooter.mjs +17 -15
- package/dist/Table/TableHead.cjs +18 -16
- package/dist/Table/TableHead.d.cts +2 -2
- package/dist/Table/TableHead.d.mts +2 -2
- package/dist/Table/TableHead.mjs +17 -15
- package/dist/Table/TablePagination.cjs +1 -1
- package/dist/Table/TablePagination.d.cts +2 -2
- package/dist/Table/TablePagination.d.mts +2 -2
- 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 +1 -1
- package/dist/Table/TableRow.cjs +1 -1
- package/dist/Table/TableRow.d.cts +2 -2
- package/dist/Table/TableRow.d.mts +2 -2
- package/dist/Table/TableSortLabel.cjs +8 -7
- package/dist/Table/TableSortLabel.d.cts +1 -1
- package/dist/Table/TableSortLabel.d.mts +1 -1
- package/dist/Table/TableSortLabel.mjs +7 -6
- package/dist/Table/hooks.cjs +2 -1
- package/dist/Table/hooks.d.cts +1 -1
- package/dist/Table/hooks.d.mts +1 -1
- package/dist/Table/hooks.mjs +2 -1
- package/dist/Table.d.cts +5 -5
- package/dist/Table.d.mts +5 -5
- package/dist/{TableContext-DOhYeOFx.d.cts → TableContext-BoOxdk8p.d.cts} +1 -1
- package/dist/{TableContext-adilRIJZ.d.mts → TableContext-DV31j6HO.d.mts} +1 -1
- package/dist/TextInput.cjs +11 -10
- package/dist/TextInput.d.cts +2 -2
- package/dist/TextInput.d.mts +2 -2
- package/dist/TextInput.mjs +10 -9
- package/dist/ToggleButton/ToggleButton.cjs +2 -2
- package/dist/ToggleButton/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton/ToggleButton.d.mts +1 -1
- package/dist/ToggleButton/ToggleButton.mjs +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.cjs +2 -2
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.mjs +1 -1
- package/dist/Typography.cjs +2 -2
- package/dist/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +1 -1
- package/dist/View.cjs +1 -3
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/View.mjs +0 -2
- package/dist/engine.cjs +1 -1
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-DwjxjLcD.d.mts → index--mvTGo8F.d.cts} +3 -3
- package/dist/{index-CY0Czi9Z.d.cts → index-ATXjtAOY.d.mts} +2 -2
- package/dist/{index-BLnOsdgc.d.cts → index-B2hrssyF.d.mts} +2 -2
- package/dist/{index-C-UBdWKI.d.cts → index-B3FrhO2r.d.cts} +3 -3
- package/dist/{index-DCwLdUQH.d.mts → index-B7aaTHOe.d.cts} +2 -2
- package/dist/{index-BGzs2cKy.d.mts → index-BItZoGZ1.d.mts} +3 -3
- package/dist/{index-CLCtvcKA.d.mts → index-BJ8OC_Zh.d.cts} +2 -2
- package/dist/{index-D0x1ZMVG.d.mts → index-BL3jwIQU.d.mts} +5 -2
- package/dist/{index-D2H_6WLf.d.cts → index-BNP_iejT.d.cts} +3 -3
- package/dist/{index-DdFxl06Q.d.cts → index-BfpjEqqt.d.cts} +2 -2
- package/dist/{index-0J6U39Rl.d.mts → index-BoOs5h_b.d.mts} +1 -1
- package/dist/{index-ypEBcdCx.d.mts → index-BwUnDd9W.d.mts} +2 -2
- package/dist/{index-DGqakgRN.d.mts → index-C7j38wne.d.mts} +3 -3
- package/dist/{index-DN7IvJeV.d.cts → index-CA_X-mXg.d.cts} +5 -2
- package/dist/index-CO3Qq0I0.d.mts +49 -0
- package/dist/{index-DLiHZtDi.d.mts → index-CYTaYcm3.d.cts} +3 -5
- package/dist/{index-DitJ7ss0.d.mts → index-Ca0Pj5m2.d.mts} +3 -3
- package/dist/{index-BF2KXGBM.d.mts → index-CvaEVk-f.d.cts} +2 -2
- package/dist/{index-BnCp6k4s.d.cts → index-D8U2tk1L.d.mts} +2 -2
- package/dist/{index-B66h9kbP.d.mts → index-D8b5OCLe.d.mts} +1 -1
- package/dist/{index-DhcmRr8Q.d.cts → index-DEv2QslH.d.mts} +4 -7
- package/dist/{index-C1vVYigQ.d.cts → index-DF3Hweir.d.mts} +3 -3
- package/dist/{index-BVX_Jq2G.d.cts → index-DLJ-li1B.d.cts} +1 -1
- package/dist/{index-CYNgNatZ.d.mts → index-DjtGkwRM.d.cts} +2 -4
- package/dist/{index-BpLv6Y8m.d.mts → index-Ds__py2h.d.mts} +2 -2
- package/dist/{index-HnvGdPCp.d.cts → index-KZUd8B5E.d.mts} +3 -5
- package/dist/{index-CJQXZ4hq.d.cts → index-MsUtFRul.d.cts} +1 -1
- package/dist/index-dtLxevvf.d.cts +49 -0
- package/dist/{index-B8FOqBiS.d.cts → index-q6EgsH9R.d.mts} +2 -4
- package/dist/{index-BahGB82c.d.cts → index-v99yMdts.d.cts} +3 -3
- package/dist/{index-BGWm4HKR.d.cts → index-yr4HkKOj.d.cts} +2 -2
- package/dist/{index-BJcHQUga.d.mts → index-zFYi0f1t.d.cts} +4 -7
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/{rolldown-runtime-DDXJien1.cjs → rolldown-runtime-BloeesfJ.cjs} +1 -1
- package/dist/{src-C8PIppTy.cjs → src-BJrcLd7P.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-Du6xgPsg.cjs → theme-CleLAV6A.cjs} +2 -1
- package/dist/{theme-V6lYzd3j.mjs → theme-Cudynq5K.mjs} +2 -1
- package/dist/theme.cjs +1 -1
- package/dist/theme.d.cts +3 -3
- package/dist/theme.d.mts +3 -3
- package/dist/theme.mjs +1 -1
- package/dist/{themes-BTGww2YK.d.cts → themes-CUV79qWU.d.cts} +16 -1
- package/dist/{themes-BTGww2YK.d.mts → themes-CUV79qWU.d.mts} +16 -1
- package/dist/{useTablePagination-D6T-fQFc.d.mts → useTablePagination-7jiSvKCh.d.cts} +1 -1
- package/dist/{useTablePagination-_94Wrvj9.d.cts → useTablePagination-HaIcJPv-.d.mts} +1 -1
- package/package.json +37 -17
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# @soroush.tech/design-system
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@soroush.tech/design-system)
|
|
4
|
-
[](https://www.npmjs.com/package/@soroush.tech/design-system)
|
|
3
|
+
[](https://www.npmjs.com/package/@soroush.tech/design-system)
|
|
4
|
+
[](https://www.npmjs.com/package/@soroush.tech/design-system)
|
|
5
5
|
[](https://app.codecov.io/gh/soroush-tech/core?flags%5B0%5D=design-system)
|
|
6
|
-
[](https://www.npmjs.com/package/@soroush.tech/design-system)
|
|
7
|
-
[](https://www.npmjs.com/package/@soroush.tech/design-system)
|
|
8
|
-
[](./LICENSE)
|
|
6
|
+
[](https://www.npmjs.com/package/@soroush.tech/design-system)
|
|
7
|
+
[](https://www.npmjs.com/package/@soroush.tech/design-system)
|
|
8
|
+
[](./LICENSE)
|
|
9
9
|
|
|
10
10
|
**Your design system. Your tokens. Your rules.**
|
|
11
11
|
A fully typed React component library where nothing is hardcoded — every color, scale, and default belongs to you, not the package.
|
package/dist/AppBar.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-BJrcLd7P.cjs");
|
|
3
3
|
const require_Flex = require("./Flex.cjs");
|
|
4
4
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
package/dist/AppBar.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import {
|
|
3
|
-
import { n as FlexProps } from "./index-
|
|
1
|
+
import "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
+
import { n as FlexProps } from "./index-zFYi0f1t.cjs";
|
|
4
4
|
//#region src/AppBar/AppBar.d.ts
|
|
5
5
|
/** Valid values for the color prop — derived from theme.background keys. */
|
|
6
6
|
type AppBarColor = keyof Theme['background'];
|
package/dist/AppBar.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as FlexProps } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import "./index-D8b5OCLe.mjs";
|
|
3
|
+
import { n as FlexProps } from "./index-DEv2QslH.mjs";
|
|
4
4
|
//#region src/AppBar/AppBar.d.ts
|
|
5
5
|
/** Valid values for the color prop — derived from theme.background keys. */
|
|
6
6
|
type AppBarColor = keyof Theme['background'];
|
package/dist/Avatar.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-BJrcLd7P.cjs");
|
|
3
3
|
const require_Flex = require("./Flex.cjs");
|
|
4
4
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
5
|
-
const require_theme = require("./theme-
|
|
5
|
+
const require_theme = require("./theme-CleLAV6A.cjs");
|
|
6
6
|
let react = require("react");
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
|
package/dist/Avatar.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import {
|
|
3
|
-
import { n as FlexProps } from "./index-
|
|
1
|
+
import "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
+
import { n as FlexProps } from "./index-zFYi0f1t.cjs";
|
|
4
4
|
//#region src/Avatar/Avatar.d.ts
|
|
5
5
|
type AvatarVariant = 'circular' | 'rounded' | 'square';
|
|
6
6
|
type AvatarSize = keyof Theme['avatar'];
|
package/dist/Avatar.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as FlexProps } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import "./index-D8b5OCLe.mjs";
|
|
3
|
+
import { n as FlexProps } from "./index-DEv2QslH.mjs";
|
|
4
4
|
//#region src/Avatar/Avatar.d.ts
|
|
5
5
|
type AvatarVariant = 'circular' | 'rounded' | 'square';
|
|
6
6
|
type AvatarSize = keyof Theme['avatar'];
|
package/dist/Avatar.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
|
|
2
2
|
import { Flex } from "./Flex.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-Cudynq5K.mjs";
|
|
5
5
|
import { useState } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/Avatar/Avatar.tsx
|
package/dist/Backdrop.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-BJrcLd7P.cjs");
|
|
3
3
|
const require_View = require("./View.cjs");
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
5
|
//#region src/Backdrop/Backdrop.tsx
|
package/dist/Backdrop.d.cts
CHANGED
package/dist/Backdrop.d.mts
CHANGED
package/dist/Button.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-BJrcLd7P.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-CleLAV6A.cjs");
|
|
6
6
|
const require_CircularProgress = require("./CircularProgress.cjs");
|
|
7
7
|
const require_ButtonGroupContext = require("./ButtonGroupContext-NtkVeDVE.cjs");
|
|
8
8
|
let react = require("react");
|
|
@@ -11,7 +11,6 @@ let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/sty
|
|
|
11
11
|
//#region src/Button/Button.tsx
|
|
12
12
|
const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)([
|
|
13
13
|
..._soroush_tech_styled_system_should_forward_prop.props,
|
|
14
|
-
"gap",
|
|
15
14
|
"variant",
|
|
16
15
|
"size",
|
|
17
16
|
"shape",
|
|
@@ -72,10 +71,6 @@ const baseStyles = {
|
|
|
72
71
|
opacity: .5
|
|
73
72
|
}
|
|
74
73
|
};
|
|
75
|
-
const buttonBaseSystem = (0, require_src.src_exports.system)({ gap: {
|
|
76
|
-
property: "gap",
|
|
77
|
-
scale: "space"
|
|
78
|
-
} });
|
|
79
74
|
const sizeVariants = ({ theme, size }) => {
|
|
80
75
|
const s = theme.sizes[size];
|
|
81
76
|
return {
|
|
@@ -126,7 +121,6 @@ const ButtonRoot = require_src.styled("button", {
|
|
|
126
121
|
systemProps: [
|
|
127
122
|
require_src.src_exports.space,
|
|
128
123
|
safeLayout,
|
|
129
|
-
buttonBaseSystem,
|
|
130
124
|
require_src.src_exports.typography,
|
|
131
125
|
require_src.src_exports.border
|
|
132
126
|
]
|
package/dist/Button.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ButtonShape, c as GapToken, i as ButtonProps, n as ButtonColor, o as ButtonSize, r as ButtonLoadingPosition, s as ButtonVariant, t as Button } from "./index-
|
|
1
|
+
import { a as ButtonShape, c as GapToken, i as ButtonProps, n as ButtonColor, o as ButtonSize, r as ButtonLoadingPosition, s as ButtonVariant, t as Button } from "./index-BJ8OC_Zh.cjs";
|
|
2
2
|
export { Button, ButtonColor, ButtonLoadingPosition, ButtonProps, ButtonShape, ButtonSize, ButtonVariant, GapToken };
|
package/dist/Button.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ButtonShape, c as GapToken, i as ButtonProps, n as ButtonColor, o as ButtonSize, r as ButtonLoadingPosition, s as ButtonVariant, t as Button } from "./index-
|
|
1
|
+
import { a as ButtonShape, c as GapToken, i as ButtonProps, n as ButtonColor, o as ButtonSize, r as ButtonLoadingPosition, s as ButtonVariant, t as Button } from "./index-D8U2tk1L.mjs";
|
|
2
2
|
export { Button, ButtonColor, ButtonLoadingPosition, ButtonProps, ButtonShape, ButtonSize, ButtonVariant, GapToken };
|
package/dist/Button.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
3
|
import { alpha } from "./utils.mjs";
|
|
4
|
-
import { n as useDefaultProps, r as useTheme } from "./theme-
|
|
4
|
+
import { n as useDefaultProps, r as useTheme } from "./theme-Cudynq5K.mjs";
|
|
5
5
|
import { CircularProgress } from "./CircularProgress.mjs";
|
|
6
6
|
import { t as ButtonGroupContext } from "./ButtonGroupContext-DS-kl9lG.mjs";
|
|
7
7
|
import { useContext } from "react";
|
|
@@ -9,7 +9,6 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
9
9
|
//#region src/Button/Button.tsx
|
|
10
10
|
const shouldForwardProp = createShouldForwardProp([
|
|
11
11
|
...props,
|
|
12
|
-
"gap",
|
|
13
12
|
"variant",
|
|
14
13
|
"size",
|
|
15
14
|
"shape",
|
|
@@ -70,10 +69,6 @@ const baseStyles = {
|
|
|
70
69
|
opacity: .5
|
|
71
70
|
}
|
|
72
71
|
};
|
|
73
|
-
const buttonBaseSystem = (0, src_exports.system)({ gap: {
|
|
74
|
-
property: "gap",
|
|
75
|
-
scale: "space"
|
|
76
|
-
} });
|
|
77
72
|
const sizeVariants = ({ theme, size }) => {
|
|
78
73
|
const s = theme.sizes[size];
|
|
79
74
|
return {
|
|
@@ -124,7 +119,6 @@ const ButtonRoot = styled("button", {
|
|
|
124
119
|
systemProps: [
|
|
125
120
|
src_exports.space,
|
|
126
121
|
safeLayout,
|
|
127
|
-
buttonBaseSystem,
|
|
128
122
|
src_exports.typography,
|
|
129
123
|
src_exports.border
|
|
130
124
|
]
|
package/dist/ButtonGroup.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-BJrcLd7P.cjs");
|
|
3
3
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
4
4
|
const require_utils = require("./utils.cjs");
|
|
5
5
|
const require_ButtonGroupContext = require("./ButtonGroupContext-NtkVeDVE.cjs");
|
package/dist/ButtonGroup.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ButtonGroupProps, i as ButtonGroupOrientation, n as ButtonGroupContextValue, o as ButtonGroupRadius, r as ButtonGroup, t as ButtonGroupContext } from "./index
|
|
1
|
+
import { a as ButtonGroupProps, i as ButtonGroupOrientation, n as ButtonGroupContextValue, o as ButtonGroupRadius, r as ButtonGroup, t as ButtonGroupContext } from "./index--mvTGo8F.cjs";
|
|
2
2
|
export { ButtonGroup, ButtonGroupContext, ButtonGroupContextValue, ButtonGroupOrientation, ButtonGroupProps, ButtonGroupRadius };
|
package/dist/ButtonGroup.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ButtonGroupProps, i as ButtonGroupOrientation, n as ButtonGroupContextValue, o as ButtonGroupRadius, r as ButtonGroup, t as ButtonGroupContext } from "./index-
|
|
1
|
+
import { a as ButtonGroupProps, i as ButtonGroupOrientation, n as ButtonGroupContextValue, o as ButtonGroupRadius, r as ButtonGroup, t as ButtonGroupContext } from "./index-DF3Hweir.mjs";
|
|
2
2
|
export { ButtonGroup, ButtonGroupContext, ButtonGroupContextValue, ButtonGroupOrientation, ButtonGroupProps, ButtonGroupRadius };
|
package/dist/Card.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
2
|
+
const require_src = require("./src-BJrcLd7P.cjs");
|
|
3
3
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
4
|
-
const require_theme = require("./theme-
|
|
4
|
+
const require_theme = require("./theme-CleLAV6A.cjs");
|
|
5
5
|
const require_Paper = require("./Paper.cjs");
|
|
6
6
|
const require_Typography = require("./Typography.cjs");
|
|
7
|
-
const require_Icon = require("./Icon-
|
|
7
|
+
const require_Icon = require("./Icon-ByDvM-t1.cjs");
|
|
8
8
|
require("react");
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
//#region src/Card/Card.tsx
|
package/dist/Card.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as PaperProps } from "./index-
|
|
2
|
-
import { a as TypographyProps } from "./index-
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { r as PaperProps } from "./index-CYTaYcm3.cjs";
|
|
2
|
+
import { a as TypographyProps } from "./index-CvaEVk-f.cjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-CA_X-mXg.cjs";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
//#region src/Card/Card.d.ts
|
|
6
6
|
type CardVariant = 'paper' | 'bracketBox' | 'interactive';
|
package/dist/Card.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as PaperProps } from "./index-
|
|
2
|
-
import { a as TypographyProps } from "./index-
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { r as PaperProps } from "./index-KZUd8B5E.mjs";
|
|
2
|
+
import { a as TypographyProps } from "./index-B2hrssyF.mjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-BL3jwIQU.mjs";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
//#region src/Card/Card.d.ts
|
|
6
6
|
type CardVariant = 'paper' | 'bracketBox' | 'interactive';
|
package/dist/Card.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { o as styled } from "./src-BJy4dM4f.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
|
-
import { n as useDefaultProps, r as useTheme } from "./theme-
|
|
3
|
+
import { n as useDefaultProps, r as useTheme } from "./theme-Cudynq5K.mjs";
|
|
4
4
|
import { Paper } from "./Paper.mjs";
|
|
5
5
|
import { Typography } from "./Typography.mjs";
|
|
6
|
-
import { t as Icon } from "./Icon-
|
|
6
|
+
import { t as Icon } from "./Icon-GgwNXKEY.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/Card/Card.tsx
|
package/dist/Checkbox.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-BJrcLd7P.cjs");
|
|
3
3
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
4
4
|
const require_FormControl = require("./FormControl.cjs");
|
|
5
5
|
let react = require("react");
|
package/dist/Checkbox.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-
|
|
2
|
-
import { d as PaletteColor,
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
3
|
import { ChangeEvent, ReactNode } from "react";
|
|
4
4
|
//#region src/Checkbox/Checkbox.d.ts
|
|
5
5
|
type CheckboxColor = PaletteColor;
|
package/dist/Checkbox.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as PaletteColor,
|
|
2
|
-
import { r as index_d_exports } from "./index-
|
|
1
|
+
import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
3
|
import { ChangeEvent, ReactNode } from "react";
|
|
4
4
|
//#region src/Checkbox/Checkbox.d.ts
|
|
5
5
|
type CheckboxColor = PaletteColor;
|
|
@@ -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-BJrcLd7P.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 { r as index_d_exports } from "./index-
|
|
2
|
-
import {
|
|
3
|
-
import { n as ButtonColor } from "./index-
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
|
+
import { n as ButtonColor } from "./index-BJ8OC_Zh.cjs";
|
|
4
4
|
import { HTMLAttributes } from "react";
|
|
5
5
|
//#region src/CircularProgress/CircularProgress.d.ts
|
|
6
6
|
type CircularProgressVariant = 'indeterminate' | 'determinate';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as index_d_exports } from "./index-
|
|
3
|
-
import { n as ButtonColor } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
|
+
import { n as ButtonColor } from "./index-D8U2tk1L.mjs";
|
|
4
4
|
import { HTMLAttributes } from "react";
|
|
5
5
|
//#region src/CircularProgress/CircularProgress.d.ts
|
|
6
6
|
type CircularProgressVariant = 'indeterminate' | 'determinate';
|
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-BJrcLd7P.cjs");
|
|
3
3
|
const require_Paper = require("./Paper.cjs");
|
|
4
|
-
const require_Modal = require("./Modal-
|
|
4
|
+
const require_Modal = require("./Modal-S2nb35q-.cjs");
|
|
5
5
|
require("react");
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let _emotion_react = require("@emotion/react");
|
|
@@ -39,10 +39,11 @@ const anchorPosition = {
|
|
|
39
39
|
width: "100%"
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
|
+
const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)(["anchor", "duration"]);
|
|
42
43
|
const DrawerPanel = require_src.styled(require_Paper.Paper, {
|
|
43
44
|
name: "Drawer",
|
|
44
45
|
label: "Drawer",
|
|
45
|
-
shouldForwardProp
|
|
46
|
+
shouldForwardProp
|
|
46
47
|
})(({ anchor, duration }) => ({
|
|
47
48
|
position: "fixed",
|
|
48
49
|
...anchorPosition[anchor],
|
package/dist/Drawer.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as PaperElevation } from "./index-
|
|
2
|
-
import { o as ModalProps } from "./index-
|
|
1
|
+
import { n as PaperElevation } from "./index-CYTaYcm3.cjs";
|
|
2
|
+
import { o as ModalProps } from "./index-BfpjEqqt.cjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/Drawer/Drawer.d.ts
|
|
5
5
|
type DrawerAnchor = 'left' | 'right' | 'top' | 'bottom';
|
package/dist/Drawer.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as PaperElevation } from "./index-
|
|
2
|
-
import { o as ModalProps } from "./index-
|
|
1
|
+
import { n as PaperElevation } from "./index-KZUd8B5E.mjs";
|
|
2
|
+
import { o as ModalProps } from "./index-Ds__py2h.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/Drawer/Drawer.d.ts
|
|
5
5
|
type DrawerAnchor = 'left' | 'right' | 'top' | 'bottom';
|
package/dist/Drawer.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as styled, r as keyframes, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
|
|
2
2
|
import { Paper } from "./Paper.mjs";
|
|
3
|
-
import { t as Modal } from "./Modal-
|
|
3
|
+
import { t as Modal } from "./Modal-COLrJoNW.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/Drawer/Drawer.tsx
|
|
@@ -36,10 +36,11 @@ const anchorPosition = {
|
|
|
36
36
|
width: "100%"
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
|
+
const shouldForwardProp = createShouldForwardProp(["anchor", "duration"]);
|
|
39
40
|
const DrawerPanel = styled(Paper, {
|
|
40
41
|
name: "Drawer",
|
|
41
42
|
label: "Drawer",
|
|
42
|
-
shouldForwardProp
|
|
43
|
+
shouldForwardProp
|
|
43
44
|
})(({ anchor, duration }) => ({
|
|
44
45
|
position: "fixed",
|
|
45
46
|
...anchorPosition[anchor],
|
package/dist/Flex.cjs
CHANGED
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
2
|
+
const require_src = require("./src-BJrcLd7P.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
|
|
6
|
-
const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)([..._soroush_tech_styled_system_should_forward_prop.props
|
|
7
|
-
const gapSystem = (0, require_src.src_exports.system)({ gap: {
|
|
8
|
-
property: "gap",
|
|
9
|
-
scale: "space"
|
|
10
|
-
} });
|
|
6
|
+
const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)([..._soroush_tech_styled_system_should_forward_prop.props]);
|
|
11
7
|
const Flex = require_src.styled(require_View.View, {
|
|
12
8
|
name: "Flex",
|
|
13
9
|
label: "flex",
|
|
14
10
|
shouldForwardProp,
|
|
15
|
-
systemProps: [require_src.src_exports.flexbox
|
|
11
|
+
systemProps: [require_src.src_exports.flexbox]
|
|
16
12
|
})({
|
|
17
13
|
display: "flex",
|
|
18
14
|
flexDirection: "column"
|
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-zFYi0f1t.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-DEv2QslH.mjs";
|
|
2
2
|
export { Flex, FlexProps, GapToken };
|
package/dist/Flex.mjs
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
|
|
2
2
|
import { View } from "./View.mjs";
|
|
3
3
|
//#region src/Flex/Flex.tsx
|
|
4
|
-
const shouldForwardProp = createShouldForwardProp([...props
|
|
5
|
-
const gapSystem = (0, src_exports.system)({ gap: {
|
|
6
|
-
property: "gap",
|
|
7
|
-
scale: "space"
|
|
8
|
-
} });
|
|
4
|
+
const shouldForwardProp = createShouldForwardProp([...props]);
|
|
9
5
|
const Flex = styled(View, {
|
|
10
6
|
name: "Flex",
|
|
11
7
|
label: "flex",
|
|
12
8
|
shouldForwardProp,
|
|
13
|
-
systemProps: [src_exports.flexbox
|
|
9
|
+
systemProps: [src_exports.flexbox]
|
|
14
10
|
})({
|
|
15
11
|
display: "flex",
|
|
16
12
|
flexDirection: "column"
|
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-BJrcLd7P.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/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-BJrcLd7P.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");
|
package/dist/Form.d.cts
CHANGED
package/dist/Form.d.mts
CHANGED
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-BJrcLd7P.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-CleLAV6A.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,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
2
|
+
import { s as ViewProps } from "./index-DjtGkwRM.cjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/FormControl/FormControl.d.ts
|
|
5
5
|
interface FormControlProps extends Omit<ViewProps, 'color'> {
|
package/dist/FormControl.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { s as ViewProps } from "./index-q6EgsH9R.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
//#region src/FormControl/FormControl.d.ts
|
|
5
5
|
interface FormControlProps extends Omit<ViewProps, 'color'> {
|
package/dist/FormControl.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as styled } from "./src-BJy4dM4f.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-Cudynq5K.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-BJrcLd7P.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.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-BJrcLd7P.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/Grid.cjs
CHANGED
|
@@ -1,37 +1,14 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_src = require("./src-
|
|
2
|
+
const require_src = require("./src-BJrcLd7P.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
|
|
6
|
-
const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)([
|
|
7
|
-
..._soroush_tech_styled_system_should_forward_prop.props,
|
|
8
|
-
"gap",
|
|
9
|
-
"columnGap",
|
|
10
|
-
"rowGap"
|
|
11
|
-
]);
|
|
12
|
-
const gapSystem = (0, require_src.src_exports.system)({
|
|
13
|
-
gap: {
|
|
14
|
-
property: "gap",
|
|
15
|
-
scale: "space"
|
|
16
|
-
},
|
|
17
|
-
columnGap: {
|
|
18
|
-
property: "columnGap",
|
|
19
|
-
scale: "space"
|
|
20
|
-
},
|
|
21
|
-
rowGap: {
|
|
22
|
-
property: "rowGap",
|
|
23
|
-
scale: "space"
|
|
24
|
-
}
|
|
25
|
-
});
|
|
6
|
+
const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)([..._soroush_tech_styled_system_should_forward_prop.props]);
|
|
26
7
|
const Grid = require_src.styled(require_View.View, {
|
|
27
8
|
name: "Grid",
|
|
28
9
|
label: "grid",
|
|
29
10
|
shouldForwardProp,
|
|
30
|
-
systemProps: [
|
|
31
|
-
gapSystem,
|
|
32
|
-
require_src.src_exports.grid,
|
|
33
|
-
require_src.src_exports.flexbox
|
|
34
|
-
]
|
|
11
|
+
systemProps: [require_src.src_exports.grid, require_src.src_exports.flexbox]
|
|
35
12
|
})({ display: "grid" });
|
|
36
13
|
//#endregion
|
|
37
14
|
exports.Grid = Grid;
|