shineout 3.9.7-beta.8 → 3.9.7
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 +25 -23
- 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
|
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
522
522
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
523
523
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
524
524
|
var _default = exports.default = {
|
|
525
|
-
version: '3.9.7
|
|
525
|
+
version: '3.9.7'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12401,7 +12401,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12401
12401
|
};
|
|
12402
12402
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12403
12403
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12404
|
-
/* harmony default export */ var version = ('3.9.7
|
|
12404
|
+
/* harmony default export */ var version = ('3.9.7');
|
|
12405
12405
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12406
12406
|
|
|
12407
12407
|
|
|
@@ -14332,8 +14332,8 @@ var messageTokens = {
|
|
|
14332
14332
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
14333
14333
|
|
|
14334
14334
|
var modalTokens = {
|
|
14335
|
-
modalMaskBackground: '
|
|
14336
|
-
modalMaskLightBackground: '
|
|
14335
|
+
modalMaskBackground: 'Mask-fill-1',
|
|
14336
|
+
modalMaskLightBackground: 'Neutral-mask-2',
|
|
14337
14337
|
modalPanelPaddingY: 'Spacing-24',
|
|
14338
14338
|
modalPanelPaddingX: 'Spacing-24',
|
|
14339
14339
|
modalPanelBackground: 'Neutral-fill-1',
|
|
@@ -22621,12 +22621,14 @@ var jssInsertionPointId = 'shineout-next-jss-insertion-point__' + version;
|
|
|
22621
22621
|
function appendNormalizeStyle(styleString, id) {
|
|
22622
22622
|
var style = document.createElement('style');
|
|
22623
22623
|
style.setAttribute('name', id);
|
|
22624
|
+
style.setAttribute('data-alita-ignore', 'true');
|
|
22624
22625
|
style.innerHTML = styleString;
|
|
22625
22626
|
document.head.insertBefore(style, document.head.firstChild);
|
|
22626
22627
|
}
|
|
22627
22628
|
function appendJssInsertionPoint() {
|
|
22628
22629
|
var insertionPoint = document.createElement('style');
|
|
22629
22630
|
insertionPoint.setAttribute('name', jssInsertionPointId);
|
|
22631
|
+
insertionPoint.setAttribute('data-alita-ignore', 'true');
|
|
22630
22632
|
document.head.insertBefore(insertionPoint, document.head.firstChild);
|
|
22631
22633
|
react_jss_esm_defaultJss.setup({
|
|
22632
22634
|
insertionPoint: insertionPoint
|
|
@@ -24208,7 +24210,7 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
24208
24210
|
fontSize: src.selectLargeFontSize
|
|
24209
24211
|
},
|
|
24210
24212
|
'& $optionGroupTitle': {
|
|
24211
|
-
padding: "
|
|
24213
|
+
padding: "".concat(src.selectFontSize, " calc(").concat(src.selectOptionPaddingX, " + ").concat(src.selectLargeOptionInnerPaddingX, ") ").concat(src.selectGroupTitleLargeBottom, " calc(").concat(src.selectOptionPaddingX, " + ").concat(src.selectLargeOptionInnerPaddingX, ")")
|
|
24212
24214
|
}
|
|
24213
24215
|
},
|
|
24214
24216
|
iconWrapper: {
|
|
@@ -24299,7 +24301,15 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
24299
24301
|
},
|
|
24300
24302
|
moreIcon: {},
|
|
24301
24303
|
hideTag: {},
|
|
24302
|
-
list: {
|
|
24304
|
+
list: {
|
|
24305
|
+
'--group-font-size': "calc(".concat(src.selectFontSize, " - 2px)"),
|
|
24306
|
+
'$pickerSmall &': {
|
|
24307
|
+
'--group-font-size': "".concat(src.selectSmallFontSize)
|
|
24308
|
+
},
|
|
24309
|
+
'$pickerLarge &': {
|
|
24310
|
+
'--group-font-size': "calc(".concat(src.selectLargeFontSize, " - 2px)")
|
|
24311
|
+
}
|
|
24312
|
+
},
|
|
24303
24313
|
tree: {
|
|
24304
24314
|
padding: '0 4px',
|
|
24305
24315
|
overflow: 'auto'
|
|
@@ -24428,9 +24438,9 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
24428
24438
|
},
|
|
24429
24439
|
optionGroup: {},
|
|
24430
24440
|
optionGroupTitle: {
|
|
24431
|
-
fontSize: src.selectGroupTitleFontSize,
|
|
24441
|
+
fontSize: "var(--group-font-size, ".concat(src.selectGroupTitleFontSize, ")"),
|
|
24432
24442
|
lineHeight: src.lineHeightDynamic,
|
|
24433
|
-
padding: "calc(".concat(src.selectFontSize, " -
|
|
24443
|
+
padding: "calc(".concat(src.selectFontSize, " - 2px) ").concat(src.selectGroupTitlePaddingX, " ").concat(src.selectGroupTitlePaddingBottom, " ").concat(src.selectGroupTitlePaddingX),
|
|
24434
24444
|
color: src.selectGroupTitleFontColor,
|
|
24435
24445
|
fontWeight: src.selectGroupTitleFontWeight
|
|
24436
24446
|
},
|
|
@@ -24823,8 +24833,8 @@ var sliderStyle = {
|
|
|
24823
24833
|
}
|
|
24824
24834
|
},
|
|
24825
24835
|
valueHover: {
|
|
24826
|
-
backgroundColor: src.
|
|
24827
|
-
color: src.
|
|
24836
|
+
backgroundColor: src.tooltipBackgroundColor,
|
|
24837
|
+
color: src.tooltipColor,
|
|
24828
24838
|
padding: "".concat(src.sliderValueHoverPaddingY, " ").concat(src.sliderValueHoverPaddingX),
|
|
24829
24839
|
lineHeight: src.lineHeightDynamic,
|
|
24830
24840
|
borderRadius: src.sliderValueHoverRadius,
|
|
@@ -24841,7 +24851,7 @@ var sliderStyle = {
|
|
|
24841
24851
|
height: 0,
|
|
24842
24852
|
borderStyle: 'solid',
|
|
24843
24853
|
borderWidth: '4px',
|
|
24844
|
-
borderColor: "".concat(src.
|
|
24854
|
+
borderColor: "".concat(src.tooltipBackgroundColor, " transparent transparent transparent")
|
|
24845
24855
|
},
|
|
24846
24856
|
'$vertical &': {
|
|
24847
24857
|
'&::after': {
|
|
@@ -24849,7 +24859,7 @@ var sliderStyle = {
|
|
|
24849
24859
|
right: '100%',
|
|
24850
24860
|
left: 'unset',
|
|
24851
24861
|
transform: 'translate(0, -50%)',
|
|
24852
|
-
borderColor: "transparent ".concat(src.
|
|
24862
|
+
borderColor: "transparent ".concat(src.tooltipBackgroundColor, " transparent transparent ")
|
|
24853
24863
|
}
|
|
24854
24864
|
},
|
|
24855
24865
|
'$indicator:hover + &, $indicatorActive + &': {
|
|
@@ -29170,7 +29180,7 @@ var treeStyle = {
|
|
|
29170
29180
|
position: 'absolute',
|
|
29171
29181
|
width: 24,
|
|
29172
29182
|
height: 24,
|
|
29173
|
-
margin:
|
|
29183
|
+
margin: "calc((".concat(src.treeFontSize, " - 12px)/2) 0"),
|
|
29174
29184
|
display: 'inline-flex',
|
|
29175
29185
|
alignItems: 'center',
|
|
29176
29186
|
justifyContent: 'center',
|
|
@@ -29700,8 +29710,7 @@ var treeSelectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
29700
29710
|
cursor: 'not-allowed',
|
|
29701
29711
|
color: src.treeSelectOptionDisabledColor,
|
|
29702
29712
|
backgroundColor: src.treeSelectOptionDisabledBackgroundColor,
|
|
29703
|
-
'&>
|
|
29704
|
-
cursor: 'not-allowed',
|
|
29713
|
+
'&>[data-role="text"]': {
|
|
29705
29714
|
color: src.treeSelectOptionDisabledColor,
|
|
29706
29715
|
backgroundColor: src.treeSelectOptionDisabledBackgroundColor
|
|
29707
29716
|
},
|
|
@@ -30642,14 +30651,7 @@ var isLink = function isLink(el) {
|
|
|
30642
30651
|
if (! /*#__PURE__*/external_root_React_commonjs2_react_commonjs_react_amd_react_default().isValidElement(el)) return false;
|
|
30643
30652
|
if (!el.type) return false;
|
|
30644
30653
|
if (el.type === 'a') return true;
|
|
30645
|
-
|
|
30646
|
-
if (el.props && el.props.to) {
|
|
30647
|
-
var typeName = typeof el.type === 'function' ? el.type.name : '';
|
|
30648
|
-
var displayName = typeof_default()(el.type) === 'object' && el.type !== null ? el.type.displayName : '';
|
|
30649
|
-
// 检查是否为常见的路由链接组件
|
|
30650
|
-
var isRouterComponent = typeName === 'Link' || typeName === 'NavLink' || displayName === 'Link' || displayName === 'NavLink';
|
|
30651
|
-
return isRouterComponent;
|
|
30652
|
-
}
|
|
30654
|
+
if (el.props && el.props.to) return true;
|
|
30653
30655
|
}
|
|
30654
30656
|
return false;
|
|
30655
30657
|
};
|
|
@@ -75059,7 +75061,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
75059
75061
|
|
|
75060
75062
|
|
|
75061
75063
|
/* harmony default export */ var src_0 = ({
|
|
75062
|
-
version: '3.9.7
|
|
75064
|
+
version: '3.9.7'
|
|
75063
75065
|
});
|
|
75064
75066
|
}();
|
|
75065
75067
|
/******/ return __webpack_exports__;
|