@stll/ui 0.71.0 → 0.72.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 (65) hide show
  1. package/dist/calendar/primitives.d.ts +7 -7
  2. package/dist/components/alert-dialog.d.ts +15 -15
  3. package/dist/components/animated-preview.d.ts +9 -9
  4. package/dist/components/animated-preview.js +3 -3
  5. package/dist/components/application-rail.d.ts +8 -8
  6. package/dist/components/bidi-text.d.ts +7 -7
  7. package/dist/components/brand-icons.d.ts +5 -5
  8. package/dist/components/breadcrumb.d.ts +8 -8
  9. package/dist/components/color-picker.d.ts +4 -4
  10. package/dist/components/combobox.d.ts +23 -23
  11. package/dist/components/combobox.js +6 -6
  12. package/dist/components/command.d.ts +19 -19
  13. package/dist/components/destructive-action-confirmation.d.ts +5 -5
  14. package/dist/components/destructive-action-confirmation.js +2 -2
  15. package/dist/components/destructive-confirm-dialog.d.ts +7 -7
  16. package/dist/components/details-grid.d.ts +6 -6
  17. package/dist/components/dialog.d.ts +19 -19
  18. package/dist/components/frame.d.ts +7 -7
  19. package/dist/components/hex-color-picker.d.ts +16 -2
  20. package/dist/components/input-group.d.ts +6 -6
  21. package/dist/components/input-otp.d.ts +7 -7
  22. package/dist/components/input-otp.js +2 -2
  23. package/dist/components/input.d.ts +5 -5
  24. package/dist/components/kbd.d.ts +3 -3
  25. package/dist/components/list.d.ts +20 -20
  26. package/dist/components/menu.d.ts +20 -20
  27. package/dist/components/outline-rail.d.ts +12 -0
  28. package/dist/components/pagination.d.ts +9 -9
  29. package/dist/components/popover.d.ts +8 -8
  30. package/dist/components/preview-pane.d.ts +6 -6
  31. package/dist/components/prose.d.ts +2 -2
  32. package/dist/components/scroll-to-top.d.ts +5 -0
  33. package/dist/components/search-field.d.ts +3 -3
  34. package/dist/components/select.d.ts +9 -9
  35. package/dist/components/select.js +11 -11
  36. package/dist/components/sheet.d.ts +16 -16
  37. package/dist/components/steps.d.ts +6 -6
  38. package/dist/components/switch.d.ts +5 -5
  39. package/dist/components/switch.native.d.ts +3 -3
  40. package/dist/components/table.d.ts +16 -16
  41. package/dist/components/textarea.d.ts +3 -3
  42. package/dist/components/time-field.d.ts +3 -3
  43. package/dist/components/toast.d.ts +20 -20
  44. package/dist/components/toast.js +3 -3
  45. package/dist/components/toggle-group.d.ts +4 -4
  46. package/dist/components/toggle.d.ts +3 -3
  47. package/dist/components/tooltip-trigger-helper.d.ts +4 -4
  48. package/dist/components/truncated-text.d.ts +4 -4
  49. package/dist/components/truncated-text.js +3 -3
  50. package/dist/data-table/index.d.ts +7 -0
  51. package/dist/hooks/use-contained-handler.d.ts +2 -2
  52. package/dist/hooks/use-mobile.js +2 -2
  53. package/dist/hooks/use-viewport-width.js +2 -2
  54. package/dist/icons.d.ts +27 -0
  55. package/dist/index.d.ts +7 -0
  56. package/dist/inspector/chrome.d.ts +22 -22
  57. package/dist/inspector/index.d.ts +9 -0
  58. package/dist/kanban/grouping.d.ts +10 -0
  59. package/dist/kanban/index.d.ts +9 -0
  60. package/dist/kanban/sortable-interactions.d.ts +8 -8
  61. package/dist/kanban/sortable-interactions.js +11 -11
  62. package/dist/lib/button-disposition.d.ts +2 -2
  63. package/dist/lib/tooltip-content.d.ts +2 -2
  64. package/dist/lib/utils.d.ts +2 -2
  65. package/package.json +9 -9
@@ -1,7 +1,7 @@
1
- import * as React$1 from "react";
2
- export declare const CalendarGrid: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
3
- export declare const CalendarHeaderRow: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
4
- export declare const CalendarHeaderCell: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
5
- export declare const CalendarCell: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
6
- export declare const CalendarEntryButton: ({ className, ...props }: React$1.ComponentProps<"button">) => React$1.JSX.Element;
7
- export declare const CalendarEntrySurface: ({ className, ...props }: React$1.ComponentProps<"article">) => React$1.JSX.Element;
1
+ import * as React from "react";
2
+ export declare const CalendarGrid: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
3
+ export declare const CalendarHeaderRow: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
4
+ export declare const CalendarHeaderCell: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
5
+ export declare const CalendarCell: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
6
+ export declare const CalendarEntryButton: ({ className, ...props }: React.ComponentProps<"button">) => React.JSX.Element;
7
+ export declare const CalendarEntrySurface: ({ className, ...props }: React.ComponentProps<"article">) => React.JSX.Element;
@@ -1,30 +1,30 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  import { AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
3
3
  import { OverlayLayer } from "../lib/overlay-layer.js";
4
4
  declare const AlertDialogCreateHandle: typeof AlertDialog$1.createHandle;
5
5
  declare const AlertDialog: typeof AlertDialog$1.Root;
6
- declare const AlertDialogPortal: React$1.ForwardRefExoticComponent<Omit<import("@base-ui/react").DialogPortalProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
6
+ declare const AlertDialogPortal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").DialogPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
7
  declare function AlertDialogTrigger({ tooltip, ...props }: AlertDialog$1.Trigger.Props & {
8
- tooltip?: React$1.ReactNode;
9
- }): React$1.JSX.Element;
8
+ tooltip?: React.ReactNode;
9
+ }): React.JSX.Element;
10
10
  declare const AlertDialogBackdrop: ({ className, layer, ...props }: AlertDialog$1.Backdrop.Props & {
11
11
  layer?: OverlayLayer;
12
- }) => React$1.JSX.Element;
12
+ }) => React.JSX.Element;
13
13
  declare const AlertDialogViewport: ({ className, layer, ...props }: AlertDialog$1.Viewport.Props & {
14
14
  layer?: OverlayLayer;
15
- }) => React$1.JSX.Element;
15
+ }) => React.JSX.Element;
16
16
  declare const AlertDialogPopup: ({ className, bottomStickOnMobile, layer, ...props }: AlertDialog$1.Popup.Props & {
17
17
  bottomStickOnMobile?: boolean;
18
18
  layer?: OverlayLayer;
19
- }) => React$1.JSX.Element;
20
- declare const AlertDialogHeader: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
21
- declare const AlertDialogFooter: ({ className, variant, ...props }: React$1.ComponentProps<"div"> & {
19
+ }) => React.JSX.Element;
20
+ declare const AlertDialogHeader: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
21
+ declare const AlertDialogFooter: ({ className, variant, ...props }: React.ComponentProps<"div"> & {
22
22
  variant?: "default" | "bare";
23
- }) => React$1.JSX.Element;
24
- declare const AlertDialogPanel: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
25
- declare const AlertDialogTitle: ({ className, ...props }: AlertDialog$1.Title.Props) => React$1.JSX.Element;
26
- declare const AlertDialogDescription: ({ className, ...props }: AlertDialog$1.Description.Props) => React$1.JSX.Element;
23
+ }) => React.JSX.Element;
24
+ declare const AlertDialogPanel: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
25
+ declare const AlertDialogTitle: ({ className, ...props }: AlertDialog$1.Title.Props) => React.JSX.Element;
26
+ declare const AlertDialogDescription: ({ className, ...props }: AlertDialog$1.Description.Props) => React.JSX.Element;
27
27
  declare function AlertDialogClose({ tooltip, ...props }: AlertDialog$1.Close.Props & {
28
- tooltip?: React$1.ReactNode;
29
- }): React$1.JSX.Element;
28
+ tooltip?: React.ReactNode;
29
+ }): React.JSX.Element;
30
30
  export { AlertDialog, AlertDialogBackdrop, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogPopup, AlertDialogCreateHandle, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPanel, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertDialogViewport };
@@ -1,4 +1,4 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  /**
3
3
  * The one animation system for previews that explain a feature by playing it:
4
4
  * a frame of ordered stages that cross-fade into each other, an optional
@@ -24,7 +24,7 @@ export type AnimatedPreviewPlayback = "once" | "loop";
24
24
  export type AnimatedPreviewPace = "glance" | "read" | "beat";
25
25
  export type AnimatedPreviewStage = {
26
26
  id: string;
27
- content: React$1.ReactNode;
27
+ content: React.ReactNode;
28
28
  };
29
29
  type AnimatedPreviewProps = {
30
30
  stages: readonly [AnimatedPreviewStage, ...AnimatedPreviewStage[]];
@@ -39,8 +39,8 @@ type AnimatedPreviewProps = {
39
39
  inline?: boolean;
40
40
  className?: string;
41
41
  };
42
- export declare const AnimatedPreview: ({ stages, playback, pace, stagger, inline, className }: AnimatedPreviewProps) => React$1.JSX.Element;
43
- type AnimatedPreviewMotionProps = React$1.ComponentProps<"div"> & {
42
+ export declare const AnimatedPreview: ({ stages, playback, pace, stagger, inline, className }: AnimatedPreviewProps) => React.JSX.Element;
43
+ type AnimatedPreviewMotionProps = React.ComponentProps<"div"> & {
44
44
  pace?: AnimatedPreviewPace;
45
45
  };
46
46
  /**
@@ -49,21 +49,21 @@ type AnimatedPreviewMotionProps = React$1.ComponentProps<"div"> & {
49
49
  * The caller places the drop with `--animated-preview-carry-x` and
50
50
  * `--animated-preview-carry-y`; with reduced motion the content rests there.
51
51
  */
52
- export declare const AnimatedPreviewMotion: ({ className, pace, ...props }: AnimatedPreviewMotionProps) => React$1.JSX.Element;
52
+ export declare const AnimatedPreviewMotion: ({ className, pace, ...props }: AnimatedPreviewMotionProps) => React.JSX.Element;
53
53
  /** How long a pointer or keyboard focus rests on the trigger before the card opens. */
54
54
  export declare const ANIMATED_PREVIEW_CARD_DELAY_MS = 400;
55
- type AnimatedPreviewCardProps = React$1.PropsWithChildren<{
55
+ type AnimatedPreviewCardProps = React.PropsWithChildren<{
56
56
  /**
57
57
  * The control the card explains. It must take the props it is handed, as a
58
58
  * `Button` does: the card opens from its hover and focus events.
59
59
  */
60
- trigger: React$1.ReactElement;
60
+ trigger: React.ReactElement;
61
61
  /**
62
62
  * One line on what the control does. Shown under the preview and read as
63
63
  * the control's description, so the moving preview itself stays out of the
64
64
  * accessibility tree.
65
65
  */
66
- description: React$1.ReactNode;
66
+ description: React.ReactNode;
67
67
  className?: string;
68
68
  }>;
69
69
  /**
@@ -71,5 +71,5 @@ type AnimatedPreviewCardProps = React$1.PropsWithChildren<{
71
71
  * and traps none: the card describes the control, and the control stays the
72
72
  * thing that is used.
73
73
  */
74
- export declare const AnimatedPreviewCard: ({ trigger, description, className, children }: AnimatedPreviewCardProps) => React$1.JSX.Element;
74
+ export declare const AnimatedPreviewCard: ({ trigger, description, className, children }: AnimatedPreviewCardProps) => React.JSX.Element;
75
75
  export {};
@@ -3,13 +3,13 @@ import { usePrefersReducedMotion } from "../hooks/use-prefers-reduced-motion.js"
3
3
  import { cn } from "../lib/utils.js";
4
4
  import { HoverCard as PreviewCard, HoverCardContent as PreviewCardPopup, HoverCardTrigger as PreviewCardTrigger } from "./preview-card.js";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
- import * as React$1 from "react";
6
+ import * as React from "react";
7
7
  // src/components/animated-preview.tsx
8
8
  /** Must match the keyframes name in `animated-preview.css`. */
9
9
  const STAGE_OUT_KEYFRAMES = "animated-preview-fade-out";
10
10
  const AnimatedPreview = ({ stages, playback = "once", pace = "glance", stagger = 0, inline = false, className }) => {
11
11
  const reducedMotion = usePrefersReducedMotion();
12
- const [cycle, setCycle] = React$1.useState(0);
12
+ const [cycle, setCycle] = React.useState(0);
13
13
  const Frame = inline ? "span" : "div";
14
14
  const lastIndex = stages.length - 1;
15
15
  const finalStage = stages[lastIndex] ?? stages[0];
@@ -75,7 +75,7 @@ const ANIMATED_PREVIEW_CARD_DELAY_MS = 400;
75
75
  * thing that is used.
76
76
  */
77
77
  const AnimatedPreviewCard = ({ trigger, description, className, children }) => {
78
- const descriptionId = React$1.useId();
78
+ const descriptionId = React.useId();
79
79
  return /* @__PURE__ */ jsxs(PreviewCard, { children: [
80
80
  /* @__PURE__ */ jsx(PreviewCardTrigger, {
81
81
  "aria-describedby": descriptionId,
@@ -1,4 +1,4 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  export declare const APPLICATION_RAIL_WIDTH: "w-12";
3
3
  export declare const APPLICATION_RAIL_BUTTON_SIZE: "size-11";
4
4
  export declare const APPLICATION_RAIL_ICON_SIZE: "size-4";
@@ -8,10 +8,10 @@ export declare const APPLICATION_RAIL_ICON_SIZE: "size-4";
8
8
  * sidebar without bringing sidebar expansion or mobile-sheet state into hosts
9
9
  * that only need a fixed rail.
10
10
  */
11
- export declare const ApplicationRail: ({ className, ...props }: React$1.ComponentProps<"nav">) => React$1.JSX.Element;
12
- export declare const ApplicationRailHeader: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
13
- export declare const ApplicationRailContent: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
14
- export declare const ApplicationRailMenu: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
15
- export declare const ApplicationRailButton: ({ className, ...props }: React$1.ComponentProps<"button">) => React$1.JSX.Element;
16
- export declare const ApplicationRailSeparator: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
17
- export declare const ApplicationRailFooter: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
11
+ export declare const ApplicationRail: ({ className, ...props }: React.ComponentProps<"nav">) => React.JSX.Element;
12
+ export declare const ApplicationRailHeader: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
13
+ export declare const ApplicationRailContent: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
14
+ export declare const ApplicationRailMenu: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
15
+ export declare const ApplicationRailButton: ({ className, ...props }: React.ComponentProps<"button">) => React.JSX.Element;
16
+ export declare const ApplicationRailSeparator: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
17
+ export declare const ApplicationRailFooter: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
@@ -1,27 +1,27 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  /**
3
3
  * Isolation shields the text around a value, not the value itself: a
4
4
  * directional control inside it still reorders its letters, so stored text
5
5
  * loses those controls before it renders.
6
6
  */
7
7
  export declare const stripDirectionalControls: (text: string) => string;
8
- export declare const withoutDirectionalControls: (children: React$1.ReactNode) => React$1.ReactNode;
9
- export declare const BidiText: (props: BidiTextProps) => React$1.JSX.Element;
8
+ export declare const withoutDirectionalControls: (children: React.ReactNode) => React.ReactNode;
9
+ export declare const BidiText: (props: BidiTextProps) => React.JSX.Element;
10
10
  export declare const UserText: typeof BidiText;
11
11
  type BidiDirection = "auto" | "ltr" | "rtl";
12
- type BdiElementProps = Omit<React$1.ComponentPropsWithoutRef<"bdi">, "dir"> & {
12
+ type BdiElementProps = Omit<React.ComponentPropsWithoutRef<"bdi">, "dir"> & {
13
13
  as?: "bdi";
14
14
  direction?: BidiDirection;
15
15
  };
16
- type SpanTextProps = Omit<React$1.ComponentPropsWithoutRef<"span">, "dir"> & {
16
+ type SpanTextProps = Omit<React.ComponentPropsWithoutRef<"span">, "dir"> & {
17
17
  as: "span";
18
18
  direction?: BidiDirection;
19
19
  };
20
- type DivTextProps = Omit<React$1.ComponentPropsWithoutRef<"div">, "dir"> & {
20
+ type DivTextProps = Omit<React.ComponentPropsWithoutRef<"div">, "dir"> & {
21
21
  as: "div";
22
22
  direction?: BidiDirection;
23
23
  };
24
- type ParagraphTextProps = Omit<React$1.ComponentPropsWithoutRef<"p">, "dir"> & {
24
+ type ParagraphTextProps = Omit<React.ComponentPropsWithoutRef<"p">, "dir"> & {
25
25
  as: "p";
26
26
  direction?: BidiDirection;
27
27
  };
@@ -1,6 +1,6 @@
1
- import * as React$1 from "react";
2
- type BrandIconProps = React$1.ComponentProps<"svg">;
3
- export declare const DiscordLogoIcon: (props: BrandIconProps) => React$1.JSX.Element;
4
- export declare const GitHubLogoIcon: (props: BrandIconProps) => React$1.JSX.Element;
5
- export declare const XLogoIcon: (props: BrandIconProps) => React$1.JSX.Element;
1
+ import * as React from "react";
2
+ type BrandIconProps = React.ComponentProps<"svg">;
3
+ export declare const DiscordLogoIcon: (props: BrandIconProps) => React.JSX.Element;
4
+ export declare const GitHubLogoIcon: (props: BrandIconProps) => React.JSX.Element;
5
+ export declare const XLogoIcon: (props: BrandIconProps) => React.JSX.Element;
6
6
  export {};
@@ -1,10 +1,10 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  import { useRender } from "@base-ui/react/use-render";
3
- declare const Breadcrumb: ({ ...props }: React$1.ComponentProps<"nav">) => React$1.JSX.Element;
4
- declare const BreadcrumbList: ({ className, ...props }: React$1.ComponentProps<"ol">) => React$1.JSX.Element;
5
- declare const BreadcrumbItem: ({ className, ...props }: React$1.ComponentProps<"li">) => React$1.JSX.Element;
6
- declare function BreadcrumbLink({ className, render, ...props }: useRender.ComponentProps<"a">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
7
- declare const BreadcrumbPage: ({ className, ...props }: React$1.ComponentProps<"span">) => React$1.JSX.Element;
8
- declare const BreadcrumbSeparator: ({ children, className, ...props }: React$1.ComponentProps<"li">) => React$1.JSX.Element;
9
- declare const BreadcrumbEllipsis: ({ className, ...props }: React$1.ComponentProps<"span">) => React$1.JSX.Element;
3
+ declare const Breadcrumb: ({ ...props }: React.ComponentProps<"nav">) => React.JSX.Element;
4
+ declare const BreadcrumbList: ({ className, ...props }: React.ComponentProps<"ol">) => React.JSX.Element;
5
+ declare const BreadcrumbItem: ({ className, ...props }: React.ComponentProps<"li">) => React.JSX.Element;
6
+ declare function BreadcrumbLink({ className, render, ...props }: useRender.ComponentProps<"a">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
7
+ declare const BreadcrumbPage: ({ className, ...props }: React.ComponentProps<"span">) => React.JSX.Element;
8
+ declare const BreadcrumbSeparator: ({ children, className, ...props }: React.ComponentProps<"li">) => React.JSX.Element;
9
+ declare const BreadcrumbEllipsis: ({ className, ...props }: React.ComponentProps<"span">) => React.JSX.Element;
10
10
  export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
@@ -1,4 +1,4 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  type ColorPreset = {
3
3
  label: string;
4
4
  /** Value emitted on select (e.g. "red" or "FF0000") */
@@ -27,7 +27,7 @@ type ColorPickerProps = {
27
27
  * that becomes the trigger itself, so the picker never wraps it in a
28
28
  * second, unnamed button.
29
29
  */
30
- trigger: React$1.ReactElement;
30
+ trigger: React.ReactElement;
31
31
  /**
32
32
  * Whether `trigger` renders a native `<button>` (default). Pass `false`
33
33
  * only for a non-button element; Base UI then gives it button semantics.
@@ -59,6 +59,6 @@ type ColorPickerContentProps = ColorPickerContentBaseProps & ({
59
59
  presentation: "inline";
60
60
  });
61
61
  declare const DEFAULT_PRESETS: ColorPreset[];
62
- declare const ColorPickerContent: ({ value, onSelect, onClear, presets, columns, defaultExpanded, moreLabel, presentation }: ColorPickerContentProps) => React$1.JSX.Element;
63
- declare const ColorPicker: ({ value, onSelect, onClear, presets, columns, defaultExpanded, moreLabel, nativeButton, trigger, side, align, className }: ColorPickerProps) => React$1.JSX.Element;
62
+ declare const ColorPickerContent: ({ value, onSelect, onClear, presets, columns, defaultExpanded, moreLabel, presentation }: ColorPickerContentProps) => React.JSX.Element;
63
+ declare const ColorPicker: ({ value, onSelect, onClear, presets, columns, defaultExpanded, moreLabel, nativeButton, trigger, side, align, className }: ColorPickerProps) => React.JSX.Element;
64
64
  export { ColorPicker, ColorPickerContent, type ColorPickerContentProps, type ColorPickerProps, type ColorPreset, DEFAULT_PRESETS };
@@ -1,40 +1,40 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  import { Combobox as Combobox$1 } from "@base-ui/react/combobox";
3
3
  import { ControlSize } from "../lib/control-size.js";
4
- declare const Combobox: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => React$1.JSX.Element;
4
+ declare const Combobox: <Value, Multiple extends boolean | undefined = false>(props: Combobox$1.Root.Props<Value, Multiple>) => React.JSX.Element;
5
5
  declare const ComboboxChipsInput: ({ className, size, ...props }: Omit<Combobox$1.Input.Props, "size"> & {
6
6
  size?: ControlSize | number;
7
- ref?: React$1.Ref<HTMLInputElement>;
8
- }) => React$1.JSX.Element;
7
+ ref?: React.Ref<HTMLInputElement>;
8
+ }) => React.JSX.Element;
9
9
  declare const ComboboxInput: ({ className, showTrigger, showClear, startAddon, size, ...props }: Omit<Combobox$1.Input.Props, "size"> & {
10
10
  showTrigger?: boolean;
11
11
  showClear?: boolean;
12
- startAddon?: React$1.ReactNode;
12
+ startAddon?: React.ReactNode;
13
13
  size?: ControlSize | number;
14
- ref?: React$1.Ref<HTMLInputElement>;
15
- }) => React$1.JSX.Element;
14
+ ref?: React.Ref<HTMLInputElement>;
15
+ }) => React.JSX.Element;
16
16
  declare const ComboboxTrigger: ({ className, variant, ...props }: Combobox$1.Trigger.Props & {
17
17
  variant?: "plain" | "field";
18
- }) => React$1.JSX.Element;
18
+ }) => React.JSX.Element;
19
19
  declare const ComboboxPopup: ({ className, children, side, sideOffset, alignOffset, align, ...props }: Combobox$1.Popup.Props & {
20
20
  align?: Combobox$1.Positioner.Props["align"];
21
21
  sideOffset?: Combobox$1.Positioner.Props["sideOffset"];
22
22
  alignOffset?: Combobox$1.Positioner.Props["alignOffset"];
23
23
  side?: Combobox$1.Positioner.Props["side"];
24
- }) => React$1.JSX.Element;
25
- declare const ComboboxItem: ({ className, children, ...props }: Combobox$1.Item.Props) => React$1.JSX.Element;
26
- declare const ComboboxSeparator: ({ className, ...props }: Combobox$1.Separator.Props) => React$1.JSX.Element;
27
- declare const ComboboxGroup: ({ className, ...props }: Combobox$1.Group.Props) => React$1.JSX.Element;
28
- declare const ComboboxGroupLabel: ({ className, ...props }: Combobox$1.GroupLabel.Props) => React$1.JSX.Element;
29
- declare const ComboboxEmpty: ({ className, ...props }: Combobox$1.Empty.Props) => React$1.JSX.Element;
30
- declare const ComboboxRow: ({ className, ...props }: Combobox$1.Row.Props) => React$1.JSX.Element;
31
- declare const ComboboxValue: ({ ...props }: Combobox$1.Value.Props) => React$1.JSX.Element;
32
- declare const ComboboxList: ({ className, ...props }: Combobox$1.List.Props) => React$1.JSX.Element;
33
- declare const ComboboxClear: ({ className, ...props }: Combobox$1.Clear.Props) => React$1.JSX.Element;
34
- declare const ComboboxStatus: ({ className, ...props }: Combobox$1.Status.Props) => React$1.JSX.Element;
35
- declare const ComboboxCollection: (props: Combobox$1.Collection.Props) => React$1.JSX.Element;
24
+ }) => React.JSX.Element;
25
+ declare const ComboboxItem: ({ className, children, ...props }: Combobox$1.Item.Props) => React.JSX.Element;
26
+ declare const ComboboxSeparator: ({ className, ...props }: Combobox$1.Separator.Props) => React.JSX.Element;
27
+ declare const ComboboxGroup: ({ className, ...props }: Combobox$1.Group.Props) => React.JSX.Element;
28
+ declare const ComboboxGroupLabel: ({ className, ...props }: Combobox$1.GroupLabel.Props) => React.JSX.Element;
29
+ declare const ComboboxEmpty: ({ className, ...props }: Combobox$1.Empty.Props) => React.JSX.Element;
30
+ declare const ComboboxRow: ({ className, ...props }: Combobox$1.Row.Props) => React.JSX.Element;
31
+ declare const ComboboxValue: ({ ...props }: Combobox$1.Value.Props) => React.JSX.Element;
32
+ declare const ComboboxList: ({ className, ...props }: Combobox$1.List.Props) => React.JSX.Element;
33
+ declare const ComboboxClear: ({ className, ...props }: Combobox$1.Clear.Props) => React.JSX.Element;
34
+ declare const ComboboxStatus: ({ className, ...props }: Combobox$1.Status.Props) => React.JSX.Element;
35
+ declare const ComboboxCollection: (props: Combobox$1.Collection.Props) => React.JSX.Element;
36
36
  declare const ComboboxChips: ({ className, children, startAddon, ...props }: Combobox$1.Chips.Props & {
37
- startAddon?: React$1.ReactNode;
38
- }) => React$1.JSX.Element;
39
- declare const ComboboxChip: ({ children, ...props }: Combobox$1.Chip.Props) => React$1.JSX.Element;
37
+ startAddon?: React.ReactNode;
38
+ }) => React.JSX.Element;
39
+ declare const ComboboxChip: ({ children, ...props }: Combobox$1.Chip.Props) => React.JSX.Element;
40
40
  export { Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue };
@@ -8,16 +8,16 @@ import { cn } from "../lib/utils.js";
8
8
  import { Input } from "./input.js";
9
9
  import { ScrollArea } from "./scroll-area.js";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
- import * as React$1 from "react";
11
+ import * as React from "react";
12
12
  import { Combobox as Combobox$1 } from "@base-ui/react/combobox";
13
13
  // src/components/combobox.tsx
14
- const ComboboxContext = React$1.createContext({
14
+ const ComboboxContext = React.createContext({
15
15
  chipsRef: null,
16
16
  multiple: false
17
17
  });
18
18
  const Combobox = (props) => {
19
- const chipsRef = React$1.useRef(null);
20
- const contextValue = React$1.useMemo(() => ({
19
+ const chipsRef = React.useRef(null);
20
+ const contextValue = React.useMemo(() => ({
21
21
  chipsRef,
22
22
  multiple: !!props.multiple
23
23
  }), [chipsRef, props.multiple]);
@@ -101,7 +101,7 @@ const ComboboxTrigger = ({ className, variant = "plain", ...props }) => /* @__PU
101
101
  ...props
102
102
  });
103
103
  const ComboboxPopup = ({ className, children, side = "bottom", sideOffset = 4, alignOffset, align = "start", ...props }) => {
104
- const { chipsRef } = React$1.use(ComboboxContext);
104
+ const { chipsRef } = React.use(ComboboxContext);
105
105
  return /* @__PURE__ */ jsx(Combobox$1.Portal, { children: /* @__PURE__ */ jsx(Combobox$1.Positioner, {
106
106
  align,
107
107
  alignOffset,
@@ -197,7 +197,7 @@ const ComboboxCollection = (props) => /* @__PURE__ */ jsx(Combobox$1.Collection,
197
197
  ...props
198
198
  });
199
199
  const ComboboxChips = ({ className, children, startAddon, ...props }) => {
200
- const { chipsRef } = React$1.use(ComboboxContext);
200
+ const { chipsRef } = React.use(ComboboxContext);
201
201
  return /* @__PURE__ */ jsxs(Combobox$1.Chips, {
202
202
  className: cn("border-input bg-background ring-ring/24 focus-within:border-ring has-autofill:bg-foreground/4 has-aria-invalid:border-destructive/36 focus-within:has-aria-invalid:border-destructive/64 focus-within:has-aria-invalid:ring-destructive/16 dark:not-has-disabled:bg-input/32 dark:has-autofill:bg-foreground/8 dark:has-aria-invalid:ring-destructive/24 relative inline-flex min-h-9 w-full flex-wrap gap-1 rounded-lg border p-[calc(--spacing(1)-1px)] text-base shadow-xs/5 outline-none *:min-h-7 not-dark:bg-clip-padding before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] not-has-disabled:not-focus-within:not-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] focus-within:ring-[3px] has-disabled:pointer-events-none has-disabled:opacity-64 has-data-[size=lg]:min-h-10 has-data-[size=lg]:*:min-h-8 has-data-[size=sm]:min-h-8 has-data-[size=sm]:*:min-h-6 has-[:disabled,:focus-within,[aria-invalid]]:shadow-none sm:min-h-8 sm:text-sm sm:*:min-h-6 sm:has-data-[size=lg]:min-h-9 sm:has-data-[size=lg]:*:min-h-7 sm:has-data-[size=sm]:min-h-7 sm:has-data-[size=sm]:*:min-h-5 dark:not-has-disabled:not-focus-within:not-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/6%)]", className),
203
203
  "data-slot": "combobox-chips",
@@ -1,4 +1,4 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  import { Autocomplete } from "@base-ui/react/autocomplete";
3
3
  import { ControlSize } from "../lib/control-size.js";
4
4
  import { Dialog } from "@base-ui/react/dialog";
@@ -7,32 +7,32 @@ import { VariantProps } from "class-variance-authority";
7
7
  type CommandProps<ItemValue> = Omit<Autocomplete.Root.Props<ItemValue>, "items"> & {
8
8
  items?: readonly ItemValue[] | undefined;
9
9
  };
10
- declare const Command: <ItemValue>({ autoHighlight, keepHighlight, open, ...props }: CommandProps<ItemValue>) => React$1.JSX.Element;
11
- declare const CommandDialog: <Payload>(props: Dialog.Root.Props<Payload>) => React$1.JSX.Element;
12
- declare const CommandDialogTrigger: (props: Dialog.Trigger.Props) => React$1.JSX.Element;
13
- declare const CommandDialogPopup: ({ className, showCloseButton, ...props }: React$1.ComponentProps<typeof DialogPopup>) => React$1.JSX.Element;
10
+ declare const Command: <ItemValue>({ autoHighlight, keepHighlight, open, ...props }: CommandProps<ItemValue>) => React.JSX.Element;
11
+ declare const CommandDialog: <Payload>(props: Dialog.Root.Props<Payload>) => React.JSX.Element;
12
+ declare const CommandDialogTrigger: (props: Dialog.Trigger.Props) => React.JSX.Element;
13
+ declare const CommandDialogPopup: ({ className, showCloseButton, ...props }: React.ComponentProps<typeof DialogPopup>) => React.JSX.Element;
14
14
  type CommandInputProps = Omit<Autocomplete.Input.Props, "size"> & {
15
15
  size?: ControlSize | number;
16
16
  wrapperClassName?: string;
17
- ref?: React$1.Ref<HTMLInputElement>;
17
+ ref?: React.Ref<HTMLInputElement>;
18
18
  };
19
- declare const CommandInput: ({ className, size, wrapperClassName, dir, onChange, ...props }: CommandInputProps) => React$1.JSX.Element;
20
- declare const CommandPanel: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
21
- declare const CommandEmpty: ({ className, ...props }: Autocomplete.Empty.Props) => React$1.JSX.Element;
19
+ declare const CommandInput: ({ className, size, wrapperClassName, dir, onChange, ...props }: CommandInputProps) => React.JSX.Element;
20
+ declare const CommandPanel: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
21
+ declare const CommandEmpty: ({ className, ...props }: Autocomplete.Empty.Props) => React.JSX.Element;
22
22
  declare const CommandList: ({ className, ...props }: Autocomplete.List.Props & {
23
- ref?: React$1.Ref<HTMLDivElement>;
24
- }) => React$1.JSX.Element;
25
- declare const CommandGroup: ({ className, ...props }: Autocomplete.Group.Props) => React$1.JSX.Element;
26
- declare const CommandGroupLabel: ({ className, ...props }: Autocomplete.GroupLabel.Props) => React$1.JSX.Element;
27
- declare const CommandCollection: (props: Autocomplete.Collection.Props) => React$1.JSX.Element;
23
+ ref?: React.Ref<HTMLDivElement>;
24
+ }) => React.JSX.Element;
25
+ declare const CommandGroup: ({ className, ...props }: Autocomplete.Group.Props) => React.JSX.Element;
26
+ declare const CommandGroupLabel: ({ className, ...props }: Autocomplete.GroupLabel.Props) => React.JSX.Element;
27
+ declare const CommandCollection: (props: Autocomplete.Collection.Props) => React.JSX.Element;
28
28
  declare const commandItemVariants: (props?: ({
29
29
  size?: "default" | "row" | null | undefined;
30
30
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
31
31
  declare const CommandItem: ({ className, size, ...props }: Autocomplete.Item.Props & {
32
- ref?: React$1.Ref<HTMLDivElement>;
32
+ ref?: React.Ref<HTMLDivElement>;
33
33
  size?: VariantProps<typeof commandItemVariants>["size"];
34
- }) => React$1.JSX.Element;
35
- declare const CommandSeparator: ({ className, ...props }: Autocomplete.Separator.Props) => React$1.JSX.Element;
36
- declare const CommandShortcut: ({ className, ...props }: React$1.ComponentProps<"span">) => React$1.JSX.Element;
37
- declare const CommandFooter: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
34
+ }) => React.JSX.Element;
35
+ declare const CommandSeparator: ({ className, ...props }: Autocomplete.Separator.Props) => React.JSX.Element;
36
+ declare const CommandShortcut: ({ className, ...props }: React.ComponentProps<"span">) => React.JSX.Element;
37
+ declare const CommandFooter: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
38
38
  export { Command, CommandCollection, CommandDialog, CommandDialogPopup, CommandDialogTrigger, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandInput, CommandItem, CommandList, CommandPanel, CommandSeparator, CommandShortcut };
@@ -1,18 +1,18 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  import { InputProps } from "./input.js";
3
3
  type DestructiveActionConfirmationProps = Omit<InputProps, "onChange" | "type" | "value"> & {
4
4
  confirmation: string;
5
- description?: React$1.ReactNode;
5
+ description?: React.ReactNode;
6
6
  fieldClassName?: string;
7
7
  inputClassName?: string;
8
- label: React$1.ReactNode;
8
+ label: React.ReactNode;
9
9
  onValueChange: (value: string) => void;
10
10
  value: string;
11
11
  };
12
- declare const DestructiveActionConfirmation: ({ className, confirmation, description, fieldClassName, inputClassName, label, onValueChange, value, ...props }: DestructiveActionConfirmationProps) => React$1.JSX.Element;
12
+ declare const DestructiveActionConfirmation: ({ className, confirmation, description, fieldClassName, inputClassName, label, onValueChange, value, ...props }: DestructiveActionConfirmationProps) => React.JSX.Element;
13
13
  declare function useDestructiveActionConfirmation(confirmation: string): {
14
14
  confirmed: boolean;
15
- onValueChange: React$1.Dispatch<React$1.SetStateAction<string>>;
15
+ onValueChange: React.Dispatch<React.SetStateAction<string>>;
16
16
  reset: () => void;
17
17
  value: string;
18
18
  };
@@ -3,7 +3,7 @@ import { cn } from "../lib/utils.js";
3
3
  import { Field, FieldDescription, FieldLabel } from "./field.js";
4
4
  import { Input } from "./input.js";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
- import * as React$1 from "react";
6
+ import * as React from "react";
7
7
  // src/components/destructive-action-confirmation.tsx
8
8
  const DestructiveActionConfirmation = ({ className, confirmation, description, fieldClassName, inputClassName, label, onValueChange, value, ...props }) => {
9
9
  const confirmed = isDestructiveActionConfirmed({
@@ -40,7 +40,7 @@ const DestructiveActionConfirmation = ({ className, confirmation, description, f
40
40
  });
41
41
  };
42
42
  function useDestructiveActionConfirmation(confirmation) {
43
- const [value, setValue] = React$1.useState("");
43
+ const [value, setValue] = React.useState("");
44
44
  return {
45
45
  confirmed: isDestructiveActionConfirmed({
46
46
  confirmation,
@@ -1,21 +1,21 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  /**
3
3
  * What a settled confirm asks of the dialog: `keep-open` when the action was
4
4
  * refused and the dialog shows why, so the caller need not throw to keep it.
5
5
  */
6
6
  type DestructiveConfirmOutcome = "keep-open";
7
7
  type DestructiveConfirmDialogProps = {
8
- cancelLabel: React$1.ReactNode;
9
- confirmLabel: React$1.ReactNode;
8
+ cancelLabel: React.ReactNode;
9
+ confirmLabel: React.ReactNode;
10
10
  confirmation: string;
11
- description: React$1.ReactNode;
12
- inputLabel: React$1.ReactNode;
11
+ description: React.ReactNode;
12
+ inputLabel: React.ReactNode;
13
13
  loading?: boolean | undefined;
14
14
  /** Settles to `"keep-open"` to keep the dialog; anything else closes it. */
15
15
  onConfirm: () => unknown;
16
16
  onOpenChange: (open: boolean) => void;
17
17
  open: boolean;
18
- title: React$1.ReactNode;
18
+ title: React.ReactNode;
19
19
  };
20
- declare const DestructiveConfirmDialog: ({ cancelLabel, confirmLabel, confirmation, description, inputLabel, loading, onConfirm, onOpenChange, open, title }: DestructiveConfirmDialogProps) => React$1.JSX.Element;
20
+ declare const DestructiveConfirmDialog: ({ cancelLabel, confirmLabel, confirmation, description, inputLabel, loading, onConfirm, onOpenChange, open, title }: DestructiveConfirmDialogProps) => React.JSX.Element;
21
21
  export { DestructiveConfirmDialog, type DestructiveConfirmDialogProps, type DestructiveConfirmOutcome };
@@ -1,4 +1,4 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  /**
3
3
  * - `sheet`: a fact sheet; small uppercase labels, up to three pairs per row
4
4
  * as the container widens.
@@ -22,16 +22,16 @@ type DetailsOrientation = "horizontal" | "vertical" | "auto";
22
22
  * `lg` fix it, so several grids on one page line their values up.
23
23
  */
24
24
  type DetailsLabelWidth = "auto" | "sm" | "md" | "lg";
25
- type DetailsGridProps = React$1.ComponentProps<"dl"> & {
25
+ type DetailsGridProps = React.ComponentProps<"dl"> & {
26
26
  labelWidth?: DetailsLabelWidth;
27
27
  orientation?: DetailsOrientation;
28
28
  variant?: DetailsVariant;
29
29
  };
30
- declare const DetailsGrid: ({ className, labelWidth, orientation, variant, ...props }: DetailsGridProps) => React$1.JSX.Element;
31
- type DetailsItemProps = React$1.ComponentProps<"div"> & {
32
- label: React$1.ReactNode;
30
+ declare const DetailsGrid: ({ className, labelWidth, orientation, variant, ...props }: DetailsGridProps) => React.JSX.Element;
31
+ type DetailsItemProps = React.ComponentProps<"div"> & {
32
+ label: React.ReactNode;
33
33
  /** `wide` spans every pair column of a `sheet`. */
34
34
  span?: "wide";
35
35
  };
36
- declare const DetailsItem: ({ label, children, span, className, ...props }: DetailsItemProps) => React$1.JSX.Element;
36
+ declare const DetailsItem: ({ label, children, span, className, ...props }: DetailsItemProps) => React.JSX.Element;
37
37
  export { DetailsGrid, DetailsItem, type DetailsLabelWidth, type DetailsOrientation, type DetailsVariant };
@@ -1,4 +1,4 @@
1
- import * as React$1 from "react";
1
+ import * as React from "react";
2
2
  import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
3
3
  import { DialogFormState } from "./dialog-form-state.js";
4
4
  import { OverlayLayer } from "../lib/overlay-layer.js";
@@ -10,25 +10,25 @@ type DialogLabels = {
10
10
  /** The hint after a click outside or on a close button: close again. */
11
11
  unsavedChangesClose: string;
12
12
  };
13
- declare const DialogProvider: ({ labels, children }: React$1.PropsWithChildren<{
13
+ declare const DialogProvider: ({ labels, children }: React.PropsWithChildren<{
14
14
  labels: DialogLabels;
15
- }>) => React$1.JSX.Element;
15
+ }>) => React.JSX.Element;
16
16
  declare const Dialog: <Payload>({ dirty, onOpenChange, onOpenChangeComplete, ...props }: Dialog$1.Root.Props<Payload> & {
17
17
  dirty?: boolean;
18
- }) => React$1.JSX.Element;
19
- declare const DialogPortal: React$1.ForwardRefExoticComponent<Omit<import("@base-ui/react").DialogPortalProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
18
+ }) => React.JSX.Element;
19
+ declare const DialogPortal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").DialogPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
20
20
  declare function DialogTrigger({ tooltip, ...props }: Dialog$1.Trigger.Props & {
21
- tooltip?: React$1.ReactNode;
22
- }): React$1.JSX.Element;
21
+ tooltip?: React.ReactNode;
22
+ }): React.JSX.Element;
23
23
  declare function DialogClose({ tooltip, ...props }: Dialog$1.Close.Props & {
24
- tooltip?: React$1.ReactNode;
25
- }): React$1.JSX.Element;
24
+ tooltip?: React.ReactNode;
25
+ }): React.JSX.Element;
26
26
  declare const DialogBackdrop: ({ className, layer, ...props }: Dialog$1.Backdrop.Props & {
27
27
  layer?: OverlayLayer;
28
- }) => React$1.JSX.Element;
28
+ }) => React.JSX.Element;
29
29
  declare const DialogViewport: ({ className, layer, ...props }: Dialog$1.Viewport.Props & {
30
30
  layer?: OverlayLayer;
31
- }) => React$1.JSX.Element;
31
+ }) => React.JSX.Element;
32
32
  /** How the popup sits below `sm`; from `sm` up it is always centred. */
33
33
  declare const DIALOG_MOBILE_LAYOUT: {
34
34
  /** Pinned to the bottom edge, leaving the page visible above it. */
@@ -61,14 +61,14 @@ declare const DialogPopup: ({ backdropClassName, className, children, showCloseB
61
61
  mobileLayout?: DialogMobileLayout;
62
62
  layer?: OverlayLayer;
63
63
  viewportClassName?: string;
64
- }) => React$1.JSX.Element;
65
- declare const DialogHeader: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
66
- declare const DialogFooter: ({ className, variant, ...props }: React$1.ComponentProps<"div"> & {
64
+ }) => React.JSX.Element;
65
+ declare const DialogHeader: ({ className, ...props }: React.ComponentProps<"div">) => React.JSX.Element;
66
+ declare const DialogFooter: ({ className, variant, ...props }: React.ComponentProps<"div"> & {
67
67
  variant?: "default" | "bare";
68
- }) => React$1.JSX.Element;
69
- declare const DialogTitle: ({ className, ...props }: Dialog$1.Title.Props) => React$1.JSX.Element;
70
- declare const DialogDescription: ({ className, ...props }: Dialog$1.Description.Props) => React$1.JSX.Element;
71
- declare const DialogPanel: ({ className, scrollFade, ...props }: React$1.ComponentProps<"div"> & {
68
+ }) => React.JSX.Element;
69
+ declare const DialogTitle: ({ className, ...props }: Dialog$1.Title.Props) => React.JSX.Element;
70
+ declare const DialogDescription: ({ className, ...props }: Dialog$1.Description.Props) => React.JSX.Element;
71
+ declare const DialogPanel: ({ className, scrollFade, ...props }: React.ComponentProps<"div"> & {
72
72
  scrollFade?: boolean;
73
- }) => React$1.JSX.Element;
73
+ }) => React.JSX.Element;
74
74
  export { DIALOG_MOBILE_LAYOUT, DIALOG_SIZE_CLASS_NAMES, Dialog, DialogBackdrop, DialogBackdrop as DialogOverlay, DialogClose, DialogPopup as DialogContent, DialogPopup, DialogCreateHandle, DialogDescription, DialogFooter, DialogFormState, DialogHeader, type DialogLabels, type DialogMobileLayout, DialogPanel, DialogPortal, DialogProvider, type DialogSize, DialogTitle, DialogTrigger, DialogViewport };