@soroush.tech/design-system 0.1.0 → 1.1.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 (389) hide show
  1. package/README.md +47 -36
  2. package/dist/AppBar.cjs +2 -2
  3. package/dist/AppBar.d.cts +3 -2
  4. package/dist/AppBar.d.mts +3 -2
  5. package/dist/AppBar.mjs +2 -2
  6. package/dist/Avatar.cjs +4 -4
  7. package/dist/Avatar.d.cts +3 -2
  8. package/dist/Avatar.d.mts +3 -2
  9. package/dist/Avatar.mjs +3 -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 +5 -12
  15. package/dist/Button.d.cts +1 -1
  16. package/dist/Button.d.mts +1 -1
  17. package/dist/Button.mjs +3 -9
  18. package/dist/ButtonGroup.cjs +2 -2
  19. package/dist/ButtonGroup.d.cts +1 -1
  20. package/dist/ButtonGroup.d.mts +1 -1
  21. package/dist/ButtonGroup.mjs +2 -2
  22. package/dist/Card.cjs +6 -7
  23. package/dist/Card.d.cts +3 -3
  24. package/dist/Card.d.mts +3 -3
  25. package/dist/Card.mjs +4 -4
  26. package/dist/Checkbox.cjs +2 -2
  27. package/dist/Checkbox.d.cts +42 -1
  28. package/dist/Checkbox.d.mts +42 -1
  29. package/dist/Checkbox.mjs +2 -2
  30. package/dist/CircularProgress.cjs +2 -2
  31. package/dist/CircularProgress.d.cts +3 -2
  32. package/dist/CircularProgress.d.mts +3 -2
  33. package/dist/CircularProgress.mjs +2 -2
  34. package/dist/Drawer.cjs +2 -2
  35. package/dist/Drawer.d.cts +2 -2
  36. package/dist/Drawer.d.mts +2 -2
  37. package/dist/Drawer.mjs +2 -2
  38. package/dist/Flex.cjs +3 -7
  39. package/dist/Flex.d.cts +1 -1
  40. package/dist/Flex.d.mts +1 -1
  41. package/dist/Flex.mjs +3 -9
  42. package/dist/FocusTrap.cjs +1 -1
  43. package/dist/FocusTrap.mjs +1 -1
  44. package/dist/Form.cjs +2 -3
  45. package/dist/Form.d.cts +1 -1
  46. package/dist/Form.d.mts +1 -1
  47. package/dist/Form.mjs +2 -3
  48. package/dist/{FormContext-CRmRgDgu.cjs → FormContext-BGCsWAFc.cjs} +0 -1
  49. package/dist/{FormContext-_G3sxJyQ.mjs → FormContext-LrjAGe6U.mjs} +0 -1
  50. package/dist/FormControl.cjs +6 -6
  51. package/dist/FormControl.d.cts +2 -2
  52. package/dist/FormControl.d.mts +2 -2
  53. package/dist/FormControl.mjs +5 -5
  54. package/dist/{FormControlContext-aeKTjRKY.cjs → FormControlContext-74gvPGFk.cjs} +0 -1
  55. package/dist/{FormControlContext-CyxdOxdN.mjs → FormControlContext-CC2kToms.mjs} +0 -1
  56. package/dist/FormHelperText.cjs +3 -3
  57. package/dist/FormHelperText.d.cts +1 -1
  58. package/dist/FormHelperText.d.mts +1 -1
  59. package/dist/FormHelperText.mjs +3 -3
  60. package/dist/FormLabel.cjs +3 -3
  61. package/dist/FormLabel.d.cts +17 -1
  62. package/dist/FormLabel.d.mts +17 -1
  63. package/dist/FormLabel.mjs +3 -3
  64. package/dist/Grid.cjs +3 -26
  65. package/dist/Grid.d.cts +4 -10
  66. package/dist/Grid.d.mts +4 -10
  67. package/dist/Grid.mjs +3 -25
  68. package/dist/{Icon-1YtNCUKo.cjs → Icon-BOjk5r39.cjs} +75 -5
  69. package/dist/{Icon-CAKRmFz3.mjs → Icon-CYjD0Bad.mjs} +74 -3
  70. package/dist/Icon.cjs +1 -1
  71. package/dist/Icon.d.cts +1 -1
  72. package/dist/Icon.d.mts +1 -1
  73. package/dist/Icon.mjs +1 -1
  74. package/dist/Image.cjs +1 -1
  75. package/dist/Image.d.cts +16 -1
  76. package/dist/Image.d.mts +16 -1
  77. package/dist/Image.mjs +1 -1
  78. package/dist/LinearProgress.cjs +2 -2
  79. package/dist/LinearProgress.d.cts +3 -2
  80. package/dist/LinearProgress.d.mts +3 -2
  81. package/dist/LinearProgress.mjs +2 -2
  82. package/dist/Link.cjs +5 -9
  83. package/dist/Link.d.cts +9 -1
  84. package/dist/Link.d.mts +9 -1
  85. package/dist/Link.mjs +4 -7
  86. package/dist/MenuItem.cjs +6 -7
  87. package/dist/MenuItem.d.cts +2 -1
  88. package/dist/MenuItem.d.mts +2 -1
  89. package/dist/MenuItem.mjs +4 -3
  90. package/dist/{Modal-BDMPTSXv.cjs → Modal-DZH-DzMZ.cjs} +2 -2
  91. package/dist/{Modal-DR60peRg.mjs → Modal-dy5l7gfH.mjs} +2 -2
  92. package/dist/Modal.cjs +1 -1
  93. package/dist/Modal.d.cts +1 -1
  94. package/dist/Modal.d.mts +1 -1
  95. package/dist/Modal.mjs +1 -1
  96. package/dist/NativeSelect.cjs +5 -5
  97. package/dist/NativeSelect.d.cts +3 -2
  98. package/dist/NativeSelect.d.mts +3 -2
  99. package/dist/NativeSelect.mjs +4 -3
  100. package/dist/Pagination/PaginationItem.cjs +3 -3
  101. package/dist/Pagination/PaginationItem.d.cts +1 -1
  102. package/dist/Pagination/PaginationItem.d.mts +1 -1
  103. package/dist/Pagination/PaginationItem.mjs +3 -3
  104. package/dist/Pagination.cjs +1 -1
  105. package/dist/Pagination.d.cts +2 -22
  106. package/dist/Pagination.d.mts +2 -22
  107. package/dist/Pagination.mjs +1 -1
  108. package/dist/Paper.cjs +5 -8
  109. package/dist/Paper.d.cts +1 -1
  110. package/dist/Paper.d.mts +1 -1
  111. package/dist/Paper.mjs +3 -4
  112. package/dist/{Popover-B61J7C79.mjs → Popover-Chgtjn-N.mjs} +3 -2
  113. package/dist/{Popover-CRDLmywF.cjs → Popover-pEVboMZO.cjs} +4 -4
  114. package/dist/Popover.cjs +1 -1
  115. package/dist/Popover.d.cts +4 -3
  116. package/dist/Popover.d.mts +4 -3
  117. package/dist/Popover.mjs +1 -1
  118. package/dist/Pressable.cjs +123 -0
  119. package/dist/Pressable.d.cts +2 -0
  120. package/dist/Pressable.d.mts +2 -0
  121. package/dist/Pressable.mjs +121 -0
  122. package/dist/Quote.cjs +1 -1
  123. package/dist/Quote.d.cts +13 -1
  124. package/dist/Quote.d.mts +13 -1
  125. package/dist/Quote.mjs +1 -1
  126. package/dist/Radio.cjs +2 -2
  127. package/dist/Radio.d.cts +2 -2
  128. package/dist/Radio.d.mts +2 -2
  129. package/dist/Radio.mjs +2 -2
  130. package/dist/Select.cjs +10 -32
  131. package/dist/Select.d.cts +3 -2
  132. package/dist/Select.d.mts +3 -2
  133. package/dist/Select.mjs +9 -30
  134. package/dist/Sidebar/Sidebar.cjs +94 -0
  135. package/dist/Sidebar/Sidebar.d.cts +59 -0
  136. package/dist/Sidebar/Sidebar.d.mts +59 -0
  137. package/dist/Sidebar/Sidebar.mjs +93 -0
  138. package/dist/Sidebar/SidebarItem.cjs +125 -0
  139. package/dist/Sidebar/SidebarItem.d.cts +39 -0
  140. package/dist/Sidebar/SidebarItem.d.mts +39 -0
  141. package/dist/Sidebar/SidebarItem.mjs +124 -0
  142. package/dist/Sidebar.cjs +7 -0
  143. package/dist/Sidebar.d.cts +4 -0
  144. package/dist/Sidebar.d.mts +4 -0
  145. package/dist/Sidebar.mjs +4 -0
  146. package/dist/SidebarContext-DgSLwjur.mjs +10 -0
  147. package/dist/SidebarContext-ao6lRfTX.d.cts +37 -0
  148. package/dist/SidebarContext-ao6lRfTX.d.mts +37 -0
  149. package/dist/SidebarContext-jG6OioC-.cjs +14 -0
  150. package/dist/Skeleton.cjs +1 -1
  151. package/dist/Skeleton.d.cts +2 -1
  152. package/dist/Skeleton.d.mts +2 -1
  153. package/dist/Skeleton.mjs +1 -1
  154. package/dist/Switch.cjs +4 -4
  155. package/dist/Switch.d.cts +2 -1
  156. package/dist/Switch.d.mts +2 -1
  157. package/dist/Switch.mjs +3 -2
  158. package/dist/Table/Table.cjs +2 -2
  159. package/dist/Table/Table.d.cts +47 -1
  160. package/dist/Table/Table.d.mts +47 -1
  161. package/dist/Table/Table.mjs +2 -2
  162. package/dist/Table/TableBody.cjs +1 -1
  163. package/dist/Table/TableBody.d.cts +21 -1
  164. package/dist/Table/TableBody.d.mts +21 -1
  165. package/dist/Table/TableBody.mjs +1 -1
  166. package/dist/Table/TableCell.cjs +3 -3
  167. package/dist/Table/TableCell.d.cts +1 -1
  168. package/dist/Table/TableCell.d.mts +1 -1
  169. package/dist/Table/TableCell.mjs +3 -3
  170. package/dist/Table/TableContainer.cjs +1 -1
  171. package/dist/Table/TableContainer.d.cts +17 -1
  172. package/dist/Table/TableContainer.d.mts +17 -1
  173. package/dist/Table/TableContainer.mjs +1 -1
  174. package/dist/Table/TableControl.d.cts +27 -1
  175. package/dist/Table/TableControl.d.mts +27 -1
  176. package/dist/Table/TableFooter.cjs +1 -1
  177. package/dist/Table/TableFooter.d.cts +21 -1
  178. package/dist/Table/TableFooter.d.mts +21 -1
  179. package/dist/Table/TableFooter.mjs +1 -1
  180. package/dist/Table/TableHead.cjs +1 -1
  181. package/dist/Table/TableHead.d.cts +21 -1
  182. package/dist/Table/TableHead.d.mts +21 -1
  183. package/dist/Table/TableHead.mjs +1 -1
  184. package/dist/Table/TablePagination.cjs +1 -1
  185. package/dist/Table/TablePagination.d.cts +44 -1
  186. package/dist/Table/TablePagination.d.mts +44 -1
  187. package/dist/Table/TablePagination.mjs +1 -1
  188. package/dist/Table/TablePaginationActions.cjs +4 -4
  189. package/dist/Table/TablePaginationActions.d.cts +1 -1
  190. package/dist/Table/TablePaginationActions.d.mts +1 -1
  191. package/dist/Table/TablePaginationActions.mjs +3 -2
  192. package/dist/Table/TableRow.cjs +3 -3
  193. package/dist/Table/TableRow.d.cts +29 -1
  194. package/dist/Table/TableRow.d.mts +29 -1
  195. package/dist/Table/TableRow.mjs +3 -3
  196. package/dist/Table/TableSortLabel.cjs +3 -3
  197. package/dist/Table/TableSortLabel.d.cts +1 -1
  198. package/dist/Table/TableSortLabel.d.mts +1 -1
  199. package/dist/Table/TableSortLabel.mjs +3 -3
  200. package/dist/Table/hooks.d.cts +39 -2
  201. package/dist/Table/hooks.d.mts +39 -2
  202. package/dist/Table.cjs +1 -1
  203. package/dist/Table.d.cts +14 -15
  204. package/dist/Table.d.mts +14 -15
  205. package/dist/Table.mjs +1 -1
  206. package/dist/{TableContext-qqp35o8z.cjs → TableContext-Bfg1C3Sr.cjs} +0 -1
  207. package/dist/{TableContext-2qH7XYJB.d.cts → TableContext-BoOxdk8p.d.cts} +1 -1
  208. package/dist/{TableContext-2qH7XYJB.d.mts → TableContext-DV31j6HO.d.mts} +1 -1
  209. package/dist/{TableContext-BRWPghAI.mjs → TableContext-Dyr89h_k.mjs} +0 -1
  210. package/dist/TextInput.cjs +228 -2
  211. package/dist/TextInput.d.cts +79 -1
  212. package/dist/TextInput.d.mts +79 -1
  213. package/dist/TextInput.mjs +226 -1
  214. package/dist/ToggleButton/ToggleButton.cjs +4 -4
  215. package/dist/ToggleButton/ToggleButton.d.cts +1 -1
  216. package/dist/ToggleButton/ToggleButton.d.mts +1 -1
  217. package/dist/ToggleButton/ToggleButton.mjs +3 -2
  218. package/dist/ToggleButton/ToggleButtonGroup.cjs +4 -4
  219. package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
  220. package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
  221. package/dist/ToggleButton/ToggleButtonGroup.mjs +3 -2
  222. package/dist/ToggleButton.d.cts +1 -1
  223. package/dist/ToggleButton.d.mts +1 -1
  224. package/dist/Typography.cjs +3 -3
  225. package/dist/Typography.d.cts +2 -2
  226. package/dist/Typography.d.mts +2 -2
  227. package/dist/Typography.mjs +2 -1
  228. package/dist/View.cjs +1 -3
  229. package/dist/View.d.cts +1 -1
  230. package/dist/View.d.mts +1 -1
  231. package/dist/View.mjs +1 -3
  232. package/dist/emotion-BAyqVw0c.mjs +6 -0
  233. package/dist/emotion-DviPkkGL.cjs +10 -0
  234. package/dist/engine.cjs +80 -0
  235. package/dist/engine.d.cts +21 -0
  236. package/dist/engine.d.mts +21 -0
  237. package/dist/engine.mjs +69 -0
  238. package/dist/{index-BqVgv2B_.d.mts → index--mvTGo8F.d.cts} +3 -2
  239. package/dist/{index-DSCMXFTn.d.cts → index-ATXjtAOY.d.mts} +2 -1
  240. package/dist/{index-CDVnvjIE.d.cts → index-B2hrssyF.d.mts} +2 -2
  241. package/dist/index-B3FrhO2r.d.cts +24 -0
  242. package/dist/{index-BnzUumAC2.d.mts → index-B7aaTHOe.d.cts} +2 -1
  243. package/dist/{index-DmJIuQJj.d.mts → index-BItZoGZ1.d.mts} +3 -2
  244. package/dist/{index-DASvoACZ.d.cts → index-BJ8OC_Zh.d.cts} +2 -2
  245. package/dist/{index-BLfFycfJ.d.mts → index-BL3jwIQU.d.mts} +9 -2
  246. package/dist/{index-4rC2j7fR.d.cts → index-BNP_iejT.d.cts} +3 -2
  247. package/dist/{index-Dy03o__A.d.mts → index-BfpjEqqt.d.cts} +2 -1
  248. package/dist/index-BoOs5h_b.d.mts +53 -0
  249. package/dist/{index-CeYkEXU2.d.cts → index-BwUnDd9W.d.mts} +2 -2
  250. package/dist/{index-BH8jQOdF.d.mts → index-C7j38wne.d.mts} +3 -2
  251. package/dist/{index-Dp81rWM1.d.cts → index-CA_X-mXg.d.cts} +9 -2
  252. package/dist/index-CO3Qq0I0.d.mts +49 -0
  253. package/dist/{index-BLRMuO_x.d.mts → index-CYTaYcm3.d.cts} +3 -4
  254. package/dist/index-Ca0Pj5m2.d.mts +24 -0
  255. package/dist/{index-DE5PtzPn.d.mts → index-CvaEVk-f.d.cts} +2 -2
  256. package/dist/{index-C0xMvDjL.d.mts → index-D8U2tk1L.d.mts} +2 -2
  257. package/dist/{index-Dm9HfgV6.d.mts → index-D8b5OCLe.d.mts} +17 -7
  258. package/dist/{index-B1rCD6Oo.d.cts → index-DEv2QslH.d.mts} +4 -6
  259. package/dist/{index-CyZYXDn0.d.cts → index-DF3Hweir.d.mts} +3 -2
  260. package/dist/{index-Bihpwn75.d.cts → index-DLJ-li1B.d.cts} +17 -7
  261. package/dist/{index-FwTocqhP.d.cts → index-DjtGkwRM.d.cts} +2 -3
  262. package/dist/{index-BX5-NfbX.d.cts → index-Ds__py2h.d.mts} +2 -1
  263. package/dist/{index-x80UG39F.d.cts → index-KZUd8B5E.d.mts} +3 -4
  264. package/dist/index-MsUtFRul.d.cts +53 -0
  265. package/dist/index-dtLxevvf.d.cts +49 -0
  266. package/dist/{index-pX7tBQdJ.d.mts → index-q6EgsH9R.d.mts} +2 -3
  267. package/dist/{index-8dzWTpFp.d.cts → index-v99yMdts.d.cts} +3 -2
  268. package/dist/{index-CxSNNzBT2.d.mts → index-yr4HkKOj.d.cts} +2 -2
  269. package/dist/{index-z35LEYG8.d.mts → index-zFYi0f1t.d.cts} +4 -6
  270. package/dist/index.cjs +2 -32
  271. package/dist/index.d.cts +3 -3
  272. package/dist/index.d.mts +3 -3
  273. package/dist/index.mjs +2 -2
  274. package/dist/{src-DcNT2aIK.mjs → src-BJy4dM4f.mjs} +5 -10
  275. package/dist/{src-BiocWFSR.cjs → src-C8PIppTy.cjs} +2 -7
  276. package/dist/{hooks.cjs → style.cjs} +5 -23
  277. package/dist/style.d.cts +23 -0
  278. package/dist/style.d.mts +23 -0
  279. package/dist/{hooks.mjs → style.mjs} +6 -16
  280. package/dist/theme-Du6xgPsg.cjs +470 -0
  281. package/dist/{themes.mjs → theme-V6lYzd3j.mjs} +68 -14
  282. package/dist/theme.cjs +23 -0
  283. package/dist/theme.d.cts +3 -0
  284. package/dist/theme.d.mts +3 -0
  285. package/dist/theme.mjs +3 -0
  286. package/dist/{themeDefault-B-QjpGEO.cjs → themeDefault-Cebi08Cv.cjs} +1 -1
  287. package/dist/{themeDefault-CjXaY3ok.mjs → themeDefault-Z3KmyIbm.mjs} +1 -1
  288. package/dist/themes-CUV79qWU.d.cts +503 -0
  289. package/dist/themes-CUV79qWU.d.mts +503 -0
  290. package/dist/{useTableSort--XMWjujs.d.cts → useTablePagination-7jiSvKCh.d.cts} +25 -25
  291. package/dist/{useTableSort-CpDs4cGq.d.mts → useTablePagination-HaIcJPv-.d.mts} +25 -25
  292. package/dist/utils.cjs +0 -29
  293. package/dist/utils.d.cts +1 -19
  294. package/dist/utils.d.mts +1 -19
  295. package/dist/utils.mjs +1 -27
  296. package/package.json +431 -24
  297. package/dist/CodeBlock.cjs +0 -101
  298. package/dist/CodeBlock.d.cts +0 -2
  299. package/dist/CodeBlock.d.mts +0 -2
  300. package/dist/CodeBlock.mjs +0 -100
  301. package/dist/Field.cjs +0 -59
  302. package/dist/Field.d.cts +0 -36
  303. package/dist/Field.d.mts +0 -36
  304. package/dist/Field.mjs +0 -58
  305. package/dist/Markdown/Control.cjs +0 -61
  306. package/dist/Markdown/Control.d.cts +0 -18
  307. package/dist/Markdown/Control.d.mts +0 -18
  308. package/dist/Markdown/Control.mjs +0 -60
  309. package/dist/Markdown/Editor.cjs +0 -130
  310. package/dist/Markdown/Editor.d.cts +0 -40
  311. package/dist/Markdown/Editor.d.mts +0 -40
  312. package/dist/Markdown/Editor.mjs +0 -128
  313. package/dist/Markdown/Preview.cjs +0 -241
  314. package/dist/Markdown/Preview.d.cts +0 -55
  315. package/dist/Markdown/Preview.d.mts +0 -55
  316. package/dist/Markdown/Preview.mjs +0 -236
  317. package/dist/Markdown/Toolbar.cjs +0 -4
  318. package/dist/Markdown/Toolbar.d.cts +0 -13
  319. package/dist/Markdown/Toolbar.d.mts +0 -13
  320. package/dist/Markdown/Toolbar.mjs +0 -2
  321. package/dist/Markdown.cjs +0 -13
  322. package/dist/Markdown.d.cts +0 -80
  323. package/dist/Markdown.d.mts +0 -80
  324. package/dist/Markdown.mjs +0 -6
  325. package/dist/MarkdownContext-BN8A3W-J.mjs +0 -11
  326. package/dist/MarkdownContext-DSwjzpH8.cjs +0 -22
  327. package/dist/TextInput-6o37Zddp.cjs +0 -231
  328. package/dist/TextInput-D_lHYJlL.mjs +0 -224
  329. package/dist/ThemeProvider.cjs +0 -15
  330. package/dist/ThemeProvider.d.cts +0 -20
  331. package/dist/ThemeProvider.d.mts +0 -20
  332. package/dist/ThemeProvider.mjs +0 -14
  333. package/dist/Toolbar-B-W22Sk4.cjs +0 -459
  334. package/dist/Toolbar-KbR97iJS.mjs +0 -448
  335. package/dist/applyAction-B2B-hnP3.mjs +0 -98
  336. package/dist/applyAction-B2uVHxOE.cjs +0 -103
  337. package/dist/createTheme-Dts2F4R_.d.cts +0 -21
  338. package/dist/createTheme-Dts2F4R_.d.mts +0 -21
  339. package/dist/hooks/useCopyToClipboard.cjs +0 -33
  340. package/dist/hooks/useCopyToClipboard.d.cts +0 -16
  341. package/dist/hooks/useCopyToClipboard.d.mts +0 -16
  342. package/dist/hooks/useCopyToClipboard.mjs +0 -31
  343. package/dist/hooks.d.cts +0 -40
  344. package/dist/hooks.d.mts +0 -40
  345. package/dist/index-BPrjvi7B.d.cts +0 -13
  346. package/dist/index-BlfIbAMs.d.cts +0 -45
  347. package/dist/index-BoqlPb3Z.d.mts +0 -13
  348. package/dist/index-Bwi4kRpf.d.mts +0 -79
  349. package/dist/index-Bx24ZnOV.d.mts +0 -43
  350. package/dist/index-C-P_hipv.d.mts +0 -21
  351. package/dist/index-C5_ciaeo.d.cts +0 -79
  352. package/dist/index-CDcGTGR4.d.cts +0 -21
  353. package/dist/index-CEOZI-6L.d.mts +0 -48
  354. package/dist/index-CLU39rUS2.d.mts +0 -30
  355. package/dist/index-CM_KCTee.d.cts +0 -48
  356. package/dist/index-CT9uGKrs.d.cts +0 -30
  357. package/dist/index-CcYSvIJi.d.cts +0 -21
  358. package/dist/index-CdF_4ckE.d.mts +0 -11
  359. package/dist/index-Cl_yBpzW2.d.mts +0 -13
  360. package/dist/index-Cv_UOfYx.d.mts +0 -18
  361. package/dist/index-DBGE6yKw.d.mts +0 -16
  362. package/dist/index-DCQ2fsDu.d.mts +0 -40
  363. package/dist/index-DD2AVtiR.d.cts +0 -16
  364. package/dist/index-DOPXpr2J.d.cts +0 -43
  365. package/dist/index-DTkQSXQD.d.cts +0 -11
  366. package/dist/index-DeJWkpf9.d.cts +0 -16
  367. package/dist/index-DeiZHSwA.d.cts +0 -12
  368. package/dist/index-Des8BisQ.d.mts +0 -12
  369. package/dist/index-Dg8-CPOO.d.cts +0 -18
  370. package/dist/index-DgRS5Aqv.d.mts +0 -16
  371. package/dist/index-Dtzj8X58.d.cts +0 -40
  372. package/dist/index-DvW2eETV.d.mts +0 -21
  373. package/dist/index-GVsFY00r.d.cts +0 -21
  374. package/dist/index-Nqco3fsM.d.cts +0 -13
  375. package/dist/index-g-9DZ_KQ.d.cts +0 -28
  376. package/dist/index-g9EThkSg.d.mts +0 -21
  377. package/dist/index-kpk9e3xM2.d.mts +0 -45
  378. package/dist/index-u57CbuAU2.d.mts +0 -28
  379. package/dist/themes-D1SAp3SL.d.mts +0 -500
  380. package/dist/themes-D81JYbqm.d.cts +0 -500
  381. package/dist/themes.cjs +0 -318
  382. package/dist/themes.d.cts +0 -3
  383. package/dist/themes.d.mts +0 -3
  384. package/dist/useDefaultProps-Cb-5FNok.cjs +0 -19
  385. package/dist/useDefaultProps-CoApb4KT.mjs +0 -14
  386. package/dist/utils/styleCache.cjs +0 -7
  387. package/dist/utils/styleCache.d.cts +0 -3
  388. package/dist/utils/styleCache.d.mts +0 -4
  389. package/dist/utils/styleCache.mjs +0 -5
package/dist/Modal.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as Modal, c as ModalCloseReason, d as useModal, i as ariaHidden, l as UseModalParameters, n as ManagedModalProps, o as ModalProps, r as ModalManager, s as ModalScroll, t as ManagedModal, u as UseModalReturnValue } from "./index-Dy03o__A.mjs";
1
+ import { a as Modal, c as ModalCloseReason, d as useModal, i as ariaHidden, l as UseModalParameters, n as ManagedModalProps, o as ModalProps, r as ModalManager, s as ModalScroll, t as ManagedModal, u as UseModalReturnValue } from "./index-Ds__py2h.mjs";
2
2
  export { ManagedModal, ManagedModalProps, Modal, ModalCloseReason, ModalManager, ModalProps, ModalScroll, UseModalParameters, UseModalReturnValue, ariaHidden, useModal };
package/dist/Modal.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { i as ariaHidden, n as useModal, r as ModalManager, t as Modal } from "./Modal-DR60peRg.mjs";
1
+ import { i as ariaHidden, n as useModal, r as ModalManager, t as Modal } from "./Modal-dy5l7gfH.mjs";
2
2
  export { Modal, ModalManager, ariaHidden, useModal };
@@ -1,13 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BiocWFSR.cjs");
3
- const require_themeDefault = require("./themeDefault-B-QjpGEO.cjs");
4
- const require_Icon = require("./Icon-1YtNCUKo.cjs");
2
+ const require_src = require("./src-C8PIppTy.cjs");
3
+ const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
4
+ const require_theme = require("./theme-Du6xgPsg.cjs");
5
+ const require_Icon = require("./Icon-BOjk5r39.cjs");
5
6
  const require_FormControl = require("./FormControl.cjs");
6
7
  const require_inputVariantStyles = require("./inputVariantStyles-BBkkYQtE.cjs");
7
8
  require("react");
8
9
  let react_jsx_runtime = require("react/jsx-runtime");
9
10
  let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
10
- let _emotion_react = require("@emotion/react");
11
11
  //#region src/NativeSelect/NativeSelect.tsx
12
12
  const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)([
13
13
  ..._soroush_tech_styled_system_should_forward_prop.props,
@@ -134,7 +134,7 @@ function NativeSelect({ options, value, defaultValue, onChange, placeholder, bor
134
134
  textColor: textColorProp
135
135
  });
136
136
  const { id, error, disabled, required, size, fullWidth } = fc;
137
- const theme = (0, _emotion_react.useTheme)();
137
+ const theme = require_theme.useTheme();
138
138
  const color = fc.color ?? require_themeDefault.themeDefault(theme, "color", "primary");
139
139
  const textColor = fc.textColor ?? require_themeDefault.themeDefault(theme, "accentTextColor", "primary");
140
140
  const variant = variantProp ?? require_themeDefault.themeDefault(theme, "inputVariant", "default");
@@ -1,5 +1,6 @@
1
- import { l as index_d_exports, o as Theme } from "./index-Bihpwn75.cjs";
2
- import { n as IconProps, r as IconName } from "./index-Dp81rWM1.cjs";
1
+ import { r as index_d_exports } from "./index-DLJ-li1B.cjs";
2
+ import { h as Theme } from "./themes-CUV79qWU.cjs";
3
+ import { n as IconProps, r as IconName } from "./index-CA_X-mXg.cjs";
3
4
  import { SelectHTMLAttributes } from "react";
4
5
  //#region src/NativeSelect/NativeSelect.d.ts
5
6
  type NativeSelectColor = keyof Theme['palette'];
@@ -1,5 +1,6 @@
1
- import { l as index_d_exports, o as Theme } from "./index-Dm9HfgV6.mjs";
2
- import { n as IconProps, r as IconName } from "./index-BLfFycfJ.mjs";
1
+ import { h as Theme } from "./themes-CUV79qWU.mjs";
2
+ import { r as index_d_exports } from "./index-D8b5OCLe.mjs";
3
+ import { n as IconProps, r as IconName } from "./index-BL3jwIQU.mjs";
3
4
  import { SelectHTMLAttributes } from "react";
4
5
  //#region src/NativeSelect/NativeSelect.d.ts
5
6
  type NativeSelectColor = keyof Theme['palette'];
@@ -1,6 +1,7 @@
1
- import { a as createShouldForwardProp, c as props, d as styled, l as src_exports, u as useTheme } from "./src-DcNT2aIK.mjs";
2
- import { t as themeDefault } from "./themeDefault-CjXaY3ok.mjs";
3
- import { t as Icon } from "./Icon-CAKRmFz3.mjs";
1
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
2
+ import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
3
+ import { r as useTheme } from "./theme-V6lYzd3j.mjs";
4
+ import { t as Icon } from "./Icon-CYjD0Bad.mjs";
4
5
  import { useFormControl } from "./FormControl.mjs";
5
6
  import { t as inputVariantStyles } from "./inputVariantStyles-CcqpGfuP.mjs";
6
7
  import "react";
@@ -1,8 +1,8 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("../src-BiocWFSR.cjs");
3
- const require_themeDefault = require("../themeDefault-B-QjpGEO.cjs");
2
+ const require_src = require("../src-C8PIppTy.cjs");
3
+ const require_themeDefault = require("../themeDefault-Cebi08Cv.cjs");
4
4
  const require_utils = require("../utils.cjs");
5
- const require_Icon = require("../Icon-1YtNCUKo.cjs");
5
+ const require_Icon = require("../Icon-BOjk5r39.cjs");
6
6
  require("react");
7
7
  let react_jsx_runtime = require("react/jsx-runtime");
8
8
  let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
@@ -1,2 +1,2 @@
1
- import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-CeYkEXU2.cjs";
1
+ import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-yr4HkKOj.cjs";
2
2
  export { PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemVariant };
@@ -1,2 +1,2 @@
1
- import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-CxSNNzBT2.mjs";
1
+ import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-BwUnDd9W.mjs";
2
2
  export { PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemVariant };
@@ -1,7 +1,7 @@
1
- import { a as createShouldForwardProp, c as props, d as styled, l as src_exports } from "../src-DcNT2aIK.mjs";
2
- import { t as themeDefault } from "../themeDefault-CjXaY3ok.mjs";
1
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "../src-BJy4dM4f.mjs";
2
+ import { t as themeDefault } from "../themeDefault-Z3KmyIbm.mjs";
3
3
  import { alpha } from "../utils.mjs";
4
- import { t as Icon } from "../Icon-CAKRmFz3.mjs";
4
+ import { t as Icon } from "../Icon-CYjD0Bad.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/Pagination/PaginationItem/PaginationItem.tsx
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BiocWFSR.cjs");
2
+ const require_src = require("./src-C8PIppTy.cjs");
3
3
  const require_Pagination_PaginationItem = require("./Pagination/PaginationItem.cjs");
4
4
  let react = require("react");
5
5
  let react_jsx_runtime = require("react/jsx-runtime");
@@ -1,23 +1,3 @@
1
- import { l as index_d_exports, o as Theme } from "./index-Bihpwn75.cjs";
2
- import { a as PaginationItemSize, c as UsePaginationItem, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, s as PaginationItemType, t as PaginationItem, u as usePagination } from "./index-CeYkEXU2.cjs";
3
- import { HTMLAttributes } from "react";
4
- //#region src/Pagination/Pagination.d.ts
5
- type PaginationColor = PaginationItemColor;
6
- type PaginationVariant = PaginationItemVariant;
7
- type PaginationShape = PaginationItemShape;
8
- type PaginationSize = PaginationItemSize;
9
- interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'onChange'>, UsePaginationProps, index_d_exports.SpaceProps<Theme> {
10
- /** Selected-item color — resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
11
- color?: PaginationColor;
12
- /** Item style — `text` or `outlined`. Default: `'text'`. */
13
- variant?: PaginationVariant;
14
- /** Item corner shape. Default: `'circular'`. */
15
- shape?: PaginationShape;
16
- /** Item density — resolves against `theme.sizes`. Default: 'md', overridable via `theme.defaults.size`. */
17
- size?: PaginationSize;
18
- /** Accessible name per item — important for screen readers. A sensible default is provided. */
19
- getItemAriaLabel?: (type: PaginationItemType, page: number | null, isSelected: boolean) => string;
20
- }
21
- 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;
22
- //#endregion
1
+ import { a as PaginationItemSize, c as UsePaginationItem, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, s as PaginationItemType, t as PaginationItem, u as usePagination } from "./index-yr4HkKOj.cjs";
2
+ import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-B3FrhO2r.cjs";
23
3
  export { Pagination, PaginationColor, PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemType, PaginationItemVariant, PaginationProps, PaginationShape, PaginationSize, PaginationVariant, UsePaginationItem, UsePaginationProps, usePagination };
@@ -1,23 +1,3 @@
1
- import { l as index_d_exports, o as Theme } from "./index-Dm9HfgV6.mjs";
2
- import { a as PaginationItemSize, c as UsePaginationItem, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, s as PaginationItemType, t as PaginationItem, u as usePagination } from "./index-CxSNNzBT2.mjs";
3
- import { HTMLAttributes } from "react";
4
- //#region src/Pagination/Pagination.d.ts
5
- type PaginationColor = PaginationItemColor;
6
- type PaginationVariant = PaginationItemVariant;
7
- type PaginationShape = PaginationItemShape;
8
- type PaginationSize = PaginationItemSize;
9
- interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'color' | 'onChange'>, UsePaginationProps, index_d_exports.SpaceProps<Theme> {
10
- /** Selected-item color — resolves against `theme.palette`. Default: 'primary', overridable via `theme.defaults.color`. */
11
- color?: PaginationColor;
12
- /** Item style — `text` or `outlined`. Default: `'text'`. */
13
- variant?: PaginationVariant;
14
- /** Item corner shape. Default: `'circular'`. */
15
- shape?: PaginationShape;
16
- /** Item density — resolves against `theme.sizes`. Default: 'md', overridable via `theme.defaults.size`. */
17
- size?: PaginationSize;
18
- /** Accessible name per item — important for screen readers. A sensible default is provided. */
19
- getItemAriaLabel?: (type: PaginationItemType, page: number | null, isSelected: boolean) => string;
20
- }
21
- 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;
22
- //#endregion
1
+ import { a as PaginationItemSize, c as UsePaginationItem, i as PaginationItemShape, l as UsePaginationProps, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, s as PaginationItemType, t as PaginationItem, u as usePagination } from "./index-BwUnDd9W.mjs";
2
+ import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-Ca0Pj5m2.mjs";
23
3
  export { Pagination, PaginationColor, PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemType, PaginationItemVariant, PaginationProps, PaginationShape, PaginationSize, PaginationVariant, UsePaginationItem, UsePaginationProps, usePagination };
@@ -1,4 +1,4 @@
1
- import { a as createShouldForwardProp, c as props, d as styled, l as src_exports } from "./src-DcNT2aIK.mjs";
1
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
2
2
  import { PaginationItem } from "./Pagination/PaginationItem.mjs";
3
3
  import { useState } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
package/dist/Paper.cjs CHANGED
@@ -1,15 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BiocWFSR.cjs");
3
- const require_themeDefault = require("./themeDefault-B-QjpGEO.cjs");
2
+ const require_src = require("./src-C8PIppTy.cjs");
4
3
  const require_Flex = require("./Flex.cjs");
4
+ const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
5
+ const require_theme = require("./theme-Du6xgPsg.cjs");
5
6
  require("react");
6
7
  let react_jsx_runtime = require("react/jsx-runtime");
7
- let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
8
- let _emotion_react = require("@emotion/react");
9
8
  //#region src/Paper/Paper.tsx
10
- const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)([
9
+ const shouldForwardProp = (0, require("@soroush.tech/styled-system/should-forward-prop").createShouldForwardProp)([
11
10
  "elevation",
12
- "aspectRatio",
13
11
  "transition",
14
12
  "borderColor",
15
13
  "borderWidth",
@@ -20,7 +18,6 @@ const paperSystem = (0, require_src.src_exports.system)({
20
18
  property: "boxShadow",
21
19
  scale: "shadows"
22
20
  },
23
- aspectRatio: { property: "aspectRatio" },
24
21
  transition: { property: "transition" },
25
22
  borderColor: {
26
23
  property: "borderColor",
@@ -38,7 +35,7 @@ const PaperRoot = require_src.styled(require_Flex.Flex, {
38
35
  shouldForwardProp
39
36
  })(paperSystem);
40
37
  function Paper({ elevation = 1, p = 2, bg, borderRadius, ...rest }) {
41
- const theme = (0, _emotion_react.useTheme)();
38
+ const theme = require_theme.useTheme();
42
39
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PaperRoot, {
43
40
  elevation,
44
41
  p,
package/dist/Paper.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { n as PaperElevation, r as PaperProps, t as Paper } from "./index-x80UG39F.cjs";
1
+ import { n as PaperElevation, r as PaperProps, t as Paper } from "./index-CYTaYcm3.cjs";
2
2
  export { Paper, PaperElevation, PaperProps };
package/dist/Paper.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { n as PaperElevation, r as PaperProps, t as Paper } from "./index-BLRMuO_x.mjs";
1
+ import { n as PaperElevation, r as PaperProps, t as Paper } from "./index-KZUd8B5E.mjs";
2
2
  export { Paper, PaperElevation, PaperProps };
package/dist/Paper.mjs CHANGED
@@ -1,12 +1,12 @@
1
- import { a as createShouldForwardProp, d as styled, l as src_exports, u as useTheme } from "./src-DcNT2aIK.mjs";
2
- import { t as themeDefault } from "./themeDefault-CjXaY3ok.mjs";
1
+ import { a as src_exports, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
3
2
  import { Flex } from "./Flex.mjs";
3
+ import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
4
+ import { r as useTheme } from "./theme-V6lYzd3j.mjs";
4
5
  import "react";
5
6
  import { jsx } from "react/jsx-runtime";
6
7
  //#region src/Paper/Paper.tsx
7
8
  const shouldForwardProp = createShouldForwardProp([
8
9
  "elevation",
9
- "aspectRatio",
10
10
  "transition",
11
11
  "borderColor",
12
12
  "borderWidth",
@@ -17,7 +17,6 @@ const paperSystem = (0, src_exports.system)({
17
17
  property: "boxShadow",
18
18
  scale: "shadows"
19
19
  },
20
- aspectRatio: { property: "aspectRatio" },
21
20
  transition: { property: "transition" },
22
21
  borderColor: {
23
22
  property: "borderColor",
@@ -1,6 +1,7 @@
1
- import { a as createShouldForwardProp, d as styled, u as useTheme } from "./src-DcNT2aIK.mjs";
1
+ import { o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
2
+ import { r as useTheme } from "./theme-V6lYzd3j.mjs";
2
3
  import { Paper } from "./Paper.mjs";
3
- import { t as Modal } from "./Modal-DR60peRg.mjs";
4
+ import { t as Modal } from "./Modal-dy5l7gfH.mjs";
4
5
  import { useCallback, useEffect, useImperativeHandle, useLayoutEffect, useRef, useState } from "react";
5
6
  import { jsx } from "react/jsx-runtime";
6
7
  //#region src/Popover/utils/resolveAnchorEl.ts
@@ -1,10 +1,10 @@
1
- const require_src = require("./src-BiocWFSR.cjs");
1
+ const require_src = require("./src-C8PIppTy.cjs");
2
+ const require_theme = require("./theme-Du6xgPsg.cjs");
2
3
  const require_Paper = require("./Paper.cjs");
3
- const require_Modal = require("./Modal-BDMPTSXv.cjs");
4
+ const require_Modal = require("./Modal-DZH-DzMZ.cjs");
4
5
  let react = require("react");
5
6
  let react_jsx_runtime = require("react/jsx-runtime");
6
7
  let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
7
- let _emotion_react = require("@emotion/react");
8
8
  //#region src/Popover/utils/resolveAnchorEl.ts
9
9
  /** Resolves the `anchorEl` prop, which may be an element or a function returning one. */
10
10
  function resolveAnchorEl(anchorEl) {
@@ -166,7 +166,7 @@ const Surface = require_src.styled(require_Paper.Paper, {
166
166
  * (`anchorOrigin`/`transformOrigin`/`marginThreshold`).
167
167
  */
168
168
  function Popover({ open, children, anchorEl = null, anchorReference = "anchorEl", anchorPosition, anchorOrigin = ANCHOR_ORIGIN_DEFAULT, transformOrigin = ANCHOR_ORIGIN_DEFAULT, onClose, elevation = 8, marginThreshold = 2, container, action, slotProps, hasBackdrop = false, disableScrollLock = false, disableAriaHidden = false, shouldAutoFocus = true, shouldTrapFocus = true, shouldEnforceFocus = true, shouldRestoreFocus = true, shouldKeepMounted = false, layer = "modal" }) {
169
- const theme = (0, _emotion_react.useTheme)();
169
+ const theme = require_theme.useTheme();
170
170
  const positionerRef = (0, react.useRef)(null);
171
171
  const [isPositioned, setIsPositioned] = (0, react.useState)(false);
172
172
  const anchorTop = anchorPosition?.top;
package/dist/Popover.cjs CHANGED
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_Popover = require("./Popover-CRDLmywF.cjs");
2
+ const require_Popover = require("./Popover-pEVboMZO.cjs");
3
3
  exports.Popover = require_Popover.Popover;
@@ -1,6 +1,7 @@
1
- import { o as Theme } from "./index-Bihpwn75.cjs";
2
- import { n as PaperElevation, r as PaperProps } from "./index-x80UG39F.cjs";
3
- import { c as ModalCloseReason } from "./index-BX5-NfbX.cjs";
1
+ import "./index-DLJ-li1B.cjs";
2
+ import { h as Theme } from "./themes-CUV79qWU.cjs";
3
+ import { n as PaperElevation, r as PaperProps } from "./index-CYTaYcm3.cjs";
4
+ import { c as ModalCloseReason } from "./index-BfpjEqqt.cjs";
4
5
  import { ReactNode, Ref } from "react";
5
6
  //#region src/Popover/utils/resolveAnchorEl.d.ts
6
7
  type PopoverAnchorEl = HTMLElement | (() => HTMLElement | null) | null;
@@ -1,6 +1,7 @@
1
- import { o as Theme } from "./index-Dm9HfgV6.mjs";
2
- import { n as PaperElevation, r as PaperProps } from "./index-BLRMuO_x.mjs";
3
- import { c as ModalCloseReason } from "./index-Dy03o__A.mjs";
1
+ import { h as Theme } from "./themes-CUV79qWU.mjs";
2
+ import "./index-D8b5OCLe.mjs";
3
+ import { n as PaperElevation, r as PaperProps } from "./index-KZUd8B5E.mjs";
4
+ import { c as ModalCloseReason } from "./index-Ds__py2h.mjs";
4
5
  import { ReactNode, Ref } from "react";
5
6
  //#region src/Popover/utils/resolveAnchorEl.d.ts
6
7
  type PopoverAnchorEl = HTMLElement | (() => HTMLElement | null) | null;
package/dist/Popover.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { t as Popover } from "./Popover-B61J7C79.mjs";
1
+ import { t as Popover } from "./Popover-Chgtjn-N.mjs";
2
2
  export { Popover };
@@ -0,0 +1,123 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_src = require("./src-C8PIppTy.cjs");
3
+ const require_themeDefault = require("./themeDefault-Cebi08Cv.cjs");
4
+ const require_utils = require("./utils.cjs");
5
+ const require_theme = require("./theme-Du6xgPsg.cjs");
6
+ require("react");
7
+ let react_jsx_runtime = require("react/jsx-runtime");
8
+ let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
9
+ //#region src/Pressable/Pressable.tsx
10
+ const shouldForwardProp = (0, _soroush_tech_styled_system_should_forward_prop.createShouldForwardProp)([
11
+ ..._soroush_tech_styled_system_should_forward_prop.props,
12
+ "feedback",
13
+ "activeOpacity",
14
+ "isDisabled"
15
+ ]);
16
+ const baseStyles = {
17
+ appearance: "none",
18
+ margin: 0,
19
+ padding: 0,
20
+ border: "none",
21
+ borderRadius: 0,
22
+ backgroundColor: "transparent",
23
+ color: "inherit",
24
+ font: "inherit",
25
+ textAlign: "inherit",
26
+ textDecoration: "none",
27
+ outline: "none",
28
+ cursor: "pointer",
29
+ display: "inline-flex",
30
+ userSelect: "none",
31
+ transition: "background-color 0.15s ease, opacity 0.15s ease",
32
+ "&:disabled, &[aria-disabled=\"true\"]": { cursor: "not-allowed" }
33
+ };
34
+ const feedbackStyles = ({ theme, feedback, color, activeOpacity, isDisabled }) => {
35
+ if (isDisabled || feedback === "none") return {};
36
+ if (feedback === "opacity") return { "&:active": { opacity: activeOpacity } };
37
+ return { "&:active": { backgroundColor: require_utils.alpha(theme.palette[color].main, .125) } };
38
+ };
39
+ const focusVisibleStyles = ({ theme }) => ({ "&:focus-visible": {
40
+ outline: `2px solid ${theme.palette[require_themeDefault.themeDefault(theme, "color", "primary")].main}`,
41
+ outlineOffset: "2px"
42
+ } });
43
+ const PressableRoot = require_src.styled("div", {
44
+ name: "Pressable",
45
+ label: "Pressable",
46
+ shouldForwardProp,
47
+ systemProps: [
48
+ require_src.src_exports.space,
49
+ require_src.src_exports.layout,
50
+ require_src.src_exports.typography,
51
+ require_src.src_exports.border
52
+ ]
53
+ })(baseStyles, feedbackStyles, focusVisibleStyles);
54
+ /**
55
+ * An unstyled clickable surface — button semantics (keyboard activation, focus
56
+ * ring, disabled state) with none of a button's looks, so it can wrap arbitrary
57
+ * content without changing its layout. Use it instead of an `onClick` on a
58
+ * `div`, which no keyboard or screen-reader user can reach.
59
+ *
60
+ * It renders a `div` by default, because `<button>` may not legally contain a
61
+ * link, another button, or block-level content — the shim gives that div a
62
+ * `role`, a tab stop, and Enter/Space activation, so it is announced and
63
+ * operated as a button either way. Pass `as="button"` for a native button, or
64
+ * `href` for an anchor; both skip the shim and let the browser do the work.
65
+ *
66
+ * `feedback` picks what happens while it is held: nothing (default), the content
67
+ * dims, or the surface tints.
68
+ */
69
+ function Pressable({ as, feedback, color, activeOpacity, href, type = "button", disabled = false, onClick, onKeyDown, onKeyUp, ...rest }) {
70
+ const theme = require_theme.useTheme();
71
+ const dp = require_theme.useDefaultProps("Pressable");
72
+ const resolvedFeedback = feedback ?? dp.feedback ?? "none";
73
+ const resolvedColor = color ?? dp.color ?? require_themeDefault.themeDefault(theme, "color", "primary");
74
+ const resolvedActiveOpacity = activeOpacity ?? dp.activeOpacity ?? .7;
75
+ const element = as ?? (href == null ? "div" : "a");
76
+ const isButton = element === "button";
77
+ const needsShim = !isButton && element !== "a";
78
+ const activate = (event) => {
79
+ event.preventDefault();
80
+ event.currentTarget.click();
81
+ };
82
+ const handleClick = (event) => {
83
+ if (disabled) {
84
+ event.preventDefault();
85
+ return;
86
+ }
87
+ onClick?.(event);
88
+ };
89
+ const handleKeyDown = (event) => {
90
+ onKeyDown?.(event);
91
+ if (disabled) return;
92
+ if (event.key === "Enter") activate(event);
93
+ else if (event.key === " ") event.preventDefault();
94
+ };
95
+ const handleKeyUp = (event) => {
96
+ onKeyUp?.(event);
97
+ if (!disabled && event.key === " ") activate(event);
98
+ };
99
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PressableRoot, {
100
+ as: element,
101
+ href,
102
+ type: isButton ? type : void 0,
103
+ disabled: isButton ? disabled : void 0,
104
+ feedback: resolvedFeedback,
105
+ color: resolvedColor,
106
+ activeOpacity: resolvedActiveOpacity,
107
+ isDisabled: disabled,
108
+ onClick: handleClick,
109
+ ...needsShim ? {
110
+ role: "button",
111
+ tabIndex: disabled ? -1 : 0,
112
+ "aria-disabled": disabled || void 0,
113
+ onKeyDown: handleKeyDown,
114
+ onKeyUp: handleKeyUp
115
+ } : {
116
+ onKeyDown,
117
+ onKeyUp
118
+ },
119
+ ...rest
120
+ });
121
+ }
122
+ //#endregion
123
+ exports.Pressable = Pressable;
@@ -0,0 +1,2 @@
1
+ import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-dtLxevvf.cjs";
2
+ export { Pressable, PressableColor, PressableFeedback, PressableProps };
@@ -0,0 +1,2 @@
1
+ import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-CO3Qq0I0.mjs";
2
+ export { Pressable, PressableColor, PressableFeedback, PressableProps };
@@ -0,0 +1,121 @@
1
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BJy4dM4f.mjs";
2
+ import { t as themeDefault } from "./themeDefault-Z3KmyIbm.mjs";
3
+ import { alpha } from "./utils.mjs";
4
+ import { n as useDefaultProps, r as useTheme } from "./theme-V6lYzd3j.mjs";
5
+ import "react";
6
+ import { jsx } from "react/jsx-runtime";
7
+ //#region src/Pressable/Pressable.tsx
8
+ const shouldForwardProp = createShouldForwardProp([
9
+ ...props,
10
+ "feedback",
11
+ "activeOpacity",
12
+ "isDisabled"
13
+ ]);
14
+ const baseStyles = {
15
+ appearance: "none",
16
+ margin: 0,
17
+ padding: 0,
18
+ border: "none",
19
+ borderRadius: 0,
20
+ backgroundColor: "transparent",
21
+ color: "inherit",
22
+ font: "inherit",
23
+ textAlign: "inherit",
24
+ textDecoration: "none",
25
+ outline: "none",
26
+ cursor: "pointer",
27
+ display: "inline-flex",
28
+ userSelect: "none",
29
+ transition: "background-color 0.15s ease, opacity 0.15s ease",
30
+ "&:disabled, &[aria-disabled=\"true\"]": { cursor: "not-allowed" }
31
+ };
32
+ const feedbackStyles = ({ theme, feedback, color, activeOpacity, isDisabled }) => {
33
+ if (isDisabled || feedback === "none") return {};
34
+ if (feedback === "opacity") return { "&:active": { opacity: activeOpacity } };
35
+ return { "&:active": { backgroundColor: alpha(theme.palette[color].main, .125) } };
36
+ };
37
+ const focusVisibleStyles = ({ theme }) => ({ "&:focus-visible": {
38
+ outline: `2px solid ${theme.palette[themeDefault(theme, "color", "primary")].main}`,
39
+ outlineOffset: "2px"
40
+ } });
41
+ const PressableRoot = styled("div", {
42
+ name: "Pressable",
43
+ label: "Pressable",
44
+ shouldForwardProp,
45
+ systemProps: [
46
+ src_exports.space,
47
+ src_exports.layout,
48
+ src_exports.typography,
49
+ src_exports.border
50
+ ]
51
+ })(baseStyles, feedbackStyles, focusVisibleStyles);
52
+ /**
53
+ * An unstyled clickable surface — button semantics (keyboard activation, focus
54
+ * ring, disabled state) with none of a button's looks, so it can wrap arbitrary
55
+ * content without changing its layout. Use it instead of an `onClick` on a
56
+ * `div`, which no keyboard or screen-reader user can reach.
57
+ *
58
+ * It renders a `div` by default, because `<button>` may not legally contain a
59
+ * link, another button, or block-level content — the shim gives that div a
60
+ * `role`, a tab stop, and Enter/Space activation, so it is announced and
61
+ * operated as a button either way. Pass `as="button"` for a native button, or
62
+ * `href` for an anchor; both skip the shim and let the browser do the work.
63
+ *
64
+ * `feedback` picks what happens while it is held: nothing (default), the content
65
+ * dims, or the surface tints.
66
+ */
67
+ function Pressable({ as, feedback, color, activeOpacity, href, type = "button", disabled = false, onClick, onKeyDown, onKeyUp, ...rest }) {
68
+ const theme = useTheme();
69
+ const dp = useDefaultProps("Pressable");
70
+ const resolvedFeedback = feedback ?? dp.feedback ?? "none";
71
+ const resolvedColor = color ?? dp.color ?? themeDefault(theme, "color", "primary");
72
+ const resolvedActiveOpacity = activeOpacity ?? dp.activeOpacity ?? .7;
73
+ const element = as ?? (href == null ? "div" : "a");
74
+ const isButton = element === "button";
75
+ const needsShim = !isButton && element !== "a";
76
+ const activate = (event) => {
77
+ event.preventDefault();
78
+ event.currentTarget.click();
79
+ };
80
+ const handleClick = (event) => {
81
+ if (disabled) {
82
+ event.preventDefault();
83
+ return;
84
+ }
85
+ onClick?.(event);
86
+ };
87
+ const handleKeyDown = (event) => {
88
+ onKeyDown?.(event);
89
+ if (disabled) return;
90
+ if (event.key === "Enter") activate(event);
91
+ else if (event.key === " ") event.preventDefault();
92
+ };
93
+ const handleKeyUp = (event) => {
94
+ onKeyUp?.(event);
95
+ if (!disabled && event.key === " ") activate(event);
96
+ };
97
+ return /* @__PURE__ */ jsx(PressableRoot, {
98
+ as: element,
99
+ href,
100
+ type: isButton ? type : void 0,
101
+ disabled: isButton ? disabled : void 0,
102
+ feedback: resolvedFeedback,
103
+ color: resolvedColor,
104
+ activeOpacity: resolvedActiveOpacity,
105
+ isDisabled: disabled,
106
+ onClick: handleClick,
107
+ ...needsShim ? {
108
+ role: "button",
109
+ tabIndex: disabled ? -1 : 0,
110
+ "aria-disabled": disabled || void 0,
111
+ onKeyDown: handleKeyDown,
112
+ onKeyUp: handleKeyUp
113
+ } : {
114
+ onKeyDown,
115
+ onKeyUp
116
+ },
117
+ ...rest
118
+ });
119
+ }
120
+ //#endregion
121
+ export { Pressable };
package/dist/Quote.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-BiocWFSR.cjs");
2
+ const require_src = require("./src-C8PIppTy.cjs");
3
3
  const require_View = require("./View.cjs");
4
4
  //#region src/Quote/Quote.tsx
5
5
  /** A View with a 2px primary left-border — used for terminal readouts and markdown blockquotes. */
package/dist/Quote.d.cts CHANGED
@@ -1,2 +1,14 @@
1
- import { n as QuoteProps, t as Quote } from "./index-DeiZHSwA.cjs";
1
+ import "./index-DLJ-li1B.cjs";
2
+ import { h as Theme } from "./themes-CUV79qWU.cjs";
3
+ import { s as ViewProps } from "./index-DjtGkwRM.cjs";
4
+ //#region src/Quote/Quote.d.ts
5
+ type QuoteProps = ViewProps;
6
+ /** A View with a 2px primary left-border — used for terminal readouts and markdown blockquotes. */
7
+ declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
8
+ theme?: Theme;
9
+ as?: React.ElementType;
10
+ } & ViewProps & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "p" | "slot" | "style" | "title" | "ref" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "aspectRatio" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "bottom" | "columnGap" | "cursor" | "display" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "height" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "order" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textAlignLast" | "textDecorationColor" | "textDecorationLine" | "textDecorationStyle" | "textDecorationThickness" | "textOverflow" | "textTransform" | "top" | "verticalAlign" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "gap" | "margin" | "overflow" | "padding" | "textDecoration" | "borderX" | "borderY" | "theme" | "as" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size"> & {
11
+ theme?: Theme;
12
+ }, {}, {}>;
13
+ //#endregion
2
14
  export { Quote, QuoteProps };