@lightspeed/crane 0.1.1 → 1.0.1

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.
Files changed (63) hide show
  1. package/dist/app.mjs +1 -1
  2. package/dist/cli.mjs +6 -6
  3. package/package.json +13 -3
  4. package/template/package.json +3 -3
  5. package/template/sections/example-section/ExampleSection.vue +53 -0
  6. package/template/sections/example-section/assets/autumn_looks_mobile_high.jpeg +0 -0
  7. package/template/sections/example-section/assets/autumn_looks_mobile_low.jpeg +0 -0
  8. package/template/sections/example-section/assets/autumn_looks_pc_high.jpeg +0 -0
  9. package/template/sections/example-section/assets/autumn_looks_pc_low.jpeg +0 -0
  10. package/template/sections/example-section/assets/bianka_wardrobe_mobile_high.jpeg +0 -0
  11. package/template/sections/example-section/assets/bianka_wardrobe_mobile_low.jpeg +0 -0
  12. package/template/sections/example-section/assets/bianka_wardrobe_pc_high.jpeg +0 -0
  13. package/template/sections/example-section/assets/bianka_wardrobe_pc_low.jpeg +0 -0
  14. package/template/sections/example-section/assets/custom_section_showcase_1_preview.jpg +0 -0
  15. package/template/sections/example-section/assets/custom_section_showcase_2_preview.png +0 -0
  16. package/template/sections/example-section/assets/new_arrivals_mobile_high.jpeg +0 -0
  17. package/template/sections/example-section/assets/new_arrivals_mobile_low.jpeg +0 -0
  18. package/template/sections/example-section/assets/new_arrivals_pc_high.jpeg +0 -0
  19. package/template/sections/example-section/assets/new_arrivals_pc_low.jpeg +0 -0
  20. package/template/sections/example-section/assets/new_tshirts_collection_mobile_high.jpeg +0 -0
  21. package/template/sections/example-section/assets/new_tshirts_collection_mobile_low.jpeg +0 -0
  22. package/template/sections/example-section/assets/new_tshirts_collection_pc_high.jpeg +0 -0
  23. package/template/sections/example-section/assets/new_tshirts_collection_pc_low.jpeg +0 -0
  24. package/template/sections/example-section/assets/sport_look_mobile_high.jpeg +0 -0
  25. package/template/sections/example-section/assets/sport_look_mobile_low.jpeg +0 -0
  26. package/template/sections/example-section/assets/sport_look_pc_high.jpeg +0 -0
  27. package/template/sections/example-section/assets/sport_look_pc_low.jpeg +0 -0
  28. package/template/sections/example-section/assets/story_of_jane_mobile_high.jpeg +0 -0
  29. package/template/sections/example-section/assets/story_of_jane_mobile_low.jpeg +0 -0
  30. package/template/sections/example-section/assets/story_of_jane_pc_high.jpeg +0 -0
  31. package/template/sections/example-section/assets/story_of_jane_pc_low.jpeg +0 -0
  32. package/template/sections/example-section/assets/summer_accessories_mobile_high.jpeg +0 -0
  33. package/template/sections/example-section/assets/summer_accessories_mobile_low.jpeg +0 -0
  34. package/template/sections/example-section/assets/summer_accessories_pc_high.jpeg +0 -0
  35. package/template/sections/example-section/assets/summer_accessories_pc_low.jpeg +0 -0
  36. package/template/sections/example-section/assets/trending_footwear_mobile_high.jpeg +0 -0
  37. package/template/sections/example-section/assets/trending_footwear_mobile_low.jpeg +0 -0
  38. package/template/sections/example-section/assets/trending_footwear_pc_high.jpeg +0 -0
  39. package/template/sections/example-section/assets/trending_footwear_pc_low.jpeg +0 -0
  40. package/template/sections/example-section/client.ts +5 -0
  41. package/template/sections/example-section/component/image/Image.vue +161 -0
  42. package/template/sections/example-section/component/image/ImagesGrid.vue +244 -0
  43. package/template/sections/example-section/component/title/Title.vue +53 -0
  44. package/template/sections/example-section/entity/color.ts +4 -0
  45. package/template/sections/example-section/server.ts +5 -0
  46. package/template/sections/example-section/settings/content.ts +68 -0
  47. package/template/sections/{block-example → example-section}/settings/design.ts +30 -43
  48. package/template/sections/example-section/settings/translations.ts +59 -0
  49. package/template/sections/example-section/showcases/1.ts +160 -0
  50. package/template/sections/example-section/showcases/2.ts +156 -0
  51. package/template/sections/example-section/showcases/translations.ts +41 -0
  52. package/template/templates/template.ts +102 -79
  53. package/template/sections/block-example/CustomBlock.vue +0 -58
  54. package/template/sections/block-example/assets/showcase_preview_1.png +0 -0
  55. package/template/sections/block-example/assets/showcase_preview_2.png +0 -0
  56. package/template/sections/block-example/client.ts +0 -5
  57. package/template/sections/block-example/server.ts +0 -5
  58. package/template/sections/block-example/settings/content.ts +0 -41
  59. package/template/sections/block-example/settings/translations.ts +0 -35
  60. package/template/sections/block-example/showcases/1.ts +0 -88
  61. package/template/sections/block-example/showcases/2.ts +0 -88
  62. package/template/sections/block-example/showcases/translations.ts +0 -23
  63. /package/template/sections/{block-example → example-section}/type.ts +0 -0
@@ -0,0 +1,59 @@
1
+ export default {
2
+ en: {
3
+ '$label.section_title.label': 'Main title',
4
+ '$label.section_title.placeholder': 'This will be the main title for this section',
5
+ '$label.section_description.label': 'Long description',
6
+ '$label.section_description.placeholder': 'This description will be displayed below the title',
7
+ '$label.image_text.label': 'Image Caption',
8
+ '$label.image_text_1.label': 'Image 1 caption',
9
+ '$label.image_text_2.label': 'Image 2 caption',
10
+ '$label.image_text_3.label': 'Image 3 caption',
11
+ '$label.image_text_4.label': 'Image 4 caption',
12
+ '$label.image_text.placeholder': 'This caption will be displayed on or below the image',
13
+ '$label.image_content.label': 'Image Content',
14
+ '$label.image_content_1.label': 'Image 1',
15
+ '$label.image_content_2.label': 'Image 2',
16
+ '$label.image_content_3.label': 'Image 3',
17
+ '$label.image_content_4.label': 'Image 4',
18
+ '$label.image_link_1.label': 'Image 1 link',
19
+ '$label.image_link_2.label': 'Image 2 link',
20
+ '$label.image_link_3.label': 'Image 3 link',
21
+ '$label.image_link_4.label': 'Image 4 link',
22
+ '$label.image_link.placeholder': 'Enter an optional URL for the image',
23
+ '$label.image_text_position.label': 'Image caption position',
24
+ '$label.image_text_position.placeholder': 'Choose',
25
+ '$label.image_text_position.description': 'Select the position of the image caption',
26
+ '$label.image_text_position.on.label': 'On the image',
27
+ '$label.image_text_position.under.label': 'Below the image',
28
+ '$label.background.label': 'Background',
29
+ },
30
+
31
+ nl: {
32
+ '$label.section_title.label': 'Hoofdtitel',
33
+ '$label.section_title.placeholder': 'Dit wordt de hoofdtitel voor deze sectie',
34
+ '$label.section_description.label': 'Lange beschrijving',
35
+ '$label.section_description.placeholder': 'Deze beschrijving wordt onder de titel weergegeven',
36
+ '$label.image_text.label': 'Bijschrift afbeelding',
37
+ '$label.image_text_1.label': 'Onderschrift afbeelding 1',
38
+ '$label.image_text_2.label': 'Bijschrift afbeelding 2',
39
+ '$label.image_text_3.label': 'Bijschrift afbeelding 3',
40
+ '$label.image_text_4.label': 'Bijschrift afbeelding 4',
41
+ '$label.image_text.placeholder': 'Dit bijschrift wordt op of onder de afbeelding weergegeven',
42
+ '$label.image_content.label': 'Afbeeldingsinhoud',
43
+ '$label.image_content_1.label': 'Afbeelding 1',
44
+ '$label.image_content_2.label': 'Afbeelding 2',
45
+ '$label.image_content_3.label': 'Afbeelding 3',
46
+ '$label.image_content_4.label': 'Afbeelding 4',
47
+ '$label.image_link_1.label': 'Afbeelding 1 link',
48
+ '$label.image_link_2.label': 'Afbeelding 2 link',
49
+ '$label.image_link_3.label': 'Afbeelding 3 link',
50
+ '$label.image_link_4.label': 'Afbeelding 4 link',
51
+ '$label.image_link.placeholder': 'Voer een optionele URL in voor de afbeelding',
52
+ '$label.image_text_position.label': 'Positie van bijschrift afbeelding',
53
+ '$label.image_text_position.placeholder': 'Kies',
54
+ '$label.image_text_position.description': 'Selecteer de positie van het afbeeldingsbijschrift',
55
+ '$label.image_text_position.on.label': 'Op de afbeelding',
56
+ '$label.image_text_position.under.label': 'Onder de afbeelding',
57
+ '$label.background.label': 'Achtergrond',
58
+ },
59
+ } as const;
@@ -0,0 +1,160 @@
1
+ export default {
2
+ showcaseId: '1',
3
+ previewImage: {
4
+ set: {
5
+ ORIGINAL: {
6
+ url: 'custom_section_showcase_1_preview.jpg',
7
+ },
8
+ },
9
+ },
10
+ blockName: '$label.showcase_1.blockName',
11
+ content: {
12
+ section_title: {
13
+ type: 'INPUTBOX',
14
+ text: '$label.showcase_1.section_title.text',
15
+ },
16
+ section_description: {
17
+ type: 'TEXTAREA',
18
+ text: '$label.showcase_1.section_description.text',
19
+ },
20
+ image_text_1: {
21
+ type: 'TEXTAREA',
22
+ text: '$label.showcase_1.image_text_1.text',
23
+ },
24
+ image_text_2: {
25
+ type: 'TEXTAREA',
26
+ text: '$label.showcase_1.image_text_2.text',
27
+ },
28
+ image_text_3: {
29
+ type: 'TEXTAREA',
30
+ text: '$label.showcase_1.image_text_3.text',
31
+ },
32
+ image_text_4: {
33
+ type: 'TEXTAREA',
34
+ text: '$label.showcase_1.image_text_4.text',
35
+ },
36
+ image_content_1: {
37
+ type: 'IMAGE',
38
+ imageData: {
39
+ set: {
40
+ LOW_RES: {
41
+ url: 'new_arrivals_mobile_low.jpeg',
42
+ },
43
+ MOBILE_WEBP_LOW_RES: {
44
+ url: 'new_arrivals_mobile_low.jpeg',
45
+ },
46
+ MOBILE_WEBP_HI_RES: {
47
+ url: 'new_arrivals_mobile_high.jpeg',
48
+ },
49
+ WEBP_LOW_RES: {
50
+ url: 'new_arrivals_pc_low.jpeg',
51
+ },
52
+ WEBP_HI_2X_RES: {
53
+ url: 'new_arrivals_pc_high.jpeg',
54
+ },
55
+ },
56
+ borderInfo: {},
57
+ },
58
+ },
59
+ image_content_2: {
60
+ type: 'IMAGE',
61
+ imageData: {
62
+ set: {
63
+ LOW_RES: {
64
+ url: 'sport_look_mobile_low.jpeg',
65
+ },
66
+ MOBILE_WEBP_LOW_RES: {
67
+ url: 'sport_look_mobile_low.jpeg',
68
+ },
69
+ MOBILE_WEBP_HI_RES: {
70
+ url: 'sport_look_mobile_high.jpeg',
71
+ },
72
+ WEBP_LOW_RES: {
73
+ url: 'sport_look_pc_low.jpeg',
74
+ },
75
+ WEBP_HI_2X_RES: {
76
+ url: 'sport_look_pc_high.jpeg',
77
+ },
78
+ },
79
+ borderInfo: {},
80
+ },
81
+ },
82
+ image_content_3: {
83
+ type: 'IMAGE',
84
+ imageData: {
85
+ set: {
86
+ LOW_RES: {
87
+ url: 'summer_accessories_mobile_low.jpeg',
88
+ },
89
+ MOBILE_WEBP_LOW_RES: {
90
+ url: 'summer_accessories_mobile_low.jpeg',
91
+ },
92
+ MOBILE_WEBP_HI_RES: {
93
+ url: 'summer_accessories_mobile_high.jpeg',
94
+ },
95
+ WEBP_LOW_RES: {
96
+ url: 'summer_accessories_pc_low.jpeg',
97
+ },
98
+ WEBP_HI_2X_RES: {
99
+ url: 'summer_accessories_pc_high.jpeg',
100
+ },
101
+ },
102
+ borderInfo: {},
103
+ },
104
+ },
105
+ image_content_4: {
106
+ type: 'IMAGE',
107
+ imageData: {
108
+ set: {
109
+ LOW_RES: {
110
+ url: 'trending_footwear_mobile_low.jpeg',
111
+ },
112
+ MOBILE_WEBP_LOW_RES: {
113
+ url: 'trending_footwear_mobile_low.jpeg',
114
+ },
115
+ MOBILE_WEBP_HI_RES: {
116
+ url: 'trending_footwear_mobile_high.jpeg',
117
+ },
118
+ WEBP_LOW_RES: {
119
+ url: 'trending_footwear_pc_low.jpeg',
120
+ },
121
+ WEBP_HI_2X_RES: {
122
+ url: 'trending_footwear_pc_high.jpeg',
123
+ },
124
+ },
125
+ borderInfo: {},
126
+ },
127
+ },
128
+ image_link_1: {
129
+ type: 'TEXTAREA',
130
+ text: '$label.showcase_1.image_link_1.text',
131
+ },
132
+ },
133
+ design: {
134
+ section_title: {
135
+ type: 'TEXT',
136
+ font: 'global.fontFamily.body',
137
+ size: 44,
138
+ bold: true,
139
+ italic: false,
140
+ color: '#333',
141
+ },
142
+ image_text: {
143
+ type: 'TEXT',
144
+ size: 20,
145
+ bold: false,
146
+ italic: false,
147
+ color: '#FFFFFF',
148
+ },
149
+ background: {
150
+ type: 'BACKGROUND',
151
+ style: 'COLOR',
152
+ color: 'global.color.background',
153
+ },
154
+ image_content: {
155
+ type: 'IMAGE',
156
+ overlay: 'GRADIENT',
157
+ color: ['#FFFFFF', '#000000'],
158
+ },
159
+ },
160
+ } as const;
@@ -0,0 +1,156 @@
1
+ export default {
2
+ showcaseId: '2',
3
+ previewImage: {
4
+ set: {
5
+ ORIGINAL: {
6
+ url: 'custom_section_showcase_2_preview.png',
7
+ },
8
+ },
9
+ },
10
+ blockName: '$label.showcase_2.blockName',
11
+ content: {
12
+ section_title: {
13
+ type: 'INPUTBOX',
14
+ text: '$label.showcase_2.section_title.text',
15
+ },
16
+ image_text_1: {
17
+ type: 'TEXTAREA',
18
+ text: '$label.showcase_2.image_text_1.text',
19
+ },
20
+ image_text_2: {
21
+ type: 'TEXTAREA',
22
+ text: '$label.showcase_2.image_text_2.text',
23
+ },
24
+ image_text_3: {
25
+ type: 'TEXTAREA',
26
+ text: '$label.showcase_2.image_text_3.text',
27
+ },
28
+ image_text_4: {
29
+ type: 'TEXTAREA',
30
+ text: '$label.showcase_2.image_text_4.text',
31
+ },
32
+ image_content_1: {
33
+ type: 'IMAGE',
34
+ imageData: {
35
+ set: {
36
+ LOW_RES: {
37
+ url: 'new_tshirts_collection_mobile_low.jpeg',
38
+ },
39
+ MOBILE_WEBP_LOW_RES: {
40
+ url: 'new_tshirts_collection_mobile_low.jpeg',
41
+ },
42
+ MOBILE_WEBP_HI_RES: {
43
+ url: 'new_tshirts_collection_mobile_high.jpeg',
44
+ },
45
+ WEBP_LOW_RES: {
46
+ url: 'new_tshirts_collection_pc_low.jpeg',
47
+ },
48
+ WEBP_HI_2X_RES: {
49
+ url: 'new_tshirts_collection_pc_high.jpeg',
50
+ },
51
+ },
52
+ borderInfo: {},
53
+ },
54
+ },
55
+ image_content_2: {
56
+ type: 'IMAGE',
57
+ imageData: {
58
+ set: {
59
+ LOW_RES: {
60
+ url: 'autumn_looks_mobile_low.jpeg',
61
+ },
62
+ MOBILE_WEBP_LOW_RES: {
63
+ url: 'autumn_looks_mobile_low.jpeg',
64
+ },
65
+ MOBILE_WEBP_HI_RES: {
66
+ url: 'autumn_looks_mobile_high.jpeg',
67
+ },
68
+ WEBP_LOW_RES: {
69
+ url: 'autumn_looks_pc_low.jpeg',
70
+ },
71
+ WEBP_HI_2X_RES: {
72
+ url: 'autumn_looks_pc_high.jpeg',
73
+ },
74
+ },
75
+ borderInfo: {},
76
+ },
77
+ },
78
+ image_content_3: {
79
+ type: 'IMAGE',
80
+ imageData: {
81
+ set: {
82
+ LOW_RES: {
83
+ url: 'bianka_wardrobe_mobile_low.jpeg',
84
+ },
85
+ MOBILE_WEBP_LOW_RES: {
86
+ url: 'bianka_wardrobe_mobile_low.jpeg',
87
+ },
88
+ MOBILE_WEBP_HI_RES: {
89
+ url: 'bianka_wardrobe_mobile_high.jpeg',
90
+ },
91
+ WEBP_LOW_RES: {
92
+ url: 'bianka_wardrobe_pc_low.jpeg',
93
+ },
94
+ WEBP_HI_2X_RES: {
95
+ url: 'bianka_wardrobe_pc_high.jpeg',
96
+ },
97
+ },
98
+ borderInfo: {},
99
+ },
100
+ },
101
+ image_content_4: {
102
+ type: 'IMAGE',
103
+ imageData: {
104
+ set: {
105
+ LOW_RES: {
106
+ url: 'story_of_jane_mobile_low.jpeg',
107
+ },
108
+ MOBILE_WEBP_LOW_RES: {
109
+ url: 'story_of_jane_mobile_low.jpeg',
110
+ },
111
+ MOBILE_WEBP_HI_RES: {
112
+ url: 'story_of_jane_mobile_high.jpeg',
113
+ },
114
+ WEBP_LOW_RES: {
115
+ url: 'story_of_jane_pc_low.jpeg',
116
+ },
117
+ WEBP_HI_2X_RES: {
118
+ url: 'story_of_jane_pc_high.jpeg',
119
+ },
120
+ },
121
+ borderInfo: {},
122
+ },
123
+ },
124
+ image_link_1: {
125
+ type: 'TEXTAREA',
126
+ text: '$label.showcase_2.image_link_1.text',
127
+ },
128
+ },
129
+ design: {
130
+ section_title: {
131
+ type: 'TEXT',
132
+ font: 'global.fontFamily.body',
133
+ size: 44,
134
+ bold: true,
135
+ italic: false,
136
+ color: '#333',
137
+ },
138
+ image_text: {
139
+ type: 'TEXT',
140
+ size: 20,
141
+ bold: false,
142
+ italic: false,
143
+ color: '#FFFFFF',
144
+ },
145
+ background: {
146
+ type: 'BACKGROUND',
147
+ style: 'COLOR',
148
+ color: 'global.color.background',
149
+ },
150
+ image_content: {
151
+ type: 'IMAGE',
152
+ overlay: 'GRADIENT',
153
+ color: ['#FFFFFF', '#000000'],
154
+ },
155
+ },
156
+ } as const;
@@ -0,0 +1,41 @@
1
+ export default {
2
+ en: {
3
+ '$label.showcase_1.blockName': 'Reference Section — Retail',
4
+ '$label.showcase_1.section_title.text': 'Trending collections',
5
+ '$label.showcase_1.section_description.text': 'Discover our favorite pieces this season, and indulge yourself in '
6
+ + 'these timeless pieces suitable for every occasion. We offer free shipping and returns, and 24/7 fashion '
7
+ + 'advice through our mobile app.',
8
+ '$label.showcase_1.image_text_1.text': 'New Arrivals',
9
+ '$label.showcase_1.image_text_2.text': 'Sport look',
10
+ '$label.showcase_1.image_text_3.text': 'Summer accessories',
11
+ '$label.showcase_1.image_text_4.text': 'Trending footwear',
12
+ '$label.showcase_1.image_link_1.text': '/products',
13
+ '$label.showcase_2.blockName': 'Reference section — Apparel',
14
+ '$label.showcase_2.section_title.text': 'Trending collections',
15
+ '$label.showcase_2.image_text_1.text': 'New t-shirts collection',
16
+ '$label.showcase_2.image_text_2.text': 'Autumn looks',
17
+ '$label.showcase_2.image_text_3.text': 'Bianka\'s wardrobe',
18
+ '$label.showcase_2.image_text_4.text': 'Story of Jane',
19
+ '$label.showcase_2.image_link_1.text': '/products',
20
+ },
21
+
22
+ nl: {
23
+ '$label.showcase_1.blockName': 'Referentiesectie — Detailhandel',
24
+ '$label.showcase_1.section_title.text': 'Trending collecties',
25
+ '$label.showcase_1.section_description.text': 'Ontdek onze favoriete stukken van dit seizoen en verwen jezelf met '
26
+ + 'deze tijdloze stukken die geschikt zijn voor elke gelegenheid. Wij bieden gratis verzending en retourneren, '
27
+ + 'en 24/7 modeadvies via onze mobiele app.',
28
+ '$label.showcase_1.image_text_1.text': 'Nieuw binnen',
29
+ '$label.showcase_1.image_text_2.text': 'Sportieve look',
30
+ '$label.showcase_1.image_text_3.text': 'Zomeraccessoires',
31
+ '$label.showcase_1.image_text_4.text': 'Trending schoenen',
32
+ '$label.showcase_1.image_link_1.text': '/products',
33
+ '$label.showcase_2.blockName': 'Referentiesectie — Kleding',
34
+ '$label.showcase_2.section_title.text': 'Trending collecties',
35
+ '$label.showcase_2.image_text_1.text': 'Nieuwe t-shirtscollectie',
36
+ '$label.showcase_2.image_text_2.text': 'Herfstlooks',
37
+ '$label.showcase_2.image_text_3.text': 'Bianka\'s kledingkast',
38
+ '$label.showcase_2.image_text_4.text': 'Verhaal van Jane',
39
+ '$label.showcase_2.image_link_1.text': '/products',
40
+ },
41
+ } as const;
@@ -18,126 +18,149 @@ export default {
18
18
  },
19
19
  {
20
20
  type: 'custom',
21
- id: 'block-example'
21
+ id: 'example-section'
22
22
  },
23
23
  {
24
24
  type: 'custom',
25
- id: 'block-example',
25
+ id: 'example-section',
26
26
  content: {
27
- inputbox: {
27
+ section_title: {
28
28
  type: 'INPUTBOX',
29
- label: '$label.inputbox.label',
30
- placeholder: '$label.inputbox.placeholder',
29
+ label: '$label.section_title.label',
30
+ placeholder: '$label.section_title.placeholder',
31
31
  },
32
- textarea: {
32
+ section_description: {
33
33
  type: 'TEXTAREA',
34
- label: '$label.textarea.label',
35
- placeholder: '$label.textarea.placeholder',
34
+ label: '$label.section_description.label',
35
+ placeholder: '$label.section_description.placeholder',
36
36
  },
37
- button: {
38
- type: 'BUTTON',
39
- label: '$label.button.label',
37
+ image_content_1: {
38
+ type: 'IMAGE',
39
+ label: '$label.image_content_1.label',
40
+ },
41
+ image_text_1: {
42
+ type: 'TEXTAREA',
43
+ label: '$label.image_text_1.label',
44
+ placeholder: '$label.image_text.placeholder',
45
+ },
46
+ image_link_1: {
47
+ type: 'INPUTBOX',
48
+ label: '$label.image_link_1.label',
49
+ placeholder: '$label.image_link.placeholder',
40
50
  },
41
- image: {
51
+ image_content_2: {
42
52
  type: 'IMAGE',
43
- label: '$label.image.label',
53
+ label: '$label.image_content_2.label',
44
54
  },
45
- toggle: {
46
- type: 'TOGGLE',
47
- label: '$label.toggle.label',
48
- description: '$label.toggle.description',
55
+ image_text_2: {
56
+ type: 'TEXTAREA',
57
+ label: '$label.image_text_2.label',
58
+ placeholder: '$label.image_text.placeholder',
59
+ },
60
+ image_link_2: {
61
+ type: 'INPUTBOX',
62
+ label: '$label.image_link_2.label',
63
+ placeholder: '$label.image_link.placeholder',
64
+ },
65
+ image_content_3: {
66
+ type: 'IMAGE',
67
+ label: '$label.image_content_3.label',
68
+ },
69
+ image_text_3: {
70
+ type: 'TEXTAREA',
71
+ label: '$label.image_text_3.label',
72
+ placeholder: '$label.image_text.placeholder',
73
+ },
74
+ image_link_3: {
75
+ type: 'INPUTBOX',
76
+ label: '$label.image_link_3.label',
77
+ placeholder: '$label.image_link.placeholder',
78
+ },
79
+ image_content_4: {
80
+ type: 'IMAGE',
81
+ label: '$label.image_content_4.label',
82
+ },
83
+ image_text_4: {
84
+ type: 'TEXTAREA',
85
+ label: '$label.image_text_4.label',
86
+ placeholder: '$label.image_text.placeholder',
87
+ },
88
+ image_link_4: {
89
+ type: 'INPUTBOX',
90
+ label: '$label.image_link_4.label',
91
+ placeholder: '$label.image_link.placeholder',
49
92
  },
50
- selectbox: {
51
- type: 'SELECTBOX',
52
- label: '$label.selectbox.label',
53
- placeholder: '$label.selectbox.placeholder',
54
- description: '$label.selectbox.description',
55
- options: [
56
- {
57
- value: 'one',
58
- label: '$label.selectbox.one.label',
59
- },
60
- {
61
- value: 'two',
62
- label: '$label.selectbox.two.label',
63
- }
64
- ]
65
- }
66
93
  },
67
94
  design: {
68
- inputbox: {
95
+ section_title: {
69
96
  type: 'TEXT',
70
- label: '$label.inputbox.label',
97
+ label: '$label.section_title.label',
71
98
  colors: ['#FFFFFF66', '#0000004D', '#00000099', '#64C7FF66', '#F9947266', '#C794CD66', '#FFD17466'],
72
- sizes: [12, 13, 14, 15, 16, 17, 18, 20],
99
+ sizes: [18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60],
73
100
  defaults: {
74
101
  font: 'global.fontFamily.body',
75
- size: 18,
102
+ size: 40,
76
103
  bold: true,
77
104
  italic: false,
78
- color: '#333'
79
- }
105
+ color: '#313131',
106
+ visible: true,
107
+ },
80
108
  },
81
- textarea: {
109
+ section_description: {
82
110
  type: 'TEXT',
83
- label: '$label.textarea.label',
111
+ label: '$label.section_description.label',
84
112
  colors: ['#FFFFFF66', '#0000004D', '#00000099', '#64C7FF66', '#F9947266', '#C794CD66', '#FFD17466'],
85
113
  sizes: [12, 13, 14, 15, 16, 17, 18, 20],
86
114
  defaults: {
87
115
  font: 'global.fontFamily.body',
88
- size: 16,
116
+ size: 18,
89
117
  bold: false,
90
118
  italic: true,
91
- color: '#333'
92
- }
119
+ color: '#313131',
120
+ visible: true,
121
+ },
93
122
  },
94
- button: {
95
- type: 'BUTTON',
96
- label: '$label.button.label',
123
+ image_text: {
124
+ type: 'TEXT',
125
+ label: '$label.image_text.label',
97
126
  colors: ['#FFFFFF66', '#0000004D', '#00000099', '#64C7FF66', '#F9947266', '#C794CD66', '#FFD17466'],
127
+ sizes: [12, 13, 14, 15, 16, 17, 18, 20],
98
128
  defaults: {
99
129
  font: 'global.fontFamily.body',
100
- size: 'MEDIUM',
101
- appearance: 'OUTLINE',
102
- shape: 'PILL',
103
- color: '#333'
104
- }
130
+ size: 16,
131
+ bold: false,
132
+ italic: true,
133
+ color: '#333',
134
+ visible: true,
135
+ },
105
136
  },
106
- image: {
137
+ image_content: {
107
138
  type: 'IMAGE',
108
- label: '$label.image.label',
139
+ label: '$label.image_content.label',
109
140
  colors: ['#FFFFFF66', '#0000004D', '#00000099', '#64C7FF66', '#F9947266', '#C794CD66', '#FFD17466'],
110
141
  defaults: {
111
142
  overlay: 'COLOR',
112
- color: '#333'
113
- }
143
+ color: '#333',
144
+ },
114
145
  },
115
- toggle: {
116
- type: 'TOGGLE',
117
- label: '$label.toggle.label',
118
- description: '$label.toggle.description',
119
- defaults: {
120
- enabled: true
121
- }
122
- },
123
- selectbox: {
146
+ image_text_position: {
124
147
  type: 'SELECTBOX',
125
- label: '$label.selectbox.label',
126
- placeholder: '$label.selectbox.placeholder',
127
- description: '$label.selectbox.description',
148
+ label: '$label.image_text_position.label',
149
+ placeholder: '$label.image_text_position.placeholder',
150
+ description: '$label.image_text_position.description',
128
151
  options: [
129
152
  {
130
- value: 'one',
131
- label: '$label.selectbox.one.label',
153
+ value: 'on',
154
+ label: '$label.image_text_position.on.label',
132
155
  },
133
156
  {
134
- value: 'two',
135
- label: '$label.selectbox.two.label',
136
- }
157
+ value: 'under',
158
+ label: '$label.image_text_position.under.label',
159
+ },
137
160
  ],
138
161
  defaults: {
139
- value: 'two'
140
- }
162
+ value: 'on',
163
+ },
141
164
  },
142
165
  background: {
143
166
  type: 'BACKGROUND',
@@ -145,10 +168,10 @@ export default {
145
168
  colors: ['#FFFFFF66', '#0000004D', '#00000099', '#64C7FF66', '#F9947266', '#C794CD66', '#FFD17466'],
146
169
  defaults: {
147
170
  style: 'COLOR',
148
- color: 'global.color.background'
149
- }
150
- }
151
- }
171
+ color: 'global.color.background',
172
+ },
173
+ },
174
+ },
152
175
  },
153
176
  {
154
177
  type: 'default',