@formkit/pro
Advanced tools
Comparing version 0.122.1 to 0.122.2-34ad396
138
index.d.ts
@@ -205,2 +205,35 @@ import type { AllReals } from '@formkit/inputs'; | ||
/** | ||
* Input definition for a toggle group input. | ||
* @public | ||
*/ | ||
export declare const currency: FormKitProInput; | ||
/** | ||
* Slot data for currency | ||
*/ | ||
export declare interface CurrencySlotData<Props extends FormKitInputs<Props>> { | ||
type: 'currency'; | ||
value?: string | number; | ||
label?: string; | ||
disabled?: Bool; | ||
currency?: string; | ||
decimals?: Bool | number; | ||
minDecimals?: Bool | number; | ||
min?: number; | ||
max?: number; | ||
step?: number; | ||
displayLocale?: string; | ||
valueFormat?: string; | ||
handlers: FormKitFrameworkContext['handlers'] & { | ||
init(): void; | ||
handleInput: (e: InputEvent) => void; | ||
handleFocus: (e: InputEvent) => void; | ||
handleBlur(): void; | ||
handleBeforeInput: (e: InputEvent) => void; | ||
handleClick(e: MouseEvent): void; | ||
handleKeyDown: (e: InputEvent) => void; | ||
}; | ||
} | ||
/** | ||
* Input definition for a datepicker input. | ||
@@ -464,2 +497,19 @@ * @public | ||
/** | ||
* Currency slots. | ||
* | ||
* @public | ||
*/ | ||
export declare interface FormKitCurrencySlots<Props extends FormKitInputs<Props>> { | ||
wrapper: FormKitSlotData<Props, CurrencySlotData<Props>>; | ||
input: FormKitSlotData<Props, CurrencySlotData<Props>>; | ||
prefix: FormKitSlotData<Props, CurrencySlotData<Props>>; | ||
suffix: FormKitSlotData<Props, CurrencySlotData<Props>>; | ||
help: FormKitSlotData<Props, CurrencySlotData<Props>>; | ||
messages: FormKitSlotData<Props, CurrencySlotData<Props>>; | ||
message: FormKitSlotData<Props, CurrencySlotData<Props> & { | ||
message: FormKitMessage; | ||
}>; | ||
} | ||
/** | ||
* Slot information that pertains specifically to the datepicker input. | ||
@@ -951,2 +1001,19 @@ * | ||
/** | ||
* Unit slots. | ||
* | ||
* @public | ||
*/ | ||
export declare interface FormKitUnitSlots<Props extends FormKitInputs<Props>> { | ||
wrapper: FormKitSlotData<Props, UnitSlotData<Props>>; | ||
input: FormKitSlotData<Props, UnitSlotData<Props>>; | ||
prefix: FormKitSlotData<Props, UnitSlotData<Props>>; | ||
suffix: FormKitSlotData<Props, UnitSlotData<Props>>; | ||
help: FormKitSlotData<Props, UnitSlotData<Props>>; | ||
messages: FormKitSlotData<Props, UnitSlotData<Props>>; | ||
message: FormKitSlotData<Props, UnitSlotData<Props> & { | ||
message: FormKitMessage; | ||
}>; | ||
} | ||
/** | ||
* Behavioral group options. | ||
@@ -979,3 +1046,5 @@ */ | ||
colorpicker, | ||
togglebuttons | ||
togglebuttons, | ||
currency, | ||
unit | ||
} | ||
@@ -1381,2 +1450,35 @@ } | ||
/** | ||
* Input definition for a toggle group input. | ||
* @public | ||
*/ | ||
export declare const unit: FormKitProInput; | ||
/** | ||
* Slot data for unit | ||
*/ | ||
export declare interface UnitSlotData<Props extends FormKitInputs<Props>> { | ||
type: 'unit'; | ||
value?: string | number; | ||
label?: string; | ||
disabled?: Bool; | ||
unit?: string; | ||
decimals?: Bool | number; | ||
minDecimals?: Bool | number; | ||
min?: number; | ||
max?: number; | ||
step?: number; | ||
displayLocale?: string; | ||
valueFormat?: string; | ||
handlers: FormKitFrameworkContext['handlers'] & { | ||
init(): void; | ||
handleInput: (e: InputEvent) => void; | ||
handleFocus: (e: InputEvent) => void; | ||
handleBlur(): void; | ||
handleBeforeInput: (e: InputEvent) => void; | ||
handleClick(e: MouseEvent): void; | ||
handleKeyDown: (e: InputEvent) => void; | ||
}; | ||
} | ||
declare type Yes = 'true' | true | ''; | ||
@@ -1452,2 +1554,34 @@ | ||
currency: { | ||
type: 'currency' | ||
value?: string | number | ||
label?: string | ||
disabled?: Bool | ||
currency?: string | ||
displayLocale?: string | ||
decimals?: Bool | number | ||
minDecimals?: number | ||
min?: number | ||
max?: number | ||
step?: number | ||
// valueLocale?: string | ||
// valueFormat?: string | ||
} | ||
unit: { | ||
type: 'unit' | ||
value?: string | number | ||
label?: string | ||
disabled?: Bool | ||
unit?: string | ||
displayLocale?: string | ||
decimals?: Bool | number | ||
minDecimals?: number | ||
min?: number | ||
max?: number | ||
step?: number | ||
// valueLocale?: string | ||
// valueFormat?: string | ||
} | ||
datepicker: { | ||
@@ -1646,2 +1780,3 @@ type: 'datepicker' | ||
colorpicker: FormKitColorpickerSlots<Props> | ||
currency: FormKitCurrencySlots<Props> | ||
datepicker: FormKitDatePickerSlots<Props> & FormKitOverlaySlots<Props> | ||
@@ -1660,2 +1795,3 @@ dropdown: FormKitDropdownSlots<Props> | ||
transferlist: TransferlistSlots<Props> | ||
unit: FormKitUnitSlots<Props> | ||
} | ||
@@ -1662,0 +1798,0 @@ } |
{ | ||
"name": "@formkit/pro", | ||
"version": "0.122.1", | ||
"version": "0.122.2-34ad396", | ||
"description": "FormKit Pro — Form inputs and tools for high quality forms.", | ||
@@ -47,3 +47,3 @@ "main": "index.cjs", | ||
"dependencies": { | ||
"@formkit/drag-and-drop": "^0.0.16", | ||
"@formkit/drag-and-drop": "^0.0.23", | ||
"@formkit/tempo": "^0.0.8" | ||
@@ -50,0 +50,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
710437
33
5490
+ Added@formkit/drag-and-drop@0.0.23(transitive)
- Removed@formkit/drag-and-drop@0.0.16(transitive)