@aircall/ds 0.18.0 → 0.21.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/globals.css +1 -1
- package/dist/index.d.ts +510 -8
- package/dist/index.js +832 -37
- package/dist/theme.css +1 -1
- package/package.json +3 -2
- package/skills/aircall-ds/adopt-attachment/SKILL.md +283 -0
- package/skills/aircall-ds/migrate-audio-player/SKILL.md +438 -0
- package/skills/aircall-ds/migrate-tractor/SKILL.md +1 -1
- package/skills/aircall-ds/migrate-tractor/data-table/SKILL.md +47 -1
- package/skills/aircall-ds/migrate-tractor/dropzone/SKILL.md +33 -0
package/dist/index.d.ts
CHANGED
|
@@ -5,9 +5,10 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
|
5
5
|
import { Button as Button$1 } from "@base-ui/react/button";
|
|
6
6
|
import { VariantProps } from "class-variance-authority";
|
|
7
7
|
import "i18next";
|
|
8
|
+
import { Slider as Slider$1 } from "@base-ui/react/slider";
|
|
9
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
8
10
|
import { AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
|
|
9
11
|
import { Avatar as Avatar$1 } from "@base-ui/react/avatar";
|
|
10
|
-
import { useRender } from "@base-ui/react/use-render";
|
|
11
12
|
import { Separator as Separator$1 } from "@base-ui/react/separator";
|
|
12
13
|
import { DayButton, DayPicker, Locale } from "react-day-picker";
|
|
13
14
|
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
@@ -34,7 +35,6 @@ import { OTPInput } from "input-otp";
|
|
|
34
35
|
import { Progress as Progress$1 } from "@base-ui/react/progress";
|
|
35
36
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
36
37
|
import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
|
|
37
|
-
import { Slider as Slider$1 } from "@base-ui/react/slider";
|
|
38
38
|
import { ToasterProps, toast } from "sonner";
|
|
39
39
|
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
40
40
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
@@ -68,7 +68,7 @@ declare namespace AccordionContent {
|
|
|
68
68
|
//#region src/components/button.d.ts
|
|
69
69
|
declare const buttonVariants: (props?: ({
|
|
70
70
|
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
71
|
-
size?: "default" | "
|
|
71
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
72
72
|
block?: boolean | null | undefined;
|
|
73
73
|
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
74
74
|
declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -125,6 +125,345 @@ declare namespace ActionBar {
|
|
|
125
125
|
type Props = ActionBarProps;
|
|
126
126
|
}
|
|
127
127
|
//#endregion
|
|
128
|
+
//#region src/components/audio-player.d.ts
|
|
129
|
+
/**
|
|
130
|
+
* Identifies an audio track by its source URL. Pass to `player.play({ src })`
|
|
131
|
+
* or to the `<Audio src>` prop. The `src` acts as the unique key — two items
|
|
132
|
+
* with the same URL are treated as the same track.
|
|
133
|
+
*/
|
|
134
|
+
interface AudioPlayerItem {
|
|
135
|
+
src: string;
|
|
136
|
+
}
|
|
137
|
+
interface AudioPlayerContextValue {
|
|
138
|
+
audioRef: React.RefObject<HTMLAudioElement | null>;
|
|
139
|
+
/** The item currently loaded in the `<audio>` element, or `null`. */
|
|
140
|
+
activeItem: AudioPlayerItem | null;
|
|
141
|
+
/** Convenience predicate for sub-components. */
|
|
142
|
+
isItemActive: (src: string | null) => boolean;
|
|
143
|
+
/** Swap the active item (loads its src; does not auto-play). */
|
|
144
|
+
setActiveItem: (item: AudioPlayerItem | null) => Promise<void>;
|
|
145
|
+
isPlaying: boolean;
|
|
146
|
+
isBuffering: boolean;
|
|
147
|
+
isEnded: boolean;
|
|
148
|
+
duration: number | null;
|
|
149
|
+
playbackRate: number;
|
|
150
|
+
error: MediaError | null;
|
|
151
|
+
/** Play. With `item`: swap src if needed, then play. Without: play the active item. */
|
|
152
|
+
play: (item?: AudioPlayerItem | null) => Promise<void>;
|
|
153
|
+
pause: () => Promise<void>;
|
|
154
|
+
toggle: (item?: AudioPlayerItem | null) => Promise<void>;
|
|
155
|
+
seek: (seconds: number) => void;
|
|
156
|
+
setPlaybackRate: (rate: number) => void;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Returns the playback context from the nearest `<Audio>` ancestor. Throws if
|
|
160
|
+
* called outside an `<Audio>` tree.
|
|
161
|
+
*
|
|
162
|
+
* **State**
|
|
163
|
+
* - `activeItem` — the item currently loaded (`{ src }` or `null`)
|
|
164
|
+
* - `isPlaying` — `true` while audio is playing
|
|
165
|
+
* - `isBuffering` — `true` while waiting for data (spinner state)
|
|
166
|
+
* - `isEnded` — `true` when playback has reached the end
|
|
167
|
+
* - `duration` — total length in seconds, `null` until metadata loads
|
|
168
|
+
* - `playbackRate` — current speed multiplier (default `1`)
|
|
169
|
+
* - `error` — `MediaError | null`; watch in a child `useEffect` to handle expired URLs etc.
|
|
170
|
+
* - `audioRef` — ref to the hidden `<audio>` element (escape hatch for `setSinkId` etc.)
|
|
171
|
+
*
|
|
172
|
+
* **Controls**
|
|
173
|
+
* - `play(item?)` — start playback; pass `{ src }` to swap the track first
|
|
174
|
+
* - `pause()` — pause playback
|
|
175
|
+
* - `toggle(item?)` — play if paused, pause if playing
|
|
176
|
+
* - `seek(seconds)` — jump to a position
|
|
177
|
+
* - `setPlaybackRate(rate)` — change speed
|
|
178
|
+
* - `setActiveItem(item)` — pre-load a track without auto-playing
|
|
179
|
+
* - `isItemActive(src)` — predicate: is this src the currently loaded one?
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* ```tsx
|
|
183
|
+
* const { isPlaying, toggle, seek, duration, error } = useAudioPlayer();
|
|
184
|
+
* ```
|
|
185
|
+
*/
|
|
186
|
+
declare function useAudioPlayer(): AudioPlayerContextValue;
|
|
187
|
+
/**
|
|
188
|
+
* Returns the current playback position in seconds, updated every animation frame
|
|
189
|
+
* via `requestAnimationFrame`. Published on a separate context from `useAudioPlayer`
|
|
190
|
+
* so that high-frequency time updates do not re-render every component that only
|
|
191
|
+
* needs playback state (isPlaying, duration, etc.). Throws outside `<Audio>`.
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* ```tsx
|
|
195
|
+
* const currentTime = useAudioPlayerTime(); // e.g. 1.23 (seconds)
|
|
196
|
+
* ```
|
|
197
|
+
*/
|
|
198
|
+
declare function useAudioPlayerTime(): number;
|
|
199
|
+
/**
|
|
200
|
+
* Root provider for all AudioPlayer sub-components. Manages a single hidden
|
|
201
|
+
* `<audio>` element and publishes playback state via React context. Renders a
|
|
202
|
+
* `<div>` wrapper around its children.
|
|
203
|
+
*
|
|
204
|
+
* When `src` is provided the audio element pre-loads metadata so duration is
|
|
205
|
+
* available before the user presses play. Omit `src` for multi-item layouts
|
|
206
|
+
* where the source is set imperatively via `player.play({ src })`.
|
|
207
|
+
*
|
|
208
|
+
* Errors are accessed via `useAudioPlayer().error` — no `onError` prop.
|
|
209
|
+
*
|
|
210
|
+
* @example
|
|
211
|
+
* ```tsx
|
|
212
|
+
* <Audio src="https://example.com/audio.mp3">
|
|
213
|
+
* <AudioPlayerRow>
|
|
214
|
+
* <AudioPlayerButton />
|
|
215
|
+
* <AudioPlayerBar />
|
|
216
|
+
* <AudioPlayerTime />
|
|
217
|
+
* </AudioPlayerRow>
|
|
218
|
+
* </Audio>
|
|
219
|
+
* ```
|
|
220
|
+
*/
|
|
221
|
+
interface AudioProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onError'> {
|
|
222
|
+
/** Audio source URL. When provided, the `<audio>` element is pre-loaded so
|
|
223
|
+
* metadata (duration, readyState) is available before the user presses play.
|
|
224
|
+
* Omit for multi-item layouts where `src` is set imperatively via
|
|
225
|
+
* `player.play({ src })`. */
|
|
226
|
+
src?: string;
|
|
227
|
+
/**
|
|
228
|
+
* Initial playback speed multiplier.
|
|
229
|
+
* @default 1
|
|
230
|
+
*/
|
|
231
|
+
defaultPlaybackRate?: number;
|
|
232
|
+
/**
|
|
233
|
+
* Forwarded to `<audio preload>`. Controls how much the browser buffers on load.
|
|
234
|
+
* @default 'metadata'
|
|
235
|
+
*/
|
|
236
|
+
preload?: 'none' | 'metadata' | 'auto';
|
|
237
|
+
/** Forwarded to `<audio crossOrigin>`. Unset by default so any source works;
|
|
238
|
+
* set to `"anonymous"` if you need Web Audio API access (waveforms, EQ). */
|
|
239
|
+
crossOrigin?: 'anonymous' | 'use-credentials';
|
|
240
|
+
}
|
|
241
|
+
declare function Audio({
|
|
242
|
+
src,
|
|
243
|
+
defaultPlaybackRate,
|
|
244
|
+
preload,
|
|
245
|
+
crossOrigin,
|
|
246
|
+
children,
|
|
247
|
+
...divProps
|
|
248
|
+
}: AudioProps): react_jsx_runtime0.JSX.Element;
|
|
249
|
+
/**
|
|
250
|
+
* Flex row wrapper for AudioPlayer sub-components. Renders a `<div>` with
|
|
251
|
+
* `flex items-center gap-2`. Cascades `variant` to child `<AudioPlayerButton>`
|
|
252
|
+
* and `<AudioPlayerSpeed>` via context so the prop does not need to be repeated
|
|
253
|
+
* on each child. A direct-child `<AudioPlayerBar>` automatically receives
|
|
254
|
+
* `flex-1` via a `[data-slot]` selector.
|
|
255
|
+
*
|
|
256
|
+
* @example
|
|
257
|
+
* ```tsx
|
|
258
|
+
* <AudioPlayerRow variant="ghost">
|
|
259
|
+
* <AudioPlayerButton />
|
|
260
|
+
* <AudioPlayerSpeed />
|
|
261
|
+
* <AudioPlayerBar />
|
|
262
|
+
* <AudioPlayerTime />
|
|
263
|
+
* </AudioPlayerRow>
|
|
264
|
+
* ```
|
|
265
|
+
*/
|
|
266
|
+
type AudioPlayerRowProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
267
|
+
/**
|
|
268
|
+
* Controls the visual weight of child `AudioPlayerButton` and `AudioPlayerSpeed`
|
|
269
|
+
* without having to repeat the prop on each one.
|
|
270
|
+
* - `default` — filled 32 px button + 32 px speed control (standard row)
|
|
271
|
+
* - `ghost` — transparent 24 px button + 24 px speed control (compact row)
|
|
272
|
+
*
|
|
273
|
+
* `AudioPlayerBar` placed as a direct child automatically receives `flex-1`
|
|
274
|
+
* via a `[data-slot=audio-player-bar]` selector — no `className="flex-1"` needed.
|
|
275
|
+
* @default 'default'
|
|
276
|
+
*/
|
|
277
|
+
variant?: 'default' | 'ghost';
|
|
278
|
+
};
|
|
279
|
+
declare function AudioPlayerRow({
|
|
280
|
+
variant,
|
|
281
|
+
className,
|
|
282
|
+
children,
|
|
283
|
+
...props
|
|
284
|
+
}: AudioPlayerRowProps): react_jsx_runtime0.JSX.Element;
|
|
285
|
+
/**
|
|
286
|
+
* Play / pause / replay toggle button. Automatically selects the correct icon
|
|
287
|
+
* from provider state (Play → Pause → Replay → Spinner for buffering) and sets
|
|
288
|
+
* an accessible `aria-label`. Renders a DS `<Button>` by default; substitute any
|
|
289
|
+
* element via the `render` prop (Base UI `useRender` pattern).
|
|
290
|
+
*
|
|
291
|
+
* The `variant` prop is inherited from a parent `<AudioPlayerRow>` when not
|
|
292
|
+
* explicitly set. Variant bakes both fill style and size — no separate `size` prop.
|
|
293
|
+
*
|
|
294
|
+
* @example
|
|
295
|
+
* ```tsx
|
|
296
|
+
* <AudioPlayerButton />
|
|
297
|
+
* <AudioPlayerButton variant="ghost" />
|
|
298
|
+
* <AudioPlayerButton disabled={!player.activeItem} />
|
|
299
|
+
* ```
|
|
300
|
+
*/
|
|
301
|
+
type AudioPlayerButtonProps = useRender.ComponentProps<'button'> & {
|
|
302
|
+
/**
|
|
303
|
+
* Visual treatment. Each value bakes a size by mapping to a DS <Button> preset:
|
|
304
|
+
* - `default` → <Button variant="default" size="icon"> // 32 px solid green
|
|
305
|
+
* - `ghost` → <Button variant="ghost" size="icon-sm"> // 24 px transparent
|
|
306
|
+
*/
|
|
307
|
+
variant?: 'default' | 'ghost';
|
|
308
|
+
};
|
|
309
|
+
declare function AudioPlayerButton({
|
|
310
|
+
variant,
|
|
311
|
+
render,
|
|
312
|
+
onClick,
|
|
313
|
+
...props
|
|
314
|
+
}: AudioPlayerButtonProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
315
|
+
/**
|
|
316
|
+
* Seek bar built on Base UI `<Slider.Root>`. Clicking or dragging seeks the audio;
|
|
317
|
+
* drag pauses playback and resumes on release. The thumb is hidden by default and
|
|
318
|
+
* appears on hover or focus. Disabled (50% opacity, no pointer events) when no
|
|
319
|
+
* audio duration is known.
|
|
320
|
+
*
|
|
321
|
+
* Place inside `<AudioPlayerRow>` to receive `flex-1` automatically. Pass
|
|
322
|
+
* `className` to override width when used outside a row.
|
|
323
|
+
*
|
|
324
|
+
* Use `playheadHeight` to render a thin vertical playhead instead of the default
|
|
325
|
+
* circle thumb — useful when the bar overlays a multi-row timeline (e.g. a
|
|
326
|
+
* speaker waveform) and the cursor should visually fall through the rows below.
|
|
327
|
+
*
|
|
328
|
+
* @example
|
|
329
|
+
* ```tsx
|
|
330
|
+
* <AudioPlayerBar />
|
|
331
|
+
* <AudioPlayerBar playheadHeight={40} />
|
|
332
|
+
* ```
|
|
333
|
+
*/
|
|
334
|
+
type AudioPlayerBarProps = Omit<React.ComponentProps<typeof Slider$1.Root>, 'value' | 'defaultValue' | 'min' | 'max' | 'onValueChange' | 'onValueCommitted'> & {
|
|
335
|
+
/**
|
|
336
|
+
* When set, replaces the default circle thumb with a thin vertical cursor of
|
|
337
|
+
* this height (in px). Use when the bar sits above a multi-row timeline (e.g.
|
|
338
|
+
* a speaker waveform) and the cursor should visually fall through the rows
|
|
339
|
+
* below. The cursor is 2 px wide, white, with no border-radius.
|
|
340
|
+
*/
|
|
341
|
+
playheadHeight?: number;
|
|
342
|
+
};
|
|
343
|
+
declare function AudioPlayerBar({
|
|
344
|
+
className,
|
|
345
|
+
step,
|
|
346
|
+
playheadHeight,
|
|
347
|
+
...props
|
|
348
|
+
}: AudioPlayerBarProps): react_jsx_runtime0.JSX.Element;
|
|
349
|
+
type AudioPlayerCurrentTimeProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
350
|
+
/**
|
|
351
|
+
* Dumb span that always renders the current playback position as a formatted
|
|
352
|
+
* time string (e.g. `1:23`). Reads from the nearest `AudioPlayerProvider`.
|
|
353
|
+
*
|
|
354
|
+
* @example
|
|
355
|
+
* ```tsx
|
|
356
|
+
* <AudioPlayerCurrentTime />
|
|
357
|
+
* ```
|
|
358
|
+
*/
|
|
359
|
+
declare function AudioPlayerCurrentTime({
|
|
360
|
+
className,
|
|
361
|
+
...props
|
|
362
|
+
}: AudioPlayerCurrentTimeProps): react_jsx_runtime0.JSX.Element;
|
|
363
|
+
type AudioPlayerTimeProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
364
|
+
/**
|
|
365
|
+
* `compact` (default) — smart single value: shows total duration before the track
|
|
366
|
+
* is started, current position once playback has begun (including while paused).
|
|
367
|
+
* `full` — always `current / total` with a separator (`1:23 / 3:45`).
|
|
368
|
+
*/
|
|
369
|
+
mode?: 'compact' | 'full';
|
|
370
|
+
};
|
|
371
|
+
/**
|
|
372
|
+
* Time display for `AudioPlayerRow`. Two layouts controlled by `mode`:
|
|
373
|
+
* - `compact` (default) — duration before first play, elapsed once started (even while paused)
|
|
374
|
+
* - `full` — current position + `/` + total duration, always visible
|
|
375
|
+
*
|
|
376
|
+
* Use `AudioPlayerCurrentTime` or `AudioPlayerDuration` directly when you need
|
|
377
|
+
* more layout control.
|
|
378
|
+
*
|
|
379
|
+
* @example
|
|
380
|
+
* ```tsx
|
|
381
|
+
* <AudioPlayerTime mode="full" />
|
|
382
|
+
* ```
|
|
383
|
+
*/
|
|
384
|
+
declare function AudioPlayerTime({
|
|
385
|
+
mode,
|
|
386
|
+
className,
|
|
387
|
+
...props
|
|
388
|
+
}: AudioPlayerTimeProps): react_jsx_runtime0.JSX.Element;
|
|
389
|
+
type AudioPlayerDurationProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
390
|
+
/**
|
|
391
|
+
* Dumb span that always renders the total audio duration as a formatted time
|
|
392
|
+
* string (e.g. `3:45`). Reads from the nearest `AudioPlayerProvider`.
|
|
393
|
+
*
|
|
394
|
+
* @example
|
|
395
|
+
* ```tsx
|
|
396
|
+
* <AudioPlayerDuration />
|
|
397
|
+
* ```
|
|
398
|
+
*/
|
|
399
|
+
declare function AudioPlayerDuration({
|
|
400
|
+
className,
|
|
401
|
+
...props
|
|
402
|
+
}: AudioPlayerDurationProps): react_jsx_runtime0.JSX.Element;
|
|
403
|
+
type AudioPlayerSpeedProps = useRender.ComponentProps<'button'> & {
|
|
404
|
+
/** Speed cycle order. Defaults to [1, 1.5, 2, 0.5] (matches Figma). */speeds?: number[];
|
|
405
|
+
/**
|
|
406
|
+
* Sizing pairs with the row's `AudioPlayerButton` variant.
|
|
407
|
+
* - `default` → DS `<Button variant="ghost" size="default">` (32 px)
|
|
408
|
+
* - `ghost` → DS `<Button variant="ghost" size="sm">` (24 px)
|
|
409
|
+
* Defaults to `default`. The visual treatment stays ghost in both cases —
|
|
410
|
+
* `variant` here only controls hit-area height to keep the row aligned.
|
|
411
|
+
*/
|
|
412
|
+
variant?: 'default' | 'ghost';
|
|
413
|
+
};
|
|
414
|
+
declare function AudioPlayerSpeed({
|
|
415
|
+
speeds,
|
|
416
|
+
variant,
|
|
417
|
+
render,
|
|
418
|
+
onClick,
|
|
419
|
+
className,
|
|
420
|
+
...props
|
|
421
|
+
}: AudioPlayerSpeedProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
422
|
+
/**
|
|
423
|
+
* Skip button that seeks by a fixed number of seconds. The icon is selected
|
|
424
|
+
* automatically from `offset`: `−10` → `Backward10`, `+10` → `Forward10`,
|
|
425
|
+
* other negative values → `Rewind`, other positive values → `FastForward`.
|
|
426
|
+
* Renders a ghost DS `<Button>` by default; substitute via `render`.
|
|
427
|
+
*
|
|
428
|
+
* @example
|
|
429
|
+
* ```tsx
|
|
430
|
+
* <AudioPlayerSkip offset={-10} />
|
|
431
|
+
* <AudioPlayerSkip offset={10} />
|
|
432
|
+
* <AudioPlayerSkip offset={-5} />
|
|
433
|
+
* ```
|
|
434
|
+
*/
|
|
435
|
+
type AudioPlayerSkipProps = useRender.ComponentProps<'button'> & {
|
|
436
|
+
/** Seconds to seek (positive = forward, negative = back). Required. */offset: number;
|
|
437
|
+
};
|
|
438
|
+
declare function AudioPlayerSkip({
|
|
439
|
+
offset,
|
|
440
|
+
render,
|
|
441
|
+
onClick,
|
|
442
|
+
...props
|
|
443
|
+
}: AudioPlayerSkipProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
444
|
+
type AudioPlayerManagerProps = {
|
|
445
|
+
children: React.ReactNode;
|
|
446
|
+
};
|
|
447
|
+
/**
|
|
448
|
+
* Optional coordination wrapper. Place it above multiple `<Audio>` instances to
|
|
449
|
+
* ensure only one plays at a time — starting playback on any child automatically
|
|
450
|
+
* pauses whichever other was playing. Unregisters cleanly when a child unmounts.
|
|
451
|
+
*
|
|
452
|
+
* Works transparently: `<Audio>` instances without a parent `AudioPlayerManager`
|
|
453
|
+
* are unaffected. Only add it when you need the pause-others behaviour.
|
|
454
|
+
*
|
|
455
|
+
* @example
|
|
456
|
+
* ```tsx
|
|
457
|
+
* <AudioPlayerManager>
|
|
458
|
+
* <Audio src={url1}>…</Audio>
|
|
459
|
+
* <Audio src={url2}>…</Audio>
|
|
460
|
+
* </AudioPlayerManager>
|
|
461
|
+
* ```
|
|
462
|
+
*/
|
|
463
|
+
declare function AudioPlayerManager({
|
|
464
|
+
children
|
|
465
|
+
}: AudioPlayerManagerProps): react_jsx_runtime0.JSX.Element;
|
|
466
|
+
//#endregion
|
|
128
467
|
//#region src/components/alert-dialog.d.ts
|
|
129
468
|
declare function AlertDialog(componentProps: AlertDialog.Props): react_jsx_runtime0.JSX.Element;
|
|
130
469
|
interface AlertDialogProps extends AlertDialog$1.Root.Props {}
|
|
@@ -191,7 +530,7 @@ declare namespace AlertDialogCancel {
|
|
|
191
530
|
//#endregion
|
|
192
531
|
//#region src/components/alert.d.ts
|
|
193
532
|
declare const alertVariants: (props?: ({
|
|
194
|
-
variant?: "default" | "
|
|
533
|
+
variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
195
534
|
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
196
535
|
declare const Alert: React.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
197
536
|
interface AlertProps extends React.ComponentProps<'div'>, VariantProps<typeof alertVariants> {}
|
|
@@ -214,6 +553,144 @@ declare namespace AlertAction {
|
|
|
214
553
|
type Props = AlertActionProps;
|
|
215
554
|
}
|
|
216
555
|
//#endregion
|
|
556
|
+
//#region src/components/attachment.d.ts
|
|
557
|
+
/**
|
|
558
|
+
* Upload lifecycle of an {@link Attachment}. Drives the visual treatment:
|
|
559
|
+
* `idle` (dashed border), `uploading`/`processing` (shimmering title),
|
|
560
|
+
* `error` (destructive accents), `done` (default resting state).
|
|
561
|
+
*/
|
|
562
|
+
type AttachmentState = 'idle' | 'uploading' | 'processing' | 'error' | 'done';
|
|
563
|
+
declare const attachmentVariants: (props?: ({
|
|
564
|
+
size?: "default" | "sm" | "xs" | null | undefined;
|
|
565
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
566
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
567
|
+
/**
|
|
568
|
+
* Card displaying a single file or image attachment with its metadata,
|
|
569
|
+
* upload state, and actions. Renders a `<div>`; compose it from
|
|
570
|
+
* `AttachmentMedia`, `AttachmentContent`, `AttachmentActions`, and
|
|
571
|
+
* `AttachmentTrigger`. Wrap several in an `AttachmentGroup`.
|
|
572
|
+
*
|
|
573
|
+
* @example
|
|
574
|
+
* ```tsx
|
|
575
|
+
* <Attachment state="done">
|
|
576
|
+
* <AttachmentMedia>
|
|
577
|
+
* <FileText />
|
|
578
|
+
* </AttachmentMedia>
|
|
579
|
+
* <AttachmentContent>
|
|
580
|
+
* <AttachmentTitle>sales-dashboard.pdf</AttachmentTitle>
|
|
581
|
+
* <AttachmentDescription>PDF · 2.4 MB</AttachmentDescription>
|
|
582
|
+
* </AttachmentContent>
|
|
583
|
+
* <AttachmentActions>
|
|
584
|
+
* <AttachmentAction aria-label="Remove attachment">
|
|
585
|
+
* <X />
|
|
586
|
+
* </AttachmentAction>
|
|
587
|
+
* </AttachmentActions>
|
|
588
|
+
* </Attachment>
|
|
589
|
+
* ```
|
|
590
|
+
*/
|
|
591
|
+
declare const Attachment: React.ForwardRefExoticComponent<Omit<AttachmentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
592
|
+
interface AttachmentProps extends React.ComponentProps<'div'>, VariantProps<typeof attachmentVariants> {
|
|
593
|
+
/**
|
|
594
|
+
* Upload lifecycle state that drives the card's visual treatment.
|
|
595
|
+
* @default 'done'
|
|
596
|
+
*/
|
|
597
|
+
state?: AttachmentState;
|
|
598
|
+
}
|
|
599
|
+
declare namespace Attachment {
|
|
600
|
+
type Props = AttachmentProps;
|
|
601
|
+
}
|
|
602
|
+
declare const attachmentMediaVariants: (props?: ({
|
|
603
|
+
variant?: "image" | "icon" | null | undefined;
|
|
604
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
605
|
+
/**
|
|
606
|
+
* Leading media slot of an `Attachment` — holds an icon (`variant="icon"`)
|
|
607
|
+
* or an image thumbnail (`variant="image"`). Renders a `<div>`.
|
|
608
|
+
*/
|
|
609
|
+
declare const AttachmentMedia: React.ForwardRefExoticComponent<Omit<AttachmentMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
610
|
+
interface AttachmentMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof attachmentMediaVariants> {}
|
|
611
|
+
declare namespace AttachmentMedia {
|
|
612
|
+
type Props = AttachmentMediaProps;
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* Text column of an `Attachment` — wraps `AttachmentTitle` and
|
|
616
|
+
* `AttachmentDescription`. Renders a `<div>`.
|
|
617
|
+
*/
|
|
618
|
+
declare const AttachmentContent: React.ForwardRefExoticComponent<Omit<AttachmentContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
619
|
+
interface AttachmentContentProps extends React.ComponentProps<'div'> {}
|
|
620
|
+
declare namespace AttachmentContent {
|
|
621
|
+
type Props = AttachmentContentProps;
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* Attachment name. Renders a truncating `<span>`; shimmers while the parent
|
|
625
|
+
* `Attachment` is in the `uploading` or `processing` state.
|
|
626
|
+
*/
|
|
627
|
+
declare const AttachmentTitle: React.ForwardRefExoticComponent<Omit<AttachmentTitleProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
628
|
+
interface AttachmentTitleProps extends React.ComponentProps<'span'> {}
|
|
629
|
+
declare namespace AttachmentTitle {
|
|
630
|
+
type Props = AttachmentTitleProps;
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* Secondary metadata line (type, size, status) of an `Attachment`. Renders a
|
|
634
|
+
* truncating `<span>`; turns destructive while the parent is in the `error` state.
|
|
635
|
+
*/
|
|
636
|
+
declare const AttachmentDescription: React.ForwardRefExoticComponent<Omit<AttachmentDescriptionProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
637
|
+
interface AttachmentDescriptionProps extends React.ComponentProps<'span'> {}
|
|
638
|
+
declare namespace AttachmentDescription {
|
|
639
|
+
type Props = AttachmentDescriptionProps;
|
|
640
|
+
}
|
|
641
|
+
/**
|
|
642
|
+
* Trailing actions container of an `Attachment`. Renders a `<div>`; in
|
|
643
|
+
* `orientation="vertical"` it floats to the top-right corner of the card.
|
|
644
|
+
*/
|
|
645
|
+
declare const AttachmentActions: React.ForwardRefExoticComponent<Omit<AttachmentActionsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
646
|
+
interface AttachmentActionsProps extends React.ComponentProps<'div'> {}
|
|
647
|
+
declare namespace AttachmentActions {
|
|
648
|
+
type Props = AttachmentActionsProps;
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* A single action button (e.g. remove, download) inside `AttachmentActions`.
|
|
652
|
+
* Wraps the DS `Button`, defaulting to `variant="ghost"` and `size="icon-sm"`.
|
|
653
|
+
* Always provide an `aria-label` since it renders an icon-only button.
|
|
654
|
+
*/
|
|
655
|
+
declare const AttachmentAction: React.ForwardRefExoticComponent<Omit<AttachmentActionProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
656
|
+
interface AttachmentActionProps extends React.ComponentProps<typeof Button> {}
|
|
657
|
+
declare namespace AttachmentAction {
|
|
658
|
+
type Props = AttachmentActionProps;
|
|
659
|
+
}
|
|
660
|
+
/**
|
|
661
|
+
* Full-card overlay button that makes the whole `Attachment` clickable
|
|
662
|
+
* (e.g. to open a preview or link) without swallowing `AttachmentAction`
|
|
663
|
+
* clicks. Renders a `<button>` by default; pass `render` to substitute an
|
|
664
|
+
* element such as an anchor.
|
|
665
|
+
*
|
|
666
|
+
* @example
|
|
667
|
+
* ```tsx
|
|
668
|
+
* <AttachmentTrigger render={<a href="/files/report.pdf" />} />
|
|
669
|
+
* ```
|
|
670
|
+
*/
|
|
671
|
+
declare const AttachmentTrigger: React.ForwardRefExoticComponent<Omit<AttachmentTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
672
|
+
type AttachmentTriggerProps = useRender.ComponentProps<'button'>;
|
|
673
|
+
declare namespace AttachmentTrigger {
|
|
674
|
+
type Props = AttachmentTriggerProps;
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* Horizontally scrollable, snapping row of `Attachment` cards with a masked
|
|
678
|
+
* edge fade and hidden scrollbar. Renders a `<div>`.
|
|
679
|
+
*
|
|
680
|
+
* @example
|
|
681
|
+
* ```tsx
|
|
682
|
+
* <AttachmentGroup>
|
|
683
|
+
* <Attachment>…</Attachment>
|
|
684
|
+
* <Attachment>…</Attachment>
|
|
685
|
+
* </AttachmentGroup>
|
|
686
|
+
* ```
|
|
687
|
+
*/
|
|
688
|
+
declare const AttachmentGroup: React.ForwardRefExoticComponent<Omit<AttachmentGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
689
|
+
interface AttachmentGroupProps extends React.ComponentProps<'div'> {}
|
|
690
|
+
declare namespace AttachmentGroup {
|
|
691
|
+
type Props = AttachmentGroupProps;
|
|
692
|
+
}
|
|
693
|
+
//#endregion
|
|
217
694
|
//#region src/components/avatar.d.ts
|
|
218
695
|
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
219
696
|
interface AvatarProps extends Avatar$1.Root.Props {
|
|
@@ -303,7 +780,7 @@ declare namespace BadgeGroupCount {
|
|
|
303
780
|
//#endregion
|
|
304
781
|
//#region src/components/banner.d.ts
|
|
305
782
|
declare const bannerVariants: (props?: ({
|
|
306
|
-
variant?: "default" | "
|
|
783
|
+
variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
307
784
|
borderDirection?: "bottom" | "top" | null | undefined;
|
|
308
785
|
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
309
786
|
declare const Banner: React.ForwardRefExoticComponent<Omit<BannerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -856,8 +1333,22 @@ interface DataTableProps<TData> {
|
|
|
856
1333
|
* Fills the parent's height and scrolls the table body internally, keeping
|
|
857
1334
|
* the header pinned (sticky). The parent must provide a bounded height — e.g.
|
|
858
1335
|
* a flex column (`flex flex-col` + `min-h-0`). Common for full-page lists.
|
|
1336
|
+
*
|
|
1337
|
+
* Required when using `virtualizeRows` — the virtualizer tracks `scrollTop` on
|
|
1338
|
+
* this container; without it the page scrolls and virtualization has no effect.
|
|
859
1339
|
*/
|
|
860
1340
|
fillHeight?: boolean;
|
|
1341
|
+
/**
|
|
1342
|
+
* Enables row virtualization via `@tanstack/react-virtual` — only visible rows
|
|
1343
|
+
* are rendered, keeping DOM size constant for large datasets (1 000+ rows).
|
|
1344
|
+
* Works independently of `onFetchMore`: use it for infinite-scroll tables that
|
|
1345
|
+
* accumulate many pages, or for any static dataset with 1 000+ rows.
|
|
1346
|
+
*
|
|
1347
|
+
* Requires `fillHeight={true}` — the container must scroll internally so the
|
|
1348
|
+
* virtualizer can track scroll position. Without it, `scrollTop` stays 0 and
|
|
1349
|
+
* virtualization has no effect.
|
|
1350
|
+
*/
|
|
1351
|
+
virtualizeRows?: boolean;
|
|
861
1352
|
className?: string;
|
|
862
1353
|
}
|
|
863
1354
|
declare function DataTable<TData>(componentProps: DataTable.Props<TData>): react_jsx_runtime0.JSX.Element;
|
|
@@ -1776,7 +2267,7 @@ declare namespace NumericInputDecrement {
|
|
|
1776
2267
|
}
|
|
1777
2268
|
//#endregion
|
|
1778
2269
|
//#region src/components/input-otp.d.ts
|
|
1779
|
-
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
2270
|
+
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
1780
2271
|
value?: string;
|
|
1781
2272
|
onChange?: (newValue: string) => unknown;
|
|
1782
2273
|
maxLength: number;
|
|
@@ -1791,7 +2282,7 @@ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHT
|
|
|
1791
2282
|
children?: never;
|
|
1792
2283
|
} & React.RefAttributes<HTMLInputElement> & {
|
|
1793
2284
|
containerClassName?: string;
|
|
1794
|
-
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
2285
|
+
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
1795
2286
|
value?: string;
|
|
1796
2287
|
onChange?: (newValue: string) => unknown;
|
|
1797
2288
|
maxLength: number;
|
|
@@ -2410,6 +2901,8 @@ declare const Table: React.ForwardRefExoticComponent<Omit<TableProps, "ref"> & R
|
|
|
2410
2901
|
interface TableProps extends React.ComponentProps<'table'> {
|
|
2411
2902
|
containerClassName?: string;
|
|
2412
2903
|
containerStyle?: React.CSSProperties;
|
|
2904
|
+
/** Ref forwarded to the container `<div>` wrapping the `<table>`. */
|
|
2905
|
+
containerRef?: React.Ref<HTMLDivElement>;
|
|
2413
2906
|
}
|
|
2414
2907
|
declare namespace Table {
|
|
2415
2908
|
type Props = TableProps;
|
|
@@ -2630,6 +3123,15 @@ declare function registerI18nNamespace(ns: string, resources: Record<string, Rec
|
|
|
2630
3123
|
*/
|
|
2631
3124
|
declare function useDsTranslation(ns: 'ds' | 'blocks'): (key: string, opts?: Record<string, unknown>) => string;
|
|
2632
3125
|
//#endregion
|
|
3126
|
+
//#region src/i18n/use-ds-locale.d.ts
|
|
3127
|
+
/**
|
|
3128
|
+
* @internal
|
|
3129
|
+
* Reads the DS i18n active language and re-renders on change. Used by `@aircall/ds`
|
|
3130
|
+
* components as the default `locale` for `Intl`-based formatting (e.g. `NumericInput`).
|
|
3131
|
+
* Not part of the consumer contract.
|
|
3132
|
+
*/
|
|
3133
|
+
declare function useDsLocale(): string;
|
|
3134
|
+
//#endregion
|
|
2633
3135
|
//#region src/i18n/keys.d.ts
|
|
2634
3136
|
/** All translation keys owned by the `ds` namespace. Flat dotted keys (keySeparator: false). */
|
|
2635
3137
|
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' | 'fieldLabel.required' | 'fieldLabel.optional' | 'fieldLabel.moreInfo';
|
|
@@ -2694,4 +3196,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
|
|
|
2694
3196
|
//#region src/lib/utils.d.ts
|
|
2695
3197
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2696
3198
|
//#endregion
|
|
2697
|
-
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, Anchor, 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, type ColumnDef, 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, FieldLabelAside, FieldLabelInfo, FieldLabelRow, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FileError, type FileRejection, Filter, FilterClearAllButton, FilterGroup, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, 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, NumericInput, NumericInputControl, NumericInputDecrement, NumericInputIncrement, type OnChangeFn, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, type RowSelectionState, 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, type SortingState, 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, anchorVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useComboboxAnchor, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
|
|
3199
|
+
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, Anchor, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, type AttachmentState, AttachmentTitle, AttachmentTrigger, Audio, AudioPlayerBar, type AudioPlayerBarProps, AudioPlayerButton, type AudioPlayerButtonProps, AudioPlayerCurrentTime, type AudioPlayerCurrentTimeProps, AudioPlayerDuration, type AudioPlayerDurationProps, type AudioPlayerItem, AudioPlayerManager, type AudioPlayerManagerProps, AudioPlayerRow, type AudioPlayerRowProps, AudioPlayerSkip, type AudioPlayerSkipProps, AudioPlayerSpeed, type AudioPlayerSpeedProps, AudioPlayerTime, type AudioPlayerTimeProps, type AudioProps, 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, type ColumnDef, 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, FieldLabelAside, FieldLabelInfo, FieldLabelRow, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FileError, type FileRejection, Filter, FilterClearAllButton, FilterGroup, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, 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, NumericInput, NumericInputControl, NumericInputDecrement, NumericInputIncrement, type OnChangeFn, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, type RowSelectionState, 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, type SortingState, 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, anchorVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useAudioPlayer, useAudioPlayerTime, useComboboxAnchor, useDsLocale, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
|