@nutui/nutui-react-taro 1.3.6 → 1.3.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/CHANGELOG.md +33 -0
- package/dist/esm/Audio.js +3 -3
- package/dist/esm/Avatar.js +2 -2
- package/dist/esm/Cascader.js +4 -4
- package/dist/esm/Cell.js +2 -2
- package/dist/esm/Collapse.js +2 -2
- package/dist/esm/Input.js +2 -2
- package/dist/esm/InputNumber.js +2 -2
- package/dist/esm/Menu.js +2 -2
- package/dist/esm/MenuItem.js +2 -2
- package/dist/esm/NoticeBar.js +2 -2
- package/dist/esm/Range.js +2 -2
- package/dist/esm/SideNavBar.js +2 -2
- package/dist/esm/SideNavBarItem.js +2 -2
- package/dist/esm/Signature.js +2 -2
- package/dist/esm/Skeleton.js +3 -3
- package/dist/esm/Step.js +2 -2
- package/dist/esm/Steps.js +2 -2
- package/dist/esm/SubSideNavBar.js +2 -2
- package/dist/esm/Switch.js +2 -2
- package/dist/esm/TabPane.js +2 -2
- package/dist/esm/Tabbar.js +2 -2
- package/dist/esm/Tabs.js +2 -2
- package/dist/esm/TimeSelect.js +2 -2
- package/dist/esm/Uploader.js +2 -2
- package/dist/esm/Video.js +2 -2
- package/dist/esm/VirtualList.js +2 -2
- package/dist/esm/{audio.taro-57d4f0da.js → audio.taro-c2f9948a.js} +1 -1
- package/dist/esm/{avatar.taro-ec620cdd.js → avatar.taro-deabe88a.js} +4 -4
- package/dist/esm/{cascader.taro-77100fb4.js → cascader.taro-8c9891b4.js} +2 -2
- package/dist/esm/{cell.taro-a4c3bb7b.js → cell.taro-6daf51a0.js} +5 -2
- package/dist/esm/{collapse.taro-72e58ba2.js → collapse.taro-13cde270.js} +6 -3
- package/dist/esm/{input.taro-2453d7c4.js → input.taro-40d7e7dd.js} +35 -19
- package/dist/esm/{inputnumber.taro-0cf7c1b7.js → inputnumber.taro-0a01f6e1.js} +15 -1
- package/dist/esm/{menu.taro-9345dcfd.js → menu.taro-f8ca86db.js} +3 -1
- package/dist/esm/{menuitem.taro-fc0961b7.js → menuitem.taro-7bf564c9.js} +3 -3
- package/dist/esm/{noticebar.taro-332691f9.js → noticebar.taro-77b5a2c9.js} +6 -0
- package/dist/esm/nutui-react.es.js +26 -26
- package/dist/esm/{range.taro-fc7c0b6a.js → range.taro-4232e6a7.js} +7 -1
- package/dist/esm/{sidenavbar.taro-87f056cd.js → sidenavbar.taro-4297f552.js} +3 -3
- package/dist/esm/{sidenavbaritem.taro-77e077f4.js → sidenavbaritem.taro-fee11d26.js} +3 -3
- package/dist/esm/{signature.taro-59b3b3ab.js → signature.taro-0b3abea5.js} +14 -8
- package/dist/esm/{skeleton.taro-b9ff84b9.js → skeleton.taro-acca102c.js} +1 -1
- package/dist/esm/{step.taro-f1057500.js → step.taro-1c94e067.js} +3 -5
- package/dist/esm/{steps.taro-943f4fbb.js → steps.taro-acf205a0.js} +2 -1
- package/dist/esm/{subsidenavbar.taro-2c1fcf16.js → subsidenavbar.taro-4c80ad38.js} +3 -3
- package/dist/esm/{switch.taro-be5eb823.js → switch.taro-bae2dca0.js} +2 -2
- package/dist/esm/{tabbar.taro-da72fa2c.js → tabbar.taro-86cece39.js} +5 -2
- package/dist/esm/{tabpane.taro-95aa185b.js → tabpane.taro-91cd6cf4.js} +3 -2
- package/dist/esm/{tabs.taro-86186dff.js → tabs.taro-e71875fa.js} +8 -4
- package/dist/esm/{timeselect.taro-73796bfc.js → timeselect.taro-8c4439a8.js} +20 -5
- package/dist/esm/types/src/packages/avatar/avatar.d.ts +1 -0
- package/dist/esm/types/src/packages/avatar/avatar.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/cell/cell.d.ts +1 -0
- package/dist/esm/types/src/packages/cell/cell.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/collapse/collapse.d.ts +3 -1
- package/dist/esm/types/src/packages/collapse/collapse.taro.d.ts +3 -1
- package/dist/esm/types/src/packages/input/input.d.ts +10 -2
- package/dist/esm/types/src/packages/input/input.taro.d.ts +10 -2
- package/dist/esm/types/src/packages/inputnumber/inputnumber.d.ts +6 -0
- package/dist/esm/types/src/packages/inputnumber/inputnumber.taro.d.ts +6 -0
- package/dist/esm/types/src/packages/noticebar/noticebar.d.ts +3 -1
- package/dist/esm/types/src/packages/noticebar/noticebar.taro.d.ts +3 -1
- package/dist/esm/types/src/packages/range/range.d.ts +4 -1
- package/dist/esm/types/src/packages/range/range.taro.d.ts +4 -1
- package/dist/esm/types/src/packages/sidenavbar/sidenavbar.d.ts +1 -1
- package/dist/esm/types/src/packages/sidenavbar/sidenavbar.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/sidenavbaritem/sidenavbaritem.d.ts +1 -1
- package/dist/esm/types/src/packages/sidenavbaritem/sidenavbaritem.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/signature/signature.d.ts +2 -0
- package/dist/esm/types/src/packages/signature/signature.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/steps/steps.d.ts +1 -0
- package/dist/esm/types/src/packages/steps/steps.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/subsidenavbar/subsidenavbar.d.ts +1 -1
- package/dist/esm/types/src/packages/subsidenavbar/subsidenavbar.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/switch/switch.d.ts +1 -1
- package/dist/esm/types/src/packages/switch/switch.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/tabbar/tabbar.d.ts +1 -0
- package/dist/esm/types/src/packages/tabbar/tabbar.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/tabpane/tabpane.d.ts +6 -2
- package/dist/esm/types/src/packages/tabpane/tabpane.taro.d.ts +6 -1
- package/dist/esm/types/src/packages/tabs/tabs.d.ts +1 -0
- package/dist/esm/types/src/packages/tabs/tabs.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/timeselect/timeselect.d.ts +5 -1
- package/dist/esm/types/src/packages/timeselect/timeselect.taro.d.ts +5 -1
- package/dist/esm/types/src/packages/video/video.d.ts +3 -0
- package/dist/esm/types/src/packages/virtuallist/type.d.ts +3 -1
- package/dist/esm/types/src/packages/virtuallist/virtuallist.d.ts +2 -2
- package/dist/esm/{uploader.taro-6184abe7.js → uploader.taro-63a36a30.js} +1 -1
- package/dist/esm/{video-c1090c92.js → video-8a3518c5.js} +7 -1
- package/dist/esm/{virtuallist.taro-6858f690.js → virtuallist.taro-e3035825.js} +11 -6
- 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 +156 -65
- package/dist/nutui.react.umd.js +156 -65
- package/dist/packages/divider/divider.scss +2 -1
- package/dist/packages/menu/menu.scss +4 -0
- package/dist/packages/menuitem/menuitem.scss +27 -2
- package/dist/packages/noticebar/noticebar.scss +4 -1
- package/dist/packages/tabs/tabs.scss +3 -1
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/types/index.d.ts +56 -12
- package/package.json +3 -1
package/dist/style.es.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -46,6 +46,7 @@ interface CellProps extends IComponent {
|
|
|
46
46
|
iconSlot: ReactNode;
|
|
47
47
|
linkSlot: ReactNode;
|
|
48
48
|
click: (event: React$1.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
49
|
+
onClick: (event: React$1.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
49
50
|
}
|
|
50
51
|
declare const Cell: FunctionComponent<Partial<CellProps> & Omit<React$1.HTMLAttributes<HTMLDivElement>, 'title'>>;
|
|
51
52
|
|
|
@@ -369,6 +370,7 @@ interface TabbarProps {
|
|
|
369
370
|
className: string;
|
|
370
371
|
style: React$1.CSSProperties;
|
|
371
372
|
tabSwitch: (child: React$1.ReactElement<any>, active: number) => void;
|
|
373
|
+
onSwitch: (child: React$1.ReactElement<any>, active: number) => void;
|
|
372
374
|
children?: React$1.ReactNode;
|
|
373
375
|
}
|
|
374
376
|
declare const Tabbar: FunctionComponent<Partial<TabbarProps>>;
|
|
@@ -440,6 +442,7 @@ declare type TabsSize = 'large' | 'normal' | 'small';
|
|
|
440
442
|
interface TabsProps extends IComponent {
|
|
441
443
|
className: string;
|
|
442
444
|
style: React$1.CSSProperties;
|
|
445
|
+
tabStyle: React$1.CSSProperties;
|
|
443
446
|
value: string | number;
|
|
444
447
|
color: string;
|
|
445
448
|
background: string;
|
|
@@ -458,15 +461,19 @@ interface TabsProps extends IComponent {
|
|
|
458
461
|
}
|
|
459
462
|
declare const Tabs: FunctionComponent<Partial<TabsProps>>;
|
|
460
463
|
|
|
464
|
+
interface TabPanelInnerProps {
|
|
465
|
+
autoHeightClassName: string;
|
|
466
|
+
}
|
|
461
467
|
interface TabPaneProps {
|
|
462
468
|
title: string | number;
|
|
463
469
|
paneKey: string | number;
|
|
464
470
|
activeKey: string | number;
|
|
465
471
|
disabled: boolean;
|
|
466
472
|
autoHeightClassName: string;
|
|
473
|
+
className: string;
|
|
467
474
|
children?: React$1.ReactNode;
|
|
468
475
|
}
|
|
469
|
-
declare const TabPane: FunctionComponent<Partial<TabPaneProps>>;
|
|
476
|
+
declare const TabPane: FunctionComponent<Partial<TabPaneProps & TabPanelInnerProps>>;
|
|
470
477
|
|
|
471
478
|
interface IndicatorProps {
|
|
472
479
|
size: number;
|
|
@@ -487,7 +494,7 @@ interface SideNavBarProps extends React$1.HTMLAttributes<HTMLDivElement>, NavBar
|
|
|
487
494
|
width?: string;
|
|
488
495
|
offset?: number;
|
|
489
496
|
position?: 'left' | 'right';
|
|
490
|
-
|
|
497
|
+
onClose: () => void;
|
|
491
498
|
children?: React$1.ReactNode;
|
|
492
499
|
}
|
|
493
500
|
declare const SideNavBar: FunctionComponent<SideNavBarProps>;
|
|
@@ -497,7 +504,7 @@ declare type SubSideNavBarProps = {
|
|
|
497
504
|
ikey: string | number;
|
|
498
505
|
open?: boolean;
|
|
499
506
|
children?: React$1.ReactNode;
|
|
500
|
-
|
|
507
|
+
onClick?: ({ title, ikey, isShow, }: {
|
|
501
508
|
title: string;
|
|
502
509
|
ikey: string | number;
|
|
503
510
|
isShow: boolean;
|
|
@@ -508,7 +515,7 @@ declare const SubSideNavBar: FunctionComponent<SubSideNavBarProps>;
|
|
|
508
515
|
declare type SideNavBarItemProps = {
|
|
509
516
|
title: string;
|
|
510
517
|
ikey: string | number;
|
|
511
|
-
|
|
518
|
+
onClick?: ({ title, ikey }: {
|
|
512
519
|
title: string;
|
|
513
520
|
ikey: string | number;
|
|
514
521
|
}) => void;
|
|
@@ -572,8 +579,11 @@ interface RangeProps {
|
|
|
572
579
|
change?: (value: number) => void;
|
|
573
580
|
dragStart?: () => void;
|
|
574
581
|
dragEnd?: () => void;
|
|
582
|
+
onChange?: (value: number) => void;
|
|
583
|
+
onDragStart?: () => void;
|
|
584
|
+
onDragEnd?: () => void;
|
|
575
585
|
}
|
|
576
|
-
declare const Range: FunctionComponent<Partial<RangeProps> & Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
586
|
+
declare const Range: FunctionComponent<Partial<RangeProps> & Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onChange'>>;
|
|
577
587
|
|
|
578
588
|
interface CalendarProps {
|
|
579
589
|
type?: string;
|
|
@@ -661,6 +671,12 @@ interface InputNumberProps extends IComponent {
|
|
|
661
671
|
blur: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
662
672
|
focus: (e: FocusEvent<HTMLInputElement>) => void;
|
|
663
673
|
change: (param: string | number, e: MouseEvent | ChangeEvent<HTMLInputElement>) => void;
|
|
674
|
+
onAdd: (e: MouseEvent) => void;
|
|
675
|
+
onReduce: (e: MouseEvent) => void;
|
|
676
|
+
onOverlimit: (e: MouseEvent) => void;
|
|
677
|
+
onBlurFuc: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
678
|
+
onFocus: (e: FocusEvent<HTMLInputElement>) => void;
|
|
679
|
+
onChangeFuc: (param: string | number, e: MouseEvent | ChangeEvent<HTMLInputElement>) => void;
|
|
664
680
|
}
|
|
665
681
|
declare const InputNumber: FunctionComponent<Partial<InputNumberProps> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
666
682
|
|
|
@@ -708,17 +724,25 @@ interface InputProps extends IComponent {
|
|
|
708
724
|
slotButton?: React$1.ReactNode;
|
|
709
725
|
slotInput?: React$1.ReactNode;
|
|
710
726
|
formatter: (value: string) => void;
|
|
727
|
+
onChange?: (value: any, event: Event) => void;
|
|
728
|
+
onBlur?: (value: any, event: Event) => void;
|
|
729
|
+
onFocus?: (value: any, event: Event) => void;
|
|
730
|
+
onClear?: (value: any, event: Event) => void;
|
|
731
|
+
keypress?: (value: any, event: Event) => void;
|
|
732
|
+
onClickInput?: (value: any) => void;
|
|
733
|
+
onClickLeftIcon?: (value: any) => void;
|
|
734
|
+
onClickRightIcon?: (value: any) => void;
|
|
735
|
+
onClick?: (value: any) => void;
|
|
711
736
|
change?: (value: any, event: Event) => void;
|
|
712
737
|
blur?: (value: any, event: Event) => void;
|
|
713
738
|
focus?: (value: any, event: Event) => void;
|
|
714
739
|
clear?: (value: any, event: Event) => void;
|
|
715
|
-
keypress?: (value: any, event: Event) => void;
|
|
716
740
|
clickInput?: (value: any) => void;
|
|
717
741
|
clickLeftIcon?: (value: any) => void;
|
|
718
742
|
clickRightIcon?: (value: any) => void;
|
|
719
743
|
click?: (value: any) => void;
|
|
720
744
|
}
|
|
721
|
-
declare const Input: FunctionComponent<Partial<InputProps> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
745
|
+
declare const Input: FunctionComponent<Partial<InputProps> & Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur' | 'onFocus' | 'onClick'>>;
|
|
722
746
|
|
|
723
747
|
declare type Position$1 = 'left' | 'right';
|
|
724
748
|
declare type Direction = 'horizontal' | 'vertical';
|
|
@@ -1207,7 +1231,7 @@ interface SwitchProps {
|
|
|
1207
1231
|
inactiveText: string;
|
|
1208
1232
|
className: string;
|
|
1209
1233
|
style: React$1.CSSProperties;
|
|
1210
|
-
|
|
1234
|
+
onChange: (val: boolean, event: React$1.MouseEvent) => void;
|
|
1211
1235
|
}
|
|
1212
1236
|
declare const Switch: FunctionComponent<Partial<SwitchProps>>;
|
|
1213
1237
|
|
|
@@ -1325,8 +1349,10 @@ interface NoticeBarProps extends IComponent {
|
|
|
1325
1349
|
rightIcon?: HTMLElement | any;
|
|
1326
1350
|
close?: (list?: any) => void;
|
|
1327
1351
|
click?: (item?: any) => void;
|
|
1352
|
+
onClose?: (list?: any) => void;
|
|
1353
|
+
onClick?: (item?: any) => void;
|
|
1328
1354
|
}
|
|
1329
|
-
declare const NoticeBar: FunctionComponent<Partial<NoticeBarProps> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
1355
|
+
declare const NoticeBar: FunctionComponent<Partial<NoticeBarProps> & Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
|
|
1330
1356
|
|
|
1331
1357
|
interface StepsProps {
|
|
1332
1358
|
current: number;
|
|
@@ -1335,6 +1361,7 @@ interface StepsProps {
|
|
|
1335
1361
|
className: string;
|
|
1336
1362
|
style: React$1.CSSProperties;
|
|
1337
1363
|
clickStep: (index: number) => void;
|
|
1364
|
+
onClickStep: (index: number) => void;
|
|
1338
1365
|
}
|
|
1339
1366
|
declare const Steps: FunctionComponent<Partial<StepsProps> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
1340
1367
|
|
|
@@ -1395,6 +1422,7 @@ interface AvatarProps extends IComponent {
|
|
|
1395
1422
|
alt: string;
|
|
1396
1423
|
style: React$1.CSSProperties;
|
|
1397
1424
|
activeAvatar: (e: MouseEvent) => void;
|
|
1425
|
+
onActiveAvatar: (e: MouseEvent) => void;
|
|
1398
1426
|
onError: (e: any) => void;
|
|
1399
1427
|
}
|
|
1400
1428
|
declare type AvatarShape = 'round' | 'square';
|
|
@@ -1512,13 +1540,15 @@ interface CountDownProps {
|
|
|
1512
1540
|
declare const CountDown: React$1.ForwardRefExoticComponent<Partial<CountDownProps> & React$1.RefAttributes<unknown>>;
|
|
1513
1541
|
|
|
1514
1542
|
interface CollapseProps {
|
|
1543
|
+
className: string;
|
|
1544
|
+
style: React$1.CSSProperties;
|
|
1515
1545
|
activeName: Array<number | string> | number | string;
|
|
1516
1546
|
accordion: boolean;
|
|
1517
1547
|
icon: string;
|
|
1518
1548
|
iconSize: string;
|
|
1519
1549
|
iconColor: string;
|
|
1520
1550
|
rotate: number;
|
|
1521
|
-
|
|
1551
|
+
onChange: (isOpen: boolean, name: string) => void;
|
|
1522
1552
|
children?: React$1.ReactNode;
|
|
1523
1553
|
}
|
|
1524
1554
|
declare const Collapse: FunctionComponent<Partial<CollapseProps>>;
|
|
@@ -1573,6 +1603,8 @@ declare const Empty: FunctionComponent<Partial<EmptyProps> & React$1.HTMLAttribu
|
|
|
1573
1603
|
|
|
1574
1604
|
declare type Data = any;
|
|
1575
1605
|
interface IVirtualListProps {
|
|
1606
|
+
className?: string;
|
|
1607
|
+
style?: React.CSSProperties;
|
|
1576
1608
|
sourceData: Array<Data>;
|
|
1577
1609
|
containerSize?: number;
|
|
1578
1610
|
ItemRender?: React.FC<any>;
|
|
@@ -1581,11 +1613,11 @@ interface IVirtualListProps {
|
|
|
1581
1613
|
horizontal?: boolean;
|
|
1582
1614
|
overscan?: number;
|
|
1583
1615
|
handleScroll?: (...args: any[]) => any;
|
|
1616
|
+
onScroll?: (...args: any[]) => any;
|
|
1584
1617
|
key?: string;
|
|
1585
1618
|
locale?: {
|
|
1586
1619
|
[key in string]: string;
|
|
1587
1620
|
};
|
|
1588
|
-
className?: string;
|
|
1589
1621
|
}
|
|
1590
1622
|
|
|
1591
1623
|
declare type VirtualListProps = IVirtualListProps;
|
|
@@ -1631,6 +1663,9 @@ interface VideoProps$1 {
|
|
|
1631
1663
|
play: (e: HTMLVideoElement) => void;
|
|
1632
1664
|
pause: (e: HTMLVideoElement) => void;
|
|
1633
1665
|
playend: (e: HTMLVideoElement) => void;
|
|
1666
|
+
onPlayFuc: (e: HTMLVideoElement) => void;
|
|
1667
|
+
onPauseFuc: (e: HTMLVideoElement) => void;
|
|
1668
|
+
onPlayend: (e: HTMLVideoElement) => void;
|
|
1634
1669
|
}
|
|
1635
1670
|
declare const Video: FunctionComponent<Partial<VideoProps$1> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
1636
1671
|
|
|
@@ -1797,6 +1832,8 @@ interface SignatureProps {
|
|
|
1797
1832
|
className: string;
|
|
1798
1833
|
confirm?: (dataurl: string) => void;
|
|
1799
1834
|
clear?: () => void;
|
|
1835
|
+
onConfirm?: (dataurl: string) => void;
|
|
1836
|
+
onClear?: () => void;
|
|
1800
1837
|
}
|
|
1801
1838
|
declare const Signature: FunctionComponent<Partial<SignatureProps> & React$1.HTMLAttributes<HTMLDivElement>>;
|
|
1802
1839
|
|
|
@@ -1844,6 +1881,7 @@ interface DateType {
|
|
|
1844
1881
|
}
|
|
1845
1882
|
interface TimeSelectProps {
|
|
1846
1883
|
className?: string;
|
|
1884
|
+
style: React$1.CSSProperties;
|
|
1847
1885
|
visible?: boolean;
|
|
1848
1886
|
height?: string;
|
|
1849
1887
|
multiple?: boolean;
|
|
@@ -1855,8 +1893,11 @@ interface TimeSelectProps {
|
|
|
1855
1893
|
select?: (selectTimeData: TimeType[]) => void;
|
|
1856
1894
|
pannelChange?: (pannelKey: string | number, selectTimeData: TimeType[]) => void;
|
|
1857
1895
|
timeChange?: (time: string, selectTimeData: TimeType[]) => void;
|
|
1896
|
+
onSelect?: (selectTimeData: TimeType[]) => void;
|
|
1897
|
+
onPannelChange?: (pannelKey: string | number, selectTimeData: TimeType[]) => void;
|
|
1898
|
+
onTimeChange?: (time: string, selectTimeData: TimeType[]) => void;
|
|
1858
1899
|
}
|
|
1859
|
-
declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps
|
|
1900
|
+
declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps>>;
|
|
1860
1901
|
|
|
1861
1902
|
interface CollapseItemProps extends IComponent {
|
|
1862
1903
|
title: string;
|
|
@@ -1893,6 +1934,9 @@ interface VideoProps {
|
|
|
1893
1934
|
play: (e: HTMLVideoElement) => void;
|
|
1894
1935
|
pause: (e: HTMLVideoElement) => void;
|
|
1895
1936
|
playend: (e: HTMLVideoElement) => void;
|
|
1937
|
+
onPlayFuc: (e: HTMLVideoElement) => void;
|
|
1938
|
+
onPauseFuc: (e: HTMLVideoElement) => void;
|
|
1939
|
+
onPlayend: (e: HTMLVideoElement) => void;
|
|
1896
1940
|
}
|
|
1897
1941
|
|
|
1898
1942
|
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, 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, 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, Toast, ToastProps, Uploader, UploaderProps, Video, VideoProps, VirtualList, VirtualListProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui-react-taro",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.8",
|
|
4
4
|
"style": "dist/style.css",
|
|
5
5
|
"main": "dist/nutui.react.umd.js",
|
|
6
6
|
"module": "dist/esm/nutui-react.es.js",
|
|
@@ -103,6 +103,8 @@
|
|
|
103
103
|
"@rollup/plugin-typescript": "^8.3.0",
|
|
104
104
|
"@tarojs/components": "^3.5.5",
|
|
105
105
|
"@tarojs/taro": "^3.5.5",
|
|
106
|
+
"@tarojs/plugin-platform-weapp": "^3.5.7",
|
|
107
|
+
"@tarojs/taro-loader": "^3.5.7",
|
|
106
108
|
"@testing-library/jest-dom": "^5.16.3",
|
|
107
109
|
"@testing-library/react": "^13.3.0",
|
|
108
110
|
"@types/jest": "^27.4.1",
|