@sheinx/base 3.10.0-beta.16 → 3.10.0-beta.17

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.
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAqB,MAAM,eAAe,CAAC;AAenE,iBAAS,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,2CAkyBxE;AAED,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAqB,MAAM,eAAe,CAAC;AAenE,iBAAS,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,2CAiyBxE;AAED,eAAe,MAAM,CAAC"}
@@ -506,7 +506,6 @@ function Select(props0) {
506
506
  innerTitle: innerTitle
507
507
  });
508
508
  var renderClearable = function renderClearable() {
509
- if (!multiple !== undefined && !showArrow) return null;
510
509
  var defaultIcon = multiple ? _icons.default.select.More : _icons.default.select.DropdownArrow;
511
510
  var arrow = /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
512
511
  className: (0, _classnames.default)(styles.arrowIcon, open && !compressed && styles.arrowIconOpen),
@@ -519,7 +518,7 @@ function Select(props0) {
519
518
  children: isEmpty ? arrow : _icons.default.select.Close
520
519
  });
521
520
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
522
- children: [close, !open && arrow]
521
+ children: [close, (multiple || showArrow) && !open && arrow]
523
522
  });
524
523
  };
525
524
  var renderIcon = function renderIcon() {
@@ -1 +1 @@
1
- {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAqB,MAAM,eAAe,CAAC;AAenE,iBAAS,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,2CAkyBxE;AAED,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAqB,MAAM,eAAe,CAAC;AAenE,iBAAS,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,2CAiyBxE;AAED,eAAe,MAAM,CAAC"}
@@ -499,7 +499,6 @@ function Select(props0) {
499
499
  innerTitle: innerTitle
500
500
  });
501
501
  var renderClearable = function renderClearable() {
502
- if (!multiple !== undefined && !showArrow) return null;
503
502
  var defaultIcon = multiple ? Icons.select.More : Icons.select.DropdownArrow;
504
503
  var arrow = /*#__PURE__*/_jsx("span", {
505
504
  className: classNames(styles.arrowIcon, open && !compressed && styles.arrowIconOpen),
@@ -512,7 +511,7 @@ function Select(props0) {
512
511
  children: isEmpty ? arrow : Icons.select.Close
513
512
  });
514
513
  return /*#__PURE__*/_jsxs(_Fragment, {
515
- children: [close, !open && arrow]
514
+ children: [close, (multiple || showArrow) && !open && arrow]
516
515
  });
517
516
  };
518
517
  var renderIcon = function renderIcon() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.10.0-beta.16",
3
+ "version": "3.10.0-beta.17",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "module": "./esm/index.js",
11
11
  "typings": "./cjs/index.d.ts",
12
12
  "dependencies": {
13
- "@sheinx/hooks": "3.10.0-beta.16",
13
+ "@sheinx/hooks": "3.10.0-beta.17",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.3.3"