@gem-sdk/components 2.0.0-dev.369 → 2.0.0-dev.371
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/components/ArticleDate.js +0 -1
- package/dist/cjs/article/components/ArticleReadMore.liquid.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleContent/settings.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleContent/uiV2.js +11 -1
- package/dist/cjs/article/setting/configs/ArticleExcerpt/settings.js +1 -1
- package/dist/cjs/article/setting/configs/ArticleImage/settings.js +5 -4
- package/dist/cjs/article/setting/configs/ArticleImage/uiV2.js +48 -4
- package/dist/cjs/article/setting/configs/ArticleReadMore/settings.js +96 -64
- package/dist/cjs/article/setting/configs/ArticleReadMore/uiV2.js +380 -97
- package/dist/cjs/builder.js +2 -2
- package/dist/cjs/button/setting/configs/settings.js +0 -14
- package/dist/cjs/carousel/arrow/Arrow.js +52 -0
- package/dist/cjs/carousel/arrow/Arrow.liquid.js +46 -0
- package/dist/cjs/carousel/{components/common/arrow.js → arrow/common/common.js} +13 -11
- package/dist/cjs/carousel/arrow/common/getClass.js +50 -0
- package/dist/cjs/carousel/arrow/common/getStyle.js +84 -0
- package/dist/cjs/carousel/carousel-item/CarouselItem.js +32 -0
- package/dist/cjs/carousel/carousel-item/CarouselItem.liquid.js +38 -0
- package/dist/cjs/carousel/carousel-item/common/getClass.js +29 -0
- package/dist/cjs/carousel/{components/CarouselItem.liquid.js → carousel-item/common/getStyle.js} +30 -47
- package/dist/cjs/carousel/carousel-item/hook/useCarouseItem.js +14 -0
- package/dist/cjs/carousel/components/const/index.js +5 -0
- package/dist/cjs/carousel/dots/Dots.js +51 -0
- package/dist/cjs/carousel/dots/Dots.liquid.js +26 -0
- package/dist/cjs/carousel/dots/common/common.js +46 -0
- package/dist/cjs/carousel/dots/common/getClass.js +40 -0
- package/dist/cjs/carousel/dots/common/getStyle.js +33 -0
- package/dist/cjs/carousel/dots/hook/useDotsSetting.js +21 -0
- package/dist/cjs/carousel/index.js +1 -2
- package/dist/cjs/carousel/next.js +2 -2
- package/dist/cjs/carousel/root/Carousel.js +129 -0
- package/dist/cjs/carousel/root/Carousel.liquid.js +104 -0
- package/dist/cjs/carousel/root/common/getAttr.js +25 -0
- package/dist/cjs/carousel/root/common/getClass.js +135 -0
- package/dist/cjs/carousel/root/common/getData.js +56 -0
- package/dist/cjs/carousel/root/common/getStyle.js +64 -0
- package/dist/cjs/carousel/{components/Carousel.js → root/hook/useCarousel.js} +153 -321
- package/dist/cjs/carousel/setting/Carousel.js +8 -1555
- package/dist/cjs/carousel/setting/configs/presets.js +380 -0
- package/dist/cjs/carousel/setting/configs/settingV2.js +771 -0
- package/dist/cjs/carousel/setting/configs/uiV1.js +434 -0
- package/dist/cjs/carousel/setting/configs/uiV2.js +627 -0
- package/dist/cjs/common/components/NoDataState.js +5 -5
- package/dist/cjs/grid/row/commons/common.js +3 -3
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.liquid.js +2 -2
- package/dist/cjs/product/components/ProductImages/ProductGalleryCarousel.js +2 -2
- package/dist/cjs/product/components/ProductImages/ProductImagesLightBox.js +2 -2
- package/dist/cjs/product/components/ProductImages/liquid/ProductGalleryCarousel.liquid.js +5 -3
- package/dist/cjs/product/components/ProductImagesV2/common/getAttr.js +1 -0
- package/dist/cjs/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/common/productGallery.js +1 -1
- package/dist/cjs/product/components/ProductImagesV2/components/child/ProductFeaturedImageCarousel.js +5 -5
- package/dist/cjs/product/components/ProductImagesV2/components/feature-gallery/FeatureImageWithGallery.liquid.js +8 -4
- package/dist/cjs/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.js +2 -2
- package/dist/cjs/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.liquid.js +6 -3
- package/dist/cjs/product/components/ProductImagesV2/components/lightbox/ProductImagesLightBox.js +2 -2
- package/dist/cjs/product/components/ProductImagesV2/hooks/useProductFeaturedImageCarousel.js +3 -3
- package/dist/cjs/product/components/ProductList/ProductListCarouselLayout.js +2 -2
- package/dist/cjs/product/components/ProductList/ProductListCarouselLayout.liquid.js +5 -3
- package/dist/cjs/product/components/ProductList/common/index.js +5 -5
- package/dist/cjs/product/components/ProductVariants/common/main/getAttr.js +1 -1
- package/dist/cjs/text/components/Text.js +3 -3
- package/dist/esm/article/components/ArticleDate.js +0 -1
- package/dist/esm/article/components/ArticleReadMore.liquid.js +1 -1
- package/dist/esm/article/setting/configs/ArticleContent/settings.js +1 -1
- package/dist/esm/article/setting/configs/ArticleContent/uiV2.js +11 -1
- package/dist/esm/article/setting/configs/ArticleExcerpt/settings.js +1 -1
- package/dist/esm/article/setting/configs/ArticleImage/settings.js +5 -4
- package/dist/esm/article/setting/configs/ArticleImage/uiV2.js +48 -4
- package/dist/esm/article/setting/configs/ArticleReadMore/settings.js +96 -64
- package/dist/esm/article/setting/configs/ArticleReadMore/uiV2.js +380 -97
- package/dist/esm/builder.js +2 -2
- package/dist/esm/button/setting/configs/settings.js +0 -14
- package/dist/esm/carousel/arrow/Arrow.js +48 -0
- package/dist/esm/carousel/arrow/Arrow.liquid.js +42 -0
- package/dist/esm/carousel/{components/common/arrow.js → arrow/common/common.js} +12 -10
- package/dist/esm/carousel/arrow/common/getClass.js +48 -0
- package/dist/esm/carousel/arrow/common/getStyle.js +82 -0
- package/dist/esm/carousel/carousel-item/CarouselItem.js +28 -0
- package/dist/esm/carousel/carousel-item/CarouselItem.liquid.js +34 -0
- package/dist/esm/carousel/carousel-item/common/getClass.js +27 -0
- package/dist/esm/carousel/{components/CarouselItem.liquid.js → carousel-item/common/getStyle.js} +31 -46
- package/dist/esm/carousel/carousel-item/hook/useCarouseItem.js +12 -0
- package/dist/esm/carousel/components/const/index.js +3 -0
- package/dist/esm/carousel/dots/Dots.js +47 -0
- package/dist/esm/carousel/dots/Dots.liquid.js +22 -0
- package/dist/esm/carousel/dots/common/common.js +43 -0
- package/dist/esm/carousel/dots/common/getClass.js +38 -0
- package/dist/esm/carousel/dots/common/getStyle.js +31 -0
- package/dist/esm/carousel/dots/hook/useDotsSetting.js +19 -0
- package/dist/esm/carousel/index.js +1 -2
- package/dist/esm/carousel/next.js +2 -2
- package/dist/esm/carousel/root/Carousel.js +125 -0
- package/dist/esm/carousel/root/Carousel.liquid.js +100 -0
- package/dist/esm/carousel/root/common/getAttr.js +23 -0
- package/dist/esm/carousel/root/common/getClass.js +133 -0
- package/dist/esm/carousel/root/common/getData.js +54 -0
- package/dist/esm/carousel/root/common/getStyle.js +62 -0
- package/dist/esm/carousel/{components/Carousel.js → root/hook/useCarousel.js} +150 -316
- package/dist/esm/carousel/setting/Carousel.js +8 -1555
- package/dist/esm/carousel/setting/configs/presets.js +378 -0
- package/dist/esm/carousel/setting/configs/settingV2.js +769 -0
- package/dist/esm/carousel/setting/configs/uiV1.js +432 -0
- package/dist/esm/carousel/setting/configs/uiV2.js +625 -0
- package/dist/esm/common/components/NoDataState.js +6 -6
- package/dist/esm/grid/row/commons/common.js +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.liquid.js +2 -2
- package/dist/esm/product/components/ProductImages/ProductGalleryCarousel.js +2 -2
- package/dist/esm/product/components/ProductImages/ProductImagesLightBox.js +2 -2
- package/dist/esm/product/components/ProductImages/liquid/ProductGalleryCarousel.liquid.js +5 -3
- package/dist/esm/product/components/ProductImagesV2/common/getAttr.js +1 -0
- package/dist/esm/product/components/ProductImagesV2/common/productFeaturedImage.js +1 -1
- package/dist/esm/product/components/ProductImagesV2/common/productGallery.js +1 -1
- package/dist/esm/product/components/ProductImagesV2/components/child/ProductFeaturedImageCarousel.js +5 -5
- package/dist/esm/product/components/ProductImagesV2/components/feature-gallery/FeatureImageWithGallery.liquid.js +8 -4
- package/dist/esm/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.js +2 -2
- package/dist/esm/product/components/ProductImagesV2/components/gallery-carousel/GalleryCarousel.liquid.js +6 -3
- package/dist/esm/product/components/ProductImagesV2/components/lightbox/ProductImagesLightBox.js +2 -2
- package/dist/esm/product/components/ProductImagesV2/hooks/useProductFeaturedImageCarousel.js +3 -3
- package/dist/esm/product/components/ProductList/ProductListCarouselLayout.js +2 -2
- package/dist/esm/product/components/ProductList/ProductListCarouselLayout.liquid.js +5 -3
- package/dist/esm/product/components/ProductList/common/index.js +3 -3
- package/dist/esm/product/components/ProductVariants/common/main/getAttr.js +1 -1
- package/dist/esm/text/components/Text.js +4 -4
- package/dist/types/index.d.ts +165 -68
- package/package.json +3 -3
- package/dist/cjs/carousel/components/Arrow.js +0 -110
- package/dist/cjs/carousel/components/Arrow.liquid.js +0 -103
- package/dist/cjs/carousel/components/Carousel.liquid.js +0 -256
- package/dist/cjs/carousel/components/CarouselItem.js +0 -88
- package/dist/cjs/carousel/components/Dots.js +0 -69
- package/dist/cjs/carousel/components/Dots.liquid.js +0 -23
- package/dist/cjs/carousel/components/common/dots.js +0 -57
- package/dist/esm/carousel/components/Arrow.js +0 -106
- package/dist/esm/carousel/components/Arrow.liquid.js +0 -99
- package/dist/esm/carousel/components/Carousel.liquid.js +0 -252
- package/dist/esm/carousel/components/CarouselItem.js +0 -84
- package/dist/esm/carousel/components/Dots.js +0 -65
- package/dist/esm/carousel/components/Dots.liquid.js +0 -19
- package/dist/esm/carousel/components/common/dots.js +0 -53
|
@@ -12,7 +12,6 @@ const ArticleDate = ({ setting, builderProps, styles })=>{
|
|
|
12
12
|
const { dateFormat } = setting ?? {};
|
|
13
13
|
const article = core.useArticleStore((s)=>s.article);
|
|
14
14
|
const { timezone } = core.useTimezone();
|
|
15
|
-
console.log(123, dateFormat);
|
|
16
15
|
const convertTZ = (date, tzString)=>{
|
|
17
16
|
const tz = tzString?.split(' ')?.[1] ?? '';
|
|
18
17
|
if (!tz) return date;
|
|
@@ -32,7 +32,7 @@ const ArticleReadMore = ({ setting, styles, builderAttrs, builderProps, advanced
|
|
|
32
32
|
translate: undefined
|
|
33
33
|
}
|
|
34
34
|
}))}
|
|
35
|
-
${core.RenderIf(readMoreType
|
|
35
|
+
${core.RenderIf(readMoreType !== 'text', Button_liquid.default({
|
|
36
36
|
builderAttrs,
|
|
37
37
|
builderProps,
|
|
38
38
|
advanced,
|
|
@@ -51,8 +51,18 @@ const uiV2 = [
|
|
|
51
51
|
{
|
|
52
52
|
id: 'hasLineClamp',
|
|
53
53
|
label: {
|
|
54
|
-
en: 'Max
|
|
54
|
+
en: 'Max lines'
|
|
55
55
|
},
|
|
56
|
+
setting: {
|
|
57
|
+
id: 'hasLineClamp'
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: 'lineClamp',
|
|
62
|
+
label: {
|
|
63
|
+
en: 'Number of lines'
|
|
64
|
+
},
|
|
65
|
+
conditionDisplay: 'hasLineClamp === true',
|
|
56
66
|
setting: {
|
|
57
67
|
id: 'lineClamp'
|
|
58
68
|
}
|
|
@@ -15,7 +15,7 @@ const ArticleImageSettings = [
|
|
|
15
15
|
type: 'textarea',
|
|
16
16
|
minHeight: 100,
|
|
17
17
|
autoHeight: true,
|
|
18
|
-
placeholder: 'E.g:
|
|
18
|
+
placeholder: 'E.g: This is a very long value for text area field'
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
id: 'title',
|
|
@@ -62,11 +62,11 @@ const ArticleImageSettings = [
|
|
|
62
62
|
type: 'select',
|
|
63
63
|
options: [
|
|
64
64
|
{
|
|
65
|
-
label: '
|
|
65
|
+
label: 'Go to article',
|
|
66
66
|
value: true
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
|
-
label: '
|
|
69
|
+
label: 'Scroll to',
|
|
70
70
|
value: false
|
|
71
71
|
}
|
|
72
72
|
],
|
|
@@ -75,8 +75,9 @@ const ArticleImageSettings = [
|
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
id: 'openNewTab',
|
|
78
|
-
type: '
|
|
78
|
+
type: 'option:value',
|
|
79
79
|
label: 'Open new tab',
|
|
80
|
+
default: false,
|
|
80
81
|
options: [
|
|
81
82
|
{
|
|
82
83
|
label: 'Yes',
|
|
@@ -74,16 +74,60 @@ const uiV2 = [
|
|
|
74
74
|
]
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
|
-
label: {
|
|
78
|
-
en: 'Redirect to'
|
|
79
|
-
},
|
|
80
77
|
controls: [
|
|
81
78
|
{
|
|
82
79
|
label: {
|
|
83
|
-
en: '
|
|
80
|
+
en: 'Link'
|
|
81
|
+
},
|
|
82
|
+
setting: {
|
|
83
|
+
id: 'enableLink'
|
|
84
84
|
},
|
|
85
|
+
options: {
|
|
86
|
+
labelVariant: 'primary',
|
|
87
|
+
toggleStyle: 'switch'
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
type: 'control',
|
|
92
|
+
conditionDisplay: 'enableLink == true',
|
|
85
93
|
setting: {
|
|
86
94
|
id: 'linkArticle'
|
|
95
|
+
},
|
|
96
|
+
label: {
|
|
97
|
+
en: 'After click'
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
label: {
|
|
102
|
+
en: 'Open new tab'
|
|
103
|
+
},
|
|
104
|
+
setting: {
|
|
105
|
+
id: 'openNewTab'
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
label: {
|
|
112
|
+
en: 'SEO'
|
|
113
|
+
},
|
|
114
|
+
controls: [
|
|
115
|
+
{
|
|
116
|
+
type: 'control',
|
|
117
|
+
setting: {
|
|
118
|
+
id: 'alt'
|
|
119
|
+
},
|
|
120
|
+
label: {
|
|
121
|
+
en: 'Alt text'
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
type: 'control',
|
|
126
|
+
setting: {
|
|
127
|
+
id: 'title'
|
|
128
|
+
},
|
|
129
|
+
label: {
|
|
130
|
+
en: 'Image title'
|
|
87
131
|
}
|
|
88
132
|
}
|
|
89
133
|
]
|
|
@@ -6,15 +6,33 @@ const ArticleReadMoreSettings = [
|
|
|
6
6
|
controls: [
|
|
7
7
|
{
|
|
8
8
|
id: 'readMoreType',
|
|
9
|
-
|
|
9
|
+
label: 'Style',
|
|
10
|
+
popoverLabel: 'Style',
|
|
11
|
+
type: 'layout-selector',
|
|
12
|
+
iconViewBox: '0 0 80 48',
|
|
13
|
+
enableItemBackground: true,
|
|
14
|
+
itemPerRow: 2,
|
|
15
|
+
itemSpacing: 'large',
|
|
10
16
|
options: [
|
|
11
17
|
{
|
|
12
|
-
label: '
|
|
13
|
-
value: 'button'
|
|
18
|
+
label: 'Filled Square',
|
|
19
|
+
value: 'button',
|
|
20
|
+
iconName: 'gp-article-filled-square'
|
|
14
21
|
},
|
|
15
22
|
{
|
|
16
|
-
label: '
|
|
17
|
-
value: '
|
|
23
|
+
label: 'Rounded',
|
|
24
|
+
value: 'rounded',
|
|
25
|
+
iconName: 'gp-article-rounded'
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
label: 'Outline',
|
|
29
|
+
value: 'outline',
|
|
30
|
+
iconName: 'gp-article-outline'
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
label: 'Text',
|
|
34
|
+
value: 'text',
|
|
35
|
+
iconName: 'gp-article-link'
|
|
18
36
|
}
|
|
19
37
|
],
|
|
20
38
|
default: 'button'
|
|
@@ -41,7 +59,7 @@ const ArticleReadMoreSettings = [
|
|
|
41
59
|
id: 'iconVisible',
|
|
42
60
|
label: 'Icon Visible',
|
|
43
61
|
type: 'toggle',
|
|
44
|
-
default:
|
|
62
|
+
default: true
|
|
45
63
|
},
|
|
46
64
|
{
|
|
47
65
|
id: 'iconSvg',
|
|
@@ -156,52 +174,6 @@ const ArticleReadMoreSettings = [
|
|
|
156
174
|
default: 'div'
|
|
157
175
|
}
|
|
158
176
|
]
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
id: 'background',
|
|
162
|
-
type: 'background-media',
|
|
163
|
-
ignoreReRender: true,
|
|
164
|
-
devices: {
|
|
165
|
-
desktop: {
|
|
166
|
-
default: {
|
|
167
|
-
type: 'color',
|
|
168
|
-
color: 'transparent',
|
|
169
|
-
image: {
|
|
170
|
-
src: '',
|
|
171
|
-
width: 0,
|
|
172
|
-
height: 0
|
|
173
|
-
},
|
|
174
|
-
size: 'cover',
|
|
175
|
-
position: {
|
|
176
|
-
x: 50,
|
|
177
|
-
y: 50
|
|
178
|
-
},
|
|
179
|
-
repeat: 'no-repeat',
|
|
180
|
-
attachment: 'scroll'
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
compoDefaultValue: {
|
|
185
|
-
desktop: {
|
|
186
|
-
default: {
|
|
187
|
-
type: 'color',
|
|
188
|
-
color: '#DDDDDD',
|
|
189
|
-
image: {
|
|
190
|
-
src: 'https://ucarecdn.com/5e27d43d-eb1e-4e71-b7e1-4158f3071bb6/-/format/auto/',
|
|
191
|
-
width: 1200,
|
|
192
|
-
height: 480
|
|
193
|
-
},
|
|
194
|
-
size: 'cover',
|
|
195
|
-
position: {
|
|
196
|
-
x: 50,
|
|
197
|
-
y: 50
|
|
198
|
-
},
|
|
199
|
-
repeat: 'no-repeat',
|
|
200
|
-
attachment: 'scroll',
|
|
201
|
-
preload: false
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
177
|
}
|
|
206
178
|
]
|
|
207
179
|
},
|
|
@@ -292,16 +264,16 @@ const ArticleReadMoreSettings = [
|
|
|
292
264
|
devices: {
|
|
293
265
|
desktop: {
|
|
294
266
|
default: {
|
|
295
|
-
normal: '
|
|
296
|
-
hover: '
|
|
267
|
+
normal: '#212121',
|
|
268
|
+
hover: '#303030'
|
|
297
269
|
}
|
|
298
270
|
}
|
|
299
271
|
},
|
|
300
272
|
compoDefaultValue: {
|
|
301
273
|
desktop: {
|
|
302
274
|
default: {
|
|
303
|
-
normal: '
|
|
304
|
-
hover: '
|
|
275
|
+
normal: '#212121',
|
|
276
|
+
hover: '#303030'
|
|
305
277
|
}
|
|
306
278
|
}
|
|
307
279
|
}
|
|
@@ -319,6 +291,38 @@ const ArticleReadMoreSettings = [
|
|
|
319
291
|
normal: true
|
|
320
292
|
}
|
|
321
293
|
},
|
|
294
|
+
{
|
|
295
|
+
id: 'backgroundImage',
|
|
296
|
+
type: 'background-image',
|
|
297
|
+
devices: {
|
|
298
|
+
desktop: {
|
|
299
|
+
default: {
|
|
300
|
+
normal: {},
|
|
301
|
+
hover: {}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
compoDefaultValue: {
|
|
306
|
+
desktop: {
|
|
307
|
+
default: {
|
|
308
|
+
normal: {
|
|
309
|
+
image: {
|
|
310
|
+
src: 'https://ucarecdn.com/5e27d43d-eb1e-4e71-b7e1-4158f3071bb6/-/format/auto/',
|
|
311
|
+
width: 1200,
|
|
312
|
+
height: 480
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
hover: {
|
|
316
|
+
image: {
|
|
317
|
+
src: 'https://ucarecdn.com/5e27d43d-eb1e-4e71-b7e1-4158f3071bb6/-/format/auto/',
|
|
318
|
+
width: 1200,
|
|
319
|
+
height: 480
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
},
|
|
322
326
|
{
|
|
323
327
|
id: 'textColorBtnState',
|
|
324
328
|
type: 'color-picker-v2',
|
|
@@ -389,6 +393,31 @@ const ArticleReadMoreSettings = [
|
|
|
389
393
|
}
|
|
390
394
|
}
|
|
391
395
|
}
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
id: 'boxShadowBtnV2',
|
|
399
|
+
type: 'shadow-v2',
|
|
400
|
+
devices: {
|
|
401
|
+
desktop: {
|
|
402
|
+
default: {
|
|
403
|
+
normal: {}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
compoDefaultValue: {
|
|
408
|
+
desktop: {
|
|
409
|
+
default: {
|
|
410
|
+
normal: {
|
|
411
|
+
type: 'shadow-2',
|
|
412
|
+
distance: '12px',
|
|
413
|
+
blur: '12px',
|
|
414
|
+
spread: '0px',
|
|
415
|
+
color: 'rgba(18, 18, 18, 0.2)',
|
|
416
|
+
angle: 45
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
}
|
|
392
421
|
}
|
|
393
422
|
]
|
|
394
423
|
},
|
|
@@ -429,13 +458,18 @@ const ArticleReadMoreSettings = [
|
|
|
429
458
|
id: 'typoBtn',
|
|
430
459
|
type: 'typography-v2',
|
|
431
460
|
default: {
|
|
432
|
-
type: '
|
|
461
|
+
type: 'paragraph-1',
|
|
433
462
|
custom: {
|
|
434
463
|
lineHeight: {
|
|
435
464
|
desktop: '120%',
|
|
436
465
|
tablet: '120%',
|
|
437
466
|
mobile: '120%'
|
|
438
|
-
}
|
|
467
|
+
},
|
|
468
|
+
letterSpacing: '0px',
|
|
469
|
+
hasShadowText: false
|
|
470
|
+
},
|
|
471
|
+
attrs: {
|
|
472
|
+
color: '#ffffff'
|
|
439
473
|
}
|
|
440
474
|
},
|
|
441
475
|
ignoreReRender: true,
|
|
@@ -567,14 +601,12 @@ const ArticleReadMoreSettings = [
|
|
|
567
601
|
{
|
|
568
602
|
id: 'spacing',
|
|
569
603
|
label: 'Spacing Icon',
|
|
570
|
-
type: 'input:
|
|
604
|
+
type: 'input:slider',
|
|
571
605
|
units: [
|
|
572
|
-
'px'
|
|
573
|
-
'em',
|
|
574
|
-
'rem',
|
|
575
|
-
'%'
|
|
606
|
+
'px'
|
|
576
607
|
],
|
|
577
|
-
|
|
608
|
+
step: 1,
|
|
609
|
+
max: 40,
|
|
578
610
|
default: '8px'
|
|
579
611
|
}
|
|
580
612
|
]
|