@nutui/nutui-react 1.2.3-beta.1 → 1.2.3-beta.4
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/CollapseItem.js +13 -12
- package/dist/esm/FixedNav.js +3 -3
- package/dist/esm/Infiniteloading.js +6 -5
- package/dist/esm/ShortPassword.js +22 -17
- 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/nutui.react.es.js +653 -428
- package/dist/nutui.react.umd.js +16708 -28
- package/dist/style.es.js +1 -1
- package/dist/styles/variables.scss +0 -1
- package/dist/types/actionsheet/demo.d.ts +1 -0
- package/dist/types/address/demo.d.ts +1 -0
- package/dist/types/animatingnumbers/demo.d.ts +1 -0
- package/dist/types/avatar/demo.d.ts +1 -0
- package/dist/types/backtop/demo.d.ts +1 -0
- package/dist/types/badge/demo.d.ts +1 -0
- package/dist/types/barrage/demo.d.ts +1 -0
- package/dist/types/button/demo.d.ts +1 -0
- package/dist/types/calendar/demo.d.ts +1 -0
- package/dist/types/card/demo.d.ts +1 -0
- package/dist/types/cell/demo.d.ts +1 -0
- package/dist/types/checkbox/demo.d.ts +1 -0
- package/dist/types/circleprogress/demo.d.ts +1 -0
- package/dist/types/collapse/demo.d.ts +1 -0
- package/dist/types/configprovider/demo.d.ts +1 -0
- package/dist/types/countdown/demo.d.ts +1 -0
- package/dist/types/datepicker/demo.d.ts +1 -0
- package/dist/types/dialog/Mask.d.ts +1 -0
- package/dist/types/dialog/demo.d.ts +1 -0
- package/dist/types/divider/demo.d.ts +1 -0
- package/dist/types/drag/demo.d.ts +1 -0
- package/dist/types/elevator/demo.d.ts +1 -0
- package/dist/types/empty/demo.d.ts +1 -0
- package/dist/types/fixednav/__tests__/fixednav.spec.d.ts +1 -0
- package/dist/types/fixednav/demo.d.ts +1 -0
- package/dist/types/icon/demo.d.ts +1 -0
- package/dist/types/indicator/demo.d.ts +1 -0
- package/dist/types/infiniteloading/demo.d.ts +1 -0
- package/dist/types/input/demo.d.ts +1 -0
- package/dist/types/inputnumber/demo.d.ts +1 -0
- package/dist/types/layout/demo.d.ts +1 -0
- package/dist/types/navbar/demo.d.ts +1 -0
- package/dist/types/noticebar/demo.d.ts +1 -0
- package/dist/types/notify/demo.d.ts +1 -0
- package/dist/types/numberkeyboard/demo.d.ts +1 -0
- package/dist/types/overlay/demo.d.ts +1 -0
- package/dist/types/pagination/demo.d.ts +1 -0
- package/dist/types/picker/demo.d.ts +1 -0
- package/dist/types/popover/demo.d.ts +1 -0
- package/dist/types/popup/demo.d.ts +1 -0
- package/dist/types/price/demo.d.ts +1 -0
- package/dist/types/progress/demo.d.ts +1 -0
- package/dist/types/radio/demo.d.ts +1 -0
- package/dist/types/range/demo.d.ts +1 -0
- package/dist/types/rate/demo.d.ts +1 -0
- package/dist/types/searchbar/demo.d.ts +1 -0
- package/dist/types/shortpassword/_test_/index.spec.d.ts +1 -0
- package/dist/types/shortpassword/demo.d.ts +1 -0
- package/dist/types/shortpassword/shortpassword.d.ts +3 -3
- package/dist/types/sidenavbar/demo.d.ts +1 -0
- package/dist/types/signature/demo.d.ts +1 -0
- package/dist/types/skeleton/demo.d.ts +1 -0
- package/dist/types/steps/demo.d.ts +1 -0
- package/dist/types/swiper/demo.d.ts +1 -0
- package/dist/types/switch/demo.d.ts +1 -0
- package/dist/types/tabbar/demo.d.ts +1 -0
- package/dist/types/table/demo.d.ts +1 -0
- package/dist/types/tabs/demo.d.ts +1 -0
- package/dist/types/tag/demo.d.ts +1 -0
- package/dist/types/textarea/demo.d.ts +1 -0
- package/dist/types/timedetail/demo.d.ts +1 -0
- package/dist/types/timepannel/demo.d.ts +1 -0
- package/dist/types/timeselect/__test__/timeselect.spec.d.ts +1 -0
- package/dist/types/timeselect/demo.d.ts +1 -0
- package/dist/types/toast/demo.d.ts +1 -0
- package/dist/types/uploader/demo.d.ts +1 -0
- package/dist/types/video/demo.d.ts +1 -0
- package/dist/types/virtuallist/demo.d.ts +1 -0
- package/package.json +12 -5
package/dist/style.es.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -11,11 +11,11 @@ export interface ShortPasswordProps {
|
|
|
11
11
|
length: string | number;
|
|
12
12
|
className: string;
|
|
13
13
|
style?: CSSProperties;
|
|
14
|
-
|
|
14
|
+
onChange: (value: string | number) => void;
|
|
15
15
|
onOk: (value: string | number) => void;
|
|
16
16
|
onCancel: () => void;
|
|
17
17
|
onClose: () => void;
|
|
18
18
|
onTips: () => void;
|
|
19
|
-
|
|
19
|
+
onComplete: (value: string | number) => void;
|
|
20
20
|
}
|
|
21
|
-
export declare const ShortPassword: FunctionComponent<Partial<ShortPasswordProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
21
|
+
export declare const ShortPassword: FunctionComponent<Partial<ShortPasswordProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
package/dist/types/tag/demo.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui-react",
|
|
3
|
-
"version": "1.2.3-beta.
|
|
3
|
+
"version": "1.2.3-beta.4",
|
|
4
4
|
"style": "dist/style.css",
|
|
5
5
|
"main": "dist/nutui.react.umd.js",
|
|
6
6
|
"module": "dist/esm/nutui-react.es.js",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@rollup/plugin-node-resolve": "^13.1.1",
|
|
92
92
|
"@rollup/plugin-typescript": "^8.3.0",
|
|
93
93
|
"@testing-library/jest-dom": "^5.16.3",
|
|
94
|
-
"@testing-library/react": "^
|
|
94
|
+
"@testing-library/react": "^13.3.0",
|
|
95
95
|
"@types/jest": "^27.4.1",
|
|
96
96
|
"@types/loadable__component": "^5.13.3",
|
|
97
97
|
"@types/node": "^15.3.1",
|
|
@@ -131,11 +131,11 @@
|
|
|
131
131
|
"postcss-import": "^14.0.2",
|
|
132
132
|
"postcss-modules": "^4.2.2",
|
|
133
133
|
"prettier": "2.3.0",
|
|
134
|
-
"react": "^
|
|
135
|
-
"react-dom": "^
|
|
134
|
+
"react": "^18.2.0",
|
|
135
|
+
"react-dom": "^18.2.0",
|
|
136
136
|
"react-markdown": "^7.1.2",
|
|
137
137
|
"react-syntax-highlighter": "^15.4.5",
|
|
138
|
-
"react-test-renderer": "^
|
|
138
|
+
"react-test-renderer": "^18.2.0",
|
|
139
139
|
"remark-directive": "^2.0.1",
|
|
140
140
|
"remark-gfm": "^3.0.1",
|
|
141
141
|
"sass": "^1.45.0",
|
|
@@ -147,5 +147,12 @@
|
|
|
147
147
|
"vinyl-fs": "^3.0.3",
|
|
148
148
|
"vite": "^2.1.5",
|
|
149
149
|
"vite-plugin-dts": "^1.1.1"
|
|
150
|
+
},
|
|
151
|
+
"peerDependencies": {
|
|
152
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
153
|
+
},
|
|
154
|
+
"resolutions": {
|
|
155
|
+
"@types/react": "18",
|
|
156
|
+
"@types/react-dom": "18"
|
|
150
157
|
}
|
|
151
158
|
}
|