@lingxiteam/theme-utils 0.2.15 → 0.3.0

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.
@@ -54,6 +54,7 @@ export declare const Table: {
54
54
  type: string;
55
55
  label: string;
56
56
  groupsName: string;
57
+ followTheme: string;
57
58
  };
58
59
  tbFontSize: {
59
60
  type: string;
@@ -65,11 +66,13 @@ export declare const Table: {
65
66
  type: string;
66
67
  label: string;
67
68
  groupsName: string;
69
+ followTheme: string;
68
70
  };
69
71
  tbBorderRadius: {
70
72
  type: string;
71
73
  label: string;
72
74
  groupsName: string;
75
+ followTheme: string;
73
76
  };
74
77
  headBgColor: {
75
78
  type: string;
@@ -94,6 +97,7 @@ export declare const Table: {
94
97
  headTextColor: {
95
98
  type: string;
96
99
  label: string;
100
+ followTheme: string;
97
101
  groupsName: string;
98
102
  };
99
103
  headFontWeight: {
@@ -128,6 +132,7 @@ export declare const Table: {
128
132
  type: string;
129
133
  label: string;
130
134
  groupsName: string;
135
+ followTheme: string;
131
136
  };
132
137
  bodyFontWeight: {
133
138
  type: string;
@@ -180,6 +185,9 @@ export declare const Table: {
180
185
  followThemes: {
181
186
  '@primary-color': string[];
182
187
  '@font-size-base': string[];
188
+ '@text-color': never[];
189
+ '@border-radius-base': never[];
190
+ '@border-color-base': never[];
183
191
  };
184
192
  tpl: string;
185
193
  components: ({
@@ -71,7 +71,8 @@ export var Table = {
71
71
  selectPaginationRadius: {
72
72
  type: 'px',
73
73
  label: '选中项边框圆角',
74
- groupsName: '表格分页'
74
+ groupsName: '表格分页',
75
+ followTheme: '@border-radius-base'
75
76
  },
76
77
  // 基础表格
77
78
  tbFontSize: {
@@ -83,12 +84,14 @@ export var Table = {
83
84
  tbBorderColor: {
84
85
  type: 'color',
85
86
  label: '边框颜色',
86
- groupsName: '基础'
87
+ groupsName: '基础',
88
+ followTheme: '@border-color-base'
87
89
  },
88
90
  tbBorderRadius: {
89
91
  type: 'px',
90
92
  label: '边框圆角',
91
- groupsName: '基础'
93
+ groupsName: '基础',
94
+ followTheme: '@border-radius-base'
92
95
  },
93
96
  headBgColor: {
94
97
  type: 'color',
@@ -113,6 +116,7 @@ export var Table = {
113
116
  headTextColor: {
114
117
  type: 'color',
115
118
  label: '文本颜色',
119
+ followTheme: '@text-color',
116
120
  groupsName: '表头'
117
121
  },
118
122
  headFontWeight: {
@@ -170,7 +174,8 @@ export var Table = {
170
174
  bodyTextColor: {
171
175
  type: 'color',
172
176
  label: '文本颜色',
173
- groupsName: '内容行'
177
+ groupsName: '内容行',
178
+ followTheme: '@text-color'
174
179
  },
175
180
  bodyFontWeight: {
176
181
  type: 'select',
@@ -246,7 +251,10 @@ export var Table = {
246
251
  }],
247
252
  followThemes: {
248
253
  '@primary-color': ['selectPaginationColor', 'selectPaginationBorder'],
249
- '@font-size-base': ['tbFontSize']
254
+ '@font-size-base': ['tbFontSize'],
255
+ '@text-color': [],
256
+ '@border-radius-base': [],
257
+ '@border-color-base': []
250
258
  },
251
259
  tpl: ".ued-table-wrap {\n .pcfactory-table{\n font-size: tbFontSize;\n }\n .pcfactory-table-tbody{\n background: bodyBgColor;\n }\n .ued-table .pcfactory-table table {\n border-radius: tbBorderRadius;\n border: 1px solid #E8E8E8;\n overflow: hidden;\n }\n .ued-table .pcfactory-table-thead > tr:first-child > th:first-child{\n border-top-left-radius: tbBorderRadius;\n }\n .ued-table .pcfactory-table-thead > tr:first-child > th:last-child{\n border-top-right-radius: tbBorderRadius;\n }\n .ued-table .pcfactory-table table .pcfactory-table-thead th {\n background: headBgColor;\n padding: headPadding;\n color: headTextColor;\n font-weight: headFontWeight;\n text-align: headTextAlign;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-body>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-body>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-body>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-header>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>tbody>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>tfoot>tr>td{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>tfoot>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-summary>table>thead>tr>th{\n border-color: tbBorderColor;\n }\n .pcfactory-table.pcfactory-table-bordered>.pcfactory-table-container>.pcfactory-table-content>table>thead>tr>th{\n border-bottom: headLineSize solid headLineColor;\n }\n .ued-table-filters .ued-table .pcfactory-table-thead>tr>th{\n border-bottom: headLineSize solid headLineColor;\n }\n .ued-table .pcfactory-table-thead>tr>th{\n border-bottom: headLineSize solid headLineColor;\n }\n .ued-table-filters .ued-table .pcfactory-table-tbody>tr>td{\n border-color: tbBorderColor;\n padding: bodyPadding;\n color: bodyTextColor;\n font-weight: bodyFontWeight;\n text-align: bodyTextAlign;\n }\n .ued-table .pcfactory-table-tbody>tr>td{\n border-color: tbBorderColor;\n padding: bodyPadding;\n color: bodyTextColor;\n font-weight: bodyFontWeight;\n text-align: bodyTextAlign;\n }\n .ued-table-filters .ued-table .pcfactory-table-bordered{\n border-color: tbBorderColor;\n }\n .ued-table .pcfactory-table-bordered{\n border-color: tbBorderColor;\n border-radius: tbBorderRadius;\n }\n .ued-table-filters .ued-table-page .pcfactory-pagination-item-active{\n background: selectPaginationColor;\n }\n .ued-table-page .pcfactory-pagination-item-active{\n background: selectPaginationColor;\n border-style: solid;\n border-width: 1px;\n }\n .ued-table-page .pcfactory-pagination-item{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-page .pcfactory-pagination-item-link{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-page .pcfactory-pagination-options .pcfactory-select .pcfactory-select-selector{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-page .pcfactory-pagination-options .pcfactory-pagination-options-quick-jumper input{\n border-radius: selectPaginationRadius;\n border-color: selectPaginationBorder;\n }\n .ued-table-filters .ued-table-zebra-stripe .pcfactory-table-row:nth-child(2n){\n background: zebraBgColor;\n }\n .ued-table-zebra-stripe .pcfactory-table-row:nth-child(2n){\n background: zebraBgColor;\n }\n}",
252
260
  components: [{
@@ -23,6 +23,7 @@ export declare const Tabs: {
23
23
  type: string;
24
24
  label: string;
25
25
  groupsName: string;
26
+ followTheme: string;
26
27
  };
27
28
  paddingValue: {
28
29
  type: string;
@@ -76,6 +77,7 @@ export declare const Tabs: {
76
77
  type: string;
77
78
  label: string;
78
79
  groupsName: string;
80
+ followTheme: string;
79
81
  };
80
82
  bodyColor: {
81
83
  type: string;
@@ -104,6 +106,7 @@ export declare const Tabs: {
104
106
  }[];
105
107
  followThemes: {
106
108
  '@primary-color': string[];
109
+ '@border-radius-base': never[];
107
110
  };
108
111
  tpl: string;
109
112
  components: ({
@@ -116,61 +119,40 @@ export declare const Tabs: {
116
119
  props: {
117
120
  name: string;
118
121
  basicStatus: number;
119
- type: string;
120
- animated: boolean;
121
- defaultActiveKey: string;
122
- tabBarGutter: string;
123
- tabPosition: string;
124
- size: string;
125
- className: string;
122
+ content: string;
123
+ textType: string;
124
+ showHtml: boolean;
125
+ type?: undefined;
126
+ animated?: undefined;
127
+ defaultActiveKey?: undefined;
128
+ tabBarGutter?: undefined;
129
+ tabPosition?: undefined;
130
+ size?: undefined;
126
131
  };
127
132
  style: {
128
- width: string;
129
- margin: string;
133
+ textAlign: string;
134
+ fontSize: number;
135
+ lineHeight: string;
136
+ color: string;
137
+ backgroundColor: string;
130
138
  padding: string;
139
+ margin: string;
140
+ width?: undefined;
131
141
  };
132
142
  isContainer: boolean;
133
143
  isBusiObjContainer: boolean;
134
144
  cmdgroup: string[];
135
145
  platform: string;
136
146
  icon: string;
147
+ isInlineBlock: boolean;
148
+ setEvents: never[];
137
149
  description: string;
138
150
  image: string;
139
151
  groupsName: string;
140
- onlyChildren: string[];
141
- setEvents: never[];
142
152
  isLabelDropBoxChild: boolean;
143
- components: {
144
- id: string;
145
- label: string;
146
- compName: string;
147
- type: string;
148
- compType: number;
149
- compLib: string;
150
- props: {
151
- name: string;
152
- basicStatus: number;
153
- tab: string;
154
- key: string;
155
- };
156
- style: {
157
- minHeight: number;
158
- };
159
- isContainer: boolean;
160
- isBusiObjContainer: boolean;
161
- cmdgroup: string[];
162
- platform: string;
163
- icon: string;
164
- description: string;
165
- image: string;
166
- groupsName: string;
167
- onlyRoot: string[];
168
- setEvents: never[];
169
- isLabelDropBoxChild: boolean;
170
- components: never[];
171
- path: string[];
172
- }[];
153
+ components: never[];
173
154
  path: string[];
155
+ onlyChildren?: undefined;
174
156
  } | {
175
157
  id: string;
176
158
  label: string;
@@ -187,12 +169,19 @@ export declare const Tabs: {
187
169
  tabBarGutter: string;
188
170
  tabPosition: string;
189
171
  size: string;
190
- className?: undefined;
172
+ content?: undefined;
173
+ textType?: undefined;
174
+ showHtml?: undefined;
191
175
  };
192
176
  style: {
193
177
  width: string;
194
178
  margin: string;
195
179
  padding: string;
180
+ textAlign?: undefined;
181
+ fontSize?: undefined;
182
+ lineHeight?: undefined;
183
+ color?: undefined;
184
+ backgroundColor?: undefined;
196
185
  };
197
186
  isContainer: boolean;
198
187
  isBusiObjContainer: boolean;
@@ -219,7 +208,7 @@ export declare const Tabs: {
219
208
  key: string;
220
209
  };
221
210
  style: {
222
- minHeight: number;
211
+ height: number;
223
212
  };
224
213
  isContainer: boolean;
225
214
  isBusiObjContainer: boolean;
@@ -236,5 +225,6 @@ export declare const Tabs: {
236
225
  path: string[];
237
226
  }[];
238
227
  path: string[];
228
+ isInlineBlock?: undefined;
239
229
  })[];
240
230
  };