@ioca/react 1.1.7 → 1.1.8
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 +59 -42
- package/package.json +4 -3
package/lib/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { HTMLAttributes, ReactNode, CSSProperties, ForwardRefExoticComponent, RefAttributes, ButtonHTMLAttributes, AnchorHTMLAttributes, ChangeEvent, KeyboardEvent, InputHTMLAttributes, MouseEvent, FC, TextareaHTMLAttributes, Ref } from 'react';
|
|
3
|
+
import { HTMLAttributes, ReactNode, CSSProperties, ForwardRefExoticComponent, RefAttributes, ButtonHTMLAttributes, AnchorHTMLAttributes, RefObject, ChangeEvent, KeyboardEvent, InputHTMLAttributes, MouseEvent, JSX, FC, TextareaHTMLAttributes, Ref } from 'react';
|
|
4
4
|
import { LinkProps } from 'react-router';
|
|
5
5
|
import { ListProps } from 'rc-virtual-list';
|
|
6
6
|
import { ColorPickerProps } from '@rc-component/color-picker';
|
|
@@ -35,7 +35,7 @@ interface IBadge {
|
|
|
35
35
|
children?: ReactNode;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
declare const Badge: (props: IBadge) => JSX.Element;
|
|
38
|
+
declare const Badge: (props: IBadge) => react_jsx_runtime.JSX.Element;
|
|
39
39
|
|
|
40
40
|
declare function Group(props: IButtonGroup): react_jsx_runtime.JSX.Element;
|
|
41
41
|
|
|
@@ -43,6 +43,7 @@ declare function Toggle(props: IButtonToggle): react_jsx_runtime.JSX.Element;
|
|
|
43
43
|
|
|
44
44
|
interface BaseButtonProps {
|
|
45
45
|
as?: "a" | "button" | ForwardRefExoticComponent<LinkProps & RefAttributes<HTMLAnchorElement>>;
|
|
46
|
+
ref?: RefObject<HTMLElement | null>;
|
|
46
47
|
children?: ReactNode | string;
|
|
47
48
|
className?: string;
|
|
48
49
|
loading?: boolean;
|
|
@@ -56,7 +57,7 @@ interface BaseButtonProps {
|
|
|
56
57
|
ripple?: boolean;
|
|
57
58
|
secondary?: boolean;
|
|
58
59
|
}
|
|
59
|
-
interface IButton extends BaseButtonProps, Omit<ButtonHTMLAttributes<HTMLElement>, "type">, AnchorHTMLAttributes<HTMLElement> {
|
|
60
|
+
interface IButton extends BaseButtonProps, Omit<ButtonHTMLAttributes<HTMLElement>, "type" | "onToggle">, Omit<AnchorHTMLAttributes<HTMLElement>, "onToggle"> {
|
|
60
61
|
}
|
|
61
62
|
interface IButtonToggle extends IButton {
|
|
62
63
|
active?: boolean;
|
|
@@ -76,23 +77,19 @@ interface CompositionButton extends ForwardRefExoticComponent<IButton & RefAttri
|
|
|
76
77
|
Group: typeof Group;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
|
-
declare const
|
|
80
|
+
declare const _default$3: CompositionButton;
|
|
80
81
|
|
|
81
82
|
interface ICard {
|
|
82
|
-
|
|
83
|
+
hideShadow?: boolean;
|
|
83
84
|
border?: boolean;
|
|
84
85
|
style?: CSSProperties;
|
|
85
86
|
className?: string;
|
|
86
87
|
children?: ReactNode;
|
|
88
|
+
header?: ReactNode;
|
|
89
|
+
footer?: ReactNode;
|
|
87
90
|
}
|
|
88
91
|
|
|
89
|
-
declare const Card:
|
|
90
|
-
(props: ICard): react_jsx_runtime.JSX.Element;
|
|
91
|
-
Header: any;
|
|
92
|
-
Footer: any;
|
|
93
|
-
Banner: any;
|
|
94
|
-
Tailer: any;
|
|
95
|
-
};
|
|
92
|
+
declare const Card: (props: ICard) => react_jsx_runtime.JSX.Element;
|
|
96
93
|
|
|
97
94
|
type TStatus = "normal" | "success" | "warning" | "error";
|
|
98
95
|
type TOption = {
|
|
@@ -107,6 +104,7 @@ type TValidate = {
|
|
|
107
104
|
};
|
|
108
105
|
interface BaseInput extends TValidate {
|
|
109
106
|
label?: ReactNode;
|
|
107
|
+
ref?: RefObject<HTMLInputElement | null>;
|
|
110
108
|
value?: any;
|
|
111
109
|
initValue?: any;
|
|
112
110
|
labelInline?: boolean;
|
|
@@ -164,7 +162,7 @@ interface ICollapseItem {
|
|
|
164
162
|
declare function Item$3(props: ICollapseItem): react_jsx_runtime.JSX.Element;
|
|
165
163
|
|
|
166
164
|
declare const Collapse: {
|
|
167
|
-
(props: ICollapse): JSX.Element;
|
|
165
|
+
(props: ICollapse): react_jsx_runtime.JSX.Element;
|
|
168
166
|
Item: typeof Item$3;
|
|
169
167
|
};
|
|
170
168
|
|
|
@@ -205,7 +203,7 @@ interface IDatagrid {
|
|
|
205
203
|
onResize?: (column?: IColumn, width?: number) => void;
|
|
206
204
|
}
|
|
207
205
|
|
|
208
|
-
declare const Datagrid: (props: IDatagrid) => JSX.Element;
|
|
206
|
+
declare const Datagrid: (props: IDatagrid) => react_jsx_runtime.JSX.Element;
|
|
209
207
|
|
|
210
208
|
type IData = {
|
|
211
209
|
label: ReactNode;
|
|
@@ -229,7 +227,7 @@ interface IDescription {
|
|
|
229
227
|
className?: string;
|
|
230
228
|
}
|
|
231
229
|
|
|
232
|
-
declare const Description: (props: IDescription) => JSX.Element;
|
|
230
|
+
declare const Description: (props: IDescription) => react_jsx_runtime.JSX.Element;
|
|
233
231
|
|
|
234
232
|
interface IDrawer extends HTMLAttributes<HTMLDivElement> {
|
|
235
233
|
visible?: boolean;
|
|
@@ -250,6 +248,7 @@ interface IList extends HTMLAttributes<HTMLUListElement> {
|
|
|
250
248
|
type?: "option" | "default";
|
|
251
249
|
}
|
|
252
250
|
interface IListItem extends HTMLAttributes<HTMLLIElement>, Pick<IList, "type"> {
|
|
251
|
+
ref?: RefObject<HTMLLIElement | null>;
|
|
253
252
|
active?: boolean;
|
|
254
253
|
align?: string;
|
|
255
254
|
disabled?: boolean;
|
|
@@ -293,7 +292,7 @@ interface IDropItem extends IListItem {
|
|
|
293
292
|
}
|
|
294
293
|
|
|
295
294
|
declare const Dropdown: {
|
|
296
|
-
(props: IDropdown): JSX.Element;
|
|
295
|
+
(props: IDropdown): react_jsx_runtime.JSX.Element;
|
|
297
296
|
Item: (props: IDropItem) => react_jsx_runtime.JSX.Element;
|
|
298
297
|
};
|
|
299
298
|
|
|
@@ -310,7 +309,7 @@ interface IFlex {
|
|
|
310
309
|
children?: ReactNode;
|
|
311
310
|
}
|
|
312
311
|
|
|
313
|
-
declare const Flex: (props: IFlex) => JSX.Element;
|
|
312
|
+
declare const Flex: (props: IFlex) => react_jsx_runtime.JSX.Element;
|
|
314
313
|
|
|
315
314
|
declare class IFormInstance {
|
|
316
315
|
readonly id?: string;
|
|
@@ -349,20 +348,21 @@ interface IField {
|
|
|
349
348
|
declare function Field(props: IField): react.ReactNode;
|
|
350
349
|
|
|
351
350
|
declare const Form: {
|
|
352
|
-
(props: IForm): JSX.Element;
|
|
351
|
+
(props: IForm): react_jsx_runtime.JSX.Element;
|
|
353
352
|
useForm: typeof useForm;
|
|
354
353
|
Field: typeof Field;
|
|
355
354
|
};
|
|
356
355
|
|
|
357
356
|
interface IIcon extends HTMLAttributes<HTMLElement> {
|
|
358
357
|
icon: ReactNode;
|
|
358
|
+
ref?: RefObject<HTMLOrSVGElement | null>;
|
|
359
359
|
size?: string;
|
|
360
360
|
rotate?: number;
|
|
361
361
|
style?: CSSProperties;
|
|
362
362
|
className?: string;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
declare const Icon: react.
|
|
365
|
+
declare const Icon: (props: IIcon) => string | number | bigint | boolean | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | null | undefined;
|
|
366
366
|
|
|
367
367
|
declare function List$1(props: IImageList): react_jsx_runtime.JSX.Element | "";
|
|
368
368
|
|
|
@@ -392,18 +392,19 @@ interface CompositionImage extends FC<IImage> {
|
|
|
392
392
|
|
|
393
393
|
declare const _default$2: CompositionImage;
|
|
394
394
|
|
|
395
|
-
declare const Number$2:
|
|
395
|
+
declare const Number$2: (props: IInputNumber) => react_jsx_runtime.JSX.Element;
|
|
396
396
|
|
|
397
397
|
declare const Range: (props: IInputRange) => react_jsx_runtime.JSX.Element;
|
|
398
398
|
|
|
399
|
-
declare const Textarea:
|
|
399
|
+
declare const Textarea: (props: ITextarea) => react_jsx_runtime.JSX.Element;
|
|
400
400
|
|
|
401
401
|
interface IInput extends BaseInput, Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "defaultValue" | "onChange"> {
|
|
402
402
|
prepend?: ReactNode;
|
|
403
403
|
append?: ReactNode;
|
|
404
404
|
hideVisible?: boolean;
|
|
405
405
|
}
|
|
406
|
-
interface ITextarea extends BaseInput, Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "defaultValue" | "onChange"> {
|
|
406
|
+
interface ITextarea extends Omit<BaseInput, "ref">, Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "value" | "defaultValue" | "onChange"> {
|
|
407
|
+
ref?: RefObject<HTMLTextAreaElement | null>;
|
|
407
408
|
autoSize?: boolean;
|
|
408
409
|
}
|
|
409
410
|
interface IInputNumber extends BaseInput, Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue"> {
|
|
@@ -430,7 +431,7 @@ interface IInputRange extends Omit<BaseInput, "value" | "onChange">, Omit<InputH
|
|
|
430
431
|
hideControl?: boolean;
|
|
431
432
|
onChange?: (value: (number | string | undefined)[], e?: ChangeEvent<HTMLInputElement> | MouseEvent<Element>) => void;
|
|
432
433
|
}
|
|
433
|
-
type CompositionInput = ForwardRefExoticComponent<IInput &
|
|
434
|
+
type CompositionInput = ForwardRefExoticComponent<IInput> & {
|
|
434
435
|
Textarea: typeof Textarea;
|
|
435
436
|
Number: typeof Number$2;
|
|
436
437
|
Range: typeof Range;
|
|
@@ -439,9 +440,9 @@ type CompositionInput = ForwardRefExoticComponent<IInput & RefAttributes<HTMLInp
|
|
|
439
440
|
declare const Input: CompositionInput;
|
|
440
441
|
|
|
441
442
|
declare const List: {
|
|
442
|
-
(props: IList): JSX.Element;
|
|
443
|
+
(props: IList): react_jsx_runtime.JSX.Element;
|
|
443
444
|
Virtual: (props: IVirtual) => react_jsx_runtime.JSX.Element;
|
|
444
|
-
Item:
|
|
445
|
+
Item: (props: IListItem) => react_jsx_runtime.JSX.Element;
|
|
445
446
|
};
|
|
446
447
|
|
|
447
448
|
interface ILoading extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -451,7 +452,7 @@ interface ILoading extends HTMLAttributes<HTMLDivElement> {
|
|
|
451
452
|
absolute?: boolean;
|
|
452
453
|
}
|
|
453
454
|
|
|
454
|
-
declare const Loading: (props: ILoading) => JSX.Element;
|
|
455
|
+
declare const Loading: (props: ILoading) => react_jsx_runtime.JSX.Element;
|
|
455
456
|
|
|
456
457
|
interface IMessage {
|
|
457
458
|
id?: string;
|
|
@@ -523,7 +524,7 @@ interface IPagination extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
|
523
524
|
onChange?: (page: number) => Promise<void> | void;
|
|
524
525
|
}
|
|
525
526
|
|
|
526
|
-
declare const Pagination: (props: IPagination) => JSX.Element;
|
|
527
|
+
declare const Pagination: (props: IPagination) => react_jsx_runtime.JSX.Element;
|
|
527
528
|
|
|
528
529
|
interface IDatePicker extends BaseInput, IInput, Omit<IBaseDates, "value"> {
|
|
529
530
|
popupProps?: IPopup;
|
|
@@ -560,9 +561,9 @@ interface IColorPicker extends ColorPickerProps {
|
|
|
560
561
|
|
|
561
562
|
declare function ColorPicker(props: IColorPicker): react_jsx_runtime.JSX.Element;
|
|
562
563
|
|
|
563
|
-
declare function
|
|
564
|
+
declare function TimePicker(props: ITimePicker): react_jsx_runtime.JSX.Element;
|
|
564
565
|
|
|
565
|
-
declare const Datepicker: (props: IDatePicker) => JSX.Element;
|
|
566
|
+
declare const Datepicker: (props: IDatePicker) => react_jsx_runtime.JSX.Element;
|
|
566
567
|
|
|
567
568
|
interface IPopconfirm extends IPopup {
|
|
568
569
|
icon?: ReactNode;
|
|
@@ -573,7 +574,7 @@ interface IPopconfirm extends IPopup {
|
|
|
573
574
|
onClose?: () => Promise<void> | void;
|
|
574
575
|
}
|
|
575
576
|
|
|
576
|
-
declare const Popconfirm: (props: IPopconfirm) => JSX.Element;
|
|
577
|
+
declare const Popconfirm: (props: IPopconfirm) => react_jsx_runtime.JSX.Element;
|
|
577
578
|
|
|
578
579
|
declare function Popup(props: IPopup): react_jsx_runtime.JSX.Element;
|
|
579
580
|
|
|
@@ -592,7 +593,7 @@ interface IProgress extends Omit<BaseInput, "value" | "hideClear" | "onChange">
|
|
|
592
593
|
onChange?: (value: number) => void;
|
|
593
594
|
}
|
|
594
595
|
|
|
595
|
-
declare const Progress: (props: IProgress) => JSX.Element;
|
|
596
|
+
declare const Progress: (props: IProgress) => react_jsx_runtime.JSX.Element;
|
|
596
597
|
|
|
597
598
|
interface IRadioItem extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange"> {
|
|
598
599
|
type?: "default" | "button";
|
|
@@ -630,7 +631,7 @@ interface IResizable {
|
|
|
630
631
|
onResizeComplete?: (size: string | number) => void;
|
|
631
632
|
}
|
|
632
633
|
|
|
633
|
-
declare const Resizable: (props: IResizable) => JSX.Element;
|
|
634
|
+
declare const Resizable: (props: IResizable) => react_jsx_runtime.JSX.Element;
|
|
634
635
|
|
|
635
636
|
interface ISelect extends Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "onSelect" | "onChange">, BaseInput {
|
|
636
637
|
options: TOptions;
|
|
@@ -649,7 +650,7 @@ interface ISelect extends Omit<InputHTMLAttributes<HTMLInputElement>, "value" |
|
|
|
649
650
|
onChange?: (v: any) => void;
|
|
650
651
|
}
|
|
651
652
|
|
|
652
|
-
declare const Select:
|
|
653
|
+
declare const Select: (props: ISelect) => react_jsx_runtime.JSX.Element;
|
|
653
654
|
|
|
654
655
|
interface IStep {
|
|
655
656
|
active?: number;
|
|
@@ -670,13 +671,14 @@ interface IStepItem extends IStep {
|
|
|
670
671
|
declare function Item$2(props: IStepItem): react_jsx_runtime.JSX.Element;
|
|
671
672
|
|
|
672
673
|
declare const Step: {
|
|
673
|
-
(props: IStep): JSX.Element;
|
|
674
|
+
(props: IStep): react_jsx_runtime.JSX.Element;
|
|
674
675
|
Item: typeof Item$2;
|
|
675
676
|
};
|
|
676
677
|
|
|
677
678
|
declare function Item$1(props: ISwiperItem): react_jsx_runtime.JSX.Element;
|
|
678
679
|
|
|
679
680
|
interface ISwiper {
|
|
681
|
+
ref?: RefObject<RefSwiper | null>;
|
|
680
682
|
initial?: number;
|
|
681
683
|
type?: "normal" | "fade" | "flow";
|
|
682
684
|
display?: number;
|
|
@@ -716,7 +718,7 @@ interface RefSwiper {
|
|
|
716
718
|
swipeNext: () => void;
|
|
717
719
|
swipePrev: () => void;
|
|
718
720
|
}
|
|
719
|
-
interface CompositionSwiper extends ForwardRefExoticComponent<ISwiper
|
|
721
|
+
interface CompositionSwiper extends ForwardRefExoticComponent<ISwiper> {
|
|
720
722
|
Item: typeof Item$1;
|
|
721
723
|
}
|
|
722
724
|
|
|
@@ -736,6 +738,7 @@ interface ITabItem {
|
|
|
736
738
|
children?: ReactNode;
|
|
737
739
|
}
|
|
738
740
|
interface ITabs {
|
|
741
|
+
ref?: RefObject<RefTabs | null>;
|
|
739
742
|
active?: TTabKey;
|
|
740
743
|
tabs?: ITabItem[] | TTabKey[];
|
|
741
744
|
type?: "default" | "line" | "pane";
|
|
@@ -758,7 +761,7 @@ interface RefTabs {
|
|
|
758
761
|
add: (tab: ITabItem, position?: number) => void;
|
|
759
762
|
navs: Ref<HTMLDivElement>;
|
|
760
763
|
}
|
|
761
|
-
interface CompositionTabs extends ForwardRefExoticComponent<ITabs
|
|
764
|
+
interface CompositionTabs extends ForwardRefExoticComponent<ITabs> {
|
|
762
765
|
Item: typeof Item;
|
|
763
766
|
}
|
|
764
767
|
|
|
@@ -774,7 +777,9 @@ interface ITag extends HTMLAttributes<HTMLSpanElement> {
|
|
|
774
777
|
onClose?: (e: MouseEvent) => void;
|
|
775
778
|
}
|
|
776
779
|
|
|
777
|
-
declare const Tag: (props: ITag) => JSX.Element;
|
|
780
|
+
declare const Tag: (props: ITag) => react_jsx_runtime.JSX.Element;
|
|
781
|
+
|
|
782
|
+
declare function HighLight(props: ITextHighLight): react_jsx_runtime.JSX.Element;
|
|
778
783
|
|
|
779
784
|
declare function Number$1(props: ITextNumber): react_jsx_runtime.JSX.Element;
|
|
780
785
|
|
|
@@ -786,6 +791,7 @@ interface IText {
|
|
|
786
791
|
decoration?: string;
|
|
787
792
|
weight?: string | number;
|
|
788
793
|
gradient?: string[];
|
|
794
|
+
wave?: boolean;
|
|
789
795
|
style?: CSSProperties;
|
|
790
796
|
className?: string;
|
|
791
797
|
children?: ReactNode;
|
|
@@ -803,9 +809,17 @@ interface ITextTime extends IText {
|
|
|
803
809
|
zero?: boolean;
|
|
804
810
|
units?: string[];
|
|
805
811
|
}
|
|
812
|
+
interface ITextHighLight extends IText {
|
|
813
|
+
keyword: string | string[];
|
|
814
|
+
text: string;
|
|
815
|
+
caseSensitive?: boolean;
|
|
816
|
+
escape?: boolean;
|
|
817
|
+
renderWord?: (word: string) => ReactNode;
|
|
818
|
+
}
|
|
806
819
|
interface CompositionText extends FC<IText> {
|
|
807
820
|
Number: typeof Number$1;
|
|
808
821
|
Time: typeof Number;
|
|
822
|
+
HighLight: typeof HighLight;
|
|
809
823
|
}
|
|
810
824
|
|
|
811
825
|
declare const _default: CompositionText;
|
|
@@ -827,6 +841,7 @@ interface ITreeItem {
|
|
|
827
841
|
interface ITree {
|
|
828
842
|
data: ITreeItem[];
|
|
829
843
|
parent?: ITreeItem;
|
|
844
|
+
ref?: RefObject<RefTree | null>;
|
|
830
845
|
depth?: number;
|
|
831
846
|
nodeProps?: {
|
|
832
847
|
key?: string;
|
|
@@ -853,9 +868,10 @@ interface RefTree {
|
|
|
853
868
|
getPartofs: () => [string[], ITreeItem[]];
|
|
854
869
|
}
|
|
855
870
|
|
|
856
|
-
declare const Tree:
|
|
871
|
+
declare const Tree: (props: ITree) => react_jsx_runtime.JSX.Element;
|
|
857
872
|
|
|
858
|
-
interface IUpload extends BaseInput, Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "onChange"> {
|
|
873
|
+
interface IUpload extends Omit<BaseInput, "ref">, Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "onChange"> {
|
|
874
|
+
ref?: RefObject<RefUpload | null>;
|
|
859
875
|
files?: IFile[];
|
|
860
876
|
accept?: string;
|
|
861
877
|
multiple?: boolean;
|
|
@@ -881,9 +897,10 @@ interface RefUpload {
|
|
|
881
897
|
getFileList: () => IFile[];
|
|
882
898
|
}
|
|
883
899
|
|
|
884
|
-
declare const Upload:
|
|
900
|
+
declare const Upload: (props: IUpload) => react_jsx_runtime.JSX.Element;
|
|
885
901
|
|
|
886
902
|
interface IVideo extends HTMLAttributes<HTMLVideoElement> {
|
|
903
|
+
ref?: RefObject<RefVideo | null>;
|
|
887
904
|
src?: string;
|
|
888
905
|
hideControls?: boolean;
|
|
889
906
|
autoplay?: boolean;
|
|
@@ -905,7 +922,7 @@ interface RefVideo {
|
|
|
905
922
|
getVideo: () => HTMLVideoElement | null;
|
|
906
923
|
}
|
|
907
924
|
|
|
908
|
-
declare const Video:
|
|
925
|
+
declare const Video: (props: IVideo) => react_jsx_runtime.JSX.Element;
|
|
909
926
|
|
|
910
927
|
type TPreviewItem = {
|
|
911
928
|
src: string;
|
|
@@ -944,4 +961,4 @@ interface IPreview {
|
|
|
944
961
|
|
|
945
962
|
declare function usePreview(): (config: IPreview) => void;
|
|
946
963
|
|
|
947
|
-
export { Affix, Badge, Button, Card, Checkbox, Collapse, ColorPicker, Datagrid, Datepicker as DatePicker, Description, Drawer, Dropdown, Flex, Form, Icon, _default$2 as Image, Input, List, Loading, message as Message, _default$1 as Modal, Pagination, Popconfirm, Popup, Progress, Radio, Resizable, Select, Step, Swiper, Tabs, Tag, _default as Text,
|
|
964
|
+
export { Affix, Badge, _default$3 as Button, Card, Checkbox, Collapse, ColorPicker, Datagrid, Datepicker as DatePicker, Description, Drawer, Dropdown, Flex, Form, Icon, _default$2 as Image, Input, List, Loading, message as Message, _default$1 as Modal, Pagination, Popconfirm, Popup, Progress, Radio, Resizable, Select, Step, Swiper, Tabs, Tag, _default as Text, TimePicker, Tree, Upload, Video, usePreview };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ioca/react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
@@ -15,9 +15,10 @@
|
|
|
15
15
|
"ahooks": "^3.8.1",
|
|
16
16
|
"classnames": "^2.5.1",
|
|
17
17
|
"dayjs": "^1.11.13",
|
|
18
|
+
"highlight-words-core": "^1.2.3",
|
|
18
19
|
"pubsub-js": "^1.9.5",
|
|
19
20
|
"radash": "^12.1.0",
|
|
20
|
-
"rc-virtual-list": "^3.
|
|
21
|
+
"rc-virtual-list": "^3.17.0",
|
|
21
22
|
"react": "^19.0.0",
|
|
22
23
|
"react-custom-scrollbars-2": "^4.5.0",
|
|
23
24
|
"react-dom": "^19.0.0",
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
"@types/mockjs": "^1.0.10",
|
|
31
32
|
"@types/node": "^22.10.1",
|
|
32
33
|
"@types/pubsub-js": "^1.8.5",
|
|
33
|
-
"@types/react": "
|
|
34
|
+
"@types/react": "^19.0.4",
|
|
34
35
|
"@vitejs/plugin-react": "^4.3.3",
|
|
35
36
|
"chalk": "^5.4.1",
|
|
36
37
|
"fs": "^0.0.1-security",
|