@usethrottle/builder-schema 0.1.1 → 0.1.2
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/__tests__/fixtures/parity/01-hero-boxed.json +68 -0
- package/__tests__/fixtures/parity/02-full-bleed-image-hero.json +61 -0
- package/__tests__/fixtures/parity/03-two-columns-50-50.json +66 -0
- package/__tests__/fixtures/parity/04-three-columns-phone-widths.json +87 -0
- package/__tests__/fixtures/parity/05-four-columns-tablet-two-by-two.json +108 -0
- package/__tests__/fixtures/parity/06-inner-section-in-column.json +101 -0
- package/__tests__/fixtures/parity/07-hidden-on-phone.json +47 -0
- package/__tests__/fixtures/parity/08-device-specific-text-and-size.json +46 -0
- package/__tests__/fixtures/parity/09-every-basic-widget.json +100 -0
- package/__tests__/fixtures/parity/10-header-part.json +87 -0
- package/__tests__/fixtures/parity/11-footer-part.json +105 -0
- package/__tests__/fixtures/parity/12-announcement-bar.json +34 -0
- package/__tests__/fixtures/parity/13-product-slot-context.json +69 -0
- package/__tests__/fixtures/parity/14-published-snapshot-with-assets-and-custom-widget.json +84 -0
- package/__tests__/fixtures/parity/15-empty-document.json +4 -0
- package/__tests__/fixtures/parity/16-product-grid-and-featured.json +140 -0
- package/__tests__/fixtures/parity/17-collection-shelf-and-categories.json +153 -0
- package/__tests__/fixtures/parity/18-search-switches-and-greeting.json +80 -0
- package/__tests__/fixtures/parity/19-shop-slot-context.json +42 -0
- package/dist/index.cjs +12 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +12 -1
- package/package.json +3 -2
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"sections": [
|
|
4
|
+
{
|
|
5
|
+
"id": "s0000005",
|
|
6
|
+
"type": "section",
|
|
7
|
+
"props": {
|
|
8
|
+
"width": "boxed",
|
|
9
|
+
"contentWidth": 1200,
|
|
10
|
+
"paddingY": "xl",
|
|
11
|
+
"background": {
|
|
12
|
+
"color": "token:surface"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"columns": [
|
|
16
|
+
{
|
|
17
|
+
"id": "c0000004",
|
|
18
|
+
"type": "column",
|
|
19
|
+
"props": {
|
|
20
|
+
"width": 100
|
|
21
|
+
},
|
|
22
|
+
"children": [
|
|
23
|
+
{
|
|
24
|
+
"id": "w0000001",
|
|
25
|
+
"type": "basic.heading",
|
|
26
|
+
"v": 1,
|
|
27
|
+
"props": {
|
|
28
|
+
"text": {
|
|
29
|
+
"en": "Autumn collection"
|
|
30
|
+
},
|
|
31
|
+
"level": "h1",
|
|
32
|
+
"align": "center",
|
|
33
|
+
"size": "3xl"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "w0000002",
|
|
38
|
+
"type": "basic.text",
|
|
39
|
+
"v": 1,
|
|
40
|
+
"props": {
|
|
41
|
+
"html": {
|
|
42
|
+
"en": "<p>Warm layers for cooler days.</p>"
|
|
43
|
+
},
|
|
44
|
+
"align": "center"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "w0000003",
|
|
49
|
+
"type": "basic.button",
|
|
50
|
+
"v": 1,
|
|
51
|
+
"props": {
|
|
52
|
+
"label": {
|
|
53
|
+
"en": "Shop now"
|
|
54
|
+
},
|
|
55
|
+
"link": {
|
|
56
|
+
"kind": "url",
|
|
57
|
+
"href": "/shop"
|
|
58
|
+
},
|
|
59
|
+
"align": "center",
|
|
60
|
+
"size": "l"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"sections": [
|
|
4
|
+
{
|
|
5
|
+
"id": "s0000009",
|
|
6
|
+
"type": "section",
|
|
7
|
+
"props": {
|
|
8
|
+
"width": "full",
|
|
9
|
+
"minHeight": 520,
|
|
10
|
+
"paddingY": "2xl",
|
|
11
|
+
"background": {
|
|
12
|
+
"image": "asset01",
|
|
13
|
+
"overlay": "#00000066",
|
|
14
|
+
"position": "center",
|
|
15
|
+
"size": "cover"
|
|
16
|
+
},
|
|
17
|
+
"verticalAlign": "center"
|
|
18
|
+
},
|
|
19
|
+
"columns": [
|
|
20
|
+
{
|
|
21
|
+
"id": "c0000008",
|
|
22
|
+
"type": "column",
|
|
23
|
+
"props": {
|
|
24
|
+
"width": 100,
|
|
25
|
+
"verticalAlign": "center"
|
|
26
|
+
},
|
|
27
|
+
"children": [
|
|
28
|
+
{
|
|
29
|
+
"id": "w0000006",
|
|
30
|
+
"type": "basic.heading",
|
|
31
|
+
"v": 1,
|
|
32
|
+
"props": {
|
|
33
|
+
"text": {
|
|
34
|
+
"en": "New in"
|
|
35
|
+
},
|
|
36
|
+
"level": "h1",
|
|
37
|
+
"color": "#ffffff",
|
|
38
|
+
"size": "3xl"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "w0000007",
|
|
43
|
+
"type": "basic.button",
|
|
44
|
+
"v": 1,
|
|
45
|
+
"props": {
|
|
46
|
+
"label": {
|
|
47
|
+
"en": "Explore"
|
|
48
|
+
},
|
|
49
|
+
"link": {
|
|
50
|
+
"kind": "url",
|
|
51
|
+
"href": "/collections/new"
|
|
52
|
+
},
|
|
53
|
+
"style": "outline"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"sections": [
|
|
4
|
+
{
|
|
5
|
+
"id": "s0000015",
|
|
6
|
+
"type": "section",
|
|
7
|
+
"props": {
|
|
8
|
+
"gap": "l",
|
|
9
|
+
"paddingY": "l"
|
|
10
|
+
},
|
|
11
|
+
"columns": [
|
|
12
|
+
{
|
|
13
|
+
"id": "c0000012",
|
|
14
|
+
"type": "column",
|
|
15
|
+
"props": {
|
|
16
|
+
"width": 50
|
|
17
|
+
},
|
|
18
|
+
"children": [
|
|
19
|
+
{
|
|
20
|
+
"id": "w0000010",
|
|
21
|
+
"type": "basic.heading",
|
|
22
|
+
"v": 1,
|
|
23
|
+
"props": {
|
|
24
|
+
"text": {
|
|
25
|
+
"en": "Our story"
|
|
26
|
+
},
|
|
27
|
+
"level": "h2"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "w0000011",
|
|
32
|
+
"type": "basic.text",
|
|
33
|
+
"v": 1,
|
|
34
|
+
"props": {
|
|
35
|
+
"html": {
|
|
36
|
+
"en": "<p>Made in small batches since 2014.</p>"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "c0000014",
|
|
44
|
+
"type": "column",
|
|
45
|
+
"props": {
|
|
46
|
+
"width": 50
|
|
47
|
+
},
|
|
48
|
+
"children": [
|
|
49
|
+
{
|
|
50
|
+
"id": "w0000013",
|
|
51
|
+
"type": "basic.image",
|
|
52
|
+
"v": 1,
|
|
53
|
+
"props": {
|
|
54
|
+
"image": "asset02",
|
|
55
|
+
"alt": {
|
|
56
|
+
"en": "Workshop"
|
|
57
|
+
},
|
|
58
|
+
"radius": "m"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"sections": [
|
|
4
|
+
{
|
|
5
|
+
"id": "s0000022",
|
|
6
|
+
"type": "section",
|
|
7
|
+
"props": {},
|
|
8
|
+
"columns": [
|
|
9
|
+
{
|
|
10
|
+
"id": "c0000017",
|
|
11
|
+
"type": "column",
|
|
12
|
+
"props": {
|
|
13
|
+
"width": 33.33
|
|
14
|
+
},
|
|
15
|
+
"children": [
|
|
16
|
+
{
|
|
17
|
+
"id": "w0000016",
|
|
18
|
+
"type": "basic.heading",
|
|
19
|
+
"v": 1,
|
|
20
|
+
"props": {
|
|
21
|
+
"text": {
|
|
22
|
+
"en": "Free shipping"
|
|
23
|
+
},
|
|
24
|
+
"level": "h3"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"responsive": {
|
|
29
|
+
"phone": {
|
|
30
|
+
"width": 100
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "c0000019",
|
|
36
|
+
"type": "column",
|
|
37
|
+
"props": {
|
|
38
|
+
"width": 33.33
|
|
39
|
+
},
|
|
40
|
+
"children": [
|
|
41
|
+
{
|
|
42
|
+
"id": "w0000018",
|
|
43
|
+
"type": "basic.heading",
|
|
44
|
+
"v": 1,
|
|
45
|
+
"props": {
|
|
46
|
+
"text": {
|
|
47
|
+
"en": "Easy returns"
|
|
48
|
+
},
|
|
49
|
+
"level": "h3"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"responsive": {
|
|
54
|
+
"phone": {
|
|
55
|
+
"width": 50
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "c0000021",
|
|
61
|
+
"type": "column",
|
|
62
|
+
"props": {
|
|
63
|
+
"width": 33.34
|
|
64
|
+
},
|
|
65
|
+
"children": [
|
|
66
|
+
{
|
|
67
|
+
"id": "w0000020",
|
|
68
|
+
"type": "basic.heading",
|
|
69
|
+
"v": 1,
|
|
70
|
+
"props": {
|
|
71
|
+
"text": {
|
|
72
|
+
"en": "Secure checkout"
|
|
73
|
+
},
|
|
74
|
+
"level": "h3"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"responsive": {
|
|
79
|
+
"phone": {
|
|
80
|
+
"width": 50
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"sections": [
|
|
4
|
+
{
|
|
5
|
+
"id": "s0000040",
|
|
6
|
+
"type": "section",
|
|
7
|
+
"props": {},
|
|
8
|
+
"columns": [
|
|
9
|
+
{
|
|
10
|
+
"id": "c0000033",
|
|
11
|
+
"type": "column",
|
|
12
|
+
"props": {
|
|
13
|
+
"width": 25
|
|
14
|
+
},
|
|
15
|
+
"children": [
|
|
16
|
+
{
|
|
17
|
+
"id": "w0000032",
|
|
18
|
+
"type": "basic.text",
|
|
19
|
+
"v": 1,
|
|
20
|
+
"props": {
|
|
21
|
+
"html": {
|
|
22
|
+
"en": "<p>One</p>"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"responsive": {
|
|
28
|
+
"tablet": {
|
|
29
|
+
"width": 50
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "c0000035",
|
|
35
|
+
"type": "column",
|
|
36
|
+
"props": {
|
|
37
|
+
"width": 25
|
|
38
|
+
},
|
|
39
|
+
"children": [
|
|
40
|
+
{
|
|
41
|
+
"id": "w0000034",
|
|
42
|
+
"type": "basic.text",
|
|
43
|
+
"v": 1,
|
|
44
|
+
"props": {
|
|
45
|
+
"html": {
|
|
46
|
+
"en": "<p>Two</p>"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"responsive": {
|
|
52
|
+
"tablet": {
|
|
53
|
+
"width": 50
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "c0000037",
|
|
59
|
+
"type": "column",
|
|
60
|
+
"props": {
|
|
61
|
+
"width": 25
|
|
62
|
+
},
|
|
63
|
+
"children": [
|
|
64
|
+
{
|
|
65
|
+
"id": "w0000036",
|
|
66
|
+
"type": "basic.text",
|
|
67
|
+
"v": 1,
|
|
68
|
+
"props": {
|
|
69
|
+
"html": {
|
|
70
|
+
"en": "<p>Three</p>"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"responsive": {
|
|
76
|
+
"tablet": {
|
|
77
|
+
"width": 50
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "c0000039",
|
|
83
|
+
"type": "column",
|
|
84
|
+
"props": {
|
|
85
|
+
"width": 25
|
|
86
|
+
},
|
|
87
|
+
"children": [
|
|
88
|
+
{
|
|
89
|
+
"id": "w0000038",
|
|
90
|
+
"type": "basic.text",
|
|
91
|
+
"v": 1,
|
|
92
|
+
"props": {
|
|
93
|
+
"html": {
|
|
94
|
+
"en": "<p>Four</p>"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"responsive": {
|
|
100
|
+
"tablet": {
|
|
101
|
+
"width": 50
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"sections": [
|
|
4
|
+
{
|
|
5
|
+
"id": "s0000050",
|
|
6
|
+
"type": "section",
|
|
7
|
+
"props": {},
|
|
8
|
+
"columns": [
|
|
9
|
+
{
|
|
10
|
+
"id": "c0000049",
|
|
11
|
+
"type": "column",
|
|
12
|
+
"props": {
|
|
13
|
+
"width": 100
|
|
14
|
+
},
|
|
15
|
+
"children": [
|
|
16
|
+
{
|
|
17
|
+
"id": "w0000041",
|
|
18
|
+
"type": "basic.heading",
|
|
19
|
+
"v": 1,
|
|
20
|
+
"props": {
|
|
21
|
+
"text": {
|
|
22
|
+
"en": "Compare plans"
|
|
23
|
+
},
|
|
24
|
+
"level": "h2"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "i0000048",
|
|
29
|
+
"type": "inner-section",
|
|
30
|
+
"props": {
|
|
31
|
+
"gap": "m"
|
|
32
|
+
},
|
|
33
|
+
"columns": [
|
|
34
|
+
{
|
|
35
|
+
"id": "c0000044",
|
|
36
|
+
"type": "column",
|
|
37
|
+
"props": {
|
|
38
|
+
"width": 50
|
|
39
|
+
},
|
|
40
|
+
"children": [
|
|
41
|
+
{
|
|
42
|
+
"id": "w0000042",
|
|
43
|
+
"type": "basic.heading",
|
|
44
|
+
"v": 1,
|
|
45
|
+
"props": {
|
|
46
|
+
"text": {
|
|
47
|
+
"en": "Starter"
|
|
48
|
+
},
|
|
49
|
+
"level": "h3"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "w0000043",
|
|
54
|
+
"type": "basic.text",
|
|
55
|
+
"v": 1,
|
|
56
|
+
"props": {
|
|
57
|
+
"html": {
|
|
58
|
+
"en": "<p>For small shops.</p>"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "c0000047",
|
|
66
|
+
"type": "column",
|
|
67
|
+
"props": {
|
|
68
|
+
"width": 50
|
|
69
|
+
},
|
|
70
|
+
"children": [
|
|
71
|
+
{
|
|
72
|
+
"id": "w0000045",
|
|
73
|
+
"type": "basic.heading",
|
|
74
|
+
"v": 1,
|
|
75
|
+
"props": {
|
|
76
|
+
"text": {
|
|
77
|
+
"en": "Pro"
|
|
78
|
+
},
|
|
79
|
+
"level": "h3"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "w0000046",
|
|
84
|
+
"type": "basic.text",
|
|
85
|
+
"v": 1,
|
|
86
|
+
"props": {
|
|
87
|
+
"html": {
|
|
88
|
+
"en": "<p>For growing brands.</p>"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"sections": [
|
|
4
|
+
{
|
|
5
|
+
"id": "s0000054",
|
|
6
|
+
"type": "section",
|
|
7
|
+
"props": {},
|
|
8
|
+
"columns": [
|
|
9
|
+
{
|
|
10
|
+
"id": "c0000053",
|
|
11
|
+
"type": "column",
|
|
12
|
+
"props": {
|
|
13
|
+
"width": 100
|
|
14
|
+
},
|
|
15
|
+
"children": [
|
|
16
|
+
{
|
|
17
|
+
"id": "w0000051",
|
|
18
|
+
"type": "basic.heading",
|
|
19
|
+
"v": 1,
|
|
20
|
+
"props": {
|
|
21
|
+
"text": {
|
|
22
|
+
"en": "Desktop only banner"
|
|
23
|
+
},
|
|
24
|
+
"level": "h2"
|
|
25
|
+
},
|
|
26
|
+
"responsive": {
|
|
27
|
+
"phone": {
|
|
28
|
+
"hidden": true
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "w0000052",
|
|
34
|
+
"type": "basic.text",
|
|
35
|
+
"v": 1,
|
|
36
|
+
"props": {
|
|
37
|
+
"html": {
|
|
38
|
+
"en": "<p>Visible everywhere.</p>"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"sections": [
|
|
4
|
+
{
|
|
5
|
+
"id": "s0000057",
|
|
6
|
+
"type": "section",
|
|
7
|
+
"props": {
|
|
8
|
+
"paddingY": "l"
|
|
9
|
+
},
|
|
10
|
+
"columns": [
|
|
11
|
+
{
|
|
12
|
+
"id": "c0000056",
|
|
13
|
+
"type": "column",
|
|
14
|
+
"props": {
|
|
15
|
+
"width": 100
|
|
16
|
+
},
|
|
17
|
+
"children": [
|
|
18
|
+
{
|
|
19
|
+
"id": "w0000055",
|
|
20
|
+
"type": "basic.heading",
|
|
21
|
+
"v": 1,
|
|
22
|
+
"props": {
|
|
23
|
+
"text": {
|
|
24
|
+
"en": "Handmade goods for everyday life"
|
|
25
|
+
},
|
|
26
|
+
"level": "h1",
|
|
27
|
+
"size": "3xl"
|
|
28
|
+
},
|
|
29
|
+
"responsive": {
|
|
30
|
+
"tablet": {
|
|
31
|
+
"size": "xl"
|
|
32
|
+
},
|
|
33
|
+
"phone": {
|
|
34
|
+
"size": "l",
|
|
35
|
+
"text": {
|
|
36
|
+
"en": "Handmade goods"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"sections": [
|
|
4
|
+
{
|
|
5
|
+
"id": "s0000066",
|
|
6
|
+
"type": "section",
|
|
7
|
+
"props": {},
|
|
8
|
+
"columns": [
|
|
9
|
+
{
|
|
10
|
+
"id": "c0000065",
|
|
11
|
+
"type": "column",
|
|
12
|
+
"props": {
|
|
13
|
+
"width": 100
|
|
14
|
+
},
|
|
15
|
+
"children": [
|
|
16
|
+
{
|
|
17
|
+
"id": "w0000058",
|
|
18
|
+
"type": "basic.heading",
|
|
19
|
+
"v": 1,
|
|
20
|
+
"props": {
|
|
21
|
+
"text": {
|
|
22
|
+
"en": "Basics"
|
|
23
|
+
},
|
|
24
|
+
"level": "h2"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "w0000059",
|
|
29
|
+
"type": "basic.text",
|
|
30
|
+
"v": 1,
|
|
31
|
+
"props": {
|
|
32
|
+
"html": {
|
|
33
|
+
"en": "<p>Text widget.</p>"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "w0000060",
|
|
39
|
+
"type": "basic.image",
|
|
40
|
+
"v": 1,
|
|
41
|
+
"props": {
|
|
42
|
+
"image": "asset03",
|
|
43
|
+
"decorative": true,
|
|
44
|
+
"alt": {
|
|
45
|
+
"en": ""
|
|
46
|
+
},
|
|
47
|
+
"width": 60,
|
|
48
|
+
"fit": "contain",
|
|
49
|
+
"align": "center"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "w0000061",
|
|
54
|
+
"type": "basic.button",
|
|
55
|
+
"v": 1,
|
|
56
|
+
"props": {
|
|
57
|
+
"label": {
|
|
58
|
+
"en": "Button"
|
|
59
|
+
},
|
|
60
|
+
"link": {
|
|
61
|
+
"kind": "url",
|
|
62
|
+
"href": "/shop"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "w0000062",
|
|
68
|
+
"type": "basic.spacer",
|
|
69
|
+
"v": 1,
|
|
70
|
+
"props": {
|
|
71
|
+
"height": "xl"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "w0000063",
|
|
76
|
+
"type": "basic.divider",
|
|
77
|
+
"v": 1,
|
|
78
|
+
"props": {
|
|
79
|
+
"thickness": 2,
|
|
80
|
+
"width": 50,
|
|
81
|
+
"style": "dashed",
|
|
82
|
+
"color": "token:border"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "w0000064",
|
|
87
|
+
"type": "basic.video",
|
|
88
|
+
"v": 1,
|
|
89
|
+
"props": {
|
|
90
|
+
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
|
|
91
|
+
"ratio": "16:9",
|
|
92
|
+
"autoplayMuted": false
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|