@lingxiteam/ebe-utils 0.2.35 → 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.
|
@@ -43,14 +43,13 @@
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
// }
|
|
46
|
+
&::after {
|
|
47
|
+
content: ':';
|
|
48
|
+
display: inline-block;
|
|
49
|
+
width: 8px;
|
|
50
|
+
text-align: center;
|
|
51
|
+
margin-right: 8px;
|
|
52
|
+
}
|
|
54
53
|
|
|
55
54
|
&-no-colon {
|
|
56
55
|
.formLabel-item-label-title {
|
|
@@ -340,14 +339,13 @@
|
|
|
340
339
|
.@{form-item-prefix-cls} {
|
|
341
340
|
// label不换行
|
|
342
341
|
&-label {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
// }
|
|
342
|
+
&::after {
|
|
343
|
+
content: ':';
|
|
344
|
+
display: inline-block;
|
|
345
|
+
width: 8px;
|
|
346
|
+
text-align: center;
|
|
347
|
+
margin-right: 8px;
|
|
348
|
+
}
|
|
351
349
|
|
|
352
350
|
&>label {
|
|
353
351
|
// 减去冒号占位符宽度
|
|
@@ -620,8 +620,8 @@ export const FormFields = React.forwardRef<FormFieldsHooks, FormFieldsProps>((pr
|
|
|
620
620
|
[`${hiddenClassName}`]: !!hiddenClassName,
|
|
621
621
|
// 当无label时,应填充整个父容器长度,不应限制在col-16
|
|
622
622
|
[`${antPrefix}-form-item-noLabel`]: !formItemLabel,
|
|
623
|
-
//
|
|
624
|
-
[`${antPrefix}-form-item-no-colon`]: !
|
|
623
|
+
// 标题超出情况下省略冒号不隐藏优化
|
|
624
|
+
[`${antPrefix}-form-item-no-colon`]: !childProps.colon,
|
|
625
625
|
})} // 用于主题自定义样式去查找对应的元素,固定pcFactory-from-component
|
|
626
626
|
valuePropName={valuePropName}
|
|
627
627
|
initialValue={initialValue}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingxiteam/ebe-utils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@babel/types": "^7.12.12",
|
|
20
20
|
"cac": "^6.7.14",
|
|
21
21
|
"fs-extra": "9.x",
|
|
22
|
-
"@lingxiteam/ebe": "0.
|
|
22
|
+
"@lingxiteam/ebe": "0.3.0"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|