shineout 3.6.3-beta.6 → 3.6.3-beta.8
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 +224 -140
- 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
|
@@ -514,5 +514,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
514
514
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
515
515
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
516
516
|
var _default = exports.default = {
|
|
517
|
-
version: '3.6.3-beta.
|
|
517
|
+
version: '3.6.3-beta.8'
|
|
518
518
|
};
|
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.6.3-beta.
|
|
12220
|
+
/* harmony default export */ var version = ('3.6.3-beta.8');
|
|
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
|
|
@@ -26965,115 +27059,106 @@ var useTabsStyle = styled(tabs_tabs, 'tabs');
|
|
|
26965
27059
|
;// CONCATENATED MODULE: ../shineout-style/src/tag/tag.ts
|
|
26966
27060
|
|
|
26967
27061
|
|
|
26968
|
-
|
|
27062
|
+
|
|
27063
|
+
var brightTag = function brightTag(name, type) {
|
|
26969
27064
|
return {
|
|
26970
|
-
|
|
26971
|
-
|
|
26972
|
-
|
|
26973
|
-
|
|
26974
|
-
|
|
26975
|
-
|
|
26976
|
-
|
|
26977
|
-
|
|
26978
|
-
|
|
26979
|
-
},
|
|
26980
|
-
'& $closeIcon': {
|
|
26981
|
-
// fill: Token[`tag${type}IconFontColor`],
|
|
26982
|
-
},
|
|
26983
|
-
'&[data-soui-type="dark"]': {
|
|
26984
|
-
'&$disabled': {
|
|
26985
|
-
backgroundColor: src.tagDefaultFillBackgroundColor,
|
|
26986
|
-
borderColor: src.tagDefaultFillBorderColor
|
|
26987
|
-
}
|
|
26988
|
-
},
|
|
27065
|
+
color: src["tag".concat(type, "FontColor")],
|
|
27066
|
+
backgroundColor: src["tag".concat(type, "BackgroundColor")],
|
|
27067
|
+
border: "1px solid ".concat(src["tag".concat(type, "BorderColor")]),
|
|
27068
|
+
'& $closeIconWrapper': {
|
|
27069
|
+
'&:hover': {
|
|
27070
|
+
backgroundColor: src["tag".concat(type, "IconHoverBackgroundColor")]
|
|
27071
|
+
}
|
|
27072
|
+
},
|
|
27073
|
+
'&[data-soui-type="dark"]': {
|
|
26989
27074
|
'&$disabled': {
|
|
26990
|
-
|
|
26991
|
-
|
|
26992
|
-
border: "1px solid ".concat(src["tag".concat(type, "DisabledBorderColor")]),
|
|
26993
|
-
'& $closeIconWrapper': {
|
|
26994
|
-
fill: src["tag".concat(type, "IconDisabledFontColor")],
|
|
26995
|
-
'&:hover': {
|
|
26996
|
-
backgroundColor: 'transparent'
|
|
26997
|
-
}
|
|
26998
|
-
}
|
|
27075
|
+
backgroundColor: src.tagDefaultFillBackgroundColor,
|
|
27076
|
+
borderColor: src.tagDefaultFillBorderColor
|
|
26999
27077
|
}
|
|
27000
27078
|
},
|
|
27001
|
-
'&$
|
|
27002
|
-
color: src["tag".concat(type, "
|
|
27003
|
-
backgroundColor: src["tag".concat(type, "
|
|
27004
|
-
border: "1px solid ".concat(src["tag".concat(type, "
|
|
27079
|
+
'&$disabled': {
|
|
27080
|
+
color: src["tag".concat(type, "DisabledFontColor")],
|
|
27081
|
+
backgroundColor: src["tag".concat(type, "DisabledBackgroundColor")],
|
|
27082
|
+
border: "1px solid ".concat(src["tag".concat(type, "DisabledBorderColor")]),
|
|
27005
27083
|
'& $closeIconWrapper': {
|
|
27006
|
-
fill: src["tag".concat(type, "
|
|
27084
|
+
fill: src["tag".concat(type, "IconDisabledFontColor")],
|
|
27007
27085
|
'&:hover': {
|
|
27008
|
-
|
|
27009
|
-
backgroundColor: src["tag".concat(type, "IconHoverBackgroundColor")]
|
|
27086
|
+
backgroundColor: 'transparent'
|
|
27010
27087
|
}
|
|
27011
|
-
}
|
|
27012
|
-
|
|
27013
|
-
|
|
27014
|
-
|
|
27015
|
-
|
|
27088
|
+
}
|
|
27089
|
+
}
|
|
27090
|
+
};
|
|
27091
|
+
};
|
|
27092
|
+
var fillTag = function fillTag(name, type) {
|
|
27093
|
+
return defineProperty_default()({}, "&$".concat(name), {
|
|
27094
|
+
color: src["tag".concat(type, "FillFontColor")],
|
|
27095
|
+
backgroundColor: src["tag".concat(type, "FillBackgroundColor")],
|
|
27096
|
+
border: "1px solid ".concat(src["tag".concat(type, "FillBorderColor")]),
|
|
27097
|
+
'& $closeIconWrapper': {
|
|
27098
|
+
color: src["tag".concat(type, "FillFontColor")],
|
|
27099
|
+
'&:hover': {
|
|
27100
|
+
backgroundColor: src["tag".concat(type, "FillIconHoverBackgroundColor")]
|
|
27101
|
+
}
|
|
27102
|
+
},
|
|
27103
|
+
'&$disabled': {
|
|
27104
|
+
color: src["tag".concat(type, "FillDisabledFontColor")],
|
|
27105
|
+
backgroundColor: src["tag".concat(type, "FillDisabledBackgroundColor")],
|
|
27106
|
+
border: "1px solid ".concat(src["tag".concat(type, "FillDisabledBorderColor")]),
|
|
27107
|
+
'& $closeIconWrapper': {
|
|
27016
27108
|
color: src["tag".concat(type, "FillDisabledFontColor")],
|
|
27017
|
-
|
|
27018
|
-
|
|
27019
|
-
|
|
27020
|
-
fill: src["tag".concat(type, "FillDisabledFontColor")],
|
|
27021
|
-
'&:hover': {
|
|
27022
|
-
fill: src["tag".concat(type, "FillFontColor")],
|
|
27023
|
-
backgroundColor: 'transparent'
|
|
27024
|
-
}
|
|
27109
|
+
'&:hover': {
|
|
27110
|
+
fill: src["tag".concat(type, "FillFontColor")],
|
|
27111
|
+
backgroundColor: 'transparent'
|
|
27025
27112
|
}
|
|
27026
27113
|
}
|
|
27114
|
+
}
|
|
27115
|
+
});
|
|
27116
|
+
};
|
|
27117
|
+
var outlineTag = function outlineTag(name, type) {
|
|
27118
|
+
return defineProperty_default()({}, "&$".concat(name), {
|
|
27119
|
+
background: src["tag".concat(type, "OutlineBackgroundColor")],
|
|
27120
|
+
color: src["tag".concat(type, "OutlineFontColor")],
|
|
27121
|
+
border: "1px solid ".concat(src["tag".concat(type, "OutlineBorderColor")]),
|
|
27122
|
+
'& $closeIconWrapper': {
|
|
27123
|
+
'&:hover': {
|
|
27124
|
+
backgroundColor: src["tag".concat(type, "BackgroundColor")]
|
|
27125
|
+
}
|
|
27027
27126
|
},
|
|
27028
|
-
|
|
27029
|
-
|
|
27030
|
-
|
|
27031
|
-
|
|
27032
|
-
border: "1px solid ".concat(src["tag".concat(type, "OutlineBorderColor")]),
|
|
27127
|
+
'&$disabled': {
|
|
27128
|
+
color: src["tag".concat(type, "OutlineDisabledFontColor")],
|
|
27129
|
+
backgroundColor: src["tag".concat(type, "OutlineDisabledBackgroundColor")],
|
|
27130
|
+
border: "1px solid ".concat(src["tag".concat(type, "OutlineDisabledBorderColor")]),
|
|
27033
27131
|
'& $closeIconWrapper': {
|
|
27034
|
-
|
|
27132
|
+
fill: src["tag".concat(type, "DisabledFontColor")],
|
|
27035
27133
|
'&:hover': {
|
|
27036
|
-
backgroundColor:
|
|
27037
|
-
}
|
|
27038
|
-
},
|
|
27039
|
-
'&$disabled': {
|
|
27040
|
-
color: src["tag".concat(type, "OutlineDisabledFontColor")],
|
|
27041
|
-
backgroundColor: src["tag".concat(type, "OutlineDisabledBackgroundColor")],
|
|
27042
|
-
border: "1px solid ".concat(src["tag".concat(type, "OutlineDisabledBorderColor")]),
|
|
27043
|
-
'& $closeIconWrapper': {
|
|
27044
|
-
fill: src["tag".concat(type, "DisabledFontColor")],
|
|
27045
|
-
'&:hover': {
|
|
27046
|
-
backgroundColor: 'transparent'
|
|
27047
|
-
}
|
|
27134
|
+
backgroundColor: 'transparent'
|
|
27048
27135
|
}
|
|
27049
27136
|
}
|
|
27137
|
+
}
|
|
27138
|
+
});
|
|
27139
|
+
};
|
|
27140
|
+
var brightOutlineTag = function brightOutlineTag(name, type) {
|
|
27141
|
+
return defineProperty_default()({}, "&$".concat(name), {
|
|
27142
|
+
color: src["tag".concat(type, "FontColor")],
|
|
27143
|
+
backgroundColor: src["tag".concat(type, "BackgroundColor")],
|
|
27144
|
+
border: "1px solid ".concat(src["tag".concat(type, "OutlineBorderColor")]),
|
|
27145
|
+
'& $closeIconWrapper': {
|
|
27146
|
+
'&:hover': {
|
|
27147
|
+
backgroundColor: src["tag".concat(type, "IconHoverBackgroundColor")]
|
|
27148
|
+
}
|
|
27050
27149
|
},
|
|
27051
|
-
|
|
27052
|
-
|
|
27053
|
-
|
|
27054
|
-
|
|
27055
|
-
border: "1px solid ".concat(src["tag".concat(type, "OutlineBorderColor")]),
|
|
27150
|
+
'&$disabled': {
|
|
27151
|
+
color: src["tag".concat(type, "DisabledFontColor")],
|
|
27152
|
+
backgroundColor: src["tag".concat(type, "DisabledBackgroundColor")],
|
|
27153
|
+
border: "1px solid ".concat(src["tag".concat(type, "OutlineDisabledBorderColor")]),
|
|
27056
27154
|
'& $closeIconWrapper': {
|
|
27155
|
+
fill: src["tag".concat(type, "IconDisabledFontColor")],
|
|
27057
27156
|
'&:hover': {
|
|
27058
|
-
backgroundColor:
|
|
27059
|
-
}
|
|
27060
|
-
},
|
|
27061
|
-
'&$disabled': {
|
|
27062
|
-
color: src["tag".concat(type, "DisabledFontColor")],
|
|
27063
|
-
backgroundColor: src["tag".concat(type, "DisabledBackgroundColor")],
|
|
27064
|
-
border: "1px solid ".concat(src["tag".concat(type, "OutlineDisabledBorderColor")]),
|
|
27065
|
-
'& $closeIconWrapper': {
|
|
27066
|
-
fill: src["tag".concat(type, "IconDisabledFontColor")],
|
|
27067
|
-
'&:hover': {
|
|
27068
|
-
backgroundColor: 'transparent'
|
|
27069
|
-
}
|
|
27157
|
+
backgroundColor: 'transparent'
|
|
27070
27158
|
}
|
|
27071
27159
|
}
|
|
27072
|
-
},
|
|
27073
|
-
'& $closeIcon': {
|
|
27074
|
-
fill: src["tag".concat(type, "FontColor")]
|
|
27075
27160
|
}
|
|
27076
|
-
};
|
|
27161
|
+
});
|
|
27077
27162
|
};
|
|
27078
27163
|
var TagStyle = {
|
|
27079
27164
|
rootClass: {},
|
|
@@ -27185,32 +27270,32 @@ var TagStyle = {
|
|
|
27185
27270
|
height: 12
|
|
27186
27271
|
}
|
|
27187
27272
|
},
|
|
27188
|
-
info: objectSpread2_default()({},
|
|
27189
|
-
default: objectSpread2_default()({},
|
|
27190
|
-
success: objectSpread2_default()({},
|
|
27191
|
-
warning: objectSpread2_default()({},
|
|
27192
|
-
danger: objectSpread2_default()({},
|
|
27193
|
-
brown: objectSpread2_default()({},
|
|
27194
|
-
magenta: objectSpread2_default()({},
|
|
27195
|
-
purple: objectSpread2_default()({},
|
|
27196
|
-
indigo: objectSpread2_default()({},
|
|
27197
|
-
cyan: objectSpread2_default()({},
|
|
27198
|
-
neon: objectSpread2_default()({},
|
|
27199
|
-
lemon: objectSpread2_default()({},
|
|
27200
|
-
tangerine: objectSpread2_default()({},
|
|
27201
|
-
fill: {},
|
|
27273
|
+
info: objectSpread2_default()({}, brightTag('info', 'Info')),
|
|
27274
|
+
default: objectSpread2_default()({}, brightTag('default', 'Default')),
|
|
27275
|
+
success: objectSpread2_default()({}, brightTag('success', 'Success')),
|
|
27276
|
+
warning: objectSpread2_default()({}, brightTag('warning', 'Warning')),
|
|
27277
|
+
danger: objectSpread2_default()({}, brightTag('danger', 'Danger')),
|
|
27278
|
+
brown: objectSpread2_default()({}, brightTag('brown', 'Brown')),
|
|
27279
|
+
magenta: objectSpread2_default()({}, brightTag('magenta', 'Magenta')),
|
|
27280
|
+
purple: objectSpread2_default()({}, brightTag('purple', 'Purple')),
|
|
27281
|
+
indigo: objectSpread2_default()({}, brightTag('indigo', 'Indigo')),
|
|
27282
|
+
cyan: objectSpread2_default()({}, brightTag('cyan', 'Cyan')),
|
|
27283
|
+
neon: objectSpread2_default()({}, brightTag('neon', 'Neon')),
|
|
27284
|
+
lemon: objectSpread2_default()({}, brightTag('lemon', 'Lemon')),
|
|
27285
|
+
tangerine: objectSpread2_default()({}, brightTag('tangerine', 'Tangerine')),
|
|
27286
|
+
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')),
|
|
27202
27287
|
bright: {},
|
|
27203
|
-
outline: {},
|
|
27204
|
-
brightOutline: {},
|
|
27288
|
+
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')),
|
|
27289
|
+
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')),
|
|
27205
27290
|
rounded: {
|
|
27206
27291
|
borderRadius: src.buttonRoundBorderRadius
|
|
27207
27292
|
}
|
|
27208
27293
|
};
|
|
27209
|
-
/* harmony default export */ var
|
|
27294
|
+
/* harmony default export */ var tag_tag = (TagStyle);
|
|
27210
27295
|
;// CONCATENATED MODULE: ../shineout-style/src/tag/index.ts
|
|
27211
27296
|
|
|
27212
27297
|
|
|
27213
|
-
var useTagStyle = styled(
|
|
27298
|
+
var useTagStyle = styled(tag_tag, 'tag');
|
|
27214
27299
|
|
|
27215
27300
|
/* harmony default export */ var shineout_style_src_tag = ((/* unused pure expression or super */ null && (useTagStyle)));
|
|
27216
27301
|
;// CONCATENATED MODULE: ../shineout-style/src/textarea/textarea.ts
|
|
@@ -28064,6 +28149,7 @@ var treeStyle = {
|
|
|
28064
28149
|
}
|
|
28065
28150
|
},
|
|
28066
28151
|
text: {
|
|
28152
|
+
cursor: 'pointer',
|
|
28067
28153
|
flex: 1,
|
|
28068
28154
|
minWidth: 0,
|
|
28069
28155
|
fontSize: src.treeFontSize,
|
|
@@ -28078,9 +28164,6 @@ var treeStyle = {
|
|
|
28078
28164
|
background: src.treeContentHoverBackgroundColor
|
|
28079
28165
|
}
|
|
28080
28166
|
},
|
|
28081
|
-
textClickable: {
|
|
28082
|
-
cursor: 'pointer'
|
|
28083
|
-
},
|
|
28084
28167
|
// textDisabled: {
|
|
28085
28168
|
// color: Token.treeItemDisabledFontColor,
|
|
28086
28169
|
// },
|
|
@@ -40142,7 +40225,7 @@ var Tag = function Tag(props) {
|
|
|
40142
40225
|
}));
|
|
40143
40226
|
};
|
|
40144
40227
|
Tag.Input = tag_input;
|
|
40145
|
-
/* harmony default export */ var
|
|
40228
|
+
/* harmony default export */ var src_tag_tag = (Tag);
|
|
40146
40229
|
;// CONCATENATED MODULE: ../base/src/select/result-more.tsx
|
|
40147
40230
|
|
|
40148
40231
|
|
|
@@ -40245,7 +40328,7 @@ var More = function More(props) {
|
|
|
40245
40328
|
}
|
|
40246
40329
|
if (showNum < 0 || showNum >= data.length) {
|
|
40247
40330
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
|
|
40248
|
-
children: [data, /*#__PURE__*/(0,jsx_runtime.jsx)(
|
|
40331
|
+
children: [data, /*#__PURE__*/(0,jsx_runtime.jsx)(src_tag_tag, {
|
|
40249
40332
|
className: styles.tag,
|
|
40250
40333
|
jssStyle: jssStyle,
|
|
40251
40334
|
size: size,
|
|
@@ -40266,7 +40349,7 @@ var More = function More(props) {
|
|
|
40266
40349
|
}
|
|
40267
40350
|
var renderCompressedTag = function renderCompressedTag() {
|
|
40268
40351
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
|
|
40269
|
-
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(
|
|
40352
|
+
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(src_tag_tag, {
|
|
40270
40353
|
className: styles.tag,
|
|
40271
40354
|
jssStyle: jssStyle,
|
|
40272
40355
|
size: size,
|
|
@@ -40481,7 +40564,7 @@ var result_Result = function Result(props) {
|
|
|
40481
40564
|
type: disabled === true ? 'dark' : undefined
|
|
40482
40565
|
})));
|
|
40483
40566
|
}
|
|
40484
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)(
|
|
40567
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)(src_tag_tag, objectSpread2_default()(objectSpread2_default()({
|
|
40485
40568
|
disabled: isDisabled,
|
|
40486
40569
|
size: size,
|
|
40487
40570
|
className: classnames_default()(styles.tag, more === 1 && styles.tagOnly, resultClassName),
|
|
@@ -53291,7 +53374,6 @@ var NodeContent = function NodeContent(props) {
|
|
|
53291
53374
|
var contentStyle = (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.tree()) || {};
|
|
53292
53375
|
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));
|
|
53293
53376
|
var contentClass = classnames_default()(contentStyle.content, isString(contentClassProp) && contentClassProp, isFunc(contentClassProp) && contentClassProp(data));
|
|
53294
|
-
var textClass = classnames_default()(contentStyle.text, defineProperty_default()({}, contentStyle.textClickable, actionOnClick && !is_isEmpty(actionOnClick) || parentClickExpand || doubleClickExpand));
|
|
53295
53377
|
var hasExpandIcons = expandIcons !== undefined;
|
|
53296
53378
|
var children = data[childrenKey];
|
|
53297
53379
|
var hasChildren = children && children.length > 0;
|
|
@@ -53435,7 +53517,7 @@ var NodeContent = function NodeContent(props) {
|
|
|
53435
53517
|
}, contentDataProps()), {}, {
|
|
53436
53518
|
children: [onChange && renderCheckbox(), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
53437
53519
|
dir: config.direction,
|
|
53438
|
-
className:
|
|
53520
|
+
className: contentStyle.text,
|
|
53439
53521
|
onDoubleClick: onNodeDoubleClick,
|
|
53440
53522
|
onClick: handleNodeClick,
|
|
53441
53523
|
children: renderNode()
|
|
@@ -64459,7 +64541,7 @@ var tag_jssStyle = {
|
|
|
64459
64541
|
input: useInputStyle
|
|
64460
64542
|
};
|
|
64461
64543
|
var tag_Tag = function Tag(props) {
|
|
64462
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)(
|
|
64544
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)(src_tag_tag, objectSpread2_default()(objectSpread2_default()({}, props), {}, {
|
|
64463
64545
|
jssStyle: tag_jssStyle
|
|
64464
64546
|
}));
|
|
64465
64547
|
};
|
|
@@ -65835,14 +65917,16 @@ var TreeSelect = function TreeSelect(props0) {
|
|
|
65835
65917
|
if (isDisabled) {
|
|
65836
65918
|
return classnames_default()(styles.optionDisabled, contentClass);
|
|
65837
65919
|
}
|
|
65920
|
+
var activeClassName = classnames_default()(styles.optionActive, contentClass);
|
|
65921
|
+
var inactiveClassName = classnames_default()(contentClass);
|
|
65838
65922
|
if (multiple) {
|
|
65839
|
-
return isCheck ?
|
|
65923
|
+
return isCheck ? activeClassName : inactiveClassName;
|
|
65840
65924
|
}
|
|
65841
65925
|
if (!isArray(value)) {
|
|
65842
65926
|
var currentData = getDataByValues(value);
|
|
65843
|
-
return currentData === data ?
|
|
65927
|
+
return currentData === data ? activeClassName : inactiveClassName;
|
|
65844
65928
|
}
|
|
65845
|
-
return
|
|
65929
|
+
return inactiveClassName;
|
|
65846
65930
|
};
|
|
65847
65931
|
var checkUnMatched = function checkUnMatched(item) {
|
|
65848
65932
|
return isUnMatchedData(item);
|
|
@@ -69778,7 +69862,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
69778
69862
|
|
|
69779
69863
|
|
|
69780
69864
|
/* harmony default export */ var src_0 = ({
|
|
69781
|
-
version: '3.6.3-beta.
|
|
69865
|
+
version: '3.6.3-beta.8'
|
|
69782
69866
|
});
|
|
69783
69867
|
}();
|
|
69784
69868
|
/******/ return __webpack_exports__;
|