@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.
@@ -305,13 +305,14 @@ const ArticleImageSettings = [
305
305
  id: 'shadow',
306
306
  type: 'shadow-v2',
307
307
  label: 'Button Shadow',
308
- default: {
309
- type: 'none',
310
- distance: '10px',
311
- blur: '12px',
312
- spread: '10px',
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: 40
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: 'advanced',
88
- controlType: 'advanced',
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: 'advanced',
101
- controlType: 'advanced',
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
  {
@@ -254,8 +254,9 @@ const ArticleListSettings = [
254
254
  distance: '4px',
255
255
  blur: '4px',
256
256
  spread: '0px',
257
- color: '#121212',
258
- angle: 45
257
+ color: 'rgba(18, 18, 18, 0.77)',
258
+ angle: 45,
259
+ enable: true
259
260
  }
260
261
  }
261
262
  ]
@@ -303,13 +303,14 @@ const ArticleImageSettings = [
303
303
  id: 'shadow',
304
304
  type: 'shadow-v2',
305
305
  label: 'Button Shadow',
306
- default: {
307
- type: 'none',
308
- distance: '10px',
309
- blur: '12px',
310
- spread: '10px',
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: 40
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: 'advanced',
86
- controlType: 'advanced',
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: 'advanced',
99
- controlType: 'advanced',
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
  {
@@ -252,8 +252,9 @@ const ArticleListSettings = [
252
252
  distance: '4px',
253
253
  blur: '4px',
254
254
  spread: '0px',
255
- color: '#121212',
256
- angle: 45
255
+ color: 'rgba(18, 18, 18, 0.77)',
256
+ angle: 45,
257
+ enable: true
257
258
  }
258
259
  }
259
260
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.569",
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.569",
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
  },