@cloudflare/kumo 1.18.0 → 1.19.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.
- package/CHANGELOG.md +90 -0
- package/ai/component-registry.json +174 -66
- package/ai/component-registry.md +836 -503
- package/ai/schemas.ts +19 -3
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +55 -8
- package/dist/ai/schemas.d.ts.map +1 -1
- package/dist/ai/schemas.js +163 -146
- package/dist/ai/schemas.js.map +1 -1
- package/dist/chunks/{Legend-o0ntojbaplmszwk0.js → Legend-ks7se6149vsa3tze.js} +127 -118
- package/dist/chunks/Legend-ks7se6149vsa3tze.js.map +1 -0
- package/dist/chunks/{breadcrumbs-k39s28qx05vbxxth.js → breadcrumbs-ge20hcb3o5spswrk.js} +2 -2
- package/dist/chunks/{breadcrumbs-k39s28qx05vbxxth.js.map → breadcrumbs-ge20hcb3o5spswrk.js.map} +1 -1
- package/dist/chunks/{button-cdxnqcgzwko8ooha.js → button-oaqi7ykdisyskoos.js} +12 -12
- package/dist/chunks/button-oaqi7ykdisyskoos.js.map +1 -0
- package/dist/chunks/{checkbox-kt1uojk2f9e0d0h1.js → checkbox-mwgmohffm22ut13s.js} +5 -5
- package/dist/chunks/checkbox-mwgmohffm22ut13s.js.map +1 -0
- package/dist/chunks/{clipboard-text-vcbvmtne4zjk4b18.js → clipboard-text-dxczqon3d27xp6f0.js} +10 -10
- package/dist/chunks/{clipboard-text-vcbvmtne4zjk4b18.js.map → clipboard-text-dxczqon3d27xp6f0.js.map} +1 -1
- package/dist/chunks/{cloudflare-logo-bgts2jgsdh7sslw4.js → cloudflare-logo-pbavoe1wu8nr5c4n.js} +9 -9
- package/dist/chunks/{cloudflare-logo-bgts2jgsdh7sslw4.js.map → cloudflare-logo-pbavoe1wu8nr5c4n.js.map} +1 -1
- package/dist/chunks/{combobox-he2hd9e2ruknq5mp.js → combobox-eaowwt1xr4d23gsn.js} +113 -101
- package/dist/chunks/combobox-eaowwt1xr4d23gsn.js.map +1 -0
- package/dist/chunks/{command-palette-jc1w07jwakxvj23a.js → command-palette-maqtbmpfev9mysqd.js} +19 -19
- package/dist/chunks/command-palette-maqtbmpfev9mysqd.js.map +1 -0
- package/dist/chunks/{dialog-oqh8l3l3zutpibxx.js → dialog-e3m5bhs7fds26p9y.js} +25 -25
- package/dist/chunks/dialog-e3m5bhs7fds26p9y.js.map +1 -0
- package/dist/chunks/{dropdown-ncwhcd912vmone8k.js → dropdown-ewte287db3vyt8t5.js} +94 -92
- package/dist/chunks/{dropdown-ncwhcd912vmone8k.js.map → dropdown-ewte287db3vyt8t5.js.map} +1 -1
- package/dist/chunks/{empty-cj898km1r8xwuw44.js → empty-dr1eckm2z40euns6.js} +2 -2
- package/dist/chunks/{empty-cj898km1r8xwuw44.js.map → empty-dr1eckm2z40euns6.js.map} +1 -1
- package/dist/chunks/{field-krp6z6vfbkrvufz2.js → field-bo5gmna16odrrb1q.js} +3 -3
- package/dist/chunks/{field-krp6z6vfbkrvufz2.js.map → field-bo5gmna16odrrb1q.js.map} +1 -1
- package/dist/chunks/{grid-m9r71jxo2b8q1972.js → grid-hj1ylz16p7g5uelh.js} +2 -2
- package/dist/chunks/{grid-m9r71jxo2b8q1972.js.map → grid-hj1ylz16p7g5uelh.js.map} +1 -1
- package/dist/chunks/{input-area-no30c09udyjxshu5.js → input-area-jkkkjej6luumrqpa.js} +4 -4
- package/dist/chunks/{input-area-no30c09udyjxshu5.js.map → input-area-jkkkjej6luumrqpa.js.map} +1 -1
- package/dist/chunks/{input-h48k3uagzrgb98au.js → input-cw05pbqdburghkus.js} +31 -31
- package/dist/chunks/input-cw05pbqdburghkus.js.map +1 -0
- package/dist/chunks/{input-group-lxdd09p60cf27pe1.js → input-group-lfugneuz71g42n0w.js} +6 -6
- package/dist/chunks/input-group-lfugneuz71g42n0w.js.map +1 -0
- package/dist/chunks/label-cvyvbqmt4mt757ff.js +68 -0
- package/dist/chunks/{label-latndvb1ngem7we8.js.map → label-cvyvbqmt4mt757ff.js.map} +1 -1
- package/dist/chunks/layer-card-ljqth3yxgnk04v2o.js +46 -0
- package/dist/chunks/layer-card-ljqth3yxgnk04v2o.js.map +1 -0
- package/dist/chunks/{link-hn5ejal7nhh0o0b4.js → link-fjnhtxvfe5ieamjf.js} +2 -2
- package/dist/chunks/{link-hn5ejal7nhh0o0b4.js.map → link-fjnhtxvfe5ieamjf.js.map} +1 -1
- package/dist/chunks/menubar-e5e4zwfagr0wx023.js +96 -0
- package/dist/chunks/menubar-e5e4zwfagr0wx023.js.map +1 -0
- package/dist/chunks/{meter-gfa1hz9fhjnvx784.js → meter-duj3micor1lqj3y2.js} +2 -2
- package/dist/chunks/{meter-gfa1hz9fhjnvx784.js.map → meter-duj3micor1lqj3y2.js.map} +1 -1
- package/dist/chunks/pagination-olaypvwr8swsmn8m.js +266 -0
- package/dist/chunks/pagination-olaypvwr8swsmn8m.js.map +1 -0
- package/dist/chunks/{popover-h300w4vit0s2ayej.js → popover-nv9cmzbo7mf6bky0.js} +70 -74
- package/dist/chunks/popover-nv9cmzbo7mf6bky0.js.map +1 -0
- package/dist/chunks/{radio-jouttv89lbvhs55r.js → radio-ihxbe37us2jnqtzf.js} +5 -5
- package/dist/chunks/radio-ihxbe37us2jnqtzf.js.map +1 -0
- package/dist/chunks/select-nx6ded5swra74iar.js +213 -0
- package/dist/chunks/select-nx6ded5swra74iar.js.map +1 -0
- package/dist/chunks/{sensitive-input-hd4tpqkzifad1yca.js → sensitive-input-00fujb510rrn61v9.js} +4 -4
- package/dist/chunks/{sensitive-input-hd4tpqkzifad1yca.js.map → sensitive-input-00fujb510rrn61v9.js.map} +1 -1
- package/dist/chunks/{sidebar-hljy3ssm8itc0ucx.js → sidebar-ltbfius1eolkl8tb.js} +22 -26
- package/dist/chunks/sidebar-ltbfius1eolkl8tb.js.map +1 -0
- package/dist/chunks/surface-dfgurg5eu3et4vw1.js +29 -0
- package/dist/chunks/surface-dfgurg5eu3et4vw1.js.map +1 -0
- package/dist/chunks/{switch-ihaydbzem62bey4p.js → switch-fbv3iawqo3o3jgap.js} +17 -17
- package/dist/chunks/switch-fbv3iawqo3o3jgap.js.map +1 -0
- package/dist/chunks/table-of-contents-f813ivi7ta23vqdm.js +88 -0
- package/dist/chunks/table-of-contents-f813ivi7ta23vqdm.js.map +1 -0
- package/dist/chunks/table-olwwulga2l3hdwlx.js +189 -0
- package/dist/chunks/table-olwwulga2l3hdwlx.js.map +1 -0
- package/dist/chunks/{tabs-e7eh7l3mpk3xgmwq.js → tabs-lohcglgppp6gj0hp.js} +4 -4
- package/dist/chunks/{tabs-e7eh7l3mpk3xgmwq.js.map → tabs-lohcglgppp6gj0hp.js.map} +1 -1
- package/dist/chunks/{toast-bpz6iaq54u9jmuu8.js → toast-dg52x89yd231mxhe.js} +4 -4
- package/dist/chunks/{toast-bpz6iaq54u9jmuu8.js.map → toast-dg52x89yd231mxhe.js.map} +1 -1
- package/dist/chunks/{tooltip-belkznz8t8333h5f.js → tooltip-hikjvdbg3xghnq1x.js} +38 -37
- package/dist/chunks/tooltip-hikjvdbg3xghnq1x.js.map +1 -0
- package/dist/chunks/{vendor-base-ui-k7bzesq81ie36nya.js → vendor-base-ui-m5pz3e8c4grg5qmj.js} +21 -21
- package/dist/chunks/{vendor-base-ui-k7bzesq81ie36nya.js.map → vendor-base-ui-m5pz3e8c4grg5qmj.js.map} +1 -1
- package/dist/code.js +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/chart.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/clipboard-text.js +1 -1
- package/dist/components/cloudflare-logo.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/command-palette.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/flow.js +2 -2
- package/dist/components/flow.js.map +1 -1
- package/dist/components/grid.js +1 -1
- package/dist/components/input.js +3 -3
- package/dist/components/label.js +1 -1
- package/dist/components/layer-card.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/menubar.js +1 -1
- package/dist/components/meter.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/sensitive-input.js +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/surface.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/table-of-contents.js +8 -0
- package/dist/components/table-of-contents.js.map +1 -0
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/toast.js +2 -2
- package/dist/components/tooltip.js +1 -1
- package/dist/index.js +124 -120
- package/dist/index.js.map +1 -1
- package/dist/primitives/accordion.js +1 -1
- package/dist/primitives/alert-dialog.js +1 -1
- package/dist/primitives/autocomplete.js +1 -1
- package/dist/primitives/avatar.js +1 -1
- package/dist/primitives/button.js +1 -1
- package/dist/primitives/checkbox-group.js +1 -1
- package/dist/primitives/checkbox.js +1 -1
- package/dist/primitives/collapsible.js +1 -1
- package/dist/primitives/combobox.js +1 -1
- package/dist/primitives/context-menu.js +1 -1
- package/dist/primitives/csp-provider.js +1 -1
- package/dist/primitives/dialog.js +1 -1
- package/dist/primitives/direction-provider.js +1 -1
- package/dist/primitives/drawer.js +1 -1
- package/dist/primitives/field.js +1 -1
- package/dist/primitives/fieldset.js +1 -1
- package/dist/primitives/form.js +1 -1
- package/dist/primitives/input.js +1 -1
- package/dist/primitives/menu.js +1 -1
- package/dist/primitives/menubar.js +1 -1
- package/dist/primitives/meter.js +1 -1
- package/dist/primitives/navigation-menu.js +1 -1
- package/dist/primitives/number-field.js +1 -1
- package/dist/primitives/popover.js +1 -1
- package/dist/primitives/preview-card.js +1 -1
- package/dist/primitives/progress.js +1 -1
- package/dist/primitives/radio-group.js +1 -1
- package/dist/primitives/radio.js +1 -1
- package/dist/primitives/scroll-area.js +1 -1
- package/dist/primitives/select.js +1 -1
- package/dist/primitives/separator.js +1 -1
- package/dist/primitives/slider.js +1 -1
- package/dist/primitives/switch.js +1 -1
- package/dist/primitives/tabs.js +1 -1
- package/dist/primitives/toast.js +1 -1
- package/dist/primitives/toggle-group.js +1 -1
- package/dist/primitives/toggle.js +1 -1
- package/dist/primitives/toolbar.js +1 -1
- package/dist/primitives/tooltip.js +1 -1
- package/dist/primitives.js +1 -1
- package/dist/scripts/theme-generator/config.d.ts.map +1 -1
- package/dist/scripts/theme-generator/config.js +3 -3
- package/dist/scripts/theme-generator/config.js.map +1 -1
- package/dist/src/components/button/button.d.ts +1 -1
- package/dist/src/components/button/button.d.ts.map +1 -1
- package/dist/src/components/chart/EChart.d.ts +18 -2
- package/dist/src/components/chart/EChart.d.ts.map +1 -1
- package/dist/src/components/chart/TimeseriesChart.d.ts.map +1 -1
- package/dist/src/components/chart/index.d.ts +1 -1
- package/dist/src/components/chart/index.d.ts.map +1 -1
- package/dist/src/components/combobox/combobox.d.ts +16 -2
- package/dist/src/components/combobox/combobox.d.ts.map +1 -1
- package/dist/src/components/dropdown/dropdown.d.ts.map +1 -1
- package/dist/src/components/input/input.d.ts.map +1 -1
- package/dist/src/components/label/label.d.ts.map +1 -1
- package/dist/src/components/layer-card/layer-card.d.ts +39 -5
- package/dist/src/components/layer-card/layer-card.d.ts.map +1 -1
- package/dist/src/components/menubar/menubar.d.ts.map +1 -1
- package/dist/src/components/pagination/pagination.d.ts +51 -1
- package/dist/src/components/pagination/pagination.d.ts.map +1 -1
- package/dist/src/components/popover/popover.d.ts +35 -8
- package/dist/src/components/popover/popover.d.ts.map +1 -1
- package/dist/src/components/radio/radio.d.ts +1 -1
- package/dist/src/components/select/select.d.ts +49 -5
- package/dist/src/components/select/select.d.ts.map +1 -1
- package/dist/src/components/sidebar/sidebar.d.ts +2 -2
- package/dist/src/components/sidebar/sidebar.d.ts.map +1 -1
- package/dist/src/components/surface/index.d.ts +3 -0
- package/dist/src/components/surface/index.d.ts.map +1 -1
- package/dist/src/components/surface/surface.d.ts +14 -10
- package/dist/src/components/surface/surface.d.ts.map +1 -1
- package/dist/src/components/table/table.d.ts.map +1 -1
- package/dist/src/components/table-of-contents/index.d.ts +2 -0
- package/dist/src/components/table-of-contents/index.d.ts.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents.d.ts +70 -0
- package/dist/src/components/table-of-contents/table-of-contents.d.ts.map +1 -0
- package/dist/src/components/tooltip/tooltip.d.ts +15 -6
- package/dist/src/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/src/index.d.ts +6 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/styles/kumo-binding.css +1 -0
- package/dist/styles/kumo-standalone.css +1 -1
- package/dist/styles/theme-kumo.css +6 -6
- package/package.json +5 -1
- package/scripts/theme-generator/config.ts +8 -6
- package/dist/chunks/Legend-o0ntojbaplmszwk0.js.map +0 -1
- package/dist/chunks/button-cdxnqcgzwko8ooha.js.map +0 -1
- package/dist/chunks/checkbox-kt1uojk2f9e0d0h1.js.map +0 -1
- package/dist/chunks/combobox-he2hd9e2ruknq5mp.js.map +0 -1
- package/dist/chunks/command-palette-jc1w07jwakxvj23a.js.map +0 -1
- package/dist/chunks/dialog-oqh8l3l3zutpibxx.js.map +0 -1
- package/dist/chunks/input-group-lxdd09p60cf27pe1.js.map +0 -1
- package/dist/chunks/input-h48k3uagzrgb98au.js.map +0 -1
- package/dist/chunks/label-latndvb1ngem7we8.js +0 -62
- package/dist/chunks/layer-card-l5yjvrxry1dhte57.js +0 -44
- package/dist/chunks/layer-card-l5yjvrxry1dhte57.js.map +0 -1
- package/dist/chunks/menubar-f1pilzooe5mue7c4.js +0 -92
- package/dist/chunks/menubar-f1pilzooe5mue7c4.js.map +0 -1
- package/dist/chunks/pagination-cu5lm6p5dxuycta4.js +0 -243
- package/dist/chunks/pagination-cu5lm6p5dxuycta4.js.map +0 -1
- package/dist/chunks/popover-h300w4vit0s2ayej.js.map +0 -1
- package/dist/chunks/radio-jouttv89lbvhs55r.js.map +0 -1
- package/dist/chunks/select-kva5ru5f673kah1m.js +0 -179
- package/dist/chunks/select-kva5ru5f673kah1m.js.map +0 -1
- package/dist/chunks/sidebar-hljy3ssm8itc0ucx.js.map +0 -1
- package/dist/chunks/surface-cilvbyhmyujz1bee.js +0 -36
- package/dist/chunks/surface-cilvbyhmyujz1bee.js.map +0 -1
- package/dist/chunks/switch-ihaydbzem62bey4p.js.map +0 -1
- package/dist/chunks/table-inweecadl3her7pd.js +0 -183
- package/dist/chunks/table-inweecadl3her7pd.js.map +0 -1
- package/dist/chunks/tooltip-belkznz8t8333h5f.js.map +0 -1
package/dist/ai/schemas.js
CHANGED
|
@@ -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
|
|
158
|
+
function k(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
|
-
...
|
|
1674
|
+
...k(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
|
-
...
|
|
1684
|
+
...k(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
|
-
...
|
|
1694
|
+
...k(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
|
-
...
|
|
1704
|
+
...k(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
|
-
...
|
|
1715
|
+
...k(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
|
-
...
|
|
1726
|
+
...k(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
|
-
...
|
|
1737
|
+
...k(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
|
-
...
|
|
1747
|
+
...k(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
|
-
...
|
|
1757
|
+
...k(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
|
-
...
|
|
1767
|
+
...k(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
|
-
...
|
|
1777
|
+
...k(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
|
-
...
|
|
1787
|
+
...k(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
|
-
...
|
|
1797
|
+
...k(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
|
-
...
|
|
1807
|
+
...k(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
|
-
...
|
|
1817
|
+
...k(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
|
-
...
|
|
1827
|
+
...k(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
|
-
...
|
|
1837
|
+
...k(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
|
-
...
|
|
1847
|
+
...k(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
|
-
...
|
|
1857
|
+
...k(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
|
-
...
|
|
1867
|
+
...k(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
|
-
...
|
|
1877
|
+
...k(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
|
-
...
|
|
1887
|
+
...k(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
|
-
...
|
|
1897
|
+
...k(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
|
-
...
|
|
1909
|
+
...k(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
|
-
...
|
|
1918
|
+
...k(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
|
-
...
|
|
1928
|
+
...k(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
|
-
...
|
|
1937
|
+
...k(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
|
-
...
|
|
1945
|
+
...k(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
|
-
...
|
|
1955
|
+
...k(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
|
-
...
|
|
1962
|
+
...k(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
|
-
...
|
|
1969
|
+
...k(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
|
-
...
|
|
1982
|
+
...k(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
|
-
...
|
|
1989
|
+
...k(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
|
-
...
|
|
1998
|
+
...k(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
|
-
...
|
|
2007
|
+
...k(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
|
-
...
|
|
2016
|
+
...k(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 $o({
|
|
2024
2024
|
check: "multiple_of",
|
|
2025
|
-
...
|
|
2025
|
+
...k(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
|
-
...
|
|
2033
|
+
...k(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
|
-
...
|
|
2041
|
+
...k(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
|
-
...
|
|
2049
|
+
...k(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
|
-
...
|
|
2058
|
+
...k(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
|
-
...
|
|
2067
|
+
...k(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
|
-
...
|
|
2075
|
+
...k(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
|
-
...
|
|
2083
|
+
...k(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
|
-
...
|
|
2092
|
+
...k(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
|
-
...
|
|
2101
|
+
...k(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
|
-
...
|
|
2140
|
+
...k(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
|
-
...
|
|
2149
|
+
...k(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
|
-
...
|
|
2168
|
+
...k(t)
|
|
2169
2169
|
});
|
|
2170
2170
|
return o._zod.check = e, o;
|
|
2171
2171
|
}
|
|
@@ -2722,7 +2722,7 @@ function f(e) {
|
|
|
2722
2722
|
const Mi = /* @__PURE__ */ d("ZodNull", (e, t) => {
|
|
2723
2723
|
fn.init(e, t), P.init(e, t), e._zod.processJSONSchema = (o, n, r) => xr(e, o, n);
|
|
2724
2724
|
});
|
|
2725
|
-
function
|
|
2725
|
+
function z(e) {
|
|
2726
2726
|
return /* @__PURE__ */ dr(Mi, e);
|
|
2727
2727
|
}
|
|
2728
2728
|
const Ji = /* @__PURE__ */ d("ZodUnknown", (e, t) => {
|
|
@@ -2750,7 +2750,7 @@ function y(e, t) {
|
|
|
2750
2750
|
const o = {
|
|
2751
2751
|
type: "object",
|
|
2752
2752
|
shape: e ?? {},
|
|
2753
|
-
...
|
|
2753
|
+
...k(t)
|
|
2754
2754
|
};
|
|
2755
2755
|
return new Ki(o);
|
|
2756
2756
|
}
|
|
@@ -2761,7 +2761,7 @@ function b(e, t) {
|
|
|
2761
2761
|
return new qi({
|
|
2762
2762
|
type: "union",
|
|
2763
2763
|
options: e,
|
|
2764
|
-
...
|
|
2764
|
+
...k(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
|
-
...
|
|
2789
|
+
...k(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
|
-
...
|
|
2800
|
+
...k(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
|
-
...
|
|
2816
|
+
...k(r),
|
|
2817
2817
|
entries: a
|
|
2818
2818
|
});
|
|
2819
2819
|
}, e.exclude = (n, r) => {
|
|
@@ -2826,7 +2826,7 @@ const ve = /* @__PURE__ */ d("ZodEnum", (e, t) => {
|
|
|
2826
2826
|
return new ve({
|
|
2827
2827
|
...t,
|
|
2828
2828
|
checks: [],
|
|
2829
|
-
...
|
|
2829
|
+
...k(r),
|
|
2830
2830
|
entries: a
|
|
2831
2831
|
});
|
|
2832
2832
|
};
|
|
@@ -2836,7 +2836,7 @@ function v(e, t) {
|
|
|
2836
2836
|
return new ve({
|
|
2837
2837
|
type: "enum",
|
|
2838
2838
|
entries: o,
|
|
2839
|
-
...
|
|
2839
|
+
...k(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
|
-
...
|
|
2922
|
+
...k(t)
|
|
2923
2923
|
});
|
|
2924
2924
|
}
|
|
2925
2925
|
const ua = /* @__PURE__ */ d("ZodCatch", (e, t) => {
|
|
@@ -2974,7 +2974,7 @@ const m = b([
|
|
|
2974
2974
|
c(),
|
|
2975
2975
|
_(),
|
|
2976
2976
|
f(),
|
|
2977
|
-
|
|
2977
|
+
z(),
|
|
2978
2978
|
y({ path: c() })
|
|
2979
2979
|
]), ie = ma(
|
|
2980
2980
|
() => b([
|
|
@@ -3011,19 +3011,19 @@ const m = b([
|
|
|
3011
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: b([c(), _(), f(),
|
|
3014
|
+
children: b([c(), _(), f(), z(), m]).optional()
|
|
3015
3015
|
// Content rendered inside the badge.
|
|
3016
3016
|
}), wa = y({
|
|
3017
|
-
icon: b([c(), _(), f(),
|
|
3017
|
+
icon: b([c(), _(), f(), z(), 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: b([c(), _(), f(),
|
|
3021
|
+
description: b([c(), _(), f(), z(), m]).optional(),
|
|
3022
3022
|
// Secondary description text displayed below the title. Use for i18n string injection.
|
|
3023
|
-
action: b([c(), _(), f(),
|
|
3023
|
+
action: b([c(), _(), f(), z(), m]).optional(),
|
|
3024
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`).
|
|
3025
3025
|
text: c().optional(),
|
|
3026
|
-
children: b([c(), _(), f(),
|
|
3026
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3027
3027
|
variant: v(["default", "alert", "error"]).optional(),
|
|
3028
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
|
|
3029
3029
|
className: c().optional()
|
|
@@ -3031,16 +3031,16 @@ const m = b([
|
|
|
3031
3031
|
}), Sa = y({
|
|
3032
3032
|
size: v(["sm", "base"]).optional(),
|
|
3033
3033
|
// Size of the breadcrumbs. - `"sm"` — Compact breadcrumbs for dense UIs - `"base"` — Default breadcrumbs size
|
|
3034
|
-
children: b([c(), _(), f(),
|
|
3034
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3035
3035
|
className: c().optional()
|
|
3036
3036
|
// Additional CSS classes merged via `cn()`.
|
|
3037
3037
|
}), $a = y({
|
|
3038
3038
|
shape: v(["base", "square", "circle"]).optional(),
|
|
3039
3039
|
size: v(["xs", "sm", "base", "lg"]).optional(),
|
|
3040
3040
|
variant: v(["primary", "secondary", "ghost", "destructive", "secondary-destructive", "outline"]).optional(),
|
|
3041
|
-
children: b([c(), _(), f(),
|
|
3041
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3042
3042
|
className: c().optional(),
|
|
3043
|
-
icon: b([c(), _(), f(),
|
|
3043
|
+
icon: b([c(), _(), f(), z(), m]).optional(),
|
|
3044
3044
|
// Icon from `@phosphor-icons/react` or a React element. Rendered before children.
|
|
3045
3045
|
loading: f().optional(),
|
|
3046
3046
|
// Shows a loading spinner and disables interaction.
|
|
@@ -3054,9 +3054,9 @@ const m = b([
|
|
|
3054
3054
|
}), Za = y({
|
|
3055
3055
|
variant: v(["default", "error"]).optional(),
|
|
3056
3056
|
// Visual variant: "default" or "error" for validation failures (visual only, no error text)
|
|
3057
|
-
label: b([c(), _(), f(),
|
|
3057
|
+
label: b([c(), _(), f(), z(), m]).optional(),
|
|
3058
3058
|
// Label content for the checkbox (enables built-in Field wrapper) - can be a string or any React node
|
|
3059
|
-
labelTooltip: b([c(), _(), f(),
|
|
3059
|
+
labelTooltip: b([c(), _(), f(), z(), m]).optional(),
|
|
3060
3060
|
// Tooltip content to display next to the label via an info icon
|
|
3061
3061
|
controlFirst: f().optional(),
|
|
3062
3062
|
// When true (default), checkbox appears before label. When false, label appears before checkbox.
|
|
@@ -3088,7 +3088,7 @@ const m = b([
|
|
|
3088
3088
|
labels: s().optional()
|
|
3089
3089
|
// Accessible labels for i18n.
|
|
3090
3090
|
}), Oa = y({
|
|
3091
|
-
children: b([c(), _(), f(),
|
|
3091
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3092
3092
|
className: c().optional(),
|
|
3093
3093
|
height: s().optional(),
|
|
3094
3094
|
id: c().optional(),
|
|
@@ -3353,7 +3353,7 @@ const m = b([
|
|
|
3353
3353
|
className: c().optional()
|
|
3354
3354
|
// Additional CSS classes merged via `cn()`.
|
|
3355
3355
|
}), Ia = y({
|
|
3356
|
-
children: b([c(), _(), f(),
|
|
3356
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3357
3357
|
label: c(),
|
|
3358
3358
|
// Text label displayed in the trigger button
|
|
3359
3359
|
open: f().optional(),
|
|
@@ -3371,17 +3371,17 @@ const m = b([
|
|
|
3371
3371
|
// Array of items to display in the dropdown
|
|
3372
3372
|
value: L(s()).optional(),
|
|
3373
3373
|
// Currently selected value(s)
|
|
3374
|
-
children: b([c(), _(), f(),
|
|
3374
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3375
3375
|
// Combobox content (trigger, content, items)
|
|
3376
3376
|
className: c().optional(),
|
|
3377
3377
|
// Additional CSS classes
|
|
3378
|
-
label: b([c(), _(), f(),
|
|
3378
|
+
label: b([c(), _(), f(), z(), m]).optional(),
|
|
3379
3379
|
// Label content for the combobox (enables Field wrapper) - can be a string or any React node
|
|
3380
3380
|
required: f().optional(),
|
|
3381
3381
|
// Whether the combobox is required
|
|
3382
|
-
labelTooltip: b([c(), _(), f(),
|
|
3382
|
+
labelTooltip: b([c(), _(), f(), z(), m]).optional(),
|
|
3383
3383
|
// Tooltip content to display next to the label via an info icon
|
|
3384
|
-
description: b([c(), _(), f(),
|
|
3384
|
+
description: b([c(), _(), f(), z(), m]).optional(),
|
|
3385
3385
|
// Helper text displayed below the combobox
|
|
3386
3386
|
error: s().optional(),
|
|
3387
3387
|
// Error message or validation error object
|
|
@@ -3394,14 +3394,14 @@ const m = b([
|
|
|
3394
3394
|
}), Ea = y({
|
|
3395
3395
|
open: f(),
|
|
3396
3396
|
// Whether the dialog is open
|
|
3397
|
-
children: b([c(), _(), f(),
|
|
3397
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3398
3398
|
// Child content - typically one or more Panel components
|
|
3399
3399
|
container: s().optional()
|
|
3400
3400
|
// Container element for the portal. Use this to render the command palette inside a Shadow DOM or custom container. Overrides `KumoPortalProvider` context.
|
|
3401
3401
|
}), Ca = y({
|
|
3402
3402
|
className: c().optional(),
|
|
3403
3403
|
// Additional CSS classes
|
|
3404
|
-
children: b([c(), _(), f(),
|
|
3404
|
+
children: b([c(), _(), f(), z(), m]).optional()
|
|
3405
3405
|
// Child elements
|
|
3406
3406
|
}), Aa = y({
|
|
3407
3407
|
size: v(["sm", "base", "lg"]).optional(),
|
|
@@ -3419,7 +3419,7 @@ const m = b([
|
|
|
3419
3419
|
}), xa = y({
|
|
3420
3420
|
className: c().optional(),
|
|
3421
3421
|
// Additional CSS classes merged via `cn()`.
|
|
3422
|
-
children: b([c(), _(), f(),
|
|
3422
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3423
3423
|
// Dialog content (typically Title, Description, Close, and action buttons).
|
|
3424
3424
|
container: s().optional(),
|
|
3425
3425
|
// Container element for the portal. Use this to render the dialog inside a Shadow DOM or custom container. Overrides `KumoPortalProvider` context.
|
|
@@ -3431,7 +3431,7 @@ const m = b([
|
|
|
3431
3431
|
}), Ra = y({
|
|
3432
3432
|
size: v(["sm", "base", "lg"]).optional(),
|
|
3433
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
|
|
3434
|
-
icon: b([c(), _(), f(),
|
|
3434
|
+
icon: b([c(), _(), f(), z(), m]).optional(),
|
|
3435
3435
|
// Decorative icon displayed above the title (e.g. from `@phosphor-icons/react`).
|
|
3436
3436
|
title: c(),
|
|
3437
3437
|
// Primary heading text for the empty state.
|
|
@@ -3439,27 +3439,27 @@ const m = b([
|
|
|
3439
3439
|
// Secondary description text displayed below the title.
|
|
3440
3440
|
commandLine: c().optional(),
|
|
3441
3441
|
// Shell command displayed in a copyable code block.
|
|
3442
|
-
contents: b([c(), _(), f(),
|
|
3442
|
+
contents: b([c(), _(), f(), z(), m]).optional(),
|
|
3443
3443
|
// Additional content (buttons, links) rendered below the description.
|
|
3444
3444
|
className: c().optional()
|
|
3445
3445
|
// Additional CSS classes merged via `cn()`.
|
|
3446
3446
|
}), Da = y({
|
|
3447
3447
|
controlFirst: f().optional(),
|
|
3448
3448
|
// When `true`, places the control before the label (for checkbox/switch layouts).
|
|
3449
|
-
children: b([c(), _(), f(),
|
|
3449
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3450
3450
|
// The form control element(s) to wrap (Input, Select, Checkbox, etc.).
|
|
3451
|
-
label: b([c(), _(), f(),
|
|
3451
|
+
label: b([c(), _(), f(), z(), m]).optional(),
|
|
3452
3452
|
// The label content — can be a string or any React node.
|
|
3453
3453
|
required: f().optional(),
|
|
3454
3454
|
// When explicitly `false`, shows gray "(optional)" text after the label. When `true` or `undefined`, no indicator is shown.
|
|
3455
|
-
labelTooltip: b([c(), _(), f(),
|
|
3455
|
+
labelTooltip: b([c(), _(), f(), z(), m]).optional(),
|
|
3456
3456
|
// Tooltip content displayed next to the label via an info icon.
|
|
3457
3457
|
error: s().optional(),
|
|
3458
3458
|
// Validation error with a message and a browser `ValidityState` match key.
|
|
3459
|
-
description: b([c(), _(), f(),
|
|
3459
|
+
description: b([c(), _(), f(), z(), m]).optional()
|
|
3460
3460
|
// Helper text displayed below the control (hidden when `error` is present).
|
|
3461
3461
|
}), Ua = y({
|
|
3462
|
-
children: b([c(), _(), f(),
|
|
3462
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3463
3463
|
// Grid items to render.
|
|
3464
3464
|
className: c().optional(),
|
|
3465
3465
|
// Additional CSS classes merged via `cn()`.
|
|
@@ -3473,11 +3473,11 @@ const m = b([
|
|
|
3473
3473
|
variant: v(["2up", "side-by-side", "2-1", "1-2", "1-3up", "3up", "4up", "6up", "1-2-4up"]).optional()
|
|
3474
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
|
|
3475
3475
|
}), Fa = y({
|
|
3476
|
-
label: b([c(), _(), f(),
|
|
3476
|
+
label: b([c(), _(), f(), z(), m]).optional(),
|
|
3477
3477
|
// Label content for the input (enables Field wrapper) - can be a string or any React node
|
|
3478
|
-
labelTooltip: b([c(), _(), f(),
|
|
3478
|
+
labelTooltip: b([c(), _(), f(), z(), m]).optional(),
|
|
3479
3479
|
// Tooltip content to display next to the label via an info icon
|
|
3480
|
-
description: b([c(), _(), f(),
|
|
3480
|
+
description: b([c(), _(), f(), z(), m]).optional(),
|
|
3481
3481
|
// Helper text displayed below the input
|
|
3482
3482
|
error: s().optional(),
|
|
3483
3483
|
// Error message or validation error object
|
|
@@ -3486,11 +3486,11 @@ const m = b([
|
|
|
3486
3486
|
variant: v(["default", "error"]).optional()
|
|
3487
3487
|
// Visual variant. - `"default"` — Standard input - `"error"` — Error state for validation failures
|
|
3488
3488
|
}), La = y({}), Ma = y({
|
|
3489
|
-
children: b([c(), _(), f(),
|
|
3489
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3490
3490
|
// The label content — can be a string or any React node.
|
|
3491
3491
|
showOptional: f().optional(),
|
|
3492
3492
|
// When `true`, shows gray "(optional)" text after the label.
|
|
3493
|
-
tooltip: b([c(), _(), f(),
|
|
3493
|
+
tooltip: b([c(), _(), f(), z(), m]).optional(),
|
|
3494
3494
|
// Tooltip content displayed next to the label via an info icon.
|
|
3495
3495
|
className: c().optional(),
|
|
3496
3496
|
// Additional CSS classes merged via `cn()`.
|
|
@@ -3499,14 +3499,18 @@ const m = b([
|
|
|
3499
3499
|
asContent: f().optional()
|
|
3500
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.
|
|
3501
3501
|
}), Ja = y({
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3502
|
+
render: b([c(), _(), f(), z(), m]).optional(),
|
|
3503
|
+
// 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.
|
|
3504
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3505
|
+
className: c().optional(),
|
|
3506
|
+
id: c().optional(),
|
|
3507
|
+
lang: c().optional(),
|
|
3508
|
+
title: c().optional()
|
|
3505
3509
|
}), Ba = y({
|
|
3506
3510
|
variant: v(["inline", "current", "plain"]).optional(),
|
|
3507
3511
|
// 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
|
|
3508
3512
|
to: c().optional(),
|
|
3509
|
-
children: b([c(), _(), f(),
|
|
3513
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3510
3514
|
className: c().optional(),
|
|
3511
3515
|
id: c().optional(),
|
|
3512
3516
|
lang: c().optional(),
|
|
@@ -3519,7 +3523,7 @@ const m = b([
|
|
|
3519
3523
|
target: s().optional(),
|
|
3520
3524
|
type: c().optional(),
|
|
3521
3525
|
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(),
|
|
3522
|
-
render: b([c(), _(), f(),
|
|
3526
|
+
render: b([c(), _(), f(), z(), m]).optional()
|
|
3523
3527
|
// 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.
|
|
3524
3528
|
}), Va = y({
|
|
3525
3529
|
className: c().optional(),
|
|
@@ -3563,7 +3567,9 @@ const m = b([
|
|
|
3563
3567
|
// Total number of items across all pages.
|
|
3564
3568
|
className: c().optional(),
|
|
3565
3569
|
// Additional CSS classes for the container
|
|
3566
|
-
|
|
3570
|
+
labels: s().optional(),
|
|
3571
|
+
// Labels for internationalization of aria-labels. All labels have English defaults. For visible text like "Showing X of Y", use render props on sub-components: - `Pagination.Info` children for the info text - `Pagination.PageSize` label prop for the "Per page:" text
|
|
3572
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3567
3573
|
// Compound component children for custom layouts. Use Pagination.Info, Pagination.PageSize, Pagination.Controls, and Pagination.Separator.
|
|
3568
3574
|
controls: v(["full", "simple"]).optional(),
|
|
3569
3575
|
text: s().optional()
|
|
@@ -3573,7 +3579,7 @@ const m = b([
|
|
|
3573
3579
|
}), Xa = y({
|
|
3574
3580
|
legend: c(),
|
|
3575
3581
|
// Legend text for the group (required for accessibility)
|
|
3576
|
-
children: b([c(), _(), f(),
|
|
3582
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3577
3583
|
// Child Radio.Item components
|
|
3578
3584
|
orientation: v(["vertical", "horizontal"]).optional(),
|
|
3579
3585
|
// Layout direction of the radio items
|
|
@@ -3581,7 +3587,7 @@ const m = b([
|
|
|
3581
3587
|
// 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.
|
|
3582
3588
|
error: c().optional(),
|
|
3583
3589
|
// Error message for the group
|
|
3584
|
-
description: b([c(), _(), f(),
|
|
3590
|
+
description: b([c(), _(), f(), z(), m]).optional(),
|
|
3585
3591
|
// Helper text for the group
|
|
3586
3592
|
value: c().optional(),
|
|
3587
3593
|
// Value of the radio that should be selected (controlled)
|
|
@@ -3596,7 +3602,9 @@ const m = b([
|
|
|
3596
3602
|
}), Ya = y({
|
|
3597
3603
|
className: c().optional(),
|
|
3598
3604
|
// Additional CSS classes merged via `cn()`.
|
|
3599
|
-
|
|
3605
|
+
size: v(["xs", "sm", "base", "lg"]).optional(),
|
|
3606
|
+
// Size of the select trigger. Matches Input component sizes.
|
|
3607
|
+
label: b([c(), _(), f(), z(), m]).optional(),
|
|
3600
3608
|
// 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.
|
|
3601
3609
|
hideLabel: f().optional(),
|
|
3602
3610
|
placeholder: c().optional(),
|
|
@@ -3607,13 +3615,13 @@ const m = b([
|
|
|
3607
3615
|
// Whether the select is disabled.
|
|
3608
3616
|
required: f().optional(),
|
|
3609
3617
|
// Whether the select is required. When `false`, shows "(optional)" text.
|
|
3610
|
-
labelTooltip: b([c(), _(), f(),
|
|
3618
|
+
labelTooltip: b([c(), _(), f(), z(), m]).optional(),
|
|
3611
3619
|
// Tooltip content displayed next to the label via an info icon.
|
|
3612
3620
|
value: c().optional(),
|
|
3613
3621
|
// Currently selected value (controlled mode).
|
|
3614
|
-
children: b([c(), _(), f(),
|
|
3622
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3615
3623
|
// `Select.Option` elements to render in the dropdown.
|
|
3616
|
-
description: b([c(), _(), f(),
|
|
3624
|
+
description: b([c(), _(), f(), z(), m]).optional(),
|
|
3617
3625
|
// Helper text displayed below the select.
|
|
3618
3626
|
error: s().optional(),
|
|
3619
3627
|
// Error message string or validation error object with `match` key.
|
|
@@ -3637,18 +3645,18 @@ const m = b([
|
|
|
3637
3645
|
id: c().optional(),
|
|
3638
3646
|
lang: c().optional(),
|
|
3639
3647
|
title: c().optional(),
|
|
3640
|
-
children: b([c(), _(), f(),
|
|
3648
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3641
3649
|
value: c().optional(),
|
|
3642
3650
|
// Controlled value
|
|
3643
3651
|
size: v(["xs", "sm", "base", "lg"]).optional(),
|
|
3644
3652
|
// Size of the input. - `"xs"` — Extra small for compact UIs - `"sm"` — Small for secondary fields - `"base"` — Default input size - `"lg"` — Large for prominent fields
|
|
3645
3653
|
variant: v(["default", "error"]).optional(),
|
|
3646
3654
|
// Style variant of the input. - `"default"` — Default input appearance - `"error"` — Error state for validation failures
|
|
3647
|
-
label: b([c(), _(), f(),
|
|
3655
|
+
label: b([c(), _(), f(), z(), m]).optional(),
|
|
3648
3656
|
// Label content for the input (enables Field wrapper and sets masked state label) - can be a string or any React node
|
|
3649
|
-
labelTooltip: b([c(), _(), f(),
|
|
3657
|
+
labelTooltip: b([c(), _(), f(), z(), m]).optional(),
|
|
3650
3658
|
// Tooltip content to display next to the label via an info icon
|
|
3651
|
-
description: b([c(), _(), f(),
|
|
3659
|
+
description: b([c(), _(), f(), z(), m]).optional(),
|
|
3652
3660
|
// Helper text displayed below the input
|
|
3653
3661
|
error: s().optional()
|
|
3654
3662
|
// Error message or validation error object
|
|
@@ -3670,15 +3678,15 @@ const m = b([
|
|
|
3670
3678
|
// Minimum width in pixels when resizing.
|
|
3671
3679
|
maxWidth: _().optional(),
|
|
3672
3680
|
// Maximum width in pixels when resizing.
|
|
3673
|
-
children: b([c(), _(), f(),
|
|
3681
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3674
3682
|
// Content — typically `<Sidebar>` + main content.
|
|
3675
3683
|
className: c().optional()
|
|
3676
3684
|
// Additional CSS classes for the wrapper div.
|
|
3677
3685
|
}), es = y({
|
|
3678
3686
|
as: s().optional(),
|
|
3679
|
-
render: b([c(), _(), f(),
|
|
3687
|
+
render: b([c(), _(), f(), z(), m]).optional(),
|
|
3680
3688
|
// 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(),
|
|
3689
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3682
3690
|
className: c().optional(),
|
|
3683
3691
|
id: c().optional(),
|
|
3684
3692
|
lang: c().optional(),
|
|
@@ -3686,9 +3694,9 @@ const m = b([
|
|
|
3686
3694
|
}), ts = y({
|
|
3687
3695
|
variant: v(["default", "neutral"]).optional(),
|
|
3688
3696
|
// Visual variant: "default" (pill, brand color) or "neutral" (squircle, monochrome)
|
|
3689
|
-
label: b([c(), _(), f(),
|
|
3697
|
+
label: b([c(), _(), f(), z(), m]).optional(),
|
|
3690
3698
|
// 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.
|
|
3691
|
-
labelTooltip: b([c(), _(), f(),
|
|
3699
|
+
labelTooltip: b([c(), _(), f(), z(), m]).optional(),
|
|
3692
3700
|
// Tooltip content to display next to the label via an info icon
|
|
3693
3701
|
required: f().optional(),
|
|
3694
3702
|
// Whether the switch is required. When explicitly false, shows "(optional)" text after the label.
|
|
@@ -3713,9 +3721,15 @@ const m = b([
|
|
|
3713
3721
|
sticky: v(["left", "right"]).optional(),
|
|
3714
3722
|
className: c().optional(),
|
|
3715
3723
|
// Additional CSS classes
|
|
3716
|
-
children: b([c(), _(), f(),
|
|
3724
|
+
children: b([c(), _(), f(), z(), m]).optional()
|
|
3717
3725
|
// Child elements
|
|
3718
3726
|
}), ns = y({
|
|
3727
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3728
|
+
className: c().optional(),
|
|
3729
|
+
id: c().optional(),
|
|
3730
|
+
lang: c().optional(),
|
|
3731
|
+
title: c().optional()
|
|
3732
|
+
}), rs = y({
|
|
3719
3733
|
tabs: L(s()).optional(),
|
|
3720
3734
|
// Array of tab items to render.
|
|
3721
3735
|
value: c().optional(),
|
|
@@ -3734,7 +3748,7 @@ const m = b([
|
|
|
3734
3748
|
// Tab style. - `"segmented"` — Pill-shaped indicator on a filled track - `"underline"` — Underline indicator below tab text
|
|
3735
3749
|
onValueChange: s().optional()
|
|
3736
3750
|
// Callback when active tab changes
|
|
3737
|
-
}),
|
|
3751
|
+
}), is = y({
|
|
3738
3752
|
variant: v(["heading1", "heading2", "heading3", "body", "secondary", "success", "error", "mono", "mono-secondary"]).optional(),
|
|
3739
3753
|
// 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
|
|
3740
3754
|
size: v(["xs", "sm", "base", "lg"]).optional(),
|
|
@@ -3745,23 +3759,23 @@ const m = b([
|
|
|
3745
3759
|
// Whether to truncate overflowing text with an ellipsis. Adds `truncate min-w-0` classes.
|
|
3746
3760
|
as: s().optional(),
|
|
3747
3761
|
// The HTML element type to render as (e.g. `"span"`, `"p"`, `"h1"`). Auto-selected based on variant if omitted.
|
|
3748
|
-
children: b([c(), _(), f(),
|
|
3762
|
+
children: b([c(), _(), f(), z(), m]).optional()
|
|
3749
3763
|
// Text content.
|
|
3750
|
-
}),
|
|
3764
|
+
}), as = y({
|
|
3751
3765
|
variant: v(["default", "success", "error", "warning", "info"]).optional(),
|
|
3752
3766
|
className: c().optional(),
|
|
3753
3767
|
// Additional CSS classes
|
|
3754
|
-
children: b([c(), _(), f(),
|
|
3768
|
+
children: b([c(), _(), f(), z(), m]).optional()
|
|
3755
3769
|
// Child elements
|
|
3756
|
-
}),
|
|
3770
|
+
}), ss = y({
|
|
3757
3771
|
side: v(["top", "bottom", "left", "right"]).optional(),
|
|
3758
3772
|
className: c().optional(),
|
|
3759
3773
|
// Additional CSS classes
|
|
3760
|
-
children: b([c(), _(), f(),
|
|
3774
|
+
children: b([c(), _(), f(), z(), m]).optional(),
|
|
3761
3775
|
// Child elements
|
|
3762
|
-
content: b([c(), _(), f(),
|
|
3776
|
+
content: b([c(), _(), f(), z(), m])
|
|
3763
3777
|
// Content to display in the tooltip
|
|
3764
|
-
}),
|
|
3778
|
+
}), cs = v([
|
|
3765
3779
|
"Badge",
|
|
3766
3780
|
"Banner",
|
|
3767
3781
|
"Breadcrumbs",
|
|
@@ -3797,11 +3811,12 @@ const m = b([
|
|
|
3797
3811
|
"Surface",
|
|
3798
3812
|
"Switch",
|
|
3799
3813
|
"Table",
|
|
3814
|
+
"TableOfContents",
|
|
3800
3815
|
"Tabs",
|
|
3801
3816
|
"Text",
|
|
3802
3817
|
"Toasty",
|
|
3803
3818
|
"Tooltip"
|
|
3804
|
-
]),
|
|
3819
|
+
]), us = {
|
|
3805
3820
|
Badge: ka,
|
|
3806
3821
|
Banner: wa,
|
|
3807
3822
|
Breadcrumbs: Sa,
|
|
@@ -3837,30 +3852,31 @@ const m = b([
|
|
|
3837
3852
|
Surface: es,
|
|
3838
3853
|
Switch: ts,
|
|
3839
3854
|
Table: os,
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3855
|
+
TableOfContents: ns,
|
|
3856
|
+
Tabs: rs,
|
|
3857
|
+
Text: is,
|
|
3858
|
+
Toasty: as,
|
|
3859
|
+
Tooltip: ss
|
|
3860
|
+
}, ls = y({
|
|
3845
3861
|
key: c(),
|
|
3846
|
-
type:
|
|
3862
|
+
type: cs,
|
|
3847
3863
|
props: H(c(), s()),
|
|
3848
3864
|
children: L(c()).optional(),
|
|
3849
3865
|
parentKey: c().nullable().optional(),
|
|
3850
3866
|
visible: ba.optional(),
|
|
3851
3867
|
action: za.optional()
|
|
3852
|
-
}),
|
|
3868
|
+
}), ps = y({
|
|
3853
3869
|
root: c(),
|
|
3854
|
-
elements: H(c(),
|
|
3870
|
+
elements: H(c(), ls)
|
|
3855
3871
|
});
|
|
3856
|
-
function
|
|
3857
|
-
const t =
|
|
3872
|
+
function fs(e) {
|
|
3873
|
+
const t = us[e.type];
|
|
3858
3874
|
return t ? t.safeParse(e.props) : { success: !1, error: new ui([{ code: "custom", message: `Unknown component type: ${e.type}`, path: ["type"] }]) };
|
|
3859
3875
|
}
|
|
3860
|
-
function
|
|
3861
|
-
return
|
|
3876
|
+
function hs(e) {
|
|
3877
|
+
return ps.safeParse(e);
|
|
3862
3878
|
}
|
|
3863
|
-
const
|
|
3879
|
+
const ms = ["Badge", "Banner", "Breadcrumbs", "Button", "Checkbox", "ClipboardText", "CloudflareLogo", "Code", "Collapsible", "Combobox", "CommandPalette", "DatePicker", "DateRangePicker", "Dialog", "DropdownMenu", "Empty", "Field", "Grid", "Input", "InputArea", "Label", "LayerCard", "Link", "Loader", "MenuBar", "Meter", "Pagination", "Popover", "Radio", "Select", "SensitiveInput", "Sidebar", "Surface", "Switch", "Table", "TableOfContents", "Tabs", "Text", "Toasty", "Tooltip"];
|
|
3864
3880
|
export {
|
|
3865
3881
|
ya as ActionConfirmSchema,
|
|
3866
3882
|
za as ActionSchema,
|
|
@@ -3875,7 +3891,7 @@ export {
|
|
|
3875
3891
|
Ia as CollapsiblePropsSchema,
|
|
3876
3892
|
Na as ComboboxPropsSchema,
|
|
3877
3893
|
Ea as CommandPalettePropsSchema,
|
|
3878
|
-
|
|
3894
|
+
us as ComponentPropsSchemas,
|
|
3879
3895
|
Ca as DatePickerPropsSchema,
|
|
3880
3896
|
Aa as DateRangePickerPropsSchema,
|
|
3881
3897
|
xa as DialogPropsSchema,
|
|
@@ -3886,8 +3902,8 @@ export {
|
|
|
3886
3902
|
Ua as GridPropsSchema,
|
|
3887
3903
|
La as InputAreaPropsSchema,
|
|
3888
3904
|
Fa as InputPropsSchema,
|
|
3889
|
-
|
|
3890
|
-
|
|
3905
|
+
ms as KUMO_COMPONENT_NAMES,
|
|
3906
|
+
cs as KumoComponentTypeSchema,
|
|
3891
3907
|
Ma as LabelPropsSchema,
|
|
3892
3908
|
Ja as LayerCardPropsSchema,
|
|
3893
3909
|
Ba as LinkPropsSchema,
|
|
@@ -3902,15 +3918,16 @@ export {
|
|
|
3902
3918
|
Qa as SidebarPropsSchema,
|
|
3903
3919
|
es as SurfacePropsSchema,
|
|
3904
3920
|
ts as SwitchPropsSchema,
|
|
3921
|
+
ns as TableOfContentsPropsSchema,
|
|
3905
3922
|
os as TablePropsSchema,
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3923
|
+
rs as TabsPropsSchema,
|
|
3924
|
+
is as TextPropsSchema,
|
|
3925
|
+
as as ToastyPropsSchema,
|
|
3926
|
+
ss as TooltipPropsSchema,
|
|
3927
|
+
ls as UIElementBaseSchema,
|
|
3928
|
+
ps as UITreeSchema,
|
|
3912
3929
|
ba as VisibilityConditionSchema,
|
|
3913
|
-
|
|
3914
|
-
|
|
3930
|
+
fs as validateElementProps,
|
|
3931
|
+
hs as validateUITree
|
|
3915
3932
|
};
|
|
3916
3933
|
//# sourceMappingURL=schemas.js.map
|