@eldrajs/theme-cli 0.2.7 → 0.2.9
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/CHANGELOG.md +2 -0
- package/package.json +3 -3
- package/template/.eldra/block-types.d.ts +28 -7
- package/template/.eldra/manifest.json +1152 -445
- package/template/.eldra/previews.json +35 -35
- package/template/README.md +32 -0
- package/template/app/assets/main.css +23 -0
- package/template/app/plugins/eldra-storefront.ts +3 -0
- package/template/app/storefront/demo.ts +75 -24
- package/template/app/storefront/gateway.ts +16 -2
- package/template/blocks/announcement-bar/preview.png +0 -0
- package/template/blocks/article/preview.json +4 -4
- package/template/blocks/article/preview.png +0 -0
- package/template/blocks/article-list/Block.vue +48 -19
- package/template/blocks/article-list/__tests__/Block.spec.ts +15 -0
- package/template/blocks/article-list/preview.json +43 -43
- package/template/blocks/article-list/preview.png +0 -0
- package/template/blocks/breadcrumbs/preview.png +0 -0
- package/template/blocks/cart/preview.png +0 -0
- package/template/blocks/collection-grid/Block.vue +260 -9
- package/template/blocks/collection-grid/__tests__/Block.spec.ts +202 -0
- package/template/blocks/collection-grid/block.json +3 -3
- package/template/blocks/collection-grid/preview.png +0 -0
- package/template/blocks/collection-header/Block.vue +65 -52
- package/template/blocks/collection-header/preview.json +4 -4
- package/template/blocks/collection-header/preview.png +0 -0
- package/template/blocks/contact/preview.png +0 -0
- package/template/blocks/cta/preview.json +4 -4
- package/template/blocks/cta/preview.png +0 -0
- package/template/blocks/faq/preview.png +0 -0
- package/template/blocks/feature-grid/Block.vue +73 -4
- package/template/blocks/feature-grid/__tests__/Block.spec.ts +43 -1
- package/template/blocks/feature-grid/block.json +2 -2
- package/template/blocks/feature-grid/preview.json +49 -24
- package/template/blocks/feature-grid/preview.png +0 -0
- package/template/blocks/footer/Block.vue +186 -71
- package/template/blocks/footer/__tests__/Block.spec.ts +127 -32
- package/template/blocks/footer/block.json +42 -4
- package/template/blocks/footer/mock.json +31 -34
- package/template/blocks/footer/preview.png +0 -0
- package/template/blocks/form/preview.png +0 -0
- package/template/blocks/gallery/preview.json +24 -24
- package/template/blocks/gallery/preview.png +0 -0
- package/template/blocks/hero/Block.vue +117 -19
- package/template/blocks/hero/__tests__/Block.spec.ts +46 -0
- package/template/blocks/hero/block.json +36 -1
- package/template/blocks/hero/preview.json +33 -25
- package/template/blocks/hero/preview.png +0 -0
- package/template/blocks/image/preview.json +4 -4
- package/template/blocks/image/preview.png +0 -0
- package/template/blocks/logo-cloud/preview.png +0 -0
- package/template/blocks/navigation/Block.vue +665 -184
- package/template/blocks/navigation/__tests__/Block.spec.ts +496 -75
- package/template/blocks/navigation/__tests__/fixtures/menu.json +182 -0
- package/template/blocks/navigation/block.json +110 -6
- package/template/blocks/navigation/mock.json +372 -140
- package/template/blocks/navigation/preview.json +311 -0
- package/template/blocks/navigation/preview.png +0 -0
- package/template/blocks/newsletter/Block.vue +248 -144
- package/template/blocks/newsletter/__tests__/Block.spec.ts +42 -0
- package/template/blocks/newsletter/block.json +61 -2
- package/template/blocks/newsletter/preview.json +35 -0
- package/template/blocks/newsletter/preview.png +0 -0
- package/template/blocks/order-status/preview.png +0 -0
- package/template/blocks/pricing-table/preview.png +0 -0
- package/template/blocks/product-carousel/Block.vue +272 -26
- package/template/blocks/product-carousel/__tests__/Block.spec.ts +90 -0
- package/template/blocks/product-carousel/block.json +61 -0
- package/template/blocks/product-carousel/preview.json +12 -0
- package/template/blocks/product-carousel/preview.png +0 -0
- package/template/blocks/product-detail/Block.vue +148 -96
- package/template/blocks/product-detail/__tests__/Block.spec.ts +98 -74
- package/template/blocks/product-detail/block.json +11 -4
- package/template/blocks/product-detail/mock.json +53 -22
- package/template/blocks/product-detail/parts/Gallery.vue +52 -103
- package/template/blocks/product-detail/preview.png +0 -0
- package/template/blocks/quote/preview.png +0 -0
- package/template/blocks/rich-text/preview.png +0 -0
- package/template/blocks/search/Block.vue +1 -0
- package/template/blocks/search/TypeSection.vue +1 -0
- package/template/blocks/search/__tests__/Block.spec.ts +23 -0
- package/template/blocks/search/preview.png +0 -0
- package/template/blocks/split-content/Block.vue +98 -20
- package/template/blocks/split-content/__tests__/Block.spec.ts +57 -18
- package/template/blocks/split-content/block.json +72 -6
- package/template/blocks/split-content/preview.json +34 -13
- package/template/blocks/split-content/preview.png +0 -0
- package/template/blocks/stats/preview.png +0 -0
- package/template/blocks/tabs/preview.json +16 -16
- package/template/blocks/tabs/preview.png +0 -0
- package/template/blocks/team/preview.png +0 -0
- package/template/blocks/testimonials/preview.png +0 -0
- package/template/blocks/timeline/preview.png +0 -0
- package/template/blocks/trust-strip/Block.vue +67 -1
- package/template/blocks/trust-strip/__tests__/Block.spec.ts +30 -1
- package/template/blocks/trust-strip/block.json +4 -4
- package/template/blocks/trust-strip/preview.json +21 -0
- package/template/blocks/trust-strip/preview.png +0 -0
- package/template/blocks/video-embed/preview.png +0 -0
- package/template/blocks/wishlist/preview.png +0 -0
- package/template/i18n/en-US.json +16 -9
- package/template/i18n/is-IS.json +16 -9
- package/template/package.json +1 -1
- package/template/pages/article.page.json +19 -18
- package/template/pages/cart.page.json +3 -13
- package/template/pages/category.page.json +15 -7
- package/template/pages/collection.page.json +15 -14
- package/template/pages/home.page.json +217 -182
- package/template/pages/product.page.json +46 -36
- package/template/pages/products.page.json +3 -13
- package/template/pages/search.page.json +3 -13
- package/template/pages/wishlist.page.json +3 -13
- package/template/public/images/CREDITS.md +28 -0
- package/template/public/images/bowl.webp +0 -0
- package/template/public/images/clay-hands.webp +0 -0
- package/template/public/images/coffee-table.webp +0 -0
- package/template/public/images/cup.webp +0 -0
- package/template/public/images/enamel-cups.webp +0 -0
- package/template/public/images/hero.webp +0 -0
- package/template/public/images/kitchen.webp +0 -0
- package/template/public/images/mug.webp +0 -0
- package/template/public/images/northwind-mark.svg +1 -0
- package/template/public/images/planters.webp +0 -0
- package/template/public/images/plates.webp +0 -0
- package/template/public/images/reading.webp +0 -0
- package/template/public/images/sweater.webp +0 -0
- package/template/public/images/terracotta.webp +0 -0
- package/template/public/images/throws.webp +0 -0
- package/template/public/images/vase.webp +0 -0
- package/template/public/images/wheel.webp +0 -0
- package/template/public/images/yarn-tools.webp +0 -0
- package/template/public/images/yarn.webp +0 -0
- package/template/stories/generated/collection-grid.stories.ts +6 -0
- package/template/stories/generated/feature-grid.stories.ts +6 -0
- package/template/stories/generated/footer.stories.ts +4 -4
- package/template/stories/generated/hero.stories.ts +6 -0
- package/template/stories/generated/navigation.stories.ts +14 -1
- package/template/stories/generated/newsletter.stories.ts +2 -1
- package/template/stories/generated/product-carousel.stories.ts +12 -0
- package/template/stories/generated/split-content.stories.ts +12 -0
- package/template/stories/generated/trust-strip.stories.ts +8 -1
- package/template/stories/pages/article.stories.ts +2 -1
- package/template/stories/pages/cart.stories.ts +2 -1
- package/template/stories/pages/category.stories.ts +2 -1
- package/template/stories/pages/collection.stories.ts +2 -1
- package/template/stories/pages/home.stories.ts +2 -1
- package/template/stories/pages/product.stories.ts +2 -1
- package/template/stories/pages/products.stories.ts +2 -1
- package/template/stories/pages/search.stories.ts +2 -1
- package/template/stories/pages/wishlist.stories.ts +2 -1
- package/template/stories/support/demoChrome.ts +32 -0
- package/template/stories/support/pageBlocks.ts +2 -4
- package/template/test/countPill.browser.spec.ts +21 -13
- package/template/test/localePrefix.spec.ts +11 -6
- package/template/test/pages/article.spec.ts +1 -1
- package/template/test/pages/category.spec.ts +34 -11
- package/template/test/pages/collection.spec.ts +182 -148
- package/template/test/pages/home.spec.ts +35 -40
- package/template/test/pages/hydration.spec.ts +4 -4
- package/template/test/pages/product.spec.ts +17 -14
- package/template/test/pages/seededPages.spec.ts +11 -6
- package/template/test/prerenderFailure.spec.ts +4 -3
- package/template/test/prerenderRefresh.browser.spec.ts +36 -15
- package/template/test/previewParity.browser.spec.ts +1152 -0
- package/template/test/starter.spec.ts +37 -16
- package/template/test/storefront/gatewayPrerender.spec.ts +26 -0
- package/template/test/support/previewParity.ts +302 -0
- package/template/test/support/previewParityContent.ts +726 -0
- package/template/tokens.json +13 -13
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{
|
|
2
|
+
"links": [
|
|
3
|
+
{
|
|
4
|
+
"kind": "collection",
|
|
5
|
+
"target": {
|
|
6
|
+
"_type": "collection",
|
|
7
|
+
"slug": "knitwear"
|
|
8
|
+
},
|
|
9
|
+
"label": "Knitwear",
|
|
10
|
+
"sections": [
|
|
11
|
+
{
|
|
12
|
+
"heading": "Women",
|
|
13
|
+
"links": [
|
|
14
|
+
{
|
|
15
|
+
"kind": "collection",
|
|
16
|
+
"target": {
|
|
17
|
+
"_type": "collection",
|
|
18
|
+
"slug": "womens-sweaters"
|
|
19
|
+
},
|
|
20
|
+
"label": "Sweaters"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"kind": "collection",
|
|
24
|
+
"target": {
|
|
25
|
+
"_type": "collection",
|
|
26
|
+
"slug": "womens-cardigans"
|
|
27
|
+
},
|
|
28
|
+
"label": "Cardigans"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"kind": "collection",
|
|
32
|
+
"target": {
|
|
33
|
+
"_type": "collection",
|
|
34
|
+
"slug": "scarves-wraps"
|
|
35
|
+
},
|
|
36
|
+
"label": "Scarves & wraps"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"kind": "collection",
|
|
40
|
+
"target": {
|
|
41
|
+
"_type": "collection",
|
|
42
|
+
"slug": "hats-gloves"
|
|
43
|
+
},
|
|
44
|
+
"label": "Hats & gloves"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"heading": "Men",
|
|
50
|
+
"links": [
|
|
51
|
+
{
|
|
52
|
+
"kind": "collection",
|
|
53
|
+
"target": {
|
|
54
|
+
"_type": "collection",
|
|
55
|
+
"slug": "mens-sweaters"
|
|
56
|
+
},
|
|
57
|
+
"label": "Sweaters"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "collection",
|
|
61
|
+
"target": {
|
|
62
|
+
"_type": "collection",
|
|
63
|
+
"slug": "mens-cardigans"
|
|
64
|
+
},
|
|
65
|
+
"label": "Cardigans"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"kind": "collection",
|
|
69
|
+
"target": {
|
|
70
|
+
"_type": "collection",
|
|
71
|
+
"slug": "mens-scarves"
|
|
72
|
+
},
|
|
73
|
+
"label": "Scarves"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"kind": "collection",
|
|
77
|
+
"target": {
|
|
78
|
+
"_type": "collection",
|
|
79
|
+
"slug": "socks"
|
|
80
|
+
},
|
|
81
|
+
"label": "Socks"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"heading": "Collections",
|
|
87
|
+
"links": [
|
|
88
|
+
{
|
|
89
|
+
"kind": "collection",
|
|
90
|
+
"target": {
|
|
91
|
+
"_type": "collection",
|
|
92
|
+
"slug": "merino-essentials"
|
|
93
|
+
},
|
|
94
|
+
"label": "Merino essentials"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"kind": "collection",
|
|
98
|
+
"target": {
|
|
99
|
+
"_type": "collection",
|
|
100
|
+
"slug": "heavy-winter-knits"
|
|
101
|
+
},
|
|
102
|
+
"label": "Heavy winter knits"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"kind": "collection",
|
|
106
|
+
"target": {
|
|
107
|
+
"_type": "collection",
|
|
108
|
+
"slug": "undyed-wool"
|
|
109
|
+
},
|
|
110
|
+
"label": "Undyed wool"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"kind": "collection",
|
|
114
|
+
"target": {
|
|
115
|
+
"_type": "collection",
|
|
116
|
+
"slug": "knitwear"
|
|
117
|
+
},
|
|
118
|
+
"label": "Shop all knitwear"
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"kind": "collection",
|
|
126
|
+
"target": {
|
|
127
|
+
"_type": "collection",
|
|
128
|
+
"slug": "ceramics"
|
|
129
|
+
},
|
|
130
|
+
"label": "Ceramics",
|
|
131
|
+
"sections": [
|
|
132
|
+
{
|
|
133
|
+
"heading": "Tableware",
|
|
134
|
+
"links": [
|
|
135
|
+
{
|
|
136
|
+
"kind": "collection",
|
|
137
|
+
"target": {
|
|
138
|
+
"_type": "collection",
|
|
139
|
+
"slug": "plates"
|
|
140
|
+
},
|
|
141
|
+
"label": "Plates"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"kind": "collection",
|
|
145
|
+
"target": {
|
|
146
|
+
"_type": "collection",
|
|
147
|
+
"slug": "bowls"
|
|
148
|
+
},
|
|
149
|
+
"label": "Bowls"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"kind": "collection",
|
|
153
|
+
"target": {
|
|
154
|
+
"_type": "collection",
|
|
155
|
+
"slug": "mugs-cups"
|
|
156
|
+
},
|
|
157
|
+
"label": "Mugs & cups"
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"kind": "collection",
|
|
165
|
+
"target": {
|
|
166
|
+
"_type": "collection",
|
|
167
|
+
"slug": "kitchen"
|
|
168
|
+
},
|
|
169
|
+
"label": "Kitchen"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"kind": "url",
|
|
173
|
+
"url": "/journal",
|
|
174
|
+
"label": "Journal"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"kind": "url",
|
|
178
|
+
"url": "/pages/visit",
|
|
179
|
+
"label": "Visit the studio"
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"apiId": "navigation",
|
|
3
3
|
"name": "Header",
|
|
4
|
-
"description": "The store's top bar: brand, primary links with optional mega-menus, search, cart and one call to action.",
|
|
4
|
+
"description": "The store's top bar: an optional info strip, brand, primary links with optional mega-menus, search, saved items, cart and one call to action.",
|
|
5
5
|
"icon": "layout-navbar",
|
|
6
6
|
"category": "structure",
|
|
7
|
-
"version":
|
|
7
|
+
"version": 5,
|
|
8
8
|
"groups": [
|
|
9
9
|
{
|
|
10
10
|
"groupId": "brand",
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
{
|
|
18
18
|
"groupId": "actions",
|
|
19
19
|
"name": "Actions"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"groupId": "info",
|
|
23
|
+
"name": "Info strip"
|
|
20
24
|
}
|
|
21
25
|
],
|
|
22
26
|
"migrations": [
|
|
@@ -55,6 +59,14 @@
|
|
|
55
59
|
"label": "ctaLabel"
|
|
56
60
|
}
|
|
57
61
|
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"version": 5,
|
|
65
|
+
"groupsToSections": [
|
|
66
|
+
{
|
|
67
|
+
"field": "links"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
58
70
|
}
|
|
59
71
|
],
|
|
60
72
|
"fields": [
|
|
@@ -92,14 +104,24 @@
|
|
|
92
104
|
"metadata": {
|
|
93
105
|
"multiple": false
|
|
94
106
|
},
|
|
95
|
-
"helpText": "SVG or
|
|
107
|
+
"helpText": "SVG, PNG or WebP of any shape. Replaces the wordmark. Sized by height (2.25rem, 2rem on phones) and capped at 15rem wide, so a wide logo gets smaller rather than crowding the bar. A logo wider than 4:1 with no mark shows the store name instead on small phones."
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"fieldId": "brandMark",
|
|
111
|
+
"name": "Square mark",
|
|
112
|
+
"type": "media",
|
|
113
|
+
"groupId": "brand",
|
|
114
|
+
"metadata": {
|
|
115
|
+
"multiple": false
|
|
116
|
+
},
|
|
117
|
+
"helpText": "Optional square symbol (an initial, a monogram). Shown beside the wordmark when there is no logo, and in place of the logo or wordmark on phones narrower than 400px."
|
|
96
118
|
},
|
|
97
119
|
{
|
|
98
120
|
"fieldId": "links",
|
|
99
121
|
"name": "Links",
|
|
100
122
|
"type": "list",
|
|
101
123
|
"groupId": "navigation",
|
|
102
|
-
"helpText": "Primary links. 3 to 6 recommended; more than 6 may overflow at 64–80rem. Give a link
|
|
124
|
+
"helpText": "Primary links. 3 to 6 recommended; more than 6 may overflow at 64–80rem. Give a link a panel to turn it into a mega-menu: up to 4 columns, each with a heading, its links and a See all link. A column can hold up to 2 product or collection cards, a picture with a title and a price.",
|
|
103
125
|
"metadata": {
|
|
104
126
|
"item": {
|
|
105
127
|
"fieldId": "link",
|
|
@@ -107,12 +129,45 @@
|
|
|
107
129
|
"type": "link",
|
|
108
130
|
"localized": true,
|
|
109
131
|
"metadata": {
|
|
110
|
-
"tree":
|
|
132
|
+
"tree": {
|
|
133
|
+
"depth": 2,
|
|
134
|
+
"sections": {
|
|
135
|
+
"max": 4,
|
|
136
|
+
"headingLink": true,
|
|
137
|
+
"seeAll": true
|
|
138
|
+
},
|
|
139
|
+
"cards": {
|
|
140
|
+
"kinds": ["product", "collection"],
|
|
141
|
+
"max": 2,
|
|
142
|
+
"aspect": "4:5"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
111
145
|
"kinds": ["product", "collection", "category", "page", "entry", "url", "none"]
|
|
112
146
|
}
|
|
113
147
|
}
|
|
114
148
|
}
|
|
115
149
|
},
|
|
150
|
+
{
|
|
151
|
+
"fieldId": "drawerLayout",
|
|
152
|
+
"name": "Phone menu layout",
|
|
153
|
+
"type": "select",
|
|
154
|
+
"groupId": "navigation",
|
|
155
|
+
"metadata": {
|
|
156
|
+
"options": ["accordion", "sections"]
|
|
157
|
+
},
|
|
158
|
+
"helpText": "How the Menu drawer shows a link's panel. accordion (default): each panel folds into a row that opens. sections: every panel listed open under its heading."
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"fieldId": "account",
|
|
162
|
+
"name": "Account link",
|
|
163
|
+
"type": "link",
|
|
164
|
+
"groupId": "actions",
|
|
165
|
+
"localized": true,
|
|
166
|
+
"metadata": {
|
|
167
|
+
"kinds": ["page", "entry", "url"]
|
|
168
|
+
},
|
|
169
|
+
"helpText": "Where the Account button goes. Leave empty to hide the button."
|
|
170
|
+
},
|
|
116
171
|
{
|
|
117
172
|
"fieldId": "showSearch",
|
|
118
173
|
"name": "Show search",
|
|
@@ -129,7 +184,7 @@
|
|
|
129
184
|
"metadata": {
|
|
130
185
|
"options": ["icon", "field", "inline"]
|
|
131
186
|
},
|
|
132
|
-
"helpText": "icon: a
|
|
187
|
+
"helpText": "icon: a labelled Search button. field: a \"Search the shop\" pill from 80rem, the Search button below. inline: a live search bar in the bar, centered variant only, from 68.8rem only."
|
|
133
188
|
},
|
|
134
189
|
{
|
|
135
190
|
"fieldId": "ctaLabel",
|
|
@@ -162,6 +217,55 @@
|
|
|
162
217
|
"groupId": "actions",
|
|
163
218
|
"default": false,
|
|
164
219
|
"helpText": "Only takes effect when the next block is a Hero with the image-background variant."
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"fieldId": "infoItems",
|
|
223
|
+
"name": "Info strip",
|
|
224
|
+
"type": "list",
|
|
225
|
+
"groupId": "info",
|
|
226
|
+
"helpText": "A thin strip above the bar: delivery, returns and opening hours at the start, help links and a phone number at the end. Up to 3 per side. Empty hides the strip. Phones show only the first item.",
|
|
227
|
+
"metadata": {
|
|
228
|
+
"item": {
|
|
229
|
+
"fieldId": "item",
|
|
230
|
+
"name": "Item",
|
|
231
|
+
"type": "composite",
|
|
232
|
+
"metadata": {
|
|
233
|
+
"fields": [
|
|
234
|
+
{
|
|
235
|
+
"fieldId": "text",
|
|
236
|
+
"name": "Text",
|
|
237
|
+
"type": "string",
|
|
238
|
+
"localized": true,
|
|
239
|
+
"validators": {
|
|
240
|
+
"required": true,
|
|
241
|
+
"maxLength": 40
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"fieldId": "icon",
|
|
246
|
+
"name": "Icon",
|
|
247
|
+
"type": "tabler-icon",
|
|
248
|
+
"helpText": "For example truck, arrow-back-up or clock."
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"fieldId": "href",
|
|
252
|
+
"name": "Link URL",
|
|
253
|
+
"type": "string",
|
|
254
|
+
"helpText": "Optional. A page path, a full URL or tel:/mailto:."
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"fieldId": "placement",
|
|
258
|
+
"name": "Side",
|
|
259
|
+
"type": "select",
|
|
260
|
+
"metadata": {
|
|
261
|
+
"options": ["start", "end"]
|
|
262
|
+
},
|
|
263
|
+
"helpText": "start (default) or end of the strip."
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
165
269
|
}
|
|
166
270
|
]
|
|
167
271
|
}
|