@formkit/pro 0.115.10-3043ed6 → 0.115.10-4a6aac9
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/genesis.css +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +13 -24
- package/index.mjs +1 -1
- package/package.json +3 -3
- package/slider/index.mjs +1 -1
- package/slider/slider.ts +2 -0
- package/colorpicker/colorpicker.ts +0 -153
- package/colorpicker/index.mjs +0 -1
package/index.d.ts
CHANGED
|
@@ -156,12 +156,6 @@ declare interface CharPart {
|
|
|
156
156
|
pattern: RegExp;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
/**
|
|
160
|
-
* Input definition for a colorpicker input.
|
|
161
|
-
* @public
|
|
162
|
-
*/
|
|
163
|
-
export declare const colorpicker: FormKitProInput;
|
|
164
|
-
|
|
165
159
|
/**
|
|
166
160
|
* Creates a set of commonly used sections.
|
|
167
161
|
* @param createSection - Creates commonly used sections.
|
|
@@ -833,8 +827,7 @@ declare namespace inputs {
|
|
|
833
827
|
taglist,
|
|
834
828
|
mask,
|
|
835
829
|
transferlist,
|
|
836
|
-
slider
|
|
837
|
-
colorpicker
|
|
830
|
+
slider
|
|
838
831
|
}
|
|
839
832
|
}
|
|
840
833
|
export { inputs }
|
|
@@ -965,6 +958,16 @@ export declare interface SliderChartSlots<Props extends FormKitInputs<Props>> {
|
|
|
965
958
|
chartBar: FormKitSlotData<Props, SliderSlotData>;
|
|
966
959
|
}
|
|
967
960
|
|
|
961
|
+
export declare type SliderIntervals = {
|
|
962
|
+
value: number;
|
|
963
|
+
step: number;
|
|
964
|
+
}[];
|
|
965
|
+
|
|
966
|
+
export declare type SliderScalingFunction = {
|
|
967
|
+
forward: (value: number, min?: number, max?: number) => number;
|
|
968
|
+
reverse: (value: number, min?: number, max?: number) => number;
|
|
969
|
+
};
|
|
970
|
+
|
|
968
971
|
/**
|
|
969
972
|
* Slot data for sliders.
|
|
970
973
|
*
|
|
@@ -1211,7 +1214,6 @@ declare module '@formkit/core' {
|
|
|
1211
1214
|
}
|
|
1212
1215
|
/* </declare> */
|
|
1213
1216
|
/* <declare> */
|
|
1214
|
-
|
|
1215
1217
|
export interface OptionLoader {
|
|
1216
1218
|
(value: any, cachedItem: FormKitOptionsItem<any>):
|
|
1217
1219
|
| FormKitOptionsItem<any>
|
|
@@ -1252,21 +1254,6 @@ declare module '@formkit/inputs' {
|
|
|
1252
1254
|
// TODO: audit these props.
|
|
1253
1255
|
}
|
|
1254
1256
|
|
|
1255
|
-
colorpicker: {
|
|
1256
|
-
type: 'colorpicker'
|
|
1257
|
-
value?: string
|
|
1258
|
-
options?: FormKitOptionsPropWithGroups
|
|
1259
|
-
inline?: Bool
|
|
1260
|
-
format?: 'hex' | 'rgba' | 'hsla'
|
|
1261
|
-
valueFormat?: 'hex' | 'rgba' | 'hsla'
|
|
1262
|
-
panelControls?: Bool
|
|
1263
|
-
panelFormat?: Bool
|
|
1264
|
-
eyeDropper?: Bool
|
|
1265
|
-
showValue?: Bool
|
|
1266
|
-
closeOnSelect?: Bool
|
|
1267
|
-
allowPaste?: Bool
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
1257
|
datepicker: {
|
|
1271
1258
|
type: 'datepicker'
|
|
1272
1259
|
value?: string | Date
|
|
@@ -1367,6 +1354,8 @@ declare module '@formkit/inputs' {
|
|
|
1367
1354
|
suffix?: string
|
|
1368
1355
|
tooltip?: Bool
|
|
1369
1356
|
tooltipFormat?: (value: number, handle: string) => string | undefined
|
|
1357
|
+
scalingFunction?: 'linear' | 'log' | SliderScalingFunction
|
|
1358
|
+
intervals?: SliderIntervals
|
|
1370
1359
|
}
|
|
1371
1360
|
|
|
1372
1361
|
taglist: {
|