shineout 3.9.13-beta.1 → 3.9.13-beta.3

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.13-beta.1'
525
+ version: '3.9.13-beta.3'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12338,7 +12338,7 @@ var handleStyle = function handleStyle(style) {
12338
12338
  };
12339
12339
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12340
12340
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12341
- /* harmony default export */ var version = ('3.9.13-beta.1');
12341
+ /* harmony default export */ var version = ('3.9.13-beta.3');
12342
12342
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12343
12343
 
12344
12344
 
@@ -14885,11 +14885,11 @@ var tabsTokens = {
14885
14885
  tabsLineFontSize: 'Font-14',
14886
14886
  tabsLineBackgroundColor: 'transparent',
14887
14887
  tabsLineActiveBackgroundColor: 'Neutral-fill-3',
14888
- tabsLineActiveHeight: 'Border-2',
14889
14888
  tabsLineCheckedFontColor: 'Brand-6',
14890
14889
  tabsLineCheckedFontSize: 'Font-14',
14891
14890
  tabsLineCheckedFontWeight: 'Weight-medium',
14892
14891
  tabsLineCheckedBackgroundColor: 'transparent',
14892
+ tabsLineCheckedHeight: 'Border-2',
14893
14893
  tabsLineHoverFontSize: 'Font-14',
14894
14894
  tabsLineHoverBackgroundColor: 'Neutral-fill-2',
14895
14895
  tabsLineDisabledFontColor: 'Neutral-text-2',
@@ -15962,6 +15962,14 @@ var badgeStyle = {
15962
15962
  boxShadow: "0 0 0 1px #fff"
15963
15963
  }
15964
15964
  },
15965
+ standalone: {
15966
+ fontSize: 0,
15967
+ '& $count,$custom,$dot': {
15968
+ position: 'static',
15969
+ transform: 'none',
15970
+ boxShadow: 'none'
15971
+ }
15972
+ },
15965
15973
  textBadge: {
15966
15974
  display: 'block',
15967
15975
  lineHeight: 'inherit',
@@ -23634,7 +23642,19 @@ var progressStyle = {
23634
23642
  }
23635
23643
  },
23636
23644
  circleBg: {
23637
- stroke: src.progressBackground
23645
+ stroke: src.progressBackground,
23646
+ '$wrapperSuccess &': {
23647
+ stroke: src.progressSuccessBackgroundColor
23648
+ },
23649
+ '$wrapperWarning &': {
23650
+ stroke: src.progressWarningBackgroundColor
23651
+ },
23652
+ '$wrapperInfo &': {
23653
+ stroke: src.progressInfoBackgroundColor
23654
+ },
23655
+ '$wrapperDanger &': {
23656
+ stroke: src.progressDangerBackgroundColor
23657
+ }
23638
23658
  },
23639
23659
  circleFront: {
23640
23660
  transform: 'rotate(-90deg)',
@@ -28051,10 +28071,10 @@ var tabsStyle = {
28051
28071
  background: src.tabsActiveFontColor,
28052
28072
  transition: "left .2s ease-in-out, top .2s ease-in-out, width .2s ease-in-out, height .2s ease-in-out",
28053
28073
  '[data-soui-position^="top-"] &,[data-soui-position^="bottom-"] &': {
28054
- height: src.tabsLineActiveHeight
28074
+ height: src.tabsLineCheckedHeight
28055
28075
  },
28056
28076
  '[data-soui-position^="left-"] &,[data-soui-position^="right-"] &': {
28057
- width: src.tabsLineActiveHeight
28077
+ width: src.tabsLineCheckedHeight
28058
28078
  }
28059
28079
  },
28060
28080
  header: {
@@ -33900,7 +33920,8 @@ var Badge = function Badge(props) {
33900
33920
  text = props.text;
33901
33921
  var badgeStyle = (jssStyle === null || jssStyle === void 0 || (_jssStyle$badge = jssStyle.badge) === null || _jssStyle$badge === void 0 ? void 0 : _jssStyle$badge.call(jssStyle)) || {};
33902
33922
  var isTextBadge = text !== undefined || dot && children === undefined;
33903
- var rootClass = classnames_default()(className, badgeStyle.rootClass, badgeStyle.badge, isTextBadge && badgeStyle.textBadge);
33923
+ var isStandalone = !children && !isTextBadge;
33924
+ var rootClass = classnames_default()(className, badgeStyle.rootClass, badgeStyle.badge, isTextBadge && badgeStyle.textBadge, isStandalone && badgeStyle.standalone);
33904
33925
  var isOverflowCount = overflowCount !== undefined && Number(count) > overflowCount;
33905
33926
  var renderCount = function renderCount() {
33906
33927
  if (isOverflowCount) {
@@ -75653,7 +75674,7 @@ var upload_interface = __webpack_require__(8821);
75653
75674
 
75654
75675
 
75655
75676
  /* harmony default export */ var src_0 = ({
75656
- version: '3.9.13-beta.1'
75677
+ version: '3.9.13-beta.3'
75657
75678
  });
75658
75679
  }();
75659
75680
  /******/ return __webpack_exports__;