@gem-sdk/components 2.0.0-dev.569 → 2.0.0-dev.573
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/cjs/product/components/ProductBundle/setting/ProductBundleDiscount.js +16 -22
- 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/dist/esm/product/components/ProductBundle/setting/ProductBundleDiscount.js +16 -22
- 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
|
{
|
|
@@ -120,43 +120,37 @@ const config = {
|
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
id: 'iconPosition',
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
enableItemBackground: true,
|
|
126
|
-
enableTooltip: true,
|
|
127
|
-
label: 'Position',
|
|
123
|
+
label: 'Layout',
|
|
124
|
+
type: 'option:illustration',
|
|
128
125
|
default: 'center',
|
|
129
126
|
options: [
|
|
130
|
-
{
|
|
131
|
-
label: 'Center',
|
|
132
|
-
value: 'center',
|
|
133
|
-
type: 'align-pos'
|
|
134
|
-
},
|
|
135
127
|
{
|
|
136
128
|
label: 'Top',
|
|
137
129
|
value: 'baseline',
|
|
138
|
-
|
|
130
|
+
svgName: 'gp-bundle-horizontal-base-line-layout'
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
label: 'Center',
|
|
134
|
+
value: 'center',
|
|
135
|
+
svgName: 'gp-bundle-horizontal-center-layout'
|
|
139
136
|
}
|
|
140
137
|
]
|
|
141
138
|
},
|
|
142
139
|
{
|
|
143
140
|
id: 'iconHorizontalPosition',
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
enableItemBackground: true,
|
|
147
|
-
enableTooltip: true,
|
|
148
|
-
label: 'Position',
|
|
141
|
+
label: 'Layout',
|
|
142
|
+
type: 'option:illustration',
|
|
149
143
|
default: 'center',
|
|
150
144
|
options: [
|
|
151
|
-
{
|
|
152
|
-
label: 'Center',
|
|
153
|
-
value: 'center',
|
|
154
|
-
type: 'align-horizontal-pos'
|
|
155
|
-
},
|
|
156
145
|
{
|
|
157
146
|
label: 'Left',
|
|
158
147
|
value: 'baseline',
|
|
159
|
-
|
|
148
|
+
svgName: 'gp-bundle-vertical-baseline-layout'
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
label: 'Center',
|
|
152
|
+
value: 'center',
|
|
153
|
+
svgName: 'gp-bundle-vertical-center-layout'
|
|
160
154
|
}
|
|
161
155
|
]
|
|
162
156
|
},
|
|
@@ -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
|
{
|
|
@@ -116,43 +116,37 @@ const config = {
|
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
id: 'iconPosition',
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
enableItemBackground: true,
|
|
122
|
-
enableTooltip: true,
|
|
123
|
-
label: 'Position',
|
|
119
|
+
label: 'Layout',
|
|
120
|
+
type: 'option:illustration',
|
|
124
121
|
default: 'center',
|
|
125
122
|
options: [
|
|
126
|
-
{
|
|
127
|
-
label: 'Center',
|
|
128
|
-
value: 'center',
|
|
129
|
-
type: 'align-pos'
|
|
130
|
-
},
|
|
131
123
|
{
|
|
132
124
|
label: 'Top',
|
|
133
125
|
value: 'baseline',
|
|
134
|
-
|
|
126
|
+
svgName: 'gp-bundle-horizontal-base-line-layout'
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
label: 'Center',
|
|
130
|
+
value: 'center',
|
|
131
|
+
svgName: 'gp-bundle-horizontal-center-layout'
|
|
135
132
|
}
|
|
136
133
|
]
|
|
137
134
|
},
|
|
138
135
|
{
|
|
139
136
|
id: 'iconHorizontalPosition',
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
enableItemBackground: true,
|
|
143
|
-
enableTooltip: true,
|
|
144
|
-
label: 'Position',
|
|
137
|
+
label: 'Layout',
|
|
138
|
+
type: 'option:illustration',
|
|
145
139
|
default: 'center',
|
|
146
140
|
options: [
|
|
147
|
-
{
|
|
148
|
-
label: 'Center',
|
|
149
|
-
value: 'center',
|
|
150
|
-
type: 'align-horizontal-pos'
|
|
151
|
-
},
|
|
152
141
|
{
|
|
153
142
|
label: 'Left',
|
|
154
143
|
value: 'baseline',
|
|
155
|
-
|
|
144
|
+
svgName: 'gp-bundle-vertical-baseline-layout'
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
label: 'Center',
|
|
148
|
+
value: 'center',
|
|
149
|
+
svgName: 'gp-bundle-vertical-center-layout'
|
|
156
150
|
}
|
|
157
151
|
]
|
|
158
152
|
},
|
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.573",
|
|
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
|
},
|