veylan-component-library 1.0.0
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 +45 -0
- package/dist/components/BaseModal.vue.d.ts +31 -0
- package/dist/components/ButtonComponent.vue.d.ts +27 -0
- package/dist/components/CampaignCard.vue.d.ts +43 -0
- package/dist/components/CardComponents.vue.d.ts +43 -0
- package/dist/components/InviteCollaboratorsModalV2.vue.d.ts +22 -0
- package/dist/components/NavigationSidebar.vue.d.ts +21 -0
- package/dist/components/icons/IconCommunity.vue.d.ts +2 -0
- package/dist/components/icons/IconDocumentation.vue.d.ts +2 -0
- package/dist/components/icons/IconEcosystem.vue.d.ts +2 -0
- package/dist/components/icons/IconSupport.vue.d.ts +2 -0
- package/dist/components/icons/IconTooling.vue.d.ts +2 -0
- package/dist/favicon.ico +0 -0
- package/dist/fusion-component-library.es.js +1188 -0
- package/dist/fusion-component-library.es.js.map +1 -0
- package/dist/fusion-component-library.umd.js +2 -0
- package/dist/fusion-component-library.umd.js.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/veylan-component-library.css +1 -0
- package/package.json +72 -0
package/README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# fusion-vue-tailwind-starter
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 in Vite.
|
|
4
|
+
|
|
5
|
+
## Recommended IDE Setup
|
|
6
|
+
|
|
7
|
+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
|
|
8
|
+
|
|
9
|
+
## Type Support for `.vue` Imports in TS
|
|
10
|
+
|
|
11
|
+
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.
|
|
12
|
+
|
|
13
|
+
## Customize configuration
|
|
14
|
+
|
|
15
|
+
See [Vite Configuration Reference](https://vite.dev/config/).
|
|
16
|
+
|
|
17
|
+
## Project Setup
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
npm install
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Compile and Hot-Reload for Development
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
npm run dev
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Type-Check, Compile and Minify for Production
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
npm run build
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
npm run test:unit
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Lint with [ESLint](https://eslint.org/)
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
npm run lint
|
|
45
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
interface BaseModalProps {
|
|
2
|
+
isOpen?: boolean;
|
|
3
|
+
title?: string;
|
|
4
|
+
primaryButtonText?: string;
|
|
5
|
+
secondaryButtonText?: string;
|
|
6
|
+
}
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<BaseModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
close: () => any;
|
|
13
|
+
primary: () => any;
|
|
14
|
+
secondary: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<BaseModalProps> & Readonly<{
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
|
+
onPrimary?: (() => any) | undefined;
|
|
18
|
+
onSecondary?: (() => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
isOpen: boolean;
|
|
21
|
+
title: string;
|
|
22
|
+
primaryButtonText: string;
|
|
23
|
+
secondaryButtonText: string;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface ButtonProps {
|
|
2
|
+
variant?: 'primary' | 'outlined' | 'text' | 'disabled';
|
|
3
|
+
leftIcon?: 'arrow' | 'share' | 'none';
|
|
4
|
+
rightIcon?: 'arrow' | 'share' | 'dropdown' | 'none';
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare var __VLS_9: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_9) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
click: () => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
14
|
+
onClick?: (() => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
variant: "primary" | "outlined" | "text" | "disabled";
|
|
18
|
+
leftIcon: "arrow" | "share" | "none";
|
|
19
|
+
rightIcon: "arrow" | "share" | "dropdown" | "none";
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export interface CampaignCardProps {
|
|
2
|
+
showImage?: boolean;
|
|
3
|
+
imageSrc?: string;
|
|
4
|
+
imageAlt?: string;
|
|
5
|
+
imageClasses?: string;
|
|
6
|
+
showLabels?: boolean;
|
|
7
|
+
label1?: string;
|
|
8
|
+
label2?: string;
|
|
9
|
+
showMenu?: boolean;
|
|
10
|
+
showContent?: boolean;
|
|
11
|
+
title?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
showFooter?: boolean;
|
|
14
|
+
showMembers?: boolean;
|
|
15
|
+
members?: string[];
|
|
16
|
+
showAddButton?: boolean;
|
|
17
|
+
cardClasses?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: import("vue").DefineComponent<CampaignCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"menu-click": () => any;
|
|
21
|
+
"add-click": () => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<CampaignCardProps> & Readonly<{
|
|
23
|
+
"onMenu-click"?: (() => any) | undefined;
|
|
24
|
+
"onAdd-click"?: (() => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
title: string;
|
|
27
|
+
showImage: boolean;
|
|
28
|
+
imageSrc: string;
|
|
29
|
+
imageAlt: string;
|
|
30
|
+
imageClasses: string;
|
|
31
|
+
showLabels: boolean;
|
|
32
|
+
label1: string;
|
|
33
|
+
label2: string;
|
|
34
|
+
showMenu: boolean;
|
|
35
|
+
showContent: boolean;
|
|
36
|
+
description: string;
|
|
37
|
+
showFooter: boolean;
|
|
38
|
+
showMembers: boolean;
|
|
39
|
+
members: string[];
|
|
40
|
+
showAddButton: boolean;
|
|
41
|
+
cardClasses: string;
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export interface CardComponentsProps {
|
|
2
|
+
showImage?: boolean;
|
|
3
|
+
imageSrc?: string;
|
|
4
|
+
imageAlt?: string;
|
|
5
|
+
imageClasses?: string;
|
|
6
|
+
showLabels?: boolean;
|
|
7
|
+
label1?: string;
|
|
8
|
+
label2?: string;
|
|
9
|
+
showMenu?: boolean;
|
|
10
|
+
showContent?: boolean;
|
|
11
|
+
title?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
showFooter?: boolean;
|
|
14
|
+
showMembers?: boolean;
|
|
15
|
+
members?: string[];
|
|
16
|
+
showAddButton?: boolean;
|
|
17
|
+
cardClasses?: string;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: import("vue").DefineComponent<CardComponentsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"menu-click": () => any;
|
|
21
|
+
"add-click": () => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<CardComponentsProps> & Readonly<{
|
|
23
|
+
"onMenu-click"?: (() => any) | undefined;
|
|
24
|
+
"onAdd-click"?: (() => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
title: string;
|
|
27
|
+
showImage: boolean;
|
|
28
|
+
imageSrc: string;
|
|
29
|
+
imageAlt: string;
|
|
30
|
+
imageClasses: string;
|
|
31
|
+
showLabels: boolean;
|
|
32
|
+
label1: string;
|
|
33
|
+
label2: string;
|
|
34
|
+
showMenu: boolean;
|
|
35
|
+
showContent: boolean;
|
|
36
|
+
description: string;
|
|
37
|
+
showFooter: boolean;
|
|
38
|
+
showMembers: boolean;
|
|
39
|
+
members: string[];
|
|
40
|
+
showAddButton: boolean;
|
|
41
|
+
cardClasses: string;
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface User {
|
|
2
|
+
name: string;
|
|
3
|
+
email: string;
|
|
4
|
+
display: string;
|
|
5
|
+
}
|
|
6
|
+
interface InviteCollaboratorsModalV2Props {
|
|
7
|
+
isOpen?: boolean;
|
|
8
|
+
availableUsersList?: User[];
|
|
9
|
+
initialCollaborators?: User[];
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import("vue").DefineComponent<InviteCollaboratorsModalV2Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
close: () => any;
|
|
13
|
+
add: (users: User[], allCollaborators: User[]) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<InviteCollaboratorsModalV2Props> & Readonly<{
|
|
15
|
+
onClose?: (() => any) | undefined;
|
|
16
|
+
onAdd?: ((users: User[], allCollaborators: User[]) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
isOpen: boolean;
|
|
19
|
+
availableUsersList: User[];
|
|
20
|
+
initialCollaborators: User[];
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface NavItem {
|
|
2
|
+
name: string;
|
|
3
|
+
icon: 'dashboard' | 'conversations' | 'templates';
|
|
4
|
+
}
|
|
5
|
+
export interface Props {
|
|
6
|
+
items?: NavItem[];
|
|
7
|
+
userName?: string;
|
|
8
|
+
userVersion?: string;
|
|
9
|
+
activeItem?: number;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"item-click": (index: number) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
+
"onItem-click"?: ((index: number) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
items: NavItem[];
|
|
17
|
+
userName: string;
|
|
18
|
+
userVersion: string;
|
|
19
|
+
activeItem: number;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -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,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,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,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,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;
|
package/dist/favicon.ico
ADDED
|
Binary file
|