@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.
Files changed (152) hide show
  1. package/README.md +10 -10
  2. package/dist/AppBar.d.cts +3 -3
  3. package/dist/AppBar.d.mts +3 -3
  4. package/dist/Avatar.d.cts +3 -3
  5. package/dist/Avatar.d.mts +3 -3
  6. package/dist/Backdrop.d.cts +1 -1
  7. package/dist/Backdrop.d.mts +1 -1
  8. package/dist/Button.d.cts +1 -1
  9. package/dist/Button.d.mts +1 -1
  10. package/dist/ButtonGroup.d.cts +1 -1
  11. package/dist/ButtonGroup.d.mts +1 -1
  12. package/dist/Card.d.cts +3 -3
  13. package/dist/Card.d.mts +3 -3
  14. package/dist/Checkbox.d.cts +2 -2
  15. package/dist/Checkbox.d.mts +2 -2
  16. package/dist/CircularProgress.d.cts +3 -3
  17. package/dist/CircularProgress.d.mts +3 -3
  18. package/dist/Drawer.d.cts +2 -2
  19. package/dist/Drawer.d.mts +2 -2
  20. package/dist/Flex.d.cts +1 -1
  21. package/dist/Flex.d.mts +1 -1
  22. package/dist/Form.d.cts +1 -1
  23. package/dist/Form.d.mts +1 -1
  24. package/dist/FormControl.d.cts +2 -2
  25. package/dist/FormControl.d.mts +2 -2
  26. package/dist/FormHelperText.d.cts +1 -1
  27. package/dist/FormHelperText.d.mts +1 -1
  28. package/dist/FormLabel.d.cts +1 -1
  29. package/dist/FormLabel.d.mts +1 -1
  30. package/dist/Grid.d.cts +5 -4
  31. package/dist/Grid.d.mts +5 -4
  32. package/dist/Icon.d.cts +1 -1
  33. package/dist/Icon.d.mts +1 -1
  34. package/dist/Image.d.cts +2 -2
  35. package/dist/Image.d.mts +2 -2
  36. package/dist/LinearProgress.d.cts +3 -3
  37. package/dist/LinearProgress.d.mts +3 -3
  38. package/dist/Link.d.cts +1 -1
  39. package/dist/Link.d.mts +1 -1
  40. package/dist/MenuItem.d.cts +2 -2
  41. package/dist/MenuItem.d.mts +2 -2
  42. package/dist/Modal.d.cts +1 -1
  43. package/dist/Modal.d.mts +1 -1
  44. package/dist/NativeSelect.d.cts +3 -3
  45. package/dist/NativeSelect.d.mts +3 -3
  46. package/dist/Pagination/PaginationItem.d.cts +1 -1
  47. package/dist/Pagination/PaginationItem.d.mts +1 -1
  48. package/dist/Pagination.d.cts +2 -2
  49. package/dist/Pagination.d.mts +2 -2
  50. package/dist/Paper.d.cts +1 -1
  51. package/dist/Paper.d.mts +1 -1
  52. package/dist/Popover.d.cts +4 -4
  53. package/dist/Popover.d.mts +4 -4
  54. package/dist/Pressable.d.cts +1 -1
  55. package/dist/Pressable.d.mts +1 -1
  56. package/dist/Quote.d.cts +3 -3
  57. package/dist/Quote.d.mts +3 -3
  58. package/dist/Radio.d.cts +2 -2
  59. package/dist/Radio.d.mts +2 -2
  60. package/dist/Select.d.cts +3 -3
  61. package/dist/Select.d.mts +3 -3
  62. package/dist/Sidebar/Sidebar.d.cts +1 -1
  63. package/dist/Sidebar/Sidebar.d.mts +1 -1
  64. package/dist/Sidebar/SidebarItem.d.cts +4 -4
  65. package/dist/Sidebar/SidebarItem.d.mts +4 -4
  66. package/dist/Skeleton.d.cts +2 -2
  67. package/dist/Skeleton.d.mts +2 -2
  68. package/dist/Switch.d.cts +2 -2
  69. package/dist/Switch.d.mts +2 -2
  70. package/dist/Table/Table.d.cts +3 -3
  71. package/dist/Table/Table.d.mts +3 -3
  72. package/dist/Table/TableBody.d.cts +2 -2
  73. package/dist/Table/TableBody.d.mts +2 -2
  74. package/dist/Table/TableCell.d.cts +1 -1
  75. package/dist/Table/TableCell.d.mts +1 -1
  76. package/dist/Table/TableContainer.d.cts +3 -3
  77. package/dist/Table/TableContainer.d.mts +3 -3
  78. package/dist/Table/TableControl.d.cts +1 -1
  79. package/dist/Table/TableControl.d.mts +1 -1
  80. package/dist/Table/TableFooter.d.cts +2 -2
  81. package/dist/Table/TableFooter.d.mts +2 -2
  82. package/dist/Table/TableHead.d.cts +2 -2
  83. package/dist/Table/TableHead.d.mts +2 -2
  84. package/dist/Table/TablePagination.d.cts +2 -2
  85. package/dist/Table/TablePagination.d.mts +2 -2
  86. package/dist/Table/TablePaginationActions.d.cts +1 -1
  87. package/dist/Table/TablePaginationActions.d.mts +1 -1
  88. package/dist/Table/TableRow.d.cts +2 -2
  89. package/dist/Table/TableRow.d.mts +2 -2
  90. package/dist/Table/TableSortLabel.d.cts +1 -1
  91. package/dist/Table/TableSortLabel.d.mts +1 -1
  92. package/dist/Table/hooks.d.cts +1 -1
  93. package/dist/Table/hooks.d.mts +1 -1
  94. package/dist/Table.d.cts +5 -5
  95. package/dist/Table.d.mts +5 -5
  96. package/dist/{TableContext-98M9MAm7.d.cts → TableContext-BowhBZkZ.d.cts} +1 -1
  97. package/dist/{TableContext-BwK_fB9Q.d.mts → TableContext-GmYLRYpc.d.mts} +1 -1
  98. package/dist/TextInput.d.cts +2 -2
  99. package/dist/TextInput.d.mts +2 -2
  100. package/dist/ToggleButton/ToggleButton.d.cts +1 -1
  101. package/dist/ToggleButton/ToggleButton.d.mts +1 -1
  102. package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
  103. package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
  104. package/dist/Typography.d.cts +2 -2
  105. package/dist/Typography.d.mts +2 -2
  106. package/dist/View.d.cts +1 -1
  107. package/dist/View.d.mts +1 -1
  108. package/dist/engine.d.cts +1 -1
  109. package/dist/engine.d.mts +1 -1
  110. package/dist/{index-DLtzp-Mg.d.mts → index-B2eLreA5.d.cts} +3 -3
  111. package/dist/{index-Dyfu-Otn.d.mts → index-BBV7_p-W.d.mts} +1 -1
  112. package/dist/{index-C2e925FY.d.cts → index-BHyJ6P_D.d.mts} +1 -1
  113. package/dist/{index-iHyGhLkM.d.mts → index-BO-vkjtm.d.cts} +1 -1
  114. package/dist/{index-CJWXZFFZ.d.cts → index-BT-mcuE6.d.mts} +4 -4
  115. package/dist/{index-FTr8Mn3p.d.cts → index-BW4rc8cK.d.cts} +2 -2
  116. package/dist/{index-CHr4HUzH.d.mts → index-BbngAEDY.d.mts} +2 -2
  117. package/dist/{index-CorVAOY7.d.mts → index-Bqk30r0W.d.mts} +3 -3
  118. package/dist/{index-CkYiijiE.d.cts → index-BsUsSWXP.d.cts} +1 -1
  119. package/dist/{index-BvLNPm5C.d.cts → index-C-kvrbCi.d.cts} +2 -2
  120. package/dist/{index-B2LR3Y5d.d.cts → index-C0-SB0dL.d.mts} +3 -3
  121. package/dist/{index-COKAN6-s.d.mts → index-C58AZZQ2.d.cts} +4 -4
  122. package/dist/{index-Fcf_SOl_.d.mts → index-C7bEBYuv.d.mts} +3 -3
  123. package/dist/{index-D3kNrl9W.d.cts → index-CGCO5eo7.d.mts} +4 -4
  124. package/dist/{index-BS5dkngf.d.mts → index-CMKzrxOO.d.mts} +2 -2
  125. package/dist/{index-BAb24XNa.d.cts → index-CNzkJGNq.d.cts} +3 -3
  126. package/dist/{index-D8jHpwh5.d.cts → index-CPNzQhUu.d.cts} +2 -2
  127. package/dist/{index-D4M18wt_.d.mts → index-CmscFo1L.d.mts} +2 -2
  128. package/dist/{index-wJbUPxSk.d.cts → index-CxDY_w-H.d.cts} +1 -1
  129. package/dist/{index-CaCfFN31.d.mts → index-D0XX9v0b.d.cts} +4 -4
  130. package/dist/{index-BC98RYwO.d.mts → index-D2yMhmE_.d.mts} +3 -3
  131. package/dist/{index-COYl2TN0.d.mts → index-D5Rj4uWe.d.cts} +3 -3
  132. package/dist/{index-DClEfecw.d.cts → index-DJ8NTYR8.d.mts} +3 -3
  133. package/dist/{index-BjMQ1Sfq.d.cts → index-DTeurv8z.d.cts} +3 -3
  134. package/dist/{index-6BHvkjdp.d.cts → index-DYtIEMr9.d.mts} +3 -3
  135. package/dist/{index-DVG64KQ4.d.mts → index-Dkqk_6g2.d.mts} +1 -1
  136. package/dist/{index-C-ACdUhw.d.mts → index-EuWfYhf8.d.mts} +5 -4
  137. package/dist/{index-OWbQXOvw.d.cts → index-H30eNjJf.d.cts} +3 -3
  138. package/dist/{index-AlVOmB-K.d.mts → index-JSOR69Iy.d.cts} +3 -3
  139. package/dist/{index-BfOZMmZA.d.cts → index-VwsWkazt.d.cts} +2 -2
  140. package/dist/{index-BAKGyLEF.d.mts → index-di-L2lJ9.d.mts} +2 -2
  141. package/dist/{index-Da9Sr6v7.d.cts → index-ue1Ccvln.d.cts} +5 -4
  142. package/dist/index.d.cts +2 -2
  143. package/dist/index.d.mts +2 -2
  144. package/dist/style.d.cts +2 -2
  145. package/dist/style.d.mts +2 -2
  146. package/dist/theme.d.cts +2 -2
  147. package/dist/theme.d.mts +2 -2
  148. package/dist/{themes-CCguU8uo.d.mts → themes-C3RTORGO.d.mts} +2 -1
  149. package/dist/{themes-CtTQTVqe.d.cts → themes-Dswy4M6B.d.cts} +2 -1
  150. package/dist/{useTablePagination-BG93T2Od.d.cts → useTablePagination-BueH0_dG.d.cts} +1 -1
  151. package/dist/{useTablePagination-jBWK8cmx.d.mts → useTablePagination-CxBh-gU8.d.mts} +1 -1
  152. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
- import { T as Theme, x as PaletteColor } from "./themes-CtTQTVqe.cjs";
2
- import "./index-CkYiijiE.cjs";
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-CCguU8uo.mjs";
2
- import "./index-DVG64KQ4.mjs";
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-DClEfecw.cjs";
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-CCguU8uo.mjs";
2
- import "./index-DVG64KQ4.mjs";
3
- import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-DLtzp-Mg.mjs";
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-CCguU8uo.mjs";
2
- import "./index-DVG64KQ4.mjs";
3
- import { t as TableCellPadding } from "./TableContext-BwK_fB9Q.mjs";
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-CCguU8uo.mjs";
2
- import "./index-DVG64KQ4.mjs";
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-CtTQTVqe.cjs";
2
- import "./index-CkYiijiE.cjs";
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-CtTQTVqe.cjs";
2
- import "./index-CkYiijiE.cjs";
3
- import { t as TableCellPadding } from "./TableContext-98M9MAm7.cjs";
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-CtTQTVqe.cjs";
2
- import "./index-CkYiijiE.cjs";
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-CCguU8uo.mjs";
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-CCguU8uo.mjs";
2
- import "./index-DVG64KQ4.mjs";
3
- import { s as ViewProps } from "./index-AlVOmB-K.mjs";
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-CtTQTVqe.cjs";
2
- import "./index-CkYiijiE.cjs";
3
- import { n as FlexProps } from "./index-Da9Sr6v7.cjs";
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-CCguU8uo.mjs";
2
- import "./index-DVG64KQ4.mjs";
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-CtTQTVqe.cjs";
2
- import "./index-CkYiijiE.cjs";
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-BS5dkngf.mjs";
2
- import "./index-COKAN6-s.mjs";
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-CtTQTVqe.cjs";
2
- import "./index-CkYiijiE.cjs";
3
- import { s as ViewProps } from "./index-B2LR3Y5d.cjs";
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-CtTQTVqe.cjs";
2
- import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-CkYiijiE.cjs";
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-CCguU8uo.mjs";
2
- import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-DVG64KQ4.mjs";
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-CtTQTVqe.cjs";
2
- import "./index-C2e925FY.cjs";
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-CCguU8uo.mjs";
2
- import "./index-iHyGhLkM.mjs";
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-CtTQTVqe.cjs";
2
- import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-C2e925FY.cjs";
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-CCguU8uo.mjs";
2
- import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-iHyGhLkM.mjs";
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, { [K in keyof BreakpointOverrides]: BreakpointOverrides[K] extends false ? K : never; }[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, { [K in keyof BreakpointOverrides]: BreakpointOverrides[K] extends false ? K : never; }[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-BAb24XNa.cjs";
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-Fcf_SOl_.mjs";
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.1",
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.0"
480
+ "@soroush.tech/styled-system": "^6.0.0-alpha.1"
481
481
  },
482
482
  "peerDependencies": {
483
483
  "react": "^19.2.8",