@telefonica/mistica 16.1.0 → 16.2.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 (148) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.css-mistica.js +12 -9
  3. package/dist/accordion.css.d.ts +1 -0
  4. package/dist/accordion.js +36 -39
  5. package/dist/align.css-mistica.js +12 -0
  6. package/dist/align.css.d.ts +1 -0
  7. package/dist/align.css.ts.vanilla.css-mistica.js +11 -0
  8. package/dist/align.d.ts +12 -0
  9. package/dist/align.js +79 -0
  10. package/dist/box.css-mistica.js +41 -0
  11. package/dist/box.css.d.ts +23 -0
  12. package/dist/box.css.ts.vanilla.css-mistica.js +11 -0
  13. package/dist/box.d.ts +4 -0
  14. package/dist/box.js +39 -31
  15. package/dist/boxed.css-mistica.js +10 -5
  16. package/dist/boxed.css.d.ts +3 -0
  17. package/dist/boxed.js +20 -24
  18. package/dist/callout.css-mistica.js +12 -4
  19. package/dist/callout.css.d.ts +1 -0
  20. package/dist/callout.js +14 -22
  21. package/dist/card.css-mistica.js +26 -23
  22. package/dist/card.css.d.ts +1 -0
  23. package/dist/card.js +17 -23
  24. package/dist/community/advanced-data-card.css-mistica.js +32 -23
  25. package/dist/community/advanced-data-card.css.d.ts +3 -0
  26. package/dist/community/advanced-data-card.js +46 -55
  27. package/dist/empty-state.css-mistica.js +11 -8
  28. package/dist/empty-state.css.d.ts +1 -0
  29. package/dist/empty-state.js +10 -13
  30. package/dist/form.css-mistica.js +12 -0
  31. package/dist/form.css.d.ts +1 -0
  32. package/dist/form.js +8 -10
  33. package/dist/grid.css-mistica.js +143 -126
  34. package/dist/grid.css.d.ts +13 -0
  35. package/dist/grid.js +35 -38
  36. package/dist/hero.css-mistica.js +14 -8
  37. package/dist/hero.css.d.ts +2 -0
  38. package/dist/hero.js +17 -25
  39. package/dist/image.js +23 -25
  40. package/dist/index.d.ts +1 -0
  41. package/dist/index.js +4 -0
  42. package/dist/inline.js +10 -11
  43. package/dist/list.css-mistica.js +12 -9
  44. package/dist/list.css.d.ts +1 -0
  45. package/dist/list.js +43 -46
  46. package/dist/loading-screen.js +16 -16
  47. package/dist/logo-blau.d.ts +1 -1
  48. package/dist/logo-blau.js +10 -10
  49. package/dist/logo-common.d.ts +1 -0
  50. package/dist/logo-movistar.d.ts +1 -1
  51. package/dist/logo-movistar.js +4 -4
  52. package/dist/logo-o2-new.d.ts +1 -1
  53. package/dist/logo-o2-new.js +5 -5
  54. package/dist/logo-o2.d.ts +1 -1
  55. package/dist/logo-o2.js +5 -5
  56. package/dist/logo-telefonica.d.ts +1 -1
  57. package/dist/logo-telefonica.js +4 -4
  58. package/dist/logo-tu.d.ts +1 -1
  59. package/dist/logo-tu.js +5 -5
  60. package/dist/logo-vivo.d.ts +1 -1
  61. package/dist/logo-vivo.js +7 -7
  62. package/dist/logo.d.ts +9 -8
  63. package/dist/logo.js +125 -102
  64. package/dist/navigation-bar.css-mistica.js +23 -20
  65. package/dist/navigation-bar.css.d.ts +1 -0
  66. package/dist/navigation-bar.js +30 -37
  67. package/dist/package-version.js +1 -1
  68. package/dist/phone-number-field.d.ts +1 -4
  69. package/dist/phone-number-field.js +52 -82
  70. package/dist/popover.d.ts +1 -0
  71. package/dist/popover.js +9 -10
  72. package/dist/sheet-common.css-mistica.js +5 -5
  73. package/dist/skeleton-base.js +10 -12
  74. package/dist/skeletons.css-mistica.js +11 -5
  75. package/dist/skeletons.css.d.ts +1 -0
  76. package/dist/snackbar.css-mistica.js +20 -14
  77. package/dist/snackbar.css.d.ts +3 -1
  78. package/dist/snackbar.js +65 -75
  79. package/dist/tag.css-mistica.js +15 -4
  80. package/dist/tag.css.d.ts +2 -0
  81. package/dist/tag.js +20 -24
  82. package/dist/text-field-base.d.ts +1 -1
  83. package/dist/text-field-components.css-mistica.js +16 -10
  84. package/dist/text-field-components.css.d.ts +1 -0
  85. package/dist/text-field-components.js +32 -35
  86. package/dist/timer.js +42 -43
  87. package/dist/tooltip.d.ts +3 -1
  88. package/dist/tooltip.js +106 -106
  89. package/dist/touchable.js +47 -42
  90. package/dist-es/accordion.css-mistica.js +3 -3
  91. package/dist-es/accordion.js +58 -61
  92. package/dist-es/align.css-mistica.js +3 -0
  93. package/dist-es/align.css.ts.vanilla.css-mistica.js +2 -0
  94. package/dist-es/align.js +70 -0
  95. package/dist-es/box.css-mistica.js +24 -0
  96. package/dist-es/box.css.ts.vanilla.css-mistica.js +2 -0
  97. package/dist-es/box.js +43 -35
  98. package/dist-es/boxed.css-mistica.js +5 -3
  99. package/dist-es/boxed.js +28 -32
  100. package/dist-es/callout.css-mistica.js +7 -2
  101. package/dist-es/callout.js +44 -52
  102. package/dist-es/card.css-mistica.js +4 -4
  103. package/dist-es/card.js +11 -17
  104. package/dist-es/community/advanced-data-card.css-mistica.js +7 -7
  105. package/dist-es/community/advanced-data-card.js +90 -99
  106. package/dist-es/empty-state.css-mistica.js +3 -3
  107. package/dist-es/empty-state.js +19 -22
  108. package/dist-es/form.css-mistica.js +3 -0
  109. package/dist-es/form.js +12 -14
  110. package/dist-es/grid.css-mistica.js +123 -112
  111. package/dist-es/grid.js +38 -41
  112. package/dist-es/hero.css-mistica.js +2 -2
  113. package/dist-es/hero.js +36 -44
  114. package/dist-es/image.js +28 -30
  115. package/dist-es/index.js +1844 -1843
  116. package/dist-es/inline.js +19 -20
  117. package/dist-es/list.css-mistica.js +2 -2
  118. package/dist-es/list.js +75 -78
  119. package/dist-es/loading-screen.js +30 -30
  120. package/dist-es/logo-blau.js +11 -11
  121. package/dist-es/logo-movistar.js +5 -5
  122. package/dist-es/logo-o2-new.js +8 -8
  123. package/dist-es/logo-o2.js +8 -8
  124. package/dist-es/logo-telefonica.js +4 -4
  125. package/dist-es/logo-tu.js +8 -8
  126. package/dist-es/logo-vivo.js +16 -16
  127. package/dist-es/logo.js +132 -109
  128. package/dist-es/navigation-bar.css-mistica.js +11 -11
  129. package/dist-es/navigation-bar.js +80 -87
  130. package/dist-es/package-version.js +1 -1
  131. package/dist-es/phone-number-field.js +59 -89
  132. package/dist-es/popover.js +17 -18
  133. package/dist-es/sheet-common.css-mistica.js +2 -2
  134. package/dist-es/skeleton-base.js +15 -17
  135. package/dist-es/skeletons.css-mistica.js +5 -2
  136. package/dist-es/snackbar.css-mistica.js +4 -4
  137. package/dist-es/snackbar.js +93 -103
  138. package/dist-es/style.css +1 -1
  139. package/dist-es/tag.css-mistica.js +2 -2
  140. package/dist-es/tag.js +34 -38
  141. package/dist-es/text-field-components.css-mistica.js +5 -2
  142. package/dist-es/text-field-components.js +48 -51
  143. package/dist-es/timer.js +80 -81
  144. package/dist-es/tooltip.js +148 -148
  145. package/dist-es/touchable.js +55 -50
  146. package/package.json +1 -1
  147. package/dist/sprinkles.css-mistica.js +0 -2494
  148. package/dist-es/sprinkles.css-mistica.js +0 -2485
package/dist-es/hero.js CHANGED
@@ -81,30 +81,29 @@ function _object_without_properties_loose(source, excluded) {
81
81
  import { jsx as r, jsxs as p } from "react/jsx-runtime";
82
82
  import * as $ from "react";
83
83
  import h from "classnames";
84
- import { useScreenSize as j } from "./hooks.js";
85
- import { Text3 as g, Text8 as G } from "./text.js";
86
- import A from "./grid-layout.js";
84
+ import { useScreenSize as D } from "./hooks.js";
85
+ import { Text3 as R, Text8 as G } from "./text.js";
86
+ import j from "./grid-layout.js";
87
87
  import m from "./box.js";
88
- import R from "./stack.js";
89
- import E from "./button-group.js";
88
+ import g from "./stack.js";
89
+ import A from "./button-group.js";
90
90
  import { vars as i } from "./skins/skin-contract.css-mistica.js";
91
- import { container as v, containerMobile as M, containerMinHeight as C, expandedContent as V, layout as B, vars as H, containerDesktop as S, actions as _ } from "./hero.css-mistica.js";
91
+ import { container as v, containerMobile as E, containerMinHeight as C, expandedContent as M, layout as B, vars as H, hero as V, containerDesktop as S, contentContainer as _, actions as z } from "./hero.css-mistica.js";
92
92
  import { vars as y } from "./image.css-mistica.js";
93
- import { useSlideshowContext as z } from "./carousel.js";
93
+ import { useSlideshowContext as K } from "./carousel.js";
94
94
  import { getPrefixedDataAttributes as T } from "./utils/dom.js";
95
- import { sprinkles as w } from "./sprinkles.css-mistica.js";
96
- import { useIsInverseOrMediaVariant as K } from "./theme-variant-context.js";
95
+ import { useIsInverseOrMediaVariant as U } from "./theme-variant-context.js";
97
96
  import { applyCssVars as x } from "./utils/css.js";
98
- import { ResetResponsiveLayout as U, InternalResponsiveLayout as W } from "./responsive-layout.js";
99
- const k = {
97
+ import { ResetResponsiveLayout as W, InternalResponsiveLayout as q } from "./responsive-layout.js";
98
+ const O = {
100
99
  default: i.colors.background,
101
100
  alternative: i.colors.backgroundAlternative,
102
101
  brand: i.colors.backgroundBrand,
103
102
  "brand-secondary": i.colors.backgroundBrandSecondary,
104
103
  none: "transparent"
105
- }, O = (param)=>{
104
+ }, k = (param)=>{
106
105
  let { children: e, isInverse: o, backgroundColor: t } = param;
107
- return /* @__PURE__ */ r(W, {
106
+ return /* @__PURE__ */ r(q, {
108
107
  isInverse: o,
109
108
  className: B,
110
109
  innerDivClassName: B,
@@ -113,25 +112,20 @@ const k = {
113
112
  children: e
114
113
  });
115
114
  }, b = (param)=>{
116
- let { headline: e, title: o, titleAs: t = "h1", pretitle: l, description: c, descriptionLinesMax: a, extra: n, button: d, secondaryButton: f, buttonLink: s } = param;
115
+ let { headline: e, title: o, titleAs: t = "h1", pretitle: l, description: c, descriptionLinesMax: a, extra: n, button: d, secondaryButton: u, buttonLink: s } = param;
117
116
  return /* @__PURE__ */ p("section", {
118
- className: w({
119
- height: "100%",
120
- display: "flex",
121
- justifyContent: "space-between",
122
- flexDirection: "column"
123
- }),
117
+ className: _,
124
118
  children: [
125
119
  /* @__PURE__ */ p("div", {
126
120
  children: [
127
- /* @__PURE__ */ p(R, {
121
+ /* @__PURE__ */ p(g, {
128
122
  space: 16,
129
123
  children: [
130
124
  e && e,
131
- /* @__PURE__ */ p(R, {
125
+ /* @__PURE__ */ p(g, {
132
126
  space: 8,
133
127
  children: [
134
- l && /* @__PURE__ */ r(g, {
128
+ l && /* @__PURE__ */ r(R, {
135
129
  as: "p",
136
130
  regular: !0,
137
131
  children: l
@@ -142,7 +136,7 @@ const k = {
142
136
  })
143
137
  ]
144
138
  }),
145
- c && /* @__PURE__ */ r(g, {
139
+ c && /* @__PURE__ */ r(R, {
146
140
  as: "p",
147
141
  regular: !0,
148
142
  color: i.colors.textSecondary,
@@ -157,16 +151,16 @@ const k = {
157
151
  ]
158
152
  }),
159
153
  (d || s) && /* @__PURE__ */ r("div", {
160
- className: _,
161
- children: /* @__PURE__ */ r(E, {
154
+ className: z,
155
+ children: /* @__PURE__ */ r(A, {
162
156
  primaryButton: d,
163
- secondaryButton: f,
157
+ secondaryButton: u,
164
158
  link: s
165
159
  })
166
160
  })
167
161
  ]
168
162
  });
169
- }, q = /*#__PURE__*/ $.forwardRef((_param, d)=>{
163
+ }, F = /*#__PURE__*/ $.forwardRef((_param, d)=>{
170
164
  var { height: e, background: o = "default", media: t, desktopMediaPosition: l = "left", dataAttributes: c, noPaddingY: a } = _param, n = _object_without_properties(_param, [
171
165
  "height",
172
166
  "background",
@@ -175,8 +169,8 @@ const k = {
175
169
  "dataAttributes",
176
170
  "noPaddingY"
177
171
  ]);
178
- const { isTabletOrSmaller: f } = j(), s = z(), u = !!(s != null && s.withBullets), D = K(), N = o === "none" ? D : o === "brand" || o === "brand-secondary";
179
- if (f) return /* @__PURE__ */ r(U, {
172
+ const { isTabletOrSmaller: u } = D(), s = K(), f = !!(s != null && s.withBullets), w = U(), N = o === "none" ? w : o === "brand" || o === "brand-secondary";
173
+ if (u) return /* @__PURE__ */ r(W, {
180
174
  children: /* @__PURE__ */ r("div", {
181
175
  style: x({
182
176
  [y.mediaBorderRadius]: "0px"
@@ -191,19 +185,19 @@ const k = {
191
185
  [H.height]: typeof e == "number" ? `${e}px` : e !== null && e !== void 0 ? e : "100%",
192
186
  [y.mediaBorderRadius]: "0px"
193
187
  })),
194
- className: h(v, M, {
188
+ className: h(v, E, {
195
189
  [C]: !a
196
190
  }),
197
191
  children: [
198
192
  t,
199
- /* @__PURE__ */ r(O, {
193
+ /* @__PURE__ */ r(k, {
200
194
  isInverse: N,
201
- backgroundColor: k[o],
195
+ backgroundColor: O[o],
202
196
  children: /* @__PURE__ */ r("div", {
203
- className: V,
197
+ className: M,
204
198
  children: /* @__PURE__ */ r(m, {
205
199
  paddingTop: 24,
206
- paddingBottom: u ? 48 : a ? 0 : 24,
200
+ paddingBottom: f ? 48 : a ? 0 : 24,
207
201
  className: B,
208
202
  children: /* @__PURE__ */ r(b, _object_spread({}, n))
209
203
  })
@@ -230,18 +224,16 @@ const k = {
230
224
  [H.height]: typeof e == "number" ? `${e}px` : e !== null && e !== void 0 ? e : "100%",
231
225
  [y.mediaBorderRadius]: i.borderRadii.container
232
226
  })), {
233
- background: k[o]
234
- }),
235
- className: w({
236
- height: "100%"
227
+ background: O[o]
237
228
  }),
238
- children: /* @__PURE__ */ r(O, {
229
+ className: V,
230
+ children: /* @__PURE__ */ r(k, {
239
231
  isInverse: N,
240
- children: /* @__PURE__ */ r(A, {
232
+ children: /* @__PURE__ */ r(j, {
241
233
  template: "6+6",
242
234
  left: /* @__PURE__ */ r(m, {
243
235
  paddingTop: a ? 0 : 56,
244
- paddingBottom: a && !u ? 0 : 56,
236
+ paddingBottom: a && !f ? 0 : 56,
245
237
  className: h(v, S, {
246
238
  [C]: !a
247
239
  }),
@@ -249,12 +241,12 @@ const k = {
249
241
  }),
250
242
  right: /* @__PURE__ */ r(m, {
251
243
  paddingTop: a ? 0 : 56,
252
- paddingBottom: a && !u ? 0 : 56,
244
+ paddingBottom: a && !f ? 0 : 56,
253
245
  className: h(v, S),
254
246
  children: L
255
247
  })
256
248
  })
257
249
  })
258
250
  }));
259
- }), dr = q;
251
+ }), dr = F;
260
252
  export { dr as default };
package/dist-es/image.js CHANGED
@@ -87,13 +87,12 @@ import { getPrefixedDataAttributes as Z } from "./utils/dom.js";
87
87
  import { useIsInverseVariant as z } from "./theme-variant-context.js";
88
88
  import { useTheme as F } from "./hooks.js";
89
89
  import { VIVO_SKIN as T, VIVO_NEW_SKIN as O } from "./skins/constants.js";
90
- import { sprinkles as j } from "./sprinkles.css-mistica.js";
91
- import { circularBorderRadius as D, noBorderRadius as $, defaultBorderRadius as p, FADE_IN_DURATION_MS as K, image as P, imageWithBorder as U } from "./image.css-mistica.js";
90
+ import { circularBorderRadius as j, noBorderRadius as D, defaultBorderRadius as $, FADE_IN_DURATION_MS as K, image as P, imageWithBorder as U } from "./image.css-mistica.js";
92
91
  import { vars as r } from "./skins/skin-contract.css-mistica.js";
93
- import { combineRefs as q } from "./utils/common.js";
94
- import G from "./skeleton-base.js";
95
- import { isServerSide as J } from "./utils/environment.js";
96
- const Q = (param)=>{
92
+ import { combineRefs as p } from "./utils/common.js";
93
+ import q from "./skeleton-base.js";
94
+ import { isServerSide as G } from "./utils/environment.js";
95
+ const J = (param)=>{
97
96
  let { style: e } = param;
98
97
  return /* @__PURE__ */ t("svg", {
99
98
  width: "48",
@@ -107,9 +106,9 @@ const Q = (param)=>{
107
106
  strokeWidth: "2"
108
107
  })
109
108
  });
110
- }, X = /*#__PURE__*/ o.forwardRef((param, s)=>{
109
+ }, Q = /*#__PURE__*/ o.forwardRef((param, n)=>{
111
110
  let { borderRadius: e, withIcon: C = !0, border: d, className: m } = param;
112
- const a = z(), { skinName: n } = F();
111
+ const a = z(), { skinName: s } = F();
113
112
  return /* @__PURE__ */ t("div", {
114
113
  style: {
115
114
  height: "100%",
@@ -122,15 +121,15 @@ const Q = (param)=>{
122
121
  border: d ? `1px solid ${r.colors.borderLow}` : "none",
123
122
  borderRadius: e
124
123
  },
125
- ref: s,
124
+ ref: n,
126
125
  className: m,
127
- children: C ? n === T ? /* @__PURE__ */ t(Q, {
126
+ children: C ? s === T ? /* @__PURE__ */ t(J, {
128
127
  style: {
129
128
  width: "10%",
130
129
  minWidth: 24,
131
130
  maxWidth: 48
132
131
  }
133
- }) : n === O ? /* @__PURE__ */ w("svg", {
132
+ }) : s === O ? /* @__PURE__ */ w("svg", {
134
133
  viewBox: "0 0 24 24",
135
134
  role: "presentation",
136
135
  style: {
@@ -172,8 +171,8 @@ const Q = (param)=>{
172
171
  "16:9": 16 / 9,
173
172
  "7:10": 7 / 10,
174
173
  "4:3": 4 / 3
175
- }, Y = /*#__PURE__*/ o.forwardRef((_param, S)=>{
176
- var { aspectRatio: e = 0, alt: C = "", dataAttributes: d, noBorderRadius: m, src: s, srcSet: a, onError: n, onLoad: l, loadingFallback: M = !0, errorFallback: x = !0 } = _param, i = _object_without_properties(_param, [
174
+ }, X = /*#__PURE__*/ o.forwardRef((_param, S)=>{
175
+ var { aspectRatio: e = 0, alt: C = "", dataAttributes: d, noBorderRadius: m, src: n, srcSet: a, onError: s, onLoad: l, loadingFallback: M = !0, errorFallback: x = !0 } = _param, i = _object_without_properties(_param, [
177
176
  "aspectRatio",
178
177
  "alt",
179
178
  "dataAttributes",
@@ -186,7 +185,7 @@ const Q = (param)=>{
186
185
  "errorFallback"
187
186
  ]);
188
187
  var I;
189
- const h = o.useId(), c = o.useRef(), u = i.circular ? D : m ? $ : p, [y, f] = o.useState(!s), [B, g] = o.useState(!1), L = i.width && i.height ? void 0 : i.circular ? 1 : typeof e == "number" ? e : H[e], b = M && !!(L !== 0 || i.width && i.height), A = x && !!(L !== 0 || i.width && i.height), v = o.useCallback(()=>{
188
+ const h = o.useId(), c = o.useRef(), u = i.circular ? j : m ? D : $, [y, f] = o.useState(!n), [B, g] = o.useState(!1), L = i.width && i.height ? void 0 : i.circular ? 1 : typeof e == "number" ? e : H[e], b = M && !!(L !== 0 || i.width && i.height), A = x && !!(L !== 0 || i.width && i.height), v = o.useCallback(()=>{
190
189
  f(!1), c.current && (c.current.style.opacity = "1"), setTimeout(()=>{
191
190
  g(!0);
192
191
  }, K), l == null || l();
@@ -194,34 +193,33 @@ const Q = (param)=>{
194
193
  l
195
194
  ]);
196
195
  o.useEffect(()=>{
197
- f(!s), g(!1);
196
+ f(!n), g(!1);
198
197
  }, [
199
- s
198
+ n
200
199
  ]), o.useEffect(()=>{
201
200
  var R;
202
201
  (R = c.current) != null && R.complete && v();
203
202
  }, [
204
203
  v
205
204
  ]);
206
- const N = J() || !((I = document.getElementById(h)) != null && I.complete), W = /* @__PURE__ */ w(k, {
205
+ const N = G() || !((I = document.getElementById(h)) != null && I.complete), W = /* @__PURE__ */ w(k, {
207
206
  children: [
208
207
  /* @__PURE__ */ t("img", {
209
208
  suppressHydrationWarning: !0,
210
209
  id: h,
211
210
  style: {
212
- opacity: N && b ? 0 : 1
211
+ opacity: N && b ? 0 : 1,
212
+ position: L !== 0 ? "absolute" : "static"
213
213
  },
214
- ref: q(c, S),
215
- src: s,
214
+ ref: p(c, S),
215
+ src: n,
216
216
  srcSet: a,
217
217
  className: E(u, P, {
218
218
  [U]: i.border
219
- }, j({
220
- position: L !== 0 ? "absolute" : "static"
221
- })),
219
+ }),
222
220
  alt: C,
223
221
  onError: ()=>{
224
- f(!0), g(!0), n == null || n();
222
+ f(!0), g(!0), s == null || s();
225
223
  },
226
224
  onLoad: v,
227
225
  decoding: "async"
@@ -247,7 +245,7 @@ const Q = (param)=>{
247
245
  children: /* @__PURE__ */ t(V, {
248
246
  height: (_i_height = i.height) !== null && _i_height !== void 0 ? _i_height : "100%",
249
247
  width: (_i_width = i.width) !== null && _i_width !== void 0 ? _i_width : "100%",
250
- children: /* @__PURE__ */ t(G, {
248
+ children: /* @__PURE__ */ t(q, {
251
249
  height: "100%",
252
250
  width: "100%",
253
251
  noBorderRadius: !0
@@ -260,7 +258,7 @@ const Q = (param)=>{
260
258
  width: "100%",
261
259
  height: "100%"
262
260
  },
263
- children: /* @__PURE__ */ t(X, {
261
+ children: /* @__PURE__ */ t(Q, {
264
262
  border: i.border,
265
263
  className: u
266
264
  })
@@ -268,7 +266,7 @@ const Q = (param)=>{
268
266
  !y && W
269
267
  ]
270
268
  });
271
- }), e1 = /*#__PURE__*/ o.forwardRef((e, C)=>{
269
+ }), Y = /*#__PURE__*/ o.forwardRef((e, C)=>{
272
270
  var _e_aspectRatio;
273
271
  const d = e.width && e.height ? void 0 : e.circular ? 1 : typeof e.aspectRatio == "number" || !e.aspectRatio ? (_e_aspectRatio = e.aspectRatio) !== null && _e_aspectRatio !== void 0 ? _e_aspectRatio : 0 : H[e.aspectRatio];
274
272
  return /* @__PURE__ */ t(_, {
@@ -280,9 +278,9 @@ const Q = (param)=>{
280
278
  height: e.height,
281
279
  dataAttributes: Z(e.dataAttributes, "Image"),
282
280
  forceNonCssAspectRatio: e.forceNonCssAspectRatio,
283
- children: /* @__PURE__ */ t(Y, _object_spread_props(_object_spread({}, e), {
281
+ children: /* @__PURE__ */ t(X, _object_spread_props(_object_spread({}, e), {
284
282
  ref: C
285
283
  }))
286
284
  });
287
- }), f1 = e1;
288
- export { Y as ImageContent, X as ImageError, H as RATIO, f1 as default };
285
+ }), h1 = Y;
286
+ export { X as ImageContent, Q as ImageError, H as RATIO, h1 as default };