@dododog/ui 0.8.1 → 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 (149) hide show
  1. package/dist/chunk-P2SGBTKS.mjs +138 -0
  2. package/dist/chunk-ZCQJN4IT.js +160 -0
  3. package/dist/components/FloatingDock/index.js +2 -2
  4. package/dist/components/FloatingDock/index.mjs +1 -1
  5. package/dist/index.js +80 -80
  6. package/dist/index.mjs +14 -14
  7. package/package.json +1 -1
  8. package/dist/chunk-PBDPZTHK.mjs +0 -53
  9. package/dist/chunk-S732LTPT.js +0 -75
  10. package/dist/components/Accordion/index.d.mts +0 -24
  11. package/dist/components/Accordion/index.d.ts +0 -24
  12. package/dist/components/Alert/index.d.mts +0 -40
  13. package/dist/components/Alert/index.d.ts +0 -40
  14. package/dist/components/AnchorTabs/index.d.mts +0 -59
  15. package/dist/components/AnchorTabs/index.d.ts +0 -59
  16. package/dist/components/Autocomplete/index.d.mts +0 -27
  17. package/dist/components/Autocomplete/index.d.ts +0 -27
  18. package/dist/components/Avatar/index.d.mts +0 -13
  19. package/dist/components/Avatar/index.d.ts +0 -13
  20. package/dist/components/Badge/index.d.mts +0 -13
  21. package/dist/components/Badge/index.d.ts +0 -13
  22. package/dist/components/Banner/index.d.mts +0 -19
  23. package/dist/components/Banner/index.d.ts +0 -19
  24. package/dist/components/BottomNavBar/index.d.mts +0 -17
  25. package/dist/components/BottomNavBar/index.d.ts +0 -17
  26. package/dist/components/Breadcrumb/index.d.mts +0 -23
  27. package/dist/components/Breadcrumb/index.d.ts +0 -23
  28. package/dist/components/Button/index.d.mts +0 -17
  29. package/dist/components/Button/index.d.ts +0 -17
  30. package/dist/components/Card/index.d.mts +0 -30
  31. package/dist/components/Card/index.d.ts +0 -30
  32. package/dist/components/CardList/index.d.mts +0 -30
  33. package/dist/components/CardList/index.d.ts +0 -30
  34. package/dist/components/Carousel/index.d.mts +0 -15
  35. package/dist/components/Carousel/index.d.ts +0 -15
  36. package/dist/components/Checkbox/index.d.mts +0 -16
  37. package/dist/components/Checkbox/index.d.ts +0 -16
  38. package/dist/components/Counter/index.d.mts +0 -14
  39. package/dist/components/Counter/index.d.ts +0 -14
  40. package/dist/components/DateRangePicker/index.d.mts +0 -26
  41. package/dist/components/DateRangePicker/index.d.ts +0 -26
  42. package/dist/components/DetailList/index.d.mts +0 -23
  43. package/dist/components/DetailList/index.d.ts +0 -23
  44. package/dist/components/Divider/index.d.mts +0 -10
  45. package/dist/components/Divider/index.d.ts +0 -10
  46. package/dist/components/Drawer/index.d.mts +0 -13
  47. package/dist/components/Drawer/index.d.ts +0 -13
  48. package/dist/components/DropdownMenu/index.d.mts +0 -19
  49. package/dist/components/DropdownMenu/index.d.ts +0 -19
  50. package/dist/components/DualRangeSlider/index.d.mts +0 -26
  51. package/dist/components/DualRangeSlider/index.d.ts +0 -26
  52. package/dist/components/EmptyState/index.d.mts +0 -12
  53. package/dist/components/EmptyState/index.d.ts +0 -12
  54. package/dist/components/ErrorBoundary/index.d.mts +0 -21
  55. package/dist/components/ErrorBoundary/index.d.ts +0 -21
  56. package/dist/components/FilterAccordion/index.d.mts +0 -16
  57. package/dist/components/FilterAccordion/index.d.ts +0 -16
  58. package/dist/components/FilterPill/index.d.mts +0 -19
  59. package/dist/components/FilterPill/index.d.ts +0 -19
  60. package/dist/components/FloatingDock/index.d.mts +0 -44
  61. package/dist/components/FloatingDock/index.d.ts +0 -44
  62. package/dist/components/Footer/index.d.mts +0 -46
  63. package/dist/components/Footer/index.d.ts +0 -46
  64. package/dist/components/GuestPicker/index.d.mts +0 -31
  65. package/dist/components/GuestPicker/index.d.ts +0 -31
  66. package/dist/components/Header/index.d.mts +0 -37
  67. package/dist/components/Header/index.d.ts +0 -37
  68. package/dist/components/HotelCard/index.d.mts +0 -45
  69. package/dist/components/HotelCard/index.d.ts +0 -45
  70. package/dist/components/IconBadge/index.d.mts +0 -14
  71. package/dist/components/IconBadge/index.d.ts +0 -14
  72. package/dist/components/ImageGallery/index.d.mts +0 -16
  73. package/dist/components/ImageGallery/index.d.ts +0 -16
  74. package/dist/components/ImageWithFallback/index.d.mts +0 -17
  75. package/dist/components/ImageWithFallback/index.d.ts +0 -17
  76. package/dist/components/Input/index.d.mts +0 -18
  77. package/dist/components/Input/index.d.ts +0 -18
  78. package/dist/components/Lightbox/index.d.mts +0 -15
  79. package/dist/components/Lightbox/index.d.ts +0 -15
  80. package/dist/components/LinkCard/index.d.mts +0 -12
  81. package/dist/components/LinkCard/index.d.ts +0 -12
  82. package/dist/components/LoadingOverlay/index.d.mts +0 -12
  83. package/dist/components/LoadingOverlay/index.d.ts +0 -12
  84. package/dist/components/MegaMenu/index.d.mts +0 -52
  85. package/dist/components/MegaMenu/index.d.ts +0 -52
  86. package/dist/components/MobileMenu/index.d.mts +0 -35
  87. package/dist/components/MobileMenu/index.d.ts +0 -35
  88. package/dist/components/Modal/index.d.mts +0 -12
  89. package/dist/components/Modal/index.d.ts +0 -12
  90. package/dist/components/Pagination/index.d.mts +0 -13
  91. package/dist/components/Pagination/index.d.ts +0 -13
  92. package/dist/components/PriceDisplay/index.d.mts +0 -14
  93. package/dist/components/PriceDisplay/index.d.ts +0 -14
  94. package/dist/components/ProgressBar/index.d.mts +0 -19
  95. package/dist/components/ProgressBar/index.d.ts +0 -19
  96. package/dist/components/PromoBanner/index.d.mts +0 -39
  97. package/dist/components/PromoBanner/index.d.ts +0 -39
  98. package/dist/components/RadioGroup/index.d.mts +0 -21
  99. package/dist/components/RadioGroup/index.d.ts +0 -21
  100. package/dist/components/Rating/index.d.mts +0 -12
  101. package/dist/components/Rating/index.d.ts +0 -12
  102. package/dist/components/RoomTypeCard/index.d.mts +0 -102
  103. package/dist/components/RoomTypeCard/index.d.ts +0 -102
  104. package/dist/components/SearchBar/index.d.mts +0 -20
  105. package/dist/components/SearchBar/index.d.ts +0 -20
  106. package/dist/components/SegmentedControl/index.d.mts +0 -15
  107. package/dist/components/SegmentedControl/index.d.ts +0 -15
  108. package/dist/components/Select/index.d.mts +0 -26
  109. package/dist/components/Select/index.d.ts +0 -26
  110. package/dist/components/Sidebar/index.d.mts +0 -19
  111. package/dist/components/Sidebar/index.d.ts +0 -19
  112. package/dist/components/SignInCallout/index.d.mts +0 -26
  113. package/dist/components/SignInCallout/index.d.ts +0 -26
  114. package/dist/components/Skeleton/index.d.mts +0 -31
  115. package/dist/components/Skeleton/index.d.ts +0 -31
  116. package/dist/components/Spinner/index.d.mts +0 -13
  117. package/dist/components/Spinner/index.d.ts +0 -13
  118. package/dist/components/StatCard/index.d.mts +0 -15
  119. package/dist/components/StatCard/index.d.ts +0 -15
  120. package/dist/components/StatusBadge/index.d.mts +0 -16
  121. package/dist/components/StatusBadge/index.d.ts +0 -16
  122. package/dist/components/Stepper/index.d.mts +0 -16
  123. package/dist/components/Stepper/index.d.ts +0 -16
  124. package/dist/components/Switch/index.d.mts +0 -22
  125. package/dist/components/Switch/index.d.ts +0 -22
  126. package/dist/components/Tabs/index.d.mts +0 -18
  127. package/dist/components/Tabs/index.d.ts +0 -18
  128. package/dist/components/Tag/index.d.mts +0 -15
  129. package/dist/components/Tag/index.d.ts +0 -15
  130. package/dist/components/Textarea/index.d.mts +0 -16
  131. package/dist/components/Textarea/index.d.ts +0 -16
  132. package/dist/components/Toast/index.d.mts +0 -16
  133. package/dist/components/Toast/index.d.ts +0 -16
  134. package/dist/components/Toggle/index.d.mts +0 -13
  135. package/dist/components/Toggle/index.d.ts +0 -13
  136. package/dist/components/Tooltip/index.d.mts +0 -11
  137. package/dist/components/Tooltip/index.d.ts +0 -11
  138. package/dist/components/VerticalMarquee/index.d.mts +0 -16
  139. package/dist/components/VerticalMarquee/index.d.ts +0 -16
  140. package/dist/index.d.mts +0 -189
  141. package/dist/index.d.ts +0 -189
  142. package/dist/tailwind-preset.d.mts +0 -170
  143. package/dist/tailwind-preset.d.ts +0 -170
  144. package/dist/tokens/index.d.mts +0 -219
  145. package/dist/tokens/index.d.ts +0 -219
  146. package/dist/typography-BUlhEnfy.d.mts +0 -16
  147. package/dist/typography-BUlhEnfy.d.ts +0 -16
  148. package/dist/utils/index.d.mts +0 -5
  149. package/dist/utils/index.d.ts +0 -5
@@ -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 };
@@ -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 };
@@ -1,19 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface DropdownMenuItem {
4
- id: string;
5
- label: string;
6
- icon?: React.ReactNode;
7
- disabled?: boolean;
8
- destructive?: boolean;
9
- }
10
- interface DropdownMenuProps {
11
- trigger: React.ReactNode;
12
- items: DropdownMenuItem[];
13
- onSelect: (id: string) => void;
14
- align?: "left" | "right";
15
- className?: string;
16
- }
17
- declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<HTMLDivElement>>;
18
-
19
- export { DropdownMenu, type DropdownMenuItem, type DropdownMenuProps };
@@ -1,19 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface DropdownMenuItem {
4
- id: string;
5
- label: string;
6
- icon?: React.ReactNode;
7
- disabled?: boolean;
8
- destructive?: boolean;
9
- }
10
- interface DropdownMenuProps {
11
- trigger: React.ReactNode;
12
- items: DropdownMenuItem[];
13
- onSelect: (id: string) => void;
14
- align?: "left" | "right";
15
- className?: string;
16
- }
17
- declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<HTMLDivElement>>;
18
-
19
- export { DropdownMenu, type DropdownMenuItem, type DropdownMenuProps };
@@ -1,26 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface DualRangeSliderProps {
4
- /** Minimum possible value */
5
- min: number;
6
- /** Maximum possible value */
7
- max: number;
8
- /** Step increment */
9
- step?: number;
10
- /** Current minimum value */
11
- valueMin: number;
12
- /** Current maximum value */
13
- valueMax: number;
14
- /** Called when the minimum thumb changes */
15
- onChangeMin: (value: number) => void;
16
- /** Called when the maximum thumb changes */
17
- onChangeMax: (value: number) => void;
18
- /** Format the label below the slider (e.g. `v => \`${v}€\``) */
19
- formatLabel?: (value: number, type: "min" | "max") => string;
20
- /** Minimum gap between the two thumbs (in step units). Defaults to `step`. */
21
- minGap?: number;
22
- className?: string;
23
- }
24
- declare const DualRangeSlider: React.ForwardRefExoticComponent<DualRangeSliderProps & React.RefAttributes<HTMLDivElement>>;
25
-
26
- export { DualRangeSlider, type DualRangeSliderProps };
@@ -1,26 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface DualRangeSliderProps {
4
- /** Minimum possible value */
5
- min: number;
6
- /** Maximum possible value */
7
- max: number;
8
- /** Step increment */
9
- step?: number;
10
- /** Current minimum value */
11
- valueMin: number;
12
- /** Current maximum value */
13
- valueMax: number;
14
- /** Called when the minimum thumb changes */
15
- onChangeMin: (value: number) => void;
16
- /** Called when the maximum thumb changes */
17
- onChangeMax: (value: number) => void;
18
- /** Format the label below the slider (e.g. `v => \`${v}€\``) */
19
- formatLabel?: (value: number, type: "min" | "max") => string;
20
- /** Minimum gap between the two thumbs (in step units). Defaults to `step`. */
21
- minGap?: number;
22
- className?: string;
23
- }
24
- declare const DualRangeSlider: React.ForwardRefExoticComponent<DualRangeSliderProps & React.RefAttributes<HTMLDivElement>>;
25
-
26
- export { DualRangeSlider, type DualRangeSliderProps };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface EmptyStateProps {
4
- icon: React.ReactNode;
5
- title: string;
6
- description: string;
7
- action?: React.ReactNode;
8
- className?: string;
9
- }
10
- declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
11
-
12
- export { EmptyState, type EmptyStateProps };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface EmptyStateProps {
4
- icon: React.ReactNode;
5
- title: string;
6
- description: string;
7
- action?: React.ReactNode;
8
- className?: string;
9
- }
10
- declare const EmptyState: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
11
-
12
- export { EmptyState, type EmptyStateProps };
@@ -1,21 +0,0 @@
1
- import { Component, ReactNode } from 'react';
2
-
3
- interface ErrorBoundaryProps {
4
- children: ReactNode;
5
- fallback?: ReactNode;
6
- onError?: (error: Error, errorInfo: React.ErrorInfo) => void;
7
- className?: string;
8
- }
9
- interface ErrorBoundaryState {
10
- hasError: boolean;
11
- error?: Error;
12
- }
13
- declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
14
- constructor(props: ErrorBoundaryProps);
15
- static getDerivedStateFromError(error: Error): ErrorBoundaryState;
16
- componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
17
- handleRetry: () => void;
18
- render(): ReactNode;
19
- }
20
-
21
- export { ErrorBoundary, type ErrorBoundaryProps };
@@ -1,21 +0,0 @@
1
- import { Component, ReactNode } from 'react';
2
-
3
- interface ErrorBoundaryProps {
4
- children: ReactNode;
5
- fallback?: ReactNode;
6
- onError?: (error: Error, errorInfo: React.ErrorInfo) => void;
7
- className?: string;
8
- }
9
- interface ErrorBoundaryState {
10
- hasError: boolean;
11
- error?: Error;
12
- }
13
- declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
14
- constructor(props: ErrorBoundaryProps);
15
- static getDerivedStateFromError(error: Error): ErrorBoundaryState;
16
- componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
17
- handleRetry: () => void;
18
- render(): ReactNode;
19
- }
20
-
21
- export { ErrorBoundary, type ErrorBoundaryProps };
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
-
3
- interface FilterAccordionItemData {
4
- key: string;
5
- title: string;
6
- content: React.ReactNode;
7
- }
8
- interface FilterAccordionProps {
9
- items: FilterAccordionItemData[];
10
- /** Keys of sections open by default */
11
- defaultOpenKeys?: string[];
12
- className?: string;
13
- }
14
- declare const FilterAccordion: React.ForwardRefExoticComponent<FilterAccordionProps & React.RefAttributes<HTMLDivElement>>;
15
-
16
- export { FilterAccordion, type FilterAccordionItemData, type FilterAccordionProps };