@nutui/nutui-react 1.4.13 → 1.4.14-beta.0
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/dist/esm/Input.js +1 -1
- package/dist/esm/InputNumber.js +91 -13
- package/dist/esm/Picker.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 +104 -27
- package/dist/nutui.react.umd.js +104 -27
- package/dist/packages/picker/picker.scss +103 -97
- package/dist/packages/swiper/swiper1.scss +65 -0
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +23 -16
package/dist/style.mjs
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -972,6 +972,7 @@ interface InputNumberProps extends BasicComponent {
|
|
|
972
972
|
isAsync: boolean;
|
|
973
973
|
className: string;
|
|
974
974
|
style: React__default.CSSProperties;
|
|
975
|
+
formatter?: (displayValue: string | number) => string;
|
|
975
976
|
add: (e: MouseEvent) => void;
|
|
976
977
|
reduce: (e: MouseEvent) => void;
|
|
977
978
|
overlimit: (e: MouseEvent) => void;
|
package/package.json
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui-react",
|
|
3
|
-
"version": "1.4.
|
|
4
|
-
"style": "dist/style.css",
|
|
5
|
-
"main": "dist/nutui.react.umd.js",
|
|
6
|
-
"module": "dist/esm/nutui-react.es.js",
|
|
7
|
-
"typings": "dist/types/index.d.ts",
|
|
8
|
-
"sideEffects": [
|
|
9
|
-
"*.scss",
|
|
10
|
-
"dist/esm/**/style/*",
|
|
11
|
-
"dist/style.css",
|
|
12
|
-
"dist/styles/font/*"
|
|
13
|
-
],
|
|
3
|
+
"version": "1.4.14-beta.0",
|
|
14
4
|
"description": "京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序",
|
|
5
|
+
"title": "NutUI-React",
|
|
15
6
|
"keywords": [
|
|
16
7
|
"nutui",
|
|
17
8
|
"nutui2",
|
|
@@ -25,16 +16,18 @@
|
|
|
25
16
|
"jdcfe",
|
|
26
17
|
"taro"
|
|
27
18
|
],
|
|
28
|
-
"
|
|
19
|
+
"homepage": "https://nutui.jd.com/react",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/jdf2e/nutui-react/issues"
|
|
22
|
+
},
|
|
29
23
|
"license": "MIT",
|
|
24
|
+
"contributors": [
|
|
25
|
+
"jdcfe"
|
|
26
|
+
],
|
|
30
27
|
"repository": {
|
|
31
28
|
"type": "git",
|
|
32
29
|
"url": "https://github.com/jdf2e/nutui-react.git"
|
|
33
30
|
},
|
|
34
|
-
"publishConfig": {
|
|
35
|
-
"access": "public",
|
|
36
|
-
"registry": "https://registry.npmjs.org/"
|
|
37
|
-
},
|
|
38
31
|
"files": [
|
|
39
32
|
"dist",
|
|
40
33
|
"README.md",
|
|
@@ -42,6 +35,16 @@
|
|
|
42
35
|
"LICENSE",
|
|
43
36
|
"CHANGELOG.md"
|
|
44
37
|
],
|
|
38
|
+
"main": "dist/nutui.react.umd.js",
|
|
39
|
+
"module": "dist/esm/nutui-react.es.js",
|
|
40
|
+
"typings": "dist/types/index.d.ts",
|
|
41
|
+
"style": "dist/style.css",
|
|
42
|
+
"sideEffects": [
|
|
43
|
+
"*.scss",
|
|
44
|
+
"dist/esm/**/style/*",
|
|
45
|
+
"dist/style.css",
|
|
46
|
+
"dist/styles/font/*"
|
|
47
|
+
],
|
|
45
48
|
"scripts": {
|
|
46
49
|
"add": "node scripts/createComponentMode.js",
|
|
47
50
|
"generate:file": "node scripts/generate-nutui.js",
|
|
@@ -191,5 +194,9 @@
|
|
|
191
194
|
"resolutions": {
|
|
192
195
|
"@types/react": "18",
|
|
193
196
|
"@types/react-dom": "18"
|
|
197
|
+
},
|
|
198
|
+
"publishConfig": {
|
|
199
|
+
"access": "public",
|
|
200
|
+
"registry": "https://registry.npmjs.org/"
|
|
194
201
|
}
|
|
195
202
|
}
|