@lingxiteam/theme-utils 0.5.6 → 0.5.8

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.
@@ -149,6 +149,7 @@ export declare const Card: {
149
149
  cardIconType: string;
150
150
  extendNum: number;
151
151
  title: string;
152
+ subTitle: string;
152
153
  bordered: boolean;
153
154
  size: string;
154
155
  hasHeader: boolean;
@@ -185,6 +185,7 @@ export var Card = {
185
185
  cardIconType: 'auto',
186
186
  extendNum: 3,
187
187
  title: '标题',
188
+ subTitle: '副标题',
188
189
  bordered: true,
189
190
  size: 'default',
190
191
  hasHeader: true,
@@ -198,6 +198,7 @@ export declare const Collapse: {
198
198
  name: string;
199
199
  basicStatus: number;
200
200
  header: string;
201
+ subTitle: string;
201
202
  key: string;
202
203
  };
203
204
  style: {
@@ -234,6 +234,7 @@ export var Collapse = {
234
234
  name: '折叠子面板',
235
235
  basicStatus: 1,
236
236
  header: '标题1',
237
+ subTitle: '副标题1',
237
238
  key: '1'
238
239
  },
239
240
  style: {
@@ -263,6 +264,7 @@ export var Collapse = {
263
264
  name: '折叠子面板',
264
265
  basicStatus: 1,
265
266
  header: '标题',
267
+ subTitle: '副标题',
266
268
  key: '3'
267
269
  },
268
270
  style: {
@@ -292,6 +294,7 @@ export var Collapse = {
292
294
  name: '折叠子面板',
293
295
  basicStatus: 1,
294
296
  header: '标题2',
297
+ subTitle: '副标题2',
295
298
  key: '2'
296
299
  },
297
300
  style: {
@@ -360,6 +363,7 @@ export var Collapse = {
360
363
  name: '折叠子面板',
361
364
  basicStatus: 1,
362
365
  header: '标题1',
366
+ subTitle: '副标题1',
363
367
  key: '1'
364
368
  },
365
369
  style: {
@@ -14,7 +14,7 @@ export var Container = {
14
14
  label: '标题尺寸',
15
15
  groupsName: '标题',
16
16
  desc: '对卡片标题、折叠面板标题、表格头部标题生效',
17
- followTheme: '@font-size-baser'
17
+ followTheme: '@font-size-base'
18
18
  },
19
19
  lineHeight: {
20
20
  type: 'px',
@@ -132,7 +132,7 @@ export var Container = {
132
132
  '@font-size-base': []
133
133
  },
134
134
  // TODO:布局容器、普通容器
135
- tpl: "\n .ued-card .ued-card-title {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-card-sub-title {\n color: subTextColor;\n line-height: subLineHeight;\n font-size: subFontSize;\n font-weight: subFontWeight;\n }\n .ued-card .pcfactory-card-head > .pcfactory-card-head-wrapper > .pcfactory-card-head-title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-collapse-wrap .pcfactory-collapse.pcfactory-collapse-icon-position-right > .pcfactory-collapse-item > .pcfactory-collapse-header .ued-collapse-panel-header {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-collapse-panel-header-sub {\n color: subTextColor;\n line-height: subLineHeight;\n font-size: subFontSize;\n font-weight: subFontWeight;\n }\n .ued-table-filters .table-head-default{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-filters .table-head-middle{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-wrap .table-head-default{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-wrap .table-head-middle .title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 0 0 0 18px ;\n }\n .ued-table-wrap .table-head .title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }",
135
+ tpl: "\n .ued-card .ued-card-title {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-card-sub-title {\n color: subTextColor;\n line-height: subLineHeight;\n font-size: subFontSize;\n font-weight: subFontWeight;\n }\n .ued-card .pcfactory-card-head > .pcfactory-card-head-wrapper > .pcfactory-card-head-title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-collapse-panel-header {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n } \n .ued-collapse-panel-header-default {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n } \n .ued-collapse-panel-header-sub {\n color: subTextColor;\n line-height: subLineHeight;\n font-size: subFontSize;\n font-weight: subFontWeight;\n }\n .ued-table-filters .table-head-default{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-filters .table-head-middle{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-wrap .table-head-default{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 0;\n }\n .ued-table-wrap .table-head-middle .title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 0 0 0 18px ;\n }\n .ued-table-wrap .table-head .title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }",
136
136
  components: [{
137
137
  id: 'Card_872926',
138
138
  label: '卡片',
@@ -179,6 +179,7 @@ export declare const Accordion: {
179
179
  name: string;
180
180
  visible: boolean;
181
181
  header: string;
182
+ subTitle: string;
182
183
  key: string;
183
184
  };
184
185
  style: {};
@@ -317,6 +318,7 @@ export declare const Accordion: {
317
318
  name: string;
318
319
  visible: boolean;
319
320
  header: string;
321
+ subTitle: string;
320
322
  key: string;
321
323
  };
322
324
  style: {};
@@ -420,6 +422,7 @@ export declare const Accordion: {
420
422
  name: string;
421
423
  visible: boolean;
422
424
  header: string;
425
+ subTitle: string;
423
426
  key: string;
424
427
  };
425
428
  style: {};
@@ -176,7 +176,7 @@ export var Accordion = {
176
176
  '@color-text-base': [],
177
177
  '@border-color-base': []
178
178
  },
179
- tpl: ".lcdp-accordion {\n .lcdp-accordion-header{\n color: textColor;\n font-weight: fontWeight;\n font-size: fontSize;\n line-height: lineHeight;\n background: backgroundColor;\n > div {\n margin: tagMargin !important;\n }\n }\n .lcdp-accordion-header-icon-left{\n background: titleColor;\n }\n .lcdp-accordion-header-default-icon{\n height: tagSize;\n background: titleColor;\n margin-right: -4px;\n }\n .adm-collapse-arrow svg{\n color: arrowColor;\n width: arrowSize;\n height: arrowSize;\n }\n .adm-list-item-content-main{\n background: bodyBgColor;\n }\n .adm-collapse{\n border-radius: borderRadius;\n border-color: borderColor !important;\n }\n }\n ",
179
+ tpl: ".lcdp-accordion {\n .lcdp-accordion-header{\n color: textColor;\n font-weight: fontWeight;\n font-size: fontSize;\n line-height: lineHeight;\n background: backgroundColor;\n > div {\n margin: tagMargin !important;\n }\n }\n .lcdp-accordion-header .title-content {\n main {\n color: textColor;\n font-weight: fontWeight;\n font-size: fontSize;\n line-height: lineHeight;\n }\n .sub {\n color: subTextColor;\n font-weight: subFontWeight;\n font-size: subFontSize;\n line-height: subLineHeight;\n }\n }\n .lcdp-accordion-header-icon-left{\n background: titleColor;\n }\n .lcdp-accordion-header-default-icon{\n height: tagSize;\n background: titleColor;\n margin-right: -4px;\n }\n .adm-collapse-arrow svg{\n color: arrowColor;\n width: arrowSize;\n height: arrowSize;\n }\n .adm-list-item-content-main{\n background: bodyBgColor;\n }\n .adm-collapse{\n border-radius: borderRadius;\n border-color: borderColor !important;\n }\n }\n ",
180
180
  components: [{
181
181
  id: 'Accordion_960849',
182
182
  label: '折叠面板',
@@ -215,6 +215,7 @@ export var Accordion = {
215
215
  name: '折叠子面板',
216
216
  visible: true,
217
217
  header: '显示边框',
218
+ subTitle: '副标题',
218
219
  key: '1'
219
220
  },
220
221
  style: {},
@@ -275,6 +276,7 @@ export var Accordion = {
275
276
  name: '折叠子面板',
276
277
  visible: true,
277
278
  header: '标题2',
279
+ subTitle: '副标题2',
278
280
  key: '2'
279
281
  },
280
282
  style: {},
@@ -397,6 +399,7 @@ export var Accordion = {
397
399
  name: '折叠子面板',
398
400
  visible: true,
399
401
  header: '标题1',
402
+ subTitle: '副标题1',
400
403
  key: '1'
401
404
  },
402
405
  style: {},
@@ -461,6 +464,7 @@ export var Accordion = {
461
464
  name: '折叠子面板',
462
465
  visible: true,
463
466
  header: '标题2',
467
+ subTitle: '副标题2',
464
468
  key: '2'
465
469
  },
466
470
  style: {},
@@ -554,6 +558,7 @@ export var Accordion = {
554
558
  name: '折叠子面板',
555
559
  visible: true,
556
560
  header: '标题1',
561
+ subTitle: '副标题1',
557
562
  key: '1'
558
563
  },
559
564
  style: {},
@@ -580,6 +585,7 @@ export var Accordion = {
580
585
  name: '折叠子面板',
581
586
  visible: true,
582
587
  header: '标题2',
588
+ subTitle: '副标题2',
583
589
  key: '2'
584
590
  },
585
591
  style: {},
@@ -178,6 +178,7 @@ export declare const Card: {
178
178
  status: string;
179
179
  cardType: string;
180
180
  title: string;
181
+ subTitle: string;
181
182
  headerType: string;
182
183
  postFixFontSize: number;
183
184
  iconPosition: string;
@@ -249,6 +250,7 @@ export declare const Card: {
249
250
  status: string;
250
251
  cardType: string;
251
252
  title: string;
253
+ subTitle: string;
252
254
  headerType: string;
253
255
  postFixFontSize: number;
254
256
  iconPosition: string;
@@ -200,7 +200,7 @@ export var Card = {
200
200
  '@color-text-base': [],
201
201
  '@border-color-base': ['lineColor', 'bodyLineColor']
202
202
  },
203
- tpl: ".lcdp-h5-card {\n border-radius: borderRadius;\n border: 1PX solid borderColor;\n\n .adm-card-header:not(:last-child){\n border-color: lineColor !important;\n }\n .adm-card-header{\n border-color: lineColor !important;\n background: backgroundColor;\n }\n .adm-card-body{\n background: bodyBgColor;\n }\n\n .adm-card-header-title .lcdp-h5-card-title{\n color: textColor;\n font-weight: fontWeight;\n font-size: fontSize;\n line-height: lineHeight;\n }\n\n .lcdp-h5-card-hStyle{\n background: titleColor;\n margin: tagMargin;\n position: static;\n width: tagSize;\n }\n .lcdp-h5-card-vStyle{\n height: tagSize;\n background: titleColor;\n margin: tagMargin;\n }\n .lcdp-h5-card-icon{\n width: tagSize;\n height: tagSize;\n margin: tagMargin;\n margin-top: -1px;\n display: grid;\n }\n .lcdp-h5-card-icon svg{\n color: titleColor;\n width: tagSize;\n height: tagSize;\n }\n .lcdp-h5-card-extra-icon{\n width: arrowSize;\n height: arrowSize;\n }\n .lcdp-h5-card-extra-icon svg{\n color: arrowColor;\n width: arrowSize;\n height: arrowSize;\n }\n .lcdp-card-footer-draw-box-border{\n border-color: bodyLineColor;\n background: footBgColor;\n }\n }\n \n ",
203
+ tpl: ".lcdp-h5-card {\n border-radius: borderRadius;\n border: 1PX solid borderColor;\n\n .adm-card-header:not(:last-child){\n border-color: lineColor !important;\n }\n .adm-card-header{\n border-color: lineColor !important;\n background: backgroundColor;\n }\n .adm-card-body{\n background: bodyBgColor;\n }\n\n .lcdp-h5-card-title .title-content {\n main {\n color: textColor;\n font-weight: fontWeight;\n font-size: fontSize;\n line-height: lineHeight;\n }\n .sub {\n color: subTextColor;\n font-weight: subFontWeight;\n font-size: subFontSize;\n line-height: subLineHeight;\n }\n }\n \n .lcdp-h5-card-hStyle{\n background: titleColor;\n margin: tagMargin;\n position: static;\n width: tagSize;\n }\n .lcdp-h5-card-vStyle{\n height: tagSize;\n background: titleColor;\n margin: tagMargin;\n }\n .lcdp-h5-card-icon{\n width: tagSize;\n height: tagSize;\n margin: tagMargin;\n margin-top: -1px;\n display: grid;\n }\n .lcdp-h5-card-icon svg{\n color: titleColor;\n width: tagSize;\n height: tagSize;\n }\n .lcdp-h5-card-extra-icon{\n width: arrowSize;\n height: arrowSize;\n }\n .lcdp-h5-card-extra-icon svg{\n color: arrowColor;\n width: arrowSize;\n height: arrowSize;\n }\n .lcdp-card-footer-draw-box-border{\n border-color: bodyLineColor;\n background: footBgColor;\n }\n }\n \n ",
204
204
  components: [{
205
205
  id: 'Card_194419',
206
206
  label: '卡片',
@@ -224,6 +224,7 @@ export var Card = {
224
224
  status: '1',
225
225
  cardType: '1',
226
226
  title: '卡片标题',
227
+ subTitle: '副标题',
227
228
  headerType: 'none',
228
229
  postFixFontSize: 16,
229
230
  iconPosition: 'after',
@@ -318,6 +319,7 @@ export var Card = {
318
319
  status: '1',
319
320
  cardType: '1',
320
321
  title: '卡片标题',
322
+ subTitle: '副标题',
321
323
  headerType: 'vStyle',
322
324
  postFixFontSize: 16,
323
325
  iconPosition: 'after',
@@ -412,6 +414,7 @@ export var Card = {
412
414
  status: '1',
413
415
  cardType: '1',
414
416
  title: '卡片标题',
417
+ subTitle: '副标题',
415
418
  headerType: 'hStyle',
416
419
  postFixFontSize: 16,
417
420
  iconPosition: 'after',
@@ -506,6 +509,7 @@ export var Card = {
506
509
  status: '1',
507
510
  cardType: '1',
508
511
  title: '卡片标题',
512
+ subTitle: '副标题',
509
513
  headerType: 'icon',
510
514
  postFixFontSize: 16,
511
515
  iconPosition: 'after',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/theme-utils",
3
- "version": "0.5.6",
3
+ "version": "0.5.8",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",