@cloudflare/kumo 1.13.1 → 1.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/ai/component-registry.json +57 -30
  3. package/ai/component-registry.md +247 -19
  4. package/ai/schemas.ts +3 -2
  5. package/dist/.build-complete +1 -1
  6. package/dist/ai/schemas.d.ts +10 -2
  7. package/dist/ai/schemas.d.ts.map +1 -1
  8. package/dist/ai/schemas.js +175 -173
  9. package/dist/ai/schemas.js.map +1 -1
  10. package/dist/chunks/Legend-mkh1v83sz972e29d.js +407 -0
  11. package/dist/chunks/Legend-mkh1v83sz972e29d.js.map +1 -0
  12. package/dist/chunks/{breadcrumbs-e564gabk59go37cg.js → breadcrumbs-gr907zcoo65rpn90.js} +2 -2
  13. package/dist/chunks/{breadcrumbs-e564gabk59go37cg.js.map → breadcrumbs-gr907zcoo65rpn90.js.map} +1 -1
  14. package/dist/chunks/{button-b1yp3lbrhjr9eg07.js → button-d82sexqgnd834eaa.js} +2 -2
  15. package/dist/chunks/{button-b1yp3lbrhjr9eg07.js.map → button-d82sexqgnd834eaa.js.map} +1 -1
  16. package/dist/chunks/{checkbox-khvh0efmlzvlo6qi.js → checkbox-f4qsbq6xycaji7qw.js} +3 -3
  17. package/dist/chunks/{checkbox-khvh0efmlzvlo6qi.js.map → checkbox-f4qsbq6xycaji7qw.js.map} +1 -1
  18. package/dist/chunks/{clipboard-text-jvrlvyz5ulm49h5b.js → clipboard-text-fvggzgqrza82t5om.js} +4 -4
  19. package/dist/chunks/{clipboard-text-jvrlvyz5ulm49h5b.js.map → clipboard-text-fvggzgqrza82t5om.js.map} +1 -1
  20. package/dist/chunks/{combobox-i3mdp6f01dvpoc5j.js → combobox-om4zw74o076sa00p.js} +61 -50
  21. package/dist/chunks/combobox-om4zw74o076sa00p.js.map +1 -0
  22. package/dist/chunks/{command-palette-l8dym46a74o7j8ci.js → command-palette-ejoszjfivybu9yi5.js} +3 -3
  23. package/dist/chunks/{command-palette-l8dym46a74o7j8ci.js.map → command-palette-ejoszjfivybu9yi5.js.map} +1 -1
  24. package/dist/chunks/{dialog-emk68n0piw8u7hkb.js → dialog-gkmecnx48ge38jrr.js} +11 -11
  25. package/dist/chunks/dialog-gkmecnx48ge38jrr.js.map +1 -0
  26. package/dist/chunks/{dropdown-ejgjnn9gq3daua1h.js → dropdown-i8n7nv3cvkvb1x3e.js} +2 -2
  27. package/dist/chunks/{dropdown-ejgjnn9gq3daua1h.js.map → dropdown-i8n7nv3cvkvb1x3e.js.map} +1 -1
  28. package/dist/chunks/{empty-crbntv0dhud7besh.js → empty-h3qhwtx0z8arupc9.js} +2 -2
  29. package/dist/chunks/{empty-crbntv0dhud7besh.js.map → empty-h3qhwtx0z8arupc9.js.map} +1 -1
  30. package/dist/chunks/{field-ftrgblg9mbmz9eo3.js → field-lc4gr226y5aqlctf.js} +3 -3
  31. package/dist/chunks/{field-ftrgblg9mbmz9eo3.js.map → field-lc4gr226y5aqlctf.js.map} +1 -1
  32. package/dist/chunks/input-area-ce3bf8m8wvot44kg.js +74 -0
  33. package/dist/chunks/input-area-ce3bf8m8wvot44kg.js.map +1 -0
  34. package/dist/chunks/{input-group-g6qyhe5jvpe02hee.js → input-group-kttdor9mr32k289o.js} +3 -3
  35. package/dist/chunks/{input-group-g6qyhe5jvpe02hee.js.map → input-group-kttdor9mr32k289o.js.map} +1 -1
  36. package/dist/chunks/{input-me56hug8sl0u650q.js → input-nvne68upfj8b2bk6.js} +20 -20
  37. package/dist/chunks/input-nvne68upfj8b2bk6.js.map +1 -0
  38. package/dist/chunks/{label-eooot7dhtfvw7n3x.js → label-e42o95ab0dxmchxb.js} +3 -3
  39. package/dist/chunks/{label-eooot7dhtfvw7n3x.js.map → label-e42o95ab0dxmchxb.js.map} +1 -1
  40. package/dist/chunks/{layer-card-8azgeai6zsrdbeoj.js → layer-card-mu2w82x6ko1nhhtr.js} +7 -7
  41. package/dist/chunks/{layer-card-8azgeai6zsrdbeoj.js.map → layer-card-mu2w82x6ko1nhhtr.js.map} +1 -1
  42. package/dist/chunks/{link-moetfdbgxda0yhwg.js → link-lpzl5s47pmobk361.js} +2 -2
  43. package/dist/chunks/{link-moetfdbgxda0yhwg.js.map → link-lpzl5s47pmobk361.js.map} +1 -1
  44. package/dist/chunks/{menubar-c2zwv4mbo3xqq7is.js → menubar-ifxxdoa35zz79z1q.js} +2 -2
  45. package/dist/chunks/{menubar-c2zwv4mbo3xqq7is.js.map → menubar-ifxxdoa35zz79z1q.js.map} +1 -1
  46. package/dist/chunks/{meter-em2hfu8j2rhmf5ae.js → meter-fbtqfg0okpwmaiju.js} +2 -2
  47. package/dist/chunks/{meter-em2hfu8j2rhmf5ae.js.map → meter-fbtqfg0okpwmaiju.js.map} +1 -1
  48. package/dist/chunks/{pagination-xt93wvwvow4z44lc.js → pagination-owm6h66jjgv1tjoe.js} +3 -3
  49. package/dist/chunks/{pagination-xt93wvwvow4z44lc.js.map → pagination-owm6h66jjgv1tjoe.js.map} +1 -1
  50. package/dist/chunks/{popover-irccwetx73p8pnua.js → popover-dd7hi5ajeoq9od1i.js} +2 -2
  51. package/dist/chunks/{popover-irccwetx73p8pnua.js.map → popover-dd7hi5ajeoq9od1i.js.map} +1 -1
  52. package/dist/chunks/radio-ff1csb328f12smd4.js +200 -0
  53. package/dist/chunks/radio-ff1csb328f12smd4.js.map +1 -0
  54. package/dist/chunks/{select-jxxef2rf76pgdrf8.js → select-go7a0z3evkh9cfxq.js} +41 -34
  55. package/dist/chunks/select-go7a0z3evkh9cfxq.js.map +1 -0
  56. package/dist/chunks/{sensitive-input-i7ey1w0ky7nco012.js → sensitive-input-gtzk3vit4i35n95g.js} +34 -34
  57. package/dist/chunks/sensitive-input-gtzk3vit4i35n95g.js.map +1 -0
  58. package/dist/chunks/switch-cpbp0i75jnazkani.js +241 -0
  59. package/dist/chunks/switch-cpbp0i75jnazkani.js.map +1 -0
  60. package/dist/chunks/{table-d4ql7fjvok30xs1f.js → table-g41yb7ruredizqr8.js} +3 -3
  61. package/dist/chunks/table-g41yb7ruredizqr8.js.map +1 -0
  62. package/dist/chunks/{tabs-n3rcvuzx0gbslyy6.js → tabs-hy6oa7xtf96d9mxt.js} +27 -27
  63. package/dist/chunks/{tabs-n3rcvuzx0gbslyy6.js.map → tabs-hy6oa7xtf96d9mxt.js.map} +1 -1
  64. package/dist/chunks/{toast-j05qj3vk688ht1i1.js → toast-j5gtfc50xpzzd0hc.js} +3 -3
  65. package/dist/chunks/{toast-j05qj3vk688ht1i1.js.map → toast-j5gtfc50xpzzd0hc.js.map} +1 -1
  66. package/dist/chunks/{tooltip-es2dwwbhftg4k2jy.js → tooltip-k68wcv9mrigb7rcb.js} +2 -2
  67. package/dist/chunks/{tooltip-es2dwwbhftg4k2jy.js.map → tooltip-k68wcv9mrigb7rcb.js.map} +1 -1
  68. package/dist/chunks/{vendor-base-ui-kxxocm122zr4pipe.js → vendor-base-ui-cpvkrhz4zgw9nw2b.js} +18 -18
  69. package/dist/chunks/{vendor-base-ui-kxxocm122zr4pipe.js.map → vendor-base-ui-cpvkrhz4zgw9nw2b.js.map} +1 -1
  70. package/dist/code.js +1 -1
  71. package/dist/code.js.map +1 -1
  72. package/dist/components/breadcrumbs.js +1 -1
  73. package/dist/components/button.js +1 -1
  74. package/dist/components/chart.js +1 -1
  75. package/dist/components/checkbox.js +1 -1
  76. package/dist/components/clipboard-text.js +1 -1
  77. package/dist/components/combobox.js +1 -1
  78. package/dist/components/command-palette.js +1 -1
  79. package/dist/components/dialog.js +1 -1
  80. package/dist/components/dropdown.js +1 -1
  81. package/dist/components/empty.js +1 -1
  82. package/dist/components/field.js +1 -1
  83. package/dist/components/flow.js +1435 -1431
  84. package/dist/components/flow.js.map +1 -1
  85. package/dist/components/input.js +3 -3
  86. package/dist/components/label.js +1 -1
  87. package/dist/components/layer-card.js +1 -1
  88. package/dist/components/link.js +1 -1
  89. package/dist/components/menubar.js +1 -1
  90. package/dist/components/meter.js +1 -1
  91. package/dist/components/pagination.js +1 -1
  92. package/dist/components/popover.js +1 -1
  93. package/dist/components/radio.js +1 -1
  94. package/dist/components/select.js +1 -1
  95. package/dist/components/sensitive-input.js +1 -1
  96. package/dist/components/switch.js +1 -1
  97. package/dist/components/table.js +1 -1
  98. package/dist/components/tabs.js +1 -1
  99. package/dist/components/toast.js +2 -2
  100. package/dist/components/tooltip.js +1 -1
  101. package/dist/index.js +70 -69
  102. package/dist/primitives/accordion.js +1 -1
  103. package/dist/primitives/alert-dialog.js +1 -1
  104. package/dist/primitives/autocomplete.js +1 -1
  105. package/dist/primitives/avatar.js +1 -1
  106. package/dist/primitives/button.js +1 -1
  107. package/dist/primitives/checkbox-group.js +1 -1
  108. package/dist/primitives/checkbox.js +1 -1
  109. package/dist/primitives/collapsible.js +1 -1
  110. package/dist/primitives/combobox.js +1 -1
  111. package/dist/primitives/context-menu.js +1 -1
  112. package/dist/primitives/csp-provider.js +1 -1
  113. package/dist/primitives/dialog.js +1 -1
  114. package/dist/primitives/direction-provider.js +1 -1
  115. package/dist/primitives/drawer.js +1 -1
  116. package/dist/primitives/field.js +1 -1
  117. package/dist/primitives/fieldset.js +1 -1
  118. package/dist/primitives/form.js +1 -1
  119. package/dist/primitives/input.js +1 -1
  120. package/dist/primitives/menu.js +1 -1
  121. package/dist/primitives/menubar.js +1 -1
  122. package/dist/primitives/meter.js +1 -1
  123. package/dist/primitives/navigation-menu.js +1 -1
  124. package/dist/primitives/number-field.js +1 -1
  125. package/dist/primitives/popover.js +1 -1
  126. package/dist/primitives/preview-card.js +1 -1
  127. package/dist/primitives/progress.js +1 -1
  128. package/dist/primitives/radio-group.js +1 -1
  129. package/dist/primitives/radio.js +1 -1
  130. package/dist/primitives/scroll-area.js +1 -1
  131. package/dist/primitives/select.js +1 -1
  132. package/dist/primitives/separator.js +1 -1
  133. package/dist/primitives/slider.js +1 -1
  134. package/dist/primitives/switch.js +1 -1
  135. package/dist/primitives/tabs.js +1 -1
  136. package/dist/primitives/toast.js +1 -1
  137. package/dist/primitives/toggle-group.js +1 -1
  138. package/dist/primitives/toggle.js +1 -1
  139. package/dist/primitives/toolbar.js +1 -1
  140. package/dist/primitives/tooltip.js +1 -1
  141. package/dist/primitives.js +1 -1
  142. package/dist/scripts/theme-generator/config.d.ts.map +1 -1
  143. package/dist/scripts/theme-generator/config.js +12 -3
  144. package/dist/scripts/theme-generator/config.js.map +1 -1
  145. package/dist/src/code/code-highlighted.d.ts +2 -2
  146. package/dist/src/code/code-highlighted.d.ts.map +1 -1
  147. package/dist/src/code/provider.d.ts +2 -2
  148. package/dist/src/code/provider.d.ts.map +1 -1
  149. package/dist/src/components/chart/EChart.d.ts +7 -2
  150. package/dist/src/components/chart/EChart.d.ts.map +1 -1
  151. package/dist/src/components/combobox/combobox.d.ts.map +1 -1
  152. package/dist/src/components/flow/diagram.d.ts.map +1 -1
  153. package/dist/src/components/input/input-area.d.ts.map +1 -1
  154. package/dist/src/components/radio/index.d.ts +1 -1
  155. package/dist/src/components/radio/index.d.ts.map +1 -1
  156. package/dist/src/components/radio/radio.d.ts +43 -4
  157. package/dist/src/components/radio/radio.d.ts.map +1 -1
  158. package/dist/src/components/select/select.d.ts.map +1 -1
  159. package/dist/src/components/switch/switch.d.ts +8 -8
  160. package/dist/src/components/switch/switch.d.ts.map +1 -1
  161. package/dist/src/index.d.ts +1 -1
  162. package/dist/src/index.d.ts.map +1 -1
  163. package/dist/styles/kumo-binding.css +5 -0
  164. package/dist/styles/kumo-standalone.css +1 -1
  165. package/dist/styles/theme-kumo.css +7 -0
  166. package/package.json +3 -6
  167. package/scripts/theme-generator/config.ts +12 -3
  168. package/dist/chunks/Legend-fu32ev5ph2ehbfzy.js +0 -402
  169. package/dist/chunks/Legend-fu32ev5ph2ehbfzy.js.map +0 -1
  170. package/dist/chunks/combobox-i3mdp6f01dvpoc5j.js.map +0 -1
  171. package/dist/chunks/dialog-emk68n0piw8u7hkb.js.map +0 -1
  172. package/dist/chunks/input-area-hxtyrqpp44m18j72.js +0 -59
  173. package/dist/chunks/input-area-hxtyrqpp44m18j72.js.map +0 -1
  174. package/dist/chunks/input-me56hug8sl0u650q.js.map +0 -1
  175. package/dist/chunks/radio-394mfs3au5m8cgd8.js +0 -125
  176. package/dist/chunks/radio-394mfs3au5m8cgd8.js.map +0 -1
  177. package/dist/chunks/select-jxxef2rf76pgdrf8.js.map +0 -1
  178. package/dist/chunks/sensitive-input-i7ey1w0ky7nco012.js.map +0 -1
  179. package/dist/chunks/switch-b0xo8fxsfzv87krj.js +0 -257
  180. package/dist/chunks/switch-b0xo8fxsfzv87krj.js.map +0 -1
  181. package/dist/chunks/table-d4ql7fjvok30xs1f.js.map +0 -1
@@ -155,7 +155,7 @@ function J(e, t, o) {
155
155
  const n = new e._zod.constr(t ?? e._zod.def);
156
156
  return (!t || o?.parent) && (n._zod.parent = e), n;
157
157
  }
158
- function b(e) {
158
+ function y(e) {
159
159
  const t = e;
160
160
  if (!t)
161
161
  return {};
@@ -1671,7 +1671,7 @@ const Y = globalThis.__zod_globalRegistry;
1671
1671
  function Rn(e, t) {
1672
1672
  return new e({
1673
1673
  type: "string",
1674
- ...b(t)
1674
+ ...y(t)
1675
1675
  });
1676
1676
  }
1677
1677
  // @__NO_SIDE_EFFECTS__
@@ -1681,7 +1681,7 @@ function Dn(e, t) {
1681
1681
  format: "email",
1682
1682
  check: "string_format",
1683
1683
  abort: !1,
1684
- ...b(t)
1684
+ ...y(t)
1685
1685
  });
1686
1686
  }
1687
1687
  // @__NO_SIDE_EFFECTS__
@@ -1691,7 +1691,7 @@ function De(e, t) {
1691
1691
  format: "guid",
1692
1692
  check: "string_format",
1693
1693
  abort: !1,
1694
- ...b(t)
1694
+ ...y(t)
1695
1695
  });
1696
1696
  }
1697
1697
  // @__NO_SIDE_EFFECTS__
@@ -1701,7 +1701,7 @@ function Un(e, t) {
1701
1701
  format: "uuid",
1702
1702
  check: "string_format",
1703
1703
  abort: !1,
1704
- ...b(t)
1704
+ ...y(t)
1705
1705
  });
1706
1706
  }
1707
1707
  // @__NO_SIDE_EFFECTS__
@@ -1712,7 +1712,7 @@ function Fn(e, t) {
1712
1712
  check: "string_format",
1713
1713
  abort: !1,
1714
1714
  version: "v4",
1715
- ...b(t)
1715
+ ...y(t)
1716
1716
  });
1717
1717
  }
1718
1718
  // @__NO_SIDE_EFFECTS__
@@ -1723,7 +1723,7 @@ function Ln(e, t) {
1723
1723
  check: "string_format",
1724
1724
  abort: !1,
1725
1725
  version: "v6",
1726
- ...b(t)
1726
+ ...y(t)
1727
1727
  });
1728
1728
  }
1729
1729
  // @__NO_SIDE_EFFECTS__
@@ -1734,7 +1734,7 @@ function Mn(e, t) {
1734
1734
  check: "string_format",
1735
1735
  abort: !1,
1736
1736
  version: "v7",
1737
- ...b(t)
1737
+ ...y(t)
1738
1738
  });
1739
1739
  }
1740
1740
  // @__NO_SIDE_EFFECTS__
@@ -1744,7 +1744,7 @@ function Jn(e, t) {
1744
1744
  format: "url",
1745
1745
  check: "string_format",
1746
1746
  abort: !1,
1747
- ...b(t)
1747
+ ...y(t)
1748
1748
  });
1749
1749
  }
1750
1750
  // @__NO_SIDE_EFFECTS__
@@ -1754,7 +1754,7 @@ function Bn(e, t) {
1754
1754
  format: "emoji",
1755
1755
  check: "string_format",
1756
1756
  abort: !1,
1757
- ...b(t)
1757
+ ...y(t)
1758
1758
  });
1759
1759
  }
1760
1760
  // @__NO_SIDE_EFFECTS__
@@ -1764,7 +1764,7 @@ function Vn(e, t) {
1764
1764
  format: "nanoid",
1765
1765
  check: "string_format",
1766
1766
  abort: !1,
1767
- ...b(t)
1767
+ ...y(t)
1768
1768
  });
1769
1769
  }
1770
1770
  // @__NO_SIDE_EFFECTS__
@@ -1774,7 +1774,7 @@ function Wn(e, t) {
1774
1774
  format: "cuid",
1775
1775
  check: "string_format",
1776
1776
  abort: !1,
1777
- ...b(t)
1777
+ ...y(t)
1778
1778
  });
1779
1779
  }
1780
1780
  // @__NO_SIDE_EFFECTS__
@@ -1784,7 +1784,7 @@ function Kn(e, t) {
1784
1784
  format: "cuid2",
1785
1785
  check: "string_format",
1786
1786
  abort: !1,
1787
- ...b(t)
1787
+ ...y(t)
1788
1788
  });
1789
1789
  }
1790
1790
  // @__NO_SIDE_EFFECTS__
@@ -1794,7 +1794,7 @@ function qn(e, t) {
1794
1794
  format: "ulid",
1795
1795
  check: "string_format",
1796
1796
  abort: !1,
1797
- ...b(t)
1797
+ ...y(t)
1798
1798
  });
1799
1799
  }
1800
1800
  // @__NO_SIDE_EFFECTS__
@@ -1804,7 +1804,7 @@ function Gn(e, t) {
1804
1804
  format: "xid",
1805
1805
  check: "string_format",
1806
1806
  abort: !1,
1807
- ...b(t)
1807
+ ...y(t)
1808
1808
  });
1809
1809
  }
1810
1810
  // @__NO_SIDE_EFFECTS__
@@ -1814,7 +1814,7 @@ function Xn(e, t) {
1814
1814
  format: "ksuid",
1815
1815
  check: "string_format",
1816
1816
  abort: !1,
1817
- ...b(t)
1817
+ ...y(t)
1818
1818
  });
1819
1819
  }
1820
1820
  // @__NO_SIDE_EFFECTS__
@@ -1824,7 +1824,7 @@ function Yn(e, t) {
1824
1824
  format: "ipv4",
1825
1825
  check: "string_format",
1826
1826
  abort: !1,
1827
- ...b(t)
1827
+ ...y(t)
1828
1828
  });
1829
1829
  }
1830
1830
  // @__NO_SIDE_EFFECTS__
@@ -1834,7 +1834,7 @@ function Hn(e, t) {
1834
1834
  format: "ipv6",
1835
1835
  check: "string_format",
1836
1836
  abort: !1,
1837
- ...b(t)
1837
+ ...y(t)
1838
1838
  });
1839
1839
  }
1840
1840
  // @__NO_SIDE_EFFECTS__
@@ -1844,7 +1844,7 @@ function Qn(e, t) {
1844
1844
  format: "cidrv4",
1845
1845
  check: "string_format",
1846
1846
  abort: !1,
1847
- ...b(t)
1847
+ ...y(t)
1848
1848
  });
1849
1849
  }
1850
1850
  // @__NO_SIDE_EFFECTS__
@@ -1854,7 +1854,7 @@ function er(e, t) {
1854
1854
  format: "cidrv6",
1855
1855
  check: "string_format",
1856
1856
  abort: !1,
1857
- ...b(t)
1857
+ ...y(t)
1858
1858
  });
1859
1859
  }
1860
1860
  // @__NO_SIDE_EFFECTS__
@@ -1864,7 +1864,7 @@ function tr(e, t) {
1864
1864
  format: "base64",
1865
1865
  check: "string_format",
1866
1866
  abort: !1,
1867
- ...b(t)
1867
+ ...y(t)
1868
1868
  });
1869
1869
  }
1870
1870
  // @__NO_SIDE_EFFECTS__
@@ -1874,7 +1874,7 @@ function or(e, t) {
1874
1874
  format: "base64url",
1875
1875
  check: "string_format",
1876
1876
  abort: !1,
1877
- ...b(t)
1877
+ ...y(t)
1878
1878
  });
1879
1879
  }
1880
1880
  // @__NO_SIDE_EFFECTS__
@@ -1884,7 +1884,7 @@ function nr(e, t) {
1884
1884
  format: "e164",
1885
1885
  check: "string_format",
1886
1886
  abort: !1,
1887
- ...b(t)
1887
+ ...y(t)
1888
1888
  });
1889
1889
  }
1890
1890
  // @__NO_SIDE_EFFECTS__
@@ -1894,7 +1894,7 @@ function rr(e, t) {
1894
1894
  format: "jwt",
1895
1895
  check: "string_format",
1896
1896
  abort: !1,
1897
- ...b(t)
1897
+ ...y(t)
1898
1898
  });
1899
1899
  }
1900
1900
  // @__NO_SIDE_EFFECTS__
@@ -1906,7 +1906,7 @@ function ir(e, t) {
1906
1906
  offset: !1,
1907
1907
  local: !1,
1908
1908
  precision: null,
1909
- ...b(t)
1909
+ ...y(t)
1910
1910
  });
1911
1911
  }
1912
1912
  // @__NO_SIDE_EFFECTS__
@@ -1915,7 +1915,7 @@ function ar(e, t) {
1915
1915
  type: "string",
1916
1916
  format: "date",
1917
1917
  check: "string_format",
1918
- ...b(t)
1918
+ ...y(t)
1919
1919
  });
1920
1920
  }
1921
1921
  // @__NO_SIDE_EFFECTS__
@@ -1925,7 +1925,7 @@ function sr(e, t) {
1925
1925
  format: "time",
1926
1926
  check: "string_format",
1927
1927
  precision: null,
1928
- ...b(t)
1928
+ ...y(t)
1929
1929
  });
1930
1930
  }
1931
1931
  // @__NO_SIDE_EFFECTS__
@@ -1934,7 +1934,7 @@ function cr(e, t) {
1934
1934
  type: "string",
1935
1935
  format: "duration",
1936
1936
  check: "string_format",
1937
- ...b(t)
1937
+ ...y(t)
1938
1938
  });
1939
1939
  }
1940
1940
  // @__NO_SIDE_EFFECTS__
@@ -1942,7 +1942,7 @@ function ur(e, t) {
1942
1942
  return new e({
1943
1943
  type: "number",
1944
1944
  checks: [],
1945
- ...b(t)
1945
+ ...y(t)
1946
1946
  });
1947
1947
  }
1948
1948
  // @__NO_SIDE_EFFECTS__
@@ -1952,21 +1952,21 @@ function lr(e, t) {
1952
1952
  check: "number_format",
1953
1953
  abort: !1,
1954
1954
  format: "safeint",
1955
- ...b(t)
1955
+ ...y(t)
1956
1956
  });
1957
1957
  }
1958
1958
  // @__NO_SIDE_EFFECTS__
1959
1959
  function pr(e, t) {
1960
1960
  return new e({
1961
1961
  type: "boolean",
1962
- ...b(t)
1962
+ ...y(t)
1963
1963
  });
1964
1964
  }
1965
1965
  // @__NO_SIDE_EFFECTS__
1966
1966
  function dr(e, t) {
1967
1967
  return new e({
1968
1968
  type: "null",
1969
- ...b(t)
1969
+ ...y(t)
1970
1970
  });
1971
1971
  }
1972
1972
  // @__NO_SIDE_EFFECTS__
@@ -1979,14 +1979,14 @@ function fr(e) {
1979
1979
  function hr(e, t) {
1980
1980
  return new e({
1981
1981
  type: "never",
1982
- ...b(t)
1982
+ ...y(t)
1983
1983
  });
1984
1984
  }
1985
1985
  // @__NO_SIDE_EFFECTS__
1986
1986
  function Ue(e, t) {
1987
1987
  return new at({
1988
1988
  check: "less_than",
1989
- ...b(t),
1989
+ ...y(t),
1990
1990
  value: e,
1991
1991
  inclusive: !1
1992
1992
  });
@@ -1995,7 +1995,7 @@ function Ue(e, t) {
1995
1995
  function he(e, t) {
1996
1996
  return new at({
1997
1997
  check: "less_than",
1998
- ...b(t),
1998
+ ...y(t),
1999
1999
  value: e,
2000
2000
  inclusive: !0
2001
2001
  });
@@ -2004,7 +2004,7 @@ function he(e, t) {
2004
2004
  function Fe(e, t) {
2005
2005
  return new st({
2006
2006
  check: "greater_than",
2007
- ...b(t),
2007
+ ...y(t),
2008
2008
  value: e,
2009
2009
  inclusive: !1
2010
2010
  });
@@ -2013,7 +2013,7 @@ function Fe(e, t) {
2013
2013
  function me(e, t) {
2014
2014
  return new st({
2015
2015
  check: "greater_than",
2016
- ...b(t),
2016
+ ...y(t),
2017
2017
  value: e,
2018
2018
  inclusive: !0
2019
2019
  });
@@ -2022,7 +2022,7 @@ function me(e, t) {
2022
2022
  function Le(e, t) {
2023
2023
  return new So({
2024
2024
  check: "multiple_of",
2025
- ...b(t),
2025
+ ...y(t),
2026
2026
  value: e
2027
2027
  });
2028
2028
  }
@@ -2030,7 +2030,7 @@ function Le(e, t) {
2030
2030
  function ft(e, t) {
2031
2031
  return new Po({
2032
2032
  check: "max_length",
2033
- ...b(t),
2033
+ ...y(t),
2034
2034
  maximum: e
2035
2035
  });
2036
2036
  }
@@ -2038,7 +2038,7 @@ function ft(e, t) {
2038
2038
  function ce(e, t) {
2039
2039
  return new Oo({
2040
2040
  check: "min_length",
2041
- ...b(t),
2041
+ ...y(t),
2042
2042
  minimum: e
2043
2043
  });
2044
2044
  }
@@ -2046,7 +2046,7 @@ function ce(e, t) {
2046
2046
  function ht(e, t) {
2047
2047
  return new To({
2048
2048
  check: "length_equals",
2049
- ...b(t),
2049
+ ...y(t),
2050
2050
  length: e
2051
2051
  });
2052
2052
  }
@@ -2055,7 +2055,7 @@ function mr(e, t) {
2055
2055
  return new Io({
2056
2056
  check: "string_format",
2057
2057
  format: "regex",
2058
- ...b(t),
2058
+ ...y(t),
2059
2059
  pattern: e
2060
2060
  });
2061
2061
  }
@@ -2064,7 +2064,7 @@ function gr(e) {
2064
2064
  return new No({
2065
2065
  check: "string_format",
2066
2066
  format: "lowercase",
2067
- ...b(e)
2067
+ ...y(e)
2068
2068
  });
2069
2069
  }
2070
2070
  // @__NO_SIDE_EFFECTS__
@@ -2072,7 +2072,7 @@ function _r(e) {
2072
2072
  return new Eo({
2073
2073
  check: "string_format",
2074
2074
  format: "uppercase",
2075
- ...b(e)
2075
+ ...y(e)
2076
2076
  });
2077
2077
  }
2078
2078
  // @__NO_SIDE_EFFECTS__
@@ -2080,7 +2080,7 @@ function vr(e, t) {
2080
2080
  return new Co({
2081
2081
  check: "string_format",
2082
2082
  format: "includes",
2083
- ...b(t),
2083
+ ...y(t),
2084
2084
  includes: e
2085
2085
  });
2086
2086
  }
@@ -2089,7 +2089,7 @@ function br(e, t) {
2089
2089
  return new Ao({
2090
2090
  check: "string_format",
2091
2091
  format: "starts_with",
2092
- ...b(t),
2092
+ ...y(t),
2093
2093
  prefix: e
2094
2094
  });
2095
2095
  }
@@ -2098,7 +2098,7 @@ function yr(e, t) {
2098
2098
  return new xo({
2099
2099
  check: "string_format",
2100
2100
  format: "ends_with",
2101
- ...b(t),
2101
+ ...y(t),
2102
2102
  suffix: e
2103
2103
  });
2104
2104
  }
@@ -2137,7 +2137,7 @@ function Zr(e, t, o) {
2137
2137
  // get element() {
2138
2138
  // return element;
2139
2139
  // },
2140
- ...b(o)
2140
+ ...y(o)
2141
2141
  });
2142
2142
  }
2143
2143
  // @__NO_SIDE_EFFECTS__
@@ -2146,7 +2146,7 @@ function Pr(e, t, o) {
2146
2146
  type: "custom",
2147
2147
  check: "custom",
2148
2148
  fn: t,
2149
- ...b(o)
2149
+ ...y(o)
2150
2150
  });
2151
2151
  }
2152
2152
  // @__NO_SIDE_EFFECTS__
@@ -2165,7 +2165,7 @@ function Or(e) {
2165
2165
  function Tr(e, t) {
2166
2166
  const o = new x({
2167
2167
  check: "custom",
2168
- ...b(t)
2168
+ ...y(t)
2169
2169
  });
2170
2170
  return o._zod.check = e, o;
2171
2171
  }
@@ -2744,13 +2744,13 @@ function L(e, t) {
2744
2744
  return /* @__PURE__ */ Zr(Wi, e, t);
2745
2745
  }
2746
2746
  const Ki = /* @__PURE__ */ d("ZodObject", (e, t) => {
2747
- vn.init(e, t), P.init(e, t), e._zod.processJSONSchema = (o, n, r) => Mr(e, o, n, r), S(e, "shape", () => t.shape), e.keyof = () => y(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]);
2747
+ vn.init(e, t), P.init(e, t), e._zod.processJSONSchema = (o, n, r) => Mr(e, o, n, r), S(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 v(e, t) {
2749
+ function b(e, t) {
2750
2750
  const o = {
2751
2751
  type: "object",
2752
2752
  shape: e ?? {},
2753
- ...b(t)
2753
+ ...y(t)
2754
2754
  };
2755
2755
  return new Ki(o);
2756
2756
  }
@@ -2761,7 +2761,7 @@ function z(e, t) {
2761
2761
  return new qi({
2762
2762
  type: "union",
2763
2763
  options: e,
2764
- ...b(t)
2764
+ ...y(t)
2765
2765
  });
2766
2766
  }
2767
2767
  const Gi = /* @__PURE__ */ d("ZodIntersection", (e, t) => {
@@ -2786,7 +2786,7 @@ function W(e, t, o) {
2786
2786
  type: "tuple",
2787
2787
  items: e,
2788
2788
  rest: a,
2789
- ...b(r)
2789
+ ...y(r)
2790
2790
  });
2791
2791
  }
2792
2792
  const Hi = /* @__PURE__ */ d("ZodRecord", (e, t) => {
@@ -2797,7 +2797,7 @@ function H(e, t, o) {
2797
2797
  type: "record",
2798
2798
  keyType: e,
2799
2799
  valueType: t,
2800
- ...b(o)
2800
+ ...y(o)
2801
2801
  });
2802
2802
  }
2803
2803
  const ve = /* @__PURE__ */ d("ZodEnum", (e, t) => {
@@ -2813,7 +2813,7 @@ const ve = /* @__PURE__ */ d("ZodEnum", (e, t) => {
2813
2813
  return new ve({
2814
2814
  ...t,
2815
2815
  checks: [],
2816
- ...b(r),
2816
+ ...y(r),
2817
2817
  entries: a
2818
2818
  });
2819
2819
  }, e.exclude = (n, r) => {
@@ -2826,17 +2826,17 @@ const ve = /* @__PURE__ */ d("ZodEnum", (e, t) => {
2826
2826
  return new ve({
2827
2827
  ...t,
2828
2828
  checks: [],
2829
- ...b(r),
2829
+ ...y(r),
2830
2830
  entries: a
2831
2831
  });
2832
2832
  };
2833
2833
  });
2834
- function y(e, t) {
2834
+ function v(e, t) {
2835
2835
  const o = Array.isArray(e) ? Object.fromEntries(e.map((n) => [n, n])) : e;
2836
2836
  return new ve({
2837
2837
  type: "enum",
2838
2838
  entries: o,
2839
- ...b(t)
2839
+ ...y(t)
2840
2840
  });
2841
2841
  }
2842
2842
  const Qi = /* @__PURE__ */ d("ZodTransform", (e, t) => {
@@ -2919,7 +2919,7 @@ function ca(e, t) {
2919
2919
  return new wt({
2920
2920
  type: "nonoptional",
2921
2921
  innerType: e,
2922
- ...b(t)
2922
+ ...y(t)
2923
2923
  });
2924
2924
  }
2925
2925
  const ua = /* @__PURE__ */ d("ZodCatch", (e, t) => {
@@ -2975,45 +2975,45 @@ const g = z([
2975
2975
  _(),
2976
2976
  h(),
2977
2977
  w(),
2978
- v({ path: c() })
2978
+ b({ path: c() })
2979
2979
  ]), ie = ma(
2980
2980
  () => z([
2981
- v({ and: L(ie) }),
2982
- v({ or: L(ie) }),
2983
- v({ not: ie }),
2984
- v({ path: c() }),
2985
- v({ eq: W([g, g]) }),
2986
- v({ neq: W([g, g]) }),
2987
- v({ gt: W([g, g]) }),
2988
- v({ gte: W([g, g]) }),
2989
- v({ lt: W([g, g]) }),
2990
- v({ lte: W([g, g]) })
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]) })
2991
2991
  ])
2992
2992
  ), ba = z([
2993
2993
  h(),
2994
- v({ path: c() }),
2995
- v({ auth: y(["signedIn", "signedOut"]) }),
2994
+ b({ path: c() }),
2995
+ b({ auth: v(["signedIn", "signedOut"]) }),
2996
2996
  ie
2997
- ]), ya = v({
2997
+ ]), ya = b({
2998
2998
  title: c(),
2999
2999
  message: c(),
3000
- variant: y(["default", "danger"]).optional(),
3000
+ variant: v(["default", "danger"]).optional(),
3001
3001
  confirmLabel: c().optional(),
3002
3002
  cancelLabel: c().optional()
3003
- }), za = v({
3003
+ }), za = b({
3004
3004
  name: c(),
3005
3005
  params: H(c(), g).optional(),
3006
3006
  confirm: ya.optional(),
3007
- onSuccess: v({ set: H(c(), g) }).optional(),
3008
- onError: v({ set: H(c(), g) }).optional()
3009
- }), ka = v({
3010
- variant: y(["primary", "secondary", "destructive", "success", "outline", "beta"]).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
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
3012
3012
  className: c().optional(),
3013
3013
  // Additional CSS classes merged via `cn()`.
3014
3014
  children: z([c(), _(), h(), w(), g]).optional()
3015
3015
  // Content rendered inside the badge.
3016
- }), wa = v({
3016
+ }), wa = b({
3017
3017
  icon: z([c(), _(), h(), w(), g]).optional(),
3018
3018
  // Icon element rendered before the banner content (e.g. from `@phosphor-icons/react`).
3019
3019
  title: c().optional(),
@@ -3022,20 +3022,20 @@ const g = z([
3022
3022
  // Secondary description text displayed below the title. Use for i18n string injection.
3023
3023
  text: c().optional(),
3024
3024
  children: z([c(), _(), h(), w(), g]).optional(),
3025
- variant: y(["default", "alert", "error"]).optional(),
3025
+ variant: v(["default", "alert", "error"]).optional(),
3026
3026
  // 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
3027
  className: c().optional()
3028
3028
  // Additional CSS classes merged via `cn()`.
3029
- }), $a = v({
3030
- size: y(["sm", "base"]).optional(),
3029
+ }), $a = b({
3030
+ size: v(["sm", "base"]).optional(),
3031
3031
  // Size of the breadcrumbs. - `"sm"` — Compact breadcrumbs for dense UIs - `"base"` — Default breadcrumbs size
3032
3032
  children: z([c(), _(), h(), w(), g]).optional(),
3033
3033
  className: c().optional()
3034
3034
  // Additional CSS classes merged via `cn()`.
3035
- }), Sa = v({
3036
- shape: y(["base", "square", "circle"]).optional(),
3037
- size: y(["xs", "sm", "base", "lg"]).optional(),
3038
- variant: y(["primary", "secondary", "ghost", "destructive", "secondary-destructive", "outline"]).optional(),
3035
+ }), Sa = b({
3036
+ shape: v(["base", "square", "circle"]).optional(),
3037
+ size: v(["xs", "sm", "base", "lg"]).optional(),
3038
+ variant: v(["primary", "secondary", "ghost", "destructive", "secondary-destructive", "outline"]).optional(),
3039
3039
  children: z([c(), _(), h(), w(), g]).optional(),
3040
3040
  className: c().optional(),
3041
3041
  icon: z([c(), _(), h(), w(), g]).optional(),
@@ -3047,10 +3047,10 @@ const g = z([
3047
3047
  title: c().optional(),
3048
3048
  disabled: h().optional(),
3049
3049
  name: c().optional(),
3050
- type: y(["submit", "reset", "button"]).optional(),
3050
+ type: v(["submit", "reset", "button"]).optional(),
3051
3051
  value: s().optional()
3052
- }), Za = v({
3053
- variant: y(["default", "error"]).optional(),
3052
+ }), Za = b({
3053
+ variant: v(["default", "error"]).optional(),
3054
3054
  // Visual variant: "default" or "error" for validation failures (visual only, no error text)
3055
3055
  label: z([c(), _(), h(), w(), g]).optional(),
3056
3056
  // Label content for the checkbox (enables built-in Field wrapper) - can be a string or any React node
@@ -3072,8 +3072,8 @@ const g = z([
3072
3072
  // Additional class name
3073
3073
  onValueChange: s().optional()
3074
3074
  // Callback when checkbox value changes
3075
- }), Pa = v({
3076
- size: y(["sm", "base", "lg"]).optional(),
3075
+ }), Pa = b({
3076
+ size: v(["sm", "base", "lg"]).optional(),
3077
3077
  // 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
3078
  text: c(),
3079
3079
  // The text to display and copy to clipboard.
@@ -3083,7 +3083,7 @@ const g = z([
3083
3083
  // Tooltip config. Shows tooltip on hover, anchored toast on click.
3084
3084
  labels: s().optional()
3085
3085
  // Accessible labels for i18n.
3086
- }), Oa = v({
3086
+ }), Oa = b({
3087
3087
  children: z([c(), _(), h(), w(), g]).optional(),
3088
3088
  className: c().optional(),
3089
3089
  height: s().optional(),
@@ -3096,13 +3096,13 @@ const g = z([
3096
3096
  type: c().optional(),
3097
3097
  width: s().optional(),
3098
3098
  accentHeight: s().optional(),
3099
- accumulate: y(["none", "sum"]).optional(),
3100
- additive: y(["replace", "sum"]).optional(),
3101
- alignmentBaseline: y(["auto", "baseline", "before-edge", "text-before-edge", "middle", "central", "after-edge", "text-after-edge", "ideographic", "alphabetic", "hanging", "mathematical", "inherit"]).optional(),
3102
- allowReorder: y(["no", "yes"]).optional(),
3099
+ accumulate: v(["none", "sum"]).optional(),
3100
+ additive: v(["replace", "sum"]).optional(),
3101
+ alignmentBaseline: v(["auto", "baseline", "before-edge", "text-before-edge", "middle", "central", "after-edge", "text-after-edge", "ideographic", "alphabetic", "hanging", "mathematical", "inherit"]).optional(),
3102
+ allowReorder: v(["no", "yes"]).optional(),
3103
3103
  alphabetic: s().optional(),
3104
3104
  amplitude: s().optional(),
3105
- arabicForm: y(["initial", "medial", "terminal", "isolated"]).optional(),
3105
+ arabicForm: v(["initial", "medial", "terminal", "isolated"]).optional(),
3106
3106
  ascent: s().optional(),
3107
3107
  attributeName: c().optional(),
3108
3108
  attributeType: c().optional(),
@@ -3122,7 +3122,7 @@ const g = z([
3122
3122
  clipPathUnits: s().optional(),
3123
3123
  clipRule: s().optional(),
3124
3124
  colorInterpolation: s().optional(),
3125
- colorInterpolationFilters: y(["auto", "sRGB", "linearRGB", "inherit"]).optional(),
3125
+ colorInterpolationFilters: v(["auto", "sRGB", "linearRGB", "inherit"]).optional(),
3126
3126
  colorProfile: s().optional(),
3127
3127
  colorRendering: s().optional(),
3128
3128
  contentScriptType: s().optional(),
@@ -3137,7 +3137,7 @@ const g = z([
3137
3137
  direction: s().optional(),
3138
3138
  display: s().optional(),
3139
3139
  divisor: s().optional(),
3140
- dominantBaseline: y(["auto", "use-script", "no-change", "reset-size", "ideographic", "alphabetic", "hanging", "mathematical", "central", "middle", "text-after-edge", "text-before-edge", "inherit"]).optional(),
3140
+ dominantBaseline: v(["auto", "use-script", "no-change", "reset-size", "ideographic", "alphabetic", "hanging", "mathematical", "central", "middle", "text-after-edge", "text-before-edge", "inherit"]).optional(),
3141
3141
  dur: s().optional(),
3142
3142
  dx: s().optional(),
3143
3143
  dy: s().optional(),
@@ -3149,7 +3149,7 @@ const g = z([
3149
3149
  externalResourcesRequired: s().optional(),
3150
3150
  fill: c().optional(),
3151
3151
  fillOpacity: s().optional(),
3152
- fillRule: y(["nonzero", "evenodd", "inherit"]).optional(),
3152
+ fillRule: v(["nonzero", "evenodd", "inherit"]).optional(),
3153
3153
  filter: c().optional(),
3154
3154
  filterRes: s().optional(),
3155
3155
  filterUnits: s().optional(),
@@ -3274,8 +3274,8 @@ const g = z([
3274
3274
  stroke: c().optional(),
3275
3275
  strokeDasharray: s().optional(),
3276
3276
  strokeDashoffset: s().optional(),
3277
- strokeLinecap: y(["butt", "round", "square", "inherit"]).optional(),
3278
- strokeLinejoin: y(["miter", "round", "bevel", "inherit"]).optional(),
3277
+ strokeLinecap: v(["butt", "round", "square", "inherit"]).optional(),
3278
+ strokeLinejoin: v(["miter", "round", "bevel", "inherit"]).optional(),
3279
3279
  strokeMiterlimit: s().optional(),
3280
3280
  strokeOpacity: s().optional(),
3281
3281
  strokeWidth: s().optional(),
@@ -3284,7 +3284,7 @@ const g = z([
3284
3284
  tableValues: s().optional(),
3285
3285
  targetX: s().optional(),
3286
3286
  targetY: s().optional(),
3287
- textAnchor: y(["start", "middle", "end", "inherit"]).optional(),
3287
+ textAnchor: v(["start", "middle", "end", "inherit"]).optional(),
3288
3288
  textDecoration: s().optional(),
3289
3289
  textLength: s().optional(),
3290
3290
  textRendering: s().optional(),
@@ -3337,10 +3337,10 @@ const g = z([
3337
3337
  yChannelSelector: c().optional(),
3338
3338
  z: s().optional(),
3339
3339
  zoomAndPan: c().optional(),
3340
- variant: y(["glyph", "full"]).optional()
3340
+ variant: v(["glyph", "full"]).optional()
3341
3341
  // Logo variant - `glyph`: Cloud icon only - `full`: Cloud icon with "CLOUDFLARE" wordmark below
3342
- }), Ta = v({
3343
- lang: y(["ts", "tsx", "jsonc", "bash", "css"]).optional(),
3342
+ }), Ta = b({
3343
+ lang: v(["ts", "tsx", "jsonc", "bash", "css"]).optional(),
3344
3344
  // 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
3345
  code: c(),
3346
3346
  // The code string to display.
@@ -3348,7 +3348,7 @@ const g = z([
3348
3348
  // Template values for `{{key}}` interpolation. Values with `highlight: true` are visually emphasized.
3349
3349
  className: c().optional()
3350
3350
  // Additional CSS classes merged via `cn()`.
3351
- }), Ia = v({
3351
+ }), Ia = b({
3352
3352
  children: z([c(), _(), h(), w(), g]).optional(),
3353
3353
  label: c(),
3354
3354
  // Text label displayed in the trigger button
@@ -3358,10 +3358,10 @@ const g = z([
3358
3358
  // Additional CSS classes for the content panel
3359
3359
  onOpenChange: s().optional()
3360
3360
  // Callback when collapsed state changes
3361
- }), Na = v({
3362
- size: y(["xs", "sm", "base", "lg"]).optional(),
3361
+ }), Na = b({
3362
+ size: v(["xs", "sm", "base", "lg"]).optional(),
3363
3363
  // 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
- inputSide: y(["right", "top"]).optional(),
3364
+ inputSide: v(["right", "top"]).optional(),
3365
3365
  // Position of the text input relative to chips in multi-select mode. - `"right"` — Input inline to the right of chips - `"top"` — Input above chips
3366
3366
  items: L(s()),
3367
3367
  // Array of items to display in the dropdown
@@ -3387,20 +3387,20 @@ const g = z([
3387
3387
  // Allow multiple selections
3388
3388
  isItemEqualToValue: s().optional()
3389
3389
  // Custom equality function for comparing items
3390
- }), Ea = v({
3390
+ }), Ea = b({
3391
3391
  open: h(),
3392
3392
  // Whether the dialog is open
3393
3393
  children: z([c(), _(), h(), w(), g]).optional()
3394
3394
  // Child content - typically one or more Panel components
3395
- }), Ca = v({
3395
+ }), Ca = b({
3396
3396
  className: c().optional(),
3397
3397
  // Additional CSS classes
3398
3398
  children: z([c(), _(), h(), w(), g]).optional()
3399
3399
  // Child elements
3400
- }), Aa = v({
3401
- size: y(["sm", "base", "lg"]).optional(),
3400
+ }), Aa = b({
3401
+ size: v(["sm", "base", "lg"]).optional(),
3402
3402
  // Calendar size. - `"sm"` — Compact calendar for tight spaces - `"base"` — Default calendar size - `"lg"` — Large calendar for prominent date selection
3403
- variant: y(["default", "subtle"]).optional(),
3403
+ variant: v(["default", "subtle"]).optional(),
3404
3404
  // Visual variant. - `"default"` — Standard appearance with overlay background - `"subtle"` — Minimal background
3405
3405
  timezone: c().optional(),
3406
3406
  // Display timezone string shown in the footer.
@@ -3410,18 +3410,18 @@ const g = z([
3410
3410
  // Callback when start date changes
3411
3411
  onEndDateChange: s().optional()
3412
3412
  // Callback when end date changes
3413
- }), xa = v({
3413
+ }), xa = b({
3414
3414
  className: c().optional(),
3415
3415
  // Additional CSS classes merged via `cn()`.
3416
3416
  children: z([c(), _(), h(), w(), g]).optional(),
3417
3417
  // Dialog content (typically Title, Description, Close, and action buttons).
3418
- size: y(["base", "sm", "lg", "xl"]).optional()
3418
+ size: v(["base", "sm", "lg", "xl"]).optional()
3419
3419
  // 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 = v({
3421
- variant: y(["default", "danger"]).optional()
3420
+ }), ja = b({
3421
+ variant: v(["default", "danger"]).optional()
3422
3422
  // Visual style of the dropdown item. - `"default"` — Standard item appearance - `"danger"` — Destructive action with red text
3423
- }), Ra = v({
3424
- size: y(["sm", "base", "lg"]).optional(),
3423
+ }), Ra = b({
3424
+ size: v(["sm", "base", "lg"]).optional(),
3425
3425
  // 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
3426
  icon: z([c(), _(), h(), w(), g]).optional(),
3427
3427
  // Decorative icon displayed above the title (e.g. from `@phosphor-icons/react`).
@@ -3435,7 +3435,7 @@ const g = z([
3435
3435
  // Additional content (buttons, links) rendered below the description.
3436
3436
  className: c().optional()
3437
3437
  // Additional CSS classes merged via `cn()`.
3438
- }), Da = v({
3438
+ }), Da = b({
3439
3439
  controlFirst: h().optional(),
3440
3440
  // When `true`, places the control before the label (for checkbox/switch layouts).
3441
3441
  children: z([c(), _(), h(), w(), g]).optional(),
@@ -3450,7 +3450,7 @@ const g = z([
3450
3450
  // Validation error with a message and a browser `ValidityState` match key.
3451
3451
  description: z([c(), _(), h(), w(), g]).optional()
3452
3452
  // Helper text displayed below the control (hidden when `error` is present).
3453
- }), Ua = v({
3453
+ }), Ua = b({
3454
3454
  children: z([c(), _(), h(), w(), g]).optional(),
3455
3455
  // Grid items to render.
3456
3456
  className: c().optional(),
@@ -3460,11 +3460,11 @@ const g = z([
3460
3460
  title: c().optional(),
3461
3461
  mobileDivider: h().optional(),
3462
3462
  // Show dividers between grid items on mobile (only works with `"4up"` variant).
3463
- gap: y(["none", "sm", "base", "lg"]).optional(),
3463
+ gap: v(["none", "sm", "base", "lg"]).optional(),
3464
3464
  // Gap size between grid items. - `"none"` — No gap - `"sm"` — 12px gap - `"base"` — Responsive gap (8px → 24px → 32px) - `"lg"` — 32px gap
3465
- variant: y(["2up", "side-by-side", "2-1", "1-2", "1-3up", "3up", "4up", "6up", "1-2-4up"]).optional()
3465
+ variant: v(["2up", "side-by-side", "2-1", "1-2", "1-3up", "3up", "4up", "6up", "1-2-4up"]).optional()
3466
3466
  // 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 = v({
3467
+ }), Fa = b({
3468
3468
  label: z([c(), _(), h(), w(), g]).optional(),
3469
3469
  // Label content for the input (enables Field wrapper) - can be a string or any React node
3470
3470
  labelTooltip: z([c(), _(), h(), w(), g]).optional(),
@@ -3473,11 +3473,11 @@ const g = z([
3473
3473
  // Helper text displayed below the input
3474
3474
  error: s().optional(),
3475
3475
  // Error message or validation error object
3476
- size: y(["xs", "sm", "base", "lg"]).optional(),
3476
+ size: v(["xs", "sm", "base", "lg"]).optional(),
3477
3477
  // Input size. - `"xs"` — Extra small for compact UIs - `"sm"` — Small for secondary fields - `"base"` — Default size - `"lg"` — Large for prominent fields
3478
- variant: y(["default", "error"]).optional()
3478
+ variant: v(["default", "error"]).optional()
3479
3479
  // Visual variant. - `"default"` — Standard input - `"error"` — Error state for validation failures
3480
- }), La = v({}), Ma = v({
3480
+ }), La = b({}), Ma = b({
3481
3481
  children: z([c(), _(), h(), w(), g]).optional(),
3482
3482
  // The label content — can be a string or any React node.
3483
3483
  showOptional: h().optional(),
@@ -3490,12 +3490,12 @@ const g = z([
3490
3490
  // The id of the form element this label is associated with
3491
3491
  asContent: h().optional()
3492
3492
  // 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 = v({
3493
+ }), Ja = b({
3494
3494
  children: z([c(), _(), h(), w(), g]).optional(),
3495
3495
  className: c().optional()
3496
3496
  // Additional CSS classes merged via `cn()`.
3497
- }), Ba = v({
3498
- variant: y(["inline", "current", "plain"]).optional(),
3497
+ }), Ba = b({
3498
+ variant: v(["inline", "current", "plain"]).optional(),
3499
3499
  // 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
3500
  to: c().optional(),
3501
3501
  children: z([c(), _(), h(), w(), g]).optional(),
@@ -3510,15 +3510,15 @@ const g = z([
3510
3510
  ping: c().optional(),
3511
3511
  target: s().optional(),
3512
3512
  type: c().optional(),
3513
- referrerPolicy: y(["", "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", "same-origin", "strict-origin", "strict-origin-when-cross-origin", "unsafe-url"]).optional(),
3513
+ 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
3514
  render: z([c(), _(), h(), w(), g]).optional()
3515
3515
  // 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 = v({
3516
+ }), Va = b({
3517
3517
  className: c().optional(),
3518
3518
  // Additional CSS classes merged via `cn()`.
3519
- size: y(["sm", "base", "lg"]).optional()
3519
+ size: v(["sm", "base", "lg"]).optional()
3520
3520
  // 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 = v({
3521
+ }), Wa = b({
3522
3522
  className: c().optional(),
3523
3523
  // Additional CSS classes merged via `cn()`.
3524
3524
  isActive: s().optional(),
@@ -3527,7 +3527,7 @@ const g = z([
3527
3527
  // Array of menu option configurations.
3528
3528
  optionIds: h().optional()
3529
3529
  // When true, each option's `id` field is used for matching instead of its array index.
3530
- }), Ka = v({
3530
+ }), Ka = b({
3531
3531
  customValue: c().optional(),
3532
3532
  // Custom formatted value text (e.g. "750 / 1,000") displayed instead of percentage.
3533
3533
  label: c(),
@@ -3544,7 +3544,7 @@ const g = z([
3544
3544
  // Maximum value of the meter (default: 100)
3545
3545
  min: _().optional()
3546
3546
  // Minimum value of the meter (default: 0)
3547
- }), qa = v({
3547
+ }), qa = b({
3548
3548
  setPage: s(),
3549
3549
  // Callback when page changes
3550
3550
  page: _().optional(),
@@ -3557,18 +3557,20 @@ const g = z([
3557
3557
  // Additional CSS classes for the container
3558
3558
  children: z([c(), _(), h(), w(), g]).optional(),
3559
3559
  // Compound component children for custom layouts. Use Pagination.Info, Pagination.PageSize, Pagination.Controls, and Pagination.Separator.
3560
- controls: y(["full", "simple"]).optional(),
3560
+ controls: v(["full", "simple"]).optional(),
3561
3561
  text: s().optional()
3562
- }), Ga = v({
3563
- side: y(["top", "bottom", "left", "right"]).optional()
3562
+ }), Ga = b({
3563
+ side: v(["top", "bottom", "left", "right"]).optional()
3564
3564
  // 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 = v({
3565
+ }), Xa = b({
3566
3566
  legend: c(),
3567
3567
  // Legend text for the group (required for accessibility)
3568
3568
  children: z([c(), _(), h(), w(), g]).optional(),
3569
3569
  // Child Radio.Item components
3570
- orientation: y(["vertical", "horizontal"]).optional(),
3570
+ orientation: v(["vertical", "horizontal"]).optional(),
3571
3571
  // Layout direction of the radio items
3572
+ appearance: v(["default", "card"]).optional(),
3573
+ // 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.
3572
3574
  error: c().optional(),
3573
3575
  // Error message for the group
3574
3576
  description: z([c(), _(), h(), w(), g]).optional(),
@@ -3577,13 +3579,13 @@ const g = z([
3577
3579
  // Value of the radio that should be selected (controlled)
3578
3580
  disabled: h().optional(),
3579
3581
  // Whether all radios in the group are disabled
3580
- controlPosition: y(["start", "end"]).optional(),
3581
- // Position of radio control relative to label: "start" (default) puts radio before label, "end" puts label before radio
3582
+ controlPosition: v(["start", "end"]).optional(),
3583
+ // Position of radio control relative to label: "start" (default) puts radio before label, "end" puts label before radio. Note: In card appearance, the control is always positioned at the end.
3582
3584
  name: c().optional(),
3583
3585
  // Form submission name for the radio group
3584
3586
  className: c().optional()
3585
3587
  // Additional CSS classes
3586
- }), Ya = v({
3588
+ }), Ya = b({
3587
3589
  className: c().optional(),
3588
3590
  // Additional CSS classes merged via `cn()`.
3589
3591
  label: z([c(), _(), h(), w(), g]).optional(),
@@ -3611,7 +3613,7 @@ const g = z([
3611
3613
  // Callback when selection changes
3612
3614
  defaultValue: c().optional()
3613
3615
  // Initial value for uncontrolled mode
3614
- }), Ha = v({
3616
+ }), Ha = b({
3615
3617
  alt: c().optional(),
3616
3618
  autoComplete: s().optional(),
3617
3619
  checked: h().optional(),
@@ -3630,9 +3632,9 @@ const g = z([
3630
3632
  children: z([c(), _(), h(), w(), g]).optional(),
3631
3633
  value: c().optional(),
3632
3634
  // Controlled value
3633
- size: y(["xs", "sm", "base", "lg"]).optional(),
3635
+ size: v(["xs", "sm", "base", "lg"]).optional(),
3634
3636
  // Size of the input. - `"xs"` — Extra small for compact UIs - `"sm"` — Small for secondary fields - `"base"` — Default input size - `"lg"` — Large for prominent fields
3635
- variant: y(["default", "error"]).optional(),
3637
+ variant: v(["default", "error"]).optional(),
3636
3638
  // Style variant of the input. - `"default"` — Default input appearance - `"error"` — Error state for validation failures
3637
3639
  label: z([c(), _(), h(), w(), g]).optional(),
3638
3640
  // Label content for the input (enables Field wrapper and sets masked state label) - can be a string or any React node
@@ -3642,16 +3644,16 @@ const g = z([
3642
3644
  // Helper text displayed below the input
3643
3645
  error: s().optional()
3644
3646
  // Error message or validation error object
3645
- }), Qa = v({
3647
+ }), Qa = b({
3646
3648
  as: s().optional(),
3647
3649
  // The HTML element type to render as (e.g. `"div"`, `"section"`, `"article"`).
3648
3650
  className: c().optional(),
3649
3651
  // Additional CSS classes merged via `cn()`.
3650
3652
  children: z([c(), _(), h(), w(), g]).optional()
3651
3653
  // Content rendered inside the surface.
3652
- }), es = v({
3653
- variant: y(["default", "error"]).optional(),
3654
- // Visual variant: "default" or "error" for validation failures (visual only, no error text)
3654
+ }), es = b({
3655
+ variant: v(["default", "neutral"]).optional(),
3656
+ // Visual variant: "default" (pill, brand color) or "neutral" (squircle, monochrome)
3655
3657
  label: z([c(), _(), h(), w(), g]).optional(),
3656
3658
  // 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.
3657
3659
  labelTooltip: z([c(), _(), h(), w(), g]).optional(),
@@ -3660,12 +3662,12 @@ const g = z([
3660
3662
  // Whether the switch is required. When explicitly false, shows "(optional)" text after the label.
3661
3663
  controlFirst: h().optional(),
3662
3664
  // When true (default), switch appears before label. When false, label appears before switch.
3663
- size: y(["sm", "base", "lg"]).optional(),
3665
+ size: v(["sm", "base", "lg"]).optional(),
3664
3666
  checked: h().optional(),
3665
3667
  disabled: h().optional(),
3666
3668
  transitioning: h().optional(),
3667
3669
  name: c().optional(),
3668
- type: y(["submit", "reset", "button"]).optional(),
3670
+ type: v(["submit", "reset", "button"]).optional(),
3669
3671
  value: s().optional(),
3670
3672
  className: c().optional(),
3671
3673
  id: c().optional(),
@@ -3673,14 +3675,14 @@ const g = z([
3673
3675
  title: c().optional(),
3674
3676
  onClick: s()
3675
3677
  // Callback when switch is clicked
3676
- }), ts = v({
3677
- layout: y(["auto", "fixed"]).optional(),
3678
- variant: y(["default", "selected"]).optional(),
3678
+ }), ts = b({
3679
+ layout: v(["auto", "fixed"]).optional(),
3680
+ variant: v(["default", "selected"]).optional(),
3679
3681
  className: c().optional(),
3680
3682
  // Additional CSS classes
3681
3683
  children: z([c(), _(), h(), w(), g]).optional()
3682
3684
  // Child elements
3683
- }), os = v({
3685
+ }), os = b({
3684
3686
  tabs: L(s()).optional(),
3685
3687
  // Array of tab items to render.
3686
3688
  value: c().optional(),
@@ -3695,14 +3697,14 @@ const g = z([
3695
3697
  // Additional CSS classes for the tab list element.
3696
3698
  indicatorClassName: c().optional(),
3697
3699
  // Additional CSS classes for the indicator element.
3698
- variant: y(["segmented", "underline"]).optional(),
3700
+ variant: v(["segmented", "underline"]).optional(),
3699
3701
  // Tab style. - `"segmented"` — Pill-shaped indicator on a filled track - `"underline"` — Underline indicator below tab text
3700
3702
  onValueChange: s().optional()
3701
3703
  // Callback when active tab changes
3702
- }), ns = v({
3703
- variant: y(["heading1", "heading2", "heading3", "body", "secondary", "success", "error", "mono", "mono-secondary"]).optional(),
3704
+ }), ns = b({
3705
+ variant: v(["heading1", "heading2", "heading3", "body", "secondary", "success", "error", "mono", "mono-secondary"]).optional(),
3704
3706
  // 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
3705
- size: y(["xs", "sm", "base", "lg"]).optional(),
3707
+ size: v(["xs", "sm", "base", "lg"]).optional(),
3706
3708
  // Text size (only applies to body/secondary/success/error variants). - `"xs"` — 12px - `"sm"` — 14px - `"base"` — 16px - `"lg"` — 18px
3707
3709
  bold: h().optional(),
3708
3710
  // Whether to use bold font weight (only applies to body variants).
@@ -3710,21 +3712,21 @@ const g = z([
3710
3712
  // The HTML element type to render as (e.g. `"span"`, `"p"`, `"h1"`). Auto-selected based on variant if omitted.
3711
3713
  children: z([c(), _(), h(), w(), g]).optional()
3712
3714
  // Text content.
3713
- }), rs = v({
3714
- variant: y(["default", "error", "warning"]).optional(),
3715
+ }), rs = b({
3716
+ variant: v(["default", "error", "warning"]).optional(),
3715
3717
  className: c().optional(),
3716
3718
  // Additional CSS classes
3717
3719
  children: z([c(), _(), h(), w(), g]).optional()
3718
3720
  // Child elements
3719
- }), is = v({
3720
- side: y(["top", "bottom", "left", "right"]).optional(),
3721
+ }), is = b({
3722
+ side: v(["top", "bottom", "left", "right"]).optional(),
3721
3723
  className: c().optional(),
3722
3724
  // Additional CSS classes
3723
3725
  children: z([c(), _(), h(), w(), g]).optional(),
3724
3726
  // Child elements
3725
3727
  content: z([c(), _(), h(), w(), g])
3726
3728
  // Content to display in the tooltip
3727
- }), as = y([
3729
+ }), as = v([
3728
3730
  "Badge",
3729
3731
  "Banner",
3730
3732
  "Breadcrumbs",
@@ -3802,7 +3804,7 @@ const g = z([
3802
3804
  Text: ns,
3803
3805
  Toasty: rs,
3804
3806
  Tooltip: is
3805
- }, cs = v({
3807
+ }, cs = b({
3806
3808
  key: c(),
3807
3809
  type: as,
3808
3810
  props: H(c(), s()),
@@ -3810,7 +3812,7 @@ const g = z([
3810
3812
  parentKey: c().nullable().optional(),
3811
3813
  visible: ba.optional(),
3812
3814
  action: za.optional()
3813
- }), us = v({
3815
+ }), us = b({
3814
3816
  root: c(),
3815
3817
  elements: H(c(), cs)
3816
3818
  });