shineout 3.0.0 → 3.0.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 CHANGED
@@ -481,5 +481,5 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
481
481
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
482
482
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
483
483
  var _default = exports.default = {
484
- version: '3.0.0'
484
+ version: '3.0.1'
485
485
  };
package/dist/shineout.js CHANGED
@@ -12020,7 +12020,7 @@ var handleStyle = function handleStyle(style) {
12020
12020
  };
12021
12021
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12022
12022
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12023
- /* harmony default export */ var version = ('3.0.0');
12023
+ /* harmony default export */ var version = ('3.0.1');
12024
12024
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12025
12025
 
12026
12026
 
@@ -23772,7 +23772,7 @@ var tabsStyle = {
23772
23772
  panelWrapper: {
23773
23773
  width: 'auto',
23774
23774
  height: 'auto',
23775
- overflow: 'hidden',
23775
+ // overflow: 'hidden',
23776
23776
  transition: 'all .2s ease-out'
23777
23777
  },
23778
23778
  panel: {
@@ -23781,7 +23781,8 @@ var tabsStyle = {
23781
23781
  autoFill: {
23782
23782
  height: '100%',
23783
23783
  '& $panelWrapper': {
23784
- flex: 1
23784
+ flex: 1,
23785
+ minHeight: '0'
23785
23786
  },
23786
23787
  '& $panel': {
23787
23788
  overflow: 'auto',
@@ -45624,6 +45625,7 @@ var InputPassword = function InputPassword(props) {
45624
45625
 
45625
45626
 
45626
45627
 
45628
+
45627
45629
  var useNumberFormat = function useNumberFormat(props) {
45628
45630
  var onChange = props.onChange,
45629
45631
  value = props.value,
@@ -45658,8 +45660,8 @@ var useNumberFormat = function useNumberFormat(props) {
45658
45660
  var num = val;
45659
45661
  if (typeof num === 'number') {
45660
45662
  if (isNaN(num)) num = 0;
45661
- if (min && num < min) num = min;
45662
- if (max && num > max) num = max;
45663
+ if (isNumber(min) && num < min) num = min;
45664
+ if (isNumber(max) && num > max) num = max;
45663
45665
  }
45664
45666
  return num;
45665
45667
  };
@@ -45776,7 +45778,7 @@ var InputNumber = function InputNumber(props) {
45776
45778
  onPlus = _useInputNumber.onPlus,
45777
45779
  numberFormatProps = objectWithoutProperties_default()(_useInputNumber, input_number_excluded2);
45778
45780
  var forwardProps = removeProps(commonProps, objectSpread2_default()({}, numberFormatParams));
45779
- var addEnd = /*#__PURE__*/(0,jsx_runtime.jsx)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
45781
+ var addEnd = props.hideArrow ? null : /*#__PURE__*/(0,jsx_runtime.jsx)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
45780
45782
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
45781
45783
  className: inputStyle === null || inputStyle === void 0 ? void 0 : inputStyle.numberStep,
45782
45784
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
@@ -61166,7 +61168,7 @@ var upload_interface = __webpack_require__(4412);
61166
61168
 
61167
61169
 
61168
61170
  /* harmony default export */ var src_0 = ({
61169
- version: '3.0.0'
61171
+ version: '3.0.1'
61170
61172
  });
61171
61173
  }();
61172
61174
  /******/ return __webpack_exports__;