shineout 3.10.4-beta.2 → 3.10.4-beta.4

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/dist/shineout.js CHANGED
@@ -6421,6 +6421,7 @@ __webpack_require__.d(__webpack_exports__, {
6421
6421
  Cascader: function() { return /* reexport */ src_cascader_0; },
6422
6422
  Checkbox: function() { return /* reexport */ src_checkbox_0; },
6423
6423
  Collapse: function() { return /* reexport */ src_collapse_0; },
6424
+ DarkTokens: function() { return /* reexport */ dark; },
6424
6425
  DatePicker: function() { return /* reexport */ src_date_picker_0; },
6425
6426
  Descriptions: function() { return /* reexport */ src_descriptions_0; },
6426
6427
  Divider: function() { return /* reexport */ src_divider_0; },
@@ -13738,7 +13739,7 @@ var handleStyle = function handleStyle(style) {
13738
13739
  };
13739
13740
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
13740
13741
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
13741
- /* harmony default export */ var version = ('3.10.4-beta.2');
13742
+ /* harmony default export */ var version = ('3.10.4-beta.4');
13742
13743
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
13743
13744
 
13744
13745
 
@@ -15501,10 +15502,12 @@ var inputTokens = {
15501
15502
  inputIconSize: 'Font-14',
15502
15503
  inputIconColor: 'Neutral-text-4',
15503
15504
  inputSmallFontSize: 'Font-12',
15505
+ inputSmallBorderRadius: 'Radius-default',
15504
15506
  inputSmallPaddingX: 'Spacing-8',
15505
15507
  inputSmallPaddingY: 'Spacing-1',
15506
15508
  inputSmallIconSize: 'Font-12',
15507
15509
  inputLargeFontSize: 'Font-16',
15510
+ inputLargeBorderRadius: 'Radius-default',
15508
15511
  inputLargePaddingX: 'Spacing-12',
15509
15512
  inputLargePaddingY: 'Spacing-7',
15510
15513
  inputLargeIconSize: 'Font-16',
@@ -16340,6 +16343,7 @@ var tabsTokens = {
16340
16343
  tabsTabPaddingY: 'Spacing-9',
16341
16344
  tabsTabFontSize: 'Font-14',
16342
16345
  tabsTabBorderRadius: 'Radius-default',
16346
+ tabsTabInnerBorderRadius: 'Radius-default',
16343
16347
  tabsNearlyMargin: 'Spacing-4',
16344
16348
  tabsLinePaddingX: 'Spacing-8',
16345
16349
  tabsLinePaddingTop: 'Spacing-6',
@@ -17175,6 +17179,7 @@ var uploadTokens = {
17175
17179
 
17176
17180
 
17177
17181
 
17182
+
17178
17183
 
17179
17184
 
17180
17185
  var src_Tokens = objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, token_token), src_alert), src_avatar), src_badge), src_breadcrumb), src_button), src_card), src_card_group), src_carousel), src_cascader), src_checkbox), src_collapse), src_common), src_date_picker), src_descriptions), src_divider), src_dropdown), src_editable_area), src_empty), src_form), src_icon), src_image), src_input), src_link), src_list), src_menu), src_message), src_modal), src_pagination), src_popover), src_progress), src_radio), src_rate), src_select), src_skeleton), src_slider), src_spin), src_steps), src_sticky), src_switch), src_table), src_tabs), src_tag), src_textarea), src_tooltip), src_transfer), src_tree), src_tree_select), src_upload);
@@ -17912,6 +17917,8 @@ var ButtonStyle = {
17912
17917
  fontWeight: src.buttonSmallFontWeight,
17913
17918
  fontSize: src.buttonSmallFontSize,
17914
17919
  padding: "".concat(src.buttonSmallPaddingY, " ").concat(src.buttonSmallPaddingX),
17920
+ // 未单独设置 small 圆角时回退到 buttonBorderRadius,兼容只改过 buttonBorderRadius 的老用户
17921
+ borderRadius: "var(".concat(getTokenName('buttonSmallBorderRadius'), ", ").concat(src.buttonBorderRadius, ")"),
17915
17922
  '&$circle,&$square': {
17916
17923
  width: src.buttonSmallCircleSize,
17917
17924
  height: src.buttonSmallCircleSize
@@ -17922,6 +17929,7 @@ var ButtonStyle = {
17922
17929
  fontWeight: src.buttonLargeFontWeight,
17923
17930
  fontSize: src.buttonLargeFontSize,
17924
17931
  padding: "".concat(src.buttonLargePaddingY, " ").concat(src.buttonLargePaddingX),
17932
+ borderRadius: "var(".concat(getTokenName('buttonLargeBorderRadius'), ", ").concat(src.buttonBorderRadius, ")"),
17925
17933
  '&$circle,&$square': {
17926
17934
  width: src.buttonLargeCircleSize,
17927
17935
  height: src.buttonLargeCircleSize
@@ -18901,9 +18909,55 @@ var supportsHas = function supportsHas() {
18901
18909
  }
18902
18910
  return CSS.supports('selector(:has(*))');
18903
18911
  };
18912
+
18913
+ /**
18914
+ * small / large 尺寸的圆角取值。
18915
+ *
18916
+ * 兼容老用户:inputSmallBorderRadius / inputLargeBorderRadius 是后加的 token,
18917
+ * 老用户的主题里只配置过 inputBorderRadius。这里必须回退到 inputBorderRadius,
18918
+ * 让 small、large 在用户没有单独配置时仍然跟随它,外观和以前保持一致。
18919
+ *
18920
+ * 不能直接用 token.inputSmallBorderRadius:它自带的默认值是 radius-default,
18921
+ * 会直接跳过用户配置的 inputBorderRadius。
18922
+ * setToken 默认只输出公共 token,不包含组件 token,所以用户没配置时下面的变量是未定义的,回退才会生效。
18923
+ * 注意:如果用户(或主题编辑器)显式把整套组件 token 传给 setToken,这两个变量会被定义为 token 的默认值,
18924
+ * 回退就不再生效。要覆盖这种情况,需要 theme 包里这两个 token 的默认值本身跟随 inputBorderRadius(尚未实现)。
18925
+ */
18926
+ var getSizeBorderRadius = function getSizeBorderRadius(borderRadius) {
18927
+ return {
18928
+ small: "var(".concat(getTokenName('inputSmallBorderRadius'), ", ").concat(borderRadius, ")"),
18929
+ large: "var(".concat(getTokenName('inputLargeBorderRadius'), ", ").concat(borderRadius, ")")
18930
+ };
18931
+ };
18904
18932
  /* harmony default export */ var input_border = (function (name) {
18905
18933
  var _ref2;
18906
18934
  var token = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
18935
+ var radius = getSizeBorderRadius(token.borderRadius);
18936
+
18937
+ // 输入组(separate)里首尾元素的圆角。
18938
+ // 选择器的 & 数量刻意多于基础规则(基础是 &&&,rtl 还多一个属性选择器),保证不依赖样式表顺序也能覆盖基础圆角。
18939
+ var sizeGroupRadius = function sizeGroupRadius(r) {
18940
+ return {
18941
+ '[data-soui-role="input-group-separate"] &&&&&, [data-soui-role="input-group-separate"] &&&&&:hover': {
18942
+ '&:first-child': {
18943
+ borderTopLeftRadius: r,
18944
+ borderBottomLeftRadius: r
18945
+ },
18946
+ '&:last-child': {
18947
+ borderTopRightRadius: r,
18948
+ borderBottomRightRadius: r
18949
+ }
18950
+ },
18951
+ '[dir=rtl][data-soui-role="input-group-separate"] &&&&&, [dir=rtl][data-soui-role="input-group-separate"] &&&&&:hover': {
18952
+ '&:first-child': {
18953
+ borderRadius: "0 ".concat(r, " ").concat(r, " 0")
18954
+ },
18955
+ '&:last-child': {
18956
+ borderRadius: "".concat(r, " 0 0 ").concat(r)
18957
+ }
18958
+ }
18959
+ };
18960
+ };
18907
18961
  return _ref2 = {}, defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()(_ref2, name, objectSpread2_default()({
18908
18962
  boxSizing: 'border-box',
18909
18963
  borderRadius: token.borderRadius,
@@ -18962,9 +19016,13 @@ var supportsHas = function supportsHas() {
18962
19016
  borderColor: token.errorBorderColor,
18963
19017
  background: token.errorBackgroundColor,
18964
19018
  boxShadow: "0 0 0 2px ".concat(token.errorFocusShadow)
18965
- }) : {})), "".concat(name, "PaddingBox"), defineProperty_default()(defineProperty_default()(defineProperty_default()({
19019
+ }) : {})), "".concat(name, "PaddingBox"), defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()({
18966
19020
  borderRadius: token.borderRadius
18967
- }, "$".concat(name, ":not($").concat(name, "InnerTitle) &"), {
19021
+ }, "$".concat(name, "Small &"), {
19022
+ borderRadius: radius.small
19023
+ }), "$".concat(name, "Large &"), {
19024
+ borderRadius: radius.large
19025
+ }), "$".concat(name, ":not($").concat(name, "InnerTitle) &"), {
18968
19026
  padding: "".concat(token.paddingY, " ").concat(token.paddingX)
18969
19027
  }), "$".concat(name, "Small:not($").concat(name, "InnerTitle) &"), {
18970
19028
  padding: "".concat(token.smallPaddingY, " ").concat(token.smallPaddingX)
@@ -18994,11 +19052,19 @@ var supportsHas = function supportsHas() {
18994
19052
  paddingBottom: token.largeInnerTitlePaddingY,
18995
19053
  paddingLeft: token.largeInnerTitlePaddingX,
18996
19054
  paddingRight: token.largeInnerTitlePaddingX
18997
- })), "".concat(name, "Small"), {
18998
- fontSize: token.smallFontSize
18999
- }), "".concat(name, "Large"), {
19000
- fontSize: token.largeFontSize
19001
- }), "".concat(name, "Focus"), {
19055
+ })), "".concat(name, "Small"), objectSpread2_default()({
19056
+ fontSize: token.smallFontSize,
19057
+ // && 让它的优先级高于基础圆角,不依赖样式表顺序。
19058
+ // 同优先级的 Underline 定义在后面,仍会把圆角置 0;输入组里的 borderRadius: 0 选择器更具体,同样会覆盖它。
19059
+ '&&': {
19060
+ borderRadius: radius.small
19061
+ }
19062
+ }, sizeGroupRadius(radius.small))), "".concat(name, "Large"), objectSpread2_default()({
19063
+ fontSize: token.largeFontSize,
19064
+ '&&': {
19065
+ borderRadius: radius.large
19066
+ }
19067
+ }, sizeGroupRadius(radius.large))), "".concat(name, "Focus"), {
19002
19068
  borderColor: token.focusBorderColor,
19003
19069
  boxShadow: "0 0 0 2px ".concat(token.focusShadow),
19004
19070
  background: token.focusBackgroundColor,
@@ -22335,7 +22401,11 @@ var group = groupBorder.group,
22335
22401
  groupSmall = groupBorder.groupSmall,
22336
22402
  groupLarge = groupBorder.groupLarge,
22337
22403
  resetGroup = objectWithoutProperties_default()(groupBorder, ["group", "groupSmall", "groupLarge"]);
22404
+
22405
+ // 兼容老用户:small / large 的圆角在用户没有单独配置时回退到 inputBorderRadius,详见 getSizeBorderRadius
22406
+ var sizeRadius = getSizeBorderRadius(src.inputBorderRadius);
22338
22407
  var groupSpace = function groupSpace(gap) {
22408
+ var radius = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : src.inputBorderRadius;
22339
22409
  return {
22340
22410
  '& > i:first-child, & > span:first-child': {
22341
22411
  paddingLeft: gap
@@ -22372,22 +22442,22 @@ var groupSpace = function groupSpace(gap) {
22372
22442
  },
22373
22443
  '&[dir=ltr] > b': {
22374
22444
  '&:first-child': {
22375
- borderTopLeftRadius: src.inputBorderRadius,
22376
- borderBottomLeftRadius: src.inputBorderRadius
22445
+ borderTopLeftRadius: radius,
22446
+ borderBottomLeftRadius: radius
22377
22447
  },
22378
22448
  '&:last-child': {
22379
- borderTopRightRadius: src.inputBorderRadius,
22380
- borderBottomRightRadius: src.inputBorderRadius
22449
+ borderTopRightRadius: radius,
22450
+ borderBottomRightRadius: radius
22381
22451
  }
22382
22452
  },
22383
22453
  '&[dir=rtl] > b': {
22384
22454
  '&:first-child': {
22385
- borderTopRightRadius: src.inputBorderRadius,
22386
- borderBottomRightRadius: src.inputBorderRadius
22455
+ borderTopRightRadius: radius,
22456
+ borderBottomRightRadius: radius
22387
22457
  },
22388
22458
  '&:last-child': {
22389
- borderTopLeftRadius: src.inputBorderRadius,
22390
- borderBottomLeftRadius: src.inputBorderRadius
22459
+ borderTopLeftRadius: radius,
22460
+ borderBottomLeftRadius: radius
22391
22461
  }
22392
22462
  }
22393
22463
  };
@@ -22518,8 +22588,8 @@ var input_input = objectSpread2_default()(objectSpread2_default()(objectSpread2_
22518
22588
  'margin-left': '-1px'
22519
22589
  }
22520
22590
  },
22521
- groupSmall: objectSpread2_default()(objectSpread2_default()({}, groupSmall), groupSpace(src.inputSmallPaddingX)),
22522
- groupLarge: objectSpread2_default()(objectSpread2_default()({}, groupLarge), groupSpace(src.inputLargePaddingX))
22591
+ groupSmall: objectSpread2_default()(objectSpread2_default()({}, groupSmall), groupSpace(src.inputSmallPaddingX, sizeRadius.small)),
22592
+ groupLarge: objectSpread2_default()(objectSpread2_default()({}, groupLarge), groupSpace(src.inputLargePaddingX, sizeRadius.large))
22523
22593
  }, resetGroup), {}, {
22524
22594
  numberStep: {
22525
22595
  display: 'flex',
@@ -29111,6 +29181,13 @@ var useTableStyle = styled(table_table, 'table');
29111
29181
 
29112
29182
 
29113
29183
 
29184
+ // 兼容老用户:tabsTabInnerBorderRadius 是后加的 token,老用户的主题里只配置过 tabsTabBorderRadius,
29185
+ // 而 lineInner / fillInner 原来使用的就是 tabsTabBorderRadius。
29186
+ // 所以未单独配置内部圆角时必须回退到 tabsTabBorderRadius,外观才和以前一致。
29187
+ // 不能直接用 Token.tabsTabInnerBorderRadius:它自带默认值,会跳过用户配置的 tabsTabBorderRadius。
29188
+ // setToken 默认只输出公共 token,不包含组件 token,所以用户没配置时下面的变量未定义,回退才会生效。
29189
+ // 如果用户把整套组件 token 显式传给 setToken,变量会带上默认值,回退不再生效(与按钮、输入框的处理一致)。
29190
+ var tabInnerBorderRadius = "var(".concat(getTokenName('tabsTabInnerBorderRadius'), ", ").concat(src.tabsTabBorderRadius, ")");
29114
29191
  var active = function active(options) {
29115
29192
  return {
29116
29193
  '& [data-soui-state="active"]$tab': {
@@ -29808,13 +29885,11 @@ var tabsStyle = {
29808
29885
  button: {},
29809
29886
  line: {},
29810
29887
  lineInner: {
29811
- // transition: 'all .2s',
29812
- borderRadius: src.tabsTabBorderRadius,
29888
+ borderRadius: tabInnerBorderRadius,
29813
29889
  padding: "".concat(src.tabsLineInnerPaddingY, " ").concat(src.tabsLineInnerPaddingX)
29814
29890
  },
29815
29891
  fillInner: {
29816
- // transition: 'all .2s',
29817
- borderRadius: src.tabsTabBorderRadius,
29892
+ borderRadius: tabInnerBorderRadius,
29818
29893
  padding: "".concat(src.tabsFillInnerPaddingY, " ").concat(src.tabsFillInnerPaddingX)
29819
29894
  },
29820
29895
  iconInner: {
@@ -78184,6 +78259,417 @@ var useToken = function useToken(props) {
78184
78259
  };
78185
78260
  };
78186
78261
  /* harmony default export */ var use_token = (useToken);
78262
+ ;// CONCATENATED MODULE: ../theme/src/token/dark.ts
78263
+
78264
+ // 暗色主题下覆盖的全局 token
78265
+ var DarkCommonToken = {
78266
+ 'Brand-1': '#283546',
78267
+ 'Brand-2': '#2A4366',
78268
+ 'Brand-10': '#D9F0FF',
78269
+ 'Brand-3': '#2B5285',
78270
+ 'Brand-4': '#2D61A5',
78271
+ 'Brand-5': '#3079DA',
78272
+ 'Brand-6': '#3288FA',
78273
+ 'Brand-7': '#58A9FC',
78274
+ 'Brand-8': '#8BC8FD',
78275
+ 'Brand-9': '#B2DCFE',
78276
+ 'Neutral-text-5': '#FFFFFFE6',
78277
+ 'Neutral-text-4': '#FFFFFFBF',
78278
+ 'Neutral-text-3': '#FFFFFF99',
78279
+ 'Neutral-text-2': '#FFFFFF4D',
78280
+ 'Neutral-border-2': '#555555',
78281
+ 'Neutral-border-1': '#333333',
78282
+ 'Neutral-fill-4': '#515151',
78283
+ 'Neutral-fill-3': '#3B3B3B',
78284
+ 'Neutral-fill-2': '#303030',
78285
+ 'Neutral-fill-1': '#262626',
78286
+ 'Danger-1': '#412B2B',
78287
+ 'Danger-10': '#FFECE8',
78288
+ 'Danger-2': '#542E2E',
78289
+ 'Danger-3': '#6F3233',
78290
+ 'Danger-4': '#C33136',
78291
+ 'Danger-5': '#B83E40',
78292
+ 'Danger-6': '#DC4446',
78293
+ 'Danger-7': '#E36461',
78294
+ 'Danger-8': '#F7ADA6',
78295
+ 'Danger-9': '#FBCDC7',
78296
+ 'Success-1': '#20392E',
78297
+ 'Success-2': '#1D4534',
78298
+ 'Success-10': '#EBFFF3',
78299
+ 'Success-3': '#17583C',
78300
+ 'Success-4': '#11915E',
78301
+ 'Success-5': '#088A51',
78302
+ 'Success-6': '#00A35C',
78303
+ 'Success-7': '#21B570',
78304
+ 'Success-8': '#7BDCA9',
78305
+ 'Success-9': '#B0EECB',
78306
+ 'Warning-1': '#433128',
78307
+ 'Warning-10': '#FFF5E8',
78308
+ 'Warning-2': '#573929',
78309
+ 'Warning-3': '#74442B',
78310
+ 'Warning-4': '#CB5C16',
78311
+ 'Warning-5': '#C16330',
78312
+ 'Warning-6': '#E87233',
78313
+ 'Warning-7': '#ED8F55',
78314
+ 'Warning-8': '#FBC58A',
78315
+ 'Warning-9': '#FDDFB9',
78316
+ 'Shadow-2': '0px 4px 10px 0px rgba(2, 11, 24, 0.10)',
78317
+ 'Shadow-3': '0px 8px 20px 0px rgba(2, 11, 24, 0.10)',
78318
+ 'Shadow-4': '0px -2px 10px 0px rgba(2, 11, 24, 0.08)',
78319
+ 'Neutral-fill-9': '#E4E4E4',
78320
+ 'Neutral-fill-10': '#FFFFFF',
78321
+ 'Neutral-fill-6': '#A4A4A4',
78322
+ 'Neutral-fill-8': '#CCCCCC',
78323
+ 'Mask-fill-1': '#00000080',
78324
+ 'Neutral-fill-11': '#2A2A2A',
78325
+ 'Neutral-fill-5': '#757575',
78326
+ 'Neutral-text-1': '#FFFFFFE6',
78327
+ 'Cyan-1': '#233A3A',
78328
+ 'Cyan-10': '#B3EEE6',
78329
+ 'Cyan-2': '#224747',
78330
+ 'Cyan-3': '#1F5A5A',
78331
+ 'Cyan-4': '#1C7574',
78332
+ 'Cyan-5': '#188F8E',
78333
+ 'Cyan-6': '#15A9A8',
78334
+ 'Cyan-7': '#34BAB6',
78335
+ 'Cyan-8': '#59CBC4',
78336
+ 'Cyan-9': '#83DDD4',
78337
+ 'Indigo-1': '#2D2E44',
78338
+ 'Indigo-10': '#CAD1FC',
78339
+ 'Indigo-2': '#323358',
78340
+ 'Indigo-3': '#393A77',
78341
+ 'Indigo-4': '#43449F',
78342
+ 'Indigo-5': '#4D4EC7',
78343
+ 'Indigo-6': '#5658F0',
78344
+ 'Indigo-7': '#7278F3',
78345
+ 'Indigo-8': '#8E97F6',
78346
+ 'Indigo-9': '#ACB5F9',
78347
+ 'Lemon-1': '#433B24',
78348
+ 'Lemon-10': '#FAF4BB',
78349
+ 'Lemon-2': '#564A22',
78350
+ 'Lemon-3': '#725F20',
78351
+ 'Lemon-4': '#997C1D',
78352
+ 'Lemon-5': '#BF981A',
78353
+ 'Lemon-6': '#E5B517',
78354
+ 'Lemon-7': '#EAC83D',
78355
+ 'Lemon-8': '#EFD866',
78356
+ 'Lemon-9': '#F5E78F',
78357
+ 'Magenta-1': '#412A36',
78358
+ 'Magenta-10': '#F7C3D8',
78359
+ 'Magenta-2': '#532D41',
78360
+ 'Magenta-3': '#6D3152',
78361
+ 'Magenta-4': '#913767',
78362
+ 'Magenta-5': '#B43C7D',
78363
+ 'Magenta-7': '#E05FA0',
78364
+ 'Magenta-8': '#E87FB0',
78365
+ 'Magenta-9': '#EFA0C2',
78366
+ 'Neon-1': '#353C23',
78367
+ 'Neon-10': '#E8F1B4',
78368
+ 'Neon-2': '#3F4B21',
78369
+ 'Neon-3': '#4E621D',
78370
+ 'Neon-4': '#637F19',
78371
+ 'Neon-5': '#779D14',
78372
+ 'Neon-6': '#8BBB10',
78373
+ 'Neon-7': '#A3C932',
78374
+ 'Neon-8': '#BBD659',
78375
+ 'Neon-9': '#D2E484',
78376
+ 'Orange-1': '#433523',
78377
+ 'Orange-10': '#FAE6BA',
78378
+ 'Orange-2': '#573E21',
78379
+ 'Orange-3': '#744D1D',
78380
+ 'Orange-4': '#9A6019',
78381
+ 'Orange-5': '#C17414',
78382
+ 'Orange-6': '#E88710',
78383
+ 'Orange-7': '#EDA138',
78384
+ 'Orange-8': '#F1BA62',
78385
+ 'Orange-9': '#F6D18D',
78386
+ 'Brown-1': '#393229',
78387
+ 'Brown-10': '#EDDFBE',
78388
+ 'Brown-2': '#463B2C',
78389
+ 'Brown-3': '#59472F',
78390
+ 'Brown-4': '#735834',
78391
+ 'Brown-5': '#8C6839',
78392
+ 'Brown-6': '#A6793D',
78393
+ 'Brown-7': '#B89157',
78394
+ 'Brown-8': '#CAAB76',
78395
+ 'Brown-9': '#DBC598',
78396
+ 'Purple-1': '#342B3F',
78397
+ 'Purple-10': '#E0C3F5',
78398
+ 'Purple-2': '#3D2E50',
78399
+ 'Purple-3': '#4B3368',
78400
+ 'Purple-4': '#5D398A',
78401
+ 'Purple-5': '#6F3FAB',
78402
+ 'Purple-6': '#8245CC',
78403
+ 'Purple-7': '#9A61D6',
78404
+ 'Purple-8': '#B17FE0',
78405
+ 'Purple-9': '#C9A0EB',
78406
+ 'Tangerine-1': '#402E29',
78407
+ 'Tangerine-10': '#F7D3C2',
78408
+ 'Tangerine-2': '#52332C',
78409
+ 'Tangerine-3': '#6C3B2F',
78410
+ 'Tangerine-4': '#904633',
78411
+ 'Tangerine-5': '#B35038',
78412
+ 'Tangerine-6': '#D65B3C',
78413
+ 'Tangerine-7': '#DE795A',
78414
+ 'Tangerine-8': '#E6977B',
78415
+ 'Tangerine-9': '#EFB69D',
78416
+ 'Background-layout': '#1B1B1B',
78417
+ 'Neutral-fill-7': '#B5B5B5',
78418
+ 'Background-popup': '#303030'
78419
+ };
78420
+
78421
+ // 暗色主题下额外调整的组件 token,值为引用的全局 token key
78422
+ var DarkComponentToken = {
78423
+ buttonPrimaryDisabledFontColor: 'Neutral-text-2',
78424
+ buttonSecondaryFontColor: 'Neutral-text-1',
78425
+ buttonWarningDisabledFontColor: 'Neutral-text-2',
78426
+ inputFontColor: 'Neutral-text-5',
78427
+ selectFontColor: 'Neutral-text-1',
78428
+ selectBorderWidth: 'Border-2',
78429
+ selectPlaceholderColor: 'Neutral-text-2',
78430
+ selectBackgroundColor: 'Neutral-fill-2',
78431
+ buttonSuccessDisabledFontColor: 'Neutral-text-2',
78432
+ buttonDangerDisabledFontColor: 'Neutral-text-2',
78433
+ buttonSecondaryActiveBackgroundColor: 'Neutral-fill-4',
78434
+ buttonSecondaryActiveBorderColor: 'Neutral-fill-4',
78435
+ popoverBackgroundColor: 'Neutral-fill-2',
78436
+ popoverSuccessBackgroundColor: 'Success-1',
78437
+ popoverInfoBackgroundColor: 'Brand-1',
78438
+ tableTbodyHoverBackgroundColor: 'Neutral-fill-3',
78439
+ cardBackgroundColor: 'Neutral-fill-1',
78440
+ cascaderOptionBackgroundColor: 'Neutral-fill-2',
78441
+ tooltipBackgroundColor: 'Neutral-fill-3',
78442
+ tooltipLightColor: 'Neutral-fill-2',
78443
+ tooltipLightBackgroundColor: 'Neutral-fill-9',
78444
+ tooltipPrimaryBackgroundColor: 'Brand-1',
78445
+ tooltipSuccessColor: 'Success-6',
78446
+ treeLineBackgroundColor: 'Neutral-border-2',
78447
+ treeContentActiveBackgroundColor: 'Brand-1',
78448
+ datePickerCellHoverBackgroundColor: 'Neutral-fill-3',
78449
+ tagInfoBackgroundColor: 'Brand-1',
78450
+ alertInfoBackgroundColor: 'Brand-1',
78451
+ messageBackgroundColor: 'Neutral-fill-2',
78452
+ progressCircleInfoFontColor: 'Neutral-text-5',
78453
+ dropdownListBackgroundColor: 'Neutral-fill-2',
78454
+ menuItemActiveBackgroundColor: 'Brand-1',
78455
+ dividerFontColor: 'Neutral-text-2',
78456
+ cascaderPanelBackgroundColor: 'Neutral-fill-2',
78457
+ cascaderOptionDisabledBackgroundColor: 'Neutral-fill-2',
78458
+ cascaderOptionHoverBackgroundColor: 'Neutral-fill-3',
78459
+ datePickerPanelBackgroundColor: 'Neutral-fill-2',
78460
+ dropdownOptionHoverBackgroundColor: 'Neutral-fill-3',
78461
+ treeSelectPanelBackgroundColor: 'Neutral-fill-2',
78462
+ treeSelectContentHoverBackgroundColor: 'Neutral-fill-3',
78463
+ modalPanelBackground: 'Neutral-fill-11',
78464
+ dropdownOptionDisabledBackgroundColor: 'Neutral-fill-2',
78465
+ messageBorderColor: 'Transparent',
78466
+ modalPanelBorder: 'Transparent',
78467
+ popoverBorderColor: 'Transparent',
78468
+ dropdownOptionBackgroundColor: 'Neutral-fill-2',
78469
+ selectPanelBackgroundColor: 'Neutral-fill-2',
78470
+ selectOptionBackgroundColor: 'Neutral-fill-2',
78471
+ selectOptionHoverBackgroundColor: 'Neutral-fill-3',
78472
+ selectOptionDisabledBackgroundColor: 'Neutral-fill-2',
78473
+ switchCheckedCircleFill: 'Neutral-text-1',
78474
+ switchCheckedDisabledCircleFill: 'Neutral-text-2',
78475
+ switchCheckedDisabledFontColor: 'Neutral-text-2',
78476
+ descriptionsLabelColor: 'Neutral-text-3',
78477
+ menuDarkItemBackgroundColor: 'Neutral-fill-1',
78478
+ menuDarkItemHoverBackgroundColor: 'Neutral-fill-2',
78479
+ menuDarkItemActiveBackgroundColor: 'Brand-4',
78480
+ menuDarkItemDisabledBackgroundColor: 'Neutral-fill-1',
78481
+ rateFrontBackgroundColor: 'Lemon-6',
78482
+ alertInfoBorderColor: 'Brand-2',
78483
+ listStripedBackgroundColor: 'Neutral-fill-11',
78484
+ menuItemActiveFontColor: 'Brand-6',
78485
+ tabsFillCheckedBackgroundColor: 'Neutral-fill-3',
78486
+ buttonPrimaryOutlineDisabledFontColor: 'Brand-3',
78487
+ buttonPrimaryOutlineDisabledBorderColor: 'Brand-3',
78488
+ buttonWarningOutlineDisabledFontColor: 'Warning-3',
78489
+ buttonSecondaryOutlineDisabledBorderColor: 'Neutral-border-2',
78490
+ cascaderOptionActiveBackgroundColor: 'Brand-2',
78491
+ tagInfoFillDisabledFontColor: 'Neutral-text-2',
78492
+ tagSuccessFillDisabledFontColor: 'Neutral-text-2',
78493
+ tagWarningFillDisabledFontColor: 'Neutral-text-2',
78494
+ tagDangerFillDisabledFontColor: 'Neutral-text-2',
78495
+ tooltipWarningColor: 'Warning-6',
78496
+ tooltipDangerColor: 'Danger-6',
78497
+ checkboxIconDisabledBackgroundColor: 'Neutral-fill-3',
78498
+ checkboxIconBackgroundColor: 'Transparent',
78499
+ checkboxIconDisabledBorderColor: 'Neutral-border-2',
78500
+ radioIconBackgroundColor: 'Transparent',
78501
+ radioIconDisabledBackgroundColor: 'Neutral-fill-3',
78502
+ radioIconDisabledColor: 'Neutral-border-2',
78503
+ datePickerTimeItemActiveBackgroundColor: 'Brand-2',
78504
+ selectOptionActiveBackgroundColor: 'Brand-2',
78505
+ dropdownOptionSelectBackgroundColor: 'Brand-2',
78506
+ treeSelectContentActiveBackgroundColor: 'Brand-2',
78507
+ treeSelectContentDisabledHoverBackgroundColor: 'Neutral-fill-3',
78508
+ sliderValueHoverBackgroundColor: 'Neutral-fill-3',
78509
+ checkboxIconCheckedColor: 'Neutral-text-1',
78510
+ checkboxIconCheckedDisabledColor: 'Neutral-text-2',
78511
+ switchDisabledCircleCheckedFill: 'Neutral-text-2',
78512
+ tagTangerineFontColor: 'Tangerine-6',
78513
+ tagTangerineBackgroundColor: 'Tangerine-1',
78514
+ tagTangerineBorderColor: 'Tangerine-1',
78515
+ tagTangerineOutlineFontColor: 'Tangerine-6',
78516
+ tagTangerineOutlineBorderColor: 'Tangerine-3',
78517
+ tagTangerineFillBackgroundColor: 'Tangerine-6',
78518
+ tagTangerineFillBorderColor: 'Tangerine-6',
78519
+ tagPurpleFontColor: 'Purple-6',
78520
+ tagPurpleBackgroundColor: 'Purple-1',
78521
+ tagPurpleBorderColor: 'Purple-1',
78522
+ tagPurpleOutlineFontColor: 'Purple-6',
78523
+ tagPurpleOutlineBorderColor: 'Purple-3',
78524
+ tagPurpleFillBackgroundColor: 'Purple-6',
78525
+ tagPurpleFillBorderColor: 'Purple-6',
78526
+ tagMagentaFontColor: 'Magenta-6',
78527
+ tagMagentaBackgroundColor: 'Magenta-1',
78528
+ tagMagentaBorderColor: 'Magenta-1',
78529
+ tagMagentaOutlineFontColor: 'Magenta-6',
78530
+ tagMagentaOutlineBorderColor: 'Magenta-3',
78531
+ tagMagentaFillBackgroundColor: 'Magenta-6',
78532
+ tagMagentaFillBorderColor: 'Magenta-6',
78533
+ tagBrownFontColor: 'Brown-6',
78534
+ tagBrownBackgroundColor: 'Brown-1',
78535
+ tagBrownBorderColor: 'Brown-1',
78536
+ tagBrownOutlineFontColor: 'Brown-6',
78537
+ tagBrownOutlineBorderColor: 'Brown-3',
78538
+ tagBrownFillBackgroundColor: 'Brown-6',
78539
+ tagBrownFillBorderColor: 'Brown-6',
78540
+ tagIndigoFontColor: 'Indigo-6',
78541
+ tagIndigoBackgroundColor: 'Indigo-1',
78542
+ tagIndigoBorderColor: 'Indigo-1',
78543
+ tagIndigoOutlineFontColor: 'Indigo-6',
78544
+ tagIndigoOutlineBorderColor: 'Indigo-3',
78545
+ tagIndigoFillBackgroundColor: 'Indigo-6',
78546
+ tagIndigoFillBorderColor: 'Indigo-6',
78547
+ tagCyanFontColor: 'Cyan-6',
78548
+ tagCyanBackgroundColor: 'Cyan-1',
78549
+ tagCyanBorderColor: 'Cyan-1',
78550
+ tagCyanOutlineFontColor: 'Cyan-6',
78551
+ tagCyanOutlineBorderColor: 'Cyan-3',
78552
+ tagCyanFillBackgroundColor: 'Cyan-6',
78553
+ tagCyanFillBorderColor: 'Cyan-6',
78554
+ tagNeonFontColor: 'Neon-5',
78555
+ tagNeonBackgroundColor: 'Neon-1',
78556
+ tagNeonBorderColor: 'Neon-1',
78557
+ tagNeonOutlineFontColor: 'Neon-6',
78558
+ tagNeonOutlineBorderColor: 'Neon-3',
78559
+ tagNeonFillBackgroundColor: 'Neon-6',
78560
+ tagNeonFillBorderColor: 'Neon-6',
78561
+ tagLemonFontColor: 'Lemon-6',
78562
+ tagLemonBackgroundColor: 'Lemon-1',
78563
+ tagLemonBorderColor: 'Lemon-1',
78564
+ tagLemonOutlineFontColor: 'Lemon-6',
78565
+ tagLemonOutlineBorderColor: 'Lemon-3',
78566
+ tagLemonFillBackgroundColor: 'Lemon-6',
78567
+ tagLemonFillBorderColor: 'Lemon-6',
78568
+ tagOrangeFontColor: 'Orange-6',
78569
+ tagOrangeBackgroundColor: 'Orange-1',
78570
+ tagOrangeBorderColor: 'Orange-1',
78571
+ tagOrangeOutlineFontColor: 'Orange-6',
78572
+ tagOrangeOutlineBorderColor: 'Orange-3',
78573
+ tagOrangeFillBackgroundColor: 'Orange-6',
78574
+ tagOrangeFillBorderColor: 'Orange-6',
78575
+ tagTangerineDisabledFontColor: 'Tangerine-3',
78576
+ tagTangerineDisabledBackgroundColor: 'Tangerine-1',
78577
+ tagTangerineDisabledBorderColor: 'Tangerine-1',
78578
+ tagTangerineOutlineDisabledFontColor: 'Tangerine-3',
78579
+ tagTangerineOutlineDisabledBorderColor: 'Tangerine-2',
78580
+ tagTangerineFillDisabledBackgroundColor: 'Tangerine-3',
78581
+ tagTangerineFillDisabledBorderColor: 'Tangerine-3',
78582
+ tagPurpleDisabledFontColor: 'Purple-4',
78583
+ tagPurpleDisabledBackgroundColor: 'Purple-1',
78584
+ tagPurpleDisabledBorderColor: 'Purple-1',
78585
+ tagPurpleOutlineDisabledFontColor: 'Purple-3',
78586
+ tagPurpleOutlineDisabledBorderColor: 'Purple-2',
78587
+ tagPurpleFillDisabledBackgroundColor: 'Purple-3',
78588
+ tagPurpleFillDisabledBorderColor: 'Purple-3',
78589
+ tagBrownDisabledFontColor: 'Brown-3',
78590
+ tagBrownDisabledBackgroundColor: 'Brown-1',
78591
+ tagBrownDisabledBorderColor: 'Brown-1',
78592
+ tagBrownOutlineDisabledFontColor: 'Brown-3',
78593
+ tagBrownOutlineDisabledBorderColor: 'Brown-2',
78594
+ tagBrownFillDisabledBackgroundColor: 'Brown-3',
78595
+ tagBrownFillDisabledBorderColor: 'Brown-3',
78596
+ tagMagentaDisabledFontColor: 'Magenta-3',
78597
+ tagMagentaDisabledBackgroundColor: 'Magenta-1',
78598
+ tagMagentaDisabledBorderColor: 'Magenta-1',
78599
+ tagMagentaOutlineDisabledFontColor: 'Magenta-3',
78600
+ tagMagentaOutlineDisabledBorderColor: 'Magenta-2',
78601
+ tagMagentaFillDisabledBackgroundColor: 'Magenta-3',
78602
+ tagMagentaFillDisabledBorderColor: 'Magenta-3',
78603
+ tagIndigoDisabledFontColor: 'Indigo-3',
78604
+ tagIndigoDisabledBackgroundColor: 'Indigo-1',
78605
+ tagIndigoDisabledBorderColor: 'Indigo-1',
78606
+ tagIndigoOutlineDisabledFontColor: 'Indigo-3',
78607
+ tagIndigoOutlineDisabledBorderColor: 'Indigo-2',
78608
+ tagIndigoFillDisabledBackgroundColor: 'Indigo-3',
78609
+ tagIndigoFillDisabledBorderColor: 'Indigo-3',
78610
+ tagCyanDisabledFontColor: 'Cyan-3',
78611
+ tagCyanDisabledBackgroundColor: 'Cyan-1',
78612
+ tagCyanDisabledBorderColor: 'Cyan-1',
78613
+ tagCyanOutlineDisabledFontColor: 'Cyan-3',
78614
+ tagCyanOutlineDisabledBorderColor: 'Cyan-2',
78615
+ tagCyanFillDisabledBackgroundColor: 'Cyan-3',
78616
+ tagCyanFillDisabledBorderColor: 'Cyan-3',
78617
+ tagNeonDisabledFontColor: 'Neon-3',
78618
+ tagNeonDisabledBackgroundColor: 'Neon-1',
78619
+ tagNeonDisabledBorderColor: 'Neon-1',
78620
+ tagNeonOutlineDisabledFontColor: 'Neon-3',
78621
+ tagNeonOutlineDisabledBorderColor: 'Neon-2',
78622
+ tagNeonFillDisabledBackgroundColor: 'Neon-3',
78623
+ tagNeonFillDisabledBorderColor: 'Neon-3',
78624
+ tagLemonDisabledFontColor: 'Lemon-3',
78625
+ tagLemonDisabledBackgroundColor: 'Lemon-1',
78626
+ tagLemonDisabledBorderColor: 'Lemon-1',
78627
+ tagLemonOutlineDisabledFontColor: 'Lemon-3',
78628
+ tagLemonOutlineDisabledBorderColor: 'Lemon-2',
78629
+ tagLemonFillDisabledBackgroundColor: 'Lemon-3',
78630
+ tagLemonFillDisabledBorderColor: 'Lemon-3',
78631
+ tagOrangeDisabledFontColor: 'Orange-3',
78632
+ tagOrangeDisabledBackgroundColor: 'Orange-1',
78633
+ tagOrangeDisabledBorderColor: 'Orange-1',
78634
+ tagOrangeOutlineDisabledFontColor: 'Orange-3',
78635
+ tagOrangeOutlineDisabledBorderColor: 'Orange-2',
78636
+ tagOrangeFillDisabledBackgroundColor: 'Orange-3',
78637
+ tagOrangeFillDisabledBorderColor: 'Orange-3',
78638
+ tagMagentaFillDisabledFontColor: 'Neutral-text-2',
78639
+ tagBrownFillDisabledFontColor: 'Neutral-text-2',
78640
+ tagPurpleFillDisabledFontColor: 'Neutral-text-2',
78641
+ tagIndigoFillDisabledFontColor: 'Neutral-text-2',
78642
+ tagCyanFillDisabledFontColor: 'Neutral-text-2',
78643
+ tagNeonFillDisabledFontColor: 'Neutral-text-2',
78644
+ tagLemonFillDisabledFontColor: 'Neutral-text-2',
78645
+ tagOrangeFillDisabledFontColor: 'Neutral-text-2',
78646
+ tagTangerineFillDisabledFontColor: 'Neutral-text-2',
78647
+ tagInfoOutlineBorderColor: 'Brand-3',
78648
+ tagSuccessOutlineBorderColor: 'Success-3',
78649
+ tagWarningOutlineBorderColor: 'Warning-3',
78650
+ tagDangerOutlineBorderColor: 'Danger-3',
78651
+ tagInfoOutlineDisabledBorderColor: 'Brand-2',
78652
+ tagSuccessOutlineDisabledBorderColor: 'Success-2',
78653
+ tagWarningOutlineDisabledBorderColor: 'Warning-2',
78654
+ tagDangerOutlineDisabledBorderColor: 'Danger-2',
78655
+ treeSelectContentDisabledBackgroundColor: 'Neutral-fill-2',
78656
+ inputClearColor: 'Neutral-text-2',
78657
+ inputHoverClearColor: 'Neutral-text-3',
78658
+ menuDarkItemOpenBackgroundColor: 'Neutral-fill-1',
78659
+ menuSearchDarkBackgroundColor: 'Neutral-fill-2',
78660
+ menuSearchDarkHoverBackgroundColor: 'Neutral-fill-1',
78661
+ buttonSplitlineFullBackgroundColor: 'Neutral-text-2',
78662
+ carouselIndicatorBackgroundColor: 'Neutral-text-3',
78663
+ carouselIndicatorActiveBackgroundColor: 'Neutral-text-5',
78664
+ menuDarkHeaderBorderColor: 'Neutral-border-1',
78665
+ menuSearchDarkFocusBackgroundColor: 'Neutral-fill-1',
78666
+ menuSearchDarkFocusShadow: 'Brand-2'
78667
+ };
78668
+
78669
+ // 组件 token 的值保持为全局 token 名称,由 setToken 在调用时解析为当前 prefix 下的 css var 引用,
78670
+ // 这样 setConfig 修改 prefix、或在此基础上覆盖全局 token 时,组件 token 都能跟随
78671
+ var DarkToken = objectSpread2_default()(objectSpread2_default()({}, DarkCommonToken), DarkComponentToken);
78672
+ /* harmony default export */ var dark = (DarkToken);
78187
78673
  ;// CONCATENATED MODULE: ./src/utils/classname.ts
78188
78674
 
78189
78675
 
@@ -80487,7 +80973,7 @@ var watermark_interface = __webpack_require__(6640);
80487
80973
 
80488
80974
 
80489
80975
  /* harmony default export */ var src_0 = ({
80490
- version: '3.10.4-beta.2'
80976
+ version: '3.10.4-beta.4'
80491
80977
  });
80492
80978
  }();
80493
80979
  /******/ return __webpack_exports__;