@formkit/pro 0.115.8 → 0.115.10-3043ed6
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/colorpicker/colorpicker.ts +153 -0
- package/colorpicker/index.mjs +1 -0
- package/genesis.css +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +23 -1
- package/index.mjs +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -156,6 +156,12 @@ 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
|
+
|
|
159
165
|
/**
|
|
160
166
|
* Creates a set of commonly used sections.
|
|
161
167
|
* @param createSection - Creates commonly used sections.
|
|
@@ -827,7 +833,8 @@ declare namespace inputs {
|
|
|
827
833
|
taglist,
|
|
828
834
|
mask,
|
|
829
835
|
transferlist,
|
|
830
|
-
slider
|
|
836
|
+
slider,
|
|
837
|
+
colorpicker
|
|
831
838
|
}
|
|
832
839
|
}
|
|
833
840
|
export { inputs }
|
|
@@ -1245,6 +1252,21 @@ declare module '@formkit/inputs' {
|
|
|
1245
1252
|
// TODO: audit these props.
|
|
1246
1253
|
}
|
|
1247
1254
|
|
|
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
|
+
|
|
1248
1270
|
datepicker: {
|
|
1249
1271
|
type: 'datepicker'
|
|
1250
1272
|
value?: string | Date
|