@gem-sdk/components 2.0.0-dev.412 → 2.0.0-dev.413
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/cjs/form/components/contact/common/composeStyles.js +3 -0
- package/dist/cjs/form/components/form-email/FormEmail.js +19 -18
- package/dist/cjs/form/components/form-email/FormEmail.liquid.js +6 -1
- package/dist/cjs/form/components/form-email/common/composeClasses.js +2 -2
- package/dist/cjs/form/components/textarea/TextArea.js +10 -18
- package/dist/cjs/form/components/textarea/TextArea.liquid.js +2 -2
- package/dist/cjs/form/components/textarea/common/composeStyles.js +8 -4
- package/dist/cjs/form/components/textfield/TextField.js +11 -19
- package/dist/cjs/form/components/textfield/TextField.liquid.js +2 -2
- package/dist/cjs/form/components/textfield/common/composeClasses.js +1 -1
- package/dist/cjs/form/components/textfield/common/composeStyles.js +11 -4
- package/dist/cjs/form/components/textinput/common/composeClasses.js +1 -1
- package/dist/cjs/form/setting/contact/ContactInitConfig.js +243 -12
- package/dist/cjs/form/setting/form-checkbox/configs/uiV2.js +56 -56
- package/dist/cjs/form/setting/form-dropdown/configs/uiV2.js +115 -121
- package/dist/cjs/form/setting/form-email/configs/settings.js +2 -1
- package/dist/cjs/form/setting/form-email/configs/uiV2.js +200 -205
- package/dist/cjs/form/setting/form-textarea/configs/settings.js +56 -0
- package/dist/cjs/form/setting/form-textarea/configs/uiV2.js +61 -5
- package/dist/cjs/form/setting/newsletter/NewsletterInitConfig.js +15 -0
- package/dist/cjs/form/setting/newsletter/configs/settings.js +77 -1
- package/dist/cjs/form/setting/newsletter/configs/uiV2.js +5 -8
- package/dist/cjs/form/setting/text-field/configs/settings.js +57 -0
- package/dist/cjs/form/setting/text-field/configs/uiV2.js +82 -5
- package/dist/esm/form/components/contact/common/composeStyles.js +4 -1
- package/dist/esm/form/components/form-email/FormEmail.js +19 -18
- package/dist/esm/form/components/form-email/FormEmail.liquid.js +6 -1
- package/dist/esm/form/components/form-email/common/composeClasses.js +2 -2
- package/dist/esm/form/components/textarea/TextArea.js +10 -18
- package/dist/esm/form/components/textarea/TextArea.liquid.js +2 -2
- package/dist/esm/form/components/textarea/common/composeStyles.js +9 -5
- package/dist/esm/form/components/textfield/TextField.js +11 -19
- package/dist/esm/form/components/textfield/TextField.liquid.js +2 -2
- package/dist/esm/form/components/textfield/common/composeClasses.js +1 -1
- package/dist/esm/form/components/textfield/common/composeStyles.js +12 -5
- package/dist/esm/form/components/textinput/common/composeClasses.js +1 -1
- package/dist/esm/form/setting/contact/ContactInitConfig.js +243 -12
- package/dist/esm/form/setting/form-checkbox/configs/uiV2.js +56 -56
- package/dist/esm/form/setting/form-dropdown/configs/uiV2.js +115 -121
- package/dist/esm/form/setting/form-email/configs/settings.js +2 -1
- package/dist/esm/form/setting/form-email/configs/uiV2.js +200 -205
- package/dist/esm/form/setting/form-textarea/configs/settings.js +56 -0
- package/dist/esm/form/setting/form-textarea/configs/uiV2.js +61 -5
- package/dist/esm/form/setting/newsletter/NewsletterInitConfig.js +15 -0
- package/dist/esm/form/setting/newsletter/configs/settings.js +77 -1
- package/dist/esm/form/setting/newsletter/configs/uiV2.js +5 -8
- package/dist/esm/form/setting/text-field/configs/settings.js +57 -0
- package/dist/esm/form/setting/text-field/configs/uiV2.js +82 -5
- package/dist/types/index.d.ts +17 -34
- package/package.json +2 -2
|
@@ -127,62 +127,62 @@ const SettingUIV2 = [
|
|
|
127
127
|
}
|
|
128
128
|
]
|
|
129
129
|
},
|
|
130
|
-
{
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
},
|
|
130
|
+
// {
|
|
131
|
+
// label: {
|
|
132
|
+
// en: 'Background',
|
|
133
|
+
// },
|
|
134
|
+
// controls: [
|
|
135
|
+
// {
|
|
136
|
+
// setting: {
|
|
137
|
+
// id: 'background',
|
|
138
|
+
// },
|
|
139
|
+
// layout: 'vertical',
|
|
140
|
+
// },
|
|
141
|
+
// ],
|
|
142
|
+
// },
|
|
143
|
+
// {
|
|
144
|
+
// label: {
|
|
145
|
+
// en: 'Shape',
|
|
146
|
+
// },
|
|
147
|
+
// controls: [
|
|
148
|
+
// {
|
|
149
|
+
// label: {
|
|
150
|
+
// en: 'Border',
|
|
151
|
+
// },
|
|
152
|
+
// controlConfig: {
|
|
153
|
+
// id: 'border',
|
|
154
|
+
// type: 'border-v2',
|
|
155
|
+
// linkWithSetting: {
|
|
156
|
+
// name: 'wrapperBorder',
|
|
157
|
+
// },
|
|
158
|
+
// },
|
|
159
|
+
// },
|
|
160
|
+
// {
|
|
161
|
+
// label: {
|
|
162
|
+
// en: 'Corner',
|
|
163
|
+
// },
|
|
164
|
+
// controlConfig: {
|
|
165
|
+
// id: 'corner',
|
|
166
|
+
// type: 'corner-v2',
|
|
167
|
+
// linkWithSetting: {
|
|
168
|
+
// name: 'borderRadius',
|
|
169
|
+
// },
|
|
170
|
+
// },
|
|
171
|
+
// },
|
|
172
|
+
// {
|
|
173
|
+
// label: {
|
|
174
|
+
// en: 'Shadow',
|
|
175
|
+
// },
|
|
176
|
+
// controlConfig: {
|
|
177
|
+
// id: 'shadow',
|
|
178
|
+
// type: 'shadow-v2',
|
|
179
|
+
// linkWithSetting: {
|
|
180
|
+
// name: 'shadow',
|
|
181
|
+
// },
|
|
182
|
+
// },
|
|
183
|
+
// },
|
|
184
|
+
// ],
|
|
185
|
+
// },
|
|
186
186
|
{
|
|
187
187
|
label: {
|
|
188
188
|
en: 'Configuration'
|
|
@@ -196,127 +196,121 @@ const SettingUIV2 = [
|
|
|
196
196
|
}
|
|
197
197
|
]
|
|
198
198
|
},
|
|
199
|
-
{
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
{
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
id: 'boxShadowActive',
|
|
315
|
-
state: 'active'
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
]
|
|
319
|
-
},
|
|
199
|
+
// {
|
|
200
|
+
// label: {
|
|
201
|
+
// en: 'Shape',
|
|
202
|
+
// },
|
|
203
|
+
// controls: [
|
|
204
|
+
// {
|
|
205
|
+
// label: {
|
|
206
|
+
// en: 'Border',
|
|
207
|
+
// },
|
|
208
|
+
// setting: {
|
|
209
|
+
// id: 'border',
|
|
210
|
+
// state: 'normal',
|
|
211
|
+
// },
|
|
212
|
+
// },
|
|
213
|
+
// {
|
|
214
|
+
// label: {
|
|
215
|
+
// en: 'Corner',
|
|
216
|
+
// },
|
|
217
|
+
// setting: {
|
|
218
|
+
// id: 'rounded',
|
|
219
|
+
// state: 'normal',
|
|
220
|
+
// },
|
|
221
|
+
// },
|
|
222
|
+
// {
|
|
223
|
+
// label: {
|
|
224
|
+
// en: 'Shadow',
|
|
225
|
+
// },
|
|
226
|
+
// setting: {
|
|
227
|
+
// id: 'boxShadow',
|
|
228
|
+
// state: 'normal',
|
|
229
|
+
// },
|
|
230
|
+
// options: {
|
|
231
|
+
// updateFields: [
|
|
232
|
+
// {
|
|
233
|
+
// field: 'enable',
|
|
234
|
+
// settingId: 'hasBoxShadow',
|
|
235
|
+
// state: 'normal',
|
|
236
|
+
// },
|
|
237
|
+
// ],
|
|
238
|
+
// },
|
|
239
|
+
// controlChangeTrigger: {
|
|
240
|
+
// settings: [
|
|
241
|
+
// {
|
|
242
|
+
// condition: `boxShadow.normal.enable === true`,
|
|
243
|
+
// source: ['boxShadow', 'hasBoxShadow'],
|
|
244
|
+
// action: {
|
|
245
|
+
// controlId: 'hasBoxShadow',
|
|
246
|
+
// groupType: 'advanced',
|
|
247
|
+
// controlType: 'advanced',
|
|
248
|
+
// state: 'normal',
|
|
249
|
+
// newValue: true,
|
|
250
|
+
// },
|
|
251
|
+
// },
|
|
252
|
+
// {
|
|
253
|
+
// condition: `boxShadow.normal.enable === false`,
|
|
254
|
+
// source: ['boxShadow', 'hasBoxShadow'],
|
|
255
|
+
// action: {
|
|
256
|
+
// controlId: 'hasBoxShadow',
|
|
257
|
+
// groupType: 'advanced',
|
|
258
|
+
// controlType: 'advanced',
|
|
259
|
+
// state: 'normal',
|
|
260
|
+
// newValue: false,
|
|
261
|
+
// },
|
|
262
|
+
// },
|
|
263
|
+
// ],
|
|
264
|
+
// options: {
|
|
265
|
+
// noRecordHistory: true,
|
|
266
|
+
// },
|
|
267
|
+
// },
|
|
268
|
+
// },
|
|
269
|
+
// ],
|
|
270
|
+
// },
|
|
271
|
+
// {
|
|
272
|
+
// label: {
|
|
273
|
+
// en: 'Active state',
|
|
274
|
+
// },
|
|
275
|
+
// controls: [
|
|
276
|
+
// {
|
|
277
|
+
// label: {
|
|
278
|
+
// en: 'Background',
|
|
279
|
+
// },
|
|
280
|
+
// setting: {
|
|
281
|
+
// id: 'backgroundColorV2Active',
|
|
282
|
+
// state: 'active',
|
|
283
|
+
// },
|
|
284
|
+
// },
|
|
285
|
+
// {
|
|
286
|
+
// label: {
|
|
287
|
+
// en: 'Border',
|
|
288
|
+
// },
|
|
289
|
+
// setting: {
|
|
290
|
+
// id: 'borderActive',
|
|
291
|
+
// state: 'active',
|
|
292
|
+
// },
|
|
293
|
+
// },
|
|
294
|
+
// {
|
|
295
|
+
// label: {
|
|
296
|
+
// en: 'Corner',
|
|
297
|
+
// },
|
|
298
|
+
// setting: {
|
|
299
|
+
// id: 'roundedActive',
|
|
300
|
+
// state: 'active',
|
|
301
|
+
// },
|
|
302
|
+
// },
|
|
303
|
+
// {
|
|
304
|
+
// label: {
|
|
305
|
+
// en: 'Shadow',
|
|
306
|
+
// },
|
|
307
|
+
// setting: {
|
|
308
|
+
// id: 'boxShadowActive',
|
|
309
|
+
// state: 'active',
|
|
310
|
+
// },
|
|
311
|
+
// },
|
|
312
|
+
// ],
|
|
313
|
+
// },
|
|
320
314
|
{
|
|
321
315
|
label: {
|
|
322
316
|
en: 'Configuration'
|
|
@@ -49,6 +49,7 @@ const FormEmailSettings = [
|
|
|
49
49
|
type: 'paragraph-1'
|
|
50
50
|
},
|
|
51
51
|
hiddenSetting: {
|
|
52
|
+
color: true,
|
|
52
53
|
textAlign: true,
|
|
53
54
|
textShadow: true,
|
|
54
55
|
fontWeight: true,
|
|
@@ -108,7 +109,7 @@ const FormEmailSettings = [
|
|
|
108
109
|
desktop: {
|
|
109
110
|
default: {
|
|
110
111
|
type: 'color',
|
|
111
|
-
color: '
|
|
112
|
+
color: '#FFFFFF'
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
115
|
},
|