@lssm/lib.ui-kit 0.0.0-canary-20251217060433 → 0.0.0-canary-20251217060834
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/ui/accordion.js +1 -1
- package/dist/ui/alert-dialog.d.ts +2 -2
- package/dist/ui/alert-dialog.js +1 -1
- package/dist/ui/alert.js +1 -1
- package/dist/ui/aspect-ratio.d.ts +5 -5
- package/dist/ui/avatar.d.ts +4 -4
- package/dist/ui/avatar.js +1 -1
- package/dist/ui/badge.d.ts +2 -2
- package/dist/ui/badge.js +1 -1
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/breadcrumb.js +1 -1
- package/dist/ui/button.d.ts +2 -2
- 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.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 +16 -16
- 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 +14 -14
- package/dist/ui/field.js +1 -1
- package/dist/ui/form.d.ts +7 -7
- package/dist/ui/form.js +1 -1
- 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/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/ListPage/ListPage.d.ts +2 -2
- package/dist/ui/organisms/ListPage/ListPage.js +1 -1
- 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/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 +4 -4
- 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/-core/src/utils.js +0 -10
package/dist/ui/accordion.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ChevronDown } from "./icons/ChevronDown.js";
|
|
2
|
-
import { cn } from "../-core/src/utils.js";
|
|
3
2
|
import { TextClassContext } from "./text.js";
|
|
4
3
|
import * as AccordionPrimitive from "@rn-primitives/accordion";
|
|
5
4
|
import "react";
|
|
6
5
|
import { Platform, Pressable, View } from "react-native";
|
|
7
6
|
import Animated, { Extrapolation, FadeIn, FadeOutUp, LayoutAnimationConfig, LinearTransition, interpolate, useAnimatedStyle, useDerivedValue, withTiming } from "react-native-reanimated";
|
|
7
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
|
|
10
10
|
//#region ui/accordion.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native6 from "react-native";
|
|
3
3
|
import { View, ViewProps } from "react-native";
|
|
4
4
|
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
5
5
|
import * as AlertDialogPrimitive from "@rn-primitives/alert-dialog";
|
|
@@ -12,7 +12,7 @@ declare const AlertDialog: React$1.ForwardRefExoticComponent<{
|
|
|
12
12
|
} & ViewProps & {
|
|
13
13
|
asChild?: boolean;
|
|
14
14
|
} & React$1.RefAttributes<View>>;
|
|
15
|
-
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<Omit<
|
|
15
|
+
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<Omit<react_native6.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
16
16
|
asChild?: boolean;
|
|
17
17
|
} & {
|
|
18
18
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
package/dist/ui/alert-dialog.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { cn } from "../-core/src/utils.js";
|
|
2
1
|
import { TextClassContext } from "./text.js";
|
|
3
2
|
import { buttonTextVariants, buttonVariants } from "./button.js";
|
|
4
3
|
import "react";
|
|
5
4
|
import { Platform, View } from "react-native";
|
|
6
5
|
import Animated, { FadeIn, FadeOut } from "react-native-reanimated";
|
|
6
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
import * as AlertDialogPrimitive from "@rn-primitives/alert-dialog";
|
|
9
9
|
|
package/dist/ui/alert.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { cn } from "../-core/src/utils.js";
|
|
2
1
|
import { Text as Text$1 } from "./text.js";
|
|
3
2
|
import "react";
|
|
4
3
|
import { 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 { cva } from "class-variance-authority";
|
|
7
7
|
import { useTheme } from "@react-navigation/native";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react6 from "react";
|
|
2
|
+
import * as react_native7 from "react-native";
|
|
3
3
|
import * as _rn_primitives_types0 from "@rn-primitives/types";
|
|
4
4
|
|
|
5
5
|
//#region ui/aspect-ratio.d.ts
|
|
6
|
-
declare const AspectRatio:
|
|
6
|
+
declare const AspectRatio: react6.ForwardRefExoticComponent<Omit<_rn_primitives_types0.SlottableViewProps, "style"> & {
|
|
7
7
|
ratio?: number;
|
|
8
|
-
style?:
|
|
9
|
-
} &
|
|
8
|
+
style?: react_native7.ViewStyle;
|
|
9
|
+
} & react6.RefAttributes<react_native7.View>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { AspectRatio };
|
package/dist/ui/avatar.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
3
3
|
import * as AvatarPrimitive from "@rn-primitives/avatar";
|
|
4
4
|
|
|
5
5
|
//#region ui/avatar.d.ts
|
|
@@ -8,7 +8,7 @@ declare function Avatar({
|
|
|
8
8
|
...props
|
|
9
9
|
}: AvatarPrimitive.RootProps & {
|
|
10
10
|
ref?: React$1.RefObject<AvatarPrimitive.RootRef>;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime14.JSX.Element;
|
|
12
12
|
declare function AvatarImage({
|
|
13
13
|
className,
|
|
14
14
|
alt,
|
|
@@ -16,12 +16,12 @@ declare function AvatarImage({
|
|
|
16
16
|
}: AvatarPrimitive.ImageProps & {
|
|
17
17
|
ref?: React$1.RefObject<AvatarPrimitive.ImageRef>;
|
|
18
18
|
alt?: string;
|
|
19
|
-
}):
|
|
19
|
+
}): react_jsx_runtime14.JSX.Element;
|
|
20
20
|
declare function AvatarFallback({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
23
|
}: AvatarPrimitive.FallbackProps & {
|
|
24
24
|
ref?: React$1.RefObject<AvatarPrimitive.FallbackRef>;
|
|
25
|
-
}):
|
|
25
|
+
}): react_jsx_runtime14.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { Avatar, AvatarFallback, AvatarImage };
|
package/dist/ui/avatar.js
CHANGED
package/dist/ui/badge.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
6
6
|
|
|
@@ -16,6 +16,6 @@ declare function Badge({
|
|
|
16
16
|
variant,
|
|
17
17
|
labelClassName,
|
|
18
18
|
...props
|
|
19
|
-
}: BadgeProps):
|
|
19
|
+
}: BadgeProps): react_jsx_runtime17.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Badge, badgeVariants };
|
package/dist/ui/badge.js
CHANGED
package/dist/ui/breadcrumb.d.ts
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/breadcrumb.d.ts
|
|
6
6
|
declare function Breadcrumb({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<'nav'>):
|
|
8
|
+
}: React$1.ComponentProps<'nav'>): react_jsx_runtime18.JSX.Element;
|
|
9
9
|
declare function BreadcrumbList({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.ComponentProps<typeof View>):
|
|
12
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
|
|
13
13
|
declare function BreadcrumbItem({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React$1.ComponentProps<typeof View>):
|
|
16
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
|
|
17
17
|
declare function BreadcrumbLink({
|
|
18
18
|
asChild,
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
21
|
}: React$1.ComponentProps<typeof View> & {
|
|
22
22
|
asChild?: boolean;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime18.JSX.Element;
|
|
24
24
|
declare function BreadcrumbPage({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React$1.ComponentProps<typeof View>):
|
|
27
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
|
|
28
28
|
declare function BreadcrumbSeparator({
|
|
29
29
|
children,
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React$1.ComponentProps<typeof View>):
|
|
32
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
|
|
33
33
|
declare function BreadcrumbEllipsis({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React$1.ComponentProps<typeof View>):
|
|
36
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime18.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
package/dist/ui/breadcrumb.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { cn } from "../-core/src/utils.js";
|
|
2
1
|
import { ChevronRight } from "../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
|
|
3
2
|
import { Ellipsis } from "../node_modules/lucide-react/dist/esm/icons/ellipsis.js";
|
|
4
3
|
import "react";
|
|
5
4
|
import { Text, View } from "react-native";
|
|
6
5
|
import "@rn-primitives/slot";
|
|
6
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region ui/breadcrumb.tsx
|
package/dist/ui/button.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { Pressable } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
6
6
|
|
|
@@ -20,6 +20,6 @@ declare function Button({
|
|
|
20
20
|
variant,
|
|
21
21
|
size,
|
|
22
22
|
...props
|
|
23
|
-
}: ButtonProps):
|
|
23
|
+
}: ButtonProps): react_jsx_runtime25.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Button, type ButtonProps, buttonTextVariants, buttonVariants };
|
package/dist/ui/button.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { cn } from "../-core/src/utils.js";
|
|
2
1
|
import { TextClassContext } from "./text.js";
|
|
3
2
|
import "react";
|
|
4
3
|
import { Pressable } from "react-native";
|
|
4
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { cva } from "class-variance-authority";
|
|
7
7
|
|
package/dist/ui/card.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { Text, TextProps, View, ViewProps } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/card.d.ts
|
|
6
6
|
declare function Card({
|
|
@@ -8,36 +8,36 @@ declare function Card({
|
|
|
8
8
|
...props
|
|
9
9
|
}: ViewProps & {
|
|
10
10
|
ref?: React$1.RefObject<View>;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime26.JSX.Element;
|
|
12
12
|
declare function CardHeader({
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
15
|
}: ViewProps & {
|
|
16
16
|
ref?: React$1.RefObject<View>;
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime26.JSX.Element;
|
|
18
18
|
declare function CardTitle({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
21
|
}: TextProps & {
|
|
22
22
|
ref?: React$1.RefObject<Text>;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime26.JSX.Element;
|
|
24
24
|
declare function CardDescription({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
27
|
}: TextProps & {
|
|
28
28
|
ref?: React$1.RefObject<Text>;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime26.JSX.Element;
|
|
30
30
|
declare function CardContent({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
33
|
}: ViewProps & {
|
|
34
34
|
ref?: React$1.RefObject<View>;
|
|
35
|
-
}):
|
|
35
|
+
}): react_jsx_runtime26.JSX.Element;
|
|
36
36
|
declare function CardFooter({
|
|
37
37
|
className,
|
|
38
38
|
...props
|
|
39
39
|
}: ViewProps & {
|
|
40
40
|
ref?: React$1.RefObject<View>;
|
|
41
|
-
}):
|
|
41
|
+
}): react_jsx_runtime26.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
package/dist/ui/card.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { cn } from "../-core/src/utils.js";
|
|
2
1
|
import { TextClassContext } from "./text.js";
|
|
3
2
|
import "react";
|
|
4
3
|
import { Text, View } from "react-native";
|
|
4
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region ui/card.tsx
|
package/dist/ui/checkbox.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { cn } from "../-core/src/utils.js";
|
|
2
1
|
import * as React$1 from "react";
|
|
3
2
|
import { Check } from "lucide-react-native";
|
|
3
|
+
import { cn } from "@lssm/lib.ui-kit-core/utils";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import * as CheckboxPrimitive from "@rn-primitives/checkbox";
|
|
6
6
|
|
package/dist/ui/collapsible.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react0 from "react";
|
|
2
|
+
import * as react_native0 from "react-native";
|
|
3
3
|
import * as _rn_primitives_types0 from "@rn-primitives/types";
|
|
4
4
|
|
|
5
5
|
//#region ui/collapsible.d.ts
|
|
6
|
-
declare const Collapsible:
|
|
6
|
+
declare const Collapsible: react0.ForwardRefExoticComponent<react_native0.ViewProps & {
|
|
7
7
|
asChild?: boolean;
|
|
8
8
|
} & {
|
|
9
9
|
open?: boolean;
|
|
10
10
|
defaultOpen?: boolean;
|
|
11
11
|
onOpenChange?: (open: boolean) => void;
|
|
12
12
|
disabled?: boolean;
|
|
13
|
-
} &
|
|
14
|
-
declare const CollapsibleTrigger:
|
|
13
|
+
} & react0.RefAttributes<react_native0.View>>;
|
|
14
|
+
declare const CollapsibleTrigger: react0.ForwardRefExoticComponent<Omit<react_native0.PressableProps & react0.RefAttributes<react_native0.View>, "ref"> & {
|
|
15
15
|
asChild?: boolean;
|
|
16
16
|
} & {
|
|
17
17
|
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
18
18
|
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
19
|
-
} &
|
|
20
|
-
declare const CollapsibleContent:
|
|
19
|
+
} & react0.RefAttributes<react_native0.View>>;
|
|
20
|
+
declare const CollapsibleContent: react0.ForwardRefExoticComponent<_rn_primitives_types0.ForceMountable & react_native0.ViewProps & {
|
|
21
21
|
asChild?: boolean;
|
|
22
|
-
} &
|
|
22
|
+
} & react0.RefAttributes<react_native0.View>>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native17 from "react-native";
|
|
3
3
|
import { StyleProp, TextProps, View, ViewStyle } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime33 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_native17.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_native17.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_native17.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_native17.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_native17.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_runtime33.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_runtime33.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_runtime33.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_runtime33.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_runtime33.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_runtime33.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_runtime33.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_runtime33.JSX.Element;
|
|
104
104
|
declare function ContextMenuShortcut({
|
|
105
105
|
className,
|
|
106
106
|
...props
|
|
107
|
-
}: TextProps):
|
|
107
|
+
}: TextProps): react_jsx_runtime33.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";
|
|
3
2
|
import { TextClassContext } from "./text.js";
|
|
4
3
|
import { Check } from "./icons/Check.js";
|
|
5
4
|
import { ChevronRight } from "./icons/ChevronRight.js";
|
|
6
5
|
import { ChevronUp } from "./icons/ChevronUp.js";
|
|
7
6
|
import "react";
|
|
8
7
|
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_runtime42 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_runtime42.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";
|
|
2
1
|
import { Text as Text$1 } from "./text.js";
|
|
3
2
|
import React, { useMemo, useState } from "react";
|
|
4
3
|
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_runtime43 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_runtime43.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { DateRange, DateRangePicker, DateRangePickerProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { cn } from "../-core/src/utils.js";
|
|
2
1
|
import { Text as Text$1 } from "./text.js";
|
|
3
2
|
import { HStack, VStack } from "./stack.js";
|
|
4
3
|
import React, { useMemo, useState } from "react";
|
|
5
4
|
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_runtime44 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_runtime44.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_native22 from "react-native";
|
|
3
3
|
import { View, ViewProps } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime45 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_native22.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_native22.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_runtime45.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_runtime45.JSX.Element;
|
|
47
47
|
declare function DialogHeader({
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
|
-
}: ViewProps):
|
|
50
|
+
}: ViewProps): react_jsx_runtime45.JSX.Element;
|
|
51
51
|
declare function DialogFooter({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: ViewProps):
|
|
54
|
+
}: ViewProps): react_jsx_runtime45.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_runtime45.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_runtime45.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";
|
|
2
1
|
import { X } from "./icons/X.js";
|
|
3
2
|
import "react";
|
|
4
3
|
import { Platform, StyleSheet, View } from "react-native";
|
|
5
4
|
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
|
|