@douyinfe/semi-ui 2.38.2 → 2.39.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.
@@ -270,7 +270,7 @@ class TreeSelect extends _baseComponent.default {
270
270
  // searchPosition = dropdown and single seleciton
271
271
  if (!multiple || !this.hasValue()) {
272
272
  const renderText = this.foundation.getRenderTextInSingle();
273
- const spanCls = (0, _classnames.default)({
273
+ const spanCls = (0, _classnames.default)(`${prefixcls}-selection-content`, {
274
274
  [`${prefixcls}-selection-placeholder`]: !renderText
275
275
  });
276
276
  return /*#__PURE__*/_react.default.createElement("span", {
@@ -261,7 +261,7 @@ class TreeSelect extends BaseComponent {
261
261
  // searchPosition = dropdown and single seleciton
262
262
  if (!multiple || !this.hasValue()) {
263
263
  const renderText = this.foundation.getRenderTextInSingle();
264
- const spanCls = cls({
264
+ const spanCls = cls(`${prefixcls}-selection-content`, {
265
265
  [`${prefixcls}-selection-placeholder`]: !renderText
266
266
  });
267
267
  return /*#__PURE__*/React.createElement("span", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-ui",
3
- "version": "2.38.2",
3
+ "version": "2.39.0",
4
4
  "description": "",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es/index.js",
@@ -17,12 +17,12 @@
17
17
  "lib/*"
18
18
  ],
19
19
  "dependencies": {
20
- "@douyinfe/semi-animation": "2.38.2",
21
- "@douyinfe/semi-animation-react": "2.38.2",
22
- "@douyinfe/semi-foundation": "2.38.2",
23
- "@douyinfe/semi-icons": "2.38.2",
24
- "@douyinfe/semi-illustrations": "2.38.2",
25
- "@douyinfe/semi-theme-default": "2.38.2",
20
+ "@douyinfe/semi-animation": "2.39.0",
21
+ "@douyinfe/semi-animation-react": "2.39.0",
22
+ "@douyinfe/semi-foundation": "2.39.0",
23
+ "@douyinfe/semi-icons": "2.39.0",
24
+ "@douyinfe/semi-illustrations": "2.39.0",
25
+ "@douyinfe/semi-theme-default": "2.39.0",
26
26
  "async-validator": "^3.5.0",
27
27
  "classnames": "^2.2.6",
28
28
  "copy-text-to-clipboard": "^2.1.1",
@@ -69,7 +69,7 @@
69
69
  ],
70
70
  "author": "",
71
71
  "license": "MIT",
72
- "gitHead": "e761d8bc2ba54e3b69ac77f5e6425c62ed6b02f1",
72
+ "gitHead": "7c7257d1e4bca9c1485c077470366e9776661e71",
73
73
  "devDependencies": {
74
74
  "@babel/plugin-proposal-decorators": "^7.15.8",
75
75
  "@babel/plugin-transform-runtime": "^7.15.8",