shineout 3.0.0-alpha.25 → 3.0.0-alpha.26

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
@@ -456,6 +456,6 @@ exports.TYPE = _TYPE;
456
456
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
457
457
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
458
458
  var _default = {
459
- version: '3.0.0-alpha.25'
459
+ version: '3.0.0-alpha.26'
460
460
  };
461
461
  exports.default = _default;
package/dist/shineout.js CHANGED
@@ -19118,7 +19118,7 @@ var handleStyle = function handleStyle(style) {
19118
19118
  };
19119
19119
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
19120
19120
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
19121
- /* harmony default export */ var version = ('3.0.0-alpha.25');
19121
+ /* harmony default export */ var version = ('3.0.0-alpha.26');
19122
19122
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
19123
19123
 
19124
19124
 
@@ -42818,6 +42818,10 @@ var useDatePickerFormat = function useDatePickerFormat(props) {
42818
42818
  var dateArr = convertValueToDateArr(value, format, options);
42819
42819
  context.cachedDateArr = dateArr;
42820
42820
  setStateDate(dateArr);
42821
+ if (!value) return;
42822
+ if (Array.isArray(value) && !value[0] && !value[1]) {
42823
+ return;
42824
+ }
42821
42825
  var formatValue = getFormatValueArr(dateArr);
42822
42826
  var v = range ? formatValue : formatValue[0];
42823
42827
  if (!shallow_equal(v, value)) {
@@ -64957,7 +64961,7 @@ var upload_interface = __webpack_require__(7818);
64957
64961
 
64958
64962
 
64959
64963
  /* harmony default export */ var src_0 = ({
64960
- version: '3.0.0-alpha.25'
64964
+ version: '3.0.0-alpha.26'
64961
64965
  });
64962
64966
  }();
64963
64967
  /******/ return __webpack_exports__;