shineout 3.8.1-beta.1 → 3.8.1-beta.3

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/cjs/index.js CHANGED
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
522
522
  // 此文件由脚本自动生成,请勿直接修改。
523
523
  // This file was generated automatically by a script. Please do not modify it directly.
524
524
  var _default = exports.default = {
525
- version: '3.8.1-beta.1'
525
+ version: '3.8.1-beta.3'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
12386
12386
  };
12387
12387
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12388
12388
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12389
- /* harmony default export */ var version = ('3.8.1-beta.1');
12389
+ /* harmony default export */ var version = ('3.8.1-beta.3');
12390
12390
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12391
12391
 
12392
12392
 
@@ -26183,6 +26183,12 @@ var stepsStyle = {
26183
26183
  '&:after': {
26184
26184
  width: 1
26185
26185
  }
26186
+ },
26187
+ '& $default': {
26188
+ display: 'flex',
26189
+ '& $content': {
26190
+ wordBreak: 'break-word'
26191
+ }
26186
26192
  }
26187
26193
  },
26188
26194
  '&$horizontal': {
@@ -26843,7 +26849,10 @@ var tableStyle = objectSpread2_default()(objectSpread2_default()({
26843
26849
  },
26844
26850
  hasFilter: {
26845
26851
  display: 'inline-flex',
26846
- alignItems: 'center'
26852
+ alignItems: 'center',
26853
+ '$cellAlignRight &': {
26854
+ marginInlineEnd: -5
26855
+ }
26847
26856
  },
26848
26857
  filterIconContainer: {
26849
26858
  '&:hover $filterIcon': {
@@ -42975,6 +42984,7 @@ var Cascader = function Cascader(props0) {
42975
42984
  return renderLoading();
42976
42985
  }
42977
42986
  if (isDataEmpty) {
42987
+ // todo: 空数据时 是否 支持一下也能走到renderOptionList
42978
42988
  return renderEmpty();
42979
42989
  }
42980
42990
  if (!filterText || filterText && mode !== undefined || data && data.length === 0) {
@@ -57927,6 +57937,7 @@ function Select(props0) {
57927
57937
  });
57928
57938
  };
57929
57939
  var renderEmpty = function renderEmpty() {
57940
+ if (props.emptyText === false) return null;
57930
57941
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
57931
57942
  className: styles === null || styles === void 0 ? void 0 : styles.option,
57932
57943
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@@ -57941,13 +57952,13 @@ function Select(props0) {
57941
57952
  var renderOptions = function renderOptions() {
57942
57953
  if (loading) return renderLoading();
57943
57954
  var isEmpty = !(filterData !== null && filterData !== void 0 && filterData.length);
57944
- if (isEmpty && props.emptyText !== false) return renderEmpty();
57945
57955
  var options = 'treeData' in props ? renderTreeList() : renderList();
57946
57956
  if (renderOptionList) {
57947
- return renderOptionList(options, {
57957
+ return renderOptionList(isEmpty ? renderEmpty() : options, {
57948
57958
  loading: loading
57949
57959
  });
57950
57960
  }
57961
+ if (isEmpty) return renderEmpty();
57951
57962
  return options;
57952
57963
  };
57953
57964
  var renderHeader = function renderHeader() {
@@ -73024,7 +73035,7 @@ var upload_interface = __webpack_require__(8821);
73024
73035
 
73025
73036
 
73026
73037
  /* harmony default export */ var src_0 = ({
73027
- version: '3.8.1-beta.1'
73038
+ version: '3.8.1-beta.3'
73028
73039
  });
73029
73040
  }();
73030
73041
  /******/ return __webpack_exports__;