@cloudflare/kumo 2.18.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 (88) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/ai/component-registry.json +3 -3
  3. package/ai/component-registry.md +1 -1
  4. package/ai/schemas.ts +1 -1
  5. package/dist/.build-complete +1 -1
  6. package/dist/{button-DBuj7_fo.d.ts → button-DzavLWXm.d.ts} +1 -1
  7. package/dist/chunks/{autocomplete-ngrji5wk0xdpq2qc.js → autocomplete-kx87ui5sodpxx2zm.js} +2 -2
  8. package/dist/chunks/{badge-f27mwe9gasi4inb6.js → badge-g0m6j3nji45tiink.js} +1 -1
  9. package/dist/chunks/{banner-m68xx7eqplxwi73f.js → banner-mo1xl9ww734kgsqh.js} +1 -1
  10. package/dist/chunks/{breadcrumbs-2ra74bio44h1fvuj.js → breadcrumbs-o63hllvg6zlbxvcr.js} +1 -1
  11. package/dist/chunks/{button-cyea767mx5dwgavm.js → button-hzvowfkbathmx8yg.js} +1 -1
  12. package/dist/chunks/{checkbox-bcpt8k7ck95vgjc1.js → checkbox-oav03hnpbj06x31v.js} +1 -1
  13. package/dist/chunks/{clipboard-text-k9ae6rsreg9ol6y2.js → clipboard-text-ldk0zyq1qtey1yux.js} +2 -2
  14. package/dist/chunks/{combobox-iuuzrkczst4nmoyh.js → combobox-iwqfbp2cn3z54azu.js} +2 -2
  15. package/dist/chunks/{command-palette-el4x943vpmid0po0.js → command-palette-d45ueqbuxygu87ir.js} +1 -1
  16. package/dist/chunks/{date-picker-o6iov1n67oc4rbom.js → date-picker-ija2bz17ai6ypnao.js} +1 -1
  17. package/dist/chunks/{dialog-h3zgi4kmimpesv5j.js → dialog-g7wavhkdv2gplwq9.js} +2 -2
  18. package/dist/chunks/{empty-ghcpxo6x75jg7mw9.js → empty-dzm61keqaezmp452.js} +1 -1
  19. package/dist/chunks/{field-crf1hw5exr2oxemk.js → field-gkrpde59au4kjh7q.js} +1 -1
  20. package/dist/chunks/{input-m6nvwwnydvbdz8rf.js → input-ehb5hnwkr2kx9rpw.js} +2 -2
  21. package/dist/chunks/{input-d1230n06m5b1p3rd.js → input-ggn78losfydwdjqg.js} +1 -1
  22. package/dist/chunks/{input-group-gg4aurpe2s60van9.js → input-group-grlfeiivjuhd7jif.js} +3 -3
  23. package/dist/chunks/{label-cecukn2rbow4ghxg.js → label-f9vvtexndkpjlrv0.js} +1 -1
  24. package/dist/chunks/{layer-card-mar4dya5kl1vvie6.js → layer-card-lsmeuqic9i1isv2b.js} +2 -2
  25. package/dist/chunks/{layer-dialog-eeecim8yf0dzhs2m.js → layer-dialog-cwpiki9rq2s6yidp.js} +2 -2
  26. package/dist/chunks/{pagination-fkjx0m380ku9zqv9.js → pagination-h5l4b9bfmf78s6jq.js} +2 -2
  27. package/dist/chunks/{radio-co7gt6ihfp5w4jr0.js → radio-nf717i5ypsga9zdh.js} +31 -30
  28. package/dist/chunks/{select-ha59x0uq5ocr1x36.js → select-ei05w4df1th4fa4e.js} +8 -8
  29. package/dist/chunks/{sensitive-input-hg58r9x2d9njtysl.js → sensitive-input-owfvgxmefm5lzzx8.js} +3 -2
  30. package/dist/chunks/{sidebar-dgyce0z35tpnxj8t.js → sidebar-jhwzfl3xpsfns60z.js} +1 -1
  31. package/dist/chunks/{surface-ginwpan1pz61l6k2.js → surface-jr8x5hy0gucjk5ig.js} +1 -1
  32. package/dist/chunks/{switch-hqj8v7ll9g14p5my.js → switch-e1dsoxucn07fz00t.js} +1 -1
  33. package/dist/chunks/{table-b491wlpxd8jbr9b5.js → table-m0xshmsbxq2h1sho.js} +1 -1
  34. package/dist/chunks/{tag-input-0ombmb7yrn4xk3in.js → tag-input-fm0pwt6kea4q137b.js} +3 -3
  35. package/dist/chunks/{toast-cmj0e7xvoh9gxxao.js → toast-iojuzen6iavawpc9.js} +1 -1
  36. package/dist/chunks/{toolbar-bx2w3vk2if6mp36l.js → toolbar-3wkkukczgo0bk6mo.js} +3 -3
  37. package/dist/code.js +1 -1
  38. package/dist/command-line/cli.js +6 -5
  39. package/dist/components/autocomplete.js +1 -1
  40. package/dist/components/badge.d.ts +1 -1
  41. package/dist/components/badge.js +1 -1
  42. package/dist/components/banner.d.ts +1 -1
  43. package/dist/components/banner.js +1 -1
  44. package/dist/components/breadcrumbs.js +1 -1
  45. package/dist/components/button.d.ts +2 -2
  46. package/dist/components/button.js +1 -1
  47. package/dist/components/checkbox.js +1 -1
  48. package/dist/components/clipboard-text.js +1 -1
  49. package/dist/components/combobox.js +1 -1
  50. package/dist/components/command-palette.js +1 -1
  51. package/dist/components/date-picker.js +1 -1
  52. package/dist/components/dialog.js +1 -1
  53. package/dist/components/empty.js +1 -1
  54. package/dist/components/field.js +1 -1
  55. package/dist/components/input-group.d.ts +1 -1
  56. package/dist/components/input-group.js +1 -1
  57. package/dist/components/input.d.ts +1 -1
  58. package/dist/components/input.js +3 -3
  59. package/dist/components/label.js +1 -1
  60. package/dist/components/layer-card.js +1 -1
  61. package/dist/components/layer-dialog.js +1 -1
  62. package/dist/components/pagination.js +1 -1
  63. package/dist/components/radio.js +1 -1
  64. package/dist/components/select.d.ts +1 -1
  65. package/dist/components/select.js +1 -1
  66. package/dist/components/sensitive-input.js +1 -1
  67. package/dist/components/sidebar.js +1 -1
  68. package/dist/components/surface.js +1 -1
  69. package/dist/components/switch.js +1 -1
  70. package/dist/components/table.js +1 -1
  71. package/dist/components/tag-input.js +1 -1
  72. package/dist/components/toast.d.ts +1 -1
  73. package/dist/components/toast.js +1 -1
  74. package/dist/components/toolbar.d.ts +1 -1
  75. package/dist/components/toolbar.js +1 -1
  76. package/dist/{index--HBggSGH.d.ts → index-CUT5x1Z2.d.ts} +2 -2
  77. package/dist/index-DL1-uSuH.d.ts +1 -0
  78. package/dist/{index-CdSf6Vfc.d.ts → index-DmhpD22M.d.ts} +1 -1
  79. package/dist/{index-DWZia2ui.d.ts → index-DwNMa4LN.d.ts} +5 -1
  80. package/dist/{index-BAFvYacU.d.ts → index-NnHba-T1.d.ts} +1 -1
  81. package/dist/{index-BfoZI9Hf.d.ts → index-aahL-0Zw.d.ts} +2 -2
  82. package/dist/index-wD5WGQQz.d.ts +136 -0
  83. package/dist/index.d.ts +8 -8
  84. package/dist/index.js +30 -30
  85. package/dist/{input-group-oXVkmPrY.d.ts → input-group-8gEtPiKw.d.ts} +1 -1
  86. package/dist/styles/kumo-standalone.css +1 -1
  87. package/package.json +1 -1
  88. package/dist/index-WCjW8Iot.d.ts +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @cloudflare/kumo
2
2
 
3
+ ## 2.18.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 8729c71: fix(dialog): let flex column dialogs shrink a scrollable body again
8
+
9
+ 2.18.0 added `*:shrink-0` to every `Dialog`, which stopped dialogs built as `flex flex-col max-h-[…] overflow-hidden` with a `flex-1 min-h-0 overflow-y-auto` body from scrolling: the body kept its full height and the footer was clipped out of reach. `Dialog` no longer sets `flex-shrink` on its children. `LayerCard.Primary` and `LayerCard.Secondary` now carry `shrink-0` themselves, so layered dialogs still keep their sections from being squashed, and a section can opt back into shrinking with `className="min-h-0 flex-1"`.
10
+
11
+ If you added `*:shrink` to a `Dialog` to work around 2.18.0, it is no longer needed and can be removed.
12
+
13
+ - 63d0398: Fix `kumo migrate` so that stdout stays valid JSON when no token migrations are pending. The "No pending token migrations." text now goes to stderr, and stdout is a JSON object with an empty `classes` map. `--classes` output is unchanged.
14
+ - aede2c3: Remove the inherited resting background from ghost buttons so translucent parent surfaces do not appear darker beneath them.
15
+ - 68ead88: Name `Radio.Group`'s radiogroup with its legend.
16
+
17
+ `Radio.Group` rendered an unnamed `role="radiogroup"` element around a `<fieldset>` that the legend named, so assistive technology announced a radiogroup with no name. The radiogroup now renders as the fieldset itself, so there is one element, `<fieldset role="radiogroup">`, named by its `legend` or `Radio.Legend`. Queries like `getByRole("group", { name })` for a radio group's legend become `getByRole("radiogroup", { name })`.
18
+
19
+ - 27f8615: Select: a visible `label` now names the trigger whatever its type. A ReactNode label, such as a translated `<Trans>` element, used to leave the trigger unnamed or named by its placeholder. The trigger now points `aria-labelledby` at the rendered label, which also keeps the name when `render` sets the trigger's `id`. A consumer `aria-labelledby` next to a visible label is now honored.
20
+ - ac1cbbf: Fix `SensitiveInput` not forwarding `required` to the native input. The prop only decorated the label, so an empty required field did not block form submission.
21
+ - 8c058ff: Fix Badge height inconsistencies by setting an explicit line-height instead of relying on the parent or consumer typography theme.
22
+
3
23
  ## 2.18.0
4
24
 
5
25
  ### Minor Changes
@@ -307,7 +307,7 @@
307
307
  "text-kumo-success",
308
308
  "text-kumo-warning"
309
309
  ],
310
- "baseStyles": "inline-flex w-fit flex-none shrink-0 items-center justify-self-start gap-1 rounded-full px-2 py-0.5 text-xs font-medium whitespace-nowrap [a:hover_&]:ring [a:hover_&]:ring-current"
310
+ "baseStyles": "inline-flex w-fit flex-none shrink-0 items-center justify-self-start gap-1 rounded-full px-2 py-0.5 text-xs/4 font-medium whitespace-nowrap [a:hover_&]:ring [a:hover_&]:ring-current"
311
311
  },
312
312
  "Banner": {
313
313
  "name": "Banner",
@@ -743,7 +743,7 @@
743
743
  "classes": {
744
744
  "primary": "relative overflow-hidden bg-(--kumo-button-emphasis-bg) !text-white ring ring-(--kumo-button-emphasis-ring) focus:ring-(--kumo-button-emphasis-ring) focus-visible:ring-(--kumo-button-emphasis-ring) active:ring-(--kumo-button-emphasis-ring) disabled:opacity-50",
745
745
  "secondary": "bg-kumo-base !text-kumo-default ring not-disabled:hover:bg-kumo-tint disabled:bg-kumo-base/50 disabled:!text-kumo-default/70 ring-kumo-line data-[state=open]:bg-kumo-base",
746
- "ghost": "text-kumo-default hover:bg-kumo-tint shadow-none bg-inherit",
746
+ "ghost": "text-kumo-default hover:bg-kumo-tint shadow-none",
747
747
  "destructive": "relative overflow-hidden bg-(--kumo-button-emphasis-bg) !text-white ring ring-(--kumo-button-emphasis-ring) focus:ring-(--kumo-button-emphasis-ring) focus-visible:ring-(--kumo-button-emphasis-ring) active:ring-(--kumo-button-emphasis-ring) disabled:opacity-50",
748
748
  "secondary-destructive": "bg-kumo-base !text-kumo-danger ring not-disabled:hover:!text-kumo-danger not-disabled:hover:ring-kumo-danger/30 disabled:bg-kumo-base/50 disabled:!text-kumo-danger/70 ring-kumo-line data-[state=open]:bg-kumo-base",
749
749
  "outline": "bg-transparent text-kumo-default ring ring-kumo-line transition-colors not-disabled:hover:text-kumo-strong not-disabled:hover:ring-kumo-focus/25"
@@ -5745,7 +5745,7 @@
5745
5745
  "render": {
5746
5746
  "type": "ReactNode",
5747
5747
  "optional": true,
5748
- "description": "Replaces the trigger element while preserving Select behavior."
5748
+ "description": "Replaces the trigger element while preserving Select behavior. Set the trigger's `id` with Select's `id` prop: Base UI does not see an `id` set here, so clicking the label would not focus the trigger."
5749
5749
  },
5750
5750
  "size": {
5751
5751
  "type": "enum",
@@ -7941,7 +7941,7 @@ The function takes a `data` object parameter with the following properties:
7941
7941
  - `className`: string
7942
7942
  Additional CSS classes merged via `cn()`.
7943
7943
  - `render`: ReactNode
7944
- Replaces the trigger element while preserving Select behavior.
7944
+ Replaces the trigger element while preserving Select behavior. Set the trigger's `id` with Select's `id` prop: Base UI does not see an `id` set here, so clicking the label would not focus the trigger.
7945
7945
  - `size`: enum [default: base]
7946
7946
  Size of the select trigger. Matches Input component sizes.
7947
7947
  - `label`: ReactNode
package/ai/schemas.ts CHANGED
@@ -821,7 +821,7 @@ export const SelectPropsSchema = z.object({
821
821
  sideOffset: z.unknown().optional(), // Distance between the anchor and the popup in pixels. Also accepts a function that returns the distance to read the dimensions of the anchor and positioner elements, along with its side and alignment. The function takes a `data` object parameter with the following properties: - `data.anchor`: the dimensions of the anchor element with properties `width` and `height`. - `data.positioner`: the dimensions of the positioner element with properties `width` and `height`. - `data.side`: which side of the anchor element the positioner is aligned against. - `data.align`: how the positioner is aligned relative to the specified side.
822
822
  sticky: z.boolean().optional(), // Whether to maintain the popup in the viewport after the anchor element was scrolled out of view.
823
823
  className: z.string().optional(), // Additional CSS classes merged via `cn()`.
824
- render: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Replaces the trigger element while preserving Select behavior.
824
+ render: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Replaces the trigger element while preserving Select behavior. Set the trigger's `id` with Select's `id` prop: Base UI does not see an `id` set here, so clicking the label would not focus the trigger.
825
825
  size: z.enum(["xs", "sm", "base", "lg"]).optional(), // Size of the select trigger. Matches Input component sizes.
826
826
  label: z.union([z.string(), z.number(), z.boolean(), z.null(), DynamicValueSchema]).optional(), // Label content for the select. When provided, enables the Field wrapper with a visible label above the select. For accessibility without a visible label, use `aria-label` instead.
827
827
  hideLabel: z.boolean().optional(),
@@ -1 +1 @@
1
- 1794240799832
1
+ 1794507274531
@@ -59,7 +59,7 @@ declare const KUMO_BUTTON_VARIANTS: {
59
59
  readonly description: "Default button style for most actions";
60
60
  };
61
61
  readonly ghost: {
62
- readonly classes: "text-kumo-default hover:bg-kumo-tint shadow-none bg-inherit";
62
+ readonly classes: "text-kumo-default hover:bg-kumo-tint shadow-none";
63
63
  readonly description: "Minimal button with no background";
64
64
  };
65
65
  readonly destructive: {
@@ -1,8 +1,8 @@
1
1
  "use client";
2
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-crf1hw5exr2oxemk.js";
5
- import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-d1230n06m5b1p3rd.js";
4
+ import { t as Field } from "./field-gkrpde59au4kjh7q.js";
5
+ import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-ggn78losfydwdjqg.js";
6
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
7
  import { n as ComboboxPositioner, r as ComboboxPortal, t as ComboboxPopup } from "./ComboboxPopup-n8cbgys9st446j1i.js";
8
8
  import { n as AutocompleteRoot, t as AutocompleteItem } from "./AutocompleteItem-36ysm5nwbsd0snr6.js";
@@ -6,7 +6,7 @@ import React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region src/components/badge/badge.tsx
8
8
  /** Base styles applied to all badge variants. */
9
- 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";
9
+ 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";
10
10
  /** Badge variant definitions mapping variant names to their Tailwind classes and descriptions. */
11
11
  const KUMO_BADGE_VARIANTS = {
12
12
  variant: {
@@ -2,7 +2,7 @@
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
4
4
  import { r as Link } from "./link-h84bkh8eem39p529.js";
5
- import { n as LinkButton, t as Button } from "./button-cyea767mx5dwgavm.js";
5
+ import { n as LinkButton, t as Button } from "./button-hzvowfkbathmx8yg.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
@@ -2,7 +2,7 @@
2
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-cyea767mx5dwgavm.js";
5
+ import { t as Button } from "./button-hzvowfkbathmx8yg.js";
6
6
  import { t as useCopyFeedback } from "./use-copy-feedback-gl55ghst0csvpv4j.js";
7
7
  import { t as SkeletonLine } from "./skeleton-line-kmhnp0lx3rxhioxa.js";
8
8
  import { Children, cloneElement, isValidElement } from "react";
@@ -59,7 +59,7 @@ const KUMO_BUTTON_VARIANTS = {
59
59
  description: "Default button style for most actions"
60
60
  },
61
61
  ghost: {
62
- classes: "text-kumo-default hover:bg-kumo-tint shadow-none bg-inherit",
62
+ classes: "text-kumo-default hover:bg-kumo-tint shadow-none",
63
63
  description: "Minimal button with no background"
64
64
  },
65
65
  destructive: {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
- import { r as Label } from "./label-cecukn2rbow4ghxg.js";
3
+ import { r as Label } from "./label-f9vvtexndkpjlrv0.js";
4
4
  import { n as FieldsetRoot, t as FieldsetLegend } from "./FieldsetLegend-gl9z9eezr0xg9zr7.js";
5
5
  import { n as FieldRoot, t as FieldLabel } from "./FieldLabel-fjc7tdis7rcbq8o4.js";
6
6
  import { t as CheckboxGroup$1 } from "./CheckboxGroup-581mfftu99wvjb3a.js";
@@ -3,9 +3,9 @@ import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
4
4
  import { a as TooltipTrigger, i as TooltipPortal, n as TooltipPositioner, s as TooltipRoot, t as TooltipPopup } from "./TooltipPopup-furysmeyb68uycbz.js";
5
5
  import { t as TooltipProvider } from "./TooltipProvider-hyans0ens4axh1y8.js";
6
- import { t as Button } from "./button-cyea767mx5dwgavm.js";
6
+ import { t as Button } from "./button-hzvowfkbathmx8yg.js";
7
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-d1230n06m5b1p3rd.js";
8
+ import { r as inputVariants } from "./input-ggn78losfydwdjqg.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, EyeIcon, EyeSlashIcon } from "@phosphor-icons/react";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
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-crf1hw5exr2oxemk.js";
5
- import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-d1230n06m5b1p3rd.js";
4
+ import { t as Field } from "./field-gkrpde59au4kjh7q.js";
5
+ import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-ggn78losfydwdjqg.js";
6
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
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
8
  import { n as ComboboxIcon, r as ComboboxTrigger, t as ComboboxClear } from "./ComboboxClear-ioejwvtnmqanph88.js";
@@ -6,7 +6,7 @@ import { a as ComboboxGroupLabel, c as ComboboxCollection, l as ComboboxInput, o
6
6
  import { r as DialogPortal } from "./useRenderDialogRoot-bsqrqpc1ddau7xg4.js";
7
7
  import { r as DialogBackdrop, t as DialogPopup } from "./DialogPopup-n6w7b389e7bs0472.js";
8
8
  import { t as DialogRoot } from "./DialogRoot-hkkqj7vcjpkx8qk8.js";
9
- import { t as LayerCard } from "./layer-card-mar4dya5kl1vvie6.js";
9
+ import { t as LayerCard } from "./layer-card-lsmeuqic9i1isv2b.js";
10
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";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as __exportAll } from "./rolldown-runtime-hi7ti5xiuxsegr96.js";
3
3
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
4
- import { i as buttonVariants } from "./button-cyea767mx5dwgavm.js";
4
+ import { i as buttonVariants } from "./button-hzvowfkbathmx8yg.js";
5
5
  import React, { createContext, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  import { CaretDownIcon, CaretLeftIcon, CaretRightIcon, CaretUpIcon } from "@phosphor-icons/react";
@@ -7,7 +7,7 @@ import { r as DialogBackdrop, t as DialogPopup } from "./DialogPopup-n6w7b389e7b
7
7
  import { i as DialogClose$1, n as DialogTitle$1, r as DialogDescription$1, t as DialogTrigger$1 } from "./DialogTrigger-kpugfkbfswqrus4u.js";
8
8
  import { t as DialogRoot$1 } from "./DialogRoot-hkkqj7vcjpkx8qk8.js";
9
9
  import { n as AlertDialogRoot, t as AlertDialogTrigger } from "./AlertDialogTrigger-l1r1gbxcky1xq889.js";
10
- import { t as LayerCard } from "./layer-card-mar4dya5kl1vvie6.js";
10
+ import { t as LayerCard } from "./layer-card-lsmeuqic9i1isv2b.js";
11
11
  import { createContext, useContext } from "react";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
13
  //#region src/components/dialog/dialog.tsx
@@ -51,7 +51,7 @@ function useDialogRole() {
51
51
  return useContext(DialogRoleContext);
52
52
  }
53
53
  function dialogVariants({ size = KUMO_DIALOG_DEFAULT_VARIANTS.size } = {}) {
54
- return cn("shadow-m ring ring-kumo-line fixed top-8 left-1/2 sm:top-16 w-full max-w-[calc(100vw-2rem)] max-h-[calc(100dvh-4rem)] sm:max-h-[calc(100dvh-6rem)] -translate-x-1/2 overflow-x-hidden overflow-y-auto overscroll-contain *:shrink-0 rounded-xl bg-kumo-base text-kumo-default duration-150 data-ending-style:scale-90 data-ending-style:opacity-0 data-starting-style:scale-90 data-starting-style:opacity-0", resolveVariant(KUMO_DIALOG_VARIANTS.size, size, KUMO_DIALOG_DEFAULT_VARIANTS.size).classes);
54
+ return cn("shadow-m ring ring-kumo-line fixed top-8 left-1/2 sm:top-16 w-full max-w-[calc(100vw-2rem)] max-h-[calc(100dvh-4rem)] sm:max-h-[calc(100dvh-6rem)] -translate-x-1/2 overflow-x-hidden overflow-y-auto overscroll-contain rounded-xl bg-kumo-base text-kumo-default duration-150 data-ending-style:scale-90 data-ending-style:opacity-0 data-starting-style:scale-90 data-starting-style:opacity-0", resolveVariant(KUMO_DIALOG_VARIANTS.size, size, KUMO_DIALOG_DEFAULT_VARIANTS.size).classes);
55
55
  }
56
56
  /**
57
57
  * Modal dialog overlay with backdrop. Compound component with `Dialog.Root`,
@@ -1,7 +1,7 @@
1
1
  "use client";
2
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 Button } from "./button-cyea767mx5dwgavm.js";
4
+ import { t as Button } from "./button-hzvowfkbathmx8yg.js";
5
5
  import { t as Text } from "./text-me99rjbjkaff98gp.js";
6
6
  import { t as useCopyFeedback } from "./use-copy-feedback-gl55ghst0csvpv4j.js";
7
7
  import { useCallback } from "react";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
- import { r as Label } from "./label-cecukn2rbow4ghxg.js";
3
+ import { r as Label } from "./label-f9vvtexndkpjlrv0.js";
4
4
  import { n as FieldRoot, t as FieldLabel } from "./FieldLabel-fjc7tdis7rcbq8o4.js";
5
5
  import { n as FieldError, t as FieldDescription } from "./FieldDescription-orix2gepowrp5ni4.js";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { t as FieldControl } from "./FieldControl-hjj2tcqruozadgdi.js";
4
- import { a as normalizeFieldError, t as Field } from "./field-crf1hw5exr2oxemk.js";
5
- import { r as inputVariants } from "./input-d1230n06m5b1p3rd.js";
4
+ import { a as normalizeFieldError, t as Field } from "./field-gkrpde59au4kjh7q.js";
5
+ import { r as inputVariants } from "./input-ggn78losfydwdjqg.js";
6
6
  import * as React$1 from "react";
7
7
  import { useCallback, useEffect, useLayoutEffect, useRef } from "react";
8
8
  import { jsx } from "react/jsx-runtime";
@@ -2,7 +2,7 @@
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
4
4
  import { t as Input$1 } from "./Input-ozudotydd679ly63.js";
5
- import { a as normalizeFieldError, t as Field } from "./field-crf1hw5exr2oxemk.js";
5
+ import { a as normalizeFieldError, t as Field } from "./field-gkrpde59au4kjh7q.js";
6
6
  import { forwardRef } from "react";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  //#region src/components/input/input.tsx
@@ -2,9 +2,9 @@
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { t as unwrapLazyElement } from "./unwrap-lazy-element-hzbdkmujhd7iksau.js";
4
4
  import { t as Tooltip } from "./tooltip-bcymn9bfyz29fvji.js";
5
- import { t as Button$1 } from "./button-cyea767mx5dwgavm.js";
6
- import { t as Field } from "./field-crf1hw5exr2oxemk.js";
7
- import { r as inputVariants, t as Input$1 } from "./input-d1230n06m5b1p3rd.js";
5
+ import { t as Button$1 } from "./button-hzvowfkbathmx8yg.js";
6
+ import { t as Field } from "./field-gkrpde59au4kjh7q.js";
7
+ import { r as inputVariants, t as Input$1 } from "./input-ggn78losfydwdjqg.js";
8
8
  import React, { Children, cloneElement, createContext, forwardRef, isValidElement, useContext, useId, useMemo } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
10
  //#region src/components/input-group/context.ts
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { t as Tooltip } from "./tooltip-bcymn9bfyz29fvji.js";
4
- import { t as Button } from "./button-cyea767mx5dwgavm.js";
4
+ import { t as Button } from "./button-hzvowfkbathmx8yg.js";
5
5
  import { n as useKumoLocale } from "./locale-provider-e3310bgo4lnffqkd.js";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { Info } from "@phosphor-icons/react";
@@ -7,8 +7,8 @@ import { jsx } from "react/jsx-runtime";
7
7
  //#region src/components/layer-card/layer-card.tsx
8
8
  const LAYER_CARD_SURFACE_CLASSES = "overflow-hidden rounded-lg bg-kumo-base shadow-xs ring ring-kumo-line";
9
9
  const LAYER_CARD_LAYERED_ROOT_CLASSES = "flex w-full flex-col overflow-hidden rounded-lg bg-kumo-elevated text-base ring ring-kumo-hairline";
10
- const LAYER_CARD_SECONDARY_CLASSES = "-my-2 flex items-center gap-2 bg-kumo-elevated p-4 text-base font-medium text-kumo-subtle";
11
- const LAYER_CARD_PRIMARY_CLASSES = "relative flex flex-col gap-2 overflow-hidden rounded-lg bg-kumo-base p-4 pr-3 text-inherit no-underline ring ring-kumo-fill";
10
+ const LAYER_CARD_SECONDARY_CLASSES = "-my-2 flex shrink-0 items-center gap-2 bg-kumo-elevated p-4 text-base font-medium text-kumo-subtle";
11
+ const LAYER_CARD_PRIMARY_CLASSES = "relative flex shrink-0 flex-col gap-2 overflow-hidden rounded-lg bg-kumo-base p-4 pr-3 text-inherit no-underline ring ring-kumo-fill";
12
12
  function layerCardVariants(_props = {}) {
13
13
  return cn(LAYER_CARD_SURFACE_CLASSES);
14
14
  }
@@ -3,10 +3,10 @@ import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
4
4
  import { t as addEventListener } from "./addEventListener-ku3x23446prmd1kz.js";
5
5
  import { n as usePortalContainer } from "./portal-provider-eveknxf26oudn7pp.js";
6
- import { t as Button } from "./button-cyea767mx5dwgavm.js";
6
+ import { t as Button } from "./button-hzvowfkbathmx8yg.js";
7
7
  import { n as useKumoLocale } from "./locale-provider-e3310bgo4lnffqkd.js";
8
8
  import { t as Text } from "./text-me99rjbjkaff98gp.js";
9
- import { t as LayerCard } from "./layer-card-mar4dya5kl1vvie6.js";
9
+ import { t as LayerCard } from "./layer-card-lsmeuqic9i1isv2b.js";
10
10
  import { t as DropdownMenu } from "./dropdown-m5a8nwer5hpvnkfk.js";
11
11
  import { i as ScrollAreaViewport, n as ScrollAreaContent, r as ScrollAreaScrollbar, s as ScrollAreaRoot, t as ScrollAreaThumb } from "./ScrollAreaThumb-hxig41yn4lrurd3o.js";
12
12
  import { t as ButtonGroup } from "./button-group-biv43ksvaipc3p5n.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
- import { t as InputGroup } from "./input-group-gg4aurpe2s60van9.js";
4
- import { t as Select } from "./select-ha59x0uq5ocr1x36.js";
3
+ import { t as InputGroup } from "./input-group-grlfeiivjuhd7jif.js";
4
+ import { t as Select } from "./select-ei05w4df1th4fa4e.js";
5
5
  import { createContext, useContext, useEffect, useMemo, useState } from "react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { CaretDoubleLeftIcon, CaretDoubleRightIcon, CaretLeftIcon, CaretRightIcon } from "@phosphor-icons/react";
@@ -136,37 +136,38 @@ function RadioGroup({ legend, children, orientation = "vertical", appearance = "
136
136
  appearance,
137
137
  orientation
138
138
  },
139
- children: /* @__PURE__ */ jsx(RadioGroup$1, {
140
- defaultValue,
141
- value,
142
- onValueChange: (newValue, eventDetails) => onValueChange?.(newValue, eventDetails),
143
- disabled,
144
- name,
145
- children: /* @__PURE__ */ jsxs(FieldsetRoot, {
139
+ children: /* @__PURE__ */ jsxs(FieldsetRoot, {
140
+ render: /* @__PURE__ */ jsx(RadioGroup$1, {
141
+ render: /* @__PURE__ */ jsx("fieldset", {}),
142
+ defaultValue,
143
+ value,
144
+ onValueChange: (newValue, eventDetails) => onValueChange?.(newValue, eventDetails),
146
145
  disabled,
147
- className: cn("flex flex-col p-0", appearance === "card" || appearance === "segmented" ? "gap-2" : "gap-4", className),
148
- children: [
149
- legend && /* @__PURE__ */ jsx(FieldsetLegend, {
150
- className: "text-base font-medium text-kumo-default",
151
- children: legend
152
- }),
153
- composableLegends,
154
- /* @__PURE__ */ jsx("div", {
155
- "data-kumo-component": "Radio",
156
- "data-kumo-part": "items",
157
- className: cn(appearance === "segmented" ? "inline-flex w-max flex-row flex-nowrap items-center self-start rounded-lg bg-kumo-control shadow-xs ring ring-kumo-line" : 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"),
158
- children: itemChildren
159
- }),
160
- error && /* @__PURE__ */ jsx("p", {
161
- className: "text-sm text-kumo-danger",
162
- children: error
163
- }),
164
- description && /* @__PURE__ */ jsx("p", {
165
- className: "text-sm leading-snug text-pretty text-kumo-subtle",
166
- children: description
167
- })
168
- ]
169
- })
146
+ name
147
+ }),
148
+ disabled,
149
+ className: cn("flex flex-col p-0", appearance === "card" || appearance === "segmented" ? "gap-2" : "gap-4", className),
150
+ children: [
151
+ legend && /* @__PURE__ */ jsx(FieldsetLegend, {
152
+ className: "text-base font-medium text-kumo-default",
153
+ children: legend
154
+ }),
155
+ composableLegends,
156
+ /* @__PURE__ */ jsx("div", {
157
+ "data-kumo-component": "Radio",
158
+ "data-kumo-part": "items",
159
+ className: cn(appearance === "segmented" ? "inline-flex w-max flex-row flex-nowrap items-center self-start rounded-lg bg-kumo-control shadow-xs ring ring-kumo-line" : 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"),
160
+ children: itemChildren
161
+ }),
162
+ error && /* @__PURE__ */ jsx("p", {
163
+ className: "text-sm text-kumo-danger",
164
+ children: error
165
+ }),
166
+ description && /* @__PURE__ */ jsx("p", {
167
+ className: "text-sm leading-snug text-pretty text-kumo-subtle",
168
+ children: description
169
+ })
170
+ ]
170
171
  })
171
172
  });
172
173
  }
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { n as usePortalContainer } from "./portal-provider-eveknxf26oudn7pp.js";
4
- import { i as buttonVariants } from "./button-cyea767mx5dwgavm.js";
5
- import { r as Label } from "./label-cecukn2rbow4ghxg.js";
6
- import { t as Field } from "./field-crf1hw5exr2oxemk.js";
7
- import { n as KUMO_INPUT_VARIANTS } from "./input-d1230n06m5b1p3rd.js";
4
+ import { i as buttonVariants } from "./button-hzvowfkbathmx8yg.js";
5
+ import { r as Label } from "./label-f9vvtexndkpjlrv0.js";
6
+ import { t as Field } from "./field-gkrpde59au4kjh7q.js";
7
+ import { n as KUMO_INPUT_VARIANTS } from "./input-ggn78losfydwdjqg.js";
8
8
  import { t as SkeletonLine } from "./skeleton-line-kmhnp0lx3rxhioxa.js";
9
9
  import { _ as SelectLabel, a as SelectItemIndicator, c as SelectPopup, f as SelectPortal, h as SelectTrigger, i as SelectItemText, m as SelectValue, n as SelectGroupLabel, o as SelectItem, p as SelectIcon, r as SelectGroup, s as SelectList, t as SelectSeparator, u as SelectPositioner, v as SelectRoot } from "./SelectSeparator-nnak70azojox8b2b.js";
10
10
  import { forwardRef, useId } from "react";
@@ -93,11 +93,11 @@ function Select({ children, className, render, renderValue, label, hideLabel, pl
93
93
  const propLookup = props;
94
94
  const ariaLabel = propLookup["aria-label"];
95
95
  const ariaLabelledby = propLookup["aria-labelledby"];
96
- const fallbackLabel = typeof label === "string" ? label : placeholder;
97
96
  if (hideLabel !== void 0) console.warn("[Kumo Select]: `hideLabel` is deprecated. For hidden labels, use `aria-label` instead of `label` + `hideLabel={true}`.\n Migration:\n - For visible labels: <Select label=\"Country\" /> (hideLabel no longer needed)\n - For hidden labels: <Select aria-label=\"Select a country\" /> (remove label and hideLabel)");
98
97
  const useFieldWrapper = label && hideLabel !== true;
99
- const triggerLabelledBy = useFieldWrapper ? void 0 : ariaLabelledby ?? (label ? labelId : void 0);
100
- const triggerAriaLabel = ariaLabel ?? (!triggerLabelledBy ? fallbackLabel : void 0);
98
+ const triggerLabelledBy = ariaLabelledby ?? (label && !useFieldWrapper ? labelId : void 0);
99
+ const triggerAriaLabel = ariaLabel ?? (!label && !triggerLabelledBy ? placeholder : void 0);
100
+ const triggerLabelledByProps = useFieldWrapper && ariaLabel === void 0 && ariaLabelledby === void 0 ? {} : { "aria-labelledby": triggerLabelledBy };
101
101
  const normalizedItems = props.items ? normalizeItems(props.items) : void 0;
102
102
  const renderedChildren = children ? children : props.items ? renderOptionsFromItems(props.items) : null;
103
103
  const valueChildrenFn = renderValue ? (value) => {
@@ -126,7 +126,7 @@ function Select({ children, className, render, renderValue, label, hideLabel, pl
126
126
  render,
127
127
  className: cn(selectVariants({ size }), props.disabled && "cursor-not-allowed opacity-50", error && "!ring-kumo-danger focus:ring-[1.5px] focus:ring-kumo-danger/50", className),
128
128
  "aria-label": triggerAriaLabel,
129
- "aria-labelledby": triggerLabelledBy,
129
+ ...triggerLabelledByProps,
130
130
  children: [loading ? /* @__PURE__ */ jsx(SkeletonLine, { className: "w-32" }) : /* @__PURE__ */ jsx(SelectValue, {
131
131
  placeholder,
132
132
  className: "min-w-0 truncate data-[placeholder]:text-kumo-placeholder",
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { t as Input } from "./Input-ozudotydd679ly63.js";
4
- import { t as Field } from "./field-crf1hw5exr2oxemk.js";
5
- import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-d1230n06m5b1p3rd.js";
4
+ import { t as Field } from "./field-gkrpde59au4kjh7q.js";
5
+ import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-ggn78losfydwdjqg.js";
6
6
  import { t as useCopyFeedback } from "./use-copy-feedback-gl55ghst0csvpv4j.js";
7
7
  import { forwardRef, useCallback, useId, useRef, useState } from "react";
8
8
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -160,6 +160,7 @@ const SensitiveInput = forwardRef(({ value: controlledValue, defaultValue = "",
160
160
  onKeyDown: handleInputKeyDown,
161
161
  disabled,
162
162
  readOnly: readOnly || isMaskedWithValue,
163
+ required,
163
164
  autoComplete,
164
165
  tabIndex: isMaskedWithValue ? -1 : 0,
165
166
  className: cn("kumo-input-placeholder w-full border-0 bg-transparent p-0 text-kumo-default ring-0 outline-none disabled:cursor-not-allowed disabled:text-kumo-subtle", size === "xs" && "pr-5", size === "sm" && "pr-6", size === "base" && "pr-8", size === "lg" && "pr-10", isMaskedWithValue && "pointer-events-none text-transparent"),
@@ -3,7 +3,7 @@ import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { t as unwrapLazyElement } from "./unwrap-lazy-element-hzbdkmujhd7iksau.js";
4
4
  import { n as useLinkComponent } from "./link-provider-kbwllpbo24fvgioj.js";
5
5
  import { n as TooltipProvider, t as Tooltip } from "./tooltip-bcymn9bfyz29fvji.js";
6
- import { t as Button } from "./button-cyea767mx5dwgavm.js";
6
+ import { t as Button } from "./button-hzvowfkbathmx8yg.js";
7
7
  import { t as SkeletonLine } from "./skeleton-line-kmhnp0lx3rxhioxa.js";
8
8
  import { i as ScrollAreaViewport, n as ScrollAreaContent, r as ScrollAreaScrollbar, s as ScrollAreaRoot, t as ScrollAreaThumb } from "./ScrollAreaThumb-hxig41yn4lrurd3o.js";
9
9
  import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useMemo, useRef, useState, useSyncExternalStore } from "react";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
- import { t as LayerCard } from "./layer-card-mar4dya5kl1vvie6.js";
3
+ import { t as LayerCard } from "./layer-card-lsmeuqic9i1isv2b.js";
4
4
  import { createElement } from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region src/components/surface/surface.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { n as FieldsetRoot, t as FieldsetLegend } from "./FieldsetLegend-gl9z9eezr0xg9zr7.js";
4
- import { t as Field } from "./field-crf1hw5exr2oxemk.js";
4
+ import { t as Field } from "./field-gkrpde59au4kjh7q.js";
5
5
  import { t as SwitchRoot } from "./SwitchRoot-m4t2tq5zn5wibyxk.js";
6
6
  import { createContext, forwardRef, useContext } from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
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 Checkbox } from "./checkbox-bcpt8k7ck95vgjc1.js";
4
+ import { t as Checkbox } from "./checkbox-oav03hnpbj06x31v.js";
5
5
  import { forwardRef } from "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/components/table/table.tsx
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
- import { t as Button } from "./button-cyea767mx5dwgavm.js";
3
+ import { t as Button } from "./button-hzvowfkbathmx8yg.js";
4
4
  import { t as FieldControl } from "./FieldControl-hjj2tcqruozadgdi.js";
5
- import { a as normalizeFieldError, t as Field } from "./field-crf1hw5exr2oxemk.js";
6
- import { r as inputVariants } from "./input-d1230n06m5b1p3rd.js";
5
+ import { a as normalizeFieldError, t as Field } from "./field-gkrpde59au4kjh7q.js";
6
+ import { r as inputVariants } from "./input-ggn78losfydwdjqg.js";
7
7
  import { forwardRef, useId, useState } from "react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  import { XIcon } from "@phosphor-icons/react";
@@ -2,7 +2,7 @@
2
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 usePortalContainer } from "./portal-provider-eveknxf26oudn7pp.js";
5
- import { t as Button } from "./button-cyea767mx5dwgavm.js";
5
+ import { t as Button } from "./button-hzvowfkbathmx8yg.js";
6
6
  import { a as ToastDescription, h as ToastProvider$1, l as ToastRoot, n as useToastManager, p as ToastViewport, t as createToastManager } from "./createToastManager-cxjmn4jx3ejh85fs.js";
7
7
  import { a as ToastContent, i as ToastTitle, n as ToastPortal, r as ToastClose } from "./index.parts-db9pzsm9rrs9tp0t.js";
8
8
  import * as e$4 from "react";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
- import { n as LinkButton, t as Button$1 } from "./button-cyea767mx5dwgavm.js";
4
- import { t as Input$1 } from "./input-d1230n06m5b1p3rd.js";
5
- import { t as InputGroup } from "./input-group-gg4aurpe2s60van9.js";
3
+ import { n as LinkButton, t as Button$1 } from "./button-hzvowfkbathmx8yg.js";
4
+ import { t as Input$1 } from "./input-ggn78losfydwdjqg.js";
5
+ import { t as InputGroup } from "./input-group-grlfeiivjuhd7jif.js";
6
6
  import { i as ToolbarRoot, n as ToolbarLink, r as ToolbarButton, t as ToolbarInput } from "./ToolbarInput-kyxl1be0p3cyuayp.js";
7
7
  import React, { Children, cloneElement, createContext, isValidElement } from "react";
8
8
  import { jsx } from "react/jsx-runtime";
package/dist/code.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as cn } from "./chunks/vendor-styling-gs32v7xt5znc8kg0.js";
3
- import { t as Button } from "./chunks/button-cyea767mx5dwgavm.js";
3
+ import { t as Button } from "./chunks/button-hzvowfkbathmx8yg.js";
4
4
  import { t as useCopyFeedback } from "./chunks/use-copy-feedback-gl55ghst0csvpv4j.js";
5
5
  import { createContext, useCallback, useContext, useEffect, useMemo, useState } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -724,11 +724,12 @@ function migrate(args) {
724
724
  return;
725
725
  }
726
726
  if (!hasPendingMigrations()) {
727
- console.log("No pending token migrations.");
728
- console.log("\nYour codebase is up to date with the current Kumo version.");
729
- console.log("Token migrations are only needed when upgrading to versions");
730
- console.log("that include breaking changes to token names.");
731
- return;
727
+ const print = outputClasses ? console.log : console.error;
728
+ print("No pending token migrations.");
729
+ print("\nYour codebase is up to date with the current Kumo version.");
730
+ print("Token migrations are only needed when upgrading to versions");
731
+ print("that include breaking changes to token names.");
732
+ if (outputClasses) return;
732
733
  }
733
734
  const direction = toOld ? "to-old" : "to-new";
734
735
  const classMap = generateClassMap(direction);
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "../chunks/autocomplete-ngrji5wk0xdpq2qc.js";
2
+ import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "../chunks/autocomplete-kx87ui5sodpxx2zm.js";
3
3
  export { Autocomplete, KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, KUMO_AUTOCOMPLETE_VARIANTS, autocompleteVariants };
@@ -1,2 +1,2 @@
1
- import { n as BadgeVariant, r as KUMO_BADGE_BASE_STYLES, t as Badge } from "../index-CdSf6Vfc.js";
1
+ import { n as BadgeVariant, r as KUMO_BADGE_BASE_STYLES, t as Badge } from "../index-DmhpD22M.js";
2
2
  export { Badge, type BadgeVariant, KUMO_BADGE_BASE_STYLES };
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { n as KUMO_BADGE_BASE_STYLES, t as Badge } from "../chunks/badge-f27mwe9gasi4inb6.js";
2
+ import { n as KUMO_BADGE_BASE_STYLES, t as Badge } from "../chunks/badge-g0m6j3nji45tiink.js";
3
3
  export { Badge, KUMO_BADGE_BASE_STYLES };
@@ -1,2 +1,2 @@
1
- import { n as BannerVariant, t as Banner } from "../index-BAFvYacU.js";
1
+ import { n as BannerVariant, t as Banner } from "../index-wD5WGQQz.js";
2
2
  export { Banner, BannerVariant };