@lssm/lib.ui-kit 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060804
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 +4 -0
- package/dist/ui/accordion.d.ts +35 -0
- package/dist/ui/alert-dialog.d.ts +71 -0
- package/dist/ui/alert.d.ts +36 -0
- package/dist/ui/aspect-ratio.d.ts +11 -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 +27 -0
- package/dist/ui/badge.d.ts +21 -0
- package/dist/ui/breadcrumb.d.ts +38 -0
- package/dist/ui/button.d.ts +25 -0
- package/dist/ui/card.d.ts +43 -0
- package/dist/ui/carousel.d.ts +4 -0
- package/dist/ui/checkbox.d.ts +16 -0
- package/dist/ui/collapsible.d.ts +24 -0
- package/dist/ui/command.d.ts +4 -0
- package/dist/ui/context-menu.d.ts +109 -0
- package/dist/ui/date-picker.d.ts +23 -0
- package/dist/ui/date-range-picker.d.ts +30 -0
- package/dist/ui/datetime-picker.d.ts +27 -0
- package/dist/ui/dialog.d.ts +68 -0
- package/dist/ui/dropdown-menu.d.ts +111 -0
- package/dist/ui/empty-state.d.ts +28 -0
- package/dist/ui/empty.d.ts +36 -0
- package/dist/ui/fab.d.ts +35 -0
- package/dist/ui/field.d.ts +66 -0
- package/dist/ui/form.d.ts +49 -0
- package/dist/ui/hover-card.d.ts +29 -0
- package/dist/ui/icons/Check.d.ts +2 -0
- package/dist/ui/icons/ChevronDown.d.ts +2 -0
- package/dist/ui/icons/ChevronRight.d.ts +2 -0
- package/dist/ui/icons/ChevronUp.d.ts +2 -0
- package/dist/ui/icons/CircleUser.d.ts +2 -0
- package/dist/ui/icons/Info.d.ts +2 -0
- package/dist/ui/icons/Key.d.ts +2 -0
- package/dist/ui/icons/MoonStar.d.ts +2 -0
- package/dist/ui/icons/Sun.d.ts +2 -0
- package/dist/ui/icons/X.d.ts +2 -0
- package/dist/ui/icons/iconWithClassName.d.ts +6 -0
- package/dist/ui/input.d.ts +14 -0
- package/dist/ui/label.d.ts +15 -0
- package/dist/ui/link.d.ts +13 -0
- package/dist/ui/loading-button.d.ts +19 -0
- package/dist/ui/loading-overlay.d.ts +15 -0
- package/dist/ui/loading-screen.d.ts +13 -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 +114 -0
- package/dist/ui/molecules/Autocomplete/index.d.ts +4 -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 +24 -0
- package/dist/ui/molecules/SkeletonList.d.ts +15 -0
- package/dist/ui/nativewind-env.d.ts +1 -0
- package/dist/ui/navigation-menu.d.ts +67 -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 +41 -0
- package/dist/ui/page-header.d.ts +26 -0
- package/dist/ui/password-strength.d.ts +20 -0
- package/dist/ui/popover.d.ts +29 -0
- package/dist/ui/progress.d.ts +16 -0
- package/dist/ui/radio-group.d.ts +14 -0
- package/dist/ui/select.d.ts +83 -0
- package/dist/ui/separator.d.ts +15 -0
- package/dist/ui/sheet.d.ts +4 -0
- package/dist/ui/sidebar.d.ts +4 -0
- package/dist/ui/skeleton.d.ts +11 -0
- package/dist/ui/stack.d.ts +76 -0
- package/dist/ui/stepper.d.ts +22 -0
- package/dist/ui/switch.d.ts +14 -0
- package/dist/ui/table.d.ts +50 -0
- package/dist/ui/tabs.d.ts +32 -0
- package/dist/ui/text.d.ts +20 -0
- package/dist/ui/textarea.d.ts +9 -0
- package/dist/ui/time-picker.d.ts +21 -0
- package/dist/ui/toggle-group.d.ts +35 -0
- package/dist/ui/toggle.d.ts +33 -0
- package/dist/ui/tooltip.d.ts +31 -0
- package/dist/ui/typography.d.ts +64 -0
- package/dist/ui/useColorScheme.d.ts +11 -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/package.json +101 -101
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/ui/nativewind-env.d.js +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as react_jsx_runtime9 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_runtime9.JSX.Element;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { DateTimePicker, DateTimePickerProps };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_native24 from "react-native";
|
|
3
|
+
import { View, ViewProps } from "react-native";
|
|
4
|
+
import * as react_jsx_runtime66 from "react/jsx-runtime";
|
|
5
|
+
import * as DialogPrimitive from "@rn-primitives/dialog";
|
|
6
|
+
|
|
7
|
+
//#region ui/dialog.d.ts
|
|
8
|
+
declare const Dialog: React$1.ForwardRefExoticComponent<ViewProps & {
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
} & {
|
|
11
|
+
open?: boolean;
|
|
12
|
+
defaultOpen?: boolean;
|
|
13
|
+
onOpenChange?: (value: boolean) => void;
|
|
14
|
+
} & React$1.RefAttributes<View>>;
|
|
15
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<Omit<react_native24.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
16
|
+
asChild?: boolean;
|
|
17
|
+
} & {
|
|
18
|
+
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
19
|
+
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
20
|
+
} & React$1.RefAttributes<View>>;
|
|
21
|
+
declare const DialogPortal: typeof DialogPrimitive.Portal;
|
|
22
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<react_native24.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
23
|
+
asChild?: boolean;
|
|
24
|
+
} & {
|
|
25
|
+
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
26
|
+
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
27
|
+
} & React$1.RefAttributes<View>>;
|
|
28
|
+
declare function DialogOverlayNative({
|
|
29
|
+
className,
|
|
30
|
+
children,
|
|
31
|
+
...props
|
|
32
|
+
}: DialogPrimitive.OverlayProps & {
|
|
33
|
+
ref?: React$1.RefObject<DialogPrimitive.OverlayRef>;
|
|
34
|
+
children?: React$1.ReactNode;
|
|
35
|
+
}): react_jsx_runtime66.JSX.Element;
|
|
36
|
+
declare const DialogOverlay: typeof DialogOverlayNative;
|
|
37
|
+
declare function DialogContent({
|
|
38
|
+
className,
|
|
39
|
+
children,
|
|
40
|
+
portalHost,
|
|
41
|
+
...props
|
|
42
|
+
}: DialogPrimitive.ContentProps & {
|
|
43
|
+
ref?: React$1.RefObject<DialogPrimitive.ContentRef>;
|
|
44
|
+
className?: string;
|
|
45
|
+
portalHost?: string;
|
|
46
|
+
}): react_jsx_runtime66.JSX.Element;
|
|
47
|
+
declare function DialogHeader({
|
|
48
|
+
className,
|
|
49
|
+
...props
|
|
50
|
+
}: ViewProps): react_jsx_runtime66.JSX.Element;
|
|
51
|
+
declare function DialogFooter({
|
|
52
|
+
className,
|
|
53
|
+
...props
|
|
54
|
+
}: ViewProps): react_jsx_runtime66.JSX.Element;
|
|
55
|
+
declare function DialogTitle({
|
|
56
|
+
className,
|
|
57
|
+
...props
|
|
58
|
+
}: DialogPrimitive.TitleProps & {
|
|
59
|
+
ref?: React$1.RefObject<DialogPrimitive.TitleRef>;
|
|
60
|
+
}): react_jsx_runtime66.JSX.Element;
|
|
61
|
+
declare function DialogDescription({
|
|
62
|
+
className,
|
|
63
|
+
...props
|
|
64
|
+
}: DialogPrimitive.DescriptionProps & {
|
|
65
|
+
ref?: React$1.RefObject<DialogPrimitive.DescriptionRef>;
|
|
66
|
+
}): react_jsx_runtime66.JSX.Element;
|
|
67
|
+
//#endregion
|
|
68
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_native31 from "react-native";
|
|
3
|
+
import { StyleProp, TextProps, View, ViewStyle } from "react-native";
|
|
4
|
+
import * as react_jsx_runtime85 from "react/jsx-runtime";
|
|
5
|
+
import * as _rn_primitives_dropdown_menu0 from "@rn-primitives/dropdown-menu";
|
|
6
|
+
|
|
7
|
+
//#region ui/dropdown-menu.d.ts
|
|
8
|
+
declare const DropdownMenu: React$1.ForwardRefExoticComponent<react_native31.ViewProps & {
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
} & {
|
|
11
|
+
onOpenChange?: (open: boolean) => void;
|
|
12
|
+
} & React$1.RefAttributes<View>>;
|
|
13
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<Omit<react_native31.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
14
|
+
asChild?: boolean;
|
|
15
|
+
} & {
|
|
16
|
+
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
17
|
+
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
18
|
+
} & React$1.RefAttributes<_rn_primitives_dropdown_menu0.TriggerRef>>;
|
|
19
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<react_native31.ViewProps & {
|
|
20
|
+
asChild?: boolean;
|
|
21
|
+
} & React$1.RefAttributes<View>>;
|
|
22
|
+
declare const DropdownMenuPortal: typeof _rn_primitives_dropdown_menu0.Portal;
|
|
23
|
+
declare const DropdownMenuSub: React$1.ForwardRefExoticComponent<react_native31.ViewProps & {
|
|
24
|
+
asChild?: boolean;
|
|
25
|
+
} & {
|
|
26
|
+
defaultOpen?: boolean;
|
|
27
|
+
open?: boolean;
|
|
28
|
+
onOpenChange?: (value: boolean) => void;
|
|
29
|
+
} & React$1.RefAttributes<View>>;
|
|
30
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<react_native31.ViewProps & {
|
|
31
|
+
asChild?: boolean;
|
|
32
|
+
} & {
|
|
33
|
+
value: string | undefined;
|
|
34
|
+
onValueChange: (value: string) => void;
|
|
35
|
+
} & React$1.RefAttributes<View>>;
|
|
36
|
+
declare function DropdownMenuSubTrigger({
|
|
37
|
+
className,
|
|
38
|
+
inset,
|
|
39
|
+
children,
|
|
40
|
+
...props
|
|
41
|
+
}: _rn_primitives_dropdown_menu0.SubTriggerProps & {
|
|
42
|
+
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.SubTriggerRef>;
|
|
43
|
+
className?: string;
|
|
44
|
+
inset?: boolean;
|
|
45
|
+
children?: React$1.ReactNode;
|
|
46
|
+
}): react_jsx_runtime85.JSX.Element;
|
|
47
|
+
declare function DropdownMenuSubContent({
|
|
48
|
+
className,
|
|
49
|
+
...props
|
|
50
|
+
}: _rn_primitives_dropdown_menu0.SubContentProps & {
|
|
51
|
+
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.SubContentRef>;
|
|
52
|
+
}): react_jsx_runtime85.JSX.Element;
|
|
53
|
+
declare function DropdownMenuContent({
|
|
54
|
+
className,
|
|
55
|
+
overlayClassName,
|
|
56
|
+
overlayStyle,
|
|
57
|
+
portalHost,
|
|
58
|
+
...props
|
|
59
|
+
}: _rn_primitives_dropdown_menu0.ContentProps & {
|
|
60
|
+
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.ContentRef>;
|
|
61
|
+
overlayStyle?: StyleProp<ViewStyle>;
|
|
62
|
+
overlayClassName?: string;
|
|
63
|
+
portalHost?: string;
|
|
64
|
+
}): react_jsx_runtime85.JSX.Element;
|
|
65
|
+
declare function DropdownMenuItem({
|
|
66
|
+
className,
|
|
67
|
+
inset,
|
|
68
|
+
...props
|
|
69
|
+
}: _rn_primitives_dropdown_menu0.ItemProps & {
|
|
70
|
+
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.ItemRef>;
|
|
71
|
+
className?: string;
|
|
72
|
+
inset?: boolean;
|
|
73
|
+
}): react_jsx_runtime85.JSX.Element;
|
|
74
|
+
declare function DropdownMenuCheckboxItem({
|
|
75
|
+
className,
|
|
76
|
+
children,
|
|
77
|
+
checked,
|
|
78
|
+
...props
|
|
79
|
+
}: _rn_primitives_dropdown_menu0.CheckboxItemProps & {
|
|
80
|
+
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.CheckboxItemRef>;
|
|
81
|
+
children?: React$1.ReactNode;
|
|
82
|
+
}): react_jsx_runtime85.JSX.Element;
|
|
83
|
+
declare function DropdownMenuRadioItem({
|
|
84
|
+
className,
|
|
85
|
+
children,
|
|
86
|
+
...props
|
|
87
|
+
}: _rn_primitives_dropdown_menu0.RadioItemProps & {
|
|
88
|
+
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.RadioItemRef>;
|
|
89
|
+
children?: React$1.ReactNode;
|
|
90
|
+
}): react_jsx_runtime85.JSX.Element;
|
|
91
|
+
declare function DropdownMenuLabel({
|
|
92
|
+
className,
|
|
93
|
+
inset,
|
|
94
|
+
...props
|
|
95
|
+
}: _rn_primitives_dropdown_menu0.LabelProps & {
|
|
96
|
+
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.LabelRef>;
|
|
97
|
+
className?: string;
|
|
98
|
+
inset?: boolean;
|
|
99
|
+
}): react_jsx_runtime85.JSX.Element;
|
|
100
|
+
declare function DropdownMenuSeparator({
|
|
101
|
+
className,
|
|
102
|
+
...props
|
|
103
|
+
}: _rn_primitives_dropdown_menu0.SeparatorProps & {
|
|
104
|
+
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.SeparatorRef>;
|
|
105
|
+
}): react_jsx_runtime85.JSX.Element;
|
|
106
|
+
declare function DropdownMenuShortcut({
|
|
107
|
+
className,
|
|
108
|
+
...props
|
|
109
|
+
}: TextProps): react_jsx_runtime85.JSX.Element;
|
|
110
|
+
//#endregion
|
|
111
|
+
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_runtime11 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import * as class_variance_authority_types0 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_types0.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_runtime11.JSX.Element;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { EmptyState, EmptyStateProps };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ViewProps } from "react-native";
|
|
2
|
+
import * as react_jsx_runtime13 from "react/jsx-runtime";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
5
|
+
|
|
6
|
+
//#region ui/empty.d.ts
|
|
7
|
+
declare function Empty({
|
|
8
|
+
className,
|
|
9
|
+
...props
|
|
10
|
+
}: ViewProps): react_jsx_runtime13.JSX.Element;
|
|
11
|
+
declare function EmptyHeader({
|
|
12
|
+
className,
|
|
13
|
+
...props
|
|
14
|
+
}: ViewProps): react_jsx_runtime13.JSX.Element;
|
|
15
|
+
declare const emptyMediaVariants: (props?: ({
|
|
16
|
+
variant?: "default" | "icon" | null | undefined;
|
|
17
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
18
|
+
declare function EmptyMedia({
|
|
19
|
+
className,
|
|
20
|
+
variant,
|
|
21
|
+
...props
|
|
22
|
+
}: ViewProps & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime13.JSX.Element;
|
|
23
|
+
declare function EmptyTitle({
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: ViewProps): react_jsx_runtime13.JSX.Element;
|
|
27
|
+
declare function EmptyDescription({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: ViewProps): react_jsx_runtime13.JSX.Element;
|
|
31
|
+
declare function EmptyContent({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}: ViewProps): react_jsx_runtime13.JSX.Element;
|
|
35
|
+
//#endregion
|
|
36
|
+
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
package/dist/ui/fab.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import * as react_jsx_runtime96 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region ui/fab.d.ts
|
|
5
|
+
interface FABAction {
|
|
6
|
+
icon: React.ReactNode;
|
|
7
|
+
label: string;
|
|
8
|
+
onPress: () => void;
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
interface FABProps {
|
|
12
|
+
actions: FABAction[];
|
|
13
|
+
className?: string;
|
|
14
|
+
mainIcon?: React.ReactNode;
|
|
15
|
+
mainColor?: string;
|
|
16
|
+
}
|
|
17
|
+
declare function FAB({
|
|
18
|
+
actions,
|
|
19
|
+
className,
|
|
20
|
+
mainIcon,
|
|
21
|
+
mainColor
|
|
22
|
+
}: FABProps): react_jsx_runtime96.JSX.Element;
|
|
23
|
+
declare function MiniFAB({
|
|
24
|
+
icon,
|
|
25
|
+
onPress,
|
|
26
|
+
className,
|
|
27
|
+
color
|
|
28
|
+
}: {
|
|
29
|
+
icon: React.ReactNode;
|
|
30
|
+
onPress: () => void;
|
|
31
|
+
className?: string;
|
|
32
|
+
color?: string;
|
|
33
|
+
}): react_jsx_runtime96.JSX.Element;
|
|
34
|
+
//#endregion
|
|
35
|
+
export { FAB, MiniFAB };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Label } from "./label.js";
|
|
2
|
+
import { BoxProps } from "./stack.js";
|
|
3
|
+
import { TypographyProps } from "./typography.js";
|
|
4
|
+
import * as react_jsx_runtime138 from "react/jsx-runtime";
|
|
5
|
+
import { VariantProps } from "class-variance-authority";
|
|
6
|
+
import * as class_variance_authority_types10 from "class-variance-authority/types";
|
|
7
|
+
|
|
8
|
+
//#region ui/field.d.ts
|
|
9
|
+
declare function FieldSet({
|
|
10
|
+
className,
|
|
11
|
+
...props
|
|
12
|
+
}: BoxProps): react_jsx_runtime138.JSX.Element;
|
|
13
|
+
declare function FieldLegend({
|
|
14
|
+
className,
|
|
15
|
+
variant,
|
|
16
|
+
...props
|
|
17
|
+
}: BoxProps & {
|
|
18
|
+
variant?: 'legend' | 'label';
|
|
19
|
+
}): react_jsx_runtime138.JSX.Element;
|
|
20
|
+
declare function FieldGroup({
|
|
21
|
+
className,
|
|
22
|
+
...props
|
|
23
|
+
}: BoxProps): react_jsx_runtime138.JSX.Element;
|
|
24
|
+
declare const fieldVariants: (props?: ({
|
|
25
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
26
|
+
} & class_variance_authority_types10.ClassProp) | undefined) => string;
|
|
27
|
+
declare function Field({
|
|
28
|
+
className,
|
|
29
|
+
orientation,
|
|
30
|
+
...props
|
|
31
|
+
}: BoxProps & VariantProps<typeof fieldVariants>): react_jsx_runtime138.JSX.Element;
|
|
32
|
+
declare function FieldContent({
|
|
33
|
+
className,
|
|
34
|
+
...props
|
|
35
|
+
}: BoxProps): react_jsx_runtime138.JSX.Element;
|
|
36
|
+
declare function FieldLabel({
|
|
37
|
+
className,
|
|
38
|
+
...props
|
|
39
|
+
}: React.ComponentProps<typeof Label>): react_jsx_runtime138.JSX.Element;
|
|
40
|
+
declare function FieldTitle({
|
|
41
|
+
className,
|
|
42
|
+
...props
|
|
43
|
+
}: BoxProps): react_jsx_runtime138.JSX.Element;
|
|
44
|
+
declare function FieldDescription({
|
|
45
|
+
className,
|
|
46
|
+
...props
|
|
47
|
+
}: TypographyProps): react_jsx_runtime138.JSX.Element;
|
|
48
|
+
declare function FieldSeparator({
|
|
49
|
+
children,
|
|
50
|
+
className,
|
|
51
|
+
...props
|
|
52
|
+
}: BoxProps & {
|
|
53
|
+
children?: React.ReactNode;
|
|
54
|
+
}): react_jsx_runtime138.JSX.Element;
|
|
55
|
+
declare function FieldError({
|
|
56
|
+
className,
|
|
57
|
+
children,
|
|
58
|
+
errors,
|
|
59
|
+
...props
|
|
60
|
+
}: BoxProps & {
|
|
61
|
+
errors?: ({
|
|
62
|
+
message?: string;
|
|
63
|
+
} | undefined)[];
|
|
64
|
+
}): react_jsx_runtime138.JSX.Element | null;
|
|
65
|
+
//#endregion
|
|
66
|
+
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Label } from "./label.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import { View } from "react-native";
|
|
4
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
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_runtime99.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.ComponentProps<'div'>): react_jsx_runtime99.JSX.Element;
|
|
30
|
+
declare function FormLabel({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React$1.ComponentProps<typeof Label>): react_jsx_runtime99.JSX.Element;
|
|
34
|
+
declare function FormControl({
|
|
35
|
+
asChild,
|
|
36
|
+
...props
|
|
37
|
+
}: React$1.ComponentProps<typeof View> & {
|
|
38
|
+
asChild?: boolean;
|
|
39
|
+
}): react_jsx_runtime99.JSX.Element;
|
|
40
|
+
declare function FormDescription({
|
|
41
|
+
className,
|
|
42
|
+
...props
|
|
43
|
+
}: React$1.ComponentProps<'p'>): react_jsx_runtime99.JSX.Element;
|
|
44
|
+
declare function FormMessage({
|
|
45
|
+
className,
|
|
46
|
+
...props
|
|
47
|
+
}: React$1.ComponentProps<'p'>): react_jsx_runtime99.JSX.Element | null;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type UseFormReturn, useFieldArray, useForm, useFormField, zodResolver };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_native6 from "react-native";
|
|
3
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
4
|
+
import * as _rn_primitives_hover_card0 from "@rn-primitives/hover-card";
|
|
5
|
+
|
|
6
|
+
//#region ui/hover-card.d.ts
|
|
7
|
+
declare const HoverCard: React$1.ForwardRefExoticComponent<react_native6.ViewProps & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
} & {
|
|
10
|
+
onOpenChange?: (open: boolean) => void;
|
|
11
|
+
openDelay?: number;
|
|
12
|
+
closeDelay?: number;
|
|
13
|
+
} & React$1.RefAttributes<react_native6.View>>;
|
|
14
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<Omit<react_native6.PressableProps & React$1.RefAttributes<react_native6.View>, "ref"> & {
|
|
15
|
+
asChild?: boolean;
|
|
16
|
+
} & {
|
|
17
|
+
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
18
|
+
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
19
|
+
} & React$1.RefAttributes<_rn_primitives_hover_card0.TriggerRef>>;
|
|
20
|
+
declare function HoverCardContent({
|
|
21
|
+
className,
|
|
22
|
+
align,
|
|
23
|
+
sideOffset,
|
|
24
|
+
...props
|
|
25
|
+
}: _rn_primitives_hover_card0.ContentProps & {
|
|
26
|
+
ref?: React$1.RefObject<_rn_primitives_hover_card0.ContentRef>;
|
|
27
|
+
}): react_jsx_runtime19.JSX.Element;
|
|
28
|
+
//#endregion
|
|
29
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { TextInput, TextInputProps } from "react-native";
|
|
3
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region ui/input.d.ts
|
|
6
|
+
declare function Input({
|
|
7
|
+
className,
|
|
8
|
+
placeholderClassName,
|
|
9
|
+
...props
|
|
10
|
+
}: TextInputProps & {
|
|
11
|
+
ref?: React$1.RefObject<TextInput>;
|
|
12
|
+
}): react_jsx_runtime20.JSX.Element;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { Input };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime109 from "react/jsx-runtime";
|
|
2
|
+
import * as LabelPrimitive from "@rn-primitives/label";
|
|
3
|
+
|
|
4
|
+
//#region ui/label.d.ts
|
|
5
|
+
declare function Label({
|
|
6
|
+
className,
|
|
7
|
+
onPress,
|
|
8
|
+
onLongPress,
|
|
9
|
+
onPressIn,
|
|
10
|
+
onPressOut,
|
|
11
|
+
disabled,
|
|
12
|
+
...props
|
|
13
|
+
}: LabelPrimitive.TextProps & React.RefAttributes<LabelPrimitive.TextRef>): react_jsx_runtime109.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { Label };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime153 from "react/jsx-runtime";
|
|
3
|
+
import { Link as Link$1, LinkProps } from "expo-router";
|
|
4
|
+
|
|
5
|
+
//#region ui/link.d.ts
|
|
6
|
+
declare function Link({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: LinkProps & {
|
|
10
|
+
ref?: React$1.RefObject<typeof Link$1>;
|
|
11
|
+
}): react_jsx_runtime153.JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { Link };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ButtonProps } from "./button.js";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import * as react_jsx_runtime110 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_runtime110.JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { LoadingButton };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region ui/loading-overlay.d.ts
|
|
4
|
+
interface LoadingOverlayProps {
|
|
5
|
+
isVisible: boolean;
|
|
6
|
+
title?: string;
|
|
7
|
+
subtitle?: string;
|
|
8
|
+
}
|
|
9
|
+
declare function LoadingOverlay({
|
|
10
|
+
isVisible,
|
|
11
|
+
title,
|
|
12
|
+
subtitle
|
|
13
|
+
}: LoadingOverlayProps): react_jsx_runtime21.JSX.Element | null;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { LoadingOverlay };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime137 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region ui/loading-screen.d.ts
|
|
4
|
+
interface LoadingScreenProps {
|
|
5
|
+
title?: string;
|
|
6
|
+
variant?: 'default' | 'profile' | 'form' | 'list';
|
|
7
|
+
}
|
|
8
|
+
declare function LoadingScreen({
|
|
9
|
+
title,
|
|
10
|
+
variant
|
|
11
|
+
}: LoadingScreenProps): react_jsx_runtime137.JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { LoadingScreen };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime159 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region ui/marketing/FeatureGrid.d.ts
|
|
5
|
+
interface FeatureItem {
|
|
6
|
+
title: React$1.ReactNode;
|
|
7
|
+
description?: React$1.ReactNode;
|
|
8
|
+
icon?: React$1.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare function FeatureGrid({
|
|
11
|
+
items,
|
|
12
|
+
columns,
|
|
13
|
+
className
|
|
14
|
+
}: {
|
|
15
|
+
items: FeatureItem[];
|
|
16
|
+
columns?: 2 | 3 | 4;
|
|
17
|
+
className?: string;
|
|
18
|
+
}): react_jsx_runtime159.JSX.Element;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { FeatureGrid, FeatureItem };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime65 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region ui/marketing/Hero.d.ts
|
|
5
|
+
declare function Hero({
|
|
6
|
+
title,
|
|
7
|
+
subtitle,
|
|
8
|
+
primaryCta,
|
|
9
|
+
secondaryCta,
|
|
10
|
+
className
|
|
11
|
+
}: {
|
|
12
|
+
title: React$1.ReactNode;
|
|
13
|
+
subtitle?: React$1.ReactNode;
|
|
14
|
+
primaryCta?: {
|
|
15
|
+
label: string;
|
|
16
|
+
href?: string;
|
|
17
|
+
onClick?: () => void;
|
|
18
|
+
};
|
|
19
|
+
secondaryCta?: {
|
|
20
|
+
label: string;
|
|
21
|
+
href?: string;
|
|
22
|
+
onClick?: () => void;
|
|
23
|
+
};
|
|
24
|
+
className?: string;
|
|
25
|
+
}): react_jsx_runtime65.JSX.Element;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { Hero };
|