@soroush.tech/design-system 2.1.0-alpha.0 → 2.1.0-alpha.2

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 (277) hide show
  1. package/dist/Accordion/Accordion.d.cts +2 -2
  2. package/dist/Accordion/Accordion.d.mts +2 -2
  3. package/dist/Accordion/AccordionGroup.d.cts +1 -1
  4. package/dist/Accordion/AccordionGroup.d.mts +1 -1
  5. package/dist/Alert/Alert.d.cts +1 -1
  6. package/dist/Alert/Alert.d.mts +1 -1
  7. package/dist/AppBar.d.cts +1 -1
  8. package/dist/AppBar.d.mts +1 -1
  9. package/dist/Autocomplete.d.cts +1 -1
  10. package/dist/Autocomplete.d.mts +1 -1
  11. package/dist/Avatar.d.cts +1 -1
  12. package/dist/Avatar.d.mts +1 -1
  13. package/dist/Backdrop.d.cts +1 -1
  14. package/dist/Backdrop.d.mts +1 -1
  15. package/dist/Badge.d.cts +1 -1
  16. package/dist/Badge.d.mts +1 -1
  17. package/dist/Breadcrumbs.d.cts +3 -3
  18. package/dist/Breadcrumbs.d.mts +3 -3
  19. package/dist/Button.d.cts +1 -1
  20. package/dist/Button.d.mts +1 -1
  21. package/dist/ButtonGroup.d.cts +1 -1
  22. package/dist/ButtonGroup.d.mts +1 -1
  23. package/dist/Card.d.cts +4 -4
  24. package/dist/Card.d.mts +4 -4
  25. package/dist/Checkbox.d.cts +1 -1
  26. package/dist/Checkbox.d.mts +1 -1
  27. package/dist/Chip.d.cts +1 -1
  28. package/dist/Chip.d.mts +1 -1
  29. package/dist/CircularProgress.d.cts +2 -2
  30. package/dist/CircularProgress.d.mts +2 -2
  31. package/dist/Collapse.d.cts +1 -1
  32. package/dist/Collapse.d.mts +1 -1
  33. package/dist/Drawer.d.cts +3 -3
  34. package/dist/Drawer.d.mts +3 -3
  35. package/dist/Fab.d.cts +1 -1
  36. package/dist/Fab.d.mts +1 -1
  37. package/dist/FabMenu/FabMenu.d.cts +1 -1
  38. package/dist/FabMenu/FabMenu.d.mts +1 -1
  39. package/dist/FabMenu/FabMenuItem.d.cts +1 -1
  40. package/dist/FabMenu/FabMenuItem.d.mts +1 -1
  41. package/dist/Fade.d.cts +1 -1
  42. package/dist/Fade.d.mts +1 -1
  43. package/dist/Flex.d.cts +1 -1
  44. package/dist/Flex.d.mts +1 -1
  45. package/dist/Form.d.cts +1 -1
  46. package/dist/Form.d.mts +1 -1
  47. package/dist/FormControl.d.cts +1 -1
  48. package/dist/FormControl.d.mts +1 -1
  49. package/dist/FormHelperText.d.cts +1 -1
  50. package/dist/FormHelperText.d.mts +1 -1
  51. package/dist/FormLabel.d.cts +1 -1
  52. package/dist/FormLabel.d.mts +1 -1
  53. package/dist/Grid.d.cts +1 -1
  54. package/dist/Grid.d.mts +1 -1
  55. package/dist/Grow.d.cts +1 -1
  56. package/dist/Grow.d.mts +1 -1
  57. package/dist/Icon.d.cts +1 -1
  58. package/dist/Icon.d.mts +1 -1
  59. package/dist/Image.d.cts +1 -1
  60. package/dist/Image.d.mts +1 -1
  61. package/dist/LinearProgress.d.cts +2 -2
  62. package/dist/LinearProgress.d.mts +2 -2
  63. package/dist/Link.d.cts +1 -1
  64. package/dist/Link.d.mts +1 -1
  65. package/dist/Menu/ContextMenu.cjs +23 -14
  66. package/dist/Menu/ContextMenu.d.cts +18 -8
  67. package/dist/Menu/ContextMenu.d.mts +18 -8
  68. package/dist/Menu/ContextMenu.mjs +24 -15
  69. package/dist/Menu/Menu.cjs +1 -1
  70. package/dist/Menu/Menu.d.cts +1 -1
  71. package/dist/Menu/Menu.d.mts +1 -1
  72. package/dist/Menu/Menu.mjs +1 -1
  73. package/dist/Menu/MenuItems.cjs +1 -1
  74. package/dist/Menu/MenuItems.d.cts +1 -1
  75. package/dist/Menu/MenuItems.d.mts +1 -1
  76. package/dist/Menu/MenuItems.mjs +1 -1
  77. package/dist/Menu/MenuList.cjs +1 -1
  78. package/dist/Menu/MenuList.d.cts +3 -36
  79. package/dist/Menu/MenuList.d.mts +3 -36
  80. package/dist/Menu/MenuList.mjs +1 -1
  81. package/dist/{Menu-CX9V2DAu.mjs → Menu-Cv887y7O.mjs} +8 -5
  82. package/dist/{Menu-BfJF32J2.cjs → Menu-DOOK_gM9.cjs} +8 -5
  83. package/dist/Menu.cjs +2 -2
  84. package/dist/Menu.d.cts +5 -5
  85. package/dist/Menu.d.mts +5 -5
  86. package/dist/Menu.mjs +2 -2
  87. package/dist/{MenuItem-CvCMGXuL.cjs → MenuItem-BWm8DC-S.cjs} +28 -25
  88. package/dist/{MenuItem-DdPzSWZY.mjs → MenuItem-hJeCsQZX.mjs} +28 -25
  89. package/dist/MenuItem.cjs +1 -1
  90. package/dist/MenuItem.d.cts +1 -1
  91. package/dist/MenuItem.d.mts +1 -1
  92. package/dist/MenuItem.mjs +1 -1
  93. package/dist/{MenuList-DsJmxNPu.cjs → MenuList-CSaaR3jt.cjs} +2 -1
  94. package/dist/{MenuList-CGZgfBno.mjs → MenuList-D7Pvpn_K.mjs} +2 -1
  95. package/dist/{MenuListContext-DJ_qJ1Uo.d.cts → MenuListContext-BN1VV12-.d.mts} +2 -2
  96. package/dist/{MenuListContext-DiZAVDCb.d.mts → MenuListContext-BkQzp2DA.d.cts} +2 -2
  97. package/dist/Modal.d.cts +1 -1
  98. package/dist/Modal.d.mts +1 -1
  99. package/dist/NativeSelect.d.cts +2 -2
  100. package/dist/NativeSelect.d.mts +2 -2
  101. package/dist/NavTree/NavLink.d.cts +1 -1
  102. package/dist/NavTree/NavLink.d.mts +1 -1
  103. package/dist/NavTree/NavTree.d.cts +1 -1
  104. package/dist/NavTree/NavTree.d.mts +1 -1
  105. package/dist/NumberInput.d.cts +1 -1
  106. package/dist/NumberInput.d.mts +1 -1
  107. package/dist/Pagination/PaginationItem.d.cts +1 -1
  108. package/dist/Pagination/PaginationItem.d.mts +1 -1
  109. package/dist/Pagination.d.cts +2 -2
  110. package/dist/Pagination.d.mts +2 -2
  111. package/dist/Paper.d.cts +2 -2
  112. package/dist/Paper.d.mts +2 -2
  113. package/dist/Popover.d.cts +3 -3
  114. package/dist/Popover.d.mts +3 -3
  115. package/dist/Pressable.d.cts +1 -1
  116. package/dist/Pressable.d.mts +1 -1
  117. package/dist/Quote.d.cts +2 -2
  118. package/dist/Quote.d.mts +2 -2
  119. package/dist/Radio.d.cts +1 -1
  120. package/dist/Radio.d.mts +1 -1
  121. package/dist/RangeInput.d.cts +1 -1
  122. package/dist/RangeInput.d.mts +1 -1
  123. package/dist/Rating.d.cts +1 -1
  124. package/dist/Rating.d.mts +1 -1
  125. package/dist/ScrollArea.d.cts +1 -1
  126. package/dist/ScrollArea.d.mts +1 -1
  127. package/dist/Select.d.cts +2 -2
  128. package/dist/Select.d.mts +2 -2
  129. package/dist/Sidebar/Sidebar.d.cts +1 -1
  130. package/dist/Sidebar/Sidebar.d.mts +1 -1
  131. package/dist/Sidebar/SidebarItem.d.cts +3 -3
  132. package/dist/Sidebar/SidebarItem.d.mts +3 -3
  133. package/dist/Skeleton.d.cts +1 -1
  134. package/dist/Skeleton.d.mts +1 -1
  135. package/dist/Slide.d.cts +1 -1
  136. package/dist/Slide.d.mts +1 -1
  137. package/dist/Snackbar.d.cts +2 -2
  138. package/dist/Snackbar.d.mts +2 -2
  139. package/dist/Switch.d.cts +1 -1
  140. package/dist/Switch.d.mts +1 -1
  141. package/dist/Table/Table.d.cts +2 -2
  142. package/dist/Table/Table.d.mts +2 -2
  143. package/dist/Table/TableBody.d.cts +1 -1
  144. package/dist/Table/TableBody.d.mts +1 -1
  145. package/dist/Table/TableCell.d.cts +1 -1
  146. package/dist/Table/TableCell.d.mts +1 -1
  147. package/dist/Table/TableContainer.d.cts +1 -1
  148. package/dist/Table/TableContainer.d.mts +1 -1
  149. package/dist/Table/TableControl.d.cts +1 -1
  150. package/dist/Table/TableControl.d.mts +1 -1
  151. package/dist/Table/TableFooter.d.cts +1 -1
  152. package/dist/Table/TableFooter.d.mts +1 -1
  153. package/dist/Table/TableHead.d.cts +1 -1
  154. package/dist/Table/TableHead.d.mts +1 -1
  155. package/dist/Table/TablePagination.d.cts +2 -2
  156. package/dist/Table/TablePagination.d.mts +2 -2
  157. package/dist/Table/TablePaginationActions.d.cts +1 -1
  158. package/dist/Table/TablePaginationActions.d.mts +1 -1
  159. package/dist/Table/TableRow.d.cts +1 -1
  160. package/dist/Table/TableRow.d.mts +1 -1
  161. package/dist/Table/TableSortLabel.d.cts +1 -1
  162. package/dist/Table/TableSortLabel.d.mts +1 -1
  163. package/dist/Table/hooks.d.cts +1 -1
  164. package/dist/Table/hooks.d.mts +1 -1
  165. package/dist/Table.d.cts +5 -5
  166. package/dist/Table.d.mts +5 -5
  167. package/dist/{TableContext-4sJdk84N.d.cts → TableContext-BNwokJ3f.d.cts} +1 -1
  168. package/dist/{TableContext-BCW5av9c.d.mts → TableContext-jOlk5jxs.d.mts} +1 -1
  169. package/dist/Tabs/Tab.cjs +18 -14
  170. package/dist/Tabs/Tab.d.cts +2 -2
  171. package/dist/Tabs/Tab.d.mts +2 -2
  172. package/dist/Tabs/Tab.mjs +18 -14
  173. package/dist/Tabs/TabContext.d.cts +1 -1
  174. package/dist/Tabs/TabContext.d.mts +1 -1
  175. package/dist/Tabs/TabList.cjs +1 -1
  176. package/dist/Tabs/TabList.d.cts +1 -1
  177. package/dist/Tabs/TabList.d.mts +1 -1
  178. package/dist/Tabs/TabList.mjs +1 -1
  179. package/dist/Tabs/TabPanel.d.cts +2 -2
  180. package/dist/Tabs/TabPanel.d.mts +2 -2
  181. package/dist/Tabs/TabScrollButton.d.cts +1 -1
  182. package/dist/Tabs/TabScrollButton.d.mts +1 -1
  183. package/dist/Tabs/Tabs.cjs +1 -1
  184. package/dist/Tabs/Tabs.d.cts +2 -2
  185. package/dist/Tabs/Tabs.d.mts +2 -2
  186. package/dist/Tabs/Tabs.mjs +1 -1
  187. package/dist/{Tabs-CPH0H6yp.cjs → Tabs-BTa2myRe.cjs} +28 -21
  188. package/dist/{Tabs-CG-hRs9L.mjs → Tabs-CE8iDr0D.mjs} +28 -21
  189. package/dist/Tabs.cjs +1 -1
  190. package/dist/Tabs.d.cts +3 -3
  191. package/dist/Tabs.d.mts +3 -3
  192. package/dist/Tabs.mjs +1 -1
  193. package/dist/{TabsContext-CsiW5MOp.d.mts → TabsContext-D5E7s9i5.d.mts} +1 -1
  194. package/dist/{TabsContext-DrmDtBqA.d.cts → TabsContext-i57cha5W.d.cts} +1 -1
  195. package/dist/TextInput.d.cts +1 -1
  196. package/dist/TextInput.d.mts +1 -1
  197. package/dist/ToggleButton/ToggleButton.d.cts +1 -1
  198. package/dist/ToggleButton/ToggleButton.d.mts +1 -1
  199. package/dist/ToggleButton/ToggleButtonGroup.d.cts +1 -1
  200. package/dist/ToggleButton/ToggleButtonGroup.d.mts +1 -1
  201. package/dist/Tooltip-Cx4ez9vY.mjs +405 -0
  202. package/dist/Tooltip-rkGm1HnP.cjs +417 -0
  203. package/dist/Tooltip.cjs +3 -311
  204. package/dist/Tooltip.d.cts +36 -5
  205. package/dist/Tooltip.d.mts +36 -5
  206. package/dist/Tooltip.mjs +1 -310
  207. package/dist/TransferList.d.cts +1 -1
  208. package/dist/TransferList.d.mts +1 -1
  209. package/dist/Typography.d.cts +2 -2
  210. package/dist/Typography.d.mts +2 -2
  211. package/dist/View.d.cts +1 -1
  212. package/dist/View.d.mts +1 -1
  213. package/dist/Zoom.d.cts +1 -1
  214. package/dist/Zoom.d.mts +1 -1
  215. package/dist/catalog.cjs +4 -0
  216. package/dist/catalog.d.cts +1 -1
  217. package/dist/catalog.d.mts +1 -1
  218. package/dist/catalog.mjs +4 -0
  219. package/dist/engine.d.cts +1 -1
  220. package/dist/engine.d.mts +1 -1
  221. package/dist/{index-D24iFgwR.d.cts → index-3-LXZL7g.d.mts} +3 -3
  222. package/dist/{index-BWiDilH8.d.mts → index-B-1sp9oV.d.mts} +7 -0
  223. package/dist/{index-C3TrdOpQ.d.cts → index-BDVi1DNs.d.mts} +3 -3
  224. package/dist/{index-5TAVgzbU.d.mts → index-BJIqJbF4.d.mts} +2 -2
  225. package/dist/{index-Bx-4KmJU.d.mts → index-BMeqk34D.d.mts} +1 -1
  226. package/dist/{index-DQYhGgbl.d.cts → index-BYg-l1_n.d.cts} +2 -2
  227. package/dist/{index-Biqn5xUs.d.mts → index-BbWQZ2Wj.d.mts} +4 -4
  228. package/dist/{index-DKNvADeE.d.mts → index-BhWBXIkH.d.cts} +3 -3
  229. package/dist/{index-DWon54cO.d.cts → index-BwFPSXSw.d.mts} +1 -1
  230. package/dist/{index-Bo8Og0oC.d.cts → index-Bwry7fNj.d.mts} +3 -3
  231. package/dist/{index-CeFExef3.d.cts → index-C3D70-3U.d.mts} +2 -2
  232. package/dist/{index-HLDMvfb2.d.cts → index-C6uLwNRF.d.cts} +4 -4
  233. package/dist/{index-BgmEVOSj.d.mts → index-C9jnQ-mQ.d.mts} +1 -1
  234. package/dist/{index-D--R4_5H.d.mts → index-CGlDeiGk.d.cts} +2 -2
  235. package/dist/{index-DvVQLBZc.d.cts → index-CK-uaK5U.d.cts} +7 -0
  236. package/dist/{index-DjmWIzXF.d.mts → index-CLTH0nFB.d.cts} +3 -3
  237. package/dist/{index-Dt-ZNTnC.d.cts → index-COGZ6LV4.d.mts} +1 -1
  238. package/dist/{index-DhzjNAzv.d.mts → index-CPmemva9.d.mts} +10 -5
  239. package/dist/{index-CW0DW6Aq.d.mts → index-CRbfhyQ6.d.mts} +2 -2
  240. package/dist/{index-m1RGSQlP.d.mts → index-CZofj6vc.d.cts} +3 -3
  241. package/dist/{index-Buu5MtRG.d.mts → index-C_K0hsEr.d.mts} +1 -1
  242. package/dist/index-C_n4ZPpQ.d.mts +1 -0
  243. package/dist/{index-fRyMPKtY.d.cts → index-Cc7Yhn7-.d.cts} +1 -1
  244. package/dist/{index-DgLjcrkG.d.cts → index-Cf2D7Y1b.d.cts} +1 -1
  245. package/dist/{index-YKXzINGk.d.mts → index-ClTo3BEJ.d.mts} +2 -2
  246. package/dist/{index-DR76LcSz.d.mts → index-CoHM1HQY.d.cts} +1 -1
  247. package/dist/{index-DtVrZFJI.d.mts → index-Cp96BUYc.d.cts} +2 -2
  248. package/dist/{index-CAICXdTA.d.cts → index-CvV0TCBK.d.cts} +1 -1
  249. package/dist/{index-DhTzn0mf.d.cts → index-CwWM6Xfz.d.cts} +1 -1
  250. package/dist/{index-BlHFb150.d.cts → index-CykbbqeN.d.cts} +2 -2
  251. package/dist/{index-Ba39mhDf.d.cts → index-DA3M2w5w.d.cts} +10 -5
  252. package/dist/index-DOimZ1Wo.d.mts +44 -0
  253. package/dist/{index-HAVWK7RM.d.cts → index-DOnYRzqY.d.cts} +2 -2
  254. package/dist/{index-BYAtunSZ.d.cts → index-DPCh-ols.d.mts} +2 -2
  255. package/dist/{index-CBOtkDdX.d.cts → index-DXUVsHux.d.mts} +1 -1
  256. package/dist/{index-DrfJt7W6.d.cts → index-Dh_9qMhj.d.mts} +2 -2
  257. package/dist/index-DiQHPHUv.d.cts +44 -0
  258. package/dist/{index-CyOSmefH.d.cts → index-F81TdZtB.d.mts} +2 -2
  259. package/dist/{index-DM7HHa4V.d.mts → index-YxsjfTkO.d.cts} +2 -2
  260. package/dist/{index-Bp9ECTzr.d.mts → index-d5jm3kxO.d.cts} +2 -2
  261. package/dist/index-fwRQcB91.d.cts +1 -0
  262. package/dist/{index-D_azfqsX.d.mts → index-qgFJF8n2.d.cts} +1 -1
  263. package/dist/{index-DtK3SaKA.d.mts → index-vls8Jhdl.d.cts} +1 -1
  264. package/dist/{index-Dudkopvi.d.mts → index-xhbtDtsc.d.mts} +1 -1
  265. package/dist/index.d.cts +1 -1
  266. package/dist/index.d.mts +1 -1
  267. package/dist/style.d.cts +2 -2
  268. package/dist/style.d.mts +2 -2
  269. package/dist/theme.d.cts +2 -2
  270. package/dist/theme.d.mts +2 -2
  271. package/dist/{useTablePagination-BOzuKUnF.d.mts → useTablePagination-DOLl6Ba7.d.cts} +1 -1
  272. package/dist/{useTablePagination-CraL2Mux.d.cts → useTablePagination-bZTeweJ_.d.mts} +1 -1
  273. package/dist/{useTransition-B-hzi7Sm.d.mts → useTransition-Dk84FQFT.d.mts} +1 -1
  274. package/dist/{useTransition-CF_Zy_tM.d.cts → useTransition-DnOAXNav.d.cts} +1 -1
  275. package/package.json +1 -1
  276. package/dist/index-6zQ2VUlM.d.cts +0 -1
  277. package/dist/index-B1qv6yGM.d.mts +0 -1
@@ -5,7 +5,8 @@ import { t as getSurfaceRadius } from "./getSurfaceRadius-B1QE_VLa.mjs";
5
5
  import { t as Icon } from "./Icon-XpXU-SuF.mjs";
6
6
  import { t as isRtl } from "./isRtl-DN-EdUlg.mjs";
7
7
  import { t as useAnchoredPlacement } from "./useAnchoredPlacement-txSaWzfk.mjs";
8
- import { a as useMenuListContext, n as getNextRow, r as getOwnRows, t as MenuList } from "./MenuList-CGZgfBno.mjs";
8
+ import { a as useMenuListContext, n as getNextRow, r as getOwnRows, t as MenuList } from "./MenuList-D7Pvpn_K.mjs";
9
+ import { n as Tooltip } from "./Tooltip-Cx4ez9vY.mjs";
9
10
  import { Children, createContext, useCallback, useContext, useEffect, useId, useMemo, useRef, useState } from "react";
10
11
  import { jsx, jsxs } from "react/jsx-runtime";
11
12
  // src/Menu/MenuPaper.ts
@@ -134,7 +135,7 @@ function useMenuPlacement({ isOpen, anchorRef, surfaceRef, placement, align, mar
134
135
  */
135
136
  function Submenu({ anchorRef, listId, labelledBy, children }) {
136
137
  const menu = useMenuContext();
137
- const { align, margin, elevation, layer } = menu;
138
+ const { align, margin, elevation, layer, listProps } = menu;
138
139
  const surfaceRef = useRef(null);
139
140
  const isFlipped = useMenuPlacement({
140
141
  isOpen: true,
@@ -162,6 +163,7 @@ function Submenu({ anchorRef, listId, labelledBy, children }) {
162
163
  children: /* @__PURE__ */ jsx(MenuContext.Provider, {
163
164
  value: context,
164
165
  children: /* @__PURE__ */ jsx(MenuList, {
166
+ ...listProps,
165
167
  id: listId,
166
168
  "aria-labelledby": labelledBy,
167
169
  width: "100%",
@@ -412,10 +414,14 @@ const getRowAria = (state) => ({
412
414
  "aria-expanded": state.hasSubmenu ? state.isSubmenuOpen : void 0,
413
415
  "aria-controls": state.isSubmenuOpen ? state.submenuId : void 0,
414
416
  "aria-checked": state.role === "menuitem" ? void 0 : state.selected,
415
- "aria-keyshortcuts": state.keyShortcuts ?? (typeof state.shortcut === "string" ? state.shortcut : void 0),
416
- "aria-describedby": state.note ? state.noteId : void 0
417
+ "aria-keyshortcuts": state.keyShortcuts ?? (typeof state.shortcut === "string" ? state.shortcut : void 0)
417
418
  });
418
419
  const joinClassNames = (...names) => names.filter(Boolean).join(" ") || void 0;
420
+ const getTick = (role, selected) => role !== "menuitem" && selected ? /* @__PURE__ */ jsx(Icon, {
421
+ name: "check",
422
+ size: "sm",
423
+ color: "inherit"
424
+ }) : null;
419
425
  /**
420
426
  * @description A row of a list. Inside a `MenuList` it is a menu row - a `menuitem`
421
427
  * (or `menuitemradio` / `menuitemcheckbox`) with a leading icon column, its label and a
@@ -434,7 +440,6 @@ function MenuItem({ value, children, as, disabled = false, selected = false, hig
434
440
  }, menu);
435
441
  const rootRef = useRef(null);
436
442
  const [isFocusVisible, setIsFocusVisible] = useState(false);
437
- const noteId = useId();
438
443
  const fallbackId = useId();
439
444
  const hasSubmenu = isMenu && submenu !== void 0;
440
445
  const { isOpen: isSubmenuOpen, entryRef, listId: submenuId, handleRowFocus, handleRowKeyDown, handleEntryKeyDown, handleEntryBlur } = useSubmenu(rootRef, hasSubmenu && !disabled);
@@ -510,16 +515,13 @@ function MenuItem({ value, children, as, disabled = false, selected = false, hig
510
515
  })
511
516
  }), children]
512
517
  });
513
- const tick = role !== "menuitem" && selected ? /* @__PURE__ */ jsx(Icon, {
514
- name: "check",
515
- size: "sm",
516
- color: "inherit"
517
- }) : null;
518
518
  const rowId = id ?? fallbackId;
519
519
  const hasSecondaryAction = secondaryAction != null;
520
+ const hasNote = Boolean(note);
521
+ const isEntry = hasSubmenu || hasSecondaryAction || hasNote;
520
522
  const row = /* @__PURE__ */ jsxs(MenuItemRoot, {
521
523
  ...rootProps,
522
- as: hasSubmenu || hasSecondaryAction ? "div" : as,
524
+ as: isEntry ? "div" : as,
523
525
  id: rowId,
524
526
  role,
525
527
  ...getRowAria({
@@ -529,18 +531,15 @@ function MenuItem({ value, children, as, disabled = false, selected = false, hig
529
531
  isSubmenuOpen,
530
532
  submenuId,
531
533
  shortcut,
532
- keyShortcuts,
533
- note,
534
- noteId
534
+ keyShortcuts
535
535
  }),
536
- title: note,
537
536
  onKeyDown: handleKeyDown,
538
537
  onKeyUp: handleKeyUp,
539
538
  onPointerMove: handlePointerMove,
540
539
  children: [
541
540
  /* @__PURE__ */ jsx(StartIconSlot, {
542
541
  "aria-hidden": true,
543
- children: startIcon ?? tick
542
+ children: startIcon ?? getTick(role, selected)
544
543
  }),
545
544
  /* @__PURE__ */ jsx(LabelSlot, {
546
545
  "data-menu-label": true,
@@ -557,19 +556,23 @@ function MenuItem({ value, children, as, disabled = false, selected = false, hig
557
556
  size: "sm",
558
557
  color: "inherit"
559
558
  })
560
- }),
561
- note && /* @__PURE__ */ jsx("span", {
562
- id: noteId,
563
- hidden: true,
564
- children: note
565
559
  })
566
560
  ]
567
561
  });
568
- if (!hasSubmenu && !hasSecondaryAction) return row;
562
+ const noted = hasNote ? /* @__PURE__ */ jsx(Tooltip, {
563
+ title: note,
564
+ placement: "right",
565
+ isInteractive: false,
566
+ shouldDescribeChild: true,
567
+ isDescriptionPersistent: true,
568
+ shouldWrapDisabledChild: false,
569
+ children: row
570
+ }) : row;
571
+ if (!isEntry) return row;
569
572
  if (!hasSubmenu) return /* @__PURE__ */ jsxs(EntrySlot, {
570
573
  role: "none",
571
- hasSecondaryAction: true,
572
- children: [row, /* @__PURE__ */ jsx(SecondaryActionSlot, {
574
+ hasSecondaryAction,
575
+ children: [noted, hasSecondaryAction && /* @__PURE__ */ jsx(SecondaryActionSlot, {
573
576
  "aria-hidden": shouldAnnounceSecondaryAction ? void 0 : true,
574
577
  children: secondaryAction
575
578
  })]
@@ -582,7 +585,7 @@ function MenuItem({ value, children, as, disabled = false, selected = false, hig
582
585
  onKeyDown: handleEntryKeyDown,
583
586
  onBlur: handleEntryBlur,
584
587
  children: [
585
- row,
588
+ noted,
586
589
  hasSecondaryAction && /* @__PURE__ */ jsx(SecondaryActionSlot, {
587
590
  "aria-hidden": shouldAnnounceSecondaryAction ? void 0 : true,
588
591
  children: secondaryAction
package/dist/MenuItem.cjs CHANGED
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_MenuItem = require("./MenuItem-CvCMGXuL.cjs");
2
+ const require_MenuItem = require("./MenuItem-BWm8DC-S.cjs");
3
3
  exports.MenuItem = require_MenuItem.MenuItem;
@@ -1,2 +1,2 @@
1
- import { a as MenuItemSize, i as MenuItemRole, n as MenuItemColor, o as MenuItemTextColor, r as MenuItemProps, t as MenuItem } from "./index-CeFExef3.cjs";
1
+ import { a as MenuItemSize, i as MenuItemRole, n as MenuItemColor, o as MenuItemTextColor, r as MenuItemProps, t as MenuItem } from "./index-d5jm3kxO.cjs";
2
2
  export { MenuItem, MenuItemColor, MenuItemProps, MenuItemRole, MenuItemSize, MenuItemTextColor };
@@ -1,2 +1,2 @@
1
- import { a as MenuItemSize, i as MenuItemRole, n as MenuItemColor, o as MenuItemTextColor, r as MenuItemProps, t as MenuItem } from "./index-Bp9ECTzr.mjs";
1
+ import { a as MenuItemSize, i as MenuItemRole, n as MenuItemColor, o as MenuItemTextColor, r as MenuItemProps, t as MenuItem } from "./index-C3D70-3U.mjs";
2
2
  export { MenuItem, MenuItemColor, MenuItemProps, MenuItemRole, MenuItemSize, MenuItemTextColor };
package/dist/MenuItem.mjs CHANGED
@@ -1 +1 @@
1
- export { t as MenuItem } from "./MenuItem-DdPzSWZY.mjs";
1
+ export { t as MenuItem } from "./MenuItem-hJeCsQZX.mjs";
@@ -149,6 +149,8 @@ function MenuList({ children, onSelect, shouldWrap: shouldWrapProp, shouldAutoFo
149
149
  const handleKeyDown = (event) => {
150
150
  const list = event.currentTarget;
151
151
  if (event.target.closest("[role=\"menu\"]") !== list) return;
152
+ onKeyDown?.(event);
153
+ if (event.defaultPrevented) return;
152
154
  const rows = getOwnRows(list);
153
155
  const current = list.ownerDocument.activeElement;
154
156
  const step = STEP_BY_KEY[event.key];
@@ -165,7 +167,6 @@ function MenuList({ children, onSelect, shouldWrap: shouldWrapProp, shouldAutoFo
165
167
  }
166
168
  if (step || target) event.preventDefault();
167
169
  target?.focus();
168
- onKeyDown?.(event);
169
170
  };
170
171
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuListContext.Provider, {
171
172
  value: context,
@@ -148,6 +148,8 @@ function MenuList({ children, onSelect, shouldWrap: shouldWrapProp, shouldAutoFo
148
148
  const handleKeyDown = (event) => {
149
149
  const list = event.currentTarget;
150
150
  if (event.target.closest("[role=\"menu\"]") !== list) return;
151
+ onKeyDown?.(event);
152
+ if (event.defaultPrevented) return;
151
153
  const rows = getOwnRows(list);
152
154
  const current = list.ownerDocument.activeElement;
153
155
  const step = STEP_BY_KEY[event.key];
@@ -164,7 +166,6 @@ function MenuList({ children, onSelect, shouldWrap: shouldWrapProp, shouldAutoFo
164
166
  }
165
167
  if (step || target) event.preventDefault();
166
168
  target?.focus();
167
- onKeyDown?.(event);
168
169
  };
169
170
  return /* @__PURE__ */ jsx(MenuListContext.Provider, {
170
171
  value: context,
@@ -1,5 +1,5 @@
1
- import { nt as Theme } from "./index-DvVQLBZc.cjs";
2
- import "./index-CAICXdTA.cjs";
1
+ import { nt as Theme } from "./index-B-1sp9oV.mjs";
2
+ import "./index-C_K0hsEr.mjs";
3
3
  import { SyntheticEvent } from "react";
4
4
  type MenuItemValue = string | number;
5
5
  interface MenuListContextValue {
@@ -1,5 +1,5 @@
1
- import { nt as Theme } from "./index-BWiDilH8.mjs";
2
- import "./index-Buu5MtRG.mjs";
1
+ import { nt as Theme } from "./index-CK-uaK5U.cjs";
2
+ import "./index-CvV0TCBK.cjs";
3
3
  import { SyntheticEvent } from "react";
4
4
  type MenuItemValue = string | number;
5
5
  interface MenuListContextValue {
package/dist/Modal.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as hideFromAria, c as ModalScroll, d as UseModalReturnValue, f as useModal, i as exposeToAria, l as ModalCloseReason, n as ManagedModalProps, o as Modal, r as ModalManager, s as ModalProps, t as ManagedModal, u as UseModalParameters } from "./index-Dt-ZNTnC.cjs";
1
+ import { a as hideFromAria, c as ModalScroll, d as UseModalReturnValue, f as useModal, i as exposeToAria, l as ModalCloseReason, n as ManagedModalProps, o as Modal, r as ModalManager, s as ModalProps, t as ManagedModal, u as UseModalParameters } from "./index-vls8Jhdl.cjs";
2
2
  export { ManagedModal, ManagedModalProps, Modal, ModalCloseReason, ModalManager, ModalProps, ModalScroll, UseModalParameters, UseModalReturnValue, exposeToAria, hideFromAria, useModal };
package/dist/Modal.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as hideFromAria, c as ModalScroll, d as UseModalReturnValue, f as useModal, i as exposeToAria, l as ModalCloseReason, n as ManagedModalProps, o as Modal, r as ModalManager, s as ModalProps, t as ManagedModal, u as UseModalParameters } from "./index-DtK3SaKA.mjs";
1
+ import { a as hideFromAria, c as ModalScroll, d as UseModalReturnValue, f as useModal, i as exposeToAria, l as ModalCloseReason, n as ManagedModalProps, o as Modal, r as ModalManager, s as ModalProps, t as ManagedModal, u as UseModalParameters } from "./index-COGZ6LV4.mjs";
2
2
  export { ManagedModal, ManagedModalProps, Modal, ModalCloseReason, ModalManager, ModalProps, ModalScroll, UseModalParameters, UseModalReturnValue, exposeToAria, hideFromAria, useModal };
@@ -1,5 +1,5 @@
1
- import { nt as Theme } from "./index-DvVQLBZc.cjs";
2
- import { n as IconProps, r as IconName } from "./index-C3TrdOpQ.cjs";
1
+ import { nt as Theme } from "./index-CK-uaK5U.cjs";
2
+ import { n as IconProps, r as IconName } from "./index-CLTH0nFB.cjs";
3
3
  import { SelectHTMLAttributes } from "react";
4
4
  import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
5
5
  type NativeSelectColor = keyof Theme['palette'];
@@ -1,5 +1,5 @@
1
- import { nt as Theme } from "./index-BWiDilH8.mjs";
2
- import { n as IconProps, r as IconName } from "./index-DjmWIzXF.mjs";
1
+ import { nt as Theme } from "./index-B-1sp9oV.mjs";
2
+ import { n as IconProps, r as IconName } from "./index-BDVi1DNs.mjs";
3
3
  import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
4
4
  import { SelectHTMLAttributes } from "react";
5
5
  type NativeSelectColor = keyof Theme['palette'];
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "../index-DvVQLBZc.cjs";
1
+ import { nt as Theme } from "../index-CK-uaK5U.cjs";
2
2
  import { AnchorHTMLAttributes, ReactNode } from "react";
3
3
  interface NavLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
4
4
  /** Where it goes. */
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "../index-BWiDilH8.mjs";
1
+ import { nt as Theme } from "../index-B-1sp9oV.mjs";
2
2
  import { AnchorHTMLAttributes, ReactNode } from "react";
3
3
  interface NavLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
4
4
  /** Where it goes. */
@@ -1,4 +1,4 @@
1
- import { dn as FlexProps, nt as Theme } from "../index-DvVQLBZc.cjs";
1
+ import { dn as FlexProps, nt as Theme } from "../index-CK-uaK5U.cjs";
2
2
  interface NavTreeProps extends FlexProps {
3
3
  /** Palette color of the current page's pill, a hovered link and the focus ring - resolves to `theme.palette`. Default: `'primary'`. */
4
4
  color?: keyof Theme['palette'];
@@ -1,4 +1,4 @@
1
- import { dn as FlexProps, nt as Theme } from "../index-BWiDilH8.mjs";
1
+ import { dn as FlexProps, nt as Theme } from "../index-B-1sp9oV.mjs";
2
2
  interface NavTreeProps extends FlexProps {
3
3
  /** Palette color of the current page's pill, a hovered link and the focus ring - resolves to `theme.palette`. Default: `'primary'`. */
4
4
  color?: keyof Theme['palette'];
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "./index-DvVQLBZc.cjs";
1
+ import { nt as Theme } from "./index-CK-uaK5U.cjs";
2
2
  import { ReactNode } from "react";
3
3
  import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
4
4
  type NumberInputVariant = 'default' | 'outlined' | 'text' | 'underline';
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "./index-BWiDilH8.mjs";
1
+ import { nt as Theme } from "./index-B-1sp9oV.mjs";
2
2
  import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
3
3
  import { ReactNode } from "react";
4
4
  type NumberInputVariant = 'default' | 'outlined' | 'text' | 'underline';
@@ -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-DhTzn0mf.cjs";
1
+ import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-CwWM6Xfz.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-BgmEVOSj.mjs";
1
+ import { a as PaginationItemSize, i as PaginationItemShape, n as PaginationItemColor, o as PaginationItemVariant, r as PaginationItemProps, t as PaginationItem } from "../index-C9jnQ-mQ.mjs";
2
2
  export { PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemVariant };
@@ -1,3 +1,3 @@
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-DhTzn0mf.cjs";
2
- import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-Bo8Og0oC.cjs";
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-CwWM6Xfz.cjs";
2
+ import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-BhWBXIkH.cjs";
3
3
  export { Pagination, PaginationColor, PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemType, PaginationItemVariant, PaginationProps, PaginationShape, PaginationSize, PaginationVariant, UsePaginationItem, UsePaginationProps, usePagination };
@@ -1,3 +1,3 @@
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-BgmEVOSj.mjs";
2
- import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-DKNvADeE.mjs";
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-C9jnQ-mQ.mjs";
2
+ import { a as PaginationSize, i as PaginationShape, n as PaginationColor, o as PaginationVariant, r as PaginationProps, t as Pagination } from "./index-Bwry7fNj.mjs";
3
3
  export { Pagination, PaginationColor, PaginationItem, PaginationItemColor, PaginationItemProps, PaginationItemShape, PaginationItemSize, PaginationItemType, PaginationItemVariant, PaginationProps, PaginationShape, PaginationSize, PaginationVariant, UsePaginationItem, UsePaginationProps, usePagination };
package/dist/Paper.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- import { cn as PaperElevation, ln as PaperProps, sn as Paper } from "./index-DvVQLBZc.cjs";
2
- import "./index-6zQ2VUlM.cjs";
1
+ import { cn as PaperElevation, ln as PaperProps, sn as Paper } from "./index-CK-uaK5U.cjs";
2
+ import "./index-fwRQcB91.cjs";
3
3
  export { Paper, PaperElevation, PaperProps };
package/dist/Paper.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- import { cn as PaperElevation, ln as PaperProps, sn as Paper } from "./index-BWiDilH8.mjs";
2
- import "./index-B1qv6yGM.mjs";
1
+ import { cn as PaperElevation, ln as PaperProps, sn as Paper } from "./index-B-1sp9oV.mjs";
2
+ import "./index-C_n4ZPpQ.mjs";
3
3
  export { Paper, PaperElevation, PaperProps };
@@ -1,7 +1,7 @@
1
- import { cn as PaperElevation, ln as PaperProps, nt as Theme } from "./index-DvVQLBZc.cjs";
2
- import "./index-6zQ2VUlM.cjs";
1
+ import { cn as PaperElevation, ln as PaperProps, nt as Theme } from "./index-CK-uaK5U.cjs";
2
+ import "./index-fwRQcB91.cjs";
3
3
  import { n as PopoverPosition, r as PopoverReference, t as PopoverOrigin } from "./computePopoverPosition-JgOwCM7k.cjs";
4
- import { l as ModalCloseReason } from "./index-Dt-ZNTnC.cjs";
4
+ import { l as ModalCloseReason } from "./index-vls8Jhdl.cjs";
5
5
  import { ReactNode, Ref } from "react";
6
6
  type PopoverAnchorEl = HTMLElement | (() => HTMLElement | null) | null;
7
7
  interface PopoverActions {
@@ -1,7 +1,7 @@
1
- import { cn as PaperElevation, ln as PaperProps, nt as Theme } from "./index-BWiDilH8.mjs";
2
- import "./index-B1qv6yGM.mjs";
1
+ import { cn as PaperElevation, ln as PaperProps, nt as Theme } from "./index-B-1sp9oV.mjs";
2
+ import "./index-C_n4ZPpQ.mjs";
3
3
  import { n as PopoverPosition, r as PopoverReference, t as PopoverOrigin } from "./computePopoverPosition-JgOwCM7k.mjs";
4
- import { l as ModalCloseReason } from "./index-DtK3SaKA.mjs";
4
+ import { l as ModalCloseReason } from "./index-COGZ6LV4.mjs";
5
5
  import { ReactNode, Ref } from "react";
6
6
  type PopoverAnchorEl = HTMLElement | (() => HTMLElement | null) | null;
7
7
  interface PopoverActions {
@@ -1,2 +1,2 @@
1
- import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-fRyMPKtY.cjs";
1
+ import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-Cc7Yhn7-.cjs";
2
2
  export { Pressable, PressableColor, PressableFeedback, PressableProps };
@@ -1,2 +1,2 @@
1
- import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-Dudkopvi.mjs";
1
+ import { i as PressableProps, n as PressableColor, r as PressableFeedback, t as Pressable } from "./index-xhbtDtsc.mjs";
2
2
  export { Pressable, PressableColor, PressableFeedback, PressableProps };
package/dist/Quote.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { nt as Theme, yn as ViewProps } from "./index-DvVQLBZc.cjs";
2
- import "./index-CAICXdTA.cjs";
1
+ import { nt as Theme, yn as ViewProps } from "./index-CK-uaK5U.cjs";
2
+ import "./index-CvV0TCBK.cjs";
3
3
  type QuoteProps = ViewProps;
4
4
  /** A View with a 2px primary left-border - used for terminal readouts and markdown blockquotes. */
5
5
  declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
package/dist/Quote.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { nt as Theme, yn as ViewProps } from "./index-BWiDilH8.mjs";
2
- import "./index-Buu5MtRG.mjs";
1
+ import { nt as Theme, yn as ViewProps } from "./index-B-1sp9oV.mjs";
2
+ import "./index-C_K0hsEr.mjs";
3
3
  type QuoteProps = ViewProps;
4
4
  /** A View with a 2px primary left-border - used for terminal readouts and markdown blockquotes. */
5
5
  declare const Quote: import("@emotion/styled").StyledComponent<Pick<{
package/dist/Radio.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { U as PaletteColor, nt as Theme } from "./index-DvVQLBZc.cjs";
1
+ import { U as PaletteColor, nt as Theme } from "./index-CK-uaK5U.cjs";
2
2
  import { ChangeEvent, InputHTMLAttributes, ReactNode } from "react";
3
3
  import { SpaceProps } from "@soroush.tech/styled-system";
4
4
  type RadioColor = PaletteColor;
package/dist/Radio.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { U as PaletteColor, nt as Theme } from "./index-BWiDilH8.mjs";
1
+ import { U as PaletteColor, nt as Theme } from "./index-B-1sp9oV.mjs";
2
2
  import { SpaceProps } from "@soroush.tech/styled-system";
3
3
  import { ChangeEvent, InputHTMLAttributes, ReactNode } from "react";
4
4
  type RadioColor = PaletteColor;
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "./index-DvVQLBZc.cjs";
1
+ import { nt as Theme } from "./index-CK-uaK5U.cjs";
2
2
  import { ChangeEvent, KeyboardEvent, ReactNode, SyntheticEvent } from "react";
3
3
  import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
4
4
  /** A tick on the rail, with a label under it when it has one. */
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "./index-BWiDilH8.mjs";
1
+ import { nt as Theme } from "./index-B-1sp9oV.mjs";
2
2
  import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
3
3
  import { ChangeEvent, KeyboardEvent, ReactNode, SyntheticEvent } from "react";
4
4
  /** A tick on the rail, with a label under it when it has one. */
package/dist/Rating.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "./index-DvVQLBZc.cjs";
1
+ import { nt as Theme } from "./index-CK-uaK5U.cjs";
2
2
  import { MouseEvent, ReactNode, SyntheticEvent } from "react";
3
3
  import { SpaceProps } from "@soroush.tech/styled-system";
4
4
  interface RatingProps extends SpaceProps<Theme> {
package/dist/Rating.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "./index-BWiDilH8.mjs";
1
+ import { nt as Theme } from "./index-B-1sp9oV.mjs";
2
2
  import { SpaceProps } from "@soroush.tech/styled-system";
3
3
  import { MouseEvent, ReactNode, SyntheticEvent } from "react";
4
4
  interface RatingProps extends SpaceProps<Theme> {
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "./index-DvVQLBZc.cjs";
1
+ import { nt as Theme } from "./index-CK-uaK5U.cjs";
2
2
  import { ReactNode, Ref } from "react";
3
3
  import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
4
4
  /** Which way a thumb runs: down the right edge, or along the bottom. */
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "./index-BWiDilH8.mjs";
1
+ import { nt as Theme } from "./index-B-1sp9oV.mjs";
2
2
  import { LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
3
3
  import { ReactNode, Ref } from "react";
4
4
  /** Which way a thumb runs: down the right edge, or along the bottom. */
package/dist/Select.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { nt as Theme } from "./index-DvVQLBZc.cjs";
2
- import { n as IconProps, r as IconName } from "./index-C3TrdOpQ.cjs";
1
+ import { nt as Theme } from "./index-CK-uaK5U.cjs";
2
+ import { n as IconProps, r as IconName } from "./index-CLTH0nFB.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. */
package/dist/Select.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { nt as Theme } from "./index-BWiDilH8.mjs";
2
- import { n as IconProps, r as IconName } from "./index-DjmWIzXF.mjs";
1
+ import { nt as Theme } from "./index-B-1sp9oV.mjs";
2
+ import { n as IconProps, r as IconName } from "./index-BDVi1DNs.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. */
@@ -1,4 +1,4 @@
1
- import { dn as FlexProps } from "../index-DvVQLBZc.cjs";
1
+ import { dn as FlexProps } from "../index-CK-uaK5U.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
4
  interface SidebarProps extends FlexProps {
@@ -1,4 +1,4 @@
1
- import { dn as FlexProps } from "../index-BWiDilH8.mjs";
1
+ import { dn as FlexProps } from "../index-B-1sp9oV.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
4
  interface SidebarProps extends FlexProps {
@@ -1,6 +1,6 @@
1
- import { nt as Theme } from "../index-DvVQLBZc.cjs";
2
- import { r as IconName } from "../index-C3TrdOpQ.cjs";
3
- import { i as PressableProps } from "../index-fRyMPKtY.cjs";
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";
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`. */
@@ -1,6 +1,6 @@
1
- import { nt as Theme } from "../index-BWiDilH8.mjs";
2
- import { r as IconName } from "../index-DjmWIzXF.mjs";
3
- import { i as PressableProps } from "../index-Dudkopvi.mjs";
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";
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`. */
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "./index-DvVQLBZc.cjs";
1
+ import { nt as Theme } from "./index-CK-uaK5U.cjs";
2
2
  import { HTMLAttributes } from "react";
3
3
  import { PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
4
4
  type SkeletonVariant = 'text' | 'circular' | 'rectangular';
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "./index-BWiDilH8.mjs";
1
+ import { nt as Theme } from "./index-B-1sp9oV.mjs";
2
2
  import { PaddingProps, SpaceProps } from "@soroush.tech/styled-system";
3
3
  import { HTMLAttributes } from "react";
4
4
  type SkeletonVariant = 'text' | 'circular' | 'rectangular';
package/dist/Slide.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as TransitionProps } from "./useTransition-CF_Zy_tM.cjs";
1
+ import { n as TransitionProps } from "./useTransition-DnOAXNav.cjs";
2
2
  /** The edge of the window the child slides in from. */
3
3
  type SlideDirection = 'up' | 'down' | 'left' | 'right';
4
4
  interface SlideProps extends TransitionProps {
package/dist/Slide.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as TransitionProps } from "./useTransition-B-hzi7Sm.mjs";
1
+ import { n as TransitionProps } from "./useTransition-Dk84FQFT.mjs";
2
2
  /** The edge of the window the child slides in from. */
3
3
  type SlideDirection = 'up' | 'down' | 'left' | 'right';
4
4
  interface SlideProps extends TransitionProps {
@@ -1,5 +1,5 @@
1
- import { nt as Theme } from "./index-DvVQLBZc.cjs";
2
- import { n as TransitionProps } from "./useTransition-CF_Zy_tM.cjs";
1
+ import { nt as Theme } from "./index-CK-uaK5U.cjs";
2
+ import { n as TransitionProps } from "./useTransition-DnOAXNav.cjs";
3
3
  import { t as Shape } from "./getShapeRadius-CdCQb8OT.cjs";
4
4
  import { n as PortalProps } from "./index-UloRwym_.cjs";
5
5
  import { ComponentType, ReactNode, SyntheticEvent } from "react";
@@ -1,5 +1,5 @@
1
- import { nt as Theme } from "./index-BWiDilH8.mjs";
2
- import { n as TransitionProps } from "./useTransition-B-hzi7Sm.mjs";
1
+ import { nt as Theme } from "./index-B-1sp9oV.mjs";
2
+ import { n as TransitionProps } from "./useTransition-Dk84FQFT.mjs";
3
3
  import { t as Shape } from "./getShapeRadius-CdCQb8OT.mjs";
4
4
  import { n as PortalProps } from "./index-UloRwym_.mjs";
5
5
  import { ComponentType, ReactNode, SyntheticEvent } from "react";
package/dist/Switch.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "./index-DvVQLBZc.cjs";
1
+ import { nt as Theme } from "./index-CK-uaK5U.cjs";
2
2
  import { ChangeEvent, ReactNode } from "react";
3
3
  import { SpaceProps } from "@soroush.tech/styled-system";
4
4
  type SwitchColor = keyof Theme['palette'];
package/dist/Switch.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "./index-BWiDilH8.mjs";
1
+ import { nt as Theme } from "./index-B-1sp9oV.mjs";
2
2
  import { SpaceProps } from "@soroush.tech/styled-system";
3
3
  import { ChangeEvent, ReactNode } from "react";
4
4
  type SwitchColor = keyof Theme['palette'];
@@ -1,5 +1,5 @@
1
- import { U as PaletteColor, nt as Theme } from "../index-DvVQLBZc.cjs";
2
- import { t as TableCellPadding } from "../TableContext-4sJdk84N.cjs";
1
+ import { U as PaletteColor, nt as Theme } from "../index-CK-uaK5U.cjs";
2
+ import { t as TableCellPadding } from "../TableContext-BNwokJ3f.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. */
@@ -1,5 +1,5 @@
1
- import { U as PaletteColor, nt as Theme } from "../index-BWiDilH8.mjs";
2
- import { t as TableCellPadding } from "../TableContext-BCW5av9c.mjs";
1
+ import { U as PaletteColor, nt as Theme } from "../index-B-1sp9oV.mjs";
2
+ import { t as TableCellPadding } from "../TableContext-jOlk5jxs.mjs";
3
3
  import { BorderProps, LayoutProps, SpaceProps } from "@soroush.tech/styled-system";
4
4
  import { ElementType, TableHTMLAttributes } from "react";
5
5
  /** Valid values for the bg prop - derived from theme.background keys. */
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "../index-DvVQLBZc.cjs";
1
+ import { nt as Theme } from "../index-CK-uaK5U.cjs";
2
2
  import { ElementType, HTMLAttributes } from "react";
3
3
  import { BorderProps, SpaceProps } from "@soroush.tech/styled-system";
4
4
  /** Valid values for the color prop - derived from theme.text keys. */
@@ -1,4 +1,4 @@
1
- import { nt as Theme } from "../index-BWiDilH8.mjs";
1
+ import { nt as Theme } from "../index-B-1sp9oV.mjs";
2
2
  import { BorderProps, SpaceProps } from "@soroush.tech/styled-system";
3
3
  import { ElementType, HTMLAttributes } from "react";
4
4
  /** Valid values for the color prop - derived from theme.text keys. */
@@ -1,2 +1,2 @@
1
- import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell } from "../index-HAVWK7RM.cjs";
1
+ import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell } from "../index-DOnYRzqY.cjs";
2
2
  export { TableCell, TableCellAlign, TableCellBackgroundToken, TableCellBorderColorToken, TableCellColorToken, TableCellProps, TableCellSortDirection, TableCellVariant };
@@ -1,2 +1,2 @@
1
- import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell } from "../index-YKXzINGk.mjs";
1
+ import { a as TableCellColorToken, c as TableCellVariant, i as TableCellBorderColorToken, n as TableCellAlign, o as TableCellProps, r as TableCellBackgroundToken, s as TableCellSortDirection, t as TableCell } from "../index-ClTo3BEJ.mjs";
2
2
  export { TableCell, TableCellAlign, TableCellBackgroundToken, TableCellBorderColorToken, TableCellColorToken, TableCellProps, TableCellSortDirection, TableCellVariant };