@nutui/nutui-react 4.0.0-beta.5 → 4.0.0-beta.6
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 -0
- package/dist/cjs/packages/cascader/utils.js +3 -2
- package/dist/es/packages/cascader/utils.js +3 -2
- package/dist/nutui.react.umd.js +2 -2
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +33 -33
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +40 -40
- package/dist/style.css +1 -1
- package/dist/style.scss +36 -36
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,7 @@ _export(exports, {
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
var _object_spread = require("@swc/helpers/_/_object_spread");
|
|
20
|
+
var _object_spread_props = require("@swc/helpers/_/_object_spread_props");
|
|
20
21
|
var _object_without_properties = require("@swc/helpers/_/_object_without_properties");
|
|
21
22
|
var _to_property_key = require("@swc/helpers/_/_to_property_key");
|
|
22
23
|
var normalizeOptions = function normalizeOptions1(options, keyMap) {
|
|
@@ -27,11 +28,11 @@ var normalizeOptions = function normalizeOptions1(options, keyMap) {
|
|
|
27
28
|
_key1,
|
|
28
29
|
_key2
|
|
29
30
|
].map(_to_property_key._));
|
|
30
|
-
return (0, _object_spread._)({
|
|
31
|
+
return (0, _object_spread_props._)((0, _object_spread._)({}, others), {
|
|
31
32
|
text: text,
|
|
32
33
|
value: value,
|
|
33
34
|
children: normalizeOptions(children, keyMap)
|
|
34
|
-
}
|
|
35
|
+
});
|
|
35
36
|
});
|
|
36
37
|
};
|
|
37
38
|
var normalizeListOptions = function normalizeListOptions(options, format) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
|
|
2
|
+
import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
|
|
2
3
|
import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
|
|
3
4
|
import { _ as _to_property_key } from "@swc/helpers/_/_to_property_key";
|
|
4
5
|
export var normalizeOptions = function normalizeOptions1(options, keyMap) {
|
|
@@ -9,11 +10,11 @@ export var normalizeOptions = function normalizeOptions1(options, keyMap) {
|
|
|
9
10
|
_key1,
|
|
10
11
|
_key2
|
|
11
12
|
].map(_to_property_key));
|
|
12
|
-
return _object_spread({
|
|
13
|
+
return _object_spread_props(_object_spread({}, others), {
|
|
13
14
|
text: text,
|
|
14
15
|
value: value,
|
|
15
16
|
children: normalizeOptions(children, keyMap)
|
|
16
|
-
}
|
|
17
|
+
});
|
|
17
18
|
});
|
|
18
19
|
};
|
|
19
20
|
export var normalizeListOptions = function normalizeListOptions(options, format) {
|
package/dist/nutui.react.umd.js
CHANGED
|
@@ -11946,11 +11946,11 @@ Please add \`${key2}Action\` when creating your handler.`);
|
|
|
11946
11946
|
_key1,
|
|
11947
11947
|
_key2
|
|
11948
11948
|
].map(_to_property_key));
|
|
11949
|
-
return _object_spread({
|
|
11949
|
+
return _object_spread_props(_object_spread({}, others), {
|
|
11950
11950
|
text: text2,
|
|
11951
11951
|
value: value2,
|
|
11952
11952
|
children: normalizeOptions(children, keyMap)
|
|
11953
|
-
}
|
|
11953
|
+
});
|
|
11954
11954
|
});
|
|
11955
11955
|
};
|
|
11956
11956
|
var normalizeListOptions = function normalizeListOptions2(options2, format2) {
|