@ioca/react 1.1.5 → 1.1.7
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 +6 -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;
|
|
@@ -238,11 +238,12 @@ interface IDrawer extends HTMLAttributes<HTMLDivElement> {
|
|
|
238
238
|
footer?: ReactNode;
|
|
239
239
|
hideCloseButton?: boolean;
|
|
240
240
|
backdropClosable?: boolean;
|
|
241
|
+
keepDOM?: boolean;
|
|
241
242
|
onVisibleChange?: (visible: boolean) => void;
|
|
242
243
|
onClose?: () => void;
|
|
243
244
|
}
|
|
244
245
|
|
|
245
|
-
declare function Drawer(props: IDrawer):
|
|
246
|
+
declare function Drawer(props: IDrawer): any;
|
|
246
247
|
|
|
247
248
|
interface IList extends HTMLAttributes<HTMLUListElement> {
|
|
248
249
|
label?: ReactNode | ((i: number) => ReactNode);
|
|
@@ -891,6 +892,7 @@ interface IVideo extends HTMLAttributes<HTMLVideoElement> {
|
|
|
891
892
|
height?: number | string;
|
|
892
893
|
width?: number | string;
|
|
893
894
|
useOriginControls?: boolean;
|
|
895
|
+
poster?: string;
|
|
894
896
|
timeProgressProps?: IProgress;
|
|
895
897
|
volumeProgressProps?: IProgress;
|
|
896
898
|
onFullScreenChange?: (fullscreen: boolean) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ioca/react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
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": {
|