@gem-sdk/components 2.0.0-dev.413 → 2.0.0-dev.414
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/article/setting/configs/ArticleDate/uiV2.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleExcerpt/settings.js +4 -1
- package/dist/cjs/article/setting/configs/ArticleExcerpt/uiV2.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleImage/uiV2.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleReadMore/uiV2.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleTitle/presets.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleTitle/settings.js +2 -2
- package/dist/cjs/dialog/setting/configs/settings.js +25 -15
- package/dist/cjs/dialog/setting/configs/uiV2.js +11 -2
- package/dist/esm/article/setting/configs/ArticleDate/uiV2.js +1 -1
- package/dist/esm/article/setting/configs/ArticleExcerpt/settings.js +4 -1
- package/dist/esm/article/setting/configs/ArticleExcerpt/uiV2.js +1 -1
- package/dist/esm/article/setting/configs/ArticleImage/uiV2.js +1 -1
- package/dist/esm/article/setting/configs/ArticleReadMore/uiV2.js +1 -1
- package/dist/esm/article/setting/configs/ArticleTitle/presets.js +1 -1
- package/dist/esm/article/setting/configs/ArticleTitle/settings.js +2 -2
- package/dist/esm/dialog/setting/configs/settings.js +25 -15
- package/dist/esm/dialog/setting/configs/uiV2.js +11 -2
- package/package.json +1 -1
|
@@ -541,7 +541,7 @@ const uiV2 = [
|
|
|
541
541
|
options: {
|
|
542
542
|
labelVariant: 'primary',
|
|
543
543
|
fullWidth: true,
|
|
544
|
-
disableMessage: `
|
|
544
|
+
disableMessage: `Horizontal alignment is disabled when the width is set to 100% or greater`
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
]
|
|
@@ -38,7 +38,7 @@ const ArticleTitleSettings = [
|
|
|
38
38
|
label: 'Div'
|
|
39
39
|
}
|
|
40
40
|
],
|
|
41
|
-
default: '
|
|
41
|
+
default: 'h2'
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
id: 'enableLink',
|
|
@@ -56,7 +56,7 @@ const ArticleTitleSettings = [
|
|
|
56
56
|
value: 'go-to-article'
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
label: '
|
|
59
|
+
label: 'Scroll to',
|
|
60
60
|
value: 'scroll-to'
|
|
61
61
|
}
|
|
62
62
|
],
|
|
@@ -130,18 +130,22 @@ const DialogSettings = [
|
|
|
130
130
|
units: [
|
|
131
131
|
'%'
|
|
132
132
|
],
|
|
133
|
-
useOnlyUnitInit: true
|
|
133
|
+
useOnlyUnitInit: true,
|
|
134
|
+
showDefaultUnit: true,
|
|
135
|
+
isNumber: true
|
|
134
136
|
},
|
|
135
137
|
{
|
|
136
138
|
id: 'triggerTime',
|
|
137
139
|
type: 'input:slider',
|
|
138
140
|
min: 0,
|
|
139
|
-
default:
|
|
141
|
+
default: 0,
|
|
140
142
|
max: 100,
|
|
141
143
|
units: [
|
|
142
144
|
's'
|
|
143
145
|
],
|
|
144
|
-
useOnlyUnitInit: true
|
|
146
|
+
useOnlyUnitInit: true,
|
|
147
|
+
showDefaultUnit: true,
|
|
148
|
+
isNumber: true
|
|
145
149
|
},
|
|
146
150
|
{
|
|
147
151
|
id: 'triggerPercentage',
|
|
@@ -152,7 +156,9 @@ const DialogSettings = [
|
|
|
152
156
|
min: 0,
|
|
153
157
|
max: 100,
|
|
154
158
|
default: 10,
|
|
155
|
-
useOnlyUnitInit: true
|
|
159
|
+
useOnlyUnitInit: true,
|
|
160
|
+
showDefaultUnit: true,
|
|
161
|
+
isNumber: true
|
|
156
162
|
},
|
|
157
163
|
{
|
|
158
164
|
id: 'frequency',
|
|
@@ -163,7 +169,9 @@ const DialogSettings = [
|
|
|
163
169
|
units: [
|
|
164
170
|
'days'
|
|
165
171
|
],
|
|
166
|
-
useOnlyUnitInit: true
|
|
172
|
+
useOnlyUnitInit: true,
|
|
173
|
+
showDefaultUnit: true,
|
|
174
|
+
isNumber: true
|
|
167
175
|
},
|
|
168
176
|
{
|
|
169
177
|
id: 'frequencyMode',
|
|
@@ -191,12 +199,16 @@ const DialogSettings = [
|
|
|
191
199
|
},
|
|
192
200
|
{
|
|
193
201
|
id: 'iconSize',
|
|
194
|
-
type: 'input:
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
],
|
|
198
|
-
default: '12px'
|
|
202
|
+
type: 'input:stepper',
|
|
203
|
+
default: '12px',
|
|
204
|
+
includeUnit: 'px'
|
|
199
205
|
},
|
|
206
|
+
// {
|
|
207
|
+
// id: 'iconSize',
|
|
208
|
+
// type: 'input:unit',
|
|
209
|
+
// units: ['px'],
|
|
210
|
+
// default: '12px',
|
|
211
|
+
// },
|
|
200
212
|
{
|
|
201
213
|
id: 'btnBg',
|
|
202
214
|
type: 'color-picker-v2',
|
|
@@ -219,10 +231,6 @@ const DialogSettings = [
|
|
|
219
231
|
label: 'After page loaded',
|
|
220
232
|
value: 'show-on-page-load'
|
|
221
233
|
},
|
|
222
|
-
{
|
|
223
|
-
label: 'After a time',
|
|
224
|
-
value: 'show-after-time'
|
|
225
|
-
},
|
|
226
234
|
{
|
|
227
235
|
label: 'Scroll partially',
|
|
228
236
|
value: 'show-after-scroll'
|
|
@@ -258,7 +266,9 @@ const DialogSettings = [
|
|
|
258
266
|
units: [
|
|
259
267
|
's'
|
|
260
268
|
],
|
|
261
|
-
useOnlyUnitInit: true
|
|
269
|
+
useOnlyUnitInit: true,
|
|
270
|
+
showDefaultUnit: true,
|
|
271
|
+
isNumber: true
|
|
262
272
|
},
|
|
263
273
|
{
|
|
264
274
|
id: 'btnRounded',
|
|
@@ -148,10 +148,19 @@ const SettingUIV2 = [
|
|
|
148
148
|
name: 'spacing-setting',
|
|
149
149
|
field: 'padding'
|
|
150
150
|
},
|
|
151
|
+
devices: {
|
|
152
|
+
desktop: {
|
|
153
|
+
default: {
|
|
154
|
+
top: '32px',
|
|
155
|
+
bottom: '32px',
|
|
156
|
+
left: '32px',
|
|
157
|
+
right: '32px'
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
151
161
|
compoDefaultValue: {
|
|
152
162
|
desktop: {
|
|
153
163
|
default: {
|
|
154
|
-
type: 'medium',
|
|
155
164
|
top: '32px',
|
|
156
165
|
bottom: '32px',
|
|
157
166
|
left: '32px',
|
|
@@ -302,7 +311,7 @@ const SettingUIV2 = [
|
|
|
302
311
|
{
|
|
303
312
|
conditionDisplay: `trigger === 'show-after-time' || trigger === 'show-on-page-load'`,
|
|
304
313
|
label: {
|
|
305
|
-
en: '
|
|
314
|
+
en: 'Delay'
|
|
306
315
|
},
|
|
307
316
|
setting: {
|
|
308
317
|
id: 'triggerTime'
|
|
@@ -539,7 +539,7 @@ const uiV2 = [
|
|
|
539
539
|
options: {
|
|
540
540
|
labelVariant: 'primary',
|
|
541
541
|
fullWidth: true,
|
|
542
|
-
disableMessage: `
|
|
542
|
+
disableMessage: `Horizontal alignment is disabled when the width is set to 100% or greater`
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
]
|
|
@@ -36,7 +36,7 @@ const ArticleTitleSettings = [
|
|
|
36
36
|
label: 'Div'
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
|
-
default: '
|
|
39
|
+
default: 'h2'
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
id: 'enableLink',
|
|
@@ -54,7 +54,7 @@ const ArticleTitleSettings = [
|
|
|
54
54
|
value: 'go-to-article'
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
label: '
|
|
57
|
+
label: 'Scroll to',
|
|
58
58
|
value: 'scroll-to'
|
|
59
59
|
}
|
|
60
60
|
],
|
|
@@ -128,18 +128,22 @@ const DialogSettings = [
|
|
|
128
128
|
units: [
|
|
129
129
|
'%'
|
|
130
130
|
],
|
|
131
|
-
useOnlyUnitInit: true
|
|
131
|
+
useOnlyUnitInit: true,
|
|
132
|
+
showDefaultUnit: true,
|
|
133
|
+
isNumber: true
|
|
132
134
|
},
|
|
133
135
|
{
|
|
134
136
|
id: 'triggerTime',
|
|
135
137
|
type: 'input:slider',
|
|
136
138
|
min: 0,
|
|
137
|
-
default:
|
|
139
|
+
default: 0,
|
|
138
140
|
max: 100,
|
|
139
141
|
units: [
|
|
140
142
|
's'
|
|
141
143
|
],
|
|
142
|
-
useOnlyUnitInit: true
|
|
144
|
+
useOnlyUnitInit: true,
|
|
145
|
+
showDefaultUnit: true,
|
|
146
|
+
isNumber: true
|
|
143
147
|
},
|
|
144
148
|
{
|
|
145
149
|
id: 'triggerPercentage',
|
|
@@ -150,7 +154,9 @@ const DialogSettings = [
|
|
|
150
154
|
min: 0,
|
|
151
155
|
max: 100,
|
|
152
156
|
default: 10,
|
|
153
|
-
useOnlyUnitInit: true
|
|
157
|
+
useOnlyUnitInit: true,
|
|
158
|
+
showDefaultUnit: true,
|
|
159
|
+
isNumber: true
|
|
154
160
|
},
|
|
155
161
|
{
|
|
156
162
|
id: 'frequency',
|
|
@@ -161,7 +167,9 @@ const DialogSettings = [
|
|
|
161
167
|
units: [
|
|
162
168
|
'days'
|
|
163
169
|
],
|
|
164
|
-
useOnlyUnitInit: true
|
|
170
|
+
useOnlyUnitInit: true,
|
|
171
|
+
showDefaultUnit: true,
|
|
172
|
+
isNumber: true
|
|
165
173
|
},
|
|
166
174
|
{
|
|
167
175
|
id: 'frequencyMode',
|
|
@@ -189,12 +197,16 @@ const DialogSettings = [
|
|
|
189
197
|
},
|
|
190
198
|
{
|
|
191
199
|
id: 'iconSize',
|
|
192
|
-
type: 'input:
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
],
|
|
196
|
-
default: '12px'
|
|
200
|
+
type: 'input:stepper',
|
|
201
|
+
default: '12px',
|
|
202
|
+
includeUnit: 'px'
|
|
197
203
|
},
|
|
204
|
+
// {
|
|
205
|
+
// id: 'iconSize',
|
|
206
|
+
// type: 'input:unit',
|
|
207
|
+
// units: ['px'],
|
|
208
|
+
// default: '12px',
|
|
209
|
+
// },
|
|
198
210
|
{
|
|
199
211
|
id: 'btnBg',
|
|
200
212
|
type: 'color-picker-v2',
|
|
@@ -217,10 +229,6 @@ const DialogSettings = [
|
|
|
217
229
|
label: 'After page loaded',
|
|
218
230
|
value: 'show-on-page-load'
|
|
219
231
|
},
|
|
220
|
-
{
|
|
221
|
-
label: 'After a time',
|
|
222
|
-
value: 'show-after-time'
|
|
223
|
-
},
|
|
224
232
|
{
|
|
225
233
|
label: 'Scroll partially',
|
|
226
234
|
value: 'show-after-scroll'
|
|
@@ -256,7 +264,9 @@ const DialogSettings = [
|
|
|
256
264
|
units: [
|
|
257
265
|
's'
|
|
258
266
|
],
|
|
259
|
-
useOnlyUnitInit: true
|
|
267
|
+
useOnlyUnitInit: true,
|
|
268
|
+
showDefaultUnit: true,
|
|
269
|
+
isNumber: true
|
|
260
270
|
},
|
|
261
271
|
{
|
|
262
272
|
id: 'btnRounded',
|
|
@@ -146,10 +146,19 @@ const SettingUIV2 = [
|
|
|
146
146
|
name: 'spacing-setting',
|
|
147
147
|
field: 'padding'
|
|
148
148
|
},
|
|
149
|
+
devices: {
|
|
150
|
+
desktop: {
|
|
151
|
+
default: {
|
|
152
|
+
top: '32px',
|
|
153
|
+
bottom: '32px',
|
|
154
|
+
left: '32px',
|
|
155
|
+
right: '32px'
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
},
|
|
149
159
|
compoDefaultValue: {
|
|
150
160
|
desktop: {
|
|
151
161
|
default: {
|
|
152
|
-
type: 'medium',
|
|
153
162
|
top: '32px',
|
|
154
163
|
bottom: '32px',
|
|
155
164
|
left: '32px',
|
|
@@ -300,7 +309,7 @@ const SettingUIV2 = [
|
|
|
300
309
|
{
|
|
301
310
|
conditionDisplay: `trigger === 'show-after-time' || trigger === 'show-on-page-load'`,
|
|
302
311
|
label: {
|
|
303
|
-
en: '
|
|
312
|
+
en: 'Delay'
|
|
304
313
|
},
|
|
305
314
|
setting: {
|
|
306
315
|
id: 'triggerTime'
|