@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,27 +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 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 };
@@ -1,27 +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 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 };
@@ -1,13 +0,0 @@
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 };
@@ -1,13 +0,0 @@
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 };
@@ -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 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 };
@@ -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 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 };
@@ -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 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 };
@@ -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 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 };
@@ -1,17 +0,0 @@
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 };
@@ -1,17 +0,0 @@
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 };
@@ -1,23 +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 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 };
@@ -1,23 +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 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 };
@@ -1,17 +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 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 };
@@ -1,17 +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 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 };
@@ -1,30 +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 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 };
@@ -1,30 +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 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 };
@@ -1,30 +0,0 @@
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 };
@@ -1,30 +0,0 @@
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 };
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface CarouselProps {
4
- children: React.ReactNode[];
5
- className?: string;
6
- /** Show dot indicators. Default: true */
7
- showDots?: boolean;
8
- /** Show prev/next arrows. Default: true */
9
- showArrows?: boolean;
10
- /** Auto-play interval in ms. 0 = disabled. Default: 0 */
11
- autoPlay?: number;
12
- }
13
- declare const Carousel: React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<HTMLDivElement>>;
14
-
15
- export { Carousel, type CarouselProps };
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface CarouselProps {
4
- children: React.ReactNode[];
5
- className?: string;
6
- /** Show dot indicators. Default: true */
7
- showDots?: boolean;
8
- /** Show prev/next arrows. Default: true */
9
- showArrows?: boolean;
10
- /** Auto-play interval in ms. 0 = disabled. Default: 0 */
11
- autoPlay?: number;
12
- }
13
- declare const Carousel: React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<HTMLDivElement>>;
14
-
15
- export { Carousel, type CarouselProps };
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface CheckboxProps {
4
- label?: React.ReactNode;
5
- description?: string;
6
- error?: string;
7
- required?: boolean;
8
- checked?: boolean;
9
- onChange?: (checked: boolean) => void;
10
- disabled?: boolean;
11
- className?: string;
12
- name?: string;
13
- }
14
- declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
15
-
16
- export { Checkbox, type CheckboxProps };
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface CheckboxProps {
4
- label?: React.ReactNode;
5
- description?: string;
6
- error?: string;
7
- required?: boolean;
8
- checked?: boolean;
9
- onChange?: (checked: boolean) => void;
10
- disabled?: boolean;
11
- className?: string;
12
- name?: string;
13
- }
14
- declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
15
-
16
- export { Checkbox, type CheckboxProps };
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface CounterProps {
4
- value: number;
5
- onChange?: (value: number) => void;
6
- min?: number;
7
- max?: number;
8
- label?: string;
9
- subtitle?: string;
10
- className?: string;
11
- }
12
- declare const Counter: React.ForwardRefExoticComponent<CounterProps & React.RefAttributes<HTMLDivElement>>;
13
-
14
- export { Counter, type CounterProps };
@@ -1,14 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface CounterProps {
4
- value: number;
5
- onChange?: (value: number) => void;
6
- min?: number;
7
- max?: number;
8
- label?: string;
9
- subtitle?: string;
10
- className?: string;
11
- }
12
- declare const Counter: React.ForwardRefExoticComponent<CounterProps & React.RefAttributes<HTMLDivElement>>;
13
-
14
- export { Counter, type CounterProps };
@@ -1,26 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
-
4
- interface DateRangePickerProps {
5
- checkIn: Date | null;
6
- checkOut: Date | null;
7
- onCheckInChange: (date: Date | null) => void;
8
- onCheckOutChange: (date: Date | null) => void;
9
- isOpen: boolean;
10
- onClose: () => void;
11
- position?: "left" | "center" | "right";
12
- minWidth?: number;
13
- }
14
- interface DatePickerInputProps {
15
- label: string;
16
- value: Date | null;
17
- placeholder?: string;
18
- isActive: boolean;
19
- onClick: () => void;
20
- onClear?: () => void;
21
- showClear?: boolean;
22
- }
23
- declare function DatePickerInput({ label, value, placeholder, isActive, onClick, onClear, showClear, }: DatePickerInputProps): react_jsx_runtime.JSX.Element;
24
- declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLDivElement>>;
25
-
26
- export { DatePickerInput, type DatePickerInputProps, DateRangePicker, type DateRangePickerProps };
@@ -1,26 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as React from 'react';
3
-
4
- interface DateRangePickerProps {
5
- checkIn: Date | null;
6
- checkOut: Date | null;
7
- onCheckInChange: (date: Date | null) => void;
8
- onCheckOutChange: (date: Date | null) => void;
9
- isOpen: boolean;
10
- onClose: () => void;
11
- position?: "left" | "center" | "right";
12
- minWidth?: number;
13
- }
14
- interface DatePickerInputProps {
15
- label: string;
16
- value: Date | null;
17
- placeholder?: string;
18
- isActive: boolean;
19
- onClick: () => void;
20
- onClear?: () => void;
21
- showClear?: boolean;
22
- }
23
- declare function DatePickerInput({ label, value, placeholder, isActive, onClick, onClear, showClear, }: DatePickerInputProps): react_jsx_runtime.JSX.Element;
24
- declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLDivElement>>;
25
-
26
- export { DatePickerInput, type DatePickerInputProps, DateRangePicker, type DateRangePickerProps };
@@ -1,23 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface DetailItem {
4
- label: string;
5
- value: React.ReactNode;
6
- icon?: React.ReactNode;
7
- }
8
- interface DetailListProps extends React.HTMLAttributes<HTMLDListElement> {
9
- items: DetailItem[];
10
- /**
11
- * Layout direction. Default: "vertical".
12
- * - "vertical" : label à gauche, valeur à droite (une ligne) ;
13
- * - "horizontal" : items en colonnes côte à côte ;
14
- * - "stacked" : icône + label en titre, valeur en dessous — pour les
15
- * valeurs longues sur mobile (lisibilité).
16
- */
17
- direction?: "vertical" | "horizontal" | "stacked";
18
- /** Show dividers between items. Default: true */
19
- dividers?: boolean;
20
- }
21
- declare const DetailList: React.ForwardRefExoticComponent<DetailListProps & React.RefAttributes<HTMLDListElement>>;
22
-
23
- export { type DetailItem, DetailList, type DetailListProps };
@@ -1,23 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface DetailItem {
4
- label: string;
5
- value: React.ReactNode;
6
- icon?: React.ReactNode;
7
- }
8
- interface DetailListProps extends React.HTMLAttributes<HTMLDListElement> {
9
- items: DetailItem[];
10
- /**
11
- * Layout direction. Default: "vertical".
12
- * - "vertical" : label à gauche, valeur à droite (une ligne) ;
13
- * - "horizontal" : items en colonnes côte à côte ;
14
- * - "stacked" : icône + label en titre, valeur en dessous — pour les
15
- * valeurs longues sur mobile (lisibilité).
16
- */
17
- direction?: "vertical" | "horizontal" | "stacked";
18
- /** Show dividers between items. Default: true */
19
- dividers?: boolean;
20
- }
21
- declare const DetailList: React.ForwardRefExoticComponent<DetailListProps & React.RefAttributes<HTMLDListElement>>;
22
-
23
- export { type DetailItem, DetailList, type DetailListProps };
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface DividerProps {
4
- orientation?: "horizontal" | "vertical";
5
- label?: string;
6
- className?: string;
7
- }
8
- declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLDivElement>>;
9
-
10
- export { Divider, type DividerProps };
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface DividerProps {
4
- orientation?: "horizontal" | "vertical";
5
- label?: string;
6
- className?: string;
7
- }
8
- declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLDivElement>>;
9
-
10
- export { Divider, type DividerProps };
@@ -1,13 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface DrawerProps {
4
- isOpen: boolean;
5
- onClose: () => void;
6
- children: React.ReactNode;
7
- side?: "left" | "right";
8
- title?: string;
9
- className?: string;
10
- }
11
- declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<HTMLDivElement>>;
12
-
13
- export { Drawer, type DrawerProps };