@telefonica/mistica 15.4.0 → 15.6.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 (50) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/card.d.ts +4 -0
  3. package/dist/carousel.js +102 -98
  4. package/dist/chip.d.ts +3 -20
  5. package/dist/chip.js +44 -60
  6. package/dist/community/advanced-data-card.css-mistica.js +13 -16
  7. package/dist/community/advanced-data-card.css.d.ts +0 -1
  8. package/dist/community/advanced-data-card.js +25 -26
  9. package/dist/hero.css-mistica.js +7 -23
  10. package/dist/hero.css.d.ts +0 -3
  11. package/dist/hero.js +85 -73
  12. package/dist/highlighted-card.d.ts +5 -35
  13. package/dist/highlighted-card.js +44 -48
  14. package/dist/icon-button.d.ts +190 -118
  15. package/dist/icon-button.js +87 -112
  16. package/dist/image.js +2 -1
  17. package/dist/list.d.ts +15 -21
  18. package/dist/list.js +188 -183
  19. package/dist/logo.d.ts +4 -23
  20. package/dist/logo.js +42 -67
  21. package/dist/package-version.js +1 -1
  22. package/dist/responsive-layout.css-mistica.js +26 -11
  23. package/dist/responsive-layout.css.d.ts +8 -3
  24. package/dist/responsive-layout.d.ts +5 -0
  25. package/dist/responsive-layout.js +36 -17
  26. package/dist/text-link.d.ts +2 -21
  27. package/dist/text-link.js +16 -15
  28. package/dist/text.js +45 -44
  29. package/dist/theme-context-provider.d.ts +1 -0
  30. package/dist/theme-context-provider.js +21 -21
  31. package/dist/touchable.d.ts +18 -48
  32. package/dist-es/carousel.js +102 -98
  33. package/dist-es/chip.js +68 -84
  34. package/dist-es/community/advanced-data-card.css-mistica.js +6 -6
  35. package/dist-es/community/advanced-data-card.js +69 -70
  36. package/dist-es/hero.css-mistica.js +2 -9
  37. package/dist-es/hero.js +122 -110
  38. package/dist-es/highlighted-card.js +61 -65
  39. package/dist-es/icon-button.js +97 -122
  40. package/dist-es/image.js +2 -1
  41. package/dist-es/list.js +248 -243
  42. package/dist-es/logo.js +80 -105
  43. package/dist-es/package-version.js +1 -1
  44. package/dist-es/responsive-layout.css-mistica.js +3 -3
  45. package/dist-es/responsive-layout.js +41 -25
  46. package/dist-es/style.css +1 -1
  47. package/dist-es/text-link.js +25 -24
  48. package/dist-es/text.js +59 -58
  49. package/dist-es/theme-context-provider.js +68 -68
  50. package/package.json +1 -1
package/dist-es/logo.js CHANGED
@@ -78,37 +78,37 @@ function _object_without_properties_loose(source, excluded) {
78
78
  }
79
79
  return target;
80
80
  }
81
- import { jsx as C, jsxs as o } from "react/jsx-runtime";
81
+ import { jsx as C, jsxs as i } from "react/jsx-runtime";
82
82
  import { useTheme as l } from "./hooks.js";
83
- import { useIsInverseVariant as Z } from "./theme-variant-context.js";
83
+ import { useIsInverseVariant as p } from "./theme-variant-context.js";
84
84
  import L from "./touchable.js";
85
- import { getMovistarSkin as v } from "./skins/movistar.js";
86
- import { getVivoSkin as f } from "./skins/vivo.js";
87
- import { getO2Skin as g } from "./skins/o2.js";
88
- import { getO2NewSkin as u } from "./skins/o2-new.js";
89
- import { getBlauSkin as k } from "./skins/blau.js";
85
+ import { getMovistarSkin as m } from "./skins/movistar.js";
86
+ import { getVivoSkin as v } from "./skins/vivo.js";
87
+ import { getO2Skin as f } from "./skins/o2.js";
88
+ import { getO2NewSkin as g } from "./skins/o2-new.js";
89
+ import { getBlauSkin as u } from "./skins/blau.js";
90
90
  import { getTuSkin as N } from "./skins/tu.js";
91
- import { getTelefonicaSkin as w } from "./skins/telefonica.js";
92
- import { getPrefixedDataAttributes as x } from "./utils/dom.js";
93
- import { logoContainer as c, svg as i, vars as p } from "./logo.css-mistica.js";
91
+ import { getTelefonicaSkin as k } from "./skins/telefonica.js";
92
+ import { getPrefixedDataAttributes as w } from "./utils/dom.js";
93
+ import { logoContainer as x, svg as n, vars as Z } from "./logo.css-mistica.js";
94
94
  import { applyCssVars as H } from "./utils/css.js";
95
95
  const V = (t)=>{
96
96
  if (typeof t == "number") return {
97
- [p.size]: `${t}px`
97
+ [Z.size]: `${t}px`
98
98
  };
99
99
  const e = {
100
- [p.sizeMobile]: `${t.mobile}px`,
101
- [p.sizeDesktop]: `${t.desktop}px`
100
+ [Z.sizeMobile]: `${t.mobile}px`,
101
+ [Z.sizeDesktop]: `${t.desktop}px`
102
102
  };
103
- return t.tablet && (e[p.sizeTablet] = `${t.tablet}px`), e;
103
+ return t.tablet && (e[Z.sizeTablet] = `${t.tablet}px`), e;
104
104
  }, B = (param)=>{
105
105
  let { size: t, type: e } = param;
106
- const { isDarkMode: a } = l(), { colors: r } = v(), n = Z() && !a ? r.inverse : r.brand;
107
- return e === "vertical" ? /* @__PURE__ */ o("svg", {
108
- className: i,
106
+ const { isDarkMode: a } = l(), { colors: o } = m(), r = p() && !a ? o.inverse : o.brand;
107
+ return e === "vertical" ? /* @__PURE__ */ i("svg", {
108
+ className: n,
109
109
  style: H(V(t)),
110
110
  viewBox: "0 0 72 72",
111
- fill: n,
111
+ fill: r,
112
112
  role: "presentation",
113
113
  children: [
114
114
  /* @__PURE__ */ C("path", {
@@ -139,11 +139,11 @@ const V = (t)=>{
139
139
  d: "M66.7333 55.4213V56.8474H66.0203C64.7098 56.8474 64.016 57.3677 64.016 58.8709V62.5132H61.954V55.6333C61.954 55.2864 62.1467 55.1129 62.455 55.1129H63.8426L63.8811 56.6739C64.2858 55.5562 65.1916 54.9588 66.2323 54.9588C66.5599 54.9395 66.7333 55.0937 66.7333 55.4213Z"
140
140
  })
141
141
  ]
142
- }) : e === "imagotype" ? /* @__PURE__ */ o("svg", {
143
- className: i,
142
+ }) : e === "imagotype" ? /* @__PURE__ */ i("svg", {
143
+ className: n,
144
144
  style: H(V(t)),
145
145
  viewBox: "0 0 195 72",
146
- fill: n,
146
+ fill: r,
147
147
  role: "presentation",
148
148
  children: [
149
149
  /* @__PURE__ */ C("path", {
@@ -175,10 +175,10 @@ const V = (t)=>{
175
175
  })
176
176
  ]
177
177
  }) : /* @__PURE__ */ C("svg", {
178
- className: i,
178
+ className: n,
179
179
  style: H(V(t)),
180
180
  viewBox: "0 0 72 72",
181
- fill: n,
181
+ fill: r,
182
182
  role: "presentation",
183
183
  children: /* @__PURE__ */ C("path", {
184
184
  d: "M17.2797 17.2124C14.4995 17.2572 9.36782 18.6502 7.02384 28.3781C6.00256 32.6168 5.60793 37.0347 6.4823 42.2938C7.28828 47.1441 8.71635 51.3303 9.67886 53.6376C10.0107 54.4324 10.5244 55.2617 10.9215 55.7719C12.0639 57.239 13.9651 57.1453 14.764 56.7453C15.6348 56.3098 16.6358 55.2581 16.2736 52.8561C16.0983 51.6958 15.5933 49.9981 15.3091 49.0545C14.4367 46.1588 13.2756 42.6649 13.1743 40.176C13.039 36.8468 14.3308 36.4108 15.1885 36.2193C16.6312 35.8965 17.8405 37.5063 18.9894 39.5237C20.3607 41.9314 22.7108 46.1974 24.6277 49.456C26.3582 52.3975 29.5517 55.5469 34.6804 55.3307C39.9089 55.1109 43.763 53.0837 45.7483 46.7014C47.2341 41.9267 48.2468 38.3588 49.8765 34.7048C51.7503 30.5031 54.2498 28.254 56.3547 28.9408C58.3091 29.5781 58.7969 31.5193 58.8202 34.3728C58.841 36.8968 58.5538 39.6792 58.3304 41.7234C58.2493 42.4652 58.1024 43.9576 58.1622 44.7859C58.2802 46.4146 58.9742 48.0414 60.7792 48.3018C62.7017 48.5788 64.2443 47.0174 64.8603 45.1302C65.1034 44.3864 65.3106 43.2482 65.4226 42.4405C65.9874 38.3618 66.1338 35.6206 65.8795 31.4473C65.5811 26.5676 64.6414 22.1178 63.0021 18.2667C61.4337 14.5839 58.9145 12.2236 55.6835 12.0151C52.107 11.7845 48.0026 14.1958 45.8496 18.8741C43.8648 23.1865 42.2772 27.6136 41.3141 29.873C40.3374 32.1643 38.9018 33.5764 36.6946 33.8127C33.996 34.101 31.6708 32.1103 29.9676 29.2718C28.4828 26.7977 25.5401 22.0869 23.9656 20.5039C22.4864 19.0167 20.7969 17.1558 17.2797 17.2124Z"
@@ -186,12 +186,12 @@ const V = (t)=>{
186
186
  });
187
187
  }, y = (param)=>{
188
188
  let { size: t, type: e } = param;
189
- const { isDarkMode: a } = l(), r = Z(), { colors: s } = f(), n = r && !a ? s.inverse : s.brand;
190
- return e === "vertical" ? /* @__PURE__ */ o("svg", {
191
- className: i,
189
+ const { isDarkMode: a } = l(), o = p(), { colors: s } = v(), r = o && !a ? s.inverse : s.brand;
190
+ return e === "vertical" ? /* @__PURE__ */ i("svg", {
191
+ className: n,
192
192
  style: H(V(t)),
193
193
  viewBox: "0 0 72 72",
194
- fill: n,
194
+ fill: r,
195
195
  role: "presentation",
196
196
  children: [
197
197
  /* @__PURE__ */ C("path", {
@@ -213,11 +213,11 @@ const V = (t)=>{
213
213
  d: "M57.9111 22.8788C57.9111 24.5074 57.3346 27.048 55.5406 28.842C54.9089 29.4737 54.3645 29.8504 53.9258 30.1329C53.0827 30.6773 52.4717 31.0586 52.8117 31.9683C53.1448 32.8641 54.1876 32.5862 55.1731 32.3634C55.49 32.2875 61.676 30.8082 61.7541 30.8036C63.4149 30.489 65.0205 31.541 65.411 33.1673C65.4133 33.1742 65.9072 35.2393 65.9118 35.2576C66.3046 36.884 65.3513 38.5493 63.7296 39.0248C63.6607 39.0547 56.9004 40.681 56.889 40.6833C55.6049 41.0095 54.8538 41.6481 54.8538 42.8862C54.8538 43.4398 55.1731 44.0416 55.5681 44.54C55.5681 44.54 62.9118 53.6433 62.9509 53.7122C63.9501 55.0766 63.6951 56.9763 62.3973 58.0307C62.3927 58.0352 60.7434 59.3721 60.7273 59.3836C59.4318 60.438 57.5184 60.2978 56.3882 59.0391C56.3308 58.9908 51.7688 53.3837 51.2841 52.7888C50.7995 52.1938 50.1907 51.2888 49.3454 51.2888C48.5024 51.2888 47.8937 52.1938 47.409 52.7888C46.9266 53.3837 42.3624 58.9908 42.3049 59.0391C41.1748 60.2978 39.2613 60.438 37.9635 59.3836C37.9497 59.3721 36.2935 58.0307 36.2935 58.0307C34.9957 56.9763 34.7407 55.0743 35.74 53.7122C35.7767 53.641 43.1227 44.54 43.1227 44.54C43.5155 44.0416 43.8371 43.4398 43.8371 42.8862C43.8371 41.6481 43.0859 41.0118 41.8019 40.6833C41.7904 40.681 35.0302 39.0547 34.9613 39.0248C33.3395 38.5493 32.3863 36.8817 32.7768 35.2576C32.7814 35.2393 33.2775 33.1673 33.2775 33.1673C33.668 31.541 35.2714 30.4912 36.9344 30.8036C37.0125 30.8059 43.1985 32.2875 43.5155 32.3634C44.5032 32.5862 45.5438 32.8641 45.8769 31.9683C46.2168 31.0563 45.6058 30.6773 44.7651 30.1329C44.3264 29.8504 43.7797 29.4714 43.1503 28.842C41.3563 27.048 40.7774 24.5074 40.7774 22.8788C40.7774 18.2066 44.6732 14.421 49.3431 14.421C54.0153 14.4187 57.9111 18.2066 57.9111 22.8788Z"
214
214
  })
215
215
  ]
216
- }) : e === "imagotype" ? /* @__PURE__ */ o("svg", {
217
- className: i,
216
+ }) : e === "imagotype" ? /* @__PURE__ */ i("svg", {
217
+ className: n,
218
218
  style: H(V(t)),
219
219
  viewBox: "0 0 195 72",
220
- fill: n,
220
+ fill: r,
221
221
  role: "presentation",
222
222
  children: [
223
223
  /* @__PURE__ */ C("path", {
@@ -240,23 +240,23 @@ const V = (t)=>{
240
240
  })
241
241
  ]
242
242
  }) : /* @__PURE__ */ C("svg", {
243
- className: i,
243
+ className: n,
244
244
  style: H(V(t)),
245
245
  viewBox: "0 0 72 72",
246
- fill: n,
246
+ fill: r,
247
247
  role: "presentation",
248
248
  children: /* @__PURE__ */ C("path", {
249
249
  d: "M46.8016 17.1117C46.8016 19.2508 46.0737 22.5899 43.8127 24.9457C43.0178 25.7738 42.3281 26.2722 41.777 26.6429C40.714 27.3592 39.9446 27.8575 40.3732 29.0552C40.7938 30.2313 42.1074 29.8665 43.3494 29.574C43.7492 29.4753 51.549 27.5301 51.6472 27.5253C53.7419 27.1136 55.7661 28.4943 56.2571 30.6297C56.2594 30.6381 56.8833 33.3526 56.8891 33.3766C57.3836 35.5121 56.182 37.7017 54.137 38.3264C54.0492 38.3673 45.5261 40.5028 45.5111 40.5064C43.8924 40.9361 42.945 41.7727 42.945 43.399C42.945 44.126 43.3483 44.9157 43.8462 45.5705C43.8462 45.5705 53.1064 57.5285 53.1538 57.6212C54.4143 59.4123 54.0931 61.9101 52.4548 63.2944C52.449 63.3004 50.3694 65.0579 50.3486 65.0735C48.7137 66.459 46.3014 66.276 44.8779 64.6221C44.804 64.5571 39.0538 57.1926 38.4426 56.4114C37.8326 55.6314 37.0654 54.4421 35.999 54.4421C34.9326 54.4421 34.1689 55.6302 33.5566 56.4114C32.9477 57.1926 27.194 64.5583 27.1224 64.6221C25.6978 66.2748 23.2854 66.459 21.6494 65.0735C21.6321 65.0579 19.5501 63.3004 19.5444 63.2944C17.9084 61.9101 17.586 59.4123 18.8454 57.6212C18.8927 57.5285 28.153 45.5705 28.153 45.5705C28.6498 44.9157 29.0541 44.126 29.0541 43.399C29.0541 41.7727 28.1079 40.9361 26.4881 40.5064C26.4731 40.5028 17.9511 38.3673 17.8633 38.3264C15.8183 37.7017 14.6179 35.5121 15.1101 33.3766C15.1147 33.3526 15.7409 30.6381 15.7421 30.6297C16.2331 28.4943 18.2561 27.1124 20.352 27.5253C20.4502 27.5301 28.2489 29.4753 28.6486 29.574C29.8929 29.8665 31.2054 30.2313 31.626 29.0552C32.0546 27.8587 31.2851 27.3592 30.2234 26.6429C29.6711 26.2722 28.9814 25.775 28.1865 24.9457C25.9243 22.5887 25.1964 19.2508 25.1964 17.1117C25.1987 10.9751 30.1101 6 36.0002 6C41.8902 6 46.8016 10.9751 46.8016 17.1117Z"
250
250
  })
251
251
  });
252
- }, m = (param)=>{
252
+ }, h = (param)=>{
253
253
  let { size: t, isO2NewSkin: e } = param;
254
- const { isDarkMode: a } = l(), r = Z(), { colors: s } = e ? u() : g(), n = r && !a ? s.inverse : s.brand;
254
+ const { isDarkMode: a } = l(), o = p(), { colors: s } = e ? g() : f(), r = o && !a ? s.inverse : s.brand;
255
255
  return /* @__PURE__ */ C("svg", {
256
- className: i,
256
+ className: n,
257
257
  style: H(V(t)),
258
258
  viewBox: "0 0 72 72",
259
- fill: n,
259
+ fill: r,
260
260
  role: "presentation",
261
261
  children: /* @__PURE__ */ C("path", {
262
262
  d: "M64.6464 48.1005C65.5273 48.3194 66.3797 48.7244 67.0163 49.3673C67.555 49.8826 67.9234 50.5497 68.1381 51.2513C68.3932 52.1193 68.4578 53.0409 68.3406 53.9362C68.2286 54.7438 67.9502 55.5225 67.5851 56.2533C66.899 57.5977 65.9414 58.7894 64.9183 59.9048C63.8168 61.0986 62.6299 62.214 61.4443 63.3281C63.8331 63.3205 66.222 63.3277 68.6108 63.3243C68.7406 63.3231 68.8729 63.3164 69 63.3499V66.1656C68.9276 66.1744 68.8561 66.1841 68.7849 66.187L56.6515 66.1866V63.1532C56.9278 62.8849 57.223 62.6362 57.5061 62.3746C58.7357 61.2826 59.9476 60.1702 61.0896 58.9906C62.1882 57.8312 63.2582 56.619 64.0232 55.2197C64.3697 54.5626 64.6602 53.8473 64.655 53.0979C64.6516 52.5621 64.4529 52.0228 64.0723 51.6312C63.578 51.1099 62.8587 50.8466 62.1481 50.7611C61.1887 50.6609 60.2199 50.855 59.327 51.1913C58.6379 51.4458 57.9983 51.8056 57.3725 52.1792C57.2747 51.1712 57.173 50.1635 57.0791 49.1551C58.6163 48.4104 60.3087 47.9609 62.0261 47.8824C62.9031 47.8313 63.7918 47.895 64.6464 48.1005ZM44.5216 15.9479C46.2174 16.5777 47.8288 17.4272 49.2842 18.4844C51.7084 20.2329 53.6818 22.5547 55.0432 25.1725C56.3106 27.5865 57.064 30.2404 57.3669 32.9308C57.5113 34.2801 57.5716 35.6404 57.4945 36.9961C57.3885 39.1497 56.97 41.2895 56.2443 43.3274C55.1022 46.5373 53.168 49.4901 50.5956 51.7934C48.1348 54.0137 45.0922 55.6109 41.841 56.4164C39.4569 57.011 36.9711 57.1964 34.5189 57.0169C32.0275 56.8353 29.5623 56.2462 27.2864 55.2382C24.6566 54.0787 22.2902 52.3616 20.3927 50.2449C18.0655 47.6619 16.445 44.5002 15.6352 41.1616C15.2392 39.5413 15.0384 37.8792 15 36.2153V35.3469C15.0353 33.9564 15.1603 32.5664 15.4189 31.1973C16.0352 27.8905 17.3992 24.692 19.5312 22.0352C21.1736 19.9734 23.2664 18.2546 25.6285 17.0201C28.6633 15.4237 32.1089 14.6354 35.5471 14.5511C38.5915 14.4593 41.6699 14.8883 44.5216 15.9479ZM35.3058 20.656C34.0556 20.7554 32.817 21.0309 31.6603 21.5068C30.4359 22.0054 29.3042 22.714 28.3199 23.5799C27.0856 24.6597 26.078 25.9726 25.3009 27.397C24.1179 29.5695 23.456 31.9948 23.2715 34.442C23.1655 35.8798 23.2284 37.3286 23.4426 38.7551C23.7215 40.5808 24.2533 42.3768 25.0885 44.0369C25.797 45.4479 26.7296 46.7608 27.8988 47.8476C29.1348 49.0096 30.6453 49.8935 32.2813 50.4072C33.7802 50.8797 35.3705 51.0542 36.9413 50.9883C38.4027 50.9208 39.8611 50.6344 41.2092 50.0734C43.2433 49.2406 44.9767 47.7906 46.2355 46.037C47.8603 43.7815 48.7769 41.0966 49.1372 38.3786C49.613 34.8311 49.0941 31.1331 47.4931 27.8998C46.776 26.4703 45.8494 25.1281 44.6828 24.0085C43.4299 22.7706 41.8862 21.8075 40.1968 21.241C38.632 20.7114 36.9543 20.5386 35.3058 20.656Z"
@@ -264,26 +264,26 @@ const V = (t)=>{
264
264
  });
265
265
  }, I = (param)=>{
266
266
  let { size: t, type: e } = param;
267
- return /* @__PURE__ */ C(m, {
267
+ return /* @__PURE__ */ C(h, {
268
268
  size: t,
269
269
  type: e,
270
270
  isO2NewSkin: !1
271
271
  });
272
- }, O = (param)=>{
272
+ }, b = (param)=>{
273
273
  let { size: t, type: e } = param;
274
- return /* @__PURE__ */ C(m, {
274
+ return /* @__PURE__ */ C(h, {
275
275
  size: t,
276
276
  type: e,
277
277
  isO2NewSkin: !0
278
278
  });
279
- }, S = (param)=>{
279
+ }, O = (param)=>{
280
280
  let { size: t, type: e } = param;
281
- const { isDarkMode: a } = l(), r = Z(), { colors: s } = w(), n = r && !a ? s.inverse : s.brand;
282
- return e === "vertical" ? /* @__PURE__ */ o("svg", {
283
- className: i,
281
+ const { isDarkMode: a } = l(), o = p(), { colors: s } = k(), r = o && !a ? s.inverse : s.brand;
282
+ return e === "vertical" ? /* @__PURE__ */ i("svg", {
283
+ className: n,
284
284
  style: H(V(t)),
285
285
  viewBox: "0 0 73 72",
286
- fill: n,
286
+ fill: r,
287
287
  role: "presentation",
288
288
  children: [
289
289
  /* @__PURE__ */ C("path", {
@@ -338,11 +338,11 @@ const V = (t)=>{
338
338
  d: "M38.5062 58.7624H39.7996L38.6045 60.1904H37.5598L38.5062 58.7624Z"
339
339
  })
340
340
  ]
341
- }) : e === "imagotype" ? /* @__PURE__ */ o("svg", {
342
- className: i,
341
+ }) : e === "imagotype" ? /* @__PURE__ */ i("svg", {
342
+ className: n,
343
343
  style: H(V(t)),
344
344
  viewBox: "0 0 195 72",
345
- fill: n,
345
+ fill: r,
346
346
  role: "presentation",
347
347
  children: [
348
348
  /* @__PURE__ */ C("path", {
@@ -397,11 +397,11 @@ const V = (t)=>{
397
397
  d: "M129.412 27.4879H133.194L129.702 31.706H126.648L129.412 27.4879Z"
398
398
  })
399
399
  ]
400
- }) : /* @__PURE__ */ o("svg", {
401
- className: i,
400
+ }) : /* @__PURE__ */ i("svg", {
401
+ className: n,
402
402
  style: H(V(t)),
403
403
  viewBox: "0 0 72 72",
404
- fill: n,
404
+ fill: r,
405
405
  role: "presentation",
406
406
  children: [
407
407
  /* @__PURE__ */ C("path", {
@@ -457,34 +457,34 @@ const V = (t)=>{
457
457
  })
458
458
  ]
459
459
  });
460
- }, D = (param)=>{
460
+ }, S = (param)=>{
461
461
  let { size: t, type: e } = param;
462
- const { isDarkMode: a } = l(), r = Z(), { colors: s } = k(), n = r && !a ? s.inverse : s.brand, h = r && !a ? s.inverse : s.promo;
463
- return e === "vertical" ? /* @__PURE__ */ o("svg", {
464
- className: i,
462
+ const { isDarkMode: a } = l(), o = p(), { colors: s } = u(), r = o && !a ? s.inverse : s.brand, c = o && !a ? s.inverse : s.promo;
463
+ return e === "vertical" ? /* @__PURE__ */ i("svg", {
464
+ className: n,
465
465
  style: H(V(t)),
466
466
  viewBox: "0 0 73 72",
467
- fill: n,
467
+ fill: r,
468
468
  role: "presentation",
469
469
  children: [
470
470
  /* @__PURE__ */ C("path", {
471
471
  d: "M56.42 52.2003H18.2V63.0003H56.42V52.2003Z",
472
- fill: h
472
+ fill: c
473
473
  }),
474
474
  /* @__PURE__ */ C("path", {
475
475
  d: "M38.8069 36.431H35.0651V31.658H38.8069C40.7615 31.658 41.5432 32.865 41.5432 34.0171C41.5432 35.2789 40.7615 36.431 38.8069 36.431ZM35.121 19.0948H37.9132C40.6496 19.0948 40.4821 23.0447 37.9132 23.0447H35.121V19.0948ZM49.6963 26.2267C52.7119 25.1844 54.3312 22.3864 54.3871 19.369C54.5546 13.7182 50.0316 9 44.3355 9H18.2V19.0398H21.8859V36.7602H18.2V46.8H44.2237C50.925 46.8 56.1188 42.3013 56.3981 35.8276C56.6773 30.89 54.2756 27.9275 49.6963 26.2267Z"
476
476
  })
477
477
  ]
478
- }) : e === "imagotype" ? /* @__PURE__ */ o("svg", {
479
- className: i,
478
+ }) : e === "imagotype" ? /* @__PURE__ */ i("svg", {
479
+ className: n,
480
480
  style: H(V(t)),
481
481
  viewBox: "0 0 138 72",
482
- fill: n,
482
+ fill: r,
483
483
  role: "presentation",
484
484
  children: [
485
485
  /* @__PURE__ */ C("path", {
486
486
  d: "M135.557 54.5729H6.16162V65.184H135.557V54.5729Z",
487
- fill: h
487
+ fill: c
488
488
  }),
489
489
  /* @__PURE__ */ C("path", {
490
490
  d: "M37.7269 25.9921C42.1878 27.7129 44.5575 30.6343 44.2869 35.6127C44.0163 42.0913 38.9696 46.5732 32.3623 46.5732H6.83155V36.5296H10.4229V18.8042H6.83155V8.75793H32.47C38.0579 8.75793 42.5215 13.5131 42.3507 19.1299C42.2929 22.1512 40.6877 24.9701 37.7269 25.9921ZM26.1359 17.9477H22.7942V23.2703H26.1359C29.4277 23.2703 29.6484 17.9477 26.1359 17.9477ZM30.3393 34.0259C30.3393 32.4812 29.3437 30.9443 27.0449 30.9443H22.7915V37.1076H27.0423C29.2806 37.1102 30.3393 35.5917 30.3393 34.0259Z"
@@ -499,27 +499,27 @@ const V = (t)=>{
499
499
  d: "M134.858 17.3435H121.972V33.1222C121.972 35.2844 120.359 36.309 118.748 36.309C117.13 36.309 115.843 35.2345 115.843 33.1774V17.3435H102.949V33.2378C102.949 41.072 106.009 46.9043 114.661 47.1171C117.506 47.1696 120.467 46.2501 122.5 43.6571L122.773 46.5733L134.861 46.5917L134.858 17.3435Z"
500
500
  })
501
501
  ]
502
- }) : /* @__PURE__ */ o("svg", {
503
- className: i,
502
+ }) : /* @__PURE__ */ i("svg", {
503
+ className: n,
504
504
  style: H(V(t)),
505
505
  viewBox: "0 0 72 72",
506
- fill: n,
506
+ fill: r,
507
507
  role: "presentation",
508
508
  children: [
509
509
  /* @__PURE__ */ C("path", {
510
510
  d: "M55.8 52.2003H18V63.0003H55.8V52.2003Z",
511
- fill: h
511
+ fill: c
512
512
  }),
513
513
  /* @__PURE__ */ C("path", {
514
514
  d: "M38.3805 36.431H34.6798V31.658H38.3805C40.3136 31.658 41.0868 32.865 41.0868 34.0171C41.0868 35.2789 40.3136 36.431 38.3805 36.431ZM34.7351 19.0948H37.4966C40.2029 19.0948 40.0373 23.0447 37.4966 23.0447H34.7351V19.0948ZM49.1503 26.2267C52.1327 25.1844 53.7342 22.3864 53.7895 19.369C53.9552 13.7182 49.4819 9 43.8483 9H18V19.0398H21.6454V36.7602H18V46.8H43.7377C50.3654 46.8 55.5022 42.3013 55.7784 35.8276C56.0545 30.89 53.6792 27.9275 49.1503 26.2267Z"
515
515
  })
516
516
  ]
517
517
  });
518
- }, b = (param)=>{
518
+ }, T = (param)=>{
519
519
  let { size: t } = param;
520
- const { isDarkMode: e } = l(), a = Z(), { colors: r } = N(), s = e || a ? r.inverse : r.backgroundBrand;
520
+ const { isDarkMode: e } = l(), a = p(), { colors: o } = N(), s = e || a ? o.inverse : o.backgroundBrand;
521
521
  return /* @__PURE__ */ C("svg", {
522
- className: i,
522
+ className: n,
523
523
  style: H(V(t)),
524
524
  viewBox: "0 0 72 72",
525
525
  fill: s,
@@ -547,22 +547,22 @@ const V = (t)=>{
547
547
  type: a
548
548
  });
549
549
  case "O2-new":
550
- return /* @__PURE__ */ C(O, {
550
+ return /* @__PURE__ */ C(b, {
551
551
  size: t,
552
552
  type: a
553
553
  });
554
554
  case "Telefonica":
555
- return /* @__PURE__ */ C(S, {
555
+ return /* @__PURE__ */ C(O, {
556
556
  size: t,
557
557
  type: a
558
558
  });
559
559
  case "Blau":
560
- return /* @__PURE__ */ C(D, {
560
+ return /* @__PURE__ */ C(S, {
561
561
  size: t,
562
562
  type: a
563
563
  });
564
564
  case "Tu":
565
- return /* @__PURE__ */ C(b, {
565
+ return /* @__PURE__ */ C(T, {
566
566
  size: t,
567
567
  type: a
568
568
  });
@@ -570,51 +570,26 @@ const V = (t)=>{
570
570
  return null;
571
571
  }
572
572
  }, M = (t)=>{
573
- const e = x(t.dataAttributes, "Logo");
574
- return t.to ? /* @__PURE__ */ C(L, {
575
- trackingEvent: t.trackingEvent,
576
- to: t.to,
577
- fullPageOnWebView: t.fullPageOnWebView,
578
- replace: t.replace,
579
- "aria-label": t["aria-label"],
580
- className: c,
581
- dataAttributes: e,
582
- children: t.children
583
- }) : t.href ? /* @__PURE__ */ C(L, {
584
- trackingEvent: t.trackingEvent,
585
- href: t.href,
586
- newTab: t.newTab,
587
- replace: t.replace,
588
- "aria-label": t["aria-label"],
589
- className: c,
590
- dataAttributes: e,
591
- children: t.children
592
- }) : t.onPress ? /* @__PURE__ */ C(L, {
593
- trackingEvent: t.trackingEvent,
594
- onPress: t.onPress,
595
- "aria-label": t.href,
596
- className: c,
597
- dataAttributes: e,
598
- children: t.children
599
- }) : /* @__PURE__ */ C("div", _object_spread_props(_object_spread({
600
- className: c
573
+ const e = w(t.dataAttributes, "Logo");
574
+ return t.to || t.href || t.onPress ? /* @__PURE__ */ C(L, _object_spread({}, t)) : /* @__PURE__ */ C("div", _object_spread_props(_object_spread({
575
+ className: x
601
576
  }, e), {
602
577
  children: t.children
603
578
  }));
604
- }, Y = (_param)=>{
579
+ }, X = (_param)=>{
605
580
  var { size: t, type: e = "isotype" } = _param, a = _object_without_properties(_param, [
606
581
  "size",
607
582
  "type"
608
583
  ]);
609
- const { skinName: r } = l();
584
+ const { skinName: o } = l();
610
585
  return /* @__PURE__ */ C(M, _object_spread_props(_object_spread({}, a), {
611
586
  children: /* @__PURE__ */ C(d, {
612
- skinName: r,
587
+ skinName: o,
613
588
  type: e,
614
589
  size: t
615
590
  })
616
591
  }));
617
- }, _ = (_param)=>{
592
+ }, Y = (_param)=>{
618
593
  var { type: t = "isotype", size: e } = _param, a = _object_without_properties(_param, [
619
594
  "type",
620
595
  "size"
@@ -626,7 +601,7 @@ const V = (t)=>{
626
601
  size: e
627
602
  })
628
603
  }));
629
- }, T = (_param)=>{
604
+ }, _ = (_param)=>{
630
605
  var { size: t, type: e = "isotype" } = _param, a = _object_without_properties(_param, [
631
606
  "size",
632
607
  "type"
@@ -699,4 +674,4 @@ const V = (t)=>{
699
674
  })
700
675
  }));
701
676
  };
702
- export { t1 as BlauLogo, Y as Logo, _ as MovistarLogo, P as O2Logo, z as O2NewLogo, C1 as TelefonicaLogo, e1 as TuLogo, T as VivoLogo };
677
+ export { t1 as BlauLogo, X as Logo, Y as MovistarLogo, P as O2Logo, z as O2NewLogo, C1 as TelefonicaLogo, e1 as TuLogo, _ as VivoLogo };
@@ -1,2 +1,2 @@
1
- const o = "15.4.0";
1
+ const o = "15.6.0";
2
2
  export { o as PACKAGE_VERSION };
@@ -1,7 +1,7 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./responsive-layout.css.ts.vanilla.css-mistica.js";
3
- var e = 16, r = 40, n = 32, v = {
3
+ var e = 16, a = 40, n = 32, t = {
4
4
  inverse: "_1y2v1nf3z",
5
5
  alternative: "_1y2v1nf44"
6
- }, i = "_17lofg74", t = "_17lofg73", _ = "_17lofg7a _1y2v1nfi7", f = "_17lofg75", l = "_17lofg78", p = "_17lofg72 _1y2v1nfi7";
7
- export { e as MOBILE_SIDE_MARGIN, r as SMALL_DESKTOP_SIDE_MARGIN, n as TABLET_SIDE_MARGIN, v as backgroundVariant, i as expandedResponsiveLayoutContainerDesktop, t as expandedResponsiveLayoutContainerMobile, _ as fullWidth, f as fullwidthContainer, l as responsiveLayout, p as responsiveLayoutContainer };
6
+ }, i = "_17lofg77", v = "_17lofg78", _ = "_17lofg7a", f = "_17lofg7f _1y2v1nfi7", l = "_17lofg79", g = "_17lofg73", s = "_17lofg72", M = "_17lofg75", p = "_17lofg74", C = "_17lofg7d", D = "_17lofg76";
7
+ export { e as MOBILE_SIDE_MARGIN, a as SMALL_DESKTOP_SIDE_MARGIN, n as TABLET_SIDE_MARGIN, t as backgroundVariant, i as desktopContainer, v as forcedMarginDesktopContainer, _ as forcedMarginMobileContainer, f as fullWidth, l as mobileContainer, g as resetContainerDesktop, s as resetContainerMobile, M as resetDesktop, p as resetMobile, C as responsiveLayout, D as responsiveLayoutContainer };
@@ -78,38 +78,54 @@ function _object_without_properties_loose(source, excluded) {
78
78
  }
79
79
  return target;
80
80
  }
81
- import { jsx as a } from "react/jsx-runtime";
82
- import r from "classnames";
83
- import { getPrefixedDataAttributes as l } from "./utils/dom.js";
84
- import { fullwidthContainer as c, responsiveLayoutContainer as f, backgroundVariant as y, expandedResponsiveLayoutContainerMobile as L, expandedResponsiveLayoutContainerDesktop as x, fullWidth as R, responsiveLayout as V } from "./responsive-layout.css-mistica.js";
85
- import { useThemeVariant as h, ThemeVariant as b } from "./theme-variant-context.js";
86
- const C = (param)=>{
87
- let { children: n, isInverse: o = !1, variant: p, backgroundColor: s, className: u, fullWidth: e, dataAttributes: d, shouldExpandWhenNested: i = !1, innerDivClassName: m } = param;
88
- const v = h(), t = p || o && "inverse" || void 0;
89
- return /* @__PURE__ */ a(b, {
90
- variant: t !== null && t !== void 0 ? t : v,
91
- children: /* @__PURE__ */ a("div", _object_spread_props(_object_spread({
92
- className: r(e ? c : f, u, t && t !== "default" && y[t], {
93
- [L]: i === !0 && !e,
94
- [x]: i && !e
95
- }),
81
+ import { jsx as t } from "react/jsx-runtime";
82
+ import o from "classnames";
83
+ import { getPrefixedDataAttributes as f } from "./utils/dom.js";
84
+ import { backgroundVariant as v, desktopContainer as p, forcedMarginDesktopContainer as y, mobileContainer as h, forcedMarginMobileContainer as C, responsiveLayoutContainer as L, fullWidth as b, responsiveLayout as R, resetContainerMobile as V, resetContainerDesktop as g, resetMobile as M, resetDesktop as N } from "./responsive-layout.css-mistica.js";
85
+ import { useThemeVariant as x, ThemeVariant as D } from "./theme-variant-context.js";
86
+ const k = (param)=>{
87
+ let { children: a, isInverse: e = !1, variant: r, backgroundColor: s, className: d, fullWidth: i, dataAttributes: m, shouldExpandWhenNested: l = !1, innerDivClassName: c } = param;
88
+ const u = x(), n = r || e && "inverse" || void 0;
89
+ return /* @__PURE__ */ t(D, {
90
+ variant: n !== null && n !== void 0 ? n : u,
91
+ children: /* @__PURE__ */ t("div", _object_spread_props(_object_spread({
92
+ className: o(d, n && n !== "default" && v[n], ...i ? [] : [
93
+ l ? p : y,
94
+ l === !0 ? h : C,
95
+ L
96
+ ]),
96
97
  style: s ? {
97
98
  background: s
98
99
  } : void 0
99
- }, l(d)), {
100
- children: /* @__PURE__ */ a("div", {
101
- className: r(e ? R : V, m),
102
- children: n
100
+ }, f(m)), {
101
+ children: /* @__PURE__ */ t("div", {
102
+ className: o(i ? b : R, c),
103
+ children: a
103
104
  })
104
105
  }))
105
106
  });
106
- }, g = (_param)=>{
107
- var { children: n } = _param, o = _object_without_properties(_param, [
107
+ }, T = (_param)=>{
108
+ var { children: a } = _param, e = _object_without_properties(_param, [
108
109
  "children"
109
110
  ]);
110
- return /* @__PURE__ */ a(C, _object_spread_props(_object_spread({}, o), {
111
+ return /* @__PURE__ */ t(k, _object_spread_props(_object_spread({}, e), {
111
112
  shouldExpandWhenNested: !0,
112
- children: n
113
+ children: a
113
114
  }));
114
- }, w = g;
115
- export { C as InternalResponsiveLayout, w as default };
115
+ }, q = (param)=>{
116
+ let { children: a, skipMobile: e = !1, skipDesktop: r = !1 } = param;
117
+ return /* @__PURE__ */ t("div", {
118
+ className: o({
119
+ [V]: !e,
120
+ [g]: !r
121
+ }),
122
+ children: /* @__PURE__ */ t("div", {
123
+ className: o({
124
+ [M]: !e,
125
+ [N]: !r
126
+ }),
127
+ children: a
128
+ })
129
+ });
130
+ }, w = T;
131
+ export { k as InternalResponsiveLayout, q as ResetResponsiveLayout, w as default };