@evercam/ui 0.0.6 → 0.0.8
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.mjs +466 -437
- 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.vue.d.ts +1 -1
- package/dist/src/components/EBadge.vue.d.ts +1 -1
- package/dist/src/components/EIcon.vue.d.ts +1 -1
- package/dist/src/components/ESpinner.vue.d.ts +1 -1
- package/dist/src/{components/constants.d.ts → constants.d.ts} +1 -31
- package/dist/src/index.d.ts +2 -0
- package/dist/src/types.d.ts +34 -0
- package/dist/style.css +1 -1
- package/package.json +4 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
-
import { BaseColor, Size } from
|
|
2
|
+
import { BaseColor, Size } from '../types';
|
|
3
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
4
|
sizes: {
|
|
5
5
|
xs: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
-
import { BaseColor, Size } from
|
|
2
|
+
import { BaseColor, Size } from '../types';
|
|
3
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
4
|
colors: {
|
|
5
5
|
error: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
-
import { Size } from
|
|
2
|
+
import { Size } from '../types';
|
|
3
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
4
|
sizes: Record<Size, string>;
|
|
5
5
|
iconClasses: string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
-
import { Size } from
|
|
2
|
+
import { Size } from '../types';
|
|
3
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
4
|
sizes: any;
|
|
5
5
|
colors: any;
|
|
@@ -1,40 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
dot = "dot",
|
|
3
|
-
xs = "xs",
|
|
4
|
-
sm = "sm",
|
|
5
|
-
md = "base",
|
|
6
|
-
base = "base",
|
|
7
|
-
lg = "lg",
|
|
8
|
-
xl = "xl",
|
|
9
|
-
"2xl" = "2xl",
|
|
10
|
-
"3xl" = "3xl",
|
|
11
|
-
"4xl" = "4xl",
|
|
12
|
-
"5xl" = "5xl",
|
|
13
|
-
"6xl" = "6xl",
|
|
14
|
-
"7xl" = "7xl",
|
|
15
|
-
"8xl" = "8xl",
|
|
16
|
-
"9xl" = "9xl"
|
|
17
|
-
}
|
|
18
|
-
export declare enum BaseColor {
|
|
19
|
-
warning = "warning",
|
|
20
|
-
error = "error",
|
|
21
|
-
info = "info",
|
|
22
|
-
success = "success",
|
|
23
|
-
primary = "primary",
|
|
24
|
-
brand = "brand",
|
|
25
|
-
default = "default"
|
|
26
|
-
}
|
|
1
|
+
import { Size, BaseColor } from './types';
|
|
27
2
|
export declare const fullConfig: any;
|
|
28
3
|
export declare const TextSizes: any;
|
|
29
4
|
export declare const Colors: any;
|
|
30
5
|
export declare const BadgeSizes: readonly [Size.dot, Size.xs, Size.sm, Size.md, Size.lg, Size.xl];
|
|
31
|
-
export type TBadgeSize = (typeof BadgeSizes)[number];
|
|
32
6
|
export declare const AvatarSizes: readonly [Size.xs, Size.sm, Size.md, Size.lg, Size.xl, (typeof Size)["2xl"]];
|
|
33
|
-
export type TAvatarSize = (typeof AvatarSizes)[number];
|
|
34
7
|
export declare const IconSizes: readonly [Size.xs, Size.sm, Size.md, Size.md, 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
|
-
export type TIconSize = (typeof IconSizes)[number];
|
|
36
8
|
export declare const BadgeColors: readonly [BaseColor.warning, BaseColor.error, BaseColor.info, BaseColor.success, BaseColor.primary, BaseColor.default];
|
|
37
|
-
export type TBadgeColor = (typeof BadgeColors)[number];
|
|
38
|
-
export type TailwindColorClass = string;
|
|
39
9
|
declare const _default: {};
|
|
40
10
|
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { BadgeSizes, AvatarSizes, IconSizes, BadgeColors } from './constants';
|
|
2
|
+
export declare enum Size {
|
|
3
|
+
dot = "dot",
|
|
4
|
+
xs = "xs",
|
|
5
|
+
sm = "sm",
|
|
6
|
+
md = "base",
|
|
7
|
+
base = "base",
|
|
8
|
+
lg = "lg",
|
|
9
|
+
xl = "xl",
|
|
10
|
+
"2xl" = "2xl",
|
|
11
|
+
"3xl" = "3xl",
|
|
12
|
+
"4xl" = "4xl",
|
|
13
|
+
"5xl" = "5xl",
|
|
14
|
+
"6xl" = "6xl",
|
|
15
|
+
"7xl" = "7xl",
|
|
16
|
+
"8xl" = "8xl",
|
|
17
|
+
"9xl" = "9xl"
|
|
18
|
+
}
|
|
19
|
+
export declare enum BaseColor {
|
|
20
|
+
warning = "warning",
|
|
21
|
+
error = "error",
|
|
22
|
+
info = "info",
|
|
23
|
+
success = "success",
|
|
24
|
+
primary = "primary",
|
|
25
|
+
brand = "brand",
|
|
26
|
+
default = "default"
|
|
27
|
+
}
|
|
28
|
+
export type TBadgeSize = (typeof BadgeSizes)[number];
|
|
29
|
+
export type TAvatarSize = (typeof AvatarSizes)[number];
|
|
30
|
+
export type TIconSize = (typeof IconSizes)[number];
|
|
31
|
+
export type TBadgeColor = (typeof BadgeColors)[number];
|
|
32
|
+
export type TailwindColorClass = string;
|
|
33
|
+
declare const _default: {};
|
|
34
|
+
export default _default;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.e-spinner__primary[data-v-
|
|
1
|
+
.e-spinner__primary[data-v-0709f263],.e-spinner__secondary[data-v-0709f263]{stroke-width:0;animation:fade-0709f263;animation-iteration-count:infinite}@keyframes fade-0709f263{0%{fill-opacity:0}50%{fill-opacity:1}to{fill-opacity:0}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evercam/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Evercam - Constuction Cameras",
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"require": "./dist/index.umd.js"
|
|
19
19
|
},
|
|
20
20
|
"./style.css": "./dist/style.css",
|
|
21
|
-
"./styles.css": "./dist/styles.css"
|
|
21
|
+
"./styles.css": "./dist/styles.css",
|
|
22
|
+
"./types": "./dist/src/types.ts",
|
|
23
|
+
"./constants": "./dist/src/constants.ts"
|
|
22
24
|
},
|
|
23
25
|
"files": [
|
|
24
26
|
"dist"
|