@gem-sdk/components 2.0.0-dev.569 → 2.0.0-dev.572
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/ArticleImage/settings.js +7 -6
- package/dist/cjs/article/setting/configs/ArticleImage/uiV2.js +6 -4
- package/dist/cjs/article/setting/configs/ArticleList/settings.js +3 -2
- package/dist/esm/article/setting/configs/ArticleImage/settings.js +7 -6
- package/dist/esm/article/setting/configs/ArticleImage/uiV2.js +6 -4
- package/dist/esm/article/setting/configs/ArticleList/settings.js +3 -2
- package/package.json +2 -2
|
@@ -305,13 +305,14 @@ const ArticleImageSettings = [
|
|
|
305
305
|
id: 'shadow',
|
|
306
306
|
type: 'shadow-v2',
|
|
307
307
|
label: 'Button Shadow',
|
|
308
|
-
|
|
309
|
-
type: '
|
|
310
|
-
distance: '
|
|
311
|
-
blur: '
|
|
312
|
-
spread: '
|
|
308
|
+
compoDefaultValue: {
|
|
309
|
+
type: 'shadow-1',
|
|
310
|
+
distance: '4px',
|
|
311
|
+
blur: '4px',
|
|
312
|
+
spread: '0px',
|
|
313
313
|
color: 'rgba(18, 18, 18, 0.77)',
|
|
314
|
-
angle:
|
|
314
|
+
angle: 45,
|
|
315
|
+
enable: true
|
|
315
316
|
}
|
|
316
317
|
}
|
|
317
318
|
]
|
|
@@ -84,8 +84,8 @@ const uiV2 = [
|
|
|
84
84
|
],
|
|
85
85
|
action: {
|
|
86
86
|
controlId: 'hasActiveShadow',
|
|
87
|
-
groupType: '
|
|
88
|
-
controlType: '
|
|
87
|
+
groupType: 'style',
|
|
88
|
+
controlType: 'style',
|
|
89
89
|
newValue: true
|
|
90
90
|
}
|
|
91
91
|
},
|
|
@@ -97,8 +97,8 @@ const uiV2 = [
|
|
|
97
97
|
],
|
|
98
98
|
action: {
|
|
99
99
|
controlId: 'hasActiveShadow',
|
|
100
|
-
groupType: '
|
|
101
|
-
controlType: '
|
|
100
|
+
groupType: 'style',
|
|
101
|
+
controlType: 'style',
|
|
102
102
|
newValue: false
|
|
103
103
|
}
|
|
104
104
|
}
|
|
@@ -165,6 +165,7 @@ const uiV2 = [
|
|
|
165
165
|
},
|
|
166
166
|
iconName: 'polaris-text-block',
|
|
167
167
|
getValueFromSettingID: 'alt',
|
|
168
|
+
compoDefaultValue: 'Describes the appearance of the image',
|
|
168
169
|
isHideClear: true,
|
|
169
170
|
controls: [
|
|
170
171
|
{
|
|
@@ -185,6 +186,7 @@ const uiV2 = [
|
|
|
185
186
|
},
|
|
186
187
|
iconName: 'polaris-text-block',
|
|
187
188
|
getValueFromSettingID: 'title',
|
|
189
|
+
compoDefaultValue: 'Title',
|
|
188
190
|
isHideClear: true,
|
|
189
191
|
controls: [
|
|
190
192
|
{
|
|
@@ -303,13 +303,14 @@ const ArticleImageSettings = [
|
|
|
303
303
|
id: 'shadow',
|
|
304
304
|
type: 'shadow-v2',
|
|
305
305
|
label: 'Button Shadow',
|
|
306
|
-
|
|
307
|
-
type: '
|
|
308
|
-
distance: '
|
|
309
|
-
blur: '
|
|
310
|
-
spread: '
|
|
306
|
+
compoDefaultValue: {
|
|
307
|
+
type: 'shadow-1',
|
|
308
|
+
distance: '4px',
|
|
309
|
+
blur: '4px',
|
|
310
|
+
spread: '0px',
|
|
311
311
|
color: 'rgba(18, 18, 18, 0.77)',
|
|
312
|
-
angle:
|
|
312
|
+
angle: 45,
|
|
313
|
+
enable: true
|
|
313
314
|
}
|
|
314
315
|
}
|
|
315
316
|
]
|
|
@@ -82,8 +82,8 @@ const uiV2 = [
|
|
|
82
82
|
],
|
|
83
83
|
action: {
|
|
84
84
|
controlId: 'hasActiveShadow',
|
|
85
|
-
groupType: '
|
|
86
|
-
controlType: '
|
|
85
|
+
groupType: 'style',
|
|
86
|
+
controlType: 'style',
|
|
87
87
|
newValue: true
|
|
88
88
|
}
|
|
89
89
|
},
|
|
@@ -95,8 +95,8 @@ const uiV2 = [
|
|
|
95
95
|
],
|
|
96
96
|
action: {
|
|
97
97
|
controlId: 'hasActiveShadow',
|
|
98
|
-
groupType: '
|
|
99
|
-
controlType: '
|
|
98
|
+
groupType: 'style',
|
|
99
|
+
controlType: 'style',
|
|
100
100
|
newValue: false
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -163,6 +163,7 @@ const uiV2 = [
|
|
|
163
163
|
},
|
|
164
164
|
iconName: 'polaris-text-block',
|
|
165
165
|
getValueFromSettingID: 'alt',
|
|
166
|
+
compoDefaultValue: 'Describes the appearance of the image',
|
|
166
167
|
isHideClear: true,
|
|
167
168
|
controls: [
|
|
168
169
|
{
|
|
@@ -183,6 +184,7 @@ const uiV2 = [
|
|
|
183
184
|
},
|
|
184
185
|
iconName: 'polaris-text-block',
|
|
185
186
|
getValueFromSettingID: 'title',
|
|
187
|
+
compoDefaultValue: 'Title',
|
|
186
188
|
isHideClear: true,
|
|
187
189
|
controls: [
|
|
188
190
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.572",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@gem-sdk/core": "2.0.0-dev.569",
|
|
27
|
-
"@gem-sdk/styles": "2.0.0-dev.
|
|
27
|
+
"@gem-sdk/styles": "2.0.0-dev.571",
|
|
28
28
|
"@gem-sdk/system": "2.0.0-dev.504",
|
|
29
29
|
"@types/react-transition-group": "^4.4.5"
|
|
30
30
|
},
|