@lssm/lib.ui-kit 0.0.0-canary-20251217052941 → 0.0.0-canary-20251217060433
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/ListPage.js +1 -1
- 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
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { View, ViewProps } from "react-native";
|
|
3
|
+
import * as react_jsx_runtime72 from "react/jsx-runtime";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
6
|
+
|
|
7
|
+
//#region ui/stack.d.ts
|
|
8
|
+
declare const vStackVariants: (props?: ({
|
|
9
|
+
spacing?: "sm" | "lg" | "md" | "none" | "xs" | "xl" | "2xl" | null | undefined;
|
|
10
|
+
align?: "stretch" | "start" | "center" | "end" | null | undefined;
|
|
11
|
+
justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | null | undefined;
|
|
12
|
+
width?: "auto" | "full" | "screen" | "fit" | null | undefined;
|
|
13
|
+
padding?: "sm" | "lg" | "md" | "none" | "xs" | "xl" | null | undefined;
|
|
14
|
+
gap?: "sm" | "lg" | "md" | "none" | "xs" | "xl" | null | undefined;
|
|
15
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
16
|
+
declare const hStackVariants: (props?: ({
|
|
17
|
+
spacing?: "sm" | "lg" | "md" | "none" | "xs" | "xl" | "2xl" | null | undefined;
|
|
18
|
+
align?: "stretch" | "start" | "center" | "end" | "baseline" | null | undefined;
|
|
19
|
+
justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | null | undefined;
|
|
20
|
+
width?: "auto" | "full" | "screen" | "fit" | null | undefined;
|
|
21
|
+
padding?: "sm" | "lg" | "md" | "none" | "xs" | "xl" | null | undefined;
|
|
22
|
+
gap?: "sm" | "lg" | "md" | "none" | "xs" | "xl" | null | undefined;
|
|
23
|
+
wrap?: "reverse" | "wrap" | "nowrap" | null | undefined;
|
|
24
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
25
|
+
declare const boxVariants: (props?: ({
|
|
26
|
+
spacing?: "sm" | "lg" | "md" | "none" | "xs" | "xl" | "2xl" | null | undefined;
|
|
27
|
+
align?: "stretch" | "start" | "center" | "end" | "baseline" | null | undefined;
|
|
28
|
+
justify?: "start" | "center" | "end" | "between" | "around" | "evenly" | null | undefined;
|
|
29
|
+
width?: "auto" | "full" | "screen" | "fit" | null | undefined;
|
|
30
|
+
padding?: "sm" | "lg" | "md" | "none" | "xs" | "xl" | null | undefined;
|
|
31
|
+
gap?: "sm" | "lg" | "md" | "none" | "xs" | "xl" | null | undefined;
|
|
32
|
+
wrap?: "reverse" | "wrap" | "nowrap" | null | undefined;
|
|
33
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
34
|
+
type BoxProps = ViewProps & VariantProps<typeof boxVariants> & {
|
|
35
|
+
ref?: React$1.RefObject<React$1.ComponentRef<typeof View>>;
|
|
36
|
+
};
|
|
37
|
+
type VStackProps = ViewProps & VariantProps<typeof vStackVariants> & {
|
|
38
|
+
ref?: React$1.RefObject<React$1.ComponentRef<typeof View>>;
|
|
39
|
+
};
|
|
40
|
+
type HStackProps = ViewProps & VariantProps<typeof hStackVariants> & {
|
|
41
|
+
ref?: React$1.RefObject<React$1.ComponentRef<typeof View>>;
|
|
42
|
+
};
|
|
43
|
+
declare function Box({
|
|
44
|
+
className,
|
|
45
|
+
spacing,
|
|
46
|
+
align,
|
|
47
|
+
justify,
|
|
48
|
+
width,
|
|
49
|
+
padding,
|
|
50
|
+
gap,
|
|
51
|
+
wrap,
|
|
52
|
+
...props
|
|
53
|
+
}: BoxProps): react_jsx_runtime72.JSX.Element;
|
|
54
|
+
declare function HStack({
|
|
55
|
+
className,
|
|
56
|
+
spacing,
|
|
57
|
+
align,
|
|
58
|
+
justify,
|
|
59
|
+
width,
|
|
60
|
+
padding,
|
|
61
|
+
gap,
|
|
62
|
+
wrap,
|
|
63
|
+
...props
|
|
64
|
+
}: HStackProps): react_jsx_runtime72.JSX.Element;
|
|
65
|
+
declare function VStack({
|
|
66
|
+
className,
|
|
67
|
+
spacing,
|
|
68
|
+
align,
|
|
69
|
+
justify,
|
|
70
|
+
width,
|
|
71
|
+
padding,
|
|
72
|
+
gap,
|
|
73
|
+
...props
|
|
74
|
+
}: VStackProps): react_jsx_runtime72.JSX.Element;
|
|
75
|
+
//#endregion
|
|
76
|
+
export { Box, type BoxProps, HStack, type HStackProps, VStack, type VStackProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as react_jsx_runtime54 from "react/jsx-runtime";
|
|
2
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
4
|
+
|
|
5
|
+
//#region ui/stepper.d.ts
|
|
6
|
+
declare const dotVariants: (props?: ({
|
|
7
|
+
state?: "active" | "inactive" | null | undefined;
|
|
8
|
+
size?: "sm" | "md" | null | undefined;
|
|
9
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
10
|
+
interface StepperProps extends VariantProps<typeof dotVariants> {
|
|
11
|
+
current: number;
|
|
12
|
+
total: number;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function Stepper({
|
|
16
|
+
current,
|
|
17
|
+
total,
|
|
18
|
+
size,
|
|
19
|
+
className
|
|
20
|
+
}: StepperProps): react_jsx_runtime54.JSX.Element;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { Stepper, StepperProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime141 from "react/jsx-runtime";
|
|
3
|
+
import * as SwitchPrimitives from "@rn-primitives/switch";
|
|
4
|
+
|
|
5
|
+
//#region ui/switch.d.ts
|
|
6
|
+
declare function SwitchNative({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: SwitchPrimitives.RootProps & {
|
|
10
|
+
ref?: React$1.RefObject<SwitchPrimitives.RootRef>;
|
|
11
|
+
}): react_jsx_runtime141.JSX.Element;
|
|
12
|
+
declare const Switch: typeof SwitchNative;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { Switch };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime84 from "react/jsx-runtime";
|
|
3
|
+
import * as TablePrimitive from "@rn-primitives/table";
|
|
4
|
+
|
|
5
|
+
//#region ui/table.d.ts
|
|
6
|
+
declare function Table({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: TablePrimitive.RootProps & {
|
|
10
|
+
ref?: React$1.RefObject<TablePrimitive.RootRef>;
|
|
11
|
+
}): react_jsx_runtime84.JSX.Element;
|
|
12
|
+
declare function TableHeader({
|
|
13
|
+
className,
|
|
14
|
+
...props
|
|
15
|
+
}: TablePrimitive.HeaderProps & {
|
|
16
|
+
ref?: React$1.RefObject<TablePrimitive.HeaderRef>;
|
|
17
|
+
}): react_jsx_runtime84.JSX.Element;
|
|
18
|
+
declare function TableBody({
|
|
19
|
+
className,
|
|
20
|
+
style,
|
|
21
|
+
...props
|
|
22
|
+
}: TablePrimitive.BodyProps & {
|
|
23
|
+
ref?: React$1.RefObject<TablePrimitive.BodyRef>;
|
|
24
|
+
}): react_jsx_runtime84.JSX.Element;
|
|
25
|
+
declare function TableFooter({
|
|
26
|
+
className,
|
|
27
|
+
...props
|
|
28
|
+
}: TablePrimitive.FooterProps & {
|
|
29
|
+
ref?: React$1.RefObject<TablePrimitive.FooterRef>;
|
|
30
|
+
}): react_jsx_runtime84.JSX.Element;
|
|
31
|
+
declare function TableRow({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}: TablePrimitive.RowProps & {
|
|
35
|
+
ref?: React$1.RefObject<TablePrimitive.RowRef>;
|
|
36
|
+
}): react_jsx_runtime84.JSX.Element;
|
|
37
|
+
declare function TableHead({
|
|
38
|
+
className,
|
|
39
|
+
...props
|
|
40
|
+
}: TablePrimitive.HeadProps & {
|
|
41
|
+
ref?: React$1.RefObject<TablePrimitive.HeadRef>;
|
|
42
|
+
}): react_jsx_runtime84.JSX.Element;
|
|
43
|
+
declare function TableCell({
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: TablePrimitive.CellProps & {
|
|
47
|
+
ref?: React$1.RefObject<TablePrimitive.CellRef>;
|
|
48
|
+
}): react_jsx_runtime84.JSX.Element;
|
|
49
|
+
//#endregion
|
|
50
|
+
export { Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_native29 from "react-native";
|
|
3
|
+
import * as _rn_primitives_types1 from "@rn-primitives/types";
|
|
4
|
+
|
|
5
|
+
//#region ui/tabs.d.ts
|
|
6
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<react_native29.ViewProps & {
|
|
7
|
+
asChild?: boolean;
|
|
8
|
+
} & {
|
|
9
|
+
value: string;
|
|
10
|
+
onValueChange: (value: string) => void;
|
|
11
|
+
orientation?: "horizontal" | "vertical";
|
|
12
|
+
dir?: "ltr" | "rtl";
|
|
13
|
+
activationMode?: "automatic" | "manual";
|
|
14
|
+
} & React$1.RefAttributes<react_native29.View>>;
|
|
15
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<react_native29.ViewProps & {
|
|
16
|
+
asChild?: boolean;
|
|
17
|
+
} & React$1.RefAttributes<react_native29.View>, "ref"> & React$1.RefAttributes<react_native29.View>>;
|
|
18
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<Omit<react_native29.PressableProps & React$1.RefAttributes<react_native29.View>, "ref"> & {
|
|
19
|
+
asChild?: boolean;
|
|
20
|
+
} & {
|
|
21
|
+
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
22
|
+
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
23
|
+
} & {
|
|
24
|
+
value: string;
|
|
25
|
+
} & React$1.RefAttributes<react_native29.View>, "ref"> & React$1.RefAttributes<react_native29.View>>;
|
|
26
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<react_native29.ViewProps & {
|
|
27
|
+
asChild?: boolean;
|
|
28
|
+
} & _rn_primitives_types1.ForceMountable & {
|
|
29
|
+
value: string;
|
|
30
|
+
} & React$1.RefAttributes<react_native29.View>, "ref"> & React$1.RefAttributes<react_native29.View>>;
|
|
31
|
+
//#endregion
|
|
32
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { Text as Text$1 } from "react-native";
|
|
3
|
+
import * as react_jsx_runtime156 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region ui/text.d.ts
|
|
6
|
+
declare const TextClassContext: React$1.Context<string | undefined>;
|
|
7
|
+
type TextProps = React$1.ComponentProps<typeof Text$1> & {
|
|
8
|
+
ref?: React$1.RefObject<React$1.ComponentRef<typeof Text$1>>;
|
|
9
|
+
asChild?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare function Text({
|
|
12
|
+
className,
|
|
13
|
+
asChild,
|
|
14
|
+
...props
|
|
15
|
+
}: React$1.ComponentProps<typeof Text$1> & {
|
|
16
|
+
ref?: React$1.RefObject<React$1.ComponentRef<typeof Text$1>>;
|
|
17
|
+
asChild?: boolean;
|
|
18
|
+
}): react_jsx_runtime156.JSX.Element;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { Text, TextClassContext, TextProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { TextInput, TextInputProps } from "react-native";
|
|
3
|
+
|
|
4
|
+
//#region ui/textarea.d.ts
|
|
5
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<TextInputProps & {
|
|
6
|
+
ref?: React$1.RefObject<TextInput>;
|
|
7
|
+
}, "ref"> & React$1.RefAttributes<TextInput>>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Textarea };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as react_jsx_runtime52 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region ui/time-picker.d.ts
|
|
4
|
+
interface TimePickerProps {
|
|
5
|
+
value: Date | null;
|
|
6
|
+
onChange: (date: Date | null) => void;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
is24Hour?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
declare function TimePicker({
|
|
13
|
+
value,
|
|
14
|
+
onChange,
|
|
15
|
+
disabled,
|
|
16
|
+
placeholder,
|
|
17
|
+
is24Hour,
|
|
18
|
+
className
|
|
19
|
+
}: TimePickerProps): react_jsx_runtime52.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { TimePicker, TimePickerProps };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { toggleVariants } from "./toggle.js";
|
|
2
|
+
import * as React$1 from "react";
|
|
3
|
+
import { LucideIcon } from "lucide-react-native";
|
|
4
|
+
import * as react_jsx_runtime75 from "react/jsx-runtime";
|
|
5
|
+
import { VariantProps } from "class-variance-authority";
|
|
6
|
+
import * as ToggleGroupPrimitive from "@rn-primitives/toggle-group";
|
|
7
|
+
|
|
8
|
+
//#region ui/toggle-group.d.ts
|
|
9
|
+
declare function ToggleGroup({
|
|
10
|
+
className,
|
|
11
|
+
variant,
|
|
12
|
+
size,
|
|
13
|
+
children,
|
|
14
|
+
...props
|
|
15
|
+
}: ToggleGroupPrimitive.RootProps & VariantProps<typeof toggleVariants> & {
|
|
16
|
+
ref?: React$1.RefObject<ToggleGroupPrimitive.RootRef>;
|
|
17
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
18
|
+
declare function ToggleGroupItem({
|
|
19
|
+
className,
|
|
20
|
+
children,
|
|
21
|
+
variant,
|
|
22
|
+
size,
|
|
23
|
+
...props
|
|
24
|
+
}: ToggleGroupPrimitive.ItemProps & VariantProps<typeof toggleVariants> & {
|
|
25
|
+
ref?: React$1.RefObject<ToggleGroupPrimitive.ItemRef>;
|
|
26
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
27
|
+
declare function ToggleGroupIcon({
|
|
28
|
+
className,
|
|
29
|
+
icon: Icon,
|
|
30
|
+
...props
|
|
31
|
+
}: React$1.ComponentPropsWithoutRef<LucideIcon> & {
|
|
32
|
+
icon: LucideIcon;
|
|
33
|
+
}): react_jsx_runtime75.JSX.Element;
|
|
34
|
+
//#endregion
|
|
35
|
+
export { ToggleGroup, ToggleGroupIcon, ToggleGroupItem };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import { LucideIcon } from "lucide-react-native";
|
|
3
|
+
import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
|
+
import * as TogglePrimitive from "@rn-primitives/toggle";
|
|
6
|
+
import * as class_variance_authority_types4 from "class-variance-authority/types";
|
|
7
|
+
|
|
8
|
+
//#region ui/toggle.d.ts
|
|
9
|
+
declare const toggleVariants: (props?: ({
|
|
10
|
+
variant?: "default" | "outline" | null | undefined;
|
|
11
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
12
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
13
|
+
declare const toggleTextVariants: (props?: ({
|
|
14
|
+
variant?: "default" | "outline" | null | undefined;
|
|
15
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
16
|
+
} & class_variance_authority_types4.ClassProp) | undefined) => string;
|
|
17
|
+
declare function Toggle({
|
|
18
|
+
className,
|
|
19
|
+
variant,
|
|
20
|
+
size,
|
|
21
|
+
...props
|
|
22
|
+
}: TogglePrimitive.RootProps & VariantProps<typeof toggleVariants> & VariantProps<typeof toggleVariants> & {
|
|
23
|
+
ref?: React$1.RefObject<TogglePrimitive.RootRef>;
|
|
24
|
+
}): react_jsx_runtime55.JSX.Element;
|
|
25
|
+
declare function ToggleIcon({
|
|
26
|
+
className,
|
|
27
|
+
icon: Icon,
|
|
28
|
+
...props
|
|
29
|
+
}: React$1.ComponentPropsWithoutRef<LucideIcon> & {
|
|
30
|
+
icon: LucideIcon;
|
|
31
|
+
}): react_jsx_runtime55.JSX.Element;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { Toggle, ToggleIcon, toggleTextVariants, toggleVariants };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_native25 from "react-native";
|
|
3
|
+
import * as react_jsx_runtime78 from "react/jsx-runtime";
|
|
4
|
+
import * as _rn_primitives_tooltip0 from "@rn-primitives/tooltip";
|
|
5
|
+
|
|
6
|
+
//#region ui/tooltip.d.ts
|
|
7
|
+
declare const Tooltip: React$1.ForwardRefExoticComponent<react_native25.ViewProps & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
} & {
|
|
10
|
+
onOpenChange?: (open: boolean) => void;
|
|
11
|
+
delayDuration?: number;
|
|
12
|
+
skipDelayDuration?: number;
|
|
13
|
+
disableHoverableContent?: boolean;
|
|
14
|
+
} & React$1.RefAttributes<react_native25.View>>;
|
|
15
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<Omit<react_native25.PressableProps & React$1.RefAttributes<react_native25.View>, "ref"> & {
|
|
16
|
+
asChild?: boolean;
|
|
17
|
+
} & {
|
|
18
|
+
onKeyDown?: (ev: React$1.KeyboardEvent) => void;
|
|
19
|
+
onKeyUp?: (ev: React$1.KeyboardEvent) => void;
|
|
20
|
+
} & React$1.RefAttributes<_rn_primitives_tooltip0.TriggerRef>>;
|
|
21
|
+
declare function TooltipContent({
|
|
22
|
+
className,
|
|
23
|
+
sideOffset,
|
|
24
|
+
portalHost,
|
|
25
|
+
...props
|
|
26
|
+
}: _rn_primitives_tooltip0.ContentProps & {
|
|
27
|
+
ref?: React$1.RefObject<_rn_primitives_tooltip0.ContentRef>;
|
|
28
|
+
portalHost?: string;
|
|
29
|
+
}): react_jsx_runtime78.JSX.Element;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { Tooltip, TooltipContent, TooltipTrigger };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { TextProps } from "./text.js";
|
|
2
|
+
import * as react_jsx_runtime57 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region ui/typography.d.ts
|
|
5
|
+
type TypographyProps = TextProps & {
|
|
6
|
+
asChild?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function H1({
|
|
9
|
+
className,
|
|
10
|
+
asChild,
|
|
11
|
+
...props
|
|
12
|
+
}: TypographyProps): react_jsx_runtime57.JSX.Element;
|
|
13
|
+
declare function H2({
|
|
14
|
+
className,
|
|
15
|
+
asChild,
|
|
16
|
+
...props
|
|
17
|
+
}: TypographyProps): react_jsx_runtime57.JSX.Element;
|
|
18
|
+
declare function H3({
|
|
19
|
+
className,
|
|
20
|
+
asChild,
|
|
21
|
+
...props
|
|
22
|
+
}: TypographyProps): react_jsx_runtime57.JSX.Element;
|
|
23
|
+
declare function H4({
|
|
24
|
+
className,
|
|
25
|
+
asChild,
|
|
26
|
+
...props
|
|
27
|
+
}: TypographyProps): react_jsx_runtime57.JSX.Element;
|
|
28
|
+
declare function P({
|
|
29
|
+
className,
|
|
30
|
+
asChild,
|
|
31
|
+
...props
|
|
32
|
+
}: TypographyProps): react_jsx_runtime57.JSX.Element;
|
|
33
|
+
declare function BlockQuote({
|
|
34
|
+
className,
|
|
35
|
+
asChild,
|
|
36
|
+
...props
|
|
37
|
+
}: TypographyProps): react_jsx_runtime57.JSX.Element;
|
|
38
|
+
declare function Code({
|
|
39
|
+
className,
|
|
40
|
+
asChild,
|
|
41
|
+
...props
|
|
42
|
+
}: TypographyProps): react_jsx_runtime57.JSX.Element;
|
|
43
|
+
declare function Lead({
|
|
44
|
+
className,
|
|
45
|
+
asChild,
|
|
46
|
+
...props
|
|
47
|
+
}: TypographyProps): react_jsx_runtime57.JSX.Element;
|
|
48
|
+
declare function Large({
|
|
49
|
+
className,
|
|
50
|
+
asChild,
|
|
51
|
+
...props
|
|
52
|
+
}: TypographyProps): react_jsx_runtime57.JSX.Element;
|
|
53
|
+
declare function Small({
|
|
54
|
+
className,
|
|
55
|
+
asChild,
|
|
56
|
+
...props
|
|
57
|
+
}: TypographyProps): react_jsx_runtime57.JSX.Element;
|
|
58
|
+
declare function Muted({
|
|
59
|
+
className,
|
|
60
|
+
asChild,
|
|
61
|
+
...props
|
|
62
|
+
}: TypographyProps): react_jsx_runtime57.JSX.Element;
|
|
63
|
+
//#endregion
|
|
64
|
+
export { BlockQuote, Code, H1, H2, H3, H4, Large, Lead, Muted, P, Small, TypographyProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react_native24 from "react-native";
|
|
2
|
+
|
|
3
|
+
//#region ui/useColorScheme.d.ts
|
|
4
|
+
declare function useColorScheme(): {
|
|
5
|
+
colorScheme: "light" | "dark";
|
|
6
|
+
isDarkColorScheme: boolean;
|
|
7
|
+
setColorScheme: (scheme: react_native24.ColorSchemeName) => void;
|
|
8
|
+
toggleColorScheme: () => void;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { useColorScheme };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region ui/useListState.d.ts
|
|
2
|
+
interface UseListStateOptions {
|
|
3
|
+
initialSearch?: string;
|
|
4
|
+
initialFilters?: Record<string, string>;
|
|
5
|
+
initialPage?: number;
|
|
6
|
+
initialItemsPerPage?: number;
|
|
7
|
+
debounceMs?: number;
|
|
8
|
+
}
|
|
9
|
+
interface UseListStateReturn {
|
|
10
|
+
searchQuery: string;
|
|
11
|
+
setSearchQuery: (query: string) => void;
|
|
12
|
+
filters: Record<string, string>;
|
|
13
|
+
setFilter: (key: string, value: string) => void;
|
|
14
|
+
clearFilters: () => void;
|
|
15
|
+
currentPage: number;
|
|
16
|
+
itemsPerPage: number;
|
|
17
|
+
setCurrentPage: (page: number) => void;
|
|
18
|
+
setItemsPerPage: (itemsPerPage: number) => void;
|
|
19
|
+
queryParams: {
|
|
20
|
+
search: string;
|
|
21
|
+
page: number;
|
|
22
|
+
limit: number;
|
|
23
|
+
} & Record<string, string | number>;
|
|
24
|
+
resetAll: () => void;
|
|
25
|
+
}
|
|
26
|
+
declare const useListState: ({
|
|
27
|
+
initialSearch,
|
|
28
|
+
initialFilters,
|
|
29
|
+
initialPage,
|
|
30
|
+
initialItemsPerPage
|
|
31
|
+
}?: UseListStateOptions) => UseListStateReturn;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { UseListStateOptions, UseListStateReturn, useListState };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as react_jsx_runtime80 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region ui/usecases/UseCaseCard.d.ts
|
|
4
|
+
declare function UseCaseCard({
|
|
5
|
+
title,
|
|
6
|
+
summary,
|
|
7
|
+
ctaHref,
|
|
8
|
+
ctaLabel,
|
|
9
|
+
onCtaClick
|
|
10
|
+
}: {
|
|
11
|
+
title: string;
|
|
12
|
+
summary?: string;
|
|
13
|
+
ctaHref?: string;
|
|
14
|
+
ctaLabel?: string;
|
|
15
|
+
onCtaClick?: () => void;
|
|
16
|
+
}): react_jsx_runtime80.JSX.Element;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { UseCaseCard };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region ui/usecases/UserStoryCard.d.ts
|
|
4
|
+
declare function UserStoryCard({
|
|
5
|
+
title,
|
|
6
|
+
body,
|
|
7
|
+
outcome
|
|
8
|
+
}: {
|
|
9
|
+
title: string;
|
|
10
|
+
body?: string;
|
|
11
|
+
outcome?: string;
|
|
12
|
+
}): react_jsx_runtime81.JSX.Element;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { UserStoryCard };
|