@douyinfe/semi-ui 2.38.2 → 2.39.0-beta.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/dist/css/semi.css +8 -1
- package/dist/css/semi.min.css +1 -1
- package/dist/umd/semi-ui.js +9 -4
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/lib/cjs/treeSelect/index.js +1 -1
- package/lib/es/treeSelect/index.js +1 -1
- package/package.json +8 -8
|
@@ -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.
|
|
3
|
+
"version": "2.39.0-beta.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.
|
|
21
|
-
"@douyinfe/semi-animation-react": "2.
|
|
22
|
-
"@douyinfe/semi-foundation": "2.
|
|
23
|
-
"@douyinfe/semi-icons": "2.
|
|
24
|
-
"@douyinfe/semi-illustrations": "2.
|
|
25
|
-
"@douyinfe/semi-theme-default": "2.
|
|
20
|
+
"@douyinfe/semi-animation": "2.39.0-beta.0",
|
|
21
|
+
"@douyinfe/semi-animation-react": "2.39.0-beta.0",
|
|
22
|
+
"@douyinfe/semi-foundation": "2.39.0-beta.0",
|
|
23
|
+
"@douyinfe/semi-icons": "2.39.0-beta.0",
|
|
24
|
+
"@douyinfe/semi-illustrations": "2.39.0-beta.0",
|
|
25
|
+
"@douyinfe/semi-theme-default": "2.39.0-beta.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": "
|
|
72
|
+
"gitHead": "18bd0485b9985b913d849000edab0ab2b5f3c232",
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@babel/plugin-proposal-decorators": "^7.15.8",
|
|
75
75
|
"@babel/plugin-transform-runtime": "^7.15.8",
|