@soroush.tech/design-system 1.3.3 → 2.0.0-alpha.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 +45 -10
- package/dist/AppBar.cjs +4 -0
- package/dist/AppBar.d.cts +3 -3
- package/dist/AppBar.d.mts +3 -3
- package/dist/AppBar.mjs +4 -0
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.d.cts +3 -3
- package/dist/Avatar.d.mts +3 -3
- package/dist/Avatar.mjs +1 -1
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Button.cjs +1 -1
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/Button.mjs +1 -1
- package/dist/ButtonGroup.d.cts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/Card.cjs +2 -2
- package/dist/Card.d.cts +3 -3
- package/dist/Card.d.mts +3 -3
- package/dist/Card.mjs +2 -2
- package/dist/Checkbox.d.cts +2 -2
- package/dist/Checkbox.d.mts +2 -2
- package/dist/CircularProgress.d.cts +3 -3
- package/dist/CircularProgress.d.mts +3 -3
- package/dist/Drawer.d.cts +2 -2
- package/dist/Drawer.d.mts +2 -2
- package/dist/Flex.d.cts +1 -1
- package/dist/Flex.d.mts +1 -1
- package/dist/Form.d.cts +1 -1
- package/dist/Form.d.mts +1 -1
- package/dist/FormControl.cjs +1 -1
- package/dist/FormControl.d.cts +2 -2
- package/dist/FormControl.d.mts +2 -2
- package/dist/FormControl.mjs +1 -1
- package/dist/FormHelperText.d.cts +1 -1
- package/dist/FormHelperText.d.mts +1 -1
- package/dist/FormLabel.d.cts +1 -1
- package/dist/FormLabel.d.mts +1 -1
- package/dist/Grid.d.cts +1 -15
- package/dist/Grid.d.mts +1 -15
- package/dist/{Icon-BAMpe9SO.cjs → Icon-CKLBJ7CC.cjs} +1 -1
- package/dist/{Icon-gSiGgU13.mjs → Icon-CkQGOBmm.mjs} +1 -1
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.d.cts +1 -1
- package/dist/Icon.d.mts +1 -1
- package/dist/Icon.mjs +1 -1
- package/dist/Image.d.cts +2 -2
- package/dist/Image.d.mts +2 -2
- package/dist/LinearProgress.d.cts +3 -3
- package/dist/LinearProgress.d.mts +3 -3
- package/dist/Link.cjs +1 -1
- package/dist/Link.d.cts +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/Link.mjs +1 -1
- package/dist/MenuItem.cjs +2 -2
- package/dist/MenuItem.d.cts +2 -2
- package/dist/MenuItem.d.mts +2 -2
- package/dist/MenuItem.mjs +2 -2
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/NativeSelect.cjs +2 -2
- package/dist/NativeSelect.d.cts +3 -3
- package/dist/NativeSelect.d.mts +3 -3
- package/dist/NativeSelect.mjs +2 -2
- package/dist/PageLayout/LayoutGrid.cjs +21 -0
- package/dist/PageLayout/LayoutGrid.d.cts +22 -0
- package/dist/PageLayout/LayoutGrid.d.mts +22 -0
- package/dist/PageLayout/LayoutGrid.mjs +20 -0
- package/dist/PageLayout/PageLayout.cjs +148 -0
- package/dist/PageLayout/PageLayout.d.cts +31 -0
- package/dist/PageLayout/PageLayout.d.mts +31 -0
- package/dist/PageLayout/PageLayout.mjs +147 -0
- package/dist/PageLayout.cjs +7 -0
- package/dist/PageLayout.d.cts +19 -0
- package/dist/PageLayout.d.mts +19 -0
- package/dist/PageLayout.mjs +4 -0
- package/dist/PageLayoutContext-DjJ1_7Xc.mjs +5 -0
- package/dist/PageLayoutContext-agXGhegE.cjs +9 -0
- package/dist/Pagination/PaginationItem.cjs +1 -1
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination/PaginationItem.mjs +1 -1
- package/dist/Pagination.d.cts +2 -2
- package/dist/Pagination.d.mts +2 -2
- package/dist/Paper.cjs +1 -1
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +1 -1
- package/dist/Paper.mjs +1 -1
- package/dist/{Popover-Bq31OTEl.mjs → Popover-DWOrf7sy.mjs} +1 -1
- package/dist/{Popover-gg44qzwo.cjs → Popover-Dz6h3A_9.cjs} +1 -1
- 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 +1 -1
- package/dist/Pressable.d.cts +1 -1
- package/dist/Pressable.d.mts +1 -1
- package/dist/Pressable.mjs +1 -1
- package/dist/Quote.d.cts +3 -3
- package/dist/Quote.d.mts +3 -3
- package/dist/Radio.d.cts +2 -2
- package/dist/Radio.d.mts +2 -2
- package/dist/Select.cjs +3 -3
- package/dist/Select.d.cts +3 -3
- package/dist/Select.d.mts +3 -3
- package/dist/Select.mjs +3 -3
- package/dist/Sidebar/Sidebar.cjs +25 -6
- package/dist/Sidebar/Sidebar.d.cts +5 -2
- package/dist/Sidebar/Sidebar.d.mts +5 -2
- package/dist/Sidebar/Sidebar.mjs +26 -7
- package/dist/Sidebar/SidebarItem.cjs +2 -1
- package/dist/Sidebar/SidebarItem.d.cts +4 -4
- package/dist/Sidebar/SidebarItem.d.mts +4 -4
- package/dist/Sidebar/SidebarItem.mjs +2 -1
- package/dist/Skeleton.d.cts +2 -2
- package/dist/Skeleton.d.mts +2 -2
- package/dist/Switch.cjs +1 -1
- package/dist/Switch.d.cts +2 -2
- package/dist/Switch.d.mts +2 -2
- package/dist/Switch.mjs +1 -1
- package/dist/Table/Table.d.cts +3 -3
- package/dist/Table/Table.d.mts +3 -3
- package/dist/Table/TableBody.d.cts +2 -2
- package/dist/Table/TableBody.d.mts +2 -2
- package/dist/Table/TableCell.d.cts +1 -1
- package/dist/Table/TableCell.d.mts +1 -1
- package/dist/Table/TableContainer.d.cts +3 -3
- package/dist/Table/TableContainer.d.mts +3 -3
- package/dist/Table/TableControl.d.cts +1 -1
- package/dist/Table/TableControl.d.mts +1 -1
- package/dist/Table/TableFooter.d.cts +2 -2
- package/dist/Table/TableFooter.d.mts +2 -2
- package/dist/Table/TableHead.d.cts +2 -2
- package/dist/Table/TableHead.d.mts +2 -2
- package/dist/Table/TablePagination.d.cts +2 -2
- package/dist/Table/TablePagination.d.mts +2 -2
- package/dist/Table/TablePaginationActions.cjs +1 -1
- 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.d.cts +2 -2
- package/dist/Table/TableRow.d.mts +2 -2
- package/dist/Table/TableSortLabel.cjs +1 -1
- package/dist/Table/TableSortLabel.d.cts +1 -1
- package/dist/Table/TableSortLabel.d.mts +1 -1
- package/dist/Table/TableSortLabel.mjs +1 -1
- package/dist/Table/hooks.d.cts +1 -1
- package/dist/Table/hooks.d.mts +1 -1
- package/dist/Table.d.cts +5 -5
- package/dist/Table.d.mts +5 -5
- package/dist/{TableContext-BrIREKe7.d.mts → TableContext-DBOk01Xl.d.mts} +1 -1
- package/dist/{TableContext-DXzUQ4-a.d.cts → TableContext-DRAhXvq3.d.cts} +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.d.cts +2 -2
- package/dist/TextInput.d.mts +2 -2
- package/dist/TextInput.mjs +1 -1
- package/dist/ToggleButton/ToggleButton.cjs +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- package/dist/Typography.mjs +1 -1
- package/dist/View.d.cts +1 -1
- package/dist/View.d.mts +1 -1
- package/dist/engine.d.cts +1 -1
- package/dist/engine.d.mts +1 -1
- package/dist/{index-COYxtrc0.d.mts → index-8mHoIUt5.d.mts} +2 -2
- package/dist/{index-DOLA1VFD.d.cts → index-B41OXLX8.d.mts} +3 -3
- package/dist/{index-BoIi-XoB.d.mts → index-B6vxRNLt.d.cts} +4 -4
- package/dist/{index-CTVFwvju.d.mts → index-B8KscJic.d.cts} +2 -2
- package/dist/{index-D3iQQ0L3.d.cts → index-BDD-L8uL.d.cts} +1 -1
- package/dist/{index-Cf7w9Lod.d.cts → index-BGD4OzzG.d.cts} +3 -3
- package/dist/index-BJ5Tsf7u.d.cts +16 -0
- package/dist/{index-KZKeZDAF.d.mts → index-BMJ3tyIw.d.cts} +3 -3
- package/dist/{index-C5-ZM7lt.d.cts → index-BNpkmtaM.d.mts} +4 -4
- package/dist/{index-BCvkP5R1.d.mts → index-BSR9zrAA.d.mts} +3 -3
- package/dist/index-BnFxdnEL.d.mts +16 -0
- package/dist/{index-DhMAwR96.d.mts → index-CCrocxBL.d.cts} +4 -4
- package/dist/{index-v_otepCe.d.mts → index-CEqa8xx8.d.mts} +1 -1
- package/dist/{index-d6gR2x8j.d.cts → index-CLttbRhG.d.cts} +2 -2
- package/dist/{index-CHRAYSwH.d.cts → index-CVb5zbas.d.mts} +4 -4
- package/dist/{index-XZDPGJ_h.d.mts → index-Cjlax0-f.d.mts} +2 -2
- package/dist/{index-NBVilQuP.d.mts → index-CoHrw2p7.d.mts} +1 -1
- package/dist/{index-h36rcOy8.d.mts → index-CohgpyUj.d.cts} +4 -4
- package/dist/{index-DzuXwDCW.d.cts → index-CtrxW81j.d.cts} +2 -2
- package/dist/{index-DQ16ijxx.d.mts → index-CvWslVk6.d.cts} +3 -3
- package/dist/{index-DdBeSvit.d.mts → index-CzmA09Yf.d.mts} +2 -2
- package/dist/{index-C-2VKPcp.d.mts → index-D4i9vrQM.d.mts} +2 -2
- package/dist/{index-vuPAf55D.d.cts → index-DNNg9RoR.d.cts} +3 -3
- package/dist/{index-76XH-GEc.d.mts → index-DPHwCZYf.d.cts} +2 -2
- package/dist/{index-jmy5eXpx.d.cts → index-DkJzi96w.d.cts} +1 -1
- package/dist/{index-Br2gDSme.d.cts → index-DsKd9VW5.d.mts} +4 -4
- package/dist/{index-Csp1Wzbz.d.cts → index-DuefjNlC.d.mts} +3 -3
- package/dist/{index-D9CwTcnr.d.cts → index-EYR0z1Qv.d.cts} +2 -2
- package/dist/{index-ggLhNdZV.d.mts → index-IEvuh6Cd.d.mts} +3 -3
- package/dist/{index-Oxx0z4dS.d.cts → index-S3NZS-Qp.d.cts} +2 -2
- package/dist/{index-BWECJgSb.d.mts → index-bN91IhZi.d.cts} +3 -3
- package/dist/{index-D-QRCHiS.d.cts → index-qtKJ56yu.d.mts} +2 -2
- package/dist/{index-DCu7qjpa.d.cts → index-r2avCy1z.d.mts} +2 -2
- package/dist/{index-Btmdtbpb.d.cts → index-tv-TGYSG.d.mts} +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/layoutStyles-B4Z1K6HZ.cjs +67 -0
- package/dist/layoutStyles-f0ISNjsC.mjs +56 -0
- 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-BuqqFbsz.mjs → theme-BQGlZoma.mjs} +49 -1
- package/dist/{theme-Bnc03K83.cjs → theme-BmEAXmwh.cjs} +60 -0
- package/dist/theme.cjs +3 -1
- package/dist/theme.d.cts +3 -3
- package/dist/theme.d.mts +3 -3
- package/dist/theme.mjs +2 -2
- package/dist/{themes-kbuYiwCi.d.cts → themes-9YNnlVyY.d.cts} +70 -1
- package/dist/{themes-kbuYiwCi.d.mts → themes-9YNnlVyY.d.mts} +70 -1
- package/dist/{useTablePagination-BpMOVLsR.d.cts → useTablePagination-CLoac5oX.d.cts} +1 -1
- package/dist/{useTablePagination-DebYZ6vN.d.mts → useTablePagination-RelVsdMR.d.mts} +1 -1
- package/package.json +14 -4
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { S as Theme } from "./themes-9YNnlVyY.mjs";
|
|
2
|
+
import "./index-CEqa8xx8.mjs";
|
|
3
|
+
import { s as ViewProps } from "./index-tv-TGYSG.mjs";
|
|
4
|
+
import { FlexboxProps, GridProps } from "@soroush.tech/styled-system";
|
|
5
|
+
//#region src/Grid/Grid.d.ts
|
|
6
|
+
/** Valid values for the gap / columnGap / rowGap props - derived from theme.space keys. */
|
|
7
|
+
type GapToken = keyof Theme['space'];
|
|
8
|
+
interface GridProps$1 extends ViewProps, GridProps<Theme>, FlexboxProps<Theme> {}
|
|
9
|
+
declare const Grid: import("@emotion/styled").StyledComponent<{
|
|
10
|
+
theme?: Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
} & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
|
|
13
|
+
theme?: Theme;
|
|
14
|
+
} & GridProps$1, {}, {}>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Grid as n, GridProps$1 as r, GapToken as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-
|
|
4
|
-
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { S as Theme } from "./themes-9YNnlVyY.cjs";
|
|
2
|
+
import "./index-DkJzi96w.cjs";
|
|
3
|
+
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-S3NZS-Qp.cjs";
|
|
5
4
|
import { ElementType, HTMLAttributes } from "react";
|
|
5
|
+
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/ButtonGroup/ButtonGroup.d.ts
|
|
7
7
|
type ButtonGroupOrientation = 'horizontal' | 'vertical';
|
|
8
8
|
type ButtonGroupRadius = keyof Theme['radii'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as Theme } from "./themes-9YNnlVyY.mjs";
|
|
2
2
|
import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@emotion/styled";
|
|
3
3
|
import { PropsOf, css as css$1, keyframes } from "@emotion/react";
|
|
4
4
|
import { createShouldForwardProp, props } from "@soroush.tech/styled-system/should-forward-prop";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
1
|
+
import { S as Theme, v as PaletteColor } from "./themes-9YNnlVyY.cjs";
|
|
2
|
+
import "./index-DkJzi96w.cjs";
|
|
3
3
|
import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Pagination/hooks/usePagination.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
4
|
-
import { ElementType, ThHTMLAttributes } from "react";
|
|
1
|
+
import { S as Theme } from "./themes-9YNnlVyY.mjs";
|
|
2
|
+
import "./index-CEqa8xx8.mjs";
|
|
3
|
+
import { t as TableCellPadding } from "./TableContext-DBOk01Xl.mjs";
|
|
5
4
|
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
|
+
import { ElementType, ThHTMLAttributes } from "react";
|
|
6
6
|
//#region src/Table/TableSectionContext.d.ts
|
|
7
7
|
/** The table section a cell lives in - drives `TableCell`'s th/td element resolution. */
|
|
8
8
|
type TableSection = 'head' | 'body' | 'footer';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-CzmA09Yf.mjs";
|
|
2
|
+
import "./index-DsKd9VW5.mjs";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Table/TablePaginationActions/TablePaginationActions.d.ts
|
|
5
5
|
type TablePaginationActionType = 'first' | 'previous' | 'next' | 'last';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { O as ThemeComponents, S as Theme, k as ThemeDefaults } from "./themes-9YNnlVyY.mjs";
|
|
2
2
|
import { ComponentType, ReactNode } from "react";
|
|
3
3
|
//#region src/theme/ThemeProvider.d.ts
|
|
4
4
|
interface ThemeProviderProps {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-
|
|
4
|
-
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { S as Theme } from "./themes-9YNnlVyY.cjs";
|
|
2
|
+
import "./index-DkJzi96w.cjs";
|
|
3
|
+
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-CLttbRhG.cjs";
|
|
5
4
|
import { HTMLAttributes } from "react";
|
|
5
|
+
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/Pagination/Pagination.d.ts
|
|
7
7
|
type PaginationColor = PaginationItemColor;
|
|
8
8
|
type PaginationVariant = PaginationItemVariant;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
1
|
+
import { S as Theme, v as PaletteColor } from "./themes-9YNnlVyY.cjs";
|
|
2
|
+
import "./index-DkJzi96w.cjs";
|
|
3
3
|
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
4
4
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Pressable/Pressable.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { S as Theme } from "./themes-9YNnlVyY.cjs";
|
|
2
|
+
import "./index-DkJzi96w.cjs";
|
|
4
3
|
import { CSSProperties, HTMLAttributes } from "react";
|
|
4
|
+
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/View/View.d.ts
|
|
6
6
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
7
7
|
type ViewColorToken = keyof Theme['text'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
1
|
+
import { S as Theme, v as PaletteColor } from "./themes-9YNnlVyY.mjs";
|
|
2
|
+
import "./index-CEqa8xx8.mjs";
|
|
3
3
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
|
|
5
5
|
//#region src/Pagination/hooks/usePagination.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
1
|
+
import { S as Theme, n as ButtonVariants, v as PaletteColor } from "./themes-9YNnlVyY.mjs";
|
|
2
|
+
import "./index-CEqa8xx8.mjs";
|
|
3
3
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
5
5
|
//#region src/Button/Button.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { S as Theme } from "./themes-9YNnlVyY.cjs";
|
|
2
|
+
import "./index-DkJzi96w.cjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-DPHwCZYf.cjs";
|
|
4
4
|
import { ButtonHTMLAttributes } from "react";
|
|
5
5
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/Table/TableSortLabel/TableSortLabel.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as TextColorToken } from "./index-
|
|
2
|
-
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { n as TextColorToken } from "./index-bN91IhZi.cjs";
|
|
3
2
|
import { SVGProps } from "react";
|
|
3
|
+
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
//#region src/Icon/icons/AccountTree.d.ts
|
|
5
5
|
declare const SvgAccountTree: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
6
6
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as Theme } from "./themes-9YNnlVyY.cjs";
|
|
2
2
|
import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@emotion/styled";
|
|
3
3
|
import { PropsOf, css, keyframes } from "@emotion/react";
|
|
4
4
|
import { ComponentClass, ComponentProps, ComponentType, JSX, Ref } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-
|
|
4
|
-
import { HTMLAttributes } from "react";
|
|
1
|
+
import { S as Theme } from "./themes-9YNnlVyY.mjs";
|
|
2
|
+
import "./index-CEqa8xx8.mjs";
|
|
3
|
+
import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-CzmA09Yf.mjs";
|
|
5
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
|
+
import { HTMLAttributes } from "react";
|
|
6
6
|
//#region src/Pagination/Pagination.d.ts
|
|
7
7
|
type PaginationColor = PaginationItemColor;
|
|
8
8
|
type PaginationVariant = PaginationItemVariant;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
1
|
+
import { K as TypographyVariant, S as Theme } from "./themes-9YNnlVyY.mjs";
|
|
2
|
+
import "./index-CEqa8xx8.mjs";
|
|
4
3
|
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
5
5
|
//#region src/Typography/Typography.d.ts
|
|
6
6
|
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
7
7
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-CLttbRhG.cjs";
|
|
2
|
+
import "./index-CohgpyUj.cjs";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
//#region src/Table/TablePaginationActions/TablePaginationActions.d.ts
|
|
5
5
|
type TablePaginationActionType = 'first' | 'previous' | 'next' | 'last';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as IconProps, r as IconName } from "./index-
|
|
1
|
+
import { S as Theme } from "./themes-9YNnlVyY.mjs";
|
|
2
|
+
import "./index-CEqa8xx8.mjs";
|
|
3
|
+
import { n as IconProps, r as IconName } from "./index-r2avCy1z.mjs";
|
|
4
4
|
import { SpaceProps } from "@soroush.tech/styled-system";
|
|
5
5
|
import { ButtonHTMLAttributes } from "react";
|
|
6
6
|
//#region src/Table/TableSortLabel/TableSortLabel.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
1
|
+
import { S as Theme, n as ButtonVariants, v as PaletteColor } from "./themes-9YNnlVyY.cjs";
|
|
2
|
+
import "./index-DkJzi96w.cjs";
|
|
3
3
|
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
4
4
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Button/Button.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { K as TypographyVariant, S as Theme } from "./themes-9YNnlVyY.cjs";
|
|
2
|
+
import "./index-DkJzi96w.cjs";
|
|
4
3
|
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
4
|
+
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Typography/Typography.d.ts
|
|
6
6
|
type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
|
|
7
7
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
1
|
+
import { S as Theme } from "./themes-9YNnlVyY.mjs";
|
|
2
|
+
import "./index-CEqa8xx8.mjs";
|
|
3
3
|
import { KeyboardEvent, MouseEvent, ReactNode, Ref, RefCallback, SyntheticEvent } from "react";
|
|
4
4
|
//#region src/Modal/useModal.d.ts
|
|
5
5
|
type ModalCloseReason = 'escapeKey' | 'backdropClick';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as TextColorToken } from "./index-
|
|
2
|
-
import { SVGProps } from "react";
|
|
1
|
+
import { n as TextColorToken } from "./index-DuefjNlC.mjs";
|
|
3
2
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
3
|
+
import { SVGProps } from "react";
|
|
4
4
|
//#region src/Icon/icons/AccountTree.d.ts
|
|
5
5
|
declare const SvgAccountTree: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
|
|
6
6
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
3
|
-
import { CSSProperties, HTMLAttributes } from "react";
|
|
1
|
+
import { S as Theme } from "./themes-9YNnlVyY.mjs";
|
|
2
|
+
import "./index-CEqa8xx8.mjs";
|
|
4
3
|
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { CSSProperties, HTMLAttributes } from "react";
|
|
5
5
|
//#region src/View/View.d.ts
|
|
6
6
|
/** Valid values for the color prop - derived from theme.text keys. */
|
|
7
7
|
type ViewColorToken = keyof Theme['text'];
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-
|
|
1
|
+
import { S as Theme, r as CSSObject, v as PaletteColor } from "./themes-9YNnlVyY.cjs";
|
|
2
|
+
import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-DkJzi96w.cjs";
|
|
3
3
|
export * from "@soroush.tech/styled-system";
|
|
4
4
|
export { type CSSObject, type PaletteColor, type Theme, type ThemeCustomizationOptions, createShouldForwardProp, css, keyframes, props, styled };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-
|
|
1
|
+
import { S as Theme, r as CSSObject, v as PaletteColor } from "./themes-9YNnlVyY.mjs";
|
|
2
|
+
import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-CEqa8xx8.mjs";
|
|
3
3
|
export * from "@soroush.tech/styled-system";
|
|
4
4
|
export { type CSSObject, type PaletteColor, type Theme, type ThemeCustomizationOptions, createShouldForwardProp, css, keyframes, props, styled };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
const require_src = require("./src-DU81aGy9.cjs");
|
|
2
|
+
//#region src/PageLayout/layoutStyles.ts
|
|
3
|
+
const mergePanel = (panel, override) => {
|
|
4
|
+
const { mode, width, railWidth } = {
|
|
5
|
+
...panel,
|
|
6
|
+
...override
|
|
7
|
+
};
|
|
8
|
+
return mode && width !== void 0 && railWidth !== void 0 ? {
|
|
9
|
+
mode,
|
|
10
|
+
width,
|
|
11
|
+
railWidth
|
|
12
|
+
} : void 0;
|
|
13
|
+
};
|
|
14
|
+
const mergeEntry = (entry, { bars, panels, content }) => ({
|
|
15
|
+
bars: {
|
|
16
|
+
...entry.bars,
|
|
17
|
+
...bars
|
|
18
|
+
},
|
|
19
|
+
panels: {
|
|
20
|
+
start: mergePanel(entry.panels.start, panels?.start),
|
|
21
|
+
end: mergePanel(entry.panels.end, panels?.end)
|
|
22
|
+
},
|
|
23
|
+
content: {
|
|
24
|
+
...entry.content,
|
|
25
|
+
...content
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
/**
|
|
29
|
+
* `theme.layout` resolved mobile-first: the base entry, then one entry per
|
|
30
|
+
* breakpoint that has one, merged over the entries before it, with its `@media` rule.
|
|
31
|
+
*/
|
|
32
|
+
const layoutEntries = ({ breakpoints, layout }) => {
|
|
33
|
+
let entry = layout.base;
|
|
34
|
+
const entries = [[null, entry]];
|
|
35
|
+
for (const [key, value] of Object.entries(breakpoints)) {
|
|
36
|
+
const override = layout[key];
|
|
37
|
+
if (!override) continue;
|
|
38
|
+
entry = mergeEntry(entry, override);
|
|
39
|
+
entries.push([(0, require_src.src_exports.createMediaQuery)(value), entry]);
|
|
40
|
+
}
|
|
41
|
+
return entries;
|
|
42
|
+
};
|
|
43
|
+
/** A layout length as CSS: a `theme.space` key resolves through the scale, a length stays as written. */
|
|
44
|
+
const layoutLength = (theme, value = 0) => {
|
|
45
|
+
const length = theme.space[value] ?? value;
|
|
46
|
+
return typeof length === "number" ? `${length}px` : length;
|
|
47
|
+
};
|
|
48
|
+
/** Styles per layout entry: the base entry's at the top level, each breakpoint's in its `@media` block. */
|
|
49
|
+
const layoutStyles = (theme, style) => {
|
|
50
|
+
const styles = {};
|
|
51
|
+
for (const [media, entry] of layoutEntries(theme)) if (media) styles[media] = style(entry);
|
|
52
|
+
else Object.assign(styles, style(entry));
|
|
53
|
+
return styles;
|
|
54
|
+
};
|
|
55
|
+
//#endregion
|
|
56
|
+
Object.defineProperty(exports, "layoutLength", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function() {
|
|
59
|
+
return layoutLength;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "layoutStyles", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function() {
|
|
65
|
+
return layoutStyles;
|
|
66
|
+
}
|
|
67
|
+
});
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { a as src_exports } from "./src-DLGYOJMh.mjs";
|
|
2
|
+
//#region src/PageLayout/layoutStyles.ts
|
|
3
|
+
const mergePanel = (panel, override) => {
|
|
4
|
+
const { mode, width, railWidth } = {
|
|
5
|
+
...panel,
|
|
6
|
+
...override
|
|
7
|
+
};
|
|
8
|
+
return mode && width !== void 0 && railWidth !== void 0 ? {
|
|
9
|
+
mode,
|
|
10
|
+
width,
|
|
11
|
+
railWidth
|
|
12
|
+
} : void 0;
|
|
13
|
+
};
|
|
14
|
+
const mergeEntry = (entry, { bars, panels, content }) => ({
|
|
15
|
+
bars: {
|
|
16
|
+
...entry.bars,
|
|
17
|
+
...bars
|
|
18
|
+
},
|
|
19
|
+
panels: {
|
|
20
|
+
start: mergePanel(entry.panels.start, panels?.start),
|
|
21
|
+
end: mergePanel(entry.panels.end, panels?.end)
|
|
22
|
+
},
|
|
23
|
+
content: {
|
|
24
|
+
...entry.content,
|
|
25
|
+
...content
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
/**
|
|
29
|
+
* `theme.layout` resolved mobile-first: the base entry, then one entry per
|
|
30
|
+
* breakpoint that has one, merged over the entries before it, with its `@media` rule.
|
|
31
|
+
*/
|
|
32
|
+
const layoutEntries = ({ breakpoints, layout }) => {
|
|
33
|
+
let entry = layout.base;
|
|
34
|
+
const entries = [[null, entry]];
|
|
35
|
+
for (const [key, value] of Object.entries(breakpoints)) {
|
|
36
|
+
const override = layout[key];
|
|
37
|
+
if (!override) continue;
|
|
38
|
+
entry = mergeEntry(entry, override);
|
|
39
|
+
entries.push([(0, src_exports.createMediaQuery)(value), entry]);
|
|
40
|
+
}
|
|
41
|
+
return entries;
|
|
42
|
+
};
|
|
43
|
+
/** A layout length as CSS: a `theme.space` key resolves through the scale, a length stays as written. */
|
|
44
|
+
const layoutLength = (theme, value = 0) => {
|
|
45
|
+
const length = theme.space[value] ?? value;
|
|
46
|
+
return typeof length === "number" ? `${length}px` : length;
|
|
47
|
+
};
|
|
48
|
+
/** Styles per layout entry: the base entry's at the top level, each breakpoint's in its `@media` block. */
|
|
49
|
+
const layoutStyles = (theme, style) => {
|
|
50
|
+
const styles = {};
|
|
51
|
+
for (const [media, entry] of layoutEntries(theme)) if (media) styles[media] = style(entry);
|
|
52
|
+
else Object.assign(styles, style(entry));
|
|
53
|
+
return styles;
|
|
54
|
+
};
|
|
55
|
+
//#endregion
|
|
56
|
+
export { layoutStyles as n, layoutLength as t };
|
package/dist/style.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_theme = require("./theme-
|
|
2
|
+
const require_theme = require("./theme-BmEAXmwh.cjs");
|
|
3
3
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
4
|
let _emotion_react = require("@emotion/react");
|
|
5
5
|
//#region src/style/hooks/useStyle.ts
|
package/dist/style.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
1
|
+
import { S as Theme, r as CSSObject } from "./themes-9YNnlVyY.cjs";
|
|
2
|
+
import "./index-BDD-L8uL.cjs";
|
|
3
3
|
import { ComponentType, ReactNode } from "react";
|
|
4
4
|
//#region src/style/hooks/useStyle.d.ts
|
|
5
5
|
type StyleFactory = {
|
package/dist/style.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index-
|
|
1
|
+
import { S as Theme, r as CSSObject } from "./themes-9YNnlVyY.mjs";
|
|
2
|
+
import "./index-CoHrw2p7.mjs";
|
|
3
3
|
import { ComponentType, ReactNode } from "react";
|
|
4
4
|
//#region src/style/hooks/useStyle.d.ts
|
|
5
5
|
type StyleFactory = {
|
package/dist/style.mjs
CHANGED
|
@@ -141,6 +141,52 @@ const space = {
|
|
|
141
141
|
10: spacing(10),
|
|
142
142
|
auto: "auto"
|
|
143
143
|
};
|
|
144
|
+
const breakpoints = {
|
|
145
|
+
tablet: "600px",
|
|
146
|
+
web: "1200px",
|
|
147
|
+
wide: "1600px"
|
|
148
|
+
};
|
|
149
|
+
const layout = {
|
|
150
|
+
base: {
|
|
151
|
+
bars: { bottom: 8 },
|
|
152
|
+
panels: { start: {
|
|
153
|
+
mode: "hidden",
|
|
154
|
+
width: "280px",
|
|
155
|
+
railWidth: 9
|
|
156
|
+
} },
|
|
157
|
+
content: {
|
|
158
|
+
columns: 4,
|
|
159
|
+
margin: 2,
|
|
160
|
+
gutter: 2,
|
|
161
|
+
mode: "fluid"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
tablet: {
|
|
165
|
+
panels: { start: { mode: "collapsed" } },
|
|
166
|
+
content: {
|
|
167
|
+
columns: 8,
|
|
168
|
+
margin: 4
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
web: {
|
|
172
|
+
bars: {
|
|
173
|
+
top: 8,
|
|
174
|
+
bottom: 0
|
|
175
|
+
},
|
|
176
|
+
panels: { start: { mode: "inline" } },
|
|
177
|
+
content: {
|
|
178
|
+
columns: 12,
|
|
179
|
+
margin: 3,
|
|
180
|
+
gutter: 3,
|
|
181
|
+
mode: "fixed",
|
|
182
|
+
maxWidth: "1200px"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
wide: { content: {
|
|
186
|
+
columns: 16,
|
|
187
|
+
maxWidth: "1600px"
|
|
188
|
+
} }
|
|
189
|
+
};
|
|
144
190
|
const typography = {
|
|
145
191
|
h1: {
|
|
146
192
|
element: "h1",
|
|
@@ -232,6 +278,8 @@ const baseTheme = {
|
|
|
232
278
|
icon,
|
|
233
279
|
sizes,
|
|
234
280
|
space,
|
|
281
|
+
breakpoints,
|
|
282
|
+
layout,
|
|
235
283
|
zOrder,
|
|
236
284
|
blur: "12px",
|
|
237
285
|
colorScheme: "dark",
|
|
@@ -355,4 +403,4 @@ function withTheme(WrappedComponent) {
|
|
|
355
403
|
};
|
|
356
404
|
}
|
|
357
405
|
//#endregion
|
|
358
|
-
export {
|
|
406
|
+
export { sizes as _, avatar as a, zOrder as b, breakpoints as c, fonts as d, icon as f, radii as g, lineHeights as h, ThemeProvider as i, fontSizes as l, letterSpacings as m, useDefaultProps as n, baseTheme as o, layout as p, useTheme as r, borderWidths as s, withTheme as t, fontWeights as u, space as v, createTheme as x, typography as y };
|
|
@@ -141,6 +141,52 @@ const space = {
|
|
|
141
141
|
10: spacing(10),
|
|
142
142
|
auto: "auto"
|
|
143
143
|
};
|
|
144
|
+
const breakpoints = {
|
|
145
|
+
tablet: "600px",
|
|
146
|
+
web: "1200px",
|
|
147
|
+
wide: "1600px"
|
|
148
|
+
};
|
|
149
|
+
const layout = {
|
|
150
|
+
base: {
|
|
151
|
+
bars: { bottom: 8 },
|
|
152
|
+
panels: { start: {
|
|
153
|
+
mode: "hidden",
|
|
154
|
+
width: "280px",
|
|
155
|
+
railWidth: 9
|
|
156
|
+
} },
|
|
157
|
+
content: {
|
|
158
|
+
columns: 4,
|
|
159
|
+
margin: 2,
|
|
160
|
+
gutter: 2,
|
|
161
|
+
mode: "fluid"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
tablet: {
|
|
165
|
+
panels: { start: { mode: "collapsed" } },
|
|
166
|
+
content: {
|
|
167
|
+
columns: 8,
|
|
168
|
+
margin: 4
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
web: {
|
|
172
|
+
bars: {
|
|
173
|
+
top: 8,
|
|
174
|
+
bottom: 0
|
|
175
|
+
},
|
|
176
|
+
panels: { start: { mode: "inline" } },
|
|
177
|
+
content: {
|
|
178
|
+
columns: 12,
|
|
179
|
+
margin: 3,
|
|
180
|
+
gutter: 3,
|
|
181
|
+
mode: "fixed",
|
|
182
|
+
maxWidth: "1200px"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
wide: { content: {
|
|
186
|
+
columns: 16,
|
|
187
|
+
maxWidth: "1600px"
|
|
188
|
+
} }
|
|
189
|
+
};
|
|
144
190
|
const typography = {
|
|
145
191
|
h1: {
|
|
146
192
|
element: "h1",
|
|
@@ -232,6 +278,8 @@ const baseTheme = {
|
|
|
232
278
|
icon,
|
|
233
279
|
sizes,
|
|
234
280
|
space,
|
|
281
|
+
breakpoints,
|
|
282
|
+
layout,
|
|
235
283
|
zOrder,
|
|
236
284
|
blur: "12px",
|
|
237
285
|
colorScheme: "dark",
|
|
@@ -379,6 +427,12 @@ Object.defineProperty(exports, "borderWidths", {
|
|
|
379
427
|
return borderWidths;
|
|
380
428
|
}
|
|
381
429
|
});
|
|
430
|
+
Object.defineProperty(exports, "breakpoints", {
|
|
431
|
+
enumerable: true,
|
|
432
|
+
get: function() {
|
|
433
|
+
return breakpoints;
|
|
434
|
+
}
|
|
435
|
+
});
|
|
382
436
|
Object.defineProperty(exports, "createTheme", {
|
|
383
437
|
enumerable: true,
|
|
384
438
|
get: function() {
|
|
@@ -409,6 +463,12 @@ Object.defineProperty(exports, "icon", {
|
|
|
409
463
|
return icon;
|
|
410
464
|
}
|
|
411
465
|
});
|
|
466
|
+
Object.defineProperty(exports, "layout", {
|
|
467
|
+
enumerable: true,
|
|
468
|
+
get: function() {
|
|
469
|
+
return layout;
|
|
470
|
+
}
|
|
471
|
+
});
|
|
412
472
|
Object.defineProperty(exports, "letterSpacings", {
|
|
413
473
|
enumerable: true,
|
|
414
474
|
get: function() {
|
package/dist/theme.cjs
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
|
|
3
|
-
const require_theme = require("./theme-
|
|
3
|
+
const require_theme = require("./theme-BmEAXmwh.cjs");
|
|
4
4
|
exports.ThemeProvider = require_theme.ThemeProvider;
|
|
5
5
|
exports.avatar = require_theme.avatar;
|
|
6
6
|
exports.baseTheme = require_theme.baseTheme;
|
|
7
7
|
exports.borderWidths = require_theme.borderWidths;
|
|
8
|
+
exports.breakpoints = require_theme.breakpoints;
|
|
8
9
|
exports.createTheme = require_theme.createTheme;
|
|
9
10
|
exports.fontSizes = require_theme.fontSizes;
|
|
10
11
|
exports.fontWeights = require_theme.fontWeights;
|
|
11
12
|
exports.fonts = require_theme.fonts;
|
|
12
13
|
exports.icon = require_theme.icon;
|
|
14
|
+
exports.layout = require_theme.layout;
|
|
13
15
|
exports.letterSpacings = require_theme.letterSpacings;
|
|
14
16
|
exports.lineHeights = require_theme.lineHeights;
|
|
15
17
|
exports.radii = require_theme.radii;
|
package/dist/theme.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-
|
|
3
|
-
export { ButtonOwnerState, ButtonVariants, CSSObject, CardOwnerState, CardSlotIconProps, CardSlotTypographyProps, ComponentConfig, ComponentStyle, ComponentVariant, type DeepPartial, OpenScale, PaletteColor, PaletteEntry, PressableOwnerState, SizeEntry, Theme, ThemeAvatarSizes, ThemeBackground, ThemeBorder, ThemeBorderWidths, ThemeComponents, ThemeDefaults, ThemeFontWeights, ThemeFonts, ThemeIconSizes, ThemeLetterSpacings, ThemeLineHeights, type ThemeOverride, ThemePalette, ThemeProvider, ThemeRadii, ThemeShadow, ThemeSizes, ThemeSkeleton, ThemeSpace, ThemeSwitch, ThemeText, ThemeTypographyVariants, ThemeZOrder, TypographyVariant, TypographyVariantStyle, avatar, baseTheme, borderWidths, createTheme, fontSizes, fontWeights, fonts, icon, letterSpacings, lineHeights, radii, sizes, space, themeDefault, typography, useDefaultProps, useTheme, withTheme, zOrder };
|
|
1
|
+
import { $ as fontWeights, A as ThemeFontWeights, B as ThemeSkeleton, C as ThemeAvatarSizes, D as ThemeBreakpoints, E as ThemeBorderWidths, F as ThemeLineHeights, G as ThemeZOrder, H as ThemeSwitch, I as ThemePalette, J as avatar, K as TypographyVariant, L as ThemeRadii, M as ThemeIconSizes, N as ThemeLayout, O as ThemeComponents, P as ThemeLetterSpacings, Q as fontSizes, R as ThemeShadow, S as Theme, T as ThemeBorder, U as ThemeText, V as ThemeSpace, W as ThemeTypographyVariants, X as borderWidths, Y as baseTheme, Z as breakpoints, _ as OpenScale, a as CardSlotIconProps, at as radii, b as PressableOwnerState, c as ComponentStyle, ct as typography, d as LayoutContent, dt as ThemeOverride, et as fonts, f as LayoutEntry, ft as createTheme, g as LayoutSpace, h as LayoutPanels, i as CardOwnerState, it as lineHeights, j as ThemeFonts, k as ThemeDefaults, l as ComponentVariant, lt as zOrder, m as LayoutPanel, n as ButtonVariants, nt as layout, o as CardSlotTypographyProps, ot as sizes, p as LayoutLength, q as TypographyVariantStyle, r as CSSObject, rt as letterSpacings, s as ComponentConfig, st as space, t as ButtonOwnerState, tt as icon, u as LayoutBars, ut as DeepPartial, v as PaletteColor, w as ThemeBackground, x as SizeEntry, y as PaletteEntry, z as ThemeSizes } from "./themes-9YNnlVyY.cjs";
|
|
2
|
+
import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-BDD-L8uL.cjs";
|
|
3
|
+
export { ButtonOwnerState, ButtonVariants, CSSObject, CardOwnerState, CardSlotIconProps, CardSlotTypographyProps, ComponentConfig, ComponentStyle, ComponentVariant, type DeepPartial, LayoutBars, LayoutContent, LayoutEntry, LayoutLength, LayoutPanel, LayoutPanels, LayoutSpace, OpenScale, PaletteColor, PaletteEntry, PressableOwnerState, SizeEntry, Theme, ThemeAvatarSizes, ThemeBackground, ThemeBorder, ThemeBorderWidths, ThemeBreakpoints, ThemeComponents, ThemeDefaults, ThemeFontWeights, ThemeFonts, ThemeIconSizes, ThemeLayout, ThemeLetterSpacings, ThemeLineHeights, type ThemeOverride, ThemePalette, ThemeProvider, ThemeRadii, ThemeShadow, ThemeSizes, ThemeSkeleton, ThemeSpace, ThemeSwitch, ThemeText, ThemeTypographyVariants, ThemeZOrder, TypographyVariant, TypographyVariantStyle, avatar, baseTheme, borderWidths, breakpoints, createTheme, fontSizes, fontWeights, fonts, icon, layout, letterSpacings, lineHeights, radii, sizes, space, themeDefault, typography, useDefaultProps, useTheme, withTheme, zOrder };
|