@lssm/lib.ui-kit-web 1.11.1 → 1.41.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/README.md +5 -0
  2. package/dist/tsconfig.tsbuildinfo +1 -1
  3. package/dist/ui/accordion.js +1 -1
  4. package/dist/ui/alert-dialog.js +1 -1
  5. package/dist/ui/alert.js +1 -1
  6. package/dist/ui/badge.js +1 -1
  7. package/dist/ui/breadcrumb.js +1 -1
  8. package/dist/ui/button.js +16 -5
  9. package/dist/ui/calendar.js +2 -2
  10. package/dist/ui/card.js +1 -1
  11. package/dist/ui/carousel.js +1 -1
  12. package/dist/ui/checkbox.js +3 -3
  13. package/dist/ui/command.js +1 -1
  14. package/dist/ui/context-menu.js +1 -1
  15. package/dist/ui/cta.js +1 -1
  16. package/dist/ui/date-picker.js +1 -1
  17. package/dist/ui/date-range-picker.js +1 -1
  18. package/dist/ui/datetime-picker.js +1 -1
  19. package/dist/ui/dialog.js +1 -1
  20. package/dist/ui/drawer.js +1 -1
  21. package/dist/ui/dropdown-menu.js +1 -1
  22. package/dist/ui/empty-state.js +1 -1
  23. package/dist/ui/empty.js +2 -2
  24. package/dist/ui/field.js +3 -3
  25. package/dist/ui/hover-card.js +1 -1
  26. package/dist/ui/input-group.js +1 -1
  27. package/dist/ui/input-otp.js +1 -1
  28. package/dist/ui/input.js +1 -1
  29. package/dist/ui/label.js +1 -1
  30. package/dist/ui/link.js +1 -1
  31. package/dist/ui/marketing/Hero.js +1 -1
  32. package/dist/ui/marketing/PricingTable.js +1 -1
  33. package/dist/ui/menubar.js +1 -1
  34. package/dist/ui/nav-layout.js +1 -1
  35. package/dist/ui/navigation-menu.js +1 -1
  36. package/dist/ui/page-header.js +1 -1
  37. package/dist/ui/pagination.js +1 -1
  38. package/dist/ui/popover.js +1 -1
  39. package/dist/ui/progress.js +1 -1
  40. package/dist/ui/radio-group.js +1 -1
  41. package/dist/ui/resizable.js +1 -1
  42. package/dist/ui/scroll-area.js +1 -1
  43. package/dist/ui/section.js +1 -1
  44. package/dist/ui/select.js +1 -1
  45. package/dist/ui/separator.js +1 -1
  46. package/dist/ui/sheet.js +1 -1
  47. package/dist/ui/sidebar.js +1 -1
  48. package/dist/ui/slider.js +1 -1
  49. package/dist/ui/stack.js +1 -1
  50. package/dist/ui/stepper.js +1 -1
  51. package/dist/ui/switch.js +4 -3
  52. package/dist/ui/table.js +1 -1
  53. package/dist/ui/tabs.js +1 -1
  54. package/dist/ui/text.js +1 -1
  55. package/dist/ui/textarea.js +1 -1
  56. package/dist/ui/time-picker.js +1 -1
  57. package/dist/ui/toast.js +1 -1
  58. package/dist/ui/toggle-group.js +1 -1
  59. package/dist/ui/toggle.js +1 -1
  60. package/dist/ui/tooltip.js +1 -1
  61. package/dist/ui/typography.js +1 -1
  62. package/package.json +243 -137
  63. package/dist/index.d.ts +0 -1
  64. package/dist/ui/accordion.d.ts +0 -24
  65. package/dist/ui/alert-dialog.d.ts +0 -48
  66. package/dist/ui/alert.d.ts +0 -24
  67. package/dist/ui/aspect-ratio.d.ts +0 -7
  68. package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +0 -7
  69. package/dist/ui/atoms/FilterSelect/index.d.ts +0 -3
  70. package/dist/ui/atoms/FilterSelect/types.d.ts +0 -18
  71. package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +0 -22
  72. package/dist/ui/atoms/LoadingSpinner/index.d.ts +0 -2
  73. package/dist/ui/atoms/Pagination/Pagination.d.ts +0 -7
  74. package/dist/ui/atoms/Pagination/index.d.ts +0 -3
  75. package/dist/ui/atoms/Pagination/types.d.ts +0 -15
  76. package/dist/ui/atoms/SearchInput/SearchInput.d.ts +0 -7
  77. package/dist/ui/atoms/SearchInput/index.d.ts +0 -3
  78. package/dist/ui/atoms/SearchInput/types.d.ts +0 -12
  79. package/dist/ui/avatar.d.ts +0 -19
  80. package/dist/ui/badge.d.ts +0 -19
  81. package/dist/ui/breadcrumb.d.ts +0 -37
  82. package/dist/ui/button.d.ts +0 -22
  83. package/dist/ui/calendar.d.ts +0 -26
  84. package/dist/ui/card.d.ts +0 -34
  85. package/dist/ui/carousel.d.ts +0 -47
  86. package/dist/ui/checkbox.d.ts +0 -11
  87. package/dist/ui/collapsible.d.ts +0 -15
  88. package/dist/ui/command.d.ts +0 -52
  89. package/dist/ui/confirm-dialog.d.ts +0 -30
  90. package/dist/ui/context-menu.d.ts +0 -34
  91. package/dist/ui/cta.d.ts +0 -14
  92. package/dist/ui/date-picker.d.ts +0 -25
  93. package/dist/ui/date-range-picker.d.ts +0 -25
  94. package/dist/ui/datetime-picker.d.ts +0 -27
  95. package/dist/ui/dialog.d.ts +0 -47
  96. package/dist/ui/drawer.d.ts +0 -44
  97. package/dist/ui/dropdown-menu.d.ts +0 -77
  98. package/dist/ui/empty-state.d.ts +0 -28
  99. package/dist/ui/empty.d.ts +0 -35
  100. package/dist/ui/field.d.ts +0 -64
  101. package/dist/ui/focus-on-route-change.d.ts +0 -8
  102. package/dist/ui/form.d.ts +0 -46
  103. package/dist/ui/hover-card.d.ts +0 -19
  104. package/dist/ui/input-group.d.ts +0 -43
  105. package/dist/ui/input-otp.d.ts +0 -38
  106. package/dist/ui/input.d.ts +0 -12
  107. package/dist/ui/label.d.ts +0 -11
  108. package/dist/ui/link.d.ts +0 -8
  109. package/dist/ui/live-region.d.ts +0 -16
  110. package/dist/ui/loading-button.d.ts +0 -19
  111. package/dist/ui/map/MapBase.d.ts +0 -28
  112. package/dist/ui/map/MapGeoJsonOverlay.d.ts +0 -15
  113. package/dist/ui/map/MapHeatmapH3.d.ts +0 -17
  114. package/dist/ui/map/MapMarkers.d.ts +0 -19
  115. package/dist/ui/map/index.d.ts +0 -5
  116. package/dist/ui/marketing/FeatureGrid.d.ts +0 -20
  117. package/dist/ui/marketing/Hero.d.ts +0 -27
  118. package/dist/ui/marketing/PricingTable.d.ts +0 -24
  119. package/dist/ui/marketing/index.d.ts +0 -4
  120. package/dist/ui/menubar.d.ts +0 -84
  121. package/dist/ui/molecules/Autocomplete/index.d.ts +0 -6
  122. package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +0 -7
  123. package/dist/ui/molecules/SearchAndFilter/index.d.ts +0 -3
  124. package/dist/ui/molecules/SearchAndFilter/types.d.ts +0 -23
  125. package/dist/ui/molecules/SkeletonList.d.ts +0 -15
  126. package/dist/ui/nav-layout.d.ts +0 -70
  127. package/dist/ui/navigation-menu.d.ts +0 -46
  128. package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +0 -29
  129. package/dist/ui/organisms/ErrorBoundary/index.d.ts +0 -2
  130. package/dist/ui/organisms/ListPage/ListPage.d.ts +0 -28
  131. package/dist/ui/organisms/ListPage/index.d.ts +0 -3
  132. package/dist/ui/organisms/ListPage/types.d.ts +0 -40
  133. package/dist/ui/page-header.d.ts +0 -26
  134. package/dist/ui/pagination.d.ts +0 -49
  135. package/dist/ui/popover.d.ts +0 -22
  136. package/dist/ui/progress.d.ts +0 -12
  137. package/dist/ui/radio-group.d.ts +0 -15
  138. package/dist/ui/resizable.d.ts +0 -35
  139. package/dist/ui/route-announcer.d.ts +0 -10
  140. package/dist/ui/scroll-area.d.ts +0 -17
  141. package/dist/ui/section.d.ts +0 -26
  142. package/dist/ui/select.d.ts +0 -51
  143. package/dist/ui/separator.d.ts +0 -13
  144. package/dist/ui/sheet.d.ts +0 -40
  145. package/dist/ui/sidebar.d.ts +0 -166
  146. package/dist/ui/skeleton.d.ts +0 -9
  147. package/dist/ui/skip-link.d.ts +0 -16
  148. package/dist/ui/slider.d.ts +0 -15
  149. package/dist/ui/sonner.d.ts +0 -9
  150. package/dist/ui/stack.d.ts +0 -47
  151. package/dist/ui/stat-card-group.d.ts +0 -18
  152. package/dist/ui/stepper.d.ts +0 -22
  153. package/dist/ui/switch.d.ts +0 -11
  154. package/dist/ui/table.d.ts +0 -38
  155. package/dist/ui/tabs.d.ts +0 -23
  156. package/dist/ui/text.d.ts +0 -15
  157. package/dist/ui/textarea.d.ts +0 -11
  158. package/dist/ui/time-picker.d.ts +0 -21
  159. package/dist/ui/toast.d.ts +0 -19
  160. package/dist/ui/toaster.d.ts +0 -6
  161. package/dist/ui/toggle-group.d.ts +0 -23
  162. package/dist/ui/toggle.d.ts +0 -19
  163. package/dist/ui/tooltip.d.ts +0 -23
  164. package/dist/ui/typography.d.ts +0 -64
  165. package/dist/ui/use-media-query.d.ts +0 -4
  166. package/dist/ui/use-mobile.d.ts +0 -4
  167. package/dist/ui/use-reduced-motion.d.ts +0 -4
  168. package/dist/ui/use-toast.d.ts +0 -49
  169. package/dist/ui/useListState.d.ts +0 -33
  170. package/dist/ui/usecases/UseCaseCard.d.ts +0 -18
  171. package/dist/ui/usecases/UserStoryCard.d.ts +0 -14
  172. package/dist/ui/usecases/index.d.ts +0 -3
  173. package/dist/ui/utils.d.ts +0 -6
  174. package/dist/ui/visually-hidden.d.ts +0 -9
@@ -1,18 +0,0 @@
1
- //#region ui/atoms/FilterSelect/types.d.ts
2
- interface FilterOption {
3
- value: string;
4
- label: string;
5
- count?: number;
6
- }
7
- interface FilterSelectProps {
8
- value: string;
9
- options: FilterOption[];
10
- onChange: (value: string) => void;
11
- placeholder?: string;
12
- label?: string;
13
- disabled?: boolean;
14
- className?: string;
15
- showCounts?: boolean;
16
- }
17
- //#endregion
18
- export { FilterOption, FilterSelectProps };
@@ -1,22 +0,0 @@
1
- import React from "react";
2
-
3
- //#region ui/atoms/LoadingSpinner/LoadingSpinner.d.ts
4
- interface LoadingSpinnerProps {
5
- size?: 'sm' | 'md' | 'lg' | 'xl';
6
- className?: string;
7
- text?: string;
8
- fullScreen?: boolean;
9
- }
10
- declare const LoadingSpinner: React.FC<LoadingSpinnerProps>;
11
- declare const SkeletonLine: React.FC<{
12
- className?: string;
13
- }>;
14
- declare const SkeletonCard: React.FC<{
15
- className?: string;
16
- }>;
17
- declare const SkeletonTable: React.FC<{
18
- rows?: number;
19
- cols?: number;
20
- }>;
21
- //#endregion
22
- export { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable };
@@ -1,2 +0,0 @@
1
- import { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable } from "./LoadingSpinner.js";
2
- export { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable };
@@ -1,7 +0,0 @@
1
- import { PaginationProps } from "./types.js";
2
- import React from "react";
3
-
4
- //#region ui/atoms/Pagination/Pagination.d.ts
5
- declare const Pagination: React.FC<PaginationProps>;
6
- //#endregion
7
- export { Pagination };
@@ -1,3 +0,0 @@
1
- import { PaginationProps } from "./types.js";
2
- import { Pagination } from "./Pagination.js";
3
- export { Pagination, type PaginationProps };
@@ -1,15 +0,0 @@
1
- //#region ui/atoms/Pagination/types.d.ts
2
- interface PaginationProps {
3
- currentPage: number;
4
- totalPages: number;
5
- totalItems: number;
6
- itemsPerPage: number;
7
- onPageChange: (page: number) => void;
8
- onItemsPerPageChange?: (itemsPerPage: number) => void;
9
- disabled?: boolean;
10
- className?: string;
11
- showItemsPerPage?: boolean;
12
- itemsPerPageOptions?: number[];
13
- }
14
- //#endregion
15
- export { PaginationProps };
@@ -1,7 +0,0 @@
1
- import { SearchInputProps } from "./types.js";
2
- import React from "react";
3
-
4
- //#region ui/atoms/SearchInput/SearchInput.d.ts
5
- declare const SearchInput: React.FC<SearchInputProps>;
6
- //#endregion
7
- export { SearchInput };
@@ -1,3 +0,0 @@
1
- import { SearchInputProps } from "./types.js";
2
- import { SearchInput } from "./SearchInput.js";
3
- export { SearchInput, type SearchInputProps };
@@ -1,12 +0,0 @@
1
- //#region ui/atoms/SearchInput/types.d.ts
2
- interface SearchInputProps {
3
- value: string;
4
- onChange: (value: string) => void;
5
- placeholder?: string;
6
- onClear?: () => void;
7
- disabled?: boolean;
8
- className?: string;
9
- autoFocus?: boolean;
10
- }
11
- //#endregion
12
- export { SearchInputProps };
@@ -1,19 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime120 from "react/jsx-runtime";
3
- import * as AvatarPrimitive from "@radix-ui/react-avatar";
4
-
5
- //#region ui/avatar.d.ts
6
- declare function Avatar({
7
- className,
8
- ...props
9
- }: React$1.ComponentProps<typeof AvatarPrimitive.Root>): react_jsx_runtime120.JSX.Element;
10
- declare function AvatarImage({
11
- className,
12
- ...props
13
- }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime120.JSX.Element;
14
- declare function AvatarFallback({
15
- className,
16
- ...props
17
- }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime120.JSX.Element;
18
- //#endregion
19
- export { Avatar, AvatarFallback, AvatarImage };
@@ -1,19 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime133 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types16 from "class-variance-authority/types";
5
-
6
- //#region ui/badge.d.ts
7
- declare const badgeVariants: (props?: ({
8
- variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
9
- } & class_variance_authority_types16.ClassProp) | undefined) => string;
10
- declare function Badge({
11
- className,
12
- variant,
13
- asChild,
14
- ...props
15
- }: React$1.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
16
- asChild?: boolean;
17
- }): react_jsx_runtime133.JSX.Element;
18
- //#endregion
19
- export { Badge, badgeVariants };
@@ -1,37 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime135 from "react/jsx-runtime";
3
-
4
- //#region ui/breadcrumb.d.ts
5
- declare function Breadcrumb({
6
- ...props
7
- }: React$1.ComponentProps<'nav'>): react_jsx_runtime135.JSX.Element;
8
- declare function BreadcrumbList({
9
- className,
10
- ...props
11
- }: React$1.ComponentProps<'ol'>): react_jsx_runtime135.JSX.Element;
12
- declare function BreadcrumbItem({
13
- className,
14
- ...props
15
- }: React$1.ComponentProps<'li'>): react_jsx_runtime135.JSX.Element;
16
- declare function BreadcrumbLink({
17
- asChild,
18
- className,
19
- ...props
20
- }: React$1.ComponentProps<'a'> & {
21
- asChild?: boolean;
22
- }): react_jsx_runtime135.JSX.Element;
23
- declare function BreadcrumbPage({
24
- className,
25
- ...props
26
- }: React$1.ComponentProps<'span'>): react_jsx_runtime135.JSX.Element;
27
- declare function BreadcrumbSeparator({
28
- children,
29
- className,
30
- ...props
31
- }: React$1.ComponentProps<'li'>): react_jsx_runtime135.JSX.Element;
32
- declare function BreadcrumbEllipsis({
33
- className,
34
- ...props
35
- }: React$1.ComponentProps<'span'>): react_jsx_runtime135.JSX.Element;
36
- //#endregion
37
- export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
@@ -1,22 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime150 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import * as class_variance_authority_types17 from "class-variance-authority/types";
5
-
6
- //#region ui/button.d.ts
7
- declare const buttonVariants: (props?: ({
8
- variant?: "default" | "destructive" | "link" | "outline" | "secondary" | "ghost" | null | undefined;
9
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
10
- } & class_variance_authority_types17.ClassProp) | undefined) => string;
11
- type ButtonProps = React$1.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
12
- asChild?: boolean;
13
- };
14
- declare function Button({
15
- className,
16
- variant,
17
- size,
18
- asChild,
19
- ...props
20
- }: ButtonProps): react_jsx_runtime150.JSX.Element;
21
- //#endregion
22
- export { Button, ButtonProps, buttonVariants };
@@ -1,26 +0,0 @@
1
- import { Button } from "./button.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime174 from "react/jsx-runtime";
4
- import { DayButton, DayPicker } from "react-day-picker";
5
-
6
- //#region ui/calendar.d.ts
7
- declare function Calendar({
8
- className,
9
- classNames,
10
- showOutsideDays,
11
- captionLayout,
12
- buttonVariant,
13
- formatters,
14
- components,
15
- ...props
16
- }: React$1.ComponentProps<typeof DayPicker> & {
17
- buttonVariant?: React$1.ComponentProps<typeof Button>['variant'];
18
- }): react_jsx_runtime174.JSX.Element;
19
- declare function CalendarDayButton({
20
- className,
21
- day,
22
- modifiers,
23
- ...props
24
- }: React$1.ComponentProps<typeof DayButton>): react_jsx_runtime174.JSX.Element;
25
- //#endregion
26
- export { Calendar, CalendarDayButton };
package/dist/ui/card.d.ts DELETED
@@ -1,34 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime177 from "react/jsx-runtime";
3
-
4
- //#region ui/card.d.ts
5
- declare function Card({
6
- className,
7
- ...props
8
- }: React$1.ComponentProps<'div'>): react_jsx_runtime177.JSX.Element;
9
- declare function CardHeader({
10
- className,
11
- ...props
12
- }: React$1.ComponentProps<'div'>): react_jsx_runtime177.JSX.Element;
13
- declare function CardTitle({
14
- className,
15
- ...props
16
- }: React$1.ComponentProps<'div'>): react_jsx_runtime177.JSX.Element;
17
- declare function CardDescription({
18
- className,
19
- ...props
20
- }: React$1.ComponentProps<'div'>): react_jsx_runtime177.JSX.Element;
21
- declare function CardAction({
22
- className,
23
- ...props
24
- }: React$1.ComponentProps<'div'>): react_jsx_runtime177.JSX.Element;
25
- declare function CardContent({
26
- className,
27
- ...props
28
- }: React$1.ComponentProps<'div'>): react_jsx_runtime177.JSX.Element;
29
- declare function CardFooter({
30
- className,
31
- ...props
32
- }: React$1.ComponentProps<'div'>): react_jsx_runtime177.JSX.Element;
33
- //#endregion
34
- export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
@@ -1,47 +0,0 @@
1
- import { Button } from "./button.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime185 from "react/jsx-runtime";
4
- import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
5
-
6
- //#region ui/carousel.d.ts
7
- type CarouselApi = UseEmblaCarouselType[1];
8
- type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
9
- type CarouselOptions = UseCarouselParameters[0];
10
- type CarouselPlugin = UseCarouselParameters[1];
11
- interface CarouselProps {
12
- opts?: CarouselOptions;
13
- plugins?: CarouselPlugin;
14
- orientation?: 'horizontal' | 'vertical';
15
- setApi?: (api: CarouselApi) => void;
16
- }
17
- declare function Carousel({
18
- orientation,
19
- opts,
20
- setApi,
21
- plugins,
22
- className,
23
- children,
24
- ...props
25
- }: React$1.ComponentProps<'div'> & CarouselProps): react_jsx_runtime185.JSX.Element;
26
- declare function CarouselContent({
27
- className,
28
- ...props
29
- }: React$1.ComponentProps<'div'>): react_jsx_runtime185.JSX.Element;
30
- declare function CarouselItem({
31
- className,
32
- ...props
33
- }: React$1.ComponentProps<'div'>): react_jsx_runtime185.JSX.Element;
34
- declare function CarouselPrevious({
35
- className,
36
- variant,
37
- size,
38
- ...props
39
- }: React$1.ComponentProps<typeof Button>): react_jsx_runtime185.JSX.Element;
40
- declare function CarouselNext({
41
- className,
42
- variant,
43
- size,
44
- ...props
45
- }: React$1.ComponentProps<typeof Button>): react_jsx_runtime185.JSX.Element;
46
- //#endregion
47
- export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
@@ -1,11 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime191 from "react/jsx-runtime";
3
- import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
4
-
5
- //#region ui/checkbox.d.ts
6
- declare function Checkbox({
7
- className,
8
- ...props
9
- }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime191.JSX.Element;
10
- //#endregion
11
- export { Checkbox };
@@ -1,15 +0,0 @@
1
- import * as react_jsx_runtime193 from "react/jsx-runtime";
2
- import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
3
-
4
- //#region ui/collapsible.d.ts
5
- declare function Collapsible({
6
- ...props
7
- }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime193.JSX.Element;
8
- declare function CollapsibleTrigger({
9
- ...props
10
- }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime193.JSX.Element;
11
- declare function CollapsibleContent({
12
- ...props
13
- }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime193.JSX.Element;
14
- //#endregion
15
- export { Collapsible, CollapsibleContent, CollapsibleTrigger };
@@ -1,52 +0,0 @@
1
- import { Dialog } from "./dialog.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime196 from "react/jsx-runtime";
4
- import { Command as Command$1 } from "cmdk";
5
-
6
- //#region ui/command.d.ts
7
- declare function Command({
8
- className,
9
- ...props
10
- }: React$1.ComponentProps<typeof Command$1>): react_jsx_runtime196.JSX.Element;
11
- declare function CommandDialog({
12
- title,
13
- description,
14
- children,
15
- className,
16
- showCloseButton,
17
- ...props
18
- }: React$1.ComponentProps<typeof Dialog> & {
19
- title?: string;
20
- description?: string;
21
- className?: string;
22
- showCloseButton?: boolean;
23
- }): react_jsx_runtime196.JSX.Element;
24
- declare function CommandInput({
25
- className,
26
- ...props
27
- }: React$1.ComponentProps<typeof Command$1.Input>): react_jsx_runtime196.JSX.Element;
28
- declare function CommandList({
29
- className,
30
- ...props
31
- }: React$1.ComponentProps<typeof Command$1.List>): react_jsx_runtime196.JSX.Element;
32
- declare function CommandEmpty({
33
- ...props
34
- }: React$1.ComponentProps<typeof Command$1.Empty>): react_jsx_runtime196.JSX.Element;
35
- declare function CommandGroup({
36
- className,
37
- ...props
38
- }: React$1.ComponentProps<typeof Command$1.Group>): react_jsx_runtime196.JSX.Element;
39
- declare function CommandSeparator({
40
- className,
41
- ...props
42
- }: React$1.ComponentProps<typeof Command$1.Separator>): react_jsx_runtime196.JSX.Element;
43
- declare function CommandItem({
44
- className,
45
- ...props
46
- }: React$1.ComponentProps<typeof Command$1.Item>): react_jsx_runtime196.JSX.Element;
47
- declare function CommandShortcut({
48
- className,
49
- ...props
50
- }: React$1.ComponentProps<'span'>): react_jsx_runtime196.JSX.Element;
51
- //#endregion
52
- export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
@@ -1,30 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime205 from "react/jsx-runtime";
3
-
4
- //#region ui/confirm-dialog.d.ts
5
- interface ConfirmDialogProps {
6
- open?: boolean;
7
- onOpenChange?: (open: boolean) => void;
8
- title: React$1.ReactNode;
9
- description?: React$1.ReactNode;
10
- confirmLabel?: string;
11
- cancelLabel?: string;
12
- variant?: 'default' | 'destructive';
13
- isLoading?: boolean;
14
- onConfirm: () => Promise<void> | void;
15
- trigger?: React$1.ReactNode;
16
- }
17
- declare function ConfirmDialog({
18
- open,
19
- onOpenChange,
20
- title,
21
- description,
22
- confirmLabel,
23
- cancelLabel,
24
- variant,
25
- isLoading,
26
- onConfirm,
27
- trigger
28
- }: ConfirmDialogProps): react_jsx_runtime205.JSX.Element;
29
- //#endregion
30
- export { ConfirmDialog, ConfirmDialogProps };
@@ -1,34 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime206 from "react/jsx-runtime";
3
- import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
4
-
5
- //#region ui/context-menu.d.ts
6
- declare const ContextMenu: React$1.FC<ContextMenuPrimitive.ContextMenuProps>;
7
- declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
8
- declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
9
- declare const ContextMenuPortal: React$1.FC<ContextMenuPrimitive.ContextMenuPortalProps>;
10
- declare const ContextMenuSub: React$1.FC<ContextMenuPrimitive.ContextMenuSubProps>;
11
- declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<ContextMenuPrimitive.ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
12
- declare const ContextMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
13
- inset?: boolean;
14
- } & React$1.RefAttributes<HTMLDivElement>>;
15
- declare const ContextMenuSubContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
16
- declare const ContextMenuContent: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
17
- declare const ContextMenuItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
18
- inset?: boolean;
19
- } & React$1.RefAttributes<HTMLDivElement>>;
20
- declare const ContextMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
21
- declare const ContextMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
22
- declare const ContextMenuLabel: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
23
- inset?: boolean;
24
- } & React$1.RefAttributes<HTMLDivElement>>;
25
- declare const ContextMenuSeparator: React$1.ForwardRefExoticComponent<Omit<ContextMenuPrimitive.ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
26
- declare const ContextMenuShortcut: {
27
- ({
28
- className,
29
- ...props
30
- }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime206.JSX.Element;
31
- displayName: string;
32
- };
33
- //#endregion
34
- export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
package/dist/ui/cta.d.ts DELETED
@@ -1,14 +0,0 @@
1
- import { ButtonProps } from "./button.js";
2
- import * as React$1 from "react";
3
-
4
- //#region ui/cta.d.ts
5
- type CtaProps = ButtonProps & {
6
- capture?: (cta: string) => void;
7
- ctaName?: string;
8
- as?: 'button' | 'a';
9
- href?: string;
10
- children?: React$1.ReactNode;
11
- };
12
- declare const Cta: React$1.ForwardRefExoticComponent<Omit<CtaProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
13
- //#endregion
14
- export { Cta, CtaProps };
@@ -1,25 +0,0 @@
1
- import * as react_jsx_runtime208 from "react/jsx-runtime";
2
-
3
- //#region ui/date-picker.d.ts
4
- interface DatePickerProps {
5
- value: Date | null;
6
- onChange: (date: Date | null) => void;
7
- disabled?: boolean;
8
- minDate?: Date;
9
- maxDate?: Date;
10
- placeholder?: string;
11
- className?: string;
12
- language?: string;
13
- }
14
- declare function DatePicker({
15
- value,
16
- onChange,
17
- disabled,
18
- minDate,
19
- maxDate,
20
- placeholder,
21
- className,
22
- language
23
- }: DatePickerProps): react_jsx_runtime208.JSX.Element;
24
- //#endregion
25
- export { DatePicker, DatePickerProps };
@@ -1,25 +0,0 @@
1
- import * as react_jsx_runtime210 from "react/jsx-runtime";
2
-
3
- //#region ui/date-range-picker.d.ts
4
- interface DateRange {
5
- start: Date | null;
6
- end: Date | null;
7
- }
8
- interface DateRangePickerProps {
9
- value: DateRange;
10
- onChange: (range: DateRange) => void;
11
- disabled?: boolean;
12
- minDate?: Date;
13
- maxDate?: Date;
14
- className?: string;
15
- }
16
- declare function DateRangePicker({
17
- value,
18
- onChange,
19
- disabled,
20
- minDate,
21
- maxDate,
22
- className
23
- }: DateRangePickerProps): react_jsx_runtime210.JSX.Element;
24
- //#endregion
25
- export { DateRange, DateRangePicker, DateRangePickerProps };
@@ -1,27 +0,0 @@
1
- import * as react_jsx_runtime212 from "react/jsx-runtime";
2
-
3
- //#region ui/datetime-picker.d.ts
4
- interface DateTimePickerProps {
5
- value: Date | null;
6
- onChange: (date: Date | null) => void;
7
- disabled?: boolean;
8
- minDate?: Date;
9
- maxDate?: Date;
10
- datePlaceholder?: string;
11
- timePlaceholder?: string;
12
- is24Hour?: boolean;
13
- className?: string;
14
- }
15
- declare function DateTimePicker({
16
- value,
17
- onChange,
18
- disabled,
19
- minDate,
20
- maxDate,
21
- datePlaceholder,
22
- timePlaceholder,
23
- is24Hour,
24
- className
25
- }: DateTimePickerProps): react_jsx_runtime212.JSX.Element;
26
- //#endregion
27
- export { DateTimePicker, DateTimePickerProps };
@@ -1,47 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime214 from "react/jsx-runtime";
3
- import * as DialogPrimitive from "@radix-ui/react-dialog";
4
-
5
- //#region ui/dialog.d.ts
6
- declare function Dialog({
7
- ...props
8
- }: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime214.JSX.Element;
9
- declare function DialogTrigger({
10
- ...props
11
- }: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime214.JSX.Element;
12
- declare function DialogPortal({
13
- ...props
14
- }: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime214.JSX.Element;
15
- declare function DialogClose({
16
- ...props
17
- }: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime214.JSX.Element;
18
- declare function DialogOverlay({
19
- className,
20
- ...props
21
- }: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime214.JSX.Element;
22
- declare function DialogContent({
23
- className,
24
- children,
25
- showCloseButton,
26
- ...props
27
- }: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
28
- showCloseButton?: boolean;
29
- }): react_jsx_runtime214.JSX.Element;
30
- declare function DialogHeader({
31
- className,
32
- ...props
33
- }: React$1.ComponentProps<'div'>): react_jsx_runtime214.JSX.Element;
34
- declare function DialogFooter({
35
- className,
36
- ...props
37
- }: React$1.ComponentProps<'div'>): react_jsx_runtime214.JSX.Element;
38
- declare function DialogTitle({
39
- className,
40
- ...props
41
- }: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime214.JSX.Element;
42
- declare function DialogDescription({
43
- className,
44
- ...props
45
- }: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime214.JSX.Element;
46
- //#endregion
47
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
@@ -1,44 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime224 from "react/jsx-runtime";
3
- import { Drawer as Drawer$1 } from "vaul";
4
-
5
- //#region ui/drawer.d.ts
6
- declare function Drawer({
7
- ...props
8
- }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime224.JSX.Element;
9
- declare function DrawerTrigger({
10
- ...props
11
- }: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime224.JSX.Element;
12
- declare function DrawerPortal({
13
- ...props
14
- }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime224.JSX.Element;
15
- declare function DrawerClose({
16
- ...props
17
- }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime224.JSX.Element;
18
- declare function DrawerOverlay({
19
- className,
20
- ...props
21
- }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime224.JSX.Element;
22
- declare function DrawerContent({
23
- className,
24
- children,
25
- ...props
26
- }: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime224.JSX.Element;
27
- declare function DrawerHeader({
28
- className,
29
- ...props
30
- }: React$1.ComponentProps<'div'>): react_jsx_runtime224.JSX.Element;
31
- declare function DrawerFooter({
32
- className,
33
- ...props
34
- }: React$1.ComponentProps<'div'>): react_jsx_runtime224.JSX.Element;
35
- declare function DrawerTitle({
36
- className,
37
- ...props
38
- }: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime224.JSX.Element;
39
- declare function DrawerDescription({
40
- className,
41
- ...props
42
- }: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime224.JSX.Element;
43
- //#endregion
44
- export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };