shineout 3.7.0-beta.5 → 3.7.0-beta.6
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 +252 -146
- 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/dist/shineout.js
CHANGED
|
@@ -3787,6 +3787,76 @@ const figma = [
|
|
|
3787
3787
|
token: 'Orange-9',
|
|
3788
3788
|
locked: true,
|
|
3789
3789
|
},
|
|
3790
|
+
{
|
|
3791
|
+
name: '褐色-1',
|
|
3792
|
+
value: '#FAF4E3',
|
|
3793
|
+
describe: '浅色背景',
|
|
3794
|
+
token: 'Brown-1',
|
|
3795
|
+
locked: true,
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
name: '褐色-10',
|
|
3799
|
+
value: '#4D2100',
|
|
3800
|
+
describe: '-10',
|
|
3801
|
+
token: 'Brown-10',
|
|
3802
|
+
locked: true,
|
|
3803
|
+
},
|
|
3804
|
+
{
|
|
3805
|
+
name: '褐色-2',
|
|
3806
|
+
value: '#EBDDBC',
|
|
3807
|
+
describe: '聚焦',
|
|
3808
|
+
token: 'Brown-2',
|
|
3809
|
+
locked: true,
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
name: '褐色-3',
|
|
3813
|
+
value: '#D6C094',
|
|
3814
|
+
describe: '禁用',
|
|
3815
|
+
token: 'Brown-3',
|
|
3816
|
+
locked: true,
|
|
3817
|
+
},
|
|
3818
|
+
{
|
|
3819
|
+
name: '褐色-4',
|
|
3820
|
+
value: '#C2A470',
|
|
3821
|
+
describe: '悬浮',
|
|
3822
|
+
token: 'Brown-4',
|
|
3823
|
+
locked: true,
|
|
3824
|
+
},
|
|
3825
|
+
{
|
|
3826
|
+
name: '褐色-5',
|
|
3827
|
+
value: '#AD8951',
|
|
3828
|
+
describe: '悬浮',
|
|
3829
|
+
token: 'Brown-5',
|
|
3830
|
+
locked: true,
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
name: '褐色-6',
|
|
3834
|
+
value: '#996F37',
|
|
3835
|
+
describe: '常规',
|
|
3836
|
+
token: 'Brown-6',
|
|
3837
|
+
locked: true,
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
name: '褐色-7',
|
|
3841
|
+
value: '#865824',
|
|
3842
|
+
describe: '点击',
|
|
3843
|
+
token: 'Brown-7',
|
|
3844
|
+
locked: true,
|
|
3845
|
+
},
|
|
3846
|
+
{
|
|
3847
|
+
name: '褐色-8',
|
|
3848
|
+
value: '#734415',
|
|
3849
|
+
describe: '-8',
|
|
3850
|
+
token: 'Brown-8',
|
|
3851
|
+
locked: true,
|
|
3852
|
+
},
|
|
3853
|
+
{
|
|
3854
|
+
name: '褐色-9',
|
|
3855
|
+
value: '#603109',
|
|
3856
|
+
describe: '-9',
|
|
3857
|
+
token: 'Brown-9',
|
|
3858
|
+
locked: true,
|
|
3859
|
+
},
|
|
3790
3860
|
{
|
|
3791
3861
|
name: '紫色-1',
|
|
3792
3862
|
value: '#F8EEFE',
|
|
@@ -4475,7 +4545,8 @@ const figma = [
|
|
|
4475
4545
|
},
|
|
4476
4546
|
{
|
|
4477
4547
|
name: 'Shadow-5',
|
|
4478
|
-
value:
|
|
4548
|
+
value:
|
|
4549
|
+
'rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px',
|
|
4479
4550
|
describe: 'Switch圆圈阴影',
|
|
4480
4551
|
token: 'Shadow-5',
|
|
4481
4552
|
locked: true,
|
|
@@ -12146,7 +12217,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12146
12217
|
};
|
|
12147
12218
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12148
12219
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12149
|
-
/* harmony default export */ var version = ('3.7.0-beta.
|
|
12220
|
+
/* harmony default export */ var version = ('3.7.0-beta.6');
|
|
12150
12221
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12151
12222
|
|
|
12152
12223
|
|
|
@@ -12425,6 +12496,16 @@ var Token = {
|
|
|
12425
12496
|
'Orange-7': '#865824',
|
|
12426
12497
|
'Orange-8': '#734415',
|
|
12427
12498
|
'Orange-9': '#603109',
|
|
12499
|
+
'Brown-1': '#FAF4E3',
|
|
12500
|
+
'Brown-10': '#4D2100',
|
|
12501
|
+
'Brown-2': '#EBDDBC',
|
|
12502
|
+
'Brown-3': '#D6C094',
|
|
12503
|
+
'Brown-4': '#C2A470',
|
|
12504
|
+
'Brown-5': '#AD8951',
|
|
12505
|
+
'Brown-6': '#996F37',
|
|
12506
|
+
'Brown-7': '#865824',
|
|
12507
|
+
'Brown-8': '#734415',
|
|
12508
|
+
'Brown-9': '#603109',
|
|
12428
12509
|
'Purple-1': '#F8EEFE',
|
|
12429
12510
|
'Purple-10': '#150530',
|
|
12430
12511
|
'Purple-2': '#EDD6FE',
|
|
@@ -14779,24 +14860,24 @@ var tagTokens = {
|
|
|
14779
14860
|
tagMagentaFillDisabledFontColor: 'Neutral-text-1',
|
|
14780
14861
|
tagMagentaFillDisabledBackgroundColor: 'Magenta-3',
|
|
14781
14862
|
tagMagentaFillDisabledBorderColor: 'Magenta-3',
|
|
14782
|
-
tagBrownFontColor: '
|
|
14783
|
-
tagBrownBackgroundColor: '
|
|
14784
|
-
tagBrownBorderColor: '
|
|
14785
|
-
tagBrownDisabledFontColor: '
|
|
14786
|
-
tagBrownDisabledBackgroundColor: '
|
|
14787
|
-
tagBrownDisabledBorderColor: '
|
|
14788
|
-
tagBrownOutlineFontColor: '
|
|
14863
|
+
tagBrownFontColor: 'Brown-6',
|
|
14864
|
+
tagBrownBackgroundColor: 'Brown-1',
|
|
14865
|
+
tagBrownBorderColor: 'Brown-1',
|
|
14866
|
+
tagBrownDisabledFontColor: 'Brown-3',
|
|
14867
|
+
tagBrownDisabledBackgroundColor: 'Brown-1',
|
|
14868
|
+
tagBrownDisabledBorderColor: 'Brown-1',
|
|
14869
|
+
tagBrownOutlineFontColor: 'Brown-6',
|
|
14789
14870
|
tagBrownOutlineBackgroundColor: 'Neutral-fill-1',
|
|
14790
|
-
tagBrownOutlineBorderColor: '
|
|
14791
|
-
tagBrownOutlineDisabledFontColor: '
|
|
14871
|
+
tagBrownOutlineBorderColor: 'Brown-6',
|
|
14872
|
+
tagBrownOutlineDisabledFontColor: 'Brown-3',
|
|
14792
14873
|
tagBrownOutlineDisabledBackgroundColor: 'Neutral-fill-1',
|
|
14793
|
-
tagBrownOutlineDisabledBorderColor: '
|
|
14874
|
+
tagBrownOutlineDisabledBorderColor: 'Brown-3',
|
|
14794
14875
|
tagBrownFillFontColor: 'Neutral-text-1',
|
|
14795
|
-
tagBrownFillBackgroundColor: '
|
|
14796
|
-
tagBrownFillBorderColor: '
|
|
14876
|
+
tagBrownFillBackgroundColor: 'Brown-6',
|
|
14877
|
+
tagBrownFillBorderColor: 'Brown-6',
|
|
14797
14878
|
tagBrownFillDisabledFontColor: 'Neutral-text-1',
|
|
14798
|
-
tagBrownFillDisabledBackgroundColor: '
|
|
14799
|
-
tagBrownFillDisabledBorderColor: '
|
|
14879
|
+
tagBrownFillDisabledBackgroundColor: 'Brown-3',
|
|
14880
|
+
tagBrownFillDisabledBorderColor: 'Brown-3',
|
|
14800
14881
|
tagPurpleFontColor: 'Purple-6',
|
|
14801
14882
|
tagPurpleBackgroundColor: 'Purple-1',
|
|
14802
14883
|
tagPurpleBorderColor: 'Purple-1',
|
|
@@ -14934,45 +15015,58 @@ var tagTokens = {
|
|
|
14934
15015
|
tagInfoOutlineIconDisabledFontColor: 'Brand-3',
|
|
14935
15016
|
tagInfoOutlineIconHoverBackgroundColor: 'Brand-1',
|
|
14936
15017
|
tagInfoOutlineIconHoverFontColor: 'Brand-6',
|
|
15018
|
+
tagInfoFillIconHoverBackgroundColor: 'Brand-5',
|
|
14937
15019
|
tagDefaultIconFontColor: 'Neutral-text-4',
|
|
14938
15020
|
tagDefaultIconDisabledFontColor: 'Neutral-text-2',
|
|
14939
15021
|
tagDefaultIconHoverBackgroundColor: 'Neutral-fill-3',
|
|
14940
15022
|
tagDefaultIconHoverFontColor: 'Neutral-text-5',
|
|
15023
|
+
tagDefaultFillIconHoverBackgroundColor: 'Neutral-fill-4',
|
|
14941
15024
|
tagSuccessIconFontColor: 'Success-6',
|
|
14942
15025
|
tagSuccessIconDisabledFontColor: 'Success-3',
|
|
14943
15026
|
tagSuccessIconHoverBackgroundColor: 'Success-2',
|
|
14944
15027
|
tagSuccessOutlineIconDisabledFontColor: 'Success-3',
|
|
14945
15028
|
tagSuccessOutlineIconHoverBackgroundColor: 'Success-2',
|
|
15029
|
+
tagSuccessFillIconHoverBackgroundColor: 'Success-5',
|
|
14946
15030
|
tagWarningIconDisabledFontColor: 'Warning-3',
|
|
14947
15031
|
tagWarningIconHoverBackgroundColor: 'Warning-2',
|
|
14948
15032
|
tagWarningFillIconFontColor: 'Warning-6',
|
|
15033
|
+
tagWarningFillIconHoverBackgroundColor: 'Warning-5',
|
|
14949
15034
|
tagDangerIconFontColor: 'Danger-6',
|
|
14950
15035
|
tagDangerIconDisabledFontColor: 'Danger-3',
|
|
14951
15036
|
tagDangerIconHoverBackgroundColor: 'Danger-2',
|
|
15037
|
+
tagDangerFillIconHoverBackgroundColor: 'Danger-5',
|
|
14952
15038
|
tagMagentaIconFontColor: 'Magenta-6',
|
|
14953
15039
|
tagMagentaIconDisabledFontColor: 'Magenta-3',
|
|
14954
15040
|
tagMagentaIconHoverBackgroundColor: 'Magenta-2',
|
|
14955
|
-
|
|
14956
|
-
|
|
14957
|
-
|
|
15041
|
+
tagMagentaFillIconHoverBackgroundColor: 'Magenta-5',
|
|
15042
|
+
tagBrownIconFontColor: 'Brown-6',
|
|
15043
|
+
tagBrownIconDisabledFontColor: 'Brown-3',
|
|
15044
|
+
tagBrownIconHoverBackgroundColor: 'Brown-2',
|
|
15045
|
+
tagBrownFillIconHoverBackgroundColor: 'Brown-5',
|
|
14958
15046
|
tagPurpleIconFontColor: 'Purple-6',
|
|
14959
15047
|
tagPurpleIconDisabledFontColor: 'Purple-3',
|
|
14960
15048
|
tagPurpleIconHoverBackgroundColor: 'Purple-2',
|
|
15049
|
+
tagPurpleFillIconHoverBackgroundColor: 'Purple-5',
|
|
14961
15050
|
tagIndigoIconFontColor: 'Indigo-6',
|
|
14962
15051
|
tagIndigoIconDisabledFontColor: 'Indigo-3',
|
|
14963
15052
|
tagIndigoIconHoverBackgroundColor: 'Indigo-2',
|
|
15053
|
+
tagIndigoFillIconHoverBackgroundColor: 'Indigo-5',
|
|
14964
15054
|
tagCyanIconFontColor: 'Cyan-6',
|
|
14965
15055
|
tagCyanIconDisabledFontColor: 'Cyan-3',
|
|
14966
15056
|
tagCyanIconHoverBackgroundColor: 'Cyan-2',
|
|
15057
|
+
tagCyanFillIconHoverBackgroundColor: 'Cyan-5',
|
|
14967
15058
|
tagNeonIconFontColor: 'Neon-6',
|
|
14968
15059
|
tagNeonIconDisabledFontColor: 'Neon-3',
|
|
14969
15060
|
tagNeonIconHoverBackgroundColor: 'Neon-2',
|
|
15061
|
+
tagNeonFillIconHoverBackgroundColor: 'Neon-5',
|
|
14970
15062
|
tagLemonIconFontColor: 'Lemon-6',
|
|
14971
15063
|
tagLemonIconDisabledFontColor: 'Lemon-3',
|
|
14972
15064
|
tagLemonIconHoverBackgroundColor: 'Lemon-2',
|
|
15065
|
+
tagLemonFillIconHoverBackgroundColor: 'Lemon-5',
|
|
14973
15066
|
tagTangerineIconFontColor: 'Tangerine-6',
|
|
14974
15067
|
tagTangerineIconDisabledFontColor: 'Tangerine-3',
|
|
14975
|
-
tagTangerineIconHoverBackgroundColor: 'Tangerine-2'
|
|
15068
|
+
tagTangerineIconHoverBackgroundColor: 'Tangerine-2',
|
|
15069
|
+
tagTangerineFillIconHoverBackgroundColor: 'Tangerine-5'
|
|
14976
15070
|
};
|
|
14977
15071
|
/* harmony default export */ var tag = (tagTokens);
|
|
14978
15072
|
;// CONCATENATED MODULE: ../theme/src/tag/index.ts
|
|
@@ -21662,7 +21756,11 @@ var modalStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21662
21756
|
'& $panel': {
|
|
21663
21757
|
top: 0,
|
|
21664
21758
|
height: '100vh',
|
|
21665
|
-
width: '100vw'
|
|
21759
|
+
width: '100vw',
|
|
21760
|
+
overflow: 'auto'
|
|
21761
|
+
},
|
|
21762
|
+
'& $body': {
|
|
21763
|
+
minHeight: 'auto'
|
|
21666
21764
|
}
|
|
21667
21765
|
},
|
|
21668
21766
|
wrapperZoom: {
|
|
@@ -26955,115 +27053,106 @@ var useTabsStyle = styled(tabs_tabs, 'tabs');
|
|
|
26955
27053
|
;// CONCATENATED MODULE: ../shineout-style/src/tag/tag.ts
|
|
26956
27054
|
|
|
26957
27055
|
|
|
26958
|
-
|
|
27056
|
+
|
|
27057
|
+
var brightTag = function brightTag(name, type) {
|
|
26959
27058
|
return {
|
|
26960
|
-
|
|
26961
|
-
|
|
26962
|
-
|
|
26963
|
-
|
|
26964
|
-
|
|
26965
|
-
|
|
26966
|
-
|
|
26967
|
-
|
|
26968
|
-
|
|
26969
|
-
},
|
|
26970
|
-
'& $closeIcon': {
|
|
26971
|
-
// fill: Token[`tag${type}IconFontColor`],
|
|
26972
|
-
},
|
|
26973
|
-
'&[data-soui-type="dark"]': {
|
|
26974
|
-
'&$disabled': {
|
|
26975
|
-
backgroundColor: src.tagDefaultFillBackgroundColor,
|
|
26976
|
-
borderColor: src.tagDefaultFillBorderColor
|
|
26977
|
-
}
|
|
26978
|
-
},
|
|
27059
|
+
color: src["tag".concat(type, "FontColor")],
|
|
27060
|
+
backgroundColor: src["tag".concat(type, "BackgroundColor")],
|
|
27061
|
+
border: "1px solid ".concat(src["tag".concat(type, "BorderColor")]),
|
|
27062
|
+
'& $closeIconWrapper': {
|
|
27063
|
+
'&:hover': {
|
|
27064
|
+
backgroundColor: src["tag".concat(type, "IconHoverBackgroundColor")]
|
|
27065
|
+
}
|
|
27066
|
+
},
|
|
27067
|
+
'&[data-soui-type="dark"]': {
|
|
26979
27068
|
'&$disabled': {
|
|
26980
|
-
|
|
26981
|
-
|
|
26982
|
-
border: "1px solid ".concat(src["tag".concat(type, "DisabledBorderColor")]),
|
|
26983
|
-
'& $closeIconWrapper': {
|
|
26984
|
-
fill: src["tag".concat(type, "IconDisabledFontColor")],
|
|
26985
|
-
'&:hover': {
|
|
26986
|
-
backgroundColor: 'transparent'
|
|
26987
|
-
}
|
|
26988
|
-
}
|
|
27069
|
+
backgroundColor: src.tagDefaultFillBackgroundColor,
|
|
27070
|
+
borderColor: src.tagDefaultFillBorderColor
|
|
26989
27071
|
}
|
|
26990
27072
|
},
|
|
26991
|
-
'&$
|
|
26992
|
-
color: src["tag".concat(type, "
|
|
26993
|
-
backgroundColor: src["tag".concat(type, "
|
|
26994
|
-
border: "1px solid ".concat(src["tag".concat(type, "
|
|
27073
|
+
'&$disabled': {
|
|
27074
|
+
color: src["tag".concat(type, "DisabledFontColor")],
|
|
27075
|
+
backgroundColor: src["tag".concat(type, "DisabledBackgroundColor")],
|
|
27076
|
+
border: "1px solid ".concat(src["tag".concat(type, "DisabledBorderColor")]),
|
|
26995
27077
|
'& $closeIconWrapper': {
|
|
26996
|
-
fill: src["tag".concat(type, "
|
|
27078
|
+
fill: src["tag".concat(type, "IconDisabledFontColor")],
|
|
26997
27079
|
'&:hover': {
|
|
26998
|
-
|
|
26999
|
-
backgroundColor: src["tag".concat(type, "IconHoverBackgroundColor")]
|
|
27080
|
+
backgroundColor: 'transparent'
|
|
27000
27081
|
}
|
|
27001
|
-
}
|
|
27002
|
-
|
|
27003
|
-
|
|
27004
|
-
|
|
27005
|
-
|
|
27082
|
+
}
|
|
27083
|
+
}
|
|
27084
|
+
};
|
|
27085
|
+
};
|
|
27086
|
+
var fillTag = function fillTag(name, type) {
|
|
27087
|
+
return defineProperty_default()({}, "&$".concat(name), {
|
|
27088
|
+
color: src["tag".concat(type, "FillFontColor")],
|
|
27089
|
+
backgroundColor: src["tag".concat(type, "FillBackgroundColor")],
|
|
27090
|
+
border: "1px solid ".concat(src["tag".concat(type, "FillBorderColor")]),
|
|
27091
|
+
'& $closeIconWrapper': {
|
|
27092
|
+
color: src["tag".concat(type, "FillFontColor")],
|
|
27093
|
+
'&:hover': {
|
|
27094
|
+
backgroundColor: src["tag".concat(type, "FillIconHoverBackgroundColor")]
|
|
27095
|
+
}
|
|
27096
|
+
},
|
|
27097
|
+
'&$disabled': {
|
|
27098
|
+
color: src["tag".concat(type, "FillDisabledFontColor")],
|
|
27099
|
+
backgroundColor: src["tag".concat(type, "FillDisabledBackgroundColor")],
|
|
27100
|
+
border: "1px solid ".concat(src["tag".concat(type, "FillDisabledBorderColor")]),
|
|
27101
|
+
'& $closeIconWrapper': {
|
|
27006
27102
|
color: src["tag".concat(type, "FillDisabledFontColor")],
|
|
27007
|
-
|
|
27008
|
-
|
|
27009
|
-
|
|
27010
|
-
fill: src["tag".concat(type, "FillDisabledFontColor")],
|
|
27011
|
-
'&:hover': {
|
|
27012
|
-
fill: src["tag".concat(type, "FillFontColor")],
|
|
27013
|
-
backgroundColor: 'transparent'
|
|
27014
|
-
}
|
|
27103
|
+
'&:hover': {
|
|
27104
|
+
fill: src["tag".concat(type, "FillFontColor")],
|
|
27105
|
+
backgroundColor: 'transparent'
|
|
27015
27106
|
}
|
|
27016
27107
|
}
|
|
27108
|
+
}
|
|
27109
|
+
});
|
|
27110
|
+
};
|
|
27111
|
+
var outlineTag = function outlineTag(name, type) {
|
|
27112
|
+
return defineProperty_default()({}, "&$".concat(name), {
|
|
27113
|
+
background: src["tag".concat(type, "OutlineBackgroundColor")],
|
|
27114
|
+
color: src["tag".concat(type, "OutlineFontColor")],
|
|
27115
|
+
border: "1px solid ".concat(src["tag".concat(type, "OutlineBorderColor")]),
|
|
27116
|
+
'& $closeIconWrapper': {
|
|
27117
|
+
'&:hover': {
|
|
27118
|
+
backgroundColor: src["tag".concat(type, "BackgroundColor")]
|
|
27119
|
+
}
|
|
27017
27120
|
},
|
|
27018
|
-
|
|
27019
|
-
|
|
27020
|
-
|
|
27021
|
-
|
|
27022
|
-
border: "1px solid ".concat(src["tag".concat(type, "OutlineBorderColor")]),
|
|
27121
|
+
'&$disabled': {
|
|
27122
|
+
color: src["tag".concat(type, "OutlineDisabledFontColor")],
|
|
27123
|
+
backgroundColor: src["tag".concat(type, "OutlineDisabledBackgroundColor")],
|
|
27124
|
+
border: "1px solid ".concat(src["tag".concat(type, "OutlineDisabledBorderColor")]),
|
|
27023
27125
|
'& $closeIconWrapper': {
|
|
27024
|
-
|
|
27126
|
+
fill: src["tag".concat(type, "DisabledFontColor")],
|
|
27025
27127
|
'&:hover': {
|
|
27026
|
-
backgroundColor:
|
|
27027
|
-
}
|
|
27028
|
-
},
|
|
27029
|
-
'&$disabled': {
|
|
27030
|
-
color: src["tag".concat(type, "OutlineDisabledFontColor")],
|
|
27031
|
-
backgroundColor: src["tag".concat(type, "OutlineDisabledBackgroundColor")],
|
|
27032
|
-
border: "1px solid ".concat(src["tag".concat(type, "OutlineDisabledBorderColor")]),
|
|
27033
|
-
'& $closeIconWrapper': {
|
|
27034
|
-
fill: src["tag".concat(type, "DisabledFontColor")],
|
|
27035
|
-
'&:hover': {
|
|
27036
|
-
backgroundColor: 'transparent'
|
|
27037
|
-
}
|
|
27128
|
+
backgroundColor: 'transparent'
|
|
27038
27129
|
}
|
|
27039
27130
|
}
|
|
27131
|
+
}
|
|
27132
|
+
});
|
|
27133
|
+
};
|
|
27134
|
+
var brightOutlineTag = function brightOutlineTag(name, type) {
|
|
27135
|
+
return defineProperty_default()({}, "&$".concat(name), {
|
|
27136
|
+
color: src["tag".concat(type, "FontColor")],
|
|
27137
|
+
backgroundColor: src["tag".concat(type, "BackgroundColor")],
|
|
27138
|
+
border: "1px solid ".concat(src["tag".concat(type, "OutlineBorderColor")]),
|
|
27139
|
+
'& $closeIconWrapper': {
|
|
27140
|
+
'&:hover': {
|
|
27141
|
+
backgroundColor: src["tag".concat(type, "IconHoverBackgroundColor")]
|
|
27142
|
+
}
|
|
27040
27143
|
},
|
|
27041
|
-
|
|
27042
|
-
|
|
27043
|
-
|
|
27044
|
-
|
|
27045
|
-
border: "1px solid ".concat(src["tag".concat(type, "OutlineBorderColor")]),
|
|
27144
|
+
'&$disabled': {
|
|
27145
|
+
color: src["tag".concat(type, "DisabledFontColor")],
|
|
27146
|
+
backgroundColor: src["tag".concat(type, "DisabledBackgroundColor")],
|
|
27147
|
+
border: "1px solid ".concat(src["tag".concat(type, "OutlineDisabledBorderColor")]),
|
|
27046
27148
|
'& $closeIconWrapper': {
|
|
27149
|
+
fill: src["tag".concat(type, "IconDisabledFontColor")],
|
|
27047
27150
|
'&:hover': {
|
|
27048
|
-
backgroundColor:
|
|
27049
|
-
}
|
|
27050
|
-
},
|
|
27051
|
-
'&$disabled': {
|
|
27052
|
-
color: src["tag".concat(type, "DisabledFontColor")],
|
|
27053
|
-
backgroundColor: src["tag".concat(type, "DisabledBackgroundColor")],
|
|
27054
|
-
border: "1px solid ".concat(src["tag".concat(type, "OutlineDisabledBorderColor")]),
|
|
27055
|
-
'& $closeIconWrapper': {
|
|
27056
|
-
fill: src["tag".concat(type, "IconDisabledFontColor")],
|
|
27057
|
-
'&:hover': {
|
|
27058
|
-
backgroundColor: 'transparent'
|
|
27059
|
-
}
|
|
27151
|
+
backgroundColor: 'transparent'
|
|
27060
27152
|
}
|
|
27061
27153
|
}
|
|
27062
|
-
},
|
|
27063
|
-
'& $closeIcon': {
|
|
27064
|
-
fill: src["tag".concat(type, "FontColor")]
|
|
27065
27154
|
}
|
|
27066
|
-
};
|
|
27155
|
+
});
|
|
27067
27156
|
};
|
|
27068
27157
|
var TagStyle = {
|
|
27069
27158
|
rootClass: {},
|
|
@@ -27175,32 +27264,32 @@ var TagStyle = {
|
|
|
27175
27264
|
height: 12
|
|
27176
27265
|
}
|
|
27177
27266
|
},
|
|
27178
|
-
info: objectSpread2_default()({},
|
|
27179
|
-
default: objectSpread2_default()({},
|
|
27180
|
-
success: objectSpread2_default()({},
|
|
27181
|
-
warning: objectSpread2_default()({},
|
|
27182
|
-
danger: objectSpread2_default()({},
|
|
27183
|
-
brown: objectSpread2_default()({},
|
|
27184
|
-
magenta: objectSpread2_default()({},
|
|
27185
|
-
purple: objectSpread2_default()({},
|
|
27186
|
-
indigo: objectSpread2_default()({},
|
|
27187
|
-
cyan: objectSpread2_default()({},
|
|
27188
|
-
neon: objectSpread2_default()({},
|
|
27189
|
-
lemon: objectSpread2_default()({},
|
|
27190
|
-
tangerine: objectSpread2_default()({},
|
|
27191
|
-
fill: {},
|
|
27267
|
+
info: objectSpread2_default()({}, brightTag('info', 'Info')),
|
|
27268
|
+
default: objectSpread2_default()({}, brightTag('default', 'Default')),
|
|
27269
|
+
success: objectSpread2_default()({}, brightTag('success', 'Success')),
|
|
27270
|
+
warning: objectSpread2_default()({}, brightTag('warning', 'Warning')),
|
|
27271
|
+
danger: objectSpread2_default()({}, brightTag('danger', 'Danger')),
|
|
27272
|
+
brown: objectSpread2_default()({}, brightTag('brown', 'Brown')),
|
|
27273
|
+
magenta: objectSpread2_default()({}, brightTag('magenta', 'Magenta')),
|
|
27274
|
+
purple: objectSpread2_default()({}, brightTag('purple', 'Purple')),
|
|
27275
|
+
indigo: objectSpread2_default()({}, brightTag('indigo', 'Indigo')),
|
|
27276
|
+
cyan: objectSpread2_default()({}, brightTag('cyan', 'Cyan')),
|
|
27277
|
+
neon: objectSpread2_default()({}, brightTag('neon', 'Neon')),
|
|
27278
|
+
lemon: objectSpread2_default()({}, brightTag('lemon', 'Lemon')),
|
|
27279
|
+
tangerine: objectSpread2_default()({}, brightTag('tangerine', 'Tangerine')),
|
|
27280
|
+
fill: 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()({}, fillTag('default', 'Default')), fillTag('success', 'Success')), fillTag('warning', 'Warning')), fillTag('danger', 'Danger')), fillTag('info', 'Info')), fillTag('brown', 'Brown')), fillTag('magenta', 'Magenta')), fillTag('purple', 'Purple')), fillTag('indigo', 'Indigo')), fillTag('cyan', 'Cyan')), fillTag('neon', 'Neon')), fillTag('lemon', 'Lemon')), fillTag('tangerine', 'Tangerine')),
|
|
27192
27281
|
bright: {},
|
|
27193
|
-
outline: {},
|
|
27194
|
-
brightOutline: {},
|
|
27282
|
+
outline: 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()({}, outlineTag('default', 'Default')), outlineTag('success', 'Success')), outlineTag('warning', 'Warning')), outlineTag('danger', 'Danger')), outlineTag('info', 'Info')), outlineTag('brown', 'Brown')), outlineTag('magenta', 'Magenta')), outlineTag('purple', 'Purple')), outlineTag('indigo', 'Indigo')), outlineTag('cyan', 'Cyan')), outlineTag('neon', 'Neon')), outlineTag('lemon', 'Lemon')), outlineTag('tangerine', 'Tangerine')),
|
|
27283
|
+
brightOutline: 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()({}, brightOutlineTag('default', 'Default')), brightOutlineTag('success', 'Success')), brightOutlineTag('warning', 'Warning')), brightOutlineTag('danger', 'Danger')), brightOutlineTag('info', 'Info')), brightOutlineTag('brown', 'Brown')), brightOutlineTag('magenta', 'Magenta')), brightOutlineTag('purple', 'Purple')), brightOutlineTag('indigo', 'Indigo')), brightOutlineTag('cyan', 'Cyan')), brightOutlineTag('neon', 'Neon')), brightOutlineTag('lemon', 'Lemon')), brightOutlineTag('tangerine', 'Tangerine')),
|
|
27195
27284
|
rounded: {
|
|
27196
27285
|
borderRadius: src.buttonRoundBorderRadius
|
|
27197
27286
|
}
|
|
27198
27287
|
};
|
|
27199
|
-
/* harmony default export */ var
|
|
27288
|
+
/* harmony default export */ var tag_tag = (TagStyle);
|
|
27200
27289
|
;// CONCATENATED MODULE: ../shineout-style/src/tag/index.ts
|
|
27201
27290
|
|
|
27202
27291
|
|
|
27203
|
-
var useTagStyle = styled(
|
|
27292
|
+
var useTagStyle = styled(tag_tag, 'tag');
|
|
27204
27293
|
|
|
27205
27294
|
/* harmony default export */ var shineout_style_src_tag = ((/* unused pure expression or super */ null && (useTagStyle)));
|
|
27206
27295
|
;// CONCATENATED MODULE: ../shineout-style/src/textarea/textarea.ts
|
|
@@ -28054,6 +28143,7 @@ var treeStyle = {
|
|
|
28054
28143
|
}
|
|
28055
28144
|
},
|
|
28056
28145
|
text: {
|
|
28146
|
+
cursor: 'pointer',
|
|
28057
28147
|
flex: 1,
|
|
28058
28148
|
minWidth: 0,
|
|
28059
28149
|
fontSize: src.treeFontSize,
|
|
@@ -28068,9 +28158,6 @@ var treeStyle = {
|
|
|
28068
28158
|
background: src.treeContentHoverBackgroundColor
|
|
28069
28159
|
}
|
|
28070
28160
|
},
|
|
28071
|
-
textClickable: {
|
|
28072
|
-
cursor: 'pointer'
|
|
28073
|
-
},
|
|
28074
28161
|
// textDisabled: {
|
|
28075
28162
|
// color: Token.treeItemDisabledFontColor,
|
|
28076
28163
|
// },
|
|
@@ -40133,7 +40220,7 @@ var Tag = function Tag(props) {
|
|
|
40133
40220
|
}));
|
|
40134
40221
|
};
|
|
40135
40222
|
Tag.Input = tag_input;
|
|
40136
|
-
/* harmony default export */ var
|
|
40223
|
+
/* harmony default export */ var src_tag_tag = (Tag);
|
|
40137
40224
|
;// CONCATENATED MODULE: ../base/src/select/result-more.tsx
|
|
40138
40225
|
|
|
40139
40226
|
|
|
@@ -40236,7 +40323,7 @@ var More = function More(props) {
|
|
|
40236
40323
|
}
|
|
40237
40324
|
if (showNum < 0 || showNum >= data.length) {
|
|
40238
40325
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
|
|
40239
|
-
children: [data, /*#__PURE__*/(0,jsx_runtime.jsx)(
|
|
40326
|
+
children: [data, /*#__PURE__*/(0,jsx_runtime.jsx)(src_tag_tag, {
|
|
40240
40327
|
className: styles.tag,
|
|
40241
40328
|
jssStyle: jssStyle,
|
|
40242
40329
|
size: size,
|
|
@@ -40257,7 +40344,7 @@ var More = function More(props) {
|
|
|
40257
40344
|
}
|
|
40258
40345
|
var renderCompressedTag = function renderCompressedTag() {
|
|
40259
40346
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
|
|
40260
|
-
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(
|
|
40347
|
+
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(src_tag_tag, {
|
|
40261
40348
|
className: styles.tag,
|
|
40262
40349
|
jssStyle: jssStyle,
|
|
40263
40350
|
size: size,
|
|
@@ -40472,7 +40559,7 @@ var result_Result = function Result(props) {
|
|
|
40472
40559
|
type: disabled === true ? 'dark' : undefined
|
|
40473
40560
|
})));
|
|
40474
40561
|
}
|
|
40475
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)(
|
|
40562
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)(src_tag_tag, objectSpread2_default()(objectSpread2_default()({
|
|
40476
40563
|
disabled: isDisabled,
|
|
40477
40564
|
size: size,
|
|
40478
40565
|
className: classnames_default()(styles.tag, more === 1 && styles.tagOnly, resultClassName),
|
|
@@ -40601,7 +40688,7 @@ var result_Result = function Result(props) {
|
|
|
40601
40688
|
props.setInputText('');
|
|
40602
40689
|
setTimeout(function () {
|
|
40603
40690
|
onFilter === null || onFilter === void 0 || onFilter('', 'blur');
|
|
40604
|
-
},
|
|
40691
|
+
}, 200);
|
|
40605
40692
|
}
|
|
40606
40693
|
|
|
40607
40694
|
// 单选场景下,焦点时自动选中input文本
|
|
@@ -49822,7 +49909,8 @@ var useForm = function useForm(props) {
|
|
|
49822
49909
|
validateFields(keys).catch(function () {});
|
|
49823
49910
|
}
|
|
49824
49911
|
update();
|
|
49825
|
-
|
|
49912
|
+
// 默认值上位时会提前触发外部的onChange, 导致外部的多次setFormValue不能合并后生效的问题(ReactDOM.render方式渲染)
|
|
49913
|
+
setTimeout(updateDefaultValue);
|
|
49826
49914
|
context.resetTime = 0;
|
|
49827
49915
|
}, [props.value]);
|
|
49828
49916
|
external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect(function () {
|
|
@@ -52985,6 +53073,7 @@ var list_List = function List(props) {
|
|
|
52985
53073
|
controlType = props.controlType,
|
|
52986
53074
|
hideCreateOption = props.hideCreateOption,
|
|
52987
53075
|
optionListRef = props.optionListRef,
|
|
53076
|
+
keepScrollTop = props.keepScrollTop,
|
|
52988
53077
|
isAnimationFinish = props.isAnimationFinish,
|
|
52989
53078
|
_props$renderItem = props.renderItem,
|
|
52990
53079
|
renderItemProp = _props$renderItem === void 0 ? function (d) {
|
|
@@ -53152,7 +53241,7 @@ var list_List = function List(props) {
|
|
|
53152
53241
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(virtual_scroll_list, {
|
|
53153
53242
|
virtualRef: virtualRef,
|
|
53154
53243
|
data: data,
|
|
53155
|
-
keepScrollTop:
|
|
53244
|
+
keepScrollTop: keepScrollTop,
|
|
53156
53245
|
keygen: keygen,
|
|
53157
53246
|
tag: 'ul',
|
|
53158
53247
|
groupKey: groupKey,
|
|
@@ -53282,7 +53371,6 @@ var NodeContent = function NodeContent(props) {
|
|
|
53282
53371
|
var contentStyle = (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.tree()) || {};
|
|
53283
53372
|
var rootClass = classnames_default()(contentStyle.contentWrapper, defineProperty_default()(defineProperty_default()(defineProperty_default()({}, contentStyle.childnode, data[childrenKey] && data[childrenKey].length > 0), contentStyle.inlineContent, inlineNode), contentStyle.contentDisabled, disabled));
|
|
53284
53373
|
var contentClass = classnames_default()(contentStyle.content, isString(contentClassProp) && contentClassProp, isFunc(contentClassProp) && contentClassProp(data));
|
|
53285
|
-
var textClass = classnames_default()(contentStyle.text, defineProperty_default()({}, contentStyle.textClickable, actionOnClick && !is_isEmpty(actionOnClick) || parentClickExpand || doubleClickExpand));
|
|
53286
53374
|
var hasExpandIcons = expandIcons !== undefined;
|
|
53287
53375
|
var children = data[childrenKey];
|
|
53288
53376
|
var hasChildren = children && children.length > 0;
|
|
@@ -53426,7 +53514,7 @@ var NodeContent = function NodeContent(props) {
|
|
|
53426
53514
|
}, contentDataProps()), {}, {
|
|
53427
53515
|
children: [onChange && renderCheckbox(), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
53428
53516
|
dir: config.direction,
|
|
53429
|
-
className:
|
|
53517
|
+
className: contentStyle.text,
|
|
53430
53518
|
onDoubleClick: onNodeDoubleClick,
|
|
53431
53519
|
onClick: handleNodeClick,
|
|
53432
53520
|
children: renderNode()
|
|
@@ -55503,6 +55591,7 @@ function Select(props0) {
|
|
|
55503
55591
|
renderItem: renderItem,
|
|
55504
55592
|
controlType: controlType,
|
|
55505
55593
|
onLoadMore: onLoadMore,
|
|
55594
|
+
keepScrollTop: !!filterText ? false : true,
|
|
55506
55595
|
isAnimationFinish: isAnimationFinish,
|
|
55507
55596
|
threshold: threshold,
|
|
55508
55597
|
onControlTypeChange: setControlType,
|
|
@@ -60159,6 +60248,7 @@ var extractHeightValue = function extractHeightValue(num) {
|
|
|
60159
60248
|
return undefined;
|
|
60160
60249
|
};
|
|
60161
60250
|
var scroll_table_Scroll = function Scroll(props) {
|
|
60251
|
+
var _scrollRef$current, _scrollRef$current2;
|
|
60162
60252
|
var containerRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
|
|
60163
60253
|
var scrollRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
|
|
60164
60254
|
var wrapperRef = useForkRef(scrollRef, props.wrapperRef);
|
|
@@ -60189,7 +60279,10 @@ var scroll_table_Scroll = function Scroll(props) {
|
|
|
60189
60279
|
flex: 1,
|
|
60190
60280
|
minWidth: 0,
|
|
60191
60281
|
minHeight: 0,
|
|
60192
|
-
|
|
60282
|
+
// 原生css sticky机制根据最近的父元素的overflow来决定是否sticky
|
|
60283
|
+
// isHeaderSticky: 这种场景非内滚的时候,设置scroll元素的overflow为initial
|
|
60284
|
+
// isEmptyContent: 这种场景,把scroll元素的overflow设置为hidden,把overflow: auto转交给下面的container元素
|
|
60285
|
+
overflow: props.isEmptyContent ? 'hidden' : props.isHeaderSticky && (scrollRef === null || scrollRef === void 0 || (_scrollRef$current = scrollRef.current) === null || _scrollRef$current === void 0 ? void 0 : _scrollRef$current.scrollHeight) === (scrollRef === null || scrollRef === void 0 || (_scrollRef$current2 = scrollRef.current) === null || _scrollRef$current2 === void 0 ? void 0 : _scrollRef$current2.clientHeight) ? 'initial' : 'auto',
|
|
60193
60286
|
width: '100%'
|
|
60194
60287
|
};
|
|
60195
60288
|
var containerStyle = {
|
|
@@ -60199,6 +60292,7 @@ var scroll_table_Scroll = function Scroll(props) {
|
|
|
60199
60292
|
position: 'sticky',
|
|
60200
60293
|
flexDirection: 'column',
|
|
60201
60294
|
top: 0,
|
|
60295
|
+
// isEmptyContent: overflow设置为auto是为了让empty元素可以sticky left:0 生效
|
|
60202
60296
|
overflow: props.isEmptyContent ? 'auto' : undefined
|
|
60203
60297
|
};
|
|
60204
60298
|
|
|
@@ -63454,6 +63548,7 @@ var emptyRef = {
|
|
|
63454
63548
|
defaultHeight: context.emptyHeight,
|
|
63455
63549
|
isScrollY: isScrollY,
|
|
63456
63550
|
isEmptyContent: !((_props$data4 = props.data) !== null && _props$data4 !== void 0 && _props$data4.length),
|
|
63551
|
+
isHeaderSticky: stickyProps === null || stickyProps === void 0 ? void 0 : stickyProps.css,
|
|
63457
63552
|
children: [!props.hideHeader && /*#__PURE__*/(0,jsx_runtime.jsx)(StickyWrapper, objectSpread2_default()(objectSpread2_default()({}, props.sticky ? stickyProps : {}), {}, {
|
|
63458
63553
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
63459
63554
|
className: headWrapperClass,
|
|
@@ -64588,7 +64683,7 @@ var tag_jssStyle = {
|
|
|
64588
64683
|
input: useInputStyle
|
|
64589
64684
|
};
|
|
64590
64685
|
var tag_Tag = function Tag(props) {
|
|
64591
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)(
|
|
64686
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)(src_tag_tag, objectSpread2_default()(objectSpread2_default()({}, props), {}, {
|
|
64592
64687
|
jssStyle: tag_jssStyle
|
|
64593
64688
|
}));
|
|
64594
64689
|
};
|
|
@@ -65952,17 +66047,28 @@ var TreeSelect = function TreeSelect(props0) {
|
|
|
65952
66047
|
var key = datum.getKey(data);
|
|
65953
66048
|
var isDisabled = datum === null || datum === void 0 ? void 0 : datum.isDisabled(key);
|
|
65954
66049
|
var isCheck = datum === null || datum === void 0 ? void 0 : datum.getChecked(key);
|
|
66050
|
+
var contentClass = '';
|
|
66051
|
+
if (props.contentClass) {
|
|
66052
|
+
if (isString(props.contentClass)) {
|
|
66053
|
+
contentClass = props.contentClass;
|
|
66054
|
+
}
|
|
66055
|
+
if (isFunc(props.contentClass)) {
|
|
66056
|
+
contentClass = props.contentClass(data);
|
|
66057
|
+
}
|
|
66058
|
+
}
|
|
65955
66059
|
if (isDisabled) {
|
|
65956
|
-
return classnames_default()(styles.optionDisabled);
|
|
66060
|
+
return classnames_default()(styles.optionDisabled, contentClass);
|
|
65957
66061
|
}
|
|
66062
|
+
var activeClassName = classnames_default()(styles.optionActive, contentClass);
|
|
66063
|
+
var inactiveClassName = classnames_default()(contentClass);
|
|
65958
66064
|
if (multiple) {
|
|
65959
|
-
return isCheck ?
|
|
66065
|
+
return isCheck ? activeClassName : inactiveClassName;
|
|
65960
66066
|
}
|
|
65961
66067
|
if (!isArray(value)) {
|
|
65962
66068
|
var currentData = getDataByValues(value);
|
|
65963
|
-
return currentData === data ?
|
|
66069
|
+
return currentData === data ? activeClassName : inactiveClassName;
|
|
65964
66070
|
}
|
|
65965
|
-
return
|
|
66071
|
+
return inactiveClassName;
|
|
65966
66072
|
};
|
|
65967
66073
|
var checkUnMatched = function checkUnMatched(item) {
|
|
65968
66074
|
return isUnMatchedData(item);
|
|
@@ -69898,7 +70004,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
69898
70004
|
|
|
69899
70005
|
|
|
69900
70006
|
/* harmony default export */ var src_0 = ({
|
|
69901
|
-
version: '3.7.0-beta.
|
|
70007
|
+
version: '3.7.0-beta.6'
|
|
69902
70008
|
});
|
|
69903
70009
|
}();
|
|
69904
70010
|
/******/ return __webpack_exports__;
|