@nutui/nutui-react 1.3.14 → 1.3.15-beta.0
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 +21 -12
- package/dist/esm/Animate/style/index.js +2 -0
- package/dist/esm/Animate.js +55 -0
- package/dist/esm/Ellipsis/style/index.js +2 -0
- package/dist/esm/Ellipsis.js +178 -0
- package/dist/esm/nutui-react.es.js +2 -0
- package/dist/esm/types/src/locales/zh-UG.d.ts +3 -0
- package/dist/esm/types/src/packages/animate/__tests__/animate.spec.d.ts +1 -0
- package/dist/esm/types/src/packages/animate/animate.d.ts +11 -0
- package/dist/esm/types/src/packages/animate/demo.d.ts +4 -0
- package/dist/esm/types/src/packages/animate/index.d.ts +2 -0
- package/dist/esm/types/src/packages/animate/index.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/animate/type.d.ts +2 -0
- package/dist/esm/types/src/packages/ellipsis/__test__/ellipsis.spec.d.ts +1 -0
- package/dist/esm/types/src/packages/ellipsis/demo.d.ts +3 -0
- package/dist/esm/types/src/packages/ellipsis/ellipsis.d.ts +14 -0
- package/dist/esm/types/src/packages/ellipsis/index.d.ts +2 -0
- package/dist/esm/types/src/packages/ellipsis/index.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/nutui.react.build.d.ts +3 -1
- package/dist/esm/types/src/packages/nutui.react.d.ts +5 -1
- package/dist/esm/types/src/packages/nutui.react.scss.d.ts +2 -0
- package/dist/esm/types/src/packages/nutui.react.taro.d.ts +3 -1
- package/dist/esm/types/src/packages/nutui.react.taro.scss.d.ts +1 -0
- package/dist/esm/types/src/packages/nutui.taro.react.build.d.ts +2 -1
- 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/locales/zh-UG.d.ts +3 -0
- package/dist/locales/zh-UG.js +132 -0
- package/dist/nutui.react.es.js +453 -242
- package/dist/nutui.react.umd.js +454 -241
- package/dist/packages/animate/animate.scss +284 -0
- package/dist/packages/ellipsis/ellipsis.scss +17 -0
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/themes/default.scss +2 -0
- package/dist/types/index.d.ts +27 -1
- package/dist/types/nutui.react.build.ts +5 -1
- package/package.json +2 -1
package/dist/style.es.js
CHANGED
|
@@ -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';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1963,6 +1963,32 @@ interface WaterMarkProps {
|
|
|
1963
1963
|
}
|
|
1964
1964
|
declare const WaterMark: FunctionComponent<Partial<WaterMarkProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1965
1965
|
|
|
1966
|
+
declare type AnimateType = 'shake' | 'ripple' | 'breath' | 'float' | 'slide-right' | 'slide-left' | 'slide-top' | 'slide-bottom' | 'jump' | 'twinkle' | 'flicker';
|
|
1967
|
+
declare type AnimateAction = 'initial' | 'click';
|
|
1968
|
+
|
|
1969
|
+
interface AnimateProps {
|
|
1970
|
+
type: AnimateType;
|
|
1971
|
+
action: AnimateAction;
|
|
1972
|
+
loop: boolean;
|
|
1973
|
+
className: string;
|
|
1974
|
+
style: React__default.CSSProperties;
|
|
1975
|
+
onClick: (event: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
1976
|
+
}
|
|
1977
|
+
declare const Animate: FunctionComponent<Partial<AnimateProps> & React__default.HTMLAttributes<HTMLDivElement>>;
|
|
1978
|
+
|
|
1979
|
+
interface EllipsisProps {
|
|
1980
|
+
content: string;
|
|
1981
|
+
direction: string;
|
|
1982
|
+
rows: number | string;
|
|
1983
|
+
expandText: string;
|
|
1984
|
+
collapseText: string;
|
|
1985
|
+
symbol: string;
|
|
1986
|
+
lineHeight: number | string;
|
|
1987
|
+
onClick: () => void;
|
|
1988
|
+
onChange: (type: string) => void;
|
|
1989
|
+
}
|
|
1990
|
+
declare const Ellipsis: FunctionComponent<Partial<EllipsisProps> & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onChange'>>;
|
|
1991
|
+
|
|
1966
1992
|
interface RegionData {
|
|
1967
1993
|
name?: string;
|
|
1968
1994
|
[key: string]: any;
|
|
@@ -2118,4 +2144,4 @@ interface TimeSelectProps {
|
|
|
2118
2144
|
}
|
|
2119
2145
|
declare const TimeSelect: FunctionComponent<Partial<TimeSelectProps>>;
|
|
2120
2146
|
|
|
2121
|
-
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 };
|
|
2147
|
+
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, _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 };
|
|
@@ -83,6 +83,8 @@ import Audio from '@/packages/audio';
|
|
|
83
83
|
import ImagePreview from '@/packages/imagepreview';
|
|
84
84
|
import TrendArrow from '@/packages/trendarrow';
|
|
85
85
|
import WaterMark from '@/packages/watermark';
|
|
86
|
+
import Animate from '@/packages/animate';
|
|
87
|
+
import Ellipsis from '@/packages/ellipsis';
|
|
86
88
|
import Address from '@/packages/address';
|
|
87
89
|
import Barrage from '@/packages/barrage';
|
|
88
90
|
import Signature from '@/packages/signature';
|
|
@@ -91,7 +93,7 @@ import TimePannel from '@/packages/timepannel';
|
|
|
91
93
|
import TimeDetail from '@/packages/timedetail';
|
|
92
94
|
import TimeSelect from '@/packages/timeselect';
|
|
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';
|
|
96
98
|
export type { CellProps } from '@/packages/cell/cell';
|
|
97
99
|
export type { CellGroupProps } from '@/packages/cellgroup/cellgroup';
|
|
@@ -177,6 +179,8 @@ export type { AudioProps } from '@/packages/audio/audio';
|
|
|
177
179
|
export type { ImagePreviewProps } from '@/packages/imagepreview/imagepreview';
|
|
178
180
|
export type { TrendArrowProps } from '@/packages/trendarrow/trendarrow';
|
|
179
181
|
export type { WaterMarkProps } from '@/packages/watermark/watermark';
|
|
182
|
+
export type { AnimateProps } from '@/packages/animate/animate';
|
|
183
|
+
export type { EllipsisProps } from '@/packages/ellipsis/ellipsis';
|
|
180
184
|
export type { AddressProps } from '@/packages/address/address';
|
|
181
185
|
export type { BarrageProps } from '@/packages/barrage/barrage';
|
|
182
186
|
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.15-beta.0",
|
|
4
4
|
"style": "dist/style.css",
|
|
5
5
|
"main": "dist/nutui.react.umd.js",
|
|
6
6
|
"module": "dist/esm/nutui-react.es.js",
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
"@use-gesture/react": "^10.2.9",
|
|
96
96
|
"classnames": "^2.3.1",
|
|
97
97
|
"async-validator": "^4.2.5",
|
|
98
|
+
"react-router-dom": "^5.2.0",
|
|
98
99
|
"react-transition-group": "^4.4.2"
|
|
99
100
|
},
|
|
100
101
|
"devDependencies": {
|