@gem-sdk/components 2.0.0-dev.543 → 2.0.0-dev.545
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/ArticleReadMore/settings.js +5 -15
- package/dist/cjs/article/setting/configs/ArticleReadMore/uiV2.js +7 -59
- package/dist/cjs/tab/components/common/getClasses.js +2 -2
- package/dist/cjs/tab/components/common/getStyle.js +2 -2
- package/dist/cjs/tab/setting/configs/settings.js +11 -8
- package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +5 -15
- package/dist/esm/article/setting/configs/ArticleReadMore/uiV2.js +7 -59
- package/dist/esm/tab/components/common/getClasses.js +2 -2
- package/dist/esm/tab/components/common/getStyle.js +2 -2
- package/dist/esm/tab/setting/configs/settings.js +11 -8
- package/package.json +1 -1
|
@@ -65,7 +65,7 @@ const ArticleReadMoreSettings = [
|
|
|
65
65
|
id: 'iconSvg',
|
|
66
66
|
label: 'SVG Icon',
|
|
67
67
|
type: 'icon',
|
|
68
|
-
default: '<svg
|
|
68
|
+
default: '<svg height="20" width="20" data-name="star-filled" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508817759863701864"><path fill="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M234.29,114.85l-45,38.83L203,211.75a16.4,16.4,0,0,1-24.5,17.82L128,198.49,77.47,229.57A16.4,16.4,0,0,1,53,211.75l13.76-58.07-45-38.83A16.46,16.46,0,0,1,31.08,86l59-4.76,22.76-55.08a16.36,16.36,0,0,1,30.27,0l22.75,55.08,59,4.76a16.46,16.46,0,0,1,9.37,28.86Z"/></svg>'
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
71
|
id: 'iconAlign',
|
|
@@ -332,7 +332,7 @@ const ArticleReadMoreSettings = [
|
|
|
332
332
|
normal: true
|
|
333
333
|
},
|
|
334
334
|
default: {
|
|
335
|
-
normal: 'text-
|
|
335
|
+
normal: 'text-3',
|
|
336
336
|
hover: 'text-3'
|
|
337
337
|
}
|
|
338
338
|
},
|
|
@@ -475,16 +475,11 @@ const ArticleReadMoreSettings = [
|
|
|
475
475
|
default: {
|
|
476
476
|
type: 'paragraph-1',
|
|
477
477
|
custom: {
|
|
478
|
-
lineHeight: {
|
|
479
|
-
desktop: '120%',
|
|
480
|
-
tablet: '120%',
|
|
481
|
-
mobile: '120%'
|
|
482
|
-
},
|
|
483
478
|
letterSpacing: '0px',
|
|
484
479
|
hasShadowText: false
|
|
485
480
|
},
|
|
486
481
|
attrs: {
|
|
487
|
-
color: '
|
|
482
|
+
color: 'text-3'
|
|
488
483
|
}
|
|
489
484
|
},
|
|
490
485
|
ignoreReRender: true,
|
|
@@ -692,7 +687,7 @@ const ArticleReadMoreSettings = [
|
|
|
692
687
|
normal: true
|
|
693
688
|
},
|
|
694
689
|
default: {
|
|
695
|
-
normal: 'text-
|
|
690
|
+
normal: 'text-3',
|
|
696
691
|
hover: 'text-3'
|
|
697
692
|
}
|
|
698
693
|
}
|
|
@@ -704,15 +699,10 @@ const ArticleReadMoreSettings = [
|
|
|
704
699
|
default: {
|
|
705
700
|
type: 'subheading-3',
|
|
706
701
|
custom: {
|
|
707
|
-
lineHeight: {
|
|
708
|
-
desktop: '120%',
|
|
709
|
-
tablet: '120%',
|
|
710
|
-
mobile: '120%'
|
|
711
|
-
},
|
|
712
702
|
hasShadowText: false
|
|
713
703
|
},
|
|
714
704
|
attrs: {
|
|
715
|
-
color: '
|
|
705
|
+
color: 'text-3'
|
|
716
706
|
}
|
|
717
707
|
},
|
|
718
708
|
ignoreReRender: true,
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
const uiV2 = [
|
|
4
4
|
{
|
|
5
|
+
label: {
|
|
6
|
+
en: 'Style'
|
|
7
|
+
},
|
|
5
8
|
controls: [
|
|
6
9
|
{
|
|
7
|
-
label: {
|
|
8
|
-
en: 'Style'
|
|
9
|
-
},
|
|
10
10
|
setting: {
|
|
11
11
|
id: 'readMoreType'
|
|
12
12
|
},
|
|
@@ -152,45 +152,6 @@ const uiV2 = [
|
|
|
152
152
|
},
|
|
153
153
|
layout: 'horizontal'
|
|
154
154
|
},
|
|
155
|
-
{
|
|
156
|
-
id: 'height',
|
|
157
|
-
label: {
|
|
158
|
-
en: 'Height'
|
|
159
|
-
},
|
|
160
|
-
controlConfig: {
|
|
161
|
-
id: 'height',
|
|
162
|
-
type: 'dropdown:input',
|
|
163
|
-
label: 'Height',
|
|
164
|
-
inputType: 'number',
|
|
165
|
-
units: [
|
|
166
|
-
'px',
|
|
167
|
-
'%'
|
|
168
|
-
],
|
|
169
|
-
hideUnit: false,
|
|
170
|
-
linkWithSetting: {
|
|
171
|
-
name: 'globalSizeText',
|
|
172
|
-
field: 'height'
|
|
173
|
-
},
|
|
174
|
-
displayOptions: [
|
|
175
|
-
{
|
|
176
|
-
label: 'Fit content',
|
|
177
|
-
value: 'Auto',
|
|
178
|
-
showValue: true
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
label: 'Full',
|
|
182
|
-
value: '100%',
|
|
183
|
-
showValue: true
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
label: 'Default',
|
|
187
|
-
value: 'default',
|
|
188
|
-
showValue: true
|
|
189
|
-
}
|
|
190
|
-
]
|
|
191
|
-
},
|
|
192
|
-
layout: 'horizontal'
|
|
193
|
-
},
|
|
194
155
|
{
|
|
195
156
|
label: {
|
|
196
157
|
en: 'Padding'
|
|
@@ -244,6 +205,7 @@ const uiV2 = [
|
|
|
244
205
|
label: {
|
|
245
206
|
en: 'Shape'
|
|
246
207
|
},
|
|
208
|
+
conditionDisplay: "readMoreType != 'text'",
|
|
247
209
|
controls: [
|
|
248
210
|
{
|
|
249
211
|
label: {
|
|
@@ -290,7 +252,8 @@ const uiV2 = [
|
|
|
290
252
|
options: {
|
|
291
253
|
labelVariant: 'primary',
|
|
292
254
|
toggleStyle: 'switch'
|
|
293
|
-
}
|
|
255
|
+
},
|
|
256
|
+
conditionDisplay: "readMoreType != 'text'"
|
|
294
257
|
},
|
|
295
258
|
{
|
|
296
259
|
label: {
|
|
@@ -299,7 +262,7 @@ const uiV2 = [
|
|
|
299
262
|
setting: {
|
|
300
263
|
id: 'iconSvg'
|
|
301
264
|
},
|
|
302
|
-
conditionDisplay:
|
|
265
|
+
conditionDisplay: "iconVisible == true && readMoreType != 'text'"
|
|
303
266
|
},
|
|
304
267
|
// {
|
|
305
268
|
// label: {
|
|
@@ -376,11 +339,6 @@ const uiV2 = [
|
|
|
376
339
|
hideLabel: true,
|
|
377
340
|
fullWidth: true,
|
|
378
341
|
updateFields: [
|
|
379
|
-
{
|
|
380
|
-
field: 'attrs.color',
|
|
381
|
-
settingId: 'textColorTextState',
|
|
382
|
-
state: 'normal'
|
|
383
|
-
},
|
|
384
342
|
{
|
|
385
343
|
field: 'attrs.textAlign',
|
|
386
344
|
settingId: 'textAlign'
|
|
@@ -397,16 +355,6 @@ const uiV2 = [
|
|
|
397
355
|
groupType: 'style',
|
|
398
356
|
controlType: 'style'
|
|
399
357
|
}
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
action: {
|
|
403
|
-
controlId: 'textColorTextState',
|
|
404
|
-
valueFromField: 'attrs.color',
|
|
405
|
-
groupType: 'style',
|
|
406
|
-
controlType: 'style',
|
|
407
|
-
removeDevice: true,
|
|
408
|
-
state: 'normal'
|
|
409
|
-
}
|
|
410
358
|
}
|
|
411
359
|
],
|
|
412
360
|
options: {
|
|
@@ -29,10 +29,10 @@ const getTabListClasses = ({ setting, ulClass })=>{
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
const getItemClasses = ({ setting, isNotLiquid, isActive, currentDevice })=>{
|
|
32
|
-
const { labelBgColor, labelColor, position } = setting ?? {};
|
|
32
|
+
const { labelBgColor, labelColor, position, enableActiveEffect } = setting ?? {};
|
|
33
33
|
let classList = 'gp-tab-item gp-navs-tab gp-flex gp-flex-1 gp-cursor-pointer gp-py-2 gp-px-4 gp-whitespace-nowrap';
|
|
34
34
|
if (isNotLiquid) {
|
|
35
|
-
if (isActive) {
|
|
35
|
+
if (isActive && enableActiveEffect) {
|
|
36
36
|
classList += ` ${core.getGlobalColorClass('bg', labelBgColor?.active)} ${core.getGlobalColorClass('text', labelColor?.active)}`;
|
|
37
37
|
} else {
|
|
38
38
|
classList += ` ${core.getGlobalColorStateClass('bg', labelBgColor)} ${core.getGlobalColorStateClass('text', labelColor)}`;
|
|
@@ -32,10 +32,10 @@ const getTabListStyle = (setting)=>{
|
|
|
32
32
|
return helpers.filterTruthyStyles(composeStyles);
|
|
33
33
|
};
|
|
34
34
|
const getItemStyle = (setting, isNotLiquid, isActive)=>{
|
|
35
|
-
const { labelColor, labelBgColor, borderTab, labelAlign } = setting ?? {};
|
|
35
|
+
const { labelColor, labelBgColor, borderTab, labelAlign, enableActiveEffect } = setting ?? {};
|
|
36
36
|
let composeStyles = {};
|
|
37
37
|
if (isNotLiquid) {
|
|
38
|
-
if (isActive) {
|
|
38
|
+
if (isActive && enableActiveEffect) {
|
|
39
39
|
composeStyles = {
|
|
40
40
|
...core.makeStyleResponsive('jc', labelAlign),
|
|
41
41
|
...core.makeStyle({
|
|
@@ -195,7 +195,7 @@ const TabsSettings = [
|
|
|
195
195
|
id: 'enableActiveEffect',
|
|
196
196
|
label: '',
|
|
197
197
|
type: 'toggle',
|
|
198
|
-
default:
|
|
198
|
+
default: true
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
id: 'behavior-state-group',
|
|
@@ -206,7 +206,7 @@ const TabsSettings = [
|
|
|
206
206
|
label: 'Background Color',
|
|
207
207
|
type: 'color-picker-v2',
|
|
208
208
|
default: {
|
|
209
|
-
active: '
|
|
209
|
+
active: 'bg-1'
|
|
210
210
|
},
|
|
211
211
|
state: {
|
|
212
212
|
normal: true,
|
|
@@ -215,7 +215,8 @@ const TabsSettings = [
|
|
|
215
215
|
},
|
|
216
216
|
compoDefaultValue: {
|
|
217
217
|
normal: 'bg-2',
|
|
218
|
-
hover: 'bg-2'
|
|
218
|
+
hover: 'bg-2',
|
|
219
|
+
active: 'bg-1'
|
|
219
220
|
}
|
|
220
221
|
},
|
|
221
222
|
{
|
|
@@ -223,7 +224,9 @@ const TabsSettings = [
|
|
|
223
224
|
label: 'Text Color',
|
|
224
225
|
type: 'color-picker-v2',
|
|
225
226
|
default: {
|
|
226
|
-
normal: 'text-1'
|
|
227
|
+
normal: 'text-1',
|
|
228
|
+
hover: 'text-1',
|
|
229
|
+
active: 'text-1'
|
|
227
230
|
},
|
|
228
231
|
state: {
|
|
229
232
|
normal: true,
|
|
@@ -253,15 +256,15 @@ const TabsSettings = [
|
|
|
253
256
|
border: 'none',
|
|
254
257
|
width: '1px 1px 1px 1px',
|
|
255
258
|
borderWidth: '1px',
|
|
256
|
-
color: 'line-
|
|
259
|
+
color: 'line-1',
|
|
257
260
|
isCustom: false,
|
|
258
261
|
position: 'all'
|
|
259
262
|
},
|
|
260
263
|
active: {
|
|
261
264
|
border: 'solid',
|
|
262
|
-
width: '0px 0px
|
|
263
|
-
borderWidth: '
|
|
264
|
-
color: 'line-
|
|
265
|
+
width: '0px 0px 1px 0px',
|
|
266
|
+
borderWidth: '1px',
|
|
267
|
+
color: 'line-1',
|
|
265
268
|
position: 'bottom',
|
|
266
269
|
isCustom: true
|
|
267
270
|
}
|
|
@@ -63,7 +63,7 @@ const ArticleReadMoreSettings = [
|
|
|
63
63
|
id: 'iconSvg',
|
|
64
64
|
label: 'SVG Icon',
|
|
65
65
|
type: 'icon',
|
|
66
|
-
default: '<svg
|
|
66
|
+
default: '<svg height="20" width="20" data-name="star-filled" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor" data-id="508817759863701864"><path fill="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M234.29,114.85l-45,38.83L203,211.75a16.4,16.4,0,0,1-24.5,17.82L128,198.49,77.47,229.57A16.4,16.4,0,0,1,53,211.75l13.76-58.07-45-38.83A16.46,16.46,0,0,1,31.08,86l59-4.76,22.76-55.08a16.36,16.36,0,0,1,30.27,0l22.75,55.08,59,4.76a16.46,16.46,0,0,1,9.37,28.86Z"/></svg>'
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
id: 'iconAlign',
|
|
@@ -330,7 +330,7 @@ const ArticleReadMoreSettings = [
|
|
|
330
330
|
normal: true
|
|
331
331
|
},
|
|
332
332
|
default: {
|
|
333
|
-
normal: 'text-
|
|
333
|
+
normal: 'text-3',
|
|
334
334
|
hover: 'text-3'
|
|
335
335
|
}
|
|
336
336
|
},
|
|
@@ -473,16 +473,11 @@ const ArticleReadMoreSettings = [
|
|
|
473
473
|
default: {
|
|
474
474
|
type: 'paragraph-1',
|
|
475
475
|
custom: {
|
|
476
|
-
lineHeight: {
|
|
477
|
-
desktop: '120%',
|
|
478
|
-
tablet: '120%',
|
|
479
|
-
mobile: '120%'
|
|
480
|
-
},
|
|
481
476
|
letterSpacing: '0px',
|
|
482
477
|
hasShadowText: false
|
|
483
478
|
},
|
|
484
479
|
attrs: {
|
|
485
|
-
color: '
|
|
480
|
+
color: 'text-3'
|
|
486
481
|
}
|
|
487
482
|
},
|
|
488
483
|
ignoreReRender: true,
|
|
@@ -690,7 +685,7 @@ const ArticleReadMoreSettings = [
|
|
|
690
685
|
normal: true
|
|
691
686
|
},
|
|
692
687
|
default: {
|
|
693
|
-
normal: 'text-
|
|
688
|
+
normal: 'text-3',
|
|
694
689
|
hover: 'text-3'
|
|
695
690
|
}
|
|
696
691
|
}
|
|
@@ -702,15 +697,10 @@ const ArticleReadMoreSettings = [
|
|
|
702
697
|
default: {
|
|
703
698
|
type: 'subheading-3',
|
|
704
699
|
custom: {
|
|
705
|
-
lineHeight: {
|
|
706
|
-
desktop: '120%',
|
|
707
|
-
tablet: '120%',
|
|
708
|
-
mobile: '120%'
|
|
709
|
-
},
|
|
710
700
|
hasShadowText: false
|
|
711
701
|
},
|
|
712
702
|
attrs: {
|
|
713
|
-
color: '
|
|
703
|
+
color: 'text-3'
|
|
714
704
|
}
|
|
715
705
|
},
|
|
716
706
|
ignoreReRender: true,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
const uiV2 = [
|
|
2
2
|
{
|
|
3
|
+
label: {
|
|
4
|
+
en: 'Style'
|
|
5
|
+
},
|
|
3
6
|
controls: [
|
|
4
7
|
{
|
|
5
|
-
label: {
|
|
6
|
-
en: 'Style'
|
|
7
|
-
},
|
|
8
8
|
setting: {
|
|
9
9
|
id: 'readMoreType'
|
|
10
10
|
},
|
|
@@ -150,45 +150,6 @@ const uiV2 = [
|
|
|
150
150
|
},
|
|
151
151
|
layout: 'horizontal'
|
|
152
152
|
},
|
|
153
|
-
{
|
|
154
|
-
id: 'height',
|
|
155
|
-
label: {
|
|
156
|
-
en: 'Height'
|
|
157
|
-
},
|
|
158
|
-
controlConfig: {
|
|
159
|
-
id: 'height',
|
|
160
|
-
type: 'dropdown:input',
|
|
161
|
-
label: 'Height',
|
|
162
|
-
inputType: 'number',
|
|
163
|
-
units: [
|
|
164
|
-
'px',
|
|
165
|
-
'%'
|
|
166
|
-
],
|
|
167
|
-
hideUnit: false,
|
|
168
|
-
linkWithSetting: {
|
|
169
|
-
name: 'globalSizeText',
|
|
170
|
-
field: 'height'
|
|
171
|
-
},
|
|
172
|
-
displayOptions: [
|
|
173
|
-
{
|
|
174
|
-
label: 'Fit content',
|
|
175
|
-
value: 'Auto',
|
|
176
|
-
showValue: true
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
label: 'Full',
|
|
180
|
-
value: '100%',
|
|
181
|
-
showValue: true
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
label: 'Default',
|
|
185
|
-
value: 'default',
|
|
186
|
-
showValue: true
|
|
187
|
-
}
|
|
188
|
-
]
|
|
189
|
-
},
|
|
190
|
-
layout: 'horizontal'
|
|
191
|
-
},
|
|
192
153
|
{
|
|
193
154
|
label: {
|
|
194
155
|
en: 'Padding'
|
|
@@ -242,6 +203,7 @@ const uiV2 = [
|
|
|
242
203
|
label: {
|
|
243
204
|
en: 'Shape'
|
|
244
205
|
},
|
|
206
|
+
conditionDisplay: "readMoreType != 'text'",
|
|
245
207
|
controls: [
|
|
246
208
|
{
|
|
247
209
|
label: {
|
|
@@ -288,7 +250,8 @@ const uiV2 = [
|
|
|
288
250
|
options: {
|
|
289
251
|
labelVariant: 'primary',
|
|
290
252
|
toggleStyle: 'switch'
|
|
291
|
-
}
|
|
253
|
+
},
|
|
254
|
+
conditionDisplay: "readMoreType != 'text'"
|
|
292
255
|
},
|
|
293
256
|
{
|
|
294
257
|
label: {
|
|
@@ -297,7 +260,7 @@ const uiV2 = [
|
|
|
297
260
|
setting: {
|
|
298
261
|
id: 'iconSvg'
|
|
299
262
|
},
|
|
300
|
-
conditionDisplay:
|
|
263
|
+
conditionDisplay: "iconVisible == true && readMoreType != 'text'"
|
|
301
264
|
},
|
|
302
265
|
// {
|
|
303
266
|
// label: {
|
|
@@ -374,11 +337,6 @@ const uiV2 = [
|
|
|
374
337
|
hideLabel: true,
|
|
375
338
|
fullWidth: true,
|
|
376
339
|
updateFields: [
|
|
377
|
-
{
|
|
378
|
-
field: 'attrs.color',
|
|
379
|
-
settingId: 'textColorTextState',
|
|
380
|
-
state: 'normal'
|
|
381
|
-
},
|
|
382
340
|
{
|
|
383
341
|
field: 'attrs.textAlign',
|
|
384
342
|
settingId: 'textAlign'
|
|
@@ -395,16 +353,6 @@ const uiV2 = [
|
|
|
395
353
|
groupType: 'style',
|
|
396
354
|
controlType: 'style'
|
|
397
355
|
}
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
action: {
|
|
401
|
-
controlId: 'textColorTextState',
|
|
402
|
-
valueFromField: 'attrs.color',
|
|
403
|
-
groupType: 'style',
|
|
404
|
-
controlType: 'style',
|
|
405
|
-
removeDevice: true,
|
|
406
|
-
state: 'normal'
|
|
407
|
-
}
|
|
408
356
|
}
|
|
409
357
|
],
|
|
410
358
|
options: {
|
|
@@ -27,10 +27,10 @@ const getTabListClasses = ({ setting, ulClass })=>{
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
const getItemClasses = ({ setting, isNotLiquid, isActive, currentDevice })=>{
|
|
30
|
-
const { labelBgColor, labelColor, position } = setting ?? {};
|
|
30
|
+
const { labelBgColor, labelColor, position, enableActiveEffect } = setting ?? {};
|
|
31
31
|
let classList = 'gp-tab-item gp-navs-tab gp-flex gp-flex-1 gp-cursor-pointer gp-py-2 gp-px-4 gp-whitespace-nowrap';
|
|
32
32
|
if (isNotLiquid) {
|
|
33
|
-
if (isActive) {
|
|
33
|
+
if (isActive && enableActiveEffect) {
|
|
34
34
|
classList += ` ${getGlobalColorClass('bg', labelBgColor?.active)} ${getGlobalColorClass('text', labelColor?.active)}`;
|
|
35
35
|
} else {
|
|
36
36
|
classList += ` ${getGlobalColorStateClass('bg', labelBgColor)} ${getGlobalColorStateClass('text', labelColor)}`;
|
|
@@ -30,10 +30,10 @@ const getTabListStyle = (setting)=>{
|
|
|
30
30
|
return filterTruthyStyles(composeStyles);
|
|
31
31
|
};
|
|
32
32
|
const getItemStyle = (setting, isNotLiquid, isActive)=>{
|
|
33
|
-
const { labelColor, labelBgColor, borderTab, labelAlign } = setting ?? {};
|
|
33
|
+
const { labelColor, labelBgColor, borderTab, labelAlign, enableActiveEffect } = setting ?? {};
|
|
34
34
|
let composeStyles = {};
|
|
35
35
|
if (isNotLiquid) {
|
|
36
|
-
if (isActive) {
|
|
36
|
+
if (isActive && enableActiveEffect) {
|
|
37
37
|
composeStyles = {
|
|
38
38
|
...makeStyleResponsive('jc', labelAlign),
|
|
39
39
|
...makeStyle({
|
|
@@ -193,7 +193,7 @@ const TabsSettings = [
|
|
|
193
193
|
id: 'enableActiveEffect',
|
|
194
194
|
label: '',
|
|
195
195
|
type: 'toggle',
|
|
196
|
-
default:
|
|
196
|
+
default: true
|
|
197
197
|
},
|
|
198
198
|
{
|
|
199
199
|
id: 'behavior-state-group',
|
|
@@ -204,7 +204,7 @@ const TabsSettings = [
|
|
|
204
204
|
label: 'Background Color',
|
|
205
205
|
type: 'color-picker-v2',
|
|
206
206
|
default: {
|
|
207
|
-
active: '
|
|
207
|
+
active: 'bg-1'
|
|
208
208
|
},
|
|
209
209
|
state: {
|
|
210
210
|
normal: true,
|
|
@@ -213,7 +213,8 @@ const TabsSettings = [
|
|
|
213
213
|
},
|
|
214
214
|
compoDefaultValue: {
|
|
215
215
|
normal: 'bg-2',
|
|
216
|
-
hover: 'bg-2'
|
|
216
|
+
hover: 'bg-2',
|
|
217
|
+
active: 'bg-1'
|
|
217
218
|
}
|
|
218
219
|
},
|
|
219
220
|
{
|
|
@@ -221,7 +222,9 @@ const TabsSettings = [
|
|
|
221
222
|
label: 'Text Color',
|
|
222
223
|
type: 'color-picker-v2',
|
|
223
224
|
default: {
|
|
224
|
-
normal: 'text-1'
|
|
225
|
+
normal: 'text-1',
|
|
226
|
+
hover: 'text-1',
|
|
227
|
+
active: 'text-1'
|
|
225
228
|
},
|
|
226
229
|
state: {
|
|
227
230
|
normal: true,
|
|
@@ -251,15 +254,15 @@ const TabsSettings = [
|
|
|
251
254
|
border: 'none',
|
|
252
255
|
width: '1px 1px 1px 1px',
|
|
253
256
|
borderWidth: '1px',
|
|
254
|
-
color: 'line-
|
|
257
|
+
color: 'line-1',
|
|
255
258
|
isCustom: false,
|
|
256
259
|
position: 'all'
|
|
257
260
|
},
|
|
258
261
|
active: {
|
|
259
262
|
border: 'solid',
|
|
260
|
-
width: '0px 0px
|
|
261
|
-
borderWidth: '
|
|
262
|
-
color: 'line-
|
|
263
|
+
width: '0px 0px 1px 0px',
|
|
264
|
+
borderWidth: '1px',
|
|
265
|
+
color: 'line-1',
|
|
263
266
|
position: 'bottom',
|
|
264
267
|
isCustom: true
|
|
265
268
|
}
|