@dododog/ui 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-S26SN3WK.js → chunk-3JM2X4I2.js} +44 -40
- package/dist/{chunk-QTW2FJUJ.mjs → chunk-BFGRWOQM.mjs} +44 -40
- package/dist/chunk-P2SGBTKS.mjs +138 -0
- package/dist/chunk-ZCQJN4IT.js +160 -0
- package/dist/components/FloatingDock/index.js +2 -2
- package/dist/components/FloatingDock/index.mjs +1 -1
- package/dist/components/RoomTypeCard/index.js +3 -3
- package/dist/components/RoomTypeCard/index.mjs +1 -1
- package/dist/index.js +38 -38
- package/dist/index.mjs +9 -9
- package/package.json +11 -11
- package/dist/chunk-PBDPZTHK.mjs +0 -53
- package/dist/chunk-S732LTPT.js +0 -75
- package/dist/components/Accordion/index.d.mts +0 -24
- package/dist/components/Accordion/index.d.ts +0 -24
- package/dist/components/Alert/index.d.mts +0 -40
- package/dist/components/Alert/index.d.ts +0 -40
- package/dist/components/AnchorTabs/index.d.mts +0 -59
- package/dist/components/AnchorTabs/index.d.ts +0 -59
- package/dist/components/Autocomplete/index.d.mts +0 -27
- package/dist/components/Autocomplete/index.d.ts +0 -27
- package/dist/components/Avatar/index.d.mts +0 -13
- package/dist/components/Avatar/index.d.ts +0 -13
- package/dist/components/Badge/index.d.mts +0 -13
- package/dist/components/Badge/index.d.ts +0 -13
- package/dist/components/Banner/index.d.mts +0 -19
- package/dist/components/Banner/index.d.ts +0 -19
- package/dist/components/BottomNavBar/index.d.mts +0 -17
- package/dist/components/BottomNavBar/index.d.ts +0 -17
- package/dist/components/Breadcrumb/index.d.mts +0 -23
- package/dist/components/Breadcrumb/index.d.ts +0 -23
- package/dist/components/Button/index.d.mts +0 -17
- package/dist/components/Button/index.d.ts +0 -17
- package/dist/components/Card/index.d.mts +0 -30
- package/dist/components/Card/index.d.ts +0 -30
- package/dist/components/CardList/index.d.mts +0 -30
- package/dist/components/CardList/index.d.ts +0 -30
- package/dist/components/Carousel/index.d.mts +0 -15
- package/dist/components/Carousel/index.d.ts +0 -15
- package/dist/components/Checkbox/index.d.mts +0 -16
- package/dist/components/Checkbox/index.d.ts +0 -16
- package/dist/components/Counter/index.d.mts +0 -14
- package/dist/components/Counter/index.d.ts +0 -14
- package/dist/components/DateRangePicker/index.d.mts +0 -26
- package/dist/components/DateRangePicker/index.d.ts +0 -26
- package/dist/components/DetailList/index.d.mts +0 -23
- package/dist/components/DetailList/index.d.ts +0 -23
- package/dist/components/Divider/index.d.mts +0 -10
- package/dist/components/Divider/index.d.ts +0 -10
- package/dist/components/Drawer/index.d.mts +0 -13
- package/dist/components/Drawer/index.d.ts +0 -13
- package/dist/components/DropdownMenu/index.d.mts +0 -19
- package/dist/components/DropdownMenu/index.d.ts +0 -19
- package/dist/components/DualRangeSlider/index.d.mts +0 -26
- package/dist/components/DualRangeSlider/index.d.ts +0 -26
- package/dist/components/EmptyState/index.d.mts +0 -12
- package/dist/components/EmptyState/index.d.ts +0 -12
- package/dist/components/ErrorBoundary/index.d.mts +0 -21
- package/dist/components/ErrorBoundary/index.d.ts +0 -21
- package/dist/components/FilterAccordion/index.d.mts +0 -16
- package/dist/components/FilterAccordion/index.d.ts +0 -16
- package/dist/components/FilterPill/index.d.mts +0 -19
- package/dist/components/FilterPill/index.d.ts +0 -19
- package/dist/components/FloatingDock/index.d.mts +0 -44
- package/dist/components/FloatingDock/index.d.ts +0 -44
- package/dist/components/Footer/index.d.mts +0 -46
- package/dist/components/Footer/index.d.ts +0 -46
- package/dist/components/GuestPicker/index.d.mts +0 -31
- package/dist/components/GuestPicker/index.d.ts +0 -31
- package/dist/components/Header/index.d.mts +0 -37
- package/dist/components/Header/index.d.ts +0 -37
- package/dist/components/HotelCard/index.d.mts +0 -45
- package/dist/components/HotelCard/index.d.ts +0 -45
- package/dist/components/IconBadge/index.d.mts +0 -14
- package/dist/components/IconBadge/index.d.ts +0 -14
- package/dist/components/ImageGallery/index.d.mts +0 -16
- package/dist/components/ImageGallery/index.d.ts +0 -16
- package/dist/components/ImageWithFallback/index.d.mts +0 -17
- package/dist/components/ImageWithFallback/index.d.ts +0 -17
- package/dist/components/Input/index.d.mts +0 -18
- package/dist/components/Input/index.d.ts +0 -18
- package/dist/components/Lightbox/index.d.mts +0 -15
- package/dist/components/Lightbox/index.d.ts +0 -15
- package/dist/components/LinkCard/index.d.mts +0 -12
- package/dist/components/LinkCard/index.d.ts +0 -12
- package/dist/components/LoadingOverlay/index.d.mts +0 -12
- package/dist/components/LoadingOverlay/index.d.ts +0 -12
- package/dist/components/MegaMenu/index.d.mts +0 -52
- package/dist/components/MegaMenu/index.d.ts +0 -52
- package/dist/components/MobileMenu/index.d.mts +0 -35
- package/dist/components/MobileMenu/index.d.ts +0 -35
- package/dist/components/Modal/index.d.mts +0 -12
- package/dist/components/Modal/index.d.ts +0 -12
- package/dist/components/Pagination/index.d.mts +0 -13
- package/dist/components/Pagination/index.d.ts +0 -13
- package/dist/components/PriceDisplay/index.d.mts +0 -14
- package/dist/components/PriceDisplay/index.d.ts +0 -14
- package/dist/components/ProgressBar/index.d.mts +0 -19
- package/dist/components/ProgressBar/index.d.ts +0 -19
- package/dist/components/PromoBanner/index.d.mts +0 -39
- package/dist/components/PromoBanner/index.d.ts +0 -39
- package/dist/components/RadioGroup/index.d.mts +0 -21
- package/dist/components/RadioGroup/index.d.ts +0 -21
- package/dist/components/Rating/index.d.mts +0 -12
- package/dist/components/Rating/index.d.ts +0 -12
- package/dist/components/RoomTypeCard/index.d.mts +0 -102
- package/dist/components/RoomTypeCard/index.d.ts +0 -102
- package/dist/components/SearchBar/index.d.mts +0 -20
- package/dist/components/SearchBar/index.d.ts +0 -20
- package/dist/components/SegmentedControl/index.d.mts +0 -15
- package/dist/components/SegmentedControl/index.d.ts +0 -15
- package/dist/components/Select/index.d.mts +0 -26
- package/dist/components/Select/index.d.ts +0 -26
- package/dist/components/Sidebar/index.d.mts +0 -19
- package/dist/components/Sidebar/index.d.ts +0 -19
- package/dist/components/SignInCallout/index.d.mts +0 -26
- package/dist/components/SignInCallout/index.d.ts +0 -26
- package/dist/components/Skeleton/index.d.mts +0 -31
- package/dist/components/Skeleton/index.d.ts +0 -31
- package/dist/components/Spinner/index.d.mts +0 -13
- package/dist/components/Spinner/index.d.ts +0 -13
- package/dist/components/StatCard/index.d.mts +0 -15
- package/dist/components/StatCard/index.d.ts +0 -15
- package/dist/components/StatusBadge/index.d.mts +0 -16
- package/dist/components/StatusBadge/index.d.ts +0 -16
- package/dist/components/Stepper/index.d.mts +0 -16
- package/dist/components/Stepper/index.d.ts +0 -16
- package/dist/components/Switch/index.d.mts +0 -22
- package/dist/components/Switch/index.d.ts +0 -22
- package/dist/components/Tabs/index.d.mts +0 -18
- package/dist/components/Tabs/index.d.ts +0 -18
- package/dist/components/Tag/index.d.mts +0 -15
- package/dist/components/Tag/index.d.ts +0 -15
- package/dist/components/Textarea/index.d.mts +0 -16
- package/dist/components/Textarea/index.d.ts +0 -16
- package/dist/components/Toast/index.d.mts +0 -16
- package/dist/components/Toast/index.d.ts +0 -16
- package/dist/components/Toggle/index.d.mts +0 -13
- package/dist/components/Toggle/index.d.ts +0 -13
- package/dist/components/Tooltip/index.d.mts +0 -11
- package/dist/components/Tooltip/index.d.ts +0 -11
- package/dist/components/VerticalMarquee/index.d.mts +0 -16
- package/dist/components/VerticalMarquee/index.d.ts +0 -16
- package/dist/index.d.mts +0 -189
- package/dist/index.d.ts +0 -189
- package/dist/tailwind-preset.d.mts +0 -170
- package/dist/tailwind-preset.d.ts +0 -170
- package/dist/tokens/index.d.mts +0 -219
- package/dist/tokens/index.d.ts +0 -219
- package/dist/typography-BUlhEnfy.d.mts +0 -16
- package/dist/typography-BUlhEnfy.d.ts +0 -16
- package/dist/utils/index.d.mts +0 -5
- package/dist/utils/index.d.ts +0 -5
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface RatingProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
value: number;
|
|
5
|
-
max?: number;
|
|
6
|
-
size?: "sm" | "md" | "lg";
|
|
7
|
-
showValue?: boolean;
|
|
8
|
-
reviewCount?: number;
|
|
9
|
-
}
|
|
10
|
-
declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
|
|
12
|
-
export { Rating, type RatingProps };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface RatingProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
value: number;
|
|
5
|
-
max?: number;
|
|
6
|
-
size?: "sm" | "md" | "lg";
|
|
7
|
-
showValue?: boolean;
|
|
8
|
-
reviewCount?: number;
|
|
9
|
-
}
|
|
10
|
-
declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
|
|
12
|
-
export { Rating, type RatingProps };
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type RoomRateCancellationKind = "free" | "partial" | "nonrefundable";
|
|
4
|
-
interface RoomRateCancellation {
|
|
5
|
-
kind: RoomRateCancellationKind;
|
|
6
|
-
/** Texte explicite, ex: "Annulation gratuite avant le 10 août" ou "Non remboursable" */
|
|
7
|
-
label: string;
|
|
8
|
-
}
|
|
9
|
-
interface RoomRate {
|
|
10
|
-
id: string;
|
|
11
|
-
/** ex: "Sans petit-déjeuner", "Petit-déjeuner inclus" */
|
|
12
|
-
mealLabel?: string;
|
|
13
|
-
cancellation: RoomRateCancellation;
|
|
14
|
-
/** Prix par nuit (déjà arrondi côté appelant si souhaité) */
|
|
15
|
-
pricePerNight: number;
|
|
16
|
-
/** Prix total du séjour */
|
|
17
|
-
totalPrice: number;
|
|
18
|
-
/** Prix total barré (avant réduction) */
|
|
19
|
-
originalTotal?: number;
|
|
20
|
-
/** ex: "2 nuits, taxes incl." */
|
|
21
|
-
totalLabel?: string;
|
|
22
|
-
/** Frais chien explicite, ex: "Chien inclus : +16 €" */
|
|
23
|
-
dogFeeLabel?: string;
|
|
24
|
-
}
|
|
25
|
-
interface RoomTypeData {
|
|
26
|
-
name: string;
|
|
27
|
-
image?: string;
|
|
28
|
-
/** Nombre total de photos pour cette chambre (badge) */
|
|
29
|
-
imageCount?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Si défini, `image` est une photo de l'ÉTABLISSEMENT (non attribuée à cette
|
|
32
|
-
* chambre) : ce libellé est utilisé comme `alt` et affiché en incrustation
|
|
33
|
-
* (ex: "Photo de l'établissement"). Prend le pas sur le badge `imageCount`
|
|
34
|
-
* pour ne jamais laisser croire à une galerie propre à la chambre.
|
|
35
|
-
*/
|
|
36
|
-
establishmentPhotoLabel?: string;
|
|
37
|
-
/** ex: "1 lit double", "2 lits jumeaux" */
|
|
38
|
-
beds?: string;
|
|
39
|
-
/** Surface en m² */
|
|
40
|
-
sizeSqm?: number;
|
|
41
|
-
/** Capacité max voyageurs */
|
|
42
|
-
maxOccupancy?: number;
|
|
43
|
-
/** Équipements clés, ex: ["Wi-Fi", "Climatisation", "TV"] */
|
|
44
|
-
amenities?: string[];
|
|
45
|
-
/** Description courte de la chambre (sous la ligne de méta) */
|
|
46
|
-
description?: string;
|
|
47
|
-
/** Atout mis en avant en vert, ex: "Vue jardin", "Jardin privatif clos" */
|
|
48
|
-
highlight?: string;
|
|
49
|
-
}
|
|
50
|
-
interface RoomTypeCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
51
|
-
room: RoomTypeData;
|
|
52
|
-
rates: RoomRate[];
|
|
53
|
-
/** id de la formule actuellement sélectionnée */
|
|
54
|
-
selectedRateId?: string;
|
|
55
|
-
onSelectRate?: (rateId: string) => void;
|
|
56
|
-
/**
|
|
57
|
-
* Callback de réservation directe (pattern Expedia) : quand fourni, la formule
|
|
58
|
-
* sélectionnée affiche un bouton PLEIN « Réserver » qui l'appelle. Absent →
|
|
59
|
-
* comportement historique préservé (bouton « Sélectionné », API additive).
|
|
60
|
-
*/
|
|
61
|
-
onReserveRate?: (rateId: string) => void;
|
|
62
|
-
/** Libellé du CTA de réservation directe (défaut « Réserver »). */
|
|
63
|
-
reserveLabel?: string;
|
|
64
|
-
/** Note grise sous le CTA « Réserver » (ex: « Le montant ne vous sera pas encore facturé »). */
|
|
65
|
-
ctaNote?: string;
|
|
66
|
-
/** Nombre de formules visibles avant le bouton "X autres formules" (défaut 2) */
|
|
67
|
-
initialVisibleRates?: number;
|
|
68
|
-
selectLabel?: string;
|
|
69
|
-
/** Variante d'affichage : "default" (détaillée) ou "compact" (grille 2 colonnes mobile) */
|
|
70
|
-
variant?: "default" | "compact";
|
|
71
|
-
/** Disponibilité : "unavailable" masque les formules et affiche un état dédié */
|
|
72
|
-
availability?: "available" | "unavailable";
|
|
73
|
-
/** Callback du lien "Voir d'autres dates" (état indisponible) */
|
|
74
|
-
onSeeOtherDates?: () => void;
|
|
75
|
-
/** Libellé de l'état indisponible */
|
|
76
|
-
unavailableLabel?: string;
|
|
77
|
-
/** Render custom image (ex: next/image) */
|
|
78
|
-
renderImage?: (props: {
|
|
79
|
-
src: string;
|
|
80
|
-
alt: string;
|
|
81
|
-
className: string;
|
|
82
|
-
}) => React.ReactNode;
|
|
83
|
-
}
|
|
84
|
-
declare const RoomTypeCard: React.ForwardRefExoticComponent<RoomTypeCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
85
|
-
|
|
86
|
-
interface RoomTypeCardSkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
87
|
-
/** Aligné sur `RoomTypeCard.variant` : compact = image 128px, padding réduit. */
|
|
88
|
-
variant?: "default" | "compact";
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Squelette de chargement calqué sur la structure de `RoomTypeCard`
|
|
92
|
-
* (image, titre, caractéristiques, formule, prix + CTA). À afficher pendant
|
|
93
|
-
* la recherche des tarifs temps réel.
|
|
94
|
-
*
|
|
95
|
-
* Purement décoratif (`aria-hidden`) : lorsque plusieurs squelettes sont
|
|
96
|
-
* rendus, porter l'annonce sur un conteneur unique côté appelant
|
|
97
|
-
* (`role="status"` + `aria-label`), afin d'éviter les annonces dupliquées
|
|
98
|
-
* pour les lecteurs d'écran.
|
|
99
|
-
*/
|
|
100
|
-
declare const RoomTypeCardSkeleton: React.ForwardRefExoticComponent<RoomTypeCardSkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
101
|
-
|
|
102
|
-
export { type RoomRate, type RoomRateCancellation, type RoomRateCancellationKind, RoomTypeCard, type RoomTypeCardProps, RoomTypeCardSkeleton, type RoomTypeCardSkeletonProps, type RoomTypeData };
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
type RoomRateCancellationKind = "free" | "partial" | "nonrefundable";
|
|
4
|
-
interface RoomRateCancellation {
|
|
5
|
-
kind: RoomRateCancellationKind;
|
|
6
|
-
/** Texte explicite, ex: "Annulation gratuite avant le 10 août" ou "Non remboursable" */
|
|
7
|
-
label: string;
|
|
8
|
-
}
|
|
9
|
-
interface RoomRate {
|
|
10
|
-
id: string;
|
|
11
|
-
/** ex: "Sans petit-déjeuner", "Petit-déjeuner inclus" */
|
|
12
|
-
mealLabel?: string;
|
|
13
|
-
cancellation: RoomRateCancellation;
|
|
14
|
-
/** Prix par nuit (déjà arrondi côté appelant si souhaité) */
|
|
15
|
-
pricePerNight: number;
|
|
16
|
-
/** Prix total du séjour */
|
|
17
|
-
totalPrice: number;
|
|
18
|
-
/** Prix total barré (avant réduction) */
|
|
19
|
-
originalTotal?: number;
|
|
20
|
-
/** ex: "2 nuits, taxes incl." */
|
|
21
|
-
totalLabel?: string;
|
|
22
|
-
/** Frais chien explicite, ex: "Chien inclus : +16 €" */
|
|
23
|
-
dogFeeLabel?: string;
|
|
24
|
-
}
|
|
25
|
-
interface RoomTypeData {
|
|
26
|
-
name: string;
|
|
27
|
-
image?: string;
|
|
28
|
-
/** Nombre total de photos pour cette chambre (badge) */
|
|
29
|
-
imageCount?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Si défini, `image` est une photo de l'ÉTABLISSEMENT (non attribuée à cette
|
|
32
|
-
* chambre) : ce libellé est utilisé comme `alt` et affiché en incrustation
|
|
33
|
-
* (ex: "Photo de l'établissement"). Prend le pas sur le badge `imageCount`
|
|
34
|
-
* pour ne jamais laisser croire à une galerie propre à la chambre.
|
|
35
|
-
*/
|
|
36
|
-
establishmentPhotoLabel?: string;
|
|
37
|
-
/** ex: "1 lit double", "2 lits jumeaux" */
|
|
38
|
-
beds?: string;
|
|
39
|
-
/** Surface en m² */
|
|
40
|
-
sizeSqm?: number;
|
|
41
|
-
/** Capacité max voyageurs */
|
|
42
|
-
maxOccupancy?: number;
|
|
43
|
-
/** Équipements clés, ex: ["Wi-Fi", "Climatisation", "TV"] */
|
|
44
|
-
amenities?: string[];
|
|
45
|
-
/** Description courte de la chambre (sous la ligne de méta) */
|
|
46
|
-
description?: string;
|
|
47
|
-
/** Atout mis en avant en vert, ex: "Vue jardin", "Jardin privatif clos" */
|
|
48
|
-
highlight?: string;
|
|
49
|
-
}
|
|
50
|
-
interface RoomTypeCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
51
|
-
room: RoomTypeData;
|
|
52
|
-
rates: RoomRate[];
|
|
53
|
-
/** id de la formule actuellement sélectionnée */
|
|
54
|
-
selectedRateId?: string;
|
|
55
|
-
onSelectRate?: (rateId: string) => void;
|
|
56
|
-
/**
|
|
57
|
-
* Callback de réservation directe (pattern Expedia) : quand fourni, la formule
|
|
58
|
-
* sélectionnée affiche un bouton PLEIN « Réserver » qui l'appelle. Absent →
|
|
59
|
-
* comportement historique préservé (bouton « Sélectionné », API additive).
|
|
60
|
-
*/
|
|
61
|
-
onReserveRate?: (rateId: string) => void;
|
|
62
|
-
/** Libellé du CTA de réservation directe (défaut « Réserver »). */
|
|
63
|
-
reserveLabel?: string;
|
|
64
|
-
/** Note grise sous le CTA « Réserver » (ex: « Le montant ne vous sera pas encore facturé »). */
|
|
65
|
-
ctaNote?: string;
|
|
66
|
-
/** Nombre de formules visibles avant le bouton "X autres formules" (défaut 2) */
|
|
67
|
-
initialVisibleRates?: number;
|
|
68
|
-
selectLabel?: string;
|
|
69
|
-
/** Variante d'affichage : "default" (détaillée) ou "compact" (grille 2 colonnes mobile) */
|
|
70
|
-
variant?: "default" | "compact";
|
|
71
|
-
/** Disponibilité : "unavailable" masque les formules et affiche un état dédié */
|
|
72
|
-
availability?: "available" | "unavailable";
|
|
73
|
-
/** Callback du lien "Voir d'autres dates" (état indisponible) */
|
|
74
|
-
onSeeOtherDates?: () => void;
|
|
75
|
-
/** Libellé de l'état indisponible */
|
|
76
|
-
unavailableLabel?: string;
|
|
77
|
-
/** Render custom image (ex: next/image) */
|
|
78
|
-
renderImage?: (props: {
|
|
79
|
-
src: string;
|
|
80
|
-
alt: string;
|
|
81
|
-
className: string;
|
|
82
|
-
}) => React.ReactNode;
|
|
83
|
-
}
|
|
84
|
-
declare const RoomTypeCard: React.ForwardRefExoticComponent<RoomTypeCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
85
|
-
|
|
86
|
-
interface RoomTypeCardSkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
87
|
-
/** Aligné sur `RoomTypeCard.variant` : compact = image 128px, padding réduit. */
|
|
88
|
-
variant?: "default" | "compact";
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Squelette de chargement calqué sur la structure de `RoomTypeCard`
|
|
92
|
-
* (image, titre, caractéristiques, formule, prix + CTA). À afficher pendant
|
|
93
|
-
* la recherche des tarifs temps réel.
|
|
94
|
-
*
|
|
95
|
-
* Purement décoratif (`aria-hidden`) : lorsque plusieurs squelettes sont
|
|
96
|
-
* rendus, porter l'annonce sur un conteneur unique côté appelant
|
|
97
|
-
* (`role="status"` + `aria-label`), afin d'éviter les annonces dupliquées
|
|
98
|
-
* pour les lecteurs d'écran.
|
|
99
|
-
*/
|
|
100
|
-
declare const RoomTypeCardSkeleton: React.ForwardRefExoticComponent<RoomTypeCardSkeletonProps & React.RefAttributes<HTMLDivElement>>;
|
|
101
|
-
|
|
102
|
-
export { type RoomRate, type RoomRateCancellation, type RoomRateCancellationKind, RoomTypeCard, type RoomTypeCardProps, RoomTypeCardSkeleton, type RoomTypeCardSkeletonProps, type RoomTypeData };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface SearchBarField {
|
|
4
|
-
key: string;
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
placeholder: string;
|
|
8
|
-
icon?: React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
interface SearchBarProps {
|
|
11
|
-
fields: SearchBarField[];
|
|
12
|
-
onFieldClick?: (key: string) => void;
|
|
13
|
-
onSearch?: () => void;
|
|
14
|
-
searchLabel?: string;
|
|
15
|
-
variant?: "hero" | "compact" | "sticky";
|
|
16
|
-
className?: string;
|
|
17
|
-
}
|
|
18
|
-
declare const SearchBar: React.ForwardRefExoticComponent<SearchBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
-
|
|
20
|
-
export { SearchBar, type SearchBarField, type SearchBarProps };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface SearchBarField {
|
|
4
|
-
key: string;
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
placeholder: string;
|
|
8
|
-
icon?: React.ReactNode;
|
|
9
|
-
}
|
|
10
|
-
interface SearchBarProps {
|
|
11
|
-
fields: SearchBarField[];
|
|
12
|
-
onFieldClick?: (key: string) => void;
|
|
13
|
-
onSearch?: () => void;
|
|
14
|
-
searchLabel?: string;
|
|
15
|
-
variant?: "hero" | "compact" | "sticky";
|
|
16
|
-
className?: string;
|
|
17
|
-
}
|
|
18
|
-
declare const SearchBar: React.ForwardRefExoticComponent<SearchBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
-
|
|
20
|
-
export { SearchBar, type SearchBarField, type SearchBarProps };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface SegmentedControlOption {
|
|
4
|
-
value: string;
|
|
5
|
-
label: string;
|
|
6
|
-
}
|
|
7
|
-
interface SegmentedControlProps {
|
|
8
|
-
options: SegmentedControlOption[];
|
|
9
|
-
value: string;
|
|
10
|
-
onChange: (value: string) => void;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
declare const SegmentedControl: React.ForwardRefExoticComponent<SegmentedControlProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
|
|
15
|
-
export { SegmentedControl, type SegmentedControlOption, type SegmentedControlProps };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
interface SegmentedControlOption {
|
|
4
|
-
value: string;
|
|
5
|
-
label: string;
|
|
6
|
-
}
|
|
7
|
-
interface SegmentedControlProps {
|
|
8
|
-
options: SegmentedControlOption[];
|
|
9
|
-
value: string;
|
|
10
|
-
onChange: (value: string) => void;
|
|
11
|
-
className?: string;
|
|
12
|
-
}
|
|
13
|
-
declare const SegmentedControl: React.ForwardRefExoticComponent<SegmentedControlProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
|
|
15
|
-
export { SegmentedControl, type SegmentedControlOption, type SegmentedControlProps };
|
|
@@ -1,26 +0,0 @@
|
|
|
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 };
|
|
@@ -1,26 +0,0 @@
|
|
|
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 };
|
|
@@ -1,19 +0,0 @@
|
|
|
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 };
|
|
@@ -1,19 +0,0 @@
|
|
|
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 };
|
|
@@ -1,26 +0,0 @@
|
|
|
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 };
|
|
@@ -1,26 +0,0 @@
|
|
|
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 };
|
|
@@ -1,31 +0,0 @@
|
|
|
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 };
|
|
@@ -1,31 +0,0 @@
|
|
|
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 };
|
|
@@ -1,13 +0,0 @@
|
|
|
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 };
|
|
@@ -1,13 +0,0 @@
|
|
|
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 };
|
|
@@ -1,15 +0,0 @@
|
|
|
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 };
|
|
@@ -1,15 +0,0 @@
|
|
|
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 };
|
|
@@ -1,16 +0,0 @@
|
|
|
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 };
|
|
@@ -1,16 +0,0 @@
|
|
|
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 };
|
|
@@ -1,16 +0,0 @@
|
|
|
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 };
|
|
@@ -1,16 +0,0 @@
|
|
|
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 };
|