shineout 3.3.0-beta.4 → 3.3.0-beta.5

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 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.4'
479
+ version: '3.3.0-beta.5'
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.4');
11963
+ /* harmony default export */ var version = ('3.3.0-beta.5');
11964
11964
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
11965
11965
 
11966
11966
 
@@ -13933,6 +13933,8 @@ var selectTokens = {
13933
13933
  selectPaddingY: 'Spacing-2',
13934
13934
  selectIconSize: 'Size-7',
13935
13935
  selectIconColor: 'Neutral-text-4',
13936
+ selectTagMarginY: 'Spacing-2',
13937
+ selectTagMarginRight: 'Spacing-4',
13936
13938
  selectSmallFontSize: 'Font-12',
13937
13939
  selectSmallPaddingX: 'Spacing-8',
13938
13940
  selectSmallPaddingY: 'Spacing-1',
@@ -14365,9 +14367,9 @@ var tagTokens = {
14365
14367
  tagSuccessDisabledFontColor: 'Success-3',
14366
14368
  tagSuccessDisabledBackgroundColor: 'Success-1',
14367
14369
  tagSuccessDisabledBorderColor: 'Success-1',
14368
- tagSuccessOutlineFontColor: 'Success-5',
14370
+ tagSuccessOutlineFontColor: 'Success-6',
14369
14371
  tagSuccessOutlineBackgroundColor: 'Neutral-fill-1',
14370
- tagSuccessOutlineBorderColor: 'Success-5',
14372
+ tagSuccessOutlineBorderColor: 'Success-6',
14371
14373
  tagSuccessOutlineDisabledFontColor: 'Success-3',
14372
14374
  tagSuccessOutlineDisabledBackgroundColor: 'Neutral-fill-1',
14373
14375
  tagSuccessOutlineDisabledBorderColor: 'Success-3',
@@ -14383,9 +14385,9 @@ var tagTokens = {
14383
14385
  tagWarningDisabledFontColor: 'Warning-3',
14384
14386
  tagWarningDisabledBackgroundColor: 'Warning-1',
14385
14387
  tagWarningDisabledBorderColor: 'Warning-1',
14386
- tagWarningOutlineFontColor: 'Warning-5',
14388
+ tagWarningOutlineFontColor: 'Warning-6',
14387
14389
  tagWarningOutlineBackgroundColor: 'Neutral-fill-1',
14388
- tagWarningOutlineBorderColor: 'Warning-5',
14390
+ tagWarningOutlineBorderColor: 'Warning-6',
14389
14391
  tagWarningOutlineDisabledFontColor: 'Warning-3',
14390
14392
  tagWarningOutlineDisabledBackgroundColor: 'Neutral-fill-1',
14391
14393
  tagWarningOutlineDisabledBorderColor: 'Warning-3',
@@ -14401,9 +14403,9 @@ var tagTokens = {
14401
14403
  tagDangerDisabledFontColor: 'Danger-3',
14402
14404
  tagDangerDisabledBackgroundColor: 'Danger-1',
14403
14405
  tagDangerDisabledBorderColor: 'Danger-1',
14404
- tagDangerOutlineFontColor: 'Danger-5',
14406
+ tagDangerOutlineFontColor: 'Danger-6',
14405
14407
  tagDangerOutlineBackgroundColor: 'Neutral-fill-1',
14406
- tagDangerOutlineBorderColor: 'Danger-5',
14408
+ tagDangerOutlineBorderColor: 'Danger-6',
14407
14409
  tagDangerOutlineDisabledFontColor: 'Danger-3',
14408
14410
  tagDangerOutlineDisabledBackgroundColor: 'Neutral-fill-1',
14409
14411
  tagDangerOutlineDisabledBorderColor: 'Danger-3',
@@ -14419,9 +14421,9 @@ var tagTokens = {
14419
14421
  tagMagentaDisabledFontColor: 'Magenta-3',
14420
14422
  tagMagentaDisabledBackgroundColor: 'Magenta-1',
14421
14423
  tagMagentaDisabledBorderColor: 'Magenta-1',
14422
- tagMagentaOutlineFontColor: 'Magenta-5',
14424
+ tagMagentaOutlineFontColor: 'Magenta-6',
14423
14425
  tagMagentaOutlineBackgroundColor: 'Neutral-fill-1',
14424
- tagMagentaOutlineBorderColor: 'Magenta-5',
14426
+ tagMagentaOutlineBorderColor: 'Magenta-6',
14425
14427
  tagMagentaOutlineDisabledFontColor: 'Magenta-3',
14426
14428
  tagMagentaOutlineDisabledBackgroundColor: 'Neutral-fill-1',
14427
14429
  tagMagentaOutlineDisabledBorderColor: 'Magenta-3',
@@ -14437,9 +14439,9 @@ var tagTokens = {
14437
14439
  tagBrownDisabledFontColor: 'Orange-3',
14438
14440
  tagBrownDisabledBackgroundColor: 'Orange-1',
14439
14441
  tagBrownDisabledBorderColor: 'Orange-1',
14440
- tagBrownOutlineFontColor: 'Orange-5',
14442
+ tagBrownOutlineFontColor: 'Orange-6',
14441
14443
  tagBrownOutlineBackgroundColor: 'Neutral-fill-1',
14442
- tagBrownOutlineBorderColor: 'Orange-5',
14444
+ tagBrownOutlineBorderColor: 'Orange-6',
14443
14445
  tagBrownOutlineDisabledFontColor: 'Orange-3',
14444
14446
  tagBrownOutlineDisabledBackgroundColor: 'Neutral-fill-1',
14445
14447
  tagBrownOutlineDisabledBorderColor: 'Orange-3',
@@ -14455,9 +14457,9 @@ var tagTokens = {
14455
14457
  tagPurpleDisabledFontColor: 'Purple-3',
14456
14458
  tagPurpleDisabledBackgroundColor: 'Purple-1',
14457
14459
  tagPurpleDisabledBorderColor: 'Purple-1',
14458
- tagPurpleOutlineFontColor: 'Purple-5',
14460
+ tagPurpleOutlineFontColor: 'Purple-6',
14459
14461
  tagPurpleOutlineBackgroundColor: 'Neutral-fill-1',
14460
- tagPurpleOutlineBorderColor: 'Purple-5',
14462
+ tagPurpleOutlineBorderColor: 'Purple-6',
14461
14463
  tagPurpleOutlineDisabledFontColor: 'Purple-3',
14462
14464
  tagPurpleOutlineDisabledBackgroundColor: 'Neutral-fill-1',
14463
14465
  tagPurpleOutlineDisabledBorderColor: 'Purple-3',
@@ -14473,9 +14475,9 @@ var tagTokens = {
14473
14475
  tagIndigoDisabledFontColor: 'Indigo-3',
14474
14476
  tagIndigoDisabledBackgroundColor: 'Indigo-1',
14475
14477
  tagIndigoDisabledBorderColor: 'Indigo-1',
14476
- tagIndigoOutlineFontColor: 'Indigo-5',
14478
+ tagIndigoOutlineFontColor: 'Indigo-6',
14477
14479
  tagIndigoOutlineBackgroundColor: 'Neutral-fill-1',
14478
- tagIndigoOutlineBorderColor: 'Indigo-5',
14480
+ tagIndigoOutlineBorderColor: 'Indigo-6',
14479
14481
  tagIndigoOutlineDisabledFontColor: 'Indigo-3',
14480
14482
  tagIndigoOutlineDisabledBackgroundColor: 'Neutral-fill-1',
14481
14483
  tagIndigoOutlineDisabledBorderColor: 'Indigo-3',
@@ -14491,9 +14493,9 @@ var tagTokens = {
14491
14493
  tagCyanDisabledFontColor: 'Cyan-3',
14492
14494
  tagCyanDisabledBackgroundColor: 'Cyan-1',
14493
14495
  tagCyanDisabledBorderColor: 'Cyan-1',
14494
- tagCyanOutlineFontColor: 'Cyan-5',
14496
+ tagCyanOutlineFontColor: 'Cyan-6',
14495
14497
  tagCyanOutlineBackgroundColor: 'Neutral-fill-1',
14496
- tagCyanOutlineBorderColor: 'Cyan-5',
14498
+ tagCyanOutlineBorderColor: 'Cyan-6',
14497
14499
  tagCyanOutlineDisabledFontColor: 'Cyan-3',
14498
14500
  tagCyanOutlineDisabledBackgroundColor: 'Neutral-fill-1',
14499
14501
  tagCyanOutlineDisabledBorderColor: 'Cyan-3',
@@ -14509,9 +14511,9 @@ var tagTokens = {
14509
14511
  tagNeonDisabledFontColor: 'Neon-3',
14510
14512
  tagNeonDisabledBackgroundColor: 'Neon-1',
14511
14513
  tagNeonDisabledBorderColor: 'Neon-1',
14512
- tagNeonOutlineFontColor: 'Neon-5',
14514
+ tagNeonOutlineFontColor: 'Neon-6',
14513
14515
  tagNeonOutlineBackgroundColor: 'Neutral-fill-1',
14514
- tagNeonOutlineBorderColor: 'Neon-5',
14516
+ tagNeonOutlineBorderColor: 'Neon-6',
14515
14517
  tagNeonOutlineDisabledFontColor: 'Neon-3',
14516
14518
  tagNeonOutlineDisabledBackgroundColor: 'Neutral-fill-1',
14517
14519
  tagNeonOutlineDisabledBorderColor: 'Neon-3',
@@ -14527,9 +14529,9 @@ var tagTokens = {
14527
14529
  tagLemonDisabledFontColor: 'Lemon-3',
14528
14530
  tagLemonDisabledBackgroundColor: 'Lemon-1',
14529
14531
  tagLemonDisabledBorderColor: 'Lemon-1',
14530
- tagLemonOutlineFontColor: 'Lemon-5',
14532
+ tagLemonOutlineFontColor: 'Lemon-6',
14531
14533
  tagLemonOutlineBackgroundColor: 'Neutral-fill-1',
14532
- tagLemonOutlineBorderColor: 'Lemon-5',
14534
+ tagLemonOutlineBorderColor: 'Lemon-6',
14533
14535
  tagLemonOutlineDisabledFontColor: 'Lemon-3',
14534
14536
  tagLemonOutlineDisabledBackgroundColor: 'Neutral-fill-1',
14535
14537
  tagLemonOutlineDisabledBorderColor: 'Lemon-3',
@@ -14545,9 +14547,9 @@ var tagTokens = {
14545
14547
  tagTangerineDisabledFontColor: 'Tangerine-3',
14546
14548
  tagTangerineDisabledBackgroundColor: 'Tangerine-1',
14547
14549
  tagTangerineDisabledBorderColor: 'Tangerine-1',
14548
- tagTangerineOutlineFontColor: 'Tangerine-5',
14550
+ tagTangerineOutlineFontColor: 'Tangerine-6',
14549
14551
  tagTangerineOutlineBackgroundColor: 'Neutral-fill-1',
14550
- tagTangerineOutlineBorderColor: 'Tangerine-5',
14552
+ tagTangerineOutlineBorderColor: 'Tangerine-6',
14551
14553
  tagTangerineOutlineDisabledFontColor: 'Tangerine-3',
14552
14554
  tagTangerineOutlineDisabledBackgroundColor: 'Neutral-fill-1',
14553
14555
  tagTangerineOutlineDisabledBorderColor: 'Tangerine-3',
@@ -14560,11 +14562,11 @@ var tagTokens = {
14560
14562
  tagFontSize: 'Font-12',
14561
14563
  tagBorderRadius: 'Radius-small',
14562
14564
  tagPaddingX: 'Spacing-6',
14563
- tagPaddingY: 'Spacing-2',
14565
+ tagPaddingY: 'Spacing-0',
14564
14566
  tagHeight: 'Size-11',
14565
14567
  tagFontWeight: 'Weight-regular',
14566
14568
  tagSmallFontSize: 'Font-12',
14567
- tagSmallBorderRadius: 'Radius-lesser',
14569
+ tagSmallBorderRadius: 'Radius-small',
14568
14570
  tagSmallPaddingX: 'Spacing-4',
14569
14571
  tagSmallHeight: 'Size-10',
14570
14572
  tagSmallFontWeight: 'Weight-regular',
@@ -16846,11 +16848,13 @@ var cascaderStyle = objectSpread2_default()(objectSpread2_default()({
16846
16848
  optionIcon: {
16847
16849
  position: 'absolute',
16848
16850
  right: 8,
16849
- top: 9,
16851
+ top: 0,
16852
+ bottom: 0,
16850
16853
  fontSize: src.cascaderFontSize,
16851
16854
  color: src.cascaderOptionIconColor,
16852
- lineHeight: 0,
16853
- verticalAlign: 'middle',
16855
+ display: 'flex',
16856
+ alignItems: 'center',
16857
+ justifyContent: 'center',
16854
16858
  '& svg': {
16855
16859
  verticalAlign: 'middle',
16856
16860
  width: 14
@@ -22034,9 +22038,9 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
22034
22038
  marginLeft: 0
22035
22039
  },
22036
22040
  maxWidth: '80%',
22037
- marginRight: 4,
22038
- marginTop: src.selectPlaceholderMarginY,
22039
- marginBottom: src.selectPlaceholderMarginY,
22041
+ marginRight: src.selectTagMarginRight,
22042
+ marginTop: src.selectTagMarginY,
22043
+ marginBottom: src.selectTagMarginY,
22040
22044
  textWrap: 'nowrap',
22041
22045
  '&$hideTag': {
22042
22046
  marginRight: 0
@@ -25539,7 +25543,7 @@ var tag_tag = function tag(type) {
25539
25543
  var TagStyle = {
25540
25544
  tag: {
25541
25545
  display: 'inline-flex',
25542
- padding: "0 ".concat(src.tagPaddingX),
25546
+ padding: "".concat(src.tagPaddingY, " ").concat(src.tagPaddingX),
25543
25547
  fontSize: src.tagFontSize,
25544
25548
  fontWeight: src.tagFontWeight,
25545
25549
  borderRadius: src.tagBorderRadius,
@@ -25571,6 +25575,7 @@ var TagStyle = {
25571
25575
  fontSize: src.tagLargeFontSize,
25572
25576
  lineHeight: "calc(".concat(src.tagLargeFontSize, " + 8px)"),
25573
25577
  fontWeight: src.tagLargeFontWeight,
25578
+ borderRadius: src.tagLargeBorderRadius,
25574
25579
  padding: "".concat(src.tagLargePaddingY, " ").concat(src.tagLargePaddingX),
25575
25580
  '& $closeIconWrapper': {
25576
25581
  '& svg': {
@@ -25580,9 +25585,11 @@ var TagStyle = {
25580
25585
  }
25581
25586
  },
25582
25587
  small: {
25588
+ fontSize: src.tagSmallFontSize,
25583
25589
  lineHeight: "calc(".concat(src.tagSmallFontSize, " + 6px)"),
25584
25590
  padding: "0 ".concat(src.tagSmallPaddingX),
25585
25591
  fontWeight: src.tagSmallFontWeight,
25592
+ borderRadius: src.tagSmallBorderRadius,
25586
25593
  '& $container': {
25587
25594
  lineHeight: "calc(".concat(src.tagSmallFontSize, " + 6px)")
25588
25595
  },
@@ -63312,7 +63319,7 @@ var upload_interface = __webpack_require__(4412);
63312
63319
 
63313
63320
 
63314
63321
  /* harmony default export */ var src_0 = ({
63315
- version: '3.3.0-beta.4'
63322
+ version: '3.3.0-beta.5'
63316
63323
  });
63317
63324
  }();
63318
63325
  /******/ return __webpack_exports__;