shineout 3.4.7-beta.2 → 3.4.7

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
@@ -492,5 +492,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
492
492
  // 此文件由脚本自动生成,请勿直接修改。
493
493
  // This file was generated automatically by a script. Please do not modify it directly.
494
494
  var _default = exports.default = {
495
- version: '3.4.7-beta.2'
495
+ version: '3.4.7'
496
496
  };
package/dist/shineout.js CHANGED
@@ -11984,7 +11984,7 @@ var handleStyle = function handleStyle(style) {
11984
11984
  };
11985
11985
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
11986
11986
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
11987
- /* harmony default export */ var version = ('3.4.7-beta.2');
11987
+ /* harmony default export */ var version = ('3.4.7');
11988
11988
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
11989
11989
 
11990
11990
 
@@ -31064,9 +31064,12 @@ var spin_Spin = function Spin() {
31064
31064
  tipProps = props.tip,
31065
31065
  tipClassName = props.tipClassName,
31066
31066
  colorProps = props.color,
31067
- modeProps = props.mode;
31067
+ modeProps = props.mode,
31068
+ _props$ignoreConfig = props.ignoreConfig,
31069
+ ignoreConfig = _props$ignoreConfig === void 0 ? false : _props$ignoreConfig;
31068
31070
  var config = useConfig();
31069
31071
  var getSpinName = function getSpinName() {
31072
+ if (ignoreConfig) return props.name;
31070
31073
  var spin = config.spin;
31071
31074
  if (!spin) return;
31072
31075
  if (typeof spin === 'string') {
@@ -31079,18 +31082,21 @@ var spin_Spin = function Spin() {
31079
31082
  return;
31080
31083
  };
31081
31084
  var getSpinTip = function getSpinTip() {
31085
+ if (ignoreConfig) return props.tip;
31082
31086
  var spin = config.spin;
31083
31087
  if (!spin || typeof_default()(spin) !== 'object') return;
31084
31088
  var tip = spin.tip;
31085
31089
  return tip;
31086
31090
  };
31087
31091
  var getSpinColor = function getSpinColor() {
31092
+ if (ignoreConfig) return props.color;
31088
31093
  var spin = config.spin;
31089
31094
  if (!spin || typeof_default()(spin) !== 'object') return;
31090
31095
  var color = spin.color;
31091
31096
  return color;
31092
31097
  };
31093
31098
  var getSpinMode = function getSpinMode() {
31099
+ if (ignoreConfig) return props.mode;
31094
31100
  var spin = config.spin;
31095
31101
  if (!spin || typeof_default()(spin) !== 'object') return;
31096
31102
  var mode = spin.mode;
@@ -31236,7 +31242,8 @@ var Button = function Button(props) {
31236
31242
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(src_spin_spin, {
31237
31243
  size: getSpinSize(),
31238
31244
  jssStyle: jssStyle,
31239
- name: "ring"
31245
+ name: "ring",
31246
+ ignoreConfig: true
31240
31247
  })
31241
31248
  });
31242
31249
  if (renderLoading) {
@@ -36562,7 +36569,9 @@ var CascaderNode = function CascaderNode(props) {
36562
36569
  },
36563
36570
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(src_spin_spin, {
36564
36571
  jssStyle: jssStyle,
36565
- size: 10
36572
+ size: 10,
36573
+ name: "ring",
36574
+ ignoreConfig: true
36566
36575
  })
36567
36576
  });
36568
36577
  }
@@ -48407,7 +48416,9 @@ var Image = function Image(props) {
48407
48416
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(src_spin_spin, {
48408
48417
  jssStyle: jssStyle,
48409
48418
  color: "#B3B7C1",
48410
- size: 16
48419
+ size: 16,
48420
+ name: "ring",
48421
+ ignoreConfig: true
48411
48422
  })
48412
48423
  });
48413
48424
  };
@@ -50162,7 +50173,9 @@ var NodeContent = function NodeContent(props) {
50162
50173
  dir: config.direction,
50163
50174
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(src_spin_spin, {
50164
50175
  size: 12,
50165
- jssStyle: jssStyle
50176
+ jssStyle: jssStyle,
50177
+ ignoreConfig: true,
50178
+ name: "ring"
50166
50179
  })
50167
50180
  });
50168
50181
  };
@@ -60790,7 +60803,7 @@ var TransferList = function TransferList(props) {
60790
60803
  var listClass = classnames_default()(styles.list, listClassName);
60791
60804
  var getLineHeight = function getLineHeight() {
60792
60805
  if (lineHeightProp) {
60793
- console.log('lineHeightProp', lineHeightProp);
60806
+ // console.log('lineHeightProp', lineHeightProp);
60794
60807
  return lineHeightProp;
60795
60808
  }
60796
60809
  if (size === 'small') {
@@ -60932,6 +60945,8 @@ var TransferList = function TransferList(props) {
60932
60945
  jssStyle: jssStyle,
60933
60946
  loading: loading,
60934
60947
  size: 24,
60948
+ name: "ring",
60949
+ ignoreConfig: true,
60935
60950
  children: [onFilter && renderFilter(), renderList(), renderFooter()]
60936
60951
  })]
60937
60952
  });
@@ -62555,7 +62570,8 @@ var upload_result_Result = function Result(props) {
62555
62570
  children: [status === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(src_spin_spin, {
62556
62571
  jssStyle: props.jssStyle,
62557
62572
  size: 10,
62558
- name: 'ring'
62573
+ name: 'ring',
62574
+ ignoreConfig: true
62559
62575
  }), status === 2 && icons_config.upload.Success, status === 3 && icons_config.upload.Warning]
62560
62576
  }), status === 1 && props.process !== -1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
62561
62577
  children: [Math.min(99, Math.floor(props.process || 0)), "%"]
@@ -62608,6 +62624,7 @@ var upload_result_Result = function Result(props) {
62608
62624
  size: 'null',
62609
62625
  jssStyle: props.jssStyle,
62610
62626
  name: 'ring',
62627
+ ignoreConfig: true,
62611
62628
  className: uploadClasses === null || uploadClasses === void 0 ? void 0 : uploadClasses.imageResultLoading
62612
62629
  }), (status === 2 || status === -1) && src && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
62613
62630
  className: classnames_default()(uploadClasses === null || uploadClasses === void 0 ? void 0 : uploadClasses.icon),
@@ -63055,7 +63072,9 @@ var UploadButton = function UploadButton(props) {
63055
63072
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(src_spin_spin, {
63056
63073
  jssStyle: props.jssStyle,
63057
63074
  size: 10,
63058
- color: color
63075
+ color: color,
63076
+ ignoreConfig: true,
63077
+ name: "ring"
63059
63078
  })
63060
63079
  }), typeof loading === 'string' ? loading : placeholder]
63061
63080
  });
@@ -65444,7 +65463,7 @@ var upload_interface = __webpack_require__(8821);
65444
65463
 
65445
65464
 
65446
65465
  /* harmony default export */ var src_0 = ({
65447
- version: '3.4.7-beta.2'
65466
+ version: '3.4.7'
65448
65467
  });
65449
65468
  }();
65450
65469
  /******/ return __webpack_exports__;