@lssm/lib.ui-kit 1.7.1 → 1.7.3
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 +5 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/alert.d.ts +4 -4
- package/dist/ui/aspect-ratio.d.ts +5 -5
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/avatar.d.ts +4 -4
- package/dist/ui/badge.d.ts +5 -5
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/button.d.ts +7 -7
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/card.d.ts +7 -7
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/checkbox.d.ts +3 -3
- package/dist/ui/collapsible.d.ts +8 -8
- package/dist/ui/context-menu.d.ts +16 -16
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/date-picker.d.ts +2 -2
- package/dist/ui/date-range-picker.d.ts +2 -2
- package/dist/ui/datetime-picker.d.ts +2 -2
- package/dist/ui/datetime-picker.d.ts.map +1 -1
- package/dist/ui/dialog.d.ts +10 -10
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.d.ts +16 -16
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/empty-state.d.ts +4 -4
- package/dist/ui/empty-state.d.ts.map +1 -1
- package/dist/ui/empty.d.ts +9 -9
- package/dist/ui/fab.d.ts +3 -3
- package/dist/ui/fab.d.ts.map +1 -1
- package/dist/ui/field.d.ts +14 -14
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/form.d.ts +11 -8
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +5 -3
- package/dist/ui/form.js.map +1 -1
- package/dist/ui/hover-card.d.ts +6 -6
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/input.d.ts +2 -2
- package/dist/ui/label.d.ts +2 -2
- package/dist/ui/link.d.ts +2 -2
- 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/marketing/PricingTable.d.ts.map +1 -1
- package/dist/ui/menubar.d.ts +17 -17
- package/dist/ui/molecules/SkeletonList.d.ts +2 -2
- package/dist/ui/molecules/SkeletonList.d.ts.map +1 -1
- package/dist/ui/navigation-menu.d.ts +12 -12
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +2 -2
- package/dist/ui/organisms/ListPage/ListPage.d.ts +2 -2
- package/dist/ui/organisms/ListPage/ListPage.d.ts.map +1 -1
- package/dist/ui/page-header.d.ts +4 -4
- package/dist/ui/page-header.d.ts.map +1 -1
- package/dist/ui/password-strength.d.ts +2 -2
- package/dist/ui/popover.d.ts +8 -8
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/select.d.ts +13 -13
- package/dist/ui/separator.d.ts +2 -2
- package/dist/ui/separator.d.ts.map +1 -1
- package/dist/ui/skeleton.d.ts +2 -2
- package/dist/ui/skeleton.d.ts.map +1 -1
- package/dist/ui/stack.d.ts +8 -8
- package/dist/ui/stack.d.ts.map +1 -1
- package/dist/ui/stepper.d.ts +2 -2
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/table.d.ts +8 -8
- package/dist/ui/tabs.d.ts +9 -9
- package/dist/ui/text.d.ts +2 -2
- package/dist/ui/time-picker.d.ts +2 -2
- package/dist/ui/time-picker.d.ts.map +1 -1
- package/dist/ui/toggle-group.d.ts +4 -4
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle.d.ts +6 -6
- package/dist/ui/tooltip.d.ts +6 -6
- package/dist/ui/tooltip.d.ts.map +1 -1
- package/dist/ui/typography.d.ts +12 -12
- package/dist/ui/typography.d.ts.map +1 -1
- package/dist/ui/useColorScheme.d.ts +2 -2
- package/dist/ui/usecases/UseCaseCard.d.ts +2 -2
- package/dist/ui/usecases/UseCaseCard.d.ts.map +1 -1
- package/dist/ui/usecases/UserStoryCard.d.ts +2 -2
- package/dist/ui/usecases/UserStoryCard.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -28
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +0 -101
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native9 from "react-native";
|
|
3
3
|
import { StyleProp, TextProps, View, ViewStyle } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime37 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_native9.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_native9.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_native9.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_native9.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_native9.ViewProps & {
|
|
31
31
|
asChild?: boolean;
|
|
32
32
|
} & {
|
|
33
33
|
value: string | undefined;
|
|
@@ -43,13 +43,13 @@ declare function DropdownMenuSubTrigger({
|
|
|
43
43
|
className?: string;
|
|
44
44
|
inset?: boolean;
|
|
45
45
|
children?: React$1.ReactNode;
|
|
46
|
-
}):
|
|
46
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
47
47
|
declare function DropdownMenuSubContent({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
50
|
}: _rn_primitives_dropdown_menu0.SubContentProps & {
|
|
51
51
|
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.SubContentRef>;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
53
53
|
declare function DropdownMenuContent({
|
|
54
54
|
className,
|
|
55
55
|
overlayClassName,
|
|
@@ -61,7 +61,7 @@ declare function DropdownMenuContent({
|
|
|
61
61
|
overlayStyle?: StyleProp<ViewStyle>;
|
|
62
62
|
overlayClassName?: string;
|
|
63
63
|
portalHost?: string;
|
|
64
|
-
}):
|
|
64
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
65
65
|
declare function DropdownMenuItem({
|
|
66
66
|
className,
|
|
67
67
|
inset,
|
|
@@ -70,7 +70,7 @@ declare function DropdownMenuItem({
|
|
|
70
70
|
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.ItemRef>;
|
|
71
71
|
className?: string;
|
|
72
72
|
inset?: boolean;
|
|
73
|
-
}):
|
|
73
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
74
74
|
declare function DropdownMenuCheckboxItem({
|
|
75
75
|
className,
|
|
76
76
|
children,
|
|
@@ -79,7 +79,7 @@ declare function DropdownMenuCheckboxItem({
|
|
|
79
79
|
}: _rn_primitives_dropdown_menu0.CheckboxItemProps & {
|
|
80
80
|
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.CheckboxItemRef>;
|
|
81
81
|
children?: React$1.ReactNode;
|
|
82
|
-
}):
|
|
82
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
83
83
|
declare function DropdownMenuRadioItem({
|
|
84
84
|
className,
|
|
85
85
|
children,
|
|
@@ -87,7 +87,7 @@ declare function DropdownMenuRadioItem({
|
|
|
87
87
|
}: _rn_primitives_dropdown_menu0.RadioItemProps & {
|
|
88
88
|
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.RadioItemRef>;
|
|
89
89
|
children?: React$1.ReactNode;
|
|
90
|
-
}):
|
|
90
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
91
91
|
declare function DropdownMenuLabel({
|
|
92
92
|
className,
|
|
93
93
|
inset,
|
|
@@ -96,17 +96,17 @@ declare function DropdownMenuLabel({
|
|
|
96
96
|
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.LabelRef>;
|
|
97
97
|
className?: string;
|
|
98
98
|
inset?: boolean;
|
|
99
|
-
}):
|
|
99
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
100
100
|
declare function DropdownMenuSeparator({
|
|
101
101
|
className,
|
|
102
102
|
...props
|
|
103
103
|
}: _rn_primitives_dropdown_menu0.SeparatorProps & {
|
|
104
104
|
ref?: React$1.RefObject<_rn_primitives_dropdown_menu0.SeparatorRef>;
|
|
105
|
-
}):
|
|
105
|
+
}): react_jsx_runtime37.JSX.Element;
|
|
106
106
|
declare function DropdownMenuShortcut({
|
|
107
107
|
className,
|
|
108
108
|
...props
|
|
109
|
-
}: TextProps):
|
|
109
|
+
}: TextProps): react_jsx_runtime37.JSX.Element;
|
|
110
110
|
//#endregion
|
|
111
111
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
112
112
|
//# sourceMappingURL=dropdown-menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","names":[],"sources":["../../ui/dropdown-menu.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAkBM,cAAY,OAAA,CAAA,0BAA6B,
|
|
1
|
+
{"version":3,"file":"dropdown-menu.d.ts","names":[],"sources":["../../ui/dropdown-menu.tsx"],"sourcesContent":[],"mappings":"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"}
|
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_runtime52 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-state.d.ts
|
|
7
7
|
declare const containerVariants: (props?: ({
|
|
8
8
|
density?: "default" | "compact" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
10
10
|
interface EmptyStateProps extends VariantProps<typeof containerVariants> {
|
|
11
11
|
icon?: React$1.ReactNode;
|
|
12
12
|
title: React$1.ReactNode;
|
|
@@ -23,7 +23,7 @@ declare function EmptyState({
|
|
|
23
23
|
secondaryAction,
|
|
24
24
|
className,
|
|
25
25
|
density
|
|
26
|
-
}: EmptyStateProps):
|
|
26
|
+
}: EmptyStateProps): react_jsx_runtime52.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { EmptyState, EmptyStateProps };
|
|
29
29
|
//# sourceMappingURL=empty-state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"empty-state.d.ts","names":[],"sources":["../../ui/empty-state.tsx"],"sourcesContent":[],"mappings":";;;;;;cAQM;;IAUJ,
|
|
1
|
+
{"version":3,"file":"empty-state.d.ts","names":[],"sources":["../../ui/empty-state.tsx"],"sourcesContent":[],"mappings":";;;;;;cAQM;;IAUJ,+BAAA,CAAA;UAEe,eAAA,SACP,oBAAoB;EAbxB,IAAA,CAAA,EAcG,OAAA,CAAM,SAJb;EAEe,KAAA,EAGR,OAAA,CAAM,SAFb;EAA4B,WAAA,CAAA,EAGd,OAAA,CAAM,SAHQ;EACrB,aAAM,CAAA,EAGG,OAAA,CAAM,SAHT;EACN,eAAM,CAAA,EAGK,OAAA,CAAM,SAHX;EACC,SAAM,CAAA,EAAA,MAAA;;AAEF,iBAIJ,UAAA,CAJU;EAAA,IAAA;EAAA,KAAA;EAAA,WAAA;EAAA,aAAA;EAAA,eAAA;EAAA,SAAA;EAAA;AAAA,CAAA,EAYvB,eAZuB,CAAA,EAYR,mBAAA,CAAA,GAAA,CAAA,OAZQ"}
|
package/dist/ui/empty.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { ViewProps } from "react-native";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime156 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types13 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_runtime156.JSX.Element;
|
|
11
11
|
declare function EmptyHeader({
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: ViewProps):
|
|
14
|
+
}: ViewProps): react_jsx_runtime156.JSX.Element;
|
|
15
15
|
declare const emptyMediaVariants: (props?: ({
|
|
16
16
|
variant?: "default" | "icon" | null | undefined;
|
|
17
|
-
} &
|
|
17
|
+
} & class_variance_authority_types13.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_runtime156.JSX.Element;
|
|
23
23
|
declare function EmptyTitle({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: ViewProps):
|
|
26
|
+
}: ViewProps): react_jsx_runtime156.JSX.Element;
|
|
27
27
|
declare function EmptyDescription({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: ViewProps):
|
|
30
|
+
}: ViewProps): react_jsx_runtime156.JSX.Element;
|
|
31
31
|
declare function EmptyContent({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: ViewProps):
|
|
34
|
+
}: ViewProps): react_jsx_runtime156.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
37
37
|
//# sourceMappingURL=empty.d.ts.map
|
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_runtime145 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_runtime145.JSX.Element;
|
|
23
23
|
declare function MiniFAB({
|
|
24
24
|
icon,
|
|
25
25
|
onPress,
|
|
@@ -30,7 +30,7 @@ declare function MiniFAB({
|
|
|
30
30
|
onPress: () => void;
|
|
31
31
|
className?: string;
|
|
32
32
|
color?: string;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime145.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { FAB, MiniFAB };
|
|
36
36
|
//# sourceMappingURL=fab.d.ts.map
|
package/dist/ui/fab.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fab.d.ts","names":[],"sources":["../../ui/fab.tsx"],"sourcesContent":[],"mappings":";;;;UAUU,SAAA;QACF,KAAA,CAAM;;EADJ,OAAA,EAAA,GAAS,GAAA,IAAA;EAOT,KAAA,CAAA,EAAA,MAAQ;AASlB;UATU,QAAA,CAUR;EACA,OAAA,EAVS,SAUT,EAAA;EACA,SAAA,CAAA,EAAA,MAAA;EACA,QAAA,CAAA,EAVW,KAAA,CAAM,SAUjB;EACC,SAAA,CAAA,EAAA,MAAA;;AAAQ,iBALK,GAAA,CAKL;EAAA,OAAA;EAAA,SAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EAAR,QAAQ,CAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"fab.d.ts","names":[],"sources":["../../ui/fab.tsx"],"sourcesContent":[],"mappings":";;;;UAUU,SAAA;QACF,KAAA,CAAM;;EADJ,OAAA,EAAA,GAAS,GAAA,IAAA;EAOT,KAAA,CAAA,EAAA,MAAQ;AASlB;UATU,QAAA,CAUR;EACA,OAAA,EAVS,SAUT,EAAA;EACA,SAAA,CAAA,EAAA,MAAA;EACA,QAAA,CAAA,EAVW,KAAA,CAAM,SAUjB;EACC,SAAA,CAAA,EAAA,MAAA;;AAAQ,iBALK,GAAA,CAKL;EAAA,OAAA;EAAA,SAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EAAR,QAAQ,CAAA,EAAA,oBAAA,CAAA,GAAA,CAAA,OAAA;AAuHK,iBAAA,OAAA,CAAO;EAAA,IAAA;EAAA,OAAA;EAAA,SAAA;EAAA;CAAA,EAAA;EACrB,IAAA,EAKM,KAAA,CAAM,SALZ;EACA,OAAA,EAAA,GAAA,GAAA,IAAA;EACA,SAAA,CAAA,EAAA,MAAA;EACA,KAAA,CAAA,EAAA,MAAA;CAEM,CAAA,EAIP,oBAAA,CAAA,GAAA,CAAA,OAJa"}
|
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_runtime67 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_runtime67.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_runtime67.JSX.Element;
|
|
20
20
|
declare function FieldGroup({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: BoxProps):
|
|
23
|
+
}: BoxProps): react_jsx_runtime67.JSX.Element;
|
|
24
24
|
declare const fieldVariants: (props?: ({
|
|
25
|
-
orientation?: "
|
|
26
|
-
} &
|
|
25
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
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_runtime67.JSX.Element;
|
|
32
32
|
declare function FieldContent({
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: BoxProps):
|
|
35
|
+
}: BoxProps): react_jsx_runtime67.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_runtime67.JSX.Element;
|
|
40
40
|
declare function FieldTitle({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: BoxProps):
|
|
43
|
+
}: BoxProps): react_jsx_runtime67.JSX.Element;
|
|
44
44
|
declare function FieldDescription({
|
|
45
45
|
className,
|
|
46
46
|
...props
|
|
47
|
-
}: TypographyProps):
|
|
47
|
+
}: TypographyProps): react_jsx_runtime67.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_runtime67.JSX.Element;
|
|
55
55
|
declare function FieldError({
|
|
56
56
|
className,
|
|
57
57
|
children,
|
|
@@ -61,7 +61,7 @@ declare function FieldError({
|
|
|
61
61
|
errors?: ({
|
|
62
62
|
message?: string;
|
|
63
63
|
} | undefined)[];
|
|
64
|
-
}):
|
|
64
|
+
}): react_jsx_runtime67.JSX.Element | null;
|
|
65
65
|
//#endregion
|
|
66
66
|
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
67
67
|
//# sourceMappingURL=field.d.ts.map
|
package/dist/ui/field.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.d.ts","names":[],"sources":["../../ui/field.tsx"],"sourcesContent":[],"mappings":";;;;;;;;iBAWS,QAAA;;;GAAkC,WAAQ,mBAAA,CAAA,GAAA,CAAA;iBAc1C,WAAA;;;;GAIN;;IAA2C,mBAAA,CAAA,GAAA,CAAA;AApBS,iBAoC9C,UAAA,CAlCQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAkC4B,QAlC5B,CAAA,EAkCoC,mBAAA,CAAA,GAAA,CAAA,OAlCpC;cA+CX,aA/Cc,EAAA,CAAA,KAA+B,CAA/B,EAAA,CAAA;EAAuB,WAAA,CAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"field.d.ts","names":[],"sources":["../../ui/field.tsx"],"sourcesContent":[],"mappings":";;;;;;;;iBAWS,QAAA;;;GAAkC,WAAQ,mBAAA,CAAA,GAAA,CAAA;iBAc1C,WAAA;;;;GAIN;;IAA2C,mBAAA,CAAA,GAAA,CAAA;AApBS,iBAoC9C,UAAA,CAlCQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAkC4B,QAlC5B,CAAA,EAkCoC,mBAAA,CAAA,GAAA,CAAA,OAlCpC;cA+CX,aA/Cc,EAAA,CAAA,KAA+B,CAA/B,EAAA,CAAA;EAAuB,WAAA,CAAA,EAAA,UAAA,GAAA,YAAA,GAAA,YAAA,GAAA,IAAA,GAAA,SAAA;CAAQ,GAqElD,+BAAA,CAAA,SArEkD,CAAA,GAAA,SAAA,EAAA,GAAA,MAAA;iBAuE1C,KAAA,CAvE0C;EAAA,SAAA;EAAA,WAAA;EAAA,GAAA;AAAA,CAAA,EA2EhD,QA3EgD,GA2ErC,YA3EqC,CAAA,OA2EjB,aA3EiB,CAAA,CAAA,EA2EH,mBAAA,CAAA,GAAA,CAAA,OA3EG;AAAA,iBAuF1C,YAAA,CAzEW;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyE2B,QAzE3B,CAAA,EAyEmC,mBAAA,CAAA,GAAA,CAAA,OAzEnC;iBAsFX,UAAA,CArFP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAwFC,KAAA,CAAM,cAxFP,CAAA,OAwF6B,KAxF7B,CAAA,CAAA,EAwFmC,mBAAA,CAAA,GAAA,CAAA,OAxFnC;iBAuGO,UAAA,CAtGP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAsG2C,QAtG3C,CAAA,EAsGmD,mBAAA,CAAA,GAAA,CAAA,OAtGnD;iBAmHO,gBAAA,CAjHN;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAiHgD,eAjHhD,CAAA,EAiH+D,mBAAA,CAAA,GAAA,CAAA,OAjH/D;iBAgIM,cAAA,CAhIqC;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAoI3C,QApI2C,GAAA;EAAA,QAAA,CAAA,EAqIjC,KAAA,CAAM,SArI2B;AAAA,CAAA,CAAA,EAsI7C,mBAAA,CAAA,GAAA,CAAA,OAtHkB;iBA8IV,UAAA,CA9Ia;EAAA,SAAA;EAAA,QAAA;EAAA,MAAA;EAAA,GAAA;AAA+B,CAA/B,EAmJnB,QAnJmB,GAAA;EAAuB,MAAA,CAAA,EAAA,CAAA;IAAQ,OAAA,CAAA,EAAA,MAAA;EAAA,CAAA,GAAA,SAAA,CAAA,EAAA;AAAA,CAAA,CAAA,EAqJpD,mBAAA,CAAA,GAAA,CAAA,OAAA,GAlHA,IAAA"}
|
package/dist/ui/form.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Label } from "./label.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import
|
|
3
|
+
import { View } from "react-native";
|
|
4
|
+
import * as react_jsx_runtime61 from "react/jsx-runtime";
|
|
4
5
|
import * as react_hook_form0 from "react-hook-form";
|
|
5
6
|
import { ControllerProps, FieldPath, FieldValues, UseFormReturn, useFieldArray, useForm } from "react-hook-form";
|
|
6
|
-
import { Slot } from "@radix-ui/react-slot";
|
|
7
7
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
8
8
|
|
|
9
9
|
//#region ui/form.d.ts
|
|
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_runtime61.JSX.Element;
|
|
14
14
|
declare const useFormField: () => {
|
|
15
15
|
invalid: boolean;
|
|
16
16
|
isDirty: boolean;
|
|
@@ -26,22 +26,25 @@ 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_runtime61.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_runtime61.JSX.Element;
|
|
34
34
|
declare function FormControl({
|
|
35
|
+
asChild,
|
|
35
36
|
...props
|
|
36
|
-
}: React$1.ComponentProps<typeof
|
|
37
|
+
}: React$1.ComponentProps<typeof View> & {
|
|
38
|
+
asChild?: boolean;
|
|
39
|
+
}): react_jsx_runtime61.JSX.Element;
|
|
37
40
|
declare function FormDescription({
|
|
38
41
|
className,
|
|
39
42
|
...props
|
|
40
|
-
}: React$1.ComponentProps<'p'>):
|
|
43
|
+
}: React$1.ComponentProps<'p'>): react_jsx_runtime61.JSX.Element;
|
|
41
44
|
declare function FormMessage({
|
|
42
45
|
className,
|
|
43
46
|
...props
|
|
44
|
-
}: React$1.ComponentProps<'p'>):
|
|
47
|
+
}: React$1.ComponentProps<'p'>): react_jsx_runtime61.JSX.Element | null;
|
|
45
48
|
//#endregion
|
|
46
49
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type UseFormReturn, useFieldArray, useForm, useFormField, zodResolver };
|
|
47
50
|
//# sourceMappingURL=form.d.ts.map
|
package/dist/ui/form.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","names":[],"sources":["../../ui/form.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;cAqBM,4BAAI,kDAAA,qBAAA,gBAAA,CAAA,kBAAA,cAAA,UAAA,wBAAA,OAAA,CAAA,GAAA,CAAA;cAaJ,iCACiB,cAAc,2BACrB,UAAU,gBAAgB,UAAU;;GAGjD,gBAAgB,cAAc,WAAM,
|
|
1
|
+
{"version":3,"file":"form.d.ts","names":[],"sources":["../../ui/form.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;cAqBM,4BAAI,kDAAA,qBAAA,gBAAA,CAAA,kBAAA,cAAA,UAAA,wBAAA,OAAA,CAAA,GAAA,CAAA;cAaJ,iCACiB,cAAc,2BACrB,UAAU,gBAAgB,UAAU;;GAGjD,gBAAgB,cAAc,WAAM,mBAAA,CAAA,GAAA,CAAA;cAQjC;EA1BA,OAAmB,EAAA,OAAA;EAAf,OAAA,EAAA,OAAA;EAAA,SAAA,EAAA,OAAA;EAAA,YAAA,EAAA,OAAA;EAAA,KAAA,CAAA,EA+CT,gBAAA,CAAA,UA/CS;EAAA,EAAA,EAAA,MAAA;EAAA,IAAA,EAAA,MAAA;EAAA,UAAA,EAAA,MAAA;EAAe,iBAAA,EAAA,MAAA;EAanB,aAWL,EAAA,MAAA;CAVsB;iBA2Cd,QAAA,CA3C4B;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2CM,OAAA,CAAM,cA3CZ,CAAA,KAAA,CAAA,CAAA,EA2CiC,mBAAA,CAAA,GAAA,CAAA,OA3CjC;iBAyD5B,SAAA,CAxDiB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2DvB,OAAA,CAAM,cA3DiB,CAAA,OA2DK,KA3DL,CAAA,CAAA,EA2DW,mBAAA,CAAA,GAAA,CAAA,OA3DX;iBAyEjB,WAAA,CAzEO;EAAA,OAAA;EAAA,GAAA;CAAA,EA4Eb,OAAA,CAAM,cA5EO,CAAA,OA4Ee,IA5Ef,CAAA,GAAA;EAAoC,OAAA,CAAA,EAAA,OAAA;CAAV,CAAA,EA8EzC,mBAAA,CAAA,GAAA,CAAA,OA9EyC;iBAkGjC,eAAA,CA/FU;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA+F+B,OAAA,CAAM,cA/FrC,CAAA,GAAA,CAAA,CAAA,EA+FwD,mBAAA,CAAA,GAAA,CAAA,OA/FxD;iBA4GV,WAAA,CA5GwB;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA4Ga,OAAA,CAAM,cA5GnB,CAAA,GAAA,CAAA,CAAA,EA4GsC,mBAAA,CAAA,GAAA,CAAA,OAAA,GA5GtC,IAAA"}
|
package/dist/ui/form.js
CHANGED
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
import { cn } from "./utils.js";
|
|
5
5
|
import { Label } from "./label.js";
|
|
6
|
-
import { Slot } from "../node_modules/@radix-ui/react-slot/dist/index.js";
|
|
7
6
|
import { Controller, FormProvider, useFieldArray, useForm, useFormContext, useFormState } from "../node_modules/react-hook-form/dist/index.esm.js";
|
|
8
7
|
import { t } from "../node_modules/@hookform/resolvers/zod/dist/zod.js";
|
|
9
8
|
import * as React$1 from "react";
|
|
9
|
+
import { View } from "react-native";
|
|
10
|
+
import * as Slot from "@rn-primitives/slot";
|
|
10
11
|
import { jsx } from "react/jsx-runtime";
|
|
11
12
|
|
|
12
13
|
//#region ui/form.tsx
|
|
@@ -57,9 +58,10 @@ function FormLabel({ className,...props }) {
|
|
|
57
58
|
...props
|
|
58
59
|
});
|
|
59
60
|
}
|
|
60
|
-
function FormControl({
|
|
61
|
+
function FormControl({ asChild = false,...props }) {
|
|
62
|
+
const Component = asChild ? Slot.Text : View;
|
|
61
63
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
62
|
-
return /* @__PURE__ */ jsx(
|
|
64
|
+
return /* @__PURE__ */ jsx(Component, {
|
|
63
65
|
"data-slot": "form-control",
|
|
64
66
|
id: formItemId,
|
|
65
67
|
"aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`,
|
package/dist/ui/form.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.js","names":["React"],"sources":["../../ui/form.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as
|
|
1
|
+
{"version":3,"file":"form.js","names":["React","RNView"],"sources":["../../ui/form.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport * as Slot from '@rn-primitives/slot';\nimport { View as RNView } from 'react-native';\nimport {\n Controller,\n type ControllerProps,\n type FieldPath,\n type FieldValues,\n FormProvider,\n useFormContext,\n useFormState,\n} from 'react-hook-form';\n\nimport { cn } from './utils';\nimport { Label } from './label';\n\nexport { zodResolver } from '@hookform/resolvers/zod';\nexport { useForm, type UseFormReturn, useFieldArray } from 'react-hook-form';\n\nconst Form = FormProvider;\n\ninterface FormFieldContextValue<\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,\n> {\n name: TName;\n}\n\nconst FormFieldContext = React.createContext<FormFieldContextValue>(\n {} as FormFieldContextValue\n);\n\nconst FormField = <\n TFieldValues extends FieldValues = FieldValues,\n TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>,\n>({\n ...props\n}: ControllerProps<TFieldValues, TName>) => {\n return (\n <FormFieldContext.Provider value={{ name: props.name }}>\n <Controller {...props} />\n </FormFieldContext.Provider>\n );\n};\n\nconst useFormField = () => {\n const fieldContext = React.useContext(FormFieldContext);\n const itemContext = React.useContext(FormItemContext);\n const { getFieldState } = useFormContext();\n const formState = useFormState({ name: fieldContext.name });\n const fieldState = getFieldState(fieldContext.name, formState);\n\n if (!fieldContext) {\n throw new Error('useFormField should be used within <FormField>');\n }\n\n const { id } = itemContext;\n\n return {\n id,\n name: fieldContext.name,\n formItemId: `${id}-form-item`,\n formDescriptionId: `${id}-form-item-description`,\n formMessageId: `${id}-form-item-message`,\n ...fieldState,\n };\n};\n\ninterface FormItemContextValue {\n id: string;\n}\n\nconst FormItemContext = React.createContext<FormItemContextValue>(\n {} as FormItemContextValue\n);\n\nfunction FormItem({ className, ...props }: React.ComponentProps<'div'>) {\n const id = React.useId();\n\n return (\n <FormItemContext.Provider value={{ id }}>\n <div\n data-slot=\"form-item\"\n className={cn('grid gap-2', className)}\n {...props}\n />\n </FormItemContext.Provider>\n );\n}\n\nfunction FormLabel({\n className,\n ...props\n}: React.ComponentProps<typeof Label>) {\n const { error, formItemId } = useFormField();\n\n return (\n <Label\n data-slot=\"form-label\"\n data-error={!!error}\n className={cn('data-[error=true]:text-destructive', className)}\n htmlFor={formItemId}\n {...props}\n />\n );\n}\n\nfunction FormControl({\n asChild = false,\n ...props\n}: React.ComponentProps<typeof RNView> & {\n asChild?: boolean;\n}) {\n const Component = asChild ? Slot.Text : RNView;\n const { error, formItemId, formDescriptionId, formMessageId } =\n useFormField();\n\n return (\n <Component\n data-slot=\"form-control\"\n id={formItemId}\n aria-describedby={\n !error\n ? `${formDescriptionId}`\n : `${formDescriptionId} ${formMessageId}`\n }\n aria-invalid={!!error}\n {...props}\n />\n );\n}\n\nfunction FormDescription({ className, ...props }: React.ComponentProps<'p'>) {\n const { formDescriptionId } = useFormField();\n\n return (\n <p\n data-slot=\"form-description\"\n id={formDescriptionId}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n );\n}\n\nfunction FormMessage({ className, ...props }: React.ComponentProps<'p'>) {\n const { error, formMessageId } = useFormField();\n const body = error ? String(error?.message ?? '') : props.children;\n\n if (!body) {\n return null;\n }\n\n return (\n <p\n data-slot=\"form-message\"\n id={formMessageId}\n className={cn('text-destructive text-sm', className)}\n {...props}\n >\n {body}\n </p>\n );\n}\n\nexport {\n useFormField,\n Form,\n FormItem,\n FormLabel,\n FormControl,\n FormDescription,\n FormMessage,\n FormField,\n};\n"],"mappings":";;;;;;;;;;;;;AAqBA,MAAM,OAAO;AASb,MAAM,mBAAmBA,QAAM,cAC7B,EAAE,CACH;AAED,MAAM,aAGJ,EACA,GAAG,YACuC;AAC1C,QACE,oBAAC,iBAAiB;EAAS,OAAO,EAAE,MAAM,MAAM,MAAM;YACpD,oBAAC,cAAW,GAAI,QAAS;GACC;;AAIhC,MAAM,qBAAqB;CACzB,MAAM,eAAeA,QAAM,WAAW,iBAAiB;CACvD,MAAM,cAAcA,QAAM,WAAW,gBAAgB;CACrD,MAAM,EAAE,kBAAkB,gBAAgB;CAC1C,MAAM,YAAY,aAAa,EAAE,MAAM,aAAa,MAAM,CAAC;CAC3D,MAAM,aAAa,cAAc,aAAa,MAAM,UAAU;AAE9D,KAAI,CAAC,aACH,OAAM,IAAI,MAAM,iDAAiD;CAGnE,MAAM,EAAE,OAAO;AAEf,QAAO;EACL;EACA,MAAM,aAAa;EACnB,YAAY,GAAG,GAAG;EAClB,mBAAmB,GAAG,GAAG;EACzB,eAAe,GAAG,GAAG;EACrB,GAAG;EACJ;;AAOH,MAAM,kBAAkBA,QAAM,cAC5B,EAAE,CACH;AAED,SAAS,SAAS,EAAE,UAAW,GAAG,SAAsC;CACtE,MAAM,KAAKA,QAAM,OAAO;AAExB,QACE,oBAAC,gBAAgB;EAAS,OAAO,EAAE,IAAI;YACrC,oBAAC;GACC,aAAU;GACV,WAAW,GAAG,cAAc,UAAU;GACtC,GAAI;IACJ;GACuB;;AAI/B,SAAS,UAAU,EACjB,UACA,GAAG,SACkC;CACrC,MAAM,EAAE,OAAO,eAAe,cAAc;AAE5C,QACE,oBAAC;EACC,aAAU;EACV,cAAY,CAAC,CAAC;EACd,WAAW,GAAG,sCAAsC,UAAU;EAC9D,SAAS;EACT,GAAI;GACJ;;AAIN,SAAS,YAAY,EACnB,UAAU,MACV,GAAG,SAGF;CACD,MAAM,YAAY,UAAU,KAAK,OAAOC;CACxC,MAAM,EAAE,OAAO,YAAY,mBAAmB,kBAC5C,cAAc;AAEhB,QACE,oBAAC;EACC,aAAU;EACV,IAAI;EACJ,oBACE,CAAC,QACG,GAAG,sBACH,GAAG,kBAAkB,GAAG;EAE9B,gBAAc,CAAC,CAAC;EAChB,GAAI;GACJ;;AAIN,SAAS,gBAAgB,EAAE,UAAW,GAAG,SAAoC;CAC3E,MAAM,EAAE,sBAAsB,cAAc;AAE5C,QACE,oBAAC;EACC,aAAU;EACV,IAAI;EACJ,WAAW,GAAG,iCAAiC,UAAU;EACzD,GAAI;GACJ;;AAIN,SAAS,YAAY,EAAE,UAAW,GAAG,SAAoC;CACvE,MAAM,EAAE,OAAO,kBAAkB,cAAc;CAC/C,MAAM,OAAO,QAAQ,OAAO,OAAO,WAAW,GAAG,GAAG,MAAM;AAE1D,KAAI,CAAC,KACH,QAAO;AAGT,QACE,oBAAC;EACC,aAAU;EACV,IAAI;EACJ,WAAW,GAAG,4BAA4B,UAAU;EACpD,GAAI;YAEH;GACC"}
|
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_native20 from "react-native";
|
|
3
|
+
import * as react_jsx_runtime84 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_native20.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_native20.View>>;
|
|
14
|
+
declare const HoverCardTrigger: React$1.ForwardRefExoticComponent<Omit<react_native20.PressableProps & React$1.RefAttributes<react_native20.View>, "ref"> & {
|
|
15
15
|
asChild?: boolean;
|
|
16
16
|
} & {
|
|
17
17
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
@@ -24,7 +24,7 @@ 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_runtime84.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
30
30
|
//# sourceMappingURL=hover-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hover-card.d.ts","names":[],"sources":["../../ui/hover-card.tsx"],"sourcesContent":[],"mappings":";;;;;;cAOM,WAAS,OAAA,CAAA,0BAA0B,
|
|
1
|
+
{"version":3,"file":"hover-card.d.ts","names":[],"sources":["../../ui/hover-card.tsx"],"sourcesContent":[],"mappings":";;;;;;cAOM,WAAS,OAAA,CAAA,0BAA0B,cAAA,CAA1B,SAAA;;;;EAAT,SAAA,CAAA,EAAmC,MAAA;EAAA,UAAA,CAAA,EAA1B,MAAA;CAAA,wBAAA,CAAA,cAAA,CAAA,IAAA,CAAA,CAAA;cAET,kBAAgB,OAAA,CAAA,0BAAA,KAA6B,cAAA,CAA7B,cAAA,GAAA,OAAA,CAAA,cAAA,cAAA,CAAA,IAAA;EAFP,OAAA,CAAA,EAAA,OAAA;CAAA,GAAA;EAET,SAAA,CAAA,EAAA,CAAA,EAAA,uBAA6C,EAAA,GAAA,IAAA;EAAA,OAAA,CAAA,EAAA,CAAA,EAA7B,uBAAA,EAAA,GAAA,IAAA;CAAA,wBAAA,uCAAA,CAAA;iBAEb,gBAAA,CAFa;EAAA,SAAA;EAAA,KAAA;EAAA,UAAA;EAAA,GAAA;CAAA,EAOnB,0BAAA,CAAmB,YAPA,GAAA;EAAA,GAAA,CAAA,EAQd,OAAA,CAAM,SARQ,CAQE,0BAAA,CAAmB,UARrB,CAAA;IASrB,mBAAA,CAAA,GAAA,CAAA"}
|
package/dist/ui/input.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { TextInput, TextInputProps } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime85 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/input.d.ts
|
|
6
6
|
declare function Input({
|
|
@@ -9,7 +9,7 @@ declare function Input({
|
|
|
9
9
|
...props
|
|
10
10
|
}: TextInputProps & {
|
|
11
11
|
ref?: React$1.RefObject<TextInput>;
|
|
12
|
-
}):
|
|
12
|
+
}): react_jsx_runtime85.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Input };
|
|
15
15
|
//# sourceMappingURL=input.d.ts.map
|
package/dist/ui/label.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime87 from "react/jsx-runtime";
|
|
2
2
|
import * as LabelPrimitive from "@rn-primitives/label";
|
|
3
3
|
|
|
4
4
|
//#region ui/label.d.ts
|
|
@@ -10,7 +10,7 @@ declare function Label({
|
|
|
10
10
|
onPressOut,
|
|
11
11
|
disabled,
|
|
12
12
|
...props
|
|
13
|
-
}: LabelPrimitive.TextProps & React.RefAttributes<LabelPrimitive.TextRef>):
|
|
13
|
+
}: LabelPrimitive.TextProps & React.RefAttributes<LabelPrimitive.TextRef>): react_jsx_runtime87.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Label };
|
|
16
16
|
//# sourceMappingURL=label.d.ts.map
|
package/dist/ui/link.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime86 from "react/jsx-runtime";
|
|
3
3
|
import { Link as Link$1, LinkProps } from "expo-router";
|
|
4
4
|
|
|
5
5
|
//#region ui/link.d.ts
|
|
@@ -8,7 +8,7 @@ declare function Link({
|
|
|
8
8
|
...props
|
|
9
9
|
}: LinkProps & {
|
|
10
10
|
ref?: React$1.RefObject<typeof Link$1>;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime86.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Link };
|
|
14
14
|
//# sourceMappingURL=link.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonProps } from "./button.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime88 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/loading-button.d.ts
|
|
6
6
|
interface LoadingButtonProps extends ButtonProps {
|
|
@@ -14,7 +14,7 @@ declare function LoadingButton({
|
|
|
14
14
|
children,
|
|
15
15
|
disabled,
|
|
16
16
|
...props
|
|
17
|
-
}: LoadingButtonProps):
|
|
17
|
+
}: LoadingButtonProps): react_jsx_runtime88.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { LoadingButton };
|
|
20
20
|
//# sourceMappingURL=loading-button.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime89 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/loading-overlay.d.ts
|
|
4
4
|
interface LoadingOverlayProps {
|
|
@@ -10,7 +10,7 @@ declare function LoadingOverlay({
|
|
|
10
10
|
isVisible,
|
|
11
11
|
title,
|
|
12
12
|
subtitle
|
|
13
|
-
}: LoadingOverlayProps):
|
|
13
|
+
}: LoadingOverlayProps): react_jsx_runtime89.JSX.Element | null;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { LoadingOverlay };
|
|
16
16
|
//# sourceMappingURL=loading-overlay.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/loading-screen.d.ts
|
|
4
4
|
interface LoadingScreenProps {
|
|
@@ -8,7 +8,7 @@ interface LoadingScreenProps {
|
|
|
8
8
|
declare function LoadingScreen({
|
|
9
9
|
title,
|
|
10
10
|
variant
|
|
11
|
-
}: LoadingScreenProps):
|
|
11
|
+
}: LoadingScreenProps): react_jsx_runtime90.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { LoadingScreen };
|
|
14
14
|
//# sourceMappingURL=loading-screen.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/marketing/FeatureGrid.d.ts
|
|
5
5
|
interface FeatureItem {
|
|
@@ -15,7 +15,7 @@ declare function FeatureGrid({
|
|
|
15
15
|
items: FeatureItem[];
|
|
16
16
|
columns?: 2 | 3 | 4;
|
|
17
17
|
className?: string;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime53.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { FeatureGrid, FeatureItem };
|
|
21
21
|
//# sourceMappingURL=FeatureGrid.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime54 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/marketing/Hero.d.ts
|
|
5
5
|
declare function Hero({
|
|
@@ -22,7 +22,7 @@ declare function Hero({
|
|
|
22
22
|
onClick?: () => void;
|
|
23
23
|
};
|
|
24
24
|
className?: string;
|
|
25
|
-
}):
|
|
25
|
+
}): react_jsx_runtime54.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { Hero };
|
|
28
28
|
//# sourceMappingURL=Hero.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime56 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/marketing/PricingTable.d.ts
|
|
4
4
|
interface PricingTier {
|
|
@@ -19,7 +19,7 @@ declare function PricingTable({
|
|
|
19
19
|
}: {
|
|
20
20
|
tiers: PricingTier[];
|
|
21
21
|
className?: string;
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime56.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { PricingTable, PricingTier };
|
|
25
25
|
//# sourceMappingURL=PricingTable.d.ts.map
|