shineout 3.9.7-beta.9 → 3.9.7

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.9.7-beta.9'
525
+ version: '3.9.7'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12401,7 +12401,7 @@ var handleStyle = function handleStyle(style) {
12401
12401
  };
12402
12402
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12403
12403
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12404
- /* harmony default export */ var version = ('3.9.7-beta.9');
12404
+ /* harmony default export */ var version = ('3.9.7');
12405
12405
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12406
12406
 
12407
12407
 
@@ -14332,8 +14332,8 @@ var messageTokens = {
14332
14332
  // This file was generated automatically by a script. Please do not modify it directly.
14333
14333
 
14334
14334
  var modalTokens = {
14335
- modalMaskBackground: 'rgba(2, 11, 24, 0.3)',
14336
- modalMaskLightBackground: 'rgba(2, 11, 24, 0.01)',
14335
+ modalMaskBackground: 'Mask-fill-1',
14336
+ modalMaskLightBackground: 'Neutral-mask-2',
14337
14337
  modalPanelPaddingY: 'Spacing-24',
14338
14338
  modalPanelPaddingX: 'Spacing-24',
14339
14339
  modalPanelBackground: 'Neutral-fill-1',
@@ -24210,7 +24210,7 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
24210
24210
  fontSize: src.selectLargeFontSize
24211
24211
  },
24212
24212
  '& $optionGroupTitle': {
24213
- padding: "calc(".concat(src.selectFontSize, " + 2px) calc(").concat(src.selectOptionPaddingX, " + ").concat(src.selectLargeOptionInnerPaddingX, ") ").concat(src.selectGroupTitleLargeBottom, " calc(").concat(src.selectOptionPaddingX, " + ").concat(src.selectLargeOptionInnerPaddingX, ")")
24213
+ padding: "".concat(src.selectFontSize, " calc(").concat(src.selectOptionPaddingX, " + ").concat(src.selectLargeOptionInnerPaddingX, ") ").concat(src.selectGroupTitleLargeBottom, " calc(").concat(src.selectOptionPaddingX, " + ").concat(src.selectLargeOptionInnerPaddingX, ")")
24214
24214
  }
24215
24215
  },
24216
24216
  iconWrapper: {
@@ -24301,7 +24301,15 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
24301
24301
  },
24302
24302
  moreIcon: {},
24303
24303
  hideTag: {},
24304
- list: {},
24304
+ list: {
24305
+ '--group-font-size': "calc(".concat(src.selectFontSize, " - 2px)"),
24306
+ '$pickerSmall &': {
24307
+ '--group-font-size': "".concat(src.selectSmallFontSize)
24308
+ },
24309
+ '$pickerLarge &': {
24310
+ '--group-font-size': "calc(".concat(src.selectLargeFontSize, " - 2px)")
24311
+ }
24312
+ },
24305
24313
  tree: {
24306
24314
  padding: '0 4px',
24307
24315
  overflow: 'auto'
@@ -24430,9 +24438,9 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
24430
24438
  },
24431
24439
  optionGroup: {},
24432
24440
  optionGroupTitle: {
24433
- fontSize: src.selectGroupTitleFontSize,
24441
+ fontSize: "var(--group-font-size, ".concat(src.selectGroupTitleFontSize, ")"),
24434
24442
  lineHeight: src.lineHeightDynamic,
24435
- padding: "calc(".concat(src.selectFontSize, " - 4px) ").concat(src.selectGroupTitlePaddingX, " ").concat(src.selectGroupTitlePaddingBottom, " ").concat(src.selectGroupTitlePaddingX),
24443
+ padding: "calc(".concat(src.selectFontSize, " - 2px) ").concat(src.selectGroupTitlePaddingX, " ").concat(src.selectGroupTitlePaddingBottom, " ").concat(src.selectGroupTitlePaddingX),
24436
24444
  color: src.selectGroupTitleFontColor,
24437
24445
  fontWeight: src.selectGroupTitleFontWeight
24438
24446
  },
@@ -24825,8 +24833,8 @@ var sliderStyle = {
24825
24833
  }
24826
24834
  },
24827
24835
  valueHover: {
24828
- backgroundColor: src.sliderValueHoverBackgroundColor,
24829
- color: src.sliderValueHoverFontColor,
24836
+ backgroundColor: src.tooltipBackgroundColor,
24837
+ color: src.tooltipColor,
24830
24838
  padding: "".concat(src.sliderValueHoverPaddingY, " ").concat(src.sliderValueHoverPaddingX),
24831
24839
  lineHeight: src.lineHeightDynamic,
24832
24840
  borderRadius: src.sliderValueHoverRadius,
@@ -24843,7 +24851,7 @@ var sliderStyle = {
24843
24851
  height: 0,
24844
24852
  borderStyle: 'solid',
24845
24853
  borderWidth: '4px',
24846
- borderColor: "".concat(src.sliderValueHoverBackgroundColor, " transparent transparent transparent")
24854
+ borderColor: "".concat(src.tooltipBackgroundColor, " transparent transparent transparent")
24847
24855
  },
24848
24856
  '$vertical &': {
24849
24857
  '&::after': {
@@ -24851,7 +24859,7 @@ var sliderStyle = {
24851
24859
  right: '100%',
24852
24860
  left: 'unset',
24853
24861
  transform: 'translate(0, -50%)',
24854
- borderColor: "transparent ".concat(src.sliderValueHoverBackgroundColor, " transparent transparent ")
24862
+ borderColor: "transparent ".concat(src.tooltipBackgroundColor, " transparent transparent ")
24855
24863
  }
24856
24864
  },
24857
24865
  '$indicator:hover + &, $indicatorActive + &': {
@@ -29172,7 +29180,7 @@ var treeStyle = {
29172
29180
  position: 'absolute',
29173
29181
  width: 24,
29174
29182
  height: 24,
29175
- margin: '1px 0',
29183
+ margin: "calc((".concat(src.treeFontSize, " - 12px)/2) 0"),
29176
29184
  display: 'inline-flex',
29177
29185
  alignItems: 'center',
29178
29186
  justifyContent: 'center',
@@ -29702,8 +29710,7 @@ var treeSelectStyle = objectSpread2_default()(objectSpread2_default()({
29702
29710
  cursor: 'not-allowed',
29703
29711
  color: src.treeSelectOptionDisabledColor,
29704
29712
  backgroundColor: src.treeSelectOptionDisabledBackgroundColor,
29705
- '&>div': {
29706
- cursor: 'not-allowed',
29713
+ '&>[data-role="text"]': {
29707
29714
  color: src.treeSelectOptionDisabledColor,
29708
29715
  backgroundColor: src.treeSelectOptionDisabledBackgroundColor
29709
29716
  },
@@ -30644,14 +30651,7 @@ var isLink = function isLink(el) {
30644
30651
  if (! /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().isValidElement(el)) return false;
30645
30652
  if (!el.type) return false;
30646
30653
  if (el.type === 'a') return true;
30647
- // 只有当是已知的路由组件时才判断 to 属性
30648
- if (el.props && el.props.to) {
30649
- var typeName = typeof el.type === 'function' ? el.type.name : '';
30650
- var displayName = typeof_default()(el.type) === 'object' && el.type !== null ? el.type.displayName : '';
30651
- // 检查是否为常见的路由链接组件
30652
- var isRouterComponent = typeName === 'Link' || typeName === 'NavLink' || displayName === 'Link' || displayName === 'NavLink';
30653
- return isRouterComponent;
30654
- }
30654
+ if (el.props && el.props.to) return true;
30655
30655
  }
30656
30656
  return false;
30657
30657
  };
@@ -75061,7 +75061,7 @@ var upload_interface = __webpack_require__(8821);
75061
75061
 
75062
75062
 
75063
75063
  /* harmony default export */ var src_0 = ({
75064
- version: '3.9.7-beta.9'
75064
+ version: '3.9.7'
75065
75065
  });
75066
75066
  }();
75067
75067
  /******/ return __webpack_exports__;