@gem-sdk/components 2.0.0-dev.487 → 2.0.0-dev.489
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/ArticleContent/settings.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleDate/settings.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleDate/uiV2.js +5 -0
- package/dist/cjs/article/setting/configs/ArticleExcerpt/settings.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleList/presets.js +4 -4
- package/dist/cjs/article/setting/configs/ArticleTag/settings.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleTitle/settings.js +1 -1
- package/dist/cjs/grid/section/setting/configs/settings.js +4 -4
- package/dist/cjs/grid/section/setting/configs/uiV2.js +3 -0
- package/dist/cjs/icon-list/setting/configs/ItemTemplate.js +4 -4
- package/dist/cjs/icon-list/setting/configs/uiV2.js +3 -1
- package/dist/cjs/tab/components/common/getClasses.js +1 -1
- package/dist/esm/article/setting/configs/ArticleContent/settings.js +1 -1
- package/dist/esm/article/setting/configs/ArticleDate/settings.js +1 -1
- package/dist/esm/article/setting/configs/ArticleDate/uiV2.js +5 -0
- package/dist/esm/article/setting/configs/ArticleExcerpt/settings.js +1 -1
- package/dist/esm/article/setting/configs/ArticleList/presets.js +4 -4
- package/dist/esm/article/setting/configs/ArticleTag/settings.js +1 -1
- package/dist/esm/article/setting/configs/ArticleTitle/settings.js +1 -1
- package/dist/esm/grid/section/setting/configs/settings.js +4 -4
- package/dist/esm/grid/section/setting/configs/uiV2.js +3 -0
- package/dist/esm/icon-list/setting/configs/ItemTemplate.js +4 -4
- package/dist/esm/icon-list/setting/configs/uiV2.js +3 -1
- package/dist/esm/tab/components/common/getClasses.js +1 -1
- package/package.json +1 -1
|
@@ -154,7 +154,7 @@ const ArticleListPresets = [
|
|
|
154
154
|
}
|
|
155
155
|
},
|
|
156
156
|
color: {
|
|
157
|
-
normal: 'text-
|
|
157
|
+
normal: 'text-1'
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
160
|
advanced: {
|
|
@@ -206,7 +206,7 @@ const ArticleListPresets = [
|
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
208
|
color: {
|
|
209
|
-
normal: 'text-
|
|
209
|
+
normal: 'text-1'
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
212
|
advanced: {
|
|
@@ -258,7 +258,7 @@ const ArticleListPresets = [
|
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
260
|
color: {
|
|
261
|
-
normal: 'text-
|
|
261
|
+
normal: 'text-1'
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
}
|
|
@@ -280,7 +280,7 @@ const ArticleListPresets = [
|
|
|
280
280
|
}
|
|
281
281
|
},
|
|
282
282
|
color: {
|
|
283
|
-
normal: 'text-
|
|
283
|
+
normal: 'text-1'
|
|
284
284
|
},
|
|
285
285
|
textAlign: {
|
|
286
286
|
desktop: 'left'
|
|
@@ -197,7 +197,7 @@ const SectionSettings = [
|
|
|
197
197
|
'px'
|
|
198
198
|
],
|
|
199
199
|
min: 0,
|
|
200
|
-
max:
|
|
200
|
+
max: 120,
|
|
201
201
|
devices: {
|
|
202
202
|
desktop: {
|
|
203
203
|
default: '32px'
|
|
@@ -211,7 +211,7 @@ const SectionSettings = [
|
|
|
211
211
|
'px'
|
|
212
212
|
],
|
|
213
213
|
min: 0,
|
|
214
|
-
max:
|
|
214
|
+
max: 120,
|
|
215
215
|
devices: {
|
|
216
216
|
desktop: {
|
|
217
217
|
default: '0px'
|
|
@@ -222,7 +222,7 @@ const SectionSettings = [
|
|
|
222
222
|
id: 'columnGap',
|
|
223
223
|
type: 'input:slider',
|
|
224
224
|
min: 0,
|
|
225
|
-
max:
|
|
225
|
+
max: 120,
|
|
226
226
|
step: 1,
|
|
227
227
|
units: [
|
|
228
228
|
'%'
|
|
@@ -263,7 +263,7 @@ const SectionSettings = [
|
|
|
263
263
|
desktop: {
|
|
264
264
|
default: {
|
|
265
265
|
type: 'color',
|
|
266
|
-
color: '#
|
|
266
|
+
color: '#DDDDDD',
|
|
267
267
|
image: {
|
|
268
268
|
src: 'https://ucarecdn.com/5e27d43d-eb1e-4e71-b7e1-4158f3071bb6/-/format/auto/',
|
|
269
269
|
width: 1200,
|
|
@@ -26,8 +26,8 @@ const itemChildrenTemplateImage = (src)=>({
|
|
|
26
26
|
styles: {
|
|
27
27
|
shape: {
|
|
28
28
|
desktop: {
|
|
29
|
-
height: '
|
|
30
|
-
width: '
|
|
29
|
+
height: '40px',
|
|
30
|
+
width: '40px',
|
|
31
31
|
shape: 'square',
|
|
32
32
|
shapeLinked: true,
|
|
33
33
|
shapeValue: '1/1'
|
|
@@ -288,8 +288,8 @@ const itemControlTemplateImage = {
|
|
|
288
288
|
styles: {
|
|
289
289
|
shape: {
|
|
290
290
|
desktop: {
|
|
291
|
-
height: '
|
|
292
|
-
width: '
|
|
291
|
+
height: '40px',
|
|
292
|
+
width: '40px',
|
|
293
293
|
shape: 'square',
|
|
294
294
|
shapeLinked: true,
|
|
295
295
|
shapeValue: '1/1'
|
|
@@ -293,12 +293,14 @@ const SettingUIV2 = [
|
|
|
293
293
|
label: {
|
|
294
294
|
en: 'Align'
|
|
295
295
|
},
|
|
296
|
+
conditionEnable: '!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',
|
|
296
297
|
setting: {
|
|
297
298
|
id: 'align'
|
|
298
299
|
},
|
|
299
300
|
options: {
|
|
300
301
|
labelVariant: 'primary',
|
|
301
|
-
fullWidth: true
|
|
302
|
+
fullWidth: true,
|
|
303
|
+
disableMessage: `Align is not supported when width is 100%`
|
|
302
304
|
}
|
|
303
305
|
}
|
|
304
306
|
]
|
|
@@ -30,7 +30,7 @@ const getTabListClasses = ({ setting, ulClass })=>{
|
|
|
30
30
|
};
|
|
31
31
|
const getItemClasses = ({ setting, isNotLiquid, isActive, currentDevice })=>{
|
|
32
32
|
const { labelBgColor, labelColor, position } = setting ?? {};
|
|
33
|
-
let classList = 'gp-
|
|
33
|
+
let classList = 'gp-tab-item gp-flex gp-flex-1 gp-cursor-pointer gp-py-2 gp-px-4 gp-whitespace-nowrap';
|
|
34
34
|
if (isNotLiquid) {
|
|
35
35
|
if (isActive) {
|
|
36
36
|
classList += ` ${core.getGlobalColorClass('bg', labelBgColor?.active)} ${core.getGlobalColorClass('text', labelColor?.active)}`;
|
|
@@ -152,7 +152,7 @@ const ArticleListPresets = [
|
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
154
|
color: {
|
|
155
|
-
normal: 'text-
|
|
155
|
+
normal: 'text-1'
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
advanced: {
|
|
@@ -204,7 +204,7 @@ const ArticleListPresets = [
|
|
|
204
204
|
}
|
|
205
205
|
},
|
|
206
206
|
color: {
|
|
207
|
-
normal: 'text-
|
|
207
|
+
normal: 'text-1'
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
210
|
advanced: {
|
|
@@ -256,7 +256,7 @@ const ArticleListPresets = [
|
|
|
256
256
|
}
|
|
257
257
|
},
|
|
258
258
|
color: {
|
|
259
|
-
normal: 'text-
|
|
259
|
+
normal: 'text-1'
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
}
|
|
@@ -278,7 +278,7 @@ const ArticleListPresets = [
|
|
|
278
278
|
}
|
|
279
279
|
},
|
|
280
280
|
color: {
|
|
281
|
-
normal: 'text-
|
|
281
|
+
normal: 'text-1'
|
|
282
282
|
},
|
|
283
283
|
textAlign: {
|
|
284
284
|
desktop: 'left'
|
|
@@ -195,7 +195,7 @@ const SectionSettings = [
|
|
|
195
195
|
'px'
|
|
196
196
|
],
|
|
197
197
|
min: 0,
|
|
198
|
-
max:
|
|
198
|
+
max: 120,
|
|
199
199
|
devices: {
|
|
200
200
|
desktop: {
|
|
201
201
|
default: '32px'
|
|
@@ -209,7 +209,7 @@ const SectionSettings = [
|
|
|
209
209
|
'px'
|
|
210
210
|
],
|
|
211
211
|
min: 0,
|
|
212
|
-
max:
|
|
212
|
+
max: 120,
|
|
213
213
|
devices: {
|
|
214
214
|
desktop: {
|
|
215
215
|
default: '0px'
|
|
@@ -220,7 +220,7 @@ const SectionSettings = [
|
|
|
220
220
|
id: 'columnGap',
|
|
221
221
|
type: 'input:slider',
|
|
222
222
|
min: 0,
|
|
223
|
-
max:
|
|
223
|
+
max: 120,
|
|
224
224
|
step: 1,
|
|
225
225
|
units: [
|
|
226
226
|
'%'
|
|
@@ -261,7 +261,7 @@ const SectionSettings = [
|
|
|
261
261
|
desktop: {
|
|
262
262
|
default: {
|
|
263
263
|
type: 'color',
|
|
264
|
-
color: '#
|
|
264
|
+
color: '#DDDDDD',
|
|
265
265
|
image: {
|
|
266
266
|
src: 'https://ucarecdn.com/5e27d43d-eb1e-4e71-b7e1-4158f3071bb6/-/format/auto/',
|
|
267
267
|
width: 1200,
|
|
@@ -24,8 +24,8 @@ const itemChildrenTemplateImage = (src)=>({
|
|
|
24
24
|
styles: {
|
|
25
25
|
shape: {
|
|
26
26
|
desktop: {
|
|
27
|
-
height: '
|
|
28
|
-
width: '
|
|
27
|
+
height: '40px',
|
|
28
|
+
width: '40px',
|
|
29
29
|
shape: 'square',
|
|
30
30
|
shapeLinked: true,
|
|
31
31
|
shapeValue: '1/1'
|
|
@@ -286,8 +286,8 @@ const itemControlTemplateImage = {
|
|
|
286
286
|
styles: {
|
|
287
287
|
shape: {
|
|
288
288
|
desktop: {
|
|
289
|
-
height: '
|
|
290
|
-
width: '
|
|
289
|
+
height: '40px',
|
|
290
|
+
width: '40px',
|
|
291
291
|
shape: 'square',
|
|
292
292
|
shapeLinked: true,
|
|
293
293
|
shapeValue: '1/1'
|
|
@@ -291,12 +291,14 @@ const SettingUIV2 = [
|
|
|
291
291
|
label: {
|
|
292
292
|
en: 'Align'
|
|
293
293
|
},
|
|
294
|
+
conditionEnable: '!(parseInt(globalSize.width) >= 100 && globalSize.width?.includes("%"))',
|
|
294
295
|
setting: {
|
|
295
296
|
id: 'align'
|
|
296
297
|
},
|
|
297
298
|
options: {
|
|
298
299
|
labelVariant: 'primary',
|
|
299
|
-
fullWidth: true
|
|
300
|
+
fullWidth: true,
|
|
301
|
+
disableMessage: `Align is not supported when width is 100%`
|
|
300
302
|
}
|
|
301
303
|
}
|
|
302
304
|
]
|
|
@@ -28,7 +28,7 @@ const getTabListClasses = ({ setting, ulClass })=>{
|
|
|
28
28
|
};
|
|
29
29
|
const getItemClasses = ({ setting, isNotLiquid, isActive, currentDevice })=>{
|
|
30
30
|
const { labelBgColor, labelColor, position } = setting ?? {};
|
|
31
|
-
let classList = 'gp-
|
|
31
|
+
let classList = 'gp-tab-item gp-flex gp-flex-1 gp-cursor-pointer gp-py-2 gp-px-4 gp-whitespace-nowrap';
|
|
32
32
|
if (isNotLiquid) {
|
|
33
33
|
if (isActive) {
|
|
34
34
|
classList += ` ${getGlobalColorClass('bg', labelBgColor?.active)} ${getGlobalColorClass('text', labelColor?.active)}`;
|