shineout 3.10.0-beta.4 → 3.10.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 +96 -144
- 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
|
@@ -537,5 +537,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
537
537
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
538
538
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
539
539
|
var _default = exports.default = {
|
|
540
|
-
version: '3.10.0-beta.
|
|
540
|
+
version: '3.10.0-beta.6'
|
|
541
541
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12336,7 +12336,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12336
12336
|
};
|
|
12337
12337
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12338
12338
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12339
|
-
/* harmony default export */ var version = ('3.10.0-beta.
|
|
12339
|
+
/* harmony default export */ var version = ('3.10.0-beta.6');
|
|
12340
12340
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12341
12341
|
|
|
12342
12342
|
|
|
@@ -25861,7 +25861,7 @@ var stepsStyle = {
|
|
|
25861
25861
|
left: -12
|
|
25862
25862
|
},
|
|
25863
25863
|
'& $step:not(:last-child)': {
|
|
25864
|
-
'&$
|
|
25864
|
+
'&$withDescription': {
|
|
25865
25865
|
'&:after': {
|
|
25866
25866
|
borderLeftWidth: 22,
|
|
25867
25867
|
borderTopWidth: 28,
|
|
@@ -25906,7 +25906,7 @@ var stepsStyle = {
|
|
|
25906
25906
|
}
|
|
25907
25907
|
},
|
|
25908
25908
|
'& $step:last-child': {
|
|
25909
|
-
'&$
|
|
25909
|
+
'&$withDescription': {
|
|
25910
25910
|
'&:before': {
|
|
25911
25911
|
borderLeftWidth: 22,
|
|
25912
25912
|
borderTopWidth: 28,
|
|
@@ -26009,7 +26009,7 @@ var stepsStyle = {
|
|
|
26009
26009
|
large: {
|
|
26010
26010
|
'&$arrow': {
|
|
26011
26011
|
'& $step:not(:last-child)': {
|
|
26012
|
-
'&$
|
|
26012
|
+
'&$withDescription': {
|
|
26013
26013
|
'&:after': {
|
|
26014
26014
|
top: 0,
|
|
26015
26015
|
width: 30,
|
|
@@ -26057,7 +26057,7 @@ var stepsStyle = {
|
|
|
26057
26057
|
}
|
|
26058
26058
|
},
|
|
26059
26059
|
'& $step:last-child': {
|
|
26060
|
-
'&$
|
|
26060
|
+
'&$withDescription': {
|
|
26061
26061
|
'&:before': {
|
|
26062
26062
|
borderLeftWidth: 30,
|
|
26063
26063
|
borderTopWidth: 36,
|
|
@@ -26435,88 +26435,74 @@ var stepsStyle = {
|
|
|
26435
26435
|
'& $title': {}
|
|
26436
26436
|
}
|
|
26437
26437
|
},
|
|
26438
|
-
|
|
26439
|
-
position: '
|
|
26440
|
-
|
|
26441
|
-
|
|
26442
|
-
|
|
26438
|
+
arrowIcon: {
|
|
26439
|
+
position: 'absolute',
|
|
26440
|
+
top: 0,
|
|
26441
|
+
right: 0.25,
|
|
26442
|
+
bottom: 0,
|
|
26443
|
+
transform: 'translateX(100%)',
|
|
26444
|
+
zIndex: 1,
|
|
26445
|
+
'@media (min-resolution: 2dppx)': {
|
|
26446
|
+
right: 0
|
|
26443
26447
|
},
|
|
26444
|
-
'&
|
|
26445
|
-
|
|
26446
|
-
|
|
26447
|
-
|
|
26448
|
-
|
|
26449
|
-
|
|
26450
|
-
|
|
26451
|
-
|
|
26452
|
-
|
|
26453
|
-
|
|
26454
|
-
|
|
26455
|
-
|
|
26456
|
-
borderBottomWidth: 20,
|
|
26457
|
-
borderLeftColor: '#ffffff'
|
|
26448
|
+
'$withDescription &': {
|
|
26449
|
+
transform: 'translateX(calc(100% - 0.5px))',
|
|
26450
|
+
'@media (min-resolution: 2dppx)': {
|
|
26451
|
+
transform: 'translateX(100%)'
|
|
26452
|
+
}
|
|
26453
|
+
},
|
|
26454
|
+
'& > svg': {
|
|
26455
|
+
display: 'block',
|
|
26456
|
+
height: '100%',
|
|
26457
|
+
color: src.stepsFinishBackgroundColor,
|
|
26458
|
+
'$process &': {
|
|
26459
|
+
color: src.stepsProcessBackgroundColor
|
|
26458
26460
|
},
|
|
26459
|
-
'&
|
|
26460
|
-
|
|
26461
|
+
'$wait &': {
|
|
26462
|
+
color: src.stepsWaitBackgroundColor
|
|
26461
26463
|
},
|
|
26462
|
-
'
|
|
26463
|
-
|
|
26464
|
+
'&:last-child': {
|
|
26465
|
+
position: 'relative'
|
|
26464
26466
|
},
|
|
26465
|
-
|
|
26466
|
-
'&:after': {
|
|
26467
|
-
content: '""',
|
|
26467
|
+
'&:first-child': {
|
|
26468
26468
|
position: 'absolute',
|
|
26469
|
-
width: 0,
|
|
26470
|
-
height: 0,
|
|
26471
26469
|
top: 0,
|
|
26472
|
-
|
|
26473
|
-
|
|
26474
|
-
|
|
26475
|
-
|
|
26476
|
-
|
|
26477
|
-
|
|
26478
|
-
right: -16
|
|
26479
|
-
},
|
|
26480
|
-
'&[dir=rtl]:after': {
|
|
26481
|
-
left: -16
|
|
26470
|
+
left: 4,
|
|
26471
|
+
color: 'white',
|
|
26472
|
+
'$arrow[dir=rtl] &': {
|
|
26473
|
+
right: 4,
|
|
26474
|
+
left: 'auto'
|
|
26475
|
+
}
|
|
26482
26476
|
}
|
|
26483
26477
|
},
|
|
26478
|
+
'$step:last-child &': {
|
|
26479
|
+
display: 'none'
|
|
26480
|
+
},
|
|
26481
|
+
'$arrow[dir=rtl] &': {
|
|
26482
|
+
left: '0.25px',
|
|
26483
|
+
right: 'auto',
|
|
26484
|
+
transform: 'translateX(-100%)',
|
|
26485
|
+
'& > svg': {
|
|
26486
|
+
transform: "rotate(180deg)"
|
|
26487
|
+
}
|
|
26488
|
+
}
|
|
26489
|
+
},
|
|
26490
|
+
arrow: {
|
|
26491
|
+
position: 'relative',
|
|
26492
|
+
'& $step': {
|
|
26493
|
+
marginRight: 4,
|
|
26494
|
+
paddingLeft: src.stepsArrowPaddingX
|
|
26495
|
+
},
|
|
26484
26496
|
'&$horizontal': {
|
|
26485
26497
|
'& $horizontalLabel $title:after': {
|
|
26486
26498
|
display: 'none'
|
|
26487
26499
|
}
|
|
26488
26500
|
},
|
|
26489
26501
|
'& $step:first-child': {
|
|
26490
|
-
padding: 0
|
|
26491
|
-
'&:before': {
|
|
26492
|
-
display: 'none'
|
|
26493
|
-
},
|
|
26494
|
-
'&$widthDescription': {
|
|
26495
|
-
'&:after': {
|
|
26496
|
-
borderLeftWidth: 26,
|
|
26497
|
-
borderTopWidth: 32,
|
|
26498
|
-
borderBottomWidth: 32
|
|
26499
|
-
},
|
|
26500
|
-
'&[dir=ltr]:after': {
|
|
26501
|
-
right: -26
|
|
26502
|
-
},
|
|
26503
|
-
'&[dir=rtl]:after': {
|
|
26504
|
-
left: -26
|
|
26505
|
-
}
|
|
26506
|
-
}
|
|
26502
|
+
padding: 0
|
|
26507
26503
|
},
|
|
26508
26504
|
'& $step:last-child': {
|
|
26509
|
-
paddingRight: 0
|
|
26510
|
-
'&:after': {
|
|
26511
|
-
display: 'none'
|
|
26512
|
-
},
|
|
26513
|
-
'&$widthDescription': {
|
|
26514
|
-
'&:before': {
|
|
26515
|
-
borderLeftWidth: 26,
|
|
26516
|
-
borderTopWidth: 32,
|
|
26517
|
-
borderBottomWidth: 32
|
|
26518
|
-
}
|
|
26519
|
-
}
|
|
26505
|
+
paddingRight: 0
|
|
26520
26506
|
},
|
|
26521
26507
|
'& $description': {
|
|
26522
26508
|
paddingRight: 0,
|
|
@@ -26531,84 +26517,30 @@ var stepsStyle = {
|
|
|
26531
26517
|
width: '100%'
|
|
26532
26518
|
},
|
|
26533
26519
|
'& $finish': {
|
|
26534
|
-
backgroundColor: src.stepsFinishBackgroundColor
|
|
26535
|
-
'&:after': {
|
|
26536
|
-
borderLeft: "16px solid ".concat(src.stepsFinishBackgroundColor),
|
|
26537
|
-
borderTop: "20px solid transparent",
|
|
26538
|
-
borderBottom: "20px solid transparent"
|
|
26539
|
-
},
|
|
26540
|
-
'&:before': {
|
|
26541
|
-
// borderLeft: `16px solid #ffffff`,
|
|
26542
|
-
// borderTop: `20px solid transparent`,
|
|
26543
|
-
// borderBottom: `20px solid transparent`,
|
|
26544
|
-
}
|
|
26520
|
+
backgroundColor: src.stepsFinishBackgroundColor
|
|
26545
26521
|
},
|
|
26546
26522
|
'& $process': {
|
|
26547
26523
|
color: src.stepsProcessFontColor,
|
|
26548
26524
|
backgroundColor: src.stepsProcessBackgroundColor,
|
|
26549
26525
|
'& $description': {
|
|
26550
26526
|
color: src.stepsProcessFontColor
|
|
26551
|
-
},
|
|
26552
|
-
'&:after': {
|
|
26553
|
-
borderLeft: "16px solid ".concat(src.stepsProcessBackgroundColor),
|
|
26554
|
-
borderTop: "20px solid transparent",
|
|
26555
|
-
borderBottom: "20px solid transparent"
|
|
26556
|
-
},
|
|
26557
|
-
'&[dir=ltr]:after': {
|
|
26558
|
-
right: -16
|
|
26559
|
-
},
|
|
26560
|
-
'&[dir=rtl]:after': {
|
|
26561
|
-
left: -16
|
|
26562
|
-
},
|
|
26563
|
-
'&:before': {
|
|
26564
|
-
borderLeft: "16px solid #ffffff",
|
|
26565
|
-
borderTop: "20px solid transparent",
|
|
26566
|
-
borderBottom: "20px solid transparent"
|
|
26567
26527
|
}
|
|
26568
26528
|
},
|
|
26569
26529
|
'& $wait': {
|
|
26570
26530
|
color: src.stepsWaitFontColor,
|
|
26571
26531
|
// backgroundColor: Token.stepsWaitBackgroundColor,
|
|
26572
|
-
backgroundColor: src.stepsWaitBackgroundColor
|
|
26573
|
-
'&:after': {
|
|
26574
|
-
borderLeft: "16px solid ".concat(src.stepsWaitBackgroundColor),
|
|
26575
|
-
borderTop: "20px solid transparent",
|
|
26576
|
-
borderBottom: "20px solid transparent"
|
|
26577
|
-
},
|
|
26578
|
-
'&:before': {
|
|
26579
|
-
borderLeft: "16px solid #ffffff",
|
|
26580
|
-
borderTop: "20px solid transparent",
|
|
26581
|
-
borderBottom: "20px solid transparent"
|
|
26582
|
-
}
|
|
26532
|
+
backgroundColor: src.stepsWaitBackgroundColor
|
|
26583
26533
|
},
|
|
26584
|
-
'& $
|
|
26534
|
+
'& $withDescription': {
|
|
26585
26535
|
'& $content,$description': {
|
|
26586
26536
|
textAlign: 'left'
|
|
26587
26537
|
},
|
|
26588
26538
|
'& $title': {
|
|
26589
26539
|
marginBottom: src.stepsDescriptionTitleMarginX
|
|
26590
|
-
},
|
|
26591
|
-
'&$process,$finish,$wait': {
|
|
26592
|
-
'&:after': {
|
|
26593
|
-
borderLeftWidth: 26,
|
|
26594
|
-
borderTopWidth: 32,
|
|
26595
|
-
borderBottomWidth: 32
|
|
26596
|
-
},
|
|
26597
|
-
'&[dir=ltr]:after': {
|
|
26598
|
-
right: -26
|
|
26599
|
-
},
|
|
26600
|
-
'&[dir=rtl]:after': {
|
|
26601
|
-
left: -26
|
|
26602
|
-
},
|
|
26603
|
-
'&:before': {
|
|
26604
|
-
borderLeftWidth: 26,
|
|
26605
|
-
borderTopWidth: 32,
|
|
26606
|
-
borderBottomWidth: 32
|
|
26607
|
-
}
|
|
26608
26540
|
}
|
|
26609
26541
|
}
|
|
26610
26542
|
},
|
|
26611
|
-
|
|
26543
|
+
withDescription: {},
|
|
26612
26544
|
default: {
|
|
26613
26545
|
lineHeight: 0,
|
|
26614
26546
|
'&$vertical': {
|
|
@@ -34640,6 +34572,8 @@ var List = function List(props) {
|
|
|
34640
34572
|
|
|
34641
34573
|
|
|
34642
34574
|
|
|
34575
|
+
var tooltip_excluded = ["children"];
|
|
34576
|
+
|
|
34643
34577
|
|
|
34644
34578
|
|
|
34645
34579
|
|
|
@@ -34650,7 +34584,7 @@ var List = function List(props) {
|
|
|
34650
34584
|
|
|
34651
34585
|
var tooltip_devUseWarning = devUseWarning;
|
|
34652
34586
|
var defaultDelay = 0;
|
|
34653
|
-
var
|
|
34587
|
+
var TooltipInner = function TooltipInner(props) {
|
|
34654
34588
|
var _jssStyle$tooltip, _config$tooltip;
|
|
34655
34589
|
var _props$trigger = props.trigger,
|
|
34656
34590
|
trigger = _props$trigger === void 0 ? 'hover' : _props$trigger,
|
|
@@ -34673,16 +34607,10 @@ var Tooltip = function Tooltip(props) {
|
|
|
34673
34607
|
popupGap = _props$popupGap === void 0 ? 0 : _props$popupGap,
|
|
34674
34608
|
_props$pointAtCenter = props.pointAtCenter,
|
|
34675
34609
|
pointAtCenter = _props$pointAtCenter === void 0 ? false : _props$pointAtCenter;
|
|
34676
|
-
|
|
34677
|
-
// Early validation checks BEFORE any hooks
|
|
34678
|
-
if (! /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.isValidElement)(children)) {
|
|
34679
|
-
tooltip_devUseWarning.error('Tooltip children expect a single ReactElement.');
|
|
34680
|
-
return null;
|
|
34681
|
-
}
|
|
34682
34610
|
var tooltipClasses = jssStyle === null || jssStyle === void 0 || (_jssStyle$tooltip = jssStyle.tooltip) === null || _jssStyle$tooltip === void 0 ? void 0 : _jssStyle$tooltip.call(jssStyle);
|
|
34683
34611
|
var config = useConfig();
|
|
34684
34612
|
var persistent = persistentProp !== null && persistentProp !== void 0 ? persistentProp : (_config$tooltip = config.tooltip) === null || _config$tooltip === void 0 ? void 0 : _config$tooltip.persistent;
|
|
34685
|
-
var childrenProps =
|
|
34613
|
+
var childrenProps = children.props;
|
|
34686
34614
|
var delay = props.delay || props.mouseEnterDelay || defaultDelay;
|
|
34687
34615
|
var mouseLeaveDelay = props.mouseLeaveDelay || defaultDelay;
|
|
34688
34616
|
var _usePopup = use_popup({
|
|
@@ -34826,6 +34754,17 @@ var Tooltip = function Tooltip(props) {
|
|
|
34826
34754
|
})]
|
|
34827
34755
|
});
|
|
34828
34756
|
};
|
|
34757
|
+
var Tooltip = function Tooltip(props) {
|
|
34758
|
+
var children = props.children,
|
|
34759
|
+
innerProps = objectWithoutProperties_default()(props, tooltip_excluded);
|
|
34760
|
+
if (! /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.isValidElement)(children)) {
|
|
34761
|
+
tooltip_devUseWarning.error('Tooltip children expect a single ReactElement.');
|
|
34762
|
+
return null;
|
|
34763
|
+
}
|
|
34764
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)(TooltipInner, objectSpread2_default()(objectSpread2_default()({}, innerProps), {}, {
|
|
34765
|
+
children: children
|
|
34766
|
+
}));
|
|
34767
|
+
};
|
|
34829
34768
|
/* harmony default export */ var src_tooltip_tooltip = (Tooltip);
|
|
34830
34769
|
;// CONCATENATED MODULE: ../base/src/breadcrumb/breadcrumb-item.tsx
|
|
34831
34770
|
|
|
@@ -64280,7 +64219,15 @@ var DotStep = function DotStep(props) {
|
|
|
64280
64219
|
|
|
64281
64220
|
|
|
64282
64221
|
|
|
64283
|
-
|
|
64222
|
+
var Arrow = /*#__PURE__*/(0,jsx_runtime.jsx)("svg", {
|
|
64223
|
+
viewBox: "0 0 40 100",
|
|
64224
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
64225
|
+
preserveAspectRatio: "none",
|
|
64226
|
+
children: /*#__PURE__*/(0,jsx_runtime.jsx)("path", {
|
|
64227
|
+
d: "M 0 0 L 40 50 L 0 100",
|
|
64228
|
+
fill: "currentColor"
|
|
64229
|
+
})
|
|
64230
|
+
});
|
|
64284
64231
|
var ArrowStep = function ArrowStep(props) {
|
|
64285
64232
|
var _jssStyle$steps;
|
|
64286
64233
|
var jssStyle = props.jssStyle,
|
|
@@ -64290,7 +64237,6 @@ var ArrowStep = function ArrowStep(props) {
|
|
|
64290
64237
|
index = props.index,
|
|
64291
64238
|
status = props.status;
|
|
64292
64239
|
var styles = (jssStyle === null || jssStyle === void 0 || (_jssStyle$steps = jssStyle.steps) === null || _jssStyle$steps === void 0 ? void 0 : _jssStyle$steps.call(jssStyle)) || {};
|
|
64293
|
-
var rootClass = classnames_default()(styles.arrow);
|
|
64294
64240
|
var config = useConfig();
|
|
64295
64241
|
var renderTitle = function renderTitle() {
|
|
64296
64242
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
@@ -64311,11 +64257,17 @@ var ArrowStep = function ArrowStep(props) {
|
|
|
64311
64257
|
children: [renderTitle(), description && renderDescription()]
|
|
64312
64258
|
});
|
|
64313
64259
|
};
|
|
64314
|
-
|
|
64315
|
-
|
|
64260
|
+
var renderArrow = function renderArrow() {
|
|
64261
|
+
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
64262
|
+
className: styles.arrowIcon,
|
|
64263
|
+
children: [Arrow, Arrow]
|
|
64264
|
+
});
|
|
64265
|
+
};
|
|
64266
|
+
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
64267
|
+
className: styles.arrow,
|
|
64316
64268
|
onClick: onChange,
|
|
64317
64269
|
dir: config.direction,
|
|
64318
|
-
children: renderContent()
|
|
64270
|
+
children: [renderContent(), renderArrow()]
|
|
64319
64271
|
});
|
|
64320
64272
|
};
|
|
64321
64273
|
/* harmony default export */ var step_arrow = (ArrowStep);
|
|
@@ -64373,7 +64325,7 @@ var Step = function Step(props) {
|
|
|
64373
64325
|
};
|
|
64374
64326
|
var status = getStatus();
|
|
64375
64327
|
var labelPlacement = getLabelPlacement();
|
|
64376
|
-
var rootClass = classnames_default()(styles.step, className, styles[status], defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()({}, styles.disabled, isDisabled), styles.finish, current > index), styles.horizontalLabel, labelPlacement === 'horizontal'), styles.verticalLabel, labelPlacement === 'vertical'), styles.
|
|
64328
|
+
var rootClass = classnames_default()(styles.step, className, styles[status], defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()(defineProperty_default()({}, styles.disabled, isDisabled), styles.finish, current > index), styles.horizontalLabel, labelPlacement === 'horizontal'), styles.verticalLabel, labelPlacement === 'vertical'), styles.withDescription, !!description));
|
|
64377
64329
|
var handleChange = function handleChange(e) {
|
|
64378
64330
|
if (isDisabled) return;
|
|
64379
64331
|
onClick === null || onClick === void 0 || onClick(e, index, id);
|
|
@@ -77906,7 +77858,7 @@ var watermark_interface = __webpack_require__(6640);
|
|
|
77906
77858
|
|
|
77907
77859
|
|
|
77908
77860
|
/* harmony default export */ var src_0 = ({
|
|
77909
|
-
version: '3.10.0-beta.
|
|
77861
|
+
version: '3.10.0-beta.6'
|
|
77910
77862
|
});
|
|
77911
77863
|
}();
|
|
77912
77864
|
/******/ return __webpack_exports__;
|