@cloudflare/kumo 1.16.0 → 1.18.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 (286) hide show
  1. package/CHANGELOG.md +163 -0
  2. package/ai/USAGE.md +38 -30
  3. package/ai/component-registry.json +237 -93
  4. package/ai/component-registry.md +421 -45
  5. package/ai/schemas.ts +15 -5
  6. package/dist/.build-complete +1 -1
  7. package/dist/ai/schemas.d.ts +105 -49
  8. package/dist/ai/schemas.d.ts.map +1 -1
  9. package/dist/ai/schemas.js +187 -174
  10. package/dist/ai/schemas.js.map +1 -1
  11. package/dist/chunks/{Legend-bov5dqf08wemc2qj.js → Legend-o0ntojbaplmszwk0.js} +4 -2
  12. package/dist/chunks/Legend-o0ntojbaplmszwk0.js.map +1 -0
  13. package/dist/chunks/badge-dan90i0rzy4pwa1j.js +102 -0
  14. package/dist/chunks/badge-dan90i0rzy4pwa1j.js.map +1 -0
  15. package/dist/chunks/banner-eiwcnk7ts21s3bnb.js +79 -0
  16. package/dist/chunks/banner-eiwcnk7ts21s3bnb.js.map +1 -0
  17. package/dist/chunks/{breadcrumbs-m79gm4gjwbfajpna.js → breadcrumbs-k39s28qx05vbxxth.js} +3 -3
  18. package/dist/chunks/{breadcrumbs-m79gm4gjwbfajpna.js.map → breadcrumbs-k39s28qx05vbxxth.js.map} +1 -1
  19. package/dist/chunks/{button-j0hi0afn33w9lxgi.js → button-cdxnqcgzwko8ooha.js} +55 -53
  20. package/dist/chunks/button-cdxnqcgzwko8ooha.js.map +1 -0
  21. package/dist/chunks/{checkbox-lawmt1894wr6rpgi.js → checkbox-kt1uojk2f9e0d0h1.js} +46 -55
  22. package/dist/chunks/checkbox-kt1uojk2f9e0d0h1.js.map +1 -0
  23. package/dist/chunks/{clipboard-text-ohx8kkpxisz382rj.js → clipboard-text-vcbvmtne4zjk4b18.js} +55 -54
  24. package/dist/chunks/clipboard-text-vcbvmtne4zjk4b18.js.map +1 -0
  25. package/dist/chunks/{code-liq1g6f5lhee305d.js → code-cz0w1y5z4h29a9eg.js} +18 -18
  26. package/dist/chunks/code-cz0w1y5z4h29a9eg.js.map +1 -0
  27. package/dist/chunks/{combobox-ft0u7rfaxawk0r0c.js → combobox-he2hd9e2ruknq5mp.js} +97 -82
  28. package/dist/chunks/combobox-he2hd9e2ruknq5mp.js.map +1 -0
  29. package/dist/chunks/{command-palette-b31nq4wk7o7gx4sa.js → command-palette-jc1w07jwakxvj23a.js} +159 -155
  30. package/dist/chunks/command-palette-jc1w07jwakxvj23a.js.map +1 -0
  31. package/dist/chunks/{dialog-l5tmwxrzp9g83jmw.js → dialog-oqh8l3l3zutpibxx.js} +22 -20
  32. package/dist/chunks/dialog-oqh8l3l3zutpibxx.js.map +1 -0
  33. package/dist/chunks/{dropdown-icy3xatdwhzr4une.js → dropdown-ncwhcd912vmone8k.js} +96 -90
  34. package/dist/chunks/dropdown-ncwhcd912vmone8k.js.map +1 -0
  35. package/dist/chunks/{empty-hrwtammqp0b2nvtf.js → empty-cj898km1r8xwuw44.js} +2 -2
  36. package/dist/chunks/{empty-hrwtammqp0b2nvtf.js.map → empty-cj898km1r8xwuw44.js.map} +1 -1
  37. package/dist/chunks/{field-csje72m7j9403fj5.js → field-krp6z6vfbkrvufz2.js} +3 -3
  38. package/dist/chunks/{field-csje72m7j9403fj5.js.map → field-krp6z6vfbkrvufz2.js.map} +1 -1
  39. package/dist/chunks/input-area-no30c09udyjxshu5.js +78 -0
  40. package/dist/chunks/input-area-no30c09udyjxshu5.js.map +1 -0
  41. package/dist/chunks/{input-group-cjsy8kh4vf9312xl.js → input-group-lxdd09p60cf27pe1.js} +26 -26
  42. package/dist/chunks/input-group-lxdd09p60cf27pe1.js.map +1 -0
  43. package/dist/chunks/{input-c8jmidy7gdqfiky1.js → input-h48k3uagzrgb98au.js} +40 -36
  44. package/dist/chunks/input-h48k3uagzrgb98au.js.map +1 -0
  45. package/dist/chunks/{label-i46xnnzdh9bsxk6a.js → label-latndvb1ngem7we8.js} +3 -3
  46. package/dist/chunks/{label-i46xnnzdh9bsxk6a.js.map → label-latndvb1ngem7we8.js.map} +1 -1
  47. package/dist/chunks/{layer-card-mu2w82x6ko1nhhtr.js → layer-card-l5yjvrxry1dhte57.js} +8 -8
  48. package/dist/chunks/{layer-card-mu2w82x6ko1nhhtr.js.map → layer-card-l5yjvrxry1dhte57.js.map} +1 -1
  49. package/dist/chunks/{link-o7yfj4kwgl19fklp.js → link-hn5ejal7nhh0o0b4.js} +2 -2
  50. package/dist/chunks/{link-o7yfj4kwgl19fklp.js.map → link-hn5ejal7nhh0o0b4.js.map} +1 -1
  51. package/dist/chunks/{loader-m5wfmqwgucrr4i5v.js → loader-hr2w7cpqeev3p3vl.js} +9 -6
  52. package/dist/chunks/loader-hr2w7cpqeev3p3vl.js.map +1 -0
  53. package/dist/chunks/{menubar-g1wqqjuyyfvsim83.js → menubar-f1pilzooe5mue7c4.js} +20 -20
  54. package/dist/chunks/menubar-f1pilzooe5mue7c4.js.map +1 -0
  55. package/dist/chunks/{meter-cqkrg5axjenbsuue.js → meter-gfa1hz9fhjnvx784.js} +2 -2
  56. package/dist/chunks/{meter-cqkrg5axjenbsuue.js.map → meter-gfa1hz9fhjnvx784.js.map} +1 -1
  57. package/dist/chunks/pagination-cu5lm6p5dxuycta4.js +243 -0
  58. package/dist/chunks/pagination-cu5lm6p5dxuycta4.js.map +1 -0
  59. package/dist/chunks/{popover-jurf834u2uywluux.js → popover-h300w4vit0s2ayej.js} +31 -28
  60. package/dist/chunks/popover-h300w4vit0s2ayej.js.map +1 -0
  61. package/dist/chunks/portal-provider-hwmkdmkpvct0cb76.js +18 -0
  62. package/dist/chunks/portal-provider-hwmkdmkpvct0cb76.js.map +1 -0
  63. package/dist/chunks/{radio-l9dzm6sohcvvrsdc.js → radio-jouttv89lbvhs55r.js} +47 -50
  64. package/dist/chunks/radio-jouttv89lbvhs55r.js.map +1 -0
  65. package/dist/chunks/select-kva5ru5f673kah1m.js +179 -0
  66. package/dist/chunks/select-kva5ru5f673kah1m.js.map +1 -0
  67. package/dist/chunks/{sensitive-input-lvtccf3iqc06lj7b.js → sensitive-input-hd4tpqkzifad1yca.js} +90 -84
  68. package/dist/chunks/sensitive-input-hd4tpqkzifad1yca.js.map +1 -0
  69. package/dist/chunks/{sidebar-l6rk9o5qf8k5vth1.js → sidebar-hljy3ssm8itc0ucx.js} +5 -5
  70. package/dist/chunks/sidebar-hljy3ssm8itc0ucx.js.map +1 -0
  71. package/dist/chunks/skeleton-line-epxenksfesr2fkcv.js +33 -0
  72. package/dist/chunks/skeleton-line-epxenksfesr2fkcv.js.map +1 -0
  73. package/dist/chunks/surface-cilvbyhmyujz1bee.js +36 -0
  74. package/dist/chunks/surface-cilvbyhmyujz1bee.js.map +1 -0
  75. package/dist/chunks/switch-ihaydbzem62bey4p.js +243 -0
  76. package/dist/chunks/switch-ihaydbzem62bey4p.js.map +1 -0
  77. package/dist/chunks/table-inweecadl3her7pd.js +183 -0
  78. package/dist/chunks/table-inweecadl3her7pd.js.map +1 -0
  79. package/dist/chunks/tabs-e7eh7l3mpk3xgmwq.js +92 -0
  80. package/dist/chunks/{tabs-n0t7iro7wr0pzgk2.js.map → tabs-e7eh7l3mpk3xgmwq.js.map} +1 -1
  81. package/dist/chunks/{text-gzt92mlji1lug13d.js → text-nmyi1rkwdj37f30f.js} +24 -22
  82. package/dist/chunks/text-nmyi1rkwdj37f30f.js.map +1 -0
  83. package/dist/chunks/{toast-r9ajsces7xp8l85w.js → toast-bpz6iaq54u9jmuu8.js} +62 -60
  84. package/dist/chunks/toast-bpz6iaq54u9jmuu8.js.map +1 -0
  85. package/dist/chunks/toml-nczb2z9n0o23o3ci.js +8 -0
  86. package/dist/chunks/toml-nczb2z9n0o23o3ci.js.map +1 -0
  87. package/dist/chunks/{tooltip-hnc71tg4gz2gpcvc.js → tooltip-belkznz8t8333h5f.js} +28 -21
  88. package/dist/chunks/tooltip-belkznz8t8333h5f.js.map +1 -0
  89. package/dist/chunks/{vendor-base-ui-ccr5l0ynrievzzv3.js → vendor-base-ui-k7bzesq81ie36nya.js} +55 -51
  90. package/dist/chunks/{vendor-base-ui-ccr5l0ynrievzzv3.js.map → vendor-base-ui-k7bzesq81ie36nya.js.map} +1 -1
  91. package/dist/code/server.js +10 -9
  92. package/dist/code/server.js.map +1 -1
  93. package/dist/code.js +3 -2
  94. package/dist/code.js.map +1 -1
  95. package/dist/components/badge.js +1 -1
  96. package/dist/components/banner.js +1 -1
  97. package/dist/components/breadcrumbs.js +1 -1
  98. package/dist/components/button.js +1 -1
  99. package/dist/components/chart.js +1 -1
  100. package/dist/components/checkbox.js +1 -1
  101. package/dist/components/clipboard-text.js +1 -1
  102. package/dist/components/code.js +1 -1
  103. package/dist/components/combobox.js +1 -1
  104. package/dist/components/command-palette.js +1 -1
  105. package/dist/components/dialog.js +1 -1
  106. package/dist/components/dropdown.js +1 -1
  107. package/dist/components/empty.js +1 -1
  108. package/dist/components/field.js +1 -1
  109. package/dist/components/flow.js +5 -4
  110. package/dist/components/flow.js.map +1 -1
  111. package/dist/components/input.js +3 -3
  112. package/dist/components/label.js +1 -1
  113. package/dist/components/layer-card.js +1 -1
  114. package/dist/components/link.js +1 -1
  115. package/dist/components/loader.js +2 -2
  116. package/dist/components/menubar.js +1 -1
  117. package/dist/components/meter.js +1 -1
  118. package/dist/components/pagination.js +1 -1
  119. package/dist/components/popover.js +1 -1
  120. package/dist/components/radio.js +1 -1
  121. package/dist/components/select.js +1 -1
  122. package/dist/components/sensitive-input.js +1 -1
  123. package/dist/components/sidebar.js +1 -1
  124. package/dist/components/surface.js +1 -1
  125. package/dist/components/switch.js +1 -1
  126. package/dist/components/table.js +1 -1
  127. package/dist/components/tabs.js +1 -1
  128. package/dist/components/text.js +1 -1
  129. package/dist/components/toast.js +2 -2
  130. package/dist/components/tooltip.js +1 -1
  131. package/dist/index.js +76 -74
  132. package/dist/index.js.map +1 -1
  133. package/dist/primitives/accordion.js +1 -1
  134. package/dist/primitives/alert-dialog.js +1 -1
  135. package/dist/primitives/autocomplete.js +1 -1
  136. package/dist/primitives/avatar.js +1 -1
  137. package/dist/primitives/button.js +1 -1
  138. package/dist/primitives/checkbox-group.js +1 -1
  139. package/dist/primitives/checkbox.js +1 -1
  140. package/dist/primitives/collapsible.js +1 -1
  141. package/dist/primitives/combobox.js +1 -1
  142. package/dist/primitives/context-menu.js +1 -1
  143. package/dist/primitives/csp-provider.js +1 -1
  144. package/dist/primitives/dialog.js +1 -1
  145. package/dist/primitives/direction-provider.js +1 -1
  146. package/dist/primitives/drawer.js +1 -1
  147. package/dist/primitives/field.js +1 -1
  148. package/dist/primitives/fieldset.js +1 -1
  149. package/dist/primitives/form.js +1 -1
  150. package/dist/primitives/input.js +1 -1
  151. package/dist/primitives/menu.js +1 -1
  152. package/dist/primitives/menubar.js +1 -1
  153. package/dist/primitives/meter.js +1 -1
  154. package/dist/primitives/navigation-menu.js +1 -1
  155. package/dist/primitives/number-field.js +1 -1
  156. package/dist/primitives/popover.js +1 -1
  157. package/dist/primitives/preview-card.js +1 -1
  158. package/dist/primitives/progress.js +1 -1
  159. package/dist/primitives/radio-group.js +1 -1
  160. package/dist/primitives/radio.js +1 -1
  161. package/dist/primitives/scroll-area.js +1 -1
  162. package/dist/primitives/select.js +1 -1
  163. package/dist/primitives/separator.js +1 -1
  164. package/dist/primitives/slider.js +1 -1
  165. package/dist/primitives/switch.js +1 -1
  166. package/dist/primitives/tabs.js +1 -1
  167. package/dist/primitives/toast.js +1 -1
  168. package/dist/primitives/toggle-group.js +1 -1
  169. package/dist/primitives/toggle.js +1 -1
  170. package/dist/primitives/toolbar.js +1 -1
  171. package/dist/primitives/tooltip.js +1 -1
  172. package/dist/primitives.js +1 -1
  173. package/dist/scripts/theme-generator/config.d.ts.map +1 -1
  174. package/dist/scripts/theme-generator/config.js +226 -43
  175. package/dist/scripts/theme-generator/config.js.map +1 -1
  176. package/dist/src/code/provider.d.ts.map +1 -1
  177. package/dist/src/code/server.d.ts.map +1 -1
  178. package/dist/src/code/types.d.ts +1 -1
  179. package/dist/src/code/types.d.ts.map +1 -1
  180. package/dist/src/components/badge/badge.d.ts +76 -21
  181. package/dist/src/components/badge/badge.d.ts.map +1 -1
  182. package/dist/src/components/banner/banner.d.ts +5 -3
  183. package/dist/src/components/banner/banner.d.ts.map +1 -1
  184. package/dist/src/components/button/button.d.ts +4 -2
  185. package/dist/src/components/button/button.d.ts.map +1 -1
  186. package/dist/src/components/chart/TimeseriesChart.d.ts.map +1 -1
  187. package/dist/src/components/checkbox/checkbox.d.ts +1 -1
  188. package/dist/src/components/checkbox/checkbox.d.ts.map +1 -1
  189. package/dist/src/components/clipboard-text/clipboard-text.d.ts +2 -0
  190. package/dist/src/components/clipboard-text/clipboard-text.d.ts.map +1 -1
  191. package/dist/src/components/code/code.d.ts.map +1 -1
  192. package/dist/src/components/combobox/combobox.d.ts +8 -1
  193. package/dist/src/components/combobox/combobox.d.ts.map +1 -1
  194. package/dist/src/components/command-palette/command-palette.d.ts +9 -2
  195. package/dist/src/components/command-palette/command-palette.d.ts.map +1 -1
  196. package/dist/src/components/command-palette/types.d.ts +7 -0
  197. package/dist/src/components/command-palette/types.d.ts.map +1 -1
  198. package/dist/src/components/dialog/dialog.d.ts +8 -1
  199. package/dist/src/components/dialog/dialog.d.ts.map +1 -1
  200. package/dist/src/components/dropdown/dropdown.d.ts +17 -2
  201. package/dist/src/components/dropdown/dropdown.d.ts.map +1 -1
  202. package/dist/src/components/flow/diagram.d.ts.map +1 -1
  203. package/dist/src/components/input/input-area.d.ts.map +1 -1
  204. package/dist/src/components/input/input.d.ts +1 -2
  205. package/dist/src/components/input/input.d.ts.map +1 -1
  206. package/dist/src/components/loader/loader.d.ts +7 -1
  207. package/dist/src/components/loader/loader.d.ts.map +1 -1
  208. package/dist/src/components/loader/skeleton-line.d.ts +2 -1
  209. package/dist/src/components/loader/skeleton-line.d.ts.map +1 -1
  210. package/dist/src/components/pagination/pagination.d.ts +11 -1
  211. package/dist/src/components/pagination/pagination.d.ts.map +1 -1
  212. package/dist/src/components/popover/popover.d.ts +8 -1
  213. package/dist/src/components/popover/popover.d.ts.map +1 -1
  214. package/dist/src/components/radio/radio.d.ts +1 -1
  215. package/dist/src/components/radio/radio.d.ts.map +1 -1
  216. package/dist/src/components/select/select.d.ts +74 -3
  217. package/dist/src/components/select/select.d.ts.map +1 -1
  218. package/dist/src/components/sensitive-input/sensitive-input.d.ts +1 -1
  219. package/dist/src/components/sensitive-input/sensitive-input.d.ts.map +1 -1
  220. package/dist/src/components/surface/surface.d.ts +23 -23
  221. package/dist/src/components/surface/surface.d.ts.map +1 -1
  222. package/dist/src/components/switch/switch.d.ts.map +1 -1
  223. package/dist/src/components/table/table.d.ts +34 -2
  224. package/dist/src/components/table/table.d.ts.map +1 -1
  225. package/dist/src/components/tabs/tabs.d.ts.map +1 -1
  226. package/dist/src/components/text/text.d.ts +5 -0
  227. package/dist/src/components/text/text.d.ts.map +1 -1
  228. package/dist/src/components/toast/toast.d.ts +16 -9
  229. package/dist/src/components/toast/toast.d.ts.map +1 -1
  230. package/dist/src/components/tooltip/tooltip.d.ts +21 -6
  231. package/dist/src/components/tooltip/tooltip.d.ts.map +1 -1
  232. package/dist/src/index.d.ts +1 -0
  233. package/dist/src/index.d.ts.map +1 -1
  234. package/dist/src/utils/index.d.ts +1 -0
  235. package/dist/src/utils/index.d.ts.map +1 -1
  236. package/dist/src/utils/portal-provider.d.ts +56 -0
  237. package/dist/src/utils/portal-provider.d.ts.map +1 -0
  238. package/dist/styles/kumo-binding.css +52 -46
  239. package/dist/styles/kumo-standalone.css +1 -1
  240. package/dist/styles/theme-fedramp.css +6 -6
  241. package/dist/styles/theme-kumo.css +183 -64
  242. package/dist/utils.js +8 -6
  243. package/dist/utils.js.map +1 -1
  244. package/package.json +2 -2
  245. package/scripts/component-registry/index.test.ts +4 -4
  246. package/scripts/component-registry/metadata.ts +3 -3
  247. package/scripts/theme-generator/config.ts +236 -43
  248. package/dist/chunks/Legend-bov5dqf08wemc2qj.js.map +0 -1
  249. package/dist/chunks/badge-mrshucy2530o70cq.js +0 -56
  250. package/dist/chunks/badge-mrshucy2530o70cq.js.map +0 -1
  251. package/dist/chunks/banner-vzdjbqsb6em7tmdk.js +0 -75
  252. package/dist/chunks/banner-vzdjbqsb6em7tmdk.js.map +0 -1
  253. package/dist/chunks/button-j0hi0afn33w9lxgi.js.map +0 -1
  254. package/dist/chunks/checkbox-lawmt1894wr6rpgi.js.map +0 -1
  255. package/dist/chunks/clipboard-text-ohx8kkpxisz382rj.js.map +0 -1
  256. package/dist/chunks/code-liq1g6f5lhee305d.js.map +0 -1
  257. package/dist/chunks/combobox-ft0u7rfaxawk0r0c.js.map +0 -1
  258. package/dist/chunks/command-palette-b31nq4wk7o7gx4sa.js.map +0 -1
  259. package/dist/chunks/dialog-l5tmwxrzp9g83jmw.js.map +0 -1
  260. package/dist/chunks/dropdown-icy3xatdwhzr4une.js.map +0 -1
  261. package/dist/chunks/input-area-jko15sbc6zeage3l.js +0 -74
  262. package/dist/chunks/input-area-jko15sbc6zeage3l.js.map +0 -1
  263. package/dist/chunks/input-c8jmidy7gdqfiky1.js.map +0 -1
  264. package/dist/chunks/input-group-cjsy8kh4vf9312xl.js.map +0 -1
  265. package/dist/chunks/loader-m5wfmqwgucrr4i5v.js.map +0 -1
  266. package/dist/chunks/menubar-g1wqqjuyyfvsim83.js.map +0 -1
  267. package/dist/chunks/pagination-e3dp8bd80s35f7sd.js +0 -224
  268. package/dist/chunks/pagination-e3dp8bd80s35f7sd.js.map +0 -1
  269. package/dist/chunks/popover-jurf834u2uywluux.js.map +0 -1
  270. package/dist/chunks/radio-l9dzm6sohcvvrsdc.js.map +0 -1
  271. package/dist/chunks/select-hnt87e3cfos48qql.js +0 -130
  272. package/dist/chunks/select-hnt87e3cfos48qql.js.map +0 -1
  273. package/dist/chunks/sensitive-input-lvtccf3iqc06lj7b.js.map +0 -1
  274. package/dist/chunks/sidebar-l6rk9o5qf8k5vth1.js.map +0 -1
  275. package/dist/chunks/skeleton-line-1j5exu6vv07mmhfb.js +0 -28
  276. package/dist/chunks/skeleton-line-1j5exu6vv07mmhfb.js.map +0 -1
  277. package/dist/chunks/surface-dhshylwccuaz91d1.js +0 -21
  278. package/dist/chunks/surface-dhshylwccuaz91d1.js.map +0 -1
  279. package/dist/chunks/switch-fukrbip86khvqjn7.js +0 -241
  280. package/dist/chunks/switch-fukrbip86khvqjn7.js.map +0 -1
  281. package/dist/chunks/table-orfgzwvxh8yr90dk.js +0 -155
  282. package/dist/chunks/table-orfgzwvxh8yr90dk.js.map +0 -1
  283. package/dist/chunks/tabs-n0t7iro7wr0pzgk2.js +0 -86
  284. package/dist/chunks/text-gzt92mlji1lug13d.js.map +0 -1
  285. package/dist/chunks/toast-r9ajsces7xp8l85w.js.map +0 -1
  286. package/dist/chunks/tooltip-hnc71tg4gz2gpcvc.js.map +0 -1
@@ -12,8 +12,8 @@ function d(e, t, o) {
12
12
  return;
13
13
  u._zod.traits.add(e), t(u, l);
14
14
  const p = i.prototype, h = Object.keys(p);
15
- for (let m = 0; m < h.length; m++) {
16
- const w = h[m];
15
+ for (let g = 0; g < h.length; g++) {
16
+ const w = h[g];
17
17
  w in u || (u[w] = p[w].bind(u));
18
18
  }
19
19
  }
@@ -768,13 +768,13 @@ const Do = {
768
768
  else {
769
769
  const r = (i, u, l) => {
770
770
  let p = K(i), h;
771
- for (const m of u) {
772
- if (m._zod.def.when) {
773
- if (!m._zod.def.when(i))
771
+ for (const g of u) {
772
+ if (g._zod.def.when) {
773
+ if (!g._zod.def.when(i))
774
774
  continue;
775
775
  } else if (p)
776
776
  continue;
777
- const w = i.issues.length, S = m._zod.check(i);
777
+ const w = i.issues.length, S = g._zod.check(i);
778
778
  if (S instanceof Promise && l?.async === !1)
779
779
  throw new q();
780
780
  if (h || S instanceof Promise)
@@ -1133,15 +1133,15 @@ function lt(e) {
1133
1133
  }
1134
1134
  function pt(e, t, o, n, r, a) {
1135
1135
  const i = [], u = r.keySet, l = r.catchall._zod, p = l.def.type, h = l.optout === "optional";
1136
- for (const m in t) {
1137
- if (u.has(m))
1136
+ for (const g in t) {
1137
+ if (u.has(g))
1138
1138
  continue;
1139
1139
  if (p === "never") {
1140
- i.push(m);
1140
+ i.push(g);
1141
1141
  continue;
1142
1142
  }
1143
- const w = l.run({ value: t[m], issues: [] }, n);
1144
- w instanceof Promise ? e.push(w.then((S) => se(S, o, m, t, h))) : se(w, o, m, t, h);
1143
+ const w = l.run({ value: t[g], issues: [] }, n);
1144
+ w instanceof Promise ? e.push(w.then((S) => se(S, o, g, t, h))) : se(w, o, g, t, h);
1145
1145
  }
1146
1146
  return i.length && o.issues.push({
1147
1147
  code: "unrecognized_keys",
@@ -1169,8 +1169,8 @@ const _n = /* @__PURE__ */ d("$ZodObject", (e, t) => {
1169
1169
  const h = u[p]._zod;
1170
1170
  if (h.values) {
1171
1171
  l[p] ?? (l[p] = /* @__PURE__ */ new Set());
1172
- for (const m of h.values)
1173
- l[p].add(m);
1172
+ for (const g of h.values)
1173
+ l[p].add(g);
1174
1174
  }
1175
1175
  }
1176
1176
  return l;
@@ -1188,9 +1188,9 @@ const _n = /* @__PURE__ */ d("$ZodObject", (e, t) => {
1188
1188
  inst: e
1189
1189
  }), u;
1190
1190
  u.value = {};
1191
- const h = [], m = i.shape;
1191
+ const h = [], g = i.shape;
1192
1192
  for (const w of i.keys) {
1193
- const S = m[w], E = S._zod.optout === "optional", N = S._zod.run({ value: p[w], issues: [] }, l);
1193
+ const S = g[w], E = S._zod.optout === "optional", N = S._zod.run({ value: p[w], issues: [] }, l);
1194
1194
  N instanceof Promise ? h.push(N.then((ee) => se(ee, u, w, p, E))) : se(N, u, w, p, E);
1195
1195
  }
1196
1196
  return a ? pt(h, p, u, l, n.value, e) : h.length ? Promise.all(h).then(() => u) : u;
@@ -1252,11 +1252,11 @@ const _n = /* @__PURE__ */ d("$ZodObject", (e, t) => {
1252
1252
  };
1253
1253
  let a;
1254
1254
  const i = ae, u = !qe.jitless, p = u && Tt.value, h = t.catchall;
1255
- let m;
1255
+ let g;
1256
1256
  e._zod.parse = (w, S) => {
1257
- m ?? (m = n.value);
1257
+ g ?? (g = n.value);
1258
1258
  const E = w.value;
1259
- return i(E) ? u && p && S?.async === !1 && S.jitless !== !0 ? (a || (a = r(t.shape)), w = a(w, S), h ? pt([], E, w, S, m, e) : w) : o(w, S) : (w.issues.push({
1259
+ return i(E) ? u && p && S?.async === !1 && S.jitless !== !0 ? (a || (a = r(t.shape)), w = a(w, S), h ? pt([], E, w, S, g, e) : w) : o(w, S) : (w.issues.push({
1260
1260
  expected: "object",
1261
1261
  code: "invalid_type",
1262
1262
  input: E,
@@ -1387,8 +1387,8 @@ const zn = /* @__PURE__ */ d("$ZodTuple", (e, t) => {
1387
1387
  n.value = [];
1388
1388
  const i = [], u = [...o].reverse().findIndex((h) => h._zod.optin !== "optional"), l = u === -1 ? 0 : o.length - u;
1389
1389
  if (!t.rest) {
1390
- const h = a.length > o.length, m = a.length < l - 1;
1391
- if (h || m)
1390
+ const h = a.length > o.length, g = a.length < l - 1;
1391
+ if (h || g)
1392
1392
  return n.issues.push({
1393
1393
  ...h ? { code: "too_big", maximum: o.length, inclusive: !0 } : { code: "too_small", minimum: o.length },
1394
1394
  input: a,
@@ -1400,18 +1400,18 @@ const zn = /* @__PURE__ */ d("$ZodTuple", (e, t) => {
1400
1400
  for (const h of o) {
1401
1401
  if (p++, p >= a.length && p >= l)
1402
1402
  continue;
1403
- const m = h._zod.run({
1403
+ const g = h._zod.run({
1404
1404
  value: a[p],
1405
1405
  issues: []
1406
1406
  }, r);
1407
- m instanceof Promise ? i.push(m.then((w) => oe(w, n, p))) : oe(m, n, p);
1407
+ g instanceof Promise ? i.push(g.then((w) => oe(w, n, p))) : oe(g, n, p);
1408
1408
  }
1409
1409
  if (t.rest) {
1410
1410
  const h = a.slice(o.length);
1411
- for (const m of h) {
1411
+ for (const g of h) {
1412
1412
  p++;
1413
1413
  const w = t.rest._zod.run({
1414
- value: m,
1414
+ value: g,
1415
1415
  issues: []
1416
1416
  }, r);
1417
1417
  w instanceof Promise ? i.push(w.then((S) => oe(S, n, p))) : oe(w, n, p);
@@ -1441,8 +1441,8 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, t) => {
1441
1441
  if (typeof p == "string" || typeof p == "number" || typeof p == "symbol") {
1442
1442
  u.add(typeof p == "number" ? p.toString() : p);
1443
1443
  const h = t.valueType._zod.run({ value: r[p], issues: [] }, n);
1444
- h instanceof Promise ? a.push(h.then((m) => {
1445
- m.issues.length && o.issues.push(...B(p, m.issues)), o.value[p] = m.value;
1444
+ h instanceof Promise ? a.push(h.then((g) => {
1445
+ g.issues.length && o.issues.push(...B(p, g.issues)), o.value[p] = g.value;
1446
1446
  })) : (h.issues.length && o.issues.push(...B(p, h.issues)), o.value[p] = h.value);
1447
1447
  }
1448
1448
  let l;
@@ -1463,16 +1463,16 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, t) => {
1463
1463
  if (l instanceof Promise)
1464
1464
  throw new Error("Async schemas not supported in object keys currently");
1465
1465
  if (typeof u == "string" && rt.test(u) && l.issues.length) {
1466
- const m = t.keyType._zod.run({ value: Number(u), issues: [] }, n);
1467
- if (m instanceof Promise)
1466
+ const g = t.keyType._zod.run({ value: Number(u), issues: [] }, n);
1467
+ if (g instanceof Promise)
1468
1468
  throw new Error("Async schemas not supported in object keys currently");
1469
- m.issues.length === 0 && (l = m);
1469
+ g.issues.length === 0 && (l = g);
1470
1470
  }
1471
1471
  if (l.issues.length) {
1472
1472
  t.mode === "loose" ? o.value[u] = r[u] : o.issues.push({
1473
1473
  code: "invalid_key",
1474
1474
  origin: "record",
1475
- issues: l.issues.map((m) => F(m, n, U())),
1475
+ issues: l.issues.map((g) => F(g, n, U())),
1476
1476
  input: u,
1477
1477
  path: [u],
1478
1478
  inst: e
@@ -1480,8 +1480,8 @@ const kn = /* @__PURE__ */ d("$ZodRecord", (e, t) => {
1480
1480
  continue;
1481
1481
  }
1482
1482
  const h = t.valueType._zod.run({ value: r[u], issues: [] }, n);
1483
- h instanceof Promise ? a.push(h.then((m) => {
1484
- m.issues.length && o.issues.push(...B(u, m.issues)), o.value[l.value] = m.value;
1483
+ h instanceof Promise ? a.push(h.then((g) => {
1484
+ g.issues.length && o.issues.push(...B(u, g.issues)), o.value[l.value] = g.value;
1485
1485
  })) : (h.issues.length && o.issues.push(...B(u, h.issues)), o.value[l.value] = h.value);
1486
1486
  }
1487
1487
  }
@@ -2210,8 +2210,8 @@ function T(e, t, o = { path: [], schemaPath: [] }) {
2210
2210
  throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);
2211
2211
  S(e, t, w, h);
2212
2212
  }
2213
- const m = e._zod.parent;
2214
- m && (i.ref || (i.ref = m), T(m, t, h), t.seen.get(m).isParent = !0);
2213
+ const g = e._zod.parent;
2214
+ g && (i.ref || (i.ref = g), T(g, t, h), t.seen.get(g).isParent = !0);
2215
2215
  }
2216
2216
  const l = t.metadataRegistry.get(e);
2217
2217
  return l && Object.assign(i.schema, l), t.io === "input" && C(e) && (delete i.schema.examples, delete i.schema.default), t.io === "input" && i.schema._prefault && ((n = i.schema).default ?? (n.default = i.schema._prefault)), delete i.schema._prefault, t.seen.get(e).schema;
@@ -2233,9 +2233,9 @@ function gt(e, t) {
2233
2233
  const r = (i) => {
2234
2234
  const u = e.target === "draft-2020-12" ? "$defs" : "definitions";
2235
2235
  if (e.external) {
2236
- const m = e.external.registry.get(i[0])?.id, w = e.external.uri ?? ((E) => E);
2237
- if (m)
2238
- return { ref: w(m) };
2236
+ const g = e.external.registry.get(i[0])?.id, w = e.external.uri ?? ((E) => E);
2237
+ if (g)
2238
+ return { ref: w(g) };
2239
2239
  const S = i[1].defId ?? i[1].schema.id ?? `schema${e.counter++}`;
2240
2240
  return i[1].defId = S, { defId: S, ref: `${w("__shared")}#/${u}/${S}` };
2241
2241
  }
@@ -2249,8 +2249,8 @@ function gt(e, t) {
2249
2249
  const u = i[1], { ref: l, defId: p } = r(i);
2250
2250
  u.def = { ...u.schema }, p && (u.defId = p);
2251
2251
  const h = u.schema;
2252
- for (const m in h)
2253
- delete h[m];
2252
+ for (const g in h)
2253
+ delete h[g];
2254
2254
  h.$ref = l;
2255
2255
  };
2256
2256
  if (e.cycles === "throw")
@@ -2307,10 +2307,10 @@ function _t(e, t) {
2307
2307
  for (const N in l)
2308
2308
  N === "$ref" || N === "allOf" || N in w.def && JSON.stringify(l[N]) === JSON.stringify(w.def[N]) && delete l[N];
2309
2309
  }
2310
- const m = i._zod.parent;
2311
- if (m && m !== h) {
2312
- n(m);
2313
- const w = e.seen.get(m);
2310
+ const g = i._zod.parent;
2311
+ if (g && g !== h) {
2312
+ n(g);
2313
+ const w = e.seen.get(g);
2314
2314
  if (w?.schema.$ref && (l.$ref = w.schema.$ref, w.def))
2315
2315
  for (const S in l)
2316
2316
  S === "$ref" || S === "allOf" || S in w.def && JSON.stringify(l[S]) === JSON.stringify(w.def[S]) && delete l[S];
@@ -2416,9 +2416,9 @@ const Ir = (e, t = {}) => (o) => {
2416
2416
  if (typeof a == "number" && (r.minLength = a), typeof i == "number" && (r.maxLength = i), u && (r.format = Nr[u] ?? u, r.format === "" && delete r.format, u === "time" && delete r.format), p && (r.contentEncoding = p), l && l.size > 0) {
2417
2417
  const h = [...l];
2418
2418
  h.length === 1 ? r.pattern = h[0].source : h.length > 1 && (r.allOf = [
2419
- ...h.map((m) => ({
2419
+ ...h.map((g) => ({
2420
2420
  ...t.target === "draft-07" || t.target === "draft-04" || t.target === "openapi-3.0" ? { type: "string" } : {},
2421
- pattern: m.source
2421
+ pattern: g.source
2422
2422
  }))
2423
2423
  ]);
2424
2424
  }
@@ -2492,8 +2492,8 @@ const Ir = (e, t = {}) => (o) => {
2492
2492
  t.target === "draft-2020-12" ? (r.prefixItems = l, p && (r.items = p)) : t.target === "openapi-3.0" ? (r.items = {
2493
2493
  anyOf: l
2494
2494
  }, p && r.items.anyOf.push(p), r.minItems = l.length, p || (r.maxItems = l.length)) : (r.items = l, p && (r.additionalItems = p));
2495
- const { minimum: h, maximum: m } = e._zod.bag;
2496
- typeof h == "number" && (r.minItems = h), typeof m == "number" && (r.maxItems = m);
2495
+ const { minimum: h, maximum: g } = e._zod.bag;
2496
+ typeof h == "number" && (r.minItems = h), typeof g == "number" && (r.maxItems = g);
2497
2497
  }, Wr = (e, t, o, n) => {
2498
2498
  const r = o, a = e._zod.def;
2499
2499
  r.type = "object";
@@ -2504,8 +2504,8 @@ const Ir = (e, t = {}) => (o) => {
2504
2504
  path: [...n.path, "patternProperties", "*"]
2505
2505
  });
2506
2506
  r.patternProperties = {};
2507
- for (const m of l)
2508
- r.patternProperties[m.source] = h;
2507
+ for (const g of l)
2508
+ r.patternProperties[g.source] = h;
2509
2509
  } else
2510
2510
  (t.target === "draft-07" || t.target === "draft-2020-12") && (r.propertyNames = T(a.keyType, t, {
2511
2511
  ...n,
@@ -2516,7 +2516,7 @@ const Ir = (e, t = {}) => (o) => {
2516
2516
  });
2517
2517
  const p = i._zod.values;
2518
2518
  if (p) {
2519
- const h = [...p].filter((m) => typeof m == "string" || typeof m == "number");
2519
+ const h = [...p].filter((g) => typeof g == "string" || typeof g == "number");
2520
2520
  h.length > 0 && (r.required = h);
2521
2521
  }
2522
2522
  }, Kr = (e, t, o, n) => {
@@ -2636,7 +2636,7 @@ const bt = (e, t) => {
2636
2636
  ]
2637
2637
  }), {
2638
2638
  parent: !0
2639
- }), e.with = e.check, e.clone = (o, n) => J(e, o, n), e.brand = () => e, e.register = ((o, n) => (o.add(e, n), e)), e.parse = (o, n) => li(e, o, n, { callee: e.parse }), e.safeParse = (o, n) => di(e, o, n), e.parseAsync = async (o, n) => pi(e, o, n, { callee: e.parseAsync }), e.safeParseAsync = async (o, n) => fi(e, o, n), e.spa = e.safeParseAsync, e.encode = (o, n) => hi(e, o, n), e.decode = (o, n) => mi(e, o, n), e.encodeAsync = async (o, n) => gi(e, o, n), e.decodeAsync = async (o, n) => _i(e, o, n), e.safeEncode = (o, n) => vi(e, o, n), e.safeDecode = (o, n) => bi(e, o, n), e.safeEncodeAsync = async (o, n) => yi(e, o, n), e.safeDecodeAsync = async (o, n) => zi(e, o, n), e.refine = (o, n) => e.check(_a(o, n)), e.superRefine = (o) => e.check(va(o)), e.overwrite = (o) => e.check(/* @__PURE__ */ X(o)), e.optional = () => Be(e), e.exactOptional = () => oa(e), e.nullable = () => Ve(e), e.nullish = () => Be(Ve(e)), e.nonoptional = (o) => ca(e, o), e.array = () => L(e), e.or = (o) => y([e, o]), e.and = (o) => Xi(e, o), e.transform = (o) => We(e, ea(o)), e.default = (o) => ia(e, o), e.prefault = (o) => sa(e, o), e.catch = (o) => la(e, o), e.pipe = (o) => We(e, o), e.readonly = () => fa(e), e.describe = (o) => {
2639
+ }), e.with = e.check, e.clone = (o, n) => J(e, o, n), e.brand = () => e, e.register = ((o, n) => (o.add(e, n), e)), e.parse = (o, n) => li(e, o, n, { callee: e.parse }), e.safeParse = (o, n) => di(e, o, n), e.parseAsync = async (o, n) => pi(e, o, n, { callee: e.parseAsync }), e.safeParseAsync = async (o, n) => fi(e, o, n), e.spa = e.safeParseAsync, e.encode = (o, n) => hi(e, o, n), e.decode = (o, n) => mi(e, o, n), e.encodeAsync = async (o, n) => gi(e, o, n), e.decodeAsync = async (o, n) => _i(e, o, n), e.safeEncode = (o, n) => vi(e, o, n), e.safeDecode = (o, n) => bi(e, o, n), e.safeEncodeAsync = async (o, n) => yi(e, o, n), e.safeDecodeAsync = async (o, n) => zi(e, o, n), e.refine = (o, n) => e.check(_a(o, n)), e.superRefine = (o) => e.check(va(o)), e.overwrite = (o) => e.check(/* @__PURE__ */ X(o)), e.optional = () => Be(e), e.exactOptional = () => oa(e), e.nullable = () => Ve(e), e.nullish = () => Be(Ve(e)), e.nonoptional = (o) => ca(e, o), e.array = () => L(e), e.or = (o) => b([e, o]), e.and = (o) => Xi(e, o), e.transform = (o) => We(e, ea(o)), e.default = (o) => ia(e, o), e.prefault = (o) => sa(e, o), e.catch = (o) => la(e, o), e.pipe = (o) => We(e, o), e.readonly = () => fa(e), e.describe = (o) => {
2640
2640
  const n = e.clone();
2641
2641
  return Y.add(n, { description: o }), n;
2642
2642
  }, Object.defineProperty(e, "description", {
@@ -2746,7 +2746,7 @@ function L(e, t) {
2746
2746
  const Ki = /* @__PURE__ */ d("ZodObject", (e, t) => {
2747
2747
  vn.init(e, t), P.init(e, t), e._zod.processJSONSchema = (o, n, r) => Mr(e, o, n, r), $(e, "shape", () => t.shape), e.keyof = () => v(Object.keys(e._zod.def.shape)), e.catchall = (o) => e.clone({ ...e._zod.def, catchall: o }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: s() }), e.loose = () => e.clone({ ...e._zod.def, catchall: s() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Vi() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (o) => xt(e, o), e.safeExtend = (o) => jt(e, o), e.merge = (o) => Rt(e, o), e.pick = (o) => Ct(e, o), e.omit = (o) => At(e, o), e.partial = (...o) => Dt(kt, e, o[0]), e.required = (...o) => Ut(wt, e, o[0]);
2748
2748
  });
2749
- function b(e, t) {
2749
+ function y(e, t) {
2750
2750
  const o = {
2751
2751
  type: "object",
2752
2752
  shape: e ?? {},
@@ -2757,7 +2757,7 @@ function b(e, t) {
2757
2757
  const qi = /* @__PURE__ */ d("ZodUnion", (e, t) => {
2758
2758
  bn.init(e, t), P.init(e, t), e._zod.processJSONSchema = (o, n, r) => Jr(e, o, n, r), e.options = t.options;
2759
2759
  });
2760
- function y(e, t) {
2760
+ function b(e, t) {
2761
2761
  return new qi({
2762
2762
  type: "union",
2763
2763
  options: e,
@@ -2970,91 +2970,93 @@ function _a(e, t = {}) {
2970
2970
  function va(e) {
2971
2971
  return /* @__PURE__ */ Or(e);
2972
2972
  }
2973
- const g = y([
2973
+ const m = b([
2974
2974
  c(),
2975
2975
  _(),
2976
2976
  f(),
2977
2977
  k(),
2978
- b({ path: c() })
2978
+ y({ path: c() })
2979
2979
  ]), ie = ma(
2980
- () => y([
2981
- b({ and: L(ie) }),
2982
- b({ or: L(ie) }),
2983
- b({ not: ie }),
2984
- b({ path: c() }),
2985
- b({ eq: W([g, g]) }),
2986
- b({ neq: W([g, g]) }),
2987
- b({ gt: W([g, g]) }),
2988
- b({ gte: W([g, g]) }),
2989
- b({ lt: W([g, g]) }),
2990
- b({ lte: W([g, g]) })
2980
+ () => b([
2981
+ y({ and: L(ie) }),
2982
+ y({ or: L(ie) }),
2983
+ y({ not: ie }),
2984
+ y({ path: c() }),
2985
+ y({ eq: W([m, m]) }),
2986
+ y({ neq: W([m, m]) }),
2987
+ y({ gt: W([m, m]) }),
2988
+ y({ gte: W([m, m]) }),
2989
+ y({ lt: W([m, m]) }),
2990
+ y({ lte: W([m, m]) })
2991
2991
  ])
2992
- ), ba = y([
2992
+ ), ba = b([
2993
2993
  f(),
2994
- b({ path: c() }),
2995
- b({ auth: v(["signedIn", "signedOut"]) }),
2994
+ y({ path: c() }),
2995
+ y({ auth: v(["signedIn", "signedOut"]) }),
2996
2996
  ie
2997
- ]), ya = b({
2997
+ ]), ya = y({
2998
2998
  title: c(),
2999
2999
  message: c(),
3000
3000
  variant: v(["default", "danger"]).optional(),
3001
3001
  confirmLabel: c().optional(),
3002
3002
  cancelLabel: c().optional()
3003
- }), za = b({
3003
+ }), za = y({
3004
3004
  name: c(),
3005
- params: H(c(), g).optional(),
3005
+ params: H(c(), m).optional(),
3006
3006
  confirm: ya.optional(),
3007
- onSuccess: b({ set: H(c(), g) }).optional(),
3008
- onError: b({ set: H(c(), g) }).optional()
3009
- }), ka = b({
3010
- variant: v(["primary", "secondary", "destructive", "success", "outline", "beta"]).optional(),
3011
- // Visual style of the badge. - `"primary"` — High-emphasis badge for important labels - `"secondary"` — Subtle badge for secondary information - `"destructive"` — Error or danger state indicator - `"outline"` — Bordered badge with transparent background - `"beta"` — Dashed-border badge for beta/experimental features
3007
+ onSuccess: y({ set: H(c(), m) }).optional(),
3008
+ onError: y({ set: H(c(), m) }).optional()
3009
+ }), ka = y({
3010
+ variant: v(["primary", "secondary", "error", "warning", "success", "destructive", "info", "beta", "outline", "red", "green", "neutral", "orange", "purple", "teal", "teal-subtle", "blue"]).optional(),
3011
+ // Color variant of the badge. Recommended semantic variants: - `"primary"` — Primary badge - `"secondary"` — Secondary badge - `"error"` Error badge - `"warning"` — Warning badge - `"success"` Success badge - `"info"` — Info badge Additional token variants: - `"red"`, `"orange"`, `"green"`, `"teal"`, `"blue"`, `"purple"`, `"neutral"` - `"teal-subtle"`, `"neutral-subtle"` - `"inverted"` - `"outline"` — Bordered badge with transparent background - `"beta"` — Dashed-border badge for beta/experimental features
3012
3012
  className: c().optional(),
3013
3013
  // Additional CSS classes merged via `cn()`.
3014
- children: y([c(), _(), f(), k(), g]).optional()
3014
+ children: b([c(), _(), f(), k(), m]).optional()
3015
3015
  // Content rendered inside the badge.
3016
- }), wa = b({
3017
- icon: y([c(), _(), f(), k(), g]).optional(),
3016
+ }), wa = y({
3017
+ icon: b([c(), _(), f(), k(), m]).optional(),
3018
3018
  // Icon element rendered before the banner content (e.g. from `@phosphor-icons/react`).
3019
3019
  title: c().optional(),
3020
3020
  // Primary heading text for the banner. Use for i18n string injection.
3021
- description: y([c(), _(), f(), k(), g]).optional(),
3021
+ description: b([c(), _(), f(), k(), m]).optional(),
3022
3022
  // Secondary description text displayed below the title. Use for i18n string injection.
3023
+ action: b([c(), _(), f(), k(), m]).optional(),
3024
+ // Action slot rendered at the trailing end of the banner (e.g. a CTA button or link). Only used in structured mode (with `title` or `description`).
3023
3025
  text: c().optional(),
3024
- children: y([c(), _(), f(), k(), g]).optional(),
3026
+ children: b([c(), _(), f(), k(), m]).optional(),
3025
3027
  variant: v(["default", "alert", "error"]).optional(),
3026
3028
  // Visual style of the banner. - `"default"` — Informational blue banner for general messages - `"alert"` — Warning yellow banner for cautionary messages - `"error"` — Error red banner for critical issues
3027
3029
  className: c().optional()
3028
3030
  // Additional CSS classes merged via `cn()`.
3029
- }), Sa = b({
3031
+ }), Sa = y({
3030
3032
  size: v(["sm", "base"]).optional(),
3031
3033
  // Size of the breadcrumbs. - `"sm"` — Compact breadcrumbs for dense UIs - `"base"` — Default breadcrumbs size
3032
- children: y([c(), _(), f(), k(), g]).optional(),
3034
+ children: b([c(), _(), f(), k(), m]).optional(),
3033
3035
  className: c().optional()
3034
3036
  // Additional CSS classes merged via `cn()`.
3035
- }), $a = b({
3037
+ }), $a = y({
3036
3038
  shape: v(["base", "square", "circle"]).optional(),
3037
3039
  size: v(["xs", "sm", "base", "lg"]).optional(),
3038
3040
  variant: v(["primary", "secondary", "ghost", "destructive", "secondary-destructive", "outline"]).optional(),
3039
- children: y([c(), _(), f(), k(), g]).optional(),
3041
+ children: b([c(), _(), f(), k(), m]).optional(),
3040
3042
  className: c().optional(),
3041
- icon: y([c(), _(), f(), k(), g]).optional(),
3043
+ icon: b([c(), _(), f(), k(), m]).optional(),
3042
3044
  // Icon from `@phosphor-icons/react` or a React element. Rendered before children.
3043
3045
  loading: f().optional(),
3044
3046
  // Shows a loading spinner and disables interaction.
3047
+ title: c().optional(),
3045
3048
  id: c().optional(),
3046
3049
  lang: c().optional(),
3047
- title: c().optional(),
3048
3050
  disabled: f().optional(),
3049
3051
  name: c().optional(),
3050
3052
  type: v(["submit", "reset", "button"]).optional(),
3051
3053
  value: s().optional()
3052
- }), Za = b({
3054
+ }), Za = y({
3053
3055
  variant: v(["default", "error"]).optional(),
3054
3056
  // Visual variant: "default" or "error" for validation failures (visual only, no error text)
3055
- label: y([c(), _(), f(), k(), g]).optional(),
3057
+ label: b([c(), _(), f(), k(), m]).optional(),
3056
3058
  // Label content for the checkbox (enables built-in Field wrapper) - can be a string or any React node
3057
- labelTooltip: y([c(), _(), f(), k(), g]).optional(),
3059
+ labelTooltip: b([c(), _(), f(), k(), m]).optional(),
3058
3060
  // Tooltip content to display next to the label via an info icon
3059
3061
  controlFirst: f().optional(),
3060
3062
  // When true (default), checkbox appears before label. When false, label appears before checkbox.
@@ -3072,19 +3074,21 @@ const g = y([
3072
3074
  // Additional class name
3073
3075
  onValueChange: s().optional()
3074
3076
  // Callback when checkbox value changes
3075
- }), Pa = b({
3077
+ }), Pa = y({
3076
3078
  size: v(["sm", "base", "lg"]).optional(),
3077
3079
  // Size of the clipboard text field. - `"sm"` — Small clipboard text for compact UIs - `"base"` — Default clipboard text size - `"lg"` — Large clipboard text for prominent display
3078
3080
  text: c(),
3079
3081
  // The text to display and copy to clipboard.
3082
+ textToCopy: c().optional(),
3083
+ // If provided, this text will be copied to clipboard instead of the `text` prop.
3080
3084
  className: c().optional(),
3081
3085
  // Additional CSS classes merged via `cn()`.
3082
3086
  tooltip: s().optional(),
3083
3087
  // Tooltip config. Shows tooltip on hover, anchored toast on click.
3084
3088
  labels: s().optional()
3085
3089
  // Accessible labels for i18n.
3086
- }), Oa = b({
3087
- children: y([c(), _(), f(), k(), g]).optional(),
3090
+ }), Oa = y({
3091
+ children: b([c(), _(), f(), k(), m]).optional(),
3088
3092
  className: c().optional(),
3089
3093
  height: s().optional(),
3090
3094
  id: c().optional(),
@@ -3339,7 +3343,7 @@ const g = y([
3339
3343
  zoomAndPan: c().optional(),
3340
3344
  variant: v(["glyph", "full"]).optional()
3341
3345
  // Logo variant - `glyph`: Cloud icon only - `full`: Cloud icon with "CLOUDFLARE" wordmark below
3342
- }), Ta = b({
3346
+ }), Ta = y({
3343
3347
  lang: v(["ts", "tsx", "jsonc", "bash", "css"]).optional(),
3344
3348
  // Language hint for the code content. - `"ts"` — TypeScript code - `"tsx"` — TypeScript JSX code - `"jsonc"` — JSON with comments - `"bash"` — Shell/Bash commands - `"css"` — CSS styles
3345
3349
  code: c(),
@@ -3348,8 +3352,8 @@ const g = y([
3348
3352
  // Template values for `{{key}}` interpolation. Values with `highlight: true` are visually emphasized.
3349
3353
  className: c().optional()
3350
3354
  // Additional CSS classes merged via `cn()`.
3351
- }), Ia = b({
3352
- children: y([c(), _(), f(), k(), g]).optional(),
3355
+ }), Ia = y({
3356
+ children: b([c(), _(), f(), k(), m]).optional(),
3353
3357
  label: c(),
3354
3358
  // Text label displayed in the trigger button
3355
3359
  open: f().optional(),
@@ -3358,7 +3362,7 @@ const g = y([
3358
3362
  // Additional CSS classes for the content panel
3359
3363
  onOpenChange: s().optional()
3360
3364
  // Callback when collapsed state changes
3361
- }), Na = b({
3365
+ }), Na = y({
3362
3366
  size: v(["xs", "sm", "base", "lg"]).optional(),
3363
3367
  // Size of the combobox trigger. Matches Input component sizes. - `"xs"` — Extra small for compact UIs (h-5 / 20px) - `"sm"` — Small for secondary fields (h-6.5 / 26px) - `"base"` — Default size (h-9 / 36px) - `"lg"` — Large for prominent fields (h-10 / 40px)
3364
3368
  inputSide: v(["right", "top"]).optional(),
@@ -3367,17 +3371,17 @@ const g = y([
3367
3371
  // Array of items to display in the dropdown
3368
3372
  value: L(s()).optional(),
3369
3373
  // Currently selected value(s)
3370
- children: y([c(), _(), f(), k(), g]).optional(),
3374
+ children: b([c(), _(), f(), k(), m]).optional(),
3371
3375
  // Combobox content (trigger, content, items)
3372
3376
  className: c().optional(),
3373
3377
  // Additional CSS classes
3374
- label: y([c(), _(), f(), k(), g]).optional(),
3378
+ label: b([c(), _(), f(), k(), m]).optional(),
3375
3379
  // Label content for the combobox (enables Field wrapper) - can be a string or any React node
3376
3380
  required: f().optional(),
3377
3381
  // Whether the combobox is required
3378
- labelTooltip: y([c(), _(), f(), k(), g]).optional(),
3382
+ labelTooltip: b([c(), _(), f(), k(), m]).optional(),
3379
3383
  // Tooltip content to display next to the label via an info icon
3380
- description: y([c(), _(), f(), k(), g]).optional(),
3384
+ description: b([c(), _(), f(), k(), m]).optional(),
3381
3385
  // Helper text displayed below the combobox
3382
3386
  error: s().optional(),
3383
3387
  // Error message or validation error object
@@ -3387,17 +3391,19 @@ const g = y([
3387
3391
  // Allow multiple selections
3388
3392
  isItemEqualToValue: s().optional()
3389
3393
  // Custom equality function for comparing items
3390
- }), Ea = b({
3394
+ }), Ea = y({
3391
3395
  open: f(),
3392
3396
  // Whether the dialog is open
3393
- children: y([c(), _(), f(), k(), g]).optional()
3397
+ children: b([c(), _(), f(), k(), m]).optional(),
3394
3398
  // Child content - typically one or more Panel components
3395
- }), Ca = b({
3399
+ container: s().optional()
3400
+ // Container element for the portal. Use this to render the command palette inside a Shadow DOM or custom container. Overrides `KumoPortalProvider` context.
3401
+ }), Ca = y({
3396
3402
  className: c().optional(),
3397
3403
  // Additional CSS classes
3398
- children: y([c(), _(), f(), k(), g]).optional()
3404
+ children: b([c(), _(), f(), k(), m]).optional()
3399
3405
  // Child elements
3400
- }), Aa = b({
3406
+ }), Aa = y({
3401
3407
  size: v(["sm", "base", "lg"]).optional(),
3402
3408
  // Calendar size. - `"sm"` — Compact calendar for tight spaces - `"base"` — Default calendar size - `"lg"` — Large calendar for prominent date selection
3403
3409
  variant: v(["default", "subtle"]).optional(),
@@ -3410,20 +3416,22 @@ const g = y([
3410
3416
  // Callback when start date changes
3411
3417
  onEndDateChange: s().optional()
3412
3418
  // Callback when end date changes
3413
- }), xa = b({
3419
+ }), xa = y({
3414
3420
  className: c().optional(),
3415
3421
  // Additional CSS classes merged via `cn()`.
3416
- children: y([c(), _(), f(), k(), g]).optional(),
3422
+ children: b([c(), _(), f(), k(), m]).optional(),
3417
3423
  // Dialog content (typically Title, Description, Close, and action buttons).
3424
+ container: s().optional(),
3425
+ // Container element for the portal. Use this to render the dialog inside a Shadow DOM or custom container. Overrides `KumoPortalProvider` context.
3418
3426
  size: v(["base", "sm", "lg", "xl"]).optional()
3419
3427
  // Dialog width. - `"sm"` — Small (min 288px) for simple confirmations - `"base"` — Default (min 384px) - `"lg"` — Large (min 512px) for complex content - `"xl"` — Extra large (min 768px) for detailed views
3420
- }), ja = b({
3428
+ }), ja = y({
3421
3429
  variant: v(["default", "danger"]).optional()
3422
3430
  // Visual style of the dropdown item. - `"default"` — Standard item appearance - `"danger"` — Destructive action with red text
3423
- }), Ra = b({
3431
+ }), Ra = y({
3424
3432
  size: v(["sm", "base", "lg"]).optional(),
3425
3433
  // Size of the empty state container. - `"sm"` — Compact empty state for smaller containers - `"base"` — Default empty state size - `"lg"` — Large empty state for prominent placement
3426
- icon: y([c(), _(), f(), k(), g]).optional(),
3434
+ icon: b([c(), _(), f(), k(), m]).optional(),
3427
3435
  // Decorative icon displayed above the title (e.g. from `@phosphor-icons/react`).
3428
3436
  title: c(),
3429
3437
  // Primary heading text for the empty state.
@@ -3431,27 +3439,27 @@ const g = y([
3431
3439
  // Secondary description text displayed below the title.
3432
3440
  commandLine: c().optional(),
3433
3441
  // Shell command displayed in a copyable code block.
3434
- contents: y([c(), _(), f(), k(), g]).optional(),
3442
+ contents: b([c(), _(), f(), k(), m]).optional(),
3435
3443
  // Additional content (buttons, links) rendered below the description.
3436
3444
  className: c().optional()
3437
3445
  // Additional CSS classes merged via `cn()`.
3438
- }), Da = b({
3446
+ }), Da = y({
3439
3447
  controlFirst: f().optional(),
3440
3448
  // When `true`, places the control before the label (for checkbox/switch layouts).
3441
- children: y([c(), _(), f(), k(), g]).optional(),
3449
+ children: b([c(), _(), f(), k(), m]).optional(),
3442
3450
  // The form control element(s) to wrap (Input, Select, Checkbox, etc.).
3443
- label: y([c(), _(), f(), k(), g]).optional(),
3451
+ label: b([c(), _(), f(), k(), m]).optional(),
3444
3452
  // The label content — can be a string or any React node.
3445
3453
  required: f().optional(),
3446
3454
  // When explicitly `false`, shows gray "(optional)" text after the label. When `true` or `undefined`, no indicator is shown.
3447
- labelTooltip: y([c(), _(), f(), k(), g]).optional(),
3455
+ labelTooltip: b([c(), _(), f(), k(), m]).optional(),
3448
3456
  // Tooltip content displayed next to the label via an info icon.
3449
3457
  error: s().optional(),
3450
3458
  // Validation error with a message and a browser `ValidityState` match key.
3451
- description: y([c(), _(), f(), k(), g]).optional()
3459
+ description: b([c(), _(), f(), k(), m]).optional()
3452
3460
  // Helper text displayed below the control (hidden when `error` is present).
3453
- }), Ua = b({
3454
- children: y([c(), _(), f(), k(), g]).optional(),
3461
+ }), Ua = y({
3462
+ children: b([c(), _(), f(), k(), m]).optional(),
3455
3463
  // Grid items to render.
3456
3464
  className: c().optional(),
3457
3465
  // Additional CSS classes merged via `cn()`.
@@ -3464,12 +3472,12 @@ const g = y([
3464
3472
  // Gap size between grid items. - `"none"` — No gap - `"sm"` — 12px gap - `"base"` — Responsive gap (8px → 24px → 32px) - `"lg"` — 32px gap
3465
3473
  variant: v(["2up", "side-by-side", "2-1", "1-2", "1-3up", "3up", "4up", "6up", "1-2-4up"]).optional()
3466
3474
  // Responsive column layout variant. - `"2up"` — 1 col → 2 cols at md - `"side-by-side"` — Always 2 cols - `"2-1"` — 66%/33% split at md - `"1-2"` — 33%/66% split at md - `"3up"` — 1 → 2 → 3 cols - `"4up"` — 1 → 2 → 3 → 4 cols - `"6up"` — 2 → 3 → 4 → 6 cols - `"1-2-4up"` — 1 → 2 → 4 cols
3467
- }), Fa = b({
3468
- label: y([c(), _(), f(), k(), g]).optional(),
3475
+ }), Fa = y({
3476
+ label: b([c(), _(), f(), k(), m]).optional(),
3469
3477
  // Label content for the input (enables Field wrapper) - can be a string or any React node
3470
- labelTooltip: y([c(), _(), f(), k(), g]).optional(),
3478
+ labelTooltip: b([c(), _(), f(), k(), m]).optional(),
3471
3479
  // Tooltip content to display next to the label via an info icon
3472
- description: y([c(), _(), f(), k(), g]).optional(),
3480
+ description: b([c(), _(), f(), k(), m]).optional(),
3473
3481
  // Helper text displayed below the input
3474
3482
  error: s().optional(),
3475
3483
  // Error message or validation error object
@@ -3477,12 +3485,12 @@ const g = y([
3477
3485
  // Input size. - `"xs"` — Extra small for compact UIs - `"sm"` — Small for secondary fields - `"base"` — Default size - `"lg"` — Large for prominent fields
3478
3486
  variant: v(["default", "error"]).optional()
3479
3487
  // Visual variant. - `"default"` — Standard input - `"error"` — Error state for validation failures
3480
- }), La = b({}), Ma = b({
3481
- children: y([c(), _(), f(), k(), g]).optional(),
3488
+ }), La = y({}), Ma = y({
3489
+ children: b([c(), _(), f(), k(), m]).optional(),
3482
3490
  // The label content — can be a string or any React node.
3483
3491
  showOptional: f().optional(),
3484
3492
  // When `true`, shows gray "(optional)" text after the label.
3485
- tooltip: y([c(), _(), f(), k(), g]).optional(),
3493
+ tooltip: b([c(), _(), f(), k(), m]).optional(),
3486
3494
  // Tooltip content displayed next to the label via an info icon.
3487
3495
  className: c().optional(),
3488
3496
  // Additional CSS classes merged via `cn()`.
@@ -3490,15 +3498,15 @@ const g = y([
3490
3498
  // The id of the form element this label is associated with
3491
3499
  asContent: f().optional()
3492
3500
  // When true, only renders the inline content (indicators, tooltip) without the outer label element with font styling. Useful when composed inside another label element that already provides the text styling.
3493
- }), Ja = b({
3494
- children: y([c(), _(), f(), k(), g]).optional(),
3501
+ }), Ja = y({
3502
+ children: b([c(), _(), f(), k(), m]).optional(),
3495
3503
  className: c().optional()
3496
3504
  // Additional CSS classes merged via `cn()`.
3497
- }), Ba = b({
3505
+ }), Ba = y({
3498
3506
  variant: v(["inline", "current", "plain"]).optional(),
3499
3507
  // Visual style of the link. - `"inline"` — Inline text link that flows with content - `"current"` — Link that inherits color from parent text - `"plain"` — Link without underline decoration
3500
3508
  to: c().optional(),
3501
- children: y([c(), _(), f(), k(), g]).optional(),
3509
+ children: b([c(), _(), f(), k(), m]).optional(),
3502
3510
  className: c().optional(),
3503
3511
  id: c().optional(),
3504
3512
  lang: c().optional(),
@@ -3511,14 +3519,14 @@ const g = y([
3511
3519
  target: s().optional(),
3512
3520
  type: c().optional(),
3513
3521
  referrerPolicy: v(["", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"]).optional(),
3514
- render: y([c(), _(), f(), k(), g]).optional()
3522
+ render: b([c(), _(), f(), k(), m]).optional()
3515
3523
  // Allows you to replace the component’s HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.
3516
- }), Va = b({
3524
+ }), Va = y({
3517
3525
  className: c().optional(),
3518
3526
  // Additional CSS classes merged via `cn()`.
3519
3527
  size: v(["sm", "base", "lg"]).optional()
3520
3528
  // Size of the spinner. Use a preset name or a custom pixel number. - `"sm"` — 16px, for inline use - `"base"` — 24px, default size - `"lg"` — 32px, for prominent loading states
3521
- }), Wa = b({
3529
+ }), Wa = y({
3522
3530
  className: c().optional(),
3523
3531
  // Additional CSS classes merged via `cn()`.
3524
3532
  isActive: s().optional(),
@@ -3527,7 +3535,7 @@ const g = y([
3527
3535
  // Array of menu option configurations.
3528
3536
  optionIds: f().optional()
3529
3537
  // When true, each option's `id` field is used for matching instead of its array index.
3530
- }), Ka = b({
3538
+ }), Ka = y({
3531
3539
  customValue: c().optional(),
3532
3540
  // Custom formatted value text (e.g. "750 / 1,000") displayed instead of percentage.
3533
3541
  label: c(),
@@ -3544,7 +3552,7 @@ const g = y([
3544
3552
  // Maximum value of the meter (default: 100)
3545
3553
  min: _().optional()
3546
3554
  // Minimum value of the meter (default: 0)
3547
- }), qa = b({
3555
+ }), qa = y({
3548
3556
  setPage: s(),
3549
3557
  // Callback when page changes
3550
3558
  page: _().optional(),
@@ -3555,17 +3563,17 @@ const g = y([
3555
3563
  // Total number of items across all pages.
3556
3564
  className: c().optional(),
3557
3565
  // Additional CSS classes for the container
3558
- children: y([c(), _(), f(), k(), g]).optional(),
3566
+ children: b([c(), _(), f(), k(), m]).optional(),
3559
3567
  // Compound component children for custom layouts. Use Pagination.Info, Pagination.PageSize, Pagination.Controls, and Pagination.Separator.
3560
3568
  controls: v(["full", "simple"]).optional(),
3561
3569
  text: s().optional()
3562
- }), Ga = b({
3570
+ }), Ga = y({
3563
3571
  side: v(["top", "bottom", "left", "right"]).optional()
3564
3572
  // Which side of the trigger the popover appears on. - `"top"` — Above the trigger - `"bottom"` — Below the trigger - `"left"` — Left of the trigger - `"right"` — Right of the trigger
3565
- }), Xa = b({
3573
+ }), Xa = y({
3566
3574
  legend: c(),
3567
3575
  // Legend text for the group (required for accessibility)
3568
- children: y([c(), _(), f(), k(), g]).optional(),
3576
+ children: b([c(), _(), f(), k(), m]).optional(),
3569
3577
  // Child Radio.Item components
3570
3578
  orientation: v(["vertical", "horizontal"]).optional(),
3571
3579
  // Layout direction of the radio items
@@ -3573,7 +3581,7 @@ const g = y([
3573
3581
  // Visual appearance applied to all Radio.Item children. - `"default"` — Standard inline radio items - `"card"` — Choice card with border, padding, and highlighted selection state Individual items can override this with their own `appearance` prop.
3574
3582
  error: c().optional(),
3575
3583
  // Error message for the group
3576
- description: y([c(), _(), f(), k(), g]).optional(),
3584
+ description: b([c(), _(), f(), k(), m]).optional(),
3577
3585
  // Helper text for the group
3578
3586
  value: c().optional(),
3579
3587
  // Value of the radio that should be selected (controlled)
@@ -3585,10 +3593,10 @@ const g = y([
3585
3593
  // Form submission name for the radio group
3586
3594
  className: c().optional()
3587
3595
  // Additional CSS classes
3588
- }), Ya = b({
3596
+ }), Ya = y({
3589
3597
  className: c().optional(),
3590
3598
  // Additional CSS classes merged via `cn()`.
3591
- label: y([c(), _(), f(), k(), g]).optional(),
3599
+ label: b([c(), _(), f(), k(), m]).optional(),
3592
3600
  // Label content for the select. When provided, enables the Field wrapper with a visible label above the select. For accessibility without a visible label, use `aria-label` instead.
3593
3601
  hideLabel: f().optional(),
3594
3602
  placeholder: c().optional(),
@@ -3599,13 +3607,13 @@ const g = y([
3599
3607
  // Whether the select is disabled.
3600
3608
  required: f().optional(),
3601
3609
  // Whether the select is required. When `false`, shows "(optional)" text.
3602
- labelTooltip: y([c(), _(), f(), k(), g]).optional(),
3610
+ labelTooltip: b([c(), _(), f(), k(), m]).optional(),
3603
3611
  // Tooltip content displayed next to the label via an info icon.
3604
3612
  value: c().optional(),
3605
3613
  // Currently selected value (controlled mode).
3606
- children: y([c(), _(), f(), k(), g]).optional(),
3614
+ children: b([c(), _(), f(), k(), m]).optional(),
3607
3615
  // `Select.Option` elements to render in the dropdown.
3608
- description: y([c(), _(), f(), k(), g]).optional(),
3616
+ description: b([c(), _(), f(), k(), m]).optional(),
3609
3617
  // Helper text displayed below the select.
3610
3618
  error: s().optional(),
3611
3619
  // Error message string or validation error object with `match` key.
@@ -3613,7 +3621,7 @@ const g = y([
3613
3621
  // Callback when selection changes
3614
3622
  defaultValue: c().optional()
3615
3623
  // Initial value for uncontrolled mode
3616
- }), Ha = b({
3624
+ }), Ha = y({
3617
3625
  alt: c().optional(),
3618
3626
  autoComplete: s().optional(),
3619
3627
  checked: f().optional(),
@@ -3629,22 +3637,22 @@ const g = y([
3629
3637
  id: c().optional(),
3630
3638
  lang: c().optional(),
3631
3639
  title: c().optional(),
3632
- children: y([c(), _(), f(), k(), g]).optional(),
3640
+ children: b([c(), _(), f(), k(), m]).optional(),
3633
3641
  value: c().optional(),
3634
3642
  // Controlled value
3635
3643
  size: v(["xs", "sm", "base", "lg"]).optional(),
3636
3644
  // Size of the input. - `"xs"` — Extra small for compact UIs - `"sm"` — Small for secondary fields - `"base"` — Default input size - `"lg"` — Large for prominent fields
3637
3645
  variant: v(["default", "error"]).optional(),
3638
3646
  // Style variant of the input. - `"default"` — Default input appearance - `"error"` — Error state for validation failures
3639
- label: y([c(), _(), f(), k(), g]).optional(),
3647
+ label: b([c(), _(), f(), k(), m]).optional(),
3640
3648
  // Label content for the input (enables Field wrapper and sets masked state label) - can be a string or any React node
3641
- labelTooltip: y([c(), _(), f(), k(), g]).optional(),
3649
+ labelTooltip: b([c(), _(), f(), k(), m]).optional(),
3642
3650
  // Tooltip content to display next to the label via an info icon
3643
- description: y([c(), _(), f(), k(), g]).optional(),
3651
+ description: b([c(), _(), f(), k(), m]).optional(),
3644
3652
  // Helper text displayed below the input
3645
3653
  error: s().optional()
3646
3654
  // Error message or validation error object
3647
- }), Qa = b({
3655
+ }), Qa = y({
3648
3656
  defaultOpen: f().optional(),
3649
3657
  // Initial open state when uncontrolled.
3650
3658
  open: f().optional(),
@@ -3662,23 +3670,25 @@ const g = y([
3662
3670
  // Minimum width in pixels when resizing.
3663
3671
  maxWidth: _().optional(),
3664
3672
  // Maximum width in pixels when resizing.
3665
- children: y([c(), _(), f(), k(), g]).optional(),
3673
+ children: b([c(), _(), f(), k(), m]).optional(),
3666
3674
  // Content — typically `<Sidebar>` + main content.
3667
3675
  className: c().optional()
3668
3676
  // Additional CSS classes for the wrapper div.
3669
- }), es = b({
3677
+ }), es = y({
3670
3678
  as: s().optional(),
3671
- // The HTML element type to render as (e.g. `"div"`, `"section"`, `"article"`).
3679
+ render: b([c(), _(), f(), k(), m]).optional(),
3680
+ // Allows you to replace the component’s HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.
3681
+ children: b([c(), _(), f(), k(), m]).optional(),
3672
3682
  className: c().optional(),
3673
- // Additional CSS classes merged via `cn()`.
3674
- children: y([c(), _(), f(), k(), g]).optional()
3675
- // Content rendered inside the surface.
3676
- }), ts = b({
3683
+ id: c().optional(),
3684
+ lang: c().optional(),
3685
+ title: c().optional()
3686
+ }), ts = y({
3677
3687
  variant: v(["default", "neutral"]).optional(),
3678
3688
  // Visual variant: "default" (pill, brand color) or "neutral" (squircle, monochrome)
3679
- label: y([c(), _(), f(), k(), g]).optional(),
3689
+ label: b([c(), _(), f(), k(), m]).optional(),
3680
3690
  // Label content for the switch (Field wrapper is built-in) - can be a string or any React node. Optional when used standalone for visual-only purposes.
3681
- labelTooltip: y([c(), _(), f(), k(), g]).optional(),
3691
+ labelTooltip: b([c(), _(), f(), k(), m]).optional(),
3682
3692
  // Tooltip content to display next to the label via an info icon
3683
3693
  required: f().optional(),
3684
3694
  // Whether the switch is required. When explicitly false, shows "(optional)" text after the label.
@@ -3697,14 +3707,15 @@ const g = y([
3697
3707
  title: c().optional(),
3698
3708
  onClick: s()
3699
3709
  // Callback when switch is clicked
3700
- }), os = b({
3710
+ }), os = y({
3701
3711
  layout: v(["auto", "fixed"]).optional(),
3702
3712
  variant: v(["default", "selected"]).optional(),
3713
+ sticky: v(["left", "right"]).optional(),
3703
3714
  className: c().optional(),
3704
3715
  // Additional CSS classes
3705
- children: y([c(), _(), f(), k(), g]).optional()
3716
+ children: b([c(), _(), f(), k(), m]).optional()
3706
3717
  // Child elements
3707
- }), ns = b({
3718
+ }), ns = y({
3708
3719
  tabs: L(s()).optional(),
3709
3720
  // Array of tab items to render.
3710
3721
  value: c().optional(),
@@ -3723,30 +3734,32 @@ const g = y([
3723
3734
  // Tab style. - `"segmented"` — Pill-shaped indicator on a filled track - `"underline"` — Underline indicator below tab text
3724
3735
  onValueChange: s().optional()
3725
3736
  // Callback when active tab changes
3726
- }), rs = b({
3737
+ }), rs = y({
3727
3738
  variant: v(["heading1", "heading2", "heading3", "body", "secondary", "success", "error", "mono", "mono-secondary"]).optional(),
3728
3739
  // Text style variant. Determines color, font, and weight. - `"heading1"` — Large page title (30px, semibold) - `"heading2"` — Section title (24px, semibold) - `"heading3"` — Subsection title (18px, semibold) - `"body"` — Default body text - `"secondary"` — Muted text for secondary information - `"success"` — Success state text - `"error"` — Error state text - `"mono"` — Monospace text for code - `"mono-secondary"` — Muted monospace text
3729
3740
  size: v(["xs", "sm", "base", "lg"]).optional(),
3730
3741
  // Text size (only applies to body/secondary/success/error variants). - `"xs"` — 12px - `"sm"` — 14px - `"base"` — 16px - `"lg"` — 18px
3731
3742
  bold: f().optional(),
3732
3743
  // Whether to use bold font weight (only applies to body variants).
3744
+ truncate: f().optional(),
3745
+ // Whether to truncate overflowing text with an ellipsis. Adds `truncate min-w-0` classes.
3733
3746
  as: s().optional(),
3734
3747
  // The HTML element type to render as (e.g. `"span"`, `"p"`, `"h1"`). Auto-selected based on variant if omitted.
3735
- children: y([c(), _(), f(), k(), g]).optional()
3748
+ children: b([c(), _(), f(), k(), m]).optional()
3736
3749
  // Text content.
3737
- }), is = b({
3750
+ }), is = y({
3738
3751
  variant: v(["default", "success", "error", "warning", "info"]).optional(),
3739
3752
  className: c().optional(),
3740
3753
  // Additional CSS classes
3741
- children: y([c(), _(), f(), k(), g]).optional()
3754
+ children: b([c(), _(), f(), k(), m]).optional()
3742
3755
  // Child elements
3743
- }), as = b({
3756
+ }), as = y({
3744
3757
  side: v(["top", "bottom", "left", "right"]).optional(),
3745
3758
  className: c().optional(),
3746
3759
  // Additional CSS classes
3747
- children: y([c(), _(), f(), k(), g]).optional(),
3760
+ children: b([c(), _(), f(), k(), m]).optional(),
3748
3761
  // Child elements
3749
- content: y([c(), _(), f(), k(), g])
3762
+ content: b([c(), _(), f(), k(), m])
3750
3763
  // Content to display in the tooltip
3751
3764
  }), ss = v([
3752
3765
  "Badge",
@@ -3828,7 +3841,7 @@ const g = y([
3828
3841
  Text: rs,
3829
3842
  Toasty: is,
3830
3843
  Tooltip: as
3831
- }, us = b({
3844
+ }, us = y({
3832
3845
  key: c(),
3833
3846
  type: ss,
3834
3847
  props: H(c(), s()),
@@ -3836,7 +3849,7 @@ const g = y([
3836
3849
  parentKey: c().nullable().optional(),
3837
3850
  visible: ba.optional(),
3838
3851
  action: za.optional()
3839
- }), ls = b({
3852
+ }), ls = y({
3840
3853
  root: c(),
3841
3854
  elements: H(c(), us)
3842
3855
  });
@@ -3867,7 +3880,7 @@ export {
3867
3880
  Aa as DateRangePickerPropsSchema,
3868
3881
  xa as DialogPropsSchema,
3869
3882
  ja as DropdownMenuPropsSchema,
3870
- g as DynamicValueSchema,
3883
+ m as DynamicValueSchema,
3871
3884
  Ra as EmptyPropsSchema,
3872
3885
  Da as FieldPropsSchema,
3873
3886
  Ua as GridPropsSchema,