shineout 3.8.0-beta.45 → 3.8.0-beta.47
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 +16 -9
- 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.8.0-beta.
|
|
525
|
+
version: '3.8.0-beta.47'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12386
12386
|
};
|
|
12387
12387
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12388
12388
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12389
|
-
/* harmony default export */ var version = ('3.8.0-beta.
|
|
12389
|
+
/* harmony default export */ var version = ('3.8.0-beta.47');
|
|
12390
12390
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12391
12391
|
|
|
12392
12392
|
|
|
@@ -21815,10 +21815,10 @@ var messageStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21815
21815
|
},
|
|
21816
21816
|
itemDismissed: {
|
|
21817
21817
|
' [data-soui-position="bottom-left"] &': {
|
|
21818
|
-
animation: "$left-out ".concat(message_animationDuration, " ease-in-out")
|
|
21818
|
+
animation: "$left-out ".concat(message_animationDuration, " ease-in-out forwards")
|
|
21819
21819
|
},
|
|
21820
21820
|
' [data-soui-position="bottom-right"] &': {
|
|
21821
|
-
animation: "$right-out ".concat(message_animationDuration, " ease-in-out")
|
|
21821
|
+
animation: "$right-out ".concat(message_animationDuration, " ease-in-out forwards")
|
|
21822
21822
|
}
|
|
21823
21823
|
},
|
|
21824
21824
|
itemShow: {
|
|
@@ -33456,7 +33456,8 @@ var Tooltip = function Tooltip(props) {
|
|
|
33456
33456
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({
|
|
33457
33457
|
className: classnames_default()(className, tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.rootClass, tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.wrapper, open && (tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.wrapperOpen)),
|
|
33458
33458
|
style: {
|
|
33459
|
-
pointerEvents: persistent ? 'initial' : undefined
|
|
33459
|
+
pointerEvents: persistent ? 'initial' : undefined,
|
|
33460
|
+
display: open ? 'block' : 'none'
|
|
33460
33461
|
}
|
|
33461
33462
|
}, getDataAttribute({
|
|
33462
33463
|
type: type,
|
|
@@ -43616,7 +43617,9 @@ function useFormControl(props) {
|
|
|
43616
43617
|
var errors = arguments.length > 1 ? arguments[1] : undefined;
|
|
43617
43618
|
var severErrors = arguments.length > 2 ? arguments[2] : undefined;
|
|
43618
43619
|
if (!name) return;
|
|
43619
|
-
|
|
43620
|
+
// 加入defaultValue的判断,让其只对 https://github.com/sheinsight/shineout-next/pull/742 的场景生效
|
|
43621
|
+
// 如果不加入defaultValue的判断,会导致 8ea43144-36a5-403a-9147-59d54087a110 的问题
|
|
43622
|
+
if (isArray(name) && defaultValue !== undefined) {
|
|
43620
43623
|
var _value = getValue(name, formValue);
|
|
43621
43624
|
var _error = getError(name, errors, severErrors);
|
|
43622
43625
|
if (_error !== errorState) {
|
|
@@ -54545,7 +54548,8 @@ var useNumberFormat = function useNumberFormat(props) {
|
|
|
54545
54548
|
_props$step = props.step,
|
|
54546
54549
|
step = _props$step === void 0 ? 1 : _props$step,
|
|
54547
54550
|
cancelBlurChange = props.cancelBlurChange,
|
|
54548
|
-
disabled = props.disabled
|
|
54551
|
+
disabled = props.disabled,
|
|
54552
|
+
coin = props.coin;
|
|
54549
54553
|
var getStringValue = function getStringValue(value) {
|
|
54550
54554
|
if (value === undefined) return value;
|
|
54551
54555
|
if (typeof value === 'number') {
|
|
@@ -54664,6 +54668,7 @@ var useNumberFormat = function useNumberFormat(props) {
|
|
|
54664
54668
|
numType: numType,
|
|
54665
54669
|
integerLimit: integerLimit,
|
|
54666
54670
|
digits: digits,
|
|
54671
|
+
coin: coin,
|
|
54667
54672
|
onChange: onNumberChange,
|
|
54668
54673
|
onBlur: onNumberBlur,
|
|
54669
54674
|
onFocus: props.onFocus,
|
|
@@ -54677,7 +54682,7 @@ var useNumberFormat = function useNumberFormat(props) {
|
|
|
54677
54682
|
;// CONCATENATED MODULE: ../base/src/input/input-number.tsx
|
|
54678
54683
|
|
|
54679
54684
|
|
|
54680
|
-
var input_number_excluded = ["jssStyle", "hideArrow", "numType", "integerLimit", "digits", "min", "max", "step", "allowNull"],
|
|
54685
|
+
var input_number_excluded = ["jssStyle", "hideArrow", "numType", "integerLimit", "digits", "min", "max", "step", "allowNull", "coin"],
|
|
54681
54686
|
input_number_excluded2 = ["onMinus", "onPlus"];
|
|
54682
54687
|
|
|
54683
54688
|
|
|
@@ -54699,6 +54704,7 @@ var InputNumber = function InputNumber(props) {
|
|
|
54699
54704
|
max = commonProps.max,
|
|
54700
54705
|
step = commonProps.step,
|
|
54701
54706
|
allowNull = commonProps.allowNull,
|
|
54707
|
+
coin = commonProps.coin,
|
|
54702
54708
|
restProps = objectWithoutProperties_default()(commonProps, input_number_excluded);
|
|
54703
54709
|
var inputStyle = jssStyle === null || jssStyle === void 0 || (_jssStyle$input = jssStyle.input) === null || _jssStyle$input === void 0 ? void 0 : _jssStyle$input.call(jssStyle);
|
|
54704
54710
|
var numberFormatParams = {
|
|
@@ -54710,7 +54716,8 @@ var InputNumber = function InputNumber(props) {
|
|
|
54710
54716
|
min: min,
|
|
54711
54717
|
max: max,
|
|
54712
54718
|
step: step,
|
|
54713
|
-
allowNull: allowNull
|
|
54719
|
+
allowNull: allowNull,
|
|
54720
|
+
coin: coin
|
|
54714
54721
|
};
|
|
54715
54722
|
var _useInputNumber = use_input_number(objectSpread2_default()({
|
|
54716
54723
|
value: commonProps.value,
|
|
@@ -72999,7 +73006,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
72999
73006
|
|
|
73000
73007
|
|
|
73001
73008
|
/* harmony default export */ var src_0 = ({
|
|
73002
|
-
version: '3.8.0-beta.
|
|
73009
|
+
version: '3.8.0-beta.47'
|
|
73003
73010
|
});
|
|
73004
73011
|
}();
|
|
73005
73012
|
/******/ return __webpack_exports__;
|