rechtspilot-ui 1.2.6 → 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 +156 -155
- package/dist/index.es.js +1387 -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,8 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
type ButtonVariant = 'base' | 'primary' | 'outline';
|
|
3
|
+
declare const IconButton: import('react').ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
4
|
+
onClick?: () => void;
|
|
5
|
+
variant?: ButtonVariant;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
export default IconButton;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const FieldContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$error"> & {
|
|
2
|
+
$error?: boolean;
|
|
3
|
+
}, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$error"> & {
|
|
4
|
+
$error?: boolean;
|
|
5
|
+
}, never>>> & string;
|
|
6
|
+
export declare const FormGroup: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
7
|
+
export declare const Label: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "$hasValue"> & {
|
|
8
|
+
$hasValue?: boolean;
|
|
9
|
+
}, never> & Partial<Pick<import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "$hasValue"> & {
|
|
10
|
+
$hasValue?: boolean;
|
|
11
|
+
}, never>>> & string;
|
|
12
|
+
export declare const FormInput: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>>> & string;
|
|
13
|
+
type InputProps = {
|
|
14
|
+
label: string;
|
|
15
|
+
currency?: boolean;
|
|
16
|
+
onChange: (value: string) => void;
|
|
17
|
+
tooltipText?: string;
|
|
18
|
+
error?: string;
|
|
19
|
+
helperText?: string;
|
|
20
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'>;
|
|
21
|
+
export default function Input({ label, value, type, currency, onChange, onBlur, tooltipText, error, helperText, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type InputProps = {
|
|
2
|
+
label: string;
|
|
3
|
+
value?: string;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
error?: string;
|
|
6
|
+
helperText?: string;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
secureTextEntry?: boolean;
|
|
9
|
+
keyboardType?: 'default' | 'email-address' | 'numeric' | 'phone-pad';
|
|
10
|
+
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
11
|
+
editable?: boolean;
|
|
12
|
+
multiline?: boolean;
|
|
13
|
+
numberOfLines?: number;
|
|
14
|
+
};
|
|
15
|
+
export default function Input({ label, value, onChange, error, helperText, placeholder, secureTextEntry, keyboardType, autoCapitalize, editable, multiline, numberOfLines, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
export interface IdentificationField {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export interface LetterProps {
|
|
7
|
+
senderAddressSlim?: string;
|
|
8
|
+
vendorAddress?: string;
|
|
9
|
+
senderAddress?: string;
|
|
10
|
+
identificationFields?: IdentificationField[];
|
|
11
|
+
date?: string;
|
|
12
|
+
letterSubject?: string;
|
|
13
|
+
letterText?: string;
|
|
14
|
+
userFullName?: string;
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface SenderAddressSumProps {
|
|
20
|
+
address?: string;
|
|
21
|
+
children?: ReactNode;
|
|
22
|
+
}
|
|
23
|
+
export interface RecipientProps {
|
|
24
|
+
address?: string;
|
|
25
|
+
children?: ReactNode;
|
|
26
|
+
}
|
|
27
|
+
export interface SenderAddressProps {
|
|
28
|
+
address?: string;
|
|
29
|
+
children?: ReactNode;
|
|
30
|
+
}
|
|
31
|
+
export interface SenderDetailsProps {
|
|
32
|
+
identificationFields?: IdentificationField[];
|
|
33
|
+
children?: ReactNode;
|
|
34
|
+
}
|
|
35
|
+
export interface DateProps {
|
|
36
|
+
date?: string;
|
|
37
|
+
children?: ReactNode;
|
|
38
|
+
}
|
|
39
|
+
export interface ContextProps {
|
|
40
|
+
letterSubject?: string;
|
|
41
|
+
letterText?: string;
|
|
42
|
+
userFullName?: string;
|
|
43
|
+
children?: ReactNode;
|
|
44
|
+
}
|
|
45
|
+
export interface DateLabelProps {
|
|
46
|
+
children?: ReactNode;
|
|
47
|
+
}
|
|
48
|
+
export interface ToWhomItMayConcernProps {
|
|
49
|
+
children?: ReactNode;
|
|
50
|
+
}
|
|
51
|
+
export interface YoursSincerelyProps {
|
|
52
|
+
children?: ReactNode;
|
|
53
|
+
}
|
|
54
|
+
export declare function DateLabel({ children }: DateLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
export declare function ToWhomItMayConcern({ children }: ToWhomItMayConcernProps): import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
export declare function YoursSincerely({ children }: YoursSincerelyProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export declare function SenderAddressSum({ address, children }: SenderAddressSumProps): import("react/jsx-runtime").JSX.Element | null;
|
|
58
|
+
export declare function Recipient({ address, children }: RecipientProps): import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
export declare function SenderAddress({ address, children }: SenderAddressProps): import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
export declare function SenderDetails({ identificationFields, children }: SenderDetailsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
61
|
+
export declare function Date({ date, children }: DateProps): import("react/jsx-runtime").JSX.Element | null;
|
|
62
|
+
export declare function Context({ letterSubject, letterText, userFullName, children }: ContextProps): import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
declare function Letter({ senderAddressSlim, vendorAddress, senderAddress, identificationFields, date, letterSubject, letterText, userFullName, children, style, }: LetterProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
export default Letter;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const LetterWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
2
|
+
export declare const LetterContainer: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
3
|
+
export declare const SenderAddressSumStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>>> & string;
|
|
4
|
+
export declare const RecipientStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, never>>> & string;
|
|
5
|
+
export declare const SenderAddressStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, never>>> & string;
|
|
6
|
+
export declare const SenderDetailsStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
7
|
+
export declare const IdentificationFieldStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>>> & string;
|
|
8
|
+
export declare const DateStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>>> & string;
|
|
9
|
+
export declare const ContextStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
10
|
+
export declare const SubjectTitleStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>>> & string;
|
|
11
|
+
export declare const SubjectContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
|
|
12
|
+
export declare const PadStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never> & Partial<Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function LoadingMessage(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type MessageProps = {
|
|
2
|
+
loading?: boolean;
|
|
3
|
+
variant: 'ai' | 'human';
|
|
4
|
+
showAvatar?: boolean;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
7
|
+
export default function Message({ loading, variant, showAvatar, children, ...props }: MessageProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type OptionButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
2
|
+
onClick?: () => void;
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
};
|
|
5
|
+
export default function MessageOption({ onClick, children, ...props }: OptionButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type PhonePickerProps = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (value: string) => void;
|
|
5
|
+
tooltipText?: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
helperText?: string;
|
|
8
|
+
};
|
|
9
|
+
export default function PhonePicker({ label, value, onChange, tooltipText, error, helperText, ...props }: PhonePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const SelectContentStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('@radix-ui/react-select').SelectContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, never> & Partial<Pick<Omit<import('@radix-ui/react-select').SelectContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, never>>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-select').SelectContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
|
|
2
|
+
export declare const SelectItemStyled: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('styled-components').FastOmit<Omit<import('@radix-ui/react-select').SelectItemProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "$selected"> & {
|
|
3
|
+
$selected?: boolean;
|
|
4
|
+
}, never> & Partial<Pick<import('styled-components').FastOmit<Omit<import('@radix-ui/react-select').SelectItemProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>, "$selected"> & {
|
|
5
|
+
$selected?: boolean;
|
|
6
|
+
}, never>>> & string & Omit<import('react').ForwardRefExoticComponent<Omit<import('@radix-ui/react-select').SelectItemProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>, keyof import('react').Component<any, {}, any>>;
|
|
7
|
+
type SelectProps = {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
options: {
|
|
11
|
+
value: string;
|
|
12
|
+
text: string;
|
|
13
|
+
}[];
|
|
14
|
+
onChange: (value: string) => void;
|
|
15
|
+
};
|
|
16
|
+
export default function Select({ label, options, onChange, value }: SelectProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type StatusIndicatorProps = {
|
|
2
|
+
steps: string[];
|
|
3
|
+
currentStep?: number;
|
|
4
|
+
onStepClick?: (stepNumber: number) => void;
|
|
5
|
+
hoverIcons?: (string | null | undefined)[];
|
|
6
|
+
completedStep?: number;
|
|
7
|
+
};
|
|
8
|
+
export default function StatusIndicator({ steps, currentStep, onStepClick, hoverIcons, completedStep, }: StatusIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type StepBadgeProps = {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
isActive: boolean;
|
|
5
|
+
isCompleted: boolean;
|
|
6
|
+
isCompletedAndActive: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
onClick?: () => void;
|
|
9
|
+
isHovered?: boolean;
|
|
10
|
+
hoverIcon?: ReactNode;
|
|
11
|
+
};
|
|
12
|
+
export declare const StepBadge: ({ children, isActive, isCompleted, isCompletedAndActive, className, onClick, isHovered, hoverIcon, }: StepBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Toaster(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
4
|
+
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
5
|
+
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ToastActionElement, ToastProps } from '../lib/ui/toast';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export type ToastVariant = 'info' | 'success' | 'warning' | 'error';
|
|
4
|
+
type ToasterToast = Omit<ToastProps, 'variant'> & {
|
|
5
|
+
id: string;
|
|
6
|
+
title?: React.ReactNode;
|
|
7
|
+
description?: React.ReactNode;
|
|
8
|
+
action?: ToastActionElement;
|
|
9
|
+
variant?: ToastVariant;
|
|
10
|
+
};
|
|
11
|
+
declare const actionTypes: {
|
|
12
|
+
readonly ADD_TOAST: "ADD_TOAST";
|
|
13
|
+
readonly UPDATE_TOAST: "UPDATE_TOAST";
|
|
14
|
+
readonly DISMISS_TOAST: "DISMISS_TOAST";
|
|
15
|
+
readonly REMOVE_TOAST: "REMOVE_TOAST";
|
|
16
|
+
};
|
|
17
|
+
type ActionType = typeof actionTypes;
|
|
18
|
+
type Action = {
|
|
19
|
+
type: ActionType['ADD_TOAST'];
|
|
20
|
+
toast: ToasterToast;
|
|
21
|
+
} | {
|
|
22
|
+
type: ActionType['UPDATE_TOAST'];
|
|
23
|
+
toast: Partial<ToasterToast>;
|
|
24
|
+
} | {
|
|
25
|
+
type: ActionType['DISMISS_TOAST'];
|
|
26
|
+
toastId?: ToasterToast['id'];
|
|
27
|
+
} | {
|
|
28
|
+
type: ActionType['REMOVE_TOAST'];
|
|
29
|
+
toastId?: ToasterToast['id'];
|
|
30
|
+
};
|
|
31
|
+
interface State {
|
|
32
|
+
toasts: ToasterToast[];
|
|
33
|
+
}
|
|
34
|
+
export declare const reducer: (state: State, action: Action) => State;
|
|
35
|
+
export type Toast = Omit<ToasterToast, 'id'>;
|
|
36
|
+
declare function toast({ ...props }: Toast): {
|
|
37
|
+
id: string;
|
|
38
|
+
dismiss: () => void;
|
|
39
|
+
update: (props: ToasterToast) => void;
|
|
40
|
+
};
|
|
41
|
+
declare function useToast(): {
|
|
42
|
+
toast: typeof toast;
|
|
43
|
+
dismiss: (toastId?: string) => void;
|
|
44
|
+
toasts: ToasterToast[];
|
|
45
|
+
};
|
|
46
|
+
export { useToast, toast };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IconProps } from '../lib/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/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,45 @@
|
|
|
1
|
+
export { default as ArrowUp } from './ArrowUp';
|
|
2
|
+
export { default as Attach } from './Attach';
|
|
3
|
+
export { default as Badge } from './Badge';
|
|
4
|
+
export { default as Calendar } from './Calendar';
|
|
5
|
+
export { default as Check } from './Check';
|
|
6
|
+
export { default as CheckCircle } from './CheckCircle';
|
|
7
|
+
export { default as Chevron } from './Chevron';
|
|
8
|
+
export { default as Clock } from './Clock';
|
|
9
|
+
export { default as Close } from './Close';
|
|
10
|
+
export { default as Cloud } from './Cloud';
|
|
11
|
+
export { default as Compose } from './Compose';
|
|
12
|
+
export { default as Copy } from './Copy';
|
|
13
|
+
export { default as Data } from './Data';
|
|
14
|
+
export { default as DoubleChevron } from './DoubleChevron';
|
|
15
|
+
export { default as Download } from './Download';
|
|
16
|
+
export { default as Edit } from './Edit';
|
|
17
|
+
export { default as Ellipses } from './Ellipses';
|
|
18
|
+
export { default as Email } from './Email';
|
|
19
|
+
export { default as Enter } from './Enter';
|
|
20
|
+
export { default as ErrorCircle } from './ErrorCircle';
|
|
21
|
+
export { default as Fax } from './Fax';
|
|
22
|
+
export { default as FileDownload } from './FileDownload';
|
|
23
|
+
export { default as GenerateDoc } from './GenerateDoc';
|
|
24
|
+
export { default as GenerateSignature } from './GenerateSignature';
|
|
25
|
+
export { default as Home } from './Home';
|
|
26
|
+
export { default as Info } from './Info';
|
|
27
|
+
export { default as Login } from './Login';
|
|
28
|
+
export { default as Logo } from './Logo';
|
|
29
|
+
export { default as LogoOutlined } from './LogoOutlined';
|
|
30
|
+
export { default as Menu } from './Menu';
|
|
31
|
+
export { default as Message } from './Message';
|
|
32
|
+
export { default as NoSignature } from './NoSignature';
|
|
33
|
+
export { default as Peek } from './Peek';
|
|
34
|
+
export { default as Pilot } from './Pilot';
|
|
35
|
+
export { default as PostHorn } from './PostHorn';
|
|
36
|
+
export { default as Radar } from './Radar';
|
|
37
|
+
export { default as Retry } from './Retry';
|
|
38
|
+
export { default as Rotate } from './Rotate';
|
|
39
|
+
export { default as Send } from './Send';
|
|
40
|
+
export { default as Signature } from './Signature';
|
|
41
|
+
export { default as Sparkles } from './Sparkles';
|
|
42
|
+
export { default as Summary } from './Summary';
|
|
43
|
+
export { default as User } from './User';
|
|
44
|
+
export { default as UserCircle } from './UserCircle';
|
|
45
|
+
export { default as Window } from './Window';
|