shineout 3.7.0-beta.31 → 3.7.0-beta.32

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.0-beta.31'
525
+ version: '3.7.0-beta.32'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12227,7 +12227,7 @@ var handleStyle = function handleStyle(style) {
12227
12227
  };
12228
12228
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12229
12229
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12230
- /* harmony default export */ var version = ('3.7.0-beta.31');
12230
+ /* harmony default export */ var version = ('3.7.0-beta.32');
12231
12231
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12232
12232
 
12233
12233
 
@@ -16694,10 +16694,13 @@ var cardGroupStyle = {
16694
16694
  var useCardGroupStyle = styled(card_group_card_group, 'cardGroup');
16695
16695
 
16696
16696
  /* harmony default export */ var shineout_style_src_card_group = ((/* unused pure expression or super */ null && (useCardGroupStyle)));
16697
- ;// CONCATENATED MODULE: ../shineout-style/src/carousel/carousel.ts
16698
-
16697
+ ;// CONCATENATED MODULE: ../shineout-style/src/common/common.ts
16699
16698
 
16700
- var carouselDuration = '0.4s';
16699
+ var collapseStyle = {
16700
+ highlight: {
16701
+ color: src.tagWarningFontColor
16702
+ }
16703
+ };
16701
16704
  var animations = {
16702
16705
  '@keyframes r2c': {
16703
16706
  '0%': {
@@ -16778,8 +16781,24 @@ var animations = {
16778
16781
  '100%': {
16779
16782
  opacity: 0
16780
16783
  }
16784
+ },
16785
+ '@keyframes scale-y-top': {
16786
+ '0%': {
16787
+ opacity: 0,
16788
+ transform: 'translateY(-100%) scaleY(0)'
16789
+ },
16790
+ '100%': {
16791
+ opacity: 1,
16792
+ transform: 'translateY(-100%) scaleY(1)'
16793
+ }
16781
16794
  }
16782
16795
  };
16796
+ /* harmony default export */ var src_common_common = (collapseStyle);
16797
+ ;// CONCATENATED MODULE: ../shineout-style/src/carousel/carousel.ts
16798
+
16799
+
16800
+
16801
+ var carouselDuration = '0.4s';
16783
16802
  var carouselStyle = objectSpread2_default()(objectSpread2_default()({
16784
16803
  rootClass: {}
16785
16804
  }, animations), {}, {
@@ -17929,7 +17948,7 @@ var useCheckboxStyle = styled(src_checkbox_checkbox, 'checkbox');
17929
17948
  /* harmony default export */ var shineout_style_src_checkbox = ((/* unused pure expression or super */ null && (useCheckboxStyle)));
17930
17949
  ;// CONCATENATED MODULE: ../shineout-style/src/collapse/collapse.ts
17931
17950
 
17932
- var collapseStyle = {
17951
+ var collapse_collapseStyle = {
17933
17952
  rootClass: {},
17934
17953
  wrapper: {
17935
17954
  overflow: 'hidden',
@@ -17941,7 +17960,7 @@ var collapseStyle = {
17941
17960
  border: 'none'
17942
17961
  }
17943
17962
  };
17944
- /* harmony default export */ var collapse_collapse = (collapseStyle);
17963
+ /* harmony default export */ var collapse_collapse = (collapse_collapseStyle);
17945
17964
  ;// CONCATENATED MODULE: ../shineout-style/src/collapse/collapse-item.ts
17946
17965
 
17947
17966
  var collapseItemStyle = {
@@ -18089,14 +18108,6 @@ var useCollapseStyle = styled(collapse_collapse, 'collapse');
18089
18108
  /* harmony default export */ var shineout_style_src_collapse = ((/* unused pure expression or super */ null && (useCollapseStyle)));
18090
18109
  var useCollapseItemStyle = styled(collapse_item, 'collapseItem');
18091
18110
 
18092
- ;// CONCATENATED MODULE: ../shineout-style/src/common/common.ts
18093
-
18094
- var common_collapseStyle = {
18095
- highlight: {
18096
- color: src.tagWarningFontColor
18097
- }
18098
- };
18099
- /* harmony default export */ var src_common_common = (common_collapseStyle);
18100
18111
  ;// CONCATENATED MODULE: ../shineout-style/src/common/index.ts
18101
18112
 
18102
18113
 
@@ -18108,6 +18119,7 @@ var useCommonStyle = styled(src_common_common, 'common');
18108
18119
 
18109
18120
 
18110
18121
 
18122
+
18111
18123
  var date_picker_inputBorderToken = {
18112
18124
  lineHeight: src.lineHeightDynamic,
18113
18125
  borderRadius: src.inputBorderRadius,
@@ -18153,8 +18165,9 @@ var date_picker_wrapper = date_picker_inputBorder.wrapper,
18153
18165
  date_picker_resetWrapper = objectWithoutProperties_default()(date_picker_inputBorder, ["wrapper", "wrapperDisabled"]);
18154
18166
  var leftCircleBackground = "radial-gradient(circle closest-side, ".concat(src.datePickerCellRangeBackgroundColor, " 100%, transparent 0%),\nlinear-gradient(to right, transparent 0%,transparent 50%, ").concat(src.datePickerCellRangeBackgroundColor, " 50%, ").concat(src.datePickerCellRangeBackgroundColor, " 100%)\n");
18155
18167
  var rightCircleBackground = "radial-gradient(circle closest-side, ".concat(src.datePickerCellRangeBackgroundColor, " 100%, transparent 0%),\nlinear-gradient(to left, transparent 0%,transparent 50%, ").concat(src.datePickerCellRangeBackgroundColor, " 50%, ").concat(src.datePickerCellRangeBackgroundColor, " 100%)\n");
18156
- var datePickerStyle = objectSpread2_default()(objectSpread2_default()({
18157
- rootClass: {},
18168
+ var datePickerStyle = objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({
18169
+ rootClass: {}
18170
+ }, animations), {}, {
18158
18171
  wrapper: objectSpread2_default()({
18159
18172
  display: 'inline-block',
18160
18173
  position: 'relative',
@@ -18772,24 +18785,15 @@ var datePickerStyle = objectSpread2_default()(objectSpread2_default()({
18772
18785
  '&[dir=rtl]': {
18773
18786
  right: 0
18774
18787
  },
18775
- transform: 'translateY(-100%)',
18788
+ transformOrigin: 'bottom',
18789
+ animation: '$scale-y-top 0.2s ease-in-out forwards',
18776
18790
  backgroundColor: src.datePickerPanelBackgroundColor,
18777
18791
  boxShadow: src.datePickerPanelShadow,
18778
- opacity: '0',
18779
- zIndex: '-1',
18780
- visibility: 'hidden'
18792
+ display: 'none'
18781
18793
  },
18782
18794
  '&:hover $timePicker': {
18783
18795
  zIndex: '1',
18784
- opacity: '1',
18785
- visibility: 'visible'
18786
- }
18787
- },
18788
- datetimeHide: {
18789
- opacity: '0',
18790
- pointerEvents: 'none',
18791
- '& > span': {
18792
- display: 'none'
18796
+ display: 'block'
18793
18797
  }
18794
18798
  },
18795
18799
  quickPicker: {
@@ -32479,7 +32483,7 @@ var AnimationList = function AnimationList(props) {
32479
32483
  }
32480
32484
  if (type.indexOf('scale-y') >= 0) {
32481
32485
  transition.push("transform ".concat(durationNum, "ms ease-in-out"));
32482
- transition.push("opacity ".concat(durationNum, "ms ease-in-out"));
32486
+ transition.push("opacity ".concat(durationNum / 2, "ms ease-in-out"));
32483
32487
  }
32484
32488
  if (type.indexOf('collapse') >= 0) {
32485
32489
  transition.push("height ".concat(durationNum, "ms ease-in-out"));
@@ -39839,7 +39843,7 @@ var CascaderNode = function CascaderNode(props) {
39839
39843
  enable: highlight,
39840
39844
  nodeList: render(data, active, id),
39841
39845
  searchWords: filterText,
39842
- highlightClassName: commonStyles.highlight
39846
+ highlightClassName: commonStyles === null || commonStyles === void 0 ? void 0 : commonStyles.highlight
39843
39847
  });
39844
39848
  };
39845
39849
  var renderIcon = function renderIcon() {
@@ -40071,7 +40075,7 @@ var FilterNode = function FilterNode(props) {
40071
40075
  children: renderItem(item)
40072
40076
  }, 'content'),
40073
40077
  searchWords: filterText,
40074
- highlightClassName: commonStyles.highlight
40078
+ highlightClassName: commonStyles === null || commonStyles === void 0 ? void 0 : commonStyles.highlight
40075
40079
  });
40076
40080
  if (index === 0) return content;
40077
40081
  return [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
@@ -45852,8 +45856,7 @@ var Day = function Day(props) {
45852
45856
  }, 'week');
45853
45857
  };
45854
45858
  var renderFooter = function renderFooter() {
45855
- var _props$rangeDate, _props$rangeDate2;
45856
- var showLeft = (props.type === 'datetime' || props.type === 'date') && (((_props$rangeDate = props.rangeDate) === null || _props$rangeDate === void 0 ? void 0 : _props$rangeDate[0]) || ((_props$rangeDate2 = props.rangeDate) === null || _props$rangeDate2 === void 0 ? void 0 : _props$rangeDate2[1]));
45859
+ var showLeft = props.type === 'datetime' || props.type === 'date';
45857
45860
  var timeStr = func.getTimeStr();
45858
45861
  if (!showLeft && !props.showSelNow) return null;
45859
45862
  var format = props.format;
@@ -45874,7 +45877,7 @@ var Day = function Day(props) {
45874
45877
  marginTop: props.needConfirm && props.range ? -16 : undefined
45875
45878
  },
45876
45879
  children: [props.type === 'datetime' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
45877
- className: classnames_default()(styles === null || styles === void 0 ? void 0 : styles.pickerFooterTime, styles === null || styles === void 0 ? void 0 : styles.datetime, !timeStr && (styles === null || styles === void 0 ? void 0 : styles.datetimeHide)),
45880
+ className: classnames_default()(styles === null || styles === void 0 ? void 0 : styles.pickerFooterTime, styles === null || styles === void 0 ? void 0 : styles.datetime),
45878
45881
  style: {
45879
45882
  paddingRight: showNeedConfirm ? 0 : undefined
45880
45883
  },
@@ -45886,7 +45889,7 @@ var Day = function Day(props) {
45886
45889
  showTitle: false,
45887
45890
  format: format
45888
45891
  })), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
45889
- children: timeStr
45892
+ children: timeStr || '00:00:00'
45890
45893
  })]
45891
45894
  })
45892
45895
  }), props.showSelNow && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@@ -53698,7 +53701,7 @@ var ListOption = function ListOption(props) {
53698
53701
  enable: highlight,
53699
53702
  nodeList: renderItem(data),
53700
53703
  searchWords: filterText,
53701
- highlightClassName: commonStyles.highlight
53704
+ highlightClassName: commonStyles === null || commonStyles === void 0 ? void 0 : commonStyles.highlight
53702
53705
  });
53703
53706
  var title = typeof result === 'string' ? result : '';
53704
53707
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
@@ -54217,7 +54220,7 @@ var NodeContent = function NodeContent(props) {
54217
54220
  enable: highlightFilter,
54218
54221
  nodeList: render(data, expanded, active, id),
54219
54222
  searchWords: filterText,
54220
- highlightClassName: commonStyles.highlight
54223
+ highlightClassName: commonStyles === null || commonStyles === void 0 ? void 0 : commonStyles.highlight
54221
54224
  });
54222
54225
  };
54223
54226
  return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@@ -67395,7 +67398,8 @@ var TreeSelect = function TreeSelect(props0) {
67395
67398
  parentClickExpand: parentClickExpand,
67396
67399
  contentClass: getContentClass,
67397
67400
  datum: datum,
67398
- actionOnClick: props.actionOnClick
67401
+ actionOnClick: props.actionOnClick,
67402
+ size: size
67399
67403
  }))
67400
67404
  });
67401
67405
  };
@@ -71181,7 +71185,7 @@ var upload_interface = __webpack_require__(8821);
71181
71185
 
71182
71186
 
71183
71187
  /* harmony default export */ var src_0 = ({
71184
- version: '3.7.0-beta.31'
71188
+ version: '3.7.0-beta.32'
71185
71189
  });
71186
71190
  }();
71187
71191
  /******/ return __webpack_exports__;