@lssm/lib.ui-kit 0.0.0-canary-20251217060804 → 0.0.0-canary-20251217062139
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 → dist}/utils.js +1 -1
- package/dist/ui/accordion.d.ts +5 -5
- 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 +6 -6
- 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 +9 -9
- 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 +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 +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 +8 -8
- 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.js +1 -1
- package/dist/ui/stack.d.ts +17 -17
- 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 +11 -11
- 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 +3 -3
- 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
package/dist/ui/accordion.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as AccordionPrimitive from "@rn-primitives/accordion";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime115 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/accordion.d.ts
|
|
6
6
|
declare function Accordion({
|
|
@@ -8,14 +8,14 @@ declare function Accordion({
|
|
|
8
8
|
...props
|
|
9
9
|
}: Omit<AccordionPrimitive.RootProps, 'asChild'> & {
|
|
10
10
|
ref?: React$1.RefObject<AccordionPrimitive.RootRef>;
|
|
11
|
-
}):
|
|
11
|
+
}): react_jsx_runtime115.JSX.Element;
|
|
12
12
|
declare function AccordionItem({
|
|
13
13
|
className,
|
|
14
14
|
value,
|
|
15
15
|
...props
|
|
16
16
|
}: AccordionPrimitive.ItemProps & {
|
|
17
17
|
ref?: React$1.RefObject<AccordionPrimitive.ItemRef>;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime115.JSX.Element;
|
|
19
19
|
declare function AccordionTrigger({
|
|
20
20
|
className,
|
|
21
21
|
children,
|
|
@@ -23,13 +23,13 @@ declare function AccordionTrigger({
|
|
|
23
23
|
}: AccordionPrimitive.TriggerProps & {
|
|
24
24
|
children?: React$1.ReactNode;
|
|
25
25
|
ref?: React$1.RefObject<AccordionPrimitive.TriggerRef>;
|
|
26
|
-
}):
|
|
26
|
+
}): react_jsx_runtime115.JSX.Element;
|
|
27
27
|
declare function AccordionContent({
|
|
28
28
|
className,
|
|
29
29
|
children,
|
|
30
30
|
...props
|
|
31
31
|
}: AccordionPrimitive.ContentProps & {
|
|
32
32
|
ref?: React$1.RefObject<AccordionPrimitive.ContentRef>;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime115.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
35
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
package/dist/ui/accordion.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChevronDown } from "./icons/ChevronDown.js";
|
|
2
|
-
import { cn } from "../-core/
|
|
2
|
+
import { cn } from "../-core/dist/utils.js";
|
|
3
3
|
import { TextClassContext } from "./text.js";
|
|
4
4
|
import * as AccordionPrimitive from "@rn-primitives/accordion";
|
|
5
5
|
import "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native44 from "react-native";
|
|
3
3
|
import { View, ViewProps } from "react-native";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime120 from "react/jsx-runtime";
|
|
5
5
|
import * as AlertDialogPrimitive from "@rn-primitives/alert-dialog";
|
|
6
6
|
|
|
7
7
|
//#region ui/alert-dialog.d.ts
|
|
@@ -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_native44.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
16
16
|
asChild?: boolean;
|
|
17
17
|
} & {
|
|
18
18
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
@@ -25,7 +25,7 @@ declare function AlertDialogOverlayNative({
|
|
|
25
25
|
...props
|
|
26
26
|
}: AlertDialogPrimitive.OverlayProps & {
|
|
27
27
|
ref?: React$1.RefObject<AlertDialogPrimitive.OverlayRef>;
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime120.JSX.Element;
|
|
29
29
|
declare const AlertDialogOverlay: typeof AlertDialogOverlayNative;
|
|
30
30
|
declare function AlertDialogContent({
|
|
31
31
|
className,
|
|
@@ -34,38 +34,38 @@ declare function AlertDialogContent({
|
|
|
34
34
|
}: AlertDialogPrimitive.ContentProps & {
|
|
35
35
|
ref?: React$1.RefObject<AlertDialogPrimitive.ContentRef>;
|
|
36
36
|
portalHost?: string;
|
|
37
|
-
}):
|
|
37
|
+
}): react_jsx_runtime120.JSX.Element;
|
|
38
38
|
declare function AlertDialogHeader({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: ViewProps):
|
|
41
|
+
}: ViewProps): react_jsx_runtime120.JSX.Element;
|
|
42
42
|
declare function AlertDialogFooter({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: ViewProps):
|
|
45
|
+
}: ViewProps): react_jsx_runtime120.JSX.Element;
|
|
46
46
|
declare function AlertDialogTitle({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
49
|
}: AlertDialogPrimitive.TitleProps & {
|
|
50
50
|
ref?: React$1.RefObject<AlertDialogPrimitive.TitleRef>;
|
|
51
|
-
}):
|
|
51
|
+
}): react_jsx_runtime120.JSX.Element;
|
|
52
52
|
declare function AlertDialogDescription({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
55
|
}: AlertDialogPrimitive.DescriptionProps & {
|
|
56
56
|
ref?: React$1.RefObject<AlertDialogPrimitive.DescriptionRef>;
|
|
57
|
-
}):
|
|
57
|
+
}): react_jsx_runtime120.JSX.Element;
|
|
58
58
|
declare function AlertDialogAction({
|
|
59
59
|
className,
|
|
60
60
|
...props
|
|
61
61
|
}: AlertDialogPrimitive.ActionProps & {
|
|
62
62
|
ref?: React$1.RefObject<AlertDialogPrimitive.ActionRef>;
|
|
63
|
-
}):
|
|
63
|
+
}): react_jsx_runtime120.JSX.Element;
|
|
64
64
|
declare function AlertDialogCancel({
|
|
65
65
|
className,
|
|
66
66
|
...props
|
|
67
67
|
}: AlertDialogPrimitive.CancelProps & {
|
|
68
68
|
ref?: React$1.RefObject<AlertDialogPrimitive.CancelRef>;
|
|
69
|
-
}):
|
|
69
|
+
}): react_jsx_runtime120.JSX.Element;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
package/dist/ui/alert-dialog.js
CHANGED
package/dist/ui/alert.d.ts
CHANGED
|
@@ -2,14 +2,14 @@ import { Text as Text$1 } from "./text.js";
|
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { View, ViewProps } from "react-native";
|
|
4
4
|
import { LucideIcon } from "lucide-react-native";
|
|
5
|
-
import * as
|
|
5
|
+
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
6
6
|
import { VariantProps } from "class-variance-authority";
|
|
7
|
-
import * as
|
|
7
|
+
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
8
8
|
|
|
9
9
|
//#region ui/alert.d.ts
|
|
10
10
|
declare const alertVariants: (props?: ({
|
|
11
11
|
variant?: "default" | "destructive" | null | undefined;
|
|
12
|
-
} &
|
|
12
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
13
13
|
declare function Alert({
|
|
14
14
|
className,
|
|
15
15
|
variant,
|
|
@@ -23,14 +23,14 @@ declare function Alert({
|
|
|
23
23
|
icon: LucideIcon;
|
|
24
24
|
iconSize?: number;
|
|
25
25
|
iconClassName?: string;
|
|
26
|
-
}):
|
|
26
|
+
}): react_jsx_runtime92.JSX.Element;
|
|
27
27
|
declare function AlertTitle({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React$1.ComponentProps<typeof Text$1>):
|
|
30
|
+
}: React$1.ComponentProps<typeof Text$1>): react_jsx_runtime92.JSX.Element;
|
|
31
31
|
declare function AlertDescription({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React$1.ComponentProps<typeof Text$1>):
|
|
34
|
+
}: React$1.ComponentProps<typeof Text$1>): react_jsx_runtime92.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { Alert, AlertDescription, AlertTitle };
|
package/dist/ui/alert.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
1
|
+
import * as react11 from "react";
|
|
2
|
+
import * as react_native42 from "react-native";
|
|
3
|
+
import * as _rn_primitives_types1 from "@rn-primitives/types";
|
|
4
4
|
|
|
5
5
|
//#region ui/aspect-ratio.d.ts
|
|
6
|
-
declare const AspectRatio:
|
|
6
|
+
declare const AspectRatio: react11.ForwardRefExoticComponent<Omit<_rn_primitives_types1.SlottableViewProps, "style"> & {
|
|
7
7
|
ratio?: number;
|
|
8
|
-
style?:
|
|
9
|
-
} &
|
|
8
|
+
style?: react_native42.ViewStyle;
|
|
9
|
+
} & react11.RefAttributes<react_native42.View>>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { AspectRatio };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { LoaderCircle } from "../../../node_modules/lucide-react/dist/esm/icons/loader-circle.js";
|
|
2
1
|
import { P } from "../../typography.js";
|
|
3
2
|
import { cn } from "../../utils.js";
|
|
4
3
|
import React from "react";
|
|
5
4
|
import { View } from "react-native";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { Loader2 } from "lucide-react";
|
|
7
7
|
|
|
8
8
|
//#region ui/atoms/LoadingSpinner/LoadingSpinner.tsx
|
|
9
9
|
const sizeClasses = {
|
|
@@ -15,7 +15,7 @@ const sizeClasses = {
|
|
|
15
15
|
const LoadingSpinner = ({ size = "md", className, text, fullScreen = false }) => {
|
|
16
16
|
const spinner = /* @__PURE__ */ jsxs(View, {
|
|
17
17
|
className: cn("flex flex-col items-center justify-center gap-2", className),
|
|
18
|
-
children: [/* @__PURE__ */ jsx(
|
|
18
|
+
children: [/* @__PURE__ */ jsx(Loader2, { className: cn("text-primary-600 animate-spin", sizeClasses[size]) }), text && /* @__PURE__ */ jsx(P, {
|
|
19
19
|
className: "animate-pulse text-base text-gray-600",
|
|
20
20
|
children: text
|
|
21
21
|
})]
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { Text as Text$1 } from "../../text.js";
|
|
2
2
|
import { Button } from "../../button.js";
|
|
3
|
-
import { ChevronLeft } from "../../../node_modules/lucide-react/dist/esm/icons/chevron-left.js";
|
|
4
|
-
import { ChevronRight } from "../../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
|
|
5
|
-
import { ChevronsLeft } from "../../../node_modules/lucide-react/dist/esm/icons/chevrons-left.js";
|
|
6
|
-
import { ChevronsRight } from "../../../node_modules/lucide-react/dist/esm/icons/chevrons-right.js";
|
|
7
3
|
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../../select.js";
|
|
8
4
|
import React from "react";
|
|
9
5
|
import { View } from "react-native";
|
|
10
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight } from "lucide-react";
|
|
11
8
|
|
|
12
9
|
//#region ui/atoms/Pagination/Pagination.tsx
|
|
13
10
|
const Pagination = ({ currentPage, totalPages, totalItems, itemsPerPage, onPageChange, onItemsPerPageChange, disabled = false, className = "", showItemsPerPage = true, itemsPerPageOptions = [
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Text as Text$1 } from "../../text.js";
|
|
2
2
|
import { Button } from "../../button.js";
|
|
3
|
-
import { Search } from "../../../node_modules/lucide-react/dist/esm/icons/search.js";
|
|
4
|
-
import { X } from "../../../node_modules/lucide-react/dist/esm/icons/x.js";
|
|
5
3
|
import { Input } from "../../input.js";
|
|
6
4
|
import React from "react";
|
|
7
5
|
import { View } from "react-native";
|
|
8
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { Search, X } from "lucide-react";
|
|
9
8
|
|
|
10
9
|
//#region ui/atoms/SearchInput/SearchInput.tsx
|
|
11
10
|
const SearchInput = ({ value, onChange, placeholder = "Rechercher...", onClear, disabled = false, className = "", autoFocus = false }) => {
|
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_runtime76 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_runtime76.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_runtime76.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_runtime76.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,13 +1,13 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { View } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime71 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region ui/badge.d.ts
|
|
8
8
|
declare const badgeVariants: (props?: ({
|
|
9
|
-
variant?: "default" | "
|
|
10
|
-
} &
|
|
9
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
11
11
|
type BadgeProps = React$1.ComponentProps<typeof View> & VariantProps<typeof badgeVariants> & {
|
|
12
12
|
labelClassName?: string;
|
|
13
13
|
};
|
|
@@ -16,6 +16,6 @@ declare function Badge({
|
|
|
16
16
|
variant,
|
|
17
17
|
labelClassName,
|
|
18
18
|
...props
|
|
19
|
-
}: BadgeProps):
|
|
19
|
+
}: BadgeProps): react_jsx_runtime71.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_runtime85 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_runtime85.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_runtime85.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_runtime85.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_runtime85.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_runtime85.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_runtime85.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_runtime85.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
package/dist/ui/breadcrumb.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { cn } from "../-core/
|
|
2
|
-
import { ChevronRight } from "../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
|
|
3
|
-
import { Ellipsis } from "../node_modules/lucide-react/dist/esm/icons/ellipsis.js";
|
|
1
|
+
import { cn } from "../-core/dist/utils.js";
|
|
4
2
|
import "react";
|
|
5
3
|
import { Text, View } from "react-native";
|
|
6
4
|
import "@rn-primitives/slot";
|
|
7
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { ChevronRight, MoreHorizontal } from "lucide-react";
|
|
8
7
|
|
|
9
8
|
//#region ui/breadcrumb.tsx
|
|
10
9
|
function Breadcrumb({ ...props }) {
|
|
@@ -62,7 +61,7 @@ function BreadcrumbEllipsis({ className, ...props }) {
|
|
|
62
61
|
"aria-hidden": true,
|
|
63
62
|
className: cn("flex size-9 items-center justify-center", className),
|
|
64
63
|
...props,
|
|
65
|
-
children: [/* @__PURE__ */ jsx(
|
|
64
|
+
children: [/* @__PURE__ */ jsx(MoreHorizontal, { className: "size-4" }), /* @__PURE__ */ jsx(View, {
|
|
66
65
|
className: "sr-only",
|
|
67
66
|
children: /* @__PURE__ */ jsx(Text, { children: "More" })
|
|
68
67
|
})]
|
package/dist/ui/button.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { Pressable } from "react-native";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime75 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region ui/button.d.ts
|
|
8
8
|
declare const buttonVariants: (props?: ({
|
|
9
|
-
variant?: "default" | "
|
|
10
|
-
size?: "default" | "
|
|
11
|
-
} &
|
|
9
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
|
|
10
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
12
12
|
declare const buttonTextVariants: (props?: ({
|
|
13
|
-
variant?: "default" | "
|
|
14
|
-
size?: "default" | "
|
|
15
|
-
} &
|
|
13
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
|
|
14
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
15
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
16
16
|
type ButtonProps = React$1.ComponentProps<typeof Pressable> & VariantProps<typeof buttonVariants>;
|
|
17
17
|
declare function Button({
|
|
18
18
|
ref,
|
|
@@ -20,6 +20,6 @@ declare function Button({
|
|
|
20
20
|
variant,
|
|
21
21
|
size,
|
|
22
22
|
...props
|
|
23
|
-
}: ButtonProps):
|
|
23
|
+
}: ButtonProps): react_jsx_runtime75.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Button, type ButtonProps, buttonTextVariants, buttonVariants };
|
package/dist/ui/button.js
CHANGED
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_runtime79 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_runtime79.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_runtime79.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_runtime79.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_runtime79.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_runtime79.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_runtime79.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
package/dist/ui/card.js
CHANGED
package/dist/ui/checkbox.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_native56 from "react-native";
|
|
3
3
|
|
|
4
4
|
//#region ui/checkbox.d.ts
|
|
5
|
-
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<
|
|
5
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<react_native56.PressableProps & React$1.RefAttributes<react_native56.View>, "ref"> & {
|
|
6
6
|
asChild?: boolean;
|
|
7
7
|
} & {
|
|
8
8
|
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
@@ -11,6 +11,6 @@ declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<react_native
|
|
|
11
11
|
checked: boolean;
|
|
12
12
|
onCheckedChange: (checked: boolean) => void;
|
|
13
13
|
disabled?: boolean;
|
|
14
|
-
} & React$1.RefAttributes<
|
|
14
|
+
} & React$1.RefAttributes<react_native56.View>, "ref"> & React$1.RefAttributes<react_native56.View>>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { Checkbox };
|
package/dist/ui/checkbox.js
CHANGED
package/dist/ui/collapsible.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react4 from "react";
|
|
2
|
+
import * as react_native17 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: react4.ForwardRefExoticComponent<react_native17.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
|
+
} & react4.RefAttributes<react_native17.View>>;
|
|
14
|
+
declare const CollapsibleTrigger: react4.ForwardRefExoticComponent<Omit<react_native17.PressableProps & react4.RefAttributes<react_native17.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
|
+
} & react4.RefAttributes<react_native17.View>>;
|
|
20
|
+
declare const CollapsibleContent: react4.ForwardRefExoticComponent<_rn_primitives_types0.ForceMountable & react_native17.ViewProps & {
|
|
21
21
|
asChild?: boolean;
|
|
22
|
-
} &
|
|
22
|
+
} & react4.RefAttributes<react_native17.View>>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|