@mvr-ui/components 1.0.38 → 1.0.39
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/page.d.mts +26 -88
- package/dist/page.d.ts +26 -88
- package/package.json +1 -1
package/dist/page.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default from 'react';
|
|
2
|
+
import React__default, { JSX } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
declare const LicenseProvider: React__default.FC<{
|
|
@@ -16,10 +16,7 @@ interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElem
|
|
|
16
16
|
loading?: boolean;
|
|
17
17
|
loadingContent?: React__default.ReactNode;
|
|
18
18
|
}
|
|
19
|
-
declare const ButtonPrimitive:
|
|
20
|
-
(props: ButtonProps & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>): react_jsx_runtime.JSX.Element;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
19
|
+
declare const ButtonPrimitive: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
23
20
|
|
|
24
21
|
interface CardProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
25
22
|
children: React__default.ReactNode;
|
|
@@ -45,30 +42,12 @@ interface CardFooterProps extends React__default.HTMLAttributes<HTMLDivElement>
|
|
|
45
42
|
children: React__default.ReactNode;
|
|
46
43
|
overrideClassName?: boolean;
|
|
47
44
|
}
|
|
48
|
-
declare const CardPrimitive:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
declare const
|
|
53
|
-
|
|
54
|
-
displayName: string;
|
|
55
|
-
};
|
|
56
|
-
declare const CardTitlePrimitive: {
|
|
57
|
-
(props: CardTitleProps & React__default.RefAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
58
|
-
displayName: string;
|
|
59
|
-
};
|
|
60
|
-
declare const CardDescriptionPrimitive: {
|
|
61
|
-
(props: CardDescriptionProps & React__default.RefAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
62
|
-
displayName: string;
|
|
63
|
-
};
|
|
64
|
-
declare const CardContentPrimitive: {
|
|
65
|
-
(props: CardContentProps & React__default.RefAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
66
|
-
displayName: string;
|
|
67
|
-
};
|
|
68
|
-
declare const CardFooterPrimitive: {
|
|
69
|
-
(props: CardFooterProps & React__default.RefAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
70
|
-
displayName: string;
|
|
71
|
-
};
|
|
45
|
+
declare const CardPrimitive: React__default.ForwardRefExoticComponent<CardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
46
|
+
declare const CardHeaderPrimitive: React__default.ForwardRefExoticComponent<CardHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
declare const CardTitlePrimitive: React__default.ForwardRefExoticComponent<CardTitleProps & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
48
|
+
declare const CardDescriptionPrimitive: React__default.ForwardRefExoticComponent<CardDescriptionProps & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
49
|
+
declare const CardContentPrimitive: React__default.ForwardRefExoticComponent<CardContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
50
|
+
declare const CardFooterPrimitive: React__default.ForwardRefExoticComponent<CardFooterProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
72
51
|
|
|
73
52
|
interface CheckBoxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
74
53
|
label?: string;
|
|
@@ -80,10 +59,7 @@ interface CheckBoxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>
|
|
|
80
59
|
helperText?: string;
|
|
81
60
|
error?: string;
|
|
82
61
|
}
|
|
83
|
-
declare const CheckBoxPrimitive:
|
|
84
|
-
(props: CheckBoxProps & React$1.RefAttributes<HTMLInputElement>): react_jsx_runtime.JSX.Element;
|
|
85
|
-
displayName: string;
|
|
86
|
-
};
|
|
62
|
+
declare const CheckBoxPrimitive: React$1.ForwardRefExoticComponent<CheckBoxProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
87
63
|
|
|
88
64
|
type InputFormatTypeAttribute = "money" | "cpf" | "cnpj" | "cpfCnpj" | "cep" | "mobile" | "phone" | "percentage" | "rg";
|
|
89
65
|
|
|
@@ -103,10 +79,7 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
|
103
79
|
error?: string;
|
|
104
80
|
helperText?: string;
|
|
105
81
|
}
|
|
106
|
-
declare const InputPrimitive:
|
|
107
|
-
(props: InputProps & React$1.RefAttributes<HTMLInputElement>): react_jsx_runtime.JSX.Element;
|
|
108
|
-
displayName: string;
|
|
109
|
-
};
|
|
82
|
+
declare const InputPrimitive: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
110
83
|
|
|
111
84
|
interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
112
85
|
children?: React.ReactNode;
|
|
@@ -114,10 +87,7 @@ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
|
114
87
|
className?: string;
|
|
115
88
|
overrideClassName?: boolean;
|
|
116
89
|
}
|
|
117
|
-
declare const LabelPrimitive:
|
|
118
|
-
(props: LabelProps): react_jsx_runtime.JSX.Element;
|
|
119
|
-
displayName: string;
|
|
120
|
-
};
|
|
90
|
+
declare const LabelPrimitive: React$1.FunctionComponent<LabelProps>;
|
|
121
91
|
|
|
122
92
|
interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
123
93
|
label?: string;
|
|
@@ -128,10 +98,7 @@ interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
|
128
98
|
helperText?: string;
|
|
129
99
|
error?: string;
|
|
130
100
|
}
|
|
131
|
-
declare const RadioPrimitive:
|
|
132
|
-
(props: RadioProps & React$1.RefAttributes<HTMLInputElement>): react_jsx_runtime.JSX.Element;
|
|
133
|
-
displayName: string;
|
|
134
|
-
};
|
|
101
|
+
declare const RadioPrimitive: React$1.ForwardRefExoticComponent<RadioProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
135
102
|
|
|
136
103
|
interface SelectProps<T extends object = Record<string, unknown>> extends Omit<React__default.SelectHTMLAttributes<HTMLSelectElement>, "children"> {
|
|
137
104
|
label?: string;
|
|
@@ -143,12 +110,12 @@ interface SelectProps<T extends object = Record<string, unknown>> extends Omit<R
|
|
|
143
110
|
error?: string;
|
|
144
111
|
helperText?: string;
|
|
145
112
|
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
displayName: string;
|
|
113
|
+
type SelectComponent = (<T extends object>(props: SelectProps<T> & {
|
|
114
|
+
ref?: React__default.ForwardedRef<HTMLSelectElement>;
|
|
115
|
+
}) => JSX.Element) & {
|
|
116
|
+
displayName?: string;
|
|
151
117
|
};
|
|
118
|
+
declare const SelectPrimitive: SelectComponent;
|
|
152
119
|
|
|
153
120
|
type Mode = 'multiple' | 'single';
|
|
154
121
|
|
|
@@ -182,30 +149,13 @@ type ComboBoxProps<T, V extends AllowedComboValue<T>> = CommonProps<T> & {
|
|
|
182
149
|
value?: V;
|
|
183
150
|
onChange?: (e: ChangeEvent<V>) => void;
|
|
184
151
|
};
|
|
185
|
-
|
|
186
|
-
(props:
|
|
187
|
-
label?: string;
|
|
188
|
-
required?: boolean;
|
|
189
|
-
name: string;
|
|
190
|
-
placeholder?: string;
|
|
191
|
-
labelKey: never;
|
|
192
|
-
valueKey: never;
|
|
193
|
-
options: unknown[];
|
|
194
|
-
typeSet?: TypeSet;
|
|
195
|
-
mode?: Mode;
|
|
196
|
-
disabled?: boolean;
|
|
197
|
-
ClearEnabled?: boolean;
|
|
198
|
-
helperText?: string;
|
|
199
|
-
error?: boolean;
|
|
200
|
-
className?: string;
|
|
201
|
-
} & {
|
|
202
|
-
value?: unknown;
|
|
203
|
-
onChange?: ((e: ChangeEvent<unknown>) => void) | undefined;
|
|
204
|
-
} & {
|
|
152
|
+
type ComboBoxComponent = {
|
|
153
|
+
<T, V extends AllowedComboValue<T>>(props: ComboBoxProps<T, V> & {
|
|
205
154
|
ref?: React__default.Ref<HTMLInputElement>;
|
|
206
|
-
}):
|
|
207
|
-
displayName
|
|
155
|
+
}): JSX.Element;
|
|
156
|
+
displayName?: string;
|
|
208
157
|
};
|
|
158
|
+
declare const ComboBoxPrimitive: ComboBoxComponent;
|
|
209
159
|
|
|
210
160
|
interface SwitchHTMLCustomAttributes {
|
|
211
161
|
label?: string;
|
|
@@ -216,10 +166,7 @@ interface SwitchHTMLCustomAttributes {
|
|
|
216
166
|
}
|
|
217
167
|
interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'>, SwitchHTMLCustomAttributes {
|
|
218
168
|
}
|
|
219
|
-
declare const SwitchPrimitive: {
|
|
220
|
-
(props: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
221
|
-
displayName: string;
|
|
222
|
-
};
|
|
169
|
+
declare const SwitchPrimitive: ({ name, label, required, errors, className, option, ...props }: SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
223
170
|
|
|
224
171
|
interface TextAreaHTMLCustomAttributes {
|
|
225
172
|
label?: string;
|
|
@@ -228,29 +175,20 @@ interface TextAreaHTMLCustomAttributes {
|
|
|
228
175
|
}
|
|
229
176
|
interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, TextAreaHTMLCustomAttributes {
|
|
230
177
|
}
|
|
231
|
-
declare const TextAreaPrimitive: {
|
|
232
|
-
(props: TextAreaProps): react_jsx_runtime.JSX.Element;
|
|
233
|
-
displayName: string;
|
|
234
|
-
};
|
|
178
|
+
declare const TextAreaPrimitive: ({ label, required, errors, name, maxLength, className, ...props }: TextAreaProps) => react_jsx_runtime.JSX.Element;
|
|
235
179
|
|
|
236
180
|
interface ValidateFieldProps {
|
|
237
181
|
children: React.ReactNode;
|
|
238
182
|
className?: string;
|
|
239
183
|
overrideClassName?: boolean;
|
|
240
184
|
}
|
|
241
|
-
declare const ValidateFieldPrimitive:
|
|
242
|
-
(props: ValidateFieldProps): react_jsx_runtime.JSX.Element;
|
|
243
|
-
displayName: string;
|
|
244
|
-
};
|
|
185
|
+
declare const ValidateFieldPrimitive: React$1.FunctionComponent<ValidateFieldProps>;
|
|
245
186
|
|
|
246
187
|
interface HelperFieldProps {
|
|
247
188
|
children: string;
|
|
248
189
|
className?: string;
|
|
249
190
|
overrideClassName?: boolean;
|
|
250
191
|
}
|
|
251
|
-
declare const HelperFieldPrimitive:
|
|
252
|
-
(props: HelperFieldProps): react_jsx_runtime.JSX.Element;
|
|
253
|
-
displayName: string;
|
|
254
|
-
};
|
|
192
|
+
declare const HelperFieldPrimitive: React$1.FunctionComponent<HelperFieldProps>;
|
|
255
193
|
|
|
256
194
|
export { AllowedComboValue, ButtonPrimitive, ButtonProps, CardContentPrimitive, CardContentProps, CardDescriptionPrimitive, CardDescriptionProps, CardFooterPrimitive, CardFooterProps, CardHeaderPrimitive, CardHeaderProps, CardPrimitive, CardProps, CardTitlePrimitive, CardTitleProps, ChangeEvent, CheckBoxPrimitive, CheckBoxProps, ComboBoxPrimitive, ComboBoxProps, HelperFieldPrimitive, HelperFieldProps, InputPrimitive, InputProps, LabelPrimitive, LabelProps, LicenseProvider, RadioPrimitive, RadioProps, SelectPrimitive, SelectProps, SwitchPrimitive, SwitchProps, TextAreaPrimitive, TextAreaProps, ValidateFieldPrimitive, ValidateFieldProps };
|
package/dist/page.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default from 'react';
|
|
2
|
+
import React__default, { JSX } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
|
|
5
5
|
declare const LicenseProvider: React__default.FC<{
|
|
@@ -16,10 +16,7 @@ interface ButtonProps extends React__default.ButtonHTMLAttributes<HTMLButtonElem
|
|
|
16
16
|
loading?: boolean;
|
|
17
17
|
loadingContent?: React__default.ReactNode;
|
|
18
18
|
}
|
|
19
|
-
declare const ButtonPrimitive:
|
|
20
|
-
(props: ButtonProps & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>): react_jsx_runtime.JSX.Element;
|
|
21
|
-
displayName: string;
|
|
22
|
-
};
|
|
19
|
+
declare const ButtonPrimitive: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
23
20
|
|
|
24
21
|
interface CardProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
25
22
|
children: React__default.ReactNode;
|
|
@@ -45,30 +42,12 @@ interface CardFooterProps extends React__default.HTMLAttributes<HTMLDivElement>
|
|
|
45
42
|
children: React__default.ReactNode;
|
|
46
43
|
overrideClassName?: boolean;
|
|
47
44
|
}
|
|
48
|
-
declare const CardPrimitive:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
declare const
|
|
53
|
-
|
|
54
|
-
displayName: string;
|
|
55
|
-
};
|
|
56
|
-
declare const CardTitlePrimitive: {
|
|
57
|
-
(props: CardTitleProps & React__default.RefAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
58
|
-
displayName: string;
|
|
59
|
-
};
|
|
60
|
-
declare const CardDescriptionPrimitive: {
|
|
61
|
-
(props: CardDescriptionProps & React__default.RefAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
62
|
-
displayName: string;
|
|
63
|
-
};
|
|
64
|
-
declare const CardContentPrimitive: {
|
|
65
|
-
(props: CardContentProps & React__default.RefAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
66
|
-
displayName: string;
|
|
67
|
-
};
|
|
68
|
-
declare const CardFooterPrimitive: {
|
|
69
|
-
(props: CardFooterProps & React__default.RefAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
70
|
-
displayName: string;
|
|
71
|
-
};
|
|
45
|
+
declare const CardPrimitive: React__default.ForwardRefExoticComponent<CardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
46
|
+
declare const CardHeaderPrimitive: React__default.ForwardRefExoticComponent<CardHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
declare const CardTitlePrimitive: React__default.ForwardRefExoticComponent<CardTitleProps & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
48
|
+
declare const CardDescriptionPrimitive: React__default.ForwardRefExoticComponent<CardDescriptionProps & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
49
|
+
declare const CardContentPrimitive: React__default.ForwardRefExoticComponent<CardContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
50
|
+
declare const CardFooterPrimitive: React__default.ForwardRefExoticComponent<CardFooterProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
72
51
|
|
|
73
52
|
interface CheckBoxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
74
53
|
label?: string;
|
|
@@ -80,10 +59,7 @@ interface CheckBoxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>
|
|
|
80
59
|
helperText?: string;
|
|
81
60
|
error?: string;
|
|
82
61
|
}
|
|
83
|
-
declare const CheckBoxPrimitive:
|
|
84
|
-
(props: CheckBoxProps & React$1.RefAttributes<HTMLInputElement>): react_jsx_runtime.JSX.Element;
|
|
85
|
-
displayName: string;
|
|
86
|
-
};
|
|
62
|
+
declare const CheckBoxPrimitive: React$1.ForwardRefExoticComponent<CheckBoxProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
87
63
|
|
|
88
64
|
type InputFormatTypeAttribute = "money" | "cpf" | "cnpj" | "cpfCnpj" | "cep" | "mobile" | "phone" | "percentage" | "rg";
|
|
89
65
|
|
|
@@ -103,10 +79,7 @@ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
|
103
79
|
error?: string;
|
|
104
80
|
helperText?: string;
|
|
105
81
|
}
|
|
106
|
-
declare const InputPrimitive:
|
|
107
|
-
(props: InputProps & React$1.RefAttributes<HTMLInputElement>): react_jsx_runtime.JSX.Element;
|
|
108
|
-
displayName: string;
|
|
109
|
-
};
|
|
82
|
+
declare const InputPrimitive: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
110
83
|
|
|
111
84
|
interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
112
85
|
children?: React.ReactNode;
|
|
@@ -114,10 +87,7 @@ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
|
114
87
|
className?: string;
|
|
115
88
|
overrideClassName?: boolean;
|
|
116
89
|
}
|
|
117
|
-
declare const LabelPrimitive:
|
|
118
|
-
(props: LabelProps): react_jsx_runtime.JSX.Element;
|
|
119
|
-
displayName: string;
|
|
120
|
-
};
|
|
90
|
+
declare const LabelPrimitive: React$1.FunctionComponent<LabelProps>;
|
|
121
91
|
|
|
122
92
|
interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
123
93
|
label?: string;
|
|
@@ -128,10 +98,7 @@ interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
|
128
98
|
helperText?: string;
|
|
129
99
|
error?: string;
|
|
130
100
|
}
|
|
131
|
-
declare const RadioPrimitive:
|
|
132
|
-
(props: RadioProps & React$1.RefAttributes<HTMLInputElement>): react_jsx_runtime.JSX.Element;
|
|
133
|
-
displayName: string;
|
|
134
|
-
};
|
|
101
|
+
declare const RadioPrimitive: React$1.ForwardRefExoticComponent<RadioProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
135
102
|
|
|
136
103
|
interface SelectProps<T extends object = Record<string, unknown>> extends Omit<React__default.SelectHTMLAttributes<HTMLSelectElement>, "children"> {
|
|
137
104
|
label?: string;
|
|
@@ -143,12 +110,12 @@ interface SelectProps<T extends object = Record<string, unknown>> extends Omit<R
|
|
|
143
110
|
error?: string;
|
|
144
111
|
helperText?: string;
|
|
145
112
|
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
displayName: string;
|
|
113
|
+
type SelectComponent = (<T extends object>(props: SelectProps<T> & {
|
|
114
|
+
ref?: React__default.ForwardedRef<HTMLSelectElement>;
|
|
115
|
+
}) => JSX.Element) & {
|
|
116
|
+
displayName?: string;
|
|
151
117
|
};
|
|
118
|
+
declare const SelectPrimitive: SelectComponent;
|
|
152
119
|
|
|
153
120
|
type Mode = 'multiple' | 'single';
|
|
154
121
|
|
|
@@ -182,30 +149,13 @@ type ComboBoxProps<T, V extends AllowedComboValue<T>> = CommonProps<T> & {
|
|
|
182
149
|
value?: V;
|
|
183
150
|
onChange?: (e: ChangeEvent<V>) => void;
|
|
184
151
|
};
|
|
185
|
-
|
|
186
|
-
(props:
|
|
187
|
-
label?: string;
|
|
188
|
-
required?: boolean;
|
|
189
|
-
name: string;
|
|
190
|
-
placeholder?: string;
|
|
191
|
-
labelKey: never;
|
|
192
|
-
valueKey: never;
|
|
193
|
-
options: unknown[];
|
|
194
|
-
typeSet?: TypeSet;
|
|
195
|
-
mode?: Mode;
|
|
196
|
-
disabled?: boolean;
|
|
197
|
-
ClearEnabled?: boolean;
|
|
198
|
-
helperText?: string;
|
|
199
|
-
error?: boolean;
|
|
200
|
-
className?: string;
|
|
201
|
-
} & {
|
|
202
|
-
value?: unknown;
|
|
203
|
-
onChange?: ((e: ChangeEvent<unknown>) => void) | undefined;
|
|
204
|
-
} & {
|
|
152
|
+
type ComboBoxComponent = {
|
|
153
|
+
<T, V extends AllowedComboValue<T>>(props: ComboBoxProps<T, V> & {
|
|
205
154
|
ref?: React__default.Ref<HTMLInputElement>;
|
|
206
|
-
}):
|
|
207
|
-
displayName
|
|
155
|
+
}): JSX.Element;
|
|
156
|
+
displayName?: string;
|
|
208
157
|
};
|
|
158
|
+
declare const ComboBoxPrimitive: ComboBoxComponent;
|
|
209
159
|
|
|
210
160
|
interface SwitchHTMLCustomAttributes {
|
|
211
161
|
label?: string;
|
|
@@ -216,10 +166,7 @@ interface SwitchHTMLCustomAttributes {
|
|
|
216
166
|
}
|
|
217
167
|
interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'>, SwitchHTMLCustomAttributes {
|
|
218
168
|
}
|
|
219
|
-
declare const SwitchPrimitive: {
|
|
220
|
-
(props: SwitchProps): react_jsx_runtime.JSX.Element;
|
|
221
|
-
displayName: string;
|
|
222
|
-
};
|
|
169
|
+
declare const SwitchPrimitive: ({ name, label, required, errors, className, option, ...props }: SwitchProps) => react_jsx_runtime.JSX.Element;
|
|
223
170
|
|
|
224
171
|
interface TextAreaHTMLCustomAttributes {
|
|
225
172
|
label?: string;
|
|
@@ -228,29 +175,20 @@ interface TextAreaHTMLCustomAttributes {
|
|
|
228
175
|
}
|
|
229
176
|
interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, TextAreaHTMLCustomAttributes {
|
|
230
177
|
}
|
|
231
|
-
declare const TextAreaPrimitive: {
|
|
232
|
-
(props: TextAreaProps): react_jsx_runtime.JSX.Element;
|
|
233
|
-
displayName: string;
|
|
234
|
-
};
|
|
178
|
+
declare const TextAreaPrimitive: ({ label, required, errors, name, maxLength, className, ...props }: TextAreaProps) => react_jsx_runtime.JSX.Element;
|
|
235
179
|
|
|
236
180
|
interface ValidateFieldProps {
|
|
237
181
|
children: React.ReactNode;
|
|
238
182
|
className?: string;
|
|
239
183
|
overrideClassName?: boolean;
|
|
240
184
|
}
|
|
241
|
-
declare const ValidateFieldPrimitive:
|
|
242
|
-
(props: ValidateFieldProps): react_jsx_runtime.JSX.Element;
|
|
243
|
-
displayName: string;
|
|
244
|
-
};
|
|
185
|
+
declare const ValidateFieldPrimitive: React$1.FunctionComponent<ValidateFieldProps>;
|
|
245
186
|
|
|
246
187
|
interface HelperFieldProps {
|
|
247
188
|
children: string;
|
|
248
189
|
className?: string;
|
|
249
190
|
overrideClassName?: boolean;
|
|
250
191
|
}
|
|
251
|
-
declare const HelperFieldPrimitive:
|
|
252
|
-
(props: HelperFieldProps): react_jsx_runtime.JSX.Element;
|
|
253
|
-
displayName: string;
|
|
254
|
-
};
|
|
192
|
+
declare const HelperFieldPrimitive: React$1.FunctionComponent<HelperFieldProps>;
|
|
255
193
|
|
|
256
194
|
export { AllowedComboValue, ButtonPrimitive, ButtonProps, CardContentPrimitive, CardContentProps, CardDescriptionPrimitive, CardDescriptionProps, CardFooterPrimitive, CardFooterProps, CardHeaderPrimitive, CardHeaderProps, CardPrimitive, CardProps, CardTitlePrimitive, CardTitleProps, ChangeEvent, CheckBoxPrimitive, CheckBoxProps, ComboBoxPrimitive, ComboBoxProps, HelperFieldPrimitive, HelperFieldProps, InputPrimitive, InputProps, LabelPrimitive, LabelProps, LicenseProvider, RadioPrimitive, RadioProps, SelectPrimitive, SelectProps, SwitchPrimitive, SwitchProps, TextAreaPrimitive, TextAreaProps, ValidateFieldPrimitive, ValidateFieldProps };
|