@dolanske/vui 1.11.10 → 1.11.11

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.
@@ -0,0 +1,121 @@
1
+ import { Sizes } from '../../shared/types';
2
+ import { FlexProps } from '../Flex/Flex.vue';
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: Readonly<Record<string, any>> & Record<string, any>;
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<(Omit<FlexProps, "gap"> & {
11
+ /**
12
+ * Groups the avatars closer together and adds a border to each avatar.
13
+ */
14
+ cluster: true;
15
+ gap?: never;
16
+ } & {
17
+ /**
18
+ * Limits the number of visible avatars and shows a counter with the remaining amount. Set to 0 to show all.
19
+ */
20
+ limit: number;
21
+ /**
22
+ * Should match the size prop of the Avatar components. This is used to add size to the limit counter.
23
+ */
24
+ limitSize: Sizes | number;
25
+ /**
26
+ * Picks users randomly instead of the first ones.
27
+ */
28
+ randomized?: boolean;
29
+ }) | (Omit<FlexProps, "gap"> & {
30
+ /**
31
+ * Groups the avatars closer together and adds a border to each avatar.
32
+ */
33
+ cluster: true;
34
+ gap?: never;
35
+ } & {
36
+ limit?: undefined;
37
+ limitSize?: never;
38
+ randomized?: never;
39
+ }) | (Omit<FlexProps, "gap"> & {
40
+ cluster?: false;
41
+ gap?: FlexProps["gap"];
42
+ } & {
43
+ /**
44
+ * Limits the number of visible avatars and shows a counter with the remaining amount. Set to 0 to show all.
45
+ */
46
+ limit: number;
47
+ /**
48
+ * Should match the size prop of the Avatar components. This is used to add size to the limit counter.
49
+ */
50
+ limitSize: Sizes | number;
51
+ /**
52
+ * Picks users randomly instead of the first ones.
53
+ */
54
+ randomized?: boolean;
55
+ }) | (Omit<FlexProps, "gap"> & {
56
+ cluster?: false;
57
+ gap?: FlexProps["gap"];
58
+ } & {
59
+ limit?: undefined;
60
+ limitSize?: never;
61
+ randomized?: never;
62
+ }), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<(Omit<FlexProps, "gap"> & {
63
+ /**
64
+ * Groups the avatars closer together and adds a border to each avatar.
65
+ */
66
+ cluster: true;
67
+ gap?: never;
68
+ } & {
69
+ /**
70
+ * Limits the number of visible avatars and shows a counter with the remaining amount. Set to 0 to show all.
71
+ */
72
+ limit: number;
73
+ /**
74
+ * Should match the size prop of the Avatar components. This is used to add size to the limit counter.
75
+ */
76
+ limitSize: Sizes | number;
77
+ /**
78
+ * Picks users randomly instead of the first ones.
79
+ */
80
+ randomized?: boolean;
81
+ }) | (Omit<FlexProps, "gap"> & {
82
+ /**
83
+ * Groups the avatars closer together and adds a border to each avatar.
84
+ */
85
+ cluster: true;
86
+ gap?: never;
87
+ } & {
88
+ limit?: undefined;
89
+ limitSize?: never;
90
+ randomized?: never;
91
+ }) | (Omit<FlexProps, "gap"> & {
92
+ cluster?: false;
93
+ gap?: FlexProps["gap"];
94
+ } & {
95
+ /**
96
+ * Limits the number of visible avatars and shows a counter with the remaining amount. Set to 0 to show all.
97
+ */
98
+ limit: number;
99
+ /**
100
+ * Should match the size prop of the Avatar components. This is used to add size to the limit counter.
101
+ */
102
+ limitSize: Sizes | number;
103
+ /**
104
+ * Picks users randomly instead of the first ones.
105
+ */
106
+ randomized?: boolean;
107
+ }) | (Omit<FlexProps, "gap"> & {
108
+ cluster?: false;
109
+ gap?: FlexProps["gap"];
110
+ } & {
111
+ limit?: undefined;
112
+ limitSize?: never;
113
+ randomized?: never;
114
+ })> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
115
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
116
+ export default _default;
117
+ type __VLS_WithTemplateSlots<T, S> = T & {
118
+ new (): {
119
+ $slots: S;
120
+ };
121
+ };
@@ -4,6 +4,7 @@ import { default as Accordion } from './components/Accordion/Accordion.vue';
4
4
  import { default as AccordionGroup } from './components/Accordion/AccordionGroup.vue';
5
5
  import { default as Alert } from './components/Alert/Alert.vue';
6
6
  import { default as Avatar } from './components/Avatar/Avatar.vue';
7
+ import { default as AvatarGroup } from './components/Avatar/AvatarGroup.vue';
7
8
  import { default as Badge } from './components/Badge/Badge.vue';
8
9
  import { default as BreadcrumbItem } from './components/Breadcrumbs/BreadcrumbItem.vue';
9
10
  import { default as Breadcrumbs } from './components/Breadcrumbs/Breadcrumbs.vue';
@@ -59,4 +60,4 @@ import { searchString } from './shared/helpers';
59
60
  import { setColorTheme, theme } from './shared/theme';
60
61
  import { useViewTransition } from './shared/viewTransition';
61
62
  import * as Table from './components/Table';
62
- export { Accordion, AccordionGroup, Alert, Avatar, Backdrop, Badge, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, Calendar, Card, Carousel, Checkbox, Color, type Command, Commands, Confirm, CopyClipboard, Counter, defineTable, Divider, Drawer, Dropdown, DropdownItem, DropdownTitle, Dropzone, File, Flex, Grid, Input, Kbd, KbdGroup, Marquee, Modal, OTP, OTPItem, paginate, Pagination, Password, Popout, Progress, pushToast, Radio, RadioGroup, removeToast, searchString, Select, setColorTheme, Sheet, Sidebar, type Sizes, Skeleton, type Spaces as Space, type SpaceSize, Spinner, Switch, Tab, Table, Tabs, Textarea, theme, Toasts, Tooltip, useBreakpoint, useViewTransition, vuiBreakpoints, };
63
+ export { Accordion, AccordionGroup, Alert, Avatar, AvatarGroup, Backdrop, Badge, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, Calendar, Card, Carousel, Checkbox, Color, type Command, Commands, Confirm, CopyClipboard, Counter, defineTable, Divider, Drawer, Dropdown, DropdownItem, DropdownTitle, Dropzone, File, Flex, Grid, Input, Kbd, KbdGroup, Marquee, Modal, OTP, OTPItem, paginate, Pagination, Password, Popout, Progress, pushToast, Radio, RadioGroup, removeToast, searchString, Select, setColorTheme, Sheet, Sidebar, type Sizes, Skeleton, type Spaces as Space, type SpaceSize, Spinner, Switch, Tab, Table, Tabs, Textarea, theme, Toasts, Tooltip, useBreakpoint, useViewTransition, vuiBreakpoints, };