@dolanske/vui 1.11.8 → 1.11.10

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,36 @@
1
+ interface Props {
2
+ /**
3
+ * Animation direction
4
+ */
5
+ direction?: 'left' | 'right';
6
+ /**
7
+ * Speed in pixels/s
8
+ */
9
+ speed?: number;
10
+ /**
11
+ * Stepped/jerky movement instead of smooth scroll
12
+ */
13
+ stagger?: boolean;
14
+ }
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: {
18
+ default?(_: {}): any;
19
+ default?(_: {}): any;
20
+ };
21
+ refs: {
22
+ trackRef: HTMLDivElement;
23
+ };
24
+ rootEl: HTMLDivElement;
25
+ };
26
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
28
+ trackRef: HTMLDivElement;
29
+ }, HTMLDivElement>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -8,7 +8,7 @@ import { default as Badge } from './components/Badge/Badge.vue';
8
8
  import { default as BreadcrumbItem } from './components/Breadcrumbs/BreadcrumbItem.vue';
9
9
  import { default as Breadcrumbs } from './components/Breadcrumbs/Breadcrumbs.vue';
10
10
  import { default as Button } from './components/Button/Button.vue';
11
- import { default as ButtonGroup } from './components/ButtonGroup/ButtonGroup.vue';
11
+ import { default as ButtonGroup } from './components/Button/ButtonGroup.vue';
12
12
  import { default as Calendar } from './components/Calendar/Calendar.vue';
13
13
  import { default as Card } from './components/Card/Card.vue';
14
14
  import { default as Carousel } from './components/Carousel/Carousel.vue';
@@ -30,6 +30,7 @@ import { default as Password } from './components/Input/Password.vue';
30
30
  import { default as Textarea } from './components/Input/Textarea.vue';
31
31
  import { default as Kbd } from './components/Kbd/Kbd.vue';
32
32
  import { default as KbdGroup } from './components/Kbd/KbdGroup.vue';
33
+ import { default as Marquee } from './components/Marquee/Marquee.vue';
33
34
  import { default as Confirm } from './components/Modal/Confirm.vue';
34
35
  import { default as Modal } from './components/Modal/Modal.vue';
35
36
  import { default as OTP } from './components/OTP/OTP.vue';
@@ -58,4 +59,4 @@ import { searchString } from './shared/helpers';
58
59
  import { setColorTheme, theme } from './shared/theme';
59
60
  import { useViewTransition } from './shared/viewTransition';
60
61
  import * as Table from './components/Table';
61
- 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, 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, };
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, };
@@ -2,12 +2,19 @@ import { ShallowRef, VNode } from 'vue';
2
2
  type VNodesProps<T extends object> = Array<VNode & {
3
3
  props: T;
4
4
  }>;
5
+ type SlotFn = () => VNode[] | VNode | undefined;
5
6
  /**
6
7
  * Flattens slot children and keeps them in sync reactively.
8
+ *
9
+ * @param slotFn The slot function (e.g., slots.default)
10
+ */
11
+ export declare function useFlattenedSlot<T extends object>(slotFn?: SlotFn): ShallowRef<VNodesProps<T>>;
12
+ /**
13
+ * Returns a computed array of top-level VNodes from the provided slot function
14
+ *
7
15
  * @param slotFn The slot function (e.g., slots.default)
8
- * @returns Computed array of flattened VNodes
9
16
  */
10
- export declare function useFlattenedSlot<T extends object>(slotFn?: () => VNode[] | undefined): ShallowRef<VNodesProps<T>>;
17
+ export declare function useTopLevelSlots(slotFn?: SlotFn): ShallowRef<VNodesProps<any>>;
11
18
  /**
12
19
  * Checks whether all of the provided VNodes are of the same type. Throws an
13
20
  * error if not. This function should be used in components that only allow a