@formkit/pro 0.114.2 → 0.115.0-4362ffe
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/autocomplete/autocomplete.ts +20 -15
- package/autocomplete/index.mjs +1 -1
- package/datepicker/index.mjs +1 -1
- package/genesis.css +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +14 -20
- package/index.mjs +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ export declare interface AutocompleteSlotData {
|
|
|
68
68
|
selectOption: (option: FormKitOptionsItem) => void;
|
|
69
69
|
loadMoreSelected: () => void;
|
|
70
70
|
toggleListbox: () => void;
|
|
71
|
-
removeSelection: (option
|
|
71
|
+
removeSelection: (option?: FormKitOptionsItem) => (e?: MouseEvent) => void;
|
|
72
72
|
touchmove: (e: TouchEvent) => void;
|
|
73
73
|
touchend: (e: TouchEvent) => void;
|
|
74
74
|
click: (e: MouseEvent) => void;
|
|
@@ -286,7 +286,7 @@ export declare interface DropdownSlotData {
|
|
|
286
286
|
tagBlur: () => void;
|
|
287
287
|
blur: () => void;
|
|
288
288
|
toggleListbox: () => void;
|
|
289
|
-
removeSelection: (option
|
|
289
|
+
removeSelection: (option?: FormKitOptionsItem) => (e?: MouseEvent) => void;
|
|
290
290
|
touchmove: (e: TouchEvent) => void;
|
|
291
291
|
touchend: (e: TouchEvent) => void;
|
|
292
292
|
click: (e: MouseEvent) => void;
|
|
@@ -344,6 +344,8 @@ export declare interface FormKitAutocompleteSlots<Props extends FormKitInputs<Pr
|
|
|
344
344
|
listitem: FormKitSlotData<Props, AutocompleteSlotData>;
|
|
345
345
|
loadMore: FormKitSlotData<Props, AutocompleteSlotData>;
|
|
346
346
|
emptyMessageInner: FormKitSlotData<Props, AutocompleteSlotData>;
|
|
347
|
+
closeIcon: FormKitSlotData<Props, AutocompleteSlotData>;
|
|
348
|
+
selectIcon: FormKitSlotData<Props, AutocompleteSlotData>;
|
|
347
349
|
selectedIcon: FormKitSlotData<Props, AutocompleteSlotData & {
|
|
348
350
|
option: FormKitOptionsItem<OptionsProValue<Props['options']>>;
|
|
349
351
|
index: number;
|
|
@@ -462,6 +464,8 @@ export declare interface FormKitDropdownSlots<Props extends FormKitInputs<Props>
|
|
|
462
464
|
option: FormKitOptionsItem;
|
|
463
465
|
index: number;
|
|
464
466
|
}>;
|
|
467
|
+
closeIcon: FormKitSlotData<Props, DropdownSlotData>;
|
|
468
|
+
selectIcon: FormKitSlotData<Props, DropdownSlotData>;
|
|
465
469
|
suffix: FormKitSlotData<Props, DropdownSlotData>;
|
|
466
470
|
suffixIcon: FormKitSlotData<Props, DropdownSlotData>;
|
|
467
471
|
help: FormKitSlotData<Props, DropdownSlotData>;
|
|
@@ -496,6 +500,11 @@ export declare interface FormKitDropdownSlots<Props extends FormKitInputs<Props>
|
|
|
496
500
|
option: FormKitOptionsItem;
|
|
497
501
|
index: number;
|
|
498
502
|
}>;
|
|
503
|
+
tagWrapper: FormKitSlotData<Props, TaglistSlotData>;
|
|
504
|
+
tagLabel: FormKitSlotData<Props, DropdownSlotData & {
|
|
505
|
+
option: FormKitOptionsItem;
|
|
506
|
+
index: number;
|
|
507
|
+
}>;
|
|
499
508
|
}
|
|
500
509
|
|
|
501
510
|
/**
|
|
@@ -730,6 +739,8 @@ export declare interface FormKitTaglistSlots<Props extends FormKitInputs<Props>>
|
|
|
730
739
|
}>;
|
|
731
740
|
suffix: FormKitSlotData<Props, TaglistSlotData>;
|
|
732
741
|
suffixIcon: FormKitSlotData<Props, TaglistSlotData>;
|
|
742
|
+
closeIcon: FormKitSlotData<Props, DropdownSlotData>;
|
|
743
|
+
selectIcon: FormKitSlotData<Props, DropdownSlotData>;
|
|
733
744
|
help: FormKitSlotData<Props, TaglistSlotData>;
|
|
734
745
|
messages: FormKitSlotData<Props, TaglistSlotData>;
|
|
735
746
|
message: FormKitSlotData<Props, TaglistSlotData & {
|
|
@@ -1021,7 +1032,7 @@ export declare interface TaglistSlotData {
|
|
|
1021
1032
|
tagBlur: () => void;
|
|
1022
1033
|
blur: () => void;
|
|
1023
1034
|
toggleListbox: () => void;
|
|
1024
|
-
removeSelection: (option: FormKitOptionsItem) => (e
|
|
1035
|
+
removeSelection: (option: FormKitOptionsItem) => (e?: MouseEvent) => void;
|
|
1025
1036
|
touchmove: (e: TouchEvent) => void;
|
|
1026
1037
|
touchend: (e: TouchEvent) => void;
|
|
1027
1038
|
click: (e: MouseEvent) => void;
|
|
@@ -1208,23 +1219,6 @@ declare module '@formkit/inputs' {
|
|
|
1208
1219
|
chart?: undefined
|
|
1209
1220
|
}
|
|
1210
1221
|
|
|
1211
|
-
/**
|
|
1212
|
-
* General input events available to all FormKit inputs.
|
|
1213
|
-
* @public
|
|
1214
|
-
*/
|
|
1215
|
-
interface FormKitBaseEvents<Props extends FormKitInputs<Props>> {
|
|
1216
|
-
(event: 'input', value: PropType<Props, 'value'>, node: FormKitNode): any
|
|
1217
|
-
(event: 'inputRaw', value: PropType<Props, 'value'>, node: FormKitNode): any
|
|
1218
|
-
(
|
|
1219
|
-
event: 'input-raw',
|
|
1220
|
-
value: PropType<Props, 'value'>,
|
|
1221
|
-
node: FormKitNode
|
|
1222
|
-
): any
|
|
1223
|
-
(event: 'update:modelValue', value: PropType<Props, 'value'>): any
|
|
1224
|
-
(event: 'update:model-value', value: PropType<Props, 'value'>): any
|
|
1225
|
-
(event: 'node', node: FormKitNode): any
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
1222
|
interface FormKitInputProps<Props extends FormKitInputs<Props>> {
|
|
1229
1223
|
autocomplete: {
|
|
1230
1224
|
type: 'autocomplete'
|