@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.
Files changed (143) hide show
  1. package/dist/components/Accordion/index.d.mts +24 -0
  2. package/dist/components/Accordion/index.d.ts +24 -0
  3. package/dist/components/Alert/index.d.mts +40 -0
  4. package/dist/components/Alert/index.d.ts +40 -0
  5. package/dist/components/AnchorTabs/index.d.mts +59 -0
  6. package/dist/components/AnchorTabs/index.d.ts +59 -0
  7. package/dist/components/Autocomplete/index.d.mts +27 -0
  8. package/dist/components/Autocomplete/index.d.ts +27 -0
  9. package/dist/components/Avatar/index.d.mts +13 -0
  10. package/dist/components/Avatar/index.d.ts +13 -0
  11. package/dist/components/Badge/index.d.mts +13 -0
  12. package/dist/components/Badge/index.d.ts +13 -0
  13. package/dist/components/Banner/index.d.mts +19 -0
  14. package/dist/components/Banner/index.d.ts +19 -0
  15. package/dist/components/BottomNavBar/index.d.mts +17 -0
  16. package/dist/components/BottomNavBar/index.d.ts +17 -0
  17. package/dist/components/Breadcrumb/index.d.mts +23 -0
  18. package/dist/components/Breadcrumb/index.d.ts +23 -0
  19. package/dist/components/Button/index.d.mts +17 -0
  20. package/dist/components/Button/index.d.ts +17 -0
  21. package/dist/components/Card/index.d.mts +30 -0
  22. package/dist/components/Card/index.d.ts +30 -0
  23. package/dist/components/CardList/index.d.mts +30 -0
  24. package/dist/components/CardList/index.d.ts +30 -0
  25. package/dist/components/Carousel/index.d.mts +15 -0
  26. package/dist/components/Carousel/index.d.ts +15 -0
  27. package/dist/components/Checkbox/index.d.mts +16 -0
  28. package/dist/components/Checkbox/index.d.ts +16 -0
  29. package/dist/components/Counter/index.d.mts +14 -0
  30. package/dist/components/Counter/index.d.ts +14 -0
  31. package/dist/components/DateRangePicker/index.d.mts +26 -0
  32. package/dist/components/DateRangePicker/index.d.ts +26 -0
  33. package/dist/components/DetailList/index.d.mts +23 -0
  34. package/dist/components/DetailList/index.d.ts +23 -0
  35. package/dist/components/Divider/index.d.mts +10 -0
  36. package/dist/components/Divider/index.d.ts +10 -0
  37. package/dist/components/Drawer/index.d.mts +13 -0
  38. package/dist/components/Drawer/index.d.ts +13 -0
  39. package/dist/components/DropdownMenu/index.d.mts +19 -0
  40. package/dist/components/DropdownMenu/index.d.ts +19 -0
  41. package/dist/components/DualRangeSlider/index.d.mts +26 -0
  42. package/dist/components/DualRangeSlider/index.d.ts +26 -0
  43. package/dist/components/EmptyState/index.d.mts +12 -0
  44. package/dist/components/EmptyState/index.d.ts +12 -0
  45. package/dist/components/ErrorBoundary/index.d.mts +21 -0
  46. package/dist/components/ErrorBoundary/index.d.ts +21 -0
  47. package/dist/components/FilterAccordion/index.d.mts +16 -0
  48. package/dist/components/FilterAccordion/index.d.ts +16 -0
  49. package/dist/components/FilterPill/index.d.mts +19 -0
  50. package/dist/components/FilterPill/index.d.ts +19 -0
  51. package/dist/components/FloatingDock/index.d.mts +65 -0
  52. package/dist/components/FloatingDock/index.d.ts +65 -0
  53. package/dist/components/Footer/index.d.mts +46 -0
  54. package/dist/components/Footer/index.d.ts +46 -0
  55. package/dist/components/GuestPicker/index.d.mts +31 -0
  56. package/dist/components/GuestPicker/index.d.ts +31 -0
  57. package/dist/components/Header/index.d.mts +37 -0
  58. package/dist/components/Header/index.d.ts +37 -0
  59. package/dist/components/HotelCard/index.d.mts +45 -0
  60. package/dist/components/HotelCard/index.d.ts +45 -0
  61. package/dist/components/IconBadge/index.d.mts +14 -0
  62. package/dist/components/IconBadge/index.d.ts +14 -0
  63. package/dist/components/ImageGallery/index.d.mts +16 -0
  64. package/dist/components/ImageGallery/index.d.ts +16 -0
  65. package/dist/components/ImageWithFallback/index.d.mts +17 -0
  66. package/dist/components/ImageWithFallback/index.d.ts +17 -0
  67. package/dist/components/Input/index.d.mts +18 -0
  68. package/dist/components/Input/index.d.ts +18 -0
  69. package/dist/components/Lightbox/index.d.mts +15 -0
  70. package/dist/components/Lightbox/index.d.ts +15 -0
  71. package/dist/components/LinkCard/index.d.mts +12 -0
  72. package/dist/components/LinkCard/index.d.ts +12 -0
  73. package/dist/components/LoadingOverlay/index.d.mts +12 -0
  74. package/dist/components/LoadingOverlay/index.d.ts +12 -0
  75. package/dist/components/MegaMenu/index.d.mts +52 -0
  76. package/dist/components/MegaMenu/index.d.ts +52 -0
  77. package/dist/components/MobileMenu/index.d.mts +35 -0
  78. package/dist/components/MobileMenu/index.d.ts +35 -0
  79. package/dist/components/Modal/index.d.mts +12 -0
  80. package/dist/components/Modal/index.d.ts +12 -0
  81. package/dist/components/Pagination/index.d.mts +13 -0
  82. package/dist/components/Pagination/index.d.ts +13 -0
  83. package/dist/components/PriceDisplay/index.d.mts +14 -0
  84. package/dist/components/PriceDisplay/index.d.ts +14 -0
  85. package/dist/components/ProgressBar/index.d.mts +19 -0
  86. package/dist/components/ProgressBar/index.d.ts +19 -0
  87. package/dist/components/PromoBanner/index.d.mts +39 -0
  88. package/dist/components/PromoBanner/index.d.ts +39 -0
  89. package/dist/components/RadioGroup/index.d.mts +21 -0
  90. package/dist/components/RadioGroup/index.d.ts +21 -0
  91. package/dist/components/Rating/index.d.mts +12 -0
  92. package/dist/components/Rating/index.d.ts +12 -0
  93. package/dist/components/RoomTypeCard/index.d.mts +102 -0
  94. package/dist/components/RoomTypeCard/index.d.ts +102 -0
  95. package/dist/components/SearchBar/index.d.mts +20 -0
  96. package/dist/components/SearchBar/index.d.ts +20 -0
  97. package/dist/components/SegmentedControl/index.d.mts +15 -0
  98. package/dist/components/SegmentedControl/index.d.ts +15 -0
  99. package/dist/components/Select/index.d.mts +26 -0
  100. package/dist/components/Select/index.d.ts +26 -0
  101. package/dist/components/Sidebar/index.d.mts +19 -0
  102. package/dist/components/Sidebar/index.d.ts +19 -0
  103. package/dist/components/SignInCallout/index.d.mts +26 -0
  104. package/dist/components/SignInCallout/index.d.ts +26 -0
  105. package/dist/components/Skeleton/index.d.mts +31 -0
  106. package/dist/components/Skeleton/index.d.ts +31 -0
  107. package/dist/components/Spinner/index.d.mts +13 -0
  108. package/dist/components/Spinner/index.d.ts +13 -0
  109. package/dist/components/StatCard/index.d.mts +15 -0
  110. package/dist/components/StatCard/index.d.ts +15 -0
  111. package/dist/components/StatusBadge/index.d.mts +16 -0
  112. package/dist/components/StatusBadge/index.d.ts +16 -0
  113. package/dist/components/Stepper/index.d.mts +16 -0
  114. package/dist/components/Stepper/index.d.ts +16 -0
  115. package/dist/components/Switch/index.d.mts +22 -0
  116. package/dist/components/Switch/index.d.ts +22 -0
  117. package/dist/components/Tabs/index.d.mts +18 -0
  118. package/dist/components/Tabs/index.d.ts +18 -0
  119. package/dist/components/Tag/index.d.mts +15 -0
  120. package/dist/components/Tag/index.d.ts +15 -0
  121. package/dist/components/Textarea/index.d.mts +16 -0
  122. package/dist/components/Textarea/index.d.ts +16 -0
  123. package/dist/components/Toast/index.d.mts +16 -0
  124. package/dist/components/Toast/index.d.ts +16 -0
  125. package/dist/components/Toggle/index.d.mts +13 -0
  126. package/dist/components/Toggle/index.d.ts +13 -0
  127. package/dist/components/Tooltip/index.d.mts +11 -0
  128. package/dist/components/Tooltip/index.d.ts +11 -0
  129. package/dist/components/VerticalMarquee/index.d.mts +16 -0
  130. package/dist/components/VerticalMarquee/index.d.ts +16 -0
  131. package/dist/index.d.mts +189 -0
  132. package/dist/index.d.ts +189 -0
  133. package/dist/index.js +54 -54
  134. package/dist/index.mjs +12 -12
  135. package/dist/tailwind-preset.d.mts +170 -0
  136. package/dist/tailwind-preset.d.ts +170 -0
  137. package/dist/tokens/index.d.mts +219 -0
  138. package/dist/tokens/index.d.ts +219 -0
  139. package/dist/typography-BUlhEnfy.d.mts +16 -0
  140. package/dist/typography-BUlhEnfy.d.ts +16 -0
  141. package/dist/utils/index.d.mts +5 -0
  142. package/dist/utils/index.d.ts +5 -0
  143. package/package.json +1 -1
@@ -0,0 +1,24 @@
1
+ import * as React from 'react';
2
+
3
+ interface AccordionItemData {
4
+ key: string;
5
+ title: string;
6
+ content: React.ReactNode;
7
+ }
8
+ interface AccordionProps {
9
+ items: AccordionItemData[];
10
+ defaultOpenIndex?: number | null;
11
+ /** Open multiple items by default (requires `allowMultiple`). Takes precedence over `defaultOpenIndex`. */
12
+ defaultOpenIndexes?: number[];
13
+ allowMultiple?: boolean;
14
+ className?: string;
15
+ }
16
+ declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
17
+ interface AccordionItemProps {
18
+ title: string;
19
+ isOpen: boolean;
20
+ onToggle: () => void;
21
+ children: React.ReactNode;
22
+ }
23
+
24
+ export { Accordion, type AccordionItemData, type AccordionItemProps, type AccordionProps };
@@ -0,0 +1,24 @@
1
+ import * as React from 'react';
2
+
3
+ interface AccordionItemData {
4
+ key: string;
5
+ title: string;
6
+ content: React.ReactNode;
7
+ }
8
+ interface AccordionProps {
9
+ items: AccordionItemData[];
10
+ defaultOpenIndex?: number | null;
11
+ /** Open multiple items by default (requires `allowMultiple`). Takes precedence over `defaultOpenIndex`. */
12
+ defaultOpenIndexes?: number[];
13
+ allowMultiple?: boolean;
14
+ className?: string;
15
+ }
16
+ declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
17
+ interface AccordionItemProps {
18
+ title: string;
19
+ isOpen: boolean;
20
+ onToggle: () => void;
21
+ children: React.ReactNode;
22
+ }
23
+
24
+ export { Accordion, type AccordionItemData, type AccordionItemProps, type AccordionProps };
@@ -0,0 +1,40 @@
1
+ import * as React from 'react';
2
+
3
+ declare const variantStyles: {
4
+ warning: {
5
+ container: string;
6
+ icon: string;
7
+ dismiss: string;
8
+ retry: string;
9
+ };
10
+ error: {
11
+ container: string;
12
+ icon: string;
13
+ dismiss: string;
14
+ retry: string;
15
+ };
16
+ success: {
17
+ container: string;
18
+ icon: string;
19
+ dismiss: string;
20
+ retry: string;
21
+ };
22
+ info: {
23
+ container: string;
24
+ icon: string;
25
+ dismiss: string;
26
+ retry: string;
27
+ };
28
+ };
29
+ interface AlertProps {
30
+ message: string;
31
+ variant?: keyof typeof variantStyles;
32
+ onDismiss?: () => void;
33
+ onRetry?: () => void;
34
+ retryLabel?: string;
35
+ isRetrying?: boolean;
36
+ className?: string;
37
+ }
38
+ declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
39
+
40
+ export { Alert, type AlertProps };
@@ -0,0 +1,40 @@
1
+ import * as React from 'react';
2
+
3
+ declare const variantStyles: {
4
+ warning: {
5
+ container: string;
6
+ icon: string;
7
+ dismiss: string;
8
+ retry: string;
9
+ };
10
+ error: {
11
+ container: string;
12
+ icon: string;
13
+ dismiss: string;
14
+ retry: string;
15
+ };
16
+ success: {
17
+ container: string;
18
+ icon: string;
19
+ dismiss: string;
20
+ retry: string;
21
+ };
22
+ info: {
23
+ container: string;
24
+ icon: string;
25
+ dismiss: string;
26
+ retry: string;
27
+ };
28
+ };
29
+ interface AlertProps {
30
+ message: string;
31
+ variant?: keyof typeof variantStyles;
32
+ onDismiss?: () => void;
33
+ onRetry?: () => void;
34
+ retryLabel?: string;
35
+ isRetrying?: boolean;
36
+ className?: string;
37
+ }
38
+ declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
39
+
40
+ export { Alert, type AlertProps };
@@ -0,0 +1,59 @@
1
+ import * as React from 'react';
2
+
3
+ interface AnchorTabItem {
4
+ /**
5
+ * Identifiant de la section cible : doit correspondre à l'attribut `id` de
6
+ * l'élément de section dans le DOM (le lien pointe sur `#{key}`).
7
+ */
8
+ key: string;
9
+ /** Libellé affiché de l'onglet. */
10
+ label: string;
11
+ }
12
+ interface AnchorTabsProps {
13
+ /** Onglets d'ancrage, dans l'ordre d'apparition des sections. */
14
+ items: AnchorTabItem[];
15
+ /** Classes supplémentaires appliquées à la barre `<nav>`. */
16
+ className?: string;
17
+ /** Libellé ARIA de la navigation. */
18
+ ariaLabel?: string;
19
+ /**
20
+ * Décalage (px) réservé en haut de page pour le scroll-spy ET le défilement
21
+ * au clic (barre sticky / header). Défaut : 96.
22
+ */
23
+ offsetTop?: number;
24
+ /** Notifié à chaque changement de section active (scroll ou clic). */
25
+ onActiveChange?: (key: string) => void;
26
+ /**
27
+ * Épingle la barre (position fixed) tant qu'au moins une des sections
28
+ * ancrées reste dans le viewport — au-delà de la portée d'un simple
29
+ * `position: sticky` limité au parent. Un espace réservé conserve la
30
+ * hauteur de la barre (aucun layout shift).
31
+ */
32
+ pinWhileSectionsVisible?: boolean;
33
+ /** Ordonnée (px) de l'épinglage sous le header. Défaut : 72. */
34
+ pinTop?: number;
35
+ /** Classes du conteneur/sentinelle (ex. `hidden lg:block`). */
36
+ containerClassName?: string;
37
+ /**
38
+ * Présentation de la barre :
39
+ * - `underline` (défaut) : rangée d'onglets sur fond blanc, actif souligné ;
40
+ * - `pills` : chips arrondies posées sur le fond de page (pattern
41
+ * FilterPill) — actif rempli `primary`, inactifs en pill blanche bordée.
42
+ */
43
+ variant?: "underline" | "pills";
44
+ }
45
+ /**
46
+ * Barre d'onglets d'ancrage (desktop) avec scroll-spy.
47
+ *
48
+ * Présente une rangée de liens `<a href="#{key}">` ; l'onglet dont la section
49
+ * est actuellement en haut du viewport (au-delà de `offsetTop`) est souligné.
50
+ * Le composant observe le défilement de la fenêtre (via `requestAnimationFrame`)
51
+ * pour déterminer la section courante et défile en douceur au clic.
52
+ *
53
+ * Les sections cibles doivent porter l'`id` correspondant à chaque `key`. Le
54
+ * positionnement (sticky, largeur, visibilité responsive) reste à la charge de
55
+ * l'appelant via `className`.
56
+ */
57
+ declare const AnchorTabs: React.ForwardRefExoticComponent<AnchorTabsProps & React.RefAttributes<HTMLElement>>;
58
+
59
+ export { type AnchorTabItem, AnchorTabs, type AnchorTabsProps };
@@ -0,0 +1,59 @@
1
+ import * as React from 'react';
2
+
3
+ interface AnchorTabItem {
4
+ /**
5
+ * Identifiant de la section cible : doit correspondre à l'attribut `id` de
6
+ * l'élément de section dans le DOM (le lien pointe sur `#{key}`).
7
+ */
8
+ key: string;
9
+ /** Libellé affiché de l'onglet. */
10
+ label: string;
11
+ }
12
+ interface AnchorTabsProps {
13
+ /** Onglets d'ancrage, dans l'ordre d'apparition des sections. */
14
+ items: AnchorTabItem[];
15
+ /** Classes supplémentaires appliquées à la barre `<nav>`. */
16
+ className?: string;
17
+ /** Libellé ARIA de la navigation. */
18
+ ariaLabel?: string;
19
+ /**
20
+ * Décalage (px) réservé en haut de page pour le scroll-spy ET le défilement
21
+ * au clic (barre sticky / header). Défaut : 96.
22
+ */
23
+ offsetTop?: number;
24
+ /** Notifié à chaque changement de section active (scroll ou clic). */
25
+ onActiveChange?: (key: string) => void;
26
+ /**
27
+ * Épingle la barre (position fixed) tant qu'au moins une des sections
28
+ * ancrées reste dans le viewport — au-delà de la portée d'un simple
29
+ * `position: sticky` limité au parent. Un espace réservé conserve la
30
+ * hauteur de la barre (aucun layout shift).
31
+ */
32
+ pinWhileSectionsVisible?: boolean;
33
+ /** Ordonnée (px) de l'épinglage sous le header. Défaut : 72. */
34
+ pinTop?: number;
35
+ /** Classes du conteneur/sentinelle (ex. `hidden lg:block`). */
36
+ containerClassName?: string;
37
+ /**
38
+ * Présentation de la barre :
39
+ * - `underline` (défaut) : rangée d'onglets sur fond blanc, actif souligné ;
40
+ * - `pills` : chips arrondies posées sur le fond de page (pattern
41
+ * FilterPill) — actif rempli `primary`, inactifs en pill blanche bordée.
42
+ */
43
+ variant?: "underline" | "pills";
44
+ }
45
+ /**
46
+ * Barre d'onglets d'ancrage (desktop) avec scroll-spy.
47
+ *
48
+ * Présente une rangée de liens `<a href="#{key}">` ; l'onglet dont la section
49
+ * est actuellement en haut du viewport (au-delà de `offsetTop`) est souligné.
50
+ * Le composant observe le défilement de la fenêtre (via `requestAnimationFrame`)
51
+ * pour déterminer la section courante et défile en douceur au clic.
52
+ *
53
+ * Les sections cibles doivent porter l'`id` correspondant à chaque `key`. Le
54
+ * positionnement (sticky, largeur, visibilité responsive) reste à la charge de
55
+ * l'appelant via `className`.
56
+ */
57
+ declare const AnchorTabs: React.ForwardRefExoticComponent<AnchorTabsProps & React.RefAttributes<HTMLElement>>;
58
+
59
+ export { type AnchorTabItem, AnchorTabs, type AnchorTabsProps };
@@ -0,0 +1,27 @@
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 autocompleteInputVariants: (props?: ({
6
+ size?: "sm" | "md" | "lg" | null | undefined;
7
+ variant?: "default" | "error" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ interface AutocompleteSuggestion {
10
+ value: string;
11
+ label: string;
12
+ }
13
+ interface AutocompleteProps extends VariantProps<typeof autocompleteInputVariants> {
14
+ value: string;
15
+ onChange: (value: string) => void;
16
+ onSelect?: (suggestion: AutocompleteSuggestion) => void;
17
+ suggestions: AutocompleteSuggestion[];
18
+ loading?: boolean;
19
+ placeholder?: string;
20
+ label?: string;
21
+ error?: string;
22
+ renderSuggestion?: (suggestion: AutocompleteSuggestion) => React.ReactNode;
23
+ className?: string;
24
+ }
25
+ declare const Autocomplete: React.ForwardRefExoticComponent<AutocompleteProps & React.RefAttributes<HTMLDivElement>>;
26
+
27
+ export { Autocomplete, type AutocompleteProps, type AutocompleteSuggestion, autocompleteInputVariants };
@@ -0,0 +1,27 @@
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 autocompleteInputVariants: (props?: ({
6
+ size?: "sm" | "md" | "lg" | null | undefined;
7
+ variant?: "default" | "error" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ interface AutocompleteSuggestion {
10
+ value: string;
11
+ label: string;
12
+ }
13
+ interface AutocompleteProps extends VariantProps<typeof autocompleteInputVariants> {
14
+ value: string;
15
+ onChange: (value: string) => void;
16
+ onSelect?: (suggestion: AutocompleteSuggestion) => void;
17
+ suggestions: AutocompleteSuggestion[];
18
+ loading?: boolean;
19
+ placeholder?: string;
20
+ label?: string;
21
+ error?: string;
22
+ renderSuggestion?: (suggestion: AutocompleteSuggestion) => React.ReactNode;
23
+ className?: string;
24
+ }
25
+ declare const Autocomplete: React.ForwardRefExoticComponent<AutocompleteProps & React.RefAttributes<HTMLDivElement>>;
26
+
27
+ export { Autocomplete, type AutocompleteProps, type AutocompleteSuggestion, autocompleteInputVariants };
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+
3
+ interface AvatarProps {
4
+ src?: string | null;
5
+ alt?: string;
6
+ initials?: string;
7
+ size?: "sm" | "md" | "lg";
8
+ badge?: number;
9
+ className?: string;
10
+ }
11
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
12
+
13
+ export { Avatar, type AvatarProps };
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+
3
+ interface AvatarProps {
4
+ src?: string | null;
5
+ alt?: string;
6
+ initials?: string;
7
+ size?: "sm" | "md" | "lg";
8
+ badge?: number;
9
+ className?: string;
10
+ }
11
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
12
+
13
+ export { Avatar, type AvatarProps };
@@ -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 badgeVariants: (props?: ({
6
+ variant?: "secondary" | "accent" | "outline" | "default" | "success" | "warning" | null | undefined;
7
+ size?: "sm" | "md" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
10
+ }
11
+ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
12
+
13
+ export { Badge, type BadgeProps, badgeVariants };
@@ -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 badgeVariants: (props?: ({
6
+ variant?: "secondary" | "accent" | "outline" | "default" | "success" | "warning" | null | undefined;
7
+ size?: "sm" | "md" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
10
+ }
11
+ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
12
+
13
+ export { Badge, type BadgeProps, badgeVariants };
@@ -0,0 +1,19 @@
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 bannerVariants: (props?: ({
6
+ variant?: "error" | "success" | "warning" | "info" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface BannerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof bannerVariants> {
9
+ title?: string;
10
+ icon?: React.ReactNode;
11
+ onDismiss?: () => void;
12
+ action?: {
13
+ label: string;
14
+ onClick: () => void;
15
+ };
16
+ }
17
+ declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>;
18
+
19
+ export { Banner, type BannerProps, bannerVariants };
@@ -0,0 +1,19 @@
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 bannerVariants: (props?: ({
6
+ variant?: "error" | "success" | "warning" | "info" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface BannerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof bannerVariants> {
9
+ title?: string;
10
+ icon?: React.ReactNode;
11
+ onDismiss?: () => void;
12
+ action?: {
13
+ label: string;
14
+ onClick: () => void;
15
+ };
16
+ }
17
+ declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>;
18
+
19
+ export { Banner, type BannerProps, bannerVariants };
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+
3
+ interface BottomNavItem {
4
+ key: string;
5
+ label: string;
6
+ icon: React.ReactNode;
7
+ href: string;
8
+ isActive?: boolean;
9
+ }
10
+ interface BottomNavBarProps {
11
+ items: BottomNavItem[];
12
+ className?: string;
13
+ onNavigate?: (href: string) => void;
14
+ }
15
+ declare const BottomNavBar: React.ForwardRefExoticComponent<BottomNavBarProps & React.RefAttributes<HTMLElement>>;
16
+
17
+ export { BottomNavBar, type BottomNavBarProps, type BottomNavItem };
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+
3
+ interface BottomNavItem {
4
+ key: string;
5
+ label: string;
6
+ icon: React.ReactNode;
7
+ href: string;
8
+ isActive?: boolean;
9
+ }
10
+ interface BottomNavBarProps {
11
+ items: BottomNavItem[];
12
+ className?: string;
13
+ onNavigate?: (href: string) => void;
14
+ }
15
+ declare const BottomNavBar: React.ForwardRefExoticComponent<BottomNavBarProps & React.RefAttributes<HTMLElement>>;
16
+
17
+ export { BottomNavBar, type BottomNavBarProps, type BottomNavItem };
@@ -0,0 +1,23 @@
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 breadcrumbVariants: (props?: ({
6
+ variant?: "default" | "light" | "dark" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface BreadcrumbItem {
9
+ label: string;
10
+ href: string;
11
+ }
12
+ interface BreadcrumbProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof breadcrumbVariants> {
13
+ items: BreadcrumbItem[];
14
+ /** Render custom link component (e.g. Next.js Link). Receives href, className, children. */
15
+ renderLink?: (props: {
16
+ href: string;
17
+ className: string;
18
+ children: React.ReactNode;
19
+ }) => React.ReactNode;
20
+ }
21
+ declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLElement>>;
22
+
23
+ export { Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, breadcrumbVariants };
@@ -0,0 +1,23 @@
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 breadcrumbVariants: (props?: ({
6
+ variant?: "default" | "light" | "dark" | null | undefined;
7
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
8
+ interface BreadcrumbItem {
9
+ label: string;
10
+ href: string;
11
+ }
12
+ interface BreadcrumbProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof breadcrumbVariants> {
13
+ items: BreadcrumbItem[];
14
+ /** Render custom link component (e.g. Next.js Link). Receives href, className, children. */
15
+ renderLink?: (props: {
16
+ href: string;
17
+ className: string;
18
+ children: React.ReactNode;
19
+ }) => React.ReactNode;
20
+ }
21
+ declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLElement>>;
22
+
23
+ export { Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, breadcrumbVariants };
@@ -0,0 +1,17 @@
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 buttonVariants: (props?: ({
6
+ variant?: "primary" | "secondary" | "accent" | "outline" | "ghost" | null | undefined;
7
+ size?: "sm" | "md" | "lg" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
10
+ asChild?: boolean;
11
+ isLoading?: boolean;
12
+ leftIcon?: React.ReactNode;
13
+ rightIcon?: React.ReactNode;
14
+ }
15
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
16
+
17
+ export { Button, type ButtonProps, buttonVariants };
@@ -0,0 +1,17 @@
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 buttonVariants: (props?: ({
6
+ variant?: "primary" | "secondary" | "accent" | "outline" | "ghost" | null | undefined;
7
+ size?: "sm" | "md" | "lg" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
10
+ asChild?: boolean;
11
+ isLoading?: boolean;
12
+ leftIcon?: React.ReactNode;
13
+ rightIcon?: React.ReactNode;
14
+ }
15
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
16
+
17
+ export { Button, type ButtonProps, buttonVariants };
@@ -0,0 +1,30 @@
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 cardVariants: (props?: ({
6
+ padding?: "sm" | "md" | "lg" | "none" | null | undefined;
7
+ hover?: boolean | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
10
+ }
11
+ declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
12
+ declare const cardImageVariants: (props?: ({
13
+ aspectRatio?: "square" | "video" | "wide" | null | undefined;
14
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
15
+ interface CardImageProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardImageVariants> {
16
+ overlay?: React.ReactNode;
17
+ }
18
+ declare const CardImage: React.ForwardRefExoticComponent<CardImageProps & React.RefAttributes<HTMLDivElement>>;
19
+ interface CardContentProps extends React.HTMLAttributes<HTMLDivElement> {
20
+ }
21
+ declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLDivElement>>;
22
+ interface CardTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
23
+ as?: "h2" | "h3" | "h4";
24
+ }
25
+ declare const CardTitle: React.ForwardRefExoticComponent<CardTitleProps & React.RefAttributes<HTMLHeadingElement>>;
26
+ interface CardDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
27
+ }
28
+ declare const CardDescription: React.ForwardRefExoticComponent<CardDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
29
+
30
+ export { Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardImage, type CardImageProps, type CardProps, CardTitle, type CardTitleProps, cardImageVariants, cardVariants };
@@ -0,0 +1,30 @@
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 cardVariants: (props?: ({
6
+ padding?: "sm" | "md" | "lg" | "none" | null | undefined;
7
+ hover?: boolean | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
10
+ }
11
+ declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
12
+ declare const cardImageVariants: (props?: ({
13
+ aspectRatio?: "square" | "video" | "wide" | null | undefined;
14
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
15
+ interface CardImageProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardImageVariants> {
16
+ overlay?: React.ReactNode;
17
+ }
18
+ declare const CardImage: React.ForwardRefExoticComponent<CardImageProps & React.RefAttributes<HTMLDivElement>>;
19
+ interface CardContentProps extends React.HTMLAttributes<HTMLDivElement> {
20
+ }
21
+ declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLDivElement>>;
22
+ interface CardTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
23
+ as?: "h2" | "h3" | "h4";
24
+ }
25
+ declare const CardTitle: React.ForwardRefExoticComponent<CardTitleProps & React.RefAttributes<HTMLHeadingElement>>;
26
+ interface CardDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
27
+ }
28
+ declare const CardDescription: React.ForwardRefExoticComponent<CardDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
29
+
30
+ export { Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardImage, type CardImageProps, type CardProps, CardTitle, type CardTitleProps, cardImageVariants, cardVariants };
@@ -0,0 +1,30 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+
4
+ interface CardListProps<T> {
5
+ items: T[];
6
+ renderItem: (item: T, index: number) => React__default.ReactNode;
7
+ keyExtractor: (item: T) => string;
8
+ /** Number of items per "page" for stagger delay reset (defaults to items.length) */
9
+ pageSize?: number;
10
+ /** Stagger delay between each item in ms (default: 50) */
11
+ staggerDelay?: number;
12
+ /** Show initial loading skeleton */
13
+ loading?: boolean;
14
+ /** Skeleton component displayed during initial loading */
15
+ loadingSkeleton?: React__default.ReactNode;
16
+ /** Whether more items can be loaded */
17
+ hasMore?: boolean;
18
+ /** Whether more items are currently being loaded */
19
+ loadingMore?: boolean;
20
+ /** Ref for the infinite scroll sentinel element */
21
+ loadMoreRef?: React__default.RefObject<HTMLDivElement>;
22
+ /** Skeleton displayed while loading more items */
23
+ loadMoreSkeleton?: React__default.ReactNode;
24
+ /** Gap class between items (default: "gap-4") */
25
+ gap?: string;
26
+ className?: string;
27
+ }
28
+ declare function CardList<T>({ items, renderItem, keyExtractor, pageSize, staggerDelay, loading, loadingSkeleton, hasMore, loadingMore, loadMoreRef, loadMoreSkeleton, gap, className, }: CardListProps<T>): react_jsx_runtime.JSX.Element;
29
+
30
+ export { CardList, type CardListProps };
@@ -0,0 +1,30 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React__default from 'react';
3
+
4
+ interface CardListProps<T> {
5
+ items: T[];
6
+ renderItem: (item: T, index: number) => React__default.ReactNode;
7
+ keyExtractor: (item: T) => string;
8
+ /** Number of items per "page" for stagger delay reset (defaults to items.length) */
9
+ pageSize?: number;
10
+ /** Stagger delay between each item in ms (default: 50) */
11
+ staggerDelay?: number;
12
+ /** Show initial loading skeleton */
13
+ loading?: boolean;
14
+ /** Skeleton component displayed during initial loading */
15
+ loadingSkeleton?: React__default.ReactNode;
16
+ /** Whether more items can be loaded */
17
+ hasMore?: boolean;
18
+ /** Whether more items are currently being loaded */
19
+ loadingMore?: boolean;
20
+ /** Ref for the infinite scroll sentinel element */
21
+ loadMoreRef?: React__default.RefObject<HTMLDivElement>;
22
+ /** Skeleton displayed while loading more items */
23
+ loadMoreSkeleton?: React__default.ReactNode;
24
+ /** Gap class between items (default: "gap-4") */
25
+ gap?: string;
26
+ className?: string;
27
+ }
28
+ declare function CardList<T>({ items, renderItem, keyExtractor, pageSize, staggerDelay, loading, loadingSkeleton, hasMore, loadingMore, loadMoreRef, loadMoreSkeleton, gap, className, }: CardListProps<T>): react_jsx_runtime.JSX.Element;
29
+
30
+ export { CardList, type CardListProps };