@ant-design/pro-components 2.2.1 → 2.3.0

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.
@@ -32483,38 +32483,55 @@ var operationUnit_operationUnit = function operationUnit(token) {
32483
32483
  };
32484
32484
  };
32485
32485
  ;// CONCATENATED MODULE: ./node_modules/antd/es/style/roundedArrow.js
32486
- var roundedArrow = function roundedArrow(width, innerRadius, outerRadius, bgColor) {
32487
- var cornerHeight = outerRadius * (1 - 1 / Math.sqrt(2));
32488
- var ax = width - cornerHeight;
32489
- var ay = 2 * width + cornerHeight;
32490
- var bx = ax + outerRadius * (1 / Math.sqrt(2));
32491
- var by = 2 * width;
32492
- var cx = 2 * width - innerRadius;
32493
- var cy = 2 * width;
32494
- var dx = 2 * width;
32495
- var dy = 2 * width - innerRadius;
32496
- var fx = 2 * width + cornerHeight;
32497
- var fy = width - cornerHeight;
32498
- var ex = 2 * width;
32499
- var ey = fy + outerRadius * (1 / Math.sqrt(2));
32486
+ var roundedArrow = function roundedArrow(width, innerRadius, outerRadius, bgColor, boxShadow) {
32487
+ var unitWidth = width / 2;
32488
+ var ax = unitWidth - outerRadius * (Math.sqrt(2) - 1);
32489
+ var ay = unitWidth;
32490
+ var bx = unitWidth + outerRadius * (1 - 1 / Math.sqrt(2));
32491
+ var by = unitWidth - outerRadius * (1 - 1 / Math.sqrt(2));
32492
+ var cx = 2 * unitWidth - innerRadius * (1 / Math.sqrt(2));
32493
+ var cy = innerRadius * (1 / Math.sqrt(2));
32494
+ var dx = 4 * unitWidth - cx;
32495
+ var dy = cy;
32496
+ var ex = 4 * unitWidth - bx;
32497
+ var ey = by;
32498
+ var fx = 4 * unitWidth - ax;
32499
+ var fy = ay;
32500
32500
  return {
32501
32501
  borderRadius: {
32502
32502
  _skip_check_: true,
32503
- value: "0 0 2px"
32503
+ value: "0 0 ".concat(innerRadius, "px")
32504
32504
  },
32505
32505
  pointerEvents: 'none',
32506
+ width: width * 2,
32507
+ height: width * 2,
32508
+ overflow: 'hidden',
32509
+ '&::after': {
32510
+ content: '""',
32511
+ position: 'absolute',
32512
+ width: width / Math.sqrt(2),
32513
+ height: width / Math.sqrt(2),
32514
+ bottom: 0,
32515
+ insetInline: 0,
32516
+ margin: 'auto',
32517
+ borderRadius: {
32518
+ _skip_check_: true,
32519
+ value: "0 0 ".concat(innerRadius, "px 0")
32520
+ },
32521
+ transform: 'translateY(50%) rotate(-135deg)',
32522
+ boxShadow: boxShadow,
32523
+ zIndex: 0,
32524
+ background: 'transparent'
32525
+ },
32506
32526
  '&::before': {
32507
32527
  position: 'absolute',
32508
- top: -width,
32509
- insetInlineStart: -width,
32510
- width: width * 3,
32511
- height: width * 3,
32528
+ bottom: 0,
32529
+ insetInlineStart: 0,
32530
+ width: width * 2,
32531
+ height: width / 2,
32512
32532
  background: bgColor,
32513
- // Hack firefox: https://github.com/ant-design/ant-design/pull/33710#issuecomment-1015287825
32514
- backgroundRepeat: 'no-repeat',
32515
- backgroundPosition: "".concat(Math.ceil(-width + 1), "px ").concat(Math.ceil(-width + 1), "px"),
32516
- content: '""',
32517
- clipPath: "path('M ".concat(ax, " ").concat(ay, " A ").concat(outerRadius, " ").concat(outerRadius, " 0 0 1 ").concat(bx, " ").concat(by, " L ").concat(cx, " ").concat(cy, " A ").concat(innerRadius, " ").concat(innerRadius, " 0 0 0 ").concat(dx, " ").concat(dy, " L ").concat(ex, " ").concat(ey, " A ").concat(outerRadius, " ").concat(outerRadius, " 0 0 1 ").concat(fx, " ").concat(fy, " Z')")
32533
+ clipPath: "path('M ".concat(ax, " ").concat(ay, " A ").concat(outerRadius, " ").concat(outerRadius, " 0 0 0 ").concat(bx, " ").concat(by, " L ").concat(cx, " ").concat(cy, " A ").concat(innerRadius, " ").concat(innerRadius, " 0 0 1 ").concat(dx, " ").concat(dy, " L ").concat(ex, " ").concat(ey, " A ").concat(outerRadius, " ").concat(outerRadius, " 0 0 0 ").concat(fx, " ").concat(fy, " Z')"),
32534
+ content: '""'
32518
32535
  }
32519
32536
  };
32520
32537
  };
@@ -32648,7 +32665,7 @@ function withConfigConsumer(config) {
32648
32665
  };
32649
32666
  }
32650
32667
  ;// CONCATENATED MODULE: ./node_modules/antd/es/version/version.js
32651
- /* harmony default export */ var version = ('5.0.0-experimental.20');
32668
+ /* harmony default export */ var version = ('5.0.0-experimental.22');
32652
32669
  ;// CONCATENATED MODULE: ./node_modules/antd/es/version/index.js
32653
32670
  /* eslint import/no-unresolved: 0 */
32654
32671
  // @ts-ignore
@@ -32674,7 +32691,7 @@ var defaultPresetColors = {
32674
32691
 
32675
32692
  var seedToken = extends_extends(extends_extends({}, defaultPresetColors), {
32676
32693
  // Color
32677
- colorPrimary: '#1890ff',
32694
+ colorPrimary: '#1677ff',
32678
32695
  colorSuccess: '#52c41a',
32679
32696
  colorWarning: '#faad14',
32680
32697
  colorError: '#ff4d4f',
@@ -32706,7 +32723,7 @@ var seedToken = extends_extends(extends_extends({}, defaultPresetColors), {
32706
32723
  // Size
32707
32724
  sizeUnit: 4,
32708
32725
  sizeBaseStep: 4,
32709
- sizePopupArrow: 8 * Math.sqrt(2),
32726
+ sizePopupArrow: 16,
32710
32727
  // Control Base
32711
32728
  controlHeight: 32,
32712
32729
  // zIndex
@@ -32881,9 +32898,12 @@ var generateColorPalettes = function generateColorPalettes(baseColor) {
32881
32898
  5: colors[4],
32882
32899
  6: colors[5],
32883
32900
  7: colors[6],
32884
- 8: colors[7],
32885
- 9: colors[8],
32886
- 10: colors[9]
32901
+ 8: colors[4],
32902
+ 9: colors[5],
32903
+ 10: colors[6] // 8: colors[7],
32904
+ // 9: colors[8],
32905
+ // 10: colors[9],
32906
+
32887
32907
  };
32888
32908
  };
32889
32909
  var generateNeutralColorPalettes = function generateNeutralColorPalettes(bgBaseColor, textBaseColor) {
@@ -32896,9 +32916,9 @@ var generateNeutralColorPalettes = function generateNeutralColorPalettes(bgBaseC
32896
32916
  colorTextSecondary: getAlphaColor(colorTextBase, 0.65),
32897
32917
  colorTextTertiary: getAlphaColor(colorTextBase, 0.45),
32898
32918
  colorTextQuaternary: getAlphaColor(colorTextBase, 0.25),
32899
- colorFill: getAlphaColor(colorTextBase, 0.06),
32900
- colorFillSecondary: getAlphaColor(colorTextBase, 0.04),
32901
- colorFillTertiary: getAlphaColor(colorTextBase, 0.03),
32919
+ colorFill: getAlphaColor(colorTextBase, 0.12),
32920
+ colorFillSecondary: getAlphaColor(colorTextBase, 0.06),
32921
+ colorFillTertiary: getAlphaColor(colorTextBase, 0.04),
32902
32922
  colorFillQuaternary: getAlphaColor(colorTextBase, 0.02),
32903
32923
  colorBgLayout: getSolidColor(colorBgBase, 4),
32904
32924
  colorBgContainer: getSolidColor(colorBgBase, 0),
@@ -33043,13 +33063,16 @@ function formatToken(derivativeToken) {
33043
33063
  paddingSM: 12,
33044
33064
  paddingLG: 24,
33045
33065
  paddingXL: 32,
33066
+ paddingTmp: 20,
33046
33067
  marginXXS: 4,
33047
33068
  marginXS: 8,
33048
33069
  marginSM: 12,
33049
33070
  marginLG: 24,
33050
33071
  marginXL: 32,
33051
33072
  marginXXL: 48,
33052
- boxShadow: "\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",
33073
+ marginTmp: 20,
33074
+ boxShadow: "\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",
33075
+ boxShadowSecondary: "\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",
33053
33076
  screenXS: screenXS,
33054
33077
  screenXSMin: screenXS,
33055
33078
  screenXSMax: screenXS - 1,
@@ -33070,13 +33093,11 @@ function formatToken(derivativeToken) {
33070
33093
  screenXXLMax: screenXXL - 1,
33071
33094
  // FIXME: component box-shadow, should be removed
33072
33095
  boxShadowPopoverArrow: "3px 3px 7px rgba(0, 0, 0, 0.1)",
33073
- boxShadowPopoverArrowBottom: "2px 2px 5px rgba(0, 0, 0, 0.1)",
33074
- boxShadowSegmentedSelectedItem: ["0 2px 8px -2px ".concat(new TinyColor('#000').setAlpha(0.05).toRgbString()), "0 1px 4px -1px ".concat(new TinyColor('#000').setAlpha(0.07).toRgbString()), "0 0 1px 0 ".concat(new TinyColor('#000').setAlpha(0.08).toRgbString())].join(','),
33075
33096
  boxShadowCard: "\n 0 1px 2px -2px ".concat(new TinyColor('rgba(0, 0, 0, 0.16)').toRgbString(), ",\n 0 3px 6px 0 ").concat(new TinyColor('rgba(0, 0, 0, 0.12)').toRgbString(), ",\n 0 5px 12px 4px ").concat(new TinyColor('rgba(0, 0, 0, 0.09)').toRgbString(), "\n "),
33076
- boxShadowDrawerRight: '6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05),12px 0 48px 16px rgba(0, 0, 0, 0.03)',
33077
- boxShadowDrawerLeft: '-6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03)',
33078
- boxShadowDrawerUp: '0 -6px 16px -8px rgba(0, 0, 0, 0.32), 0 -9px 28px 0 rgba(0, 0, 0, 0.2),0 -12px 48px 16px rgba(0, 0, 0, 0.12)',
33079
- boxShadowDrawerDown: '0 6px 16px -8px rgba(0, 0, 0, 0.32), 0 9px 28px 0 rgba(0, 0, 0, 0.2), 0 12px 48px 16px rgba(0, 0, 0, 0.12)',
33097
+ boxShadowDrawerRight: "\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",
33098
+ boxShadowDrawerLeft: "\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",
33099
+ boxShadowDrawerUp: "\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",
33100
+ boxShadowDrawerDown: "\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",
33080
33101
  boxShadowTabsOverflowLeft: "inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",
33081
33102
  boxShadowTabsOverflowRight: "inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",
33082
33103
  boxShadowTabsOverflowTop: "inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",
@@ -33251,7 +33272,7 @@ function genComponentStyleHook_genComponentStyleHook(component, styleFn, getDefa
33251
33272
  theme: theme,
33252
33273
  token: token,
33253
33274
  hashId: hashId,
33254
- path: [component, prefixCls]
33275
+ path: [component, prefixCls, iconPrefixCls]
33255
33276
  }, function () {
33256
33277
  var _statisticToken = statisticToken(token),
33257
33278
  proxyToken = _statisticToken.token,
@@ -33358,7 +33379,8 @@ var genBaseStyle = function genBaseStyle(token) {
33358
33379
  colorTextDisabled = token.colorTextDisabled,
33359
33380
  fontSizeIcon = token.fontSizeIcon,
33360
33381
  controlPaddingHorizontal = token.controlPaddingHorizontal,
33361
- colorBgElevated = token.colorBgElevated;
33382
+ colorBgElevated = token.colorBgElevated,
33383
+ boxShadowPopoverArrow = token.boxShadowPopoverArrow;
33362
33384
  return [defineProperty_defineProperty({}, componentCls, extends_extends(extends_extends({}, style_resetComponent(token)), (_extends2 = {
33363
33385
  position: 'absolute',
33364
33386
  top: -9999,
@@ -33394,19 +33416,16 @@ var genBaseStyle = function genBaseStyle(token) {
33394
33416
  }), defineProperty_defineProperty(_extends2, "".concat(componentCls, "-arrow"), extends_extends({
33395
33417
  position: 'absolute',
33396
33418
  zIndex: 1,
33397
- display: 'block',
33398
- width: sizePopupArrow,
33399
- height: sizePopupArrow
33400
- }, roundedArrow(sizePopupArrow, token.radiusXS, token.radiusOuter, colorBgElevated))), defineProperty_defineProperty(_extends2, "\n &-placement-top > ".concat(componentCls, "-arrow,\n &-placement-topLeft > ").concat(componentCls, "-arrow,\n &-placement-topRight > ").concat(componentCls, "-arrow\n "), {
33401
- bottom: sizePopupArrow * Math.sqrt(1 / 2) + 2,
33402
- boxShadow: token.boxShadowPopoverArrow,
33403
- transform: 'rotate(45deg)'
33419
+ display: 'block'
33420
+ }, roundedArrow(sizePopupArrow, token.radiusXS, token.radiusOuter, colorBgElevated, boxShadowPopoverArrow))), defineProperty_defineProperty(_extends2, "\n &-placement-top > ".concat(componentCls, "-arrow,\n &-placement-topLeft > ").concat(componentCls, "-arrow,\n &-placement-topRight > ").concat(componentCls, "-arrow\n "), {
33421
+ bottom: dropdownArrowDistance,
33422
+ transform: 'translateY(100%) rotate(180deg)'
33404
33423
  }), defineProperty_defineProperty(_extends2, "&-placement-top > ".concat(componentCls, "-arrow"), {
33405
33424
  left: {
33406
33425
  _skip_check_: true,
33407
33426
  value: '50%'
33408
33427
  },
33409
- transform: 'translateX(-50%) rotate(45deg)'
33428
+ transform: 'translateX(-50%) translateY(100%) rotate(180deg)'
33410
33429
  }), defineProperty_defineProperty(_extends2, "&-placement-topLeft > ".concat(componentCls, "-arrow"), {
33411
33430
  left: {
33412
33431
  _skip_check_: true,
@@ -33418,16 +33437,14 @@ var genBaseStyle = function genBaseStyle(token) {
33418
33437
  value: dropdownArrowOffset
33419
33438
  }
33420
33439
  }), defineProperty_defineProperty(_extends2, "\n &-placement-bottom > ".concat(componentCls, "-arrow,\n &-placement-bottomLeft > ").concat(componentCls, "-arrow,\n &-placement-bottomRight > ").concat(componentCls, "-arrow\n "), {
33421
- top: (sizePopupArrow + 2) * Math.sqrt(1 / 2),
33422
- boxShadow: token.boxShadowPopoverArrowBottom,
33423
- transform: "rotate(-135deg) translateY(-0.5px)" // FIXME: hardcode
33424
-
33440
+ top: dropdownArrowDistance,
33441
+ transform: "translateY(-100%)"
33425
33442
  }), defineProperty_defineProperty(_extends2, "&-placement-bottom > ".concat(componentCls, "-arrow"), {
33426
33443
  left: {
33427
33444
  _skip_check_: true,
33428
33445
  value: '50%'
33429
33446
  },
33430
- transform: "translateX(-50%) rotate(-135deg) translateY(-0.5px)"
33447
+ transform: "translateY(-100%) translateX(-50%)"
33431
33448
  }), defineProperty_defineProperty(_extends2, "&-placement-bottomLeft > ".concat(componentCls, "-arrow"), {
33432
33449
  left: {
33433
33450
  _skip_check_: true,
@@ -33468,7 +33485,7 @@ var genBaseStyle = function genBaseStyle(token) {
33468
33485
  backgroundClip: 'padding-box',
33469
33486
  borderRadius: token.controlRadiusLG,
33470
33487
  outline: 'none',
33471
- boxShadow: token.boxShadow
33488
+ boxShadow: token.boxShadowSecondary
33472
33489
  }, defineProperty_defineProperty(_menuCls, "".concat(menuCls, "-item-group-title"), {
33473
33490
  padding: "".concat(dropdownPaddingVertical, "px ").concat(controlPaddingHorizontal, "px"),
33474
33491
  color: token.colorTextDescription,
@@ -38938,12 +38955,15 @@ var genCardStyle = function genCardStyle(token) {
38938
38955
  cardHeadHeight = token.cardHeadHeight,
38939
38956
  cardHeadPadding = token.cardHeadPadding,
38940
38957
  cardPaddingBase = token.cardPaddingBase,
38941
- colorBorderSecondary = token.colorBorderSecondary;
38958
+ colorBorderSecondary = token.colorBorderSecondary,
38959
+ boxShadow = token.boxShadow;
38942
38960
  return _ref3 = {}, defineProperty_defineProperty(_ref3, componentCls, extends_extends(extends_extends({}, style_resetComponent(token)), (_extends3 = {
38943
38961
  position: 'relative',
38944
38962
  background: token.colorBgContainer,
38945
38963
  borderRadius: token.radiusLG
38946
- }, defineProperty_defineProperty(_extends3, "".concat(componentCls, "-head"), genCardHeadStyle(token)), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-extra"), {
38964
+ }, defineProperty_defineProperty(_extends3, "&:not(".concat(componentCls, "-bordered)"), {
38965
+ boxShadow: boxShadow
38966
+ }), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-head"), genCardHeadStyle(token)), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-extra"), {
38947
38967
  // https://stackoverflow.com/a/22429853/3040605
38948
38968
  marginInlineStart: 'auto',
38949
38969
  padding: '',
@@ -45092,7 +45112,7 @@ var genSingleStyle = function genSingleStyle(token) {
45092
45112
  backgroundColor: token.colorBgElevated,
45093
45113
  borderRadius: token.controlRadiusLG,
45094
45114
  outline: 'none',
45095
- boxShadow: token.boxShadow
45115
+ boxShadow: token.boxShadowSecondary
45096
45116
  }, defineProperty_defineProperty(_extends2, "\n &".concat(antCls, "-slide-up-enter").concat(antCls, "-slide-up-enter-active&-placement-bottomLeft,\n &").concat(antCls, "-slide-up-appear").concat(antCls, "-slide-up-appear-active&-placement-bottomLeft\n "), {
45097
45117
  animationName: slideUpIn
45098
45118
  }), defineProperty_defineProperty(_extends2, "\n &".concat(antCls, "-slide-up-enter").concat(antCls, "-slide-up-enter-active&-placement-topLeft,\n &").concat(antCls, "-slide-up-appear").concat(antCls, "-slide-up-appear-active&-placement-topLeft\n "), {
@@ -50540,7 +50560,8 @@ var genPickerStyle = function genPickerStyle(token) {
50540
50560
  var _$concat6, _$concat8, _range, _$concat9, _$concat10, _$concat11, _extends3, _rtl2, _extends4;
50541
50561
 
50542
50562
  var componentCls = token.componentCls,
50543
- antCls = token.antCls;
50563
+ antCls = token.antCls,
50564
+ boxShadowPopoverArrow = token.boxShadowPopoverArrow;
50544
50565
  return defineProperty_defineProperty({}, componentCls, extends_extends(extends_extends(extends_extends({}, style_resetComponent(token)), genPikerPadding(token, token.controlHeight, token.fontSize, token.inputPaddingHorizontal)), (_extends4 = {
50545
50566
  position: 'relative',
50546
50567
  display: 'inline-flex',
@@ -50677,14 +50698,14 @@ var genPickerStyle = function genPickerStyle(token) {
50677
50698
  display: 'none'
50678
50699
  },
50679
50700
  '&&-placement-bottomLeft': defineProperty_defineProperty({}, "".concat(componentCls, "-range-arrow"), {
50680
- top: "".concat(token.sizePopupArrow / 2 - token.sizePopupArrow / 3 + 0.7, "px"),
50701
+ top: 0,
50681
50702
  display: 'block',
50682
- transform: 'rotate(-135deg) translateY(1px)'
50703
+ transform: 'translateY(-100%)'
50683
50704
  }),
50684
50705
  '&&-placement-topLeft': defineProperty_defineProperty({}, "".concat(componentCls, "-range-arrow"), {
50685
- bottom: "".concat(token.sizePopupArrow / 2 - token.sizePopupArrow / 3 + 0.7, "px"),
50706
+ bottom: 0,
50686
50707
  display: 'block',
50687
- transform: 'rotate(45deg)'
50708
+ transform: 'translateY(100%) rotate(180deg)'
50688
50709
  })
50689
50710
  }, defineProperty_defineProperty(_extends3, "&".concat(antCls, "-slide-up-enter").concat(antCls, "-slide-up-enter-active&-placement-topLeft,\n &").concat(antCls, "-slide-up-enter").concat(antCls, "-slide-up-enter-active&-placement-topRight,\n &").concat(antCls, "-slide-up-appear").concat(antCls, "-slide-up-appear-active&-placement-topLeft,\n &").concat(antCls, "-slide-up-appear").concat(antCls, "-slide-up-appear-active&-placement-topRight"), {
50690
50711
  animationName: slideDownIn
@@ -50716,27 +50737,28 @@ var genPickerStyle = function genPickerStyle(token) {
50716
50737
  }), defineProperty_defineProperty(_$concat9, "".concat(componentCls, "-ok"), {
50717
50738
  marginInlineStart: 'auto'
50718
50739
  }), _$concat9)), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-range-wrapper"), {
50719
- display: 'flex'
50740
+ display: 'flex',
50741
+ position: 'relative'
50720
50742
  }), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-range-arrow"), extends_extends({
50721
50743
  position: 'absolute',
50722
50744
  zIndex: 1,
50723
50745
  display: 'none',
50724
- width: token.sizePopupArrow,
50725
- height: token.sizePopupArrow,
50726
50746
  marginInlineStart: token.inputPaddingHorizontal * 1.5,
50727
- boxShadow: token.boxShadowPopoverArrowBottom,
50728
50747
  transition: "left ".concat(token.motionDurationSlow, " ease-out")
50729
- }, roundedArrow(token.sizePopupArrow, token.radiusXS, token.radiusOuter, token.colorBgElevated))), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-panel-container"), (_$concat11 = {
50748
+ }, roundedArrow(token.sizePopupArrow, token.radiusXS, token.radiusOuter, token.colorBgElevated, boxShadowPopoverArrow))), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-panel-container"), (_$concat11 = {
50730
50749
  overflow: 'hidden',
50731
50750
  verticalAlign: 'top',
50732
50751
  background: token.colorBgElevated,
50733
50752
  borderRadius: token.controlRadiusLG,
50734
- boxShadow: token.boxShadow,
50753
+ boxShadow: token.boxShadowSecondary,
50735
50754
  transition: "margin ".concat(token.motionDurationSlow)
50736
50755
  }, defineProperty_defineProperty(_$concat11, "".concat(componentCls, "-panels"), {
50737
50756
  display: 'inline-flex',
50738
50757
  flexWrap: 'nowrap',
50739
- direction: 'ltr'
50758
+ direction: 'ltr',
50759
+ '&:last-child': defineProperty_defineProperty({}, "".concat(componentCls, "-panel"), {
50760
+ borderWidth: 0
50761
+ })
50740
50762
  }), defineProperty_defineProperty(_$concat11, "".concat(componentCls, "-panel"), (_$concat10 = {
50741
50763
  verticalAlign: 'top',
50742
50764
  background: 'transparent',
@@ -51833,8 +51855,9 @@ var genModalStyle = function genModalStyle(token) {
51833
51855
  backgroundClip: 'padding-box',
51834
51856
  border: 0,
51835
51857
  borderRadius: token.radiusLG,
51836
- boxShadow: token.boxShadow,
51837
- pointerEvents: 'auto'
51858
+ boxShadow: token.boxShadowSecondary,
51859
+ pointerEvents: 'auto',
51860
+ padding: "".concat(token.paddingTmp, "px ").concat(token.paddingLG, "px")
51838
51861
  }), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-close"), {
51839
51862
  position: 'absolute',
51840
51863
  top: 0,
@@ -51866,22 +51889,18 @@ var genModalStyle = function genModalStyle(token) {
51866
51889
  textDecoration: 'none'
51867
51890
  }
51868
51891
  }), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-header"), {
51869
- padding: token.modalHeaderPadding,
51870
51892
  color: token.colorText,
51871
51893
  background: token.modalHeaderBg,
51872
- borderBottom: "".concat(token.modalHeaderBorderWidth, "px ").concat(token.modalHeaderBorderStyle, " ").concat(token.modalHeaderBorderColorSplit),
51873
- borderRadius: "".concat(token.radiusLG, "px ").concat(token.radiusLG, "px 0 0")
51894
+ borderRadius: "".concat(token.radiusLG, "px ").concat(token.radiusLG, "px 0 0"),
51895
+ marginBottom: token.marginXS
51874
51896
  }), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-body"), {
51875
- padding: token.modalBodyPadding,
51876
51897
  fontSize: token.fontSizeBase,
51877
51898
  lineHeight: token.lineHeight,
51878
51899
  wordWrap: 'break-word'
51879
51900
  }), defineProperty_defineProperty(_extends3, "".concat(componentCls, "-footer"), defineProperty_defineProperty({
51880
- padding: "".concat(token.modalFooterPaddingVertical, "px ").concat(token.modalFooterPaddingHorizontal, "px"),
51881
51901
  textAlign: 'end',
51882
51902
  background: token.modalFooterBg,
51883
- borderTop: "".concat(token.modalFooterBorderWidth, "px ").concat(token.modalFooterBorderStyle, " ").concat(token.modalFooterBorderColorSplit),
51884
- borderRadius: "0 0 ".concat(token.radiusLG, "px ").concat(token.radiusLG, "px")
51903
+ marginTop: token.marginSM
51885
51904
  }, "".concat(token.antCls, "-btn + ").concat(token.antCls, "-btn:not(").concat(token.antCls, "-dropdown-trigger)"), {
51886
51905
  marginBottom: 0,
51887
51906
  marginInlineStart: token.marginXS
@@ -51905,8 +51924,6 @@ var genModalConfirmStyle = function genModalConfirmStyle(token) {
51905
51924
  }
51906
51925
  }, defineProperty_defineProperty(_confirmComponentCls, "".concat(token.antCls, "-modal-header"), {
51907
51926
  display: 'none'
51908
- }), defineProperty_defineProperty(_confirmComponentCls, "".concat(token.antCls, "-modal-body"), {
51909
- padding: "".concat(token.padding * 2, "px ").concat(token.padding * 2, "px ").concat(token.paddingLG, "px")
51910
51927
  }), defineProperty_defineProperty(_confirmComponentCls, "".concat(confirmComponentCls, "-body-wrapper"), extends_extends({}, clearFix())), defineProperty_defineProperty(_confirmComponentCls, "".concat(confirmComponentCls, "-body"), (_$concat7 = {
51911
51928
  display: 'flex',
51912
51929
  flexWrap: 'wrap',
@@ -51926,15 +51943,15 @@ var genModalConfirmStyle = function genModalConfirmStyle(token) {
51926
51943
  fontSize: token.fontSizeBase
51927
51944
  }), defineProperty_defineProperty(_$concat7, "> ".concat(token.iconCls), defineProperty_defineProperty({
51928
51945
  flex: 'none',
51929
- marginInlineEnd: token.margin,
51946
+ marginInlineEnd: token.marginSM,
51930
51947
  fontSize: token.modalConfirmIconSize
51931
51948
  }, "+ ".concat(confirmComponentCls, "-title + ").concat(confirmComponentCls, "-content"), {
51932
- marginInlineStart: token.modalConfirmIconSize + token.margin,
51949
+ marginInlineStart: token.modalConfirmIconSize + token.marginSM,
51933
51950
  marginBlockStart: token.marginXS,
51934
51951
  flexBasis: '100%'
51935
51952
  })), _$concat7)), defineProperty_defineProperty(_confirmComponentCls, "".concat(confirmComponentCls, "-btns"), defineProperty_defineProperty({
51936
51953
  textAlign: 'end',
51937
- marginTop: token.marginLG
51954
+ marginTop: token.marginSM
51938
51955
  }, "".concat(token.antCls, "-btn + ").concat(token.antCls, "-btn"), {
51939
51956
  marginBottom: 0,
51940
51957
  marginInlineStart: token.marginXS
@@ -52316,36 +52333,35 @@ function connectArrowCls(classList) {
52316
52333
  }).join(',');
52317
52334
  }
52318
52335
 
52319
- function getArrowStyle(token, colorBg, showArrowCls) {
52336
+ function getArrowStyle(token, colorBg, showArrowCls, arrowMargin) {
52320
52337
  var _componentCls;
52321
52338
 
52322
52339
  var componentCls = token.componentCls,
52323
52340
  sizePopupArrow = token.sizePopupArrow,
52324
52341
  marginXXS = token.marginXXS,
52325
52342
  radiusXS = token.radiusXS,
52326
- radiusOuter = token.radiusOuter;
52327
- var dropdownArrowOffset = sizePopupArrow / Math.sqrt(2) * 2;
52343
+ radiusOuter = token.radiusOuter,
52344
+ boxShadowPopoverArrow = token.boxShadowPopoverArrow,
52345
+ marginXS = token.marginXS;
52346
+ var dropdownArrowOffset = arrowMargin !== null && arrowMargin !== void 0 ? arrowMargin : marginXS;
52328
52347
  var dropdownArrowDistance = sizePopupArrow + marginXXS;
52329
52348
  return defineProperty_defineProperty({}, componentCls, (_componentCls = {}, defineProperty_defineProperty(_componentCls, "".concat(componentCls, "-arrow"), [extends_extends(extends_extends({
52330
52349
  position: 'absolute',
52331
52350
  zIndex: 1,
52332
- display: 'block',
52333
- width: sizePopupArrow,
52334
- height: sizePopupArrow
52335
- }, roundedArrow(sizePopupArrow, radiusXS, radiusOuter, colorBg)), {
52351
+ display: 'block'
52352
+ }, roundedArrow(sizePopupArrow, radiusXS, radiusOuter, colorBg, boxShadowPopoverArrow)), {
52336
52353
  '&:before': {
52337
52354
  background: colorBg
52338
52355
  }
52339
52356
  })]), defineProperty_defineProperty(_componentCls, ["&-placement-top ".concat(componentCls, "-arrow"), "&-placement-topLeft ".concat(componentCls, "-arrow"), "&-placement-topRight ".concat(componentCls, "-arrow")].join(','), {
52340
52357
  bottom: 0,
52341
- boxShadow: token.boxShadowPopoverArrow,
52342
- transform: 'translateY(50%) rotate(45deg)'
52358
+ transform: 'translateY(100%) rotate(180deg)'
52343
52359
  }), defineProperty_defineProperty(_componentCls, "&-placement-top ".concat(componentCls, "-arrow"), {
52344
52360
  left: {
52345
52361
  _skip_check_: true,
52346
52362
  value: '50%'
52347
52363
  },
52348
- transform: 'translateX(-50%) translateY(50%) rotate(45deg)'
52364
+ transform: 'translateX(-50%) translateY(100%) rotate(180deg)'
52349
52365
  }), defineProperty_defineProperty(_componentCls, "&-placement-topLeft ".concat(componentCls, "-arrow"), {
52350
52366
  left: {
52351
52367
  _skip_check_: true,
@@ -52358,14 +52374,13 @@ function getArrowStyle(token, colorBg, showArrowCls) {
52358
52374
  }
52359
52375
  }), defineProperty_defineProperty(_componentCls, ["&-placement-bottom ".concat(componentCls, "-arrow"), "&-placement-bottomLeft ".concat(componentCls, "-arrow"), "&-placement-bottomRight ".concat(componentCls, "-arrow")].join(','), {
52360
52376
  top: 0,
52361
- boxShadow: token.boxShadowPopoverArrowBottom,
52362
- transform: "translateY(-50%) rotate(-135deg)"
52377
+ transform: "translateY(-100%)"
52363
52378
  }), defineProperty_defineProperty(_componentCls, "&-placement-bottom ".concat(componentCls, "-arrow"), {
52364
52379
  left: {
52365
52380
  _skip_check_: true,
52366
52381
  value: '50%'
52367
52382
  },
52368
- transform: "translateX(-50%) translateY(-50%) rotate(-135deg)"
52383
+ transform: "translateX(-50%) translateY(-100%)"
52369
52384
  }), defineProperty_defineProperty(_componentCls, "&-placement-bottomLeft ".concat(componentCls, "-arrow"), {
52370
52385
  left: {
52371
52386
  _skip_check_: true,
@@ -52381,14 +52396,13 @@ function getArrowStyle(token, colorBg, showArrowCls) {
52381
52396
  _skip_check_: true,
52382
52397
  value: 0
52383
52398
  },
52384
- boxShadow: token.boxShadowPopoverArrow,
52385
- transform: 'translateX(50%) rotate(-45deg)'
52399
+ transform: 'translateX(100%) rotate(90deg)'
52386
52400
  }), defineProperty_defineProperty(_componentCls, "&-placement-left ".concat(componentCls, "-arrow"), {
52387
52401
  top: {
52388
52402
  _skip_check_: true,
52389
52403
  value: '50%'
52390
52404
  },
52391
- transform: 'translateY(-50%) translateX(50%) rotate(-45deg)'
52405
+ transform: 'translateY(-50%) translateX(100%) rotate(90deg)'
52392
52406
  }), defineProperty_defineProperty(_componentCls, "&-placement-leftTop ".concat(componentCls, "-arrow"), {
52393
52407
  top: dropdownArrowOffset
52394
52408
  }), defineProperty_defineProperty(_componentCls, "&-placement-leftBottom ".concat(componentCls, "-arrow"), {
@@ -52398,14 +52412,13 @@ function getArrowStyle(token, colorBg, showArrowCls) {
52398
52412
  _skip_check_: true,
52399
52413
  value: 0
52400
52414
  },
52401
- boxShadow: token.boxShadowPopoverArrow,
52402
- transform: 'translateX(-50%) rotate(135deg)'
52415
+ transform: 'translateX(-100%) rotate(-90deg)'
52403
52416
  }), defineProperty_defineProperty(_componentCls, "&-placement-right ".concat(componentCls, "-arrow"), {
52404
52417
  top: {
52405
52418
  _skip_check_: true,
52406
52419
  value: '50%'
52407
52420
  },
52408
- transform: 'translateY(-50%) translateX(-50%) rotate(135deg)'
52421
+ transform: 'translateY(-50%) translateX(-100%) rotate(-90deg)'
52409
52422
  }), defineProperty_defineProperty(_componentCls, "&-placement-rightTop ".concat(componentCls, "-arrow"), {
52410
52423
  top: dropdownArrowOffset
52411
52424
  }), defineProperty_defineProperty(_componentCls, "&-placement-rightBottom ".concat(componentCls, "-arrow"), {
@@ -52441,18 +52454,13 @@ var popover_style_genBaseStyle = function genBaseStyle(token) {
52441
52454
  popoverBg = token.popoverBg,
52442
52455
  popoverColor = token.popoverColor,
52443
52456
  width = token.width,
52444
- popoverPaddingHorizontal = token.popoverPaddingHorizontal,
52445
- popoverTitlePaddingBlockTop = token.popoverTitlePaddingBlockTop,
52446
- popoverTitlePaddingBlockBottom = token.popoverTitlePaddingBlockBottom,
52447
- lineWidth = token.lineWidth,
52448
- lineType = token.lineType,
52449
52457
  fontWeightStrong = token.fontWeightStrong,
52450
- boxShadow = token.boxShadow,
52451
- colorSplit = token.colorSplit,
52458
+ popoverPadding = token.popoverPadding,
52459
+ boxShadowSecondary = token.boxShadowSecondary,
52452
52460
  colorTextHeading = token.colorTextHeading,
52453
52461
  borderRadius = token.radiusLG,
52454
- paddingSM = token.paddingSM,
52455
- zIndexPopup = token.zIndexPopup;
52462
+ zIndexPopup = token.zIndexPopup,
52463
+ marginXS = token.marginXS;
52456
52464
  return [defineProperty_defineProperty({}, componentCls, extends_extends(extends_extends({}, style_resetComponent(token)), (_extends2 = {
52457
52465
  position: 'absolute',
52458
52466
  top: 0,
@@ -52475,16 +52483,14 @@ var popover_style_genBaseStyle = function genBaseStyle(token) {
52475
52483
  backgroundColor: popoverBg,
52476
52484
  backgroundClip: 'padding-box',
52477
52485
  borderRadius: borderRadius,
52478
- boxShadow: boxShadow
52486
+ boxShadow: boxShadowSecondary,
52487
+ padding: popoverPadding
52479
52488
  }), defineProperty_defineProperty(_extends2, "".concat(componentCls, "-title"), {
52480
52489
  minWidth: width,
52481
- margin: 0,
52482
- padding: "".concat(popoverTitlePaddingBlockTop, "px ").concat(popoverPaddingHorizontal, "px ").concat(popoverTitlePaddingBlockBottom, "px"),
52490
+ marginBottom: marginXS,
52483
52491
  color: colorTextHeading,
52484
- fontWeight: fontWeightStrong,
52485
- borderBottom: "".concat(lineWidth, "px ").concat(lineType, " ").concat(colorSplit)
52492
+ fontWeight: fontWeightStrong
52486
52493
  }), defineProperty_defineProperty(_extends2, "".concat(componentCls, "-inner-content"), {
52487
- padding: "".concat(paddingSM, "px ").concat(popoverPaddingHorizontal, "px"),
52488
52494
  color: popoverColor
52489
52495
  }), _extends2))), // Arrow Style
52490
52496
  getArrowStyle(token, token.colorBgElevated), // Pure Render
@@ -52514,18 +52520,13 @@ var genColorStyle = function genColorStyle(token) {
52514
52520
  };
52515
52521
 
52516
52522
  /* harmony default export */ var popover_style = (genComponentStyleHook_genComponentStyleHook('Popover', function (token) {
52517
- var controlHeight = token.controlHeight,
52518
- fontSize = token.fontSize,
52519
- lineHeight = token.lineHeight,
52520
- lineWidth = token.lineWidth,
52521
- colorBgElevated = token.colorBgElevated;
52522
- var titlePaddingBlockDist = controlHeight - Math.round(fontSize * lineHeight);
52523
+ var colorBgElevated = token.colorBgElevated,
52524
+ colorText = token.colorText,
52525
+ paddingSM = token.paddingSM;
52523
52526
  var popoverToken = merge(token, {
52524
52527
  popoverBg: colorBgElevated,
52525
- popoverColor: token.colorText,
52526
- popoverTitlePaddingBlockTop: titlePaddingBlockDist / 2,
52527
- popoverTitlePaddingBlockBottom: titlePaddingBlockDist / 2 - lineWidth,
52528
- popoverPaddingHorizontal: token.padding
52528
+ popoverColor: colorText,
52529
+ popoverPadding: paddingSM
52529
52530
  });
52530
52531
  return [popover_style_genBaseStyle(popoverToken), genColorStyle(popoverToken), initZoomMotion(popoverToken, 'zoom-big')];
52531
52532
  }, function (_ref5) {
@@ -64831,7 +64832,7 @@ var genDrawerStyle = function genDrawerStyle(token) {
64831
64832
  _skip_check_: true,
64832
64833
  value: 0
64833
64834
  },
64834
- boxShadow: token.boxShadowDrawerRight
64835
+ boxShadow: token.boxShadowDrawerLeft
64835
64836
  }), defineProperty_defineProperty(_componentCls, "&-right > ".concat(wrapperCls), {
64836
64837
  top: 0,
64837
64838
  right: {
@@ -64839,15 +64840,15 @@ var genDrawerStyle = function genDrawerStyle(token) {
64839
64840
  value: 0
64840
64841
  },
64841
64842
  bottom: 0,
64842
- boxShadow: token.boxShadowDrawerLeft
64843
+ boxShadow: token.boxShadowDrawerRight
64843
64844
  }), defineProperty_defineProperty(_componentCls, "&-top > ".concat(wrapperCls), {
64844
64845
  top: 0,
64845
64846
  insetInline: 0,
64846
- boxShadow: token.boxShadowDrawerDown
64847
+ boxShadow: token.boxShadowDrawerUp
64847
64848
  }), defineProperty_defineProperty(_componentCls, "&-bottom > ".concat(wrapperCls), {
64848
64849
  bottom: 0,
64849
64850
  insetInline: 0,
64850
- boxShadow: token.boxShadowDrawerUp
64851
+ boxShadow: token.boxShadowDrawerDown
64851
64852
  }), defineProperty_defineProperty(_componentCls, "".concat(componentCls, "-content"), {
64852
64853
  width: '100%',
64853
64854
  height: '100%',
@@ -69871,11 +69872,11 @@ var getVerticalStyle = function getVerticalStyle(token) {
69871
69872
  fontSizeLG = token.fontSizeLG,
69872
69873
  motionDurationSlow = token.motionDurationSlow,
69873
69874
  paddingXS = token.paddingXS,
69874
- boxShadow = token.boxShadow;
69875
+ boxShadowSecondary = token.boxShadowSecondary;
69875
69876
  return [(_ref2 = {}, defineProperty_defineProperty(_ref2, componentCls, defineProperty_defineProperty({}, "&-inline, &-vertical", extends_extends(defineProperty_defineProperty({}, "&".concat(componentCls, "-root"), {
69876
69877
  boxShadow: 'none'
69877
69878
  }), getVerticalInlineStyle(token)))), defineProperty_defineProperty(_ref2, "".concat(componentCls, "-submenu-popup"), defineProperty_defineProperty({}, "".concat(componentCls, "-vertical"), extends_extends(extends_extends({}, getVerticalInlineStyle(token)), {
69878
- boxShadow: boxShadow
69879
+ boxShadow: boxShadowSecondary
69879
69880
  }))), _ref2), // Vertical only
69880
69881
  defineProperty_defineProperty({}, "".concat(componentCls, "-submenu-popup ").concat(componentCls, "-vertical").concat(componentCls, "-sub"), {
69881
69882
  minWidth: dropdownWidth,
@@ -70240,7 +70241,7 @@ var genMessageStyle = function genMessageStyle(token) {
70240
70241
 
70241
70242
  var componentCls = token.componentCls,
70242
70243
  iconCls = token.iconCls,
70243
- boxShadow = token.boxShadow,
70244
+ boxShadowSecondary = token.boxShadowSecondary,
70244
70245
  colorBgElevated = token.colorBgElevated,
70245
70246
  colorSuccess = token.colorSuccess,
70246
70247
  colorError = token.colorError,
@@ -70320,7 +70321,7 @@ var genMessageStyle = function genMessageStyle(token) {
70320
70321
  padding: messageNoticeContentPadding,
70321
70322
  background: colorBgElevated,
70322
70323
  borderRadius: radiusLG,
70323
- boxShadow: boxShadow,
70324
+ boxShadow: boxShadowSecondary,
70324
70325
  pointerEvents: 'all'
70325
70326
  }), defineProperty_defineProperty(_$concat, "".concat(componentCls, "-success ").concat(iconCls), {
70326
70327
  color: colorSuccess
@@ -70341,7 +70342,7 @@ var genMessageStyle = function genMessageStyle(token) {
70341
70342
  /* harmony default export */ var message_style = (genComponentStyleHook_genComponentStyleHook('Message', function (token) {
70342
70343
  // Gen-style functions here
70343
70344
  var combinedToken = merge(token, {
70344
- messageNoticeContentPadding: "".concat((token.controlHeightLG - token.fontSize * token.lineHeight) / 2, "px ").concat(token.padding, "px")
70345
+ messageNoticeContentPadding: "".concat((token.controlHeightLG - token.fontSize * token.lineHeight) / 2, "px ").concat(token.paddingSM, "px")
70345
70346
  });
70346
70347
  return [genMessageStyle(combinedToken)];
70347
70348
  }, function (token) {
@@ -70367,7 +70368,6 @@ var generatorTooltipPresetColor = function generatorTooltipPresetColor(token) {
70367
70368
  previousValue["&".concat(componentCls, "-").concat(currentValue)] = (_previousValue$$conc = {}, defineProperty_defineProperty(_previousValue$$conc, "".concat(componentCls, "-inner"), {
70368
70369
  backgroundColor: lightColor
70369
70370
  }), defineProperty_defineProperty(_previousValue$$conc, "".concat(componentCls, "-arrow"), {
70370
- background: lightColor,
70371
70371
  '--antd-arrow-background-color': lightColor
70372
70372
  }), _previousValue$$conc);
70373
70373
  return previousValue;
@@ -70384,7 +70384,7 @@ var genTooltipStyle = function genTooltipStyle(token) {
70384
70384
  tooltipBorderRadius = token.tooltipBorderRadius,
70385
70385
  zIndexPopup = token.zIndexPopup,
70386
70386
  controlHeight = token.controlHeight,
70387
- boxShadow = token.boxShadow,
70387
+ boxShadowSecondary = token.boxShadowSecondary,
70388
70388
  paddingSM = token.paddingSM,
70389
70389
  paddingXS = token.paddingXS;
70390
70390
  return [defineProperty_defineProperty({}, componentCls, extends_extends(extends_extends(extends_extends(extends_extends({}, style_resetComponent(token)), (_extends2 = {
@@ -70412,7 +70412,7 @@ var genTooltipStyle = function genTooltipStyle(token) {
70412
70412
  wordWrap: 'break-word',
70413
70413
  backgroundColor: tooltipBg,
70414
70414
  borderRadius: tooltipBorderRadius,
70415
- boxShadow: boxShadow
70415
+ boxShadow: boxShadowSecondary
70416
70416
  }), defineProperty_defineProperty(_extends2, "".concat(componentCls, "-content"), {
70417
70417
  position: 'relative'
70418
70418
  }), _extends2)), generatorTooltipPresetColor(token)), {
@@ -70423,7 +70423,7 @@ var genTooltipStyle = function genTooltipStyle(token) {
70423
70423
  })), // Arrow Style
70424
70424
  getArrowStyle(merge(token, {
70425
70425
  radiusOuter: 5
70426
- }), 'var(--antd-arrow-background-color)', ''), // Pure Render
70426
+ }), 'var(--antd-arrow-background-color)', '', 0), // Pure Render
70427
70427
  defineProperty_defineProperty({}, "".concat(componentCls, "-pure"), {
70428
70428
  position: 'relative',
70429
70429
  maxWidth: 'none'
@@ -98303,7 +98303,7 @@ function cssVariables_getStyle(globalPrefixCls, theme) {
98303
98303
  variables["".concat(type, "-color")] = formatColor(baseColor);
98304
98304
  variables["".concat(type, "-color-disabled")] = colorPalettes[1];
98305
98305
  variables["".concat(type, "-color-hover")] = colorPalettes[4];
98306
- variables["".concat(type, "-color-active")] = colorPalettes[7];
98306
+ variables["".concat(type, "-color-active")] = colorPalettes[6];
98307
98307
  variables["".concat(type, "-color-outline")] = baseColor.clone().setAlpha(0.2).toRgbString();
98308
98308
  variables["".concat(type, "-color-deprecated-bg")] = colorPalettes[1];
98309
98309
  variables["".concat(type, "-color-deprecated-border")] = colorPalettes[3];
@@ -98544,6 +98544,7 @@ var ProviderChildren = function ProviderChildren(props) {
98544
98544
  virtual: virtual,
98545
98545
  dropdownMatchSelectWidth: dropdownMatchSelectWidth,
98546
98546
  getPrefixCls: getPrefixCls,
98547
+ iconPrefixCls: iconPrefixCls !== null && iconPrefixCls !== void 0 ? iconPrefixCls : context_defaultIconPrefixCls,
98547
98548
  theme: mergedTheme
98548
98549
  }); // Pass the props used by `useContext` directly with child component.
98549
98550
  // These props should merged into `config`.
@@ -99640,8 +99641,10 @@ var genPrimaryButtonStyle = function genPrimaryButtonStyle(token) {
99640
99641
  backgroundColor: token.colorPrimary,
99641
99642
  boxShadow: "0 ".concat(token.controlOutlineWidth, "px 0 ").concat(token.controlOutline)
99642
99643
  }), genHoverActiveButtonStyle({
99644
+ color: token.colorTextLightSolid,
99643
99645
  backgroundColor: token.colorPrimaryHover
99644
99646
  }, {
99647
+ color: token.colorTextLightSolid,
99645
99648
  backgroundColor: token.colorPrimaryActive
99646
99649
  })), genGhostButtonStyle(token.componentCls, token.colorPrimary, token.colorPrimary, token.colorTextDisabled, token.colorBorder)), defineProperty_defineProperty({}, "&".concat(token.componentCls, "-dangerous"), extends_extends(extends_extends(extends_extends({
99647
99650
  backgroundColor: token.colorError,
@@ -99680,12 +99683,18 @@ var genLinkButtonStyle = function genLinkButtonStyle(token) {
99680
99683
 
99681
99684
  var genTextButtonStyle = function genTextButtonStyle(token) {
99682
99685
  return extends_extends(extends_extends(extends_extends({}, genHoverActiveButtonStyle({
99686
+ color: token.colorText,
99683
99687
  backgroundColor: token.colorBgTextHover
99684
99688
  }, {
99689
+ color: token.colorText,
99685
99690
  backgroundColor: token.colorBgTextActive
99686
- })), genPureDisabledButtonStyle(token)), defineProperty_defineProperty({}, "&".concat(token.componentCls, "-dangerous"), extends_extends({
99691
+ })), genPureDisabledButtonStyle(token)), defineProperty_defineProperty({}, "&".concat(token.componentCls, "-dangerous"), extends_extends(extends_extends({
99692
+ color: token.colorError
99693
+ }, genPureDisabledButtonStyle(token)), genHoverActiveButtonStyle({
99687
99694
  color: token.colorError
99688
- }, genPureDisabledButtonStyle(token))));
99695
+ }, {
99696
+ color: token.colorError
99697
+ }))));
99689
99698
  };
99690
99699
 
99691
99700
  var genTypeButtonStyle = function genTypeButtonStyle(token) {
@@ -105956,17 +105965,17 @@ function BaseProList(props) {
105956
105965
  /* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
105957
105966
  ;// CONCATENATED MODULE: ./packages/components/src/version.ts
105958
105967
  var version_version = {
105959
- "@ant-design/pro-card": "2.0.0-experimental.22",
105960
- "@ant-design/pro-components": "2.2.0",
105961
- "@ant-design/pro-descriptions": "2.0.0-experimental.23",
105962
- "@ant-design/pro-field": "2.0.0-experimental.22",
105963
- "@ant-design/pro-form": "2.0.0-experimental.23",
105964
- "@ant-design/pro-layout": "7.0.0-experimental.34",
105965
- "@ant-design/pro-list": "2.0.0-experimental.24",
105968
+ "@ant-design/pro-card": "2.0.0-experimental.23",
105969
+ "@ant-design/pro-components": "2.2.1",
105970
+ "@ant-design/pro-descriptions": "2.0.0-experimental.24",
105971
+ "@ant-design/pro-field": "2.0.0-experimental.23",
105972
+ "@ant-design/pro-form": "2.0.0-experimental.24",
105973
+ "@ant-design/pro-layout": "7.0.0-experimental.35",
105974
+ "@ant-design/pro-list": "2.0.0-experimental.25",
105966
105975
  "@ant-design/pro-provider": "2.0.0-experimental.14",
105967
105976
  "@ant-design/pro-skeleton": "2.0.0-experimental.9",
105968
- "@ant-design/pro-table": "3.0.0-experimental.24",
105969
- "@ant-design/pro-utils": "2.0.0-experimental.21"
105977
+ "@ant-design/pro-table": "3.0.0-experimental.25",
105978
+ "@ant-design/pro-utils": "2.0.0-experimental.22"
105970
105979
  };
105971
105980
  ;// CONCATENATED MODULE: ./packages/components/src/index.tsx
105972
105981