@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ButtonProps, r as KumoButtonVariant } from "./button-
|
|
1
|
+
import { a as LinkButtonProps, n as ButtonProps, r as KumoButtonVariant } from "./button-DBuj7_fo.js";
|
|
2
2
|
import { HTMLAttributes, ReactNode } from "react";
|
|
3
3
|
//#region src/components/banner/banner-action.d.ts
|
|
4
4
|
/**
|
|
@@ -8,8 +8,7 @@ import { HTMLAttributes, ReactNode } from "react";
|
|
|
8
8
|
* - `"ghost"` — text-only accent action with a faint accent-tinted hover.
|
|
9
9
|
*/
|
|
10
10
|
type BannerActionVariant = Extract<KumoButtonVariant, "primary" | "secondary" | "ghost">;
|
|
11
|
-
|
|
12
|
-
type WithBannerActionVariants<Props> = Props extends ButtonProps ? Omit<Props, "size" | "variant"> & {
|
|
11
|
+
type WithBannerActionVariants<Props> = Props extends unknown ? Omit<Props, "size" | "variant"> & {
|
|
13
12
|
/**
|
|
14
13
|
* Visual variant of the CTA, aligned with `Button`'s `variant` naming.
|
|
15
14
|
* - `"primary"` — filled accent gradient for the main action (default).
|
|
@@ -19,7 +18,18 @@ type WithBannerActionVariants<Props> = Props extends ButtonProps ? Omit<Props, "
|
|
|
19
18
|
*/
|
|
20
19
|
variant?: BannerActionVariant;
|
|
21
20
|
} : never;
|
|
22
|
-
type
|
|
21
|
+
type BannerActionButtonProps = WithBannerActionVariants<ButtonProps> & {
|
|
22
|
+
href?: never;
|
|
23
|
+
};
|
|
24
|
+
type BannerActionLinkProps = WithBannerActionVariants<LinkButtonProps> & {
|
|
25
|
+
/**
|
|
26
|
+
* Renders the action as a link via `LinkButton`, so it uses the app's
|
|
27
|
+
* `LinkProvider` component for client-side routing.
|
|
28
|
+
*/
|
|
29
|
+
href: string;
|
|
30
|
+
};
|
|
31
|
+
/** Props for {@link BannerAction}. Pass `href` to render a link. */
|
|
32
|
+
type BannerActionProps = BannerActionButtonProps | BannerActionLinkProps;
|
|
23
33
|
//#endregion
|
|
24
34
|
//#region src/components/banner/banner.d.ts
|
|
25
35
|
/** Banner variant definitions mapping style options to their Tailwind classes and descriptions. */
|
|
@@ -120,7 +130,7 @@ interface BannerProps extends Omit<HTMLAttributes<HTMLDivElement>, "children" |
|
|
|
120
130
|
* (`variant="primary" | "secondary" | "ghost"`).
|
|
121
131
|
*/
|
|
122
132
|
declare const Banner: import("react").ForwardRefExoticComponent<BannerProps & import("react").RefAttributes<HTMLDivElement>> & {
|
|
123
|
-
Action: import("react").ForwardRefExoticComponent<BannerActionProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
133
|
+
Action: import("react").ForwardRefExoticComponent<BannerActionProps & import("react").RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
124
134
|
};
|
|
125
135
|
//#endregion
|
|
126
136
|
export { BannerVariant as n, Banner as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as LinkButtonProps, n as ButtonProps } from "./button-
|
|
1
|
+
import { a as LinkButtonProps, n as ButtonProps } from "./button-DBuj7_fo.js";
|
|
2
2
|
import { n as InputProps } from "./input-BeWEb-jD.js";
|
|
3
|
-
import { t as InputGroup } from "./input-group-
|
|
3
|
+
import { t as InputGroup } from "./input-group-oXVkmPrY.js";
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { Toolbar } from "@base-ui/react/toolbar";
|
|
6
6
|
//#region src/components/toolbar/toolbar.d.ts
|
|
@@ -44,6 +44,8 @@ interface ClipboardTextProps extends KumoClipboardTextVariantsProps {
|
|
|
44
44
|
text: string;
|
|
45
45
|
/** If provided, this text will be copied to clipboard instead of the `text` prop. */
|
|
46
46
|
textToCopy?: string;
|
|
47
|
+
/** Masks the text initially and adds a control to reveal or hide it. @default false */
|
|
48
|
+
masked?: boolean;
|
|
47
49
|
/** Additional CSS classes merged via `cn()`. */
|
|
48
50
|
className?: string;
|
|
49
51
|
/** Callback fired after text is copied to clipboard. */
|
|
@@ -70,6 +72,10 @@ interface ClipboardTextProps extends KumoClipboardTextVariantsProps {
|
|
|
70
72
|
labels?: {
|
|
71
73
|
/** @default "Copy to clipboard" */
|
|
72
74
|
copyAction?: string;
|
|
75
|
+
/** @default "Reveal value" */
|
|
76
|
+
revealAction?: string;
|
|
77
|
+
/** @default "Hide value" */
|
|
78
|
+
hideAction?: string;
|
|
73
79
|
};
|
|
74
80
|
}
|
|
75
81
|
/**
|
|
@@ -9,7 +9,7 @@ declare const KUMO_INLINE_COPY_TEXT_VARIANTS: {};
|
|
|
9
9
|
declare const KUMO_INLINE_COPY_TEXT_DEFAULT_VARIANTS: {};
|
|
10
10
|
/** Base classes shared by every InlineCopyText. */
|
|
11
11
|
declare const KUMO_INLINE_COPY_TEXT_STYLING: {
|
|
12
|
-
readonly baseClasses: "group/inline-copy flex min-w-0 max-w-full cursor-pointer items-center gap-1 rounded-xs border-0 bg-transparent p-0 focus-visible:outline-
|
|
12
|
+
readonly baseClasses: "group/inline-copy flex min-w-0 max-w-full cursor-pointer items-center gap-1 rounded-xs border-0 bg-transparent p-0 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-kumo-brand";
|
|
13
13
|
};
|
|
14
14
|
interface InlineCopyTextLabels {
|
|
15
15
|
/** Accessible name before the text is copied. @default "Copy to clipboard" */
|
|
@@ -145,6 +145,7 @@ declare const LayerDialog: typeof LayerDialogRoot & {
|
|
|
145
145
|
Title: typeof LayerDialogTitle;
|
|
146
146
|
Description: typeof LayerDialogDescription;
|
|
147
147
|
Body: typeof LayerDialogBody;
|
|
148
|
+
Separator: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & import("react").RefAttributes<HTMLHRElement>>;
|
|
148
149
|
Action: typeof LayerDialogAction;
|
|
149
150
|
Actions: (({ children, dismissLabel }: LayerDialogActionsProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
150
151
|
/** @deprecated Use `LayerDialog.Action` instead. */
|
|
@@ -56,7 +56,30 @@ interface LoaderProps {
|
|
|
56
56
|
declare const Loader: ({ className, size, "aria-label": ariaLabel }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region src/components/loader/skeleton-line.d.ts
|
|
59
|
-
|
|
59
|
+
/** SkeletonLine variant definitions mapping variant names to their root classes and descriptions. */
|
|
60
|
+
declare const KUMO_SKELETON_LINE_VARIANTS: {
|
|
61
|
+
readonly variant: {
|
|
62
|
+
readonly default: {
|
|
63
|
+
readonly classes: "skeleton-line";
|
|
64
|
+
readonly description: "Flat grey bar with a sliding shimmer";
|
|
65
|
+
};
|
|
66
|
+
readonly sketch: {
|
|
67
|
+
readonly classes: "relative h-2 w-(--skeleton-width)";
|
|
68
|
+
readonly description: "Wireframe-style bar: rounded fill with a sliding shimmer, a 1px outline, and construction strokes that overshoot each corner by 4px";
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
type KumoSkeletonLineVariant = keyof typeof KUMO_SKELETON_LINE_VARIANTS.variant;
|
|
73
|
+
declare const SkeletonLine: ({ variant, minWidth, maxWidth, minDuration, maxDuration, minDelay, maxDelay, blockHeight, className }: {
|
|
74
|
+
/**
|
|
75
|
+
* Visual style of the line.
|
|
76
|
+
* - `"default"` — flat grey bar with a sliding shimmer
|
|
77
|
+
* - `"sketch"` — wireframe-style bar with an outline and construction
|
|
78
|
+
* strokes that overshoot each corner by 4px. Leave 4px of room around it
|
|
79
|
+
* so an `overflow: hidden` parent doesn't clip the strokes.
|
|
80
|
+
* @default "default"
|
|
81
|
+
*/
|
|
82
|
+
variant?: KumoSkeletonLineVariant;
|
|
60
83
|
minWidth?: number;
|
|
61
84
|
maxWidth?: number;
|
|
62
85
|
minDuration?: number;
|
|
@@ -152,11 +152,12 @@ declare function Content({ children, className, align, sideOffset, alignOffset,
|
|
|
152
152
|
declare namespace Content {
|
|
153
153
|
var displayName: string;
|
|
154
154
|
}
|
|
155
|
-
|
|
155
|
+
type TriggerValueProps = Omit<Combobox.Trigger.Props, "className" | "children" | "placeholder"> & Combobox.Value.Props & {
|
|
156
156
|
className?: string;
|
|
157
157
|
/** Replaces the trigger element while preserving Combobox behavior. */
|
|
158
158
|
render?: Combobox.Trigger.Props["render"];
|
|
159
|
-
}
|
|
159
|
+
};
|
|
160
|
+
declare function TriggerValue({ className, children, placeholder, ...triggerProps }: TriggerValueProps): import("react/jsx-runtime").JSX.Element;
|
|
160
161
|
declare namespace TriggerValue {
|
|
161
162
|
var displayName: string;
|
|
162
163
|
}
|
|
@@ -195,7 +196,7 @@ declare function Chip({ removeLabel, ...props }: Combobox.Chip.Props & {
|
|
|
195
196
|
declare namespace Chip {
|
|
196
197
|
var displayName: string;
|
|
197
198
|
}
|
|
198
|
-
declare function TriggerMultipleWithInput<ValueType>({ placeholder, renderItem, className, inputSide, value: controlledValue }: {
|
|
199
|
+
declare function TriggerMultipleWithInput<ValueType>({ placeholder, renderItem, className, inputSide, value: controlledValue, ...inputProps }: Pick<Combobox.Input.Props, "aria-label" | "aria-labelledby" | "aria-describedby"> & {
|
|
199
200
|
placeholder?: string;
|
|
200
201
|
renderItem: (value: ValueType) => React.ReactNode;
|
|
201
202
|
className?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./button-DBuj7_fo.js";
|
|
@@ -46,6 +46,10 @@ type DatePickerProps = SingleProps | SingleRequiredProps | MultipleProps | Multi
|
|
|
46
46
|
* Outside-month dates are hidden by default in multi-month views to avoid duplicates.
|
|
47
47
|
* Set `showOutsideDays` to override this behavior.
|
|
48
48
|
*
|
|
49
|
+
* DatePicker has no internal padding, so it fits a Popover or a page layout
|
|
50
|
+
* without overrides. The container sets the spacing, e.g.
|
|
51
|
+
* `<Popover.Content className="p-3">`, or `className="p-3"` on its own.
|
|
52
|
+
*
|
|
49
53
|
* @example
|
|
50
54
|
* ```tsx
|
|
51
55
|
* // Single date selection
|
package/dist/index.d.ts
CHANGED
|
@@ -2,21 +2,21 @@ import { a as PropSchema, i as ComponentType, n as ComponentSchema, o as SubComp
|
|
|
2
2
|
import { a as KUMO_FIELD_VARIANTS, i as KUMO_FIELD_DEFAULT_VARIANTS, n as FieldErrorMatch, o as fieldVariants, r as FieldProps, t as Field } from "./field-DIjlHM8W.js";
|
|
3
3
|
import { a as KUMO_AUTOCOMPLETE_VARIANTS, i as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, n as Autocomplete, o as KumoAutocompleteSize, r as AutocompleteProps, s as autocompleteVariants } from "./index-T1sSoiWG.js";
|
|
4
4
|
import { n as BadgeVariant, t as Badge } from "./index-CdSf6Vfc.js";
|
|
5
|
-
import { a as LinkButtonProps, i as LinkButton, n as ButtonProps, o as RefreshButton, s as buttonVariants, t as Button } from "./button-
|
|
6
|
-
import { n as BannerVariant, t as Banner } from "./index-
|
|
5
|
+
import { a as LinkButtonProps, i as LinkButton, n as ButtonProps, o as RefreshButton, s as buttonVariants, t as Button } from "./button-DBuj7_fo.js";
|
|
6
|
+
import { n as BannerVariant, t as Banner } from "./index-BAFvYacU.js";
|
|
7
7
|
import { n as BreadcrumbsProps, t as Breadcrumb } from "./index-CLsBWiaS.js";
|
|
8
8
|
import { a as KUMO_BUTTON_GROUP_VARIANTS, i as KUMO_BUTTON_GROUP_STYLING, n as ButtonGroupProps, r as KUMO_BUTTON_GROUP_DEFAULT_VARIANTS, t as ButtonGroup } from "./index-C7RoG_CH.js";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-WCjW8Iot.js";
|
|
10
10
|
import { C as TimeseriesChart, S as KumoChartOption, _ as SankeyTooltipParams, a as BubbleMap, c as ChoroplethMapProps, d as MapProjection, f as MapStyle, g as SankeyNodeData, h as SankeyLinkData, i as GlobeMapProps, l as MapAccessor, m as SankeyChartProps, n as GlobeMap, o as BubbleMapProps, p as SankeyChart, r as GlobeMapMarker, s as ChoroplethMap, t as ChartPalette, u as MapGeoJson, v as ChartLegend, y as Chart } from "./index-g-eFm1Bq.js";
|
|
11
11
|
import { a as CheckboxLegendProps, n as CheckboxChangeEventDetails, o as CheckboxProps, t as Checkbox } from "./index-DjSGDESy.js";
|
|
12
|
-
import { t as ClipboardText } from "./index-
|
|
12
|
+
import { t as ClipboardText } from "./index-CReGk3Dc.js";
|
|
13
13
|
import { a as CloudflareLogoSvgVariant, c as KUMO_CLOUDFLARE_LOGO_DEFAULT_VARIANTS, d as PoweredByCloudflareProps, f as generateCloudflareLogoSvg, i as CloudflareLogoSvgColor, l as KUMO_CLOUDFLARE_LOGO_VARIANTS, n as CloudflareLogoColor, o as CloudflareLogoVariant, r as CloudflareLogoProps, s as GenerateCloudflareLogoSvgOptions, t as CloudflareLogo, u as PoweredByCloudflare } from "./index-CYoiniZ4.js";
|
|
14
14
|
import { n as Code, r as CodeBlock } from "./index-B9niVl3r.js";
|
|
15
15
|
import { a as CollapsibleProps, i as CollapsiblePanelProps, n as CollapsibleDefaultPanelProps, o as CollapsibleRootProps, r as CollapsibleDefaultTriggerProps, s as CollapsibleTriggerProps, t as Collapsible } from "./index-CzTgKPh-.js";
|
|
16
16
|
import { n as PortalContainer, t as KumoPortalProvider } from "./portal-provider-BAqPpq_a.js";
|
|
17
|
-
import { n as Combobox } from "./index-
|
|
17
|
+
import { n as Combobox } from "./index-DxOyYZaJ.js";
|
|
18
18
|
import { a as CommandPaletteFooterProps, c as CommandPaletteInputProps, d as CommandPaletteLoadingProps, f as CommandPaletteResultItemProps, i as CommandPaletteEmptyProps, l as CommandPaletteItemProps, m as HighlightRange, n as KUMO_COMMAND_PALETTE_DEFAULT_VARIANTS, o as CommandPaletteGroupLabelProps, p as CommandPaletteRootProps, r as KUMO_COMMAND_PALETTE_VARIANTS, s as CommandPaletteGroupProps, t as CommandPalette, u as CommandPaletteListProps } from "./index-BK1tZgmP.js";
|
|
19
|
-
import { i as DatePickerProps, n as DayPickerProps, r as DatePicker, t as DateRange } from "./index-
|
|
19
|
+
import { i as DatePickerProps, n as DayPickerProps, r as DatePicker, t as DateRange } from "./index-bBPKMepR.js";
|
|
20
20
|
import { t as DateRangePicker } from "./index-lOWfpkxK.js";
|
|
21
21
|
import { a as DialogDescriptionProps, c as DialogRootProps, d as DialogTrigger, f as DialogTriggerProps, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogProps, r as DialogCloseProps, s as DialogRoot, t as Dialog, u as DialogTitleProps } from "./index-CNJRbVxG.js";
|
|
22
22
|
import { t as DropdownMenu } from "./index-BW1HVU7T.js";
|
|
@@ -25,19 +25,19 @@ import "./components/field.js";
|
|
|
25
25
|
import { t as Flow } from "./index-BzE0aNpx.js";
|
|
26
26
|
import { a as KUMO_GRID_DEFAULT_VARIANTS, c as KumoGridVariant, i as GridProps, l as gridItemVariants, n as GridItem, o as KUMO_GRID_VARIANTS, r as GridItemProps, s as KumoGridGap, t as Grid, u as gridVariants } from "./index-BVgXnR1V.js";
|
|
27
27
|
import { r as Text } from "./text-B4l7S5Z0.js";
|
|
28
|
-
import { a as KUMO_INLINE_COPY_TEXT_STYLING, i as KUMO_INLINE_COPY_TEXT_DEFAULT_VARIANTS, n as InlineCopyTextLabels, o as KUMO_INLINE_COPY_TEXT_VARIANTS, r as InlineCopyTextProps, t as InlineCopyText } from "./index-
|
|
28
|
+
import { a as KUMO_INLINE_COPY_TEXT_STYLING, i as KUMO_INLINE_COPY_TEXT_DEFAULT_VARIANTS, n as InlineCopyTextLabels, o as KUMO_INLINE_COPY_TEXT_VARIANTS, r as InlineCopyTextProps, t as InlineCopyText } from "./index-D4_C1J_8.js";
|
|
29
29
|
import { a as inputVariants, n as InputProps, t as Input } from "./input-BeWEb-jD.js";
|
|
30
|
-
import { a as InputGroupSuffixProps, c as InputGroupInputProps, i as InputGroupRootProps, o as InputGroupAddonProps, s as InputGroupButtonProps, t as InputGroup } from "./input-group-
|
|
30
|
+
import { a as InputGroupSuffixProps, c as InputGroupInputProps, i as InputGroupRootProps, o as InputGroupAddonProps, s as InputGroupButtonProps, t as InputGroup } from "./input-group-oXVkmPrY.js";
|
|
31
31
|
import { n as Tooltip, r as TooltipProvider } from "./tooltip-D_vhi1PN.js";
|
|
32
32
|
import "./components/input-group.js";
|
|
33
33
|
import { a as Textarea, i as InputAreaProps, r as InputArea } from "./index-ClS-eFxE.js";
|
|
34
34
|
import { a as labelContentVariants, i as LabelProps, n as KUMO_LABEL_VARIANTS, o as labelVariants, r as Label, t as KUMO_LABEL_DEFAULT_VARIANTS } from "./index-CE09bLNb.js";
|
|
35
35
|
import { t as LayerCard } from "./layer-card-BNIn9pqy.js";
|
|
36
36
|
import "./components/layer-card.js";
|
|
37
|
-
import { a as LayerDialogActionProps, c as LayerDialogContentProps, d as LayerDialogProps, f as LayerDialogRootProps, i as LayerDialog, l as LayerDialogDescriptionProps, n as KumoLayerDialogSize, o as LayerDialogActionsProps, p as LayerDialogTitleProps, r as KumoLayerDialogVerticalAlign, s as LayerDialogBodyProps, t as KumoLayerDialogPrimaryVariant, u as LayerDialogPrimaryProps } from "./index-
|
|
37
|
+
import { a as LayerDialogActionProps, c as LayerDialogContentProps, d as LayerDialogProps, f as LayerDialogRootProps, i as LayerDialog, l as LayerDialogDescriptionProps, n as KumoLayerDialogSize, o as LayerDialogActionsProps, p as LayerDialogTitleProps, r as KumoLayerDialogVerticalAlign, s as LayerDialogBodyProps, t as KumoLayerDialogPrimaryVariant, u as LayerDialogPrimaryProps } from "./index-Dmbgjww7.js";
|
|
38
38
|
import { n as LinkProvider, r as useLinkComponent, t as LinkComponentProps } from "./link-provider-tz-NJp9x.js";
|
|
39
39
|
import { KUMO_LINK_DEFAULT_VARIANTS, KUMO_LINK_VARIANTS, KumoLinkVariant, KumoLinkVariantsProps, Link, LinkProps, linkVariants } from "./components/link.js";
|
|
40
|
-
import { n as Loader, t as SkeletonLine } from "./index-
|
|
40
|
+
import { n as Loader, t as SkeletonLine } from "./index-Dx7hOWUc.js";
|
|
41
41
|
import { n as MenuBar, t as useMenuNavigation } from "./index-B7epkoHc.js";
|
|
42
42
|
import { t as Meter } from "./index-yK3Hayg_.js";
|
|
43
43
|
import { t as Pagination } from "./index-DYYiDxZs.js";
|
|
@@ -54,8 +54,8 @@ import { a as Table } from "./index-RP_rt8vB.js";
|
|
|
54
54
|
import { n as TabsItem, r as TabsProps, t as Tabs } from "./index-FCkuxSvs.js";
|
|
55
55
|
import { n as TagInputLabels, r as TagInputProps, t as TagInput } from "./index-2jvVmJ8P.js";
|
|
56
56
|
import "./components/text.js";
|
|
57
|
-
import { a as Toasty, i as ToastProvider, o as createKumoToastManager, s as useKumoToastManager, t as Toast } from "./index
|
|
58
|
-
import { a as ToolbarInputGroupProps, c as ToolbarProps, i as ToolbarButtonProps, l as ToolbarSize, n as KUMO_TOOLBAR_VARIANTS, o as ToolbarInputProps, r as Toolbar, s as ToolbarLinkProps, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./index
|
|
57
|
+
import { a as Toasty, i as ToastProvider, o as createKumoToastManager, s as useKumoToastManager, t as Toast } from "./index--HBggSGH.js";
|
|
58
|
+
import { a as ToolbarInputGroupProps, c as ToolbarProps, i as ToolbarButtonProps, l as ToolbarSize, n as KUMO_TOOLBAR_VARIANTS, o as ToolbarInputProps, r as Toolbar, s as ToolbarLinkProps, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./index-BfoZI9Hf.js";
|
|
59
59
|
import "./components/tooltip.js";
|
|
60
60
|
import { a as cn, i as KumoTranslationsPartial, n as KumoLocaleProviderProps, o as safeRandomId, r as KumoTranslations, t as KumoLocaleProvider } from "./locale-provider-CAjVN3_0.js";
|
|
61
61
|
//#region src/blocks/delete-resource/delete-resource.d.ts
|
package/dist/index.js
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as cn } from "./chunks/vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { t as safeRandomId } from "./chunks/utils-o44zfmzz9z7uyj1v.js";
|
|
4
|
-
import { t as Badge } from "./chunks/badge-
|
|
4
|
+
import { t as Badge } from "./chunks/badge-f27mwe9gasi4inb6.js";
|
|
5
5
|
import { n as useLinkComponent, t as LinkProvider } from "./chunks/link-provider-kbwllpbo24fvgioj.js";
|
|
6
6
|
import { i as linkVariants, n as KUMO_LINK_VARIANTS, r as Link, t as KUMO_LINK_DEFAULT_VARIANTS } from "./chunks/link-h84bkh8eem39p529.js";
|
|
7
7
|
import { t as Loader } from "./chunks/loader-kv5nk8j8tsuesxqo.js";
|
|
8
8
|
import { t as KumoPortalProvider } from "./chunks/portal-provider-eveknxf26oudn7pp.js";
|
|
9
|
-
import { n as TooltipProvider, t as Tooltip } from "./chunks/tooltip-
|
|
10
|
-
import { i as buttonVariants, n as LinkButton, r as RefreshButton, t as Button } from "./chunks/button-
|
|
11
|
-
import { n as BannerVariant, t as Banner } from "./chunks/banner-
|
|
12
|
-
import { t as DateRangePicker } from "./chunks/date-range-picker-
|
|
9
|
+
import { n as TooltipProvider, t as Tooltip } from "./chunks/tooltip-bcymn9bfyz29fvji.js";
|
|
10
|
+
import { i as buttonVariants, n as LinkButton, r as RefreshButton, t as Button } from "./chunks/button-cyea767mx5dwgavm.js";
|
|
11
|
+
import { n as BannerVariant, t as Banner } from "./chunks/banner-m68xx7eqplxwi73f.js";
|
|
12
|
+
import { t as DateRangePicker } from "./chunks/date-range-picker-oivlshld01jbel29.js";
|
|
13
13
|
import { t as KumoLocaleProvider } from "./chunks/locale-provider-e3310bgo4lnffqkd.js";
|
|
14
|
-
import { a as labelVariants, i as labelContentVariants, n as KUMO_LABEL_VARIANTS, r as Label, t as KUMO_LABEL_DEFAULT_VARIANTS } from "./chunks/label-
|
|
15
|
-
import { t as Checkbox } from "./chunks/checkbox-
|
|
14
|
+
import { a as labelVariants, i as labelContentVariants, n as KUMO_LABEL_VARIANTS, r as Label, t as KUMO_LABEL_DEFAULT_VARIANTS } from "./chunks/label-cecukn2rbow4ghxg.js";
|
|
15
|
+
import { t as Checkbox } from "./chunks/checkbox-bcpt8k7ck95vgjc1.js";
|
|
16
16
|
import { t as index_parts_exports } from "./chunks/index.parts-db9pzsm9rrs9tp0t.js";
|
|
17
|
-
import { i as fieldVariants, n as KUMO_FIELD_DEFAULT_VARIANTS, r as KUMO_FIELD_VARIANTS, t as Field } from "./chunks/field-
|
|
18
|
-
import { r as inputVariants, t as Input } from "./chunks/input-
|
|
19
|
-
import { n as Textarea, t as InputArea } from "./chunks/input-
|
|
20
|
-
import { t as InputGroup } from "./chunks/input-group-
|
|
21
|
-
import { t as ClipboardText } from "./chunks/clipboard-text-
|
|
17
|
+
import { i as fieldVariants, n as KUMO_FIELD_DEFAULT_VARIANTS, r as KUMO_FIELD_VARIANTS, t as Field } from "./chunks/field-crf1hw5exr2oxemk.js";
|
|
18
|
+
import { r as inputVariants, t as Input } from "./chunks/input-d1230n06m5b1p3rd.js";
|
|
19
|
+
import { n as Textarea, t as InputArea } from "./chunks/input-m6nvwwnydvbdz8rf.js";
|
|
20
|
+
import { t as InputGroup } from "./chunks/input-group-gg4aurpe2s60van9.js";
|
|
21
|
+
import { t as ClipboardText } from "./chunks/clipboard-text-k9ae6rsreg9ol6y2.js";
|
|
22
22
|
import { t as Text } from "./chunks/text-me99rjbjkaff98gp.js";
|
|
23
|
-
import { i as KUMO_INLINE_COPY_TEXT_VARIANTS, n as KUMO_INLINE_COPY_TEXT_DEFAULT_VARIANTS, r as KUMO_INLINE_COPY_TEXT_STYLING, t as InlineCopyText } from "./chunks/inline-copy-text-
|
|
23
|
+
import { i as KUMO_INLINE_COPY_TEXT_VARIANTS, n as KUMO_INLINE_COPY_TEXT_DEFAULT_VARIANTS, r as KUMO_INLINE_COPY_TEXT_STYLING, t as InlineCopyText } from "./chunks/inline-copy-text-c6wa49ys72pj7k53.js";
|
|
24
24
|
import { n as CodeBlock, t as Code } from "./chunks/code-nj2nu6qzxhz6qnkk.js";
|
|
25
|
-
import { t as Combobox } from "./chunks/combobox-
|
|
26
|
-
import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./chunks/toolbar-
|
|
25
|
+
import { t as Combobox } from "./chunks/combobox-iuuzrkczst4nmoyh.js";
|
|
26
|
+
import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./chunks/toolbar-bx2w3vk2if6mp36l.js";
|
|
27
27
|
import { t as LayerCard } from "./chunks/layer-card-mar4dya5kl1vvie6.js";
|
|
28
|
-
import { a as DialogTitle, i as DialogRoot, n as DialogClose, o as DialogTrigger, r as DialogDescription, t as Dialog } from "./chunks/dialog-
|
|
29
|
-
import { t as DropdownMenu } from "./chunks/dropdown-
|
|
28
|
+
import { a as DialogTitle, i as DialogRoot, n as DialogClose, o as DialogTrigger, r as DialogDescription, t as Dialog } from "./chunks/dialog-h3zgi4kmimpesv5j.js";
|
|
29
|
+
import { t as DropdownMenu } from "./chunks/dropdown-m5a8nwer5hpvnkfk.js";
|
|
30
30
|
import "./components/dropdown.js";
|
|
31
31
|
import { t as Collapsible } from "./chunks/collapsible-ic6813hc4yv5s5hv.js";
|
|
32
32
|
import "./components/field.js";
|
|
33
33
|
import { t as useCopyFeedback } from "./chunks/use-copy-feedback-gl55ghst0csvpv4j.js";
|
|
34
|
-
import { t as SkeletonLine } from "./chunks/skeleton-line-
|
|
35
|
-
import { n as useMenuNavigation, t as MenuBar } from "./chunks/menubar-
|
|
34
|
+
import { t as SkeletonLine } from "./chunks/skeleton-line-kmhnp0lx3rxhioxa.js";
|
|
35
|
+
import { n as useMenuNavigation, t as MenuBar } from "./chunks/menubar-gzlyhmmc4i24prn1.js";
|
|
36
36
|
import { t as Meter } from "./chunks/meter-poh8jpe0qtq6mvee.js";
|
|
37
|
-
import { t as Select } from "./chunks/select-
|
|
38
|
-
import { t as Pagination } from "./chunks/pagination-
|
|
37
|
+
import { t as Select } from "./chunks/select-ha59x0uq5ocr1x36.js";
|
|
38
|
+
import { t as Pagination } from "./chunks/pagination-fkjx0m380ku9zqv9.js";
|
|
39
39
|
import { t as Surface } from "./chunks/surface-ginwpan1pz61l6k2.js";
|
|
40
|
-
import { r as Switch } from "./chunks/switch-
|
|
41
|
-
import { t as Tabs } from "./chunks/tabs-
|
|
42
|
-
import { r as Table } from "./chunks/table-
|
|
43
|
-
import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "./chunks/toast-
|
|
40
|
+
import { r as Switch } from "./chunks/switch-hqj8v7ll9g14p5my.js";
|
|
41
|
+
import { t as Tabs } from "./chunks/tabs-oi64kuuf2poro26u.js";
|
|
42
|
+
import { r as Table } from "./chunks/table-b491wlpxd8jbr9b5.js";
|
|
43
|
+
import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "./chunks/toast-cmj0e7xvoh9gxxao.js";
|
|
44
44
|
import { n as KUMO_POPOVER_VARIANTS, r as Popover, t as KUMO_POPOVER_DEFAULT_VARIANTS } from "./chunks/popover-nqrt3ykqv6sic8pz.js";
|
|
45
|
-
import { n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "./chunks/sensitive-input-
|
|
46
|
-
import { a as radioVariants, i as RadioGroup, n as KUMO_RADIO_VARIANTS, r as Radio, t as KUMO_RADIO_DEFAULT_VARIANTS } from "./chunks/radio-
|
|
45
|
+
import { n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "./chunks/sensitive-input-hg58r9x2d9njtysl.js";
|
|
46
|
+
import { a as radioVariants, i as RadioGroup, n as KUMO_RADIO_VARIANTS, r as Radio, t as KUMO_RADIO_DEFAULT_VARIANTS } from "./chunks/radio-co7gt6ihfp5w4jr0.js";
|
|
47
47
|
import { n as KUMO_COMMAND_PALETTE_DEFAULT_VARIANTS, r as KUMO_COMMAND_PALETTE_VARIANTS, t as CommandPalette } from "./chunks/command-palette-el4x943vpmid0po0.js";
|
|
48
48
|
import "./components/link.js";
|
|
49
|
-
import { t as Breadcrumb } from "./chunks/breadcrumbs-
|
|
50
|
-
import { t as Empty } from "./chunks/empty-
|
|
49
|
+
import { t as Breadcrumb } from "./chunks/breadcrumbs-2ra74bio44h1fvuj.js";
|
|
50
|
+
import { t as Empty } from "./chunks/empty-ghcpxo6x75jg7mw9.js";
|
|
51
51
|
import { a as gridItemVariants, i as KUMO_GRID_VARIANTS, n as GridItem, o as gridVariants, r as KUMO_GRID_DEFAULT_VARIANTS, t as Grid } from "./chunks/grid-nwiczrab3r4w0zr2.js";
|
|
52
52
|
import { a as generateCloudflareLogoSvg, i as PoweredByCloudflare, n as KUMO_CLOUDFLARE_LOGO_DEFAULT_VARIANTS, r as KUMO_CLOUDFLARE_LOGO_VARIANTS, t as CloudflareLogo } from "./chunks/cloudflare-logo-d8mid9xr190h78cu.js";
|
|
53
|
-
import { t as DatePicker } from "./chunks/date-picker-
|
|
53
|
+
import { t as DatePicker } from "./chunks/date-picker-o6iov1n67oc4rbom.js";
|
|
54
54
|
import { t as Flow } from "./chunks/flow-imvwzp5p2f8y2dxm.js";
|
|
55
|
-
import { a as ChartLegend, c as ChartPalette, i as SankeyChart, n as BubbleMap, o as TimeseriesChart, r as ChoroplethMap, s as Chart, t as GlobeMap } from "./chunks/chart-
|
|
56
|
-
import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "./chunks/autocomplete-
|
|
57
|
-
import { A as useSidebar, C as SidebarRail, D as SidebarSlidingView, E as SidebarSeparator, O as SidebarSlidingViews, S as SidebarProvider, T as SidebarRoot, _ as SidebarMenuChevron, a as SidebarCollapsible, b as SidebarMenuSubButton, c as SidebarContent, d as SidebarGroupLabel, f as SidebarHeader, g as SidebarMenuButton, h as SidebarMenuBadge, i as Sidebar, k as SidebarTrigger, l as SidebarFooter, m as SidebarMenu, n as KUMO_SIDEBAR_STYLING, o as SidebarCollapsibleContent, p as SidebarLoading, r as KUMO_SIDEBAR_VARIANTS, s as SidebarCollapsibleTrigger, t as KUMO_SIDEBAR_DEFAULT_VARIANTS, u as SidebarGroup, v as SidebarMenuItem, w as SidebarResizeHandle, x as SidebarMenuSubItem, y as SidebarMenuSub } from "./chunks/sidebar-
|
|
55
|
+
import { a as ChartLegend, c as ChartPalette, i as SankeyChart, n as BubbleMap, o as TimeseriesChart, r as ChoroplethMap, s as Chart, t as GlobeMap } from "./chunks/chart-g4dnsqiamjh39chn.js";
|
|
56
|
+
import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "./chunks/autocomplete-ngrji5wk0xdpq2qc.js";
|
|
57
|
+
import { A as useSidebar, C as SidebarRail, D as SidebarSlidingView, E as SidebarSeparator, O as SidebarSlidingViews, S as SidebarProvider, T as SidebarRoot, _ as SidebarMenuChevron, a as SidebarCollapsible, b as SidebarMenuSubButton, c as SidebarContent, d as SidebarGroupLabel, f as SidebarHeader, g as SidebarMenuButton, h as SidebarMenuBadge, i as Sidebar, k as SidebarTrigger, l as SidebarFooter, m as SidebarMenu, n as KUMO_SIDEBAR_STYLING, o as SidebarCollapsibleContent, p as SidebarLoading, r as KUMO_SIDEBAR_VARIANTS, s as SidebarCollapsibleTrigger, t as KUMO_SIDEBAR_DEFAULT_VARIANTS, u as SidebarGroup, v as SidebarMenuItem, w as SidebarResizeHandle, x as SidebarMenuSubItem, y as SidebarMenuSub } from "./chunks/sidebar-dgyce0z35tpnxj8t.js";
|
|
58
58
|
import { i as TableOfContents, n as KUMO_TABLE_OF_CONTENTS_DEFAULT_VARIANTS, r as KUMO_TABLE_OF_CONTENTS_VARIANTS, t as useTableOfContentsActiveId } from "./chunks/table-of-contents-gkjv9ck8etbz64ej.js";
|
|
59
59
|
import { i as KUMO_BUTTON_GROUP_VARIANTS, n as KUMO_BUTTON_GROUP_DEFAULT_VARIANTS, r as KUMO_BUTTON_GROUP_STYLING, t as ButtonGroup } from "./chunks/button-group-biv43ksvaipc3p5n.js";
|
|
60
60
|
import "./components/button-group.js";
|
|
61
|
-
import { t as TagInput } from "./chunks/tag-input-
|
|
62
|
-
import { t as LayerDialog } from "./chunks/layer-dialog-
|
|
63
|
-
import { i as sliderVariants, n as KUMO_SLIDER_VARIANTS, r as Slider, t as KUMO_SLIDER_DEFAULT_VARIANTS } from "./chunks/slider-
|
|
61
|
+
import { t as TagInput } from "./chunks/tag-input-0ombmb7yrn4xk3in.js";
|
|
62
|
+
import { t as LayerDialog } from "./chunks/layer-dialog-eeecim8yf0dzhs2m.js";
|
|
63
|
+
import { i as sliderVariants, n as KUMO_SLIDER_VARIANTS, r as Slider, t as KUMO_SLIDER_DEFAULT_VARIANTS } from "./chunks/slider-e395gihi5cjd62ss.js";
|
|
64
64
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
65
65
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
66
66
|
import { CheckIcon, CopyIcon, WarningCircleIcon, XIcon } from "@phosphor-icons/react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as FieldProps } from "./field-DIjlHM8W.js";
|
|
2
|
-
import { n as ButtonProps } from "./button-
|
|
2
|
+
import { n as ButtonProps } from "./button-DBuj7_fo.js";
|
|
3
3
|
import { n as InputProps, r as KumoInputSize } from "./input-BeWEb-jD.js";
|
|
4
4
|
import { t as KumoTooltipSide } from "./tooltip-D_vhi1PN.js";
|
|
5
5
|
import React, { HTMLAttributes, PropsWithChildren, ReactNode } from "react";
|
|
@@ -168,11 +168,38 @@
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
+
/* Identical to toast-bump: switching names lets repeated bumps replay */
|
|
172
|
+
@keyframes toast-bump-alternate {
|
|
173
|
+
0% {
|
|
174
|
+
transform: scale(1);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
20% {
|
|
178
|
+
transform: scale(1.02);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
100% {
|
|
182
|
+
transform: scale(1);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
171
186
|
.animate-toast-bump {
|
|
172
187
|
animation: toast-bump 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
173
188
|
transform-origin: center;
|
|
174
189
|
}
|
|
175
190
|
|
|
191
|
+
.animate-toast-bump-alternate {
|
|
192
|
+
animation: toast-bump-alternate 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
193
|
+
transform-origin: center;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@media (prefers-reduced-motion: reduce) {
|
|
197
|
+
.animate-toast-bump,
|
|
198
|
+
.animate-toast-bump-alternate {
|
|
199
|
+
animation: none;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
176
203
|
/* Subtle bump for small anchored clipboard "Copied" toasts */
|
|
177
204
|
@keyframes clipboard-toast-bump {
|
|
178
205
|
0% {
|
|
@@ -326,3 +353,135 @@
|
|
|
326
353
|
.kumo-input-placeholder::placeholder {
|
|
327
354
|
color: var(--text-color-kumo-placeholder);
|
|
328
355
|
}
|
|
356
|
+
|
|
357
|
+
/* DatePicker month-change animations (react-day-picker). Layout, colors and
|
|
358
|
+
states live in date-picker.tsx as Kumo token classes. */
|
|
359
|
+
|
|
360
|
+
.rdp-root {
|
|
361
|
+
--rdp-animation_duration: 0.2s;
|
|
362
|
+
--rdp-animation_timing: ease-out;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/* ANIMATIONS */
|
|
366
|
+
|
|
367
|
+
@keyframes rdp-slide_in_left {
|
|
368
|
+
from {
|
|
369
|
+
transform: translateX(-100%);
|
|
370
|
+
}
|
|
371
|
+
to {
|
|
372
|
+
transform: translateX(0);
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
@keyframes rdp-slide_in_right {
|
|
377
|
+
from {
|
|
378
|
+
transform: translateX(100%);
|
|
379
|
+
}
|
|
380
|
+
to {
|
|
381
|
+
transform: translateX(0);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
@keyframes rdp-slide_out_left {
|
|
386
|
+
from {
|
|
387
|
+
transform: translateX(0);
|
|
388
|
+
}
|
|
389
|
+
to {
|
|
390
|
+
transform: translateX(-100%);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
@keyframes rdp-slide_out_right {
|
|
395
|
+
from {
|
|
396
|
+
transform: translateX(0);
|
|
397
|
+
}
|
|
398
|
+
to {
|
|
399
|
+
transform: translateX(100%);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.rdp-weeks_before_enter {
|
|
404
|
+
animation: rdp-slide_in_left var(--rdp-animation_duration)
|
|
405
|
+
var(--rdp-animation_timing) forwards;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.rdp-weeks_before_exit {
|
|
409
|
+
animation: rdp-slide_out_left var(--rdp-animation_duration)
|
|
410
|
+
var(--rdp-animation_timing) forwards;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.rdp-weeks_after_enter {
|
|
414
|
+
animation: rdp-slide_in_right var(--rdp-animation_duration)
|
|
415
|
+
var(--rdp-animation_timing) forwards;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.rdp-weeks_after_exit {
|
|
419
|
+
animation: rdp-slide_out_right var(--rdp-animation_duration)
|
|
420
|
+
var(--rdp-animation_timing) forwards;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.rdp-root[dir="rtl"] .rdp-weeks_after_enter {
|
|
424
|
+
animation: rdp-slide_in_left var(--rdp-animation_duration)
|
|
425
|
+
var(--rdp-animation_timing) forwards;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.rdp-root[dir="rtl"] .rdp-weeks_before_exit {
|
|
429
|
+
animation: rdp-slide_out_right var(--rdp-animation_duration)
|
|
430
|
+
var(--rdp-animation_timing) forwards;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.rdp-root[dir="rtl"] .rdp-weeks_before_enter {
|
|
434
|
+
animation: rdp-slide_in_right var(--rdp-animation_duration)
|
|
435
|
+
var(--rdp-animation_timing) forwards;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.rdp-root[dir="rtl"] .rdp-weeks_after_exit {
|
|
439
|
+
animation: rdp-slide_out_left var(--rdp-animation_duration)
|
|
440
|
+
var(--rdp-animation_timing) forwards;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
@keyframes rdp-fade_in {
|
|
444
|
+
from {
|
|
445
|
+
opacity: 0;
|
|
446
|
+
}
|
|
447
|
+
to {
|
|
448
|
+
opacity: 1;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
@keyframes rdp-fade_out {
|
|
453
|
+
from {
|
|
454
|
+
opacity: 1;
|
|
455
|
+
}
|
|
456
|
+
to {
|
|
457
|
+
opacity: 0;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.rdp-caption_after_enter {
|
|
462
|
+
animation: rdp-fade_in var(--rdp-animation_duration)
|
|
463
|
+
var(--rdp-animation_timing) forwards;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.rdp-caption_after_exit {
|
|
467
|
+
animation: rdp-fade_out var(--rdp-animation_duration)
|
|
468
|
+
var(--rdp-animation_timing) forwards;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.rdp-caption_before_enter {
|
|
472
|
+
animation: rdp-fade_in var(--rdp-animation_duration)
|
|
473
|
+
var(--rdp-animation_timing) forwards;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.rdp-caption_before_exit {
|
|
477
|
+
animation: rdp-fade_out var(--rdp-animation_duration)
|
|
478
|
+
var(--rdp-animation_timing) forwards;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/* Shorten rather than remove the animation: react-day-picker removes the
|
|
482
|
+
outgoing month only when its animationend event fires. */
|
|
483
|
+
@media (prefers-reduced-motion: reduce) {
|
|
484
|
+
.rdp-root {
|
|
485
|
+
--rdp-animation_duration: 0.01ms;
|
|
486
|
+
}
|
|
487
|
+
}
|