@evercam/ui 0.0.32 → 0.0.34
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 +47 -47
- package/dist/attributes.json +1 -1
- package/dist/index.mjs +181 -150
- 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/EVideoPlayer.vue.d.ts +7 -5
- package/dist/src/directives/index.d.ts +6 -0
- package/dist/src/directives/resize-observer.d.ts +6 -0
- package/dist/src/index.d.ts +6 -3
- package/dist/style.css +1 -1
- package/dist/styles.css +3146 -3101
- package/dist/web-types.json +15 -2
- package/package.json +71 -71
package/README.md
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
## Evercam UI
|
|
2
|
-
|
|
3
|
-
### Description
|
|
4
|
-
Components libray for the [Evercam](https://evercam.io) frontends.
|
|
5
|
-
|
|
6
|
-
### Installation
|
|
7
|
-
|
|
8
|
-
1- Install the package
|
|
9
|
-
|
|
10
|
-
`yarn add @evercam/ui`
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
2- Use the components in a Vue app by either:
|
|
14
|
-
|
|
15
|
-
- Installing the library globally as a Vue plugin:
|
|
16
|
-
|
|
17
|
-
```javascript
|
|
18
|
-
import Vue from "vue"
|
|
19
|
-
import EvercamUI from "@evercam/ui"
|
|
20
|
-
|
|
21
|
-
Vue.use(EvercamUI)
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
- Or importing components individually:
|
|
25
|
-
|
|
26
|
-
```vue
|
|
27
|
-
<template>
|
|
28
|
-
<EBadge text="Hello world" color="success" />
|
|
29
|
-
</template>
|
|
30
|
-
|
|
31
|
-
<script>
|
|
32
|
-
import { EBadge } from "@evercam/ui"
|
|
33
|
-
|
|
34
|
-
export default {
|
|
35
|
-
components: {
|
|
36
|
-
EBadge,
|
|
37
|
-
},
|
|
38
|
-
}
|
|
39
|
-
</script>
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
### Dev mode
|
|
43
|
-
|
|
44
|
-
You can preview the components and their stories by running the [Histoire](https://histoire.dev) sever:
|
|
45
|
-
|
|
46
|
-
`yarn story:dev`
|
|
47
|
-
|
|
1
|
+
## Evercam UI
|
|
2
|
+
|
|
3
|
+
### Description
|
|
4
|
+
Components libray for the [Evercam](https://evercam.io) frontends.
|
|
5
|
+
|
|
6
|
+
### Installation
|
|
7
|
+
|
|
8
|
+
1- Install the package
|
|
9
|
+
|
|
10
|
+
`yarn add @evercam/ui`
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
2- Use the components in a Vue app by either:
|
|
14
|
+
|
|
15
|
+
- Installing the library globally as a Vue plugin:
|
|
16
|
+
|
|
17
|
+
```javascript
|
|
18
|
+
import Vue from "vue"
|
|
19
|
+
import EvercamUI from "@evercam/ui"
|
|
20
|
+
|
|
21
|
+
Vue.use(EvercamUI)
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
- Or importing components individually:
|
|
25
|
+
|
|
26
|
+
```vue
|
|
27
|
+
<template>
|
|
28
|
+
<EBadge text="Hello world" color="success" />
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
import { EBadge } from "@evercam/ui"
|
|
33
|
+
|
|
34
|
+
export default {
|
|
35
|
+
components: {
|
|
36
|
+
EBadge,
|
|
37
|
+
},
|
|
38
|
+
}
|
|
39
|
+
</script>
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Dev mode
|
|
43
|
+
|
|
44
|
+
You can preview the components and their stories by running the [Histoire](https://histoire.dev) sever:
|
|
45
|
+
|
|
46
|
+
`yarn story:dev`
|
|
47
|
+
|