@aircall/ds 0.11.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
+ import * as React from "react";
1
2
  import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
2
3
  import { ClassValue } from "clsx";
3
4
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
- import * as React$2 from "react";
5
- import React$1 from "react";
6
5
  import { Button as Button$1 } from "@base-ui/react/button";
7
6
  import { VariantProps } from "class-variance-authority";
7
+ import "i18next";
8
8
  import { AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
9
9
  import { Avatar as Avatar$1 } from "@base-ui/react/avatar";
10
10
  import { useRender } from "@base-ui/react/use-render";
@@ -19,13 +19,15 @@ import { Combobox as Combobox$1 } from "@base-ui/react";
19
19
  import { Command as Command$1 } from "cmdk";
20
20
  import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
21
21
  import { ColumnDef, OnChangeFn, Row, RowSelectionState, SortingState } from "@tanstack/react-table";
22
+ import { ItemInstance } from "@headless-tree/core";
22
23
  import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
23
24
  import { Radio } from "@base-ui/react/radio";
24
25
  import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
25
26
  import { Menu } from "@base-ui/react/menu";
26
27
  import { Categories, SuggestionMode } from "emoji-picker-react";
27
28
  import { Popover as Popover$1 } from "@base-ui/react/popover";
28
- import { ThemeProviderProps as ThemeProviderProps$1, useTheme } from "next-themes";
29
+ import { ThemeProviderProps, useTheme } from "next-themes";
30
+ import * as input_otp0 from "input-otp";
29
31
  import { OTPInput } from "input-otp";
30
32
  import { Progress as Progress$1 } from "@base-ui/react/progress";
31
33
  import { Select as Select$1 } from "@base-ui/react/select";
@@ -40,24 +42,26 @@ import * as class_variance_authority_types4 from "class-variance-authority/types
40
42
  import { CountryCode } from "@aircall/numbers";
41
43
 
42
44
  //#region src/components/accordion.d.ts
43
- declare function Accordion({
44
- className,
45
- ...props
46
- }: Accordion$1.Root.Props): react_jsx_runtime0.JSX.Element;
47
- declare function AccordionItem({
48
- className,
49
- ...props
50
- }: Accordion$1.Item.Props): react_jsx_runtime0.JSX.Element;
51
- declare function AccordionTrigger({
52
- className,
53
- children,
54
- ...props
55
- }: Accordion$1.Trigger.Props): react_jsx_runtime0.JSX.Element;
56
- declare function AccordionContent({
57
- className,
58
- children,
59
- ...props
60
- }: Accordion$1.Panel.Props): react_jsx_runtime0.JSX.Element;
45
+ declare const Accordion: React.ForwardRefExoticComponent<Omit<AccordionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
46
+ interface AccordionProps extends Accordion$1.Root.Props {}
47
+ declare namespace Accordion {
48
+ type Props = AccordionProps;
49
+ }
50
+ declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
51
+ interface AccordionItemProps extends Accordion$1.Item.Props {}
52
+ declare namespace AccordionItem {
53
+ type Props = AccordionItemProps;
54
+ }
55
+ declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionTriggerProps, "ref"> & React.RefAttributes<HTMLElement>>;
56
+ interface AccordionTriggerProps extends Accordion$1.Trigger.Props {}
57
+ declare namespace AccordionTrigger {
58
+ type Props = AccordionTriggerProps;
59
+ }
60
+ declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
61
+ interface AccordionContentProps extends Accordion$1.Panel.Props {}
62
+ declare namespace AccordionContent {
63
+ type Props = AccordionContentProps;
64
+ }
61
65
  //#endregion
62
66
  //#region src/components/button.d.ts
63
67
  declare const buttonVariants: (props?: ({
@@ -65,9 +69,9 @@ declare const buttonVariants: (props?: ({
65
69
  size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
66
70
  block?: boolean | null | undefined;
67
71
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
68
- declare const Button: React$2.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
72
+ declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
69
73
  interface ButtonProps extends Button$1.Props, VariantProps<typeof buttonVariants> {
70
- children?: React$2.ReactNode;
74
+ children?: React.ReactNode;
71
75
  }
72
76
  declare namespace Button {
73
77
  type Props = ButtonProps;
@@ -89,147 +93,174 @@ interface ActionBarContextValue {
89
93
  * Explicit `count`/`onClear` props on `ActionBar` always take precedence, so the
90
94
  * component still works standalone. Mirrors React Spectrum's `ActionBarContext`.
91
95
  */
92
- declare const ActionBarContext: React$2.Context<ActionBarContextValue | null>;
96
+ declare const ActionBarContext: React.Context<ActionBarContextValue | null>;
93
97
  /**
94
98
  * A button for use inside an `ActionBar`. Always `ghost`; pick `default` (text)
95
99
  * or `icon` (icon-only) — other Button variants/sizes are intentionally not
96
100
  * exposed so action bars stay visually consistent.
97
101
  */
98
- interface ActionBarButtonProps extends Omit<React$2.ComponentProps<typeof Button>, 'variant' | 'size'> {
102
+ interface ActionBarButtonProps extends Omit<React.ComponentProps<typeof Button>, 'variant' | 'size'> {
99
103
  size?: 'default' | 'icon';
100
104
  }
101
- declare const ActionBarButton: React$2.ForwardRefExoticComponent<Omit<ActionBarButtonProps, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
102
- interface ActionBarProps extends Omit<React$2.HTMLAttributes<HTMLDivElement>, 'children'> {
105
+ declare const ActionBarButton: React.ForwardRefExoticComponent<Omit<ActionBarButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
106
+ declare namespace ActionBarButton {
107
+ type Props = ActionBarButtonProps;
108
+ }
109
+ interface ActionBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
103
110
  /** Number of items currently selected. Falls back to `ActionBarContext` when omitted. */
104
111
  count?: number;
105
112
  /** Called when the clear button is clicked. Falls back to context; the button hides when neither is set. */
106
113
  onClear?: () => void;
107
114
  /** Action buttons rendered on the right of the bar — use `ActionBarButton`. */
108
- children?: React$2.ReactNode;
109
- /** Custom label renderer. Defaults to `${count} items selected.`. */
110
- label?: (count: number) => React$2.ReactNode;
111
- /** Accessible label for the clear button. */
115
+ children?: React.ReactNode;
116
+ /** Custom label renderer. Defaults to the localized `actionBar.itemsSelected` string (`{{count}} items selected.`). */
117
+ label?: (count: number) => React.ReactNode;
118
+ /** Accessible label for the clear button. Defaults to the localized `actionBar.clearSelection` string. */
112
119
  clearLabel?: string;
113
120
  }
114
- declare const ActionBar: React$2.ForwardRefExoticComponent<ActionBarProps & React$2.RefAttributes<HTMLDivElement>>;
121
+ declare const ActionBar: React.ForwardRefExoticComponent<ActionBarProps & React.RefAttributes<HTMLDivElement>>;
122
+ declare namespace ActionBar {
123
+ type Props = ActionBarProps;
124
+ }
115
125
  //#endregion
116
126
  //#region src/components/alert-dialog.d.ts
117
- declare function AlertDialog({
118
- ...props
119
- }: AlertDialog$1.Root.Props): react_jsx_runtime0.JSX.Element;
120
- declare function AlertDialogTrigger({
121
- ...props
122
- }: AlertDialog$1.Trigger.Props): react_jsx_runtime0.JSX.Element;
123
- declare function AlertDialogPortal({
124
- ...props
125
- }: AlertDialog$1.Portal.Props): react_jsx_runtime0.JSX.Element;
126
- declare function AlertDialogOverlay({
127
- className,
128
- ...props
129
- }: AlertDialog$1.Backdrop.Props): react_jsx_runtime0.JSX.Element;
130
- declare function AlertDialogContent({
131
- className,
132
- size,
133
- ...props
134
- }: AlertDialog$1.Popup.Props & {
135
- size?: "default" | "sm";
136
- }): react_jsx_runtime0.JSX.Element;
137
- declare function AlertDialogHeader({
138
- className,
139
- ...props
140
- }: React$2.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
141
- declare function AlertDialogFooter({
142
- className,
143
- ...props
144
- }: React$2.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
145
- declare function AlertDialogMedia({
146
- className,
147
- ...props
148
- }: React$2.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
149
- declare function AlertDialogTitle({
150
- className,
151
- ...props
152
- }: React$2.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime0.JSX.Element;
153
- declare function AlertDialogDescription({
154
- className,
155
- ...props
156
- }: React$2.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime0.JSX.Element;
157
- declare function AlertDialogAction({
158
- className,
159
- ...props
160
- }: React$2.ComponentProps<typeof Button>): react_jsx_runtime0.JSX.Element;
161
- declare function AlertDialogCancel({
162
- className,
163
- variant,
164
- size,
165
- ...props
166
- }: AlertDialog$1.Close.Props & Pick<React$2.ComponentProps<typeof Button>, "variant" | "size">): react_jsx_runtime0.JSX.Element;
127
+ declare function AlertDialog(componentProps: AlertDialog.Props): react_jsx_runtime0.JSX.Element;
128
+ interface AlertDialogProps extends AlertDialog$1.Root.Props {}
129
+ declare namespace AlertDialog {
130
+ type Props = AlertDialogProps;
131
+ }
132
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<Omit<AlertDialogTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
133
+ interface AlertDialogTriggerProps extends AlertDialog$1.Trigger.Props {}
134
+ declare namespace AlertDialogTrigger {
135
+ type Props = AlertDialogTriggerProps;
136
+ }
137
+ declare function AlertDialogPortal(componentProps: AlertDialogPortal.Props): react_jsx_runtime0.JSX.Element;
138
+ interface AlertDialogPortalProps extends AlertDialog$1.Portal.Props {}
139
+ declare namespace AlertDialogPortal {
140
+ type Props = AlertDialogPortalProps;
141
+ }
142
+ declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogOverlayProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
143
+ interface AlertDialogOverlayProps extends AlertDialog$1.Backdrop.Props {}
144
+ declare namespace AlertDialogOverlay {
145
+ type Props = AlertDialogOverlayProps;
146
+ }
147
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
148
+ interface AlertDialogContentProps extends AlertDialog$1.Popup.Props {
149
+ size?: 'default' | 'sm';
150
+ }
151
+ declare namespace AlertDialogContent {
152
+ type Props = AlertDialogContentProps;
153
+ }
154
+ declare const AlertDialogHeader: React.ForwardRefExoticComponent<Omit<AlertDialogHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
155
+ interface AlertDialogHeaderProps extends React.ComponentProps<'div'> {}
156
+ declare namespace AlertDialogHeader {
157
+ type Props = AlertDialogHeaderProps;
158
+ }
159
+ declare const AlertDialogFooter: React.ForwardRefExoticComponent<Omit<AlertDialogFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
160
+ interface AlertDialogFooterProps extends React.ComponentProps<'div'> {}
161
+ declare namespace AlertDialogFooter {
162
+ type Props = AlertDialogFooterProps;
163
+ }
164
+ declare const AlertDialogMedia: React.ForwardRefExoticComponent<Omit<AlertDialogMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
165
+ interface AlertDialogMediaProps extends React.ComponentProps<'div'> {}
166
+ declare namespace AlertDialogMedia {
167
+ type Props = AlertDialogMediaProps;
168
+ }
169
+ declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
170
+ interface AlertDialogTitleProps extends React.ComponentProps<typeof AlertDialog$1.Title> {}
171
+ declare namespace AlertDialogTitle {
172
+ type Props = AlertDialogTitleProps;
173
+ }
174
+ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
175
+ interface AlertDialogDescriptionProps extends React.ComponentProps<typeof AlertDialog$1.Description> {}
176
+ declare namespace AlertDialogDescription {
177
+ type Props = AlertDialogDescriptionProps;
178
+ }
179
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogActionProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
180
+ interface AlertDialogActionProps extends React.ComponentProps<typeof Button> {}
181
+ declare namespace AlertDialogAction {
182
+ type Props = AlertDialogActionProps;
183
+ }
184
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogCancelProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
185
+ interface AlertDialogCancelProps extends AlertDialog$1.Close.Props, Pick<React.ComponentProps<typeof Button>, 'variant' | 'size'> {}
186
+ declare namespace AlertDialogCancel {
187
+ type Props = AlertDialogCancelProps;
188
+ }
167
189
  //#endregion
168
190
  //#region src/components/alert.d.ts
169
191
  declare const alertVariants: (props?: ({
170
192
  variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
171
193
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
172
- type AlertProps = React$2.ComponentProps<'div'> & VariantProps<typeof alertVariants>;
173
- declare function Alert({
174
- className,
175
- variant,
176
- ...props
177
- }: AlertProps): react_jsx_runtime0.JSX.Element;
178
- declare function AlertTitle({
179
- className,
180
- ...props
181
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
182
- declare function AlertDescription({
183
- className,
184
- ...props
185
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
186
- declare function AlertAction({
187
- className,
188
- ...props
189
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
194
+ declare const Alert: React.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
195
+ interface AlertProps extends React.ComponentProps<'div'>, VariantProps<typeof alertVariants> {}
196
+ declare namespace Alert {
197
+ type Props = AlertProps;
198
+ }
199
+ declare const AlertTitle: React.ForwardRefExoticComponent<Omit<AlertTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
200
+ interface AlertTitleProps extends React.ComponentProps<'div'> {}
201
+ declare namespace AlertTitle {
202
+ type Props = AlertTitleProps;
203
+ }
204
+ declare const AlertDescription: React.ForwardRefExoticComponent<Omit<AlertDescriptionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
205
+ interface AlertDescriptionProps extends React.ComponentProps<'div'> {}
206
+ declare namespace AlertDescription {
207
+ type Props = AlertDescriptionProps;
208
+ }
209
+ declare const AlertAction: React.ForwardRefExoticComponent<Omit<AlertActionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
210
+ interface AlertActionProps extends React.ComponentProps<'div'> {}
211
+ declare namespace AlertAction {
212
+ type Props = AlertActionProps;
213
+ }
190
214
  //#endregion
191
215
  //#region src/components/avatar.d.ts
192
- declare const Avatar: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.AvatarRootProps & {
193
- size?: "xs" | "sm" | "default" | "lg" | "xl";
194
- }, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
195
- declare function AvatarImage({
196
- className,
197
- ...props
198
- }: Avatar$1.Image.Props): react_jsx_runtime0.JSX.Element;
199
- declare function AvatarFallback({
200
- className,
201
- ...props
202
- }: Avatar$1.Fallback.Props): react_jsx_runtime0.JSX.Element;
203
- declare function AvatarBadge({
204
- className,
205
- ...props
206
- }: React$2.ComponentProps<'span'>): react_jsx_runtime0.JSX.Element;
207
- declare function AvatarGroup({
208
- className,
209
- ...props
210
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
211
- declare function AvatarGroupCount({
212
- className,
213
- ...props
214
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
216
+ declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
217
+ interface AvatarProps extends Avatar$1.Root.Props {
218
+ size?: 'xs' | 'sm' | 'default' | 'lg' | 'xl';
219
+ }
220
+ declare namespace Avatar {
221
+ type Props = AvatarProps;
222
+ }
223
+ declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarImageProps, "ref"> & React.RefAttributes<HTMLImageElement>>;
224
+ interface AvatarImageProps extends Avatar$1.Image.Props {}
225
+ declare namespace AvatarImage {
226
+ type Props = AvatarImageProps;
227
+ }
228
+ declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarFallbackProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
229
+ interface AvatarFallbackProps extends Avatar$1.Fallback.Props {}
230
+ declare namespace AvatarFallback {
231
+ type Props = AvatarFallbackProps;
232
+ }
233
+ declare const AvatarBadge: React.ForwardRefExoticComponent<Omit<AvatarBadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
234
+ interface AvatarBadgeProps extends React.ComponentProps<'span'> {}
235
+ declare namespace AvatarBadge {
236
+ type Props = AvatarBadgeProps;
237
+ }
238
+ declare const AvatarGroup: React.ForwardRefExoticComponent<Omit<AvatarGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
239
+ interface AvatarGroupProps extends React.ComponentProps<'div'> {}
240
+ declare namespace AvatarGroup {
241
+ type Props = AvatarGroupProps;
242
+ }
243
+ declare const AvatarGroupCount: React.ForwardRefExoticComponent<Omit<AvatarGroupCountProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
244
+ interface AvatarGroupCountProps extends React.ComponentProps<'div'> {}
245
+ declare namespace AvatarGroupCount {
246
+ type Props = AvatarGroupCountProps;
247
+ }
215
248
  //#endregion
216
249
  //#region src/components/counter-badge.d.ts
217
250
  declare const counterBadgeVariants: (props?: ({
218
251
  variant?: "default" | "secondary" | "ghost" | null | undefined;
219
252
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
220
- declare const CounterBadge: React$2.ForwardRefExoticComponent<Omit<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
221
- ref?: ((instance: HTMLSpanElement | null) => void | React$2.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$2.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$2.RefObject<HTMLSpanElement> | null | undefined;
222
- } & {
223
- render?: React$2.ReactElement<any, string | React$2.JSXElementConstructor<any>> | _base_ui_react0.ComponentRenderFn<_base_ui_react0.HTMLProps, {}> | undefined;
224
- } & VariantProps<(props?: ({
225
- variant?: "default" | "secondary" | "ghost" | null | undefined;
226
- } & class_variance_authority_types4.ClassProp) | undefined) => string>, "ref"> & React$2.RefAttributes<HTMLSpanElement>>;
253
+ declare const CounterBadge: React.ForwardRefExoticComponent<Omit<CounterBadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
254
+ type CounterBadgeProps = useRender.ComponentProps<'span'> & VariantProps<typeof counterBadgeVariants>;
255
+ declare namespace CounterBadge {
256
+ type Props = CounterBadgeProps;
257
+ }
227
258
  //#endregion
228
259
  //#region src/components/badge.d.ts
229
260
  declare const badgeVariants: (props?: ({
230
261
  size?: "default" | "lg" | null | undefined;
231
- color?: "charcoal" | "red" | "green" | "blue" | "purple" | "yellow" | "pink" | null | undefined;
232
- tone?: "dark" | "medium-dark" | "medium-light" | "light" | null | undefined;
262
+ color?: "blue" | "green" | "pink" | "purple" | "red" | "yellow" | "charcoal" | null | undefined;
263
+ tone?: "dark" | "light" | "medium-dark" | "medium-light" | null | undefined;
233
264
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
234
265
  type BadgeVariants = VariantProps<typeof badgeVariants>;
235
266
  type BadgeColor = NonNullable<BadgeVariants['color']>;
@@ -243,7 +274,7 @@ type BadgeTone = NonNullable<BadgeVariants['tone']>;
243
274
  * `charcoal` / `light` — or pass a stored hex via `legacyColor`. Icons are
244
275
  * composed as children (auto-sized per `size`).
245
276
  */
246
- declare const Badge: React$2.ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & React$2.RefAttributes<HTMLSpanElement>>;
277
+ declare const Badge: React.ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
247
278
  interface BadgeProps extends Omit<useRender.ComponentProps<'span'>, 'color'>, VariantProps<typeof badgeVariants> {
248
279
  /**
249
280
  * A legacy hard-coded tag hex (e.g. `#0761B5`) from the old palette. When
@@ -256,16 +287,16 @@ interface BadgeProps extends Omit<useRender.ComponentProps<'span'>, 'color'>, Va
256
287
  declare namespace Badge {
257
288
  type Props = BadgeProps;
258
289
  }
259
- declare const BadgeGroup: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
290
+ declare const BadgeGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
260
291
  declare namespace BadgeGroup {
261
- type Props = React$2.ComponentProps<'div'>;
292
+ type Props = React.ComponentProps<'div'>;
262
293
  }
263
294
  declare const badgeGroupCountVariants: (props?: ({
264
295
  size?: "default" | "lg" | null | undefined;
265
296
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
266
- declare const BadgeGroupCount: React$2.ForwardRefExoticComponent<Omit<BadgeGroupCount.Props, "ref"> & React$2.RefAttributes<HTMLSpanElement>>;
297
+ declare const BadgeGroupCount: React.ForwardRefExoticComponent<Omit<BadgeGroupCount.Props, "ref"> & React.RefAttributes<HTMLSpanElement>>;
267
298
  declare namespace BadgeGroupCount {
268
- type Props = Omit<React$2.ComponentProps<typeof CounterBadge>, 'variant'> & VariantProps<typeof badgeGroupCountVariants>;
299
+ type Props = Omit<React.ComponentProps<typeof CounterBadge>, 'variant'> & VariantProps<typeof badgeGroupCountVariants>;
269
300
  }
270
301
  //#endregion
271
302
  //#region src/components/banner.d.ts
@@ -273,21 +304,21 @@ declare const bannerVariants: (props?: ({
273
304
  variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
274
305
  borderDirection?: "bottom" | "top" | null | undefined;
275
306
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
276
- type BannerProps = React$2.ComponentProps<'div'> & VariantProps<typeof bannerVariants>;
277
- declare function Banner({
278
- className,
279
- variant,
280
- borderDirection,
281
- ...props
282
- }: BannerProps): react_jsx_runtime0.JSX.Element;
307
+ declare const Banner: React.ForwardRefExoticComponent<Omit<BannerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
308
+ interface BannerProps extends React.ComponentProps<'div'>, VariantProps<typeof bannerVariants> {}
309
+ declare namespace Banner {
310
+ type Props = BannerProps;
311
+ }
283
312
  //#endregion
284
313
  //#region src/components/notification-queue.d.ts
285
314
  type NotificationPriority = 'error' | 'warning' | 'success' | 'info' | 'promotional';
286
- declare function NotificationQueueProvider({
287
- children
288
- }: {
289
- children: React$2.ReactNode;
290
- }): react_jsx_runtime0.JSX.Element;
315
+ declare function NotificationQueueProvider(componentProps: NotificationQueueProvider.Props): react_jsx_runtime0.JSX.Element;
316
+ interface NotificationQueueProviderProps {
317
+ children: React.ReactNode;
318
+ }
319
+ declare namespace NotificationQueueProvider {
320
+ type Props = NotificationQueueProviderProps;
321
+ }
291
322
  interface NotificationRenderProps {
292
323
  /** Dismisses this notification from the queue. */
293
324
  dismiss: () => void;
@@ -317,7 +348,7 @@ interface NotificationOptions {
317
348
  * </Banner>
318
349
  * )
319
350
  */
320
- render: (props: NotificationRenderProps) => React$2.ReactNode;
351
+ render: (props: NotificationRenderProps) => React.ReactNode;
321
352
  }
322
353
  interface NotificationHandle {
323
354
  /** Dismisses this specific notification. No id/slot required. */
@@ -338,37 +369,37 @@ interface NotificationSlotProps {
338
369
  slot: string;
339
370
  className?: string;
340
371
  }
341
- declare function NotificationSlot({
342
- slot,
343
- className
344
- }: NotificationSlotProps): react_jsx_runtime0.JSX.Element | null;
372
+ declare const NotificationSlot: React.ForwardRefExoticComponent<NotificationSlotProps & React.RefAttributes<HTMLDivElement>>;
373
+ declare namespace NotificationSlot {
374
+ type Props = NotificationSlotProps;
375
+ }
345
376
  //#endregion
346
377
  //#region src/components/separator.d.ts
347
- declare function Separator({
348
- className,
349
- orientation,
350
- ...props
351
- }: Separator$1.Props): react_jsx_runtime0.JSX.Element;
378
+ declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
379
+ interface SeparatorProps extends Separator$1.Props {}
380
+ declare namespace Separator {
381
+ type Props = SeparatorProps;
382
+ }
352
383
  //#endregion
353
384
  //#region src/components/button-group.d.ts
354
385
  declare const buttonGroupVariants: (props?: ({
355
386
  orientation?: "horizontal" | "vertical" | null | undefined;
356
387
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
357
- declare function ButtonGroup({
358
- className,
359
- orientation,
360
- ...props
361
- }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime0.JSX.Element;
362
- declare function ButtonGroupText({
363
- className,
364
- render,
365
- ...props
366
- }: useRender.ComponentProps<'div'>): React$2.ReactElement<any, string | React$2.JSXElementConstructor<any>>;
367
- declare function ButtonGroupSeparator({
368
- className,
369
- orientation,
370
- ...props
371
- }: React.ComponentProps<typeof Separator>): react_jsx_runtime0.JSX.Element;
388
+ declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
389
+ interface ButtonGroupProps extends React.ComponentProps<'div'>, VariantProps<typeof buttonGroupVariants> {}
390
+ declare namespace ButtonGroup {
391
+ type Props = ButtonGroupProps;
392
+ }
393
+ declare const ButtonGroupText: React.ForwardRefExoticComponent<Omit<ButtonGroupTextProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
394
+ type ButtonGroupTextProps = useRender.ComponentProps<'div'>;
395
+ declare namespace ButtonGroupText {
396
+ type Props = ButtonGroupTextProps;
397
+ }
398
+ declare const ButtonGroupSeparator: React.ForwardRefExoticComponent<Omit<ButtonGroupSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
399
+ interface ButtonGroupSeparatorProps extends React.ComponentProps<typeof Separator> {}
400
+ declare namespace ButtonGroupSeparator {
401
+ type Props = ButtonGroupSeparatorProps;
402
+ }
372
403
  //#endregion
373
404
  //#region src/components/calendar.d.ts
374
405
  declare function Calendar({
@@ -381,51 +412,65 @@ declare function Calendar({
381
412
  formatters,
382
413
  components,
383
414
  ...props
384
- }: React$2.ComponentProps<typeof DayPicker> & {
385
- buttonVariant?: React$2.ComponentProps<typeof Button>['variant'];
386
- }): react_jsx_runtime0.JSX.Element;
415
+ }: Calendar.Props): react_jsx_runtime0.JSX.Element;
416
+ type CalendarProps = React.ComponentProps<typeof DayPicker> & {
417
+ buttonVariant?: React.ComponentProps<typeof Button>['variant'];
418
+ };
419
+ declare namespace Calendar {
420
+ type Props = CalendarProps;
421
+ }
387
422
  declare function CalendarDayButton({
388
423
  className: dayClassName,
389
424
  day,
390
425
  modifiers,
391
426
  locale,
392
427
  ...props
393
- }: React$2.ComponentProps<typeof DayButton> & {
428
+ }: CalendarDayButton.Props): react_jsx_runtime0.JSX.Element;
429
+ interface CalendarDayButtonProps extends React.ComponentProps<typeof DayButton> {
394
430
  locale?: Partial<Locale>;
395
- }): react_jsx_runtime0.JSX.Element;
431
+ }
432
+ declare namespace CalendarDayButton {
433
+ type Props = CalendarDayButtonProps;
434
+ }
396
435
  //#endregion
397
436
  //#region src/components/card.d.ts
398
- declare function Card({
399
- className,
400
- size,
401
- ...props
402
- }: React$2.ComponentProps<'div'> & {
437
+ declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
438
+ interface CardProps extends React.ComponentProps<'div'> {
403
439
  size?: 'default' | 'sm';
404
- }): react_jsx_runtime0.JSX.Element;
405
- declare function CardHeader({
406
- className,
407
- ...props
408
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
409
- declare function CardTitle({
410
- className,
411
- ...props
412
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
413
- declare function CardDescription({
414
- className,
415
- ...props
416
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
417
- declare function CardAction({
418
- className,
419
- ...props
420
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
421
- declare function CardContent({
422
- className,
423
- ...props
424
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
425
- declare function CardFooter({
426
- className,
427
- ...props
428
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
440
+ }
441
+ declare namespace Card {
442
+ type Props = CardProps;
443
+ }
444
+ declare const CardHeader: React.ForwardRefExoticComponent<Omit<CardHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
445
+ interface CardHeaderProps extends React.ComponentProps<'div'> {}
446
+ declare namespace CardHeader {
447
+ type Props = CardHeaderProps;
448
+ }
449
+ declare const CardTitle: React.ForwardRefExoticComponent<Omit<CardTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
450
+ interface CardTitleProps extends React.ComponentProps<'div'> {}
451
+ declare namespace CardTitle {
452
+ type Props = CardTitleProps;
453
+ }
454
+ declare const CardDescription: React.ForwardRefExoticComponent<Omit<CardDescriptionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
455
+ interface CardDescriptionProps extends React.ComponentProps<'div'> {}
456
+ declare namespace CardDescription {
457
+ type Props = CardDescriptionProps;
458
+ }
459
+ declare const CardAction: React.ForwardRefExoticComponent<Omit<CardActionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
460
+ interface CardActionProps extends React.ComponentProps<'div'> {}
461
+ declare namespace CardAction {
462
+ type Props = CardActionProps;
463
+ }
464
+ declare const CardContent: React.ForwardRefExoticComponent<Omit<CardContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
465
+ interface CardContentProps extends React.ComponentProps<'div'> {}
466
+ declare namespace CardContent {
467
+ type Props = CardContentProps;
468
+ }
469
+ declare const CardFooter: React.ForwardRefExoticComponent<Omit<CardFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
470
+ interface CardFooterProps extends React.ComponentProps<'div'> {}
471
+ declare namespace CardFooter {
472
+ type Props = CardFooterProps;
473
+ }
429
474
  //#endregion
430
475
  //#region src/components/carousel.d.ts
431
476
  type CarouselApi = UseEmblaCarouselType[1];
@@ -438,38 +483,37 @@ type CarouselProps = {
438
483
  orientation?: 'horizontal' | 'vertical';
439
484
  setApi?: (api: CarouselApi) => void;
440
485
  };
441
- declare function Carousel({
442
- orientation,
443
- opts,
444
- setApi,
445
- plugins,
446
- className,
447
- children,
448
- ...props
449
- }: React$2.ComponentProps<'div'> & CarouselProps): react_jsx_runtime0.JSX.Element;
450
- declare function CarouselContent({
451
- className,
452
- ...props
453
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
454
- declare function CarouselItem({
455
- className,
456
- ...props
457
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
458
- declare function CarouselPrevious({
459
- className,
460
- variant,
461
- size,
462
- ...props
463
- }: React$2.ComponentProps<typeof Button>): react_jsx_runtime0.JSX.Element;
464
- declare function CarouselNext({
465
- className,
466
- variant,
467
- size,
468
- ...props
469
- }: React$2.ComponentProps<typeof Button>): react_jsx_runtime0.JSX.Element;
486
+ declare const Carousel: React.ForwardRefExoticComponent<Omit<Carousel.Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
487
+ declare namespace Carousel {
488
+ type Props = React.ComponentProps<'div'> & CarouselProps;
489
+ }
490
+ declare const CarouselContent: React.ForwardRefExoticComponent<Omit<CarouselContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
491
+ interface CarouselContentProps extends React.ComponentProps<'div'> {}
492
+ declare namespace CarouselContent {
493
+ type Props = CarouselContentProps;
494
+ }
495
+ declare const CarouselItem: React.ForwardRefExoticComponent<Omit<CarouselItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
496
+ interface CarouselItemProps extends React.ComponentProps<'div'> {}
497
+ declare namespace CarouselItem {
498
+ type Props = CarouselItemProps;
499
+ }
500
+ declare const CarouselPrevious: React.ForwardRefExoticComponent<Omit<CarouselPreviousProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
501
+ interface CarouselPreviousProps extends React.ComponentProps<typeof Button> {}
502
+ declare namespace CarouselPrevious {
503
+ type Props = CarouselPreviousProps;
504
+ }
505
+ declare const CarouselNext: React.ForwardRefExoticComponent<Omit<CarouselNextProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
506
+ interface CarouselNextProps extends React.ComponentProps<typeof Button> {}
507
+ declare namespace CarouselNext {
508
+ type Props = CarouselNextProps;
509
+ }
470
510
  //#endregion
471
511
  //#region src/components/checkbox.d.ts
472
- declare const Checkbox: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.CheckboxRootProps, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
512
+ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
513
+ interface CheckboxProps extends Checkbox$1.Root.Props {}
514
+ declare namespace Checkbox {
515
+ type Props = CheckboxProps;
516
+ }
473
517
  //#endregion
474
518
  //#region src/components/chip.d.ts
475
519
  /**
@@ -477,9 +521,9 @@ declare const Checkbox: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.C
477
521
  * inherits the chip's text color and brightens on hover. Exported so the
478
522
  * combobox can reuse the exact treatment for its Base-UI-bound chips.
479
523
  */
480
- declare const ChipRemove: React$2.ForwardRefExoticComponent<Omit<ChipRemoveProps, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
524
+ declare const ChipRemove: React.ForwardRefExoticComponent<Omit<ChipRemoveProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
481
525
  interface ChipRemoveProps extends Button.Props {
482
- children?: React$2.ReactNode;
526
+ children?: React.ReactNode;
483
527
  }
484
528
  declare namespace ChipRemove {
485
529
  type Props = ChipRemoveProps;
@@ -490,7 +534,7 @@ declare namespace ChipRemove {
490
534
  * non-interactive — only the X reacts to hover. For combobox-bound chips that
491
535
  * must drive Base UI's selection state, see `ComboboxChip`.
492
536
  */
493
- declare const Chip: React$2.ForwardRefExoticComponent<Omit<ChipProps, "ref"> & React$2.RefAttributes<HTMLSpanElement>>;
537
+ declare const Chip: React.ForwardRefExoticComponent<Omit<ChipProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
494
538
  interface ChipProps extends Omit<Badge.Props, 'size' | 'render'> {
495
539
  color?: BadgeColor;
496
540
  tone?: BadgeTone;
@@ -510,7 +554,7 @@ declare namespace Chip {
510
554
  * `max-w-36` (144px). Compose inside a `FilterGroup` with a trailing
511
555
  * `FilterClearAllButton` (see the FilterBar story).
512
556
  */
513
- declare const Filter: React$2.ForwardRefExoticComponent<FilterProps & React$2.RefAttributes<HTMLSpanElement>>;
557
+ declare const Filter: React.ForwardRefExoticComponent<FilterProps & React.RefAttributes<HTMLSpanElement>>;
514
558
  interface FilterProps extends Pick<Chip.Props, 'className' | 'children'> {
515
559
  /** Called when the trailing X is activated to clear this filter. */
516
560
  onRemove: () => void;
@@ -526,31 +570,37 @@ declare namespace Filter {
526
570
  * horizontal `ScrollArea` (inset scroll + edge fade) — it does not wrap onto
527
571
  * multiple lines.
528
572
  */
529
- declare const FilterGroup: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
573
+ declare const FilterGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
530
574
  declare namespace FilterGroup {
531
- type Props = React$2.ComponentProps<'div'>;
575
+ type Props = React.ComponentProps<'div'>;
532
576
  }
533
577
  /**
534
578
  * The trailing "Clear all filters" action for a `FilterGroup` — a ghost,
535
579
  * small `Button` with the styling pinned. Provide `onClick`; the label
536
580
  * defaults to "Clear all filters" (pass translated `children` to override).
537
581
  */
538
- declare const FilterClearAllButton: React$2.ForwardRefExoticComponent<Omit<FilterClearAllButtonProps, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
582
+ declare const FilterClearAllButton: React.ForwardRefExoticComponent<Omit<FilterClearAllButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
539
583
  interface FilterClearAllButtonProps extends Omit<Button.Props, 'variant' | 'size'> {}
540
584
  declare namespace FilterClearAllButton {
541
585
  type Props = FilterClearAllButtonProps;
542
586
  }
543
587
  //#endregion
544
588
  //#region src/components/collapsible.d.ts
545
- declare function Collapsible({
546
- ...props
547
- }: Collapsible$1.Root.Props): react_jsx_runtime0.JSX.Element;
548
- declare function CollapsibleTrigger({
549
- ...props
550
- }: Collapsible$1.Trigger.Props): react_jsx_runtime0.JSX.Element;
551
- declare function CollapsibleContent({
552
- ...props
553
- }: Collapsible$1.Panel.Props): react_jsx_runtime0.JSX.Element;
589
+ declare const Collapsible: React.ForwardRefExoticComponent<Omit<CollapsibleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
590
+ interface CollapsibleProps extends Collapsible$1.Root.Props {}
591
+ declare namespace Collapsible {
592
+ type Props = CollapsibleProps;
593
+ }
594
+ declare const CollapsibleTrigger: React.ForwardRefExoticComponent<Omit<CollapsibleTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
595
+ interface CollapsibleTriggerProps extends Collapsible$1.Trigger.Props {}
596
+ declare namespace CollapsibleTrigger {
597
+ type Props = CollapsibleTriggerProps;
598
+ }
599
+ declare const CollapsibleContent: React.ForwardRefExoticComponent<Omit<CollapsibleContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
600
+ interface CollapsibleContentProps extends Collapsible$1.Panel.Props {}
601
+ declare namespace CollapsibleContent {
602
+ type Props = CollapsibleContentProps;
603
+ }
554
604
  //#endregion
555
605
  //#region src/components/combobox.d.ts
556
606
  declare const Combobox: typeof Combobox$1.Root;
@@ -558,14 +608,14 @@ declare function ComboboxValue(componentProps: ComboboxValue.Props): react_jsx_r
558
608
  declare namespace ComboboxValue {
559
609
  type Props = Combobox$1.Value.Props;
560
610
  }
561
- declare const ComboboxTrigger: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteTriggerProps, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
611
+ declare const ComboboxTrigger: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
562
612
  declare namespace ComboboxTrigger {
563
613
  type Props = Combobox$1.Trigger.Props;
564
614
  }
565
615
  declare namespace ComboboxClear {
566
616
  type Props = Combobox$1.Clear.Props;
567
617
  }
568
- declare const ComboboxInput: React$2.ForwardRefExoticComponent<ComboboxInputProps & React$2.RefAttributes<HTMLDivElement>>;
618
+ declare const ComboboxInput: React.ForwardRefExoticComponent<ComboboxInputProps & React.RefAttributes<HTMLDivElement>>;
569
619
  interface ComboboxInputProps extends Omit<Combobox$1.Input.Props, 'ref'> {
570
620
  showTrigger?: boolean;
571
621
  showClear?: boolean;
@@ -573,24 +623,24 @@ interface ComboboxInputProps extends Omit<Combobox$1.Input.Props, 'ref'> {
573
623
  declare namespace ComboboxInput {
574
624
  type Props = ComboboxInputProps;
575
625
  }
576
- declare const ComboboxContent: React$2.ForwardRefExoticComponent<Omit<ComboboxContentProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
626
+ declare const ComboboxContent: React.ForwardRefExoticComponent<Omit<ComboboxContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
577
627
  interface ComboboxContentProps extends Combobox$1.Popup.Props, Pick<Combobox$1.Positioner.Props, 'side' | 'align' | 'sideOffset' | 'alignOffset' | 'anchor'> {}
578
628
  declare namespace ComboboxContent {
579
629
  type Props = ComboboxContentProps;
580
630
  }
581
- declare const ComboboxList: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteListProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
631
+ declare const ComboboxList: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
582
632
  declare namespace ComboboxList {
583
633
  type Props = Combobox$1.List.Props;
584
634
  }
585
- declare const ComboboxItem: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteItemProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
635
+ declare const ComboboxItem: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
586
636
  declare namespace ComboboxItem {
587
637
  type Props = Combobox$1.Item.Props;
588
638
  }
589
- declare const ComboboxGroup: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteGroupProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
639
+ declare const ComboboxGroup: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
590
640
  declare namespace ComboboxGroup {
591
641
  type Props = Combobox$1.Group.Props;
592
642
  }
593
- declare const ComboboxLabel: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteGroupLabelProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
643
+ declare const ComboboxLabel: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
594
644
  declare namespace ComboboxLabel {
595
645
  type Props = Combobox$1.GroupLabel.Props;
596
646
  }
@@ -598,124 +648,145 @@ declare function ComboboxCollection(componentProps: ComboboxCollection.Props): r
598
648
  declare namespace ComboboxCollection {
599
649
  type Props = Combobox$1.Collection.Props;
600
650
  }
601
- declare const ComboboxEmpty: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteEmptyProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
651
+ declare const ComboboxEmpty: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
602
652
  declare namespace ComboboxEmpty {
603
653
  type Props = Combobox$1.Empty.Props;
604
654
  }
605
- declare const ComboboxSeparator: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.SeparatorProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
655
+ declare const ComboboxSeparator: React.ForwardRefExoticComponent<Omit<_base_ui_react0.SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
606
656
  declare namespace ComboboxSeparator {
607
657
  type Props = Combobox$1.Separator.Props;
608
658
  }
609
- declare const ComboboxChips: React$2.ForwardRefExoticComponent<Omit<ComboboxChips.Props, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
659
+ declare const ComboboxChips: React.ForwardRefExoticComponent<Omit<ComboboxChips.Props, "ref"> & React.RefAttributes<HTMLDivElement>>;
610
660
  declare namespace ComboboxChips {
611
- type Props = React$2.ComponentPropsWithoutRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props;
661
+ type Props = React.ComponentPropsWithoutRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props;
612
662
  }
613
- declare const ComboboxChip: React$2.ForwardRefExoticComponent<Omit<ComboboxChipProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
663
+ declare const ComboboxChip: React.ForwardRefExoticComponent<Omit<ComboboxChipProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
614
664
  interface ComboboxChipProps extends Combobox$1.Chip.Props, Pick<Chip.Props, 'color' | 'tone' | 'legacyColor'> {
615
665
  showRemove?: boolean;
616
666
  }
617
667
  declare namespace ComboboxChip {
618
668
  type Props = ComboboxChipProps;
619
669
  }
620
- declare const ComboboxChipsInput: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteInputProps, "ref"> & React$2.RefAttributes<HTMLInputElement>>;
621
- declare function useComboboxAnchor(): React$2.MutableRefObject<HTMLDivElement | null>;
670
+ declare const ComboboxChipsInput: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
671
+ declare function useComboboxAnchor(): React.MutableRefObject<HTMLDivElement | null>;
622
672
  //#endregion
623
673
  //#region src/components/dialog.d.ts
624
- declare function Dialog({
625
- ...props
626
- }: Dialog$1.Root.Props): react_jsx_runtime0.JSX.Element;
627
- declare function DialogTrigger({
628
- ...props
629
- }: Dialog$1.Trigger.Props): react_jsx_runtime0.JSX.Element;
630
- declare function DialogPortal({
631
- ...props
632
- }: Dialog$1.Portal.Props): react_jsx_runtime0.JSX.Element;
633
- declare function DialogClose({
634
- ...props
635
- }: Dialog$1.Close.Props): react_jsx_runtime0.JSX.Element;
636
- declare function DialogOverlay({
637
- className,
638
- ...props
639
- }: Dialog$1.Backdrop.Props): react_jsx_runtime0.JSX.Element;
640
- declare function DialogContent({
641
- className,
642
- children,
643
- showCloseButton,
644
- ...props
645
- }: Dialog$1.Popup.Props & {
674
+ declare function Dialog(componentProps: Dialog.Props): react_jsx_runtime0.JSX.Element;
675
+ interface DialogProps extends Dialog$1.Root.Props {}
676
+ declare namespace Dialog {
677
+ type Props = DialogProps;
678
+ }
679
+ declare const DialogTrigger: React.ForwardRefExoticComponent<Omit<DialogTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
680
+ interface DialogTriggerProps extends Dialog$1.Trigger.Props {}
681
+ declare namespace DialogTrigger {
682
+ type Props = DialogTriggerProps;
683
+ }
684
+ declare function DialogPortal(componentProps: DialogPortal.Props): react_jsx_runtime0.JSX.Element;
685
+ interface DialogPortalProps extends Dialog$1.Portal.Props {}
686
+ declare namespace DialogPortal {
687
+ type Props = DialogPortalProps;
688
+ }
689
+ declare const DialogClose: React.ForwardRefExoticComponent<Omit<DialogCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
690
+ interface DialogCloseProps extends Dialog$1.Close.Props {}
691
+ declare namespace DialogClose {
692
+ type Props = DialogCloseProps;
693
+ }
694
+ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogOverlayProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
695
+ interface DialogOverlayProps extends Dialog$1.Backdrop.Props {}
696
+ declare namespace DialogOverlay {
697
+ type Props = DialogOverlayProps;
698
+ }
699
+ declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
700
+ interface DialogContentProps extends Dialog$1.Popup.Props {
646
701
  showCloseButton?: boolean;
647
- }): react_jsx_runtime0.JSX.Element;
648
- declare function DialogHeader({
649
- className,
650
- ...props
651
- }: React$2.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
652
- declare function DialogFooter({
653
- className,
654
- showCloseButton,
655
- children,
656
- ...props
657
- }: React$2.ComponentProps<"div"> & {
702
+ }
703
+ declare namespace DialogContent {
704
+ type Props = DialogContentProps;
705
+ }
706
+ declare const DialogHeader: React.ForwardRefExoticComponent<Omit<DialogHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
707
+ interface DialogHeaderProps extends React.ComponentProps<'div'> {}
708
+ declare namespace DialogHeader {
709
+ type Props = DialogHeaderProps;
710
+ }
711
+ declare const DialogFooter: React.ForwardRefExoticComponent<Omit<DialogFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
712
+ interface DialogFooterProps extends React.ComponentProps<'div'> {
658
713
  showCloseButton?: boolean;
659
- }): react_jsx_runtime0.JSX.Element;
660
- declare function DialogTitle({
661
- className,
662
- ...props
663
- }: Dialog$1.Title.Props): react_jsx_runtime0.JSX.Element;
664
- declare function DialogDescription({
665
- className,
666
- ...props
667
- }: Dialog$1.Description.Props): react_jsx_runtime0.JSX.Element;
714
+ }
715
+ declare namespace DialogFooter {
716
+ type Props = DialogFooterProps;
717
+ }
718
+ declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
719
+ interface DialogTitleProps extends Dialog$1.Title.Props {}
720
+ declare namespace DialogTitle {
721
+ type Props = DialogTitleProps;
722
+ }
723
+ declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
724
+ interface DialogDescriptionProps extends Dialog$1.Description.Props {}
725
+ declare namespace DialogDescription {
726
+ type Props = DialogDescriptionProps;
727
+ }
668
728
  //#endregion
669
729
  //#region src/components/command.d.ts
670
- declare function Command({
671
- className,
672
- ...props
673
- }: React$2.ComponentProps<typeof Command$1>): react_jsx_runtime0.JSX.Element;
674
- declare function CommandDialog({
675
- title,
676
- description,
677
- children,
678
- ...props
679
- }: React$2.ComponentProps<typeof Dialog> & {
730
+ declare const Command: React.ForwardRefExoticComponent<Omit<CommandProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
731
+ interface CommandProps extends React.ComponentProps<typeof Command$1> {}
732
+ declare namespace Command {
733
+ type Props = CommandProps;
734
+ }
735
+ declare function CommandDialog(componentProps: CommandDialog.Props): react_jsx_runtime0.JSX.Element;
736
+ interface CommandDialogProps extends React.ComponentProps<typeof Dialog> {
680
737
  title?: string;
681
738
  description?: string;
682
- }): react_jsx_runtime0.JSX.Element;
683
- declare function CommandInput({
684
- className,
685
- ...props
686
- }: React$2.ComponentProps<typeof Command$1.Input>): react_jsx_runtime0.JSX.Element;
687
- declare function CommandList({
688
- className,
689
- ...props
690
- }: React$2.ComponentProps<typeof Command$1.List>): react_jsx_runtime0.JSX.Element;
691
- declare function CommandEmpty({
692
- ...props
693
- }: React$2.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime0.JSX.Element;
694
- declare function CommandGroup({
695
- className,
696
- ...props
697
- }: React$2.ComponentProps<typeof Command$1.Group>): react_jsx_runtime0.JSX.Element;
698
- declare function CommandSeparator({
699
- className,
700
- ...props
701
- }: React$2.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime0.JSX.Element;
702
- declare function CommandItem({
703
- className,
704
- ...props
705
- }: React$2.ComponentProps<typeof Command$1.Item>): react_jsx_runtime0.JSX.Element;
706
- declare function CommandShortcut({
707
- className,
708
- ...props
709
- }: React$2.ComponentProps<'span'>): react_jsx_runtime0.JSX.Element;
739
+ }
740
+ declare namespace CommandDialog {
741
+ type Props = CommandDialogProps;
742
+ }
743
+ declare const CommandInput: React.ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
744
+ interface CommandInputProps extends React.ComponentProps<typeof Command$1.Input> {}
745
+ declare namespace CommandInput {
746
+ type Props = CommandInputProps;
747
+ }
748
+ declare const CommandList: React.ForwardRefExoticComponent<Omit<CommandListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
749
+ interface CommandListProps extends React.ComponentProps<typeof Command$1.List> {}
750
+ declare namespace CommandList {
751
+ type Props = CommandListProps;
752
+ }
753
+ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<CommandEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
754
+ interface CommandEmptyProps extends React.ComponentProps<typeof Command$1.Empty> {}
755
+ declare namespace CommandEmpty {
756
+ type Props = CommandEmptyProps;
757
+ }
758
+ declare const CommandGroup: React.ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
759
+ interface CommandGroupProps extends React.ComponentProps<typeof Command$1.Group> {}
760
+ declare namespace CommandGroup {
761
+ type Props = CommandGroupProps;
762
+ }
763
+ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<CommandSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
764
+ interface CommandSeparatorProps extends React.ComponentProps<typeof Command$1.Separator> {}
765
+ declare namespace CommandSeparator {
766
+ type Props = CommandSeparatorProps;
767
+ }
768
+ declare const CommandItem: React.ForwardRefExoticComponent<Omit<CommandItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
769
+ interface CommandItemProps extends React.ComponentProps<typeof Command$1.Item> {}
770
+ declare namespace CommandItem {
771
+ type Props = CommandItemProps;
772
+ }
773
+ declare const CommandShortcut: React.ForwardRefExoticComponent<Omit<CommandShortcutProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
774
+ interface CommandShortcutProps extends React.ComponentProps<'span'> {}
775
+ declare namespace CommandShortcut {
776
+ type Props = CommandShortcutProps;
777
+ }
710
778
  //#endregion
711
779
  //#region src/components/country-flag.d.ts
712
780
  type FlagSize = 'sm' | 'md' | 'lg' | 'xl';
781
+ declare const CountryFlag: React.ForwardRefExoticComponent<CountryFlagProps & React.RefAttributes<SVGSVGElement>>;
713
782
  interface CountryFlagProps {
714
783
  countryIsoCode: CountryCode;
715
784
  size?: FlagSize;
716
785
  className?: string;
717
786
  }
718
- declare const CountryFlag: React$1.FC<CountryFlagProps>;
787
+ declare namespace CountryFlag {
788
+ type Props = CountryFlagProps;
789
+ }
719
790
  //#endregion
720
791
  //#region src/components/data-table.d.ts
721
792
  /** Async states a `DataTable` can be in (mirrors React Spectrum's `loadingState`). */
@@ -748,7 +819,7 @@ interface DataTableProps<TData> {
748
819
  * component (icon, copy, actions) — render different content based on context
749
820
  * (no data vs. no search results). Nothing is shown when omitted.
750
821
  */
751
- emptyState?: React$2.ReactNode;
822
+ emptyState?: React.ReactNode;
752
823
  /** Controlled sorting state. Pass alongside `onSortingChange` to enable sortable headers. */
753
824
  sorting?: SortingState;
754
825
  /** Called when the user toggles a sortable header. */
@@ -767,7 +838,7 @@ interface DataTableProps<TData> {
767
838
  /** Called when selection changes. */
768
839
  onRowSelectionChange?: OnChangeFn<RowSelectionState>;
769
840
  /** Bar rendered floating at the bottom while there is at least one selected row. */
770
- actionBar?: React$2.ReactNode;
841
+ actionBar?: React.ReactNode;
771
842
  /** Called when the user scrolls near the bottom; use to fetch the next page. */
772
843
  onFetchMore?: () => void;
773
844
  /** Whether more pages are available. */
@@ -787,26 +858,60 @@ interface DataTableProps<TData> {
787
858
  fillHeight?: boolean;
788
859
  className?: string;
789
860
  }
790
- declare function DataTable<TData>({
791
- columns,
792
- data,
793
- getRowId,
794
- loadingState,
795
- skeletonCount,
796
- emptyState,
797
- sorting,
798
- onSortingChange,
799
- enableRowSelection,
800
- rowSelection,
801
- onRowSelectionChange,
802
- actionBar,
803
- onFetchMore,
804
- hasMore,
805
- enableColumnResizing,
806
- fillHeight,
807
- onRowClick,
808
- className
809
- }: DataTableProps<TData>): react_jsx_runtime0.JSX.Element;
861
+ declare function DataTable<TData>(componentProps: DataTable.Props<TData>): react_jsx_runtime0.JSX.Element;
862
+ declare namespace DataTable {
863
+ type Props<TData> = DataTableProps<TData>;
864
+ }
865
+ //#endregion
866
+ //#region src/components/data-tree.d.ts
867
+ type SelectionMode = 'none' | 'single' | 'multiple';
868
+ interface DataTreeProps<T> {
869
+ /** Nested data. Each node may expose children via `getChildren`. */
870
+ items: T[];
871
+ /** Stable, unique key for a node. */
872
+ getKey: (item: T) => string;
873
+ /** Renders a node's label (text or rich content). */
874
+ getLabel: (item: T) => React.ReactNode;
875
+ /** Returns a node's children, or `undefined`/`[]` for a leaf. */
876
+ getChildren?: (item: T) => T[] | undefined;
877
+ /** Optional leading icon, resolved per node and folder/expansion state. */
878
+ getIcon?: (item: T, state: {
879
+ isFolder: boolean;
880
+ isExpanded: boolean;
881
+ }) => React.ReactNode;
882
+ /**
883
+ * Plain-text value used for typeahead and accessibility. Defaults to the
884
+ * label when it is a string, otherwise the key.
885
+ */
886
+ getTextValue?: (item: T) => string;
887
+ /**
888
+ * Selection behaviour (mirrors React Spectrum):
889
+ * - `'none'` (default) — no selection affordance.
890
+ * - `'single'` — one row highlighted on click.
891
+ * - `'multiple'` — tri-state checkboxes with parent↔child cascade.
892
+ */
893
+ selectionMode?: SelectionMode;
894
+ /** Controlled selected keys. */
895
+ selectedKeys?: string[];
896
+ /** Initial selected keys (uncontrolled). */
897
+ defaultSelectedKeys?: string[];
898
+ /** Called when the selection changes. */
899
+ onSelectionChange?: (keys: string[]) => void;
900
+ /** Controlled expanded keys. */
901
+ expandedKeys?: string[];
902
+ /** Initial expanded keys (uncontrolled). */
903
+ defaultExpandedKeys?: string[];
904
+ /** Called when the expanded set changes. */
905
+ onExpandedChange?: (keys: string[]) => void;
906
+ /** Pixel indentation per nesting level. Defaults to `20`. */
907
+ indent?: number;
908
+ className?: string;
909
+ 'aria-label'?: string;
910
+ }
911
+ declare namespace DataTree {
912
+ type Props<T> = DataTreeProps<T>;
913
+ }
914
+ declare function DataTree<T>(componentProps: DataTree.Props<T>): react_jsx_runtime0.JSX.Element;
810
915
  //#endregion
811
916
  //#region src/components/drawer.d.ts
812
917
  type DrawerPosition = 'right' | 'left' | 'top' | 'bottom';
@@ -815,286 +920,283 @@ declare function Drawer({
815
920
  swipeDirection,
816
921
  position,
817
922
  ...props
818
- }: DrawerPrimitive.Root.Props & {
923
+ }: Drawer.Props): React.ReactElement;
924
+ interface DrawerProps extends DrawerPrimitive.Root.Props {
819
925
  position?: DrawerPosition;
820
- }): React$1.ReactElement;
926
+ }
927
+ declare namespace Drawer {
928
+ type Props = DrawerProps;
929
+ }
821
930
  declare const DrawerPortal: typeof DrawerPrimitive.Portal;
822
- declare function DrawerTrigger(props: DrawerPrimitive.Trigger.Props): React$1.ReactElement;
823
- declare function DrawerClose(props: DrawerPrimitive.Close.Props): React$1.ReactElement;
824
- declare function DrawerSwipeArea({
825
- className,
826
- position: positionProp,
827
- ...props
828
- }: DrawerPrimitive.SwipeArea.Props & {
931
+ declare const DrawerTrigger: React.ForwardRefExoticComponent<Omit<DrawerTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
932
+ interface DrawerTriggerProps extends DrawerPrimitive.Trigger.Props {}
933
+ declare namespace DrawerTrigger {
934
+ type Props = DrawerTriggerProps;
935
+ }
936
+ declare const DrawerClose: React.ForwardRefExoticComponent<Omit<DrawerCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
937
+ interface DrawerCloseProps extends DrawerPrimitive.Close.Props {}
938
+ declare namespace DrawerClose {
939
+ type Props = DrawerCloseProps;
940
+ }
941
+ declare const DrawerSwipeArea: React.ForwardRefExoticComponent<Omit<DrawerSwipeAreaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
942
+ interface DrawerSwipeAreaProps extends DrawerPrimitive.SwipeArea.Props {
829
943
  position?: DrawerPosition;
830
- }): React$1.ReactElement;
831
- declare function DrawerBackdrop({
832
- className,
833
- inContainer,
834
- ...props
835
- }: DrawerPrimitive.Backdrop.Props & {
944
+ }
945
+ declare namespace DrawerSwipeArea {
946
+ type Props = DrawerSwipeAreaProps;
947
+ }
948
+ declare const DrawerBackdrop: React.ForwardRefExoticComponent<Omit<DrawerBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
949
+ interface DrawerBackdropProps extends DrawerPrimitive.Backdrop.Props {
836
950
  inContainer?: boolean;
837
- }): React$1.ReactElement;
838
- declare function DrawerViewport({
839
- className,
840
- position,
841
- variant,
842
- inContainer,
843
- ...props
844
- }: DrawerPrimitive.Viewport.Props & {
951
+ }
952
+ declare namespace DrawerBackdrop {
953
+ type Props = DrawerBackdropProps;
954
+ }
955
+ declare const DrawerViewport: React.ForwardRefExoticComponent<Omit<DrawerViewportProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
956
+ interface DrawerViewportProps extends DrawerPrimitive.Viewport.Props {
845
957
  position?: DrawerPosition;
846
958
  variant?: 'default' | 'straight' | 'inset';
847
959
  inContainer?: boolean;
848
- }): React$1.ReactElement;
849
- declare function DrawerPopup({
850
- className,
851
- children,
852
- showCloseButton,
853
- position: positionProp,
854
- variant,
855
- showBar,
856
- container,
857
- ...props
858
- }: DrawerPrimitive.Popup.Props & {
960
+ }
961
+ declare namespace DrawerViewport {
962
+ type Props = DrawerViewportProps;
963
+ }
964
+ declare const DrawerPopup: React.ForwardRefExoticComponent<Omit<DrawerPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
965
+ interface DrawerPopupProps extends DrawerPrimitive.Popup.Props {
859
966
  showCloseButton?: boolean;
860
967
  position?: DrawerPosition;
861
968
  variant?: 'default' | 'straight' | 'inset';
862
969
  showBar?: boolean;
863
970
  container?: DrawerPrimitive.Portal.Props['container'];
864
- }): React$1.ReactElement;
865
- declare function DrawerHeader({
866
- className,
867
- allowSelection,
868
- render,
869
- ...props
870
- }: useRender.ComponentProps<'div'> & {
971
+ }
972
+ declare namespace DrawerPopup {
973
+ type Props = DrawerPopupProps;
974
+ }
975
+ declare const DrawerHeader: React.ForwardRefExoticComponent<Omit<DrawerHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
976
+ interface DrawerHeaderProps extends useRender.ComponentProps<'div'> {
871
977
  allowSelection?: boolean;
872
- }): React$1.ReactElement;
873
- declare function DrawerFooter({
874
- className,
875
- variant,
876
- allowSelection,
877
- render,
878
- ...props
879
- }: useRender.ComponentProps<'div'> & {
978
+ }
979
+ declare namespace DrawerHeader {
980
+ type Props = DrawerHeaderProps;
981
+ }
982
+ declare const DrawerFooter: React.ForwardRefExoticComponent<Omit<DrawerFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
983
+ interface DrawerFooterProps extends useRender.ComponentProps<'div'> {
880
984
  variant?: 'default' | 'bare';
881
985
  allowSelection?: boolean;
882
- }): React$1.ReactElement;
883
- declare function DrawerTitle({
884
- className,
885
- ...props
886
- }: DrawerPrimitive.Title.Props): React$1.ReactElement;
887
- declare function DrawerDescription({
888
- className,
889
- ...props
890
- }: DrawerPrimitive.Description.Props): React$1.ReactElement;
891
- declare function DrawerPanel({
892
- className,
893
- scrollFade,
894
- scrollable,
895
- allowSelection,
896
- render,
897
- ...props
898
- }: useRender.ComponentProps<'div'> & {
986
+ }
987
+ declare namespace DrawerFooter {
988
+ type Props = DrawerFooterProps;
989
+ }
990
+ declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<DrawerTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
991
+ interface DrawerTitleProps extends DrawerPrimitive.Title.Props {}
992
+ declare namespace DrawerTitle {
993
+ type Props = DrawerTitleProps;
994
+ }
995
+ declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<DrawerDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
996
+ interface DrawerDescriptionProps extends DrawerPrimitive.Description.Props {}
997
+ declare namespace DrawerDescription {
998
+ type Props = DrawerDescriptionProps;
999
+ }
1000
+ declare const DrawerPanel: React.ForwardRefExoticComponent<Omit<DrawerPanelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1001
+ interface DrawerPanelProps extends useRender.ComponentProps<'div'> {
899
1002
  scrollFade?: boolean;
900
1003
  scrollable?: boolean;
901
1004
  allowSelection?: boolean;
902
- }): React$1.ReactElement;
903
- declare function DrawerBar({
904
- className,
905
- position: positionProp,
906
- render,
907
- ...props
908
- }: useRender.ComponentProps<'div'> & {
1005
+ }
1006
+ declare namespace DrawerPanel {
1007
+ type Props = DrawerPanelProps;
1008
+ }
1009
+ declare const DrawerBar: React.ForwardRefExoticComponent<Omit<DrawerBarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1010
+ interface DrawerBarProps extends useRender.ComponentProps<'div'> {
909
1011
  position?: DrawerPosition;
910
- }): React$1.ReactElement;
1012
+ }
1013
+ declare namespace DrawerBar {
1014
+ type Props = DrawerBarProps;
1015
+ }
911
1016
  declare const DrawerContent: typeof DrawerPrimitive.Content;
912
- declare function DrawerMenu({
913
- className,
914
- render,
915
- ...props
916
- }: useRender.ComponentProps<'nav'>): React$1.ReactElement;
917
- declare function DrawerMenuItem({
918
- className,
919
- variant,
920
- render,
921
- disabled,
922
- ...props
923
- }: useRender.ComponentProps<'button'> & {
1017
+ declare const DrawerMenu: React.ForwardRefExoticComponent<Omit<DrawerMenuProps, "ref"> & React.RefAttributes<HTMLElement>>;
1018
+ interface DrawerMenuProps extends useRender.ComponentProps<'nav'> {}
1019
+ declare namespace DrawerMenu {
1020
+ type Props = DrawerMenuProps;
1021
+ }
1022
+ declare const DrawerMenuItem: React.ForwardRefExoticComponent<Omit<DrawerMenuItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1023
+ interface DrawerMenuItemProps extends useRender.ComponentProps<'button'> {
924
1024
  variant?: 'default' | 'destructive';
925
- }): React$1.ReactElement;
926
- declare function DrawerMenuSeparator({
927
- className,
928
- render,
929
- ...props
930
- }: useRender.ComponentProps<'div'>): React$1.ReactElement;
931
- declare function DrawerMenuGroup({
932
- className,
933
- render,
934
- ...props
935
- }: useRender.ComponentProps<'div'>): React$1.ReactElement;
936
- declare function DrawerMenuGroupLabel({
937
- className,
938
- render,
939
- ...props
940
- }: useRender.ComponentProps<'div'>): React$1.ReactElement;
941
- declare function DrawerMenuTrigger({
942
- className,
943
- children,
944
- ...props
945
- }: DrawerPrimitive.Trigger.Props): React$1.ReactElement;
946
- declare function DrawerMenuCheckboxItem({
947
- className,
948
- children,
949
- checked,
950
- defaultChecked,
951
- onCheckedChange,
952
- variant,
953
- disabled,
954
- render,
955
- ...props
956
- }: Checkbox$1.Root.Props & {
1025
+ }
1026
+ declare namespace DrawerMenuItem {
1027
+ type Props = DrawerMenuItemProps;
1028
+ }
1029
+ declare const DrawerMenuSeparator: React.ForwardRefExoticComponent<Omit<DrawerMenuSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1030
+ interface DrawerMenuSeparatorProps extends useRender.ComponentProps<'div'> {}
1031
+ declare namespace DrawerMenuSeparator {
1032
+ type Props = DrawerMenuSeparatorProps;
1033
+ }
1034
+ declare const DrawerMenuGroup: React.ForwardRefExoticComponent<Omit<DrawerMenuGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1035
+ interface DrawerMenuGroupProps extends useRender.ComponentProps<'div'> {}
1036
+ declare namespace DrawerMenuGroup {
1037
+ type Props = DrawerMenuGroupProps;
1038
+ }
1039
+ declare const DrawerMenuGroupLabel: React.ForwardRefExoticComponent<Omit<DrawerMenuGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1040
+ interface DrawerMenuGroupLabelProps extends useRender.ComponentProps<'div'> {}
1041
+ declare namespace DrawerMenuGroupLabel {
1042
+ type Props = DrawerMenuGroupLabelProps;
1043
+ }
1044
+ declare const DrawerMenuTrigger: React.ForwardRefExoticComponent<Omit<DrawerMenuTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1045
+ interface DrawerMenuTriggerProps extends DrawerPrimitive.Trigger.Props {}
1046
+ declare namespace DrawerMenuTrigger {
1047
+ type Props = DrawerMenuTriggerProps;
1048
+ }
1049
+ declare const DrawerMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DrawerMenuCheckboxItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
1050
+ interface DrawerMenuCheckboxItemProps extends Checkbox$1.Root.Props {
957
1051
  variant?: 'default' | 'switch';
958
- render?: React$1.ReactElement;
959
- }): React$1.ReactElement;
960
- declare function DrawerMenuRadioGroup({
961
- className,
962
- ...props
963
- }: RadioGroup$1.Props): React$1.ReactElement;
964
- declare function DrawerMenuRadioItem({
965
- className,
966
- children,
967
- value,
968
- disabled,
969
- render,
970
- ...props
971
- }: Radio.Root.Props & {
1052
+ render?: React.ReactElement;
1053
+ }
1054
+ declare namespace DrawerMenuCheckboxItem {
1055
+ type Props = DrawerMenuCheckboxItemProps;
1056
+ }
1057
+ declare const DrawerMenuRadioGroup: React.ForwardRefExoticComponent<Omit<DrawerMenuRadioGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1058
+ interface DrawerMenuRadioGroupProps extends RadioGroup$1.Props {}
1059
+ declare namespace DrawerMenuRadioGroup {
1060
+ type Props = DrawerMenuRadioGroupProps;
1061
+ }
1062
+ declare const DrawerMenuRadioItem: React.ForwardRefExoticComponent<Omit<DrawerMenuRadioItemProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
1063
+ interface DrawerMenuRadioItemProps extends Radio.Root.Props {
972
1064
  value: string;
973
- render?: React$1.ReactElement;
974
- }): React$1.ReactElement;
1065
+ render?: React.ReactElement;
1066
+ }
1067
+ declare namespace DrawerMenuRadioItem {
1068
+ type Props = DrawerMenuRadioItemProps;
1069
+ }
975
1070
  //#endregion
976
1071
  //#region src/components/dropdown-menu.d.ts
977
- declare function DropdownMenu({
978
- ...props
979
- }: Menu.Root.Props): react_jsx_runtime0.JSX.Element;
980
- declare function DropdownMenuPortal({
981
- ...props
982
- }: Menu.Portal.Props): react_jsx_runtime0.JSX.Element;
983
- declare function DropdownMenuTrigger({
984
- ...props
985
- }: Menu.Trigger.Props): react_jsx_runtime0.JSX.Element;
986
- declare function DropdownMenuContent({
987
- align,
988
- alignOffset,
989
- side,
990
- sideOffset,
991
- className,
992
- container,
993
- ...props
994
- }: Menu.Popup.Props & Pick<Menu.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'> & {
1072
+ declare function DropdownMenu(componentProps: DropdownMenu.Props): react_jsx_runtime0.JSX.Element;
1073
+ interface DropdownMenuProps extends Menu.Root.Props {}
1074
+ declare namespace DropdownMenu {
1075
+ type Props = DropdownMenuProps;
1076
+ }
1077
+ declare function DropdownMenuPortal(componentProps: DropdownMenuPortal.Props): react_jsx_runtime0.JSX.Element;
1078
+ interface DropdownMenuPortalProps extends Menu.Portal.Props {}
1079
+ declare namespace DropdownMenuPortal {
1080
+ type Props = DropdownMenuPortalProps;
1081
+ }
1082
+ declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1083
+ interface DropdownMenuTriggerProps extends Menu.Trigger.Props {}
1084
+ declare namespace DropdownMenuTrigger {
1085
+ type Props = DropdownMenuTriggerProps;
1086
+ }
1087
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1088
+ interface DropdownMenuContentProps extends Menu.Popup.Props, Pick<Menu.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'> {
995
1089
  container?: Menu.Portal.Props['container'];
996
- }): react_jsx_runtime0.JSX.Element;
997
- declare function DropdownMenuGroup({
998
- ...props
999
- }: Menu.Group.Props): react_jsx_runtime0.JSX.Element;
1000
- declare function DropdownMenuLabel({
1001
- className,
1002
- inset,
1003
- ...props
1004
- }: Menu.GroupLabel.Props & {
1090
+ }
1091
+ declare namespace DropdownMenuContent {
1092
+ type Props = DropdownMenuContentProps;
1093
+ }
1094
+ declare const DropdownMenuGroup: React.ForwardRefExoticComponent<Omit<DropdownMenuGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1095
+ interface DropdownMenuGroupProps extends Menu.Group.Props {}
1096
+ declare namespace DropdownMenuGroup {
1097
+ type Props = DropdownMenuGroupProps;
1098
+ }
1099
+ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1100
+ interface DropdownMenuLabelProps extends Menu.GroupLabel.Props {
1005
1101
  inset?: boolean;
1006
- }): react_jsx_runtime0.JSX.Element;
1007
- declare function DropdownMenuItem({
1008
- className,
1009
- inset,
1010
- variant,
1011
- ...props
1012
- }: Menu.Item.Props & {
1102
+ }
1103
+ declare namespace DropdownMenuLabel {
1104
+ type Props = DropdownMenuLabelProps;
1105
+ }
1106
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
1107
+ interface DropdownMenuItemProps extends Menu.Item.Props {
1013
1108
  inset?: boolean;
1014
1109
  variant?: 'default' | 'destructive';
1015
- }): react_jsx_runtime0.JSX.Element;
1016
- declare function DropdownMenuSub({
1017
- ...props
1018
- }: Menu.SubmenuRoot.Props): react_jsx_runtime0.JSX.Element;
1019
- declare function DropdownMenuSubTrigger({
1020
- className,
1021
- inset,
1022
- children,
1023
- ...props
1024
- }: Menu.SubmenuTrigger.Props & {
1110
+ }
1111
+ declare namespace DropdownMenuItem {
1112
+ type Props = DropdownMenuItemProps;
1113
+ }
1114
+ declare function DropdownMenuSub(componentProps: DropdownMenuSub.Props): react_jsx_runtime0.JSX.Element;
1115
+ interface DropdownMenuSubProps extends Menu.SubmenuRoot.Props {}
1116
+ declare namespace DropdownMenuSub {
1117
+ type Props = DropdownMenuSubProps;
1118
+ }
1119
+ declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuSubTriggerProps, "ref"> & React.RefAttributes<HTMLElement>>;
1120
+ interface DropdownMenuSubTriggerProps extends Menu.SubmenuTrigger.Props {
1025
1121
  inset?: boolean;
1026
- }): react_jsx_runtime0.JSX.Element;
1027
- declare function DropdownMenuSubContent({
1028
- align,
1029
- alignOffset,
1030
- side,
1031
- sideOffset,
1032
- className,
1033
- ...props
1034
- }: React$2.ComponentProps<typeof DropdownMenuContent>): react_jsx_runtime0.JSX.Element;
1035
- declare function DropdownMenuCheckboxItem({
1036
- className,
1037
- children,
1038
- checked,
1039
- inset,
1040
- ...props
1041
- }: Menu.CheckboxItem.Props & {
1122
+ }
1123
+ declare namespace DropdownMenuSubTrigger {
1124
+ type Props = DropdownMenuSubTriggerProps;
1125
+ }
1126
+ declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuSubContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1127
+ interface DropdownMenuSubContentProps extends React.ComponentProps<typeof DropdownMenuContent> {}
1128
+ declare namespace DropdownMenuSubContent {
1129
+ type Props = DropdownMenuSubContentProps;
1130
+ }
1131
+ declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuCheckboxItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
1132
+ interface DropdownMenuCheckboxItemProps extends Menu.CheckboxItem.Props {
1042
1133
  inset?: boolean;
1043
- }): react_jsx_runtime0.JSX.Element;
1044
- declare function DropdownMenuRadioGroup({
1045
- ...props
1046
- }: Menu.RadioGroup.Props): react_jsx_runtime0.JSX.Element;
1047
- declare function DropdownMenuRadioItem({
1048
- className,
1049
- children,
1050
- inset,
1051
- ...props
1052
- }: Menu.RadioItem.Props & {
1134
+ }
1135
+ declare namespace DropdownMenuCheckboxItem {
1136
+ type Props = DropdownMenuCheckboxItemProps;
1137
+ }
1138
+ declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<Omit<DropdownMenuRadioGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1139
+ interface DropdownMenuRadioGroupProps extends Menu.RadioGroup.Props {}
1140
+ declare namespace DropdownMenuRadioGroup {
1141
+ type Props = DropdownMenuRadioGroupProps;
1142
+ }
1143
+ declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuRadioItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
1144
+ interface DropdownMenuRadioItemProps extends Menu.RadioItem.Props {
1053
1145
  inset?: boolean;
1054
- }): react_jsx_runtime0.JSX.Element;
1055
- declare function DropdownMenuSeparator({
1056
- className,
1057
- ...props
1058
- }: Menu.Separator.Props): react_jsx_runtime0.JSX.Element;
1059
- declare function DropdownMenuShortcut({
1060
- className,
1061
- ...props
1062
- }: React$2.ComponentProps<'span'>): react_jsx_runtime0.JSX.Element;
1063
- declare function DropdownMenuAddon({
1064
- className,
1065
- ...props
1066
- }: React$2.ComponentProps<'span'>): react_jsx_runtime0.JSX.Element;
1067
- type DropdownMenuContentProps = React$2.ComponentProps<typeof DropdownMenuContent>;
1146
+ }
1147
+ declare namespace DropdownMenuRadioItem {
1148
+ type Props = DropdownMenuRadioItemProps;
1149
+ }
1150
+ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1151
+ interface DropdownMenuSeparatorProps extends Menu.Separator.Props {}
1152
+ declare namespace DropdownMenuSeparator {
1153
+ type Props = DropdownMenuSeparatorProps;
1154
+ }
1155
+ declare const DropdownMenuShortcut: React.ForwardRefExoticComponent<Omit<DropdownMenuShortcutProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
1156
+ interface DropdownMenuShortcutProps extends React.ComponentProps<'span'> {}
1157
+ declare namespace DropdownMenuShortcut {
1158
+ type Props = DropdownMenuShortcutProps;
1159
+ }
1160
+ declare const DropdownMenuAddon: React.ForwardRefExoticComponent<Omit<DropdownMenuAddonProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
1161
+ interface DropdownMenuAddonProps extends React.ComponentProps<'span'> {}
1162
+ declare namespace DropdownMenuAddon {
1163
+ type Props = DropdownMenuAddonProps;
1164
+ }
1068
1165
  //#endregion
1069
1166
  //#region src/components/empty.d.ts
1070
- declare function Empty({
1071
- className,
1072
- ...props
1073
- }: React.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1074
- declare function EmptyHeader({
1075
- className,
1076
- ...props
1077
- }: React.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1167
+ declare const Empty: React.ForwardRefExoticComponent<Omit<EmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1168
+ interface EmptyProps extends React.ComponentProps<'div'> {}
1169
+ declare namespace Empty {
1170
+ type Props = EmptyProps;
1171
+ }
1172
+ declare const EmptyHeader: React.ForwardRefExoticComponent<Omit<EmptyHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1173
+ interface EmptyHeaderProps extends React.ComponentProps<'div'> {}
1174
+ declare namespace EmptyHeader {
1175
+ type Props = EmptyHeaderProps;
1176
+ }
1078
1177
  declare const emptyMediaVariants: (props?: ({
1079
1178
  variant?: "default" | "icon" | null | undefined;
1080
1179
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
1081
- declare function EmptyMedia({
1082
- className,
1083
- variant,
1084
- ...props
1085
- }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime0.JSX.Element;
1086
- declare function EmptyTitle({
1087
- className,
1088
- ...props
1089
- }: React.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1090
- declare function EmptyDescription({
1091
- className,
1092
- ...props
1093
- }: React.ComponentProps<'p'>): react_jsx_runtime0.JSX.Element;
1094
- declare function EmptyContent({
1095
- className,
1096
- ...props
1097
- }: React.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1180
+ declare const EmptyMedia: React.ForwardRefExoticComponent<Omit<EmptyMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1181
+ interface EmptyMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof emptyMediaVariants> {}
1182
+ declare namespace EmptyMedia {
1183
+ type Props = EmptyMediaProps;
1184
+ }
1185
+ declare const EmptyTitle: React.ForwardRefExoticComponent<Omit<EmptyTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1186
+ interface EmptyTitleProps extends React.ComponentProps<'div'> {}
1187
+ declare namespace EmptyTitle {
1188
+ type Props = EmptyTitleProps;
1189
+ }
1190
+ declare const EmptyDescription: React.ForwardRefExoticComponent<Omit<EmptyDescriptionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1191
+ interface EmptyDescriptionProps extends React.ComponentProps<'p'> {}
1192
+ declare namespace EmptyDescription {
1193
+ type Props = EmptyDescriptionProps;
1194
+ }
1195
+ declare const EmptyContent: React.ForwardRefExoticComponent<Omit<EmptyContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1196
+ interface EmptyContentProps extends React.ComponentProps<'div'> {}
1197
+ declare namespace EmptyContent {
1198
+ type Props = EmptyContentProps;
1199
+ }
1098
1200
  //#endregion
1099
1201
  //#region src/components/dropzone.d.ts
1100
1202
  /** Error codes — same set as react-dropzone, so consumers can share translation logic. */
@@ -1108,7 +1210,7 @@ interface FileRejection {
1108
1210
  file: File;
1109
1211
  errors: FileError[];
1110
1212
  }
1111
- interface DropzoneProps extends Omit<React$2.ComponentProps<'div'>, 'onDrop' | 'onError'> {
1213
+ interface DropzoneProps extends Omit<React.ComponentProps<'div'>, 'onDrop' | 'onError'> {
1112
1214
  /** e.g. `"audio/*,.pdf"`. */
1113
1215
  accept?: string;
1114
1216
  multiple?: boolean;
@@ -1123,9 +1225,9 @@ interface DropzoneProps extends Omit<React$2.ComponentProps<'div'>, 'onDrop' | '
1123
1225
  /** Fires with rejected files (same shape as react-dropzone's `onDropRejected`). */
1124
1226
  onError?: (rejections: FileRejection[]) => void;
1125
1227
  /** Overlay message during drag-over. */
1126
- hoverMessage?: React$2.ReactNode;
1228
+ hoverMessage?: React.ReactNode;
1127
1229
  /** Opt-in: shown in the destructive overlay when the dragged MIME doesn't match `accept`. */
1128
- dragRejectMessage?: React$2.ReactNode;
1230
+ dragRejectMessage?: React.ReactNode;
1129
1231
  }
1130
1232
  /**
1131
1233
  * Headless drop-target — handles drag/drop state, validation, and the hover
@@ -1133,8 +1235,11 @@ interface DropzoneProps extends Omit<React$2.ComponentProps<'div'>, 'onDrop' | '
1133
1235
  * standard dashed-border look, or compose around any other control (textarea,
1134
1236
  * etc.) for file-drop on an arbitrary surface.
1135
1237
  */
1136
- declare const Dropzone: React$2.ForwardRefExoticComponent<Omit<DropzoneProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1137
- interface DropzoneContentProps extends React$2.ComponentProps<'div'> {
1238
+ declare const Dropzone: React.ForwardRefExoticComponent<Omit<DropzoneProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1239
+ declare namespace Dropzone {
1240
+ type Props = DropzoneProps;
1241
+ }
1242
+ interface DropzoneContentProps extends React.ComponentProps<'div'> {
1138
1243
  /** Renders the dropzone content in an error state (red dashed border). */
1139
1244
  error?: boolean;
1140
1245
  }
@@ -1143,53 +1248,72 @@ interface DropzoneContentProps extends React$2.ComponentProps<'div'> {
1143
1248
  * Space / Enter open the picker. Omit it (and use `<DropzoneTrigger>`)
1144
1249
  * when you want file-drop on an existing surface instead.
1145
1250
  */
1146
- declare const DropzoneContent: React$2.ForwardRefExoticComponent<Omit<DropzoneContentProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1251
+ declare const DropzoneContent: React.ForwardRefExoticComponent<Omit<DropzoneContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1252
+ declare namespace DropzoneContent {
1253
+ type Props = DropzoneContentProps;
1254
+ }
1147
1255
  /** `<EmptyMedia>` with `variant="icon"` baked in. */
1148
- declare function DropzoneIcon({
1149
- variant,
1150
- ...props
1151
- }: React$2.ComponentProps<typeof EmptyMedia>): react_jsx_runtime0.JSX.Element;
1152
- declare function DropzoneTitle({
1153
- className,
1154
- ...props
1155
- }: React$2.ComponentProps<typeof EmptyTitle>): react_jsx_runtime0.JSX.Element;
1156
- declare function DropzoneDescription(props: React$2.ComponentProps<typeof EmptyDescription>): react_jsx_runtime0.JSX.Element;
1157
- declare function DropzoneActions({
1158
- className,
1159
- ...props
1160
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1256
+ declare const DropzoneIcon: React.ForwardRefExoticComponent<Omit<DropzoneIconProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1257
+ interface DropzoneIconProps extends React.ComponentProps<typeof EmptyMedia> {}
1258
+ declare namespace DropzoneIcon {
1259
+ type Props = DropzoneIconProps;
1260
+ }
1261
+ declare const DropzoneTitle: React.ForwardRefExoticComponent<Omit<DropzoneTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1262
+ interface DropzoneTitleProps extends React.ComponentProps<typeof EmptyTitle> {}
1263
+ declare namespace DropzoneTitle {
1264
+ type Props = DropzoneTitleProps;
1265
+ }
1266
+ declare const DropzoneDescription: React.ForwardRefExoticComponent<Omit<DropzoneDescriptionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1267
+ interface DropzoneDescriptionProps extends React.ComponentProps<typeof EmptyDescription> {}
1268
+ declare namespace DropzoneDescription {
1269
+ type Props = DropzoneDescriptionProps;
1270
+ }
1271
+ declare const DropzoneActions: React.ForwardRefExoticComponent<Omit<DropzoneActionsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1272
+ interface DropzoneActionsProps extends React.ComponentProps<'div'> {}
1273
+ declare namespace DropzoneActions {
1274
+ type Props = DropzoneActionsProps;
1275
+ }
1161
1276
  /**
1162
1277
  * Opens the file picker on click. Default-renders a DS `<Button>`; pass
1163
1278
  * `render` (Base UI convention) to substitute another element.
1164
1279
  */
1165
- declare const DropzoneTrigger: React$2.ForwardRefExoticComponent<Omit<useRender.ComponentProps<"button", {}, _base_ui_react0.HTMLProps>, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
1280
+ declare const DropzoneTrigger: React.ForwardRefExoticComponent<Omit<DropzoneTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1166
1281
  type DropzoneTriggerProps = useRender.ComponentProps<'button'>;
1282
+ declare namespace DropzoneTrigger {
1283
+ type Props = DropzoneTriggerProps;
1284
+ }
1167
1285
  //#endregion
1168
1286
  //#region src/components/popover.d.ts
1169
- declare function Popover({
1170
- ...props
1171
- }: Popover$1.Root.Props): react_jsx_runtime0.JSX.Element;
1172
- declare const PopoverTrigger: React$2.ForwardRefExoticComponent<Omit<Popover$1.Trigger.Props<unknown>, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
1173
- declare function PopoverContent({
1174
- className,
1175
- align,
1176
- alignOffset,
1177
- side,
1178
- sideOffset,
1179
- ...props
1180
- }: Popover$1.Popup.Props & Pick<Popover$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'>): react_jsx_runtime0.JSX.Element;
1181
- declare function PopoverHeader({
1182
- className,
1183
- ...props
1184
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1185
- declare function PopoverTitle({
1186
- className,
1187
- ...props
1188
- }: Popover$1.Title.Props): react_jsx_runtime0.JSX.Element;
1189
- declare function PopoverDescription({
1190
- className,
1191
- ...props
1192
- }: Popover$1.Description.Props): react_jsx_runtime0.JSX.Element;
1287
+ declare function Popover(componentProps: Popover.Props): react_jsx_runtime0.JSX.Element;
1288
+ interface PopoverProps extends Popover$1.Root.Props {}
1289
+ declare namespace Popover {
1290
+ type Props = PopoverProps;
1291
+ }
1292
+ declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<PopoverTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1293
+ interface PopoverTriggerProps extends Popover$1.Trigger.Props {}
1294
+ declare namespace PopoverTrigger {
1295
+ type Props = PopoverTriggerProps;
1296
+ }
1297
+ declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1298
+ interface PopoverContentProps extends Popover$1.Popup.Props, Pick<Popover$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'> {}
1299
+ declare namespace PopoverContent {
1300
+ type Props = PopoverContentProps;
1301
+ }
1302
+ declare const PopoverHeader: React.ForwardRefExoticComponent<Omit<PopoverHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1303
+ interface PopoverHeaderProps extends React.ComponentProps<'div'> {}
1304
+ declare namespace PopoverHeader {
1305
+ type Props = PopoverHeaderProps;
1306
+ }
1307
+ declare const PopoverTitle: React.ForwardRefExoticComponent<Omit<PopoverTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
1308
+ interface PopoverTitleProps extends Popover$1.Title.Props {}
1309
+ declare namespace PopoverTitle {
1310
+ type Props = PopoverTitleProps;
1311
+ }
1312
+ declare const PopoverDescription: React.ForwardRefExoticComponent<Omit<PopoverDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
1313
+ interface PopoverDescriptionProps extends Popover$1.Description.Props {}
1314
+ declare namespace PopoverDescription {
1315
+ type Props = PopoverDescriptionProps;
1316
+ }
1193
1317
  //#endregion
1194
1318
  //#region src/components/emoji-picker.d.ts
1195
1319
  declare const EmojiPickerCategories: {
@@ -1209,14 +1333,21 @@ type EmojiPickerCategory = {
1209
1333
  };
1210
1334
  type EmojiPickerProps = {
1211
1335
  onEmojiSelect?: (emoji: string) => void;
1212
- children?: React$2.ReactNode;
1336
+ children?: React.ReactNode;
1213
1337
  };
1214
1338
  declare function EmojiPicker({
1215
1339
  onEmojiSelect,
1216
1340
  children
1217
- }: EmojiPickerProps): react_jsx_runtime0.JSX.Element;
1218
- declare const EmojiPickerTrigger: React$2.ForwardRefExoticComponent<Omit<Popover$1.Trigger.Props<unknown>, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
1219
- type EmojiPickerContentProps = Omit<React$2.ComponentProps<typeof PopoverContent>, 'children'> & {
1341
+ }: EmojiPicker.Props): react_jsx_runtime0.JSX.Element;
1342
+ declare namespace EmojiPicker {
1343
+ type Props = EmojiPickerProps;
1344
+ }
1345
+ declare const EmojiPickerTrigger: React.ForwardRefExoticComponent<Omit<EmojiPickerTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1346
+ interface EmojiPickerTriggerProps extends Popover$1.Trigger.Props {}
1347
+ declare namespace EmojiPickerTrigger {
1348
+ type Props = EmojiPickerTriggerProps;
1349
+ }
1350
+ type EmojiPickerContentProps = Omit<React.ComponentProps<typeof PopoverContent>, 'children'> & {
1220
1351
  searchPlaceholder?: string;
1221
1352
  categories?: EmojiPickerCategory[];
1222
1353
  width?: number;
@@ -1231,391 +1362,513 @@ declare function EmojiPickerContent({
1231
1362
  suggestedEmojisMode,
1232
1363
  ...props
1233
1364
  }: EmojiPickerContentProps): react_jsx_runtime0.JSX.Element;
1365
+ declare namespace EmojiPickerContent {
1366
+ type Props = EmojiPickerContentProps;
1367
+ }
1234
1368
  //#endregion
1235
1369
  //#region src/components/fab.d.ts
1236
1370
  declare const fabVariants: (props?: ({
1237
1371
  variant?: "default" | "outline" | null | undefined;
1238
1372
  size?: "lg" | "icon-lg" | null | undefined;
1239
1373
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
1240
- declare const FAB: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.ButtonProps & VariantProps<(props?: ({
1241
- variant?: "default" | "outline" | null | undefined;
1242
- size?: "lg" | "icon-lg" | null | undefined;
1243
- } & class_variance_authority_types4.ClassProp) | undefined) => string>, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
1374
+ declare const FAB: React.ForwardRefExoticComponent<Omit<FABProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1375
+ interface FABProps extends Button$1.Props, VariantProps<typeof fabVariants> {}
1376
+ declare namespace FAB {
1377
+ type Props = FABProps;
1378
+ }
1244
1379
  //#endregion
1245
1380
  //#region src/components/label.d.ts
1246
- declare function Label({
1247
- className,
1248
- ...props
1249
- }: React$2.ComponentProps<"label">): react_jsx_runtime0.JSX.Element;
1381
+ declare const Label: React.ForwardRefExoticComponent<Omit<LabelProps, "ref"> & React.RefAttributes<HTMLLabelElement>>;
1382
+ interface LabelProps extends React.ComponentProps<'label'> {}
1383
+ declare namespace Label {
1384
+ type Props = LabelProps;
1385
+ }
1250
1386
  //#endregion
1251
1387
  //#region src/components/field.d.ts
1252
- declare function FieldSet({
1253
- className,
1254
- ...props
1255
- }: React.ComponentProps<"fieldset">): react_jsx_runtime0.JSX.Element;
1256
- declare function FieldLegend({
1257
- className,
1258
- variant,
1259
- ...props
1260
- }: React.ComponentProps<"legend"> & {
1261
- variant?: "legend" | "label";
1262
- }): react_jsx_runtime0.JSX.Element;
1263
- declare function FieldGroup({
1264
- className,
1265
- ...props
1266
- }: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
1388
+ declare const FieldSet: React.ForwardRefExoticComponent<Omit<FieldSetProps, "ref"> & React.RefAttributes<HTMLFieldSetElement>>;
1389
+ interface FieldSetProps extends React.ComponentProps<'fieldset'> {}
1390
+ declare namespace FieldSet {
1391
+ type Props = FieldSetProps;
1392
+ }
1393
+ declare const FieldLegend: React.ForwardRefExoticComponent<Omit<FieldLegendProps, "ref"> & React.RefAttributes<HTMLLegendElement>>;
1394
+ interface FieldLegendProps extends React.ComponentProps<'legend'> {
1395
+ variant?: 'legend' | 'label';
1396
+ }
1397
+ declare namespace FieldLegend {
1398
+ type Props = FieldLegendProps;
1399
+ }
1400
+ declare const FieldGroup: React.ForwardRefExoticComponent<Omit<FieldGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1401
+ interface FieldGroupProps extends React.ComponentProps<'div'> {}
1402
+ declare namespace FieldGroup {
1403
+ type Props = FieldGroupProps;
1404
+ }
1267
1405
  declare const fieldVariants: (props?: ({
1268
1406
  orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
1269
1407
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
1270
- declare function Field({
1271
- className,
1272
- orientation,
1273
- ...props
1274
- }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime0.JSX.Element;
1275
- declare function FieldContent({
1276
- className,
1277
- ...props
1278
- }: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
1279
- declare function FieldLabel({
1280
- className,
1281
- ...props
1282
- }: React.ComponentProps<typeof Label>): react_jsx_runtime0.JSX.Element;
1283
- declare function FieldTitle({
1284
- className,
1285
- ...props
1286
- }: React.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
1287
- declare function FieldDescription({
1288
- className,
1289
- ...props
1290
- }: React.ComponentProps<"p">): react_jsx_runtime0.JSX.Element;
1291
- declare function FieldSeparator({
1292
- children,
1293
- className,
1294
- ...props
1295
- }: React.ComponentProps<"div"> & {
1408
+ declare const Field: React.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1409
+ interface FieldProps extends React.ComponentProps<'div'>, VariantProps<typeof fieldVariants> {}
1410
+ declare namespace Field {
1411
+ type Props = FieldProps;
1412
+ }
1413
+ declare const FieldContent: React.ForwardRefExoticComponent<Omit<FieldContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1414
+ interface FieldContentProps extends React.ComponentProps<'div'> {}
1415
+ declare namespace FieldContent {
1416
+ type Props = FieldContentProps;
1417
+ }
1418
+ declare const FieldLabel: React.ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & React.RefAttributes<HTMLLabelElement>>;
1419
+ interface FieldLabelProps extends React.ComponentProps<typeof Label> {}
1420
+ declare namespace FieldLabel {
1421
+ type Props = FieldLabelProps;
1422
+ }
1423
+ declare const FieldTitle: React.ForwardRefExoticComponent<Omit<FieldTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1424
+ interface FieldTitleProps extends React.ComponentProps<'div'> {}
1425
+ declare namespace FieldTitle {
1426
+ type Props = FieldTitleProps;
1427
+ }
1428
+ declare const FieldDescription: React.ForwardRefExoticComponent<Omit<FieldDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
1429
+ interface FieldDescriptionProps extends React.ComponentProps<'p'> {}
1430
+ declare namespace FieldDescription {
1431
+ type Props = FieldDescriptionProps;
1432
+ }
1433
+ declare const FieldSeparator: React.ForwardRefExoticComponent<Omit<FieldSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1434
+ interface FieldSeparatorProps extends React.ComponentProps<'div'> {
1296
1435
  children?: React.ReactNode;
1297
- }): react_jsx_runtime0.JSX.Element;
1298
- declare function FieldError({
1299
- className,
1300
- children,
1301
- errors,
1302
- ...props
1303
- }: React.ComponentProps<"div"> & {
1436
+ }
1437
+ declare namespace FieldSeparator {
1438
+ type Props = FieldSeparatorProps;
1439
+ }
1440
+ declare const FieldError: React.ForwardRefExoticComponent<Omit<FieldErrorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1441
+ interface FieldErrorProps extends React.ComponentProps<'div'> {
1304
1442
  errors?: Array<{
1305
1443
  message?: string;
1306
1444
  } | undefined>;
1307
- }): react_jsx_runtime0.JSX.Element | null;
1445
+ }
1446
+ declare namespace FieldError {
1447
+ type Props = FieldErrorProps;
1448
+ }
1308
1449
  //#endregion
1309
1450
  //#region src/components/gauge.d.ts
1310
- interface GaugeProps extends Omit<React$2.ComponentProps<'div'>, 'children'> {
1451
+ interface GaugeProps extends Omit<React.ComponentProps<'div'>, 'children'> {
1311
1452
  /**
1312
1453
  * The current value of the gauge, clamped to `[0, 8]`. Values past 8 are
1313
1454
  * shown as fully saturated (all segments filled).
1314
1455
  */
1315
1456
  value: number;
1316
1457
  }
1317
- declare function Gauge({
1318
- className,
1319
- value,
1320
- ...props
1321
- }: GaugeProps): react_jsx_runtime0.JSX.Element;
1458
+ declare const Gauge: React.ForwardRefExoticComponent<Omit<GaugeProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1459
+ declare namespace Gauge {
1460
+ type Props = GaugeProps;
1461
+ }
1462
+ //#endregion
1463
+ //#region src/components/input.d.ts
1464
+ declare const inputVariants: (props?: ({
1465
+ block?: boolean | null | undefined;
1466
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
1467
+ declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
1468
+ interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {}
1469
+ declare namespace Input {
1470
+ type Props = InputProps;
1471
+ }
1322
1472
  //#endregion
1323
1473
  //#region src/components/input-group.d.ts
1324
- declare const InputGroup: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1474
+ declare const InputGroup: React.ForwardRefExoticComponent<Omit<InputGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1475
+ interface InputGroupProps extends React.ComponentProps<'div'> {}
1476
+ declare namespace InputGroup {
1477
+ type Props = InputGroupProps;
1478
+ }
1325
1479
  declare const inputGroupAddonVariants: (props?: ({
1326
- align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
1480
+ align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
1327
1481
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
1328
- declare function InputGroupAddon({
1329
- className,
1330
- align,
1331
- ...props
1332
- }: React$2.ComponentProps<'div'> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime0.JSX.Element;
1333
- declare const InputGroupButton: React$2.ForwardRefExoticComponent<Omit<Omit<ButtonProps, "ref"> & React$2.RefAttributes<HTMLButtonElement>, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
1334
- declare function InputGroupText({
1335
- className,
1336
- ...props
1337
- }: React$2.ComponentProps<'span'>): react_jsx_runtime0.JSX.Element;
1338
- declare const InputGroupInput: React$2.ForwardRefExoticComponent<Omit<Omit<React$2.ClassAttributes<HTMLInputElement> & React$2.InputHTMLAttributes<HTMLInputElement> & VariantProps<(props?: ({
1339
- block?: boolean | null | undefined;
1340
- } & class_variance_authority_types4.ClassProp) | undefined) => string>, "ref"> & React$2.RefAttributes<HTMLInputElement>, "ref"> & React$2.RefAttributes<HTMLInputElement>>;
1341
- declare function InputGroupTextarea({
1342
- className,
1343
- ...props
1344
- }: React$2.ComponentProps<'textarea'>): react_jsx_runtime0.JSX.Element;
1482
+ declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1483
+ interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
1484
+ declare namespace InputGroupAddon {
1485
+ type Props = InputGroupAddonProps;
1486
+ }
1487
+ declare const InputGroupButton: React.ForwardRefExoticComponent<InputGroupButtonProps & React.RefAttributes<HTMLButtonElement>>;
1488
+ interface InputGroupButtonProps extends React.ComponentPropsWithoutRef<typeof Button> {}
1489
+ declare namespace InputGroupButton {
1490
+ type Props = InputGroupButtonProps;
1491
+ }
1492
+ declare const InputGroupText: React.ForwardRefExoticComponent<Omit<InputGroupTextProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
1493
+ interface InputGroupTextProps extends React.ComponentProps<'span'> {}
1494
+ declare namespace InputGroupText {
1495
+ type Props = InputGroupTextProps;
1496
+ }
1497
+ declare const InputGroupInput: React.ForwardRefExoticComponent<Omit<InputGroupInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
1498
+ interface InputGroupInputProps extends React.ComponentProps<typeof Input> {}
1499
+ declare namespace InputGroupInput {
1500
+ type Props = InputGroupInputProps;
1501
+ }
1502
+ declare const InputGroupTextarea: React.ForwardRefExoticComponent<Omit<InputGroupTextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
1503
+ interface InputGroupTextareaProps extends React.ComponentProps<'textarea'> {}
1504
+ declare namespace InputGroupTextarea {
1505
+ type Props = InputGroupTextareaProps;
1506
+ }
1345
1507
  //#endregion
1346
1508
  //#region src/components/input-otp.d.ts
1347
- declare function InputOTP({
1348
- className,
1349
- containerClassName,
1350
- ...props
1351
- }: React$2.ComponentProps<typeof OTPInput> & {
1509
+ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
1510
+ value?: string;
1511
+ onChange?: (newValue: string) => unknown;
1512
+ maxLength: number;
1513
+ textAlign?: "left" | "center" | "right";
1514
+ onComplete?: (...args: any[]) => unknown;
1515
+ pushPasswordManagerStrategy?: "increase-width" | "none";
1516
+ pasteTransformer?: (pasted: string) => string;
1352
1517
  containerClassName?: string;
1353
- }): react_jsx_runtime0.JSX.Element;
1354
- declare function InputOTPGroup({
1355
- className,
1356
- ...props
1357
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1358
- declare function InputOTPSlot({
1359
- index,
1360
- className,
1361
- ...props
1362
- }: React$2.ComponentProps<'div'> & {
1518
+ noScriptCSSFallback?: string | null;
1519
+ } & {
1520
+ render: (props: input_otp0.RenderProps) => React.ReactNode;
1521
+ children?: never;
1522
+ } & React.RefAttributes<HTMLInputElement> & {
1523
+ containerClassName?: string;
1524
+ }, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
1525
+ value?: string;
1526
+ onChange?: (newValue: string) => unknown;
1527
+ maxLength: number;
1528
+ textAlign?: "left" | "center" | "right";
1529
+ onComplete?: (...args: any[]) => unknown;
1530
+ pushPasswordManagerStrategy?: "increase-width" | "none";
1531
+ pasteTransformer?: (pasted: string) => string;
1532
+ containerClassName?: string;
1533
+ noScriptCSSFallback?: string | null;
1534
+ } & {
1535
+ render?: never;
1536
+ children: React.ReactNode;
1537
+ } & React.RefAttributes<HTMLInputElement> & {
1538
+ containerClassName?: string;
1539
+ }, "ref">) & React.RefAttributes<HTMLInputElement>>;
1540
+ type InputOTPProps = React.ComponentProps<typeof OTPInput> & {
1541
+ containerClassName?: string;
1542
+ };
1543
+ declare namespace InputOTP {
1544
+ type Props = InputOTPProps;
1545
+ }
1546
+ declare const InputOTPGroup: React.ForwardRefExoticComponent<Omit<InputOTPGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1547
+ interface InputOTPGroupProps extends React.ComponentProps<'div'> {}
1548
+ declare namespace InputOTPGroup {
1549
+ type Props = InputOTPGroupProps;
1550
+ }
1551
+ declare const InputOTPSlot: React.ForwardRefExoticComponent<Omit<InputOTPSlotProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1552
+ interface InputOTPSlotProps extends React.ComponentProps<'div'> {
1363
1553
  index: number;
1364
- }): react_jsx_runtime0.JSX.Element;
1365
- declare function InputOTPSeparator({
1366
- ...props
1367
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1368
- //#endregion
1369
- //#region src/components/input.d.ts
1370
- declare const Input: React$2.ForwardRefExoticComponent<Omit<React$2.ClassAttributes<HTMLInputElement> & React$2.InputHTMLAttributes<HTMLInputElement> & VariantProps<(props?: ({
1371
- block?: boolean | null | undefined;
1372
- } & class_variance_authority_types4.ClassProp) | undefined) => string>, "ref"> & React$2.RefAttributes<HTMLInputElement>>;
1554
+ }
1555
+ declare namespace InputOTPSlot {
1556
+ type Props = InputOTPSlotProps;
1557
+ }
1558
+ declare const InputOTPSeparator: React.ForwardRefExoticComponent<Omit<InputOTPSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1559
+ interface InputOTPSeparatorProps extends React.ComponentProps<'div'> {}
1560
+ declare namespace InputOTPSeparator {
1561
+ type Props = InputOTPSeparatorProps;
1562
+ }
1373
1563
  //#endregion
1374
1564
  //#region src/components/item.d.ts
1375
- interface ItemGroupProps extends React$2.ComponentProps<'div'> {
1565
+ interface ItemGroupProps extends React.ComponentProps<'div'> {
1376
1566
  stackedItems?: boolean;
1377
1567
  }
1378
- declare const ItemGroup: React$2.ForwardRefExoticComponent<Omit<ItemGroupProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1379
- declare function ItemSeparator({
1380
- className,
1381
- ...props
1382
- }: React$2.ComponentProps<typeof Separator>): react_jsx_runtime0.JSX.Element;
1383
- declare const Item: React$2.ForwardRefExoticComponent<Omit<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
1384
- ref?: ((instance: HTMLDivElement | null) => void | React$2.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$2.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$2.RefObject<HTMLDivElement> | null | undefined;
1385
- } & {
1386
- render?: React$2.ReactElement<any, string | React$2.JSXElementConstructor<any>> | _base_ui_react0.ComponentRenderFn<_base_ui_react0.HTMLProps, {}> | undefined;
1387
- } & VariantProps<(props?: ({
1568
+ declare const ItemGroup: React.ForwardRefExoticComponent<Omit<ItemGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1569
+ declare namespace ItemGroup {
1570
+ type Props = ItemGroupProps;
1571
+ }
1572
+ declare const ItemSeparator: React.ForwardRefExoticComponent<Omit<ItemSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1573
+ interface ItemSeparatorProps extends React.ComponentProps<typeof Separator> {}
1574
+ declare namespace ItemSeparator {
1575
+ type Props = ItemSeparatorProps;
1576
+ }
1577
+ declare const itemVariants: (props?: ({
1388
1578
  variant?: "default" | "outline" | "muted" | null | undefined;
1389
1579
  size?: "default" | "sm" | "xs" | null | undefined;
1390
- } & class_variance_authority_types4.ClassProp) | undefined) => string>, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1391
- declare const ItemMedia: React$2.ForwardRefExoticComponent<Omit<React$2.ClassAttributes<HTMLDivElement> & React$2.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
1580
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
1581
+ declare const Item: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1582
+ interface ItemProps extends useRender.ComponentProps<'div'>, VariantProps<typeof itemVariants> {}
1583
+ declare namespace Item {
1584
+ type Props = ItemProps;
1585
+ }
1586
+ declare const itemMediaVariants: (props?: ({
1392
1587
  variant?: "image" | "default" | "icon" | null | undefined;
1393
- } & class_variance_authority_types4.ClassProp) | undefined) => string>, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1394
- declare const ItemContent: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1395
- declare const ItemTitle: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1396
- declare const ItemDescription: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React$2.RefAttributes<HTMLParagraphElement>>;
1397
- declare const ItemActions: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1398
- declare const ItemHeader: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1399
- declare const ItemFooter: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1588
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
1589
+ declare const ItemMedia: React.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1590
+ interface ItemMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof itemMediaVariants> {}
1591
+ declare namespace ItemMedia {
1592
+ type Props = ItemMediaProps;
1593
+ }
1594
+ declare const ItemContent: React.ForwardRefExoticComponent<Omit<ItemContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1595
+ interface ItemContentProps extends React.ComponentProps<'div'> {}
1596
+ declare namespace ItemContent {
1597
+ type Props = ItemContentProps;
1598
+ }
1599
+ declare const ItemTitle: React.ForwardRefExoticComponent<Omit<ItemTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1600
+ interface ItemTitleProps extends React.ComponentProps<'div'> {}
1601
+ declare namespace ItemTitle {
1602
+ type Props = ItemTitleProps;
1603
+ }
1604
+ declare const ItemDescription: React.ForwardRefExoticComponent<Omit<ItemDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
1605
+ interface ItemDescriptionProps extends React.ComponentProps<'p'> {}
1606
+ declare namespace ItemDescription {
1607
+ type Props = ItemDescriptionProps;
1608
+ }
1609
+ declare const ItemActions: React.ForwardRefExoticComponent<Omit<ItemActionsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1610
+ interface ItemActionsProps extends React.ComponentProps<'div'> {}
1611
+ declare namespace ItemActions {
1612
+ type Props = ItemActionsProps;
1613
+ }
1614
+ declare const ItemHeader: React.ForwardRefExoticComponent<Omit<ItemHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1615
+ interface ItemHeaderProps extends React.ComponentProps<'div'> {}
1616
+ declare namespace ItemHeader {
1617
+ type Props = ItemHeaderProps;
1618
+ }
1619
+ declare const ItemFooter: React.ForwardRefExoticComponent<Omit<ItemFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1620
+ interface ItemFooterProps extends React.ComponentProps<'div'> {}
1621
+ declare namespace ItemFooter {
1622
+ type Props = ItemFooterProps;
1623
+ }
1400
1624
  //#endregion
1401
1625
  //#region src/components/list.d.ts
1402
- interface ListProps extends React$2.HTMLAttributes<HTMLDivElement> {
1403
- children: React$2.ReactNode;
1626
+ declare const List: React.ForwardRefExoticComponent<ListProps & React.RefAttributes<HTMLDivElement>>;
1627
+ interface ListProps extends React.HTMLAttributes<HTMLDivElement> {
1628
+ children: React.ReactNode;
1404
1629
  }
1405
- declare const List: ({
1406
- children,
1407
- className,
1408
- ...props
1409
- }: ListProps) => react_jsx_runtime0.JSX.Element;
1410
- interface ListRowProps extends React$2.HTMLAttributes<HTMLDivElement> {
1411
- children: React$2.ReactNode;
1630
+ declare namespace List {
1631
+ type Props = ListProps;
1632
+ }
1633
+ declare const ListRow: React.ForwardRefExoticComponent<ListRowProps & React.RefAttributes<HTMLDivElement>>;
1634
+ interface ListRowProps extends React.HTMLAttributes<HTMLDivElement> {
1635
+ children: React.ReactNode;
1412
1636
  }
1413
- declare const ListRow: React$2.ForwardRefExoticComponent<ListRowProps & React$2.RefAttributes<HTMLDivElement>>;
1414
- interface ListColProps extends React$2.HTMLAttributes<HTMLDivElement> {
1637
+ declare namespace ListRow {
1638
+ type Props = ListRowProps;
1639
+ }
1640
+ declare const ListCol: React.ForwardRefExoticComponent<ListColProps & React.RefAttributes<HTMLDivElement>>;
1641
+ interface ListColProps extends React.HTMLAttributes<HTMLDivElement> {
1415
1642
  grow?: boolean;
1416
1643
  wrap?: boolean;
1417
- children: React$2.ReactNode;
1644
+ children: React.ReactNode;
1645
+ }
1646
+ declare namespace ListCol {
1647
+ type Props = ListColProps;
1418
1648
  }
1419
- declare const ListCol: ({
1420
- grow,
1421
- wrap,
1422
- children,
1423
- className,
1424
- ...props
1425
- }: ListColProps) => react_jsx_runtime0.JSX.Element;
1426
1649
  //#endregion
1427
1650
  //#region src/components/pagination.d.ts
1428
- declare function Pagination({
1429
- className,
1430
- ...props
1431
- }: React$2.ComponentProps<'nav'>): react_jsx_runtime0.JSX.Element;
1432
- declare function PaginationContent({
1433
- className,
1434
- ...props
1435
- }: React$2.ComponentProps<'ul'>): react_jsx_runtime0.JSX.Element;
1436
- declare function PaginationItem({
1437
- ...props
1438
- }: React$2.ComponentProps<'li'>): react_jsx_runtime0.JSX.Element;
1439
- type PaginationLinkProps = {
1651
+ declare const Pagination: React.ForwardRefExoticComponent<Omit<PaginationProps, "ref"> & React.RefAttributes<HTMLElement>>;
1652
+ interface PaginationProps extends React.ComponentProps<'nav'> {}
1653
+ declare namespace Pagination {
1654
+ type Props = PaginationProps;
1655
+ }
1656
+ declare const PaginationContent: React.ForwardRefExoticComponent<Omit<PaginationContentProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
1657
+ interface PaginationContentProps extends React.ComponentProps<'ul'> {}
1658
+ declare namespace PaginationContent {
1659
+ type Props = PaginationContentProps;
1660
+ }
1661
+ declare const PaginationItem: React.ForwardRefExoticComponent<Omit<PaginationItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
1662
+ interface PaginationItemProps extends React.ComponentProps<'li'> {}
1663
+ declare namespace PaginationItem {
1664
+ type Props = PaginationItemProps;
1665
+ }
1666
+ declare const PaginationLink: React.ForwardRefExoticComponent<Omit<PaginationLinkProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1667
+ interface PaginationLinkProps extends Pick<React.ComponentProps<typeof Button>, 'size'>, React.ComponentProps<'a'> {
1440
1668
  isActive?: boolean;
1441
- } & Pick<React$2.ComponentProps<typeof Button>, 'size'> & React$2.ComponentProps<'a'>;
1442
- declare function PaginationLink({
1443
- className,
1444
- isActive,
1445
- size,
1446
- ...props
1447
- }: PaginationLinkProps): react_jsx_runtime0.JSX.Element;
1448
- declare function PaginationPrevious({
1449
- className,
1450
- text,
1451
- ...props
1452
- }: React$2.ComponentProps<typeof PaginationLink> & {
1669
+ }
1670
+ declare namespace PaginationLink {
1671
+ type Props = PaginationLinkProps;
1672
+ }
1673
+ declare const PaginationPrevious: React.ForwardRefExoticComponent<Omit<PaginationPreviousProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1674
+ interface PaginationPreviousProps extends React.ComponentProps<typeof PaginationLink> {
1453
1675
  text?: string;
1454
- }): react_jsx_runtime0.JSX.Element;
1455
- declare function PaginationNext({
1456
- className,
1457
- text,
1458
- ...props
1459
- }: React$2.ComponentProps<typeof PaginationLink> & {
1676
+ }
1677
+ declare namespace PaginationPrevious {
1678
+ type Props = PaginationPreviousProps;
1679
+ }
1680
+ declare const PaginationNext: React.ForwardRefExoticComponent<Omit<PaginationNextProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1681
+ interface PaginationNextProps extends React.ComponentProps<typeof PaginationLink> {
1460
1682
  text?: string;
1461
- }): react_jsx_runtime0.JSX.Element;
1462
- declare function PaginationEllipsis({
1463
- className,
1464
- ...props
1465
- }: React$2.ComponentProps<'span'>): react_jsx_runtime0.JSX.Element;
1683
+ }
1684
+ declare namespace PaginationNext {
1685
+ type Props = PaginationNextProps;
1686
+ }
1687
+ declare const PaginationEllipsis: React.ForwardRefExoticComponent<Omit<PaginationEllipsisProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
1688
+ interface PaginationEllipsisProps extends React.ComponentProps<'span'> {}
1689
+ declare namespace PaginationEllipsis {
1690
+ type Props = PaginationEllipsisProps;
1691
+ }
1466
1692
  //#endregion
1467
1693
  //#region src/components/progress.d.ts
1468
- declare function Progress({
1469
- className,
1470
- children,
1471
- value,
1472
- ...props
1473
- }: Progress$1.Root.Props): react_jsx_runtime0.JSX.Element;
1474
- declare function ProgressTrack({
1475
- className,
1476
- ...props
1477
- }: Progress$1.Track.Props): react_jsx_runtime0.JSX.Element;
1478
- declare function ProgressIndicator({
1479
- className,
1480
- ...props
1481
- }: Progress$1.Indicator.Props): react_jsx_runtime0.JSX.Element;
1482
- declare function ProgressLabel({
1483
- className,
1484
- ...props
1485
- }: Progress$1.Label.Props): react_jsx_runtime0.JSX.Element;
1486
- declare function ProgressValue({
1487
- className,
1488
- ...props
1489
- }: Progress$1.Value.Props): react_jsx_runtime0.JSX.Element;
1694
+ declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1695
+ interface ProgressProps extends Progress$1.Root.Props {}
1696
+ declare namespace Progress {
1697
+ type Props = ProgressProps;
1698
+ }
1699
+ declare const ProgressTrack: React.ForwardRefExoticComponent<Omit<ProgressTrackProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1700
+ interface ProgressTrackProps extends Progress$1.Track.Props {}
1701
+ declare namespace ProgressTrack {
1702
+ type Props = ProgressTrackProps;
1703
+ }
1704
+ declare const ProgressIndicator: React.ForwardRefExoticComponent<Omit<ProgressIndicatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1705
+ interface ProgressIndicatorProps extends Progress$1.Indicator.Props {}
1706
+ declare namespace ProgressIndicator {
1707
+ type Props = ProgressIndicatorProps;
1708
+ }
1709
+ declare const ProgressLabel: React.ForwardRefExoticComponent<Omit<ProgressLabelProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
1710
+ interface ProgressLabelProps extends Progress$1.Label.Props {}
1711
+ declare namespace ProgressLabel {
1712
+ type Props = ProgressLabelProps;
1713
+ }
1714
+ declare const ProgressValue: React.ForwardRefExoticComponent<Omit<ProgressValueProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
1715
+ interface ProgressValueProps extends Progress$1.Value.Props {}
1716
+ declare namespace ProgressValue {
1717
+ type Props = ProgressValueProps;
1718
+ }
1490
1719
  //#endregion
1491
1720
  //#region src/components/radio-group.d.ts
1492
- declare function RadioGroup({
1493
- className,
1494
- ...props
1495
- }: RadioGroup$1.Props): react_jsx_runtime0.JSX.Element;
1496
- declare function RadioGroupItem({
1497
- className,
1498
- ...props
1499
- }: Radio.Root.Props): react_jsx_runtime0.JSX.Element;
1721
+ declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1722
+ interface RadioGroupProps extends RadioGroup$1.Props {}
1723
+ declare namespace RadioGroup {
1724
+ type Props = RadioGroupProps;
1725
+ }
1726
+ declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupItemProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
1727
+ interface RadioGroupItemProps extends Radio.Root.Props {}
1728
+ declare namespace RadioGroupItem {
1729
+ type Props = RadioGroupItemProps;
1730
+ }
1500
1731
  //#endregion
1501
1732
  //#region src/components/scroll-area.d.ts
1502
- declare function ScrollArea({
1503
- className,
1504
- children,
1505
- scrollFade,
1506
- scrollbarGutter,
1507
- ...props
1508
- }: ScrollAreaPrimitive.Root.Props & {
1733
+ declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1734
+ interface ScrollAreaProps extends ScrollAreaPrimitive.Root.Props {
1509
1735
  scrollFade?: boolean;
1510
1736
  scrollbarGutter?: boolean;
1511
- }): React$1.ReactElement;
1512
- declare function ScrollBar({
1513
- className,
1514
- orientation,
1515
- ...props
1516
- }: ScrollAreaPrimitive.Scrollbar.Props): React$1.ReactElement;
1737
+ }
1738
+ declare namespace ScrollArea {
1739
+ type Props = ScrollAreaProps;
1740
+ }
1741
+ declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollBarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1742
+ interface ScrollBarProps extends ScrollAreaPrimitive.Scrollbar.Props {}
1743
+ declare namespace ScrollBar {
1744
+ type Props = ScrollBarProps;
1745
+ }
1517
1746
  //#endregion
1518
1747
  //#region src/components/select.d.ts
1519
1748
  declare const selectTriggerVariants: (props?: ({
1520
1749
  size?: "default" | "sm" | null | undefined;
1521
1750
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
1522
1751
  declare const Select: typeof Select$1.Root;
1523
- declare function SelectGroup({
1524
- className,
1525
- ...props
1526
- }: Select$1.Group.Props): react_jsx_runtime0.JSX.Element;
1527
- declare function SelectValue({
1528
- className,
1529
- ...props
1530
- }: Select$1.Value.Props): react_jsx_runtime0.JSX.Element;
1531
- declare function SelectTrigger({
1532
- className,
1533
- size,
1534
- children,
1535
- ...props
1536
- }: Select$1.Trigger.Props & VariantProps<typeof selectTriggerVariants>): react_jsx_runtime0.JSX.Element;
1537
- declare function SelectContent({
1538
- className,
1539
- children,
1540
- side,
1541
- sideOffset,
1542
- align,
1543
- alignOffset,
1544
- alignItemWithTrigger,
1545
- ...props
1546
- }: Select$1.Popup.Props & Pick<Select$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset' | 'alignItemWithTrigger'>): react_jsx_runtime0.JSX.Element;
1547
- declare function SelectLabel({
1548
- className,
1549
- ...props
1550
- }: Select$1.GroupLabel.Props): react_jsx_runtime0.JSX.Element;
1551
- declare function SelectItem({
1552
- className,
1553
- children,
1554
- ...props
1555
- }: Select$1.Item.Props): react_jsx_runtime0.JSX.Element;
1556
- declare function SelectSeparator({
1557
- className,
1558
- ...props
1559
- }: Select$1.Separator.Props): react_jsx_runtime0.JSX.Element;
1560
- declare function SelectScrollUpButton({
1561
- className,
1562
- ...props
1563
- }: React$2.ComponentProps<typeof Select$1.ScrollUpArrow>): react_jsx_runtime0.JSX.Element;
1564
- declare function SelectScrollDownButton({
1565
- className,
1566
- ...props
1567
- }: React$2.ComponentProps<typeof Select$1.ScrollDownArrow>): react_jsx_runtime0.JSX.Element;
1752
+ declare const SelectGroup: React.ForwardRefExoticComponent<Omit<SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1753
+ interface SelectGroupProps extends Select$1.Group.Props {}
1754
+ declare namespace SelectGroup {
1755
+ type Props = SelectGroupProps;
1756
+ }
1757
+ declare function SelectValue(componentProps: SelectValue.Props): react_jsx_runtime0.JSX.Element;
1758
+ interface SelectValueProps extends Select$1.Value.Props {}
1759
+ declare namespace SelectValue {
1760
+ type Props = SelectValueProps;
1761
+ }
1762
+ declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1763
+ interface SelectTriggerProps extends Select$1.Trigger.Props, VariantProps<typeof selectTriggerVariants> {}
1764
+ declare namespace SelectTrigger {
1765
+ type Props = SelectTriggerProps;
1766
+ }
1767
+ declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1768
+ interface SelectContentProps extends Select$1.Popup.Props, Pick<Select$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset' | 'alignItemWithTrigger'> {}
1769
+ declare namespace SelectContent {
1770
+ type Props = SelectContentProps;
1771
+ }
1772
+ declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1773
+ interface SelectLabelProps extends Select$1.GroupLabel.Props {}
1774
+ declare namespace SelectLabel {
1775
+ type Props = SelectLabelProps;
1776
+ }
1777
+ declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectItemProps, "ref"> & React.RefAttributes<HTMLElement>>;
1778
+ interface SelectItemProps extends Select$1.Item.Props {}
1779
+ declare namespace SelectItem {
1780
+ type Props = SelectItemProps;
1781
+ }
1782
+ declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1783
+ interface SelectSeparatorProps extends Select$1.Separator.Props {}
1784
+ declare namespace SelectSeparator {
1785
+ type Props = SelectSeparatorProps;
1786
+ }
1787
+ declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectScrollUpButtonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1788
+ interface SelectScrollUpButtonProps extends React.ComponentProps<typeof Select$1.ScrollUpArrow> {}
1789
+ declare namespace SelectScrollUpButton {
1790
+ type Props = SelectScrollUpButtonProps;
1791
+ }
1792
+ declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectScrollDownButtonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1793
+ interface SelectScrollDownButtonProps extends React.ComponentProps<typeof Select$1.ScrollDownArrow> {}
1794
+ declare namespace SelectScrollDownButton {
1795
+ type Props = SelectScrollDownButtonProps;
1796
+ }
1568
1797
  //#endregion
1569
1798
  //#region src/components/sheet.d.ts
1570
- declare function Sheet({
1571
- ...props
1572
- }: Dialog$1.Root.Props): react_jsx_runtime0.JSX.Element;
1573
- declare function SheetTrigger({
1574
- ...props
1575
- }: Dialog$1.Trigger.Props): react_jsx_runtime0.JSX.Element;
1576
- declare function SheetClose({
1577
- ...props
1578
- }: Dialog$1.Close.Props): react_jsx_runtime0.JSX.Element;
1579
- declare function SheetContent({
1580
- className,
1581
- children,
1582
- side,
1583
- showCloseButton,
1584
- container,
1585
- ...props
1586
- }: Dialog$1.Popup.Props & {
1587
- side?: "top" | "right" | "bottom" | "left";
1799
+ declare function Sheet(componentProps: Sheet.Props): react_jsx_runtime0.JSX.Element;
1800
+ interface SheetProps extends Dialog$1.Root.Props {}
1801
+ declare namespace Sheet {
1802
+ type Props = SheetProps;
1803
+ }
1804
+ declare const SheetTrigger: React.ForwardRefExoticComponent<Omit<SheetTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1805
+ interface SheetTriggerProps extends Dialog$1.Trigger.Props {}
1806
+ declare namespace SheetTrigger {
1807
+ type Props = SheetTriggerProps;
1808
+ }
1809
+ declare const SheetClose: React.ForwardRefExoticComponent<Omit<SheetCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1810
+ interface SheetCloseProps extends Dialog$1.Close.Props {}
1811
+ declare namespace SheetClose {
1812
+ type Props = SheetCloseProps;
1813
+ }
1814
+ interface SheetPortalProps extends Dialog$1.Portal.Props {}
1815
+ declare namespace SheetPortal {
1816
+ type Props = SheetPortalProps;
1817
+ }
1818
+ interface SheetOverlayProps extends Dialog$1.Backdrop.Props {}
1819
+ declare namespace SheetOverlay {
1820
+ type Props = SheetOverlayProps;
1821
+ }
1822
+ declare const SheetContent: React.ForwardRefExoticComponent<Omit<SheetContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1823
+ interface SheetContentProps extends Dialog$1.Popup.Props, Pick<Dialog$1.Portal.Props, 'container'> {
1824
+ side?: 'top' | 'right' | 'bottom' | 'left';
1588
1825
  showCloseButton?: boolean;
1589
- } & Pick<Dialog$1.Portal.Props, "container">): react_jsx_runtime0.JSX.Element;
1590
- declare function SheetHeader({
1591
- className,
1592
- ...props
1593
- }: React$2.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
1594
- declare function SheetFooter({
1595
- className,
1596
- ...props
1597
- }: React$2.ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
1598
- declare function SheetTitle({
1599
- className,
1600
- ...props
1601
- }: Dialog$1.Title.Props): react_jsx_runtime0.JSX.Element;
1602
- declare function SheetDescription({
1603
- className,
1604
- ...props
1605
- }: Dialog$1.Description.Props): react_jsx_runtime0.JSX.Element;
1826
+ }
1827
+ declare namespace SheetContent {
1828
+ type Props = SheetContentProps;
1829
+ }
1830
+ declare const SheetHeader: React.ForwardRefExoticComponent<Omit<SheetHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1831
+ interface SheetHeaderProps extends React.ComponentProps<'div'> {}
1832
+ declare namespace SheetHeader {
1833
+ type Props = SheetHeaderProps;
1834
+ }
1835
+ declare const SheetFooter: React.ForwardRefExoticComponent<Omit<SheetFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1836
+ interface SheetFooterProps extends React.ComponentProps<'div'> {}
1837
+ declare namespace SheetFooter {
1838
+ type Props = SheetFooterProps;
1839
+ }
1840
+ declare const SheetTitle: React.ForwardRefExoticComponent<Omit<SheetTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
1841
+ interface SheetTitleProps extends Dialog$1.Title.Props {}
1842
+ declare namespace SheetTitle {
1843
+ type Props = SheetTitleProps;
1844
+ }
1845
+ declare const SheetDescription: React.ForwardRefExoticComponent<Omit<SheetDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
1846
+ interface SheetDescriptionProps extends Dialog$1.Description.Props {}
1847
+ declare namespace SheetDescription {
1848
+ type Props = SheetDescriptionProps;
1849
+ }
1606
1850
  //#endregion
1607
1851
  //#region src/components/tooltip.d.ts
1608
- declare function TooltipProvider({
1609
- delay,
1610
- ...props
1611
- }: Tooltip$1.Provider.Props): react_jsx_runtime0.JSX.Element;
1612
- declare function Tooltip({
1613
- ...props
1614
- }: Tooltip$1.Root.Props): react_jsx_runtime0.JSX.Element;
1615
- declare function TooltipTrigger({
1616
- ...props
1617
- }: Tooltip$1.Trigger.Props): react_jsx_runtime0.JSX.Element;
1618
- declare const TooltipContent: React$2.ForwardRefExoticComponent<Omit<_base_ui_react0.TooltipPopupProps & Pick<_base_ui_react0.TooltipPositionerProps, "side" | "align" | "sideOffset" | "alignOffset">, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1852
+ declare function TooltipProvider(componentProps: TooltipProvider.Props): react_jsx_runtime0.JSX.Element;
1853
+ interface TooltipProviderProps extends Tooltip$1.Provider.Props {}
1854
+ declare namespace TooltipProvider {
1855
+ type Props = TooltipProviderProps;
1856
+ }
1857
+ declare function Tooltip(componentProps: Tooltip.Props): react_jsx_runtime0.JSX.Element;
1858
+ interface TooltipProps extends Tooltip$1.Root.Props {}
1859
+ declare namespace Tooltip {
1860
+ type Props = TooltipProps;
1861
+ }
1862
+ declare const TooltipTrigger: React.ForwardRefExoticComponent<Omit<TooltipTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1863
+ interface TooltipTriggerProps extends Tooltip$1.Trigger.Props {}
1864
+ declare namespace TooltipTrigger {
1865
+ type Props = TooltipTriggerProps;
1866
+ }
1867
+ declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1868
+ interface TooltipContentProps extends Tooltip$1.Popup.Props, Pick<Tooltip$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'> {}
1869
+ declare namespace TooltipContent {
1870
+ type Props = TooltipContentProps;
1871
+ }
1619
1872
  //#endregion
1620
1873
  //#region src/components/sidebar.d.ts
1621
1874
  type SidebarContextProps = {
@@ -1628,173 +1881,175 @@ type SidebarContextProps = {
1628
1881
  toggleSidebar: () => void;
1629
1882
  };
1630
1883
  declare function useSidebar(): SidebarContextProps;
1631
- declare function SidebarProvider({
1632
- defaultOpen,
1633
- open: openProp,
1634
- onOpenChange: setOpenProp,
1635
- className,
1636
- style,
1637
- children,
1638
- ...props
1639
- }: React$2.ComponentProps<'div'> & {
1884
+ declare const SidebarProvider: React.ForwardRefExoticComponent<Omit<SidebarProviderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1885
+ interface SidebarProviderProps extends React.ComponentProps<'div'> {
1640
1886
  defaultOpen?: boolean;
1641
1887
  open?: boolean;
1642
1888
  onOpenChange?: (open: boolean) => void;
1643
- }): react_jsx_runtime0.JSX.Element;
1644
- declare function Sidebar({
1645
- side,
1646
- variant,
1647
- collapsible,
1648
- className,
1649
- children,
1650
- dir,
1651
- ...props
1652
- }: React$2.ComponentProps<'div'> & {
1889
+ }
1890
+ declare namespace SidebarProvider {
1891
+ type Props = SidebarProviderProps;
1892
+ }
1893
+ declare const Sidebar: React.ForwardRefExoticComponent<Omit<SidebarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1894
+ interface SidebarProps extends React.ComponentProps<'div'> {
1653
1895
  side?: 'left' | 'right';
1654
1896
  variant?: 'sidebar' | 'floating' | 'inset';
1655
1897
  collapsible?: 'offcanvas' | 'icon' | 'none';
1656
- }): react_jsx_runtime0.JSX.Element;
1657
- declare function SidebarTrigger({
1658
- className,
1659
- onClick,
1660
- ...props
1661
- }: React$2.ComponentProps<typeof Button>): react_jsx_runtime0.JSX.Element;
1662
- declare function SidebarRail({
1663
- className,
1664
- ...props
1665
- }: React$2.ComponentProps<'button'>): react_jsx_runtime0.JSX.Element;
1666
- declare function SidebarInset({
1667
- className,
1668
- ...props
1669
- }: React$2.ComponentProps<'main'>): react_jsx_runtime0.JSX.Element;
1670
- declare function SidebarInput({
1671
- className,
1672
- ...props
1673
- }: React$2.ComponentProps<typeof Input>): react_jsx_runtime0.JSX.Element;
1674
- declare function SidebarHeader({
1675
- className,
1676
- ...props
1677
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1678
- declare function SidebarFooter({
1679
- className,
1680
- ...props
1681
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1682
- declare function SidebarSeparator({
1683
- className,
1684
- ...props
1685
- }: React$2.ComponentProps<typeof Separator>): react_jsx_runtime0.JSX.Element;
1686
- declare function SidebarContent({
1687
- className,
1688
- ...props
1689
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1690
- declare function SidebarGroup({
1691
- className,
1692
- ...props
1693
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1694
- declare function SidebarGroupLabel({
1695
- className,
1696
- render,
1697
- ...props
1698
- }: useRender.ComponentProps<'div'> & React$2.ComponentProps<'div'>): React$2.ReactElement<any, string | React$2.JSXElementConstructor<any>>;
1699
- declare function SidebarGroupAction({
1700
- className,
1701
- render,
1702
- ...props
1703
- }: useRender.ComponentProps<'button'> & React$2.ComponentProps<'button'>): React$2.ReactElement<any, string | React$2.JSXElementConstructor<any>>;
1704
- declare function SidebarGroupContent({
1705
- className,
1706
- ...props
1707
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1708
- declare function SidebarMenu({
1709
- className,
1710
- ...props
1711
- }: React$2.ComponentProps<'ul'>): react_jsx_runtime0.JSX.Element;
1712
- declare function SidebarMenuItem({
1713
- className,
1714
- ...props
1715
- }: React$2.ComponentProps<'li'>): react_jsx_runtime0.JSX.Element;
1716
- declare const SidebarMenuButton: React$2.ForwardRefExoticComponent<Omit<Omit<React$2.DetailedHTMLProps<React$2.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
1717
- ref?: ((instance: HTMLButtonElement | null) => void | React$2.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$2.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$2.RefObject<HTMLButtonElement> | null | undefined;
1718
- } & {
1719
- render?: React$2.ReactElement<any, string | React$2.JSXElementConstructor<any>> | _base_ui_react0.ComponentRenderFn<_base_ui_react0.HTMLProps, {}> | undefined;
1720
- } & React$2.ClassAttributes<HTMLButtonElement> & React$2.ButtonHTMLAttributes<HTMLButtonElement> & {
1721
- isActive?: boolean;
1722
- tooltip?: string | React$2.ComponentProps<typeof TooltipContent>;
1723
- } & VariantProps<(props?: ({
1898
+ }
1899
+ declare namespace Sidebar {
1900
+ type Props = SidebarProps;
1901
+ }
1902
+ declare const SidebarTrigger: React.ForwardRefExoticComponent<Omit<SidebarTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1903
+ interface SidebarTriggerProps extends React.ComponentProps<typeof Button> {}
1904
+ declare namespace SidebarTrigger {
1905
+ type Props = SidebarTriggerProps;
1906
+ }
1907
+ declare const SidebarRail: React.ForwardRefExoticComponent<Omit<SidebarRailProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1908
+ interface SidebarRailProps extends React.ComponentProps<'button'> {}
1909
+ declare namespace SidebarRail {
1910
+ type Props = SidebarRailProps;
1911
+ }
1912
+ declare const SidebarInset: React.ForwardRefExoticComponent<Omit<SidebarInsetProps, "ref"> & React.RefAttributes<HTMLElement>>;
1913
+ interface SidebarInsetProps extends React.ComponentProps<'main'> {}
1914
+ declare namespace SidebarInset {
1915
+ type Props = SidebarInsetProps;
1916
+ }
1917
+ declare const SidebarInput: React.ForwardRefExoticComponent<Omit<SidebarInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
1918
+ interface SidebarInputProps extends React.ComponentProps<typeof Input> {}
1919
+ declare namespace SidebarInput {
1920
+ type Props = SidebarInputProps;
1921
+ }
1922
+ declare const SidebarHeader: React.ForwardRefExoticComponent<Omit<SidebarHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1923
+ interface SidebarHeaderProps extends React.ComponentProps<'div'> {}
1924
+ declare namespace SidebarHeader {
1925
+ type Props = SidebarHeaderProps;
1926
+ }
1927
+ declare const SidebarFooter: React.ForwardRefExoticComponent<Omit<SidebarFooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1928
+ interface SidebarFooterProps extends React.ComponentProps<'div'> {}
1929
+ declare namespace SidebarFooter {
1930
+ type Props = SidebarFooterProps;
1931
+ }
1932
+ declare const SidebarSeparator: React.ForwardRefExoticComponent<Omit<SidebarSeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1933
+ interface SidebarSeparatorProps extends React.ComponentProps<typeof Separator> {}
1934
+ declare namespace SidebarSeparator {
1935
+ type Props = SidebarSeparatorProps;
1936
+ }
1937
+ declare const SidebarContent: React.ForwardRefExoticComponent<Omit<SidebarContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1938
+ interface SidebarContentProps extends React.ComponentProps<'div'> {}
1939
+ declare namespace SidebarContent {
1940
+ type Props = SidebarContentProps;
1941
+ }
1942
+ declare const SidebarGroup: React.ForwardRefExoticComponent<Omit<SidebarGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1943
+ interface SidebarGroupProps extends React.ComponentProps<'div'> {}
1944
+ declare namespace SidebarGroup {
1945
+ type Props = SidebarGroupProps;
1946
+ }
1947
+ declare const SidebarGroupLabel: React.ForwardRefExoticComponent<Omit<SidebarGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1948
+ type SidebarGroupLabelProps = useRender.ComponentProps<'div'> & React.ComponentProps<'div'>;
1949
+ declare namespace SidebarGroupLabel {
1950
+ type Props = SidebarGroupLabelProps;
1951
+ }
1952
+ declare const SidebarGroupAction: React.ForwardRefExoticComponent<Omit<SidebarGroupActionProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1953
+ type SidebarGroupActionProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'>;
1954
+ declare namespace SidebarGroupAction {
1955
+ type Props = SidebarGroupActionProps;
1956
+ }
1957
+ declare const SidebarGroupContent: React.ForwardRefExoticComponent<Omit<SidebarGroupContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1958
+ interface SidebarGroupContentProps extends React.ComponentProps<'div'> {}
1959
+ declare namespace SidebarGroupContent {
1960
+ type Props = SidebarGroupContentProps;
1961
+ }
1962
+ declare const SidebarMenu: React.ForwardRefExoticComponent<Omit<SidebarMenuProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
1963
+ interface SidebarMenuProps extends React.ComponentProps<'ul'> {}
1964
+ declare namespace SidebarMenu {
1965
+ type Props = SidebarMenuProps;
1966
+ }
1967
+ declare const SidebarMenuItem: React.ForwardRefExoticComponent<Omit<SidebarMenuItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
1968
+ interface SidebarMenuItemProps extends React.ComponentProps<'li'> {}
1969
+ declare namespace SidebarMenuItem {
1970
+ type Props = SidebarMenuItemProps;
1971
+ }
1972
+ declare const sidebarMenuButtonVariants: (props?: ({
1724
1973
  variant?: "default" | "outline" | null | undefined;
1725
1974
  size?: "default" | "sm" | "lg" | null | undefined;
1726
- } & class_variance_authority_types4.ClassProp) | undefined) => string>, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
1727
- declare const SidebarMenuAction: React$2.ForwardRefExoticComponent<Omit<Omit<React$2.DetailedHTMLProps<React$2.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
1728
- ref?: ((instance: HTMLButtonElement | null) => void | React$2.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React$2.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React$2.RefObject<HTMLButtonElement> | null | undefined;
1729
- } & {
1730
- render?: React$2.ReactElement<any, string | React$2.JSXElementConstructor<any>> | _base_ui_react0.ComponentRenderFn<_base_ui_react0.HTMLProps, {}> | undefined;
1731
- } & React$2.ClassAttributes<HTMLButtonElement> & React$2.ButtonHTMLAttributes<HTMLButtonElement> & {
1975
+ } & class_variance_authority_types4.ClassProp) | undefined) => string;
1976
+ declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<SidebarMenuButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1977
+ type SidebarMenuButtonProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'> & VariantProps<typeof sidebarMenuButtonVariants> & {
1978
+ isActive?: boolean;
1979
+ tooltip?: string | React.ComponentProps<typeof TooltipContent>;
1980
+ };
1981
+ declare namespace SidebarMenuButton {
1982
+ type Props = SidebarMenuButtonProps;
1983
+ }
1984
+ declare const SidebarMenuAction: React.ForwardRefExoticComponent<Omit<SidebarMenuActionProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1985
+ type SidebarMenuActionProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'> & {
1732
1986
  showOnHover?: boolean;
1733
- }, "ref"> & React$2.RefAttributes<HTMLButtonElement>>;
1734
- declare function SidebarMenuBadge({
1735
- className,
1736
- ...props
1737
- }: React$2.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
1738
- declare function SidebarMenuSkeleton({
1739
- className,
1740
- showIcon,
1741
- width: widthProp,
1742
- ...props
1743
- }: Omit<React$2.ComponentProps<'div'>, 'width'> & {
1744
- showIcon?: boolean; /** Override the randomized skeleton width (e.g. for deterministic stories). */
1987
+ };
1988
+ declare namespace SidebarMenuAction {
1989
+ type Props = SidebarMenuActionProps;
1990
+ }
1991
+ declare const SidebarMenuBadge: React.ForwardRefExoticComponent<Omit<SidebarMenuBadgeProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1992
+ interface SidebarMenuBadgeProps extends React.ComponentProps<'div'> {}
1993
+ declare namespace SidebarMenuBadge {
1994
+ type Props = SidebarMenuBadgeProps;
1995
+ }
1996
+ declare const SidebarMenuSkeleton: React.ForwardRefExoticComponent<Omit<SidebarMenuSkeletonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1997
+ interface SidebarMenuSkeletonProps extends Omit<React.ComponentProps<'div'>, 'width'> {
1998
+ showIcon?: boolean;
1999
+ /** Override the randomized skeleton width (e.g. for deterministic stories). */
1745
2000
  width?: string;
1746
- }): react_jsx_runtime0.JSX.Element;
1747
- declare function SidebarMenuSub({
1748
- className,
1749
- ...props
1750
- }: React$2.ComponentProps<'ul'>): react_jsx_runtime0.JSX.Element;
1751
- declare function SidebarMenuSubItem({
1752
- className,
1753
- ...props
1754
- }: React$2.ComponentProps<'li'>): react_jsx_runtime0.JSX.Element;
1755
- declare function SidebarMenuSubButton({
1756
- render,
1757
- size,
1758
- isActive,
1759
- className,
1760
- ...props
1761
- }: useRender.ComponentProps<'a'> & React$2.ComponentProps<'a'> & {
2001
+ }
2002
+ declare namespace SidebarMenuSkeleton {
2003
+ type Props = SidebarMenuSkeletonProps;
2004
+ }
2005
+ declare const SidebarMenuSub: React.ForwardRefExoticComponent<Omit<SidebarMenuSubProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
2006
+ interface SidebarMenuSubProps extends React.ComponentProps<'ul'> {}
2007
+ declare namespace SidebarMenuSub {
2008
+ type Props = SidebarMenuSubProps;
2009
+ }
2010
+ declare const SidebarMenuSubItem: React.ForwardRefExoticComponent<Omit<SidebarMenuSubItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
2011
+ interface SidebarMenuSubItemProps extends React.ComponentProps<'li'> {}
2012
+ declare namespace SidebarMenuSubItem {
2013
+ type Props = SidebarMenuSubItemProps;
2014
+ }
2015
+ declare const SidebarMenuSubButton: React.ForwardRefExoticComponent<Omit<SidebarMenuSubButtonProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
2016
+ type SidebarMenuSubButtonProps = useRender.ComponentProps<'a'> & React.ComponentProps<'a'> & {
1762
2017
  size?: 'sm' | 'md';
1763
2018
  isActive?: boolean;
1764
- }): React$2.ReactElement<any, string | React$2.JSXElementConstructor<any>>;
2019
+ };
2020
+ declare namespace SidebarMenuSubButton {
2021
+ type Props = SidebarMenuSubButtonProps;
2022
+ }
1765
2023
  //#endregion
1766
2024
  //#region src/components/skeleton.d.ts
1767
- declare function Skeleton({
1768
- className,
1769
- ...props
1770
- }: React.ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
2025
+ declare const Skeleton: React.ForwardRefExoticComponent<Omit<SkeletonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2026
+ interface SkeletonProps extends React.ComponentProps<'div'> {}
2027
+ declare namespace Skeleton {
2028
+ type Props = SkeletonProps;
2029
+ }
1771
2030
  //#endregion
1772
2031
  //#region src/components/slider.d.ts
1773
- declare function Slider({
1774
- className,
1775
- defaultValue,
1776
- value,
1777
- min,
1778
- max,
1779
- orientation,
1780
- ...props
1781
- }: Slider$1.Root.Props): react_jsx_runtime0.JSX.Element;
2032
+ declare const Slider: React.ForwardRefExoticComponent<Omit<SliderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2033
+ interface SliderProps extends Slider$1.Root.Props {}
2034
+ declare namespace Slider {
2035
+ type Props = SliderProps;
2036
+ }
1782
2037
  //#endregion
1783
2038
  //#region src/components/sonner.d.ts
1784
- declare const Toaster: ({
1785
- ...props
1786
- }: ToasterProps) => react_jsx_runtime0.JSX.Element;
2039
+ declare const Toaster: (componentProps: Toaster.Props) => react_jsx_runtime0.JSX.Element;
2040
+ declare namespace Toaster {
2041
+ type Props = ToasterProps;
2042
+ }
1787
2043
  //#endregion
1788
2044
  //#region src/components/spinner.d.ts
1789
2045
  declare const spinnerVariants: (props?: ({
1790
2046
  size?: "default" | "sm" | "lg" | "xl" | null | undefined;
1791
2047
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
1792
- interface SpinnerProps extends React$2.ComponentProps<'svg'>, VariantProps<typeof spinnerVariants> {}
1793
- declare function Spinner({
1794
- className,
1795
- size,
1796
- ...props
1797
- }: SpinnerProps): react_jsx_runtime0.JSX.Element;
2048
+ declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
2049
+ interface SpinnerProps extends React.ComponentProps<'svg'>, VariantProps<typeof spinnerVariants> {}
2050
+ declare namespace Spinner {
2051
+ type Props = SpinnerProps;
2052
+ }
1798
2053
  //#endregion
1799
2054
  //#region src/components/stepper.d.ts
1800
2055
  type StepDefinition = {
@@ -1809,8 +2064,8 @@ interface StepperContextValue {
1809
2064
  steps: StepDefinition[];
1810
2065
  }
1811
2066
  declare function useStepper(): StepperContextValue;
1812
- declare const Stepper: React$2.ForwardRefExoticComponent<Omit<StepperProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1813
- interface StepperProps extends React$2.ComponentProps<'div'> {
2067
+ declare const Stepper: React.ForwardRefExoticComponent<Omit<StepperProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2068
+ interface StepperProps extends React.ComponentProps<'div'> {
1814
2069
  steps: StepDefinition[];
1815
2070
  defaultValue?: string;
1816
2071
  value?: string;
@@ -1819,26 +2074,26 @@ interface StepperProps extends React$2.ComponentProps<'div'> {
1819
2074
  declare namespace Stepper {
1820
2075
  type Props = StepperProps;
1821
2076
  }
1822
- declare const StepperProgress: React$2.ForwardRefExoticComponent<Omit<StepperProgressProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1823
- interface StepperProgressProps extends React$2.ComponentProps<'div'> {
2077
+ declare const StepperProgress: React.ForwardRefExoticComponent<Omit<StepperProgressProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2078
+ interface StepperProgressProps extends React.ComponentProps<'div'> {
1824
2079
  steps?: string[];
1825
2080
  }
1826
2081
  declare namespace StepperProgress {
1827
2082
  type Props = StepperProgressProps;
1828
2083
  }
1829
- declare const StepperCounter: React$2.ForwardRefExoticComponent<Omit<StepperCounterProps, "ref"> & React$2.RefAttributes<HTMLParagraphElement>>;
1830
- interface StepperCounterProps extends React$2.ComponentProps<'p'> {
2084
+ declare const StepperCounter: React.ForwardRefExoticComponent<Omit<StepperCounterProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
2085
+ interface StepperCounterProps extends React.ComponentProps<'p'> {
1831
2086
  steps?: string[];
1832
2087
  }
1833
2088
  declare namespace StepperCounter {
1834
2089
  type Props = StepperCounterProps;
1835
2090
  }
1836
- declare const StepperPanel: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
2091
+ declare const StepperPanel: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1837
2092
  declare namespace StepperPanel {
1838
- type Props = React$2.ComponentProps<'div'>;
2093
+ type Props = React.ComponentProps<'div'>;
1839
2094
  }
1840
- declare const StepperContent: React$2.ForwardRefExoticComponent<Omit<StepperContentProps, "ref"> & React$2.RefAttributes<HTMLDivElement>>;
1841
- interface StepperContentProps extends React$2.ComponentProps<'div'> {
2095
+ declare const StepperContent: React.ForwardRefExoticComponent<Omit<StepperContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2096
+ interface StepperContentProps extends React.ComponentProps<'div'> {
1842
2097
  value: string;
1843
2098
  forceMount?: boolean;
1844
2099
  }
@@ -1847,92 +2102,242 @@ declare namespace StepperContent {
1847
2102
  }
1848
2103
  //#endregion
1849
2104
  //#region src/components/switch.d.ts
1850
- declare function Switch({
1851
- className,
1852
- ...props
1853
- }: Switch$1.Root.Props): react_jsx_runtime0.JSX.Element;
2105
+ declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchProps, "ref"> & React.RefAttributes<HTMLElement>>;
2106
+ interface SwitchProps extends Switch$1.Root.Props {}
2107
+ declare namespace Switch {
2108
+ type Props = SwitchProps;
2109
+ }
1854
2110
  //#endregion
1855
2111
  //#region src/components/table.d.ts
1856
- declare const Table: React$2.ForwardRefExoticComponent<Omit<React$2.ClassAttributes<HTMLTableElement> & React$2.TableHTMLAttributes<HTMLTableElement> & {
2112
+ declare const Table: React.ForwardRefExoticComponent<Omit<TableProps, "ref"> & React.RefAttributes<HTMLTableElement>>;
2113
+ interface TableProps extends React.ComponentProps<'table'> {
1857
2114
  containerClassName?: string;
1858
- containerStyle?: React$2.CSSProperties;
1859
- }, "ref"> & React$2.RefAttributes<HTMLTableElement>>;
1860
- declare const TableHeader: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React$2.RefAttributes<HTMLTableSectionElement>>;
1861
- declare const TableBody: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React$2.RefAttributes<HTMLTableSectionElement>>;
1862
- declare const TableFooter: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & React$2.RefAttributes<HTMLTableSectionElement>>;
1863
- declare const TableRow: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & React$2.RefAttributes<HTMLTableRowElement>>;
1864
- declare const TableHead: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref"> & React$2.RefAttributes<HTMLTableCellElement>>;
1865
- declare const TableCell: React$2.ForwardRefExoticComponent<Omit<React$2.DetailedHTMLProps<React$2.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, "ref"> & React$2.RefAttributes<HTMLTableCellElement>>;
2115
+ containerStyle?: React.CSSProperties;
2116
+ }
2117
+ declare namespace Table {
2118
+ type Props = TableProps;
2119
+ }
2120
+ declare const TableHeader: React.ForwardRefExoticComponent<Omit<TableHeaderProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
2121
+ interface TableHeaderProps extends React.ComponentProps<'thead'> {}
2122
+ declare namespace TableHeader {
2123
+ type Props = TableHeaderProps;
2124
+ }
2125
+ declare const TableBody: React.ForwardRefExoticComponent<Omit<TableBodyProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
2126
+ interface TableBodyProps extends React.ComponentProps<'tbody'> {}
2127
+ declare namespace TableBody {
2128
+ type Props = TableBodyProps;
2129
+ }
2130
+ declare const TableFooter: React.ForwardRefExoticComponent<Omit<TableFooterProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
2131
+ interface TableFooterProps extends React.ComponentProps<'tfoot'> {}
2132
+ declare namespace TableFooter {
2133
+ type Props = TableFooterProps;
2134
+ }
2135
+ declare const TableRow: React.ForwardRefExoticComponent<Omit<TableRowProps, "ref"> & React.RefAttributes<HTMLTableRowElement>>;
2136
+ interface TableRowProps extends React.ComponentProps<'tr'> {}
2137
+ declare namespace TableRow {
2138
+ type Props = TableRowProps;
2139
+ }
2140
+ declare const TableHead: React.ForwardRefExoticComponent<Omit<TableHeadProps, "ref"> & React.RefAttributes<HTMLTableCellElement>>;
2141
+ interface TableHeadProps extends React.ComponentProps<'th'> {}
2142
+ declare namespace TableHead {
2143
+ type Props = TableHeadProps;
2144
+ }
2145
+ declare const TableCell: React.ForwardRefExoticComponent<Omit<TableCellProps, "ref"> & React.RefAttributes<HTMLTableCellElement>>;
2146
+ interface TableCellProps extends React.ComponentProps<'td'> {}
2147
+ declare namespace TableCell {
2148
+ type Props = TableCellProps;
2149
+ }
1866
2150
  //#endregion
1867
2151
  //#region src/components/tabs.d.ts
1868
- declare function Tabs({
1869
- className,
1870
- orientation,
1871
- ...props
1872
- }: Tabs$1.Root.Props): react_jsx_runtime0.JSX.Element;
1873
- declare function TabsList({
1874
- className,
1875
- ...props
1876
- }: Tabs$1.List.Props): react_jsx_runtime0.JSX.Element;
1877
- declare function TabsTrigger({
1878
- className,
1879
- ...props
1880
- }: Tabs$1.Tab.Props): react_jsx_runtime0.JSX.Element;
1881
- declare function TabsContent({
1882
- className,
1883
- ...props
1884
- }: Tabs$1.Panel.Props): react_jsx_runtime0.JSX.Element;
2152
+ declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2153
+ interface TabsProps extends Tabs$1.Root.Props {}
2154
+ declare namespace Tabs {
2155
+ type Props = TabsProps;
2156
+ }
2157
+ declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2158
+ interface TabsListProps extends Tabs$1.List.Props {}
2159
+ declare namespace TabsList {
2160
+ type Props = TabsListProps;
2161
+ }
2162
+ declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsTriggerProps, "ref"> & React.RefAttributes<HTMLElement>>;
2163
+ interface TabsTriggerProps extends Tabs$1.Tab.Props {}
2164
+ declare namespace TabsTrigger {
2165
+ type Props = TabsTriggerProps;
2166
+ }
2167
+ declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2168
+ interface TabsContentProps extends Tabs$1.Panel.Props {}
2169
+ declare namespace TabsContent {
2170
+ type Props = TabsContentProps;
2171
+ }
1885
2172
  //#endregion
1886
2173
  //#region src/components/textarea.d.ts
1887
- declare function Textarea({
1888
- className,
1889
- ...props
1890
- }: React$2.ComponentProps<'textarea'>): react_jsx_runtime0.JSX.Element;
2174
+ declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
2175
+ interface TextareaProps extends React.ComponentProps<'textarea'> {}
2176
+ declare namespace Textarea {
2177
+ type Props = TextareaProps;
2178
+ }
1891
2179
  //#endregion
1892
2180
  //#region src/components/theme-provider.d.ts
1893
- type ThemeProviderProps = ThemeProviderProps$1;
1894
- declare function ThemeProvider({
1895
- children,
1896
- ...props
1897
- }: ThemeProviderProps): React.ReactNode;
2181
+ type ThemeProviderProps$1 = ThemeProviderProps;
2182
+ declare function ThemeProvider(componentProps: ThemeProvider.Props): React.ReactNode;
2183
+ declare namespace ThemeProvider {
2184
+ type Props = ThemeProviderProps$1;
2185
+ }
1898
2186
  //#endregion
1899
2187
  //#region src/components/toggle.d.ts
1900
2188
  declare const toggleVariants: (props?: ({
1901
2189
  variant?: "default" | "outline" | null | undefined;
1902
2190
  size?: "default" | "sm" | "lg" | null | undefined;
1903
2191
  } & class_variance_authority_types4.ClassProp) | undefined) => string;
1904
- declare function Toggle({
1905
- className,
1906
- variant,
1907
- size,
1908
- ...props
1909
- }: Toggle$1.Props & VariantProps<typeof toggleVariants>): react_jsx_runtime0.JSX.Element;
2192
+ declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
2193
+ interface ToggleProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
2194
+ declare namespace Toggle {
2195
+ type Props = ToggleProps;
2196
+ }
1910
2197
  //#endregion
1911
2198
  //#region src/components/toggle-group.d.ts
1912
- declare function ToggleGroup({
1913
- className,
1914
- variant,
1915
- size,
1916
- spacing,
1917
- orientation,
1918
- block,
1919
- children,
1920
- ...props
1921
- }: ToggleGroup$1.Props & VariantProps<typeof toggleVariants> & {
2199
+ declare const ToggleGroup: React.ForwardRefExoticComponent<Omit<ToggleGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2200
+ type ToggleGroupProps = ToggleGroup$1.Props & VariantProps<typeof toggleVariants> & {
1922
2201
  spacing?: number;
1923
- orientation?: "horizontal" | "vertical";
2202
+ orientation?: 'horizontal' | 'vertical';
1924
2203
  /**
1925
2204
  * Stretch the group to fill its container.
1926
2205
  */
1927
2206
  block?: boolean;
1928
- }): react_jsx_runtime0.JSX.Element;
1929
- declare function ToggleGroupItem({
2207
+ };
2208
+ declare namespace ToggleGroup {
2209
+ type Props = ToggleGroupProps;
2210
+ }
2211
+ declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
2212
+ interface ToggleGroupItemProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
2213
+ declare namespace ToggleGroupItem {
2214
+ type Props = ToggleGroupItemProps;
2215
+ }
2216
+ //#endregion
2217
+ //#region src/components/tree.d.ts
2218
+ interface TreeProps extends React.HTMLAttributes<HTMLDivElement> {
2219
+ /** Pixel indentation applied per nesting level. Defaults to `20`. */
2220
+ indent?: number;
2221
+ /** The tree instance returned by `useTree`. */
2222
+ tree?: any;
2223
+ }
2224
+ declare namespace Tree {
2225
+ type Props = TreeProps;
2226
+ }
2227
+ declare function Tree({
2228
+ indent,
2229
+ tree,
1930
2230
  className,
2231
+ ...props
2232
+ }: Tree.Props): react_jsx_runtime0.JSX.Element;
2233
+ interface TreeItemProps<T = any> extends React.HTMLAttributes<HTMLDivElement> {
2234
+ /** The item instance from `tree.getItems()`. */
2235
+ item: ItemInstance<T>;
2236
+ /**
2237
+ * What activating the row does — fired on a row-body click and on Enter/Space
2238
+ * while the row is focused (not when a child checkbox/chevron is the target).
2239
+ * Provide it to make row activation toggle selection (e.g.
2240
+ * `() => item.toggleCheckedState()`). When omitted, activation toggles the
2241
+ * folder's expansion — the default for a plain navigation tree. Expansion via
2242
+ * the `TreeItemLabel` chevron button and the ←/→ arrow keys always works
2243
+ * regardless of this prop.
2244
+ */
2245
+ onActivate?: (item: ItemInstance<T>) => void;
2246
+ }
2247
+ declare namespace TreeItem {
2248
+ type Props<T = any> = TreeItemProps<T>;
2249
+ }
2250
+ declare function TreeItem<T = any>({
2251
+ item,
2252
+ className,
2253
+ children,
2254
+ onActivate,
2255
+ onClick: userOnClick,
2256
+ onKeyDown: userOnKeyDown,
2257
+ style: userStyle,
2258
+ ...props
2259
+ }: TreeItem.Props<T>): react_jsx_runtime0.JSX.Element;
2260
+ interface TreeItemLabelProps<T = any> extends React.HTMLAttributes<HTMLSpanElement> {
2261
+ /** Item to label. Falls back to the current `TreeItem` from context. */
2262
+ item?: ItemInstance<T>;
2263
+ }
2264
+ declare namespace TreeItemLabel {
2265
+ type Props<T = any> = TreeItemLabelProps<T>;
2266
+ }
2267
+ declare function TreeItemLabel<T = any>({
2268
+ item: propItem,
1931
2269
  children,
1932
- variant,
1933
- size,
2270
+ className,
2271
+ ...props
2272
+ }: TreeItemLabel.Props<T>): react_jsx_runtime0.JSX.Element | null;
2273
+ interface TreeDragLineProps extends React.HTMLAttributes<HTMLDivElement> {}
2274
+ declare namespace TreeDragLine {
2275
+ type Props = TreeDragLineProps;
2276
+ }
2277
+ declare function TreeDragLine({
2278
+ className,
1934
2279
  ...props
1935
- }: Toggle$1.Props & VariantProps<typeof toggleVariants>): react_jsx_runtime0.JSX.Element;
2280
+ }: TreeDragLine.Props): react_jsx_runtime0.JSX.Element | null;
2281
+ //#endregion
2282
+ //#region src/components/ds-i18n-provider.d.ts
2283
+ /** Minimal shape of an i18next-like instance — structural to avoid coupling to a version. */
2284
+ interface I18nLanguageSource {
2285
+ language: string;
2286
+ on(event: 'languageChanged', cb: (lng: string) => void): void;
2287
+ off(event: 'languageChanged', cb: (lng: string) => void): void;
2288
+ }
2289
+ /**
2290
+ * Drives the language of the shared `dsI18n` singleton from React.
2291
+ *
2292
+ * PRODUCTION INVARIANT — mount EXACTLY ONE `DsI18nProvider` at the app root, as an
2293
+ * ancestor of all DS components. This is NOT a context provider: it mutates the single
2294
+ * shared `dsI18n` singleton inside an effect. Therefore NEVER nest two providers with
2295
+ * differing languages — they are competing singleton mutators, and because React runs
2296
+ * effects inside-out, the OUTERMOST provider's effect runs last and wins, silently
2297
+ * overriding the inner one. DS apps are single-locale, so one root provider is correct.
2298
+ *
2299
+ * Use either `DsI18nProvider` (React apps) OR `syncDsLanguage` (non-React startup) — not
2300
+ * both, for the same reason: each mutates the same singleton and they would compete.
2301
+ */
2302
+ declare function DsI18nProvider(componentProps: DsI18nProvider.Props): React.ReactNode;
2303
+ declare namespace DsI18nProvider {
2304
+ interface Props {
2305
+ /** Active language code (e.g. 'fr'). Falls back to navigator.language, then 'en'. */
2306
+ language?: string;
2307
+ children: React.ReactNode;
2308
+ }
2309
+ }
2310
+ /**
2311
+ * Escape hatch for non-React / global-instance startup (e.g. the browser extension).
2312
+ * Mirrors `instance`'s current language onto the ds instance and follows its changes.
2313
+ * Returns an unsubscribe function.
2314
+ *
2315
+ * PRODUCTION INVARIANT — call this OR mount `DsI18nProvider`, never both. Both mutate the
2316
+ * same `dsI18n` singleton, so running them together makes them compete (last writer wins).
2317
+ * Like the provider, the singleton is single-locale: drive it from exactly one source.
2318
+ */
2319
+ declare function syncDsLanguage(instance: I18nLanguageSource): () => void;
2320
+ //#endregion
2321
+ //#region src/i18n/instance.d.ts
2322
+ declare const SUPPORTED_LANGUAGES: readonly ["en", "fr", "es", "de", "it"];
2323
+ /** Resolve the initial language from the environment, falling back to English. */
2324
+ declare function detectInitialLanguage(): string;
2325
+ /** Register an additional namespace's resources into the shared instance (used by @aircall/blocks). */
2326
+ declare function registerI18nNamespace(ns: string, resources: Record<string, Record<string, string>>): void;
2327
+ //#endregion
2328
+ //#region src/i18n/use-ds-translation.d.ts
2329
+ /**
2330
+ * @internal
2331
+ * Reads translations from the shared ds instance and re-renders on language change.
2332
+ * Used by @aircall/ds and @aircall/blocks components only — not part of the consumer contract.
2333
+ */
2334
+ declare function useDsTranslation(ns: 'ds' | 'blocks'): (key: string, opts?: Record<string, unknown>) => string;
2335
+ //#endregion
2336
+ //#region src/i18n/keys.d.ts
2337
+ /** All translation keys owned by the `ds` namespace. Flat dotted keys (keySeparator: false). */
2338
+ type DsI18nKey = 'spinner.loading' | 'pagination.label' | 'pagination.previousPage' | 'pagination.nextPage' | 'dataTable.selectAllRows' | 'dataTable.selectRow' | 'tree.collapse' | 'tree.expand' | 'multiselect.remove' | 'multiselect.clearAll' | 'sidebar.toggle' | 'drawer.close' | 'emojiPicker.emoji' | 'emojiPicker.choose' | 'actionBar.selectionActions' | 'pagination.previous' | 'pagination.next' | 'actionBar.clearSelection' | 'actionBar.itemsSelected';
2339
+ /** A complete set of translations for one language. Missing a key is a compile error. */
2340
+ type DsLocale = Record<DsI18nKey, string>;
1936
2341
  //#endregion
1937
2342
  //#region src/hooks/use-audio-gauge.d.ts
1938
2343
  interface UseAudioGaugeOptions {
@@ -1992,4 +2397,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
1992
2397
  //#region src/lib/utils.d.ts
1993
2398
  declare function cn(...inputs: ClassValue[]): string;
1994
2399
  //#endregion
1995
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionBar, ActionBarButton, type ActionBarButtonProps, ActionBarContext, type ActionBarContextValue, ActionBarHeight, type ActionBarProps, Alert, AlertAction, AlertAction as BannerAction, AlertDescription, AlertDescription as BannerDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AlertTitle as BannerTitle, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeGroup, BadgeGroupCount, Banner, type BannerProps, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, ButtonProps, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChipProps, ComboboxChips, ComboboxChipsInput, ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, CountryFlagProps, DataTable, type DataTableLoadingState, type DataTableProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBackdrop, DrawerBar, DrawerClose, DrawerContent, DrawerCreateHandle, DrawerDescription, DrawerFooter, DrawerHeader, DrawerMenu, DrawerMenuCheckboxItem, DrawerMenuGroup, DrawerMenuGroupLabel, DrawerMenuItem, DrawerMenuRadioGroup, DrawerMenuRadioItem, DrawerMenuSeparator, DrawerMenuTrigger, DrawerPanel, DrawerPopup, DrawerPortal, DrawerPrimitive, DrawerSwipeArea, DrawerTitle, DrawerTrigger, DrawerViewport, DropdownMenu, DropdownMenuAddon, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneActions, DropzoneContent, type DropzoneContentProps, DropzoneDescription, DropzoneErrorCode, DropzoneIcon, type DropzoneProps, DropzoneTitle, DropzoneTrigger, type DropzoneTriggerProps, EmojiPicker, EmojiPickerCategories, EmojiPickerCategory, EmojiPickerContent, EmojiPickerContentProps, EmojiPickerProps, EmojiPickerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAB, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, FileError, FileRejection, Filter, FilterClearAllButton, FilterGroup, Gauge, type GaugeProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, List, ListCol, ListRow, NotificationHandle, NotificationOptions, NotificationPriority, NotificationQueueControls, NotificationQueueProvider, NotificationRenderProps, NotificationSlot, NotificationSlotProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, ScrollArea, ScrollAreaPrimitive, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, type StepDefinition, Stepper, StepperContent, type StepperContentProps, StepperCounter, type StepperCounterProps, StepperPanel, StepperProgress, type StepperProgressProps, type StepperProps, Switch, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, ThemeProviderProps, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UseAudioGaugeOptions, UseAudioGaugeResult, alertVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, fabVariants, selectTriggerVariants, spinnerVariants, toast, toggleVariants, useAudioGauge, useComboboxAnchor, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
2400
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionBar, ActionBarButton, ActionBarContext, type ActionBarContextValue, ActionBarHeight, Alert, AlertAction, AlertAction as BannerAction, AlertDescription, AlertDescription as BannerDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlertTitle as BannerTitle, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeGroup, BadgeGroupCount, Banner, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, type ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataTable, type DataTableLoadingState, DataTree, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBackdrop, DrawerBar, DrawerClose, DrawerContent, DrawerCreateHandle, DrawerDescription, DrawerFooter, DrawerHeader, DrawerMenu, DrawerMenuCheckboxItem, DrawerMenuGroup, DrawerMenuGroupLabel, DrawerMenuItem, DrawerMenuRadioGroup, DrawerMenuRadioItem, DrawerMenuSeparator, DrawerMenuTrigger, DrawerPanel, DrawerPopup, DrawerPortal, DrawerPrimitive, DrawerSwipeArea, DrawerTitle, DrawerTrigger, DrawerViewport, DropdownMenu, DropdownMenuAddon, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneActions, DropzoneContent, DropzoneDescription, type DropzoneErrorCode, DropzoneIcon, DropzoneTitle, DropzoneTrigger, type DsI18nKey, DsI18nProvider, type DsLocale, EmojiPicker, EmojiPickerCategories, type EmojiPickerCategory, EmojiPickerContent, EmojiPickerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAB, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FileError, type FileRejection, Filter, FilterClearAllButton, FilterGroup, Gauge, type I18nLanguageSource, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, List, ListCol, ListRow, type NotificationHandle, type NotificationOptions, type NotificationPriority, type NotificationQueueControls, NotificationQueueProvider, type NotificationRenderProps, NotificationSlot, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, SUPPORTED_LANGUAGES, ScrollArea, ScrollAreaPrimitive, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetOverlay, type SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, type StepDefinition, Stepper, StepperContent, StepperCounter, StepperPanel, StepperProgress, Switch, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, UseAudioGaugeOptions, UseAudioGaugeResult, alertVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useComboboxAnchor, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };