shineout 3.1.0 → 3.1.2
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 +14 -6
- 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.2'
|
|
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.2');
|
|
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) {
|
|
@@ -29490,7 +29492,7 @@ var button_excluded = ["jssStyle", "className", "style", "children", "loading",
|
|
|
29490
29492
|
|
|
29491
29493
|
|
|
29492
29494
|
var Button = function Button(props) {
|
|
29493
|
-
var _jssStyle$button;
|
|
29495
|
+
var _jssStyle$button, _React$Children$map;
|
|
29494
29496
|
var jssStyle = props.jssStyle,
|
|
29495
29497
|
className = props.className,
|
|
29496
29498
|
style = props.style,
|
|
@@ -29546,7 +29548,12 @@ var Button = function Button(props) {
|
|
|
29546
29548
|
}
|
|
29547
29549
|
return 12;
|
|
29548
29550
|
};
|
|
29549
|
-
var childrenEl = getSpaceChildren(children, space)
|
|
29551
|
+
var childrenEl = (_React$Children$map = 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
|
+
return item;
|
|
29554
|
+
})) === null || _React$Children$map === void 0 ? void 0 : _React$Children$map.filter(function (item) {
|
|
29555
|
+
return item !== null;
|
|
29556
|
+
});
|
|
29550
29557
|
var buttonInnerEl = childrenEl;
|
|
29551
29558
|
|
|
29552
29559
|
// if (typeof renderInnerWrapper === 'function') {
|
|
@@ -29557,7 +29564,8 @@ var Button = function Button(props) {
|
|
|
29557
29564
|
className: buttonStyle.spin,
|
|
29558
29565
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(src_spin_spin, {
|
|
29559
29566
|
size: getSpinSize(),
|
|
29560
|
-
jssStyle: jssStyle
|
|
29567
|
+
jssStyle: jssStyle,
|
|
29568
|
+
name: "ring"
|
|
29561
29569
|
})
|
|
29562
29570
|
});
|
|
29563
29571
|
if (renderLoading) {
|
|
@@ -62037,7 +62045,7 @@ var upload_interface = __webpack_require__(4412);
|
|
|
62037
62045
|
|
|
62038
62046
|
|
|
62039
62047
|
/* harmony default export */ var src_0 = ({
|
|
62040
|
-
version: '3.1.
|
|
62048
|
+
version: '3.1.2'
|
|
62041
62049
|
});
|
|
62042
62050
|
}();
|
|
62043
62051
|
/******/ return __webpack_exports__;
|