shineout 3.1.0 → 3.1.1
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 +1 -1
- package/dist/shineout.js +10 -5
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -5
package/cjs/index.js
CHANGED
|
@@ -476,5 +476,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
476
476
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
477
477
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
478
478
|
var _default = exports.default = {
|
|
479
|
-
version: '3.1.
|
|
479
|
+
version: '3.1.1'
|
|
480
480
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -11949,7 +11949,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
11949
11949
|
};
|
|
11950
11950
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
11951
11951
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
11952
|
-
/* harmony default export */ var version = ('3.1.
|
|
11952
|
+
/* harmony default export */ var version = ('3.1.1');
|
|
11953
11953
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
11954
11954
|
|
|
11955
11955
|
|
|
@@ -23389,6 +23389,7 @@ var tableStyle = objectSpread2_default()(objectSpread2_default()({}, globalStyle
|
|
|
23389
23389
|
position: 'relative',
|
|
23390
23390
|
zIndex: 0,
|
|
23391
23391
|
minHeight: 0,
|
|
23392
|
+
minWidth: 0,
|
|
23392
23393
|
fontSize: src.tableFontSize,
|
|
23393
23394
|
'& table': {
|
|
23394
23395
|
minWidth: '100%',
|
|
@@ -28001,7 +28002,7 @@ var src_config_config = {
|
|
|
28001
28002
|
locale: processEnv.LOCALE || 'en-US',
|
|
28002
28003
|
delay: 0,
|
|
28003
28004
|
trim: undefined,
|
|
28004
|
-
spin:
|
|
28005
|
+
spin: 'ring',
|
|
28005
28006
|
direction: 'ltr',
|
|
28006
28007
|
popupContainer: null
|
|
28007
28008
|
};
|
|
@@ -28020,6 +28021,7 @@ function getDefaultContainer() {
|
|
|
28020
28021
|
return is_isBrowser() ? document.body : null;
|
|
28021
28022
|
}
|
|
28022
28023
|
var useConfig = function useConfig() {
|
|
28024
|
+
console.log(src_config_config);
|
|
28023
28025
|
return state.useSnapshot();
|
|
28024
28026
|
};
|
|
28025
28027
|
var config_setConfig = function setConfig(option) {
|
|
@@ -29546,7 +29548,9 @@ var Button = function Button(props) {
|
|
|
29546
29548
|
}
|
|
29547
29549
|
return 12;
|
|
29548
29550
|
};
|
|
29549
|
-
var childrenEl = getSpaceChildren(children, space)
|
|
29551
|
+
var childrenEl = external_root_React_commonjs2_react_commonjs_react_amd_react_default().Children.map(getSpaceChildren(children, space), function (item) {
|
|
29552
|
+
if (loading && /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.isValidElement)(item) && item.type.isShineoutIcon) return null;
|
|
29553
|
+
});
|
|
29550
29554
|
var buttonInnerEl = childrenEl;
|
|
29551
29555
|
|
|
29552
29556
|
// if (typeof renderInnerWrapper === 'function') {
|
|
@@ -29557,7 +29561,8 @@ var Button = function Button(props) {
|
|
|
29557
29561
|
className: buttonStyle.spin,
|
|
29558
29562
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(src_spin_spin, {
|
|
29559
29563
|
size: getSpinSize(),
|
|
29560
|
-
jssStyle: jssStyle
|
|
29564
|
+
jssStyle: jssStyle,
|
|
29565
|
+
name: "ring"
|
|
29561
29566
|
})
|
|
29562
29567
|
});
|
|
29563
29568
|
if (renderLoading) {
|
|
@@ -62037,7 +62042,7 @@ var upload_interface = __webpack_require__(4412);
|
|
|
62037
62042
|
|
|
62038
62043
|
|
|
62039
62044
|
/* harmony default export */ var src_0 = ({
|
|
62040
|
-
version: '3.1.
|
|
62045
|
+
version: '3.1.1'
|
|
62041
62046
|
});
|
|
62042
62047
|
}();
|
|
62043
62048
|
/******/ return __webpack_exports__;
|