@bhsd/codemirror-css-color-picker 6.3.1 → 6.3.2
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/dist/index.cjs +2 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -606,7 +606,9 @@ const colorPicker = [
|
|
|
606
606
|
|
|
607
607
|
exports.colorPicker = colorPicker;
|
|
608
608
|
exports.colorPickerTheme = colorPickerTheme;
|
|
609
|
+
exports.discoverColorsInCSS = discoverColorsInCSS;
|
|
609
610
|
exports.makeColorPicker = makeColorPicker;
|
|
611
|
+
exports.namedColors = namedColors;
|
|
610
612
|
exports.parseCallExpression = parseCallExpression;
|
|
611
613
|
exports.parseColorLiteral = parseColorLiteral;
|
|
612
614
|
exports.parseNamedColor = parseNamedColor;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ViewPlugin, DecorationSet, ViewUpdate } from '@codemirror/view';
|
|
2
|
-
import {
|
|
2
|
+
import { Text, Extension } from '@codemirror/state';
|
|
3
3
|
import { Tree } from '@lezer/common';
|
|
4
4
|
|
|
5
|
+
declare const namedColors: Map<string, string>;
|
|
6
|
+
|
|
5
7
|
interface PickerState {
|
|
6
8
|
from: number;
|
|
7
9
|
to: number;
|
|
@@ -34,4 +36,4 @@ declare const makeColorPicker: (options: IFactoryOptions) => ViewPlugin<{
|
|
|
34
36
|
}, undefined>;
|
|
35
37
|
declare const colorPicker: Extension;
|
|
36
38
|
|
|
37
|
-
export { ColorData, ColorType, WidgetOptions, colorPicker, colorPickerTheme, makeColorPicker, parseCallExpression, parseColorLiteral, parseNamedColor, wrapperClassName };
|
|
39
|
+
export { ColorData, ColorType, WidgetOptions, colorPicker, colorPickerTheme, discoverColorsInCSS, makeColorPicker, namedColors, parseCallExpression, parseColorLiteral, parseNamedColor, wrapperClassName };
|
package/dist/index.js
CHANGED
|
@@ -599,4 +599,4 @@ const colorPicker = [
|
|
|
599
599
|
colorPickerTheme,
|
|
600
600
|
];
|
|
601
601
|
|
|
602
|
-
export { ColorType, colorPicker, colorPickerTheme, makeColorPicker, parseCallExpression, parseColorLiteral, parseNamedColor, wrapperClassName };
|
|
602
|
+
export { ColorType, colorPicker, colorPickerTheme, discoverColorsInCSS, makeColorPicker, namedColors, parseCallExpression, parseColorLiteral, parseNamedColor, wrapperClassName };
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bhsd/codemirror-css-color-picker",
|
|
3
3
|
"description": "Enables a color picker input next to css colors",
|
|
4
|
-
"version": "6.3.
|
|
4
|
+
"version": "6.3.2",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Faris Masad",
|
|
7
7
|
"email": "faris@repl.it"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
|
-
"main": "dist/index.cjs",
|
|
11
10
|
"files": [
|
|
12
|
-
"dist"
|
|
11
|
+
"/dist/*"
|
|
13
12
|
],
|
|
13
|
+
"main": "dist/index.cjs",
|
|
14
14
|
"exports": {
|
|
15
15
|
"import": "./dist/index.js",
|
|
16
16
|
"require": "./dist/index.cjs"
|