shineout 3.9.2 → 3.9.3-beta.1
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 +1 -1
- package/dist/shineout.js +155 -81
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -5
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.
|
|
525
|
+
version: '3.9.3-beta.1'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -7447,7 +7447,7 @@ var devUseWarning = {
|
|
|
7447
7447
|
|
|
7448
7448
|
|
|
7449
7449
|
|
|
7450
|
-
var _excluded = ["jssStyle", "type", "className", "children", "icon", "title", "titleStyle", "iconSize", "closable", "hideClose", "bordered", "closeItem", "onClose"];
|
|
7450
|
+
var _excluded = ["jssStyle", "type", "className", "children", "icon", "iconClassName", "title", "titleStyle", "iconSize", "closable", "hideClose", "bordered", "closeItem", "onClose"];
|
|
7451
7451
|
|
|
7452
7452
|
|
|
7453
7453
|
|
|
@@ -7467,6 +7467,7 @@ var Alert = function Alert(props) {
|
|
|
7467
7467
|
className = props.className,
|
|
7468
7468
|
children = props.children,
|
|
7469
7469
|
icon = props.icon,
|
|
7470
|
+
iconClassName = props.iconClassName,
|
|
7470
7471
|
title = props.title,
|
|
7471
7472
|
titleStyle = props.titleStyle,
|
|
7472
7473
|
iconSize = props.iconSize,
|
|
@@ -7523,7 +7524,8 @@ var Alert = function Alert(props) {
|
|
|
7523
7524
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(alert_icon, {
|
|
7524
7525
|
jssStyle: props.jssStyle,
|
|
7525
7526
|
style: style,
|
|
7526
|
-
type: props.type
|
|
7527
|
+
type: props.type,
|
|
7528
|
+
className: iconClassName
|
|
7527
7529
|
});
|
|
7528
7530
|
}
|
|
7529
7531
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
@@ -7534,7 +7536,7 @@ var Alert = function Alert(props) {
|
|
|
7534
7536
|
};
|
|
7535
7537
|
var renderTitle = function renderTitle() {
|
|
7536
7538
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
7537
|
-
className: alertStyle.title,
|
|
7539
|
+
className: classnames_default()(alertStyle.title, props.titleClassName),
|
|
7538
7540
|
style: titleStyle,
|
|
7539
7541
|
children: title
|
|
7540
7542
|
});
|
|
@@ -12400,7 +12402,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12400
12402
|
};
|
|
12401
12403
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12402
12404
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12403
|
-
/* harmony default export */ var version = ('3.9.
|
|
12405
|
+
/* harmony default export */ var version = ('3.9.3-beta.1');
|
|
12404
12406
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12405
12407
|
|
|
12406
12408
|
|
|
@@ -12956,7 +12958,7 @@ var alertTokens = {
|
|
|
12956
12958
|
alertDangerBackgroundColor: 'Danger-1',
|
|
12957
12959
|
alertDangerBorderColor: 'Danger-2',
|
|
12958
12960
|
alertDangerFontColor: 'Danger-6',
|
|
12959
|
-
alertIconSize: '
|
|
12961
|
+
alertIconSize: 'Font-16',
|
|
12960
12962
|
alertFontSize: 'Font-14',
|
|
12961
12963
|
alertFontWeight: 'Weight-regular',
|
|
12962
12964
|
alertFontColor: 'Neutral-text-5',
|
|
@@ -12966,8 +12968,8 @@ var alertTokens = {
|
|
|
12966
12968
|
alertNearlyMargin: 'Spacing-8',
|
|
12967
12969
|
alertTitleFontSize: 'Font-16',
|
|
12968
12970
|
alertTitleFontWeight: 'Weight-medium',
|
|
12969
|
-
alertTitleMarginY: 'Spacing-
|
|
12970
|
-
alertTitleIconWidth: '
|
|
12971
|
+
alertTitleMarginY: 'Spacing-4',
|
|
12972
|
+
alertTitleIconWidth: 'Font-16',
|
|
12971
12973
|
alertTitleIconHeight: 'Size-12',
|
|
12972
12974
|
alertCloseFontColor: 'Neutral-text-4',
|
|
12973
12975
|
alertCloseHoverColor: 'Neutral-text-5',
|
|
@@ -13063,7 +13065,8 @@ var breadcrumbTokens = {
|
|
|
13063
13065
|
breadcrumbListItemHoverFontColor: 'Neutral-text-3',
|
|
13064
13066
|
breadcrumbPrevFontWeight: 'Weight-regular',
|
|
13065
13067
|
breadcrumbSeparatorMarginX: 'Spacing-8',
|
|
13066
|
-
breadcrumbIconBackgroundColor: 'Neutral-text-4'
|
|
13068
|
+
breadcrumbIconBackgroundColor: 'Neutral-text-4',
|
|
13069
|
+
breadcrumbDownIconSize: 'Font-14'
|
|
13067
13070
|
};
|
|
13068
13071
|
/* harmony default export */ var breadcrumb = (breadcrumbTokens);
|
|
13069
13072
|
;// CONCATENATED MODULE: ../theme/src/breadcrumb/index.ts
|
|
@@ -13536,7 +13539,7 @@ var cascaderTokens = {
|
|
|
13536
13539
|
cascaderBorderColor: 'Neutral-border-2',
|
|
13537
13540
|
cascaderPaddingX: 'Spacing-8',
|
|
13538
13541
|
cascaderPaddingY: 'Spacing-2',
|
|
13539
|
-
cascaderIconSize: '
|
|
13542
|
+
cascaderIconSize: 'Font-14',
|
|
13540
13543
|
cascaderIconColor: 'Neutral-text-4',
|
|
13541
13544
|
cascaderTagMarginY: 'Spacing-2',
|
|
13542
13545
|
cascaderTagMarginRight: 'Spacing-4',
|
|
@@ -13595,6 +13598,7 @@ var cascaderTokens = {
|
|
|
13595
13598
|
cascaderOptionInnerPaddingRight: 'Size-15',
|
|
13596
13599
|
cascaderOptionInnerBorderRadius: 'Radius-lesser',
|
|
13597
13600
|
cascaderOptionIconColor: 'Neutral-text-4',
|
|
13601
|
+
cascaderOptionIconSize: 'Font-14',
|
|
13598
13602
|
cascaderOptionHoverBackgroundColor: 'Neutral-fill-2',
|
|
13599
13603
|
cascaderOptionHoverFontColor: 'Neutral-text-5',
|
|
13600
13604
|
cascaderOptionFocusBackgroundColor: 'Neutral-fill-3',
|
|
@@ -13624,7 +13628,7 @@ var cascaderTokens = {
|
|
|
13624
13628
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
13625
13629
|
|
|
13626
13630
|
var checkboxTokens = {
|
|
13627
|
-
checkboxIconSize: '
|
|
13631
|
+
checkboxIconSize: 'Font-14',
|
|
13628
13632
|
checkboxIconBorderColor: 'Neutral-border-2',
|
|
13629
13633
|
checkboxIconBorderRadius: 'Radius-lesser',
|
|
13630
13634
|
checkboxIconBorderWidth: 'Border-1',
|
|
@@ -13650,9 +13654,9 @@ var checkboxTokens = {
|
|
|
13650
13654
|
checkboxLabelDisabledFontColor: 'Neutral-text-2',
|
|
13651
13655
|
checkboxGap: 'Spacing-24',
|
|
13652
13656
|
checkboxBlockGap: 'Spacing-12',
|
|
13653
|
-
checkboxSmallIconSize: '
|
|
13657
|
+
checkboxSmallIconSize: 'Font-12',
|
|
13654
13658
|
checkboxSmallLabelFontSize: 'Font-12',
|
|
13655
|
-
checkboxLargeIconSize: '
|
|
13659
|
+
checkboxLargeIconSize: 'Font-16',
|
|
13656
13660
|
checkboxLargeLabelFontSize: 'Font-16'
|
|
13657
13661
|
};
|
|
13658
13662
|
/* harmony default export */ var checkbox_checkbox = (checkboxTokens);
|
|
@@ -13728,13 +13732,15 @@ var datePickerTokens = {
|
|
|
13728
13732
|
datePickerBorderColor: 'Neutral-border-2',
|
|
13729
13733
|
datePickerPaddingX: 'Spacing-8',
|
|
13730
13734
|
datePickerPaddingY: 'Spacing-4',
|
|
13731
|
-
datePickerIconSize: '
|
|
13735
|
+
datePickerIconSize: 'Font-14',
|
|
13732
13736
|
datePickerIconColor: 'Neutral-text-4',
|
|
13737
|
+
datePickerSmallIconSize: 'Font-12',
|
|
13733
13738
|
datePickerSmallPanelFooterNowPaddingX: 'Spacing-16',
|
|
13734
13739
|
datePickerSmallPanelFooterNowPaddingY: 'Spacing-11',
|
|
13735
13740
|
datePickerSmallFontSize: 'Font-12',
|
|
13736
13741
|
datePickerSmallPaddingX: 'Spacing-8',
|
|
13737
13742
|
datePickerSmallPaddingY: 'Spacing-1',
|
|
13743
|
+
datePickerLargeIconSize: 'Font-16',
|
|
13738
13744
|
datePickerLargeFontSize: 'Font-16',
|
|
13739
13745
|
datePickerLargePaddingX: 'Spacing-12',
|
|
13740
13746
|
datePickerLargePaddingY: 'Spacing-7',
|
|
@@ -13772,7 +13778,7 @@ var datePickerTokens = {
|
|
|
13772
13778
|
datePickerPanelHeaderPaddingY: 'Spacing-8',
|
|
13773
13779
|
datePickerPanelHeaderBorderColor: 'Neutral-border-1',
|
|
13774
13780
|
datePickerPanelHeaderIconColor: 'Neutral-text-4',
|
|
13775
|
-
datePickerPanelHeaderIconWidth: '
|
|
13781
|
+
datePickerPanelHeaderIconWidth: 'Font-14',
|
|
13776
13782
|
datePickerPanelHeaderIconHotWidth: 'Size-13',
|
|
13777
13783
|
datePickerPanelHeaderIconHoverBackgroundColor: 'Neutral-fill-3',
|
|
13778
13784
|
datePickerPanelHeaderTitlePaddingX: 'Spacing-4',
|
|
@@ -13890,12 +13896,14 @@ var dividerTokens = {
|
|
|
13890
13896
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
13891
13897
|
|
|
13892
13898
|
var dropdownTokens = {
|
|
13893
|
-
dropdownCaretMarginLeft: 'Spacing-4',
|
|
13894
13899
|
dropdownListBorderRadius: 'Radius-default',
|
|
13900
|
+
dropdownListBorderColor: 'Neutral-border-1',
|
|
13901
|
+
dropdownListBorderWidth: 'Border-1',
|
|
13895
13902
|
dropdownListPaddingX: 'Spacing-4',
|
|
13896
13903
|
dropdownListPaddingY: 'Spacing-4',
|
|
13897
13904
|
dropdownListFontSize: 'Font-14',
|
|
13898
13905
|
dropdownListFontWeight: 'Weight-regular',
|
|
13906
|
+
dropdownListFontColor: 'Neutral-text-5',
|
|
13899
13907
|
dropdownListSmallBorderRadius: 'Radius-default',
|
|
13900
13908
|
dropdownListSmallPaddingX: 'Spacing-4',
|
|
13901
13909
|
dropdownListSmallPaddingY: 'Spacing-4',
|
|
@@ -13905,10 +13913,7 @@ var dropdownTokens = {
|
|
|
13905
13913
|
dropdownListLargePaddingY: 'Spacing-4',
|
|
13906
13914
|
dropdownListLargeFontSize: 'Font-16',
|
|
13907
13915
|
dropdownListBackgroundColor: 'Neutral-fill-1',
|
|
13908
|
-
dropdownListBorderColor: 'Neutral-border-1',
|
|
13909
|
-
dropdownListFontColor: 'Neutral-text-5',
|
|
13910
13916
|
dropdownListBoxShadow: 'Shadow-2',
|
|
13911
|
-
dropdownListBorderWidth: 'Border-1',
|
|
13912
13917
|
dropdownOptionPaddingX: 'Spacing-8',
|
|
13913
13918
|
dropdownOptionPaddingY: 'Spacing-5',
|
|
13914
13919
|
dropdownOptionSmallPaddingX: 'Spacing-8',
|
|
@@ -13917,6 +13922,7 @@ var dropdownTokens = {
|
|
|
13917
13922
|
dropdownOptionLargePaddingY: 'Spacing-8',
|
|
13918
13923
|
dropdownOptionBackgroundColor: 'Neutral-fill-1',
|
|
13919
13924
|
dropdownOptionFontColor: 'Neutral-text-5',
|
|
13925
|
+
dropdownOptionFontWeight: 'Weight-regular',
|
|
13920
13926
|
dropdownOptionHoverBackgroundColor: 'Neutral-fill-2',
|
|
13921
13927
|
dropdownOptionHoverFontColor: 'Neutral-text-5',
|
|
13922
13928
|
dropdownOptionActiveBackgroundColor: 'Neutral-fill-3',
|
|
@@ -13926,11 +13932,8 @@ var dropdownTokens = {
|
|
|
13926
13932
|
dropdownOptionDisabledBackgroundColor: 'Neutral-fill-1',
|
|
13927
13933
|
dropdownOptionDisabledFontColor: 'Neutral-text-2',
|
|
13928
13934
|
dropdownOptionBorderRadius: 'Radius-2',
|
|
13929
|
-
dropdownOptionFontWeight: 'Weight-regular',
|
|
13930
|
-
dropdownColumnPaddingX: 'Spacing-4',
|
|
13931
|
-
dropdownColumnPaddingY: 'Spacing-4',
|
|
13932
13935
|
dropdownOptionGroupPaddingX: 'Spacing-8',
|
|
13933
|
-
dropdownOptionGroupPaddingTop: '
|
|
13936
|
+
dropdownOptionGroupPaddingTop: 'Font-14',
|
|
13934
13937
|
dropdownOptionGroupPaddingBottom: 'Spacing-2',
|
|
13935
13938
|
dropdownOptionGroupFontSize: 'Font-12',
|
|
13936
13939
|
dropdownOptionGroupFontColor: 'Neutral-text-3',
|
|
@@ -13938,12 +13941,16 @@ var dropdownTokens = {
|
|
|
13938
13941
|
dropdownOptionGroupSmallX: 'Spacing-8',
|
|
13939
13942
|
dropdownOptionGroupSmallTop: 'Spacing-4',
|
|
13940
13943
|
dropdownOptionGroupLargeX: 'Spacing-12',
|
|
13941
|
-
dropdownOptionGroupLargeTop: '
|
|
13944
|
+
dropdownOptionGroupLargeTop: 'Font-16',
|
|
13942
13945
|
dropdownOptionGroupLargeBottom: 'Spacing-4',
|
|
13946
|
+
dropdownOptionGroupLargeFontSize: 'Font-14',
|
|
13943
13947
|
dropdownOptionDividerBackgroundColor: 'Neutral-border-1',
|
|
13944
13948
|
dropdownOptionDividerPaddingX: 'Spacing-8',
|
|
13945
13949
|
dropdownOptionDividerPaddingY: 'Spacing-2',
|
|
13946
|
-
dropdownOptionDividerHeight: 'Border-1'
|
|
13950
|
+
dropdownOptionDividerHeight: 'Border-1',
|
|
13951
|
+
dropdownColumnPaddingX: 'Spacing-4',
|
|
13952
|
+
dropdownColumnPaddingY: 'Spacing-4',
|
|
13953
|
+
dropdownCaretMarginLeft: 'Spacing-4'
|
|
13947
13954
|
};
|
|
13948
13955
|
/* harmony default export */ var dropdown = (dropdownTokens);
|
|
13949
13956
|
;// CONCATENATED MODULE: ../theme/src/dropdown/index.ts
|
|
@@ -14075,14 +14082,16 @@ var inputTokens = {
|
|
|
14075
14082
|
inputBorderWidth: 'Border-1',
|
|
14076
14083
|
inputPaddingX: 'Spacing-8',
|
|
14077
14084
|
inputPaddingY: 'Spacing-4',
|
|
14078
|
-
inputIconSize: '
|
|
14085
|
+
inputIconSize: 'Font-14',
|
|
14079
14086
|
inputIconColor: 'Neutral-text-4',
|
|
14080
14087
|
inputSmallFontSize: 'Font-12',
|
|
14081
14088
|
inputSmallPaddingX: 'Spacing-8',
|
|
14082
14089
|
inputSmallPaddingY: 'Spacing-1',
|
|
14090
|
+
inputSmallIconSize: 'Font-12',
|
|
14083
14091
|
inputLargeFontSize: 'Font-16',
|
|
14084
14092
|
inputLargePaddingX: 'Spacing-12',
|
|
14085
14093
|
inputLargePaddingY: 'Spacing-7',
|
|
14094
|
+
inputLargeIconSize: 'Font-16',
|
|
14086
14095
|
inputPlaceholderColor: 'Neutral-text-2',
|
|
14087
14096
|
inputPlaceholderFontWeight: 'Weight-regular',
|
|
14088
14097
|
inputBackgroundColor: 'Neutral-fill-1',
|
|
@@ -14141,9 +14150,9 @@ var inputTokens = {
|
|
|
14141
14150
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
14142
14151
|
|
|
14143
14152
|
var linkTokens = {
|
|
14144
|
-
linkDefaultFontSize: '
|
|
14145
|
-
linkSmallFontSize: '
|
|
14146
|
-
linkLargeFontSize: '
|
|
14153
|
+
linkDefaultFontSize: 'Font-14',
|
|
14154
|
+
linkSmallFontSize: 'Font-12',
|
|
14155
|
+
linkLargeFontSize: 'Font-16',
|
|
14147
14156
|
linkPrimaryFontColor: 'Brand-6',
|
|
14148
14157
|
linkPrimaryDisabledFontColor: 'Brand-3',
|
|
14149
14158
|
linkPrimaryHoverFontColor: 'Brand-5',
|
|
@@ -14227,7 +14236,7 @@ var menuTokens = {
|
|
|
14227
14236
|
menuTitlePaddingX: 'Spacing-16',
|
|
14228
14237
|
menuTitlePaddingY: 'Spacing-9',
|
|
14229
14238
|
menuExpandWidth: 'Spacing-46',
|
|
14230
|
-
menuExpandSize: '
|
|
14239
|
+
menuExpandSize: 'Font-14',
|
|
14231
14240
|
menuExpandHoverBackgroundColor: 'Neutral-fill-3',
|
|
14232
14241
|
menuChildrenBoxShadow: '0 2px 8px rgba(0, 0, 0, 0.15)',
|
|
14233
14242
|
menuHeaderBorderColor: 'Neutral-border-1',
|
|
@@ -14367,14 +14376,14 @@ var paginationTokens = {
|
|
|
14367
14376
|
var popoverTokens = {
|
|
14368
14377
|
popoverFontSize: 'Font-14',
|
|
14369
14378
|
popoverFontWeight: 'Weight-regular',
|
|
14379
|
+
popoverFontColor: 'Neutral-text-5',
|
|
14370
14380
|
popoverPaddingX: 'Spacing-8',
|
|
14371
14381
|
popoverPaddingY: 'Spacing-8',
|
|
14372
14382
|
popoverRadius: 'Radius-default',
|
|
14373
14383
|
popoverBorderWidth: 'Border-1',
|
|
14374
|
-
|
|
14384
|
+
popoverBorderColor: 'Neutral-border-1',
|
|
14375
14385
|
popoverBackgroundColor: 'Neutral-fill-1',
|
|
14376
14386
|
popoverShadow: 'Shadow-2',
|
|
14377
|
-
popoverBorderColor: 'Neutral-border-1',
|
|
14378
14387
|
popoverSuccessBackgroundColor: 'Success-1',
|
|
14379
14388
|
popoverSuccessBorderColor: 'Success-2',
|
|
14380
14389
|
popoverWarningBackgroundColor: 'Warning-1',
|
|
@@ -14389,7 +14398,8 @@ var popoverTokens = {
|
|
|
14389
14398
|
popoverConfirmPaddingX: 'Spacing-16',
|
|
14390
14399
|
popoverConfirmPaddingY: 'Spacing-16',
|
|
14391
14400
|
popoverConfirmMarginY: 'Spacing-16',
|
|
14392
|
-
popoverConfirmBackgroundColor: 'transparent'
|
|
14401
|
+
popoverConfirmBackgroundColor: 'transparent',
|
|
14402
|
+
popoverConfirmTitleFontSize: 'Font-14'
|
|
14393
14403
|
};
|
|
14394
14404
|
/* harmony default export */ var popover = (popoverTokens);
|
|
14395
14405
|
;// CONCATENATED MODULE: ../theme/src/popover/index.ts
|
|
@@ -14448,7 +14458,7 @@ var progressTokens = {
|
|
|
14448
14458
|
var radioTokens = {
|
|
14449
14459
|
radioGap: 'Spacing-24',
|
|
14450
14460
|
radioBlockGap: 'Spacing-12',
|
|
14451
|
-
radioIconWidth: '
|
|
14461
|
+
radioIconWidth: 'Font-14',
|
|
14452
14462
|
radioIconGap: 'Spacing-8',
|
|
14453
14463
|
radioIconBorderWidth: 'Border-2',
|
|
14454
14464
|
radioIconInnerSize: 'Size-3',
|
|
@@ -14465,12 +14475,12 @@ var radioTokens = {
|
|
|
14465
14475
|
radioIconWrapperFill: 'Neutral-fill-2',
|
|
14466
14476
|
radioIconWrapperDark: 'Neutral-fill-3',
|
|
14467
14477
|
radioPaddingY: 'Spacing-4',
|
|
14468
|
-
radioSmallIconWidth: '
|
|
14478
|
+
radioSmallIconWidth: 'Font-12',
|
|
14469
14479
|
radioSmallIconBorderWidth: 'Border-1',
|
|
14470
14480
|
radioSmallIconInnerSize: 'Size-3',
|
|
14471
14481
|
radioSmallLabelFontSize: 'Font-12',
|
|
14472
14482
|
radioSmallPaddingY: 'Spacing-1',
|
|
14473
|
-
radioLargeIconWidth: '
|
|
14483
|
+
radioLargeIconWidth: 'Font-16',
|
|
14474
14484
|
radioLargeIconBorderWidth: 'Border-2',
|
|
14475
14485
|
radioLargeLabelFontSize: 'Font-16',
|
|
14476
14486
|
radioLargePaddingY: 'Spacing-7',
|
|
@@ -14855,7 +14865,7 @@ var tableTokens = {
|
|
|
14855
14865
|
tableFilterFooterPaddingY: 'Spacing-8',
|
|
14856
14866
|
tableFilterFooterBorderColor: 'Neutral-border-1',
|
|
14857
14867
|
tableFilterInputMarginBottom: 'Spacing-8',
|
|
14858
|
-
tableFilterInputIconSize: '
|
|
14868
|
+
tableFilterInputIconSize: 'Font-14',
|
|
14859
14869
|
tableFilterInputIconColor: 'Neutral-text-4',
|
|
14860
14870
|
tableFilterInputIconMarginRight: 'Spacing-8',
|
|
14861
14871
|
tableFilterIconColor: 'Neutral-text-3',
|
|
@@ -14863,7 +14873,7 @@ var tableTokens = {
|
|
|
14863
14873
|
tableFilterIconHoverBackgroundColor: 'Neutral-fill-3',
|
|
14864
14874
|
tableFilterIconActiveColor: 'Brand-6',
|
|
14865
14875
|
tableFilterIconPadding: 'Spacing-4',
|
|
14866
|
-
tableFilterIconSize: '
|
|
14876
|
+
tableFilterIconSize: 'Font-14',
|
|
14867
14877
|
tableResizeColor: 'Brand-7',
|
|
14868
14878
|
tableSelectionBorderColor: 'Brand-6',
|
|
14869
14879
|
tablePaginationMarginY: 'Spacing-12'
|
|
@@ -14957,6 +14967,7 @@ var tabsTokens = {
|
|
|
14957
14967
|
tabsActionHorizontalPaddingY: 'Spacing-8',
|
|
14958
14968
|
tabsExtraFillHoverBackgroundColor: 'Neutral-fill-3',
|
|
14959
14969
|
tabsArrowFontColor: 'Neutral-text-4',
|
|
14970
|
+
tabsArrowFontSize: 'Font-14',
|
|
14960
14971
|
tabsBadgeMargin: 'Spacing-0'
|
|
14961
14972
|
};
|
|
14962
14973
|
/* harmony default export */ var tabs = (tabsTokens);
|
|
@@ -14996,6 +15007,7 @@ var tagTokens = {
|
|
|
14996
15007
|
tagInfoIconDisabledFontColor: 'Brand-3',
|
|
14997
15008
|
tagInfoIconHoverBackgroundColor: 'Brand-2',
|
|
14998
15009
|
tagDefaultLineHeight: 'Line-height-dynamic',
|
|
15010
|
+
tagDefaultLineBase: 'Font-14',
|
|
14999
15011
|
tagDefaultFontColor: 'Neutral-text-5',
|
|
15000
15012
|
tagDefaultBackgroundColor: 'Neutral-fill-2',
|
|
15001
15013
|
tagDefaultBorderColor: 'Neutral-fill-2',
|
|
@@ -15436,6 +15448,7 @@ var treeTokens = {
|
|
|
15436
15448
|
treeTextPaddingY: 'Spacing-2',
|
|
15437
15449
|
treeTextPaddingX: 'Spacing-4',
|
|
15438
15450
|
treeCheckboxMarginX: 'Spacing-8',
|
|
15451
|
+
treeIconSize: 'Font-14',
|
|
15439
15452
|
treeFontSize: 'Font-14',
|
|
15440
15453
|
treeLineHeight: 'Size-18',
|
|
15441
15454
|
treeSmallFontSize: 'Font-12',
|
|
@@ -15765,8 +15778,8 @@ var alertStyle = {
|
|
|
15765
15778
|
cursor: 'pointer',
|
|
15766
15779
|
color: src.alertCloseFontColor,
|
|
15767
15780
|
fontSize: src.alertFontSize,
|
|
15768
|
-
height: src.
|
|
15769
|
-
width: src.
|
|
15781
|
+
height: "calc(".concat(src.alertFontSize, " + 2px)"),
|
|
15782
|
+
width: "calc(".concat(src.alertFontSize, " + 2px)"),
|
|
15770
15783
|
flex: '0 0 auto',
|
|
15771
15784
|
display: 'flex',
|
|
15772
15785
|
alignItems: 'center',
|
|
@@ -16173,8 +16186,8 @@ var breadcrumbStyle = {
|
|
|
16173
16186
|
}
|
|
16174
16187
|
},
|
|
16175
16188
|
down: {
|
|
16176
|
-
width:
|
|
16177
|
-
height:
|
|
16189
|
+
width: src.breadcrumbDownIconSize,
|
|
16190
|
+
height: src.breadcrumbDownIconSize,
|
|
16178
16191
|
lineHeight: '1',
|
|
16179
16192
|
marginLeft: 4
|
|
16180
16193
|
},
|
|
@@ -18029,7 +18042,7 @@ var cascaderStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
18029
18042
|
justifyContent: 'center',
|
|
18030
18043
|
'& svg': {
|
|
18031
18044
|
verticalAlign: 'middle',
|
|
18032
|
-
width:
|
|
18045
|
+
width: src.cascaderOptionIconSize
|
|
18033
18046
|
}
|
|
18034
18047
|
},
|
|
18035
18048
|
optionSpin: {
|
|
@@ -18252,7 +18265,7 @@ var collapseItemStyle = {
|
|
|
18252
18265
|
},
|
|
18253
18266
|
header: {
|
|
18254
18267
|
display: 'flex',
|
|
18255
|
-
alignItems: '
|
|
18268
|
+
alignItems: 'flex-start',
|
|
18256
18269
|
justifyContent: 'space-between',
|
|
18257
18270
|
boxSizing: 'border-box',
|
|
18258
18271
|
overflow: 'hidden',
|
|
@@ -18293,7 +18306,7 @@ var collapseItemStyle = {
|
|
|
18293
18306
|
cursor: 'pointer',
|
|
18294
18307
|
position: 'relative',
|
|
18295
18308
|
color: src.collapseIconColor,
|
|
18296
|
-
|
|
18309
|
+
height: src.lineHeightDynamic,
|
|
18297
18310
|
zIndex: 0,
|
|
18298
18311
|
marginRight: src.collapseHeaderGap,
|
|
18299
18312
|
'& svg': {
|
|
@@ -18579,7 +18592,15 @@ var datePickerStyle = objectSpread2_default()(objectSpread2_default()(objectSpre
|
|
|
18579
18592
|
color: src.datePickerIconColor,
|
|
18580
18593
|
'& svg': {
|
|
18581
18594
|
width: src.datePickerIconSize,
|
|
18582
|
-
height: src.datePickerIconSize
|
|
18595
|
+
height: src.datePickerIconSize,
|
|
18596
|
+
'$wrapperSmall &': {
|
|
18597
|
+
width: src.datePickerSmallIconSize,
|
|
18598
|
+
height: src.datePickerSmallIconSize
|
|
18599
|
+
},
|
|
18600
|
+
'$wrapperLarge &': {
|
|
18601
|
+
width: src.datePickerLargeIconSize,
|
|
18602
|
+
height: src.datePickerLargeIconSize
|
|
18603
|
+
}
|
|
18583
18604
|
},
|
|
18584
18605
|
// todo 暂时写死
|
|
18585
18606
|
marginLeft: '8px'
|
|
@@ -18744,6 +18765,7 @@ var datePickerStyle = objectSpread2_default()(objectSpread2_default()(objectSpre
|
|
|
18744
18765
|
padding: "".concat(src.datePickerSmallPanelFooterNowPaddingY, " ").concat(src.datePickerSmallPanelFooterNowPaddingX)
|
|
18745
18766
|
}
|
|
18746
18767
|
},
|
|
18768
|
+
wrapperLarge: {},
|
|
18747
18769
|
pickerFooterNow: {
|
|
18748
18770
|
padding: "".concat(src.datePickerPanelFooterPaddingY, " ").concat(src.datePickerPanelFooterPaddingX),
|
|
18749
18771
|
'&:only-child': {
|
|
@@ -19550,10 +19572,11 @@ var dropdown_dropdown = {
|
|
|
19550
19572
|
},
|
|
19551
19573
|
itemDisabled: {},
|
|
19552
19574
|
optionGroup: {
|
|
19553
|
-
padding: "".concat(src.dropdownOptionGroupPaddingTop, " ").concat(src.dropdownOptionGroupPaddingX, " ").concat(src.dropdownOptionGroupPaddingBottom, " ").concat(src.dropdownOptionGroupPaddingX),
|
|
19575
|
+
padding: "calc(".concat(src.dropdownOptionGroupPaddingTop, " - 4px) ").concat(src.dropdownOptionGroupPaddingX, " ").concat(src.dropdownOptionGroupPaddingBottom, " ").concat(src.dropdownOptionGroupPaddingX),
|
|
19554
19576
|
fontSize: src.dropdownOptionGroupFontSize,
|
|
19555
19577
|
fontWeight: src.dropdownOptionGroupFontWeight,
|
|
19556
19578
|
color: src.dropdownOptionGroupFontColor,
|
|
19579
|
+
lineHeight: src.lineHeightDynamic,
|
|
19557
19580
|
'$listSmall &': {
|
|
19558
19581
|
padding: "".concat(src.dropdownOptionGroupSmallTop, " ").concat(src.dropdownOptionGroupSmallX, " 0 ").concat(src.dropdownOptionGroupSmallX)
|
|
19559
19582
|
},
|
|
@@ -20837,6 +20860,14 @@ var input_input = objectSpread2_default()(objectSpread2_default()(objectSpread2_
|
|
|
20837
20860
|
},
|
|
20838
20861
|
'&[dir=rtl]': {
|
|
20839
20862
|
left: '0'
|
|
20863
|
+
},
|
|
20864
|
+
'$wrapperSmall &': {
|
|
20865
|
+
width: src.inputSmallIconSize,
|
|
20866
|
+
height: src.inputSmallIconSize
|
|
20867
|
+
},
|
|
20868
|
+
'$wrapperLarge &': {
|
|
20869
|
+
width: src.inputLargeIconSize,
|
|
20870
|
+
height: src.inputLargeIconSize
|
|
20840
20871
|
}
|
|
20841
20872
|
},
|
|
20842
20873
|
group: objectSpread2_default()(objectSpread2_default()({}, group), {}, {
|
|
@@ -20886,7 +20917,7 @@ var input_input = objectSpread2_default()(objectSpread2_default()(objectSpread2_
|
|
|
20886
20917
|
borderBottom: "1px solid ".concat(src.inputBorderColor)
|
|
20887
20918
|
},
|
|
20888
20919
|
'& svg': {
|
|
20889
|
-
width:
|
|
20920
|
+
width: src.inputIconSize,
|
|
20890
20921
|
transform: 'rotate(-90deg)'
|
|
20891
20922
|
}
|
|
20892
20923
|
},
|
|
@@ -20901,13 +20932,20 @@ var input_input = objectSpread2_default()(objectSpread2_default()(objectSpread2_
|
|
|
20901
20932
|
passwordToggle: {
|
|
20902
20933
|
display: 'flex',
|
|
20903
20934
|
alignItems: 'center',
|
|
20935
|
+
flexShrink: 0,
|
|
20904
20936
|
width: src.inputIconSize,
|
|
20905
20937
|
height: src.inputIconSize,
|
|
20906
20938
|
color: src.inputToggleColor,
|
|
20907
20939
|
cursor: 'pointer',
|
|
20940
|
+
'$wrapperSmall &': {
|
|
20941
|
+
width: src.inputSmallIconSize,
|
|
20942
|
+
height: src.inputSmallIconSize
|
|
20943
|
+
},
|
|
20944
|
+
'$wrapperLarge &': {
|
|
20945
|
+
width: src.inputLargeIconSize,
|
|
20946
|
+
height: src.inputLargeIconSize
|
|
20947
|
+
},
|
|
20908
20948
|
'& > svg': {
|
|
20909
|
-
width: src.inputIconSize,
|
|
20910
|
-
height: src.inputIconSize,
|
|
20911
20949
|
cursor: 'pointer',
|
|
20912
20950
|
pointerEvents: 'none'
|
|
20913
20951
|
},
|
|
@@ -23266,6 +23304,14 @@ var popoverStyle = objectSpread2_default()(objectSpread2_default()({}, tooltipAn
|
|
|
23266
23304
|
marginBottom: src.popoverConfirmMarginY
|
|
23267
23305
|
}
|
|
23268
23306
|
},
|
|
23307
|
+
mentionTitle: {
|
|
23308
|
+
fontSize: src.popoverConfirmTitleFontSize
|
|
23309
|
+
},
|
|
23310
|
+
mentionIcon: {
|
|
23311
|
+
'&&': {
|
|
23312
|
+
fontSize: src.popoverConfirmTitleFontSize
|
|
23313
|
+
}
|
|
23314
|
+
},
|
|
23269
23315
|
footer: {
|
|
23270
23316
|
textAlign: 'right'
|
|
23271
23317
|
}
|
|
@@ -24297,7 +24343,7 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
24297
24343
|
optionGroupTitle: {
|
|
24298
24344
|
fontSize: src.selectGroupTitleFontSize,
|
|
24299
24345
|
lineHeight: src.lineHeightDynamic,
|
|
24300
|
-
padding: "".concat(src.
|
|
24346
|
+
padding: "calc(".concat(src.selectGroupTitleFontSize, " - 4px) ").concat(src.selectGroupTitlePaddingX, " ").concat(src.selectGroupTitlePaddingBottom, " ").concat(src.selectGroupTitlePaddingX),
|
|
24301
24347
|
color: src.selectGroupTitleFontColor,
|
|
24302
24348
|
fontWeight: src.selectGroupTitleFontWeight
|
|
24303
24349
|
},
|
|
@@ -27705,6 +27751,9 @@ var tabsStyle = {
|
|
|
27705
27751
|
alignItems: 'flex-start'
|
|
27706
27752
|
}
|
|
27707
27753
|
},
|
|
27754
|
+
'&:not([data-soui-shape="card"]) $prev, &:not([data-soui-shape="card"]) $next': {
|
|
27755
|
+
border: '1px solid transparent'
|
|
27756
|
+
},
|
|
27708
27757
|
'&[data-soui-shape="card"] $prev, &[data-soui-shape="card"] $next': {
|
|
27709
27758
|
background: '#FFFFFF',
|
|
27710
27759
|
alignSelf: 'stretch',
|
|
@@ -27783,7 +27832,7 @@ var tabsStyle = {
|
|
|
27783
27832
|
}
|
|
27784
27833
|
},
|
|
27785
27834
|
'& svg': {
|
|
27786
|
-
width:
|
|
27835
|
+
width: src.tabsArrowFontSize
|
|
27787
27836
|
}
|
|
27788
27837
|
}
|
|
27789
27838
|
}, getCardStyle()), getLineStyle()), getDashStyle()), getFillStyle()), getButtonStyle()), getHeaderStyle()),
|
|
@@ -28001,7 +28050,7 @@ var tabsStyle = {
|
|
|
28001
28050
|
position: 'relative',
|
|
28002
28051
|
color: src.tabsArrowFontColor,
|
|
28003
28052
|
'& svg': {
|
|
28004
|
-
width:
|
|
28053
|
+
width: src.tabsArrowFontSize,
|
|
28005
28054
|
textAlign: 'center',
|
|
28006
28055
|
transform: 'rotate(-90deg)',
|
|
28007
28056
|
transition: 'transform .2s'
|
|
@@ -28044,6 +28093,7 @@ var useTabsStyle = styled(tabs_tabs, 'tabs');
|
|
|
28044
28093
|
|
|
28045
28094
|
|
|
28046
28095
|
|
|
28096
|
+
var tagDefaultLineHeight = "calc(".concat(src.tagDefaultLineBase, " + 6px)");
|
|
28047
28097
|
var brightTag = function brightTag(name, type) {
|
|
28048
28098
|
return {
|
|
28049
28099
|
color: src["tag".concat(type, "FontColor")],
|
|
@@ -28185,7 +28235,7 @@ var TagStyle = {
|
|
|
28185
28235
|
wrapper: {
|
|
28186
28236
|
flex: 1,
|
|
28187
28237
|
minWidth: 0,
|
|
28188
|
-
lineHeight:
|
|
28238
|
+
lineHeight: tagDefaultLineHeight
|
|
28189
28239
|
},
|
|
28190
28240
|
inline: {
|
|
28191
28241
|
display: 'inline-block',
|
|
@@ -28246,7 +28296,7 @@ var TagStyle = {
|
|
|
28246
28296
|
alignItems: 'center',
|
|
28247
28297
|
display: 'inline-flex',
|
|
28248
28298
|
cursor: 'pointer',
|
|
28249
|
-
height:
|
|
28299
|
+
height: tagDefaultLineHeight,
|
|
28250
28300
|
maxHeight: '100%'
|
|
28251
28301
|
},
|
|
28252
28302
|
closeIconWrapper: {
|
|
@@ -29071,9 +29121,9 @@ var treeStyle = {
|
|
|
29071
29121
|
background: src.treeItemActiveBackgroundColor
|
|
29072
29122
|
},
|
|
29073
29123
|
'& svg': {
|
|
29074
|
-
width:
|
|
29124
|
+
width: src.treeIconSize,
|
|
29075
29125
|
'$sizeLarge &': {
|
|
29076
|
-
width:
|
|
29126
|
+
width: "calc(".concat(src.treeIconSize, " + 2px)")
|
|
29077
29127
|
}
|
|
29078
29128
|
}
|
|
29079
29129
|
},
|
|
@@ -31141,9 +31191,28 @@ function cssSupport(attr, value) {
|
|
|
31141
31191
|
}
|
|
31142
31192
|
return false;
|
|
31143
31193
|
}
|
|
31194
|
+
function getCssVarValue(varName) {
|
|
31195
|
+
if (is_isBrowser()) {
|
|
31196
|
+
var style = getComputedStyle(document.documentElement);
|
|
31197
|
+
return style.getPropertyValue(varName).trim();
|
|
31198
|
+
}
|
|
31199
|
+
return '';
|
|
31200
|
+
}
|
|
31144
31201
|
var parsePxToNumber = function parsePxToNumber(str) {
|
|
31145
31202
|
return Number(str.replace(/\s+|px/gi, ''));
|
|
31146
31203
|
};
|
|
31204
|
+
var _baseFontSizeDiff = 0;
|
|
31205
|
+
var BASE_FONT_SIZE = 14;
|
|
31206
|
+
function getBaseFontSizeDiff() {
|
|
31207
|
+
if (_baseFontSizeDiff) return _baseFontSizeDiff;
|
|
31208
|
+
var currentBaseFontSizeStr = getCssVarValue('--soui-font-14');
|
|
31209
|
+
if (currentBaseFontSizeStr) {
|
|
31210
|
+
var currentBaseFontSize = parsePxToNumber(currentBaseFontSizeStr);
|
|
31211
|
+
_baseFontSizeDiff = BASE_FONT_SIZE - currentBaseFontSize;
|
|
31212
|
+
return _baseFontSizeDiff;
|
|
31213
|
+
}
|
|
31214
|
+
return 0;
|
|
31215
|
+
}
|
|
31147
31216
|
var getFieldId = function getFieldId(name, formName) {
|
|
31148
31217
|
if (!name) return undefined;
|
|
31149
31218
|
return "".concat(formName ? "".concat(formName, "_") : '').concat(name);
|
|
@@ -41836,14 +41905,16 @@ var CascaderList = function CascaderList(props) {
|
|
|
41836
41905
|
getCurrentIndex: undefined,
|
|
41837
41906
|
getHoverIndex: undefined
|
|
41838
41907
|
});
|
|
41839
|
-
var
|
|
41908
|
+
var lineHeight = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
|
|
41840
41909
|
// if (lineHeightProp && lineHeightProp !== 'auto') return lineHeightProp;
|
|
41841
|
-
|
|
41842
|
-
|
|
41843
|
-
|
|
41844
|
-
|
|
41845
|
-
|
|
41846
|
-
|
|
41910
|
+
var diff = getBaseFontSizeDiff();
|
|
41911
|
+
var sizeMap = {
|
|
41912
|
+
small: 26,
|
|
41913
|
+
default: 34,
|
|
41914
|
+
large: 42
|
|
41915
|
+
};
|
|
41916
|
+
return (sizeMap[size] || 34) - diff;
|
|
41917
|
+
}, [size]);
|
|
41847
41918
|
var getHeight = function getHeight() {
|
|
41848
41919
|
if (props.height) return props.height;
|
|
41849
41920
|
return lineHeight * 7;
|
|
@@ -42036,14 +42107,16 @@ var FilterList = function FilterList(props) {
|
|
|
42036
42107
|
getCurrentIndex: undefined,
|
|
42037
42108
|
getHoverIndex: undefined
|
|
42038
42109
|
});
|
|
42039
|
-
var
|
|
42110
|
+
var lineHeight = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
|
|
42040
42111
|
// if (lineHeightProp && lineHeightProp !== 'auto') return lineHeightProp;
|
|
42041
|
-
|
|
42042
|
-
|
|
42043
|
-
|
|
42044
|
-
|
|
42045
|
-
|
|
42046
|
-
|
|
42112
|
+
var diff = getBaseFontSizeDiff();
|
|
42113
|
+
var sizeMap = {
|
|
42114
|
+
small: 26,
|
|
42115
|
+
default: 34,
|
|
42116
|
+
large: 42
|
|
42117
|
+
};
|
|
42118
|
+
return (sizeMap[size] || 34) - diff;
|
|
42119
|
+
}, [size]);
|
|
42047
42120
|
var getKey = function getKey(path) {
|
|
42048
42121
|
return path.map(function (d) {
|
|
42049
42122
|
return datum.getKey(d);
|
|
@@ -56357,14 +56430,16 @@ var list_List = function List(props) {
|
|
|
56357
56430
|
var getHoverIndex = usePersistFn(function () {
|
|
56358
56431
|
return hoverIndex;
|
|
56359
56432
|
});
|
|
56360
|
-
var
|
|
56433
|
+
var lineHeight = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
|
|
56361
56434
|
if (lineHeightProp && lineHeightProp !== 'auto') return lineHeightProp;
|
|
56362
|
-
|
|
56363
|
-
|
|
56364
|
-
|
|
56365
|
-
|
|
56366
|
-
|
|
56367
|
-
|
|
56435
|
+
var diff = getBaseFontSizeDiff();
|
|
56436
|
+
var sizeMap = {
|
|
56437
|
+
small: 26,
|
|
56438
|
+
default: 34,
|
|
56439
|
+
large: 42
|
|
56440
|
+
};
|
|
56441
|
+
return (sizeMap[size] || 34) - diff;
|
|
56442
|
+
}, [lineHeightProp, size]);
|
|
56368
56443
|
var getHeight = function getHeight() {
|
|
56369
56444
|
if (props.height) return props.height;
|
|
56370
56445
|
return lineHeight * 7;
|
|
@@ -61651,10 +61726,9 @@ var confirm_Confirm = function Confirm(props) {
|
|
|
61651
61726
|
jssStyle: jssStyle,
|
|
61652
61727
|
type: type,
|
|
61653
61728
|
title: title,
|
|
61654
|
-
|
|
61655
|
-
fontSize: 14
|
|
61656
|
-
},
|
|
61729
|
+
titleClassName: popoverStyle === null || popoverStyle === void 0 ? void 0 : popoverStyle.mentionTitle,
|
|
61657
61730
|
icon: icon,
|
|
61731
|
+
iconClassName: popoverStyle === null || popoverStyle === void 0 ? void 0 : popoverStyle.mentionIcon,
|
|
61658
61732
|
children: _children
|
|
61659
61733
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
61660
61734
|
className: popoverStyle === null || popoverStyle === void 0 ? void 0 : popoverStyle.footer,
|
|
@@ -74560,7 +74634,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
74560
74634
|
|
|
74561
74635
|
|
|
74562
74636
|
/* harmony default export */ var src_0 = ({
|
|
74563
|
-
version: '3.9.
|
|
74637
|
+
version: '3.9.3-beta.1'
|
|
74564
74638
|
});
|
|
74565
74639
|
}();
|
|
74566
74640
|
/******/ return __webpack_exports__;
|