@lowdefy/blocks-color-selectors 4.0.0-alpha.11 → 4.0.0-alpha.14
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.
|
@@ -26,7 +26,7 @@ export const ColorPicker = ({ className , disabled , hideInput , onChange , size
|
|
|
26
26
|
onChange(newColor);
|
|
27
27
|
}, []);
|
|
28
28
|
useClickOutside(popover, close, color);
|
|
29
|
-
return
|
|
29
|
+
return /*#__PURE__*/ React.createElement("div", {
|
|
30
30
|
className: classNames({
|
|
31
31
|
'color-picker': true,
|
|
32
32
|
[className]: true
|
|
@@ -64,6 +64,6 @@ export const ColorPicker = ({ className , disabled , hideInput , onChange , size
|
|
|
64
64
|
}, /*#__PURE__*/ React.createElement(HexColorPicker, {
|
|
65
65
|
color: color,
|
|
66
66
|
onChange: setColor
|
|
67
|
-
})))
|
|
67
|
+
})));
|
|
68
68
|
};
|
|
69
69
|
export default ColorPicker;
|
|
@@ -17,7 +17,7 @@ import { blockDefaultProps } from '@lowdefy/block-utils';
|
|
|
17
17
|
import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
|
|
18
18
|
import ColorPicker from './ColorPicker.js';
|
|
19
19
|
const ColorSelector = ({ blockId , components , events , loading , methods , properties , required , validation , value , })=>{
|
|
20
|
-
return
|
|
20
|
+
return /*#__PURE__*/ React.createElement(Label, {
|
|
21
21
|
blockId: blockId,
|
|
22
22
|
components: components,
|
|
23
23
|
events: events,
|
|
@@ -52,7 +52,7 @@ const ColorSelector = ({ blockId , components , events , loading , methods , pro
|
|
|
52
52
|
methods: methods
|
|
53
53
|
})
|
|
54
54
|
}
|
|
55
|
-
})
|
|
55
|
+
});
|
|
56
56
|
};
|
|
57
57
|
ColorSelector.defaultProps = blockDefaultProps;
|
|
58
58
|
ColorSelector.meta = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/blocks-color-selectors",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.14",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "A Lowdefy color selector blocks based on react-color.",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -51,30 +51,31 @@
|
|
|
51
51
|
"test": "jest --coverage"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@lowdefy/block-utils": "4.0.0-alpha.
|
|
55
|
-
"@lowdefy/blocks-antd": "4.0.0-alpha.
|
|
54
|
+
"@lowdefy/block-utils": "4.0.0-alpha.14",
|
|
55
|
+
"@lowdefy/blocks-antd": "4.0.0-alpha.14",
|
|
56
56
|
"classnames": "2.3.1",
|
|
57
|
-
"react": "
|
|
57
|
+
"react": "18.1.0",
|
|
58
58
|
"react-colorful": "5.5.1",
|
|
59
|
-
"react-dom": "
|
|
59
|
+
"react-dom": "18.1.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@emotion/jest": "11.
|
|
63
|
-
"@lowdefy/block-dev": "4.0.0-alpha.
|
|
64
|
-
"@
|
|
65
|
-
"@swc/
|
|
66
|
-
"@swc/
|
|
67
|
-
"@
|
|
68
|
-
"@testing-library/
|
|
69
|
-
"@testing-library/
|
|
62
|
+
"@emotion/jest": "11.9.1",
|
|
63
|
+
"@lowdefy/block-dev": "4.0.0-alpha.14",
|
|
64
|
+
"@lowdefy/jest-yaml-transform": "4.0.0-alpha.14",
|
|
65
|
+
"@swc/cli": "0.1.57",
|
|
66
|
+
"@swc/core": "1.2.194",
|
|
67
|
+
"@swc/jest": "0.2.21",
|
|
68
|
+
"@testing-library/dom": "8.13.0",
|
|
69
|
+
"@testing-library/react": "13.3.0",
|
|
70
|
+
"@testing-library/user-event": "14.2.0",
|
|
70
71
|
"copyfiles": "2.4.1",
|
|
71
|
-
"jest": "
|
|
72
|
-
"jest-canvas-mock": "2.
|
|
73
|
-
"jest-
|
|
74
|
-
"jest-
|
|
72
|
+
"jest": "28.1.0",
|
|
73
|
+
"jest-canvas-mock": "2.4.0",
|
|
74
|
+
"jest-environment-jsdom": "28.1.0",
|
|
75
|
+
"jest-serializer-html": "7.1.0"
|
|
75
76
|
},
|
|
76
77
|
"publishConfig": {
|
|
77
78
|
"access": "public"
|
|
78
79
|
},
|
|
79
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "9cc0b7280c82a16689c31aaf71be278f3a40edc6"
|
|
80
81
|
}
|