@evercam/ui 0.0.1 → 0.0.3
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/dist/index.d.ts +3 -0
- package/dist/index.mjs +281 -282
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/EAvatar/EAvatar.vue.d.ts +22 -0
- package/dist/src/components/EAvatar/index.d.ts +3 -0
- package/dist/src/components/EBadge/EBadge.vue.d.ts +28 -0
- package/dist/src/components/EBadge/index.d.ts +3 -0
- package/dist/src/components/EIcon/EIcon.vue.d.ts +11 -0
- package/dist/src/components/EIcon/index.d.ts +3 -0
- package/dist/src/components/ESpinner/ESpinner.vue.d.ts +25 -0
- package/dist/src/components/ESpinner/index.d.ts +3 -0
- package/dist/src/index.d.ts +4 -4
- package/dist/style.css +1 -1
- package/package.json +9 -9
- package/dist/src/components/Avatar.vue.d.ts +0 -72
- package/dist/src/components/Badge.vue.d.ts +0 -54
- package/dist/src/components/Icon.vue.d.ts +0 -37
- package/dist/src/components/Spinner.vue.d.ts +0 -67
- package/dist/src/components/stories.utils.d.ts +0 -16
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { BaseColor, Size } from "../constants";
|
|
3
|
+
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
4
|
+
sizes: {
|
|
5
|
+
xs: string;
|
|
6
|
+
sm: string;
|
|
7
|
+
md: string;
|
|
8
|
+
lg: string;
|
|
9
|
+
xl: string;
|
|
10
|
+
"2xl": string;
|
|
11
|
+
};
|
|
12
|
+
}, unknown, {
|
|
13
|
+
avatarClasses: string[];
|
|
14
|
+
}, {
|
|
15
|
+
size: Size;
|
|
16
|
+
showBadge: boolean;
|
|
17
|
+
badgeColor: BaseColor;
|
|
18
|
+
badgeText: string;
|
|
19
|
+
badgeSize: Size;
|
|
20
|
+
image: string;
|
|
21
|
+
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { BaseColor, Size } from "../constants";
|
|
3
|
+
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
4
|
+
colors: {
|
|
5
|
+
error: string;
|
|
6
|
+
info: string;
|
|
7
|
+
warning: string;
|
|
8
|
+
primary: string;
|
|
9
|
+
default: string;
|
|
10
|
+
success: string;
|
|
11
|
+
};
|
|
12
|
+
sizes: {
|
|
13
|
+
dot: string;
|
|
14
|
+
xs: string;
|
|
15
|
+
sm: string;
|
|
16
|
+
md: string;
|
|
17
|
+
lg: string;
|
|
18
|
+
xl: string;
|
|
19
|
+
};
|
|
20
|
+
}, unknown, {
|
|
21
|
+
badgeClasses: string[];
|
|
22
|
+
showText: boolean;
|
|
23
|
+
}, {
|
|
24
|
+
text: string;
|
|
25
|
+
color: BaseColor;
|
|
26
|
+
size: Size;
|
|
27
|
+
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { Size } from "../constants";
|
|
3
|
+
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, unknown, {
|
|
4
|
+
sizes: Record<Size, string>;
|
|
5
|
+
iconClasses: string[];
|
|
6
|
+
}, {
|
|
7
|
+
icon: string;
|
|
8
|
+
color: string;
|
|
9
|
+
size: Size;
|
|
10
|
+
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { Size } from "../constants";
|
|
3
|
+
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
4
|
+
sizes: any;
|
|
5
|
+
colors: any;
|
|
6
|
+
}, {
|
|
7
|
+
getNthPathStyle(index: number): {
|
|
8
|
+
animationDuration: string;
|
|
9
|
+
animationDelay: string;
|
|
10
|
+
fill: string;
|
|
11
|
+
};
|
|
12
|
+
}, {
|
|
13
|
+
computedSize: number;
|
|
14
|
+
fill: {
|
|
15
|
+
primary: string;
|
|
16
|
+
secondary: string;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
dark: boolean;
|
|
20
|
+
color: boolean;
|
|
21
|
+
animationDuration: string | number;
|
|
22
|
+
size: Size;
|
|
23
|
+
opacity: string | number;
|
|
24
|
+
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin>;
|
|
25
|
+
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import EAvatar from
|
|
2
|
-
import EBadge from
|
|
3
|
-
import EIcon from
|
|
4
|
-
import ESpinner from
|
|
1
|
+
import EAvatar from './components/EAvatar';
|
|
2
|
+
import EBadge from './components/EBadge';
|
|
3
|
+
import EIcon from './components/EIcon';
|
|
4
|
+
import ESpinner from './components/ESpinner';
|
|
5
5
|
import { VueConstructor } from "vue";
|
|
6
6
|
declare const _default: {
|
|
7
7
|
install(Vue: VueConstructor): void;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.e-spinner__primary[data-v-
|
|
1
|
+
.e-spinner__primary[data-v-095a6aaf],.e-spinner__secondary[data-v-095a6aaf]{stroke-width:0;animation:fade-095a6aaf;animation-iteration-count:infinite}@keyframes fade-095a6aaf{0%{fill-opacity:0}50%{fill-opacity:1}to{fill-opacity:0}}
|
package/package.json
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evercam/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"license": "MIT",
|
|
5
|
+
"private": false,
|
|
6
|
+
"author": "Evercam - Constuction Cameras",
|
|
7
|
+
"description": "Evercam UI components library",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/evercam/evercam-frontend.git"
|
|
11
|
+
},
|
|
5
12
|
"main": "dist/index.umd.js",
|
|
6
13
|
"module": "dist/index.mjs",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
7
15
|
"exports": {
|
|
8
16
|
".": {
|
|
9
17
|
"import": "./dist/index.mjs",
|
|
@@ -15,14 +23,6 @@
|
|
|
15
23
|
"files": [
|
|
16
24
|
"dist"
|
|
17
25
|
],
|
|
18
|
-
"types": "./dist/src/index.d.ts",
|
|
19
|
-
"author": "Evercam - Constuction Cameras",
|
|
20
|
-
"description": "Evercam UI components library",
|
|
21
|
-
"repository": {
|
|
22
|
-
"type": "git",
|
|
23
|
-
"url": "git+https://github.com/evercam/evercam-frontend.git"
|
|
24
|
-
},
|
|
25
|
-
"private": false,
|
|
26
26
|
"scripts": {
|
|
27
27
|
"story:dev": "histoire dev",
|
|
28
28
|
"story:build": "histoire build",
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import { BaseColor, Size } from "./constants";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
size: {
|
|
5
|
-
type: PropType<Size.xs | Size.sm | Size.md | Size.lg | Size.xl | (typeof Size)["2xl"]>;
|
|
6
|
-
default: Size;
|
|
7
|
-
};
|
|
8
|
-
showBadge: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
badgeColor: {
|
|
13
|
-
type: PropType<BaseColor.warning | BaseColor.error | BaseColor.info | BaseColor.success | BaseColor.primary | BaseColor.default>;
|
|
14
|
-
default: BaseColor;
|
|
15
|
-
};
|
|
16
|
-
badgeText: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
badgeSize: {
|
|
21
|
-
type: PropType<Size.dot | Size.xs | Size.sm | Size.md | Size.lg | Size.xl>;
|
|
22
|
-
default: Size;
|
|
23
|
-
};
|
|
24
|
-
image: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
}, {}, {
|
|
29
|
-
sizes: {
|
|
30
|
-
xs: string;
|
|
31
|
-
sm: string;
|
|
32
|
-
md: string;
|
|
33
|
-
lg: string;
|
|
34
|
-
xl: string;
|
|
35
|
-
"2xl": string;
|
|
36
|
-
};
|
|
37
|
-
}, {
|
|
38
|
-
avatarClasses(): string[];
|
|
39
|
-
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
-
size: {
|
|
41
|
-
type: PropType<Size.xs | Size.sm | Size.md | Size.lg | Size.xl | (typeof Size)["2xl"]>;
|
|
42
|
-
default: Size;
|
|
43
|
-
};
|
|
44
|
-
showBadge: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
badgeColor: {
|
|
49
|
-
type: PropType<BaseColor.warning | BaseColor.error | BaseColor.info | BaseColor.success | BaseColor.primary | BaseColor.default>;
|
|
50
|
-
default: BaseColor;
|
|
51
|
-
};
|
|
52
|
-
badgeText: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
badgeSize: {
|
|
57
|
-
type: PropType<Size.dot | Size.xs | Size.sm | Size.md | Size.lg | Size.xl>;
|
|
58
|
-
default: Size;
|
|
59
|
-
};
|
|
60
|
-
image: {
|
|
61
|
-
type: StringConstructor;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
}>>, {
|
|
65
|
-
size: Size.xs | Size.sm | Size.md | Size.lg | Size.xl | (typeof Size)["2xl"];
|
|
66
|
-
image: string;
|
|
67
|
-
showBadge: boolean;
|
|
68
|
-
badgeColor: BaseColor.warning | BaseColor.error | BaseColor.info | BaseColor.success | BaseColor.primary | BaseColor.default;
|
|
69
|
-
badgeText: string;
|
|
70
|
-
badgeSize: Size.dot | Size.xs | Size.sm | Size.md | Size.lg | Size.xl;
|
|
71
|
-
}>;
|
|
72
|
-
export default _default;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import { BaseColor, Size } from "./constants";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
text: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
color: {
|
|
9
|
-
type: PropType<BaseColor.warning | BaseColor.error | BaseColor.info | BaseColor.success | BaseColor.primary | BaseColor.default>;
|
|
10
|
-
default: BaseColor;
|
|
11
|
-
};
|
|
12
|
-
size: {
|
|
13
|
-
type: PropType<Size.dot | Size.xs | Size.sm | Size.md | Size.lg | Size.xl>;
|
|
14
|
-
default: Size;
|
|
15
|
-
};
|
|
16
|
-
}, {}, {
|
|
17
|
-
colors: {
|
|
18
|
-
error: string;
|
|
19
|
-
info: string;
|
|
20
|
-
warning: string;
|
|
21
|
-
primary: string;
|
|
22
|
-
default: string;
|
|
23
|
-
success: string;
|
|
24
|
-
};
|
|
25
|
-
sizes: {
|
|
26
|
-
dot: string;
|
|
27
|
-
xs: string;
|
|
28
|
-
sm: string;
|
|
29
|
-
md: string;
|
|
30
|
-
lg: string;
|
|
31
|
-
xl: string;
|
|
32
|
-
};
|
|
33
|
-
}, {
|
|
34
|
-
badgeClasses(): string[];
|
|
35
|
-
showText(): boolean;
|
|
36
|
-
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
-
text: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
color: {
|
|
42
|
-
type: PropType<BaseColor.warning | BaseColor.error | BaseColor.info | BaseColor.success | BaseColor.primary | BaseColor.default>;
|
|
43
|
-
default: BaseColor;
|
|
44
|
-
};
|
|
45
|
-
size: {
|
|
46
|
-
type: PropType<Size.dot | Size.xs | Size.sm | Size.md | Size.lg | Size.xl>;
|
|
47
|
-
default: Size;
|
|
48
|
-
};
|
|
49
|
-
}>>, {
|
|
50
|
-
text: string;
|
|
51
|
-
color: BaseColor.warning | BaseColor.error | BaseColor.info | BaseColor.success | BaseColor.primary | BaseColor.default;
|
|
52
|
-
size: Size.dot | Size.xs | Size.sm | Size.md | Size.lg | Size.xl;
|
|
53
|
-
}>;
|
|
54
|
-
export default _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import { BaseColor, Size } from "./constants";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
icon: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
color: {
|
|
9
|
-
type: PropType<string>;
|
|
10
|
-
default: BaseColor;
|
|
11
|
-
};
|
|
12
|
-
size: {
|
|
13
|
-
type: PropType<Size.xs | Size.sm | Size.md | Size.base | Size.lg | Size.xl | (typeof Size)["2xl"] | (typeof Size)["3xl"] | (typeof Size)["4xl"] | (typeof Size)["5xl"] | (typeof Size)["6xl"] | (typeof Size)["7xl"] | (typeof Size)["8xl"] | (typeof Size)["9xl"]>;
|
|
14
|
-
default: Size;
|
|
15
|
-
};
|
|
16
|
-
}, {}, {}, {
|
|
17
|
-
sizes(): Record<Size, string>;
|
|
18
|
-
iconClasses(): string[];
|
|
19
|
-
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
-
icon: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
color: {
|
|
25
|
-
type: PropType<string>;
|
|
26
|
-
default: BaseColor;
|
|
27
|
-
};
|
|
28
|
-
size: {
|
|
29
|
-
type: PropType<Size.xs | Size.sm | Size.md | Size.base | Size.lg | Size.xl | (typeof Size)["2xl"] | (typeof Size)["3xl"] | (typeof Size)["4xl"] | (typeof Size)["5xl"] | (typeof Size)["6xl"] | (typeof Size)["7xl"] | (typeof Size)["8xl"] | (typeof Size)["9xl"]>;
|
|
30
|
-
default: Size;
|
|
31
|
-
};
|
|
32
|
-
}>>, {
|
|
33
|
-
color: string;
|
|
34
|
-
size: Size.xs | Size.sm | Size.md | Size.base | Size.lg | Size.xl | (typeof Size)["2xl"] | (typeof Size)["3xl"] | (typeof Size)["4xl"] | (typeof Size)["5xl"] | (typeof Size)["6xl"] | (typeof Size)["7xl"] | (typeof Size)["8xl"] | (typeof Size)["9xl"];
|
|
35
|
-
icon: string;
|
|
36
|
-
}>;
|
|
37
|
-
export default _default;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { PropType } from "vue";
|
|
2
|
-
import { Size } from "./constants";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
4
|
-
dark: {
|
|
5
|
-
type: BooleanConstructor;
|
|
6
|
-
default: boolean;
|
|
7
|
-
};
|
|
8
|
-
color: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
animationDuration: {
|
|
13
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
14
|
-
default: number;
|
|
15
|
-
};
|
|
16
|
-
size: {
|
|
17
|
-
type: PropType<Size>;
|
|
18
|
-
default: Size;
|
|
19
|
-
};
|
|
20
|
-
opacity: {
|
|
21
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
22
|
-
default: number;
|
|
23
|
-
};
|
|
24
|
-
}, {}, {
|
|
25
|
-
sizes: any;
|
|
26
|
-
colors: any;
|
|
27
|
-
}, {
|
|
28
|
-
computedSize(): number;
|
|
29
|
-
fill(): {
|
|
30
|
-
primary: string;
|
|
31
|
-
secondary: string;
|
|
32
|
-
};
|
|
33
|
-
}, {
|
|
34
|
-
getNthPathStyle(index: number): {
|
|
35
|
-
animationDuration: string;
|
|
36
|
-
animationDelay: string;
|
|
37
|
-
fill: string;
|
|
38
|
-
};
|
|
39
|
-
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
-
dark: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
color: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
animationDuration: {
|
|
49
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
50
|
-
default: number;
|
|
51
|
-
};
|
|
52
|
-
size: {
|
|
53
|
-
type: PropType<Size>;
|
|
54
|
-
default: Size;
|
|
55
|
-
};
|
|
56
|
-
opacity: {
|
|
57
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
58
|
-
default: number;
|
|
59
|
-
};
|
|
60
|
-
}>>, {
|
|
61
|
-
opacity: string | number;
|
|
62
|
-
color: boolean;
|
|
63
|
-
size: Size;
|
|
64
|
-
dark: boolean;
|
|
65
|
-
animationDuration: string | number;
|
|
66
|
-
}>;
|
|
67
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const TextSizeOptions: {
|
|
2
|
-
value: string;
|
|
3
|
-
label: string;
|
|
4
|
-
}[];
|
|
5
|
-
export declare const BadgeColorOptions: {
|
|
6
|
-
value: import("./constants").BaseColor.warning | import("./constants").BaseColor.error | import("./constants").BaseColor.info | import("./constants").BaseColor.success | import("./constants").BaseColor.primary | import("./constants").BaseColor.default;
|
|
7
|
-
label: string;
|
|
8
|
-
}[];
|
|
9
|
-
export declare const BadgeSizeOptions: {
|
|
10
|
-
value: import("./constants").Size.dot | import("./constants").Size.xs | import("./constants").Size.sm | import("./constants").Size.md | import("./constants").Size.lg | import("./constants").Size.xl;
|
|
11
|
-
label: string;
|
|
12
|
-
}[];
|
|
13
|
-
export declare const AvatarSizeOptions: {
|
|
14
|
-
value: import("./constants").Size.xs | import("./constants").Size.sm | import("./constants").Size.md | import("./constants").Size.lg | import("./constants").Size.xl | typeof import("./constants").Size["2xl"];
|
|
15
|
-
label: string;
|
|
16
|
-
}[];
|