@saasflare/ui 1.0.0 → 1.0.1
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/README.md +258 -0
- package/dist/button-B2DR7obe.d.mts +316 -0
- package/dist/button-B2DR7obe.d.ts +316 -0
- package/dist/chunk-7UB3R5JU.js +590 -0
- package/dist/chunk-JOVJRQO3.js +13 -0
- package/dist/chunk-P2JF7JDY.mjs +550 -0
- package/dist/chunk-S26666D6.mjs +11 -0
- package/dist/entries/carousel.d.mts +24 -0
- package/dist/entries/carousel.d.ts +24 -0
- package/dist/entries/carousel.js +223 -0
- package/dist/entries/carousel.mjs +194 -0
- package/dist/entries/chart.d.mts +69 -0
- package/dist/entries/chart.d.ts +69 -0
- package/dist/entries/chart.js +265 -0
- package/dist/entries/chart.mjs +237 -0
- package/dist/index.d.mts +173 -545
- package/dist/index.d.ts +173 -545
- package/dist/index.js +1094 -2018
- package/dist/index.mjs +650 -1638
- package/package.json +82 -18
package/dist/index.d.mts
CHANGED
|
@@ -1,19 +1,44 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
|
+
import { P as Palette, S as Surface, R as RadiusProp, a as StyleVariant, b as Radius, I as Intent, B as Button, c as SaasflareComponentProps } from './button-B2DR7obe.mjs';
|
|
3
|
+
export { d as ButtonProps, C as CustomPalette, e as PALETTES, f as PaletteId, g as RADII, h as ResolvedSaasflareProps, i as STYLES, j as buttonVariants, u as useSaasflareProps } from './button-B2DR7obe.mjs';
|
|
2
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
5
|
import * as React$1 from 'react';
|
|
5
6
|
import { ReactNode, JSX } from 'react';
|
|
7
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
|
+
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
9
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
10
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
11
|
import { VariantProps } from 'class-variance-authority';
|
|
7
|
-
import
|
|
12
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
13
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
14
|
+
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
15
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
16
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
17
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
18
|
+
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
19
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
20
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
8
21
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
9
|
-
import
|
|
22
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
23
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
24
|
+
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
25
|
+
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
26
|
+
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
27
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
28
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
10
29
|
import { DayPicker, DayButton } from 'react-day-picker';
|
|
30
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
31
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
32
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
11
33
|
import { ToasterProps } from 'sonner';
|
|
12
|
-
import * as
|
|
13
|
-
import
|
|
34
|
+
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
35
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
14
36
|
import { Command as Command$1 } from 'cmdk';
|
|
37
|
+
import * as Direction from '@radix-ui/react-direction';
|
|
38
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
15
39
|
import * as react_hook_form from 'react-hook-form';
|
|
16
40
|
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
41
|
+
import * as Slot from '@radix-ui/react-slot';
|
|
17
42
|
import { OTPInput } from 'input-otp';
|
|
18
43
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
19
44
|
|
|
@@ -398,184 +423,6 @@ type Size = "xs" | "sm" | "md" | "lg" | "xl";
|
|
|
398
423
|
*/
|
|
399
424
|
type Density = "compact" | "normal" | "comfortable";
|
|
400
425
|
|
|
401
|
-
/**
|
|
402
|
-
* @fileoverview Theme-related types and constants consumed by SaasflareProvider,
|
|
403
|
-
* SaasflareShell, and CustomPaletteInjector.
|
|
404
|
-
* @module packages/ui/types/theme-props
|
|
405
|
-
* @package ui
|
|
406
|
-
*
|
|
407
|
-
* Palette colors live in `styles/palettes.css` (OKLCH) — the single source of
|
|
408
|
-
* truth. To render a swatch in a picker, wrap an element in `data-palette={id}`
|
|
409
|
-
* and paint it with `oklch(var(--primary-l) var(--primary-c) var(--primary-h))`.
|
|
410
|
-
* Do NOT add a hex `color` field here; it will drift from palettes.css.
|
|
411
|
-
*/
|
|
412
|
-
/** All 16 available color palette ids and display names. */
|
|
413
|
-
declare const PALETTES: readonly [{
|
|
414
|
-
readonly id: "ocean";
|
|
415
|
-
readonly name: "Ocean";
|
|
416
|
-
}, {
|
|
417
|
-
readonly id: "achromatic";
|
|
418
|
-
readonly name: "Achromatic";
|
|
419
|
-
}, {
|
|
420
|
-
readonly id: "black";
|
|
421
|
-
readonly name: "Black";
|
|
422
|
-
}, {
|
|
423
|
-
readonly id: "ink";
|
|
424
|
-
readonly name: "Ink";
|
|
425
|
-
}, {
|
|
426
|
-
readonly id: "aurora";
|
|
427
|
-
readonly name: "Aurora";
|
|
428
|
-
}, {
|
|
429
|
-
readonly id: "indigo";
|
|
430
|
-
readonly name: "Indigo";
|
|
431
|
-
}, {
|
|
432
|
-
readonly id: "emerald";
|
|
433
|
-
readonly name: "Emerald";
|
|
434
|
-
}, {
|
|
435
|
-
readonly id: "violet";
|
|
436
|
-
readonly name: "Violet";
|
|
437
|
-
}, {
|
|
438
|
-
readonly id: "coral";
|
|
439
|
-
readonly name: "Coral";
|
|
440
|
-
}, {
|
|
441
|
-
readonly id: "stone";
|
|
442
|
-
readonly name: "Stone";
|
|
443
|
-
}, {
|
|
444
|
-
readonly id: "jade";
|
|
445
|
-
readonly name: "Jade";
|
|
446
|
-
}, {
|
|
447
|
-
readonly id: "cobalt";
|
|
448
|
-
readonly name: "Cobalt";
|
|
449
|
-
}, {
|
|
450
|
-
readonly id: "amber";
|
|
451
|
-
readonly name: "Amber";
|
|
452
|
-
}, {
|
|
453
|
-
readonly id: "fuchsia";
|
|
454
|
-
readonly name: "Fuchsia";
|
|
455
|
-
}, {
|
|
456
|
-
readonly id: "honey";
|
|
457
|
-
readonly name: "Honey";
|
|
458
|
-
}, {
|
|
459
|
-
readonly id: "teal";
|
|
460
|
-
readonly name: "Teal";
|
|
461
|
-
}, {
|
|
462
|
-
readonly id: "iris";
|
|
463
|
-
readonly name: "Iris";
|
|
464
|
-
}, {
|
|
465
|
-
readonly id: "ruby";
|
|
466
|
-
readonly name: "Ruby";
|
|
467
|
-
}];
|
|
468
|
-
/** Union of all preset color palette IDs. */
|
|
469
|
-
type PaletteId = (typeof PALETTES)[number]["id"];
|
|
470
|
-
/**
|
|
471
|
-
* Visual surface style variant.
|
|
472
|
-
*
|
|
473
|
-
* The union uses `(string & {})` so app-level custom surfaces (e.g.
|
|
474
|
-
* "neumorphic") registered via a [data-style="…"] selector in the
|
|
475
|
-
* app's globals.css are accepted without a type patch, while preset
|
|
476
|
-
* ids keep their autocomplete.
|
|
477
|
-
*/
|
|
478
|
-
type StyleVariant = "flat" | "glass" | (string & {});
|
|
479
|
-
/** All available built-in surface style variants. */
|
|
480
|
-
declare const STYLES: readonly [{
|
|
481
|
-
readonly id: "flat";
|
|
482
|
-
readonly name: "Flat";
|
|
483
|
-
}, {
|
|
484
|
-
readonly id: "glass";
|
|
485
|
-
readonly name: "Glass";
|
|
486
|
-
}];
|
|
487
|
-
/**
|
|
488
|
-
* Radius preset — orthogonal to {@link Surface} (geometry vs. material).
|
|
489
|
-
*
|
|
490
|
-
* Maps to `[data-radius]` selectors in theme.css; each preset sets `--radius`
|
|
491
|
-
* (and at "pill" also overrides the entire `--radius-sm/md/lg/xl` scale so
|
|
492
|
-
* derived values don't drift to ~9995px).
|
|
493
|
-
*
|
|
494
|
-
* Per-component override: pass `radius` on any Saasflare component.
|
|
495
|
-
* Per-theme override: `CustomPalette.radius` wins via inline style.
|
|
496
|
-
*/
|
|
497
|
-
type Radius = "sharp" | "soft" | "rounded" | "pill";
|
|
498
|
-
/** All available built-in radius presets. */
|
|
499
|
-
declare const RADII: readonly [{
|
|
500
|
-
readonly id: "sharp";
|
|
501
|
-
readonly name: "Sharp";
|
|
502
|
-
}, {
|
|
503
|
-
readonly id: "soft";
|
|
504
|
-
readonly name: "Soft";
|
|
505
|
-
}, {
|
|
506
|
-
readonly id: "rounded";
|
|
507
|
-
readonly name: "Rounded";
|
|
508
|
-
}, {
|
|
509
|
-
readonly id: "pill";
|
|
510
|
-
readonly name: "Pill";
|
|
511
|
-
}];
|
|
512
|
-
/**
|
|
513
|
-
* Custom color theme — high-level, developer-friendly.
|
|
514
|
-
*
|
|
515
|
-
* Pass any CSS color as `primary` (hex, oklch, rgb, hsl, named color).
|
|
516
|
-
* Hex values are converted to OKLCH internally via {@link hexToOklch};
|
|
517
|
-
* other formats are passed through as the raw `--primary` value.
|
|
518
|
-
*
|
|
519
|
-
* @example
|
|
520
|
-
* <SaasflareProvider
|
|
521
|
-
* palette={{ name: "acme", primary: "#007AFF" }}
|
|
522
|
-
* />
|
|
523
|
-
*
|
|
524
|
-
* @example Escape hatch for full control
|
|
525
|
-
* <SaasflareProvider palette={{
|
|
526
|
-
* name: "acme",
|
|
527
|
-
* primary: "#007AFF",
|
|
528
|
-
* light: { "--background": "#fafafa" },
|
|
529
|
-
* dark: { "--background": "#0a0a0a" },
|
|
530
|
-
* }} />
|
|
531
|
-
*/
|
|
532
|
-
interface CustomPalette {
|
|
533
|
-
/** Unique name — written to `data-palette` attribute. */
|
|
534
|
-
name: string;
|
|
535
|
-
/** Primary brand color in any CSS color format. Required. */
|
|
536
|
-
primary: string;
|
|
537
|
-
/**
|
|
538
|
-
* Optional neutral axis override — drives backgrounds, muted, borders,
|
|
539
|
-
* cards, popovers, sidebar (i.e. the entire grey foundation of the UI),
|
|
540
|
-
* not just one accent token. Accepts hex or an explicit hue angle (0-360).
|
|
541
|
-
* Default: tinted from `primary` with a tiny chroma for "brand warmth".
|
|
542
|
-
*/
|
|
543
|
-
neutral?: string;
|
|
544
|
-
/** Optional border radius override (any CSS length). */
|
|
545
|
-
radius?: string;
|
|
546
|
-
/** Escape hatch: raw CSS custom property overrides applied in light mode. */
|
|
547
|
-
light?: Record<string, string>;
|
|
548
|
-
/** Escape hatch: raw CSS custom property overrides applied in dark mode. */
|
|
549
|
-
dark?: Record<string, string>;
|
|
550
|
-
}
|
|
551
|
-
/**
|
|
552
|
-
* Accepted values for the `palette` prop (brand colors — distinct from `theme`,
|
|
553
|
-
* which controls light/dark mode and is delegated to next-themes).
|
|
554
|
-
*
|
|
555
|
-
* - omit (undefined) → defers to persisted user preference, then global.css baseline
|
|
556
|
-
* - PaletteId → preset palette via [data-palette] selector
|
|
557
|
-
* - arbitrary string → app-registered [data-palette="…"] in the app's globals.css
|
|
558
|
-
* - CustomPalette → runtime palette via inline CSS custom properties
|
|
559
|
-
*
|
|
560
|
-
* The `(string & {})` branch preserves autocomplete for the 16 preset ids
|
|
561
|
-
* while still permitting arbitrary strings.
|
|
562
|
-
*/
|
|
563
|
-
type Palette = PaletteId | (string & {}) | CustomPalette;
|
|
564
|
-
/**
|
|
565
|
-
* Accepted values for the `surface` prop.
|
|
566
|
-
*
|
|
567
|
-
* - omit (undefined) → defers to persisted user preference, then "flat" baseline
|
|
568
|
-
* - StyleVariant → "flat" | "glass" | app-registered custom surface
|
|
569
|
-
*/
|
|
570
|
-
type Surface = StyleVariant;
|
|
571
|
-
/**
|
|
572
|
-
* Accepted values for the `radius` prop on SaasflareProvider / Shell.
|
|
573
|
-
*
|
|
574
|
-
* - omit (undefined) → defers to persisted user preference, then "rounded" baseline
|
|
575
|
-
* - Radius → forces [data-radius] on <html>
|
|
576
|
-
*/
|
|
577
|
-
type RadiusProp = Radius;
|
|
578
|
-
|
|
579
426
|
/** Context value exposed by useSaasflareTheme(). */
|
|
580
427
|
interface SaasflareThemeContextType {
|
|
581
428
|
/** Active brand palette id, or null when using baseline. */
|
|
@@ -734,138 +581,6 @@ interface SaasflareScriptProps {
|
|
|
734
581
|
*/
|
|
735
582
|
declare function SaasflareScript({ nonce, palette, surface, radius, animated, storageKey }: SaasflareScriptProps): react_jsx_runtime.JSX.Element;
|
|
736
583
|
|
|
737
|
-
/**
|
|
738
|
-
* @fileoverview Base props and resolver hook for Saasflare components.
|
|
739
|
-
* @module packages/ui/providers/use-saasflare-props
|
|
740
|
-
* @package ui
|
|
741
|
-
*
|
|
742
|
-
* Every Saasflare component MUST:
|
|
743
|
-
* 1. Extend SaasflareComponentProps in its props interface
|
|
744
|
-
* 2. Call useSaasflareProps(props) to resolve effective values
|
|
745
|
-
*
|
|
746
|
-
* This ensures consistent precedence:
|
|
747
|
-
* component prop > provider context > hardcoded defaults
|
|
748
|
-
*
|
|
749
|
-
* @example
|
|
750
|
-
* interface CardProps extends SaasflareComponentProps {
|
|
751
|
-
* title: string
|
|
752
|
-
* }
|
|
753
|
-
*
|
|
754
|
-
* function Card({ title, ...sfProps }: CardProps) {
|
|
755
|
-
* const { surface, radius, animated } = useSaasflareProps(sfProps)
|
|
756
|
-
* // surface/radius are guaranteed to be resolved, never undefined
|
|
757
|
-
* }
|
|
758
|
-
*/
|
|
759
|
-
|
|
760
|
-
/** Props that every Saasflare component accepts for theme integration. */
|
|
761
|
-
interface SaasflareComponentProps {
|
|
762
|
-
/** Surface style override. Omit to inherit from provider. */
|
|
763
|
-
surface?: StyleVariant;
|
|
764
|
-
/** Radius preset override. Omit to inherit from provider. */
|
|
765
|
-
radius?: Radius;
|
|
766
|
-
/** Animation override. Omit to inherit from provider. */
|
|
767
|
-
animated?: boolean;
|
|
768
|
-
}
|
|
769
|
-
/** Fully resolved theme values — no optionals, no undefined. */
|
|
770
|
-
interface ResolvedSaasflareProps {
|
|
771
|
-
/** Active surface style. */
|
|
772
|
-
surface: StyleVariant;
|
|
773
|
-
/** Active radius preset. */
|
|
774
|
-
radius: Radius;
|
|
775
|
-
/** Whether animations are enabled. */
|
|
776
|
-
animated: boolean;
|
|
777
|
-
/** Active brand palette id (null = global.css baseline). */
|
|
778
|
-
palette: string | null;
|
|
779
|
-
}
|
|
780
|
-
/**
|
|
781
|
-
* Resolves component-level overrides against the provider context.
|
|
782
|
-
*
|
|
783
|
-
* Precedence: component prop > provider context > hardcoded default
|
|
784
|
-
*
|
|
785
|
-
* Safe without a provider — returns sensible defaults.
|
|
786
|
-
*/
|
|
787
|
-
declare function useSaasflareProps(props?: SaasflareComponentProps): ResolvedSaasflareProps;
|
|
788
|
-
|
|
789
|
-
declare const INTENTS: readonly ["primary", "neutral", "success", "warning", "danger", "info"];
|
|
790
|
-
type Intent = (typeof INTENTS)[number];
|
|
791
|
-
/**
|
|
792
|
-
* Button variant definitions using the 3-axis system.
|
|
793
|
-
*
|
|
794
|
-
* Axes:
|
|
795
|
-
* variant — visual treatment: solid, soft, outline, ghost, link, glass, shadow
|
|
796
|
-
* intent — color intent via data-intent attribute + CSS tokens
|
|
797
|
-
* size — dimensional: xs, sm, md, lg, xl, icon, icon-xs, icon-sm, icon-lg
|
|
798
|
-
*/
|
|
799
|
-
declare const buttonVariants: (props?: ({
|
|
800
|
-
variant?: "link" | "glass" | "soft" | "solid" | "outline" | "ghost" | "shadow" | null | undefined;
|
|
801
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
802
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
803
|
-
/** Framer-motion event overrides that conflict with React HTML events */
|
|
804
|
-
type MotionConflicts$1 = "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd";
|
|
805
|
-
/**
|
|
806
|
-
* Props for the Saasflare Button component.
|
|
807
|
-
*
|
|
808
|
-
* Extends {@link SaasflareComponentProps} to accept `surface` and `animated`
|
|
809
|
-
* overrides that are resolved against the <SaasflareProvider> context.
|
|
810
|
-
*/
|
|
811
|
-
interface ButtonProps extends Omit<React$1.ComponentProps<"button">, MotionConflicts$1>, VariantProps<typeof buttonVariants>, SaasflareComponentProps {
|
|
812
|
-
/** Render as child element (Radix Slot pattern) */
|
|
813
|
-
asChild?: boolean;
|
|
814
|
-
/** Semantic color intent */
|
|
815
|
-
intent?: Intent;
|
|
816
|
-
/** Show loading spinner (replaces left icon, keeps text visible) */
|
|
817
|
-
loading?: boolean;
|
|
818
|
-
/** Stretch to full width of container */
|
|
819
|
-
fullWidth?: boolean;
|
|
820
|
-
}
|
|
821
|
-
/**
|
|
822
|
-
* Primary interactive button with motion, loading, and intent support.
|
|
823
|
-
*
|
|
824
|
-
* Resolves `surface` and `animated` via {@link useSaasflareProps} with the
|
|
825
|
-
* precedence: component prop > <SaasflareProvider> context > hardcoded default.
|
|
826
|
-
*
|
|
827
|
-
* When no explicit `variant` is set and the resolved surface is `"glass"`, the
|
|
828
|
-
* button promotes itself to `variant="glass"`. An explicit `variant` prop always
|
|
829
|
-
* wins over the surface-based promotion.
|
|
830
|
-
*
|
|
831
|
-
* @component
|
|
832
|
-
* @layer ui
|
|
833
|
-
*
|
|
834
|
-
* @param {string} variant - Visual treatment: "solid" | "soft" | "outline" | "ghost" | "link" | "glass" | "shadow"
|
|
835
|
-
* @param {string} intent - Color intent: "primary" | "neutral" | "success" | "warning" | "danger" | "info"
|
|
836
|
-
* @param {string} size - Button size: "xs" | "sm" | "md" | "lg" | "xl" | "icon" | "icon-xs" | "icon-sm" | "icon-lg"
|
|
837
|
-
* @param {string} surface - Surface style override: "flat" | "glass" (inherits from provider when omitted)
|
|
838
|
-
* @param {boolean} animated - Gate motion effects (inherits from provider when omitted)
|
|
839
|
-
* @param {boolean} loading - Shows spinner, sets aria-busy, preserves width
|
|
840
|
-
* @param {boolean} fullWidth - Stretches to container width
|
|
841
|
-
* @param {boolean} asChild - Render as child element (Slot pattern)
|
|
842
|
-
*
|
|
843
|
-
* @example
|
|
844
|
-
* // Solid primary (default)
|
|
845
|
-
* <Button>Save Changes</Button>
|
|
846
|
-
*
|
|
847
|
-
* @example
|
|
848
|
-
* // Outline danger
|
|
849
|
-
* <Button variant="outline" intent="danger">Delete Account</Button>
|
|
850
|
-
*
|
|
851
|
-
* @example
|
|
852
|
-
* // Inherits surface from provider — auto-promotes to glass variant
|
|
853
|
-
* <SaasflareProvider surface="glass"><Button>Frosted</Button></SaasflareProvider>
|
|
854
|
-
*
|
|
855
|
-
* @example
|
|
856
|
-
* // Loading state
|
|
857
|
-
* <Button loading>Processing...</Button>
|
|
858
|
-
*
|
|
859
|
-
* @example
|
|
860
|
-
* // Icon button
|
|
861
|
-
* <Button variant="ghost" size="icon"><SettingsIcon /></Button>
|
|
862
|
-
*
|
|
863
|
-
* @example
|
|
864
|
-
* // Legacy API (deprecated but supported)
|
|
865
|
-
* <Button variant="destructive">Delete</Button>
|
|
866
|
-
*/
|
|
867
|
-
declare function Button({ className, variant: variantProp, size, intent: intentProp, asChild, loading, fullWidth, surface, animated, disabled, children, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
868
|
-
|
|
869
584
|
/**
|
|
870
585
|
* Card container with subtle hover-lift animation.
|
|
871
586
|
*
|
|
@@ -924,73 +639,75 @@ declare function CardContent({ className, ...props }: React$1.ComponentProps<"di
|
|
|
924
639
|
*/
|
|
925
640
|
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
926
641
|
|
|
927
|
-
declare function Dialog({ ...props }: React$1.ComponentProps<typeof
|
|
928
|
-
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof
|
|
929
|
-
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof
|
|
930
|
-
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof
|
|
931
|
-
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof
|
|
642
|
+
declare function Dialog({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
643
|
+
declare function DialogTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
644
|
+
declare function DialogPortal({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
645
|
+
declare function DialogClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
646
|
+
declare function DialogOverlay({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
932
647
|
/**
|
|
933
648
|
* Dialog content panel with spring entry animation.
|
|
934
649
|
*
|
|
935
650
|
* @component
|
|
936
651
|
* @layer core
|
|
937
652
|
*/
|
|
938
|
-
declare function DialogContent({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
653
|
+
declare function DialogContent({ className, children, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
939
654
|
declare function DialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
940
655
|
declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
941
|
-
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof
|
|
942
|
-
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof
|
|
943
|
-
|
|
944
|
-
declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof
|
|
945
|
-
declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof
|
|
946
|
-
declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof
|
|
947
|
-
declare function AlertDialogOverlay({ className, ...props }: React$1.ComponentProps<typeof
|
|
948
|
-
declare function AlertDialogContent({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
656
|
+
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
657
|
+
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
658
|
+
|
|
659
|
+
declare function AlertDialog({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
660
|
+
declare function AlertDialogTrigger({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
661
|
+
declare function AlertDialogPortal({ ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
662
|
+
declare function AlertDialogOverlay({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Overlay>): react_jsx_runtime.JSX.Element;
|
|
663
|
+
declare function AlertDialogContent({ className, children, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
949
664
|
declare function AlertDialogHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
950
665
|
declare function AlertDialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
951
|
-
declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof
|
|
952
|
-
declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof
|
|
953
|
-
declare function AlertDialogAction({ className, ...props }: React$1.ComponentProps<typeof
|
|
954
|
-
declare function AlertDialogCancel({ className, ...props }: React$1.ComponentProps<typeof
|
|
666
|
+
declare function AlertDialogTitle({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
667
|
+
declare function AlertDialogDescription({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
668
|
+
declare function AlertDialogAction({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Action>): react_jsx_runtime.JSX.Element;
|
|
669
|
+
declare function AlertDialogCancel({ className, ...props }: React$1.ComponentProps<typeof AlertDialogPrimitive.Cancel>): react_jsx_runtime.JSX.Element;
|
|
955
670
|
|
|
956
|
-
declare function Accordion({ ...props }: React$1.ComponentProps<typeof
|
|
957
|
-
declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof
|
|
671
|
+
declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
672
|
+
declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
958
673
|
/**
|
|
959
674
|
* Accordion trigger with animated chevron indicator.
|
|
960
675
|
*
|
|
961
676
|
* @component
|
|
962
677
|
* @layer core
|
|
963
678
|
*/
|
|
964
|
-
declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
679
|
+
declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
965
680
|
/**
|
|
966
681
|
* Accordion content panel with fade-in animation.
|
|
967
682
|
*
|
|
968
683
|
* @component
|
|
969
684
|
* @layer core
|
|
970
685
|
*/
|
|
971
|
-
declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
686
|
+
declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
972
687
|
|
|
973
|
-
declare function Tabs({ className, orientation, ...props }: React$1.ComponentProps<typeof
|
|
688
|
+
declare function Tabs({ className, orientation, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
974
689
|
declare const tabsListVariants: (props?: ({
|
|
975
|
-
variant?: "
|
|
690
|
+
variant?: "line" | "default" | null | undefined;
|
|
976
691
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
977
|
-
declare function TabsList({ className, variant, ...props }: React$1.ComponentProps<typeof
|
|
692
|
+
declare function TabsList({ className, variant, children, ...props }: React$1.ComponentProps<typeof TabsPrimitive.List> & VariantProps<typeof tabsListVariants>): react_jsx_runtime.JSX.Element;
|
|
978
693
|
/**
|
|
979
|
-
* Tab trigger
|
|
694
|
+
* Tab trigger. The active-tab indicator is rendered once at the
|
|
695
|
+
* `TabsList` level and animates between triggers via measured position;
|
|
696
|
+
* triggers themselves only own their content + state styling.
|
|
980
697
|
*
|
|
981
698
|
* @component
|
|
982
699
|
* @layer core
|
|
983
700
|
*/
|
|
984
|
-
declare function TabsTrigger({ className, children,
|
|
985
|
-
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof
|
|
701
|
+
declare function TabsTrigger({ className, children, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
702
|
+
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
986
703
|
|
|
987
704
|
declare function Input({ className, type, ...props }: Omit<React$1.ComponentProps<"input">, 'onDrag' | 'onDragStart' | 'onDragEnd' | 'onAnimationStart' | 'onAnimationEnd'>): react_jsx_runtime.JSX.Element;
|
|
988
705
|
|
|
989
706
|
declare function Textarea({ className, ...props }: Omit<React$1.ComponentProps<"textarea">, 'onDrag' | 'onDragStart' | 'onDragEnd' | 'onAnimationStart' | 'onAnimationEnd'>): react_jsx_runtime.JSX.Element;
|
|
990
707
|
|
|
991
|
-
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof
|
|
708
|
+
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
992
709
|
|
|
993
|
-
declare function Switch({ className, size, ...props }: React$1.ComponentProps<typeof
|
|
710
|
+
declare function Switch({ className, size, ...props }: React$1.ComponentProps<typeof SwitchPrimitive.Root> & {
|
|
994
711
|
size?: "sm" | "default";
|
|
995
712
|
}): react_jsx_runtime.JSX.Element;
|
|
996
713
|
|
|
@@ -1005,7 +722,7 @@ declare function Switch({ className, size, ...props }: React$1.ComponentProps<ty
|
|
|
1005
722
|
* @example
|
|
1006
723
|
* <Progress value={42} className="w-full" />
|
|
1007
724
|
*/
|
|
1008
|
-
declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof
|
|
725
|
+
declare function Progress({ className, value, ...props }: React$1.ComponentProps<typeof ProgressPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1009
726
|
|
|
1010
727
|
/**
|
|
1011
728
|
* Badge variant definitions.
|
|
@@ -1045,55 +762,55 @@ interface BadgeProps extends Omit<React$1.ComponentProps<"span">, "onDrag" | "on
|
|
|
1045
762
|
*/
|
|
1046
763
|
declare function Badge({ className, variant: variantProp, size, intent: intentProp, asChild, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
1047
764
|
|
|
1048
|
-
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof
|
|
1049
|
-
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof
|
|
1050
|
-
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof
|
|
1051
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof
|
|
765
|
+
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
766
|
+
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
767
|
+
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
768
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
1052
769
|
|
|
1053
|
-
declare function Popover({ ...props }: React$1.ComponentProps<typeof
|
|
1054
|
-
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof
|
|
1055
|
-
declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof
|
|
1056
|
-
declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof
|
|
770
|
+
declare function Popover({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
771
|
+
declare function PopoverTrigger({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
772
|
+
declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
|
|
773
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
1057
774
|
|
|
1058
|
-
declare function HoverCard({ ...props }: React$1.ComponentProps<typeof
|
|
1059
|
-
declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof
|
|
1060
|
-
declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof
|
|
775
|
+
declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
776
|
+
declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
777
|
+
declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
1061
778
|
|
|
1062
|
-
declare function Select({ ...props }: React$1.ComponentProps<typeof
|
|
1063
|
-
declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof
|
|
1064
|
-
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof
|
|
1065
|
-
declare function SelectTrigger({ className, size, children, ...props }: React$1.ComponentProps<typeof
|
|
779
|
+
declare function Select({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
780
|
+
declare function SelectGroup({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
781
|
+
declare function SelectValue({ ...props }: React$1.ComponentProps<typeof SelectPrimitive.Value>): react_jsx_runtime.JSX.Element;
|
|
782
|
+
declare function SelectTrigger({ className, size, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
1066
783
|
size?: "sm" | "default";
|
|
1067
784
|
}): react_jsx_runtime.JSX.Element;
|
|
1068
|
-
declare function SelectContent({ className, children, position, ...props }: React$1.ComponentProps<typeof
|
|
1069
|
-
declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof
|
|
1070
|
-
declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
1071
|
-
declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof
|
|
1072
|
-
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof
|
|
1073
|
-
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof
|
|
1074
|
-
|
|
1075
|
-
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof
|
|
1076
|
-
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof
|
|
1077
|
-
declare function DropdownMenuTrigger({ className, ...props }: React$1.ComponentProps<typeof
|
|
1078
|
-
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof
|
|
1079
|
-
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof
|
|
1080
|
-
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof
|
|
1081
|
-
declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof
|
|
1082
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof
|
|
785
|
+
declare function SelectContent({ className, children, position, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
786
|
+
declare function SelectLabel({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Label>): react_jsx_runtime.JSX.Element;
|
|
787
|
+
declare function SelectItem({ className, children, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
788
|
+
declare function SelectSeparator({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
789
|
+
declare function SelectScrollUpButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): react_jsx_runtime.JSX.Element;
|
|
790
|
+
declare function SelectScrollDownButton({ className, ...props }: React$1.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): react_jsx_runtime.JSX.Element;
|
|
791
|
+
|
|
792
|
+
declare function DropdownMenu({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
793
|
+
declare function DropdownMenuPortal({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
794
|
+
declare function DropdownMenuTrigger({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
795
|
+
declare function DropdownMenuGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
796
|
+
declare function DropdownMenuSub({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
797
|
+
declare function DropdownMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
798
|
+
declare function DropdownMenuContent({ className, sideOffset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
799
|
+
declare function DropdownMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
1083
800
|
inset?: boolean;
|
|
1084
801
|
variant?: "default" | "destructive";
|
|
1085
802
|
}): react_jsx_runtime.JSX.Element;
|
|
1086
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof
|
|
1087
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
1088
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof
|
|
803
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
804
|
+
declare function DropdownMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
805
|
+
declare function DropdownMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
1089
806
|
inset?: boolean;
|
|
1090
807
|
}): react_jsx_runtime.JSX.Element;
|
|
1091
|
-
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof
|
|
808
|
+
declare function DropdownMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
1092
809
|
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
1093
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof
|
|
810
|
+
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
1094
811
|
inset?: boolean;
|
|
1095
812
|
}): react_jsx_runtime.JSX.Element;
|
|
1096
|
-
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof
|
|
813
|
+
declare function DropdownMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
1097
814
|
|
|
1098
815
|
declare function Drawer({ ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
|
|
1099
816
|
declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -1106,19 +823,19 @@ declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<"d
|
|
|
1106
823
|
declare function DrawerTitle({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime.JSX.Element;
|
|
1107
824
|
declare function DrawerDescription({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime.JSX.Element;
|
|
1108
825
|
|
|
1109
|
-
declare function Sheet({ ...props }: React$1.ComponentProps<typeof
|
|
1110
|
-
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof
|
|
1111
|
-
declare function SheetClose({ ...props }: React$1.ComponentProps<typeof
|
|
1112
|
-
declare function SheetContent({ className, children, side, showCloseButton, ...props }: React$1.ComponentProps<typeof
|
|
826
|
+
declare function Sheet({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
827
|
+
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
828
|
+
declare function SheetClose({ ...props }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
829
|
+
declare function SheetContent({ className, children, side, showCloseButton, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
1113
830
|
side?: "top" | "right" | "bottom" | "left";
|
|
1114
831
|
showCloseButton?: boolean;
|
|
1115
832
|
}): react_jsx_runtime.JSX.Element;
|
|
1116
833
|
declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1117
834
|
declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1118
|
-
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof
|
|
1119
|
-
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof
|
|
835
|
+
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
836
|
+
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
1120
837
|
|
|
1121
|
-
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof
|
|
838
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1122
839
|
|
|
1123
840
|
/** Props for the Saasflare Alert component */
|
|
1124
841
|
interface AlertProps extends React$1.ComponentProps<"div"> {
|
|
@@ -1168,73 +885,73 @@ declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div
|
|
|
1168
885
|
*/
|
|
1169
886
|
declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1170
887
|
|
|
1171
|
-
declare function Avatar({ className, size, ...props }: React$1.ComponentProps<typeof
|
|
888
|
+
declare function Avatar({ className, size, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Root> & {
|
|
1172
889
|
size?: "default" | "sm" | "lg";
|
|
1173
890
|
}): react_jsx_runtime.JSX.Element;
|
|
1174
|
-
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof
|
|
1175
|
-
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof
|
|
891
|
+
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
|
|
892
|
+
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
|
|
1176
893
|
declare function AvatarBadge({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
1177
894
|
declare function AvatarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1178
895
|
declare function AvatarGroupCount({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1179
896
|
|
|
1180
|
-
declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof
|
|
1181
|
-
declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof
|
|
1182
|
-
declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof
|
|
1183
|
-
declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof
|
|
1184
|
-
declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof
|
|
1185
|
-
declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof
|
|
1186
|
-
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof
|
|
897
|
+
declare function ContextMenu({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
898
|
+
declare function ContextMenuTrigger({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
899
|
+
declare function ContextMenuGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
900
|
+
declare function ContextMenuPortal({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
901
|
+
declare function ContextMenuSub({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
902
|
+
declare function ContextMenuRadioGroup({ ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
903
|
+
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
1187
904
|
inset?: boolean;
|
|
1188
905
|
}): react_jsx_runtime.JSX.Element;
|
|
1189
|
-
declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof
|
|
1190
|
-
declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof
|
|
1191
|
-
declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof
|
|
906
|
+
declare function ContextMenuSubContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
907
|
+
declare function ContextMenuContent({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
908
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
1192
909
|
inset?: boolean;
|
|
1193
910
|
variant?: "default" | "destructive";
|
|
1194
911
|
}): react_jsx_runtime.JSX.Element;
|
|
1195
|
-
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof
|
|
1196
|
-
declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
1197
|
-
declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof
|
|
912
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
913
|
+
declare function ContextMenuRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
914
|
+
declare function ContextMenuLabel({ className, inset, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
1198
915
|
inset?: boolean;
|
|
1199
916
|
}): react_jsx_runtime.JSX.Element;
|
|
1200
|
-
declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof
|
|
917
|
+
declare function ContextMenuSeparator({ className, ...props }: React$1.ComponentProps<typeof ContextMenuPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
1201
918
|
declare function ContextMenuShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
1202
919
|
|
|
1203
|
-
declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof
|
|
1204
|
-
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof
|
|
1205
|
-
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof
|
|
1206
|
-
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof
|
|
1207
|
-
declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof
|
|
1208
|
-
declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof
|
|
1209
|
-
declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof
|
|
1210
|
-
declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof
|
|
920
|
+
declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
921
|
+
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Menu>): react_jsx_runtime.JSX.Element;
|
|
922
|
+
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Group>): react_jsx_runtime.JSX.Element;
|
|
923
|
+
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
924
|
+
declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
925
|
+
declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
926
|
+
declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
927
|
+
declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Item> & {
|
|
1211
928
|
inset?: boolean;
|
|
1212
929
|
variant?: "default" | "destructive";
|
|
1213
930
|
}): react_jsx_runtime.JSX.Element;
|
|
1214
|
-
declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof
|
|
1215
|
-
declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
1216
|
-
declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof
|
|
931
|
+
declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
932
|
+
declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
933
|
+
declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Label> & {
|
|
1217
934
|
inset?: boolean;
|
|
1218
935
|
}): react_jsx_runtime.JSX.Element;
|
|
1219
|
-
declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof
|
|
936
|
+
declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Separator>): react_jsx_runtime.JSX.Element;
|
|
1220
937
|
declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
1221
|
-
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof
|
|
1222
|
-
declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof
|
|
938
|
+
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof MenubarPrimitive.Sub>): react_jsx_runtime.JSX.Element;
|
|
939
|
+
declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
|
|
1223
940
|
inset?: boolean;
|
|
1224
941
|
}): react_jsx_runtime.JSX.Element;
|
|
1225
|
-
declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof
|
|
942
|
+
declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof MenubarPrimitive.SubContent>): react_jsx_runtime.JSX.Element;
|
|
1226
943
|
|
|
1227
|
-
declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof
|
|
944
|
+
declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
|
|
1228
945
|
viewport?: boolean;
|
|
1229
946
|
}): react_jsx_runtime.JSX.Element;
|
|
1230
|
-
declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof
|
|
1231
|
-
declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof
|
|
947
|
+
declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.List>): react_jsx_runtime.JSX.Element;
|
|
948
|
+
declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
1232
949
|
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1233
|
-
declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
1234
|
-
declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof
|
|
1235
|
-
declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof
|
|
1236
|
-
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof
|
|
1237
|
-
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof
|
|
950
|
+
declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
951
|
+
declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
952
|
+
declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): react_jsx_runtime.JSX.Element;
|
|
953
|
+
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>): react_jsx_runtime.JSX.Element;
|
|
954
|
+
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): react_jsx_runtime.JSX.Element;
|
|
1238
955
|
|
|
1239
956
|
/** Component the skeleton imitates — drives radius from the design tokens. */
|
|
1240
957
|
type SkeletonAs = "avatar" | "text" | "card";
|
|
@@ -1264,49 +981,33 @@ declare const toggleVariants: (props?: ({
|
|
|
1264
981
|
variant?: "default" | "outline" | null | undefined;
|
|
1265
982
|
size?: "sm" | "lg" | "default" | null | undefined;
|
|
1266
983
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1267
|
-
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof
|
|
984
|
+
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1268
985
|
|
|
1269
|
-
declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React$1.ComponentProps<typeof
|
|
986
|
+
declare function ToggleGroup({ className, variant, size, spacing, children, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants> & {
|
|
1270
987
|
spacing?: number;
|
|
1271
988
|
}): react_jsx_runtime.JSX.Element;
|
|
1272
|
-
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof
|
|
1273
|
-
|
|
1274
|
-
type CarouselApi = UseEmblaCarouselType[1];
|
|
1275
|
-
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
1276
|
-
type CarouselOptions = UseCarouselParameters[0];
|
|
1277
|
-
type CarouselPlugin = UseCarouselParameters[1];
|
|
1278
|
-
type CarouselProps = {
|
|
1279
|
-
opts?: CarouselOptions;
|
|
1280
|
-
plugins?: CarouselPlugin;
|
|
1281
|
-
orientation?: "horizontal" | "vertical";
|
|
1282
|
-
setApi?: (api: CarouselApi) => void;
|
|
1283
|
-
};
|
|
1284
|
-
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
|
|
1285
|
-
declare function CarouselContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1286
|
-
declare function CarouselItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1287
|
-
declare function CarouselPrevious({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
1288
|
-
declare function CarouselNext({ className, variant, size, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
989
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1289
990
|
|
|
1290
991
|
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
1291
992
|
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
1292
993
|
}): react_jsx_runtime.JSX.Element;
|
|
1293
994
|
declare function CalendarDayButton({ className, day, modifiers, ...props }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime.JSX.Element;
|
|
1294
995
|
|
|
1295
|
-
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof
|
|
1296
|
-
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof
|
|
996
|
+
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
997
|
+
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
1297
998
|
|
|
1298
|
-
declare function Collapsible({ ...props }: React.ComponentProps<typeof
|
|
1299
|
-
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof
|
|
1300
|
-
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof
|
|
999
|
+
declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1000
|
+
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
|
|
1001
|
+
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime.JSX.Element;
|
|
1301
1002
|
|
|
1302
1003
|
declare function Spinner({ className, ...props }: React.ComponentProps<"svg">): react_jsx_runtime.JSX.Element;
|
|
1303
1004
|
|
|
1304
|
-
declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof
|
|
1305
|
-
declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof
|
|
1005
|
+
declare function ScrollArea({ className, children, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1006
|
+
declare function ScrollBar({ className, orientation, ...props }: React$1.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): react_jsx_runtime.JSX.Element;
|
|
1306
1007
|
|
|
1307
1008
|
declare const Toaster: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
1308
1009
|
|
|
1309
|
-
declare function AspectRatio({ ...props }: React.ComponentProps<typeof
|
|
1010
|
+
declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1310
1011
|
|
|
1311
1012
|
declare function Breadcrumb({ ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
1312
1013
|
declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): react_jsx_runtime.JSX.Element;
|
|
@@ -1318,7 +1019,7 @@ declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<
|
|
|
1318
1019
|
declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
1319
1020
|
declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
1320
1021
|
|
|
1321
|
-
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof
|
|
1022
|
+
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1322
1023
|
|
|
1323
1024
|
declare const buttonGroupVariants: (props?: ({
|
|
1324
1025
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
@@ -1329,91 +1030,18 @@ declare function ButtonGroupText({ className, asChild, ...props }: React.Compone
|
|
|
1329
1030
|
}): react_jsx_runtime.JSX.Element;
|
|
1330
1031
|
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
1331
1032
|
|
|
1332
|
-
declare const
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
};
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
} & ({
|
|
1341
|
-
color?: string;
|
|
1342
|
-
theme?: never;
|
|
1343
|
-
} | {
|
|
1344
|
-
color?: never;
|
|
1345
|
-
theme: Record<keyof typeof THEMES, string>;
|
|
1346
|
-
});
|
|
1347
|
-
};
|
|
1348
|
-
declare function ChartContainer({ id, className, children, config, ...props }: React$1.ComponentProps<"div"> & {
|
|
1349
|
-
config: ChartConfig;
|
|
1350
|
-
children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
|
|
1351
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1352
|
-
declare const ChartStyle: ({ id, config }: {
|
|
1353
|
-
id: string;
|
|
1354
|
-
config: ChartConfig;
|
|
1355
|
-
}) => react_jsx_runtime.JSX.Element | null;
|
|
1356
|
-
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
1357
|
-
interface ChartTooltipPayloadItem {
|
|
1358
|
-
name?: string;
|
|
1359
|
-
value?: number | string;
|
|
1360
|
-
dataKey?: string | number;
|
|
1361
|
-
type?: string;
|
|
1362
|
-
color?: string;
|
|
1363
|
-
fill?: string;
|
|
1364
|
-
payload?: Record<string, unknown>;
|
|
1365
|
-
}
|
|
1366
|
-
interface ChartTooltipContentProps extends React$1.ComponentProps<"div"> {
|
|
1367
|
-
active?: boolean;
|
|
1368
|
-
payload?: ChartTooltipPayloadItem[];
|
|
1369
|
-
label?: string | number;
|
|
1370
|
-
labelFormatter?: (label: unknown, payload: ChartTooltipPayloadItem[]) => React$1.ReactNode;
|
|
1371
|
-
labelClassName?: string;
|
|
1372
|
-
formatter?: (value: unknown, name: string, entry: ChartTooltipPayloadItem, index: number, payload: unknown) => React$1.ReactNode;
|
|
1373
|
-
color?: string;
|
|
1374
|
-
hideLabel?: boolean;
|
|
1375
|
-
hideIndicator?: boolean;
|
|
1376
|
-
indicator?: "line" | "dot" | "dashed";
|
|
1377
|
-
nameKey?: string;
|
|
1378
|
-
labelKey?: string;
|
|
1379
|
-
}
|
|
1380
|
-
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: ChartTooltipContentProps): react_jsx_runtime.JSX.Element | null;
|
|
1381
|
-
declare const ChartLegend: React$1.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React$1.ReactPortal | null>;
|
|
1382
|
-
interface ChartLegendPayloadItem {
|
|
1383
|
-
value?: string;
|
|
1384
|
-
type?: string;
|
|
1385
|
-
color?: string;
|
|
1386
|
-
dataKey?: string | number;
|
|
1387
|
-
}
|
|
1388
|
-
interface ChartLegendContentProps extends React$1.ComponentProps<"div"> {
|
|
1389
|
-
payload?: ChartLegendPayloadItem[];
|
|
1390
|
-
verticalAlign?: "top" | "bottom" | "middle";
|
|
1391
|
-
hideIcon?: boolean;
|
|
1392
|
-
nameKey?: string;
|
|
1393
|
-
}
|
|
1394
|
-
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: ChartLegendContentProps): react_jsx_runtime.JSX.Element | null;
|
|
1395
|
-
|
|
1396
|
-
declare const Combobox: typeof Combobox$1.Root;
|
|
1397
|
-
declare function ComboboxValue({ ...props }: Combobox$1.Value.Props): react_jsx_runtime.JSX.Element;
|
|
1398
|
-
declare function ComboboxTrigger({ className, children, ...props }: Combobox$1.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
1399
|
-
declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: Combobox$1.Input.Props & {
|
|
1400
|
-
showTrigger?: boolean;
|
|
1401
|
-
showClear?: boolean;
|
|
1402
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1403
|
-
declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: Combobox$1.Popup.Props & Pick<Combobox$1.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">): react_jsx_runtime.JSX.Element;
|
|
1404
|
-
declare function ComboboxList({ className, ...props }: Combobox$1.List.Props): react_jsx_runtime.JSX.Element;
|
|
1405
|
-
declare function ComboboxItem({ className, children, ...props }: Combobox$1.Item.Props): react_jsx_runtime.JSX.Element;
|
|
1406
|
-
declare function ComboboxGroup({ className, ...props }: Combobox$1.Group.Props): react_jsx_runtime.JSX.Element;
|
|
1407
|
-
declare function ComboboxLabel({ className, ...props }: Combobox$1.GroupLabel.Props): react_jsx_runtime.JSX.Element;
|
|
1408
|
-
declare function ComboboxCollection({ ...props }: Combobox$1.Collection.Props): react_jsx_runtime.JSX.Element;
|
|
1409
|
-
declare function ComboboxEmpty({ className, ...props }: Combobox$1.Empty.Props): react_jsx_runtime.JSX.Element;
|
|
1410
|
-
declare function ComboboxSeparator({ className, ...props }: Combobox$1.Separator.Props): react_jsx_runtime.JSX.Element;
|
|
1411
|
-
declare function ComboboxChips({ className, ...props }: React$1.ComponentPropsWithRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props): react_jsx_runtime.JSX.Element;
|
|
1412
|
-
declare function ComboboxChip({ className, children, showRemove, ...props }: Combobox$1.Chip.Props & {
|
|
1413
|
-
showRemove?: boolean;
|
|
1033
|
+
declare const Combobox: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
1034
|
+
declare const ComboboxTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1035
|
+
declare function ComboboxContent({ className, align, sideOffset, children, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
1036
|
+
declare function ComboboxInput({ className, ...props }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime.JSX.Element;
|
|
1037
|
+
declare function ComboboxList({ className, ...props }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime.JSX.Element;
|
|
1038
|
+
declare function ComboboxItem({ className, children, selected, ...props }: React$1.ComponentProps<typeof Command$1.Item> & {
|
|
1039
|
+
/** Show a leading check indicator. Lets consumers render selection state without a separate Indicator slot. */
|
|
1040
|
+
selected?: boolean;
|
|
1414
1041
|
}): react_jsx_runtime.JSX.Element;
|
|
1415
|
-
declare function
|
|
1416
|
-
declare function
|
|
1042
|
+
declare function ComboboxGroup({ className, ...props }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime.JSX.Element;
|
|
1043
|
+
declare function ComboboxEmpty({ className, ...props }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime.JSX.Element;
|
|
1044
|
+
declare function ComboboxSeparator({ className, ...props }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
1417
1045
|
|
|
1418
1046
|
declare function Command({ className, ...props }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime.JSX.Element;
|
|
1419
1047
|
declare function CommandDialog({ title, description, children, className, ...props }: React$1.ComponentProps<typeof Dialog> & {
|
|
@@ -1444,7 +1072,7 @@ declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">
|
|
|
1444
1072
|
declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
1445
1073
|
declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1446
1074
|
|
|
1447
|
-
declare function Label({ className, ...props }: React$1.ComponentProps<typeof
|
|
1075
|
+
declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1448
1076
|
|
|
1449
1077
|
declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): react_jsx_runtime.JSX.Element;
|
|
1450
1078
|
declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
|
|
@@ -1483,7 +1111,7 @@ declare const useFormField: () => {
|
|
|
1483
1111
|
formMessageId: string;
|
|
1484
1112
|
};
|
|
1485
1113
|
declare function FormItem({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
1486
|
-
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof
|
|
1114
|
+
declare function FormLabel({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1487
1115
|
declare function FormControl({ ...props }: React$1.ComponentProps<typeof Slot.Root>): react_jsx_runtime.JSX.Element;
|
|
1488
1116
|
declare function FormDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
1489
1117
|
declare function FormMessage({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element | null;
|
|
@@ -1567,7 +1195,7 @@ declare function Item({ className, variant, size, asChild, ...props }: React$1.C
|
|
|
1567
1195
|
asChild?: boolean;
|
|
1568
1196
|
}): react_jsx_runtime.JSX.Element;
|
|
1569
1197
|
declare const itemMediaVariants: (props?: ({
|
|
1570
|
-
variant?: "
|
|
1198
|
+
variant?: "image" | "default" | "icon" | null | undefined;
|
|
1571
1199
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1572
1200
|
declare function ItemMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
1573
1201
|
declare function ItemContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
@@ -2100,4 +1728,4 @@ interface UserAvatarProps {
|
|
|
2100
1728
|
*/
|
|
2101
1729
|
declare function UserAvatar({ src, name, initials, size, className }: UserAvatarProps): react_jsx_runtime.JSX.Element;
|
|
2102
1730
|
|
|
2103
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AnimatedTooltip, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText,
|
|
1731
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, AnimatedTooltip, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxList, ComboboxSeparator, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DataToolbar, DataToolbarActions, DataToolbarFilters, DataToolbarSearch, type Density, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DirectionProvider, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateProps, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Icons, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Intent, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, type Measurement, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricCard, type MetricCardProps, type MetricTrend, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageHeader, type PageHeaderProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PaginationRangeItem, Palette, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PricingCard, type PricingCardProps, Progress, RadioGroup, RadioGroupItem, Radius, RadiusProp, ResizableHandle, ResizablePanel, ResizablePanelGroup, SaasflareComponentProps, SaasflareProvider, type SaasflareProviderProps, SaasflareScript, type SaasflareScriptProps, SaasflareShell, type SaasflareShellProps, ScrollArea, ScrollBar, ScrollToTopButton, SearchField, type SearchFieldProps, SectionCard, type SectionCardProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SettingsSection, type SettingsSectionProps, 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, type Size, Skeleton, Slider, SmoothScrollProvider, type SmoothScrollProviderProps, Spinner, StyleVariant, Surface, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeModeToggle, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, type TooltipItem, TooltipProvider, TooltipTrigger, TopLoadingBar, type TopLoadingBarProps, TypewriterText, type UseDisclosureOptions, type UseDisclosureReturn, type UseMeasureReturn, type UsePaginationOptions, type UsePaginationReturn, UserAvatar, type UserAvatarProps, badgeVariants, buttonGroupVariants, cn, fadeIn, navigationMenuTriggerStyle, noMotion, scaleIn, slideDown, slideUp, spring, springBouncy, springGentle, springStiff, toggleVariants, useAnimation, useDirection, useDisclosure, useFormField, useIsMobile, useMeasure, usePagination, useReducedMotion, useSaasflareTheme, useSidebar };
|