@lingxiteam/theme-utils 0.2.11 → 0.2.12

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.
@@ -92,8 +92,8 @@ export var Form = {
92
92
  // 下拉单选与下拉复选样式一致
93
93
  // 滑动输入条没有边框样式
94
94
  // TODO: 树选择器,联级选择器效果待确认
95
- itemCustomTpl: ".pcFactory-from-component{\n .verificationCodePC, .verificationCodePC-titleTop{\n border: 1px solid itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .verificationCodePC-inputContent{\n height: auto;\n }\n .verificationCodePC-inputContent .normalArea{\n height: auto;\n }\n .pcfactory-form-item-label>label{\n color: labelTextColor;\n line-height: labelLineHeight;\n font-size: labelFontSize;\n }\n .pcfactory-input-affix-wrapper {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-input-affix-wrapper:not(.pcfactory-input-affix-wrapper-disabled):hover{\n border-color: itemBorderColor;\n }\n .pcfactory-input{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-input:focus{\n box-shadow: none !important ;\n border-style: none !important;\n }\n .ued-inputNumber-wrap.pcfactory-input-number{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-radio-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-checkbox-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select.ued-select-wrap{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select.ued-select-wrap .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-select:not(.pcfactory-select-customize-input) .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n height: auto;\n min-height: 32px;\n line-height: 2;\n }\n .ued-datePicker-wrap.pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n }\n .pcfactory-picker-input>input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-open .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-item, .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-placeholder{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select-multiple .ued-select-checked-tag{\n color: textColor;\n font-size: fontSize;\n min-height: 24px;\n height: auto;\n padding: 4px 8px 4px 8px;\n line-height: 1.5715;\n }\n .pcfactory-select-single:not(.pcfactory-select-customize-input) .pcfactory-select-selector::after{\n line-height: fontSize;\n }\n span.pcfactory-radio+*{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-selector{\n height: auto;\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .ued-select-wrap .pcfactory-select-selector {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap:hover .pcfactory-select-selector{\n border-color: itemBorderColor;\n }\n .pcfactory-checkbox+span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n height: auto;\n }\n .ued-cascader-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker-input > input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button>span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n \n .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-item, .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-placeholder{\n line-height: 2;\n font-size: fontSize;\n }\n .pcfactory-select-multiple .pcfactory-select-selection-placeholder{\n font-size: fontSize;\n }\n .ued-rateContainer .pcfactory-rate{\n font-size: fontSize;\n }\n .ued-rateContainer-rateText{\n color: textColor;\n font-size: fontSize;\n }\n \n }\n ",
96
- tpl: ".ued-legacy-form-wrap{\n background-color: backgroundColor;\n .pcFactory-from-component{\n .verificationCodePC, .verificationCodePC-titleTop{\n border: 1px solid itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .verificationCodePC-inputContent{\n height: auto;\n }\n .verificationCodePC-inputContent .normalArea{\n height: auto;\n }\n .pcfactory-form-item-label>label{\n color: labelTextColor;\n line-height: labelLineHeight;\n font-size: labelFontSize;\n }\n .pcfactory-input-affix-wrapper {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-input-affix-wrapper:not(.pcfactory-input-affix-wrapper-disabled):hover{\n border-color: itemBorderColor;\n }\n .pcfactory-input{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-input:focus{\n box-shadow: none !important ;\n border-style: none !important;\n }\n .ued-inputNumber-wrap.pcfactory-input-number{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-radio-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-checkbox-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select.ued-select-wrap{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select.ued-select-wrap .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-select:not(.pcfactory-select-customize-input) .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n height: auto;\n min-height: 32px;\n line-height: 2;\n }\n .ued-datePicker-wrap.pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n }\n .pcfactory-picker-input>input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-open .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-item, .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-placeholder{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select-multiple .ued-select-checked-tag{\n color: textColor;\n font-size: fontSize;\n min-height: 24px;\n height: auto;\n padding: 4px 8px 4px 8px;\n line-height: 1.5715;\n }\n .pcfactory-select-single:not(.pcfactory-select-customize-input) .pcfactory-select-selector::after{\n line-height: fontSize;\n }\n span.pcfactory-radio+*{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-selector{\n height: auto;\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .ued-select-wrap .pcfactory-select-selector {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap:hover .pcfactory-select-selector{\n border-color: itemBorderColor;\n }\n .pcfactory-checkbox+span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n height: auto;\n }\n .ued-cascader-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker-input > input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button>span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n \n .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-item, .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-placeholder{\n line-height: 2;\n font-size: fontSize;\n }\n .pcfactory-select-multiple .pcfactory-select-selection-placeholder{\n font-size: fontSize;\n }\n .ued-rateContainer .pcfactory-rate{\n font-size: fontSize;\n }\n .ued-rateContainer-rateText{\n color: textColor;\n font-size: fontSize;\n }\n \n }\n }\n \n ",
95
+ itemCustomTpl: ".pcFactory-from-component{\n .verificationCodePC, .verificationCodePC-titleTop{\n border: 1px solid itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .verificationCodePC-inputContent{\n height: auto;\n }\n .verificationCodePC-inputContent .normalArea{\n height: auto;\n }\n .pcfactory-form-item-label>label{\n color: labelTextColor;\n line-height: labelLineHeight;\n font-size: labelFontSize;\n }\n .pcfactory-input-affix-wrapper {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-input-affix-wrapper:not(.pcfactory-input-affix-wrapper-disabled):hover{\n border-color: itemBorderColor;\n }\n .pcfactory-input{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-input:focus{\n box-shadow: none !important ;\n border-style: none !important;\n }\n .ued-inputNumber-wrap.pcfactory-input-number{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n height: auto;\n }\n .pcfactory-radio-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-checkbox-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select.ued-select-wrap{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select.ued-select-wrap .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-select:not(.pcfactory-select-customize-input) .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n height: auto;\n min-height: 32px;\n line-height: 2;\n }\n .ued-datePicker-wrap.pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n }\n .pcfactory-picker-input>input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-open .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-item, .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-placeholder{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select-multiple .ued-select-checked-tag{\n color: textColor;\n font-size: fontSize;\n min-height: 24px;\n height: auto;\n padding: 4px 8px 4px 8px;\n line-height: 1.5715;\n }\n .pcfactory-select-single:not(.pcfactory-select-customize-input) .pcfactory-select-selector::after{\n line-height: fontSize;\n }\n span.pcfactory-radio+*{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-selector{\n height: auto;\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .ued-select-wrap .pcfactory-select-selector {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap:hover .pcfactory-select-selector{\n border-color: itemBorderColor;\n }\n .pcfactory-checkbox+span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n height: auto;\n }\n .ued-cascader-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker-input > input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button>span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n \n .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-item, .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-placeholder{\n line-height: 2;\n font-size: fontSize;\n }\n .pcfactory-select-multiple .pcfactory-select-selection-placeholder{\n font-size: fontSize;\n }\n .ued-rateContainer .pcfactory-rate{\n font-size: fontSize;\n }\n .ued-rateContainer-rateText{\n color: textColor;\n font-size: fontSize;\n }\n \n }\n ",
96
+ tpl: ".ued-legacy-form-wrap{\n background-color: backgroundColor;\n .pcFactory-from-component{\n .verificationCodePC, .verificationCodePC-titleTop{\n border: 1px solid itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .verificationCodePC-inputContent{\n height: auto;\n }\n .verificationCodePC-inputContent .normalArea{\n height: auto;\n }\n .pcfactory-form-item-label>label{\n color: labelTextColor;\n line-height: labelLineHeight;\n font-size: labelFontSize;\n }\n .pcfactory-input-affix-wrapper {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-input-affix-wrapper:not(.pcfactory-input-affix-wrapper-disabled):hover{\n border-color: itemBorderColor;\n }\n .pcfactory-input{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-input:focus{\n box-shadow: none !important ;\n border-style: none !important;\n }\n .ued-inputNumber-wrap.pcfactory-input-number .pcfactory-input-number-input{\n line-height: fontSize;\n height: auto;\n min-height: 30px;\n }\n .ued-inputNumber-wrap.pcfactory-input-number{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n height: auto;\n }\n .pcfactory-radio-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-checkbox-wrapper{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select.ued-select-wrap{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select.ued-select-wrap .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .pcfactory-select:not(.pcfactory-select-customize-input) .pcfactory-select-selector{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n height: auto;\n min-height: 32px;\n line-height: 2;\n }\n .ued-datePicker-wrap.pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n color: textColor;\n }\n .pcfactory-picker-input>input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-open .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-item, .pcfactory-select-single.pcfactory-select-show-arrow .pcfactory-select-selection-placeholder{\n color: textColor;\n font-size: fontSize;\n line-height: 2;\n }\n .pcfactory-select-multiple .ued-select-checked-tag{\n color: textColor;\n font-size: fontSize;\n min-height: 24px;\n height: auto;\n padding: 4px 8px 4px 8px;\n line-height: 1.5715;\n }\n .pcfactory-select-single:not(.pcfactory-select-customize-input) .pcfactory-select-selector::after{\n line-height: fontSize;\n }\n span.pcfactory-radio+*{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-select-selector{\n height: auto;\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .ued-select-wrap .pcfactory-select-selector {\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n .ued-select-wrap:hover .pcfactory-select-selector{\n border-color: itemBorderColor;\n }\n .pcfactory-checkbox+span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n height: auto;\n }\n .ued-cascader-wrap .pcfactory-select-selection-item{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker-input > input{\n color: textColor;\n font-size: fontSize;\n }\n .pcfactory-picker{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button>span{\n color: textColor;\n font-size: fontSize;\n }\n .ued-stdupload-wrap .pcfactory-upload.pcfactory-upload-select.pcfactory-upload-select-text button{\n border-color: itemBorderColor;\n border-radius: itemBorderRadius;\n }\n \n .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-item, .pcfactory-select-single .pcfactory-select-selector .pcfactory-select-selection-placeholder{\n line-height: 2;\n font-size: fontSize;\n }\n .pcfactory-select-multiple .pcfactory-select-selection-placeholder{\n font-size: fontSize;\n }\n .ued-rateContainer .pcfactory-rate{\n font-size: fontSize;\n }\n .ued-rateContainer-rateText{\n color: textColor;\n font-size: fontSize;\n }\n \n }\n }\n \n ",
97
97
  components: [{
98
98
  id: 'Form_180373',
99
99
  label: '表单',
@@ -19,7 +19,6 @@ export declare const Link: {
19
19
  title: string;
20
20
  defaultValue: {
21
21
  textColor: string;
22
- lineHeight: string;
23
22
  fontSize: string;
24
23
  }[];
25
24
  followThemes: {
@@ -21,14 +21,13 @@ export var Link = {
21
21
  title: '超链接',
22
22
  defaultValue: [{
23
23
  textColor: '#1890ff',
24
- lineHeight: '22px',
25
24
  fontSize: '14px'
26
25
  }],
27
26
  followThemes: {
28
27
  '@font-size-base': ['fontSize'],
29
28
  '@link-color': ['textColor']
30
29
  },
31
- tpl: ".ued-link {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n }\n .ued-link:hover {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n opacity: 0.6;\n }",
30
+ tpl: ".ued-link {\n color: textColor;\n font-size: fontSize;\n }\n .ued-link:hover {\n color: textColor;\n font-size: fontSize;\n opacity: 0.6;\n }",
32
31
  components: [{
33
32
  id: 'Link_610976',
34
33
  label: '超链接',
@@ -106,7 +106,7 @@ export declare const Tabs: {
106
106
  '@primary-color': string[];
107
107
  };
108
108
  tpl: string;
109
- components: {
109
+ components: ({
110
110
  id: string;
111
111
  label: string;
112
112
  compName: string;
@@ -171,5 +171,70 @@ export declare const Tabs: {
171
171
  path: string[];
172
172
  }[];
173
173
  path: string[];
174
- }[];
174
+ } | {
175
+ id: string;
176
+ label: string;
177
+ compName: string;
178
+ type: string;
179
+ compType: number;
180
+ compLib: string;
181
+ props: {
182
+ name: string;
183
+ basicStatus: number;
184
+ type: string;
185
+ animated: boolean;
186
+ defaultActiveKey: string;
187
+ tabBarGutter: string;
188
+ tabPosition: string;
189
+ size: string;
190
+ className?: undefined;
191
+ };
192
+ style: {
193
+ width: string;
194
+ margin: string;
195
+ padding: string;
196
+ };
197
+ isContainer: boolean;
198
+ isBusiObjContainer: boolean;
199
+ cmdgroup: string[];
200
+ platform: string;
201
+ icon: string;
202
+ description: string;
203
+ image: string;
204
+ groupsName: string;
205
+ onlyChildren: string[];
206
+ setEvents: never[];
207
+ isLabelDropBoxChild: boolean;
208
+ components: {
209
+ id: string;
210
+ label: string;
211
+ compName: string;
212
+ type: string;
213
+ compType: number;
214
+ compLib: string;
215
+ props: {
216
+ name: string;
217
+ basicStatus: number;
218
+ tab: string;
219
+ key: string;
220
+ };
221
+ style: {
222
+ minHeight: number;
223
+ };
224
+ isContainer: boolean;
225
+ isBusiObjContainer: boolean;
226
+ cmdgroup: string[];
227
+ platform: string;
228
+ icon: string;
229
+ description: string;
230
+ image: string;
231
+ groupsName: string;
232
+ onlyRoot: string[];
233
+ setEvents: never[];
234
+ isLabelDropBoxChild: boolean;
235
+ components: never[];
236
+ path: string[];
237
+ }[];
238
+ path: string[];
239
+ })[];
175
240
  };
@@ -30,8 +30,8 @@ export var Tabs = {
30
30
  groupsName: '布局'
31
31
  },
32
32
  marginValue: {
33
- type: 'marginInput',
34
- label: '选中项外边距',
33
+ type: 'px',
34
+ label: '选中项右外边距',
35
35
  groupsName: '布局'
36
36
  },
37
37
  lineHeight: {
@@ -128,13 +128,13 @@ export var Tabs = {
128
128
  icon: 'icon-ico-comp-tabs',
129
129
  title: '标签页',
130
130
  defaultValue: [{
131
- headBgColor: '#FAFAFA',
131
+ headBgColor: '#F6F9FF',
132
132
  activeBgColor: '#47e',
133
133
  activeFColor: '#47e',
134
134
  bodyColor: '#fff',
135
- activeRadius: '2px',
135
+ activeRadius: '8px',
136
136
  borderRadius: '0px',
137
- paddingValue: '12px 20px 12px 20px',
137
+ paddingValue: '8px 20px 8px 20px',
138
138
  marginValue: '0px',
139
139
  textColor: 'rgba(94, 94, 94, 0.75)',
140
140
  activeTextColor: '#FFFFFF',
@@ -146,7 +146,7 @@ export var Tabs = {
146
146
  followThemes: {
147
147
  '@primary-color': ['activeFColor', 'activeBgColor']
148
148
  },
149
- tpl: ".pcfactory-tabs {\n background-color: bodyColor !important;\n border-radius: borderRadius !important;\n .pcfactory-tabs-nav .pcfactory-tabs-nav-wrap{\n background-color: headBgColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background-color: activeBgColor;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs-nav::before{\n border-color: activeFColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab{\n padding: paddingValue;\n margin: marginValue;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab .pcfactory-tabs-tab-btn{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab-active .pcfactory-tabs-tab-btn{\n color: activeTextColor;\n font-weight: activeFontWeight;\n }\n\n }\n ",
149
+ tpl: ".ued-tabs-wrap {\n .pcfactory-tabs {\n border-radius: borderRadius !important;\n }\n .ued-tabs-tabpane-content{\n background-color: bodyColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-nav-wrap{\n background: headBgColor;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab .pcfactory-tabs-tab-btn{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .pcfactory-tabs-top .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n }\n .pcfactory-tabs-left .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .pcfactory-tabs-bottom .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-right .pcfactory-tabs-nav .pcfactory-tabs-tab-active{\n background: activeBgColor;\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n border-bottom-right-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab-active:hover{\n background: activeBgColor;\n\n }\n .pcfactory-tabs-top .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-top-right-radius: activeRadius;\n }\n .pcfactory-tabs-left .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: activeRadius;\n }\n .pcfactory-tabs-bottom .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-right .pcfactory-tabs-tab:hover{\n color: activeBgColor;\n background: rgba(92,140,252,0.1);\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: activeRadius;\n border-bottom-right-radius: activeRadius;\n }\n .pcfactory-tabs-card.pcfactory-tabs-top > .pcfactory-tabs-nav .pcfactory-tabs-tab, .pcfactory-tabs-card.pcfactory-tabs-top > div > .pcfactory-tabs-nav .pcfactory-tabs-tab{\n border-top-left-radius: activeRadius;\n border-bottom-left-radius: 0;\n border-top-right-radius: activeRadius;\n border-bottom-right-radius: 0;\n }\n .pcfactory-tabs-tab.pcfactory-tabs-tab-active .pcfactory-tabs-tab-btn{\n color: activeTextColor;\n font-weight: activeFontWeight;\n }\n .pcfactory-tabs-nav .pcfactory-tabs-tab{\n margin-right: marginValue;\n padding: paddingValue;\n }\n .pcfactory-tabs.pcfactory-tabs-card .pcfactory-tabs-tab {\n margin-right: marginValue;\n background: #fff;\n border: 1px solid #f0f0f0;\n transform: translateY(1px);\n}\n .pcfactory-tabs-top > .pcfactory-tabs-nav::before, .pcfactory-tabs-bottom > .pcfactory-tabs-nav::before, .pcfactory-tabs-top > div > .pcfactory-tabs-nav::before, .pcfactory-tabs-bottom > div > .pcfactory-tabs-nav::before{\n border-bottom: 2px solid activeFColor;\n z-index: 1;\n}\n .pcfactory-tabs.pcfactory-tabs-card .pcfactory-tabs-tab-active{\n background: activeBgColor;\n }\n }\n ",
150
150
  components: [{
151
151
  id: 'Tabs_479998',
152
152
  label: '标签页',
@@ -241,5 +241,98 @@ export var Tabs = {
241
241
  path: ['508679', 'View_508679_1', 'Tabs_479998']
242
242
  }],
243
243
  path: ['508679', 'View_508679_1']
244
+ }, {
245
+ id: 'Tabs_63242',
246
+ label: '标签页',
247
+ compName: 'Tabs',
248
+ type: 'Tabs',
249
+ compType: 0,
250
+ compLib: 'comm',
251
+ props: {
252
+ name: '标签页',
253
+ basicStatus: 1,
254
+ type: 'card',
255
+ animated: false,
256
+ defaultActiveKey: '1',
257
+ tabBarGutter: '4px',
258
+ tabPosition: 'top',
259
+ size: 'default'
260
+ },
261
+ style: {
262
+ width: '100%',
263
+ margin: '0 0 16px 0',
264
+ padding: '20px 20px 20px 20px'
265
+ },
266
+ isContainer: true,
267
+ isBusiObjContainer: false,
268
+ cmdgroup: ['basic'],
269
+ platform: 'pc',
270
+ icon: 'Tabs',
271
+ description: '',
272
+ image: '',
273
+ groupsName: '容器',
274
+ onlyChildren: ['TabPane'],
275
+ setEvents: [],
276
+ isLabelDropBoxChild: false,
277
+ components: [{
278
+ id: 'TabPane_7248805',
279
+ label: '标签子面板',
280
+ compName: 'TabPane',
281
+ type: 'TabPane',
282
+ compType: 0,
283
+ compLib: 'comm',
284
+ props: {
285
+ name: '标签子面板',
286
+ basicStatus: 0,
287
+ tab: '标题1',
288
+ key: '1'
289
+ },
290
+ style: {
291
+ minHeight: 40
292
+ },
293
+ isContainer: true,
294
+ isBusiObjContainer: false,
295
+ cmdgroup: ['basic'],
296
+ platform: 'pc',
297
+ icon: 'TabPane',
298
+ description: '',
299
+ image: '',
300
+ groupsName: '容器',
301
+ onlyRoot: ['Tabs'],
302
+ setEvents: [],
303
+ isLabelDropBoxChild: false,
304
+ components: [],
305
+ path: ['192366', 'View_192366_1', 'Tabs_63242']
306
+ }, {
307
+ id: 'TabPane_888938',
308
+ label: '标签子面板',
309
+ compName: 'TabPane',
310
+ type: 'TabPane',
311
+ compType: 0,
312
+ compLib: 'comm',
313
+ props: {
314
+ name: '标签子面板',
315
+ basicStatus: 1,
316
+ tab: '标题2',
317
+ key: '2'
318
+ },
319
+ style: {
320
+ minHeight: 40
321
+ },
322
+ isContainer: true,
323
+ isBusiObjContainer: false,
324
+ cmdgroup: ['basic'],
325
+ platform: 'pc',
326
+ icon: 'TabPane',
327
+ description: '',
328
+ image: '',
329
+ groupsName: '容器',
330
+ onlyRoot: ['Tabs'],
331
+ setEvents: [],
332
+ isLabelDropBoxChild: false,
333
+ components: [],
334
+ path: ['192366', 'View_192366_1', 'Tabs_63242']
335
+ }],
336
+ path: ['192366', 'View_192366_1']
244
337
  }]
245
338
  };
package/dist/lx-mobile.js CHANGED
@@ -33,15 +33,15 @@ import { ALink } from "./h5config/Link";
33
33
  import { Card } from "./h5config/Card";
34
34
  import { Accordion } from "./h5config/Accordion";
35
35
  export var THEME_KEYS_MOBILE_TITLE = {
36
- '@primary-color': '主题颜色',
37
- '@border-color-base': '边框颜色',
36
+ '@primary-color': '主题色',
37
+ '@border-color-base': '边框色',
38
38
  '@font-size-base': '主字号',
39
- '@color-text-base': '文字基本色',
40
- '@color-text-placeholder': '文本框提示色',
41
- '@font-size-heading': '标题字号',
42
- '@button-font-size': '按钮字体',
43
- '@fill-base': '组件背景色',
44
- '@brand-primary-tap': '点击背景色',
39
+ '@color-text-base': '主文本色',
40
+ '@color-text-placeholder': '警告色',
41
+ '@font-size-heading': '标题字',
42
+ '@button-font-size': '按钮字号',
43
+ '@fill-base': '背景色',
44
+ '@brand-primary-tap': '点击色',
45
45
  '@color-link': '链接色'
46
46
  };
47
47
  export var MOBILE_ASSETS_CSS_TPL = {
package/dist/lx.js CHANGED
@@ -36,7 +36,7 @@ import { Tag } from "./config/Tag";
36
36
  import { Tree } from "./config/Tree";
37
37
  import { Description } from "./config/Description";
38
38
  export var THEME_KEYS_TITLE = {
39
- '@primary-color': '主题颜色',
39
+ '@primary-color': '主题色',
40
40
  '@font-size-base': '主字号',
41
41
  '@heading-color': '标题色',
42
42
  '@text-color': '主文本色',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingxiteam/theme-utils",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",