shineout 3.9.8-beta.7 → 3.9.8-beta.9
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 +28 -13
- 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.8-beta.
|
|
525
|
+
version: '3.9.8-beta.9'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -7331,7 +7331,8 @@ var config = {
|
|
|
7331
7331
|
CollapseArrow: icons.ArrowLeft
|
|
7332
7332
|
},
|
|
7333
7333
|
tag: {
|
|
7334
|
-
Close: icons.Close
|
|
7334
|
+
Close: icons.Close,
|
|
7335
|
+
Loading: icons.Loading
|
|
7335
7336
|
},
|
|
7336
7337
|
textarea: {
|
|
7337
7338
|
Close: icons.CloseFill
|
|
@@ -12401,7 +12402,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12401
12402
|
};
|
|
12402
12403
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12403
12404
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12404
|
-
/* harmony default export */ var version = ('3.9.8-beta.
|
|
12405
|
+
/* harmony default export */ var version = ('3.9.8-beta.9');
|
|
12405
12406
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12406
12407
|
|
|
12407
12408
|
|
|
@@ -22913,10 +22914,10 @@ var tooltipStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
22913
22914
|
boxSizing: 'border-box',
|
|
22914
22915
|
'--tooltip-background-color': src.tooltipLightBackgroundColor,
|
|
22915
22916
|
'&[data-soui-position^="top"] $arrow': {
|
|
22916
|
-
transform: 'translate(
|
|
22917
|
+
transform: 'translate(-50%, -1px) rotate(-180deg)'
|
|
22917
22918
|
},
|
|
22918
22919
|
'&[data-soui-position^="bottom"] $arrow': {
|
|
22919
|
-
transform: 'translate(
|
|
22920
|
+
transform: 'translate(-50%, calc(-100% + 1px)) rotate(0deg)'
|
|
22920
22921
|
},
|
|
22921
22922
|
'& $arrow:before': {
|
|
22922
22923
|
clipPath: 'none',
|
|
@@ -28206,6 +28207,16 @@ var useTabsStyle = styled(tabs_tabs, 'tabs');
|
|
|
28206
28207
|
|
|
28207
28208
|
|
|
28208
28209
|
var tagDefaultLineHeight = "calc(".concat(src.tagDefaultLineBase, " + 6px)");
|
|
28210
|
+
var tag_animations = {
|
|
28211
|
+
'@keyframes spin': {
|
|
28212
|
+
'0%': {
|
|
28213
|
+
transform: 'rotate(0deg)'
|
|
28214
|
+
},
|
|
28215
|
+
'100%': {
|
|
28216
|
+
transform: 'rotate(360deg)'
|
|
28217
|
+
}
|
|
28218
|
+
}
|
|
28219
|
+
};
|
|
28209
28220
|
var brightTag = function brightTag(name, type) {
|
|
28210
28221
|
return {
|
|
28211
28222
|
color: src["tag".concat(type, "FontColor")],
|
|
@@ -28306,7 +28317,7 @@ var brightOutlineTag = function brightOutlineTag(name, type) {
|
|
|
28306
28317
|
}
|
|
28307
28318
|
});
|
|
28308
28319
|
};
|
|
28309
|
-
var TagStyle = {
|
|
28320
|
+
var TagStyle = objectSpread2_default()(objectSpread2_default()({
|
|
28310
28321
|
rootClass: {},
|
|
28311
28322
|
tag: {
|
|
28312
28323
|
display: 'inline-flex',
|
|
@@ -28407,6 +28418,10 @@ var TagStyle = {
|
|
|
28407
28418
|
cursor: 'pointer',
|
|
28408
28419
|
height: tagDefaultLineHeight,
|
|
28409
28420
|
maxHeight: '100%'
|
|
28421
|
+
}
|
|
28422
|
+
}, tag_animations), {}, {
|
|
28423
|
+
closeIconPending: {
|
|
28424
|
+
animation: "$spin 1s linear infinite"
|
|
28410
28425
|
},
|
|
28411
28426
|
closeIconWrapper: {
|
|
28412
28427
|
display: 'inline-flex',
|
|
@@ -28441,7 +28456,7 @@ var TagStyle = {
|
|
|
28441
28456
|
rounded: {
|
|
28442
28457
|
borderRadius: src.buttonRoundBorderRadius
|
|
28443
28458
|
}
|
|
28444
|
-
};
|
|
28459
|
+
});
|
|
28445
28460
|
/* harmony default export */ var tag_tag = (TagStyle);
|
|
28446
28461
|
;// CONCATENATED MODULE: ../shineout-style/src/tag/index.ts
|
|
28447
28462
|
|
|
@@ -42900,17 +42915,17 @@ var Tag = function Tag(props) {
|
|
|
42900
42915
|
if (!showClose) {
|
|
42901
42916
|
return null;
|
|
42902
42917
|
}
|
|
42903
|
-
if (dismiss === tag_Pending) {
|
|
42904
|
-
// 后面用 Spin 替换
|
|
42905
|
-
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {});
|
|
42906
|
-
}
|
|
42907
42918
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
42908
|
-
className: tagStyle.closeIcon,
|
|
42919
|
+
className: classnames_default()(tagStyle.closeIcon, dismiss === tag_Pending && tagStyle.closeIconPending),
|
|
42909
42920
|
onClick: handleClose,
|
|
42910
42921
|
onMouseDown: onMouseDown,
|
|
42922
|
+
style: dismiss === tag_Pending ? {
|
|
42923
|
+
opacity: 0.6,
|
|
42924
|
+
pointerEvents: 'none'
|
|
42925
|
+
} : undefined,
|
|
42911
42926
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
42912
42927
|
className: tagStyle.closeIconWrapper,
|
|
42913
|
-
children: icons_config.tag.Close
|
|
42928
|
+
children: dismiss === tag_Pending ? icons_config.tag.Loading : icons_config.tag.Close
|
|
42914
42929
|
})
|
|
42915
42930
|
});
|
|
42916
42931
|
};
|
|
@@ -75130,7 +75145,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
75130
75145
|
|
|
75131
75146
|
|
|
75132
75147
|
/* harmony default export */ var src_0 = ({
|
|
75133
|
-
version: '3.9.8-beta.
|
|
75148
|
+
version: '3.9.8-beta.9'
|
|
75134
75149
|
});
|
|
75135
75150
|
}();
|
|
75136
75151
|
/******/ return __webpack_exports__;
|