@cloudflare/kumo 2.17.0 → 2.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/ai/USAGE.md +6 -0
  3. package/ai/component-registry.json +7 -6
  4. package/ai/component-registry.md +24 -1
  5. package/ai/schemas.ts +3 -1
  6. package/dist/.build-complete +1 -1
  7. package/dist/ai/schemas.d.ts +2 -0
  8. package/dist/ai/schemas.js +1 -0
  9. package/dist/{button-Bbi7gFL7.d.ts → button-DzavLWXm.d.ts} +3 -3
  10. package/dist/catalog.d.ts +4 -1
  11. package/dist/catalog.js +37 -14
  12. package/dist/chunks/{autocomplete-evlm6fj7v7w0g2z2.js → autocomplete-kx87ui5sodpxx2zm.js} +2 -2
  13. package/dist/chunks/{badge-kyz53p7p0ng393bs.js → badge-g0m6j3nji45tiink.js} +4 -2
  14. package/dist/chunks/{banner-lvbgdzxq3yndkbot.js → banner-mo1xl9ww734kgsqh.js} +21 -10
  15. package/dist/chunks/{breadcrumbs-fsuyq7z6hdh1thjv.js → breadcrumbs-o63hllvg6zlbxvcr.js} +2 -2
  16. package/dist/chunks/{button-k7axs4vu1rwx89w3.js → button-hzvowfkbathmx8yg.js} +12 -17
  17. package/dist/chunks/{chart-hp3vqwe49tbyywqm.js → chart-g4dnsqiamjh39chn.js} +1 -1
  18. package/dist/chunks/{checkbox-g8b4f2hs5vux3u26.js → checkbox-oav03hnpbj06x31v.js} +5 -5
  19. package/dist/chunks/{clipboard-text-fffd5tpa0iye6r6m.js → clipboard-text-ldk0zyq1qtey1yux.js} +2 -2
  20. package/dist/chunks/{combobox-iawd8lxwd5b18fce.js → combobox-iwqfbp2cn3z54azu.js} +18 -6
  21. package/dist/chunks/{command-palette-el4x943vpmid0po0.js → command-palette-d45ueqbuxygu87ir.js} +1 -1
  22. package/dist/chunks/{date-picker-kfoxd4u7ckg4nsez.js → date-picker-ija2bz17ai6ypnao.js} +3 -3
  23. package/dist/chunks/{date-range-picker-hpx3cdu9ve01jx6d.js → date-range-picker-oivlshld01jbel29.js} +1 -1
  24. package/dist/chunks/{dialog-lgrwmsumwpftp2u8.js → dialog-g7wavhkdv2gplwq9.js} +2 -2
  25. package/dist/chunks/{dropdown-o875yxeqod7qp871.js → dropdown-m5a8nwer5hpvnkfk.js} +3 -1
  26. package/dist/chunks/{empty-ir5bg5w4kkisuc1c.js → empty-dzm61keqaezmp452.js} +1 -1
  27. package/dist/chunks/{field-n7gmbg5xvh6oqbom.js → field-gkrpde59au4kjh7q.js} +1 -1
  28. package/dist/chunks/{inline-copy-text-57r67slswfqvgbaf.js → inline-copy-text-c6wa49ys72pj7k53.js} +1 -1
  29. package/dist/chunks/{input-iev3wgdzhkqpae2k.js → input-ehb5hnwkr2kx9rpw.js} +2 -2
  30. package/dist/chunks/{input-f0pbcvjudf5zb8ek.js → input-ggn78losfydwdjqg.js} +2 -2
  31. package/dist/chunks/{input-group-dqo5tcoewbdx86qx.js → input-group-grlfeiivjuhd7jif.js} +8 -6
  32. package/dist/chunks/{label-njfcj6h9utmg2n9l.js → label-f9vvtexndkpjlrv0.js} +1 -1
  33. package/dist/chunks/{layer-card-mar4dya5kl1vvie6.js → layer-card-lsmeuqic9i1isv2b.js} +2 -2
  34. package/dist/chunks/{layer-dialog-n7foup6icxowm82n.js → layer-dialog-cwpiki9rq2s6yidp.js} +3 -3
  35. package/dist/chunks/{menubar-b454nksysu0wicbz.js → menubar-gzlyhmmc4i24prn1.js} +1 -1
  36. package/dist/chunks/{pagination-mwlpbysq4cxmvs45.js → pagination-h5l4b9bfmf78s6jq.js} +2 -2
  37. package/dist/chunks/{radio-d3pkrvsldfbdefav.js → radio-nf717i5ypsga9zdh.js} +34 -33
  38. package/dist/chunks/{select-fae2ls189jrq902h.js → select-ei05w4df1th4fa4e.js} +10 -10
  39. package/dist/chunks/{sensitive-input-heb3xapwahzhpq6y.js → sensitive-input-owfvgxmefm5lzzx8.js} +4 -3
  40. package/dist/chunks/{sidebar-h6g412ror8p7uo0d.js → sidebar-jhwzfl3xpsfns60z.js} +11 -9
  41. package/dist/chunks/skeleton-line-kmhnp0lx3rxhioxa.js +74 -0
  42. package/dist/chunks/{slider-juwif2d8xa5n0429.js → slider-e395gihi5cjd62ss.js} +1 -1
  43. package/dist/chunks/{surface-ginwpan1pz61l6k2.js → surface-jr8x5hy0gucjk5ig.js} +1 -1
  44. package/dist/chunks/{switch-ktfauhluw1yi5tkk.js → switch-e1dsoxucn07fz00t.js} +4 -4
  45. package/dist/chunks/{table-lp41fsw7mqr751hn.js → table-m0xshmsbxq2h1sho.js} +1 -1
  46. package/dist/chunks/{tabs-mmkz7q5rofnmogwt.js → tabs-oi64kuuf2poro26u.js} +2 -2
  47. package/dist/chunks/{tag-input-k6vzllby4qebmv63.js → tag-input-fm0pwt6kea4q137b.js} +3 -3
  48. package/dist/chunks/{toast-kzwscia42707sau6.js → toast-iojuzen6iavawpc9.js} +1 -1
  49. package/dist/chunks/{toolbar-nnos2ouwfk7i6tpw.js → toolbar-3wkkukczgo0bk6mo.js} +3 -3
  50. package/dist/chunks/unwrap-lazy-element-hzbdkmujhd7iksau.js +45 -0
  51. package/dist/code.js +1 -1
  52. package/dist/command-line/cli.js +6 -5
  53. package/dist/components/autocomplete.js +1 -1
  54. package/dist/components/badge.d.ts +1 -1
  55. package/dist/components/badge.js +1 -1
  56. package/dist/components/banner.d.ts +1 -1
  57. package/dist/components/banner.js +1 -1
  58. package/dist/components/breadcrumbs.js +1 -1
  59. package/dist/components/button.d.ts +2 -2
  60. package/dist/components/button.js +1 -1
  61. package/dist/components/chart.js +1 -1
  62. package/dist/components/checkbox.js +1 -1
  63. package/dist/components/clipboard-text.js +1 -1
  64. package/dist/components/combobox.d.ts +1 -1
  65. package/dist/components/combobox.js +1 -1
  66. package/dist/components/command-palette.js +1 -1
  67. package/dist/components/date-picker.js +1 -1
  68. package/dist/components/date-range-picker.js +1 -1
  69. package/dist/components/dialog.js +1 -1
  70. package/dist/components/dropdown.js +1 -1
  71. package/dist/components/empty.js +1 -1
  72. package/dist/components/field.js +1 -1
  73. package/dist/components/inline-copy-text.d.ts +1 -1
  74. package/dist/components/inline-copy-text.js +1 -1
  75. package/dist/components/input-group.d.ts +1 -1
  76. package/dist/components/input-group.js +1 -1
  77. package/dist/components/input.d.ts +1 -1
  78. package/dist/components/input.js +3 -3
  79. package/dist/components/label.js +1 -1
  80. package/dist/components/layer-card.js +1 -1
  81. package/dist/components/layer-dialog.js +1 -1
  82. package/dist/components/loader.d.ts +1 -1
  83. package/dist/components/loader.js +1 -1
  84. package/dist/components/menubar.js +1 -1
  85. package/dist/components/pagination.js +1 -1
  86. package/dist/components/radio.js +1 -1
  87. package/dist/components/select.d.ts +1 -1
  88. package/dist/components/select.js +1 -1
  89. package/dist/components/sensitive-input.js +1 -1
  90. package/dist/components/sidebar.js +1 -1
  91. package/dist/components/slider.js +1 -1
  92. package/dist/components/surface.js +1 -1
  93. package/dist/components/switch.js +1 -1
  94. package/dist/components/table.js +1 -1
  95. package/dist/components/tabs.js +1 -1
  96. package/dist/components/tag-input.js +1 -1
  97. package/dist/components/toast.d.ts +1 -1
  98. package/dist/components/toast.js +1 -1
  99. package/dist/components/toolbar.d.ts +1 -1
  100. package/dist/components/toolbar.js +1 -1
  101. package/dist/{index-BMe3cpLB.d.ts → index-CUT5x1Z2.d.ts} +2 -2
  102. package/dist/{index-jNWPjJl9.d.ts → index-D4_C1J_8.d.ts} +1 -1
  103. package/dist/index-DL1-uSuH.d.ts +1 -0
  104. package/dist/{index-CdSf6Vfc.d.ts → index-DmhpD22M.d.ts} +1 -1
  105. package/dist/{index-DWZia2ui.d.ts → index-DwNMa4LN.d.ts} +5 -1
  106. package/dist/{index-BAQwS4mL.d.ts → index-Dx7hOWUc.d.ts} +24 -1
  107. package/dist/{index-CrQi3QCY.d.ts → index-DxOyYZaJ.d.ts} +4 -3
  108. package/dist/{index-CSWbPhke.d.ts → index-NnHba-T1.d.ts} +15 -5
  109. package/dist/{index--RbAKeBL.d.ts → index-aahL-0Zw.d.ts} +2 -2
  110. package/dist/index-wD5WGQQz.d.ts +136 -0
  111. package/dist/index.d.ts +11 -11
  112. package/dist/index.js +38 -38
  113. package/dist/{input-group-B3M_WRqm.d.ts → input-group-8gEtPiKw.d.ts} +1 -1
  114. package/dist/styles/kumo-standalone.css +1 -1
  115. package/package.json +1 -1
  116. package/scripts/component-registry/schema-generator.ts +2 -0
  117. package/dist/chunks/skeleton-line-gjf1fecmyy82aejz.js +0 -43
  118. package/dist/index-B-hCpI5K.d.ts +0 -1
@@ -1,5 +1,5 @@
1
- import { n as ButtonProps } from "./button-Bbi7gFL7.js";
2
- import "./index-B-hCpI5K.js";
1
+ import { n as ButtonProps } from "./button-DzavLWXm.js";
2
+ import "./index-DL1-uSuH.js";
3
3
  import { n as PortalContainer } from "./portal-provider-BAqPpq_a.js";
4
4
  import React from "react";
5
5
  import { Toast, ToastManagerAddOptions, ToastManagerUpdateOptions, ToastObject } from "@base-ui/react/toast";
@@ -9,7 +9,7 @@ declare const KUMO_INLINE_COPY_TEXT_VARIANTS: {};
9
9
  declare const KUMO_INLINE_COPY_TEXT_DEFAULT_VARIANTS: {};
10
10
  /** Base classes shared by every InlineCopyText. */
11
11
  declare const KUMO_INLINE_COPY_TEXT_STYLING: {
12
- readonly baseClasses: "group/inline-copy flex min-w-0 max-w-full cursor-pointer items-center gap-1 rounded-xs border-0 bg-transparent p-0 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-kumo-brand";
12
+ readonly baseClasses: "group/inline-copy flex min-w-0 max-w-full cursor-pointer items-center gap-1 rounded-xs border-0 bg-transparent p-0 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-kumo-brand";
13
13
  };
14
14
  interface InlineCopyTextLabels {
15
15
  /** Accessible name before the text is copied. @default "Copy to clipboard" */
@@ -0,0 +1 @@
1
+ import "./button-DzavLWXm.js";
@@ -2,7 +2,7 @@ import { ReactNode } from "react";
2
2
  import { Icon } from "@phosphor-icons/react";
3
3
  //#region src/components/badge/badge.d.ts
4
4
  /** Base styles applied to all badge variants. */
5
- declare const KUMO_BADGE_BASE_STYLES = "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";
5
+ declare const KUMO_BADGE_BASE_STYLES = "inline-flex w-fit flex-none shrink-0 items-center justify-self-start gap-1 rounded-full px-2 py-0.5 text-xs/4 font-medium whitespace-nowrap [a:hover_&]:ring [a:hover_&]:ring-current";
6
6
  /** Badge variant definitions mapping variant names to their Tailwind classes and descriptions. */
7
7
  declare const KUMO_BADGE_VARIANTS: {
8
8
  readonly variant: {
@@ -64,7 +64,11 @@ type SelectPropsGeneric<T, Multiple extends boolean | undefined = false> = Omit<
64
64
  * ```
65
65
  */
66
66
  renderValue?: (value: Multiple extends true ? T[] : T) => ReactNode;
67
- /** Replaces the trigger element while preserving Select behavior. */
67
+ /**
68
+ * Replaces the trigger element while preserving Select behavior.
69
+ * Set the trigger's `id` with Select's `id` prop: Base UI does not see an
70
+ * `id` set here, so clicking the label would not focus the trigger.
71
+ */
68
72
  render?: Select.Trigger.Props["render"];
69
73
  className?: string;
70
74
  /**
@@ -56,7 +56,30 @@ interface LoaderProps {
56
56
  declare const Loader: ({ className, size, "aria-label": ariaLabel }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
57
57
  //#endregion
58
58
  //#region src/components/loader/skeleton-line.d.ts
59
- declare const SkeletonLine: ({ minWidth, maxWidth, minDuration, maxDuration, minDelay, maxDelay, blockHeight, className }: {
59
+ /** SkeletonLine variant definitions mapping variant names to their root classes and descriptions. */
60
+ declare const KUMO_SKELETON_LINE_VARIANTS: {
61
+ readonly variant: {
62
+ readonly default: {
63
+ readonly classes: "skeleton-line";
64
+ readonly description: "Flat grey bar with a sliding shimmer";
65
+ };
66
+ readonly sketch: {
67
+ readonly classes: "relative h-2 w-(--skeleton-width)";
68
+ readonly description: "Wireframe-style bar: rounded fill with a sliding shimmer, a 1px outline, and construction strokes that overshoot each corner by 4px";
69
+ };
70
+ };
71
+ };
72
+ type KumoSkeletonLineVariant = keyof typeof KUMO_SKELETON_LINE_VARIANTS.variant;
73
+ declare const SkeletonLine: ({ variant, minWidth, maxWidth, minDuration, maxDuration, minDelay, maxDelay, blockHeight, className }: {
74
+ /**
75
+ * Visual style of the line.
76
+ * - `"default"` — flat grey bar with a sliding shimmer
77
+ * - `"sketch"` — wireframe-style bar with an outline and construction
78
+ * strokes that overshoot each corner by 4px. Leave 4px of room around it
79
+ * so an `overflow: hidden` parent doesn't clip the strokes.
80
+ * @default "default"
81
+ */
82
+ variant?: KumoSkeletonLineVariant;
60
83
  minWidth?: number;
61
84
  maxWidth?: number;
62
85
  minDuration?: number;
@@ -152,11 +152,12 @@ declare function Content({ children, className, align, sideOffset, alignOffset,
152
152
  declare namespace Content {
153
153
  var displayName: string;
154
154
  }
155
- declare function TriggerValue({ className, render, ...props }: Combobox.Value.Props & {
155
+ type TriggerValueProps = Omit<Combobox.Trigger.Props, "className" | "children" | "placeholder"> & Combobox.Value.Props & {
156
156
  className?: string;
157
157
  /** Replaces the trigger element while preserving Combobox behavior. */
158
158
  render?: Combobox.Trigger.Props["render"];
159
- }): import("react/jsx-runtime").JSX.Element;
159
+ };
160
+ declare function TriggerValue({ className, children, placeholder, ...triggerProps }: TriggerValueProps): import("react/jsx-runtime").JSX.Element;
160
161
  declare namespace TriggerValue {
161
162
  var displayName: string;
162
163
  }
@@ -195,7 +196,7 @@ declare function Chip({ removeLabel, ...props }: Combobox.Chip.Props & {
195
196
  declare namespace Chip {
196
197
  var displayName: string;
197
198
  }
198
- declare function TriggerMultipleWithInput<ValueType>({ placeholder, renderItem, className, inputSide, value: controlledValue }: {
199
+ declare function TriggerMultipleWithInput<ValueType>({ placeholder, renderItem, className, inputSide, value: controlledValue, ...inputProps }: Pick<Combobox.Input.Props, "aria-label" | "aria-labelledby" | "aria-describedby"> & {
199
200
  placeholder?: string;
200
201
  renderItem: (value: ValueType) => React.ReactNode;
201
202
  className?: string;
@@ -1,4 +1,4 @@
1
- import { n as ButtonProps, r as KumoButtonVariant } from "./button-Bbi7gFL7.js";
1
+ import { a as LinkButtonProps, n as ButtonProps, r as KumoButtonVariant } from "./button-DzavLWXm.js";
2
2
  import { HTMLAttributes, ReactNode } from "react";
3
3
  //#region src/components/banner/banner-action.d.ts
4
4
  /**
@@ -8,8 +8,7 @@ import { HTMLAttributes, ReactNode } from "react";
8
8
  * - `"ghost"` — text-only accent action with a faint accent-tinted hover.
9
9
  */
10
10
  type BannerActionVariant = Extract<KumoButtonVariant, "primary" | "secondary" | "ghost">;
11
- /** Props for {@link BannerAction}. */
12
- type WithBannerActionVariants<Props> = Props extends ButtonProps ? Omit<Props, "size" | "variant"> & {
11
+ type WithBannerActionVariants<Props> = Props extends unknown ? Omit<Props, "size" | "variant"> & {
13
12
  /**
14
13
  * Visual variant of the CTA, aligned with `Button`'s `variant` naming.
15
14
  * - `"primary"` — filled accent gradient for the main action (default).
@@ -19,7 +18,18 @@ type WithBannerActionVariants<Props> = Props extends ButtonProps ? Omit<Props, "
19
18
  */
20
19
  variant?: BannerActionVariant;
21
20
  } : never;
22
- type BannerActionProps = WithBannerActionVariants<ButtonProps>;
21
+ type BannerActionButtonProps = WithBannerActionVariants<ButtonProps> & {
22
+ href?: never;
23
+ };
24
+ type BannerActionLinkProps = WithBannerActionVariants<LinkButtonProps> & {
25
+ /**
26
+ * Renders the action as a link via `LinkButton`, so it uses the app's
27
+ * `LinkProvider` component for client-side routing.
28
+ */
29
+ href: string;
30
+ };
31
+ /** Props for {@link BannerAction}. Pass `href` to render a link. */
32
+ type BannerActionProps = BannerActionButtonProps | BannerActionLinkProps;
23
33
  //#endregion
24
34
  //#region src/components/banner/banner.d.ts
25
35
  /** Banner variant definitions mapping style options to their Tailwind classes and descriptions. */
@@ -120,7 +130,7 @@ interface BannerProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" |
120
130
  * (`variant="primary" | "secondary" | "ghost"`).
121
131
  */
122
132
  declare const Banner: import("react").ForwardRefExoticComponent<BannerProps & import("react").RefAttributes<HTMLDivElement>> & {
123
- Action: import("react").ForwardRefExoticComponent<BannerActionProps & import("react").RefAttributes<HTMLButtonElement>>;
133
+ Action: import("react").ForwardRefExoticComponent<BannerActionProps & import("react").RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
124
134
  };
125
135
  //#endregion
126
136
  export { BannerVariant as n, Banner as t };
@@ -1,6 +1,6 @@
1
- import { a as LinkButtonProps, n as ButtonProps } from "./button-Bbi7gFL7.js";
1
+ import { a as LinkButtonProps, n as ButtonProps } from "./button-DzavLWXm.js";
2
2
  import { n as InputProps } from "./input-BeWEb-jD.js";
3
- import { t as InputGroup } from "./input-group-B3M_WRqm.js";
3
+ import { t as InputGroup } from "./input-group-8gEtPiKw.js";
4
4
  import React from "react";
5
5
  import { Toolbar } from "@base-ui/react/toolbar";
6
6
  //#region src/components/toolbar/toolbar.d.ts
@@ -0,0 +1,136 @@
1
+ import { a as LinkButtonProps, n as ButtonProps, r as KumoButtonVariant } from "./button-DzavLWXm.js";
2
+ import { HTMLAttributes, ReactNode } from "react";
3
+ //#region src/components/banner/banner-action.d.ts
4
+ /**
5
+ * Visual variant for a `Banner.Action`, aligned with `Button`'s `variant` naming.
6
+ * - `"primary"` — filled accent gradient for the main action.
7
+ * - `"secondary"` — transparent with an accent-hued outline (same hue as the banner).
8
+ * - `"ghost"` — text-only accent action with a faint accent-tinted hover.
9
+ */
10
+ type BannerActionVariant = Extract<KumoButtonVariant, "primary" | "secondary" | "ghost">;
11
+ type WithBannerActionVariants<Props> = Props extends unknown ? Omit<Props, "size" | "variant"> & {
12
+ /**
13
+ * Visual variant of the CTA, aligned with `Button`'s `variant` naming.
14
+ * - `"primary"` — filled accent gradient for the main action (default).
15
+ * - `"secondary"` — transparent with an accent-hued outline matching the banner.
16
+ * - `"ghost"` — text-only accent action with a faint accent-tinted hover.
17
+ * @default "primary"
18
+ */
19
+ variant?: BannerActionVariant;
20
+ } : never;
21
+ type BannerActionButtonProps = WithBannerActionVariants<ButtonProps> & {
22
+ href?: never;
23
+ };
24
+ type BannerActionLinkProps = WithBannerActionVariants<LinkButtonProps> & {
25
+ /**
26
+ * Renders the action as a link via `LinkButton`, so it uses the app's
27
+ * `LinkProvider` component for client-side routing.
28
+ */
29
+ href: string;
30
+ };
31
+ /** Props for {@link BannerAction}. Pass `href` to render a link. */
32
+ type BannerActionProps = BannerActionButtonProps | BannerActionLinkProps;
33
+ //#endregion
34
+ //#region src/components/banner/banner.d.ts
35
+ /** Banner variant definitions mapping style options to their Tailwind classes and descriptions. */
36
+ declare const KUMO_BANNER_VARIANTS: {
37
+ readonly variant: {
38
+ readonly default: {
39
+ readonly classes: "bg-kumo-info-tint text-kumo-info";
40
+ readonly iconClasses: "fill-kumo-info";
41
+ readonly description: "Informational banner for general messages";
42
+ };
43
+ readonly alert: {
44
+ readonly classes: "bg-kumo-warning-tint text-kumo-warning";
45
+ readonly iconClasses: "fill-kumo-warning";
46
+ readonly description: "Warning banner for cautionary messages";
47
+ };
48
+ readonly error: {
49
+ readonly classes: "bg-kumo-danger-tint text-kumo-danger";
50
+ readonly iconClasses: "fill-kumo-danger";
51
+ readonly description: "Error banner for critical issues";
52
+ };
53
+ readonly secondary: {
54
+ readonly classes: "bg-kumo-contrast/5 text-kumo-default/70";
55
+ readonly iconClasses: "fill-kumo-interact";
56
+ readonly description: "Neutral banner for secondary messages";
57
+ };
58
+ };
59
+ readonly size: {
60
+ readonly base: {
61
+ readonly classes: "items-start gap-3 rounded-lg px-4 py-3 text-base";
62
+ readonly description: "Default banner size";
63
+ };
64
+ readonly sm: {
65
+ readonly classes: "items-center gap-2 rounded-md px-3 py-2 text-sm";
66
+ readonly description: "Compact banner for dialogs and tight spaces";
67
+ };
68
+ };
69
+ };
70
+ type KumoBannerVariant = keyof typeof KUMO_BANNER_VARIANTS.variant;
71
+ type KumoBannerSize = keyof typeof KUMO_BANNER_VARIANTS.size;
72
+ declare enum BannerVariant {
73
+ DEFAULT = 0,
74
+ ALERT = 1,
75
+ ERROR = 2
76
+ }
77
+ /**
78
+ * Banner component props.
79
+ *
80
+ * @example
81
+ * ```tsx
82
+ * <Banner title="Update available" description="A new version is ready to install." />
83
+ * <Banner variant="alert" title="Session expiring" description="Your session will expire soon." />
84
+ * <Banner variant="error" title="Save failed" description="We couldn't save your changes." />
85
+ * ```
86
+ */
87
+ interface BannerProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" | "title"> {
88
+ /** Icon element rendered before the banner content (e.g. from `@phosphor-icons/react`). */
89
+ icon?: ReactNode;
90
+ /** Primary heading text for the banner. Use for i18n string injection. */
91
+ title?: string;
92
+ /** Secondary description text displayed below the title. Use for i18n string injection. */
93
+ description?: ReactNode;
94
+ /**
95
+ * Action slot for a CTA button or link. Compact banners render a Kumo `Link`
96
+ * inline with the description; CTAs render at the trailing end.
97
+ * Use `Banner.Action` for accent-aware CTAs that self-style to the banner
98
+ * variant; other nodes are rendered as-is. Multiple actions can be passed in
99
+ * a Fragment. Only used in structured mode (with `title` or `description`).
100
+ */
101
+ action?: ReactNode;
102
+ /** @deprecated Use `title` and `description` instead. Will be removed in a future major version. */
103
+ text?: string;
104
+ /** @deprecated Use `title` and `description` instead for better i18n support. */
105
+ children?: ReactNode;
106
+ /**
107
+ * Visual style of the banner.
108
+ * - `"default"` — Informational blue banner for general messages
109
+ * - `"alert"` — Warning yellow banner for cautionary messages
110
+ * - `"error"` — Error red banner for critical issues
111
+ * - `"secondary"` — Neutral banner for secondary messages
112
+ * @default "default"
113
+ */
114
+ variant?: KumoBannerVariant;
115
+ /**
116
+ * Size of the banner. A `"sm"` banner uses tighter spacing and `text-sm`,
117
+ * renders a Kumo `Link` action inline with the description, and sets its
118
+ * `Banner.Action` children to the `"xs"` size — suited to dialogs and other
119
+ * tight spaces.
120
+ * @default "base"
121
+ */
122
+ size?: KumoBannerSize;
123
+ /** Additional CSS classes merged via `cn()`. */
124
+ className?: string;
125
+ }
126
+ /**
127
+ * Full-width message bar with an optional trailing CTA slot.
128
+ *
129
+ * `Banner.Action` is an accent-aware CTA button
130
+ * (`variant="primary" | "secondary" | "ghost"`).
131
+ */
132
+ declare const Banner: import("react").ForwardRefExoticComponent<BannerProps & import("react").RefAttributes<HTMLDivElement>> & {
133
+ Action: import("react").ForwardRefExoticComponent<BannerActionProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
134
+ };
135
+ //#endregion
136
+ export { BannerVariant as n, Banner as t };
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import { a as PropSchema, i as ComponentType, n as ComponentSchema, o as SubComponentSchema, r as ComponentStyling, t as ComponentRegistry } from "./types-CdzJnnIl.js";
2
2
  import { a as KUMO_FIELD_VARIANTS, i as KUMO_FIELD_DEFAULT_VARIANTS, n as FieldErrorMatch, o as fieldVariants, r as FieldProps, t as Field } from "./field-DIjlHM8W.js";
3
3
  import { a as KUMO_AUTOCOMPLETE_VARIANTS, i as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, n as Autocomplete, o as KumoAutocompleteSize, r as AutocompleteProps, s as autocompleteVariants } from "./index-T1sSoiWG.js";
4
- import { n as BadgeVariant, t as Badge } from "./index-CdSf6Vfc.js";
5
- import { a as LinkButtonProps, i as LinkButton, n as ButtonProps, o as RefreshButton, s as buttonVariants, t as Button } from "./button-Bbi7gFL7.js";
6
- import { n as BannerVariant, t as Banner } from "./index-CSWbPhke.js";
4
+ import { n as BadgeVariant, t as Badge } from "./index-DmhpD22M.js";
5
+ import { a as LinkButtonProps, i as LinkButton, n as ButtonProps, o as RefreshButton, s as buttonVariants, t as Button } from "./button-DzavLWXm.js";
6
+ import { n as BannerVariant, t as Banner } from "./index-wD5WGQQz.js";
7
7
  import { n as BreadcrumbsProps, t as Breadcrumb } from "./index-CLsBWiaS.js";
8
8
  import { a as KUMO_BUTTON_GROUP_VARIANTS, i as KUMO_BUTTON_GROUP_STYLING, n as ButtonGroupProps, r as KUMO_BUTTON_GROUP_DEFAULT_VARIANTS, t as ButtonGroup } from "./index-C7RoG_CH.js";
9
- import "./index-B-hCpI5K.js";
9
+ import "./index-DL1-uSuH.js";
10
10
  import { C as TimeseriesChart, S as KumoChartOption, _ as SankeyTooltipParams, a as BubbleMap, c as ChoroplethMapProps, d as MapProjection, f as MapStyle, g as SankeyNodeData, h as SankeyLinkData, i as GlobeMapProps, l as MapAccessor, m as SankeyChartProps, n as GlobeMap, o as BubbleMapProps, p as SankeyChart, r as GlobeMapMarker, s as ChoroplethMap, t as ChartPalette, u as MapGeoJson, v as ChartLegend, y as Chart } from "./index-g-eFm1Bq.js";
11
11
  import { a as CheckboxLegendProps, n as CheckboxChangeEventDetails, o as CheckboxProps, t as Checkbox } from "./index-DjSGDESy.js";
12
12
  import { t as ClipboardText } from "./index-CReGk3Dc.js";
@@ -14,7 +14,7 @@ import { a as CloudflareLogoSvgVariant, c as KUMO_CLOUDFLARE_LOGO_DEFAULT_VARIAN
14
14
  import { n as Code, r as CodeBlock } from "./index-B9niVl3r.js";
15
15
  import { a as CollapsibleProps, i as CollapsiblePanelProps, n as CollapsibleDefaultPanelProps, o as CollapsibleRootProps, r as CollapsibleDefaultTriggerProps, s as CollapsibleTriggerProps, t as Collapsible } from "./index-CzTgKPh-.js";
16
16
  import { n as PortalContainer, t as KumoPortalProvider } from "./portal-provider-BAqPpq_a.js";
17
- import { n as Combobox } from "./index-CrQi3QCY.js";
17
+ import { n as Combobox } from "./index-DxOyYZaJ.js";
18
18
  import { a as CommandPaletteFooterProps, c as CommandPaletteInputProps, d as CommandPaletteLoadingProps, f as CommandPaletteResultItemProps, i as CommandPaletteEmptyProps, l as CommandPaletteItemProps, m as HighlightRange, n as KUMO_COMMAND_PALETTE_DEFAULT_VARIANTS, o as CommandPaletteGroupLabelProps, p as CommandPaletteRootProps, r as KUMO_COMMAND_PALETTE_VARIANTS, s as CommandPaletteGroupProps, t as CommandPalette, u as CommandPaletteListProps } from "./index-BK1tZgmP.js";
19
19
  import { i as DatePickerProps, n as DayPickerProps, r as DatePicker, t as DateRange } from "./index-bBPKMepR.js";
20
20
  import { t as DateRangePicker } from "./index-lOWfpkxK.js";
@@ -25,9 +25,9 @@ import "./components/field.js";
25
25
  import { t as Flow } from "./index-BzE0aNpx.js";
26
26
  import { a as KUMO_GRID_DEFAULT_VARIANTS, c as KumoGridVariant, i as GridProps, l as gridItemVariants, n as GridItem, o as KUMO_GRID_VARIANTS, r as GridItemProps, s as KumoGridGap, t as Grid, u as gridVariants } from "./index-BVgXnR1V.js";
27
27
  import { r as Text } from "./text-B4l7S5Z0.js";
28
- import { a as KUMO_INLINE_COPY_TEXT_STYLING, i as KUMO_INLINE_COPY_TEXT_DEFAULT_VARIANTS, n as InlineCopyTextLabels, o as KUMO_INLINE_COPY_TEXT_VARIANTS, r as InlineCopyTextProps, t as InlineCopyText } from "./index-jNWPjJl9.js";
28
+ import { a as KUMO_INLINE_COPY_TEXT_STYLING, i as KUMO_INLINE_COPY_TEXT_DEFAULT_VARIANTS, n as InlineCopyTextLabels, o as KUMO_INLINE_COPY_TEXT_VARIANTS, r as InlineCopyTextProps, t as InlineCopyText } from "./index-D4_C1J_8.js";
29
29
  import { a as inputVariants, n as InputProps, t as Input } from "./input-BeWEb-jD.js";
30
- import { a as InputGroupSuffixProps, c as InputGroupInputProps, i as InputGroupRootProps, o as InputGroupAddonProps, s as InputGroupButtonProps, t as InputGroup } from "./input-group-B3M_WRqm.js";
30
+ import { a as InputGroupSuffixProps, c as InputGroupInputProps, i as InputGroupRootProps, o as InputGroupAddonProps, s as InputGroupButtonProps, t as InputGroup } from "./input-group-8gEtPiKw.js";
31
31
  import { n as Tooltip, r as TooltipProvider } from "./tooltip-D_vhi1PN.js";
32
32
  import "./components/input-group.js";
33
33
  import { a as Textarea, i as InputAreaProps, r as InputArea } from "./index-ClS-eFxE.js";
@@ -37,13 +37,13 @@ import "./components/layer-card.js";
37
37
  import { a as LayerDialogActionProps, c as LayerDialogContentProps, d as LayerDialogProps, f as LayerDialogRootProps, i as LayerDialog, l as LayerDialogDescriptionProps, n as KumoLayerDialogSize, o as LayerDialogActionsProps, p as LayerDialogTitleProps, r as KumoLayerDialogVerticalAlign, s as LayerDialogBodyProps, t as KumoLayerDialogPrimaryVariant, u as LayerDialogPrimaryProps } from "./index-Dmbgjww7.js";
38
38
  import { n as LinkProvider, r as useLinkComponent, t as LinkComponentProps } from "./link-provider-tz-NJp9x.js";
39
39
  import { KUMO_LINK_DEFAULT_VARIANTS, KUMO_LINK_VARIANTS, KumoLinkVariant, KumoLinkVariantsProps, Link, LinkProps, linkVariants } from "./components/link.js";
40
- import { n as Loader, t as SkeletonLine } from "./index-BAQwS4mL.js";
40
+ import { n as Loader, t as SkeletonLine } from "./index-Dx7hOWUc.js";
41
41
  import { n as MenuBar, t as useMenuNavigation } from "./index-B7epkoHc.js";
42
42
  import { t as Meter } from "./index-yK3Hayg_.js";
43
43
  import { t as Pagination } from "./index-DYYiDxZs.js";
44
44
  import { _ as PopoverTriggerProps, a as Popover, d as PopoverDescriptionProps, h as PopoverTitleProps, l as PopoverContentProps, n as KUMO_POPOVER_VARIANTS, p as PopoverRootProps, s as PopoverCloseProps, t as KUMO_POPOVER_DEFAULT_VARIANTS } from "./index-AUC5xRcO.js";
45
45
  import { a as KumoRadioVariantsProps, c as RadioGroup, d as RadioItemProps, f as RadioLegendProps, i as KumoRadioVariant, l as RadioGroupChangeEventDetails, m as radioVariants, n as KUMO_RADIO_VARIANTS, o as Radio, p as RadioVariant, r as KumoRadioAppearance, s as RadioControlPosition, t as KUMO_RADIO_DEFAULT_VARIANTS, u as RadioGroupProps } from "./index-CU_lnxg7.js";
46
- import { t as Select } from "./index-DWZia2ui.js";
46
+ import { t as Select } from "./index-DwNMa4LN.js";
47
47
  import { i as SensitiveInputProps, n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "./index-D2Gvly0i.js";
48
48
  import { A as SidebarProviderProps, C as SidebarMenuItem, D as SidebarMenuSubButtonProps, E as SidebarMenuSubButton, F as SidebarScrollAlign, G as SidebarVariant, I as SidebarScrollToItemOptions, K as useSidebar, L as SidebarSeparator, M as SidebarResizeHandle, N as SidebarRoot, O as SidebarMenuSubItem, P as SidebarRootProps, R as SidebarSide, S as SidebarMenuChevron, T as SidebarMenuSub, U as SidebarState, V as SidebarSlidingViews, W as SidebarTrigger, _ as SidebarMenu, a as SidebarCollapsible, b as SidebarMenuButtonProps, c as SidebarCollapsibleTrigger, d as SidebarContextValue, f as SidebarFooter, g as SidebarLoading, h as SidebarHeader, i as Sidebar, j as SidebarRail, k as SidebarProvider, m as SidebarGroupLabel, n as KUMO_SIDEBAR_STYLING, o as SidebarCollapsibleContent, p as SidebarGroup, r as KUMO_SIDEBAR_VARIANTS, t as KUMO_SIDEBAR_DEFAULT_VARIANTS, u as SidebarContent, v as SidebarMenuBadge, w as SidebarMenuItemProps, x as SidebarMenuButtonSize, y as SidebarMenuButton, z as SidebarSlidingView } from "./index-BvNXYn7u.js";
49
49
  import { a as Slider, i as KumoSliderVariantsProps, n as KUMO_SLIDER_VARIANTS, o as SliderProps, r as KumoSliderSize, s as sliderVariants, t as KUMO_SLIDER_DEFAULT_VARIANTS } from "./index-BWe6haHU.js";
@@ -54,8 +54,8 @@ import { a as Table } from "./index-RP_rt8vB.js";
54
54
  import { n as TabsItem, r as TabsProps, t as Tabs } from "./index-FCkuxSvs.js";
55
55
  import { n as TagInputLabels, r as TagInputProps, t as TagInput } from "./index-2jvVmJ8P.js";
56
56
  import "./components/text.js";
57
- import { a as Toasty, i as ToastProvider, o as createKumoToastManager, s as useKumoToastManager, t as Toast } from "./index-BMe3cpLB.js";
58
- import { a as ToolbarInputGroupProps, c as ToolbarProps, i as ToolbarButtonProps, l as ToolbarSize, n as KUMO_TOOLBAR_VARIANTS, o as ToolbarInputProps, r as Toolbar, s as ToolbarLinkProps, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./index--RbAKeBL.js";
57
+ import { a as Toasty, i as ToastProvider, o as createKumoToastManager, s as useKumoToastManager, t as Toast } from "./index-CUT5x1Z2.js";
58
+ import { a as ToolbarInputGroupProps, c as ToolbarProps, i as ToolbarButtonProps, l as ToolbarSize, n as KUMO_TOOLBAR_VARIANTS, o as ToolbarInputProps, r as Toolbar, s as ToolbarLinkProps, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./index-aahL-0Zw.js";
59
59
  import "./components/tooltip.js";
60
60
  import { a as cn, i as KumoTranslationsPartial, n as KumoLocaleProviderProps, o as safeRandomId, r as KumoTranslations, t as KumoLocaleProvider } from "./locale-provider-CAjVN3_0.js";
61
61
  //#region src/blocks/delete-resource/delete-resource.d.ts
package/dist/index.js CHANGED
@@ -1,66 +1,66 @@
1
1
  "use client";
2
2
  import { t as cn } from "./chunks/vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { t as safeRandomId } from "./chunks/utils-o44zfmzz9z7uyj1v.js";
4
- import { t as Badge } from "./chunks/badge-kyz53p7p0ng393bs.js";
4
+ import { t as Badge } from "./chunks/badge-g0m6j3nji45tiink.js";
5
5
  import { n as useLinkComponent, t as LinkProvider } from "./chunks/link-provider-kbwllpbo24fvgioj.js";
6
6
  import { i as linkVariants, n as KUMO_LINK_VARIANTS, r as Link, t as KUMO_LINK_DEFAULT_VARIANTS } from "./chunks/link-h84bkh8eem39p529.js";
7
7
  import { t as Loader } from "./chunks/loader-kv5nk8j8tsuesxqo.js";
8
8
  import { t as KumoPortalProvider } from "./chunks/portal-provider-eveknxf26oudn7pp.js";
9
9
  import { n as TooltipProvider, t as Tooltip } from "./chunks/tooltip-bcymn9bfyz29fvji.js";
10
- import { i as buttonVariants, n as LinkButton, r as RefreshButton, t as Button } from "./chunks/button-k7axs4vu1rwx89w3.js";
11
- import { n as BannerVariant, t as Banner } from "./chunks/banner-lvbgdzxq3yndkbot.js";
12
- import { t as DateRangePicker } from "./chunks/date-range-picker-hpx3cdu9ve01jx6d.js";
10
+ import { i as buttonVariants, n as LinkButton, r as RefreshButton, t as Button } from "./chunks/button-hzvowfkbathmx8yg.js";
11
+ import { n as BannerVariant, t as Banner } from "./chunks/banner-mo1xl9ww734kgsqh.js";
12
+ import { t as DateRangePicker } from "./chunks/date-range-picker-oivlshld01jbel29.js";
13
13
  import { t as KumoLocaleProvider } from "./chunks/locale-provider-e3310bgo4lnffqkd.js";
14
- import { a as labelVariants, i as labelContentVariants, n as KUMO_LABEL_VARIANTS, r as Label, t as KUMO_LABEL_DEFAULT_VARIANTS } from "./chunks/label-njfcj6h9utmg2n9l.js";
15
- import { t as Checkbox } from "./chunks/checkbox-g8b4f2hs5vux3u26.js";
14
+ import { a as labelVariants, i as labelContentVariants, n as KUMO_LABEL_VARIANTS, r as Label, t as KUMO_LABEL_DEFAULT_VARIANTS } from "./chunks/label-f9vvtexndkpjlrv0.js";
15
+ import { t as Checkbox } from "./chunks/checkbox-oav03hnpbj06x31v.js";
16
16
  import { t as index_parts_exports } from "./chunks/index.parts-db9pzsm9rrs9tp0t.js";
17
- import { i as fieldVariants, n as KUMO_FIELD_DEFAULT_VARIANTS, r as KUMO_FIELD_VARIANTS, t as Field } from "./chunks/field-n7gmbg5xvh6oqbom.js";
18
- import { r as inputVariants, t as Input } from "./chunks/input-f0pbcvjudf5zb8ek.js";
19
- import { n as Textarea, t as InputArea } from "./chunks/input-iev3wgdzhkqpae2k.js";
20
- import { t as InputGroup } from "./chunks/input-group-dqo5tcoewbdx86qx.js";
21
- import { t as ClipboardText } from "./chunks/clipboard-text-fffd5tpa0iye6r6m.js";
17
+ import { i as fieldVariants, n as KUMO_FIELD_DEFAULT_VARIANTS, r as KUMO_FIELD_VARIANTS, t as Field } from "./chunks/field-gkrpde59au4kjh7q.js";
18
+ import { r as inputVariants, t as Input } from "./chunks/input-ggn78losfydwdjqg.js";
19
+ import { n as Textarea, t as InputArea } from "./chunks/input-ehb5hnwkr2kx9rpw.js";
20
+ import { t as InputGroup } from "./chunks/input-group-grlfeiivjuhd7jif.js";
21
+ import { t as ClipboardText } from "./chunks/clipboard-text-ldk0zyq1qtey1yux.js";
22
22
  import { t as Text } from "./chunks/text-me99rjbjkaff98gp.js";
23
- import { i as KUMO_INLINE_COPY_TEXT_VARIANTS, n as KUMO_INLINE_COPY_TEXT_DEFAULT_VARIANTS, r as KUMO_INLINE_COPY_TEXT_STYLING, t as InlineCopyText } from "./chunks/inline-copy-text-57r67slswfqvgbaf.js";
23
+ import { i as KUMO_INLINE_COPY_TEXT_VARIANTS, n as KUMO_INLINE_COPY_TEXT_DEFAULT_VARIANTS, r as KUMO_INLINE_COPY_TEXT_STYLING, t as InlineCopyText } from "./chunks/inline-copy-text-c6wa49ys72pj7k53.js";
24
24
  import { n as CodeBlock, t as Code } from "./chunks/code-nj2nu6qzxhz6qnkk.js";
25
- import { t as Combobox } from "./chunks/combobox-iawd8lxwd5b18fce.js";
26
- import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./chunks/toolbar-nnos2ouwfk7i6tpw.js";
27
- import { t as LayerCard } from "./chunks/layer-card-mar4dya5kl1vvie6.js";
28
- import { a as DialogTitle, i as DialogRoot, n as DialogClose, o as DialogTrigger, r as DialogDescription, t as Dialog } from "./chunks/dialog-lgrwmsumwpftp2u8.js";
29
- import { t as DropdownMenu } from "./chunks/dropdown-o875yxeqod7qp871.js";
25
+ import { t as Combobox } from "./chunks/combobox-iwqfbp2cn3z54azu.js";
26
+ import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./chunks/toolbar-3wkkukczgo0bk6mo.js";
27
+ import { t as LayerCard } from "./chunks/layer-card-lsmeuqic9i1isv2b.js";
28
+ import { a as DialogTitle, i as DialogRoot, n as DialogClose, o as DialogTrigger, r as DialogDescription, t as Dialog } from "./chunks/dialog-g7wavhkdv2gplwq9.js";
29
+ import { t as DropdownMenu } from "./chunks/dropdown-m5a8nwer5hpvnkfk.js";
30
30
  import "./components/dropdown.js";
31
31
  import { t as Collapsible } from "./chunks/collapsible-ic6813hc4yv5s5hv.js";
32
32
  import "./components/field.js";
33
33
  import { t as useCopyFeedback } from "./chunks/use-copy-feedback-gl55ghst0csvpv4j.js";
34
- import { t as SkeletonLine } from "./chunks/skeleton-line-gjf1fecmyy82aejz.js";
35
- import { n as useMenuNavigation, t as MenuBar } from "./chunks/menubar-b454nksysu0wicbz.js";
34
+ import { t as SkeletonLine } from "./chunks/skeleton-line-kmhnp0lx3rxhioxa.js";
35
+ import { n as useMenuNavigation, t as MenuBar } from "./chunks/menubar-gzlyhmmc4i24prn1.js";
36
36
  import { t as Meter } from "./chunks/meter-poh8jpe0qtq6mvee.js";
37
- import { t as Select } from "./chunks/select-fae2ls189jrq902h.js";
38
- import { t as Pagination } from "./chunks/pagination-mwlpbysq4cxmvs45.js";
39
- import { t as Surface } from "./chunks/surface-ginwpan1pz61l6k2.js";
40
- import { r as Switch } from "./chunks/switch-ktfauhluw1yi5tkk.js";
41
- import { t as Tabs } from "./chunks/tabs-mmkz7q5rofnmogwt.js";
42
- import { r as Table } from "./chunks/table-lp41fsw7mqr751hn.js";
43
- import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "./chunks/toast-kzwscia42707sau6.js";
37
+ import { t as Select } from "./chunks/select-ei05w4df1th4fa4e.js";
38
+ import { t as Pagination } from "./chunks/pagination-h5l4b9bfmf78s6jq.js";
39
+ import { t as Surface } from "./chunks/surface-jr8x5hy0gucjk5ig.js";
40
+ import { r as Switch } from "./chunks/switch-e1dsoxucn07fz00t.js";
41
+ import { t as Tabs } from "./chunks/tabs-oi64kuuf2poro26u.js";
42
+ import { r as Table } from "./chunks/table-m0xshmsbxq2h1sho.js";
43
+ import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "./chunks/toast-iojuzen6iavawpc9.js";
44
44
  import { n as KUMO_POPOVER_VARIANTS, r as Popover, t as KUMO_POPOVER_DEFAULT_VARIANTS } from "./chunks/popover-nqrt3ykqv6sic8pz.js";
45
- import { n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "./chunks/sensitive-input-heb3xapwahzhpq6y.js";
46
- import { a as radioVariants, i as RadioGroup, n as KUMO_RADIO_VARIANTS, r as Radio, t as KUMO_RADIO_DEFAULT_VARIANTS } from "./chunks/radio-d3pkrvsldfbdefav.js";
47
- import { n as KUMO_COMMAND_PALETTE_DEFAULT_VARIANTS, r as KUMO_COMMAND_PALETTE_VARIANTS, t as CommandPalette } from "./chunks/command-palette-el4x943vpmid0po0.js";
45
+ import { n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "./chunks/sensitive-input-owfvgxmefm5lzzx8.js";
46
+ import { a as radioVariants, i as RadioGroup, n as KUMO_RADIO_VARIANTS, r as Radio, t as KUMO_RADIO_DEFAULT_VARIANTS } from "./chunks/radio-nf717i5ypsga9zdh.js";
47
+ import { n as KUMO_COMMAND_PALETTE_DEFAULT_VARIANTS, r as KUMO_COMMAND_PALETTE_VARIANTS, t as CommandPalette } from "./chunks/command-palette-d45ueqbuxygu87ir.js";
48
48
  import "./components/link.js";
49
- import { t as Breadcrumb } from "./chunks/breadcrumbs-fsuyq7z6hdh1thjv.js";
50
- import { t as Empty } from "./chunks/empty-ir5bg5w4kkisuc1c.js";
49
+ import { t as Breadcrumb } from "./chunks/breadcrumbs-o63hllvg6zlbxvcr.js";
50
+ import { t as Empty } from "./chunks/empty-dzm61keqaezmp452.js";
51
51
  import { a as gridItemVariants, i as KUMO_GRID_VARIANTS, n as GridItem, o as gridVariants, r as KUMO_GRID_DEFAULT_VARIANTS, t as Grid } from "./chunks/grid-nwiczrab3r4w0zr2.js";
52
52
  import { a as generateCloudflareLogoSvg, i as PoweredByCloudflare, n as KUMO_CLOUDFLARE_LOGO_DEFAULT_VARIANTS, r as KUMO_CLOUDFLARE_LOGO_VARIANTS, t as CloudflareLogo } from "./chunks/cloudflare-logo-d8mid9xr190h78cu.js";
53
- import { t as DatePicker } from "./chunks/date-picker-kfoxd4u7ckg4nsez.js";
53
+ import { t as DatePicker } from "./chunks/date-picker-ija2bz17ai6ypnao.js";
54
54
  import { t as Flow } from "./chunks/flow-imvwzp5p2f8y2dxm.js";
55
- import { a as ChartLegend, c as ChartPalette, i as SankeyChart, n as BubbleMap, o as TimeseriesChart, r as ChoroplethMap, s as Chart, t as GlobeMap } from "./chunks/chart-hp3vqwe49tbyywqm.js";
56
- import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "./chunks/autocomplete-evlm6fj7v7w0g2z2.js";
57
- import { A as useSidebar, C as SidebarRail, D as SidebarSlidingView, E as SidebarSeparator, O as SidebarSlidingViews, S as SidebarProvider, T as SidebarRoot, _ as SidebarMenuChevron, a as SidebarCollapsible, b as SidebarMenuSubButton, c as SidebarContent, d as SidebarGroupLabel, f as SidebarHeader, g as SidebarMenuButton, h as SidebarMenuBadge, i as Sidebar, k as SidebarTrigger, l as SidebarFooter, m as SidebarMenu, n as KUMO_SIDEBAR_STYLING, o as SidebarCollapsibleContent, p as SidebarLoading, r as KUMO_SIDEBAR_VARIANTS, s as SidebarCollapsibleTrigger, t as KUMO_SIDEBAR_DEFAULT_VARIANTS, u as SidebarGroup, v as SidebarMenuItem, w as SidebarResizeHandle, x as SidebarMenuSubItem, y as SidebarMenuSub } from "./chunks/sidebar-h6g412ror8p7uo0d.js";
55
+ import { a as ChartLegend, c as ChartPalette, i as SankeyChart, n as BubbleMap, o as TimeseriesChart, r as ChoroplethMap, s as Chart, t as GlobeMap } from "./chunks/chart-g4dnsqiamjh39chn.js";
56
+ import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "./chunks/autocomplete-kx87ui5sodpxx2zm.js";
57
+ import { A as useSidebar, C as SidebarRail, D as SidebarSlidingView, E as SidebarSeparator, O as SidebarSlidingViews, S as SidebarProvider, T as SidebarRoot, _ as SidebarMenuChevron, a as SidebarCollapsible, b as SidebarMenuSubButton, c as SidebarContent, d as SidebarGroupLabel, f as SidebarHeader, g as SidebarMenuButton, h as SidebarMenuBadge, i as Sidebar, k as SidebarTrigger, l as SidebarFooter, m as SidebarMenu, n as KUMO_SIDEBAR_STYLING, o as SidebarCollapsibleContent, p as SidebarLoading, r as KUMO_SIDEBAR_VARIANTS, s as SidebarCollapsibleTrigger, t as KUMO_SIDEBAR_DEFAULT_VARIANTS, u as SidebarGroup, v as SidebarMenuItem, w as SidebarResizeHandle, x as SidebarMenuSubItem, y as SidebarMenuSub } from "./chunks/sidebar-jhwzfl3xpsfns60z.js";
58
58
  import { i as TableOfContents, n as KUMO_TABLE_OF_CONTENTS_DEFAULT_VARIANTS, r as KUMO_TABLE_OF_CONTENTS_VARIANTS, t as useTableOfContentsActiveId } from "./chunks/table-of-contents-gkjv9ck8etbz64ej.js";
59
59
  import { i as KUMO_BUTTON_GROUP_VARIANTS, n as KUMO_BUTTON_GROUP_DEFAULT_VARIANTS, r as KUMO_BUTTON_GROUP_STYLING, t as ButtonGroup } from "./chunks/button-group-biv43ksvaipc3p5n.js";
60
60
  import "./components/button-group.js";
61
- import { t as TagInput } from "./chunks/tag-input-k6vzllby4qebmv63.js";
62
- import { t as LayerDialog } from "./chunks/layer-dialog-n7foup6icxowm82n.js";
63
- import { i as sliderVariants, n as KUMO_SLIDER_VARIANTS, r as Slider, t as KUMO_SLIDER_DEFAULT_VARIANTS } from "./chunks/slider-juwif2d8xa5n0429.js";
61
+ import { t as TagInput } from "./chunks/tag-input-fm0pwt6kea4q137b.js";
62
+ import { t as LayerDialog } from "./chunks/layer-dialog-cwpiki9rq2s6yidp.js";
63
+ import { i as sliderVariants, n as KUMO_SLIDER_VARIANTS, r as Slider, t as KUMO_SLIDER_DEFAULT_VARIANTS } from "./chunks/slider-e395gihi5cjd62ss.js";
64
64
  import { useCallback, useEffect, useRef, useState } from "react";
65
65
  import { jsx, jsxs } from "react/jsx-runtime";
66
66
  import { CheckIcon, CopyIcon, WarningCircleIcon, XIcon } from "@phosphor-icons/react";
@@ -1,5 +1,5 @@
1
1
  import { r as FieldProps } from "./field-DIjlHM8W.js";
2
- import { n as ButtonProps } from "./button-Bbi7gFL7.js";
2
+ import { n as ButtonProps } from "./button-DzavLWXm.js";
3
3
  import { n as InputProps, r as KumoInputSize } from "./input-BeWEb-jD.js";
4
4
  import { t as KumoTooltipSide } from "./tooltip-D_vhi1PN.js";
5
5
  import React, { HTMLAttributes, PropsWithChildren, ReactNode } from "react";