@soroush.tech/design-system 2.1.1 → 2.1.2-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (492) hide show
  1. package/README.md +12 -3
  2. package/dist/Accordion/Accordion.cjs +1 -1
  3. package/dist/Accordion/Accordion.d.cts +5 -6
  4. package/dist/Accordion/Accordion.d.mts +5 -6
  5. package/dist/Accordion/Accordion.mjs +2 -2
  6. package/dist/Accordion/AccordionActions.cjs +1 -1
  7. package/dist/Accordion/AccordionActions.d.cts +2 -3
  8. package/dist/Accordion/AccordionActions.d.mts +2 -3
  9. package/dist/Accordion/AccordionActions.mjs +1 -1
  10. package/dist/Accordion/AccordionDetails.cjs +1 -1
  11. package/dist/Accordion/AccordionDetails.d.cts +2 -3
  12. package/dist/Accordion/AccordionDetails.d.mts +2 -3
  13. package/dist/Accordion/AccordionDetails.mjs +1 -1
  14. package/dist/Accordion/AccordionGroup.cjs +1 -1
  15. package/dist/Accordion/AccordionGroup.d.cts +4 -5
  16. package/dist/Accordion/AccordionGroup.d.mts +4 -5
  17. package/dist/Accordion/AccordionGroup.mjs +2 -2
  18. package/dist/Accordion/AccordionSummary.cjs +2 -2
  19. package/dist/Accordion/AccordionSummary.d.cts +3 -4
  20. package/dist/Accordion/AccordionSummary.d.mts +3 -4
  21. package/dist/Accordion/AccordionSummary.mjs +3 -3
  22. package/dist/Alert/Alert.cjs +3 -3
  23. package/dist/Alert/Alert.d.cts +5 -6
  24. package/dist/Alert/Alert.d.mts +5 -6
  25. package/dist/Alert/Alert.mjs +4 -4
  26. package/dist/Alert/AlertTitle.cjs +1 -1
  27. package/dist/Alert/AlertTitle.d.cts +2 -3
  28. package/dist/Alert/AlertTitle.d.mts +2 -3
  29. package/dist/Alert/AlertTitle.mjs +1 -1
  30. package/dist/AppBar.cjs +2 -2
  31. package/dist/AppBar.d.cts +6 -7
  32. package/dist/AppBar.d.mts +6 -7
  33. package/dist/AppBar.mjs +2 -2
  34. package/dist/Autocomplete.cjs +6 -6
  35. package/dist/Autocomplete.d.cts +6 -6
  36. package/dist/Autocomplete.d.mts +6 -6
  37. package/dist/Autocomplete.mjs +7 -7
  38. package/dist/Avatar.cjs +2 -2
  39. package/dist/Avatar.d.cts +8 -8
  40. package/dist/Avatar.d.mts +8 -8
  41. package/dist/Avatar.mjs +3 -3
  42. package/dist/Backdrop.cjs +1 -1
  43. package/dist/Backdrop.d.cts +3 -4
  44. package/dist/Backdrop.d.mts +3 -4
  45. package/dist/Backdrop.mjs +1 -1
  46. package/dist/Badge.cjs +1 -1
  47. package/dist/Badge.d.cts +7 -8
  48. package/dist/Badge.d.mts +7 -8
  49. package/dist/Badge.mjs +2 -2
  50. package/dist/Breadcrumbs.cjs +2 -2
  51. package/dist/Breadcrumbs.d.cts +5 -6
  52. package/dist/Breadcrumbs.d.mts +5 -6
  53. package/dist/Breadcrumbs.mjs +3 -3
  54. package/dist/Button.cjs +4 -4
  55. package/dist/Button.d.cts +46 -2
  56. package/dist/Button.d.mts +1 -1
  57. package/dist/Button.mjs +4 -4
  58. package/dist/ButtonGroup.cjs +2 -2
  59. package/dist/ButtonGroup.d.cts +38 -2
  60. package/dist/ButtonGroup.d.mts +1 -1
  61. package/dist/ButtonGroup.mjs +2 -2
  62. package/dist/Card.cjs +4 -4
  63. package/dist/Card.d.cts +7 -8
  64. package/dist/Card.d.mts +7 -8
  65. package/dist/Card.mjs +4 -4
  66. package/dist/Checkbox.cjs +2 -2
  67. package/dist/Checkbox.d.cts +5 -6
  68. package/dist/Checkbox.d.mts +5 -6
  69. package/dist/Checkbox.mjs +2 -2
  70. package/dist/Chip.cjs +3 -3
  71. package/dist/Chip.d.cts +7 -8
  72. package/dist/Chip.d.mts +7 -8
  73. package/dist/Chip.mjs +4 -4
  74. package/dist/CircularProgress.cjs +1 -1
  75. package/dist/CircularProgress.d.cts +7 -8
  76. package/dist/CircularProgress.d.mts +7 -8
  77. package/dist/CircularProgress.mjs +1 -1
  78. package/dist/Collapse.cjs +1 -1
  79. package/dist/Collapse.d.cts +33 -2
  80. package/dist/Collapse.d.mts +1 -1
  81. package/dist/Collapse.mjs +2 -2
  82. package/dist/Drawer.cjs +2 -2
  83. package/dist/Drawer.d.cts +9 -10
  84. package/dist/Drawer.d.mts +9 -10
  85. package/dist/Drawer.mjs +2 -2
  86. package/dist/Fab.cjs +1 -1
  87. package/dist/Fab.d.cts +30 -2
  88. package/dist/Fab.d.mts +1 -1
  89. package/dist/Fab.mjs +2 -2
  90. package/dist/FabMenu/FabMenu.cjs +1 -1
  91. package/dist/FabMenu/FabMenu.d.cts +5 -6
  92. package/dist/FabMenu/FabMenu.d.mts +5 -6
  93. package/dist/FabMenu/FabMenu.mjs +1 -1
  94. package/dist/FabMenu/FabMenuItem.d.cts +3 -4
  95. package/dist/FabMenu/FabMenuItem.d.mts +3 -4
  96. package/dist/{FabMenu-fQGSZCjr.cjs → FabMenu-CvHrONFi.cjs} +4 -4
  97. package/dist/{FabMenu-BqBhZs0S.mjs → FabMenu-JJzhFdJP.mjs} +5 -5
  98. package/dist/FabMenu.cjs +1 -1
  99. package/dist/FabMenu.mjs +1 -1
  100. package/dist/Fade.cjs +1 -1
  101. package/dist/Fade.d.cts +3 -4
  102. package/dist/Fade.d.mts +3 -4
  103. package/dist/Fade.mjs +1 -1
  104. package/dist/Flex.cjs +1 -1
  105. package/dist/Flex.d.cts +1 -1
  106. package/dist/Flex.d.mts +1 -1
  107. package/dist/Flex.mjs +1 -1
  108. package/dist/FocusTrap.cjs +1 -1
  109. package/dist/FocusTrap.d.cts +2 -3
  110. package/dist/FocusTrap.d.mts +2 -3
  111. package/dist/FocusTrap.mjs +1 -1
  112. package/dist/Form.cjs +1 -1
  113. package/dist/Form.d.cts +5 -6
  114. package/dist/Form.d.mts +5 -6
  115. package/dist/Form.mjs +1 -1
  116. package/dist/FormControl.cjs +3 -3
  117. package/dist/FormControl.d.cts +8 -9
  118. package/dist/FormControl.d.mts +8 -9
  119. package/dist/FormControl.mjs +3 -3
  120. package/dist/FormHelperText.cjs +1 -1
  121. package/dist/FormHelperText.d.cts +3 -4
  122. package/dist/FormHelperText.d.mts +3 -4
  123. package/dist/FormHelperText.mjs +1 -1
  124. package/dist/FormLabel.cjs +1 -1
  125. package/dist/FormLabel.d.cts +3 -4
  126. package/dist/FormLabel.d.mts +3 -4
  127. package/dist/FormLabel.mjs +1 -1
  128. package/dist/Grid.cjs +1 -1
  129. package/dist/Grid.d.cts +5 -6
  130. package/dist/Grid.d.mts +5 -6
  131. package/dist/Grid.mjs +1 -1
  132. package/dist/Grow.cjs +1 -1
  133. package/dist/Grow.d.cts +3 -4
  134. package/dist/Grow.d.mts +3 -4
  135. package/dist/Grow.mjs +1 -1
  136. package/dist/{Icon-C5Iz5ekp.cjs → Icon-C4QMiNHJ.cjs} +1 -1
  137. package/dist/{Icon-XpXU-SuF.mjs → Icon-gVHlFgdH.mjs} +2 -2
  138. package/dist/Icon.cjs +1 -1
  139. package/dist/Icon.d.cts +1 -1
  140. package/dist/Icon.d.mts +1 -1
  141. package/dist/Icon.mjs +1 -1
  142. package/dist/Image.cjs +1 -1
  143. package/dist/Image.d.cts +3 -4
  144. package/dist/Image.d.mts +3 -4
  145. package/dist/Image.mjs +1 -1
  146. package/dist/LinearProgress.cjs +1 -1
  147. package/dist/LinearProgress.d.cts +7 -8
  148. package/dist/LinearProgress.d.mts +7 -8
  149. package/dist/LinearProgress.mjs +1 -1
  150. package/dist/Link.cjs +2 -2
  151. package/dist/Link.d.cts +4 -5
  152. package/dist/Link.d.mts +4 -5
  153. package/dist/Link.mjs +3 -3
  154. package/dist/Menu/ContextMenu.cjs +3 -3
  155. package/dist/Menu/ContextMenu.d.cts +9 -9
  156. package/dist/Menu/ContextMenu.d.mts +9 -9
  157. package/dist/Menu/ContextMenu.mjs +4 -4
  158. package/dist/Menu/Menu.cjs +1 -1
  159. package/dist/Menu/Menu.d.cts +1 -1
  160. package/dist/Menu/Menu.d.mts +1 -1
  161. package/dist/Menu/Menu.mjs +1 -1
  162. package/dist/Menu/MenuDivider.cjs +1 -1
  163. package/dist/Menu/MenuDivider.d.cts +2 -3
  164. package/dist/Menu/MenuDivider.d.mts +2 -3
  165. package/dist/Menu/MenuDivider.mjs +1 -1
  166. package/dist/Menu/MenuItems.cjs +1 -1
  167. package/dist/Menu/MenuItems.d.cts +32 -2
  168. package/dist/Menu/MenuItems.d.mts +1 -1
  169. package/dist/Menu/MenuItems.mjs +1 -1
  170. package/dist/Menu/MenuList.cjs +1 -1
  171. package/dist/Menu/MenuList.d.cts +44 -3
  172. package/dist/Menu/MenuList.d.mts +2 -2
  173. package/dist/Menu/MenuList.mjs +1 -1
  174. package/dist/{Menu-ULMXG0BP.mjs → Menu-31GXflmP.mjs} +5 -5
  175. package/dist/{Menu-DiBVHD7B.cjs → Menu-CTqplttU.cjs} +4 -4
  176. package/dist/Menu.cjs +2 -2
  177. package/dist/Menu.d.cts +4 -4
  178. package/dist/Menu.d.mts +4 -4
  179. package/dist/Menu.mjs +2 -2
  180. package/dist/{MenuItem-BChqYIsh.cjs → MenuItem-Be4xFEww.cjs} +5 -5
  181. package/dist/{MenuItem-Kvciwc9F.mjs → MenuItem-DfS3Q2Ha.mjs} +6 -6
  182. package/dist/MenuItem.cjs +1 -1
  183. package/dist/MenuItem.d.cts +73 -2
  184. package/dist/MenuItem.d.mts +1 -1
  185. package/dist/MenuItem.mjs +1 -1
  186. package/dist/{MenuList-BUTy11DW.mjs → MenuList-CoLoldE2.mjs} +2 -2
  187. package/dist/{MenuList-CpPmRGzw.cjs → MenuList-Cr9L4x9N.cjs} +1 -1
  188. package/dist/{MenuListContext-BN1VV12-.d.mts → MenuListContext-BIcjLUEc.d.cts} +2 -2
  189. package/dist/{MenuListContext-BkQzp2DA.d.cts → MenuListContext-D976fSth.d.mts} +2 -2
  190. package/dist/{Modal-gQcAJAKH.cjs → Modal-6SWc5gG5.cjs} +1 -1
  191. package/dist/{Modal-DR4TRQSH.mjs → Modal-EH6RduGc.mjs} +1 -1
  192. package/dist/Modal.cjs +1 -1
  193. package/dist/Modal.d.cts +91 -2
  194. package/dist/Modal.d.mts +1 -1
  195. package/dist/Modal.mjs +1 -1
  196. package/dist/NativeSelect.cjs +4 -4
  197. package/dist/NativeSelect.d.cts +10 -11
  198. package/dist/NativeSelect.d.mts +10 -11
  199. package/dist/NativeSelect.mjs +5 -5
  200. package/dist/NavTree/NavGroup.cjs +1 -1
  201. package/dist/NavTree/NavGroup.d.cts +2 -3
  202. package/dist/NavTree/NavGroup.d.mts +2 -3
  203. package/dist/NavTree/NavGroup.mjs +1 -1
  204. package/dist/NavTree/NavLink.cjs +2 -2
  205. package/dist/NavTree/NavLink.d.cts +3 -4
  206. package/dist/NavTree/NavLink.d.mts +3 -4
  207. package/dist/NavTree/NavLink.mjs +2 -2
  208. package/dist/NavTree/NavTree.cjs +1 -1
  209. package/dist/NavTree/NavTree.d.cts +3 -4
  210. package/dist/NavTree/NavTree.d.mts +3 -4
  211. package/dist/NavTree/NavTree.mjs +1 -1
  212. package/dist/NavTree.d.cts +1 -1
  213. package/dist/NavTree.d.mts +1 -1
  214. package/dist/NumberInput.cjs +6 -6
  215. package/dist/NumberInput.d.cts +5 -6
  216. package/dist/NumberInput.d.mts +5 -6
  217. package/dist/NumberInput.mjs +7 -7
  218. package/dist/Pagination/PaginationItem.cjs +2 -2
  219. package/dist/Pagination/PaginationItem.d.cts +1 -1
  220. package/dist/Pagination/PaginationItem.d.mts +1 -1
  221. package/dist/Pagination/PaginationItem.mjs +2 -2
  222. package/dist/Pagination.cjs +1 -1
  223. package/dist/Pagination.d.cts +22 -3
  224. package/dist/Pagination.d.mts +2 -2
  225. package/dist/Pagination.mjs +1 -1
  226. package/dist/Paper.cjs +2 -2
  227. package/dist/Paper.d.cts +1 -2
  228. package/dist/Paper.d.mts +2 -2
  229. package/dist/Paper.mjs +3 -3
  230. package/dist/{Popover-BniabG7D.cjs → Popover-CPB9wIFY.cjs} +3 -3
  231. package/dist/{Popover-Dnmeo0Av.mjs → Popover-JCnuplk4.mjs} +4 -4
  232. package/dist/Popover.cjs +1 -1
  233. package/dist/Popover.d.cts +7 -7
  234. package/dist/Popover.d.mts +7 -7
  235. package/dist/Popover.mjs +1 -1
  236. package/dist/Portal.d.cts +15 -2
  237. package/dist/Pressable.cjs +3 -3
  238. package/dist/Pressable.d.cts +46 -2
  239. package/dist/Pressable.d.mts +1 -1
  240. package/dist/Pressable.mjs +3 -3
  241. package/dist/Quote.cjs +1 -1
  242. package/dist/Quote.d.cts +5 -6
  243. package/dist/Quote.d.mts +5 -6
  244. package/dist/Quote.mjs +1 -1
  245. package/dist/Radio.cjs +2 -2
  246. package/dist/Radio.d.cts +5 -6
  247. package/dist/Radio.d.mts +5 -6
  248. package/dist/Radio.mjs +2 -2
  249. package/dist/RangeInput.cjs +3 -3
  250. package/dist/RangeInput.d.cts +7 -7
  251. package/dist/RangeInput.d.mts +7 -7
  252. package/dist/RangeInput.mjs +4 -4
  253. package/dist/Rating.cjs +5 -5
  254. package/dist/Rating.d.cts +3 -4
  255. package/dist/Rating.d.mts +3 -4
  256. package/dist/Rating.mjs +6 -6
  257. package/dist/ScrollArea.cjs +1 -1
  258. package/dist/ScrollArea.d.cts +5 -5
  259. package/dist/ScrollArea.d.mts +5 -5
  260. package/dist/ScrollArea.mjs +2 -2
  261. package/dist/Select.cjs +6 -6
  262. package/dist/Select.d.cts +10 -10
  263. package/dist/Select.d.mts +10 -10
  264. package/dist/Select.mjs +6 -6
  265. package/dist/Sidebar/Sidebar.cjs +1 -1
  266. package/dist/Sidebar/Sidebar.d.cts +3 -4
  267. package/dist/Sidebar/Sidebar.d.mts +3 -4
  268. package/dist/Sidebar/Sidebar.mjs +1 -1
  269. package/dist/Sidebar/SidebarItem.cjs +4 -4
  270. package/dist/Sidebar/SidebarItem.d.cts +6 -7
  271. package/dist/Sidebar/SidebarItem.d.mts +6 -7
  272. package/dist/Sidebar/SidebarItem.mjs +4 -4
  273. package/dist/Sidebar.d.cts +1 -1
  274. package/dist/Sidebar.d.mts +1 -1
  275. package/dist/Skeleton.cjs +1 -1
  276. package/dist/Skeleton.d.cts +6 -7
  277. package/dist/Skeleton.d.mts +6 -7
  278. package/dist/Skeleton.mjs +1 -1
  279. package/dist/Slide.cjs +1 -1
  280. package/dist/Slide.d.cts +4 -5
  281. package/dist/Slide.d.mts +4 -5
  282. package/dist/Slide.mjs +1 -1
  283. package/dist/Snackbar.cjs +3 -3
  284. package/dist/Snackbar.d.cts +8 -9
  285. package/dist/Snackbar.d.mts +7 -8
  286. package/dist/Snackbar.mjs +4 -4
  287. package/dist/Switch.cjs +3 -3
  288. package/dist/Switch.d.cts +7 -8
  289. package/dist/Switch.d.mts +7 -8
  290. package/dist/Switch.mjs +3 -3
  291. package/dist/Table/Table.cjs +1 -1
  292. package/dist/Table/Table.d.cts +8 -9
  293. package/dist/Table/Table.d.mts +8 -9
  294. package/dist/Table/Table.mjs +1 -1
  295. package/dist/Table/TableBody.cjs +1 -1
  296. package/dist/Table/TableBody.d.cts +6 -7
  297. package/dist/Table/TableBody.d.mts +6 -7
  298. package/dist/Table/TableBody.mjs +1 -1
  299. package/dist/Table/TableCell.cjs +2 -2
  300. package/dist/Table/TableCell.d.cts +1 -1
  301. package/dist/Table/TableCell.d.mts +1 -1
  302. package/dist/Table/TableCell.mjs +2 -2
  303. package/dist/Table/TableContainer.cjs +1 -1
  304. package/dist/Table/TableContainer.d.cts +4 -5
  305. package/dist/Table/TableContainer.d.mts +4 -5
  306. package/dist/Table/TableContainer.mjs +1 -1
  307. package/dist/Table/TableControl.d.cts +3 -4
  308. package/dist/Table/TableControl.d.mts +3 -4
  309. package/dist/Table/TableFooter.cjs +1 -1
  310. package/dist/Table/TableFooter.d.cts +6 -7
  311. package/dist/Table/TableFooter.d.mts +6 -7
  312. package/dist/Table/TableFooter.mjs +1 -1
  313. package/dist/Table/TableHead.cjs +1 -1
  314. package/dist/Table/TableHead.d.cts +6 -7
  315. package/dist/Table/TableHead.d.mts +6 -7
  316. package/dist/Table/TableHead.mjs +1 -1
  317. package/dist/Table/TablePagination.cjs +2 -2
  318. package/dist/Table/TablePagination.d.cts +5 -6
  319. package/dist/Table/TablePagination.d.mts +5 -6
  320. package/dist/Table/TablePagination.mjs +2 -2
  321. package/dist/Table/TablePaginationActions.cjs +2 -2
  322. package/dist/Table/TablePaginationActions.d.cts +28 -2
  323. package/dist/Table/TablePaginationActions.d.mts +1 -1
  324. package/dist/Table/TablePaginationActions.mjs +3 -3
  325. package/dist/Table/TableRow.cjs +2 -2
  326. package/dist/Table/TableRow.d.cts +6 -7
  327. package/dist/Table/TableRow.d.mts +6 -7
  328. package/dist/Table/TableRow.mjs +2 -2
  329. package/dist/Table/TableSortLabel.cjs +2 -2
  330. package/dist/Table/TableSortLabel.d.cts +22 -2
  331. package/dist/Table/TableSortLabel.d.mts +1 -1
  332. package/dist/Table/TableSortLabel.mjs +2 -2
  333. package/dist/Table/hooks.d.cts +6 -6
  334. package/dist/Table/hooks.d.mts +6 -6
  335. package/dist/Table.d.cts +6 -6
  336. package/dist/Table.d.mts +6 -6
  337. package/dist/{TableContext-BNwokJ3f.d.cts → TableContext-BsJpQ-9A.d.cts} +1 -1
  338. package/dist/{TableContext-jOlk5jxs.d.mts → TableContext-rP21CNyq.d.mts} +1 -1
  339. package/dist/Tabs/Tab.cjs +4 -4
  340. package/dist/Tabs/Tab.d.cts +5 -6
  341. package/dist/Tabs/Tab.d.mts +5 -6
  342. package/dist/Tabs/Tab.mjs +5 -5
  343. package/dist/Tabs/TabContext.d.cts +3 -4
  344. package/dist/Tabs/TabContext.d.mts +3 -4
  345. package/dist/Tabs/TabList.cjs +1 -1
  346. package/dist/Tabs/TabList.d.cts +3 -4
  347. package/dist/Tabs/TabList.d.mts +3 -4
  348. package/dist/Tabs/TabList.mjs +1 -1
  349. package/dist/Tabs/TabPanel.cjs +2 -2
  350. package/dist/Tabs/TabPanel.d.cts +4 -5
  351. package/dist/Tabs/TabPanel.d.mts +4 -5
  352. package/dist/Tabs/TabPanel.mjs +3 -3
  353. package/dist/Tabs/TabScrollButton.cjs +3 -3
  354. package/dist/Tabs/TabScrollButton.d.cts +31 -2
  355. package/dist/Tabs/TabScrollButton.d.mts +1 -1
  356. package/dist/Tabs/TabScrollButton.mjs +4 -4
  357. package/dist/Tabs/Tabs.cjs +1 -1
  358. package/dist/Tabs/Tabs.d.cts +104 -3
  359. package/dist/Tabs/Tabs.d.mts +2 -2
  360. package/dist/Tabs/Tabs.mjs +1 -1
  361. package/dist/{Tabs-t2KrGCQo.mjs → Tabs-DPCVKt9p.mjs} +9 -9
  362. package/dist/{Tabs-BqYnn6OV.cjs → Tabs-DipA7I2c.cjs} +8 -8
  363. package/dist/Tabs.cjs +1 -1
  364. package/dist/Tabs.d.cts +3 -3
  365. package/dist/Tabs.d.mts +3 -3
  366. package/dist/Tabs.mjs +1 -1
  367. package/dist/{TabsContext-D5E7s9i5.d.mts → TabsContext-DkPIvEhN.d.cts} +1 -1
  368. package/dist/{TabsContext-i57cha5W.d.cts → TabsContext-cm-4w5HV.d.mts} +1 -1
  369. package/dist/TextInput.cjs +4 -4
  370. package/dist/TextInput.d.cts +8 -9
  371. package/dist/TextInput.d.mts +8 -9
  372. package/dist/TextInput.mjs +5 -5
  373. package/dist/ToggleButton/ToggleButton.cjs +5 -5
  374. package/dist/ToggleButton/ToggleButton.d.cts +3 -4
  375. package/dist/ToggleButton/ToggleButton.d.mts +3 -4
  376. package/dist/ToggleButton/ToggleButton.mjs +6 -6
  377. package/dist/ToggleButton/ToggleButtonGroup.cjs +3 -3
  378. package/dist/ToggleButton/ToggleButtonGroup.d.cts +3 -4
  379. package/dist/ToggleButton/ToggleButtonGroup.d.mts +3 -4
  380. package/dist/ToggleButton/ToggleButtonGroup.mjs +4 -4
  381. package/dist/ToggleButton.d.cts +1 -1
  382. package/dist/ToggleButton.d.mts +1 -1
  383. package/dist/{Tooltip-rkGm1HnP.cjs → Tooltip-Bzt4mirM.cjs} +3 -3
  384. package/dist/{Tooltip-Cx4ez9vY.mjs → Tooltip-CqGB8Pgm.mjs} +4 -4
  385. package/dist/Tooltip.cjs +1 -1
  386. package/dist/Tooltip.d.cts +9 -9
  387. package/dist/Tooltip.d.mts +9 -9
  388. package/dist/Tooltip.mjs +1 -1
  389. package/dist/TransferList.cjs +5 -5
  390. package/dist/TransferList.d.cts +4 -4
  391. package/dist/TransferList.d.mts +4 -4
  392. package/dist/TransferList.mjs +6 -6
  393. package/dist/Typography.cjs +1 -1
  394. package/dist/Typography.d.cts +25 -3
  395. package/dist/Typography.d.mts +2 -2
  396. package/dist/Typography.mjs +2 -2
  397. package/dist/View.cjs +1 -1
  398. package/dist/View.d.cts +1 -1
  399. package/dist/View.d.mts +1 -1
  400. package/dist/View.mjs +1 -1
  401. package/dist/Zoom.cjs +1 -1
  402. package/dist/Zoom.d.cts +3 -4
  403. package/dist/Zoom.d.mts +3 -4
  404. package/dist/Zoom.mjs +1 -1
  405. package/dist/catalog.cjs +1 -1
  406. package/dist/catalog.d.cts +3 -3
  407. package/dist/catalog.d.mts +3 -3
  408. package/dist/catalog.mjs +1 -1
  409. package/dist/{dividerLine-DFuLn1zU.cjs → dividerLine-BL7qyMS7.cjs} +1 -1
  410. package/dist/{dividerLine-BC8E38Ed.mjs → dividerLine-CjHOunP8.mjs} +1 -1
  411. package/dist/emotion-b3mnJPXZ.mjs +5 -0
  412. package/dist/engine.cjs +1 -1
  413. package/dist/engine.d.cts +5 -5
  414. package/dist/engine.d.mts +4 -4
  415. package/dist/engine.mjs +1 -1
  416. package/dist/{index-C_K0hsEr.d.mts → index-2yg1ycx-.d.mts} +1 -1
  417. package/dist/{index-DXUVsHux.d.mts → index-B4rMxnAI.d.mts} +1 -1
  418. package/dist/{index-CZofj6vc.d.cts → index-BX05FTzq.d.mts} +3 -3
  419. package/dist/index-BzWmnUjW.d.mts +1 -0
  420. package/dist/{index-DPCh-ols.d.mts → index-CCA5pNXc.d.mts} +2 -2
  421. package/dist/{index-vls8Jhdl.d.cts → index-CF6cynkC.d.mts} +1 -1
  422. package/dist/{index-BJIqJbF4.d.mts → index-CR-3ET8R.d.mts} +2 -2
  423. package/dist/{index-C9jnQ-mQ.d.mts → index-CRopLcd3.d.mts} +1 -1
  424. package/dist/{index-F81TdZtB.d.mts → index-C_6hDoX5.d.mts} +5 -5
  425. package/dist/{index-C6uLwNRF.d.cts → index-CgZujUBc.d.mts} +5 -5
  426. package/dist/{index-CLTH0nFB.d.cts → index-CjIlieUz.d.cts} +2 -2
  427. package/dist/{index-CwWM6Xfz.d.cts → index-Ck1kZGKo.d.cts} +1 -1
  428. package/dist/{index-xhbtDtsc.d.mts → index-DA-h_wfm.d.mts} +1 -1
  429. package/dist/{index-CPmemva9.d.mts → index-DW6ItSg9.d.mts} +5 -5
  430. package/dist/{index-CRbfhyQ6.d.mts → index-DWPBIj3Q.d.mts} +2 -2
  431. package/dist/{index-CGlDeiGk.d.cts → index-DXpsn7vq.d.mts} +2 -2
  432. package/dist/{index-Cf2D7Y1b.d.cts → index-DuW9P_vU.d.mts} +2 -2
  433. package/dist/{index-BDVi1DNs.d.mts → index-Dv-JacXL.d.mts} +2 -2
  434. package/dist/{index-CK-uaK5U.d.cts → index-MipJMh6w.d.cts} +7 -7
  435. package/dist/{index-DA3M2w5w.d.cts → index-UdCNBn1j.d.cts} +6 -5
  436. package/dist/{index-ClTo3BEJ.d.mts → index-WepMprJw.d.cts} +3 -3
  437. package/dist/{index-DOimZ1Wo.d.mts → index-fbOIRIGi.d.mts} +2 -2
  438. package/dist/{index-BhWBXIkH.d.cts → index-fiGzE2_0.d.mts} +3 -3
  439. package/dist/{index-d5jm3kxO.d.cts → index-goQ0P1tj.d.mts} +2 -2
  440. package/dist/{index-BwFPSXSw.d.mts → index-m7brCUK5.d.mts} +1 -1
  441. package/dist/{index-B-1sp9oV.d.mts → index-nw0pvCoK.d.mts} +9 -9
  442. package/dist/{index-DOnYRzqY.d.cts → index-uxQ6yoYo.d.mts} +3 -3
  443. package/dist/index.cjs +1 -1
  444. package/dist/index.d.cts +1 -1
  445. package/dist/index.d.mts +1 -1
  446. package/dist/index.mjs +1 -1
  447. package/dist/{inputVariantStyles-DCGRUY9c.mjs → inputVariantStyles-GEyyFeaq.mjs} +1 -1
  448. package/dist/{inputVariantStyles-DhClkDHY.cjs → inputVariantStyles-GsJaknFt.cjs} +1 -1
  449. package/dist/{rolldown-runtime-CiKaZLfC.cjs → rolldown-runtime-C_Pgydhf.cjs} +4 -4
  450. package/dist/{src-yC1f5WR2.cjs → src-B1PmaZ-2.cjs} +2 -2
  451. package/dist/{src-B-rNjHIL.mjs → src-BSo7bM2g.mjs} +8 -8
  452. package/dist/style.d.cts +8 -8
  453. package/dist/style.d.mts +8 -8
  454. package/dist/style.mjs +2 -2
  455. package/dist/{surfaceSystem-DI6bqK5F.cjs → surfaceSystem-BeGFjViA.cjs} +1 -1
  456. package/dist/{surfaceSystem-4XDqbvf4.mjs → surfaceSystem-Bsd7LqgB.mjs} +1 -1
  457. package/dist/testing.d.cts +1 -2
  458. package/dist/testing.d.mts +1 -2
  459. package/dist/{theme-DyyZQFzQ.mjs → theme-B6LFWZ98.mjs} +2 -2
  460. package/dist/theme.d.cts +59 -3
  461. package/dist/theme.d.mts +2 -2
  462. package/dist/theme.mjs +2 -2
  463. package/dist/{themes-D-knykK0.mjs → themes-D3yxQwT9.mjs} +10 -10
  464. package/dist/{useTablePagination-DOLl6Ba7.d.cts → useTablePagination-Be__hayI.d.mts} +1 -1
  465. package/dist/{useTablePagination-bZTeweJ_.d.mts → useTableSort-DQWSd9Rf.d.cts} +23 -23
  466. package/dist/{useTransition-DnOAXNav.d.cts → useTransition-CdObuV2M.d.cts} +1 -1
  467. package/dist/{useTransition-Dk84FQFT.d.mts → useTransition-DwlKWjUJ.d.mts} +1 -1
  468. package/dist/{useTransitionChild-CFhlMm65.mjs → useTransitionChild-De79LIB9.mjs} +2 -2
  469. package/dist/utils.d.cts +4 -5
  470. package/dist/utils.d.mts +4 -5
  471. package/package.json +15 -15
  472. package/dist/emotion-E3pBNlXd.mjs +0 -5
  473. package/dist/index-3-LXZL7g.d.mts +0 -39
  474. package/dist/index-BMeqk34D.d.mts +0 -47
  475. package/dist/index-BYg-l1_n.d.cts +0 -23
  476. package/dist/index-BbWQZ2Wj.d.mts +0 -104
  477. package/dist/index-Bwry7fNj.d.mts +0 -22
  478. package/dist/index-C3D70-3U.d.mts +0 -74
  479. package/dist/index-COGZ6LV4.d.mts +0 -91
  480. package/dist/index-C_n4ZPpQ.d.mts +0 -1
  481. package/dist/index-Cc7Yhn7-.d.cts +0 -47
  482. package/dist/index-CoHM1HQY.d.cts +0 -30
  483. package/dist/index-Cp96BUYc.d.cts +0 -25
  484. package/dist/index-CvV0TCBK.d.cts +0 -59
  485. package/dist/index-CykbbqeN.d.cts +0 -33
  486. package/dist/index-Dh_9qMhj.d.mts +0 -34
  487. package/dist/index-DiQHPHUv.d.cts +0 -44
  488. package/dist/index-UloRwym_.d.cts +0 -16
  489. package/dist/index-YxsjfTkO.d.cts +0 -29
  490. package/dist/index-fwRQcB91.d.cts +0 -1
  491. package/dist/index-qgFJF8n2.d.cts +0 -32
  492. package/dist/{useTransitionChild-COlRozbU.cjs → useTransitionChild-B2W_GM3m.cjs} +1 -1
package/dist/Select.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-yC1f5WR2.cjs");
3
- const require_theme = require("./theme-XJvMdOnY.cjs");
4
- const require_themeDefault = require("./themeDefault-DbPHBbNO.cjs");
5
- const require_Icon = require("./Icon-C5Iz5ekp.cjs");
6
- const require_inputVariantStyles = require("./inputVariantStyles-DhClkDHY.cjs");
7
2
  const require_FormControl = require("./FormControl.cjs");
3
+ const require_Icon = require("./Icon-C4QMiNHJ.cjs");
4
+ const require_Popover = require("./Popover-CPB9wIFY.cjs");
8
5
  const require_NativeSelect = require("./NativeSelect.cjs");
9
- const require_Popover = require("./Popover-BniabG7D.cjs");
6
+ const require_src = require("./src-B1PmaZ-2.cjs");
7
+ const require_theme = require("./theme-XJvMdOnY.cjs");
8
+ const require_inputVariantStyles = require("./inputVariantStyles-GsJaknFt.cjs");
9
+ const require_themeDefault = require("./themeDefault-DbPHBbNO.cjs");
10
10
  let react = require("react");
11
11
  let react_jsx_runtime = require("react/jsx-runtime");
12
12
  let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
package/dist/Select.d.cts CHANGED
@@ -1,15 +1,15 @@
1
- import { nt as Theme } from "./index-CK-uaK5U.cjs";
2
- import { n as IconProps, r as IconName } from "./index-CLTH0nFB.cjs";
1
+ import { n as IconProps, r as IconName } from "./index-CjIlieUz.cjs";
2
+ import { nt as Theme } from "./index-MipJMh6w.cjs";
3
3
  import { ReactNode } from "react";
4
4
  import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
5
5
  /** The union of value shapes `Select` holds: a single value, or an array in multiple mode. */
6
6
  type SelectValue = string | number | Array<string | number>;
7
- type SelectColor = keyof Theme['palette'];
8
- type SelectTextColor = keyof Theme['text'];
9
- type SelectBackgroundToken = keyof Theme['background'];
10
- type SelectVariant = 'default' | 'outlined' | 'text' | 'underline';
11
- type SelectSize = keyof Theme['sizes'];
12
- interface SelectProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'minWidth' | 'maxWidth'> {
7
+ export type SelectColor = keyof Theme['palette'];
8
+ export type SelectTextColor = keyof Theme['text'];
9
+ export type SelectBackgroundToken = keyof Theme['background'];
10
+ export type SelectVariant = 'default' | 'outlined' | 'text' | 'underline';
11
+ export type SelectSize = keyof Theme['sizes'];
12
+ export interface SelectProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'minWidth' | 'maxWidth'> {
13
13
  /** `MenuItem` children - one per option. */
14
14
  children: ReactNode;
15
15
  /** Render a native `<select>` (delegates to `NativeSelect`, single-select) instead of the custom listbox. */
@@ -61,5 +61,5 @@ interface SelectProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width
61
61
  className?: string;
62
62
  'data-testid'?: string;
63
63
  }
64
- declare function Select({ children, native, multiple, autoWidth, value: valueProp, defaultValue, onChange, open: openProp, defaultOpen, onOpen, onClose, placeholder, renderValue, borderRadius, color: colorProp, textColor: textColorProp, bg: bgProp, disabled: disabledProp, error: errorProp, fullWidth: fullWidthProp, required: requiredProp, size: sizeProp, variant: variantProp, iconName, iconProps, id: idProp, name, labelId: labelIdProp, 'aria-label': ariaLabel, className, 'data-testid': dataTestid, ...spaceProps }: Readonly<SelectProps>): import("react").JSX.Element;
65
- export { Select, SelectBackgroundToken, SelectColor, SelectProps, SelectSize, SelectTextColor, type SelectValue, SelectVariant };
64
+ export declare function Select({ children, native, multiple, autoWidth, value: valueProp, defaultValue, onChange, open: openProp, defaultOpen, onOpen, onClose, placeholder, renderValue, borderRadius, color: colorProp, textColor: textColorProp, bg: bgProp, disabled: disabledProp, error: errorProp, fullWidth: fullWidthProp, required: requiredProp, size: sizeProp, variant: variantProp, iconName, iconProps, id: idProp, name, labelId: labelIdProp, 'aria-label': ariaLabel, className, 'data-testid': dataTestid, ...spaceProps }: Readonly<SelectProps>): import("react").JSX.Element;
65
+ export type { SelectValue };
package/dist/Select.d.mts CHANGED
@@ -1,15 +1,15 @@
1
- import { nt as Theme } from "./index-B-1sp9oV.mjs";
2
- import { n as IconProps, r as IconName } from "./index-BDVi1DNs.mjs";
1
+ import { n as IconProps, r as IconName } from "./index-Dv-JacXL.mjs";
2
+ import { nt as Theme } from "./index-nw0pvCoK.mjs";
3
3
  import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
4
4
  import { ReactNode } from "react";
5
5
  /** The union of value shapes `Select` holds: a single value, or an array in multiple mode. */
6
6
  type SelectValue = string | number | Array<string | number>;
7
- type SelectColor = keyof Theme['palette'];
8
- type SelectTextColor = keyof Theme['text'];
9
- type SelectBackgroundToken = keyof Theme['background'];
10
- type SelectVariant = 'default' | 'outlined' | 'text' | 'underline';
11
- type SelectSize = keyof Theme['sizes'];
12
- interface SelectProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'minWidth' | 'maxWidth'> {
7
+ export type SelectColor = keyof Theme['palette'];
8
+ export type SelectTextColor = keyof Theme['text'];
9
+ export type SelectBackgroundToken = keyof Theme['background'];
10
+ export type SelectVariant = 'default' | 'outlined' | 'text' | 'underline';
11
+ export type SelectSize = keyof Theme['sizes'];
12
+ export interface SelectProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width' | 'minWidth' | 'maxWidth'> {
13
13
  /** `MenuItem` children - one per option. */
14
14
  children: ReactNode;
15
15
  /** Render a native `<select>` (delegates to `NativeSelect`, single-select) instead of the custom listbox. */
@@ -61,5 +61,5 @@ interface SelectProps extends SpaceProps<Theme>, Pick<LayoutProps<Theme>, 'width
61
61
  className?: string;
62
62
  'data-testid'?: string;
63
63
  }
64
- declare function Select({ children, native, multiple, autoWidth, value: valueProp, defaultValue, onChange, open: openProp, defaultOpen, onOpen, onClose, placeholder, renderValue, borderRadius, color: colorProp, textColor: textColorProp, bg: bgProp, disabled: disabledProp, error: errorProp, fullWidth: fullWidthProp, required: requiredProp, size: sizeProp, variant: variantProp, iconName, iconProps, id: idProp, name, labelId: labelIdProp, 'aria-label': ariaLabel, className, 'data-testid': dataTestid, ...spaceProps }: Readonly<SelectProps>): import("react").JSX.Element;
65
- export { Select, SelectBackgroundToken, SelectColor, SelectProps, SelectSize, SelectTextColor, type SelectValue, SelectVariant };
64
+ export declare function Select({ children, native, multiple, autoWidth, value: valueProp, defaultValue, onChange, open: openProp, defaultOpen, onOpen, onClose, placeholder, renderValue, borderRadius, color: colorProp, textColor: textColorProp, bg: bgProp, disabled: disabledProp, error: errorProp, fullWidth: fullWidthProp, required: requiredProp, size: sizeProp, variant: variantProp, iconName, iconProps, id: idProp, name, labelId: labelIdProp, 'aria-label': ariaLabel, className, 'data-testid': dataTestid, ...spaceProps }: Readonly<SelectProps>): import("react").JSX.Element;
65
+ export type { SelectValue };
package/dist/Select.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-B-rNjHIL.mjs";
2
- import { r as useTheme } from "./theme-DyyZQFzQ.mjs";
3
- import { t as themeDefault } from "./themeDefault-BeZJzqJj.mjs";
4
- import { t as Icon } from "./Icon-XpXU-SuF.mjs";
5
- import { n as getFocusRing, r as getInputMinWidth, t as inputVariantStyles } from "./inputVariantStyles-DCGRUY9c.mjs";
6
1
  import { useFormControl } from "./FormControl.mjs";
2
+ import { t as Icon } from "./Icon-gVHlFgdH.mjs";
3
+ import { t as Popover } from "./Popover-JCnuplk4.mjs";
7
4
  import { NativeSelect } from "./NativeSelect.mjs";
8
- import { t as Popover } from "./Popover-Dnmeo0Av.mjs";
5
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BSo7bM2g.mjs";
6
+ import { r as useTheme } from "./theme-B6LFWZ98.mjs";
7
+ import { n as getFocusRing, r as getInputMinWidth, t as inputVariantStyles } from "./inputVariantStyles-GEyyFeaq.mjs";
8
+ import { t as themeDefault } from "./themeDefault-BeZJzqJj.mjs";
9
9
  import { Children, cloneElement, isValidElement, useCallback, useId, useState } from "react";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
11
11
  // src/Select/hooks/useSelectPopover.ts
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("../src-yC1f5WR2.cjs");
2
+ const require_src = require("../src-B1PmaZ-2.cjs");
3
3
  const require_Flex = require("../Flex.cjs");
4
4
  const require_SidebarContext = require("../SidebarContext-mXrB4z8v.cjs");
5
5
  let react = require("react");
@@ -1,7 +1,7 @@
1
- import { dn as FlexProps } from "../index-CK-uaK5U.cjs";
1
+ import { dn as FlexProps } from "../index-MipJMh6w.cjs";
2
2
  import { a as SidebarLayout, i as SidebarItemVariant, t as SidebarAnchor } from "../SidebarContext-Bod_oUMi.cjs";
3
3
  import { ElementType, ReactNode } from "react";
4
- interface SidebarProps extends FlexProps {
4
+ export interface SidebarProps extends FlexProps {
5
5
  /**
6
6
  * Rail contents - `SidebarItem`s, but any node composes (a sponsor logo,
7
7
  * a footer, dividers, ...). Items read the open state from `SidebarContext`.
@@ -68,5 +68,4 @@ interface SidebarProps extends FlexProps {
68
68
  * is independent of `isOpen`, so a collapsed icons-only rail can sit beside an
69
69
  * open panel.
70
70
  */
71
- declare function Sidebar({ children, isOpen, anchor, variant, layout, expandedWidth, collapsedWidth, stackedWidth, hasPanel, panel, panelWidth, panelProps, 'aria-label': ariaLabel, ...rest }: Readonly<SidebarProps>): import("react").JSX.Element;
72
- export { Sidebar, SidebarProps };
71
+ export declare function Sidebar({ children, isOpen, anchor, variant, layout, expandedWidth, collapsedWidth, stackedWidth, hasPanel, panel, panelWidth, panelProps, 'aria-label': ariaLabel, ...rest }: Readonly<SidebarProps>): import("react").JSX.Element;
@@ -1,7 +1,7 @@
1
- import { dn as FlexProps } from "../index-B-1sp9oV.mjs";
1
+ import { dn as FlexProps } from "../index-nw0pvCoK.mjs";
2
2
  import { a as SidebarLayout, i as SidebarItemVariant, t as SidebarAnchor } from "../SidebarContext-Bod_oUMi.mjs";
3
3
  import { ElementType, ReactNode } from "react";
4
- interface SidebarProps extends FlexProps {
4
+ export interface SidebarProps extends FlexProps {
5
5
  /**
6
6
  * Rail contents - `SidebarItem`s, but any node composes (a sponsor logo,
7
7
  * a footer, dividers, ...). Items read the open state from `SidebarContext`.
@@ -68,5 +68,4 @@ interface SidebarProps extends FlexProps {
68
68
  * is independent of `isOpen`, so a collapsed icons-only rail can sit beside an
69
69
  * open panel.
70
70
  */
71
- declare function Sidebar({ children, isOpen, anchor, variant, layout, expandedWidth, collapsedWidth, stackedWidth, hasPanel, panel, panelWidth, panelProps, 'aria-label': ariaLabel, ...rest }: Readonly<SidebarProps>): import("react").JSX.Element;
72
- export { Sidebar, SidebarProps };
71
+ export declare function Sidebar({ children, isOpen, anchor, variant, layout, expandedWidth, collapsedWidth, stackedWidth, hasPanel, panel, panelWidth, panelProps, 'aria-label': ariaLabel, ...rest }: Readonly<SidebarProps>): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { o as styled } from "../src-B-rNjHIL.mjs";
1
+ import { o as styled } from "../src-BSo7bM2g.mjs";
2
2
  import { Flex } from "../Flex.mjs";
3
3
  import { t as SidebarContext } from "../SidebarContext-D3bF-Q4N.mjs";
4
4
  import { useId, useMemo, useState } from "react";
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("../src-yC1f5WR2.cjs");
3
- const require_utils = require("../utils.cjs");
4
- const require_Typography = require("../Typography.cjs");
5
- const require_Icon = require("../Icon-C5Iz5ekp.cjs");
2
+ const require_src = require("../src-B1PmaZ-2.cjs");
6
3
  const require_Flex = require("../Flex.cjs");
4
+ const require_Icon = require("../Icon-C4QMiNHJ.cjs");
7
5
  const require_Portal = require("../Portal.cjs");
8
6
  const require_Pressable = require("../Pressable.cjs");
7
+ const require_Typography = require("../Typography.cjs");
8
+ const require_utils = require("../utils.cjs");
9
9
  const require_SidebarContext = require("../SidebarContext-mXrB4z8v.cjs");
10
10
  let react = require("react");
11
11
  let react_jsx_runtime = require("react/jsx-runtime");
@@ -1,11 +1,11 @@
1
- import { nt as Theme } from "../index-CK-uaK5U.cjs";
2
- import { r as IconName } from "../index-CLTH0nFB.cjs";
3
- import { i as PressableProps } from "../index-Cc7Yhn7-.cjs";
1
+ import { nt as Theme } from "../index-MipJMh6w.cjs";
2
+ import { r as IconName } from "../index-CjIlieUz.cjs";
3
+ import { PressableProps } from "../Pressable.cjs";
4
4
  import { i as SidebarItemVariant } from "../SidebarContext-Bod_oUMi.cjs";
5
5
  import { ReactNode } from "react";
6
6
  /** Density token - controls padding and font size. Resolves against `theme.sizes`. */
7
- type SidebarItemSize = keyof Theme['sizes'];
8
- interface SidebarItemProps extends Omit<PressableProps, 'children' | 'feedback' | 'activeOpacity' | 'size'> {
7
+ export type SidebarItemSize = keyof Theme['sizes'];
8
+ export interface SidebarItemProps extends Omit<PressableProps, 'children' | 'feedback' | 'activeOpacity' | 'size'> {
9
9
  /** Icon shown in both the collapsed and open states - pinned to the anchored edge. */
10
10
  icon: IconName;
11
11
  /** Accessible name; also the default visible content while open. */
@@ -36,5 +36,4 @@ interface SidebarItemProps extends Omit<PressableProps, 'children' | 'feedback'
36
36
  * `Pressable`, so it is a real button carrying nothing but the styling declared
37
37
  * here - no inherited uppercase, weight, or tracking.
38
38
  */
39
- declare function SidebarItem({ icon, label, variant, size, color, children, onSelect, onClick, isSelected, ...rest }: Readonly<SidebarItemProps>): import("react").JSX.Element;
40
- export { SidebarItem, SidebarItemProps, SidebarItemSize };
39
+ export declare function SidebarItem({ icon, label, variant, size, color, children, onSelect, onClick, isSelected, ...rest }: Readonly<SidebarItemProps>): import("react").JSX.Element;
@@ -1,11 +1,11 @@
1
- import { nt as Theme } from "../index-B-1sp9oV.mjs";
2
- import { r as IconName } from "../index-BDVi1DNs.mjs";
3
- import { i as PressableProps } from "../index-xhbtDtsc.mjs";
1
+ import { nt as Theme } from "../index-nw0pvCoK.mjs";
2
+ import { r as IconName } from "../index-Dv-JacXL.mjs";
3
+ import { i as PressableProps } from "../index-DA-h_wfm.mjs";
4
4
  import { i as SidebarItemVariant } from "../SidebarContext-Bod_oUMi.mjs";
5
5
  import { ReactNode } from "react";
6
6
  /** Density token - controls padding and font size. Resolves against `theme.sizes`. */
7
- type SidebarItemSize = keyof Theme['sizes'];
8
- interface SidebarItemProps extends Omit<PressableProps, 'children' | 'feedback' | 'activeOpacity' | 'size'> {
7
+ export type SidebarItemSize = keyof Theme['sizes'];
8
+ export interface SidebarItemProps extends Omit<PressableProps, 'children' | 'feedback' | 'activeOpacity' | 'size'> {
9
9
  /** Icon shown in both the collapsed and open states - pinned to the anchored edge. */
10
10
  icon: IconName;
11
11
  /** Accessible name; also the default visible content while open. */
@@ -36,5 +36,4 @@ interface SidebarItemProps extends Omit<PressableProps, 'children' | 'feedback'
36
36
  * `Pressable`, so it is a real button carrying nothing but the styling declared
37
37
  * here - no inherited uppercase, weight, or tracking.
38
38
  */
39
- declare function SidebarItem({ icon, label, variant, size, color, children, onSelect, onClick, isSelected, ...rest }: Readonly<SidebarItemProps>): import("react").JSX.Element;
40
- export { SidebarItem, SidebarItemProps, SidebarItemSize };
39
+ export declare function SidebarItem({ icon, label, variant, size, color, children, onSelect, onClick, isSelected, ...rest }: Readonly<SidebarItemProps>): import("react").JSX.Element;
@@ -1,10 +1,10 @@
1
- import { a as src_exports, o as styled } from "../src-B-rNjHIL.mjs";
2
- import { alpha } from "../utils.mjs";
3
- import { Typography } from "../Typography.mjs";
4
- import { t as Icon } from "../Icon-XpXU-SuF.mjs";
1
+ import { a as src_exports, o as styled } from "../src-BSo7bM2g.mjs";
5
2
  import { Flex } from "../Flex.mjs";
3
+ import { t as Icon } from "../Icon-gVHlFgdH.mjs";
6
4
  import { Portal } from "../Portal.mjs";
7
5
  import { Pressable } from "../Pressable.mjs";
6
+ import { Typography } from "../Typography.mjs";
7
+ import { alpha } from "../utils.mjs";
8
8
  import { t as SidebarContext } from "../SidebarContext-D3bF-Q4N.mjs";
9
9
  import { useContext, useEffect } from "react";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { a as SidebarLayout, i as SidebarItemVariant, n as SidebarContext, r as SidebarContextValue, t as SidebarAnchor } from "./SidebarContext-Bod_oUMi.cjs";
2
1
  import { Sidebar, SidebarProps } from "./Sidebar/Sidebar.cjs";
3
2
  import { SidebarItem, SidebarItemProps, SidebarItemSize } from "./Sidebar/SidebarItem.cjs";
3
+ import { a as SidebarLayout, i as SidebarItemVariant, n as SidebarContext, r as SidebarContextValue, t as SidebarAnchor } from "./SidebarContext-Bod_oUMi.cjs";
4
4
  export { Sidebar, SidebarAnchor, SidebarContext, SidebarContextValue, SidebarItem, SidebarItemProps, SidebarItemSize, SidebarItemVariant, SidebarLayout, SidebarProps };
@@ -1,4 +1,4 @@
1
- import { a as SidebarLayout, i as SidebarItemVariant, n as SidebarContext, r as SidebarContextValue, t as SidebarAnchor } from "./SidebarContext-Bod_oUMi.mjs";
2
1
  import { Sidebar, SidebarProps } from "./Sidebar/Sidebar.mjs";
3
2
  import { SidebarItem, SidebarItemProps, SidebarItemSize } from "./Sidebar/SidebarItem.mjs";
3
+ import { a as SidebarLayout, i as SidebarItemVariant, n as SidebarContext, r as SidebarContextValue, t as SidebarAnchor } from "./SidebarContext-Bod_oUMi.mjs";
4
4
  export { Sidebar, SidebarAnchor, SidebarContext, SidebarContextValue, SidebarItem, SidebarItemProps, SidebarItemSize, SidebarItemVariant, SidebarLayout, SidebarProps };
package/dist/Skeleton.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-yC1f5WR2.cjs");
2
+ const require_src = require("./src-B1PmaZ-2.cjs");
3
3
  require("react");
4
4
  let react_jsx_runtime = require("react/jsx-runtime");
5
5
  let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
@@ -1,10 +1,10 @@
1
- import { nt as Theme } from "./index-CK-uaK5U.cjs";
1
+ import { nt as Theme } from "./index-MipJMh6w.cjs";
2
2
  import { HTMLAttributes } from "react";
3
3
  import { PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
4
- type SkeletonVariant = 'text' | 'circular' | 'rectangular';
5
- type SkeletonAnimation = 'pulse' | 'wave' | false;
6
- type SkeletonRadius = keyof Theme['radii'];
7
- interface SkeletonProps extends HTMLAttributes<HTMLSpanElement>, Omit<SpaceProps<Theme>, keyof PaddingProps> {
4
+ export type SkeletonVariant = 'text' | 'circular' | 'rectangular';
5
+ export type SkeletonAnimation = 'pulse' | 'wave' | false;
6
+ export type SkeletonRadius = keyof Theme['radii'];
7
+ export interface SkeletonProps extends HTMLAttributes<HTMLSpanElement>, Omit<SpaceProps<Theme>, keyof PaddingProps> {
8
8
  /** Shape of the placeholder. Default: `'text'`. */
9
9
  variant?: SkeletonVariant;
10
10
  /** Corner radius - resolves against `theme.radii` (sq · sm · md · lg). Overrides the variant default. */
@@ -16,5 +16,4 @@ interface SkeletonProps extends HTMLAttributes<HTMLSpanElement>, Omit<SpaceProps
16
16
  /** Height. Number → px; string → raw CSS unit. */
17
17
  height?: number | string;
18
18
  }
19
- declare function Skeleton({ variant, animation, width, height, children, ...rest }: Readonly<SkeletonProps>): import("react").JSX.Element;
20
- export { Skeleton, SkeletonAnimation, SkeletonProps, SkeletonRadius, SkeletonVariant };
19
+ export declare function Skeleton({ variant, animation, width, height, children, ...rest }: Readonly<SkeletonProps>): import("react").JSX.Element;
@@ -1,10 +1,10 @@
1
- import { nt as Theme } from "./index-B-1sp9oV.mjs";
1
+ import { nt as Theme } from "./index-nw0pvCoK.mjs";
2
2
  import { PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
3
3
  import { HTMLAttributes } from "react";
4
- type SkeletonVariant = 'text' | 'circular' | 'rectangular';
5
- type SkeletonAnimation = 'pulse' | 'wave' | false;
6
- type SkeletonRadius = keyof Theme['radii'];
7
- interface SkeletonProps extends HTMLAttributes<HTMLSpanElement>, Omit<SpaceProps<Theme>, keyof PaddingProps> {
4
+ export type SkeletonVariant = 'text' | 'circular' | 'rectangular';
5
+ export type SkeletonAnimation = 'pulse' | 'wave' | false;
6
+ export type SkeletonRadius = keyof Theme['radii'];
7
+ export interface SkeletonProps extends HTMLAttributes<HTMLSpanElement>, Omit<SpaceProps<Theme>, keyof PaddingProps> {
8
8
  /** Shape of the placeholder. Default: `'text'`. */
9
9
  variant?: SkeletonVariant;
10
10
  /** Corner radius - resolves against `theme.radii` (sq · sm · md · lg). Overrides the variant default. */
@@ -16,5 +16,4 @@ interface SkeletonProps extends HTMLAttributes<HTMLSpanElement>, Omit<SpaceProps
16
16
  /** Height. Number → px; string → raw CSS unit. */
17
17
  height?: number | string;
18
18
  }
19
- declare function Skeleton({ variant, animation, width, height, children, ...rest }: Readonly<SkeletonProps>): import("react").JSX.Element;
20
- export { Skeleton, SkeletonAnimation, SkeletonProps, SkeletonRadius, SkeletonVariant };
19
+ export declare function Skeleton({ variant, animation, width, height, children, ...rest }: Readonly<SkeletonProps>): import("react").JSX.Element;
package/dist/Skeleton.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as src_exports, i as props, o as styled, r as keyframes, t as createShouldForwardProp } from "./src-B-rNjHIL.mjs";
1
+ import { a as src_exports, i as props, o as styled, r as keyframes, t as createShouldForwardProp } from "./src-BSo7bM2g.mjs";
2
2
  import "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  // src/Skeleton/Skeleton.tsx
package/dist/Slide.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_isRtl = require("./isRtl-Dl6QQWib.cjs");
3
- const require_useTransitionChild = require("./useTransitionChild-COlRozbU.cjs");
3
+ const require_useTransitionChild = require("./useTransitionChild-B2W_GM3m.cjs");
4
4
  let react = require("react");
5
5
  // src/Slide/Slide.tsx
6
6
  const mirrored = {
package/dist/Slide.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { n as TransitionProps } from "./useTransition-DnOAXNav.cjs";
1
+ import { n as TransitionProps } from "./useTransition-CdObuV2M.cjs";
2
2
  /** The edge of the window the child slides in from. */
3
- type SlideDirection = 'up' | 'down' | 'left' | 'right';
4
- interface SlideProps extends TransitionProps {
3
+ export type SlideDirection = 'up' | 'down' | 'left' | 'right';
4
+ export interface SlideProps extends TransitionProps {
5
5
  /** The edge it slides in from - and out to. Mirrored in right-to-left pages. Default: `'down'`. */
6
6
  direction?: SlideDirection;
7
7
  }
@@ -11,5 +11,4 @@ interface SlideProps extends TransitionProps {
11
11
  * leaves the window from wherever it sits. A user who asked for less motion sees it change at
12
12
  * once.
13
13
  */
14
- declare function Slide({ direction, ...props }: Readonly<SlideProps>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
15
- export { Slide, SlideDirection, SlideProps };
14
+ export declare function Slide({ direction, ...props }: Readonly<SlideProps>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
package/dist/Slide.d.mts CHANGED
@@ -1,7 +1,7 @@
1
- import { n as TransitionProps } from "./useTransition-Dk84FQFT.mjs";
1
+ import { n as TransitionProps } from "./useTransition-DwlKWjUJ.mjs";
2
2
  /** The edge of the window the child slides in from. */
3
- type SlideDirection = 'up' | 'down' | 'left' | 'right';
4
- interface SlideProps extends TransitionProps {
3
+ export type SlideDirection = 'up' | 'down' | 'left' | 'right';
4
+ export interface SlideProps extends TransitionProps {
5
5
  /** The edge it slides in from - and out to. Mirrored in right-to-left pages. Default: `'down'`. */
6
6
  direction?: SlideDirection;
7
7
  }
@@ -11,5 +11,4 @@ interface SlideProps extends TransitionProps {
11
11
  * leaves the window from wherever it sits. A user who asked for less motion sees it change at
12
12
  * once.
13
13
  */
14
- declare function Slide({ direction, ...props }: Readonly<SlideProps>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
15
- export { Slide, SlideDirection, SlideProps };
14
+ export declare function Slide({ direction, ...props }: Readonly<SlideProps>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
package/dist/Slide.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as isRtl } from "./isRtl-DN-EdUlg.mjs";
2
- import { t as useTransitionChild } from "./useTransitionChild-CFhlMm65.mjs";
2
+ import { t as useTransitionChild } from "./useTransitionChild-De79LIB9.mjs";
3
3
  import { useRef } from "react";
4
4
  // src/Slide/Slide.tsx
5
5
  const mirrored = {
package/dist/Snackbar.cjs CHANGED
@@ -1,12 +1,12 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-yC1f5WR2.cjs");
2
+ const require_src = require("./src-B1PmaZ-2.cjs");
3
3
  const require_theme = require("./theme-XJvMdOnY.cjs");
4
4
  const require_themeDefault = require("./themeDefault-DbPHBbNO.cjs");
5
5
  const require_getSurfaceRadius = require("./getSurfaceRadius-DwOn3ALC.cjs");
6
- const require_useControlled = require("./useControlled-CzCxM4J3.cjs");
7
6
  const require_getShapeRadius = require("./getShapeRadius-C2xXOKCl.cjs");
8
- const require_Portal = require("./Portal.cjs");
9
7
  const require_Grow = require("./Grow.cjs");
8
+ const require_Portal = require("./Portal.cjs");
9
+ const require_useControlled = require("./useControlled-CzCxM4J3.cjs");
10
10
  let react = require("react");
11
11
  let react_jsx_runtime = require("react/jsx-runtime");
12
12
  let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
@@ -1,17 +1,17 @@
1
- import { nt as Theme } from "./index-CK-uaK5U.cjs";
2
- import { n as TransitionProps } from "./useTransition-DnOAXNav.cjs";
1
+ import { nt as Theme } from "./index-MipJMh6w.cjs";
3
2
  import { t as Shape } from "./getShapeRadius-CdCQb8OT.cjs";
4
- import { n as PortalProps } from "./index-UloRwym_.cjs";
3
+ import { PortalProps } from "./Portal.cjs";
4
+ import { n as TransitionProps } from "./useTransition-CdObuV2M.cjs";
5
5
  import { ComponentType, ReactNode, SyntheticEvent } from "react";
6
6
  /** Why a snackbar asks to close. */
7
- type SnackbarCloseReason = 'timeout' | 'clickaway' | 'escapeKeyDown';
8
- interface SnackbarAnchorOrigin {
7
+ export type SnackbarCloseReason = 'timeout' | 'clickaway' | 'escapeKeyDown';
8
+ export interface SnackbarAnchorOrigin {
9
9
  vertical: 'top' | 'bottom';
10
10
  /** `'start'` and `'end'` are the left and the right, and swap right to left. */
11
11
  horizontal: 'start' | 'center' | 'end';
12
12
  }
13
- type SnackbarShape = Shape;
14
- interface SnackbarProps {
13
+ export type SnackbarShape = Shape;
14
+ export interface SnackbarProps {
15
15
  /**
16
16
  * Corner shape: `'square'` is 0, `'pill'` a full round, `'rounded'` the radius of `borderRadius`.
17
17
  * Default: `'rounded'`.
@@ -56,5 +56,4 @@ interface SnackbarProps {
56
56
  * close on Escape and on a click away, `onClose` told why. It is a `role="status"`, announced
57
57
  * politely, and never takes the focus. Several at once do not stack: the app queues them.
58
58
  */
59
- declare function Snackbar({ isOpen: isOpenProp, defaultOpen, onClose, autoHideDuration: autoHideDurationProp, resumeHideDuration: resumeHideDurationProp, message, action, children, anchorOrigin: anchorOriginProp, transition: Transition, layer: layerProp, shape: shapeProp, borderRadius: borderRadiusProp, bg: bgProp, textColor: textColorProp, container, className, 'data-testid': dataTestid }: Readonly<SnackbarProps>): import("react").JSX.Element | null;
60
- export { Snackbar, SnackbarAnchorOrigin, SnackbarCloseReason, SnackbarProps, SnackbarShape };
59
+ export declare function Snackbar({ isOpen: isOpenProp, defaultOpen, onClose, autoHideDuration: autoHideDurationProp, resumeHideDuration: resumeHideDurationProp, message, action, children, anchorOrigin: anchorOriginProp, transition: Transition, layer: layerProp, shape: shapeProp, borderRadius: borderRadiusProp, bg: bgProp, textColor: textColorProp, container, className, 'data-testid': dataTestid }: Readonly<SnackbarProps>): import("react").JSX.Element | null;
@@ -1,17 +1,17 @@
1
- import { nt as Theme } from "./index-B-1sp9oV.mjs";
2
- import { n as TransitionProps } from "./useTransition-Dk84FQFT.mjs";
1
+ import { nt as Theme } from "./index-nw0pvCoK.mjs";
3
2
  import { t as Shape } from "./getShapeRadius-CdCQb8OT.mjs";
4
3
  import { n as PortalProps } from "./index-UloRwym_.mjs";
4
+ import { n as TransitionProps } from "./useTransition-DwlKWjUJ.mjs";
5
5
  import { ComponentType, ReactNode, SyntheticEvent } from "react";
6
6
  /** Why a snackbar asks to close. */
7
- type SnackbarCloseReason = 'timeout' | 'clickaway' | 'escapeKeyDown';
8
- interface SnackbarAnchorOrigin {
7
+ export type SnackbarCloseReason = 'timeout' | 'clickaway' | 'escapeKeyDown';
8
+ export interface SnackbarAnchorOrigin {
9
9
  vertical: 'top' | 'bottom';
10
10
  /** `'start'` and `'end'` are the left and the right, and swap right to left. */
11
11
  horizontal: 'start' | 'center' | 'end';
12
12
  }
13
- type SnackbarShape = Shape;
14
- interface SnackbarProps {
13
+ export type SnackbarShape = Shape;
14
+ export interface SnackbarProps {
15
15
  /**
16
16
  * Corner shape: `'square'` is 0, `'pill'` a full round, `'rounded'` the radius of `borderRadius`.
17
17
  * Default: `'rounded'`.
@@ -56,5 +56,4 @@ interface SnackbarProps {
56
56
  * close on Escape and on a click away, `onClose` told why. It is a `role="status"`, announced
57
57
  * politely, and never takes the focus. Several at once do not stack: the app queues them.
58
58
  */
59
- declare function Snackbar({ isOpen: isOpenProp, defaultOpen, onClose, autoHideDuration: autoHideDurationProp, resumeHideDuration: resumeHideDurationProp, message, action, children, anchorOrigin: anchorOriginProp, transition: Transition, layer: layerProp, shape: shapeProp, borderRadius: borderRadiusProp, bg: bgProp, textColor: textColorProp, container, className, 'data-testid': dataTestid }: Readonly<SnackbarProps>): import("react").JSX.Element | null;
60
- export { Snackbar, SnackbarAnchorOrigin, SnackbarCloseReason, SnackbarProps, SnackbarShape };
59
+ export declare function Snackbar({ isOpen: isOpenProp, defaultOpen, onClose, autoHideDuration: autoHideDurationProp, resumeHideDuration: resumeHideDurationProp, message, action, children, anchorOrigin: anchorOriginProp, transition: Transition, layer: layerProp, shape: shapeProp, borderRadius: borderRadiusProp, bg: bgProp, textColor: textColorProp, container, className, 'data-testid': dataTestid }: Readonly<SnackbarProps>): import("react").JSX.Element | null;
package/dist/Snackbar.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import { a as src_exports, o as styled, t as createShouldForwardProp } from "./src-B-rNjHIL.mjs";
2
- import { n as useDefaultProps } from "./theme-DyyZQFzQ.mjs";
1
+ import { a as src_exports, o as styled, t as createShouldForwardProp } from "./src-BSo7bM2g.mjs";
2
+ import { n as useDefaultProps } from "./theme-B6LFWZ98.mjs";
3
3
  import { t as themeDefault } from "./themeDefault-BeZJzqJj.mjs";
4
4
  import { t as getSurfaceRadius } from "./getSurfaceRadius-B1QE_VLa.mjs";
5
- import { t as useControlled } from "./useControlled-B4uQ9Bj6.mjs";
6
5
  import { t as getShapeRadius } from "./getShapeRadius-DVQRARis.mjs";
7
- import { Portal } from "./Portal.mjs";
8
6
  import { Grow } from "./Grow.mjs";
7
+ import { Portal } from "./Portal.mjs";
8
+ import { t as useControlled } from "./useControlled-B4uQ9Bj6.mjs";
9
9
  import { useCallback, useEffect, useRef, useState } from "react";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
11
11
  // src/Snackbar/hooks/useAutoHide.ts
package/dist/Switch.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("./src-yC1f5WR2.cjs");
3
- const require_utils = require("./utils.cjs");
2
+ const require_src = require("./src-B1PmaZ-2.cjs");
4
3
  const require_theme = require("./theme-XJvMdOnY.cjs");
5
- const require_themeDefault = require("./themeDefault-DbPHBbNO.cjs");
6
4
  const require_FormControl = require("./FormControl.cjs");
5
+ const require_utils = require("./utils.cjs");
6
+ const require_themeDefault = require("./themeDefault-DbPHBbNO.cjs");
7
7
  require("react");
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
9
9
  let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
package/dist/Switch.d.cts CHANGED
@@ -1,11 +1,11 @@
1
- import { nt as Theme } from "./index-CK-uaK5U.cjs";
1
+ import { nt as Theme } from "./index-MipJMh6w.cjs";
2
2
  import { ChangeEvent, ReactNode } from "react";
3
3
  import { SpaceProps } from "@soroush.tech/styled-system";
4
- type SwitchColor = keyof Theme['palette'];
5
- type SwitchSize = keyof Theme['sizes'];
6
- type SwitchEdge = 'start' | 'end' | false;
7
- type SwitchVariant = 'outside' | 'inside';
8
- interface SwitchProps extends SpaceProps<Theme> {
4
+ export type SwitchColor = keyof Theme['palette'];
5
+ export type SwitchSize = keyof Theme['sizes'];
6
+ export type SwitchEdge = 'start' | 'end' | false;
7
+ export type SwitchVariant = 'outside' | 'inside';
8
+ export interface SwitchProps extends SpaceProps<Theme> {
9
9
  checked?: boolean;
10
10
  defaultChecked?: boolean;
11
11
  disabled?: boolean;
@@ -37,5 +37,4 @@ interface SwitchProps extends SpaceProps<Theme> {
37
37
  'aria-describedby'?: string;
38
38
  'data-testid'?: string;
39
39
  }
40
- declare function Switch({ checked, defaultChecked, disabled: disabledProp, disableRipple: _disableRipple, color: colorProp, textColor: textColorProp, size: sizeProp, variant: variantProp, marked, bg, edge, icon, checkedIcon, onChange, id: idProp, required: requiredProp, children, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...spaceProps }: Readonly<SwitchProps>): import("react").JSX.Element;
41
- export { Switch, SwitchColor, SwitchEdge, SwitchProps, SwitchSize, SwitchVariant };
40
+ export declare function Switch({ checked, defaultChecked, disabled: disabledProp, disableRipple: _disableRipple, color: colorProp, textColor: textColorProp, size: sizeProp, variant: variantProp, marked, bg, edge, icon, checkedIcon, onChange, id: idProp, required: requiredProp, children, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...spaceProps }: Readonly<SwitchProps>): import("react").JSX.Element;
package/dist/Switch.d.mts CHANGED
@@ -1,11 +1,11 @@
1
- import { nt as Theme } from "./index-B-1sp9oV.mjs";
1
+ import { nt as Theme } from "./index-nw0pvCoK.mjs";
2
2
  import { SpaceProps } from "@soroush.tech/styled-system";
3
3
  import { ChangeEvent, ReactNode } from "react";
4
- type SwitchColor = keyof Theme['palette'];
5
- type SwitchSize = keyof Theme['sizes'];
6
- type SwitchEdge = 'start' | 'end' | false;
7
- type SwitchVariant = 'outside' | 'inside';
8
- interface SwitchProps extends SpaceProps<Theme> {
4
+ export type SwitchColor = keyof Theme['palette'];
5
+ export type SwitchSize = keyof Theme['sizes'];
6
+ export type SwitchEdge = 'start' | 'end' | false;
7
+ export type SwitchVariant = 'outside' | 'inside';
8
+ export interface SwitchProps extends SpaceProps<Theme> {
9
9
  checked?: boolean;
10
10
  defaultChecked?: boolean;
11
11
  disabled?: boolean;
@@ -37,5 +37,4 @@ interface SwitchProps extends SpaceProps<Theme> {
37
37
  'aria-describedby'?: string;
38
38
  'data-testid'?: string;
39
39
  }
40
- declare function Switch({ checked, defaultChecked, disabled: disabledProp, disableRipple: _disableRipple, color: colorProp, textColor: textColorProp, size: sizeProp, variant: variantProp, marked, bg, edge, icon, checkedIcon, onChange, id: idProp, required: requiredProp, children, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...spaceProps }: Readonly<SwitchProps>): import("react").JSX.Element;
41
- export { Switch, SwitchColor, SwitchEdge, SwitchProps, SwitchSize, SwitchVariant };
40
+ export declare function Switch({ checked, defaultChecked, disabled: disabledProp, disableRipple: _disableRipple, color: colorProp, textColor: textColorProp, size: sizeProp, variant: variantProp, marked, bg, edge, icon, checkedIcon, onChange, id: idProp, required: requiredProp, children, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, 'data-testid': dataTestid, ...spaceProps }: Readonly<SwitchProps>): import("react").JSX.Element;
package/dist/Switch.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-B-rNjHIL.mjs";
1
+ import { a as src_exports, i as props, o as styled, t as createShouldForwardProp } from "./src-BSo7bM2g.mjs";
2
+ import { r as useTheme } from "./theme-B6LFWZ98.mjs";
3
+ import { useFormControl } from "./FormControl.mjs";
2
4
  import { alpha } from "./utils.mjs";
3
- import { r as useTheme } from "./theme-DyyZQFzQ.mjs";
4
5
  import { t as themeDefault } from "./themeDefault-BeZJzqJj.mjs";
5
- import { useFormControl } from "./FormControl.mjs";
6
6
  import "react";
7
7
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
8
8
  // src/Switch/Switch.tsx
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_src = require("../src-yC1f5WR2.cjs");
3
2
  const require_TableContext = require("../TableContext-CK5ALcd9.cjs");
3
+ const require_src = require("../src-B1PmaZ-2.cjs");
4
4
  let react = require("react");
5
5
  let react_jsx_runtime = require("react/jsx-runtime");
6
6
  let _soroush_tech_styled_system_should_forward_prop = require("@soroush.tech/styled-system/should-forward-prop");
@@ -1,14 +1,14 @@
1
- import { U as PaletteColor, nt as Theme } from "../index-CK-uaK5U.cjs";
2
- import { t as TableCellPadding } from "../TableContext-BNwokJ3f.cjs";
1
+ import { t as TableCellPadding } from "../TableContext-BsJpQ-9A.cjs";
2
+ import { U as PaletteColor, nt as Theme } from "../index-MipJMh6w.cjs";
3
3
  import { ElementType, TableHTMLAttributes } from "react";
4
4
  import { BorderProps, LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
5
5
  /** Valid values for the bg prop - derived from theme.background keys. */
6
- type TableBackgroundToken = keyof Theme['background'];
6
+ export type TableBackgroundToken = keyof Theme['background'];
7
7
  /** Valid values for the size prop - derived from theme.sizes keys. */
8
- type TableSize = keyof Theme['sizes'];
8
+ export type TableSize = keyof Theme['sizes'];
9
9
  /** Valid values for the borderColor prop - derived from theme.border keys. */
10
- type TableBorderColorToken = keyof Theme['border'];
11
- interface TableProps extends Omit<TableHTMLAttributes<HTMLTableElement>, 'color' | 'cellPadding' | 'align' | 'width' | 'border'>, SpaceProps<Theme>, LayoutProps<Theme>, Omit<BorderProps<Theme>, 'borderColor'> {
10
+ export type TableBorderColorToken = keyof Theme['border'];
11
+ export interface TableProps extends Omit<TableHTMLAttributes<HTMLTableElement>, 'color' | 'cellPadding' | 'align' | 'width' | 'border'>, SpaceProps<Theme>, LayoutProps<Theme>, Omit<BorderProps<Theme>, 'borderColor'> {
12
12
  /**
13
13
  * Palette color for descendant rows' hover/selected shading - broadcast to
14
14
  * `TableRow`s via `TableContext`; a row's own `color` wins.
@@ -41,6 +41,5 @@ interface TableProps extends Omit<TableHTMLAttributes<HTMLTableElement>, 'color'
41
41
  as?: ElementType;
42
42
  }
43
43
  /** Table-wide text alignment - inherited by head, body, and footer cells alike. */
44
- type TableAlign = 'left' | 'right' | 'center' | 'justify';
45
- declare function Table({ size, cellPadding, hasStickyHeader, shouldHideSortIcon, hasEllipsis, color, align, as, children, ...rest }: Readonly<TableProps>): import("react").JSX.Element;
46
- export { Table, TableAlign, TableBackgroundToken, TableBorderColorToken, TableProps, TableSize };
44
+ export type TableAlign = 'left' | 'right' | 'center' | 'justify';
45
+ export declare function Table({ size, cellPadding, hasStickyHeader, shouldHideSortIcon, hasEllipsis, color, align, as, children, ...rest }: Readonly<TableProps>): import("react").JSX.Element;