shineout 3.7.7-beta.1 → 3.7.7-beta.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 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.7.7-beta.1'
525
+ version: '3.7.7-beta.2'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12234,7 +12234,7 @@ var handleStyle = function handleStyle(style) {
12234
12234
  };
12235
12235
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12236
12236
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12237
- /* harmony default export */ var version = ('3.7.7-beta.1');
12237
+ /* harmony default export */ var version = ('3.7.7-beta.2');
12238
12238
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12239
12239
 
12240
12240
 
@@ -46327,6 +46327,7 @@ var Time = function Time(props) {
46327
46327
  })]
46328
46328
  });
46329
46329
  };
46330
+ var shouldRenderTimes = times && times.length > 0;
46330
46331
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
46331
46332
  onMouseEnter: props.onMouseEnter,
46332
46333
  onMouseLeave: props.onMouseLeave,
@@ -46335,7 +46336,7 @@ var Time = function Time(props) {
46335
46336
  children: [props.showTitle && /*#__PURE__*/(0,jsx_runtime.jsx)(pickerTitle, {
46336
46337
  position: props.position,
46337
46338
  jssStyle: props.jssStyle
46338
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
46339
+ }), shouldRenderTimes && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
46339
46340
  className: styles === null || styles === void 0 ? void 0 : styles.pickerBody,
46340
46341
  children: times.map(function (item) {
46341
46342
  return /*#__PURE__*/(0,jsx_runtime.jsx)(TimeScroll, {
@@ -71771,7 +71772,7 @@ var upload_interface = __webpack_require__(8821);
71771
71772
 
71772
71773
 
71773
71774
  /* harmony default export */ var src_0 = ({
71774
- version: '3.7.7-beta.1'
71775
+ version: '3.7.7-beta.2'
71775
71776
  });
71776
71777
  }();
71777
71778
  /******/ return __webpack_exports__;