@douyinfe/semi-foundation 2.60.0-beta.0 → 2.60.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.
- package/form/form.scss +4 -0
- package/lib/cjs/form/form.css +3 -0
- package/lib/cjs/form/form.scss +4 -0
- package/lib/es/form/form.css +3 -0
- package/lib/es/form/form.scss +4 -0
- package/package.json +3 -3
package/form/form.scss
CHANGED
|
@@ -200,6 +200,10 @@ $rating: #{$prefix}-rating;
|
|
|
200
200
|
display: flex;
|
|
201
201
|
align-items: center;
|
|
202
202
|
}
|
|
203
|
+
// labelAlign = right
|
|
204
|
+
.#{$field}-label-with-extra.#{$field}-label-right{
|
|
205
|
+
justify-content: flex-end;
|
|
206
|
+
}
|
|
203
207
|
.#{$checkboxGroup},
|
|
204
208
|
.#{$radioGroup} {
|
|
205
209
|
padding-top: $spacing-form_label-paddingTop;
|
package/lib/cjs/form/form.css
CHANGED
|
@@ -132,6 +132,9 @@
|
|
|
132
132
|
display: flex;
|
|
133
133
|
align-items: center;
|
|
134
134
|
}
|
|
135
|
+
.semi-form-field[x-label-pos=left] .semi-form-field-label-with-extra.semi-form-field-label-right {
|
|
136
|
+
justify-content: flex-end;
|
|
137
|
+
}
|
|
135
138
|
.semi-form-field[x-label-pos=left] .semi-checkboxGroup,
|
|
136
139
|
.semi-form-field[x-label-pos=left] .semi-radioGroup {
|
|
137
140
|
padding-top: 6px;
|
package/lib/cjs/form/form.scss
CHANGED
|
@@ -200,6 +200,10 @@ $rating: #{$prefix}-rating;
|
|
|
200
200
|
display: flex;
|
|
201
201
|
align-items: center;
|
|
202
202
|
}
|
|
203
|
+
// labelAlign = right
|
|
204
|
+
.#{$field}-label-with-extra.#{$field}-label-right{
|
|
205
|
+
justify-content: flex-end;
|
|
206
|
+
}
|
|
203
207
|
.#{$checkboxGroup},
|
|
204
208
|
.#{$radioGroup} {
|
|
205
209
|
padding-top: $spacing-form_label-paddingTop;
|
package/lib/es/form/form.css
CHANGED
|
@@ -132,6 +132,9 @@
|
|
|
132
132
|
display: flex;
|
|
133
133
|
align-items: center;
|
|
134
134
|
}
|
|
135
|
+
.semi-form-field[x-label-pos=left] .semi-form-field-label-with-extra.semi-form-field-label-right {
|
|
136
|
+
justify-content: flex-end;
|
|
137
|
+
}
|
|
135
138
|
.semi-form-field[x-label-pos=left] .semi-checkboxGroup,
|
|
136
139
|
.semi-form-field[x-label-pos=left] .semi-radioGroup {
|
|
137
140
|
padding-top: 6px;
|
package/lib/es/form/form.scss
CHANGED
|
@@ -200,6 +200,10 @@ $rating: #{$prefix}-rating;
|
|
|
200
200
|
display: flex;
|
|
201
201
|
align-items: center;
|
|
202
202
|
}
|
|
203
|
+
// labelAlign = right
|
|
204
|
+
.#{$field}-label-with-extra.#{$field}-label-right{
|
|
205
|
+
justify-content: flex-end;
|
|
206
|
+
}
|
|
203
207
|
.#{$checkboxGroup},
|
|
204
208
|
.#{$radioGroup} {
|
|
205
209
|
padding-top: $spacing-form_label-paddingTop;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-foundation",
|
|
3
|
-
"version": "2.60.0
|
|
3
|
+
"version": "2.60.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build:lib": "node ./scripts/compileLib.js",
|
|
7
7
|
"prepublishOnly": "npm run build:lib"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@douyinfe/semi-animation": "2.60.0
|
|
10
|
+
"@douyinfe/semi-animation": "2.60.0",
|
|
11
11
|
"async-validator": "^3.5.0",
|
|
12
12
|
"classnames": "^2.2.6",
|
|
13
13
|
"date-fns": "^2.29.3",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"*.scss",
|
|
25
25
|
"*.css"
|
|
26
26
|
],
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "4002a3053726ca7c3d5175cad3cd7bc36cf0daf1",
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
30
30
|
"@babel/preset-env": "^7.15.8",
|