@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.
Files changed (75) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/ai/component-registry.json +33 -7
  3. package/ai/component-registry.md +58 -3
  4. package/ai/schemas.ts +1 -0
  5. package/dist/.build-complete +1 -1
  6. package/dist/ai/schemas.d.ts +2 -0
  7. package/dist/ai/schemas.js +1 -0
  8. package/dist/chunks/{autocomplete-ht782okfv7nv75mq.js → autocomplete-evlm6fj7v7w0g2z2.js} +2 -2
  9. package/dist/chunks/{banner-cpla8vqjxaulggyd.js → banner-lvbgdzxq3yndkbot.js} +1 -1
  10. package/dist/chunks/{breadcrumbs-oyuqwb09l08uhok2.js → breadcrumbs-fsuyq7z6hdh1thjv.js} +1 -1
  11. package/dist/chunks/{button-oxy32x5w9x9az80g.js → button-k7axs4vu1rwx89w3.js} +1 -1
  12. package/dist/chunks/{checkbox-o9627970y7c9ciqy.js → checkbox-g8b4f2hs5vux3u26.js} +1 -1
  13. package/dist/chunks/{clipboard-text-c0ad6lzyxauxduv1.js → clipboard-text-fffd5tpa0iye6r6m.js} +17 -6
  14. package/dist/chunks/{combobox-kgf0gmniahm15n81.js → combobox-iawd8lxwd5b18fce.js} +2 -2
  15. package/dist/chunks/{date-picker-oee5ehsrepnlmltj.js → date-picker-kfoxd4u7ckg4nsez.js} +78 -6
  16. package/dist/chunks/{empty-ft85jcbs7fd5t3tn.js → empty-ir5bg5w4kkisuc1c.js} +1 -1
  17. package/dist/chunks/{field-jzzlgre0jmrr38o2.js → field-n7gmbg5xvh6oqbom.js} +7 -2
  18. package/dist/chunks/{input-jk86hoj6nqfhl5u8.js → input-f0pbcvjudf5zb8ek.js} +1 -1
  19. package/dist/chunks/{input-group-hc2qp3m6gsfomqvr.js → input-group-dqo5tcoewbdx86qx.js} +4 -4
  20. package/dist/chunks/{input-jsnp6etq7rbjjj9e.js → input-iev3wgdzhkqpae2k.js} +2 -2
  21. package/dist/chunks/{label-hugrtzreeqk5mtqu.js → label-njfcj6h9utmg2n9l.js} +2 -2
  22. package/dist/chunks/{layer-dialog-dwrrgv1wasrerow4.js → layer-dialog-n7foup6icxowm82n.js} +11 -3
  23. package/dist/chunks/{menubar-m5pqhx7lu5z7mkks.js → menubar-b454nksysu0wicbz.js} +1 -1
  24. package/dist/chunks/{pagination-nyknrk1lyexwgyrx.js → pagination-mwlpbysq4cxmvs45.js} +2 -2
  25. package/dist/chunks/{select-owq85889zm4y23ws.js → select-fae2ls189jrq902h.js} +4 -4
  26. package/dist/chunks/{sensitive-input-nzwvjuwlpb51ze04.js → sensitive-input-heb3xapwahzhpq6y.js} +2 -2
  27. package/dist/chunks/{sidebar-gluq5b5oacrdk4m4.js → sidebar-h6g412ror8p7uo0d.js} +3 -3
  28. package/dist/chunks/{switch-mqf1ulvle4nd6d2t.js → switch-ktfauhluw1yi5tkk.js} +1 -1
  29. package/dist/chunks/{table-nysse5tiwf47gg4k.js → table-lp41fsw7mqr751hn.js} +1 -1
  30. package/dist/chunks/{tag-input-fjfzlsaxmnqee7dk.js → tag-input-k6vzllby4qebmv63.js} +4 -4
  31. package/dist/chunks/{toast-b4t9rt9y1sumcmy2.js → toast-kzwscia42707sau6.js} +60 -52
  32. package/dist/chunks/{toolbar-l9laewk5jvf4u0si.js → toolbar-nnos2ouwfk7i6tpw.js} +3 -3
  33. package/dist/chunks/{tooltip-lguwh8bjhxwnjfus.js → tooltip-bcymn9bfyz29fvji.js} +2 -0
  34. package/dist/code.js +1 -1
  35. package/dist/components/autocomplete.js +1 -1
  36. package/dist/components/banner.js +1 -1
  37. package/dist/components/breadcrumbs.js +1 -1
  38. package/dist/components/button.js +1 -1
  39. package/dist/components/checkbox.js +1 -1
  40. package/dist/components/clipboard-text.d.ts +1 -1
  41. package/dist/components/clipboard-text.js +1 -1
  42. package/dist/components/combobox.js +1 -1
  43. package/dist/components/date-picker.d.ts +1 -1
  44. package/dist/components/date-picker.js +1 -1
  45. package/dist/components/empty.js +1 -1
  46. package/dist/components/field.js +1 -1
  47. package/dist/components/input-group.js +1 -1
  48. package/dist/components/input.js +3 -3
  49. package/dist/components/label.js +1 -1
  50. package/dist/components/layer-dialog.d.ts +1 -1
  51. package/dist/components/layer-dialog.js +1 -1
  52. package/dist/components/menubar.js +1 -1
  53. package/dist/components/pagination.js +1 -1
  54. package/dist/components/select.js +1 -1
  55. package/dist/components/sensitive-input.js +1 -1
  56. package/dist/components/sidebar.js +1 -1
  57. package/dist/components/switch.js +1 -1
  58. package/dist/components/table.js +1 -1
  59. package/dist/components/tag-input.js +1 -1
  60. package/dist/components/toast.js +1 -1
  61. package/dist/components/toolbar.js +1 -1
  62. package/dist/components/tooltip.js +1 -1
  63. package/dist/{index-DJIRVD5B.d.ts → index-CReGk3Dc.d.ts} +6 -0
  64. package/dist/{index-5bJAnzUo.d.ts → index-Dmbgjww7.d.ts} +1 -0
  65. package/dist/{index-DNsSKNUe.d.ts → index-bBPKMepR.d.ts} +4 -0
  66. package/dist/index.d.ts +3 -3
  67. package/dist/index.js +26 -26
  68. package/dist/styles/kumo-binding.css +159 -0
  69. package/dist/styles/kumo-standalone.css +1 -1
  70. package/dist/styles/kumo.css +0 -545
  71. package/package.json +1 -1
  72. package/scripts/format-generated.ts +12 -0
  73. package/scripts/generate-primitives.ts +16 -12
  74. package/scripts/theme-generator/index.ts +2 -2
  75. package/dist/index-DhOvcB0m.d.ts +0 -60
@@ -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-nysse5tiwf47gg4k.js";
2
+ import { n as KUMO_TABLE_VARIANTS, r as Table, t as KUMO_TABLE_DEFAULT_VARIANTS } from "../chunks/table-lp41fsw7mqr751hn.js";
3
3
  export { KUMO_TABLE_DEFAULT_VARIANTS, KUMO_TABLE_VARIANTS, Table };
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { t as TagInput } from "../chunks/tag-input-fjfzlsaxmnqee7dk.js";
2
+ import { t as TagInput } from "../chunks/tag-input-k6vzllby4qebmv63.js";
3
3
  export { TagInput };
@@ -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-b4t9rt9y1sumcmy2.js";
3
+ import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "../chunks/toast-kzwscia42707sau6.js";
4
4
  export { index_parts_exports as Toast, ToastProvider, Toasty, createKumoToastManager, useKumoToastManager };
@@ -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-l9laewk5jvf4u0si.js";
2
+ import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "../chunks/toolbar-nnos2ouwfk7i6tpw.js";
3
3
  export { KUMO_TOOLBAR_DEFAULT_VARIANTS, KUMO_TOOLBAR_VARIANTS, Toolbar };
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { n as TooltipProvider, t as Tooltip } from "../chunks/tooltip-lguwh8bjhxwnjfus.js";
2
+ import { n as TooltipProvider, t as Tooltip } from "../chunks/tooltip-bcymn9bfyz29fvji.js";
3
3
  export { Tooltip, TooltipProvider };
@@ -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
  /**
@@ -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. */
@@ -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
@@ -9,14 +9,14 @@ import { a as KUMO_BUTTON_GROUP_VARIANTS, i as KUMO_BUTTON_GROUP_STYLING, n as B
9
9
  import "./index-B-hCpI5K.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-DJIRVD5B.js";
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
17
  import { n as Combobox } from "./index-CrQi3QCY.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-DNsSKNUe.js";
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";
@@ -34,7 +34,7 @@ import { a as Textarea, i as InputAreaProps, r as InputArea } from "./index-ClS-
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-5bJAnzUo.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-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
40
  import { n as Loader, t as SkeletonLine } from "./index-BAQwS4mL.js";
package/dist/index.js CHANGED
@@ -6,24 +6,24 @@ import { n as useLinkComponent, t as LinkProvider } from "./chunks/link-provider
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-lguwh8bjhxwnjfus.js";
10
- import { i as buttonVariants, n as LinkButton, r as RefreshButton, t as Button } from "./chunks/button-oxy32x5w9x9az80g.js";
11
- import { n as BannerVariant, t as Banner } from "./chunks/banner-cpla8vqjxaulggyd.js";
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-k7axs4vu1rwx89w3.js";
11
+ import { n as BannerVariant, t as Banner } from "./chunks/banner-lvbgdzxq3yndkbot.js";
12
12
  import { t as DateRangePicker } from "./chunks/date-range-picker-hpx3cdu9ve01jx6d.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-hugrtzreeqk5mtqu.js";
15
- import { t as Checkbox } from "./chunks/checkbox-o9627970y7c9ciqy.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-njfcj6h9utmg2n9l.js";
15
+ import { t as Checkbox } from "./chunks/checkbox-g8b4f2hs5vux3u26.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-jzzlgre0jmrr38o2.js";
18
- import { r as inputVariants, t as Input } from "./chunks/input-jk86hoj6nqfhl5u8.js";
19
- import { n as Textarea, t as InputArea } from "./chunks/input-jsnp6etq7rbjjj9e.js";
20
- import { t as InputGroup } from "./chunks/input-group-hc2qp3m6gsfomqvr.js";
21
- import { t as ClipboardText } from "./chunks/clipboard-text-c0ad6lzyxauxduv1.js";
17
+ import { i as fieldVariants, n as KUMO_FIELD_DEFAULT_VARIANTS, r as KUMO_FIELD_VARIANTS, t as Field } from "./chunks/field-n7gmbg5xvh6oqbom.js";
18
+ import { r as inputVariants, t as Input } from "./chunks/input-f0pbcvjudf5zb8ek.js";
19
+ import { n as Textarea, t as InputArea } from "./chunks/input-iev3wgdzhkqpae2k.js";
20
+ import { t as InputGroup } from "./chunks/input-group-dqo5tcoewbdx86qx.js";
21
+ import { t as ClipboardText } from "./chunks/clipboard-text-fffd5tpa0iye6r6m.js";
22
22
  import { t as Text } from "./chunks/text-me99rjbjkaff98gp.js";
23
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-57r67slswfqvgbaf.js";
24
24
  import { n as CodeBlock, t as Code } from "./chunks/code-nj2nu6qzxhz6qnkk.js";
25
- import { t as Combobox } from "./chunks/combobox-kgf0gmniahm15n81.js";
26
- import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./chunks/toolbar-l9laewk5jvf4u0si.js";
25
+ import { t as Combobox } from "./chunks/combobox-iawd8lxwd5b18fce.js";
26
+ import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./chunks/toolbar-nnos2ouwfk7i6tpw.js";
27
27
  import { t as LayerCard } from "./chunks/layer-card-mar4dya5kl1vvie6.js";
28
28
  import { a as DialogTitle, i as DialogRoot, n as DialogClose, o as DialogTrigger, r as DialogDescription, t as Dialog } from "./chunks/dialog-lgrwmsumwpftp2u8.js";
29
29
  import { t as DropdownMenu } from "./chunks/dropdown-o875yxeqod7qp871.js";
@@ -32,34 +32,34 @@ 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
34
  import { t as SkeletonLine } from "./chunks/skeleton-line-gjf1fecmyy82aejz.js";
35
- import { n as useMenuNavigation, t as MenuBar } from "./chunks/menubar-m5pqhx7lu5z7mkks.js";
35
+ import { n as useMenuNavigation, t as MenuBar } from "./chunks/menubar-b454nksysu0wicbz.js";
36
36
  import { t as Meter } from "./chunks/meter-poh8jpe0qtq6mvee.js";
37
- import { t as Select } from "./chunks/select-owq85889zm4y23ws.js";
38
- import { t as Pagination } from "./chunks/pagination-nyknrk1lyexwgyrx.js";
37
+ import { t as Select } from "./chunks/select-fae2ls189jrq902h.js";
38
+ import { t as Pagination } from "./chunks/pagination-mwlpbysq4cxmvs45.js";
39
39
  import { t as Surface } from "./chunks/surface-ginwpan1pz61l6k2.js";
40
- import { r as Switch } from "./chunks/switch-mqf1ulvle4nd6d2t.js";
40
+ import { r as Switch } from "./chunks/switch-ktfauhluw1yi5tkk.js";
41
41
  import { t as Tabs } from "./chunks/tabs-mmkz7q5rofnmogwt.js";
42
- import { r as Table } from "./chunks/table-nysse5tiwf47gg4k.js";
43
- import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "./chunks/toast-b4t9rt9y1sumcmy2.js";
42
+ import { r as Table } from "./chunks/table-lp41fsw7mqr751hn.js";
43
+ import { i as useKumoToastManager, n as Toasty, r as createKumoToastManager, t as ToastProvider } from "./chunks/toast-kzwscia42707sau6.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-nzwvjuwlpb51ze04.js";
45
+ import { n as KUMO_SENSITIVE_INPUT_VARIANTS, r as SensitiveInput, t as KUMO_SENSITIVE_INPUT_DEFAULT_VARIANTS } from "./chunks/sensitive-input-heb3xapwahzhpq6y.js";
46
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-d3pkrvsldfbdefav.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-oyuqwb09l08uhok2.js";
50
- import { t as Empty } from "./chunks/empty-ft85jcbs7fd5t3tn.js";
49
+ import { t as Breadcrumb } from "./chunks/breadcrumbs-fsuyq7z6hdh1thjv.js";
50
+ import { t as Empty } from "./chunks/empty-ir5bg5w4kkisuc1c.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-oee5ehsrepnlmltj.js";
53
+ import { t as DatePicker } from "./chunks/date-picker-kfoxd4u7ckg4nsez.js";
54
54
  import { t as Flow } from "./chunks/flow-imvwzp5p2f8y2dxm.js";
55
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-hp3vqwe49tbyywqm.js";
56
- import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "./chunks/autocomplete-ht782okfv7nv75mq.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-gluq5b5oacrdk4m4.js";
56
+ import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "./chunks/autocomplete-evlm6fj7v7w0g2z2.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-h6g412ror8p7uo0d.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-fjfzlsaxmnqee7dk.js";
62
- import { t as LayerDialog } from "./chunks/layer-dialog-dwrrgv1wasrerow4.js";
61
+ import { t as TagInput } from "./chunks/tag-input-k6vzllby4qebmv63.js";
62
+ import { t as LayerDialog } from "./chunks/layer-dialog-n7foup6icxowm82n.js";
63
63
  import { i as sliderVariants, n as KUMO_SLIDER_VARIANTS, r as Slider, t as KUMO_SLIDER_DEFAULT_VARIANTS } from "./chunks/slider-juwif2d8xa5n0429.js";
64
64
  import { useCallback, useEffect, useRef, useState } from "react";
65
65
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -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
+ }