manolis-ui 0.0.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/README.md +5 -0
- package/dist/App.vue.d.ts +2 -0
- package/dist/components/actions/ButtonComponent.vue.d.ts +29 -0
- package/dist/components/actions/dropdown.vue.d.ts +47 -0
- package/dist/components/actions/modal.vue.d.ts +36 -0
- package/dist/components/actions/swap.vue.d.ts +21 -0
- package/dist/components/actions/theme-controller.vue.d.ts +9 -0
- package/dist/components/data-display/accordion.vue.d.ts +14 -0
- package/dist/components/data-display/avatar.vue.d.ts +9 -0
- package/dist/components/data-display/badge.vue.d.ts +26 -0
- package/dist/components/data-display/card.vue.d.ts +35 -0
- package/dist/components/data-input/advancedSearch.vue.d.ts +46 -0
- package/dist/components/data-input/rating.vue.d.ts +15 -0
- package/dist/components/feedback/loader.vue.d.ts +7 -0
- package/dist/components/layout/footer.vue.d.ts +29 -0
- package/dist/components/layout/hero.vue.d.ts +23 -0
- package/dist/components/navigation/categoryNavigation.vue.d.ts +22 -0
- package/dist/components/navigation/navigationBar.vue.d.ts +25 -0
- package/dist/components/navigation/tab.vue.d.ts +24 -0
- package/dist/index.d.ts +18 -0
- package/dist/main.d.ts +0 -0
- package/dist/manolis-ui.css +1 -0
- package/dist/manolis-ui.js +1278 -0
- package/dist/manolis-ui.umd.cjs +36 -0
- package/dist/style.css +3170 -0
- package/dist/vite.svg +1 -0
- package/package.json +72 -0
- package/src/components/actions/ButtonComponent.vue +80 -0
- package/src/components/actions/dropdown.vue +46 -0
- package/src/components/actions/modal.vue +52 -0
- package/src/components/actions/swap.vue +15 -0
- package/src/components/actions/theme-controller.vue +52 -0
- package/src/components/data-display/accordion.vue +29 -0
- package/src/components/data-display/avatar.vue +36 -0
- package/src/components/data-display/badge.vue +35 -0
- package/src/components/data-display/card.vue +60 -0
- package/src/components/data-display/carousel.vue +34 -0
- package/src/components/data-input/advancedSearch.vue +227 -0
- package/src/components/data-input/datetimePicker.vue +409 -0
- package/src/components/data-input/input.vue +98 -0
- package/src/components/data-input/rating.vue +60 -0
- package/src/components/feedback/loader.vue +25 -0
- package/src/components/layout/footer.vue +42 -0
- package/src/components/layout/hero.vue +15 -0
- package/src/components/navigation/categoryNavigation.vue +40 -0
- package/src/components/navigation/navigationBar.vue +107 -0
- package/src/components/navigation/tab.vue +62 -0
package/README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Vue 3 + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
4
|
+
|
|
5
|
+
Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
outlined?: boolean;
|
|
3
|
+
active?: boolean;
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
type?: 'neutral' | 'primary' | 'secondary' | 'accent' | 'ghost' | 'link' | 'info' | 'success' | 'warning' | 'error';
|
|
6
|
+
size?: string;
|
|
7
|
+
shape?: 'square' | 'circle';
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLButtonElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
19
|
+
outlined: boolean;
|
|
20
|
+
active: boolean;
|
|
21
|
+
loading: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
items?: Array<dropdownItem>;
|
|
3
|
+
position?: keyof typeof dropdownPosition;
|
|
4
|
+
floatPosition?: keyof typeof dropdownFloatPosition;
|
|
5
|
+
openOnHover?: boolean;
|
|
6
|
+
forceOpen?: boolean;
|
|
7
|
+
}
|
|
8
|
+
interface dropdownItem {
|
|
9
|
+
text: string;
|
|
10
|
+
link: string;
|
|
11
|
+
}
|
|
12
|
+
declare const dropdownPosition: {
|
|
13
|
+
left: string;
|
|
14
|
+
right: string;
|
|
15
|
+
bottom: string;
|
|
16
|
+
top: string;
|
|
17
|
+
};
|
|
18
|
+
declare const dropdownFloatPosition: {
|
|
19
|
+
start: string;
|
|
20
|
+
end: string;
|
|
21
|
+
};
|
|
22
|
+
declare function __VLS_template(): {
|
|
23
|
+
attrs: Partial<{}>;
|
|
24
|
+
slots: {
|
|
25
|
+
default?(_: {
|
|
26
|
+
tabindex: string;
|
|
27
|
+
role: string;
|
|
28
|
+
}): any;
|
|
29
|
+
additional?(_: {}): any;
|
|
30
|
+
};
|
|
31
|
+
refs: {};
|
|
32
|
+
rootEl: HTMLDivElement;
|
|
33
|
+
};
|
|
34
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
36
|
+
position: keyof typeof dropdownPosition;
|
|
37
|
+
floatPosition: keyof typeof dropdownFloatPosition;
|
|
38
|
+
openOnHover: boolean;
|
|
39
|
+
forceOpen: boolean;
|
|
40
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
41
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
position?: keyof typeof modalPosition;
|
|
3
|
+
withBackdrop?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const modalPosition: {
|
|
6
|
+
top: string;
|
|
7
|
+
bottom: string;
|
|
8
|
+
center: string;
|
|
9
|
+
};
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
trigger?(_: {
|
|
14
|
+
role: string;
|
|
15
|
+
}): any;
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
actions?(_: {}): any;
|
|
18
|
+
"close-button"?(_: {}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {
|
|
21
|
+
dialog: HTMLDialogElement;
|
|
22
|
+
};
|
|
23
|
+
rootEl: any;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
27
|
+
position: keyof typeof modalPosition;
|
|
28
|
+
withBackdrop: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
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
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
effect?: "rotate" | "flip";
|
|
3
|
+
}
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
on?(_: {}): any;
|
|
8
|
+
off?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLLabelElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
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, {}, HTMLLabelElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
lightTheme?: string;
|
|
3
|
+
darkTheme?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
6
|
+
lightTheme: string;
|
|
7
|
+
darkTheme: string;
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
name: string;
|
|
3
|
+
items: Array<Accordion>;
|
|
4
|
+
joinItems?: boolean;
|
|
5
|
+
icon?: "arrow" | "plus";
|
|
6
|
+
}
|
|
7
|
+
interface Accordion {
|
|
8
|
+
title: string;
|
|
9
|
+
content: string;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
12
|
+
joinItems: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
image: string;
|
|
3
|
+
onlineStatus?: "online" | "offline" | "none";
|
|
4
|
+
initials?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
7
|
+
onlineStatus: "online" | "offline" | "none";
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
color?: "neutral" | "primary" | "secondary" | "accent" | "ghost" | "info" | "success" | "warning" | "error";
|
|
3
|
+
outline?: boolean;
|
|
4
|
+
size?: "extra small" | "small" | "medium" | "large";
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLSpanElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
16
|
+
size: "extra small" | "small" | "medium" | "large";
|
|
17
|
+
color: "neutral" | "primary" | "secondary" | "accent" | "ghost" | "info" | "success" | "warning" | "error";
|
|
18
|
+
outline: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
imgUrl: string;
|
|
3
|
+
alt?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
outlined?: boolean;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
class: string;
|
|
9
|
+
}
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
details?(_: {}): any;
|
|
14
|
+
actions?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: HTMLDivElement;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
21
|
+
outlined: boolean;
|
|
22
|
+
loading: boolean;
|
|
23
|
+
class: string;
|
|
24
|
+
title: string;
|
|
25
|
+
imgUrl: string;
|
|
26
|
+
alt: string;
|
|
27
|
+
description: string;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
interface Tab {
|
|
2
|
+
name: string | any;
|
|
3
|
+
description: string;
|
|
4
|
+
type: "datetime";
|
|
5
|
+
range: boolean;
|
|
6
|
+
props?: Object;
|
|
7
|
+
value?: any;
|
|
8
|
+
}
|
|
9
|
+
interface Props {
|
|
10
|
+
searchOptions: Array<{
|
|
11
|
+
category: string;
|
|
12
|
+
tabs: Tab[];
|
|
13
|
+
}>;
|
|
14
|
+
currentCategory: string;
|
|
15
|
+
}
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
attrs: Partial<{}>;
|
|
18
|
+
slots: {
|
|
19
|
+
additionalForMobile?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
refs: {
|
|
22
|
+
searchContainer: HTMLDivElement;
|
|
23
|
+
};
|
|
24
|
+
rootEl: any;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
28
|
+
search: () => any;
|
|
29
|
+
"update:search-data": (payload: {
|
|
30
|
+
tab: string;
|
|
31
|
+
data: any;
|
|
32
|
+
}) => any;
|
|
33
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
34
|
+
onSearch?: (() => any) | undefined;
|
|
35
|
+
"onUpdate:search-data"?: ((payload: {
|
|
36
|
+
tab: string;
|
|
37
|
+
data: any;
|
|
38
|
+
}) => any) | undefined;
|
|
39
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
initialRating: number;
|
|
3
|
+
numberOfStars?: number;
|
|
4
|
+
halfStars?: boolean;
|
|
5
|
+
isInteractive?: boolean;
|
|
6
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
9
|
+
size: "xs" | "sm" | "md" | "lg";
|
|
10
|
+
initialRating: number;
|
|
11
|
+
numberOfStars: number;
|
|
12
|
+
halfStars: boolean;
|
|
13
|
+
isInteractive: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
loading?: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
5
|
+
loading: boolean;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
items: Array<FooterNavigation>;
|
|
3
|
+
}
|
|
4
|
+
export interface FooterNavigation {
|
|
5
|
+
title: string;
|
|
6
|
+
items: Array<FooterNavigationItem>;
|
|
7
|
+
}
|
|
8
|
+
interface FooterNavigationItem {
|
|
9
|
+
text: string;
|
|
10
|
+
link: string;
|
|
11
|
+
enabled: Boolean;
|
|
12
|
+
}
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
slots: {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: HTMLElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
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, {}, HTMLElement>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
title?(_: {}): any;
|
|
5
|
+
description?(_: {
|
|
6
|
+
class: string;
|
|
7
|
+
}): any;
|
|
8
|
+
"call-to-action-block"?(_: {
|
|
9
|
+
class: string;
|
|
10
|
+
}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface Tab {
|
|
2
|
+
name: string | any;
|
|
3
|
+
description: string;
|
|
4
|
+
type: "date" | "time" | "datetime" | any;
|
|
5
|
+
range: boolean;
|
|
6
|
+
props?: Object;
|
|
7
|
+
value?: any;
|
|
8
|
+
}
|
|
9
|
+
interface Category {
|
|
10
|
+
category: string;
|
|
11
|
+
tabs: Tab[];
|
|
12
|
+
}
|
|
13
|
+
interface Props {
|
|
14
|
+
searchOptions: Array<Category>;
|
|
15
|
+
currentCategory: string;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
|
+
"update:currentCategory": (category: string) => any;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
20
|
+
"onUpdate:currentCategory"?: ((category: string) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
isCollapsed: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
start?(_: {}): any;
|
|
8
|
+
center?(_: {}): any;
|
|
9
|
+
end?(_: {}): any;
|
|
10
|
+
bottom?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
17
|
+
isCollapsed: boolean;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
items: Array<string>;
|
|
3
|
+
withControlls?: boolean;
|
|
4
|
+
rotateTabsAfter?: number;
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: Partial<Record<`${string}-tab`, (_: {}) => any>>;
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"tab-changed": (...args: any[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
16
|
+
"onTab-changed"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { default as ButtonComponent } from './components/actions/ButtonComponent.vue';
|
|
2
|
+
export { default as Dropdown } from './components/actions/dropdown.vue';
|
|
3
|
+
export { default as Modal } from './components/actions/modal.vue';
|
|
4
|
+
export { default as Swap } from './components/actions/swap.vue';
|
|
5
|
+
export { default as ThemeController } from './components/actions/theme-controller.vue';
|
|
6
|
+
export { default as Accordion } from './components/data-display/accordion.vue';
|
|
7
|
+
export { default as Avatar } from './components/data-display/avatar.vue';
|
|
8
|
+
export { default as Badge } from './components/data-display/badge.vue';
|
|
9
|
+
export { default as Card } from './components/data-display/card.vue';
|
|
10
|
+
export { default as AdvancedSearch } from './components/data-input/advancedSearch.vue';
|
|
11
|
+
export { default as DatetimePicker } from './components/data-input/datetimePicker.vue';
|
|
12
|
+
export { default as Rating } from './components/data-input/rating.vue';
|
|
13
|
+
export { default as Loader } from './components/feedback/loader.vue';
|
|
14
|
+
export { default as Footer } from './components/layout/footer.vue';
|
|
15
|
+
export { default as Hero } from './components/layout/hero.vue';
|
|
16
|
+
export { default as CategoryNavigation } from './components/navigation/categoryNavigation.vue';
|
|
17
|
+
export { default as NavigationBar } from './components/navigation/navigationBar.vue';
|
|
18
|
+
export { default as Tab } from './components/navigation/tab.vue';
|
package/dist/main.d.ts
ADDED
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.tabs button[data-v-08fa37eb]{cursor:pointer}.tab-content[data-v-08fa37eb]{position:absolute;z-index:10;transform-origin:top center;transition:opacity .3s ease}.tabs-boxed[data-v-08fa37eb] :is(.tab-active,[aria-selected=true]):not(.tab-disabled):not([disabled]),.tabs-boxed[data-v-08fa37eb] :is(input:checked){background-color:var(--color-base-300);color:var(--color-base-content)}@media (max-width: 768px){.tab-content[data-v-08fa37eb]{width:100%;left:50%;transform:translate(-50%);top:auto;bottom:0}}@media (min-width: 769px){.tab-content[data-v-08fa37eb]{width:auto;left:unset;transform:unset}}.input[data-v-e7e203aa]{cursor:pointer}.footer[data-v-537d40bd]>*{width:max-content;position:relative}.navigationbar[data-v-8ddb2b45]{display:grid;grid-template-columns:auto auto auto;grid-template-rows:auto auto;grid-template-areas:"center center center" "bottom bottom bottom";position:fixed;width:100%!important;gap:0 1rem;align-items:center;padding:var(--navbar-padding, .5rem);min-height:4rem;z-index:5}@media (min-width: 768px){.navigationbar[data-v-8ddb2b45]{grid-template-columns:.7fr 1.6fr .7fr;grid-template-areas:"start center end" "bottom bottom bottom";grid-row-gap:2rem;padding:2rem}}.navbar-start[data-v-8ddb2b45]{grid-area:start;height:100%}.navbar-center[data-v-8ddb2b45]{grid-area:center;width:100%;height:100%}.navbar-end[data-v-8ddb2b45]{width:100%;height:100%;grid-area:end}.navbar-bottom[data-v-8ddb2b45]{grid-area:center;width:100%;display:flex;justify-content:center;align-items:center}@media (min-width: 768px){.navbar-bottom[data-v-8ddb2b45]{grid-area:bottom}}nav.navigationbar.collapsed[data-v-8ddb2b45]{top:0;z-index:10;grid-template-columns:auto 1fr auto!important}@media (min-width: 768px){nav.navigationbar.collapsed[data-v-8ddb2b45]{row-gap:0;padding:1rem}}nav.navigationbar.collapsed .navbar-bottom[data-v-8ddb2b45]{grid-area:center!important}
|