@cloudflare/kumo 2.16.0 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/ai/USAGE.md +6 -0
- package/ai/component-registry.json +37 -10
- package/ai/component-registry.md +81 -3
- package/ai/schemas.ts +3 -0
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +4 -0
- package/dist/ai/schemas.js +2 -0
- package/dist/{button-Bbi7gFL7.d.ts → button-DBuj7_fo.d.ts} +2 -2
- package/dist/catalog.d.ts +4 -1
- package/dist/catalog.js +37 -14
- package/dist/chunks/{autocomplete-ht782okfv7nv75mq.js → autocomplete-ngrji5wk0xdpq2qc.js} +2 -2
- package/dist/chunks/{badge-kyz53p7p0ng393bs.js → badge-f27mwe9gasi4inb6.js} +3 -1
- package/dist/chunks/{banner-cpla8vqjxaulggyd.js → banner-m68xx7eqplxwi73f.js} +21 -10
- package/dist/chunks/{breadcrumbs-oyuqwb09l08uhok2.js → breadcrumbs-2ra74bio44h1fvuj.js} +2 -2
- package/dist/chunks/{button-oxy32x5w9x9az80g.js → button-cyea767mx5dwgavm.js} +12 -17
- package/dist/chunks/{chart-hp3vqwe49tbyywqm.js → chart-g4dnsqiamjh39chn.js} +1 -1
- package/dist/chunks/{checkbox-o9627970y7c9ciqy.js → checkbox-bcpt8k7ck95vgjc1.js} +5 -5
- package/dist/chunks/{clipboard-text-c0ad6lzyxauxduv1.js → clipboard-text-k9ae6rsreg9ol6y2.js} +17 -6
- package/dist/chunks/{combobox-kgf0gmniahm15n81.js → combobox-iuuzrkczst4nmoyh.js} +18 -6
- package/dist/chunks/{date-picker-oee5ehsrepnlmltj.js → date-picker-o6iov1n67oc4rbom.js} +78 -6
- package/dist/chunks/{date-range-picker-hpx3cdu9ve01jx6d.js → date-range-picker-oivlshld01jbel29.js} +1 -1
- package/dist/chunks/{dialog-lgrwmsumwpftp2u8.js → dialog-h3zgi4kmimpesv5j.js} +1 -1
- package/dist/chunks/{dropdown-o875yxeqod7qp871.js → dropdown-m5a8nwer5hpvnkfk.js} +3 -1
- package/dist/chunks/{empty-ft85jcbs7fd5t3tn.js → empty-ghcpxo6x75jg7mw9.js} +1 -1
- package/dist/chunks/{field-jzzlgre0jmrr38o2.js → field-crf1hw5exr2oxemk.js} +7 -2
- package/dist/chunks/{inline-copy-text-57r67slswfqvgbaf.js → inline-copy-text-c6wa49ys72pj7k53.js} +1 -1
- package/dist/chunks/{input-jk86hoj6nqfhl5u8.js → input-d1230n06m5b1p3rd.js} +2 -2
- package/dist/chunks/{input-group-hc2qp3m6gsfomqvr.js → input-group-gg4aurpe2s60van9.js} +9 -7
- package/dist/chunks/{input-jsnp6etq7rbjjj9e.js → input-m6nvwwnydvbdz8rf.js} +2 -2
- package/dist/chunks/{label-hugrtzreeqk5mtqu.js → label-cecukn2rbow4ghxg.js} +2 -2
- package/dist/chunks/{layer-dialog-dwrrgv1wasrerow4.js → layer-dialog-eeecim8yf0dzhs2m.js} +12 -4
- package/dist/chunks/{menubar-m5pqhx7lu5z7mkks.js → menubar-gzlyhmmc4i24prn1.js} +2 -2
- package/dist/chunks/{pagination-nyknrk1lyexwgyrx.js → pagination-fkjx0m380ku9zqv9.js} +2 -2
- package/dist/chunks/{radio-d3pkrvsldfbdefav.js → radio-co7gt6ihfp5w4jr0.js} +4 -4
- package/dist/chunks/{select-owq85889zm4y23ws.js → select-ha59x0uq5ocr1x36.js} +6 -6
- package/dist/chunks/{sensitive-input-nzwvjuwlpb51ze04.js → sensitive-input-hg58r9x2d9njtysl.js} +3 -3
- package/dist/chunks/{sidebar-gluq5b5oacrdk4m4.js → sidebar-dgyce0z35tpnxj8t.js} +13 -11
- package/dist/chunks/skeleton-line-kmhnp0lx3rxhioxa.js +74 -0
- package/dist/chunks/{slider-juwif2d8xa5n0429.js → slider-e395gihi5cjd62ss.js} +1 -1
- package/dist/chunks/{switch-mqf1ulvle4nd6d2t.js → switch-hqj8v7ll9g14p5my.js} +4 -4
- package/dist/chunks/{table-nysse5tiwf47gg4k.js → table-b491wlpxd8jbr9b5.js} +1 -1
- package/dist/chunks/{tabs-mmkz7q5rofnmogwt.js → tabs-oi64kuuf2poro26u.js} +2 -2
- package/dist/chunks/{tag-input-fjfzlsaxmnqee7dk.js → tag-input-0ombmb7yrn4xk3in.js} +4 -4
- package/dist/chunks/{toast-b4t9rt9y1sumcmy2.js → toast-cmj0e7xvoh9gxxao.js} +60 -52
- package/dist/chunks/{toolbar-l9laewk5jvf4u0si.js → toolbar-bx2w3vk2if6mp36l.js} +3 -3
- package/dist/chunks/{tooltip-lguwh8bjhxwnjfus.js → tooltip-bcymn9bfyz29fvji.js} +2 -0
- package/dist/chunks/unwrap-lazy-element-hzbdkmujhd7iksau.js +45 -0
- package/dist/code.js +1 -1
- package/dist/components/autocomplete.js +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.d.ts +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/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dropdown.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-dialog.d.ts +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.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/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/components/tooltip.js +1 -1
- package/dist/{index-BMe3cpLB.d.ts → index--HBggSGH.d.ts} +2 -2
- package/dist/{index-CSWbPhke.d.ts → index-BAFvYacU.d.ts} +15 -5
- package/dist/{index--RbAKeBL.d.ts → index-BfoZI9Hf.d.ts} +2 -2
- package/dist/{index-DJIRVD5B.d.ts → index-CReGk3Dc.d.ts} +6 -0
- package/dist/{index-jNWPjJl9.d.ts → index-D4_C1J_8.d.ts} +1 -1
- package/dist/{index-5bJAnzUo.d.ts → index-Dmbgjww7.d.ts} +1 -0
- 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-WCjW8Iot.d.ts +1 -0
- package/dist/{index-DNsSKNUe.d.ts → index-bBPKMepR.d.ts} +4 -0
- package/dist/index.d.ts +12 -12
- package/dist/index.js +36 -36
- package/dist/{input-group-B3M_WRqm.d.ts → input-group-oXVkmPrY.d.ts} +1 -1
- package/dist/styles/kumo-binding.css +159 -0
- package/dist/styles/kumo-standalone.css +1 -1
- package/dist/styles/kumo.css +0 -545
- package/package.json +1 -1
- package/scripts/component-registry/schema-generator.ts +2 -0
- package/scripts/format-generated.ts +12 -0
- package/scripts/generate-primitives.ts +16 -12
- package/scripts/theme-generator/index.ts +2 -2
- package/dist/chunks/skeleton-line-gjf1fecmyy82aejz.js +0 -43
- package/dist/index-B-hCpI5K.d.ts +0 -1
- package/dist/index-DhOvcB0m.d.ts +0 -60
|
@@ -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-cyea767mx5dwgavm.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";
|
|
@@ -181,37 +181,36 @@ const KUMO_TOAST_DEFAULT_VARIANTS = { variant: "default" };
|
|
|
181
181
|
function toastVariants({ variant = KUMO_TOAST_DEFAULT_VARIANTS.variant } = {}) {
|
|
182
182
|
return cn("rounded-xl ring ring-kumo-line bg-clip-padding p-4 shadow-lg", resolveVariant(KUMO_TOAST_VARIANTS.variant, variant, KUMO_TOAST_DEFAULT_VARIANTS.variant).classes);
|
|
183
183
|
}
|
|
184
|
+
const KUMO_TOAST_AUTO_BUMP = Symbol("kumo-toast-auto-bump");
|
|
185
|
+
function withBumpIntent(options, autoBump) {
|
|
186
|
+
return {
|
|
187
|
+
...options,
|
|
188
|
+
bump: options.bump,
|
|
189
|
+
[KUMO_TOAST_AUTO_BUMP]: autoBump
|
|
190
|
+
};
|
|
191
|
+
}
|
|
184
192
|
function wrapManagerMethods(manager) {
|
|
185
193
|
return {
|
|
186
194
|
...manager,
|
|
187
195
|
add: (options) => {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
if (
|
|
191
|
-
const
|
|
192
|
-
|
|
193
|
-
manager.update(options.id, { bump: false });
|
|
194
|
-
requestAnimationFrame(() => {
|
|
195
|
-
manager.update(options.id, {
|
|
196
|
-
bump: true,
|
|
197
|
-
...options.timeout !== void 0 && { timeout: options.timeout }
|
|
198
|
-
});
|
|
199
|
-
});
|
|
200
|
-
return options.id;
|
|
201
|
-
}
|
|
202
|
-
if (existingToast && existingToast.transitionStatus === "ending") return options.id;
|
|
196
|
+
const existingToast = options.id ? manager.toasts?.find((toast) => toast.id === options.id) : void 0;
|
|
197
|
+
if (existingToast) {
|
|
198
|
+
if (existingToast.transitionStatus !== "ending") {
|
|
199
|
+
const bumpOptions = options.timeout !== void 0 ? { timeout: options.timeout } : {};
|
|
200
|
+
manager.update(existingToast.id, withBumpIntent(bumpOptions, true));
|
|
203
201
|
}
|
|
202
|
+
return existingToast.id;
|
|
204
203
|
}
|
|
205
|
-
return manager.add(
|
|
204
|
+
return manager.add(withBumpIntent(options, true));
|
|
206
205
|
},
|
|
207
206
|
update: (id, options) => {
|
|
208
|
-
return manager.update(id, typeof options === "function" ? (prevToast) => options(prevToast) :
|
|
207
|
+
return manager.update(id, typeof options === "function" ? (prevToast) => withBumpIntent(options(prevToast), false) : withBumpIntent(options, false));
|
|
209
208
|
},
|
|
210
209
|
promise: (promise, options) => {
|
|
211
210
|
return manager.promise(promise, {
|
|
212
|
-
loading:
|
|
213
|
-
success: typeof options.success === "function" ? (data) => (
|
|
214
|
-
error: typeof options.error === "function" ? (error) => (
|
|
211
|
+
loading: withBumpIntent(options.loading, false),
|
|
212
|
+
success: typeof options.success === "function" ? (data) => withBumpIntent(options.success(data), false) : withBumpIntent(options.success, false),
|
|
213
|
+
error: typeof options.error === "function" ? (error) => withBumpIntent(options.error(error), false) : withBumpIntent(options.error, false)
|
|
215
214
|
});
|
|
216
215
|
}
|
|
217
216
|
};
|
|
@@ -256,42 +255,51 @@ function Toasty({ children, container: containerProp, toastManager }) {
|
|
|
256
255
|
}
|
|
257
256
|
/** Alias for Toasty — provided for discoverability when migrating from other libraries */
|
|
258
257
|
const ToastProvider = Toasty;
|
|
258
|
+
function getBumpAnimation(toast) {
|
|
259
|
+
const updateKey = toast.updateKey ?? 0;
|
|
260
|
+
const internalToast = toast;
|
|
261
|
+
return (toast.bump === true || toast.bump !== false && internalToast[KUMO_TOAST_AUTO_BUMP] === true && updateKey > 0) && (updateKey % 2 === 0 ? "animate-toast-bump-alternate" : "animate-toast-bump");
|
|
262
|
+
}
|
|
259
263
|
function ToastList() {
|
|
260
264
|
const { toasts } = useKumoToastManager();
|
|
261
|
-
return toasts.map((toast) => /* @__PURE__ */
|
|
265
|
+
return toasts.map((toast) => /* @__PURE__ */ jsx(ToastRoot, {
|
|
262
266
|
toast,
|
|
263
|
-
className: cn("absolute right-0 bottom-0 left-auto z-[calc(1000-var(--toast-index))] mr-0 h-[var(--height)] w-full origin-bottom select-none
|
|
264
|
-
children:
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
size: "sm",
|
|
288
|
-
shape: "square",
|
|
267
|
+
className: cn("absolute right-0 bottom-0 left-auto z-[calc(1000-var(--toast-index))] mr-0 h-[var(--height)] w-full origin-bottom rounded-xl select-none motion-reduce:[transition-property:opacity]", "[--gap:0.75rem] [--height:var(--toast-frontmost-height,var(--toast-height))] [--offset-y:calc(var(--toast-offset-y)*-1+calc(var(--toast-index)*var(--gap)*-1)+var(--toast-swipe-movement-y))] [--peek:0.75rem] [--scale:calc(max(0,1-(var(--toast-index)*0.1)))] [--shrink:calc(1-var(--scale))]", "[transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)-(var(--toast-index)*var(--peek))-(var(--shrink)*var(--height))))_scale(var(--scale))] [transition:transform_0.5s_cubic-bezier(0.22,1,0.36,1),opacity_0.5s,height_0.15s]", "after:absolute after:top-full after:left-0 after:h-[calc(var(--gap)+1px)] after:w-full after:content-['']", "data-[ending-style]:opacity-0 data-[expanded]:h-[var(--toast-height)] data-[expanded]:[transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--offset-y)))] data-[limited]:opacity-0 data-[starting-style]:[transform:translateY(150%)]", "data-[ending-style]:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))] data-[expanded]:data-[ending-style]:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))]", "data-[ending-style]:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))] data-[expanded]:data-[ending-style]:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))]", "data-[ending-style]:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))] data-[expanded]:data-[ending-style]:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))]", "data-[ending-style]:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))] data-[expanded]:data-[ending-style]:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))]", "[&[data-ending-style]:not([data-limited]):not([data-swipe-direction])]:[transform:translateY(150%)]"),
|
|
268
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
269
|
+
"data-kumo-part": "surface",
|
|
270
|
+
className: cn("relative h-full w-full", toastVariants({ variant: toast.variant }), getBumpAnimation(toast)),
|
|
271
|
+
children: [/* @__PURE__ */ jsx(ToastBackground, { variant: toast.variant }), /* @__PURE__ */ jsxs(ToastContent, {
|
|
272
|
+
className: "isolate flex flex-col gap-1 transition-opacity [transition-duration:250ms] data-[behind]:pointer-events-none data-[behind]:opacity-0 data-[expanded]:pointer-events-auto data-[expanded]:opacity-100",
|
|
273
|
+
children: [toast.content ?? /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsxs("div", {
|
|
274
|
+
className: "flex items-start gap-2",
|
|
275
|
+
children: [/* @__PURE__ */ jsx(ToastIcon, { variant: toast.variant }), /* @__PURE__ */ jsxs("div", {
|
|
276
|
+
className: "flex flex-col gap-1 overflow-hidden",
|
|
277
|
+
children: [
|
|
278
|
+
/* @__PURE__ */ jsx(ToastTitle, {
|
|
279
|
+
"data-toast-title": true,
|
|
280
|
+
className: "text-[0.975rem] leading-5 font-medium text-kumo-default"
|
|
281
|
+
}),
|
|
282
|
+
/* @__PURE__ */ jsx(ToastDescription, { className: "text-[0.925rem] leading-5 text-kumo-default/70" }),
|
|
283
|
+
!!toast.actions && /* @__PURE__ */ jsx("div", {
|
|
284
|
+
className: "mt-2 flex min-w-0 flex-nowrap gap-2 overflow-x-auto p-px",
|
|
285
|
+
children: toast.actions.map((actionProps, idx) => /* @__PURE__ */ jsx(Button, { ...actionProps }, idx))
|
|
286
|
+
})
|
|
287
|
+
]
|
|
288
|
+
})]
|
|
289
|
+
}) }), /* @__PURE__ */ jsx(ToastClose, {
|
|
290
|
+
"data-kumo-part": "close",
|
|
289
291
|
"aria-label": "Close",
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
292
|
+
render: /* @__PURE__ */ jsx(Button, {
|
|
293
|
+
variant: "ghost",
|
|
294
|
+
size: "sm",
|
|
295
|
+
shape: "square",
|
|
296
|
+
"aria-label": "Close",
|
|
297
|
+
className: cn("absolute top-2 right-2 size-5 rounded text-kumo-subtle hover:bg-current/15", toast.variant && TOAST_CLOSE_CLASSES[toast.variant]),
|
|
298
|
+
icon: /* @__PURE__ */ jsx(e, { className: "h-3 w-3" })
|
|
299
|
+
})
|
|
300
|
+
})]
|
|
293
301
|
})]
|
|
294
|
-
})
|
|
302
|
+
})
|
|
295
303
|
}, toast.id));
|
|
296
304
|
}
|
|
297
305
|
const TOAST_CLOSE_CLASSES = {
|
|
@@ -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-cyea767mx5dwgavm.js";
|
|
4
|
+
import { t as Input$1 } from "./input-d1230n06m5b1p3rd.js";
|
|
5
|
+
import { t as InputGroup } from "./input-group-gg4aurpe2s60van9.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";
|
|
@@ -22,6 +22,7 @@ function Tooltip({ content, children, align, asChild, render, side, className, c
|
|
|
22
22
|
const container = containerProp ?? contextContainer ?? void 0;
|
|
23
23
|
const resolvedRender = render ?? (asChild ? children : void 0);
|
|
24
24
|
const shouldUseRender = resolvedRender !== void 0;
|
|
25
|
+
const triggerTabIndex = !shouldUseRender && props.disabled ? -1 : void 0;
|
|
25
26
|
return /* @__PURE__ */ jsxs(TooltipRoot, {
|
|
26
27
|
...props,
|
|
27
28
|
children: [/* @__PURE__ */ jsx(TooltipTrigger, {
|
|
@@ -29,6 +30,7 @@ function Tooltip({ content, children, align, asChild, render, side, className, c
|
|
|
29
30
|
delay,
|
|
30
31
|
className: cn(!shouldUseRender && "m-0 inline-flex h-auto min-h-0 items-center border-none bg-transparent p-0 shadow-none", "cursor-default", className),
|
|
31
32
|
render: resolvedRender,
|
|
33
|
+
tabIndex: triggerTabIndex,
|
|
32
34
|
children: asChild ? void 0 : children
|
|
33
35
|
}), /* @__PURE__ */ jsx(TooltipPortal, {
|
|
34
36
|
container,
|
|
@@ -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-cyea767mx5dwgavm.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";
|
|
@@ -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-ngrji5wk0xdpq2qc.js";
|
|
3
3
|
export { Autocomplete, KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, KUMO_AUTOCOMPLETE_VARIANTS, autocompleteVariants };
|
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-BAFvYacU.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-2ra74bio44h1fvuj.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-DBuj7_fo.js";
|
|
2
|
+
import "../index-WCjW8Iot.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-cyea767mx5dwgavm.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-bcpt8k7ck95vgjc1.js";
|
|
3
3
|
export { Checkbox, KUMO_CHECKBOX_DEFAULT_VARIANTS, KUMO_CHECKBOX_VARIANTS };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ClipboardText } from "../index-
|
|
1
|
+
import { t as ClipboardText } from "../index-CReGk3Dc.js";
|
|
2
2
|
export { ClipboardText };
|
|
@@ -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,2 +1,2 @@
|
|
|
1
|
-
import { i as DatePickerProps, n as DayPickerProps, r as DatePicker, t as DateRange } from "../index-
|
|
1
|
+
import { i as DatePickerProps, n as DayPickerProps, r as DatePicker, t as DateRange } from "../index-bBPKMepR.js";
|
|
2
2
|
export { DatePicker, type DatePickerProps, type DateRange, type DayPickerProps };
|
|
@@ -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-h3zgi4kmimpesv5j.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-ghcpxo6x75jg7mw9.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-crf1hw5exr2oxemk.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-oXVkmPrY.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-gg4aurpe2s60van9.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-oXVkmPrY.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-d1230n06m5b1p3rd.js";
|
|
3
|
+
import { n as Textarea, t as InputArea } from "../chunks/input-m6nvwwnydvbdz8rf.js";
|
|
4
|
+
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../chunks/input-group-gg4aurpe2s60van9.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-cecukn2rbow4ghxg.js";
|
|
3
3
|
export { KUMO_LABEL_DEFAULT_VARIANTS, KUMO_LABEL_VARIANTS, Label, labelContentVariants, labelVariants };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
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-
|
|
1
|
+
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";
|
|
2
2
|
export { type KumoLayerDialogPrimaryVariant, type KumoLayerDialogSize, type KumoLayerDialogVerticalAlign, LayerDialog, type LayerDialogActionProps, type LayerDialogActionsProps, type LayerDialogBodyProps, type LayerDialogContentProps, type LayerDialogDescriptionProps, type LayerDialogPrimaryProps, type LayerDialogProps, type LayerDialogRootProps, type LayerDialogTitleProps };
|
|
@@ -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-co7gt6ihfp5w4jr0.js";
|
|
3
3
|
export { KUMO_RADIO_DEFAULT_VARIANTS, KUMO_RADIO_VARIANTS, Radio, RadioGroup, radioVariants };
|
|
@@ -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-hg58r9x2d9njtysl.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-dgyce0z35tpnxj8t.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-hqj8v7ll9g14p5my.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-b491wlpxd8jbr9b5.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--HBggSGH.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-cmj0e7xvoh9gxxao.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-BfoZI9Hf.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-bx2w3vk2if6mp36l.js";
|
|
3
3
|
export { KUMO_TOOLBAR_DEFAULT_VARIANTS, KUMO_TOOLBAR_VARIANTS, Toolbar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ButtonProps } from "./button-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { n as ButtonProps } from "./button-DBuj7_fo.js";
|
|
2
|
+
import "./index-WCjW8Iot.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";
|