@lowdefy/blocks-color-selectors 4.0.0-alpha.12 → 4.0.0-alpha.15

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(/*#__PURE__*/ React.createElement("div", {
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(/*#__PURE__*/ React.createElement(Label, {
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.12",
3
+ "version": "4.0.0-alpha.15",
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.12",
55
- "@lowdefy/blocks-antd": "4.0.0-alpha.12",
54
+ "@lowdefy/block-utils": "4.0.0-alpha.15",
55
+ "@lowdefy/blocks-antd": "4.0.0-alpha.15",
56
56
  "classnames": "2.3.1",
57
- "react": "17.0.2",
57
+ "react": "18.1.0",
58
58
  "react-colorful": "5.5.1",
59
- "react-dom": "17.0.2"
59
+ "react-dom": "18.1.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@emotion/jest": "11.7.1",
63
- "@lowdefy/block-dev": "4.0.0-alpha.12",
64
- "@swc/cli": "0.1.55",
65
- "@swc/core": "1.2.135",
66
- "@swc/jest": "0.2.17",
67
- "@testing-library/dom": "8.11.3",
68
- "@testing-library/react": "13.0.0-alpha.4",
69
- "@testing-library/user-event": "14.0.0-alpha.14",
62
+ "@emotion/jest": "11.9.1",
63
+ "@lowdefy/block-dev": "4.0.0-alpha.15",
64
+ "@lowdefy/jest-yaml-transform": "4.0.0-alpha.15",
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": "27.5.1",
72
- "jest-canvas-mock": "2.3.1",
73
- "jest-serializer-html": "7.1.0",
74
- "jest-transform-yaml": "1.0.0"
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": "41b6138a81bee7da362dad06345bc9f87b2c2133"
80
+ "gitHead": "b4e4538475e997f95baa37f01f39689240e6f01c"
80
81
  }