@formkit/pro
Advanced tools
Comparing version 0.122.2-34ad396 to 0.122.2
138
index.d.ts
@@ -205,35 +205,2 @@ 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. | ||
@@ -497,19 +464,2 @@ * @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. | ||
@@ -1001,19 +951,2 @@ * | ||
/** | ||
* 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. | ||
@@ -1046,5 +979,3 @@ */ | ||
colorpicker, | ||
togglebuttons, | ||
currency, | ||
unit | ||
togglebuttons | ||
} | ||
@@ -1450,35 +1381,2 @@ } | ||
/** | ||
* 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 | ''; | ||
@@ -1554,34 +1452,2 @@ | ||
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: { | ||
@@ -1780,3 +1646,2 @@ type: 'datepicker' | ||
colorpicker: FormKitColorpickerSlots<Props> | ||
currency: FormKitCurrencySlots<Props> | ||
datepicker: FormKitDatePickerSlots<Props> & FormKitOverlaySlots<Props> | ||
@@ -1795,3 +1660,2 @@ dropdown: FormKitDropdownSlots<Props> | ||
transferlist: TransferlistSlots<Props> | ||
unit: FormKitUnitSlots<Props> | ||
} | ||
@@ -1798,0 +1662,0 @@ } |
{ | ||
"name": "@formkit/pro", | ||
"version": "0.122.2-34ad396", | ||
"version": "0.122.2", | ||
"description": "FormKit Pro — Form inputs and tools for high quality forms.", | ||
@@ -5,0 +5,0 @@ "main": "index.cjs", |
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
682992
31
5221