@lssm/lib.ui-kit-web 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060433
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.
- package/dist/index.d.ts +1 -0
- package/dist/ui/accordion.d.ts +24 -0
- package/dist/ui/alert-dialog.d.ts +48 -0
- package/dist/ui/alert.d.ts +24 -0
- package/dist/ui/aspect-ratio.d.ts +7 -0
- package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +7 -0
- package/dist/ui/atoms/FilterSelect/index.d.ts +3 -0
- package/dist/ui/atoms/FilterSelect/types.d.ts +18 -0
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +22 -0
- package/dist/ui/atoms/LoadingSpinner/index.d.ts +2 -0
- package/dist/ui/atoms/Pagination/Pagination.d.ts +7 -0
- package/dist/ui/atoms/Pagination/index.d.ts +3 -0
- package/dist/ui/atoms/Pagination/types.d.ts +15 -0
- package/dist/ui/atoms/SearchInput/SearchInput.d.ts +7 -0
- package/dist/ui/atoms/SearchInput/index.d.ts +3 -0
- package/dist/ui/atoms/SearchInput/types.d.ts +12 -0
- package/dist/ui/avatar.d.ts +19 -0
- package/dist/ui/badge.d.ts +19 -0
- package/dist/ui/breadcrumb.d.ts +37 -0
- package/dist/ui/button.d.ts +20 -0
- package/dist/ui/calendar.d.ts +26 -0
- package/dist/ui/calendar.js +1 -1
- package/dist/ui/card.d.ts +34 -0
- package/dist/ui/carousel.d.ts +47 -0
- package/dist/ui/checkbox.d.ts +11 -0
- package/dist/ui/collapsible.d.ts +15 -0
- package/dist/ui/command.d.ts +52 -0
- package/dist/ui/confirm-dialog.d.ts +30 -0
- package/dist/ui/context-menu.d.ts +34 -0
- package/dist/ui/cta.d.ts +22 -0
- package/dist/ui/date-picker.d.ts +25 -0
- package/dist/ui/date-range-picker.d.ts +25 -0
- package/dist/ui/datetime-picker.d.ts +27 -0
- package/dist/ui/dialog.d.ts +47 -0
- package/dist/ui/drawer.d.ts +44 -0
- package/dist/ui/dropdown-menu.d.ts +77 -0
- package/dist/ui/empty-state.d.ts +28 -0
- package/dist/ui/empty.d.ts +36 -0
- package/dist/ui/field.d.ts +65 -0
- package/dist/ui/focus-on-route-change.d.ts +8 -0
- package/dist/ui/form.d.ts +46 -0
- package/dist/ui/hover-card.d.ts +19 -0
- package/dist/ui/input-group.d.ts +43 -0
- package/dist/ui/input-otp.d.ts +38 -0
- package/dist/ui/input.d.ts +12 -0
- package/dist/ui/label.d.ts +11 -0
- package/dist/ui/link.d.ts +8 -0
- package/dist/ui/live-region.d.ts +16 -0
- package/dist/ui/loading-button.d.ts +19 -0
- package/dist/ui/map/MapBase.d.ts +28 -0
- package/dist/ui/map/MapGeoJsonOverlay.d.ts +15 -0
- package/dist/ui/map/MapHeatmapH3.d.ts +17 -0
- package/dist/ui/map/MapMarkers.d.ts +19 -0
- package/dist/ui/map/index.d.ts +5 -0
- package/dist/ui/marketing/FeatureGrid.d.ts +20 -0
- package/dist/ui/marketing/Hero.d.ts +27 -0
- package/dist/ui/marketing/PricingTable.d.ts +24 -0
- package/dist/ui/marketing/index.d.ts +4 -0
- package/dist/ui/menubar.d.ts +84 -0
- package/dist/ui/molecules/Autocomplete/index.d.ts +6 -0
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +7 -0
- package/dist/ui/molecules/SearchAndFilter/index.d.ts +3 -0
- package/dist/ui/molecules/SearchAndFilter/types.d.ts +23 -0
- package/dist/ui/molecules/SkeletonList.d.ts +15 -0
- package/dist/ui/nav-layout.d.ts +70 -0
- package/dist/ui/navigation-menu.d.ts +46 -0
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +29 -0
- package/dist/ui/organisms/ErrorBoundary/index.d.ts +2 -0
- package/dist/ui/organisms/ListPage/ListPage.d.ts +28 -0
- package/dist/ui/organisms/ListPage/index.d.ts +3 -0
- package/dist/ui/organisms/ListPage/types.d.ts +40 -0
- package/dist/ui/page-header.d.ts +26 -0
- package/dist/ui/pagination.d.ts +49 -0
- package/dist/ui/popover.d.ts +22 -0
- package/dist/ui/progress.d.ts +12 -0
- package/dist/ui/radio-group.d.ts +15 -0
- package/dist/ui/resizable.d.ts +35 -0
- package/dist/ui/route-announcer.d.ts +10 -0
- package/dist/ui/scroll-area.d.ts +17 -0
- package/dist/ui/section.d.ts +26 -0
- package/dist/ui/select.d.ts +51 -0
- package/dist/ui/separator.d.ts +13 -0
- package/dist/ui/sheet.d.ts +40 -0
- package/dist/ui/sidebar.d.ts +166 -0
- package/dist/ui/skeleton.d.ts +10 -0
- package/dist/ui/skip-link.d.ts +16 -0
- package/dist/ui/slider.d.ts +15 -0
- package/dist/ui/sonner.d.ts +9 -0
- package/dist/ui/stack.d.ts +47 -0
- package/dist/ui/stat-card-group.d.ts +18 -0
- package/dist/ui/stepper.d.ts +22 -0
- package/dist/ui/switch.d.ts +14 -0
- package/dist/ui/table.d.ts +38 -0
- package/dist/ui/tabs.d.ts +23 -0
- package/dist/ui/text.d.ts +14 -0
- package/dist/ui/textarea.d.ts +11 -0
- package/dist/ui/time-picker.d.ts +21 -0
- package/dist/ui/toast.d.ts +19 -0
- package/dist/ui/toaster.d.ts +6 -0
- package/dist/ui/toggle-group.d.ts +23 -0
- package/dist/ui/toggle.d.ts +19 -0
- package/dist/ui/tooltip.d.ts +23 -0
- package/dist/ui/typography.d.ts +64 -0
- package/dist/ui/use-media-query.d.ts +4 -0
- package/dist/ui/use-mobile.d.ts +4 -0
- package/dist/ui/use-reduced-motion.d.ts +4 -0
- package/dist/ui/use-toast.d.ts +49 -0
- package/dist/ui/useListState.d.ts +33 -0
- package/dist/ui/usecases/UseCaseCard.d.ts +18 -0
- package/dist/ui/usecases/UserStoryCard.d.ts +14 -0
- package/dist/ui/usecases/index.d.ts +3 -0
- package/dist/ui/utils.d.ts +6 -0
- package/dist/ui/visually-hidden.d.ts +9 -0
- package/package.json +116 -116
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as react_jsx_runtime88 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_runtime88.JSX.Element;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { DateRange, DateRangePicker, DateRangePickerProps };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as react_jsx_runtime92 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_runtime92.JSX.Element;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { DateTimePicker, DateTimePickerProps };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime67 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_runtime67.JSX.Element;
|
|
9
|
+
declare function DialogTrigger({
|
|
10
|
+
...props
|
|
11
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime67.JSX.Element;
|
|
12
|
+
declare function DialogPortal({
|
|
13
|
+
...props
|
|
14
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime67.JSX.Element;
|
|
15
|
+
declare function DialogClose({
|
|
16
|
+
...props
|
|
17
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime67.JSX.Element;
|
|
18
|
+
declare function DialogOverlay({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime67.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_runtime67.JSX.Element;
|
|
30
|
+
declare function DialogHeader({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime67.JSX.Element;
|
|
34
|
+
declare function DialogFooter({
|
|
35
|
+
className,
|
|
36
|
+
...props
|
|
37
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime67.JSX.Element;
|
|
38
|
+
declare function DialogTitle({
|
|
39
|
+
className,
|
|
40
|
+
...props
|
|
41
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime67.JSX.Element;
|
|
42
|
+
declare function DialogDescription({
|
|
43
|
+
className,
|
|
44
|
+
...props
|
|
45
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime67.JSX.Element;
|
|
46
|
+
//#endregion
|
|
47
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime77 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_runtime77.JSX.Element;
|
|
9
|
+
declare function DrawerTrigger({
|
|
10
|
+
...props
|
|
11
|
+
}: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime77.JSX.Element;
|
|
12
|
+
declare function DrawerPortal({
|
|
13
|
+
...props
|
|
14
|
+
}: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime77.JSX.Element;
|
|
15
|
+
declare function DrawerClose({
|
|
16
|
+
...props
|
|
17
|
+
}: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime77.JSX.Element;
|
|
18
|
+
declare function DrawerOverlay({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime77.JSX.Element;
|
|
22
|
+
declare function DrawerContent({
|
|
23
|
+
className,
|
|
24
|
+
children,
|
|
25
|
+
...props
|
|
26
|
+
}: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime77.JSX.Element;
|
|
27
|
+
declare function DrawerHeader({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime77.JSX.Element;
|
|
31
|
+
declare function DrawerFooter({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime77.JSX.Element;
|
|
35
|
+
declare function DrawerTitle({
|
|
36
|
+
className,
|
|
37
|
+
...props
|
|
38
|
+
}: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime77.JSX.Element;
|
|
39
|
+
declare function DrawerDescription({
|
|
40
|
+
className,
|
|
41
|
+
...props
|
|
42
|
+
}: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime77.JSX.Element;
|
|
43
|
+
//#endregion
|
|
44
|
+
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime253 from "react/jsx-runtime";
|
|
3
|
+
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
4
|
+
|
|
5
|
+
//#region ui/dropdown-menu.d.ts
|
|
6
|
+
declare function DropdownMenu({
|
|
7
|
+
...props
|
|
8
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime253.JSX.Element;
|
|
9
|
+
declare function DropdownMenuPortal({
|
|
10
|
+
...props
|
|
11
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime253.JSX.Element;
|
|
12
|
+
declare function DropdownMenuTrigger({
|
|
13
|
+
...props
|
|
14
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime253.JSX.Element;
|
|
15
|
+
declare function DropdownMenuContent({
|
|
16
|
+
className,
|
|
17
|
+
sideOffset,
|
|
18
|
+
...props
|
|
19
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime253.JSX.Element;
|
|
20
|
+
declare function DropdownMenuGroup({
|
|
21
|
+
...props
|
|
22
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime253.JSX.Element;
|
|
23
|
+
declare function DropdownMenuItem({
|
|
24
|
+
className,
|
|
25
|
+
inset,
|
|
26
|
+
variant,
|
|
27
|
+
...props
|
|
28
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
29
|
+
inset?: boolean;
|
|
30
|
+
variant?: 'default' | 'destructive';
|
|
31
|
+
}): react_jsx_runtime253.JSX.Element;
|
|
32
|
+
declare function DropdownMenuCheckboxItem({
|
|
33
|
+
className,
|
|
34
|
+
children,
|
|
35
|
+
checked,
|
|
36
|
+
...props
|
|
37
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime253.JSX.Element;
|
|
38
|
+
declare function DropdownMenuRadioGroup({
|
|
39
|
+
...props
|
|
40
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime253.JSX.Element;
|
|
41
|
+
declare function DropdownMenuRadioItem({
|
|
42
|
+
className,
|
|
43
|
+
children,
|
|
44
|
+
...props
|
|
45
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime253.JSX.Element;
|
|
46
|
+
declare function DropdownMenuLabel({
|
|
47
|
+
className,
|
|
48
|
+
inset,
|
|
49
|
+
...props
|
|
50
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
51
|
+
inset?: boolean;
|
|
52
|
+
}): react_jsx_runtime253.JSX.Element;
|
|
53
|
+
declare function DropdownMenuSeparator({
|
|
54
|
+
className,
|
|
55
|
+
...props
|
|
56
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime253.JSX.Element;
|
|
57
|
+
declare function DropdownMenuShortcut({
|
|
58
|
+
className,
|
|
59
|
+
...props
|
|
60
|
+
}: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime253.JSX.Element;
|
|
61
|
+
declare function DropdownMenuSub({
|
|
62
|
+
...props
|
|
63
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime253.JSX.Element;
|
|
64
|
+
declare function DropdownMenuSubTrigger({
|
|
65
|
+
className,
|
|
66
|
+
inset,
|
|
67
|
+
children,
|
|
68
|
+
...props
|
|
69
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
70
|
+
inset?: boolean;
|
|
71
|
+
}): react_jsx_runtime253.JSX.Element;
|
|
72
|
+
declare function DropdownMenuSubContent({
|
|
73
|
+
className,
|
|
74
|
+
...props
|
|
75
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime253.JSX.Element;
|
|
76
|
+
//#endregion
|
|
77
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime228 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import * as class_variance_authority_types20 from "class-variance-authority/types";
|
|
5
|
+
|
|
6
|
+
//#region ui/empty-state.d.ts
|
|
7
|
+
declare const containerVariants: (props?: ({
|
|
8
|
+
density?: "default" | "compact" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string;
|
|
10
|
+
interface EmptyStateProps extends VariantProps<typeof containerVariants> {
|
|
11
|
+
icon?: React$1.ReactNode;
|
|
12
|
+
title: React$1.ReactNode;
|
|
13
|
+
description?: React$1.ReactNode;
|
|
14
|
+
primaryAction?: React$1.ReactNode;
|
|
15
|
+
secondaryAction?: React$1.ReactNode;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
declare function EmptyState({
|
|
19
|
+
icon,
|
|
20
|
+
title,
|
|
21
|
+
description,
|
|
22
|
+
primaryAction,
|
|
23
|
+
secondaryAction,
|
|
24
|
+
className,
|
|
25
|
+
density
|
|
26
|
+
}: EmptyStateProps): react_jsx_runtime228.JSX.Element;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { EmptyState, EmptyStateProps };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime240 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import * as class_variance_authority_types21 from "class-variance-authority/types";
|
|
5
|
+
|
|
6
|
+
//#region ui/empty.d.ts
|
|
7
|
+
declare function Empty({
|
|
8
|
+
className,
|
|
9
|
+
...props
|
|
10
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime240.JSX.Element;
|
|
11
|
+
declare function EmptyHeader({
|
|
12
|
+
className,
|
|
13
|
+
...props
|
|
14
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime240.JSX.Element;
|
|
15
|
+
declare const emptyMediaVariants: (props?: ({
|
|
16
|
+
variant?: "default" | "icon" | null | undefined;
|
|
17
|
+
} & class_variance_authority_types21.ClassProp) | undefined) => string;
|
|
18
|
+
declare function EmptyMedia({
|
|
19
|
+
className,
|
|
20
|
+
variant,
|
|
21
|
+
...props
|
|
22
|
+
}: React$1.ComponentPropsWithoutRef<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime240.JSX.Element;
|
|
23
|
+
declare function EmptyTitle({
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime240.JSX.Element;
|
|
27
|
+
declare function EmptyDescription({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: React$1.ComponentPropsWithoutRef<'p'>): react_jsx_runtime240.JSX.Element;
|
|
31
|
+
declare function EmptyContent({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime240.JSX.Element;
|
|
35
|
+
//#endregion
|
|
36
|
+
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Label } from "./label.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
6
|
+
|
|
7
|
+
//#region ui/field.d.ts
|
|
8
|
+
declare function FieldSet({
|
|
9
|
+
className,
|
|
10
|
+
...props
|
|
11
|
+
}: React$1.ComponentPropsWithoutRef<'fieldset'>): react_jsx_runtime3.JSX.Element;
|
|
12
|
+
declare function FieldLegend({
|
|
13
|
+
className,
|
|
14
|
+
variant,
|
|
15
|
+
...props
|
|
16
|
+
}: React$1.ComponentPropsWithoutRef<'legend'> & {
|
|
17
|
+
variant?: 'legend' | 'label';
|
|
18
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
19
|
+
declare function FieldGroup({
|
|
20
|
+
className,
|
|
21
|
+
...props
|
|
22
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime3.JSX.Element;
|
|
23
|
+
declare const fieldVariants: (props?: ({
|
|
24
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
25
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
26
|
+
declare function Field({
|
|
27
|
+
className,
|
|
28
|
+
orientation,
|
|
29
|
+
...props
|
|
30
|
+
}: React$1.ComponentPropsWithoutRef<'div'> & VariantProps<typeof fieldVariants>): react_jsx_runtime3.JSX.Element;
|
|
31
|
+
declare function FieldContent({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime3.JSX.Element;
|
|
35
|
+
declare function FieldLabel({
|
|
36
|
+
className,
|
|
37
|
+
...props
|
|
38
|
+
}: React$1.ComponentPropsWithoutRef<typeof Label>): react_jsx_runtime3.JSX.Element;
|
|
39
|
+
declare function FieldTitle({
|
|
40
|
+
className,
|
|
41
|
+
...props
|
|
42
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime3.JSX.Element;
|
|
43
|
+
declare function FieldDescription({
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: React$1.ComponentPropsWithoutRef<'p'>): react_jsx_runtime3.JSX.Element;
|
|
47
|
+
declare function FieldSeparator({
|
|
48
|
+
children,
|
|
49
|
+
className,
|
|
50
|
+
...props
|
|
51
|
+
}: React$1.ComponentPropsWithoutRef<'div'> & {
|
|
52
|
+
children?: React$1.ReactNode;
|
|
53
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
54
|
+
declare function FieldError({
|
|
55
|
+
className,
|
|
56
|
+
children,
|
|
57
|
+
errors,
|
|
58
|
+
...props
|
|
59
|
+
}: React$1.ComponentPropsWithoutRef<'div'> & {
|
|
60
|
+
errors?: ({
|
|
61
|
+
message?: string;
|
|
62
|
+
} | undefined)[];
|
|
63
|
+
}): react_jsx_runtime3.JSX.Element | null;
|
|
64
|
+
//#endregion
|
|
65
|
+
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime246 from "react/jsx-runtime";
|
|
3
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
4
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
5
|
+
import * as react_hook_form0 from "react-hook-form";
|
|
6
|
+
import { ControllerProps, FieldPath, FieldValues, UseFormReturn, useFieldArray, useForm } from "react-hook-form";
|
|
7
|
+
import { zodResolver } from "@hookform/resolvers/zod";
|
|
8
|
+
|
|
9
|
+
//#region ui/form.d.ts
|
|
10
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
11
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
12
|
+
...props
|
|
13
|
+
}: ControllerProps<TFieldValues, TName>) => react_jsx_runtime246.JSX.Element;
|
|
14
|
+
declare const useFormField: () => {
|
|
15
|
+
invalid: boolean;
|
|
16
|
+
isDirty: boolean;
|
|
17
|
+
isTouched: boolean;
|
|
18
|
+
isValidating: boolean;
|
|
19
|
+
error?: react_hook_form0.FieldError;
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
formItemId: string;
|
|
23
|
+
formDescriptionId: string;
|
|
24
|
+
formMessageId: string;
|
|
25
|
+
};
|
|
26
|
+
declare function FormItem({
|
|
27
|
+
className,
|
|
28
|
+
...props
|
|
29
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime246.JSX.Element;
|
|
30
|
+
declare function FormLabel({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React$1.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>): react_jsx_runtime246.JSX.Element;
|
|
34
|
+
declare function FormControl({
|
|
35
|
+
...props
|
|
36
|
+
}: React$1.ComponentPropsWithoutRef<typeof Slot>): react_jsx_runtime246.JSX.Element;
|
|
37
|
+
declare function FormDescription({
|
|
38
|
+
className,
|
|
39
|
+
...props
|
|
40
|
+
}: React$1.ComponentPropsWithoutRef<'p'>): react_jsx_runtime246.JSX.Element;
|
|
41
|
+
declare function FormMessage({
|
|
42
|
+
className,
|
|
43
|
+
...props
|
|
44
|
+
}: React$1.ComponentPropsWithoutRef<'p'>): react_jsx_runtime246.JSX.Element | null;
|
|
45
|
+
//#endregion
|
|
46
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type UseFormReturn, useFieldArray, useForm, useFormField, zodResolver };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime216 from "react/jsx-runtime";
|
|
3
|
+
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
|
|
4
|
+
|
|
5
|
+
//#region ui/hover-card.d.ts
|
|
6
|
+
declare function HoverCard({
|
|
7
|
+
...props
|
|
8
|
+
}: React$1.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime216.JSX.Element;
|
|
9
|
+
declare function HoverCardTrigger({
|
|
10
|
+
...props
|
|
11
|
+
}: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime216.JSX.Element;
|
|
12
|
+
declare function HoverCardContent({
|
|
13
|
+
className,
|
|
14
|
+
align,
|
|
15
|
+
sideOffset,
|
|
16
|
+
...props
|
|
17
|
+
}: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime216.JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Button } from "./button.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import * as react_jsx_runtime220 from "react/jsx-runtime";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import * as class_variance_authority_types18 from "class-variance-authority/types";
|
|
6
|
+
|
|
7
|
+
//#region ui/input-group.d.ts
|
|
8
|
+
declare function InputGroup({
|
|
9
|
+
className,
|
|
10
|
+
...props
|
|
11
|
+
}: React$1.ComponentPropsWithoutRef<'div'>): react_jsx_runtime220.JSX.Element;
|
|
12
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
13
|
+
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
14
|
+
} & class_variance_authority_types18.ClassProp) | undefined) => string;
|
|
15
|
+
declare function InputGroupAddon({
|
|
16
|
+
className,
|
|
17
|
+
align,
|
|
18
|
+
...props
|
|
19
|
+
}: React$1.ComponentPropsWithoutRef<'div'> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime220.JSX.Element;
|
|
20
|
+
declare const inputGroupButtonVariants: (props?: ({
|
|
21
|
+
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
22
|
+
} & class_variance_authority_types18.ClassProp) | undefined) => string;
|
|
23
|
+
declare function InputGroupButton({
|
|
24
|
+
className,
|
|
25
|
+
type,
|
|
26
|
+
variant,
|
|
27
|
+
size,
|
|
28
|
+
...props
|
|
29
|
+
}: Omit<React$1.ComponentProps<typeof Button>, 'size'> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime220.JSX.Element;
|
|
30
|
+
declare function InputGroupText({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React$1.ComponentPropsWithoutRef<'span'>): react_jsx_runtime220.JSX.Element;
|
|
34
|
+
declare function InputGroupInput({
|
|
35
|
+
className,
|
|
36
|
+
...props
|
|
37
|
+
}: React$1.ComponentPropsWithoutRef<'input'>): react_jsx_runtime220.JSX.Element;
|
|
38
|
+
declare function InputGroupTextarea({
|
|
39
|
+
className,
|
|
40
|
+
...props
|
|
41
|
+
}: React$1.ComponentPropsWithoutRef<'textarea'>): react_jsx_runtime220.JSX.Element;
|
|
42
|
+
//#endregion
|
|
43
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as input_otp0 from "input-otp";
|
|
3
|
+
|
|
4
|
+
//#region ui/input-otp.d.ts
|
|
5
|
+
declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
6
|
+
value?: string;
|
|
7
|
+
onChange?: (newValue: string) => unknown;
|
|
8
|
+
maxLength: number;
|
|
9
|
+
textAlign?: "left" | "center" | "right";
|
|
10
|
+
onComplete?: (...args: any[]) => unknown;
|
|
11
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
12
|
+
pasteTransformer?: (pasted: string) => string;
|
|
13
|
+
containerClassName?: string;
|
|
14
|
+
noScriptCSSFallback?: string | null;
|
|
15
|
+
} & {
|
|
16
|
+
render: (props: input_otp0.RenderProps) => React$1.ReactNode;
|
|
17
|
+
children?: never;
|
|
18
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
19
|
+
value?: string;
|
|
20
|
+
onChange?: (newValue: string) => unknown;
|
|
21
|
+
maxLength: number;
|
|
22
|
+
textAlign?: "left" | "center" | "right";
|
|
23
|
+
onComplete?: (...args: any[]) => unknown;
|
|
24
|
+
pushPasswordManagerStrategy?: "increase-width" | "none";
|
|
25
|
+
pasteTransformer?: (pasted: string) => string;
|
|
26
|
+
containerClassName?: string;
|
|
27
|
+
noScriptCSSFallback?: string | null;
|
|
28
|
+
} & {
|
|
29
|
+
render?: never;
|
|
30
|
+
children: React$1.ReactNode;
|
|
31
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref">) & React$1.RefAttributes<HTMLInputElement>>;
|
|
32
|
+
declare const InputOTPGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
33
|
+
declare const InputOTPSlot: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
34
|
+
index: number;
|
|
35
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
37
|
+
//#endregion
|
|
38
|
+
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime227 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region ui/input.d.ts
|
|
5
|
+
type InputProps = React$1.ComponentPropsWithoutRef<'input'>;
|
|
6
|
+
declare function Input({
|
|
7
|
+
className,
|
|
8
|
+
type,
|
|
9
|
+
...props
|
|
10
|
+
}: InputProps): react_jsx_runtime227.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { Input, InputProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime252 from "react/jsx-runtime";
|
|
3
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
4
|
+
|
|
5
|
+
//#region ui/label.d.ts
|
|
6
|
+
declare function Label({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime252.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { Label };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime138 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region ui/live-region.d.ts
|
|
5
|
+
type LiveRegionPoliteness = 'polite' | 'assertive';
|
|
6
|
+
interface SRLiveRegionContextValue {
|
|
7
|
+
announce: (text: string, politeness?: LiveRegionPoliteness) => void;
|
|
8
|
+
}
|
|
9
|
+
declare function useSRLiveRegion(): SRLiveRegionContextValue;
|
|
10
|
+
declare function SRLiveRegionProvider({
|
|
11
|
+
children
|
|
12
|
+
}: {
|
|
13
|
+
children: React$1.ReactNode;
|
|
14
|
+
}): react_jsx_runtime138.JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { LiveRegionPoliteness, SRLiveRegionProvider, useSRLiveRegion };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ButtonProps } from "./button.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import * as react_jsx_runtime132 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region ui/loading-button.d.ts
|
|
6
|
+
interface LoadingButtonProps extends ButtonProps {
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
loadingText?: string;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
declare function LoadingButton({
|
|
12
|
+
isLoading,
|
|
13
|
+
loadingText,
|
|
14
|
+
children,
|
|
15
|
+
disabled,
|
|
16
|
+
...props
|
|
17
|
+
}: LoadingButtonProps): react_jsx_runtime132.JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { LoadingButton };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from "react";
|
|
2
|
+
import * as react_jsx_runtime123 from "react/jsx-runtime";
|
|
3
|
+
import { MapRef } from "react-map-gl/maplibre";
|
|
4
|
+
|
|
5
|
+
//#region ui/map/MapBase.d.ts
|
|
6
|
+
interface BBox {
|
|
7
|
+
minLng: number;
|
|
8
|
+
minLat: number;
|
|
9
|
+
maxLng: number;
|
|
10
|
+
maxLat: number;
|
|
11
|
+
}
|
|
12
|
+
interface MapBaseProps {
|
|
13
|
+
initialViewState?: {
|
|
14
|
+
longitude: number;
|
|
15
|
+
latitude: number;
|
|
16
|
+
zoom: number;
|
|
17
|
+
};
|
|
18
|
+
styleUrl?: string;
|
|
19
|
+
style?: CSSProperties;
|
|
20
|
+
showControls?: boolean;
|
|
21
|
+
showCssLink?: boolean;
|
|
22
|
+
onMoveEnd?: (bbox: BBox) => void;
|
|
23
|
+
onMapRef?: (ref: MapRef | null) => void;
|
|
24
|
+
children?: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
declare function MapBase(props: MapBaseProps): react_jsx_runtime123.JSX.Element;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { BBox, MapBase, MapBase as default, MapBaseProps };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime124 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region ui/map/MapGeoJsonOverlay.d.ts
|
|
4
|
+
interface GeoJsonOverlayProps {
|
|
5
|
+
id?: string;
|
|
6
|
+
data: GeoJSON.FeatureCollection;
|
|
7
|
+
fillColor?: string;
|
|
8
|
+
fillOpacity?: number;
|
|
9
|
+
lineColor?: string;
|
|
10
|
+
lineWidth?: number;
|
|
11
|
+
lineOpacity?: number;
|
|
12
|
+
}
|
|
13
|
+
declare function MapGeoJsonOverlay(props: GeoJsonOverlayProps): react_jsx_runtime124.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { GeoJsonOverlayProps, MapGeoJsonOverlay, MapGeoJsonOverlay as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as react_jsx_runtime127 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region ui/map/MapHeatmapH3.d.ts
|
|
4
|
+
interface H3FeatureProperties {
|
|
5
|
+
id: string;
|
|
6
|
+
h3Index?: string;
|
|
7
|
+
count: number;
|
|
8
|
+
}
|
|
9
|
+
interface H3HeatmapProps {
|
|
10
|
+
id?: string;
|
|
11
|
+
data: GeoJSON.FeatureCollection<GeoJSON.Polygon | GeoJSON.MultiPolygon, H3FeatureProperties>;
|
|
12
|
+
colorStops?: [number, string][];
|
|
13
|
+
maxCount?: number;
|
|
14
|
+
}
|
|
15
|
+
declare function MapHeatmapH3(props: H3HeatmapProps): react_jsx_runtime127.JSX.Element;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { H3FeatureProperties, H3HeatmapProps, MapHeatmapH3, MapHeatmapH3 as default };
|