@gem-sdk/components 2.0.0-dev.487 → 2.0.0-dev.488

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.
@@ -90,7 +90,7 @@ const ArticleContentSettings = [
90
90
  label: 'Text Color',
91
91
  type: 'colorpicker',
92
92
  default: {
93
- normal: 'text-2'
93
+ normal: 'text-1'
94
94
  },
95
95
  state: {
96
96
  normal: true,
@@ -137,7 +137,7 @@ const ArticleDateSettings = [
137
137
  label: 'Text Color',
138
138
  type: 'colorpicker',
139
139
  default: {
140
- normal: 'text-2'
140
+ normal: 'text-1'
141
141
  },
142
142
  state: {
143
143
  normal: true,
@@ -18,6 +18,11 @@ const uiV2 = [
18
18
  hideLabel: true,
19
19
  fullWidth: true,
20
20
  updateFields: [
21
+ {
22
+ field: 'attrs.color',
23
+ settingId: 'color',
24
+ state: 'normal'
25
+ },
21
26
  {
22
27
  field: 'attrs.textAlign',
23
28
  settingId: 'textAlign'
@@ -127,7 +127,7 @@ const ArticleExcerptSettings = [
127
127
  label: 'Text Color',
128
128
  type: 'colorpicker',
129
129
  default: {
130
- normal: 'text-2'
130
+ normal: 'text-1'
131
131
  },
132
132
  state: {
133
133
  normal: true,
@@ -154,7 +154,7 @@ const ArticleListPresets = [
154
154
  }
155
155
  },
156
156
  color: {
157
- normal: 'text-2'
157
+ normal: 'text-1'
158
158
  }
159
159
  },
160
160
  advanced: {
@@ -206,7 +206,7 @@ const ArticleListPresets = [
206
206
  }
207
207
  },
208
208
  color: {
209
- normal: 'text-2'
209
+ normal: 'text-1'
210
210
  }
211
211
  },
212
212
  advanced: {
@@ -258,7 +258,7 @@ const ArticleListPresets = [
258
258
  }
259
259
  },
260
260
  color: {
261
- normal: 'text-2'
261
+ normal: 'text-1'
262
262
  }
263
263
  }
264
264
  }
@@ -280,7 +280,7 @@ const ArticleListPresets = [
280
280
  }
281
281
  },
282
282
  color: {
283
- normal: 'text-2'
283
+ normal: 'text-1'
284
284
  },
285
285
  textAlign: {
286
286
  desktop: 'left'
@@ -104,7 +104,7 @@ const ArticleTagSettings = [
104
104
  label: 'Text Color',
105
105
  type: 'colorpicker',
106
106
  default: {
107
- normal: 'text-2'
107
+ normal: 'text-1'
108
108
  },
109
109
  state: {
110
110
  normal: true,
@@ -184,7 +184,7 @@ const ArticleTitleSettings = [
184
184
  label: 'Text Color',
185
185
  type: 'color-picker-v2',
186
186
  default: {
187
- normal: 'text-2'
187
+ normal: 'text-1'
188
188
  },
189
189
  state: {
190
190
  normal: true,
@@ -30,7 +30,7 @@ const getTabListClasses = ({ setting, ulClass })=>{
30
30
  };
31
31
  const getItemClasses = ({ setting, isNotLiquid, isActive, currentDevice })=>{
32
32
  const { labelBgColor, labelColor, position } = setting ?? {};
33
- let classList = 'gp-navs-tab gp-flex gp-flex-1 gp-cursor-pointer gp-py-2 gp-px-4 gp-whitespace-nowrap';
33
+ let classList = 'gp-tab-item gp-flex gp-flex-1 gp-cursor-pointer gp-py-2 gp-px-4 gp-whitespace-nowrap';
34
34
  if (isNotLiquid) {
35
35
  if (isActive) {
36
36
  classList += ` ${core.getGlobalColorClass('bg', labelBgColor?.active)} ${core.getGlobalColorClass('text', labelColor?.active)}`;
@@ -88,7 +88,7 @@ const ArticleContentSettings = [
88
88
  label: 'Text Color',
89
89
  type: 'colorpicker',
90
90
  default: {
91
- normal: 'text-2'
91
+ normal: 'text-1'
92
92
  },
93
93
  state: {
94
94
  normal: true,
@@ -135,7 +135,7 @@ const ArticleDateSettings = [
135
135
  label: 'Text Color',
136
136
  type: 'colorpicker',
137
137
  default: {
138
- normal: 'text-2'
138
+ normal: 'text-1'
139
139
  },
140
140
  state: {
141
141
  normal: true,
@@ -16,6 +16,11 @@ const uiV2 = [
16
16
  hideLabel: true,
17
17
  fullWidth: true,
18
18
  updateFields: [
19
+ {
20
+ field: 'attrs.color',
21
+ settingId: 'color',
22
+ state: 'normal'
23
+ },
19
24
  {
20
25
  field: 'attrs.textAlign',
21
26
  settingId: 'textAlign'
@@ -125,7 +125,7 @@ const ArticleExcerptSettings = [
125
125
  label: 'Text Color',
126
126
  type: 'colorpicker',
127
127
  default: {
128
- normal: 'text-2'
128
+ normal: 'text-1'
129
129
  },
130
130
  state: {
131
131
  normal: true,
@@ -152,7 +152,7 @@ const ArticleListPresets = [
152
152
  }
153
153
  },
154
154
  color: {
155
- normal: 'text-2'
155
+ normal: 'text-1'
156
156
  }
157
157
  },
158
158
  advanced: {
@@ -204,7 +204,7 @@ const ArticleListPresets = [
204
204
  }
205
205
  },
206
206
  color: {
207
- normal: 'text-2'
207
+ normal: 'text-1'
208
208
  }
209
209
  },
210
210
  advanced: {
@@ -256,7 +256,7 @@ const ArticleListPresets = [
256
256
  }
257
257
  },
258
258
  color: {
259
- normal: 'text-2'
259
+ normal: 'text-1'
260
260
  }
261
261
  }
262
262
  }
@@ -278,7 +278,7 @@ const ArticleListPresets = [
278
278
  }
279
279
  },
280
280
  color: {
281
- normal: 'text-2'
281
+ normal: 'text-1'
282
282
  },
283
283
  textAlign: {
284
284
  desktop: 'left'
@@ -102,7 +102,7 @@ const ArticleTagSettings = [
102
102
  label: 'Text Color',
103
103
  type: 'colorpicker',
104
104
  default: {
105
- normal: 'text-2'
105
+ normal: 'text-1'
106
106
  },
107
107
  state: {
108
108
  normal: true,
@@ -182,7 +182,7 @@ const ArticleTitleSettings = [
182
182
  label: 'Text Color',
183
183
  type: 'color-picker-v2',
184
184
  default: {
185
- normal: 'text-2'
185
+ normal: 'text-1'
186
186
  },
187
187
  state: {
188
188
  normal: true,
@@ -28,7 +28,7 @@ const getTabListClasses = ({ setting, ulClass })=>{
28
28
  };
29
29
  const getItemClasses = ({ setting, isNotLiquid, isActive, currentDevice })=>{
30
30
  const { labelBgColor, labelColor, position } = setting ?? {};
31
- let classList = 'gp-navs-tab gp-flex gp-flex-1 gp-cursor-pointer gp-py-2 gp-px-4 gp-whitespace-nowrap';
31
+ let classList = 'gp-tab-item gp-flex gp-flex-1 gp-cursor-pointer gp-py-2 gp-px-4 gp-whitespace-nowrap';
32
32
  if (isNotLiquid) {
33
33
  if (isActive) {
34
34
  classList += ` ${getGlobalColorClass('bg', labelBgColor?.active)} ${getGlobalColorClass('text', labelColor?.active)}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/components",
3
- "version": "2.0.0-dev.487",
3
+ "version": "2.0.0-dev.488",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",