@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.
- package/CHANGELOG.md +46 -0
- package/ai/USAGE.md +6 -0
- package/ai/component-registry.json +7 -6
- package/ai/component-registry.md +24 -1
- package/ai/schemas.ts +3 -1
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +2 -0
- package/dist/ai/schemas.js +1 -0
- package/dist/{button-Bbi7gFL7.d.ts → button-DzavLWXm.d.ts} +3 -3
- package/dist/catalog.d.ts +4 -1
- package/dist/catalog.js +37 -14
- package/dist/chunks/{autocomplete-evlm6fj7v7w0g2z2.js → autocomplete-kx87ui5sodpxx2zm.js} +2 -2
- package/dist/chunks/{badge-kyz53p7p0ng393bs.js → badge-g0m6j3nji45tiink.js} +4 -2
- package/dist/chunks/{banner-lvbgdzxq3yndkbot.js → banner-mo1xl9ww734kgsqh.js} +21 -10
- package/dist/chunks/{breadcrumbs-fsuyq7z6hdh1thjv.js → breadcrumbs-o63hllvg6zlbxvcr.js} +2 -2
- package/dist/chunks/{button-k7axs4vu1rwx89w3.js → button-hzvowfkbathmx8yg.js} +12 -17
- package/dist/chunks/{chart-hp3vqwe49tbyywqm.js → chart-g4dnsqiamjh39chn.js} +1 -1
- package/dist/chunks/{checkbox-g8b4f2hs5vux3u26.js → checkbox-oav03hnpbj06x31v.js} +5 -5
- package/dist/chunks/{clipboard-text-fffd5tpa0iye6r6m.js → clipboard-text-ldk0zyq1qtey1yux.js} +2 -2
- package/dist/chunks/{combobox-iawd8lxwd5b18fce.js → combobox-iwqfbp2cn3z54azu.js} +18 -6
- package/dist/chunks/{command-palette-el4x943vpmid0po0.js → command-palette-d45ueqbuxygu87ir.js} +1 -1
- package/dist/chunks/{date-picker-kfoxd4u7ckg4nsez.js → date-picker-ija2bz17ai6ypnao.js} +3 -3
- package/dist/chunks/{date-range-picker-hpx3cdu9ve01jx6d.js → date-range-picker-oivlshld01jbel29.js} +1 -1
- package/dist/chunks/{dialog-lgrwmsumwpftp2u8.js → dialog-g7wavhkdv2gplwq9.js} +2 -2
- package/dist/chunks/{dropdown-o875yxeqod7qp871.js → dropdown-m5a8nwer5hpvnkfk.js} +3 -1
- package/dist/chunks/{empty-ir5bg5w4kkisuc1c.js → empty-dzm61keqaezmp452.js} +1 -1
- package/dist/chunks/{field-n7gmbg5xvh6oqbom.js → field-gkrpde59au4kjh7q.js} +1 -1
- package/dist/chunks/{inline-copy-text-57r67slswfqvgbaf.js → inline-copy-text-c6wa49ys72pj7k53.js} +1 -1
- package/dist/chunks/{input-iev3wgdzhkqpae2k.js → input-ehb5hnwkr2kx9rpw.js} +2 -2
- package/dist/chunks/{input-f0pbcvjudf5zb8ek.js → input-ggn78losfydwdjqg.js} +2 -2
- package/dist/chunks/{input-group-dqo5tcoewbdx86qx.js → input-group-grlfeiivjuhd7jif.js} +8 -6
- package/dist/chunks/{label-njfcj6h9utmg2n9l.js → label-f9vvtexndkpjlrv0.js} +1 -1
- package/dist/chunks/{layer-card-mar4dya5kl1vvie6.js → layer-card-lsmeuqic9i1isv2b.js} +2 -2
- package/dist/chunks/{layer-dialog-n7foup6icxowm82n.js → layer-dialog-cwpiki9rq2s6yidp.js} +3 -3
- package/dist/chunks/{menubar-b454nksysu0wicbz.js → menubar-gzlyhmmc4i24prn1.js} +1 -1
- package/dist/chunks/{pagination-mwlpbysq4cxmvs45.js → pagination-h5l4b9bfmf78s6jq.js} +2 -2
- package/dist/chunks/{radio-d3pkrvsldfbdefav.js → radio-nf717i5ypsga9zdh.js} +34 -33
- package/dist/chunks/{select-fae2ls189jrq902h.js → select-ei05w4df1th4fa4e.js} +10 -10
- package/dist/chunks/{sensitive-input-heb3xapwahzhpq6y.js → sensitive-input-owfvgxmefm5lzzx8.js} +4 -3
- package/dist/chunks/{sidebar-h6g412ror8p7uo0d.js → sidebar-jhwzfl3xpsfns60z.js} +11 -9
- package/dist/chunks/skeleton-line-kmhnp0lx3rxhioxa.js +74 -0
- package/dist/chunks/{slider-juwif2d8xa5n0429.js → slider-e395gihi5cjd62ss.js} +1 -1
- package/dist/chunks/{surface-ginwpan1pz61l6k2.js → surface-jr8x5hy0gucjk5ig.js} +1 -1
- package/dist/chunks/{switch-ktfauhluw1yi5tkk.js → switch-e1dsoxucn07fz00t.js} +4 -4
- package/dist/chunks/{table-lp41fsw7mqr751hn.js → table-m0xshmsbxq2h1sho.js} +1 -1
- package/dist/chunks/{tabs-mmkz7q5rofnmogwt.js → tabs-oi64kuuf2poro26u.js} +2 -2
- package/dist/chunks/{tag-input-k6vzllby4qebmv63.js → tag-input-fm0pwt6kea4q137b.js} +3 -3
- package/dist/chunks/{toast-kzwscia42707sau6.js → toast-iojuzen6iavawpc9.js} +1 -1
- package/dist/chunks/{toolbar-nnos2ouwfk7i6tpw.js → toolbar-3wkkukczgo0bk6mo.js} +3 -3
- package/dist/chunks/unwrap-lazy-element-hzbdkmujhd7iksau.js +45 -0
- package/dist/code.js +1 -1
- package/dist/command-line/cli.js +6 -5
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.d.ts +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/banner.d.ts +1 -1
- package/dist/components/banner.js +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.d.ts +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/chart.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/clipboard-text.js +1 -1
- package/dist/components/combobox.d.ts +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/command-palette.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/inline-copy-text.d.ts +1 -1
- package/dist/components/inline-copy-text.js +1 -1
- package/dist/components/input-group.d.ts +1 -1
- package/dist/components/input-group.js +1 -1
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +3 -3
- package/dist/components/label.js +1 -1
- package/dist/components/layer-card.js +1 -1
- package/dist/components/layer-dialog.js +1 -1
- package/dist/components/loader.d.ts +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/menubar.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/select.d.ts +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/sensitive-input.js +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/surface.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tag-input.js +1 -1
- package/dist/components/toast.d.ts +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toolbar.d.ts +1 -1
- package/dist/components/toolbar.js +1 -1
- package/dist/{index-BMe3cpLB.d.ts → index-CUT5x1Z2.d.ts} +2 -2
- package/dist/{index-jNWPjJl9.d.ts → index-D4_C1J_8.d.ts} +1 -1
- package/dist/index-DL1-uSuH.d.ts +1 -0
- package/dist/{index-CdSf6Vfc.d.ts → index-DmhpD22M.d.ts} +1 -1
- package/dist/{index-DWZia2ui.d.ts → index-DwNMa4LN.d.ts} +5 -1
- package/dist/{index-BAQwS4mL.d.ts → index-Dx7hOWUc.d.ts} +24 -1
- package/dist/{index-CrQi3QCY.d.ts → index-DxOyYZaJ.d.ts} +4 -3
- package/dist/{index-CSWbPhke.d.ts → index-NnHba-T1.d.ts} +15 -5
- package/dist/{index--RbAKeBL.d.ts → index-aahL-0Zw.d.ts} +2 -2
- package/dist/index-wD5WGQQz.d.ts +136 -0
- package/dist/index.d.ts +11 -11
- package/dist/index.js +38 -38
- package/dist/{input-group-B3M_WRqm.d.ts → input-group-8gEtPiKw.d.ts} +1 -1
- package/dist/styles/kumo-standalone.css +1 -1
- package/package.json +1 -1
- package/scripts/component-registry/schema-generator.ts +2 -0
- package/dist/chunks/skeleton-line-gjf1fecmyy82aejz.js +0 -43
- package/dist/index-B-hCpI5K.d.ts +0 -1
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
|
+
import { t as resolveVariant } from "./resolve-variant-l6x5ksfrjtu4m66l.js";
|
|
4
|
+
import { useMemo } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
//#region src/components/loader/skeleton-line.tsx
|
|
7
|
+
/** SkeletonLine variant definitions mapping variant names to their root classes and descriptions. */
|
|
8
|
+
const KUMO_SKELETON_LINE_VARIANTS = { variant: {
|
|
9
|
+
default: {
|
|
10
|
+
classes: "skeleton-line",
|
|
11
|
+
description: "Flat grey bar with a sliding shimmer"
|
|
12
|
+
},
|
|
13
|
+
sketch: {
|
|
14
|
+
classes: "relative h-2 w-(--skeleton-width)",
|
|
15
|
+
description: "Wireframe-style bar: rounded fill with a sliding shimmer, a 1px outline, and construction strokes that overshoot each corner by 4px"
|
|
16
|
+
}
|
|
17
|
+
} };
|
|
18
|
+
const KUMO_SKELETON_LINE_DEFAULT_VARIANTS = { variant: "default" };
|
|
19
|
+
/** Edge strokes drawn under the sketch variant's outline. */
|
|
20
|
+
const SKETCH_STROKE = "absolute bg-kumo-fill";
|
|
21
|
+
const getRandomWidth = (min, max) => Math.floor(Math.random() * (max - min + 1) + min);
|
|
22
|
+
const getRandomFloat = (min, max) => (Math.random() * (max - min) + min).toFixed(2);
|
|
23
|
+
const SkeletonLine = ({ variant = KUMO_SKELETON_LINE_DEFAULT_VARIANTS.variant, minWidth = 30, maxWidth = 100, minDuration = 1.3, maxDuration = 1.7, minDelay = 0, maxDelay = .5, blockHeight, className }) => {
|
|
24
|
+
const { width, duration, delay } = useMemo(() => {
|
|
25
|
+
return {
|
|
26
|
+
width: getRandomWidth(minWidth, maxWidth),
|
|
27
|
+
duration: getRandomFloat(minDuration, maxDuration),
|
|
28
|
+
delay: getRandomFloat(minDelay, maxDelay)
|
|
29
|
+
};
|
|
30
|
+
}, [
|
|
31
|
+
minWidth,
|
|
32
|
+
maxWidth,
|
|
33
|
+
minDuration,
|
|
34
|
+
maxDuration,
|
|
35
|
+
minDelay,
|
|
36
|
+
maxDelay
|
|
37
|
+
]);
|
|
38
|
+
const lineStyle = {
|
|
39
|
+
"--skeleton-width": `${width}%`,
|
|
40
|
+
"--shimmer-duration": `${duration}s`,
|
|
41
|
+
"--shimmer-delay": `${delay}s`
|
|
42
|
+
};
|
|
43
|
+
const rootClasses = resolveVariant(KUMO_SKELETON_LINE_VARIANTS.variant, variant, KUMO_SKELETON_LINE_DEFAULT_VARIANTS.variant).classes;
|
|
44
|
+
const line = variant === "sketch" ? /* @__PURE__ */ jsxs("div", {
|
|
45
|
+
className: cn(rootClasses, className),
|
|
46
|
+
style: lineStyle,
|
|
47
|
+
"data-variant": "sketch",
|
|
48
|
+
children: [
|
|
49
|
+
/* @__PURE__ */ jsx("div", {
|
|
50
|
+
className: "absolute inset-0 overflow-hidden rounded-lg bg-kumo-recessed",
|
|
51
|
+
children: /* @__PURE__ */ jsx("div", { className: "absolute inset-0 animate-[shimmer_var(--shimmer-duration,1.5s)_var(--shimmer-delay,0s)_infinite_ease-in-out] bg-linear-to-r from-transparent via-kumo-contrast/8 to-transparent motion-reduce:animate-none" })
|
|
52
|
+
}),
|
|
53
|
+
/* @__PURE__ */ jsx("div", { className: cn(SKETCH_STROKE, "-inset-x-1 top-0 h-px") }),
|
|
54
|
+
/* @__PURE__ */ jsx("div", { className: cn(SKETCH_STROKE, "-inset-x-1 bottom-0 h-px") }),
|
|
55
|
+
/* @__PURE__ */ jsx("div", { className: cn(SKETCH_STROKE, "-inset-y-1 left-0 w-px") }),
|
|
56
|
+
/* @__PURE__ */ jsx("div", { className: cn(SKETCH_STROKE, "-inset-y-1 right-0 w-px") }),
|
|
57
|
+
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 rounded-lg border border-kumo-interact" })
|
|
58
|
+
]
|
|
59
|
+
}) : /* @__PURE__ */ jsx("div", {
|
|
60
|
+
className: cn(rootClasses, className),
|
|
61
|
+
style: lineStyle
|
|
62
|
+
});
|
|
63
|
+
if (blockHeight !== void 0) {
|
|
64
|
+
const height = typeof blockHeight === "number" ? `${blockHeight}px` : blockHeight;
|
|
65
|
+
return /* @__PURE__ */ jsx("div", {
|
|
66
|
+
className: "flex items-center",
|
|
67
|
+
style: { height },
|
|
68
|
+
children: line
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
return line;
|
|
72
|
+
};
|
|
73
|
+
//#endregion
|
|
74
|
+
export { SkeletonLine as t };
|
|
@@ -61,7 +61,7 @@ function Slider({ label, size = KUMO_SLIDER_DEFAULT_VARIANTS.size, getAriaLabel,
|
|
|
61
61
|
children: [/* @__PURE__ */ jsx(SliderIndicator, { className: cn("box-content! bg-kumo-overlay pr-2 shadow-sm ring ring-kumo-line", isRange && "-ml-2 pl-2", innerRadius) }), Array.from({ length: thumbCount }, (_, index) => /* @__PURE__ */ jsxs(SliderThumb, {
|
|
62
62
|
index: isRange ? index : void 0,
|
|
63
63
|
getAriaLabel,
|
|
64
|
-
className: cn("group h-full w-4 cursor-grab outline-none has-focus-visible:ring-2 has-focus-visible:ring-kumo-focus data-disabled:cursor-not-allowed data-dragging:cursor-grabbing", innerRadius),
|
|
64
|
+
className: cn("group h-full w-4 cursor-grab outline-none has-focus-visible:ring-2 has-focus-visible:ring-kumo-focus has-focus-visible:outline-hidden data-disabled:cursor-not-allowed data-dragging:cursor-grabbing", innerRadius),
|
|
65
65
|
children: [/* @__PURE__ */ jsx("span", {
|
|
66
66
|
"aria-hidden": true,
|
|
67
67
|
className: "absolute top-1/2 left-1/2 h-1/2 w-0.5 -translate-1/2 rounded-full bg-kumo-contrast/25"
|
|
@@ -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-
|
|
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-
|
|
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";
|
|
@@ -70,7 +70,7 @@ const SwitchBase = forwardRef(({ className, checked, disabled, size = "base", va
|
|
|
70
70
|
}[size];
|
|
71
71
|
const trackColors = isNeutral ? state.checked ? "bg-neutral-500 dark:bg-kumo-base ring-neutral-600 dark:ring-neutral-700" : "bg-neutral-150 dark:bg-kumo-base ring-kumo-hairline" : state.checked ? "bg-blue-500 dark:bg-blue-600 ring-blue-600 dark:ring-blue-500" : "bg-neutral-200 dark:bg-neutral-700 ring-neutral-300 dark:ring-neutral-600";
|
|
72
72
|
const thumbColors = isNeutral ? state.checked ? "bg-kumo-base dark:bg-neutral-400" : "bg-kumo-base dark:bg-neutral-850" : state.checked ? "bg-kumo-base dark:bg-blue-300" : "bg-kumo-base dark:bg-neutral-850";
|
|
73
|
-
const trackClassName = cn("relative inline-flex cursor-pointer items-center border-none p-0 ring", "focus:outline-
|
|
73
|
+
const trackClassName = cn("relative inline-flex cursor-pointer items-center border-none p-0 ring", "focus:outline-hidden focus-visible:ring-2 focus-visible:ring-kumo-brand", "transition-colors duration-150 ease-out motion-reduce:transition-none", "disabled:cursor-not-allowed disabled:opacity-50", s.track, squircleRadius, trackColors, className, baseClassName);
|
|
74
74
|
const thumbClassName = cn("absolute top-0 bottom-0 shadow-[0_0_1px_0.5px_var(--color-kumo-shadow-edge),0_1px_2px_var(--color-kumo-shadow-drop)]", s.thumb, squircleRadius, thumbColors, "transition-all duration-150 ease-out motion-reduce:transition-none", state.checked ? s.slide : "left-0");
|
|
75
75
|
const role = props.role ?? baseRole ?? "switch";
|
|
76
76
|
const checkedA11yProps = role === "switch" ? { "aria-checked": state.checked } : { "aria-pressed": state.checked };
|
|
@@ -134,7 +134,7 @@ const SwitchItem = forwardRef(({ className, checked, disabled, size = "base", va
|
|
|
134
134
|
}[size];
|
|
135
135
|
const trackColors = isNeutral ? state.checked ? "bg-neutral-500 dark:bg-kumo-base ring-neutral-600 dark:ring-neutral-700" : "bg-neutral-150 dark:bg-kumo-base ring-kumo-hairline" : state.checked ? "bg-blue-500 dark:bg-blue-600 ring-blue-600 dark:ring-blue-500" : "bg-neutral-200 dark:bg-neutral-700 ring-neutral-300 dark:ring-neutral-600";
|
|
136
136
|
const thumbColors = isNeutral ? state.checked ? "bg-kumo-base dark:bg-neutral-400" : "bg-kumo-base dark:bg-neutral-850" : state.checked ? "bg-kumo-base dark:bg-blue-300" : "bg-kumo-base dark:bg-neutral-850";
|
|
137
|
-
const trackClassName = cn("relative inline-flex cursor-pointer items-center border-none p-0 ring", "focus:ring-kumo-focus/50 focus:outline-
|
|
137
|
+
const trackClassName = cn("relative inline-flex cursor-pointer items-center border-none p-0 ring", "focus:ring-kumo-focus/50 focus:outline-hidden focus-visible:ring-2 focus-visible:ring-kumo-brand", "transition-colors duration-150 ease-out motion-reduce:transition-none", "disabled:cursor-not-allowed disabled:opacity-50", s.track, squircleRadius, trackColors, baseClassName);
|
|
138
138
|
const thumbClassName = cn("absolute top-0 bottom-0 shadow-[0_0_1px_0.5px_var(--color-kumo-shadow-edge),0_1px_2px_var(--color-kumo-shadow-drop)]", s.thumb, squircleRadius, thumbColors, "transition-all duration-150 ease-out motion-reduce:transition-none", state.checked ? s.slide : "left-0");
|
|
139
139
|
const role = baseRole ?? "switch";
|
|
140
140
|
const checkedA11yProps = role === "switch" ? { "aria-checked": state.checked } : { "aria-pressed": state.checked };
|
|
@@ -185,7 +185,7 @@ function SwitchGroup({ legend, children, error, description, disabled, controlFi
|
|
|
185
185
|
children: error
|
|
186
186
|
}),
|
|
187
187
|
description && /* @__PURE__ */ jsx("p", {
|
|
188
|
-
className: "text-sm text-kumo-subtle",
|
|
188
|
+
className: "text-sm leading-snug text-pretty text-kumo-subtle",
|
|
189
189
|
children: description
|
|
190
190
|
})
|
|
191
191
|
]
|
|
@@ -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-
|
|
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
|
|
@@ -73,7 +73,7 @@ function Tabs({ tabs, value, selectedValue, onValueChange, activateOnFocus, clas
|
|
|
73
73
|
inline: "nearest"
|
|
74
74
|
});
|
|
75
75
|
},
|
|
76
|
-
className: cn("relative z-2 flex items-center rounded bg-transparent whitespace-nowrap focus:ring-kumo-focus/50 focus:outline-
|
|
76
|
+
className: cn("relative z-2 flex items-center rounded bg-transparent whitespace-nowrap focus:ring-kumo-focus/50 focus:outline-hidden focus-visible:ring-2 focus-visible:ring-kumo-brand", "forced-colors:focus-visible:-outline-offset-2", isOverflowing ? "cursor-grab active:cursor-grabbing" : "cursor-pointer", isSm ? "text-xs" : "text-base", isSegmented && "my-0.5 text-kumo-subtle hover:text-kumo-default focus-visible:ring-inset aria-selected:text-kumo-default", isSegmented && (isSm ? "rounded-sm px-2" : "rounded-md px-2.5"), isUnderline && "text-kumo-subtle hover:bg-kumo-tint hover:text-kumo-default aria-selected:font-medium aria-selected:text-kumo-default aria-selected:hover:bg-kumo-tint", isUnderline && (isSm ? "px-1.5 py-2.5" : "px-2 py-3"), tab.className),
|
|
77
77
|
children: tab.label
|
|
78
78
|
}, tab.value)), /* @__PURE__ */ jsx(TabsIndicator, { render: (props) => /* @__PURE__ */ jsx("div", {
|
|
79
79
|
...props,
|
|
@@ -110,7 +110,7 @@ function TabsOverflowControl({ side, visible, variant, size, label, onClick }) {
|
|
|
110
110
|
"aria-hidden": !visible,
|
|
111
111
|
tabIndex: visible ? 0 : -1,
|
|
112
112
|
onClick,
|
|
113
|
-
className: cn("absolute inset-y-0 z-3 flex items-center border-0 bg-transparent p-0 transition-opacity duration-150 focus:outline-
|
|
113
|
+
className: cn("absolute inset-y-0 z-3 flex items-center border-0 bg-transparent p-0 transition-opacity duration-150 focus:outline-hidden focus-visible:[&>span]:ring-2 focus-visible:[&>span]:ring-kumo-brand", isStart ? "left-0 justify-start bg-linear-to-r" : "right-0 justify-end bg-linear-to-l", visible ? "pointer-events-auto opacity-100" : "pointer-events-none opacity-0", isSegmented ? "from-kumo-recessed via-kumo-recessed/95 to-transparent" : "from-kumo-base via-kumo-base/95 to-transparent", isSegmented && (size === "sm" ? "w-8 rounded-md" : "w-10 rounded-lg"), !isSegmented && "w-8"),
|
|
114
114
|
children: /* @__PURE__ */ jsx("span", {
|
|
115
115
|
className: cn("flex items-center justify-center text-kumo-subtle transition-colors hover:text-kumo-default", size === "sm" ? "size-5" : "size-6", isSegmented ? size === "sm" ? "rounded-sm" : "rounded-md" : "rounded", isStart ? "ml-1" : "mr-1"),
|
|
116
116
|
children: /* @__PURE__ */ jsx("svg", {
|
|
@@ -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-
|
|
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-
|
|
6
|
-
import { r as inputVariants } from "./input-
|
|
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-
|
|
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-
|
|
4
|
-
import { t as Input$1 } from "./input-
|
|
5
|
-
import { t as InputGroup } from "./input-group-
|
|
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";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import React from "react";
|
|
3
|
+
//#region src/utils/unwrap-lazy-element.ts
|
|
4
|
+
const REACT_LAZY_TYPE = Symbol.for("react.lazy");
|
|
5
|
+
function isLazyReference(value) {
|
|
6
|
+
return typeof value === "object" && value !== null && value.$$typeof === REACT_LAZY_TYPE;
|
|
7
|
+
}
|
|
8
|
+
function isThenable(value) {
|
|
9
|
+
return typeof value === "object" && value !== null && typeof value.then === "function";
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Unwraps a lazy element reference produced by React Flight.
|
|
13
|
+
*
|
|
14
|
+
* When an element prop (e.g. `icon={<Star />}`) is passed from a Server
|
|
15
|
+
* Component, the Flight client can deliver it as a lazy wrapper instead of an
|
|
16
|
+
* element (https://github.com/react/react/issues/32392, closed as not
|
|
17
|
+
* planned). The wrapper fails `React.isValidElement`, and rendering it as a
|
|
18
|
+
* component throws React error #306 because it resolves to an element rather
|
|
19
|
+
* than a component.
|
|
20
|
+
*
|
|
21
|
+
* `React.Children.toArray` resolves the wrapper to its element, the same
|
|
22
|
+
* approach Base UI (`unwrapLazyRenderProp`) and Ark UI use. A pending wrapper
|
|
23
|
+
* suspends.
|
|
24
|
+
*
|
|
25
|
+
* Anything that does not resolve to an element is returned unchanged, so the
|
|
26
|
+
* caller renders it as a component as before. That includes a `React.lazy`
|
|
27
|
+
* component: `toArray` returns nothing for one resolving to a function, and
|
|
28
|
+
* throws for one resolving to a `forwardRef` or `memo` object (such as a
|
|
29
|
+
* Phosphor icon). It also includes every lazy value on React 18, whose
|
|
30
|
+
* `toArray` does not resolve lazy values; Server Components require React 19.
|
|
31
|
+
* A genuine error resurfaces when React renders the returned wrapper.
|
|
32
|
+
*/
|
|
33
|
+
function unwrapLazyElement(value) {
|
|
34
|
+
if (!isLazyReference(value)) return value;
|
|
35
|
+
let unwrapped;
|
|
36
|
+
try {
|
|
37
|
+
unwrapped = React.Children.toArray(value)[0];
|
|
38
|
+
} catch (error) {
|
|
39
|
+
if (isThenable(error)) throw error;
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return React.isValidElement(unwrapped) ? unwrapped : value;
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
export { unwrapLazyElement as t };
|
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-
|
|
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";
|
package/dist/command-line/cli.js
CHANGED
|
@@ -724,11 +724,12 @@ function migrate(args) {
|
|
|
724
724
|
return;
|
|
725
725
|
}
|
|
726
726
|
if (!hasPendingMigrations()) {
|
|
727
|
-
console.log
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
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-
|
|
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-
|
|
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 };
|
package/dist/components/badge.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as BannerVariant, t as Banner } from "../index-
|
|
1
|
+
import { n as BannerVariant, t as Banner } from "../index-wD5WGQQz.js";
|
|
2
2
|
export { Banner, BannerVariant };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as breadcrumbsVariants, n as KUMO_BREADCRUMBS_DEFAULT_VARIANTS, r as KUMO_BREADCRUMBS_VARIANTS, t as Breadcrumb } from "../chunks/breadcrumbs-
|
|
2
|
+
import { i as breadcrumbsVariants, n as KUMO_BREADCRUMBS_DEFAULT_VARIANTS, r as KUMO_BREADCRUMBS_VARIANTS, t as Breadcrumb } from "../chunks/breadcrumbs-o63hllvg6zlbxvcr.js";
|
|
3
3
|
export { Breadcrumb as Breadcrumbs, KUMO_BREADCRUMBS_DEFAULT_VARIANTS, KUMO_BREADCRUMBS_VARIANTS, breadcrumbsVariants };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as LinkButtonProps, i as LinkButton, n as ButtonProps, o as RefreshButton, s as buttonVariants, t as Button } from "../button-
|
|
2
|
-
import "../index-
|
|
1
|
+
import { a as LinkButtonProps, i as LinkButton, n as ButtonProps, o as RefreshButton, s as buttonVariants, t as Button } from "../button-DzavLWXm.js";
|
|
2
|
+
import "../index-DL1-uSuH.js";
|
|
3
3
|
export { Button, type ButtonProps, LinkButton, type LinkButtonProps, RefreshButton, buttonVariants };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as buttonVariants, n as LinkButton, r as RefreshButton, t as Button } from "../chunks/button-
|
|
2
|
+
import { i as buttonVariants, n as LinkButton, r as RefreshButton, t as Button } from "../chunks/button-hzvowfkbathmx8yg.js";
|
|
3
3
|
export { Button, LinkButton, RefreshButton, buttonVariants };
|
package/dist/components/chart.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
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-
|
|
2
|
+
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";
|
|
3
3
|
export { BubbleMap, Chart, ChartLegend, ChartPalette, ChoroplethMap, GlobeMap, SankeyChart, TimeseriesChart };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_CHECKBOX_DEFAULT_VARIANTS, r as KUMO_CHECKBOX_VARIANTS, t as Checkbox } from "../chunks/checkbox-
|
|
2
|
+
import { n as KUMO_CHECKBOX_DEFAULT_VARIANTS, r as KUMO_CHECKBOX_VARIANTS, t as Checkbox } from "../chunks/checkbox-oav03hnpbj06x31v.js";
|
|
3
3
|
export { Checkbox, KUMO_CHECKBOX_DEFAULT_VARIANTS, KUMO_CHECKBOX_VARIANTS };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as ComboboxProps, n as Combobox, r as ComboboxInputSide, t as ComboboxFilter } from "../index-
|
|
1
|
+
import { i as ComboboxProps, n as Combobox, r as ComboboxInputSide, t as ComboboxFilter } from "../index-DxOyYZaJ.js";
|
|
2
2
|
export { Combobox, type ComboboxFilter, type ComboboxInputSide, type ComboboxProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_COMMAND_PALETTE_DEFAULT_VARIANTS, r as KUMO_COMMAND_PALETTE_VARIANTS, t as CommandPalette } from "../chunks/command-palette-
|
|
2
|
+
import { n as KUMO_COMMAND_PALETTE_DEFAULT_VARIANTS, r as KUMO_COMMAND_PALETTE_VARIANTS, t as CommandPalette } from "../chunks/command-palette-d45ueqbuxygu87ir.js";
|
|
3
3
|
export { CommandPalette, KUMO_COMMAND_PALETTE_DEFAULT_VARIANTS, KUMO_COMMAND_PALETTE_VARIANTS };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as DialogTitle, i as DialogRoot, n as DialogClose, o as DialogTrigger, r as DialogDescription, t as Dialog } from "../chunks/dialog-
|
|
2
|
+
import { a as DialogTitle, i as DialogRoot, n as DialogClose, o as DialogTrigger, r as DialogDescription, t as Dialog } from "../chunks/dialog-g7wavhkdv2gplwq9.js";
|
|
3
3
|
export { Dialog, DialogClose, DialogDescription, DialogRoot, DialogTitle, DialogTrigger };
|
package/dist/components/empty.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as emptyVariants, n as KUMO_EMPTY_DEFAULT_VARIANTS, r as KUMO_EMPTY_VARIANTS, t as Empty } from "../chunks/empty-
|
|
2
|
+
import { i as emptyVariants, n as KUMO_EMPTY_DEFAULT_VARIANTS, r as KUMO_EMPTY_VARIANTS, t as Empty } from "../chunks/empty-dzm61keqaezmp452.js";
|
|
3
3
|
export { Empty, KUMO_EMPTY_DEFAULT_VARIANTS, KUMO_EMPTY_VARIANTS, emptyVariants };
|
package/dist/components/field.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as normalizeFieldError, i as fieldVariants, n as KUMO_FIELD_DEFAULT_VARIANTS, r as KUMO_FIELD_VARIANTS, t as Field } from "../chunks/field-
|
|
2
|
+
import { a as normalizeFieldError, i as fieldVariants, n as KUMO_FIELD_DEFAULT_VARIANTS, r as KUMO_FIELD_VARIANTS, t as Field } from "../chunks/field-gkrpde59au4kjh7q.js";
|
|
3
3
|
export { Field, KUMO_FIELD_DEFAULT_VARIANTS, KUMO_FIELD_VARIANTS, fieldVariants, normalizeFieldError };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
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-
|
|
1
|
+
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";
|
|
2
2
|
export { InlineCopyText, type InlineCopyTextLabels, type InlineCopyTextProps, KUMO_INLINE_COPY_TEXT_DEFAULT_VARIANTS, KUMO_INLINE_COPY_TEXT_STYLING, KUMO_INLINE_COPY_TEXT_VARIANTS };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
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-
|
|
2
|
+
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";
|
|
3
3
|
export { InlineCopyText, KUMO_INLINE_COPY_TEXT_DEFAULT_VARIANTS, KUMO_INLINE_COPY_TEXT_STYLING, KUMO_INLINE_COPY_TEXT_VARIANTS };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as InputGroupSuffixProps, c as InputGroupInputProps, i as InputGroupRootProps, n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, o as InputGroupAddonProps, r as KUMO_INPUT_GROUP_VARIANTS, s as InputGroupButtonProps, t as InputGroup } from "../input-group-
|
|
1
|
+
import { a as InputGroupSuffixProps, c as InputGroupInputProps, i as InputGroupRootProps, n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, o as InputGroupAddonProps, r as KUMO_INPUT_GROUP_VARIANTS, s as InputGroupButtonProps, t as InputGroup } from "../input-group-8gEtPiKw.js";
|
|
2
2
|
export { InputGroup, type InputGroupAddonProps, type InputGroupButtonProps, type InputGroupInputProps, type InputGroupRootProps, type InputGroupSuffixProps, KUMO_INPUT_GROUP_DEFAULT_VARIANTS, KUMO_INPUT_GROUP_VARIANTS };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../chunks/input-group-
|
|
2
|
+
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../chunks/input-group-grlfeiivjuhd7jif.js";
|
|
3
3
|
export { InputGroup, KUMO_INPUT_GROUP_DEFAULT_VARIANTS, KUMO_INPUT_GROUP_VARIANTS };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as inputVariants, n as InputProps, t as Input } from "../input-BeWEb-jD.js";
|
|
2
|
-
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../input-group-
|
|
2
|
+
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../input-group-8gEtPiKw.js";
|
|
3
3
|
import { a as Textarea, i as InputAreaProps, n as KumoInputGroupVariantsProps, r as InputArea, t as KumoInputGroupFocusMode } from "../index-ClS-eFxE.js";
|
|
4
4
|
export { Input, InputArea, type InputAreaProps, InputGroup, type InputProps, KUMO_INPUT_GROUP_DEFAULT_VARIANTS, KUMO_INPUT_GROUP_VARIANTS, KumoInputGroupFocusMode, KumoInputGroupVariantsProps, Textarea, inputVariants };
|
package/dist/components/input.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as inputVariants, t as Input } from "../chunks/input-
|
|
3
|
-
import { n as Textarea, t as InputArea } from "../chunks/input-
|
|
4
|
-
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../chunks/input-group-
|
|
2
|
+
import { r as inputVariants, t as Input } from "../chunks/input-ggn78losfydwdjqg.js";
|
|
3
|
+
import { n as Textarea, t as InputArea } from "../chunks/input-ehb5hnwkr2kx9rpw.js";
|
|
4
|
+
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../chunks/input-group-grlfeiivjuhd7jif.js";
|
|
5
5
|
export { Input, InputArea, InputGroup, KUMO_INPUT_GROUP_DEFAULT_VARIANTS, KUMO_INPUT_GROUP_VARIANTS, Textarea, inputVariants };
|
package/dist/components/label.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as labelVariants, i as labelContentVariants, n as KUMO_LABEL_VARIANTS, r as Label, t as KUMO_LABEL_DEFAULT_VARIANTS } from "../chunks/label-
|
|
2
|
+
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";
|
|
3
3
|
export { KUMO_LABEL_DEFAULT_VARIANTS, KUMO_LABEL_VARIANTS, Label, labelContentVariants, labelVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as Loader, t as SkeletonLine } from "../index-
|
|
1
|
+
import { n as Loader, t as SkeletonLine } from "../index-Dx7hOWUc.js";
|
|
2
2
|
export { Loader, SkeletonLine };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as Loader } from "../chunks/loader-kv5nk8j8tsuesxqo.js";
|
|
3
|
-
import { t as SkeletonLine } from "../chunks/skeleton-line-
|
|
3
|
+
import { t as SkeletonLine } from "../chunks/skeleton-line-kmhnp0lx3rxhioxa.js";
|
|
4
4
|
export { Loader, SkeletonLine };
|
package/dist/components/radio.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as radioVariants, i as RadioGroup, n as KUMO_RADIO_VARIANTS, r as Radio, t as KUMO_RADIO_DEFAULT_VARIANTS } from "../chunks/radio-
|
|
2
|
+
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";
|
|
3
3
|
export { KUMO_RADIO_DEFAULT_VARIANTS, KUMO_RADIO_VARIANTS, Radio, RadioGroup, radioVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Select } from "../index-
|
|
1
|
+
import { t as Select } from "../index-DwNMa4LN.js";
|
|
2
2
|
export { Select };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "../chunks/sensitive-input-
|
|
2
|
+
import { n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "../chunks/sensitive-input-owfvgxmefm5lzzx8.js";
|
|
3
3
|
export { KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS, KUMO_SENSITIVE_INPUT_VARIANTS, SensitiveInput };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
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-
|
|
2
|
+
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";
|
|
3
3
|
export { KUMO_SIDEBAR_DEFAULT_VARIANTS, KUMO_SIDEBAR_STYLING, KUMO_SIDEBAR_VARIANTS, Sidebar, SidebarCollapsible, SidebarCollapsibleContent, SidebarCollapsibleTrigger, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarLoading, SidebarMenu, SidebarMenuBadge, SidebarMenuButton, SidebarMenuChevron, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarResizeHandle, SidebarRoot, SidebarSeparator, SidebarSlidingView, SidebarSlidingViews, SidebarTrigger, useSidebar };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as sliderVariants, n as KUMO_SLIDER_VARIANTS, r as Slider, t as KUMO_SLIDER_DEFAULT_VARIANTS } from "../chunks/slider-
|
|
2
|
+
import { i as sliderVariants, n as KUMO_SLIDER_VARIANTS, r as Slider, t as KUMO_SLIDER_DEFAULT_VARIANTS } from "../chunks/slider-e395gihi5cjd62ss.js";
|
|
3
3
|
export { KUMO_SLIDER_DEFAULT_VARIANTS, KUMO_SLIDER_VARIANTS, Slider, sliderVariants };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_SWITCH_VARIANTS, r as Switch, t as KUMO_SWITCH_DEFAULT_VARIANTS } from "../chunks/switch-
|
|
2
|
+
import { n as KUMO_SWITCH_VARIANTS, r as Switch, t as KUMO_SWITCH_DEFAULT_VARIANTS } from "../chunks/switch-e1dsoxucn07fz00t.js";
|
|
3
3
|
export { KUMO_SWITCH_DEFAULT_VARIANTS, KUMO_SWITCH_VARIANTS, Switch };
|
package/dist/components/table.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_TABLE_VARIANTS, r as Table, t as KUMO_TABLE_DEFAULT_VARIANTS } from "../chunks/table-
|
|
2
|
+
import { n as KUMO_TABLE_VARIANTS, r as Table, t as KUMO_TABLE_DEFAULT_VARIANTS } from "../chunks/table-m0xshmsbxq2h1sho.js";
|
|
3
3
|
export { KUMO_TABLE_DEFAULT_VARIANTS, KUMO_TABLE_VARIANTS, Table };
|
package/dist/components/tabs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Toasty, i as ToastProvider, n as KumoToastManagerAddOptions, o as createKumoToastManager, r as KumoToastOptions, s as useKumoToastManager, t as Toast } from "../index-
|
|
1
|
+
import { a as Toasty, i as ToastProvider, n as KumoToastManagerAddOptions, o as createKumoToastManager, r as KumoToastOptions, s as useKumoToastManager, t as Toast } from "../index-CUT5x1Z2.js";
|
|
2
2
|
export { type KumoToastManagerAddOptions, type KumoToastOptions, Toast, ToastProvider, Toasty, createKumoToastManager, useKumoToastManager };
|
package/dist/components/toast.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as index_parts_exports } from "../chunks/index.parts-db9pzsm9rrs9tp0t.js";
|
|
3
|
-
import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "../chunks/toast-
|
|
3
|
+
import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "../chunks/toast-iojuzen6iavawpc9.js";
|
|
4
4
|
export { index_parts_exports as Toast, ToastProvider, Toasty, createKumoToastManager, useKumoToastManager };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
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
|
|
1
|
+
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";
|
|
2
2
|
export { KUMO_TOOLBAR_DEFAULT_VARIANTS, KUMO_TOOLBAR_VARIANTS, Toolbar, type ToolbarButtonProps, type ToolbarInputGroupProps, type ToolbarInputProps, type ToolbarLinkProps, type ToolbarProps, type ToolbarSize };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "../chunks/toolbar-
|
|
2
|
+
import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "../chunks/toolbar-3wkkukczgo0bk6mo.js";
|
|
3
3
|
export { KUMO_TOOLBAR_DEFAULT_VARIANTS, KUMO_TOOLBAR_VARIANTS, Toolbar };
|