@ioca/react 1.1.5 → 1.1.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/lib/css/index.css +1 -1
- package/lib/css/index.css.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types/index.d.ts +4 -4
- package/package.json +7 -10
package/lib/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { HTMLAttributes, ReactNode, CSSProperties, ForwardRefExoticComponent, RefAttributes, ButtonHTMLAttributes, AnchorHTMLAttributes, ChangeEvent, KeyboardEvent, InputHTMLAttributes, MouseEvent, FC, TextareaHTMLAttributes, Ref } from 'react';
|
|
4
|
-
import { LinkProps } from 'react-router
|
|
4
|
+
import { LinkProps } from 'react-router';
|
|
5
5
|
import { ListProps } from 'rc-virtual-list';
|
|
6
6
|
import { ColorPickerProps } from '@rc-component/color-picker';
|
|
7
7
|
import { Dayjs } from 'dayjs';
|
|
@@ -19,7 +19,7 @@ interface IAffix extends HTMLAttributes<HTMLElement> {
|
|
|
19
19
|
declare function ToTop(props: IAffix): react_jsx_runtime.JSX.Element;
|
|
20
20
|
|
|
21
21
|
declare const Affix: {
|
|
22
|
-
(props: IAffix): JSX.Element;
|
|
22
|
+
(props: IAffix): react_jsx_runtime.JSX.Element;
|
|
23
23
|
ToTop: typeof ToTop;
|
|
24
24
|
};
|
|
25
25
|
|
|
@@ -87,7 +87,7 @@ interface ICard {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
declare const Card: {
|
|
90
|
-
(props: ICard): JSX.Element;
|
|
90
|
+
(props: ICard): react_jsx_runtime.JSX.Element;
|
|
91
91
|
Header: any;
|
|
92
92
|
Footer: any;
|
|
93
93
|
Banner: any;
|
|
@@ -242,7 +242,7 @@ interface IDrawer extends HTMLAttributes<HTMLDivElement> {
|
|
|
242
242
|
onClose?: () => void;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
declare function Drawer(props: IDrawer):
|
|
245
|
+
declare function Drawer(props: IDrawer): any;
|
|
246
246
|
|
|
247
247
|
interface IList extends HTMLAttributes<HTMLUListElement> {
|
|
248
248
|
label?: ReactNode | ((i: number) => ReactNode);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ioca/react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"pubsub-js": "^1.9.5",
|
|
19
19
|
"radash": "^12.1.0",
|
|
20
20
|
"rc-virtual-list": "^3.15.0",
|
|
21
|
-
"react": "^
|
|
21
|
+
"react": "^19.0.0",
|
|
22
22
|
"react-custom-scrollbars-2": "^4.5.0",
|
|
23
|
-
"react-dom": "^
|
|
24
|
-
"react-router
|
|
23
|
+
"react-dom": "^19.0.0",
|
|
24
|
+
"react-router": "^7.1.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"@types/node": "^22.10.1",
|
|
32
32
|
"@types/pubsub-js": "^1.8.5",
|
|
33
33
|
"@types/react": "18.2.52",
|
|
34
|
-
"@types/react-dom": "^18.3.1",
|
|
35
34
|
"@vitejs/plugin-react": "^4.3.3",
|
|
36
35
|
"chalk": "^5.4.1",
|
|
37
36
|
"fs": "^0.0.1-security",
|
|
@@ -47,10 +46,7 @@
|
|
|
47
46
|
"vite": "^6.0.2",
|
|
48
47
|
"vite-plugin-dynamic-import": "^1.6.0"
|
|
49
48
|
},
|
|
50
|
-
"peerDependencies": {
|
|
51
|
-
"react": ">=18.3.1",
|
|
52
|
-
"react-dom": ">=18.3.1"
|
|
53
|
-
},
|
|
49
|
+
"peerDependencies": {},
|
|
54
50
|
"main": "lib/index.js",
|
|
55
51
|
"module": "lib/index.js",
|
|
56
52
|
"exports": {
|
|
@@ -82,7 +78,8 @@
|
|
|
82
78
|
},
|
|
83
79
|
"keywords": [
|
|
84
80
|
"ioca",
|
|
85
|
-
"react ui"
|
|
81
|
+
"react ui",
|
|
82
|
+
"components"
|
|
86
83
|
],
|
|
87
84
|
"author": "iannman",
|
|
88
85
|
"bugs": {
|