@cloudflare/kumo 2.10.0 → 2.12.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 +58 -0
- package/ai/component-registry.json +64 -282
- package/ai/component-registry.md +78 -115
- package/ai/schemas.ts +6 -5
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +12 -4
- package/dist/ai/schemas.js +9 -1
- package/dist/chunks/{AlertDialogTrigger-fn9yjykev9h5l12q.js → AlertDialogTrigger-k3f8nevrda6awa4s.js} +2 -2
- package/dist/chunks/{AutocompleteItem-clgm7u7zzgjy1hvb.js → AutocompleteItem-ksckpihly1c23f3j.js} +3 -3
- package/dist/chunks/{CheckboxGroup-h9w1c6bo2nlcc4uj.js → CheckboxGroup-g5xn5gnq8ocqyoum.js} +2 -2
- package/dist/chunks/{CheckboxIndicator-gz18hapnzraxyz9a.js → CheckboxIndicator-igofmpn0wcfdqooa.js} +1 -1
- package/dist/chunks/{ComboboxChipRemove-opf1zyu9yyp98dqd.js → ComboboxChipRemove-ksyozjezihhstmbu.js} +6 -6
- package/dist/chunks/{ComboboxClear-fi4op1n12c99ktca.js → ComboboxClear-glm805v81uaaf3su.js} +2 -2
- package/dist/chunks/{ComboboxEmpty-dr78bn7zilhqbkgc.js → ComboboxEmpty-hwv2kjxnf9un635e.js} +9 -9
- package/dist/chunks/{ComboboxPopup-bugeajuqjattk1n7.js → ComboboxPopup-fx7xex6g75t9u0gm.js} +6 -6
- package/dist/chunks/{CompositeRoot-jm9n0rrea12rfny1.js → CompositeRoot-l6ot8jo0umdics5m.js} +2 -2
- package/dist/chunks/{DialogHandle-o964gplvp59qqv23.js → DialogHandle-b3froel96o9fwjmm.js} +2 -2
- package/dist/chunks/{DialogPopup-cz73mkiyi9c33mhn.js → DialogPopup-mp89aob2nown2akq.js} +5 -5
- package/dist/chunks/{DialogRoot-kfhbouiouenljp3q.js → DialogRoot-fp7d16uxogvye294.js} +1 -1
- package/dist/chunks/{DialogTrigger-gzxvssie7e5e1iba.js → DialogTrigger-cmok07cf3ks0kzug.js} +4 -4
- package/dist/chunks/{FloatingPortalLite-ld4o97z16w23x6za.js → FloatingPortalLite-mlt7ztrvhzepwi5y.js} +2 -2
- package/dist/chunks/{MenuBackdrop-m0tfcr6sg50f9sn5.js → MenuBackdrop-dlntmavtopj7wv0l.js} +2 -2
- package/dist/chunks/{MenuSubmenuTrigger-n281iqpstcnacsk6.js → MenuSubmenuTrigger-fzubf5xr7ohsgsi7.js} +12 -12
- package/dist/chunks/{MenuTrigger-dwh2ewyxp5j3ml02.js → MenuTrigger-ntugq34yppc8ouwe.js} +7 -7
- package/dist/chunks/{Menubar-m8euwx8biy1qpo44.js → Menubar-d57cyjuztbge4dvv.js} +3 -3
- package/dist/chunks/{PopoverClose-inm8xliypc51murq.js → PopoverClose-e91n3nkw16qnyese.js} +10 -10
- package/dist/chunks/{RadioGroup-h25jrjmet0gxrvex.js → RadioGroup-lsix4haqxfigpuv8.js} +2 -2
- package/dist/chunks/{SelectGroupLabel-mug19qcz2k67qule.js → SelectGroupLabel-m4h5hrft9043nsd1.js} +11 -11
- package/dist/chunks/{TabsList-obzldrvfzo50uqr4.js → TabsList-c0inft3sf8gi2o4v.js} +3 -3
- package/dist/chunks/{ToggleGroup-l8tfcwe33tlqqm8a.js → ToggleGroup-xz9zrh7t1htn6ht4.js} +2 -2
- package/dist/chunks/{ToolbarInput-oy7o682hhn2jdjen.js → ToolbarInput-gxep3ixoe8r6v2to.js} +2 -2
- package/dist/chunks/{TooltipPopup-ehusafczcky9jvae.js → TooltipPopup-l2zrbjavf1cqclfx.js} +9 -9
- package/dist/chunks/{TooltipProvider-iq6hgymrn3b68h50.js → TooltipProvider-eyhgia63aq2x4frl.js} +3 -3
- package/dist/chunks/{autocomplete-m8n1c775n0iilomf.js → autocomplete-msex8kc8sw3fp373.js} +6 -6
- package/dist/chunks/{badge-e16yhhe9xibra5k7.js → badge-xw5ydgdjx2o5qxbl.js} +22 -9
- package/dist/chunks/{banner-cu2mip76zfx0gf27.js → banner-nz02b60ech1e2m6f.js} +3 -3
- package/dist/chunks/{breadcrumbs-hxibrxjtvudy0ir9.js → breadcrumbs-jvlyp3bw0u8qx4fi.js} +4 -4
- package/dist/chunks/{button-eikucjpgqbsn5m5m.js → button-iqaz1uluabeo18f0.js} +7 -7
- package/dist/chunks/{chart-bxxlck50zlsbj3kl.js → chart-qmls2klknm1pd6hs.js} +8 -8
- package/dist/chunks/{checkbox-fovnhs7f1sekaxrh.js → checkbox-crxoyqsxiupt9kmi.js} +7 -7
- package/dist/chunks/{clipboard-text-fuyj4apm2xry4hkk.js → clipboard-text-osbgah3jz16ma2vv.js} +8 -8
- package/dist/chunks/{collapsible-gjmdaxlo8t3vi14b.js → collapsible-jyajpe40jcca357s.js} +3 -3
- package/dist/chunks/{combobox-l4pucshucau0qvrl.js → combobox-nosdsxdxe2abnqzr.js} +9 -9
- package/dist/chunks/{command-palette-jjrbvylvvbj0qusg.js → command-palette-iomiziccabzh4ogg.js} +9 -9
- package/dist/chunks/{createToastManager-kjd838m8jog8pddj.js → createToastManager-kv89sv0xhhsvmq54.js} +4 -4
- package/dist/chunks/{dialog-b4r3dv8uvgl2pqem.js → dialog-nas75qs6d8gj5dxm.js} +8 -8
- package/dist/chunks/{dropdown-k0y5j6iuad7tvqgx.js → dropdown-d5qrzj1w1a96w2we.js} +6 -6
- package/dist/chunks/{empty-hmu7x39lnp0z2qm6.js → empty-kfofsb6khrn1s26v.js} +2 -2
- package/dist/chunks/{field-dxe9ne8fqy5whws2.js → field-i7lxgmtio7nutt7c.js} +3 -3
- package/dist/chunks/{flow-fbsv3yek3w7v5a6p.js → flow-fmfb3ri8cxo7w9ci.js} +3 -3
- package/dist/chunks/{getEmptyRootContext-2utawetz04dqkzyn.js → getEmptyRootContext-ekvv3rp5w16ewoqx.js} +1 -1
- package/dist/chunks/{index.parts-pb65142mbin4hpc7.js → index.parts-bmzuqorz0tmneh7t.js} +2 -2
- package/dist/chunks/{index.parts-nq06i1gji6fjnmln.js → index.parts-bv57na43ve93uz3x.js} +4 -4
- package/dist/chunks/{index.parts-buqjmx1pfsd225r7.js → index.parts-cpviii2nt413tb8k.js} +1 -1
- package/dist/chunks/{index.parts-lojnx790s6z0mi1f.js → index.parts-ef9111sjk9e3al87.js} +2 -2
- package/dist/chunks/{index.parts-c4kz48uuogge3k9g.js → index.parts-fl4zaorc97ed3keb.js} +9 -9
- package/dist/chunks/{index.parts-bzlq2foymrigspiz.js → index.parts-gj1k50tf9fcs7nru.js} +3 -3
- package/dist/chunks/{index.parts-gcwd6ds0od2n1i0p.js → index.parts-gslyp9n88qdh38n1.js} +1 -1
- package/dist/chunks/{index.parts-cou5w8shwfwuk6wo.js → index.parts-hve0zir3biaolih0.js} +4 -4
- package/dist/chunks/{index.parts-g27bw668q8dtcjz8.js → index.parts-hxjt52jbictdzgad.js} +2 -2
- package/dist/chunks/{index.parts-giu46tgp0ypgfq6a.js → index.parts-i4lbjqdnhsnjtny6.js} +6 -6
- package/dist/chunks/{index.parts-ghwrm31fyo614381.js → index.parts-i5twygaksh86erb7.js} +5 -5
- package/dist/chunks/{index.parts-omt7bu8mbte48ulb.js → index.parts-ieuelcd4z5e0mcb7.js} +6 -6
- package/dist/chunks/{index.parts-hi0bbzsnswj74v28.js → index.parts-j2ecf25zajyd5ia3.js} +1 -1
- package/dist/chunks/{index.parts-kwx43zlomuu96clc.js → index.parts-jmb5ztstw4xlfyp9.js} +5 -5
- package/dist/chunks/{index.parts-jmkwypigix07dit1.js → index.parts-jv5kiaeixrjah9js.js} +3 -3
- package/dist/chunks/{index.parts-kwqb2nzc7u2zzxqs.js → index.parts-k7ezm98skegahepw.js} +8 -8
- package/dist/chunks/{index.parts-j775zfdbhcd9ypeb.js → index.parts-komdbdvf823cm5jw.js} +1 -1
- package/dist/chunks/{index.parts-ngc39crwuz80oiij.js → index.parts-kt0w73ciea6adi2i.js} +1 -1
- package/dist/chunks/{index.parts-kdoulw17e9zk96yw.js → index.parts-lhpuh6pw7rjcddnl.js} +3 -3
- package/dist/chunks/{index.parts-ixizrcasario34jo.js → index.parts-lz9cnngidxppvhz7.js} +2 -2
- package/dist/chunks/{index.parts-kh9waplhfwlszcyp.js → index.parts-mr7tgwe4pgfozkt5.js} +3 -3
- package/dist/chunks/{index.parts-etb66t5m85rhhipe.js → index.parts-nc6jzjq91z2nye75.js} +2 -2
- package/dist/chunks/{index.parts-n6t1aj932fytioz8.js → index.parts-nd3mitrhxf806lsa.js} +11 -11
- package/dist/chunks/{index.parts-f3xvfc67ai7txeru.js → index.parts-nzwjx603vcq1kryz.js} +1 -1
- package/dist/chunks/{index2.parts-k2au6nzued1wgy6t.js → index2.parts-epkfat8l4pvwpd1a.js} +2 -2
- package/dist/chunks/{index2.parts-noiw2eweufmplfsp.js → index2.parts-mv7x6w0p2splvf6b.js} +1 -1
- package/dist/chunks/{input-group-otq3m9lach1jyxl0.js → input-group-ksh61axy2qgkxl5y.js} +6 -6
- package/dist/chunks/{input-o3mtvvtqf69j5k10.js → input-jthoux2vfxltqtdh.js} +3 -3
- package/dist/chunks/{input-dwl9oy1f1ufah0bx.js → input-oc9u4galsdrwy00s.js} +3 -3
- package/dist/chunks/{label-opyibemromjwmd0s.js → label-ow6ait7o31g1umgy.js} +2 -2
- package/dist/chunks/{layer-card-nah241sxhj6i7i03.js → layer-card-dnikj7emx8qeaspz.js} +2 -2
- package/dist/chunks/{link-1b3jda6cdzl4lkeo.js → link-gp4swsrd3vfnvori.js} +2 -2
- package/dist/chunks/{menubar-m0h31eymts6exeke.js → menubar-fu5u76o529yi19kp.js} +4 -2
- package/dist/chunks/{meter-iauic8ww87xxqf74.js → meter-fl03ece4glrrzizj.js} +1 -1
- package/dist/chunks/{pagination-bya4kmtn4rqbexjb.js → pagination-hu8y5b8zpef2z4lp.js} +5 -5
- package/dist/chunks/{popover-l0xg7b854w7txyoz.js → popover-jal8z9sv176703lf.js} +5 -5
- package/dist/chunks/{popupStateMapping-jpzw7eyzl8ghiv8s.js → popupStateMapping-hdv48wmkzb2mqful.js} +5 -5
- package/dist/chunks/{popupStoreUtils-fpjh6veok5pa2hd1.js → popupStoreUtils-jrxqkz5jmlijlr91.js} +2 -2
- package/dist/chunks/{radio-igpo6t2t2tpe08d5.js → radio-gvy6ekh5hu9awlru.js} +4 -4
- package/dist/chunks/{safePolygon-flrfpyc6fpidq4fb.js → safePolygon-szbj0u31i6mpt36d.js} +2 -2
- package/dist/chunks/{select-cqgxro9via28v4u8.js → select-jdz3yg2pvcjlkroy.js} +8 -8
- package/dist/chunks/{sensitive-input-karaei12un7z7nep.js → sensitive-input-lba9qvv3ai4xwgux.js} +5 -5
- package/dist/chunks/{sidebar-c5otog7ms7rb19cr.js → sidebar-enm5suo7wq163iw5.js} +118 -66
- package/dist/chunks/{store-i9l3lkcl6auhkpfl.js → store-9b2cp7rx1dvq90fp.js} +2 -2
- package/dist/chunks/{surface-jwwh5xl06kv9tp7b.js → surface-ef2kr5pn7r1y3ipk.js} +2 -2
- package/dist/chunks/{switch-cusffup6w3tan5ot.js → switch-bstb0wl1bi8hjt4z.js} +4 -4
- package/dist/chunks/{table-ds3nzcffm3pu9o0l.js → table-ebfyk2rmebrn82k0.js} +7 -7
- package/dist/chunks/{tabs-n7bpptah74dbh8kw.js → tabs-mr2dsloqfe0io4a5.js} +3 -3
- package/dist/chunks/{text-e1ko7r96hsoz2tor.js → text-fsaeol90bjy3pnik.js} +30 -13
- package/dist/chunks/{toast-itl6qo5oy1vy6d36.js → toast-byzrdv104awqbkjh.js} +7 -7
- package/dist/chunks/{toolbar-o25cb9lcznranewe.js → toolbar-djjwqq141iealxa6.js} +6 -5
- package/dist/chunks/{tooltip-maelyxs1y7a78vje.js → tooltip-k9f7io0k22k5jorq.js} +6 -6
- package/dist/chunks/{useAnchoredPopupScrollLock-bx8vvwcdp25ix0kj.js → useAnchoredPopupScrollLock-lbrqp1zm5z821z20.js} +1 -1
- package/dist/chunks/{useDismiss-l2gbj4cain4zqtne.js → useDismiss-kbtx2o3ruyh3jwgn.js} +2 -2
- package/dist/chunks/{useFilteredItems-ckor5h4rcmztfgt1.js → useFilteredItems-ns32d3hpp626kt73.js} +4 -4
- package/dist/chunks/{useFloatingRootContext-jo582qzez5k9gbgk.js → useFloatingRootContext-o6mk8fvodtbbm2v1.js} +2 -2
- package/dist/chunks/{useFocus-e8drzpkl9flxq1o1.js → useFocus-gdfx28bn90keg8cf.js} +1 -1
- package/dist/chunks/{useListNavigation-iyo9r9vug2g1clmc.js → useListNavigation-jnxpvegv3ak857b1.js} +2 -2
- package/dist/chunks/{usePositioner-h1n5q86am1sjo5hn.js → usePositioner-fz9uswhkhg22lo42.js} +3 -3
- package/dist/chunks/{useRenderDialogRoot-ecyv072j7yj8q0w3.js → useRenderDialogRoot-hhowqeoreyr6uuc7.js} +6 -6
- package/dist/chunks/{useScrollLock-lj0spjth12xjeap0.js → useScrollLock-mpns3u42eks8hhex.js} +4 -4
- package/dist/code.js +2 -2
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/banner.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/collapsible.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/command-palette.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.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 +1 -1
- package/dist/components/grid.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/loader.js +1 -1
- package/dist/components/menubar.d.ts +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.d.ts +2 -2
- 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 +1 -1
- package/dist/components/table.d.ts +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/text.d.ts +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/toast.js +2 -2
- package/dist/components/toolbar.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/{index-DCA5tjHa.d.ts → index-B7epkoHc.d.ts} +4 -0
- package/dist/{index-Bgl_czT12.d.ts → index-BHclAeEt2.d.ts} +2 -2
- package/dist/{index-BkyMHk632.d.ts → index-Bl6QyQDi2.d.ts} +26 -12
- package/dist/{index-DpzpArsi2.d.ts → index-CMiftS8L2.d.ts} +45 -3
- package/dist/{index-DnbdiagK.d.ts → index-CdSf6Vfc.d.ts} +32 -14
- package/dist/index.d.ts +6 -6
- package/dist/index.js +48 -48
- 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/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/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 +38 -38
- package/dist/scripts/theme-generator/config.js +6 -4
- package/dist/styles/kumo-standalone.css +1 -1
- package/dist/styles/theme-kumo.css +7 -10
- package/dist/utils.js +2 -2
- package/package.json +1 -1
- package/scripts/theme-generator/config.ts +8 -4
- package/dist/chunks/{CSPProvider-ogozggb4nr6evned.js → CSPProvider-f3it239kgztzgryk.js} +1 -1
- package/dist/chunks/{CheckboxRoot-g6fb44xqgc0qxusf.js → CheckboxRoot-o5bfpje6e4p6pdgm.js} +1 -1
- package/dist/chunks/{CollapsiblePanel-mnjlf99v79k3yabx.js → CollapsiblePanel-e80n35tnsb2cskt9.js} +1 -1
- package/dist/chunks/{CompositeList-bek8pmx9o8cu36ig.js → CompositeList-tx08unuok7wsl2d9.js} +1 -1
- package/dist/chunks/{DirectionProvider-gdktkteyrlpnokak.js → DirectionProvider-ihtfgxd5qpm6oth1.js} +1 -1
- package/dist/chunks/{FieldDescription-go88jdymmj9o0ugi.js → FieldDescription-ju607ea6gwgzga8p.js} +1 -1
- package/dist/chunks/{FieldLabel-junk2aczkvogpv5d.js → FieldLabel-f6vwzm8nefzxwlh8.js} +1 -1
- package/dist/chunks/{FieldsetLegend-ch85hugankjah152.js → FieldsetLegend-j5piwq1giyhrr8s4.js} +1 -1
- package/dist/chunks/{FloatingTree-jdm71b3m43e34hk7.js → FloatingTree-oosjswl1s9q4obvg.js} +1 -1
- package/dist/chunks/{Form-f1ibju5npd1qqowg.js → Form-is7d5c1kbk1wn39s.js} +1 -1
- package/dist/chunks/{Input-opaph7rt3w2vx3c0.js → Input-ovqfhsmpfcrg5czm.js} +1 -1
- package/dist/chunks/{MeterLabel-efe4koezlgg05cv8.js → MeterLabel-c40b0q8r81cftkjj.js} +1 -1
- package/dist/chunks/{RadioIndicator-lvpixnzpkxpq7rp1.js → RadioIndicator-mwkahpwyqfc6yk1i.js} +1 -1
- package/dist/chunks/{ScrollAreaThumb-jydo7azxxwjn1cqf.js → ScrollAreaThumb-kmhan411yxfo0362.js} +1 -1
- package/dist/chunks/{SwitchRoot-gumgk7356eqv7dve.js → SwitchRoot-e3hnyh3mf8qd30hj.js} +1 -1
- package/dist/chunks/{Toggle-hlf7recxsq6mxvax.js → Toggle-c8p9m3puz8l4mav7.js} +1 -1
- package/dist/chunks/{cloudflare-logo-g0aimzpllornl0rc.js → cloudflare-logo-boafurcbm5ttoo4o.js} +1 -1
- package/dist/chunks/{date-picker-njfirc1m165k6yax.js → date-picker-fwe3vllwco4u1utz.js} +1 -1
- package/dist/chunks/{date-range-picker-g6sje1ua7n7jerkq.js → date-range-picker-iymdx410i1hpvxai.js} +1 -1
- package/dist/chunks/{grid-d43q1qme6ffbbcl1.js → grid-fjlo3wlpkwgw56y9.js} +1 -1
- package/dist/chunks/{index.parts-9xtishx4m3j6sbg9.js → index.parts-7z8hqx6zl9yajzvs.js} +1 -1
- package/dist/chunks/{index.parts-bsarfaby0ttw67bb.js → index.parts-c5yto0l67i7ok5fd.js} +1 -1
- package/dist/chunks/{index.parts-g0wrrbkxyh0oo730.js → index.parts-i4iu310eo65d7lfc.js} +1 -1
- package/dist/chunks/{link-provider-l9ohtet4pj559eg0.js → link-provider-kbwllpbo24fvgioj.js} +1 -1
- package/dist/chunks/{portal-provider-langu3fqwfr9tlhm.js → portal-provider-gznk6snyqj6egd6d.js} +1 -1
- package/dist/chunks/{resolveValueLabel-i36fqhi09ki67hx5.js → resolveValueLabel-bq3nrzord518kp9q.js} +1 -1
- package/dist/chunks/{skeleton-line-f6sju1dxawm8h9tg.js → skeleton-line-hlk5vauzo7xsalbo.js} +1 -1
- package/dist/chunks/{table-of-contents-l66abisn473qzd07.js → table-of-contents-cvduqgssxdcbpagh.js} +1 -1
- package/dist/chunks/{usePopupViewport-at3zpph46apa78a3.js → usePopupViewport-hu0kn0ziyf1vqzrs.js} +1 -1
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
"variant": {
|
|
177
177
|
"type": "enum",
|
|
178
178
|
"optional": true,
|
|
179
|
-
"description": "Color variant of the badge. Recommended semantic variants:\n- `\"primary\"` — Primary badge\n- `\"secondary\"` — Secondary badge\n- `\"error\"` — Error badge\n- `\"warning\"` — Warning badge\n- `\"success\"` — Success badge\n- `\"info\"` — Info badge\n\nAdditional token variants:\n- `\"red\"`, `\"orange\"`, `\"green\"`, `\"teal\"`, `\"blue\"`, `\"purple\"`, `\"neutral\"`\n- `\"teal-subtle\"`, `\"neutral-subtle\"`\n- `\"inverted\"`\n- `\"outline\"` — Bordered badge with
|
|
179
|
+
"description": "Color variant of the badge. Recommended semantic variants:\n- `\"primary\"` — Primary badge\n- `\"secondary\"` — Secondary badge\n- `\"error\"` — Error badge\n- `\"warning\"` — Warning badge\n- `\"success\"` — Success badge\n- `\"info\"` — Info badge\n\nAdditional token variants:\n- `\"red\"`, `\"orange\"`, `\"green\"`, `\"teal\"`, `\"blue\"`, `\"purple\"`, `\"neutral\"`\n- `\"teal-subtle\"`, `\"neutral-subtle\"`\n- `\"inverted\"`\n- `\"outline\"` — Bordered badge with the base background\n- `\"beta\"` — Dashed-border badge for beta/experimental features",
|
|
180
180
|
"values": [
|
|
181
181
|
"primary",
|
|
182
182
|
"secondary",
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
"destructive": "Deprecated. Use red instead.",
|
|
206
206
|
"info": "Info badge",
|
|
207
207
|
"beta": "Indicates beta or experimental features",
|
|
208
|
-
"outline": "Bordered badge with
|
|
208
|
+
"outline": "Bordered badge with base background",
|
|
209
209
|
"red": "Red badge",
|
|
210
210
|
"green": "Green badge",
|
|
211
211
|
"neutral": "Neutral badge",
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
"destructive": "bg-kumo-badge-red text-white",
|
|
225
225
|
"info": "bg-kumo-info-tint text-kumo-info",
|
|
226
226
|
"beta": "border border-dashed border-kumo-brand bg-transparent text-kumo-link",
|
|
227
|
-
"outline": "border border-kumo-fill bg-
|
|
227
|
+
"outline": "border border-kumo-fill bg-kumo-base text-kumo-default",
|
|
228
228
|
"red": "bg-kumo-badge-red text-white",
|
|
229
229
|
"green": "bg-kumo-badge-green text-white",
|
|
230
230
|
"neutral": "bg-kumo-badge-neutral text-white",
|
|
@@ -236,10 +236,20 @@
|
|
|
236
236
|
},
|
|
237
237
|
"default": "primary"
|
|
238
238
|
},
|
|
239
|
+
"className": {
|
|
240
|
+
"type": "string",
|
|
241
|
+
"optional": true,
|
|
242
|
+
"description": "Additional CSS classes merged via `cn()`."
|
|
243
|
+
},
|
|
244
|
+
"children": {
|
|
245
|
+
"type": "ReactNode",
|
|
246
|
+
"optional": true,
|
|
247
|
+
"description": "Content rendered inside the badge."
|
|
248
|
+
},
|
|
239
249
|
"appearance": {
|
|
240
250
|
"type": "enum",
|
|
241
251
|
"optional": true,
|
|
242
|
-
"description": "Visual appearance of the badge.\n- `\"filled\"` — Filled background using the variant color (default)\n- `\"dot\"` — Outlined badge with a colored circle dot. Only `success`, `warning`, `error`, and `neutral` variants show a dot
|
|
252
|
+
"description": "Visual appearance of the badge.\n- `\"filled\"` — Filled background using the variant color (default)\n- `\"dot\"` — Outlined badge with a colored circle dot. Only `success`, `warning`, `error`, and `neutral` variants show a dot. Dot badges do not accept icons.",
|
|
243
253
|
"values": [
|
|
244
254
|
"filled",
|
|
245
255
|
"dot"
|
|
@@ -253,21 +263,18 @@
|
|
|
253
263
|
},
|
|
254
264
|
"default": "filled"
|
|
255
265
|
},
|
|
256
|
-
"
|
|
257
|
-
"type": "string",
|
|
258
|
-
"optional": true,
|
|
259
|
-
"description": "Additional CSS classes merged via `cn()`."
|
|
260
|
-
},
|
|
261
|
-
"children": {
|
|
266
|
+
"icon": {
|
|
262
267
|
"type": "ReactNode",
|
|
263
268
|
"optional": true,
|
|
264
|
-
"description": "
|
|
269
|
+
"description": "Icon from `@phosphor-icons/react` or a React element. Rendered before children."
|
|
265
270
|
}
|
|
266
271
|
},
|
|
267
272
|
"examples": [
|
|
268
273
|
"<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
274
|
"<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
275
|
"<p className=\"flex items-center gap-2\">\n Workers\n <Badge variant=\"secondary\">New</Badge>\n </p>",
|
|
276
|
+
"<Badge icon={CheckCircleIcon} variant=\"success\">\n Verified\n </Badge>",
|
|
277
|
+
"<Link href=\"/changelog\" variant=\"plain\">\n <Badge variant=\"outline\">View changelog</Badge>\n </Link>",
|
|
271
278
|
"<div className=\"flex flex-wrap items-center gap-2\">\n <Badge variant=\"success\" appearance=\"dot\">\n Healthy\n </Badge>\n <Badge variant=\"warning\" appearance=\"dot\">\n Warning\n </Badge>\n <Badge variant=\"error\" appearance=\"dot\">\n Error\n </Badge>\n <Badge variant=\"neutral\" appearance=\"dot\">\n Neutral\n </Badge>\n </div>"
|
|
272
279
|
],
|
|
273
280
|
"colors": [
|
|
@@ -280,6 +287,7 @@
|
|
|
280
287
|
"bg-kumo-badge-red",
|
|
281
288
|
"bg-kumo-badge-teal",
|
|
282
289
|
"bg-kumo-badge-teal-subtle",
|
|
290
|
+
"bg-kumo-base",
|
|
283
291
|
"bg-kumo-danger-tint",
|
|
284
292
|
"bg-kumo-fill",
|
|
285
293
|
"bg-kumo-info-tint",
|
|
@@ -299,7 +307,7 @@
|
|
|
299
307
|
"text-kumo-success",
|
|
300
308
|
"text-kumo-warning"
|
|
301
309
|
],
|
|
302
|
-
"baseStyles": "inline-flex w-fit flex-none shrink-0 items-center justify-self-start rounded-full px-2 py-0.5 text-xs font-medium whitespace-nowrap"
|
|
310
|
+
"baseStyles": "inline-flex w-fit flex-none shrink-0 items-center justify-self-start gap-1 rounded-full px-2 py-0.5 text-xs font-medium whitespace-nowrap [a:hover_&]:ring [a:hover_&]:ring-current"
|
|
303
311
|
},
|
|
304
312
|
"Banner": {
|
|
305
313
|
"name": "Banner",
|
|
@@ -1324,7 +1332,7 @@
|
|
|
1324
1332
|
"colors": [
|
|
1325
1333
|
"bg-kumo-base",
|
|
1326
1334
|
"border-kumo-line",
|
|
1327
|
-
"outline-kumo-
|
|
1335
|
+
"outline-kumo-line",
|
|
1328
1336
|
"ring-kumo-brand",
|
|
1329
1337
|
"ring-kumo-focus",
|
|
1330
1338
|
"text-kumo-default"
|
|
@@ -2652,7 +2660,7 @@
|
|
|
2652
2660
|
],
|
|
2653
2661
|
"colors": [
|
|
2654
2662
|
"border-kumo-fill",
|
|
2655
|
-
"text-kumo-
|
|
2663
|
+
"text-kumo-default"
|
|
2656
2664
|
],
|
|
2657
2665
|
"subComponents": {
|
|
2658
2666
|
"Root": {
|
|
@@ -4507,11 +4515,7 @@
|
|
|
4507
4515
|
"description": "When true, each option's `id` field is used for matching instead of its array index."
|
|
4508
4516
|
}
|
|
4509
4517
|
},
|
|
4510
|
-
"examples": [
|
|
4511
|
-
"<MenuBar\n isActive={active}\n optionIds\n options={[\n {\n icon: <TextBolderIcon />,\n id: \"bold\",\n tooltip: \"Bold\",\n onClick: () => setActive(active === \"bold\" ? undefined : \"bold\"),\n },\n {\n icon: <TextItalicIcon />,\n id: \"italic\",\n tooltip: \"Italic\",\n onClick: () => setActive(active === \"italic\" ? undefined : \"italic\"),\n },\n ]}\n />",
|
|
4512
|
-
"<MenuBar\n isActive={active}\n optionIds\n options={[\n {\n icon: <TextBolderIcon />,\n id: \"bold\",\n tooltip: \"Bold\",\n onClick: () => setActive(active === \"bold\" ? undefined : \"bold\"),\n },\n {\n icon: <TextItalicIcon />,\n id: \"italic\",\n tooltip: \"Italic\",\n onClick: () => setActive(active === \"italic\" ? undefined : \"italic\"),\n },\n ]}\n />",
|
|
4513
|
-
"<MenuBar\n isActive={active}\n optionIds\n options={[\n {\n icon: <TextBolderIcon />,\n id: \"bold\",\n tooltip: \"Bold\",\n onClick: () => setActive(active === \"bold\" ? undefined : \"bold\"),\n },\n {\n icon: <TextItalicIcon />,\n id: \"italic\",\n tooltip: \"Italic\",\n onClick: () => setActive(active === \"italic\" ? undefined : \"italic\"),\n },\n ]}\n />"
|
|
4514
|
-
],
|
|
4518
|
+
"examples": [],
|
|
4515
4519
|
"colors": [
|
|
4516
4520
|
"bg-kumo-base",
|
|
4517
4521
|
"bg-kumo-recessed",
|
|
@@ -4791,10 +4795,10 @@
|
|
|
4791
4795
|
],
|
|
4792
4796
|
"colors": [
|
|
4793
4797
|
"bg-kumo-base",
|
|
4798
|
+
"fill-kumo-arrow-edge",
|
|
4799
|
+
"fill-kumo-arrow-stroke",
|
|
4794
4800
|
"fill-kumo-base",
|
|
4795
|
-
"
|
|
4796
|
-
"fill-kumo-tip-stroke",
|
|
4797
|
-
"outline-kumo-fill",
|
|
4801
|
+
"outline-kumo-line",
|
|
4798
4802
|
"text-kumo-default",
|
|
4799
4803
|
"text-kumo-subtle"
|
|
4800
4804
|
],
|
|
@@ -5607,6 +5611,7 @@
|
|
|
5607
5611
|
"<div className=\"relative h-[420px] w-full overflow-hidden rounded-lg border border-kumo-line bg-kumo-base\">\n <Sidebar.Provider contained defaultOpen className=\"h-full min-h-0!\">\n <Sidebar>\n <Sidebar.Header>\n <BrandLogo />\n </Sidebar.Header>\n <Sidebar.Content>\n <Sidebar.Group>\n <Sidebar.GroupLabel>Overview</Sidebar.GroupLabel>\n <Sidebar.Menu>\n <Sidebar.MenuButton icon={HouseIcon} active>\n Home\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={ChartBarIcon}>\n Analytics\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={GlobeIcon}>\n Domains\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n\n <Sidebar.Group>\n <Sidebar.GroupLabel>Platform</Sidebar.GroupLabel>\n <Sidebar.Menu>\n <Sidebar.MenuButton icon={DatabaseIcon}>\n Storage\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={ShieldCheckIcon}>\n Security\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={LockIcon}>\n Zero Trust\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={GearIcon}>\n Settings\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n\n <Sidebar.Group>\n <Sidebar.GroupLabel>Build</Sidebar.GroupLabel>\n <Sidebar.Menu>\n <Sidebar.MenuItem>\n <Sidebar.Collapsible autoScrollOnOpen>\n <Sidebar.CollapsibleTrigger\n render={\n <Sidebar.MenuButton icon={CodeIcon}>\n Workers\n <Sidebar.MenuChevron />\n </Sidebar.MenuButton>\n }\n />\n <Sidebar.CollapsibleContent>\n <Sidebar.MenuSub>\n <Sidebar.MenuSubButton>Overview</Sidebar.MenuSubButton>\n <Sidebar.MenuSubButton>\n Deployments\n </Sidebar.MenuSubButton>\n <Sidebar.MenuSubButton>\n Observability\n </Sidebar.MenuSubButton>\n <Sidebar.MenuSubButton>Settings</Sidebar.MenuSubButton>\n </Sidebar.MenuSub>\n </Sidebar.CollapsibleContent>\n </Sidebar.Collapsible>\n </Sidebar.MenuItem>\n <Sidebar.MenuButton icon={CubeIcon}>\n Containers\n <Sidebar.MenuBadge>Beta</Sidebar.MenuBadge>\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n </Sidebar.Content>\n <Sidebar.Footer>\n <Sidebar.Trigger />\n </Sidebar.Footer>\n </Sidebar>\n <DemoMain>\n <p>Open Workers near the bottom of the list</p>\n </DemoMain>\n </Sidebar.Provider>\n </div>",
|
|
5608
5612
|
"<DemoContainer>\n <Sidebar.Provider contained defaultOpen className=\"h-full min-h-0!\">\n <Sidebar>\n <Sidebar.Header>\n <button\n type=\"button\"\n onClick={() =>\n setSurface((s) => (s === \"account\" ? \"zone\" : \"account\"))\n }\n className=\"flex w-full cursor-pointer items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium text-kumo-default transition-colors hover:bg-kumo-tint\"\n >\n <ArrowsLeftRightIcon className=\"size-4 shrink-0 text-kumo-brand\" />\n <span className=\"flex-1 text-left font-semibold text-kumo-strong\">\n {surface === \"account\" ? \"Account Nav\" : \"Zone Nav\"}\n </span>\n </button>\n </Sidebar.Header>\n\n <Sidebar.SlidingViews\n activeKey={surface}\n direction={surface === \"zone\" ? \"left\" : \"right\"}\n >\n <Sidebar.SlidingView value=\"account\">\n <Sidebar.Content>\n <Sidebar.Group>\n <Sidebar.GroupLabel>Account</Sidebar.GroupLabel>\n <Sidebar.Menu>\n <Sidebar.MenuButton icon={HouseIcon} active>\n Home\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={UserIcon}>\n Members\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={ChartBarIcon}>\n Analytics\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={GearIcon}>\n Settings\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n </Sidebar.Content>\n </Sidebar.SlidingView>\n\n <Sidebar.SlidingView value=\"zone\">\n <Sidebar.Content>\n <Sidebar.Group>\n <Sidebar.GroupLabel>Zone</Sidebar.GroupLabel>\n <Sidebar.Menu>\n <Sidebar.MenuButton icon={GlobeIcon} active>\n Overview\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={ShieldCheckIcon}>\n Security\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={LockIcon}>\n SSL/TLS\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={DatabaseIcon}>\n Caching\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n </Sidebar.Content>\n </Sidebar.SlidingView>\n </Sidebar.SlidingViews>\n </Sidebar>\n <DemoMain>\n <div className=\"flex flex-col items-center gap-2\">\n <p className=\"font-medium text-kumo-default\">\n Active: {surface === \"account\" ? \"Account\" : \"Zone\"} surface\n </p>\n <p>Click the header button to slide between views</p>\n </div>\n </DemoMain>\n </Sidebar.Provider>\n </DemoContainer>",
|
|
5609
5613
|
"<DemoContainer>\n <Sidebar.Provider\n contained\n defaultOpen\n peekable\n className=\"h-full min-h-0!\"\n >\n <Sidebar>\n <Sidebar.Header>\n <AccountSwitcher />\n </Sidebar.Header>\n <Sidebar.SlidingViews\n activeKey={surface}\n direction={surface === \"domain\" ? \"left\" : \"right\"}\n >\n <Sidebar.SlidingView value=\"account\">\n <Sidebar.Content>\n <Sidebar.Group>\n <Sidebar.Menu>\n <Sidebar.MenuButton\n icon={MagnifyingGlassIcon}\n tooltip=\"Search\"\n className=\"mb-3 ring ring-kumo-line transition-[margin] duration-(--sidebar-animation-duration) group-data-[state=collapsed]/sidebar:mb-0 group-data-[state=collapsed]/sidebar:ring-transparent\"\n >\n Quick search…\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n <Sidebar.Group>\n <Sidebar.Menu>\n <Sidebar.MenuButton icon={HouseIcon} active>\n Home\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={ChartBarIcon}>\n Analytics & Logs\n </Sidebar.MenuButton>\n <Sidebar.MenuButton\n icon={GlobeIcon}\n onClick={() => setSurface(\"domain\")}\n >\n Domains\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n\n <Sidebar.Group>\n <Sidebar.GroupLabel>Build</Sidebar.GroupLabel>\n <Sidebar.Menu>\n <Sidebar.MenuItem>\n <Sidebar.Collapsible defaultOpen>\n <Sidebar.CollapsibleTrigger\n render={\n <Sidebar.MenuButton icon={CodeIcon}>\n Compute\n <Sidebar.MenuChevron />\n </Sidebar.MenuButton>\n }\n />\n <Sidebar.CollapsibleContent>\n <Sidebar.MenuSub>\n <Sidebar.MenuSubItem>\n <Sidebar.Collapsible>\n <Sidebar.CollapsibleTrigger\n render={\n <Sidebar.MenuSubButton>\n Workers & Pages\n <Sidebar.MenuChevron />\n </Sidebar.MenuSubButton>\n }\n />\n <Sidebar.CollapsibleContent>\n <Sidebar.MenuSub>\n <Sidebar.MenuSubButton>\n Overview\n </Sidebar.MenuSubButton>\n <Sidebar.MenuSubButton>\n Workers\n </Sidebar.MenuSubButton>\n <Sidebar.MenuSubButton>\n Pages\n </Sidebar.MenuSubButton>\n </Sidebar.MenuSub>\n </Sidebar.CollapsibleContent>\n </Sidebar.Collapsible>\n </Sidebar.MenuSubItem>\n <Sidebar.MenuSubButton>\n Durable Objects\n </Sidebar.MenuSubButton>\n <Sidebar.MenuSubButton>\n Containers\n <Sidebar.MenuBadge>Beta</Sidebar.MenuBadge>\n </Sidebar.MenuSubButton>\n </Sidebar.MenuSub>\n </Sidebar.CollapsibleContent>\n </Sidebar.Collapsible>\n </Sidebar.MenuItem>\n <Sidebar.MenuButton icon={DatabaseIcon}>\n Storage\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n\n <Sidebar.Group>\n <Sidebar.GroupLabel>Protect & Connect</Sidebar.GroupLabel>\n <Sidebar.Menu>\n <Sidebar.MenuButton icon={ShieldCheckIcon}>\n Security\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={LockIcon}>\n Zero Trust\n <Sidebar.MenuBadge>Beta</Sidebar.MenuBadge>\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n </Sidebar.Content>\n </Sidebar.SlidingView>\n\n <Sidebar.SlidingView value=\"domain\">\n <Sidebar.Content>\n <Sidebar.Group>\n <Sidebar.Menu>\n <Sidebar.MenuButton\n icon={ArrowLeftIcon}\n onClick={() => setSurface(\"account\")}\n >\n Back\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n <Sidebar.Group>\n <Sidebar.GroupLabel>example.com</Sidebar.GroupLabel>\n <Sidebar.Menu>\n <Sidebar.MenuButton icon={GlobeIcon} active>\n Overview\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={ShieldCheckIcon}>\n Security\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={LockIcon}>\n SSL/TLS\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={ChartBarIcon}>\n Analytics\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={DatabaseIcon}>\n Caching\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n </Sidebar.Content>\n </Sidebar.SlidingView>\n </Sidebar.SlidingViews>\n\n <Sidebar.Footer>\n <Sidebar.Trigger />\n </Sidebar.Footer>\n </Sidebar>\n <DemoMain />\n </Sidebar.Provider>\n </DemoContainer>",
|
|
5614
|
+
"<DemoContainer>\n <Sidebar.Provider contained defaultOpen className=\"h-full min-h-0!\">\n <Sidebar>\n <Sidebar.Header>\n <BrandLogo />\n </Sidebar.Header>\n <Sidebar.Content>\n <Sidebar.Group>\n <Sidebar.Menu>\n {LONG_NAV_ITEMS.map((label, idx) => (\n <Sidebar.MenuButton\n key={label}\n icon={idx === 0 ? HouseIcon : GlobeIcon}\n active={idx === 0}\n itemId={ANCHOR_ID_BY_LABEL[label]}\n >\n {label}\n </Sidebar.MenuButton>\n ))}\n </Sidebar.Menu>\n </Sidebar.Group>\n </Sidebar.Content>\n <Sidebar.Footer>\n <Sidebar.Trigger />\n </Sidebar.Footer>\n </Sidebar>\n <DemoMain>\n <ScrollToItemControls />\n </DemoMain>\n </Sidebar.Provider>\n </DemoContainer>",
|
|
5610
5615
|
"<div className=\"relative h-[540px] w-full overflow-hidden rounded-lg border border-kumo-line bg-kumo-base\">\n <Sidebar.Provider contained mobileBreakpoint={9999} className=\"h-full\">\n <Sidebar>\n <Sidebar.Header>\n <BrandLogo />\n </Sidebar.Header>\n <Sidebar.Content>\n <Sidebar.Group>\n <Sidebar.GroupLabel>Overview</Sidebar.GroupLabel>\n <Sidebar.Menu>\n <Sidebar.MenuButton icon={HouseIcon} active>\n Home\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={ChartBarIcon}>\n Analytics\n </Sidebar.MenuButton>\n <Sidebar.MenuButton icon={GlobeIcon}>\n Domains\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n\n <Sidebar.Group>\n <Sidebar.GroupLabel>Build</Sidebar.GroupLabel>\n <Sidebar.Menu>\n <Sidebar.MenuButton icon={CodeIcon}>Compute</Sidebar.MenuButton>\n <Sidebar.MenuButton icon={DatabaseIcon}>\n Storage\n </Sidebar.MenuButton>\n </Sidebar.Menu>\n </Sidebar.Group>\n </Sidebar.Content>\n <Sidebar.Footer>\n <Sidebar.Trigger />\n </Sidebar.Footer>\n </Sidebar>\n <DemoMain>\n <MobileToggleButton />\n <p>Click the button to open the mobile sidebar</p>\n <p className=\"text-sm text-kumo-subtle\">\n Press Escape or click the backdrop to close\n </p>\n </DemoMain>\n </Sidebar.Provider>\n </div>",
|
|
5611
5616
|
"<div className=\"flex flex-col gap-3\">\n {/* Width control — stands in for resizing a real phone viewport. */}\n <label className=\"flex items-center gap-3 text-sm text-kumo-subtle\">\n <span className=\"shrink-0\">Viewport</span>\n <input\n type=\"range\"\n min={280}\n max={720}\n value={width}\n onChange={(e) => setWidth(Number(e.target.value))}\n className=\"flex-1 cursor-pointer\"\n />\n <span className=\"w-14 shrink-0 text-right tabular-nums\">{width}px</span>\n </label>\n\n <div\n className=\"relative h-[540px] overflow-hidden rounded-lg border border-kumo-line bg-kumo-base\"\n style={{ width }}\n >\n <Sidebar.Provider contained mobileBreakpoint={9999} className=\"h-full\">\n <Sidebar fullScreenOnMobile>\n {/* Single row: avatar, then the trail takes the rest of the width.\n Mirrors the product header — account mark, then breadcrumbs. */}\n <Sidebar.Header className=\"gap-2 px-3.5\">\n <CompactAccountSwitcher />\n <div className=\"min-w-0 flex-1\">\n <Breadcrumbs size=\"sm\">\n {trail.map((label) => (\n <Fragment key={label}>\n <Breadcrumbs.Link href=\"#\">{label}</Breadcrumbs.Link>\n <Breadcrumbs.Separator />\n </Fragment>\n ))}\n <Breadcrumbs.Current>{current}</Breadcrumbs.Current>\n </Breadcrumbs>\n </div>\n <Sidebar.Close />\n </Sidebar.Header>\n <Sidebar.Content>\n <div className=\"pt-1 pb-2\">\n <QuickSearch />\n </div>\n <NavTree selected={selected} onSelect={setSelected} />\n </Sidebar.Content>\n </Sidebar>\n\n <div className=\"flex min-w-0 flex-1 flex-col\">\n <header className=\"flex h-12 shrink-0 items-center gap-2 border-b border-kumo-line px-3\">\n <Sidebar.Trigger />\n <div className=\"min-w-0 flex-1\">\n <Breadcrumbs size=\"sm\">\n {trail.map((label) => (\n <Fragment key={label}>\n <Breadcrumbs.Link href=\"#\">{label}</Breadcrumbs.Link>\n <Breadcrumbs.Separator />\n </Fragment>\n ))}\n <Breadcrumbs.Current>{current}</Breadcrumbs.Current>\n </Breadcrumbs>\n </div>\n </header>\n <DemoMain>\n <p className=\"text-kumo-default\">{current}</p>\n <p className=\"text-sm text-kumo-subtle\">\n Drill into the nav — the trail is derived from the tree, so it\n always matches where you are.\n </p>\n </DemoMain>\n </div>\n </Sidebar.Provider>\n </div>\n </div>"
|
|
5612
5617
|
],
|
|
@@ -5706,39 +5711,10 @@
|
|
|
5706
5711
|
"name": "Header",
|
|
5707
5712
|
"description": "Header sub-component",
|
|
5708
5713
|
"props": {
|
|
5709
|
-
"
|
|
5710
|
-
"type": "React.ComponentType<{ className?: string }> | React.ReactNode",
|
|
5711
|
-
"optional": true
|
|
5712
|
-
},
|
|
5713
|
-
"active": {
|
|
5714
|
-
"type": "boolean",
|
|
5715
|
-
"optional": true
|
|
5716
|
-
},
|
|
5717
|
-
"size": {
|
|
5718
|
-
"type": "SidebarMenuButtonSize",
|
|
5719
|
-
"optional": true,
|
|
5720
|
-
"description": "Button size. - `\"base\"` — Standard nav item - `\"sm\"` — Compact nav item"
|
|
5721
|
-
},
|
|
5722
|
-
"href": {
|
|
5714
|
+
"itemId": {
|
|
5723
5715
|
"type": "string",
|
|
5724
|
-
"optional": true
|
|
5725
|
-
},
|
|
5726
|
-
"target": {
|
|
5727
|
-
"type": "React.HTMLAttributeAnchorTarget",
|
|
5728
5716
|
"optional": true,
|
|
5729
|
-
"description": "
|
|
5730
|
-
},
|
|
5731
|
-
"tooltip": {
|
|
5732
|
-
"type": "string",
|
|
5733
|
-
"optional": true
|
|
5734
|
-
},
|
|
5735
|
-
"className": {
|
|
5736
|
-
"type": "string",
|
|
5737
|
-
"optional": true
|
|
5738
|
-
},
|
|
5739
|
-
"children": {
|
|
5740
|
-
"type": "ReactNode",
|
|
5741
|
-
"optional": true
|
|
5717
|
+
"description": "Anchor id for `useSidebar().scrollToItem(id)`."
|
|
5742
5718
|
}
|
|
5743
5719
|
}
|
|
5744
5720
|
},
|
|
@@ -5746,39 +5722,10 @@
|
|
|
5746
5722
|
"name": "Content",
|
|
5747
5723
|
"description": "Content sub-component",
|
|
5748
5724
|
"props": {
|
|
5749
|
-
"
|
|
5750
|
-
"type": "React.ComponentType<{ className?: string }> | React.ReactNode",
|
|
5751
|
-
"optional": true
|
|
5752
|
-
},
|
|
5753
|
-
"active": {
|
|
5754
|
-
"type": "boolean",
|
|
5755
|
-
"optional": true
|
|
5756
|
-
},
|
|
5757
|
-
"size": {
|
|
5758
|
-
"type": "SidebarMenuButtonSize",
|
|
5759
|
-
"optional": true,
|
|
5760
|
-
"description": "Button size. - `\"base\"` — Standard nav item - `\"sm\"` — Compact nav item"
|
|
5761
|
-
},
|
|
5762
|
-
"href": {
|
|
5725
|
+
"itemId": {
|
|
5763
5726
|
"type": "string",
|
|
5764
|
-
"optional": true
|
|
5765
|
-
},
|
|
5766
|
-
"target": {
|
|
5767
|
-
"type": "React.HTMLAttributeAnchorTarget",
|
|
5768
5727
|
"optional": true,
|
|
5769
|
-
"description": "
|
|
5770
|
-
},
|
|
5771
|
-
"tooltip": {
|
|
5772
|
-
"type": "string",
|
|
5773
|
-
"optional": true
|
|
5774
|
-
},
|
|
5775
|
-
"className": {
|
|
5776
|
-
"type": "string",
|
|
5777
|
-
"optional": true
|
|
5778
|
-
},
|
|
5779
|
-
"children": {
|
|
5780
|
-
"type": "ReactNode",
|
|
5781
|
-
"optional": true
|
|
5728
|
+
"description": "Anchor id for `useSidebar().scrollToItem(id)`."
|
|
5782
5729
|
}
|
|
5783
5730
|
}
|
|
5784
5731
|
},
|
|
@@ -5786,39 +5733,10 @@
|
|
|
5786
5733
|
"name": "Footer",
|
|
5787
5734
|
"description": "Footer sub-component",
|
|
5788
5735
|
"props": {
|
|
5789
|
-
"
|
|
5790
|
-
"type": "React.ComponentType<{ className?: string }> | React.ReactNode",
|
|
5791
|
-
"optional": true
|
|
5792
|
-
},
|
|
5793
|
-
"active": {
|
|
5794
|
-
"type": "boolean",
|
|
5795
|
-
"optional": true
|
|
5796
|
-
},
|
|
5797
|
-
"size": {
|
|
5798
|
-
"type": "SidebarMenuButtonSize",
|
|
5799
|
-
"optional": true,
|
|
5800
|
-
"description": "Button size. - `\"base\"` — Standard nav item - `\"sm\"` — Compact nav item"
|
|
5801
|
-
},
|
|
5802
|
-
"href": {
|
|
5736
|
+
"itemId": {
|
|
5803
5737
|
"type": "string",
|
|
5804
|
-
"optional": true
|
|
5805
|
-
},
|
|
5806
|
-
"target": {
|
|
5807
|
-
"type": "React.HTMLAttributeAnchorTarget",
|
|
5808
5738
|
"optional": true,
|
|
5809
|
-
"description": "
|
|
5810
|
-
},
|
|
5811
|
-
"tooltip": {
|
|
5812
|
-
"type": "string",
|
|
5813
|
-
"optional": true
|
|
5814
|
-
},
|
|
5815
|
-
"className": {
|
|
5816
|
-
"type": "string",
|
|
5817
|
-
"optional": true
|
|
5818
|
-
},
|
|
5819
|
-
"children": {
|
|
5820
|
-
"type": "ReactNode",
|
|
5821
|
-
"optional": true
|
|
5739
|
+
"description": "Anchor id for `useSidebar().scrollToItem(id)`."
|
|
5822
5740
|
}
|
|
5823
5741
|
}
|
|
5824
5742
|
},
|
|
@@ -5826,39 +5744,10 @@
|
|
|
5826
5744
|
"name": "Loading",
|
|
5827
5745
|
"description": "Loading sub-component",
|
|
5828
5746
|
"props": {
|
|
5829
|
-
"
|
|
5830
|
-
"type": "React.ComponentType<{ className?: string }> | React.ReactNode",
|
|
5831
|
-
"optional": true
|
|
5832
|
-
},
|
|
5833
|
-
"active": {
|
|
5834
|
-
"type": "boolean",
|
|
5835
|
-
"optional": true
|
|
5836
|
-
},
|
|
5837
|
-
"size": {
|
|
5838
|
-
"type": "SidebarMenuButtonSize",
|
|
5839
|
-
"optional": true,
|
|
5840
|
-
"description": "Button size. - `\"base\"` — Standard nav item - `\"sm\"` — Compact nav item"
|
|
5841
|
-
},
|
|
5842
|
-
"href": {
|
|
5747
|
+
"itemId": {
|
|
5843
5748
|
"type": "string",
|
|
5844
|
-
"optional": true
|
|
5845
|
-
},
|
|
5846
|
-
"target": {
|
|
5847
|
-
"type": "React.HTMLAttributeAnchorTarget",
|
|
5848
5749
|
"optional": true,
|
|
5849
|
-
"description": "
|
|
5850
|
-
},
|
|
5851
|
-
"tooltip": {
|
|
5852
|
-
"type": "string",
|
|
5853
|
-
"optional": true
|
|
5854
|
-
},
|
|
5855
|
-
"className": {
|
|
5856
|
-
"type": "string",
|
|
5857
|
-
"optional": true
|
|
5858
|
-
},
|
|
5859
|
-
"children": {
|
|
5860
|
-
"type": "ReactNode",
|
|
5861
|
-
"optional": true
|
|
5750
|
+
"description": "Anchor id for `useSidebar().scrollToItem(id)`."
|
|
5862
5751
|
}
|
|
5863
5752
|
}
|
|
5864
5753
|
},
|
|
@@ -5866,39 +5755,10 @@
|
|
|
5866
5755
|
"name": "Group",
|
|
5867
5756
|
"description": "Group sub-component",
|
|
5868
5757
|
"props": {
|
|
5869
|
-
"
|
|
5870
|
-
"type": "React.ComponentType<{ className?: string }> | React.ReactNode",
|
|
5871
|
-
"optional": true
|
|
5872
|
-
},
|
|
5873
|
-
"active": {
|
|
5874
|
-
"type": "boolean",
|
|
5875
|
-
"optional": true
|
|
5876
|
-
},
|
|
5877
|
-
"size": {
|
|
5878
|
-
"type": "SidebarMenuButtonSize",
|
|
5879
|
-
"optional": true,
|
|
5880
|
-
"description": "Button size. - `\"base\"` — Standard nav item - `\"sm\"` — Compact nav item"
|
|
5881
|
-
},
|
|
5882
|
-
"href": {
|
|
5758
|
+
"itemId": {
|
|
5883
5759
|
"type": "string",
|
|
5884
|
-
"optional": true
|
|
5885
|
-
},
|
|
5886
|
-
"target": {
|
|
5887
|
-
"type": "React.HTMLAttributeAnchorTarget",
|
|
5888
5760
|
"optional": true,
|
|
5889
|
-
"description": "
|
|
5890
|
-
},
|
|
5891
|
-
"tooltip": {
|
|
5892
|
-
"type": "string",
|
|
5893
|
-
"optional": true
|
|
5894
|
-
},
|
|
5895
|
-
"className": {
|
|
5896
|
-
"type": "string",
|
|
5897
|
-
"optional": true
|
|
5898
|
-
},
|
|
5899
|
-
"children": {
|
|
5900
|
-
"type": "ReactNode",
|
|
5901
|
-
"optional": true
|
|
5761
|
+
"description": "Anchor id for `useSidebar().scrollToItem(id)`."
|
|
5902
5762
|
}
|
|
5903
5763
|
}
|
|
5904
5764
|
},
|
|
@@ -5906,39 +5766,10 @@
|
|
|
5906
5766
|
"name": "GroupLabel",
|
|
5907
5767
|
"description": "GroupLabel sub-component",
|
|
5908
5768
|
"props": {
|
|
5909
|
-
"
|
|
5910
|
-
"type": "React.ComponentType<{ className?: string }> | React.ReactNode",
|
|
5911
|
-
"optional": true
|
|
5912
|
-
},
|
|
5913
|
-
"active": {
|
|
5914
|
-
"type": "boolean",
|
|
5915
|
-
"optional": true
|
|
5916
|
-
},
|
|
5917
|
-
"size": {
|
|
5918
|
-
"type": "SidebarMenuButtonSize",
|
|
5919
|
-
"optional": true,
|
|
5920
|
-
"description": "Button size. - `\"base\"` — Standard nav item - `\"sm\"` — Compact nav item"
|
|
5921
|
-
},
|
|
5922
|
-
"href": {
|
|
5769
|
+
"itemId": {
|
|
5923
5770
|
"type": "string",
|
|
5924
|
-
"optional": true
|
|
5925
|
-
},
|
|
5926
|
-
"target": {
|
|
5927
|
-
"type": "React.HTMLAttributeAnchorTarget",
|
|
5928
5771
|
"optional": true,
|
|
5929
|
-
"description": "
|
|
5930
|
-
},
|
|
5931
|
-
"tooltip": {
|
|
5932
|
-
"type": "string",
|
|
5933
|
-
"optional": true
|
|
5934
|
-
},
|
|
5935
|
-
"className": {
|
|
5936
|
-
"type": "string",
|
|
5937
|
-
"optional": true
|
|
5938
|
-
},
|
|
5939
|
-
"children": {
|
|
5940
|
-
"type": "ReactNode",
|
|
5941
|
-
"optional": true
|
|
5772
|
+
"description": "Anchor id for `useSidebar().scrollToItem(id)`."
|
|
5942
5773
|
}
|
|
5943
5774
|
}
|
|
5944
5775
|
},
|
|
@@ -5946,39 +5777,10 @@
|
|
|
5946
5777
|
"name": "Menu",
|
|
5947
5778
|
"description": "Menu sub-component",
|
|
5948
5779
|
"props": {
|
|
5949
|
-
"
|
|
5950
|
-
"type": "React.ComponentType<{ className?: string }> | React.ReactNode",
|
|
5951
|
-
"optional": true
|
|
5952
|
-
},
|
|
5953
|
-
"active": {
|
|
5954
|
-
"type": "boolean",
|
|
5955
|
-
"optional": true
|
|
5956
|
-
},
|
|
5957
|
-
"size": {
|
|
5958
|
-
"type": "SidebarMenuButtonSize",
|
|
5959
|
-
"optional": true,
|
|
5960
|
-
"description": "Button size. - `\"base\"` — Standard nav item - `\"sm\"` — Compact nav item"
|
|
5961
|
-
},
|
|
5962
|
-
"href": {
|
|
5780
|
+
"itemId": {
|
|
5963
5781
|
"type": "string",
|
|
5964
|
-
"optional": true
|
|
5965
|
-
},
|
|
5966
|
-
"target": {
|
|
5967
|
-
"type": "React.HTMLAttributeAnchorTarget",
|
|
5968
5782
|
"optional": true,
|
|
5969
|
-
"description": "
|
|
5970
|
-
},
|
|
5971
|
-
"tooltip": {
|
|
5972
|
-
"type": "string",
|
|
5973
|
-
"optional": true
|
|
5974
|
-
},
|
|
5975
|
-
"className": {
|
|
5976
|
-
"type": "string",
|
|
5977
|
-
"optional": true
|
|
5978
|
-
},
|
|
5979
|
-
"children": {
|
|
5980
|
-
"type": "ReactNode",
|
|
5981
|
-
"optional": true
|
|
5783
|
+
"description": "Anchor id for `useSidebar().scrollToItem(id)`."
|
|
5982
5784
|
}
|
|
5983
5785
|
}
|
|
5984
5786
|
},
|
|
@@ -5986,39 +5788,10 @@
|
|
|
5986
5788
|
"name": "MenuItem",
|
|
5987
5789
|
"description": "MenuItem sub-component",
|
|
5988
5790
|
"props": {
|
|
5989
|
-
"
|
|
5990
|
-
"type": "React.ComponentType<{ className?: string }> | React.ReactNode",
|
|
5991
|
-
"optional": true
|
|
5992
|
-
},
|
|
5993
|
-
"active": {
|
|
5994
|
-
"type": "boolean",
|
|
5995
|
-
"optional": true
|
|
5996
|
-
},
|
|
5997
|
-
"size": {
|
|
5998
|
-
"type": "SidebarMenuButtonSize",
|
|
5999
|
-
"optional": true,
|
|
6000
|
-
"description": "Button size. - `\"base\"` — Standard nav item - `\"sm\"` — Compact nav item"
|
|
6001
|
-
},
|
|
6002
|
-
"href": {
|
|
5791
|
+
"itemId": {
|
|
6003
5792
|
"type": "string",
|
|
6004
|
-
"optional": true
|
|
6005
|
-
},
|
|
6006
|
-
"target": {
|
|
6007
|
-
"type": "React.HTMLAttributeAnchorTarget",
|
|
6008
5793
|
"optional": true,
|
|
6009
|
-
"description": "
|
|
6010
|
-
},
|
|
6011
|
-
"tooltip": {
|
|
6012
|
-
"type": "string",
|
|
6013
|
-
"optional": true
|
|
6014
|
-
},
|
|
6015
|
-
"className": {
|
|
6016
|
-
"type": "string",
|
|
6017
|
-
"optional": true
|
|
6018
|
-
},
|
|
6019
|
-
"children": {
|
|
6020
|
-
"type": "ReactNode",
|
|
6021
|
-
"optional": true
|
|
5794
|
+
"description": "Anchor id for `useSidebar().scrollToItem(id)`."
|
|
6022
5795
|
}
|
|
6023
5796
|
}
|
|
6024
5797
|
},
|
|
@@ -6052,6 +5825,11 @@
|
|
|
6052
5825
|
"type": "string",
|
|
6053
5826
|
"optional": true
|
|
6054
5827
|
},
|
|
5828
|
+
"itemId": {
|
|
5829
|
+
"type": "string",
|
|
5830
|
+
"optional": true,
|
|
5831
|
+
"description": "Anchor id for `useSidebar().scrollToItem(id)`."
|
|
5832
|
+
},
|
|
6055
5833
|
"className": {
|
|
6056
5834
|
"type": "string",
|
|
6057
5835
|
"optional": true
|
|
@@ -6621,7 +6399,8 @@
|
|
|
6621
6399
|
"selected": "Selected row variant"
|
|
6622
6400
|
},
|
|
6623
6401
|
"classes": {
|
|
6624
|
-
"
|
|
6402
|
+
"default": "even:bg-kumo-tint [--kumo-table-row-bg:var(--color-kumo-base)] even:[--kumo-table-row-bg:var(--color-kumo-tint)]",
|
|
6403
|
+
"selected": "bg-kumo-tint [--kumo-table-row-bg:var(--color-kumo-tint)]"
|
|
6625
6404
|
}
|
|
6626
6405
|
},
|
|
6627
6406
|
"sticky": {
|
|
@@ -6940,8 +6719,9 @@
|
|
|
6940
6719
|
"variant": {
|
|
6941
6720
|
"type": "enum",
|
|
6942
6721
|
"optional": true,
|
|
6943
|
-
"description": "Text style variant. Determines color, font, and weight.\n- `\"heading1\"` —
|
|
6722
|
+
"description": "Text style variant. Determines color, font, and weight.\n- `\"heading\"` — Heading text (16px by default, 20px with `size=\"lg\"`; semibold)\n- `\"heading1\"` — Deprecated; use `\"heading\"` (30px, semibold)\n- `\"heading2\"` — Deprecated; use `\"heading\"` (24px, semibold)\n- `\"heading3\"` — Deprecated; use `\"heading\"` (16px, semibold)\n- `\"body\"` — Default body text\n- `\"secondary\"` — Muted text for secondary information\n- `\"success\"` — Success state text\n- `\"error\"` — Error state text\n- `\"mono\"` — Monospace text for code\n- `\"mono-secondary\"` — Muted monospace text",
|
|
6944
6723
|
"values": [
|
|
6724
|
+
"heading",
|
|
6945
6725
|
"heading1",
|
|
6946
6726
|
"heading2",
|
|
6947
6727
|
"heading3",
|
|
@@ -6953,9 +6733,10 @@
|
|
|
6953
6733
|
"mono-secondary"
|
|
6954
6734
|
],
|
|
6955
6735
|
"descriptions": {
|
|
6956
|
-
"
|
|
6957
|
-
"
|
|
6958
|
-
"
|
|
6736
|
+
"heading": "Heading text (16px by default, 20px at large size)",
|
|
6737
|
+
"heading1": "Deprecated large heading for page titles; use heading instead",
|
|
6738
|
+
"heading2": "Deprecated medium heading for section titles; use heading instead",
|
|
6739
|
+
"heading3": "Deprecated small heading for subsections; use heading instead",
|
|
6959
6740
|
"body": "Default body text",
|
|
6960
6741
|
"secondary": "Muted text for secondary information",
|
|
6961
6742
|
"success": "Success state text",
|
|
@@ -6964,6 +6745,7 @@
|
|
|
6964
6745
|
"mono-secondary": "Muted monospace text"
|
|
6965
6746
|
},
|
|
6966
6747
|
"classes": {
|
|
6748
|
+
"heading": "text-lg font-semibold",
|
|
6967
6749
|
"heading1": "text-3xl font-semibold",
|
|
6968
6750
|
"heading2": "text-2xl font-semibold",
|
|
6969
6751
|
"heading3": "text-lg font-semibold",
|
|
@@ -6979,7 +6761,7 @@
|
|
|
6979
6761
|
"size": {
|
|
6980
6762
|
"type": "enum",
|
|
6981
6763
|
"optional": true,
|
|
6982
|
-
"description": "Text size
|
|
6764
|
+
"description": "Text size. Supported values depend on the variant:\n- `\"heading\"` — 16px when omitted, or 20px with `\"lg\"`\n- Body variants — `\"xs\"` (12px), `\"sm\"` (13px), `\"base\"` (14px), or `\"lg\"` (16px)\n- Monospace variants — 13px when omitted, or 14px with `\"lg\"`",
|
|
6983
6765
|
"values": [
|
|
6984
6766
|
"xs",
|
|
6985
6767
|
"sm",
|
|
@@ -7013,7 +6795,7 @@
|
|
|
7013
6795
|
"as": {
|
|
7014
6796
|
"type": "enum",
|
|
7015
6797
|
"optional": true,
|
|
7016
|
-
"description": "The HTML element to render. Accepts headings (`\"h1\"`–`\"h6\"`), block text (`\"p\"`, `\"pre\"`), inline text (`\"span\"`, `\"code\"`, `\"em\"`, `\"strong\"`, `\"small\"`, `\"abbr\"`, `\"time\"`), form-related (`\"label\"`, `\"legend\"`), list/definition (`\"dt\"`, `\"dd\"`, `\"li\"`), and `\"figcaption\"`.\n\n- **
|
|
6798
|
+
"description": "The HTML element to render. Accepts headings (`\"h1\"`–`\"h6\"`), block text (`\"p\"`, `\"pre\"`), inline text (`\"span\"`, `\"code\"`, `\"em\"`, `\"strong\"`, `\"small\"`, `\"abbr\"`, `\"time\"`), form-related (`\"label\"`, `\"legend\"`), list/definition (`\"dt\"`, `\"dd\"`, `\"li\"`), and `\"figcaption\"`.\n\n- **Optional** for `\"heading\"` (defaults to `\"span\"`). Pass the heading element that reflects this text's place in the document outline.\n- **Required** for deprecated heading variants (`\"heading1\"`, `\"heading2\"`, `\"heading3\"`).\n- **Optional** for body variants (defaults to `\"p\"`) and monospace variants (defaults to `\"span\"`).",
|
|
7017
6799
|
"values": [
|
|
7018
6800
|
"h1",
|
|
7019
6801
|
"h2",
|
|
@@ -7045,7 +6827,7 @@
|
|
|
7045
6827
|
}
|
|
7046
6828
|
},
|
|
7047
6829
|
"examples": [
|
|
7048
|
-
"<div className=\"grid w-full grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3\">\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text variant=\"
|
|
6830
|
+
"<div className=\"grid w-full grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3\">\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text variant=\"heading\">Heading</Text>\n <Text variant=\"mono-secondary\">text-lg (16px)</Text>\n </div>\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text variant=\"heading\" size=\"lg\" as=\"h2\">\n Heading large\n </Text>\n <Text variant=\"mono-secondary\">text-xl (20px)</Text>\n </div>\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text>Body</Text>\n <Text variant=\"mono-secondary\">text-base (14px)</Text>\n </div>\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text bold>Body bold</Text>\n <Text variant=\"mono-secondary\">text-base (14px)</Text>\n </div>\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text size=\"lg\">Body lg</Text>\n <Text variant=\"mono-secondary\">text-lg (16px)</Text>\n </div>\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text size=\"sm\">Body sm</Text>\n <Text variant=\"mono-secondary\">text-sm (13px)</Text>\n </div>\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text size=\"xs\">Body xs</Text>\n <Text variant=\"mono-secondary\">text-xs (12px)</Text>\n </div>\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text variant=\"secondary\">Body secondary</Text>\n <Text variant=\"mono-secondary\">text-base (14px)</Text>\n </div>\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text variant=\"mono\">Monospace</Text>\n <Text variant=\"mono-secondary\">text-sm (13px)</Text>\n </div>\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text variant=\"mono\" size=\"lg\">\n Monospace lg\n </Text>\n <Text variant=\"mono-secondary\">text-base (14px)</Text>\n </div>\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text variant=\"mono-secondary\">Monospace secondary</Text>\n <Text variant=\"mono-secondary\">text-sm (13px)</Text>\n </div>\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text variant=\"success\">Success</Text>\n <Text variant=\"mono-secondary\">text-base (14px)</Text>\n </div>\n <div className=\"flex flex-col justify-end gap-1 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text variant=\"error\">Error</Text>\n <Text variant=\"mono-secondary\">text-base (14px)</Text>\n </div>\n </div>",
|
|
7049
6831
|
"<div className=\"w-64 rounded-lg border border-kumo-hairline bg-kumo-base p-4\">\n <Text truncate>\n This is a long piece of text that will be truncated with an ellipsis\n when it overflows its container.\n </Text>\n </div>"
|
|
7050
6832
|
],
|
|
7051
6833
|
"colors": [
|
|
@@ -7242,7 +7024,7 @@
|
|
|
7242
7024
|
],
|
|
7243
7025
|
"colors": [
|
|
7244
7026
|
"bg-kumo-base",
|
|
7245
|
-
"outline-kumo-
|
|
7027
|
+
"outline-kumo-line"
|
|
7246
7028
|
]
|
|
7247
7029
|
},
|
|
7248
7030
|
"Toasty": {
|
|
@@ -7511,10 +7293,10 @@
|
|
|
7511
7293
|
],
|
|
7512
7294
|
"colors": [
|
|
7513
7295
|
"bg-kumo-base",
|
|
7296
|
+
"fill-kumo-arrow-edge",
|
|
7297
|
+
"fill-kumo-arrow-stroke",
|
|
7514
7298
|
"fill-kumo-base",
|
|
7515
|
-
"
|
|
7516
|
-
"fill-kumo-tip-stroke",
|
|
7517
|
-
"outline-kumo-fill",
|
|
7299
|
+
"outline-kumo-line",
|
|
7518
7300
|
"text-kumo-default"
|
|
7519
7301
|
],
|
|
7520
7302
|
"subComponents": {
|