-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
block.json
79 lines (79 loc) · 2.04 KB
/
block.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"$schema": "https://json.schemastore.org/block.json",
"apiVersion": 2,
"name": "wavy/wavy-divider",
"version": "0.1.0",
"title": "Wavy Divider",
"category": "design",
"attributes": {
"path": {
"type": "string",
"default": "M 0,240 S 12,288 18,200 S 29,200 35,144 S 45,120 52,232 S 62,104 68,92 S 79,148 85,60 S 95,96 100,240 V 400 H 0 Z"
},
"height": {
"type": "number",
"default": 400
},
"direction": {
"type": "string",
"default": "bottom"
},
"fill": {
"type": "string",
"default": ""
},
"opacity": {
"type": "number",
"default": 1
},
"startingPeak": {
"type": "number",
"default": 0.4
},
"endingPeak": {
"type": "number",
"default": 0.4
},
"peaks": {
"type": "array",
"default": [
[0.28, 0.5],
[0.5, 0.64],
[0.7, 0.42],
[0.74, 0.77],
[0.63, 0.85],
[0.76, 0.4]
]
},
"points": {
"type": "number",
"default": 6
},
"smoothness": {
"type": "string",
"default": "smooth"
},
"viewBoxOffset": {
"type": "number",
"default": 0
},
"align": {
"type": "string",
"default": "full"
}
},
"description": "A colorful, fun, lightweight divider block to energize your website with character and pizazz",
"supports": {
"html": false,
"align": ["full", "wide"],
"color": {
"background": true,
"gradients": false,
"text": false
}
},
"textdomain": "wavy-divider",
"editorScript": "file:./build/index.js",
"editorStyle": "file:./build/index.css",
"style": "file:./build/style-index.css"
}