@formkit/pro 0.122.6 → 0.122.7-5d2a1fd

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/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { FormKitExtendableSchemaRoot } from '@formkit/core';
4
4
  import type { FormKitFrameworkContext } from '@formkit/core';
5
5
  import type { FormKitInputs } from '@formkit/inputs';
6
6
  import type { FormKitMessage } from '@formkit/core';
7
- import type { FormKitNode } from '@formkit/core';
7
+ import { FormKitNode } from '@formkit/core';
8
8
  import type { FormKitOptionsItem } from '@formkit/inputs';
9
9
  import type { FormKitOptionsProp } from '@formkit/inputs';
10
10
  import type { FormKitOptionsPropWithGroups } from '@formkit/inputs';
@@ -31,6 +31,10 @@ export declare function $if(condition: string, then: FormKitProExtendableSection
31
31
  */
32
32
  export declare const autocomplete: FormKitProInput;
33
33
 
34
+ export declare function autocompleteFeatures(node: FormKitNode): void;
35
+
36
+ export declare function autocompleteProps(node: FormKitNode): void;
37
+
34
38
  /**
35
39
  * Data available to autocomplete slots.
36
40
  *
@@ -159,6 +163,8 @@ declare interface CharPart {
159
163
  pattern: RegExp;
160
164
  }
161
165
 
166
+ export declare function colorFeature(node: FormKitNode): void;
167
+
162
168
  /**
163
169
  * Input definition for a colorpicker input.
164
170
  * @public
@@ -258,6 +264,12 @@ export declare type DatePickerSlotData = {
258
264
  */
259
265
  export declare const dropdown: FormKitProInput;
260
266
 
267
+ export declare function dropdownFamily(typeProps: (node: FormKitNode) => void, inputFeatures: (node: FormKitNode) => void, typeFeatures: (node: FormKitNode) => void, node: FormKitNode): void;
268
+
269
+ export declare function dropdownFeatures(node: FormKitNode): void;
270
+
271
+ export declare function dropdownProps(node: FormKitNode): void;
272
+
261
273
  /**
262
274
  * Slot data for dropdown types.
263
275
  *
@@ -995,6 +1007,12 @@ declare interface LiteralPart<T extends string = string> {
995
1007
  */
996
1008
  export declare const mask: FormKitProInput;
997
1009
 
1010
+ /**
1011
+ * Adds a mask overlay to a node.
1012
+ * @param node - node to add a mask overlay to
1013
+ */
1014
+ export declare function maskOverlay(node: FormKitNode): void;
1015
+
998
1016
  /**
999
1017
  * Defines a specific part of a mask pattern.
1000
1018
  */
@@ -1030,6 +1048,8 @@ export declare type PartMap<T = MaskPart> = {
1030
1048
  [index: string]: T;
1031
1049
  };
1032
1050
 
1051
+ export declare function rate(node: FormKitNode): void;
1052
+
1033
1053
  /**
1034
1054
  * Input definition for a rating input.
1035
1055
  * @public
@@ -1082,12 +1102,18 @@ declare interface RepeaterSlotData {
1082
1102
  };
1083
1103
  }
1084
1104
 
1105
+ export declare function repeats(node: FormKitNode): void;
1106
+
1107
+ export declare function searchInput(node: FormKitNode): void;
1108
+
1085
1109
  /**
1086
1110
  * A factory that creates createSection functions that are curried with the
1087
1111
  * input code.
1088
1112
  */
1089
1113
  declare type SectionFactory = <IsRoot extends boolean = false>(sectionName: string, schema: string | (() => FormKitSchemaNode), root?: IsRoot) => FormKitProSection<IsRoot>;
1090
1114
 
1115
+ export declare function selectorHandlers(node: FormKitNode): void;
1116
+
1091
1117
  /**
1092
1118
  * Input definition for a slider input.
1093
1119
  * @public
@@ -1104,6 +1130,8 @@ export declare interface SliderChartSlots<Props extends FormKitInputs<Props>> {
1104
1130
  chartBar: FormKitSlotData<Props, SliderSlotData>;
1105
1131
  }
1106
1132
 
1133
+ export declare function sliderFeature(node: FormKitNode): void;
1134
+
1107
1135
  export declare type SliderIntervals = {
1108
1136
  value: number;
1109
1137
  step: number;
@@ -1160,6 +1188,10 @@ export declare interface SliderSlotData {
1160
1188
  */
1161
1189
  export declare const taglist: FormKitProInput;
1162
1190
 
1191
+ export declare function taglistFeatures(node: FormKitNode): void;
1192
+
1193
+ export declare function taglistProps(node: FormKitNode): void;
1194
+
1163
1195
  export declare interface TaglistSlotData {
1164
1196
  options: FormKitOptionsItem[];
1165
1197
  debounce?: number | string;
@@ -1215,6 +1247,8 @@ export declare const toggle: FormKitProInput;
1215
1247
  */
1216
1248
  export declare const togglebuttons: FormKitProInput;
1217
1249
 
1250
+ export declare function togglebuttonsFeatures(node: FormKitNode): void;
1251
+
1218
1252
  /**
1219
1253
  * Slot data for togglebuttons
1220
1254
  */
@@ -1236,6 +1270,8 @@ export declare interface TogglebuttonsSlotData<Props extends FormKitInputs<Props
1236
1270
  };
1237
1271
  }
1238
1272
 
1273
+ export declare function toggles(node: FormKitNode): void;
1274
+
1239
1275
  /**
1240
1276
  * Slot data for toggles
1241
1277
  */
@@ -1265,6 +1301,8 @@ export declare interface ToggleSlotData<Props extends FormKitInputs<Props>> {
1265
1301
  */
1266
1302
  export declare const transferlist: FormKitProInput;
1267
1303
 
1304
+ export declare function transferListFeature(node: FormKitNode): void;
1305
+
1268
1306
  /**
1269
1307
  * Data available to transfer lists.
1270
1308
  *
@@ -1374,6 +1412,15 @@ export declare interface TransferlistSlots<Props extends FormKitInputs<Props>> {
1374
1412
  }>;
1375
1413
  }
1376
1414
 
1415
+ /**
1416
+ * Adds datepicker functionality.
1417
+ */
1418
+ export declare function useCalendar(node: FormKitNode): void;
1419
+
1420
+ export declare function useMask(node: FormKitNode): void;
1421
+
1422
+ export declare function usePopover(node: FormKitNode): void;
1423
+
1377
1424
  declare type Yes = 'true' | true | '';
1378
1425
 
1379
1426
  /* <declare> */