vanilla-jui 1.7.8 → 1.7.10
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 +0 -11
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/form.ts +1 -41
- package/src/css/form.css +7 -41
- package/src/css/themes/default/form.css +0 -6
- package/src/css/themes/default/tip.css +21 -17
- package/src/css/tip.css +1 -0
- package/src/primitives/loading.ts +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1139,10 +1139,6 @@ type FormItemType = FormControlType;
|
|
|
1139
1139
|
type FormControlType = 'checkbox' | 'custom' | 'email' | 'password' | 'radio' | 'select' | 'switch' | 'text' | 'textarea' | (string & {});
|
|
1140
1140
|
interface FormClassNames {
|
|
1141
1141
|
form: string;
|
|
1142
|
-
vertical: string;
|
|
1143
|
-
horizontal: string;
|
|
1144
|
-
itemVertical: string;
|
|
1145
|
-
itemHorizontal: string;
|
|
1146
1142
|
item: string;
|
|
1147
1143
|
label: string;
|
|
1148
1144
|
required: string;
|
|
@@ -1157,8 +1153,6 @@ interface FormClassNames {
|
|
|
1157
1153
|
select: string;
|
|
1158
1154
|
radio: string;
|
|
1159
1155
|
checkbox: string;
|
|
1160
|
-
choiceVertical: string;
|
|
1161
|
-
choiceHorizontal: string;
|
|
1162
1156
|
choiceGroup: string;
|
|
1163
1157
|
radioLabel: string;
|
|
1164
1158
|
radioText: string;
|
|
@@ -1195,7 +1189,6 @@ interface FormField {
|
|
|
1195
1189
|
readonly?: boolean;
|
|
1196
1190
|
autocomplete?: string;
|
|
1197
1191
|
multiple?: boolean;
|
|
1198
|
-
vertical?: boolean;
|
|
1199
1192
|
group?: boolean;
|
|
1200
1193
|
size?: string;
|
|
1201
1194
|
variant?: string;
|
|
@@ -1218,8 +1211,6 @@ interface FormText {
|
|
|
1218
1211
|
type FormTextConfig = Partial<FormText>;
|
|
1219
1212
|
interface FormProps extends Record<string, unknown> {
|
|
1220
1213
|
id?: string | null;
|
|
1221
|
-
vertical?: boolean;
|
|
1222
|
-
itemVertical?: boolean;
|
|
1223
1214
|
size?: string;
|
|
1224
1215
|
style?: FormStyle;
|
|
1225
1216
|
fields?: readonly FormItem<FormField>[];
|
|
@@ -1233,8 +1224,6 @@ interface FormProps extends Record<string, unknown> {
|
|
|
1233
1224
|
}
|
|
1234
1225
|
interface ResolvedFormProps extends Record<string, unknown> {
|
|
1235
1226
|
id: string;
|
|
1236
|
-
vertical: boolean;
|
|
1237
|
-
itemVertical: boolean;
|
|
1238
1227
|
size: string;
|
|
1239
1228
|
style: FormStyle;
|
|
1240
1229
|
fields: FormItem<FormField>[];
|