pb-sxp-ui 1.15.40 → 1.15.41

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.
@@ -50,7 +50,8 @@ const CommodityDetail = createMaterial(CommodityDetailComponent, {
50
50
  height: 45,
51
51
  fontWeight: 'bold',
52
52
  textAlign: 'center',
53
- color: 'rgba(255, 255, 255, 0.9)'
53
+ color: 'rgba(255, 255, 255, 0.9)',
54
+ textTransform: 'unset'
54
55
  },
55
56
  commodityImgRatio: {
56
57
  w: 1,
@@ -166,10 +166,21 @@ declare const _default: ({
166
166
  } | {
167
167
  title: string;
168
168
  child: ({
169
+ label: string;
170
+ type: string;
171
+ name: string[];
172
+ options: {
173
+ label: string;
174
+ value: string;
175
+ }[];
176
+ initialValue?: undefined;
177
+ child?: undefined;
178
+ } | {
169
179
  type: string;
170
180
  label: string;
171
181
  name: string[];
172
182
  initialValue: string;
183
+ options?: undefined;
173
184
  child?: undefined;
174
185
  } | {
175
186
  type: string;
@@ -186,11 +197,13 @@ declare const _default: ({
186
197
  max: number;
187
198
  })[];
188
199
  name?: undefined;
200
+ options?: undefined;
189
201
  initialValue?: undefined;
190
202
  } | {
191
203
  type: string;
192
204
  name: string[];
193
205
  label?: undefined;
206
+ options?: undefined;
194
207
  initialValue?: undefined;
195
208
  child?: undefined;
196
209
  } | {
@@ -202,6 +215,7 @@ declare const _default: ({
202
215
  bottomText: string;
203
216
  }[];
204
217
  name?: undefined;
218
+ options?: undefined;
205
219
  initialValue?: undefined;
206
220
  } | {
207
221
  type: string;
@@ -218,11 +232,13 @@ declare const _default: ({
218
232
  initialValue?: undefined;
219
233
  })[];
220
234
  name?: undefined;
235
+ options?: undefined;
221
236
  initialValue?: undefined;
222
237
  } | {
223
238
  label: string;
224
239
  type: string;
225
240
  name: string[];
241
+ options?: undefined;
226
242
  initialValue?: undefined;
227
243
  child?: undefined;
228
244
  })[];
@@ -244,6 +244,25 @@ export default [
244
244
  {
245
245
  title: '购买按钮样式',
246
246
  child: [
247
+ {
248
+ label: '英文大小写',
249
+ type: 'Select',
250
+ name: ['props', 'buttonStyle', 'textTransform'],
251
+ options: [
252
+ {
253
+ label: '默认',
254
+ value: 'unset'
255
+ },
256
+ {
257
+ label: '小写',
258
+ value: 'lowercase'
259
+ },
260
+ {
261
+ label: '大写',
262
+ value: 'uppercase'
263
+ }
264
+ ]
265
+ },
247
266
  {
248
267
  type: 'Color',
249
268
  label: '背景色',
@@ -50,7 +50,8 @@ const CommodityDetailDiroNew = createMaterial(CommodityDetailDiroNewComponent, {
50
50
  color: '#fff',
51
51
  borderRadius: 25,
52
52
  marginTop: 16,
53
- marginBottom: 16
53
+ marginBottom: 16,
54
+ textTransform: 'unset'
54
55
  },
55
56
  commodityImgRatio: {
56
57
  w: 1,
@@ -153,10 +153,21 @@ declare const _default: ({
153
153
  } | {
154
154
  title: string;
155
155
  child: ({
156
+ label: string;
157
+ type: string;
158
+ name: string[];
159
+ options: {
160
+ label: string;
161
+ value: string;
162
+ }[];
163
+ initialValue?: undefined;
164
+ child?: undefined;
165
+ } | {
156
166
  type: string;
157
167
  label: string;
158
168
  name: string[];
159
169
  initialValue: string;
170
+ options?: undefined;
160
171
  child?: undefined;
161
172
  } | {
162
173
  type: string;
@@ -173,11 +184,13 @@ declare const _default: ({
173
184
  max: number;
174
185
  })[];
175
186
  name?: undefined;
187
+ options?: undefined;
176
188
  initialValue?: undefined;
177
189
  } | {
178
190
  type: string;
179
191
  name: string[];
180
192
  label?: undefined;
193
+ options?: undefined;
181
194
  initialValue?: undefined;
182
195
  child?: undefined;
183
196
  } | {
@@ -189,6 +202,7 @@ declare const _default: ({
189
202
  bottomText: string;
190
203
  }[];
191
204
  name?: undefined;
205
+ options?: undefined;
192
206
  initialValue?: undefined;
193
207
  } | {
194
208
  type: string;
@@ -205,11 +219,13 @@ declare const _default: ({
205
219
  initialValue?: undefined;
206
220
  })[];
207
221
  name?: undefined;
222
+ options?: undefined;
208
223
  initialValue?: undefined;
209
224
  } | {
210
225
  label: string;
211
226
  type: string;
212
227
  name: string[];
228
+ options?: undefined;
213
229
  initialValue?: undefined;
214
230
  child?: undefined;
215
231
  })[];
@@ -227,6 +227,25 @@ export default [
227
227
  {
228
228
  title: '购买按钮样式',
229
229
  child: [
230
+ {
231
+ label: '英文大小写',
232
+ type: 'Select',
233
+ name: ['props', 'buttonStyle', 'textTransform'],
234
+ options: [
235
+ {
236
+ label: '默认',
237
+ value: 'unset'
238
+ },
239
+ {
240
+ label: '小写',
241
+ value: 'lowercase'
242
+ },
243
+ {
244
+ label: '大写',
245
+ value: 'uppercase'
246
+ }
247
+ ]
248
+ },
230
249
  {
231
250
  type: 'Color',
232
251
  label: '背景色',
@@ -54,7 +54,8 @@ const CommodityDetail = (0, create_1.createMaterial)(_1.default, {
54
54
  height: 45,
55
55
  fontWeight: 'bold',
56
56
  textAlign: 'center',
57
- color: 'rgba(255, 255, 255, 0.9)'
57
+ color: 'rgba(255, 255, 255, 0.9)',
58
+ textTransform: 'unset'
58
59
  },
59
60
  commodityImgRatio: {
60
61
  w: 1,
@@ -166,10 +166,21 @@ declare const _default: ({
166
166
  } | {
167
167
  title: string;
168
168
  child: ({
169
+ label: string;
170
+ type: string;
171
+ name: string[];
172
+ options: {
173
+ label: string;
174
+ value: string;
175
+ }[];
176
+ initialValue?: undefined;
177
+ child?: undefined;
178
+ } | {
169
179
  type: string;
170
180
  label: string;
171
181
  name: string[];
172
182
  initialValue: string;
183
+ options?: undefined;
173
184
  child?: undefined;
174
185
  } | {
175
186
  type: string;
@@ -186,11 +197,13 @@ declare const _default: ({
186
197
  max: number;
187
198
  })[];
188
199
  name?: undefined;
200
+ options?: undefined;
189
201
  initialValue?: undefined;
190
202
  } | {
191
203
  type: string;
192
204
  name: string[];
193
205
  label?: undefined;
206
+ options?: undefined;
194
207
  initialValue?: undefined;
195
208
  child?: undefined;
196
209
  } | {
@@ -202,6 +215,7 @@ declare const _default: ({
202
215
  bottomText: string;
203
216
  }[];
204
217
  name?: undefined;
218
+ options?: undefined;
205
219
  initialValue?: undefined;
206
220
  } | {
207
221
  type: string;
@@ -218,11 +232,13 @@ declare const _default: ({
218
232
  initialValue?: undefined;
219
233
  })[];
220
234
  name?: undefined;
235
+ options?: undefined;
221
236
  initialValue?: undefined;
222
237
  } | {
223
238
  label: string;
224
239
  type: string;
225
240
  name: string[];
241
+ options?: undefined;
226
242
  initialValue?: undefined;
227
243
  child?: undefined;
228
244
  })[];
@@ -246,6 +246,25 @@ exports.default = [
246
246
  {
247
247
  title: '购买按钮样式',
248
248
  child: [
249
+ {
250
+ label: '英文大小写',
251
+ type: 'Select',
252
+ name: ['props', 'buttonStyle', 'textTransform'],
253
+ options: [
254
+ {
255
+ label: '默认',
256
+ value: 'unset'
257
+ },
258
+ {
259
+ label: '小写',
260
+ value: 'lowercase'
261
+ },
262
+ {
263
+ label: '大写',
264
+ value: 'uppercase'
265
+ }
266
+ ]
267
+ },
249
268
  {
250
269
  type: 'Color',
251
270
  label: '背景色',
@@ -54,7 +54,8 @@ const CommodityDetailDiroNew = (0, create_1.createMaterial)(_1.default, {
54
54
  color: '#fff',
55
55
  borderRadius: 25,
56
56
  marginTop: 16,
57
- marginBottom: 16
57
+ marginBottom: 16,
58
+ textTransform: 'unset'
58
59
  },
59
60
  commodityImgRatio: {
60
61
  w: 1,
@@ -153,10 +153,21 @@ declare const _default: ({
153
153
  } | {
154
154
  title: string;
155
155
  child: ({
156
+ label: string;
157
+ type: string;
158
+ name: string[];
159
+ options: {
160
+ label: string;
161
+ value: string;
162
+ }[];
163
+ initialValue?: undefined;
164
+ child?: undefined;
165
+ } | {
156
166
  type: string;
157
167
  label: string;
158
168
  name: string[];
159
169
  initialValue: string;
170
+ options?: undefined;
160
171
  child?: undefined;
161
172
  } | {
162
173
  type: string;
@@ -173,11 +184,13 @@ declare const _default: ({
173
184
  max: number;
174
185
  })[];
175
186
  name?: undefined;
187
+ options?: undefined;
176
188
  initialValue?: undefined;
177
189
  } | {
178
190
  type: string;
179
191
  name: string[];
180
192
  label?: undefined;
193
+ options?: undefined;
181
194
  initialValue?: undefined;
182
195
  child?: undefined;
183
196
  } | {
@@ -189,6 +202,7 @@ declare const _default: ({
189
202
  bottomText: string;
190
203
  }[];
191
204
  name?: undefined;
205
+ options?: undefined;
192
206
  initialValue?: undefined;
193
207
  } | {
194
208
  type: string;
@@ -205,11 +219,13 @@ declare const _default: ({
205
219
  initialValue?: undefined;
206
220
  })[];
207
221
  name?: undefined;
222
+ options?: undefined;
208
223
  initialValue?: undefined;
209
224
  } | {
210
225
  label: string;
211
226
  type: string;
212
227
  name: string[];
228
+ options?: undefined;
213
229
  initialValue?: undefined;
214
230
  child?: undefined;
215
231
  })[];
@@ -229,6 +229,25 @@ exports.default = [
229
229
  {
230
230
  title: '购买按钮样式',
231
231
  child: [
232
+ {
233
+ label: '英文大小写',
234
+ type: 'Select',
235
+ name: ['props', 'buttonStyle', 'textTransform'],
236
+ options: [
237
+ {
238
+ label: '默认',
239
+ value: 'unset'
240
+ },
241
+ {
242
+ label: '小写',
243
+ value: 'lowercase'
244
+ },
245
+ {
246
+ label: '大写',
247
+ value: 'uppercase'
248
+ }
249
+ ]
250
+ },
232
251
  {
233
252
  type: 'Color',
234
253
  label: '背景色',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pb-sxp-ui",
3
- "version": "1.15.40",
3
+ "version": "1.15.41",
4
4
  "description": "React enterprise-class UI components",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",