@nutui/nutui-react 1.3.12 → 1.3.13
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/CHANGELOG.md +14 -0
- package/dist/esm/Cascader.js +13 -2
- package/dist/esm/Cell.js +108 -7
- package/dist/esm/ConfigProvider.js +3 -0
- package/dist/esm/Form.js +2 -4
- package/dist/esm/FormItem.js +3 -7
- package/dist/esm/Image/style/index.js +2 -0
- package/dist/esm/Image.js +105 -0
- package/dist/esm/TrendArrow/style/index.js +2 -0
- package/dist/esm/TrendArrow.js +101 -0
- package/dist/esm/WaterMark/style/index.js +2 -0
- package/dist/esm/WaterMark.js +113 -0
- package/dist/esm/{formitem-46d4aca3.js → formitem-5a7034ff.js} +1 -1
- package/dist/esm/nutui-react.es.js +3 -0
- package/dist/esm/types/src/locales/base.d.ts +3 -0
- package/dist/esm/types/src/packages/address/address.d.ts +2 -2
- package/dist/esm/types/src/packages/audio/audio.d.ts +2 -2
- package/dist/esm/types/src/packages/avatar/avatar.d.ts +2 -2
- package/dist/esm/types/src/packages/backtop/backtop.d.ts +2 -2
- package/dist/esm/types/src/packages/badge/badge.d.ts +2 -2
- package/dist/esm/types/src/packages/button/button.d.ts +2 -2
- package/dist/esm/types/src/packages/cascader/cascader.d.ts +2 -0
- package/dist/esm/types/src/packages/cascader/cascaderItem.d.ts +1 -0
- package/dist/esm/types/src/packages/cell/cell.d.ts +2 -2
- package/dist/esm/types/src/packages/checkbox/checkbox.d.ts +2 -2
- package/dist/esm/types/src/packages/circleprogress/circleprogress.d.ts +1 -1
- package/dist/esm/types/src/packages/collapseitem/collapseitem.d.ts +2 -2
- package/dist/esm/types/src/packages/dialog/config.d.ts +3 -3
- package/dist/esm/types/src/packages/dialog/dialog.d.ts +2 -2
- package/dist/esm/types/src/packages/fixednav/fixednav.d.ts +2 -2
- package/dist/esm/types/src/packages/form/form.d.ts +2 -2
- package/dist/esm/types/src/packages/formitem/formitem.d.ts +2 -2
- package/dist/esm/types/src/packages/formitem/index.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/griditem/griditem.d.ts +2 -2
- package/dist/esm/types/src/packages/image/__test__/image.spec.d.ts +1 -0
- package/dist/esm/types/src/packages/image/demo.d.ts +3 -0
- package/dist/esm/types/src/packages/image/image.d.ts +23 -0
- package/dist/esm/types/src/packages/image/index.d.ts +2 -0
- package/dist/esm/types/src/packages/image/index.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/infiniteloading/infiniteloading.d.ts +2 -2
- package/dist/esm/types/src/packages/input/input.d.ts +2 -2
- package/dist/esm/types/src/packages/inputnumber/inputnumber.d.ts +2 -2
- package/dist/esm/types/src/packages/menu/menu.d.ts +2 -2
- package/dist/esm/types/src/packages/menuitem/menuitem.d.ts +2 -2
- package/dist/esm/types/src/packages/navbar/navbar.d.ts +2 -2
- package/dist/esm/types/src/packages/noticebar/noticebar.d.ts +2 -2
- package/dist/esm/types/src/packages/nutui.react.build.d.ts +4 -1
- package/dist/esm/types/src/packages/nutui.react.d.ts +7 -1
- package/dist/esm/types/src/packages/nutui.react.scss.d.ts +3 -0
- package/dist/esm/types/src/packages/nutui.react.taro.d.ts +11 -1
- package/dist/esm/types/src/packages/nutui.react.taro.scss.d.ts +5 -0
- package/dist/esm/types/src/packages/nutui.taro.react.build.d.ts +6 -1
- package/dist/esm/types/src/packages/picker/pickerSlot.d.ts +2 -2
- package/dist/esm/types/src/packages/popover/popover.d.ts +2 -2
- package/dist/esm/types/src/packages/popup/popup.d.ts +2 -2
- package/dist/esm/types/src/packages/progress/progress.d.ts +2 -2
- package/dist/esm/types/src/packages/radio/radio.d.ts +2 -2
- package/dist/esm/types/src/packages/rate/rate.d.ts +2 -2
- package/dist/esm/types/src/packages/searchbar/searchbar.d.ts +2 -2
- package/dist/esm/types/src/packages/shortpassword/shortpassword.d.ts +2 -2
- package/dist/esm/types/src/packages/step/step.d.ts +2 -2
- package/dist/esm/types/src/packages/sticky/sticky.d.ts +2 -2
- package/dist/esm/types/src/packages/tabbaritem/tabbaritem.d.ts +2 -2
- package/dist/esm/types/src/packages/table/table.d.ts +2 -2
- package/dist/esm/types/src/packages/table/types.d.ts +2 -2
- package/dist/esm/types/src/packages/tabs/tabs.d.ts +2 -2
- package/dist/esm/types/src/packages/tag/tag.d.ts +2 -2
- package/dist/esm/types/src/packages/trendarrow/__test__/trendarrow.spec.d.ts +1 -0
- package/dist/esm/types/src/packages/trendarrow/demo.d.ts +4 -0
- package/dist/esm/types/src/packages/trendarrow/index.d.ts +2 -0
- package/dist/esm/types/src/packages/trendarrow/index.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/trendarrow/trendarrow.d.ts +18 -0
- package/dist/esm/types/src/packages/uploader/uploader.d.ts +2 -2
- package/dist/esm/types/src/packages/virtuallist/type.d.ts +1 -1
- package/dist/esm/types/src/packages/virtuallist/utils.d.ts +1 -1
- package/dist/esm/types/src/packages/virtuallist/virtuallist.d.ts +2 -2
- package/dist/esm/types/src/packages/watermark/__tests__/watermark.spec.d.ts +2 -0
- package/dist/esm/types/src/packages/watermark/demo.d.ts +4 -0
- package/dist/esm/types/src/packages/watermark/index.d.ts +2 -0
- package/dist/esm/types/src/packages/watermark/index.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/watermark/watermark.d.ts +22 -0
- package/dist/esm/types/src/utils/typings.d.ts +1 -1
- package/dist/locales/base.d.ts +3 -0
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +4 -1
- package/dist/locales/id-ID.js +4 -1
- package/dist/locales/zh-CN.js +4 -1
- package/dist/locales/zh-TW.js +4 -1
- package/dist/nutui.react.es.js +535 -235
- package/dist/nutui.react.umd.js +537 -234
- package/dist/packages/cascader/cascader.scss +1 -1
- package/dist/packages/image/image.scss +51 -0
- package/dist/packages/trendarrow/trendarrow.scss +17 -0
- package/dist/packages/watermark/watermark.scss +13 -0
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/font/config.json +4 -2
- package/dist/styles/font/demo_index.html +51 -5
- package/dist/styles/font/iconfont.css +11 -3
- package/dist/styles/font/iconfont.js +65 -62
- package/dist/styles/font/iconfont.json +14 -0
- package/dist/styles/font/iconfont.ttf +0 -0
- package/dist/styles/font/iconfont.woff +0 -0
- package/dist/styles/font/iconfont.woff2 +0 -0
- package/dist/styles/themes/default.scss +3 -0
- package/dist/styles/variables.scss +4 -0
- package/dist/types/index.d.ts +111 -43
- package/dist/types/nutui.react.build.ts +7 -1
- package/package.json +2 -2
- package/dist/esm/cell-c8781626.js +0 -108
|
@@ -5,6 +5,20 @@
|
|
|
5
5
|
"css_prefix_text": "nut-icon-",
|
|
6
6
|
"description": "nutui 3.0字体管理",
|
|
7
7
|
"glyphs": [
|
|
8
|
+
{
|
|
9
|
+
"icon_id": "4175511",
|
|
10
|
+
"name": "下箭头",
|
|
11
|
+
"font_class": "triangle-down",
|
|
12
|
+
"unicode": "eb6d",
|
|
13
|
+
"unicode_decimal": 60269
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"icon_id": "4175512",
|
|
17
|
+
"name": "上箭头",
|
|
18
|
+
"font_class": "triangle-up",
|
|
19
|
+
"unicode": "eb6e",
|
|
20
|
+
"unicode_decimal": 60270
|
|
21
|
+
},
|
|
8
22
|
{
|
|
9
23
|
"icon_id": "30188161",
|
|
10
24
|
"name": "image-error",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@import '../../packages/overlay/overlay.scss';
|
|
7
7
|
@import '../../packages/popup/popup.scss';
|
|
8
8
|
@import '../../packages/configprovider/configprovider.scss';
|
|
9
|
+
@import '../../packages/image/image.scss';
|
|
9
10
|
@import '../../packages/layout/layout.scss';
|
|
10
11
|
@import '../../packages/col/col.scss';
|
|
11
12
|
@import '../../packages/row/row.scss';
|
|
@@ -81,6 +82,8 @@
|
|
|
81
82
|
@import '../../packages/progress/progress.scss';
|
|
82
83
|
@import '../../packages/audio/audio.scss';
|
|
83
84
|
@import '../../packages/imagepreview/imagepreview.scss';
|
|
85
|
+
@import '../../packages/trendarrow/trendarrow.scss';
|
|
86
|
+
@import '../../packages/watermark/watermark.scss';
|
|
84
87
|
@import '../../packages/address/address.scss';
|
|
85
88
|
@import '../../packages/barrage/barrage.scss';
|
|
86
89
|
@import '../../packages/signature/signature.scss';
|
|
@@ -1083,3 +1083,7 @@ $row-content-border-radius: 6px !default;
|
|
|
1083
1083
|
$row-content-height: 50px !default;
|
|
1084
1084
|
$row-content-line-height: 40px !default;
|
|
1085
1085
|
$col-default-margin-bottom: 15px !default;
|
|
1086
|
+
|
|
1087
|
+
// TrendArrow
|
|
1088
|
+
$trendarrow-font-size: 14px !default;
|
|
1089
|
+
$trendarrow-before-icon-margin: 4px !default;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { CSSProperties, ReactNode, FunctionComponent, ReactHTML, ReactElement, MouseEvent as MouseEvent$1, MouseEventHandler, ChangeEvent, FocusEvent, HTMLInputTypeAttribute, RefObject, ForwardRefExoticComponent, PropsWithChildren, Component, ReactEventHandler } from 'react';
|
|
3
3
|
|
|
4
|
-
interface
|
|
4
|
+
interface BasicComponent {
|
|
5
5
|
className?: string;
|
|
6
6
|
style?: CSSProperties;
|
|
7
7
|
iconFontClassName?: string;
|
|
@@ -9,7 +9,7 @@ interface IComponent {
|
|
|
9
9
|
children?: ReactNode;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
interface ButtonProps extends
|
|
12
|
+
interface ButtonProps extends BasicComponent {
|
|
13
13
|
className: string;
|
|
14
14
|
color: string;
|
|
15
15
|
shape: ButtonShape;
|
|
@@ -29,7 +29,7 @@ declare type ButtonSize = 'large' | 'normal' | 'small';
|
|
|
29
29
|
declare type ButtonShape = 'square' | 'round';
|
|
30
30
|
declare const Button: FunctionComponent<Partial<ButtonProps>>;
|
|
31
31
|
|
|
32
|
-
interface CellProps extends
|
|
32
|
+
interface CellProps extends BasicComponent {
|
|
33
33
|
title: ReactNode;
|
|
34
34
|
subTitle: ReactNode;
|
|
35
35
|
desc: string;
|
|
@@ -90,7 +90,7 @@ interface OverlayProps {
|
|
|
90
90
|
declare const Overlay: FunctionComponent<Partial<OverlayProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
91
91
|
|
|
92
92
|
declare type Teleport = HTMLElement | (() => HTMLElement) | null;
|
|
93
|
-
interface PopupProps extends OverlayProps,
|
|
93
|
+
interface PopupProps extends OverlayProps, BasicComponent {
|
|
94
94
|
position: string;
|
|
95
95
|
transition: string;
|
|
96
96
|
style: React__default.CSSProperties;
|
|
@@ -236,6 +236,9 @@ interface BaseLang {
|
|
|
236
236
|
refreshingText: string;
|
|
237
237
|
completeText: string;
|
|
238
238
|
};
|
|
239
|
+
watermark: {
|
|
240
|
+
errorCanvasTips: string;
|
|
241
|
+
};
|
|
239
242
|
}
|
|
240
243
|
|
|
241
244
|
interface ConfigProviderProps {
|
|
@@ -243,6 +246,29 @@ interface ConfigProviderProps {
|
|
|
243
246
|
}
|
|
244
247
|
declare const ConfigProvider: FunctionComponent<Partial<ConfigProviderProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
245
248
|
|
|
249
|
+
interface ImageProps {
|
|
250
|
+
className: string;
|
|
251
|
+
style: React__default.CSSProperties;
|
|
252
|
+
src: string;
|
|
253
|
+
fit: ImageFit;
|
|
254
|
+
position: ImagePosition;
|
|
255
|
+
alt: string;
|
|
256
|
+
width: string;
|
|
257
|
+
height: string;
|
|
258
|
+
round: boolean;
|
|
259
|
+
radius: string | number;
|
|
260
|
+
showError: boolean;
|
|
261
|
+
showLoading: boolean;
|
|
262
|
+
slotLoding: React__default.ReactNode;
|
|
263
|
+
slotError: React__default.ReactNode | string;
|
|
264
|
+
onClick?: (e: MouseEvent) => void;
|
|
265
|
+
onLoad?: () => void;
|
|
266
|
+
onError?: () => void;
|
|
267
|
+
}
|
|
268
|
+
declare type ImageFit = 'contain' | 'cover' | 'fill' | 'none' | 'scale-down' | string;
|
|
269
|
+
declare type ImagePosition = 'center' | 'top' | 'right' | 'bottom' | 'left' | string;
|
|
270
|
+
declare const Image: FunctionComponent<Partial<ImageProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onLoad' | 'onError'>>;
|
|
271
|
+
|
|
246
272
|
interface LayoutProps {
|
|
247
273
|
}
|
|
248
274
|
declare const Layout: FunctionComponent<Partial<LayoutProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -296,7 +322,7 @@ interface GridProps {
|
|
|
296
322
|
declare const Grid: FunctionComponent<Partial<GridProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
297
323
|
|
|
298
324
|
declare type GridDirection = 'horizontal' | 'vertical';
|
|
299
|
-
interface GridItemProps extends
|
|
325
|
+
interface GridItemProps extends BasicComponent {
|
|
300
326
|
text: string | ReactNode;
|
|
301
327
|
icon: string | ReactNode;
|
|
302
328
|
iconSize?: string | number;
|
|
@@ -314,7 +340,7 @@ interface GridItemProps extends IComponent {
|
|
|
314
340
|
}
|
|
315
341
|
declare const GridItem: FunctionComponent<Partial<GridItemProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
316
342
|
|
|
317
|
-
interface StickyProps extends
|
|
343
|
+
interface StickyProps extends BasicComponent {
|
|
318
344
|
container?: React__default.RefObject<HTMLElement>;
|
|
319
345
|
position?: 'top' | 'bottom';
|
|
320
346
|
className?: string;
|
|
@@ -326,7 +352,7 @@ interface StickyProps extends IComponent {
|
|
|
326
352
|
}
|
|
327
353
|
declare const Sticky: FunctionComponent<StickyProps>;
|
|
328
354
|
|
|
329
|
-
interface NavBarProps$1 extends
|
|
355
|
+
interface NavBarProps$1 extends BasicComponent {
|
|
330
356
|
leftShow: boolean;
|
|
331
357
|
title: string;
|
|
332
358
|
titIcon: string;
|
|
@@ -352,7 +378,7 @@ declare type Position$2 = {
|
|
|
352
378
|
top?: string;
|
|
353
379
|
bottom?: string;
|
|
354
380
|
};
|
|
355
|
-
interface FixedNavProps extends
|
|
381
|
+
interface FixedNavProps extends BasicComponent {
|
|
356
382
|
fixednavClass: string;
|
|
357
383
|
visible: boolean;
|
|
358
384
|
overlay: boolean;
|
|
@@ -383,7 +409,7 @@ interface TabbarProps {
|
|
|
383
409
|
}
|
|
384
410
|
declare const Tabbar: FunctionComponent<Partial<TabbarProps>>;
|
|
385
411
|
|
|
386
|
-
interface TabbarItemProps extends
|
|
412
|
+
interface TabbarItemProps extends BasicComponent {
|
|
387
413
|
dot: boolean;
|
|
388
414
|
size: string | number;
|
|
389
415
|
className: string;
|
|
@@ -447,7 +473,7 @@ declare class Title {
|
|
|
447
473
|
constructor();
|
|
448
474
|
}
|
|
449
475
|
declare type TabsSize = 'large' | 'normal' | 'small';
|
|
450
|
-
interface TabsProps extends
|
|
476
|
+
interface TabsProps extends BasicComponent {
|
|
451
477
|
className: string;
|
|
452
478
|
style: React__default.CSSProperties;
|
|
453
479
|
tabStyle: React__default.CSSProperties;
|
|
@@ -530,7 +556,7 @@ declare type SideNavBarItemProps = {
|
|
|
530
556
|
};
|
|
531
557
|
declare const SideNavBarItem: FunctionComponent<SideNavBarItemProps>;
|
|
532
558
|
|
|
533
|
-
interface MenuProps extends
|
|
559
|
+
interface MenuProps extends BasicComponent {
|
|
534
560
|
className: string;
|
|
535
561
|
style: React__default.CSSProperties;
|
|
536
562
|
activeColor: string;
|
|
@@ -546,7 +572,7 @@ interface OptionItem {
|
|
|
546
572
|
text: string;
|
|
547
573
|
value: string | number;
|
|
548
574
|
}
|
|
549
|
-
interface MenuItemProps extends
|
|
575
|
+
interface MenuItemProps extends BasicComponent {
|
|
550
576
|
className: string;
|
|
551
577
|
style: React__default.CSSProperties;
|
|
552
578
|
title: React__default.ReactNode;
|
|
@@ -648,7 +674,7 @@ interface InheritParentProps {
|
|
|
648
674
|
getParentVals?: () => string[] | undefined;
|
|
649
675
|
max?: number | undefined;
|
|
650
676
|
}
|
|
651
|
-
interface CheckboxProps extends
|
|
677
|
+
interface CheckboxProps extends BasicComponent {
|
|
652
678
|
checked: boolean;
|
|
653
679
|
disabled: boolean;
|
|
654
680
|
textPosition: 'left' | 'right';
|
|
@@ -693,7 +719,7 @@ interface DatePickerProps {
|
|
|
693
719
|
}
|
|
694
720
|
declare const DatePicker: FunctionComponent<Partial<DatePickerProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
695
721
|
|
|
696
|
-
interface InputNumberProps extends
|
|
722
|
+
interface InputNumberProps extends BasicComponent {
|
|
697
723
|
disabled: boolean;
|
|
698
724
|
buttonSize: string | number;
|
|
699
725
|
min: string | number;
|
|
@@ -729,7 +755,7 @@ declare type InputRule = {
|
|
|
729
755
|
message?: string;
|
|
730
756
|
required?: boolean;
|
|
731
757
|
};
|
|
732
|
-
interface InputProps extends
|
|
758
|
+
interface InputProps extends BasicComponent {
|
|
733
759
|
type: InputType;
|
|
734
760
|
name: string;
|
|
735
761
|
defaultValue: any;
|
|
@@ -799,7 +825,7 @@ declare const RadioGroup: React__default.ForwardRefExoticComponent<Partial<Radio
|
|
|
799
825
|
|
|
800
826
|
declare type Shape = 'button' | 'round';
|
|
801
827
|
declare type Position = 'right' | 'left';
|
|
802
|
-
interface RadioProps extends
|
|
828
|
+
interface RadioProps extends BasicComponent {
|
|
803
829
|
className: string;
|
|
804
830
|
style: React__default.CSSProperties;
|
|
805
831
|
disabled: boolean;
|
|
@@ -816,7 +842,7 @@ declare const Radio: FunctionComponent<Partial<RadioProps> & React__default.HTML
|
|
|
816
842
|
RadioGroup: typeof RadioGroup;
|
|
817
843
|
};
|
|
818
844
|
|
|
819
|
-
interface RateProps extends
|
|
845
|
+
interface RateProps extends BasicComponent {
|
|
820
846
|
count: string | number;
|
|
821
847
|
modelValue: string | number;
|
|
822
848
|
minimizeValue: string | number;
|
|
@@ -890,7 +916,7 @@ interface PickerProps {
|
|
|
890
916
|
}
|
|
891
917
|
declare const Picker: React__default.ForwardRefExoticComponent<Partial<PickerProps> & React__default.RefAttributes<unknown>>;
|
|
892
918
|
|
|
893
|
-
interface ShortPasswordProps extends
|
|
919
|
+
interface ShortPasswordProps extends BasicComponent {
|
|
894
920
|
title: string;
|
|
895
921
|
desc: string;
|
|
896
922
|
tips: string;
|
|
@@ -953,7 +979,7 @@ declare type FileType<T> = {
|
|
|
953
979
|
};
|
|
954
980
|
declare type FileItemStatus = 'ready' | 'uploading' | 'success' | 'error' | 'removed';
|
|
955
981
|
|
|
956
|
-
interface UploaderProps extends
|
|
982
|
+
interface UploaderProps extends BasicComponent {
|
|
957
983
|
url: string;
|
|
958
984
|
maximum: string | number;
|
|
959
985
|
maximize: number;
|
|
@@ -1035,6 +1061,8 @@ interface CascaderOption {
|
|
|
1035
1061
|
interface CascaderProps {
|
|
1036
1062
|
className: string;
|
|
1037
1063
|
style: CSSProperties;
|
|
1064
|
+
activeColor: string;
|
|
1065
|
+
tabsColor: string;
|
|
1038
1066
|
poppable: boolean;
|
|
1039
1067
|
visible: boolean;
|
|
1040
1068
|
options: CascaderOption[];
|
|
@@ -1057,7 +1085,7 @@ declare const Cascader: React__default.ForwardRefExoticComponent<Partial<Cascade
|
|
|
1057
1085
|
children?: React__default.ReactNode;
|
|
1058
1086
|
} & React__default.RefAttributes<unknown>>;
|
|
1059
1087
|
|
|
1060
|
-
interface SearchBarProps extends
|
|
1088
|
+
interface SearchBarProps extends BasicComponent {
|
|
1061
1089
|
/** 文本值 */
|
|
1062
1090
|
value?: number | string;
|
|
1063
1091
|
/** 输入框占位提示文字 */
|
|
@@ -1169,7 +1197,7 @@ interface ConfigConsumerProps {
|
|
|
1169
1197
|
declare const FormItemContext: React$1.Context<ConfigConsumerProps>;
|
|
1170
1198
|
|
|
1171
1199
|
declare type TextAlign = 'start' | 'end' | 'left' | 'right' | 'center' | 'justify' | 'match-parent';
|
|
1172
|
-
interface FormItemProps extends
|
|
1200
|
+
interface FormItemProps extends BasicComponent, BaseFormField {
|
|
1173
1201
|
labelWidth: string | number;
|
|
1174
1202
|
errorMessageAlign: TextAlign;
|
|
1175
1203
|
showErrorLine: boolean;
|
|
@@ -1219,7 +1247,7 @@ interface BaseForm {
|
|
|
1219
1247
|
onFinishFailed: (value: []) => void;
|
|
1220
1248
|
}
|
|
1221
1249
|
|
|
1222
|
-
interface FormProps extends
|
|
1250
|
+
interface FormProps extends BasicComponent, BaseForm {
|
|
1223
1251
|
}
|
|
1224
1252
|
declare const Form: FunctionComponent<Partial<FormProps> & React__default.HTMLAttributes<HTMLFormElement>> & {
|
|
1225
1253
|
Item: typeof FormItem;
|
|
@@ -1245,7 +1273,7 @@ interface ActionSheetProps {
|
|
|
1245
1273
|
}
|
|
1246
1274
|
declare const ActionSheet: FunctionComponent<Partial<ActionSheetProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1247
1275
|
|
|
1248
|
-
interface BackTopProps extends
|
|
1276
|
+
interface BackTopProps extends BasicComponent {
|
|
1249
1277
|
className?: string;
|
|
1250
1278
|
bottom: number;
|
|
1251
1279
|
right: number;
|
|
@@ -1278,7 +1306,7 @@ declare type DialogConfigType = {
|
|
|
1278
1306
|
prefixCls?: string;
|
|
1279
1307
|
simple?: boolean;
|
|
1280
1308
|
};
|
|
1281
|
-
interface
|
|
1309
|
+
interface BasicDialogProps {
|
|
1282
1310
|
className?: string;
|
|
1283
1311
|
style?: CSSProperties;
|
|
1284
1312
|
visible?: boolean;
|
|
@@ -1307,23 +1335,23 @@ declare type DialogReturnProps = {
|
|
|
1307
1335
|
update: (newConfig: ConfirmProps) => void;
|
|
1308
1336
|
close: () => void;
|
|
1309
1337
|
};
|
|
1310
|
-
interface ConfirmProps extends
|
|
1338
|
+
interface ConfirmProps extends BasicDialogProps {
|
|
1311
1339
|
content?: ReactNode;
|
|
1312
1340
|
icon?: ReactNode | null;
|
|
1313
1341
|
isNotice?: boolean;
|
|
1314
1342
|
noticeType?: string;
|
|
1315
1343
|
}
|
|
1316
|
-
interface DialogComponent extends ForwardRefExoticComponent<PropsWithChildren<
|
|
1344
|
+
interface DialogComponent extends ForwardRefExoticComponent<PropsWithChildren<BasicDialogProps>> {
|
|
1317
1345
|
confirm: (props: ConfirmProps) => DialogReturnProps;
|
|
1318
1346
|
alert: (props: ConfirmProps) => DialogReturnProps;
|
|
1319
1347
|
config: (config: DialogConfigType) => void;
|
|
1320
1348
|
destroyAll: () => void;
|
|
1321
1349
|
}
|
|
1322
1350
|
|
|
1323
|
-
declare type DialogProps =
|
|
1351
|
+
declare type DialogProps = BasicDialogProps;
|
|
1324
1352
|
declare const Dialog: DialogComponent;
|
|
1325
1353
|
|
|
1326
|
-
interface InfiniteloadingProps extends
|
|
1354
|
+
interface InfiniteloadingProps extends BasicComponent {
|
|
1327
1355
|
hasMore: boolean;
|
|
1328
1356
|
threshold: number;
|
|
1329
1357
|
containerId: string;
|
|
@@ -1481,7 +1509,7 @@ interface CircleProgressProps {
|
|
|
1481
1509
|
}
|
|
1482
1510
|
declare const CircleProgress: FunctionComponent<CircleProgressProps & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1483
1511
|
|
|
1484
|
-
interface NoticeBarProps extends
|
|
1512
|
+
interface NoticeBarProps extends BasicComponent {
|
|
1485
1513
|
direction: string;
|
|
1486
1514
|
className?: string;
|
|
1487
1515
|
style?: CSSProperties;
|
|
@@ -1517,7 +1545,7 @@ interface StepsProps {
|
|
|
1517
1545
|
}
|
|
1518
1546
|
declare const Steps: FunctionComponent<Partial<StepsProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1519
1547
|
|
|
1520
|
-
interface StepProps extends
|
|
1548
|
+
interface StepProps extends BasicComponent {
|
|
1521
1549
|
title: string;
|
|
1522
1550
|
content: string;
|
|
1523
1551
|
activeIndex: number;
|
|
@@ -1562,7 +1590,7 @@ interface SwiperItemProps {
|
|
|
1562
1590
|
}
|
|
1563
1591
|
declare const SwiperItem: React__default.ForwardRefExoticComponent<Partial<SwiperItemProps> & React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1564
1592
|
|
|
1565
|
-
interface AvatarProps extends
|
|
1593
|
+
interface AvatarProps extends BasicComponent {
|
|
1566
1594
|
size: string;
|
|
1567
1595
|
icon: string;
|
|
1568
1596
|
iconSize?: string | number;
|
|
@@ -1608,7 +1636,7 @@ interface PriceProps {
|
|
|
1608
1636
|
}
|
|
1609
1637
|
declare const Price: FunctionComponent<Partial<PriceProps>>;
|
|
1610
1638
|
|
|
1611
|
-
interface BadgeProps extends
|
|
1639
|
+
interface BadgeProps extends BasicComponent {
|
|
1612
1640
|
value: any;
|
|
1613
1641
|
dot: boolean;
|
|
1614
1642
|
max: number;
|
|
@@ -1621,7 +1649,7 @@ interface BadgeProps extends IComponent {
|
|
|
1621
1649
|
}
|
|
1622
1650
|
declare const Badge: FunctionComponent<Partial<BadgeProps>>;
|
|
1623
1651
|
|
|
1624
|
-
interface TagProps extends
|
|
1652
|
+
interface TagProps extends BasicComponent {
|
|
1625
1653
|
type: TagType;
|
|
1626
1654
|
color: string;
|
|
1627
1655
|
textColor: string;
|
|
@@ -1644,7 +1672,7 @@ interface List {
|
|
|
1644
1672
|
icon?: string;
|
|
1645
1673
|
disabled?: boolean;
|
|
1646
1674
|
}
|
|
1647
|
-
interface PopoverProps extends
|
|
1675
|
+
interface PopoverProps extends BasicComponent {
|
|
1648
1676
|
list: List[];
|
|
1649
1677
|
theme: PopoverTheme;
|
|
1650
1678
|
location: PopoverLocation | string;
|
|
@@ -1708,7 +1736,7 @@ interface CollapseProps {
|
|
|
1708
1736
|
}
|
|
1709
1737
|
declare const Collapse: FunctionComponent<Partial<CollapseProps>>;
|
|
1710
1738
|
|
|
1711
|
-
interface CollapseItemProps extends
|
|
1739
|
+
interface CollapseItemProps extends BasicComponent {
|
|
1712
1740
|
title: string;
|
|
1713
1741
|
name: string;
|
|
1714
1742
|
isOpen: boolean;
|
|
@@ -1757,7 +1785,7 @@ interface EmptyProps {
|
|
|
1757
1785
|
declare const Empty: FunctionComponent<Partial<EmptyProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1758
1786
|
|
|
1759
1787
|
declare type Data = any;
|
|
1760
|
-
interface
|
|
1788
|
+
interface BasicVirtualListProps {
|
|
1761
1789
|
className?: string;
|
|
1762
1790
|
style?: React.CSSProperties;
|
|
1763
1791
|
sourceData: Array<Data>;
|
|
@@ -1775,10 +1803,10 @@ interface IVirtualListProps {
|
|
|
1775
1803
|
};
|
|
1776
1804
|
}
|
|
1777
1805
|
|
|
1778
|
-
declare type VirtualListProps =
|
|
1806
|
+
declare type VirtualListProps = BasicVirtualListProps;
|
|
1779
1807
|
declare const VirtualList: FunctionComponent<VirtualListProps>;
|
|
1780
1808
|
|
|
1781
|
-
interface
|
|
1809
|
+
interface BasicTableProps extends BasicComponent {
|
|
1782
1810
|
className: string;
|
|
1783
1811
|
style: React__default.CSSProperties;
|
|
1784
1812
|
columns: Array<TableColumnProps>;
|
|
@@ -1797,7 +1825,7 @@ interface TableColumnProps {
|
|
|
1797
1825
|
render?: (rowData?: any, rowIndex?: number) => string | React__default.ReactNode;
|
|
1798
1826
|
}
|
|
1799
1827
|
|
|
1800
|
-
declare type TableProps =
|
|
1828
|
+
declare type TableProps = BasicTableProps;
|
|
1801
1829
|
declare const Table: FunctionComponent<Partial<TableProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1802
1830
|
|
|
1803
1831
|
interface VideoProps {
|
|
@@ -1826,7 +1854,7 @@ declare const Video: FunctionComponent<Partial<VideoProps> & React__default.HTML
|
|
|
1826
1854
|
|
|
1827
1855
|
declare type ProgressSize = 'small' | 'base' | 'large';
|
|
1828
1856
|
declare type TextType = 'icon' | 'text';
|
|
1829
|
-
interface ProgressProps extends
|
|
1857
|
+
interface ProgressProps extends BasicComponent {
|
|
1830
1858
|
className: string;
|
|
1831
1859
|
style: CSSProperties;
|
|
1832
1860
|
isShowPercentage: boolean;
|
|
@@ -1850,7 +1878,7 @@ interface ProgressProps extends IComponent {
|
|
|
1850
1878
|
}
|
|
1851
1879
|
declare const Progress: FunctionComponent<Partial<ProgressProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1852
1880
|
|
|
1853
|
-
interface AudioProps extends
|
|
1881
|
+
interface AudioProps extends BasicComponent {
|
|
1854
1882
|
className: string;
|
|
1855
1883
|
style: CSSProperties;
|
|
1856
1884
|
url: string;
|
|
@@ -1894,6 +1922,46 @@ interface ImagePreviewProps {
|
|
|
1894
1922
|
}
|
|
1895
1923
|
declare const ImagePreview: FunctionComponent<Partial<ImagePreviewProps>>;
|
|
1896
1924
|
|
|
1925
|
+
interface TrendArrowProps {
|
|
1926
|
+
rate: number;
|
|
1927
|
+
digits: number;
|
|
1928
|
+
showSign: boolean;
|
|
1929
|
+
showZero: boolean;
|
|
1930
|
+
arrowLeft: boolean;
|
|
1931
|
+
syncTextColor: boolean;
|
|
1932
|
+
textColor: string;
|
|
1933
|
+
riseColor: string;
|
|
1934
|
+
dropColor: string;
|
|
1935
|
+
iconSize: string;
|
|
1936
|
+
upIconName: string;
|
|
1937
|
+
downIconName: string;
|
|
1938
|
+
className: string;
|
|
1939
|
+
style: React__default.CSSProperties;
|
|
1940
|
+
}
|
|
1941
|
+
declare const TrendArrow: FunctionComponent<Partial<TrendArrowProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1942
|
+
|
|
1943
|
+
interface WaterMarkProps {
|
|
1944
|
+
content: string;
|
|
1945
|
+
fullPage: boolean;
|
|
1946
|
+
zIndex: number;
|
|
1947
|
+
className: string;
|
|
1948
|
+
gapX: number;
|
|
1949
|
+
gapY: number;
|
|
1950
|
+
width: number;
|
|
1951
|
+
height: number;
|
|
1952
|
+
image: string;
|
|
1953
|
+
imageWidth: number;
|
|
1954
|
+
imageHeight: number;
|
|
1955
|
+
rotate: number;
|
|
1956
|
+
fontColor: string;
|
|
1957
|
+
fontStyle: string;
|
|
1958
|
+
fontFamily: string;
|
|
1959
|
+
fontWeight: string;
|
|
1960
|
+
fontSize: string | number;
|
|
1961
|
+
style: React__default.CSSProperties;
|
|
1962
|
+
}
|
|
1963
|
+
declare const WaterMark: FunctionComponent<Partial<WaterMarkProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1964
|
+
|
|
1897
1965
|
interface RegionData {
|
|
1898
1966
|
name?: string;
|
|
1899
1967
|
[key: string]: any;
|
|
@@ -1929,7 +1997,7 @@ interface SelectedRegionObj {
|
|
|
1929
1997
|
town: RegionData;
|
|
1930
1998
|
}
|
|
1931
1999
|
|
|
1932
|
-
interface AddressProps extends
|
|
2000
|
+
interface AddressProps extends BasicComponent {
|
|
1933
2001
|
className?: string;
|
|
1934
2002
|
style?: CSSProperties;
|
|
1935
2003
|
modelValue: boolean;
|
|
@@ -2049,4 +2117,4 @@ interface TimeSelectProps {
|
|
|
2049
2117
|
}
|
|
2050
2118
|
declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps>>;
|
|
2051
2119
|
|
|
2052
|
-
export { ActionSheet, ActionSheetProps, Address, AddressProps, AnimatingNumbers, AnimatingNumbersProps, Audio, AudioProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, BackTop, BackTopProps, Badge, BadgeProps, Barrage, BarrageProps, Button, ButtonProps, Calendar, CalendarItem, CalendarItemProps, CalendarProps, Card, CardProps, Cascader, CascaderProps, Cell, CellGroup, CellGroupProps, CellProps, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CircleProgress, CircleProgressProps, Col, ColProps, Collapse, CollapseItem, CollapseItemProps, CollapseProps, ConfigProvider, ConfigProviderProps, CountDown, CountDownProps, DatePicker, DatePickerProps, Dialog, DialogProps, Divider, DividerProps, Drag, DragProps, Elevator, ElevatorProps, Empty, EmptyProps, FixedNav, FixedNavProps, Form, FormItem, FormItemProps, FormProps, Grid, GridItem, GridItemProps, GridProps, Icon, IconProps, ImagePreview, ImagePreviewProps, Indicator, IndicatorProps, Infiniteloading, InfiniteloadingProps, Input, InputNumber, InputNumberProps, InputProps, Layout, LayoutProps, Menu, MenuItem, MenuItemProps, MenuProps, NavBar, NavBarProps$1 as NavBarProps, NoticeBar, NoticeBarProps, _default$1 as Notify, NotifyProps, NumberKeyboard, NumberKeyboardProps, Overlay, OverlayProps, Pagination, PaginationProps, Picker, PickerProps, Popover, PopoverProps, Popup, PopupProps, Price, PriceProps, Progress, ProgressProps, PullToRefresh, PullToRefreshProps, Radio, RadioGroup, RadioGroupProps, RadioProps, Range, RangeProps, Rate, RateProps, Row, RowProps, SearchBar, SearchBarProps, ShortPassword, ShortPasswordProps, SideNavBar, SideNavBarItem, SideNavBarItemProps, SideNavBarProps, Signature, SignatureProps, Skeleton, SkeletonProps, Step, StepProps, Steps, StepsProps, Sticky, StickyProps, SubSideNavBar, SubSideNavBarProps, Swipe, SwipeProps, Swiper, SwiperItem, SwiperItemProps, SwiperProps, Switch, SwitchProps, TabPane, TabPaneProps, Tabbar, TabbarItem, TabbarItemProps, TabbarProps, Table, TableProps, Tabs, TabsProps, Tag, TagProps, TextArea, TextAreaProps, TimeDetail, TimeDetailProps, TimePannel, TimePannelProps, TimeSelect, TimeSelectProps, _default as Toast, ToastProps, Uploader, UploaderProps, Video, VideoProps, VirtualList, VirtualListProps };
|
|
2120
|
+
export { ActionSheet, ActionSheetProps, Address, AddressProps, AnimatingNumbers, AnimatingNumbersProps, Audio, AudioProps, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, BackTop, BackTopProps, Badge, BadgeProps, Barrage, BarrageProps, Button, ButtonProps, Calendar, CalendarItem, CalendarItemProps, CalendarProps, Card, CardProps, Cascader, CascaderProps, Cell, CellGroup, CellGroupProps, CellProps, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CircleProgress, CircleProgressProps, Col, ColProps, Collapse, CollapseItem, CollapseItemProps, CollapseProps, ConfigProvider, ConfigProviderProps, CountDown, CountDownProps, DatePicker, DatePickerProps, Dialog, DialogProps, Divider, DividerProps, Drag, DragProps, Elevator, ElevatorProps, Empty, EmptyProps, FixedNav, FixedNavProps, Form, FormItem, FormItemProps, FormProps, Grid, GridItem, GridItemProps, GridProps, Icon, IconProps, Image, ImagePreview, ImagePreviewProps, ImageProps, Indicator, IndicatorProps, Infiniteloading, InfiniteloadingProps, Input, InputNumber, InputNumberProps, InputProps, Layout, LayoutProps, Menu, MenuItem, MenuItemProps, MenuProps, NavBar, NavBarProps$1 as NavBarProps, NoticeBar, NoticeBarProps, _default$1 as Notify, NotifyProps, NumberKeyboard, NumberKeyboardProps, Overlay, OverlayProps, Pagination, PaginationProps, Picker, PickerProps, Popover, PopoverProps, Popup, PopupProps, Price, PriceProps, Progress, ProgressProps, PullToRefresh, PullToRefreshProps, Radio, RadioGroup, RadioGroupProps, RadioProps, Range, RangeProps, Rate, RateProps, Row, RowProps, SearchBar, SearchBarProps, ShortPassword, ShortPasswordProps, SideNavBar, SideNavBarItem, SideNavBarItemProps, SideNavBarProps, Signature, SignatureProps, Skeleton, SkeletonProps, Step, StepProps, Steps, StepsProps, Sticky, StickyProps, SubSideNavBar, SubSideNavBarProps, Swipe, SwipeProps, Swiper, SwiperItem, SwiperItemProps, SwiperProps, Switch, SwitchProps, TabPane, TabPaneProps, Tabbar, TabbarItem, TabbarItemProps, TabbarProps, Table, TableProps, Tabs, TabsProps, Tag, TagProps, TextArea, TextAreaProps, TimeDetail, TimeDetailProps, TimePannel, TimePannelProps, TimeSelect, TimeSelectProps, _default as Toast, ToastProps, TrendArrow, TrendArrowProps, Uploader, UploaderProps, Video, VideoProps, VirtualList, VirtualListProps, WaterMark, WaterMarkProps };
|
|
@@ -5,6 +5,7 @@ import Icon from '@/packages/icon';
|
|
|
5
5
|
import Overlay from '@/packages/overlay';
|
|
6
6
|
import Popup from '@/packages/popup';
|
|
7
7
|
import ConfigProvider from '@/packages/configprovider';
|
|
8
|
+
import Image from '@/packages/image';
|
|
8
9
|
import Layout from '@/packages/layout';
|
|
9
10
|
import Col from '@/packages/col';
|
|
10
11
|
import Row from '@/packages/row';
|
|
@@ -80,6 +81,8 @@ import Video from '@/packages/video';
|
|
|
80
81
|
import Progress from '@/packages/progress';
|
|
81
82
|
import Audio from '@/packages/audio';
|
|
82
83
|
import ImagePreview from '@/packages/imagepreview';
|
|
84
|
+
import TrendArrow from '@/packages/trendarrow';
|
|
85
|
+
import WaterMark from '@/packages/watermark';
|
|
83
86
|
import Address from '@/packages/address';
|
|
84
87
|
import Barrage from '@/packages/barrage';
|
|
85
88
|
import Signature from '@/packages/signature';
|
|
@@ -88,7 +91,7 @@ import TimePannel from '@/packages/timepannel';
|
|
|
88
91
|
import TimeDetail from '@/packages/timedetail';
|
|
89
92
|
import TimeSelect from '@/packages/timeselect';
|
|
90
93
|
|
|
91
|
-
export { Button,Cell,CellGroup,Icon,Overlay,Popup,ConfigProvider,Layout,Col,Row,Divider,Grid,GridItem,Sticky,NavBar,FixedNav,Tabbar,TabbarItem,Elevator,Pagination,Tabs,TabPane,Indicator,SideNavBar,SubSideNavBar,SideNavBarItem,Menu,MenuItem,Range,Calendar,Checkbox,CheckboxGroup,DatePicker,InputNumber,Input,Radio,RadioGroup,Rate,CalendarItem,Picker,ShortPassword,TextArea,Uploader,Cascader,SearchBar,NumberKeyboard,Form,FormItem,ActionSheet,BackTop,Drag,Dialog,Infiniteloading,Notify,Switch,Toast,Swipe,PullToRefresh,CircleProgress,NoticeBar,Steps,Step,Swiper,SwiperItem,Avatar,AvatarGroup,Price,Badge,Tag,Popover,Skeleton,CountDown,Collapse,CollapseItem,AnimatingNumbers,Empty,VirtualList,Table,Video,Progress,Audio,ImagePreview,Address,Barrage,Signature,Card,TimePannel,TimeDetail,TimeSelect };
|
|
94
|
+
export { Button,Cell,CellGroup,Icon,Overlay,Popup,ConfigProvider,Image,Layout,Col,Row,Divider,Grid,GridItem,Sticky,NavBar,FixedNav,Tabbar,TabbarItem,Elevator,Pagination,Tabs,TabPane,Indicator,SideNavBar,SubSideNavBar,SideNavBarItem,Menu,MenuItem,Range,Calendar,Checkbox,CheckboxGroup,DatePicker,InputNumber,Input,Radio,RadioGroup,Rate,CalendarItem,Picker,ShortPassword,TextArea,Uploader,Cascader,SearchBar,NumberKeyboard,Form,FormItem,ActionSheet,BackTop,Drag,Dialog,Infiniteloading,Notify,Switch,Toast,Swipe,PullToRefresh,CircleProgress,NoticeBar,Steps,Step,Swiper,SwiperItem,Avatar,AvatarGroup,Price,Badge,Tag,Popover,Skeleton,CountDown,Collapse,CollapseItem,AnimatingNumbers,Empty,VirtualList,Table,Video,Progress,Audio,ImagePreview,TrendArrow,WaterMark,Address,Barrage,Signature,Card,TimePannel,TimeDetail,TimeSelect };
|
|
92
95
|
export type { ButtonProps } from '@/packages/button/button';
|
|
93
96
|
export type { CellProps } from '@/packages/cell/cell';
|
|
94
97
|
export type { CellGroupProps } from '@/packages/cellgroup/cellgroup';
|
|
@@ -96,6 +99,7 @@ export type { IconProps } from '@/packages/icon/icon';
|
|
|
96
99
|
export type { OverlayProps } from '@/packages/overlay/overlay';
|
|
97
100
|
export type { PopupProps } from '@/packages/popup/popup';
|
|
98
101
|
export type { ConfigProviderProps } from '@/packages/configprovider/configprovider';
|
|
102
|
+
export type { ImageProps } from '@/packages/image/image';
|
|
99
103
|
export type { LayoutProps } from '@/packages/layout/layout';
|
|
100
104
|
export type { ColProps } from '@/packages/col/col';
|
|
101
105
|
export type { RowProps } from '@/packages/row/row';
|
|
@@ -171,6 +175,8 @@ export type { VideoProps } from '@/packages/video/video';
|
|
|
171
175
|
export type { ProgressProps } from '@/packages/progress/progress';
|
|
172
176
|
export type { AudioProps } from '@/packages/audio/audio';
|
|
173
177
|
export type { ImagePreviewProps } from '@/packages/imagepreview/imagepreview';
|
|
178
|
+
export type { TrendArrowProps } from '@/packages/trendarrow/trendarrow';
|
|
179
|
+
export type { WaterMarkProps } from '@/packages/watermark/watermark';
|
|
174
180
|
export type { AddressProps } from '@/packages/address/address';
|
|
175
181
|
export type { BarrageProps } from '@/packages/barrage/barrage';
|
|
176
182
|
export type { SignatureProps } from '@/packages/signature/signature';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui-react",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.13",
|
|
4
4
|
"style": "dist/style.css",
|
|
5
5
|
"main": "dist/nutui.react.umd.js",
|
|
6
6
|
"module": "dist/esm/nutui-react.es.js",
|
|
@@ -94,6 +94,7 @@
|
|
|
94
94
|
"@react-spring/web": "^9.3.2",
|
|
95
95
|
"@use-gesture/react": "^10.2.9",
|
|
96
96
|
"classnames": "^2.3.1",
|
|
97
|
+
"async-validator": "^4.2.5",
|
|
97
98
|
"react-transition-group": "^4.4.2"
|
|
98
99
|
},
|
|
99
100
|
"devDependencies": {
|
|
@@ -130,7 +131,6 @@
|
|
|
130
131
|
"@typescript-eslint/parser": "^4.24.0",
|
|
131
132
|
"@vitejs/plugin-react": "^1.1.3",
|
|
132
133
|
"@vitejs/plugin-react-refresh": "^1.3.1",
|
|
133
|
-
"async-validator": "^4.2.5",
|
|
134
134
|
"autoprefixer": "^10.4.0",
|
|
135
135
|
"axios": "^0.21.1",
|
|
136
136
|
"babel-plugin-react-scoped-css": "^1.1.1",
|