@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.
Files changed (153) hide show
  1. package/dist/{chunk-S26SN3WK.js → chunk-3JM2X4I2.js} +44 -40
  2. package/dist/{chunk-QTW2FJUJ.mjs → chunk-BFGRWOQM.mjs} +44 -40
  3. package/dist/chunk-P2SGBTKS.mjs +138 -0
  4. package/dist/chunk-ZCQJN4IT.js +160 -0
  5. package/dist/components/FloatingDock/index.js +2 -2
  6. package/dist/components/FloatingDock/index.mjs +1 -1
  7. package/dist/components/RoomTypeCard/index.js +3 -3
  8. package/dist/components/RoomTypeCard/index.mjs +1 -1
  9. package/dist/index.js +38 -38
  10. package/dist/index.mjs +9 -9
  11. package/package.json +11 -11
  12. package/dist/chunk-PBDPZTHK.mjs +0 -53
  13. package/dist/chunk-S732LTPT.js +0 -75
  14. package/dist/components/Accordion/index.d.mts +0 -24
  15. package/dist/components/Accordion/index.d.ts +0 -24
  16. package/dist/components/Alert/index.d.mts +0 -40
  17. package/dist/components/Alert/index.d.ts +0 -40
  18. package/dist/components/AnchorTabs/index.d.mts +0 -59
  19. package/dist/components/AnchorTabs/index.d.ts +0 -59
  20. package/dist/components/Autocomplete/index.d.mts +0 -27
  21. package/dist/components/Autocomplete/index.d.ts +0 -27
  22. package/dist/components/Avatar/index.d.mts +0 -13
  23. package/dist/components/Avatar/index.d.ts +0 -13
  24. package/dist/components/Badge/index.d.mts +0 -13
  25. package/dist/components/Badge/index.d.ts +0 -13
  26. package/dist/components/Banner/index.d.mts +0 -19
  27. package/dist/components/Banner/index.d.ts +0 -19
  28. package/dist/components/BottomNavBar/index.d.mts +0 -17
  29. package/dist/components/BottomNavBar/index.d.ts +0 -17
  30. package/dist/components/Breadcrumb/index.d.mts +0 -23
  31. package/dist/components/Breadcrumb/index.d.ts +0 -23
  32. package/dist/components/Button/index.d.mts +0 -17
  33. package/dist/components/Button/index.d.ts +0 -17
  34. package/dist/components/Card/index.d.mts +0 -30
  35. package/dist/components/Card/index.d.ts +0 -30
  36. package/dist/components/CardList/index.d.mts +0 -30
  37. package/dist/components/CardList/index.d.ts +0 -30
  38. package/dist/components/Carousel/index.d.mts +0 -15
  39. package/dist/components/Carousel/index.d.ts +0 -15
  40. package/dist/components/Checkbox/index.d.mts +0 -16
  41. package/dist/components/Checkbox/index.d.ts +0 -16
  42. package/dist/components/Counter/index.d.mts +0 -14
  43. package/dist/components/Counter/index.d.ts +0 -14
  44. package/dist/components/DateRangePicker/index.d.mts +0 -26
  45. package/dist/components/DateRangePicker/index.d.ts +0 -26
  46. package/dist/components/DetailList/index.d.mts +0 -23
  47. package/dist/components/DetailList/index.d.ts +0 -23
  48. package/dist/components/Divider/index.d.mts +0 -10
  49. package/dist/components/Divider/index.d.ts +0 -10
  50. package/dist/components/Drawer/index.d.mts +0 -13
  51. package/dist/components/Drawer/index.d.ts +0 -13
  52. package/dist/components/DropdownMenu/index.d.mts +0 -19
  53. package/dist/components/DropdownMenu/index.d.ts +0 -19
  54. package/dist/components/DualRangeSlider/index.d.mts +0 -26
  55. package/dist/components/DualRangeSlider/index.d.ts +0 -26
  56. package/dist/components/EmptyState/index.d.mts +0 -12
  57. package/dist/components/EmptyState/index.d.ts +0 -12
  58. package/dist/components/ErrorBoundary/index.d.mts +0 -21
  59. package/dist/components/ErrorBoundary/index.d.ts +0 -21
  60. package/dist/components/FilterAccordion/index.d.mts +0 -16
  61. package/dist/components/FilterAccordion/index.d.ts +0 -16
  62. package/dist/components/FilterPill/index.d.mts +0 -19
  63. package/dist/components/FilterPill/index.d.ts +0 -19
  64. package/dist/components/FloatingDock/index.d.mts +0 -44
  65. package/dist/components/FloatingDock/index.d.ts +0 -44
  66. package/dist/components/Footer/index.d.mts +0 -46
  67. package/dist/components/Footer/index.d.ts +0 -46
  68. package/dist/components/GuestPicker/index.d.mts +0 -31
  69. package/dist/components/GuestPicker/index.d.ts +0 -31
  70. package/dist/components/Header/index.d.mts +0 -37
  71. package/dist/components/Header/index.d.ts +0 -37
  72. package/dist/components/HotelCard/index.d.mts +0 -45
  73. package/dist/components/HotelCard/index.d.ts +0 -45
  74. package/dist/components/IconBadge/index.d.mts +0 -14
  75. package/dist/components/IconBadge/index.d.ts +0 -14
  76. package/dist/components/ImageGallery/index.d.mts +0 -16
  77. package/dist/components/ImageGallery/index.d.ts +0 -16
  78. package/dist/components/ImageWithFallback/index.d.mts +0 -17
  79. package/dist/components/ImageWithFallback/index.d.ts +0 -17
  80. package/dist/components/Input/index.d.mts +0 -18
  81. package/dist/components/Input/index.d.ts +0 -18
  82. package/dist/components/Lightbox/index.d.mts +0 -15
  83. package/dist/components/Lightbox/index.d.ts +0 -15
  84. package/dist/components/LinkCard/index.d.mts +0 -12
  85. package/dist/components/LinkCard/index.d.ts +0 -12
  86. package/dist/components/LoadingOverlay/index.d.mts +0 -12
  87. package/dist/components/LoadingOverlay/index.d.ts +0 -12
  88. package/dist/components/MegaMenu/index.d.mts +0 -52
  89. package/dist/components/MegaMenu/index.d.ts +0 -52
  90. package/dist/components/MobileMenu/index.d.mts +0 -35
  91. package/dist/components/MobileMenu/index.d.ts +0 -35
  92. package/dist/components/Modal/index.d.mts +0 -12
  93. package/dist/components/Modal/index.d.ts +0 -12
  94. package/dist/components/Pagination/index.d.mts +0 -13
  95. package/dist/components/Pagination/index.d.ts +0 -13
  96. package/dist/components/PriceDisplay/index.d.mts +0 -14
  97. package/dist/components/PriceDisplay/index.d.ts +0 -14
  98. package/dist/components/ProgressBar/index.d.mts +0 -19
  99. package/dist/components/ProgressBar/index.d.ts +0 -19
  100. package/dist/components/PromoBanner/index.d.mts +0 -39
  101. package/dist/components/PromoBanner/index.d.ts +0 -39
  102. package/dist/components/RadioGroup/index.d.mts +0 -21
  103. package/dist/components/RadioGroup/index.d.ts +0 -21
  104. package/dist/components/Rating/index.d.mts +0 -12
  105. package/dist/components/Rating/index.d.ts +0 -12
  106. package/dist/components/RoomTypeCard/index.d.mts +0 -102
  107. package/dist/components/RoomTypeCard/index.d.ts +0 -102
  108. package/dist/components/SearchBar/index.d.mts +0 -20
  109. package/dist/components/SearchBar/index.d.ts +0 -20
  110. package/dist/components/SegmentedControl/index.d.mts +0 -15
  111. package/dist/components/SegmentedControl/index.d.ts +0 -15
  112. package/dist/components/Select/index.d.mts +0 -26
  113. package/dist/components/Select/index.d.ts +0 -26
  114. package/dist/components/Sidebar/index.d.mts +0 -19
  115. package/dist/components/Sidebar/index.d.ts +0 -19
  116. package/dist/components/SignInCallout/index.d.mts +0 -26
  117. package/dist/components/SignInCallout/index.d.ts +0 -26
  118. package/dist/components/Skeleton/index.d.mts +0 -31
  119. package/dist/components/Skeleton/index.d.ts +0 -31
  120. package/dist/components/Spinner/index.d.mts +0 -13
  121. package/dist/components/Spinner/index.d.ts +0 -13
  122. package/dist/components/StatCard/index.d.mts +0 -15
  123. package/dist/components/StatCard/index.d.ts +0 -15
  124. package/dist/components/StatusBadge/index.d.mts +0 -16
  125. package/dist/components/StatusBadge/index.d.ts +0 -16
  126. package/dist/components/Stepper/index.d.mts +0 -16
  127. package/dist/components/Stepper/index.d.ts +0 -16
  128. package/dist/components/Switch/index.d.mts +0 -22
  129. package/dist/components/Switch/index.d.ts +0 -22
  130. package/dist/components/Tabs/index.d.mts +0 -18
  131. package/dist/components/Tabs/index.d.ts +0 -18
  132. package/dist/components/Tag/index.d.mts +0 -15
  133. package/dist/components/Tag/index.d.ts +0 -15
  134. package/dist/components/Textarea/index.d.mts +0 -16
  135. package/dist/components/Textarea/index.d.ts +0 -16
  136. package/dist/components/Toast/index.d.mts +0 -16
  137. package/dist/components/Toast/index.d.ts +0 -16
  138. package/dist/components/Toggle/index.d.mts +0 -13
  139. package/dist/components/Toggle/index.d.ts +0 -13
  140. package/dist/components/Tooltip/index.d.mts +0 -11
  141. package/dist/components/Tooltip/index.d.ts +0 -11
  142. package/dist/components/VerticalMarquee/index.d.mts +0 -16
  143. package/dist/components/VerticalMarquee/index.d.ts +0 -16
  144. package/dist/index.d.mts +0 -189
  145. package/dist/index.d.ts +0 -189
  146. package/dist/tailwind-preset.d.mts +0 -170
  147. package/dist/tailwind-preset.d.ts +0 -170
  148. package/dist/tokens/index.d.mts +0 -219
  149. package/dist/tokens/index.d.ts +0 -219
  150. package/dist/typography-BUlhEnfy.d.mts +0 -16
  151. package/dist/typography-BUlhEnfy.d.ts +0 -16
  152. package/dist/utils/index.d.mts +0 -5
  153. package/dist/utils/index.d.ts +0 -5
@@ -1,14 +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 iconBadgeVariants: (props?: ({
6
- variant?: "primary" | "secondary" | "accent" | "error" | "success" | "warning" | "info" | "neutral" | null | undefined;
7
- size?: "sm" | "md" | "lg" | "xl" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
9
- interface IconBadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof iconBadgeVariants> {
10
- icon: React.ReactNode;
11
- }
12
- declare const IconBadge: React.ForwardRefExoticComponent<IconBadgeProps & React.RefAttributes<HTMLDivElement>>;
13
-
14
- export { IconBadge, type IconBadgeProps, iconBadgeVariants };
@@ -1,14 +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 iconBadgeVariants: (props?: ({
6
- variant?: "primary" | "secondary" | "accent" | "error" | "success" | "warning" | "info" | "neutral" | null | undefined;
7
- size?: "sm" | "md" | "lg" | "xl" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
9
- interface IconBadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof iconBadgeVariants> {
10
- icon: React.ReactNode;
11
- }
12
- declare const IconBadge: React.ForwardRefExoticComponent<IconBadgeProps & React.RefAttributes<HTMLDivElement>>;
13
-
14
- export { IconBadge, type IconBadgeProps, iconBadgeVariants };
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface GalleryImage {
4
- src: string;
5
- alt: string;
6
- }
7
- interface ImageGalleryProps {
8
- images: GalleryImage[];
9
- className?: string;
10
- /** Max images to show in grid before "+N" overlay. Default: 5 */
11
- maxVisible?: number;
12
- onImageClick?: (index: number) => void;
13
- }
14
- declare const ImageGallery: React.ForwardRefExoticComponent<ImageGalleryProps & React.RefAttributes<HTMLDivElement>>;
15
-
16
- export { type GalleryImage, ImageGallery, type ImageGalleryProps };
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface GalleryImage {
4
- src: string;
5
- alt: string;
6
- }
7
- interface ImageGalleryProps {
8
- images: GalleryImage[];
9
- className?: string;
10
- /** Max images to show in grid before "+N" overlay. Default: 5 */
11
- maxVisible?: number;
12
- onImageClick?: (index: number) => void;
13
- }
14
- declare const ImageGallery: React.ForwardRefExoticComponent<ImageGalleryProps & React.RefAttributes<HTMLDivElement>>;
15
-
16
- export { type GalleryImage, ImageGallery, type ImageGalleryProps };
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface ImageWithFallbackProps extends React.ImgHTMLAttributes<HTMLImageElement> {
4
- fallbackSrc?: string;
5
- /** Show blur placeholder while loading */
6
- useBlur?: boolean;
7
- /** Custom blur data URL for LQIP */
8
- blurDataURL?: string;
9
- /** Render a custom image element (e.g. Next.js Image). Receives all img props. */
10
- renderImage?: (props: React.ImgHTMLAttributes<HTMLImageElement> & {
11
- onLoad: () => void;
12
- onError: () => void;
13
- }) => React.ReactNode;
14
- }
15
- declare const ImageWithFallback: React.ForwardRefExoticComponent<ImageWithFallbackProps & React.RefAttributes<HTMLDivElement>>;
16
-
17
- export { ImageWithFallback, type ImageWithFallbackProps };
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface ImageWithFallbackProps extends React.ImgHTMLAttributes<HTMLImageElement> {
4
- fallbackSrc?: string;
5
- /** Show blur placeholder while loading */
6
- useBlur?: boolean;
7
- /** Custom blur data URL for LQIP */
8
- blurDataURL?: string;
9
- /** Render a custom image element (e.g. Next.js Image). Receives all img props. */
10
- renderImage?: (props: React.ImgHTMLAttributes<HTMLImageElement> & {
11
- onLoad: () => void;
12
- onError: () => void;
13
- }) => React.ReactNode;
14
- }
15
- declare const ImageWithFallback: React.ForwardRefExoticComponent<ImageWithFallbackProps & React.RefAttributes<HTMLDivElement>>;
16
-
17
- export { ImageWithFallback, type ImageWithFallbackProps };
@@ -1,18 +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 inputVariants: (props?: ({
6
- size?: "sm" | "md" | "lg" | null | undefined;
7
- variant?: "default" | "error" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
9
- interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
10
- label?: string;
11
- error?: string;
12
- required?: boolean;
13
- leftIcon?: React.ReactNode;
14
- rightIcon?: React.ReactNode;
15
- }
16
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
17
-
18
- export { Input, type InputProps, inputVariants };
@@ -1,18 +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 inputVariants: (props?: ({
6
- size?: "sm" | "md" | "lg" | null | undefined;
7
- variant?: "default" | "error" | null | undefined;
8
- } & class_variance_authority_types.ClassProp) | undefined) => string;
9
- interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
10
- label?: string;
11
- error?: string;
12
- required?: boolean;
13
- leftIcon?: React.ReactNode;
14
- rightIcon?: React.ReactNode;
15
- }
16
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
17
-
18
- export { Input, type InputProps, inputVariants };
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface LightboxProps {
4
- images: {
5
- src: string;
6
- alt: string;
7
- }[];
8
- initialIndex?: number;
9
- open: boolean;
10
- onClose: () => void;
11
- className?: string;
12
- }
13
- declare const Lightbox: React.ForwardRefExoticComponent<LightboxProps & React.RefAttributes<HTMLDivElement>>;
14
-
15
- export { Lightbox, type LightboxProps };
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface LightboxProps {
4
- images: {
5
- src: string;
6
- alt: string;
7
- }[];
8
- initialIndex?: number;
9
- open: boolean;
10
- onClose: () => void;
11
- className?: string;
12
- }
13
- declare const Lightbox: React.ForwardRefExoticComponent<LightboxProps & React.RefAttributes<HTMLDivElement>>;
14
-
15
- export { Lightbox, type LightboxProps };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface LinkCardProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
4
- icon?: React.ReactNode;
5
- title: string;
6
- description?: string;
7
- /** Show chevron on the right. Default: true */
8
- showChevron?: boolean;
9
- }
10
- declare const LinkCard: React.ForwardRefExoticComponent<LinkCardProps & React.RefAttributes<HTMLAnchorElement>>;
11
-
12
- export { LinkCard, type LinkCardProps };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface LinkCardProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
4
- icon?: React.ReactNode;
5
- title: string;
6
- description?: string;
7
- /** Show chevron on the right. Default: true */
8
- showChevron?: boolean;
9
- }
10
- declare const LinkCard: React.ForwardRefExoticComponent<LinkCardProps & React.RefAttributes<HTMLAnchorElement>>;
11
-
12
- export { LinkCard, type LinkCardProps };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface LoadingOverlayProps extends React.HTMLAttributes<HTMLDivElement> {
4
- /** Whether overlay is visible. Default: true */
5
- visible?: boolean;
6
- label?: string;
7
- /** Overlay opacity. Default: "medium" */
8
- opacity?: "light" | "medium" | "heavy";
9
- }
10
- declare const LoadingOverlay: React.ForwardRefExoticComponent<LoadingOverlayProps & React.RefAttributes<HTMLDivElement>>;
11
-
12
- export { LoadingOverlay, type LoadingOverlayProps };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface LoadingOverlayProps extends React.HTMLAttributes<HTMLDivElement> {
4
- /** Whether overlay is visible. Default: true */
5
- visible?: boolean;
6
- label?: string;
7
- /** Overlay opacity. Default: "medium" */
8
- opacity?: "light" | "medium" | "heavy";
9
- }
10
- declare const LoadingOverlay: React.ForwardRefExoticComponent<LoadingOverlayProps & React.RefAttributes<HTMLDivElement>>;
11
-
12
- export { LoadingOverlay, type LoadingOverlayProps };
@@ -1,52 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface MegaMenuCard {
4
- label: string;
5
- href: string;
6
- imageUrl?: string;
7
- }
8
- interface MegaMenuLink {
9
- label: string;
10
- href: string;
11
- icon?: React.ReactNode;
12
- }
13
- interface MegaMenuColumn {
14
- title?: string;
15
- links: MegaMenuLink[];
16
- image?: {
17
- src: string;
18
- alt: string;
19
- };
20
- }
21
- interface MegaMenuSection {
22
- label: string;
23
- layout: "cards" | "columns";
24
- cards?: MegaMenuCard[];
25
- columns?: MegaMenuColumn[];
26
- /** CTA link shown after cards grid */
27
- ctaLabel?: string;
28
- ctaHref?: string;
29
- }
30
- interface MegaMenuProps {
31
- section: MegaMenuSection;
32
- isOpen: boolean;
33
- onClose: () => void;
34
- /** Render function for links — allows using Next.js Link or router links */
35
- renderLink?: (props: {
36
- href: string;
37
- className?: string;
38
- onClick?: () => void;
39
- children: React.ReactNode;
40
- }) => React.ReactNode;
41
- /** Render function for images — allows using Next.js Image or custom img */
42
- renderImage?: (props: {
43
- src: string;
44
- alt: string;
45
- className?: string;
46
- fill?: boolean;
47
- }) => React.ReactNode;
48
- className?: string;
49
- }
50
- declare const MegaMenu: React.ForwardRefExoticComponent<MegaMenuProps & React.RefAttributes<HTMLDivElement>>;
51
-
52
- export { MegaMenu, type MegaMenuCard, type MegaMenuColumn, type MegaMenuLink, type MegaMenuProps, type MegaMenuSection };
@@ -1,52 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface MegaMenuCard {
4
- label: string;
5
- href: string;
6
- imageUrl?: string;
7
- }
8
- interface MegaMenuLink {
9
- label: string;
10
- href: string;
11
- icon?: React.ReactNode;
12
- }
13
- interface MegaMenuColumn {
14
- title?: string;
15
- links: MegaMenuLink[];
16
- image?: {
17
- src: string;
18
- alt: string;
19
- };
20
- }
21
- interface MegaMenuSection {
22
- label: string;
23
- layout: "cards" | "columns";
24
- cards?: MegaMenuCard[];
25
- columns?: MegaMenuColumn[];
26
- /** CTA link shown after cards grid */
27
- ctaLabel?: string;
28
- ctaHref?: string;
29
- }
30
- interface MegaMenuProps {
31
- section: MegaMenuSection;
32
- isOpen: boolean;
33
- onClose: () => void;
34
- /** Render function for links — allows using Next.js Link or router links */
35
- renderLink?: (props: {
36
- href: string;
37
- className?: string;
38
- onClick?: () => void;
39
- children: React.ReactNode;
40
- }) => React.ReactNode;
41
- /** Render function for images — allows using Next.js Image or custom img */
42
- renderImage?: (props: {
43
- src: string;
44
- alt: string;
45
- className?: string;
46
- fill?: boolean;
47
- }) => React.ReactNode;
48
- className?: string;
49
- }
50
- declare const MegaMenu: React.ForwardRefExoticComponent<MegaMenuProps & React.RefAttributes<HTMLDivElement>>;
51
-
52
- export { MegaMenu, type MegaMenuCard, type MegaMenuColumn, type MegaMenuLink, type MegaMenuProps, type MegaMenuSection };
@@ -1,35 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface MobileMenuLink {
4
- label: string;
5
- href: string;
6
- }
7
- interface MobileMenuSection {
8
- label: string;
9
- /** "link" = simple link, "accordion" = expandable section */
10
- type: "link" | "accordion";
11
- href?: string;
12
- children?: MobileMenuLink[];
13
- }
14
- interface MobileMenuProps {
15
- items: MobileMenuSection[];
16
- isOpen: boolean;
17
- onClose: () => void;
18
- /** Header content — e.g. logo */
19
- header?: React.ReactNode;
20
- /** Fixed bottom content — e.g. auth buttons */
21
- footer?: React.ReactNode;
22
- /** Extra links before the footer (e.g. "Aide") */
23
- extraLinks?: MobileMenuLink[];
24
- /** Render function for links */
25
- renderLink?: (props: {
26
- href: string;
27
- className?: string;
28
- onClick?: () => void;
29
- children: React.ReactNode;
30
- }) => React.ReactNode;
31
- className?: string;
32
- }
33
- declare const MobileMenu: React.ForwardRefExoticComponent<MobileMenuProps & React.RefAttributes<HTMLDivElement>>;
34
-
35
- export { MobileMenu, type MobileMenuLink, type MobileMenuProps, type MobileMenuSection };
@@ -1,35 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface MobileMenuLink {
4
- label: string;
5
- href: string;
6
- }
7
- interface MobileMenuSection {
8
- label: string;
9
- /** "link" = simple link, "accordion" = expandable section */
10
- type: "link" | "accordion";
11
- href?: string;
12
- children?: MobileMenuLink[];
13
- }
14
- interface MobileMenuProps {
15
- items: MobileMenuSection[];
16
- isOpen: boolean;
17
- onClose: () => void;
18
- /** Header content — e.g. logo */
19
- header?: React.ReactNode;
20
- /** Fixed bottom content — e.g. auth buttons */
21
- footer?: React.ReactNode;
22
- /** Extra links before the footer (e.g. "Aide") */
23
- extraLinks?: MobileMenuLink[];
24
- /** Render function for links */
25
- renderLink?: (props: {
26
- href: string;
27
- className?: string;
28
- onClick?: () => void;
29
- children: React.ReactNode;
30
- }) => React.ReactNode;
31
- className?: string;
32
- }
33
- declare const MobileMenu: React.ForwardRefExoticComponent<MobileMenuProps & React.RefAttributes<HTMLDivElement>>;
34
-
35
- export { MobileMenu, type MobileMenuLink, type MobileMenuProps, type MobileMenuSection };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface ModalProps {
4
- isOpen: boolean;
5
- onClose: () => void;
6
- children: React.ReactNode;
7
- title?: string;
8
- className?: string;
9
- }
10
- declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
11
-
12
- export { Modal, type ModalProps };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface ModalProps {
4
- isOpen: boolean;
5
- onClose: () => void;
6
- children: React.ReactNode;
7
- title?: string;
8
- className?: string;
9
- }
10
- declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
11
-
12
- export { Modal, type ModalProps };
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface PaginationProps {
4
- currentPage: number;
5
- totalPages: number;
6
- onPageChange: (page: number) => void;
7
- /** Max page buttons visible (excluding prev/next). Default: 5 */
8
- siblingCount?: number;
9
- className?: string;
10
- }
11
- declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLElement>>;
12
-
13
- export { Pagination, type PaginationProps };
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface PaginationProps {
4
- currentPage: number;
5
- totalPages: number;
6
- onPageChange: (page: number) => void;
7
- /** Max page buttons visible (excluding prev/next). Default: 5 */
8
- siblingCount?: number;
9
- className?: string;
10
- }
11
- declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLElement>>;
12
-
13
- export { Pagination, type PaginationProps };
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface PriceDisplayProps extends React.HTMLAttributes<HTMLDivElement> {
4
- price: number;
5
- originalPrice?: number;
6
- currency?: string;
7
- period?: string;
8
- /** Show discount percentage badge. Default: true when originalPrice given */
9
- showDiscount?: boolean;
10
- size?: "sm" | "md" | "lg";
11
- }
12
- declare const PriceDisplay: React.ForwardRefExoticComponent<PriceDisplayProps & React.RefAttributes<HTMLDivElement>>;
13
-
14
- export { PriceDisplay, type PriceDisplayProps };
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface PriceDisplayProps extends React.HTMLAttributes<HTMLDivElement> {
4
- price: number;
5
- originalPrice?: number;
6
- currency?: string;
7
- period?: string;
8
- /** Show discount percentage badge. Default: true when originalPrice given */
9
- showDiscount?: boolean;
10
- size?: "sm" | "md" | "lg";
11
- }
12
- declare const PriceDisplay: React.ForwardRefExoticComponent<PriceDisplayProps & React.RefAttributes<HTMLDivElement>>;
13
-
14
- export { PriceDisplay, type PriceDisplayProps };
@@ -1,19 +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 progressBarVariants: (props?: ({
6
- size?: "sm" | "md" | "lg" | null | undefined;
7
- } & class_variance_authority_types.ClassProp) | undefined) => string;
8
- declare const progressFillVariants: (props?: ({
9
- color?: "primary" | "secondary" | "accent" | "error" | "success" | "warning" | null | undefined;
10
- } & class_variance_authority_types.ClassProp) | undefined) => string;
11
- interface ProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "color">, VariantProps<typeof progressBarVariants>, VariantProps<typeof progressFillVariants> {
12
- value: number;
13
- max?: number;
14
- label?: string;
15
- showValue?: boolean;
16
- }
17
- declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<HTMLDivElement>>;
18
-
19
- export { ProgressBar, type ProgressBarProps, progressBarVariants, progressFillVariants };
@@ -1,19 +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 progressBarVariants: (props?: ({
6
- size?: "sm" | "md" | "lg" | null | undefined;
7
- } & class_variance_authority_types.ClassProp) | undefined) => string;
8
- declare const progressFillVariants: (props?: ({
9
- color?: "primary" | "secondary" | "accent" | "error" | "success" | "warning" | null | undefined;
10
- } & class_variance_authority_types.ClassProp) | undefined) => string;
11
- interface ProgressBarProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "color">, VariantProps<typeof progressBarVariants>, VariantProps<typeof progressFillVariants> {
12
- value: number;
13
- max?: number;
14
- label?: string;
15
- showValue?: boolean;
16
- }
17
- declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<HTMLDivElement>>;
18
-
19
- export { ProgressBar, type ProgressBarProps, progressBarVariants, progressFillVariants };
@@ -1,39 +0,0 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import React__default from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
-
5
- declare const promoBannerVariants: (props?: ({
6
- variant?: "alert" | "info" | "promo" | "maintenance" | null | undefined;
7
- } & class_variance_authority_types.ClassProp) | undefined) => string;
8
- interface PromoBannerProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "children">, VariantProps<typeof promoBannerVariants> {
9
- promo?: {
10
- message: string;
11
- cta?: {
12
- label: string;
13
- href: string;
14
- };
15
- };
16
- alert?: {
17
- message: string;
18
- };
19
- countdown?: {
20
- targetDate: string;
21
- label?: string;
22
- expiredLabel?: string;
23
- };
24
- email?: {
25
- placeholder?: string;
26
- submitLabel?: string;
27
- onSubmit: (email: string) => Promise<void>;
28
- successMessage?: string;
29
- };
30
- storageKey?: string;
31
- renderLink?: (props: {
32
- href: string;
33
- className?: string;
34
- children: React__default.ReactNode;
35
- }) => React__default.ReactNode;
36
- }
37
- declare const PromoBanner: React__default.ForwardRefExoticComponent<PromoBannerProps & React__default.RefAttributes<HTMLDivElement>>;
38
-
39
- export { PromoBanner, type PromoBannerProps, promoBannerVariants };
@@ -1,39 +0,0 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import React__default from 'react';
3
- import { VariantProps } from 'class-variance-authority';
4
-
5
- declare const promoBannerVariants: (props?: ({
6
- variant?: "alert" | "info" | "promo" | "maintenance" | null | undefined;
7
- } & class_variance_authority_types.ClassProp) | undefined) => string;
8
- interface PromoBannerProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "children">, VariantProps<typeof promoBannerVariants> {
9
- promo?: {
10
- message: string;
11
- cta?: {
12
- label: string;
13
- href: string;
14
- };
15
- };
16
- alert?: {
17
- message: string;
18
- };
19
- countdown?: {
20
- targetDate: string;
21
- label?: string;
22
- expiredLabel?: string;
23
- };
24
- email?: {
25
- placeholder?: string;
26
- submitLabel?: string;
27
- onSubmit: (email: string) => Promise<void>;
28
- successMessage?: string;
29
- };
30
- storageKey?: string;
31
- renderLink?: (props: {
32
- href: string;
33
- className?: string;
34
- children: React__default.ReactNode;
35
- }) => React__default.ReactNode;
36
- }
37
- declare const PromoBanner: React__default.ForwardRefExoticComponent<PromoBannerProps & React__default.RefAttributes<HTMLDivElement>>;
38
-
39
- export { PromoBanner, type PromoBannerProps, promoBannerVariants };
@@ -1,21 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface RadioGroupItemOption {
4
- value: string;
5
- label: string;
6
- description?: string;
7
- }
8
- interface RadioGroupProps {
9
- value?: string;
10
- onChange?: (value: string) => void;
11
- label?: string;
12
- error?: string;
13
- required?: boolean;
14
- orientation?: "vertical" | "grid";
15
- columns?: 2 | 3 | 4;
16
- options: RadioGroupItemOption[];
17
- className?: string;
18
- }
19
- declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
20
-
21
- export { RadioGroup, type RadioGroupItemOption, type RadioGroupProps };
@@ -1,21 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface RadioGroupItemOption {
4
- value: string;
5
- label: string;
6
- description?: string;
7
- }
8
- interface RadioGroupProps {
9
- value?: string;
10
- onChange?: (value: string) => void;
11
- label?: string;
12
- error?: string;
13
- required?: boolean;
14
- orientation?: "vertical" | "grid";
15
- columns?: 2 | 3 | 4;
16
- options: RadioGroupItemOption[];
17
- className?: string;
18
- }
19
- declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
20
-
21
- export { RadioGroup, type RadioGroupItemOption, type RadioGroupProps };