shineout 3.1.29 → 3.1.31
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 +40 -28
- 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.1.
|
|
479
|
+
version: '3.1.31'
|
|
480
480
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -11952,7 +11952,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
11952
11952
|
};
|
|
11953
11953
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
11954
11954
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
11955
|
-
/* harmony default export */ var version = ('3.1.
|
|
11955
|
+
/* harmony default export */ var version = ('3.1.31');
|
|
11956
11956
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
11957
11957
|
|
|
11958
11958
|
|
|
@@ -14840,6 +14840,7 @@ var alertStyle = {
|
|
|
14840
14840
|
},
|
|
14841
14841
|
content: {
|
|
14842
14842
|
flex: '1 1 0',
|
|
14843
|
+
minWidth: 0,
|
|
14843
14844
|
wordBreak: 'break-all'
|
|
14844
14845
|
},
|
|
14845
14846
|
pending: {
|
|
@@ -15172,12 +15173,17 @@ var textBeforeLine = function textBeforeLine() {
|
|
|
15172
15173
|
}
|
|
15173
15174
|
};
|
|
15174
15175
|
};
|
|
15175
|
-
|
|
15176
|
-
|
|
15177
|
-
|
|
15178
|
-
|
|
15179
|
-
|
|
15180
|
-
|
|
15176
|
+
|
|
15177
|
+
// const loading = (type: ButtonTypeWithoutLink, styles: ButtonStyleType) => {
|
|
15178
|
+
// const buttonStyle = button(type, styles);
|
|
15179
|
+
|
|
15180
|
+
// return {
|
|
15181
|
+
// '&$loading': {
|
|
15182
|
+
// ...buttonStyle['&$disabled'],
|
|
15183
|
+
// },
|
|
15184
|
+
// };
|
|
15185
|
+
// };
|
|
15186
|
+
|
|
15181
15187
|
var ButtonStyle = {
|
|
15182
15188
|
button: {
|
|
15183
15189
|
outline: 'none',
|
|
@@ -15298,13 +15304,26 @@ var ButtonStyle = {
|
|
|
15298
15304
|
cursor: 'not-allowed'
|
|
15299
15305
|
},
|
|
15300
15306
|
loading: {
|
|
15301
|
-
cursor: 'not-allowed'
|
|
15302
|
-
|
|
15303
|
-
'&$
|
|
15304
|
-
|
|
15305
|
-
|
|
15306
|
-
'&$
|
|
15307
|
-
|
|
15307
|
+
cursor: 'not-allowed'
|
|
15308
|
+
|
|
15309
|
+
// '&$default': {
|
|
15310
|
+
// ...loading('Secondary', ''),
|
|
15311
|
+
// },
|
|
15312
|
+
// '&$primary': {
|
|
15313
|
+
// ...loading('Primary', ''),
|
|
15314
|
+
// },
|
|
15315
|
+
// '&$success': {
|
|
15316
|
+
// ...loading('Success', ''),
|
|
15317
|
+
// },
|
|
15318
|
+
// '&$danger': {
|
|
15319
|
+
// ...loading('Danger', ''),
|
|
15320
|
+
// },
|
|
15321
|
+
// '&$warning': {
|
|
15322
|
+
// ...loading('Warning', ''),
|
|
15323
|
+
// },
|
|
15324
|
+
// '&$secondary': {
|
|
15325
|
+
// ...loading('Secondary', ''),
|
|
15326
|
+
// },
|
|
15308
15327
|
},
|
|
15309
15328
|
groupItem: {},
|
|
15310
15329
|
group: {
|
|
@@ -24852,7 +24871,6 @@ var TagStyle = {
|
|
|
24852
24871
|
wrapper: {
|
|
24853
24872
|
lineHeight: src.lineHeightDynamic
|
|
24854
24873
|
},
|
|
24855
|
-
container: {},
|
|
24856
24874
|
inline: {
|
|
24857
24875
|
display: 'inline-block',
|
|
24858
24876
|
flex: 1,
|
|
@@ -24874,9 +24892,6 @@ var TagStyle = {
|
|
|
24874
24892
|
small: {
|
|
24875
24893
|
lineHeight: "calc(".concat(src.tagSmallFontSize, " + 6px)"),
|
|
24876
24894
|
padding: "0 ".concat(src.tagSmallPaddingX),
|
|
24877
|
-
'& $container': {
|
|
24878
|
-
lineHeight: "calc(".concat(src.tagSmallFontSize, " + 6px)")
|
|
24879
|
-
},
|
|
24880
24895
|
'& $wrapper': {
|
|
24881
24896
|
lineHeight: "calc(".concat(src.tagSmallFontSize, " + 6px)")
|
|
24882
24897
|
},
|
|
@@ -29058,7 +29073,7 @@ var useButton = function useButton() {
|
|
|
29058
29073
|
return mergedEventHandlers;
|
|
29059
29074
|
};
|
|
29060
29075
|
return {
|
|
29061
|
-
disabled: disabled,
|
|
29076
|
+
disabled: disabled || loading,
|
|
29062
29077
|
getAnchorProps: getAnchorProps,
|
|
29063
29078
|
getButtonProps: getButtonProps,
|
|
29064
29079
|
getSpaceChildren: getSpaceChildren
|
|
@@ -35580,10 +35595,7 @@ var Tag = function Tag(props) {
|
|
|
35580
35595
|
if (onClose) {
|
|
35581
35596
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
35582
35597
|
className: classnames_default()(tagStyle.wrapper, inlineStyle && tagStyle.inline),
|
|
35583
|
-
children:
|
|
35584
|
-
className: tagStyle.container,
|
|
35585
|
-
children: wrapSpan(children)
|
|
35586
|
-
})
|
|
35598
|
+
children: wrapSpan(children)
|
|
35587
35599
|
});
|
|
35588
35600
|
}
|
|
35589
35601
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
@@ -44886,7 +44898,7 @@ var Gap = function Gap(props) {
|
|
|
44886
44898
|
marginBottom: -Number(row),
|
|
44887
44899
|
marginRight: -Number(column)
|
|
44888
44900
|
};
|
|
44889
|
-
var itemStyle = supportFlexGap ?
|
|
44901
|
+
var itemStyle = supportFlexGap ? itemStyleProps : objectSpread2_default()(objectSpread2_default()({}, itemStyleProps), {}, {
|
|
44890
44902
|
marginBottom: row,
|
|
44891
44903
|
marginRight: column
|
|
44892
44904
|
});
|
|
@@ -46802,10 +46814,10 @@ var Scroll = function Scroll(props) {
|
|
|
46802
46814
|
position: 'sticky'
|
|
46803
46815
|
}, isRtl ? 'right' : 'left', 0), "top", 0);
|
|
46804
46816
|
var placeStyle = {
|
|
46805
|
-
|
|
46817
|
+
paddingTop: height > 0 && scrollHeight > 0 ? Math.max(0, Math.floor(scrollHeight - height)) : 0,
|
|
46806
46818
|
width: scrollWidth,
|
|
46807
|
-
|
|
46808
|
-
|
|
46819
|
+
overflow: 'hidden',
|
|
46820
|
+
lineHeight: 0
|
|
46809
46821
|
};
|
|
46810
46822
|
var handleScroll = usePersistFn(function (e) {
|
|
46811
46823
|
var target = e.currentTarget;
|
|
@@ -62423,7 +62435,7 @@ var upload_interface = __webpack_require__(4412);
|
|
|
62423
62435
|
|
|
62424
62436
|
|
|
62425
62437
|
/* harmony default export */ var src_0 = ({
|
|
62426
|
-
version: '3.1.
|
|
62438
|
+
version: '3.1.31'
|
|
62427
62439
|
});
|
|
62428
62440
|
}();
|
|
62429
62441
|
/******/ return __webpack_exports__;
|