@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/dist/Grid.d.cts
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-
|
|
2
|
-
import {
|
|
3
|
-
import { s as ViewProps } 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 { s as ViewProps } from "./index-DjtGkwRM.cjs";
|
|
4
4
|
//#region src/Grid/Grid.d.ts
|
|
5
5
|
/** Valid values for the gap / columnGap / rowGap props — derived from theme.space keys. */
|
|
6
6
|
type GapToken = keyof Theme['space'];
|
|
7
|
-
interface GridProps extends ViewProps, index_d_exports.GridProps<Theme>, index_d_exports.FlexboxProps<Theme> {
|
|
8
|
-
/** Resolves against theme.space — maps to CSS gap. Accepts responsive arrays. */
|
|
9
|
-
gap?: index_d_exports.ResponsiveValue<GapToken>;
|
|
10
|
-
/** Resolves against theme.space — maps to CSS column-gap. Accepts responsive arrays. */
|
|
11
|
-
columnGap?: index_d_exports.ResponsiveValue<GapToken>;
|
|
12
|
-
/** Resolves against theme.space — maps to CSS row-gap. Accepts responsive arrays. */
|
|
13
|
-
rowGap?: index_d_exports.ResponsiveValue<GapToken>;
|
|
14
|
-
}
|
|
7
|
+
interface GridProps extends ViewProps, index_d_exports.GridProps<Theme>, index_d_exports.FlexboxProps<Theme> {}
|
|
15
8
|
declare const Grid: import("@emotion/styled").StyledComponent<{
|
|
16
9
|
theme?: Theme;
|
|
17
10
|
as?: React.ElementType;
|
package/dist/Grid.d.mts
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as index_d_exports } from "./index-
|
|
3
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
|
+
import { s as ViewProps } from "./index-q6EgsH9R.mjs";
|
|
4
4
|
//#region src/Grid/Grid.d.ts
|
|
5
5
|
/** Valid values for the gap / columnGap / rowGap props — derived from theme.space keys. */
|
|
6
6
|
type GapToken = keyof Theme['space'];
|
|
7
|
-
interface GridProps extends ViewProps, index_d_exports.GridProps<Theme>, index_d_exports.FlexboxProps<Theme> {
|
|
8
|
-
/** Resolves against theme.space — maps to CSS gap. Accepts responsive arrays. */
|
|
9
|
-
gap?: index_d_exports.ResponsiveValue<GapToken>;
|
|
10
|
-
/** Resolves against theme.space — maps to CSS column-gap. Accepts responsive arrays. */
|
|
11
|
-
columnGap?: index_d_exports.ResponsiveValue<GapToken>;
|
|
12
|
-
/** Resolves against theme.space — maps to CSS row-gap. Accepts responsive arrays. */
|
|
13
|
-
rowGap?: index_d_exports.ResponsiveValue<GapToken>;
|
|
14
|
-
}
|
|
7
|
+
interface GridProps extends ViewProps, index_d_exports.GridProps<Theme>, index_d_exports.FlexboxProps<Theme> {}
|
|
15
8
|
declare const Grid: import("@emotion/styled").StyledComponent<{
|
|
16
9
|
theme?: Theme;
|
|
17
10
|
as?: React.ElementType;
|
package/dist/Grid.mjs
CHANGED
|
@@ -1,32 +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
|
+
//#region src/Grid/Grid.tsx
|
|
4
|
+
const shouldForwardProp = createShouldForwardProp([...props]);
|
|
3
5
|
const Grid = styled(View, {
|
|
4
6
|
name: "Grid",
|
|
5
7
|
label: "grid",
|
|
6
|
-
shouldForwardProp
|
|
7
|
-
|
|
8
|
-
"gap",
|
|
9
|
-
"columnGap",
|
|
10
|
-
"rowGap"
|
|
11
|
-
]),
|
|
12
|
-
systemProps: [
|
|
13
|
-
(0, src_exports.system)({
|
|
14
|
-
gap: {
|
|
15
|
-
property: "gap",
|
|
16
|
-
scale: "space"
|
|
17
|
-
},
|
|
18
|
-
columnGap: {
|
|
19
|
-
property: "columnGap",
|
|
20
|
-
scale: "space"
|
|
21
|
-
},
|
|
22
|
-
rowGap: {
|
|
23
|
-
property: "rowGap",
|
|
24
|
-
scale: "space"
|
|
25
|
-
}
|
|
26
|
-
}),
|
|
27
|
-
src_exports.grid,
|
|
28
|
-
src_exports.flexbox
|
|
29
|
-
]
|
|
8
|
+
shouldForwardProp,
|
|
9
|
+
systemProps: [src_exports.grid, src_exports.flexbox]
|
|
30
10
|
})({ display: "grid" });
|
|
31
11
|
//#endregion
|
|
32
12
|
export { Grid };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_src = require("./src-
|
|
1
|
+
const require_src = require("./src-BJrcLd7P.cjs");
|
|
2
2
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
3
|
-
const require_theme = require("./theme-
|
|
3
|
+
const require_theme = require("./theme-CleLAV6A.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");
|
|
@@ -204,6 +204,15 @@ const SvgDns = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
|
204
204
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M19 15H5c-1.1 0-2 .9-2 2v4h18v-4c0-1.1-.9-2-2-2zM7 20H5v-2h2v2zm12 0h-2v-2h2v2zM19 5H5C3.9 5 3 5.9 3 7v4h18V7c0-1.1-.9-2-2-2zM7 10H5V8h2v2zm12 0h-2V8h2v2z" })
|
|
205
205
|
});
|
|
206
206
|
//#endregion
|
|
207
|
+
//#region src/Icon/icons/EditNote.tsx
|
|
208
|
+
const SvgEditNote = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
209
|
+
viewBox: "0 -960 960 960",
|
|
210
|
+
fill: "#ffffff",
|
|
211
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
212
|
+
...props,
|
|
213
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M120-400v-60h300v60H120Zm0-165v-60h470v60H120Zm0-165v-60h470v60H120Zm400 610v-123l221-220q9-9 20-13t22-4q12 0 23 4.5t20 13.5l37 37q9 9 13 20t4 22q0 11-4.5 22.5T862-340L642-120H520Zm300-263-37-37 37 37ZM580-180h38l121-122-18-19-19-18-122 121v38Zm141-141-19-18 37 37-18-19Z" })
|
|
214
|
+
});
|
|
215
|
+
//#endregion
|
|
207
216
|
//#region src/Icon/icons/ExpandLess.tsx
|
|
208
217
|
const SvgExpandLess = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
209
218
|
viewBox: "0 0 24 24",
|
|
@@ -259,6 +268,15 @@ const SvgFirstPage = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg"
|
|
|
259
268
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z" })
|
|
260
269
|
});
|
|
261
270
|
//#endregion
|
|
271
|
+
//#region src/Icon/icons/Folder.tsx
|
|
272
|
+
const SvgFolder = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
273
|
+
viewBox: "0 -960 960 960",
|
|
274
|
+
fill: "#ffffff",
|
|
275
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
276
|
+
...props,
|
|
277
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M140-160q-24 0-42-18t-18-42v-520q0-24 18-42t42-18h240l80 80h360q24 0 42 18t18 42v440q0 24-18 42t-42 18H140Zm0-60h680v-440H435l-80-80H140v520Zm0 0v-520 520Z" })
|
|
278
|
+
});
|
|
279
|
+
//#endregion
|
|
262
280
|
//#region src/Icon/icons/FormatListBulleted.tsx
|
|
263
281
|
const SvgFormatListBulleted = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
264
282
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -410,6 +428,15 @@ const SvgGroups = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
|
410
428
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z" })
|
|
411
429
|
});
|
|
412
430
|
//#endregion
|
|
431
|
+
//#region src/Icon/icons/History.tsx
|
|
432
|
+
const SvgHistory = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
433
|
+
viewBox: "0 -960 960 960",
|
|
434
|
+
fill: "#ffffff",
|
|
435
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
436
|
+
...props,
|
|
437
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M480-120q-138 0-240.5-91.5T122-440h62q13 106 92.5 173T480-200q117 0 198.5-81.5T760-480q0-117-81.5-198.5T480-760q-69 0-129 32t-101 88h110v60H150v-210h60v106q48-62 119-99t151-37q75 0 140.5 28.5t114 77q48.5 48.5 77 114T840-480q0 75-28.5 140.5t-77 114q-48.5 48.5-114 77T480-120Zm112-192L450-454v-226h60v202l124 124-42 42Z" })
|
|
438
|
+
});
|
|
439
|
+
//#endregion
|
|
413
440
|
//#region src/Icon/icons/Hub.tsx
|
|
414
441
|
const SvgHub = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", {
|
|
415
442
|
viewBox: "0 0 24 24",
|
|
@@ -717,16 +744,19 @@ const icons = {
|
|
|
717
744
|
database: SvgDatabase,
|
|
718
745
|
desktop_windows: SvgDesktopWindows,
|
|
719
746
|
dns: SvgDns,
|
|
747
|
+
edit_note: SvgEditNote,
|
|
720
748
|
expand_less: SvgExpandLess,
|
|
721
749
|
expand_more: SvgExpandMore,
|
|
722
750
|
external_link: SvgExternalLink,
|
|
723
751
|
first_page: SvgFirstPage,
|
|
752
|
+
folder: SvgFolder,
|
|
724
753
|
format_list_bulleted: SvgFormatListBulleted,
|
|
725
754
|
format_list_numbered: SvgFormatListNumbered,
|
|
726
755
|
format_quote: SvgFormatQuote,
|
|
727
756
|
fullscreen: SvgFullscreen,
|
|
728
757
|
grid_view: SvgGridView,
|
|
729
758
|
groups: SvgGroups,
|
|
759
|
+
history: SvgHistory,
|
|
730
760
|
hub: SvgHub,
|
|
731
761
|
image: SvgImage,
|
|
732
762
|
language: SvgLanguage,
|
|
@@ -755,17 +785,19 @@ const icons = {
|
|
|
755
785
|
};
|
|
756
786
|
//#endregion
|
|
757
787
|
//#region src/Icon/Icon.tsx
|
|
788
|
+
const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)([..._soroush_tech_styled_system_should_forward_prop.props]);
|
|
789
|
+
const colorSystem = (0, require_src.src_exports.system)({ color: {
|
|
790
|
+
property: "color",
|
|
791
|
+
scale: "text"
|
|
792
|
+
} });
|
|
758
793
|
const StyledIcon = require_src.styled("svg", {
|
|
759
794
|
name: "Icon",
|
|
760
795
|
label: "icon",
|
|
761
|
-
shouldForwardProp
|
|
796
|
+
shouldForwardProp,
|
|
762
797
|
systemProps: [
|
|
763
798
|
require_src.src_exports.layout,
|
|
764
799
|
require_src.src_exports.space,
|
|
765
|
-
|
|
766
|
-
property: "color",
|
|
767
|
-
scale: "text"
|
|
768
|
-
} })
|
|
800
|
+
colorSystem
|
|
769
801
|
]
|
|
770
802
|
})({ fill: "currentColor" });
|
|
771
803
|
function Icon({ name, color, size, ...rest }) {
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
import { r as useTheme } from "./theme-
|
|
3
|
+
import { r as useTheme } from "./theme-Cudynq5K.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/Icon/icons/AccountTree.tsx
|
|
@@ -203,6 +203,15 @@ const SvgDns = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
203
203
|
children: /* @__PURE__ */ jsx("path", { d: "M19 15H5c-1.1 0-2 .9-2 2v4h18v-4c0-1.1-.9-2-2-2zM7 20H5v-2h2v2zm12 0h-2v-2h2v2zM19 5H5C3.9 5 3 5.9 3 7v4h18V7c0-1.1-.9-2-2-2zM7 10H5V8h2v2zm12 0h-2V8h2v2z" })
|
|
204
204
|
});
|
|
205
205
|
//#endregion
|
|
206
|
+
//#region src/Icon/icons/EditNote.tsx
|
|
207
|
+
const SvgEditNote = (props) => /* @__PURE__ */ jsx("svg", {
|
|
208
|
+
viewBox: "0 -960 960 960",
|
|
209
|
+
fill: "#ffffff",
|
|
210
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
211
|
+
...props,
|
|
212
|
+
children: /* @__PURE__ */ jsx("path", { d: "M120-400v-60h300v60H120Zm0-165v-60h470v60H120Zm0-165v-60h470v60H120Zm400 610v-123l221-220q9-9 20-13t22-4q12 0 23 4.5t20 13.5l37 37q9 9 13 20t4 22q0 11-4.5 22.5T862-340L642-120H520Zm300-263-37-37 37 37ZM580-180h38l121-122-18-19-19-18-122 121v38Zm141-141-19-18 37 37-18-19Z" })
|
|
213
|
+
});
|
|
214
|
+
//#endregion
|
|
206
215
|
//#region src/Icon/icons/ExpandLess.tsx
|
|
207
216
|
const SvgExpandLess = (props) => /* @__PURE__ */ jsx("svg", {
|
|
208
217
|
viewBox: "0 0 24 24",
|
|
@@ -258,6 +267,15 @@ const SvgFirstPage = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
258
267
|
children: /* @__PURE__ */ jsx("path", { d: "M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z" })
|
|
259
268
|
});
|
|
260
269
|
//#endregion
|
|
270
|
+
//#region src/Icon/icons/Folder.tsx
|
|
271
|
+
const SvgFolder = (props) => /* @__PURE__ */ jsx("svg", {
|
|
272
|
+
viewBox: "0 -960 960 960",
|
|
273
|
+
fill: "#ffffff",
|
|
274
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
275
|
+
...props,
|
|
276
|
+
children: /* @__PURE__ */ jsx("path", { d: "M140-160q-24 0-42-18t-18-42v-520q0-24 18-42t42-18h240l80 80h360q24 0 42 18t18 42v440q0 24-18 42t-42 18H140Zm0-60h680v-440H435l-80-80H140v520Zm0 0v-520 520Z" })
|
|
277
|
+
});
|
|
278
|
+
//#endregion
|
|
261
279
|
//#region src/Icon/icons/FormatListBulleted.tsx
|
|
262
280
|
const SvgFormatListBulleted = (props) => /* @__PURE__ */ jsxs("svg", {
|
|
263
281
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -409,6 +427,15 @@ const SvgGroups = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
409
427
|
children: /* @__PURE__ */ jsx("path", { d: "M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z" })
|
|
410
428
|
});
|
|
411
429
|
//#endregion
|
|
430
|
+
//#region src/Icon/icons/History.tsx
|
|
431
|
+
const SvgHistory = (props) => /* @__PURE__ */ jsx("svg", {
|
|
432
|
+
viewBox: "0 -960 960 960",
|
|
433
|
+
fill: "#ffffff",
|
|
434
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
435
|
+
...props,
|
|
436
|
+
children: /* @__PURE__ */ jsx("path", { d: "M480-120q-138 0-240.5-91.5T122-440h62q13 106 92.5 173T480-200q117 0 198.5-81.5T760-480q0-117-81.5-198.5T480-760q-69 0-129 32t-101 88h110v60H150v-210h60v106q48-62 119-99t151-37q75 0 140.5 28.5t114 77q48.5 48.5 77 114T840-480q0 75-28.5 140.5t-77 114q-48.5 48.5-114 77T480-120Zm112-192L450-454v-226h60v202l124 124-42 42Z" })
|
|
437
|
+
});
|
|
438
|
+
//#endregion
|
|
412
439
|
//#region src/Icon/icons/Hub.tsx
|
|
413
440
|
const SvgHub = (props) => /* @__PURE__ */ jsx("svg", {
|
|
414
441
|
viewBox: "0 0 24 24",
|
|
@@ -716,16 +743,19 @@ const icons = {
|
|
|
716
743
|
database: SvgDatabase,
|
|
717
744
|
desktop_windows: SvgDesktopWindows,
|
|
718
745
|
dns: SvgDns,
|
|
746
|
+
edit_note: SvgEditNote,
|
|
719
747
|
expand_less: SvgExpandLess,
|
|
720
748
|
expand_more: SvgExpandMore,
|
|
721
749
|
external_link: SvgExternalLink,
|
|
722
750
|
first_page: SvgFirstPage,
|
|
751
|
+
folder: SvgFolder,
|
|
723
752
|
format_list_bulleted: SvgFormatListBulleted,
|
|
724
753
|
format_list_numbered: SvgFormatListNumbered,
|
|
725
754
|
format_quote: SvgFormatQuote,
|
|
726
755
|
fullscreen: SvgFullscreen,
|
|
727
756
|
grid_view: SvgGridView,
|
|
728
757
|
groups: SvgGroups,
|
|
758
|
+
history: SvgHistory,
|
|
729
759
|
hub: SvgHub,
|
|
730
760
|
image: SvgImage,
|
|
731
761
|
language: SvgLanguage,
|
|
@@ -754,17 +784,19 @@ const icons = {
|
|
|
754
784
|
};
|
|
755
785
|
//#endregion
|
|
756
786
|
//#region src/Icon/Icon.tsx
|
|
787
|
+
const shouldForwardProp = createShouldForwardProp([...props]);
|
|
788
|
+
const colorSystem = (0, src_exports.system)({ color: {
|
|
789
|
+
property: "color",
|
|
790
|
+
scale: "text"
|
|
791
|
+
} });
|
|
757
792
|
const StyledIcon = styled("svg", {
|
|
758
793
|
name: "Icon",
|
|
759
794
|
label: "icon",
|
|
760
|
-
shouldForwardProp
|
|
795
|
+
shouldForwardProp,
|
|
761
796
|
systemProps: [
|
|
762
797
|
src_exports.layout,
|
|
763
798
|
src_exports.space,
|
|
764
|
-
|
|
765
|
-
property: "color",
|
|
766
|
-
scale: "text"
|
|
767
|
-
} })
|
|
799
|
+
colorSystem
|
|
768
800
|
]
|
|
769
801
|
})({ fill: "currentColor" });
|
|
770
802
|
function Icon({ name, color, size, ...rest }) {
|
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-CA_X-mXg.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-BL3jwIQU.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-GgwNXKEY.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-BJrcLd7P.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");
|
|
@@ -12,6 +12,14 @@ const baseShouldForwardProp = (0, _soroush_tech_styled_system_should_forward_pro
|
|
|
12
12
|
"borderRadius"
|
|
13
13
|
]);
|
|
14
14
|
const shouldForwardProp = (prop) => prop === "fetchPriority" || baseShouldForwardProp(prop);
|
|
15
|
+
const objectSystem = (0, require_src.src_exports.system)({
|
|
16
|
+
objectFit: { property: "objectFit" },
|
|
17
|
+
objectPosition: { property: "objectPosition" },
|
|
18
|
+
borderRadius: {
|
|
19
|
+
property: "borderRadius",
|
|
20
|
+
scale: "radii"
|
|
21
|
+
}
|
|
22
|
+
});
|
|
15
23
|
const StyledImg = require_src.styled("img", {
|
|
16
24
|
name: "Image",
|
|
17
25
|
label: "image",
|
|
@@ -21,14 +29,7 @@ const StyledImg = require_src.styled("img", {
|
|
|
21
29
|
require_src.src_exports.space,
|
|
22
30
|
require_src.src_exports.background,
|
|
23
31
|
require_src.src_exports.position,
|
|
24
|
-
|
|
25
|
-
objectFit: { property: "objectFit" },
|
|
26
|
-
objectPosition: { property: "objectPosition" },
|
|
27
|
-
borderRadius: {
|
|
28
|
-
property: "borderRadius",
|
|
29
|
-
scale: "radii"
|
|
30
|
-
}
|
|
31
|
-
})
|
|
32
|
+
objectSystem
|
|
32
33
|
]
|
|
33
34
|
})();
|
|
34
35
|
function Image({ src, srcSet, fallback, alt, onError, ...rest }) {
|
package/dist/Image.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as index_d_exports } from "./index-
|
|
2
|
-
import {
|
|
1
|
+
import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
3
|
import { CSSProperties, ImgHTMLAttributes } from "react";
|
|
4
4
|
//#region src/Image/Image.d.ts
|
|
5
5
|
interface ImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'height' | 'width' | 'color'>, index_d_exports.LayoutProps, index_d_exports.SpaceProps, index_d_exports.BackgroundProps, index_d_exports.PositionProps {
|
package/dist/Image.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as index_d_exports } from "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
|
|
3
3
|
import { CSSProperties, ImgHTMLAttributes } from "react";
|
|
4
4
|
//#region src/Image/Image.d.ts
|
|
5
5
|
interface ImageProps extends Omit<ImgHTMLAttributes<HTMLImageElement>, 'height' | 'width' | 'color'>, index_d_exports.LayoutProps, index_d_exports.SpaceProps, index_d_exports.BackgroundProps, index_d_exports.PositionProps {
|
package/dist/Image.mjs
CHANGED
|
@@ -10,6 +10,14 @@ const baseShouldForwardProp = createShouldForwardProp([
|
|
|
10
10
|
"borderRadius"
|
|
11
11
|
]);
|
|
12
12
|
const shouldForwardProp = (prop) => prop === "fetchPriority" || baseShouldForwardProp(prop);
|
|
13
|
+
const objectSystem = (0, src_exports.system)({
|
|
14
|
+
objectFit: { property: "objectFit" },
|
|
15
|
+
objectPosition: { property: "objectPosition" },
|
|
16
|
+
borderRadius: {
|
|
17
|
+
property: "borderRadius",
|
|
18
|
+
scale: "radii"
|
|
19
|
+
}
|
|
20
|
+
});
|
|
13
21
|
const StyledImg = styled("img", {
|
|
14
22
|
name: "Image",
|
|
15
23
|
label: "image",
|
|
@@ -19,14 +27,7 @@ const StyledImg = styled("img", {
|
|
|
19
27
|
src_exports.space,
|
|
20
28
|
src_exports.background,
|
|
21
29
|
src_exports.position,
|
|
22
|
-
|
|
23
|
-
objectFit: { property: "objectFit" },
|
|
24
|
-
objectPosition: { property: "objectPosition" },
|
|
25
|
-
borderRadius: {
|
|
26
|
-
property: "borderRadius",
|
|
27
|
-
scale: "radii"
|
|
28
|
-
}
|
|
29
|
-
})
|
|
30
|
+
objectSystem
|
|
30
31
|
]
|
|
31
32
|
})();
|
|
32
33
|
function Image({ src, srcSet, fallback, alt, onError, ...rest }) {
|
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-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/LinearProgress/LinearProgress.d.ts
|
|
6
6
|
type LinearProgressVariant = 'indeterminate' | 'determinate' | 'query';
|
|
@@ -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/LinearProgress/LinearProgress.d.ts
|
|
6
6
|
type LinearProgressVariant = 'indeterminate' | 'determinate' | 'query';
|
package/dist/Link.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_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
4
|
-
const require_theme = require("./theme-
|
|
4
|
+
const require_theme = require("./theme-CleLAV6A.cjs");
|
|
5
5
|
const require_Typography = require("./Typography.cjs");
|
|
6
6
|
require("react");
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -30,10 +30,6 @@ const underlineStyles = {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
const linkGapSystem = (0, require_src.src_exports.system)({ gap: {
|
|
34
|
-
property: "gap",
|
|
35
|
-
scale: "space"
|
|
36
|
-
} });
|
|
37
33
|
const LinkBase = require_src.styled(require_Typography.Typography, {
|
|
38
34
|
name: "Link",
|
|
39
35
|
label: "Link",
|
|
@@ -45,7 +41,7 @@ const LinkBase = require_src.styled(require_Typography.Typography, {
|
|
|
45
41
|
outlineOffset: "4px",
|
|
46
42
|
borderRadius: theme.radii.sm
|
|
47
43
|
}
|
|
48
|
-
})
|
|
44
|
+
}));
|
|
49
45
|
function Link({ underline: underlineProp, color, variant = "inherit", target, rel, ...rest }) {
|
|
50
46
|
const theme = require_theme.useTheme();
|
|
51
47
|
const underline = underlineProp ?? require_themeDefault.themeDefault(theme, "linkUnderline", "always");
|
package/dist/Link.d.cts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { a as TypographyProps } from "./index-
|
|
1
|
+
import { a as TypographyProps } from "./index-CvaEVk-f.cjs";
|
|
2
2
|
import { AnchorHTMLAttributes } from "react";
|
|
3
3
|
//#region src/Link/Link.d.ts
|
|
4
4
|
type LinkUnderline = 'always' | 'hover' | 'none';
|
|
5
5
|
interface LinkProps extends Omit<TypographyProps, 'as'>, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof Omit<TypographyProps, 'as'>> {
|
|
6
6
|
underline?: LinkUnderline;
|
|
7
|
-
gap?: number | string;
|
|
8
7
|
}
|
|
9
8
|
declare function Link({ underline: underlineProp, color, variant, target, rel, ...rest }: Readonly<LinkProps>): import("react").JSX.Element;
|
|
10
9
|
//#endregion
|
package/dist/Link.d.mts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { a as TypographyProps } from "./index-
|
|
1
|
+
import { a as TypographyProps } from "./index-B2hrssyF.mjs";
|
|
2
2
|
import { AnchorHTMLAttributes } from "react";
|
|
3
3
|
//#region src/Link/Link.d.ts
|
|
4
4
|
type LinkUnderline = 'always' | 'hover' | 'none';
|
|
5
5
|
interface LinkProps extends Omit<TypographyProps, 'as'>, Omit<AnchorHTMLAttributes<HTMLAnchorElement>, keyof Omit<TypographyProps, 'as'>> {
|
|
6
6
|
underline?: LinkUnderline;
|
|
7
|
-
gap?: number | string;
|
|
8
7
|
}
|
|
9
8
|
declare function Link({ underline: underlineProp, color, variant, target, rel, ...rest }: Readonly<LinkProps>): import("react").JSX.Element;
|
|
10
9
|
//#endregion
|
package/dist/Link.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as styled } from "./src-BJy4dM4f.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-Cudynq5K.mjs";
|
|
4
4
|
import { Typography } from "./Typography.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -29,10 +29,6 @@ const underlineStyles = {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
const linkGapSystem = (0, src_exports.system)({ gap: {
|
|
33
|
-
property: "gap",
|
|
34
|
-
scale: "space"
|
|
35
|
-
} });
|
|
36
32
|
const LinkBase = styled(Typography, {
|
|
37
33
|
name: "Link",
|
|
38
34
|
label: "Link",
|
|
@@ -44,7 +40,7 @@ const LinkBase = styled(Typography, {
|
|
|
44
40
|
outlineOffset: "4px",
|
|
45
41
|
borderRadius: theme.radii.sm
|
|
46
42
|
}
|
|
47
|
-
})
|
|
43
|
+
}));
|
|
48
44
|
function Link({ underline: underlineProp, color, variant = "inherit", target, rel, ...rest }) {
|
|
49
45
|
const theme = useTheme();
|
|
50
46
|
const underline = underlineProp ?? themeDefault(theme, "linkUnderline", "always");
|
package/dist/MenuItem.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
|
-
const require_theme = require("./theme-
|
|
5
|
-
const require_Icon = require("./Icon-
|
|
4
|
+
const require_theme = require("./theme-CleLAV6A.cjs");
|
|
5
|
+
const require_Icon = require("./Icon-ByDvM-t1.cjs");
|
|
6
6
|
let react = require("react");
|
|
7
7
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
//#region src/MenuItem/MenuItem.tsx
|
package/dist/MenuItem.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./index-
|
|
2
|
-
import {
|
|
1
|
+
import "./index-DLJ-li1B.cjs";
|
|
2
|
+
import { h as Theme } from "./themes-CUV79qWU.cjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
//#region src/MenuItem/MenuItem.d.ts
|
|
5
5
|
type MenuItemColor = keyof Theme['palette'];
|
package/dist/MenuItem.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
1
|
+
import { h as Theme } from "./themes-CUV79qWU.mjs";
|
|
2
|
+
import "./index-D8b5OCLe.mjs";
|
|
3
3
|
import { ElementType, ReactNode } from "react";
|
|
4
4
|
//#region src/MenuItem/MenuItem.d.ts
|
|
5
5
|
type MenuItemColor = keyof Theme['palette'];
|
package/dist/MenuItem.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as src_exports, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
|
|
2
2
|
import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
|
|
3
|
-
import { r as useTheme } from "./theme-
|
|
4
|
-
import { t as Icon } from "./Icon-
|
|
3
|
+
import { r as useTheme } from "./theme-Cudynq5K.mjs";
|
|
4
|
+
import { t as Icon } from "./Icon-GgwNXKEY.mjs";
|
|
5
5
|
import { useEffect, useRef, useState } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/MenuItem/MenuItem.tsx
|
|
@@ -272,10 +272,11 @@ function useModal(parameters) {
|
|
|
272
272
|
}
|
|
273
273
|
//#endregion
|
|
274
274
|
//#region src/Modal/Modal.tsx
|
|
275
|
+
const shouldForwardProp = createShouldForwardProp(["scroll", "layer"]);
|
|
275
276
|
const ModalRoot = styled(View, {
|
|
276
277
|
name: "Modal",
|
|
277
278
|
label: "Modal",
|
|
278
|
-
shouldForwardProp
|
|
279
|
+
shouldForwardProp
|
|
279
280
|
})(({ theme, scroll, layer }) => ({
|
|
280
281
|
position: "fixed",
|
|
281
282
|
inset: 0,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_src = require("./src-
|
|
1
|
+
const require_src = require("./src-BJrcLd7P.cjs");
|
|
2
2
|
const require_View = require("./View.cjs");
|
|
3
3
|
const require_Backdrop = require("./Backdrop.cjs");
|
|
4
4
|
const require_Portal = require("./Portal.cjs");
|
|
@@ -273,10 +273,11 @@ function useModal(parameters) {
|
|
|
273
273
|
}
|
|
274
274
|
//#endregion
|
|
275
275
|
//#region src/Modal/Modal.tsx
|
|
276
|
+
const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)(["scroll", "layer"]);
|
|
276
277
|
const ModalRoot = require_src.styled(require_View.View, {
|
|
277
278
|
name: "Modal",
|
|
278
279
|
label: "Modal",
|
|
279
|
-
shouldForwardProp
|
|
280
|
+
shouldForwardProp
|
|
280
281
|
})(({ theme, scroll, layer }) => ({
|
|
281
282
|
position: "fixed",
|
|
282
283
|
inset: 0,
|
package/dist/Modal.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_Modal = require("./Modal-
|
|
2
|
+
const require_Modal = require("./Modal-S2nb35q-.cjs");
|
|
3
3
|
exports.Modal = require_Modal.Modal;
|
|
4
4
|
exports.ModalManager = require_Modal.ModalManager;
|
|
5
5
|
exports.ariaHidden = require_Modal.ariaHidden;
|
package/dist/Modal.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Modal, c as ModalCloseReason, d as useModal, i as ariaHidden, l as UseModalParameters, n as ManagedModalProps, o as ModalProps, r as ModalManager, s as ModalScroll, t as ManagedModal, u as UseModalReturnValue } from "./index-
|
|
1
|
+
import { a as Modal, c as ModalCloseReason, d as useModal, i as ariaHidden, l as UseModalParameters, n as ManagedModalProps, o as ModalProps, r as ModalManager, s as ModalScroll, t as ManagedModal, u as UseModalReturnValue } from "./index-BfpjEqqt.cjs";
|
|
2
2
|
export { ManagedModal, ManagedModalProps, Modal, ModalCloseReason, ModalManager, ModalProps, ModalScroll, UseModalParameters, UseModalReturnValue, ariaHidden, useModal };
|
package/dist/Modal.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Modal, c as ModalCloseReason, d as useModal, i as ariaHidden, l as UseModalParameters, n as ManagedModalProps, o as ModalProps, r as ModalManager, s as ModalScroll, t as ManagedModal, u as UseModalReturnValue } from "./index-
|
|
1
|
+
import { a as Modal, c as ModalCloseReason, d as useModal, i as ariaHidden, l as UseModalParameters, n as ManagedModalProps, o as ModalProps, r as ModalManager, s as ModalScroll, t as ManagedModal, u as UseModalReturnValue } from "./index-Ds__py2h.mjs";
|
|
2
2
|
export { ManagedModal, ManagedModalProps, Modal, ModalCloseReason, ModalManager, ModalProps, ModalScroll, UseModalParameters, UseModalReturnValue, ariaHidden, useModal };
|
package/dist/Modal.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as ariaHidden, n as useModal, r as ModalManager, t as Modal } from "./Modal-
|
|
1
|
+
import { i as ariaHidden, n as useModal, r as ModalManager, t as Modal } from "./Modal-COLrJoNW.mjs";
|
|
2
2
|
export { Modal, ModalManager, ariaHidden, useModal };
|