@nutui/nutui-react 1.4.3 → 1.4.4-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 +10 -0
- package/README.md +34 -0
- package/dist/esm/GridItem.js +13 -3
- package/dist/esm/Input.js +6 -9
- package/dist/esm/InputNumber.js +13 -5
- package/dist/esm/nutui-react.es.js +47 -47
- package/dist/esm/types/src/packages/griditem/griditem.d.ts +2 -0
- package/dist/esm/types/src/packages/nutui.react.build.d.ts +48 -48
- package/dist/esm/types/src/packages/nutui.react.d.ts +95 -95
- package/dist/esm/types/src/packages/nutui.react.scss.d.ts +47 -47
- 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.js +1 -1
- package/dist/nutui.react.es.js +23435 -23423
- package/dist/nutui.react.umd.js +23434 -23422
- package/dist/packages/button/button.scss +3 -0
- package/dist/packages/input/input.scss +6 -1
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/themes/default.scss +47 -47
- package/dist/types/index.d.ts +991 -989
- package/dist/types/nutui.react.build.ts +95 -95
- package/package.json +1 -1
|
@@ -1,190 +1,190 @@
|
|
|
1
1
|
import Button from '@/packages/button';
|
|
2
2
|
import Cell from '@/packages/cell';
|
|
3
3
|
import CellGroup from '@/packages/cellgroup';
|
|
4
|
+
import ConfigProvider from '@/packages/configprovider';
|
|
4
5
|
import Icon from '@/packages/icon';
|
|
6
|
+
import Image from '@/packages/image';
|
|
5
7
|
import Overlay from '@/packages/overlay';
|
|
6
8
|
import Popup from '@/packages/popup';
|
|
7
|
-
import ConfigProvider from '@/packages/configprovider';
|
|
8
|
-
import Image from '@/packages/image';
|
|
9
|
-
import Layout from '@/packages/layout';
|
|
10
9
|
import Col from '@/packages/col';
|
|
11
|
-
import Row from '@/packages/row';
|
|
12
10
|
import Divider from '@/packages/divider';
|
|
13
11
|
import Grid from '@/packages/grid';
|
|
14
12
|
import GridItem from '@/packages/griditem';
|
|
13
|
+
import Layout from '@/packages/layout';
|
|
14
|
+
import Row from '@/packages/row';
|
|
15
15
|
import Sticky from '@/packages/sticky';
|
|
16
|
-
import NavBar from '@/packages/navbar';
|
|
17
|
-
import FixedNav from '@/packages/fixednav';
|
|
18
|
-
import Tabbar from '@/packages/tabbar';
|
|
19
|
-
import TabbarItem from '@/packages/tabbaritem';
|
|
20
16
|
import Elevator from '@/packages/elevator';
|
|
21
|
-
import
|
|
22
|
-
import Tabs from '@/packages/tabs';
|
|
23
|
-
import TabPane from '@/packages/tabpane';
|
|
17
|
+
import FixedNav from '@/packages/fixednav';
|
|
24
18
|
import Indicator from '@/packages/indicator';
|
|
25
|
-
import SideNavBar from '@/packages/sidenavbar';
|
|
26
|
-
import SubSideNavBar from '@/packages/subsidenavbar';
|
|
27
|
-
import SideNavBarItem from '@/packages/sidenavbaritem';
|
|
28
19
|
import Menu from '@/packages/menu';
|
|
29
20
|
import MenuItem from '@/packages/menuitem';
|
|
30
|
-
import
|
|
21
|
+
import NavBar from '@/packages/navbar';
|
|
22
|
+
import Pagination from '@/packages/pagination';
|
|
23
|
+
import SideNavBar from '@/packages/sidenavbar';
|
|
24
|
+
import SideNavBarItem from '@/packages/sidenavbaritem';
|
|
25
|
+
import SubSideNavBar from '@/packages/subsidenavbar';
|
|
26
|
+
import Tabbar from '@/packages/tabbar';
|
|
27
|
+
import TabbarItem from '@/packages/tabbaritem';
|
|
28
|
+
import TabPane from '@/packages/tabpane';
|
|
29
|
+
import Tabs from '@/packages/tabs';
|
|
31
30
|
import Calendar from '@/packages/calendar';
|
|
31
|
+
import CalendarItem from '@/packages/calendaritem';
|
|
32
|
+
import Cascader from '@/packages/cascader';
|
|
32
33
|
import Checkbox from '@/packages/checkbox';
|
|
33
34
|
import CheckboxGroup from '@/packages/checkboxgroup';
|
|
34
35
|
import DatePicker from '@/packages/datepicker';
|
|
35
|
-
import
|
|
36
|
+
import Form from '@/packages/form';
|
|
37
|
+
import FormItem from '@/packages/formitem';
|
|
36
38
|
import Input from '@/packages/input';
|
|
39
|
+
import InputNumber from '@/packages/inputnumber';
|
|
40
|
+
import NumberKeyboard from '@/packages/numberkeyboard';
|
|
41
|
+
import Picker from '@/packages/picker';
|
|
37
42
|
import Radio from '@/packages/radio';
|
|
38
43
|
import RadioGroup from '@/packages/radiogroup';
|
|
44
|
+
import Range from '@/packages/range';
|
|
39
45
|
import Rate from '@/packages/rate';
|
|
40
|
-
import
|
|
41
|
-
import Picker from '@/packages/picker';
|
|
46
|
+
import SearchBar from '@/packages/searchbar';
|
|
42
47
|
import ShortPassword from '@/packages/shortpassword';
|
|
43
48
|
import TextArea from '@/packages/textarea';
|
|
44
49
|
import Uploader from '@/packages/uploader';
|
|
45
|
-
import Cascader from '@/packages/cascader';
|
|
46
|
-
import SearchBar from '@/packages/searchbar';
|
|
47
|
-
import NumberKeyboard from '@/packages/numberkeyboard';
|
|
48
|
-
import Form from '@/packages/form';
|
|
49
|
-
import FormItem from '@/packages/formitem';
|
|
50
50
|
import ActionSheet from '@/packages/actionsheet';
|
|
51
51
|
import BackTop from '@/packages/backtop';
|
|
52
|
-
import Drag from '@/packages/drag';
|
|
53
52
|
import Dialog from '@/packages/dialog';
|
|
53
|
+
import Drag from '@/packages/drag';
|
|
54
54
|
import Infiniteloading from '@/packages/infiniteloading';
|
|
55
55
|
import Notify from '@/packages/notify';
|
|
56
|
+
import PullToRefresh from '@/packages/pulltorefresh';
|
|
57
|
+
import Swipe from '@/packages/swipe';
|
|
56
58
|
import Switch from '@/packages/switch';
|
|
57
59
|
import Toast from '@/packages/toast';
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import NoticeBar from '@/packages/noticebar';
|
|
62
|
-
import Steps from '@/packages/steps';
|
|
63
|
-
import Step from '@/packages/step';
|
|
64
|
-
import Swiper from '@/packages/swiper';
|
|
65
|
-
import SwiperItem from '@/packages/swiperitem';
|
|
60
|
+
import Animate from '@/packages/animate';
|
|
61
|
+
import AnimatingNumbers from '@/packages/animatingnumbers';
|
|
62
|
+
import Audio from '@/packages/audio';
|
|
66
63
|
import Avatar from '@/packages/avatar';
|
|
67
64
|
import AvatarGroup from '@/packages/avatargroup';
|
|
68
|
-
import Price from '@/packages/price';
|
|
69
65
|
import Badge from '@/packages/badge';
|
|
70
|
-
import
|
|
71
|
-
import Popover from '@/packages/popover';
|
|
72
|
-
import Skeleton from '@/packages/skeleton';
|
|
73
|
-
import CountDown from '@/packages/countdown';
|
|
66
|
+
import CircleProgress from '@/packages/circleprogress';
|
|
74
67
|
import Collapse from '@/packages/collapse';
|
|
75
68
|
import CollapseItem from '@/packages/collapseitem';
|
|
76
|
-
import
|
|
69
|
+
import CountDown from '@/packages/countdown';
|
|
70
|
+
import Ellipsis from '@/packages/ellipsis';
|
|
77
71
|
import Empty from '@/packages/empty';
|
|
78
|
-
import VirtualList from '@/packages/virtuallist';
|
|
79
|
-
import Table from '@/packages/table';
|
|
80
|
-
import Video from '@/packages/video';
|
|
81
|
-
import Progress from '@/packages/progress';
|
|
82
|
-
import Audio from '@/packages/audio';
|
|
83
72
|
import ImagePreview from '@/packages/imagepreview';
|
|
73
|
+
import NoticeBar from '@/packages/noticebar';
|
|
74
|
+
import Popover from '@/packages/popover';
|
|
75
|
+
import Price from '@/packages/price';
|
|
76
|
+
import Progress from '@/packages/progress';
|
|
77
|
+
import Skeleton from '@/packages/skeleton';
|
|
78
|
+
import Step from '@/packages/step';
|
|
79
|
+
import Steps from '@/packages/steps';
|
|
80
|
+
import Swiper from '@/packages/swiper';
|
|
81
|
+
import SwiperItem from '@/packages/swiperitem';
|
|
82
|
+
import Table from '@/packages/table';
|
|
83
|
+
import Tag from '@/packages/tag';
|
|
84
84
|
import TrendArrow from '@/packages/trendarrow';
|
|
85
|
+
import Video from '@/packages/video';
|
|
86
|
+
import VirtualList from '@/packages/virtuallist';
|
|
85
87
|
import WaterMark from '@/packages/watermark';
|
|
86
|
-
import Animate from '@/packages/animate';
|
|
87
|
-
import Ellipsis from '@/packages/ellipsis';
|
|
88
88
|
import Address from '@/packages/address';
|
|
89
89
|
import Barrage from '@/packages/barrage';
|
|
90
|
-
import Signature from '@/packages/signature';
|
|
91
90
|
import Card from '@/packages/card';
|
|
92
|
-
import
|
|
91
|
+
import Signature from '@/packages/signature';
|
|
93
92
|
import TimeDetail from '@/packages/timedetail';
|
|
93
|
+
import TimePannel from '@/packages/timepannel';
|
|
94
94
|
import TimeSelect from '@/packages/timeselect';
|
|
95
95
|
|
|
96
|
-
export { Button,Cell,CellGroup,Icon,Overlay,Popup,
|
|
96
|
+
export { Button,Cell,CellGroup,ConfigProvider,Icon,Image,Overlay,Popup,Col,Divider,Grid,GridItem,Layout,Row,Sticky,Elevator,FixedNav,Indicator,Menu,MenuItem,NavBar,Pagination,SideNavBar,SideNavBarItem,SubSideNavBar,Tabbar,TabbarItem,TabPane,Tabs,Calendar,CalendarItem,Cascader,Checkbox,CheckboxGroup,DatePicker,Form,FormItem,Input,InputNumber,NumberKeyboard,Picker,Radio,RadioGroup,Range,Rate,SearchBar,ShortPassword,TextArea,Uploader,ActionSheet,BackTop,Dialog,Drag,Infiniteloading,Notify,PullToRefresh,Swipe,Switch,Toast,Animate,AnimatingNumbers,Audio,Avatar,AvatarGroup,Badge,CircleProgress,Collapse,CollapseItem,CountDown,Ellipsis,Empty,ImagePreview,NoticeBar,Popover,Price,Progress,Skeleton,Step,Steps,Swiper,SwiperItem,Table,Tag,TrendArrow,Video,VirtualList,WaterMark,Address,Barrage,Card,Signature,TimeDetail,TimePannel,TimeSelect };
|
|
97
97
|
export type { ButtonProps } from '@/packages/button/button';
|
|
98
98
|
export type { CellProps } from '@/packages/cell/cell';
|
|
99
99
|
export type { CellGroupProps } from '@/packages/cellgroup/cellgroup';
|
|
100
|
+
export type { ConfigProviderProps } from '@/packages/configprovider/configprovider';
|
|
100
101
|
export type { IconProps } from '@/packages/icon/icon';
|
|
102
|
+
export type { ImageProps } from '@/packages/image/image';
|
|
101
103
|
export type { OverlayProps } from '@/packages/overlay/overlay';
|
|
102
104
|
export type { PopupProps } from '@/packages/popup/popup';
|
|
103
|
-
export type { ConfigProviderProps } from '@/packages/configprovider/configprovider';
|
|
104
|
-
export type { ImageProps } from '@/packages/image/image';
|
|
105
|
-
export type { LayoutProps } from '@/packages/layout/layout';
|
|
106
105
|
export type { ColProps } from '@/packages/col/col';
|
|
107
|
-
export type { RowProps } from '@/packages/row/row';
|
|
108
106
|
export type { DividerProps } from '@/packages/divider/divider';
|
|
109
107
|
export type { GridProps } from '@/packages/grid/grid';
|
|
110
108
|
export type { GridItemProps } from '@/packages/griditem/griditem';
|
|
109
|
+
export type { LayoutProps } from '@/packages/layout/layout';
|
|
110
|
+
export type { RowProps } from '@/packages/row/row';
|
|
111
111
|
export type { StickyProps } from '@/packages/sticky/sticky';
|
|
112
|
-
export type { NavBarProps } from '@/packages/navbar/navbar';
|
|
113
|
-
export type { FixedNavProps } from '@/packages/fixednav/fixednav';
|
|
114
|
-
export type { TabbarProps } from '@/packages/tabbar/tabbar';
|
|
115
|
-
export type { TabbarItemProps } from '@/packages/tabbaritem/tabbaritem';
|
|
116
112
|
export type { ElevatorProps } from '@/packages/elevator/elevator';
|
|
117
|
-
export type {
|
|
118
|
-
export type { TabsProps } from '@/packages/tabs/tabs';
|
|
119
|
-
export type { TabPaneProps } from '@/packages/tabpane/tabpane';
|
|
113
|
+
export type { FixedNavProps } from '@/packages/fixednav/fixednav';
|
|
120
114
|
export type { IndicatorProps } from '@/packages/indicator/indicator';
|
|
121
|
-
export type { SideNavBarProps } from '@/packages/sidenavbar/sidenavbar';
|
|
122
|
-
export type { SubSideNavBarProps } from '@/packages/subsidenavbar/subsidenavbar';
|
|
123
|
-
export type { SideNavBarItemProps } from '@/packages/sidenavbaritem/sidenavbaritem';
|
|
124
115
|
export type { MenuProps } from '@/packages/menu/menu';
|
|
125
116
|
export type { MenuItemProps } from '@/packages/menuitem/menuitem';
|
|
126
|
-
export type {
|
|
117
|
+
export type { NavBarProps } from '@/packages/navbar/navbar';
|
|
118
|
+
export type { PaginationProps } from '@/packages/pagination/pagination';
|
|
119
|
+
export type { SideNavBarProps } from '@/packages/sidenavbar/sidenavbar';
|
|
120
|
+
export type { SideNavBarItemProps } from '@/packages/sidenavbaritem/sidenavbaritem';
|
|
121
|
+
export type { SubSideNavBarProps } from '@/packages/subsidenavbar/subsidenavbar';
|
|
122
|
+
export type { TabbarProps } from '@/packages/tabbar/tabbar';
|
|
123
|
+
export type { TabbarItemProps } from '@/packages/tabbaritem/tabbaritem';
|
|
124
|
+
export type { TabPaneProps } from '@/packages/tabpane/tabpane';
|
|
125
|
+
export type { TabsProps } from '@/packages/tabs/tabs';
|
|
127
126
|
export type { CalendarProps } from '@/packages/calendar/calendar';
|
|
127
|
+
export type { CalendarItemProps } from '@/packages/calendaritem/calendaritem';
|
|
128
|
+
export type { CascaderProps } from '@/packages/cascader/cascader';
|
|
128
129
|
export type { CheckboxProps } from '@/packages/checkbox/checkbox';
|
|
129
130
|
export type { CheckboxGroupProps } from '@/packages/checkboxgroup/checkboxgroup';
|
|
130
131
|
export type { DatePickerProps } from '@/packages/datepicker/datepicker';
|
|
131
|
-
export type {
|
|
132
|
+
export type { FormProps } from '@/packages/form/form';
|
|
133
|
+
export type { FormItemProps } from '@/packages/formitem/formitem';
|
|
132
134
|
export type { InputProps } from '@/packages/input/input';
|
|
135
|
+
export type { InputNumberProps } from '@/packages/inputnumber/inputnumber';
|
|
136
|
+
export type { NumberKeyboardProps } from '@/packages/numberkeyboard/numberkeyboard';
|
|
137
|
+
export type { PickerProps } from '@/packages/picker/picker';
|
|
133
138
|
export type { RadioProps } from '@/packages/radio/radio';
|
|
134
139
|
export type { RadioGroupProps } from '@/packages/radiogroup/radiogroup';
|
|
140
|
+
export type { RangeProps } from '@/packages/range/range';
|
|
135
141
|
export type { RateProps } from '@/packages/rate/rate';
|
|
136
|
-
export type {
|
|
137
|
-
export type { PickerProps } from '@/packages/picker/picker';
|
|
142
|
+
export type { SearchBarProps } from '@/packages/searchbar/searchbar';
|
|
138
143
|
export type { ShortPasswordProps } from '@/packages/shortpassword/shortpassword';
|
|
139
144
|
export type { TextAreaProps } from '@/packages/textarea/textarea';
|
|
140
145
|
export type { UploaderProps } from '@/packages/uploader/uploader';
|
|
141
|
-
export type { CascaderProps } from '@/packages/cascader/cascader';
|
|
142
|
-
export type { SearchBarProps } from '@/packages/searchbar/searchbar';
|
|
143
|
-
export type { NumberKeyboardProps } from '@/packages/numberkeyboard/numberkeyboard';
|
|
144
|
-
export type { FormProps } from '@/packages/form/form';
|
|
145
|
-
export type { FormItemProps } from '@/packages/formitem/formitem';
|
|
146
146
|
export type { ActionSheetProps } from '@/packages/actionsheet/actionsheet';
|
|
147
147
|
export type { BackTopProps } from '@/packages/backtop/backtop';
|
|
148
|
-
export type { DragProps } from '@/packages/drag/drag';
|
|
149
148
|
export type { DialogProps } from '@/packages/dialog/dialog';
|
|
149
|
+
export type { DragProps } from '@/packages/drag/drag';
|
|
150
150
|
export type { InfiniteloadingProps } from '@/packages/infiniteloading/infiniteloading';
|
|
151
151
|
export type { NotifyProps } from '@/packages/notify/notify';
|
|
152
|
+
export type { PullToRefreshProps } from '@/packages/pulltorefresh/pulltorefresh';
|
|
153
|
+
export type { SwipeProps } from '@/packages/swipe/swipe';
|
|
152
154
|
export type { SwitchProps } from '@/packages/switch/switch';
|
|
153
155
|
export type { ToastProps } from '@/packages/toast/toast';
|
|
154
|
-
export type {
|
|
155
|
-
export type {
|
|
156
|
-
export type {
|
|
157
|
-
export type { NoticeBarProps } from '@/packages/noticebar/noticebar';
|
|
158
|
-
export type { StepsProps } from '@/packages/steps/steps';
|
|
159
|
-
export type { StepProps } from '@/packages/step/step';
|
|
160
|
-
export type { SwiperProps } from '@/packages/swiper/swiper';
|
|
161
|
-
export type { SwiperItemProps } from '@/packages/swiperitem/swiperitem';
|
|
156
|
+
export type { AnimateProps } from '@/packages/animate/animate';
|
|
157
|
+
export type { AnimatingNumbersProps } from '@/packages/animatingnumbers/animatingnumbers';
|
|
158
|
+
export type { AudioProps } from '@/packages/audio/audio';
|
|
162
159
|
export type { AvatarProps } from '@/packages/avatar/avatar';
|
|
163
160
|
export type { AvatarGroupProps } from '@/packages/avatargroup/avatargroup';
|
|
164
|
-
export type { PriceProps } from '@/packages/price/price';
|
|
165
161
|
export type { BadgeProps } from '@/packages/badge/badge';
|
|
166
|
-
export type {
|
|
167
|
-
export type { PopoverProps } from '@/packages/popover/popover';
|
|
168
|
-
export type { SkeletonProps } from '@/packages/skeleton/skeleton';
|
|
169
|
-
export type { CountDownProps } from '@/packages/countdown/countdown';
|
|
162
|
+
export type { CircleProgressProps } from '@/packages/circleprogress/circleprogress';
|
|
170
163
|
export type { CollapseProps } from '@/packages/collapse/collapse';
|
|
171
164
|
export type { CollapseItemProps } from '@/packages/collapseitem/collapseitem';
|
|
172
|
-
export type {
|
|
165
|
+
export type { CountDownProps } from '@/packages/countdown/countdown';
|
|
166
|
+
export type { EllipsisProps } from '@/packages/ellipsis/ellipsis';
|
|
173
167
|
export type { EmptyProps } from '@/packages/empty/empty';
|
|
174
|
-
export type { VirtualListProps } from '@/packages/virtuallist/virtuallist';
|
|
175
|
-
export type { TableProps } from '@/packages/table/table';
|
|
176
|
-
export type { VideoProps } from '@/packages/video/video';
|
|
177
|
-
export type { ProgressProps } from '@/packages/progress/progress';
|
|
178
|
-
export type { AudioProps } from '@/packages/audio/audio';
|
|
179
168
|
export type { ImagePreviewProps } from '@/packages/imagepreview/imagepreview';
|
|
169
|
+
export type { NoticeBarProps } from '@/packages/noticebar/noticebar';
|
|
170
|
+
export type { PopoverProps } from '@/packages/popover/popover';
|
|
171
|
+
export type { PriceProps } from '@/packages/price/price';
|
|
172
|
+
export type { ProgressProps } from '@/packages/progress/progress';
|
|
173
|
+
export type { SkeletonProps } from '@/packages/skeleton/skeleton';
|
|
174
|
+
export type { StepProps } from '@/packages/step/step';
|
|
175
|
+
export type { StepsProps } from '@/packages/steps/steps';
|
|
176
|
+
export type { SwiperProps } from '@/packages/swiper/swiper';
|
|
177
|
+
export type { SwiperItemProps } from '@/packages/swiperitem/swiperitem';
|
|
178
|
+
export type { TableProps } from '@/packages/table/table';
|
|
179
|
+
export type { TagProps } from '@/packages/tag/tag';
|
|
180
180
|
export type { TrendArrowProps } from '@/packages/trendarrow/trendarrow';
|
|
181
|
+
export type { VideoProps } from '@/packages/video/video';
|
|
182
|
+
export type { VirtualListProps } from '@/packages/virtuallist/virtuallist';
|
|
181
183
|
export type { WaterMarkProps } from '@/packages/watermark/watermark';
|
|
182
|
-
export type { AnimateProps } from '@/packages/animate/animate';
|
|
183
|
-
export type { EllipsisProps } from '@/packages/ellipsis/ellipsis';
|
|
184
184
|
export type { AddressProps } from '@/packages/address/address';
|
|
185
185
|
export type { BarrageProps } from '@/packages/barrage/barrage';
|
|
186
|
-
export type { SignatureProps } from '@/packages/signature/signature';
|
|
187
186
|
export type { CardProps } from '@/packages/card/card';
|
|
188
|
-
export type {
|
|
187
|
+
export type { SignatureProps } from '@/packages/signature/signature';
|
|
189
188
|
export type { TimeDetailProps } from '@/packages/timedetail/timedetail';
|
|
189
|
+
export type { TimePannelProps } from '@/packages/timepannel/timepannel';
|
|
190
190
|
export type { TimeSelectProps } from '@/packages/timeselect/timeselect';
|