@formkit/pro 0.122.6-9cf4a5d → 0.122.7

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
@@ -201,39 +201,6 @@ export declare function createProPlugin(apiKey: string, inputs?: Record<string,
201
201
  */
202
202
  export declare function createSectionFactory(inputCode: string): SectionFactory;
203
203
 
204
- /**
205
- * Input definition for a toggle group input.
206
- * @public
207
- */
208
- export declare const currency: FormKitProInput;
209
-
210
- /**
211
- * Slot data for currency
212
- */
213
- export declare interface CurrencySlotData<Props extends FormKitInputs<Props>> {
214
- type: 'currency';
215
- value?: string | number;
216
- label?: string;
217
- disabled?: Bool;
218
- currency?: string;
219
- decimals?: Bool | number;
220
- minDecimals?: Bool | number;
221
- min?: number;
222
- max?: number;
223
- step?: number;
224
- displayLocale?: string;
225
- valueFormat?: string;
226
- handlers: FormKitFrameworkContext['handlers'] & {
227
- init(): void;
228
- handleInput: (e: InputEvent) => void;
229
- handleFocus: (e: InputEvent) => void;
230
- handleBlur(): void;
231
- handleBeforeInput: (e: InputEvent) => void;
232
- handleClick(e: MouseEvent): void;
233
- handleKeyDown: (e: InputEvent) => void;
234
- };
235
- }
236
-
237
204
  /**
238
205
  * Input definition for a datepicker input.
239
206
  * @public
@@ -492,23 +459,6 @@ export declare interface FormKitColorpickerSlots<Props extends FormKitInputs<Pro
492
459
  }>;
493
460
  }
494
461
 
495
- /**
496
- * Currency slots.
497
- *
498
- * @public
499
- */
500
- export declare interface FormKitCurrencySlots<Props extends FormKitInputs<Props>> {
501
- wrapper: FormKitSlotData<Props, CurrencySlotData<Props>>;
502
- input: FormKitSlotData<Props, CurrencySlotData<Props>>;
503
- prefix: FormKitSlotData<Props, CurrencySlotData<Props>>;
504
- suffix: FormKitSlotData<Props, CurrencySlotData<Props>>;
505
- help: FormKitSlotData<Props, CurrencySlotData<Props>>;
506
- messages: FormKitSlotData<Props, CurrencySlotData<Props>>;
507
- message: FormKitSlotData<Props, CurrencySlotData<Props> & {
508
- message: FormKitMessage;
509
- }>;
510
- }
511
-
512
462
  /**
513
463
  * Slot information that pertains specifically to the datepicker input.
514
464
  *
@@ -995,23 +945,6 @@ export declare interface FormKitToggleSlots<Props extends FormKitInputs<Props>>
995
945
  }>;
996
946
  }
997
947
 
998
- /**
999
- * Unit slots.
1000
- *
1001
- * @public
1002
- */
1003
- export declare interface FormKitUnitSlots<Props extends FormKitInputs<Props>> {
1004
- wrapper: FormKitSlotData<Props, UnitSlotData<Props>>;
1005
- input: FormKitSlotData<Props, UnitSlotData<Props>>;
1006
- prefix: FormKitSlotData<Props, UnitSlotData<Props>>;
1007
- suffix: FormKitSlotData<Props, UnitSlotData<Props>>;
1008
- help: FormKitSlotData<Props, UnitSlotData<Props>>;
1009
- messages: FormKitSlotData<Props, UnitSlotData<Props>>;
1010
- message: FormKitSlotData<Props, UnitSlotData<Props> & {
1011
- message: FormKitMessage;
1012
- }>;
1013
- }
1014
-
1015
948
  /**
1016
949
  * Behavioral group options.
1017
950
  */
@@ -1040,9 +973,7 @@ declare namespace inputs {
1040
973
  transferlist,
1041
974
  slider,
1042
975
  colorpicker,
1043
- togglebuttons,
1044
- currency,
1045
- unit
976
+ togglebuttons
1046
977
  }
1047
978
  }
1048
979
  export { inputs }
@@ -1443,39 +1374,6 @@ export declare interface TransferlistSlots<Props extends FormKitInputs<Props>> {
1443
1374
  }>;
1444
1375
  }
1445
1376
 
1446
- /**
1447
- * Input definition for a toggle group input.
1448
- * @public
1449
- */
1450
- export declare const unit: FormKitProInput;
1451
-
1452
- /**
1453
- * Slot data for unit
1454
- */
1455
- export declare interface UnitSlotData<Props extends FormKitInputs<Props>> {
1456
- type: 'unit';
1457
- value?: string | number;
1458
- label?: string;
1459
- disabled?: Bool;
1460
- unit?: string;
1461
- decimals?: Bool | number;
1462
- minDecimals?: Bool | number;
1463
- min?: number;
1464
- max?: number;
1465
- step?: number;
1466
- displayLocale?: string;
1467
- valueFormat?: string;
1468
- handlers: FormKitFrameworkContext['handlers'] & {
1469
- init(): void;
1470
- handleInput: (e: InputEvent) => void;
1471
- handleFocus: (e: InputEvent) => void;
1472
- handleBlur(): void;
1473
- handleBeforeInput: (e: InputEvent) => void;
1474
- handleClick(e: MouseEvent): void;
1475
- handleKeyDown: (e: InputEvent) => void;
1476
- };
1477
- }
1478
-
1479
1377
  declare type Yes = 'true' | true | '';
1480
1378
 
1481
1379
  /* <declare> */
@@ -1546,38 +1444,6 @@ declare module '@formkit/inputs' {
1546
1444
  allowPaste?: Bool
1547
1445
  }
1548
1446
 
1549
- currency: {
1550
- type: 'currency'
1551
- value?: string | number
1552
- label?: string
1553
- disabled?: Bool
1554
- currency?: string
1555
- displayLocale?: string
1556
- decimals?: Bool | number
1557
- minDecimals?: number
1558
- min?: number
1559
- max?: number
1560
- step?: number
1561
- // valueLocale?: string
1562
- // valueFormat?: string
1563
- }
1564
-
1565
- unit: {
1566
- type: 'unit'
1567
- value?: string | number
1568
- label?: string
1569
- disabled?: Bool
1570
- unit?: string
1571
- displayLocale?: string
1572
- decimals?: Bool | number
1573
- minDecimals?: number
1574
- min?: number
1575
- max?: number
1576
- step?: number
1577
- // valueLocale?: string
1578
- // valueFormat?: string
1579
- }
1580
-
1581
1447
  datepicker: {
1582
1448
  type: 'datepicker'
1583
1449
  value?: string | Date
@@ -1771,7 +1637,6 @@ declare module '@formkit/inputs' {
1771
1637
  interface FormKitInputSlots<Props extends FormKitInputs<Props>> {
1772
1638
  autocomplete: FormKitAutocompleteSlots<Props>
1773
1639
  colorpicker: FormKitColorpickerSlots<Props>
1774
- currency: FormKitCurrencySlots<Props>
1775
1640
  datepicker: FormKitDatePickerSlots<Props> & FormKitOverlaySlots<Props>
1776
1641
  dropdown: FormKitDropdownSlots<Props>
1777
1642
  mask: FormKitBaseSlots<Props> & FormKitOverlaySlots<Props>
@@ -1785,7 +1650,6 @@ declare module '@formkit/inputs' {
1785
1650
  toggle: FormKitToggleSlots<Props>
1786
1651
  togglebuttons: FormKitTogglebuttonsSlots<Props>
1787
1652
  transferlist: TransferlistSlots<Props>
1788
- unit: FormKitUnitSlots<Props>
1789
1653
  }
1790
1654
  }
1791
1655
  /* </declare> */