teraprox-ui-kit 0.1.5 → 0.1.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/package.json +5 -1
- package/dist/index.css +0 -152
- package/dist/index.js +0 -2259
- package/dist/index.mjs +0 -2198
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "teraprox-ui-kit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Componentes visuais compartilhados entre módulos federados TeraproX",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"react-dropzone": ">=14.0.0",
|
|
36
36
|
"react-color": ">=2.0.0",
|
|
37
37
|
"recharts": ">=2.0.0",
|
|
38
|
+
"react-google-charts": ">=4.0.0",
|
|
38
39
|
"qr-scanner": ">=1.0.0",
|
|
39
40
|
"qrcode": ">=1.0.0",
|
|
40
41
|
"react-qr-code": ">=2.0.0",
|
|
@@ -70,6 +71,9 @@
|
|
|
70
71
|
},
|
|
71
72
|
"dayjs": {
|
|
72
73
|
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"react-google-charts": {
|
|
76
|
+
"optional": true
|
|
73
77
|
}
|
|
74
78
|
},
|
|
75
79
|
"devDependencies": {
|
package/dist/index.css
DELETED
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
/* src/styles/LoadingButton.css */
|
|
2
|
-
.loading-button {
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
gap: 0.5rem;
|
|
7
|
-
}
|
|
8
|
-
.align-items-center {
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/* src/styles/SwitchOnClick.css */
|
|
15
|
-
.switch-on-click-container {
|
|
16
|
-
position: relative;
|
|
17
|
-
}
|
|
18
|
-
.close-icon {
|
|
19
|
-
position: absolute;
|
|
20
|
-
top: 0;
|
|
21
|
-
right: 0;
|
|
22
|
-
padding: 5px;
|
|
23
|
-
font-size: 1.2rem;
|
|
24
|
-
color: #999;
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
opacity: 0.7;
|
|
27
|
-
transition: opacity 0.2s;
|
|
28
|
-
z-index: 10;
|
|
29
|
-
}
|
|
30
|
-
.close-icon:hover {
|
|
31
|
-
opacity: 1;
|
|
32
|
-
}
|
|
33
|
-
.zoom-container {
|
|
34
|
-
transition: transform 0.2s;
|
|
35
|
-
}
|
|
36
|
-
.zoom-container:hover {
|
|
37
|
-
transform: scale(1.1);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
/* src/styles/StatusIndicator.css */
|
|
41
|
-
.status-flag {
|
|
42
|
-
border-radius: 8px;
|
|
43
|
-
padding: 16px;
|
|
44
|
-
color: white;
|
|
45
|
-
text-align: center;
|
|
46
|
-
margin-bottom: 16px;
|
|
47
|
-
font-weight: bold;
|
|
48
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
49
|
-
transition: transform 0.2s ease;
|
|
50
|
-
}
|
|
51
|
-
.status-flag:hover {
|
|
52
|
-
transform: scale(1.03);
|
|
53
|
-
}
|
|
54
|
-
.status-label {
|
|
55
|
-
font-size: 14px;
|
|
56
|
-
margin-bottom: 8px;
|
|
57
|
-
text-transform: uppercase;
|
|
58
|
-
}
|
|
59
|
-
.status-count {
|
|
60
|
-
font-size: 24px;
|
|
61
|
-
}
|
|
62
|
-
.status-flag.pendente {
|
|
63
|
-
background-color: #fbc02d;
|
|
64
|
-
color: #333;
|
|
65
|
-
}
|
|
66
|
-
.status-flag.executando {
|
|
67
|
-
background-color: #43a047;
|
|
68
|
-
}
|
|
69
|
-
.status-flag.concluido {
|
|
70
|
-
background-color: #9e9e9e;
|
|
71
|
-
}
|
|
72
|
-
.status-flag.canceled {
|
|
73
|
-
background-color: #e53935;
|
|
74
|
-
}
|
|
75
|
-
.status-flag.naoAtribuida {
|
|
76
|
-
background-color: #35cbe5;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/* src/styles/UploadArea.css */
|
|
80
|
-
.upload-area {
|
|
81
|
-
border: 3px dashed #ccc;
|
|
82
|
-
border-radius: 8px;
|
|
83
|
-
padding: 20px;
|
|
84
|
-
text-align: center;
|
|
85
|
-
cursor: pointer;
|
|
86
|
-
transition: border-color 0.3s ease, background-color 0.3s ease;
|
|
87
|
-
background-color: #fafafa;
|
|
88
|
-
}
|
|
89
|
-
.upload-area:hover {
|
|
90
|
-
border-color: #339af0;
|
|
91
|
-
}
|
|
92
|
-
.upload-area.drag-active {
|
|
93
|
-
border-color: #339af0;
|
|
94
|
-
background-color: #e7f5ff;
|
|
95
|
-
}
|
|
96
|
-
.upload-area.upload-has-file {
|
|
97
|
-
border-color: #51cf66;
|
|
98
|
-
background-color: #ebfbee;
|
|
99
|
-
}
|
|
100
|
-
.upload-content {
|
|
101
|
-
display: flex;
|
|
102
|
-
flex-direction: column;
|
|
103
|
-
align-items: center;
|
|
104
|
-
justify-content: center;
|
|
105
|
-
gap: 8px;
|
|
106
|
-
}
|
|
107
|
-
.upload-icon {
|
|
108
|
-
color: #339af0;
|
|
109
|
-
}
|
|
110
|
-
.upload-area.upload-has-file .upload-icon {
|
|
111
|
-
color: #51cf66;
|
|
112
|
-
}
|
|
113
|
-
.upload-link {
|
|
114
|
-
color: #339af0;
|
|
115
|
-
text-decoration: underline;
|
|
116
|
-
cursor: pointer;
|
|
117
|
-
}
|
|
118
|
-
.upload-area.upload-has-file .upload-link {
|
|
119
|
-
color: #51cf66;
|
|
120
|
-
text-decoration: none;
|
|
121
|
-
}
|
|
122
|
-
.upload-info {
|
|
123
|
-
color: #666;
|
|
124
|
-
font-size: 0.9rem;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/* src/styles/IconLabelList.css */
|
|
128
|
-
.icon-label-list {
|
|
129
|
-
display: flex;
|
|
130
|
-
flex-direction: row;
|
|
131
|
-
flex-wrap: wrap;
|
|
132
|
-
gap: 1.5rem;
|
|
133
|
-
padding: 1rem;
|
|
134
|
-
}
|
|
135
|
-
.icon-label-item {
|
|
136
|
-
display: flex;
|
|
137
|
-
flex-direction: column;
|
|
138
|
-
align-items: center;
|
|
139
|
-
justify-content: center;
|
|
140
|
-
width: 80px;
|
|
141
|
-
cursor: pointer;
|
|
142
|
-
transition: opacity 0.2s;
|
|
143
|
-
}
|
|
144
|
-
.icon-label-item:hover {
|
|
145
|
-
opacity: 0.8;
|
|
146
|
-
}
|
|
147
|
-
.icon-label-item .icon-label {
|
|
148
|
-
margin-top: 0.5rem;
|
|
149
|
-
font-size: 0.85rem;
|
|
150
|
-
color: #495057;
|
|
151
|
-
text-align: center;
|
|
152
|
-
}
|