@telefonica/mistica 14.48.0 → 15.0.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 (68) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.d.ts +1 -6
  3. package/dist/button.d.ts +0 -4
  4. package/dist/button.js +1 -1
  5. package/dist/cvv-field.js +30 -29
  6. package/dist/feedback.js +61 -79
  7. package/dist/icon-button.d.ts +0 -1
  8. package/dist/icons/icon-error.js +5 -5
  9. package/dist/icons/icon-info.js +5 -5
  10. package/dist/icons/icon-success.js +6 -7
  11. package/dist/image.js +36 -32
  12. package/dist/index.d.ts +3 -12
  13. package/dist/index.js +0 -20
  14. package/dist/list.d.ts +0 -4
  15. package/dist/logo.js +0 -1
  16. package/dist/package-version.js +1 -1
  17. package/dist/popover.d.ts +0 -4
  18. package/dist/popover.js +10 -11
  19. package/dist/select.d.ts +1 -0
  20. package/dist/select.js +65 -65
  21. package/dist/skins/blau.js +1 -1
  22. package/dist/skins/constants.d.ts +0 -2
  23. package/dist/skins/constants.js +6 -12
  24. package/dist/skins/movistar.js +1 -1
  25. package/dist/skins/o2.js +1 -1
  26. package/dist/skins/telefonica.js +1 -1
  27. package/dist/skins/tu.js +1 -1
  28. package/dist/skins/types/index.d.ts +1 -1
  29. package/dist/skins/utils.js +4 -7
  30. package/dist/skins/vivo-new.js +1 -1
  31. package/dist/skins/vivo.js +1 -1
  32. package/dist/slider.d.ts +0 -8
  33. package/dist/slider.js +95 -97
  34. package/dist/tag.js +34 -39
  35. package/dist/tooltip.d.ts +0 -16
  36. package/dist/tooltip.js +78 -79
  37. package/dist-es/button.js +1 -1
  38. package/dist-es/cvv-field.js +55 -54
  39. package/dist-es/feedback.js +102 -120
  40. package/dist-es/icons/icon-error.js +6 -6
  41. package/dist-es/icons/icon-info.js +6 -6
  42. package/dist-es/icons/icon-success.js +9 -10
  43. package/dist-es/image.js +38 -34
  44. package/dist-es/index.js +1767 -1769
  45. package/dist-es/logo.js +0 -1
  46. package/dist-es/package-version.js +1 -1
  47. package/dist-es/popover.js +27 -28
  48. package/dist-es/select.js +97 -97
  49. package/dist-es/skins/blau.js +1 -1
  50. package/dist-es/skins/constants.js +2 -2
  51. package/dist-es/skins/movistar.js +1 -1
  52. package/dist-es/skins/o2.js +1 -1
  53. package/dist-es/skins/telefonica.js +1 -1
  54. package/dist-es/skins/tu.js +1 -1
  55. package/dist-es/skins/utils.js +17 -20
  56. package/dist-es/skins/vivo-new.js +1 -1
  57. package/dist-es/skins/vivo.js +1 -1
  58. package/dist-es/slider.js +117 -119
  59. package/dist-es/style.css +1 -1
  60. package/dist-es/tag.js +52 -57
  61. package/dist-es/tooltip.js +83 -84
  62. package/package.json +1 -1
  63. package/dist/skins/movistar-legacy.d.ts +0 -47
  64. package/dist/skins/movistar-legacy.js +0 -392
  65. package/dist/skins/o2-classic.d.ts +0 -56
  66. package/dist/skins/o2-classic.js +0 -324
  67. package/dist-es/skins/movistar-legacy.js +0 -375
  68. package/dist-es/skins/o2-classic.js +0 -307
package/dist/cvv-field.js CHANGED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "default", {
7
7
  enumerable: true,
8
8
  get: function() {
9
- return gr;
9
+ return hr;
10
10
  }
11
11
  });
12
12
  const _jsxruntime = require("react/jsx-runtime");
@@ -15,7 +15,6 @@ const _hooks = require("./hooks.js");
15
15
  const _iconcvvvisamc = /*#__PURE__*/ _interop_require_default(require("./icons/icon-cvv-visa-mc.js"));
16
16
  const _iconcvvamex = /*#__PURE__*/ _interop_require_default(require("./icons/icon-cvv-amex.js"));
17
17
  const _popover = /*#__PURE__*/ _interop_require_default(require("./popover.js"));
18
- const _iconbutton = require("./icon-button.js");
19
18
  const _iconinformationregular = /*#__PURE__*/ _interop_require_default(require("./generated/mistica-icons/icon-information-regular.js"));
20
19
  const _formcontext = require("./form-context.js");
21
20
  const _textfieldbase = require("./text-field-base.js");
@@ -28,6 +27,7 @@ const _text = /*#__PURE__*/ _interop_require_default(require("./text.js"));
28
27
  const _skincontractcssmistica = require("./skins/skin-contract.css-mistica.js");
29
28
  const _css = require("./utils/css.js");
30
29
  const _textfieldbasecssmistica = require("./text-field-base.css-mistica.js");
30
+ const _touchable = /*#__PURE__*/ _interop_require_default(require("./touchable.js"));
31
31
  function _interop_require_default(obj) {
32
32
  return obj && obj.__esModule ? obj : {
33
33
  default: obj
@@ -194,11 +194,11 @@ const Z = (param)=>{
194
194
  })
195
195
  });
196
196
  }, _ = (_param)=>{
197
- var { disabled: e, error: i, helperText: z, name: m, optional: u, validate: c, onChange: B, onChangeValue: M, onBlur: V, acceptedCards: y = {
197
+ var { disabled: e, error: i, helperText: M, name: l, optional: d, validate: c, onChange: V, onChangeValue: y, onBlur: z, acceptedCards: B = {
198
198
  americanExpress: !0,
199
199
  visa: !0,
200
200
  masterCard: !0
201
- }, maxLength: l = 4, value: E, autoComplete: $ = "cc-csc", defaultValue: j, dataAttributes: A } = _param, S = _object_without_properties(_param, [
201
+ }, maxLength: p = 4, value: E, autoComplete: $ = "cc-csc", defaultValue: j, dataAttributes: A } = _param, S = _object_without_properties(_param, [
202
202
  "disabled",
203
203
  "error",
204
204
  "helperText",
@@ -215,57 +215,58 @@ const Z = (param)=>{
215
215
  "defaultValue",
216
216
  "dataAttributes"
217
217
  ]);
218
- const { texts: n } = (0, _hooks.useTheme)(), { setFormError: O, jumpToNext: R } = (0, _formcontext.useForm)(), [p, d] = _react.useState(!1), v = (o, s)=>o ? o.length !== l ? n.formCreditCardCvvError : c == null ? void 0 : c(o, s) : u ? "" : n.formFieldErrorIsMandatory, C = (o)=>o, g = (0, _formcontext.useFieldProps)({
219
- name: m,
218
+ const { texts: n } = (0, _hooks.useTheme)(), { setFormError: b, jumpToNext: w } = (0, _formcontext.useForm)(), [a, u] = _react.useState(!1), v = (o, s)=>o ? o.length !== p ? n.formCreditCardCvvError : c == null ? void 0 : c(o, s) : d ? "" : n.formFieldErrorIsMandatory, C = (o)=>o, h = (0, _formcontext.useFieldProps)({
219
+ name: l,
220
220
  value: E,
221
221
  defaultValue: j,
222
222
  processValue: C,
223
- helperText: z,
224
- optional: u,
223
+ helperText: M,
224
+ optional: d,
225
225
  error: i,
226
226
  disabled: e,
227
- onBlur: V,
227
+ onBlur: z,
228
228
  validate: v,
229
- onChange: B,
230
- onChangeValue: M
229
+ onChange: V,
230
+ onChangeValue: y
231
231
  }), t = (0, _css.pxToRem)(16);
232
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(_textfieldbase.TextFieldBaseAutosuggest, _object_spread_props(_object_spread({}, S, g), {
233
- maxLength: l,
232
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(_textfieldbase.TextFieldBaseAutosuggest, _object_spread_props(_object_spread({}, S, h), {
233
+ maxLength: p,
234
234
  onChange: (o)=>{
235
- g.onChange(o);
236
- const s = o.currentTarget.value, h = C(s);
237
- if (h.length === l) {
238
- const I = v(h, s);
239
- I ? O({
240
- name: m,
241
- error: I
242
- }) : R(m);
235
+ h.onChange(o);
236
+ const s = o.currentTarget.value, g = C(s);
237
+ if (g.length === p) {
238
+ const x = v(g, s);
239
+ x ? b({
240
+ name: l,
241
+ error: x
242
+ }) : w(l);
243
243
  }
244
244
  },
245
245
  endIcon: /* @__PURE__ */ (0, _jsxruntime.jsx)(_popover.default, {
246
246
  position: "top",
247
- open: p,
247
+ open: a,
248
248
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(Z, {
249
- acceptedCards: y
249
+ acceptedCards: B
250
250
  }),
251
- onClose: ()=>d(!1),
251
+ onClose: ()=>u(!1),
252
252
  target: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
253
253
  style: {
254
254
  width: t,
255
255
  height: t
256
256
  },
257
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconbutton.IconButton, {
258
- size: _textfieldbasecssmistica.iconButtonSize,
257
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.default, {
259
258
  style: {
260
259
  display: "flex",
261
260
  alignItems: "center",
262
261
  justifyContent: "center",
262
+ width: _textfieldbasecssmistica.iconButtonSize,
263
+ height: _textfieldbasecssmistica.iconButtonSize,
263
264
  position: "relative",
264
265
  left: `calc(-1 * (${_textfieldbasecssmistica.iconButtonSize} - ${t}) / 2)`,
265
266
  top: `calc(-1 * (${_textfieldbasecssmistica.iconButtonSize} - ${t}) / 2)`
266
267
  },
267
- onPress: ()=>d(!p),
268
- "aria-label": p ? n.formCreditCardCvvTooltipVisaMcButtonClose : n.formCreditCardCvvTooltipVisaMcButtonOpen,
268
+ onPress: ()=>u(!a),
269
+ "aria-label": a ? n.formCreditCardCvvTooltipVisaMcButtonClose : n.formCreditCardCvvTooltipVisaMcButtonOpen,
269
270
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconinformationregular.default, {
270
271
  size: t,
271
272
  color: _skincontractcssmistica.vars.colors.neutralMedium
@@ -279,4 +280,4 @@ const Z = (param)=>{
279
280
  "component-name": "CvvField"
280
281
  }, A)
281
282
  }));
282
- }, gr = _;
283
+ }, hr = _;
package/dist/feedback.js CHANGED
@@ -11,19 +11,19 @@ function _export(target, all) {
11
11
  }
12
12
  _export(exports, {
13
13
  ErrorFeedbackScreen: function() {
14
- return Xe;
14
+ return qe;
15
15
  },
16
16
  FeedbackScreen: function() {
17
- return x;
17
+ return F;
18
18
  },
19
19
  InfoFeedbackScreen: function() {
20
- return Je;
20
+ return we;
21
21
  },
22
22
  SuccessFeedback: function() {
23
- return Qe;
23
+ return je;
24
24
  },
25
25
  SuccessFeedbackScreen: function() {
26
- return Ue;
26
+ return $e;
27
27
  }
28
28
  });
29
29
  const _jsxruntime = require("react/jsx-runtime");
@@ -31,8 +31,8 @@ const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
31
31
  const _hooks = require("./hooks.js");
32
32
  const _mediaqueriescssmistica = require("./media-queries.css-mistica.js");
33
33
  const _buttonfixedfooterlayout = /*#__PURE__*/ _interop_require_default(require("./button-fixed-footer-layout.js"));
34
- const _overscrollcolorcontext = require("./overscroll-color-context.js");
35
34
  const _constants = require("./skins/constants.js");
35
+ const _overscrollcolorcontext = require("./overscroll-color-context.js");
36
36
  const _iconsuccess = /*#__PURE__*/ _interop_require_default(require("./icons/icon-success.js"));
37
37
  const _iconsuccessvivo = /*#__PURE__*/ _interop_require_default(require("./icons/icon-success-vivo.js"));
38
38
  const _iconerror = /*#__PURE__*/ _interop_require_default(require("./icons/icon-error.js"));
@@ -174,10 +174,10 @@ function _object_without_properties_loose(source, excluded) {
174
174
  }
175
175
  return target;
176
176
  }
177
- const D = (r)=>!(0, _platform.isRunningAcceptanceTest)(r), R = (param)=>{
177
+ const O = (r)=>!(0, _platform.isRunningAcceptanceTest)(r), D = (param)=>{
178
178
  let { primaryButton: r, secondaryButton: o } = param;
179
179
  return !!r || !!o;
180
- }, Ie = (param)=>{
180
+ }, be = (param)=>{
181
181
  let { isInverse: r } = param;
182
182
  const o = `@media ${_mediaqueriescssmistica.tabletOrSmaller} {
183
183
  body {background:${r ? _skincontractcssmistica.vars.colors.backgroundBrand : _skincontractcssmistica.vars.colors.background}; background-attachment: fixed;}
@@ -185,23 +185,23 @@ const D = (r)=>!(0, _platform.isRunningAcceptanceTest)(r), R = (param)=>{
185
185
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("style", {
186
186
  children: o
187
187
  });
188
- }, O = (r)=>{
188
+ }, I = (r)=>{
189
189
  (0, _webviewbridge.isWebViewBridgeAvailable)() && (0, _webviewbridge.requestVibration)(r).catch(()=>{});
190
- }, W = (r)=>{
190
+ }, E = (r)=>{
191
191
  _react.useEffect(()=>{
192
192
  let o;
193
- return r === "success" && (o = setTimeout(()=>O("success"), 700)), r === "error" && (o = setTimeout(()=>O("error"), 1e3)), ()=>{
193
+ return r === "success" && (o = setTimeout(()=>I("success"), 700)), r === "error" && (o = setTimeout(()=>I("error"), 1e3)), ()=>{
194
194
  clearTimeout(o);
195
195
  };
196
196
  }, [
197
197
  r
198
198
  ]);
199
- }, L = (param, n)=>{
199
+ }, R = (param, n)=>{
200
200
  let { icon: r, title: o, description: t, extra: c } = param;
201
- const i = t && Array.isArray(t) ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_stack.default, {
201
+ const a = t && Array.isArray(t) ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_stack.default, {
202
202
  space: 16,
203
- children: t.map((a, m)=>/* @__PURE__ */ (0, _jsxruntime.jsx)("p", {
204
- children: a
203
+ children: t.map((i, m)=>/* @__PURE__ */ (0, _jsxruntime.jsx)("p", {
204
+ children: i
205
205
  }, m))
206
206
  }) : t;
207
207
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
@@ -222,24 +222,24 @@ const D = (r)=>!(0, _platform.isRunningAcceptanceTest)(r), R = (param)=>{
222
222
  children: o
223
223
  })
224
224
  }),
225
- i && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
225
+ a && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
226
226
  className: (0, _classnames.default)(n && _feedbackcssmistica.feedbackTextAppearMedium),
227
- children: i && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, {
227
+ children: a && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, {
228
228
  regular: !0,
229
229
  color: _skincontractcssmistica.vars.colors.textSecondary,
230
- children: i
230
+ children: a
231
231
  })
232
232
  }),
233
233
  c && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
234
- className: (0, _classnames.default)(n && (i ? _feedbackcssmistica.feedbackTextAppearSlow : _feedbackcssmistica.feedbackTextAppearMedium)),
234
+ className: (0, _classnames.default)(n && (a ? _feedbackcssmistica.feedbackTextAppearSlow : _feedbackcssmistica.feedbackTextAppearMedium)),
235
235
  children: c
236
236
  })
237
237
  ]
238
238
  })
239
239
  ]
240
240
  });
241
- }, q = (r, o)=>{
242
- const t = R(o);
241
+ }, W = (r, o)=>{
242
+ const t = D(o);
243
243
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
244
244
  space: {
245
245
  desktop: 40,
@@ -250,7 +250,7 @@ const D = (r)=>!(0, _platform.isRunningAcceptanceTest)(r), R = (param)=>{
250
250
  t && /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttongroup.default, _object_spread({}, o))
251
251
  ]
252
252
  });
253
- }, K = (param)=>{
253
+ }, _ = (param)=>{
254
254
  let { isInverse: r, body: o, imageFit: t, imageUrl: c, dataAttributes: n } = param;
255
255
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_boxed.InternalBoxed, {
256
256
  borderRadius: _skincontractcssmistica.vars.borderRadii.legacyDisplay,
@@ -285,92 +285,74 @@ const D = (r)=>!(0, _platform.isRunningAcceptanceTest)(r), R = (param)=>{
285
285
  ]
286
286
  })
287
287
  });
288
- }, Ne = ()=>((0, _overscrollcolorcontext.useSetOverscrollColor)({
288
+ }, ke = ()=>((0, _overscrollcolorcontext.useSetOverscrollColor)({
289
289
  topColor: _skincontractcssmistica.vars.colors.backgroundBrandTop,
290
290
  bottomColor: _skincontractcssmistica.vars.colors.backgroundBrandBottom
291
- }), null), x = (param)=>{
292
- let { title: r, description: o, children: t, extra: c, primaryButton: n, secondaryButton: i, link: a, hapticFeedback: m, icon: f, animateText: h = !1, isInverse: d = !1, unstable_inlineInDesktop: k, imageUrl: B, imageFit: g, dataAttributes: S } = param;
293
- W(m);
294
- const { platformOverrides: j, isDarkMode: M, skinName: I } = (0, _hooks.useTheme)(), G = (0, _hooks.useWindowHeight)(), { isTabletOrSmaller: P } = (0, _hooks.useScreenSize)(), [U, X] = _react.useState(typeof self < "u"), [N, J] = _react.useState(0), T = U ? "100vh" : `${G - N}px`, y = R({
291
+ }), null), F = (param)=>{
292
+ let { title: r, description: o, children: t, extra: c, primaryButton: n, secondaryButton: a, link: i, hapticFeedback: m, icon: k, animateText: f = !1, isInverse: d = !1, unstable_inlineInDesktop: h, imageUrl: x, imageFit: g, dataAttributes: S } = param;
293
+ E(m);
294
+ const { platformOverrides: $, isDarkMode: q } = (0, _hooks.useTheme)(), { isTabletOrSmaller: w } = (0, _hooks.useScreenSize)(), j = D({
295
295
  primaryButton: n,
296
- secondaryButton: i,
297
- link: a
298
- });
299
- (0, _hooks.useIsomorphicLayoutEffect)(()=>{
300
- X(!1);
301
- }, []);
302
- const C = L({
303
- icon: f,
296
+ secondaryButton: a,
297
+ link: i
298
+ }), B = R({
299
+ icon: k,
304
300
  title: r,
305
301
  description: o,
306
302
  extra: c !== null && c !== void 0 ? c : t
307
- }, h && D(j));
308
- return !P && k ? q(C, {
303
+ }, f && O($));
304
+ return !w && h ? W(B, {
309
305
  primaryButton: n,
310
- secondaryButton: i,
311
- link: a
306
+ secondaryButton: a,
307
+ link: i
312
308
  }) : /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
313
309
  style: {
314
310
  position: "relative"
315
311
  },
316
312
  children: [
317
- d && /* @__PURE__ */ (0, _jsxruntime.jsx)(Ne, {}),
313
+ d && /* @__PURE__ */ (0, _jsxruntime.jsx)(ke, {}),
318
314
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_responsivelayout.default, {
319
315
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
320
316
  paddingTop: {
321
317
  desktop: 64,
322
318
  mobile: 0
323
319
  },
324
- children: K({
320
+ children: _({
325
321
  isInverse: d,
326
322
  body: /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttonfixedfooterlayout.default, {
327
- isFooterVisible: y,
323
+ isFooterVisible: j,
328
324
  button: n,
329
- secondaryButton: i,
330
- link: a,
331
- footerBgColor: d && !M ? _skincontractcssmistica.vars.colors.backgroundBrandBottom : void 0,
325
+ secondaryButton: a,
326
+ link: i,
327
+ footerBgColor: d && !q ? _skincontractcssmistica.vars.colors.backgroundBrandBottom : void 0,
332
328
  containerBgColor: "transparent",
333
- onChangeFooterHeight: J,
334
329
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
335
330
  className: _feedbackcssmistica.container,
336
331
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
337
332
  className: (0, _classnames.default)(_feedbackcssmistica.innerContainer, {
338
- [_feedbackcssmistica.innerContainerWithButtons]: n || i || a
333
+ [_feedbackcssmistica.innerContainerWithButtons]: n || a || i
339
334
  }),
340
- children: C
335
+ children: B
341
336
  })
342
337
  })
343
338
  }),
344
339
  imageFit: g,
345
- imageUrl: B,
340
+ imageUrl: x,
346
341
  dataAttributes: S
347
342
  })
348
343
  })
349
344
  }),
350
- I === _constants.O2_CLASSIC_SKIN && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
351
- style: {
352
- position: "absolute",
353
- bottom: N,
354
- top: 0,
355
- left: 0,
356
- right: 0,
357
- // This extra height is a workaround to make sure the background div is displayed *under* the fixed footer.
358
- // Otherwise in some devices (Galaxy S20+) the background and the fixed footer are rendered with some distance between them
359
- height: y ? `calc(${T} + 1px)` : `calc(${T})`,
360
- background: d ? _skincontractcssmistica.vars.colors.backgroundBrand : _skincontractcssmistica.vars.colors.background
361
- }
362
- }),
363
- I !== _constants.O2_CLASSIC_SKIN && /* @__PURE__ */ (0, _jsxruntime.jsx)(Ie, {
345
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(be, {
364
346
  isInverse: d
365
347
  })
366
348
  ]
367
349
  });
368
- }, Ue = (_param)=>{
350
+ }, $e = (_param)=>{
369
351
  var { dataAttributes: r } = _param, o = _object_without_properties(_param, [
370
352
  "dataAttributes"
371
353
  ]);
372
354
  const { isTabletOrSmaller: t } = (0, _hooks.useScreenSize)(), { skinName: c } = (0, _hooks.useTheme)();
373
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(x, _object_spread_props(_object_spread({}, o), {
355
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(F, _object_spread_props(_object_spread({}, o), {
374
356
  isInverse: !o.unstable_inlineInDesktop || t,
375
357
  hapticFeedback: "success",
376
358
  icon: c === _constants.VIVO_SKIN ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconsuccessvivo.default, {
@@ -387,13 +369,13 @@ const D = (r)=>!(0, _platform.isRunningAcceptanceTest)(r), R = (param)=>{
387
369
  "component-name": "SuccessFeedbackScreen"
388
370
  }, r)
389
371
  }));
390
- }, Xe = (_param)=>{
372
+ }, qe = (_param)=>{
391
373
  var { children: r, errorReference: o, dataAttributes: t } = _param, c = _object_without_properties(_param, [
392
374
  "children",
393
375
  "errorReference",
394
376
  "dataAttributes"
395
377
  ]);
396
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(x, _object_spread_props(_object_spread({}, c), {
378
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(F, _object_spread_props(_object_spread({}, c), {
397
379
  hapticFeedback: "error",
398
380
  icon: /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconerror.default, {
399
381
  size: "100%"
@@ -414,12 +396,12 @@ const D = (r)=>!(0, _platform.isRunningAcceptanceTest)(r), R = (param)=>{
414
396
  ]
415
397
  })
416
398
  }));
417
- }, Je = (_param)=>{
399
+ }, we = (_param)=>{
418
400
  var { dataAttributes: r, Icon: o = _iconinfo.default } = _param, t = _object_without_properties(_param, [
419
401
  "dataAttributes",
420
402
  "Icon"
421
403
  ]);
422
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(x, _object_spread({
404
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(F, _object_spread({
423
405
  dataAttributes: _object_spread({
424
406
  "component-name": "InfoFeedbackScreen"
425
407
  }, r),
@@ -427,10 +409,10 @@ const D = (r)=>!(0, _platform.isRunningAcceptanceTest)(r), R = (param)=>{
427
409
  size: "100%"
428
410
  })
429
411
  }, t));
430
- }, Qe = (param)=>{
431
- let { title: r, description: o, children: t, extra: c, primaryButton: n, secondaryButton: i, link: a, imageUrl: m, imageFit: f, dataAttributes: h } = param;
432
- W("success");
433
- const { skinName: d, platformOverrides: k } = (0, _hooks.useTheme)(), g = L({
412
+ }, je = (param)=>{
413
+ let { title: r, description: o, children: t, extra: c, primaryButton: n, secondaryButton: a, link: i, imageUrl: m, imageFit: k, dataAttributes: f } = param;
414
+ E("success");
415
+ const { skinName: d, platformOverrides: h } = (0, _hooks.useTheme)(), g = R({
434
416
  icon: d === _constants.VIVO_SKIN ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconsuccessvivo.default, {
435
417
  size: "100%"
436
418
  }) : d === _constants.VIVO_NEW_SKIN ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconsuccessvivonew.default, {
@@ -441,12 +423,12 @@ const D = (r)=>!(0, _platform.isRunningAcceptanceTest)(r), R = (param)=>{
441
423
  title: r,
442
424
  description: o,
443
425
  extra: c !== null && c !== void 0 ? c : t
444
- }, D(k)), S = q(g, {
426
+ }, O(h)), S = W(g, {
445
427
  primaryButton: n,
446
- secondaryButton: i,
447
- link: a
428
+ secondaryButton: a,
429
+ link: i
448
430
  });
449
- return K({
431
+ return _({
450
432
  isInverse: !0,
451
433
  body: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
452
434
  className: _feedbackcssmistica.backgroundBrand,
@@ -466,10 +448,10 @@ const D = (r)=>!(0, _platform.isRunningAcceptanceTest)(r), R = (param)=>{
466
448
  })
467
449
  })
468
450
  }),
469
- imageFit: f,
451
+ imageFit: k,
470
452
  imageUrl: m,
471
453
  dataAttributes: _object_spread({
472
454
  "component-name": "SuccessFeedback"
473
- }, h)
455
+ }, f)
474
456
  });
475
457
  };
@@ -799,7 +799,6 @@ export declare const IconButton: React.ForwardRefExoticComponent<({
799
799
  "aria-live"?: undefined;
800
800
  iconSize?: undefined;
801
801
  }) & React.RefAttributes<TouchableElement>>;
802
- export declare const BaseIconButton: (props: ExclusifyUnion<DeprecatedProps | IconButtonProps>) => JSX.Element;
803
802
  type ToggleStateProps = {
804
803
  Icon: React.FC<IconProps>;
805
804
  type?: IconButtonType;
@@ -43,7 +43,7 @@ function _object_spread(target) {
43
43
  }
44
44
  return target;
45
45
  }
46
- const h = (param)=>{
46
+ const d = (param)=>{
47
47
  let { size: e = 48 } = param;
48
48
  const { platformOverrides: o } = (0, _hooks.useTheme)();
49
49
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("svg", {
@@ -94,7 +94,7 @@ const h = (param)=>{
94
94
  ]
95
95
  })
96
96
  });
97
- }, f = (param)=>{
97
+ }, h = (param)=>{
98
98
  let { size: e = 48 } = param;
99
99
  const { platformOverrides: o } = (0, _hooks.useTheme)();
100
100
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("svg", {
@@ -142,7 +142,7 @@ const h = (param)=>{
142
142
  ]
143
143
  })
144
144
  });
145
- }, k = (e)=>{
145
+ }, f = (e)=>{
146
146
  const { skinName: o } = (0, _hooks.useTheme)();
147
- return o === _constants.O2_SKIN || o === _constants.O2_CLASSIC_SKIN ? /* @__PURE__ */ (0, _jsxruntime.jsx)(h, _object_spread({}, e)) : /* @__PURE__ */ (0, _jsxruntime.jsx)(f, _object_spread({}, e));
148
- }, w = k;
147
+ return o === _constants.O2_SKIN ? /* @__PURE__ */ (0, _jsxruntime.jsx)(d, _object_spread({}, e)) : /* @__PURE__ */ (0, _jsxruntime.jsx)(h, _object_spread({}, e));
148
+ }, w = f;
@@ -41,7 +41,7 @@ function _object_spread(target) {
41
41
  }
42
42
  return target;
43
43
  }
44
- const s = (param)=>{
44
+ const l = (param)=>{
45
45
  let { size: r = 48 } = param;
46
46
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("svg", {
47
47
  width: r,
@@ -80,7 +80,7 @@ const s = (param)=>{
80
80
  ]
81
81
  })
82
82
  });
83
- }, d = (param)=>{
83
+ }, s = (param)=>{
84
84
  let { size: r = 48 } = param;
85
85
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("svg", {
86
86
  width: r,
@@ -95,7 +95,7 @@ const s = (param)=>{
95
95
  })
96
96
  })
97
97
  });
98
- }, h = (r)=>{
98
+ }, d = (r)=>{
99
99
  const { skinName: e } = (0, _hooks.useTheme)();
100
- return e === _constants.O2_CLASSIC_SKIN || e === _constants.O2_SKIN ? /* @__PURE__ */ (0, _jsxruntime.jsx)(s, _object_spread({}, r)) : /* @__PURE__ */ (0, _jsxruntime.jsx)(d, _object_spread({}, r));
101
- }, u = h;
100
+ return e === _constants.O2_SKIN ? /* @__PURE__ */ (0, _jsxruntime.jsx)(l, _object_spread({}, r)) : /* @__PURE__ */ (0, _jsxruntime.jsx)(s, _object_spread({}, r));
101
+ }, u = d;
@@ -43,7 +43,7 @@ function _object_spread(target) {
43
43
  }
44
44
  return target;
45
45
  }
46
- const u = (param)=>{
46
+ const h = (param)=>{
47
47
  let { size: t = 48, color: e, skipAnimation: r = !1 } = param;
48
48
  const n = (0, _themevariantcontext.useIsInverseVariant)(), { platformOverrides: o } = (0, _hooks.useTheme)();
49
49
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("svg", {
@@ -78,7 +78,7 @@ const u = (param)=>{
78
78
  ]
79
79
  })
80
80
  });
81
- }, k = (param)=>{
81
+ }, u = (param)=>{
82
82
  let { size: t = 48, color: e, skipAnimation: r = !1 } = param;
83
83
  const n = (0, _themevariantcontext.useIsInverseVariant)(), { platformOverrides: o } = (0, _hooks.useTheme)();
84
84
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("svg", {
@@ -111,22 +111,21 @@ const u = (param)=>{
111
111
  ]
112
112
  })
113
113
  });
114
- }, I = (param)=>{
114
+ }, k = (param)=>{
115
115
  let { size: t, color: e, skipAnimation: r } = param;
116
116
  const { skinName: n } = (0, _hooks.useTheme)();
117
117
  switch(n){
118
- case _constants.O2_CLASSIC_SKIN:
119
118
  case _constants.O2_SKIN:
120
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(u, {
119
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(h, {
121
120
  size: t,
122
121
  color: e,
123
122
  skipAnimation: r
124
123
  });
125
124
  default:
126
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(k, {
125
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(u, {
127
126
  size: t,
128
127
  color: e,
129
128
  skipAnimation: r
130
129
  });
131
130
  }
132
- }, j = I;
131
+ }, j = k;