@lowdefy/blocks-color-selectors 4.0.0-alpha.1 → 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.
- package/dist/blocks/ChromeColorSelector/ChromeColorSelector.js +19 -2
- package/dist/blocks/ChromeColorSelector/style.less +1 -1
- package/dist/blocks/CircleColorSelector/CircleColorSelector.js +18 -2
- package/dist/blocks/CircleColorSelector/style.less +1 -1
- package/dist/blocks/ColorSelector/ColorSelector.js +18 -2
- package/dist/blocks/ColorSelector/style.less +1 -1
- package/dist/blocks/CompactColorSelector/CompactColorSelector.js +19 -2
- package/dist/blocks/CompactColorSelector/style.less +1 -1
- package/dist/blocks/GithubColorSelector/GithubColorSelector.js +19 -2
- package/dist/blocks/GithubColorSelector/style.less +1 -1
- package/dist/blocks/SliderColorSelector/SliderColorSelector.js +18 -2
- package/dist/blocks/SliderColorSelector/style.less +1 -1
- package/dist/blocks/SwatchesColorSelector/SwatchesColorSelector.js +18 -2
- package/dist/blocks/SwatchesColorSelector/style.less +1 -1
- package/dist/blocks/TwitterColorSelector/TwitterColorSelector.js +18 -2
- package/dist/blocks/TwitterColorSelector/style.less +1 -1
- package/dist/blocks.js +22 -0
- package/dist/{blocks/ColorSelector/index.js → types.js} +14 -17
- package/package.json +25 -17
- package/dist/blocks/ChromeColorSelector/index.js +0 -33
- package/dist/blocks/CircleColorSelector/index.js +0 -32
- package/dist/blocks/CompactColorSelector/index.js +0 -33
- package/dist/blocks/GithubColorSelector/index.js +0 -33
- package/dist/blocks/SliderColorSelector/index.js +0 -32
- package/dist/blocks/SwatchesColorSelector/index.js +0 -32
- package/dist/blocks/TwitterColorSelector/index.js +0 -32
- package/dist/index.js +0 -37
|
@@ -14,9 +14,9 @@ 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
|
|
17
|
+
import ChromePicker from 'react-color/lib/Chrome.js';
|
|
18
18
|
import { blockDefaultProps } from '@lowdefy/block-utils';
|
|
19
|
-
import Label from '@lowdefy/blocks-antd/
|
|
19
|
+
import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
|
|
20
20
|
const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
|
|
21
21
|
const [color, setColor] = useState(value || properties.defaultColor || '#000000');
|
|
22
22
|
return(/*#__PURE__*/ _jsx(Label, {
|
|
@@ -55,4 +55,21 @@ const Selector = ({ blockId , loading , methods , properties , required , valida
|
|
|
55
55
|
}));
|
|
56
56
|
};
|
|
57
57
|
Selector.defaultProps = blockDefaultProps;
|
|
58
|
+
Selector.meta = {
|
|
59
|
+
valueType: 'object',
|
|
60
|
+
category: 'input',
|
|
61
|
+
loading: {
|
|
62
|
+
type: 'Skeleton',
|
|
63
|
+
properties: {
|
|
64
|
+
width: 225,
|
|
65
|
+
height: 240
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
icons: [
|
|
69
|
+
...Label.meta.icons
|
|
70
|
+
],
|
|
71
|
+
styles: [
|
|
72
|
+
'blocks/ChromeColorSelector/style.less'
|
|
73
|
+
]
|
|
74
|
+
};
|
|
58
75
|
export default Selector;
|
|
@@ -14,9 +14,9 @@ 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
|
|
17
|
+
import CirclePicker from 'react-color/lib/Circle.js';
|
|
18
18
|
import { blockDefaultProps } from '@lowdefy/block-utils';
|
|
19
|
-
import Label from '@lowdefy/blocks-antd/
|
|
19
|
+
import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
|
|
20
20
|
const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
|
|
21
21
|
return(/*#__PURE__*/ _jsx(Label, {
|
|
22
22
|
blockId: blockId,
|
|
@@ -74,4 +74,20 @@ const Selector = ({ blockId , loading , methods , properties , required , valida
|
|
|
74
74
|
}));
|
|
75
75
|
};
|
|
76
76
|
Selector.defaultProps = blockDefaultProps;
|
|
77
|
+
Selector.meta = {
|
|
78
|
+
valueType: 'string',
|
|
79
|
+
category: 'input',
|
|
80
|
+
loading: {
|
|
81
|
+
type: 'Skeleton',
|
|
82
|
+
properties: {
|
|
83
|
+
height: 42
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
icons: [
|
|
87
|
+
...Label.meta.icons
|
|
88
|
+
],
|
|
89
|
+
styles: [
|
|
90
|
+
'blocks/CircleColorSelector/style.less'
|
|
91
|
+
]
|
|
92
|
+
};
|
|
77
93
|
export default Selector;
|
|
@@ -14,9 +14,9 @@ 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
|
|
17
|
+
import BlockPicker from 'react-color/lib/Block.js';
|
|
18
18
|
import { blockDefaultProps } from '@lowdefy/block-utils';
|
|
19
|
-
import Label from '@lowdefy/blocks-antd/
|
|
19
|
+
import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
|
|
20
20
|
const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
|
|
21
21
|
return(/*#__PURE__*/ _jsx(Label, {
|
|
22
22
|
blockId: blockId,
|
|
@@ -53,4 +53,20 @@ const Selector = ({ blockId , loading , methods , properties , required , valida
|
|
|
53
53
|
}));
|
|
54
54
|
};
|
|
55
55
|
Selector.defaultProps = blockDefaultProps;
|
|
56
|
+
Selector.meta = {
|
|
57
|
+
valueType: 'string',
|
|
58
|
+
category: 'input',
|
|
59
|
+
loading: {
|
|
60
|
+
type: 'Skeleton',
|
|
61
|
+
properties: {
|
|
62
|
+
height: 216
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
icons: [
|
|
66
|
+
...Label.meta.icons
|
|
67
|
+
],
|
|
68
|
+
styles: [
|
|
69
|
+
'blocks/ColorSelector/style.less'
|
|
70
|
+
]
|
|
71
|
+
};
|
|
56
72
|
export default Selector;
|
|
@@ -14,9 +14,9 @@ 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
|
|
17
|
+
import CompactPicker from 'react-color/lib/Compact.js';
|
|
18
18
|
import { blockDefaultProps } from '@lowdefy/block-utils';
|
|
19
|
-
import Label from '@lowdefy/blocks-antd/
|
|
19
|
+
import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
|
|
20
20
|
const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
|
|
21
21
|
return(/*#__PURE__*/ _jsx(Label, {
|
|
22
22
|
blockId: blockId,
|
|
@@ -51,4 +51,21 @@ const Selector = ({ blockId , loading , methods , properties , required , valida
|
|
|
51
51
|
}));
|
|
52
52
|
};
|
|
53
53
|
Selector.defaultProps = blockDefaultProps;
|
|
54
|
+
Selector.meta = {
|
|
55
|
+
valueType: 'string',
|
|
56
|
+
category: 'input',
|
|
57
|
+
loading: {
|
|
58
|
+
type: 'Skeleton',
|
|
59
|
+
properties: {
|
|
60
|
+
width: 245,
|
|
61
|
+
height: 90
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
icons: [
|
|
65
|
+
...Label.meta.icons
|
|
66
|
+
],
|
|
67
|
+
styles: [
|
|
68
|
+
'blocks/CompactColorSelector/style.less'
|
|
69
|
+
]
|
|
70
|
+
};
|
|
54
71
|
export default Selector;
|
|
@@ -14,9 +14,9 @@ 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
|
|
17
|
+
import GithubPicker from 'react-color/lib/Github.js';
|
|
18
18
|
import { blockDefaultProps } from '@lowdefy/block-utils';
|
|
19
|
-
import Label from '@lowdefy/blocks-antd/
|
|
19
|
+
import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
|
|
20
20
|
const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
|
|
21
21
|
return(/*#__PURE__*/ _jsx(Label, {
|
|
22
22
|
blockId: blockId,
|
|
@@ -53,4 +53,21 @@ const Selector = ({ blockId , loading , methods , properties , required , valida
|
|
|
53
53
|
}));
|
|
54
54
|
};
|
|
55
55
|
Selector.defaultProps = blockDefaultProps;
|
|
56
|
+
Selector.meta = {
|
|
57
|
+
valueType: 'string',
|
|
58
|
+
category: 'input',
|
|
59
|
+
loading: {
|
|
60
|
+
type: 'Skeleton',
|
|
61
|
+
properties: {
|
|
62
|
+
width: 216,
|
|
63
|
+
height: 62
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
icons: [
|
|
67
|
+
...Label.meta.icons
|
|
68
|
+
],
|
|
69
|
+
styles: [
|
|
70
|
+
'blocks/GithubColorSelector/style.less'
|
|
71
|
+
]
|
|
72
|
+
};
|
|
56
73
|
export default Selector;
|
|
@@ -14,9 +14,9 @@ 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
|
|
17
|
+
import SliderPicker from 'react-color/lib/Slider.js';
|
|
18
18
|
import { blockDefaultProps } from '@lowdefy/block-utils';
|
|
19
|
-
import Label from '@lowdefy/blocks-antd/
|
|
19
|
+
import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
|
|
20
20
|
const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
|
|
21
21
|
return(/*#__PURE__*/ _jsx(Label, {
|
|
22
22
|
blockId: blockId,
|
|
@@ -50,4 +50,20 @@ const Selector = ({ blockId , loading , methods , properties , required , valida
|
|
|
50
50
|
}));
|
|
51
51
|
};
|
|
52
52
|
Selector.defaultProps = blockDefaultProps;
|
|
53
|
+
Selector.meta = {
|
|
54
|
+
valueType: 'string',
|
|
55
|
+
category: 'input',
|
|
56
|
+
loading: {
|
|
57
|
+
type: 'Skeleton',
|
|
58
|
+
properties: {
|
|
59
|
+
height: 44
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
icons: [
|
|
63
|
+
...Label.meta.icons
|
|
64
|
+
],
|
|
65
|
+
styles: [
|
|
66
|
+
'blocks/SliderColorSelector/style.less'
|
|
67
|
+
]
|
|
68
|
+
};
|
|
53
69
|
export default Selector;
|
|
@@ -14,9 +14,9 @@ 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
|
|
17
|
+
import SwatchesPicker from 'react-color/lib/Swatches.js';
|
|
18
18
|
import { blockDefaultProps } from '@lowdefy/block-utils';
|
|
19
|
-
import Label from '@lowdefy/blocks-antd/
|
|
19
|
+
import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
|
|
20
20
|
const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
|
|
21
21
|
return(/*#__PURE__*/ _jsx(Label, {
|
|
22
22
|
blockId: blockId,
|
|
@@ -53,4 +53,20 @@ const Selector = ({ blockId , loading , methods , properties , required , valida
|
|
|
53
53
|
}));
|
|
54
54
|
};
|
|
55
55
|
Selector.defaultProps = blockDefaultProps;
|
|
56
|
+
Selector.meta = {
|
|
57
|
+
valueType: 'string',
|
|
58
|
+
category: 'input',
|
|
59
|
+
loading: {
|
|
60
|
+
type: 'Skeleton',
|
|
61
|
+
properties: {
|
|
62
|
+
height: 175
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
icons: [
|
|
66
|
+
...Label.meta.icons
|
|
67
|
+
],
|
|
68
|
+
styles: [
|
|
69
|
+
'blocks/SwatchesColorSelector/style.less'
|
|
70
|
+
]
|
|
71
|
+
};
|
|
56
72
|
export default Selector;
|
|
@@ -14,9 +14,9 @@ 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
|
|
17
|
+
import TwitterPicker from 'react-color/lib/Twitter.js';
|
|
18
18
|
import { blockDefaultProps } from '@lowdefy/block-utils';
|
|
19
|
-
import Label from '@lowdefy/blocks-antd/
|
|
19
|
+
import Label from '@lowdefy/blocks-antd/blocks/Label/Label.js';
|
|
20
20
|
const Selector = ({ blockId , loading , methods , properties , required , validation , value })=>{
|
|
21
21
|
return(/*#__PURE__*/ _jsx(Label, {
|
|
22
22
|
blockId: blockId,
|
|
@@ -47,4 +47,20 @@ const Selector = ({ blockId , loading , methods , properties , required , valida
|
|
|
47
47
|
}));
|
|
48
48
|
};
|
|
49
49
|
Selector.defaultProps = blockDefaultProps;
|
|
50
|
+
Selector.meta = {
|
|
51
|
+
valueType: 'string',
|
|
52
|
+
category: 'input',
|
|
53
|
+
loading: {
|
|
54
|
+
type: 'Skeleton',
|
|
55
|
+
properties: {
|
|
56
|
+
height: 96
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
icons: [
|
|
60
|
+
...Label.meta.icons
|
|
61
|
+
],
|
|
62
|
+
styles: [
|
|
63
|
+
'blocks/TwitterColorSelector/style.less'
|
|
64
|
+
]
|
|
65
|
+
};
|
|
50
66
|
export default Selector;
|
package/dist/blocks.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ export { default as ColorSelector } from './blocks/ColorSelector/ColorSelector.js';
|
|
16
|
+
export { default as ChromeColorSelector } from './blocks/ChromeColorSelector/ChromeColorSelector.js';
|
|
17
|
+
export { default as CircleColorSelector } from './blocks/CircleColorSelector/CircleColorSelector.js';
|
|
18
|
+
export { default as CompactColorSelector } from './blocks/CompactColorSelector/CompactColorSelector.js';
|
|
19
|
+
export { default as GithubColorSelector } from './blocks/GithubColorSelector/GithubColorSelector.js';
|
|
20
|
+
export { default as SliderColorSelector } from './blocks/SliderColorSelector/SliderColorSelector.js';
|
|
21
|
+
export { default as SwatchesColorSelector } from './blocks/SwatchesColorSelector/SwatchesColorSelector.js';
|
|
22
|
+
export { default as TwitterColorSelector } from './blocks/TwitterColorSelector/TwitterColorSelector.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* eslint-disable import/namespace */ /*
|
|
2
2
|
Copyright 2020-2021 Lowdefy, Inc
|
|
3
3
|
|
|
4
4
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -12,21 +12,18 @@
|
|
|
12
12
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
13
|
See the License for the specific language governing permissions and
|
|
14
14
|
limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
height: 216
|
|
29
|
-
}
|
|
30
|
-
}
|
|
15
|
+
*/ import * as blocks from './blocks.js';
|
|
16
|
+
const icons = {};
|
|
17
|
+
const styles = {};
|
|
18
|
+
Object.keys(blocks).forEach((block)=>{
|
|
19
|
+
icons[block] = blocks[block].meta.icons || [];
|
|
20
|
+
styles[block] = blocks[block].meta.styles || [];
|
|
21
|
+
});
|
|
22
|
+
export default {
|
|
23
|
+
blocks: Object.keys(blocks),
|
|
24
|
+
icons,
|
|
25
|
+
styles: {
|
|
26
|
+
default: [],
|
|
27
|
+
...styles
|
|
31
28
|
}
|
|
32
29
|
};
|
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.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"
|
|
@@ -21,6 +22,10 @@
|
|
|
21
22
|
{
|
|
22
23
|
"name": "Gerrie van Wyk",
|
|
23
24
|
"url": "https://github.com/Gervwyk"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "Sandile Memela",
|
|
28
|
+
"url": "https://github.com/sah-memela"
|
|
24
29
|
}
|
|
25
30
|
],
|
|
26
31
|
"repository": {
|
|
@@ -28,7 +33,11 @@
|
|
|
28
33
|
"url": "https://github.com/lowdefy/lowdefy.git"
|
|
29
34
|
},
|
|
30
35
|
"type": "module",
|
|
31
|
-
"exports":
|
|
36
|
+
"exports": {
|
|
37
|
+
"./*": "./dist/*",
|
|
38
|
+
"./blocks": "./dist/blocks.js",
|
|
39
|
+
"./types": "./dist/types.js"
|
|
40
|
+
},
|
|
32
41
|
"files": [
|
|
33
42
|
"dist/*"
|
|
34
43
|
],
|
|
@@ -42,30 +51,29 @@
|
|
|
42
51
|
"test": "jest --coverage"
|
|
43
52
|
},
|
|
44
53
|
"dependencies": {
|
|
45
|
-
"@lowdefy/block-utils": "4.0.0-alpha.
|
|
46
|
-
"@lowdefy/blocks-antd": "4.0.0-alpha.
|
|
47
|
-
"react": "18.0.0-
|
|
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",
|
|
48
57
|
"react-color": "2.19.3",
|
|
49
|
-
"react-dom": "18.0.0-
|
|
58
|
+
"react-dom": "18.0.0-rc.0"
|
|
50
59
|
},
|
|
51
60
|
"devDependencies": {
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
55
|
-
"@swc/
|
|
56
|
-
"@swc/
|
|
57
|
-
"@
|
|
58
|
-
"@testing-library/dom": "8.10.1",
|
|
61
|
+
"@emotion/jest": "11.7.1",
|
|
62
|
+
"@lowdefy/block-dev": "4.0.0-alpha.7",
|
|
63
|
+
"@swc/cli": "0.1.55",
|
|
64
|
+
"@swc/core": "1.2.135",
|
|
65
|
+
"@swc/jest": "0.2.17",
|
|
66
|
+
"@testing-library/dom": "8.11.3",
|
|
59
67
|
"@testing-library/react": "13.0.0-alpha.4",
|
|
60
68
|
"@testing-library/user-event": "14.0.0-alpha.14",
|
|
61
69
|
"copyfiles": "2.4.1",
|
|
62
|
-
"jest": "27.
|
|
70
|
+
"jest": "27.5.1",
|
|
63
71
|
"jest-canvas-mock": "2.3.1",
|
|
64
72
|
"jest-serializer-html": "7.1.0",
|
|
65
|
-
"jest-transform-yaml": "0.
|
|
73
|
+
"jest-transform-yaml": "1.0.0"
|
|
66
74
|
},
|
|
67
75
|
"publishConfig": {
|
|
68
76
|
"access": "public"
|
|
69
77
|
},
|
|
70
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "52ec14639d00de910cf9b8ab25bf933ca891cff5"
|
|
71
79
|
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/ChromeColorSelector/ChromeColorSelector.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/ChromeColorSelector/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'object',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'Skeleton',
|
|
27
|
-
properties: {
|
|
28
|
-
width: 225,
|
|
29
|
-
height: 240
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/CircleColorSelector/CircleColorSelector.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/CircleColorSelector/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'string',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'Skeleton',
|
|
27
|
-
properties: {
|
|
28
|
-
height: 42
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/CompactColorSelector/CompactColorSelector.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/CompactColorSelector/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'string',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'Skeleton',
|
|
27
|
-
properties: {
|
|
28
|
-
width: 245,
|
|
29
|
-
height: 90
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/GithubColorSelector/GithubColorSelector.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/GithubColorSelector/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'string',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'Skeleton',
|
|
27
|
-
properties: {
|
|
28
|
-
width: 216,
|
|
29
|
-
height: 62
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/SliderColorSelector/SliderColorSelector.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/SliderColorSelector/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'string',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'Skeleton',
|
|
27
|
-
properties: {
|
|
28
|
-
height: 44
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/SwatchesColorSelector/SwatchesColorSelector.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/SwatchesColorSelector/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'string',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'Skeleton',
|
|
27
|
-
properties: {
|
|
28
|
-
height: 175
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ export default {
|
|
16
|
-
import: {
|
|
17
|
-
block: 'blocks/TwitterColorSelector/TwitterColorSelector.js',
|
|
18
|
-
styles: [
|
|
19
|
-
'blocks/TwitterColorSelector/style.less'
|
|
20
|
-
]
|
|
21
|
-
},
|
|
22
|
-
meta: {
|
|
23
|
-
valueType: 'string',
|
|
24
|
-
category: 'input',
|
|
25
|
-
loading: {
|
|
26
|
-
type: 'Skeleton',
|
|
27
|
-
properties: {
|
|
28
|
-
height: 96
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
};
|
package/dist/index.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright 2020-2021 Lowdefy, Inc
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
*/ import ColorSelector from './blocks/ColorSelector';
|
|
16
|
-
import ChromeColorSelector from './blocks/ChromeColorSelector';
|
|
17
|
-
import CircleColorSelector from './blocks/CircleColorSelector';
|
|
18
|
-
import CompactColorSelector from './blocks/CompactColorSelector';
|
|
19
|
-
import GithubColorSelector from './blocks/GithubColorSelector';
|
|
20
|
-
import SliderColorSelector from './blocks/SliderColorSelector';
|
|
21
|
-
import SwatchesColorSelector from './blocks/SwatchesColorSelector';
|
|
22
|
-
import TwitterColorSelector from './blocks/TwitterColorSelector';
|
|
23
|
-
export default {
|
|
24
|
-
blocks: {
|
|
25
|
-
ColorSelector,
|
|
26
|
-
ChromeColorSelector,
|
|
27
|
-
CircleColorSelector,
|
|
28
|
-
CompactColorSelector,
|
|
29
|
-
GithubColorSelector,
|
|
30
|
-
SliderColorSelector,
|
|
31
|
-
SwatchesColorSelector,
|
|
32
|
-
TwitterColorSelector
|
|
33
|
-
},
|
|
34
|
-
import: {
|
|
35
|
-
styles: []
|
|
36
|
-
}
|
|
37
|
-
};
|