@onpe/ui 1.2.44 → 1.2.46
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/components.css +303 -0
- package/dist/components.d.ts +16 -2
- package/dist/components.esm.css +303 -0
- package/dist/components.esm.js +23 -1
- package/dist/components.js +23 -1
- package/dist/icons/Actions/IconMobileNfc/index.d.ts +0 -1
- package/dist/icons/ONPE/index.d.ts +0 -1
- package/dist/icons.d.ts +6 -2
- package/dist/index.css +303 -0
- package/dist/index.d.ts +26 -4
- package/dist/index.esm.css +303 -0
- package/dist/index.esm.js +28 -5
- package/dist/index.js +28 -5
- package/package.json +1 -1
package/dist/icons.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ export { IconWarning } from "./icons/Actions/IconWarning/IconWarning";
|
|
|
3
3
|
export { IconCheck } from "./icons/Actions/IconCheck/IconCheck";
|
|
4
4
|
export { IconSpinnerDesktop } from "./icons/Actions/IconSpinnerDesktop/IconSpinnerDesktop";
|
|
5
5
|
export { IconSpinnerMobile } from "./icons/Actions/IconSpinnerMobile/IconSpinnerMobile";
|
|
6
|
-
export {
|
|
6
|
+
export { IconHome } from "./icons/Actions/IconHome/IconHome";
|
|
7
|
+
export { IconMobileNfc } from "./icons/Actions/IconMobileNfc/IconMobileNfc";
|
|
7
8
|
export { IconChromeColor } from "./icons/Browsers/IconChromeColor/IconChromeColor";
|
|
8
9
|
export { IconChrome } from "./icons/Browsers/IconChrome/IconChrome";
|
|
9
10
|
export { IconSafariColor } from "./icons/Browsers/IconSafariColor/IconSafariColor";
|
|
@@ -17,5 +18,8 @@ export { IconAndroid } from "./icons/OperatingSystems/IconAndroid/IconAndroid";
|
|
|
17
18
|
export { IconApple } from "./icons/OperatingSystems/IconApple/IconApple";
|
|
18
19
|
export { IconVotoDigital } from "./icons/ONPE/IconVotoDigital/IconVotoDigital";
|
|
19
20
|
export { IconElectionsGeneral } from "./icons/ONPE/IconElectionsGeneral/IconElectionsGeneral";
|
|
20
|
-
export {
|
|
21
|
+
export { IconDnie1 } from "./icons/ONPE/IconDnie1/IconDnie1";
|
|
22
|
+
export { IconDnie2 } from "./icons/ONPE/IconDnie2/IconDnie2";
|
|
23
|
+
export { IconDnie3 } from "./icons/ONPE/IconDnie3/IconDnie3";
|
|
24
|
+
export { IconNfc } from "./icons/ONPE/IconNfc/IconNfc";
|
|
21
25
|
//# sourceMappingURL=icons.d.ts.map
|
package/dist/index.css
CHANGED
|
@@ -928,3 +928,306 @@ body.onpe-modal-open {
|
|
|
928
928
|
display: none;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
+
|
|
932
|
+
/* ModalDnieVersions Component Styles */
|
|
933
|
+
.onpe-modal-dnie-versions-container {
|
|
934
|
+
/* Solo contenido - el espaciado lo maneja el Modal base */
|
|
935
|
+
width: 100%;
|
|
936
|
+
max-width: 590px !important; /* Tamaño específico para este modal */
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
.onpe-modal-dnie-versions-title {
|
|
940
|
+
text-align: center;
|
|
941
|
+
color: var(--onpe-ui-blue);
|
|
942
|
+
font-weight: 700; /* font-bold */
|
|
943
|
+
margin-bottom: 8px; /* mb-2 */
|
|
944
|
+
font-size: 18px; /* text-lg */
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.onpe-modal-dnie-versions-content {
|
|
948
|
+
display: flex;
|
|
949
|
+
flex-direction: column;
|
|
950
|
+
gap: 40px; /* gap-10 */
|
|
951
|
+
align-items: center;
|
|
952
|
+
margin-top: 28px; /* mt-7 */
|
|
953
|
+
font-size: 14px; /* text-sm */
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
.onpe-modal-dnie-versions-article {
|
|
957
|
+
display: flex;
|
|
958
|
+
flex-direction: column;
|
|
959
|
+
align-items: center;
|
|
960
|
+
gap: 40px; /* gap-10 */
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
.onpe-modal-dnie-versions-text {
|
|
964
|
+
flex: 1;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
.onpe-modal-dnie-versions-subtitle {
|
|
968
|
+
flex: 1;
|
|
969
|
+
margin-bottom: 16px; /* mb-4 */
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
.onpe-modal-dnie-versions-bold {
|
|
973
|
+
font-weight: 700; /* font-bold */
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
.onpe-modal-dnie-versions-list {
|
|
977
|
+
font-size: 14px; /* text-sm */
|
|
978
|
+
list-style-type: disc;
|
|
979
|
+
text-align: justify;
|
|
980
|
+
align-self: flex-start;
|
|
981
|
+
padding-left: 20px; /* pl-5 */
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.onpe-modal-dnie-versions-list li {
|
|
985
|
+
margin-bottom: 8px; /* mb-2 */
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
.onpe-modal-dnie-versions-image-container {
|
|
989
|
+
width: 240px;
|
|
990
|
+
position: relative;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.onpe-modal-dnie-versions-image-container-double {
|
|
994
|
+
height: 181px;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.onpe-modal-dnie-versions-image {
|
|
998
|
+
width: 200px;
|
|
999
|
+
height: 117px;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
.onpe-modal-dnie-versions-image-overlay {
|
|
1003
|
+
position: absolute;
|
|
1004
|
+
bottom: 0;
|
|
1005
|
+
right: 0;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
/* Estilos específicos para móvil */
|
|
1009
|
+
@media (max-width: 640px) {
|
|
1010
|
+
.onpe-modal-dnie-versions-title {
|
|
1011
|
+
font-size: 16px; /* text-base para móvil */
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
.onpe-modal-dnie-versions-content {
|
|
1015
|
+
gap: 32px; /* gap-8 para móvil */
|
|
1016
|
+
margin-top: 24px; /* mt-6 para móvil */
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.onpe-modal-dnie-versions-article {
|
|
1020
|
+
gap: 32px; /* gap-8 para móvil */
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.onpe-modal-dnie-versions-image-container {
|
|
1024
|
+
width: 200px; /* Más pequeño en móvil */
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.onpe-modal-dnie-versions-image {
|
|
1028
|
+
width: 180px; /* Más pequeño en móvil */
|
|
1029
|
+
height: 105px; /* Más pequeño en móvil */
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
/* Responsive Design */
|
|
1034
|
+
@media (min-width: 640px) {
|
|
1035
|
+
.onpe-modal-dnie-versions-title {
|
|
1036
|
+
font-size: 20px; /* text-xl para tablet y desktop */
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
.onpe-modal-dnie-versions-content {
|
|
1040
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.onpe-modal-dnie-versions-list {
|
|
1044
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
@media (min-width: 768px) {
|
|
1049
|
+
.onpe-modal-dnie-versions-container {
|
|
1050
|
+
/* Desktop: Tamaño específico de 590px */
|
|
1051
|
+
max-width: 590px !important;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.onpe-modal-dnie-versions-article {
|
|
1055
|
+
flex-direction: row; /* md:flex-row */
|
|
1056
|
+
align-items: flex-start; /* md:items-start */
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
.onpe-modal-dnie-versions-article:last-child {
|
|
1060
|
+
gap: 52px; /* gap-13 para desktop */
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
@media (min-width: 1024px) {
|
|
1065
|
+
.onpe-modal-dnie-versions-container {
|
|
1066
|
+
/* Desktop grande: Tamaño específico de 590px */
|
|
1067
|
+
max-width: 590px !important;
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
/* ModalNfc Component Styles */
|
|
1072
|
+
.onpe-modal-nfc-container {
|
|
1073
|
+
/* Solo contenido - el espaciado lo maneja el Modal base */
|
|
1074
|
+
width: 100%;
|
|
1075
|
+
max-width: 600px !important; /* Tamaño específico para este modal */
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
.onpe-modal-nfc-title {
|
|
1079
|
+
text-align: center;
|
|
1080
|
+
color: var(--onpe-ui-blue);
|
|
1081
|
+
font-weight: 700; /* font-bold */
|
|
1082
|
+
font-size: 18px; /* text-lg */
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.onpe-modal-nfc-content {
|
|
1086
|
+
display: flex;
|
|
1087
|
+
flex-direction: column;
|
|
1088
|
+
gap: 24px; /* gap-6 */
|
|
1089
|
+
align-items: center;
|
|
1090
|
+
margin-top: 32px; /* mt-8 */
|
|
1091
|
+
font-size: 14px; /* text-sm */
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.onpe-modal-nfc-section {
|
|
1095
|
+
width: 100%;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
.onpe-modal-nfc-step {
|
|
1099
|
+
font-size: 14px; /* text-sm */
|
|
1100
|
+
text-align: justify;
|
|
1101
|
+
margin-bottom: 12px; /* mb-3 */
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
.onpe-modal-nfc-step-number {
|
|
1105
|
+
margin-right: 4px; /* mr-1 */
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
.onpe-modal-nfc-list {
|
|
1109
|
+
list-style-type: disc;
|
|
1110
|
+
padding-left: 16px; /* pl-4 */
|
|
1111
|
+
margin-top: 8px; /* space-y-2 */
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
.onpe-modal-nfc-list-item {
|
|
1115
|
+
font-size: 14px; /* text-sm */
|
|
1116
|
+
text-align: justify;
|
|
1117
|
+
margin-bottom: 8px; /* space-y-2 */
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.onpe-modal-nfc-image {
|
|
1121
|
+
-o-object-fit: contain;
|
|
1122
|
+
object-fit: contain;
|
|
1123
|
+
width: 273px;
|
|
1124
|
+
height: 348px;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
.onpe-modal-nfc-text {
|
|
1128
|
+
text-align: justify;
|
|
1129
|
+
margin-top: 8px; /* mt-2 */
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.onpe-modal-nfc-subtitle {
|
|
1133
|
+
text-align: center;
|
|
1134
|
+
color: var(--onpe-ui-blue);
|
|
1135
|
+
font-weight: 700; /* font-bold */
|
|
1136
|
+
margin: 20px 0; /* my-5 */
|
|
1137
|
+
font-size: 18px; /* text-lg */
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.onpe-modal-nfc-instructions {
|
|
1141
|
+
padding-left: 12px; /* pl-3 */
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
.onpe-modal-nfc-ordered-list {
|
|
1145
|
+
font-size: 14px; /* text-sm */
|
|
1146
|
+
text-align: justify;
|
|
1147
|
+
list-style-type: decimal;
|
|
1148
|
+
list-style-position: outside;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.onpe-modal-nfc-ordered-list li {
|
|
1152
|
+
margin-bottom: 8px; /* mb-2 */
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
.onpe-modal-nfc-icon {
|
|
1156
|
+
width: 273px;
|
|
1157
|
+
padding-bottom: 40px; /* pb-10 */
|
|
1158
|
+
color: var(--onpe-ui-blue);
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
.onpe-modal-nfc-icon-mobile {
|
|
1162
|
+
width: 100%;
|
|
1163
|
+
height: 100%;
|
|
1164
|
+
padding-bottom: 40px; /* pb-10 */
|
|
1165
|
+
color: var(--onpe-ui-blue);
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
/* Estilos específicos para móvil */
|
|
1170
|
+
@media (max-width: 640px) {
|
|
1171
|
+
.onpe-modal-nfc-title {
|
|
1172
|
+
font-size: 16px; /* text-base para móvil */
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.onpe-modal-nfc-content {
|
|
1176
|
+
gap: 20px; /* gap-5 para móvil */
|
|
1177
|
+
margin-top: 24px; /* mt-6 para móvil */
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
.onpe-modal-nfc-image {
|
|
1181
|
+
width: 200px; /* Más pequeño en móvil */
|
|
1182
|
+
height: 260px; /* Más pequeño en móvil */
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
.onpe-modal-nfc-subtitle {
|
|
1186
|
+
font-size: 16px; /* text-base para móvil */
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/* Responsive Design */
|
|
1191
|
+
@media (min-width: 640px) {
|
|
1192
|
+
.onpe-modal-nfc-title {
|
|
1193
|
+
font-size: 20px; /* text-xl para tablet y desktop */
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.onpe-modal-nfc-content {
|
|
1197
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
.onpe-modal-nfc-step {
|
|
1201
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
.onpe-modal-nfc-list-item {
|
|
1205
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
.onpe-modal-nfc-text {
|
|
1209
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
.onpe-modal-nfc-subtitle {
|
|
1213
|
+
font-size: 20px; /* text-xl para tablet y desktop */
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.onpe-modal-nfc-ordered-list {
|
|
1217
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
@media (min-width: 768px) {
|
|
1222
|
+
.onpe-modal-nfc-container {
|
|
1223
|
+
/* Desktop: Tamaño específico de 600px */
|
|
1224
|
+
max-width: 600px !important;
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
@media (min-width: 1024px) {
|
|
1229
|
+
.onpe-modal-nfc-container {
|
|
1230
|
+
/* Desktop grande: Tamaño específico de 600px */
|
|
1231
|
+
max-width: 600px !important;
|
|
1232
|
+
}
|
|
1233
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -90,6 +90,20 @@ declare const Footer: ({ showBrowserInfo, showContactInfo, children, showFooterC
|
|
|
90
90
|
|
|
91
91
|
declare const BrowserRecommended: () => react_jsx_runtime.JSX.Element;
|
|
92
92
|
|
|
93
|
+
interface ModalDnieVersionsProps {
|
|
94
|
+
isOpen: boolean;
|
|
95
|
+
onClose: () => void;
|
|
96
|
+
className?: string;
|
|
97
|
+
}
|
|
98
|
+
declare const ModalDnieVersions: ({ isOpen, onClose, className }: ModalDnieVersionsProps) => react_jsx_runtime.JSX.Element;
|
|
99
|
+
|
|
100
|
+
interface ModalNfcProps {
|
|
101
|
+
isOpen: boolean;
|
|
102
|
+
onClose: () => void;
|
|
103
|
+
className?: string;
|
|
104
|
+
}
|
|
105
|
+
declare const ModalNfc: ({ isOpen, onClose, className }: ModalNfcProps) => react_jsx_runtime.JSX.Element;
|
|
106
|
+
|
|
93
107
|
/**
|
|
94
108
|
* Hook para debounce de valores
|
|
95
109
|
* @param value - Valor a debounce
|
|
@@ -173,7 +187,9 @@ declare const IconSpinnerDesktop: (props: SVGProps<SVGSVGElement>) => react_jsx_
|
|
|
173
187
|
|
|
174
188
|
declare const IconSpinnerMobile: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
175
189
|
|
|
176
|
-
declare const
|
|
190
|
+
declare const IconHome: ({ ...props }: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
191
|
+
|
|
192
|
+
declare const IconMobileNfc: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
177
193
|
|
|
178
194
|
declare const IconChromeColor: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
179
195
|
|
|
@@ -201,7 +217,13 @@ declare const IconVotoDigital: (props: SVGProps<SVGSVGElement>) => react_jsx_run
|
|
|
201
217
|
|
|
202
218
|
declare const IconElectionsGeneral: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
203
219
|
|
|
204
|
-
declare const
|
|
220
|
+
declare const IconDnie1: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
221
|
+
|
|
222
|
+
declare const IconDnie2: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
223
|
+
|
|
224
|
+
declare const IconDnie3: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
225
|
+
|
|
226
|
+
declare const IconNfc: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
205
227
|
|
|
206
|
-
export { APIClient, BrowserRecommended, Button,
|
|
207
|
-
export type { ButtonProps, FooterProps, ModalBrowserIncompatibleProps, ModalConfirmProps, ModalLoadingProps, ModalProps, ModalSystemIncompatibleProps, OverlayProps, PortalProps, ShowProps };
|
|
228
|
+
export { APIClient, BrowserRecommended, Button, Footer, IconAndroid, IconApple, IconCheck, IconChrome, IconChromeColor, IconClose, IconDnie1, IconDnie2, IconDnie3, IconEdge, IconEdgeColor, IconElectionsGeneral, IconHome, IconMobileNfc, IconMozilla, IconMozillaColor, IconNfc, IconSafari, IconSafariColor, IconSpinnerDesktop, IconSpinnerMobile, IconVotoDigital, IconWarning, IconWindow, Modal, ModalBrowserIncompatible, ModalConfirm, ModalDnieVersions, ModalLoading, ModalNfc, ModalSystemIncompatible, Overlay, Portal, Show, StorageManager, apiClient, formatDate, useDebounce, useLocalStorage, validateEmail };
|
|
229
|
+
export type { ButtonProps, FooterProps, ModalBrowserIncompatibleProps, ModalConfirmProps, ModalDnieVersionsProps, ModalLoadingProps, ModalNfcProps, ModalProps, ModalSystemIncompatibleProps, OverlayProps, PortalProps, ShowProps };
|
package/dist/index.esm.css
CHANGED
|
@@ -928,3 +928,306 @@ body.onpe-modal-open {
|
|
|
928
928
|
display: none;
|
|
929
929
|
}
|
|
930
930
|
}
|
|
931
|
+
|
|
932
|
+
/* ModalDnieVersions Component Styles */
|
|
933
|
+
.onpe-modal-dnie-versions-container {
|
|
934
|
+
/* Solo contenido - el espaciado lo maneja el Modal base */
|
|
935
|
+
width: 100%;
|
|
936
|
+
max-width: 590px !important; /* Tamaño específico para este modal */
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
.onpe-modal-dnie-versions-title {
|
|
940
|
+
text-align: center;
|
|
941
|
+
color: var(--onpe-ui-blue);
|
|
942
|
+
font-weight: 700; /* font-bold */
|
|
943
|
+
margin-bottom: 8px; /* mb-2 */
|
|
944
|
+
font-size: 18px; /* text-lg */
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.onpe-modal-dnie-versions-content {
|
|
948
|
+
display: flex;
|
|
949
|
+
flex-direction: column;
|
|
950
|
+
gap: 40px; /* gap-10 */
|
|
951
|
+
align-items: center;
|
|
952
|
+
margin-top: 28px; /* mt-7 */
|
|
953
|
+
font-size: 14px; /* text-sm */
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
.onpe-modal-dnie-versions-article {
|
|
957
|
+
display: flex;
|
|
958
|
+
flex-direction: column;
|
|
959
|
+
align-items: center;
|
|
960
|
+
gap: 40px; /* gap-10 */
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
.onpe-modal-dnie-versions-text {
|
|
964
|
+
flex: 1;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
.onpe-modal-dnie-versions-subtitle {
|
|
968
|
+
flex: 1;
|
|
969
|
+
margin-bottom: 16px; /* mb-4 */
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
.onpe-modal-dnie-versions-bold {
|
|
973
|
+
font-weight: 700; /* font-bold */
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
.onpe-modal-dnie-versions-list {
|
|
977
|
+
font-size: 14px; /* text-sm */
|
|
978
|
+
list-style-type: disc;
|
|
979
|
+
text-align: justify;
|
|
980
|
+
align-self: flex-start;
|
|
981
|
+
padding-left: 20px; /* pl-5 */
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.onpe-modal-dnie-versions-list li {
|
|
985
|
+
margin-bottom: 8px; /* mb-2 */
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
.onpe-modal-dnie-versions-image-container {
|
|
989
|
+
width: 240px;
|
|
990
|
+
position: relative;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.onpe-modal-dnie-versions-image-container-double {
|
|
994
|
+
height: 181px;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.onpe-modal-dnie-versions-image {
|
|
998
|
+
width: 200px;
|
|
999
|
+
height: 117px;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
.onpe-modal-dnie-versions-image-overlay {
|
|
1003
|
+
position: absolute;
|
|
1004
|
+
bottom: 0;
|
|
1005
|
+
right: 0;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
/* Estilos específicos para móvil */
|
|
1009
|
+
@media (max-width: 640px) {
|
|
1010
|
+
.onpe-modal-dnie-versions-title {
|
|
1011
|
+
font-size: 16px; /* text-base para móvil */
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
.onpe-modal-dnie-versions-content {
|
|
1015
|
+
gap: 32px; /* gap-8 para móvil */
|
|
1016
|
+
margin-top: 24px; /* mt-6 para móvil */
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.onpe-modal-dnie-versions-article {
|
|
1020
|
+
gap: 32px; /* gap-8 para móvil */
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.onpe-modal-dnie-versions-image-container {
|
|
1024
|
+
width: 200px; /* Más pequeño en móvil */
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.onpe-modal-dnie-versions-image {
|
|
1028
|
+
width: 180px; /* Más pequeño en móvil */
|
|
1029
|
+
height: 105px; /* Más pequeño en móvil */
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
/* Responsive Design */
|
|
1034
|
+
@media (min-width: 640px) {
|
|
1035
|
+
.onpe-modal-dnie-versions-title {
|
|
1036
|
+
font-size: 20px; /* text-xl para tablet y desktop */
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
.onpe-modal-dnie-versions-content {
|
|
1040
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.onpe-modal-dnie-versions-list {
|
|
1044
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
@media (min-width: 768px) {
|
|
1049
|
+
.onpe-modal-dnie-versions-container {
|
|
1050
|
+
/* Desktop: Tamaño específico de 590px */
|
|
1051
|
+
max-width: 590px !important;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.onpe-modal-dnie-versions-article {
|
|
1055
|
+
flex-direction: row; /* md:flex-row */
|
|
1056
|
+
align-items: flex-start; /* md:items-start */
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
.onpe-modal-dnie-versions-article:last-child {
|
|
1060
|
+
gap: 52px; /* gap-13 para desktop */
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
@media (min-width: 1024px) {
|
|
1065
|
+
.onpe-modal-dnie-versions-container {
|
|
1066
|
+
/* Desktop grande: Tamaño específico de 590px */
|
|
1067
|
+
max-width: 590px !important;
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
/* ModalNfc Component Styles */
|
|
1072
|
+
.onpe-modal-nfc-container {
|
|
1073
|
+
/* Solo contenido - el espaciado lo maneja el Modal base */
|
|
1074
|
+
width: 100%;
|
|
1075
|
+
max-width: 600px !important; /* Tamaño específico para este modal */
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
.onpe-modal-nfc-title {
|
|
1079
|
+
text-align: center;
|
|
1080
|
+
color: var(--onpe-ui-blue);
|
|
1081
|
+
font-weight: 700; /* font-bold */
|
|
1082
|
+
font-size: 18px; /* text-lg */
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
.onpe-modal-nfc-content {
|
|
1086
|
+
display: flex;
|
|
1087
|
+
flex-direction: column;
|
|
1088
|
+
gap: 24px; /* gap-6 */
|
|
1089
|
+
align-items: center;
|
|
1090
|
+
margin-top: 32px; /* mt-8 */
|
|
1091
|
+
font-size: 14px; /* text-sm */
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.onpe-modal-nfc-section {
|
|
1095
|
+
width: 100%;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
.onpe-modal-nfc-step {
|
|
1099
|
+
font-size: 14px; /* text-sm */
|
|
1100
|
+
text-align: justify;
|
|
1101
|
+
margin-bottom: 12px; /* mb-3 */
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
.onpe-modal-nfc-step-number {
|
|
1105
|
+
margin-right: 4px; /* mr-1 */
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
.onpe-modal-nfc-list {
|
|
1109
|
+
list-style-type: disc;
|
|
1110
|
+
padding-left: 16px; /* pl-4 */
|
|
1111
|
+
margin-top: 8px; /* space-y-2 */
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
.onpe-modal-nfc-list-item {
|
|
1115
|
+
font-size: 14px; /* text-sm */
|
|
1116
|
+
text-align: justify;
|
|
1117
|
+
margin-bottom: 8px; /* space-y-2 */
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.onpe-modal-nfc-image {
|
|
1121
|
+
-o-object-fit: contain;
|
|
1122
|
+
object-fit: contain;
|
|
1123
|
+
width: 273px;
|
|
1124
|
+
height: 348px;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
.onpe-modal-nfc-text {
|
|
1128
|
+
text-align: justify;
|
|
1129
|
+
margin-top: 8px; /* mt-2 */
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.onpe-modal-nfc-subtitle {
|
|
1133
|
+
text-align: center;
|
|
1134
|
+
color: var(--onpe-ui-blue);
|
|
1135
|
+
font-weight: 700; /* font-bold */
|
|
1136
|
+
margin: 20px 0; /* my-5 */
|
|
1137
|
+
font-size: 18px; /* text-lg */
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.onpe-modal-nfc-instructions {
|
|
1141
|
+
padding-left: 12px; /* pl-3 */
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
.onpe-modal-nfc-ordered-list {
|
|
1145
|
+
font-size: 14px; /* text-sm */
|
|
1146
|
+
text-align: justify;
|
|
1147
|
+
list-style-type: decimal;
|
|
1148
|
+
list-style-position: outside;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.onpe-modal-nfc-ordered-list li {
|
|
1152
|
+
margin-bottom: 8px; /* mb-2 */
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
.onpe-modal-nfc-icon {
|
|
1156
|
+
width: 273px;
|
|
1157
|
+
padding-bottom: 40px; /* pb-10 */
|
|
1158
|
+
color: var(--onpe-ui-blue);
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
.onpe-modal-nfc-icon-mobile {
|
|
1162
|
+
width: 100%;
|
|
1163
|
+
height: 100%;
|
|
1164
|
+
padding-bottom: 40px; /* pb-10 */
|
|
1165
|
+
color: var(--onpe-ui-blue);
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
/* Estilos específicos para móvil */
|
|
1170
|
+
@media (max-width: 640px) {
|
|
1171
|
+
.onpe-modal-nfc-title {
|
|
1172
|
+
font-size: 16px; /* text-base para móvil */
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.onpe-modal-nfc-content {
|
|
1176
|
+
gap: 20px; /* gap-5 para móvil */
|
|
1177
|
+
margin-top: 24px; /* mt-6 para móvil */
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
.onpe-modal-nfc-image {
|
|
1181
|
+
width: 200px; /* Más pequeño en móvil */
|
|
1182
|
+
height: 260px; /* Más pequeño en móvil */
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
.onpe-modal-nfc-subtitle {
|
|
1186
|
+
font-size: 16px; /* text-base para móvil */
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/* Responsive Design */
|
|
1191
|
+
@media (min-width: 640px) {
|
|
1192
|
+
.onpe-modal-nfc-title {
|
|
1193
|
+
font-size: 20px; /* text-xl para tablet y desktop */
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.onpe-modal-nfc-content {
|
|
1197
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
.onpe-modal-nfc-step {
|
|
1201
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
.onpe-modal-nfc-list-item {
|
|
1205
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
.onpe-modal-nfc-text {
|
|
1209
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
.onpe-modal-nfc-subtitle {
|
|
1213
|
+
font-size: 20px; /* text-xl para tablet y desktop */
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
.onpe-modal-nfc-ordered-list {
|
|
1217
|
+
font-size: 16px; /* text-base para tablet y desktop */
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
@media (min-width: 768px) {
|
|
1222
|
+
.onpe-modal-nfc-container {
|
|
1223
|
+
/* Desktop: Tamaño específico de 600px */
|
|
1224
|
+
max-width: 600px !important;
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
@media (min-width: 1024px) {
|
|
1229
|
+
.onpe-modal-nfc-container {
|
|
1230
|
+
/* Desktop grande: Tamaño específico de 600px */
|
|
1231
|
+
max-width: 600px !important;
|
|
1232
|
+
}
|
|
1233
|
+
}
|