@nutui/nutui-react 1.5.2-beta.1 → 1.5.3-beta.1
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/CHANGELOG.md +7 -1
- package/dist/esm/InputNumber.js +0 -2
- package/dist/esm/SubSideNavBar.js +0 -1
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.mjs +1 -4
- package/dist/nutui.react.umd.js +1 -4
- package/dist/style.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
# v1.5.3
|
|
2
|
+
`2023-04-28`
|
|
3
|
+
|
|
4
|
+
* :sparkles: feat: dialog 增加函数式调用的demo @hanyuxinting
|
|
5
|
+
* :bug: fix: 移除代码中无用的 console.log (#960) @oasis-cloud
|
|
6
|
+
|
|
7
|
+
|
|
1
8
|
# v1.5.2
|
|
2
9
|
`2023-04-26`
|
|
3
10
|
|
|
4
|
-
* 🔨 chore: release v1.5.1 @junjun666
|
|
5
11
|
* :bug: fix: countdown 修改销毁实例方法 (#944) @拧巴的猫
|
|
6
12
|
* :bug: fix: uploader组件onSuccess和onFailure方法添加file参数表示当前上传文件 (#932) @cuicuiworld
|
|
7
13
|
|
package/dist/esm/InputNumber.js
CHANGED
|
@@ -177,8 +177,6 @@ var InputNumber = function InputNumber(props) {
|
|
|
177
177
|
} else if (!numReg.test(input[0]) && !numValue) {
|
|
178
178
|
setInputValue(input);
|
|
179
179
|
} else if (numReg.test(input[0])) {
|
|
180
|
-
console.log('inputRef.current', inputRef.current);
|
|
181
|
-
console.log('formatter(numValue)', formatter(numValue));
|
|
182
180
|
// 针对于100%这种尾字符例子,直接删除会进行匹配
|
|
183
181
|
if (formatter(numValue) === inputRef.current) {
|
|
184
182
|
setInputValue(numValue);
|
|
@@ -18,7 +18,6 @@ var SubSideNavBar = function SubSideNavBar(props) {
|
|
|
18
18
|
rest = _objectWithoutProperties(_defaultProps$props, _excluded);
|
|
19
19
|
// const offset = props.offset ? Number(props.offset) : 20
|
|
20
20
|
var offset = useContext(OffsetContext);
|
|
21
|
-
console.log('offset>>>>>>>', offset);
|
|
22
21
|
var listRef = useRef(null);
|
|
23
22
|
var setListLevel = useCallback(function (nodeList) {
|
|
24
23
|
var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
package/dist/locales/base.js
CHANGED
package/dist/locales/en-US.js
CHANGED
package/dist/locales/id-ID.js
CHANGED
package/dist/locales/zh-CN.js
CHANGED
package/dist/locales/zh-TW.js
CHANGED
package/dist/locales/zh-UG.js
CHANGED
package/dist/nutui.react.mjs
CHANGED
|
@@ -6,7 +6,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6
6
|
};
|
|
7
7
|
var _a;
|
|
8
8
|
/*!
|
|
9
|
-
* @nutui/nutui-react v1.5.
|
|
9
|
+
* @nutui/nutui-react v1.5.3-beta.1 Fri Apr 28 2023 10:23:21 GMT+0800 (中国标准时间)
|
|
10
10
|
* (c) 2023 @jdf2e.
|
|
11
11
|
* Released under the MIT License.
|
|
12
12
|
*/
|
|
@@ -9766,7 +9766,6 @@ const SubSideNavBar = (props) => {
|
|
|
9766
9766
|
...props
|
|
9767
9767
|
};
|
|
9768
9768
|
const offset = useContext(OffsetContext);
|
|
9769
|
-
console.log("offset>>>>>>>", offset);
|
|
9770
9769
|
const listRef = useRef(null);
|
|
9771
9770
|
const setListLevel = useCallback(
|
|
9772
9771
|
(nodeList, level = 1) => {
|
|
@@ -14525,8 +14524,6 @@ const InputNumber = (props) => {
|
|
|
14525
14524
|
} else if (!numReg.test(input[0]) && !numValue) {
|
|
14526
14525
|
setInputValue(input);
|
|
14527
14526
|
} else if (numReg.test(input[0])) {
|
|
14528
|
-
console.log("inputRef.current", inputRef.current);
|
|
14529
|
-
console.log("formatter(numValue)", formatter(numValue));
|
|
14530
14527
|
if (formatter(numValue) === inputRef.current) {
|
|
14531
14528
|
setInputValue(numValue);
|
|
14532
14529
|
} else {
|
package/dist/nutui.react.umd.js
CHANGED
|
@@ -9,7 +9,7 @@ var __publicField = (obj, key, value) => {
|
|
|
9
9
|
return value;
|
|
10
10
|
};
|
|
11
11
|
/*!
|
|
12
|
-
* @nutui/nutui-react v1.5.
|
|
12
|
+
* @nutui/nutui-react v1.5.3-beta.1 Fri Apr 28 2023 10:23:21 GMT+0800 (中国标准时间)
|
|
13
13
|
* (c) 2023 @jdf2e.
|
|
14
14
|
* Released under the MIT License.
|
|
15
15
|
*/
|
|
@@ -9784,7 +9784,6 @@ Please add \`${key}Action\` when creating your handler.`);
|
|
|
9784
9784
|
...props
|
|
9785
9785
|
};
|
|
9786
9786
|
const offset = React.useContext(OffsetContext);
|
|
9787
|
-
console.log("offset>>>>>>>", offset);
|
|
9788
9787
|
const listRef = React.useRef(null);
|
|
9789
9788
|
const setListLevel = React.useCallback(
|
|
9790
9789
|
(nodeList, level = 1) => {
|
|
@@ -14543,8 +14542,6 @@ Please add \`${key}Action\` when creating your handler.`);
|
|
|
14543
14542
|
} else if (!numReg.test(input[0]) && !numValue) {
|
|
14544
14543
|
setInputValue(input);
|
|
14545
14544
|
} else if (numReg.test(input[0])) {
|
|
14546
|
-
console.log("inputRef.current", inputRef.current);
|
|
14547
|
-
console.log("formatter(numValue)", formatter(numValue));
|
|
14548
14545
|
if (formatter(numValue) === inputRef.current) {
|
|
14549
14546
|
setInputValue(numValue);
|
|
14550
14547
|
} else {
|
package/dist/style.mjs
CHANGED