@soroush.tech/design-system 1.3.1 → 1.3.3

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 (288) hide show
  1. package/README.md +28 -28
  2. package/dist/AppBar.cjs +1 -1
  3. package/dist/AppBar.d.cts +6 -6
  4. package/dist/AppBar.d.mts +6 -6
  5. package/dist/AppBar.mjs +1 -1
  6. package/dist/Avatar.cjs +2 -2
  7. package/dist/Avatar.d.cts +6 -6
  8. package/dist/Avatar.d.mts +6 -6
  9. package/dist/Avatar.mjs +2 -2
  10. package/dist/Backdrop.cjs +1 -1
  11. package/dist/Backdrop.d.cts +1 -1
  12. package/dist/Backdrop.d.mts +1 -1
  13. package/dist/Backdrop.mjs +1 -1
  14. package/dist/Button.cjs +2 -2
  15. package/dist/Button.d.cts +1 -1
  16. package/dist/Button.d.mts +1 -1
  17. package/dist/Button.mjs +2 -2
  18. package/dist/ButtonGroup.cjs +1 -1
  19. package/dist/ButtonGroup.d.cts +1 -1
  20. package/dist/ButtonGroup.d.mts +1 -1
  21. package/dist/ButtonGroup.mjs +1 -1
  22. package/dist/Card.cjs +3 -3
  23. package/dist/Card.d.cts +3 -3
  24. package/dist/Card.d.mts +3 -3
  25. package/dist/Card.mjs +3 -3
  26. package/dist/Checkbox.cjs +1 -1
  27. package/dist/Checkbox.d.cts +2 -2
  28. package/dist/Checkbox.d.mts +2 -2
  29. package/dist/Checkbox.mjs +1 -1
  30. package/dist/CircularProgress.cjs +1 -1
  31. package/dist/CircularProgress.d.cts +6 -6
  32. package/dist/CircularProgress.d.mts +6 -6
  33. package/dist/CircularProgress.mjs +1 -1
  34. package/dist/Drawer.cjs +2 -2
  35. package/dist/Drawer.d.cts +3 -3
  36. package/dist/Drawer.d.mts +3 -3
  37. package/dist/Drawer.mjs +2 -2
  38. package/dist/Flex.cjs +1 -1
  39. package/dist/Flex.d.cts +1 -1
  40. package/dist/Flex.d.mts +1 -1
  41. package/dist/Flex.mjs +1 -1
  42. package/dist/FocusTrap.cjs +1 -1
  43. package/dist/FocusTrap.mjs +1 -1
  44. package/dist/Form.cjs +2 -2
  45. package/dist/Form.d.cts +5 -5
  46. package/dist/Form.d.mts +5 -5
  47. package/dist/Form.mjs +2 -2
  48. package/dist/FormControl.cjs +2 -2
  49. package/dist/FormControl.d.cts +8 -8
  50. package/dist/FormControl.d.mts +8 -8
  51. package/dist/FormControl.mjs +2 -2
  52. package/dist/FormHelperText.cjs +1 -1
  53. package/dist/FormHelperText.d.cts +1 -1
  54. package/dist/FormHelperText.d.mts +1 -1
  55. package/dist/FormHelperText.mjs +1 -1
  56. package/dist/FormLabel.cjs +1 -1
  57. package/dist/FormLabel.d.cts +1 -1
  58. package/dist/FormLabel.d.mts +1 -1
  59. package/dist/FormLabel.mjs +1 -1
  60. package/dist/Grid.cjs +1 -1
  61. package/dist/Grid.d.cts +4 -4
  62. package/dist/Grid.d.mts +4 -4
  63. package/dist/Grid.mjs +1 -1
  64. package/dist/{Icon-ByDvM-t1.cjs → Icon-BAMpe9SO.cjs} +2 -2
  65. package/dist/{Icon-CU_nUmsU.mjs → Icon-gSiGgU13.mjs} +2 -2
  66. package/dist/Icon.cjs +1 -1
  67. package/dist/Icon.d.cts +1 -1
  68. package/dist/Icon.d.mts +1 -1
  69. package/dist/Icon.mjs +1 -1
  70. package/dist/Image.cjs +1 -1
  71. package/dist/Image.d.cts +3 -3
  72. package/dist/Image.d.mts +3 -3
  73. package/dist/Image.mjs +1 -1
  74. package/dist/LinearProgress.cjs +1 -1
  75. package/dist/LinearProgress.d.cts +5 -5
  76. package/dist/LinearProgress.d.mts +5 -5
  77. package/dist/LinearProgress.mjs +1 -1
  78. package/dist/Link.cjs +2 -2
  79. package/dist/Link.d.cts +1 -1
  80. package/dist/Link.d.mts +1 -1
  81. package/dist/Link.mjs +2 -2
  82. package/dist/MenuItem.cjs +3 -3
  83. package/dist/MenuItem.d.cts +9 -9
  84. package/dist/MenuItem.d.mts +9 -9
  85. package/dist/MenuItem.mjs +3 -3
  86. package/dist/{Modal-Bjfv7n4e.cjs → Modal-CApyh_V5.cjs} +2 -2
  87. package/dist/{Modal-Bv-mf8Fn.mjs → Modal-CYNcPk-2.mjs} +2 -2
  88. package/dist/Modal.cjs +1 -1
  89. package/dist/Modal.d.cts +1 -1
  90. package/dist/Modal.d.mts +1 -1
  91. package/dist/Modal.mjs +1 -1
  92. package/dist/NativeSelect.cjs +3 -3
  93. package/dist/NativeSelect.d.cts +12 -12
  94. package/dist/NativeSelect.d.mts +12 -12
  95. package/dist/NativeSelect.mjs +3 -3
  96. package/dist/Pagination/PaginationItem.cjs +3 -3
  97. package/dist/Pagination/PaginationItem.d.cts +1 -1
  98. package/dist/Pagination/PaginationItem.d.mts +1 -1
  99. package/dist/Pagination/PaginationItem.mjs +3 -3
  100. package/dist/Pagination.cjs +2 -2
  101. package/dist/Pagination.d.cts +2 -2
  102. package/dist/Pagination.d.mts +2 -2
  103. package/dist/Pagination.mjs +2 -2
  104. package/dist/Paper.cjs +2 -2
  105. package/dist/Paper.d.cts +1 -1
  106. package/dist/Paper.d.mts +1 -1
  107. package/dist/Paper.mjs +2 -2
  108. package/dist/{Popover-CH3yI-j-.mjs → Popover-Bq31OTEl.mjs} +4 -4
  109. package/dist/{Popover-COoJ2p2I.cjs → Popover-gg44qzwo.cjs} +4 -4
  110. package/dist/Popover.cjs +1 -1
  111. package/dist/Popover.d.cts +7 -7
  112. package/dist/Popover.d.mts +7 -7
  113. package/dist/Popover.mjs +1 -1
  114. package/dist/Portal.cjs +1 -1
  115. package/dist/Portal.d.cts +1 -1
  116. package/dist/Portal.d.mts +1 -1
  117. package/dist/Portal.mjs +1 -1
  118. package/dist/Pressable.cjs +4 -4
  119. package/dist/Pressable.d.cts +1 -1
  120. package/dist/Pressable.d.mts +1 -1
  121. package/dist/Pressable.mjs +4 -4
  122. package/dist/Quote.cjs +2 -2
  123. package/dist/Quote.d.cts +5 -5
  124. package/dist/Quote.d.mts +5 -5
  125. package/dist/Quote.mjs +2 -2
  126. package/dist/Radio.cjs +1 -1
  127. package/dist/Radio.d.cts +3 -3
  128. package/dist/Radio.d.mts +3 -3
  129. package/dist/Radio.mjs +1 -1
  130. package/dist/Select.cjs +4 -4
  131. package/dist/Select.d.cts +11 -11
  132. package/dist/Select.d.mts +11 -11
  133. package/dist/Select.mjs +4 -4
  134. package/dist/Sidebar/Sidebar.cjs +4 -4
  135. package/dist/Sidebar/Sidebar.d.cts +12 -12
  136. package/dist/Sidebar/Sidebar.d.mts +12 -12
  137. package/dist/Sidebar/Sidebar.mjs +4 -4
  138. package/dist/Sidebar/SidebarItem.cjs +4 -4
  139. package/dist/Sidebar/SidebarItem.d.cts +13 -13
  140. package/dist/Sidebar/SidebarItem.d.mts +13 -13
  141. package/dist/Sidebar/SidebarItem.mjs +4 -4
  142. package/dist/Sidebar.d.cts +1 -1
  143. package/dist/Sidebar.d.mts +1 -1
  144. package/dist/{SidebarContext-ao6lRfTX.d.cts → SidebarContext-B1lWrt77.d.cts} +4 -4
  145. package/dist/{SidebarContext-ao6lRfTX.d.mts → SidebarContext-B1lWrt77.d.mts} +4 -4
  146. package/dist/Skeleton.cjs +1 -1
  147. package/dist/Skeleton.d.cts +3 -3
  148. package/dist/Skeleton.d.mts +3 -3
  149. package/dist/Skeleton.mjs +1 -1
  150. package/dist/Switch.cjs +2 -2
  151. package/dist/Switch.d.cts +5 -5
  152. package/dist/Switch.d.mts +5 -5
  153. package/dist/Switch.mjs +2 -2
  154. package/dist/Table/Table.cjs +1 -1
  155. package/dist/Table/Table.d.cts +14 -14
  156. package/dist/Table/Table.d.mts +14 -14
  157. package/dist/Table/Table.mjs +1 -1
  158. package/dist/Table/TableBody.cjs +1 -1
  159. package/dist/Table/TableBody.d.cts +6 -6
  160. package/dist/Table/TableBody.d.mts +6 -6
  161. package/dist/Table/TableBody.mjs +1 -1
  162. package/dist/Table/TableCell.cjs +1 -1
  163. package/dist/Table/TableCell.d.cts +1 -1
  164. package/dist/Table/TableCell.d.mts +1 -1
  165. package/dist/Table/TableCell.mjs +1 -1
  166. package/dist/Table/TableContainer.cjs +2 -2
  167. package/dist/Table/TableContainer.d.cts +5 -5
  168. package/dist/Table/TableContainer.d.mts +5 -5
  169. package/dist/Table/TableContainer.mjs +2 -2
  170. package/dist/Table/TableControl.cjs +1 -1
  171. package/dist/Table/TableControl.d.cts +7 -7
  172. package/dist/Table/TableControl.d.mts +7 -7
  173. package/dist/Table/TableControl.mjs +1 -1
  174. package/dist/Table/TableFooter.cjs +1 -1
  175. package/dist/Table/TableFooter.d.cts +6 -6
  176. package/dist/Table/TableFooter.d.mts +6 -6
  177. package/dist/Table/TableFooter.mjs +1 -1
  178. package/dist/Table/TableHead.cjs +1 -1
  179. package/dist/Table/TableHead.d.cts +6 -6
  180. package/dist/Table/TableHead.d.mts +6 -6
  181. package/dist/Table/TableHead.mjs +1 -1
  182. package/dist/Table/TablePagination.cjs +3 -3
  183. package/dist/Table/TablePagination.d.cts +4 -4
  184. package/dist/Table/TablePagination.d.mts +4 -4
  185. package/dist/Table/TablePagination.mjs +3 -3
  186. package/dist/Table/TablePaginationActions.cjs +2 -2
  187. package/dist/Table/TablePaginationActions.d.cts +1 -1
  188. package/dist/Table/TablePaginationActions.d.mts +1 -1
  189. package/dist/Table/TablePaginationActions.mjs +2 -2
  190. package/dist/Table/TableRow.cjs +1 -1
  191. package/dist/Table/TableRow.d.cts +7 -7
  192. package/dist/Table/TableRow.d.mts +7 -7
  193. package/dist/Table/TableRow.mjs +1 -1
  194. package/dist/Table/TableSortLabel.cjs +2 -2
  195. package/dist/Table/TableSortLabel.d.cts +1 -1
  196. package/dist/Table/TableSortLabel.d.mts +1 -1
  197. package/dist/Table/TableSortLabel.mjs +2 -2
  198. package/dist/Table/hooks.cjs +5 -5
  199. package/dist/Table/hooks.d.cts +5 -5
  200. package/dist/Table/hooks.d.mts +5 -5
  201. package/dist/Table/hooks.mjs +5 -5
  202. package/dist/Table.d.cts +5 -5
  203. package/dist/Table.d.mts +5 -5
  204. package/dist/{TableContext-BoOxdk8p.d.cts → TableContext-BrIREKe7.d.mts} +2 -2
  205. package/dist/{TableContext-DV31j6HO.d.mts → TableContext-DXzUQ4-a.d.cts} +2 -2
  206. package/dist/TextInput.cjs +2 -2
  207. package/dist/TextInput.d.cts +10 -10
  208. package/dist/TextInput.d.mts +10 -10
  209. package/dist/TextInput.mjs +2 -2
  210. package/dist/ToggleButton/ToggleButton.cjs +2 -2
  211. package/dist/ToggleButton/ToggleButton.d.cts +3 -3
  212. package/dist/ToggleButton/ToggleButton.d.mts +3 -3
  213. package/dist/ToggleButton/ToggleButton.mjs +2 -2
  214. package/dist/ToggleButton/ToggleButtonGroup.cjs +3 -3
  215. package/dist/ToggleButton/ToggleButtonGroup.d.cts +4 -4
  216. package/dist/ToggleButton/ToggleButtonGroup.d.mts +4 -4
  217. package/dist/ToggleButton/ToggleButtonGroup.mjs +3 -3
  218. package/dist/ToggleButton.d.cts +1 -1
  219. package/dist/ToggleButton.d.mts +1 -1
  220. package/dist/{ToggleButtonGroupContext-CqD-Afho.d.cts → ToggleButtonGroupContext-10jEsQdg.d.cts} +2 -2
  221. package/dist/{ToggleButtonGroupContext-CqD-Afho.d.mts → ToggleButtonGroupContext-10jEsQdg.d.mts} +2 -2
  222. package/dist/Typography.cjs +2 -2
  223. package/dist/Typography.d.cts +2 -2
  224. package/dist/Typography.d.mts +2 -2
  225. package/dist/Typography.mjs +2 -2
  226. package/dist/View.cjs +1 -1
  227. package/dist/View.d.cts +1 -1
  228. package/dist/View.d.mts +1 -1
  229. package/dist/View.mjs +1 -1
  230. package/dist/engine.cjs +2 -2
  231. package/dist/engine.d.cts +3 -3
  232. package/dist/engine.d.mts +3 -3
  233. package/dist/engine.mjs +2 -2
  234. package/dist/index-76XH-GEc.d.mts +250 -0
  235. package/dist/{index-BW-9sqFG.d.cts → index-BCvkP5R1.d.mts} +6 -6
  236. package/dist/{index-CohsoGjZ.d.cts → index-BWECJgSb.d.mts} +7 -7
  237. package/dist/{index-X4STXeE2.d.cts → index-BoIi-XoB.d.mts} +15 -15
  238. package/dist/{index-D07y72Xr.d.mts → index-Br2gDSme.d.cts} +8 -8
  239. package/dist/{index-m9jUR509.d.mts → index-Btmdtbpb.d.cts} +9 -9
  240. package/dist/{index-uH0EeDBZ.d.cts → index-C-2VKPcp.d.mts} +12 -12
  241. package/dist/{index-CbGfrKZi.d.mts → index-C5-ZM7lt.d.cts} +7 -7
  242. package/dist/{index-DfhMdqqI.d.mts → index-CHRAYSwH.d.cts} +15 -15
  243. package/dist/{index-CrXLEJO4.d.mts → index-COYxtrc0.d.mts} +8 -8
  244. package/dist/{index-CTYZyQ2g.d.mts → index-CTVFwvju.d.mts} +3 -3
  245. package/dist/{index-CKz1lEdR.d.mts → index-Cf7w9Lod.d.cts} +6 -6
  246. package/dist/{index-DxBKLmUS.d.mts → index-Csp1Wzbz.d.cts} +7 -7
  247. package/dist/{index-BBWtMvkm.d.cts → index-D-QRCHiS.d.cts} +3 -3
  248. package/dist/{index-MsUtFRul.d.cts → index-D3iQQ0L3.d.cts} +3 -3
  249. package/dist/{index-DEEHBUUZ.d.cts → index-D9CwTcnr.d.cts} +4 -4
  250. package/dist/index-DCu7qjpa.d.cts +250 -0
  251. package/dist/{index-DLUE7t3O.d.cts → index-DOLA1VFD.d.cts} +4 -4
  252. package/dist/{index-BPzvFTi5.d.cts → index-DQ16ijxx.d.mts} +9 -9
  253. package/dist/{index-3hPS6Lm8.d.mts → index-DdBeSvit.d.mts} +8 -8
  254. package/dist/{index-BYYEoNec.d.cts → index-DhMAwR96.d.mts} +7 -7
  255. package/dist/{index-CSXMCqrV.d.cts → index-DzuXwDCW.d.cts} +8 -8
  256. package/dist/{index-n2OyTMr6.d.mts → index-KZKeZDAF.d.mts} +4 -4
  257. package/dist/{index-BoOs5h_b.d.mts → index-NBVilQuP.d.mts} +3 -3
  258. package/dist/{index-BAfSyQaP.d.mts → index-Oxx0z4dS.d.cts} +12 -12
  259. package/dist/{index-DGku7hLP.d.mts → index-XZDPGJ_h.d.mts} +4 -4
  260. package/dist/{index-CiShdd2j.d.cts → index-d6gR2x8j.d.cts} +8 -8
  261. package/dist/{index-C1hP7Igl.d.mts → index-ggLhNdZV.d.mts} +5 -5
  262. package/dist/{index-CCfnnT2l.d.cts → index-h36rcOy8.d.mts} +8 -8
  263. package/dist/{index-2QPYJgCl.d.cts → index-jmy5eXpx.d.cts} +7 -7
  264. package/dist/{index-q9peil7T.d.mts → index-v_otepCe.d.mts} +7 -7
  265. package/dist/{index-DiLm48XP.d.cts → index-vuPAf55D.d.cts} +5 -5
  266. package/dist/index.cjs +1 -1
  267. package/dist/index.d.cts +2 -2
  268. package/dist/index.d.mts +2 -2
  269. package/dist/index.mjs +1 -1
  270. package/dist/{src-D3tHU94W.mjs → src-DLGYOJMh.mjs} +1 -1
  271. package/dist/{src-BJrcLd7P.cjs → src-DU81aGy9.cjs} +1 -1
  272. package/dist/style.cjs +1 -1
  273. package/dist/style.d.cts +2 -2
  274. package/dist/style.d.mts +2 -2
  275. package/dist/style.mjs +1 -1
  276. package/dist/{theme-CleLAV6A.cjs → theme-Bnc03K83.cjs} +4 -4
  277. package/dist/{theme-Cudynq5K.mjs → theme-BuqqFbsz.mjs} +4 -4
  278. package/dist/theme.cjs +1 -1
  279. package/dist/theme.d.cts +2 -2
  280. package/dist/theme.d.mts +2 -2
  281. package/dist/theme.mjs +1 -1
  282. package/dist/{themes-CUV79qWU.d.mts → themes-kbuYiwCi.d.cts} +20 -20
  283. package/dist/{themes-CUV79qWU.d.cts → themes-kbuYiwCi.d.mts} +20 -20
  284. package/dist/{useTablePagination-DOty8Ucb.d.mts → useTablePagination-BpMOVLsR.d.cts} +6 -6
  285. package/dist/{useTablePagination-Dh7o59Wt.d.cts → useTablePagination-DebYZ6vN.d.mts} +6 -6
  286. package/package.json +15 -15
  287. package/dist/index-BjLlSr2P.d.mts +0 -79
  288. package/dist/index-Borai-Wg.d.cts +0 -79
package/README.md CHANGED
@@ -8,9 +8,9 @@
8
8
  [![license](https://img.shields.io/npm/l/@soroush.tech/design-system.svg?cacheSeconds=86400)](./LICENSE)
9
9
 
10
10
  **Your design system. Your tokens. Your rules.**
11
- A fully typed React component library where nothing is hardcoded — every color, scale, and default belongs to you, not the package.
11
+ A fully typed React component library where nothing is hardcoded - every color, scale, and default belongs to you, not the package.
12
12
 
13
- Tired of forking a component library just to change a color? Every token here is designed to be overridden — theming isn't an afterthought, it's the whole point.
13
+ Tired of forking a component library just to change a color? Every token here is designed to be overridden - theming isn't an afterthought, it's the whole point.
14
14
 
15
15
  ## Install
16
16
 
@@ -18,7 +18,7 @@ Tired of forking a component library just to change a color? Every token here is
18
18
  npm i @soroush.tech/design-system
19
19
  ```
20
20
 
21
- `react` and `react-dom` are peer dependencies. Emotion is an internal implementation detail — it ships as a regular dependency, not a peer, so you never install it yourself.
21
+ `react` and `react-dom` are peer dependencies. Emotion is an internal implementation detail - it ships as a regular dependency, not a peer, so you never install it yourself.
22
22
 
23
23
  ---
24
24
 
@@ -31,7 +31,7 @@ import { Typography } from '@soroush.tech/design-system/Typography'
31
31
  import { Flex } from '@soroush.tech/design-system/Flex'
32
32
  ```
33
33
 
34
- Styling primitives (the engine) come from the barrel `@soroush.tech/design-system` — `styled`, `css`, `keyframes`, the `Theme` type, styled-system functions, and `createShouldForwardProp`. The barrel (`src/index.ts`) is the engine abstraction layer: to swap the CSS-in-JS engine, only that file changes.
34
+ Styling primitives (the engine) come from the barrel `@soroush.tech/design-system` - `styled`, `css`, `keyframes`, the `Theme` type, styled-system functions, and `createShouldForwardProp`. The barrel (`src/index.ts`) is the engine abstraction layer: to swap the CSS-in-JS engine, only that file changes.
35
35
 
36
36
  ```ts
37
37
  import { styled, css, type Theme } from '@soroush.tech/design-system'
@@ -43,21 +43,21 @@ import { styled, css, type Theme } from '@soroush.tech/design-system'
43
43
  import { ThemeProvider, useTheme } from '@soroush.tech/design-system/theme'
44
44
  ```
45
45
 
46
- Style-computation helpers (`useStyle`, `withStyles`, `StylesConsumer`) — resolving a `StyleInput`/`StyleFactory` into a `CSSObject` — live at their own subpath:
46
+ Style-computation helpers (`useStyle`, `withStyles`, `StylesConsumer`) - resolving a `StyleInput`/`StyleFactory` into a `CSSObject` - live at their own subpath:
47
47
 
48
48
  ```ts
49
49
  import { useStyle } from '@soroush.tech/design-system/style'
50
50
  ```
51
51
 
52
- Raw engine primitives for building your own global styles — `Global`, `globalStyles`, and the SSR-only `CacheProvider`/`styleCache` pairing — live at their own subpath, not the barrel:
52
+ Raw engine primitives for building your own global styles - `Global`, `globalStyles`, and the SSR-only `CacheProvider`/`styleCache` pairing - live at their own subpath, not the barrel:
53
53
 
54
54
  ```ts
55
55
  import { Global, globalStyles, CacheProvider, styleCache } from '@soroush.tech/design-system/engine'
56
56
  ```
57
57
 
58
- `Global` (retyped against this package's `Theme`) applies app-wide CSS and should render inside `ThemeProvider` so it resolves against the active theme. `globalStyles(theme)` is the base reset this package owns — box-sizing, margin/table resets, and theme-driven body colors — compose it into your own `Global` styles array alongside your app's own concerns (font-family, webfont loading, and anything else app-specific stay entirely app policy).
58
+ `Global` (retyped against this package's `Theme`) applies app-wide CSS and should render inside `ThemeProvider` so it resolves against the active theme. `globalStyles(theme)` is the base reset this package owns - box-sizing, margin/table resets, and theme-driven body colors - compose it into your own `Global` styles array alongside your app's own concerns (font-family, webfont loading, and anything else app-specific stay entirely app policy).
59
59
 
60
- SSR critical-CSS extraction (e.g. with `@emotion/server`) is a separate, opt-in concern most apps never need — that's what `CacheProvider` and its paired `styleCache` instance are for.
60
+ SSR critical-CSS extraction (e.g. with `@emotion/server`) is a separate, opt-in concern most apps never need - that's what `CacheProvider` and its paired `styleCache` instance are for.
61
61
 
62
62
  ---
63
63
 
@@ -67,7 +67,7 @@ SSR critical-CSS extraction (e.g. with `@emotion/server`) is a separate, opt-in
67
67
 
68
68
  | Component | Purpose |
69
69
  | --------- | ------------------------------------------------- |
70
- | `View` | Styled `div` primitive — the base building block |
70
+ | `View` | Styled `div` primitive - the base building block |
71
71
  | `Flex` | `View` with flexbox defaults |
72
72
  | `Grid` | CSS grid container |
73
73
  | `Paper` | Elevated surface with background and shadow |
@@ -80,12 +80,12 @@ SSR critical-CSS extraction (e.g. with `@emotion/server`) is a separate, opt-in
80
80
 
81
81
  | Component | Purpose |
82
82
  | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
83
- | `Typography` | Text with variant → element mapping — the reference implementation for all components |
83
+ | `Typography` | Text with variant → element mapping - the reference implementation for all components |
84
84
  | `Link` | Anchor with theme-aware styling |
85
85
  | `Icon` | Icon renderer |
86
86
  | `Image` | Image with styled-system props |
87
87
  | `Avatar` | User/entity avatar |
88
- | `Table` | Compound data table — exports `TableContainer`, `TableHead`, `TableBody`, `TableFooter`, `TableRow`, `TableCell`, `TablePagination`, `TablePaginationActions`, `TableSortLabel`, and `TableControl` from `@soroush.tech/design-system/Table` |
88
+ | `Table` | Compound data table - exports `TableContainer`, `TableHead`, `TableBody`, `TableFooter`, `TableRow`, `TableCell`, `TablePagination`, `TablePaginationActions`, `TableSortLabel`, and `TableControl` from `@soroush.tech/design-system/Table` |
89
89
 
90
90
  ### Inputs & forms
91
91
 
@@ -122,7 +122,7 @@ SSR critical-CSS extraction (e.g. with `@emotion/server`) is a separate, opt-in
122
122
 
123
123
  ## Theme tokens
124
124
 
125
- Components never hardcode colors or sizes — props resolve against scales on the `Theme` object:
125
+ Components never hardcode colors or sizes - props resolve against scales on the `Theme` object:
126
126
 
127
127
  | Group | Scales |
128
128
  | ------------------ | ----------------------------------------------------------------------------------------------------- |
@@ -138,11 +138,11 @@ Prop types are derived from the interface (`keyof Theme['text']`), so adding a t
138
138
 
139
139
  ## Theming
140
140
 
141
- The theme belongs to you — the package only ships defaults. This section is the overview; the full guides are [`docs/theming.md`](./docs/theming.md) and [`docs/customization.md`](./docs/customization.md).
141
+ The theme belongs to you - the package only ships defaults. This section is the overview; the full guides are [`docs/theming.md`](./docs/theming.md) and [`docs/customization.md`](./docs/customization.md).
142
142
 
143
143
  ### One theme, yours
144
144
 
145
- `ThemeProvider` provides exactly one theme — the built-in dark theme when you pass nothing. Bring one theme, or as many as you like: switching between them is your state, not the provider's.
145
+ `ThemeProvider` provides exactly one theme - the built-in dark theme when you pass nothing. Bring one theme, or as many as you like: switching between them is your state, not the provider's.
146
146
 
147
147
  ```tsx
148
148
  import { ThemeProvider } from '@soroush.tech/design-system/theme'
@@ -151,20 +151,20 @@ import { baseTheme, createTheme } from '@soroush.tech/design-system/theme'
151
151
  // Zero-config: the built-in `baseTheme`.
152
152
  <ThemeProvider>{app}</ThemeProvider>
153
153
 
154
- // Your theme — written from scratch or extended from the base.
154
+ // Your theme - written from scratch or extended from the base.
155
155
  const brand = createTheme(baseTheme, { palette: { primary: { main: '#00ff88' } } })
156
156
  <ThemeProvider theme={brand}>{app}</ThemeProvider>
157
157
 
158
- // Mode switching is app policy — own the state and pass the active theme:
158
+ // Mode switching is app policy - own the state and pass the active theme:
159
159
  const [isDark, setIsDark] = useState(true)
160
160
  <ThemeProvider theme={isDark ? brandDark : brandLight}>{app}</ThemeProvider>
161
161
  ```
162
162
 
163
- `createTheme(base, overrides)` (exported from `@soroush.tech/design-system/theme`) is the merge primitive: plain objects recurse, arrays (`shadows`, `fontSizes`) and functions replace wholesale, `undefined` values are ignored — keys are added or replaced, never removed.
163
+ `createTheme(base, overrides)` (exported from `@soroush.tech/design-system/theme`) is the merge primitive: plain objects recurse, arrays (`shadows`, `fontSizes`) and functions replace wholesale, `undefined` values are ignored - keys are added or replaced, never removed.
164
164
 
165
165
  ### Component defaults
166
166
 
167
- Components carry visible literal fallbacks (`size = 'md'`, `variant = 'outside'`, …) resolved through `themeDefault(theme, key, fallback)` — so every default, including behavioral variants, is overridable via the optional `theme.defaults` map or the provider's `defaults` prop:
167
+ Components carry visible literal fallbacks (`size = 'md'`, `variant = 'outside'`, ...) resolved through `themeDefault(theme, key, fallback)` - so every default, including behavioral variants, is overridable via the optional `theme.defaults` map or the provider's `defaults` prop:
168
168
 
169
169
  | Key | Fallback | Drives |
170
170
  | -------------------------------------------- | ---------------------------------- | -------------------------------------- |
@@ -181,7 +181,7 @@ Components carry visible literal fallbacks (`size = 'md'`, `variant = 'outside'`
181
181
  | `linkUnderline` | `'always'` | Link underline behavior |
182
182
  | `paginationVariant` / `paginationShape` | `'text'` / `'circular'` | Pagination items |
183
183
 
184
- The built-in themes carry no `defaults` — the literals apply. A theme with entirely different size or palette keys stays valid by pointing the keys at its own tokens:
184
+ The built-in themes carry no `defaults` - the literals apply. A theme with entirely different size or palette keys stays valid by pointing the keys at its own tokens:
185
185
 
186
186
  ```tsx
187
187
  <ThemeProvider defaults={{ size: 'compact', color: 'brand', switchVariant: 'inside' }}>
@@ -189,7 +189,7 @@ The built-in themes carry no `defaults` — the literals apply. A theme with ent
189
189
 
190
190
  ### Per-component customization (`theme.components`)
191
191
 
192
- Customize one component for the whole app — default prop values, per-slot CSS, and new variant values — without wrapping or forking:
192
+ Customize one component for the whole app - default prop values, per-slot CSS, and new variant values - without wrapping or forking:
193
193
 
194
194
  ```tsx
195
195
  const brand = createTheme(baseTheme, {
@@ -198,8 +198,8 @@ const brand = createTheme(baseTheme, {
198
198
  // Buttons default to sm + rounded; explicit props and ButtonGroup still win.
199
199
  defaultProps: { size: 'sm', shape: 'rounded' },
200
200
 
201
- // Per-slot CSS merged after Button's own styles — the theme wins the cascade,
202
- // but per-instance props (m, p, width, …) still beat the theme.
201
+ // Per-slot CSS merged after Button's own styles - the theme wins the cascade,
202
+ // but per-instance props (m, p, width, ...) still beat the theme.
203
203
  styleOverrides: {
204
204
  root: ({ theme, ownerState }) => ({
205
205
  letterSpacing: theme.letterSpacings.wide,
@@ -208,7 +208,7 @@ const brand = createTheme(baseTheme, {
208
208
  label: { fontStyle: 'italic' },
209
209
  },
210
210
 
211
- // A new variant value — register it first so it typechecks:
211
+ // A new variant value - register it first so it typechecks:
212
212
  // declare module '@soroush.tech/design-system/theme' { interface ButtonVariants { dashed: true } }
213
213
  variants: [
214
214
  {
@@ -226,11 +226,11 @@ const brand = createTheme(baseTheme, {
226
226
 
227
227
  Style callbacks receive `{ theme, ownerState }`, where `ownerState` is the styled root's **resolved** props (after group context, `defaultProps`, and `theme.defaults`). `defaultProps` sits in the standard precedence chain: explicit prop → group context → `defaultProps` → `theme.defaults.*` → the component's literal fallback. `variants` arrays are replaced wholesale by `createTheme`, never merged.
228
228
 
229
- Your own components can join the same mechanism: create their roots with this package's `styled(tag, { name: 'MyWidget', slot: 'root' })` and register the name by augmenting `ThemeComponents`. Zero-config themes pay nothing — the resolver bails out on the first check when `theme.components` is absent.
229
+ Your own components can join the same mechanism: create their roots with this package's `styled(tag, { name: 'MyWidget', slot: 'root' })` and register the name by augmenting `ThemeComponents`. Zero-config themes pay nothing - the resolver bails out on the first check when `theme.components` is absent.
230
230
 
231
231
  ### Extending tokens (declaration merging)
232
232
 
233
- Every scale is an open interface declared on `@soroush.tech/design-system/theme`, so you can add palette colors, tokens, or whole scales — and every component prop union (`color`, `bg`, `size`, …) widens automatically:
233
+ Every scale is an open interface declared on `@soroush.tech/design-system/theme`, so you can add palette colors, tokens, or whole scales - and every component prop union (`color`, `bg`, `size`, ...) widens automatically:
234
234
 
235
235
  ```ts
236
236
  import type { PaletteEntry } from '@soroush.tech/design-system/theme'
@@ -263,13 +263,13 @@ const brandDark = createTheme(baseTheme, {
263
263
  </ThemeProvider>
264
264
  ```
265
265
 
266
- Notes: new object-valued keys (like a `PaletteEntry`) must be supplied complete — components read `.main`/`.contrastText` at runtime; and TypeScript cannot verify at runtime that an augmented token was actually supplied, so always pair an augmentation with the matching override.
266
+ Notes: new object-valued keys (like a `PaletteEntry`) must be supplied complete - components read `.main`/`.contrastText` at runtime; and TypeScript cannot verify at runtime that an augmented token was actually supplied, so always pair an augmentation with the matching override.
267
267
 
268
268
  ---
269
269
 
270
270
  ## Adding a component
271
271
 
272
- Scaffold with the skill — it reads the live `Typography` files and `design-system.md` so output matches the codebase:
272
+ Scaffold with the skill - it reads the live `Typography` files and `design-system.md` so output matches the codebase:
273
273
 
274
274
  ```
275
275
  /new_theme_component ComponentName
@@ -279,7 +279,7 @@ Then work through the checklist at the bottom of [`design-system.md`](./design-s
279
279
 
280
280
  ---
281
281
 
282
- The library takes inspiration from [Material UI](https://mui.com/) — its component vocabulary and prop conventions will feel familiar — but it is written entirely in house. It is not a clone or a fork: every component is built from scratch on our own engine and token system, and the API is free to diverge wherever it serves its consumers better.
282
+ The library takes inspiration from [Material UI](https://mui.com/) - its component vocabulary and prop conventions will feel familiar - but it is written entirely in house. It is not a clone or a fork: every component is built from scratch on our own engine and token system, and the API is free to diverge wherever it serves its consumers better.
283
283
 
284
284
  ---
285
285
 
package/dist/AppBar.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BJrcLd7P.cjs");
2
+ const require_src = require("./src-DU81aGy9.cjs");
3
3
  const require_Flex = require("./Flex.cjs");
4
4
  const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
5
5
  let react_jsx_runtime = require("react/jsx-runtime");
package/dist/AppBar.d.cts CHANGED
@@ -1,18 +1,18 @@
1
- import { h as Theme } from "./themes-CUV79qWU.cjs";
2
- import "./index-2QPYJgCl.cjs";
3
- import { n as FlexProps } from "./index-DLUE7t3O.cjs";
1
+ import { h as Theme } from "./themes-kbuYiwCi.cjs";
2
+ import "./index-jmy5eXpx.cjs";
3
+ import { n as FlexProps } from "./index-DOLA1VFD.cjs";
4
4
  //#region src/AppBar/AppBar.d.ts
5
- /** Valid values for the color prop — derived from theme.background keys. */
5
+ /** Valid values for the color prop - derived from theme.background keys. */
6
6
  type AppBarColor = keyof Theme['background'];
7
7
  type AppBarPosition = 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky';
8
8
  /** Padding preset from theme.sizes. Default: 'md', overridable via `theme.defaults.size`. */
9
9
  type AppBarSize = keyof Theme['sizes'];
10
10
  interface AppBarProps extends Omit<FlexProps, 'position' | 'bg'> {
11
- /** Resolves against theme.background — sets the AppBar background color. */
11
+ /** Resolves against theme.background - sets the AppBar background color. */
12
12
  color?: AppBarColor;
13
13
  /** CSS position value for layout placement. Default: browser default (static). */
14
14
  position?: AppBarPosition;
15
- /** Box-shadow elevation (index into theme.shadows, 0–24). Default: `4`; use `0` for no shadow. */
15
+ /** Box-shadow elevation (index into theme.shadows, 0-24). Default: `4`; use `0` for no shadow. */
16
16
  elevation?: number;
17
17
  /** Padding preset from theme.sizes. Default: 'md', overridable via `theme.defaults.size`. */
18
18
  size?: AppBarSize;
package/dist/AppBar.d.mts CHANGED
@@ -1,18 +1,18 @@
1
- import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import "./index-q9peil7T.mjs";
3
- import { n as FlexProps } from "./index-n2OyTMr6.mjs";
1
+ import { h as Theme } from "./themes-kbuYiwCi.mjs";
2
+ import "./index-v_otepCe.mjs";
3
+ import { n as FlexProps } from "./index-KZKeZDAF.mjs";
4
4
  //#region src/AppBar/AppBar.d.ts
5
- /** Valid values for the color prop — derived from theme.background keys. */
5
+ /** Valid values for the color prop - derived from theme.background keys. */
6
6
  type AppBarColor = keyof Theme['background'];
7
7
  type AppBarPosition = 'absolute' | 'fixed' | 'relative' | 'static' | 'sticky';
8
8
  /** Padding preset from theme.sizes. Default: 'md', overridable via `theme.defaults.size`. */
9
9
  type AppBarSize = keyof Theme['sizes'];
10
10
  interface AppBarProps extends Omit<FlexProps, 'position' | 'bg'> {
11
- /** Resolves against theme.background — sets the AppBar background color. */
11
+ /** Resolves against theme.background - sets the AppBar background color. */
12
12
  color?: AppBarColor;
13
13
  /** CSS position value for layout placement. Default: browser default (static). */
14
14
  position?: AppBarPosition;
15
- /** Box-shadow elevation (index into theme.shadows, 0–24). Default: `4`; use `0` for no shadow. */
15
+ /** Box-shadow elevation (index into theme.shadows, 0-24). Default: `4`; use `0` for no shadow. */
16
16
  elevation?: number;
17
17
  /** Padding preset from theme.sizes. Default: 'md', overridable via `theme.defaults.size`. */
18
18
  size?: AppBarSize;
package/dist/AppBar.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
1
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
2
2
  import { Flex } from "./Flex.mjs";
3
3
  import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
4
4
  import { jsx } from "react/jsx-runtime";
package/dist/Avatar.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BJrcLd7P.cjs");
2
+ const require_src = require("./src-DU81aGy9.cjs");
3
3
  const require_Flex = require("./Flex.cjs");
4
4
  const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
5
- const require_theme = require("./theme-CleLAV6A.cjs");
5
+ const require_theme = require("./theme-Bnc03K83.cjs");
6
6
  let react = require("react");
7
7
  let react_jsx_runtime = require("react/jsx-runtime");
8
8
  let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
package/dist/Avatar.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { h as Theme } from "./themes-CUV79qWU.cjs";
2
- import "./index-2QPYJgCl.cjs";
3
- import { n as FlexProps } from "./index-DLUE7t3O.cjs";
1
+ import { h as Theme } from "./themes-kbuYiwCi.cjs";
2
+ import "./index-jmy5eXpx.cjs";
3
+ import { n as FlexProps } from "./index-DOLA1VFD.cjs";
4
4
  //#region src/Avatar/Avatar.d.ts
5
5
  type AvatarVariant = 'circular' | 'rounded' | 'square';
6
6
  type AvatarSize = keyof Theme['avatar'];
@@ -15,13 +15,13 @@ interface AvatarProps extends Omit<FlexProps, OmittedProps> {
15
15
  fallback?: string;
16
16
  /** Shape of the avatar. Default: 'circular'. */
17
17
  variant?: AvatarVariant;
18
- /** Preset size — resolves against theme.avatar. Default: 'md', overridable via `theme.defaults.size`. */
18
+ /** Preset size - resolves against theme.avatar. Default: 'md', overridable via `theme.defaults.size`. */
19
19
  size?: AvatarSize;
20
20
  /** Adds a CSS outline ring around the avatar. */
21
21
  ring?: boolean;
22
- /** Ring color — resolves against theme.border. */
22
+ /** Ring color - resolves against theme.border. */
23
23
  ringColor?: AvatarRingColor;
24
- /** Ring width — resolves against theme.borderWidths. */
24
+ /** Ring width - resolves against theme.borderWidths. */
25
25
  ringWidth?: AvatarRingWidth;
26
26
  }
27
27
  declare function Avatar({ src, srcSet, alt, fallback, children, variant: variantProp, size: sizeProp, ring, ringColor: ringColorProp, ringWidth: ringWidthProp, ...rest }: Readonly<AvatarProps>): import("react").JSX.Element;
package/dist/Avatar.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import "./index-q9peil7T.mjs";
3
- import { n as FlexProps } from "./index-n2OyTMr6.mjs";
1
+ import { h as Theme } from "./themes-kbuYiwCi.mjs";
2
+ import "./index-v_otepCe.mjs";
3
+ import { n as FlexProps } from "./index-KZKeZDAF.mjs";
4
4
  //#region src/Avatar/Avatar.d.ts
5
5
  type AvatarVariant = 'circular' | 'rounded' | 'square';
6
6
  type AvatarSize = keyof Theme['avatar'];
@@ -15,13 +15,13 @@ interface AvatarProps extends Omit<FlexProps, OmittedProps> {
15
15
  fallback?: string;
16
16
  /** Shape of the avatar. Default: 'circular'. */
17
17
  variant?: AvatarVariant;
18
- /** Preset size — resolves against theme.avatar. Default: 'md', overridable via `theme.defaults.size`. */
18
+ /** Preset size - resolves against theme.avatar. Default: 'md', overridable via `theme.defaults.size`. */
19
19
  size?: AvatarSize;
20
20
  /** Adds a CSS outline ring around the avatar. */
21
21
  ring?: boolean;
22
- /** Ring color — resolves against theme.border. */
22
+ /** Ring color - resolves against theme.border. */
23
23
  ringColor?: AvatarRingColor;
24
- /** Ring width — resolves against theme.borderWidths. */
24
+ /** Ring width - resolves against theme.borderWidths. */
25
25
  ringWidth?: AvatarRingWidth;
26
26
  }
27
27
  declare function Avatar({ src, srcSet, alt, fallback, children, variant: variantProp, size: sizeProp, ring, ringColor: ringColorProp, ringWidth: ringWidthProp, ...rest }: Readonly<AvatarProps>): import("react").JSX.Element;
package/dist/Avatar.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
1
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
2
2
  import { Flex } from "./Flex.mjs";
3
3
  import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
4
- import { r as useTheme } from "./theme-Cudynq5K.mjs";
4
+ import { r as useTheme } from "./theme-BuqqFbsz.mjs";
5
5
  import { useState } from "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/Avatar/Avatar.tsx
package/dist/Backdrop.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BJrcLd7P.cjs");
2
+ const require_src = require("./src-DU81aGy9.cjs");
3
3
  const require_View = require("./View.cjs");
4
4
  let react_jsx_runtime = require("react/jsx-runtime");
5
5
  //#region src/Backdrop/Backdrop.tsx
@@ -1,4 +1,4 @@
1
- import { s as ViewProps } from "./index-BPzvFTi5.cjs";
1
+ import { s as ViewProps } from "./index-Btmdtbpb.cjs";
2
2
  //#region src/Backdrop/Backdrop.d.ts
3
3
  type BackdropProps = ViewProps;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { s as ViewProps } from "./index-m9jUR509.mjs";
1
+ import { s as ViewProps } from "./index-DQ16ijxx.mjs";
2
2
  //#region src/Backdrop/Backdrop.d.ts
3
3
  type BackdropProps = ViewProps;
4
4
  /**
package/dist/Backdrop.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { o as styled } from "./src-D3tHU94W.mjs";
1
+ import { o as styled } from "./src-DLGYOJMh.mjs";
2
2
  import { View } from "./View.mjs";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  //#region src/Backdrop/Backdrop.tsx
package/dist/Button.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BJrcLd7P.cjs");
2
+ const require_src = require("./src-DU81aGy9.cjs");
3
3
  const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
4
4
  const require_utils = require("./utils.cjs");
5
- const require_theme = require("./theme-CleLAV6A.cjs");
5
+ const require_theme = require("./theme-Bnc03K83.cjs");
6
6
  const require_CircularProgress = require("./CircularProgress.cjs");
7
7
  const require_ButtonGroupContext = require("./ButtonGroupContext-NtkVeDVE.cjs");
8
8
  let react = require("react");
package/dist/Button.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ButtonShape, c as GapToken, i as ButtonProps, n as ButtonColor, o as ButtonSize, r as ButtonLoadingPosition, s as ButtonVariant, t as Button } from "./index-uH0EeDBZ.cjs";
1
+ import { a as ButtonShape, c as GapToken, i as ButtonProps, n as ButtonColor, o as ButtonSize, r as ButtonLoadingPosition, s as ButtonVariant, t as Button } from "./index-Oxx0z4dS.cjs";
2
2
  export { Button, ButtonColor, ButtonLoadingPosition, ButtonProps, ButtonShape, ButtonSize, ButtonVariant, GapToken };
package/dist/Button.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ButtonShape, c as GapToken, i as ButtonProps, n as ButtonColor, o as ButtonSize, r as ButtonLoadingPosition, s as ButtonVariant, t as Button } from "./index-BAfSyQaP.mjs";
1
+ import { a as ButtonShape, c as GapToken, i as ButtonProps, n as ButtonColor, o as ButtonSize, r as ButtonLoadingPosition, s as ButtonVariant, t as Button } from "./index-C-2VKPcp.mjs";
2
2
  export { Button, ButtonColor, ButtonLoadingPosition, ButtonProps, ButtonShape, ButtonSize, ButtonVariant, GapToken };
package/dist/Button.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
1
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
2
2
  import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
3
3
  import { alpha } from "./utils.mjs";
4
- import { n as useDefaultProps, r as useTheme } from "./theme-Cudynq5K.mjs";
4
+ import { n as useDefaultProps, r as useTheme } from "./theme-BuqqFbsz.mjs";
5
5
  import { CircularProgress } from "./CircularProgress.mjs";
6
6
  import { t as ButtonGroupContext } from "./ButtonGroupContext-DS-kl9lG.mjs";
7
7
  import { useContext } from "react";
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BJrcLd7P.cjs");
2
+ const require_src = require("./src-DU81aGy9.cjs");
3
3
  const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
4
4
  const require_utils = require("./utils.cjs");
5
5
  const require_ButtonGroupContext = require("./ButtonGroupContext-NtkVeDVE.cjs");
@@ -1,2 +1,2 @@
1
- import { a as ButtonGroupProps, i as ButtonGroupOrientation, n as ButtonGroupContextValue, o as ButtonGroupRadius, r as ButtonGroup, t as ButtonGroupContext } from "./index-BYYEoNec.cjs";
1
+ import { a as ButtonGroupProps, i as ButtonGroupOrientation, n as ButtonGroupContextValue, o as ButtonGroupRadius, r as ButtonGroup, t as ButtonGroupContext } from "./index-C5-ZM7lt.cjs";
2
2
  export { ButtonGroup, ButtonGroupContext, ButtonGroupContextValue, ButtonGroupOrientation, ButtonGroupProps, ButtonGroupRadius };
@@ -1,2 +1,2 @@
1
- import { a as ButtonGroupProps, i as ButtonGroupOrientation, n as ButtonGroupContextValue, o as ButtonGroupRadius, r as ButtonGroup, t as ButtonGroupContext } from "./index-CbGfrKZi.mjs";
1
+ import { a as ButtonGroupProps, i as ButtonGroupOrientation, n as ButtonGroupContextValue, o as ButtonGroupRadius, r as ButtonGroup, t as ButtonGroupContext } from "./index-DhMAwR96.mjs";
2
2
  export { ButtonGroup, ButtonGroupContext, ButtonGroupContextValue, ButtonGroupOrientation, ButtonGroupProps, ButtonGroupRadius };
@@ -1,4 +1,4 @@
1
- import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
1
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
2
2
  import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
3
3
  import { alpha } from "./utils.mjs";
4
4
  import { t as ButtonGroupContext } from "./ButtonGroupContext-DS-kl9lG.mjs";
package/dist/Card.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BJrcLd7P.cjs");
2
+ const require_src = require("./src-DU81aGy9.cjs");
3
3
  const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
4
- const require_theme = require("./theme-CleLAV6A.cjs");
4
+ const require_theme = require("./theme-Bnc03K83.cjs");
5
5
  const require_Paper = require("./Paper.cjs");
6
6
  const require_Typography = require("./Typography.cjs");
7
- const require_Icon = require("./Icon-ByDvM-t1.cjs");
7
+ const require_Icon = require("./Icon-BAMpe9SO.cjs");
8
8
  require("react");
9
9
  let react_jsx_runtime = require("react/jsx-runtime");
10
10
  //#region src/Card/Card.tsx
package/dist/Card.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { r as PaperProps } from "./index-BW-9sqFG.cjs";
2
- import { a as TypographyProps } from "./index-CohsoGjZ.cjs";
3
- import { n as IconProps, r as IconName } from "./index-Borai-Wg.cjs";
1
+ import { r as PaperProps } from "./index-Cf7w9Lod.cjs";
2
+ import { a as TypographyProps } from "./index-Csp1Wzbz.cjs";
3
+ import { n as IconProps, r as IconName } from "./index-DCu7qjpa.cjs";
4
4
  import { ReactNode } from "react";
5
5
  //#region src/Card/Card.d.ts
6
6
  type CardVariant = 'paper' | 'bracketBox' | 'interactive';
package/dist/Card.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { r as PaperProps } from "./index-CKz1lEdR.mjs";
2
- import { a as TypographyProps } from "./index-DxBKLmUS.mjs";
3
- import { n as IconProps, r as IconName } from "./index-BjLlSr2P.mjs";
1
+ import { r as PaperProps } from "./index-BCvkP5R1.mjs";
2
+ import { a as TypographyProps } from "./index-BWECJgSb.mjs";
3
+ import { n as IconProps, r as IconName } from "./index-76XH-GEc.mjs";
4
4
  import { ReactNode } from "react";
5
5
  //#region src/Card/Card.d.ts
6
6
  type CardVariant = 'paper' | 'bracketBox' | 'interactive';
package/dist/Card.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { o as styled } from "./src-D3tHU94W.mjs";
1
+ import { o as styled } from "./src-DLGYOJMh.mjs";
2
2
  import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
3
- import { n as useDefaultProps, r as useTheme } from "./theme-Cudynq5K.mjs";
3
+ import { n as useDefaultProps, r as useTheme } from "./theme-BuqqFbsz.mjs";
4
4
  import { Paper } from "./Paper.mjs";
5
5
  import { Typography } from "./Typography.mjs";
6
- import { t as Icon } from "./Icon-CU_nUmsU.mjs";
6
+ import { t as Icon } from "./Icon-gSiGgU13.mjs";
7
7
  import "react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  //#region src/Card/Card.tsx
package/dist/Checkbox.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BJrcLd7P.cjs");
2
+ const require_src = require("./src-DU81aGy9.cjs");
3
3
  const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
4
4
  const require_FormControl = require("./FormControl.cjs");
5
5
  let react = require("react");
@@ -1,5 +1,5 @@
1
- import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.cjs";
2
- import "./index-2QPYJgCl.cjs";
1
+ import { d as PaletteColor, h as Theme } from "./themes-kbuYiwCi.cjs";
2
+ import "./index-jmy5eXpx.cjs";
3
3
  import { ChangeEvent, ReactNode } from "react";
4
4
  import { SpaceProps } from "@soroush.tech/styled-system";
5
5
  //#region src/Checkbox/Checkbox.d.ts
@@ -1,5 +1,5 @@
1
- import { d as PaletteColor, h as Theme } from "./themes-CUV79qWU.mjs";
2
- import "./index-q9peil7T.mjs";
1
+ import { d as PaletteColor, h as Theme } from "./themes-kbuYiwCi.mjs";
2
+ import "./index-v_otepCe.mjs";
3
3
  import { SpaceProps } from "@soroush.tech/styled-system";
4
4
  import { ChangeEvent, ReactNode } from "react";
5
5
  //#region src/Checkbox/Checkbox.d.ts
package/dist/Checkbox.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
1
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
2
2
  import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
3
3
  import { useFormControl } from "./FormControl.mjs";
4
4
  import { useEffect, useRef } from "react";
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BJrcLd7P.cjs");
2
+ const require_src = require("./src-DU81aGy9.cjs");
3
3
  const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
4
4
  const require_utils = require("./utils.cjs");
5
5
  require("react");
@@ -1,6 +1,6 @@
1
- import { h as Theme } from "./themes-CUV79qWU.cjs";
2
- import "./index-2QPYJgCl.cjs";
3
- import { n as ButtonColor } from "./index-uH0EeDBZ.cjs";
1
+ import { h as Theme } from "./themes-kbuYiwCi.cjs";
2
+ import "./index-jmy5eXpx.cjs";
3
+ import { n as ButtonColor } from "./index-Oxx0z4dS.cjs";
4
4
  import { HTMLAttributes } from "react";
5
5
  import { LayoutProps, PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
6
6
  //#region src/CircularProgress/CircularProgress.d.ts
@@ -8,9 +8,9 @@ type CircularProgressVariant = 'indeterminate' | 'determinate';
8
8
  type CircularProgressColor = ButtonColor | 'inherit';
9
9
  type CircularProgressEasing = 'linear' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out';
10
10
  interface CircularProgressProps extends HTMLAttributes<HTMLSpanElement>, Omit<SpaceProps<Theme>, keyof PaddingProps>, LayoutProps<Theme> {
11
- /** Visual variant — looping animation or value-driven arc. Default: `'indeterminate'`. */
11
+ /** Visual variant - looping animation or value-driven arc. Default: `'indeterminate'`. */
12
12
  variant?: CircularProgressVariant;
13
- /** Stroke color — resolves to `theme.palette[color].main`; `'inherit'` uses `currentColor`. Default: 'primary', overridable via `theme.defaults.color`. */
13
+ /** Stroke color - resolves to `theme.palette[color].main`; `'inherit'` uses `currentColor`. Default: 'primary', overridable via `theme.defaults.color`. */
14
14
  color?: CircularProgressColor;
15
15
  /** Width and height. Number → px; string → raw CSS unit (e.g. `'3rem'`). Default: `40`. */
16
16
  size?: number | string;
@@ -24,7 +24,7 @@ interface CircularProgressProps extends HTMLAttributes<HTMLSpanElement>, Omit<Sp
24
24
  max?: number;
25
25
  /** Disables the stroke shrink/expand animation (`'indeterminate'` only). */
26
26
  disableShrink?: boolean;
27
- /** Applies the rotation animation to a `'determinate'` arc — arc length reflects `value` while the spinner still rotates. */
27
+ /** Applies the rotation animation to a `'determinate'` arc - arc length reflects `value` while the spinner still rotates. */
28
28
  spinning?: boolean;
29
29
  /** Timing function for the rotation animation. Default: `'linear'`. */
30
30
  easing?: CircularProgressEasing;
@@ -1,6 +1,6 @@
1
- import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import "./index-q9peil7T.mjs";
3
- import { n as ButtonColor } from "./index-BAfSyQaP.mjs";
1
+ import { h as Theme } from "./themes-kbuYiwCi.mjs";
2
+ import "./index-v_otepCe.mjs";
3
+ import { n as ButtonColor } from "./index-C-2VKPcp.mjs";
4
4
  import { LayoutProps, PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
5
5
  import { HTMLAttributes } from "react";
6
6
  //#region src/CircularProgress/CircularProgress.d.ts
@@ -8,9 +8,9 @@ type CircularProgressVariant = 'indeterminate' | 'determinate';
8
8
  type CircularProgressColor = ButtonColor | 'inherit';
9
9
  type CircularProgressEasing = 'linear' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out';
10
10
  interface CircularProgressProps extends HTMLAttributes<HTMLSpanElement>, Omit<SpaceProps<Theme>, keyof PaddingProps>, LayoutProps<Theme> {
11
- /** Visual variant — looping animation or value-driven arc. Default: `'indeterminate'`. */
11
+ /** Visual variant - looping animation or value-driven arc. Default: `'indeterminate'`. */
12
12
  variant?: CircularProgressVariant;
13
- /** Stroke color — resolves to `theme.palette[color].main`; `'inherit'` uses `currentColor`. Default: 'primary', overridable via `theme.defaults.color`. */
13
+ /** Stroke color - resolves to `theme.palette[color].main`; `'inherit'` uses `currentColor`. Default: 'primary', overridable via `theme.defaults.color`. */
14
14
  color?: CircularProgressColor;
15
15
  /** Width and height. Number → px; string → raw CSS unit (e.g. `'3rem'`). Default: `40`. */
16
16
  size?: number | string;
@@ -24,7 +24,7 @@ interface CircularProgressProps extends HTMLAttributes<HTMLSpanElement>, Omit<Sp
24
24
  max?: number;
25
25
  /** Disables the stroke shrink/expand animation (`'indeterminate'` only). */
26
26
  disableShrink?: boolean;
27
- /** Applies the rotation animation to a `'determinate'` arc — arc length reflects `value` while the spinner still rotates. */
27
+ /** Applies the rotation animation to a `'determinate'` arc - arc length reflects `value` while the spinner still rotates. */
28
28
  spinning?: boolean;
29
29
  /** Timing function for the rotation animation. Default: `'linear'`. */
30
30
  easing?: CircularProgressEasing;