@soroush.tech/design-system 2.0.0-alpha.5 → 2.0.0-rc.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.
Files changed (210) hide show
  1. package/README.md +2 -2
  2. package/dist/AppBar.d.cts +3 -3
  3. package/dist/AppBar.d.mts +3 -3
  4. package/dist/Avatar.cjs +1 -1
  5. package/dist/Avatar.d.cts +3 -3
  6. package/dist/Avatar.d.mts +3 -3
  7. package/dist/Avatar.mjs +1 -1
  8. package/dist/Backdrop.d.cts +1 -1
  9. package/dist/Backdrop.d.mts +1 -1
  10. package/dist/Button.cjs +1 -1
  11. package/dist/Button.d.cts +1 -1
  12. package/dist/Button.d.mts +1 -1
  13. package/dist/Button.mjs +1 -1
  14. package/dist/ButtonGroup.d.cts +1 -1
  15. package/dist/ButtonGroup.d.mts +1 -1
  16. package/dist/Card.cjs +2 -2
  17. package/dist/Card.d.cts +3 -3
  18. package/dist/Card.d.mts +3 -3
  19. package/dist/Card.mjs +2 -2
  20. package/dist/Checkbox.d.cts +2 -2
  21. package/dist/Checkbox.d.mts +2 -2
  22. package/dist/CircularProgress.cjs +1 -0
  23. package/dist/CircularProgress.d.cts +3 -3
  24. package/dist/CircularProgress.d.mts +3 -3
  25. package/dist/CircularProgress.mjs +1 -0
  26. package/dist/Drawer.cjs +2 -1
  27. package/dist/Drawer.d.cts +2 -2
  28. package/dist/Drawer.d.mts +2 -2
  29. package/dist/Drawer.mjs +2 -1
  30. package/dist/Flex.d.cts +1 -1
  31. package/dist/Flex.d.mts +1 -1
  32. package/dist/Form.d.cts +1 -1
  33. package/dist/Form.d.mts +1 -1
  34. package/dist/FormControl.cjs +1 -1
  35. package/dist/FormControl.d.cts +2 -2
  36. package/dist/FormControl.d.mts +2 -2
  37. package/dist/FormControl.mjs +1 -1
  38. package/dist/FormHelperText.d.cts +1 -1
  39. package/dist/FormHelperText.d.mts +1 -1
  40. package/dist/FormLabel.d.cts +1 -1
  41. package/dist/FormLabel.d.mts +1 -1
  42. package/dist/Grid.d.cts +3 -3
  43. package/dist/Grid.d.mts +3 -3
  44. package/dist/{Icon-CnYvHWhh.mjs → Icon-CH3asUJu.mjs} +1 -1
  45. package/dist/{Icon-DRBVfAHY.cjs → Icon-CI6q2Eyi.cjs} +1 -1
  46. package/dist/Icon.cjs +1 -1
  47. package/dist/Icon.d.cts +1 -1
  48. package/dist/Icon.d.mts +1 -1
  49. package/dist/Icon.mjs +1 -1
  50. package/dist/Image.d.cts +2 -2
  51. package/dist/Image.d.mts +2 -2
  52. package/dist/LinearProgress.d.cts +3 -3
  53. package/dist/LinearProgress.d.mts +3 -3
  54. package/dist/Link.cjs +1 -1
  55. package/dist/Link.d.cts +1 -1
  56. package/dist/Link.d.mts +1 -1
  57. package/dist/Link.mjs +1 -1
  58. package/dist/MenuItem.cjs +2 -2
  59. package/dist/MenuItem.d.cts +2 -2
  60. package/dist/MenuItem.d.mts +2 -2
  61. package/dist/MenuItem.mjs +2 -2
  62. package/dist/Modal.d.cts +1 -1
  63. package/dist/Modal.d.mts +1 -1
  64. package/dist/NativeSelect.cjs +2 -2
  65. package/dist/NativeSelect.d.cts +3 -3
  66. package/dist/NativeSelect.d.mts +3 -3
  67. package/dist/NativeSelect.mjs +2 -2
  68. package/dist/Pagination/PaginationItem.cjs +1 -1
  69. package/dist/Pagination/PaginationItem.d.cts +1 -1
  70. package/dist/Pagination/PaginationItem.d.mts +1 -1
  71. package/dist/Pagination/PaginationItem.mjs +1 -1
  72. package/dist/Pagination.d.cts +2 -2
  73. package/dist/Pagination.d.mts +2 -2
  74. package/dist/Paper.cjs +1 -1
  75. package/dist/Paper.d.cts +1 -1
  76. package/dist/Paper.d.mts +1 -1
  77. package/dist/Paper.mjs +1 -1
  78. package/dist/{Popover-DPcahLFU.mjs → Popover-DwnSLpp1.mjs} +1 -1
  79. package/dist/{Popover-CGJO-ztB.cjs → Popover-TpwRSORC.cjs} +1 -1
  80. package/dist/Popover.cjs +1 -1
  81. package/dist/Popover.d.cts +4 -4
  82. package/dist/Popover.d.mts +4 -4
  83. package/dist/Popover.mjs +1 -1
  84. package/dist/Pressable.cjs +1 -1
  85. package/dist/Pressable.d.cts +1 -1
  86. package/dist/Pressable.d.mts +1 -1
  87. package/dist/Pressable.mjs +1 -1
  88. package/dist/Quote.d.cts +3 -3
  89. package/dist/Quote.d.mts +3 -3
  90. package/dist/Radio.d.cts +2 -2
  91. package/dist/Radio.d.mts +2 -2
  92. package/dist/Select.cjs +3 -3
  93. package/dist/Select.d.cts +3 -3
  94. package/dist/Select.d.mts +3 -3
  95. package/dist/Select.mjs +3 -3
  96. package/dist/Sidebar/Sidebar.d.cts +1 -1
  97. package/dist/Sidebar/Sidebar.d.mts +1 -1
  98. package/dist/Sidebar/SidebarItem.cjs +1 -1
  99. package/dist/Sidebar/SidebarItem.d.cts +4 -4
  100. package/dist/Sidebar/SidebarItem.d.mts +4 -4
  101. package/dist/Sidebar/SidebarItem.mjs +1 -1
  102. package/dist/Skeleton.d.cts +2 -2
  103. package/dist/Skeleton.d.mts +2 -2
  104. package/dist/Switch.cjs +1 -1
  105. package/dist/Switch.d.cts +2 -2
  106. package/dist/Switch.d.mts +2 -2
  107. package/dist/Switch.mjs +1 -1
  108. package/dist/Table/Table.d.cts +3 -3
  109. package/dist/Table/Table.d.mts +3 -3
  110. package/dist/Table/TableBody.d.cts +2 -2
  111. package/dist/Table/TableBody.d.mts +2 -2
  112. package/dist/Table/TableCell.d.cts +1 -1
  113. package/dist/Table/TableCell.d.mts +1 -1
  114. package/dist/Table/TableContainer.d.cts +3 -3
  115. package/dist/Table/TableContainer.d.mts +3 -3
  116. package/dist/Table/TableControl.d.cts +1 -1
  117. package/dist/Table/TableControl.d.mts +1 -1
  118. package/dist/Table/TableFooter.d.cts +2 -2
  119. package/dist/Table/TableFooter.d.mts +2 -2
  120. package/dist/Table/TableHead.d.cts +2 -2
  121. package/dist/Table/TableHead.d.mts +2 -2
  122. package/dist/Table/TablePagination.d.cts +2 -2
  123. package/dist/Table/TablePagination.d.mts +2 -2
  124. package/dist/Table/TablePaginationActions.cjs +1 -1
  125. package/dist/Table/TablePaginationActions.d.cts +1 -1
  126. package/dist/Table/TablePaginationActions.d.mts +1 -1
  127. package/dist/Table/TablePaginationActions.mjs +1 -1
  128. package/dist/Table/TableRow.d.cts +2 -2
  129. package/dist/Table/TableRow.d.mts +2 -2
  130. package/dist/Table/TableSortLabel.cjs +1 -1
  131. package/dist/Table/TableSortLabel.d.cts +1 -1
  132. package/dist/Table/TableSortLabel.d.mts +1 -1
  133. package/dist/Table/TableSortLabel.mjs +1 -1
  134. package/dist/Table/hooks.d.cts +1 -1
  135. package/dist/Table/hooks.d.mts +1 -1
  136. package/dist/Table.d.cts +5 -5
  137. package/dist/Table.d.mts +5 -5
  138. package/dist/{TableContext-CA6a5Ol5.d.cts → TableContext-BeCxbtHH.d.cts} +1 -1
  139. package/dist/{TableContext-CIuPZ_at.d.mts → TableContext-BiRiYkVZ.d.mts} +1 -1
  140. package/dist/TextInput.cjs +1 -1
  141. package/dist/TextInput.d.cts +2 -2
  142. package/dist/TextInput.d.mts +2 -2
  143. package/dist/TextInput.mjs +1 -1
  144. package/dist/ToggleButton/ToggleButton.cjs +1 -1
  145. package/dist/ToggleButton/ToggleButton.d.cts +1 -1
  146. package/dist/ToggleButton/ToggleButton.d.mts +1 -1
  147. package/dist/ToggleButton/ToggleButton.mjs +1 -1
  148. package/dist/ToggleButton/ToggleButtonGroup.cjs +1 -1
  149. package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
  150. package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
  151. package/dist/ToggleButton/ToggleButtonGroup.mjs +1 -1
  152. package/dist/Typography.cjs +1 -1
  153. package/dist/Typography.d.cts +2 -2
  154. package/dist/Typography.d.mts +2 -2
  155. package/dist/Typography.mjs +1 -1
  156. package/dist/View.d.cts +1 -1
  157. package/dist/View.d.mts +1 -1
  158. package/dist/engine.d.cts +1 -1
  159. package/dist/engine.d.mts +1 -1
  160. package/dist/{index-BYqxI8bu.d.cts → index-B78VkB0-.d.cts} +3 -3
  161. package/dist/{index-yQfi7MqO.d.mts → index-BB-dLv5V.d.mts} +3 -3
  162. package/dist/{index-yR_0laAQ.d.mts → index-BSqet8aO.d.cts} +3 -3
  163. package/dist/{index-DbkAYV9r.d.mts → index-BUoVTCqX.d.mts} +2 -2
  164. package/dist/{index-BcU5ow8v.d.mts → index-B_dKjEDR.d.mts} +3 -3
  165. package/dist/{index-CAjXum0k.d.cts → index-Belxmt1X.d.cts} +2 -2
  166. package/dist/{index-BSYW7cMN.d.mts → index-BfZuh9c2.d.mts} +3 -3
  167. package/dist/{index-FiPb4-DU.d.mts → index-BhibLnZ0.d.cts} +3 -3
  168. package/dist/{index-CQRdyj3E.d.mts → index-Bid71KeF.d.cts} +2 -2
  169. package/dist/{index-e5hDFZ05.d.mts → index-C1WqEDtQ.d.mts} +1 -1
  170. package/dist/{index-BUrUPbcB.d.mts → index-CA7HnbtH.d.cts} +3 -3
  171. package/dist/{index-ClclP_mB.d.cts → index-CKZaErxJ.d.mts} +3 -3
  172. package/dist/{index-sCbCJL02.d.cts → index-Celm-8iN.d.cts} +3 -3
  173. package/dist/{index-q3Ftmjpf.d.mts → index-Chg6pSrr.d.mts} +3 -3
  174. package/dist/{index-DLezwPW8.d.mts → index-CrN4MSUF.d.cts} +1 -1
  175. package/dist/{index-BUb6X9OH.d.mts → index-Ctqajtac.d.cts} +2 -2
  176. package/dist/{index-BHIuGvMo.d.cts → index-CxUsrlg1.d.cts} +2 -2
  177. package/dist/{index-C1uWcbTj.d.cts → index-DBUwu65Z.d.cts} +1 -1
  178. package/dist/{index-BqJWxp9I.d.cts → index-DNwF3DUX.d.cts} +3 -3
  179. package/dist/{index-DmJCHY90.d.cts → index-DO9J-Fla.d.mts} +2 -2
  180. package/dist/{index-DT6KvZ1x.d.cts → index-DXvQ-JVZ.d.mts} +3 -3
  181. package/dist/{index-ChPaQZ6F.d.cts → index-DbEnSf2m.d.cts} +3 -3
  182. package/dist/{index-BCQ9LmG1.d.cts → index-DdqdSOct.d.cts} +2 -2
  183. package/dist/{index-B2ljqGWF.d.cts → index-DzQJSYIh.d.cts} +3 -3
  184. package/dist/{index-BAsVlkuL.d.mts → index-GpnmW6vu.d.mts} +2 -2
  185. package/dist/{index-DzdiUOgM.d.cts → index-S-ClM6WM.d.mts} +2 -2
  186. package/dist/{index-DPMcs3Q1.d.cts → index-VOsBSWEu.d.mts} +1 -1
  187. package/dist/{index-Dq5PHWL4.d.mts → index-Wnv6jCR3.d.mts} +2 -2
  188. package/dist/{index-CllDs3D0.d.mts → index-cuv3o-L7.d.mts} +2 -2
  189. package/dist/{index-CSoaaZ20.d.cts → index-nB94D7UM.d.cts} +2 -2
  190. package/dist/{index-Cj--T8Sh.d.mts → index-nc4Sxiy9.d.mts} +3 -3
  191. package/dist/{index-5w87AK-Y.d.cts → index-smqjMLAZ.d.mts} +3 -3
  192. package/dist/index.d.cts +2 -2
  193. package/dist/index.d.mts +2 -2
  194. package/dist/style.cjs +1 -1
  195. package/dist/style.d.cts +2 -2
  196. package/dist/style.d.mts +2 -2
  197. package/dist/style.mjs +1 -1
  198. package/dist/testing.cjs +1 -0
  199. package/dist/testing.mjs +1 -0
  200. package/dist/{theme-B0P8owUo.cjs → theme-BXlAP3xf.cjs} +6 -1
  201. package/dist/{theme-DdjeZjsA.mjs → theme-CDVxig_g.mjs} +6 -1
  202. package/dist/theme.cjs +1 -1
  203. package/dist/theme.d.cts +2 -2
  204. package/dist/theme.d.mts +2 -2
  205. package/dist/theme.mjs +1 -1
  206. package/dist/{themes-DEom6o-J.d.cts → themes-Kbk9h5cN.d.cts} +5 -0
  207. package/dist/{themes-CQKn24UN.d.mts → themes-RX2UX5gD.d.mts} +5 -0
  208. package/dist/{useTablePagination-Ci9tV-Y3.d.cts → useTablePagination-COTiNH_8.d.mts} +1 -1
  209. package/dist/{useTablePagination-Et2FY7SE.d.mts → useTablePagination-WFkaUZu8.d.cts} +1 -1
  210. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
- import { T as Theme } from "./themes-DEom6o-J.cjs";
2
- import "./index-C1uWcbTj.cjs";
1
+ import { T as Theme } from "./themes-Kbk9h5cN.cjs";
2
+ import "./index-DBUwu65Z.cjs";
3
3
  import { CSSProperties, HTMLAttributes } from "react";
4
4
  import { BorderProps, FlexboxProps, LayoutFrameProps, LayoutProps, PositionProps, SpaceProps, SpanProps, TypographyProps } from "@soroush.tech/styled-system";
5
5
  //#region src/View/View.d.ts
@@ -1,6 +1,6 @@
1
- import { T as Theme } from "./themes-CQKn24UN.mjs";
2
- import "./index-e5hDFZ05.mjs";
3
- import { n as IconProps, r as IconName } from "./index-BUb6X9OH.mjs";
1
+ import { T as Theme } from "./themes-RX2UX5gD.mjs";
2
+ import "./index-C1WqEDtQ.mjs";
3
+ import { n as IconProps, r as IconName } from "./index-DO9J-Fla.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,7 +1,7 @@
1
- import { T as Theme, Y as TypographyVariant } from "./themes-DEom6o-J.cjs";
2
- import "./index-C1uWcbTj.cjs";
3
- import { CSSProperties, ElementType, HTMLAttributes } from "react";
1
+ import { T as Theme, Y as TypographyVariant } from "./themes-RX2UX5gD.mjs";
2
+ import "./index-C1WqEDtQ.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. */
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { T as Theme, a as CSSObject, x as PaletteColor } from "./themes-DEom6o-J.cjs";
2
- import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-C1uWcbTj.cjs";
1
+ import { T as Theme, a as CSSObject, x as PaletteColor } from "./themes-Kbk9h5cN.cjs";
2
+ import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-DBUwu65Z.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-CQKn24UN.mjs";
2
- import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-e5hDFZ05.mjs";
1
+ import { T as Theme, a as CSSObject, x as PaletteColor } from "./themes-RX2UX5gD.mjs";
2
+ import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-C1WqEDtQ.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.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_theme = require("./theme-B0P8owUo.cjs");
2
+ const require_theme = require("./theme-BXlAP3xf.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 { T as Theme, a as CSSObject } from "./themes-DEom6o-J.cjs";
2
- import "./index-DPMcs3Q1.cjs";
1
+ import { T as Theme, a as CSSObject } from "./themes-Kbk9h5cN.cjs";
2
+ import "./index-CrN4MSUF.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-CQKn24UN.mjs";
2
- import "./index-DLezwPW8.mjs";
1
+ import { T as Theme, a as CSSObject } from "./themes-RX2UX5gD.mjs";
2
+ import "./index-VOsBSWEu.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
@@ -1,4 +1,4 @@
1
- import { r as useTheme } from "./theme-DdjeZjsA.mjs";
1
+ import { r as useTheme } from "./theme-CDVxig_g.mjs";
2
2
  import { n as EmotionThemeContext } from "./emotion-BAyqVw0c.mjs";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/style/hooks/useStyle.ts
package/dist/testing.cjs CHANGED
@@ -38,6 +38,7 @@ function installPopover() {
38
38
  for (const element of document.querySelectorAll(`[popover]:not([popover="manual"])[${OPEN}]`)) setOpen(element, false);
39
39
  };
40
40
  const onClick = (event) => {
41
+ if (!(event.target instanceof Element)) return;
41
42
  const button = event.target.closest("[popovertarget]");
42
43
  const target = button && document.getElementById(button.getAttribute("popovertarget"));
43
44
  if (!target?.hasAttribute("popover")) return;
package/dist/testing.mjs CHANGED
@@ -37,6 +37,7 @@ function installPopover() {
37
37
  for (const element of document.querySelectorAll(`[popover]:not([popover="manual"])[${OPEN}]`)) setOpen(element, false);
38
38
  };
39
39
  const onClick = (event) => {
40
+ if (!(event.target instanceof Element)) return;
40
41
  const button = event.target.closest("[popovertarget]");
41
42
  const target = button && document.getElementById(button.getAttribute("popovertarget"));
42
43
  if (!target?.hasAttribute("popover")) return;
@@ -4,7 +4,7 @@ let react = require("react");
4
4
  let react_jsx_runtime = require("react/jsx-runtime");
5
5
  let _emotion_react = require("@emotion/react");
6
6
  //#region src/theme/utils/spacing.ts
7
- const spacing = (units) => `${8 * units}px`;
7
+ const spacing = (units) => units === 0 ? "0px" : `${Math.max(1, Math.round(8 * units))}px`;
8
8
  //#endregion
9
9
  //#region src/theme/breakpoints.ts
10
10
  /**
@@ -157,9 +157,14 @@ const sizes = {
157
157
  };
158
158
  const space = {
159
159
  0: 0,
160
+ .125: spacing(.125),
161
+ .25: spacing(.25),
160
162
  .5: spacing(.5),
163
+ .75: spacing(.75),
161
164
  1: spacing(1),
165
+ 1.25: spacing(1.25),
162
166
  1.5: spacing(1.5),
167
+ 1.75: spacing(1.75),
163
168
  2: spacing(2),
164
169
  3: spacing(3),
165
170
  4: spacing(4),
@@ -4,7 +4,7 @@ import { createContainerQueries, createMediaHelpers } from "@soroush.tech/styled
4
4
  import { useCallback, useMemo } from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region src/theme/utils/spacing.ts
7
- const spacing = (units) => `${8 * units}px`;
7
+ const spacing = (units) => units === 0 ? "0px" : `${Math.max(1, Math.round(8 * units))}px`;
8
8
  //#endregion
9
9
  //#region src/theme/breakpoints.ts
10
10
  /**
@@ -157,9 +157,14 @@ const sizes = {
157
157
  };
158
158
  const space = {
159
159
  0: 0,
160
+ .125: spacing(.125),
161
+ .25: spacing(.25),
160
162
  .5: spacing(.5),
163
+ .75: spacing(.75),
161
164
  1: spacing(1),
165
+ 1.25: spacing(1.25),
162
166
  1.5: spacing(1.5),
167
+ 1.75: spacing(1.75),
163
168
  2: spacing(2),
164
169
  3: spacing(3),
165
170
  4: spacing(4),
package/dist/theme.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
3
- const require_theme = require("./theme-B0P8owUo.cjs");
3
+ const require_theme = require("./theme-BXlAP3xf.cjs");
4
4
  exports.LayoutProvider = require_theme.LayoutProvider;
5
5
  exports.ThemeProvider = require_theme.ThemeProvider;
6
6
  exports.avatar = require_theme.avatar;
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-DEom6o-J.cjs";
2
- import { a as LayoutProvider, i as themeDefault, n as useDefaultProps, o as LayoutProviderProps, r as useTheme, s as ThemeProvider, t as withTheme } from "./index-DPMcs3Q1.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-Kbk9h5cN.cjs";
2
+ import { a as LayoutProvider, i as themeDefault, n as useDefaultProps, o as LayoutProviderProps, r as useTheme, s as ThemeProvider, t as withTheme } from "./index-CrN4MSUF.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, LayoutProvider, LayoutProviderProps, 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-CQKn24UN.mjs";
2
- import { a as LayoutProvider, i as themeDefault, n as useDefaultProps, o as LayoutProviderProps, r as useTheme, s as ThemeProvider, t as withTheme } from "./index-DLezwPW8.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-RX2UX5gD.mjs";
2
+ import { a as LayoutProvider, i as themeDefault, n as useDefaultProps, o as LayoutProviderProps, r as useTheme, s as ThemeProvider, t as withTheme } from "./index-VOsBSWEu.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, LayoutProvider, LayoutProviderProps, 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.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
2
- import { C as sizes, D as zOrder, E as up, O as createTheme, S as radii, T as typography, _ as layout, a as ThemeProvider, b as not, c as between, d as containerQueries, f as down, g as icon, h as fonts, i as LayoutProvider, k as withBreakpointHelpers, l as borderWidths, m as fontWeights, n as useDefaultProps, o as avatar, p as fontSizes, r as useTheme, s as baseTheme, t as withTheme, u as breakpoints, v as letterSpacings, w as space, x as only, y as lineHeights } from "./theme-DdjeZjsA.mjs";
2
+ import { C as sizes, D as zOrder, E as up, O as createTheme, S as radii, T as typography, _ as layout, a as ThemeProvider, b as not, c as between, d as containerQueries, f as down, g as icon, h as fonts, i as LayoutProvider, k as withBreakpointHelpers, l as borderWidths, m as fontWeights, n as useDefaultProps, o as avatar, p as fontSizes, r as useTheme, s as baseTheme, t as withTheme, u as breakpoints, v as letterSpacings, w as space, x as only, y as lineHeights } from "./theme-CDVxig_g.mjs";
3
3
  export { LayoutProvider, ThemeProvider, 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 };
@@ -172,9 +172,14 @@ interface ThemeLetterSpacings {
172
172
  interface ThemeSpace {
173
173
  auto: string;
174
174
  0: number | string;
175
+ 0.125: number | string;
176
+ 0.25: number | string;
175
177
  0.5: number | string;
178
+ 0.75: number | string;
176
179
  1: number | string;
180
+ 1.25: number | string;
177
181
  1.5: number | string;
182
+ 1.75: number | string;
178
183
  2: number | string;
179
184
  3: number | string;
180
185
  4: number | string;
@@ -172,9 +172,14 @@ interface ThemeLetterSpacings {
172
172
  interface ThemeSpace {
173
173
  auto: string;
174
174
  0: number | string;
175
+ 0.125: number | string;
176
+ 0.25: number | string;
175
177
  0.5: number | string;
178
+ 0.75: number | string;
176
179
  1: number | string;
180
+ 1.25: number | string;
177
181
  1.5: number | string;
182
+ 1.75: number | string;
178
183
  2: number | string;
179
184
  3: number | string;
180
185
  4: number | string;
@@ -1,4 +1,4 @@
1
- import { n as TableSortLabelDirection } from "./index-BqJWxp9I.cjs";
1
+ import { n as TableSortLabelDirection } from "./index-nc4Sxiy9.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 {
@@ -1,4 +1,4 @@
1
- import { n as TableSortLabelDirection } from "./index-Cj--T8Sh.mjs";
1
+ import { n as TableSortLabelDirection } from "./index-DNwF3DUX.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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soroush.tech/design-system",
3
- "version": "2.0.0-alpha.5",
3
+ "version": "2.0.0-rc.0",
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",
@@ -487,7 +487,7 @@
487
487
  "@emotion/cache": "^11.14.0",
488
488
  "@emotion/react": "^11.14.0",
489
489
  "@emotion/styled": "^11.14.1",
490
- "@soroush.tech/styled-system": "^6.0.0-alpha.4"
490
+ "@soroush.tech/styled-system": "^6.0.0-rc.0"
491
491
  },
492
492
  "peerDependencies": {
493
493
  "react": "^19.2.8",