@eylulg/ui 1.2.0 → 2.0.1

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 (524) hide show
  1. package/README.md +172 -223
  2. package/dist/components/{Avatar → atoms/Avatar}/Avatar.d.ts +3 -1
  3. package/dist/components/{Avatar → atoms/Avatar}/Avatar.js +4 -4
  4. package/dist/components/atoms/Avatar/Avatar.js.map +1 -0
  5. package/dist/components/{Avatar → atoms/Avatar}/index.d.ts +1 -1
  6. package/dist/components/atoms/Avatar/index.js +2 -0
  7. package/dist/components/{Badge → atoms/Badge}/Badge.d.ts +10 -6
  8. package/dist/components/{Badge → atoms/Badge}/Badge.js +12 -16
  9. package/dist/components/atoms/Badge/Badge.js.map +1 -0
  10. package/dist/components/atoms/Badge/index.d.ts +2 -0
  11. package/dist/components/atoms/BrandLoader/BrandLoader.d.ts +14 -0
  12. package/dist/components/atoms/BrandLoader/BrandLoader.js +57 -0
  13. package/dist/components/atoms/BrandLoader/BrandLoader.js.map +1 -0
  14. package/dist/components/atoms/BrandLoader/index.d.ts +2 -0
  15. package/dist/components/atoms/BrandLoader/index.js +2 -0
  16. package/dist/{chrome → components/atoms/BrandLogo}/BrandLogo.d.ts +1 -1
  17. package/dist/{chrome → components/atoms/BrandLogo}/BrandLogo.js +3 -4
  18. package/dist/components/atoms/BrandLogo/BrandLogo.js.map +1 -0
  19. package/dist/components/atoms/BrandLogo/index.d.ts +2 -0
  20. package/dist/components/atoms/BrandLogo/index.js +1 -0
  21. package/dist/components/{Button → atoms/Button}/Button.d.ts +13 -9
  22. package/dist/components/atoms/Button/Button.js +88 -0
  23. package/dist/components/atoms/Button/Button.js.map +1 -0
  24. package/dist/components/{Button → atoms/Button}/buttonStyles.d.ts +4 -6
  25. package/dist/components/atoms/Button/buttonStyles.js +25 -0
  26. package/dist/components/atoms/Button/buttonStyles.js.map +1 -0
  27. package/dist/components/atoms/Button/index.d.ts +2 -0
  28. package/dist/components/atoms/Button/index.js +4 -0
  29. package/dist/components/{Checkbox → atoms/Checkbox}/Checkbox.js +10 -14
  30. package/dist/components/atoms/Checkbox/Checkbox.js.map +1 -0
  31. package/dist/components/atoms/IconButton/IconButton.d.ts +21 -0
  32. package/dist/components/atoms/IconButton/IconButton.js +43 -0
  33. package/dist/components/atoms/IconButton/IconButton.js.map +1 -0
  34. package/dist/components/{Kbd → atoms/Kbd}/Kbd.d.ts +2 -2
  35. package/dist/components/{Kbd → atoms/Kbd}/Kbd.js +9 -8
  36. package/dist/components/atoms/Kbd/Kbd.js.map +1 -0
  37. package/dist/components/atoms/NavItem/NavItem.d.ts +24 -0
  38. package/dist/components/atoms/NavItem/NavItem.js +42 -0
  39. package/dist/components/atoms/NavItem/NavItem.js.map +1 -0
  40. package/dist/components/atoms/NavItem/index.d.ts +2 -0
  41. package/dist/components/atoms/NavItem/index.js +1 -0
  42. package/dist/components/{ProgressBar → atoms/ProgressBar}/ProgressBar.d.ts +2 -2
  43. package/dist/components/{ProgressBar → atoms/ProgressBar}/ProgressBar.js +6 -5
  44. package/dist/components/atoms/ProgressBar/ProgressBar.js.map +1 -0
  45. package/dist/components/atoms/ProgressBar/index.d.ts +2 -0
  46. package/dist/components/{Skeleton → atoms/Skeleton}/Skeleton.js +3 -5
  47. package/dist/components/atoms/Skeleton/Skeleton.js.map +1 -0
  48. package/dist/components/{Spinner → atoms/Spinner}/Spinner.js +2 -2
  49. package/dist/components/atoms/Spinner/Spinner.js.map +1 -0
  50. package/dist/components/{Switch → atoms/Switch}/Switch.d.ts +3 -3
  51. package/dist/components/atoms/Switch/Switch.js +35 -0
  52. package/dist/components/atoms/Switch/Switch.js.map +1 -0
  53. package/dist/components/atoms/TextLink/TextLink.d.ts +18 -0
  54. package/dist/components/atoms/TextLink/TextLink.js +21 -0
  55. package/dist/components/atoms/TextLink/TextLink.js.map +1 -0
  56. package/dist/components/atoms/TextLink/index.d.ts +2 -0
  57. package/dist/components/atoms/TextLink/index.js +1 -0
  58. package/dist/components/{Tooltip → atoms/Tooltip}/Tooltip.js +4 -4
  59. package/dist/components/atoms/Tooltip/Tooltip.js.map +1 -0
  60. package/dist/components/{Tooltip → atoms/Tooltip}/TooltipOverlay.js +2 -2
  61. package/dist/components/atoms/Tooltip/TooltipOverlay.js.map +1 -0
  62. package/dist/components/{Breadcrumbs → molecules/Breadcrumbs}/Breadcrumbs.js +5 -4
  63. package/dist/components/molecules/Breadcrumbs/Breadcrumbs.js.map +1 -0
  64. package/dist/components/{Card → molecules/Card}/Card.d.ts +3 -1
  65. package/dist/components/{Card → molecules/Card}/Card.js +21 -13
  66. package/dist/components/molecules/Card/Card.js.map +1 -0
  67. package/dist/components/molecules/Card/index.d.ts +2 -0
  68. package/dist/components/{CodeBlock → molecules/CodeBlock}/CodeBlock.d.ts +7 -5
  69. package/dist/components/{CodeBlock → molecules/CodeBlock}/CodeBlock.js +20 -12
  70. package/dist/components/molecules/CodeBlock/CodeBlock.js.map +1 -0
  71. package/dist/components/{Combobox → molecules/Combobox}/Combobox.d.ts +4 -1
  72. package/dist/components/molecules/Combobox/Combobox.js +91 -0
  73. package/dist/components/molecules/Combobox/Combobox.js.map +1 -0
  74. package/dist/components/{DatePicker → molecules/DatePicker}/DatePicker.d.ts +7 -4
  75. package/dist/components/molecules/DatePicker/DatePicker.js +138 -0
  76. package/dist/components/molecules/DatePicker/DatePicker.js.map +1 -0
  77. package/dist/components/molecules/Dialog/Dialog.d.ts +20 -0
  78. package/dist/components/{Dialog → molecules/Dialog}/Dialog.js +7 -7
  79. package/dist/components/molecules/Dialog/Dialog.js.map +1 -0
  80. package/dist/components/molecules/Dialog/DialogOverlay.d.ts +3 -0
  81. package/dist/components/molecules/Dialog/DialogOverlay.js +60 -0
  82. package/dist/components/molecules/Dialog/DialogOverlay.js.map +1 -0
  83. package/dist/components/molecules/Drawer/Drawer.d.ts +21 -0
  84. package/dist/components/{Drawer → molecules/Drawer}/Drawer.js +7 -7
  85. package/dist/components/molecules/Drawer/Drawer.js.map +1 -0
  86. package/dist/components/{Drawer → molecules/Drawer}/DrawerOverlay.d.ts +1 -1
  87. package/dist/components/molecules/Drawer/DrawerOverlay.js +66 -0
  88. package/dist/components/molecules/Drawer/DrawerOverlay.js.map +1 -0
  89. package/dist/components/{DropdownMenu → molecules/DropdownMenu}/DropdownMenu.d.ts +8 -9
  90. package/dist/components/{DropdownMenu → molecules/DropdownMenu}/DropdownMenu.js +8 -20
  91. package/dist/components/molecules/DropdownMenu/DropdownMenu.js.map +1 -0
  92. package/dist/components/{DropdownMenu → molecules/DropdownMenu}/DropdownMenuParts.d.ts +1 -1
  93. package/dist/components/{DropdownMenu → molecules/DropdownMenu}/DropdownMenuParts.js +17 -28
  94. package/dist/components/molecules/DropdownMenu/DropdownMenuParts.js.map +1 -0
  95. package/dist/components/{EmptyState → molecules/EmptyState}/EmptyState.d.ts +3 -4
  96. package/dist/components/{EmptyState → molecules/EmptyState}/EmptyState.js +6 -5
  97. package/dist/components/molecules/EmptyState/EmptyState.js.map +1 -0
  98. package/dist/components/{FileDropZone → molecules/FileDropZone}/FileDropZone.d.ts +1 -1
  99. package/dist/components/{FileDropZone → molecules/FileDropZone}/FileDropZone.js +6 -5
  100. package/dist/components/molecules/FileDropZone/FileDropZone.js.map +1 -0
  101. package/dist/components/{Input → molecules/Input}/Input.d.ts +8 -6
  102. package/dist/components/molecules/Input/Input.js +45 -0
  103. package/dist/components/molecules/Input/Input.js.map +1 -0
  104. package/dist/components/molecules/Input/index.d.ts +2 -0
  105. package/dist/components/{Pagination → molecules/Pagination}/Pagination.d.ts +6 -2
  106. package/dist/components/{Pagination → molecules/Pagination}/Pagination.js +44 -34
  107. package/dist/components/molecules/Pagination/Pagination.js.map +1 -0
  108. package/dist/components/molecules/Pagination/index.d.ts +2 -0
  109. package/dist/components/molecules/Pagination/index.js +2 -0
  110. package/dist/components/{Popover → molecules/Popover}/Popover.d.ts +1 -1
  111. package/dist/components/{Popover → molecules/Popover}/Popover.js +7 -7
  112. package/dist/components/molecules/Popover/Popover.js.map +1 -0
  113. package/dist/components/{Popover → molecules/Popover}/PopoverOverlay.js +5 -4
  114. package/dist/components/molecules/Popover/PopoverOverlay.js.map +1 -0
  115. package/dist/components/molecules/RadioGroup/RadioGroup.js +43 -0
  116. package/dist/components/molecules/RadioGroup/RadioGroup.js.map +1 -0
  117. package/dist/components/{SegmentedControl → molecules/SegmentedControl}/SegmentedControl.d.ts +6 -7
  118. package/dist/components/molecules/SegmentedControl/SegmentedControl.js +71 -0
  119. package/dist/components/molecules/SegmentedControl/SegmentedControl.js.map +1 -0
  120. package/dist/components/molecules/SegmentedControl/index.d.ts +2 -0
  121. package/dist/components/{Select → molecules/Select}/Select.d.ts +4 -1
  122. package/dist/components/molecules/Select/Select.js +58 -0
  123. package/dist/components/molecules/Select/Select.js.map +1 -0
  124. package/dist/components/molecules/Stat/Stat.d.ts +36 -0
  125. package/dist/components/molecules/Stat/Stat.js +85 -0
  126. package/dist/components/molecules/Stat/Stat.js.map +1 -0
  127. package/dist/components/molecules/Stat/index.d.ts +2 -0
  128. package/dist/components/molecules/Stat/index.js +2 -0
  129. package/dist/components/{Tabs → molecules/Tabs}/Tabs.js +5 -5
  130. package/dist/components/molecules/Tabs/Tabs.js.map +1 -0
  131. package/dist/components/molecules/Tag/Tag.js +49 -0
  132. package/dist/components/molecules/Tag/Tag.js.map +1 -0
  133. package/dist/components/{Textarea → molecules/Textarea}/Textarea.d.ts +3 -11
  134. package/dist/components/molecules/Textarea/Textarea.js +29 -0
  135. package/dist/components/molecules/Textarea/Textarea.js.map +1 -0
  136. package/dist/components/molecules/Textarea/index.d.ts +2 -0
  137. package/dist/components/{Toast → molecules/Toast}/Toast.d.ts +12 -8
  138. package/dist/components/{Toast → molecules/Toast}/Toast.js +13 -18
  139. package/dist/components/molecules/Toast/Toast.js.map +1 -0
  140. package/dist/components/molecules/Toast/ToastItem.d.ts +6 -0
  141. package/dist/components/{Toast → molecules/Toast}/ToastItem.js +25 -27
  142. package/dist/components/molecules/Toast/ToastItem.js.map +1 -0
  143. package/dist/components/{Toast → molecules/Toast}/index.d.ts +1 -1
  144. package/dist/components/{Chart → organisms/Chart}/BarChart.d.ts +1 -1
  145. package/dist/components/organisms/Chart/BarChart.js +304 -0
  146. package/dist/components/organisms/Chart/BarChart.js.map +1 -0
  147. package/dist/components/{Chart → organisms/Chart}/ChartFrame.d.ts +2 -2
  148. package/dist/components/{Chart → organisms/Chart}/ChartFrame.js +14 -18
  149. package/dist/components/organisms/Chart/ChartFrame.js.map +1 -0
  150. package/dist/components/{Chart → organisms/Chart}/ChartLegend.d.ts +3 -2
  151. package/dist/components/{Chart → organisms/Chart}/ChartLegend.js +2 -2
  152. package/dist/components/organisms/Chart/ChartLegend.js.map +1 -0
  153. package/dist/components/{Chart → organisms/Chart}/ChartTable.js +8 -12
  154. package/dist/components/organisms/Chart/ChartTable.js.map +1 -0
  155. package/dist/components/{Chart → organisms/Chart}/ChartTooltip.d.ts +3 -2
  156. package/dist/components/{Chart → organisms/Chart}/ChartTooltip.js +3 -3
  157. package/dist/components/organisms/Chart/ChartTooltip.js.map +1 -0
  158. package/dist/components/{Chart → organisms/Chart}/HeatGrid.d.ts +6 -3
  159. package/dist/components/organisms/Chart/HeatGrid.js +235 -0
  160. package/dist/components/organisms/Chart/HeatGrid.js.map +1 -0
  161. package/dist/components/{Chart → organisms/Chart}/LineChart.d.ts +1 -1
  162. package/dist/components/organisms/Chart/LineChart.js +227 -0
  163. package/dist/components/organisms/Chart/LineChart.js.map +1 -0
  164. package/dist/components/organisms/Chart/Sparkline.d.ts +14 -0
  165. package/dist/components/organisms/Chart/Sparkline.js +39 -0
  166. package/dist/components/organisms/Chart/Sparkline.js.map +1 -0
  167. package/dist/components/{Chart → organisms/Chart}/format.d.ts +2 -0
  168. package/dist/components/{Chart → organisms/Chart}/format.js +6 -4
  169. package/dist/components/organisms/Chart/format.js.map +1 -0
  170. package/dist/components/{Chart → organisms/Chart}/geometry.js +1 -1
  171. package/dist/components/organisms/Chart/geometry.js.map +1 -0
  172. package/dist/components/{Chart → organisms/Chart}/index.d.ts +2 -2
  173. package/dist/components/{Chart → organisms/Chart}/index.js +2 -2
  174. package/dist/components/{Chart → organisms/Chart}/interaction.d.ts +10 -6
  175. package/dist/components/{Chart → organisms/Chart}/interaction.js +13 -10
  176. package/dist/components/organisms/Chart/interaction.js.map +1 -0
  177. package/dist/components/{Chart → organisms/Chart}/labels.js +1 -1
  178. package/dist/components/organisms/Chart/labels.js.map +1 -0
  179. package/dist/components/{Chart → organisms/Chart}/scale.js +1 -1
  180. package/dist/components/organisms/Chart/scale.js.map +1 -0
  181. package/dist/components/organisms/Chart/series.d.ts +30 -0
  182. package/dist/components/organisms/Chart/series.js +108 -0
  183. package/dist/components/organisms/Chart/series.js.map +1 -0
  184. package/dist/components/{Chart → organisms/Chart}/summary.js +2 -5
  185. package/dist/components/organisms/Chart/summary.js.map +1 -0
  186. package/dist/components/{Chart → organisms/Chart}/types.d.ts +2 -2
  187. package/dist/components/{Chart → organisms/Chart}/useElementWidth.js +1 -1
  188. package/dist/components/organisms/Chart/useElementWidth.js.map +1 -0
  189. package/dist/components/{CommandPalette → organisms/CommandPalette}/CommandPalette.d.ts +7 -8
  190. package/dist/components/{CommandPalette → organisms/CommandPalette}/CommandPalette.js +4 -10
  191. package/dist/components/organisms/CommandPalette/CommandPalette.js.map +1 -0
  192. package/dist/components/organisms/CommandPalette/CommandPaletteOverlay.d.ts +4 -0
  193. package/dist/components/organisms/CommandPalette/CommandPaletteOverlay.js +150 -0
  194. package/dist/components/organisms/CommandPalette/CommandPaletteOverlay.js.map +1 -0
  195. package/dist/components/{CommandPalette → organisms/CommandPalette}/index.d.ts +1 -1
  196. package/dist/components/{PageHeader → organisms/PageHeader}/PageHeader.js +5 -5
  197. package/dist/components/organisms/PageHeader/PageHeader.js.map +1 -0
  198. package/dist/{chrome → components/organisms/SidebarNav}/SidebarNav.d.ts +1 -1
  199. package/dist/{chrome → components/organisms/SidebarNav}/SidebarNav.js +18 -26
  200. package/dist/components/organisms/SidebarNav/SidebarNav.js.map +1 -0
  201. package/dist/components/organisms/SidebarNav/index.d.ts +2 -0
  202. package/dist/components/organisms/SidebarNav/index.js +2 -0
  203. package/dist/components/organisms/SiteFooter/SiteFooter.d.ts +33 -0
  204. package/dist/components/organisms/SiteFooter/SiteFooter.js +87 -0
  205. package/dist/components/organisms/SiteFooter/SiteFooter.js.map +1 -0
  206. package/dist/components/organisms/SiteFooter/index.d.ts +2 -0
  207. package/dist/components/organisms/SiteFooter/index.js +1 -0
  208. package/dist/components/{Table → organisms/Table}/Table.d.ts +9 -6
  209. package/dist/components/{Table → organisms/Table}/Table.js +36 -23
  210. package/dist/components/organisms/Table/Table.js.map +1 -0
  211. package/dist/components/organisms/ThemeToggle/ThemeToggle.d.ts +36 -0
  212. package/dist/components/organisms/ThemeToggle/ThemeToggle.js +88 -0
  213. package/dist/components/organisms/ThemeToggle/ThemeToggle.js.map +1 -0
  214. package/dist/components/organisms/ThemeToggle/ThemeToggleMenu.d.ts +14 -0
  215. package/dist/components/organisms/ThemeToggle/ThemeToggleMenu.js +50 -0
  216. package/dist/components/organisms/ThemeToggle/ThemeToggleMenu.js.map +1 -0
  217. package/dist/components/organisms/ThemeToggle/index.d.ts +2 -0
  218. package/dist/components/organisms/ThemeToggle/index.js +2 -0
  219. package/dist/components/organisms/ThemeToggle/themeChoices.d.ts +7 -0
  220. package/dist/components/organisms/ThemeToggle/themeChoices.js +17 -0
  221. package/dist/components/organisms/ThemeToggle/themeChoices.js.map +1 -0
  222. package/dist/components/organisms/TopNav/TopNav.d.ts +51 -0
  223. package/dist/components/organisms/TopNav/TopNav.js +148 -0
  224. package/dist/components/organisms/TopNav/TopNav.js.map +1 -0
  225. package/dist/components/organisms/TopNav/index.d.ts +2 -0
  226. package/dist/components/organisms/TopNav/index.js +2 -0
  227. package/dist/{chrome → components/templates/AppShell}/AppShell.d.ts +10 -6
  228. package/dist/{chrome → components/templates/AppShell}/AppShell.js +12 -17
  229. package/dist/components/templates/AppShell/AppShell.js.map +1 -0
  230. package/dist/components/templates/AppShell/index.d.ts +2 -0
  231. package/dist/components/templates/AppShell/index.js +1 -0
  232. package/dist/{chrome → data}/projects.d.ts +13 -6
  233. package/dist/{chrome → data}/projects.js +43 -14
  234. package/dist/data/projects.js.map +1 -0
  235. package/dist/fonts.css +27 -2
  236. package/dist/index.d.ts +56 -38
  237. package/dist/index.js +55 -42
  238. package/dist/internal/Field.d.ts +16 -11
  239. package/dist/internal/Field.js +30 -23
  240. package/dist/internal/Field.js.map +1 -1
  241. package/dist/internal/OverlayParts.d.ts +43 -0
  242. package/dist/internal/OverlayParts.js +43 -0
  243. package/dist/internal/OverlayParts.js.map +1 -0
  244. package/dist/internal/PreloadOnIntent.d.ts +2 -3
  245. package/dist/internal/PreloadOnIntent.js +3 -3
  246. package/dist/internal/PreloadOnIntent.js.map +1 -1
  247. package/dist/{chrome → internal}/brandLogoPath.js +1 -2
  248. package/dist/internal/brandLogoPath.js.map +1 -0
  249. package/dist/internal/button.d.ts +7 -0
  250. package/dist/internal/button.js +19 -0
  251. package/dist/internal/button.js.map +1 -0
  252. package/dist/internal/control.d.ts +32 -0
  253. package/dist/internal/control.js +59 -0
  254. package/dist/internal/control.js.map +1 -0
  255. package/dist/internal/focusRing.d.ts +7 -1
  256. package/dist/internal/focusRing.js +8 -3
  257. package/dist/internal/focusRing.js.map +1 -1
  258. package/dist/internal/layout.d.ts +9 -0
  259. package/dist/internal/layout.js +13 -0
  260. package/dist/internal/layout.js.map +1 -0
  261. package/dist/internal/lazyModule.d.ts +8 -2
  262. package/dist/internal/lazyModule.js +20 -6
  263. package/dist/internal/lazyModule.js.map +1 -1
  264. package/dist/internal/link.d.ts +3 -0
  265. package/dist/internal/link.js +10 -0
  266. package/dist/internal/link.js.map +1 -0
  267. package/dist/internal/listParts.d.ts +12 -0
  268. package/dist/internal/listParts.js +32 -0
  269. package/dist/internal/listParts.js.map +1 -0
  270. package/dist/internal/surfaces.d.ts +11 -5
  271. package/dist/internal/surfaces.js +13 -7
  272. package/dist/internal/surfaces.js.map +1 -1
  273. package/dist/internal/toggle.d.ts +8 -0
  274. package/dist/internal/toggle.js +22 -0
  275. package/dist/internal/toggle.js.map +1 -0
  276. package/dist/internal/types.d.ts +2 -5
  277. package/dist/{chrome → router}/Anchor.js +1 -2
  278. package/dist/{chrome → router}/Anchor.js.map +1 -1
  279. package/dist/{chrome → router}/LinkRouter.js +1 -1
  280. package/dist/{chrome → router}/LinkRouter.js.map +1 -1
  281. package/dist/{chrome → router}/types.d.ts +3 -3
  282. package/dist/styles/themes/variants.d.ts +0 -12
  283. package/dist/styles/themes/variants.js +3 -43
  284. package/dist/styles/themes/variants.js.map +1 -1
  285. package/dist/styles.css +1 -1
  286. package/dist/{chrome → theme}/themeScript.d.ts +2 -5
  287. package/dist/{chrome → theme}/themeScript.js +4 -7
  288. package/dist/theme/themeScript.js.map +1 -0
  289. package/dist/{chrome → theme}/useTheme.js +1 -1
  290. package/dist/theme/useTheme.js.map +1 -0
  291. package/dist/theme.css +87 -56
  292. package/dist/tokens.css +42 -48
  293. package/dist/utils/cx.d.ts +0 -12
  294. package/dist/utils/cx.js +18 -10
  295. package/dist/utils/cx.js.map +1 -1
  296. package/package.json +147 -107
  297. package/dist/chrome/AppShell.js.map +0 -1
  298. package/dist/chrome/BrandLogo.js.map +0 -1
  299. package/dist/chrome/BrandMark.d.ts +0 -12
  300. package/dist/chrome/BrandMark.js +0 -40
  301. package/dist/chrome/BrandMark.js.map +0 -1
  302. package/dist/chrome/MobileMenu.d.ts +0 -19
  303. package/dist/chrome/MobileMenu.js +0 -52
  304. package/dist/chrome/MobileMenu.js.map +0 -1
  305. package/dist/chrome/ProjectSwitcher.d.ts +0 -30
  306. package/dist/chrome/ProjectSwitcher.js +0 -64
  307. package/dist/chrome/ProjectSwitcher.js.map +0 -1
  308. package/dist/chrome/ProjectSwitcherMenu.d.ts +0 -13
  309. package/dist/chrome/ProjectSwitcherMenu.js +0 -50
  310. package/dist/chrome/ProjectSwitcherMenu.js.map +0 -1
  311. package/dist/chrome/SidebarNav.js.map +0 -1
  312. package/dist/chrome/SiteFooter.d.ts +0 -37
  313. package/dist/chrome/SiteFooter.js +0 -105
  314. package/dist/chrome/SiteFooter.js.map +0 -1
  315. package/dist/chrome/TextSizeToggle.d.ts +0 -11
  316. package/dist/chrome/TextSizeToggle.js +0 -38
  317. package/dist/chrome/TextSizeToggle.js.map +0 -1
  318. package/dist/chrome/ThemeToggle.d.ts +0 -26
  319. package/dist/chrome/ThemeToggle.js +0 -100
  320. package/dist/chrome/ThemeToggle.js.map +0 -1
  321. package/dist/chrome/ThemeToggleMenu.d.ts +0 -16
  322. package/dist/chrome/ThemeToggleMenu.js +0 -42
  323. package/dist/chrome/ThemeToggleMenu.js.map +0 -1
  324. package/dist/chrome/TopNav.d.ts +0 -42
  325. package/dist/chrome/TopNav.js +0 -117
  326. package/dist/chrome/TopNav.js.map +0 -1
  327. package/dist/chrome/brandLogoPath.js.map +0 -1
  328. package/dist/chrome/index.d.ts +0 -28
  329. package/dist/chrome/index.js +0 -15
  330. package/dist/chrome/projects.js.map +0 -1
  331. package/dist/chrome/themeChoices.d.ts +0 -6
  332. package/dist/chrome/themeChoices.js +0 -18
  333. package/dist/chrome/themeChoices.js.map +0 -1
  334. package/dist/chrome/themeScript.js.map +0 -1
  335. package/dist/chrome/useTextSize.d.ts +0 -16
  336. package/dist/chrome/useTextSize.js +0 -64
  337. package/dist/chrome/useTextSize.js.map +0 -1
  338. package/dist/chrome/useTheme.js.map +0 -1
  339. package/dist/components/Avatar/Avatar.js.map +0 -1
  340. package/dist/components/Avatar/index.js +0 -2
  341. package/dist/components/Badge/Badge.js.map +0 -1
  342. package/dist/components/Badge/index.d.ts +0 -2
  343. package/dist/components/Breadcrumbs/Breadcrumbs.js.map +0 -1
  344. package/dist/components/Button/Button.js +0 -73
  345. package/dist/components/Button/Button.js.map +0 -1
  346. package/dist/components/Button/buttonStyles.js +0 -32
  347. package/dist/components/Button/buttonStyles.js.map +0 -1
  348. package/dist/components/Button/index.d.ts +0 -2
  349. package/dist/components/Button/index.js +0 -4
  350. package/dist/components/Card/Card.js.map +0 -1
  351. package/dist/components/Card/index.d.ts +0 -2
  352. package/dist/components/Chart/BarChart.js +0 -327
  353. package/dist/components/Chart/BarChart.js.map +0 -1
  354. package/dist/components/Chart/ChartFrame.js.map +0 -1
  355. package/dist/components/Chart/ChartLegend.js.map +0 -1
  356. package/dist/components/Chart/ChartTable.js.map +0 -1
  357. package/dist/components/Chart/ChartTooltip.js.map +0 -1
  358. package/dist/components/Chart/HeatGrid.js +0 -256
  359. package/dist/components/Chart/HeatGrid.js.map +0 -1
  360. package/dist/components/Chart/LineChart.js +0 -248
  361. package/dist/components/Chart/LineChart.js.map +0 -1
  362. package/dist/components/Chart/format.js.map +0 -1
  363. package/dist/components/Chart/geometry.js.map +0 -1
  364. package/dist/components/Chart/interaction.js.map +0 -1
  365. package/dist/components/Chart/labels.js.map +0 -1
  366. package/dist/components/Chart/scale.js.map +0 -1
  367. package/dist/components/Chart/series.d.ts +0 -14
  368. package/dist/components/Chart/series.js +0 -72
  369. package/dist/components/Chart/series.js.map +0 -1
  370. package/dist/components/Chart/summary.js.map +0 -1
  371. package/dist/components/Chart/useElementWidth.js.map +0 -1
  372. package/dist/components/Checkbox/Checkbox.js.map +0 -1
  373. package/dist/components/CodeBlock/CodeBlock.js.map +0 -1
  374. package/dist/components/Combobox/Combobox.js +0 -106
  375. package/dist/components/Combobox/Combobox.js.map +0 -1
  376. package/dist/components/CommandPalette/CommandPalette.js.map +0 -1
  377. package/dist/components/CommandPalette/CommandPaletteOverlay.d.ts +0 -11
  378. package/dist/components/CommandPalette/CommandPaletteOverlay.js +0 -180
  379. package/dist/components/CommandPalette/CommandPaletteOverlay.js.map +0 -1
  380. package/dist/components/DatePicker/DatePicker.js +0 -142
  381. package/dist/components/DatePicker/DatePicker.js.map +0 -1
  382. package/dist/components/Dialog/Dialog.d.ts +0 -37
  383. package/dist/components/Dialog/Dialog.js.map +0 -1
  384. package/dist/components/Dialog/DialogOverlay.d.ts +0 -3
  385. package/dist/components/Dialog/DialogOverlay.js +0 -72
  386. package/dist/components/Dialog/DialogOverlay.js.map +0 -1
  387. package/dist/components/Drawer/Drawer.d.ts +0 -36
  388. package/dist/components/Drawer/Drawer.js.map +0 -1
  389. package/dist/components/Drawer/DrawerOverlay.js +0 -71
  390. package/dist/components/Drawer/DrawerOverlay.js.map +0 -1
  391. package/dist/components/DropdownMenu/DropdownMenu.js.map +0 -1
  392. package/dist/components/DropdownMenu/DropdownMenuParts.js.map +0 -1
  393. package/dist/components/EmptyState/EmptyState.js.map +0 -1
  394. package/dist/components/FileDropZone/FileDropZone.js.map +0 -1
  395. package/dist/components/IconButton/IconButton.d.ts +0 -17
  396. package/dist/components/IconButton/IconButton.js +0 -37
  397. package/dist/components/IconButton/IconButton.js.map +0 -1
  398. package/dist/components/Input/Input.js +0 -43
  399. package/dist/components/Input/Input.js.map +0 -1
  400. package/dist/components/Input/index.d.ts +0 -2
  401. package/dist/components/Kbd/Kbd.js.map +0 -1
  402. package/dist/components/PageHeader/PageHeader.js.map +0 -1
  403. package/dist/components/Pagination/Pagination.js.map +0 -1
  404. package/dist/components/Pagination/index.d.ts +0 -2
  405. package/dist/components/Pagination/index.js +0 -2
  406. package/dist/components/Popover/Popover.js.map +0 -1
  407. package/dist/components/Popover/PopoverOverlay.js.map +0 -1
  408. package/dist/components/ProgressBar/ProgressBar.js.map +0 -1
  409. package/dist/components/ProgressBar/index.d.ts +0 -2
  410. package/dist/components/RadioGroup/RadioGroup.js +0 -46
  411. package/dist/components/RadioGroup/RadioGroup.js.map +0 -1
  412. package/dist/components/SegmentedControl/SegmentedControl.js +0 -55
  413. package/dist/components/SegmentedControl/SegmentedControl.js.map +0 -1
  414. package/dist/components/SegmentedControl/index.d.ts +0 -2
  415. package/dist/components/Select/Select.js +0 -64
  416. package/dist/components/Select/Select.js.map +0 -1
  417. package/dist/components/Skeleton/Skeleton.js.map +0 -1
  418. package/dist/components/Spinner/Spinner.js.map +0 -1
  419. package/dist/components/Stat/Stat.d.ts +0 -49
  420. package/dist/components/Stat/Stat.js +0 -125
  421. package/dist/components/Stat/Stat.js.map +0 -1
  422. package/dist/components/Stat/index.d.ts +0 -2
  423. package/dist/components/Stat/index.js +0 -2
  424. package/dist/components/Switch/Switch.js +0 -39
  425. package/dist/components/Switch/Switch.js.map +0 -1
  426. package/dist/components/Table/Table.js.map +0 -1
  427. package/dist/components/Tabs/Tabs.js.map +0 -1
  428. package/dist/components/Tag/Tag.js +0 -48
  429. package/dist/components/Tag/Tag.js.map +0 -1
  430. package/dist/components/Textarea/Textarea.js +0 -30
  431. package/dist/components/Textarea/Textarea.js.map +0 -1
  432. package/dist/components/Textarea/index.d.ts +0 -2
  433. package/dist/components/Toast/Toast.js.map +0 -1
  434. package/dist/components/Toast/ToastItem.d.ts +0 -6
  435. package/dist/components/Toast/ToastItem.js.map +0 -1
  436. package/dist/components/Tooltip/Tooltip.js.map +0 -1
  437. package/dist/components/Tooltip/TooltipOverlay.js.map +0 -1
  438. package/dist/internal/LazyDialogTrigger.d.ts +0 -8
  439. package/dist/internal/LazyDialogTrigger.js +0 -15
  440. package/dist/internal/LazyDialogTrigger.js.map +0 -1
  441. package/dist/internal/Spinner.d.ts +0 -3
  442. package/dist/internal/Spinner.js +0 -14
  443. package/dist/internal/Spinner.js.map +0 -1
  444. package/dist/internal/useLazyMenuTrigger.d.ts +0 -23
  445. package/dist/internal/useLazyMenuTrigger.js +0 -47
  446. package/dist/internal/useLazyMenuTrigger.js.map +0 -1
  447. package/dist/utils/cxLite.d.ts +0 -12
  448. package/dist/utils/cxLite.js +0 -23
  449. package/dist/utils/cxLite.js.map +0 -1
  450. /package/dist/components/{Badge → atoms/Badge}/index.js +0 -0
  451. /package/dist/components/{Checkbox → atoms/Checkbox}/Checkbox.d.ts +0 -0
  452. /package/dist/components/{Checkbox → atoms/Checkbox}/index.d.ts +0 -0
  453. /package/dist/components/{Checkbox → atoms/Checkbox}/index.js +0 -0
  454. /package/dist/components/{IconButton → atoms/IconButton}/index.d.ts +0 -0
  455. /package/dist/components/{IconButton → atoms/IconButton}/index.js +0 -0
  456. /package/dist/components/{Kbd → atoms/Kbd}/index.d.ts +0 -0
  457. /package/dist/components/{Kbd → atoms/Kbd}/index.js +0 -0
  458. /package/dist/components/{ProgressBar → atoms/ProgressBar}/index.js +0 -0
  459. /package/dist/components/{Skeleton → atoms/Skeleton}/Skeleton.d.ts +0 -0
  460. /package/dist/components/{Skeleton → atoms/Skeleton}/index.d.ts +0 -0
  461. /package/dist/components/{Skeleton → atoms/Skeleton}/index.js +0 -0
  462. /package/dist/components/{Spinner → atoms/Spinner}/Spinner.d.ts +0 -0
  463. /package/dist/components/{Spinner → atoms/Spinner}/index.d.ts +0 -0
  464. /package/dist/components/{Spinner → atoms/Spinner}/index.js +0 -0
  465. /package/dist/components/{Switch → atoms/Switch}/index.d.ts +0 -0
  466. /package/dist/components/{Switch → atoms/Switch}/index.js +0 -0
  467. /package/dist/components/{Tooltip → atoms/Tooltip}/Tooltip.d.ts +0 -0
  468. /package/dist/components/{Tooltip → atoms/Tooltip}/TooltipOverlay.d.ts +0 -0
  469. /package/dist/components/{Tooltip → atoms/Tooltip}/index.d.ts +0 -0
  470. /package/dist/components/{Tooltip → atoms/Tooltip}/index.js +0 -0
  471. /package/dist/components/{Breadcrumbs → molecules/Breadcrumbs}/Breadcrumbs.d.ts +0 -0
  472. /package/dist/components/{Breadcrumbs → molecules/Breadcrumbs}/index.d.ts +0 -0
  473. /package/dist/components/{Breadcrumbs → molecules/Breadcrumbs}/index.js +0 -0
  474. /package/dist/components/{Card → molecules/Card}/index.js +0 -0
  475. /package/dist/components/{CodeBlock → molecules/CodeBlock}/index.d.ts +0 -0
  476. /package/dist/components/{CodeBlock → molecules/CodeBlock}/index.js +0 -0
  477. /package/dist/components/{Combobox → molecules/Combobox}/index.d.ts +0 -0
  478. /package/dist/components/{Combobox → molecules/Combobox}/index.js +0 -0
  479. /package/dist/components/{DatePicker → molecules/DatePicker}/index.d.ts +0 -0
  480. /package/dist/components/{DatePicker → molecules/DatePicker}/index.js +0 -0
  481. /package/dist/components/{Dialog → molecules/Dialog}/index.d.ts +0 -0
  482. /package/dist/components/{Dialog → molecules/Dialog}/index.js +0 -0
  483. /package/dist/components/{Drawer → molecules/Drawer}/index.d.ts +0 -0
  484. /package/dist/components/{Drawer → molecules/Drawer}/index.js +0 -0
  485. /package/dist/components/{DropdownMenu → molecules/DropdownMenu}/index.d.ts +0 -0
  486. /package/dist/components/{DropdownMenu → molecules/DropdownMenu}/index.js +0 -0
  487. /package/dist/components/{EmptyState → molecules/EmptyState}/index.d.ts +0 -0
  488. /package/dist/components/{EmptyState → molecules/EmptyState}/index.js +0 -0
  489. /package/dist/components/{FileDropZone → molecules/FileDropZone}/index.d.ts +0 -0
  490. /package/dist/components/{FileDropZone → molecules/FileDropZone}/index.js +0 -0
  491. /package/dist/components/{Input → molecules/Input}/index.js +0 -0
  492. /package/dist/components/{Popover → molecules/Popover}/PopoverOverlay.d.ts +0 -0
  493. /package/dist/components/{Popover → molecules/Popover}/index.d.ts +0 -0
  494. /package/dist/components/{Popover → molecules/Popover}/index.js +0 -0
  495. /package/dist/components/{RadioGroup → molecules/RadioGroup}/RadioGroup.d.ts +0 -0
  496. /package/dist/components/{RadioGroup → molecules/RadioGroup}/index.d.ts +0 -0
  497. /package/dist/components/{RadioGroup → molecules/RadioGroup}/index.js +0 -0
  498. /package/dist/components/{SegmentedControl → molecules/SegmentedControl}/index.js +0 -0
  499. /package/dist/components/{Select → molecules/Select}/index.d.ts +0 -0
  500. /package/dist/components/{Select → molecules/Select}/index.js +0 -0
  501. /package/dist/components/{Tabs → molecules/Tabs}/Tabs.d.ts +0 -0
  502. /package/dist/components/{Tabs → molecules/Tabs}/index.d.ts +0 -0
  503. /package/dist/components/{Tabs → molecules/Tabs}/index.js +0 -0
  504. /package/dist/components/{Tag → molecules/Tag}/Tag.d.ts +0 -0
  505. /package/dist/components/{Tag → molecules/Tag}/index.d.ts +0 -0
  506. /package/dist/components/{Tag → molecules/Tag}/index.js +0 -0
  507. /package/dist/components/{Textarea → molecules/Textarea}/index.js +0 -0
  508. /package/dist/components/{Toast → molecules/Toast}/index.js +0 -0
  509. /package/dist/components/{Chart → organisms/Chart}/ChartTable.d.ts +0 -0
  510. /package/dist/components/{Chart → organisms/Chart}/geometry.d.ts +0 -0
  511. /package/dist/components/{Chart → organisms/Chart}/labels.d.ts +0 -0
  512. /package/dist/components/{Chart → organisms/Chart}/scale.d.ts +0 -0
  513. /package/dist/components/{Chart → organisms/Chart}/summary.d.ts +0 -0
  514. /package/dist/components/{Chart → organisms/Chart}/useElementWidth.d.ts +0 -0
  515. /package/dist/components/{CommandPalette → organisms/CommandPalette}/index.js +0 -0
  516. /package/dist/components/{PageHeader → organisms/PageHeader}/PageHeader.d.ts +0 -0
  517. /package/dist/components/{PageHeader → organisms/PageHeader}/index.d.ts +0 -0
  518. /package/dist/components/{PageHeader → organisms/PageHeader}/index.js +0 -0
  519. /package/dist/components/{Table → organisms/Table}/index.d.ts +0 -0
  520. /package/dist/components/{Table → organisms/Table}/index.js +0 -0
  521. /package/dist/{chrome → internal}/brandLogoPath.d.ts +0 -0
  522. /package/dist/{chrome → router}/Anchor.d.ts +0 -0
  523. /package/dist/{chrome → router}/LinkRouter.d.ts +0 -0
  524. /package/dist/{chrome → theme}/useTheme.d.ts +0 -0
@@ -1,5 +1,4 @@
1
- "use client";
2
- // src/chrome/brandLogoPath.ts
1
+ // src/internal/brandLogoPath.ts
3
2
  /** The EG horse logo outline, traced from the chosen draft. One path, one colour. */
4
3
  var brandLogoPath = "M24.3 93.8c-1.3-.1 -2.8-.2 -3.4-.3c-1.4-.2 -1.6-.2 -2.9-.4c-.8-.1 -1.3-.2 -1.6-.3c-.1 0 -.3-.1 -.5-.2c-.2 0 -.5-.1 -.7-.1c-.2-.1 -.6-.2 -.8-.3c-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 1.4 2.5 1.9 3.6c.2 .6 .5 1.3 .6 1.5c.1 .2 .3 .6 .5 1c.6 1.3 1.4 3 1.9 3.8c.1 .3 .3 .6 .3 .7c.1 .2 .2 .4 .5 .8c.1 .1 .1 .2 .2 .3c0 .1 .1 .2 .1 .3c.6 .8 1.5 2.3 1.8 2.7c.1 .1 .3 .4 .5 .6c.3 .5 .5 .8 .8 1.1c.1 .2 .3 .5 .4 .6c.1 .2 .4 .6 .6 .8c.2 .3 .5 .7 .7 .9c.3 .5 .5 .7 2.1 2.6c.6 .8 1.2 1.5 1.3 1.6c1.2 1.6 1.7 2.3 2.1 3c.1 .3 .2 .6 .3 .7c.1 .3 .4 1.3 .6 1.8c.1 .5 .1 1.9 0 2.6c-.3 1.9 -1.3 3.7 -2.9 4.9c-.7 .6 -1.6 1.1 -2.8 1.4c-.2 .1 -1.5 .2 -1.6 .2c-.1 0 -.3 0 -.7-.1z";
5
4
  export { brandLogoPath };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brandLogoPath.js","names":[],"sources":["../../src/internal/brandLogoPath.ts"],"sourcesContent":["/** The EG horse logo outline, traced from the chosen draft. One path, one colour. */\nexport const brandLogoPath =\n 'M24.3 93.8c-1.3-.1 -2.8-.2 -3.4-.3c-1.4-.2 -1.6-.2 -2.9-.4c-.8-.1 -1.3-.2 -1.6-.3c-.1 0 -.3-.1 -.5-.2c-.2 0 -.5-.1 -.7-.1c-.2-.1 -.6-.2 -.8-.3c-.1 0 -.4-.1 -.5-.1c-.1-.1 -.4-.2 -.8-.3c-.6-.2 -1.2-.4 -1.5-.6c-.5-.2 -2.1-1 -2.4-1.2c-.4-.2 -1.5-.9 -1.7-1.1c-.1 0 -.2-.1 -.3-.2c-.3-.2 -.8-.6 -1.1-.9c-.2-.2 -.4-.3 -.5-.4c-.4-.4 -1.4-1.6 -1.8-2.1c-.6-.9 -1.4-2.5 -1.5-2.9c0-.1 -.1-.2 -.1-.3c-.3-.5 -.6-2.1 -.8-3.2c-.1-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7 2.1 2.6c.6 .8 1.2 1.5 1.3 1.6c1.2 1.6 1.7 2.3 2.1 3c.1 .3 .2 .6 .3 .7c.1 .3 .4 1.3 .6 1.8c.1 .5 .1 1.9 0 2.6c-.3 1.9 -1.3 3.7 -2.9 4.9c-.7 .6 -1.6 1.1 -2.8 1.4c-.2 .1 -1.5 .2 -1.6 .2c-.1 0 -.3 0 -.7-.1z';\n"],"mappings":";;AACA,IAAa,gBACX"}
@@ -0,0 +1,7 @@
1
+ export type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'destructive' | 'destructive-outline';
2
+ /**
3
+ * The base gives every variant a transparent 1px border, so all variants have
4
+ * the same box and line up with fields of the same size.
5
+ */
6
+ export declare const buttonBase = "touch-target relative inline-flex shrink-0 cursor-pointer items-center justify-center border border-transparent font-semibold whitespace-nowrap transition-colors select-none data-disabled:cursor-not-allowed data-disabled:border-transparent data-disabled:text-disabled outline-none data-focus-visible:outline-2 data-focus-visible:outline-solid data-focus-visible:outline-offset-2 data-focus-visible:outline-focus";
7
+ export declare const buttonVariants: Record<ButtonVariant, string>;
@@ -0,0 +1,19 @@
1
+ "use client";
2
+ import { controlSurface } from "./control.js";
3
+ import { focusRing } from "./focusRing.js";
4
+ // src/internal/button.ts
5
+ /**
6
+ * The base gives every variant a transparent 1px border, so all variants have
7
+ * the same box and line up with fields of the same size.
8
+ */
9
+ var buttonBase = `touch-target relative inline-flex shrink-0 cursor-pointer items-center justify-center border border-transparent font-semibold whitespace-nowrap transition-colors select-none data-disabled:cursor-not-allowed data-disabled:border-transparent data-disabled:text-disabled ${focusRing}`;
10
+ var buttonVariants = {
11
+ primary: "bg-brand-solid text-on-solid data-hovered:bg-brand-solid-hover data-pressed:bg-brand-solid-hover data-disabled:bg-disabled",
12
+ secondary: `${controlSurface} text-primary data-hovered:border-field-hover data-hovered:bg-field-hover data-pressed:bg-field-hover data-disabled:bg-disabled`,
13
+ tertiary: "bg-transparent text-secondary data-hovered:bg-field data-hovered:text-primary data-pressed:bg-field-hover",
14
+ destructive: "bg-error-solid text-on-error data-hovered:bg-error-solid-hover data-pressed:bg-error-solid-hover data-disabled:bg-disabled",
15
+ "destructive-outline": "border-error bg-transparent text-error data-hovered:bg-error-subtle data-pressed:bg-error-subtle"
16
+ };
17
+ export { buttonBase, buttonVariants };
18
+
19
+ //# sourceMappingURL=button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.js","names":[],"sources":["../../src/internal/button.ts"],"sourcesContent":["import { controlSurface } from './control';\nimport { focusRing } from './focusRing';\n\nexport type ButtonVariant =\n 'primary' | 'secondary' | 'tertiary' | 'destructive' | 'destructive-outline';\n\n/**\n * The base gives every variant a transparent 1px border, so all variants have\n * the same box and line up with fields of the same size.\n */\nexport const buttonBase = `touch-target relative inline-flex shrink-0 cursor-pointer items-center justify-center border border-transparent font-semibold whitespace-nowrap transition-colors select-none data-disabled:cursor-not-allowed data-disabled:border-transparent data-disabled:text-disabled ${focusRing}`;\n\nexport const buttonVariants: Record<ButtonVariant, string> = {\n primary:\n 'bg-brand-solid text-on-solid data-hovered:bg-brand-solid-hover data-pressed:bg-brand-solid-hover data-disabled:bg-disabled',\n secondary: `${controlSurface} text-primary data-hovered:border-field-hover data-hovered:bg-field-hover data-pressed:bg-field-hover data-disabled:bg-disabled`,\n tertiary:\n 'bg-transparent text-secondary data-hovered:bg-field data-hovered:text-primary data-pressed:bg-field-hover',\n destructive:\n 'bg-error-solid text-on-error data-hovered:bg-error-solid-hover data-pressed:bg-error-solid-hover data-disabled:bg-disabled',\n 'destructive-outline':\n 'border-error bg-transparent text-error data-hovered:bg-error-subtle data-pressed:bg-error-subtle',\n};\n"],"mappings":";;;;;;;;AAUA,IAAa,aAAa,+QAA+Q;AAEzS,IAAa,iBAAgD;CAC3D,SACE;CACF,WAAW,GAAG,eAAe;CAC7B,UACE;CACF,aACE;CACF,uBACE;AACJ"}
@@ -0,0 +1,32 @@
1
+ import type { MouseEvent } from 'react';
2
+ /**
3
+ * One size scale for every control: buttons, icon buttons, fields, selects,
4
+ * segmented controls and pagination. The same size is the same height, so a
5
+ * row of mixed controls lines up.
6
+ */
7
+ export type ControlSize = 'sm' | 'md' | 'lg';
8
+ export declare const controlHeight: Record<ControlSize, string>;
9
+ /** Small controls use a 10px radius so they do not read as pills. */
10
+ export declare const controlRadius: Record<ControlSize, string>;
11
+ /** Square size of an icon-only control at each control size. */
12
+ export declare const controlSquare: Record<ControlSize, string>;
13
+ /** The filled surface and soft edge shared by fields and secondary buttons. */
14
+ export declare const controlSurface = "border border-field bg-field transition-[background-color,border-color,box-shadow]";
15
+ /**
16
+ * The box of every field: Input, Select, Combobox, DatePicker and Textarea.
17
+ * The soft edge has a 3:1 bottom edge, which marks the field (WCAG 1.4.11).
18
+ * Hover deepens the fill only. While focused the box lifts to the card colour
19
+ * with a brand edge, and keyboard focus adds the shared focus ring. A Group
20
+ * reports focus with data-focus-within, a TextArea or a Select's trigger with
21
+ * data-focused. The field's root carries `group`, so an invalid root reaches
22
+ * the box, and the error edge wins over hover and focus.
23
+ */
24
+ export declare function fieldStyles(size?: ControlSize | 'auto', className?: string): string;
25
+ /** Pressing a field's padding or leading icon focuses its input: `onMouseDown` of the box around it. */
26
+ export declare function focusInputOnPress(event: MouseEvent<HTMLElement>): void;
27
+ /** The bare text input inside a field box. */
28
+ export declare const fieldInput = "min-w-0 flex-1 bg-transparent text-primary outline-none placeholder:text-placeholder disabled:cursor-not-allowed disabled:text-disabled";
29
+ /** The slot around an icon element passed to a control: 16px, never shrinking. */
30
+ export declare const iconSlot = "inline-flex shrink-0 [&>svg]:size-4";
31
+ /** A field's leading or trailing icon. */
32
+ export declare const fieldIcon = "size-4 shrink-0 text-fg-tertiary";
@@ -0,0 +1,59 @@
1
+ import { cx } from "../utils/cx.js";
2
+ import { focusRing } from "./focusRing.js";
3
+ // src/internal/control.ts
4
+ var controlHeight = {
5
+ sm: "h-control-sm",
6
+ md: "h-control-md",
7
+ lg: "h-control-lg"
8
+ };
9
+ /** Small controls use a 10px radius so they do not read as pills. */
10
+ var controlRadius = {
11
+ sm: "rounded-sm",
12
+ md: "rounded-md",
13
+ lg: "rounded-md"
14
+ };
15
+ /** Square size of an icon-only control at each control size. */
16
+ var controlSquare = {
17
+ sm: "size-control-sm",
18
+ md: "size-control-md",
19
+ lg: "size-control-lg"
20
+ };
21
+ /** The filled surface and soft edge shared by fields and secondary buttons. */
22
+ var controlSurface = "border border-field bg-field transition-[background-color,border-color,box-shadow]";
23
+ /** Text inside a field, by size. Fields stay at 16px from md up so phones do not zoom. */
24
+ var fieldText = {
25
+ sm: "gap-1.5 px-2.5 text-sm",
26
+ md: "gap-2 px-3 text-md",
27
+ lg: "gap-2 px-3.5 text-md"
28
+ };
29
+ /**
30
+ * The box of every field: Input, Select, Combobox, DatePicker and Textarea.
31
+ * The soft edge has a 3:1 bottom edge, which marks the field (WCAG 1.4.11).
32
+ * Hover deepens the fill only. While focused the box lifts to the card colour
33
+ * with a brand edge, and keyboard focus adds the shared focus ring. A Group
34
+ * reports focus with data-focus-within, a TextArea or a Select's trigger with
35
+ * data-focused. The field's root carries `group`, so an invalid root reaches
36
+ * the box, and the error edge wins over hover and focus.
37
+ */
38
+ function fieldStyles(size = "md", className) {
39
+ return cx("flex w-full items-center text-primary", controlSurface, "border-b-control data-hovered:not-data-focus-within:not-data-focused:bg-field-hover", focusRing, size === "auto" ? [controlRadius.md, fieldText.md] : [
40
+ controlRadius[size],
41
+ controlHeight[size],
42
+ fieldText[size]
43
+ ], "data-focus-within:border-brand data-focus-within:bg-primary data-focused:border-brand data-focused:bg-primary", "group-data-invalid:border-error! data-invalid:border-error!", "data-disabled:cursor-not-allowed data-disabled:border-transparent data-disabled:bg-disabled data-disabled:text-disabled", className);
44
+ }
45
+ /** Pressing a field's padding or leading icon focuses its input: `onMouseDown` of the box around it. */
46
+ function focusInputOnPress(event) {
47
+ if (event.target.closest("input, button")) return;
48
+ event.preventDefault();
49
+ event.currentTarget.querySelector("input")?.focus();
50
+ }
51
+ /** The bare text input inside a field box. */
52
+ var fieldInput = "min-w-0 flex-1 bg-transparent text-primary outline-none placeholder:text-placeholder disabled:cursor-not-allowed disabled:text-disabled";
53
+ /** The slot around an icon element passed to a control: 16px, never shrinking. */
54
+ var iconSlot = "inline-flex shrink-0 [&>svg]:size-4";
55
+ /** A field's leading or trailing icon. */
56
+ var fieldIcon = "size-4 shrink-0 text-fg-tertiary";
57
+ export { controlHeight, controlRadius, controlSquare, controlSurface, fieldIcon, fieldInput, fieldStyles, focusInputOnPress, iconSlot };
58
+
59
+ //# sourceMappingURL=control.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"control.js","names":[],"sources":["../../src/internal/control.ts"],"sourcesContent":["import type { MouseEvent } from 'react';\nimport { cx } from '../utils/cx';\nimport { focusRing } from './focusRing';\n\n/**\n * One size scale for every control: buttons, icon buttons, fields, selects,\n * segmented controls and pagination. The same size is the same height, so a\n * row of mixed controls lines up.\n */\nexport type ControlSize = 'sm' | 'md' | 'lg';\n\nexport const controlHeight: Record<ControlSize, string> = {\n sm: 'h-control-sm',\n md: 'h-control-md',\n lg: 'h-control-lg',\n};\n\n/** Small controls use a 10px radius so they do not read as pills. */\nexport const controlRadius: Record<ControlSize, string> = {\n sm: 'rounded-sm',\n md: 'rounded-md',\n lg: 'rounded-md',\n};\n\n/** Square size of an icon-only control at each control size. */\nexport const controlSquare: Record<ControlSize, string> = {\n sm: 'size-control-sm',\n md: 'size-control-md',\n lg: 'size-control-lg',\n};\n\n/** The filled surface and soft edge shared by fields and secondary buttons. */\nexport const controlSurface =\n 'border border-field bg-field transition-[background-color,border-color,box-shadow]';\n\n/** Text inside a field, by size. Fields stay at 16px from md up so phones do not zoom. */\nconst fieldText: Record<ControlSize, string> = {\n sm: 'gap-1.5 px-2.5 text-sm',\n md: 'gap-2 px-3 text-md',\n lg: 'gap-2 px-3.5 text-md',\n};\n\n/**\n * The box of every field: Input, Select, Combobox, DatePicker and Textarea.\n * The soft edge has a 3:1 bottom edge, which marks the field (WCAG 1.4.11).\n * Hover deepens the fill only. While focused the box lifts to the card colour\n * with a brand edge, and keyboard focus adds the shared focus ring. A Group\n * reports focus with data-focus-within, a TextArea or a Select's trigger with\n * data-focused. The field's root carries `group`, so an invalid root reaches\n * the box, and the error edge wins over hover and focus.\n */\nexport function fieldStyles(size: ControlSize | 'auto' = 'md', className?: string): string {\n return cx(\n 'flex w-full items-center text-primary',\n controlSurface,\n 'border-b-control data-hovered:not-data-focus-within:not-data-focused:bg-field-hover',\n focusRing,\n size === 'auto'\n ? [controlRadius.md, fieldText.md]\n : [controlRadius[size], controlHeight[size], fieldText[size]],\n 'data-focus-within:border-brand data-focus-within:bg-primary data-focused:border-brand data-focused:bg-primary',\n 'group-data-invalid:border-error! data-invalid:border-error!',\n 'data-disabled:cursor-not-allowed data-disabled:border-transparent data-disabled:bg-disabled data-disabled:text-disabled',\n className,\n );\n}\n\n/** Pressing a field's padding or leading icon focuses its input: `onMouseDown` of the box around it. */\nexport function focusInputOnPress(event: MouseEvent<HTMLElement>) {\n if ((event.target as HTMLElement).closest('input, button')) return;\n event.preventDefault();\n event.currentTarget.querySelector('input')?.focus();\n}\n\n/** The bare text input inside a field box. */\nexport const fieldInput =\n 'min-w-0 flex-1 bg-transparent text-primary outline-none placeholder:text-placeholder disabled:cursor-not-allowed disabled:text-disabled';\n\n/** The slot around an icon element passed to a control: 16px, never shrinking. */\nexport const iconSlot = 'inline-flex shrink-0 [&>svg]:size-4';\n\n/** A field's leading or trailing icon. */\nexport const fieldIcon = 'size-4 shrink-0 text-fg-tertiary';\n"],"mappings":";;;AAWA,IAAa,gBAA6C;CACxD,IAAI;CACJ,IAAI;CACJ,IAAI;AACN;;AAGA,IAAa,gBAA6C;CACxD,IAAI;CACJ,IAAI;CACJ,IAAI;AACN;;AAGA,IAAa,gBAA6C;CACxD,IAAI;CACJ,IAAI;CACJ,IAAI;AACN;;AAGA,IAAa,iBACX;;AAGF,IAAM,YAAyC;CAC7C,IAAI;CACJ,IAAI;CACJ,IAAI;AACN;;;;;;;;;;AAWA,SAAgB,YAAY,OAA6B,MAAM,WAA4B;CACzF,OAAO,GACL,yCACA,gBACA,uFACA,WACA,SAAS,SACL,CAAC,cAAc,IAAI,UAAU,EAAE,IAC/B;EAAC,cAAc;EAAO,cAAc;EAAO,UAAU;CAAK,GAC9D,iHACA,+DACA,2HACA,SACF;AACF;;AAGA,SAAgB,kBAAkB,OAAgC;CAChE,IAAK,MAAM,OAAuB,QAAQ,eAAe,GAAG;CAC5D,MAAM,eAAe;CACrB,MAAM,cAAc,cAAc,OAAO,CAAC,EAAE,MAAM;AACpD;;AAGA,IAAa,aACX;;AAGF,IAAa,WAAW;;AAGxB,IAAa,YAAY"}
@@ -1,2 +1,8 @@
1
- /** Shared focus ring, shown only for keyboard focus (React Aria sets data-focus-visible). */
1
+ /** Keyboard focus ring of a React Aria element (it sets data-focus-visible). */
2
2
  export declare const focusRing = "outline-none data-focus-visible:outline-2 data-focus-visible:outline-solid data-focus-visible:outline-offset-2 data-focus-visible:outline-focus";
3
+ /** The same ring drawn inside the box, for rows and cells that sit in a clipped container. */
4
+ export declare const focusRingInset = "outline-none data-focus-visible:outline-2 data-focus-visible:outline-solid data-focus-visible:-outline-offset-2 data-focus-visible:outline-focus";
5
+ /** The ring on a child of a React Aria element that carries `group`, such as a checkbox indicator. */
6
+ export declare const focusRingGroup = "group-data-focus-visible:outline-2 group-data-focus-visible:outline-solid group-data-focus-visible:outline-offset-2 group-data-focus-visible:outline-focus";
7
+ /** The ring for plain links and anchors, which have no data-focus-visible. */
8
+ export declare const linkFocus = "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus";
@@ -1,7 +1,12 @@
1
- "use client";
2
1
  // src/internal/focusRing.ts
3
- /** Shared focus ring, shown only for keyboard focus (React Aria sets data-focus-visible). */
2
+ /** Keyboard focus ring of a React Aria element (it sets data-focus-visible). */
4
3
  var focusRing = "outline-none data-focus-visible:outline-2 data-focus-visible:outline-solid data-focus-visible:outline-offset-2 data-focus-visible:outline-focus";
5
- export { focusRing };
4
+ /** The same ring drawn inside the box, for rows and cells that sit in a clipped container. */
5
+ var focusRingInset = "outline-none data-focus-visible:outline-2 data-focus-visible:outline-solid data-focus-visible:-outline-offset-2 data-focus-visible:outline-focus";
6
+ /** The ring on a child of a React Aria element that carries `group`, such as a checkbox indicator. */
7
+ var focusRingGroup = "group-data-focus-visible:outline-2 group-data-focus-visible:outline-solid group-data-focus-visible:outline-offset-2 group-data-focus-visible:outline-focus";
8
+ /** The ring for plain links and anchors, which have no data-focus-visible. */
9
+ var linkFocus = "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus";
10
+ export { focusRing, focusRingGroup, focusRingInset, linkFocus };
6
11
 
7
12
  //# sourceMappingURL=focusRing.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"focusRing.js","names":[],"sources":["../../src/internal/focusRing.ts"],"sourcesContent":["/** Shared focus ring, shown only for keyboard focus (React Aria sets data-focus-visible). */\nexport const focusRing =\n 'outline-none data-focus-visible:outline-2 data-focus-visible:outline-solid data-focus-visible:outline-offset-2 data-focus-visible:outline-focus';\n"],"mappings":";;;AACA,IAAa,YACX"}
1
+ {"version":3,"file":"focusRing.js","names":[],"sources":["../../src/internal/focusRing.ts"],"sourcesContent":["/** Keyboard focus ring of a React Aria element (it sets data-focus-visible). */\nexport const focusRing =\n 'outline-none data-focus-visible:outline-2 data-focus-visible:outline-solid data-focus-visible:outline-offset-2 data-focus-visible:outline-focus';\n\n/** The same ring drawn inside the box, for rows and cells that sit in a clipped container. */\nexport const focusRingInset =\n 'outline-none data-focus-visible:outline-2 data-focus-visible:outline-solid data-focus-visible:-outline-offset-2 data-focus-visible:outline-focus';\n\n/** The ring on a child of a React Aria element that carries `group`, such as a checkbox indicator. */\nexport const focusRingGroup =\n 'group-data-focus-visible:outline-2 group-data-focus-visible:outline-solid group-data-focus-visible:outline-offset-2 group-data-focus-visible:outline-focus';\n\n/** The ring for plain links and anchors, which have no data-focus-visible. */\nexport const linkFocus =\n 'focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus';\n"],"mappings":";;AACA,IAAa,YACX;;AAGF,IAAa,iBACX;;AAGF,IAAa,iBACX;;AAGF,IAAa,YACX"}
@@ -0,0 +1,9 @@
1
+ /** Side padding of a page: 16px on phones, widening with the screen. */
2
+ export declare const pageGutter = "px-4 sm:px-6 lg:px-8";
3
+ /**
4
+ * The frame of TopNav and SiteFooter. AppShell sets `data-width` on its root, so the
5
+ * bars follow it without props or context, and they render on the server. `page` is one
6
+ * centred column shared with the content. `full` drops the column width. With a sidebar
7
+ * (`data-sidebar`), the bar starts at the sidebar's 12px padding so the logo lines up with it.
8
+ */
9
+ export declare const pageFrame = "mx-auto w-full max-w-6xl px-4 sm:px-6 lg:px-8 group-data-[width=full]/shell:max-w-none group-data-[sidebar]/shell:md:pl-3";
@@ -0,0 +1,13 @@
1
+ // src/internal/layout.ts
2
+ /** Side padding of a page: 16px on phones, widening with the screen. */
3
+ var pageGutter = "px-4 sm:px-6 lg:px-8";
4
+ /**
5
+ * The frame of TopNav and SiteFooter. AppShell sets `data-width` on its root, so the
6
+ * bars follow it without props or context, and they render on the server. `page` is one
7
+ * centred column shared with the content. `full` drops the column width. With a sidebar
8
+ * (`data-sidebar`), the bar starts at the sidebar's 12px padding so the logo lines up with it.
9
+ */
10
+ var pageFrame = `mx-auto w-full max-w-6xl ${pageGutter} group-data-[width=full]/shell:max-w-none group-data-[sidebar]/shell:md:pl-3`;
11
+ export { pageFrame, pageGutter };
12
+
13
+ //# sourceMappingURL=layout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.js","names":[],"sources":["../../src/internal/layout.ts"],"sourcesContent":["/** Side padding of a page: 16px on phones, widening with the screen. */\nexport const pageGutter = 'px-4 sm:px-6 lg:px-8';\n\n/**\n * The frame of TopNav and SiteFooter. AppShell sets `data-width` on its root, so the\n * bars follow it without props or context, and they render on the server. `page` is one\n * centred column shared with the content. `full` drops the column width. With a sidebar\n * (`data-sidebar`), the bar starts at the sidebar's 12px padding so the logo lines up with it.\n */\nexport const pageFrame = `mx-auto w-full max-w-6xl ${pageGutter} group-data-[width=full]/shell:max-w-none group-data-[sidebar]/shell:md:pl-3`;\n"],"mappings":";;AACA,IAAa,aAAa;;;;;;;AAQ1B,IAAa,YAAY,4BAA4B,WAAW"}
@@ -9,7 +9,13 @@ export interface LazyModule<M> {
9
9
  /**
10
10
  * Loads the code behind an overlay once and shares it between every instance
11
11
  * on the page. `useModule` reads the shared result without Suspense, so the
12
- * trigger never flashes a fallback and a failed download leaves the page as it
13
- * was instead of reaching an error boundary.
12
+ * trigger never flashes a fallback. A failed download is logged and leaves the
13
+ * page as it was; the next open tries again.
14
14
  */
15
15
  export declare function createLazyModule<M>(importer: () => Promise<M>): LazyModule<M>;
16
+ /**
17
+ * A component that renders the named export of a lazy module once it has
18
+ * loaded, and nothing before. For parts that only render inside an overlay that
19
+ * already waited for the module.
20
+ */
21
+ export declare function lazyPart<M, K extends keyof M>(module: LazyModule<M>, name: K): M[K];
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { useEffect, useSyncExternalStore } from "react";
3
- // src/internal/lazyModule.ts
4
- function ignoreFailure() {}
3
+ import { jsx } from "react/jsx-runtime";
4
+ // src/internal/lazyModule.tsx
5
5
  /**
6
6
  * Loads the code behind an overlay once and shares it between every instance
7
7
  * on the page. `useModule` reads the shared result without Suspense, so the
8
- * trigger never flashes a fallback and a failed download leaves the page as it
9
- * was instead of reaching an error boundary.
8
+ * trigger never flashes a fallback. A failed download is logged and leaves the
9
+ * page as it was; the next open tries again.
10
10
  */
11
11
  function createLazyModule(importer) {
12
12
  const listeners = /* @__PURE__ */ new Set();
@@ -34,7 +34,9 @@ function createLazyModule(importer) {
34
34
  return pending;
35
35
  }
36
36
  function preload() {
37
- load().catch(ignoreFailure);
37
+ load().catch((error) => {
38
+ console.error("Could not load the component code, it will retry on the next open.", error);
39
+ });
38
40
  }
39
41
  function useModule(isWanted) {
40
42
  const module = useSyncExternalStore(subscribe, get, getServerSnapshot);
@@ -49,6 +51,18 @@ function createLazyModule(importer) {
49
51
  get
50
52
  };
51
53
  }
52
- export { createLazyModule };
54
+ /**
55
+ * A component that renders the named export of a lazy module once it has
56
+ * loaded, and nothing before. For parts that only render inside an overlay that
57
+ * already waited for the module.
58
+ */
59
+ function lazyPart(module, name) {
60
+ function LazyPart(props) {
61
+ const Part = module.get()?.[name];
62
+ return Part ? /* @__PURE__ */ jsx(Part, { ...props }) : null;
63
+ }
64
+ return LazyPart;
65
+ }
66
+ export { createLazyModule, lazyPart };
53
67
 
54
68
  //# sourceMappingURL=lazyModule.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"lazyModule.js","names":[],"sources":["../../src/internal/lazyModule.ts"],"sourcesContent":["import { useEffect, useSyncExternalStore } from 'react';\n\nexport interface LazyModule<M> {\n /** Starts loading the module. Safe to call again, and after a failure it retries. */\n preload: () => void;\n /** The loaded module, or undefined until it has loaded. Starts loading once `isWanted` is true. */\n useModule: (isWanted: boolean) => M | undefined;\n /** The module if it has loaded already. For parts that only render inside the loaded overlay. */\n get: () => M | undefined;\n}\n\nfunction ignoreFailure() {\n // A failed preload is retried the next time the overlay is wanted.\n}\n\n/**\n * Loads the code behind an overlay once and shares it between every instance\n * on the page. `useModule` reads the shared result without Suspense, so the\n * trigger never flashes a fallback and a failed download leaves the page as it\n * was instead of reaching an error boundary.\n */\nexport function createLazyModule<M>(importer: () => Promise<M>): LazyModule<M> {\n const listeners = new Set<() => void>();\n let loaded: M | undefined;\n let pending: Promise<M> | undefined;\n\n function subscribe(listener: () => void) {\n listeners.add(listener);\n return () => {\n listeners.delete(listener);\n };\n }\n\n function get() {\n return loaded;\n }\n\n function getServerSnapshot() {\n return undefined;\n }\n\n function load(): Promise<M> {\n pending ??= importer().then(\n (module) => {\n loaded = module;\n for (const listener of listeners) listener();\n return module;\n },\n (error: unknown) => {\n pending = undefined;\n throw error;\n },\n );\n return pending;\n }\n\n function preload() {\n load().catch(ignoreFailure);\n }\n\n function useModule(isWanted: boolean) {\n const module = useSyncExternalStore(subscribe, get, getServerSnapshot);\n\n useEffect(() => {\n if (isWanted && !module) preload();\n }, [isWanted, module]);\n\n return module;\n }\n\n return { preload, useModule, get };\n}\n"],"mappings":";;;AAWA,SAAS,gBAAgB,CAEzB;;;;;;;AAQA,SAAgB,iBAAoB,UAA2C;CAC7E,MAAM,4BAAY,IAAI,IAAgB;CACtC,IAAI;CACJ,IAAI;CAEJ,SAAS,UAAU,UAAsB;EACvC,UAAU,IAAI,QAAQ;EACtB,aAAa;GACX,UAAU,OAAO,QAAQ;EAC3B;CACF;CAEA,SAAS,MAAM;EACb,OAAO;CACT;CAEA,SAAS,oBAAoB,CAE7B;CAEA,SAAS,OAAmB;EAC1B,YAAY,SAAS,CAAC,CAAC,MACpB,WAAW;GACV,SAAS;GACT,KAAK,MAAM,YAAY,WAAW,SAAS;GAC3C,OAAO;EACT,IACC,UAAmB;GAClB,UAAU,KAAA;GACV,MAAM;EACR,CACF;EACA,OAAO;CACT;CAEA,SAAS,UAAU;EACjB,KAAK,CAAC,CAAC,MAAM,aAAa;CAC5B;CAEA,SAAS,UAAU,UAAmB;EACpC,MAAM,SAAS,qBAAqB,WAAW,KAAK,iBAAiB;EAErE,gBAAgB;GACd,IAAI,YAAY,CAAC,QAAQ,QAAQ;EACnC,GAAG,CAAC,UAAU,MAAM,CAAC;EAErB,OAAO;CACT;CAEA,OAAO;EAAE;EAAS;EAAW;CAAI;AACnC"}
1
+ {"version":3,"file":"lazyModule.js","names":[],"sources":["../../src/internal/lazyModule.tsx"],"sourcesContent":["import { useEffect, useSyncExternalStore, type ComponentType } from 'react';\n\nexport interface LazyModule<M> {\n /** Starts loading the module. Safe to call again, and after a failure it retries. */\n preload: () => void;\n /** The loaded module, or undefined until it has loaded. Starts loading once `isWanted` is true. */\n useModule: (isWanted: boolean) => M | undefined;\n /** The module if it has loaded already. For parts that only render inside the loaded overlay. */\n get: () => M | undefined;\n}\n\n/**\n * Loads the code behind an overlay once and shares it between every instance\n * on the page. `useModule` reads the shared result without Suspense, so the\n * trigger never flashes a fallback. A failed download is logged and leaves the\n * page as it was; the next open tries again.\n */\nexport function createLazyModule<M>(importer: () => Promise<M>): LazyModule<M> {\n const listeners = new Set<() => void>();\n let loaded: M | undefined;\n let pending: Promise<M> | undefined;\n\n function subscribe(listener: () => void) {\n listeners.add(listener);\n return () => {\n listeners.delete(listener);\n };\n }\n\n function get() {\n return loaded;\n }\n\n function getServerSnapshot() {\n return undefined;\n }\n\n function load(): Promise<M> {\n pending ??= importer().then(\n (module) => {\n loaded = module;\n for (const listener of listeners) listener();\n return module;\n },\n (error: unknown) => {\n pending = undefined;\n throw error;\n },\n );\n return pending;\n }\n\n function preload() {\n load().catch((error: unknown) => {\n console.error('Could not load the component code, it will retry on the next open.', error);\n });\n }\n\n function useModule(isWanted: boolean) {\n const module = useSyncExternalStore(subscribe, get, getServerSnapshot);\n\n useEffect(() => {\n if (isWanted && !module) preload();\n }, [isWanted, module]);\n\n return module;\n }\n\n return { preload, useModule, get };\n}\n\n/**\n * A component that renders the named export of a lazy module once it has\n * loaded, and nothing before. For parts that only render inside an overlay that\n * already waited for the module.\n */\nexport function lazyPart<M, K extends keyof M>(module: LazyModule<M>, name: K): M[K] {\n function LazyPart(props: object) {\n const Part = module.get()?.[name] as ComponentType<object> | undefined;\n return Part ? <Part {...props} /> : null;\n }\n return LazyPart as M[K];\n}\n"],"mappings":";;;;;;;;;;AAiBA,SAAgB,iBAAoB,UAA2C;CAC7E,MAAM,4BAAY,IAAI,IAAgB;CACtC,IAAI;CACJ,IAAI;CAEJ,SAAS,UAAU,UAAsB;EACvC,UAAU,IAAI,QAAQ;EACtB,aAAa;GACX,UAAU,OAAO,QAAQ;EAC3B;CACF;CAEA,SAAS,MAAM;EACb,OAAO;CACT;CAEA,SAAS,oBAAoB,CAE7B;CAEA,SAAS,OAAmB;EAC1B,YAAY,SAAS,CAAC,CAAC,MACpB,WAAW;GACV,SAAS;GACT,KAAK,MAAM,YAAY,WAAW,SAAS;GAC3C,OAAO;EACT,IACC,UAAmB;GAClB,UAAU,KAAA;GACV,MAAM;EACR,CACF;EACA,OAAO;CACT;CAEA,SAAS,UAAU;EACjB,KAAK,CAAC,CAAC,OAAO,UAAmB;GAC/B,QAAQ,MAAM,sEAAsE,KAAK;EAC3F,CAAC;CACH;CAEA,SAAS,UAAU,UAAmB;EACpC,MAAM,SAAS,qBAAqB,WAAW,KAAK,iBAAiB;EAErE,gBAAgB;GACd,IAAI,YAAY,CAAC,QAAQ,QAAQ;EACnC,GAAG,CAAC,UAAU,MAAM,CAAC;EAErB,OAAO;CACT;CAEA,OAAO;EAAE;EAAS;EAAW;CAAI;AACnC;;;;;;AAOA,SAAgB,SAA+B,QAAuB,MAAe;CACnF,SAAS,SAAS,OAAe;EAC/B,MAAM,OAAO,OAAO,IAAI,CAAC,GAAG;EAC5B,OAAO,OAAO,oBAAC,MAAD,EAAM,GAAI,MAAQ,CAAA,IAAI;CACtC;CACA,OAAO;AACT"}
@@ -0,0 +1,3 @@
1
+ export type TextLinkVariant = 'inline' | 'quiet';
2
+ export declare const textLinkBase = "touch-target relative rounded-xs underline-offset-4 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-focus";
3
+ export declare const textLinkVariants: Record<TextLinkVariant, string>;
@@ -0,0 +1,10 @@
1
+ import { linkFocus } from "./focusRing.js";
2
+ // src/internal/link.ts
3
+ var textLinkBase = `touch-target relative rounded-xs underline-offset-4 ${linkFocus}`;
4
+ var textLinkVariants = {
5
+ inline: "font-medium text-brand underline hover:decoration-2",
6
+ quiet: "text-tertiary hover:text-primary hover:underline aria-[current=page]:text-brand"
7
+ };
8
+ export { textLinkBase, textLinkVariants };
9
+
10
+ //# sourceMappingURL=link.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.js","names":[],"sources":["../../src/internal/link.ts"],"sourcesContent":["import { linkFocus } from './focusRing';\n\nexport type TextLinkVariant = 'inline' | 'quiet';\n\nexport const textLinkBase = `touch-target relative rounded-xs underline-offset-4 ${linkFocus}`;\n\nexport const textLinkVariants: Record<TextLinkVariant, string> = {\n inline: 'font-medium text-brand underline hover:decoration-2',\n quiet: 'text-tertiary hover:text-primary hover:underline aria-[current=page]:text-brand',\n};\n"],"mappings":";;AAIA,IAAa,eAAe,uDAAuD;AAEnF,IAAa,mBAAoD;CAC/D,QAAQ;CACR,OAAO;AACT"}
@@ -0,0 +1,12 @@
1
+ import type { ReactNode } from 'react';
2
+ /** The text a list item is found by when typing: its string label unless one is given. */
3
+ export declare function textValueOf(textValue: string | undefined, children: unknown): string | undefined;
4
+ /** A list item's label with an optional second line. Select hides the second line in its trigger. */
5
+ export declare function ListItemText({ children, description, }: {
6
+ children: ReactNode;
7
+ description?: ReactNode;
8
+ }): import("react").JSX.Element;
9
+ /** Small heading above a group of list items. */
10
+ export declare function ListSectionHeader({ children }: {
11
+ children: ReactNode;
12
+ }): import("react").JSX.Element;
@@ -0,0 +1,32 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { Header } from "react-aria-components";
4
+ // src/internal/listParts.tsx
5
+ /** The text a list item is found by when typing: its string label unless one is given. */
6
+ function textValueOf(textValue, children) {
7
+ return textValue ?? (typeof children === "string" ? children : void 0);
8
+ }
9
+ /** A list item's label with an optional second line. Select hides the second line in its trigger. */
10
+ function ListItemText({ children, description }) {
11
+ return /* @__PURE__ */ jsxs("span", {
12
+ className: "flex min-w-0 flex-1 flex-col",
13
+ children: [/* @__PURE__ */ jsx("span", {
14
+ className: "truncate",
15
+ children
16
+ }), description && /* @__PURE__ */ jsx("span", {
17
+ "data-item-description": "",
18
+ className: "truncate text-xs text-tertiary",
19
+ children: description
20
+ })]
21
+ });
22
+ }
23
+ /** Small heading above a group of list items. */
24
+ function ListSectionHeader({ children }) {
25
+ return /* @__PURE__ */ jsx(Header, {
26
+ className: "px-item-x pt-2 pb-1 text-xs font-semibold text-tertiary",
27
+ children
28
+ });
29
+ }
30
+ export { ListItemText, ListSectionHeader, textValueOf };
31
+
32
+ //# sourceMappingURL=listParts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listParts.js","names":[],"sources":["../../src/internal/listParts.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport { Header } from 'react-aria-components';\n\n/** The text a list item is found by when typing: its string label unless one is given. */\nexport function textValueOf(textValue: string | undefined, children: unknown) {\n return textValue ?? (typeof children === 'string' ? children : undefined);\n}\n\n/** A list item's label with an optional second line. Select hides the second line in its trigger. */\nexport function ListItemText({\n children,\n description,\n}: {\n children: ReactNode;\n description?: ReactNode;\n}) {\n return (\n <span className='flex min-w-0 flex-1 flex-col'>\n <span className='truncate'>{children}</span>\n {description && (\n <span data-item-description='' className='truncate text-xs text-tertiary'>\n {description}\n </span>\n )}\n </span>\n );\n}\n\n/** Small heading above a group of list items. */\nexport function ListSectionHeader({ children }: { children: ReactNode }) {\n return (\n <Header className='px-item-x pt-2 pb-1 text-xs font-semibold text-tertiary'>{children}</Header>\n );\n}\n"],"mappings":";;;;;AAIA,SAAgB,YAAY,WAA+B,UAAmB;CAC5E,OAAO,cAAc,OAAO,aAAa,WAAW,WAAW,KAAA;AACjE;;AAGA,SAAgB,aAAa,EAC3B,UACA,eAIC;CACD,OACE,qBAAC,QAAD;EAAM,WAAU;EAAhB,UAAA,CACE,oBAAC,QAAD;GAAM,WAAU;GAAY;EAAe,CAAA,GAC1C,eACC,oBAAC,QAAD;GAAM,yBAAsB;GAAG,WAAU;GACtC,UAAA;EACG,CAAA,CAEJ;;AAEV;;AAGA,SAAgB,kBAAkB,EAAE,YAAqC;CACvE,OACE,oBAAC,QAAD;EAAQ,WAAU;EAA2D;CAAiB,CAAA;AAElG"}
@@ -1,8 +1,14 @@
1
- /** Floating surface for popovers, menus and listboxes. */
2
- export declare const popoverSurface = "overflow-auto rounded-lg border border-subtle bg-elevated p-1 text-primary shadow-lg outline-none";
1
+ /** A raised card: Card, and a Table's container. Charts inside it match its background. */
2
+ export declare const cardSurface = "rounded-xl border border-subtle bg-elevated text-primary shadow-xs [--chart-surface:var(--ui-bg-elevated)]";
3
+ /** The panel of a modal: Dialog, Drawer and CommandPalette. Add the border, the radius and the layout. */
4
+ export declare const modalSurface = "border-subtle bg-elevated text-primary shadow-xl outline-none";
5
+ /** The dimmed layer behind a modal. Add how the modal sits in it. */
6
+ export declare const modalBackdrop = "fixed inset-0 z-50 bg-overlay transition-opacity duration-200 data-entering:opacity-0 data-exiting:opacity-0 motion-reduce:transition-none";
7
+ /** Floating surface for popovers, menus and listboxes. Add padding and overflow. */
8
+ export declare const popoverSurface = "rounded-lg border border-default bg-elevated text-primary shadow-lg outline-none";
9
+ /** The listbox inside a field's popover, matched to the field's width. */
10
+ export declare const fieldPopover = "rounded-lg border border-default bg-elevated text-primary shadow-lg outline-none w-(--trigger-width) overflow-auto p-1";
3
11
  /** A row in a menu, listbox or command list. Sized by the density tokens. */
4
- export declare const listItem = "flex cursor-pointer items-center gap-2 rounded-sm px-item-x py-item-y text-sm text-primary outline-none select-none data-focused:bg-hover data-focus-visible:outline-2 data-focus-visible:outline-solid data-focus-visible:-outline-offset-2 data-focus-visible:outline-focus data-pressed:bg-tertiary data-disabled:cursor-not-allowed data-disabled:text-disabled";
5
- /** Small uppercase heading above a group of list items. */
6
- export declare const listSectionHeader = "px-item-x pt-2 pb-1 text-xs font-semibold text-tertiary";
12
+ export declare const listItem = "flex cursor-pointer items-center gap-2 rounded-sm px-item-x py-item-y text-sm text-primary select-none data-focused:bg-field-hover data-hovered:bg-field-hover outline-none data-focus-visible:outline-2 data-focus-visible:outline-solid data-focus-visible:-outline-offset-2 data-focus-visible:outline-focus data-pressed:bg-tertiary data-disabled:cursor-not-allowed data-disabled:text-disabled";
7
13
  /** A thin divider between groups of list items. */
8
14
  export declare const listSeparator = "mx-1 my-1 h-px bg-(--ui-border-subtle)";
@@ -1,13 +1,19 @@
1
- "use client";
1
+ import { focusRingInset } from "./focusRing.js";
2
2
  // src/internal/surfaces.ts
3
- /** Floating surface for popovers, menus and listboxes. */
4
- var popoverSurface = "overflow-auto rounded-lg border border-subtle bg-elevated p-1 text-primary shadow-lg outline-none";
3
+ /** A raised card: Card, and a Table's container. Charts inside it match its background. */
4
+ var cardSurface = "rounded-xl border border-subtle bg-elevated text-primary shadow-xs [--chart-surface:var(--ui-bg-elevated)]";
5
+ /** The panel of a modal: Dialog, Drawer and CommandPalette. Add the border, the radius and the layout. */
6
+ var modalSurface = "border-subtle bg-elevated text-primary shadow-xl outline-none";
7
+ /** The dimmed layer behind a modal. Add how the modal sits in it. */
8
+ var modalBackdrop = "fixed inset-0 z-50 bg-overlay transition-opacity duration-200 data-entering:opacity-0 data-exiting:opacity-0 motion-reduce:transition-none";
9
+ /** Floating surface for popovers, menus and listboxes. Add padding and overflow. */
10
+ var popoverSurface = "rounded-lg border border-default bg-elevated text-primary shadow-lg outline-none";
11
+ /** The listbox inside a field's popover, matched to the field's width. */
12
+ var fieldPopover = `${popoverSurface} w-(--trigger-width) overflow-auto p-1`;
5
13
  /** A row in a menu, listbox or command list. Sized by the density tokens. */
6
- var listItem = "flex cursor-pointer items-center gap-2 rounded-sm px-item-x py-item-y text-sm text-primary outline-none select-none data-focused:bg-hover data-focus-visible:outline-2 data-focus-visible:outline-solid data-focus-visible:-outline-offset-2 data-focus-visible:outline-focus data-pressed:bg-tertiary data-disabled:cursor-not-allowed data-disabled:text-disabled";
7
- /** Small uppercase heading above a group of list items. */
8
- var listSectionHeader = "px-item-x pt-2 pb-1 text-xs font-semibold text-tertiary";
14
+ var listItem = `flex cursor-pointer items-center gap-2 rounded-sm px-item-x py-item-y text-sm text-primary select-none data-focused:bg-field-hover data-hovered:bg-field-hover ${focusRingInset} data-pressed:bg-tertiary data-disabled:cursor-not-allowed data-disabled:text-disabled`;
9
15
  /** A thin divider between groups of list items. */
10
16
  var listSeparator = "mx-1 my-1 h-px bg-(--ui-border-subtle)";
11
- export { listItem, listSectionHeader, listSeparator, popoverSurface };
17
+ export { cardSurface, fieldPopover, listItem, listSeparator, modalBackdrop, modalSurface, popoverSurface };
12
18
 
13
19
  //# sourceMappingURL=surfaces.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"surfaces.js","names":[],"sources":["../../src/internal/surfaces.ts"],"sourcesContent":["/** Floating surface for popovers, menus and listboxes. */\nexport const popoverSurface =\n 'overflow-auto rounded-lg border border-subtle bg-elevated p-1 text-primary shadow-lg outline-none';\n\n/** A row in a menu, listbox or command list. Sized by the density tokens. */\nexport const listItem =\n 'flex cursor-pointer items-center gap-2 rounded-sm px-item-x py-item-y text-sm text-primary outline-none select-none data-focused:bg-hover data-focus-visible:outline-2 data-focus-visible:outline-solid data-focus-visible:-outline-offset-2 data-focus-visible:outline-focus data-pressed:bg-tertiary data-disabled:cursor-not-allowed data-disabled:text-disabled';\n\n/** Small uppercase heading above a group of list items. */\nexport const listSectionHeader = 'px-item-x pt-2 pb-1 text-xs font-semibold text-tertiary';\n\n/** A thin divider between groups of list items. */\nexport const listSeparator = 'mx-1 my-1 h-px bg-(--ui-border-subtle)';\n"],"mappings":";;;AACA,IAAa,iBACX;;AAGF,IAAa,WACX;;AAGF,IAAa,oBAAoB;;AAGjC,IAAa,gBAAgB"}
1
+ {"version":3,"file":"surfaces.js","names":[],"sources":["../../src/internal/surfaces.ts"],"sourcesContent":["import { focusRingInset } from './focusRing';\n\n/** A raised card: Card, and a Table's container. Charts inside it match its background. */\nexport const cardSurface =\n 'rounded-xl border border-subtle bg-elevated text-primary shadow-xs [--chart-surface:var(--ui-bg-elevated)]';\n\n/** The panel of a modal: Dialog, Drawer and CommandPalette. Add the border, the radius and the layout. */\nexport const modalSurface = 'border-subtle bg-elevated text-primary shadow-xl outline-none';\n\n/** The dimmed layer behind a modal. Add how the modal sits in it. */\nexport const modalBackdrop =\n 'fixed inset-0 z-50 bg-overlay transition-opacity duration-200 data-entering:opacity-0 data-exiting:opacity-0 motion-reduce:transition-none';\n\n/** Floating surface for popovers, menus and listboxes. Add padding and overflow. */\nexport const popoverSurface =\n 'rounded-lg border border-default bg-elevated text-primary shadow-lg outline-none';\n\n/** The listbox inside a field's popover, matched to the field's width. */\nexport const fieldPopover = `${popoverSurface} w-(--trigger-width) overflow-auto p-1`;\n\n/** A row in a menu, listbox or command list. Sized by the density tokens. */\nexport const listItem = `flex cursor-pointer items-center gap-2 rounded-sm px-item-x py-item-y text-sm text-primary select-none data-focused:bg-field-hover data-hovered:bg-field-hover ${focusRingInset} data-pressed:bg-tertiary data-disabled:cursor-not-allowed data-disabled:text-disabled`;\n\n/** A thin divider between groups of list items. */\nexport const listSeparator = 'mx-1 my-1 h-px bg-(--ui-border-subtle)';\n"],"mappings":";;;AAGA,IAAa,cACX;;AAGF,IAAa,eAAe;;AAG5B,IAAa,gBACX;;AAGF,IAAa,iBACX;;AAGF,IAAa,eAAe,GAAG,eAAe;;AAG9C,IAAa,WAAW,kKAAkK,eAAe;;AAGzM,IAAa,gBAAgB"}
@@ -0,0 +1,8 @@
1
+ import type { ReactNode } from 'react';
2
+ /** The row of a Checkbox, Radio or Switch: the indicator, then the label. The root carries `group`. */
3
+ export declare const toggleRow = "group touch-target relative flex cursor-pointer items-start gap-2.5 text-sm text-secondary data-disabled:cursor-not-allowed data-disabled:text-disabled";
4
+ /** The label and hint beside a toggle's indicator. */
5
+ export declare function ToggleText({ children, hint }: {
6
+ children?: ReactNode;
7
+ hint?: ReactNode;
8
+ }): import("react").JSX.Element | null;
@@ -0,0 +1,22 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ // src/internal/toggle.tsx
4
+ /** The row of a Checkbox, Radio or Switch: the indicator, then the label. The root carries `group`. */
5
+ var toggleRow = "group touch-target relative flex cursor-pointer items-start gap-2.5 text-sm text-secondary data-disabled:cursor-not-allowed data-disabled:text-disabled";
6
+ /** The label and hint beside a toggle's indicator. */
7
+ function ToggleText({ children, hint }) {
8
+ if (!children && !hint) return null;
9
+ return /* @__PURE__ */ jsxs("span", {
10
+ className: "flex flex-col",
11
+ children: [children && /* @__PURE__ */ jsx("span", {
12
+ className: "font-medium",
13
+ children
14
+ }), hint && /* @__PURE__ */ jsx("span", {
15
+ className: "text-tertiary group-data-disabled:text-disabled",
16
+ children: hint
17
+ })]
18
+ });
19
+ }
20
+ export { ToggleText, toggleRow };
21
+
22
+ //# sourceMappingURL=toggle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle.js","names":[],"sources":["../../src/internal/toggle.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\n\n/** The row of a Checkbox, Radio or Switch: the indicator, then the label. The root carries `group`. */\nexport const toggleRow =\n 'group touch-target relative flex cursor-pointer items-start gap-2.5 text-sm text-secondary data-disabled:cursor-not-allowed data-disabled:text-disabled';\n\n/** The label and hint beside a toggle's indicator. */\nexport function ToggleText({ children, hint }: { children?: ReactNode; hint?: ReactNode }) {\n if (!children && !hint) return null;\n return (\n <span className='flex flex-col'>\n {children && <span className='font-medium'>{children}</span>}\n {hint && <span className='text-tertiary group-data-disabled:text-disabled'>{hint}</span>}\n </span>\n );\n}\n"],"mappings":";;;;AAGA,IAAa,YACX;;AAGF,SAAgB,WAAW,EAAE,UAAU,QAAoD;CACzF,IAAI,CAAC,YAAY,CAAC,MAAM,OAAO;CAC/B,OACE,qBAAC,QAAD;EAAM,WAAU;EAAhB,UAAA,CACG,YAAY,oBAAC,QAAD;GAAM,WAAU;GAAe;EAAe,CAAA,GAC1D,QAAQ,oBAAC,QAAD;GAAM,WAAU;GAAmD,UAAA;EAAW,CAAA,CACnF;;AAEV"}
@@ -1,5 +1,2 @@
1
- import type { ComponentType, SVGProps } from 'react';
2
- /** Any icon component that accepts SVG props, such as a lucide-react icon. */
3
- export type IconComponent = ComponentType<SVGProps<SVGSVGElement> & {
4
- className?: string;
5
- }>;
1
+ /** The semantic colour of a status: one prop, `tone`, on every component that has one. */
2
+ export type Tone = 'neutral' | 'brand' | 'success' | 'warning' | 'error';
@@ -1,6 +1,5 @@
1
- "use client";
2
1
  import { jsx } from "react/jsx-runtime";
3
- // src/chrome/Anchor.tsx
2
+ // src/router/Anchor.tsx
4
3
  /** Default LinkComponent: a plain anchor. */
5
4
  function Anchor({ href, children, ...props }) {
6
5
  return /* @__PURE__ */ jsx("a", {
@@ -1 +1 @@
1
- {"version":3,"file":"Anchor.js","names":[],"sources":["../../src/chrome/Anchor.tsx"],"sourcesContent":["import type { LinkProps } from './types';\n\n/** Default LinkComponent: a plain anchor. */\nexport function Anchor({ href, children, ...props }: LinkProps) {\n return (\n <a href={href} {...props}>\n {children}\n </a>\n );\n}\n"],"mappings":";;;;AAGA,SAAgB,OAAO,EAAE,MAAM,UAAU,GAAG,SAAoB;CAC9D,OACE,oBAAC,KAAD;EAAS;EAAM,GAAI;EAChB;CACA,CAAA;AAEP"}
1
+ {"version":3,"file":"Anchor.js","names":[],"sources":["../../src/router/Anchor.tsx"],"sourcesContent":["import type { LinkProps } from './types';\n\n/** Default LinkComponent: a plain anchor. */\nexport function Anchor({ href, children, ...props }: LinkProps) {\n return (\n <a href={href} {...props}>\n {children}\n </a>\n );\n}\n"],"mappings":";;;AAGA,SAAgB,OAAO,EAAE,MAAM,UAAU,GAAG,SAAoB;CAC9D,OACE,oBAAC,KAAD;EAAS;EAAM,GAAI;EAChB;CACA,CAAA;AAEP"}
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx } from "react/jsx-runtime";
3
3
  import { RouterProvider } from "react-aria-components";
4
- // src/chrome/LinkRouter.tsx
4
+ // src/router/LinkRouter.tsx
5
5
  /** True for hrefs with a scheme, such as https: or mailto:, and for protocol-relative ones. */
6
6
  var isAbsoluteHref = (href) => /^([a-z][a-z\d+.-]*:|\/\/)/i.test(href);
7
7
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"LinkRouter.js","names":[],"sources":["../../src/chrome/LinkRouter.tsx"],"sourcesContent":["import type { ComponentProps, ReactNode } from 'react';\nimport { RouterProvider } from 'react-aria-components';\n\ntype RouterProviderProps = ComponentProps<typeof RouterProvider>;\n\n/** True for hrefs with a scheme, such as https: or mailto:, and for protocol-relative ones. */\nexport const isAbsoluteHref = (href: string): boolean => /^([a-z][a-z\\d+.-]*:|\\/\\/)/i.test(href);\n\nexport interface LinkRouterProps {\n /** The router's navigate function, for example React Router's `useNavigate()`. */\n navigate: RouterProviderProps['navigate'];\n /** The router's href hook, for example React Router's `useHref`. */\n useHref?: RouterProviderProps['useHref'];\n children: ReactNode;\n}\n\n/**\n * Connects React Aria links to the app's router. Absolute URLs always load as a\n * new page: the projects share one origin, so React Aria would otherwise hand a\n * link to another project to this app's router.\n */\nexport function LinkRouter({ navigate, useHref, children }: LinkRouterProps) {\n const routerUseHref = useHref;\n\n return (\n <RouterProvider\n navigate={(href, options) => {\n if (isAbsoluteHref(href)) window.location.assign(href);\n else navigate(href, options);\n }}\n useHref={\n routerUseHref &&\n ((href) => {\n const routed = routerUseHref(isAbsoluteHref(href) ? '/' : href);\n return isAbsoluteHref(href) ? href : routed;\n })\n }\n >\n {children}\n </RouterProvider>\n );\n}\n"],"mappings":";;;;;AAMA,IAAa,kBAAkB,SAA0B,6BAA6B,KAAK,IAAI;;;;;;AAe/F,SAAgB,WAAW,EAAE,UAAU,SAAS,YAA6B;CAC3E,MAAM,gBAAgB;CAEtB,OACE,oBAAC,gBAAD;EACE,WAAW,MAAM,YAAY;GAC3B,IAAI,eAAe,IAAI,GAAG,OAAO,SAAS,OAAO,IAAI;QAChD,SAAS,MAAM,OAAO;EAC7B;EACA,SACE,mBACE,SAAS;GACT,MAAM,SAAS,cAAc,eAAe,IAAI,IAAI,MAAM,IAAI;GAC9D,OAAO,eAAe,IAAI,IAAI,OAAO;EACvC;EAGD;CACa,CAAA;AAEpB"}
1
+ {"version":3,"file":"LinkRouter.js","names":[],"sources":["../../src/router/LinkRouter.tsx"],"sourcesContent":["import type { ComponentProps, ReactNode } from 'react';\nimport { RouterProvider } from 'react-aria-components';\n\ntype RouterProviderProps = ComponentProps<typeof RouterProvider>;\n\n/** True for hrefs with a scheme, such as https: or mailto:, and for protocol-relative ones. */\nexport const isAbsoluteHref = (href: string): boolean => /^([a-z][a-z\\d+.-]*:|\\/\\/)/i.test(href);\n\nexport interface LinkRouterProps {\n /** The router's navigate function, for example React Router's `useNavigate()`. */\n navigate: RouterProviderProps['navigate'];\n /** The router's href hook, for example React Router's `useHref`. */\n useHref?: RouterProviderProps['useHref'];\n children: ReactNode;\n}\n\n/**\n * Connects React Aria links to the app's router. Absolute URLs always load as a\n * new page: the projects share one origin, so React Aria would otherwise hand a\n * link to another project to this app's router.\n */\nexport function LinkRouter({ navigate, useHref, children }: LinkRouterProps) {\n const routerUseHref = useHref;\n\n return (\n <RouterProvider\n navigate={(href, options) => {\n if (isAbsoluteHref(href)) window.location.assign(href);\n else navigate(href, options);\n }}\n useHref={\n routerUseHref &&\n ((href) => {\n const routed = routerUseHref(isAbsoluteHref(href) ? '/' : href);\n return isAbsoluteHref(href) ? href : routed;\n })\n }\n >\n {children}\n </RouterProvider>\n );\n}\n"],"mappings":";;;;;AAMA,IAAa,kBAAkB,SAA0B,6BAA6B,KAAK,IAAI;;;;;;AAe/F,SAAgB,WAAW,EAAE,UAAU,SAAS,YAA6B;CAC3E,MAAM,gBAAgB;CAEtB,OACE,oBAAC,gBAAD;EACE,WAAW,MAAM,YAAY;GAC3B,IAAI,eAAe,IAAI,GAAG,OAAO,SAAS,OAAO,IAAI;QAChD,SAAS,MAAM,OAAO;EAC7B;EACA,SACE,mBACE,SAAS;GACT,MAAM,SAAS,cAAc,eAAe,IAAI,IAAI,MAAM,IAAI;GAC9D,OAAO,eAAe,IAAI,IAAI,OAAO;EACvC;EAGD;CACa,CAAA;AAEpB"}
@@ -1,10 +1,10 @@
1
1
  import type { AnchorHTMLAttributes, ComponentType, ReactNode } from 'react';
2
2
  /**
3
3
  * A link component such as Next.js `Link` or React Router's `Link`. It
4
- * receives `href`, `className`, `aria-current`, `onClick` and `children`.
5
- * Defaults to a plain `<a>`.
4
+ * receives `href`, `className`, `aria-current`, `aria-label`, `title`,
5
+ * `target`, `rel`, `onClick` and `children`. Defaults to a plain `<a>`.
6
6
  */
7
- export type LinkProps = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'className' | 'aria-current' | 'onClick'> & {
7
+ export type LinkProps = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'className' | 'aria-current' | 'aria-label' | 'title' | 'target' | 'rel' | 'onClick'> & {
8
8
  href: string;
9
9
  children?: ReactNode;
10
10
  };