@telefonica/mistica 14.36.1 → 14.38.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 (215) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.css-mistica.js +5 -5
  3. package/dist/avatar.css-mistica.js +1 -1
  4. package/dist/badge.css-mistica.js +3 -3
  5. package/dist/boxed.css-mistica.js +1 -1
  6. package/dist/button-group.css-mistica.js +1 -1
  7. package/dist/button-layout.css-mistica.js +10 -10
  8. package/dist/button.css-mistica.js +40 -32
  9. package/dist/button.css.d.ts +7 -4
  10. package/dist/button.d.ts +4 -2
  11. package/dist/button.js +176 -148
  12. package/dist/callout.css-mistica.js +1 -1
  13. package/dist/card.css-mistica.js +22 -22
  14. package/dist/card.js +10 -10
  15. package/dist/carousel.css-mistica.js +18 -18
  16. package/dist/checkbox.css-mistica.js +10 -10
  17. package/dist/chip.css-mistica.js +8 -8
  18. package/dist/chip.js +47 -42
  19. package/dist/circle.css-mistica.js +2 -2
  20. package/dist/community/advanced-data-card.css-mistica.js +13 -13
  21. package/dist/community/blocks.css-mistica.js +1 -1
  22. package/dist/counter.css-mistica.js +7 -7
  23. package/dist/credit-card-number-field.css-mistica.js +3 -3
  24. package/dist/dialog.css-mistica.js +11 -11
  25. package/dist/double-field.css-mistica.js +4 -4
  26. package/dist/empty-state-card.css-mistica.js +2 -2
  27. package/dist/empty-state.css-mistica.js +6 -6
  28. package/dist/feedback.css-mistica.js +6 -6
  29. package/dist/fixed-footer-layout.css-mistica.js +2 -2
  30. package/dist/grid.css-mistica.js +118 -120
  31. package/dist/grid.css.d.ts +0 -2
  32. package/dist/grid.d.ts +2 -2
  33. package/dist/grid.js +41 -26
  34. package/dist/header.css-mistica.js +1 -1
  35. package/dist/hero.css-mistica.js +5 -5
  36. package/dist/highlighted-card.css-mistica.js +7 -7
  37. package/dist/horizontal-scroll.css-mistica.js +3 -3
  38. package/dist/icon-button.css-mistica.js +2 -2
  39. package/dist/image.css-mistica.js +3 -3
  40. package/dist/image.d.ts +1 -1
  41. package/dist/image.js +21 -21
  42. package/dist/index.d.ts +3 -1
  43. package/dist/index.js +17 -0
  44. package/dist/inline.js +20 -12
  45. package/dist/list.css-mistica.js +16 -16
  46. package/dist/loading-bar.css-mistica.js +7 -7
  47. package/dist/loading-screen.css-mistica.js +51 -0
  48. package/dist/loading-screen.css.d.ts +11 -0
  49. package/dist/loading-screen.css.ts.vanilla.css-mistica.js +11 -0
  50. package/dist/loading-screen.d.ts +28 -0
  51. package/dist/loading-screen.js +398 -0
  52. package/dist/maybe-dismissable.css-mistica.js +1 -1
  53. package/dist/menu.css-mistica.js +1 -1
  54. package/dist/mosaic.css-mistica.js +23 -0
  55. package/dist/mosaic.css.d.ts +6 -0
  56. package/dist/mosaic.css.ts.vanilla.css-mistica.js +11 -0
  57. package/dist/mosaic.d.ts +15 -0
  58. package/dist/mosaic.js +206 -0
  59. package/dist/navigation-bar.css-mistica.js +24 -24
  60. package/dist/navigation-breadcrumbs.css-mistica.js +5 -5
  61. package/dist/package-version.js +1 -1
  62. package/dist/password-field.css-mistica.js +1 -1
  63. package/dist/pin-field.css-mistica.js +6 -6
  64. package/dist/popover.css-mistica.js +10 -10
  65. package/dist/progress-bar.css-mistica.js +5 -5
  66. package/dist/radio-button.css-mistica.js +11 -11
  67. package/dist/responsive-layout.css-mistica.js +3 -3
  68. package/dist/screen-reader-only.css-mistica.js +2 -2
  69. package/dist/select.css-mistica.js +14 -14
  70. package/dist/sheet.css-mistica.js +11 -11
  71. package/dist/sheet.js +8 -8
  72. package/dist/skeletons.css-mistica.js +3 -3
  73. package/dist/skins/blau.js +8 -2
  74. package/dist/skins/movistar-legacy.js +6 -0
  75. package/dist/skins/movistar.js +6 -0
  76. package/dist/skins/o2-classic.js +6 -0
  77. package/dist/skins/o2.js +6 -0
  78. package/dist/skins/skin-contract.css-mistica.js +205 -199
  79. package/dist/skins/skin-contract.css.d.ts +6 -0
  80. package/dist/skins/telefonica.js +6 -0
  81. package/dist/skins/types/colors.d.ts +3 -0
  82. package/dist/skins/vivo-new.js +6 -0
  83. package/dist/skins/vivo.js +6 -0
  84. package/dist/slider.css-mistica.js +7 -7
  85. package/dist/snackbar.css-mistica.js +14 -14
  86. package/dist/spinner.css-mistica.js +1 -1
  87. package/dist/sprinkles.css-mistica.js +921 -407
  88. package/dist/sprinkles.css.d.ts +21 -1
  89. package/dist/stacking-group.css-mistica.js +2 -2
  90. package/dist/stepper.css-mistica.js +9 -9
  91. package/dist/switch-component.css-mistica.js +23 -23
  92. package/dist/tabs.css-mistica.js +12 -12
  93. package/dist/tabs.css.d.ts +1 -1
  94. package/dist/tag.css-mistica.js +1 -1
  95. package/dist/text-field-base.css-mistica.js +9 -9
  96. package/dist/text-field-components.css-mistica.js +11 -11
  97. package/dist/text-field-components.js +30 -26
  98. package/dist/text-link.css-mistica.js +3 -3
  99. package/dist/theme.d.ts +1 -1
  100. package/dist/theme.js +1 -0
  101. package/dist/tooltip.css-mistica.js +6 -6
  102. package/dist/touchable.css-mistica.js +3 -3
  103. package/dist/utils/aspect-ratio-support.css-mistica.js +4 -4
  104. package/dist/utils/aspect-ratio-support.d.ts +1 -1
  105. package/dist/utils/aspect-ratio-support.js +2 -1
  106. package/dist/video.css-mistica.js +2 -2
  107. package/dist/video.js +22 -22
  108. package/dist/vivinho-loading-animation/in-lottie.json.js +1479 -0
  109. package/dist/vivinho-loading-animation/index.d.ts +8 -0
  110. package/dist/vivinho-loading-animation/index.js +119 -0
  111. package/dist/vivinho-loading-animation/out-lottie.json.js +2143 -0
  112. package/dist/vivinho-loading-animation/pulse-lottie.json.js +2017 -0
  113. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +20 -0
  114. package/dist/vivinho-loading-animation/vivinho-loading-animation.css.d.ts +2 -0
  115. package/dist/vivinho-loading-animation/vivinho-loading-animation.css.ts.vanilla.css-mistica.js +11 -0
  116. package/dist/vivinho-loading-animation/wave-lottie.json.js +10207 -0
  117. package/dist-es/accordion.css-mistica.js +3 -3
  118. package/dist-es/avatar.css-mistica.js +1 -1
  119. package/dist-es/badge.css-mistica.js +2 -2
  120. package/dist-es/boxed.css-mistica.js +1 -1
  121. package/dist-es/button-group.css-mistica.js +1 -1
  122. package/dist-es/button-layout.css-mistica.js +7 -7
  123. package/dist-es/button.css-mistica.js +18 -10
  124. package/dist-es/button.js +213 -188
  125. package/dist-es/callout.css-mistica.js +1 -1
  126. package/dist-es/card.css-mistica.js +2 -2
  127. package/dist-es/card.js +10 -10
  128. package/dist-es/carousel.css-mistica.js +2 -2
  129. package/dist-es/checkbox.css-mistica.js +6 -6
  130. package/dist-es/chip.css-mistica.js +7 -7
  131. package/dist-es/chip.js +70 -65
  132. package/dist-es/circle.css-mistica.js +2 -2
  133. package/dist-es/community/advanced-data-card.css-mistica.js +3 -3
  134. package/dist-es/community/blocks.css-mistica.js +1 -1
  135. package/dist-es/counter.css-mistica.js +2 -2
  136. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  137. package/dist-es/dialog.css-mistica.js +5 -5
  138. package/dist-es/double-field.css-mistica.js +4 -4
  139. package/dist-es/empty-state-card.css-mistica.js +2 -2
  140. package/dist-es/empty-state.css-mistica.js +3 -3
  141. package/dist-es/feedback.css-mistica.js +2 -2
  142. package/dist-es/fixed-footer-layout.css-mistica.js +2 -2
  143. package/dist-es/grid.css-mistica.js +117 -119
  144. package/dist-es/grid.js +44 -29
  145. package/dist-es/header.css-mistica.js +1 -1
  146. package/dist-es/hero.css-mistica.js +2 -2
  147. package/dist-es/highlighted-card.css-mistica.js +5 -5
  148. package/dist-es/horizontal-scroll.css-mistica.js +2 -2
  149. package/dist-es/icon-button.css-mistica.js +2 -2
  150. package/dist-es/image.css-mistica.js +2 -2
  151. package/dist-es/image.js +37 -37
  152. package/dist-es/index.js +1796 -1794
  153. package/dist-es/inline.js +29 -21
  154. package/dist-es/list.css-mistica.js +2 -2
  155. package/dist-es/loading-bar.css-mistica.js +2 -2
  156. package/dist-es/loading-screen.css-mistica.js +7 -0
  157. package/dist-es/loading-screen.css.ts.vanilla.css-mistica.js +2 -0
  158. package/dist-es/loading-screen.js +335 -0
  159. package/dist-es/maybe-dismissable.css-mistica.js +1 -1
  160. package/dist-es/menu.css-mistica.js +1 -1
  161. package/dist-es/mosaic.css-mistica.js +3 -0
  162. package/dist-es/mosaic.css.ts.vanilla.css-mistica.js +2 -0
  163. package/dist-es/mosaic.js +189 -0
  164. package/dist-es/navigation-bar.css-mistica.js +12 -12
  165. package/dist-es/navigation-breadcrumbs.css-mistica.js +2 -2
  166. package/dist-es/package-version.js +1 -1
  167. package/dist-es/password-field.css-mistica.js +1 -1
  168. package/dist-es/pin-field.css-mistica.js +2 -2
  169. package/dist-es/popover.css-mistica.js +2 -2
  170. package/dist-es/progress-bar.css-mistica.js +2 -2
  171. package/dist-es/radio-button.css-mistica.js +6 -6
  172. package/dist-es/responsive-layout.css-mistica.js +3 -3
  173. package/dist-es/screen-reader-only.css-mistica.js +2 -2
  174. package/dist-es/select.css-mistica.js +11 -11
  175. package/dist-es/sheet.css-mistica.js +2 -2
  176. package/dist-es/sheet.js +8 -8
  177. package/dist-es/skeletons.css-mistica.js +2 -2
  178. package/dist-es/skins/blau.js +8 -2
  179. package/dist-es/skins/movistar-legacy.js +8 -2
  180. package/dist-es/skins/movistar.js +6 -0
  181. package/dist-es/skins/o2-classic.js +6 -0
  182. package/dist-es/skins/o2.js +6 -0
  183. package/dist-es/skins/skin-contract.css-mistica.js +205 -199
  184. package/dist-es/skins/telefonica.js +6 -0
  185. package/dist-es/skins/vivo-new.js +6 -0
  186. package/dist-es/skins/vivo.js +6 -0
  187. package/dist-es/slider.css-mistica.js +2 -2
  188. package/dist-es/snackbar.css-mistica.js +5 -5
  189. package/dist-es/spinner.css-mistica.js +1 -1
  190. package/dist-es/sprinkles.css-mistica.js +921 -407
  191. package/dist-es/stacking-group.css-mistica.js +2 -2
  192. package/dist-es/stepper.css-mistica.js +2 -2
  193. package/dist-es/style.css +1 -1
  194. package/dist-es/switch-component.css-mistica.js +18 -18
  195. package/dist-es/tabs.css-mistica.js +7 -7
  196. package/dist-es/tag.css-mistica.js +1 -1
  197. package/dist-es/text-field-base.css-mistica.js +2 -2
  198. package/dist-es/text-field-components.css-mistica.js +2 -2
  199. package/dist-es/text-field-components.js +49 -44
  200. package/dist-es/text-link.css-mistica.js +3 -3
  201. package/dist-es/theme.js +1 -0
  202. package/dist-es/tooltip.css-mistica.js +2 -2
  203. package/dist-es/touchable.css-mistica.js +2 -2
  204. package/dist-es/utils/aspect-ratio-support.css-mistica.js +3 -3
  205. package/dist-es/utils/aspect-ratio-support.js +2 -1
  206. package/dist-es/video.css-mistica.js +2 -2
  207. package/dist-es/video.js +22 -22
  208. package/dist-es/vivinho-loading-animation/in-lottie.json.js +1426 -0
  209. package/dist-es/vivinho-loading-animation/index.js +64 -0
  210. package/dist-es/vivinho-loading-animation/out-lottie.json.js +2090 -0
  211. package/dist-es/vivinho-loading-animation/pulse-lottie.json.js +1964 -0
  212. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +3 -0
  213. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css.ts.vanilla.css-mistica.js +2 -0
  214. package/dist-es/vivinho-loading-animation/wave-lottie.json.js +10154 -0
  215. package/package.json +2 -1
@@ -13,14 +13,14 @@ _export(exports, {
13
13
  return r;
14
14
  },
15
15
  image: function() {
16
- return f;
16
+ return n;
17
17
  },
18
18
  vars: function() {
19
- return n;
19
+ return f;
20
20
  }
21
21
  });
22
22
  require("./sprinkles.css.ts.vanilla.css-mistica.js");
23
23
  require("./image.css.ts.vanilla.css-mistica.js");
24
- var r = 300, f = "_17tt25r2 _1y2v1nfeh _1y2v1nfew _1y2v1nfbc _1y2v1nfbx _1y2v1nfce _1y2v1nfg5 _1y2v1nfdp _1y2v1nfdq _1y2v1nfe1", n = {
24
+ var r = 300, n = "_17tt25r2 _1y2v1nfjn _1y2v1nfk2 _1y2v1nfgi _1y2v1nfh3 _1y2v1nfhk _1y2v1nflb _1y2v1nfiv _1y2v1nfiw _1y2v1nfj7", f = {
25
25
  mediaBorderRadius: "var(--_17tt25r0)"
26
26
  };
package/dist/image.d.ts CHANGED
@@ -7,7 +7,7 @@ type ImageErrorProps = {
7
7
  border?: boolean;
8
8
  };
9
9
  export declare const ImageError: React.ForwardRefExoticComponent<ImageErrorProps & React.RefAttributes<HTMLDivElement>>;
10
- export type AspectRatio = '1:1' | '16:9' | '7:10' | '4:3';
10
+ export type AspectRatio = '1:1' | '16:9' | '7:10' | '4:3' | undefined;
11
11
  export declare const RATIO: {
12
12
  '1:1': number;
13
13
  '16:9': number;
package/dist/image.js CHANGED
@@ -11,16 +11,16 @@ function _export(target, all) {
11
11
  }
12
12
  _export(exports, {
13
13
  ImageContent: function() {
14
- return G;
14
+ return J;
15
15
  },
16
16
  ImageError: function() {
17
- return q;
17
+ return G;
18
18
  },
19
19
  RATIO: function() {
20
20
  return k;
21
21
  },
22
22
  default: function() {
23
- return m1;
23
+ return h1;
24
24
  }
25
25
  });
26
26
  const _jsxruntime = require("react/jsx-runtime");
@@ -163,7 +163,7 @@ function _object_without_properties_loose(source, excluded) {
163
163
  }
164
164
  return target;
165
165
  }
166
- const Z = (param)=>/* @__PURE__ */ {
166
+ const q = (param)=>/* @__PURE__ */ {
167
167
  let { style: t } = param;
168
168
  return (0, _jsxruntime.jsx)("svg", {
169
169
  width: "48",
@@ -177,7 +177,7 @@ const Z = (param)=>/* @__PURE__ */ {
177
177
  strokeWidth: "2"
178
178
  })
179
179
  });
180
- }, q = /*#__PURE__*/ _react.forwardRef((param, d)=>{
180
+ }, G = /*#__PURE__*/ _react.forwardRef((param, l)=>{
181
181
  let { borderRadius: t, withIcon: a = !0, border: c } = param;
182
182
  const s = (0, _themevariantcontext.useIsInverseVariant)(), { skinName: n } = (0, _hooks.useTheme)();
183
183
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
@@ -192,8 +192,8 @@ const Z = (param)=>/* @__PURE__ */ {
192
192
  border: c ? `1px solid ${_skincontractcssmistica.vars.colors.borderLow}` : "none",
193
193
  borderRadius: t
194
194
  },
195
- ref: d,
196
- children: a ? n === _constants.VIVO_SKIN ? /* @__PURE__ */ (0, _jsxruntime.jsx)(Z, {
195
+ ref: l,
196
+ children: a ? n === _constants.VIVO_SKIN ? /* @__PURE__ */ (0, _jsxruntime.jsx)(q, {
197
197
  style: {
198
198
  width: "10%",
199
199
  minWidth: 24,
@@ -218,8 +218,8 @@ const Z = (param)=>/* @__PURE__ */ {
218
218
  "16:9": 16 / 9,
219
219
  "7:10": 7 / 10,
220
220
  "4:3": 4 / 3
221
- }, x = "1:1", G = /*#__PURE__*/ _react.forwardRef((_param, S)=>{
222
- var { aspectRatio: t = x, alt: a = "", dataAttributes: c, noBorderRadius: d, src: s, onError: n, onLoad: l, loadingFallback: R = !0, errorFallback: y = !0 } = _param, i = _object_without_properties(_param, [
221
+ }, x = "1:1", J = /*#__PURE__*/ _react.forwardRef((_param, S)=>{
222
+ var { aspectRatio: t = x, alt: a = "", dataAttributes: c, noBorderRadius: l, src: s, onError: n, onLoad: d, loadingFallback: R = !0, errorFallback: y = !0 } = _param, i = _object_without_properties(_param, [
223
223
  "aspectRatio",
224
224
  "alt",
225
225
  "dataAttributes",
@@ -230,12 +230,12 @@ const Z = (param)=>/* @__PURE__ */ {
230
230
  "loadingFallback",
231
231
  "errorFallback"
232
232
  ]);
233
- const f = _react.useRef(), A = i.border ? `1px solid ${_skincontractcssmistica.vars.colors.borderLow}` : "none", m = i.circular ? "50%" : d ? "0px" : (0, _css.fallbackStyles)(_imagecssmistica.vars.mediaBorderRadius, _skincontractcssmistica.vars.borderRadii.container), [C, g] = _react.useState(!s), [z, b] = _react.useState(!0), [F, w] = _react.useState(!1), h = i.circular ? 1 : typeof t == "number" ? t : k[t], v = R && !!(h !== 0 || i.width && i.height), L = y && !!(h !== 0 || i.width && i.height), u = _react.useCallback(()=>{
233
+ const f = _react.useRef(), A = i.border ? `1px solid ${_skincontractcssmistica.vars.colors.borderLow}` : "none", h = i.circular ? "50%" : l ? "0px" : (0, _css.fallbackStyles)(_imagecssmistica.vars.mediaBorderRadius, _skincontractcssmistica.vars.borderRadii.container), [C, g] = _react.useState(!s), [z, b] = _react.useState(!0), [F, w] = _react.useState(!1), m = i.width && i.height ? void 0 : i.circular ? 1 : typeof t == "number" ? t : k[t], v = R && !!(m !== 0 || i.width && i.height), L = y && !!(m !== 0 || i.width && i.height), u = _react.useCallback(()=>{
234
234
  g(!1), b(!1), setTimeout(()=>{
235
235
  w(!0);
236
- }, _imagecssmistica.FADE_IN_DURATION_MS), l == null || l();
236
+ }, _imagecssmistica.FADE_IN_DURATION_MS), d == null || d();
237
237
  }, [
238
- l
238
+ d
239
239
  ]), T = // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
240
240
  /* @__PURE__ */ (0, _jsxruntime.jsx)("img", {
241
241
  style: _object_spread_props(_object_spread({}, z && v ? {
@@ -245,12 +245,12 @@ const Z = (param)=>/* @__PURE__ */ {
245
245
  }), {
246
246
  boxSizing: "border-box",
247
247
  border: A,
248
- borderRadius: m
248
+ borderRadius: h
249
249
  }),
250
250
  ref: (0, _common.combineRefs)(f, S),
251
251
  src: s,
252
252
  className: (0, _classnames.default)(_imagecssmistica.image, (0, _sprinklescssmistica.sprinkles)({
253
- position: h !== 0 ? "absolute" : "static"
253
+ position: m !== 0 ? "absolute" : "static"
254
254
  })),
255
255
  alt: a,
256
256
  onError: ()=>{
@@ -278,7 +278,7 @@ const Z = (param)=>/* @__PURE__ */ {
278
278
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_skeletonbase.default, {
279
279
  height: "100%",
280
280
  width: "100%",
281
- radius: m
281
+ radius: h
282
282
  })
283
283
  })
284
284
  }),
@@ -289,17 +289,17 @@ const Z = (param)=>/* @__PURE__ */ {
289
289
  height: "100%",
290
290
  zIndex: 1
291
291
  },
292
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(q, {
293
- borderRadius: m,
292
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(G, {
293
+ borderRadius: h,
294
294
  border: i.border
295
295
  })
296
296
  }),
297
297
  !C && T
298
298
  ]
299
299
  });
300
- }), J = /*#__PURE__*/ _react.forwardRef((t, a)=>{
300
+ }), Q = /*#__PURE__*/ _react.forwardRef((t, a)=>{
301
301
  var _t_aspectRatio;
302
- const c = t.circular ? 1 : typeof t.aspectRatio == "number" ? t.aspectRatio : k[(_t_aspectRatio = t.aspectRatio) !== null && _t_aspectRatio !== void 0 ? _t_aspectRatio : x];
302
+ const c = t.width && t.height ? void 0 : t.circular ? 1 : typeof t.aspectRatio == "number" ? t.aspectRatio : k[(_t_aspectRatio = t.aspectRatio) !== null && _t_aspectRatio !== void 0 ? _t_aspectRatio : x];
303
303
  return /* @__PURE__ */ (0, _jsxruntime.jsx)(_aspectratiosupport.AspectRatioContainer, {
304
304
  style: {
305
305
  position: "relative"
@@ -308,8 +308,8 @@ const Z = (param)=>/* @__PURE__ */ {
308
308
  width: t.width,
309
309
  height: t.height,
310
310
  dataAttributes: (0, _dom.getPrefixedDataAttributes)(t.dataAttributes, "Image"),
311
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(G, _object_spread_props(_object_spread({}, t), {
311
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(J, _object_spread_props(_object_spread({}, t), {
312
312
  ref: a
313
313
  }))
314
314
  });
315
- }), m1 = J;
315
+ }), h1 = Q;
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export type { TouchableElement } from './touchable';
8
8
  export { default as Spinner } from './spinner';
9
9
  export { default as FadeIn } from './fade-in';
10
10
  export { AccordionItem, BoxedAccordionItem, Accordion, BoxedAccordion } from './accordion';
11
- export { ButtonPrimary, ButtonSecondary, ButtonDanger, ButtonLink } from './button';
11
+ export { ButtonPrimary, ButtonSecondary, ButtonDanger, ButtonLink, ButtonLinkDanger } from './button';
12
12
  export { default as ButtonLayout } from './button-layout';
13
13
  export { default as Counter } from './counter';
14
14
  export { default as FixedFooterLayout } from './fixed-footer-layout';
@@ -22,6 +22,7 @@ export { createNestableContext } from './nestable-context';
22
22
  export type { NestableContext } from './nestable-context';
23
23
  export { default as OverscrollColor, OverscrollColorProvider } from './overscroll-color-context';
24
24
  export { FeedbackScreen, ErrorFeedbackScreen, InfoFeedbackScreen, SuccessFeedbackScreen, SuccessFeedback, } from './feedback';
25
+ export { LoadingScreen, BrandLoadingScreen } from './loading-screen';
25
26
  export { default as IconButton } from './icon-button';
26
27
  export { default as Popover } from './popover';
27
28
  export { default as FocusTrap } from './focus-trap';
@@ -54,6 +55,7 @@ export { default as HorizontalScroll } from './horizontal-scroll';
54
55
  export { default as HighlightedCard } from './highlighted-card';
55
56
  export { default as Stepper } from './stepper';
56
57
  export { ProgressBar, ProgressBarStepped } from './progress-bar';
58
+ export { VerticalMosaic, HorizontalMosaic } from './mosaic';
57
59
  export { MediaCard, DataCard, SnapCard, DisplayDataCard, DisplayMediaCard, PosterCard, NakedCard, SmallNakedCard, CardActionSpinner, CardActionIconButton, } from './card';
58
60
  export { default as Hero } from './hero';
59
61
  export { default as Divider } from './divider';
package/dist/index.js CHANGED
@@ -51,6 +51,9 @@ _export(exports, {
51
51
  BoxedRowList: function() {
52
52
  return _list.BoxedRowList;
53
53
  },
54
+ BrandLoadingScreen: function() {
55
+ return _loadingscreen.BrandLoadingScreen;
56
+ },
54
57
  ButtonDanger: function() {
55
58
  return _button.ButtonDanger;
56
59
  },
@@ -63,6 +66,9 @@ _export(exports, {
63
66
  ButtonLink: function() {
64
67
  return _button.ButtonLink;
65
68
  },
69
+ ButtonLinkDanger: function() {
70
+ return _button.ButtonLinkDanger;
71
+ },
66
72
  ButtonPrimary: function() {
67
73
  return _button.ButtonPrimary;
68
74
  },
@@ -210,6 +216,9 @@ _export(exports, {
210
216
  HighlightedCard: function() {
211
217
  return _highlightedcard.default;
212
218
  },
219
+ HorizontalMosaic: function() {
220
+ return _mosaic.HorizontalMosaic;
221
+ },
213
222
  HorizontalScroll: function() {
214
223
  return _horizontalscroll.default;
215
224
  },
@@ -5292,6 +5301,9 @@ _export(exports, {
5292
5301
  LoadingBar: function() {
5293
5302
  return _loadingbar.default;
5294
5303
  },
5304
+ LoadingScreen: function() {
5305
+ return _loadingscreen.LoadingScreen;
5306
+ },
5295
5307
  Logo: function() {
5296
5308
  return _logo.Logo;
5297
5309
  },
@@ -5574,6 +5586,9 @@ _export(exports, {
5574
5586
  VIVO_SKIN: function() {
5575
5587
  return _constants.VIVO_SKIN;
5576
5588
  },
5589
+ VerticalMosaic: function() {
5590
+ return _mosaic.VerticalMosaic;
5591
+ },
5577
5592
  Video: function() {
5578
5593
  return _video.default;
5579
5594
  },
@@ -5726,6 +5741,7 @@ const _fixedtotop = /*#__PURE__*/ _interop_require_wildcard(require("./fixed-to-
5726
5741
  const _nestablecontext = require("./nestable-context.js");
5727
5742
  const _overscrollcolorcontext = /*#__PURE__*/ _interop_require_wildcard(require("./overscroll-color-context.js"));
5728
5743
  const _feedback = require("./feedback.js");
5744
+ const _loadingscreen = require("./loading-screen.js");
5729
5745
  const _iconbutton = /*#__PURE__*/ _interop_require_default(require("./icon-button.js"));
5730
5746
  const _popover = /*#__PURE__*/ _interop_require_default(require("./popover.js"));
5731
5747
  const _focustrap = /*#__PURE__*/ _interop_require_default(require("./focus-trap.js"));
@@ -5757,6 +5773,7 @@ const _horizontalscroll = /*#__PURE__*/ _interop_require_default(require("./hori
5757
5773
  const _highlightedcard = /*#__PURE__*/ _interop_require_default(require("./highlighted-card.js"));
5758
5774
  const _stepper = /*#__PURE__*/ _interop_require_default(require("./stepper.js"));
5759
5775
  const _progressbar = require("./progress-bar.js");
5776
+ const _mosaic = require("./mosaic.js");
5760
5777
  const _card = require("./card.js");
5761
5778
  const _hero = /*#__PURE__*/ _interop_require_default(require("./hero.js"));
5762
5779
  const _divider = /*#__PURE__*/ _interop_require_default(require("./divider.js"));
package/dist/inline.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  "use strict";
2
3
  Object.defineProperty(exports, "__esModule", {
3
4
  value: true
@@ -5,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
5
6
  Object.defineProperty(exports, "default", {
6
7
  enumerable: true,
7
8
  get: function() {
8
- return k;
9
+ return N;
9
10
  }
10
11
  });
11
12
  const _jsxruntime = require("react/jsx-runtime");
@@ -15,6 +16,8 @@ const _sprinklescssmistica = require("./sprinkles.css-mistica.js");
15
16
  const _dom = require("./utils/dom.js");
16
17
  const _inlinecssmistica = require("./inline.css-mistica.js");
17
18
  const _css = require("./utils/css.js");
19
+ const _platform = require("./utils/platform.js");
20
+ const _hooks = require("./hooks.js");
18
21
  function _interop_require_default(obj) {
19
22
  return obj && obj.__esModule ? obj : {
20
23
  default: obj
@@ -113,21 +116,26 @@ function _object_spread_props(target, source) {
113
116
  }
114
117
  return target;
115
118
  }
116
- const j = (param)=>{
117
- let { space: r, className: l, children: e, role: o, alignItems: a = "stretch", "aria-labelledby": s, fullWidth: m, wrap: n, dataAttributes: f } = param;
118
- const p = m || typeof r == "string";
119
+ const C = (param)=>{
120
+ let { space: r, className: o, children: s, role: l, alignItems: n = "stretch", "aria-labelledby": m, fullWidth: a, wrap: p, dataAttributes: f } = param;
121
+ const d = a || typeof r == "string", { platformOverrides: i } = (0, _hooks.useTheme)();
119
122
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({
120
- className: (0, _classnames.default)(l, (0, _sprinklescssmistica.sprinkles)({
121
- alignItems: a
122
- }), n ? _inlinecssmistica.wrap : p ? _inlinecssmistica.fullWidth : _inlinecssmistica.noFullWidth, typeof r != "number" && _inlinecssmistica.justifyVariants[r]),
123
+ className: (0, _classnames.default)(o, (0, _sprinklescssmistica.sprinkles)({
124
+ alignItems: n
125
+ }), p ? _inlinecssmistica.wrap : d ? _inlinecssmistica.fullWidth : _inlinecssmistica.noFullWidth, typeof r != "number" && _inlinecssmistica.justifyVariants[r]),
123
126
  style: typeof r == "number" ? (0, _css.applyCssVars)({
124
127
  [_inlinecssmistica.vars.space]: `${r}px`
125
128
  }) : void 0,
126
- role: o,
127
- "aria-labelledby": s
128
- }, (0, _dom.getPrefixedDataAttributes)(f)), {
129
- children: _react.Children.map(e, (t)=>t || t === 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
129
+ role: l,
130
+ "aria-labelledby": m
131
+ }, (0, _dom.getPrefixedDataAttributes)(f, "Inline")), {
132
+ children: _react.Children.map(s, (t)=>t || t === 0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
133
+ style: {
134
+ // Hack to fix https://jira.tid.es/browse/WEB-1683
135
+ // In iOS the inline component sometimes cuts the last line of the content
136
+ paddingBottom: (0, _platform.isIos)(i) && !(0, _platform.isRunningAcceptanceTest)(i) ? 1 : void 0
137
+ },
130
138
  children: t
131
139
  }) : null)
132
140
  }));
133
- }, k = j;
141
+ }, N = C;
@@ -13,57 +13,57 @@ _export(exports, {
13
13
  return _;
14
14
  },
15
15
  badge: function() {
16
- return f;
16
+ return y;
17
17
  },
18
18
  center: function() {
19
- return y;
19
+ return f;
20
20
  },
21
21
  content: function() {
22
- return a;
22
+ return g;
23
23
  },
24
24
  detail: function() {
25
- return b;
25
+ return a;
26
26
  },
27
27
  detailRight: function() {
28
28
  return r;
29
29
  },
30
30
  disabled: function() {
31
- return t;
31
+ return i;
32
32
  },
33
33
  dualActionContainer: function() {
34
- return e;
34
+ return t;
35
35
  },
36
36
  dualActionDivider: function() {
37
- return u;
37
+ return e;
38
38
  },
39
39
  dualActionLeft: function() {
40
- return c;
40
+ return o;
41
41
  },
42
42
  dualActionRight: function() {
43
- return d;
43
+ return h;
44
44
  },
45
45
  pointer: function() {
46
- return i;
46
+ return u;
47
47
  },
48
48
  right: function() {
49
- return o;
49
+ return d;
50
50
  },
51
51
  rightRestrictedWidth: function() {
52
- return g;
52
+ return b;
53
53
  },
54
54
  rowBody: function() {
55
- return l;
55
+ return c;
56
56
  },
57
57
  rowContent: function() {
58
58
  return j;
59
59
  },
60
60
  touchableBackground: function() {
61
- return s;
61
+ return l;
62
62
  },
63
63
  touchableBackgroundInverse: function() {
64
- return h;
64
+ return k;
65
65
  }
66
66
  });
67
67
  require("./sprinkles.css.ts.vanilla.css-mistica.js");
68
68
  require("./list.css.ts.vanilla.css-mistica.js");
69
- var _ = "_1y2v1nfba _1y2v1nfbs _1y2v1nfbu", f = "_1y2v1nfbj _1y2v1nfd0 _1y2v1nfce _1y2v1nfbs", y = "_1y2v1nfba _1y2v1nfbp", a = "_1y2v1nfba _1y2v1nfbx _1y2v1nfdn", b = "_2buj9gf", r = "_2buj9ge", t = "_2buj9g0", e = "_1y2v1nfba _1y2v1nfbf _1y2v1nfce", u = "_2buj9gm _1y2v1nfba", c = "_1y2v1nf63 _1y2v1nf7c _1y2v1nf8l _1y2v1nf9u _1y2v1nfds _1y2v1nf62 _1y2v1nf90 _1y2v1nfa9 _1y2v1nfbc _1y2v1nfbv", d = "_2buj9go _1y2v1nf63 _1y2v1nf7c _1y2v1nf8l _1y2v1nf9u _1y2v1nfds _1y2v1nf62 _1y2v1nf90 _1y2v1nfa9 _1y2v1nfba _1y2v1nfbp _1y2v1nfbu _1y2v1nfby _1y2v1nfce", i = "_1y2v1nfea", o = "_2buj9gc", g = "_2buj9gd", l = "_1y2v1nfba _1y2v1nfbg _1y2v1nfbw", j = "_1y2v1nf63 _1y2v1nf7c _1y2v1nf8l _1y2v1nf9u _1y2v1nfbx _1y2v1nfds _1y2v1nf62 _1y2v1nfbc _1y2v1nfce", s = "_2buj9g1", h = "_2buj9g2";
69
+ var _ = "_1y2v1nfgg _1y2v1nfgy _1y2v1nfh0", y = "_1y2v1nfgp _1y2v1nfi6 _1y2v1nfhk _1y2v1nfgy", f = "_1y2v1nfgg _1y2v1nfgv", g = "_1y2v1nfgg _1y2v1nfh3 _1y2v1nfit", a = "_2buj9gf", r = "_2buj9ge", i = "_2buj9g0", t = "_1y2v1nfgg _1y2v1nfgl _1y2v1nfhk", e = "_2buj9gm _1y2v1nfgg", o = "_1y2v1nf69 _1y2v1nf7i _1y2v1nf8r _1y2v1nfa0 _1y2v1nfiy _1y2v1nf68 _1y2v1nf96 _1y2v1nfaf _1y2v1nfgi _1y2v1nfh1", h = "_2buj9go _1y2v1nf69 _1y2v1nf7i _1y2v1nf8r _1y2v1nfa0 _1y2v1nfiy _1y2v1nf68 _1y2v1nf96 _1y2v1nfaf _1y2v1nfgg _1y2v1nfgv _1y2v1nfh0 _1y2v1nfh4 _1y2v1nfhk", u = "_1y2v1nfjg", d = "_2buj9gc", b = "_2buj9gd", c = "_1y2v1nfgg _1y2v1nfgm _1y2v1nfh2", j = "_1y2v1nf69 _1y2v1nf7i _1y2v1nf8r _1y2v1nfa0 _1y2v1nfh3 _1y2v1nfiy _1y2v1nf68 _1y2v1nfgi _1y2v1nfhk", l = "_2buj9g1", k = "_2buj9g2";
@@ -19,24 +19,24 @@ _export(exports, {
19
19
  return e;
20
20
  },
21
21
  exit: function() {
22
- return f;
22
+ return a;
23
23
  },
24
24
  exitActive: function() {
25
- return y;
25
+ return f;
26
26
  },
27
27
  innerProgress: function() {
28
- return a;
28
+ return g;
29
29
  },
30
30
  portal: function() {
31
- return t;
31
+ return y;
32
32
  },
33
33
  progress: function() {
34
- return g;
34
+ return t;
35
35
  },
36
36
  progressContainer: function() {
37
- return m;
37
+ return i;
38
38
  }
39
39
  });
40
40
  require("./sprinkles.css.ts.vanilla.css-mistica.js");
41
41
  require("./loading-bar.css.ts.vanilla.css-mistica.js");
42
- var r = 400, _ = "_1num3qg9", e = "_1num3qga", f = "_1num3qgb", y = "_1num3qgc", a = "_1num3qg8 _1y2v1nfce", t = "_1num3qg3 _1y2v1nfb6 _1y2v1nfeh _1y2v1nfew _1y2v1nffb", g = "_1num3qg6 _1y2v1nfb5 _1y2v1nfce _1y2v1nfbx", m = "_1y2v1nfbx _1y2v1nfeb _1y2v1nfb4 _1y2v1nf4c _1y2v1nfch";
42
+ var r = 400, _ = "_1num3qg9", e = "_1num3qga", a = "_1num3qgb", f = "_1num3qgc", g = "_1num3qg8 _1y2v1nfhk", y = "_1num3qg3 _1y2v1nfgc _1y2v1nfjn _1y2v1nfk2 _1y2v1nfkh", t = "_1num3qg6 _1y2v1nfgb _1y2v1nfhk _1y2v1nfh3", i = "_1y2v1nfh3 _1y2v1nfjh _1y2v1nfga _1y2v1nf4i _1y2v1nfhn";
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ inOutAnimationMs: function() {
13
+ return r;
14
+ },
15
+ loadingScreen: function() {
16
+ return a;
17
+ },
18
+ loadingScreenChildren: function() {
19
+ return v;
20
+ },
21
+ loadingScreenText: function() {
22
+ return f;
23
+ },
24
+ loadingScreenTextAnimated: function() {
25
+ return g;
26
+ },
27
+ loadingScreenTextAnimatedOut: function() {
28
+ return l;
29
+ },
30
+ logo: function() {
31
+ return o;
32
+ },
33
+ pulseLogo: function() {
34
+ return i;
35
+ },
36
+ screenBackground: function() {
37
+ return d;
38
+ },
39
+ screenBackgroundAnimated: function() {
40
+ return t;
41
+ },
42
+ screenBackgroundFadeOut: function() {
43
+ return k;
44
+ }
45
+ });
46
+ require("./sprinkles.css.ts.vanilla.css-mistica.js");
47
+ require("./loading-screen.css.ts.vanilla.css-mistica.js");
48
+ var r = 500, a = "flke8b1 _1y2v1nfgg _1y2v1nfgm _1y2v1nfgv", v = "_1y2v1nfh2 _1y2v1nfgg _1y2v1nfgm _1y2v1nfgv _1y2v1nfgp", f = "flke8b9 _1y2v1nf6u", g = "flke8bb", l = "flke8bc", o = "flke8bf", i = "flke8be", d = {
49
+ default: "flke8b4",
50
+ inverse: "flke8b5"
51
+ }, t = "flke8b3", k = "flke8b6";
@@ -0,0 +1,11 @@
1
+ export declare const loadingScreen: string;
2
+ export declare const inOutAnimationMs = 500;
3
+ export declare const screenBackgroundAnimated: string;
4
+ export declare const screenBackground: Record<"inverse" | "default", string>;
5
+ export declare const screenBackgroundFadeOut: string;
6
+ export declare const loadingScreenChildren: string;
7
+ export declare const loadingScreenText: string;
8
+ export declare const loadingScreenTextAnimated: string;
9
+ export declare const loadingScreenTextAnimatedOut: string;
10
+ export declare const pulseLogo: string;
11
+ export declare const logo: string;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "default", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return a;
9
+ }
10
+ });
11
+ const a = "";
@@ -0,0 +1,28 @@
1
+ import * as React from 'react';
2
+ import type { ExclusifyUnion } from './utils/utility-types';
3
+ import type { DataAttributes } from './utils/types';
4
+ type TextProps = ExclusifyUnion<{
5
+ title?: string;
6
+ description?: string;
7
+ } | {
8
+ texts: Array<{
9
+ title?: string;
10
+ description?: string;
11
+ duration?: number;
12
+ }>;
13
+ }>;
14
+ type LoadingScreenProps = {
15
+ isInverse?: boolean;
16
+ isLoading?: boolean;
17
+ onClose?: () => void;
18
+ children?: React.ReactNode;
19
+ dataAttributes?: DataAttributes;
20
+ } & TextProps;
21
+ export declare const LoadingScreen: React.ForwardRefExoticComponent<LoadingScreenProps & React.RefAttributes<HTMLDivElement>>;
22
+ type BrandLoadingScreenProps = {
23
+ isLoading?: boolean;
24
+ onClose?: () => void;
25
+ dataAttributes?: DataAttributes;
26
+ } & TextProps;
27
+ export declare const BrandLoadingScreen: React.ForwardRefExoticComponent<BrandLoadingScreenProps & React.RefAttributes<HTMLDivElement>>;
28
+ export {};