@formkit/pro 0.117.5-668fa88 → 0.117.5-a1131dc
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/dropdown/dropdown.ts +1 -1
- package/dropdown/index.mjs +1 -1
- package/genesis.css +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +25 -1
- package/index.mjs +1 -1
- package/package.json +3 -3
- package/togglebuttons/index.mjs +1 -0
- package/togglebuttons/togglebuttons.ts +98 -0
package/index.d.ts
CHANGED
|
@@ -929,7 +929,8 @@ declare namespace inputs {
|
|
|
929
929
|
mask,
|
|
930
930
|
transferlist,
|
|
931
931
|
slider,
|
|
932
|
-
colorpicker
|
|
932
|
+
colorpicker,
|
|
933
|
+
togglebuttons
|
|
933
934
|
}
|
|
934
935
|
}
|
|
935
936
|
export { inputs }
|
|
@@ -1166,6 +1167,12 @@ declare type TimeFormatStyle = 'long' | 'medium' | 'short';
|
|
|
1166
1167
|
*/
|
|
1167
1168
|
export declare const toggle: FormKitProInput;
|
|
1168
1169
|
|
|
1170
|
+
/**
|
|
1171
|
+
* Input definition for a toggle group input.
|
|
1172
|
+
* @public
|
|
1173
|
+
*/
|
|
1174
|
+
export declare const togglebuttons: FormKitProInput;
|
|
1175
|
+
|
|
1169
1176
|
/**
|
|
1170
1177
|
* Slot data for toggles
|
|
1171
1178
|
*/
|
|
@@ -1520,6 +1527,23 @@ declare module '@formkit/inputs' {
|
|
|
1520
1527
|
trackColorOn?: string
|
|
1521
1528
|
}
|
|
1522
1529
|
|
|
1530
|
+
togglebuttons: {
|
|
1531
|
+
type: 'togglebuttons'
|
|
1532
|
+
onValue?: any
|
|
1533
|
+
offValue?: any
|
|
1534
|
+
value?:
|
|
1535
|
+
| (Props['onValue'] extends AllReals ? Props['onValue'] : true)
|
|
1536
|
+
| (Props['offValue'] extends AllReals ? Props['offValue'] : false)
|
|
1537
|
+
options?: FormKitProOptionsProp
|
|
1538
|
+
label?: string
|
|
1539
|
+
enforced?: Bool
|
|
1540
|
+
multiple?: Bool
|
|
1541
|
+
vertical?: Bool
|
|
1542
|
+
disabled?: Bool
|
|
1543
|
+
prefixIcon?: string
|
|
1544
|
+
suffixIcon?: string
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1523
1547
|
transferlist: {
|
|
1524
1548
|
type: 'transferlist'
|
|
1525
1549
|
value?: OptionsProValue<Props['options']>[]
|