@soroush.tech/design-system 1.3.2 → 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 (286) 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 +4 -4
  124. package/dist/Quote.d.mts +4 -4
  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 +4 -4
  168. package/dist/Table/TableContainer.d.mts +4 -4
  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-B0xTqpvt.d.mts → index-76XH-GEc.d.mts} +3 -3
  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-CCfnnT2l.d.cts → index-Br2gDSme.d.cts} +7 -7
  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-BBWtMvkm.d.cts → 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-CTYZyQ2g.d.mts → 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-D_AwmCU5.d.cts → index-DCu7qjpa.d.cts} +3 -3
  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-hcZwhQmR.d.mts → index-ggLhNdZV.d.mts} +5 -5
  262. package/dist/{index-D07y72Xr.d.mts → index-h36rcOy8.d.mts} +7 -7
  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-DkPJUFzd.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.cts → themes-kbuYiwCi.d.cts} +20 -20
  283. package/dist/{themes-CUV79qWU.d.mts → themes-kbuYiwCi.d.mts} +20 -20
  284. package/dist/{useTablePagination--XtCc2YL.d.cts → useTablePagination-BpMOVLsR.d.cts} +6 -6
  285. package/dist/{useTablePagination-RgVhJs-7.d.mts → useTablePagination-DebYZ6vN.d.mts} +6 -6
  286. package/package.json +3 -3
@@ -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 { h as Theme } from "./themes-kbuYiwCi.mjs";
2
+ import "./index-v_otepCe.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;
@@ -1,10 +1,10 @@
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 { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
5
5
  //#region src/Pagination/hooks/usePagination.d.ts
6
6
  type PaginationItemType = 'page' | 'first' | 'previous' | 'next' | 'last' | 'start-ellipsis' | 'end-ellipsis';
7
- /** One renderable pagination item — `Pagination` maps these onto `PaginationItem`s. */
7
+ /** One renderable pagination item - `Pagination` maps these onto `PaginationItem`s. */
8
8
  interface UsePaginationItem {
9
9
  type: PaginationItemType;
10
10
  /** Target page for actionable items; `null` for ellipses. */
@@ -34,7 +34,7 @@ interface UsePaginationProps {
34
34
  onChange?: (page: number) => void;
35
35
  }
36
36
  /**
37
- * Headless pagination model — computes the item list (nav buttons, page numbers,
37
+ * Headless pagination model - computes the item list (nav buttons, page numbers,
38
38
  * ellipses) with selection, boundary disabling, and controlled/uncontrolled paging.
39
39
  */
40
40
  declare function usePagination({ count, page: pageProp, defaultPage, siblingCount, boundaryCount, disabled, shouldShowFirstButton, shouldShowLastButton, shouldHidePrevButton, shouldHideNextButton, onChange }: UsePaginationProps): {
@@ -47,19 +47,19 @@ type PaginationItemVariant = 'text' | 'outlined';
47
47
  type PaginationItemShape = 'circular' | 'rounded';
48
48
  type PaginationItemSize = keyof Theme['sizes'];
49
49
  interface PaginationItemProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'type'>, SpaceProps<Theme> {
50
- /** What the item renders — a page number, a nav control, or a non-interactive ellipsis. */
50
+ /** What the item renders - a page number, a nav control, or a non-interactive ellipsis. */
51
51
  type?: PaginationItemType;
52
52
  /** The page number/content for `type="page"`. */
53
53
  page?: ReactNode;
54
54
  /** Active styling for the current page. Default: `false`. */
55
55
  isSelected?: boolean;
56
- /** Selected-state color — resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
56
+ /** Selected-state color - resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
57
57
  color?: PaginationItemColor;
58
- /** `text` — no border · `outlined` — stroked. Default: `'text'`. */
58
+ /** `text` - no border · `outlined` - stroked. Default: `'text'`. */
59
59
  variant?: PaginationItemVariant;
60
60
  /** Corner shape. Default: `'circular'`. */
61
61
  shape?: PaginationItemShape;
62
- /** Item dimensions and font size — resolves against `theme.sizes`. Default: 'md', overridable via `theme.defaults.size`. */
62
+ /** Item dimensions and font size - resolves against `theme.sizes`. Default: 'md', overridable via `theme.defaults.size`. */
63
63
  size?: PaginationItemSize;
64
64
  disabled?: boolean;
65
65
  as?: ElementType;
@@ -1,21 +1,21 @@
1
- import { h as Theme } from "./themes-CUV79qWU.cjs";
2
- import "./index-2QPYJgCl.cjs";
3
- import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-uH0EeDBZ.cjs";
4
- import { ElementType, HTMLAttributes } from "react";
1
+ import { h as Theme } from "./themes-kbuYiwCi.mjs";
2
+ import "./index-v_otepCe.mjs";
3
+ import { n as ButtonColor, o as ButtonSize, s as ButtonVariant } from "./index-C-2VKPcp.mjs";
5
4
  import { SpaceProps } from "@soroush.tech/styled-system";
5
+ import { ElementType, HTMLAttributes } from "react";
6
6
  //#region src/ButtonGroup/ButtonGroup.d.ts
7
7
  type ButtonGroupOrientation = 'horizontal' | 'vertical';
8
8
  type ButtonGroupRadius = keyof Theme['radii'];
9
9
  interface ButtonGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color'>, SpaceProps<Theme> {
10
10
  /** Visual style for all child buttons. Default: `'outlined'`. */
11
11
  variant?: ButtonVariant;
12
- /** Color palette for all child buttons — resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
12
+ /** Color palette for all child buttons - resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
13
13
  color?: ButtonColor;
14
- /** Density for all child buttons — resolves against `theme.sizes`. Default: 'md', overridable via `theme.defaults.size`. */
14
+ /** Density for all child buttons - resolves against `theme.sizes`. Default: 'md', overridable via `theme.defaults.size`. */
15
15
  size?: ButtonSize;
16
16
  /** Layout flow direction. Default: `'horizontal'`. */
17
17
  orientation?: ButtonGroupOrientation;
18
- /** Group corner radius — rounds the group's outer corners only. Resolves against `theme.radii`. Default: 'md', overridable via `theme.defaults.borderRadius`. */
18
+ /** Group corner radius - rounds the group's outer corners only. Resolves against `theme.radii`. Default: 'md', overridable via `theme.defaults.borderRadius`. */
19
19
  borderRadius?: ButtonGroupRadius;
20
20
  /** Disables all child buttons. Default: `false`. */
21
21
  disabled?: boolean;
@@ -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 { ButtonHTMLAttributes, ElementType } from "react";
4
4
  import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
5
5
  //#region src/Pressable/Pressable.d.ts
@@ -11,7 +11,7 @@ type PressableFeedback = 'none' | 'opacity' | 'highlight';
11
11
  type PressableColor = PaletteColor;
12
12
  interface PressableProps extends Omit<ButtonHTMLAttributes<HTMLElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, BorderProps<Theme>, TypographyProps<Theme> {
13
13
  /**
14
- * Element to render. Default: `'div'` — which still behaves as a button
14
+ * Element to render. Default: `'div'` - which still behaves as a button
15
15
  * (`role`, tab stop, Enter/Space) because a `<button>` may not legally contain
16
16
  * links, buttons, or block-level content. Pass `'button'` for a native button
17
17
  * when the content is phrasing-only, or any other tag you need.
@@ -19,25 +19,25 @@ interface PressableProps extends Omit<ButtonHTMLAttributes<HTMLElement>, 'color'
19
19
  as?: ElementType;
20
20
  /** Feedback shown while pressed. Default: `'none'`, overridable via `theme.components.Pressable.defaultProps`. */
21
21
  feedback?: PressableFeedback;
22
- /** Palette the `highlight` tint derives from — maps to `theme.palette[color]`. Default: `'primary'`, overridable via `theme.defaults.color`. */
22
+ /** Palette the `highlight` tint derives from - maps to `theme.palette[color]`. Default: `'primary'`, overridable via `theme.defaults.color`. */
23
23
  color?: PressableColor;
24
24
  /** Opacity held content fades to under `feedback="opacity"`. Default: `0.7`. */
25
25
  activeOpacity?: number;
26
26
  /** The URL to link to. If defined and `as` is unset, an `a` element is used. */
27
27
  href?: string;
28
- /** Anchor `target` — only meaningful when `href` is set. */
28
+ /** Anchor `target` - only meaningful when `href` is set. */
29
29
  target?: string;
30
- /** Anchor `rel` — only meaningful when `href` is set. */
30
+ /** Anchor `rel` - only meaningful when `href` is set. */
31
31
  rel?: string;
32
32
  }
33
33
  /**
34
- * An unstyled clickable surface — button semantics (keyboard activation, focus
34
+ * An unstyled clickable surface - button semantics (keyboard activation, focus
35
35
  * ring, disabled state) with none of a button's looks, so it can wrap arbitrary
36
36
  * content without changing its layout. Use it instead of an `onClick` on a
37
37
  * `div`, which no keyboard or screen-reader user can reach.
38
38
  *
39
39
  * It renders a `div` by default, because `<button>` may not legally contain a
40
- * link, another button, or block-level content — the shim gives that div a
40
+ * link, another button, or block-level content - the shim gives that div a
41
41
  * `role`, a tab stop, and Enter/Space activation, so it is announced and
42
42
  * operated as a button either way. Pass `as="button"` for a native button, or
43
43
  * `href` for an anchor; both skip the shim and let the browser do the work.
@@ -1,9 +1,9 @@
1
- import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import "./index-q9peil7T.mjs";
3
- import { s as ViewProps } from "./index-m9jUR509.mjs";
1
+ import { h as Theme } from "./themes-kbuYiwCi.mjs";
2
+ import "./index-v_otepCe.mjs";
3
+ import { s as ViewProps } from "./index-DQ16ijxx.mjs";
4
4
  import { FlexboxProps } from "@soroush.tech/styled-system";
5
5
  //#region src/Flex/Flex.d.ts
6
- /** Valid values for the gap prop — derived from theme.space keys. */
6
+ /** Valid values for the gap prop - derived from theme.space keys. */
7
7
  type GapToken = keyof Theme['space'];
8
8
  interface FlexProps extends ViewProps, FlexboxProps<Theme> {}
9
9
  declare const Flex: import("@emotion/styled").StyledComponent<{
@@ -1,10 +1,10 @@
1
- import { b as ThemeComponents, h as Theme, x as ThemeDefaults } from "./themes-CUV79qWU.mjs";
1
+ import { b as ThemeComponents, h as Theme, x as ThemeDefaults } from "./themes-kbuYiwCi.mjs";
2
2
  import { ComponentType, ReactNode } from "react";
3
3
  //#region src/theme/ThemeProvider.d.ts
4
4
  interface ThemeProviderProps {
5
5
  children: ReactNode;
6
6
  /**
7
- * The active theme. Bring one theme, or as many as you like — switching
7
+ * The active theme. Bring one theme, or as many as you like - switching
8
8
  * between them is your state, not the provider's. Defaults to the built-in
9
9
  * `baseTheme`.
10
10
  */
@@ -29,7 +29,7 @@ declare const themeDefault: <K extends keyof ThemeDefaults>(theme: Theme, key: K
29
29
  //#endregion
30
30
  //#region src/theme/hooks/useTheme.d.ts
31
31
  /**
32
- * The active theme, typed as this package's own `Theme` — Emotion is an
32
+ * The active theme, typed as this package's own `Theme` - Emotion is an
33
33
  * internal implementation detail, never part of the public type surface.
34
34
  */
35
35
  declare const useTheme: () => Theme;
@@ -1,24 +1,24 @@
1
- import { d as PaletteColor, h as Theme, n as ButtonVariants } from "./themes-CUV79qWU.mjs";
2
- import "./index-q9peil7T.mjs";
3
- import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
1
+ import { d as PaletteColor, h as Theme, n as ButtonVariants } from "./themes-kbuYiwCi.cjs";
2
+ import "./index-jmy5eXpx.cjs";
4
3
  import { ButtonHTMLAttributes, ReactNode } from "react";
4
+ import { BorderProps, LayoutProps, SpaceProps, TypographyProps } from "@soroush.tech/styled-system";
5
5
  //#region src/Button/Button.d.ts
6
- /** Augmentable via the `ButtonVariants` interface — style new values through `theme.components.Button.variants`. */
6
+ /** Augmentable via the `ButtonVariants` interface - style new values through `theme.components.Button.variants`. */
7
7
  type ButtonVariant = keyof ButtonVariants;
8
8
  type ButtonColor = PaletteColor;
9
9
  type ButtonSize = keyof Theme['sizes'];
10
10
  type ButtonShape = 'square' | 'rounded' | 'pill';
11
11
  type ButtonLoadingPosition = 'start' | 'end' | 'center';
12
- /** Valid values for the gap prop — resolves against theme.space. */
12
+ /** Valid values for the gap prop - resolves against theme.space. */
13
13
  type GapToken = keyof Theme['space'];
14
14
  interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, SpaceProps<Theme>, LayoutProps<Theme>, BorderProps<Theme>, TypographyProps<Theme> {
15
- /** Visual style — filled, stroked, or ghost. Default: `'contained'`, overridable via `theme.defaults.buttonVariant`. */
15
+ /** Visual style - filled, stroked, or ghost. Default: `'contained'`, overridable via `theme.defaults.buttonVariant`. */
16
16
  variant?: ButtonVariant;
17
- /** Color palette — maps to `theme.palette[color]`. Default: `'primary'`, overridable via `theme.defaults.color`. */
17
+ /** Color palette - maps to `theme.palette[color]`. Default: `'primary'`, overridable via `theme.defaults.color`. */
18
18
  color?: ButtonColor;
19
- /** Size token — controls padding and font size. Default: `'md'`, overridable via `theme.defaults.size`. */
19
+ /** Size token - controls padding and font size. Default: `'md'`, overridable via `theme.defaults.size`. */
20
20
  size?: ButtonSize;
21
- /** Gap between icon and label — resolves against theme.space. Default: `1` (8px). */
21
+ /** Gap between icon and label - resolves against theme.space. Default: `1` (8px). */
22
22
  gap?: GapToken;
23
23
  /** Icon rendered before the label. */
24
24
  startIcon?: ReactNode;
@@ -31,7 +31,7 @@ interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'col
31
31
  /** Custom loading element. Default: animated spinner. */
32
32
  loadingIndicator?: ReactNode;
33
33
  /**
34
- * Corner shape — sets the default `borderRadius`.
34
+ * Corner shape - sets the default `borderRadius`.
35
35
  * `"square"` → 0 · `"rounded"` → `theme.radii.md` (default) · `"pill"` → 9999px
36
36
  * The `borderRadius` prop always overrides this.
37
37
  */
@@ -40,9 +40,9 @@ interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'col
40
40
  loadingPosition?: ButtonLoadingPosition;
41
41
  /** The URL to link to when the button is clicked. If defined, an `a` element will be used as the root node. */
42
42
  href?: string;
43
- /** Anchor `target` — only meaningful when `href` is set. */
43
+ /** Anchor `target` - only meaningful when `href` is set. */
44
44
  target?: string;
45
- /** Anchor `rel` — only meaningful when `href` is set. */
45
+ /** Anchor `rel` - only meaningful when `href` is set. */
46
46
  rel?: string;
47
47
  }
48
48
  declare function Button({ variant, color, size, shape, gap, fontWeight, letterSpacing, startIcon, endIcon, fullWidth, loading, loadingIndicator, loadingPosition, children, disabled, href, ...rest }: Readonly<ButtonProps>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
- import { a as PaginationItemSize } from "./index-3hPS6Lm8.mjs";
2
- import "./index-D07y72Xr.mjs";
1
+ import { a as PaginationItemSize } from "./index-DdBeSvit.mjs";
2
+ import "./index-h36rcOy8.mjs";
3
3
  import { HTMLAttributes } from "react";
4
4
  //#region src/Table/TablePaginationActions/TablePaginationActions.d.ts
5
5
  type TablePaginationActionType = 'first' | 'previous' | 'next' | 'last';
@@ -12,13 +12,13 @@ interface TablePaginationActionsProps extends HTMLAttributes<HTMLDivElement> {
12
12
  rowsPerPage: number;
13
13
  /** Fired with the target zero-based page. */
14
14
  onPageChange: (page: number) => void;
15
- /** Accessible name per nav button — important for screen readers. */
15
+ /** Accessible name per nav button - important for screen readers. */
16
16
  getItemAriaLabel: (type: TablePaginationActionType) => string;
17
17
  /** Disables all buttons. Default: `false`. */
18
18
  disabled?: boolean;
19
19
  shouldShowFirstButton?: boolean;
20
20
  shouldShowLastButton?: boolean;
21
- /** Button density — resolves against `theme.sizes`. Default: `'sm'`. */
21
+ /** Button density - resolves against `theme.sizes`. Default: `'sm'`. */
22
22
  size?: PaginationItemSize;
23
23
  }
24
24
  /**
@@ -1,10 +1,10 @@
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 { ButtonHTMLAttributes, ElementType, ReactNode } from "react";
4
4
  import { SpaceProps } from "@soroush.tech/styled-system";
5
5
  //#region src/Pagination/hooks/usePagination.d.ts
6
6
  type PaginationItemType = 'page' | 'first' | 'previous' | 'next' | 'last' | 'start-ellipsis' | 'end-ellipsis';
7
- /** One renderable pagination item — `Pagination` maps these onto `PaginationItem`s. */
7
+ /** One renderable pagination item - `Pagination` maps these onto `PaginationItem`s. */
8
8
  interface UsePaginationItem {
9
9
  type: PaginationItemType;
10
10
  /** Target page for actionable items; `null` for ellipses. */
@@ -34,7 +34,7 @@ interface UsePaginationProps {
34
34
  onChange?: (page: number) => void;
35
35
  }
36
36
  /**
37
- * Headless pagination model — computes the item list (nav buttons, page numbers,
37
+ * Headless pagination model - computes the item list (nav buttons, page numbers,
38
38
  * ellipses) with selection, boundary disabling, and controlled/uncontrolled paging.
39
39
  */
40
40
  declare function usePagination({ count, page: pageProp, defaultPage, siblingCount, boundaryCount, disabled, shouldShowFirstButton, shouldShowLastButton, shouldHidePrevButton, shouldHideNextButton, onChange }: UsePaginationProps): {
@@ -47,19 +47,19 @@ type PaginationItemVariant = 'text' | 'outlined';
47
47
  type PaginationItemShape = 'circular' | 'rounded';
48
48
  type PaginationItemSize = keyof Theme['sizes'];
49
49
  interface PaginationItemProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'type'>, SpaceProps<Theme> {
50
- /** What the item renders — a page number, a nav control, or a non-interactive ellipsis. */
50
+ /** What the item renders - a page number, a nav control, or a non-interactive ellipsis. */
51
51
  type?: PaginationItemType;
52
52
  /** The page number/content for `type="page"`. */
53
53
  page?: ReactNode;
54
54
  /** Active styling for the current page. Default: `false`. */
55
55
  isSelected?: boolean;
56
- /** Selected-state color — resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
56
+ /** Selected-state color - resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
57
57
  color?: PaginationItemColor;
58
- /** `text` — no border · `outlined` — stroked. Default: `'text'`. */
58
+ /** `text` - no border · `outlined` - stroked. Default: `'text'`. */
59
59
  variant?: PaginationItemVariant;
60
60
  /** Corner shape. Default: `'circular'`. */
61
61
  shape?: PaginationItemShape;
62
- /** Item dimensions and font size — resolves against `theme.sizes`. Default: 'md', overridable via `theme.defaults.size`. */
62
+ /** Item dimensions and font size - resolves against `theme.sizes`. Default: 'md', overridable via `theme.defaults.size`. */
63
63
  size?: PaginationItemSize;
64
64
  disabled?: boolean;
65
65
  as?: ElementType;
@@ -1,14 +1,14 @@
1
- import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import "./index-q9peil7T.mjs";
3
- import { n as IconProps, r as IconName } from "./index-B0xTqpvt.mjs";
1
+ import { h as Theme } from "./themes-kbuYiwCi.mjs";
2
+ import "./index-v_otepCe.mjs";
3
+ import { n as IconProps, r as IconName } from "./index-76XH-GEc.mjs";
4
4
  import { SpaceProps } from "@soroush.tech/styled-system";
5
5
  import { ButtonHTMLAttributes } from "react";
6
6
  //#region src/Table/TableSortLabel/TableSortLabel.d.ts
7
7
  type TableSortLabelDirection = 'asc' | 'desc';
8
8
  interface TableSortLabelProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, SpaceProps<Theme> {
9
- /** Marks the currently-sorted column — shows the icon fully opaque. Default: `false`. */
9
+ /** Marks the currently-sorted column - shows the icon fully opaque. Default: `false`. */
10
10
  isActive?: boolean;
11
- /** Current sort direction — rotates the arrow. Default: `'asc'`. */
11
+ /** Current sort direction - rotates the arrow. Default: `'asc'`. */
12
12
  direction?: TableSortLabelDirection;
13
13
  /**
14
14
  * Hides the inactive sort icon, revealing it on hover/focus. Set `false` to
@@ -1,6 +1,6 @@
1
- import { h as Theme } from "./themes-CUV79qWU.mjs";
2
- import "./index-q9peil7T.mjs";
3
- import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-3hPS6Lm8.mjs";
1
+ import { h as Theme } from "./themes-kbuYiwCi.mjs";
2
+ import "./index-v_otepCe.mjs";
3
+ import { a as PaginationItemSize, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, s as PaginationItemType } from "./index-DdBeSvit.mjs";
4
4
  import { SpaceProps } from "@soroush.tech/styled-system";
5
5
  import { HTMLAttributes } from "react";
6
6
  //#region src/Pagination/Pagination.d.ts
@@ -9,15 +9,15 @@ type PaginationVariant = PaginationItemVariant;
9
9
  type PaginationShape = PaginationItemShape;
10
10
  type PaginationSize = PaginationItemSize;
11
11
  interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'onChange'>, UsePaginationProps, SpaceProps<Theme> {
12
- /** Selected-item color — resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
12
+ /** Selected-item color - resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
13
13
  color?: PaginationColor;
14
- /** Item style — `text` or `outlined`. Default: `'text'`. */
14
+ /** Item style - `text` or `outlined`. Default: `'text'`. */
15
15
  variant?: PaginationVariant;
16
16
  /** Item corner shape. Default: `'circular'`. */
17
17
  shape?: PaginationShape;
18
- /** Item density — resolves against `theme.sizes`. Default: 'md', overridable via `theme.defaults.size`. */
18
+ /** Item density - resolves against `theme.sizes`. Default: 'md', overridable via `theme.defaults.size`. */
19
19
  size?: PaginationSize;
20
- /** Accessible name per item — important for screen readers. A sensible default is provided. */
20
+ /** Accessible name per item - important for screen readers. A sensible default is provided. */
21
21
  getItemAriaLabel?: (type: PaginationItemType, page: number | null, isSelected: boolean) => string;
22
22
  }
23
23
  declare function Pagination({ count, page, defaultPage, siblingCount, boundaryCount, disabled, shouldShowFirstButton, shouldShowLastButton, shouldHidePrevButton, shouldHideNextButton, onChange, color, variant, shape, size, getItemAriaLabel, 'aria-label': ariaLabel, ...rest }: Readonly<PaginationProps>): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { h as Theme } from "./themes-CUV79qWU.cjs";
1
+ import { h as Theme } from "./themes-kbuYiwCi.cjs";
2
2
  import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@emotion/styled";
3
3
  import { PropsOf, css, keyframes } from "@emotion/react";
4
4
  import { ComponentClass, ComponentProps, ComponentType, JSX, Ref } from "react";
@@ -9,7 +9,7 @@ import { createShouldForwardProp, props } from "@soroush.tech/styled-system/shou
9
9
  * `name` becomes theme-customizable: `theme.components[name]` may contribute
10
10
  * `styleOverrides` (per `slot`) and `variants`, appended after the component's
11
11
  * own styles so the theme wins the cascade. Roots without `name` are plain
12
- * Emotion — zero behavior change, zero cost.
12
+ * Emotion - zero behavior change, zero cost.
13
13
  */
14
14
  interface ThemeCustomizationOptions {
15
15
  /** `theme.components` key enabling styleOverrides/variants for this root. */
@@ -17,19 +17,19 @@ interface ThemeCustomizationOptions {
17
17
  /** The `styleOverrides` slot this root maps to. Default: `'root'`. */
18
18
  slot?: string;
19
19
  /**
20
- * Styled-system prop parsers (`space`, `layout`, …) appended AFTER the theme
21
- * override resolver, so per-instance props (`m`, `p`, `width`, …) always beat
20
+ * Styled-system prop parsers (`space`, `layout`, ...) appended AFTER the theme
21
+ * override resolver, so per-instance props (`m`, `p`, `width`, ...) always beat
22
22
  * theme `styleOverrides`.
23
23
  */
24
24
  systemProps?: ReadonlyArray<Interpolation<never>>;
25
25
  /**
26
- * Custom mapping from render props to applied override styles — replaces the
26
+ * Custom mapping from render props to applied override styles - replaces the
27
27
  * default `styleOverrides[slot]` lookup (for prop-keyed override keys).
28
28
  */
29
29
  overridesResolver?: (props: Record<string, unknown>, styleOverrides: Record<string, unknown>) => unknown;
30
30
  }
31
31
  /**
32
- * The `styled.div`, `styled.span`, … tag shorthands — mirrors Emotion's own
32
+ * The `styled.div`, `styled.span`, ... tag shorthands - mirrors Emotion's own
33
33
  * `StyledTags`, retyped against this package's `Theme` instead of Emotion's
34
34
  * (otherwise-empty) one, so `${({ theme }) => theme.space[2]}` template
35
35
  * interpolations resolve to the real theme shape.
@@ -61,7 +61,7 @@ interface CreateThemedStyled extends StyledTags {
61
61
  }, JSX.IntrinsicElements[Tag]>;
62
62
  }
63
63
  /**
64
- * The design system's `styled` — Emotion's styled plus theme-level component
64
+ * The design system's `styled` - Emotion's styled plus theme-level component
65
65
  * customization (`theme.components[name].styleOverrides` / `.variants`).
66
66
  */
67
67
  declare const styled: CreateThemedStyled;
@@ -1,4 +1,4 @@
1
- import { h as Theme } from "./themes-CUV79qWU.mjs";
1
+ import { h as Theme } from "./themes-kbuYiwCi.mjs";
2
2
  import { CreateStyledComponent, FilteringStyledOptions, Interpolation, StyledOptions } from "@emotion/styled";
3
3
  import { PropsOf, css as css$1, keyframes } from "@emotion/react";
4
4
  import { createShouldForwardProp, props } from "@soroush.tech/styled-system/should-forward-prop";
@@ -9,7 +9,7 @@ import { ComponentClass, ComponentProps, ComponentType, JSX, Ref } from "react";
9
9
  * `name` becomes theme-customizable: `theme.components[name]` may contribute
10
10
  * `styleOverrides` (per `slot`) and `variants`, appended after the component's
11
11
  * own styles so the theme wins the cascade. Roots without `name` are plain
12
- * Emotion — zero behavior change, zero cost.
12
+ * Emotion - zero behavior change, zero cost.
13
13
  */
14
14
  interface ThemeCustomizationOptions {
15
15
  /** `theme.components` key enabling styleOverrides/variants for this root. */
@@ -17,19 +17,19 @@ interface ThemeCustomizationOptions {
17
17
  /** The `styleOverrides` slot this root maps to. Default: `'root'`. */
18
18
  slot?: string;
19
19
  /**
20
- * Styled-system prop parsers (`space`, `layout`, …) appended AFTER the theme
21
- * override resolver, so per-instance props (`m`, `p`, `width`, …) always beat
20
+ * Styled-system prop parsers (`space`, `layout`, ...) appended AFTER the theme
21
+ * override resolver, so per-instance props (`m`, `p`, `width`, ...) always beat
22
22
  * theme `styleOverrides`.
23
23
  */
24
24
  systemProps?: ReadonlyArray<Interpolation<never>>;
25
25
  /**
26
- * Custom mapping from render props to applied override styles — replaces the
26
+ * Custom mapping from render props to applied override styles - replaces the
27
27
  * default `styleOverrides[slot]` lookup (for prop-keyed override keys).
28
28
  */
29
29
  overridesResolver?: (props: Record<string, unknown>, styleOverrides: Record<string, unknown>) => unknown;
30
30
  }
31
31
  /**
32
- * The `styled.div`, `styled.span`, … tag shorthands — mirrors Emotion's own
32
+ * The `styled.div`, `styled.span`, ... tag shorthands - mirrors Emotion's own
33
33
  * `StyledTags`, retyped against this package's `Theme` instead of Emotion's
34
34
  * (otherwise-empty) one, so `${({ theme }) => theme.space[2]}` template
35
35
  * interpolations resolve to the real theme shape.
@@ -61,7 +61,7 @@ interface CreateThemedStyled extends StyledTags {
61
61
  }, JSX.IntrinsicElements[Tag]>;
62
62
  }
63
63
  /**
64
- * The design system's `styled` — Emotion's styled plus theme-level component
64
+ * The design system's `styled` - Emotion's styled plus theme-level component
65
65
  * customization (`theme.components[name].styleOverrides` / `.variants`).
66
66
  */
67
67
  declare const styled: CreateThemedStyled;
@@ -1,14 +1,14 @@
1
- import { h as Theme } from "./themes-CUV79qWU.cjs";
2
- import "./index-2QPYJgCl.cjs";
3
- import { n as IconProps, r as IconName } from "./index-D_AwmCU5.cjs";
1
+ import { h as Theme } from "./themes-kbuYiwCi.cjs";
2
+ import "./index-jmy5eXpx.cjs";
3
+ import { n as IconProps, r as IconName } from "./index-DCu7qjpa.cjs";
4
4
  import { ButtonHTMLAttributes } from "react";
5
5
  import { SpaceProps } from "@soroush.tech/styled-system";
6
6
  //#region src/Table/TableSortLabel/TableSortLabel.d.ts
7
7
  type TableSortLabelDirection = 'asc' | 'desc';
8
8
  interface TableSortLabelProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, SpaceProps<Theme> {
9
- /** Marks the currently-sorted column — shows the icon fully opaque. Default: `false`. */
9
+ /** Marks the currently-sorted column - shows the icon fully opaque. Default: `false`. */
10
10
  isActive?: boolean;
11
- /** Current sort direction — rotates the arrow. Default: `'asc'`. */
11
+ /** Current sort direction - rotates the arrow. Default: `'asc'`. */
12
12
  direction?: TableSortLabelDirection;
13
13
  /**
14
14
  * Hides the inactive sort icon, revealing it on hover/focus. Set `false` to
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 { d as PaletteColor, h as Theme, r as CSSObject } from "./themes-kbuYiwCi.cjs";
2
+ import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-jmy5eXpx.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 { d as PaletteColor, h as Theme, r as CSSObject } from "./themes-kbuYiwCi.mjs";
2
+ import { a as ThemeCustomizationOptions, i as props, n as css, o as styled, r as keyframes, t as createShouldForwardProp } from "./index-v_otepCe.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 };
@@ -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-Bnc03K83.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 { h as Theme, r as CSSObject } from "./themes-kbuYiwCi.cjs";
2
+ import "./index-D3iQQ0L3.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 { h as Theme, r as CSSObject } from "./themes-kbuYiwCi.mjs";
2
+ import "./index-NBVilQuP.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-BuqqFbsz.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
  */
@@ -214,8 +214,8 @@ const typography = {
214
214
  inherit: { element: "span" }
215
215
  };
216
216
  /**
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, …)`.
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, ...)`.
219
219
  */
220
220
  const baseTheme = {
221
221
  name: "base",
@@ -328,7 +328,7 @@ function ThemeProvider({ children, theme = baseTheme, defaults }) {
328
328
  //#endregion
329
329
  //#region src/theme/hooks/useTheme.ts
330
330
  /**
331
- * The active theme, typed as this package's own `Theme` — Emotion is an
331
+ * The active theme, typed as this package's own `Theme` - Emotion is an
332
332
  * internal implementation detail, never part of the public type surface.
333
333
  */
334
334
  const useTheme = () => (0, _emotion_react.useTheme)();