@nutui/nutui 4.1.0 → 4.1.1
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 +16 -0
- package/README.md +27 -70
- package/dist/nutui.es.js +4 -2
- package/dist/nutui.js +5225 -5175
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/_es/Animate.js +37 -39
- package/dist/packages/_es/Card.js +26 -27
- package/dist/packages/_es/CircleProgress.js +8 -17
- package/dist/packages/_es/Empty.js +26 -29
- package/dist/packages/_es/Indicator.js +17 -18
- package/dist/packages/_es/Price.js +2 -2
- package/dist/packages/_es/Progress.js +20 -23
- package/dist/packages/_es/Swipe.js +64 -39
- package/dist/packages/_es/SwipeGroup.js +39 -0
- package/dist/packages/_es/Tabs.js +8 -3
- package/dist/packages/_es/Tag.js +30 -25
- package/dist/packages/_es/Uploader.js +30 -38
- package/dist/packages/button/index.scss +14 -0
- package/dist/packages/progress/index.scss +6 -0
- package/dist/packages/swipe/index.scss +1 -0
- package/dist/packages/swipegroup/index.mjs +4 -0
- package/dist/packages/swipegroup/index.scss +0 -0
- package/dist/packages/swipegroup/style.mjs +2 -0
- package/dist/smartips/web-types.json +27 -18
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +52 -51
- package/dist/styles/themes/jdb.scss +52 -51
- package/dist/styles/themes/jddkh.scss +52 -51
- package/dist/styles/themes/jdt.scss +52 -51
- package/dist/types/__VUE/animate/index.vue.d.ts +14 -3
- package/dist/types/__VUE/animate/type.d.ts +1 -1
- package/dist/types/__VUE/card/index.vue.d.ts +22 -3
- package/dist/types/__VUE/circleprogress/index.vue.d.ts +7 -10
- package/dist/types/__VUE/circleprogress/types.d.ts +1 -0
- package/dist/types/__VUE/empty/index.vue.d.ts +11 -4
- package/dist/types/__VUE/empty/types.d.ts +1 -0
- package/dist/types/__VUE/indicator/index.vue.d.ts +7 -9
- package/dist/types/__VUE/indicator/types.d.ts +1 -0
- package/dist/types/__VUE/price/index.vue.d.ts +8 -6
- package/dist/types/__VUE/price/types.d.ts +2 -0
- package/dist/types/__VUE/progress/index.vue.d.ts +10 -10
- package/dist/types/__VUE/progress/types.d.ts +2 -0
- package/dist/types/__VUE/swipe/index.vue.d.ts +4 -4
- package/dist/types/__VUE/swipegroup/index.vue.d.ts +26 -0
- package/dist/types/__VUE/tag/index.vue.d.ts +5 -4
- package/dist/types/__VUE/uploader/index.vue.d.ts +0 -3
- package/dist/types/index.d.ts +2 -1
- package/dist/types/utils/unit.d.ts +1 -0
- package/dist/types/utils/useTaroRect/index.d.ts +1 -0
- package/package.json +1 -1
- /package/dist/types/__VUE/tag/{type.d.ts → types.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, CSSProperties } from 'vue';
|
|
2
|
-
import { TagType } from './
|
|
2
|
+
import { TagType } from './types';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
5
|
install(app: import('vue').App): void;
|
|
@@ -36,10 +36,11 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
36
36
|
}, {
|
|
37
37
|
classes: import("vue").ComputedRef<{
|
|
38
38
|
[x: string]: boolean | TagType;
|
|
39
|
+
"nut-tag": boolean;
|
|
39
40
|
}>;
|
|
40
|
-
|
|
41
|
-
onClose: (event:
|
|
42
|
-
onClick: (event:
|
|
41
|
+
style: import("vue").ComputedRef<CSSProperties>;
|
|
42
|
+
onClose: (event: Event) => void;
|
|
43
|
+
onClick: (event: Event) => void;
|
|
43
44
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "click")[], "close" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
45
|
color: {
|
|
45
46
|
type: StringConstructor;
|
|
@@ -128,9 +128,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
128
128
|
percentage: string | number;
|
|
129
129
|
formData: any;
|
|
130
130
|
}[]>;
|
|
131
|
-
classes: import("vue").ComputedRef<{
|
|
132
|
-
[x: string]: boolean;
|
|
133
|
-
}>;
|
|
134
131
|
fileItemClick: (fileItem: FileItem) => void;
|
|
135
132
|
clearUploadQueue: (index?: number) => void;
|
|
136
133
|
submit: () => void;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -49,6 +49,7 @@ import NumberKeyboard from './__VUE/numberkeyboard/index.vue';
|
|
|
49
49
|
import Form from './__VUE/form/index.vue';
|
|
50
50
|
import FormItem from './__VUE/formitem/index.vue';
|
|
51
51
|
import Swipe from './__VUE/swipe/index.vue';
|
|
52
|
+
import SwipeGroup from './__VUE/swipegroup/index.vue';
|
|
52
53
|
import ActionSheet from './__VUE/actionsheet/index.vue';
|
|
53
54
|
import Backtop from './__VUE/backtop/index.vue';
|
|
54
55
|
import Drag from './__VUE/drag/index.vue';
|
|
@@ -108,7 +109,7 @@ import Comment from './__VUE/comment/index.vue';
|
|
|
108
109
|
import Invoice from './__VUE/invoice/index.vue';
|
|
109
110
|
declare function install(app: App): void;
|
|
110
111
|
declare const version = "4.1.0";
|
|
111
|
-
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, showDialog, showNotify, showToast, showImagePreview };
|
|
112
|
+
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, SwipeGroup, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, showDialog, showNotify, showToast, showImagePreview };
|
|
112
113
|
declare const _default: {
|
|
113
114
|
install: typeof install;
|
|
114
115
|
version: string;
|
|
@@ -6,3 +6,4 @@ export declare function mockScrollTop(value: number): Promise<void>;
|
|
|
6
6
|
export declare function sleep(delay?: number): Promise<void>;
|
|
7
7
|
export declare function triggerDrag(el: any, relativeX?: number, relativeY?: number): void;
|
|
8
8
|
export declare function mockElementMethod(element: any, method: string): Mock;
|
|
9
|
+
export declare function mockGetBoundingClientRect(rect: any): () => void;
|
package/package.json
CHANGED
|
File without changes
|