@cloudflare/kumo 2.14.0 → 2.15.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 +51 -0
- package/ai/component-registry.json +231 -43
- package/ai/component-registry.md +774 -166
- package/ai/schemas.ts +22 -3
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +51 -2
- package/dist/ai/schemas.js +32 -1
- package/dist/blocks-source/delete-resource/delete-resource.test.tsx +21 -0
- package/dist/blocks-source/delete-resource/delete-resource.tsx +14 -8
- package/dist/chunks/{index.parts-h7wtkrxpz4m8eqn9.js → AccordionPanelDataAttributes-mmrmkky28u1010l5.js} +150 -61
- package/dist/chunks/{AlertDialogTrigger-dkihgpvj12si73w3.js → AlertDialogTrigger-l1r1gbxcky1xq889.js} +4 -4
- package/dist/chunks/{index.parts-kgiqby97w6tn6jw7.js → AlertDialogTriggerDataAttributes-go49qon601catpgn.js} +24 -9
- package/dist/chunks/{AutocompleteItem-drxau0wm3735nihq.js → AutocompleteItem-36ysm5nwbsd0snr6.js} +5 -5
- package/dist/chunks/AutocompleteItemDataAttributes-n5rigpf0s9ylnwi3.js +232 -0
- package/dist/chunks/{AutocompleteSeparator-hqtaxxxye1rfezfg.js → AutocompleteSeparator-bnqeqh7i983d92gx.js} +2 -2
- package/dist/chunks/{index.parts-b9zmk3ta77w8dy9f.js → AvatarImageDataAttributes-jw70u384c83lhqfp.js} +39 -15
- package/dist/chunks/{Button-ccl5r1xlbe3gh998.js → ButtonDataAttributes-nceand1fi7lvnmkb.js} +12 -4
- package/dist/chunks/{CSPContext-ctyrgg64girv38ls.js → CSPContext-iv67i0qqhihg8mur.js} +1 -1
- package/dist/chunks/{CSPProvider-p9ensukmowjpkgc0.js → CSPProvider-finau3a8hnc9o2td.js} +2 -2
- package/dist/chunks/{CheckboxGroup-knvypu2d1s0iz86k.js → CheckboxGroup-581mfftu99wvjb3a.js} +18 -23
- package/dist/chunks/{CheckboxGroupContext-lgc9dwxou662i6zo.js → CheckboxGroupContext-jf1bt3znvqlhrql6.js} +1 -1
- package/dist/chunks/CheckboxGroupDataAttributes-nskqcxts64symbvf.js +10 -0
- package/dist/chunks/{CheckboxIndicator-n982pbktfkxsa5zz.js → CheckboxIndicator-i13dmhacfgqo328c.js} +86 -29
- package/dist/chunks/CheckboxIndicatorDataAttributes-3p29ju7nkczz1l2y.js +85 -0
- package/dist/chunks/{CollapsiblePanel-jm0ni90g7wz7ppkc.js → CollapsiblePanel-md5suzmtnsyz1kab.js} +17 -13
- package/dist/chunks/CollapsibleRootDataAttributes-bynmgxmt4jikaoha.js +36 -0
- package/dist/chunks/{ComboboxClear-c2kvjkh9yc6xfl38.js → ComboboxClear-ioejwvtnmqanph88.js} +31 -24
- package/dist/chunks/ComboboxClearDataAttributes-lo0enstdmrqpywsy.js +402 -0
- package/dist/chunks/{ComboboxEmpty-o0q20j2l2syar9kx.js → ComboboxEmpty-gkt1y5b81a4983v7.js} +207 -215
- package/dist/chunks/ComboboxItemIndicatorDataAttributes-iku7l9ig0ve09an4.js +259 -0
- package/dist/chunks/{ComboboxPopup-oxgggc2wxy6bfmru.js → ComboboxPopup-n8cbgys9st446j1i.js} +15 -15
- package/dist/chunks/{CompositeItem-hzuk5x3e5zsfgnyj.js → CompositeItem-kepwg8jtvgap06o6.js} +3 -3
- package/dist/chunks/{CompositeList-lbr4enu6yzek7oa9.js → CompositeList-gwuaf6d14s4da0j0.js} +9 -7
- package/dist/chunks/{CompositeListContext-m9frxn53kkmr23d0.js → CompositeListContext-bejvmlu39hsfjzgu.js} +1 -1
- package/dist/chunks/{CompositeRoot-g72lchaerolf5dc9.js → CompositeRoot-dnlkb27uw4g5aocf.js} +12 -12
- package/dist/chunks/{CompositeRootContext-ixz4myr7uwvavx6w.js → CompositeRootContext-obm54j7y6s86qwhq.js} +1 -1
- package/dist/chunks/{index.parts-d4wim8mcnl9a2n9d.js → ContextMenuTriggerDataAttributes-xwozccynxv6pk5s0.js} +29 -15
- package/dist/chunks/DialogBackdropDataAttributes-jwqxd6jla03xh8ke.js +28 -0
- package/dist/chunks/{DialogHandle-klk7uo1q1y8ghyx5.js → DialogCloseDataAttributes-12m7gwh3i6fd7d05.js} +14 -6
- package/dist/chunks/{DialogPopup-olsvyf7ulia6ekb1.js → DialogPopup-n6w7b389e7bs0472.js} +13 -11
- package/dist/chunks/{DialogRoot-hl3genvzl9h8ridm.js → DialogRoot-hkkqj7vcjpkx8qk8.js} +3 -3
- package/dist/chunks/{DialogTrigger-g44cuem7n4wez533.js → DialogTrigger-kpugfkbfswqrus4u.js} +16 -16
- package/dist/chunks/DialogTriggerDataAttributes-bp9bu13cvwuddh5b.js +18 -0
- package/dist/chunks/DialogViewportDataAttributes-mma9emv1edsc1vuy.js +78 -0
- package/dist/chunks/{DirectionContext-opvqcb794uxicri4.js → DirectionContext-kpby968j030psajn.js} +1 -1
- package/dist/chunks/{DirectionProvider-er2gibtc9a1f0kep.js → DirectionProvider-cg0pwzgdyg6r73r6.js} +2 -2
- package/dist/chunks/{DrawerViewport-eqzib92gukr4qap3.js → DrawerViewport-mzqpwvqtylnad8ib.js} +110 -61
- package/dist/chunks/{index.parts-jknln7yxhdokkvd6.js → DrawerViewportDataAttributes-dd9593zm9fl9vcsm.js} +166 -85
- package/dist/chunks/{FieldControl-c5sahhd5xg3nr2x7.js → FieldControl-hjj2tcqruozadgdi.js} +18 -27
- package/dist/chunks/{FieldDescription-ldfiii5bvssfib3d.js → FieldDescription-orix2gepowrp5ni4.js} +11 -11
- package/dist/chunks/{FieldItemContext-kpsmvqm5a98m8zpx.js → FieldItemContext-ohsf45im6xhpay40.js} +1 -1
- package/dist/chunks/FieldItemDataAttributes-m52srx69pispz49i.js +283 -0
- package/dist/chunks/{FieldLabel-j9teqs9f1exqv346.js → FieldLabel-fjc7tdis7rcbq8o4.js} +17 -15
- package/dist/chunks/{FieldsetLegend-jyy40ylt2ynkvgob.js → FieldsetLegend-gl9z9eezr0xg9zr7.js} +5 -5
- package/dist/chunks/FieldsetLegendDataAttributes-fn20251jxjqkpkxm.js +17 -0
- package/dist/chunks/{FieldsetRootContext-7nlstw7wronafxhw.js → FieldsetRootContext-fphwizvcm55ydg94.js} +1 -1
- package/dist/chunks/{FloatingPortalLite-da0wdcmem7ahkle6.js → FloatingPortalLite-j7dsy7gokbxdoe1i.js} +2 -2
- package/dist/chunks/{popupTriggerMap-ehv0fuhnmy59j3pn.js → FloatingRootStore-men6ufp3a2b296fh.js} +117 -119
- package/dist/chunks/{FloatingTree-lhdqtlu8s6m66n7l.js → FloatingTree-kiyzavvaum442o1s.js} +6 -6
- package/dist/chunks/{Form-fjfbann47c7ws316.js → Form-oz425k7r4abea8o4.js} +7 -7
- package/dist/chunks/{FormContext-bsu99v8i8pwu1yxc.js → FormContext-jv19engyccpf6xcl.js} +2 -2
- package/dist/chunks/{Input-irwtufp5t73pwnoj.js → Input-ozudotydd679ly63.js} +2 -2
- package/dist/chunks/InputDataAttributes-oy8t6q5y5t8ik02j.js +42 -0
- package/dist/chunks/ItemIndicator-cvf8cw5fv5l3cd8j.js +37 -0
- package/dist/chunks/{LabelableContext-ccxbhu73vrk089m1.js → LabelableContext-dz4wz3lu3lgqusu7.js} +37 -6
- package/dist/chunks/{ListboxSeparator-nfyv54r2v5qtmosj.js → ListboxSeparator-skazx18vzzj7i9zp.js} +2 -2
- package/dist/chunks/MenuClearDataAttributes-fo0pekd36n56mdxu.js +1645 -0
- package/dist/chunks/{MenuSubmenuTrigger-mbbda6ucik6nphbq.js → MenuSubmenuTrigger-hm5xbgik6aq95x35.js} +639 -281
- package/dist/chunks/MenuSubmenuTriggerDataAttributes-gdfxdjymgmnaxdds.js +372 -0
- package/dist/chunks/{MenuTrigger-disngqnt74owi30p.js → MenuTrigger-dlfvicsaggss0o9m.js} +36 -28
- package/dist/chunks/{Menubar-fluuxyn8c2zuz5pr.js → Menubar-ja5int05ihjj0ra4.js} +24 -14
- package/dist/chunks/{MenubarContext-blatefsj42br7jh8.js → MenubarContext-ooz0h08i55c8oip5.js} +1 -1
- package/dist/chunks/{MeterLabel-k6no448jvaidaptf.js → MeterLabel-cykbkvqys5263z05.js} +12 -12
- package/dist/chunks/{index.parts-gf9v1piz8xxt8ap1.js → NavigationMenuIconDataAttributes-l82pkpm61d0meqxf.js} +333 -94
- package/dist/chunks/{NullStore-jwgpmovsgl47g9bv.js → NullStore-my62xo2vfcfkerri.js} +7 -6
- package/dist/chunks/{index.parts-c1ocmbxanagpan6d.js → NumberFieldScrubAreaCursorDataAttributes-k2lsbk35svshnwf5.js} +439 -215
- package/dist/chunks/{index.parts-p2lcxzhh1ll3584m.js → OTPFieldInputDataAttributes-gvgtu2gg85kgjzwr.js} +173 -56
- package/dist/chunks/{PopoverClose-kpyt8hbqc52lnjb8.js → PopoverViewport-peh28i8q4hqfjy97.js} +135 -81
- package/dist/chunks/PopoverViewportDataAttributes-gplhq9d7ffp9q8u3.js +329 -0
- package/dist/chunks/{PrehydrationScript-j6zlrxmojrqni6b9.js → PrehydrationScript-hs2je3mndbxuts7w.js} +29 -14
- package/dist/chunks/{index.parts-cc0yi5vo7s4x3r9p.js → PreviewCardViewportDataAttributes-bgfwmyshey7fx6nr.js} +263 -36
- package/dist/chunks/{index.parts-lpafjiz853r94ydb.js → ProgressLabelDataAttributes-j8mutcz11ei0ohvj.js} +103 -22
- package/dist/chunks/{RadioGroup-pok1e5qbnbujrz1e.js → RadioGroup-kioqngmmuo7a1lfa.js} +37 -42
- package/dist/chunks/{RadioGroupContext-galfnl2el7y2krov.js → RadioGroupContext-dr6uihsj7oky0eol.js} +1 -1
- package/dist/chunks/RadioGroupDataAttributes-dpdr6xe4ve204qwb.js +10 -0
- package/dist/chunks/{RadioIndicator-jd511oajbwmyjxbg.js → RadioIndicator-bhxqih8wzv7hyrec.js} +83 -27
- package/dist/chunks/RadioIndicatorDataAttributes-n5yupp5psifu0d4f.js +80 -0
- package/dist/chunks/{ScrollAreaThumb-eed3hf0pmrblshfw.js → ScrollAreaThumb-hxig41yn4lrurd3o.js} +114 -43
- package/dist/chunks/ScrollAreaThumbDataAttributes-gup5wfxvqye6jj27.js +137 -0
- package/dist/chunks/SelectScrollUpArrowDataAttributes-fce5i1afjkb0necr.js +473 -0
- package/dist/chunks/{SelectSeparator-mrjooj7vmjez6fua.js → SelectSeparator-nnak70azojox8b2b.js} +249 -162
- package/dist/chunks/{Separator-bcm4ezllqxvtpvuj.js → Separator-fhwve0tfny3tht3a.js} +2 -2
- package/dist/chunks/SeparatorDataAttributes-ch6e63bas7zflw00.js +11 -0
- package/dist/chunks/{index.parts-j6kbr29a542ya81m.js → SliderIndicator-h1o3qbrvr8x0t4t2.js} +129 -74
- package/dist/chunks/SliderIndicatorDataAttributes-ff2f1cjealif5nvo.js +240 -0
- package/dist/chunks/{SwitchRoot-gahuqddsq1s55p8m.js → SwitchRoot-m4t2tq5zn5wibyxk.js} +74 -22
- package/dist/chunks/SwitchThumbDataAttributes-f95ld864on9y6ptk.js +90 -0
- package/dist/chunks/{TabsList-ebl0v8gu8wn28zss.js → TabsList-n5n93rxr4sy704u8.js} +48 -30
- package/dist/chunks/TabsListDataAttributes-e03a7kbubuf02z1l.js +183 -0
- package/dist/chunks/ToastArrowDataAttributes-jbnvz3kp6a35slgj.js +136 -0
- package/dist/chunks/{Toggle-mbshs50266z9hgxp.js → ToggleDataAttributes-jl9ojyvwgrvefke6.js} +26 -11
- package/dist/chunks/{ToggleGroupContext-h4v7jaf77rp2xng9.js → ToggleGroupContext-hg8zbkgqpscqhz83.js} +1 -1
- package/dist/chunks/{ToggleGroup-k2caz2ghv6zbzp5l.js → ToggleGroupDataAttributes-n1dwona1alvabstl.js} +30 -9
- package/dist/chunks/{ToolbarGroupContext-e5cg7needj0edodc.js → ToolbarGroupContext-eawva8xkxb4osbxb.js} +1 -1
- package/dist/chunks/{ToolbarInput-i4h95tes75w0p5y2.js → ToolbarInput-kyxl1be0p3cyuayp.js} +10 -10
- package/dist/chunks/ToolbarInputDataAttributes-n4a18a4km735du04.js +150 -0
- package/dist/chunks/{ToolbarRootContext-eqk40r8uh4h6r211.js → ToolbarRootContext-difqbj720teyt8lu.js} +1 -1
- package/dist/chunks/{TooltipPopup-dm4y0hbdeylzp22y.js → TooltipPopup-furysmeyb68uycbz.js} +41 -68
- package/dist/chunks/{TooltipProvider-h40qf9wcn0atj15v.js → TooltipProvider-hyans0ens4axh1y8.js} +5 -5
- package/dist/chunks/TooltipViewportDataAttributes-gkwbezdq40ssuevg.js +312 -0
- package/dist/chunks/{adaptiveOriginMiddleware-b8ztjthe278xq7lm.js → adaptiveOriginMiddleware-m9tqzw58wya9sdds.js} +3 -3
- package/dist/chunks/{addEventListener-l40nxvf06iukgvnj.js → addEventListener-ku3x23446prmd1kz.js} +1 -1
- package/dist/chunks/{areArraysEqual-bcx201k1x9ziizym.js → areArraysEqual-nnpg93s9g7aqcaoh.js} +1 -1
- package/dist/chunks/{autocomplete-m6h1pbygknrz5div.js → autocomplete-kgp17p6oz4pczxt9.js} +9 -9
- package/dist/chunks/{badge-dq8bx752b9dp7dst.js → badge-kyz53p7p0ng393bs.js} +2 -1
- package/dist/chunks/{banner-msnmqm7of2lck01x.js → banner-cpla8vqjxaulggyd.js} +3 -3
- package/dist/chunks/{breadcrumbs-lhi1qrdh74mb4zsx.js → breadcrumbs-oyuqwb09l08uhok2.js} +7 -16
- package/dist/chunks/{button-group-i9dh83xutyuxyry7.js → button-group-biv43ksvaipc3p5n.js} +2 -2
- package/dist/chunks/{button-pa1bq9b85hawg41a.js → button-oxy32x5w9x9az80g.js} +25 -6
- package/dist/chunks/{chart-kd1xd6crso2i956o.js → chart-foxl6xbubuoshfcs.js} +14 -10
- package/dist/chunks/{checkbox-lbo436duy7krxcsk.js → checkbox-o9627970y7c9ciqy.js} +90 -36
- package/dist/chunks/{clamp-jcjhzx71s6wt1rnc.js → clamp-rcpupxvhqrn8uuyf.js} +1 -1
- package/dist/chunks/{clipboard-text-gd6s3n1bqse9zgt8.js → clipboard-text-bhy88tgvk1o6wmyl.js} +6 -6
- package/dist/chunks/{cloudflare-logo-boafurcbm5ttoo4o.js → cloudflare-logo-d8mid9xr190h78cu.js} +3 -3
- package/dist/chunks/{code-eu8kzwqnlhoyin24.js → code-nj2nu6qzxhz6qnkk.js} +1 -1
- package/dist/chunks/{collapsible-l8g94on4w7qfosmn.js → collapsible-ic6813hc4yv5s5hv.js} +2 -2
- package/dist/chunks/{combobox-hdxtsm2gqcxxgfju.js → combobox-hwrq8etkr7p2id0x.js} +7 -7
- package/dist/chunks/{command-palette-crtm3nd32yjhuax1.js → command-palette-el4x943vpmid0po0.js} +8 -8
- package/dist/chunks/{composite-ab8dmdfoj6tmhcn1.js → composite-c11t1ok72s3cggjc.js} +1 -1
- package/dist/chunks/{constants-flxfd6q03phtu007.js → constants-l10cgj6pyqg27jod.js} +1 -1
- package/dist/chunks/{createBaseUIEventDetails-3ob3qgs95ffm8l0w.js → createBaseUIEventDetails-nvee6bghv2reeqdb.js} +3 -2
- package/dist/chunks/{createItems-b8n8vigg5nak6j9s.js → createItems-n07tfwx89cdoar18.js} +42 -77
- package/dist/chunks/{createToastManager-onmoqrmr8zo02rif.js → createToastManager-cxjmn4jx3ejh85fs.js} +86 -42
- package/dist/chunks/{date-picker-cotkexrpqu5tjikv.js → date-picker-oee5ehsrepnlmltj.js} +4 -2
- package/dist/chunks/{date-range-picker-i6d8y1yemm7x5ins.js → date-range-picker-hpx3cdu9ve01jx6d.js} +1 -1
- package/dist/chunks/{dialog-glpnivujociqs9lh.js → dialog-lgrwmsumwpftp2u8.js} +7 -7
- package/dist/chunks/{dropdown-m53ji1d66mws89wh.js → dropdown-o875yxeqod7qp871.js} +133 -30
- package/dist/chunks/{empty-hkvg3is3uc6dj1at.js → empty-ft85jcbs7fd5t3tn.js} +11 -12
- package/dist/chunks/{engine-g5egnkub1ikv3wvy.js → engine-hzmefiqm63hu0c7i.js} +2 -2
- package/dist/chunks/{error-f4f6l13zx6tynxmy.js → error-lbnic2b20qr3mukp.js} +2 -2
- package/dist/chunks/{field-oqtso1v0oszlxi0e.js → field-jzzlgre0jmrr38o2.js} +4 -4
- package/dist/chunks/{flow-iz8sn24h5q6q4b10.js → flow-imvwzp5p2f8y2dxm.js} +7 -3
- package/dist/chunks/{formatNumber-kcnmauoqxku5a84c.js → formatNumber-b4kjdsebslm2b3t0.js} +2 -2
- package/dist/chunks/{getCssDimensions-olosvhh5husavesv.js → getCssDimensions-gckwdrp86f73cv51.js} +1 -1
- package/dist/chunks/{getElementTransform-cuiqmjglkrz4db6c.js → getElementTransform-cz3jyftv0x5io95f.js} +1 -1
- package/dist/chunks/getFiniteAnimations-jwd833ybtz81j5f0.js +13 -0
- package/dist/chunks/getHighlightReason-fhc53kq6qakcct9s.js +15 -0
- package/dist/chunks/{getPseudoElementBounds-x7b9uqi5hdb1lq2r.js → getPseudoElementBounds-csuw8kwsoeyxd5tv.js} +2 -2
- package/dist/chunks/{grid-fjlo3wlpkwgw56y9.js → grid-nwiczrab3r4w0zr2.js} +1 -1
- package/dist/chunks/{index.parts-ftxrjoy00esi3aau.js → index.parts-db9pzsm9rrs9tp0t.js} +12 -12
- package/dist/chunks/{index.parts-iq66xivmdw2mouvx.js → index.parts-ggacwr0yakuemead.js} +7 -7
- package/dist/chunks/{index.parts-g390bxx23hdko02m.js → index.parts-pcg3pmf3yyro841t.js} +2 -2
- package/dist/chunks/{inertValue-e0o6qvuef83v78fk.js → inertValue-n09gkjvwwa1kddov.js} +2 -2
- package/dist/chunks/{inline-copy-text-gbd7jhwpor27l4rq.js → inline-copy-text-57r67slswfqvgbaf.js} +2 -2
- package/dist/chunks/{input-group-fjr4r5ax0x78ppax.js → input-group-n08mcd8b36wbylro.js} +5 -5
- package/dist/chunks/{input-h5ox92gf13ge04hp.js → input-il37wjigy2xtgdo2.js} +4 -4
- package/dist/chunks/{input-c8lv9ulv0kortliq.js → input-ksy1w6j1m6olz6ck.js} +3 -3
- package/dist/chunks/{isElementDisabled-o0j7po84u0xjuwgg.js → isElementDisabled-dyqutxpzdfppbohx.js} +1 -1
- package/dist/chunks/itemEquality-ki3x4tzdhjlqjey6.js +56 -0
- package/dist/chunks/{label-gzyfw17u08irhdo8.js → label-hugrtzreeqk5mtqu.js} +10 -6
- package/dist/chunks/{layer-card-idh3863vdgprgqai.js → layer-card-mar4dya5kl1vvie6.js} +3 -3
- package/dist/chunks/{layer-dialog-j5ywmzs46ccg6oqy.js → layer-dialog-dwrrgv1wasrerow4.js} +71 -46
- package/dist/chunks/{link-cqyfjezntvr53rh7.js → link-h84bkh8eem39p529.js} +4 -4
- package/dist/chunks/{loader-j2v6fab8iucuxz1z.js → loader-kv5nk8j8tsuesxqo.js} +2 -6
- package/dist/chunks/{locale-provider-kjlnws7jln3ak0dr.js → locale-provider-e3310bgo4lnffqkd.js} +20 -8
- package/dist/chunks/{menubar-fjhotkmndttb8mua.js → menubar-m5pqhx7lu5z7mkks.js} +2 -2
- package/dist/chunks/{mergeCleanups-ix8l84cgutsbotpd.js → mergeCleanups-nw73c6jfwl5tyhw4.js} +1 -1
- package/dist/chunks/{meter-majprsslwmpbmkzg.js → meter-poh8jpe0qtq6mvee.js} +2 -2
- package/dist/chunks/{pagination-oaenm9t7ou3lmcgw.js → pagination-h24on80p2z5ugqdb.js} +3 -3
- package/dist/chunks/{popover-hr0bfgg48xzjggky.js → popover-nqrt3ykqv6sic8pz.js} +70 -16
- package/dist/chunks/{popupHandle-7ghmro8a5uerjwu5.js → popupHandle-dk3ixgc8flr7v971.js} +4 -4
- package/dist/chunks/popupStoreUtils-czfnxn051xakask5.js +868 -0
- package/dist/chunks/radio-d3pkrvsldfbdefav.js +203 -0
- package/dist/chunks/{reason-parts-m5ishukzeux3q0pc.js → reason-parts-hssx64rmlxyn6gw5.js} +3 -2
- package/dist/chunks/{resolveAriaLabelledBy-nc8mdie5shy87nsb.js → resolveAriaLabelledBy-knaucrjrjwnk7tvs.js} +1 -1
- package/dist/chunks/resolveValueLabel-ntacnb58mhka5gg0.js +70 -0
- package/dist/chunks/{safePolygon-kmd5wsz26l4xtj6c.js → safePolygon-ep4133qogeu5vjf3.js} +34 -38
- package/dist/chunks/{safeReact-hpp4cck3y2s5jg75.js → safeReact-ek77ilng4ekk7mgz.js} +2 -2
- package/dist/chunks/{scrollable-b6m9ze1u7ps0q1qn.js → scrollable-k784b35i80aolmvg.js} +8 -13
- package/dist/chunks/{select-futox5zqr3r80y9a.js → select-ey03k4630uckf1rk.js} +8 -8
- package/dist/chunks/{sensitive-input-cw33yncetxk3fbrl.js → sensitive-input-lfrrtyg9n5ulq3tb.js} +23 -28
- package/dist/chunks/{serializeValue-ipcakiw32jb7kany.js → serializeValue-d1otz2i7h5tygrwf.js} +1 -1
- package/dist/chunks/{sidebar-in9zhvr473afsjpp.js → sidebar-gluq5b5oacrdk4m4.js} +23 -16
- package/dist/chunks/{skeleton-line-m9dyh126t9k07jvg.js → skeleton-line-gjf1fecmyy82aejz.js} +1 -1
- package/dist/chunks/slider-juwif2d8xa5n0429.js +87 -0
- package/dist/chunks/{stringifyLocale-bxsgxdnzaef2vcar.js → stringifyLocale-gbxouqj7ol627jxh.js} +1 -1
- package/dist/chunks/{styles-kl02oyrlnld7arja.js → styles-eb8bvypmayf578jf.js} +2 -2
- package/dist/chunks/{surface-irf0af2mfglu4p0j.js → surface-ginwpan1pz61l6k2.js} +2 -2
- package/dist/chunks/{switch-cqsvolm7h69z7vgg.js → switch-mqf1ulvle4nd6d2t.js} +4 -4
- package/dist/chunks/{table-yf8ul2e5nbemioi1.js → table-nysse5tiwf47gg4k.js} +2 -2
- package/dist/chunks/{table-of-contents-cvduqgssxdcbpagh.js → table-of-contents-gkjv9ck8etbz64ej.js} +5 -2
- package/dist/chunks/{tabs-gf57qqf1wcclaejq.js → tabs-mmkz7q5rofnmogwt.js} +3 -3
- package/dist/chunks/{tag-input-ohfybx5dbxy3houy.js → tag-input-b10gfxoob9vcizpm.js} +6 -5
- package/dist/chunks/{text-f1wxz183ckq7qtl7.js → text-me99rjbjkaff98gp.js} +1 -2
- package/dist/chunks/{toast-bzaothy2yrezh787.js → toast-b4t9rt9y1sumcmy2.js} +4 -4
- package/dist/chunks/{toolbar-h213d8e22yjh5cwq.js → toolbar-hov6sa3ui366f447.js} +5 -5
- package/dist/chunks/{tooltip-o4natsv01lpq8oq2.js → tooltip-lguwh8bjhxwnjfus.js} +3 -3
- package/dist/chunks/use-copy-feedback-gl55ghst0csvpv4j.js +55 -0
- package/dist/chunks/{useAnchoredPopupScrollLock-kp3kai20u91sdm7v.js → useAnchoredPopupScrollLock-msm8tzkewysnunut.js} +4 -4
- package/dist/chunks/{useAnimationFrame-0tt315hl9n3jzl86.js → useAnimationFrame-k9lqdj9quln3sd85.js} +3 -3
- package/dist/chunks/{useAriaLabelledBy-ox8dum59shmgypq1.js → useAriaLabelledBy-j3j9jqlr9ukyk08s.js} +7 -6
- package/dist/chunks/{useBaseUiId-lg1teubxudgin0w2.js → useBaseUiId-nk4k7nj9h1cy76ny.js} +2 -2
- package/dist/chunks/{useButton-h7s9aq1sfw6arawe.js → useButton-lklvdzuhvj22bx07.js} +14 -12
- package/dist/chunks/{useClick-l0p0endoxrlp0ae5.js → useClick-pcbkcc7r620v1smu.js} +12 -12
- package/dist/chunks/{useCollapsiblePanel-g6t146nqj521pild.js → useCollapsiblePanel-lrfsgx21ds36cwlp.js} +75 -28
- package/dist/chunks/{useCompositeItem-p7090ga00dpqcg5j.js → useCompositeItem-2juex3zh9gyrs8e9.js} +4 -4
- package/dist/chunks/{useCompositeListItem-odg6yo4h8866b37o.js → useCompositeListItem-ekwo2j2rjkggg7xj.js} +3 -3
- package/dist/chunks/{useControlled-lfns1ot6kwowa4t4.js → useControlled-i3srnkxy598s0au9.js} +3 -3
- package/dist/chunks/{useFieldValidation-e5pc8loiwzd68g4f.js → useFieldValidation-oe16jiigp971yrzr.js} +7 -7
- package/dist/chunks/{useFloatingRootContext-c849wtis7gx013m8.js → useFloatingRootContext-k676b6m7f80bdapd.js} +6 -6
- package/dist/chunks/{useFocus-lqwrnfa1svv3bcx1.js → useFocus-mn7a9t9v6fnlb4mf.js} +12 -14
- package/dist/chunks/useId-82z8yqlmc1hy1c5t.js +50 -0
- package/dist/chunks/useInitialLiveRegionTextMutation-nl2hus7zx1h7ggno.js +86 -0
- package/dist/chunks/{useLabel-kcggu762z3z2taeb.js → useLabel-me6zzfvkypo458pi.js} +19 -9
- package/dist/chunks/{useLabelableId-gqiiuqqn2k0u62r4.js → useLabelableId-bjeh6q3pgrqjb7er.js} +6 -6
- package/dist/chunks/{useListNavigation-3nyjs362qcau34in.js → useListNavigation-hpddbd0cc9pvt461.js} +56 -74
- package/dist/chunks/{useOnMount-hadwgyauanbzrvem.js → useOnMount-gxggz1m0n869s6r0.js} +2 -2
- package/dist/chunks/{useOpenChangeComplete-lk2gfu250t7r20c6.js → useOpenChangeComplete-edtabjwqmechsyv6.js} +10 -8
- package/dist/chunks/{usePopupHandleStore-hx871cmn66j0q7wz.js → usePopupHandleStore-gawjmfjf1xdgiph3.js} +2 -2
- package/dist/chunks/{usePopupViewport-iy5j9zawjrr3pcs0.js → usePopupViewport-l6w01iohvzloghy8.js} +28 -36
- package/dist/chunks/{usePositioner-k9nc7cl550bgfwzs.js → usePositioner-mzvgnazldqvy44z2.js} +41 -72
- package/dist/chunks/usePressAndHold-k9ynk78pgf677kpx.js +179 -0
- package/dist/chunks/{usePreviousValue-io5t1pdxehw21l85.js → usePreviousValue-o6swt5tb7xhpdu4e.js} +1 -1
- package/dist/chunks/{useRegisterFieldControl-lvusf6vc963clx02.js → useRegisterFieldControl-m1stc9l9y4cndf0k.js} +4 -4
- package/dist/chunks/{useRegisteredLabelId-hw6b87h1k7kow1o2.js → useRegisteredLabelId-b7u9ygya03448zzn.js} +3 -3
- package/dist/chunks/{useRender-onwjigxa00uch2ip.js → useRender-h9ktka9xt4obdv6y.js} +2 -2
- package/dist/chunks/{useRenderDialogRoot-lddunc01twftravv.js → useRenderDialogRoot-bsqrqpc1ddau7xg4.js} +57 -20
- package/dist/chunks/{useRenderElement-lrvp2pwrpt5zq1zd.js → useRenderElement-nkklxbq1rp7h2kw0.js} +17 -24
- package/dist/chunks/{useScrollLock-buonkbwuland9wl3.js → useScrollLock-le7ajwlt7oh6fzxi.js} +68 -72
- package/dist/chunks/useSetFieldFocused-fbvj7gcv67dqfkp0.js +35 -0
- package/dist/chunks/{useStableCallback-b1i1ghzd9k75bb85.js → useStableCallback-le5qgj6p9l04729n.js} +3 -3
- package/dist/chunks/{useSwipeDismiss-m1s13x9t9ey9ax3p.js → useSwipeDismiss-e8tfxzlp05p86mgb.js} +35 -54
- package/dist/chunks/{useTimeout-cpql3c8p250cr093.js → useTimeout-f0ayn2l2l9aop4l8.js} +3 -3
- package/dist/chunks/{useTransitionStatus-bwqaavnekreihom2.js → useTransitionStatus-disysoblzgk34w14.js} +9 -5
- package/dist/chunks/{useTriggerFocusGuards-lz7wt484xltizro4.js → useTriggerFocusGuards-dyd3hb1m8en8ct50.js} +12 -22
- package/dist/chunks/useTriggerSwitchTransition-hk5j36hd5dq2ok6w.js +62 -0
- package/dist/chunks/{useTypeahead-kvag4w6hu2g1kbwt.js → useTypeahead-kfdsw1ksl5bgvvzl.js} +16 -12
- package/dist/chunks/{useValueAsRef-o4s9ohb3aczypmnk.js → useValueAsRef-dv0tmfr1xlpzdlru.js} +3 -3
- package/dist/chunks/{useValueChanged-cz5wflhe8g15n6w1.js → useValueChanged-fjssa2v6d4w8y332.js} +3 -3
- package/dist/chunks/{utils-0i7gujfv3f3e9dqh.js → utils-o44zfmzz9z7uyj1v.js} +0 -1
- package/dist/chunks/{valueToPercent-d7gbqk1umostj7ch.js → valueToPercent-djk2mqnihth2uvf6.js} +1 -1
- package/dist/chunks/vendor-styling-gs32v7xt5znc8kg0.js +1167 -0
- package/dist/chunks/{vendor-utils-ecfbsk425x1bm0gh.js → vendor-utils-io8z5lsfxq8m2dcc.js} +88 -30
- package/dist/chunks/{visuallyHidden-nous086atnlxtf74.js → visuallyHidden-kzzs9hbe93is3rci.js} +2 -1
- package/dist/code.js +6 -11
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +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-group.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/chart.d.ts +1 -1
- package/dist/components/chart.js +1 -1
- package/dist/components/checkbox.d.ts +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/code.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.d.ts +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.d.ts +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/inline-copy-text.js +1 -1
- package/dist/components/input-group.js +1 -1
- package/dist/components/input.js +3 -3
- package/dist/components/label.d.ts +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/layer-card.js +1 -1
- package/dist/components/layer-dialog.d.ts +2 -2
- package/dist/components/layer-dialog.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +2 -2
- 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.d.ts +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/radio.d.ts +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 +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/slider.d.ts +2 -0
- package/dist/components/slider.js +3 -0
- 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/tag-input.js +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-NqlNd7cQ.d.ts → index-5bJAnzUo.d.ts} +19 -7
- package/dist/{index-Cqrye3KD.d.ts → index-AUC5xRcO.d.ts} +64 -7
- package/dist/{index-C0d8uwYO.d.ts → index-BW1HVU7T.d.ts} +33 -5
- package/dist/index-BWe6haHU.d.ts +64 -0
- package/dist/{index-ChGFA5-n.d.ts → index-BvNXYn7u.d.ts} +4 -1
- package/dist/{index-D-y1ktn-.d.ts → index-CE09bLNb.d.ts} +5 -1
- package/dist/{index-bAud6rG2.d.ts → index-CU_lnxg7.d.ts} +13 -4
- package/dist/{index-Vj9ZzRh0.d.ts → index-DNsSKNUe.d.ts} +4 -1
- package/dist/{index-J1qdw9mL.d.ts → index-DjSGDESy.d.ts} +36 -2
- package/dist/{index-_Sl5wohy.d.ts → index-RP_rt8vB.d.ts} +1 -1
- package/dist/{index-Cp0aQngm.d.ts → index-T1sSoiWG.d.ts} +3 -1
- package/dist/{index-CtTNoYA2.d.ts → index-fsZE0vPs.d.ts} +12 -0
- package/dist/index.d.ts +14 -13
- package/dist/index.js +68 -63
- package/dist/{locale-provider-BLGya10h.d.ts → locale-provider-CAjVN3_0.d.ts} +6 -2
- package/dist/primitives/accordion.js +2 -2
- package/dist/primitives/alert-dialog.js +7 -2
- package/dist/primitives/autocomplete.js +5 -2
- package/dist/primitives/avatar.js +2 -2
- package/dist/primitives/button.js +2 -2
- package/dist/primitives/checkbox-group.js +3 -2
- package/dist/primitives/checkbox.js +3 -2
- package/dist/primitives/collapsible.js +4 -2
- package/dist/primitives/combobox.js +5 -2
- package/dist/primitives/context-menu.js +5 -2
- package/dist/primitives/csp-provider.js +1 -1
- package/dist/primitives/dialog.js +8 -2
- package/dist/primitives/direction-provider.js +2 -2
- package/dist/primitives/drawer.js +5 -2
- package/dist/primitives/field.js +3 -2
- package/dist/primitives/fieldset.js +2 -2
- package/dist/primitives/form.js +1 -1
- package/dist/primitives/input.js +3 -2
- package/dist/primitives/menu.js +5 -2
- package/dist/primitives/menubar.js +2 -2
- package/dist/primitives/meter.js +1 -1
- package/dist/primitives/navigation-menu.js +2 -2
- package/dist/primitives/number-field.js +2 -2
- package/dist/primitives/otp-field.js +3 -2
- package/dist/primitives/popover.js +2 -2
- package/dist/primitives/preview-card.js +2 -2
- package/dist/primitives/progress.js +2 -2
- package/dist/primitives/radio-group.js +3 -2
- package/dist/primitives/radio.js +3 -2
- package/dist/primitives/scroll-area.js +3 -2
- package/dist/primitives/select.js +4 -2
- package/dist/primitives/separator.js +3 -2
- package/dist/primitives/slider.js +3 -2
- package/dist/primitives/switch.js +3 -2
- package/dist/primitives/tabs.js +3 -2
- package/dist/primitives/toast.js +4 -2
- package/dist/primitives/toggle-group.js +2 -2
- package/dist/primitives/toggle.js +2 -2
- package/dist/primitives/toolbar.js +2 -2
- package/dist/primitives/tooltip.js +3 -2
- package/dist/primitives.d.ts +1 -1
- package/dist/primitives.js +70 -42
- package/dist/styles/kumo-standalone.css +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +3 -3
- package/package.json +7 -3
- package/scripts/component-registry/discovery.ts +1 -0
- package/scripts/component-registry/metadata.ts +38 -0
- package/dist/chunks/DialogViewport-e1tqfisqexc7o9z8.js +0 -42
- package/dist/chunks/MenuBackdrop-ouznwyglg27bosoj.js +0 -73
- package/dist/chunks/index.parts-bq90erougcgrwlgk.js +0 -242
- package/dist/chunks/index.parts-cdxa6fwtp3lpkpp4.js +0 -11
- package/dist/chunks/index.parts-cl2xux9bjec6cibd.js +0 -44
- package/dist/chunks/index.parts-e9s1lqq3qa9l6ndm.js +0 -10
- package/dist/chunks/index.parts-eks3uafpskcxle6j.js +0 -99
- package/dist/chunks/index.parts-fbip2x29k5okvypg.js +0 -64
- package/dist/chunks/index.parts-fhza3s183grld7zq.js +0 -102
- package/dist/chunks/index.parts-hmx3qlh517ii56yi.js +0 -116
- package/dist/chunks/index.parts-i6gbeimeit8gzhvi.js +0 -10
- package/dist/chunks/index.parts-ioii4acz2bjrf6sb.js +0 -77
- package/dist/chunks/index.parts-jjup1zgnozoxi7ky.js +0 -140
- package/dist/chunks/index.parts-jpm6c0fe0gyky12m.js +0 -95
- package/dist/chunks/index.parts-moguar0t0u4aumou.js +0 -31
- package/dist/chunks/index.parts-mw0e646n3qp6v1qe.js +0 -73
- package/dist/chunks/index.parts-olcmo45gi8e1qma1.js +0 -10
- package/dist/chunks/popupStoreUtils-i0y57dvmcnqrh4pv.js +0 -444
- package/dist/chunks/radio-35dx7y6rjrezbjsp.js +0 -173
- package/dist/chunks/resolveValueLabel-hpmsash3ektitvnb.js +0 -123
- package/dist/chunks/useDismiss-me91ertzzz3gly12.js +0 -384
- package/dist/chunks/useFilteredItems-kw2za6m9bng7twr0.js +0 -181
- package/dist/chunks/useForcedRerendering-i3n4ms0xose8borh.js +0 -14
- package/dist/chunks/useId-f8w657f9yys10abm.js +0 -32
- package/dist/chunks/vendor-styling-da1xibnxfkjmtglr.js +0 -3631
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
|
-
import { t as Field } from "./field-
|
|
5
|
-
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-
|
|
6
|
-
import { a as ComboboxGroupLabel, c as
|
|
7
|
-
import { n as ComboboxPositioner, r as ComboboxPortal, t as ComboboxPopup } from "./ComboboxPopup-
|
|
8
|
-
import { n as AutocompleteRoot, t as AutocompleteItem } from "./AutocompleteItem-
|
|
9
|
-
import { t as AutocompleteSeparator } from "./AutocompleteSeparator-
|
|
4
|
+
import { t as Field } from "./field-jzzlgre0jmrr38o2.js";
|
|
5
|
+
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-ksy1w6j1m6olz6ck.js";
|
|
6
|
+
import { a as ComboboxGroupLabel, c as ComboboxCollection, l as ComboboxInput, o as ComboboxGroup, s as ComboboxList, t as ComboboxEmpty, w as useCoreFilter } from "./ComboboxEmpty-gkt1y5b81a4983v7.js";
|
|
7
|
+
import { n as ComboboxPositioner, r as ComboboxPortal, t as ComboboxPopup } from "./ComboboxPopup-n8cbgys9st446j1i.js";
|
|
8
|
+
import { n as AutocompleteRoot, t as AutocompleteItem } from "./AutocompleteItem-36ysm5nwbsd0snr6.js";
|
|
9
|
+
import { t as AutocompleteSeparator } from "./AutocompleteSeparator-bnqeqh7i983d92gx.js";
|
|
10
10
|
import { createContext, useContext } from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { CheckIcon } from "@phosphor-icons/react";
|
|
@@ -70,12 +70,12 @@ function List({ className, ...props }) {
|
|
|
70
70
|
className: cn("min-h-0 flex-1 scroll-pt-2 scroll-pb-2 overflow-y-auto overscroll-contain", className)
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
|
-
function Item({ children, ...props }) {
|
|
73
|
+
function Item({ children, className, ...props }) {
|
|
74
74
|
return /* @__PURE__ */ jsxs(AutocompleteItem, {
|
|
75
75
|
"data-kumo-component": "Autocomplete",
|
|
76
76
|
"data-kumo-part": "item",
|
|
77
77
|
...props,
|
|
78
|
-
className: "group mx-1.5 grid cursor-pointer grid-cols-[1fr_16px] gap-2 rounded px-2 py-1.5 text-base data-highlighted:bg-kumo-
|
|
78
|
+
className: cn("group mx-1.5 grid cursor-pointer grid-cols-[1fr_16px] gap-2 rounded px-2 py-1.5 text-base", "data-highlighted:bg-kumo-tint data-selected:font-medium", className),
|
|
79
79
|
children: [/* @__PURE__ */ jsx("div", {
|
|
80
80
|
className: "col-start-1",
|
|
81
81
|
children
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -144,6 +144,7 @@ const renderIconNode = (IconComponent) => {
|
|
|
144
144
|
function Badge({ variant = KUMO_BADGE_DEFAULT_VARIANTS.variant, appearance = KUMO_BADGE_DEFAULT_VARIANTS.appearance, className, icon, children }) {
|
|
145
145
|
const dotColor = appearance === "dot" ? resolveVariant(KUMO_BADGE_VARIANTS.dotColor, variant, KUMO_BADGE_DEFAULT_VARIANTS.dotColor).classes : "";
|
|
146
146
|
return /* @__PURE__ */ jsxs("span", {
|
|
147
|
+
"data-kumo-component": "Badge",
|
|
147
148
|
className: cn(badgeVariants({
|
|
148
149
|
variant,
|
|
149
150
|
appearance
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
|
-
import { r as Link } from "./link-
|
|
5
|
-
import { t as Button } from "./button-
|
|
4
|
+
import { r as Link } from "./link-h84bkh8eem39p529.js";
|
|
5
|
+
import { t as Button } from "./button-oxy32x5w9x9az80g.js";
|
|
6
6
|
import { createContext, forwardRef, isValidElement, useContext } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/banner/banner-action.tsx
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
4
|
import { n as useLinkComponent } from "./link-provider-kbwllpbo24fvgioj.js";
|
|
5
|
-
import { t as Button } from "./button-
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
5
|
+
import { t as Button } from "./button-oxy32x5w9x9az80g.js";
|
|
6
|
+
import { t as useCopyFeedback } from "./use-copy-feedback-gl55ghst0csvpv4j.js";
|
|
7
|
+
import { t as SkeletonLine } from "./skeleton-line-gjf1fecmyy82aejz.js";
|
|
8
|
+
import { Children, cloneElement, isValidElement } from "react";
|
|
8
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
import { CheckIcon, CopyIcon } from "@phosphor-icons/react";
|
|
10
11
|
//#region src/components/breadcrumbs/breadcrumbs.tsx
|
|
@@ -83,20 +84,10 @@ function MobileEllipsis() {
|
|
|
83
84
|
});
|
|
84
85
|
}
|
|
85
86
|
function Clipboard({ text }) {
|
|
86
|
-
const
|
|
87
|
-
useEffect(() => {
|
|
88
|
-
if (!isCopied) return;
|
|
89
|
-
const timeoutId = setTimeout(() => setIsCopied(false), 2e3);
|
|
90
|
-
return () => clearTimeout(timeoutId);
|
|
91
|
-
}, [isCopied]);
|
|
87
|
+
const { copied: isCopied, runCopy } = useCopyFeedback();
|
|
92
88
|
const handleCopyDeeplink = async () => {
|
|
93
89
|
if (!text) return;
|
|
94
|
-
|
|
95
|
-
await navigator.clipboard.writeText(text);
|
|
96
|
-
setIsCopied(true);
|
|
97
|
-
} catch (err) {
|
|
98
|
-
console.error("Failed to copy deeplink:", err);
|
|
99
|
-
}
|
|
90
|
+
await runCopy(() => navigator.clipboard.writeText(text), (error) => console.error("Failed to copy deeplink:", error));
|
|
100
91
|
};
|
|
101
92
|
return /* @__PURE__ */ jsx(Button, {
|
|
102
93
|
variant: "ghost",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/button-group/button-group.tsx
|
|
@@ -10,7 +10,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
10
10
|
const KUMO_BUTTON_GROUP_VARIANTS = {};
|
|
11
11
|
const KUMO_BUTTON_GROUP_DEFAULT_VARIANTS = {};
|
|
12
12
|
/** Base classes shared by every ButtonGroup. */
|
|
13
|
-
const KUMO_BUTTON_GROUP_STYLING = { baseClasses: cn("relative isolate inline-flex w-max flex-row", "[&>*]:relative [&>*:focus-visible]:z-10 [&>*:has(:focus-visible)]:z-10", "[&>*>:is(button,a)]:shadow-none [&>:is(button,a)]:shadow-none", "[&>*:not(:first-child):is(button,a)]:rounded-s-none", "[&>*:
|
|
13
|
+
const KUMO_BUTTON_GROUP_STYLING = { baseClasses: cn("relative isolate inline-flex w-max flex-row", "[&>*]:relative [&>*:focus-visible]:z-10 [&>*:has(:focus-visible)]:z-10", "[&>*>:is(button,a)]:shadow-none [&>:is(button,a)]:shadow-none", "[&>*:not(:first-child):is(button,a)]:rounded-s-none", "[&>*:is(button,a):has(~_:is(button,a))]:rounded-e-none", "[&>*:not(:first-child)>:is(button,a)]:rounded-s-none", "[&>*:not(:last-child)>:is(button,a)]:rounded-e-none", "[&>*:not(:first-child)]:-ms-px") };
|
|
14
14
|
/**
|
|
15
15
|
* Joins a small set of tightly-coupled buttons into a single control — most
|
|
16
16
|
* commonly a **split button**: a primary action next to a dropdown trigger for
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
4
|
import { n as useLinkComponent } from "./link-provider-kbwllpbo24fvgioj.js";
|
|
5
|
-
import { t as Loader } from "./loader-
|
|
6
|
-
import { t as Tooltip } from "./tooltip-
|
|
5
|
+
import { t as Loader } from "./loader-kv5nk8j8tsuesxqo.js";
|
|
6
|
+
import { t as Tooltip } from "./tooltip-lguwh8bjhxwnjfus.js";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { ArrowsClockwise } from "@phosphor-icons/react";
|
|
@@ -84,6 +84,24 @@ function buttonVariants({ variant = KUMO_BUTTON_DEFAULT_VARIANTS.variant, size =
|
|
|
84
84
|
const isCompactShape = shape === "square" || shape === "circle";
|
|
85
85
|
return cn("group flex w-max shrink-0 items-center font-medium select-none", "border-0 shadow-xs", "focus:ring-kumo-focus/50 focus:outline-none focus-visible:ring-2 focus-visible:ring-kumo-brand", "cursor-pointer", "disabled:cursor-not-allowed disabled:text-kumo-subtle", resolveVariant(KUMO_BUTTON_VARIANTS.size, size, KUMO_BUTTON_DEFAULT_VARIANTS.size).classes, resolveVariant(KUMO_BUTTON_VARIANTS.shape, shape, KUMO_BUTTON_DEFAULT_VARIANTS.shape).classes, isCompactShape && resolveVariant(KUMO_BUTTON_VARIANTS.compactSize, size, KUMO_BUTTON_DEFAULT_VARIANTS.size).classes, resolveVariant(KUMO_BUTTON_VARIANTS.variant, variant, KUMO_BUTTON_DEFAULT_VARIANTS.variant).classes);
|
|
86
86
|
}
|
|
87
|
+
const TEXT_LIFT_CLASSES = {
|
|
88
|
+
xs: "pb-px [--kumo-button-text-lift:0.5px]",
|
|
89
|
+
sm: "pb-px [--kumo-button-text-lift:0.5px]",
|
|
90
|
+
base: "pb-0.5 [--kumo-button-text-lift:1px]",
|
|
91
|
+
lg: "pb-0.5 [--kumo-button-text-lift:1px]"
|
|
92
|
+
};
|
|
93
|
+
const ICON_LEADING_PADDING = {
|
|
94
|
+
xs: "pl-1",
|
|
95
|
+
sm: "pl-1.5",
|
|
96
|
+
base: "pl-2.5",
|
|
97
|
+
lg: "pl-3.5"
|
|
98
|
+
};
|
|
99
|
+
const ICON_CENTER_CLASSES = "[&>svg:first-child]:translate-y-(--kumo-button-text-lift) [&>span.relative>svg:first-child]:translate-y-(--kumo-button-text-lift)";
|
|
100
|
+
const getTextClasses = (shape, size, iconNode, children) => {
|
|
101
|
+
const hasText = React.Children.toArray(children).some((child) => child !== "");
|
|
102
|
+
if (shape !== "base" || !hasText) return void 0;
|
|
103
|
+
return cn(TEXT_LIFT_CLASSES[size], iconNode != null && [ICON_LEADING_PADDING[size], ICON_CENTER_CLASSES]);
|
|
104
|
+
};
|
|
87
105
|
const renderIconNode = (IconComponent) => {
|
|
88
106
|
if (!IconComponent) return null;
|
|
89
107
|
if (React.isValidElement(IconComponent)) return IconComponent;
|
|
@@ -162,7 +180,7 @@ const Button = React.forwardRef(({ children, className, disabled, loading, shape
|
|
|
162
180
|
variant,
|
|
163
181
|
size,
|
|
164
182
|
shape
|
|
165
|
-
}), disabled && "cursor-not-allowed opacity-50", className),
|
|
183
|
+
}), getTextClasses(shape, size, iconNode, children), disabled && "cursor-not-allowed opacity-50", className),
|
|
166
184
|
disabled: loading || disabled,
|
|
167
185
|
style: emphasisStyle ? {
|
|
168
186
|
...emphasisStyle,
|
|
@@ -231,6 +249,7 @@ const LinkButton = React.forwardRef(({ children, className, disabled = false, ex
|
|
|
231
249
|
variant,
|
|
232
250
|
children
|
|
233
251
|
});
|
|
252
|
+
const iconNode = renderIconNode(IconComponent);
|
|
234
253
|
const link = /* @__PURE__ */ jsx(LinkComponent, {
|
|
235
254
|
ref,
|
|
236
255
|
"data-kumo-component": "LinkButton",
|
|
@@ -238,7 +257,7 @@ const LinkButton = React.forwardRef(({ children, className, disabled = false, ex
|
|
|
238
257
|
variant,
|
|
239
258
|
size,
|
|
240
259
|
shape
|
|
241
|
-
}), "flex items-center no-underline! select-text", className),
|
|
260
|
+
}), getTextClasses(shape, size, iconNode, children), "flex items-center no-underline! select-text", className),
|
|
242
261
|
href,
|
|
243
262
|
style: emphasisStyle ? {
|
|
244
263
|
...emphasisStyle,
|
|
@@ -247,7 +266,7 @@ const LinkButton = React.forwardRef(({ children, className, disabled = false, ex
|
|
|
247
266
|
to: typeof href === "string" ? href : void 0,
|
|
248
267
|
...externalProps,
|
|
249
268
|
...props,
|
|
250
|
-
children: renderButtonContent(variant,
|
|
269
|
+
children: renderButtonContent(variant, iconNode, children)
|
|
251
270
|
});
|
|
252
271
|
if (title) return /* @__PURE__ */ jsx(Tooltip, {
|
|
253
272
|
content: title,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
3
|
-
import { a as TooltipTrigger, i as TooltipPortal, n as TooltipPositioner, s as TooltipRoot, t as TooltipPopup } from "./TooltipPopup-
|
|
4
|
-
import { t as Text } from "./text-
|
|
5
|
-
import { t as SkeletonLine } from "./skeleton-line-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
|
+
import { a as TooltipTrigger, i as TooltipPortal, n as TooltipPositioner, s as TooltipRoot, t as TooltipPopup } from "./TooltipPopup-furysmeyb68uycbz.js";
|
|
4
|
+
import { t as Text } from "./text-me99rjbjkaff98gp.js";
|
|
5
|
+
import { t as SkeletonLine } from "./skeleton-line-gjf1fecmyy82aejz.js";
|
|
6
6
|
import { forwardRef, memo, useCallback, useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/chart/Color.ts
|
|
@@ -530,11 +530,16 @@ const DEFAULT_X_AXIS_TICK_COUNT = 5;
|
|
|
530
530
|
* yAxisName="Count"
|
|
531
531
|
* yAxisTickFormat={(value) => `${value / 1000}k`}
|
|
532
532
|
* tooltipValueFormat={(value) => `${value.toFixed(2)} req/s`}
|
|
533
|
+
* tooltipTimestampFormat={(timestamp) => new Intl.DateTimeFormat(undefined, {
|
|
534
|
+
* timeZone: "UTC",
|
|
535
|
+
* dateStyle: "medium",
|
|
536
|
+
* timeStyle: "medium",
|
|
537
|
+
* }).format(timestamp)}
|
|
533
538
|
* onTimeRangeChange={(from, to) => setRange([from, to])}
|
|
534
539
|
* />
|
|
535
540
|
* ```
|
|
536
541
|
*/
|
|
537
|
-
const TimeseriesChart = forwardRef(function TimeseriesChart({ echarts, type = "line", data, markers, thresholds, xAxisName, xAxisTickCount, xAxisTickFormat, yAxisTickFormat, yAxisTickLabelFormat, yAxisName, yAxisTickCount, yAxisMinInterval, tooltipValueFormat, tooltipFooter, onTimeRangeChange, height = 350, incomplete, enableLegendSelection = false, isDarkMode, gradient, loading, ariaDescription, optionUpdateBehavior, tooltipMode = "all", tooltipMaxItems = 10, tooltipFollowCursor = "both", tooltipBoundary }, ref) {
|
|
542
|
+
const TimeseriesChart = forwardRef(function TimeseriesChart({ echarts, type = "line", data, markers, thresholds, xAxisName, xAxisTickCount, xAxisTickFormat, yAxisTickFormat, yAxisTickLabelFormat, yAxisName, yAxisTickCount, yAxisMinInterval, tooltipValueFormat, tooltipTimestampFormat, tooltipFooter, onTimeRangeChange, height = 350, incomplete, enableLegendSelection = false, isDarkMode, gradient, loading, ariaDescription, optionUpdateBehavior, tooltipMode = "all", tooltipMaxItems = 10, tooltipFollowCursor = "both", tooltipBoundary }, ref) {
|
|
538
543
|
const chartRef = useRef(null);
|
|
539
544
|
const containerRef = useRef(null);
|
|
540
545
|
const mergedRef = useCallback((instance) => {
|
|
@@ -899,7 +904,7 @@ const TimeseriesChart = forwardRef(function TimeseriesChart({ echarts, type = "l
|
|
|
899
904
|
children: /* @__PURE__ */ jsx(TooltipContent, {
|
|
900
905
|
state: tooltipState,
|
|
901
906
|
formatValue: tooltipValueFormat ?? yAxisTickLabelFormat,
|
|
902
|
-
formatTimestamp,
|
|
907
|
+
formatTimestamp: tooltipTimestampFormat ?? formatDefaultTimestamp,
|
|
903
908
|
footer: tooltipFooter
|
|
904
909
|
})
|
|
905
910
|
})
|
|
@@ -1141,11 +1146,10 @@ const tooltipDateFormat = new Intl.DateTimeFormat(void 0, {
|
|
|
1141
1146
|
hour12: false
|
|
1142
1147
|
});
|
|
1143
1148
|
/**
|
|
1144
|
-
* Formats a timestamp
|
|
1145
|
-
* Accepts a Unix timestamp in milliseconds, an ISO date string, or a `Date` object.
|
|
1149
|
+
* Formats a Unix timestamp in milliseconds using the browser's locale and time zone.
|
|
1146
1150
|
*/
|
|
1147
|
-
function
|
|
1148
|
-
return tooltipDateFormat.format(
|
|
1151
|
+
function formatDefaultTimestamp(timestamp) {
|
|
1152
|
+
return tooltipDateFormat.format(timestamp);
|
|
1149
1153
|
}
|
|
1150
1154
|
//#endregion
|
|
1151
1155
|
//#region src/components/chart/Legend.tsx
|
|
@@ -1,27 +1,46 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
3
|
-
import { r as Label } from "./label-
|
|
4
|
-
import { n as FieldsetRoot, t as FieldsetLegend } from "./FieldsetLegend-
|
|
5
|
-
import { n as FieldRoot, t as FieldLabel } from "./FieldLabel-
|
|
6
|
-
import { t as CheckboxGroup$1 } from "./CheckboxGroup-
|
|
7
|
-
import { n as CheckboxRoot, t as CheckboxIndicator } from "./CheckboxIndicator-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
|
+
import { r as Label } from "./label-hugrtzreeqk5mtqu.js";
|
|
4
|
+
import { n as FieldsetRoot, t as FieldsetLegend } from "./FieldsetLegend-gl9z9eezr0xg9zr7.js";
|
|
5
|
+
import { n as FieldRoot, t as FieldLabel } from "./FieldLabel-fjc7tdis7rcbq8o4.js";
|
|
6
|
+
import { t as CheckboxGroup$1 } from "./CheckboxGroup-581mfftu99wvjb3a.js";
|
|
7
|
+
import { n as CheckboxRoot, t as CheckboxIndicator } from "./CheckboxIndicator-i13dmhacfgqo328c.js";
|
|
8
8
|
import { createContext, forwardRef, useContext } from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { CheckIcon, MinusIcon } from "@phosphor-icons/react";
|
|
11
11
|
//#region src/components/checkbox/checkbox.tsx
|
|
12
12
|
/** Checkbox variant definitions mapping variant names to their Tailwind classes. */
|
|
13
|
-
const KUMO_CHECKBOX_VARIANTS = {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
const KUMO_CHECKBOX_VARIANTS = {
|
|
14
|
+
variant: {
|
|
15
|
+
default: {
|
|
16
|
+
classes: "[&:focus-within>span]:ring-kumo-focus [&:hover>span]:ring-kumo-hairline",
|
|
17
|
+
description: "Default checkbox appearance"
|
|
18
|
+
},
|
|
19
|
+
error: {
|
|
20
|
+
classes: "[&>span]:ring-kumo-danger",
|
|
21
|
+
description: "Error state for validation failures"
|
|
22
|
+
}
|
|
17
23
|
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
appearance: {
|
|
25
|
+
default: {
|
|
26
|
+
classes: "",
|
|
27
|
+
description: "Standard inline checkbox item"
|
|
28
|
+
},
|
|
29
|
+
card: {
|
|
30
|
+
classes: "rounded-lg border border-kumo-hairline bg-kumo-base p-3 hover:not-has-[[data-checked]]:bg-kumo-elevated has-[[data-checked]]:border-kumo-interact has-[[data-checked]]:bg-kumo-tint",
|
|
31
|
+
description: "Choice card appearance with border, padding, and highlighted selection state"
|
|
32
|
+
}
|
|
21
33
|
}
|
|
22
|
-
}
|
|
23
|
-
const KUMO_CHECKBOX_DEFAULT_VARIANTS = {
|
|
24
|
-
|
|
34
|
+
};
|
|
35
|
+
const KUMO_CHECKBOX_DEFAULT_VARIANTS = {
|
|
36
|
+
variant: "default",
|
|
37
|
+
appearance: "default"
|
|
38
|
+
};
|
|
39
|
+
const CheckboxGroupContext = createContext({
|
|
40
|
+
controlFirst: void 0,
|
|
41
|
+
appearance: "default",
|
|
42
|
+
orientation: null
|
|
43
|
+
});
|
|
25
44
|
const CheckboxBase = forwardRef(({ className, checked, indeterminate, disabled, variant = "default", label, labelTooltip, controlFirst = true, onCheckedChange, required, name, ...props }, ref) => {
|
|
26
45
|
{
|
|
27
46
|
const hasLabel = Boolean(label);
|
|
@@ -69,8 +88,52 @@ const CheckboxBase = forwardRef(({ className, checked, indeterminate, disabled,
|
|
|
69
88
|
});
|
|
70
89
|
});
|
|
71
90
|
CheckboxBase.displayName = "Checkbox";
|
|
72
|
-
const CheckboxItem = forwardRef(({ className, checked, indeterminate, disabled, variant = "default", label, value, onCheckedChange, name }, ref) => {
|
|
73
|
-
const { controlFirst } = useContext(CheckboxGroupContext);
|
|
91
|
+
const CheckboxItem = forwardRef(({ className, checked, indeterminate, disabled, variant = "default", appearance: appearanceProp, label, description, value, onCheckedChange, name }, ref) => {
|
|
92
|
+
const { controlFirst: groupControlFirst, appearance: groupAppearance, orientation } = useContext(CheckboxGroupContext);
|
|
93
|
+
const isCard = (appearanceProp ?? groupAppearance) === "card";
|
|
94
|
+
const controlFirst = groupControlFirst ?? !isCard;
|
|
95
|
+
const isJoined = isCard && groupAppearance === "card" && orientation !== null;
|
|
96
|
+
const indicator = /* @__PURE__ */ jsx(CheckboxIndicator, {
|
|
97
|
+
keepMounted: true,
|
|
98
|
+
className: "flex items-center justify-center text-kumo-inverse data-[unchecked]:invisible",
|
|
99
|
+
render: (renderProps, state) => /* @__PURE__ */ jsx("span", {
|
|
100
|
+
...renderProps,
|
|
101
|
+
children: state.indeterminate ? /* @__PURE__ */ jsx(MinusIcon, {
|
|
102
|
+
weight: "bold",
|
|
103
|
+
size: 12
|
|
104
|
+
}) : /* @__PURE__ */ jsx(CheckIcon, {
|
|
105
|
+
weight: "bold",
|
|
106
|
+
size: 12
|
|
107
|
+
})
|
|
108
|
+
})
|
|
109
|
+
});
|
|
110
|
+
if (isCard) return /* @__PURE__ */ jsxs("label", {
|
|
111
|
+
"data-kumo-component": "Checkbox",
|
|
112
|
+
"data-kumo-part": "item-label",
|
|
113
|
+
className: cn("group relative m-0 flex items-start gap-3 bg-kumo-base p-3 has-[[data-checked]]:bg-kumo-tint", isJoined ? cn("border-b border-kumo-line bg-clip-padding last:border-b-0", orientation === "horizontal" && "odd:border-r [&:last-child:nth-child(odd)]:border-r-0 [&:nth-last-child(2):nth-child(odd)]:border-b-0") : "rounded-lg border border-kumo-hairline has-[[data-checked]]:border-kumo-interact", controlFirst && "flex-row-reverse", variant === "error" && cn("has-[[data-checked]]:bg-kumo-base", !isJoined && "border-kumo-danger has-[[data-checked]]:border-kumo-danger"), disabled ? "cursor-not-allowed opacity-50" : cn("cursor-pointer has-[[data-disabled]]:cursor-not-allowed has-[[data-disabled]]:opacity-50", variant !== "error" && "hover:not-has-[[data-disabled]]:not-has-[[data-checked]]:bg-kumo-elevated"), className),
|
|
114
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
115
|
+
className: "flex min-w-0 flex-1 flex-col gap-0.5",
|
|
116
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
117
|
+
className: "text-base font-medium text-kumo-default",
|
|
118
|
+
children: label
|
|
119
|
+
}), description && /* @__PURE__ */ jsx("span", {
|
|
120
|
+
className: "text-sm text-kumo-subtle",
|
|
121
|
+
children: description
|
|
122
|
+
})]
|
|
123
|
+
}), /* @__PURE__ */ jsx(CheckboxRoot, {
|
|
124
|
+
ref,
|
|
125
|
+
"data-kumo-component": "Checkbox",
|
|
126
|
+
"data-kumo-part": "item",
|
|
127
|
+
value,
|
|
128
|
+
name,
|
|
129
|
+
checked,
|
|
130
|
+
indeterminate,
|
|
131
|
+
disabled,
|
|
132
|
+
onCheckedChange,
|
|
133
|
+
className: cn("relative mt-0.5 flex h-4 w-4 shrink-0 items-center justify-center rounded-sm border-0 bg-kumo-base ring focus:ring-kumo-focus focus:outline-none focus-visible:ring-2 focus-visible:ring-kumo-brand", variant === "error" ? "ring-kumo-danger" : "ring-kumo-line", !disabled && variant !== "error" && "group-hover:ring-kumo-hairline", "data-[checked]:bg-kumo-contrast data-[checked]:ring-kumo-contrast data-[indeterminate]:bg-kumo-contrast data-[indeterminate]:ring-kumo-contrast"),
|
|
134
|
+
children: indicator
|
|
135
|
+
})]
|
|
136
|
+
});
|
|
74
137
|
return /* @__PURE__ */ jsxs("label", {
|
|
75
138
|
"data-kumo-component": "Checkbox",
|
|
76
139
|
"data-kumo-part": "item-label",
|
|
@@ -86,20 +149,7 @@ const CheckboxItem = forwardRef(({ className, checked, indeterminate, disabled,
|
|
|
86
149
|
disabled,
|
|
87
150
|
onCheckedChange,
|
|
88
151
|
className: cn("peer relative mt-0.5 flex h-4 w-4 shrink-0 items-center justify-center rounded-sm border-0 bg-kumo-base ring after:absolute after:-inset-x-3 after:-inset-y-2", variant === "error" ? "ring-kumo-danger" : "ring-kumo-hairline", !disabled && "group-hover:ring-kumo-hairline hover:ring-kumo-hairline focus:ring-2 focus:ring-kumo-focus focus-visible:ring-2 focus-visible:ring-kumo-brand", "data-[checked]:bg-kumo-contrast data-[checked]:ring-kumo-contrast data-[indeterminate]:bg-kumo-contrast data-[indeterminate]:ring-kumo-contrast"),
|
|
89
|
-
children:
|
|
90
|
-
keepMounted: true,
|
|
91
|
-
className: "flex items-center justify-center text-kumo-inverse data-[unchecked]:invisible",
|
|
92
|
-
render: (renderProps, state) => /* @__PURE__ */ jsx("span", {
|
|
93
|
-
...renderProps,
|
|
94
|
-
children: state.indeterminate ? /* @__PURE__ */ jsx(MinusIcon, {
|
|
95
|
-
weight: "bold",
|
|
96
|
-
size: 12
|
|
97
|
-
}) : /* @__PURE__ */ jsx(CheckIcon, {
|
|
98
|
-
weight: "bold",
|
|
99
|
-
size: 12
|
|
100
|
-
})
|
|
101
|
-
})
|
|
102
|
-
})
|
|
152
|
+
children: indicator
|
|
103
153
|
}), /* @__PURE__ */ jsx("span", {
|
|
104
154
|
className: "text-base text-kumo-default",
|
|
105
155
|
children: label
|
|
@@ -114,9 +164,13 @@ function CheckboxLegend({ children, className }) {
|
|
|
114
164
|
});
|
|
115
165
|
}
|
|
116
166
|
CheckboxLegend.displayName = "Checkbox.Legend";
|
|
117
|
-
function CheckboxGroup({ legend, children, error, description, defaultValue, value, onValueChange, allValues, disabled,
|
|
167
|
+
function CheckboxGroup({ legend, children, error, description, defaultValue, value, onValueChange, allValues, disabled, orientation = "vertical", appearance = "default", controlFirst, className }) {
|
|
118
168
|
return /* @__PURE__ */ jsx(CheckboxGroupContext.Provider, {
|
|
119
|
-
value: {
|
|
169
|
+
value: {
|
|
170
|
+
controlFirst,
|
|
171
|
+
appearance,
|
|
172
|
+
orientation
|
|
173
|
+
},
|
|
120
174
|
children: /* @__PURE__ */ jsx(CheckboxGroup$1, {
|
|
121
175
|
defaultValue,
|
|
122
176
|
value,
|
|
@@ -124,14 +178,14 @@ function CheckboxGroup({ legend, children, error, description, defaultValue, val
|
|
|
124
178
|
allValues,
|
|
125
179
|
disabled,
|
|
126
180
|
children: /* @__PURE__ */ jsxs(FieldsetRoot, {
|
|
127
|
-
className: cn("flex flex-col gap-
|
|
181
|
+
className: cn("flex flex-col p-0", appearance === "card" ? "gap-2" : "gap-4", className),
|
|
128
182
|
children: [
|
|
129
183
|
legend && /* @__PURE__ */ jsx(FieldsetLegend, {
|
|
130
184
|
className: "text-base font-medium text-kumo-default",
|
|
131
185
|
children: legend
|
|
132
186
|
}),
|
|
133
187
|
/* @__PURE__ */ jsx("div", {
|
|
134
|
-
className: "flex flex-col gap-2",
|
|
188
|
+
className: cn(orientation === "vertical" ? appearance === "card" ? "flex flex-col overflow-hidden rounded-lg ring ring-kumo-line" : "flex flex-col gap-2" : appearance === "card" ? "grid grid-cols-2 overflow-hidden rounded-lg bg-kumo-base ring ring-kumo-line" : "flex flex-row flex-wrap gap-2"),
|
|
135
189
|
children
|
|
136
190
|
}),
|
|
137
191
|
error && /* @__PURE__ */ jsx("p", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@base-ui+utils@0.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@base-ui+utils@0.5.0_@types+react@19.2.4_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/utils/clamp.mjs
|
|
3
3
|
function clamp(val, min = Number.MIN_SAFE_INTEGER, max = Number.MAX_SAFE_INTEGER) {
|
|
4
4
|
return Math.max(min, Math.min(val, max));
|
|
5
5
|
}
|
package/dist/chunks/{clipboard-text-gd6s3n1bqse9zgt8.js → clipboard-text-bhy88tgvk1o6wmyl.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
|
-
import { a as TooltipTrigger, i as TooltipPortal, n as TooltipPositioner, s as TooltipRoot, t as TooltipPopup } from "./TooltipPopup-
|
|
5
|
-
import { t as TooltipProvider } from "./TooltipProvider-
|
|
6
|
-
import { t as Button } from "./button-
|
|
7
|
-
import { a as ToastDescription,
|
|
8
|
-
import { r as inputVariants } from "./input-
|
|
4
|
+
import { a as TooltipTrigger, i as TooltipPortal, n as TooltipPositioner, s as TooltipRoot, t as TooltipPopup } from "./TooltipPopup-furysmeyb68uycbz.js";
|
|
5
|
+
import { t as TooltipProvider } from "./TooltipProvider-hyans0ens4axh1y8.js";
|
|
6
|
+
import { t as Button } from "./button-oxy32x5w9x9az80g.js";
|
|
7
|
+
import { a as ToastDescription, h as ToastProvider, l as ToastRoot, n as useToastManager, p as ToastViewport, r as ToastPositioner, t as createToastManager } from "./createToastManager-cxjmn4jx3ejh85fs.js";
|
|
8
|
+
import { r as inputVariants } from "./input-ksy1w6j1m6olz6ck.js";
|
|
9
9
|
import { forwardRef, useCallback, useEffect, useRef, useState } from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { CheckIcon, CopyIcon } from "@phosphor-icons/react";
|
package/dist/chunks/{cloudflare-logo-boafurcbm5ttoo4o.js → cloudflare-logo-d8mid9xr190h78cu.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/cloudflare-logo/cloudflare-logo.tsx
|
|
6
|
-
const CLOUDFLARE_ORANGE = "#
|
|
7
|
-
const CLOUDFLARE_YELLOW = "#
|
|
6
|
+
const CLOUDFLARE_ORANGE = "#FF5E1F";
|
|
7
|
+
const CLOUDFLARE_YELLOW = "#FF9911";
|
|
8
8
|
const CLOUDFLARE_TEXT_GRAY = "#404041";
|
|
9
9
|
const CLOUDFLARE_GLYPH_ORANGE_PATH = "M33.204 20.4C33.3649 19.9741 33.4217 19.5159 33.3695 19.0636C33.3173 18.6113 33.1577 18.1781 32.904 17.8C32.6435 17.4876 32.3239 17.2297 31.9636 17.0409C31.6032 16.8522 31.2092 16.7363 30.804 16.7L13.404 16.5C13.304 16.5 13.204 16.4 13.104 16.4C13.0808 16.3825 13.0618 16.3599 13.0488 16.3339C13.0358 16.3078 13.029 16.2791 13.029 16.25C13.029 16.2209 13.0358 16.1922 13.0488 16.1662C13.0618 16.1401 13.0808 16.1175 13.104 16.1C13.204 15.9 13.304 15.8 13.504 15.8L31.004 15.6C32.115 15.4767 33.1731 15.0597 34.0695 14.3918C34.9659 13.7239 35.6681 12.8293 36.104 11.8L37.104 9.20002C37.104 9.10002 37.204 9.00001 37.104 8.90001C36.5604 6.47843 35.2411 4.30052 33.3466 2.69721C31.4521 1.09391 29.086 0.152865 26.6079 0.0170769C24.1298 -0.118712 21.675 0.558179 19.6167 1.94489C17.5584 3.33161 16.009 5.35233 15.204 7.70002C14.159 6.95365 12.8843 6.59957 11.604 6.70002C10.4291 6.83102 9.33369 7.35777 8.49774 8.19372C7.66179 9.02966 7.13505 10.1251 7.00404 11.3C6.93745 11.9014 6.97125 12.5097 7.10404 13.1C5.20298 13.1526 3.39743 13.9448 2.07147 15.3081C0.745511 16.6714 0.00377461 18.4982 0.00403983 20.4C-0.0123708 20.7695 0.0212659 21.1395 0.104038 21.5C0.10863 21.5781 0.141713 21.6517 0.19701 21.707C0.252307 21.7623 0.325975 21.7954 0.404041 21.8H32.504C32.704 21.8 32.904 21.7 32.904 21.5L33.204 20.4Z";
|
|
10
10
|
const CLOUDFLARE_GLYPH_YELLOW_PATH = "M38.704 9.20002H38.204C38.104 9.20002 38.004 9.30001 37.904 9.40001L37.204 11.8C37.0431 12.2259 36.9864 12.6841 37.0386 13.1364C37.0908 13.5887 37.2504 14.0219 37.504 14.4C37.7646 14.7124 38.0842 14.9704 38.4445 15.1591C38.8049 15.3479 39.1989 15.4637 39.604 15.5L43.304 15.7C43.404 15.7 43.504 15.8 43.604 15.8C43.6273 15.8175 43.6462 15.8401 43.6592 15.8662C43.6723 15.8922 43.679 15.9209 43.679 15.95C43.679 15.9791 43.6723 16.0078 43.6592 16.0339C43.6462 16.0599 43.6273 16.0826 43.604 16.1C43.504 16.3 43.404 16.4 43.204 16.4L39.404 16.6C38.293 16.7233 37.2349 17.1403 36.3386 17.8082C35.4422 18.4761 34.74 19.3707 34.304 20.4L34.104 21.3C34.004 21.4 34.104 21.6 34.304 21.6H47.504C47.5448 21.6058 47.5863 21.6021 47.6254 21.5891C47.6644 21.5761 47.6999 21.5541 47.729 21.525C47.7581 21.4959 47.7801 21.4604 47.7931 21.4214C47.8061 21.3823 47.8099 21.3408 47.804 21.3C48.0421 20.4527 48.1764 19.5797 48.204 18.7C48.1882 16.1854 47.1822 13.7782 45.404 12C43.6259 10.2218 41.2187 9.21587 38.704 9.20002Z";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/code/code.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
3
|
-
import {
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
|
+
import { i as CollapsibleRoot$1, r as CollapsibleTrigger$1, t as CollapsiblePanel$1 } from "./CollapsiblePanel-md5suzmtnsyz1kab.js";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { CaretDownIcon } from "@phosphor-icons/react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { n as usePortalContainer } from "./portal-provider-eveknxf26oudn7pp.js";
|
|
4
|
-
import { t as Field } from "./field-
|
|
5
|
-
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-
|
|
6
|
-
import { C as useComboboxFilter, a as ComboboxGroupLabel, c as
|
|
7
|
-
import { a as ComboboxItemIndicator, i as ComboboxChips, n as ComboboxChipRemove, o as ComboboxValue, r as ComboboxChip, s as ComboboxRoot, t as createComboboxItems } from "./createItems-
|
|
8
|
-
import { n as ComboboxIcon, r as ComboboxTrigger, t as ComboboxClear } from "./ComboboxClear-
|
|
9
|
-
import { n as ComboboxPositioner, r as ComboboxPortal, t as ComboboxPopup } from "./ComboboxPopup-
|
|
4
|
+
import { t as Field } from "./field-jzzlgre0jmrr38o2.js";
|
|
5
|
+
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-ksy1w6j1m6olz6ck.js";
|
|
6
|
+
import { C as useComboboxFilter, a as ComboboxGroupLabel, c as ComboboxCollection, l as ComboboxInput, n as ComboboxItem, o as ComboboxGroup, s as ComboboxList, t as ComboboxEmpty } from "./ComboboxEmpty-gkt1y5b81a4983v7.js";
|
|
7
|
+
import { a as ComboboxItemIndicator, i as ComboboxChips, n as ComboboxChipRemove, o as ComboboxValue, r as ComboboxChip, s as ComboboxRoot, t as createComboboxItems } from "./createItems-n07tfwx89cdoar18.js";
|
|
8
|
+
import { n as ComboboxIcon, r as ComboboxTrigger, t as ComboboxClear } from "./ComboboxClear-ioejwvtnmqanph88.js";
|
|
9
|
+
import { n as ComboboxPositioner, r as ComboboxPortal, t as ComboboxPopup } from "./ComboboxPopup-n8cbgys9st446j1i.js";
|
|
10
10
|
import { Fragment, createContext, useContext } from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { CaretUpDownIcon, CheckIcon, XIcon } from "@phosphor-icons/react";
|
package/dist/chunks/{command-palette-crtm3nd32yjhuax1.js → command-palette-el4x943vpmid0po0.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
3
|
-
import { t as Loader } from "./loader-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
|
+
import { t as Loader } from "./loader-kv5nk8j8tsuesxqo.js";
|
|
4
4
|
import { n as usePortalContainer } from "./portal-provider-eveknxf26oudn7pp.js";
|
|
5
|
-
import { a as ComboboxGroupLabel, c as
|
|
6
|
-
import { r as DialogPortal } from "./useRenderDialogRoot-
|
|
7
|
-
import {
|
|
8
|
-
import { t as DialogRoot } from "./DialogRoot-
|
|
9
|
-
import { t as LayerCard } from "./layer-card-
|
|
10
|
-
import { n as AutocompleteRoot, t as AutocompleteItem } from "./AutocompleteItem-
|
|
5
|
+
import { a as ComboboxGroupLabel, c as ComboboxCollection, l as ComboboxInput, o as ComboboxGroup, s as ComboboxList, t as ComboboxEmpty } from "./ComboboxEmpty-gkt1y5b81a4983v7.js";
|
|
6
|
+
import { r as DialogPortal } from "./useRenderDialogRoot-bsqrqpc1ddau7xg4.js";
|
|
7
|
+
import { r as DialogBackdrop, t as DialogPopup } from "./DialogPopup-n6w7b389e7bs0472.js";
|
|
8
|
+
import { t as DialogRoot } from "./DialogRoot-hkkqj7vcjpkx8qk8.js";
|
|
9
|
+
import { t as LayerCard } from "./layer-card-mar4dya5kl1vvie6.js";
|
|
10
|
+
import { n as AutocompleteRoot, t as AutocompleteItem } from "./AutocompleteItem-36ysm5nwbsd0snr6.js";
|
|
11
11
|
import { createContext, forwardRef, useCallback, useContext, useRef } from "react";
|
|
12
12
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { ArrowRightIcon, ArrowSquareOutIcon, CaretRightIcon, MagnifyingGlassIcon } from "@phosphor-icons/react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { E as isHTMLElement } from "./vendor-floating-ui-fqblx3wa0r71mjoo.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.
|
|
3
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.9.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/internals/composite/composite.mjs
|
|
4
4
|
const ARROW_UP = "ArrowUp";
|
|
5
5
|
const ARROW_DOWN = "ArrowDown";
|
|
6
6
|
const ARROW_LEFT = "ArrowLeft";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.9.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/internals/composite/constants.mjs
|
|
3
3
|
const ACTIVE_COMPOSITE_ITEM = "data-composite-item-active";
|
|
4
4
|
//#endregion
|
|
5
5
|
export { ACTIVE_COMPOSITE_ITEM as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.
|
|
2
|
+
import { s as EMPTY_OBJECT } from "./useRenderElement-nkklxbq1rp7h2kw0.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.9.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/internals/createBaseUIEventDetails.mjs
|
|
4
4
|
/**
|
|
5
5
|
* Maps a change `reason` string to the corresponding native event type.
|
|
6
6
|
*/
|
|
@@ -10,6 +10,7 @@ import { o as EMPTY_OBJECT } from "./useRenderElement-lrvp2pwrpt5zq1zd.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Details of custom generic events emitted by Base UI components.
|
|
12
12
|
*/
|
|
13
|
+
/** Highlight navigation uses mouse events for hover and pointer events for leaving an item. */
|
|
13
14
|
/**
|
|
14
15
|
* Creates a Base UI event details object with the given reason and utilities
|
|
15
16
|
* for preventing Base UI's internal event handling.
|