@flikk/ui 1.0.0-beta.30 → 1.0.0-beta.31

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 (295) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/dist/components/ai/AgentStatus/AgentStatus.d.ts +3 -0
  3. package/dist/components/ai/AgentStatus/AgentStatus.js +144 -0
  4. package/dist/components/ai/AgentStatus/AgentStatus.theme.d.ts +2 -0
  5. package/dist/components/ai/AgentStatus/AgentStatus.theme.js +37 -0
  6. package/dist/components/ai/AgentStatus/AgentStatus.types.d.ts +116 -0
  7. package/dist/components/ai/AgentStatus/index.d.ts +3 -0
  8. package/dist/components/ai/CodeBlock/CodeBlock.js +3 -3
  9. package/dist/components/ai/CodeBlock/CodeBlock.theme.js +1 -1
  10. package/dist/components/ai/PromptInput/PromptInput.js +13 -14
  11. package/dist/components/ai/PromptInput/PromptInput.theme.js +1 -1
  12. package/dist/components/ai/PromptInput/VoiceRecorder.js +3 -3
  13. package/dist/components/ai/Reasoning/Reasoning.d.ts +5 -0
  14. package/dist/components/ai/Reasoning/Reasoning.js +16 -0
  15. package/dist/components/ai/Reasoning/Reasoning.types.d.ts +20 -0
  16. package/dist/components/ai/Reasoning/index.d.ts +2 -0
  17. package/dist/components/ai/SourceCitation/SourceCitation.d.ts +4 -0
  18. package/dist/components/ai/SourceCitation/SourceCitation.js +29 -0
  19. package/dist/components/ai/SourceCitation/SourceCitation.theme.d.ts +2 -0
  20. package/dist/components/ai/SourceCitation/SourceCitation.theme.js +23 -0
  21. package/dist/components/ai/SourceCitation/SourceCitation.types.d.ts +55 -0
  22. package/dist/components/ai/SourceCitation/index.d.ts +3 -0
  23. package/dist/components/ai/StreamingResponse/ErrorDisplay.js +2 -2
  24. package/dist/components/ai/StreamingResponse/StreamingResponse.js +1 -3
  25. package/dist/components/ai/StreamingResponse/StreamingResponse.theme.js +3 -1
  26. package/dist/components/ai/TokenCounter/TokenCounter.js +2 -2
  27. package/dist/components/ai/index.d.ts +3 -0
  28. package/dist/components/ai/index.js +6 -3
  29. package/dist/components/ai/shared/StatusIndicator.d.ts +8 -0
  30. package/dist/components/ai/shared/StatusIndicator.js +34 -0
  31. package/dist/components/canvas/CanvasToolbar.js +2 -2
  32. package/dist/components/canvas/NodeControls.js +2 -2
  33. package/dist/components/canvas/NodeRenderer.js +2 -2
  34. package/dist/components/charts/ActivityRings/ActivityRings.js +2 -2
  35. package/dist/components/charts/AreaChart/AreaChart.js +21 -32
  36. package/dist/components/charts/AreaChart/AreaChart.theme.d.ts +1 -6
  37. package/dist/components/charts/AreaChart/AreaChart.theme.js +7 -19
  38. package/dist/components/charts/AreaChart/AreaChart.types.d.ts +18 -11
  39. package/dist/components/charts/AreaChart/AreaChart.types.js +10 -3
  40. package/dist/components/charts/AreaChart/index.d.ts +1 -1
  41. package/dist/components/charts/BarChart/BarChart.js +9 -28
  42. package/dist/components/charts/BarChart/BarChart.types.d.ts +20 -16
  43. package/dist/components/charts/BarChart/BarChart.types.js +11 -4
  44. package/dist/components/charts/ComboChart/BarRenderer.js +8 -5
  45. package/dist/components/charts/ComboChart/ComboChart.js +11 -24
  46. package/dist/components/charts/ComboChart/ComboChart.types.d.ts +15 -13
  47. package/dist/components/charts/ComboChart/ComboChart.types.js +14 -2
  48. package/dist/components/charts/ComboChart/LineRenderer.js +15 -10
  49. package/dist/components/charts/HorizontalBarChart/HorizontalBarChart.d.ts +16 -0
  50. package/dist/components/charts/HorizontalBarChart/HorizontalBarChart.js +237 -0
  51. package/dist/components/charts/HorizontalBarChart/HorizontalBarChart.types.d.ts +62 -0
  52. package/dist/components/charts/HorizontalBarChart/HorizontalBarChart.types.js +21 -0
  53. package/dist/components/charts/HorizontalBarChart/index.d.ts +3 -0
  54. package/dist/components/charts/LineChart/LineChart.js +9 -26
  55. package/dist/components/charts/LineChart/LineChart.types.d.ts +11 -14
  56. package/dist/components/charts/LineChart/LineChart.types.js +11 -3
  57. package/dist/components/charts/LollipopChart/LollipopChart.d.ts +3 -0
  58. package/dist/components/charts/LollipopChart/LollipopChart.js +361 -0
  59. package/dist/components/charts/LollipopChart/LollipopChart.types.d.ts +42 -0
  60. package/dist/components/charts/LollipopChart/LollipopChart.types.js +12 -0
  61. package/dist/components/charts/LollipopChart/index.d.ts +3 -0
  62. package/dist/components/charts/ScatterPlot/ScatterPlot.js +5 -4
  63. package/dist/components/charts/ScatterPlot/ScatterPlot.types.d.ts +14 -19
  64. package/dist/components/charts/ScatterPlot/ScatterPlot.types.js +9 -2
  65. package/dist/components/charts/StackedBarChart/StackedBarChart.js +150 -132
  66. package/dist/components/charts/StackedBarChart/StackedBarChart.types.d.ts +20 -18
  67. package/dist/components/charts/StackedBarChart/StackedBarChart.types.js +10 -4
  68. package/dist/components/charts/hooks/useChartAccessibility.d.ts +1 -1
  69. package/dist/components/charts/hooks/useChartAccessibility.js +3 -0
  70. package/dist/components/charts/hooks/useTooltipPosition.js +18 -6
  71. package/dist/components/charts/index.d.ts +6 -0
  72. package/dist/components/charts/index.js +6 -0
  73. package/dist/components/charts/shared/ChartAxis/CategoryYAxis.d.ts +14 -0
  74. package/dist/components/charts/shared/ChartAxis/CategoryYAxis.js +35 -0
  75. package/dist/components/charts/shared/ChartAxis/ChartAxis.types.d.ts +69 -8
  76. package/dist/components/charts/shared/ChartAxis/ValueXAxis.d.ts +14 -0
  77. package/dist/components/charts/shared/ChartAxis/ValueXAxis.js +64 -0
  78. package/dist/components/charts/shared/ChartAxis/XAxis.js +1 -1
  79. package/dist/components/charts/shared/ChartAxis/YAxis.js +2 -2
  80. package/dist/components/charts/shared/ChartAxis/index.d.ts +3 -1
  81. package/dist/components/charts/shared/ChartGrid/HorizontalGrid.d.ts +0 -2
  82. package/dist/components/charts/shared/ChartGrid/HorizontalGrid.js +1 -1
  83. package/dist/components/charts/shared/ChartGrid/VerticalGrid.d.ts +29 -0
  84. package/dist/components/charts/shared/ChartGrid/VerticalGrid.js +26 -0
  85. package/dist/components/charts/shared/ChartGrid/index.d.ts +2 -0
  86. package/dist/components/charts/shared/ChartMarker/ChartMarker.js +7 -1
  87. package/dist/components/charts/theme/chart.theme.js +18 -23
  88. package/dist/components/charts/types/chart.types.d.ts +9 -5
  89. package/dist/components/charts/types/chart.types.js +1 -7
  90. package/dist/components/charts/utils/animation-utils.js +1 -3
  91. package/dist/components/charts/utils/bar-emphasis.d.ts +32 -3
  92. package/dist/components/charts/utils/bar-emphasis.js +24 -8
  93. package/dist/components/charts/utils/index.d.ts +1 -0
  94. package/dist/components/charts/utils/series-color.d.ts +7 -0
  95. package/dist/components/charts/utils/series-color.js +20 -0
  96. package/dist/components/core/Accordion/Accordion.theme.js +2 -2
  97. package/dist/components/core/Accordion/AccordionTrigger.js +2 -2
  98. package/dist/components/core/Alert/Alert.animations.d.ts +2 -1
  99. package/dist/components/core/Alert/Alert.animations.js +21 -6
  100. package/dist/components/core/Alert/Alert.js +7 -7
  101. package/dist/components/core/Avatar/Avatar.js +50 -42
  102. package/dist/components/core/Avatar/Avatar.theme.d.ts +8 -4
  103. package/dist/components/core/Avatar/Avatar.theme.js +64 -8
  104. package/dist/components/core/Avatar/Avatar.types.d.ts +13 -2
  105. package/dist/components/core/Avatar/index.d.ts +1 -1
  106. package/dist/components/core/AvatarGroup/AvatarGroup.js +6 -8
  107. package/dist/components/core/AvatarGroup/AvatarGroup.theme.d.ts +1 -2
  108. package/dist/components/core/AvatarGroup/AvatarGroup.theme.js +2 -6
  109. package/dist/components/core/AvatarGroup/AvatarGroup.types.d.ts +0 -6
  110. package/dist/components/core/AvatarGroup/index.d.ts +1 -1
  111. package/dist/components/core/Badge/Badge.animations.js +4 -2
  112. package/dist/components/core/Badge/Badge.js +9 -4
  113. package/dist/components/core/Badge/Badge.theme.js +18 -12
  114. package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.d.ts +1 -4
  115. package/dist/components/core/Breadcrumbs/Breadcrumbs.theme.js +2 -2
  116. package/dist/components/core/Button/Button.js +9 -17
  117. package/dist/components/core/Button/Button.ripple.js +2 -2
  118. package/dist/components/core/Button/Button.theme.d.ts +2 -0
  119. package/dist/components/core/Button/Button.theme.js +34 -21
  120. package/dist/components/core/Button/Button.types.d.ts +18 -1
  121. package/dist/components/core/Calendar/Calendar.js +20 -5
  122. package/dist/components/core/Calendar/Calendar.theme.js +14 -22
  123. package/dist/components/core/Calendar/Calendar.types.d.ts +0 -1
  124. package/dist/components/core/Calendar/CalendarMini/CalendarMini.js +3 -3
  125. package/dist/components/core/Card/Card.theme.js +12 -4
  126. package/dist/components/core/Card/CardBody.js +1 -1
  127. package/dist/components/core/Card/CardFooter.js +1 -1
  128. package/dist/components/core/Card/CardHeader.js +1 -1
  129. package/dist/components/core/Carousel/CarouselNext.js +2 -2
  130. package/dist/components/core/Carousel/CarouselPrevious.js +2 -2
  131. package/dist/components/core/CommandPalette/CommandPalette.js +5 -4
  132. package/dist/components/core/CommandPalette/CommandPalette.theme.js +3 -7
  133. package/dist/components/core/CommandPalette/CommandPalette.types.d.ts +2 -0
  134. package/dist/components/core/ContextMenu/ContextMenuItem.js +2 -2
  135. package/dist/components/core/ContextMenu/ContextMenuSubTrigger.js +2 -2
  136. package/dist/components/core/Drawer/Drawer.theme.js +7 -4
  137. package/dist/components/core/Drawer/DrawerHeader.js +2 -2
  138. package/dist/components/core/Dropdown/Dropdown.theme.js +3 -1
  139. package/dist/components/core/Dropdown/DropdownItem.js +2 -2
  140. package/dist/components/core/Dropdown/DropdownTrigger.js +16 -5
  141. package/dist/components/core/HeroCard/HeroCard.theme.js +5 -2
  142. package/dist/components/core/Kbd/Kbd.theme.js +4 -2
  143. package/dist/components/core/Link/Link.js +6 -4
  144. package/dist/components/core/Message/Message.js +2 -2
  145. package/dist/components/core/Message/Message.theme.js +5 -7
  146. package/dist/components/core/Message/MessageAudio.js +2 -2
  147. package/dist/components/core/Message/MessageFile.js +2 -2
  148. package/dist/components/core/Message/MessageLink.js +2 -2
  149. package/dist/components/core/Message/MessageStatusIndicator.js +5 -5
  150. package/dist/components/core/Modal/Modal.d.ts +1 -1
  151. package/dist/components/core/Modal/Modal.js +2 -2
  152. package/dist/components/core/Modal/Modal.theme.js +9 -4
  153. package/dist/components/core/Modal/ModalHeader.js +2 -2
  154. package/dist/components/core/ModalStack/ModalStackModal.js +2 -2
  155. package/dist/components/core/NavItem/NavItem.js +6 -6
  156. package/dist/components/core/OfflineIndicator/OfflineIndicator.animations.d.ts +22 -0
  157. package/dist/components/core/OfflineIndicator/OfflineIndicator.animations.js +54 -0
  158. package/dist/components/core/OfflineIndicator/OfflineIndicator.js +23 -24
  159. package/dist/components/core/OfflineIndicator/OfflineIndicator.theme.js +25 -6
  160. package/dist/components/core/OfflineIndicator/OfflineIndicator.types.d.ts +17 -0
  161. package/dist/components/core/PageHeading/PageHeading.theme.js +1 -1
  162. package/dist/components/core/PageHeading/PageHeadingBackButton.js +2 -2
  163. package/dist/components/core/Pagination/Pagination.js +3 -3
  164. package/dist/components/core/Pagination/Pagination.theme.js +3 -3
  165. package/dist/components/core/Pill/Pill.js +4 -2
  166. package/dist/components/core/Pill/Pill.theme.js +6 -4
  167. package/dist/components/core/Rating/Rating.js +4 -5
  168. package/dist/components/core/Rating/Rating.theme.js +1 -1
  169. package/dist/components/core/Segmented/Segmented.theme.js +9 -6
  170. package/dist/components/core/Sidebar/Sidebar.types.d.ts +4 -2
  171. package/dist/components/core/Sidebar/SidebarHeader.js +2 -2
  172. package/dist/components/core/Sidebar/SidebarMobileTrigger.js +2 -2
  173. package/dist/components/core/Sidebar/SidebarSearch.js +3 -3
  174. package/dist/components/core/Sidebar/SidebarToggle.js +3 -3
  175. package/dist/components/core/Sidebar/SidebarUserProfile.js +2 -2
  176. package/dist/components/core/Sortable/Sortable.js +2 -2
  177. package/dist/components/core/Tag/Tag.js +2 -2
  178. package/dist/components/core/Tag/Tag.theme.js +4 -2
  179. package/dist/components/core/Toast/Toast.js +3 -3
  180. package/dist/components/core/Toast/Toast.types.d.ts +1 -1
  181. package/dist/components/core/Toast/useToast.js +5 -5
  182. package/dist/components/core/Tooltip/Tooltip.d.ts +1 -1
  183. package/dist/components/core/Tooltip/Tooltip.js +42 -10
  184. package/dist/components/core/Tooltip/Tooltip.types.d.ts +25 -0
  185. package/dist/components/core/Tree/Tree.js +2 -2
  186. package/dist/components/core/shared/interaction.animations.d.ts +51 -0
  187. package/dist/components/core/shared/interaction.animations.js +59 -0
  188. package/dist/components/data-display/Feed/Feed.js +2 -2
  189. package/dist/components/data-display/GanttChart/GanttChart.theme.js +1 -1
  190. package/dist/components/data-display/GanttChart/GanttChartPanel.js +2 -2
  191. package/dist/components/data-display/GanttChart/GanttTableGroupRow.js +3 -3
  192. package/dist/components/data-display/GanttChart/GanttTaskContextMenu.js +2 -2
  193. package/dist/components/data-display/GanttChart/GanttToolbar.js +2 -2
  194. package/dist/components/data-display/KPI/KPI.js +2 -2
  195. package/dist/components/data-display/KPI/KPI.theme.js +4 -4
  196. package/dist/components/data-display/Metric/Metric.js +2 -2
  197. package/dist/components/data-display/Metric/Metric.theme.js +25 -8
  198. package/dist/components/data-display/Metric/Metric.types.d.ts +1 -1
  199. package/dist/components/data-display/Table/Table.theme.js +9 -9
  200. package/dist/components/data-display/Table/TableActions.js +2 -2
  201. package/dist/components/data-display/Table/TableActionsMenu.js +1 -1
  202. package/dist/components/data-display/Table/TableColumnManager.js +2 -2
  203. package/dist/components/data-display/Table/TableDeclarative.js +3 -3
  204. package/dist/components/data-display/Table/TableFilter.js +4 -4
  205. package/dist/components/data-display/Table/TableHeader.js +3 -3
  206. package/dist/components/data-display/Table/TableRow.js +2 -2
  207. package/dist/components/data-display/Table/TableSelectionHeader.js +3 -3
  208. package/dist/components/data-display/Timeline/TimelineMarker.js +2 -2
  209. package/dist/components/effects/CustomCursor/CustomCursor.js +2 -2
  210. package/dist/components/effects/CustomCursor/CustomCursor.theme.js +2 -2
  211. package/dist/components/effects/DotPattern/DotPattern.js +6 -0
  212. package/dist/components/effects/DotPattern/DotPattern.types.d.ts +4 -2
  213. package/dist/components/effects/MeshGradient/MeshGradient.utils.d.ts +1 -1
  214. package/dist/components/effects/MeshGradient/MeshGradient.utils.js +1 -1
  215. package/dist/components/forms/Checkbox/Checkbox.js +2 -1
  216. package/dist/components/forms/Checkbox/Checkbox.theme.js +2 -2
  217. package/dist/components/forms/ColorPicker/ColorPickerEyeDropper.js +2 -2
  218. package/dist/components/forms/ColorPicker/ColorPickerGradient.js +2 -2
  219. package/dist/components/forms/ColorPicker/ColorPickerHeader.js +2 -2
  220. package/dist/components/forms/ColorPicker/ColorPickerImage.js +3 -3
  221. package/dist/components/forms/ColorPicker/ColorPickerInput.js +2 -2
  222. package/dist/components/forms/ColorPicker/ColorPickerPresets.js +2 -2
  223. package/dist/components/forms/ColorPicker/ColorPickerSavedColors.js +2 -2
  224. package/dist/components/forms/Combobox/Combobox.js +3 -3
  225. package/dist/components/forms/Combobox/Combobox.theme.js +2 -2
  226. package/dist/components/forms/DatePicker/DatePicker.animations.js +16 -25
  227. package/dist/components/forms/DatePicker/DatePicker.theme.js +2 -2
  228. package/dist/components/forms/DatePicker/DatePickerBody.js +1 -1
  229. package/dist/components/forms/DatePicker/DatePickerTrigger.js +2 -2
  230. package/dist/components/forms/DateRangePicker/DateRangePicker.theme.js +3 -3
  231. package/dist/components/forms/DateRangePicker/DateRangePickerBody.js +1 -1
  232. package/dist/components/forms/DateRangePicker/DateRangePickerPresets.js +2 -2
  233. package/dist/components/forms/DateRangePicker/DateRangePickerTrigger.js +2 -2
  234. package/dist/components/forms/FileUpload/FileUpload.js +4 -4
  235. package/dist/components/forms/FileUpload/FileUpload.theme.js +5 -1
  236. package/dist/components/forms/FileUpload/FileUploadProgress.js +7 -7
  237. package/dist/components/forms/Input/Input.js +6 -7
  238. package/dist/components/forms/Input/Input.theme.js +19 -15
  239. package/dist/components/forms/InputAddress/InputAddress.js +10 -3
  240. package/dist/components/forms/InputCounter/InputCounter.js +3 -3
  241. package/dist/components/forms/InputOTP/InputOTP.d.ts +3 -12
  242. package/dist/components/forms/InputOTP/InputOTP.js +140 -151
  243. package/dist/components/forms/InputOTP/InputOTP.theme.d.ts +5 -1
  244. package/dist/components/forms/InputOTP/InputOTP.theme.js +40 -5
  245. package/dist/components/forms/InputOTP/InputOTP.types.d.ts +45 -2
  246. package/dist/components/forms/InputOTP/index.d.ts +1 -1
  247. package/dist/components/forms/InputTag/InputTag.js +5 -5
  248. package/dist/components/forms/InputTag/InputTag.theme.js +1 -2
  249. package/dist/components/forms/Mention/Mention.theme.js +3 -5
  250. package/dist/components/forms/Radio/Radio.js +3 -2
  251. package/dist/components/forms/Radio/Radio.theme.js +2 -2
  252. package/dist/components/forms/RichTextEditor/RichTextEditor.js +22 -23
  253. package/dist/components/forms/Select/Select.d.ts +5 -1
  254. package/dist/components/forms/Select/Select.js +12 -11
  255. package/dist/components/forms/Select/Select.theme.js +4 -4
  256. package/dist/components/forms/Select/Select.types.d.ts +4 -1
  257. package/dist/components/forms/SelectableCard/SelectableCard.animations.d.ts +1 -2
  258. package/dist/components/forms/SelectableCard/SelectableCard.animations.js +6 -7
  259. package/dist/components/forms/SelectableCard/SelectableCard.js +1 -1
  260. package/dist/components/forms/Signature/Signature.js +1 -1
  261. package/dist/components/forms/Slider/Slider.js +24 -11
  262. package/dist/components/forms/Slider/Slider.theme.js +9 -3
  263. package/dist/components/forms/Switch/Switch.theme.js +1 -1
  264. package/dist/components/forms/TimePicker/TimePicker.theme.js +6 -7
  265. package/dist/components/forms/TimePicker/TimePickerContent.js +1 -1
  266. package/dist/components/forms/TimePicker/TimePickerTrigger.js +3 -3
  267. package/dist/components/forms/forms.theme.js +23 -12
  268. package/dist/components/forms/index.js +1 -1
  269. package/dist/components/generative/registry.js +195 -2
  270. package/dist/components/generative/resolvers.js +16 -16
  271. package/dist/components/generative/schema.generated.js +2687 -379
  272. package/dist/components/layout/Section/Section.theme.js +1 -1
  273. package/dist/generative.schema.json +2687 -379
  274. package/dist/hooks/index.d.ts +2 -0
  275. package/dist/hooks/useElapsedTime.d.ts +28 -0
  276. package/dist/hooks/useElapsedTime.js +37 -0
  277. package/dist/hooks/useSelectPortal.d.ts +10 -2
  278. package/dist/hooks/useSelectPortal.js +6 -3
  279. package/dist/index.js +1 -1
  280. package/dist/registry.json +835 -261
  281. package/dist/shadcn-compat.css +1 -1
  282. package/dist/styles.css +1 -1
  283. package/dist/theme.css +5 -1
  284. package/dist/themes/ember.css +131 -0
  285. package/dist/themes/iris.css +94 -0
  286. package/dist/themes/jade.css +139 -0
  287. package/dist/tools.json +2705 -361
  288. package/dist/utils/colorUtils.d.ts +6 -6
  289. package/dist/utils/colorUtils.js +8 -8
  290. package/package.json +9 -6
  291. package/src/global.scss +15 -4
  292. package/src/styles/theme.css +440 -152
  293. package/tailwind.preset.cjs +52 -34
  294. package/dist/components/core/Pill/Pill.animations.d.ts +0 -32
  295. package/dist/components/core/Pill/Pill.animations.js +0 -16
@@ -18,26 +18,29 @@ const formsBaseTheme = {
18
18
  "dark:focus-within:shadow-[inset_0_0_0_1px_var(--color-primary-500)] dark:focus-within:ring-[var(--color-primary-500)]/20",
19
19
  // Common base input/control style
20
20
  controlBaseStyle: "w-full bg-transparent text-sm text-[var(--color-text-primary)] " +
21
- "placeholder:text-[var(--color-text-placeholder)] focus:outline-none " +
22
- // Dark mode
23
- "dark:text-[var(--color-text-primary)] dark:placeholder:text-[var(--color-neutral-500)]",
21
+ "placeholder:text-[var(--color-text-placeholder)] focus:outline-none",
24
22
  // Size variants - atomic design tokens for composability
25
23
  // These tokens can be composed together or used individually for maximum flexibility
24
+ //
25
+ // `text` reads --form-text-size-* rather than a Tailwind literal so a theme can
26
+ // retune control type the same way it already retunes control height/padding.
27
+ // Note the `length:` hint — bare text-[var(--x)] resolves to the COLOUR branch of
28
+ // Tailwind's ambiguous arbitrary-text syntax and silently sizes nothing.
26
29
  sizes: {
27
30
  sm: {
28
- text: "text-sm",
31
+ text: "text-[length:var(--form-text-size-sm)]/[var(--form-line-height-sm)]",
29
32
  padding: "py-[var(--form-py-sm)] px-[var(--form-px-sm)]",
30
33
  height: "h-[var(--form-min-h-sm)]",
31
34
  textareaHeight: "min-h-[calc(var(--form-min-h-sm)*2)]",
32
35
  },
33
36
  md: {
34
- text: "text-sm",
37
+ text: "text-[length:var(--form-text-size-md)]/[var(--form-line-height-md)]",
35
38
  padding: "py-[var(--form-py-md)] px-[var(--form-px-md)]",
36
39
  height: "h-[var(--form-min-h-md)]",
37
40
  textareaHeight: "min-h-[calc(var(--form-min-h-md)*2)]",
38
41
  },
39
42
  lg: {
40
- text: "text-base",
43
+ text: "text-[length:var(--form-text-size-lg)]/[var(--form-line-height-lg)]",
41
44
  padding: "py-[var(--form-py-lg)] px-[var(--form-px-lg)]",
42
45
  height: "h-[var(--form-min-h-lg)]",
43
46
  textareaHeight: "min-h-[calc(var(--form-min-h-lg)*2)]",
@@ -98,13 +101,11 @@ const formsBaseTheme = {
98
101
  "dark:shadow-[inset_0_0_0_1px_var(--color-danger-500)] dark:ring-[var(--color-danger-500)]/20",
99
102
  // Common helper text style with state variations
100
103
  helperText: "text-xs text-[var(--color-text-muted)] mt-1.5 [.state-disabled_&]:text-[var(--color-text-disabled)] [.state-invalid_&]:text-[var(--color-danger-500)] " +
101
- "dark:text-[var(--color-neutral-400)] dark:[.state-invalid_&]:text-[var(--color-danger-400)]",
104
+ "dark:[.state-invalid_&]:text-[var(--color-danger-400)]",
102
105
  // Common icon styles
103
106
  iconStyles: {
104
- left: "absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none text-[var(--color-text-muted)] " +
105
- "dark:text-[var(--color-neutral-500)]",
106
- right: "absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none text-[var(--color-text-muted)] " +
107
- "dark:text-[var(--color-neutral-500)]",
107
+ left: "absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none text-[var(--color-text-muted)]",
108
+ right: "absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none text-[var(--color-text-muted)]",
108
109
  padding: {
109
110
  left: "pl-10",
110
111
  right: "pr-10",
@@ -129,13 +130,23 @@ const formsBaseTheme = {
129
130
  // (utilities layer ⟶ win over that base-layer rule) suppress it here; scroll still works via
130
131
  // wheel/trackpad/keyboard. Scoped to the dropdown panel only — app scrollbars are untouched.
131
132
  "[scrollbar-width:none] [&::-webkit-scrollbar]:hidden " +
133
+ // p-1 (never py-1): the rows are rounded (see `option`), so they must inset evenly on
134
+ // ALL sides — with vertical-only padding a row's rounded corners and its hover ring run
135
+ // flush into the panel's own edge and the radius reads as a rendering glitch. This lives
136
+ // here rather than at each call site because every consumer needs it and, when it was a
137
+ // call-site decision, two of four got it wrong.
138
+ "p-1 " +
132
139
  "rounded-[var(--form-radius)] backdrop-blur-md text-sm border border-[var(--color-border)] " +
133
140
  "ring-1 ring-[var(--color-border)] focus:outline-none",
134
141
  // Base option style — hover uses the shared `--color-surface-hover` interaction tint
135
142
  // (§3): a translucent shade that composites over the dropdown's surface, darkening in
136
143
  // light and lightening in dark relative to the background (same model as the surface
137
144
  // ladder). One mode-aware token, so no separate `dark:` variant is needed.
145
+ // The radius belongs here, not per-consumer: `container`'s gap-0.5 and this row's inset
146
+ // hover ring only read correctly on a rounded, inset row, so the base already assumes
147
+ // this treatment — withholding the radius just let call sites drift out of it.
138
148
  option: "relative cursor-pointer select-none py-2 px-3 text-[var(--color-text-primary)] " +
149
+ "rounded-[var(--radius-base)] " +
139
150
  "hover:bg-[var(--color-surface-hover)] hover:shadow-[inset_0_0_0_1px_var(--color-border)]",
140
151
  // Selected option modifier
141
152
  optionSelected: "text-[var(--color-text-primary)] bg-[var(--color-surface-hover)] shadow-[inset_0_0_0_1px_var(--color-border)]",
@@ -152,7 +163,7 @@ const formsBaseTheme = {
152
163
  emptyMessage: "py-3 px-3 text-center text-[var(--color-text-muted)]",
153
164
  },
154
165
  // Placeholder text style (shared across input-like components)
155
- placeholderStyle: "text-[var(--color-text-placeholder)] dark:text-[var(--color-neutral-500)]",
166
+ placeholderStyle: "text-[var(--color-text-placeholder)]",
156
167
  // Helper text state variants (beyond base helperText)
157
168
  helperTextStates: {
158
169
  default: "text-[var(--color-text-muted)] ",
@@ -25,7 +25,7 @@ export { fileUploadProgressTheme } from './FileUpload/FileUploadProgress.theme.j
25
25
  export { TimePicker } from './TimePicker/TimePicker.js';
26
26
  import 'react/jsx-runtime';
27
27
  import 'react';
28
- import '@heroicons/react/24/outline';
28
+ import '@phosphor-icons/react';
29
29
  import '../../utils/cn.js';
30
30
  import './TimePicker/TimePickerContext.js';
31
31
  import 'motion/react';
@@ -1,6 +1,8 @@
1
+ "use client";
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import { Accordion } from '../core/Accordion/Accordion.js';
3
4
  import { Alert } from '../core/Alert/Alert.js';
5
+ import { AspectRatio } from '../core/AspectRatio/AspectRatio.js';
4
6
  import { Avatar } from '../core/Avatar/Avatar.js';
5
7
  import { AvatarGroup } from '../core/AvatarGroup/AvatarGroup.js';
6
8
  import { Badge } from '../core/Badge/Badge.js';
@@ -8,31 +10,121 @@ import { Breadcrumbs } from '../core/Breadcrumbs/Breadcrumbs.js';
8
10
  import '../core/Breadcrumbs/Breadcrumbs.theme.js';
9
11
  import { Button } from '../core/Button/Button.js';
10
12
  import 'react';
13
+ import { ButtonGroup } from '../core/ButtonGroup/ButtonGroup.js';
14
+ import '../core/ButtonGroup/ButtonGroupSeparator.js';
15
+ import '../core/ButtonGroup/ButtonGroupText.js';
16
+ import { Calendar } from '../core/Calendar/Calendar.js';
17
+ import '../core/Calendar/CalendarMini/CalendarMini.js';
11
18
  import { Card } from '../core/Card/Card.js';
19
+ import { CommandPalette } from '../core/CommandPalette/CommandPalette.js';
20
+ import { DotSeparator } from '../core/DotSeparator/DotSeparator.js';
12
21
  import { Empty } from '../core/Empty/Empty.js';
22
+ import { HeroCard } from '../core/HeroCard/HeroCard.js';
23
+ import { Icon } from '../core/Icon/Icon.js';
24
+ import { Kbd } from '../core/Kbd/Kbd.js';
25
+ import { Link } from '../core/Link/Link.js';
26
+ import { Masonry } from '../core/Masonry/Masonry.js';
27
+ import { Message } from '../core/Message/Message.js';
28
+ import '../core/Message/TypeWriter.js';
29
+ import '../core/Message/MessageBody.js';
30
+ import { cn } from '../../utils/cn.js';
31
+ import '@phosphor-icons/react';
32
+ import { MenuItem } from '../core/MenuItem/MenuItem.js';
13
33
  import { PageHeading } from '../core/PageHeading/PageHeading.js';
34
+ import { Pagination } from '../core/Pagination/Pagination.js';
14
35
  import { Pill } from '../core/Pill/Pill.js';
15
36
  import { Progress } from '../core/Progress/Progress.js';
16
37
  import { Rating } from '../core/Rating/Rating.js';
38
+ import { ScrollArea } from '../core/ScrollArea/ScrollArea.js';
39
+ import '../core/ScrollArea/smooth/SmoothScrollEngine.js';
17
40
  import { Separator } from '../core/Separator/Separator.js';
41
+ import { Skeleton } from '../core/Skeleton/Skeleton.js';
42
+ import { Spinner } from '../core/Spinner/Spinner.js';
18
43
  import { Tag } from '../core/Tag/Tag.js';
44
+ import { Tree } from '../core/Tree/Tree.js';
19
45
  import { Table } from '../data-display/Table/index.js';
20
46
  import { KPI } from '../data-display/KPI/KPI.js';
21
47
  import { Metric } from '../data-display/Metric/Metric.js';
22
48
  import { DescriptionList } from '../data-display/DescriptionList/DescriptionList.js';
23
49
  import { Timeline } from '../data-display/Timeline/Timeline.js';
24
50
  import { Feed } from '../data-display/Feed/Feed.js';
25
- import '../data-display/GanttChart/GanttChart.js';
51
+ import { GanttChart as GanttChartComponent } from '../data-display/GanttChart/GanttChart.js';
26
52
  import { Grid } from '../layout/Grid/Grid.js';
27
53
  import { Stack } from '../layout/Stack/Stack.js';
28
54
  import { Section } from '../layout/Section/Section.js';
29
- import { cn } from '../../utils/cn.js';
55
+ import { Input } from '../forms/Input/Input.js';
56
+ import '../forms/Input/Input.theme.js';
57
+ import { Select } from '../forms/Select/Select.js';
58
+ import '../forms/Select/Select.theme.js';
59
+ import { Textarea } from '../forms/Textarea/Textarea.js';
60
+ import '../forms/Textarea/Textarea.theme.js';
61
+ import '../forms/FormLabel/FormLabel.js';
62
+ import '../forms/Radio/Radio.js';
63
+ import { Checkbox } from '../forms/Checkbox/Checkbox.js';
64
+ import { Switch } from '../forms/Switch/Switch.js';
65
+ import '../forms/DatePicker/DatePicker.js';
66
+ import '../forms/DatePicker/DatePicker.theme.js';
67
+ import '../forms/DateRangePicker/DateRangePicker.js';
68
+ import '../forms/DateRangePicker/DateRangePicker.theme.js';
69
+ import '../forms/FileUpload/FileUpload.js';
70
+ import '../forms/FileUpload/FileUploadProgress.js';
71
+ import { TimePicker } from '../forms/TimePicker/TimePicker.js';
72
+ import '../forms/TimePicker/TimePickerContext.js';
73
+ import 'motion/react';
74
+ import 'react-dom';
75
+ import '../forms/Select/Select.animations.js';
76
+ import '../../theme/SurfaceContext.js';
77
+ import '../forms/TimePicker/WheelColumn.js';
78
+ import '../forms/TimePicker/TimePicker.theme.js';
79
+ import { Slider } from '../forms/Slider/Slider.js';
80
+ import '../forms/Slider/Slider.theme.js';
81
+ import '../forms/Signature/Signature.js';
82
+ import '../forms/Signature/Signature.theme.js';
83
+ import '../forms/RichTextEditor/RichTextEditor.js';
84
+ import '../forms/RichTextEditor/RichTextEditor.theme.js';
85
+ import { InputOTP } from '../forms/InputOTP/InputOTP.js';
86
+ import '../forms/InputOTP/InputOTP.theme.js';
87
+ import '../forms/InputCreditCard/InputCreditCard.js';
88
+ import '../forms/InputCreditCard/InputCreditCard.theme.js';
89
+ import '../forms/InputAddress/InputAddress.js';
90
+ import '../forms/InputAddress/InputAddress.theme.js';
91
+ import { InputDate } from '../forms/InputDate/InputDate.js';
92
+ import { InputCounter } from '../forms/InputCounter/InputCounter.js';
93
+ import { InputTag } from '../forms/InputTag/InputTag.js';
94
+ import '../forms/InputTag/InputTag.theme.js';
95
+ import { Combobox } from '../forms/Combobox/Combobox.js';
96
+ import '../forms/Combobox/Combobox.theme.js';
97
+ import '../forms/ColorPicker/ColorPicker.js';
98
+ import '../forms/ColorPicker/ColorPickerContext.js';
99
+ import '../forms/ColorPicker/ColorPickerTrigger.js';
100
+ import '../forms/ColorPicker/ColorPickerBody.js';
101
+ import '../forms/ColorPicker/ColorPicker2DCanvas.js';
102
+ import '../forms/ColorPicker/ColorPickerSwatch.js';
103
+ import '../forms/ColorPicker/ColorPickerSliders.js';
104
+ import '../forms/ColorPicker/ColorPickerInput.js';
105
+ import '../forms/ColorPicker/ColorPickerFormatSelector.js';
106
+ import '../forms/ColorPicker/ColorPickerEyeDropper.js';
107
+ import '../forms/ColorPicker/ColorPickerPresets.js';
108
+ import '../forms/ColorPicker/ColorPickerSavedColors.js';
109
+ import '../forms/ColorPicker/ColorPickerHeader.js';
110
+ import '../forms/ColorPicker/ColorPickerGradient.js';
111
+ import '../forms/ColorPicker/ColorPickerImage.js';
112
+ import '../forms/SelectableCard/SelectableCard.js';
113
+ import '../forms/Mention/Mention.js';
114
+ import '../forms/Mention/Mention.theme.js';
30
115
  import { defaultResolvers, DEFAULT_ICONS } from './resolvers.js';
116
+ import { Heatmap } from '../charts/Heatmap/Heatmap.js';
117
+ import '../charts/Heatmap/HeatmapCell.js';
118
+ import { ActivityRings } from '../charts/ActivityRings/ActivityRings.js';
119
+ import { FunnelChart } from '../charts/FunnelChart/FunnelChart.js';
120
+ import { ScatterPlot } from '../charts/ScatterPlot/ScatterPlot.js';
121
+ import { RadarChart } from '../charts/RadarChart/RadarChart.js';
31
122
  import { DonutChart } from '../charts/DonutChart/DonutChart.js';
32
123
  import { ChartContainer } from '../charts/ChartContainer.js';
33
124
  import { ComboChart } from '../charts/ComboChart/ComboChart.js';
34
125
  import { StackedBarChart } from '../charts/StackedBarChart/StackedBarChart.js';
35
126
  import { LineChart } from '../charts/LineChart/LineChart.js';
127
+ import { HorizontalBarChart } from '../charts/HorizontalBarChart/HorizontalBarChart.js';
36
128
  import { BarChart } from '../charts/BarChart/BarChart.js';
37
129
  import { AreaChart } from '../charts/AreaChart/AreaChart.js';
38
130
 
@@ -43,6 +135,9 @@ const loose = (component) => component;
43
135
  const LooseTable = loose(Table);
44
136
  const LooseDonutChart = loose(DonutChart);
45
137
  const LooseCard = loose(Card);
138
+ const LooseCommandPalette = loose(CommandPalette);
139
+ const LooseInputDate = loose(InputDate);
140
+ const LooseCalendar = loose(Calendar);
46
141
  /**
47
142
  * Card shell used by the automatic `needsShell` wrap (KPI, charts).
48
143
  * Card now carries `title`/`subtitle` natively (slot-props), so this is a thin
@@ -86,6 +181,88 @@ const DEFAULT_COMPONENTS = {
86
181
  PageHeading: { component: PageHeading },
87
182
  Breadcrumbs: { component: Breadcrumbs },
88
183
  Accordion: { component: Accordion },
184
+ Tree: {
185
+ component: Tree,
186
+ actionProps: { selectionChange: "onSelectionChange", expand: "onExpand" },
187
+ },
188
+ CommandPalette: {
189
+ component: CommandPalette,
190
+ actionProps: { close: "onClose", select: "onCommandSelect" },
191
+ render: (props) => {
192
+ var _a;
193
+ const rawCommands = (_a = props.commands) !== null && _a !== void 0 ? _a : [];
194
+ const commands = rawCommands.map((c) => ({ ...c, onSelect: () => { } }));
195
+ return jsx(LooseCommandPalette, { ...props, isOpen: true, commands: commands });
196
+ },
197
+ },
198
+ // Forms (Wave 1)
199
+ Input: { component: Input, actionProps: { change: "onValueChange" } },
200
+ Select: { component: Select, actionProps: { change: "onChange" } },
201
+ Combobox: { component: Combobox, actionProps: { change: "onChange" } },
202
+ Textarea: { component: Textarea, actionProps: { change: "onValueChange" } },
203
+ Checkbox: { component: Checkbox, actionProps: { change: "onChange" } },
204
+ Switch: { component: Switch, actionProps: { change: "onChange" } },
205
+ Slider: {
206
+ component: Slider,
207
+ actionProps: { change: "onChange", changeCommitted: "onChangeCommitted" },
208
+ },
209
+ InputOTP: {
210
+ component: InputOTP,
211
+ actionProps: { complete: "onComplete", change: "onChange" },
212
+ },
213
+ TimePicker: { component: TimePicker, actionProps: { change: "onChange" } },
214
+ InputDate: {
215
+ component: InputDate,
216
+ actionProps: { change: "onChange" },
217
+ // minDate/maxDate are real Date objects at runtime; the generative schema
218
+ // only carries ISO strings for them (see generativeManifest.ts) — coerce
219
+ // here before handing off to the real component.
220
+ render: (props) => {
221
+ const { minDate, maxDate, ...rest } = props;
222
+ return (jsx(LooseInputDate, { ...rest, minDate: typeof minDate === "string" ? new Date(minDate) : undefined, maxDate: typeof maxDate === "string" ? new Date(maxDate) : undefined }));
223
+ },
224
+ },
225
+ InputCounter: { component: InputCounter, actionProps: { change: "onChange" } },
226
+ InputTag: { component: InputTag, actionProps: { change: "onChange" } },
227
+ // Core + Data Display (Wave 2)
228
+ Spinner: { component: Spinner },
229
+ Skeleton: { component: Skeleton },
230
+ Link: { component: Link, actionProps: { click: "onClick" } },
231
+ Kbd: { component: Kbd },
232
+ DotSeparator: { component: DotSeparator },
233
+ Icon: { component: Icon },
234
+ Pagination: { component: Pagination, actionProps: { pageChange: "onPageChange" } },
235
+ Message: { component: Message },
236
+ MenuItem: { component: MenuItem, actionProps: { activate: "onActivate" } },
237
+ Calendar: {
238
+ component: Calendar,
239
+ actionProps: { change: "onChange" },
240
+ // value/minDate/maxDate are real Date objects at runtime; the schema only
241
+ // carries ISO strings for them (mode is constrained to "single" in the
242
+ // generative surface, per the manifest's exclude list). onChange fires
243
+ // with a Date — convert back to an ISO string before it reaches the
244
+ // actionProps-bound dispatcher so context.data stays JSON-safe.
245
+ render: (props) => {
246
+ const { value, minDate, maxDate, onChange, ...rest } = props;
247
+ const toDate = (v) => (typeof v === "string" ? new Date(v) : undefined);
248
+ return (jsx(LooseCalendar, { ...rest, value: toDate(value), minDate: toDate(minDate), maxDate: toDate(maxDate), onChange: (next) => {
249
+ if (next instanceof Date) {
250
+ onChange === null || onChange === void 0 ? void 0 : onChange(next.toISOString().slice(0, 10));
251
+ }
252
+ } }));
253
+ },
254
+ },
255
+ GanttChart: {
256
+ component: GanttChartComponent,
257
+ needsShell: true,
258
+ actionProps: { taskClick: "onTaskClick" },
259
+ },
260
+ // New containers (Wave 2)
261
+ AspectRatio: { component: AspectRatio, kind: "container" },
262
+ ButtonGroup: { component: ButtonGroup, kind: "container" },
263
+ Masonry: { component: Masonry, kind: "container" },
264
+ ScrollArea: { component: ScrollArea, kind: "container" },
265
+ HeroCard: { component: HeroCard, kind: "container" },
89
266
  // Panel-less leaves — auto Card shell (lifted from the PoC's NEEDS_SHELL)
90
267
  KPI: { component: KPI, needsShell: true },
91
268
  // Collections (dual-API data path — items/data arrays are serializable)
@@ -102,6 +279,7 @@ const DEFAULT_COMPONENTS = {
102
279
  // Charts — ChartContainer wrap + auto shell
103
280
  AreaChart: chartEntry(AreaChart),
104
281
  BarChart: chartEntry(BarChart),
282
+ HorizontalBarChart: chartEntry(HorizontalBarChart),
105
283
  LineChart: chartEntry(LineChart),
106
284
  StackedBarChart: chartEntry(StackedBarChart),
107
285
  ComboChart: chartEntry(ComboChart),
@@ -110,6 +288,21 @@ const DEFAULT_COMPONENTS = {
110
288
  needsShell: true,
111
289
  render: (props) => (jsx("div", { className: "flex justify-center py-2", children: jsx(LooseDonutChart, { ...props }) })),
112
290
  },
291
+ // Charts (Wave 3) — bespoke prop systems, not BaseChartProps-shaped, so no
292
+ // ChartContainer wrap via chartEntry() (that helper is data/config-specific).
293
+ RadarChart: { component: RadarChart, needsShell: true },
294
+ ScatterPlot: { component: ScatterPlot, needsShell: true },
295
+ FunnelChart: {
296
+ component: FunnelChart,
297
+ needsShell: true,
298
+ actionProps: { stageClick: "onStageClick" },
299
+ },
300
+ ActivityRings: { component: ActivityRings, needsShell: true },
301
+ Heatmap: {
302
+ component: Heatmap,
303
+ needsShell: true,
304
+ actionProps: { cellClick: "onCellClick" },
305
+ },
113
306
  };
114
307
  function createRegistry(options = {}) {
115
308
  var _a, _b;
@@ -1,24 +1,24 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
- import { ChatBubbleLeftRightIcon, PencilSquareIcon, RocketLaunchIcon, UserPlusIcon, BriefcaseIcon, ExclamationTriangleIcon, CheckCircleIcon, GlobeAltIcon, BoltIcon, ChartBarIcon, ShoppingCartIcon, ArrowTrendingUpIcon, UsersIcon, CurrencyDollarIcon } from '@heroicons/react/24/outline';
3
+ import { ChatsCircle, NotePencil, RocketLaunch, UserPlus, Briefcase, Warning, CheckCircle, Globe, Lightning, ChartBar, ShoppingCart, TrendUp, Users, CurrencyDollar } from '@phosphor-icons/react';
4
4
  import { Badge } from '../core/Badge/Badge.js';
5
5
 
6
6
  /** Closed default icon set (P2's schema generation emits these as the enum). */
7
7
  const DEFAULT_ICONS = {
8
- CurrencyDollar: CurrencyDollarIcon,
9
- Users: UsersIcon,
10
- ArrowTrendingUp: ArrowTrendingUpIcon,
11
- ShoppingCart: ShoppingCartIcon,
12
- ChartBar: ChartBarIcon,
13
- Bolt: BoltIcon,
14
- Globe: GlobeAltIcon,
15
- CheckCircle: CheckCircleIcon,
16
- ExclamationTriangle: ExclamationTriangleIcon,
17
- Briefcase: BriefcaseIcon,
18
- UserPlus: UserPlusIcon,
19
- RocketLaunch: RocketLaunchIcon,
20
- PencilSquare: PencilSquareIcon,
21
- ChatBubbleLeftRight: ChatBubbleLeftRightIcon,
8
+ CurrencyDollar: CurrencyDollar,
9
+ Users: Users,
10
+ ArrowTrendingUp: TrendUp,
11
+ ShoppingCart: ShoppingCart,
12
+ ChartBar: ChartBar,
13
+ Bolt: Lightning,
14
+ Globe: Globe,
15
+ CheckCircle: CheckCircle,
16
+ ExclamationTriangle: Warning,
17
+ Briefcase: Briefcase,
18
+ UserPlus: UserPlus,
19
+ RocketLaunch: RocketLaunch,
20
+ PencilSquare: NotePencil,
21
+ ChatBubbleLeftRight: ChatsCircle,
22
22
  };
23
23
  /** Resolve an icon NAME to an element (undefined when unknown — never throws). */
24
24
  function resolveIcon(icons, name, className = "size-5") {
@@ -78,7 +78,7 @@ const tableColumnsResolver = (props) => {
78
78
  cell: (row) => {
79
79
  var _a, _b;
80
80
  const value = String((_a = row[accessor]) !== null && _a !== void 0 ? _a : "");
81
- return (jsx(Badge, { color: ((_b = map[value]) !== null && _b !== void 0 ? _b : "neutral"), variant: "soft", children: value }));
81
+ return (jsx(Badge, { color: ((_b = map[value]) !== null && _b !== void 0 ? _b : "mono"), variant: "soft", children: value }));
82
82
  },
83
83
  };
84
84
  });