@lowdefy/blocks-color-selectors 4.0.0-alpha.6 → 4.0.0-alpha.7

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.
@@ -14,7 +14,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
14
14
  See the License for the specific language governing permissions and
15
15
  limitations under the License.
16
16
  */ import React, { useState } from 'react';
17
- import { ChromePicker } from 'react-color';
17
+ import ChromePicker from 'react-color/lib/Chrome.js';
18
18
  import { blockDefaultProps } from '@lowdefy/block-utils';
19
19
  import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
20
20
  const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
@@ -14,4 +14,4 @@
14
14
  limitations under the License.
15
15
  */
16
16
 
17
- @import '@lowdefy/blocks-antd/blocks/Label/style.less'
17
+ @import '@lowdefy/blocks-antd/blocks/Label/style.less';
@@ -14,7 +14,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
14
  See the License for the specific language governing permissions and
15
15
  limitations under the License.
16
16
  */ import React from 'react';
17
- import { CirclePicker } from 'react-color';
17
+ import CirclePicker from 'react-color/lib/Circle.js';
18
18
  import { blockDefaultProps } from '@lowdefy/block-utils';
19
19
  import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
20
20
  const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
@@ -14,4 +14,4 @@
14
14
  limitations under the License.
15
15
  */
16
16
 
17
- @import '@lowdefy/blocks-antd/blocks/Label/style.less'
17
+ @import '@lowdefy/blocks-antd/blocks/Label/style.less';
@@ -14,7 +14,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
14
14
  See the License for the specific language governing permissions and
15
15
  limitations under the License.
16
16
  */ import React from 'react';
17
- import { BlockPicker } from 'react-color';
17
+ import BlockPicker from 'react-color/lib/Block.js';
18
18
  import { blockDefaultProps } from '@lowdefy/block-utils';
19
19
  import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
20
20
  const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
@@ -14,4 +14,4 @@
14
14
  limitations under the License.
15
15
  */
16
16
 
17
- @import '@lowdefy/blocks-antd/blocks/Label/style.less'
17
+ @import '@lowdefy/blocks-antd/blocks/Label/style.less';
@@ -14,7 +14,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
14
14
  See the License for the specific language governing permissions and
15
15
  limitations under the License.
16
16
  */ import React from 'react';
17
- import { CompactPicker } from 'react-color';
17
+ import CompactPicker from 'react-color/lib/Compact.js';
18
18
  import { blockDefaultProps } from '@lowdefy/block-utils';
19
19
  import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
20
20
  const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
@@ -14,4 +14,4 @@
14
14
  limitations under the License.
15
15
  */
16
16
 
17
- @import '@lowdefy/blocks-antd/blocks/Label/style.less'
17
+ @import '@lowdefy/blocks-antd/blocks/Label/style.less';
@@ -14,7 +14,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
14
14
  See the License for the specific language governing permissions and
15
15
  limitations under the License.
16
16
  */ import React from 'react';
17
- import { GithubPicker } from 'react-color';
17
+ import GithubPicker from 'react-color/lib/Github.js';
18
18
  import { blockDefaultProps } from '@lowdefy/block-utils';
19
19
  import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
20
20
  const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
@@ -14,4 +14,4 @@
14
14
  limitations under the License.
15
15
  */
16
16
 
17
- @import '@lowdefy/blocks-antd/blocks/Label/style.less'
17
+ @import '@lowdefy/blocks-antd/blocks/Label/style.less';
@@ -14,7 +14,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
14
14
  See the License for the specific language governing permissions and
15
15
  limitations under the License.
16
16
  */ import React from 'react';
17
- import { SliderPicker } from 'react-color';
17
+ import SliderPicker from 'react-color/lib/Slider.js';
18
18
  import { blockDefaultProps } from '@lowdefy/block-utils';
19
19
  import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
20
20
  const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
@@ -14,4 +14,4 @@
14
14
  limitations under the License.
15
15
  */
16
16
 
17
- @import '@lowdefy/blocks-antd/blocks/Label/style.less'
17
+ @import '@lowdefy/blocks-antd/blocks/Label/style.less';
@@ -14,7 +14,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
14
14
  See the License for the specific language governing permissions and
15
15
  limitations under the License.
16
16
  */ import React from 'react';
17
- import { SwatchesPicker } from 'react-color';
17
+ import SwatchesPicker from 'react-color/lib/Swatches.js';
18
18
  import { blockDefaultProps } from '@lowdefy/block-utils';
19
19
  import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
20
20
  const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
@@ -14,4 +14,4 @@
14
14
  limitations under the License.
15
15
  */
16
16
 
17
- @import '@lowdefy/blocks-antd/blocks/Label/style.less'
17
+ @import '@lowdefy/blocks-antd/blocks/Label/style.less';
@@ -14,7 +14,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
14
14
  See the License for the specific language governing permissions and
15
15
  limitations under the License.
16
16
  */ import React from 'react';
17
- import { TwitterPicker } from 'react-color';
17
+ import TwitterPicker from 'react-color/lib/Twitter.js';
18
18
  import { blockDefaultProps } from '@lowdefy/block-utils';
19
19
  import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
20
20
  const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
@@ -14,4 +14,4 @@
14
14
  limitations under the License.
15
15
  */
16
16
 
17
- @import '@lowdefy/blocks-antd/blocks/Label/style.less'
17
+ @import '@lowdefy/blocks-antd/blocks/Label/style.less';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/blocks-color-selectors",
3
- "version": "4.0.0-alpha.6",
3
+ "version": "4.0.0-alpha.7",
4
4
  "license": "Apache-2.0",
5
5
  "description": "A Lowdefy color selector blocks based on react-color.",
6
6
  "homepage": "https://lowdefy.com",
@@ -8,7 +8,8 @@
8
8
  "lowdefy",
9
9
  "lowdefy blocks",
10
10
  "color picker",
11
- "react-color"
11
+ "react-color",
12
+ "lowdefy plugin"
12
13
  ],
13
14
  "bugs": {
14
15
  "url": "https://github.com/lowdefy/lowdefy/issues"
@@ -50,30 +51,29 @@
50
51
  "test": "jest --coverage"
51
52
  },
52
53
  "dependencies": {
53
- "@lowdefy/block-utils": "4.0.0-alpha.6",
54
- "@lowdefy/blocks-antd": "4.0.0-alpha.6",
55
- "react": "18.0.0-alpha-327d5c484-20211106",
54
+ "@lowdefy/block-utils": "4.0.0-alpha.7",
55
+ "@lowdefy/blocks-antd": "4.0.0-alpha.7",
56
+ "react": "18.0.0-rc.0",
56
57
  "react-color": "2.19.3",
57
- "react-dom": "18.0.0-alpha-327d5c484-20211106"
58
+ "react-dom": "18.0.0-rc.0"
58
59
  },
59
60
  "devDependencies": {
60
- "@babel/preset-react": "7.16.0",
61
- "@emotion/jest": "11.5.0",
62
- "@lowdefy/block-dev": "4.0.0-alpha.6",
61
+ "@emotion/jest": "11.7.1",
62
+ "@lowdefy/block-dev": "4.0.0-alpha.7",
63
63
  "@swc/cli": "0.1.55",
64
- "@swc/core": "1.2.130",
64
+ "@swc/core": "1.2.135",
65
65
  "@swc/jest": "0.2.17",
66
- "@testing-library/dom": "8.10.1",
66
+ "@testing-library/dom": "8.11.3",
67
67
  "@testing-library/react": "13.0.0-alpha.4",
68
68
  "@testing-library/user-event": "14.0.0-alpha.14",
69
69
  "copyfiles": "2.4.1",
70
- "jest": "27.3.1",
70
+ "jest": "27.5.1",
71
71
  "jest-canvas-mock": "2.3.1",
72
72
  "jest-serializer-html": "7.1.0",
73
- "jest-transform-yaml": "0.1.2"
73
+ "jest-transform-yaml": "1.0.0"
74
74
  },
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "2530e31af795b6a3c75ac8f72c8dbe0ab5d1251b"
78
+ "gitHead": "52ec14639d00de910cf9b8ab25bf933ca891cff5"
79
79
  }