@nutui/nutui-react-taro 1.3.14 → 1.3.15

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +21 -12
  2. package/dist/esm/Animate/style/index.js +2 -0
  3. package/dist/esm/Animate.js +6 -0
  4. package/dist/esm/Ellipsis/style/index.js +2 -0
  5. package/dist/esm/Ellipsis.js +7 -0
  6. package/dist/esm/animate.taro-b0e83dd5.js +54 -0
  7. package/dist/esm/ellipsis.taro-5c2eac2a.js +309 -0
  8. package/dist/esm/nutui-react.es.js +2 -0
  9. package/dist/esm/types/src/locales/zh-UG.d.ts +3 -0
  10. package/dist/esm/types/src/packages/animate/__tests__/animate.spec.d.ts +1 -0
  11. package/dist/esm/types/src/packages/animate/animate.d.ts +11 -0
  12. package/dist/esm/types/src/packages/animate/animate.taro.d.ts +11 -0
  13. package/dist/esm/types/src/packages/animate/demo.d.ts +4 -0
  14. package/dist/esm/types/src/packages/animate/index.d.ts +2 -0
  15. package/dist/esm/types/src/packages/animate/index.taro.d.ts +2 -0
  16. package/dist/esm/types/src/packages/animate/type.d.ts +2 -0
  17. package/dist/esm/types/src/packages/ellipsis/__test__/ellipsis.spec.d.ts +1 -0
  18. package/dist/esm/types/src/packages/ellipsis/demo.d.ts +3 -0
  19. package/dist/esm/types/src/packages/ellipsis/ellipsis.d.ts +14 -0
  20. package/dist/esm/types/src/packages/ellipsis/ellipsis.taro.d.ts +14 -0
  21. package/dist/esm/types/src/packages/ellipsis/index.d.ts +2 -0
  22. package/dist/esm/types/src/packages/ellipsis/index.taro.d.ts +2 -0
  23. package/dist/esm/types/src/packages/nutui.react.build.d.ts +3 -1
  24. package/dist/esm/types/src/packages/nutui.react.d.ts +5 -1
  25. package/dist/esm/types/src/packages/nutui.react.scss.d.ts +2 -0
  26. package/dist/esm/types/src/packages/nutui.react.taro.d.ts +5 -1
  27. package/dist/esm/types/src/packages/nutui.react.taro.scss.d.ts +2 -0
  28. package/dist/esm/types/src/packages/nutui.taro.react.build.d.ts +3 -1
  29. package/dist/locales/base.js +1 -1
  30. package/dist/locales/en-US.js +1 -1
  31. package/dist/locales/id-ID.js +1 -1
  32. package/dist/locales/zh-CN.js +1 -1
  33. package/dist/locales/zh-TW.js +1 -1
  34. package/dist/locales/zh-UG.d.ts +3 -0
  35. package/dist/locales/zh-UG.js +132 -0
  36. package/dist/nutui.react.es.js +532 -251
  37. package/dist/nutui.react.umd.js +533 -250
  38. package/dist/packages/animate/animate.scss +284 -0
  39. package/dist/packages/ellipsis/ellipsis.scss +17 -0
  40. package/dist/style.css +1 -1
  41. package/dist/style.es.js +1 -1
  42. package/dist/styles/themes/default.scss +2 -0
  43. package/dist/types/index.d.ts +27 -1
  44. package/dist/types/nutui.taro.react.build.ts +5 -1
  45. package/package.json +1 -1
package/dist/style.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react-taro v1.3.14-beta.0 Fri Dec 09 2022 12:20:26 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react-taro v1.3.15-beta.0 Wed Dec 14 2022 17:42:25 GMT+0800 (China Standard Time)
3
3
  * (c) 2021 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -84,6 +84,8 @@
84
84
  @import '../../packages/imagepreview/imagepreview.scss';
85
85
  @import '../../packages/trendarrow/trendarrow.scss';
86
86
  @import '../../packages/watermark/watermark.scss';
87
+ @import '../../packages/animate/animate.scss';
88
+ @import '../../packages/ellipsis/ellipsis.scss';
87
89
  @import '../../packages/address/address.scss';
88
90
  @import '../../packages/barrage/barrage.scss';
89
91
  @import '../../packages/signature/signature.scss';
@@ -1891,6 +1891,32 @@ interface WaterMarkProps {
1891
1891
  }
1892
1892
  declare const WaterMark: FunctionComponent<Partial<WaterMarkProps> & React__default.HTMLAttributes<HTMLDivElement>>;
1893
1893
 
1894
+ declare type AnimateType = 'shake' | 'ripple' | 'breath' | 'float' | 'slide-right' | 'slide-left' | 'slide-top' | 'slide-bottom' | 'jump' | 'twinkle' | 'flicker';
1895
+ declare type AnimateAction = 'initial' | 'click';
1896
+
1897
+ interface AnimateProps {
1898
+ type: AnimateType;
1899
+ action: AnimateAction;
1900
+ loop: boolean;
1901
+ className: string;
1902
+ style: React__default.CSSProperties;
1903
+ onClick: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
1904
+ }
1905
+ declare const Animate: FunctionComponent<Partial<AnimateProps> & React__default.HTMLAttributes<HTMLDivElement>>;
1906
+
1907
+ interface EllipsisProps {
1908
+ content: string;
1909
+ direction: string;
1910
+ rows: number | string;
1911
+ expandText: string;
1912
+ collapseText: string;
1913
+ symbol: string;
1914
+ lineHeight: number | string;
1915
+ onClick: () => void;
1916
+ onChange: (type: string) => void;
1917
+ }
1918
+ declare const Ellipsis: FunctionComponent<Partial<EllipsisProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onChange'>>;
1919
+
1894
1920
  interface RegionData {
1895
1921
  name?: string;
1896
1922
  [key: string]: any;
@@ -2093,4 +2119,4 @@ interface VideoProps {
2093
2119
  onPlayend: (e: HTMLVideoElement) => void;
2094
2120
  }
2095
2121
 
2096
- 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, 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, TrendArrow, TrendArrowProps, Uploader, UploaderProps, Video, VideoProps, VirtualList, VirtualListProps, WaterMark, WaterMarkProps };
2122
+ export { ActionSheet, ActionSheetProps, Address, AddressProps, Animate, AnimateProps, 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, Ellipsis, EllipsisProps, 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, 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, TrendArrow, TrendArrowProps, Uploader, UploaderProps, Video, VideoProps, VirtualList, VirtualListProps, WaterMark, WaterMarkProps };
@@ -83,6 +83,8 @@ import Audio from '@/packages/audio/index.taro'
83
83
  import ImagePreview from '@/packages/imagepreview/index.taro'
84
84
  import TrendArrow from '@/packages/trendarrow/index.taro'
85
85
  import WaterMark from '@/packages/watermark/index.taro'
86
+ import Animate from '@/packages/animate/index.taro'
87
+ import Ellipsis from '@/packages/ellipsis/index.taro'
86
88
  import Address from '@/packages/address/index.taro'
87
89
  import Barrage from '@/packages/barrage/index.taro'
88
90
  import Signature from '@/packages/signature/index.taro'
@@ -91,7 +93,7 @@ import TimePannel from '@/packages/timepannel/index.taro'
91
93
  import TimeDetail from '@/packages/timedetail/index.taro'
92
94
  import TimeSelect from '@/packages/timeselect/index.taro'
93
95
 
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 };
96
+ 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,Animate,Ellipsis,Address,Barrage,Signature,Card,TimePannel,TimeDetail,TimeSelect };
95
97
  export type { ButtonProps } from '@/packages/button/button.taro';
96
98
  export type { CellProps } from '@/packages/cell/cell.taro';
97
99
  export type { CellGroupProps } from '@/packages/cellgroup/cellgroup.taro';
@@ -177,6 +179,8 @@ export type { AudioProps } from '@/packages/audio/audio.taro';
177
179
  export type { ImagePreviewProps } from '@/packages/imagepreview/imagepreview.taro';
178
180
  export type { TrendArrowProps } from '@/packages/trendarrow/trendarrow.taro';
179
181
  export type { WaterMarkProps } from '@/packages/watermark/watermark.taro';
182
+ export type { AnimateProps } from '@/packages/animate/animate.taro';
183
+ export type { EllipsisProps } from '@/packages/ellipsis/ellipsis.taro';
180
184
  export type { AddressProps } from '@/packages/address/address.taro';
181
185
  export type { BarrageProps } from '@/packages/barrage/barrage.taro';
182
186
  export type { SignatureProps } from '@/packages/signature/signature.taro';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui-react-taro",
3
- "version": "1.3.14",
3
+ "version": "1.3.15",
4
4
  "style": "dist/style.css",
5
5
  "main": "dist/nutui.react.umd.js",
6
6
  "module": "dist/esm/nutui-react.es.js",