@cloudflare/kumo 2.16.0 → 2.17.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 +21 -0
- package/ai/component-registry.json +33 -7
- package/ai/component-registry.md +58 -3
- package/ai/schemas.ts +1 -0
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +2 -0
- package/dist/ai/schemas.js +1 -0
- package/dist/chunks/{autocomplete-ht782okfv7nv75mq.js → autocomplete-evlm6fj7v7w0g2z2.js} +2 -2
- package/dist/chunks/{banner-cpla8vqjxaulggyd.js → banner-lvbgdzxq3yndkbot.js} +1 -1
- package/dist/chunks/{breadcrumbs-oyuqwb09l08uhok2.js → breadcrumbs-fsuyq7z6hdh1thjv.js} +1 -1
- package/dist/chunks/{button-oxy32x5w9x9az80g.js → button-k7axs4vu1rwx89w3.js} +1 -1
- package/dist/chunks/{checkbox-o9627970y7c9ciqy.js → checkbox-g8b4f2hs5vux3u26.js} +1 -1
- package/dist/chunks/{clipboard-text-c0ad6lzyxauxduv1.js → clipboard-text-fffd5tpa0iye6r6m.js} +17 -6
- package/dist/chunks/{combobox-kgf0gmniahm15n81.js → combobox-iawd8lxwd5b18fce.js} +2 -2
- package/dist/chunks/{date-picker-oee5ehsrepnlmltj.js → date-picker-kfoxd4u7ckg4nsez.js} +78 -6
- package/dist/chunks/{empty-ft85jcbs7fd5t3tn.js → empty-ir5bg5w4kkisuc1c.js} +1 -1
- package/dist/chunks/{field-jzzlgre0jmrr38o2.js → field-n7gmbg5xvh6oqbom.js} +7 -2
- package/dist/chunks/{input-jk86hoj6nqfhl5u8.js → input-f0pbcvjudf5zb8ek.js} +1 -1
- package/dist/chunks/{input-group-hc2qp3m6gsfomqvr.js → input-group-dqo5tcoewbdx86qx.js} +4 -4
- package/dist/chunks/{input-jsnp6etq7rbjjj9e.js → input-iev3wgdzhkqpae2k.js} +2 -2
- package/dist/chunks/{label-hugrtzreeqk5mtqu.js → label-njfcj6h9utmg2n9l.js} +2 -2
- package/dist/chunks/{layer-dialog-dwrrgv1wasrerow4.js → layer-dialog-n7foup6icxowm82n.js} +11 -3
- package/dist/chunks/{menubar-m5pqhx7lu5z7mkks.js → menubar-b454nksysu0wicbz.js} +1 -1
- package/dist/chunks/{pagination-nyknrk1lyexwgyrx.js → pagination-mwlpbysq4cxmvs45.js} +2 -2
- package/dist/chunks/{select-owq85889zm4y23ws.js → select-fae2ls189jrq902h.js} +4 -4
- package/dist/chunks/{sensitive-input-nzwvjuwlpb51ze04.js → sensitive-input-heb3xapwahzhpq6y.js} +2 -2
- package/dist/chunks/{sidebar-gluq5b5oacrdk4m4.js → sidebar-h6g412ror8p7uo0d.js} +3 -3
- package/dist/chunks/{switch-mqf1ulvle4nd6d2t.js → switch-ktfauhluw1yi5tkk.js} +1 -1
- package/dist/chunks/{table-nysse5tiwf47gg4k.js → table-lp41fsw7mqr751hn.js} +1 -1
- package/dist/chunks/{tag-input-fjfzlsaxmnqee7dk.js → tag-input-k6vzllby4qebmv63.js} +4 -4
- package/dist/chunks/{toast-b4t9rt9y1sumcmy2.js → toast-kzwscia42707sau6.js} +60 -52
- package/dist/chunks/{toolbar-l9laewk5jvf4u0si.js → toolbar-nnos2ouwfk7i6tpw.js} +3 -3
- package/dist/chunks/{tooltip-lguwh8bjhxwnjfus.js → tooltip-bcymn9bfyz29fvji.js} +2 -0
- package/dist/code.js +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/banner.js +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button.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.js +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/input-group.js +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/menubar.js +1 -1
- package/dist/components/pagination.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/switch.js +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tag-input.js +1 -1
- package/dist/components/toast.js +1 -1
- package/dist/components/toolbar.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/{index-DJIRVD5B.d.ts → index-CReGk3Dc.d.ts} +6 -0
- package/dist/{index-5bJAnzUo.d.ts → index-Dmbgjww7.d.ts} +1 -0
- package/dist/{index-DNsSKNUe.d.ts → index-bBPKMepR.d.ts} +4 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +26 -26
- 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/format-generated.ts +12 -0
- package/scripts/generate-primitives.ts +16 -12
- package/scripts/theme-generator/index.ts +2 -2
- package/dist/index-DhOvcB0m.d.ts +0 -60
|
@@ -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-
|
|
3
|
+
import { r as Label } from "./label-njfcj6h9utmg2n9l.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";
|
|
@@ -29,6 +29,10 @@ function fieldVariants({ controlFirst = false } = {}) {
|
|
|
29
29
|
"[&>label]:flex-1"
|
|
30
30
|
]);
|
|
31
31
|
}
|
|
32
|
+
/** Values React renders as nothing. */
|
|
33
|
+
function rendersNothing(node) {
|
|
34
|
+
return node == null || typeof node === "boolean" || node === "";
|
|
35
|
+
}
|
|
32
36
|
/**
|
|
33
37
|
* Form field wrapper that provides a label, optional description, and error display
|
|
34
38
|
* around any form control. Built on Base UI Field primitives.
|
|
@@ -42,10 +46,11 @@ function fieldVariants({ controlFirst = false } = {}) {
|
|
|
42
46
|
*/
|
|
43
47
|
function Field({ children, label, required, labelTooltip, error, description, controlFirst = false, hideLabel = false }) {
|
|
44
48
|
const showOptional = required === false;
|
|
49
|
+
const hasLabelContent = !rendersNothing(label) || showOptional || !rendersNothing(labelTooltip);
|
|
45
50
|
return /* @__PURE__ */ jsxs(FieldRoot, {
|
|
46
51
|
className: fieldVariants({ controlFirst }),
|
|
47
52
|
children: [
|
|
48
|
-
!hideLabel && /* @__PURE__ */ jsx(FieldLabel, {
|
|
53
|
+
!hideLabel && hasLabelContent && /* @__PURE__ */ jsx(FieldLabel, {
|
|
49
54
|
className: "m-0 text-base font-medium text-kumo-default select-none",
|
|
50
55
|
children: /* @__PURE__ */ jsx(Label, {
|
|
51
56
|
showOptional,
|
|
@@ -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-
|
|
5
|
+
import { a as normalizeFieldError, t as Field } from "./field-n7gmbg5xvh6oqbom.js";
|
|
6
6
|
import { forwardRef } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/input/input.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
|
-
import { t as Tooltip } from "./tooltip-
|
|
4
|
-
import { t as Button$1 } from "./button-
|
|
5
|
-
import { t as Field } from "./field-
|
|
6
|
-
import { r as inputVariants, t as Input$1 } from "./input-
|
|
3
|
+
import { t as Tooltip } from "./tooltip-bcymn9bfyz29fvji.js";
|
|
4
|
+
import { t as Button$1 } from "./button-k7axs4vu1rwx89w3.js";
|
|
5
|
+
import { t as Field } from "./field-n7gmbg5xvh6oqbom.js";
|
|
6
|
+
import { r as inputVariants, t as Input$1 } from "./input-f0pbcvjudf5zb8ek.js";
|
|
7
7
|
import React, { Children, cloneElement, createContext, forwardRef, isValidElement, useContext, useId, useMemo } from "react";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/input-group/context.ts
|
|
@@ -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-
|
|
5
|
-
import { r as inputVariants } from "./input-
|
|
4
|
+
import { a as normalizeFieldError, t as Field } from "./field-n7gmbg5xvh6oqbom.js";
|
|
5
|
+
import { r as inputVariants } from "./input-f0pbcvjudf5zb8ek.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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
|
-
import { t as Tooltip } from "./tooltip-
|
|
4
|
-
import { t as Button } from "./button-
|
|
3
|
+
import { t as Tooltip } from "./tooltip-bcymn9bfyz29fvji.js";
|
|
4
|
+
import { t as Button } from "./button-k7axs4vu1rwx89w3.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";
|
|
@@ -3,7 +3,7 @@ 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-
|
|
6
|
+
import { t as Button } from "./button-k7axs4vu1rwx89w3.js";
|
|
7
7
|
import { n as useKumoLocale } from "./locale-provider-e3310bgo4lnffqkd.js";
|
|
8
8
|
import { t as Text } from "./text-me99rjbjkaff98gp.js";
|
|
9
9
|
import { t as LayerCard } from "./layer-card-mar4dya5kl1vvie6.js";
|
|
@@ -12,7 +12,7 @@ import { i as ScrollAreaViewport, n as ScrollAreaContent, r as ScrollAreaScrollb
|
|
|
12
12
|
import { t as ButtonGroup } from "./button-group-biv43ksvaipc3p5n.js";
|
|
13
13
|
import { a as DrawerRoot, g as DrawerBackdrop, h as DrawerClose, i as DrawerTitle, m as DrawerContent, o as DrawerPortal, p as DrawerDescription, r as DrawerTrigger, s as DrawerPopup, t as DrawerViewport } from "./DrawerViewport-mzqpwvqtylnad8ib.js";
|
|
14
14
|
import * as React$1 from "react";
|
|
15
|
-
import { Children, createContext, isValidElement, useContext, useRef, useState } from "react";
|
|
15
|
+
import { Children, createContext, forwardRef, isValidElement, useContext, useRef, useState } from "react";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { CaretDownIcon, X } from "@phosphor-icons/react";
|
|
18
18
|
import { useSyncExternalStore as useSyncExternalStore$1 } from "use-sync-external-store/shim";
|
|
@@ -298,7 +298,7 @@ function LayerDialogBody({ children }) {
|
|
|
298
298
|
/* @__PURE__ */ jsxs(ScrollAreaRoot, {
|
|
299
299
|
className: "relative flex min-h-0 flex-1 flex-col",
|
|
300
300
|
children: [/* @__PURE__ */ jsx(ScrollAreaViewport, {
|
|
301
|
-
className: "min-h-0 flex-1 overscroll-none [mask-image:linear-gradient(to_bottom,transparent_0,black_min(24px,var(--scroll-area-overflow-y-start,0px)),black_calc(100%-min(24px,var(--scroll-area-overflow-y-end,24px))),transparent_100%)]",
|
|
301
|
+
className: "no-scrollbar min-h-0 flex-1 overscroll-none [mask-image:linear-gradient(to_bottom,transparent_0,black_min(24px,var(--scroll-area-overflow-y-start,0px)),black_calc(100%-min(24px,var(--scroll-area-overflow-y-end,24px))),transparent_100%)]",
|
|
302
302
|
onScroll: handleScroll,
|
|
303
303
|
children: isDesktop ? /* @__PURE__ */ jsx(ScrollAreaContent, {
|
|
304
304
|
className: "px-4.5 pt-0.5 pb-4.5",
|
|
@@ -322,6 +322,13 @@ function LayerDialogBody({ children }) {
|
|
|
322
322
|
});
|
|
323
323
|
}
|
|
324
324
|
LayerDialogBody.displayName = "LayerDialog.Body";
|
|
325
|
+
/** A full-width divider between sections of `LayerDialog.Body`. */
|
|
326
|
+
const LayerDialogSeparator = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("hr", {
|
|
327
|
+
ref,
|
|
328
|
+
className: cn("-mx-4 my-4 h-px border-0 bg-kumo-hairline sm:-mx-4.5", className),
|
|
329
|
+
...props
|
|
330
|
+
}));
|
|
331
|
+
LayerDialogSeparator.displayName = "LayerDialog.Separator";
|
|
325
332
|
function LayerDialogIconClose({ disabled, label }) {
|
|
326
333
|
const close = (closeProps) => /* @__PURE__ */ jsx(Button, {
|
|
327
334
|
...closeProps,
|
|
@@ -399,6 +406,7 @@ const LayerDialog = Object.assign(LayerDialogRoot, {
|
|
|
399
406
|
Title: LayerDialogTitle,
|
|
400
407
|
Description: LayerDialogDescription,
|
|
401
408
|
Body: LayerDialogBody,
|
|
409
|
+
Separator: LayerDialogSeparator,
|
|
402
410
|
Action: LayerDialogAction,
|
|
403
411
|
Actions: LayerDialogActions
|
|
404
412
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
|
-
import { t as Tooltip } from "./tooltip-
|
|
3
|
+
import { t as Tooltip } from "./tooltip-bcymn9bfyz29fvji.js";
|
|
4
4
|
import { useEffect, useRef } from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { IconContext } from "@phosphor-icons/react";
|
|
@@ -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-
|
|
4
|
-
import { t as Select } from "./select-
|
|
3
|
+
import { t as InputGroup } from "./input-group-dqo5tcoewbdx86qx.js";
|
|
4
|
+
import { t as Select } from "./select-fae2ls189jrq902h.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";
|
|
@@ -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-
|
|
5
|
-
import { r as Label } from "./label-
|
|
6
|
-
import { t as Field } from "./field-
|
|
7
|
-
import { n as KUMO_INPUT_VARIANTS } from "./input-
|
|
4
|
+
import { i as buttonVariants } from "./button-k7axs4vu1rwx89w3.js";
|
|
5
|
+
import { r as Label } from "./label-njfcj6h9utmg2n9l.js";
|
|
6
|
+
import { t as Field } from "./field-n7gmbg5xvh6oqbom.js";
|
|
7
|
+
import { n as KUMO_INPUT_VARIANTS } from "./input-f0pbcvjudf5zb8ek.js";
|
|
8
8
|
import { t as SkeletonLine } from "./skeleton-line-gjf1fecmyy82aejz.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";
|
package/dist/chunks/{sensitive-input-nzwvjuwlpb51ze04.js → sensitive-input-heb3xapwahzhpq6y.js}
RENAMED
|
@@ -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-
|
|
5
|
-
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-
|
|
4
|
+
import { t as Field } from "./field-n7gmbg5xvh6oqbom.js";
|
|
5
|
+
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-f0pbcvjudf5zb8ek.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";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { n as useLinkComponent } from "./link-provider-kbwllpbo24fvgioj.js";
|
|
4
|
-
import { n as TooltipProvider, t as Tooltip } from "./tooltip-
|
|
5
|
-
import { t as Button } from "./button-
|
|
4
|
+
import { n as TooltipProvider, t as Tooltip } from "./tooltip-bcymn9bfyz29fvji.js";
|
|
5
|
+
import { t as Button } from "./button-k7axs4vu1rwx89w3.js";
|
|
6
6
|
import { t as SkeletonLine } from "./skeleton-line-gjf1fecmyy82aejz.js";
|
|
7
7
|
import { i as ScrollAreaViewport, n as ScrollAreaContent, r as ScrollAreaScrollbar, s as ScrollAreaRoot, t as ScrollAreaThumb } from "./ScrollAreaThumb-hxig41yn4lrurd3o.js";
|
|
8
8
|
import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
@@ -506,7 +506,7 @@ const SidebarContent = forwardRef(({ className, children, ...props }, ref) => {
|
|
|
506
506
|
children: [/* @__PURE__ */ jsx(ScrollAreaViewport, {
|
|
507
507
|
tabIndex: -1,
|
|
508
508
|
"data-sidebar": "viewport",
|
|
509
|
-
className: cn("h-full px-[11px] py-3 group-not-data-[state=collapsed]/sidebar:px-3.5", "transition-[padding] duration-(--sidebar-animation-duration)", "overflow-x-hidden!", "[mask-image:linear-gradient(to_bottom,transparent_0,black_min(24px,var(--scroll-area-overflow-y-start,24px)),black_calc(100%-min(24px,var(--scroll-area-overflow-y-end,24px))),transparent_100%)]"),
|
|
509
|
+
className: cn("h-full px-[11px] py-3 group-not-data-[state=collapsed]/sidebar:px-3.5", "transition-[padding] duration-(--sidebar-animation-duration)", "overflow-x-hidden!", "no-scrollbar", "[mask-image:linear-gradient(to_bottom,transparent_0,black_min(24px,var(--scroll-area-overflow-y-start,24px)),black_calc(100%-min(24px,var(--scroll-area-overflow-y-end,24px))),transparent_100%)]"),
|
|
510
510
|
children: /* @__PURE__ */ jsx(ScrollAreaContent, {
|
|
511
511
|
className: "flex min-w-0! flex-col",
|
|
512
512
|
children
|
|
@@ -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-n7gmbg5xvh6oqbom.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-
|
|
4
|
+
import { t as Checkbox } from "./checkbox-g8b4f2hs5vux3u26.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-
|
|
3
|
+
import { t as Button } from "./button-k7axs4vu1rwx89w3.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-n7gmbg5xvh6oqbom.js";
|
|
6
|
+
import { r as inputVariants } from "./input-f0pbcvjudf5zb8ek.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";
|
|
@@ -143,7 +143,7 @@ const TagInput = forwardRef(({ value, defaultValue = [], onValueChange, validate
|
|
|
143
143
|
}, item)), hasField ? /* @__PURE__ */ jsx(FieldControl, { render: (controlProps) => input(controlProps) }) : input()]
|
|
144
144
|
});
|
|
145
145
|
if (hasField) return /* @__PURE__ */ jsx(Field, {
|
|
146
|
-
label
|
|
146
|
+
label,
|
|
147
147
|
labelTooltip,
|
|
148
148
|
description,
|
|
149
149
|
error: fieldError,
|
|
@@ -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-k7axs4vu1rwx89w3.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-k7axs4vu1rwx89w3.js";
|
|
4
|
+
import { t as Input$1 } from "./input-f0pbcvjudf5zb8ek.js";
|
|
5
|
+
import { t as InputGroup } from "./input-group-dqo5tcoewbdx86qx.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,
|
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-k7axs4vu1rwx89w3.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-evlm6fj7v7w0g2z2.js";
|
|
3
3
|
export { Autocomplete, KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, KUMO_AUTOCOMPLETE_VARIANTS, autocompleteVariants };
|
|
@@ -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-fsuyq7z6hdh1thjv.js";
|
|
3
3
|
export { Breadcrumb as Breadcrumbs, KUMO_BREADCRUMBS_DEFAULT_VARIANTS, KUMO_BREADCRUMBS_VARIANTS, breadcrumbsVariants };
|
|
@@ -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-k7axs4vu1rwx89w3.js";
|
|
3
3
|
export { Button, LinkButton, RefreshButton, buttonVariants };
|
|
@@ -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-g8b4f2hs5vux3u26.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 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 };
|
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-ir5bg5w4kkisuc1c.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-n7gmbg5xvh6oqbom.js";
|
|
3
3
|
export { Field, KUMO_FIELD_DEFAULT_VARIANTS, KUMO_FIELD_VARIANTS, fieldVariants, normalizeFieldError };
|
|
@@ -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-dqo5tcoewbdx86qx.js";
|
|
3
3
|
export { InputGroup, KUMO_INPUT_GROUP_DEFAULT_VARIANTS, KUMO_INPUT_GROUP_VARIANTS };
|
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-f0pbcvjudf5zb8ek.js";
|
|
3
|
+
import { n as Textarea, t as InputArea } from "../chunks/input-iev3wgdzhkqpae2k.js";
|
|
4
|
+
import { n as KUMO_INPUT_GROUP_DEFAULT_VARIANTS, r as KUMO_INPUT_GROUP_VARIANTS, t as InputGroup } from "../chunks/input-group-dqo5tcoewbdx86qx.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-njfcj6h9utmg2n9l.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,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-heb3xapwahzhpq6y.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-h6g412ror8p7uo0d.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 { 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-ktfauhluw1yi5tkk.js";
|
|
3
3
|
export { KUMO_SWITCH_DEFAULT_VARIANTS, KUMO_SWITCH_VARIANTS, Switch };
|