@dododog/ui 0.9.0 → 0.9.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/dist/components/Accordion/index.d.mts +24 -0
- package/dist/components/Accordion/index.d.ts +24 -0
- package/dist/components/Alert/index.d.mts +40 -0
- package/dist/components/Alert/index.d.ts +40 -0
- package/dist/components/AnchorTabs/index.d.mts +59 -0
- package/dist/components/AnchorTabs/index.d.ts +59 -0
- package/dist/components/Autocomplete/index.d.mts +27 -0
- package/dist/components/Autocomplete/index.d.ts +27 -0
- package/dist/components/Avatar/index.d.mts +13 -0
- package/dist/components/Avatar/index.d.ts +13 -0
- package/dist/components/Badge/index.d.mts +13 -0
- package/dist/components/Badge/index.d.ts +13 -0
- package/dist/components/Banner/index.d.mts +19 -0
- package/dist/components/Banner/index.d.ts +19 -0
- package/dist/components/BottomNavBar/index.d.mts +17 -0
- package/dist/components/BottomNavBar/index.d.ts +17 -0
- package/dist/components/Breadcrumb/index.d.mts +23 -0
- package/dist/components/Breadcrumb/index.d.ts +23 -0
- package/dist/components/Button/index.d.mts +17 -0
- package/dist/components/Button/index.d.ts +17 -0
- package/dist/components/Card/index.d.mts +30 -0
- package/dist/components/Card/index.d.ts +30 -0
- package/dist/components/CardList/index.d.mts +30 -0
- package/dist/components/CardList/index.d.ts +30 -0
- package/dist/components/Carousel/index.d.mts +15 -0
- package/dist/components/Carousel/index.d.ts +15 -0
- package/dist/components/Checkbox/index.d.mts +16 -0
- package/dist/components/Checkbox/index.d.ts +16 -0
- package/dist/components/Counter/index.d.mts +14 -0
- package/dist/components/Counter/index.d.ts +14 -0
- package/dist/components/DateRangePicker/index.d.mts +26 -0
- package/dist/components/DateRangePicker/index.d.ts +26 -0
- package/dist/components/DetailList/index.d.mts +23 -0
- package/dist/components/DetailList/index.d.ts +23 -0
- package/dist/components/Divider/index.d.mts +10 -0
- package/dist/components/Divider/index.d.ts +10 -0
- package/dist/components/Drawer/index.d.mts +13 -0
- package/dist/components/Drawer/index.d.ts +13 -0
- package/dist/components/DropdownMenu/index.d.mts +19 -0
- package/dist/components/DropdownMenu/index.d.ts +19 -0
- package/dist/components/DualRangeSlider/index.d.mts +26 -0
- package/dist/components/DualRangeSlider/index.d.ts +26 -0
- package/dist/components/EmptyState/index.d.mts +12 -0
- package/dist/components/EmptyState/index.d.ts +12 -0
- package/dist/components/ErrorBoundary/index.d.mts +21 -0
- package/dist/components/ErrorBoundary/index.d.ts +21 -0
- package/dist/components/FilterAccordion/index.d.mts +16 -0
- package/dist/components/FilterAccordion/index.d.ts +16 -0
- package/dist/components/FilterPill/index.d.mts +19 -0
- package/dist/components/FilterPill/index.d.ts +19 -0
- package/dist/components/FloatingDock/index.d.mts +65 -0
- package/dist/components/FloatingDock/index.d.ts +65 -0
- package/dist/components/Footer/index.d.mts +46 -0
- package/dist/components/Footer/index.d.ts +46 -0
- package/dist/components/GuestPicker/index.d.mts +31 -0
- package/dist/components/GuestPicker/index.d.ts +31 -0
- package/dist/components/Header/index.d.mts +37 -0
- package/dist/components/Header/index.d.ts +37 -0
- package/dist/components/HotelCard/index.d.mts +45 -0
- package/dist/components/HotelCard/index.d.ts +45 -0
- package/dist/components/IconBadge/index.d.mts +14 -0
- package/dist/components/IconBadge/index.d.ts +14 -0
- package/dist/components/ImageGallery/index.d.mts +16 -0
- package/dist/components/ImageGallery/index.d.ts +16 -0
- package/dist/components/ImageWithFallback/index.d.mts +17 -0
- package/dist/components/ImageWithFallback/index.d.ts +17 -0
- package/dist/components/Input/index.d.mts +18 -0
- package/dist/components/Input/index.d.ts +18 -0
- package/dist/components/Lightbox/index.d.mts +15 -0
- package/dist/components/Lightbox/index.d.ts +15 -0
- package/dist/components/LinkCard/index.d.mts +12 -0
- package/dist/components/LinkCard/index.d.ts +12 -0
- package/dist/components/LoadingOverlay/index.d.mts +12 -0
- package/dist/components/LoadingOverlay/index.d.ts +12 -0
- package/dist/components/MegaMenu/index.d.mts +52 -0
- package/dist/components/MegaMenu/index.d.ts +52 -0
- package/dist/components/MobileMenu/index.d.mts +35 -0
- package/dist/components/MobileMenu/index.d.ts +35 -0
- package/dist/components/Modal/index.d.mts +12 -0
- package/dist/components/Modal/index.d.ts +12 -0
- package/dist/components/Pagination/index.d.mts +13 -0
- package/dist/components/Pagination/index.d.ts +13 -0
- package/dist/components/PriceDisplay/index.d.mts +14 -0
- package/dist/components/PriceDisplay/index.d.ts +14 -0
- package/dist/components/ProgressBar/index.d.mts +19 -0
- package/dist/components/ProgressBar/index.d.ts +19 -0
- package/dist/components/PromoBanner/index.d.mts +39 -0
- package/dist/components/PromoBanner/index.d.ts +39 -0
- package/dist/components/RadioGroup/index.d.mts +21 -0
- package/dist/components/RadioGroup/index.d.ts +21 -0
- package/dist/components/Rating/index.d.mts +12 -0
- package/dist/components/Rating/index.d.ts +12 -0
- package/dist/components/RoomTypeCard/index.d.mts +102 -0
- package/dist/components/RoomTypeCard/index.d.ts +102 -0
- package/dist/components/SearchBar/index.d.mts +20 -0
- package/dist/components/SearchBar/index.d.ts +20 -0
- package/dist/components/SegmentedControl/index.d.mts +15 -0
- package/dist/components/SegmentedControl/index.d.ts +15 -0
- package/dist/components/Select/index.d.mts +26 -0
- package/dist/components/Select/index.d.ts +26 -0
- package/dist/components/Sidebar/index.d.mts +19 -0
- package/dist/components/Sidebar/index.d.ts +19 -0
- package/dist/components/SignInCallout/index.d.mts +26 -0
- package/dist/components/SignInCallout/index.d.ts +26 -0
- package/dist/components/Skeleton/index.d.mts +31 -0
- package/dist/components/Skeleton/index.d.ts +31 -0
- package/dist/components/Spinner/index.d.mts +13 -0
- package/dist/components/Spinner/index.d.ts +13 -0
- package/dist/components/StatCard/index.d.mts +15 -0
- package/dist/components/StatCard/index.d.ts +15 -0
- package/dist/components/StatusBadge/index.d.mts +16 -0
- package/dist/components/StatusBadge/index.d.ts +16 -0
- package/dist/components/Stepper/index.d.mts +16 -0
- package/dist/components/Stepper/index.d.ts +16 -0
- package/dist/components/Switch/index.d.mts +22 -0
- package/dist/components/Switch/index.d.ts +22 -0
- package/dist/components/Tabs/index.d.mts +18 -0
- package/dist/components/Tabs/index.d.ts +18 -0
- package/dist/components/Tag/index.d.mts +15 -0
- package/dist/components/Tag/index.d.ts +15 -0
- package/dist/components/Textarea/index.d.mts +16 -0
- package/dist/components/Textarea/index.d.ts +16 -0
- package/dist/components/Toast/index.d.mts +16 -0
- package/dist/components/Toast/index.d.ts +16 -0
- package/dist/components/Toggle/index.d.mts +13 -0
- package/dist/components/Toggle/index.d.ts +13 -0
- package/dist/components/Tooltip/index.d.mts +11 -0
- package/dist/components/Tooltip/index.d.ts +11 -0
- package/dist/components/VerticalMarquee/index.d.mts +16 -0
- package/dist/components/VerticalMarquee/index.d.ts +16 -0
- package/dist/index.d.mts +189 -0
- package/dist/index.d.ts +189 -0
- package/dist/index.js +54 -54
- package/dist/index.mjs +12 -12
- package/dist/tailwind-preset.d.mts +170 -0
- package/dist/tailwind-preset.d.ts +170 -0
- package/dist/tokens/index.d.mts +219 -0
- package/dist/tokens/index.d.ts +219 -0
- package/dist/typography-BUlhEnfy.d.mts +16 -0
- package/dist/typography-BUlhEnfy.d.ts +16 -0
- package/dist/utils/index.d.mts +5 -0
- package/dist/utils/index.d.ts +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const selectVariants: (props?: ({
|
|
6
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
|
+
variant?: "default" | "error" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface SelectOption {
|
|
10
|
+
value: string;
|
|
11
|
+
label: string;
|
|
12
|
+
}
|
|
13
|
+
interface SelectProps extends VariantProps<typeof selectVariants> {
|
|
14
|
+
options: SelectOption[];
|
|
15
|
+
value?: string;
|
|
16
|
+
onChange?: (value: string) => void;
|
|
17
|
+
label?: string;
|
|
18
|
+
error?: string;
|
|
19
|
+
required?: boolean;
|
|
20
|
+
placeholder?: string;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
className?: string;
|
|
23
|
+
}
|
|
24
|
+
declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
|
|
26
|
+
export { Select, type SelectOption, type SelectProps, selectVariants };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SidebarItem {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
icon: React.ReactNode;
|
|
7
|
+
href: string;
|
|
8
|
+
isActive?: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface SidebarProps {
|
|
11
|
+
items: SidebarItem[];
|
|
12
|
+
header?: React.ReactNode;
|
|
13
|
+
footer?: React.ReactNode;
|
|
14
|
+
className?: string;
|
|
15
|
+
onNavigate?: (href: string) => void;
|
|
16
|
+
}
|
|
17
|
+
declare const Sidebar: React.ForwardRefExoticComponent<SidebarProps & React.RefAttributes<HTMLElement>>;
|
|
18
|
+
|
|
19
|
+
export { Sidebar, type SidebarItem, type SidebarProps };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SidebarItem {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
icon: React.ReactNode;
|
|
7
|
+
href: string;
|
|
8
|
+
isActive?: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface SidebarProps {
|
|
11
|
+
items: SidebarItem[];
|
|
12
|
+
header?: React.ReactNode;
|
|
13
|
+
footer?: React.ReactNode;
|
|
14
|
+
className?: string;
|
|
15
|
+
onNavigate?: (href: string) => void;
|
|
16
|
+
}
|
|
17
|
+
declare const Sidebar: React.ForwardRefExoticComponent<SidebarProps & React.RefAttributes<HTMLElement>>;
|
|
18
|
+
|
|
19
|
+
export { Sidebar, type SidebarItem, type SidebarProps };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const signInCalloutVariants: (props?: ({
|
|
6
|
+
variant?: "default" | "subtle" | "highlight" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface SignInCalloutProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof signInCalloutVariants> {
|
|
9
|
+
/** Titre de l'encart, ex. « Vous avez déjà un compte ? ». */
|
|
10
|
+
title: string;
|
|
11
|
+
/** Texte descriptif — chaîne ou contenu riche. */
|
|
12
|
+
description: React.ReactNode;
|
|
13
|
+
/** Libellé du bouton d'action, ex. « Se connecter ». */
|
|
14
|
+
ctaLabel: string;
|
|
15
|
+
/** Handler de clic sur le CTA (rendu comme <button>). Ignoré si `href` est fourni. */
|
|
16
|
+
onSignIn?: () => void;
|
|
17
|
+
/** Lien du CTA (rendu comme <a>). Prioritaire sur `onSignIn`. */
|
|
18
|
+
href?: string;
|
|
19
|
+
/** Liste facultative de bénéfices affichés sous la description. */
|
|
20
|
+
benefits?: string[];
|
|
21
|
+
/** Icône décorative personnalisée (par défaut : silhouette utilisateur). */
|
|
22
|
+
icon?: React.ReactNode;
|
|
23
|
+
}
|
|
24
|
+
declare const SignInCallout: React.ForwardRefExoticComponent<SignInCalloutProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
|
|
26
|
+
export { SignInCallout, type SignInCalloutProps, signInCalloutVariants };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const signInCalloutVariants: (props?: ({
|
|
6
|
+
variant?: "default" | "subtle" | "highlight" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface SignInCalloutProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">, VariantProps<typeof signInCalloutVariants> {
|
|
9
|
+
/** Titre de l'encart, ex. « Vous avez déjà un compte ? ». */
|
|
10
|
+
title: string;
|
|
11
|
+
/** Texte descriptif — chaîne ou contenu riche. */
|
|
12
|
+
description: React.ReactNode;
|
|
13
|
+
/** Libellé du bouton d'action, ex. « Se connecter ». */
|
|
14
|
+
ctaLabel: string;
|
|
15
|
+
/** Handler de clic sur le CTA (rendu comme <button>). Ignoré si `href` est fourni. */
|
|
16
|
+
onSignIn?: () => void;
|
|
17
|
+
/** Lien du CTA (rendu comme <a>). Prioritaire sur `onSignIn`. */
|
|
18
|
+
href?: string;
|
|
19
|
+
/** Liste facultative de bénéfices affichés sous la description. */
|
|
20
|
+
benefits?: string[];
|
|
21
|
+
/** Icône décorative personnalisée (par défaut : silhouette utilisateur). */
|
|
22
|
+
icon?: React.ReactNode;
|
|
23
|
+
}
|
|
24
|
+
declare const SignInCallout: React.ForwardRefExoticComponent<SignInCalloutProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
+
|
|
26
|
+
export { SignInCallout, type SignInCalloutProps, signInCalloutVariants };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
shimmer?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
interface SkeletonTextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
lines?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const SkeletonText: React.ForwardRefExoticComponent<SkeletonTextProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const circleSizes: {
|
|
12
|
+
readonly sm: "w-8 h-8";
|
|
13
|
+
readonly md: "w-12 h-12";
|
|
14
|
+
readonly lg: "w-16 h-16";
|
|
15
|
+
readonly xl: "w-24 h-24";
|
|
16
|
+
};
|
|
17
|
+
interface SkeletonCircleProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
18
|
+
size?: keyof typeof circleSizes;
|
|
19
|
+
}
|
|
20
|
+
declare const SkeletonCircle: React.ForwardRefExoticComponent<SkeletonCircleProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
declare const aspectRatios: {
|
|
22
|
+
readonly video: "aspect-video";
|
|
23
|
+
readonly square: "aspect-square";
|
|
24
|
+
readonly wide: "aspect-[16/10]";
|
|
25
|
+
};
|
|
26
|
+
interface SkeletonImageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
27
|
+
aspectRatio?: keyof typeof aspectRatios;
|
|
28
|
+
}
|
|
29
|
+
declare const SkeletonImage: React.ForwardRefExoticComponent<SkeletonImageProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
|
|
31
|
+
export { Skeleton, SkeletonCircle, type SkeletonCircleProps, SkeletonImage, type SkeletonImageProps, type SkeletonProps, SkeletonText, type SkeletonTextProps };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
shimmer?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
interface SkeletonTextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
|
+
lines?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const SkeletonText: React.ForwardRefExoticComponent<SkeletonTextProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const circleSizes: {
|
|
12
|
+
readonly sm: "w-8 h-8";
|
|
13
|
+
readonly md: "w-12 h-12";
|
|
14
|
+
readonly lg: "w-16 h-16";
|
|
15
|
+
readonly xl: "w-24 h-24";
|
|
16
|
+
};
|
|
17
|
+
interface SkeletonCircleProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
18
|
+
size?: keyof typeof circleSizes;
|
|
19
|
+
}
|
|
20
|
+
declare const SkeletonCircle: React.ForwardRefExoticComponent<SkeletonCircleProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
declare const aspectRatios: {
|
|
22
|
+
readonly video: "aspect-video";
|
|
23
|
+
readonly square: "aspect-square";
|
|
24
|
+
readonly wide: "aspect-[16/10]";
|
|
25
|
+
};
|
|
26
|
+
interface SkeletonImageProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
27
|
+
aspectRatio?: keyof typeof aspectRatios;
|
|
28
|
+
}
|
|
29
|
+
declare const SkeletonImage: React.ForwardRefExoticComponent<SkeletonImageProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
+
|
|
31
|
+
export { Skeleton, SkeletonCircle, type SkeletonCircleProps, SkeletonImage, type SkeletonImageProps, type SkeletonProps, SkeletonText, type SkeletonTextProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const spinnerVariants: (props?: ({
|
|
6
|
+
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
|
|
9
|
+
label?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
|
|
13
|
+
export { Spinner, type SpinnerProps, spinnerVariants };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const spinnerVariants: (props?: ({
|
|
6
|
+
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spinnerVariants> {
|
|
9
|
+
label?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
|
|
13
|
+
export { Spinner, type SpinnerProps, spinnerVariants };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface StatCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
value: string | number;
|
|
6
|
+
label: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
trend?: {
|
|
9
|
+
value: string;
|
|
10
|
+
positive?: boolean;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
declare const StatCard: React.ForwardRefExoticComponent<StatCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
|
|
15
|
+
export { StatCard, type StatCardProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface StatCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
value: string | number;
|
|
6
|
+
label: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
trend?: {
|
|
9
|
+
value: string;
|
|
10
|
+
positive?: boolean;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
declare const StatCard: React.ForwardRefExoticComponent<StatCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
|
|
15
|
+
export { StatCard, type StatCardProps };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const statusBadgeVariants: (props?: ({
|
|
6
|
+
status?: "error" | "success" | "warning" | "info" | "neutral" | null | undefined;
|
|
7
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface StatusBadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof statusBadgeVariants> {
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
/** Show a dot indicator instead of icon. Default: true */
|
|
12
|
+
showDot?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const StatusBadge: React.ForwardRefExoticComponent<StatusBadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
15
|
+
|
|
16
|
+
export { StatusBadge, type StatusBadgeProps, statusBadgeVariants };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const statusBadgeVariants: (props?: ({
|
|
6
|
+
status?: "error" | "success" | "warning" | "info" | "neutral" | null | undefined;
|
|
7
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface StatusBadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof statusBadgeVariants> {
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
/** Show a dot indicator instead of icon. Default: true */
|
|
12
|
+
showDot?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const StatusBadge: React.ForwardRefExoticComponent<StatusBadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
15
|
+
|
|
16
|
+
export { StatusBadge, type StatusBadgeProps, statusBadgeVariants };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface StepperStep {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
type StepStatus = "completed" | "active" | "processing" | "upcoming";
|
|
8
|
+
interface StepperProps {
|
|
9
|
+
steps: StepperStep[];
|
|
10
|
+
currentIndex: number;
|
|
11
|
+
processing?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HTMLElement>>;
|
|
15
|
+
|
|
16
|
+
export { type StepStatus, Stepper, type StepperProps, type StepperStep };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface StepperStep {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
type StepStatus = "completed" | "active" | "processing" | "upcoming";
|
|
8
|
+
interface StepperProps {
|
|
9
|
+
steps: StepperStep[];
|
|
10
|
+
currentIndex: number;
|
|
11
|
+
processing?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HTMLElement>>;
|
|
15
|
+
|
|
16
|
+
export { type StepStatus, Stepper, type StepperProps, type StepperStep };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const switchTrackVariants: (props?: ({
|
|
6
|
+
size?: "sm" | "md" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
declare const switchThumbVariants: (props?: ({
|
|
9
|
+
size?: "sm" | "md" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
interface SwitchProps extends VariantProps<typeof switchTrackVariants> {
|
|
12
|
+
checked?: boolean;
|
|
13
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
label?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
21
|
+
|
|
22
|
+
export { Switch, type SwitchProps, switchThumbVariants, switchTrackVariants };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const switchTrackVariants: (props?: ({
|
|
6
|
+
size?: "sm" | "md" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
declare const switchThumbVariants: (props?: ({
|
|
9
|
+
size?: "sm" | "md" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
11
|
+
interface SwitchProps extends VariantProps<typeof switchTrackVariants> {
|
|
12
|
+
checked?: boolean;
|
|
13
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
label?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
21
|
+
|
|
22
|
+
export { Switch, type SwitchProps, switchThumbVariants, switchTrackVariants };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface TabItem {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
content: React.ReactNode;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
interface TabsProps {
|
|
10
|
+
tabs: TabItem[];
|
|
11
|
+
defaultTab?: string;
|
|
12
|
+
value?: string;
|
|
13
|
+
onChange?: (key: string) => void;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
|
|
18
|
+
export { type TabItem, Tabs, type TabsProps };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface TabItem {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
content: React.ReactNode;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
interface TabsProps {
|
|
10
|
+
tabs: TabItem[];
|
|
11
|
+
defaultTab?: string;
|
|
12
|
+
value?: string;
|
|
13
|
+
onChange?: (key: string) => void;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
+
|
|
18
|
+
export { type TabItem, Tabs, type TabsProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const tagVariants: (props?: ({
|
|
6
|
+
variant?: "primary" | "secondary" | "accent" | "outline" | "default" | "error" | "success" | "warning" | null | undefined;
|
|
7
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface TagProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof tagVariants> {
|
|
10
|
+
onRemove?: () => void;
|
|
11
|
+
icon?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
|
|
14
|
+
|
|
15
|
+
export { Tag, type TagProps, tagVariants };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const tagVariants: (props?: ({
|
|
6
|
+
variant?: "primary" | "secondary" | "accent" | "outline" | "default" | "error" | "success" | "warning" | null | undefined;
|
|
7
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface TagProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof tagVariants> {
|
|
10
|
+
onRemove?: () => void;
|
|
11
|
+
icon?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
|
|
14
|
+
|
|
15
|
+
export { Tag, type TagProps, tagVariants };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const textareaVariants: (props?: ({
|
|
6
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
|
+
variant?: "default" | "error" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size">, VariantProps<typeof textareaVariants> {
|
|
10
|
+
label?: string;
|
|
11
|
+
error?: string;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
15
|
+
|
|
16
|
+
export { Textarea, type TextareaProps, textareaVariants };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const textareaVariants: (props?: ({
|
|
6
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
|
+
variant?: "default" | "error" | null | undefined;
|
|
8
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
9
|
+
interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size">, VariantProps<typeof textareaVariants> {
|
|
10
|
+
label?: string;
|
|
11
|
+
error?: string;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
15
|
+
|
|
16
|
+
export { Textarea, type TextareaProps, textareaVariants };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const toastVariants: (props?: ({
|
|
6
|
+
variant?: "error" | "success" | "warning" | "info" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface ToastProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof toastVariants> {
|
|
9
|
+
title?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
onClose?: () => void;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
declare const Toast: React.ForwardRefExoticComponent<ToastProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
|
|
16
|
+
export { Toast, type ToastProps, toastVariants };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
|
|
5
|
+
declare const toastVariants: (props?: ({
|
|
6
|
+
variant?: "error" | "success" | "warning" | "info" | null | undefined;
|
|
7
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
|
+
interface ToastProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof toastVariants> {
|
|
9
|
+
title?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
onClose?: () => void;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
declare const Toast: React.ForwardRefExoticComponent<ToastProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
|
|
16
|
+
export { Toast, type ToastProps, toastVariants };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface ToggleProps {
|
|
4
|
+
pressed?: boolean;
|
|
5
|
+
onPressedChange?: (pressed: boolean) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
leftIcon?: React.ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
|
|
13
|
+
export { Toggle, type ToggleProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface ToggleProps {
|
|
4
|
+
pressed?: boolean;
|
|
5
|
+
onPressedChange?: (pressed: boolean) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
leftIcon?: React.ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
|
|
13
|
+
export { Toggle, type ToggleProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface TooltipProps {
|
|
4
|
+
content: string;
|
|
5
|
+
children: React.ReactElement;
|
|
6
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
|
|
11
|
+
export { Tooltip, type TooltipProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface TooltipProps {
|
|
4
|
+
content: string;
|
|
5
|
+
children: React.ReactElement;
|
|
6
|
+
position?: "top" | "bottom" | "left" | "right";
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
|
|
11
|
+
export { Tooltip, type TooltipProps };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface MarqueeImage {
|
|
4
|
+
src: string;
|
|
5
|
+
alt: string;
|
|
6
|
+
}
|
|
7
|
+
interface VerticalMarqueeProps {
|
|
8
|
+
images: MarqueeImage[];
|
|
9
|
+
className?: string;
|
|
10
|
+
overlay?: React.ReactNode;
|
|
11
|
+
/** Minimum items per column to avoid gaps. Default: 6 */
|
|
12
|
+
minItemsPerColumn?: number;
|
|
13
|
+
}
|
|
14
|
+
declare const VerticalMarquee: React.ForwardRefExoticComponent<VerticalMarqueeProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
|
|
16
|
+
export { type MarqueeImage, VerticalMarquee, type VerticalMarqueeProps };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface MarqueeImage {
|
|
4
|
+
src: string;
|
|
5
|
+
alt: string;
|
|
6
|
+
}
|
|
7
|
+
interface VerticalMarqueeProps {
|
|
8
|
+
images: MarqueeImage[];
|
|
9
|
+
className?: string;
|
|
10
|
+
overlay?: React.ReactNode;
|
|
11
|
+
/** Minimum items per column to avoid gaps. Default: 6 */
|
|
12
|
+
minItemsPerColumn?: number;
|
|
13
|
+
}
|
|
14
|
+
declare const VerticalMarquee: React.ForwardRefExoticComponent<VerticalMarqueeProps & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
|
|
16
|
+
export { type MarqueeImage, VerticalMarquee, type VerticalMarqueeProps };
|