shineout 3.9.8 → 3.9.9-beta.2

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.8'
525
+ version: '3.9.9-beta.2'
526
526
  };
package/dist/shineout.js CHANGED
@@ -7299,7 +7299,7 @@ var config = {
7299
7299
  InfoLine: icons.InfoCircleFill,
7300
7300
  WarningLine: icons.WarningCircleFill,
7301
7301
  SuccessLine: icons.CheckCircleFill,
7302
- DangerLine: icons.Close
7302
+ DangerLine: icons.CloseFill
7303
7303
  },
7304
7304
  rate: {
7305
7305
  Star: icons.StarFill
@@ -12402,7 +12402,7 @@ var handleStyle = function handleStyle(style) {
12402
12402
  };
12403
12403
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12404
12404
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12405
- /* harmony default export */ var version = ('3.9.8');
12405
+ /* harmony default export */ var version = ('3.9.9-beta.2');
12406
12406
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12407
12407
 
12408
12408
 
@@ -13828,7 +13828,7 @@ var datePickerTokens = {
13828
13828
  datePickerCellHeaderColor: 'Neutral-text-4',
13829
13829
  datePickerCellMarginY: 'Spacing-4',
13830
13830
  datePickerTimePanelPaddingX: 'Spacing-12',
13831
- datePickerTimePanelPaddingY: 'Spacing-7',
13831
+ datePickerTimePanelPaddingY: 'Spacing-6',
13832
13832
  datePickerTimeListGap: 'Spacing-8',
13833
13833
  datePickerTimeItemHeight: 'Size-15',
13834
13834
  datePickerTimeItemBorderRadius: 'Radius-default',
@@ -14121,7 +14121,7 @@ var inputTokens = {
14121
14121
  inputBackgroundColor: 'Neutral-fill-1',
14122
14122
  inputClearColor: 'Neutral-text-3',
14123
14123
  inputToggleColor: 'Neutral-text-4',
14124
- inputHoverBorderColor: 'Brand-6',
14124
+ inputHoverBorderColor: 'Brand-5',
14125
14125
  inputHoverBackgroundColor: 'Neutral-fill-1',
14126
14126
  inputHoverClearColor: 'Neutral-text-4',
14127
14127
  inputHoverToggleColor: 'Neutral-text-5',
@@ -14576,6 +14576,8 @@ var selectTokens = {
14576
14576
  selectLargeOptionInnerPaddingY: 'Spacing-8',
14577
14577
  selectLargeClearIconSize: 'Font-16',
14578
14578
  selectLargePlaceholderMarginY: 'Spacing-4',
14579
+ selectLargeColumnPadding: 'Spacing-12',
14580
+ selectLargeHeaderPaddingX: 'Spacing-12',
14579
14581
  selectInnerPaddingX: 'Spacing-8',
14580
14582
  selectInnerPaddingY: 'Spacing-5',
14581
14583
  selectInnerTitleMarginY: 'Spacing-2',
@@ -14690,6 +14692,7 @@ var sliderTokens = {
14690
14692
  sliderIndicatorBackgroundColor: 'Neutral-fill-1',
14691
14693
  sliderIndicatorBorderColor: 'Brand-6',
14692
14694
  sliderIndicatorBorderSize: 'Border-2',
14695
+ sliderIndicatorHoverBoderColor: 'Brand-5',
14693
14696
  sliderIndicatorActiveBackgroundColor: 'Brand-6',
14694
14697
  sliderIndicatorActiveShadow: 'Shadow-1',
14695
14698
  sliderIndicatorDisabledBorderColor: 'Brand-3',
@@ -14736,6 +14739,7 @@ var spinTokens = {
14736
14739
 
14737
14740
  var stepsTokens = {
14738
14741
  stepsDescriptionFontColor: 'Neutral-text-3',
14742
+ stepsDescriptionFontSize: 'Font-14',
14739
14743
  stepsDescriptionTitleMarginX: 'Spacing-4',
14740
14744
  stepsIconWidth: 'Size-14',
14741
14745
  stepsIconHeight: 'Size-14',
@@ -14750,7 +14754,7 @@ var stepsTokens = {
14750
14754
  stepsSmallTitleFontSize: 'Font-14',
14751
14755
  stepsSmallDescriptionFontSize: 'Font-12',
14752
14756
  stepsLargeTitleFontSize: 'Font-18',
14753
- stepsLargeDescriptionFontSize: 'Font-12',
14757
+ stepsLargeDescriptionFontSize: 'Font-14',
14754
14758
  stepsWaitFontColor: 'Neutral-text-4',
14755
14759
  stepsWaitBackgroundColor: 'Neutral-fill-2',
14756
14760
  stepsWaitHoverFontColor: 'Brand-6',
@@ -15371,12 +15375,14 @@ var textareaTokens = {
15371
15375
  textareaSmallFontSize: 'Font-12',
15372
15376
  textareaSmallPaddingX: 'Spacing-8',
15373
15377
  textareaSmallPaddingY: 'Spacing-1',
15378
+ textareaSmallClearSize: 'Font-12',
15374
15379
  textareaLargeFontSize: 'Font-16',
15375
15380
  textareaLargePaddingX: 'Spacing-12',
15376
15381
  textareaLargePaddingY: 'Spacing-7',
15382
+ textareaLargeClearSize: 'Font-16',
15377
15383
  textareaPlaceholderColor: 'Neutral-text-2',
15378
15384
  textareaBackgroundColor: 'Neutral-fill-1',
15379
- textareaHoverBorderColor: 'Brand-6',
15385
+ textareaHoverBorderColor: 'Brand-5',
15380
15386
  textareaFocusBorderColor: 'Brand-7',
15381
15387
  textareaFocusShadow: 'Brand-2',
15382
15388
  textareaDisabledFontColor: 'Neutral-text-2',
@@ -17379,6 +17385,7 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
17379
17385
  ;// CONCATENATED MODULE: ../shineout-style/src/input/input-border.ts
17380
17386
 
17381
17387
 
17388
+
17382
17389
  var supportsHas = function supportsHas() {
17383
17390
  if (typeof CSS === 'undefined' || typeof CSS.supports === 'undefined') {
17384
17391
  return false;
@@ -17512,13 +17519,13 @@ var supportsHas = function supportsHas() {
17512
17519
  // '[data-soui-role="input-group-separate"]&': {
17513
17520
  // boxShadow: 'none',
17514
17521
  // }
17515
- })), "".concat(name, "Disabled"), defineProperty_default()(defineProperty_default()({
17522
+ })), "".concat(name, "Disabled"), defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()({
17516
17523
  color: token.disabledFontColor,
17517
17524
  backgroundColor: token.disabledBackgroundColor,
17518
17525
  borderColor: token.disabledBorderColor,
17519
17526
  boxShadow: 'none',
17520
17527
  cursor: 'not-allowed'
17521
- }, "&:not($".concat(name, "Error):hover"), {
17528
+ }, getTokenName('inputInnerPlaceFontColor'), token.disabledFontColor), getTokenName('inputInnerFontColor'), token.disabledFontColor), "&:not($".concat(name, "Error):hover"), {
17522
17529
  borderColor: token.disabledBorderColor
17523
17530
  }), '& *', {
17524
17531
  cursor: 'not-allowed'
@@ -18373,6 +18380,10 @@ var collapseItemStyle = {
18373
18380
  }
18374
18381
  }
18375
18382
  },
18383
+ iconRight: {
18384
+ marginRight: 0,
18385
+ marginLeft: src.collapseHeaderGap
18386
+ },
18376
18387
  title: {
18377
18388
  flex: 1,
18378
18389
  lineHeight: src.lineHeightDynamic
@@ -20994,6 +21005,9 @@ var input_input = objectSpread2_default()(objectSpread2_default()(objectSpread2_
20994
21005
  height: src.inputIconSize,
20995
21006
  color: src.inputToggleColor,
20996
21007
  cursor: 'pointer',
21008
+ '$wrapperDisabled &': {
21009
+ color: src.inputDisabledFontColor
21010
+ },
20997
21011
  '$wrapperSmall &': {
20998
21012
  width: src.inputSmallIconSize,
20999
21013
  height: src.inputSmallIconSize
@@ -22389,9 +22403,17 @@ var modalStyle = objectSpread2_default()(objectSpread2_default()({
22389
22403
  top: 12,
22390
22404
  right: 12,
22391
22405
  marginTop: 0,
22406
+ '[dir="rtl"] &': {
22407
+ right: 'auto',
22408
+ left: 12
22409
+ },
22392
22410
  '$wrapperDrawer &': {
22393
22411
  top: 4,
22394
- right: 4
22412
+ right: 4,
22413
+ '[dir="rtl"] &': {
22414
+ right: 'auto',
22415
+ left: 4
22416
+ }
22395
22417
  }
22396
22418
  },
22397
22419
  body: {
@@ -23344,6 +23366,11 @@ var popoverStyle = objectSpread2_default()(objectSpread2_default()({}, tooltipAn
23344
23366
  animation: '$fadeIn 200ms ease, $moveRightBottom 200ms cubic-bezier(0.22, 0.61, 0.36, 1);'
23345
23367
  }
23346
23368
  },
23369
+ wrapperNoAnimation: {
23370
+ '&[data-soui-position]': {
23371
+ animation: 'none'
23372
+ }
23373
+ },
23347
23374
  arrow: {},
23348
23375
  hideArrow: {},
23349
23376
  content: {
@@ -24478,6 +24505,10 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
24478
24505
  marginRight: 0,
24479
24506
  marginLeft: 4,
24480
24507
  width: 'auto'
24508
+ },
24509
+ '$pickerLarge &': {
24510
+ paddingLeft: src.selectLargeHeaderPaddingX,
24511
+ paddingRight: src.selectLargeHeaderPaddingX
24481
24512
  }
24482
24513
  },
24483
24514
  footer: {},
@@ -24501,6 +24532,10 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
24501
24532
  height: '100%',
24502
24533
  display: 'flex',
24503
24534
  alignItems: 'center',
24535
+ '$pickerLarge &': {
24536
+ paddingLeft: src.selectLargeColumnPadding,
24537
+ paddingRight: src.selectLargeColumnPadding
24538
+ },
24504
24539
  '& $columnsCheckbox': {
24505
24540
  marginRight: 0
24506
24541
  },
@@ -24716,6 +24751,12 @@ var sliderStyle = {
24716
24751
  indicator: {
24717
24752
  position: 'absolute',
24718
24753
  zIndex: 100,
24754
+ '&:hover::after': {
24755
+ borderColor: src.sliderIndicatorHoverBoderColor
24756
+ },
24757
+ '&:active::after': {
24758
+ borderColor: src.sliderIndicatorBorderColor
24759
+ },
24719
24760
  '&::after': {
24720
24761
  content: '""',
24721
24762
  display: 'block',
@@ -25557,7 +25598,8 @@ var spinStyle = objectSpread2_default()(objectSpread2_default()({
25557
25598
  chasingRing: chasing_ring,
25558
25599
  fade: {},
25559
25600
  spin: {
25560
- margin: 'auto'
25601
+ margin: 'auto',
25602
+ flexShrink: 0
25561
25603
  },
25562
25604
  content: {
25563
25605
  margin: 'auto',
@@ -25739,6 +25781,9 @@ var stepsStyle = {
25739
25781
  '& $title': {
25740
25782
  fontSize: src.stepsSmallTitleFontSize
25741
25783
  },
25784
+ '& $content $description': {
25785
+ fontSize: src.stepsSmallDescriptionFontSize
25786
+ },
25742
25787
  '&$default $iconWrapper': {
25743
25788
  fontSize: src.stepsSmallTitleFontSize,
25744
25789
  lineHeight: src.stepsSmallIconHeight,
@@ -25882,6 +25927,9 @@ var stepsStyle = {
25882
25927
  '& $title': {
25883
25928
  fontSize: src.stepsLargeTitleFontSize
25884
25929
  },
25930
+ '& $content $description': {
25931
+ fontSize: src.stepsLargeDescriptionFontSize
25932
+ },
25885
25933
  '&$default $iconWrapper': {
25886
25934
  fontSize: src.stepsLargeTitleFontSize,
25887
25935
  width: "calc(".concat(src.stepsLargeIconFontSize, " + 14px)"),
@@ -26482,7 +26530,7 @@ var stepsStyle = {
26482
26530
  lineHeight: src.stepsIconHeight
26483
26531
  },
26484
26532
  '& $description': {
26485
- fontSize: src.stepsSmallDescriptionFontSize
26533
+ fontSize: src.stepsDescriptionFontSize
26486
26534
  },
26487
26535
  '& $icon svg': {
26488
26536
  padding: 6,
@@ -28517,7 +28565,7 @@ var textarea_wrapper = textarea_inputBorder.wrapper,
28517
28565
  var textarea_input = objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({
28518
28566
  rootClass: {}
28519
28567
  }, textarea_inputBorder), {}, {
28520
- wrapper: objectSpread2_default()({
28568
+ wrapper: objectSpread2_default()(objectSpread2_default()({
28521
28569
  display: 'inline-flex',
28522
28570
  flexDirection: 'column',
28523
28571
  width: '100%',
@@ -28525,7 +28573,14 @@ var textarea_input = objectSpread2_default()(objectSpread2_default()(objectSprea
28525
28573
  position: 'relative',
28526
28574
  flexWrap: 'wrap',
28527
28575
  minHeight: "calc(".concat(src.lineHeightDynamic, " + ").concat(src.inputPaddingY, " * 2)")
28528
- }, textarea_wrapper)
28576
+ }, textarea_wrapper), {}, {
28577
+ '$wrapperSmall&': {
28578
+ minHeight: "calc(".concat(src.lineHeightDynamic, " + ").concat(src.inputSmallPaddingY, " * 2)")
28579
+ },
28580
+ '$wrapperLarge&': {
28581
+ minHeight: "calc(".concat(src.lineHeightDynamic, " + ").concat(src.inputLargePaddingY, " * 2)")
28582
+ }
28583
+ })
28529
28584
  }, textarea_resetWrapper), {}, {
28530
28585
  textarea: {
28531
28586
  padding: 0,
@@ -28597,13 +28652,27 @@ var textarea_input = objectSpread2_default()(objectSpread2_default()(objectSprea
28597
28652
  cursor: 'pointer',
28598
28653
  padding: 4,
28599
28654
  color: src.textareaClearColor,
28655
+ '$wrapperSmall &': {
28656
+ top: src.textareaSmallPaddingY
28657
+ },
28658
+ '$wrapperLarge &': {
28659
+ top: src.textareaLargePaddingY
28660
+ },
28600
28661
  '&:hover': {
28601
28662
  color: src.textareaClearHoverColor
28602
28663
  },
28603
28664
  '& > svg': {
28604
28665
  display: 'block',
28605
28666
  width: src.textareaClearSize,
28606
- height: src.textareaClearSize
28667
+ height: src.textareaClearSize,
28668
+ '$wrapperSmall &': {
28669
+ width: src.textareaSmallClearSize,
28670
+ height: src.textareaSmallClearSize
28671
+ },
28672
+ '$wrapperLarge &': {
28673
+ width: src.textareaLargeClearSize,
28674
+ height: src.textareaLargeClearSize
28675
+ }
28607
28676
  },
28608
28677
  '[dir="rtl"] &': {
28609
28678
  right: 'auto',
@@ -28612,7 +28681,13 @@ var textarea_input = objectSpread2_default()(objectSpread2_default()(objectSprea
28612
28681
  },
28613
28682
  wrapperWithClear: {
28614
28683
  '&& $textarea': {
28615
- paddingRight: "calc(".concat(src.textareaPaddingX, " * 4)")
28684
+ paddingRight: "calc(".concat(src.textareaPaddingX, " + ").concat(src.textareaClearSize, " + 12px)")
28685
+ },
28686
+ '&&$wrapperSmall > $textarea': {
28687
+ paddingRight: "calc(".concat(src.textareaSmallPaddingX, " + ").concat(src.textareaSmallClearSize, " + 12px)")
28688
+ },
28689
+ '&&$wrapperLarge > $textarea': {
28690
+ paddingRight: "calc(".concat(src.textareaLargePaddingX, " + ").concat(src.textareaLargeClearSize, " + 12px)")
28616
28691
  }
28617
28692
  }
28618
28693
  });
@@ -28693,7 +28768,7 @@ var TransferStyle = {
28693
28768
  '& $target': {
28694
28769
  borderRadius: "0 ".concat(src.transferBorderRadius, " ").concat(src.transferBorderRadius, " 0"),
28695
28770
  '& $header': {
28696
- paddingRight: 6,
28771
+ paddingRight: 8,
28697
28772
  borderRadius: "0 ".concat(src.transferBorderRadius, " 0 0")
28698
28773
  }
28699
28774
  }
@@ -28710,7 +28785,7 @@ var TransferStyle = {
28710
28785
  target: {},
28711
28786
  simpleTarget: {
28712
28787
  display: 'flex',
28713
- padding: '5px 3px',
28788
+ padding: '5px 4px',
28714
28789
  paddingLeft: 8,
28715
28790
  fontSize: src.transferFontSize,
28716
28791
  justifyContent: 'space-between',
@@ -28727,7 +28802,7 @@ var TransferStyle = {
28727
28802
  display: 'flex',
28728
28803
  alignItems: 'center',
28729
28804
  justifyContent: 'center',
28730
- marginLeft: 3,
28805
+ marginLeft: 4,
28731
28806
  '& svg': {
28732
28807
  width: src.transferFontSize,
28733
28808
  color: src.transferRemoveIconColor
@@ -33186,6 +33261,12 @@ var _process;
33186
33261
 
33187
33262
 
33188
33263
 
33264
+ /**
33265
+ * @en Global configuration for Popover component
33266
+ * @cn Popover组件的全局配置
33267
+ * @version 3.9.9
33268
+ */
33269
+
33189
33270
  /**
33190
33271
  * @en Global configuration for Empty component
33191
33272
  * @cn Empty组件的全局配置
@@ -33200,6 +33281,7 @@ var defaultConfig = {
33200
33281
  trim: undefined,
33201
33282
  spin: 'ring',
33202
33283
  tooltip: undefined,
33284
+ popover: {},
33203
33285
  empty: {},
33204
33286
  direction: 'ltr',
33205
33287
  popupContainer: null
@@ -33429,7 +33511,7 @@ var emptyEvent = function emptyEvent(e) {
33429
33511
  return e.stopPropagation();
33430
33512
  };
33431
33513
  var Popover = function Popover(props) {
33432
- var _jssStyle$popover;
33514
+ var _ref, _props$animation, _config$popover, _jssStyle$popover;
33433
33515
  var children = props.children,
33434
33516
  jssStyle = props.jssStyle,
33435
33517
  className = props.className,
@@ -33452,6 +33534,9 @@ var Popover = function Popover(props) {
33452
33534
  }),
33453
33535
  context = _React$useRef.current;
33454
33536
  var config = useConfig();
33537
+
33538
+ // Use global config animation if props.animation is not explicitly set
33539
+ var animation = (_ref = (_props$animation = props.animation) !== null && _props$animation !== void 0 ? _props$animation : (_config$popover = config.popover) === null || _config$popover === void 0 ? void 0 : _config$popover.animation) !== null && _ref !== void 0 ? _ref : true;
33455
33540
  var popoverStyle = jssStyle === null || jssStyle === void 0 || (_jssStyle$popover = jssStyle.popover) === null || _jssStyle$popover === void 0 ? void 0 : _jssStyle$popover.call(jssStyle);
33456
33541
  var render = useRender();
33457
33542
  var onVisibleChange = usePersistFn(function (v) {
@@ -33607,7 +33692,7 @@ var Popover = function Popover(props) {
33607
33692
  updateKey: updateKey,
33608
33693
  setSizingStyle: props.boundary ? setContentStyle : undefined,
33609
33694
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({
33610
- className: classnames_default()(className, popoverStyle === null || popoverStyle === void 0 ? void 0 : popoverStyle.rootClass, popoverStyle === null || popoverStyle === void 0 ? void 0 : popoverStyle.wrapper, open && (popoverStyle === null || popoverStyle === void 0 ? void 0 : popoverStyle.wrapperOpen), !showArrow && (popoverStyle === null || popoverStyle === void 0 ? void 0 : popoverStyle.hideArrow)),
33695
+ className: classnames_default()(className, popoverStyle === null || popoverStyle === void 0 ? void 0 : popoverStyle.rootClass, popoverStyle === null || popoverStyle === void 0 ? void 0 : popoverStyle.wrapper, open && (popoverStyle === null || popoverStyle === void 0 ? void 0 : popoverStyle.wrapperOpen), !showArrow && (popoverStyle === null || popoverStyle === void 0 ? void 0 : popoverStyle.hideArrow), animation === false && (popoverStyle === null || popoverStyle === void 0 ? void 0 : popoverStyle.wrapperNoAnimation)),
33611
33696
  style: containerStyle
33612
33697
  }, getDataAttribute({
33613
33698
  position: props.adjust ? positionState : position,
@@ -45871,8 +45956,9 @@ var CollapseItem = function CollapseItem(props) {
45871
45956
  getHeaderIconProps = _useCollapseItem.getHeaderIconProps,
45872
45957
  getTitleProps = _useCollapseItem.getTitleProps,
45873
45958
  getExtraProps = _useCollapseItem.getExtraProps;
45874
- var headerIconItem = function headerIconItem() {
45875
- var collapseItemIconClassName = classnames_default()(jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.collapseItem.icon, jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.collapseItem.activeTransform // expandIconPosition === 'right'
45959
+ var headerIconItem = function headerIconItem(direction) {
45960
+ var collapseItemIconClassName = classnames_default()(jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.collapseItem.icon, jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.collapseItem.activeTransform, direction === 'right' && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.collapseItem.iconRight)
45961
+ // expandIconPosition === 'right'
45876
45962
  // ? jssStyle?.collapseItem.activeTransformRight
45877
45963
  // : jssStyle?.collapseItem.activeTransform,
45878
45964
  );
@@ -45921,11 +46007,11 @@ var CollapseItem = function CollapseItem(props) {
45921
46007
  children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({}, getItemContentProps({
45922
46008
  className: collapseItemHeaderClassName
45923
46009
  })), {}, {
45924
- children: [expandIconPosition === 'left' && headerIconItem(), extraPosition === 'left' && extraItem(), /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({}, getTitleProps({
46010
+ children: [expandIconPosition === 'left' && headerIconItem('left'), extraPosition === 'left' && extraItem(), /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({}, getTitleProps({
45925
46011
  className: classnames_default()(jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.collapseItem.title, triggerRegion === 'header' && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.collapseItem.region))
45926
46012
  })), {}, {
45927
46013
  children: title
45928
- })), extraPosition === 'right' && extraItem(), expandIconPosition === 'right' && headerIconItem()]
46014
+ })), extraPosition === 'right' && extraItem(), expandIconPosition === 'right' && headerIconItem('right')]
45929
46015
  })), renderContent()]
45930
46016
  });
45931
46017
  };
@@ -50513,6 +50599,7 @@ function _ReactUnmount() {
50513
50599
 
50514
50600
 
50515
50601
 
50602
+
50516
50603
  var hasMask = false;
50517
50604
  var modal_content_config = {
50518
50605
  instanceIds: [],
@@ -50586,6 +50673,7 @@ var Modal = function Modal(props) {
50586
50673
  top = _props$top === void 0 ? '10vh' : _props$top,
50587
50674
  _props$style = props.style,
50588
50675
  style = _props$style === void 0 ? {} : _props$style;
50676
+ var globalConfig = useConfig();
50589
50677
  var width = style.width || props.width || defaultWidth;
50590
50678
  var height = style.height || props.height;
50591
50679
  var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(''),
@@ -50941,6 +51029,7 @@ var Modal = function Modal(props) {
50941
51029
  zIndex: props.zIndex,
50942
51030
  display: !visible && !animation ? 'none' : undefined
50943
51031
  },
51032
+ dir: globalConfig.direction,
50944
51033
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({
50945
51034
  className: modalClasses === null || modalClasses === void 0 ? void 0 : modalClasses.mask
50946
51035
  }, events), {}, {
@@ -56877,6 +56966,9 @@ var list_List = function List(props) {
56877
56966
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
56878
56967
  className: styles.optionGroupTitle,
56879
56968
  title: typeof title === 'string' ? title : undefined,
56969
+ style: {
56970
+ height: 'var(--group-title-height)'
56971
+ },
56880
56972
  children: title
56881
56973
  });
56882
56974
  };
@@ -56911,6 +57003,9 @@ var list_List = function List(props) {
56911
57003
  }, []);
56912
57004
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
56913
57005
  className: rootClass,
57006
+ style: {
57007
+ '--group-title-height': "".concat(lineHeight - 2, "px")
57008
+ },
56914
57009
  children: renderList()
56915
57010
  });
56916
57011
  };
@@ -58712,6 +58807,9 @@ var ColumnsList = function ColumnsList(props) {
58712
58807
  return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
58713
58808
  className: styles.optionGroupTitle,
58714
58809
  title: typeof title === 'string' ? title : undefined,
58810
+ style: {
58811
+ height: 'var(--group-title-height)'
58812
+ },
58715
58813
  children: title
58716
58814
  }, key);
58717
58815
  }
@@ -75231,7 +75329,7 @@ var upload_interface = __webpack_require__(8821);
75231
75329
 
75232
75330
 
75233
75331
  /* harmony default export */ var src_0 = ({
75234
- version: '3.9.8'
75332
+ version: '3.9.9-beta.2'
75235
75333
  });
75236
75334
  }();
75237
75335
  /******/ return __webpack_exports__;