@eylulg/ui 0.0.0-stage → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (367) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +328 -2
  3. package/dist/chrome/Anchor.d.ts +3 -0
  4. package/dist/chrome/Anchor.js +14 -0
  5. package/dist/chrome/Anchor.js.map +1 -0
  6. package/dist/chrome/AppShell.d.ts +28 -0
  7. package/dist/chrome/AppShell.js +57 -0
  8. package/dist/chrome/AppShell.js.map +1 -0
  9. package/dist/chrome/BrandLogo.d.ts +13 -0
  10. package/dist/chrome/BrandLogo.js +33 -0
  11. package/dist/chrome/BrandLogo.js.map +1 -0
  12. package/dist/chrome/BrandMark.d.ts +12 -0
  13. package/dist/chrome/BrandMark.js +40 -0
  14. package/dist/chrome/BrandMark.js.map +1 -0
  15. package/dist/chrome/LinkRouter.d.ts +19 -0
  16. package/dist/chrome/LinkRouter.js +28 -0
  17. package/dist/chrome/LinkRouter.js.map +1 -0
  18. package/dist/chrome/MobileMenu.d.ts +19 -0
  19. package/dist/chrome/MobileMenu.js +52 -0
  20. package/dist/chrome/MobileMenu.js.map +1 -0
  21. package/dist/chrome/ProjectSwitcher.d.ts +30 -0
  22. package/dist/chrome/ProjectSwitcher.js +64 -0
  23. package/dist/chrome/ProjectSwitcher.js.map +1 -0
  24. package/dist/chrome/ProjectSwitcherMenu.d.ts +13 -0
  25. package/dist/chrome/ProjectSwitcherMenu.js +50 -0
  26. package/dist/chrome/ProjectSwitcherMenu.js.map +1 -0
  27. package/dist/chrome/SidebarNav.d.ts +34 -0
  28. package/dist/chrome/SidebarNav.js +106 -0
  29. package/dist/chrome/SidebarNav.js.map +1 -0
  30. package/dist/chrome/SiteFooter.d.ts +37 -0
  31. package/dist/chrome/SiteFooter.js +105 -0
  32. package/dist/chrome/SiteFooter.js.map +1 -0
  33. package/dist/chrome/TextSizeToggle.d.ts +11 -0
  34. package/dist/chrome/TextSizeToggle.js +38 -0
  35. package/dist/chrome/TextSizeToggle.js.map +1 -0
  36. package/dist/chrome/ThemeToggle.d.ts +26 -0
  37. package/dist/chrome/ThemeToggle.js +100 -0
  38. package/dist/chrome/ThemeToggle.js.map +1 -0
  39. package/dist/chrome/ThemeToggleMenu.d.ts +16 -0
  40. package/dist/chrome/ThemeToggleMenu.js +42 -0
  41. package/dist/chrome/ThemeToggleMenu.js.map +1 -0
  42. package/dist/chrome/TopNav.d.ts +42 -0
  43. package/dist/chrome/TopNav.js +117 -0
  44. package/dist/chrome/TopNav.js.map +1 -0
  45. package/dist/chrome/brandLogoPath.d.ts +2 -0
  46. package/dist/chrome/brandLogoPath.js +7 -0
  47. package/dist/chrome/brandLogoPath.js.map +1 -0
  48. package/dist/chrome/index.d.ts +28 -0
  49. package/dist/chrome/index.js +15 -0
  50. package/dist/chrome/projects.d.ts +28 -0
  51. package/dist/chrome/projects.js +105 -0
  52. package/dist/chrome/projects.js.map +1 -0
  53. package/dist/chrome/themeChoices.d.ts +6 -0
  54. package/dist/chrome/themeChoices.js +18 -0
  55. package/dist/chrome/themeChoices.js.map +1 -0
  56. package/dist/chrome/themeScript.d.ts +16 -0
  57. package/dist/chrome/themeScript.js +20 -0
  58. package/dist/chrome/themeScript.js.map +1 -0
  59. package/dist/chrome/types.d.ts +17 -0
  60. package/dist/chrome/useTextSize.d.ts +16 -0
  61. package/dist/chrome/useTextSize.js +64 -0
  62. package/dist/chrome/useTextSize.js.map +1 -0
  63. package/dist/chrome/useTheme.d.ts +19 -0
  64. package/dist/chrome/useTheme.js +86 -0
  65. package/dist/chrome/useTheme.js.map +1 -0
  66. package/dist/components/Avatar/Avatar.d.ts +39 -0
  67. package/dist/components/Avatar/Avatar.js +122 -0
  68. package/dist/components/Avatar/Avatar.js.map +1 -0
  69. package/dist/components/Avatar/index.d.ts +2 -0
  70. package/dist/components/Avatar/index.js +2 -0
  71. package/dist/components/Badge/Badge.d.ts +19 -0
  72. package/dist/components/Badge/Badge.js +77 -0
  73. package/dist/components/Badge/Badge.js.map +1 -0
  74. package/dist/components/Badge/index.d.ts +2 -0
  75. package/dist/components/Badge/index.js +2 -0
  76. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +18 -0
  77. package/dist/components/Breadcrumbs/Breadcrumbs.js +40 -0
  78. package/dist/components/Breadcrumbs/Breadcrumbs.js.map +1 -0
  79. package/dist/components/Breadcrumbs/index.d.ts +2 -0
  80. package/dist/components/Breadcrumbs/index.js +2 -0
  81. package/dist/components/Button/Button.d.ts +39 -0
  82. package/dist/components/Button/Button.js +73 -0
  83. package/dist/components/Button/Button.js.map +1 -0
  84. package/dist/components/Button/buttonStyles.d.ts +21 -0
  85. package/dist/components/Button/buttonStyles.js +32 -0
  86. package/dist/components/Button/buttonStyles.js.map +1 -0
  87. package/dist/components/Button/index.d.ts +2 -0
  88. package/dist/components/Button/index.js +4 -0
  89. package/dist/components/Card/Card.d.ts +47 -0
  90. package/dist/components/Card/Card.js +119 -0
  91. package/dist/components/Card/Card.js.map +1 -0
  92. package/dist/components/Card/index.d.ts +2 -0
  93. package/dist/components/Card/index.js +2 -0
  94. package/dist/components/Chart/BarChart.d.ts +24 -0
  95. package/dist/components/Chart/BarChart.js +327 -0
  96. package/dist/components/Chart/BarChart.js.map +1 -0
  97. package/dist/components/Chart/ChartFrame.d.ts +27 -0
  98. package/dist/components/Chart/ChartFrame.js +80 -0
  99. package/dist/components/Chart/ChartFrame.js.map +1 -0
  100. package/dist/components/Chart/ChartLegend.d.ts +28 -0
  101. package/dist/components/Chart/ChartLegend.js +53 -0
  102. package/dist/components/Chart/ChartLegend.js.map +1 -0
  103. package/dist/components/Chart/ChartTable.d.ts +11 -0
  104. package/dist/components/Chart/ChartTable.js +48 -0
  105. package/dist/components/Chart/ChartTable.js.map +1 -0
  106. package/dist/components/Chart/ChartTooltip.d.ts +33 -0
  107. package/dist/components/Chart/ChartTooltip.js +56 -0
  108. package/dist/components/Chart/ChartTooltip.js.map +1 -0
  109. package/dist/components/Chart/HeatGrid.d.ts +50 -0
  110. package/dist/components/Chart/HeatGrid.js +256 -0
  111. package/dist/components/Chart/HeatGrid.js.map +1 -0
  112. package/dist/components/Chart/LineChart.d.ts +23 -0
  113. package/dist/components/Chart/LineChart.js +248 -0
  114. package/dist/components/Chart/LineChart.js.map +1 -0
  115. package/dist/components/Chart/format.d.ts +24 -0
  116. package/dist/components/Chart/format.js +134 -0
  117. package/dist/components/Chart/format.js.map +1 -0
  118. package/dist/components/Chart/geometry.d.ts +11 -0
  119. package/dist/components/Chart/geometry.js +69 -0
  120. package/dist/components/Chart/geometry.js.map +1 -0
  121. package/dist/components/Chart/index.d.ts +9 -0
  122. package/dist/components/Chart/index.js +6 -0
  123. package/dist/components/Chart/interaction.d.ts +43 -0
  124. package/dist/components/Chart/interaction.js +106 -0
  125. package/dist/components/Chart/interaction.js.map +1 -0
  126. package/dist/components/Chart/labels.d.ts +3 -0
  127. package/dist/components/Chart/labels.js +23 -0
  128. package/dist/components/Chart/labels.js.map +1 -0
  129. package/dist/components/Chart/scale.d.ts +15 -0
  130. package/dist/components/Chart/scale.js +54 -0
  131. package/dist/components/Chart/scale.js.map +1 -0
  132. package/dist/components/Chart/series.d.ts +14 -0
  133. package/dist/components/Chart/series.js +72 -0
  134. package/dist/components/Chart/series.js.map +1 -0
  135. package/dist/components/Chart/summary.d.ts +8 -0
  136. package/dist/components/Chart/summary.js +56 -0
  137. package/dist/components/Chart/summary.js.map +1 -0
  138. package/dist/components/Chart/types.d.ts +50 -0
  139. package/dist/components/Chart/useElementWidth.d.ts +6 -0
  140. package/dist/components/Chart/useElementWidth.js +25 -0
  141. package/dist/components/Chart/useElementWidth.js.map +1 -0
  142. package/dist/components/Checkbox/Checkbox.d.ts +9 -0
  143. package/dist/components/Checkbox/Checkbox.js +36 -0
  144. package/dist/components/Checkbox/Checkbox.js.map +1 -0
  145. package/dist/components/Checkbox/index.d.ts +2 -0
  146. package/dist/components/Checkbox/index.js +2 -0
  147. package/dist/components/CodeBlock/CodeBlock.d.ts +22 -0
  148. package/dist/components/CodeBlock/CodeBlock.js +56 -0
  149. package/dist/components/CodeBlock/CodeBlock.js.map +1 -0
  150. package/dist/components/CodeBlock/index.d.ts +2 -0
  151. package/dist/components/CodeBlock/index.js +2 -0
  152. package/dist/components/Combobox/Combobox.d.ts +34 -0
  153. package/dist/components/Combobox/Combobox.js +106 -0
  154. package/dist/components/Combobox/Combobox.js.map +1 -0
  155. package/dist/components/Combobox/index.d.ts +2 -0
  156. package/dist/components/Combobox/index.js +2 -0
  157. package/dist/components/CommandPalette/CommandPalette.d.ts +74 -0
  158. package/dist/components/CommandPalette/CommandPalette.js +51 -0
  159. package/dist/components/CommandPalette/CommandPalette.js.map +1 -0
  160. package/dist/components/CommandPalette/CommandPaletteOverlay.d.ts +11 -0
  161. package/dist/components/CommandPalette/CommandPaletteOverlay.js +180 -0
  162. package/dist/components/CommandPalette/CommandPaletteOverlay.js.map +1 -0
  163. package/dist/components/CommandPalette/index.d.ts +2 -0
  164. package/dist/components/CommandPalette/index.js +2 -0
  165. package/dist/components/DatePicker/DatePicker.d.ts +25 -0
  166. package/dist/components/DatePicker/DatePicker.js +142 -0
  167. package/dist/components/DatePicker/DatePicker.js.map +1 -0
  168. package/dist/components/DatePicker/index.d.ts +2 -0
  169. package/dist/components/DatePicker/index.js +2 -0
  170. package/dist/components/Dialog/Dialog.d.ts +37 -0
  171. package/dist/components/Dialog/Dialog.js +33 -0
  172. package/dist/components/Dialog/Dialog.js.map +1 -0
  173. package/dist/components/Dialog/DialogOverlay.d.ts +3 -0
  174. package/dist/components/Dialog/DialogOverlay.js +72 -0
  175. package/dist/components/Dialog/DialogOverlay.js.map +1 -0
  176. package/dist/components/Dialog/index.d.ts +2 -0
  177. package/dist/components/Dialog/index.js +2 -0
  178. package/dist/components/Drawer/Drawer.d.ts +36 -0
  179. package/dist/components/Drawer/Drawer.js +33 -0
  180. package/dist/components/Drawer/Drawer.js.map +1 -0
  181. package/dist/components/Drawer/DrawerOverlay.d.ts +3 -0
  182. package/dist/components/Drawer/DrawerOverlay.js +71 -0
  183. package/dist/components/Drawer/DrawerOverlay.js.map +1 -0
  184. package/dist/components/Drawer/index.d.ts +2 -0
  185. package/dist/components/Drawer/index.js +2 -0
  186. package/dist/components/DropdownMenu/DropdownMenu.d.ts +49 -0
  187. package/dist/components/DropdownMenu/DropdownMenu.js +52 -0
  188. package/dist/components/DropdownMenu/DropdownMenu.js.map +1 -0
  189. package/dist/components/DropdownMenu/DropdownMenuParts.d.ts +6 -0
  190. package/dist/components/DropdownMenu/DropdownMenuParts.js +76 -0
  191. package/dist/components/DropdownMenu/DropdownMenuParts.js.map +1 -0
  192. package/dist/components/DropdownMenu/index.d.ts +2 -0
  193. package/dist/components/DropdownMenu/index.js +2 -0
  194. package/dist/components/EmptyState/EmptyState.d.ts +19 -0
  195. package/dist/components/EmptyState/EmptyState.js +51 -0
  196. package/dist/components/EmptyState/EmptyState.js.map +1 -0
  197. package/dist/components/EmptyState/index.d.ts +2 -0
  198. package/dist/components/EmptyState/index.js +2 -0
  199. package/dist/components/FileDropZone/FileDropZone.d.ts +41 -0
  200. package/dist/components/FileDropZone/FileDropZone.js +94 -0
  201. package/dist/components/FileDropZone/FileDropZone.js.map +1 -0
  202. package/dist/components/FileDropZone/index.d.ts +2 -0
  203. package/dist/components/FileDropZone/index.js +2 -0
  204. package/dist/components/IconButton/IconButton.d.ts +17 -0
  205. package/dist/components/IconButton/IconButton.js +37 -0
  206. package/dist/components/IconButton/IconButton.js.map +1 -0
  207. package/dist/components/IconButton/index.d.ts +2 -0
  208. package/dist/components/IconButton/index.js +2 -0
  209. package/dist/components/Input/Input.d.ts +21 -0
  210. package/dist/components/Input/Input.js +43 -0
  211. package/dist/components/Input/Input.js.map +1 -0
  212. package/dist/components/Input/index.d.ts +2 -0
  213. package/dist/components/Input/index.js +2 -0
  214. package/dist/components/Kbd/Kbd.d.ts +16 -0
  215. package/dist/components/Kbd/Kbd.js +35 -0
  216. package/dist/components/Kbd/Kbd.js.map +1 -0
  217. package/dist/components/Kbd/index.d.ts +2 -0
  218. package/dist/components/Kbd/index.js +2 -0
  219. package/dist/components/PageHeader/PageHeader.d.ts +18 -0
  220. package/dist/components/PageHeader/PageHeader.js +45 -0
  221. package/dist/components/PageHeader/PageHeader.js.map +1 -0
  222. package/dist/components/PageHeader/index.d.ts +2 -0
  223. package/dist/components/PageHeader/index.js +2 -0
  224. package/dist/components/Pagination/Pagination.d.ts +32 -0
  225. package/dist/components/Pagination/Pagination.js +124 -0
  226. package/dist/components/Pagination/Pagination.js.map +1 -0
  227. package/dist/components/Pagination/index.d.ts +2 -0
  228. package/dist/components/Pagination/index.js +2 -0
  229. package/dist/components/Popover/Popover.d.ts +27 -0
  230. package/dist/components/Popover/Popover.js +33 -0
  231. package/dist/components/Popover/Popover.js.map +1 -0
  232. package/dist/components/Popover/PopoverOverlay.d.ts +3 -0
  233. package/dist/components/Popover/PopoverOverlay.js +39 -0
  234. package/dist/components/Popover/PopoverOverlay.js.map +1 -0
  235. package/dist/components/Popover/index.d.ts +2 -0
  236. package/dist/components/Popover/index.js +2 -0
  237. package/dist/components/ProgressBar/ProgressBar.d.ts +19 -0
  238. package/dist/components/ProgressBar/ProgressBar.js +52 -0
  239. package/dist/components/ProgressBar/ProgressBar.js.map +1 -0
  240. package/dist/components/ProgressBar/index.d.ts +2 -0
  241. package/dist/components/ProgressBar/index.js +2 -0
  242. package/dist/components/RadioGroup/RadioGroup.d.ts +14 -0
  243. package/dist/components/RadioGroup/RadioGroup.js +46 -0
  244. package/dist/components/RadioGroup/RadioGroup.js.map +1 -0
  245. package/dist/components/RadioGroup/index.d.ts +2 -0
  246. package/dist/components/RadioGroup/index.js +2 -0
  247. package/dist/components/SegmentedControl/SegmentedControl.d.ts +32 -0
  248. package/dist/components/SegmentedControl/SegmentedControl.js +55 -0
  249. package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -0
  250. package/dist/components/SegmentedControl/index.d.ts +2 -0
  251. package/dist/components/SegmentedControl/index.js +2 -0
  252. package/dist/components/Select/Select.d.ts +28 -0
  253. package/dist/components/Select/Select.js +64 -0
  254. package/dist/components/Select/Select.js.map +1 -0
  255. package/dist/components/Select/index.d.ts +2 -0
  256. package/dist/components/Select/index.js +2 -0
  257. package/dist/components/Skeleton/Skeleton.d.ts +13 -0
  258. package/dist/components/Skeleton/Skeleton.js +33 -0
  259. package/dist/components/Skeleton/Skeleton.js.map +1 -0
  260. package/dist/components/Skeleton/index.d.ts +2 -0
  261. package/dist/components/Skeleton/index.js +2 -0
  262. package/dist/components/Spinner/Spinner.d.ts +12 -0
  263. package/dist/components/Spinner/Spinner.js +29 -0
  264. package/dist/components/Spinner/Spinner.js.map +1 -0
  265. package/dist/components/Spinner/index.d.ts +2 -0
  266. package/dist/components/Spinner/index.js +2 -0
  267. package/dist/components/Stat/Stat.d.ts +49 -0
  268. package/dist/components/Stat/Stat.js +125 -0
  269. package/dist/components/Stat/Stat.js.map +1 -0
  270. package/dist/components/Stat/index.d.ts +2 -0
  271. package/dist/components/Stat/index.js +2 -0
  272. package/dist/components/Switch/Switch.d.ts +11 -0
  273. package/dist/components/Switch/Switch.js +39 -0
  274. package/dist/components/Switch/Switch.js.map +1 -0
  275. package/dist/components/Switch/index.d.ts +2 -0
  276. package/dist/components/Switch/index.js +2 -0
  277. package/dist/components/Table/Table.d.ts +41 -0
  278. package/dist/components/Table/Table.js +121 -0
  279. package/dist/components/Table/Table.js.map +1 -0
  280. package/dist/components/Table/index.d.ts +2 -0
  281. package/dist/components/Table/index.js +2 -0
  282. package/dist/components/Tabs/Tabs.d.ts +10 -0
  283. package/dist/components/Tabs/Tabs.js +58 -0
  284. package/dist/components/Tabs/Tabs.js.map +1 -0
  285. package/dist/components/Tabs/index.d.ts +2 -0
  286. package/dist/components/Tabs/index.js +2 -0
  287. package/dist/components/Tag/Tag.d.ts +16 -0
  288. package/dist/components/Tag/Tag.js +48 -0
  289. package/dist/components/Tag/Tag.js.map +1 -0
  290. package/dist/components/Tag/index.d.ts +2 -0
  291. package/dist/components/Tag/index.js +2 -0
  292. package/dist/components/Textarea/Textarea.d.ts +28 -0
  293. package/dist/components/Textarea/Textarea.js +30 -0
  294. package/dist/components/Textarea/Textarea.js.map +1 -0
  295. package/dist/components/Textarea/index.d.ts +2 -0
  296. package/dist/components/Textarea/index.js +2 -0
  297. package/dist/components/Toast/Toast.d.ts +52 -0
  298. package/dist/components/Toast/Toast.js +77 -0
  299. package/dist/components/Toast/Toast.js.map +1 -0
  300. package/dist/components/Toast/ToastItem.d.ts +6 -0
  301. package/dist/components/Toast/ToastItem.js +127 -0
  302. package/dist/components/Toast/ToastItem.js.map +1 -0
  303. package/dist/components/Toast/index.d.ts +2 -0
  304. package/dist/components/Toast/index.js +2 -0
  305. package/dist/components/Tooltip/Tooltip.d.ts +17 -0
  306. package/dist/components/Tooltip/Tooltip.js +38 -0
  307. package/dist/components/Tooltip/Tooltip.js.map +1 -0
  308. package/dist/components/Tooltip/TooltipOverlay.d.ts +5 -0
  309. package/dist/components/Tooltip/TooltipOverlay.js +27 -0
  310. package/dist/components/Tooltip/TooltipOverlay.js.map +1 -0
  311. package/dist/components/Tooltip/index.d.ts +2 -0
  312. package/dist/components/Tooltip/index.js +2 -0
  313. package/dist/fonts.css +21 -0
  314. package/dist/index.d.ts +38 -0
  315. package/dist/index.js +43 -0
  316. package/dist/internal/Field.d.ts +13 -0
  317. package/dist/internal/Field.js +29 -0
  318. package/dist/internal/Field.js.map +1 -0
  319. package/dist/internal/LazyDialogTrigger.d.ts +8 -0
  320. package/dist/internal/LazyDialogTrigger.js +15 -0
  321. package/dist/internal/LazyDialogTrigger.js.map +1 -0
  322. package/dist/internal/PreloadOnIntent.d.ts +15 -0
  323. package/dist/internal/PreloadOnIntent.js +26 -0
  324. package/dist/internal/PreloadOnIntent.js.map +1 -0
  325. package/dist/internal/Spinner.d.ts +3 -0
  326. package/dist/internal/Spinner.js +14 -0
  327. package/dist/internal/Spinner.js.map +1 -0
  328. package/dist/internal/focusRing.d.ts +2 -0
  329. package/dist/internal/focusRing.js +7 -0
  330. package/dist/internal/focusRing.js.map +1 -0
  331. package/dist/internal/lazyModule.d.ts +15 -0
  332. package/dist/internal/lazyModule.js +54 -0
  333. package/dist/internal/lazyModule.js.map +1 -0
  334. package/dist/internal/surfaces.d.ts +8 -0
  335. package/dist/internal/surfaces.js +13 -0
  336. package/dist/internal/surfaces.js.map +1 -0
  337. package/dist/internal/types.d.ts +5 -0
  338. package/dist/internal/useLazyMenuTrigger.d.ts +23 -0
  339. package/dist/internal/useLazyMenuTrigger.js +47 -0
  340. package/dist/internal/useLazyMenuTrigger.js.map +1 -0
  341. package/dist/reset.css +52 -0
  342. package/dist/styles/themes/scales.d.ts +2 -0
  343. package/dist/styles/themes/scales.js +132 -0
  344. package/dist/styles/themes/scales.js.map +1 -0
  345. package/dist/styles/themes/variants.d.ts +41 -0
  346. package/dist/styles/themes/variants.js +180 -0
  347. package/dist/styles/themes/variants.js.map +1 -0
  348. package/dist/styles.css +2 -0
  349. package/dist/theme.css +557 -0
  350. package/dist/themes/all.css +158 -0
  351. package/dist/themes/assistant.css +25 -0
  352. package/dist/themes/control-room.css +25 -0
  353. package/dist/themes/plain-language.css +25 -0
  354. package/dist/themes/portfolio.css +25 -0
  355. package/dist/themes/review.css +25 -0
  356. package/dist/themes/sudoku.css +25 -0
  357. package/dist/themes/tokens.css +25 -0
  358. package/dist/themes/watchlist.css +25 -0
  359. package/dist/themes/workspace.css +25 -0
  360. package/dist/tokens.css +351 -0
  361. package/dist/utils/cx.d.ts +23 -0
  362. package/dist/utils/cx.js +25 -0
  363. package/dist/utils/cx.js.map +1 -0
  364. package/dist/utils/cxLite.d.ts +12 -0
  365. package/dist/utils/cxLite.js +23 -0
  366. package/dist/utils/cxLite.js.map +1 -0
  367. package/package.json +304 -4
@@ -0,0 +1,351 @@
1
+ /*
2
+ * @eylulg/ui plain tokens, for apps that do not run Tailwind.
3
+ *
4
+ * Custom properties only: the colour scales, the semantic --ui-* set for light
5
+ * (:root) and dark (.dark-mode or .dark), fonts, the type scale and the
6
+ * visitor's text size, radii, shadows and density.
7
+ * No preflight and no component styles. Import it before a variant file:
8
+ *
9
+ * @import '@eylulg/ui/tokens.css';
10
+ * @import '@eylulg/ui/themes/workspace.css';
11
+ *
12
+ * Generated from theme.css by scripts/build-tokens.ts; do not edit by hand.
13
+ */
14
+
15
+ :root {
16
+ --color-white: #fff;
17
+ --color-black: #000;
18
+ --font-sans: var(--font-inter, 'Inter'), ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
19
+ --font-display: var(--font-manrope, 'Manrope'), ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
20
+ --font-mono: var(--font-jetbrains-mono, 'JetBrains Mono'), ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
21
+ --text-xs: 0.8125rem;
22
+ --text-xs--line-height: 1.125rem;
23
+ --text-sm: 0.875rem;
24
+ --text-sm--line-height: 1.25rem;
25
+ --text-md: 1rem;
26
+ --text-md--line-height: 1.5rem;
27
+ --text-lg: 1.125rem;
28
+ --text-lg--line-height: 1.75rem;
29
+ --text-xl: 1.375rem;
30
+ --text-xl--line-height: 1.875rem;
31
+ --text-2xl: 1.75rem;
32
+ --text-2xl--line-height: 2.25rem;
33
+ --text-3xl: 2.5rem;
34
+ --text-3xl--line-height: 2.875rem;
35
+ --text-display: clamp(2.5rem, 1.6rem + 3.4vw, 4.25rem);
36
+ --text-display--line-height: 1.05;
37
+ --text-display--letter-spacing: -0.025em;
38
+ --radius-xs: 0.375rem;
39
+ --radius-sm: 0.625rem;
40
+ --radius-md: 0.875rem;
41
+ --radius-lg: 1rem;
42
+ --radius-xl: 1.25rem;
43
+ --radius-2xl: 1.5rem;
44
+ --radius-full: 9999px;
45
+ --shadow-xs: 0 1px 2px 0 rgb(44 37 33 / 0.05);
46
+ --shadow-sm: 0 1px 3px 0 rgb(44 37 33 / 0.08), 0 1px 2px -1px rgb(44 37 33 / 0.08);
47
+ --shadow-md: 0 4px 8px -2px rgb(44 37 33 / 0.08), 0 2px 4px -2px rgb(44 37 33 / 0.05);
48
+ --shadow-lg: 0 12px 16px -4px rgb(44 37 33 / 0.08), 0 4px 6px -2px rgb(44 37 33 / 0.03);
49
+ --shadow-xl: 0 20px 24px -4px rgb(44 37 33 / 0.08), 0 8px 8px -4px rgb(44 37 33 / 0.03);
50
+ --color-brand-seed: #446c2b;
51
+ --color-brand-seed-dark: #97bf82;
52
+ --color-brand-25: oklch(0.985 0.0084 135);
53
+ --color-brand-50: oklch(0.97 0.0167 135);
54
+ --color-brand-100: oklch(0.935 0.0335 135);
55
+ --color-brand-200: oklch(0.885 0.0544 135);
56
+ --color-brand-300: oklch(0.81 0.0795 135);
57
+ --color-brand-400: oklch(0.715 0.0983 135);
58
+ --color-brand-500: oklch(0.625 0.1046 135);
59
+ --color-brand-600: oklch(0.535 0.1004 135);
60
+ --color-brand-700: oklch(0.47 0.09 135);
61
+ --color-brand-800: oklch(0.395 0.0753 135);
62
+ --color-brand-900: oklch(0.325 0.0607 135);
63
+ --color-brand-950: oklch(0.255 0.046 135);
64
+ --color-gray-25: #fffcf8;
65
+ --color-gray-50: #fbf7f1;
66
+ --color-gray-100: #f7f1e8;
67
+ --color-gray-200: #efe7da;
68
+ --color-gray-300: #e8dfd0;
69
+ --color-gray-400: #bdb2a5;
70
+ --color-gray-500: #8a7f75;
71
+ --color-gray-600: #6c625a;
72
+ --color-gray-700: #4f4640;
73
+ --color-gray-800: #3f3832;
74
+ --color-gray-900: #2a2521;
75
+ --color-gray-950: #211d1a;
76
+ --color-success-25: #f6fef9;
77
+ --color-success-50: #ecfdf3;
78
+ --color-success-100: #d1fadf;
79
+ --color-success-200: #a6f4c5;
80
+ --color-success-300: #6ce9a6;
81
+ --color-success-400: #32d583;
82
+ --color-success-500: #12b76a;
83
+ --color-success-600: #039855;
84
+ --color-success-700: #027a48;
85
+ --color-success-800: #05603a;
86
+ --color-success-900: #054f31;
87
+ --color-success-950: #053321;
88
+ --color-warning-25: #fffcf5;
89
+ --color-warning-50: #fffaeb;
90
+ --color-warning-100: #fef0c7;
91
+ --color-warning-200: #fedf89;
92
+ --color-warning-300: #fec84b;
93
+ --color-warning-400: #fdb022;
94
+ --color-warning-500: #f79009;
95
+ --color-warning-600: #dc6803;
96
+ --color-warning-700: #b54708;
97
+ --color-warning-800: #93370d;
98
+ --color-warning-900: #7a2e0e;
99
+ --color-warning-950: #4e1d09;
100
+ --color-error-25: #fffbfa;
101
+ --color-error-50: #fef3f2;
102
+ --color-error-100: #fee4e2;
103
+ --color-error-200: #fecdca;
104
+ --color-error-300: #fda29b;
105
+ --color-error-400: #f97066;
106
+ --color-error-500: #f04438;
107
+ --color-error-600: #d92d20;
108
+ --color-error-700: #b42318;
109
+ --color-error-800: #912018;
110
+ --color-error-900: #7a271a;
111
+ --color-error-950: #55160c;
112
+ --font-body: var(--font-sans);
113
+ }
114
+
115
+ /*
116
+ * Density, the same in every variant. Independent of light and dark.
117
+ */
118
+ :root,
119
+ [data-ui-variant] {
120
+ --density-control-xs: 1.5rem;
121
+ --density-control-sm: 2rem;
122
+ --density-control-md: 2.5rem;
123
+ --density-control-lg: 3rem;
124
+ --density-control-x: 1rem;
125
+ --density-item-x: 0.625rem;
126
+ --density-item-y: 0.5rem;
127
+ --density-cell-x: 1rem;
128
+ --density-cell-y: 0.75rem;
129
+ --density-card: 1.5rem;
130
+ --density-stack: 1rem;
131
+ }
132
+
133
+ /*
134
+ * Semantic tokens are declared on :root and again on any element with
135
+ * data-ui-variant, so a variant scoped to a container (as in Storybook or a
136
+ * project preview) resolves them against its own seed and scale.
137
+ */
138
+ :root,
139
+ [data-ui-variant] {
140
+ color-scheme: light;
141
+
142
+ --ui-font-data: var(--font-sans);
143
+
144
+ /* The frame: warm sand page, lighter surfaces, ink text. */
145
+ --ui-text-primary: #2c2521;
146
+ --ui-text-secondary: var(--color-gray-700);
147
+ --ui-text-tertiary: var(--color-gray-600);
148
+ --ui-text-disabled: var(--color-gray-500);
149
+ --ui-text-placeholder: var(--color-gray-600);
150
+ --ui-text-inverse: var(--color-gray-25);
151
+ --ui-text-on-solid: #ffffff;
152
+ --ui-text-brand: color-mix(in oklch, var(--color-brand-seed) 80%, black);
153
+ --ui-text-error: var(--color-error-700);
154
+ --ui-text-success: var(--color-success-700);
155
+ --ui-text-warning: var(--color-warning-700);
156
+
157
+ --ui-bg-primary: var(--color-gray-25);
158
+ --ui-bg-secondary: var(--color-gray-100);
159
+ --ui-bg-tertiary: var(--color-gray-200);
160
+ --ui-bg-elevated: var(--color-gray-25);
161
+ --ui-bg-inverse: #2c2521;
162
+ --ui-bg-disabled: var(--color-gray-200);
163
+ --ui-bg-overlay: rgb(44 37 33 / 0.55);
164
+ --ui-bg-hover: var(--color-gray-100);
165
+ /* Project colour: the seed is the solid, and a tint of it on warm paper is the subtle fill. */
166
+ --ui-bg-brand-solid: var(--color-brand-seed);
167
+ --ui-bg-brand-solid-hover: color-mix(in oklch, var(--color-brand-seed) 84%, black);
168
+ --ui-bg-brand-subtle: color-mix(in oklch, var(--color-brand-seed) 24%, #fbf7f1);
169
+ --ui-bg-error-solid: var(--color-error-600);
170
+ --ui-bg-error-solid-hover: var(--color-error-700);
171
+ --ui-bg-error-subtle: var(--color-error-50);
172
+ --ui-bg-success-subtle: var(--color-success-50);
173
+ --ui-bg-warning-subtle: var(--color-warning-50);
174
+
175
+ --ui-border-default: var(--color-gray-300);
176
+ --ui-border-strong: var(--color-gray-500);
177
+ /* Form control outlines keep 3:1 against the surface (WCAG 1.4.11). */
178
+ --ui-border-control: var(--color-gray-500);
179
+ --ui-border-subtle: var(--color-gray-200);
180
+ --ui-border-brand: var(--color-brand-seed);
181
+ --ui-border-error: var(--color-error-600);
182
+ --ui-border-disabled: var(--color-gray-200);
183
+ --ui-border-focus: var(--color-brand-seed);
184
+
185
+ --ui-fg-primary: #2c2521;
186
+ --ui-fg-secondary: var(--color-gray-600);
187
+ --ui-fg-tertiary: var(--color-gray-500);
188
+ --ui-fg-disabled: var(--color-gray-400);
189
+ --ui-fg-brand: var(--color-brand-seed);
190
+ --ui-fg-on-solid: #ffffff;
191
+ --ui-fg-error: var(--color-error-600);
192
+ --ui-fg-success: var(--color-success-600);
193
+ --ui-fg-warning: var(--color-warning-600);
194
+
195
+ /* The logo is brand green in every project and does not follow the variant. */
196
+ --ui-logo: #446c2b;
197
+
198
+ /* Extra badge hues. Fixed across variants; the contrast check covers each one. */
199
+ --ui-bg-blue-subtle: #eff6ff;
200
+ --ui-text-blue: #1d4ed8;
201
+ --ui-border-blue: #bfdbfe;
202
+ --ui-fg-blue: #2563eb;
203
+ --ui-bg-purple-subtle: #faf5ff;
204
+ --ui-text-purple: #7e22ce;
205
+ --ui-border-purple: #e9d5ff;
206
+ --ui-fg-purple: #9333ea;
207
+ --ui-bg-pink-subtle: #fdf2f8;
208
+ --ui-text-pink: #be185d;
209
+ --ui-border-pink: #fbcfe8;
210
+ --ui-fg-pink: #db2777;
211
+ --ui-bg-orange-subtle: #fff7ed;
212
+ --ui-text-orange: #c2410c;
213
+ --ui-border-orange: #fed7aa;
214
+ --ui-fg-orange: #ea580c;
215
+ --ui-bg-indigo-subtle: #eef2ff;
216
+ --ui-text-indigo: #4338ca;
217
+ --ui-border-indigo: #c7d2fe;
218
+ --ui-fg-indigo: #4f46e5;
219
+
220
+ /*
221
+ * Chart series, in fixed order. The same hues in every variant: a series
222
+ * keeps its colour when the brand changes. Each is at least 3:1 on every
223
+ * surface of every variant, and every pair stays apart under colour vision
224
+ * deficiency (npm run contrast).
225
+ */
226
+ --ui-chart-1: #6c7ffb;
227
+ --ui-chart-2: #f1515f;
228
+ --ui-chart-3: #009b91;
229
+ --ui-chart-4: #5532bb;
230
+ --ui-chart-5: #7c5801;
231
+ --ui-chart-6: #9a005e;
232
+ --ui-chart-muted: #6b7280;
233
+ --ui-chart-seq-1: #e4f0ff;
234
+ --ui-chart-seq-2: #b3d4ff;
235
+ --ui-chart-seq-3: #77abec;
236
+ --ui-chart-seq-4: #2e69b2;
237
+ --ui-chart-seq-5: #164781;
238
+ --ui-chart-seq-ink-light: #ffffff;
239
+ --ui-chart-seq-ink-dark: #0b1220;
240
+ }
241
+
242
+ .dark,
243
+ .dark-mode,
244
+ .dark [data-ui-variant],
245
+ .dark-mode [data-ui-variant] {
246
+ color-scheme: dark;
247
+
248
+ /* The frame: warm brown page, a lighter surface, cream text. */
249
+ --ui-text-primary: #f3ede5;
250
+ --ui-text-secondary: var(--color-gray-300);
251
+ --ui-text-tertiary: var(--color-gray-400);
252
+ --ui-text-disabled: var(--color-gray-500);
253
+ --ui-text-placeholder: var(--color-gray-400);
254
+ --ui-text-inverse: #2c2521;
255
+ /* Dark solids are light, so the text on them is the dark page colour. */
256
+ --ui-text-on-solid: var(--color-gray-950);
257
+ --ui-text-brand: var(--color-brand-seed-dark);
258
+ --ui-text-error: var(--color-error-300);
259
+ --ui-text-success: var(--color-success-300);
260
+ --ui-text-warning: var(--color-warning-300);
261
+
262
+ --ui-bg-primary: var(--color-gray-900);
263
+ --ui-bg-secondary: var(--color-gray-950);
264
+ --ui-bg-tertiary: var(--color-gray-800);
265
+ --ui-bg-elevated: #312b26;
266
+ --ui-bg-inverse: #f3ede5;
267
+ --ui-bg-disabled: var(--color-gray-800);
268
+ --ui-bg-overlay: rgb(0 0 0 / 0.65);
269
+ --ui-bg-hover: #36302b;
270
+ --ui-bg-brand-solid: var(--color-brand-seed-dark);
271
+ --ui-bg-brand-solid-hover: color-mix(in oklch, var(--color-brand-seed-dark) 80%, white);
272
+ --ui-bg-brand-subtle: color-mix(in oklch, var(--color-brand-seed) 32%, #211d1a);
273
+ --ui-bg-error-solid: var(--color-error-300);
274
+ --ui-bg-error-solid-hover: var(--color-error-200);
275
+ --ui-bg-error-subtle: color-mix(in oklab, var(--color-error-600) 18%, transparent);
276
+ --ui-bg-success-subtle: color-mix(in oklab, var(--color-success-600) 18%, transparent);
277
+ --ui-bg-warning-subtle: color-mix(in oklab, var(--color-warning-600) 18%, transparent);
278
+
279
+ --ui-border-default: var(--color-gray-800);
280
+ --ui-border-strong: var(--color-gray-400);
281
+ --ui-border-control: var(--color-gray-500);
282
+ --ui-border-subtle: #36302b;
283
+ --ui-border-brand: var(--color-brand-seed-dark);
284
+ --ui-border-error: var(--color-error-400);
285
+ --ui-border-disabled: var(--color-gray-800);
286
+ --ui-border-focus: var(--color-brand-seed-dark);
287
+
288
+ --ui-fg-primary: #f3ede5;
289
+ --ui-fg-secondary: var(--color-gray-300);
290
+ --ui-fg-tertiary: var(--color-gray-400);
291
+ --ui-fg-disabled: var(--color-gray-600);
292
+ --ui-fg-brand: var(--color-brand-seed-dark);
293
+ --ui-fg-on-solid: var(--color-gray-950);
294
+ --ui-fg-error: var(--color-error-400);
295
+ --ui-fg-success: var(--color-success-400);
296
+ --ui-fg-warning: var(--color-warning-400);
297
+
298
+ --ui-logo: #97bf82;
299
+
300
+ --ui-bg-blue-subtle: color-mix(in oklab, #2563eb 18%, transparent);
301
+ --ui-text-blue: #93c5fd;
302
+ --ui-border-blue: #1e40af;
303
+ --ui-fg-blue: #60a5fa;
304
+ --ui-bg-purple-subtle: color-mix(in oklab, #9333ea 18%, transparent);
305
+ --ui-text-purple: #d8b4fe;
306
+ --ui-border-purple: #6b21a8;
307
+ --ui-fg-purple: #c084fc;
308
+ --ui-bg-pink-subtle: color-mix(in oklab, #db2777 18%, transparent);
309
+ --ui-text-pink: #f9a8d4;
310
+ --ui-border-pink: #9d174d;
311
+ --ui-fg-pink: #f472b6;
312
+ --ui-bg-orange-subtle: color-mix(in oklab, #ea580c 18%, transparent);
313
+ --ui-text-orange: #fdba74;
314
+ --ui-border-orange: #9a3412;
315
+ --ui-fg-orange: #fb923c;
316
+ --ui-bg-indigo-subtle: color-mix(in oklab, #4f46e5 18%, transparent);
317
+ --ui-text-indigo: #a5b4fc;
318
+ --ui-border-indigo: #3730a3;
319
+ --ui-fg-indigo: #818cf8;
320
+
321
+ --ui-chart-1: #b3c1ff;
322
+ --ui-chart-2: #ffb862;
323
+ --ui-chart-3: #00f1bf;
324
+ --ui-chart-4: #ac6bf4;
325
+ --ui-chart-5: #8a9f00;
326
+ --ui-chart-6: #ff6791;
327
+ --ui-chart-muted: #9ca3af;
328
+ --ui-chart-seq-1: #182e4b;
329
+ --ui-chart-seq-2: #284e7d;
330
+ --ui-chart-seq-3: #3d73b6;
331
+ --ui-chart-seq-4: #7aaeef;
332
+ --ui-chart-seq-5: #b3d4ff;
333
+ }
334
+
335
+ /* The visitor's text size, from useTextSize or themeInitScript. Default is the type scale above. */
336
+ :root[data-ui-text='compact'] {
337
+ --text-xs: 0.75rem;
338
+ --text-xs--line-height: 1rem;
339
+ --text-sm: 0.8125rem;
340
+ --text-sm--line-height: 1.125rem;
341
+ --text-md: 0.875rem;
342
+ --text-md--line-height: 1.25rem;
343
+ --text-lg: 1rem;
344
+ --text-lg--line-height: 1.5rem;
345
+ --text-xl: 1.25rem;
346
+ --text-xl--line-height: 1.75rem;
347
+ --text-2xl: 1.5rem;
348
+ --text-2xl--line-height: 2rem;
349
+ --text-3xl: 2rem;
350
+ --text-3xl--line-height: 2.375rem;
351
+ }
@@ -0,0 +1,23 @@
1
+ import { type ClassNameValue } from 'tailwind-merge';
2
+ /**
3
+ * Joins class names and resolves Tailwind conflicts so the last one wins.
4
+ * Falsy values are ignored, which keeps conditional classes readable:
5
+ *
6
+ * cx('px-4 py-2', isLarge && 'px-6', className)
7
+ *
8
+ * This module imports nothing but tailwind-merge, so it is safe to use in a
9
+ * React Server Component.
10
+ */
11
+ export declare function cx(...inputs: ClassNameValue[]): string;
12
+ type ClassNameProp<T> = string | ((values: T & {
13
+ defaultClassName: string | undefined;
14
+ }) => string) | undefined;
15
+ /**
16
+ * Merges a component's own classes with a consumer `className` that may be a
17
+ * string or a React Aria render-prop function. Same result as React Aria's
18
+ * `composeRenderProps`, without importing it.
19
+ */
20
+ export declare function composeClassName<T>(className: ClassNameProp<T>, base: string | ((values: T) => string)): (values: T & {
21
+ defaultClassName: string | undefined;
22
+ }) => string;
23
+ export {};
@@ -0,0 +1,25 @@
1
+ import { twMerge } from "tailwind-merge";
2
+ // src/utils/cx.ts
3
+ /**
4
+ * Joins class names and resolves Tailwind conflicts so the last one wins.
5
+ * Falsy values are ignored, which keeps conditional classes readable:
6
+ *
7
+ * cx('px-4 py-2', isLarge && 'px-6', className)
8
+ *
9
+ * This module imports nothing but tailwind-merge, so it is safe to use in a
10
+ * React Server Component.
11
+ */
12
+ function cx(...inputs) {
13
+ return twMerge(...inputs);
14
+ }
15
+ /**
16
+ * Merges a component's own classes with a consumer `className` that may be a
17
+ * string or a React Aria render-prop function. Same result as React Aria's
18
+ * `composeRenderProps`, without importing it.
19
+ */
20
+ function composeClassName(className, base) {
21
+ return (values) => cx(typeof base === "function" ? base(values) : base, typeof className === "function" ? className(values) : className);
22
+ }
23
+ export { composeClassName, cx };
24
+
25
+ //# sourceMappingURL=cx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cx.js","names":[],"sources":["../../src/utils/cx.ts"],"sourcesContent":["import { twMerge, type ClassNameValue } from 'tailwind-merge';\n\n/**\n * Joins class names and resolves Tailwind conflicts so the last one wins.\n * Falsy values are ignored, which keeps conditional classes readable:\n *\n * cx('px-4 py-2', isLarge && 'px-6', className)\n *\n * This module imports nothing but tailwind-merge, so it is safe to use in a\n * React Server Component.\n */\nexport function cx(...inputs: ClassNameValue[]): string {\n return twMerge(...inputs);\n}\n\ntype ClassNameProp<T> =\n string | ((values: T & { defaultClassName: string | undefined }) => string) | undefined;\n\n/**\n * Merges a component's own classes with a consumer `className` that may be a\n * string or a React Aria render-prop function. Same result as React Aria's\n * `composeRenderProps`, without importing it.\n */\nexport function composeClassName<T>(\n className: ClassNameProp<T>,\n base: string | ((values: T) => string),\n): (values: T & { defaultClassName: string | undefined }) => string {\n return (values) =>\n cx(\n typeof base === 'function' ? base(values) : base,\n typeof className === 'function' ? className(values) : className,\n );\n}\n"],"mappings":";;;;;;;;;;;AAWA,SAAgB,GAAG,GAAG,QAAkC;CACtD,OAAO,QAAQ,GAAG,MAAM;AAC1B;;;;;;AAUA,SAAgB,iBACd,WACA,MACkE;CAClE,QAAQ,WACN,GACE,OAAO,SAAS,aAAa,KAAK,MAAM,IAAI,MAC5C,OAAO,cAAc,aAAa,UAAU,MAAM,IAAI,SACxD;AACJ"}
@@ -0,0 +1,12 @@
1
+ export type ClassValue = string | number | false | null | undefined | ClassValue[];
2
+ /**
3
+ * Joins class names and skips falsy values, without resolving Tailwind
4
+ * conflicts. About 8 kB gzip lighter than `cx`, which carries tailwind-merge:
5
+ *
6
+ * cx('px-4 py-2', isLarge && 'px-6') // both px classes stay
7
+ *
8
+ * Use it for your own markup where no two classes compete. Use `cx` when a
9
+ * later class must override an earlier one, for example when merging a
10
+ * `className` prop into a component's defaults.
11
+ */
12
+ export declare function cx(...inputs: ClassValue[]): string;
@@ -0,0 +1,23 @@
1
+ // src/utils/cxLite.ts
2
+ /**
3
+ * Joins class names and skips falsy values, without resolving Tailwind
4
+ * conflicts. About 8 kB gzip lighter than `cx`, which carries tailwind-merge:
5
+ *
6
+ * cx('px-4 py-2', isLarge && 'px-6') // both px classes stay
7
+ *
8
+ * Use it for your own markup where no two classes compete. Use `cx` when a
9
+ * later class must override an earlier one, for example when merging a
10
+ * `className` prop into a component's defaults.
11
+ */
12
+ function cx(...inputs) {
13
+ let result = "";
14
+ for (const input of inputs) {
15
+ const value = Array.isArray(input) ? cx(...input) : input;
16
+ if (value === false || value === null || value === void 0 || value === 0 || value === "") continue;
17
+ result += result ? ` ${value}` : `${value}`;
18
+ }
19
+ return result;
20
+ }
21
+ export { cx };
22
+
23
+ //# sourceMappingURL=cxLite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cxLite.js","names":[],"sources":["../../src/utils/cxLite.ts"],"sourcesContent":["export type ClassValue = string | number | false | null | undefined | ClassValue[];\n\n/**\n * Joins class names and skips falsy values, without resolving Tailwind\n * conflicts. About 8 kB gzip lighter than `cx`, which carries tailwind-merge:\n *\n * cx('px-4 py-2', isLarge && 'px-6') // both px classes stay\n *\n * Use it for your own markup where no two classes compete. Use `cx` when a\n * later class must override an earlier one, for example when merging a\n * `className` prop into a component's defaults.\n */\nexport function cx(...inputs: ClassValue[]): string {\n let result = '';\n for (const input of inputs) {\n const value = Array.isArray(input) ? cx(...input) : input;\n if (value === false || value === null || value === undefined || value === 0 || value === '') {\n continue;\n }\n result += result ? ` ${value}` : `${value}`;\n }\n return result;\n}\n"],"mappings":";;;;;;;;;;;AAYA,SAAgB,GAAG,GAAG,QAA8B;CAClD,IAAI,SAAS;CACb,KAAK,MAAM,SAAS,QAAQ;EAC1B,MAAM,QAAQ,MAAM,QAAQ,KAAK,IAAI,GAAG,GAAG,KAAK,IAAI;EACpD,IAAI,UAAU,SAAS,UAAU,QAAQ,UAAU,KAAA,KAAa,UAAU,KAAK,UAAU,IACvF;EAEF,UAAU,SAAS,IAAI,UAAU,GAAG;CACtC;CACA,OAAO;AACT"}