@solfacil/girassol 0.2.4 → 0.2.7

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.
Files changed (31) hide show
  1. package/dist/components.d.ts +3 -0
  2. package/dist/components.json +1 -1
  3. package/dist/girassol.es.js +1083 -808
  4. package/dist/girassol.umd.js +6 -6
  5. package/dist/style.css +1 -1
  6. package/dist/theme/solfacil/index.d.ts +2 -1
  7. package/dist/theme/solfacil/miscs.d.ts +124 -0
  8. package/dist/theme/solfacil/screens.d.ts +11 -0
  9. package/dist/theme/solfacil/spacing.d.ts +28 -18
  10. package/dist/types/components/informations/chip/Chip.vue.d.ts +1 -1
  11. package/dist/types/components/menus/menu/Menu.vue.d.ts +114 -0
  12. package/dist/types/components/menus/menu/index.d.ts +2 -0
  13. package/dist/types/components/menus/menu/menu.spec.d.ts +1 -0
  14. package/dist/types/components/menus/menu-item/menu-item-link/MenuItemLink.vue.d.ts +88 -0
  15. package/dist/types/components/menus/menu-item/menu-item-link/index.d.ts +2 -0
  16. package/dist/types/components/menus/menu-item/menu-item-link/types.d.ts +6 -0
  17. package/dist/types/components/menus/menu-navigation-links/MenuNavigationLinks.vue.d.ts +83 -0
  18. package/dist/types/components/menus/menu-navigation-links/index.d.ts +2 -0
  19. package/dist/types/composables/use-navigate/index.d.ts +20 -0
  20. package/dist/types/composables/use-navigate/types.d.ts +19 -0
  21. package/dist/types/composables/use-toast/Toast.vue.d.ts +4 -4
  22. package/dist/types/index.d.ts +385 -26
  23. package/package.json +11 -11
  24. package/theme/safelist.ts +2 -0
  25. package/theme/solfacil/index.ts +3 -1
  26. package/theme/solfacil/miscs.ts +12 -1
  27. package/theme/solfacil/screens.ts +5 -0
  28. package/theme/solfacil/spacing.ts +27 -50
  29. package/theme/solfacil/utilities.ts +11 -0
  30. package/vite.config.ts +2 -1
  31. package/windi.config.ts +5 -2
@@ -1,21 +1,24 @@
1
+ export declare const sizings: {
2
+ quark: string;
3
+ nano: string;
4
+ micro: string;
5
+ '3xs': string;
6
+ '2xs': string;
7
+ xs: string;
8
+ sm: string;
9
+ md: string;
10
+ lg: string;
11
+ xl: string;
12
+ '2xl': string;
13
+ '3xl': string;
14
+ mega: string;
15
+ '2mega': string;
16
+ '3mega': string;
17
+ giga: string;
18
+ };
1
19
  declare const _default: {
2
- space: {
3
- nano: string;
4
- micro: string;
5
- '3xs': string;
6
- '2xs': string;
7
- xs: string;
8
- sm: string;
9
- md: string;
10
- lg: string;
11
- xl: string;
12
- '2xl': string;
13
- '3xl': string;
14
- mega: string;
15
- huge: string;
16
- giga: string;
17
- };
18
20
  padding: {
21
+ quark: string;
19
22
  nano: string;
20
23
  micro: string;
21
24
  '3xs': string;
@@ -28,10 +31,14 @@ declare const _default: {
28
31
  '2xl': string;
29
32
  '3xl': string;
30
33
  mega: string;
31
- huge: string;
34
+ '2mega': string;
35
+ '3mega': string;
32
36
  giga: string;
37
+ auto: string;
38
+ '0': string;
33
39
  };
34
40
  margin: {
41
+ quark: string;
35
42
  nano: string;
36
43
  micro: string;
37
44
  '3xs': string;
@@ -44,8 +51,11 @@ declare const _default: {
44
51
  '2xl': string;
45
52
  '3xl': string;
46
53
  mega: string;
47
- huge: string;
54
+ '2mega': string;
55
+ '3mega': string;
48
56
  giga: string;
57
+ auto: string;
58
+ '0': string;
49
59
  };
50
60
  };
51
61
  export default _default;
@@ -27,7 +27,7 @@ declare const _default: {
27
27
  }>;
28
28
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
29
29
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
30
- $emit: ((event: "close") => void) & ((event: "update:selected") => void);
30
+ $emit: ((event: "update:selected") => void) & ((event: "close") => void);
31
31
  $el: any;
32
32
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
33
33
  id: string;
@@ -0,0 +1,114 @@
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ label: string;
7
+ position: ("bottom" | "top") | ("right" | "left");
8
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ id: string;
10
+ label?: string | undefined;
11
+ position?: (("bottom" | "top") | ("right" | "left")) | undefined;
12
+ }>, {
13
+ label: string;
14
+ position: string;
15
+ }>>> & {
16
+ onChange?: ((value: string) => any) | undefined;
17
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "position">;
18
+ $attrs: {
19
+ [x: string]: unknown;
20
+ };
21
+ $refs: {
22
+ [x: string]: unknown;
23
+ };
24
+ $slots: Readonly<{
25
+ [name: string]: import("vue").Slot | undefined;
26
+ }>;
27
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
28
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
29
+ $emit: (event: "change", value: string) => void;
30
+ $el: any;
31
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
32
+ id: string;
33
+ label?: string | undefined;
34
+ position?: (("bottom" | "top") | ("right" | "left")) | undefined;
35
+ }>, {
36
+ label: string;
37
+ position: string;
38
+ }>>> & {
39
+ onChange?: ((value: string) => any) | undefined;
40
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ change: (value: string) => void;
42
+ }, string, {
43
+ label: string;
44
+ position: ("bottom" | "top") | ("right" | "left");
45
+ }> & {
46
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
47
+ created?: ((() => void) | (() => void)[]) | undefined;
48
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
49
+ mounted?: ((() => void) | (() => void)[]) | undefined;
50
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
51
+ updated?: ((() => void) | (() => void)[]) | undefined;
52
+ activated?: ((() => void) | (() => void)[]) | undefined;
53
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
54
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
55
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
56
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
57
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
58
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
59
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
60
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
61
+ };
62
+ $forceUpdate: () => void;
63
+ $nextTick: typeof import("vue").nextTick;
64
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
65
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
66
+ id: string;
67
+ label?: string | undefined;
68
+ position?: (("bottom" | "top") | ("right" | "left")) | undefined;
69
+ }>, {
70
+ label: string;
71
+ position: string;
72
+ }>>> & {
73
+ onChange?: ((value: string) => any) | undefined;
74
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
75
+ __isFragment?: undefined;
76
+ __isTeleport?: undefined;
77
+ __isSuspense?: undefined;
78
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
79
+ id: string;
80
+ label?: string | undefined;
81
+ position?: (("bottom" | "top") | ("right" | "left")) | undefined;
82
+ }>, {
83
+ label: string;
84
+ position: string;
85
+ }>>> & {
86
+ onChange?: ((value: string) => any) | undefined;
87
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
88
+ change: (value: string) => void;
89
+ }, string, {
90
+ label: string;
91
+ position: ("bottom" | "top") | ("right" | "left");
92
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
93
+ $slots: {
94
+ label: (_: {
95
+ isOpen: boolean;
96
+ }) => any;
97
+ default: (_: {}) => any;
98
+ };
99
+ });
100
+ export default _default;
101
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
102
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
103
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
104
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
105
+ } : {
106
+ type: import('vue').PropType<T[K]>;
107
+ required: true;
108
+ };
109
+ };
110
+ declare type __VLS_WithDefaults<P, D> = {
111
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
112
+ default: D[K];
113
+ } : P[K];
114
+ };
@@ -0,0 +1,2 @@
1
+ import SolMenu from './Menu.vue';
2
+ export { SolMenu, };
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,88 @@
1
+ import type { LinkData } from './types';
2
+ declare const _default: {
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ id: string;
8
+ text?: LinkData['text'];
9
+ link?: LinkData['link'];
10
+ active?: LinkData['active'];
11
+ external?: LinkData['external'];
12
+ }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
13
+ $attrs: {
14
+ [x: string]: unknown;
15
+ };
16
+ $refs: {
17
+ [x: string]: unknown;
18
+ };
19
+ $slots: Readonly<{
20
+ [name: string]: import("vue").Slot | undefined;
21
+ }>;
22
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
23
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
24
+ $emit: (event: string, ...args: any[]) => void;
25
+ $el: any;
26
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
27
+ id: string;
28
+ text?: LinkData['text'];
29
+ link?: LinkData['link'];
30
+ active?: LinkData['active'];
31
+ external?: LinkData['external'];
32
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
33
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
34
+ created?: ((() => void) | (() => void)[]) | undefined;
35
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
36
+ mounted?: ((() => void) | (() => void)[]) | undefined;
37
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
38
+ updated?: ((() => void) | (() => void)[]) | undefined;
39
+ activated?: ((() => void) | (() => void)[]) | undefined;
40
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
41
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
42
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
43
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
44
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
45
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
46
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
47
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
48
+ };
49
+ $forceUpdate: () => void;
50
+ $nextTick: typeof import("vue").nextTick;
51
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
52
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
53
+ id: string;
54
+ text?: LinkData['text'];
55
+ link?: LinkData['link'];
56
+ active?: LinkData['active'];
57
+ external?: LinkData['external'];
58
+ }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
59
+ __isFragment?: undefined;
60
+ __isTeleport?: undefined;
61
+ __isSuspense?: undefined;
62
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
63
+ id: string;
64
+ text?: LinkData['text'];
65
+ link?: LinkData['link'];
66
+ active?: LinkData['active'];
67
+ external?: LinkData['external'];
68
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
69
+ $slots: {
70
+ default: (_: {
71
+ id: string;
72
+ active: boolean | undefined;
73
+ link: string | undefined;
74
+ text: string | undefined;
75
+ external: boolean | undefined;
76
+ }) => any;
77
+ };
78
+ });
79
+ export default _default;
80
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
81
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
82
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
83
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
84
+ } : {
85
+ type: import('vue').PropType<T[K]>;
86
+ required: true;
87
+ };
88
+ };
@@ -0,0 +1,2 @@
1
+ import SolMenuItemLink from './MenuItemLink.vue';
2
+ export { SolMenuItemLink, };
@@ -0,0 +1,6 @@
1
+ export interface LinkData {
2
+ text?: string;
3
+ link?: string;
4
+ active?: boolean;
5
+ external?: boolean;
6
+ }
@@ -0,0 +1,83 @@
1
+ import type { LinkData } from '@components/menus/menu-item/menu-item-link/types';
2
+ declare const _default: {
3
+ new (...args: any[]): {
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ id: string;
8
+ label?: string | undefined;
9
+ linkItems: LinkData[];
10
+ }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
11
+ $attrs: {
12
+ [x: string]: unknown;
13
+ };
14
+ $refs: {
15
+ [x: string]: unknown;
16
+ };
17
+ $slots: Readonly<{
18
+ [name: string]: import("vue").Slot | undefined;
19
+ }>;
20
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
21
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
22
+ $emit: (event: string, ...args: any[]) => void;
23
+ $el: any;
24
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
25
+ id: string;
26
+ label?: string | undefined;
27
+ linkItems: LinkData[];
28
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
29
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
30
+ created?: ((() => void) | (() => void)[]) | undefined;
31
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
32
+ mounted?: ((() => void) | (() => void)[]) | undefined;
33
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
34
+ updated?: ((() => void) | (() => void)[]) | undefined;
35
+ activated?: ((() => void) | (() => void)[]) | undefined;
36
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
37
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
38
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
39
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
40
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
41
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
42
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
43
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
44
+ };
45
+ $forceUpdate: () => void;
46
+ $nextTick: typeof import("vue").nextTick;
47
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
48
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
49
+ id: string;
50
+ label?: string | undefined;
51
+ linkItems: LinkData[];
52
+ }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
53
+ __isFragment?: undefined;
54
+ __isTeleport?: undefined;
55
+ __isSuspense?: undefined;
56
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
57
+ id: string;
58
+ label?: string | undefined;
59
+ linkItems: LinkData[];
60
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
61
+ $slots: {
62
+ label: (_: {
63
+ isOpen: boolean;
64
+ }) => any;
65
+ default: (_: {
66
+ id: string;
67
+ active: boolean | undefined;
68
+ link: string | undefined;
69
+ text: string | undefined;
70
+ external: boolean | undefined;
71
+ }) => any;
72
+ };
73
+ });
74
+ export default _default;
75
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
76
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
77
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
78
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
79
+ } : {
80
+ type: import('vue').PropType<T[K]>;
81
+ required: true;
82
+ };
83
+ };
@@ -0,0 +1,2 @@
1
+ import SolMenuNavigationLinks from './MenuNavigationLinks.vue';
2
+ export { SolMenuNavigationLinks, };
@@ -0,0 +1,20 @@
1
+ import type { Args, Codes, UseNavigateArgs } from './types';
2
+ export declare function useNavigate(codes: Codes, args?: UseNavigateArgs): {
3
+ navigate: ({ code }: KeyboardEvent) => void;
4
+ };
5
+ export declare function useNavigateProvider({ target, query }: Args): {
6
+ elementFocus: {
7
+ id: string;
8
+ index: number;
9
+ };
10
+ isItemFocused: (arg: {
11
+ index?: number;
12
+ id?: string;
13
+ }) => boolean;
14
+ resetStateFocus: () => void;
15
+ focusListItem: (index?: number) => void;
16
+ focusOnPreviousItem: () => void;
17
+ focusOnNextItem: (dataLength: number) => void;
18
+ focusOnFirstItem: () => void;
19
+ focusOnLastItem: (dataLength: number) => void;
20
+ };
@@ -0,0 +1,19 @@
1
+ import type { Ref, VNodeRef } from "vue";
2
+ declare type Arrows = 'ArrowUp' | 'ArrowDown' | 'ArrowLeft' | 'ArrowRight';
3
+ declare type Commands = 'Home' | 'End' | 'Space' | 'Enter' | 'NumpadEnter' | 'Escape' | 'Tab' | 'Delete' | 'Backspace';
4
+ declare type Numbers = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
5
+ declare type Alphabetic = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'U' | 'T' | 'W' | 'X' | 'Y' | 'Z';
6
+ declare type DigitNumbers = `Digit${Numbers}`;
7
+ declare type NumpadNumbers = `Numpad${Numbers}`;
8
+ declare type KeyLetters = `Key${Alphabetic}`;
9
+ export declare type Code = Commands | Arrows | KeyLetters | DigitNumbers | NumpadNumbers;
10
+ export declare type Codes = Partial<Record<Code, () => void>>;
11
+ export declare type UseNavigateArgs = {
12
+ fallback: () => void;
13
+ exclude?: Code | Code[];
14
+ };
15
+ export declare type Args = {
16
+ target: Ref<VNodeRef> | undefined;
17
+ query?: string;
18
+ };
19
+ export {};
@@ -5,8 +5,8 @@ declare const _default: {
5
5
  $data: {};
6
6
  $props: Partial<{
7
7
  type: ToastType;
8
- offset: number;
9
8
  position: Position;
9
+ offset: number;
10
10
  visible: boolean;
11
11
  hideProgressBar: boolean;
12
12
  showIcon: boolean;
@@ -31,7 +31,7 @@ declare const _default: {
31
31
  hideProgressBar: boolean | undefined;
32
32
  offset: number;
33
33
  visible: boolean;
34
- }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "offset" | "position" | "visible" | "hideProgressBar" | "showIcon">;
34
+ }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "position" | "offset" | "visible" | "hideProgressBar" | "showIcon">;
35
35
  $attrs: {
36
36
  [x: string]: unknown;
37
37
  };
@@ -68,8 +68,8 @@ declare const _default: {
68
68
  visible: boolean;
69
69
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
70
70
  type: ToastType;
71
- offset: number;
72
71
  position: Position;
72
+ offset: number;
73
73
  visible: boolean;
74
74
  hideProgressBar: boolean;
75
75
  showIcon: boolean;
@@ -141,8 +141,8 @@ declare const _default: {
141
141
  visible: boolean;
142
142
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
143
143
  type: ToastType;
144
- offset: number;
145
144
  position: Position;
145
+ offset: number;
146
146
  visible: boolean;
147
147
  hideProgressBar: boolean;
148
148
  showIcon: boolean;