@lssm/lib.ui-kit 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060804
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -0
- package/dist/ui/accordion.d.ts +35 -0
- package/dist/ui/alert-dialog.d.ts +71 -0
- package/dist/ui/alert.d.ts +36 -0
- package/dist/ui/aspect-ratio.d.ts +11 -0
- package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +7 -0
- package/dist/ui/atoms/FilterSelect/index.d.ts +3 -0
- package/dist/ui/atoms/FilterSelect/types.d.ts +18 -0
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +22 -0
- package/dist/ui/atoms/LoadingSpinner/index.d.ts +2 -0
- package/dist/ui/atoms/Pagination/Pagination.d.ts +7 -0
- package/dist/ui/atoms/Pagination/index.d.ts +3 -0
- package/dist/ui/atoms/Pagination/types.d.ts +15 -0
- package/dist/ui/atoms/SearchInput/SearchInput.d.ts +7 -0
- package/dist/ui/atoms/SearchInput/index.d.ts +3 -0
- package/dist/ui/atoms/SearchInput/types.d.ts +12 -0
- package/dist/ui/avatar.d.ts +27 -0
- package/dist/ui/badge.d.ts +21 -0
- package/dist/ui/breadcrumb.d.ts +38 -0
- package/dist/ui/button.d.ts +25 -0
- package/dist/ui/card.d.ts +43 -0
- package/dist/ui/carousel.d.ts +4 -0
- package/dist/ui/checkbox.d.ts +16 -0
- package/dist/ui/collapsible.d.ts +24 -0
- package/dist/ui/command.d.ts +4 -0
- package/dist/ui/context-menu.d.ts +109 -0
- package/dist/ui/date-picker.d.ts +23 -0
- package/dist/ui/date-range-picker.d.ts +30 -0
- package/dist/ui/datetime-picker.d.ts +27 -0
- package/dist/ui/dialog.d.ts +68 -0
- package/dist/ui/dropdown-menu.d.ts +111 -0
- package/dist/ui/empty-state.d.ts +28 -0
- package/dist/ui/empty.d.ts +36 -0
- package/dist/ui/fab.d.ts +35 -0
- package/dist/ui/field.d.ts +66 -0
- package/dist/ui/form.d.ts +49 -0
- package/dist/ui/hover-card.d.ts +29 -0
- package/dist/ui/icons/Check.d.ts +2 -0
- package/dist/ui/icons/ChevronDown.d.ts +2 -0
- package/dist/ui/icons/ChevronRight.d.ts +2 -0
- package/dist/ui/icons/ChevronUp.d.ts +2 -0
- package/dist/ui/icons/CircleUser.d.ts +2 -0
- package/dist/ui/icons/Info.d.ts +2 -0
- package/dist/ui/icons/Key.d.ts +2 -0
- package/dist/ui/icons/MoonStar.d.ts +2 -0
- package/dist/ui/icons/Sun.d.ts +2 -0
- package/dist/ui/icons/X.d.ts +2 -0
- package/dist/ui/icons/iconWithClassName.d.ts +6 -0
- package/dist/ui/input.d.ts +14 -0
- package/dist/ui/label.d.ts +15 -0
- package/dist/ui/link.d.ts +13 -0
- package/dist/ui/loading-button.d.ts +19 -0
- package/dist/ui/loading-overlay.d.ts +15 -0
- package/dist/ui/loading-screen.d.ts +13 -0
- package/dist/ui/marketing/FeatureGrid.d.ts +20 -0
- package/dist/ui/marketing/Hero.d.ts +27 -0
- package/dist/ui/marketing/PricingTable.d.ts +24 -0
- package/dist/ui/marketing/index.d.ts +4 -0
- package/dist/ui/menubar.d.ts +114 -0
- package/dist/ui/molecules/Autocomplete/index.d.ts +4 -0
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +7 -0
- package/dist/ui/molecules/SearchAndFilter/index.d.ts +3 -0
- package/dist/ui/molecules/SearchAndFilter/types.d.ts +24 -0
- package/dist/ui/molecules/SkeletonList.d.ts +15 -0
- package/dist/ui/nativewind-env.d.ts +1 -0
- package/dist/ui/navigation-menu.d.ts +67 -0
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +29 -0
- package/dist/ui/organisms/ErrorBoundary/index.d.ts +2 -0
- package/dist/ui/organisms/ListPage/ListPage.d.ts +28 -0
- package/dist/ui/organisms/ListPage/index.d.ts +3 -0
- package/dist/ui/organisms/ListPage/types.d.ts +41 -0
- package/dist/ui/page-header.d.ts +26 -0
- package/dist/ui/password-strength.d.ts +20 -0
- package/dist/ui/popover.d.ts +29 -0
- package/dist/ui/progress.d.ts +16 -0
- package/dist/ui/radio-group.d.ts +14 -0
- package/dist/ui/select.d.ts +83 -0
- package/dist/ui/separator.d.ts +15 -0
- package/dist/ui/sheet.d.ts +4 -0
- package/dist/ui/sidebar.d.ts +4 -0
- package/dist/ui/skeleton.d.ts +11 -0
- package/dist/ui/stack.d.ts +76 -0
- package/dist/ui/stepper.d.ts +22 -0
- package/dist/ui/switch.d.ts +14 -0
- package/dist/ui/table.d.ts +50 -0
- package/dist/ui/tabs.d.ts +32 -0
- package/dist/ui/text.d.ts +20 -0
- package/dist/ui/textarea.d.ts +9 -0
- package/dist/ui/time-picker.d.ts +21 -0
- package/dist/ui/toggle-group.d.ts +35 -0
- package/dist/ui/toggle.d.ts +33 -0
- package/dist/ui/tooltip.d.ts +31 -0
- package/dist/ui/typography.d.ts +64 -0
- package/dist/ui/useColorScheme.d.ts +11 -0
- package/dist/ui/useListState.d.ts +33 -0
- package/dist/ui/usecases/UseCaseCard.d.ts +18 -0
- package/dist/ui/usecases/UserStoryCard.d.ts +14 -0
- package/dist/ui/usecases/index.d.ts +3 -0
- package/dist/ui/utils.d.ts +6 -0
- package/package.json +101 -101
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/ui/nativewind-env.d.js +0 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as AccordionPrimitive from "@rn-primitives/accordion";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import * as react_jsx_runtime105 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region ui/accordion.d.ts
|
|
6
|
+
declare function Accordion({
|
|
7
|
+
children,
|
|
8
|
+
...props
|
|
9
|
+
}: Omit<AccordionPrimitive.RootProps, 'asChild'> & {
|
|
10
|
+
ref?: React$1.RefObject<AccordionPrimitive.RootRef>;
|
|
11
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
12
|
+
declare function AccordionItem({
|
|
13
|
+
className,
|
|
14
|
+
value,
|
|
15
|
+
...props
|
|
16
|
+
}: AccordionPrimitive.ItemProps & {
|
|
17
|
+
ref?: React$1.RefObject<AccordionPrimitive.ItemRef>;
|
|
18
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
19
|
+
declare function AccordionTrigger({
|
|
20
|
+
className,
|
|
21
|
+
children,
|
|
22
|
+
...props
|
|
23
|
+
}: AccordionPrimitive.TriggerProps & {
|
|
24
|
+
children?: React$1.ReactNode;
|
|
25
|
+
ref?: React$1.RefObject<AccordionPrimitive.TriggerRef>;
|
|
26
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
27
|
+
declare function AccordionContent({
|
|
28
|
+
className,
|
|
29
|
+
children,
|
|
30
|
+
...props
|
|
31
|
+
}: AccordionPrimitive.ContentProps & {
|
|
32
|
+
ref?: React$1.RefObject<AccordionPrimitive.ContentRef>;
|
|
33
|
+
}): react_jsx_runtime105.JSX.Element;
|
|
34
|
+
//#endregion
|
|
35
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_native17 from "react-native";
|
|
3
|
+
import { View, ViewProps } from "react-native";
|
|
4
|
+
import * as react_jsx_runtime57 from "react/jsx-runtime";
|
|
5
|
+
import * as AlertDialogPrimitive from "@rn-primitives/alert-dialog";
|
|
6
|
+
|
|
7
|
+
//#region ui/alert-dialog.d.ts
|
|
8
|
+
declare const AlertDialog: React$1.ForwardRefExoticComponent<{
|
|
9
|
+
open?: boolean;
|
|
10
|
+
onOpenChange?: (value: boolean) => void;
|
|
11
|
+
defaultOpen?: boolean;
|
|
12
|
+
} & ViewProps & {
|
|
13
|
+
asChild?: boolean;
|
|
14
|
+
} & React$1.RefAttributes<View>>;
|
|
15
|
+
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<Omit<react_native17.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
16
|
+
asChild?: boolean;
|
|
17
|
+
} & {
|
|
18
|
+
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
19
|
+
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
20
|
+
} & React$1.RefAttributes<View>>;
|
|
21
|
+
declare const AlertDialogPortal: typeof AlertDialogPrimitive.Portal;
|
|
22
|
+
declare function AlertDialogOverlayNative({
|
|
23
|
+
className,
|
|
24
|
+
children,
|
|
25
|
+
...props
|
|
26
|
+
}: AlertDialogPrimitive.OverlayProps & {
|
|
27
|
+
ref?: React$1.RefObject<AlertDialogPrimitive.OverlayRef>;
|
|
28
|
+
}): react_jsx_runtime57.JSX.Element;
|
|
29
|
+
declare const AlertDialogOverlay: typeof AlertDialogOverlayNative;
|
|
30
|
+
declare function AlertDialogContent({
|
|
31
|
+
className,
|
|
32
|
+
portalHost,
|
|
33
|
+
...props
|
|
34
|
+
}: AlertDialogPrimitive.ContentProps & {
|
|
35
|
+
ref?: React$1.RefObject<AlertDialogPrimitive.ContentRef>;
|
|
36
|
+
portalHost?: string;
|
|
37
|
+
}): react_jsx_runtime57.JSX.Element;
|
|
38
|
+
declare function AlertDialogHeader({
|
|
39
|
+
className,
|
|
40
|
+
...props
|
|
41
|
+
}: ViewProps): react_jsx_runtime57.JSX.Element;
|
|
42
|
+
declare function AlertDialogFooter({
|
|
43
|
+
className,
|
|
44
|
+
...props
|
|
45
|
+
}: ViewProps): react_jsx_runtime57.JSX.Element;
|
|
46
|
+
declare function AlertDialogTitle({
|
|
47
|
+
className,
|
|
48
|
+
...props
|
|
49
|
+
}: AlertDialogPrimitive.TitleProps & {
|
|
50
|
+
ref?: React$1.RefObject<AlertDialogPrimitive.TitleRef>;
|
|
51
|
+
}): react_jsx_runtime57.JSX.Element;
|
|
52
|
+
declare function AlertDialogDescription({
|
|
53
|
+
className,
|
|
54
|
+
...props
|
|
55
|
+
}: AlertDialogPrimitive.DescriptionProps & {
|
|
56
|
+
ref?: React$1.RefObject<AlertDialogPrimitive.DescriptionRef>;
|
|
57
|
+
}): react_jsx_runtime57.JSX.Element;
|
|
58
|
+
declare function AlertDialogAction({
|
|
59
|
+
className,
|
|
60
|
+
...props
|
|
61
|
+
}: AlertDialogPrimitive.ActionProps & {
|
|
62
|
+
ref?: React$1.RefObject<AlertDialogPrimitive.ActionRef>;
|
|
63
|
+
}): react_jsx_runtime57.JSX.Element;
|
|
64
|
+
declare function AlertDialogCancel({
|
|
65
|
+
className,
|
|
66
|
+
...props
|
|
67
|
+
}: AlertDialogPrimitive.CancelProps & {
|
|
68
|
+
ref?: React$1.RefObject<AlertDialogPrimitive.CancelRef>;
|
|
69
|
+
}): react_jsx_runtime57.JSX.Element;
|
|
70
|
+
//#endregion
|
|
71
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Text as Text$1 } from "./text.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import { View, ViewProps } from "react-native";
|
|
4
|
+
import { LucideIcon } from "lucide-react-native";
|
|
5
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
|
+
import { VariantProps } from "class-variance-authority";
|
|
7
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
8
|
+
|
|
9
|
+
//#region ui/alert.d.ts
|
|
10
|
+
declare const alertVariants: (props?: ({
|
|
11
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
13
|
+
declare function Alert({
|
|
14
|
+
className,
|
|
15
|
+
variant,
|
|
16
|
+
children,
|
|
17
|
+
icon: Icon,
|
|
18
|
+
iconSize,
|
|
19
|
+
iconClassName,
|
|
20
|
+
...props
|
|
21
|
+
}: ViewProps & VariantProps<typeof alertVariants> & {
|
|
22
|
+
ref?: React$1.RefObject<View>;
|
|
23
|
+
icon: LucideIcon;
|
|
24
|
+
iconSize?: number;
|
|
25
|
+
iconClassName?: string;
|
|
26
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
27
|
+
declare function AlertTitle({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: React$1.ComponentProps<typeof Text$1>): react_jsx_runtime0.JSX.Element;
|
|
31
|
+
declare function AlertDescription({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}: React$1.ComponentProps<typeof Text$1>): react_jsx_runtime0.JSX.Element;
|
|
35
|
+
//#endregion
|
|
36
|
+
export { Alert, AlertDescription, AlertTitle };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react6 from "react";
|
|
2
|
+
import * as react_native18 from "react-native";
|
|
3
|
+
import * as _rn_primitives_types0 from "@rn-primitives/types";
|
|
4
|
+
|
|
5
|
+
//#region ui/aspect-ratio.d.ts
|
|
6
|
+
declare const AspectRatio: react6.ForwardRefExoticComponent<Omit<_rn_primitives_types0.SlottableViewProps, "style"> & {
|
|
7
|
+
ratio?: number;
|
|
8
|
+
style?: react_native18.ViewStyle;
|
|
9
|
+
} & react6.RefAttributes<react_native18.View>>;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { AspectRatio };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region ui/atoms/FilterSelect/types.d.ts
|
|
2
|
+
interface FilterOption {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
count?: number;
|
|
6
|
+
}
|
|
7
|
+
interface FilterSelectProps {
|
|
8
|
+
value: FilterOption;
|
|
9
|
+
options: FilterOption[];
|
|
10
|
+
onChange: (value: FilterOption | undefined) => void;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
label?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
showCounts?: boolean;
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { FilterOption, FilterSelectProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
//#region ui/atoms/LoadingSpinner/LoadingSpinner.d.ts
|
|
4
|
+
interface LoadingSpinnerProps {
|
|
5
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
+
className?: string;
|
|
7
|
+
text?: string;
|
|
8
|
+
fullScreen?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const LoadingSpinner: React.FC<LoadingSpinnerProps>;
|
|
11
|
+
declare const SkeletonLine: React.FC<{
|
|
12
|
+
className?: string;
|
|
13
|
+
}>;
|
|
14
|
+
declare const SkeletonCard: React.FC<{
|
|
15
|
+
className?: string;
|
|
16
|
+
}>;
|
|
17
|
+
declare const SkeletonTable: React.FC<{
|
|
18
|
+
rows?: number;
|
|
19
|
+
cols?: number;
|
|
20
|
+
}>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { LoadingSpinner, SkeletonCard, SkeletonLine, SkeletonTable };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region ui/atoms/Pagination/types.d.ts
|
|
2
|
+
interface PaginationProps {
|
|
3
|
+
currentPage: number;
|
|
4
|
+
totalPages: number;
|
|
5
|
+
totalItems: number;
|
|
6
|
+
itemsPerPage: number;
|
|
7
|
+
onPageChange: (page: number) => void;
|
|
8
|
+
onItemsPerPageChange?: (itemsPerPage: number) => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
showItemsPerPage?: boolean;
|
|
12
|
+
itemsPerPageOptions?: number[];
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { PaginationProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region ui/atoms/SearchInput/types.d.ts
|
|
2
|
+
interface SearchInputProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
onClear?: () => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
autoFocus?: boolean;
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { SearchInputProps };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime82 from "react/jsx-runtime";
|
|
3
|
+
import * as AvatarPrimitive from "@rn-primitives/avatar";
|
|
4
|
+
|
|
5
|
+
//#region ui/avatar.d.ts
|
|
6
|
+
declare function Avatar({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: AvatarPrimitive.RootProps & {
|
|
10
|
+
ref?: React$1.RefObject<AvatarPrimitive.RootRef>;
|
|
11
|
+
}): react_jsx_runtime82.JSX.Element;
|
|
12
|
+
declare function AvatarImage({
|
|
13
|
+
className,
|
|
14
|
+
alt,
|
|
15
|
+
...props
|
|
16
|
+
}: AvatarPrimitive.ImageProps & {
|
|
17
|
+
ref?: React$1.RefObject<AvatarPrimitive.ImageRef>;
|
|
18
|
+
alt?: string;
|
|
19
|
+
}): react_jsx_runtime82.JSX.Element;
|
|
20
|
+
declare function AvatarFallback({
|
|
21
|
+
className,
|
|
22
|
+
...props
|
|
23
|
+
}: AvatarPrimitive.FallbackProps & {
|
|
24
|
+
ref?: React$1.RefObject<AvatarPrimitive.FallbackRef>;
|
|
25
|
+
}): react_jsx_runtime82.JSX.Element;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { Avatar, AvatarFallback, AvatarImage };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
import * as react_jsx_runtime94 from "react/jsx-runtime";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
6
|
+
|
|
7
|
+
//#region ui/badge.d.ts
|
|
8
|
+
declare const badgeVariants: (props?: ({
|
|
9
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | null | undefined;
|
|
10
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
11
|
+
type BadgeProps = React$1.ComponentProps<typeof View> & VariantProps<typeof badgeVariants> & {
|
|
12
|
+
labelClassName?: string;
|
|
13
|
+
};
|
|
14
|
+
declare function Badge({
|
|
15
|
+
className,
|
|
16
|
+
variant,
|
|
17
|
+
labelClassName,
|
|
18
|
+
...props
|
|
19
|
+
}: BadgeProps): react_jsx_runtime94.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { Badge, badgeVariants };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { View } from "react-native";
|
|
3
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region ui/breadcrumb.d.ts
|
|
6
|
+
declare function Breadcrumb({
|
|
7
|
+
...props
|
|
8
|
+
}: React$1.ComponentProps<'nav'>): react_jsx_runtime2.JSX.Element;
|
|
9
|
+
declare function BreadcrumbList({
|
|
10
|
+
className,
|
|
11
|
+
...props
|
|
12
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime2.JSX.Element;
|
|
13
|
+
declare function BreadcrumbItem({
|
|
14
|
+
className,
|
|
15
|
+
...props
|
|
16
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime2.JSX.Element;
|
|
17
|
+
declare function BreadcrumbLink({
|
|
18
|
+
asChild,
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: React$1.ComponentProps<typeof View> & {
|
|
22
|
+
asChild?: boolean;
|
|
23
|
+
}): react_jsx_runtime2.JSX.Element;
|
|
24
|
+
declare function BreadcrumbPage({
|
|
25
|
+
className,
|
|
26
|
+
...props
|
|
27
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime2.JSX.Element;
|
|
28
|
+
declare function BreadcrumbSeparator({
|
|
29
|
+
children,
|
|
30
|
+
className,
|
|
31
|
+
...props
|
|
32
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime2.JSX.Element;
|
|
33
|
+
declare function BreadcrumbEllipsis({
|
|
34
|
+
className,
|
|
35
|
+
...props
|
|
36
|
+
}: React$1.ComponentProps<typeof View>): react_jsx_runtime2.JSX.Element;
|
|
37
|
+
//#endregion
|
|
38
|
+
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { Pressable } from "react-native";
|
|
3
|
+
import * as react_jsx_runtime98 from "react/jsx-runtime";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import * as class_variance_authority_types8 from "class-variance-authority/types";
|
|
6
|
+
|
|
7
|
+
//#region ui/button.d.ts
|
|
8
|
+
declare const buttonVariants: (props?: ({
|
|
9
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | "link" | null | undefined;
|
|
10
|
+
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
11
|
+
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
12
|
+
declare const buttonTextVariants: (props?: ({
|
|
13
|
+
variant?: "default" | "destructive" | "secondary" | "outline" | "ghost" | "link" | null | undefined;
|
|
14
|
+
size?: "default" | "icon" | "sm" | "lg" | null | undefined;
|
|
15
|
+
} & class_variance_authority_types8.ClassProp) | undefined) => string;
|
|
16
|
+
type ButtonProps = React$1.ComponentProps<typeof Pressable> & VariantProps<typeof buttonVariants>;
|
|
17
|
+
declare function Button({
|
|
18
|
+
ref,
|
|
19
|
+
className,
|
|
20
|
+
variant,
|
|
21
|
+
size,
|
|
22
|
+
...props
|
|
23
|
+
}: ButtonProps): react_jsx_runtime98.JSX.Element;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { Button, type ButtonProps, buttonTextVariants, buttonVariants };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { Text, TextProps, View, ViewProps } from "react-native";
|
|
3
|
+
import * as react_jsx_runtime113 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region ui/card.d.ts
|
|
6
|
+
declare function Card({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: ViewProps & {
|
|
10
|
+
ref?: React$1.RefObject<View>;
|
|
11
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
12
|
+
declare function CardHeader({
|
|
13
|
+
className,
|
|
14
|
+
...props
|
|
15
|
+
}: ViewProps & {
|
|
16
|
+
ref?: React$1.RefObject<View>;
|
|
17
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
18
|
+
declare function CardTitle({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: TextProps & {
|
|
22
|
+
ref?: React$1.RefObject<Text>;
|
|
23
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
24
|
+
declare function CardDescription({
|
|
25
|
+
className,
|
|
26
|
+
...props
|
|
27
|
+
}: TextProps & {
|
|
28
|
+
ref?: React$1.RefObject<Text>;
|
|
29
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
30
|
+
declare function CardContent({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: ViewProps & {
|
|
34
|
+
ref?: React$1.RefObject<View>;
|
|
35
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
36
|
+
declare function CardFooter({
|
|
37
|
+
className,
|
|
38
|
+
...props
|
|
39
|
+
}: ViewProps & {
|
|
40
|
+
ref?: React$1.RefObject<View>;
|
|
41
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
42
|
+
//#endregion
|
|
43
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_native20 from "react-native";
|
|
3
|
+
|
|
4
|
+
//#region ui/checkbox.d.ts
|
|
5
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<Omit<react_native20.PressableProps & React$1.RefAttributes<react_native20.View>, "ref"> & {
|
|
6
|
+
asChild?: boolean;
|
|
7
|
+
} & {
|
|
8
|
+
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
9
|
+
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
10
|
+
} & {
|
|
11
|
+
checked: boolean;
|
|
12
|
+
onCheckedChange: (checked: boolean) => void;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
} & React$1.RefAttributes<react_native20.View>, "ref"> & React$1.RefAttributes<react_native20.View>>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Checkbox };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as react0 from "react";
|
|
2
|
+
import * as react_native0 from "react-native";
|
|
3
|
+
import * as _rn_primitives_types0 from "@rn-primitives/types";
|
|
4
|
+
|
|
5
|
+
//#region ui/collapsible.d.ts
|
|
6
|
+
declare const Collapsible: react0.ForwardRefExoticComponent<react_native0.ViewProps & {
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
} & {
|
|
9
|
+
open?: boolean;
|
|
10
|
+
defaultOpen?: boolean;
|
|
11
|
+
onOpenChange?: (open: boolean) => void;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
} & react0.RefAttributes<react_native0.View>>;
|
|
14
|
+
declare const CollapsibleTrigger: react0.ForwardRefExoticComponent<Omit<react_native0.PressableProps & react0.RefAttributes<react_native0.View>, "ref"> & {
|
|
15
|
+
asChild?: boolean;
|
|
16
|
+
} & {
|
|
17
|
+
onKeyDown?: (ev: React.KeyboardEvent) => void;
|
|
18
|
+
onKeyUp?: (ev: React.KeyboardEvent) => void;
|
|
19
|
+
} & react0.RefAttributes<react_native0.View>>;
|
|
20
|
+
declare const CollapsibleContent: react0.ForwardRefExoticComponent<_rn_primitives_types0.ForceMountable & react_native0.ViewProps & {
|
|
21
|
+
asChild?: boolean;
|
|
22
|
+
} & react0.RefAttributes<react_native0.View>>;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_native26 from "react-native";
|
|
3
|
+
import { StyleProp, TextProps, View, ViewStyle } from "react-native";
|
|
4
|
+
import * as react_jsx_runtime73 from "react/jsx-runtime";
|
|
5
|
+
import * as _rn_primitives_context_menu0 from "@rn-primitives/context-menu";
|
|
6
|
+
|
|
7
|
+
//#region ui/context-menu.d.ts
|
|
8
|
+
declare const ContextMenu: React$1.ForwardRefExoticComponent<react_native26.ViewProps & {
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
} & {
|
|
11
|
+
onOpenChange?: (open: boolean) => void;
|
|
12
|
+
relativeTo?: "longPress" | "trigger";
|
|
13
|
+
} & React$1.RefAttributes<View>>;
|
|
14
|
+
declare const ContextMenuTrigger: React$1.ForwardRefExoticComponent<Omit<react_native26.PressableProps & React$1.RefAttributes<View>, "ref"> & {
|
|
15
|
+
asChild?: boolean;
|
|
16
|
+
} & {
|
|
17
|
+
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
18
|
+
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
19
|
+
} & React$1.RefAttributes<_rn_primitives_context_menu0.TriggerRef>>;
|
|
20
|
+
declare const ContextMenuGroup: React$1.ForwardRefExoticComponent<react_native26.ViewProps & {
|
|
21
|
+
asChild?: boolean;
|
|
22
|
+
} & React$1.RefAttributes<View>>;
|
|
23
|
+
declare const ContextMenuSub: React$1.ForwardRefExoticComponent<react_native26.ViewProps & {
|
|
24
|
+
asChild?: boolean;
|
|
25
|
+
} & {
|
|
26
|
+
defaultOpen?: boolean;
|
|
27
|
+
open?: boolean;
|
|
28
|
+
onOpenChange?: (value: boolean) => void;
|
|
29
|
+
} & React$1.RefAttributes<View>>;
|
|
30
|
+
declare const ContextMenuRadioGroup: React$1.ForwardRefExoticComponent<react_native26.ViewProps & {
|
|
31
|
+
asChild?: boolean;
|
|
32
|
+
} & {
|
|
33
|
+
value: string | undefined;
|
|
34
|
+
onValueChange: (value: string) => void;
|
|
35
|
+
} & React$1.RefAttributes<View>>;
|
|
36
|
+
declare function ContextMenuSubTrigger({
|
|
37
|
+
className,
|
|
38
|
+
inset,
|
|
39
|
+
children,
|
|
40
|
+
...props
|
|
41
|
+
}: _rn_primitives_context_menu0.SubTriggerProps & {
|
|
42
|
+
ref?: React$1.RefObject<_rn_primitives_context_menu0.SubTriggerRef>;
|
|
43
|
+
children?: React$1.ReactNode;
|
|
44
|
+
inset?: boolean;
|
|
45
|
+
}): react_jsx_runtime73.JSX.Element;
|
|
46
|
+
declare function ContextMenuSubContent({
|
|
47
|
+
className,
|
|
48
|
+
...props
|
|
49
|
+
}: _rn_primitives_context_menu0.SubContentProps & {
|
|
50
|
+
ref?: React$1.RefObject<_rn_primitives_context_menu0.SubContentRef>;
|
|
51
|
+
}): react_jsx_runtime73.JSX.Element;
|
|
52
|
+
declare function ContextMenuContent({
|
|
53
|
+
className,
|
|
54
|
+
overlayClassName,
|
|
55
|
+
overlayStyle,
|
|
56
|
+
portalHost,
|
|
57
|
+
...props
|
|
58
|
+
}: _rn_primitives_context_menu0.ContentProps & {
|
|
59
|
+
ref?: React$1.RefObject<_rn_primitives_context_menu0.ContentRef>;
|
|
60
|
+
overlayStyle?: StyleProp<ViewStyle>;
|
|
61
|
+
overlayClassName?: string;
|
|
62
|
+
portalHost?: string;
|
|
63
|
+
}): react_jsx_runtime73.JSX.Element;
|
|
64
|
+
declare function ContextMenuItem({
|
|
65
|
+
className,
|
|
66
|
+
inset,
|
|
67
|
+
...props
|
|
68
|
+
}: _rn_primitives_context_menu0.ItemProps & {
|
|
69
|
+
ref?: React$1.RefObject<_rn_primitives_context_menu0.ItemRef>;
|
|
70
|
+
className?: string;
|
|
71
|
+
inset?: boolean;
|
|
72
|
+
}): react_jsx_runtime73.JSX.Element;
|
|
73
|
+
declare function ContextMenuCheckboxItem({
|
|
74
|
+
className,
|
|
75
|
+
children,
|
|
76
|
+
...props
|
|
77
|
+
}: _rn_primitives_context_menu0.CheckboxItemProps & {
|
|
78
|
+
ref?: React$1.RefObject<_rn_primitives_context_menu0.CheckboxItemRef>;
|
|
79
|
+
children?: React$1.ReactNode;
|
|
80
|
+
}): react_jsx_runtime73.JSX.Element;
|
|
81
|
+
declare function ContextMenuRadioItem({
|
|
82
|
+
className,
|
|
83
|
+
children,
|
|
84
|
+
...props
|
|
85
|
+
}: _rn_primitives_context_menu0.RadioItemProps & {
|
|
86
|
+
ref?: React$1.RefObject<_rn_primitives_context_menu0.RadioItemRef>;
|
|
87
|
+
children?: React$1.ReactNode;
|
|
88
|
+
}): react_jsx_runtime73.JSX.Element;
|
|
89
|
+
declare function ContextMenuLabel({
|
|
90
|
+
className,
|
|
91
|
+
inset,
|
|
92
|
+
...props
|
|
93
|
+
}: _rn_primitives_context_menu0.LabelProps & {
|
|
94
|
+
ref?: React$1.RefObject<_rn_primitives_context_menu0.LabelRef>;
|
|
95
|
+
className?: string;
|
|
96
|
+
inset?: boolean;
|
|
97
|
+
}): react_jsx_runtime73.JSX.Element;
|
|
98
|
+
declare function ContextMenuSeparator({
|
|
99
|
+
className,
|
|
100
|
+
...props
|
|
101
|
+
}: _rn_primitives_context_menu0.SeparatorProps & {
|
|
102
|
+
ref?: React$1.RefObject<_rn_primitives_context_menu0.SeparatorRef>;
|
|
103
|
+
}): react_jsx_runtime73.JSX.Element;
|
|
104
|
+
declare function ContextMenuShortcut({
|
|
105
|
+
className,
|
|
106
|
+
...props
|
|
107
|
+
}: TextProps): react_jsx_runtime73.JSX.Element;
|
|
108
|
+
//#endregion
|
|
109
|
+
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region ui/date-picker.d.ts
|
|
4
|
+
interface DatePickerProps {
|
|
5
|
+
value: Date | null;
|
|
6
|
+
onChange: (date: Date | null) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
minDate?: Date;
|
|
9
|
+
maxDate?: Date;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
declare function DatePicker({
|
|
14
|
+
value,
|
|
15
|
+
onChange,
|
|
16
|
+
disabled,
|
|
17
|
+
minDate,
|
|
18
|
+
maxDate,
|
|
19
|
+
placeholder,
|
|
20
|
+
className
|
|
21
|
+
}: DatePickerProps): react_jsx_runtime12.JSX.Element;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { DatePicker, DatePickerProps };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region ui/date-range-picker.d.ts
|
|
4
|
+
interface DateRange {
|
|
5
|
+
start: Date | null;
|
|
6
|
+
end: Date | null;
|
|
7
|
+
}
|
|
8
|
+
interface DateRangePickerProps {
|
|
9
|
+
value: DateRange;
|
|
10
|
+
onChange: (range: DateRange) => void;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
minDate?: Date;
|
|
13
|
+
maxDate?: Date;
|
|
14
|
+
placeholders?: {
|
|
15
|
+
start?: string;
|
|
16
|
+
end?: string;
|
|
17
|
+
};
|
|
18
|
+
className?: string;
|
|
19
|
+
}
|
|
20
|
+
declare function DateRangePicker({
|
|
21
|
+
value,
|
|
22
|
+
onChange,
|
|
23
|
+
disabled,
|
|
24
|
+
minDate,
|
|
25
|
+
maxDate,
|
|
26
|
+
placeholders,
|
|
27
|
+
className
|
|
28
|
+
}: DateRangePickerProps): react_jsx_runtime10.JSX.Element;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { DateRange, DateRangePicker, DateRangePickerProps };
|