@nutui/nutui-react 1.4.13 → 1.4.14

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/style.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v1.4.13 Wed Mar 29 2023 15:59:59 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v1.4.14 Thu Apr 06 2023 15:55:00 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -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.13",
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",
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
- "author": "jdcfe",
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
  }