@soroush.tech/design-system 1.3.2 → 2.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (304) hide show
  1. package/README.md +72 -37
  2. package/dist/AppBar.cjs +5 -1
  3. package/dist/AppBar.d.cts +6 -6
  4. package/dist/AppBar.d.mts +6 -6
  5. package/dist/AppBar.mjs +5 -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 +1 -15
  62. package/dist/Grid.d.mts +1 -15
  63. package/dist/Grid.mjs +1 -1
  64. package/dist/{Icon-ByDvM-t1.cjs → Icon-CKLBJ7CC.cjs} +2 -2
  65. package/dist/{Icon-CU_nUmsU.mjs → Icon-CkQGOBmm.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/PageLayout/LayoutGrid.cjs +21 -0
  97. package/dist/PageLayout/LayoutGrid.d.cts +22 -0
  98. package/dist/PageLayout/LayoutGrid.d.mts +22 -0
  99. package/dist/PageLayout/LayoutGrid.mjs +20 -0
  100. package/dist/PageLayout/PageLayout.cjs +148 -0
  101. package/dist/PageLayout/PageLayout.d.cts +31 -0
  102. package/dist/PageLayout/PageLayout.d.mts +31 -0
  103. package/dist/PageLayout/PageLayout.mjs +147 -0
  104. package/dist/PageLayout.cjs +7 -0
  105. package/dist/PageLayout.d.cts +19 -0
  106. package/dist/PageLayout.d.mts +19 -0
  107. package/dist/PageLayout.mjs +4 -0
  108. package/dist/PageLayoutContext-DjJ1_7Xc.mjs +5 -0
  109. package/dist/PageLayoutContext-agXGhegE.cjs +9 -0
  110. package/dist/Pagination/PaginationItem.cjs +3 -3
  111. package/dist/Pagination/PaginationItem.d.cts +1 -1
  112. package/dist/Pagination/PaginationItem.d.mts +1 -1
  113. package/dist/Pagination/PaginationItem.mjs +3 -3
  114. package/dist/Pagination.cjs +2 -2
  115. package/dist/Pagination.d.cts +2 -2
  116. package/dist/Pagination.d.mts +2 -2
  117. package/dist/Pagination.mjs +2 -2
  118. package/dist/Paper.cjs +2 -2
  119. package/dist/Paper.d.cts +1 -1
  120. package/dist/Paper.d.mts +1 -1
  121. package/dist/Paper.mjs +2 -2
  122. package/dist/{Popover-CH3yI-j-.mjs → Popover-DWOrf7sy.mjs} +4 -4
  123. package/dist/{Popover-COoJ2p2I.cjs → Popover-Dz6h3A_9.cjs} +4 -4
  124. package/dist/Popover.cjs +1 -1
  125. package/dist/Popover.d.cts +7 -7
  126. package/dist/Popover.d.mts +7 -7
  127. package/dist/Popover.mjs +1 -1
  128. package/dist/Portal.cjs +1 -1
  129. package/dist/Portal.d.cts +1 -1
  130. package/dist/Portal.d.mts +1 -1
  131. package/dist/Portal.mjs +1 -1
  132. package/dist/Pressable.cjs +4 -4
  133. package/dist/Pressable.d.cts +1 -1
  134. package/dist/Pressable.d.mts +1 -1
  135. package/dist/Pressable.mjs +4 -4
  136. package/dist/Quote.cjs +2 -2
  137. package/dist/Quote.d.cts +4 -4
  138. package/dist/Quote.d.mts +4 -4
  139. package/dist/Quote.mjs +2 -2
  140. package/dist/Radio.cjs +1 -1
  141. package/dist/Radio.d.cts +3 -3
  142. package/dist/Radio.d.mts +3 -3
  143. package/dist/Radio.mjs +1 -1
  144. package/dist/Select.cjs +4 -4
  145. package/dist/Select.d.cts +11 -11
  146. package/dist/Select.d.mts +11 -11
  147. package/dist/Select.mjs +4 -4
  148. package/dist/Sidebar/Sidebar.cjs +29 -10
  149. package/dist/Sidebar/Sidebar.d.cts +16 -13
  150. package/dist/Sidebar/Sidebar.d.mts +16 -13
  151. package/dist/Sidebar/Sidebar.mjs +30 -11
  152. package/dist/Sidebar/SidebarItem.cjs +5 -4
  153. package/dist/Sidebar/SidebarItem.d.cts +13 -13
  154. package/dist/Sidebar/SidebarItem.d.mts +13 -13
  155. package/dist/Sidebar/SidebarItem.mjs +5 -4
  156. package/dist/Sidebar.d.cts +1 -1
  157. package/dist/Sidebar.d.mts +1 -1
  158. package/dist/{SidebarContext-ao6lRfTX.d.cts → SidebarContext-B1lWrt77.d.cts} +4 -4
  159. package/dist/{SidebarContext-ao6lRfTX.d.mts → SidebarContext-B1lWrt77.d.mts} +4 -4
  160. package/dist/Skeleton.cjs +1 -1
  161. package/dist/Skeleton.d.cts +3 -3
  162. package/dist/Skeleton.d.mts +3 -3
  163. package/dist/Skeleton.mjs +1 -1
  164. package/dist/Switch.cjs +2 -2
  165. package/dist/Switch.d.cts +5 -5
  166. package/dist/Switch.d.mts +5 -5
  167. package/dist/Switch.mjs +2 -2
  168. package/dist/Table/Table.cjs +1 -1
  169. package/dist/Table/Table.d.cts +14 -14
  170. package/dist/Table/Table.d.mts +14 -14
  171. package/dist/Table/Table.mjs +1 -1
  172. package/dist/Table/TableBody.cjs +1 -1
  173. package/dist/Table/TableBody.d.cts +6 -6
  174. package/dist/Table/TableBody.d.mts +6 -6
  175. package/dist/Table/TableBody.mjs +1 -1
  176. package/dist/Table/TableCell.cjs +1 -1
  177. package/dist/Table/TableCell.d.cts +1 -1
  178. package/dist/Table/TableCell.d.mts +1 -1
  179. package/dist/Table/TableCell.mjs +1 -1
  180. package/dist/Table/TableContainer.cjs +2 -2
  181. package/dist/Table/TableContainer.d.cts +4 -4
  182. package/dist/Table/TableContainer.d.mts +4 -4
  183. package/dist/Table/TableContainer.mjs +2 -2
  184. package/dist/Table/TableControl.cjs +1 -1
  185. package/dist/Table/TableControl.d.cts +7 -7
  186. package/dist/Table/TableControl.d.mts +7 -7
  187. package/dist/Table/TableControl.mjs +1 -1
  188. package/dist/Table/TableFooter.cjs +1 -1
  189. package/dist/Table/TableFooter.d.cts +6 -6
  190. package/dist/Table/TableFooter.d.mts +6 -6
  191. package/dist/Table/TableFooter.mjs +1 -1
  192. package/dist/Table/TableHead.cjs +1 -1
  193. package/dist/Table/TableHead.d.cts +6 -6
  194. package/dist/Table/TableHead.d.mts +6 -6
  195. package/dist/Table/TableHead.mjs +1 -1
  196. package/dist/Table/TablePagination.cjs +3 -3
  197. package/dist/Table/TablePagination.d.cts +4 -4
  198. package/dist/Table/TablePagination.d.mts +4 -4
  199. package/dist/Table/TablePagination.mjs +3 -3
  200. package/dist/Table/TablePaginationActions.cjs +2 -2
  201. package/dist/Table/TablePaginationActions.d.cts +1 -1
  202. package/dist/Table/TablePaginationActions.d.mts +1 -1
  203. package/dist/Table/TablePaginationActions.mjs +2 -2
  204. package/dist/Table/TableRow.cjs +1 -1
  205. package/dist/Table/TableRow.d.cts +7 -7
  206. package/dist/Table/TableRow.d.mts +7 -7
  207. package/dist/Table/TableRow.mjs +1 -1
  208. package/dist/Table/TableSortLabel.cjs +2 -2
  209. package/dist/Table/TableSortLabel.d.cts +1 -1
  210. package/dist/Table/TableSortLabel.d.mts +1 -1
  211. package/dist/Table/TableSortLabel.mjs +2 -2
  212. package/dist/Table/hooks.cjs +5 -5
  213. package/dist/Table/hooks.d.cts +5 -5
  214. package/dist/Table/hooks.d.mts +5 -5
  215. package/dist/Table/hooks.mjs +5 -5
  216. package/dist/Table.d.cts +5 -5
  217. package/dist/Table.d.mts +5 -5
  218. package/dist/{TableContext-BoOxdk8p.d.cts → TableContext-DBOk01Xl.d.mts} +2 -2
  219. package/dist/{TableContext-DV31j6HO.d.mts → TableContext-DRAhXvq3.d.cts} +2 -2
  220. package/dist/TextInput.cjs +2 -2
  221. package/dist/TextInput.d.cts +10 -10
  222. package/dist/TextInput.d.mts +10 -10
  223. package/dist/TextInput.mjs +2 -2
  224. package/dist/ToggleButton/ToggleButton.cjs +2 -2
  225. package/dist/ToggleButton/ToggleButton.d.cts +3 -3
  226. package/dist/ToggleButton/ToggleButton.d.mts +3 -3
  227. package/dist/ToggleButton/ToggleButton.mjs +2 -2
  228. package/dist/ToggleButton/ToggleButtonGroup.cjs +3 -3
  229. package/dist/ToggleButton/ToggleButtonGroup.d.cts +4 -4
  230. package/dist/ToggleButton/ToggleButtonGroup.d.mts +4 -4
  231. package/dist/ToggleButton/ToggleButtonGroup.mjs +3 -3
  232. package/dist/ToggleButton.d.cts +1 -1
  233. package/dist/ToggleButton.d.mts +1 -1
  234. package/dist/{ToggleButtonGroupContext-CqD-Afho.d.cts → ToggleButtonGroupContext-10jEsQdg.d.cts} +2 -2
  235. package/dist/{ToggleButtonGroupContext-CqD-Afho.d.mts → ToggleButtonGroupContext-10jEsQdg.d.mts} +2 -2
  236. package/dist/Typography.cjs +2 -2
  237. package/dist/Typography.d.cts +2 -2
  238. package/dist/Typography.d.mts +2 -2
  239. package/dist/Typography.mjs +2 -2
  240. package/dist/View.cjs +1 -1
  241. package/dist/View.d.cts +1 -1
  242. package/dist/View.d.mts +1 -1
  243. package/dist/View.mjs +1 -1
  244. package/dist/engine.cjs +2 -2
  245. package/dist/engine.d.cts +3 -3
  246. package/dist/engine.d.mts +3 -3
  247. package/dist/engine.mjs +2 -2
  248. package/dist/{index-CrXLEJO4.d.mts → index-8mHoIUt5.d.mts} +8 -8
  249. package/dist/{index-DLUE7t3O.d.cts → index-B41OXLX8.d.mts} +4 -4
  250. package/dist/{index-X4STXeE2.d.cts → index-B6vxRNLt.d.cts} +14 -14
  251. package/dist/{index-BBWtMvkm.d.cts → index-B8KscJic.d.cts} +3 -3
  252. package/dist/{index-MsUtFRul.d.cts → index-BDD-L8uL.d.cts} +3 -3
  253. package/dist/{index-BW-9sqFG.d.cts → index-BGD4OzzG.d.cts} +6 -6
  254. package/dist/index-BJ5Tsf7u.d.cts +16 -0
  255. package/dist/{index-n2OyTMr6.d.mts → index-BMJ3tyIw.d.cts} +4 -4
  256. package/dist/{index-CbGfrKZi.d.mts → index-BNpkmtaM.d.mts} +6 -6
  257. package/dist/{index-CKz1lEdR.d.mts → index-BSR9zrAA.d.mts} +6 -6
  258. package/dist/index-BnFxdnEL.d.mts +16 -0
  259. package/dist/{index-BYYEoNec.d.cts → index-CCrocxBL.d.cts} +6 -6
  260. package/dist/{index-q9peil7T.d.mts → index-CEqa8xx8.d.mts} +7 -7
  261. package/dist/{index-CiShdd2j.d.cts → index-CLttbRhG.d.cts} +8 -8
  262. package/dist/{index-DfhMdqqI.d.mts → index-CVb5zbas.d.mts} +14 -14
  263. package/dist/{index-DEEHBUUZ.d.cts → index-Cjlax0-f.d.mts} +4 -4
  264. package/dist/{index-BoOs5h_b.d.mts → index-CoHrw2p7.d.mts} +3 -3
  265. package/dist/{index-CCfnnT2l.d.cts → index-CohgpyUj.d.cts} +7 -7
  266. package/dist/{index-CSXMCqrV.d.cts → index-CtrxW81j.d.cts} +8 -8
  267. package/dist/{index-m9jUR509.d.mts → index-CvWslVk6.d.cts} +9 -9
  268. package/dist/{index-3hPS6Lm8.d.mts → index-CzmA09Yf.d.mts} +8 -8
  269. package/dist/{index-uH0EeDBZ.d.cts → index-D4i9vrQM.d.mts} +12 -12
  270. package/dist/{index-DkPJUFzd.d.cts → index-DNNg9RoR.d.cts} +5 -5
  271. package/dist/{index-B0xTqpvt.d.mts → index-DPHwCZYf.d.cts} +4 -4
  272. package/dist/{index-2QPYJgCl.d.cts → index-DkJzi96w.d.cts} +7 -7
  273. package/dist/{index-D07y72Xr.d.mts → index-DsKd9VW5.d.mts} +7 -7
  274. package/dist/{index-CohsoGjZ.d.cts → index-DuefjNlC.d.mts} +7 -7
  275. package/dist/{index-DGku7hLP.d.mts → index-EYR0z1Qv.d.cts} +4 -4
  276. package/dist/{index-hcZwhQmR.d.mts → index-IEvuh6Cd.d.mts} +5 -5
  277. package/dist/{index-BAfSyQaP.d.mts → index-S3NZS-Qp.d.cts} +12 -12
  278. package/dist/{index-DxBKLmUS.d.mts → index-bN91IhZi.d.cts} +7 -7
  279. package/dist/{index-CTYZyQ2g.d.mts → index-qtKJ56yu.d.mts} +3 -3
  280. package/dist/{index-D_AwmCU5.d.cts → index-r2avCy1z.d.mts} +4 -4
  281. package/dist/{index-BPzvFTi5.d.cts → index-tv-TGYSG.d.mts} +9 -9
  282. package/dist/index.cjs +1 -1
  283. package/dist/index.d.cts +2 -2
  284. package/dist/index.d.mts +2 -2
  285. package/dist/index.mjs +1 -1
  286. package/dist/layoutStyles-B4Z1K6HZ.cjs +67 -0
  287. package/dist/layoutStyles-f0ISNjsC.mjs +56 -0
  288. package/dist/{src-D3tHU94W.mjs → src-DLGYOJMh.mjs} +1 -1
  289. package/dist/{src-BJrcLd7P.cjs → src-DU81aGy9.cjs} +1 -1
  290. package/dist/style.cjs +1 -1
  291. package/dist/style.d.cts +2 -2
  292. package/dist/style.d.mts +2 -2
  293. package/dist/style.mjs +1 -1
  294. package/dist/{theme-Cudynq5K.mjs → theme-BQGlZoma.mjs} +53 -5
  295. package/dist/{theme-CleLAV6A.cjs → theme-BmEAXmwh.cjs} +64 -4
  296. package/dist/theme.cjs +3 -1
  297. package/dist/theme.d.cts +3 -3
  298. package/dist/theme.d.mts +3 -3
  299. package/dist/theme.mjs +2 -2
  300. package/dist/{themes-CUV79qWU.d.cts → themes-9YNnlVyY.d.cts} +90 -21
  301. package/dist/{themes-CUV79qWU.d.mts → themes-9YNnlVyY.d.mts} +90 -21
  302. package/dist/{useTablePagination--XtCc2YL.d.cts → useTablePagination-CLoac5oX.d.cts} +6 -6
  303. package/dist/{useTablePagination-RgVhJs-7.d.mts → useTablePagination-RelVsdMR.d.mts} +6 -6
  304. package/package.json +15 -5
@@ -1,15 +1,15 @@
1
- import { L as TypographyVariant, h as Theme } from "./themes-CUV79qWU.mjs";
2
- import "./index-q9peil7T.mjs";
3
- import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
1
+ import { K as TypographyVariant, S as Theme } from "./themes-9YNnlVyY.cjs";
2
+ import "./index-DkJzi96w.cjs";
4
3
  import { CSSProperties, ElementType, HTMLAttributes } from "react";
4
+ import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
5
5
  //#region src/Typography/Typography.d.ts
6
6
  type TypographyAlign = 'left' | 'right' | 'center' | 'justify' | 'inherit';
7
- /** Valid values for the color prop — derived from theme.text keys. */
7
+ /** Valid values for the color prop - derived from theme.text keys. */
8
8
  type TextColorToken = keyof Theme['text'];
9
- /** Valid values for the bg prop — derived from theme.background keys. */
9
+ /** Valid values for the bg prop - derived from theme.background keys. */
10
10
  type BackgroundToken = keyof Theme['background'];
11
11
  interface TypographyProps$1 extends Omit<HTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, TypographyProps<Theme>, FlexboxProps<Theme>, BorderProps<Theme>, PositionProps<Theme> {
12
- /** Resolves against theme.text — inherit · initial · primary · secondary · error · success */
12
+ /** Resolves against theme.text - inherit · initial · primary · secondary · error · success */
13
13
  color?: TextColorToken;
14
14
  /** Resolves against theme.background */
15
15
  bg?: BackgroundToken;
@@ -19,7 +19,7 @@ interface TypographyProps$1 extends Omit<HTMLAttributes<HTMLElement>, 'color'>,
19
19
  align?: TypographyAlign;
20
20
  gutterBottom?: boolean;
21
21
  noWrap?: boolean;
22
- /** Machine-readable timestamp — forwarded when rendering as `<time>` (`as="time"`). */
22
+ /** Machine-readable timestamp - forwarded when rendering as `<time>` (`as="time"`). */
23
23
  dateTime?: string;
24
24
  as?: ElementType;
25
25
  }
@@ -1,5 +1,5 @@
1
- import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import "./index-q9peil7T.mjs";
1
+ import { S as Theme } from "./themes-9YNnlVyY.mjs";
2
+ import "./index-CEqa8xx8.mjs";
3
3
  import { KeyboardEvent, MouseEvent, ReactNode, Ref, RefCallback, SyntheticEvent } from "react";
4
4
  //#region src/Modal/useModal.d.ts
5
5
  type ModalCloseReason = 'escapeKey' | 'backdropClick';
@@ -46,7 +46,7 @@ interface ModalProps {
46
46
  portalContainer?: HTMLElement | (() => HTMLElement | null) | null;
47
47
  /** Lock body scroll while open. Default: true. */
48
48
  shouldLockScroll?: boolean;
49
- /** Skip `aria-hidden` on background content — for non-modal popovers whose trigger stays focused. Default: false. */
49
+ /** Skip `aria-hidden` on background content - for non-modal popovers whose trigger stays focused. Default: false. */
50
50
  disableAriaHidden?: boolean;
51
51
  /** Move focus into the modal on open. Default: true. */
52
52
  shouldAutoFocus?: boolean;
@@ -1,6 +1,6 @@
1
- import { n as TextColorToken } from "./index-CohsoGjZ.cjs";
2
- import { SVGProps } from "react";
1
+ import { n as TextColorToken } from "./index-DuefjNlC.mjs";
3
2
  import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
3
+ import { SVGProps } from "react";
4
4
  //#region src/Icon/icons/AccountTree.d.ts
5
5
  declare const SvgAccountTree: (props: SVGProps<SVGSVGElement>) => import("react").JSX.Element;
6
6
  //#endregion
@@ -233,14 +233,14 @@ declare const icons: {
233
233
  readonly zoom_in: typeof SvgZoomIn;
234
234
  readonly zoom_out: typeof SvgZoomOut;
235
235
  };
236
- /** Valid values for the Icon `name` prop — derived from the registry keys. */
236
+ /** Valid values for the Icon `name` prop - derived from the registry keys. */
237
237
  type IconName = keyof typeof icons;
238
238
  //#endregion
239
239
  //#region src/Icon/Icon.d.ts
240
240
  interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'color' | 'ref' | 'width' | 'height' | 'display' | 'overflow'>, LayoutProps, SpaceProps {
241
241
  /** Registry key of the icon to render. */
242
242
  name: IconName;
243
- /** Resolves against theme.text — applied as `color`, which the SVG inherits via `currentColor`. */
243
+ /** Resolves against theme.text - applied as `color`, which the SVG inherits via `currentColor`. */
244
244
  color?: TextColorToken;
245
245
  /** Sets both width and height (icons are square). */
246
246
  size?: string | number;
@@ -1,23 +1,23 @@
1
- import { h as Theme } from "./themes-CUV79qWU.cjs";
2
- import "./index-2QPYJgCl.cjs";
3
- import { CSSProperties, HTMLAttributes } from "react";
1
+ import { S as Theme } from "./themes-9YNnlVyY.mjs";
2
+ import "./index-CEqa8xx8.mjs";
4
3
  import { BorderProps, FlexboxProps, LayoutProps, PositionProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
4
+ import { CSSProperties, HTMLAttributes } from "react";
5
5
  //#region src/View/View.d.ts
6
- /** Valid values for the color prop — derived from theme.text keys. */
6
+ /** Valid values for the color prop - derived from theme.text keys. */
7
7
  type ViewColorToken = keyof Theme['text'];
8
- /** Valid values for the bg prop — derived from theme.background keys. */
8
+ /** Valid values for the bg prop - derived from theme.background keys. */
9
9
  type ViewBackgroundToken = keyof Theme['background'];
10
- /** Valid values for the borderColor prop — derived from theme.border keys. */
10
+ /** Valid values for the borderColor prop - derived from theme.border keys. */
11
11
  type ViewBorderColorToken = keyof Theme['border'];
12
- /** Valid values for the borderWidth prop — derived from theme.borderWidths keys. */
12
+ /** Valid values for the borderWidth prop - derived from theme.borderWidths keys. */
13
13
  type ViewBorderWidthToken = keyof Theme['borderWidths'];
14
14
  /** Valid theme tokens for border-radius. Raw CSS pixel values (e.g. '6px', '9999px') are also accepted. */
15
15
  type ViewBorderRadiusToken = keyof Theme['radii'] | `${number}px`;
16
16
  interface ViewProps extends Omit<HTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, TypographyProps<Theme>, Omit<BorderProps<Theme>, 'borderColor' | 'borderWidth' | 'borderRadius'>, PositionProps<Theme> {
17
17
  bg?: ViewBackgroundToken;
18
- /** Resolves against theme.border — light · primary · dark */
18
+ /** Resolves against theme.border - light · primary · dark */
19
19
  borderColor?: ViewBorderColorToken;
20
- /** Resolves against theme.borderWidths — none · thin · base · thick */
20
+ /** Resolves against theme.borderWidths - none · thin · base · thick */
21
21
  borderWidth?: ViewBorderWidthToken;
22
22
  /** Theme tokens: sq · sm · md · lg. Also accepts raw CSS pixel values e.g. '6px', '9999px'. */
23
23
  borderRadius?: ViewBorderRadiusToken;
package/dist/index.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
  let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
4
4
  let _emotion_react = require("@emotion/react");
5
5
  Object.defineProperty(exports, "createShouldForwardProp", {
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { d as PaletteColor, h as Theme, r as CSSObject } from "./themes-CUV79qWU.cjs";
2
- import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-2QPYJgCl.cjs";
1
+ import { S as Theme, r as CSSObject, v as PaletteColor } from "./themes-9YNnlVyY.cjs";
2
+ import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-DkJzi96w.cjs";
3
3
  export * from "@soroush.tech/styled-system";
4
4
  export { type CSSObject, type PaletteColor, type Theme, type ThemeCustomizationOptions, createShouldForwardProp, css, keyframes, props, styled };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { d as PaletteColor, h as Theme, r as CSSObject } from "./themes-CUV79qWU.mjs";
2
- import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-q9peil7T.mjs";
1
+ import { S as Theme, r as CSSObject, v as PaletteColor } from "./themes-9YNnlVyY.mjs";
2
+ import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-CEqa8xx8.mjs";
3
3
  export * from "@soroush.tech/styled-system";
4
4
  export { type CSSObject, type PaletteColor, type Theme, type ThemeCustomizationOptions, createShouldForwardProp, css, keyframes, props, styled };
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./src-D3tHU94W.mjs";
1
+ import { i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./src-DLGYOJMh.mjs";
2
2
  export * from "@soroush.tech/styled-system";
3
3
  export { createShouldForwardProp, css, keyframes, props, styled };
@@ -0,0 +1,67 @@
1
+ const require_src = require("./src-DU81aGy9.cjs");
2
+ //#region src/PageLayout/layoutStyles.ts
3
+ const mergePanel = (panel, override) => {
4
+ const { mode, width, railWidth } = {
5
+ ...panel,
6
+ ...override
7
+ };
8
+ return mode && width !== void 0 && railWidth !== void 0 ? {
9
+ mode,
10
+ width,
11
+ railWidth
12
+ } : void 0;
13
+ };
14
+ const mergeEntry = (entry, { bars, panels, content }) => ({
15
+ bars: {
16
+ ...entry.bars,
17
+ ...bars
18
+ },
19
+ panels: {
20
+ start: mergePanel(entry.panels.start, panels?.start),
21
+ end: mergePanel(entry.panels.end, panels?.end)
22
+ },
23
+ content: {
24
+ ...entry.content,
25
+ ...content
26
+ }
27
+ });
28
+ /**
29
+ * `theme.layout` resolved mobile-first: the base entry, then one entry per
30
+ * breakpoint that has one, merged over the entries before it, with its `@media` rule.
31
+ */
32
+ const layoutEntries = ({ breakpoints, layout }) => {
33
+ let entry = layout.base;
34
+ const entries = [[null, entry]];
35
+ for (const [key, value] of Object.entries(breakpoints)) {
36
+ const override = layout[key];
37
+ if (!override) continue;
38
+ entry = mergeEntry(entry, override);
39
+ entries.push([(0, require_src.src_exports.createMediaQuery)(value), entry]);
40
+ }
41
+ return entries;
42
+ };
43
+ /** A layout length as CSS: a `theme.space` key resolves through the scale, a length stays as written. */
44
+ const layoutLength = (theme, value = 0) => {
45
+ const length = theme.space[value] ?? value;
46
+ return typeof length === "number" ? `${length}px` : length;
47
+ };
48
+ /** Styles per layout entry: the base entry's at the top level, each breakpoint's in its `@media` block. */
49
+ const layoutStyles = (theme, style) => {
50
+ const styles = {};
51
+ for (const [media, entry] of layoutEntries(theme)) if (media) styles[media] = style(entry);
52
+ else Object.assign(styles, style(entry));
53
+ return styles;
54
+ };
55
+ //#endregion
56
+ Object.defineProperty(exports, "layoutLength", {
57
+ enumerable: true,
58
+ get: function() {
59
+ return layoutLength;
60
+ }
61
+ });
62
+ Object.defineProperty(exports, "layoutStyles", {
63
+ enumerable: true,
64
+ get: function() {
65
+ return layoutStyles;
66
+ }
67
+ });
@@ -0,0 +1,56 @@
1
+ import { a as src_exports } from "./src-DLGYOJMh.mjs";
2
+ //#region src/PageLayout/layoutStyles.ts
3
+ const mergePanel = (panel, override) => {
4
+ const { mode, width, railWidth } = {
5
+ ...panel,
6
+ ...override
7
+ };
8
+ return mode && width !== void 0 && railWidth !== void 0 ? {
9
+ mode,
10
+ width,
11
+ railWidth
12
+ } : void 0;
13
+ };
14
+ const mergeEntry = (entry, { bars, panels, content }) => ({
15
+ bars: {
16
+ ...entry.bars,
17
+ ...bars
18
+ },
19
+ panels: {
20
+ start: mergePanel(entry.panels.start, panels?.start),
21
+ end: mergePanel(entry.panels.end, panels?.end)
22
+ },
23
+ content: {
24
+ ...entry.content,
25
+ ...content
26
+ }
27
+ });
28
+ /**
29
+ * `theme.layout` resolved mobile-first: the base entry, then one entry per
30
+ * breakpoint that has one, merged over the entries before it, with its `@media` rule.
31
+ */
32
+ const layoutEntries = ({ breakpoints, layout }) => {
33
+ let entry = layout.base;
34
+ const entries = [[null, entry]];
35
+ for (const [key, value] of Object.entries(breakpoints)) {
36
+ const override = layout[key];
37
+ if (!override) continue;
38
+ entry = mergeEntry(entry, override);
39
+ entries.push([(0, src_exports.createMediaQuery)(value), entry]);
40
+ }
41
+ return entries;
42
+ };
43
+ /** A layout length as CSS: a `theme.space` key resolves through the scale, a length stays as written. */
44
+ const layoutLength = (theme, value = 0) => {
45
+ const length = theme.space[value] ?? value;
46
+ return typeof length === "number" ? `${length}px` : length;
47
+ };
48
+ /** Styles per layout entry: the base entry's at the top level, each breakpoint's in its `@media` block. */
49
+ const layoutStyles = (theme, style) => {
50
+ const styles = {};
51
+ for (const [media, entry] of layoutEntries(theme)) if (media) styles[media] = style(entry);
52
+ else Object.assign(styles, style(entry));
53
+ return styles;
54
+ };
55
+ //#endregion
56
+ export { layoutStyles as n, layoutLength as t };
@@ -50,7 +50,7 @@ const createThemedStyled = (tag, options = {}) => {
50
50
  return (...styles) => create(...styles, themeStyles, ...systemProps);
51
51
  };
52
52
  /**
53
- * The design system's `styled` — Emotion's styled plus theme-level component
53
+ * The design system's `styled` - Emotion's styled plus theme-level component
54
54
  * customization (`theme.components[name].styleOverrides` / `.variants`).
55
55
  */
56
56
  const styled = Object.assign(createThemedStyled, emotionStyled);
@@ -26,7 +26,7 @@ const createThemedStyled = (tag, options = {}) => {
26
26
  return (...styles) => create(...styles, themeStyles, ...systemProps);
27
27
  };
28
28
  /**
29
- * The design system's `styled` — Emotion's styled plus theme-level component
29
+ * The design system's `styled` - Emotion's styled plus theme-level component
30
30
  * customization (`theme.components[name].styleOverrides` / `.variants`).
31
31
  */
32
32
  const styled = Object.assign(createThemedStyled, _emotion_styled.default);
package/dist/style.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_theme = require("./theme-CleLAV6A.cjs");
2
+ const require_theme = require("./theme-BmEAXmwh.cjs");
3
3
  let react_jsx_runtime = require("react/jsx-runtime");
4
4
  let _emotion_react = require("@emotion/react");
5
5
  //#region src/style/hooks/useStyle.ts
package/dist/style.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { h as Theme, r as CSSObject } from "./themes-CUV79qWU.cjs";
2
- import "./index-MsUtFRul.cjs";
1
+ import { S as Theme, r as CSSObject } from "./themes-9YNnlVyY.cjs";
2
+ import "./index-BDD-L8uL.cjs";
3
3
  import { ComponentType, ReactNode } from "react";
4
4
  //#region src/style/hooks/useStyle.d.ts
5
5
  type StyleFactory = {
package/dist/style.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { h as Theme, r as CSSObject } from "./themes-CUV79qWU.mjs";
2
- import "./index-BoOs5h_b.mjs";
1
+ import { S as Theme, r as CSSObject } from "./themes-9YNnlVyY.mjs";
2
+ import "./index-CoHrw2p7.mjs";
3
3
  import { ComponentType, ReactNode } from "react";
4
4
  //#region src/style/hooks/useStyle.d.ts
5
5
  type StyleFactory = {
package/dist/style.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { r as useTheme } from "./theme-Cudynq5K.mjs";
1
+ import { r as useTheme } from "./theme-BQGlZoma.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
@@ -21,7 +21,7 @@ const deepMerge = (base, overrides) => {
21
21
  *
22
22
  * - Recurses only where both sides are plain objects; arrays (`shadows`,
23
23
  * `fontSizes`) and functions replace wholesale.
24
- * - `undefined` override values are ignored — a key can be added or replaced,
24
+ * - `undefined` override values are ignored - a key can be added or replaced,
25
25
  * never removed.
26
26
  * - Neither argument is mutated; untouched branches keep referential identity.
27
27
  */
@@ -141,6 +141,52 @@ const space = {
141
141
  10: spacing(10),
142
142
  auto: "auto"
143
143
  };
144
+ const breakpoints = {
145
+ tablet: "600px",
146
+ web: "1200px",
147
+ wide: "1600px"
148
+ };
149
+ const layout = {
150
+ base: {
151
+ bars: { bottom: 8 },
152
+ panels: { start: {
153
+ mode: "hidden",
154
+ width: "280px",
155
+ railWidth: 9
156
+ } },
157
+ content: {
158
+ columns: 4,
159
+ margin: 2,
160
+ gutter: 2,
161
+ mode: "fluid"
162
+ }
163
+ },
164
+ tablet: {
165
+ panels: { start: { mode: "collapsed" } },
166
+ content: {
167
+ columns: 8,
168
+ margin: 4
169
+ }
170
+ },
171
+ web: {
172
+ bars: {
173
+ top: 8,
174
+ bottom: 0
175
+ },
176
+ panels: { start: { mode: "inline" } },
177
+ content: {
178
+ columns: 12,
179
+ margin: 3,
180
+ gutter: 3,
181
+ mode: "fixed",
182
+ maxWidth: "1200px"
183
+ }
184
+ },
185
+ wide: { content: {
186
+ columns: 16,
187
+ maxWidth: "1600px"
188
+ } }
189
+ };
144
190
  const typography = {
145
191
  h1: {
146
192
  element: "h1",
@@ -214,8 +260,8 @@ const typography = {
214
260
  inherit: { element: "span" }
215
261
  };
216
262
  /**
217
- * The package's complete default theme (dark-schemed). Raw hex only — palettes
218
- * belong to the consumer, who builds brand themes with `createTheme(baseTheme, …)`.
263
+ * The package's complete default theme (dark-schemed). Raw hex only - palettes
264
+ * belong to the consumer, who builds brand themes with `createTheme(baseTheme, ...)`.
219
265
  */
220
266
  const baseTheme = {
221
267
  name: "base",
@@ -232,6 +278,8 @@ const baseTheme = {
232
278
  icon,
233
279
  sizes,
234
280
  space,
281
+ breakpoints,
282
+ layout,
235
283
  zOrder,
236
284
  blur: "12px",
237
285
  colorScheme: "dark",
@@ -328,7 +376,7 @@ function ThemeProvider({ children, theme = baseTheme, defaults }) {
328
376
  //#endregion
329
377
  //#region src/theme/hooks/useTheme.ts
330
378
  /**
331
- * The active theme, typed as this package's own `Theme` — Emotion is an
379
+ * The active theme, typed as this package's own `Theme` - Emotion is an
332
380
  * internal implementation detail, never part of the public type surface.
333
381
  */
334
382
  const useTheme = () => useEmotionTheme();
@@ -355,4 +403,4 @@ function withTheme(WrappedComponent) {
355
403
  };
356
404
  }
357
405
  //#endregion
358
- export { typography as _, avatar as a, fontSizes as c, icon as d, letterSpacings as f, space as g, sizes as h, ThemeProvider as i, fontWeights as l, radii as m, useDefaultProps as n, baseTheme as o, lineHeights as p, useTheme as r, borderWidths as s, withTheme as t, fonts as u, zOrder as v, createTheme as y };
406
+ export { sizes as _, avatar as a, zOrder as b, breakpoints as c, fonts as d, icon as f, radii as g, lineHeights as h, ThemeProvider as i, fontSizes as l, letterSpacings as m, useDefaultProps as n, baseTheme as o, layout as p, useTheme as r, borderWidths as s, withTheme as t, fontWeights as u, space as v, createTheme as x, typography as y };
@@ -21,7 +21,7 @@ const deepMerge = (base, overrides) => {
21
21
  *
22
22
  * - Recurses only where both sides are plain objects; arrays (`shadows`,
23
23
  * `fontSizes`) and functions replace wholesale.
24
- * - `undefined` override values are ignored — a key can be added or replaced,
24
+ * - `undefined` override values are ignored - a key can be added or replaced,
25
25
  * never removed.
26
26
  * - Neither argument is mutated; untouched branches keep referential identity.
27
27
  */
@@ -141,6 +141,52 @@ const space = {
141
141
  10: spacing(10),
142
142
  auto: "auto"
143
143
  };
144
+ const breakpoints = {
145
+ tablet: "600px",
146
+ web: "1200px",
147
+ wide: "1600px"
148
+ };
149
+ const layout = {
150
+ base: {
151
+ bars: { bottom: 8 },
152
+ panels: { start: {
153
+ mode: "hidden",
154
+ width: "280px",
155
+ railWidth: 9
156
+ } },
157
+ content: {
158
+ columns: 4,
159
+ margin: 2,
160
+ gutter: 2,
161
+ mode: "fluid"
162
+ }
163
+ },
164
+ tablet: {
165
+ panels: { start: { mode: "collapsed" } },
166
+ content: {
167
+ columns: 8,
168
+ margin: 4
169
+ }
170
+ },
171
+ web: {
172
+ bars: {
173
+ top: 8,
174
+ bottom: 0
175
+ },
176
+ panels: { start: { mode: "inline" } },
177
+ content: {
178
+ columns: 12,
179
+ margin: 3,
180
+ gutter: 3,
181
+ mode: "fixed",
182
+ maxWidth: "1200px"
183
+ }
184
+ },
185
+ wide: { content: {
186
+ columns: 16,
187
+ maxWidth: "1600px"
188
+ } }
189
+ };
144
190
  const typography = {
145
191
  h1: {
146
192
  element: "h1",
@@ -214,8 +260,8 @@ const typography = {
214
260
  inherit: { element: "span" }
215
261
  };
216
262
  /**
217
- * The package's complete default theme (dark-schemed). Raw hex only — palettes
218
- * belong to the consumer, who builds brand themes with `createTheme(baseTheme, …)`.
263
+ * The package's complete default theme (dark-schemed). Raw hex only - palettes
264
+ * belong to the consumer, who builds brand themes with `createTheme(baseTheme, ...)`.
219
265
  */
220
266
  const baseTheme = {
221
267
  name: "base",
@@ -232,6 +278,8 @@ const baseTheme = {
232
278
  icon,
233
279
  sizes,
234
280
  space,
281
+ breakpoints,
282
+ layout,
235
283
  zOrder,
236
284
  blur: "12px",
237
285
  colorScheme: "dark",
@@ -328,7 +376,7 @@ function ThemeProvider({ children, theme = baseTheme, defaults }) {
328
376
  //#endregion
329
377
  //#region src/theme/hooks/useTheme.ts
330
378
  /**
331
- * The active theme, typed as this package's own `Theme` — Emotion is an
379
+ * The active theme, typed as this package's own `Theme` - Emotion is an
332
380
  * internal implementation detail, never part of the public type surface.
333
381
  */
334
382
  const useTheme = () => (0, _emotion_react.useTheme)();
@@ -379,6 +427,12 @@ Object.defineProperty(exports, "borderWidths", {
379
427
  return borderWidths;
380
428
  }
381
429
  });
430
+ Object.defineProperty(exports, "breakpoints", {
431
+ enumerable: true,
432
+ get: function() {
433
+ return breakpoints;
434
+ }
435
+ });
382
436
  Object.defineProperty(exports, "createTheme", {
383
437
  enumerable: true,
384
438
  get: function() {
@@ -409,6 +463,12 @@ Object.defineProperty(exports, "icon", {
409
463
  return icon;
410
464
  }
411
465
  });
466
+ Object.defineProperty(exports, "layout", {
467
+ enumerable: true,
468
+ get: function() {
469
+ return layout;
470
+ }
471
+ });
412
472
  Object.defineProperty(exports, "letterSpacings", {
413
473
  enumerable: true,
414
474
  get: function() {
package/dist/theme.cjs CHANGED
@@ -1,15 +1,17 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
3
- const require_theme = require("./theme-CleLAV6A.cjs");
3
+ const require_theme = require("./theme-BmEAXmwh.cjs");
4
4
  exports.ThemeProvider = require_theme.ThemeProvider;
5
5
  exports.avatar = require_theme.avatar;
6
6
  exports.baseTheme = require_theme.baseTheme;
7
7
  exports.borderWidths = require_theme.borderWidths;
8
+ exports.breakpoints = require_theme.breakpoints;
8
9
  exports.createTheme = require_theme.createTheme;
9
10
  exports.fontSizes = require_theme.fontSizes;
10
11
  exports.fontWeights = require_theme.fontWeights;
11
12
  exports.fonts = require_theme.fonts;
12
13
  exports.icon = require_theme.icon;
14
+ exports.layout = require_theme.layout;
13
15
  exports.letterSpacings = require_theme.letterSpacings;
14
16
  exports.lineHeights = require_theme.lineHeights;
15
17
  exports.radii = require_theme.radii;
package/dist/theme.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as DeepPartial, A as ThemeSizes, B as baseTheme, C as ThemeFonts, D as ThemePalette, E as ThemeLineHeights, F as ThemeTypographyVariants, G as icon, H as fontSizes, I as ThemeZOrder, J as radii, K as letterSpacings, L as TypographyVariant, M as ThemeSpace, N as ThemeSwitch, O as ThemeRadii, P as ThemeText, Q as zOrder, R as TypographyVariantStyle, S as ThemeFontWeights, T as ThemeLetterSpacings, U as fontWeights, V as borderWidths, W as fonts, X as space, Y as sizes, Z as typography, _ as ThemeBackground, a as CardSlotIconProps, b as ThemeComponents, c as ComponentStyle, d as PaletteColor, et as ThemeOverride, f as PaletteEntry, g as ThemeAvatarSizes, h as Theme, i as CardOwnerState, j as ThemeSkeleton, k as ThemeShadow, l as ComponentVariant, m as SizeEntry, n as ButtonVariants, o as CardSlotTypographyProps, p as PressableOwnerState, q as lineHeights, r as CSSObject, s as ComponentConfig, t as ButtonOwnerState, tt as createTheme, u as OpenScale, v as ThemeBorder, w as ThemeIconSizes, x as ThemeDefaults, y as ThemeBorderWidths, z as avatar } from "./themes-CUV79qWU.cjs";
2
- import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-MsUtFRul.cjs";
3
- export { ButtonOwnerState, ButtonVariants, CSSObject, CardOwnerState, CardSlotIconProps, CardSlotTypographyProps, ComponentConfig, ComponentStyle, ComponentVariant, type DeepPartial, OpenScale, PaletteColor, PaletteEntry, PressableOwnerState, SizeEntry, Theme, ThemeAvatarSizes, ThemeBackground, ThemeBorder, ThemeBorderWidths, ThemeComponents, ThemeDefaults, ThemeFontWeights, ThemeFonts, ThemeIconSizes, ThemeLetterSpacings, ThemeLineHeights, type ThemeOverride, ThemePalette, ThemeProvider, ThemeRadii, ThemeShadow, ThemeSizes, ThemeSkeleton, ThemeSpace, ThemeSwitch, ThemeText, ThemeTypographyVariants, ThemeZOrder, TypographyVariant, TypographyVariantStyle, avatar, baseTheme, borderWidths, createTheme, fontSizes, fontWeights, fonts, icon, letterSpacings, lineHeights, radii, sizes, space, themeDefault, typography, useDefaultProps, useTheme, withTheme, zOrder };
1
+ import { $ as fontWeights, A as ThemeFontWeights, B as ThemeSkeleton, C as ThemeAvatarSizes, D as ThemeBreakpoints, E as ThemeBorderWidths, F as ThemeLineHeights, G as ThemeZOrder, H as ThemeSwitch, I as ThemePalette, J as avatar, K as TypographyVariant, L as ThemeRadii, M as ThemeIconSizes, N as ThemeLayout, O as ThemeComponents, P as ThemeLetterSpacings, Q as fontSizes, R as ThemeShadow, S as Theme, T as ThemeBorder, U as ThemeText, V as ThemeSpace, W as ThemeTypographyVariants, X as borderWidths, Y as baseTheme, Z as breakpoints, _ as OpenScale, a as CardSlotIconProps, at as radii, b as PressableOwnerState, c as ComponentStyle, ct as typography, d as LayoutContent, dt as ThemeOverride, et as fonts, f as LayoutEntry, ft as createTheme, g as LayoutSpace, h as LayoutPanels, i as CardOwnerState, it as lineHeights, j as ThemeFonts, k as ThemeDefaults, l as ComponentVariant, lt as zOrder, m as LayoutPanel, n as ButtonVariants, nt as layout, o as CardSlotTypographyProps, ot as sizes, p as LayoutLength, q as TypographyVariantStyle, r as CSSObject, rt as letterSpacings, s as ComponentConfig, st as space, t as ButtonOwnerState, tt as icon, u as LayoutBars, ut as DeepPartial, v as PaletteColor, w as ThemeBackground, x as SizeEntry, y as PaletteEntry, z as ThemeSizes } from "./themes-9YNnlVyY.cjs";
2
+ import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-BDD-L8uL.cjs";
3
+ export { ButtonOwnerState, ButtonVariants, CSSObject, CardOwnerState, CardSlotIconProps, CardSlotTypographyProps, ComponentConfig, ComponentStyle, ComponentVariant, type DeepPartial, LayoutBars, LayoutContent, LayoutEntry, LayoutLength, LayoutPanel, LayoutPanels, LayoutSpace, OpenScale, PaletteColor, PaletteEntry, PressableOwnerState, SizeEntry, Theme, ThemeAvatarSizes, ThemeBackground, ThemeBorder, ThemeBorderWidths, ThemeBreakpoints, ThemeComponents, ThemeDefaults, ThemeFontWeights, ThemeFonts, ThemeIconSizes, ThemeLayout, ThemeLetterSpacings, ThemeLineHeights, type ThemeOverride, ThemePalette, ThemeProvider, ThemeRadii, ThemeShadow, ThemeSizes, ThemeSkeleton, ThemeSpace, ThemeSwitch, ThemeText, ThemeTypographyVariants, ThemeZOrder, TypographyVariant, TypographyVariantStyle, avatar, baseTheme, borderWidths, breakpoints, createTheme, fontSizes, fontWeights, fonts, icon, layout, letterSpacings, lineHeights, radii, sizes, space, themeDefault, typography, useDefaultProps, useTheme, withTheme, zOrder };
package/dist/theme.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { $ as DeepPartial, A as ThemeSizes, B as baseTheme, C as ThemeFonts, D as ThemePalette, E as ThemeLineHeights, F as ThemeTypographyVariants, G as icon, H as fontSizes, I as ThemeZOrder, J as radii, K as letterSpacings, L as TypographyVariant, M as ThemeSpace, N as ThemeSwitch, O as ThemeRadii, P as ThemeText, Q as zOrder, R as TypographyVariantStyle, S as ThemeFontWeights, T as ThemeLetterSpacings, U as fontWeights, V as borderWidths, W as fonts, X as space, Y as sizes, Z as typography, _ as ThemeBackground, a as CardSlotIconProps, b as ThemeComponents, c as ComponentStyle, d as PaletteColor, et as ThemeOverride, f as PaletteEntry, g as ThemeAvatarSizes, h as Theme, i as CardOwnerState, j as ThemeSkeleton, k as ThemeShadow, l as ComponentVariant, m as SizeEntry, n as ButtonVariants, o as CardSlotTypographyProps, p as PressableOwnerState, q as lineHeights, r as CSSObject, s as ComponentConfig, t as ButtonOwnerState, tt as createTheme, u as OpenScale, v as ThemeBorder, w as ThemeIconSizes, x as ThemeDefaults, y as ThemeBorderWidths, z as avatar } from "./themes-CUV79qWU.mjs";
2
- import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-BoOs5h_b.mjs";
3
- export { ButtonOwnerState, ButtonVariants, CSSObject, CardOwnerState, CardSlotIconProps, CardSlotTypographyProps, ComponentConfig, ComponentStyle, ComponentVariant, type DeepPartial, OpenScale, PaletteColor, PaletteEntry, PressableOwnerState, SizeEntry, Theme, ThemeAvatarSizes, ThemeBackground, ThemeBorder, ThemeBorderWidths, ThemeComponents, ThemeDefaults, ThemeFontWeights, ThemeFonts, ThemeIconSizes, ThemeLetterSpacings, ThemeLineHeights, type ThemeOverride, ThemePalette, ThemeProvider, ThemeRadii, ThemeShadow, ThemeSizes, ThemeSkeleton, ThemeSpace, ThemeSwitch, ThemeText, ThemeTypographyVariants, ThemeZOrder, TypographyVariant, TypographyVariantStyle, avatar, baseTheme, borderWidths, createTheme, fontSizes, fontWeights, fonts, icon, letterSpacings, lineHeights, radii, sizes, space, themeDefault, typography, useDefaultProps, useTheme, withTheme, zOrder };
1
+ import { $ as fontWeights, A as ThemeFontWeights, B as ThemeSkeleton, C as ThemeAvatarSizes, D as ThemeBreakpoints, E as ThemeBorderWidths, F as ThemeLineHeights, G as ThemeZOrder, H as ThemeSwitch, I as ThemePalette, J as avatar, K as TypographyVariant, L as ThemeRadii, M as ThemeIconSizes, N as ThemeLayout, O as ThemeComponents, P as ThemeLetterSpacings, Q as fontSizes, R as ThemeShadow, S as Theme, T as ThemeBorder, U as ThemeText, V as ThemeSpace, W as ThemeTypographyVariants, X as borderWidths, Y as baseTheme, Z as breakpoints, _ as OpenScale, a as CardSlotIconProps, at as radii, b as PressableOwnerState, c as ComponentStyle, ct as typography, d as LayoutContent, dt as ThemeOverride, et as fonts, f as LayoutEntry, ft as createTheme, g as LayoutSpace, h as LayoutPanels, i as CardOwnerState, it as lineHeights, j as ThemeFonts, k as ThemeDefaults, l as ComponentVariant, lt as zOrder, m as LayoutPanel, n as ButtonVariants, nt as layout, o as CardSlotTypographyProps, ot as sizes, p as LayoutLength, q as TypographyVariantStyle, r as CSSObject, rt as letterSpacings, s as ComponentConfig, st as space, t as ButtonOwnerState, tt as icon, u as LayoutBars, ut as DeepPartial, v as PaletteColor, w as ThemeBackground, x as SizeEntry, y as PaletteEntry, z as ThemeSizes } from "./themes-9YNnlVyY.mjs";
2
+ import { a as ThemeProvider, i as themeDefault, n as useDefaultProps, r as useTheme, t as withTheme } from "./index-CoHrw2p7.mjs";
3
+ export { ButtonOwnerState, ButtonVariants, CSSObject, CardOwnerState, CardSlotIconProps, CardSlotTypographyProps, ComponentConfig, ComponentStyle, ComponentVariant, type DeepPartial, LayoutBars, LayoutContent, LayoutEntry, LayoutLength, LayoutPanel, LayoutPanels, LayoutSpace, OpenScale, PaletteColor, PaletteEntry, PressableOwnerState, SizeEntry, Theme, ThemeAvatarSizes, ThemeBackground, ThemeBorder, ThemeBorderWidths, ThemeBreakpoints, ThemeComponents, ThemeDefaults, ThemeFontWeights, ThemeFonts, ThemeIconSizes, ThemeLayout, ThemeLetterSpacings, ThemeLineHeights, type ThemeOverride, ThemePalette, ThemeProvider, ThemeRadii, ThemeShadow, ThemeSizes, ThemeSkeleton, ThemeSpace, ThemeSwitch, ThemeText, ThemeTypographyVariants, ThemeZOrder, TypographyVariant, TypographyVariantStyle, avatar, baseTheme, borderWidths, breakpoints, createTheme, fontSizes, fontWeights, fonts, icon, layout, letterSpacings, lineHeights, radii, sizes, space, themeDefault, typography, useDefaultProps, useTheme, withTheme, zOrder };
package/dist/theme.mjs CHANGED
@@ -1,3 +1,3 @@
1
1
  import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
2
- import { _ as typography, a as avatar, c as fontSizes, d as icon, f as letterSpacings, g as space, h as sizes, i as ThemeProvider, l as fontWeights, m as radii, n as useDefaultProps, o as baseTheme, p as lineHeights, r as useTheme, s as borderWidths, t as withTheme, u as fonts, v as zOrder, y as createTheme } from "./theme-Cudynq5K.mjs";
3
- export { ThemeProvider, avatar, baseTheme, borderWidths, createTheme, fontSizes, fontWeights, fonts, icon, letterSpacings, lineHeights, radii, sizes, space, themeDefault, typography, useDefaultProps, useTheme, withTheme, zOrder };
2
+ import { _ as sizes, a as avatar, b as zOrder, c as breakpoints, d as fonts, f as icon, g as radii, h as lineHeights, i as ThemeProvider, l as fontSizes, m as letterSpacings, n as useDefaultProps, o as baseTheme, p as layout, r as useTheme, s as borderWidths, t as withTheme, u as fontWeights, v as space, x as createTheme, y as typography } from "./theme-BQGlZoma.mjs";
3
+ export { ThemeProvider, avatar, baseTheme, borderWidths, breakpoints, createTheme, fontSizes, fontWeights, fonts, icon, layout, letterSpacings, lineHeights, radii, sizes, space, themeDefault, typography, useDefaultProps, useTheme, withTheme, zOrder };