@fldr/ui 0.3.3 → 0.3.4

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.
@@ -1 +1 @@
1
- 1795498499503
1
+ 1795498758989
@@ -224,8 +224,8 @@ export declare const ButtonPropsSchema: z.ZodObject<{
224
224
  }>>;
225
225
  size: z.ZodOptional<z.ZodEnum<{
226
226
  base: "base";
227
- xs: "xs";
228
227
  sm: "sm";
228
+ xs: "xs";
229
229
  lg: "lg";
230
230
  }>>;
231
231
  variant: z.ZodOptional<z.ZodEnum<{
@@ -675,8 +675,8 @@ export declare const CollapsiblePropsSchema: z.ZodObject<{
675
675
  export declare const ComboboxPropsSchema: z.ZodObject<{
676
676
  size: z.ZodOptional<z.ZodEnum<{
677
677
  base: "base";
678
- xs: "xs";
679
678
  sm: "sm";
679
+ xs: "xs";
680
680
  lg: "lg";
681
681
  }>>;
682
682
  inputSide: z.ZodOptional<z.ZodEnum<{
@@ -888,8 +888,8 @@ export declare const InputPropsSchema: z.ZodObject<{
888
888
  passwordManagerIgnore: z.ZodOptional<z.ZodBoolean>;
889
889
  size: z.ZodOptional<z.ZodEnum<{
890
890
  base: "base";
891
- xs: "xs";
892
891
  sm: "sm";
892
+ xs: "xs";
893
893
  lg: "lg";
894
894
  }>>;
895
895
  variant: z.ZodOptional<z.ZodEnum<{
@@ -900,8 +900,8 @@ export declare const InputPropsSchema: z.ZodObject<{
900
900
  export declare const InputAreaPropsSchema: z.ZodObject<{
901
901
  size: z.ZodOptional<z.ZodEnum<{
902
902
  base: "base";
903
- xs: "xs";
904
903
  sm: "sm";
904
+ xs: "xs";
905
905
  lg: "lg";
906
906
  }>>;
907
907
  variant: z.ZodOptional<z.ZodEnum<{
@@ -944,8 +944,8 @@ export declare const InputGroupPropsSchema: z.ZodObject<{
944
944
  title: z.ZodOptional<z.ZodString>;
945
945
  size: z.ZodOptional<z.ZodEnum<{
946
946
  base: "base";
947
- xs: "xs";
948
947
  sm: "sm";
948
+ xs: "xs";
949
949
  lg: "lg";
950
950
  }>>;
951
951
  disabled: z.ZodOptional<z.ZodBoolean>;
@@ -1145,8 +1145,8 @@ export declare const SelectPropsSchema: z.ZodObject<{
1145
1145
  }, z.core.$strip>]>]>>;
1146
1146
  size: z.ZodOptional<z.ZodEnum<{
1147
1147
  base: "base";
1148
- xs: "xs";
1149
1148
  sm: "sm";
1149
+ xs: "xs";
1150
1150
  lg: "lg";
1151
1151
  }>>;
1152
1152
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
@@ -1196,8 +1196,8 @@ export declare const SensitiveInputPropsSchema: z.ZodObject<{
1196
1196
  value: z.ZodOptional<z.ZodString>;
1197
1197
  size: z.ZodOptional<z.ZodEnum<{
1198
1198
  base: "base";
1199
- xs: "xs";
1200
1199
  sm: "sm";
1200
+ xs: "xs";
1201
1201
  lg: "lg";
1202
1202
  }>>;
1203
1203
  variant: z.ZodOptional<z.ZodEnum<{
@@ -1410,8 +1410,8 @@ export declare const TextPropsSchema: z.ZodObject<{
1410
1410
  }>>;
1411
1411
  size: z.ZodOptional<z.ZodEnum<{
1412
1412
  base: "base";
1413
- xs: "xs";
1414
1413
  sm: "sm";
1414
+ xs: "xs";
1415
1415
  lg: "lg";
1416
1416
  }>>;
1417
1417
  bold: z.ZodOptional<z.ZodBoolean>;
@@ -1502,8 +1502,8 @@ export declare const ToolbarPropsSchema: z.ZodObject<{
1502
1502
  }, z.core.$strip>]>]>>;
1503
1503
  size: z.ZodOptional<z.ZodEnum<{
1504
1504
  base: "base";
1505
- xs: "xs";
1506
1505
  sm: "sm";
1506
+ xs: "xs";
1507
1507
  lg: "lg";
1508
1508
  }>>;
1509
1509
  }, z.core.$strip>;
@@ -1712,8 +1712,8 @@ export declare const ComponentPropsSchemas: {
1712
1712
  }>>;
1713
1713
  size: z.ZodOptional<z.ZodEnum<{
1714
1714
  base: "base";
1715
- xs: "xs";
1716
1715
  sm: "sm";
1716
+ xs: "xs";
1717
1717
  lg: "lg";
1718
1718
  }>>;
1719
1719
  variant: z.ZodOptional<z.ZodEnum<{
@@ -2163,8 +2163,8 @@ export declare const ComponentPropsSchemas: {
2163
2163
  readonly Combobox: z.ZodObject<{
2164
2164
  size: z.ZodOptional<z.ZodEnum<{
2165
2165
  base: "base";
2166
- xs: "xs";
2167
2166
  sm: "sm";
2167
+ xs: "xs";
2168
2168
  lg: "lg";
2169
2169
  }>>;
2170
2170
  inputSide: z.ZodOptional<z.ZodEnum<{
@@ -2376,8 +2376,8 @@ export declare const ComponentPropsSchemas: {
2376
2376
  passwordManagerIgnore: z.ZodOptional<z.ZodBoolean>;
2377
2377
  size: z.ZodOptional<z.ZodEnum<{
2378
2378
  base: "base";
2379
- xs: "xs";
2380
2379
  sm: "sm";
2380
+ xs: "xs";
2381
2381
  lg: "lg";
2382
2382
  }>>;
2383
2383
  variant: z.ZodOptional<z.ZodEnum<{
@@ -2388,8 +2388,8 @@ export declare const ComponentPropsSchemas: {
2388
2388
  readonly InputArea: z.ZodObject<{
2389
2389
  size: z.ZodOptional<z.ZodEnum<{
2390
2390
  base: "base";
2391
- xs: "xs";
2392
2391
  sm: "sm";
2392
+ xs: "xs";
2393
2393
  lg: "lg";
2394
2394
  }>>;
2395
2395
  variant: z.ZodOptional<z.ZodEnum<{
@@ -2432,8 +2432,8 @@ export declare const ComponentPropsSchemas: {
2432
2432
  title: z.ZodOptional<z.ZodString>;
2433
2433
  size: z.ZodOptional<z.ZodEnum<{
2434
2434
  base: "base";
2435
- xs: "xs";
2436
2435
  sm: "sm";
2436
+ xs: "xs";
2437
2437
  lg: "lg";
2438
2438
  }>>;
2439
2439
  disabled: z.ZodOptional<z.ZodBoolean>;
@@ -2633,8 +2633,8 @@ export declare const ComponentPropsSchemas: {
2633
2633
  }, z.core.$strip>]>]>>;
2634
2634
  size: z.ZodOptional<z.ZodEnum<{
2635
2635
  base: "base";
2636
- xs: "xs";
2637
2636
  sm: "sm";
2637
+ xs: "xs";
2638
2638
  lg: "lg";
2639
2639
  }>>;
2640
2640
  label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodObject<{
@@ -2684,8 +2684,8 @@ export declare const ComponentPropsSchemas: {
2684
2684
  value: z.ZodOptional<z.ZodString>;
2685
2685
  size: z.ZodOptional<z.ZodEnum<{
2686
2686
  base: "base";
2687
- xs: "xs";
2688
2687
  sm: "sm";
2688
+ xs: "xs";
2689
2689
  lg: "lg";
2690
2690
  }>>;
2691
2691
  variant: z.ZodOptional<z.ZodEnum<{
@@ -2898,8 +2898,8 @@ export declare const ComponentPropsSchemas: {
2898
2898
  }>>;
2899
2899
  size: z.ZodOptional<z.ZodEnum<{
2900
2900
  base: "base";
2901
- xs: "xs";
2902
2901
  sm: "sm";
2902
+ xs: "xs";
2903
2903
  lg: "lg";
2904
2904
  }>>;
2905
2905
  bold: z.ZodOptional<z.ZodBoolean>;
@@ -2990,8 +2990,8 @@ export declare const ComponentPropsSchemas: {
2990
2990
  }, z.core.$strip>]>]>>;
2991
2991
  size: z.ZodOptional<z.ZodEnum<{
2992
2992
  base: "base";
2993
- xs: "xs";
2994
2993
  sm: "sm";
2994
+ xs: "xs";
2995
2995
  lg: "lg";
2996
2996
  }>>;
2997
2997
  }, z.core.$strip>;
@@ -75,7 +75,7 @@ function Item({ children, className, ...props }) {
75
75
  "data-kumo-component": "Autocomplete",
76
76
  "data-kumo-part": "item",
77
77
  ...props,
78
- className: cn("group mx-1.5 grid cursor-pointer grid-cols-[1fr_16px] gap-2 rounded px-2 py-1.5 text-base", "data-highlighted:bg-kumo-tint data-selected:font-medium", className),
78
+ className: cn("group grid cursor-pointer grid-cols-[1fr_16px] gap-2 px-3 py-1.5 text-base", "data-highlighted:bg-kumo-tint data-selected:font-medium", className),
79
79
  children: [/* @__PURE__ */ jsx("div", {
80
80
  className: "col-start-1",
81
81
  children
@@ -88,7 +88,7 @@ function Item({ children, className, ...props }) {
88
88
  function GroupLabel(props) {
89
89
  return /* @__PURE__ */ jsx(ComboboxGroupLabel, {
90
90
  ...props,
91
- className: cn("mx-1.5 px-2 py-1.5 text-sm text-kumo-strong", props.className)
91
+ className: cn("px-3 py-1.5 text-sm text-kumo-strong", props.className)
92
92
  });
93
93
  }
94
94
  function Group(props) {
@@ -40,7 +40,9 @@ function Root({ label, required, labelTooltip, description, error, children, siz
40
40
  });
41
41
  return comboboxControl;
42
42
  }
43
- function Content({ children, className, align = "start", sideOffset = 4, alignOffset, side, anchor, positionMethod, collisionAvoidance, collisionBoundary, collisionPadding, sticky, disableAnchorTracking, container: containerProp }) {
43
+ /** Square the trigger's corners on the side where the open popup attaches. */
44
+ const attachedTriggerClasses = "data-popup-open:data-[popup-side=bottom]:rounded-b-none data-popup-open:data-[popup-side=top]:rounded-t-none";
45
+ function Content({ children, className, align = "start", sideOffset = 1, alignOffset, side, anchor, positionMethod, collisionAvoidance, collisionBoundary, collisionPadding, sticky, disableAnchorTracking, container: containerProp }) {
44
46
  const contextContainer = usePortalContainer();
45
47
  return /* @__PURE__ */ jsx(ComboboxPortal, {
46
48
  container: containerProp ?? contextContainer ?? void 0,
@@ -58,7 +60,7 @@ function Content({ children, className, align = "start", sideOffset = 4, alignOf
58
60
  sticky,
59
61
  disableAnchorTracking,
60
62
  children: /* @__PURE__ */ jsx(ComboboxPopup, {
61
- className: cn("flex flex-col", "max-h-[min(var(--available-height),24rem)] max-w-(--available-width) min-w-(--anchor-width) py-1.5", "bg-kumo-base text-kumo-default", "rounded-lg shadow-lg ring ring-kumo-line", className),
63
+ className: cn("flex flex-col", "max-h-[min(var(--available-height),24rem)] max-w-(--available-width) min-w-(--anchor-width) py-1.5", "bg-kumo-base text-kumo-default", "rounded-lg shadow-lg ring ring-kumo-line", "data-[side=bottom]:rounded-t-none data-[side=top]:rounded-b-none", className),
62
64
  children
63
65
  })
64
66
  })
@@ -104,7 +106,7 @@ function TriggerValue({ className, children, placeholder, ...triggerProps }) {
104
106
  className: cn(inputVariants({
105
107
  size,
106
108
  variant: hasError ? "error" : "default"
107
- }), "relative flex items-center", "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50", "data-[placeholder]:text-kumo-placeholder", iconStyles.padding, className),
109
+ }), "relative flex items-center", "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50", "data-[placeholder]:text-kumo-placeholder", attachedTriggerClasses, iconStyles.padding, className),
108
110
  children: [/* @__PURE__ */ jsx(ComboboxValue, {
109
111
  placeholder,
110
112
  children
@@ -154,7 +156,7 @@ function TriggerInput({ clearLabel = "Clear selection", showOptionsLabel = "Show
154
156
  className: cn(inputVariants({
155
157
  size,
156
158
  variant: hasError ? "error" : "default"
157
- }), "w-full", iconStyles.padding, "disabled:cursor-not-allowed")
159
+ }), "w-full", attachedTriggerClasses, iconStyles.padding, "disabled:cursor-not-allowed")
158
160
  }),
159
161
  /* @__PURE__ */ jsx(ComboboxClear, {
160
162
  "data-kumo-component": "Combobox",
@@ -184,7 +186,7 @@ function Item({ children, className, ...props }) {
184
186
  "data-kumo-component": "Combobox",
185
187
  "data-kumo-part": "item",
186
188
  ...props,
187
- className: cn("group mx-1.5 grid grid-cols-[1fr_16px] gap-2 rounded px-2 py-1.5 text-base", "cursor-pointer data-highlighted:bg-kumo-tint", "data-[disabled]:cursor-not-allowed data-[disabled]:text-kumo-subtle data-[disabled]:opacity-60 data-[disabled]:data-highlighted:bg-transparent", className),
189
+ className: cn("group grid grid-cols-[1fr_16px] gap-2 px-3 py-1.5 text-base", "cursor-pointer data-highlighted:bg-kumo-tint", "data-[disabled]:cursor-not-allowed data-[disabled]:text-kumo-subtle data-[disabled]:opacity-60 data-[disabled]:data-highlighted:bg-transparent", className),
188
190
  children: [/* @__PURE__ */ jsx("div", {
189
191
  className: "col-start-1",
190
192
  children
@@ -216,7 +218,7 @@ function List({ className, ...props }) {
216
218
  function GroupLabel(props) {
217
219
  return /* @__PURE__ */ jsx(ComboboxGroupLabel, {
218
220
  ...props,
219
- className: cn("mx-1.5 px-2 py-1.5 text-sm text-kumo-subtle", props.className)
221
+ className: cn("px-3 py-1.5 text-sm text-kumo-subtle", props.className)
220
222
  });
221
223
  }
222
224
  function Group(props) {
@@ -256,7 +258,7 @@ function TriggerMultipleWithInput({ placeholder, renderItem, className, inputSid
256
258
  className: cn(inputVariants({
257
259
  size,
258
260
  variant: hasError ? "error" : "default"
259
- }), "flex flex-col", "gap-1 px-1.5 py-1", sizeToMinHeight[size], "h-auto", "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50", className),
261
+ }), "flex flex-col", "gap-1 px-1.5 py-1", sizeToMinHeight[size], "h-auto", "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50", "has-[[data-popup-open][data-popup-side=bottom]]:rounded-b-none has-[[data-popup-open][data-popup-side=top]]:rounded-t-none", className),
260
262
  children: [inputSide === "top" && renderTriggerInput("w-full border-0 bg-inherit px-2 py-1"), /* @__PURE__ */ jsxs("div", {
261
263
  className: "flex flex-1 flex-wrap items-center gap-1.5",
262
264
  children: [
@@ -48,13 +48,13 @@ const renderIconNode = (iconProp) => {
48
48
  * Insets a row without an icon when another row in the same popup has one,
49
49
  * so the text of every row lines up. Same result as the `inset` prop.
50
50
  */
51
- const autoInsetClasses = "group-has-[[data-kumo-part=icon]]/menu:not-has-[[data-kumo-part=icon]]:pl-8";
51
+ const autoInsetClasses = "group-has-[[data-kumo-part=icon]]/menu:not-has-[[data-kumo-part=icon]]:pl-9";
52
52
  /**
53
53
  * Shared layout and interaction styles for every selectable menu row
54
54
  * (Item, LinkItem, SubTrigger, CheckboxItem, RadioItem) so they highlight
55
55
  * with the same colour, radius and state.
56
56
  */
57
- const menuRowClasses = cn("relative flex cursor-default items-center gap-2 rounded-md px-2 py-1.5 text-base outline-hidden select-none", "focus:text-kumo-default", "data-highlighted:bg-kumo-tint", "data-disabled:pointer-events-none data-disabled:opacity-50", autoInsetClasses);
57
+ const menuRowClasses = cn("relative flex cursor-default items-center gap-2 px-3 py-1.5 text-base outline-hidden select-none", "focus:text-kumo-default", "data-highlighted:bg-kumo-tint", "data-disabled:pointer-events-none data-disabled:opacity-50", autoInsetClasses);
58
58
  function isBlockSide(side) {
59
59
  return side === "top" || side === "bottom";
60
60
  }
@@ -71,7 +71,7 @@ const DropdownMenuSubTrigger = React$1.forwardRef(({ className, inset, children,
71
71
  ref,
72
72
  "data-kumo-component": "DropdownMenu",
73
73
  "data-kumo-part": "submenu-trigger",
74
- className: cn(menuRowClasses, "data-popup-open:bg-kumo-tint", inset && "pl-8", className),
74
+ className: cn(menuRowClasses, "data-popup-open:bg-kumo-tint", inset && "pl-9", className),
75
75
  ...props,
76
76
  children: [
77
77
  renderIconNode(IconComponent),
@@ -121,7 +121,7 @@ const DropdownMenuPopup = React$1.forwardRef(({ className, ...props }, ref) => /
121
121
  ref,
122
122
  "data-kumo-component": "DropdownMenu",
123
123
  "data-kumo-part": "popup",
124
- className: cn("group/menu overflow-hidden bg-kumo-control text-kumo-default outline-hidden", "max-h-[var(--available-height)] overflow-y-auto", "rounded-lg shadow-lg ring ring-kumo-line", "min-w-36 p-1.5", "origin-(--transform-origin) transition-[transform,scale,opacity] duration-150 motion-reduce:transition-none", "data-starting-style:scale-95 data-starting-style:opacity-0", "data-ending-style:scale-95 data-ending-style:opacity-0", "data-instant:duration-0", className),
124
+ className: cn("group/menu overflow-hidden bg-kumo-control text-kumo-default outline-hidden", "max-h-[var(--available-height)] overflow-y-auto", "rounded-lg shadow-lg ring ring-kumo-line", "min-w-36 py-1.5", "origin-(--transform-origin) transition-[transform,scale,opacity] duration-150 motion-reduce:transition-none", "data-starting-style:scale-95 data-starting-style:opacity-0", "data-ending-style:scale-95 data-ending-style:opacity-0", "data-instant:duration-0", className),
125
125
  ...props
126
126
  }));
127
127
  DropdownMenuPopup.displayName = "DropdownMenuPopup";
@@ -215,7 +215,7 @@ const DropdownMenuItem = React$1.forwardRef(({ className, inset, icon: IconCompo
215
215
  ref,
216
216
  "data-kumo-component": "DropdownMenu",
217
217
  "data-kumo-part": "item",
218
- className: cn(menuRowClasses, inset && "pl-8", dropdownVariants({ variant }), className),
218
+ className: cn(menuRowClasses, inset && "pl-9", dropdownVariants({ variant }), className),
219
219
  render: href ? linkContent : render,
220
220
  ...props,
221
221
  children: useRenderProp ? void 0 : innerContent
@@ -251,7 +251,7 @@ const DropdownMenuLinkItem = React$1.forwardRef(({ className, inset, icon: IconC
251
251
  ref,
252
252
  "data-kumo-component": "DropdownMenu",
253
253
  "data-kumo-part": "link-item",
254
- className: cn(menuRowClasses, "text-inherit no-underline", inset && "pl-8", dropdownVariants({ variant }), className),
254
+ className: cn(menuRowClasses, "text-inherit no-underline", inset && "pl-9", dropdownVariants({ variant }), className),
255
255
  ...props,
256
256
  children: [IconComponent && renderIconNode(IconComponent), children]
257
257
  });
@@ -261,7 +261,7 @@ const DropdownMenuCheckboxItem = React$1.forwardRef(({ className, children, chec
261
261
  ref,
262
262
  "data-kumo-component": "DropdownMenu",
263
263
  "data-kumo-part": "checkbox-item",
264
- className: cn(menuRowClasses, "pl-8 transition-colors", className),
264
+ className: cn(menuRowClasses, "pl-9 transition-colors", className),
265
265
  checked,
266
266
  ...props,
267
267
  children: [/* @__PURE__ */ jsx(MenuCheckboxItemIndicator, {
@@ -275,13 +275,13 @@ const DropdownMenuCheckboxItem = React$1.forwardRef(({ className, children, chec
275
275
  DropdownMenuCheckboxItem.displayName = MenuCheckboxItem.displayName;
276
276
  const DropdownMenuLabel = React$1.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(MenuGroupLabel, {
277
277
  ref,
278
- className: cn("px-2 py-1.5 text-base font-semibold", autoInsetClasses, inset && "pl-8", className),
278
+ className: cn("px-3 py-1.5 text-base font-semibold", autoInsetClasses, inset && "pl-9", className),
279
279
  ...props
280
280
  }));
281
281
  DropdownMenuLabel.displayName = MenuGroupLabel.displayName;
282
282
  const DropdownMenuSeparator = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(Separator, {
283
283
  ref,
284
- className: cn("-mx-1 my-1 h-px bg-kumo-hairline", className),
284
+ className: cn("my-1 h-px bg-kumo-hairline", className),
285
285
  ...props
286
286
  }));
287
287
  DropdownMenuSeparator.displayName = Separator.displayName;
@@ -296,7 +296,7 @@ const DropdownMenuRadioItem = React$1.forwardRef(({ className, children, inset,
296
296
  ref,
297
297
  "data-kumo-component": "DropdownMenu",
298
298
  "data-kumo-part": "radio-item",
299
- className: cn(menuRowClasses, inset && "pl-8", className),
299
+ className: cn(menuRowClasses, inset && "pl-9", className),
300
300
  ...props,
301
301
  children: [IconComponent && renderIconNode(IconComponent), children]
302
302
  }));
@@ -7,7 +7,7 @@ import { t as Button } from "./button-hzvowfkbathmx8yg.js";
7
7
  import { n as useKumoLocale } from "./locale-provider-j4ii538ntyok36r6.js";
8
8
  import { t as Text } from "./text-nqum95flcp07ac9s.js";
9
9
  import { t as LayerCard } from "./layer-card-lsmeuqic9i1isv2b.js";
10
- import { t as DropdownMenu } from "./dropdown-fhgq30b9vhvnfs7y.js";
10
+ import { t as DropdownMenu } from "./dropdown-e5zk0ez21busnt0b.js";
11
11
  import { i as ScrollAreaViewport, n as ScrollAreaContent, r as ScrollAreaScrollbar, s as ScrollAreaRoot, t as ScrollAreaThumb } from "./ScrollAreaThumb-hxig41yn4lrurd3o.js";
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";
@@ -57,12 +57,12 @@ function useMediaQuery(query, options) {
57
57
  const KUMO_LAYER_DIALOG_VARIANTS = {
58
58
  size: {
59
59
  sm: {
60
- classes: "sm:max-w-md",
61
- description: "Compact desktop dialog width (448px)"
60
+ classes: "sm:max-w-sm",
61
+ description: "Compact desktop dialog width (384px)"
62
62
  },
63
63
  base: {
64
- classes: "sm:max-w-xl",
65
- description: "Default desktop dialog width (576px)"
64
+ classes: "sm:max-w-md",
65
+ description: "Default desktop dialog width (448px)"
66
66
  },
67
67
  lg: {
68
68
  classes: "sm:max-w-2xl",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
3
3
  import { t as InputGroup } from "./input-group-h9fepskc84e1h11n.js";
4
- import { t as Select } from "./select-ji2rbk6l2ed7ts4c.js";
4
+ import { t as Select } from "./select-h2pejw38n5z3l59r.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";
@@ -215,7 +215,7 @@ function Option({ children, value, disabled, className }) {
215
215
  "data-kumo-part": "option",
216
216
  value,
217
217
  disabled,
218
- className: cn("group mx-1.5 flex cursor-pointer items-center justify-between gap-2 rounded px-2 py-1.5 text-base outline-none focus-visible:outline-hidden", "data-highlighted:bg-kumo-tint", "data-[disabled]:pointer-events-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50", className),
218
+ className: cn("group flex cursor-pointer items-center justify-between gap-2 px-3 py-1.5 text-base outline-none focus-visible:outline-hidden", "data-highlighted:bg-kumo-tint", "data-[disabled]:pointer-events-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50", className),
219
219
  children: [/* @__PURE__ */ jsx(SelectItemText, { children }), /* @__PURE__ */ jsx(SelectItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, {}) })]
220
220
  });
221
221
  }
@@ -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-gdd9aruremdgdvx7.js";
2
+ import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "../chunks/autocomplete-nsvacdbq7uz0m71c.js";
3
3
  export { Autocomplete, KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, KUMO_AUTOCOMPLETE_VARIANTS, autocompleteVariants };
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { t as Combobox } from "../chunks/combobox-mzvobpvalz2gnpli.js";
2
+ import { t as Combobox } from "../chunks/combobox-m531jeqdbmqzt2gy.js";
3
3
  export { Combobox };
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { t as DropdownMenu } from "../chunks/dropdown-fhgq30b9vhvnfs7y.js";
2
+ import { t as DropdownMenu } from "../chunks/dropdown-e5zk0ez21busnt0b.js";
3
3
  export { DropdownMenu };
@@ -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-Dmbgjww7.js";
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-CNoz2NNg.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 { t as LayerDialog } from "../chunks/layer-dialog-i5nklzokbe9hdt84.js";
2
+ import { t as LayerDialog } from "../chunks/layer-dialog-m8qb0wzfg3k7406a.js";
3
3
  export { LayerDialog };
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { t as Pagination } from "../chunks/pagination-f51ruwvphw2urykm.js";
2
+ import { t as Pagination } from "../chunks/pagination-n96r3xdok9nc3pu5.js";
3
3
  export { Pagination };
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { t as Select } from "../chunks/select-ji2rbk6l2ed7ts4c.js";
2
+ import { t as Select } from "../chunks/select-h2pejw38n5z3l59r.js";
3
3
  export { Select };
@@ -5,12 +5,12 @@ import { Drawer } from "@base-ui/react/drawer";
5
5
  declare const KUMO_LAYER_DIALOG_VARIANTS: {
6
6
  readonly size: {
7
7
  readonly sm: {
8
- readonly classes: "sm:max-w-md";
9
- readonly description: "Compact desktop dialog width (448px)";
8
+ readonly classes: "sm:max-w-sm";
9
+ readonly description: "Compact desktop dialog width (384px)";
10
10
  };
11
11
  readonly base: {
12
- readonly classes: "sm:max-w-xl";
13
- readonly description: "Default desktop dialog width (576px)";
12
+ readonly classes: "sm:max-w-md";
13
+ readonly description: "Default desktop dialog width (448px)";
14
14
  };
15
15
  readonly lg: {
16
16
  readonly classes: "sm:max-w-2xl";
package/dist/index.d.ts CHANGED
@@ -34,7 +34,7 @@ import { a as Textarea, i as InputAreaProps, r as InputArea } from "./index-B6Wo
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-Dmbgjww7.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-CNoz2NNg.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-Dx7hOWUc.js";
package/dist/index.js CHANGED
@@ -22,11 +22,11 @@ import { t as ClipboardText } from "./chunks/clipboard-text-oukrnke1s3kebk3y.js"
22
22
  import { t as Text } from "./chunks/text-nqum95flcp07ac9s.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-izxpvnrtebcqlquf.js";
24
24
  import { n as CodeBlock, t as Code } from "./chunks/code-jtbk2mo5hmdbk8bu.js";
25
- import { t as Combobox } from "./chunks/combobox-mzvobpvalz2gnpli.js";
25
+ import { t as Combobox } from "./chunks/combobox-m531jeqdbmqzt2gy.js";
26
26
  import { n as KUMO_TOOLBAR_VARIANTS, r as Toolbar, t as KUMO_TOOLBAR_DEFAULT_VARIANTS } from "./chunks/toolbar-kh6pc12ii7b6dv1x.js";
27
27
  import { t as LayerCard } from "./chunks/layer-card-lsmeuqic9i1isv2b.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-g7wavhkdv2gplwq9.js";
29
- import { t as DropdownMenu } from "./chunks/dropdown-fhgq30b9vhvnfs7y.js";
29
+ import { t as DropdownMenu } from "./chunks/dropdown-e5zk0ez21busnt0b.js";
30
30
  import "./components/dropdown.js";
31
31
  import { t as Collapsible } from "./chunks/collapsible-ic6813hc4yv5s5hv.js";
32
32
  import "./components/field.js";
@@ -34,8 +34,8 @@ import { t as useCopyFeedback } from "./chunks/use-copy-feedback-gl55ghst0csvpv4
34
34
  import { t as SkeletonLine } from "./chunks/skeleton-line-kmhnp0lx3rxhioxa.js";
35
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-ji2rbk6l2ed7ts4c.js";
38
- import { t as Pagination } from "./chunks/pagination-f51ruwvphw2urykm.js";
37
+ import { t as Select } from "./chunks/select-h2pejw38n5z3l59r.js";
38
+ import { t as Pagination } from "./chunks/pagination-n96r3xdok9nc3pu5.js";
39
39
  import { t as Surface } from "./chunks/surface-jr8x5hy0gucjk5ig.js";
40
40
  import { r as Switch } from "./chunks/switch-nc8thi7ogd51m3gi.js";
41
41
  import { t as Tabs } from "./chunks/tabs-o59bv7348nh2gppm.js";
@@ -53,13 +53,13 @@ import { a as generateCloudflareLogoSvg, i as PoweredByCloudflare, n as KUMO_CLO
53
53
  import { t as DatePicker } from "./chunks/date-picker-ija2bz17ai6ypnao.js";
54
54
  import { t as Flow } from "./chunks/flow-fak0fyldoaozd32s.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-dgh98nbzo2sux2bs.js";
56
- import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "./chunks/autocomplete-gdd9aruremdgdvx7.js";
56
+ import { i as autocompleteVariants, n as KUMO_AUTOCOMPLETE_DEFAULT_VARIANTS, r as KUMO_AUTOCOMPLETE_VARIANTS, t as Autocomplete } from "./chunks/autocomplete-nsvacdbq7uz0m71c.js";
57
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-mhlgvpawixxoey2k.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
61
  import { t as TagInput } from "./chunks/tag-input-lbx9yzt33d4wu07o.js";
62
- import { t as LayerDialog } from "./chunks/layer-dialog-i5nklzokbe9hdt84.js";
62
+ import { t as LayerDialog } from "./chunks/layer-dialog-m8qb0wzfg3k7406a.js";
63
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";