shineout 3.3.0-beta.3 → 3.3.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +1 -1
- package/dist/shineout.js +48 -36
- 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
|
@@ -476,5 +476,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
476
476
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
477
477
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
478
478
|
var _default = exports.default = {
|
|
479
|
-
version: '3.3.0-beta.
|
|
479
|
+
version: '3.3.0-beta.4'
|
|
480
480
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -11960,7 +11960,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
11960
11960
|
};
|
|
11961
11961
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
11962
11962
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
11963
|
-
/* harmony default export */ var version = ('3.3.0-beta.
|
|
11963
|
+
/* harmony default export */ var version = ('3.3.0-beta.4');
|
|
11964
11964
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
11965
11965
|
|
|
11966
11966
|
|
|
@@ -12888,12 +12888,15 @@ var buttonTokens = {
|
|
|
12888
12888
|
buttonDangerTextSplitFocusBackgroundColor: 'Neutral-border-1',
|
|
12889
12889
|
buttonRoundBorderRadius: 'Radius-full',
|
|
12890
12890
|
buttonCircleBorderRadius: 'Radius-circle',
|
|
12891
|
+
buttonCircleSize: 'Size-16',
|
|
12891
12892
|
buttonSquareBorderRadius: 'Radius-default',
|
|
12892
12893
|
buttonSmallRoundBorderRadius: 'Radius-full',
|
|
12893
12894
|
buttonSmallCircleBorderRadius: 'Radius-circle',
|
|
12895
|
+
buttonSmallCircleSize: 'Size-12',
|
|
12894
12896
|
buttonSmallSquareBorderRadius: 'Radius-default',
|
|
12895
12897
|
buttonLargeRoundBorderRadius: 'Radius-full',
|
|
12896
12898
|
buttonLargeCircleBorderRadius: 'Radius-circle',
|
|
12899
|
+
buttonLargeCircleSize: 'Size-20',
|
|
12897
12900
|
buttonLargeSquareBorderRadius: 'Radius-default',
|
|
12898
12901
|
buttonNearlyMargin: 'Spacing-8',
|
|
12899
12902
|
buttonSpinMargin: 'Spacing-4'
|
|
@@ -12911,6 +12914,7 @@ var buttonTokens = {
|
|
|
12911
12914
|
var cardTokens = {
|
|
12912
12915
|
cardBackgroundColor: 'Neutral-fill-1',
|
|
12913
12916
|
cardShadow: 'Shadow-2',
|
|
12917
|
+
cardHoverShadow: 'Shadow-2',
|
|
12914
12918
|
cardBorderWidth: 'Border-1',
|
|
12915
12919
|
cardBorderColor: 'Neutral-border-1',
|
|
12916
12920
|
cardBorderRadius: 'Radius-default',
|
|
@@ -13135,26 +13139,27 @@ var collapseTokens = {
|
|
|
13135
13139
|
collapseExtraMargin: 'Spacing-24',
|
|
13136
13140
|
collapseWrapperBorderSize: 'Border-1',
|
|
13137
13141
|
collapseWrapperBorderRadius: 'Radius-default',
|
|
13142
|
+
collapseWrapperBorderColor: 'Neutral-border-1',
|
|
13138
13143
|
collapseWrapperGap: 'Size-12',
|
|
13139
13144
|
collapseWrapperPaddingX: 'Spacing-16',
|
|
13140
13145
|
collapseWrapperPaddingY: 'Spacing-12',
|
|
13146
|
+
collapseWrapperColor: 'Neutral-border-1',
|
|
13147
|
+
collapseWrapperBackgroundColor: 'Neutral-fill-1',
|
|
13148
|
+
collapseHeaderBorderColor: 'Neutral-border-1',
|
|
13141
13149
|
collapseHeaderLineHeight: 'Size-11',
|
|
13142
13150
|
collapseHeaderGap: 'Spacing-8',
|
|
13143
13151
|
collapseHeaderFontSize: 'Font-14',
|
|
13144
|
-
|
|
13152
|
+
collapseHeaderFontWeight: 'Weight-regular',
|
|
13145
13153
|
collapseHeaderIconWidth: 'Size-7',
|
|
13146
13154
|
collapseHeaderExtraGap: 'Size-5',
|
|
13155
|
+
collapseHeaderColor: 'Neutral-text-5',
|
|
13147
13156
|
collapseContentLineHeight: 'Size-11',
|
|
13148
13157
|
collapseContentGap: 'Spacing-24',
|
|
13149
13158
|
collapseContentPaddingY: 'Spacing-12',
|
|
13150
|
-
collapseContentFontSize: 'Font-14',
|
|
13151
|
-
collapseContentWeight: '400',
|
|
13152
13159
|
collapseContentPaddingLeft: 'Spacing-38',
|
|
13153
13160
|
collapseContentPaddingRight: 'Spacing-16',
|
|
13154
|
-
|
|
13155
|
-
|
|
13156
|
-
collapseWrapperBackgroundColor: 'Neutral-fill-1',
|
|
13157
|
-
collapseHeaderColor: 'Neutral-text-5',
|
|
13161
|
+
collapseContentFontSize: 'Font-14',
|
|
13162
|
+
collapseContentFontWeight: 'Weight-regular',
|
|
13158
13163
|
collapseContentColor: 'Neutral-text-4',
|
|
13159
13164
|
collapseContentBackgroundColor: 'Neutral-fill-2',
|
|
13160
13165
|
collapseDisabledColor: 'Neutral-text-2'
|
|
@@ -13755,8 +13760,11 @@ var modalTokens = {
|
|
|
13755
13760
|
|
|
13756
13761
|
var paginationTokens = {
|
|
13757
13762
|
paginationFontSize: 'Font-14',
|
|
13763
|
+
paginationFontWeight: 'Weight-regular',
|
|
13758
13764
|
paginationSmallFontSize: 'Font-12',
|
|
13765
|
+
paginationSmallFontWeight: 'Weight-regular',
|
|
13759
13766
|
paginationLargeFontSize: 'Font-16',
|
|
13767
|
+
paginationLargeFontWeight: 'Weight-regular',
|
|
13760
13768
|
paginationFontColor: 'Neutral-text-5',
|
|
13761
13769
|
paginationNearlyMargin: 'Spacing-8'
|
|
13762
13770
|
};
|
|
@@ -13781,8 +13789,8 @@ var popoverTokens = {
|
|
|
13781
13789
|
popoverBackgroundColor: 'Neutral-fill-1',
|
|
13782
13790
|
popoverShadow: 'Shadow-2',
|
|
13783
13791
|
popoverBorderColor: 'Neutral-border-1',
|
|
13784
|
-
popoverSuccessBackgroundColor: '
|
|
13785
|
-
popoverSuccessBorderColor: '
|
|
13792
|
+
popoverSuccessBackgroundColor: 'Success-1',
|
|
13793
|
+
popoverSuccessBorderColor: 'Success-2',
|
|
13786
13794
|
popoverWarningBackgroundColor: 'Warning-1',
|
|
13787
13795
|
popoverWarningBorderColor: 'Warning-2',
|
|
13788
13796
|
popoverInfoBackgroundColor: 'Brand-1',
|
|
@@ -15461,8 +15469,8 @@ var ButtonStyle = {
|
|
|
15461
15469
|
fontSize: src.buttonSmallFontSize,
|
|
15462
15470
|
padding: "".concat(src.buttonSmallPaddingY, " ").concat(src.buttonSmallPaddingX),
|
|
15463
15471
|
'&$circle,&$square': {
|
|
15464
|
-
width:
|
|
15465
|
-
height:
|
|
15472
|
+
width: src.buttonSmallCircleSize,
|
|
15473
|
+
height: src.buttonSmallCircleSize
|
|
15466
15474
|
}
|
|
15467
15475
|
},
|
|
15468
15476
|
large: {
|
|
@@ -15471,8 +15479,8 @@ var ButtonStyle = {
|
|
|
15471
15479
|
fontSize: src.buttonLargeFontSize,
|
|
15472
15480
|
padding: "".concat(src.buttonLargePaddingY, " ").concat(src.buttonLargePaddingX),
|
|
15473
15481
|
'&$circle,&$square': {
|
|
15474
|
-
width:
|
|
15475
|
-
height:
|
|
15482
|
+
width: src.buttonLargeCircleSize,
|
|
15483
|
+
height: src.buttonLargeCircleSize
|
|
15476
15484
|
}
|
|
15477
15485
|
},
|
|
15478
15486
|
default: objectSpread2_default()({}, button_button_button('Secondary', '')),
|
|
@@ -15527,14 +15535,14 @@ var ButtonStyle = {
|
|
|
15527
15535
|
borderRadius: src.buttonRoundBorderRadius
|
|
15528
15536
|
},
|
|
15529
15537
|
circle: {
|
|
15530
|
-
width:
|
|
15531
|
-
height:
|
|
15538
|
+
width: src.buttonCircleSize,
|
|
15539
|
+
height: src.buttonCircleSize,
|
|
15532
15540
|
padding: 0,
|
|
15533
15541
|
borderRadius: src.buttonCircleBorderRadius
|
|
15534
15542
|
},
|
|
15535
15543
|
square: {
|
|
15536
|
-
width:
|
|
15537
|
-
height:
|
|
15544
|
+
width: src.buttonCircleSize,
|
|
15545
|
+
height: src.buttonCircleSize,
|
|
15538
15546
|
padding: 0,
|
|
15539
15547
|
borderRadius: src.buttonSquareBorderRadius,
|
|
15540
15548
|
'& $spin': {
|
|
@@ -15732,7 +15740,7 @@ var cardStyle = {
|
|
|
15732
15740
|
wrapper: {
|
|
15733
15741
|
display: 'flex',
|
|
15734
15742
|
flexDirection: 'column',
|
|
15735
|
-
border: "
|
|
15743
|
+
border: "".concat(src.cardBorderWidth, " solid ").concat(src.cardBorderColor),
|
|
15736
15744
|
borderRadius: src.cardBorderRadius,
|
|
15737
15745
|
fontSize: src.cardFontSize,
|
|
15738
15746
|
lineHeight: src.lineHeightDynamic,
|
|
@@ -15746,7 +15754,7 @@ var cardStyle = {
|
|
|
15746
15754
|
wrapperInAccordion: {
|
|
15747
15755
|
border: 'none',
|
|
15748
15756
|
'& + &': {
|
|
15749
|
-
borderTop: "
|
|
15757
|
+
borderTop: "".concat(src.cardBorderWidth, " solid ").concat(src.cardBorderColor),
|
|
15750
15758
|
borderTopLeftRadius: 0,
|
|
15751
15759
|
borderTopRightRadius: 0
|
|
15752
15760
|
}
|
|
@@ -15757,7 +15765,7 @@ var cardStyle = {
|
|
|
15757
15765
|
wrapperHover: {
|
|
15758
15766
|
transition: 'box-shadow .2s linear',
|
|
15759
15767
|
'&:hover': {
|
|
15760
|
-
boxShadow: src.
|
|
15768
|
+
boxShadow: src.cardHoverShadow
|
|
15761
15769
|
}
|
|
15762
15770
|
},
|
|
15763
15771
|
wrapperResizable: {
|
|
@@ -15765,7 +15773,7 @@ var cardStyle = {
|
|
|
15765
15773
|
},
|
|
15766
15774
|
wrapperMoveable: {},
|
|
15767
15775
|
accordion: {
|
|
15768
|
-
border: "
|
|
15776
|
+
border: "".concat(src.cardBorderWidth, " solid ").concat(src.cardBorderColor),
|
|
15769
15777
|
borderRadius: src.cardBorderRadius
|
|
15770
15778
|
},
|
|
15771
15779
|
header: {
|
|
@@ -15818,7 +15826,7 @@ var cardStyle = {
|
|
|
15818
15826
|
},
|
|
15819
15827
|
body: {
|
|
15820
15828
|
'$wrapperSplit>$header+&, $wrapperSplit>$header+$bodyCollapse>&': {
|
|
15821
|
-
borderTop: "
|
|
15829
|
+
borderTop: "".concat(src.cardBorderWidth, " solid ").concat(src.cardBodyBorderColor)
|
|
15822
15830
|
},
|
|
15823
15831
|
padding: "".concat(src.cardBodyPaddingY, " ").concat(src.cardBodyPaddingX),
|
|
15824
15832
|
flex: 1,
|
|
@@ -15832,7 +15840,7 @@ var cardStyle = {
|
|
|
15832
15840
|
bodyCollapse: {},
|
|
15833
15841
|
footer: {
|
|
15834
15842
|
'$wrapperSplit>$body+&, $wrapperSplit>$bodyCollapse+&': {
|
|
15835
|
-
borderTop: "
|
|
15843
|
+
borderTop: "".concat(src.cardBorderWidth, " solid ").concat(src.cardFooterBorderColor)
|
|
15836
15844
|
},
|
|
15837
15845
|
padding: "".concat(src.cardFooterPaddingY, " ").concat(src.cardFooterPaddingX),
|
|
15838
15846
|
boxSizing: 'border-box'
|
|
@@ -17043,7 +17051,7 @@ var collapseStyle = {
|
|
|
17043
17051
|
var collapseItemStyle = {
|
|
17044
17052
|
wrapper: {
|
|
17045
17053
|
boxSizing: 'border-box',
|
|
17046
|
-
borderBottom: "".concat(src.collapseWrapperBorderSize, " solid ").concat(src.
|
|
17054
|
+
borderBottom: "".concat(src.collapseWrapperBorderSize, " solid ").concat(src.collapseHeaderBorderColor),
|
|
17047
17055
|
'&:last-child': {
|
|
17048
17056
|
borderBottom: 0
|
|
17049
17057
|
},
|
|
@@ -17064,7 +17072,7 @@ var collapseItemStyle = {
|
|
|
17064
17072
|
overflow: 'hidden',
|
|
17065
17073
|
gap: src.collapseHeaderGap,
|
|
17066
17074
|
fontSize: src.collapseHeaderFontSize,
|
|
17067
|
-
fontWeight: src.
|
|
17075
|
+
fontWeight: src.collapseHeaderFontWeight,
|
|
17068
17076
|
color: src.collapseHeaderColor,
|
|
17069
17077
|
padding: "".concat(src.collapseWrapperPaddingY, " ").concat(src.collapseWrapperPaddingX)
|
|
17070
17078
|
},
|
|
@@ -17139,7 +17147,7 @@ var collapseItemStyle = {
|
|
|
17139
17147
|
},
|
|
17140
17148
|
contentMain: {
|
|
17141
17149
|
color: src.collapseContentColor,
|
|
17142
|
-
fontWeight: src.
|
|
17150
|
+
fontWeight: src.collapseContentFontWeight,
|
|
17143
17151
|
lineHeight: src.lineHeightDynamic,
|
|
17144
17152
|
padding: "".concat(src.collapseContentPaddingY, " ").concat(src.collapseContentPaddingRight, " ").concat(src.collapseContentPaddingY, " ").concat(src.collapseContentPaddingLeft),
|
|
17145
17153
|
backgroundColor: src.collapseContentBackgroundColor,
|
|
@@ -19492,7 +19500,7 @@ var listStyle = {
|
|
|
19492
19500
|
flexDirection: 'column'
|
|
19493
19501
|
},
|
|
19494
19502
|
wrapperBordered: {
|
|
19495
|
-
border: "
|
|
19503
|
+
border: "".concat(src.listBorderWidth, " solid ").concat(src.listBorderColor),
|
|
19496
19504
|
borderRadius: src.listBorderRadius
|
|
19497
19505
|
},
|
|
19498
19506
|
wrapperSmall: {},
|
|
@@ -19550,7 +19558,7 @@ var listStyle = {
|
|
|
19550
19558
|
fontSize: src.listSmallFontSize
|
|
19551
19559
|
},
|
|
19552
19560
|
'$wrapperLarge &': {
|
|
19553
|
-
padding: "".concat(src.
|
|
19561
|
+
padding: "".concat(src.listLargeItemPaddingX, " ").concat(src.listLargeItemPaddingY),
|
|
19554
19562
|
fontSize: src.listLargeFontSize
|
|
19555
19563
|
}
|
|
19556
19564
|
},
|
|
@@ -20893,6 +20901,7 @@ var PaginationStyle = {
|
|
|
20893
20901
|
alignItems: 'center',
|
|
20894
20902
|
fontSize: src.paginationFontSize,
|
|
20895
20903
|
color: src.paginationFontColor,
|
|
20904
|
+
fontWeight: src.paginationFontWeight,
|
|
20896
20905
|
height: 'fit-content'
|
|
20897
20906
|
},
|
|
20898
20907
|
left: {
|
|
@@ -20932,11 +20941,15 @@ var PaginationStyle = {
|
|
|
20932
20941
|
sizeList: {},
|
|
20933
20942
|
simple: {},
|
|
20934
20943
|
small: {
|
|
20944
|
+
fontSize: src.paginationSmallFontSize,
|
|
20945
|
+
fontWeight: src.paginationSmallFontWeight,
|
|
20935
20946
|
'& $icon': {
|
|
20936
20947
|
width: src.paginationSmallFontSize
|
|
20937
20948
|
}
|
|
20938
20949
|
},
|
|
20939
20950
|
large: {
|
|
20951
|
+
fontSize: src.paginationLargeFontSize,
|
|
20952
|
+
fontWeight: src.paginationLargeFontWeight,
|
|
20940
20953
|
'& $icon': {
|
|
20941
20954
|
width: src.paginationLargeFontSize
|
|
20942
20955
|
}
|
|
@@ -25224,14 +25237,14 @@ var tabsStyle = {
|
|
|
25224
25237
|
right: 0,
|
|
25225
25238
|
left: 'auto',
|
|
25226
25239
|
height: '100%',
|
|
25227
|
-
background: src.
|
|
25240
|
+
background: src.tabsLineHrBackgroundColor
|
|
25228
25241
|
}
|
|
25229
25242
|
},
|
|
25230
25243
|
'[data-soui-position^="right-"] &': {
|
|
25231
25244
|
'&:after': {
|
|
25232
25245
|
width: 1,
|
|
25233
25246
|
height: '100%',
|
|
25234
|
-
background: src.
|
|
25247
|
+
background: src.tabsLineHrBackgroundColor
|
|
25235
25248
|
}
|
|
25236
25249
|
},
|
|
25237
25250
|
'&:not([data-soui-state="active"])': {
|
|
@@ -25242,7 +25255,7 @@ var tabsStyle = {
|
|
|
25242
25255
|
left: 0,
|
|
25243
25256
|
width: '100%',
|
|
25244
25257
|
height: 1,
|
|
25245
|
-
background: src.
|
|
25258
|
+
background: src.tabsLineHrBackgroundColor
|
|
25246
25259
|
}
|
|
25247
25260
|
},
|
|
25248
25261
|
'&:not([data-soui-state="active"]):not([data-soui-state="disabled"]):hover $lineInner': {
|
|
@@ -25288,10 +25301,10 @@ var tabsStyle = {
|
|
|
25288
25301
|
fontWeight: src.tabsFillFontWeight,
|
|
25289
25302
|
background: src.tabsFillBackgroundColor,
|
|
25290
25303
|
'&[data-soui-state="active"]': {
|
|
25291
|
-
color: src.tabsFillCheckedFontColor,
|
|
25292
25304
|
// fontSize: Token.tabsFillCheckedFontSize,
|
|
25293
|
-
fontWeight: src.tabsFillCheckedFontWeight,
|
|
25294
25305
|
'& $fillInner': {
|
|
25306
|
+
color: src.tabsFillCheckedFontColor,
|
|
25307
|
+
fontWeight: src.tabsFillCheckedFontWeight,
|
|
25295
25308
|
background: src.tabsFillCheckedBackgroundColor
|
|
25296
25309
|
}
|
|
25297
25310
|
},
|
|
@@ -48264,7 +48277,6 @@ var list_List = function List(props) {
|
|
|
48264
48277
|
});
|
|
48265
48278
|
};
|
|
48266
48279
|
var renderItem = function renderItem(item, index, key) {
|
|
48267
|
-
console.log('lineHeight', lineHeight);
|
|
48268
48280
|
return /*#__PURE__*/(0,jsx_runtime.jsx)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
|
|
48269
48281
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(list_option, {
|
|
48270
48282
|
datum: datum,
|
|
@@ -63300,7 +63312,7 @@ var upload_interface = __webpack_require__(4412);
|
|
|
63300
63312
|
|
|
63301
63313
|
|
|
63302
63314
|
/* harmony default export */ var src_0 = ({
|
|
63303
|
-
version: '3.3.0-beta.
|
|
63315
|
+
version: '3.3.0-beta.4'
|
|
63304
63316
|
});
|
|
63305
63317
|
}();
|
|
63306
63318
|
/******/ return __webpack_exports__;
|