@fldr/ui 0.0.0-stage → 0.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 (577) hide show
  1. package/CHANGELOG.md +2366 -0
  2. package/LICENSE +21 -0
  3. package/README.md +488 -2
  4. package/ai/USAGE.md +216 -0
  5. package/ai/component-registry.json +8694 -0
  6. package/ai/component-registry.md +11933 -0
  7. package/ai/schemas.ts +1239 -0
  8. package/bin/kumo.js +36 -0
  9. package/dist/.build-complete +1 -0
  10. package/dist/ai/schemas.d.ts +3229 -0
  11. package/dist/ai/schemas.js +5963 -0
  12. package/dist/blocks-source/delete-resource/delete-resource.test.tsx +21 -0
  13. package/dist/blocks-source/delete-resource/delete-resource.tsx +219 -0
  14. package/dist/blocks-source/page-header/page-header.tsx +99 -0
  15. package/dist/blocks-source/resource-list/resource-list.test.tsx +28 -0
  16. package/dist/blocks-source/resource-list/resource-list.tsx +66 -0
  17. package/dist/button-DzavLWXm.d.ts +227 -0
  18. package/dist/catalog.d.ts +380 -0
  19. package/dist/catalog.js +387 -0
  20. package/dist/chunks/AccordionPanelDataAttributes-mmrmkky28u1010l5.js +457 -0
  21. package/dist/chunks/AlertDialogTrigger-l1r1gbxcky1xq889.js +24 -0
  22. package/dist/chunks/AlertDialogTriggerDataAttributes-go49qon601catpgn.js +56 -0
  23. package/dist/chunks/AutocompleteItem-36ysm5nwbsd0snr6.js +70 -0
  24. package/dist/chunks/AutocompleteItemDataAttributes-n5rigpf0s9ylnwi3.js +232 -0
  25. package/dist/chunks/AutocompleteSeparator-bnqeqh7i983d92gx.js +12 -0
  26. package/dist/chunks/AvatarImageDataAttributes-jw70u384c83lhqfp.js +247 -0
  27. package/dist/chunks/ButtonDataAttributes-nceand1fi7lvnmkb.js +35 -0
  28. package/dist/chunks/CSPContext-iv67i0qqhihg8mur.js +11 -0
  29. package/dist/chunks/CSPProvider-finau3a8hnc9o2td.js +24 -0
  30. package/dist/chunks/CheckboxGroup-581mfftu99wvjb3a.js +190 -0
  31. package/dist/chunks/CheckboxGroupContext-jf1bt3znvqlhrql6.js +10 -0
  32. package/dist/chunks/CheckboxGroupDataAttributes-nskqcxts64symbvf.js +10 -0
  33. package/dist/chunks/CheckboxIndicator-i13dmhacfgqo328c.js +414 -0
  34. package/dist/chunks/CheckboxIndicatorDataAttributes-3p29ju7nkczz1l2y.js +85 -0
  35. package/dist/chunks/CollapsiblePanel-md5suzmtnsyz1kab.js +178 -0
  36. package/dist/chunks/CollapsibleRootDataAttributes-bynmgxmt4jikaoha.js +36 -0
  37. package/dist/chunks/ComboboxClear-ioejwvtnmqanph88.js +294 -0
  38. package/dist/chunks/ComboboxClearDataAttributes-lo0enstdmrqpywsy.js +402 -0
  39. package/dist/chunks/ComboboxEmpty-gkt1y5b81a4983v7.js +1950 -0
  40. package/dist/chunks/ComboboxItemIndicatorDataAttributes-iku7l9ig0ve09an4.js +259 -0
  41. package/dist/chunks/ComboboxPopup-n8cbgys9st446j1i.js +205 -0
  42. package/dist/chunks/CompositeItem-kepwg8jtvgap06o6.js +20 -0
  43. package/dist/chunks/CompositeList-gwuaf6d14s4da0j0.js +182 -0
  44. package/dist/chunks/CompositeListContext-bejvmlu39hsfjzgu.js +15 -0
  45. package/dist/chunks/CompositeRoot-dnlkb27uw4g5aocf.js +223 -0
  46. package/dist/chunks/CompositeRootContext-obm54j7y6s86qwhq.js +12 -0
  47. package/dist/chunks/ContextMenuTriggerDataAttributes-xwozccynxv6pk5s0.js +237 -0
  48. package/dist/chunks/DialogBackdropDataAttributes-jwqxd6jla03xh8ke.js +28 -0
  49. package/dist/chunks/DialogCloseDataAttributes-12m7gwh3i6fd7d05.js +76 -0
  50. package/dist/chunks/DialogPopup-n6w7b389e7bs0472.js +133 -0
  51. package/dist/chunks/DialogRoot-hkkqj7vcjpkx8qk8.js +16 -0
  52. package/dist/chunks/DialogTrigger-kpugfkbfswqrus4u.js +142 -0
  53. package/dist/chunks/DialogTriggerDataAttributes-bp9bu13cvwuddh5b.js +18 -0
  54. package/dist/chunks/DialogViewportDataAttributes-mma9emv1edsc1vuy.js +78 -0
  55. package/dist/chunks/DirectionContext-kpby968j030psajn.js +10 -0
  56. package/dist/chunks/DirectionProvider-cg0pwzgdyg6r73r6.js +21 -0
  57. package/dist/chunks/DrawerViewport-mzqpwvqtylnad8ib.js +1532 -0
  58. package/dist/chunks/DrawerViewportDataAttributes-dd9593zm9fl9vcsm.js +1072 -0
  59. package/dist/chunks/FieldControl-hjj2tcqruozadgdi.js +122 -0
  60. package/dist/chunks/FieldDescription-orix2gepowrp5ni4.js +122 -0
  61. package/dist/chunks/FieldItemContext-ohsf45im6xhpay40.js +10 -0
  62. package/dist/chunks/FieldItemDataAttributes-m52srx69pispz49i.js +283 -0
  63. package/dist/chunks/FieldLabel-fjc7tdis7rcbq8o4.js +353 -0
  64. package/dist/chunks/FieldsetLegend-gl9z9eezr0xg9zr7.js +61 -0
  65. package/dist/chunks/FieldsetLegendDataAttributes-fn20251jxjqkpkxm.js +17 -0
  66. package/dist/chunks/FieldsetRootContext-fphwizvcm55ydg94.js +12 -0
  67. package/dist/chunks/FloatingPortalLite-j7dsy7gokbxdoe1i.js +25 -0
  68. package/dist/chunks/FloatingRootStore-men6ufp3a2b296fh.js +840 -0
  69. package/dist/chunks/FloatingTree-kiyzavvaum442o1s.js +115 -0
  70. package/dist/chunks/Form-oz425k7r4abea8o4.js +113 -0
  71. package/dist/chunks/FormContext-jv19engyccpf6xcl.js +18 -0
  72. package/dist/chunks/Input-ozudotydd679ly63.js +20 -0
  73. package/dist/chunks/InputDataAttributes-oy8t6q5y5t8ik02j.js +42 -0
  74. package/dist/chunks/ItemIndicator-cvf8cw5fv5l3cd8j.js +37 -0
  75. package/dist/chunks/LabelableContext-dz4wz3lu3lgqusu7.js +135 -0
  76. package/dist/chunks/ListboxSeparator-skazx18vzzj7i9zp.js +21 -0
  77. package/dist/chunks/MenuClearDataAttributes-fo0pekd36n56mdxu.js +1645 -0
  78. package/dist/chunks/MenuSubmenuTrigger-hm5xbgik6aq95x35.js +1976 -0
  79. package/dist/chunks/MenuSubmenuTriggerDataAttributes-gdfxdjymgmnaxdds.js +372 -0
  80. package/dist/chunks/MenuTrigger-dlfvicsaggss0o9m.js +265 -0
  81. package/dist/chunks/Menubar-ja5int05ihjj0ra4.js +116 -0
  82. package/dist/chunks/MenubarContext-ooz0h08i55c8oip5.js +12 -0
  83. package/dist/chunks/MeterLabel-cykbkvqys5263z05.js +148 -0
  84. package/dist/chunks/NavigationMenuIconDataAttributes-l82pkpm61d0meqxf.js +1654 -0
  85. package/dist/chunks/NullStore-my62xo2vfcfkerri.js +110 -0
  86. package/dist/chunks/NumberFieldScrubAreaCursorDataAttributes-k2lsbk35svshnwf5.js +1493 -0
  87. package/dist/chunks/OTPFieldInputDataAttributes-gvgtu2gg85kgjzwr.js +683 -0
  88. package/dist/chunks/PopoverViewport-peh28i8q4hqfjy97.js +713 -0
  89. package/dist/chunks/PopoverViewportDataAttributes-gplhq9d7ffp9q8u3.js +329 -0
  90. package/dist/chunks/PrehydrationScript-hs2je3mndbxuts7w.js +78 -0
  91. package/dist/chunks/PreviewCardViewportDataAttributes-bgfwmyshey7fx6nr.js +914 -0
  92. package/dist/chunks/ProgressLabelDataAttributes-j8mutcz11ei0ohvj.js +287 -0
  93. package/dist/chunks/RadioGroup-kioqngmmuo7a1lfa.js +163 -0
  94. package/dist/chunks/RadioGroupContext-dr6uihsj7oky0eol.js +10 -0
  95. package/dist/chunks/RadioGroupDataAttributes-dpdr6xe4ve204qwb.js +10 -0
  96. package/dist/chunks/RadioIndicator-bhxqih8wzv7hyrec.js +299 -0
  97. package/dist/chunks/RadioIndicatorDataAttributes-n5yupp5psifu0d4f.js +80 -0
  98. package/dist/chunks/ScrollAreaThumb-hxig41yn4lrurd3o.js +928 -0
  99. package/dist/chunks/ScrollAreaThumbDataAttributes-gup5wfxvqye6jj27.js +137 -0
  100. package/dist/chunks/SelectScrollUpArrowDataAttributes-fce5i1afjkb0necr.js +473 -0
  101. package/dist/chunks/SelectSeparator-nnak70azojox8b2b.js +1632 -0
  102. package/dist/chunks/Separator-fhwve0tfny3tht3a.js +24 -0
  103. package/dist/chunks/SeparatorDataAttributes-ch6e63bas7zflw00.js +11 -0
  104. package/dist/chunks/SliderIndicator-h1o3qbrvr8x0t4t2.js +1171 -0
  105. package/dist/chunks/SliderIndicatorDataAttributes-ff2f1cjealif5nvo.js +240 -0
  106. package/dist/chunks/SwitchRoot-m4t2tq5zn5wibyxk.js +244 -0
  107. package/dist/chunks/SwitchThumbDataAttributes-f95ld864on9y6ptk.js +90 -0
  108. package/dist/chunks/TabsList-n5n93rxr4sy704u8.js +664 -0
  109. package/dist/chunks/TabsListDataAttributes-e03a7kbubuf02z1l.js +183 -0
  110. package/dist/chunks/ToastArrowDataAttributes-jbnvz3kp6a35slgj.js +136 -0
  111. package/dist/chunks/ToggleDataAttributes-jl9ojyvwgrvefke6.js +103 -0
  112. package/dist/chunks/ToggleGroupContext-hg8zbkgqpscqhz83.js +10 -0
  113. package/dist/chunks/ToggleGroupDataAttributes-n1dwona1alvabstl.js +102 -0
  114. package/dist/chunks/ToolbarGroupContext-eawva8xkxb4osbxb.js +10 -0
  115. package/dist/chunks/ToolbarInput-kyxl1be0p3cyuayp.js +174 -0
  116. package/dist/chunks/ToolbarInputDataAttributes-n4a18a4km735du04.js +150 -0
  117. package/dist/chunks/ToolbarRootContext-difqbj720teyt8lu.js +12 -0
  118. package/dist/chunks/TooltipPopup-furysmeyb68uycbz.js +839 -0
  119. package/dist/chunks/TooltipProvider-hyans0ens4axh1y8.js +61 -0
  120. package/dist/chunks/TooltipViewportDataAttributes-gkwbezdq40ssuevg.js +312 -0
  121. package/dist/chunks/adaptiveOriginMiddleware-m9tqzw58wya9sdds.js +51 -0
  122. package/dist/chunks/addEventListener-ku3x23446prmd1kz.js +13 -0
  123. package/dist/chunks/areArraysEqual-nnpg93s9g7aqcaoh.js +15 -0
  124. package/dist/chunks/autocomplete-gdd9aruremdgdvx7.js +152 -0
  125. package/dist/chunks/badge-gca8xfu79ne55d5k.js +165 -0
  126. package/dist/chunks/banner-mo1xl9ww734kgsqh.js +269 -0
  127. package/dist/chunks/bash-jpzh6zbf5237424t.js +3 -0
  128. package/dist/chunks/breadcrumbs-z1jo40oxlw8e4eh4.js +159 -0
  129. package/dist/chunks/button-group-biv43ksvaipc3p5n.js +59 -0
  130. package/dist/chunks/button-hzvowfkbathmx8yg.js +274 -0
  131. package/dist/chunks/chart-dgh98nbzo2sux2bs.js +3985 -0
  132. package/dist/chunks/checkbox-eifiwbw34xwsikvf.js +211 -0
  133. package/dist/chunks/clamp-rcpupxvhqrn8uuyf.js +7 -0
  134. package/dist/chunks/clipboard-text-oukrnke1s3kebk3y.js +209 -0
  135. package/dist/chunks/cloudflare-logo-d8mid9xr190h78cu.js +186 -0
  136. package/dist/chunks/code-nj2nu6qzxhz6qnkk.js +96 -0
  137. package/dist/chunks/collapsible-ic6813hc4yv5s5hv.js +185 -0
  138. package/dist/chunks/combobox-mzvobpvalz2gnpli.js +321 -0
  139. package/dist/chunks/command-palette-d45ueqbuxygu87ir.js +507 -0
  140. package/dist/chunks/composite-c11t1ok72s3cggjc.js +90 -0
  141. package/dist/chunks/constants-l10cgj6pyqg27jod.js +5 -0
  142. package/dist/chunks/core-n0de50o00ej2ecfe.js +7177 -0
  143. package/dist/chunks/createBaseUIEventDetails-nvee6bghv2reeqdb.js +50 -0
  144. package/dist/chunks/createItems-n07tfwx89cdoar18.js +323 -0
  145. package/dist/chunks/createToastManager-cxjmn4jx3ejh85fs.js +1225 -0
  146. package/dist/chunks/css-j501gxq1am2gnikh.js +4 -0
  147. package/dist/chunks/date-picker-ija2bz17ai6ypnao.js +6865 -0
  148. package/dist/chunks/date-range-picker-oivlshld01jbel29.js +336 -0
  149. package/dist/chunks/dialog-g7wavhkdv2gplwq9.js +173 -0
  150. package/dist/chunks/diff-g2re0kj6fh27rgg5.js +4 -0
  151. package/dist/chunks/dropdown-m5a8nwer5hpvnkfk.js +384 -0
  152. package/dist/chunks/empty-e0onzpyokyl6h9bp.js +96 -0
  153. package/dist/chunks/engine-hzmefiqm63hu0c7i.js +10 -0
  154. package/dist/chunks/engine-javascript-e9xj8hhz9xfqhpnu.js +3118 -0
  155. package/dist/chunks/engine-oniguruma-ias56ildu01gf939.js +389 -0
  156. package/dist/chunks/error-lbnic2b20qr3mukp.js +6 -0
  157. package/dist/chunks/field-fowmq5smvp17pnqe.js +75 -0
  158. package/dist/chunks/flow-fak0fyldoaozd32s.js +10290 -0
  159. package/dist/chunks/formatNumber-b4kjdsebslm2b3t0.js +21 -0
  160. package/dist/chunks/getCssDimensions-gckwdrp86f73cv51.js +21 -0
  161. package/dist/chunks/getElementTransform-cz3jyftv0x5io95f.js +38 -0
  162. package/dist/chunks/getFiniteAnimations-jwd833ybtz81j5f0.js +13 -0
  163. package/dist/chunks/getHighlightReason-fhc53kq6qakcct9s.js +15 -0
  164. package/dist/chunks/getPseudoElementBounds-csuw8kwsoeyxd5tv.js +37 -0
  165. package/dist/chunks/github-light-hir7yctc38258pwt.js +5 -0
  166. package/dist/chunks/graphql-n9vlzkvcp2j19p7a.js +16 -0
  167. package/dist/chunks/grid-nwiczrab3r4w0zr2.js +118 -0
  168. package/dist/chunks/hcl-ohpfnrffs96hzyj5.js +4 -0
  169. package/dist/chunks/html-nimj6ljkkifnc9ni.js +12 -0
  170. package/dist/chunks/index.parts-db9pzsm9rrs9tp0t.js +200 -0
  171. package/dist/chunks/index.parts-ggacwr0yakuemead.js +24 -0
  172. package/dist/chunks/index.parts-pcg3pmf3yyro841t.js +13 -0
  173. package/dist/chunks/inertValue-n09gkjvwwa1kddov.js +9 -0
  174. package/dist/chunks/inline-copy-text-izxpvnrtebcqlquf.js +104 -0
  175. package/dist/chunks/input-group-h9fepskc84e1h11n.js +457 -0
  176. package/dist/chunks/input-kfi46426y22ocoo4.js +85 -0
  177. package/dist/chunks/input-m2tfec2viezoz9hh.js +146 -0
  178. package/dist/chunks/isElementDisabled-dyqutxpzdfppbohx.js +7 -0
  179. package/dist/chunks/itemEquality-ki3x4tzdhjlqjey6.js +56 -0
  180. package/dist/chunks/javascript-b6fq9bl50fdj6813.js +4 -0
  181. package/dist/chunks/json-h2g0z143t3cs13d7.js +4 -0
  182. package/dist/chunks/jsonc-jxlzvingck161eej.js +4 -0
  183. package/dist/chunks/jsx-jp7a33937sef92sn.js +4 -0
  184. package/dist/chunks/label-f18fnpbv85jddo4q.js +76 -0
  185. package/dist/chunks/layer-card-lsmeuqic9i1isv2b.js +74 -0
  186. package/dist/chunks/layer-dialog-ejtz9s7bbfhjk1md.js +414 -0
  187. package/dist/chunks/link-h84bkh8eem39p529.js +112 -0
  188. package/dist/chunks/link-provider-kbwllpbo24fvgioj.js +60 -0
  189. package/dist/chunks/loader-kv5nk8j8tsuesxqo.js +87 -0
  190. package/dist/chunks/locale-provider-j4ii538ntyok36r6.js +50 -0
  191. package/dist/chunks/markdown-eybeqjr58vfygtz1.js +4 -0
  192. package/dist/chunks/menubar-gzlyhmmc4i24prn1.js +106 -0
  193. package/dist/chunks/mergeCleanups-nw73c6jfwl5tyhw4.js +15 -0
  194. package/dist/chunks/meter-poh8jpe0qtq6mvee.js +35 -0
  195. package/dist/chunks/pagination-lmogkvvtu19mnr7f.js +296 -0
  196. package/dist/chunks/popover-nqrt3ykqv6sic8pz.js +206 -0
  197. package/dist/chunks/popupHandle-dk3ixgc8flr7v971.js +177 -0
  198. package/dist/chunks/popupStoreUtils-czfnxn051xakask5.js +868 -0
  199. package/dist/chunks/portal-provider-eveknxf26oudn7pp.js +63 -0
  200. package/dist/chunks/python-nrpnmxq4r6yp6fcd.js +4 -0
  201. package/dist/chunks/radio-nf717i5ypsga9zdh.js +204 -0
  202. package/dist/chunks/reason-parts-hssx64rmlxyn6gw5.js +40 -0
  203. package/dist/chunks/resolve-variant-l6x5ksfrjtu4m66l.js +35 -0
  204. package/dist/chunks/resolveAriaLabelledBy-knaucrjrjwnk7tvs.js +10 -0
  205. package/dist/chunks/resolveValueLabel-ntacnb58mhka5gg0.js +70 -0
  206. package/dist/chunks/rolldown-runtime-hi7ti5xiuxsegr96.js +18 -0
  207. package/dist/chunks/safePolygon-ep4133qogeu5vjf3.js +661 -0
  208. package/dist/chunks/safeReact-ek77ilng4ekk7mgz.js +18 -0
  209. package/dist/chunks/scrollable-k784b35i80aolmvg.js +29 -0
  210. package/dist/chunks/select-lnekz415wm4v6d6m.js +279 -0
  211. package/dist/chunks/sensitive-input-dvwlnntm7rdudwp0.js +252 -0
  212. package/dist/chunks/serializeValue-d1otz2i7h5tygrwf.js +13 -0
  213. package/dist/chunks/shellscript-i4m7lo8wi0f5bl8b.js +4 -0
  214. package/dist/chunks/sidebar-mhlgvpawixxoey2k.js +1466 -0
  215. package/dist/chunks/skeleton-line-kmhnp0lx3rxhioxa.js +74 -0
  216. package/dist/chunks/slider-e395gihi5cjd62ss.js +87 -0
  217. package/dist/chunks/sql-hqp2eekl7qhmxe92.js +4 -0
  218. package/dist/chunks/stringifyLocale-gbxouqj7ol627jxh.js +9 -0
  219. package/dist/chunks/styles-eb8bvypmayf578jf.js +35 -0
  220. package/dist/chunks/surface-jr8x5hy0gucjk5ig.js +30 -0
  221. package/dist/chunks/switch-nc8thi7ogd51m3gi.js +202 -0
  222. package/dist/chunks/table-ngl1b5yc8mcur662.js +238 -0
  223. package/dist/chunks/table-of-contents-gkjv9ck8etbz64ej.js +234 -0
  224. package/dist/chunks/tabs-o59bv7348nh2gppm.js +280 -0
  225. package/dist/chunks/tag-input-lbx9yzt33d4wu07o.js +156 -0
  226. package/dist/chunks/text-nqum95flcp07ac9s.js +126 -0
  227. package/dist/chunks/toast-ljpenshot856xqq4.js +341 -0
  228. package/dist/chunks/toml-oyqrgosuct25x413.js +4 -0
  229. package/dist/chunks/toolbar-kh6pc12ii7b6dv1x.js +141 -0
  230. package/dist/chunks/tooltip-bcymn9bfyz29fvji.js +92 -0
  231. package/dist/chunks/tsx-pem8x69upvmibv6l.js +4 -0
  232. package/dist/chunks/typescript-pe5y016phdwbgws7.js +4 -0
  233. package/dist/chunks/unwrap-lazy-element-hzbdkmujhd7iksau.js +45 -0
  234. package/dist/chunks/use-copy-feedback-gl55ghst0csvpv4j.js +55 -0
  235. package/dist/chunks/useAnchoredPopupScrollLock-msm8tzkewysnunut.js +31 -0
  236. package/dist/chunks/useAnimationFrame-k9lqdj9quln3sd85.js +87 -0
  237. package/dist/chunks/useAriaLabelledBy-j3j9jqlr9ukyk08s.js +36 -0
  238. package/dist/chunks/useBaseUiId-nk4k7nj9h1cy76ny.js +13 -0
  239. package/dist/chunks/useButton-lklvdzuhvj22bx07.js +186 -0
  240. package/dist/chunks/useClick-pcbkcc7r620v1smu.js +87 -0
  241. package/dist/chunks/useCollapsiblePanel-lrfsgx21ds36cwlp.js +415 -0
  242. package/dist/chunks/useCompositeItem-2juex3zh9gyrs8e9.js +31 -0
  243. package/dist/chunks/useCompositeListItem-ekwo2j2rjkggg7xj.js +54 -0
  244. package/dist/chunks/useControlled-i3srnkxy598s0au9.js +52 -0
  245. package/dist/chunks/useFieldValidation-oe16jiigp971yrzr.js +224 -0
  246. package/dist/chunks/useFloatingRootContext-k676b6m7f80bdapd.js +51 -0
  247. package/dist/chunks/useFocus-mn7a9t9v6fnlb4mf.js +124 -0
  248. package/dist/chunks/useId-82z8yqlmc1hy1c5t.js +50 -0
  249. package/dist/chunks/useInitialLiveRegionTextMutation-nl2hus7zx1h7ggno.js +86 -0
  250. package/dist/chunks/useLabel-me6zzfvkypo458pi.js +58 -0
  251. package/dist/chunks/useLabelableId-bjeh6q3pgrqjb7er.js +56 -0
  252. package/dist/chunks/useListNavigation-hpddbd0cc9pvt461.js +441 -0
  253. package/dist/chunks/useOnMount-gxggz1m0n869s6r0.js +12 -0
  254. package/dist/chunks/useOpenChangeComplete-edtabjwqmechsyv6.js +129 -0
  255. package/dist/chunks/usePopupHandleStore-gawjmfjf1xdgiph3.js +27 -0
  256. package/dist/chunks/usePopupViewport-l6w01iohvzloghy8.js +367 -0
  257. package/dist/chunks/usePositioner-mzvgnazldqvy44z2.js +580 -0
  258. package/dist/chunks/usePressAndHold-k9ynk78pgf677kpx.js +179 -0
  259. package/dist/chunks/usePreviousValue-o6swt5tb7xhpdu4e.js +21 -0
  260. package/dist/chunks/useRegisterFieldControl-m1stc9l9y4cndf0k.js +40 -0
  261. package/dist/chunks/useRegisteredLabelId-b7u9ygya03448zzn.js +16 -0
  262. package/dist/chunks/useRender-h9ktka9xt4obdv6y.js +13 -0
  263. package/dist/chunks/useRenderDialogRoot-bsqrqpc1ddau7xg4.js +312 -0
  264. package/dist/chunks/useRenderElement-nkklxbq1rp7h2kw0.js +436 -0
  265. package/dist/chunks/useScrollLock-le7ajwlt7oh6fzxi.js +877 -0
  266. package/dist/chunks/useSetFieldFocused-fbvj7gcv67dqfkp0.js +35 -0
  267. package/dist/chunks/useStableCallback-le5qgj6p9l04729n.js +38 -0
  268. package/dist/chunks/useSwipeDismiss-e8tfxzlp05p86mgb.js +697 -0
  269. package/dist/chunks/useTimeout-f0ayn2l2l9aop4l8.js +43 -0
  270. package/dist/chunks/useTransitionStatus-disysoblzgk34w14.js +74 -0
  271. package/dist/chunks/useTriggerFocusGuards-dyd3hb1m8en8ct50.js +40 -0
  272. package/dist/chunks/useTriggerSwitchTransition-hk5j36hd5dq2ok6w.js +62 -0
  273. package/dist/chunks/useTypeahead-kfdsw1ksl5bgvvzl.js +111 -0
  274. package/dist/chunks/useValueAsRef-dv0tmfr1xlpzdlru.js +27 -0
  275. package/dist/chunks/useValueChanged-fjssa2v6d4w8y332.js +15 -0
  276. package/dist/chunks/utils-o44zfmzz9z7uyj1v.js +18 -0
  277. package/dist/chunks/valueToPercent-djk2mqnihth2uvf6.js +7 -0
  278. package/dist/chunks/vendor-floating-ui-fqblx3wa0r71mjoo.js +1458 -0
  279. package/dist/chunks/vendor-styling-gs32v7xt5znc8kg0.js +1167 -0
  280. package/dist/chunks/vendor-utils-io8z5lsfxq8m2dcc.js +660 -0
  281. package/dist/chunks/vesper-g839e590k3dxnwh3.js +5 -0
  282. package/dist/chunks/visuallyHidden-kzzs9hbe93is3rci.js +25 -0
  283. package/dist/chunks/wasm-cpasy0o9lsjrm39j.js +8 -0
  284. package/dist/chunks/yaml-kzk5ddyekbyha04v.js +4 -0
  285. package/dist/code/server.d.ts +96 -0
  286. package/dist/code/server.js +151 -0
  287. package/dist/code.d.ts +82 -0
  288. package/dist/code.js +373 -0
  289. package/dist/command-line/cli.js +1705 -0
  290. package/dist/command-line/commands/add.js +282 -0
  291. package/dist/command-line/commands/ai.js +22 -0
  292. package/dist/command-line/commands/blocks.js +61 -0
  293. package/dist/command-line/commands/doc.js +167 -0
  294. package/dist/command-line/commands/init.js +95 -0
  295. package/dist/command-line/commands/ls.js +53 -0
  296. package/dist/command-line/commands/theme.js +850 -0
  297. package/dist/components/autocomplete.d.ts +2 -0
  298. package/dist/components/autocomplete.js +3 -0
  299. package/dist/components/badge.d.ts +2 -0
  300. package/dist/components/badge.js +3 -0
  301. package/dist/components/banner.d.ts +2 -0
  302. package/dist/components/banner.js +3 -0
  303. package/dist/components/breadcrumbs.d.ts +2 -0
  304. package/dist/components/breadcrumbs.js +3 -0
  305. package/dist/components/button-group.d.ts +2 -0
  306. package/dist/components/button-group.js +3 -0
  307. package/dist/components/button.d.ts +3 -0
  308. package/dist/components/button.js +3 -0
  309. package/dist/components/chart.d.ts +2 -0
  310. package/dist/components/chart.js +3 -0
  311. package/dist/components/checkbox.d.ts +2 -0
  312. package/dist/components/checkbox.js +3 -0
  313. package/dist/components/clipboard-text.d.ts +2 -0
  314. package/dist/components/clipboard-text.js +3 -0
  315. package/dist/components/cloudflare-logo.d.ts +2 -0
  316. package/dist/components/cloudflare-logo.js +3 -0
  317. package/dist/components/code.d.ts +2 -0
  318. package/dist/components/code.js +3 -0
  319. package/dist/components/collapsible.d.ts +2 -0
  320. package/dist/components/collapsible.js +3 -0
  321. package/dist/components/combobox.d.ts +2 -0
  322. package/dist/components/combobox.js +3 -0
  323. package/dist/components/command-palette.d.ts +2 -0
  324. package/dist/components/command-palette.js +3 -0
  325. package/dist/components/date-picker.d.ts +2 -0
  326. package/dist/components/date-picker.js +3 -0
  327. package/dist/components/date-range-picker.d.ts +2 -0
  328. package/dist/components/date-range-picker.js +3 -0
  329. package/dist/components/dialog.d.ts +2 -0
  330. package/dist/components/dialog.js +3 -0
  331. package/dist/components/dropdown.d.ts +2 -0
  332. package/dist/components/dropdown.js +3 -0
  333. package/dist/components/empty.d.ts +2 -0
  334. package/dist/components/empty.js +3 -0
  335. package/dist/components/field.d.ts +2 -0
  336. package/dist/components/field.js +3 -0
  337. package/dist/components/flow.d.ts +2 -0
  338. package/dist/components/flow.js +3 -0
  339. package/dist/components/grid.d.ts +2 -0
  340. package/dist/components/grid.js +3 -0
  341. package/dist/components/inline-copy-text.d.ts +2 -0
  342. package/dist/components/inline-copy-text.js +3 -0
  343. package/dist/components/input-group.d.ts +2 -0
  344. package/dist/components/input-group.js +3 -0
  345. package/dist/components/input.d.ts +4 -0
  346. package/dist/components/input.js +5 -0
  347. package/dist/components/label.d.ts +2 -0
  348. package/dist/components/label.js +3 -0
  349. package/dist/components/layer-card.d.ts +2 -0
  350. package/dist/components/layer-card.js +3 -0
  351. package/dist/components/layer-dialog.d.ts +2 -0
  352. package/dist/components/layer-dialog.js +3 -0
  353. package/dist/components/link.d.ts +67 -0
  354. package/dist/components/link.js +3 -0
  355. package/dist/components/loader.d.ts +2 -0
  356. package/dist/components/loader.js +4 -0
  357. package/dist/components/menubar.d.ts +2 -0
  358. package/dist/components/menubar.js +3 -0
  359. package/dist/components/meter.d.ts +2 -0
  360. package/dist/components/meter.js +3 -0
  361. package/dist/components/pagination.d.ts +2 -0
  362. package/dist/components/pagination.js +3 -0
  363. package/dist/components/popover.d.ts +2 -0
  364. package/dist/components/popover.js +3 -0
  365. package/dist/components/radio.d.ts +2 -0
  366. package/dist/components/radio.js +3 -0
  367. package/dist/components/select.d.ts +2 -0
  368. package/dist/components/select.js +3 -0
  369. package/dist/components/sensitive-input.d.ts +2 -0
  370. package/dist/components/sensitive-input.js +3 -0
  371. package/dist/components/sidebar.d.ts +2 -0
  372. package/dist/components/sidebar.js +3 -0
  373. package/dist/components/slider.d.ts +2 -0
  374. package/dist/components/slider.js +3 -0
  375. package/dist/components/surface.d.ts +2 -0
  376. package/dist/components/surface.js +3 -0
  377. package/dist/components/switch.d.ts +2 -0
  378. package/dist/components/switch.js +3 -0
  379. package/dist/components/table-of-contents.d.ts +2 -0
  380. package/dist/components/table-of-contents.js +3 -0
  381. package/dist/components/table.d.ts +2 -0
  382. package/dist/components/table.js +3 -0
  383. package/dist/components/tabs.d.ts +2 -0
  384. package/dist/components/tabs.js +3 -0
  385. package/dist/components/tag-input.d.ts +2 -0
  386. package/dist/components/tag-input.js +3 -0
  387. package/dist/components/text.d.ts +2 -0
  388. package/dist/components/text.js +3 -0
  389. package/dist/components/toast.d.ts +2 -0
  390. package/dist/components/toast.js +4 -0
  391. package/dist/components/toolbar.d.ts +2 -0
  392. package/dist/components/toolbar.js +3 -0
  393. package/dist/components/tooltip.d.ts +2 -0
  394. package/dist/components/tooltip.js +3 -0
  395. package/dist/config-BKj6nyHa.d.ts +620 -0
  396. package/dist/field-DIjlHM8W.d.ts +91 -0
  397. package/dist/index-2jvVmJ8P.d.ts +46 -0
  398. package/dist/index-5PpauI_2.d.ts +85 -0
  399. package/dist/index-AMEc1MEg.d.ts +180 -0
  400. package/dist/index-AUC5xRcO.d.ts +236 -0
  401. package/dist/index-B7epkoHc.d.ts +72 -0
  402. package/dist/index-B9-RdY6D.d.ts +75 -0
  403. package/dist/index-B9niVl3r.d.ts +140 -0
  404. package/dist/index-BD-gTiEv.d.ts +71 -0
  405. package/dist/index-BK1tZgmP.d.ts +426 -0
  406. package/dist/index-BVgXnR1V.d.ts +137 -0
  407. package/dist/index-BW1HVU7T.d.ts +119 -0
  408. package/dist/index-BWe6haHU.d.ts +64 -0
  409. package/dist/index-BkTAB4wj.d.ts +673 -0
  410. package/dist/index-Bwhwpw_j.d.ts +189 -0
  411. package/dist/index-BzE0aNpx.d.ts +143 -0
  412. package/dist/index-C7RoG_CH.d.ts +57 -0
  413. package/dist/index-CE09bLNb.d.ts +72 -0
  414. package/dist/index-CJRe-8P-.d.ts +174 -0
  415. package/dist/index-CReGk3Dc.d.ts +91 -0
  416. package/dist/index-CU_lnxg7.d.ts +287 -0
  417. package/dist/index-CYoiniZ4.d.ts +135 -0
  418. package/dist/index-ClS-eFxE.d.ts +104 -0
  419. package/dist/index-CzIWigmH.d.ts +62 -0
  420. package/dist/index-CzTgKPh-.d.ts +105 -0
  421. package/dist/index-D2Gvly0i.d.ts +96 -0
  422. package/dist/index-DIV3riUd.d.ts +148 -0
  423. package/dist/index-DL1-uSuH.d.ts +1 -0
  424. package/dist/index-DYYiDxZs.d.ts +243 -0
  425. package/dist/index-DjSGDESy.d.ts +222 -0
  426. package/dist/index-Dmbgjww7.d.ts +157 -0
  427. package/dist/index-DwNMa4LN.d.ts +166 -0
  428. package/dist/index-Dx7hOWUc.d.ts +93 -0
  429. package/dist/index-DxOyYZaJ.d.ts +251 -0
  430. package/dist/index-NnHba-T1.d.ts +136 -0
  431. package/dist/index-RP_rt8vB.d.ts +140 -0
  432. package/dist/index-T1sSoiWG.d.ts +184 -0
  433. package/dist/index-aahL-0Zw.d.ts +60 -0
  434. package/dist/index-bBPKMepR.d.ts +73 -0
  435. package/dist/index-g-eFm1Bq.d.ts +877 -0
  436. package/dist/index-gYC6cQVO.d.ts +105 -0
  437. package/dist/index-lOWfpkxK.d.ts +118 -0
  438. package/dist/index-pjdgauIH.d.ts +170 -0
  439. package/dist/index-yK3Hayg_.d.ts +40 -0
  440. package/dist/index.d.ts +108 -0
  441. package/dist/index.js +207 -0
  442. package/dist/input-BeWEb-jD.d.ts +122 -0
  443. package/dist/input-group-8gEtPiKw.d.ts +100 -0
  444. package/dist/layer-card-BNIn9pqy.d.ts +56 -0
  445. package/dist/link-provider-tz-NJp9x.d.ts +67 -0
  446. package/dist/locale-provider-CHMCQ0-J.d.ts +40 -0
  447. package/dist/panda.d.ts +25 -0
  448. package/dist/panda.js +32 -0
  449. package/dist/portal-provider-BAqPpq_a.d.ts +55 -0
  450. package/dist/primitives/accordion.d.ts +1 -0
  451. package/dist/primitives/accordion.js +3 -0
  452. package/dist/primitives/alert-dialog.d.ts +1 -0
  453. package/dist/primitives/alert-dialog.js +8 -0
  454. package/dist/primitives/autocomplete.d.ts +1 -0
  455. package/dist/primitives/autocomplete.js +6 -0
  456. package/dist/primitives/avatar.d.ts +1 -0
  457. package/dist/primitives/avatar.js +3 -0
  458. package/dist/primitives/button.d.ts +1 -0
  459. package/dist/primitives/button.js +3 -0
  460. package/dist/primitives/checkbox-group.d.ts +1 -0
  461. package/dist/primitives/checkbox-group.js +4 -0
  462. package/dist/primitives/checkbox.d.ts +1 -0
  463. package/dist/primitives/checkbox.js +4 -0
  464. package/dist/primitives/collapsible.d.ts +1 -0
  465. package/dist/primitives/collapsible.js +5 -0
  466. package/dist/primitives/combobox.d.ts +1 -0
  467. package/dist/primitives/combobox.js +6 -0
  468. package/dist/primitives/context-menu.d.ts +1 -0
  469. package/dist/primitives/context-menu.js +6 -0
  470. package/dist/primitives/csp-provider.d.ts +1 -0
  471. package/dist/primitives/csp-provider.js +3 -0
  472. package/dist/primitives/dialog.d.ts +1 -0
  473. package/dist/primitives/dialog.js +9 -0
  474. package/dist/primitives/direction-provider.d.ts +1 -0
  475. package/dist/primitives/direction-provider.js +4 -0
  476. package/dist/primitives/drawer.d.ts +1 -0
  477. package/dist/primitives/drawer.js +6 -0
  478. package/dist/primitives/field.d.ts +1 -0
  479. package/dist/primitives/field.js +4 -0
  480. package/dist/primitives/fieldset.d.ts +1 -0
  481. package/dist/primitives/fieldset.js +3 -0
  482. package/dist/primitives/form.d.ts +1 -0
  483. package/dist/primitives/form.js +3 -0
  484. package/dist/primitives/input.d.ts +1 -0
  485. package/dist/primitives/input.js +4 -0
  486. package/dist/primitives/menu.d.ts +1 -0
  487. package/dist/primitives/menu.js +6 -0
  488. package/dist/primitives/menubar.d.ts +1 -0
  489. package/dist/primitives/menubar.js +3 -0
  490. package/dist/primitives/meter.d.ts +1 -0
  491. package/dist/primitives/meter.js +3 -0
  492. package/dist/primitives/navigation-menu.d.ts +1 -0
  493. package/dist/primitives/navigation-menu.js +3 -0
  494. package/dist/primitives/number-field.d.ts +1 -0
  495. package/dist/primitives/number-field.js +3 -0
  496. package/dist/primitives/otp-field.d.ts +3 -0
  497. package/dist/primitives/otp-field.js +4 -0
  498. package/dist/primitives/popover.d.ts +1 -0
  499. package/dist/primitives/popover.js +3 -0
  500. package/dist/primitives/preview-card.d.ts +1 -0
  501. package/dist/primitives/preview-card.js +3 -0
  502. package/dist/primitives/progress.d.ts +1 -0
  503. package/dist/primitives/progress.js +3 -0
  504. package/dist/primitives/radio-group.d.ts +1 -0
  505. package/dist/primitives/radio-group.js +4 -0
  506. package/dist/primitives/radio.d.ts +1 -0
  507. package/dist/primitives/radio.js +4 -0
  508. package/dist/primitives/scroll-area.d.ts +1 -0
  509. package/dist/primitives/scroll-area.js +4 -0
  510. package/dist/primitives/select.d.ts +1 -0
  511. package/dist/primitives/select.js +5 -0
  512. package/dist/primitives/separator.d.ts +1 -0
  513. package/dist/primitives/separator.js +4 -0
  514. package/dist/primitives/slider.d.ts +1 -0
  515. package/dist/primitives/slider.js +4 -0
  516. package/dist/primitives/switch.d.ts +1 -0
  517. package/dist/primitives/switch.js +4 -0
  518. package/dist/primitives/tabs.d.ts +1 -0
  519. package/dist/primitives/tabs.js +4 -0
  520. package/dist/primitives/toast.d.ts +1 -0
  521. package/dist/primitives/toast.js +5 -0
  522. package/dist/primitives/toggle-group.d.ts +1 -0
  523. package/dist/primitives/toggle-group.js +3 -0
  524. package/dist/primitives/toggle.d.ts +1 -0
  525. package/dist/primitives/toggle.js +3 -0
  526. package/dist/primitives/toolbar.d.ts +1 -0
  527. package/dist/primitives/toolbar.js +3 -0
  528. package/dist/primitives/tooltip.d.ts +1 -0
  529. package/dist/primitives/tooltip.js +4 -0
  530. package/dist/primitives.d.ts +42 -0
  531. package/dist/primitives.js +71 -0
  532. package/dist/registry.d.ts +2 -0
  533. package/dist/registry.js +1 -0
  534. package/dist/scripts/theme-generator/config.d.ts +2 -0
  535. package/dist/scripts/theme-generator/config.js +487 -0
  536. package/dist/scripts/theme-generator/types.d.ts +2 -0
  537. package/dist/scripts/theme-generator/types.js +1 -0
  538. package/dist/styles/kumo-binding.css +490 -0
  539. package/dist/styles/kumo-standalone.css +2 -0
  540. package/dist/styles/kumo.css +153 -0
  541. package/dist/styles/theme-fedramp.css +31 -0
  542. package/dist/styles/theme-fldr.css +67 -0
  543. package/dist/styles/theme-kumo.css +464 -0
  544. package/dist/text-CRRU2g-u.d.ts +183 -0
  545. package/dist/theming.d.ts +185 -0
  546. package/dist/theming.js +241 -0
  547. package/dist/tooltip-D_vhi1PN.d.ts +105 -0
  548. package/dist/types-C6in2C8V.d.ts +135 -0
  549. package/dist/types-CdzJnnIl.d.ts +193 -0
  550. package/dist/types-Cl4HuOrB.d.ts +84 -0
  551. package/dist/utils.d.ts +4 -0
  552. package/dist/utils.js +7 -0
  553. package/package.json +483 -3
  554. package/scripts/component-registry/cache.ts +123 -0
  555. package/scripts/component-registry/discovery.ts +560 -0
  556. package/scripts/component-registry/example-cleanup.ts +168 -0
  557. package/scripts/component-registry/index.test.ts +1075 -0
  558. package/scripts/component-registry/index.ts +1065 -0
  559. package/scripts/component-registry/markdown-generator.ts +222 -0
  560. package/scripts/component-registry/metadata.ts +1030 -0
  561. package/scripts/component-registry/props-filter.ts +312 -0
  562. package/scripts/component-registry/schema-generator.ts +333 -0
  563. package/scripts/component-registry/sub-components.ts +393 -0
  564. package/scripts/component-registry/types.ts +158 -0
  565. package/scripts/component-registry/utils.ts +280 -0
  566. package/scripts/component-registry/variant-parser.ts +262 -0
  567. package/scripts/css-build.ts +106 -0
  568. package/scripts/format-generated.ts +12 -0
  569. package/scripts/generate-globe-land-mask.mjs +80 -0
  570. package/scripts/generate-primitives.ts +196 -0
  571. package/scripts/publish-fldr.ts +78 -0
  572. package/scripts/theme-generator/config.ts +666 -0
  573. package/scripts/theme-generator/generate-css.test.ts +30 -0
  574. package/scripts/theme-generator/generate-css.ts +352 -0
  575. package/scripts/theme-generator/index.ts +165 -0
  576. package/scripts/theme-generator/migrate.ts +560 -0
  577. package/scripts/theme-generator/types.ts +92 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,2366 @@
1
+ # @fldr/ui
2
+
3
+ ## 2.19.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b8b2f8d: Add a `breadcrumbs` section to `KumoLocaleProvider` (`label`, `copy`, `copyTooltip`) and an `aria-label` prop to `Breadcrumbs`, so its built-in labels can be translated. In right-to-left layouts the separator now flips and the end margin moves to the left, so use `me-0` instead of `mr-0` to remove it.
8
+
9
+ ### Patch Changes
10
+
11
+ - eaa9e17: fix(flow): disable panning, drag cursors, and text-selection blocking when `canvas={false}`
12
+
13
+ ## 2.18.1
14
+
15
+ ### Patch Changes
16
+
17
+ - 8729c71: fix(dialog): let flex column dialogs shrink a scrollable body again
18
+
19
+ 2.18.0 added `*:shrink-0` to every `Dialog`, which stopped dialogs built as `flex flex-col max-h-[…] overflow-hidden` with a `flex-1 min-h-0 overflow-y-auto` body from scrolling: the body kept its full height and the footer was clipped out of reach. `Dialog` no longer sets `flex-shrink` on its children. `LayerCard.Primary` and `LayerCard.Secondary` now carry `shrink-0` themselves, so layered dialogs still keep their sections from being squashed, and a section can opt back into shrinking with `className="min-h-0 flex-1"`.
20
+
21
+ If you added `*:shrink` to a `Dialog` to work around 2.18.0, it is no longer needed and can be removed.
22
+
23
+ - 63d0398: Fix `kumo migrate` so that stdout stays valid JSON when no token migrations are pending. The "No pending token migrations." text now goes to stderr, and stdout is a JSON object with an empty `classes` map. `--classes` output is unchanged.
24
+ - aede2c3: Remove the inherited resting background from ghost buttons so translucent parent surfaces do not appear darker beneath them.
25
+ - 68ead88: Name `Radio.Group`'s radiogroup with its legend.
26
+
27
+ `Radio.Group` rendered an unnamed `role="radiogroup"` element around a `<fieldset>` that the legend named, so assistive technology announced a radiogroup with no name. The radiogroup now renders as the fieldset itself, so there is one element, `<fieldset role="radiogroup">`, named by its `legend` or `Radio.Legend`. Queries like `getByRole("group", { name })` for a radio group's legend become `getByRole("radiogroup", { name })`.
28
+
29
+ - 27f8615: Select: a visible `label` now names the trigger whatever its type. A ReactNode label, such as a translated `<Trans>` element, used to leave the trigger unnamed or named by its placeholder. The trigger now points `aria-labelledby` at the rendered label, which also keeps the name when `render` sets the trigger's `id`. A consumer `aria-labelledby` next to a visible label is now honored.
30
+ - ac1cbbf: Fix `SensitiveInput` not forwarding `required` to the native input. The prop only decorated the label, so an empty required field did not block form submission.
31
+ - 8c058ff: Fix Badge height inconsistencies by setting an explicit line-height instead of relying on the parent or consumer typography theme.
32
+
33
+ ## 2.18.0
34
+
35
+ ### Minor Changes
36
+
37
+ - 9d8b6e5: Add a `variant="sketch"` option to `SkeletonLine`: a wireframe-style placeholder with a rounded fill and sliding shimmer, a 1px outline, and construction strokes that overshoot each corner by 4px.
38
+ - 085332b: Add `href` to `Banner.Action` so actions can render as links. Link actions use `LinkButton`, so they respect `LinkProvider` and support `external`.
39
+
40
+ ### Patch Changes
41
+
42
+ - 39d33de: Keep keyboard focus visible in forced-colors mode when browsers suppress box-shadow rings. Controls retain a system-color outline, including the shared focus containers used by InputGroup, TagInput, and Slider. Keep tab outlines inside the scrolling tab list so all four edges remain visible.
43
+ - 99e73d6: `Button` and `LinkButton` labels are now vertically centered regardless of where the button sits on the page. The bottom-padding text lift is removed, and `base` and `lg` buttons use a 20px line height (`leading-5`) so the gap between the label and the button edge is a whole pixel. With the old 21px line height that gap was 7.5px, and browsers rounded the text up or down depending on the button's position, so labels could render 1px high. `Select` triggers use the same size classes and get the same fix. The reduced leading padding for icon + text buttons is unchanged.
44
+ - 12cd0fa: Fix several catalog runtime bugs:
45
+
46
+ - `setByPath` replaces `null` intermediate values instead of throwing, and ignores `__proto__`/`constructor`/`prototype` segments
47
+ - `getByPath` and `setByPath` decode JSON Pointer escapes (`~1` → `/`, `~0` → `~`)
48
+ - `{ auth }` conditions now work inside `and`/`or`/`not` visibility expressions (evaluator, `LogicExpression` type, and Zod schema). Unrecognised `auth` values now hide the element instead of showing it
49
+ - `resolveProps` resolves `{ path }` references inside arrays
50
+ - `hasAction` no longer reports `Object.prototype` names such as `toString` as registered actions
51
+
52
+ - d8a668e: Loosen and balance choice descriptions: `Radio.Item` and `Checkbox.Item` card descriptions, and the `Radio.Group`, `Checkbox.Group`, and `Switch.Group` descriptions, now use `leading-snug` (matching `Field` and `Select` descriptions) and `text-pretty`, so multi-line descriptions are easier to read and don't end on a single orphaned word.
53
+ - a813d01: Forward trigger props (`aria-label`, `aria-labelledby`, `aria-describedby`, `id`, handlers, etc.) from `Combobox.TriggerValue` to its trigger button instead of dropping them on `Value`, so comboboxes without a visible `label` can have an accessible name. `Combobox.TriggerMultipleWithInput` now accepts `aria-label`, `aria-labelledby` and `aria-describedby` for its input.
54
+ - 3450917: Guard `Combobox.TriggerValue`'s `placeholder` prop type so it stays `ReactNode` and can't be narrowed to `string` by the forwarded trigger (button) props.
55
+ - 1c85bb3: fix(date-picker): reset day button background, border, padding and margin, and the weekday header background, so host app button and table styles don't leak into the calendar
56
+ - cbb7fe8: `Button`, `LinkButton`, `Badge`, `DropdownMenu` items, `Sidebar.MenuButton` and `InputGroup.Button` no longer crash with React error #306 when `icon` is an element passed from a React Server Component. React can deliver such an element as a lazy reference, which Kumo now unwraps before deciding whether to render `icon` as an element or a component (#891).
57
+ - 33bdabd: Keep Dialog and alertdialog content within the dynamic viewport and allow tall content to scroll. Preserve the natural height of LayerCard sections so long forms and their final actions remain reachable on small screens.
58
+
59
+ ## 2.17.0
60
+
61
+ ### Minor Changes
62
+
63
+ - c2b2fc4: Add a `masked` option to `ClipboardText` for sensitive values that should be hidden initially and revealed on demand.
64
+ - 7d1c776: Refresh DatePicker's styling. Days are 32px squares in 36px columns with 8px between weeks and 14px text, and the previous and next buttons are borderless squares that match the days. Two-month views sit side by side, range bands are rounded at their ends and where weeks wrap, and month and year dropdowns (`captionLayout="dropdown"`) are styled.
65
+
66
+ DatePicker now uses Kumo tokens instead of hard-coded colors, so it follows the active theme, and `@fldr/ui/styles/standalone` now styles it too. Month-change animations respect `prefers-reduced-motion`.
67
+
68
+ The `.rdp-*` rules and `--rdp-*` variables in `kumo.css` are gone, apart from the month-change animations. If you customized DatePicker through them, use the `classNames` prop instead.
69
+
70
+ - 40eaa25: Fix the toast bump animation cutting off a toast's slide-in when the same `id` is added again while the toast is still entering. Duplicate adds through `createKumoToastManager()` now bump too, and toast motion respects `prefers-reduced-motion`. Toast surface styles now live on an inner `[data-kumo-part="surface"]` element instead of the `role="dialog"` root.
71
+
72
+ ### Patch Changes
73
+
74
+ - 06726b0: `Field` no longer renders a `<label>` when it would be empty: when `label` and `labelTooltip` are each `undefined`, `null`, a boolean or `""`, and there is no "(optional)" indicator. This fixes `Input`, `InputArea` and `TagInput` without a `label` but with a description or error: they no longer show an empty row above the control, and their `aria-label` is no longer replaced by an empty accessible name.
75
+ - 595463b: Format generated primitive and theme files with Oxfmt so codegen does not create formatting-only changes.
76
+ - 3aa0d59: Hide the native scrollbars of the LayerDialog body and Sidebar content with Kumo's own CSS. Base UI only hides them with a style element it injects into the document head, so client routers that swap the head (such as Astro's ClientRouter) or a Content Security Policy that blocks inline styles could leave empty scrollbar tracks along the dialog body.
77
+ - 890a6ab: Add a full-width `LayerDialog.Separator` for dividing sections of dialog body content.
78
+ - 4185bb1: `Tooltip` now keeps its own trigger out of the tab order while the tooltip is `disabled`. This applies only when Kumo renders the trigger (no `render` or `asChild`), for example around truncated `Text` that needs a tooltip only when it overflows. A disabled tooltip there has nothing to reveal, so keyboard users no longer stop on it. Custom triggers passed through `render` keep their own focus behavior.
79
+
80
+ ## 2.16.0
81
+
82
+ ### Minor Changes
83
+
84
+ - 810d820: Add the `xAxisHideLabelOverlap` prop to `TimeseriesChart`, defaulting to `true`.
85
+
86
+ ### Patch Changes
87
+
88
+ - 99b17fb: Match CodeHighlighted loading and error fallback styling to highlighted code. Reset host app backgrounds, borders, and pre border radii to keep the frame and spacing consistent while syntax colors load.
89
+ - 6a093a5: Fix disabled `Input` text color. It used an undefined `text-kumo-disabled` token, so disabled inputs looked the same as enabled ones. It now uses `text-kumo-inactive`.
90
+ - e16f41f: Fix `Pagination` page validation. The page input only accepts whole numbers written as digits, so it no longer calls `setPage` with `NaN`, fractions, or values like `0x10` and `1e1`. Invalid input now restores the current page. With `totalCount={0}`, or when `page` is past the last page, Next and Last are disabled and nothing requests page 0.
91
+ - fedc8a7: Fix three `TagInput` bugs:
92
+
93
+ - `readOnly` now prevents all value changes. Tags can no longer be removed with their remove buttons or Backspace, and new tags can't be added by typing, pasting, or blurring.
94
+ - Pasting comma- or newline-separated text now merges it with the draft text and replaces the current selection before splitting it into tags. Previously, text you were already typing was lost.
95
+ - Native forms now submit the accepted tags. With `name`, each tag is submitted as its own form value, so the empty draft is no longer sent. With `required`, validation passes as soon as there is at least one tag.
96
+
97
+ - 947065a: Fix `TimeseriesChart` crashing with `RangeError: Maximum call stack size exceeded` on large datasets. Marker clustering no longer spreads every timestamp into `Math.max`/`Math.min`, and is skipped entirely when the chart has no markers.
98
+
99
+ ## 2.15.0
100
+
101
+ ### Minor Changes
102
+
103
+ - 88850d5: Add `tooltipTimestampFormat` to TimeseriesChart for formatting standard and marker tooltip timestamps in a consumer-selected time zone.
104
+ - 5282710: Add a segmented appearance to Radio groups for compact, mutually exclusive choices.
105
+ - 3d93312: Add `appearance="card"` and `orientation` to `Checkbox.Group`, plus `appearance` and `description` to `Checkbox.Item`. Card groups render as one card with dividers (rows when vertical, a two-column grid when horizontal), matching `Radio.Group`'s card appearance.
106
+ - 1846759: DropdownMenu submenu and row improvements:
107
+
108
+ - An open submenu's trigger stays highlighted (`data-popup-open`).
109
+ - Every menu row (Item, LinkItem, SubTrigger, CheckboxItem, RadioItem) uses the same `bg-kumo-tint` highlight and `rounded-md` radius.
110
+ - Submenus line up with their trigger by default. `SubContent`'s default `sideOffset` and `alignOffset` depend on the resolved side, so they stay correct if the submenu has to move above or below the trigger.
111
+ - The menu popup now animates with Base UI's `data-starting-style` / `data-ending-style` (the old `data-[state=*]` classes never matched).
112
+ - New `DropdownMenu.Positioner` and `DropdownMenu.Popup` parts. `Content` and `SubContent` are built from them, and you can compose them yourself. `DropdownMenu.Portal` now respects `KumoPortalProvider`.
113
+ - `SubTrigger`'s `icon` prop accepts `Icon | ReactNode`.
114
+ - Icons are spaced by the row's `gap-2`, so element and component icons line up identically.
115
+ - Rows without an icon (including labels) are inset automatically when another row in the same menu has an icon, so their text lines up. `inset` still forces it.
116
+
117
+ - 81b0ef4: Add Base UI-style composable Popover parts while preserving the legacy `Popover.Content` API.
118
+ - 49317c6: Render `Radio.Group` cards as one card with dividers (rows when vertical, a two-column grid when horizontal), give card radio controls a 1px ring, and tighten card groups' legend and description gaps to match `Field`.
119
+ - 1cb4773: Allow translating optional markers and label tooltip accessible names with KumoLocaleProvider, with Label-level overrides for custom content.
120
+ - 85afbd0: Add `Slider` component for picking a number, or a range between two numbers, by dragging a thumb along a track. Built on Base UI's Slider: pass an array to `value` or `defaultValue` for a range. Shows each thumb's value in a badge below the track and the minimum and maximum at either end, formats them with `format`, and supports `sm` and `base` sizes.
121
+ - 2f9b17f: Allow LayerDialog actions to use a ButtonGroup split button for related alternate submit outcomes.
122
+
123
+ ### Patch Changes
124
+
125
+ - 2c53422: Fix Autocomplete highlighted item background to use `bg-kumo-tint`, matching Combobox and Select.
126
+ - 09a9dae: Apply dropdown icon spacing and sizing to element icons while preserving their custom classes.
127
+ - df14b5d: Bump `@base-ui/react` to 1.9.0. Brings Base UI bug fixes across Menu, Popover, Select, Combobox, Drawer, Dialog, and more, plus the preview menu filtering primitives (`Menu.FilterProvider`, `Menu.Input`) via `@fldr/ui/primitives/menu`.
128
+ - cdb7e0f: Button and LinkButton: optically center text by lifting it slightly, and trim the leading padding when an icon precedes text so the icon side matches the trailing padding.
129
+ - dc7c513: Stop throwing on malformed URL hashes while syncing table-of-contents sections. Hashes that can't be percent-decoded are matched as-is, so ids containing a literal `%` still deep-link.
130
+ - f7d6829: Keep Popover arrows visible when content clips or scrolls by using a compatibility-safe opacity transition.
131
+ - 03aa5ae: Remove unused Tabs indicator entrance animation styles.
132
+ - dae9cdd: Keep transient copy feedback visible until the final repeated copy click settles across Kumo copy controls.
133
+ - 7e0ff40: Fix `Flow` connectors bending when nodes have a top margin by aligning connector offsets with their anchors.
134
+ - a8c946a: Match a linkable Badge's focus outline to its pill shape.
135
+ - c3b0294: Replace the internal class merging dependency with `cn`.
136
+ - 86af1a1: Stop `LayerDialog.Body` from clipping the top of its first child. The body now has a little top padding so a leading input's border and focus ring stay visible, and the top scroll fade no longer masks content in Safari before the scroll area is measured.
137
+ - d97d751: Restore `LayerDialog.Actions.Primary` and `LayerDialogPrimaryProps` as deprecated aliases of `LayerDialog.Action` and `LayerDialogActionProps`, so dialogs written against 2.14 keep working.
138
+ - bfb4140: Fix `Loader` crashing with `can't access property "height"` in browsers with SVG disabled (e.g. Tor Browser at the "Safest" security level). The spinner is now sized via `width`/`height` SVG attributes instead of an inline `style`. Note that sizing classes passed via `className` (e.g. `size-4`) now take precedence over the `size` prop.
139
+ - aef723c: Hide outside-month dates by default in multi-month DatePicker views so dates and range highlights are not duplicated between panels. Preserve single-month behavior and explicit showOutsideDays overrides.
140
+ - 6701f40: Fire `Sidebar.Collapsible` `onOpenChangeComplete` when the sidebar or mobile drawer shows or hides an open section. Before, the callback fired only when the section itself toggled.
141
+ - 462516f: Stop logging runtime warnings for deprecated Text heading variants. The variants remain marked as deprecated in the TypeScript API.
142
+ - 17d094e: Render the `Sidebar.MenuSub` guide line as an `aria-hidden` list item so the sub-menu list only contains `<li>` children.
143
+ - 543dc8a: Slider: render the current value badge in the high-contrast (black) color instead of the brand blue, with a subtle grey fill when disabled. The filled track is now lighter in dark mode so it stands out from the background.
144
+ - 72b3346: Fix `Flow` nodes with a custom `render` element briefly laying out at the wrong position on mount. Unpositioned nodes are now measured as absolutely positioned elements, so their first reported width matches their final width.
145
+ - 5ee4a03: TagInput: ignore Enter, comma and Tab while an IME composition is active, so confirming a Japanese/Chinese/Korean conversion no longer creates a tag early.
146
+ - 7d91721: Preserve ButtonGroup's outer corners while an overlay control is open.
147
+ - 828866a: Prevent Select separators from causing a horizontal scrollbar.
148
+ - f46e8bc: Update the Cloudflare logo cloud colors to match the current brand asset.
149
+
150
+ ## 2.14.0
151
+
152
+ ### Minor Changes
153
+
154
+ - da41be5: Update the bundled Base UI dependency to version 1.8.0 and expose its Combobox item collection and functional Toast update APIs.
155
+ - 9ad4c57: Add `ButtonGroup` component for joining a small set of tightly-coupled buttons into a single control — most commonly a split button (a primary action next to a dropdown trigger). Handles layout only: children keep their own variant, size, and shape while the group flattens inner corners and overlaps borders so the buttons share one seam. Renders `role="group"`. For grouping multiple independent buttons or inputs, use `Toolbar` instead.
156
+ - d0b18d6: Add sidebar open-change completion callbacks.
157
+ - cd119ab: Add the TagInput component for creating and removing free-form values.
158
+ - 5d19dee: Add `InlineCopyText`, a compact borderless copy control for short values in dense interfaces and table cells. It accepts string or rich children, Text typography props excluding heading variants, an explicit copied value for rich content, localized accessible labels, inline success feedback, and hover or focus icon reveal.
159
+ - 77489b5: Add an optional `yAxisMinInterval` prop to `TimeseriesChart` for discrete data.
160
+ - 6989681: Add support for footer text below `TimeseriesChart` tooltip values.
161
+ - 06321ce: Add a strict responsive LayerDialog component with automatic dismissal composition, alert-dialog semantics, mobile drawer behavior, and application-wide defaults for its built-in close and cancel copy through `KumoLocaleProvider`.
162
+ - d4a3e71: Add `GlobeMap`, an SVG orthographic globe with boundary-free hatched land, horizon-faded geographic markers, optional geographic guides, pointer and keyboard rotation, automatic rotation, Kumo-themed tooltips, and no WebGL or ECharts requirement.
163
+
164
+ ### Patch Changes
165
+
166
+ - de80043: Reset the native fieldset padding in radio and checkbox groups.
167
+ - 1175556: Refine Empty state typography and balance description text when it wraps.
168
+ - 5b1e222: Support nested LayerDialog drawers with independently layered backdrops and responsive mobile actions.
169
+ - 9c970e3: Add a plain CodeHighlighted variant for frameless, padding-free code blocks with a correctly positioned copy button.
170
+ - cfffa4e: Document app-root CSS isolation for reliable stacking of portaled components.
171
+ - 6e7bd82: Update formatting for Vite+ 0.3.1.
172
+ - 78d05b6: Use the up/down double chevron in Combobox value and input triggers to match Select.
173
+ - 86029e4: Add a visual regression contract for truncating text in default Tooltip triggers.
174
+
175
+ ## 2.13.2
176
+
177
+ ### Patch Changes
178
+
179
+ - 36fc155: Add `scrollItemIntoView()` to preserve the position of visible sidebar items while honoring alignment for offscreen items.
180
+
181
+ ## 2.13.1
182
+
183
+ ### Patch Changes
184
+
185
+ - 7d5241d: Allow default Tooltip trigger children to control their line height, preventing inherited text from being clipped.
186
+
187
+ ## 2.13.0
188
+
189
+ ### Minor Changes
190
+
191
+ - 4066307: Add unknown-total pagination support through `hasNextPage`.
192
+ - f74936f: Add `Toolbar.Link`, which renders a `LinkButton` with toolbar sizing, styling, and keyboard navigation.
193
+
194
+ ### Patch Changes
195
+
196
+ - d004940: Position dialogs near the top of the viewport instead of vertically centering them.
197
+ - 8f0a1f0: Use the elevated surface color for even rows in the default Table variant.
198
+ - 1ede8bf: fix(select): align the trigger surface with form controls
199
+
200
+ Select triggers now use `bg-kumo-control`, including their open and disabled
201
+ states, so they match Input, Combobox, and the rest of the form-control family.
202
+ Consumer background classes can still override the default without using
203
+ `!important`. The popup remains on the floating `bg-kumo-base` surface.
204
+
205
+ - 8482c50: fix(select): anchor the popup below the trigger and expose placement props
206
+
207
+ `Select.Positioner` relied on Base UI's `alignItemWithTrigger` default (`true`),
208
+ which overlays the popup on the trigger so the selected option's text lands on
209
+ the trigger's value text, emulating a native `<select>`. Options always render at
210
+ `text-base`, so on `xs`/`sm` triggers the popup was much taller than its anchor,
211
+ and Base UI's compensating shift detached it from the trigger — on `xs` it
212
+ overhung by 12.5px above and 45.5px below and sat 8px to the left, covering
213
+ adjacent content.
214
+
215
+ The popup now prefers `bottom` placement and is offset from the trigger, with
216
+ Base UI's collision avoidance still flipping it automatically when the preferred
217
+ side lacks space. Placement is configurable:
218
+
219
+ | prop | default | notes |
220
+ | ---------------------- | ---------- | ------------------------------------------------------------- |
221
+ | `side` | `"bottom"` | preferred side; still flips automatically on collision |
222
+ | `sideOffset` | `4` | gap between trigger and popup, matching Combobox/Autocomplete |
223
+ | `align` | `"start"` | alignment along the trigger edge |
224
+ | `alignOffset` | — | additional offset along the alignment axis |
225
+ | `alignItemWithTrigger` | `false` | opt back in to the native `<select>` overlay |
226
+
227
+ The remaining Base UI Positioner controls are also forwarded unchanged:
228
+ `anchor`, `arrowPadding`, `positionMethod`, `collisionAvoidance`,
229
+ `collisionBoundary`, `collisionPadding`, `sticky`, and
230
+ `disableAnchorTracking`.
231
+
232
+ The popup also now tracks the trigger width via `min-w-(--anchor-width)` instead
233
+ of `min-w-[calc(var(--anchor-width)+3px)]`, which existed to visually offset the
234
+ old item-alignment shift.
235
+
236
+ - 7526a6a: Allow non-heading Text variants to inherit line height from their surrounding context.
237
+ - b094a5a: Make `Combobox.Input` sit flush with the top and sides of `Combobox.Content` and remove its bottom corner rounding.
238
+ - 20b7880: Reduce the trailing inset for buttons inside large InputGroup addons.
239
+
240
+ ## 2.12.0
241
+
242
+ ### Minor Changes
243
+
244
+ - 716e5b8: Add the `Text` `heading` variant with a 16px semibold default and a 20px
245
+ `size="lg"` option. The variant defaults to a `span`, so callers choose heading
246
+ semantics explicitly with `as`. Deprecate the numbered `heading1`, `heading2`,
247
+ and `heading3` variants.
248
+
249
+ ### Patch Changes
250
+
251
+ - d7a7a35: `Collapsible.DefaultTrigger` now uses `text-kumo-default` (neutral) with `font-medium` instead of the blue `text-kumo-link` color.
252
+ - 0db4f66: deprecate `MenuBar` in favor of segmented `Tabs`
253
+
254
+ - mark the `MenuBar` component (and its exports) as `@deprecated`; it will be removed in a future release
255
+ - new usage should prefer `Tabs` with `variant="segmented"` (the default `Tabs` variant)
256
+ - the runtime behaviour of `MenuBar` is unchanged for existing consumers
257
+ - remove the `MenuBar` documentation page and demos from the docs site
258
+
259
+ - c64183b: Fix Toast background clipping the ring outline at the corners — the inner background layer's radius (11px) was smaller than the root's `rounded-xl` (12px), painting over the ring at the corners. Matched them up.
260
+ - ef13cb4: Restore disabled and loading state handling for `Toolbar.Button` so disabled
261
+ controls expose the correct semantics and cannot be activated.
262
+ - 51d0f03: Normalize shadows and outlines on tip-style overlays (Popover, Tooltip, ClipboardText, Chart tooltip).
263
+
264
+ - Drop the `shadow-kumo-tip-shadow` color override so shadows use Tailwind's default translucent black instead of an opaque light-gray in light mode.
265
+ - Tune shadow sizes: Popover, Tooltip, ClipboardText tooltip, and Chart tooltip use `shadow-md`; ClipboardText's "Copied" toast keeps `shadow-lg` to match the Toast component.
266
+ - Switch these overlays from `outline-kumo-fill` to `outline-kumo-line`, matching every other floating surface (Dropdown, Select, Combobox, Dialog, etc.).
267
+ - Rename `kumo-tip-shadow` → `kumo-arrow-edge` and `kumo-tip-stroke` → `kumo-arrow-stroke`. The tokens draw the border on Popover/Tooltip arrow SVGs, not a box shadow. Both now resolve to `kumo-line`, so the arrow border aligns with the popup outline in both modes.
268
+
269
+ - d586bf3: Add `scrollToItem(id, options?)` to `useSidebar()` for imperatively scrolling
270
+ a nav item into the sidebar viewport. Tag items with the new `itemId` prop on
271
+ `Sidebar.MenuButton` or `Sidebar.MenuItem`.
272
+
273
+ Options:
274
+
275
+ - `align`: `"start" | "center" | "end" | "auto"` (default `"auto"` — no-op if
276
+ the item is already visible; otherwise scroll the minimum distance).
277
+ - `behavior`: `"auto" | "smooth"` (default `"auto"` — instant, best for
278
+ cross-app landings so users don't watch the sidebar animate on entry).
279
+ `prefers-reduced-motion` forces `"auto"`.
280
+
281
+ Scrolls only the sidebar viewport (never the document) and works with
282
+ `Sidebar.SlidingViews`: items register with the provider via an internal
283
+ map, so `scrollToItem` walks up from the target to find its owning viewport
284
+ rather than querying the DOM.
285
+
286
+ ## 2.11.0
287
+
288
+ ### Minor Changes
289
+
290
+ - aa6edff: Add icon support to filled Badge variants through the `icon` prop, add linked-badge hover styles, and use the base surface background for outline badges.
291
+
292
+ ### Patch Changes
293
+
294
+ - bba0f5e: Allow users to select and copy LinkButton text while preserving Button text selection behavior.
295
+ - c2c8d42: Update Table rows to use borderless, alternating background styling.
296
+ - 0ad1926: Fix hydration mismatch in the Sidebar's `useIsMobile` hook on SSR frameworks like Next.js. The hook now uses `useSyncExternalStore` with a desktop `getServerSnapshot`, so the server-rendered HTML (desktop `<aside>`) hydrates cleanly on mobile viewports before switching to the mobile overlay.
297
+
298
+ ## 2.10.0
299
+
300
+ ### Minor Changes
301
+
302
+ - 4b9a4dc: Allow Select and Combobox triggers to compose directly with `Toolbar.Button` and `Toolbar.Input` through their `render` props, adding grouped styling and arrow-key focus management while preserving regular `Select.*` and `Combobox.*` APIs.
303
+
304
+ Deprecate Toolbar's configurable `size` prop and size metadata exports. They remain functional for compatibility; omitting `size` continues to use the base size.
305
+
306
+ ### Patch Changes
307
+
308
+ - 65db2e6: Forward link-specific props in Tabs and Sidebar so link-rendered tabs can opt out of native button semantics, and Sidebar link buttons preserve attributes like `aria-current`.
309
+ - 0c58325: Expose all positioner props on Combobox.Content (`anchor`, `positionMethod`, `collisionAvoidance`, `collisionBoundary`, `collisionPadding`, `sticky`, `disableAnchorTracking`).
310
+ - 528d5ff: Populate InputArea props in component registry so the docs API reference table renders correctly
311
+ - 75c3b14: Fix Sidebar peeking state during SlidingViews transitions.
312
+ - 1d9b588: Fix Tabs overflow controls when tabs are removed and the remaining tabs fit.
313
+
314
+ ## 2.9.2
315
+
316
+ ### Patch Changes
317
+
318
+ - 188a82c: Remove the elevated chip styling from Tabs overflow scroll controls.
319
+ - c5ad709: Constrain Tabs overflow controls to segmented tabs and focus the caret target.
320
+
321
+ ## 2.9.1
322
+
323
+ ### Patch Changes
324
+
325
+ - ff76f30: Update the default collapsible trigger and panel styling.
326
+
327
+ `Collapsible.DefaultPanel` now uses an inner content wrapper so the outer panel can animate height smoothly while clipping overflow during the transition. Consumers applying custom layout or spacing classes directly to `DefaultPanel` may need to move those styles to their content, or use `Collapsible.Panel` for a fully custom layout.
328
+
329
+ - 7468623: Fix `initCatalog` so it actually loads the validation schemas.
330
+
331
+ Previously it triggered a synchronous validation whose "schemas not loaded" error was swallowed, so `await initCatalog(catalog)` could resolve while `hasComponent`, `componentNames`, and the other synchronous catalog APIs still reported no components. It now awaits `loadSchemas()` directly.
332
+
333
+ A failed schema load is also no longer cached: retrying `initCatalog` (or `loadSchemas`) after a transient failure now re-attempts the import instead of returning the stale rejection.
334
+
335
+ - d7639f2: Fix Shiki highlighter lifecycle in `ShikiProvider` and `CodeHighlighted`.
336
+
337
+ `ShikiProvider` no longer re-creates the highlighter when a parent rerender passes an equivalent inline `languages` array — initialization is keyed on the normalized language set. Highlighters are now disposed on unmount and when the engine or language set changes, instead of leaking. `CodeHighlighted` memoizes the highlighted HTML so unrelated rerenders (such as copy-button state changes) no longer re-highlight unchanged code, and initialization errors are logged once instead of on every render. Reinitializing after a failed initialization now clears the stale error state instead of showing it during the retry.
338
+
339
+ - c599590: Reset the Tabs overflow control background so host button styles do not show through the scrim gradient.
340
+
341
+ ## 2.9.0
342
+
343
+ ### Minor Changes
344
+
345
+ - ff8ad54: Improves Banner contrast and CTA colors, adds compact sizing, and keeps components that consume the updated status tokens visually balanced.
346
+
347
+ - Updated status tokens to improve contrast between Banner backgrounds, text, and CTAs.
348
+ - Rebalanced Badge status tints, Toast backgrounds, and Command Palette search highlights to correspond with the updated tokens.
349
+ - Added a new `Banner.Action` CTA compound that builds on `Button` with banner-specific accent styling. It supports `primary` (filled), `secondary` (accent-hued outline on a transparent background), and `ghost` variants.
350
+ - Added a `size` prop to `Banner` (`"base"` | `"sm"`); the compact `"sm"` size suits dialogs and other tight spaces and sets its `Banner.Action` children to the `xs` size.
351
+
352
+ - f919182: Improve chart loading states with a static, reduced-motion-aware `TimeseriesChart` skeleton (line and bar variants matching `type`) and a new `loading` prop for `ChartLegend.SmallItem` and `ChartLegend.LargeItem`.
353
+ - 535d579: Add a `disabled` prop to `LinkButton`. When disabled, it renders a real disabled `<button>` (dropping anchor-only attributes and event handlers) and supports `title` tooltips explaining why the action is unavailable.
354
+
355
+ Also removes stale Storybook references from the README and drops `.stories.tsx` generation from the component scaffolder, since Storybook is no longer set up in this repo.
356
+
357
+ - aae94f1: `LinkButton` now wraps in a Kumo `Tooltip` when a `title` is provided, matching `Button`'s behavior. Previously an enabled `LinkButton` only set a native `title` attribute; it now surfaces the same styled tooltip on hover and focus.
358
+ - 9e083d2: Add `fullScreenOnMobile` prop to `Sidebar`. When set, the mobile navigation
359
+ sheet expands to the full viewport instead of leaving a sliver of the page
360
+ visible, giving nav items comfortable touch targets. The backdrop is suppressed
361
+ and the divider border dropped, since neither has anything to separate. Defaults
362
+ to `false`.
363
+
364
+ Also adds `Sidebar.Close`, a ghost button that dismisses the mobile sheet. It is
365
+ intended for `Sidebar.Header` in full-screen mobile layouts where the backdrop is
366
+ hidden and there is no adjacent page content to tap.
367
+
368
+ Also fixes `Breadcrumbs.Link` shrinking alongside the current crumb. Flexbox
369
+ distributed truncation across every crumb, turning the trail into unreadable
370
+ stubs; ancestors now hold their width so only the current page truncates.
371
+
372
+ - 51aa44c: Add `Sidebar.Loading`, a nav loading skeleton so apps stop hand-rolling their own. It renders nav-item-shaped placeholder rows (icon + label) grouped like the real nav, composed from `SkeletonLine` and matching the `Sidebar.MenuButton` box model so there's no layout shift when the real nav swaps in. Collapse-aware (icon squares only when collapsed) and exposes `role="status"` with a configurable `label`.
373
+ - 86ee08c: Add `useTableOfContentsActiveId` hook for `TableOfContents` scroll tracking.
374
+
375
+ The `TableOfContents` component is presentational, so consumers had to wire up their own scroll-position tracking. This adds a shared hook: pass the section ids (in document order) and it returns the active section id plus a `selectSection` action for click handling.
376
+
377
+ ```tsx
378
+ const { activeId, selectSection } = useTableOfContentsActiveId({
379
+ ids: headings.map((h) => h.slug),
380
+ offset: HEADER_HEIGHT,
381
+ });
382
+ ```
383
+
384
+ - Highlights the topmost section actually in view (via `IntersectionObserver`), offset by an optional fixed-header `offset`; supports custom scroll containers via `root`.
385
+ - Handles `location.hash` deep links on load and `hashchange` automatically (opt out with `trackHash: false`).
386
+ - `selectSection` pins a clicked section until scrolling settles, so short sections stay highlighted after a jump. Works on browsers without `scrollend` support.
387
+ - SSR-safe: all DOM access happens in effects, so it renders under Astro/Next SSR (`activeId` is `null` on the server).
388
+
389
+ The docs site "On this page" table of contents now consumes this hook instead of its own bespoke observer.
390
+
391
+ - 87d1ebc: Ship unminified `dist` output without sourcemaps or declaration maps
392
+
393
+ Consumers' bundlers minify (and tree-shake) the library code anyway, so
394
+ pre-minifying only obscured the shipped modules, and the declaration maps
395
+ pointed at source files that aren't published. The package shrinks from
396
+ ~13.9 MB to ~6.5 MB unpacked, and the code in `node_modules` is now
397
+ readable. No API or behavior changes; final application bundle sizes are
398
+ effectively unchanged.
399
+
400
+ ### Patch Changes
401
+
402
+ - fc5e222: Use a string or numeric Button title as the fallback accessible label when the button has no text children.
403
+ - 8e71b38: Bump Prettier 3.6.2 → 3.9.5 and reformat (Prettier changed e.g. interface heritage-clause wrapping). No functional changes.
404
+ - 2a463f7: Prevent TimeseriesChart tooltips from following the cursor outside the chart after a browser context menu interaction.
405
+ - 0f0c44d: ClipboardText: keep the check icon until the last copy click settles, and bump the anchored "Copied" toast (without stacking) when the button is pressed again while it's open.
406
+ - b171c71: Render Kumo Link actions inline in compact Banners while keeping CTA actions trailing.
407
+ - 4f0ed75: Fix purple badge token fallback colors to use purple OKLCH values.
408
+ - 5efe6dd: Add a lint rule that verifies custom components used with `Flow.Node`'s `render` prop forward refs and spread received props.
409
+ - 32b2168: Keep TimeseriesChart brush-to-zoom active after replacing ECharts options.
410
+ - b0870e1: Remove the subtle `shadow-xs` drop shadow from `InputGroup` `Root` and from nested `InputGroup.Button`, so the component matches the flat appearance of the standalone `Input` and other form controls (previously non-ghost button variants still had the base Button's `shadow-xs`).
411
+ - 34e1672: Bundle the library with vp pack (tsdown) instead of Vite lib mode; declarations are now bundled per entry and export types paths follow the import paths
412
+ - 2575f9c: Use muted chart colors for timeseries axes and horizontal gridlines.
413
+ - 7c33107: One-time repo-wide format with the repo's own Prettier 3.6.2 (formatting was never enforced; drift accumulated). No functional changes.
414
+ - ee6e569: Set default `text-base` and `text-lg` line heights to 1.5.
415
+ - 927d19f: Remove inert Tailwind classes surfaced by class sorting: `ring` alongside `ring-2` (overridden — later stylesheet rule wins) and bare `outline` in three places (no such utility in Tailwind v4; `outline-1` already applies the default solid style). No visual changes.
416
+ - 924f07a: Split Base UI across fine-grained chunks instead of one `vendor-base-ui` chunk
417
+
418
+ Components now pull in only the Base UI modules they actually use, improving
419
+ consumer tree-shaking: a single-Button app bundle drops from ~173 KB to
420
+ ~129 KB minified (~57 KB to ~44 KB gzipped) compared to 2.8.0.
421
+
422
+ - 7ef8c46: Add clearer edge affordances when Tabs overflow horizontally.
423
+ - 86afc2b: Show Button title tooltips when the button is disabled or loading.
424
+ - 5516c22: Fix command palette match highlight contrast in dark mode.
425
+ - 24149b9: Normalize Tailwind class strings via Oxfmt class sorting (`sortTailwindcss`, canonical Tailwind order, duplicates removed). No functional changes.
426
+ - 8de0551: Migrate the toolchain to Vite+ (`vp`): the library now builds with Vite 8 on Rolldown, tests run through `vp test` (Vitest), and linting/formatting run through `vp lint` (Oxlint) / `vp fmt` (Oxfmt, replacing Prettier). No API changes; published output is functionally identical, though entry files are now re-export facades whose source maps live in the shared chunks, and `use-sync-external-store` is now an explicit dependency instead of being bundled (bundling it left CJS `require("react")` calls that broke importing the package directly in Node).
427
+ - 60f5bfa: Enable full type-checking in `vp check` / `vp lint` (typeAware + typeCheck) and fix the type issues it surfaced in files `tsc --noEmit` never covered. Only runtime-visible change: the CLI entrypoint explicitly voids its `main()` promise.
428
+
429
+ ## 2.8.0
430
+
431
+ ### Minor Changes
432
+
433
+ - 8f2c40b: Rewrite `Flow` to use computed layout over relying on DOM layout.
434
+
435
+ `Flow` now measures node sizes, reconstructs the flow tree, and computes node positions and connector paths from that derived state instead of chaining DOM rect reads. This keeps connectors aligned through resize and scroll changes, supports nested flow structures more predictably, and makes anchor-based connector placement follow the anchor midpoint.
436
+
437
+ - fdeeb74: Add `target` prop to `Sidebar.MenuSubButton` for parity with `Sidebar.MenuButton` — forwarded to the link when `href` is set, so link sub-items can control where they open (e.g. same-tab cross-origin navigation).
438
+ - b05ea3f: Add auto-resize support to InputArea and Textarea.
439
+ - 33cb988: Add vertical reference markers to TimeseriesChart.
440
+ - 0562dd1: Add horizontal threshold lines to TimeseriesChart.
441
+
442
+ ### Patch Changes
443
+
444
+ - a90dc83: Include chart components exported from multi-component barrel directories in the generated component registry, with complete props metadata for generic interfaces.
445
+ - 0e440d4: Keep the mobile Sidebar open when focus moves to portaled interactive content.
446
+ - 67061e1: Disable Sidebar.MenuButton tooltips while the sidebar is expanded or peeking.
447
+
448
+ ## 2.7.0
449
+
450
+ ### Minor Changes
451
+
452
+ - 8f8f898: Add `ChoroplethMap`, a GeoJSON region choropleth chart component that joins data rows to features by `name`/`nameProperty` and shades regions with a continuous `visualMap` scale. Includes Kumo light/dark map colours, tooltip formatting, optional legend, hover/click callbacks, roam controls, docs, and demos.
453
+
454
+ Both `BubbleMap` and `ChoroplethMap` now apply a d3-geo `projection` (latitude-clamped Mercator by default; pass another d3-geo projection or `null` for raw plotting) and size by `aspectRatio` so the map fills its container without letterboxing. The container height now derives from the projected window's aspect ratio by default; pass an explicit `height` to opt back into a fixed pixel height.
455
+
456
+ Update `BubbleMap` viewport behavior to avoid resetting user pan and zoom while refreshing bubble data.
457
+
458
+ `BubbleMap` now defaults `roam` to `false` to avoid accidental pan and zoom interactions. Consumers that want drag-to-pan or scroll-to-zoom can pass `roam={true}`.
459
+
460
+ - 6d366d9: Add `orientation="vertical"` support to `Flow` for laying out nodes top-to-bottom. The `align` prop now controls cross-axis alignment in both orientations.
461
+ - ebc5cf8: feat(chart): add `BubbleMap` chart component
462
+
463
+ New `BubbleMap` component renders proportional bubbles over a registered
464
+ geographic map using ECharts' scatter series. Includes value-based radius
465
+ scaling, a `mapColors` palette addition to `ChartPalette`, and supporting
466
+ types. Also extracts `escapeHtml` / `defaultValueFormat` tooltip helpers into a
467
+ shared `tooltip-utils` module reused by `SankeyChart`.
468
+
469
+ ### Patch Changes
470
+
471
+ - dd1a0b5: Keep primary and destructive button active/focus rings matched to their variant color.
472
+ - 8463c38: Use the Button component for Toast close controls and match the hover tint to the toast variant.
473
+ - 3aa0d9a: Limit Dropdown content height to available viewport space to prevent overflow.
474
+ - 25b2ab1: Replace the internal class merging implementation with cnfast.
475
+ - 6232d34: fix(button): resolve Firefox rendering artifact when Turnstile is present
476
+
477
+ Replace `translate-y-px` with `box-shadow: inset 0 1px 0 0 var(--kumo-button-emphasis-bg)` on the primary/destructive button emphasis overlay span. The transform triggered a rendering bug in Firefox on pages with Turnstile's `contain: strict` CSS. The box-shadow achieves the same visual depth effect without the rendering issue.
478
+
479
+ - a74bd9c: Fix Dialog `size` prop to set a fixed width instead of only a minimum width. Previously, dialog content could stretch the dialog beyond its intended size.
480
+ - 4dd1398: Update Base UI to 1.6.0.
481
+
482
+ ## 2.6.0
483
+
484
+ ### Minor Changes
485
+
486
+ - 1b04ee9: Add Toolbar for composing explicit toolbar controls into a shared grouped card.
487
+ - 116e0de: feat(chart): add `enableLegendSelection` prop to `TimeseriesChart`
488
+
489
+ Opt-in (default `false`) hidden ECharts legend that lets consumers drive series
490
+ visibility imperatively via the `legendSelect` / `legendUnSelect` /
491
+ `legendToggleSelect` actions — useful for building a custom interactive legend
492
+ with `ChartLegend`. Series toggled off via the legend are also excluded from the
493
+ tooltip. Requires registering ECharts' `LegendComponent`
494
+ (`echarts.use([LegendComponent])`). When disabled, behaviour is unchanged.
495
+
496
+ - 815628f: Extend LegendItems to take pointer events & timeseries merges forwardref to support those events
497
+
498
+ ### Patch Changes
499
+
500
+ - 430689b: Update the Button primary and destructive variants with token-derived gradient treatments.
501
+ - 539e5bf: Fix horizontal scroll in `Sidebar.Content`: always apply `overflow-x: hidden` on the scroll viewport, not just when collapsed. Base UI's `ScrollArea.Viewport` sets `overflow: scroll` as an inline style, which allowed ~14px of horizontal overflow when consumer content (e.g. search buttons with keyboard shortcuts) exceeded the sidebar width.
502
+ - 4378067: feat(radio): add generic value type support to Radio.Group and Radio.Item
503
+ - fb5fed1: Fix the green Badge variant missing its background color token.
504
+ - bdd890c: Keep generated component registry descriptions to JSDoc summaries before markdown sections or code examples.
505
+
506
+ ## 2.5.2
507
+
508
+ ### Patch Changes
509
+
510
+ - 9a13576: fix(button): use ring-kumo-line for default secondary button ring
511
+ - b18837c: Refine outline and secondary destructive button hover states.
512
+ - 595d10e: fix(sidebar): correct GroupLabel top margin from mt-6 to mt-4
513
+
514
+ ## 2.5.1
515
+
516
+ ### Patch Changes
517
+
518
+ - b06e35b: Allow unprefixed Dialog max-width classes to override the default viewport cap at desktop breakpoints.
519
+
520
+ ## 2.5.0
521
+
522
+ ### Minor Changes
523
+
524
+ - 7401701: Sidebar: mobile rewrite, smooth collapse transitions, and new props
525
+
526
+ **New features:**
527
+ - `mobileBreakpoint` prop on Provider — configurable viewport width for mobile detection
528
+ - `contentClassName` prop on Sidebar root — pass-through class for the inner content container
529
+ - Controlled mobile state — `open` prop now controls the mobile sidebar too, not just desktop
530
+
531
+ **Fixes:**
532
+ - Replaced Base UI Dialog mobile sidebar with a plain `<nav>` + backdrop for simpler, more predictable transitions
533
+ - Collapsible sections now animate closed smoothly when the sidebar collapses instead of snapping shut
534
+ - Removed `hidden` class from `Sidebar.MenuSub` so sub-menus participate in collapse animations
535
+ - Removed `inertValue` React-version helper — `SidebarSlidingView` now sets `inert` imperatively for React 18 compatibility
536
+ - Restored `inert` on closed `SidebarCollapsibleContent` while removing its `data-open` attribute
537
+
538
+ **Styling:**
539
+ - `bg-kumo-tint` → `bg-(--sidebar-active-bg)` CSS variable for active/hover/focus backgrounds
540
+ - Icon opacity `0.5` → `0.4`; chevron gains hover opacity transition
541
+ - Header gains `shrink-0` and animated padding on collapse
542
+ - Content scroll area gains animated `gap` transition and `tabIndex={-1}` on viewport
543
+ - Sliding views container gains `max-w-(--sidebar-width)` to prevent overflow
544
+ - Mobile sidebar uses `--sidebar-animation-duration` CSS variable for slide transition
545
+
546
+ ### Patch Changes
547
+
548
+ - f957dbc: Add React 18 and React 19 compatibility checks for Kumo tests.
549
+ - ac46184: Fix `Chart` (and `SankeyChart`) rendering in dark mode. The chart canvas
550
+ now stays transparent so the surrounding `bg-kumo-*` surface shows through
551
+ symmetrically in both modes, and ECharts' built-in `"dark"` theme is
552
+ applied when `isDarkMode` is true so the tooltip card, axes, splitLines,
553
+ and legend text are themed correctly.
554
+ - e25a3d6: fix(sidebar): add text truncation with ellipsis to Sidebar.MenuButton content
555
+
556
+ Previously, `Sidebar.MenuButton` used `overflow-hidden` which clipped long text without showing an ellipsis. Now uses `truncate` to match `Sidebar.MenuSubButton`'s behavior.
557
+
558
+ - d3feec0: Fix segmented `Tabs` scroll fade, scroll-into-view, and ring styling:
559
+ - Rewrite CSS scroll-fade masking to use `@property`-animated custom properties, fixing proportional fade rendering across browsers.
560
+ - Scroll the selected tab into view on click so it stays visible in overflowing tab lists.
561
+ - Move `ring ring-kumo-hairline/70` from the inner list to the root container so the segmented variant ring wraps the entire component correctly.
562
+
563
+ - f831482: Fix Flow connector rendering in Firefox by emitting valid SVG path data without array commas and setting visible overflow on the SVG element attribute.
564
+ - 4a8b992: Restore React 18-compatible Sidebar inert attribute handling while keeping the full React compatibility CI suite.
565
+
566
+ ## 2.4.1
567
+
568
+ ### Patch Changes
569
+
570
+ - 2daa237: Fix Combobox and Autocomplete rendering in React 18 by using the explicit context provider API.
571
+
572
+ ## 2.4.0
573
+
574
+ ### Minor Changes
575
+
576
+ - b93d881: Update Banner to use borderless tinted styling by default and add a secondary variant.
577
+ - a9a1526: Re-export `useFilter` from `Combobox` and `Autocomplete` namespaces. Use it to write custom `filter` props that preserve Base UI's default case- and accent-insensitive matching via `Intl.Collator`.
578
+ - 3db8294: Sidebar: comprehensive modernization
579
+
580
+ **Breaking changes:**
581
+ - Removed `Sidebar.Input` — build custom search triggers inline
582
+ - Removed `Sidebar.MenuAction` — unused in practice
583
+ - Removed `Sidebar.GroupContent` and group-level collapsible props (`collapsible`, `defaultOpen`, `open`, `onOpenChange`) from `Sidebar.Group` — use `Sidebar.Collapsible` at the item level instead
584
+ - Replaced Base UI Collapsible dependency with custom CSS grid-rows implementation
585
+ - `SidebarState` type is now `"expanded" | "collapsed" | "peeking"` (was `"expanded" | "collapsed"`)
586
+
587
+ **New features:**
588
+ - `contained` prop on Provider — absolute positioning for embedded/demo sidebars
589
+ - `peekable` prop on Provider — hover/focus collapsed sidebar to temporarily expand
590
+ - `animationDuration` prop on Provider — configurable animation timing
591
+ - `Sidebar.SlidingViews` + `Sidebar.SlidingView` — animated horizontal transitions between navigation surfaces
592
+ - Animated `SidebarPanelIcon` replacing Phosphor `SidebarSimpleIcon`
593
+ - Enhanced `Sidebar.Trigger` with `aria-expanded` and dynamic `aria-label`
594
+ - Keyboard-accessible resize handle (arrow keys, Home, End)
595
+ - Custom `Sidebar.Collapsible` with keyboard auto-expand on focus
596
+
597
+ **Token/styling fixes:**
598
+ - `border-kumo-hairline` → `border-kumo-line` throughout
599
+ - Hardcoded `duration-250` → `--sidebar-animation-duration` CSS custom property
600
+ - `bg-kumo-base` → `bg-(--sidebar-bg)` for theme overridability
601
+ - Focus styles: `ring-2/ring-kumo-brand` → `outline-none/text-kumo-strong/bg-kumo-tint`
602
+ - Icon opacity-50, updated spacing (header h-58px, footer h-12, menu gap-y-px)
603
+ - `isolate` on sidebar root with low z-index (z-1, z-2) instead of z-20/z-50
604
+ - Mobile sidebar now has correct `data-state`/`data-side`/`data-variant`/`data-collapsible` attributes
605
+
606
+ - 18f5e42: **TimeseriesChart: React tooltip with Base UI positioning**
607
+
608
+ Replaces ECharts' HTML-string tooltip with a React component positioned by Base UI's Tooltip primitive:
609
+ - Tooltip rendered as a React component with correct theme tokens — no more inline styles or `getComputedStyle` hacks
610
+ - Positioning handled by Base UI Tooltip (Floating UI), with automatic collision avoidance and viewport flipping
611
+ - New `tooltipFollowCursor` prop: `"both"` (default, free-following) or `"x"` (axis-locked, Recharts-style)
612
+ - New `tooltipMode` prop: `"all"` (default) or `"single"` (nearest series to cursor)
613
+ - New `tooltipMaxItems` prop: caps rows in `"all"` mode with `+N more` footer (default `10`)
614
+ - Date formatted with `Intl.DateTimeFormat` (locale-aware) instead of ISO string
615
+ - Values sorted descending; fallback formatter avoids scientific notation
616
+
617
+ ### Patch Changes
618
+
619
+ - ab273fe: Banner: replace `dark:` Tailwind variants with new `kumo-banner-info` and `kumo-banner-warning` semantic tokens so dark-mode opacity is baked into the design system. No visual change.
620
+ - 351fac9: fix(styles): show pointer cursor on clickable Kumo elements by default
621
+
622
+ Adds a global `cursor: pointer` rule scoped to elements rendered by Kumo
623
+ components, identified by the new `data-kumo-component` and `data-kumo-part`
624
+ attributes. Interactive component roots and parts now opt into the rule by
625
+ setting these attributes, which gives the library a stable scoping primitive
626
+ that doesn't couple to Tailwind class names.
627
+
628
+ Components updated to set `data-kumo-component` / `data-kumo-part`:
629
+ Button, LinkButton, Link, Checkbox, Radio, Switch, Select (trigger, option),
630
+ DropdownMenu (item, link-item, checkbox-item, radio-item, submenu-trigger),
631
+ Combobox (trigger, item, clear, chip-remove), Autocomplete (item),
632
+ Dialog (trigger, close), Popover (trigger), Tabs (tab),
633
+ Collapsible (trigger, default-trigger), Breadcrumbs (link),
634
+ TableOfContents (item, group-link), Sidebar (menu-button, menu-sub-button,
635
+ trigger, rail), MenuBar (option), Toast (close), SensitiveInput
636
+ (toggle-visibility, copy, masked-container).
637
+
638
+ - 3db8294: fix(sidebar): collapsed state styling, transitions, and sliding views
639
+ - 6d5d9f0: Add `flex items-center` to `ComboboxBase.Icon` in `TriggerInput` for consistency with `TriggerValue` and `Select`
640
+ - 5081d35: Fix `Select` placeholder not showing when `renderValue` is provided and the value is empty.
641
+ - 9d4a2ff: Update semantic color tokens to better represent status icons and indicators:
642
+ - Adjust status token values in the theme generator and refresh generated theme output
643
+ - Update toast and badge status background treatments
644
+ - Update docs to reflect new tint token usage
645
+ - 1585bfe: Adjust toast visual styling for improved readability and emphasis: increase background tint intensity for success/warning/info variants, refine description text contrast, and update close-button icon contrast.
646
+ - 6e9b524: Fixed vertical alignment of checkbox and radio indicators with multi-line labels.
647
+
648
+ When label text wrapped to multiple lines, the indicators were vertically centered against the entire text block. They now align to the top, sitting next to the first line of text.
649
+
650
+ - 729caa3: echarts is now an optional peer dependency. If you don't use Chart components (Chart, TimeseriesChart, SankeyChart), it will no longer be installed automatically. If you do use them, run npm install echarts (as documented).
651
+
652
+ ## 2.3.0
653
+
654
+ ### Minor Changes
655
+
656
+ - b68caba: Added `Badge` dot styling as a new variant for indicators that need a subtle visual cue.
657
+ Updated badge docs and demo examples to reflect the new badge variant and dot-style behavior.
658
+
659
+ ### Patch Changes
660
+
661
+ - a210c9c: Update Base UI to 1.5.0.
662
+ - 64a4bda: Fix InputGroup focus ring thickness and color: container mode uses 1.5px ring (wraps entire group including buttons), hybrid container zone and individual mode use 1px ring (thin to avoid colliding with adjacent buttons), and all modes use `ring-kumo-focus/50` (50% opacity) to match the standalone Input component.
663
+ - 0003bf5: Fix error state red border on Combobox, Select, Autocomplete, and SensitiveInput to match Input behavior
664
+ - 4f2b47c: Add inline label layout and fix auto-assigned node colors in tooltips
665
+ - 0e79214: Fix Tooltip popup overflowing viewport when content is wider than available space. The popup now constrains its width to `var(--available-width)`, a CSS variable provided by Base UI's Positioner that reflects the space between the trigger and the viewport edge.
666
+
667
+ ## 2.2.2
668
+
669
+ ### Patch Changes
670
+
671
+ - 94d0c22: Fix language alias normalization in ShikiProvider
672
+ - Add `normalizeLanguage()` function that maps common language aliases (js, ts, sh, yml, py, md, gql) to their canonical SupportedLanguage names
673
+ - Normalize language aliases in `ShikiProvider` when preloading grammars, so passing `['js', 'ts']` works the same as `['javascript', 'typescript']`
674
+ - Normalize language aliases in `highlight()` hook at runtime, so code fences using `js` or `ts` highlight correctly without warnings
675
+ - Export `normalizeLanguage` from `@fldr/ui/code` for consumers who need to normalize aliases themselves
676
+ - Intentionally omit `mdx` alias since MDX has a distinct grammar that would lose JSX highlighting if mapped to `markdown`
677
+
678
+ ## 2.2.1
679
+
680
+ ### Patch Changes
681
+
682
+ - 57bbe62: fix(banner): remove variant selection background for legibility
683
+
684
+ Selected text inside `Banner` now uses the browser default selection color
685
+ instead of a same-hue variant-tinted background. The previous
686
+ `selection:bg-kumo-{info,warning,danger}` utilities produced low contrast
687
+ between the selection background and the variant text color (most notably
688
+ in light mode for the `error` and `alert` variants), making selected text
689
+ hard to read.
690
+
691
+ - 3d80fe7: Add `left` and `right` props to SankeyChart for controlling series layout padding
692
+ - 194aea8: Fix tooltip popup exit transitions by animating the Tailwind `scale` property alongside opacity.
693
+
694
+ ## 2.2.0
695
+
696
+ ### Minor Changes
697
+
698
+ - 228a9c4: Add `passwordManagerIgnore` to Input for suppressing password manager overlays on non-credential fields.
699
+ - da502ce: Add scroll fade to segmented tabs. When tabs overflow, gradient masks appear on the edges based on scroll position via scroll-driven animations (Chrome 115+, degrades gracefully). Scrollbar is hidden; the fade is the scroll affordance.
700
+ - 59b6590: Add `size="sm"` variant to Tabs component (h-6.5 / 26px, matching Input sm)
701
+ - 798c2da: Forward `toastManager` prop on `<Toasty>` so code outside the React tree (timers, query-cache listeners, module-load callbacks) can dispatch toasts via a manager created by `createKumoToastManager()`. Also surface `createKumoToastManager` on the top-level package export (previously only available via the deep `@fldr/ui/components/toast` path).
702
+
703
+ ### Patch Changes
704
+
705
+ - bccc684: Add transparent background to SankeyChart component
706
+ - 974277f: Expose `optionUpdateBehavior` prop on `TimeseriesChart` to control how ECharts applies option updates
707
+ - 8d43b8b: Add `hideLabel` prop to Field so components can skip the native `<label>` while keeping description/error wiring. Use it in Select with Base UI's `Select.Label` to fix hover/focus coupling between the label text and trigger.
708
+ - 93d04bd: fix(input): render error and description props without requiring a label
709
+ - 862389a: fix(radio): prevent radio button distortion with long labels by adding `shrink-0` to the default appearance radio indicator
710
+ - 1bfbc0e: Fix overflowing segmented Tabs drag-to-scroll interactions so mouse and touch drags reliably scroll while normal tab clicks still activate tabs.
711
+
712
+ ## 2.1.0
713
+
714
+ ### Minor Changes
715
+
716
+ - 8a33813: Create Sankey Chart component
717
+
718
+ ### Patch Changes
719
+
720
+ - a21cc3a: Fix CommandPalette List bottom ring being clipped by Footer background. Add scroll padding to prevent items from clipping behind rounded corners.
721
+ - 0414c54: Deprecate `to` prop on Link in favor of `href`. The `to` prop is a routing-framework concept that doesn't belong on a presentational component. Use `href` for all link destinations and configure a `LinkProvider` wrapper to bridge to your router. `to` continues to work but emits a dev-mode deprecation warning.
722
+ - 8b12a4c: Allow `LayerCard.Primary` and `LayerCard.Secondary` to accept all standard HTML div attributes, including `data-testid` for testing.
723
+ - 7d8ec27: Set `cursor-default` on Tooltip triggers so disclosure buttons don't appear clickable. Overridable via `className`.
724
+
725
+ ## 2.0.5
726
+
727
+ ### Patch Changes
728
+
729
+ - 8f8a55d: Export `Combobox.Trigger`, `Combobox.Value`, and `Combobox.Icon` — the raw Base UI primitives for building custom combobox triggers. Use these when you need full control over the trigger's visual treatment (e.g. a sidebar account switcher that renders as a plain button instead of an input-like control).
730
+
731
+ ## 2.0.4
732
+
733
+ ### Patch Changes
734
+
735
+ - 8926ee7: fix(CloudflareLogo): remove registered trademark symbol from full logo variant
736
+ - 75d4f4d: Fix Google Translate DOM mutation crash in Button
737
+ - f2d356d: Remove z-50 from mobile Sidebar Dialog backdrop and panel. The z-50 caused portaled floating elements (Popover, DropdownMenu, Select, Combobox) opened from inside the Sidebar to render behind the Dialog backdrop. Matches the pattern used by Kumo's own Dialog component, which relies on DOM order for stacking with no explicit z-index. Also adds `data-sidebar-backdrop` and `data-sidebar-popup` attributes as stable CSS hooks.
738
+
739
+ ## 2.0.3
740
+
741
+ ### Patch Changes
742
+
743
+ - 3b36e21: fix(combobox): forward all props from TriggerValue to ComboboxBase.Value, enabling placeholder support and styled placeholder text via data-[placeholder]:text-kumo-placeholder
744
+ - 5d5d810: fix(registry): correct Select component metadata for AI-generated code
745
+
746
+ The component registry metadata was incorrectly typing Select's `value`, `defaultValue`, and `onValueChange` props as `string`, causing AI agents to produce broken code when implementing Select with object values (e.g., rendering `object.value` in the trigger instead of the label).
747
+
748
+ Changes:
749
+ - `value` type: `string` → `T` (generic, matches actual component interface)
750
+ - `defaultValue` type: `string` → `T`
751
+ - `onValueChange` type: `(value: string) => void` → `(value: T) => void`
752
+ - Added missing `renderValue` prop: `(value: T) => ReactNode` — required for object values
753
+ - Added missing `items` prop: supports both `Record<string, string>` and `Array<{ label, value }>` forms
754
+ - Added missing `isItemEqualToValue` prop: required for object equality comparison
755
+
756
+ - 62e093c: Gracefully fall back to default variant instead of crashing when an invalid variant prop is passed at runtime. Previously 22 of 25 components would throw `TypeError` on unknown variant values; all 25 now use a shared `resolveVariant()` utility that returns the default config and logs a dev warning.
757
+
758
+ ## 2.0.2
759
+
760
+ ### Patch Changes
761
+
762
+ - fbf3eef: Forward all Base UI Panel props (including `keepMounted` and `hiddenUntilFound`) through `Collapsible.DefaultPanel`. Previously these were silently dropped because `DefaultPanel` used a standalone props interface instead of extending `BasePanelProps`.
763
+ - 40491c2: Fix registry codegen to match demo examples when component export name differs from directory name (e.g. DropdownMenu vs dropdown). This restores missing examples for DropdownMenu and other affected components.
764
+ - 3427221: TooltipProvider props (`delay`, `closeDelay`, `timeout`) are now shown in the Tooltip component's API Reference on the docs site.
765
+
766
+ ## 2.0.1
767
+
768
+ ### Patch Changes
769
+
770
+ - e53bd68: Rebalanced semantic text token usage to improve hierarchy and consistency across components, docs, and generated Figma output.
771
+ - Updated theme token definitions so `text-kumo-strong` represents high-emphasis text and `text-kumo-inactive` is lighter/inactive in both light and dark modes.
772
+ - Migrated affected UI surfaces from `text-kumo-strong` to `text-kumo-subtle` where content is supportive metadata, labels, or secondary text.
773
+ - Synced token usage in docs and Figma code generators with the updated semantic text mapping.
774
+
775
+ ## 2.0.0
776
+
777
+ ### Major Changes
778
+
779
+ - bf68ac0: **BREAKING:** Checkbox `onCheckedChange` now receives event details as second argument
780
+
781
+ The `onCheckedChange` callback signature now matches Base UI, providing access to the underlying event:
782
+
783
+ ```tsx
784
+ // Before
785
+ onCheckedChange={(checked) => console.log(checked)}
786
+
787
+ // After (event details available as optional second arg)
788
+ onCheckedChange={(checked, eventDetails) => {
789
+ console.log(checked);
790
+ console.log(eventDetails.event); // native event
791
+ }}
792
+ ```
793
+
794
+ **Removed deprecated props:**
795
+ - `onChange` - use `onCheckedChange` instead
796
+ - `onValueChange` on individual checkboxes - use `onCheckedChange` instead
797
+ - `onClick` - was redundant, use standard React event handling via spread props
798
+
799
+ **Migration:**
800
+
801
+ ```tsx
802
+ // Before (deprecated)
803
+ <Checkbox onChange={(e) => console.log(e.target.checked)} />
804
+ <Checkbox onValueChange={(checked) => setChecked(checked)} />
805
+
806
+ // After
807
+ <Checkbox onCheckedChange={(checked) => setChecked(checked)} />
808
+ ```
809
+
810
+ Note: `Checkbox.Group`'s `onValueChange` prop is unchanged - it still accepts `(values: string[]) => void`.
811
+
812
+ - f9ba3f9: feat(Collapsible)!: refactor to compound component API
813
+
814
+ **Breaking change:** Collapsible now uses a compound component pattern matching other Kumo components like Popover and Dialog.
815
+
816
+ ### Before
817
+
818
+ ```tsx
819
+ <Collapsible label="Show details" open={open} onOpenChange={setOpen}>
820
+ Content here
821
+ </Collapsible>
822
+ ```
823
+
824
+ ### After
825
+
826
+ ```tsx
827
+ <Collapsible.Root open={open} onOpenChange={setOpen}>
828
+ <Collapsible.Trigger>Show details</Collapsible.Trigger>
829
+ <Collapsible.Panel>Content here</Collapsible.Panel>
830
+ </Collapsible.Root>
831
+ ```
832
+
833
+ ### Migration
834
+
835
+ For the quickest migration, use the new `DefaultTrigger` and `DefaultPanel` components which preserve the previous styling:
836
+
837
+ ```tsx
838
+ <Collapsible.Root open={open} onOpenChange={setOpen}>
839
+ <Collapsible.DefaultTrigger>Show details</Collapsible.DefaultTrigger>
840
+ <Collapsible.DefaultPanel>Content here</Collapsible.DefaultPanel>
841
+ </Collapsible.Root>
842
+ ```
843
+
844
+ ### New Sub-components
845
+
846
+ | Component | Description |
847
+ | ---------------------------- | ----------------------------------------------------------- |
848
+ | `Collapsible.Root` | Manages open state |
849
+ | `Collapsible.Trigger` | Composable trigger with `render` prop support |
850
+ | `Collapsible.Panel` | Content container |
851
+ | `Collapsible.DefaultTrigger` | Pre-styled trigger with caret icon (migration helper) |
852
+ | `Collapsible.DefaultPanel` | Pre-styled panel with border-left accent (migration helper) |
853
+
854
+ - 3256a7b: feat(Text): decouple visual heading variants from semantic HTML elements
855
+
856
+ **Breaking change:** `heading1`, `heading2`, `heading3` variants no longer auto-render `<h1>`, `<h2>`, `<h3>` tags. They now render as `<span>` by default. Use the `as` prop to set the appropriate semantic heading level for your document outline.
857
+
858
+ Before:
859
+
860
+ ```tsx
861
+ <Text variant="heading1">Title</Text> // rendered <h1>
862
+ ```
863
+
864
+ After:
865
+
866
+ ```tsx
867
+ <Text variant="heading1" as="h1">
868
+ Title
869
+ </Text> // explicit semantic element
870
+ ```
871
+
872
+ The `as` prop is now restricted to valid text elements: `"h1"` through `"h6"`, `"p"`, and `"span"`.
873
+
874
+ - 267ba7a: **BREAKING (v2):** `Text` requires an explicit `as` prop when `variant` is a heading (`"heading1"`, `"heading2"`, `"heading3"`).
875
+
876
+ The previous major bump ([#393](https://github.com/cloudflare/kumo/pull/393)) decoupled heading variants from semantic HTML — heading variants render as `<span>` unless an `as` prop is provided. That made the library more flexible but introduced a silent accessibility footgun: forgetting `as` on a real section heading produced a `<span>`, excluding it from the document outline without any type-level feedback.
877
+
878
+ This change makes `as` **required** for heading variants via a discriminated union. Body and monospace variants are unchanged (`as` remains optional; defaults to `<p>` and `<span>` respectively).
879
+
880
+ ### Migration
881
+
882
+ Every `<Text variant="heading1">`, `<Text variant="heading2">`, `<Text variant="heading3">` must now pass `as`. TypeScript will flag each call site:
883
+
884
+ ```tsx
885
+ // Before (compiled, silently produced a <span>)
886
+ <Text variant="heading1">Page Title</Text>
887
+
888
+ // After (required)
889
+ <Text variant="heading1" as="h1">Page Title</Text>
890
+
891
+ // Still allowed — decorative heading-styled text that is NOT a section heading:
892
+ <Text variant="heading1" as="span">Big bold card label</Text>
893
+ ```
894
+
895
+ For each heading call site, decide whether it's a real section heading (use `as="h1"`/`"h2"`/etc.) or decorative (use `as="span"`). Codemod cannot make this choice mechanically — it is a semantic judgment per usage.
896
+
897
+ Body and monospace variants: no changes required.
898
+
899
+ ### Minor Changes
900
+
901
+ - 1954aa8: feat(radio, checkbox, switch): add composable Legend sub-component for group components
902
+ - Add `Radio.Legend`, `Checkbox.Legend`, and `Switch.Legend` sub-components
903
+ - Accepts `className` for full styling control (e.g. `className="sr-only"` to visually hide)
904
+ - Make `legend` string prop optional when using the sub-component instead
905
+ - Useful when a parent Field already provides a visible label and the legend would be redundant
906
+ - **Breaking:** `Switch.Group` no longer renders a visible border/padding/rounded container — now consistent with `Radio.Group` and `Checkbox.Group`. Use `className` to add a border if needed.
907
+
908
+ - 1eee41a: Add `InputGroup` compound component for composing decorated inputs
909
+
910
+ Compound structure: `InputGroup`, `InputGroup.Input`, `InputGroup.Addon`, `InputGroup.Suffix`, `InputGroup.Button`.
911
+ - Field integration — pass `label`, `description`, `error`, `required`, and `labelTooltip` directly to `InputGroup`
912
+ - Size variants (`xs`, `sm`, `base`, `lg`) propagate to all sub-components via context, including icon sizing in addons
913
+ - `InputGroup.Addon` — positions icons, text, or buttons at `align="start"` (default) or `align="end"` of the input
914
+ - `InputGroup.Suffix` — inline text suffix (e.g. `.workers.dev`)
915
+ - `InputGroup.Button` — ghost button for secondary actions with tooltip support
916
+ - Deprecated `InputGroup.Label` — use `InputGroup.Addon` instead
917
+ - Deprecated `InputGroup.Description` — use `InputGroup.Suffix` instead
918
+
919
+ ```tsx
920
+ {
921
+ /* Reveal / hide password */
922
+ }
923
+ <InputGroup>
924
+ <InputGroup.Input
925
+ type={show ? "text" : "password"}
926
+ defaultValue="password"
927
+ aria-label="Password"
928
+ />
929
+ <InputGroup.Addon align="end" className="pr-1">
930
+ <InputGroup.Button
931
+ size="sm"
932
+ aria-label={show ? "Hide password" : "Show password"}
933
+ onClick={() => setShow(!show)}
934
+ >
935
+ {show ? <EyeSlashIcon size={16} /> : <EyeIcon size={16} />}
936
+ </InputGroup.Button>
937
+ </InputGroup.Addon>
938
+ </InputGroup>;
939
+ ```
940
+
941
+ ```tsx
942
+ {
943
+ /* Search input */
944
+ }
945
+ <InputGroup>
946
+ <InputGroup.Addon>
947
+ <MagnifyingGlassIcon className="text-kumo-subtle" />
948
+ </InputGroup.Addon>
949
+ <InputGroup.Input placeholder="Search..." />
950
+ </InputGroup>;
951
+ ```
952
+
953
+ - 353faea: Adds Autocomplete component. A free-form text input with an optional filtered suggestion list. Unlike Combobox, the value is not constrained to the items list.
954
+ - 431de04: feat(radio): accept ReactNode for `Radio.Item` label and honor `controlPosition` on card appearance
955
+ - `Radio.Item`'s `label` prop now accepts `ReactNode`, allowing icons, badges, or other markup alongside text.
956
+ - `Radio.Group`'s `controlPosition` prop now takes effect on `appearance="card"`. Card appearance continues to default to `"end"` (radio on the right); pass `controlPosition="start"` to render the radio on the left of the label and description.
957
+
958
+ - f9d8b76: Polish TableOfContents indicator and semantic HTML
959
+ - Replace pill/background-tint hover with left-border indicator pattern
960
+ - Switch to semantic `ul`/`li` HTML structure
961
+ - Add `href` and `active` props to `TableOfContents.Group` for clickable labels
962
+
963
+ - 07426f6: feat(table): add `onCheckedChange` prop to `Table.CheckCell` and `Table.CheckHead`, aligning with the `Checkbox` component's signature.
964
+
965
+ The new prop exposes an optional second argument with event details, matching Base UI's idiom:
966
+
967
+ ```tsx
968
+ <Table.CheckCell
969
+ checked={selected.has(row.id)}
970
+ onCheckedChange={(checked, eventDetails) => {
971
+ toggle(row.id);
972
+ eventDetails?.event.stopPropagation();
973
+ }}
974
+ />
975
+ ```
976
+
977
+ The existing `onValueChange` prop still works but is now deprecated and flagged by the `no-deprecated-props` lint rule. It will be removed in a future major version. Migrate by renaming the prop — the single-argument callback shape is preserved.
978
+
979
+ This change is additive and does not require consumer code changes at this time.
980
+
981
+ - c1c60c8: Expand `Text` component's `as` prop to accept additional HTML text elements: `label`, `dt`, `dd`, `li`, `figcaption`, `legend`, `pre`, `code`, `em`, `strong`, `small`, `abbr`, and `time`. This unblocks downstream usage in Stratus where `Text` needs to render as definition list terms, labels, and code elements.
982
+
983
+ ### Patch Changes
984
+
985
+ - ac6df5f: Remove invalid hover border utility from secondary button variants to keep hover styling consistent and avoid unintended class output.
986
+ - ec73bc5: Update chart color docs and demos, including sequential heatmap/CVD coverage and improved chart demo behavior.
987
+ - 7d12918: `Combobox.Item` now renders a visible disabled state when the `disabled` prop is set. Previously the prop was forwarded to Base UI (so click/keyboard selection were correctly blocked) but the row looked identical to an enabled one. Adds `data-[disabled]:*` Tailwind classes for muted text, `cursor-not-allowed`, reduced opacity, and suppresses the highlight background on disabled rows during keyboard navigation. Also fixes `className` passthrough — user-supplied classes are now merged via `cn()` instead of being overridden.
988
+ - 69bfc53: Improve focus ring consistency and clipping behavior across inputs and related controls.
989
+ - Move the command palette focus ring to the input header container with `focus-within` and remove duplicate input-level ring styles.
990
+ - Update `Select` trigger and option focus styles to use inset focus rings to prevent clipping in rounded/overflow contexts.
991
+ - Fix clipboard copy button focus ring clipping by using inset focus-visible ring, matching border-radius inheritance, and isolated stacking.
992
+ - Align `InputGroup` and `InputGroup.Button` focus ring color to `ring-kumo-focus`, including hybrid container-zone focus ring classes.
993
+ - Update InputGroup tests to match inline focus ring class changes.
994
+ - Set DatePicker (`react-day-picker`) focus ring token to `var(--color-kumo-brand)`.
995
+ - Update InputGroup container and hybrid keyboard outlines in `kumo-binding.css` to use `var(--color-kumo-focus)` at 1px weight.
996
+
997
+ - 30bfd82: Allow `CommandPalette.Input` to accept standard HTML input attributes (`autoComplete`, `autoCorrect`, `autoCapitalize`, `spellCheck`, `data-*`, etc.) by extending its props type with `InputHTMLAttributes<HTMLInputElement>`. Export new `CommandPaletteInputProps` type.
998
+ - b923281: Fix `InputGroup` hover state incorrectly propagating to the first child button (e.g. in `Pagination.Controls`). Root now renders as `<div>` instead of `<label>` when it contains multiple labelable controls.
999
+ - 06b8852: Fix Table body cells rendering at 16px. The Table root now sets text-base (14px) so <td> cells match Kumo's default body font-size instead of inheriting the browser default. Also replaces an arbitrary text-[14px] in Empty with text-base.
1000
+ - c019b41: Improved focus and keyboard accessibility styles across Kumo components and docs navigation.
1001
+ - Added the `kumo-focus` semantic token to the theme generator config and generated `theme-kumo.css` output.
1002
+ - Updated focus ring behavior across interactive components (including `Button`, `Input`, `InputGroup`, `Select`, `Checkbox`, `Radio`, `Switch`, `Sidebar`, `Tabs`, `Menubar`, and related controls) for more consistent and visible keyboard focus visibility.
1003
+ - Text-entry controls use a lighter opacity `kumo-focus` ring to keep pointer and keyboard focus visually consistent where browsers apply `:focus-visible` heuristics to typed-input controls.
1004
+ - Refined `Select` and `Input` styling/state combinations to align focus visuals with current semantic token usage.
1005
+ - Updated docs `SidebarNav` keyboard-focus affordances (links, section toggles, search trigger) and adjusted collapsible list overflow so focus rings remain visible.
1006
+ - Replace raw colors in `Select` with kumo semantic tokens.
1007
+
1008
+ - 21ed1a1: Fix `InputGroup` container className to enforce `mb-0`, ensuring all container variants (not just the standalone `<label>` mode) reset inherited bottom margin.
1009
+ - fa991d9: Fix `InputGroup` label wrappers to enforce `mb-0`, preventing inherited label margins from shifting layout and click-target overlays.
1010
+ - 6765526: chore: update @base-ui/react to v1.4.0
1011
+
1012
+ Bugfix release with improvements to Popover hover state, Checkbox/Switch readOnly mode, Select touch handling, Tabs activation direction, Toast timers, and various other fixes. No breaking changes.
1013
+
1014
+ ## 1.19.0
1015
+
1016
+ ### Minor Changes
1017
+
1018
+ - da6eee1: feat(chart): rename `formatter` to `dangerousHtmlFormatter` for XSS awareness
1019
+
1020
+ BREAKING CHANGE: The `formatter` property in `KumoChartOption['tooltip']` has been renamed to `dangerousHtmlFormatter`. This change makes the security implications of using HTML formatters more explicit to developers. The API remains identical—only the name has changed.
1021
+
1022
+ Migration: Replace `formatter` with `dangerousHtmlFormatter` in your chart tooltip configurations.
1023
+
1024
+ - 4785c43: feat(tooltip, popover): deprecate `asChild` in favor of `render` prop
1025
+
1026
+ Unifies composition patterns across the library by adopting Base UI's `render` prop pattern. The `asChild` prop is now deprecated on:
1027
+ - `Tooltip`
1028
+ - `Popover.Trigger`
1029
+ - `Popover.Close`
1030
+
1031
+ **Migration:**
1032
+
1033
+ ```diff
1034
+ - <Tooltip content="Save" asChild>
1035
+ - <Button>Save</Button>
1036
+ - </Tooltip>
1037
+ + <Tooltip content="Save" render={<Button>Save</Button>} />
1038
+
1039
+ - <Popover.Trigger asChild>
1040
+ - <Button>Open</Button>
1041
+ - </Popover.Trigger>
1042
+ + <Popover.Trigger render={<Button>Open</Button>} />
1043
+
1044
+ - <Popover.Close asChild>
1045
+ - <Button>Close</Button>
1046
+ - </Popover.Close>
1047
+ + <Popover.Close render={<Button>Close</Button>} />
1048
+ ```
1049
+
1050
+ The `asChild` prop remains functional for backward compatibility but will be removed in a future major version.
1051
+
1052
+ - a0f2b18: feat(popover): expose `anchor` prop on `Popover.Content` for virtual positioning
1053
+
1054
+ Forwards Base UI's `anchor` prop through `Popover.Content` to the underlying `Positioner`, enabling popover positioning against custom elements, refs, or virtual points (e.g., a `DOMRect` from `getBoundingClientRect()`). This is useful when the popover trigger and the desired anchor are in different component trees, or when anchoring to a coordinate rather than a DOM element.
1055
+
1056
+ - 58b5777: Convert Table of Contents to exported Kumo component
1057
+ - 0cae077: feat(Select): add size prop (xs/sm/base/lg) matching Input and Combobox heights
1058
+
1059
+ ### Patch Changes
1060
+
1061
+ - 1e7ba10: feat(layer-card): support simple card usage and deprecate Surface
1062
+ - allow `LayerCard` to be used directly without `LayerCard.Primary` for simple single-layer card layouts
1063
+ - keep `LayerCard.Secondary` and `LayerCard.Primary` supported for the existing layered card pattern
1064
+ - deprecate `Surface` in favor of `LayerCard` while keeping the old API working as a compatibility wrapper
1065
+ - update docs and examples to prefer `LayerCard`, including table examples that no longer need a nested `LayerCard.Primary`
1066
+
1067
+ - 2682319: fix(pagination): add ARIA attributes for screen reader accessibility
1068
+ - Wrap pagination controls in `<nav>` for proper landmark navigation
1069
+ - Add `aria-live="polite"` and `aria-atomic="true"` to status text for page change announcements
1070
+ - Add `navigation` to `PaginationLabels` for i18n customization of the nav aria-label
1071
+
1072
+ - 9eb1306: fix(chart): escape HTML in tooltip series name and values
1073
+
1074
+ Escapes HTML entities in TimeseriesChart tooltip series names and values before rendering.
1075
+
1076
+ - 4565baa: fix(combobox): make TriggerInput caret button clickable for Playwright tests
1077
+ - 4dfdc3f: fix(dropdown): pass children through when render prop is provided on DropdownMenu.Trigger
1078
+ - 98e3170: fix(Select): TypeScript inference with `strictNullChecks` and `renderValue`/`placeholder` interaction
1079
+
1080
+ **TypeScript fix:** Under `strictNullChecks`, using `value={objectOrNull}` would cause `T` to be inferred as `never`, making callbacks like `onValueChange` and `renderValue` unusable. This is now fixed.
1081
+
1082
+ **Runtime fix:** `renderValue` is now only called with non-null values. When value is null, the `placeholder` is shown instead. Previously, `renderValue` would receive `null` at runtime despite being typed as `(value: T) => ReactNode`.
1083
+
1084
+ ```tsx
1085
+ // Recommended pattern
1086
+ <Select
1087
+ placeholder="Select..."
1088
+ value={value}
1089
+ onValueChange={setValue} // value is T | null (works with strictNullChecks)
1090
+ renderValue={(v) => v.name} // v is T (non-null), no defensive coding needed
1091
+ />
1092
+ ```
1093
+
1094
+ - 9c3cdbf: Fix sidebar collapsible content snapping shut instead of animating smoothly when closing.
1095
+ - 27bcd59: fix(table): align sticky column colors with compact header variant
1096
+ - a8adf02: fix(tokens): correct text-kumo-subtle dark mode value to provide visible contrast
1097
+ - 547c7fa: Updated the token value for `kumo-line` and `kumo-hairline` in dark mode so they are more visible.
1098
+ - replace `kumo-line` usages with `kumo-hairline` across Kumo components and docs UI/content styles
1099
+ - use `ring-kumo-line` for shadowed surfaces (for example combobox, dialog, select, dropdown, toast, and related surface wrappers)
1100
+ - adjust theme token configuration and generated styles to support updated neutral/hairline appearance
1101
+
1102
+ - 460a603: fix(a11y): add accessible labels to icon-only controls
1103
+
1104
+ ## 1.18.0
1105
+
1106
+ ### Minor Changes
1107
+
1108
+ - b1e51a8: Add Enter key navigation to Pagination page number input and new `pageSelector` prop for dropdown mode
1109
+ - The page number input in `Pagination.Controls` now navigates on Enter key press (previously only on blur)
1110
+ - New `pageSelector` prop on `Pagination.Controls`: set to `"dropdown"` to render a Select dropdown instead of a text input for page selection
1111
+
1112
+ - e676f0b: Add disabled option support, groups, group labels, and separators to Select
1113
+ - `Select.Option` now accepts `disabled` and `className` props
1114
+ - New `Select.Group` and `Select.GroupLabel` sub-components for organizing options under labeled headers
1115
+ - New `Select.Separator` sub-component for visual dividers between groups
1116
+ - The `items` object-map prop now accepts `SelectItemDescriptor` values with `disabled` metadata
1117
+
1118
+ - a685953: Expose `delay` and `closeDelay` props on Tooltip component to control open and close timing. These props are forwarded to the underlying Base UI Trigger component.
1119
+
1120
+ ### Patch Changes
1121
+
1122
+ - dacf445: Input and InputArea now automatically apply error styling when the `error` prop is truthy. You no longer need to set `variant="error"` separately - just pass an error message and the styling is applied automatically. The `variant="error"` prop is now deprecated but still works for backwards compatibility.
1123
+ - 44c26f5: Adjust semantic tint usage for status/error ring styles across core form and feedback components.
1124
+ - Update background styles in `Badge` and `Banner` components to use `*-tint` tokens.
1125
+ - Update `kumo-danger` to a darker token to improve a11y contrast.
1126
+ - Update error ring styling in form components to use semantic tokens (now darker with token swap).
1127
+ - Removed `text-color-badge-red-subtle` token in replacement of the `danger` token.
1128
+ - Update theme generator color mappings used by these tints to improve visual consistency.
1129
+
1130
+ - 2bb8628: Fix CodeBlock crash when an unsupported `lang` value is passed at runtime. The `codeVariants()` function now uses optional chaining with a nullish coalescing fallback to the default language, matching the defensive pattern already used by `switchVariants()` and `badgeVariants()`.
1131
+ - e8bcf6f: fix(select): use ring-kumo-hairline token in Select popup (missed in PR #355)
1132
+ - c3beded: Fix Select popup scrolling and height behavior; align popup/list structure with Base UI. Split popup into frame (Popup) and scroll container (List) to match Combobox pattern and fix touch scroll on long lists.
1133
+ - 4a2fb02: fix(loader): add ARIA attributes for screen reader accessibility
1134
+
1135
+ Added `role="status"` and `aria-label="Loading"` to the Loader SVG component to make it accessible to screen readers. This resolves a WCAG 2.1 SC 4.1.3 (Status Messages) violation where assistive technology users received no indication that content was loading.
1136
+
1137
+ - 5e4c7b1: Refine badge semantics/fill styling and banner tone updates
1138
+ - Rework `Badge` variant model to prioritize semantic variants (`primary`, `secondary`, `error`, `warning`, `success`, `info`) with updated descriptions and `primary` as default.
1139
+ - Keep token color variants for product-specific use cases while updating class mappings so semantic and token variants are distinct.
1140
+ - Slight updates to token color variants to meet a11y contrast requirements.
1141
+ - Update token color variants by replacing `yellow` with `purple` since `yellow` doesn't meet a11y contrast requirements, and keeping docs/demo examples in sync.
1142
+ - Update badge docs demos/content to focus on primary semantic badges and a consolidated "other variants" section.
1143
+ - Adjust banner variant surfaces (`default`, `alert`, `error`) to stronger tinted backgrounds and borders.
1144
+ - Update theme generator badge/semantic token mappings and regenerate `theme-kumo.css` to match the new badge color system.
1145
+
1146
+ - 6458fae: Fix Switch label click not toggling when a custom `id` prop is provided
1147
+
1148
+ The `id` was not being forwarded to Base UI's `Switch.Root`, causing a mismatch between the label's `htmlFor` and the button's actual `id`.
1149
+
1150
+ - cf6b917: Align semantic token documentation and docs presentation updates.
1151
+ - Update `colors.mdx` token documentation structure.
1152
+ - Replaced `kumo-ring` with `kumo-hairline` for border/ring colors and all its instances in kumo components and docs.
1153
+ - Sync `packages/kumo/ai/USAGE.md` token reference categories and descriptions with the docs token guide.
1154
+ - Adjust the typo in the recessed dark token value in theme generator config and regenerate `theme-kumo.css`.
1155
+ - Updated `kumo-fill-hover` token value from `neutral-700` to `neutral-800`
1156
+
1157
+ ## 1.17.0
1158
+
1159
+ ### Minor Changes
1160
+
1161
+ - 355a1b5: Badge: add color-based variants and deprecate semantic variants
1162
+ - Add color variants: `red`, `orange`, `yellow`, `green`, `teal`, `blue`, `neutral`, `inverted`
1163
+ - Add subtle variants for each color (`red-subtle`, `orange-subtle`, etc.) with lighter backgrounds and darker text
1164
+ - Retain `outline` and `beta` variants unchanged
1165
+ - Deprecate `primary` (use `inverted`), `secondary` (use `neutral`), `destructive` (use `red`), `success` (use `green`)
1166
+ - Dark mode support: subtle variants flip to dark backgrounds with light text, regular color variants darken slightly, inverted flips to white bg with black text
1167
+ - Default variant changed from `primary` to `neutral`
1168
+
1169
+ - 250a6dd: Add `action` prop to Banner for rendering CTA buttons alongside structured title/description content without resorting to the `children` prop.
1170
+ - 8c244d2: Refresh semantic surface color tokens and component surface usage.
1171
+ - Add and adopt `kumo-canvas` as the page-level surface token in theme output and docs usage.
1172
+ - Rebalance neutral token values in `kumo-binding.css` and generated theme variables for improved light/dark surface hierarchy.
1173
+ - Update surface-related component styling (`LayerCard`, `MenuBar`, `Tabs`) to align with the refreshed `canvas`/`elevated`/`recessed` layering model.
1174
+ - Update token usage guidance in `ai/USAGE.md` to reflect page vs component background roles.
1175
+
1176
+ - ef15662: Make timeseries' highlighted on hovering a data point
1177
+ - cd0c22f: Add Shadow DOM support via `KumoPortalProvider` and `container` prop on all portal-based components
1178
+
1179
+ All overlay components (Dialog, DropdownMenu, Combobox, Select, Tooltip, Popover, CommandPalette, Toast) now support rendering inside Shadow DOM or custom containers.
1180
+
1181
+ **New exports:**
1182
+ - `KumoPortalProvider` - Context provider to set default portal container for all overlays
1183
+ - `PortalContainer` - Type for portal container (HTMLElement, ShadowRoot, or ref)
1184
+
1185
+ **Component updates:**
1186
+ All portal-based components now accept an optional `container` prop:
1187
+ - `Dialog` - `container` prop on Dialog component
1188
+ - `DropdownMenu.Content` - `container` prop
1189
+ - `Combobox.Content` - `container` prop
1190
+ - `Select` - `container` prop
1191
+ - `Tooltip` - `container` prop
1192
+ - `Popover.Content` - `container` prop
1193
+ - `CommandPalette.Root` and `CommandPalette.Dialog` - `container` prop
1194
+ - `Toasty` (Toast provider) - `container` prop
1195
+
1196
+ **Usage:**
1197
+
1198
+ Set once at the app level:
1199
+
1200
+ ```tsx
1201
+ <KumoPortalProvider container={shadowRoot}>
1202
+ <App />
1203
+ </KumoPortalProvider>
1204
+ ```
1205
+
1206
+ Or override per component:
1207
+
1208
+ ```tsx
1209
+ <Dialog container={customContainer}>
1210
+ <Dialog.Title>Modal inside shadow DOM</Dialog.Title>
1211
+ </Dialog>
1212
+ ```
1213
+
1214
+ When no provider or prop is set, components default to `document.body` (existing behavior).
1215
+
1216
+ - 17f21f3: SkeletonLine: add `blockHeight` prop to set a container height and vertically center the skeleton line within it
1217
+ - d1f697b: Table: add `sticky` prop to `Table.Head` and `Table.Cell` for pinning columns to left/right edges, and `sticky` prop to `Table.Header` for sticky header rows. Uses `isolate` stacking context with `z-0`/`z-1`/`z-2` layering.
1218
+ - 56e3640: Add `toml` as a supported language for syntax highlighting in the Code component
1219
+ - f0c8952: Add `title` prop to `Button` — wraps the button in a `Tooltip` when provided.
1220
+
1221
+ ### Patch Changes
1222
+
1223
+ - 7721bc5: Checkbox.Group & Radio.Group: remove fieldset border box and simplify styling
1224
+ - Remove `rounded-lg border border-kumo-line p-4` wrapper from both group fieldsets
1225
+ - Downsize legend from `text-lg` to `text-base` with inline-flex layout
1226
+ - Drop `font-medium` from Checkbox.Item and Radio.Item labels
1227
+
1228
+ - 6c21970: Fix missing disabled styling on Combobox triggers. `TriggerValue` and `TriggerMultipleWithInput` now apply `opacity-50` and `cursor-not-allowed` when disabled, matching the behaviour of the `Select` component.
1229
+ - 0e4247a: Update dialog backdrop overlay to use `bg-kumo-recessed` token
1230
+ - 0060bb9: Remove `ai/schemas.ts` from version control (now fully generated at build time)
1231
+ - 04a1f07: Fix LayerCard.Primary stacking order when sandwiched between LayerCard.Secondary elements
1232
+ - 94d50e2: Fix SensitiveInput focus ring and global CSS pollution
1233
+ - Fix focus ring not showing on container when inner input is focused (focus-within:outline)
1234
+ - Add defensive styles to eye toggle and copy buttons to prevent global CSS pollution
1235
+ - Fix inputVariants parentFocusIndicator using wrong selector ([&:has(:focus-within)] → focus-within:)
1236
+
1237
+ - db75c51: SkeletonLine: move `.skeleton-line` styles into `@layer base` so Tailwind utility classes (e.g. `className="h-6"`) can override the default height
1238
+ - eb68b35: Tabs indicator now uses `translate-x` for its transition animation, replacing the CSS `left` transition with a GPU-accelerated transform.
1239
+ - e21a6df: fix flow component not reflecting padding prop
1240
+ - 29c56fd: `Surface`: replace `as` prop with Base UI `render` prop for polymorphism
1241
+
1242
+ The `as` prop used a hand-rolled generic `forwardRef` pattern (with `as any` casts) that conflicted with how the rest of the library handles polymorphism via Base UI's `useRender` hook.
1243
+
1244
+ `Surface` now accepts a `render` prop, consistent with `Link` and other components. The old `as` prop is kept as a deprecated alias and continues to work unchanged — no migration required.
1245
+
1246
+ ```tsx
1247
+ // Still works (deprecated)
1248
+ <Surface as="section">...</Surface>
1249
+
1250
+ // Preferred going forward
1251
+ <Surface render={<section />}>...</Surface>
1252
+ ```
1253
+
1254
+ - 9272b4a: Switch: polish squircle styling
1255
+ - Use `ring-inset` on thumb to prevent border protruding beyond the track
1256
+ - Make thumb ring transparent to remove visible border outline
1257
+ - Switch focus indicator from `ring` to `outline` with `outline-offset-2` to avoid clashing with the track's own ring border
1258
+
1259
+ - 6b15bac: fix(Tabs): update segmented tab spacing and track styling
1260
+ - Adjust segmented `Tabs` list styling colour to `bg-kumo-recessed` and added `ring` to make the Tabs background more visible
1261
+ - Remove extra edge spacing and keep the segmented track/indicator alignment consistent
1262
+
1263
+ - cfe814d: update toast styling to use a subtle ring and background that reflect each state.
1264
+ - 7ac73d2: update status text token values for info and danger to improve a11y contrast ratio on banners.
1265
+ - dcbf185: Add `truncate` prop to `Text` component. When `true`, applies `truncate min-w-0` classes to clip overflowing text with an ellipsis.
1266
+
1267
+ ## 1.16.0
1268
+
1269
+ ### Minor Changes
1270
+
1271
+ - c5f69b9: Make Chart components keyboard focusable with tabindex. Timeseries adds `ariaDescription` prop
1272
+
1273
+ ### Patch Changes
1274
+
1275
+ - b3c44f1: Generate component-registry files at build time, remove from git
1276
+
1277
+ Eliminates contributor friction by generating component-registry.json,
1278
+ component-registry.md, and schemas.ts during the build process instead of
1279
+ tracking them in git. Contributors will no longer see stale diffs or need to
1280
+ manually regenerate these files.
1281
+ - Add ai/component-registry.json and ai/component-registry.md to .gitignore
1282
+ - Convert ai/schemas.ts to a stub file for TypeScript compilation
1283
+ - Add codegen:registry to build script for deterministic generation
1284
+
1285
+ - 759f4e8: feat(code): add HCL (HashiCorp Configuration Language) as a supported syntax highlighting language
1286
+ - a67fac7: fix(flow): connector lines no longer misalign when the page scrolls or a sidebar shifts the layout
1287
+
1288
+ `getBoundingClientRect` values were stored in React state per node and later subtracted against a freshly-read container rect at connector-draw time. Any layout shift (sidebar open/close, page scroll, inner container scroll) between those two reads produced stale coordinates, causing connector lines to jump out of place or disappear entirely.
1289
+
1290
+ Fix: add `scroll` and `resize` listeners (capture phase) at the `FlowNode`, `FlowParallelNode`, and `FlowNodeList` levels so all rects are remeasured after any layout shift. Connector computation in `FlowNodeList` and `FlowParallelNode` is also moved from the render phase into `useLayoutEffect` so the container rect and node rects are always read in the same synchronous pass.
1291
+
1292
+ - 15a344e: Add missing HCL language import to server-side Shiki bundle
1293
+
1294
+ The HCL language was added to SupportedLanguage type and the client-side
1295
+ provider in a previous commit, but the server.tsx BUNDLED_LANGS object
1296
+ was missed. This caused typecheck failures when building.
1297
+
1298
+ - 5d8d3a9: Sidebar: polish animations, fix separator reflow bug, improve header spacing
1299
+ - 7e82920: Fix connector alignment and spacing between adjacent parallel nodes in Flow diagrams
1300
+
1301
+ ## 1.15.0
1302
+
1303
+ ### Minor Changes
1304
+
1305
+ - 73f554a: Add success and info toast variants with semantic token styling. Migrate error/warning variants from raw CSS to semantic tokens for consistent theming.
1306
+
1307
+ ### Patch Changes
1308
+
1309
+ - 9fbf3a8: Fix Radio compound component to use Object.assign pattern, enabling sub-component detection (Radio.Group, Radio.Item) in the component registry.
1310
+ - 3430785: Revert outline button variant ring width from `ring-2` (2px) back to `ring` (1px) to restore visual consistency with existing dashboard usage.
1311
+
1312
+ ## 1.14.1
1313
+
1314
+ ### Patch Changes
1315
+
1316
+ - 839b0cb: fix: update styling for mostly-used components with new greyscale tokens (combobox, dialog, input, layerCard, select & tabs) as well as homegrid and component preview backgrounds.
1317
+ - 7083a17: Remove es2022 build target that caused Jest/babel-jest test failures in stratus
1318
+
1319
+ ## 1.14.0
1320
+
1321
+ ### Minor Changes
1322
+
1323
+ - 8b2d6a0: Add radio card appearance via `appearance="card"` prop on Radio.Group and Radio.Item. Cards display a bordered, selectable container with title and description. Also adds `description` prop to Radio.Item for helper text. Supports vertical and horizontal orientations, error state, and disabled state.
1324
+ - abbf586: Expose Chart `optionUpdateBehavior` to control how ECharts applies option updates; `notMerge` now defaults to `false`.
1325
+ - c6aa554: Add neutral variant to Switch component and improve accessibility
1326
+ - New `variant="neutral"` option: monochrome switch with squircle shape, matching the design from stratus
1327
+ - Improved off-state visibility for default variant with darker background/ring colors
1328
+ - Removed `error` variant (not useful for toggle switches)
1329
+ - Added defensive fallback so invalid variant values don't cause runtime crashes
1330
+
1331
+ ### Patch Changes
1332
+
1333
+ - f2e17d7: removed `outline-none` to bring back focus states on all buttons
1334
+ - eba693e: Fix flaky vitest "Closing rpc while fetch was pending" error in deep-imports test
1335
+ - db91f50: Fix InputArea label click not focusing textarea. Use FieldBase.Control with render callback to properly associate the label with the textarea element.
1336
+ - 80afd4d: Fix TypeScript return types for ShikiProvider and CodeHighlighted components.
1337
+
1338
+ Changed return type from `ReactNode` to `React.JSX.Element` to resolve JSX compatibility errors. This fixes issues when consuming these components in projects with stricter TypeScript configurations (e.g., `skipLibCheck: false`), where `ReactNode` was incorrectly inferred as a valid JSX element return type.
1339
+
1340
+ - dc9742d: Fix table header font size to ensure consistent rendering across dashboards with different default font sizes
1341
+ - f94fee7: Add dedicated `kumo-placeholder` text color token and use it for Input, InputArea, SensitiveInput, and CommandPalette placeholder text. The new token provides better visual distinction between placeholder and active text in both light and dark modes.
1342
+ - 66012b7: Replace the package-level ESLint pass with Oxlint JS plugin coverage for the remaining jsx-a11y rules, and pin the library build to `es2022` with a post-build browser-compat test that blocks newer runtime APIs from shipping in `dist`.
1343
+ - e8acdd8: fix(Select): prevent chevron overflow with long multi-select values
1344
+
1345
+ Added `min-w-0 truncate` to the value element and `shrink-0` to the chevron icon so that long option names truncate gracefully instead of pushing the chevron outside the select bounds.
1346
+
1347
+ ## 1.13.1
1348
+
1349
+ ### Patch Changes
1350
+
1351
+ - c272f6a: Fix combobox caret icon to use text-kumo-subtle with fill-current instead of invalid fill-kumo-subtle token
1352
+ - 5e12c15: fix TimeseriesChart brush cursor not activating when loading prop transitions from true to false
1353
+
1354
+ ## 1.13.0
1355
+
1356
+ ### Minor Changes
1357
+
1358
+ - 56a8b35: add xAxisTickFormat, yAxisTickFormat, and tooltipValueFormat props to TimeseriesChart; deprecate yAxisTickLabelFormat
1359
+
1360
+ ## Deprecation: yAxisTickLabelFormat is deprecated
1361
+
1362
+ If you were using `yAxisTickLabelFormat` to customize tooltip output, switch to `tooltipValueFormat`.
1363
+
1364
+ **Before:**
1365
+
1366
+ ```tsx
1367
+ <TimeseriesChart yAxisTickLabelFormat={(v) => `${v} req/s`} />
1368
+ ```
1369
+
1370
+ **After:**
1371
+
1372
+ ```tsx
1373
+ <TimeseriesChart tooltipValueFormat={(v) => `${v} req/s`} />
1374
+ ```
1375
+
1376
+ ## 1.12.1
1377
+
1378
+ ### Patch Changes
1379
+
1380
+ - eda8362: Fix combobox caret icon visibility by using fill-kumo-subtle instead of fill-kumo-ring
1381
+
1382
+ ## 1.12.0
1383
+
1384
+ ### Minor Changes
1385
+
1386
+ - 4d6de27: reorganize greyscale tokens and update color preferences
1387
+
1388
+ ### Patch Changes
1389
+
1390
+ - 2ff49b7: updated button styles for outline and secondary
1391
+ - 59f7935: Fix Jest module resolution failures and reduce Shiki bundle size
1392
+
1393
+ **Jest Fix:**
1394
+ - Add `chunkFileNames` config to prevent double-dash filenames (e.g., `combobox--ec3iibR.js`) that Jest cannot resolve
1395
+ - Move chunks to `dist/chunks/` subdirectory for cleaner structure
1396
+
1397
+ **Bundle Size Reduction:**
1398
+ - Switch from full Shiki bundle to fine-grained imports via `shiki/core`
1399
+ - Reduce from ~300 language/theme chunks to ~16 bundled languages
1400
+ - Total JS files reduced from 358 to ~163 (54% reduction)
1401
+
1402
+ **Supported Languages:**
1403
+ `javascript`, `typescript`, `jsx`, `tsx`, `json`, `jsonc`, `html`, `css`, `python`, `yaml`, `markdown`, `graphql`, `sql`, `bash`, `shell`, `diff`
1404
+
1405
+ **Breaking Change:**
1406
+ - `BundledLanguage` type is now deprecated, use `SupportedLanguage` instead
1407
+ - Only the languages listed above are bundled; other Shiki languages are no longer available out of the box
1408
+
1409
+ - 9eaf584: Fix npm publish failure by removing cross-package dependency from prepublish hook
1410
+
1411
+ ## 1.11.0
1412
+
1413
+ ### Minor Changes
1414
+
1415
+ - 140f4ab: **Select: Improved label API to match Input component pattern**
1416
+ - `hideLabel` is now deprecated. When `label` is provided, the label is **visible by default** (previously hidden by default).
1417
+ - For visible labels: `<Select label="Country" />` (no changes needed if you were using `hideLabel={false}`)
1418
+ - For hidden labels: Use `<Select aria-label="Select a country" />` instead of `<Select label="Country" hideLabel={true} />`
1419
+ - **Bug fix**: Placeholder text now displays correctly when using object map `items` format (e.g., `items={{ a: "Option A" }}`). Previously, placeholders only worked with array format items.
1420
+
1421
+ **Backward compatibility**: `hideLabel={true}` still works but shows a deprecation warning in development. Existing code using `hideLabel={false}` requires no changes.
1422
+
1423
+ **Migration guide:**
1424
+
1425
+ ```tsx
1426
+ // Before (label hidden by default)
1427
+ <Select label="Country" /> // label was sr-only
1428
+ <Select label="Country" hideLabel={false} /> // label was visible
1429
+
1430
+ // After (label visible by default, matching Input)
1431
+ <Select label="Country" /> // label is now visible
1432
+ <Select aria-label="Country" /> // use aria-label for hidden labels
1433
+ ```
1434
+
1435
+ - f1c6392: Add optional `id` prop to `Flow.Node` for stable node identification and connector test IDs
1436
+ - da03394: Avoid adding multiple toasts with the same ID. Use a subtle bump animation when a toast with an existing ID is added.
1437
+
1438
+ ### Patch Changes
1439
+
1440
+ - a53ec1b: Fix theme token flicker by generating stable light/dark fallback variables with safer scope and layer precedence.
1441
+ - cb121bc: fix: add defensive styles to prevent global CSS pollution
1442
+
1443
+ ## Problem
1444
+
1445
+ When Kumo components are used in applications with aggressive global styles (e.g., Stratus's `cfBaseStyles` layer), certain elements get polluted:
1446
+ - `label { margin-bottom: 1rem }` adds unwanted margins to all labels
1447
+ - `button { background: gray }` affects unstyled button wrappers (e.g., tooltip triggers)
1448
+ - `a { color: var(--text-color-primary) }` can override link colors if the consuming app defines `--text-color-primary` differently
1449
+
1450
+ ## Solution
1451
+
1452
+ Add defensive Tailwind utility classes directly to components. These:
1453
+ 1. Reset commonly-polluted properties to safe defaults
1454
+ 2. Use `cn()` (tailwind-merge) so consumer styles via `className` still override them
1455
+ 3. Are no-ops in clean CSS environments (no visual change in Kumo docs)
1456
+
1457
+ ## Changes
1458
+
1459
+ ### Label margins (`m-0`)
1460
+ - **Label**: `labelVariants()` now includes `m-0`
1461
+ - **Field**: `FieldBase.Label` gets `m-0`
1462
+ - **Checkbox**: label wrapper gets `m-0`
1463
+ - **Radio**: label wrapper gets `m-0`
1464
+ - **Switch**: label wrapper gets `m-0`
1465
+
1466
+ ### Button trigger resets
1467
+ - **Tooltip trigger** (when `!asChild`): `bg-transparent border-none shadow-none p-0 m-0 h-auto min-h-0 leading-[0] inline-flex items-center`
1468
+ - **Collapsible trigger**: `bg-transparent border-none shadow-none p-0 m-0`
1469
+
1470
+ ### Link color namespace fix
1471
+ - **Link**: Changed from `text-primary` to `text-kumo-link` to avoid collision with consuming apps that define `--text-color-primary` differently
1472
+
1473
+ ### Label tooltip composition
1474
+ - **Label**: Tooltip trigger now uses `<Button variant="ghost" size="xs" shape="square">` with `asChild`, leveraging composition instead of relying on defensive resets
1475
+
1476
+ ## Docs
1477
+
1478
+ Added "Custom Trigger" section to Tooltip docs demonstrating that `className` can fully override defensive styles when not using `asChild`.
1479
+
1480
+ - c6a3fb3: fix(dropdown): use Base UI CheckboxItemIndicator for proper accessibility
1481
+
1482
+ Replace custom Checkbox component with Base UI's CheckboxItemIndicator in DropdownMenuCheckboxItem. The previous implementation nested an interactive Checkbox inside the menuitemcheckbox role, causing duplicate accessibility labels. CheckboxItemIndicator is automatically aria-hidden and only renders when checked, following the standard Base UI pattern.
1483
+
1484
+ - 1bfffaa: Fix Field error message line height by adding `leading-snug` for consistent text spacing
1485
+ - 5d16fdb: Improve info banner dark mode contrast for WCAG AA compliance. Changes `kumo-info` from `blue-700` (L=48.8%) to `blue-400` (L=70.7%), achieving 7.97:1 contrast ratio against the banner background.
1486
+ - 8b964f5: Fix Combobox.TriggerValue icon misalignment caused by inherited line-height
1487
+
1488
+ The caret icon span was inheriting `line-height` from the parent button's `text-base` class, causing the span's height to exceed the icon's height (e.g., 21.5px vs 16px). The icon sits at the top of the span by default, so when the span is centered via `top-1/2 -translate-y-1/2`, the icon appears offset.
1489
+
1490
+ Added `flex items-center` to the icon wrapper to ensure proper vertical centering regardless of inherited styles. This matches the pattern used in TriggerInput.
1491
+
1492
+ - 529274d: fix(Pagination): use aria-label instead of label for PageSize select
1493
+
1494
+ The Select component now shows visible labels by default. Since Pagination.PageSize
1495
+ already displays "Per page:" text next to the select, the internal Select should use
1496
+ `aria-label` for accessibility without showing a duplicate visible label.
1497
+
1498
+ - 2f0e572: chore(toast): replace inline XIcon with Phosphor icon
1499
+ - ee1099d: Prevent password managers autofilling Pagination input field
1500
+ - 6dc952f: fix(tabs): improve focus ring and hover styling
1501
+ - Fixed focus ring to use proper `ring-kumo-ring` token instead of browser default blue
1502
+ - Segmented variant: inset focus ring to avoid overlap with adjacent tabs, hidden on active tab
1503
+ - Underline variant: added padding for better focus ring spacing around text
1504
+ - Added subtle hover states for both variants
1505
+
1506
+ - 2352344: fix(Tabs): pass TabItem render prop through to Base UI for custom tab rendering (e.g., link-based tabs)
1507
+
1508
+ ## 1.10.0
1509
+
1510
+ ### Minor Changes
1511
+
1512
+ - 5505610: Add Shiki-powered `CodeHighlighted` component for syntax highlighting
1513
+ - **New entry point**: `@fldr/ui/code` - keeps Shiki out of main bundle
1514
+ - **ShikiProvider**: Lazy-loads Shiki on first render, shares instance across all children
1515
+ - **CodeHighlighted**: Syntax highlighting with line numbers, line highlighting, copy button
1516
+ - **Server utilities**: `@fldr/ui/code/server` for SSR/static highlighting
1517
+ - **Themes**: Ships with `github-light` and `vesper` defaults, supports any Shiki theme
1518
+ - **i18n**: Customizable labels via provider or per-component
1519
+ - **CSS customization**: `--kumo-code-highlight-bg` variable for highlight color
1520
+ - **Deprecates**: Legacy `Code` and `CodeBlock` components (will be removed in v2)
1521
+
1522
+ - 003128b: feat(combobox): add size prop with xs, sm, base, lg variants matching Input component
1523
+ - 1cad157: feat(flow): make nested lists work inside parallel nodes
1524
+ - 9d89256: Add `role` prop to Dialog component supporting both `"dialog"` (default) and `"alertdialog"` ARIA roles
1525
+
1526
+ **New Feature:**
1527
+ - `Dialog.Root` now accepts a `role` prop to specify the dialog's ARIA semantics
1528
+ - When `role="alertdialog"` is used, the dialog uses Base UI's AlertDialog primitives for proper accessibility
1529
+ - This provides correct screen reader announcements for confirmation and destructive action dialogs
1530
+
1531
+ **When to use `role="alertdialog"`:**
1532
+ - Destructive actions (delete, discard, remove)
1533
+ - Confirmation flows requiring explicit user acknowledgment
1534
+ - Actions that cannot be undone
1535
+ - Critical warnings or errors
1536
+
1537
+ **Example:**
1538
+
1539
+ ```tsx
1540
+ // Standard dialog (default)
1541
+ <Dialog.Root>
1542
+ <Dialog.Trigger render={(p) => <Button {...p}>Edit</Button>} />
1543
+ <Dialog>...</Dialog>
1544
+ </Dialog.Root>
1545
+
1546
+ // Alert dialog for destructive actions
1547
+ <Dialog.Root role="alertdialog">
1548
+ <Dialog.Trigger render={(p) => <Button variant="destructive" {...p}>Delete</Button>} />
1549
+ <Dialog>...</Dialog>
1550
+ </Dialog.Root>
1551
+ ```
1552
+
1553
+ - e6218d2: Add TimeseriesChart component with ECharts integration, supporting legends, gradient fills, custom axis formatting, loading skeleton state, and configurable color palettes.
1554
+ - a7eb061: feat(select): auto-render options from items prop when children omitted
1555
+
1556
+ The Select component now automatically renders Select.Option elements from the items prop when children are not explicitly provided.
1557
+
1558
+ ### Patch Changes
1559
+
1560
+ - 5943e77: Add missing `success` background and tint semantic color tokens (`bg-kumo-success`, `bg-kumo-success-tint`) for parity with `info`, `warning`, and `danger`. Fix `text-kumo-success` dark mode contrast by using `green-400` instead of `green-500`. Add new `success` Badge variant for positive state indicators.
1561
+ - 35d5c42: fix(breadcrumbs): improve mobile breadcrumb readability
1562
+
1563
+ breadcrumbs now render a compact mobile trail for deeper hierarchies by collapsing early levels to `...` and keeping the trailing path visible. labels in breadcrumb links and the current page now truncate correctly to prevent stacking or overlap on narrow viewports.
1564
+
1565
+ - 02d0d65: fix(badge): prevent crash when unknown variant is passed
1566
+
1567
+ Add defensive fallback to primary variant when an unrecognized variant string is provided to Badge component. This prevents "Cannot read properties of undefined (reading 'classes')" errors when consumers use a variant that doesn't exist in their installed version.
1568
+
1569
+ - 3170d65: fix(code): Fix CodeHighlighted dark mode, layout, and SSR issues
1570
+ - Fix dark mode: Make `<pre>` background transparent so container's `bg-kumo-base` handles theming and border-radius is respected
1571
+ - Fix layout: Wrap Shiki output in overflow container to prevent line highlight negative margins from being clipped
1572
+ - Fix width: Add `w-full` to container for proper full-width display
1573
+ - Fix SSR: Remove `"use client"` directive from `@fldr/ui/code/server` entry point so server utilities work in RSC/SSR contexts
1574
+
1575
+ - 31ce577: fix(CommandPalette): add explicit text-base class to Item component for consistent 14px font size
1576
+ - ee5a632: Fix Select to render description and error when hideLabel is true
1577
+
1578
+ Previously, the `description` and `error` props were silently ignored when
1579
+ `hideLabel` was `true` (the default). Now, helper text and error messages
1580
+ display correctly even when the label is visually hidden.
1581
+
1582
+ - 409d32b: Fix TypeScript errors when consumers type-check their projects with kumo installed.
1583
+
1584
+ Previously, TypeScript would attempt to type-check raw `.tsx` and `.ts` source files
1585
+ shipped in the package (block sources in `dist/src/blocks/`, `ai/schemas.ts`, and
1586
+ `scripts/theme-generator/*.ts`), causing build failures in downstream projects.
1587
+
1588
+ This change:
1589
+ - Moves block source files to a separate `dist/blocks-source/` directory
1590
+ - Compiles `ai/schemas.ts` and `scripts/theme-generator/*.ts` to JavaScript
1591
+ - Updates package exports to point to compiled `.js` files with proper `.d.ts` types
1592
+
1593
+ - 7816318: fix(inputs): expand small control hit areas
1594
+ - e7f0c80: Fix pagination component to properly wrap numbers in `tabular-nums` class for consistent number alignment. Both the page range and total count now use tabular numerals.
1595
+ - c0341b4: Simplify Select placeholder implementation by using Base UI's native placeholder prop on SelectBase.Value instead of manually injecting placeholder items into the items array. This provides a cleaner, more intuitive API that aligns with standard HTML select behavior while maintaining backward compatibility with the null-value placeholder pattern.
1596
+ - 35d5c42: fix(breadcrumbs): enhance mobile breadcrumb display for better readability
1597
+ - abb7f8c: Add `variant="compact"` prop to Table.Header for a more condensed header style
1598
+ - 8972cc4: Fix Combobox group label styling to use semantic token and correct padding
1599
+ - bb49d4b: Standardize z-index usage with isolation containment
1600
+ - Add `isolation: isolate` to components with internal stacking (Tabs, MenuBar, InputGroup, Flow/Parallel)
1601
+ - Simplify internal z-index values to `z-0`/`z-1`/`z-2` instead of arbitrary values like `z-10`/`z-20`
1602
+ - Remove superfluous `z-10` from CommandPalette List
1603
+ - Update Toast viewport to `z-1` (matching Base UI's documented pattern)
1604
+ - Update ClipboardText viewport to use `isolate` instead of `z-50`
1605
+
1606
+ This prevents z-index values from leaking outside component boundaries.
1607
+
1608
+ ## 1.9.0
1609
+
1610
+ ### Minor Changes
1611
+
1612
+ - 23865db: feat(dropdown): add LinkItem for navigation links and fix icon rendering
1613
+
1614
+ **New Features:**
1615
+ - Add `DropdownMenu.LinkItem` for navigation links (semantic `<a>` element with proper menu item behavior)
1616
+ - Upgrade `@base-ui/react` from 1.0.0 to 1.2.0
1617
+ - Add new primitives: `csp-provider` and `drawer` from Base UI 1.2.0
1618
+
1619
+ **Bug Fixes:**
1620
+ - Fix `icon` prop not rendering on `DropdownMenu.Item` when no `href` is provided
1621
+
1622
+ **Deprecations:**
1623
+ - `href` prop on `DropdownMenu.Item` is deprecated. Use `DropdownMenu.LinkItem` instead.
1624
+
1625
+ **Migration:**
1626
+
1627
+ ```tsx
1628
+ // Before (deprecated)
1629
+ <DropdownMenu.Item href="https://example.com">Link</DropdownMenu.Item>
1630
+
1631
+ // After (recommended)
1632
+ <DropdownMenu.LinkItem href="https://example.com" target="_blank">
1633
+ Link
1634
+ </DropdownMenu.LinkItem>
1635
+ ```
1636
+
1637
+ `DropdownMenu.LinkItem` gives you full control over link attributes (`target`, `rel`, etc.) without the component making assumptions about your intent.
1638
+
1639
+ - 68c2f0d: Add `positionMethod` prop to `Popover.Content` to control CSS positioning strategy. Use `"fixed"` when the popover needs to escape stacking contexts (e.g., inside sticky headers). Defaults to `"absolute"`.
1640
+
1641
+ ### Patch Changes
1642
+
1643
+ - 89cb5ec: Improve Flow diagram components with disabled node support and better connector rendering:
1644
+ - Add `disabled` prop to FlowNode for greying out connectors
1645
+ - Add `align` prop to FlowParallelNode for start/end alignment
1646
+ - Improve connector path rendering with smarter junction detection
1647
+ - Fix panning behavior to not interfere with node interactions
1648
+
1649
+ ## 1.8.0
1650
+
1651
+ ### Minor Changes
1652
+
1653
+ - cf4ff38: Refactor Banner component with softer styling and i18n-friendly props
1654
+ - Added `title` and `description` props for structured content with i18n support
1655
+ - Softened visual appearance: reduced background opacity (20% -> 10%), muted border colors
1656
+ - Text now uses `text-kumo-default` for readability, with colored icons for variant indication
1657
+ - Added `iconClasses` to variant config for per-variant icon coloring
1658
+ - Component now uses `forwardRef` and sets `displayName` per conventions
1659
+ - Deprecated `children` and `text` props in favor of `title`/`description`
1660
+ - Legacy `children` prop still works for backwards compatibility
1661
+
1662
+ ### Patch Changes
1663
+
1664
+ - 0ca3b05: Fix Checkbox ring color to use `ring-kumo-contrast` when checked or indeterminate
1665
+ - f69df6d: Fix Combobox dropdown scrolling regression and improve scroll behavior.
1666
+
1667
+ **Bug fix:** The `overflow-hidden` class was accidentally re-introduced during a semantic color token migration, which overrode `overflow-y-auto` and caused dropdown content to be clipped instead of scrollable.
1668
+
1669
+ **Improvement:** Restructured Combobox.Content to use flexbox layout so that when using `Combobox.Input` inside the dropdown (searchable popup pattern), the input stays fixed at the top while only the list scrolls. Previously, the entire popup content would scroll together.
1670
+
1671
+ **Scrollbar fix:** Moved horizontal padding from the popup container to individual child components, so the scrollbar renders flush with the popup edge instead of being inset (which was clipping the checkmark indicators).
1672
+
1673
+ ## 1.7.0
1674
+
1675
+ ### Minor Changes
1676
+
1677
+ - d9b6498: feat(flow): add FlowDiagram components for building directed flow diagrams
1678
+
1679
+ New components for visualizing workflows and data flows:
1680
+ - `FlowDiagram` - Root container with pan/scroll support for large diagrams
1681
+ - `FlowNode` - Individual node with automatic connector points
1682
+ - `FlowNode.Anchor` - Custom attachment points for connectors within nodes
1683
+ - `FlowParallelNode` - Container for parallel branches with junction connectors
1684
+
1685
+ Adds `motion` as a new dependency for smooth panning interactions.
1686
+
1687
+ ### Patch Changes
1688
+
1689
+ - 835a7c0: Deprecate DateRangePicker in favor of DatePicker with `mode="range"`
1690
+ - Added `@deprecated` JSDoc comments to DateRangePicker component and its exports
1691
+ - IDEs will now show deprecation warnings guiding users to use DatePicker instead
1692
+
1693
+ - 391f13a: Prevented ClipboardText from overflowing with long text values.
1694
+ - d0e1d29: chore(kumo): add test scripts to root package.json
1695
+
1696
+ ## 1.6.0
1697
+
1698
+ ### Minor Changes
1699
+
1700
+ - 50d4251: Add DatePicker component built on react-day-picker v9
1701
+
1702
+ **New Component: DatePicker**
1703
+ - Three selection modes: `single`, `multiple`, and `range`
1704
+ - Forwards all react-day-picker props for maximum flexibility
1705
+ - Styled with Kumo tokens (no external CSS import needed)
1706
+ - Supports localization via date-fns locales
1707
+ - Supports timezone via `timeZone` prop
1708
+ - Custom modifiers for highlighting specific dates
1709
+ - Footer prop for messages/usage limits
1710
+ - Accessible keyboard navigation with Kumo-styled focus rings
1711
+
1712
+ **Usage:**
1713
+
1714
+ ```tsx
1715
+ // Single date
1716
+ <DatePicker mode="single" selected={date} onSelect={setDate} />
1717
+
1718
+ // Multiple dates
1719
+ <DatePicker mode="multiple" selected={dates} onSelect={setDates} max={5} />
1720
+
1721
+ // Date range
1722
+ <DatePicker mode="range" selected={range} onSelect={setRange} numberOfMonths={2} />
1723
+ ```
1724
+
1725
+ **Composing with Popover:**
1726
+
1727
+ ```tsx
1728
+ <Popover>
1729
+ <Popover.Trigger asChild>
1730
+ <Button variant="outline" icon={CalendarDotsIcon}>
1731
+ Pick a date
1732
+ </Button>
1733
+ </Popover.Trigger>
1734
+ <Popover.Content className="p-3">
1735
+ <DatePicker mode="single" selected={date} onSelect={setDate} />
1736
+ </Popover.Content>
1737
+ </Popover>
1738
+ ```
1739
+
1740
+ **Note:** Consider using `DatePicker` with `mode="range"` instead of `DateRangePicker` for new projects - it offers more flexibility and a smaller bundle size.
1741
+
1742
+ **Internal changes:**
1743
+ - Added `react-day-picker` v9 as a dependency
1744
+ - Updated lint rule to allow components without KUMO\_\*\_VARIANTS exports
1745
+ - Updated component registry codegen to handle variant-less components
1746
+ - Disabled `jsx-a11y/no-autofocus` rule (intentional prop forwarding)
1747
+
1748
+ - 93361ed: feat(clipboard-text): add slide animation with tooltip on copy
1749
+
1750
+ ### Patch Changes
1751
+
1752
+ - c71bd9b: Updated the MenuBar so its child buttons align with the container’s outer corners.
1753
+ - 46ecf42: Fix `kumo add` to consolidate imports from `@fldr/ui` into a single statement using inline `type` syntax.
1754
+
1755
+ Previously, running `kumo add DeleteResource` would produce non-conformant code with duplicate imports:
1756
+
1757
+ ```typescript
1758
+ import { Dialog, DialogRoot } from "@fldr/ui";
1759
+ import { Input } from "@fldr/ui";
1760
+ import { Button } from "@fldr/ui";
1761
+ ```
1762
+
1763
+ Now it produces a single consolidated import:
1764
+
1765
+ ```typescript
1766
+ import {
1767
+ Dialog,
1768
+ DialogRoot,
1769
+ Input,
1770
+ Button,
1771
+ type DialogProps,
1772
+ } from "@fldr/ui";
1773
+ ```
1774
+
1775
+ This satisfies ESLint's `import/no-duplicates` rule with `prefer-inline: true`.
1776
+
1777
+ - a9167fa: Fix z-index stacking issues with nested portaled components (e.g., Select inside Dialog)
1778
+ - Remove unnecessary z-index values from Dialog, Select, Combobox, and Dropdown
1779
+ - Delete `.z-modal { z-index: 9999 }` - DOM order now handles stacking naturally
1780
+ - Components opened later correctly appear on top without z-index wars
1781
+
1782
+ - f02494d: fix(dropdown): improve external link detection to handle http:// and protocol-relative urls
1783
+
1784
+ updated the external link check to use a regex that matches `https://`, `http://`, and protocol-relative URLs (`//`). previously only `https://` links opened in a new tab.
1785
+
1786
+ ## 1.5.1
1787
+
1788
+ ### Patch Changes
1789
+
1790
+ - 2c8a5ad: Changed ClipboardIcon to CopyIcon in ClipboardText component
1791
+ - 31cc2e1: Fix AI command USAGE.md path resolution to work correctly from bundled dist output
1792
+ - 1ae7dfd: fix(cli): include block source files in build for `kumo add` command
1793
+
1794
+ The `kumo add` command was failing because block source files (`.tsx`) were not being copied to `dist/` during the build process. This adds copying of block source files from `src/blocks/` to `dist/src/blocks/` so the CLI can install them into user projects.
1795
+
1796
+ - fa3eba3: fix(Table): Add indeterminate prop and fix checkbox click handling
1797
+ - Added `indeterminate` prop to `Table.CheckHead` and `Table.CheckCell` components to support indeterminate checkbox state (shows minus icon when some but not all rows are selected)
1798
+ - Fixed checkbox click handling - clicking directly on the checkbox now works correctly (previously only clicking the cell area next to the checkbox worked)
1799
+ - Updated Table demos (`TableSelectedRowDemo` and `TableFullDemo`) with proper React state management for interactive row selection
1800
+
1801
+ - 3bc976e: fix: delete-resource shouldn't nest buttons within each other
1802
+ - 752fdf1: support overwriting text in pagination component
1803
+
1804
+ ## 1.5.0
1805
+
1806
+ ### Minor Changes
1807
+
1808
+ - d7a6da3: fix(cli): resolve broken doc/docs/ls commands by fixing registry path from catalog/ to ai/
1809
+ fix(dialog): wrap sub-components to isolate @base-ui/react type references from downstream consumers
1810
+ fix(label): render as `<label>` element with htmlFor support instead of `<span>`
1811
+ feat(input): add Textarea alias for InputArea
1812
+ feat(toast): add ToastProvider alias for Toasty
1813
+ feat(button): require aria-label on icon-only buttons (shape="square" | "circle") via discriminated union
1814
+ fix(docs): add Tailwind 4 @source directive to usage example, add confirmation dialog recipe, update Select basic example, document icon-only button aria-label pattern
1815
+
1816
+ ## 1.4.1
1817
+
1818
+ ### Patch Changes
1819
+
1820
+ - b64847d: fix: CLI commands now find component registry and run codegen:registry before publish
1821
+ - ea583d8: fix(cli): resolve registry path for docs and ls commands
1822
+
1823
+ ## 1.4.0
1824
+
1825
+ ### Minor Changes
1826
+
1827
+ - 71d667b: Add CloudflareLogo component with glyph and full logo variants, color schemes (brand/black/white), and exported SVG path data for custom implementations
1828
+
1829
+ ### Patch Changes
1830
+
1831
+ - 262e0e6: Replace `.toSorted()` with `.sort()` on spread copies to fix TypeError on Chrome <110
1832
+
1833
+ ## 1.3.0
1834
+
1835
+ ### Minor Changes
1836
+
1837
+ - 6a40edf: add 'Delete Resource' block
1838
+
1839
+ ## 1.2.0
1840
+
1841
+ ### Minor Changes
1842
+
1843
+ - 833ce8b: Add variant support, custom content, and action buttons to Toast component.
1844
+
1845
+ ### Patch Changes
1846
+
1847
+ - d10c711: "fix: adjusted bullet size for sensitive input"
1848
+
1849
+ ## 1.1.0
1850
+
1851
+ ### Minor Changes
1852
+
1853
+ - 001f9e7: fixes to figma plugin init + zod v4 in kumo
1854
+
1855
+ ### Patch Changes
1856
+
1857
+ - 6dc9a73: Fix `kumo` CLI bin resolution in repo checkouts so `pnpm install` doesn't warn when `dist/` hasn't been built yet.
1858
+
1859
+ ## 1.0.0
1860
+
1861
+ ### Major Changes
1862
+
1863
+ - 11e62a2: # Kumo 1.0.0 Release
1864
+
1865
+ The first stable release of Kumo, Cloudflare's component library.
1866
+
1867
+ ## Breaking Changes
1868
+
1869
+ ### Blocks Distribution via CLI
1870
+
1871
+ Blocks (`PageHeader`, `ResourceListPage`) are no longer exported from `@fldr/ui`. They must now be installed via the CLI:
1872
+
1873
+ ```bash
1874
+ npx @fldr/ui init # Initialize kumo.json
1875
+ npx @fldr/ui add PageHeader
1876
+ ```
1877
+
1878
+ Blocks are copied to your project for full customization with imports automatically transformed to `@fldr/ui`.
1879
+
1880
+ ### Checkbox API Changes
1881
+ - **Ref type changed**: `HTMLInputElement` → `HTMLButtonElement`
1882
+ - **Props changed**: No longer extends `InputHTMLAttributes` (explicit props only)
1883
+ - **Handler renamed**: `onChange`/`onValueChange` → `onCheckedChange` (deprecated handlers still work)
1884
+
1885
+ ### Banner API Deprecation
1886
+
1887
+ The `text` prop is deprecated in favor of `children`:
1888
+
1889
+ ```tsx
1890
+ // Before (deprecated)
1891
+ <Banner text="Your message" />
1892
+
1893
+ // After (preferred)
1894
+ <Banner>Your message</Banner>
1895
+ ```
1896
+
1897
+ ## New Features
1898
+ - **Link component**: Inline text links with Base UI composition API and `render` prop for framework routing
1899
+ - **DropdownMenu enhancements**: Nested submenus (`Sub`, `SubTrigger`, `SubContent`) and radio items (`RadioGroup`, `RadioItem`)
1900
+ - **Grid component**: New layout primitive
1901
+ - **Theme generator**: Config-driven token definitions with consolidated semantic color system
1902
+ - **Component catalog**: Visibility controls for documentation
1903
+ - **Deprecated props lint rule**: `kumo/no-deprecated-props` detects `@deprecated` JSDoc tags
1904
+
1905
+ ## Fixes
1906
+ - Dropdown danger variant color contrast
1907
+ - Tabs segmented indicator border radius
1908
+ - Combobox dropdown scrolling
1909
+ - Primary button hover/focus contrast
1910
+
1911
+ ## Migration Guide
1912
+
1913
+ ### Blocks
1914
+
1915
+ If you were using blocks (note: they were never officially exported):
1916
+
1917
+ ```bash
1918
+ # 1. Initialize configuration
1919
+ npx @fldr/ui init
1920
+
1921
+ # 2. Install blocks
1922
+ npx @fldr/ui add PageHeader
1923
+ npx @fldr/ui add ResourceListPage
1924
+
1925
+ # 3. Update imports to the local path shown after installation
1926
+ ```
1927
+
1928
+ ### Checkbox
1929
+
1930
+ ```tsx
1931
+ // Before
1932
+ <Checkbox onChange={(e) => setValue(e.target.checked)} />;
1933
+ const ref = useRef<HTMLInputElement>(null);
1934
+
1935
+ // After
1936
+ <Checkbox onCheckedChange={(checked) => setValue(checked)} />;
1937
+ const ref = useRef<HTMLButtonElement>(null);
1938
+ ```
1939
+
1940
+ ### Banner
1941
+
1942
+ ```tsx
1943
+ // Before (still works, but deprecated)
1944
+ <Banner text="Your message" />
1945
+
1946
+ // After
1947
+ <Banner>Your message</Banner>
1948
+ ```
1949
+
1950
+ ### Minor Changes
1951
+
1952
+ - 3a28186: feat(banner): add children prop, deprecate text prop
1953
+
1954
+ Banner now supports `children` for content, which is the preferred API. The `text` prop is deprecated but still works for backwards compatibility.
1955
+
1956
+ ```tsx
1957
+ // Preferred (new)
1958
+ <Banner>Your message</Banner>
1959
+ <Banner icon={<Icon />}>Your message</Banner>
1960
+
1961
+ // Deprecated (still works)
1962
+ <Banner text="Your message" />
1963
+ ```
1964
+
1965
+ The `text` prop will be removed in a future major version.
1966
+
1967
+ - 2de0c7b: feat(cli): blocks are now distributed via CLI instead of npm exports
1968
+
1969
+ New CLI commands for block management:
1970
+ - `kumo init` - Initialize kumo.json configuration file
1971
+ - `kumo blocks` - List all available blocks for CLI installation
1972
+ - `kumo add <block-name>` - Install a block to your project with transformed imports
1973
+
1974
+ Blocks are copied to your project for full customization, with relative imports automatically converted to `@fldr/ui`.
1975
+
1976
+ - 08c4426: Add lint rule to detect usage of deprecated props on Kumo components.
1977
+ - New `kumo/no-deprecated-props` lint rule automatically detects deprecated props from `@deprecated` JSDoc tags
1978
+ - Component registry now includes `deprecated` field for props with `@deprecated` annotations
1979
+ - Docs site shows strikethrough and `@deprecated` badge for deprecated props in API reference tables
1980
+
1981
+ To deprecate a prop, add a JSDoc comment:
1982
+
1983
+ ```tsx
1984
+ interface MyComponentProps {
1985
+ /** @deprecated Use `newProp` instead */
1986
+ oldProp?: string;
1987
+ }
1988
+ ```
1989
+
1990
+ The lint rule will flag usage and show a helpful message:
1991
+
1992
+ ```
1993
+ The `oldProp` prop on <MyComponent> is deprecated. Use `newProp` instead.
1994
+ ```
1995
+
1996
+ - 604fa9a: Add nested menu (submenu) and RadioGroup/RadioItem support to DropdownMenu
1997
+ - Add `DropdownMenu.Sub`, `DropdownMenu.SubTrigger`, and `DropdownMenu.SubContent` for nested submenus
1998
+ - Add `DropdownMenu.RadioGroup`, `DropdownMenu.RadioItem`, and `DropdownMenu.RadioItemIndicator` for single-selection menus
1999
+ - Fix `SubTrigger` styling to match `Item` component
2000
+ - Fix focus ring on dropdown popup
2001
+ - Add Storybook stories demonstrating nested menus and radio items
2002
+ - Update Astro docs with examples and API reference
2003
+
2004
+ - 98116b2: fix(checkbox): make label clickable, add new `onCheckedChange` API
2005
+ - Clicking the label now toggles the checkbox
2006
+ - New `onCheckedChange` callback (preferred over deprecated `onChange`/`onValueChange`)
2007
+ - Ref type is now `HTMLButtonElement` (aligns with Base UI implementation)
2008
+
2009
+ - 2c7f957: Add Link component with Base UI composition API
2010
+ - New `Link` component for consistent inline text links
2011
+ - Supports `render` prop for composition with framework-specific links (e.g., React Router)
2012
+ - Uses Base UI's `useRender` hook for proper ref/event merging
2013
+ - Three variants: `inline` (default), `current`, and `plain`
2014
+ - `Link.ExternalIcon` subcomponent for external link indicators
2015
+ - Integrates with `LinkProvider` for framework-agnostic routing
2016
+
2017
+ - 2de0c7b: feat: theme generator, color token consolidation, component catalog
2018
+ - New theme generator system with config-driven token definitions
2019
+ - Consolidated semantic color tokens with config.ts as single source of truth
2020
+ - New component catalog system with visibility controls
2021
+ - Added Grid component
2022
+ - Updated Figma plugin generators for new semantic tokens
2023
+ - Migrated documentation from Storybook to Astro
2024
+
2025
+ - 7d4a4e0: run component-registry when starting docs site
2026
+
2027
+ ### Patch Changes
2028
+
2029
+ - 2de0c7b: Fix color contrast issue in Dropdown danger variant by using subtle bg-kumo-danger/5 background instead of bg-kumo-danger-tint, improving readability while maintaining the visual "danger" cue
2030
+ - 8cf48b7: Add render prop for Tabs component
2031
+ - d071bc8: Fix Combobox dropdown not scrolling when it has many items. The `overflow-hidden` class was overriding `overflow-y-auto`, causing content to be clipped instead of scrollable.
2032
+ - 80c6470: fix: improve primary button hover/focus contrast by using bg-hover-selected instead of bg-primary/70
2033
+ - 3a2e265: Adds disabled prop for table cell checkboxes
2034
+ - e9fe499: fix(tabs): adjust segmented indicator border radius for proper visual nesting
2035
+
2036
+ ## 0.7.0
2037
+
2038
+ ### Minor Changes
2039
+
2040
+ - d04c91f: Ship component registry with @fldr/ui module
2041
+ - 0e246bf: feat(popover): Add new Popover component
2042
+
2043
+ Adds a new Popover component based on Base UI's popover primitive. The Popover provides an accessible popup anchored to a trigger element, with support for:
2044
+ - Compound component API: `Popover`, `Popover.Trigger`, `Popover.Content`, `Popover.Title`, `Popover.Description`, `Popover.Close`
2045
+ - Positioning options: `side` (top, bottom, left, right), `align` (start, center, end), `sideOffset`
2046
+ - Click-to-open by default, with optional `openOnHover` behavior
2047
+ - Controlled mode via `open` and `onOpenChange` props
2048
+ - Visual styling matching the updated Tooltip component (surface-aware background, proper light/dark mode support)
2049
+
2050
+ ### Patch Changes
2051
+
2052
+ - d04c91f: Migrate documentation site from React Router (`kumo-docs`) to Astro (`kumo-docs-astro`) as the primary docs platform, consolidate CI/CD pipelines, and add version display features.
2053
+
2054
+ Bump node to v24.12.0
2055
+
2056
+ ## 0.6.0
2057
+
2058
+ ### Minor Changes
2059
+
2060
+ - 46236bd: Add Figma plugin for UI kit generation
2061
+ - New plugin at `packages/figma/` (`@cloudflare/figma-plugin`)
2062
+ - Generates 29 component types: Badge, Banner, Button, Checkbox, Code, CodeBlock, Collapsible, Combobox, DateRangePicker, Dialog, Dropdown, Icon Library, Input, InputArea, LayerCard, LinkButton, Loader, MenuBar, Meter, Pagination, RefreshButton, Select, SensitiveInput, Surface, Switch, Switch.Group, Tabs, Text, Toast
2063
+ - Each component generated with light and dark mode sections
2064
+ - Icon Library generator creates all Phosphor and Cloudflare brand icons
2065
+ - Parses component-registry.json and source files for variant specs
2066
+ - Extracts opacity modifiers from Tailwind classes (bg-kumo-brand/70 → opacity-primary-70)
2067
+ - Binds fills/strokes to kumo-colors variables
2068
+ - Includes progress UI and validation output
2069
+
2070
+ - 4266f72: feat(kumo): add command-palette component
2071
+ - 4ac5fbe: semantic color changes and more consolidation for non-text colors
2072
+ - 009097d: feat(tooltip): Update tooltip to use bg-kumo-base with proper light/dark mode support
2073
+
2074
+ Changes the tooltip background from a fixed dark color to a surface-aware background that adapts to light and dark modes. Implements Base UI's 3-path arrow SVG approach for pixel-perfect border alignment across color modes.
2075
+
2076
+ ### Patch Changes
2077
+
2078
+ - 50dae6f: fix(kumo): updated version in package.json (unintentionally downgraded)
2079
+
2080
+ ## 0.5.0
2081
+
2082
+ ### Minor Changes
2083
+
2084
+ - ee744b3: feat(PageHeader): add optional title and description props
2085
+ - Adds `title?: string` and `description?: string` props to PageHeader block
2086
+ - Title renders as semantic h1 for Section 508 and WCAG 2.4.2 (Level A) compliance: "Web pages have titles that describe topic or purpose"
2087
+ - Description uses max-w-prose (65ch) for optimal readability per industry standards
2088
+ - Styling matches Stratus Workers & Pages implementation
2089
+ - Includes comprehensive Storybook examples (WithTitle, WithTitleAndDescription, CompleteExample)
2090
+
2091
+ ## Why This Feature Matters
2092
+
2093
+ **Without this feature**, pages using only PageHeader would lack a semantic page title (h1), requiring developers to manually add titles elsewhere. This creates:
2094
+ - ❌ Risk of Section 508 and WCAG 2.4.2 violations
2095
+ - ❌ Compliance risk for FedRAMP High authorization (requires Section 508 conformance)
2096
+ - ❌ Inconsistent title placement across pages
2097
+ - ❌ Additional implementation burden on every page
2098
+
2099
+ **With this feature**, PageHeader provides a standardized way to include accessible page titles that:
2100
+ - ✅ Render as semantic h1 elements (required by Section 508 and WCAG 2.4.2)
2101
+ - ✅ Visually differentiate from breadcrumbs
2102
+ - ✅ Work correctly with screen readers and assistive technology
2103
+ - ✅ Maintain consistency across the dashboard
2104
+ - ✅ Support FedRAMP High compliance requirements
2105
+
2106
+ ### Important: Breadcrumbs Are Not Page Titles
2107
+
2108
+ Breadcrumbs serve navigation purposes and cannot replace semantic page titles. Both should coexist:
2109
+ - **Page title (h1)**: Primary orientation, required for accessibility
2110
+ - **Breadcrumb trail**: Secondary navigation showing site hierarchy
2111
+ - **Visual differentiation**: Size, weight, and placement distinguish the two
2112
+
2113
+ ### References
2114
+ - [Section 508 Standards](https://www.access-board.gov/ict/) - Requires WCAG 2.0 Level A and AA conformance
2115
+ - [WCAG 2.4.2: Page Titled](https://www.w3.org/WAI/WCAG21/Understanding/page-titled.html) - Level A requirement
2116
+
2117
+ - b4a817f: Add table component
2118
+ - Introduce new Table component with row variants and styling options
2119
+ - Add Table documentation and examples to `kumo-docs`
2120
+
2121
+ - 0e5cf84: lighter red in light mode
2122
+ - 6c94137: Add Label component with standardized label features for form fields
2123
+ - New Label component with support for ReactNode children, optional indicator, and tooltip
2124
+ - Enhanced form components (Input, Select, Checkbox, Switch, SensitiveInput, Combobox) with:
2125
+ - `label` prop now accepts ReactNode (not just strings)
2126
+ - `required={false}` shows "(optional)" text
2127
+ - `labelTooltip` prop for info icon with hover tooltip
2128
+ - Updated Field component to use Label internally
2129
+ - Added Label documentation page to kumo-docs
2130
+
2131
+ - 742dc89: Add Radio component for single-selection from a set of options
2132
+ - New `Radio.Group` and `Radio.Item` compound components built on Base UI primitives
2133
+ - Supports vertical and horizontal orientations
2134
+ - Includes error, description, and disabled states
2135
+ - `controlPosition` prop for label placement ("start" or "end")
2136
+ - Full accessibility support with semantic HTML and keyboard navigation
2137
+ - Documentation added to both kumo-docs and kumo-docs-astro sites
2138
+
2139
+ - 872ef11: Add Storybook preview deployments and MR reporter system
2140
+ - Storybook previews deploy to Cloudflare Workers on MR commits
2141
+ - Staging deployment to `storybook.staging.kumo-ui.com` on merge to main
2142
+ - Consolidated MR comments with beta npm version and preview URL
2143
+
2144
+ - 9537114: Add variant prop to Tabs component with 'segmented' (default) and 'underline' options
2145
+
2146
+ ### Patch Changes
2147
+
2148
+ - 7c2e8dd: Fix label not appearing in Combobox unless a description or error given.
2149
+ - 5bdfae9: fix bug where delete user external links were being treated as internal navigation and appending urls to domain
2150
+ - d598621: Fix Base UI nativeButton warning in Switch component by adding nativeButton prop to BaseSwitch.Root
2151
+ - e613876: Update deployment configs to enable preview urls
2152
+ - d9add6b: added a next / previous form of pagination
2153
+ - 356d1e6: Modernize Active Sessions page with updated Kumo design patterns
2154
+ - 5b256bd: - Align border color with sidebar
2155
+ - Center arrow icon in select component
2156
+ - d998518: Add `bg-kumo-base` as default background for Surface component
2157
+
2158
+ ## 0.4.0
2159
+
2160
+ ### Minor Changes
2161
+
2162
+ - 010d1f0: Fix Combobox button styles
2163
+ - 933fdf2: Migrate to @base-ui/react V1
2164
+
2165
+ **Breaking Change:** Updated from `@base-ui-components/react` to the new `@base-ui/react` V1 package.
2166
+
2167
+ ## What Changed
2168
+ - **Package name:** `@base-ui-components/react` → `@base-ui/react`
2169
+ - **Version:** `^1.0.0-rc.0` > `^1.0.0`
2170
+ - All component imports updated to use the new package
2171
+ - All primitive re-exports updated to use the new package
2172
+ - Build configuration updated to bundle the new package
2173
+
2174
+ ## Migration Required
2175
+
2176
+ This is a **major version bump** because the underlying Base UI package has changed. While the Kumo API remains the same, you'll need to:
2177
+ 1. **Update dependencies:**
2178
+ ```bash
2179
+ pnpm install
2180
+ ```
2181
+ 2. **No code changes needed** - All Kumo components and primitives work exactly the same way. The package name change is internal to Kumo.
2182
+
2183
+ ## For Kumo Maintainers
2184
+
2185
+ After merging this PR, run:
2186
+
2187
+ ```bash
2188
+ # Install the new @base-ui/react package
2189
+ pnpm install
2190
+
2191
+ # Regenerate primitive files with new package references
2192
+ pnpm --filter @fldr/ui build:primitives
2193
+
2194
+ # Rebuild the package
2195
+ pnpm --filter @fldr/ui build
2196
+
2197
+ # Run tests to verify everything works
2198
+ pnpm --filter @fldr/ui test:run
2199
+ ```
2200
+
2201
+ ## Technical Details
2202
+ - Updated all imports from `@base-ui-components/react/*` to `@base-ui/react/*`
2203
+ - Updated `generate-primitives.ts` script to reference new package
2204
+ - Updated test files to check for new package name
2205
+ - Updated `vite.config.ts` manualChunks to match new package name
2206
+ - All 37 primitives will be regenerated with new imports
2207
+
2208
+ - 731e636: Add built-in Field integration to form components with automatic layout
2209
+
2210
+ **New Features:**
2211
+ - Input, InputArea, SensitiveInput, Select, Checkbox, Switch, and Combobox now accept `label`, `description`, and `error` props for built-in Field wrapper support
2212
+ - Automatic CSS-driven layout: vertical for text inputs, horizontal for checkboxes/switches using `:has()` selectors
2213
+ - Checkbox.Group and Switch.Group compound components for managing multiple related controls with shared legend/description/error
2214
+ - Storybook Code Panel enabled for better component code examples
2215
+
2216
+ **Accessibility:**
2217
+ - Runtime console warnings (dev-only) when Input/Checkbox lack accessible names (label, aria-label, or aria-labelledby)
2218
+ - Comprehensive JSDoc documentation with accessibility guidance and examples
2219
+
2220
+ **Breaking Changes:**
2221
+ - Field component removed from public API (now internal implementation detail - use component props instead)
2222
+
2223
+ **Migration:**
2224
+
2225
+ ```tsx
2226
+ // Before: Explicit Field wrapper
2227
+ <Field label="Email" description="...">
2228
+ <Input placeholder="you@example.com" />
2229
+ </Field>
2230
+
2231
+ // After: Built-in Field API (recommended)
2232
+ <Input
2233
+ label="Email"
2234
+ description="..."
2235
+ placeholder="you@example.com"
2236
+ />
2237
+ ```
2238
+
2239
+ - 1db802c: change error color for text component to match field input error colors
2240
+ - 45ccaec: secondary-destructive button variant
2241
+ - ccc03dc: fix: update changeset validation logic
2242
+ - 2f91f1f: - Complete semantic color tokens migrated from Stratus app
2243
+ - Document color and text-color tokens in Storybook
2244
+ - Add accessibility tests via Storybook Vitest addon
2245
+ - Add component-metadata generator for AI tooling
2246
+ - Enable linting in CI/CD (passing)
2247
+ - Apply Prettier Tailwind plugin for consistent class ordering
2248
+ - Use pnpm catalog for shared package versions
2249
+ - Semantic colors now scoped to `[data-theme]` and `[data-mode]` attributes
2250
+ - Consumers must ensure root element has these attributes for proper theming
2251
+
2252
+ ### Migration Guide
2253
+
2254
+ Add `data-theme` and `data-mode` attributes to your root element:
2255
+
2256
+ ```tsx
2257
+ // React example
2258
+ <html data-theme="kumo" data-mode={isDark ? "dark" : "light"}>
2259
+
2260
+ // Static HTML
2261
+ <html data-theme="kumo" data-mode="light">
2262
+ ```
2263
+
2264
+ - **`data-theme`**: Set to `"kumo"` (default theme) or other theme variants like `"fedramp"`
2265
+ - **`data-mode`**: Set to `"light"` or `"dark"` to control color scheme
2266
+
2267
+ If no `data-mode` is set, the system defaults to light mode.
2268
+
2269
+ - ad3c8fa: tab and text style fixes; storybook theme select always visible
2270
+ - 731e636: inputs with built-in fields
2271
+ - 933fdf2: Bundle Base UI primitives with granular exports and fix critical compatibility issues
2272
+
2273
+ ## Primitives: Granular Exports
2274
+
2275
+ Added granular exports for all 37 Base UI primitives alongside the existing barrel export. This enables better tree-shaking and smaller bundle sizes when using individual primitives.
2276
+
2277
+ ```tsx
2278
+ // Barrel export (imports all primitives)
2279
+ import { Slider, Popover, Tooltip } from "@fldr/ui/primitives";
2280
+
2281
+ // Granular exports (tree-shakeable, recommended)
2282
+ import { Slider } from "@fldr/ui/primitives/slider";
2283
+ import { Popover } from "@fldr/ui/primitives/popover";
2284
+ ```
2285
+
2286
+ **Available primitives:** accordion, alert-dialog, autocomplete, avatar, button, checkbox, checkbox-group, collapsible, combobox, context-menu, dialog, direction-provider, field, fieldset, form, input, menu, menubar, meter, navigation-menu, number-field, popover, preview-card, progress, radio, radio-group, scroll-area, select, separator, slider, switch, tabs, toast, toggle, toggle-group, toolbar, tooltip.
2287
+
2288
+ ## Build Output Improvements
2289
+
2290
+ Fixed critical compatibility issues with Jest and React Server Components by improving the build configuration.
2291
+
2292
+ ### Problems Fixed
2293
+ 1. **Jest Parsing Errors** - The previous build used `preserveModules: true`, which preserved the pnpm directory structure (`node_modules/.pnpm/`) in dist. This caused Jest to fail parsing ESM imports because Jest's `transformIgnorePatterns` blocks nested `node_modules` by default.
2294
+ 2. **Missing "use client" Directives** - The `rollup-plugin-preserve-directives` plugin only works with `preserveModules: true`. When bundling with `preserveModules: false`, all "use client" directives were stripped, breaking components in Next.js App Router (RSC).
2295
+
2296
+ ### Solutions Implemented
2297
+ - **Flat bundle structure** - Changed to `preserveModules: false` to eliminate nested `node_modules/.pnpm/` paths
2298
+ - **"use client" injection** - Added `output.banner` to inject the directive into all output chunks (since the plugin doesn't work without preserveModules)
2299
+ - **Manual code splitting** - Implemented `manualChunks` to split large vendor dependencies for better caching:
2300
+ - `vendor-base-ui` (598 KB, 152 KB gzipped) - Base UI components
2301
+ - `vendor-styling` (74 KB, 13 KB gzipped) - clsx + tailwind-merge
2302
+ - `vendor-floating-ui` (33 KB, 10 KB gzipped) - Floating UI positioning
2303
+ - `vendor-utils` (24 KB, 7 KB gzipped) - tabbable, reselect, etc.
2304
+
2305
+ - abc1a1e: kumo cli
2306
+ - e6a6f8c: semantic text colors - consolidation
2307
+ - 167a92b: Removed label prop from input components. Prefer using Field to compose a label with an input.
2308
+ - 8578662: consolidate blue text to match banner blue text across: badge, expandable, text components
2309
+ - 37a703d: consolidate on the green text tokens
2310
+
2311
+ ### Patch Changes
2312
+
2313
+ - d23783f: Update kumo package to use literal depdency versions for better yarn linking/portal support.
2314
+ - fe8fd1b: improve input group label to be semantic and use htmlFor
2315
+ - 933fdf2: **Combobox Type Fixes**
2316
+ - Removed `any` type and eslint-disable comments
2317
+ - Used proper `ComboboxBase.Root.Props<Value, Multiple>` from base-ui's namespace
2318
+ - Simplified generic parameters from 3 (ItemValue, SelectedValue, Multiple) to 2 (Value, Multiple) to match base-ui's actual API
2319
+
2320
+ - 949fe52: fix remaining lint errors and increase lint warn -> error
2321
+ - 72f0695: Update reamde documentation
2322
+ - e6326f1: Consolidate AGENTS.md and CLAUDE.md LLM instructions
2323
+ - 9fbb791: fix resource-list href lint errors
2324
+ - a4231cc: Improve expandable component semantics
2325
+ - 344372e: Update Storybook imports from @storybook/react to @storybook/react-vite for Storybook 10 compatibility. Also removes generatedAt timestamp from component registry to prevent merge conflicts during rebases.
2326
+ - d1b80c8: improve sensitive input component - semantics, button nesting, labelling, screen reader experience
2327
+ - 38f4424: Fix: Resolve type check errors across components/blocks/layouts
2328
+ Fix: Export Kumo Breadcrumb as Breadcrumbs + Documentation Improvements
2329
+ Fix: MenuBar -Bypass the React 19 type checking issue with IconContext.Provider
2330
+ - e82f3f7: improve semantics and labelling for date picker component
2331
+
2332
+ ## 0.3.0
2333
+
2334
+ ### Minor Changes
2335
+
2336
+ - 8113cf4: docs updates and semantic colors for banner
2337
+ - 3bca64a: ship dark-mode color scheme styles from kumo lib instead of setting it at the app
2338
+ - a5cd231: Adds Storybook 10 integration to the Kumo component library for interactive component development, testing, and documentation. Includes stories for 29 components, automated plop generator updates, and documentation.
2339
+
2340
+ ### Patch Changes
2341
+
2342
+ - 969750a: enforce button background transparency for tabs
2343
+ - 2f516b0: Combobox - Adjust multiple select height with standard Kumo component height
2344
+ - be563d1: Checkbox indeterminate state
2345
+ - 7481c95: Improve development workflow with 10x faster rebuilds and comprehensive documentation
2346
+
2347
+ Add development mode with optimized builds, skip minification and enable incremental TypeScript compilation. Update all READMEs and contributing docs with clear guidance on Storybook (recommended) vs watch build workflows. Add story file documentation to scaffolding sections and two-terminal setup instructions for testing components in docs.
2348
+
2349
+ - c48b7b5: Enhance CICD to publish beta releases
2350
+ - b68c768: Fix: Resolve type check erros across components/blocks/layouts
2351
+ Fix: Export Kumo Breadcrumb as Breadcrumbs + Documentation Improvements
2352
+ Fix: MenuBar -Bypass the React 19 type checking issue with IconContext.Provider
2353
+
2354
+ ## 0.2.0
2355
+
2356
+ ### Minor Changes
2357
+
2358
+ - 924e016: Semantic color improvements
2359
+ - 924e016: Improve select components
2360
+ - 924e016: Fix Input borders
2361
+ - e73fb2e: Fix exports
2362
+ - 1bb5cf7: Compile Tailwind and Standalone CSS, update installation documentation
2363
+
2364
+ ### Patch Changes
2365
+
2366
+ - 1bb5cf7: Adding changesets