@formkit/pro 0.121.10 → 0.122.1
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.cjs +1 -1
- package/index.d.ts +2 -18
- package/index.mjs +1 -1
- package/package.json +5 -2
package/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AllReals } from '@formkit/inputs';
|
|
2
|
+
import type { FormatStyleObj } from '@formkit/tempo';
|
|
2
3
|
import { FormKitExtendableSchemaRoot } from '@formkit/core';
|
|
3
4
|
import type { FormKitFrameworkContext } from '@formkit/core';
|
|
4
5
|
import type { FormKitInputs } from '@formkit/inputs';
|
|
@@ -200,11 +201,6 @@ export declare function createProPlugin(apiKey: string, inputs?: Record<string,
|
|
|
200
201
|
*/
|
|
201
202
|
export declare function createSectionFactory(inputCode: string): SectionFactory;
|
|
202
203
|
|
|
203
|
-
/**
|
|
204
|
-
* Possible options for a format style.
|
|
205
|
-
*/
|
|
206
|
-
declare type DateFormatStyle = 'full' | 'long' | 'medium' | 'short';
|
|
207
|
-
|
|
208
204
|
/**
|
|
209
205
|
* Input definition for a datepicker input.
|
|
210
206
|
* @public
|
|
@@ -327,17 +323,7 @@ declare interface EnumPart {
|
|
|
327
323
|
*/
|
|
328
324
|
declare type ExtendableSchema<IsRoot> = IsRoot extends true ? FormKitExtendableSchemaRoot : FormKitSchemaExtendableSection;
|
|
329
325
|
|
|
330
|
-
|
|
331
|
-
* Possible objects for the dateStyle and timeStyle.
|
|
332
|
-
*/
|
|
333
|
-
export declare type FormatStyleObj = {
|
|
334
|
-
date: DateFormatStyle;
|
|
335
|
-
time: TimeFormatStyle;
|
|
336
|
-
} | {
|
|
337
|
-
date: DateFormatStyle;
|
|
338
|
-
} | {
|
|
339
|
-
time: TimeFormatStyle;
|
|
340
|
-
};
|
|
326
|
+
export { FormatStyleObj }
|
|
341
327
|
|
|
342
328
|
export declare interface FormKitAutocompleteSlots<Props extends FormKitInputs<Props>> {
|
|
343
329
|
outer: FormKitSlotData<Props, AutocompleteSlotData>;
|
|
@@ -1217,8 +1203,6 @@ export declare interface TaglistSlotData {
|
|
|
1217
1203
|
};
|
|
1218
1204
|
}
|
|
1219
1205
|
|
|
1220
|
-
declare type TimeFormatStyle = 'long' | 'medium' | 'short';
|
|
1221
|
-
|
|
1222
1206
|
/**
|
|
1223
1207
|
* Input definition for a toggle input.
|
|
1224
1208
|
* @public
|