@devix-tecnologia/timeline-vue 1.1.0 → 1.1.2
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 +50 -35
- package/dist/style.css +1 -1
- package/dist/timeline-vue.es.js +166 -176
- package/dist/types/components/timeline/moleculas/PerfilTimeline.vue.d.ts +0 -1
- package/dist/types/components/timeline/organismos/Timeline.vue.d.ts +1 -0
- package/package.json +2 -2
- package/src/assets/vue.svg +0 -1
- package/src/components/timeline/atomos/AvatarTimeline.stories.ts +0 -32
- package/src/components/timeline/atomos/AvatarTimeline.vue +0 -51
- package/src/components/timeline/atomos/BoxData.stories.ts +0 -41
- package/src/components/timeline/atomos/BoxData.vue +0 -57
- package/src/components/timeline/atomos/Destaque.stories.ts +0 -24
- package/src/components/timeline/atomos/Destaque.vue +0 -39
- package/src/components/timeline/atomos/Hora.stories.ts +0 -36
- package/src/components/timeline/atomos/Hora.vue +0 -50
- package/src/components/timeline/atomos/IconeCategoria.stories.ts +0 -60
- package/src/components/timeline/atomos/IconeCategoria.vue +0 -110
- package/src/components/timeline/atomos/IconeStatus.stories.ts +0 -38
- package/src/components/timeline/atomos/IconeStatus.vue +0 -73
- package/src/components/timeline/atomos/SubtituloEvento.stories.ts +0 -24
- package/src/components/timeline/atomos/SubtituloEvento.vue +0 -33
- package/src/components/timeline/atomos/TituloEvento.stories.ts +0 -24
- package/src/components/timeline/atomos/TituloEvento.vue +0 -32
- package/src/components/timeline/index.ts +0 -7
- package/src/components/timeline/moleculas/DescricaoEvento.stories.ts +0 -31
- package/src/components/timeline/moleculas/DescricaoEvento.vue +0 -59
- package/src/components/timeline/moleculas/EventoTimeline.stories.ts +0 -94
- package/src/components/timeline/moleculas/EventoTimeline.vue +0 -158
- package/src/components/timeline/moleculas/HoraEvento.stories.ts +0 -37
- package/src/components/timeline/moleculas/HoraEvento.vue +0 -74
- package/src/components/timeline/moleculas/PerfilTimeline.stories.ts +0 -40
- package/src/components/timeline/moleculas/PerfilTimeline.vue +0 -102
- package/src/components/timeline/moleculas/SeparadorPeriodo.stories.ts +0 -42
- package/src/components/timeline/moleculas/SeparadorPeriodo.vue +0 -100
- package/src/components/timeline/moleculas/Topo.vue +0 -38
- package/src/components/timeline/organismos/Timeline.mock.ts +0 -311
- package/src/components/timeline/organismos/Timeline.stories.ts +0 -48
- package/src/components/timeline/organismos/Timeline.vue +0 -212
- package/src/components/timeline/type.ts +0 -34
- package/src/global.css +0 -98
- package/src/index.ts +0 -16
- package/src/vite-env.d.ts +0 -1
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export type Perfil = {
|
|
2
|
-
nome: string;
|
|
3
|
-
imagem: string | null;
|
|
4
|
-
icone: string | null;
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
export type Categoria = {
|
|
8
|
-
nome: string;
|
|
9
|
-
icone: string;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export type Evento = {
|
|
13
|
-
id: string;
|
|
14
|
-
data: Date;
|
|
15
|
-
previsto: Date;
|
|
16
|
-
duracao: number | null;
|
|
17
|
-
realizado: Date | null;
|
|
18
|
-
tolerancia: number;
|
|
19
|
-
titulo: string;
|
|
20
|
-
subtitulo: string;
|
|
21
|
-
destaque: string;
|
|
22
|
-
categoria: Categoria;
|
|
23
|
-
status:
|
|
24
|
-
| "atrasado"
|
|
25
|
-
| "adiantado"
|
|
26
|
-
| "adiado"
|
|
27
|
-
| "realizado"
|
|
28
|
-
| "planejado"
|
|
29
|
-
| "cancelado";
|
|
30
|
-
criticidade: "baixa" | "media" | "alta";
|
|
31
|
-
aoCLicar?: VoidFunction;
|
|
32
|
-
atual: boolean;
|
|
33
|
-
scroll: boolean;
|
|
34
|
-
};
|
package/src/global.css
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/* GERAIS */
|
|
2
|
-
* {
|
|
3
|
-
margin: 0;
|
|
4
|
-
padding: 0;
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
-webkit-font-smoothing: antialiased;
|
|
7
|
-
-moz-osx-font-smoothing: grayscale;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
*:focus {
|
|
11
|
-
outline: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
:root {
|
|
15
|
-
--fonte: 'Work Sans', sans-serif;
|
|
16
|
-
font-size: 62.5%;
|
|
17
|
-
|
|
18
|
-
--cor-primaria: #00e01d;
|
|
19
|
-
--cor-secundaria: #1b2f39;
|
|
20
|
-
--cor-terciaria: #ebf1f2;
|
|
21
|
-
|
|
22
|
-
--cor-fundo: #fff;
|
|
23
|
-
|
|
24
|
-
--cor-selecao: #ccf9d2;
|
|
25
|
-
--cor-texto-selecao: #1b2f39;
|
|
26
|
-
--cor-texto: #1b2f39;
|
|
27
|
-
|
|
28
|
-
--cor-apoio: #57676f;
|
|
29
|
-
--cor-linha: #e9eaeb;
|
|
30
|
-
|
|
31
|
-
--cor-importante: #bb0202;
|
|
32
|
-
--cor-alerta: #f0cc0d;
|
|
33
|
-
--cor-sucesso: #00a816;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
:root .tema-escuro {
|
|
38
|
-
--fonte: 'Work Sans', sans-serif;
|
|
39
|
-
font-size: 62.5%;
|
|
40
|
-
|
|
41
|
-
--cor-primaria: #00e01d;
|
|
42
|
-
--cor-secundaria: #ebf1f2;
|
|
43
|
-
--cor-terciaria: #1b2f39;
|
|
44
|
-
|
|
45
|
-
--cor-fundo: #1b2f39;
|
|
46
|
-
|
|
47
|
-
--cor-selecao: #ccf9d2;
|
|
48
|
-
--cor-texto-selecao: #1b2f39;
|
|
49
|
-
--cor-texto: #f9f9f9;
|
|
50
|
-
|
|
51
|
-
--cor-apoio: #57676f;
|
|
52
|
-
--cor-linha: #e9eaeb;
|
|
53
|
-
|
|
54
|
-
--cor-importante: #bb0202;
|
|
55
|
-
--cor-alerta: #f0cc0d;
|
|
56
|
-
--cor-sucesso: #00a816;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
body {
|
|
60
|
-
font-family: var(--fonte);
|
|
61
|
-
font-size: 1.6rem;
|
|
62
|
-
font-weight: 300;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
h1 {
|
|
66
|
-
font-size: 2.4rem;
|
|
67
|
-
font-weight: 600;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
h2 {
|
|
71
|
-
font-size: 1.8rem;
|
|
72
|
-
font-weight: 600;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
h3 {
|
|
76
|
-
font-size: 1.4rem;
|
|
77
|
-
font-weight: 600;
|
|
78
|
-
margin: 0;
|
|
79
|
-
padding: 0;
|
|
80
|
-
line-height: 1em;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
h4 {
|
|
84
|
-
font-size: 1.2rem;
|
|
85
|
-
font-weight: 300;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.texto-pequeno {
|
|
89
|
-
font-size: 1rem;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.texto-medio {
|
|
93
|
-
font-size: 1.2rem;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.texto-grande {
|
|
97
|
-
font-size: 1.4rem;
|
|
98
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Plugin } from "vue";
|
|
2
|
-
import * as components from "./components/timeline";
|
|
3
|
-
import "./global.css";
|
|
4
|
-
|
|
5
|
-
const Timeline: Plugin = {
|
|
6
|
-
install(app, ...options) {
|
|
7
|
-
for (const key in components) {
|
|
8
|
-
// @ts-expect-error
|
|
9
|
-
app.component(key, components[key]);
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export default Timeline;
|
|
15
|
-
|
|
16
|
-
export * from "./components/timeline";
|
package/src/vite-env.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|