@omniumretail/component-library 1.2.44 → 1.2.45
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/bundle.js +1 -1
- package/dist/main.css +2 -1
- package/dist/types/components/Footer2/Footer.stories.d.ts +5 -0
- package/dist/types/components/Footer2/index.d.ts +38 -0
- package/dist/types/components/index.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/BellNotifications/BellNotifications.stories.tsx +14 -0
- package/src/components/BellNotifications/index.tsx +2 -3
- package/src/components/BellNotifications/styles.module.scss +11 -6
- package/src/components/Footer2/Footer.stories.tsx +198 -0
- package/src/components/Footer2/index.tsx +209 -0
- package/src/components/Footer2/styles.module.scss +122 -0
- package/src/components/index.tsx +1 -0
- package/src/locales/en.json +8 -1
- package/src/locales/es.json +8 -1
- package/src/locales/pt.json +9 -2
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
.mobileFooter {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-between;
|
|
4
|
+
align-items: center;
|
|
5
|
+
position: fixed;
|
|
6
|
+
bottom: 10px;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 60px;
|
|
9
|
+
padding: 0 10px;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
z-index: 10;
|
|
12
|
+
|
|
13
|
+
.navItem {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
flex: 1;
|
|
19
|
+
|
|
20
|
+
.navIcon {
|
|
21
|
+
font-size: 26px;
|
|
22
|
+
color: #0033a0;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.navText {
|
|
27
|
+
font-size: 12px;
|
|
28
|
+
margin-top: 4px;
|
|
29
|
+
color: #0033a0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.addButtonContainer {
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
flex: 1;
|
|
37
|
+
|
|
38
|
+
.addButton {
|
|
39
|
+
display: flex;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
align-items: center;
|
|
42
|
+
width: 50px;
|
|
43
|
+
height: 50px;
|
|
44
|
+
background-color: #0033a0;
|
|
45
|
+
border-radius: 8px;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
|
|
48
|
+
.addIcon {
|
|
49
|
+
font-size: 20px;
|
|
50
|
+
color: white;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.notificationContainer {
|
|
56
|
+
position: relative;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.rotateIcon {
|
|
61
|
+
transform: rotate(45deg);
|
|
62
|
+
transition: transform 0.3s ease;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.circularMenu {
|
|
66
|
+
position: absolute;
|
|
67
|
+
bottom: 70px;
|
|
68
|
+
width: 180px;
|
|
69
|
+
left: 50%;
|
|
70
|
+
transform: translateX(-50%);
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
align-items: center;
|
|
74
|
+
gap: 12px;
|
|
75
|
+
z-index: 999;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.circleMenuItem {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
background-color: white;
|
|
82
|
+
padding: 8px 16px;
|
|
83
|
+
border-radius: 20px;
|
|
84
|
+
box-shadow: 0 4px 12px rgba(0, 51, 160, 0.5);
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
transition: all 0.2s ease;
|
|
87
|
+
animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
88
|
+
|
|
89
|
+
&:hover {
|
|
90
|
+
transform: translateY(-2px);
|
|
91
|
+
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@keyframes popIn {
|
|
96
|
+
from {
|
|
97
|
+
opacity: 0;
|
|
98
|
+
transform: scale(0.8) translateY(10px);
|
|
99
|
+
}
|
|
100
|
+
to {
|
|
101
|
+
opacity: 1;
|
|
102
|
+
transform: scale(1) translateY(0);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.circleMenuIcon {
|
|
107
|
+
width: 28px;
|
|
108
|
+
height: 28px;
|
|
109
|
+
border-radius: 50%;
|
|
110
|
+
background-color: #f3f4f6;
|
|
111
|
+
display: flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
justify-content: center;
|
|
114
|
+
margin-right: 10px;
|
|
115
|
+
color: #4b5563;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.circleMenuLabel {
|
|
119
|
+
font-size: 14px;
|
|
120
|
+
font-weight: 500;
|
|
121
|
+
color: #374151;
|
|
122
|
+
}
|
package/src/components/index.tsx
CHANGED
package/src/locales/en.json
CHANGED
|
@@ -30,7 +30,14 @@
|
|
|
30
30
|
"back": "Back",
|
|
31
31
|
"logout": "Logout",
|
|
32
32
|
"home": "Home",
|
|
33
|
-
"profile": "Profile"
|
|
33
|
+
"profile": "Profile",
|
|
34
|
+
"notifications": "Notifications",
|
|
35
|
+
"create": "Create",
|
|
36
|
+
"delete": "Delete",
|
|
37
|
+
"edit": "Edit",
|
|
38
|
+
"export": "Export",
|
|
39
|
+
"print": "Print",
|
|
40
|
+
"update": "Update"
|
|
34
41
|
},
|
|
35
42
|
"actions": {
|
|
36
43
|
"one": "One",
|
package/src/locales/es.json
CHANGED
|
@@ -30,7 +30,14 @@
|
|
|
30
30
|
"back": "Atrás",
|
|
31
31
|
"logout": "Cerrar Sesión",
|
|
32
32
|
"home": "Inicio",
|
|
33
|
-
"profile": "Perfil"
|
|
33
|
+
"profile": "Perfil",
|
|
34
|
+
"notifications": "Notificaciones",
|
|
35
|
+
"create": "Crear",
|
|
36
|
+
"delete": "Eliminar",
|
|
37
|
+
"edit": "Editar",
|
|
38
|
+
"export": "Exportar",
|
|
39
|
+
"print": "Imprimir",
|
|
40
|
+
"update": "Actualizar"
|
|
34
41
|
},
|
|
35
42
|
"actions": {
|
|
36
43
|
"one": "Uno",
|
package/src/locales/pt.json
CHANGED
|
@@ -27,10 +27,17 @@
|
|
|
27
27
|
"Comments": "Comentários"
|
|
28
28
|
},
|
|
29
29
|
"navigation": {
|
|
30
|
-
"back": "Voltar
|
|
30
|
+
"back": "Voltar",
|
|
31
31
|
"logout": "Terminar Sessão",
|
|
32
32
|
"home": "Início",
|
|
33
|
-
"profile": "Perfil"
|
|
33
|
+
"profile": "Perfil",
|
|
34
|
+
"notifications": "Notificações",
|
|
35
|
+
"create": "Criar",
|
|
36
|
+
"delete": "Apagar",
|
|
37
|
+
"edit": "Editar",
|
|
38
|
+
"export": "Exportar",
|
|
39
|
+
"print": "Imprimir",
|
|
40
|
+
"update": "Atualizar"
|
|
34
41
|
},
|
|
35
42
|
"actions": {
|
|
36
43
|
"one": "um",
|