@telefonica/mistica 16.4.0 → 16.5.0

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.
Files changed (42) hide show
  1. package/css/mistica.css +1 -1
  2. package/css/vivo-new.css +11 -11
  3. package/dist/accordion.css-mistica.js +16 -13
  4. package/dist/accordion.css.d.ts +1 -0
  5. package/dist/accordion.d.ts +4 -0
  6. package/dist/accordion.js +110 -93
  7. package/dist/mosaic.d.ts +6 -2
  8. package/dist/mosaic.js +50 -48
  9. package/dist/navigation-bar.css-mistica.js +96 -37
  10. package/dist/navigation-bar.css.d.ts +27 -1
  11. package/dist/navigation-bar.d.ts +65 -30
  12. package/dist/navigation-bar.js +818 -193
  13. package/dist/package-version.js +1 -1
  14. package/dist/skins/blau.js +94 -94
  15. package/dist/skins/movistar.js +94 -94
  16. package/dist/skins/o2-new.js +94 -94
  17. package/dist/skins/o2.js +94 -94
  18. package/dist/skins/telefonica.js +94 -94
  19. package/dist/skins/tu.js +94 -94
  20. package/dist/skins/vivo-new.js +98 -98
  21. package/dist/skins/vivo.js +94 -94
  22. package/dist/text-tokens.d.ts +4 -0
  23. package/dist/text-tokens.js +101 -85
  24. package/dist/theme.js +20 -17
  25. package/dist-es/accordion.css-mistica.js +7 -7
  26. package/dist-es/accordion.js +140 -123
  27. package/dist-es/mosaic.js +73 -71
  28. package/dist-es/navigation-bar.css-mistica.js +14 -15
  29. package/dist-es/navigation-bar.js +864 -240
  30. package/dist-es/package-version.js +1 -1
  31. package/dist-es/skins/blau.js +94 -94
  32. package/dist-es/skins/movistar.js +94 -94
  33. package/dist-es/skins/o2-new.js +94 -94
  34. package/dist-es/skins/o2.js +94 -94
  35. package/dist-es/skins/telefonica.js +94 -94
  36. package/dist-es/skins/tu.js +94 -94
  37. package/dist-es/skins/vivo-new.js +98 -98
  38. package/dist-es/skins/vivo.js +94 -94
  39. package/dist-es/style.css +1 -1
  40. package/dist-es/text-tokens.js +53 -43
  41. package/dist-es/theme.js +20 -20
  42. package/package.json +1 -1
@@ -113,7 +113,7 @@ const e = {
113
113
  en: "Invalid date",
114
114
  de: "Unzul\xe4ssiges Datum",
115
115
  pt: "Data n\xe3o permitida"
116
- }, $ = {
116
+ }, S = {
117
117
  es: "Email incorrecto",
118
118
  en: "Invalid email",
119
119
  de: "Falsche E-Mail-Adresse",
@@ -123,22 +123,22 @@ const e = {
123
123
  en: "Incorrect IBAN",
124
124
  de: "Falsche IBAN",
125
125
  pt: "IBAN incorreto"
126
- }, S = {
126
+ }, $ = {
127
127
  es: "1$s de 2$s caracteres",
128
128
  en: "1$s of 2$s characters",
129
129
  de: "1$s von 2$s Zeichen",
130
130
  pt: "1$s de 2$s caracteres"
131
- }, E = {
131
+ }, B = {
132
132
  es: "Cerrar",
133
133
  en: "Close",
134
134
  de: "Schlie\xdfen",
135
135
  pt: "Fechar"
136
- }, y = {
136
+ }, E = {
137
137
  es: "Borrar b\xfasqueda",
138
138
  en: "Clear search",
139
139
  de: "Suche l\xf6schen",
140
140
  pt: "Apagar pesquisa"
141
- }, B = {
141
+ }, y = {
142
142
  es: "men\xfa",
143
143
  en: "menu",
144
144
  de: "Men\xfc",
@@ -154,194 +154,204 @@ const e = {
154
154
  de: "Navigationsmen\xfc schlie\xdfen",
155
155
  pt: "Fechar menu de navega\xe7\xe3o"
156
156
  }, I = {
157
+ es: "Abrir submen\xfa",
158
+ en: "Open submenu",
159
+ de: "Untermen\xfc \xf6ffnen",
160
+ pt: "Abrir submenu"
161
+ }, N = {
162
+ es: "Ver todo",
163
+ en: "See all",
164
+ de: "Alle anzeigen",
165
+ pt: "Ver tudo"
166
+ }, P = {
157
167
  es: "Atr\xe1s",
158
168
  en: "Back",
159
169
  de: "Zur\xfcck",
160
170
  pt: "Voltar"
161
- }, N = {
171
+ }, k = {
162
172
  es: "Borrar",
163
173
  en: "Clear",
164
174
  de: "L\xf6schen",
165
175
  pt: "Apagar"
166
- }, P = {
176
+ }, F = {
167
177
  es: "siguiente",
168
178
  en: "next",
169
179
  de: "n\xe4chste",
170
180
  pt: "pr\xf3ximo"
171
- }, k = {
181
+ }, O = {
172
182
  es: "anterior",
173
183
  en: "previous",
174
184
  de: "vorherige",
175
185
  pt: "anterior"
176
- }, F = {
186
+ }, w = {
177
187
  es: "Reproducir",
178
188
  en: "Play",
179
189
  de: "Abspielen",
180
190
  pt: "Reproduzir"
181
- }, w = {
191
+ }, T = {
182
192
  es: "Pausar",
183
193
  en: "Pause",
184
194
  de: "Pausieren",
185
195
  pt: "Pausar"
186
- }, O = {
196
+ }, R = {
187
197
  es: "Continuar",
188
198
  en: "Continue",
189
199
  de: "Fortfahren",
190
200
  pt: "Continuar"
191
- }, T = {
201
+ }, H = {
192
202
  es: "completo",
193
203
  en: "completed",
194
204
  de: "vollendet",
195
205
  pt: "conclu\xeddo"
196
- }, R = {
206
+ }, z = {
197
207
  es: "Paso 1$s de 2$s",
198
208
  en: "Step 1$s of 2$s",
199
209
  de: "Schritt 1$s von 2$s",
200
210
  pt: "Etapa 1$s de 2$s"
201
- }, H = {
211
+ }, j = {
202
212
  es: "D\xedgito 1$s de 2$s",
203
213
  en: "Digit 1$s of 2$s",
204
214
  de: "Ziffer 1$s von 2$s",
205
215
  pt: "D\xedgito 1$s de 2$s"
206
- }, j = {
216
+ }, q = {
207
217
  es: "Borrar elemento",
208
218
  en: "Remove element",
209
219
  de: "Element entfernen",
210
220
  pt: "Remover elemento"
211
- }, z = {
221
+ }, W = {
212
222
  es: "Aumentar valor",
213
223
  en: "Increase value",
214
224
  de: "Wert steigern",
215
225
  pt: "aumentar valor"
216
- }, q = {
226
+ }, Z = {
217
227
  es: "Disminuir valor",
218
228
  en: "Decrease value",
219
229
  de: "Wert verringern",
220
230
  pt: "diminuir valor"
221
- }, W = {
231
+ }, K = {
222
232
  es: "cantidad",
223
233
  en: "quantity",
224
234
  de: "menge",
225
235
  pt: "quantidade"
226
- }, Z = {
236
+ }, G = {
227
237
  es: "m\xednimo",
228
238
  en: "minimum of",
229
239
  de: "minimal",
230
240
  pt: "m\xednimo"
231
- }, K = {
241
+ }, J = {
232
242
  es: "m\xe1ximo",
233
243
  en: "maximum of",
234
244
  de: "maximal",
235
245
  pt: "m\xe1ximo"
236
- }, G = {
246
+ }, Q = {
237
247
  es: "d",
238
248
  en: "d",
239
249
  de: "Tg.",
240
250
  pt: "d"
241
- }, J = {
251
+ }, U = {
242
252
  es: "h",
243
253
  en: "h",
244
254
  de: "Std.",
245
255
  pt: "h"
246
- }, Q = {
256
+ }, Y = {
247
257
  es: "min",
248
258
  en: "min",
249
259
  de: "Min.",
250
260
  pt: "min"
251
- }, Y = {
261
+ }, X = {
252
262
  es: "s",
253
263
  en: "s",
254
264
  de: "Sek.",
255
265
  pt: "s"
256
- }, U = {
266
+ }, _ = {
257
267
  es: "y",
258
268
  en: "and",
259
269
  de: "und",
260
270
  pt: "e"
261
- }, X = {
271
+ }, ee = {
262
272
  es: "d\xeda",
263
273
  en: "day",
264
274
  de: "Tag",
265
275
  pt: "dia"
266
- }, _ = {
276
+ }, ne = {
267
277
  es: "d\xedas",
268
278
  en: "days",
269
279
  de: "Tage",
270
280
  pt: "dias"
271
- }, ee = {
281
+ }, te = {
272
282
  es: "hora",
273
283
  en: "hour",
274
284
  de: "Stunde",
275
285
  pt: "hora"
276
- }, ne = {
286
+ }, oe = {
277
287
  es: "horas",
278
288
  en: "hours",
279
289
  de: "Stunden",
280
290
  pt: "horas"
281
- }, te = {
291
+ }, se = {
282
292
  es: "minuto",
283
293
  en: "minute",
284
294
  de: "Minute",
285
295
  pt: "minuto"
286
- }, oe = {
296
+ }, re = {
287
297
  es: "minutos",
288
298
  en: "minutes",
289
299
  de: "Minuten",
290
300
  pt: "minutos"
291
- }, se = {
301
+ }, ae = {
292
302
  es: "segundo",
293
303
  en: "second",
294
304
  de: "Sekunde",
295
305
  pt: "segundo"
296
- }, re = {
306
+ }, ie = {
297
307
  es: "segundos",
298
308
  en: "seconds",
299
309
  de: "Sekunden",
300
310
  pt: "segundos"
301
- }, ae = {
311
+ }, de = {
302
312
  es: "min",
303
313
  en: "min",
304
314
  de: "Min.",
305
315
  pt: "min"
306
- }, ie = {
316
+ }, ce = {
307
317
  es: "seg",
308
318
  en: "sec",
309
319
  de: "Sek.",
310
320
  pt: "seg"
311
- }, de = {
321
+ }, le = {
312
322
  es: "Acciones",
313
323
  en: "Actions",
314
324
  de: "Aktionen",
315
325
  pt: "A\xe7\xf5es"
316
- }, ce = {
326
+ }, ue = {
317
327
  es: "muy malo",
318
328
  en: "very bad",
319
329
  de: "sehr schlecht",
320
330
  pt: "muito ruim"
321
- }, le = {
331
+ }, me = {
322
332
  es: "malo",
323
333
  en: "bad",
324
334
  de: "schlecht",
325
335
  pt: "ruim"
326
- }, ue = {
336
+ }, pe = {
327
337
  es: "regular",
328
338
  en: "regular",
329
339
  de: "regular",
330
340
  pt: "regular"
331
- }, me = {
341
+ }, ge = {
332
342
  es: "bueno",
333
343
  en: "good",
334
344
  de: "gut",
335
345
  pt: "bom"
336
- }, pe = {
346
+ }, Ce = {
337
347
  es: "muy bueno",
338
348
  en: "very good",
339
349
  de: "sehr gut",
340
350
  pt: "muito bom"
341
- }, ge = {
351
+ }, be = {
342
352
  es: "1$s de 2$s",
343
353
  en: "1$s out of 2$s",
344
354
  de: "1$s von 2$s",
345
355
  pt: "1$s de 2$s"
346
356
  };
347
- export { I as backNavigationBar, P as carouselNextButton, k as carouselPrevButton, N as clearButton, E as closeButtonLabel, D as closeNavigationMenu, q as counterDecreaseLabel, z as counterIncreaseLabel, K as counterMaxValue, Z as counterMinValue, W as counterQuantity, j as counterRemoveLabel, d as dialogAcceptButton, i as dialogCancelButton, t as disablePasswordVisibility, n as enablePasswordVisibility, e as expirationDatePlaceholder, C as formCreditCardCvvError, g as formCreditCardCvvLabel, f as formCreditCardCvvTooltipAmex, v as formCreditCardCvvTooltipVisaMc, h as formCreditCardCvvTooltipVisaMcButtonClose, b as formCreditCardCvvTooltipVisaMcButtonOpen, V as formCreditCardExpirationError, p as formCreditCardExpirationLabel, L as formCreditCardNumberError, m as formCreditCardNumberLabel, A as formDateOutOfRangeError, $ as formEmailError, c as formErrorsAlertMessage, u as formFieldErrorIsMandatory, l as formFieldOptionalLabelSuffix, M as formIbanError, y as formSearchClear, S as formTextMultilineMaxCount, r as linkOpensInCurrentPage, s as linkOpensInNewTab, o as loading, B as menuLabelSuffix, a as modalClose, x as openNavigationMenu, w as pauseIconButtonLabel, H as pinFieldInputLabel, F as playIconButtonLabel, T as progressBarCompletedLabel, R as progressBarStepLabel, le as ratingBadLabel, me as ratingGoodLabel, ge as ratingQuantitativeLabel, ue as ratingRegularLabel, ce as ratingVeryBadLabel, pe as ratingVeryGoodLabel, O as sheetConfirmButton, de as tableActionsHeaderLabel, U as timerAnd, X as timerDayLongLabel, _ as timerDaysLongLabel, G as timerDaysShortLabel, ae as timerDisplayMinutesLabel, ie as timerDisplaySecondsLabel, ee as timerHourLongLabel, ne as timerHoursLongLabel, J as timerHoursShortLabel, te as timerMinuteLongLabel, oe as timerMinutesLongLabel, Q as timerMinutesShortLabel, se as timerSecondLongLabel, re as timerSecondsLongLabel, Y as timerSecondsShortLabel };
357
+ export { P as backNavigationBar, F as carouselNextButton, O as carouselPrevButton, k as clearButton, B as closeButtonLabel, D as closeNavigationMenu, Z as counterDecreaseLabel, W as counterIncreaseLabel, J as counterMaxValue, G as counterMinValue, K as counterQuantity, q as counterRemoveLabel, d as dialogAcceptButton, i as dialogCancelButton, t as disablePasswordVisibility, n as enablePasswordVisibility, e as expirationDatePlaceholder, C as formCreditCardCvvError, g as formCreditCardCvvLabel, f as formCreditCardCvvTooltipAmex, v as formCreditCardCvvTooltipVisaMc, h as formCreditCardCvvTooltipVisaMcButtonClose, b as formCreditCardCvvTooltipVisaMcButtonOpen, V as formCreditCardExpirationError, p as formCreditCardExpirationLabel, L as formCreditCardNumberError, m as formCreditCardNumberLabel, A as formDateOutOfRangeError, S as formEmailError, c as formErrorsAlertMessage, u as formFieldErrorIsMandatory, l as formFieldOptionalLabelSuffix, M as formIbanError, E as formSearchClear, $ as formTextMultilineMaxCount, r as linkOpensInCurrentPage, s as linkOpensInNewTab, o as loading, I as mainNavigationBarOpenSectionMenu, N as mainNavigationBarSectionSeeAll, y as menuLabelSuffix, a as modalClose, x as openNavigationMenu, T as pauseIconButtonLabel, j as pinFieldInputLabel, w as playIconButtonLabel, H as progressBarCompletedLabel, z as progressBarStepLabel, me as ratingBadLabel, ge as ratingGoodLabel, be as ratingQuantitativeLabel, pe as ratingRegularLabel, ue as ratingVeryBadLabel, Ce as ratingVeryGoodLabel, R as sheetConfirmButton, le as tableActionsHeaderLabel, _ as timerAnd, ee as timerDayLongLabel, ne as timerDaysLongLabel, Q as timerDaysShortLabel, de as timerDisplayMinutesLabel, ce as timerDisplaySecondsLabel, te as timerHourLongLabel, oe as timerHoursLongLabel, U as timerHoursShortLabel, se as timerMinuteLongLabel, re as timerMinutesLongLabel, Y as timerMinutesShortLabel, ae as timerSecondLongLabel, ie as timerSecondsLongLabel, X as timerSecondsShortLabel };
package/dist-es/theme.js CHANGED
@@ -77,55 +77,55 @@ function _object_without_properties_loose(source, excluded) {
77
77
  }
78
78
  return target;
79
79
  }
80
- import { jsx as n } from "react/jsx-runtime";
81
- const s = 56, a = 80, m = {
82
- headerMobileHeight: s,
83
- headerDesktopHeight: a
80
+ import { jsx as r } from "react/jsx-runtime";
81
+ const a = 56, s = 80, m = 2 * s, d = {
82
+ headerMobileHeight: a,
83
+ headerDesktopHeight: s
84
84
  }, h = (_param)=>{
85
- var { to: e, innerRef: t } = _param, r = _object_without_properties(_param, [
85
+ var { to: e, innerRef: t } = _param, n = _object_without_properties(_param, [
86
86
  "to",
87
87
  "innerRef"
88
88
  ]);
89
- return /* @__PURE__ */ n("a", _object_spread_props(_object_spread({
89
+ return /* @__PURE__ */ r("a", _object_spread_props(_object_spread({
90
90
  ref: t,
91
91
  href: typeof e == "string" ? e : e == null ? void 0 : e.pathname
92
- }, r), {
93
- children: r.children
92
+ }, n), {
93
+ children: n.children
94
94
  }));
95
95
  }, i = (e)=>e, f = (e)=>(_param)=>{
96
- var { innerRef: t } = _param, r = _object_without_properties(_param, [
96
+ var { innerRef: t } = _param, n = _object_without_properties(_param, [
97
97
  "innerRef"
98
98
  ]);
99
- return /* @__PURE__ */ n(e, _object_spread({
99
+ return /* @__PURE__ */ r(e, _object_spread({
100
100
  ref: t
101
- }, r));
101
+ }, n));
102
102
  }, p = (e)=>(_param)=>{
103
- var { to: t, innerRef: r, children: o } = _param, c = _object_without_properties(_param, [
103
+ var { to: t, innerRef: n, children: o } = _param, c = _object_without_properties(_param, [
104
104
  "to",
105
105
  "innerRef",
106
106
  "children"
107
107
  ]);
108
- return /* @__PURE__ */ n(e, {
108
+ return /* @__PURE__ */ r(e, {
109
109
  href: t,
110
- children: /* @__PURE__ */ n("a", _object_spread_props(_object_spread({
111
- ref: r
110
+ children: /* @__PURE__ */ r("a", _object_spread_props(_object_spread({
111
+ ref: n
112
112
  }, c), {
113
113
  children: o
114
114
  }))
115
115
  });
116
116
  }, u = (e)=>(_param)=>{
117
- var { to: t, innerRef: r, children: o } = _param, c = _object_without_properties(_param, [
117
+ var { to: t, innerRef: n, children: o } = _param, c = _object_without_properties(_param, [
118
118
  "to",
119
119
  "innerRef",
120
120
  "children"
121
121
  ]);
122
- return /* @__PURE__ */ n(e, _object_spread_props(_object_spread({
122
+ return /* @__PURE__ */ r(e, _object_spread_props(_object_spread({
123
123
  href: t,
124
- ref: r
124
+ ref: n
125
125
  }, c), {
126
126
  children: o
127
127
  }));
128
- }, d = (e)=>{
128
+ }, g = (e)=>{
129
129
  if (!e) return h;
130
130
  if (typeof e == "function" || e.$$typeof) return e;
131
131
  switch(e.type){
@@ -143,4 +143,4 @@ const s = 56, a = 80, m = {
143
143
  throw new Error(`Invalid Link type: ${t}`);
144
144
  }
145
145
  };
146
- export { a as NAVBAR_HEIGHT_DESKTOP, s as NAVBAR_HEIGHT_MOBILE, m as dimensions, d as getMisticaLinkComponent };
146
+ export { s as NAVBAR_HEIGHT_DESKTOP, m as NAVBAR_HEIGHT_DESKTOP_LARGE, a as NAVBAR_HEIGHT_MOBILE, d as dimensions, g as getMisticaLinkComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telefonica/mistica",
3
- "version": "16.4.0",
3
+ "version": "16.5.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",