@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,40 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime142 from "react/jsx-runtime";
3
- import * as SheetPrimitive from "@radix-ui/react-dialog";
4
-
5
- //#region ui/sheet.d.ts
6
- declare function Sheet({
7
- ...props
8
- }: React$1.ComponentProps<typeof SheetPrimitive.Root>): react_jsx_runtime142.JSX.Element;
9
- declare function SheetTrigger({
10
- ...props
11
- }: React$1.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime142.JSX.Element;
12
- declare function SheetClose({
13
- ...props
14
- }: React$1.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime142.JSX.Element;
15
- declare function SheetContent({
16
- className,
17
- children,
18
- side,
19
- ...props
20
- }: React$1.ComponentProps<typeof SheetPrimitive.Content> & {
21
- side?: 'top' | 'right' | 'bottom' | 'left';
22
- }): react_jsx_runtime142.JSX.Element;
23
- declare function SheetHeader({
24
- className,
25
- ...props
26
- }: React$1.ComponentProps<'div'>): react_jsx_runtime142.JSX.Element;
27
- declare function SheetFooter({
28
- className,
29
- ...props
30
- }: React$1.ComponentProps<'div'>): react_jsx_runtime142.JSX.Element;
31
- declare function SheetTitle({
32
- className,
33
- ...props
34
- }: React$1.ComponentProps<typeof SheetPrimitive.Title>): react_jsx_runtime142.JSX.Element;
35
- declare function SheetDescription({
36
- className,
37
- ...props
38
- }: React$1.ComponentProps<typeof SheetPrimitive.Description>): react_jsx_runtime142.JSX.Element;
39
- //#endregion
40
- export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
@@ -1,166 +0,0 @@
1
- import { Button } from "./button.js";
2
- import { Input } from "./input.js";
3
- import { Separator } from "./separator.js";
4
- import { TooltipContent } from "./tooltip.js";
5
- import * as React$1 from "react";
6
- import * as react_jsx_runtime151 from "react/jsx-runtime";
7
- import { VariantProps } from "class-variance-authority";
8
- import * as class_variance_authority_types18 from "class-variance-authority/types";
9
-
10
- //#region ui/sidebar.d.ts
11
- interface SidebarContextProps {
12
- state: 'expanded' | 'collapsed';
13
- open: boolean;
14
- setOpen: (open: boolean) => void;
15
- openMobile: boolean;
16
- setOpenMobile: (open: boolean) => void;
17
- isMobile: boolean;
18
- toggleSidebar: () => void;
19
- }
20
- declare function useSidebar(): SidebarContextProps;
21
- declare function SidebarProvider({
22
- defaultOpen,
23
- open: openProp,
24
- onOpenChange: setOpenProp,
25
- className,
26
- style,
27
- children,
28
- ...props
29
- }: React$1.ComponentProps<'div'> & {
30
- defaultOpen?: boolean;
31
- open?: boolean;
32
- onOpenChange?: (open: boolean) => void;
33
- }): react_jsx_runtime151.JSX.Element;
34
- declare function Sidebar({
35
- side,
36
- variant,
37
- collapsible,
38
- className,
39
- children,
40
- ...props
41
- }: React$1.ComponentProps<'div'> & {
42
- side?: 'left' | 'right';
43
- variant?: 'sidebar' | 'floating' | 'inset';
44
- collapsible?: 'offcanvas' | 'icon' | 'none';
45
- }): react_jsx_runtime151.JSX.Element;
46
- declare function SidebarTrigger({
47
- className,
48
- onClick,
49
- ...props
50
- }: React$1.ComponentProps<typeof Button>): react_jsx_runtime151.JSX.Element;
51
- declare function SidebarRail({
52
- className,
53
- ...props
54
- }: React$1.ComponentProps<'button'>): react_jsx_runtime151.JSX.Element;
55
- declare function SidebarInset({
56
- className,
57
- ...props
58
- }: React$1.ComponentProps<'main'>): react_jsx_runtime151.JSX.Element;
59
- declare function SidebarInput({
60
- className,
61
- ...props
62
- }: React$1.ComponentProps<typeof Input>): react_jsx_runtime151.JSX.Element;
63
- declare function SidebarHeader({
64
- className,
65
- ...props
66
- }: React$1.ComponentProps<'div'>): react_jsx_runtime151.JSX.Element;
67
- declare function SidebarFooter({
68
- className,
69
- ...props
70
- }: React$1.ComponentProps<'div'>): react_jsx_runtime151.JSX.Element;
71
- declare function SidebarSeparator({
72
- className,
73
- ...props
74
- }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime151.JSX.Element;
75
- declare function SidebarContent({
76
- className,
77
- ...props
78
- }: React$1.ComponentProps<'div'>): react_jsx_runtime151.JSX.Element;
79
- declare function SidebarGroup({
80
- className,
81
- ...props
82
- }: React$1.ComponentProps<'div'>): react_jsx_runtime151.JSX.Element;
83
- declare function SidebarGroupLabel({
84
- className,
85
- asChild,
86
- ...props
87
- }: React$1.ComponentProps<'div'> & {
88
- asChild?: boolean;
89
- }): react_jsx_runtime151.JSX.Element;
90
- declare function SidebarGroupAction({
91
- className,
92
- asChild,
93
- ...props
94
- }: React$1.ComponentProps<'button'> & {
95
- asChild?: boolean;
96
- }): react_jsx_runtime151.JSX.Element;
97
- declare function SidebarGroupContent({
98
- className,
99
- ...props
100
- }: React$1.ComponentProps<'div'>): react_jsx_runtime151.JSX.Element;
101
- declare function SidebarMenu({
102
- className,
103
- ...props
104
- }: React$1.ComponentProps<'ul'>): react_jsx_runtime151.JSX.Element;
105
- declare function SidebarMenuItem({
106
- className,
107
- ...props
108
- }: React$1.ComponentProps<'li'>): react_jsx_runtime151.JSX.Element;
109
- declare const sidebarMenuButtonVariants: (props?: ({
110
- variant?: "default" | "outline" | null | undefined;
111
- size?: "default" | "sm" | "lg" | null | undefined;
112
- } & class_variance_authority_types18.ClassProp) | undefined) => string;
113
- declare function SidebarMenuButton({
114
- asChild,
115
- isActive,
116
- variant,
117
- size,
118
- tooltip,
119
- className,
120
- ...props
121
- }: React$1.ComponentProps<'button'> & {
122
- asChild?: boolean;
123
- isActive?: boolean;
124
- tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
125
- } & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime151.JSX.Element;
126
- declare function SidebarMenuAction({
127
- className,
128
- asChild,
129
- showOnHover,
130
- ...props
131
- }: React$1.ComponentProps<'button'> & {
132
- asChild?: boolean;
133
- showOnHover?: boolean;
134
- }): react_jsx_runtime151.JSX.Element;
135
- declare function SidebarMenuBadge({
136
- className,
137
- ...props
138
- }: React$1.ComponentProps<'div'>): react_jsx_runtime151.JSX.Element;
139
- declare function SidebarMenuSkeleton({
140
- className,
141
- showIcon,
142
- ...props
143
- }: React$1.ComponentProps<'div'> & {
144
- showIcon?: boolean;
145
- }): react_jsx_runtime151.JSX.Element;
146
- declare function SidebarMenuSub({
147
- className,
148
- ...props
149
- }: React$1.ComponentProps<'ul'>): react_jsx_runtime151.JSX.Element;
150
- declare function SidebarMenuSubItem({
151
- className,
152
- ...props
153
- }: React$1.ComponentProps<'li'>): react_jsx_runtime151.JSX.Element;
154
- declare function SidebarMenuSubButton({
155
- asChild,
156
- size,
157
- isActive,
158
- className,
159
- ...props
160
- }: React$1.ComponentProps<'a'> & {
161
- asChild?: boolean;
162
- size?: 'sm' | 'md';
163
- isActive?: boolean;
164
- }): react_jsx_runtime151.JSX.Element;
165
- //#endregion
166
- export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
@@ -1,9 +0,0 @@
1
- import * as react_jsx_runtime176 from "react/jsx-runtime";
2
-
3
- //#region ui/skeleton.d.ts
4
- declare function Skeleton({
5
- className,
6
- ...props
7
- }: React.ComponentProps<'div'>): react_jsx_runtime176.JSX.Element;
8
- //#endregion
9
- export { Skeleton };
@@ -1,16 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime184 from "react/jsx-runtime";
3
-
4
- //#region ui/skip-link.d.ts
5
- interface SkipLinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement> {
6
- targetId?: string;
7
- children?: React$1.ReactNode;
8
- }
9
- declare function SkipLink({
10
- targetId,
11
- children,
12
- className,
13
- ...props
14
- }: SkipLinkProps): react_jsx_runtime184.JSX.Element;
15
- //#endregion
16
- export { SkipLink };
@@ -1,15 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime190 from "react/jsx-runtime";
3
- import * as SliderPrimitive from "@radix-ui/react-slider";
4
-
5
- //#region ui/slider.d.ts
6
- declare function Slider({
7
- className,
8
- defaultValue,
9
- value,
10
- min,
11
- max,
12
- ...props
13
- }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime190.JSX.Element;
14
- //#endregion
15
- export { Slider };
@@ -1,9 +0,0 @@
1
- import * as react_jsx_runtime192 from "react/jsx-runtime";
2
- import { ToasterProps } from "sonner";
3
-
4
- //#region ui/sonner.d.ts
5
- declare const Toaster: ({
6
- ...props
7
- }: ToasterProps) => react_jsx_runtime192.JSX.Element;
8
- //#endregion
9
- export { Toaster };
@@ -1,47 +0,0 @@
1
- import * as React$1 from "react";
2
- import { VariantProps } from "class-variance-authority";
3
- import * as class_variance_authority_types8 from "class-variance-authority/types";
4
-
5
- //#region ui/stack.d.ts
6
- declare const vStackVariants: (props?: ({
7
- gap?: "sm" | "md" | "xs" | "none" | "lg" | "xl" | "2xl" | null | undefined;
8
- align?: "center" | "start" | "end" | "stretch" | null | undefined;
9
- justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
10
- } & class_variance_authority_types8.ClassProp) | undefined) => string;
11
- declare const VStack: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
12
- gap?: "sm" | "md" | "xs" | "none" | "lg" | "xl" | "2xl" | null | undefined;
13
- align?: "center" | "start" | "end" | "stretch" | null | undefined;
14
- justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
15
- } & class_variance_authority_types8.ClassProp) | undefined) => string> & {
16
- as?: "div" | "section" | "nav" | "main" | "header" | "footer" | "article" | "aside";
17
- } & React$1.RefAttributes<HTMLDivElement>>;
18
- declare const hStackVariants: (props?: ({
19
- gap?: "sm" | "md" | "xs" | "none" | "lg" | "xl" | "2xl" | null | undefined;
20
- align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
21
- justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
22
- wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
23
- } & class_variance_authority_types8.ClassProp) | undefined) => string;
24
- declare const HStack: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
25
- gap?: "sm" | "md" | "xs" | "none" | "lg" | "xl" | "2xl" | null | undefined;
26
- align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
27
- justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
28
- wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
29
- } & class_variance_authority_types8.ClassProp) | undefined) => string> & {
30
- as?: "div" | "section" | "nav" | "header" | "footer" | "article" | "aside";
31
- } & React$1.RefAttributes<HTMLDivElement>>;
32
- declare const boxVariants: (props?: ({
33
- gap?: "sm" | "md" | "xs" | "none" | "lg" | "xl" | "2xl" | null | undefined;
34
- align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
35
- justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
36
- wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
37
- } & class_variance_authority_types8.ClassProp) | undefined) => string;
38
- declare const Box: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
39
- gap?: "sm" | "md" | "xs" | "none" | "lg" | "xl" | "2xl" | null | undefined;
40
- align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
41
- justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
42
- wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
43
- } & class_variance_authority_types8.ClassProp) | undefined) => string> & {
44
- as?: "div" | "section" | "nav" | "header" | "footer" | "article" | "aside";
45
- } & React$1.RefAttributes<HTMLDivElement>>;
46
- //#endregion
47
- export { Box, HStack, VStack, boxVariants, hStackVariants, vStackVariants };
@@ -1,18 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime24 from "react/jsx-runtime";
3
-
4
- //#region ui/stat-card-group.d.ts
5
- interface StatItem {
6
- label: React$1.ReactNode;
7
- value: React$1.ReactNode;
8
- tone?: 'blue' | 'green' | 'amber';
9
- }
10
- declare function StatCardGroup({
11
- items,
12
- className
13
- }: {
14
- items: StatItem[];
15
- className?: string;
16
- }): react_jsx_runtime24.JSX.Element;
17
- //#endregion
18
- export { StatCardGroup, StatItem };
@@ -1,22 +0,0 @@
1
- import * as react_jsx_runtime28 from "react/jsx-runtime";
2
- import { VariantProps } from "class-variance-authority";
3
- import * as class_variance_authority_types0 from "class-variance-authority/types";
4
-
5
- //#region ui/stepper.d.ts
6
- declare const dotVariants: (props?: ({
7
- state?: "active" | "inactive" | null | undefined;
8
- size?: "sm" | "md" | null | undefined;
9
- } & class_variance_authority_types0.ClassProp) | undefined) => string;
10
- interface StepperProps extends VariantProps<typeof dotVariants> {
11
- current: number;
12
- total: number;
13
- className?: string;
14
- }
15
- declare function Stepper({
16
- current,
17
- total,
18
- size,
19
- className
20
- }: StepperProps): react_jsx_runtime28.JSX.Element;
21
- //#endregion
22
- export { Stepper, StepperProps };
@@ -1,11 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime35 from "react/jsx-runtime";
3
- import * as SwitchPrimitive from "@radix-ui/react-switch";
4
-
5
- //#region ui/switch.d.ts
6
- declare function Switch({
7
- className,
8
- ...props
9
- }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime35.JSX.Element;
10
- //#endregion
11
- export { Switch };
@@ -1,38 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime36 from "react/jsx-runtime";
3
-
4
- //#region ui/table.d.ts
5
- declare function Table({
6
- className,
7
- ...props
8
- }: React$1.ComponentProps<'table'>): react_jsx_runtime36.JSX.Element;
9
- declare function TableHeader({
10
- className,
11
- ...props
12
- }: React$1.ComponentProps<'thead'>): react_jsx_runtime36.JSX.Element;
13
- declare function TableBody({
14
- className,
15
- ...props
16
- }: React$1.ComponentProps<'tbody'>): react_jsx_runtime36.JSX.Element;
17
- declare function TableFooter({
18
- className,
19
- ...props
20
- }: React$1.ComponentProps<'tfoot'>): react_jsx_runtime36.JSX.Element;
21
- declare function TableRow({
22
- className,
23
- ...props
24
- }: React$1.ComponentProps<'tr'>): react_jsx_runtime36.JSX.Element;
25
- declare function TableHead({
26
- className,
27
- ...props
28
- }: React$1.ComponentProps<'th'>): react_jsx_runtime36.JSX.Element;
29
- declare function TableCell({
30
- className,
31
- ...props
32
- }: React$1.ComponentProps<'td'>): react_jsx_runtime36.JSX.Element;
33
- declare function TableCaption({
34
- className,
35
- ...props
36
- }: React$1.ComponentProps<'caption'>): react_jsx_runtime36.JSX.Element;
37
- //#endregion
38
- export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
package/dist/ui/tabs.d.ts DELETED
@@ -1,23 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime45 from "react/jsx-runtime";
3
- import * as TabsPrimitive from "@radix-ui/react-tabs";
4
-
5
- //#region ui/tabs.d.ts
6
- declare function Tabs({
7
- className,
8
- ...props
9
- }: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime45.JSX.Element;
10
- declare function TabsList({
11
- className,
12
- ...props
13
- }: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime45.JSX.Element;
14
- declare function TabsTrigger({
15
- className,
16
- ...props
17
- }: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime45.JSX.Element;
18
- declare function TabsContent({
19
- className,
20
- ...props
21
- }: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime45.JSX.Element;
22
- //#endregion
23
- export { Tabs, TabsContent, TabsList, TabsTrigger };
package/dist/ui/text.d.ts DELETED
@@ -1,15 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime50 from "react/jsx-runtime";
3
-
4
- //#region ui/text.d.ts
5
- type TextProps = React$1.HTMLProps<HTMLParagraphElement> & {
6
- ref?: React$1.RefObject<React$1.HTMLProps<HTMLParagraphElement>>;
7
- asChild?: boolean;
8
- };
9
- declare function Text({
10
- className,
11
- asChild,
12
- ...props
13
- }: TextProps): react_jsx_runtime50.JSX.Element;
14
- //#endregion
15
- export { Text, TextProps };
@@ -1,11 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime51 from "react/jsx-runtime";
3
-
4
- //#region ui/textarea.d.ts
5
- type TextareaProps = React$1.ComponentProps<'textarea'>;
6
- declare function Textarea({
7
- className,
8
- ...props
9
- }: TextareaProps): react_jsx_runtime51.JSX.Element;
10
- //#endregion
11
- export { Textarea, TextareaProps };
@@ -1,21 +0,0 @@
1
- import * as react_jsx_runtime53 from "react/jsx-runtime";
2
-
3
- //#region ui/time-picker.d.ts
4
- interface TimePickerProps {
5
- value: Date | null;
6
- onChange: (date: Date | null) => void;
7
- disabled?: boolean;
8
- placeholder?: string;
9
- is24Hour?: boolean;
10
- className?: string;
11
- }
12
- declare function TimePicker({
13
- value,
14
- onChange,
15
- disabled,
16
- placeholder,
17
- is24Hour,
18
- className
19
- }: TimePickerProps): react_jsx_runtime53.JSX.Element;
20
- //#endregion
21
- export { TimePicker, TimePickerProps };
@@ -1,19 +0,0 @@
1
- import * as React$1 from "react";
2
- import { VariantProps } from "class-variance-authority";
3
- import * as ToastPrimitives from "@radix-ui/react-toast";
4
- import * as class_variance_authority_types3 from "class-variance-authority/types";
5
-
6
- //#region ui/toast.d.ts
7
- declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
8
- declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
9
- declare const Toast: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
10
- variant?: "default" | "destructive" | null | undefined;
11
- } & class_variance_authority_types3.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
12
- declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
13
- declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
14
- declare const ToastTitle: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
15
- declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
16
- type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast>;
17
- type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
18
- //#endregion
19
- export { Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport };
@@ -1,6 +0,0 @@
1
- import * as react_jsx_runtime71 from "react/jsx-runtime";
2
-
3
- //#region ui/toaster.d.ts
4
- declare function Toaster(): react_jsx_runtime71.JSX.Element;
5
- //#endregion
6
- export { Toaster };
@@ -1,23 +0,0 @@
1
- import { toggleVariants } from "./toggle.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime76 from "react/jsx-runtime";
4
- import { VariantProps } from "class-variance-authority";
5
- import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
6
-
7
- //#region ui/toggle-group.d.ts
8
- declare function ToggleGroup({
9
- className,
10
- variant,
11
- size,
12
- children,
13
- ...props
14
- }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime76.JSX.Element;
15
- declare function ToggleGroupItem({
16
- className,
17
- children,
18
- variant,
19
- size,
20
- ...props
21
- }: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime76.JSX.Element;
22
- //#endregion
23
- export { ToggleGroup, ToggleGroupItem };
@@ -1,19 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime86 from "react/jsx-runtime";
3
- import { VariantProps } from "class-variance-authority";
4
- import * as TogglePrimitive from "@radix-ui/react-toggle";
5
- import * as class_variance_authority_types6 from "class-variance-authority/types";
6
-
7
- //#region ui/toggle.d.ts
8
- declare const toggleVariants: (props?: ({
9
- variant?: "default" | "outline" | null | undefined;
10
- size?: "default" | "sm" | "lg" | null | undefined;
11
- } & class_variance_authority_types6.ClassProp) | undefined) => string;
12
- declare function Toggle({
13
- className,
14
- variant,
15
- size,
16
- ...props
17
- }: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime86.JSX.Element;
18
- //#endregion
19
- export { Toggle, toggleVariants };
@@ -1,23 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime88 from "react/jsx-runtime";
3
- import * as TooltipPrimitive from "@radix-ui/react-tooltip";
4
-
5
- //#region ui/tooltip.d.ts
6
- declare function TooltipProvider({
7
- delayDuration,
8
- ...props
9
- }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime88.JSX.Element;
10
- declare function Tooltip({
11
- ...props
12
- }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime88.JSX.Element;
13
- declare function TooltipTrigger({
14
- ...props
15
- }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime88.JSX.Element;
16
- declare function TooltipContent({
17
- className,
18
- sideOffset,
19
- children,
20
- ...props
21
- }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime88.JSX.Element;
22
- //#endregion
23
- export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
@@ -1,64 +0,0 @@
1
- import { TextProps } from "./text.js";
2
- import * as react_jsx_runtime97 from "react/jsx-runtime";
3
-
4
- //#region ui/typography.d.ts
5
- type TypographyProps = TextProps & {
6
- asChild?: boolean;
7
- };
8
- declare function H1({
9
- className,
10
- asChild,
11
- ...props
12
- }: TypographyProps): react_jsx_runtime97.JSX.Element;
13
- declare function H2({
14
- className,
15
- asChild,
16
- ...props
17
- }: TypographyProps): react_jsx_runtime97.JSX.Element;
18
- declare function H3({
19
- className,
20
- asChild,
21
- ...props
22
- }: TypographyProps): react_jsx_runtime97.JSX.Element;
23
- declare function H4({
24
- className,
25
- asChild,
26
- ...props
27
- }: TypographyProps): react_jsx_runtime97.JSX.Element;
28
- declare function P({
29
- className,
30
- asChild,
31
- ...props
32
- }: TypographyProps): react_jsx_runtime97.JSX.Element;
33
- declare function BlockQuote({
34
- className,
35
- asChild,
36
- ...props
37
- }: TypographyProps): react_jsx_runtime97.JSX.Element;
38
- declare function Code({
39
- className,
40
- asChild,
41
- ...props
42
- }: TypographyProps): react_jsx_runtime97.JSX.Element;
43
- declare function Lead({
44
- className,
45
- asChild,
46
- ...props
47
- }: TypographyProps): react_jsx_runtime97.JSX.Element;
48
- declare function Large({
49
- className,
50
- asChild,
51
- ...props
52
- }: TypographyProps): react_jsx_runtime97.JSX.Element;
53
- declare function Small({
54
- className,
55
- asChild,
56
- ...props
57
- }: TypographyProps): react_jsx_runtime97.JSX.Element;
58
- declare function Muted({
59
- className,
60
- asChild,
61
- ...props
62
- }: TypographyProps): react_jsx_runtime97.JSX.Element;
63
- //#endregion
64
- export { BlockQuote, Code, H1, H2, H3, H4, Large, Lead, Muted, P, Small };
@@ -1,4 +0,0 @@
1
- //#region ui/use-media-query.d.ts
2
- declare function useMediaQuery(query: string): boolean;
3
- //#endregion
4
- export { useMediaQuery };
@@ -1,4 +0,0 @@
1
- //#region ui/use-mobile.d.ts
2
- declare function useIsMobile(): boolean;
3
- //#endregion
4
- export { useIsMobile };
@@ -1,4 +0,0 @@
1
- //#region ui/use-reduced-motion.d.ts
2
- declare function useReducedMotion(): boolean;
3
- //#endregion
4
- export { useReducedMotion };