@lssm/lib.ui-kit 0.0.0-canary-20251217060834 → 0.0.0-canary-20251217062943
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/-core/src/utils.js +10 -0
- package/dist/ui/accordion.js +1 -1
- package/dist/ui/alert-dialog.d.ts +11 -11
- package/dist/ui/alert-dialog.js +1 -1
- package/dist/ui/alert.d.ts +6 -6
- package/dist/ui/alert.js +1 -1
- package/dist/ui/aspect-ratio.d.ts +5 -5
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js +2 -2
- package/dist/ui/atoms/Pagination/Pagination.js +1 -4
- package/dist/ui/atoms/SearchInput/SearchInput.js +1 -2
- package/dist/ui/avatar.d.ts +4 -4
- package/dist/ui/avatar.js +1 -1
- package/dist/ui/badge.d.ts +5 -5
- package/dist/ui/badge.js +1 -1
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/breadcrumb.js +3 -4
- package/dist/ui/button.d.ts +7 -7
- package/dist/ui/button.js +1 -1
- package/dist/ui/card.d.ts +7 -7
- package/dist/ui/card.js +1 -1
- package/dist/ui/checkbox.d.ts +3 -3
- package/dist/ui/checkbox.js +1 -1
- package/dist/ui/collapsible.d.ts +8 -8
- package/dist/ui/context-menu.d.ts +16 -16
- package/dist/ui/context-menu.js +1 -1
- package/dist/ui/date-picker.d.ts +2 -2
- package/dist/ui/date-picker.js +1 -1
- package/dist/ui/date-range-picker.d.ts +2 -2
- package/dist/ui/date-range-picker.js +1 -1
- package/dist/ui/datetime-picker.d.ts +2 -2
- package/dist/ui/dialog.d.ts +10 -10
- package/dist/ui/dialog.js +1 -1
- package/dist/ui/dropdown-menu.d.ts +6 -6
- package/dist/ui/dropdown-menu.js +1 -1
- package/dist/ui/empty-state.d.ts +4 -4
- package/dist/ui/empty-state.js +1 -1
- package/dist/ui/empty.d.ts +9 -9
- package/dist/ui/empty.js +1 -1
- package/dist/ui/fab.d.ts +3 -3
- package/dist/ui/fab.js +1 -1
- package/dist/ui/field.d.ts +13 -13
- package/dist/ui/field.js +1 -1
- package/dist/ui/form.d.ts +7 -7
- package/dist/ui/form.js +4 -4
- package/dist/ui/hover-card.d.ts +6 -6
- package/dist/ui/hover-card.js +1 -1
- package/dist/ui/input.d.ts +2 -2
- package/dist/ui/input.js +1 -1
- package/dist/ui/label.d.ts +2 -2
- package/dist/ui/label.js +1 -1
- package/dist/ui/link.d.ts +2 -2
- package/dist/ui/link.js +1 -1
- package/dist/ui/loading-button.d.ts +2 -2
- package/dist/ui/loading-overlay.d.ts +2 -2
- package/dist/ui/loading-screen.d.ts +2 -2
- package/dist/ui/marketing/FeatureGrid.d.ts +2 -2
- package/dist/ui/marketing/Hero.d.ts +2 -2
- package/dist/ui/marketing/PricingTable.d.ts +2 -2
- package/dist/ui/menubar.d.ts +17 -17
- package/dist/ui/menubar.js +1 -1
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +2 -4
- package/dist/ui/molecules/SkeletonList.d.ts +2 -2
- package/dist/ui/navigation-menu.d.ts +12 -12
- package/dist/ui/navigation-menu.js +1 -1
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +2 -2
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +3 -5
- package/dist/ui/organisms/ListPage/ListPage.d.ts +2 -2
- package/dist/ui/organisms/ListPage/ListPage.js +7 -12
- package/dist/ui/page-header.d.ts +4 -4
- package/dist/ui/page-header.js +1 -1
- package/dist/ui/password-strength.d.ts +2 -2
- package/dist/ui/password-strength.js +2 -2
- package/dist/ui/popover.d.ts +6 -6
- package/dist/ui/popover.js +1 -1
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/progress.js +1 -1
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/radio-group.js +1 -1
- package/dist/ui/select.d.ts +13 -13
- package/dist/ui/select.js +1 -1
- package/dist/ui/separator.d.ts +2 -2
- package/dist/ui/separator.js +1 -1
- package/dist/ui/skeleton.d.ts +2 -2
- package/dist/ui/skeleton.js +1 -1
- package/dist/ui/stack.d.ts +8 -8
- package/dist/ui/stack.js +1 -1
- package/dist/ui/stepper.d.ts +2 -2
- package/dist/ui/stepper.js +1 -1
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/switch.js +1 -1
- package/dist/ui/table.d.ts +8 -8
- package/dist/ui/table.js +1 -1
- package/dist/ui/tabs.d.ts +9 -9
- package/dist/ui/tabs.js +1 -1
- package/dist/ui/text.d.ts +2 -2
- package/dist/ui/text.js +1 -1
- package/dist/ui/textarea.js +1 -1
- package/dist/ui/time-picker.d.ts +2 -2
- package/dist/ui/time-picker.js +1 -1
- package/dist/ui/toggle-group.d.ts +4 -4
- package/dist/ui/toggle-group.js +1 -1
- package/dist/ui/toggle.d.ts +6 -6
- package/dist/ui/toggle.js +1 -1
- package/dist/ui/tooltip.d.ts +6 -6
- package/dist/ui/tooltip.js +1 -1
- package/dist/ui/typography.d.ts +12 -12
- package/dist/ui/typography.js +1 -1
- package/dist/ui/useColorScheme.d.ts +2 -2
- package/dist/ui/usecases/UseCaseCard.d.ts +2 -2
- package/dist/ui/usecases/UserStoryCard.d.ts +2 -2
- package/package.json +3 -3
- package/dist/_virtual/rolldown_runtime.js +0 -33
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native16 from "react-native";
|
|
3
3
|
import { StyleProp, TextProps, View, ViewStyle } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
5
5
|
import * as _rn_primitives_context_menu0 from "@rn-primitives/context-menu";
|
|
6
6
|
|
|
7
7
|
//#region ui/context-menu.d.ts
|
|
8
|
-
declare const ContextMenu: React$1.ForwardRefExoticComponent<
|
|
8
|
+
declare const ContextMenu: React$1.ForwardRefExoticComponent<react_native16.ViewProps & {
|
|
9
9
|
asChild?: boolean;
|
|
10
10
|
} & {
|
|
11
11
|
onOpenChange?: (open: boolean) => void;
|
|
12
12
|
relativeTo?: "longPress" | "trigger";
|
|
13
13
|
} & React$1.RefAttributes<View>>;
|
|
14
|
-
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<Omit<
|
|
14
|
+
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<Omit<react_native16.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
15
15
|
asChild?: boolean;
|
|
16
16
|
} & {
|
|
17
17
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
18
18
|
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
19
19
|
} & React$1.RefAttributes<_rn_primitives_context_menu0.TriggerRef>>;
|
|
20
|
-
declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<
|
|
20
|
+
declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<react_native16.ViewProps & {
|
|
21
21
|
asChild?: boolean;
|
|
22
22
|
} & React$1.RefAttributes<View>>;
|
|
23
|
-
declare const ContextMenuSub: React$1.ForwardRefExoticComponent<
|
|
23
|
+
declare const ContextMenuSub: React$1.ForwardRefExoticComponent<react_native16.ViewProps & {
|
|
24
24
|
asChild?: boolean;
|
|
25
25
|
} & {
|
|
26
26
|
defaultOpen?: boolean;
|
|
27
27
|
open?: boolean;
|
|
28
28
|
onOpenChange?: (value: boolean) => void;
|
|
29
29
|
} & React$1.RefAttributes<View>>;
|
|
30
|
-
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<
|
|
30
|
+
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<react_native16.ViewProps & {
|
|
31
31
|
asChild?: boolean;
|
|
32
32
|
} & {
|
|
33
33
|
value: string | undefined;
|
|
@@ -42,13 +42,13 @@ declare function ContextMenuSubTrigger({
|
|
|
42
42
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.SubTriggerRef>;
|
|
43
43
|
children?: React$1.ReactNode;
|
|
44
44
|
inset?: boolean;
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime20.JSX.Element;
|
|
46
46
|
declare function ContextMenuSubContent({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
49
|
}: _rn_primitives_context_menu0.SubContentProps & {
|
|
50
50
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.SubContentRef>;
|
|
51
|
-
}):
|
|
51
|
+
}): react_jsx_runtime20.JSX.Element;
|
|
52
52
|
declare function ContextMenuContent({
|
|
53
53
|
className,
|
|
54
54
|
overlayClassName,
|
|
@@ -60,7 +60,7 @@ declare function ContextMenuContent({
|
|
|
60
60
|
overlayStyle?: StyleProp<ViewStyle>;
|
|
61
61
|
overlayClassName?: string;
|
|
62
62
|
portalHost?: string;
|
|
63
|
-
}):
|
|
63
|
+
}): react_jsx_runtime20.JSX.Element;
|
|
64
64
|
declare function ContextMenuItem({
|
|
65
65
|
className,
|
|
66
66
|
inset,
|
|
@@ -69,7 +69,7 @@ declare function ContextMenuItem({
|
|
|
69
69
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.ItemRef>;
|
|
70
70
|
className?: string;
|
|
71
71
|
inset?: boolean;
|
|
72
|
-
}):
|
|
72
|
+
}): react_jsx_runtime20.JSX.Element;
|
|
73
73
|
declare function ContextMenuCheckboxItem({
|
|
74
74
|
className,
|
|
75
75
|
children,
|
|
@@ -77,7 +77,7 @@ declare function ContextMenuCheckboxItem({
|
|
|
77
77
|
}: _rn_primitives_context_menu0.CheckboxItemProps & {
|
|
78
78
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.CheckboxItemRef>;
|
|
79
79
|
children?: React$1.ReactNode;
|
|
80
|
-
}):
|
|
80
|
+
}): react_jsx_runtime20.JSX.Element;
|
|
81
81
|
declare function ContextMenuRadioItem({
|
|
82
82
|
className,
|
|
83
83
|
children,
|
|
@@ -85,7 +85,7 @@ declare function ContextMenuRadioItem({
|
|
|
85
85
|
}: _rn_primitives_context_menu0.RadioItemProps & {
|
|
86
86
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.RadioItemRef>;
|
|
87
87
|
children?: React$1.ReactNode;
|
|
88
|
-
}):
|
|
88
|
+
}): react_jsx_runtime20.JSX.Element;
|
|
89
89
|
declare function ContextMenuLabel({
|
|
90
90
|
className,
|
|
91
91
|
inset,
|
|
@@ -94,16 +94,16 @@ declare function ContextMenuLabel({
|
|
|
94
94
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.LabelRef>;
|
|
95
95
|
className?: string;
|
|
96
96
|
inset?: boolean;
|
|
97
|
-
}):
|
|
97
|
+
}): react_jsx_runtime20.JSX.Element;
|
|
98
98
|
declare function ContextMenuSeparator({
|
|
99
99
|
className,
|
|
100
100
|
...props
|
|
101
101
|
}: _rn_primitives_context_menu0.SeparatorProps & {
|
|
102
102
|
ref?: React$1.RefObject<_rn_primitives_context_menu0.SeparatorRef>;
|
|
103
|
-
}):
|
|
103
|
+
}): react_jsx_runtime20.JSX.Element;
|
|
104
104
|
declare function ContextMenuShortcut({
|
|
105
105
|
className,
|
|
106
106
|
...props
|
|
107
|
-
}: TextProps):
|
|
107
|
+
}: TextProps): react_jsx_runtime20.JSX.Element;
|
|
108
108
|
//#endregion
|
|
109
109
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
package/dist/ui/context-menu.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ChevronDown } from "./icons/ChevronDown.js";
|
|
2
|
+
import { cn } from "../-core/src/utils.js";
|
|
2
3
|
import { TextClassContext } from "./text.js";
|
|
3
4
|
import { Check } from "./icons/Check.js";
|
|
4
5
|
import { ChevronRight } from "./icons/ChevronRight.js";
|
|
5
6
|
import { ChevronUp } from "./icons/ChevronUp.js";
|
|
6
7
|
import "react";
|
|
7
8
|
import { Platform, StyleSheet, Text, View } from "react-native";
|
|
8
|
-
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import * as ContextMenuPrimitive from "@rn-primitives/context-menu";
|
|
11
11
|
|
package/dist/ui/date-picker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/date-picker.d.ts
|
|
4
4
|
interface DatePickerProps {
|
|
@@ -18,6 +18,6 @@ declare function DatePicker({
|
|
|
18
18
|
maxDate,
|
|
19
19
|
placeholder,
|
|
20
20
|
className
|
|
21
|
-
}: DatePickerProps):
|
|
21
|
+
}: DatePickerProps): react_jsx_runtime10.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { DatePicker, DatePickerProps };
|
package/dist/ui/date-picker.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { cn } from "../-core/src/utils.js";
|
|
1
2
|
import { Text as Text$1 } from "./text.js";
|
|
2
3
|
import React, { useMemo, useState } from "react";
|
|
3
4
|
import { Platform, Pressable, View } from "react-native";
|
|
4
|
-
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import DateTimePicker from "@react-native-community/datetimepicker";
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime42 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/date-range-picker.d.ts
|
|
4
4
|
interface DateRange {
|
|
@@ -25,6 +25,6 @@ declare function DateRangePicker({
|
|
|
25
25
|
maxDate,
|
|
26
26
|
placeholders,
|
|
27
27
|
className
|
|
28
|
-
}: DateRangePickerProps):
|
|
28
|
+
}: DateRangePickerProps): react_jsx_runtime42.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { DateRange, DateRangePicker, DateRangePickerProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { cn } from "../-core/src/utils.js";
|
|
1
2
|
import { Text as Text$1 } from "./text.js";
|
|
2
3
|
import { HStack, VStack } from "./stack.js";
|
|
3
4
|
import React, { useMemo, useState } from "react";
|
|
4
5
|
import { Platform, Pressable, View } from "react-native";
|
|
5
|
-
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import DateTimePicker from "@react-native-community/datetimepicker";
|
|
8
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/datetime-picker.d.ts
|
|
4
4
|
interface DateTimePickerProps {
|
|
@@ -22,6 +22,6 @@ declare function DateTimePicker({
|
|
|
22
22
|
timePlaceholder,
|
|
23
23
|
is24Hour,
|
|
24
24
|
className
|
|
25
|
-
}: DateTimePickerProps):
|
|
25
|
+
}: DateTimePickerProps): react_jsx_runtime9.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { DateTimePicker, DateTimePickerProps };
|
package/dist/ui/dialog.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native33 from "react-native";
|
|
3
3
|
import { View, ViewProps } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime86 from "react/jsx-runtime";
|
|
5
5
|
import * as DialogPrimitive from "@rn-primitives/dialog";
|
|
6
6
|
|
|
7
7
|
//#region ui/dialog.d.ts
|
|
@@ -12,14 +12,14 @@ declare const Dialog: React$1.ForwardRefExoticComponent<ViewProps & {
|
|
|
12
12
|
defaultOpen?: boolean;
|
|
13
13
|
onOpenChange?: (value: boolean) => void;
|
|
14
14
|
} & React$1.RefAttributes<View>>;
|
|
15
|
-
declare const DialogTrigger: React$1.ForwardRefExoticComponent<Omit<
|
|
15
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<Omit<react_native33.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
16
16
|
asChild?: boolean;
|
|
17
17
|
} & {
|
|
18
18
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
19
19
|
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
20
20
|
} & React$1.RefAttributes<View>>;
|
|
21
21
|
declare const DialogPortal: typeof DialogPrimitive.Portal;
|
|
22
|
-
declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<
|
|
22
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<Omit<react_native33.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
23
23
|
asChild?: boolean;
|
|
24
24
|
} & {
|
|
25
25
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
@@ -32,7 +32,7 @@ declare function DialogOverlayNative({
|
|
|
32
32
|
}: DialogPrimitive.OverlayProps & {
|
|
33
33
|
ref?: React$1.RefObject<DialogPrimitive.OverlayRef>;
|
|
34
34
|
children?: React$1.ReactNode;
|
|
35
|
-
}):
|
|
35
|
+
}): react_jsx_runtime86.JSX.Element;
|
|
36
36
|
declare const DialogOverlay: typeof DialogOverlayNative;
|
|
37
37
|
declare function DialogContent({
|
|
38
38
|
className,
|
|
@@ -43,26 +43,26 @@ declare function DialogContent({
|
|
|
43
43
|
ref?: React$1.RefObject<DialogPrimitive.ContentRef>;
|
|
44
44
|
className?: string;
|
|
45
45
|
portalHost?: string;
|
|
46
|
-
}):
|
|
46
|
+
}): react_jsx_runtime86.JSX.Element;
|
|
47
47
|
declare function DialogHeader({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: ViewProps):
|
|
50
|
+
}: ViewProps): react_jsx_runtime86.JSX.Element;
|
|
51
51
|
declare function DialogFooter({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: ViewProps):
|
|
54
|
+
}: ViewProps): react_jsx_runtime86.JSX.Element;
|
|
55
55
|
declare function DialogTitle({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
58
|
}: DialogPrimitive.TitleProps & {
|
|
59
59
|
ref?: React$1.RefObject<DialogPrimitive.TitleRef>;
|
|
60
|
-
}):
|
|
60
|
+
}): react_jsx_runtime86.JSX.Element;
|
|
61
61
|
declare function DialogDescription({
|
|
62
62
|
className,
|
|
63
63
|
...props
|
|
64
64
|
}: DialogPrimitive.DescriptionProps & {
|
|
65
65
|
ref?: React$1.RefObject<DialogPrimitive.DescriptionRef>;
|
|
66
|
-
}):
|
|
66
|
+
}): react_jsx_runtime86.JSX.Element;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
package/dist/ui/dialog.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { cn } from "../-core/src/utils.js";
|
|
1
2
|
import { X } from "./icons/X.js";
|
|
2
3
|
import "react";
|
|
3
4
|
import { Platform, StyleSheet, View } from "react-native";
|
|
4
5
|
import Animated, { FadeIn, FadeOut } from "react-native-reanimated";
|
|
5
|
-
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import * as DialogPrimitive from "@rn-primitives/dialog";
|
|
8
8
|
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native22 from "react-native";
|
|
3
3
|
import { StyleProp, TextProps, View, ViewStyle } from "react-native";
|
|
4
4
|
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
5
5
|
import * as _rn_primitives_dropdown_menu0 from "@rn-primitives/dropdown-menu";
|
|
6
6
|
|
|
7
7
|
//#region ui/dropdown-menu.d.ts
|
|
8
|
-
declare const DropdownMenu: React$1.ForwardRefExoticComponent<
|
|
8
|
+
declare const DropdownMenu: React$1.ForwardRefExoticComponent<react_native22.ViewProps & {
|
|
9
9
|
asChild?: boolean;
|
|
10
10
|
} & {
|
|
11
11
|
onOpenChange?: (open: boolean) => void;
|
|
12
12
|
} & React$1.RefAttributes<View>>;
|
|
13
|
-
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<Omit<
|
|
13
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<Omit<react_native22.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
14
14
|
asChild?: boolean;
|
|
15
15
|
} & {
|
|
16
16
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
17
17
|
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
18
18
|
} & React$1.RefAttributes<_rn_primitives_dropdown_menu0.TriggerRef>>;
|
|
19
|
-
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<
|
|
19
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<react_native22.ViewProps & {
|
|
20
20
|
asChild?: boolean;
|
|
21
21
|
} & React$1.RefAttributes<View>>;
|
|
22
22
|
declare const DropdownMenuPortal: typeof _rn_primitives_dropdown_menu0.Portal;
|
|
23
|
-
declare const DropdownMenuSub: React$1.ForwardRefExoticComponent<
|
|
23
|
+
declare const DropdownMenuSub: React$1.ForwardRefExoticComponent<react_native22.ViewProps & {
|
|
24
24
|
asChild?: boolean;
|
|
25
25
|
} & {
|
|
26
26
|
defaultOpen?: boolean;
|
|
27
27
|
open?: boolean;
|
|
28
28
|
onOpenChange?: (value: boolean) => void;
|
|
29
29
|
} & React$1.RefAttributes<View>>;
|
|
30
|
-
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<
|
|
30
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<react_native22.ViewProps & {
|
|
31
31
|
asChild?: boolean;
|
|
32
32
|
} & {
|
|
33
33
|
value: string | undefined;
|
package/dist/ui/dropdown-menu.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ChevronDown } from "./icons/ChevronDown.js";
|
|
2
|
+
import { cn } from "../-core/src/utils.js";
|
|
2
3
|
import { TextClassContext } from "./text.js";
|
|
3
4
|
import { Check } from "./icons/Check.js";
|
|
4
5
|
import { ChevronRight } from "./icons/ChevronRight.js";
|
|
5
6
|
import { ChevronUp } from "./icons/ChevronUp.js";
|
|
6
7
|
import "react";
|
|
7
8
|
import { Platform, StyleSheet, Text, View } from "react-native";
|
|
8
|
-
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import * as DropdownMenuPrimitive from "@rn-primitives/dropdown-menu";
|
|
11
11
|
|
package/dist/ui/empty-state.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime110 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region ui/empty-state.d.ts
|
|
7
7
|
declare const containerVariants: (props?: ({
|
|
8
8
|
density?: "default" | "compact" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
10
10
|
interface EmptyStateProps extends VariantProps<typeof containerVariants> {
|
|
11
11
|
icon?: React$1.ReactNode;
|
|
12
12
|
title: React$1.ReactNode;
|
|
@@ -23,6 +23,6 @@ declare function EmptyState({
|
|
|
23
23
|
secondaryAction,
|
|
24
24
|
className,
|
|
25
25
|
density
|
|
26
|
-
}: EmptyStateProps):
|
|
26
|
+
}: EmptyStateProps): react_jsx_runtime110.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { EmptyState, EmptyStateProps };
|
package/dist/ui/empty-state.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { cn } from "../-core/src/utils.js";
|
|
1
2
|
import { Text as Text$1 } from "./text.js";
|
|
2
3
|
import { VStack } from "./stack.js";
|
|
3
4
|
import { H3 } from "./typography.js";
|
|
4
5
|
import "react";
|
|
5
6
|
import { View } from "react-native";
|
|
6
|
-
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import { cva } from "class-variance-authority";
|
|
9
9
|
|
package/dist/ui/empty.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { ViewProps } from "react-native";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region ui/empty.d.ts
|
|
7
7
|
declare function Empty({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: ViewProps):
|
|
10
|
+
}: ViewProps): react_jsx_runtime11.JSX.Element;
|
|
11
11
|
declare function EmptyHeader({
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: ViewProps):
|
|
14
|
+
}: ViewProps): react_jsx_runtime11.JSX.Element;
|
|
15
15
|
declare const emptyMediaVariants: (props?: ({
|
|
16
16
|
variant?: "default" | "icon" | null | undefined;
|
|
17
|
-
} &
|
|
17
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
18
18
|
declare function EmptyMedia({
|
|
19
19
|
className,
|
|
20
20
|
variant,
|
|
21
21
|
...props
|
|
22
|
-
}: ViewProps & VariantProps<typeof emptyMediaVariants>):
|
|
22
|
+
}: ViewProps & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime11.JSX.Element;
|
|
23
23
|
declare function EmptyTitle({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: ViewProps):
|
|
26
|
+
}: ViewProps): react_jsx_runtime11.JSX.Element;
|
|
27
27
|
declare function EmptyDescription({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: ViewProps):
|
|
30
|
+
}: ViewProps): react_jsx_runtime11.JSX.Element;
|
|
31
31
|
declare function EmptyContent({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: ViewProps):
|
|
34
|
+
}: ViewProps): react_jsx_runtime11.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
package/dist/ui/empty.js
CHANGED
package/dist/ui/fab.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime105 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/fab.d.ts
|
|
5
5
|
interface FABAction {
|
|
@@ -19,7 +19,7 @@ declare function FAB({
|
|
|
19
19
|
className,
|
|
20
20
|
mainIcon,
|
|
21
21
|
mainColor
|
|
22
|
-
}: FABProps):
|
|
22
|
+
}: FABProps): react_jsx_runtime105.JSX.Element;
|
|
23
23
|
declare function MiniFAB({
|
|
24
24
|
icon,
|
|
25
25
|
onPress,
|
|
@@ -30,6 +30,6 @@ declare function MiniFAB({
|
|
|
30
30
|
onPress: () => void;
|
|
31
31
|
className?: string;
|
|
32
32
|
color?: string;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { FAB, MiniFAB };
|
package/dist/ui/fab.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { cn } from "../-core/src/utils.js";
|
|
1
2
|
import React, { useState } from "react";
|
|
2
3
|
import { Pressable, StyleSheet, View } from "react-native";
|
|
3
4
|
import Animated, { useAnimatedStyle, withSpring, withTiming } from "react-native-reanimated";
|
|
4
5
|
import { Plus, X } from "lucide-react-native";
|
|
5
|
-
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region ui/fab.tsx
|
package/dist/ui/field.d.ts
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import { Label } from "./label.js";
|
|
2
2
|
import { BoxProps } from "./stack.js";
|
|
3
3
|
import { TypographyProps } from "./typography.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime61 from "react/jsx-runtime";
|
|
5
5
|
import { VariantProps } from "class-variance-authority";
|
|
6
|
-
import * as
|
|
6
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
7
7
|
|
|
8
8
|
//#region ui/field.d.ts
|
|
9
9
|
declare function FieldSet({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: BoxProps):
|
|
12
|
+
}: BoxProps): react_jsx_runtime61.JSX.Element;
|
|
13
13
|
declare function FieldLegend({
|
|
14
14
|
className,
|
|
15
15
|
variant,
|
|
16
16
|
...props
|
|
17
17
|
}: BoxProps & {
|
|
18
18
|
variant?: 'legend' | 'label';
|
|
19
|
-
}):
|
|
19
|
+
}): react_jsx_runtime61.JSX.Element;
|
|
20
20
|
declare function FieldGroup({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: BoxProps):
|
|
23
|
+
}: BoxProps): react_jsx_runtime61.JSX.Element;
|
|
24
24
|
declare const fieldVariants: (props?: ({
|
|
25
25
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
26
|
-
} &
|
|
26
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
27
27
|
declare function Field({
|
|
28
28
|
className,
|
|
29
29
|
orientation,
|
|
30
30
|
...props
|
|
31
|
-
}: BoxProps & VariantProps<typeof fieldVariants>):
|
|
31
|
+
}: BoxProps & VariantProps<typeof fieldVariants>): react_jsx_runtime61.JSX.Element;
|
|
32
32
|
declare function FieldContent({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: BoxProps):
|
|
35
|
+
}: BoxProps): react_jsx_runtime61.JSX.Element;
|
|
36
36
|
declare function FieldLabel({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
|
-
}: React.ComponentProps<typeof Label>):
|
|
39
|
+
}: React.ComponentProps<typeof Label>): react_jsx_runtime61.JSX.Element;
|
|
40
40
|
declare function FieldTitle({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: BoxProps):
|
|
43
|
+
}: BoxProps): react_jsx_runtime61.JSX.Element;
|
|
44
44
|
declare function FieldDescription({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: TypographyProps):
|
|
47
|
+
}: TypographyProps): react_jsx_runtime61.JSX.Element;
|
|
48
48
|
declare function FieldSeparator({
|
|
49
49
|
children,
|
|
50
50
|
className,
|
|
51
51
|
...props
|
|
52
52
|
}: BoxProps & {
|
|
53
53
|
children?: React.ReactNode;
|
|
54
|
-
}):
|
|
54
|
+
}): react_jsx_runtime61.JSX.Element;
|
|
55
55
|
declare function FieldError({
|
|
56
56
|
className,
|
|
57
57
|
children,
|
|
@@ -61,6 +61,6 @@ declare function FieldError({
|
|
|
61
61
|
errors?: ({
|
|
62
62
|
message?: string;
|
|
63
63
|
} | undefined)[];
|
|
64
|
-
}):
|
|
64
|
+
}): react_jsx_runtime61.JSX.Element | null;
|
|
65
65
|
//#endregion
|
|
66
66
|
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
package/dist/ui/field.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { cn } from "../-core/src/utils.js";
|
|
3
4
|
import { Box, VStack } from "./stack.js";
|
|
4
5
|
import { P } from "./typography.js";
|
|
5
6
|
import { Label } from "./label.js";
|
|
6
7
|
import { Separator } from "./separator.js";
|
|
7
8
|
import { useMemo } from "react";
|
|
8
|
-
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { cva } from "class-variance-authority";
|
|
11
11
|
|
package/dist/ui/form.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Label } from "./label.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { View } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime111 from "react/jsx-runtime";
|
|
5
5
|
import * as react_hook_form0 from "react-hook-form";
|
|
6
6
|
import { ControllerProps, FieldPath, FieldValues, UseFormReturn, useFieldArray, useForm } from "react-hook-form";
|
|
7
7
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -10,7 +10,7 @@ import { zodResolver } from "@hookform/resolvers/zod";
|
|
|
10
10
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
11
11
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
12
12
|
...props
|
|
13
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
13
|
+
}: ControllerProps<TFieldValues, TName>) => react_jsx_runtime111.JSX.Element;
|
|
14
14
|
declare const useFormField: () => {
|
|
15
15
|
invalid: boolean;
|
|
16
16
|
isDirty: boolean;
|
|
@@ -26,24 +26,24 @@ declare const useFormField: () => {
|
|
|
26
26
|
declare function FormItem({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React$1.ComponentProps<'div'>):
|
|
29
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime111.JSX.Element;
|
|
30
30
|
declare function FormLabel({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React$1.ComponentProps<typeof Label>):
|
|
33
|
+
}: React$1.ComponentProps<typeof Label>): react_jsx_runtime111.JSX.Element;
|
|
34
34
|
declare function FormControl({
|
|
35
35
|
asChild,
|
|
36
36
|
...props
|
|
37
37
|
}: React$1.ComponentProps<typeof View> & {
|
|
38
38
|
asChild?: boolean;
|
|
39
|
-
}):
|
|
39
|
+
}): react_jsx_runtime111.JSX.Element;
|
|
40
40
|
declare function FormDescription({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React$1.ComponentProps<'p'>):
|
|
43
|
+
}: React$1.ComponentProps<'p'>): react_jsx_runtime111.JSX.Element;
|
|
44
44
|
declare function FormMessage({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: React$1.ComponentProps<'p'>):
|
|
47
|
+
}: React$1.ComponentProps<'p'>): react_jsx_runtime111.JSX.Element | null;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type UseFormReturn, useFieldArray, useForm, useFormField, zodResolver };
|
package/dist/ui/form.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { cn } from "../-core/src/utils.js";
|
|
3
4
|
import { Label } from "./label.js";
|
|
4
|
-
import { Controller, FormProvider, useFieldArray, useForm, useFormContext, useFormState } from "../node_modules/react-hook-form/dist/index.esm.js";
|
|
5
|
-
import { a } from "../node_modules/@hookform/resolvers/zod/dist/zod.js";
|
|
6
5
|
import * as React$1 from "react";
|
|
7
6
|
import { View } from "react-native";
|
|
8
7
|
import * as Slot from "@rn-primitives/slot";
|
|
9
|
-
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
10
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
import { Controller, FormProvider, useFieldArray, useForm, useFormContext, useFormState } from "react-hook-form";
|
|
10
|
+
import { zodResolver } from "@hookform/resolvers/zod";
|
|
11
11
|
|
|
12
12
|
//#region ui/form.tsx
|
|
13
13
|
const Form = FormProvider;
|
|
@@ -91,4 +91,4 @@ function FormMessage({ className, ...props }) {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
//#endregion
|
|
94
|
-
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFieldArray, useForm, useFormField,
|
|
94
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFieldArray, useForm, useFormField, zodResolver };
|
package/dist/ui/hover-card.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_native8 from "react-native";
|
|
3
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
4
4
|
import * as _rn_primitives_hover_card0 from "@rn-primitives/hover-card";
|
|
5
5
|
|
|
6
6
|
//#region ui/hover-card.d.ts
|
|
7
|
-
declare const HoverCard: React$1.ForwardRefExoticComponent<
|
|
7
|
+
declare const HoverCard: React$1.ForwardRefExoticComponent<react_native8.ViewProps & {
|
|
8
8
|
asChild?: boolean;
|
|
9
9
|
} & {
|
|
10
10
|
onOpenChange?: (open: boolean) => void;
|
|
11
11
|
openDelay?: number;
|
|
12
12
|
closeDelay?: number;
|
|
13
|
-
} & React$1.RefAttributes<
|
|
14
|
-
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<Omit<
|
|
13
|
+
} & React$1.RefAttributes<react_native8.View>>;
|
|
14
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<Omit<react_native8.PressableProps & React$1.RefAttributes<react_native8.View>, "ref"> & {
|
|
15
15
|
asChild?: boolean;
|
|
16
16
|
} & {
|
|
17
17
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
@@ -24,6 +24,6 @@ declare function HoverCardContent({
|
|
|
24
24
|
...props
|
|
25
25
|
}: _rn_primitives_hover_card0.ContentProps & {
|
|
26
26
|
ref?: React$1.RefObject<_rn_primitives_hover_card0.ContentRef>;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime8.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|