@douyinfe/semi-foundation 2.82.0-beta.0 → 2.82.1

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/input/input.scss CHANGED
@@ -457,6 +457,10 @@ $module: #{$prefix}-input;
457
457
  background-color: transparent;
458
458
  box-sizing: border-box;
459
459
 
460
+ &:placeholder-shown {
461
+ text-overflow: ellipsis;
462
+ }
463
+
460
464
  &[type="password"]::-ms-reveal,
461
465
  &[type="password"]::-ms-clear {
462
466
  display: none;
@@ -341,6 +341,9 @@
341
341
  background-color: transparent;
342
342
  box-sizing: border-box;
343
343
  }
344
+ .semi-input:placeholder-shown {
345
+ text-overflow: ellipsis;
346
+ }
344
347
  .semi-input[type=password]::-ms-reveal, .semi-input[type=password]::-ms-clear {
345
348
  display: none;
346
349
  }
@@ -457,6 +457,10 @@ $module: #{$prefix}-input;
457
457
  background-color: transparent;
458
458
  box-sizing: border-box;
459
459
 
460
+ &:placeholder-shown {
461
+ text-overflow: ellipsis;
462
+ }
463
+
460
464
  &[type="password"]::-ms-reveal,
461
465
  &[type="password"]::-ms-clear {
462
466
  display: none;
@@ -70,6 +70,7 @@
70
70
  .semi-modal-content-fullScreen {
71
71
  border-radius: 0;
72
72
  border: none;
73
+ height: 100%;
73
74
  top: 0px;
74
75
  }
75
76
  .semi-modal-header {
@@ -80,6 +80,7 @@ $module: #{$prefix}-modal;
80
80
  &-content-fullScreen {
81
81
  border-radius: $radius-modal_content_fullscreen;
82
82
  border: none;
83
+ height: 100%;
83
84
  top: $spacing-modal_content_fullscreen-top;
84
85
  }
85
86
 
@@ -245,7 +245,7 @@ $overflowList: #{$prefix}-overflow-list;
245
245
 
246
246
  .#{$module}-content-wrapper {
247
247
  width: 100%;
248
- min-height: $height-select_multiple_content_wrapper-minHeight;
248
+ min-height: $height-select_default - 2 * $width-select-border ;
249
249
  flex-wrap: wrap;
250
250
 
251
251
  &-empty {
@@ -276,13 +276,13 @@ $overflowList: #{$prefix}-overflow-list;
276
276
 
277
277
  &-multiple.#{$module}-large {
278
278
  .#{$module}-content-wrapper {
279
- min-height: $height-select_large - 2;
279
+ min-height: $height-select_large - 2 * $width-select-border;
280
280
  }
281
281
  }
282
282
 
283
283
  &-multiple.#{$module}-small {
284
284
  .#{$module}-content-wrapper {
285
- min-height: $height-select_small - 2;
285
+ min-height: $height-select_small - 2 * $width-select-border;
286
286
  }
287
287
  }
288
288
 
@@ -71,7 +71,6 @@ $width-select_arrow: 32px; // 选择器输入框下拉箭头宽度
71
71
  $width-select_arrow_empty: 12px; // 选择器输入框下拉箭头为空时(有suffix icon)宽度
72
72
  $width-select_clear-icon: 32px; // 选择器输入框清空按钮宽度
73
73
  $width-select_group_top-border: $border-thickness-control; // 选择器菜单分组标题描边宽度
74
- $height-select_multiple_content_wrapper-minHeight: $height-select_default - 2px; // 多项选择器标签组最小高度
75
74
 
76
75
  $height-select_multiple_input_small: 20px; // 小尺寸多项选择器输入框Input框高度
77
76
  $height-select_multiple_input_default: 24px; // 默认多项选择器输入框Input框高度
@@ -341,6 +341,9 @@
341
341
  background-color: transparent;
342
342
  box-sizing: border-box;
343
343
  }
344
+ .semi-input:placeholder-shown {
345
+ text-overflow: ellipsis;
346
+ }
344
347
  .semi-input[type=password]::-ms-reveal, .semi-input[type=password]::-ms-clear {
345
348
  display: none;
346
349
  }
@@ -457,6 +457,10 @@ $module: #{$prefix}-input;
457
457
  background-color: transparent;
458
458
  box-sizing: border-box;
459
459
 
460
+ &:placeholder-shown {
461
+ text-overflow: ellipsis;
462
+ }
463
+
460
464
  &[type="password"]::-ms-reveal,
461
465
  &[type="password"]::-ms-clear {
462
466
  display: none;
@@ -70,6 +70,7 @@
70
70
  .semi-modal-content-fullScreen {
71
71
  border-radius: 0;
72
72
  border: none;
73
+ height: 100%;
73
74
  top: 0px;
74
75
  }
75
76
  .semi-modal-header {
@@ -80,6 +80,7 @@ $module: #{$prefix}-modal;
80
80
  &-content-fullScreen {
81
81
  border-radius: $radius-modal_content_fullscreen;
82
82
  border: none;
83
+ height: 100%;
83
84
  top: $spacing-modal_content_fullscreen-top;
84
85
  }
85
86
 
@@ -245,7 +245,7 @@ $overflowList: #{$prefix}-overflow-list;
245
245
 
246
246
  .#{$module}-content-wrapper {
247
247
  width: 100%;
248
- min-height: $height-select_multiple_content_wrapper-minHeight;
248
+ min-height: $height-select_default - 2 * $width-select-border ;
249
249
  flex-wrap: wrap;
250
250
 
251
251
  &-empty {
@@ -276,13 +276,13 @@ $overflowList: #{$prefix}-overflow-list;
276
276
 
277
277
  &-multiple.#{$module}-large {
278
278
  .#{$module}-content-wrapper {
279
- min-height: $height-select_large - 2;
279
+ min-height: $height-select_large - 2 * $width-select-border;
280
280
  }
281
281
  }
282
282
 
283
283
  &-multiple.#{$module}-small {
284
284
  .#{$module}-content-wrapper {
285
- min-height: $height-select_small - 2;
285
+ min-height: $height-select_small - 2 * $width-select-border;
286
286
  }
287
287
  }
288
288
 
@@ -71,7 +71,6 @@ $width-select_arrow: 32px; // 选择器输入框下拉箭头宽度
71
71
  $width-select_arrow_empty: 12px; // 选择器输入框下拉箭头为空时(有suffix icon)宽度
72
72
  $width-select_clear-icon: 32px; // 选择器输入框清空按钮宽度
73
73
  $width-select_group_top-border: $border-thickness-control; // 选择器菜单分组标题描边宽度
74
- $height-select_multiple_content_wrapper-minHeight: $height-select_default - 2px; // 多项选择器标签组最小高度
75
74
 
76
75
  $height-select_multiple_input_small: 20px; // 小尺寸多项选择器输入框Input框高度
77
76
  $height-select_multiple_input_default: 24px; // 默认多项选择器输入框Input框高度
package/modal/modal.scss CHANGED
@@ -80,6 +80,7 @@ $module: #{$prefix}-modal;
80
80
  &-content-fullScreen {
81
81
  border-radius: $radius-modal_content_fullscreen;
82
82
  border: none;
83
+ height: 100%;
83
84
  top: $spacing-modal_content_fullscreen-top;
84
85
  }
85
86
 
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-foundation",
3
- "version": "2.82.0-beta.0",
3
+ "version": "2.82.1",
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.82.0-beta.0",
11
- "@douyinfe/semi-json-viewer-core": "2.82.0-beta.0",
10
+ "@douyinfe/semi-animation": "2.82.1",
11
+ "@douyinfe/semi-json-viewer-core": "2.82.1",
12
12
  "@mdx-js/mdx": "^3.0.1",
13
13
  "async-validator": "^3.5.0",
14
14
  "classnames": "^2.2.6",
@@ -29,7 +29,7 @@
29
29
  "*.scss",
30
30
  "*.css"
31
31
  ],
32
- "gitHead": "01d93c700be1a77a61253a71f61dc8b267b2c528",
32
+ "gitHead": "f775358bc55290bb95a25f70b11ebf1cf081c1e8",
33
33
  "devDependencies": {
34
34
  "@babel/plugin-transform-runtime": "^7.15.8",
35
35
  "@babel/preset-env": "^7.15.8",
@@ -245,7 +245,7 @@ $overflowList: #{$prefix}-overflow-list;
245
245
 
246
246
  .#{$module}-content-wrapper {
247
247
  width: 100%;
248
- min-height: $height-select_multiple_content_wrapper-minHeight;
248
+ min-height: $height-select_default - 2 * $width-select-border ;
249
249
  flex-wrap: wrap;
250
250
 
251
251
  &-empty {
@@ -276,13 +276,13 @@ $overflowList: #{$prefix}-overflow-list;
276
276
 
277
277
  &-multiple.#{$module}-large {
278
278
  .#{$module}-content-wrapper {
279
- min-height: $height-select_large - 2;
279
+ min-height: $height-select_large - 2 * $width-select-border;
280
280
  }
281
281
  }
282
282
 
283
283
  &-multiple.#{$module}-small {
284
284
  .#{$module}-content-wrapper {
285
- min-height: $height-select_small - 2;
285
+ min-height: $height-select_small - 2 * $width-select-border;
286
286
  }
287
287
  }
288
288
 
@@ -71,7 +71,6 @@ $width-select_arrow: 32px; // 选择器输入框下拉箭头宽度
71
71
  $width-select_arrow_empty: 12px; // 选择器输入框下拉箭头为空时(有suffix icon)宽度
72
72
  $width-select_clear-icon: 32px; // 选择器输入框清空按钮宽度
73
73
  $width-select_group_top-border: $border-thickness-control; // 选择器菜单分组标题描边宽度
74
- $height-select_multiple_content_wrapper-minHeight: $height-select_default - 2px; // 多项选择器标签组最小高度
75
74
 
76
75
  $height-select_multiple_input_small: 20px; // 小尺寸多项选择器输入框Input框高度
77
76
  $height-select_multiple_input_default: 24px; // 默认多项选择器输入框Input框高度