@soroush.tech/design-system 2.0.0-alpha.1 → 2.0.0-alpha.2
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 +10 -10
- package/dist/AppBar.d.cts +3 -3
- package/dist/AppBar.d.mts +3 -3
- package/dist/Avatar.d.cts +3 -3
- package/dist/Avatar.d.mts +3 -3
- package/dist/Backdrop.d.cts +1 -1
- package/dist/Backdrop.d.mts +1 -1
- package/dist/Button.d.cts +1 -1
- package/dist/Button.d.mts +1 -1
- package/dist/ButtonGroup.d.cts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/Card.d.cts +3 -3
- package/dist/Card.d.mts +3 -3
- 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.d.cts +2 -2
- package/dist/FormControl.d.mts +2 -2
- 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 +5 -4
- package/dist/Grid.d.mts +5 -4
- package/dist/Icon.d.cts +1 -1
- package/dist/Icon.d.mts +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.d.cts +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/MenuItem.d.cts +2 -2
- package/dist/MenuItem.d.mts +2 -2
- package/dist/Modal.d.cts +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/NativeSelect.d.cts +3 -3
- package/dist/NativeSelect.d.mts +3 -3
- package/dist/Pagination/PaginationItem.d.cts +1 -1
- package/dist/Pagination/PaginationItem.d.mts +1 -1
- package/dist/Pagination.d.cts +2 -2
- package/dist/Pagination.d.mts +2 -2
- package/dist/Paper.d.cts +1 -1
- package/dist/Paper.d.mts +1 -1
- package/dist/Popover.d.cts +4 -4
- package/dist/Popover.d.mts +4 -4
- package/dist/Pressable.d.cts +1 -1
- package/dist/Pressable.d.mts +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.d.cts +3 -3
- package/dist/Select.d.mts +3 -3
- package/dist/Sidebar/Sidebar.d.cts +1 -1
- package/dist/Sidebar/Sidebar.d.mts +1 -1
- package/dist/Sidebar/SidebarItem.d.cts +4 -4
- package/dist/Sidebar/SidebarItem.d.mts +4 -4
- package/dist/Skeleton.d.cts +2 -2
- package/dist/Skeleton.d.mts +2 -2
- package/dist/Switch.d.cts +2 -2
- package/dist/Switch.d.mts +2 -2
- 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.d.cts +1 -1
- package/dist/Table/TablePaginationActions.d.mts +1 -1
- package/dist/Table/TableRow.d.cts +2 -2
- package/dist/Table/TableRow.d.mts +2 -2
- package/dist/Table/TableSortLabel.d.cts +1 -1
- package/dist/Table/TableSortLabel.d.mts +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-98M9MAm7.d.cts → TableContext-BowhBZkZ.d.cts} +1 -1
- package/dist/{TableContext-BwK_fB9Q.d.mts → TableContext-GmYLRYpc.d.mts} +1 -1
- package/dist/TextInput.d.cts +2 -2
- package/dist/TextInput.d.mts +2 -2
- package/dist/ToggleButton/ToggleButton.d.cts +1 -1
- package/dist/ToggleButton/ToggleButton.d.mts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
- package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
- package/dist/Typography.d.cts +2 -2
- package/dist/Typography.d.mts +2 -2
- 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-DLtzp-Mg.d.mts → index-B2eLreA5.d.cts} +3 -3
- package/dist/{index-Dyfu-Otn.d.mts → index-BBV7_p-W.d.mts} +1 -1
- package/dist/{index-C2e925FY.d.cts → index-BHyJ6P_D.d.mts} +1 -1
- package/dist/{index-iHyGhLkM.d.mts → index-BO-vkjtm.d.cts} +1 -1
- package/dist/{index-CJWXZFFZ.d.cts → index-BT-mcuE6.d.mts} +4 -4
- package/dist/{index-FTr8Mn3p.d.cts → index-BW4rc8cK.d.cts} +2 -2
- package/dist/{index-CHr4HUzH.d.mts → index-BbngAEDY.d.mts} +2 -2
- package/dist/{index-CorVAOY7.d.mts → index-Bqk30r0W.d.mts} +3 -3
- package/dist/{index-CkYiijiE.d.cts → index-BsUsSWXP.d.cts} +1 -1
- package/dist/{index-BvLNPm5C.d.cts → index-C-kvrbCi.d.cts} +2 -2
- package/dist/{index-B2LR3Y5d.d.cts → index-C0-SB0dL.d.mts} +3 -3
- package/dist/{index-COKAN6-s.d.mts → index-C58AZZQ2.d.cts} +4 -4
- package/dist/{index-Fcf_SOl_.d.mts → index-C7bEBYuv.d.mts} +3 -3
- package/dist/{index-D3kNrl9W.d.cts → index-CGCO5eo7.d.mts} +4 -4
- package/dist/{index-BS5dkngf.d.mts → index-CMKzrxOO.d.mts} +2 -2
- package/dist/{index-BAb24XNa.d.cts → index-CNzkJGNq.d.cts} +3 -3
- package/dist/{index-D8jHpwh5.d.cts → index-CPNzQhUu.d.cts} +2 -2
- package/dist/{index-D4M18wt_.d.mts → index-CmscFo1L.d.mts} +2 -2
- package/dist/{index-wJbUPxSk.d.cts → index-CxDY_w-H.d.cts} +1 -1
- package/dist/{index-CaCfFN31.d.mts → index-D0XX9v0b.d.cts} +4 -4
- package/dist/{index-BC98RYwO.d.mts → index-D2yMhmE_.d.mts} +3 -3
- package/dist/{index-COYl2TN0.d.mts → index-D5Rj4uWe.d.cts} +3 -3
- package/dist/{index-DClEfecw.d.cts → index-DJ8NTYR8.d.mts} +3 -3
- package/dist/{index-BjMQ1Sfq.d.cts → index-DTeurv8z.d.cts} +3 -3
- package/dist/{index-6BHvkjdp.d.cts → index-DYtIEMr9.d.mts} +3 -3
- package/dist/{index-DVG64KQ4.d.mts → index-Dkqk_6g2.d.mts} +1 -1
- package/dist/{index-C-ACdUhw.d.mts → index-EuWfYhf8.d.mts} +5 -4
- package/dist/{index-OWbQXOvw.d.cts → index-H30eNjJf.d.cts} +3 -3
- package/dist/{index-AlVOmB-K.d.mts → index-JSOR69Iy.d.cts} +3 -3
- package/dist/{index-BfOZMmZA.d.cts → index-VwsWkazt.d.cts} +2 -2
- package/dist/{index-BAKGyLEF.d.mts → index-di-L2lJ9.d.mts} +2 -2
- package/dist/{index-Da9Sr6v7.d.cts → index-ue1Ccvln.d.cts} +5 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/style.d.cts +2 -2
- package/dist/style.d.mts +2 -2
- package/dist/theme.d.cts +2 -2
- package/dist/theme.d.mts +2 -2
- package/dist/{themes-CCguU8uo.d.mts → themes-C3RTORGO.d.mts} +2 -1
- package/dist/{themes-CtTQTVqe.d.cts → themes-Dswy4M6B.d.cts} +2 -1
- package/dist/{useTablePagination-BG93T2Od.d.cts → useTablePagination-BueH0_dG.d.cts} +1 -1
- package/dist/{useTablePagination-jBWK8cmx.d.mts → useTablePagination-CxBh-gU8.d.mts} +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, x as PaletteColor } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.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,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, x as PaletteColor } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
3
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
4
|
import { ButtonHTMLAttributes, ElementType } from "react";
|
|
5
5
|
//#region src/Pressable/Pressable.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TextColorToken } from "./index-
|
|
1
|
+
import { n as TextColorToken } from "./index-D5Rj4uWe.cjs";
|
|
2
2
|
import { SVGProps } from "react";
|
|
3
3
|
import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
|
|
4
4
|
//#region src/Icon/icons/AccountTree.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
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 { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
|
+
import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-B2eLreA5.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,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
|
+
import { t as TableCellPadding } from "./TableContext-GmYLRYpc.mjs";
|
|
4
4
|
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
5
5
|
import { ElementType, ThHTMLAttributes } from "react";
|
|
6
6
|
//#region src/Table/TableSectionContext.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as Theme, Y as TypographyVariant } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { T as Theme, Y as TypographyVariant } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.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,7 +1,7 @@
|
|
|
1
|
-
import { T as Theme, Y as TypographyVariant } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { CSSProperties, ElementType, HTMLAttributes } from "react";
|
|
1
|
+
import { T as Theme, Y as TypographyVariant } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.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,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { t as TableCellPadding } from "./TableContext-
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
|
+
import { t as TableCellPadding } from "./TableContext-BowhBZkZ.cjs";
|
|
4
4
|
import { ElementType, ThHTMLAttributes } from "react";
|
|
5
5
|
import { BorderProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
6
6
|
//#region src/Table/TableSectionContext.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as Theme, i as ButtonVariants, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
1
|
+
import { T as Theme, i as ButtonVariants, x as PaletteColor } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
4
3
|
import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
4
|
+
import { ButtonHTMLAttributes, ReactNode } from "react";
|
|
5
5
|
//#region src/Button/Button.d.ts
|
|
6
6
|
/** Augmentable via the `ButtonVariants` interface - style new values through `theme.components.Button.variants`. */
|
|
7
7
|
type ButtonVariant = keyof ButtonVariants;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.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,13 +1,14 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-Dkqk_6g2.mjs";
|
|
3
|
+
import { s as ViewProps } from "./index-C0-SB0dL.mjs";
|
|
4
4
|
import { FlexboxProps, LayoutGridProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Flex/Flex.d.ts
|
|
6
6
|
/** Valid values for the gap prop - derived from theme.space keys. */
|
|
7
7
|
type GapToken = keyof Theme['space'];
|
|
8
8
|
/**
|
|
9
9
|
* `layout` lays a wrapping row out from `theme.layout` - the theme's gutter and margin per
|
|
10
|
-
* breakpoint, with `--layout-columns` / `--layout-gutter` for the children's `span`.
|
|
10
|
+
* breakpoint, with `--layout-columns` / `--layout-gutter` for the children's `span`. Entries
|
|
11
|
+
* work as on `Grid`: `layout={{ gutter: 8 }}` at every breakpoint, `{ md: { gutter: 4 } }` at one.
|
|
11
12
|
*/
|
|
12
13
|
interface FlexProps extends ViewProps, FlexboxProps<Theme>, LayoutGridProps<Theme> {}
|
|
13
14
|
declare const Flex: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { n as FlexProps } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
|
+
import { n as FlexProps } from "./index-ue1Ccvln.cjs";
|
|
4
4
|
import { CSSProperties, ElementType } from "react";
|
|
5
5
|
//#region src/Paper/Paper.d.ts
|
|
6
6
|
type PaperElevation = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, SpanProps, TypographyProps } from "@soroush.tech/styled-system";
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
4
3
|
import { CSSProperties, HTMLAttributes } from "react";
|
|
4
|
+
import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, SpanProps, 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 { T as Theme, x as PaletteColor } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, x as PaletteColor } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.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,5 +1,5 @@
|
|
|
1
|
-
import { a as PaginationItemSize } from "./index-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { a as PaginationItemSize } from "./index-CMKzrxOO.mjs";
|
|
2
|
+
import "./index-CGCO5eo7.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,13 +1,14 @@
|
|
|
1
|
-
import { T as Theme } from "./themes-
|
|
2
|
-
import "./index-
|
|
3
|
-
import { s as ViewProps } from "./index-
|
|
1
|
+
import { T as Theme } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BsUsSWXP.cjs";
|
|
3
|
+
import { s as ViewProps } from "./index-JSOR69Iy.cjs";
|
|
4
4
|
import { FlexboxProps, LayoutGridProps } from "@soroush.tech/styled-system";
|
|
5
5
|
//#region src/Flex/Flex.d.ts
|
|
6
6
|
/** Valid values for the gap prop - derived from theme.space keys. */
|
|
7
7
|
type GapToken = keyof Theme['space'];
|
|
8
8
|
/**
|
|
9
9
|
* `layout` lays a wrapping row out from `theme.layout` - the theme's gutter and margin per
|
|
10
|
-
* breakpoint, with `--layout-columns` / `--layout-gutter` for the children's `span`.
|
|
10
|
+
* breakpoint, with `--layout-columns` / `--layout-gutter` for the children's `span`. Entries
|
|
11
|
+
* work as on `Grid`: `layout={{ gutter: 8 }}` at every breakpoint, `{ md: { gutter: 4 } }` at one.
|
|
11
12
|
*/
|
|
12
13
|
interface FlexProps extends ViewProps, FlexboxProps<Theme>, LayoutGridProps<Theme> {}
|
|
13
14
|
declare const Flex: import("@emotion/styled").StyledComponent<{
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Theme, a as CSSObject, x as PaletteColor } from "./themes-
|
|
2
|
-
import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-
|
|
1
|
+
import { T as Theme, a as CSSObject, x as PaletteColor } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-BsUsSWXP.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 { T as Theme, a as CSSObject, x as PaletteColor } from "./themes-
|
|
2
|
-
import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-
|
|
1
|
+
import { T as Theme, a as CSSObject, x as PaletteColor } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-Dkqk_6g2.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 };
|
package/dist/style.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Theme, a as CSSObject } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, a as CSSObject } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import "./index-BO-vkjtm.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 { T as Theme, a as CSSObject } from "./themes-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { T as Theme, a as CSSObject } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import "./index-BHyJ6P_D.mjs";
|
|
3
3
|
import { ComponentType, ReactNode } from "react";
|
|
4
4
|
//#region src/style/hooks/useStyle.d.ts
|
|
5
5
|
type StyleFactory = {
|
package/dist/theme.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as between, A as ThemeBreakpoints, B as ThemeRadii, C as PressableOwnerState, Ct as withBreakpointHelpers, D as ThemeBackground, E as ThemeAvatarSizes, F as ThemeIconSizes, G as ThemeSwitch, H as ThemeSizes, I as ThemeLayout, J as ThemeZOrder, K as ThemeText, L as ThemeLetterSpacings, M as ThemeDefaults, N as ThemeFontWeights, O as ThemeBorder, P as ThemeFonts, Q as baseTheme, R as ThemeLineHeights, S as PaletteEntry, St as BreakpointHelpers, T as Theme, U as ThemeSkeleton, V as ThemeShadow, W as ThemeSpace, X as TypographyVariantStyle, Y as TypographyVariant, Z as avatar, _ as LayoutPanel, _t as up, a as CSSObject, at as fontWeights, b as OpenScale, bt as ThemeOverride, c as CardSlotTypographyProps, ct as layout, d as ComponentVariant, dt as not, et as borderWidths, f as DefaultBreakpoints, ft as only, g as LayoutLength, gt as typography, h as LayoutEntry, ht as space, i as ButtonVariants, it as fontSizes, j as ThemeComponents, k as ThemeBorderWidths, l as ComponentConfig, lt as letterSpacings, m as LayoutContent, mt as sizes, n as BreakpointOverrides, nt as containerQueries, o as CardOwnerState, ot as fonts, p as LayoutBars, pt as radii, q as ThemeTypographyVariants, r as ButtonOwnerState, rt as down, s as CardSlotIconProps, st as icon, t as BreakpointKey, tt as breakpoints, u as ComponentStyle, ut as lineHeights, v as LayoutPanels, vt as zOrder, w as SizeEntry, x as PaletteColor, xt as createTheme, y as LayoutSpace, yt as DeepPartial, z as ThemePalette } from "./themes-
|
|
2
|
-
import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-
|
|
1
|
+
import { $ as between, A as ThemeBreakpoints, B as ThemeRadii, C as PressableOwnerState, Ct as withBreakpointHelpers, D as ThemeBackground, E as ThemeAvatarSizes, F as ThemeIconSizes, G as ThemeSwitch, H as ThemeSizes, I as ThemeLayout, J as ThemeZOrder, K as ThemeText, L as ThemeLetterSpacings, M as ThemeDefaults, N as ThemeFontWeights, O as ThemeBorder, P as ThemeFonts, Q as baseTheme, R as ThemeLineHeights, S as PaletteEntry, St as BreakpointHelpers, T as Theme, U as ThemeSkeleton, V as ThemeShadow, W as ThemeSpace, X as TypographyVariantStyle, Y as TypographyVariant, Z as avatar, _ as LayoutPanel, _t as up, a as CSSObject, at as fontWeights, b as OpenScale, bt as ThemeOverride, c as CardSlotTypographyProps, ct as layout, d as ComponentVariant, dt as not, et as borderWidths, f as DefaultBreakpoints, ft as only, g as LayoutLength, gt as typography, h as LayoutEntry, ht as space, i as ButtonVariants, it as fontSizes, j as ThemeComponents, k as ThemeBorderWidths, l as ComponentConfig, lt as letterSpacings, m as LayoutContent, mt as sizes, n as BreakpointOverrides, nt as containerQueries, o as CardOwnerState, ot as fonts, p as LayoutBars, pt as radii, q as ThemeTypographyVariants, r as ButtonOwnerState, rt as down, s as CardSlotIconProps, st as icon, t as BreakpointKey, tt as breakpoints, u as ComponentStyle, ut as lineHeights, v as LayoutPanels, vt as zOrder, w as SizeEntry, x as PaletteColor, xt as createTheme, y as LayoutSpace, yt as DeepPartial, z as ThemePalette } from "./themes-Dswy4M6B.cjs";
|
|
2
|
+
import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-BO-vkjtm.cjs";
|
|
3
3
|
export { BreakpointHelpers, BreakpointKey, BreakpointOverrides, ButtonOwnerState, ButtonVariants, CSSObject, CardOwnerState, CardSlotIconProps, CardSlotTypographyProps, ComponentConfig, ComponentStyle, ComponentVariant, type DeepPartial, DefaultBreakpoints, 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, between, borderWidths, breakpoints, containerQueries, createTheme, down, fontSizes, fontWeights, fonts, icon, layout, letterSpacings, lineHeights, not, only, radii, sizes, space, themeDefault, typography, up, useDefaultProps, useTheme, withBreakpointHelpers, withTheme, zOrder };
|
package/dist/theme.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as between, A as ThemeBreakpoints, B as ThemeRadii, C as PressableOwnerState, Ct as withBreakpointHelpers, D as ThemeBackground, E as ThemeAvatarSizes, F as ThemeIconSizes, G as ThemeSwitch, H as ThemeSizes, I as ThemeLayout, J as ThemeZOrder, K as ThemeText, L as ThemeLetterSpacings, M as ThemeDefaults, N as ThemeFontWeights, O as ThemeBorder, P as ThemeFonts, Q as baseTheme, R as ThemeLineHeights, S as PaletteEntry, St as BreakpointHelpers, T as Theme, U as ThemeSkeleton, V as ThemeShadow, W as ThemeSpace, X as TypographyVariantStyle, Y as TypographyVariant, Z as avatar, _ as LayoutPanel, _t as up, a as CSSObject, at as fontWeights, b as OpenScale, bt as ThemeOverride, c as CardSlotTypographyProps, ct as layout, d as ComponentVariant, dt as not, et as borderWidths, f as DefaultBreakpoints, ft as only, g as LayoutLength, gt as typography, h as LayoutEntry, ht as space, i as ButtonVariants, it as fontSizes, j as ThemeComponents, k as ThemeBorderWidths, l as ComponentConfig, lt as letterSpacings, m as LayoutContent, mt as sizes, n as BreakpointOverrides, nt as containerQueries, o as CardOwnerState, ot as fonts, p as LayoutBars, pt as radii, q as ThemeTypographyVariants, r as ButtonOwnerState, rt as down, s as CardSlotIconProps, st as icon, t as BreakpointKey, tt as breakpoints, u as ComponentStyle, ut as lineHeights, v as LayoutPanels, vt as zOrder, w as SizeEntry, x as PaletteColor, xt as createTheme, y as LayoutSpace, yt as DeepPartial, z as ThemePalette } from "./themes-
|
|
2
|
-
import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-
|
|
1
|
+
import { $ as between, A as ThemeBreakpoints, B as ThemeRadii, C as PressableOwnerState, Ct as withBreakpointHelpers, D as ThemeBackground, E as ThemeAvatarSizes, F as ThemeIconSizes, G as ThemeSwitch, H as ThemeSizes, I as ThemeLayout, J as ThemeZOrder, K as ThemeText, L as ThemeLetterSpacings, M as ThemeDefaults, N as ThemeFontWeights, O as ThemeBorder, P as ThemeFonts, Q as baseTheme, R as ThemeLineHeights, S as PaletteEntry, St as BreakpointHelpers, T as Theme, U as ThemeSkeleton, V as ThemeShadow, W as ThemeSpace, X as TypographyVariantStyle, Y as TypographyVariant, Z as avatar, _ as LayoutPanel, _t as up, a as CSSObject, at as fontWeights, b as OpenScale, bt as ThemeOverride, c as CardSlotTypographyProps, ct as layout, d as ComponentVariant, dt as not, et as borderWidths, f as DefaultBreakpoints, ft as only, g as LayoutLength, gt as typography, h as LayoutEntry, ht as space, i as ButtonVariants, it as fontSizes, j as ThemeComponents, k as ThemeBorderWidths, l as ComponentConfig, lt as letterSpacings, m as LayoutContent, mt as sizes, n as BreakpointOverrides, nt as containerQueries, o as CardOwnerState, ot as fonts, p as LayoutBars, pt as radii, q as ThemeTypographyVariants, r as ButtonOwnerState, rt as down, s as CardSlotIconProps, st as icon, t as BreakpointKey, tt as breakpoints, u as ComponentStyle, ut as lineHeights, v as LayoutPanels, vt as zOrder, w as SizeEntry, x as PaletteColor, xt as createTheme, y as LayoutSpace, yt as DeepPartial, z as ThemePalette } from "./themes-C3RTORGO.mjs";
|
|
2
|
+
import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-BHyJ6P_D.mjs";
|
|
3
3
|
export { BreakpointHelpers, BreakpointKey, BreakpointOverrides, ButtonOwnerState, ButtonVariants, CSSObject, CardOwnerState, CardSlotIconProps, CardSlotTypographyProps, ComponentConfig, ComponentStyle, ComponentVariant, type DeepPartial, DefaultBreakpoints, 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, between, borderWidths, breakpoints, containerQueries, createTheme, down, fontSizes, fontWeights, fonts, icon, layout, letterSpacings, lineHeights, not, only, radii, sizes, space, themeDefault, typography, up, useDefaultProps, useTheme, withBreakpointHelpers, withTheme, zOrder };
|
|
@@ -227,8 +227,9 @@ interface DefaultBreakpoints {
|
|
|
227
227
|
* }
|
|
228
228
|
*/
|
|
229
229
|
interface BreakpointOverrides {}
|
|
230
|
+
type RemovedBreakpoints = keyof { [K in keyof BreakpointOverrides as BreakpointOverrides[K] extends false ? K : never]: true; };
|
|
230
231
|
/** The theme's breakpoint names: the defaults, plus every override set to `true`, minus every one set to `false`. */
|
|
231
|
-
type BreakpointKey = Exclude<keyof DefaultBreakpoints | keyof BreakpointOverrides,
|
|
232
|
+
type BreakpointKey = Exclude<keyof DefaultBreakpoints | keyof BreakpointOverrides, RemovedBreakpoints>;
|
|
232
233
|
/**
|
|
233
234
|
* `theme.breakpoints`: where each window class starts, ascending, in declared order. A key holds
|
|
234
235
|
* from its value until the next key, so `xs: '0px'` applies everywhere until `sm` overrides it;
|
|
@@ -227,8 +227,9 @@ interface DefaultBreakpoints {
|
|
|
227
227
|
* }
|
|
228
228
|
*/
|
|
229
229
|
interface BreakpointOverrides {}
|
|
230
|
+
type RemovedBreakpoints = keyof { [K in keyof BreakpointOverrides as BreakpointOverrides[K] extends false ? K : never]: true; };
|
|
230
231
|
/** The theme's breakpoint names: the defaults, plus every override set to `true`, minus every one set to `false`. */
|
|
231
|
-
type BreakpointKey = Exclude<keyof DefaultBreakpoints | keyof BreakpointOverrides,
|
|
232
|
+
type BreakpointKey = Exclude<keyof DefaultBreakpoints | keyof BreakpointOverrides, RemovedBreakpoints>;
|
|
232
233
|
/**
|
|
233
234
|
* `theme.breakpoints`: where each window class starts, ascending, in declared order. A key holds
|
|
234
235
|
* from its value until the next key, so `xs: '0px'` applies everywhere until `sm` overrides it;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TableSortLabelDirection } from "./index-
|
|
1
|
+
import { n as TableSortLabelDirection } from "./index-CNzkJGNq.cjs";
|
|
2
2
|
//#region src/Table/hooks/useTableSort.d.ts
|
|
3
3
|
/** One column's sort state - spreads directly onto `TableSortLabel`. */
|
|
4
4
|
interface TableSortEntry {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TableSortLabelDirection } from "./index-
|
|
1
|
+
import { n as TableSortLabelDirection } from "./index-C7bEBYuv.mjs";
|
|
2
2
|
//#region src/Table/hooks/useTableSort.d.ts
|
|
3
3
|
/** One column's sort state - spreads directly onto `TableSortLabel`. */
|
|
4
4
|
interface TableSortEntry {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soroush.tech/design-system",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.2",
|
|
4
4
|
"description": "Emotion + @soroush.tech/styled-system React component library - token-driven light/dark themes, layout primitives, forms, and overlays.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-system",
|
|
@@ -477,7 +477,7 @@
|
|
|
477
477
|
"@emotion/cache": "^11.14.0",
|
|
478
478
|
"@emotion/react": "^11.14.0",
|
|
479
479
|
"@emotion/styled": "^11.14.1",
|
|
480
|
-
"@soroush.tech/styled-system": "^6.0.0-alpha.
|
|
480
|
+
"@soroush.tech/styled-system": "^6.0.0-alpha.1"
|
|
481
481
|
},
|
|
482
482
|
"peerDependencies": {
|
|
483
483
|
"react": "^19.2.8",
|