@cloudflare/kumo 2.5.1 → 2.6.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 +32 -0
- package/ai/component-registry.json +176 -124
- package/ai/component-registry.md +171 -51
- package/ai/schemas.ts +23 -12
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +75 -48
- package/dist/ai/schemas.d.ts.map +1 -1
- package/dist/ai/schemas.js +207 -197
- package/dist/ai/schemas.js.map +1 -1
- package/dist/chunks/SankeyChart-g1tng405ml2e0qg2.js +890 -0
- package/dist/chunks/SankeyChart-g1tng405ml2e0qg2.js.map +1 -0
- package/dist/chunks/{autocomplete-d0w42h1frdu03df6.js → autocomplete-hgprlcuf0ixbbo6d.js} +18 -18
- package/dist/chunks/{autocomplete-d0w42h1frdu03df6.js.map → autocomplete-hgprlcuf0ixbbo6d.js.map} +1 -1
- package/dist/chunks/{breadcrumbs-j214mimk5zj4ffp4.js → breadcrumbs-lyj8ljudrm2owx5y.js} +2 -2
- package/dist/chunks/{breadcrumbs-j214mimk5zj4ffp4.js.map → breadcrumbs-lyj8ljudrm2owx5y.js.map} +1 -1
- package/dist/chunks/button-gtdhvogt5rlrf1is.js +237 -0
- package/dist/chunks/button-gtdhvogt5rlrf1is.js.map +1 -0
- package/dist/chunks/{checkbox-dqih8tzzt3vhp870.js → checkbox-byg8t8r9vbmif696.js} +3 -3
- package/dist/chunks/{checkbox-dqih8tzzt3vhp870.js.map → checkbox-byg8t8r9vbmif696.js.map} +1 -1
- package/dist/chunks/{clipboard-text-mrut8z3dt1w0efxz.js → clipboard-text-lf909phvldd8rfk8.js} +4 -4
- package/dist/chunks/{clipboard-text-mrut8z3dt1w0efxz.js.map → clipboard-text-lf909phvldd8rfk8.js.map} +1 -1
- package/dist/chunks/{collapsible-nzqcf9zwnjkxqzr6.js → collapsible-dl61f8gd4j897hmv.js} +4 -4
- package/dist/chunks/{collapsible-nzqcf9zwnjkxqzr6.js.map → collapsible-dl61f8gd4j897hmv.js.map} +1 -1
- package/dist/chunks/{combobox-msvukodjsqzlvpqc.js → combobox-dxff22zxzq846nec.js} +4 -4
- package/dist/chunks/{combobox-msvukodjsqzlvpqc.js.map → combobox-dxff22zxzq846nec.js.map} +1 -1
- package/dist/chunks/{command-palette-fqhyacp33fhyf696.js → command-palette-i4r0402b838wiy0j.js} +21 -21
- package/dist/chunks/{command-palette-fqhyacp33fhyf696.js.map → command-palette-i4r0402b838wiy0j.js.map} +1 -1
- package/dist/chunks/{dialog-3mpu1i1wssrsz8i6.js → dialog-g1b8161nbyixdit0.js} +7 -7
- package/dist/chunks/{dialog-3mpu1i1wssrsz8i6.js.map → dialog-g1b8161nbyixdit0.js.map} +1 -1
- package/dist/chunks/{dropdown-g4sb4cw9ffqaw5gx.js → dropdown-irp18txvgz8590e9.js} +27 -27
- package/dist/chunks/{dropdown-g4sb4cw9ffqaw5gx.js.map → dropdown-irp18txvgz8590e9.js.map} +1 -1
- package/dist/chunks/{empty-n17inn1z67bpohkw.js → empty-daa6d7u9oleaw24a.js} +2 -2
- package/dist/chunks/{empty-n17inn1z67bpohkw.js.map → empty-daa6d7u9oleaw24a.js.map} +1 -1
- package/dist/chunks/{field-c8o7h3rlam4c9pcx.js → field-f1hy08um3jf9jos6.js} +3 -3
- package/dist/chunks/{field-c8o7h3rlam4c9pcx.js.map → field-f1hy08um3jf9jos6.js.map} +1 -1
- package/dist/chunks/{input-area-eurk3seud30ricwn.js → input-area-bwyujceeulpfkpxv.js} +4 -4
- package/dist/chunks/{input-area-eurk3seud30ricwn.js.map → input-area-bwyujceeulpfkpxv.js.map} +1 -1
- package/dist/chunks/{input-en8hhb14mmt3tfwn.js → input-f2ct7obgdzypjmp2.js} +3 -3
- package/dist/chunks/{input-en8hhb14mmt3tfwn.js.map → input-f2ct7obgdzypjmp2.js.map} +1 -1
- package/dist/chunks/{input-group-d09ocmjcbdai0gze.js → input-group-kcd3jin5pbdijmw8.js} +5 -5
- package/dist/chunks/{input-group-d09ocmjcbdai0gze.js.map → input-group-kcd3jin5pbdijmw8.js.map} +1 -1
- package/dist/chunks/{label-c8rz453pti66slki.js → label-himqjkdhh0hgfdsa.js} +3 -3
- package/dist/chunks/{label-c8rz453pti66slki.js.map → label-himqjkdhh0hgfdsa.js.map} +1 -1
- package/dist/chunks/{layer-card-er4flkcxmzfug8jw.js → layer-card-cshi5vydqg3phyfx.js} +2 -2
- package/dist/chunks/{layer-card-er4flkcxmzfug8jw.js.map → layer-card-cshi5vydqg3phyfx.js.map} +1 -1
- package/dist/chunks/{link-i6vnwyjcwvjz5btm.js → link-bw21ofmgg58igq5n.js} +4 -4
- package/dist/chunks/{link-i6vnwyjcwvjz5btm.js.map → link-bw21ofmgg58igq5n.js.map} +1 -1
- package/dist/chunks/{menubar-ng5if56amh1tto4j.js → menubar-m12wcbbucuszspw4.js} +2 -2
- package/dist/chunks/{menubar-ng5if56amh1tto4j.js.map → menubar-m12wcbbucuszspw4.js.map} +1 -1
- package/dist/chunks/{meter-d5igshkjqttl1fdj.js → meter-dn8vgc0smpk0du75.js} +4 -4
- package/dist/chunks/{meter-d5igshkjqttl1fdj.js.map → meter-dn8vgc0smpk0du75.js.map} +1 -1
- package/dist/chunks/{pagination-bw7vwca4wrfjm8vb.js → pagination-oafyxvdndm9m8250.js} +3 -3
- package/dist/chunks/{pagination-bw7vwca4wrfjm8vb.js.map → pagination-oafyxvdndm9m8250.js.map} +1 -1
- package/dist/chunks/{popover-ozf1j7oi7pxiudyz.js → popover-bbxr39l1lx175hum.js} +18 -18
- package/dist/chunks/{popover-ozf1j7oi7pxiudyz.js.map → popover-bbxr39l1lx175hum.js.map} +1 -1
- package/dist/chunks/radio-ffx05ih9nc764evh.js +226 -0
- package/dist/chunks/radio-ffx05ih9nc764evh.js.map +1 -0
- package/dist/chunks/{select-dw9iw35ug7yer3o3.js → select-kl1skfh3pmwc33rp.js} +6 -6
- package/dist/chunks/{select-dw9iw35ug7yer3o3.js.map → select-kl1skfh3pmwc33rp.js.map} +1 -1
- package/dist/chunks/{sensitive-input-dgoxjtoxl4zqa51v.js → sensitive-input-izmbyk1t7r56ciiq.js} +4 -4
- package/dist/chunks/{sensitive-input-dgoxjtoxl4zqa51v.js.map → sensitive-input-izmbyk1t7r56ciiq.js.map} +1 -1
- package/dist/chunks/{sidebar-nbdw4rgvuabxp5nj.js → sidebar-ior8rnhsd7gy5am5.js} +49 -49
- package/dist/chunks/sidebar-ior8rnhsd7gy5am5.js.map +1 -0
- package/dist/chunks/{surface-iyejjbqogjbo7ise.js → surface-g5a1buofz4erjov2.js} +2 -2
- package/dist/chunks/{surface-iyejjbqogjbo7ise.js.map → surface-g5a1buofz4erjov2.js.map} +1 -1
- package/dist/chunks/{switch-g8f77h69h34xld06.js → switch-kh8a6l3l0hszm9h4.js} +3 -3
- package/dist/chunks/{switch-g8f77h69h34xld06.js.map → switch-kh8a6l3l0hszm9h4.js.map} +1 -1
- package/dist/chunks/{table-e1te1im2tt2ez05y.js → table-dz2k55oab66h2vi9.js} +2 -2
- package/dist/chunks/{table-e1te1im2tt2ez05y.js.map → table-dz2k55oab66h2vi9.js.map} +1 -1
- package/dist/chunks/{tabs-ho9t1gkq22jb855l.js → tabs-kcw98wibdz4mhpkc.js} +2 -2
- package/dist/chunks/{tabs-ho9t1gkq22jb855l.js.map → tabs-kcw98wibdz4mhpkc.js.map} +1 -1
- package/dist/chunks/{toast-kvbgct0jvfmn4mas.js → toast-dkdo1lu72tnefya6.js} +7 -7
- package/dist/chunks/{toast-kvbgct0jvfmn4mas.js.map → toast-dkdo1lu72tnefya6.js.map} +1 -1
- package/dist/chunks/toolbar-o7xe6pd189evdd53.js +172 -0
- package/dist/chunks/toolbar-o7xe6pd189evdd53.js.map +1 -0
- package/dist/chunks/{tooltip-ken77ixya0qpidie.js → tooltip-eqnhjdbvwapy8gj4.js} +4 -4
- package/dist/chunks/{tooltip-ken77ixya0qpidie.js.map → tooltip-eqnhjdbvwapy8gj4.js.map} +1 -1
- package/dist/chunks/{vendor-base-ui-knphx7dts1vm1x37.js → vendor-base-ui-f9z44m829vvptrg0.js} +2209 -2207
- package/dist/chunks/{vendor-base-ui-knphx7dts1vm1x37.js.map → vendor-base-ui-f9z44m829vvptrg0.js.map} +1 -1
- package/dist/code.js +1 -1
- package/dist/components/autocomplete.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/collapsible.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/input-group.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.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/toast.js +2 -2
- package/dist/components/toolbar.js +8 -0
- package/dist/components/toolbar.js.map +1 -0
- package/dist/components/tooltip.js +1 -1
- package/dist/index.js +199 -195
- 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/otp-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 +13 -2
- package/dist/scripts/theme-generator/config.js.map +1 -1
- package/dist/src/components/button/button.d.ts +5 -5
- package/dist/src/components/button/button.d.ts.map +1 -1
- package/dist/src/components/chart/EChart.d.ts +12 -4
- package/dist/src/components/chart/EChart.d.ts.map +1 -1
- package/dist/src/components/chart/Legend.d.ts +11 -2
- package/dist/src/components/chart/Legend.d.ts.map +1 -1
- package/dist/src/components/chart/TimeseriesChart.d.ts +15 -1
- package/dist/src/components/chart/TimeseriesChart.d.ts.map +1 -1
- package/dist/src/components/radio/index.d.ts +1 -1
- package/dist/src/components/radio/index.d.ts.map +1 -1
- package/dist/src/components/radio/radio.d.ts +49 -10
- package/dist/src/components/radio/radio.d.ts.map +1 -1
- package/dist/src/components/radio/radio.type-spec.d.ts +12 -0
- package/dist/src/components/radio/radio.type-spec.d.ts.map +1 -0
- package/dist/src/components/toolbar/index.d.ts +2 -0
- package/dist/src/components/toolbar/index.d.ts.map +1 -0
- package/dist/src/components/toolbar/toolbar.d.ts +50 -0
- package/dist/src/components/toolbar/toolbar.d.ts.map +1 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/styles/kumo-standalone.css +1 -1
- package/dist/styles/theme-kumo.css +11 -4
- package/package.json +5 -1
- package/scripts/component-registry/discovery.ts +16 -11
- package/scripts/component-registry/metadata.ts +30 -0
- package/scripts/theme-generator/config.ts +14 -2
- package/dist/chunks/SankeyChart-i1m7zv0lys3j0iq6.js +0 -775
- package/dist/chunks/SankeyChart-i1m7zv0lys3j0iq6.js.map +0 -1
- package/dist/chunks/button-mnrxu6dud2x5js5b.js +0 -210
- package/dist/chunks/button-mnrxu6dud2x5js5b.js.map +0 -1
- package/dist/chunks/radio-gpg6kmzonr2cayq1.js +0 -218
- package/dist/chunks/radio-gpg6kmzonr2cayq1.js.map +0 -1
- package/dist/chunks/sidebar-nbdw4rgvuabxp5nj.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @cloudflare/kumo
|
|
2
2
|
|
|
3
|
+
## 2.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1b04ee9: Add Toolbar for composing explicit toolbar controls into a shared grouped card.
|
|
8
|
+
- 116e0de: feat(chart): add `enableLegendSelection` prop to `TimeseriesChart`
|
|
9
|
+
|
|
10
|
+
Opt-in (default `false`) hidden ECharts legend that lets consumers drive series
|
|
11
|
+
visibility imperatively via the `legendSelect` / `legendUnSelect` /
|
|
12
|
+
`legendToggleSelect` actions — useful for building a custom interactive legend
|
|
13
|
+
with `ChartLegend`. Series toggled off via the legend are also excluded from the
|
|
14
|
+
tooltip. Requires registering ECharts' `LegendComponent`
|
|
15
|
+
(`echarts.use([LegendComponent])`). When disabled, behaviour is unchanged.
|
|
16
|
+
|
|
17
|
+
- 815628f: Extend LegendItems to take pointer events & timeseries merges forwardref to support those events
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 430689b: Update the Button primary and destructive variants with token-derived gradient treatments.
|
|
22
|
+
- 539e5bf: Fix horizontal scroll in `Sidebar.Content`: always apply `overflow-x: hidden` on the scroll viewport, not just when collapsed. Base UI's `ScrollArea.Viewport` sets `overflow: scroll` as an inline style, which allowed ~14px of horizontal overflow when consumer content (e.g. search buttons with keyboard shortcuts) exceeded the sidebar width.
|
|
23
|
+
- 4378067: feat(radio): add generic value type support to Radio.Group and Radio.Item
|
|
24
|
+
- fb5fed1: Fix the green Badge variant missing its background color token.
|
|
25
|
+
- bdd890c: Keep generated component registry descriptions to JSDoc summaries before markdown sections or code examples.
|
|
26
|
+
|
|
27
|
+
## 2.5.2
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- 9a13576: fix(button): use ring-kumo-line for default secondary button ring
|
|
32
|
+
- b18837c: Refine outline and secondary destructive button hover states.
|
|
33
|
+
- 595d10e: fix(sidebar): correct GroupLabel top margin from mt-6 to mt-4
|
|
34
|
+
|
|
3
35
|
## 2.5.1
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"Autocomplete": {
|
|
5
5
|
"name": "Autocomplete",
|
|
6
6
|
"type": "component",
|
|
7
|
-
"description": "Autocomplete — free-form text input with an optional filtered suggestion list.
|
|
7
|
+
"description": "Autocomplete — free-form text input with an optional filtered suggestion list.",
|
|
8
8
|
"importPath": "@cloudflare/kumo",
|
|
9
9
|
"category": "Other",
|
|
10
10
|
"props": {
|
|
@@ -266,12 +266,13 @@
|
|
|
266
266
|
},
|
|
267
267
|
"examples": [
|
|
268
268
|
"<div className=\"flex flex-wrap items-center gap-2\">\n <Badge variant=\"primary\">Primary</Badge>\n <Badge variant=\"secondary\">Secondary</Badge>\n <Badge variant=\"error\">Error</Badge>\n <Badge variant=\"success\">Success</Badge>\n <Badge variant=\"warning\">Warning</Badge>\n <Badge variant=\"info\">Info</Badge>\n <Badge variant=\"outline\">Outline</Badge>\n <Badge variant=\"beta\">Beta</Badge>\n </div>",
|
|
269
|
-
"<div className=\"flex flex-wrap items-center gap-2\">\n <Badge variant=\"neutral\">Neutral</Badge>\n <Badge variant=\"red\">Red</Badge>\n <Badge variant=\"orange\">Orange</Badge>\n <Badge variant=\"teal\">Teal</Badge>\n <Badge variant=\"blue\">Blue</Badge>\n <Badge variant=\"purple\">Purple</Badge>\n </div>",
|
|
269
|
+
"<div className=\"flex flex-wrap items-center gap-2\">\n <Badge variant=\"neutral\">Neutral</Badge>\n <Badge variant=\"red\">Red</Badge>\n <Badge variant=\"green\">Green</Badge>\n <Badge variant=\"orange\">Orange</Badge>\n <Badge variant=\"teal\">Teal</Badge>\n <Badge variant=\"blue\">Blue</Badge>\n <Badge variant=\"purple\">Purple</Badge>\n </div>",
|
|
270
270
|
"<p className=\"flex items-center gap-2\">\n Workers\n <Badge variant=\"secondary\">New</Badge>\n </p>",
|
|
271
271
|
"<div className=\"flex flex-wrap items-center gap-2\">\n <Badge variant=\"success\" appearance=\"dot\">Healthy</Badge>\n <Badge variant=\"warning\" appearance=\"dot\">Warning</Badge>\n <Badge variant=\"error\" appearance=\"dot\">Error</Badge>\n <Badge variant=\"neutral\" appearance=\"dot\">Neutral</Badge>\n </div>"
|
|
272
272
|
],
|
|
273
273
|
"colors": [
|
|
274
274
|
"bg-kumo-badge-blue",
|
|
275
|
+
"bg-kumo-badge-green",
|
|
275
276
|
"bg-kumo-badge-inverted",
|
|
276
277
|
"bg-kumo-badge-neutral",
|
|
277
278
|
"bg-kumo-badge-orange",
|
|
@@ -560,17 +561,16 @@
|
|
|
560
561
|
"outline": "Bordered button with transparent background"
|
|
561
562
|
},
|
|
562
563
|
"classes": {
|
|
563
|
-
"primary": "bg-kumo-
|
|
564
|
-
"secondary": "bg-kumo-base !text-kumo-default ring not-disabled:hover:bg-kumo-tint disabled:bg-kumo-base/50 disabled:!text-kumo-default/70 ring-kumo-
|
|
564
|
+
"primary": "relative overflow-hidden bg-(--kumo-button-emphasis-bg) !text-white ring ring-(--kumo-button-emphasis-ring) disabled:opacity-50",
|
|
565
|
+
"secondary": "bg-kumo-base !text-kumo-default ring not-disabled:hover:bg-kumo-tint disabled:bg-kumo-base/50 disabled:!text-kumo-default/70 ring-kumo-line data-[state=open]:bg-kumo-base",
|
|
565
566
|
"ghost": "text-kumo-default hover:bg-kumo-tint shadow-none bg-inherit",
|
|
566
|
-
"destructive": "bg-kumo-
|
|
567
|
-
"secondary-destructive": "bg-kumo-base !text-kumo-danger ring not-disabled:hover:
|
|
568
|
-
"outline": "bg-transparent text-kumo-default ring ring-kumo-
|
|
567
|
+
"destructive": "relative overflow-hidden bg-(--kumo-button-emphasis-bg) !text-white ring ring-(--kumo-button-emphasis-ring) disabled:opacity-50",
|
|
568
|
+
"secondary-destructive": "bg-kumo-base !text-kumo-danger ring not-disabled:hover:!text-kumo-danger not-disabled:hover:ring-kumo-danger/30 disabled:bg-kumo-base/50 disabled:!text-kumo-danger/70 ring-kumo-line data-[state=open]:bg-kumo-base",
|
|
569
|
+
"outline": "bg-transparent text-kumo-default ring ring-kumo-line transition-colors not-disabled:hover:text-kumo-strong not-disabled:hover:ring-kumo-focus/25"
|
|
569
570
|
},
|
|
570
571
|
"stateClasses": {
|
|
571
572
|
"primary": {
|
|
572
|
-
"
|
|
573
|
-
"disabled": "disabled:bg-kumo-brand/50"
|
|
573
|
+
"disabled": "disabled:opacity-50"
|
|
574
574
|
},
|
|
575
575
|
"secondary": {
|
|
576
576
|
"not-disabled": "not-disabled:hover:bg-kumo-tint",
|
|
@@ -581,12 +581,15 @@
|
|
|
581
581
|
"hover": "hover:bg-kumo-tint"
|
|
582
582
|
},
|
|
583
583
|
"destructive": {
|
|
584
|
-
"
|
|
584
|
+
"disabled": "disabled:opacity-50"
|
|
585
585
|
},
|
|
586
586
|
"secondary-destructive": {
|
|
587
|
-
"not-disabled": "not-disabled:hover:
|
|
587
|
+
"not-disabled": "not-disabled:hover:!text-kumo-danger not-disabled:hover:ring-kumo-danger/30",
|
|
588
588
|
"disabled": "disabled:bg-kumo-base/50 disabled:!text-kumo-danger/70",
|
|
589
589
|
"data-state": "data-[state=open]:bg-kumo-base"
|
|
590
|
+
},
|
|
591
|
+
"outline": {
|
|
592
|
+
"not-disabled": "not-disabled:hover:text-kumo-strong not-disabled:hover:ring-kumo-focus/25"
|
|
590
593
|
}
|
|
591
594
|
},
|
|
592
595
|
"default": "secondary"
|
|
@@ -662,15 +665,14 @@
|
|
|
662
665
|
],
|
|
663
666
|
"colors": [
|
|
664
667
|
"bg-kumo-base",
|
|
665
|
-
"bg-kumo-brand",
|
|
666
|
-
"bg-kumo-brand-hover",
|
|
667
|
-
"bg-kumo-danger",
|
|
668
668
|
"bg-kumo-tint",
|
|
669
669
|
"ring-kumo-brand",
|
|
670
|
+
"ring-kumo-danger",
|
|
670
671
|
"ring-kumo-focus",
|
|
671
|
-
"ring-kumo-
|
|
672
|
+
"ring-kumo-line",
|
|
672
673
|
"text-kumo-danger",
|
|
673
674
|
"text-kumo-default",
|
|
675
|
+
"text-kumo-strong",
|
|
674
676
|
"text-kumo-subtle"
|
|
675
677
|
]
|
|
676
678
|
},
|
|
@@ -2250,7 +2252,7 @@
|
|
|
2250
2252
|
"Collapsible": {
|
|
2251
2253
|
"name": "Collapsible",
|
|
2252
2254
|
"type": "component",
|
|
2253
|
-
"description": "Collapsible — a composable disclosure component for showing/hiding content.
|
|
2255
|
+
"description": "Collapsible — a composable disclosure component for showing/hiding content.",
|
|
2254
2256
|
"importPath": "@cloudflare/kumo",
|
|
2255
2257
|
"category": "Display",
|
|
2256
2258
|
"props": {
|
|
@@ -2340,7 +2342,7 @@
|
|
|
2340
2342
|
"Combobox": {
|
|
2341
2343
|
"name": "Combobox",
|
|
2342
2344
|
"type": "component",
|
|
2343
|
-
"description": "Combobox — autocomplete input with filterable dropdown list.
|
|
2345
|
+
"description": "Combobox — autocomplete input with filterable dropdown list.",
|
|
2344
2346
|
"importPath": "@cloudflare/kumo",
|
|
2345
2347
|
"category": "Input",
|
|
2346
2348
|
"props": {
|
|
@@ -2577,7 +2579,7 @@
|
|
|
2577
2579
|
"CommandPalette": {
|
|
2578
2580
|
"name": "CommandPalette",
|
|
2579
2581
|
"type": "component",
|
|
2580
|
-
"description": "CommandPalette — accessible command palette / spotlight search overlay.
|
|
2582
|
+
"description": "CommandPalette — accessible command palette / spotlight search overlay.",
|
|
2581
2583
|
"importPath": "@cloudflare/kumo",
|
|
2582
2584
|
"category": "Navigation",
|
|
2583
2585
|
"props": {
|
|
@@ -2618,7 +2620,7 @@
|
|
|
2618
2620
|
"DatePicker": {
|
|
2619
2621
|
"name": "DatePicker",
|
|
2620
2622
|
"type": "component",
|
|
2621
|
-
"description": "DatePicker — a date selection calendar.
|
|
2623
|
+
"description": "DatePicker — a date selection calendar.",
|
|
2622
2624
|
"importPath": "@cloudflare/kumo",
|
|
2623
2625
|
"category": "Other",
|
|
2624
2626
|
"props": {
|
|
@@ -2648,7 +2650,7 @@
|
|
|
2648
2650
|
"DateRangePicker": {
|
|
2649
2651
|
"name": "DateRangePicker",
|
|
2650
2652
|
"type": "component",
|
|
2651
|
-
"description": "DateRangePicker — dual-calendar date range selector.
|
|
2653
|
+
"description": "DateRangePicker — dual-calendar date range selector.",
|
|
2652
2654
|
"importPath": "@cloudflare/kumo",
|
|
2653
2655
|
"category": "Input",
|
|
2654
2656
|
"props": {
|
|
@@ -2931,7 +2933,7 @@
|
|
|
2931
2933
|
"DropdownMenu": {
|
|
2932
2934
|
"name": "DropdownMenu",
|
|
2933
2935
|
"type": "component",
|
|
2934
|
-
"description": "DropdownMenu — accessible dropdown menu anchored to a trigger.
|
|
2936
|
+
"description": "DropdownMenu — accessible dropdown menu anchored to a trigger.",
|
|
2935
2937
|
"importPath": "@cloudflare/kumo",
|
|
2936
2938
|
"category": "Overlay",
|
|
2937
2939
|
"props": {
|
|
@@ -3779,7 +3781,7 @@
|
|
|
3779
3781
|
"Label": {
|
|
3780
3782
|
"name": "Label",
|
|
3781
3783
|
"type": "component",
|
|
3782
|
-
"description": "Label component for form fields.
|
|
3784
|
+
"description": "Label component for form fields.",
|
|
3783
3785
|
"importPath": "@cloudflare/kumo",
|
|
3784
3786
|
"category": "Other",
|
|
3785
3787
|
"props": {
|
|
@@ -4067,7 +4069,7 @@
|
|
|
4067
4069
|
"MenuBar": {
|
|
4068
4070
|
"name": "MenuBar",
|
|
4069
4071
|
"type": "component",
|
|
4070
|
-
"description": "MenuBar — horizontal icon-button toolbar with keyboard arrow-key navigation.
|
|
4072
|
+
"description": "MenuBar — horizontal icon-button toolbar with keyboard arrow-key navigation.",
|
|
4071
4073
|
"importPath": "@cloudflare/kumo",
|
|
4072
4074
|
"category": "Navigation",
|
|
4073
4075
|
"props": {
|
|
@@ -4425,37 +4427,33 @@
|
|
|
4425
4427
|
"Radio": {
|
|
4426
4428
|
"name": "Radio",
|
|
4427
4429
|
"type": "component",
|
|
4428
|
-
"description": "Radio — radio button group for single-select choices.
|
|
4430
|
+
"description": "Radio — radio button group for single-select choices.",
|
|
4429
4431
|
"importPath": "@cloudflare/kumo",
|
|
4430
4432
|
"category": "Input",
|
|
4431
4433
|
"props": {
|
|
4432
|
-
"
|
|
4433
|
-
"type": "string",
|
|
4434
|
-
"optional": true,
|
|
4435
|
-
"description": "Legend text for the group (required for accessibility). For more control over legend styling, omit this prop and use `<Radio.Legend>` as a child instead."
|
|
4436
|
-
},
|
|
4437
|
-
"children": {
|
|
4438
|
-
"type": "ReactNode",
|
|
4439
|
-
"optional": true,
|
|
4440
|
-
"description": "Child Radio.Item components (and optionally a Radio.Legend)"
|
|
4441
|
-
},
|
|
4442
|
-
"orientation": {
|
|
4434
|
+
"variant": {
|
|
4443
4435
|
"type": "enum",
|
|
4444
|
-
"optional": true,
|
|
4445
|
-
"description": "Layout direction of the radio items",
|
|
4446
4436
|
"values": [
|
|
4447
|
-
"
|
|
4448
|
-
"
|
|
4449
|
-
]
|
|
4437
|
+
"default",
|
|
4438
|
+
"error"
|
|
4439
|
+
],
|
|
4440
|
+
"default": "default",
|
|
4441
|
+
"descriptions": {
|
|
4442
|
+
"default": "Default radio appearance",
|
|
4443
|
+
"error": "Error state for validation failures"
|
|
4444
|
+
},
|
|
4445
|
+
"classes": {
|
|
4446
|
+
"default": "ring-kumo-hairline",
|
|
4447
|
+
"error": "ring-kumo-danger"
|
|
4448
|
+
}
|
|
4450
4449
|
},
|
|
4451
4450
|
"appearance": {
|
|
4452
4451
|
"type": "enum",
|
|
4453
|
-
"optional": true,
|
|
4454
|
-
"description": "Visual appearance applied to all Radio.Item children.\n- `\"default\"` — Standard inline radio items\n- `\"card\"` — Choice card with border, padding, and highlighted selection state\n\nIndividual items can override this with their own `appearance` prop.",
|
|
4455
4452
|
"values": [
|
|
4456
4453
|
"default",
|
|
4457
4454
|
"card"
|
|
4458
4455
|
],
|
|
4456
|
+
"default": "default",
|
|
4459
4457
|
"descriptions": {
|
|
4460
4458
|
"default": "Standard inline radio item",
|
|
4461
4459
|
"card": "Choice card appearance with border, padding, and highlighted selection state"
|
|
@@ -4467,47 +4465,27 @@
|
|
|
4467
4465
|
"card": {
|
|
4468
4466
|
"hover": "hover:bg-kumo-tint"
|
|
4469
4467
|
}
|
|
4470
|
-
}
|
|
4471
|
-
"default": "default"
|
|
4468
|
+
}
|
|
4472
4469
|
},
|
|
4473
|
-
"
|
|
4470
|
+
"className": {
|
|
4474
4471
|
"type": "string",
|
|
4475
|
-
"
|
|
4476
|
-
"description": "Error message for the group"
|
|
4472
|
+
"description": "Additional CSS classes"
|
|
4477
4473
|
},
|
|
4478
|
-
"
|
|
4474
|
+
"children": {
|
|
4479
4475
|
"type": "ReactNode",
|
|
4480
|
-
"
|
|
4481
|
-
"description": "Helper text for the group"
|
|
4476
|
+
"description": "Child elements"
|
|
4482
4477
|
},
|
|
4483
4478
|
"value": {
|
|
4484
|
-
"type": "
|
|
4485
|
-
"
|
|
4486
|
-
"description": "Value of the radio that should be selected (controlled)"
|
|
4487
|
-
},
|
|
4488
|
-
"disabled": {
|
|
4489
|
-
"type": "boolean",
|
|
4490
|
-
"optional": true,
|
|
4491
|
-
"description": "Whether all radios in the group are disabled"
|
|
4492
|
-
},
|
|
4493
|
-
"controlPosition": {
|
|
4494
|
-
"type": "enum",
|
|
4495
|
-
"optional": true,
|
|
4496
|
-
"description": "Position of radio control relative to label: \"start\" puts radio before label, \"end\" puts label before radio. Defaults to \"start\" for default appearance and \"end\" for card appearance.",
|
|
4497
|
-
"values": [
|
|
4498
|
-
"start",
|
|
4499
|
-
"end"
|
|
4500
|
-
]
|
|
4479
|
+
"type": "T",
|
|
4480
|
+
"description": "The controlled value of the selected radio item."
|
|
4501
4481
|
},
|
|
4502
|
-
"
|
|
4503
|
-
"type": "
|
|
4504
|
-
"
|
|
4505
|
-
"description": "Form submission name for the radio group"
|
|
4482
|
+
"defaultValue": {
|
|
4483
|
+
"type": "T",
|
|
4484
|
+
"description": "The uncontrolled initial value of the selected radio item."
|
|
4506
4485
|
},
|
|
4507
|
-
"
|
|
4508
|
-
"type": "
|
|
4509
|
-
"
|
|
4510
|
-
"description": "Additional CSS classes"
|
|
4486
|
+
"onValueChange": {
|
|
4487
|
+
"type": "(value: T, eventDetails: RadioGroupChangeEventDetails) => void",
|
|
4488
|
+
"description": "Callback fired when the selected value changes. The second argument carries native event details about the interaction."
|
|
4511
4489
|
}
|
|
4512
4490
|
},
|
|
4513
4491
|
"examples": [
|
|
@@ -4522,6 +4500,7 @@
|
|
|
4522
4500
|
"<Radio.Group defaultValue=\"all\" value={value} onValueChange={setValue}>\n <Radio.Legend className=\"sr-only\">Paths</Radio.Legend>\n <Radio.Item label=\"Allow all paths\" value=\"all\" />\n <Radio.Item label=\"Restrict to specific paths\" value=\"specific\" />\n </Radio.Group>",
|
|
4523
4501
|
"<Radio.Group value={value} onValueChange={setValue}>\n <Radio.Legend className=\"text-sm font-normal text-kumo-subtle\">\n Notification preference\n </Radio.Legend>\n <Radio.Item label=\"Email\" value=\"email\" />\n <Radio.Item label=\"SMS\" value=\"sms\" />\n <Radio.Item label=\"Push notification\" value=\"push\" />\n </Radio.Group>",
|
|
4524
4502
|
"<Radio.Group\n legend=\"Choose a plan\"\n appearance=\"card\"\n controlPosition=\"start\"\n value={value}\n onValueChange={setValue}\n >\n <Radio.Item\n label=\"Free\"\n description=\"For personal or hobby projects that aren't business-critical.\"\n value=\"free\"\n />\n <Radio.Item\n label=\"Pro\"\n description=\"For professional websites that aren't business-critical.\"\n value=\"pro\"\n />\n </Radio.Group>",
|
|
4503
|
+
"<div className=\"grid grid-cols-2 gap-6\">\n <Radio.Group<number>\n legend=\"Items per page\"\n value={pageSize}\n onValueChange={setPageSize}\n >\n <Radio.Item<number> label=\"10\" value={10} />\n <Radio.Item<number> label=\"25\" value={25} />\n <Radio.Item<number> label=\"50\" value={50} />\n </Radio.Group>\n <Radio.Group<ThemeType>\n legend=\"Theme\"\n value={theme}\n onValueChange={setTheme}\n >\n <Radio.Item<ThemeType> label=\"Light\" value={ThemeType.light} />\n <Radio.Item<ThemeType> label=\"Dark\" value={ThemeType.dark} />\n <Radio.Item<ThemeType> label=\"System\" value={ThemeType.system} />\n </Radio.Group>\n </div>",
|
|
4525
4504
|
"<Radio.Group\n legend=\"Choose a plan\"\n appearance=\"card\"\n value={value}\n onValueChange={setValue}\n >\n <Radio.Item\n label={\n <span className=\"flex items-center gap-2\">\n Free\n <Badge variant=\"neutral\">$0</Badge>\n </span>\n }\n description=\"For personal or hobby projects.\"\n value=\"free\"\n />\n <Radio.Item\n label={\n <span className=\"flex items-center gap-2\">\n Pro\n <Badge variant=\"primary\">Popular</Badge>\n </span>\n }\n description=\"For professional websites.\"\n value=\"pro\"\n />\n </Radio.Group>",
|
|
4526
4505
|
"<Radio.Group\n legend=\"Choose a plan\"\n appearance=\"card\"\n orientation=\"horizontal\"\n value={value}\n onValueChange={setValue}\n >\n <Radio.Item\n label=\"Free\"\n description=\"For personal or hobby projects that aren't business-critical.\"\n value=\"free\"\n />\n <Radio.Item\n label=\"Pro\"\n description=\"For professional websites that aren't business-critical.\"\n value=\"pro\"\n />\n <Radio.Item\n label=\"Business\"\n description=\"For small businesses operating online.\"\n value=\"business\"\n />\n <Radio.Item\n label=\"Contract\"\n description=\"For mission-critical applications that are core to your business.\"\n value=\"contract\"\n />\n </Radio.Group>"
|
|
4527
4506
|
],
|
|
@@ -4551,53 +4530,17 @@
|
|
|
4551
4530
|
"name": "Group",
|
|
4552
4531
|
"description": "Group sub-component",
|
|
4553
4532
|
"props": {
|
|
4554
|
-
"legend": {
|
|
4555
|
-
"type": "string",
|
|
4556
|
-
"optional": true
|
|
4557
|
-
},
|
|
4558
|
-
"children": {
|
|
4559
|
-
"type": "ReactNode",
|
|
4560
|
-
"required": true
|
|
4561
|
-
},
|
|
4562
|
-
"orientation": {
|
|
4563
|
-
"type": "\"vertical\" | \"horizontal\"",
|
|
4564
|
-
"optional": true
|
|
4565
|
-
},
|
|
4566
|
-
"appearance": {
|
|
4567
|
-
"type": "KumoRadioAppearance",
|
|
4568
|
-
"optional": true
|
|
4569
|
-
},
|
|
4570
|
-
"error": {
|
|
4571
|
-
"type": "string",
|
|
4572
|
-
"optional": true
|
|
4573
|
-
},
|
|
4574
|
-
"description": {
|
|
4575
|
-
"type": "ReactNode",
|
|
4576
|
-
"optional": true
|
|
4577
|
-
},
|
|
4578
4533
|
"value": {
|
|
4579
|
-
"type": "
|
|
4580
|
-
"
|
|
4581
|
-
},
|
|
4582
|
-
"disabled": {
|
|
4583
|
-
"type": "boolean",
|
|
4584
|
-
"optional": true
|
|
4585
|
-
},
|
|
4586
|
-
"label": {
|
|
4587
|
-
"type": "\"start\" puts radio before label",
|
|
4588
|
-
"required": true
|
|
4589
|
-
},
|
|
4590
|
-
"controlPosition": {
|
|
4591
|
-
"type": "RadioControlPosition",
|
|
4592
|
-
"optional": true
|
|
4534
|
+
"type": "T",
|
|
4535
|
+
"description": "The controlled value of the selected radio item."
|
|
4593
4536
|
},
|
|
4594
|
-
"
|
|
4595
|
-
"type": "
|
|
4596
|
-
"
|
|
4537
|
+
"defaultValue": {
|
|
4538
|
+
"type": "T",
|
|
4539
|
+
"description": "The uncontrolled initial value of the selected radio item."
|
|
4597
4540
|
},
|
|
4598
|
-
"
|
|
4599
|
-
"type": "
|
|
4600
|
-
"
|
|
4541
|
+
"onValueChange": {
|
|
4542
|
+
"type": "(value: T, eventDetails: RadioGroupChangeEventDetails) => void",
|
|
4543
|
+
"description": "Callback fired when the selected value changes. The second argument carries native event details about the interaction."
|
|
4601
4544
|
}
|
|
4602
4545
|
}
|
|
4603
4546
|
},
|
|
@@ -4956,7 +4899,7 @@
|
|
|
4956
4899
|
"Sidebar": {
|
|
4957
4900
|
"name": "Sidebar",
|
|
4958
4901
|
"type": "component",
|
|
4959
|
-
"description": "Sidebar — responsive navigation panel with expand/collapse support.
|
|
4902
|
+
"description": "Sidebar — responsive navigation panel with expand/collapse support.",
|
|
4960
4903
|
"importPath": "@cloudflare/kumo",
|
|
4961
4904
|
"category": "Other",
|
|
4962
4905
|
"props": {
|
|
@@ -5684,7 +5627,7 @@
|
|
|
5684
5627
|
"Table": {
|
|
5685
5628
|
"name": "Table",
|
|
5686
5629
|
"type": "component",
|
|
5687
|
-
"description": "Table — semantic HTML table with styled rows, cells, and selection support.
|
|
5630
|
+
"description": "Table — semantic HTML table with styled rows, cells, and selection support.",
|
|
5688
5631
|
"importPath": "@cloudflare/kumo",
|
|
5689
5632
|
"category": "Other",
|
|
5690
5633
|
"props": {
|
|
@@ -5813,7 +5756,7 @@
|
|
|
5813
5756
|
"TableOfContents": {
|
|
5814
5757
|
"name": "TableOfContents",
|
|
5815
5758
|
"type": "component",
|
|
5816
|
-
"description": "TableOfContents — presentational compound component for section navigation.
|
|
5759
|
+
"description": "TableOfContents — presentational compound component for section navigation.",
|
|
5817
5760
|
"importPath": "@cloudflare/kumo",
|
|
5818
5761
|
"category": "Other",
|
|
5819
5762
|
"props": {
|
|
@@ -6164,7 +6107,7 @@
|
|
|
6164
6107
|
"Toasty": {
|
|
6165
6108
|
"name": "Toasty",
|
|
6166
6109
|
"type": "component",
|
|
6167
|
-
"description": "Toasty — toast notification provider and viewport.
|
|
6110
|
+
"description": "Toasty — toast notification provider and viewport.",
|
|
6168
6111
|
"importPath": "@cloudflare/kumo",
|
|
6169
6112
|
"category": "Feedback",
|
|
6170
6113
|
"props": {
|
|
@@ -6269,6 +6212,112 @@
|
|
|
6269
6212
|
}
|
|
6270
6213
|
}
|
|
6271
6214
|
},
|
|
6215
|
+
"Toolbar": {
|
|
6216
|
+
"name": "Toolbar",
|
|
6217
|
+
"type": "component",
|
|
6218
|
+
"description": "Toolbar component",
|
|
6219
|
+
"importPath": "@cloudflare/kumo",
|
|
6220
|
+
"category": "Other",
|
|
6221
|
+
"props": {
|
|
6222
|
+
"disabled": {
|
|
6223
|
+
"type": "boolean",
|
|
6224
|
+
"optional": true
|
|
6225
|
+
},
|
|
6226
|
+
"orientation": {
|
|
6227
|
+
"type": "ToolbarRoot.Orientation",
|
|
6228
|
+
"optional": true,
|
|
6229
|
+
"description": "The orientation of the toolbar."
|
|
6230
|
+
},
|
|
6231
|
+
"loopFocus": {
|
|
6232
|
+
"type": "boolean",
|
|
6233
|
+
"optional": true,
|
|
6234
|
+
"description": "If `true`, using keyboard navigation will wrap focus to the other end of the toolbar once the end is reached."
|
|
6235
|
+
},
|
|
6236
|
+
"id": {
|
|
6237
|
+
"type": "string",
|
|
6238
|
+
"optional": true
|
|
6239
|
+
},
|
|
6240
|
+
"lang": {
|
|
6241
|
+
"type": "string",
|
|
6242
|
+
"optional": true
|
|
6243
|
+
},
|
|
6244
|
+
"title": {
|
|
6245
|
+
"type": "string",
|
|
6246
|
+
"optional": true
|
|
6247
|
+
},
|
|
6248
|
+
"className": {
|
|
6249
|
+
"type": "string | object",
|
|
6250
|
+
"optional": true,
|
|
6251
|
+
"description": "CSS class applied to the element, or a function that returns a class based on the component's state."
|
|
6252
|
+
},
|
|
6253
|
+
"render": {
|
|
6254
|
+
"type": "ReactNode",
|
|
6255
|
+
"optional": true,
|
|
6256
|
+
"description": "Allows you to replace the component's HTML element with a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
|
|
6257
|
+
},
|
|
6258
|
+
"children": {
|
|
6259
|
+
"type": "ReactNode",
|
|
6260
|
+
"optional": true,
|
|
6261
|
+
"description": "Toolbar controls rendered as one grouped card."
|
|
6262
|
+
},
|
|
6263
|
+
"size": {
|
|
6264
|
+
"type": "enum",
|
|
6265
|
+
"optional": true,
|
|
6266
|
+
"description": "Locks every toolbar item to this size.",
|
|
6267
|
+
"values": [
|
|
6268
|
+
"xs",
|
|
6269
|
+
"sm",
|
|
6270
|
+
"base",
|
|
6271
|
+
"lg"
|
|
6272
|
+
],
|
|
6273
|
+
"descriptions": {
|
|
6274
|
+
"xs": "Extra small toolbar for compact UIs",
|
|
6275
|
+
"sm": "Small toolbar for secondary controls",
|
|
6276
|
+
"base": "Default toolbar size",
|
|
6277
|
+
"lg": "Large toolbar for prominent controls"
|
|
6278
|
+
},
|
|
6279
|
+
"classes": {
|
|
6280
|
+
"xs": "text-xs",
|
|
6281
|
+
"sm": "text-xs",
|
|
6282
|
+
"base": "text-base",
|
|
6283
|
+
"lg": "text-base"
|
|
6284
|
+
},
|
|
6285
|
+
"default": "base"
|
|
6286
|
+
}
|
|
6287
|
+
},
|
|
6288
|
+
"examples": [
|
|
6289
|
+
"<Toolbar className=\"w-full max-w-md\">\n <Toolbar.InputGroup aria-label=\"Search DNS records\" className=\"flex-1\">\n <InputGroup.Addon>\n <MagnifyingGlassIcon />\n </InputGroup.Addon>\n <InputGroup.Input placeholder=\"Search DNS records\" />\n </Toolbar.InputGroup>\n <Toolbar.Button icon={FunnelSimpleIcon} aria-label=\"Filter\" />\n <Toolbar.Button icon={GearSixIcon} aria-label=\"Settings\" />\n </Toolbar>",
|
|
6290
|
+
"<div className=\"grid gap-3\">\n {([\"xs\", \"sm\", \"base\", \"lg\"] as const).map((size) => (\n <div key={size} className=\"flex items-center gap-3\">\n <span className=\"w-10 text-sm text-kumo-subtle\">{size}</span>\n <Toolbar size={size} className=\"w-fit\">\n <Toolbar.Input aria-label={`${size} search`} placeholder=\"Search...\" />\n <Toolbar.Button>Apply</Toolbar.Button>\n </Toolbar>\n </div>\n ))}\n </div>",
|
|
6291
|
+
"<Toolbar className=\"w-full max-w-md\">\n <Toolbar.Input\n aria-label=\"Search DNS records\"\n placeholder=\"Search DNS records\"\n className=\"flex-1\"\n />\n <Toolbar.Button icon={FunnelSimpleIcon} aria-label=\"Filter\" />\n <Toolbar.Button icon={GearSixIcon} aria-label=\"Settings\" />\n </Toolbar>",
|
|
6292
|
+
"<Toolbar className=\"w-full max-w-lg\">\n <Toolbar.InputGroup aria-label=\"Worker subdomain\" className=\"flex-1\">\n <InputGroup.Input placeholder=\"my-worker\" />\n <InputGroup.Suffix>.workers.dev</InputGroup.Suffix>\n </Toolbar.InputGroup>\n <Toolbar.Button>Visit</Toolbar.Button>\n </Toolbar>",
|
|
6293
|
+
"<Toolbar>\n <Toolbar.Button icon={UploadSimpleIcon}>Upload</Toolbar.Button>\n <Toolbar.Button icon={DownloadSimpleIcon}>Download</Toolbar.Button>\n </Toolbar>",
|
|
6294
|
+
"<Toolbar className=\"w-full max-w-lg\">\n <Toolbar.Input aria-label=\"Search records\" className=\"flex-1\" placeholder=\"Search\" />\n <Toolbar.Button icon={MagnifyingGlassIcon} aria-label=\"Search\" />\n </Toolbar>"
|
|
6295
|
+
],
|
|
6296
|
+
"colors": [
|
|
6297
|
+
"bg-kumo-control",
|
|
6298
|
+
"border-kumo-line",
|
|
6299
|
+
"ring-kumo-brand",
|
|
6300
|
+
"ring-kumo-focus",
|
|
6301
|
+
"ring-kumo-line"
|
|
6302
|
+
],
|
|
6303
|
+
"subComponents": {
|
|
6304
|
+
"Button": {
|
|
6305
|
+
"name": "Button",
|
|
6306
|
+
"description": "Button sub-component",
|
|
6307
|
+
"props": {}
|
|
6308
|
+
},
|
|
6309
|
+
"Input": {
|
|
6310
|
+
"name": "Input",
|
|
6311
|
+
"description": "Input sub-component",
|
|
6312
|
+
"props": {}
|
|
6313
|
+
},
|
|
6314
|
+
"InputGroup": {
|
|
6315
|
+
"name": "InputGroup",
|
|
6316
|
+
"description": "InputGroup sub-component",
|
|
6317
|
+
"props": {}
|
|
6318
|
+
}
|
|
6319
|
+
}
|
|
6320
|
+
},
|
|
6272
6321
|
"Tooltip": {
|
|
6273
6322
|
"name": "Tooltip",
|
|
6274
6323
|
"type": "component",
|
|
@@ -6550,7 +6599,7 @@
|
|
|
6550
6599
|
"ResourceListPage": {
|
|
6551
6600
|
"name": "ResourceListPage",
|
|
6552
6601
|
"type": "block",
|
|
6553
|
-
"description": "ResourceListPage - A layout component for resource list pages
|
|
6602
|
+
"description": "ResourceListPage - A layout component for resource list pages",
|
|
6554
6603
|
"importPath": "@cloudflare/kumo",
|
|
6555
6604
|
"category": "Layout",
|
|
6556
6605
|
"props": {
|
|
@@ -6611,6 +6660,7 @@
|
|
|
6611
6660
|
"Sidebar",
|
|
6612
6661
|
"Table",
|
|
6613
6662
|
"TableOfContents",
|
|
6663
|
+
"Toolbar",
|
|
6614
6664
|
"DeleteResource"
|
|
6615
6665
|
],
|
|
6616
6666
|
"Display": [
|
|
@@ -6706,6 +6756,7 @@
|
|
|
6706
6756
|
"Tabs",
|
|
6707
6757
|
"Text",
|
|
6708
6758
|
"Toasty",
|
|
6759
|
+
"Toolbar",
|
|
6709
6760
|
"Tooltip"
|
|
6710
6761
|
],
|
|
6711
6762
|
"byType": {
|
|
@@ -6750,6 +6801,7 @@
|
|
|
6750
6801
|
"Tabs",
|
|
6751
6802
|
"Text",
|
|
6752
6803
|
"Toasty",
|
|
6804
|
+
"Toolbar",
|
|
6753
6805
|
"Tooltip"
|
|
6754
6806
|
],
|
|
6755
6807
|
"block": [
|