@telefonica/mistica 14.39.0 → 14.40.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 (103) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.js +47 -49
  3. package/dist/button.js +10 -10
  4. package/dist/card.js +10 -10
  5. package/dist/carousel.css-mistica.js +48 -24
  6. package/dist/carousel.css.d.ts +9 -1
  7. package/dist/carousel.d.ts +2 -2
  8. package/dist/carousel.js +227 -219
  9. package/dist/community/advanced-data-card.css-mistica.js +6 -6
  10. package/dist/community/blocks.js +12 -12
  11. package/dist/desktop-container-type-context.js +2 -2
  12. package/dist/fade-in.js +2 -2
  13. package/dist/feedback.js +6 -6
  14. package/dist/focus-trap.js +2 -2
  15. package/dist/header.js +4 -4
  16. package/dist/hero.js +4 -4
  17. package/dist/horizontal-scroll.js +2 -2
  18. package/dist/icons/icon-amex.js +2 -2
  19. package/dist/icons/icon-chevron.js +2 -2
  20. package/dist/icons/icon-cvv-amex.js +2 -2
  21. package/dist/icons/icon-cvv-visa-mc.js +2 -2
  22. package/dist/icons/icon-info.js +4 -4
  23. package/dist/icons/icon-mastercard.js +2 -2
  24. package/dist/icons/icon-visa.js +2 -2
  25. package/dist/image.js +2 -2
  26. package/dist/list.js +16 -16
  27. package/dist/loading-bar.js +2 -2
  28. package/dist/logo.js +10 -10
  29. package/dist/menu.js +2 -2
  30. package/dist/mosaic.js +2 -2
  31. package/dist/navigation-bar.js +8 -8
  32. package/dist/navigation-breadcrumbs.js +2 -2
  33. package/dist/negative-box.js +2 -2
  34. package/dist/nestable-context.js +2 -2
  35. package/dist/package-version.js +1 -1
  36. package/dist/placeholder.js +2 -2
  37. package/dist/responsive-layout.js +2 -2
  38. package/dist/select.js +4 -4
  39. package/dist/sheet.js +71 -67
  40. package/dist/skeletons.js +12 -12
  41. package/dist/stack.js +2 -2
  42. package/dist/text-field-base.js +2 -2
  43. package/dist/text-field-components.js +2 -2
  44. package/dist/text.js +18 -17
  45. package/dist/theme-variant-context.js +2 -2
  46. package/dist/theme.js +8 -8
  47. package/dist/title.js +2 -2
  48. package/dist/tooltip.js +64 -60
  49. package/dist/utils/animation.js +2 -2
  50. package/dist/utils/css.js +1 -1
  51. package/dist/video.js +2 -2
  52. package/dist/vivinho-loading-animation/pulse-lottie.json.js +3 -5
  53. package/dist-es/accordion.js +65 -67
  54. package/dist-es/button.js +10 -10
  55. package/dist-es/card.js +10 -10
  56. package/dist-es/carousel.css-mistica.js +7 -7
  57. package/dist-es/carousel.js +278 -270
  58. package/dist-es/community/advanced-data-card.css-mistica.js +3 -3
  59. package/dist-es/community/blocks.js +12 -12
  60. package/dist-es/desktop-container-type-context.js +2 -2
  61. package/dist-es/fade-in.js +2 -2
  62. package/dist-es/feedback.js +6 -6
  63. package/dist-es/focus-trap.js +2 -2
  64. package/dist-es/header.js +4 -4
  65. package/dist-es/hero.js +4 -4
  66. package/dist-es/horizontal-scroll.js +2 -2
  67. package/dist-es/icons/icon-amex.js +2 -2
  68. package/dist-es/icons/icon-chevron.js +2 -2
  69. package/dist-es/icons/icon-cvv-amex.js +2 -2
  70. package/dist-es/icons/icon-cvv-visa-mc.js +2 -2
  71. package/dist-es/icons/icon-info.js +4 -4
  72. package/dist-es/icons/icon-mastercard.js +2 -2
  73. package/dist-es/icons/icon-visa.js +2 -2
  74. package/dist-es/image.js +2 -2
  75. package/dist-es/list.js +16 -16
  76. package/dist-es/loading-bar.js +2 -2
  77. package/dist-es/logo.js +10 -10
  78. package/dist-es/menu.js +2 -2
  79. package/dist-es/mosaic.js +2 -2
  80. package/dist-es/navigation-bar.js +8 -8
  81. package/dist-es/navigation-breadcrumbs.js +2 -2
  82. package/dist-es/negative-box.js +2 -2
  83. package/dist-es/nestable-context.js +2 -2
  84. package/dist-es/package-version.js +1 -1
  85. package/dist-es/placeholder.js +2 -2
  86. package/dist-es/responsive-layout.js +2 -2
  87. package/dist-es/select.js +4 -4
  88. package/dist-es/sheet.js +79 -75
  89. package/dist-es/skeletons.js +12 -12
  90. package/dist-es/stack.js +2 -2
  91. package/dist-es/style.css +1 -1
  92. package/dist-es/text-field-base.js +2 -2
  93. package/dist-es/text-field-components.js +4 -4
  94. package/dist-es/text.js +21 -20
  95. package/dist-es/theme-variant-context.js +2 -2
  96. package/dist-es/theme.js +8 -8
  97. package/dist-es/title.js +2 -2
  98. package/dist-es/tooltip.js +80 -76
  99. package/dist-es/utils/animation.js +2 -2
  100. package/dist-es/utils/css.js +1 -1
  101. package/dist-es/video.js +2 -2
  102. package/dist-es/vivinho-loading-animation/pulse-lottie.json.js +3 -5
  103. package/package.json +16 -17
@@ -9,9 +9,9 @@ Object.defineProperty(exports, "default", {
9
9
  }
10
10
  });
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
- const a = (param)=>/* @__PURE__ */ {
12
+ const a = (param)=>{
13
13
  let { left: o, right: t, children: i } = param;
14
- return (0, _jsxruntime.jsx)("div", {
14
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
15
15
  style: {
16
16
  marginLeft: o || !o && !t ? -16 : void 0,
17
17
  marginRight: t || !o && !t ? -16 : void 0
@@ -112,9 +112,9 @@ const C = (r)=>{
112
112
  return l(e), null;
113
113
  },
114
114
  Provider: m,
115
- Getter: (param)=>/* @__PURE__ */ {
115
+ Getter: (param)=>{
116
116
  let { children: e } = param;
117
- return (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {
117
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {
118
118
  children: e(d())
119
119
  });
120
120
  },
@@ -8,4 +8,4 @@ Object.defineProperty(exports, "PACKAGE_VERSION", {
8
8
  return o;
9
9
  }
10
10
  });
11
- const o = "14.39.0";
11
+ const o = "14.40.0";
@@ -11,9 +11,9 @@ Object.defineProperty(exports, "Placeholder", {
11
11
  const _jsxruntime = require("react/jsx-runtime");
12
12
  const _color = require("./utils/color.js");
13
13
  const _skincontractcssmistica = require("./skins/skin-contract.css-mistica.js");
14
- const n = (param)=>/* @__PURE__ */ {
14
+ const n = (param)=>{
15
15
  let { width: t = "auto", height: i = 120 } = param;
16
- return (0, _jsxruntime.jsx)("div", {
16
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
17
17
  style: {
18
18
  height: i,
19
19
  width: t,
@@ -123,11 +123,11 @@ const R = (param)=>{
123
123
  })
124
124
  }))
125
125
  });
126
- }, N = (_param)=>/* @__PURE__ */ {
126
+ }, N = (_param)=>{
127
127
  var { children: a } = _param, n = _object_without_properties(_param, [
128
128
  "children"
129
129
  ]);
130
- return (0, _jsxruntime.jsx)(R, _object_spread_props(_object_spread({}, n), {
130
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(R, _object_spread_props(_object_spread({}, n), {
131
131
  shouldExpandWhenNested: !0,
132
132
  children: a
133
133
  }));
package/dist/select.js CHANGED
@@ -334,9 +334,9 @@ const Ye = (param)=>{
334
334
  display: "none"
335
335
  }
336
336
  }),
337
- u.map((param)=>/* @__PURE__ */ {
337
+ u.map((param)=>{
338
338
  let { value: e, text: t } = param;
339
- return (0, _jsxruntime.jsx)("option", {
339
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)("option", {
340
340
  value: e,
341
341
  children: t
342
342
  }, e);
@@ -408,9 +408,9 @@ const Ye = (param)=>{
408
408
  className: (0, _classnames.default)(_selectcssmistica.optionsContainer, z ? _selectcssmistica.optionsAnimationsVariants.show : _selectcssmistica.optionsAnimationsVariants.hide),
409
409
  role: "listbox",
410
410
  ref: T,
411
- children: u.map((param)=>/* @__PURE__ */ {
411
+ children: u.map((param)=>{
412
412
  let { value: e, text: t } = param;
413
- return (0, _jsxruntime.jsx)("li", {
413
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)("li", {
414
414
  role: "option",
415
415
  "aria-selected": e === (p !== null && p !== void 0 ? p : a),
416
416
  "data-value": e,
package/dist/sheet.js CHANGED
@@ -11,22 +11,22 @@ function _export(target, all) {
11
11
  }
12
12
  _export(exports, {
13
13
  ActionsListSheet: function() {
14
- return Ue;
14
+ return Xe;
15
15
  },
16
16
  ActionsSheet: function() {
17
- return Xe;
17
+ return er;
18
18
  },
19
19
  InfoSheet: function() {
20
- return We;
20
+ return Ze;
21
21
  },
22
22
  RadioListSheet: function() {
23
- return Qe;
23
+ return We;
24
24
  },
25
25
  SheetBody: function() {
26
- return k;
26
+ return I;
27
27
  },
28
28
  default: function() {
29
- return Ze;
29
+ return rr;
30
30
  }
31
31
  });
32
32
  const _jsxruntime = require("react/jsx-runtime");
@@ -55,6 +55,7 @@ const _iconbutton = /*#__PURE__*/ _interop_require_default(require("./icon-butto
55
55
  const _buttonlayout = /*#__PURE__*/ _interop_require_default(require("./button-layout.js"));
56
56
  const _image = /*#__PURE__*/ _interop_require_default(require("./image.js"));
57
57
  const _responsivelayout = require("./responsive-layout.js");
58
+ const _css = require("./utils/css.js");
58
59
  function _interop_require_default(obj) {
59
60
  return obj && obj.__esModule ? obj : {
60
61
  default: obj
@@ -180,27 +181,27 @@ function _object_without_properties_loose(source, excluded) {
180
181
  }
181
182
  return target;
182
183
  }
183
- const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>{
184
+ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Ee = (param)=>{
184
185
  let { closeModal: t } = param;
185
- const [i, a] = _react.useState(0), f = _react.useRef(!1), p = _react.useRef(0), o = _react.useRef(0), s = _react.useRef(0), u = _react.useRef(0), { isDesktopOrBigger: m } = (0, _hooks.useScreenSize)(), r = _react.useCallback((h)=>{
186
+ const [i, l] = _react.useState(0), f = _react.useRef(!1), p = _react.useRef(0), o = _react.useRef(0), s = _react.useRef(0), u = _react.useRef(0), { isDesktopOrBigger: m } = (0, _hooks.useScreenSize)(), r = _react.useCallback((h)=>{
186
187
  f.current = !0, p.current = 0, o.current = Date.now(), s.current = C(h);
187
188
  }, []), c = _react.useCallback(()=>{
188
- f.current = !1, a(0);
189
+ f.current = !1, l(0);
189
190
  }, []);
190
191
  return _react.useEffect(()=>{
191
192
  if (m) return;
192
- const h = (l)=>{
193
+ const h = (a)=>{
193
194
  if (f.current) {
194
195
  if (p.current < 3) {
195
196
  p.current++;
196
197
  return;
197
198
  }
198
- u.current = C(l), a(u.current - s.current);
199
+ u.current = C(a), l(u.current - s.current);
199
200
  }
200
201
  }, d = ()=>{
201
202
  if (!f.current) return;
202
- const l = Date.now() - o.current, g = u.current - s.current, v = g / l;
203
- f.current = !1, a(0), g > 50 && (u.current > window.innerHeight * 0.75 || v > 0.5) && t();
203
+ const a = Date.now() - o.current, g = u.current - s.current, v = g / a;
204
+ f.current = !1, l(0), g > 50 && (u.current > window.innerHeight * 0.75 || v > 0.5) && t();
204
205
  };
205
206
  return document.addEventListener("touchmove", h), document.addEventListener("touchend", d), document.addEventListener("mousemove", h), document.addEventListener("mouseup", d), ()=>{
206
207
  document.removeEventListener("touchmove", h), document.removeEventListener("touchend", d), document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", d);
@@ -222,7 +223,7 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
222
223
  transition: "none"
223
224
  } : void 0
224
225
  };
225
- }, Ee = ()=>(_react.useLayoutEffect(()=>{
226
+ }, be = ()=>(_react.useLayoutEffect(()=>{
226
227
  const i = window.scrollY;
227
228
  return document.body.style.top = `-${i}px`, ()=>{
228
229
  process.env.NODE_ENV !== "test" && window.scrollTo(0, i);
@@ -237,7 +238,7 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
237
238
  overflow: hidden;
238
239
  }
239
240
  `
240
- })), be = {
241
+ })), we = {
241
242
  closed: {
242
243
  open: "opening"
243
244
  },
@@ -251,9 +252,9 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
251
252
  closing: {
252
253
  transitionEnd: "closed"
253
254
  }
254
- }, we = (t, i)=>be[t][i] || t, b = /*#__PURE__*/ _react.forwardRef((param, f)=>{
255
- let { onClose: t, children: i, dataAttributes: a } = param;
256
- const { texts: p } = (0, _hooks.useTheme)(), [o, s] = _react.useReducer(we, "closed"), u = _react.useRef(!1), m = (0, _hooks.useAriaId)(), r = _react.useCallback((v)=>{
255
+ }, De = (t, i)=>we[t][i] || t, b = /*#__PURE__*/ _react.forwardRef((param, f)=>{
256
+ let { onClose: t, children: i, dataAttributes: l } = param;
257
+ const { texts: p } = (0, _hooks.useTheme)(), [o, s] = _react.useReducer(De, "closed"), u = _react.useRef(!1), m = (0, _hooks.useAriaId)(), r = _react.useCallback((v)=>{
257
258
  v.target === v.currentTarget && s("transitionEnd");
258
259
  }, []), c = ()=>{
259
260
  o === "open" && s("close");
@@ -273,14 +274,14 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
273
274
  o,
274
275
  t
275
276
  ]);
276
- const _Se = Se({
277
+ const _Ee = Ee({
277
278
  closeModal: c
278
- }), { onScroll: h, overlayStyle: d } = _Se, l = _object_without_properties(_Se, [
279
+ }), { onScroll: h, overlayStyle: d } = _Ee, a = _object_without_properties(_Ee, [
279
280
  "onScroll",
280
281
  "overlayStyle"
281
282
  ]);
282
283
  (0, _modalcontextprovider.useSetModalStateEffect)();
283
- const g = Ee();
284
+ const g = be();
284
285
  return o === "closed" ? null : /* @__PURE__ */ (0, _jsxruntime.jsx)(_portal.Portal, {
285
286
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_focustrap.default, {
286
287
  children: [
@@ -298,7 +299,7 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
298
299
  }),
299
300
  onTransitionEnd: r,
300
301
  onAnimationEnd: r
301
- }, l, (0, _dom.getPrefixedDataAttributes)(a, "Sheet")), {
302
+ }, a, (0, _dom.getPrefixedDataAttributes)(l, "Sheet")), {
302
303
  ref: f,
303
304
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
304
305
  className: _sheetcssmistica.Sheet,
@@ -318,6 +319,9 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
318
319
  "aria-labelledby": m,
319
320
  onScroll: h,
320
321
  className: _sheetcssmistica.children,
322
+ style: {
323
+ paddingBottom: _css.safeAreaInsetBottom
324
+ },
321
325
  children: typeof i == "function" ? i({
322
326
  closeModal: c,
323
327
  modalTitleId: m
@@ -345,8 +349,8 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
345
349
  ]
346
350
  })
347
351
  });
348
- }), k = (param)=>{
349
- let { title: t, subtitle: i, description: a, modalTitleId: f, button: p, secondaryButton: o, link: s, children: u } = param;
352
+ }), I = (param)=>{
353
+ let { title: t, subtitle: i, description: l, modalTitleId: f, button: p, secondaryButton: o, link: s, children: u } = param;
350
354
  const m = _react.useRef(null), r = _react.useRef(null), c = _react.useRef(null);
351
355
  _react.useEffect(()=>{
352
356
  r.current && (c.current = (0, _dom.getScrollableParentElement)(r.current));
@@ -357,7 +361,7 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
357
361
  rootMargin: "1px",
358
362
  // bottomScrollSignal div has 0px height so we need a 1px margin to trigger the intersection observer
359
363
  root: c.current
360
- }), l = !!p || !!o || !!s;
364
+ }), a = !!p || !!o || !!s;
361
365
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
362
366
  children: [
363
367
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
@@ -392,7 +396,7 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
392
396
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
393
397
  className: _sheetcssmistica.bodyContent,
394
398
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
395
- paddingBottom: l ? 0 : {
399
+ paddingBottom: a ? 0 : {
396
400
  desktop: 40,
397
401
  mobile: 0
398
402
  },
@@ -400,7 +404,7 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
400
404
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
401
405
  space: 8,
402
406
  children: [
403
- i || a ? /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
407
+ i || l ? /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
404
408
  space: {
405
409
  mobile: 8,
406
410
  desktop: 16
@@ -411,14 +415,14 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
411
415
  regular: !0,
412
416
  children: i
413
417
  }),
414
- a && (Array.isArray(a) ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
418
+ l && (Array.isArray(l) ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
415
419
  as: "div",
416
420
  regular: !0,
417
421
  color: _skincontractcssmistica.vars.colors.textSecondary,
418
- children: a.map((g, v)=>/* @__PURE__ */ (0, _jsxruntime.jsx)("p", {
422
+ children: l.map((g, v)=>/* @__PURE__ */ (0, _jsxruntime.jsx)("p", {
419
423
  style: {
420
424
  margin: 0,
421
- marginBottom: v < a.length - 1 ? "1em" : void 0
425
+ marginBottom: v < l.length - 1 ? "1em" : void 0
422
426
  },
423
427
  children: g
424
428
  }, v))
@@ -426,7 +430,7 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
426
430
  as: "p",
427
431
  regular: !0,
428
432
  color: _skincontractcssmistica.vars.colors.textSecondary,
429
- children: a
433
+ children: l
430
434
  }))
431
435
  ]
432
436
  }) : null,
@@ -436,7 +440,7 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
436
440
  })
437
441
  })
438
442
  }),
439
- l && /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
443
+ a && /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
440
444
  className: _sheetcssmistica.stickyButtons,
441
445
  children: [
442
446
  d && /* @__PURE__ */ (0, _jsxruntime.jsx)(_divider.default, {}),
@@ -463,9 +467,9 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
463
467
  })
464
468
  ]
465
469
  });
466
- }, Qe = /*#__PURE__*/ _react.forwardRef((param, r)=>{
467
- let { title: t, subtitle: i, description: a, items: f, selectedId: p, onClose: o, onSelect: s, button: u, dataAttributes: m } = param;
468
- const [c, h] = _react.useState(p), d = _react.useRef(!1), { isDesktopOrBigger: l } = (0, _hooks.useScreenSize)(), { texts: g } = (0, _hooks.useTheme)();
470
+ }, We = /*#__PURE__*/ _react.forwardRef((param, r)=>{
471
+ let { title: t, subtitle: i, description: l, items: f, selectedId: p, onClose: o, onSelect: s, button: u, dataAttributes: m } = param;
472
+ const [c, h] = _react.useState(p), d = _react.useRef(!1), { isDesktopOrBigger: a } = (0, _hooks.useScreenSize)(), { texts: g } = (0, _hooks.useTheme)();
469
473
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(b, {
470
474
  onClose: o,
471
475
  ref: r,
@@ -475,12 +479,12 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
475
479
  children: (param)=>/* @__PURE__ */ {
476
480
  let { closeModal: v, modalTitleId: L } = param;
477
481
  var _ref;
478
- return (0, _jsxruntime.jsx)(k, {
482
+ return (0, _jsxruntime.jsx)(I, {
479
483
  title: t,
480
484
  subtitle: i,
481
- description: a,
485
+ description: l,
482
486
  modalTitleId: L,
483
- button: l ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_button.ButtonPrimary, {
487
+ button: a ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_button.ButtonPrimary, {
484
488
  onPress: ()=>{
485
489
  d.current && (s == null || s(c !== null && c !== void 0 ? c : "")), v();
486
490
  },
@@ -492,7 +496,7 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
492
496
  name: "sheetselection",
493
497
  value: c,
494
498
  onChange: (R)=>{
495
- h(R), d.current = !0, !l && (s == null || s(R), setTimeout(()=>{
499
+ h(R), d.current = !0, !a && (s == null || s(R), setTimeout(()=>{
496
500
  v();
497
501
  }, 200));
498
502
  },
@@ -512,8 +516,8 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
512
516
  });
513
517
  }
514
518
  });
515
- }), Ue = /*#__PURE__*/ _react.forwardRef((param, u)=>{
516
- let { title: t, subtitle: i, description: a, items: f, onClose: p, onSelect: o, dataAttributes: s } = param;
519
+ }), Xe = /*#__PURE__*/ _react.forwardRef((param, u)=>{
520
+ let { title: t, subtitle: i, description: l, items: f, onClose: p, onSelect: o, dataAttributes: s } = param;
517
521
  const { isDarkMode: m } = (0, _hooks.useTheme)();
518
522
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(b, {
519
523
  onClose: p,
@@ -521,17 +525,17 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
521
525
  dataAttributes: _object_spread({
522
526
  "component-name": "ActionsListSheet"
523
527
  }, s),
524
- children: (param)=>/* @__PURE__ */ {
528
+ children: (param)=>{
525
529
  let { closeModal: r, modalTitleId: c } = param;
526
- return (0, _jsxruntime.jsx)(k, {
530
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(I, {
527
531
  title: t,
528
532
  subtitle: i,
529
- description: a,
533
+ description: l,
530
534
  modalTitleId: c,
531
535
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_negativebox.default, {
532
- children: f.map((param)=>/* @__PURE__ */ {
533
- let { id: h, style: d, title: l, icon: g } = param;
534
- return (0, _jsxruntime.jsx)(_touchable.default, {
536
+ children: f.map((param)=>{
537
+ let { id: h, style: d, title: a, icon: g } = param;
538
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.default, {
535
539
  onPress: ()=>{
536
540
  o == null || o(h), r();
537
541
  },
@@ -552,7 +556,7 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
552
556
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, {
553
557
  regular: !0,
554
558
  color: d === "destructive" ? _skincontractcssmistica.vars.colors.textLinkDanger : _skincontractcssmistica.vars.colors.textPrimary,
555
- children: l
559
+ children: a
556
560
  })
557
561
  ]
558
562
  })
@@ -562,8 +566,8 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
562
566
  });
563
567
  }
564
568
  });
565
- }), We = /*#__PURE__*/ _react.forwardRef((param, s)=>{
566
- let { title: t, subtitle: i, description: a, items: f, onClose: p, dataAttributes: o } = param;
569
+ }), Ze = /*#__PURE__*/ _react.forwardRef((param, s)=>{
570
+ let { title: t, subtitle: i, description: l, items: f, onClose: p, dataAttributes: o } = param;
567
571
  const { isDarkMode: u } = (0, _hooks.useTheme)();
568
572
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(b, {
569
573
  onClose: p,
@@ -571,12 +575,12 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
571
575
  dataAttributes: _object_spread({
572
576
  "component-name": "InfoSheet"
573
577
  }, o),
574
- children: (param)=>/* @__PURE__ */ {
578
+ children: (param)=>{
575
579
  let { modalTitleId: m } = param;
576
- return (0, _jsxruntime.jsx)(k, {
580
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(I, {
577
581
  title: t,
578
582
  subtitle: i,
579
- description: a,
583
+ description: l,
580
584
  modalTitleId: m,
581
585
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
582
586
  paddingBottom: 16,
@@ -620,17 +624,17 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
620
624
  });
621
625
  }
622
626
  });
623
- }), Xe = /*#__PURE__*/ _react.forwardRef((param, r)=>{
624
- let { title: t, subtitle: i, description: a, button: f, secondaryButton: p, buttonLink: o, onClose: s, dataAttributes: u, onPressButton: m } = param;
625
- const c = (d, l)=>()=>{
626
- m == null || m(l), d();
627
+ }), er = /*#__PURE__*/ _react.forwardRef((param, r)=>{
628
+ let { title: t, subtitle: i, description: l, button: f, secondaryButton: p, buttonLink: o, onClose: s, dataAttributes: u, onPressButton: m } = param;
629
+ const c = (d, a)=>()=>{
630
+ m == null || m(a), d();
627
631
  }, h = (_param)=>{
628
- var { text: d } = _param, l = _object_without_properties(_param, [
632
+ var { text: d } = _param, a = _object_without_properties(_param, [
629
633
  "text"
630
634
  ]);
631
635
  return _object_spread({
632
636
  children: d
633
- }, l);
637
+ }, a);
634
638
  };
635
639
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(b, {
636
640
  onClose: s,
@@ -638,23 +642,23 @@ const C = (t)=>"touches" in t ? t.touches[0].clientY : t.clientY, Se = (param)=>
638
642
  dataAttributes: _object_spread({
639
643
  "component-name": "ActionsSheet"
640
644
  }, u),
641
- children: (param)=>/* @__PURE__ */ {
642
- let { modalTitleId: d, closeModal: l } = param;
643
- return (0, _jsxruntime.jsx)(k, {
645
+ children: (param)=>{
646
+ let { modalTitleId: d, closeModal: a } = param;
647
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(I, {
644
648
  title: t,
645
649
  subtitle: i,
646
- description: a,
650
+ description: l,
647
651
  modalTitleId: d,
648
652
  button: /* @__PURE__ */ (0, _jsxruntime.jsx)(_button.ButtonPrimary, _object_spread_props(_object_spread({}, h(f)), {
649
- onPress: c(l, "PRIMARY")
653
+ onPress: c(a, "PRIMARY")
650
654
  })),
651
655
  secondaryButton: p ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_button.ButtonSecondary, _object_spread_props(_object_spread({}, h(p)), {
652
- onPress: c(l, "SECONDARY")
656
+ onPress: c(a, "SECONDARY")
653
657
  })) : void 0,
654
658
  link: o ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_button.ButtonLink, _object_spread_props(_object_spread({}, h(o)), {
655
- onPress: c(l, "LINK")
659
+ onPress: c(a, "LINK")
656
660
  })) : void 0
657
661
  });
658
662
  }
659
663
  });
660
- }), Ze = b;
664
+ }), rr = b;
package/dist/skeletons.js CHANGED
@@ -90,9 +90,9 @@ function _object_spread_props(target, source) {
90
90
  }
91
91
  return target;
92
92
  }
93
- const o = (param)=>/* @__PURE__ */ {
93
+ const o = (param)=>{
94
94
  let { children: n, ariaLabel: t, dataAttributes: i, width: a, height: l } = param;
95
- return (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({
95
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({
96
96
  className: _skeletonscssmistica.animation,
97
97
  role: "status",
98
98
  "aria-busy": !0,
@@ -105,9 +105,9 @@ const o = (param)=>/* @__PURE__ */ {
105
105
  }, (0, _dom.getPrefixedDataAttributes)(i)), {
106
106
  children: n
107
107
  }));
108
- }, g = (param)=>/* @__PURE__ */ {
108
+ }, g = (param)=>{
109
109
  let { width: n = "100%", ariaLabel: t, dataAttributes: i } = param;
110
- return (0, _jsxruntime.jsx)(o, {
110
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, {
111
111
  width: n,
112
112
  ariaLabel: t,
113
113
  dataAttributes: _object_spread({
@@ -117,9 +117,9 @@ const o = (param)=>/* @__PURE__ */ {
117
117
  width: "100%"
118
118
  })
119
119
  });
120
- }, A = (param)=>/* @__PURE__ */ {
120
+ }, A = (param)=>{
121
121
  let { ariaLabel: n, dataAttributes: t } = param;
122
- return (0, _jsxruntime.jsx)(o, {
122
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, {
123
123
  width: "100%",
124
124
  ariaLabel: n,
125
125
  dataAttributes: _object_spread({
@@ -136,9 +136,9 @@ const o = (param)=>/* @__PURE__ */ {
136
136
  ]
137
137
  })
138
138
  });
139
- }, x = (param)=>/* @__PURE__ */ {
139
+ }, x = (param)=>{
140
140
  let { ariaLabel: n, size: t = 40, dataAttributes: i } = param;
141
- return (0, _jsxruntime.jsx)(o, {
141
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, {
142
142
  width: t,
143
143
  height: t,
144
144
  ariaLabel: n,
@@ -151,9 +151,9 @@ const o = (param)=>/* @__PURE__ */ {
151
151
  radius: "50%"
152
152
  })
153
153
  });
154
- }, N = (param)=>/* @__PURE__ */ {
154
+ }, N = (param)=>{
155
155
  let { width: n = "100%", ariaLabel: t, dataAttributes: i } = param;
156
- return (0, _jsxruntime.jsx)(o, {
156
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, {
157
157
  width: n,
158
158
  ariaLabel: t,
159
159
  dataAttributes: _object_spread({
@@ -175,9 +175,9 @@ const o = (param)=>/* @__PURE__ */ {
175
175
  ]
176
176
  })
177
177
  });
178
- }, R = (param)=>/* @__PURE__ */ {
178
+ }, R = (param)=>{
179
179
  let { width: n = "100%", height: t = "100%", ariaLabel: i, dataAttributes: a, noBorderRadius: l = !1 } = param;
180
- return (0, _jsxruntime.jsx)(o, {
180
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, {
181
181
  height: t,
182
182
  width: n,
183
183
  ariaLabel: i,
package/dist/stack.js CHANGED
@@ -121,9 +121,9 @@ const a = (t)=>typeof t == "number" ? `${t}px` : `space-${t}`, k = (t)=>{
121
121
  [_stackcssmistica.vars.spaceDesktop]: a(t.desktop)
122
122
  };
123
123
  return t.tablet && (e[_stackcssmistica.vars.spaceTablet] = a(t.tablet)), e;
124
- }, y = (param)=>/* @__PURE__ */ {
124
+ }, y = (param)=>{
125
125
  let { space: t, className: e, children: o, role: i, "aria-labelledby": s, dataAttributes: n } = param;
126
- return (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({
126
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({
127
127
  className: (0, _classnames.default)(e, typeof t == "string" ? _stackcssmistica.flexStack : _stackcssmistica.marginStack),
128
128
  style: (0, _css.applyCssVars)(k(t)),
129
129
  role: i,
@@ -329,9 +329,9 @@ const W = /*#__PURE__*/ _react.forwardRef((_param, H)=>{
329
329
  },
330
330
  onSuggestionsClearRequested: ()=>o([]),
331
331
  getSuggestionValue: (e)=>e,
332
- renderSuggestion: (e, param)=>/* @__PURE__ */ {
332
+ renderSuggestion: (e, param)=>{
333
333
  let { isHighlighted: a } = param;
334
- return (0, _jsxruntime.jsx)("div", {
334
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
335
335
  role: "menuitem",
336
336
  className: (0, _classnames.default)(_textfieldbasecssmistica.menuItem, {
337
337
  [_textfieldbasecssmistica.menuItemSelected]: a
@@ -188,9 +188,9 @@ const G = (param)=>{
188
188
  })
189
189
  ]
190
190
  });
191
- }, K = (param)=>/* @__PURE__ */ {
191
+ }, K = (param)=>{
192
192
  let { multiline: o, disabled: l, children: r, helperText: t, className: i, fieldRef: n, fullWidth: m, readOnly: f } = param;
193
- return (0, _jsxruntime.jsxs)("div", {
193
+ return /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
194
194
  className: (0, _classnames.default)(_textfieldcomponentscssmistica.fieldContainer, m ? _textfieldcomponentscssmistica.fullWidth : _textfieldcomponentscssmistica.normalWidth, {
195
195
  [_textfieldcomponentscssmistica.disabled]: l
196
196
  }),