rechtspilot-ui 1.2.1 → 1.2.3
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/chunks-native.cjs +1 -1
- package/dist/chunks-native.js +3 -1
- package/dist/chunks.cjs +1 -1
- package/dist/chunks.js +127 -67
- package/dist/icons.cjs +1 -1
- package/dist/icons.d.ts +2 -0
- package/dist/icons.es.js +2 -2
- package/dist/index.cjs +211 -135
- package/dist/index.d.ts +26 -1
- package/dist/index.es.js +2142 -1993
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.es.js +12 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ declare type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
|
23
23
|
children?: React.ReactNode;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
declare type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'destructive';
|
|
26
|
+
declare type ButtonVariant = 'primary' | 'secondary' | 'tertiary' | 'destructive' | 'destructiveSubtle';
|
|
27
27
|
|
|
28
28
|
declare type ButtonVariant_2 = 'base' | 'primary' | 'outline';
|
|
29
29
|
|
|
@@ -69,6 +69,7 @@ export declare const colors: {
|
|
|
69
69
|
accent: {
|
|
70
70
|
action: string;
|
|
71
71
|
error: string;
|
|
72
|
+
errorHover: string;
|
|
72
73
|
warning: string;
|
|
73
74
|
};
|
|
74
75
|
base: string;
|
|
@@ -80,6 +81,7 @@ export declare const colors: {
|
|
|
80
81
|
secondary: string;
|
|
81
82
|
elevated: string;
|
|
82
83
|
tertiary: string;
|
|
84
|
+
gradient: string;
|
|
83
85
|
};
|
|
84
86
|
sf: {
|
|
85
87
|
primary: string;
|
|
@@ -126,6 +128,21 @@ declare type DatePickerProps = {
|
|
|
126
128
|
|
|
127
129
|
export declare function Dialog({ open, toggleDialog, children, ...props }: DialogProps): JSX.Element;
|
|
128
130
|
|
|
131
|
+
export declare const DialogAlert: ForwardRefExoticComponent<DialogAlertProps & RefAttributes<HTMLDivElement>>;
|
|
132
|
+
|
|
133
|
+
declare type DialogAlertProps = {
|
|
134
|
+
title: string;
|
|
135
|
+
description?: string;
|
|
136
|
+
closeLabel: string;
|
|
137
|
+
onClose: () => void;
|
|
138
|
+
loading?: boolean;
|
|
139
|
+
confirm?: {
|
|
140
|
+
label: string;
|
|
141
|
+
onConfirm: () => void;
|
|
142
|
+
destructive?: boolean;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
|
|
129
146
|
export declare const DialogContent: ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & RefAttributes<HTMLDivElement>, "ref"> & DialogContentProps & RefAttributes<HTMLDivElement>>;
|
|
130
147
|
|
|
131
148
|
declare type DialogContentProps = {
|
|
@@ -156,6 +173,14 @@ declare type DialogProps = {
|
|
|
156
173
|
children?: React.ReactNode;
|
|
157
174
|
};
|
|
158
175
|
|
|
176
|
+
export declare const DialogSuccess: ForwardRefExoticComponent<DialogSuccessProps & RefAttributes<HTMLDivElement>>;
|
|
177
|
+
|
|
178
|
+
declare type DialogSuccessProps = {
|
|
179
|
+
description: string;
|
|
180
|
+
actionLabel: string;
|
|
181
|
+
onAction: () => void;
|
|
182
|
+
};
|
|
183
|
+
|
|
159
184
|
export declare function Divider({ ...props }: {
|
|
160
185
|
[x: string]: any;
|
|
161
186
|
}): JSX.Element;
|