rechtspilot-ui 1.2.7 → 1.3.0
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/README.md +51 -7
- package/dist/chunks-native.cjs +1 -1
- package/dist/chunks-native.js +671 -427
- package/dist/chunks.cjs +1 -1
- package/dist/chunks.js +613 -381
- package/dist/icons.cjs +1 -1
- package/dist/icons.d.ts +20 -2
- package/dist/icons.es.js +2 -2
- package/dist/icons.native.cjs +1 -1
- package/dist/icons.native.es.js +2 -2
- package/dist/index.cjs +155 -155
- package/dist/index.es.js +1386 -1329
- package/dist/index.native.cjs +1 -57
- package/dist/index.native.es.js +81 -189
- package/dist/native/components/Autocomplete/Autocomplete.d.ts +19 -0
- package/dist/native/components/Button/Button.d.ts +10 -0
- package/dist/native/components/Button/Button.native.d.ts +12 -0
- package/dist/native/components/DatePicker/DatePicker.d.ts +9 -0
- package/dist/native/components/Dialog/Dialog.d.ts +7 -0
- package/dist/native/components/Dialog/DialogContent.d.ts +10 -0
- package/dist/native/components/Dialog/DialogDetails.d.ts +5 -0
- package/dist/native/components/Dialog/DialogHeader.d.ts +7 -0
- package/dist/native/components/Dialog/variants/DialogAlert.d.ts +14 -0
- package/dist/native/components/Dialog/variants/DialogSuccess.d.ts +7 -0
- package/dist/native/components/Dialog/variants/PilotWink.d.ts +1 -0
- package/dist/native/components/Divider/Divider.d.ts +3 -0
- package/dist/native/components/FormTitle/FormTitle.d.ts +5 -0
- package/dist/native/components/Helper/Helper.d.ts +6 -0
- package/dist/native/components/IconButton/IconButton.d.ts +8 -0
- package/dist/native/components/Input/FormatInputSelect.d.ts +7 -0
- package/dist/native/components/Input/Input.d.ts +22 -0
- package/dist/native/components/Input/Input.native.d.ts +16 -0
- package/dist/native/components/Input/InputTooltip.d.ts +6 -0
- package/dist/native/components/Letter/Letter.d.ts +64 -0
- package/dist/native/components/Letter/letter.styles.d.ts +12 -0
- package/dist/native/components/Loading/Loading.d.ts +6 -0
- package/dist/native/components/Message/LoadingMessage.d.ts +1 -0
- package/dist/native/components/Message/Message.d.ts +7 -0
- package/dist/native/components/MessageOption/MessageOption.d.ts +5 -0
- package/dist/native/components/PhonePicker/PhonePicker.d.ts +10 -0
- package/dist/native/components/Select/Select.d.ts +17 -0
- package/dist/native/components/Skeleton/Skeleton.d.ts +6 -0
- package/dist/native/components/Spinner/Spinner.d.ts +6 -0
- package/dist/native/components/Spinner/Spinner.native.d.ts +9 -0
- package/dist/native/components/StatusIndicator/StatusIndicator.d.ts +9 -0
- package/dist/native/components/StatusIndicator/StepBadge.d.ts +13 -0
- package/dist/native/components/Toaster/Toaster.d.ts +1 -0
- package/dist/native/components/Tooltip/Tooltip.d.ts +7 -0
- package/dist/native/hooks/mobile.d.ts +2 -0
- package/dist/native/hooks/toast.d.ts +46 -0
- package/dist/native/icons/ArrowUp.d.ts +2 -0
- package/dist/native/icons/Attach.d.ts +2 -0
- package/dist/native/icons/Badge.d.ts +2 -0
- package/dist/native/icons/Calendar.d.ts +2 -0
- package/dist/native/icons/Check.d.ts +2 -0
- package/dist/native/icons/CheckCircle.d.ts +2 -0
- package/dist/native/icons/Chevron.d.ts +6 -0
- package/dist/native/icons/Clock.d.ts +2 -0
- package/dist/native/icons/Close.d.ts +2 -0
- package/dist/native/icons/Cloud.d.ts +2 -0
- package/dist/native/icons/Compose.d.ts +2 -0
- package/dist/native/icons/Copy.d.ts +2 -0
- package/dist/native/icons/Data.d.ts +2 -0
- package/dist/native/icons/DoubleChevron.d.ts +6 -0
- package/dist/native/icons/Download.d.ts +2 -0
- package/dist/native/icons/Edit.d.ts +2 -0
- package/dist/native/icons/Ellipses.d.ts +2 -0
- package/dist/native/icons/Email.d.ts +2 -0
- package/dist/native/icons/Enter.d.ts +2 -0
- package/dist/native/icons/ErrorCircle.d.ts +2 -0
- package/dist/native/icons/Fax.d.ts +2 -0
- package/dist/native/icons/FileDownload.d.ts +2 -0
- package/dist/native/icons/GenerateDoc.d.ts +2 -0
- package/dist/native/icons/GenerateSignature.d.ts +2 -0
- package/dist/native/icons/Home.d.ts +2 -0
- package/dist/native/icons/Info.d.ts +2 -0
- package/dist/native/icons/Login.d.ts +2 -0
- package/dist/native/icons/Logo.d.ts +5 -0
- package/dist/native/icons/LogoOutlined.d.ts +2 -0
- package/dist/native/icons/Menu.d.ts +2 -0
- package/dist/native/icons/Message.d.ts +2 -0
- package/dist/native/icons/NoSignature.d.ts +2 -0
- package/dist/native/icons/Peek.d.ts +2 -0
- package/dist/native/icons/Pilot.d.ts +2 -0
- package/dist/native/icons/PostHorn.d.ts +2 -0
- package/dist/native/icons/Radar.d.ts +2 -0
- package/dist/native/icons/Retry.d.ts +2 -0
- package/dist/native/icons/Rotate.d.ts +2 -0
- package/dist/native/icons/Send.d.ts +2 -0
- package/dist/native/icons/Signature.d.ts +2 -0
- package/dist/native/icons/Sparkles.d.ts +2 -0
- package/dist/native/icons/Summary.d.ts +2 -0
- package/dist/native/icons/User.d.ts +2 -0
- package/dist/native/icons/UserCircle.d.ts +2 -0
- package/dist/native/icons/Window.d.ts +2 -0
- package/dist/native/icons/index.d.ts +45 -0
- package/dist/native/icons/index.native.d.ts +45 -0
- package/dist/native/icons/native/ArrowUp.native.d.ts +2 -0
- package/dist/native/icons/native/Attach.native.d.ts +2 -0
- package/dist/native/icons/native/Badge.native.d.ts +2 -0
- package/dist/native/icons/native/Calendar.native.d.ts +2 -0
- package/dist/native/icons/native/Check.native.d.ts +2 -0
- package/dist/native/icons/native/CheckCircle.native.d.ts +2 -0
- package/dist/native/icons/native/Chevron.native.d.ts +6 -0
- package/dist/native/icons/native/Clock.native.d.ts +2 -0
- package/dist/native/icons/native/Close.native.d.ts +2 -0
- package/dist/native/icons/native/Cloud.native.d.ts +2 -0
- package/dist/native/icons/native/Compose.native.d.ts +2 -0
- package/dist/native/icons/native/Copy.native.d.ts +2 -0
- package/dist/native/icons/native/Data.native.d.ts +2 -0
- package/dist/native/icons/native/DoubleChevron.native.d.ts +6 -0
- package/dist/native/icons/native/Download.native.d.ts +2 -0
- package/dist/native/icons/native/Edit.native.d.ts +2 -0
- package/dist/native/icons/native/Ellipses.native.d.ts +2 -0
- package/dist/native/icons/native/Email.native.d.ts +2 -0
- package/dist/native/icons/native/Enter.native.d.ts +2 -0
- package/dist/native/icons/native/ErrorCircle.native.d.ts +2 -0
- package/dist/native/icons/native/Fax.native.d.ts +2 -0
- package/dist/native/icons/native/FileDownload.native.d.ts +2 -0
- package/dist/native/icons/native/GenerateDoc.native.d.ts +2 -0
- package/dist/native/icons/native/GenerateSignature.native.d.ts +2 -0
- package/dist/native/icons/native/Home.native.d.ts +2 -0
- package/dist/native/icons/native/Info.native.d.ts +2 -0
- package/dist/native/icons/native/Login.native.d.ts +2 -0
- package/dist/native/icons/native/Logo.native.d.ts +5 -0
- package/dist/native/icons/native/LogoOutlined.native.d.ts +2 -0
- package/dist/native/icons/native/Menu.native.d.ts +2 -0
- package/dist/native/icons/native/Message.native.d.ts +2 -0
- package/dist/native/icons/native/NoSignature.native.d.ts +2 -0
- package/dist/native/icons/native/Peek.native.d.ts +2 -0
- package/dist/native/icons/native/Pilot.native.d.ts +2 -0
- package/dist/native/icons/native/PostHorn.native.d.ts +2 -0
- package/dist/native/icons/native/Radar.native.d.ts +2 -0
- package/dist/native/icons/native/Retry.native.d.ts +2 -0
- package/dist/native/icons/native/Rotate.native.d.ts +2 -0
- package/dist/native/icons/native/Send.native.d.ts +2 -0
- package/dist/native/icons/native/Signature.native.d.ts +2 -0
- package/dist/native/icons/native/Sparkles.native.d.ts +2 -0
- package/dist/native/icons/native/Summary.native.d.ts +2 -0
- package/dist/native/icons/native/User.native.d.ts +2 -0
- package/dist/native/icons/native/UserCircle.native.d.ts +2 -0
- package/dist/native/icons/native/Window.native.d.ts +2 -0
- package/dist/native/icons/toast/Error.d.ts +1 -0
- package/dist/native/icons/toast/Info.d.ts +1 -0
- package/dist/native/icons/toast/Success.d.ts +1 -0
- package/dist/native/icons/toast/Warning.d.ts +1 -0
- package/dist/native/index.d.ts +26 -0
- package/dist/native/index.native.d.ts +7 -0
- package/dist/native/lib/native-types.d.ts +5 -0
- package/dist/native/lib/theme.d.ts +105 -0
- package/dist/native/lib/types.d.ts +4 -0
- package/dist/native/lib/ui/breadcrumb.d.ts +19 -0
- package/dist/native/lib/ui/command.d.ts +80 -0
- package/dist/native/lib/ui/dialog.d.ts +19 -0
- package/dist/native/lib/ui/popover.d.ts +6 -0
- package/dist/native/lib/ui/select.d.ts +13 -0
- package/dist/native/lib/ui/skeleton.d.ts +6 -0
- package/dist/native/lib/ui/toast.d.ts +15 -0
- package/dist/native/lib/utils.d.ts +3 -0
- package/icons/index.d.ts +4 -2
- package/package.json +18 -3
- package/dist/icons.native.d.ts +0 -1
- package/dist/index.native.d.ts +0 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export { default as ArrowUp } from './native/ArrowUp.native';
|
|
2
|
+
export { default as Attach } from './native/Attach.native';
|
|
3
|
+
export { default as Badge } from './native/Badge.native';
|
|
4
|
+
export { default as Calendar } from './native/Calendar.native';
|
|
5
|
+
export { default as Check } from './native/Check.native';
|
|
6
|
+
export { default as CheckCircle } from './native/CheckCircle.native';
|
|
7
|
+
export { default as Chevron } from './native/Chevron.native';
|
|
8
|
+
export { default as Clock } from './native/Clock.native';
|
|
9
|
+
export { default as Close } from './native/Close.native';
|
|
10
|
+
export { default as Cloud } from './native/Cloud.native';
|
|
11
|
+
export { default as Compose } from './native/Compose.native';
|
|
12
|
+
export { default as Copy } from './native/Copy.native';
|
|
13
|
+
export { default as Data } from './native/Data.native';
|
|
14
|
+
export { default as DoubleChevron } from './native/DoubleChevron.native';
|
|
15
|
+
export { default as Download } from './native/Download.native';
|
|
16
|
+
export { default as Edit } from './native/Edit.native';
|
|
17
|
+
export { default as Ellipses } from './native/Ellipses.native';
|
|
18
|
+
export { default as Email } from './native/Email.native';
|
|
19
|
+
export { default as Enter } from './native/Enter.native';
|
|
20
|
+
export { default as ErrorCircle } from './native/ErrorCircle.native';
|
|
21
|
+
export { default as Fax } from './native/Fax.native';
|
|
22
|
+
export { default as FileDownload } from './native/FileDownload.native';
|
|
23
|
+
export { default as GenerateDoc } from './native/GenerateDoc.native';
|
|
24
|
+
export { default as GenerateSignature } from './native/GenerateSignature.native';
|
|
25
|
+
export { default as Home } from './native/Home.native';
|
|
26
|
+
export { default as Info } from './native/Info.native';
|
|
27
|
+
export { default as Login } from './native/Login.native';
|
|
28
|
+
export { default as Logo } from './native/Logo.native';
|
|
29
|
+
export { default as LogoOutlined } from './native/LogoOutlined.native';
|
|
30
|
+
export { default as Menu } from './native/Menu.native';
|
|
31
|
+
export { default as Message } from './native/Message.native';
|
|
32
|
+
export { default as NoSignature } from './native/NoSignature.native';
|
|
33
|
+
export { default as Peek } from './native/Peek.native';
|
|
34
|
+
export { default as Pilot } from './native/Pilot.native';
|
|
35
|
+
export { default as PostHorn } from './native/PostHorn.native';
|
|
36
|
+
export { default as Radar } from './native/Radar.native';
|
|
37
|
+
export { default as Retry } from './native/Retry.native';
|
|
38
|
+
export { default as Rotate } from './native/Rotate.native';
|
|
39
|
+
export { default as Send } from './native/Send.native';
|
|
40
|
+
export { default as Signature } from './native/Signature.native';
|
|
41
|
+
export { default as Sparkles } from './native/Sparkles.native';
|
|
42
|
+
export { default as Summary } from './native/Summary.native';
|
|
43
|
+
export { default as User } from './native/User.native';
|
|
44
|
+
export { default as UserCircle } from './native/UserCircle.native';
|
|
45
|
+
export { default as Window } from './native/Window.native';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IconProps } from '../../lib/native-types';
|
|
2
|
+
type ChevronProps = IconProps & {
|
|
3
|
+
direction?: 'left' | 'right' | 'up' | 'down';
|
|
4
|
+
};
|
|
5
|
+
export default function Chevron({ color, size, direction, ...props }: ChevronProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IconProps } from '../../lib/native-types';
|
|
2
|
+
type DoubleChevronProps = IconProps & {
|
|
3
|
+
direction?: 'left' | 'right';
|
|
4
|
+
};
|
|
5
|
+
export default function DoubleChevron({ color, size, direction, ...props }: DoubleChevronProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Error(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Info(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Success(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Warning(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export { default as Button } from './components/Button/Button';
|
|
2
|
+
export { default as DatePicker } from './components/DatePicker/DatePicker';
|
|
3
|
+
export { default as Dialog } from './components/Dialog/Dialog';
|
|
4
|
+
export { default as DialogContent } from './components/Dialog/DialogContent';
|
|
5
|
+
export { default as DialogDetails } from './components/Dialog/DialogDetails';
|
|
6
|
+
export { default as DialogHeader } from './components/Dialog/DialogHeader';
|
|
7
|
+
export { default as DialogAlert } from './components/Dialog/variants/DialogAlert';
|
|
8
|
+
export { default as DialogSuccess } from './components/Dialog/variants/DialogSuccess';
|
|
9
|
+
export { default as Divider } from './components/Divider/Divider';
|
|
10
|
+
export { default as Message } from './components/Message/Message';
|
|
11
|
+
export { default as MessageOption } from './components/MessageOption/MessageOption';
|
|
12
|
+
export { default as Letter } from './components/Letter/Letter';
|
|
13
|
+
export { default as Select } from './components/Select/Select';
|
|
14
|
+
export { default as Helper } from './components/Helper/Helper';
|
|
15
|
+
export { default as Skeleton } from './components/Skeleton/Skeleton';
|
|
16
|
+
export { default as IconButton } from './components/IconButton/IconButton';
|
|
17
|
+
export { default as Input } from './components/Input/Input';
|
|
18
|
+
export { default as Loading } from './components/Loading/Loading';
|
|
19
|
+
export { default as Toaster } from './components/Toaster/Toaster';
|
|
20
|
+
export { default as Spinner } from './components/Spinner/Spinner';
|
|
21
|
+
export { default as StatusIndicator } from './components/StatusIndicator/StatusIndicator';
|
|
22
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from './components/Tooltip/Tooltip';
|
|
23
|
+
export { colors, typography } from './lib/theme';
|
|
24
|
+
export { useIsMobile } from './hooks/mobile';
|
|
25
|
+
export { useToast } from './hooks/toast';
|
|
26
|
+
export { default as Autocomplete } from './components/Autocomplete/Autocomplete';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as Button } from './components/Button/Button.native';
|
|
2
|
+
export { default as Input } from './components/Input/Input.native';
|
|
3
|
+
export { default as Spinner } from './components/Spinner/Spinner.native';
|
|
4
|
+
export { colors, typography } from './lib/theme';
|
|
5
|
+
export { useIsMobile } from './hooks/mobile';
|
|
6
|
+
export { useToast } from './hooks/toast';
|
|
7
|
+
export * as icons from './icons/index.native';
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
export declare const colors: {
|
|
2
|
+
primary: {
|
|
3
|
+
25: string;
|
|
4
|
+
50: string;
|
|
5
|
+
100: string;
|
|
6
|
+
200: string;
|
|
7
|
+
300: string;
|
|
8
|
+
400: string;
|
|
9
|
+
500: string;
|
|
10
|
+
600: string;
|
|
11
|
+
'600-A08': string;
|
|
12
|
+
700: string;
|
|
13
|
+
800: string;
|
|
14
|
+
900: string;
|
|
15
|
+
950: string;
|
|
16
|
+
};
|
|
17
|
+
neutral: {
|
|
18
|
+
'0-A8': string;
|
|
19
|
+
25: string;
|
|
20
|
+
50: string;
|
|
21
|
+
100: string;
|
|
22
|
+
200: string;
|
|
23
|
+
300: string;
|
|
24
|
+
400: string;
|
|
25
|
+
500: string;
|
|
26
|
+
600: string;
|
|
27
|
+
700: string;
|
|
28
|
+
800: string;
|
|
29
|
+
'800-A04': string;
|
|
30
|
+
'800-A08': string;
|
|
31
|
+
'800-A8': string;
|
|
32
|
+
'800-A16': string;
|
|
33
|
+
900: string;
|
|
34
|
+
950: string;
|
|
35
|
+
};
|
|
36
|
+
fg: {
|
|
37
|
+
primary: string;
|
|
38
|
+
secondary: string;
|
|
39
|
+
tertiary: string;
|
|
40
|
+
accent: {
|
|
41
|
+
action: string;
|
|
42
|
+
error: string;
|
|
43
|
+
errorHover: string;
|
|
44
|
+
warning: string;
|
|
45
|
+
};
|
|
46
|
+
base: string;
|
|
47
|
+
disabled: string;
|
|
48
|
+
};
|
|
49
|
+
bg: {
|
|
50
|
+
base: string;
|
|
51
|
+
primary: string;
|
|
52
|
+
secondary: string;
|
|
53
|
+
elevated: string;
|
|
54
|
+
tertiary: string;
|
|
55
|
+
gradient: string;
|
|
56
|
+
};
|
|
57
|
+
sf: {
|
|
58
|
+
primary: string;
|
|
59
|
+
secondary: string;
|
|
60
|
+
tertiary: string;
|
|
61
|
+
tertiaryHover: string;
|
|
62
|
+
light: {
|
|
63
|
+
action: string;
|
|
64
|
+
error: string;
|
|
65
|
+
tertiary: string;
|
|
66
|
+
warning: string;
|
|
67
|
+
};
|
|
68
|
+
base: string;
|
|
69
|
+
disabled: string;
|
|
70
|
+
inverseBase: string;
|
|
71
|
+
};
|
|
72
|
+
border: {
|
|
73
|
+
default: string;
|
|
74
|
+
action: string;
|
|
75
|
+
error: string;
|
|
76
|
+
};
|
|
77
|
+
utility: {
|
|
78
|
+
opacity: string;
|
|
79
|
+
};
|
|
80
|
+
white: string;
|
|
81
|
+
black: string;
|
|
82
|
+
darkGreen: string;
|
|
83
|
+
palePeach: string;
|
|
84
|
+
cream: string;
|
|
85
|
+
coralTint: string;
|
|
86
|
+
signatureInk: string;
|
|
87
|
+
};
|
|
88
|
+
export declare const typography: {
|
|
89
|
+
title: {
|
|
90
|
+
fontFamily: string;
|
|
91
|
+
fontWeight: number;
|
|
92
|
+
};
|
|
93
|
+
label: {
|
|
94
|
+
fontFamily: string;
|
|
95
|
+
fontWeight: number;
|
|
96
|
+
};
|
|
97
|
+
body: {
|
|
98
|
+
fontFamily: string;
|
|
99
|
+
fontWeight: number;
|
|
100
|
+
};
|
|
101
|
+
caption: {
|
|
102
|
+
fontFamily: string;
|
|
103
|
+
fontWeight: number;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
3
|
+
separator?: React.ReactNode;
|
|
4
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
5
|
+
declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
6
|
+
declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
7
|
+
declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
10
|
+
declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
11
|
+
declare const BreadcrumbSeparator: {
|
|
12
|
+
({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
declare const BreadcrumbEllipsis: {
|
|
16
|
+
({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
19
|
+
export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
6
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
7
|
+
} & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
10
|
+
label?: string;
|
|
11
|
+
shouldFilter?: boolean;
|
|
12
|
+
filter?: (value: string, search: string, keywords?: string[]) => number;
|
|
13
|
+
defaultValue?: string;
|
|
14
|
+
value?: string;
|
|
15
|
+
onValueChange?: (value: string) => void;
|
|
16
|
+
loop?: boolean;
|
|
17
|
+
disablePointerSelection?: boolean;
|
|
18
|
+
vimBindings?: boolean;
|
|
19
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const CommandDialog: ({ children, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
22
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
23
|
+
} & {
|
|
24
|
+
asChild?: boolean;
|
|
25
|
+
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
|
|
26
|
+
value?: string;
|
|
27
|
+
onValueChange?: (search: string) => void;
|
|
28
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
29
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
32
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
33
|
+
} & {
|
|
34
|
+
asChild?: boolean;
|
|
35
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
36
|
+
label?: string;
|
|
37
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
39
|
+
children?: React.ReactNode;
|
|
40
|
+
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
41
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
42
|
+
} & {
|
|
43
|
+
asChild?: boolean;
|
|
44
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
46
|
+
children?: React.ReactNode;
|
|
47
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
48
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
49
|
+
} & {
|
|
50
|
+
asChild?: boolean;
|
|
51
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
|
|
52
|
+
heading?: React.ReactNode;
|
|
53
|
+
value?: string;
|
|
54
|
+
forceMount?: boolean;
|
|
55
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
56
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
57
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
58
|
+
} & {
|
|
59
|
+
asChild?: boolean;
|
|
60
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
61
|
+
alwaysRender?: boolean;
|
|
62
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
63
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
64
|
+
children?: React.ReactNode;
|
|
65
|
+
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
66
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
67
|
+
} & {
|
|
68
|
+
asChild?: boolean;
|
|
69
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "disabled" | "value" | "onSelect"> & {
|
|
70
|
+
disabled?: boolean;
|
|
71
|
+
onSelect?: (value: string) => void;
|
|
72
|
+
value?: string;
|
|
73
|
+
keywords?: string[];
|
|
74
|
+
forceMount?: boolean;
|
|
75
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
76
|
+
declare const CommandShortcut: {
|
|
77
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
displayName: string;
|
|
79
|
+
};
|
|
80
|
+
export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
4
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
6
|
+
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const DialogHeader: {
|
|
10
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
declare const DialogFooter: {
|
|
14
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
18
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
19
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
4
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { Popover, PopoverTrigger, PopoverContent };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
4
|
+
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
+
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
5
|
+
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
6
|
+
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: import('class-variance-authority/types').ClassProp | undefined) => string> & {
|
|
7
|
+
testId?: string;
|
|
8
|
+
} & React.RefAttributes<HTMLLIElement>>;
|
|
9
|
+
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
|
14
|
+
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
15
|
+
export { type ToastProps, type ToastActionElement, ToastProvider, ToastViewport, Toast, ToastTitle, ToastDescription, ToastClose, ToastAction, };
|
package/icons/index.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
// React Native compatible icons type definitions
|
|
2
|
-
|
|
1
|
+
// React Native compatible icons type definitions.
|
|
2
|
+
// This folder shim is the fallback for Metro setups without package-exports support;
|
|
3
|
+
// its JS entry resolves to the native bundle, so its types are the native ones too.
|
|
4
|
+
export * from '../dist/native/icons/index.native';
|