@telefonica/mistica 16.32.0 → 16.33.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 (207) hide show
  1. package/css/mistica-common.css +35 -8
  2. package/css/mistica.css +1 -1
  3. package/dist/accordion.css-mistica.js +6 -6
  4. package/dist/align.css-mistica.js +1 -1
  5. package/dist/avatar.css-mistica.js +1 -1
  6. package/dist/badge.css-mistica.js +1 -1
  7. package/dist/box.css-mistica.js +13 -13
  8. package/dist/boxed.css-mistica.js +24 -24
  9. package/dist/button-group.css-mistica.js +1 -1
  10. package/dist/button-layout.css-mistica.js +13 -13
  11. package/dist/button.css-mistica.js +16 -16
  12. package/dist/callout.css-mistica.js +5 -5
  13. package/dist/card.css-mistica.js +3 -3
  14. package/dist/carousel.css-mistica.js +8 -8
  15. package/dist/checkbox.css-mistica.js +7 -7
  16. package/dist/chip.css-mistica.js +12 -12
  17. package/dist/circle.css-mistica.js +1 -1
  18. package/dist/community/advanced-data-card.css-mistica.js +6 -6
  19. package/dist/community/blocks.css-mistica.js +1 -1
  20. package/dist/community/example-component.css-mistica.js +1 -1
  21. package/dist/counter.css-mistica.js +1 -1
  22. package/dist/cover-hero.css-mistica.js +3 -3
  23. package/dist/credit-card-number-field.css-mistica.js +3 -3
  24. package/dist/date-field.css-mistica.js +1 -1
  25. package/dist/date-time-picker.css-mistica.js +1 -1
  26. package/dist/dialog.css-mistica.js +4 -4
  27. package/dist/divider.css-mistica.js +2 -2
  28. package/dist/double-field.css-mistica.js +2 -2
  29. package/dist/drawer.css-mistica.js +1 -1
  30. package/dist/empty-state-card.css-mistica.js +1 -1
  31. package/dist/empty-state.css-mistica.js +5 -5
  32. package/dist/fade-in.css-mistica.js +1 -1
  33. package/dist/feedback.css-mistica.js +1 -1
  34. package/dist/fixed-footer-layout.css-mistica.js +4 -4
  35. package/dist/form.css-mistica.js +1 -1
  36. package/dist/grid-layout.css-mistica.js +3 -3
  37. package/dist/grid.css-mistica.js +122 -122
  38. package/dist/header.css-mistica.js +1 -1
  39. package/dist/hero.css-mistica.js +2 -2
  40. package/dist/highlighted-card.css-mistica.js +4 -4
  41. package/dist/horizontal-scroll.css-mistica.js +1 -1
  42. package/dist/icon-button.css-mistica.js +42 -42
  43. package/dist/icons/icon-chevron.css-mistica.js +2 -2
  44. package/dist/icons/icon-error.css-mistica.js +1 -1
  45. package/dist/image.css-mistica.js +3 -3
  46. package/dist/index.d.ts +1 -0
  47. package/dist/index.js +7 -0
  48. package/dist/inline.css-mistica.js +10 -10
  49. package/dist/list.css-mistica.js +1 -1
  50. package/dist/loading-bar.css-mistica.js +1 -1
  51. package/dist/loading-screen.css-mistica.js +4 -4
  52. package/dist/logo.css-mistica.js +5 -5
  53. package/dist/maybe-dismissable.css-mistica.js +1 -1
  54. package/dist/media-queries.css-mistica.js +2 -2
  55. package/dist/menu.css-mistica.js +12 -12
  56. package/dist/mosaic.css-mistica.js +1 -1
  57. package/dist/navigation-bar.css-mistica.js +16 -16
  58. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  59. package/dist/package-version.js +1 -1
  60. package/dist/pin-field.css-mistica.js +1 -1
  61. package/dist/popover.css-mistica.js +1 -1
  62. package/dist/progress-bar.css-mistica.js +4 -4
  63. package/dist/radio-button.css-mistica.js +14 -14
  64. package/dist/rating.css-mistica.js +2 -2
  65. package/dist/responsive-layout.css-mistica.js +16 -19
  66. package/dist/responsive-layout.css.d.ts +2 -2
  67. package/dist/screen-reader-only.css-mistica.js +1 -1
  68. package/dist/screen-reader-only.css.d.ts +14 -0
  69. package/dist/select.css-mistica.js +15 -15
  70. package/dist/sheet-action-row.css-mistica.js +1 -1
  71. package/dist/sheet-common.css-mistica.js +1 -1
  72. package/dist/sheet-common.js +18 -18
  73. package/dist/sheet-info.css-mistica.js +1 -1
  74. package/dist/skeletons.css-mistica.js +4 -4
  75. package/dist/skins/skin-contract.css-mistica.js +354 -354
  76. package/dist/skip-link.css-mistica.js +22 -0
  77. package/dist/skip-link.css.d.ts +2 -0
  78. package/dist/skip-link.css.ts.vanilla.css-mistica.js +11 -0
  79. package/dist/skip-link.d.ts +16 -0
  80. package/dist/skip-link.js +145 -0
  81. package/dist/slider.css-mistica.js +10 -10
  82. package/dist/snackbar.css-mistica.js +4 -4
  83. package/dist/spinner.css-mistica.js +1 -1
  84. package/dist/spinner.d.ts +2 -1
  85. package/dist/spinner.js +82 -128
  86. package/dist/stack.css-mistica.js +5 -5
  87. package/dist/stacking-group.css-mistica.js +1 -1
  88. package/dist/stepper.css-mistica.js +2 -2
  89. package/dist/switch-component.css-mistica.js +26 -26
  90. package/dist/table.css-mistica.js +8 -8
  91. package/dist/tabs.css-mistica.js +12 -12
  92. package/dist/tag.css-mistica.js +1 -1
  93. package/dist/text-field-base.css-mistica.js +1 -1
  94. package/dist/text-field-components.css-mistica.js +3 -3
  95. package/dist/text-link.css-mistica.js +5 -5
  96. package/dist/text-tokens.d.ts +2 -0
  97. package/dist/text-tokens.js +32 -24
  98. package/dist/text.css-mistica.js +7 -7
  99. package/dist/text.js +172 -147
  100. package/dist/theme-context.css-mistica.js +394 -394
  101. package/dist/timeline.css-mistica.js +10 -10
  102. package/dist/timer.css-mistica.js +6 -6
  103. package/dist/tooltip.css-mistica.js +1 -1
  104. package/dist/touchable.css-mistica.js +1 -1
  105. package/dist/utils/aspect-ratio-support.css-mistica.js +3 -3
  106. package/dist/video.css-mistica.js +1 -1
  107. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  108. package/dist-es/accordion.css-mistica.js +6 -6
  109. package/dist-es/align.css-mistica.js +1 -1
  110. package/dist-es/avatar.css-mistica.js +1 -1
  111. package/dist-es/badge.css-mistica.js +1 -1
  112. package/dist-es/box.css-mistica.js +13 -13
  113. package/dist-es/boxed.css-mistica.js +23 -23
  114. package/dist-es/button-group.css-mistica.js +1 -1
  115. package/dist-es/button-layout.css-mistica.js +13 -13
  116. package/dist-es/button.css-mistica.js +16 -16
  117. package/dist-es/callout.css-mistica.js +5 -5
  118. package/dist-es/card.css-mistica.js +3 -3
  119. package/dist-es/carousel.css-mistica.js +8 -8
  120. package/dist-es/checkbox.css-mistica.js +7 -7
  121. package/dist-es/chip.css-mistica.js +12 -12
  122. package/dist-es/circle.css-mistica.js +1 -1
  123. package/dist-es/community/advanced-data-card.css-mistica.js +6 -6
  124. package/dist-es/community/blocks.css-mistica.js +1 -1
  125. package/dist-es/community/example-component.css-mistica.js +1 -1
  126. package/dist-es/counter.css-mistica.js +1 -1
  127. package/dist-es/cover-hero.css-mistica.js +3 -3
  128. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  129. package/dist-es/date-field.css-mistica.js +1 -1
  130. package/dist-es/date-time-picker.css-mistica.js +1 -1
  131. package/dist-es/dialog.css-mistica.js +4 -4
  132. package/dist-es/divider.css-mistica.js +2 -2
  133. package/dist-es/double-field.css-mistica.js +2 -2
  134. package/dist-es/drawer.css-mistica.js +1 -1
  135. package/dist-es/empty-state-card.css-mistica.js +1 -1
  136. package/dist-es/empty-state.css-mistica.js +5 -5
  137. package/dist-es/fade-in.css-mistica.js +1 -1
  138. package/dist-es/feedback.css-mistica.js +1 -1
  139. package/dist-es/fixed-footer-layout.css-mistica.js +4 -4
  140. package/dist-es/form.css-mistica.js +1 -1
  141. package/dist-es/grid-layout.css-mistica.js +3 -3
  142. package/dist-es/grid.css-mistica.js +122 -122
  143. package/dist-es/header.css-mistica.js +1 -1
  144. package/dist-es/hero.css-mistica.js +2 -2
  145. package/dist-es/highlighted-card.css-mistica.js +4 -4
  146. package/dist-es/horizontal-scroll.css-mistica.js +1 -1
  147. package/dist-es/icon-button.css-mistica.js +42 -42
  148. package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
  149. package/dist-es/icons/icon-error.css-mistica.js +1 -1
  150. package/dist-es/image.css-mistica.js +3 -3
  151. package/dist-es/index.js +1845 -1844
  152. package/dist-es/inline.css-mistica.js +10 -10
  153. package/dist-es/list.css-mistica.js +1 -1
  154. package/dist-es/loading-bar.css-mistica.js +1 -1
  155. package/dist-es/loading-screen.css-mistica.js +4 -4
  156. package/dist-es/logo.css-mistica.js +5 -5
  157. package/dist-es/maybe-dismissable.css-mistica.js +1 -1
  158. package/dist-es/media-queries.css-mistica.js +2 -2
  159. package/dist-es/menu.css-mistica.js +12 -12
  160. package/dist-es/mosaic.css-mistica.js +1 -1
  161. package/dist-es/navigation-bar.css-mistica.js +16 -16
  162. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  163. package/dist-es/package-version.js +1 -1
  164. package/dist-es/pin-field.css-mistica.js +1 -1
  165. package/dist-es/popover.css-mistica.js +1 -1
  166. package/dist-es/progress-bar.css-mistica.js +4 -4
  167. package/dist-es/radio-button.css-mistica.js +14 -14
  168. package/dist-es/rating.css-mistica.js +2 -2
  169. package/dist-es/responsive-layout.css-mistica.js +6 -6
  170. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  171. package/dist-es/select.css-mistica.js +15 -15
  172. package/dist-es/sheet-action-row.css-mistica.js +1 -1
  173. package/dist-es/sheet-common.css-mistica.js +1 -1
  174. package/dist-es/sheet-common.js +48 -48
  175. package/dist-es/sheet-info.css-mistica.js +1 -1
  176. package/dist-es/skeletons.css-mistica.js +4 -4
  177. package/dist-es/skins/skin-contract.css-mistica.js +354 -354
  178. package/dist-es/skip-link.css-mistica.js +5 -0
  179. package/dist-es/skip-link.css.ts.vanilla.css-mistica.js +2 -0
  180. package/dist-es/skip-link.js +87 -0
  181. package/dist-es/slider.css-mistica.js +10 -10
  182. package/dist-es/snackbar.css-mistica.js +4 -4
  183. package/dist-es/spinner.css-mistica.js +1 -1
  184. package/dist-es/spinner.js +86 -91
  185. package/dist-es/stack.css-mistica.js +5 -5
  186. package/dist-es/stacking-group.css-mistica.js +1 -1
  187. package/dist-es/stepper.css-mistica.js +2 -2
  188. package/dist-es/style.css +1 -1
  189. package/dist-es/switch-component.css-mistica.js +26 -26
  190. package/dist-es/table.css-mistica.js +8 -8
  191. package/dist-es/tabs.css-mistica.js +12 -12
  192. package/dist-es/tag.css-mistica.js +1 -1
  193. package/dist-es/text-field-base.css-mistica.js +1 -1
  194. package/dist-es/text-field-components.css-mistica.js +3 -3
  195. package/dist-es/text-link.css-mistica.js +5 -5
  196. package/dist-es/text-tokens.js +18 -13
  197. package/dist-es/text.css-mistica.js +7 -7
  198. package/dist-es/text.js +176 -151
  199. package/dist-es/theme-context.css-mistica.js +394 -394
  200. package/dist-es/timeline.css-mistica.js +10 -10
  201. package/dist-es/timer.css-mistica.js +6 -6
  202. package/dist-es/tooltip.css-mistica.js +1 -1
  203. package/dist-es/touchable.css-mistica.js +1 -1
  204. package/dist-es/utils/aspect-ratio-support.css-mistica.js +3 -3
  205. package/dist-es/video.css-mistica.js +1 -1
  206. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  207. package/package.json +1 -1
package/dist/text.js CHANGED
@@ -14,40 +14,40 @@ _export(exports, {
14
14
  return o;
15
15
  },
16
16
  Text1: function() {
17
- return Ft;
17
+ return Nt;
18
18
  },
19
19
  Text10: function() {
20
- return Pt;
20
+ return At;
21
21
  },
22
22
  Text2: function() {
23
- return Ot;
23
+ return Lt;
24
24
  },
25
25
  Text3: function() {
26
- return Et;
26
+ return Wt;
27
27
  },
28
28
  Text4: function() {
29
- return Nt;
29
+ return Rt;
30
30
  },
31
31
  Text5: function() {
32
- return kt;
32
+ return Ct;
33
33
  },
34
34
  Text6: function() {
35
- return Wt;
35
+ return zt;
36
36
  },
37
37
  Text7: function() {
38
- return St;
38
+ return Ht;
39
39
  },
40
40
  Text8: function() {
41
- return Rt;
41
+ return It;
42
42
  },
43
43
  Text9: function() {
44
- return Ct;
44
+ return Vt;
45
45
  },
46
46
  default: function() {
47
- return _t;
47
+ return Et;
48
48
  },
49
49
  mapToWeight: function() {
50
- return ut;
50
+ return lt;
51
51
  }
52
52
  });
53
53
  const _jsxruntime = require("react/jsx-runtime");
@@ -187,12 +187,12 @@ function _object_without_properties_loose(source, excluded) {
187
187
  }
188
188
  return target;
189
189
  }
190
- const ut = {
190
+ const lt = {
191
191
  light: 300,
192
192
  regular: 400,
193
193
  medium: 500,
194
194
  bold: 700
195
- }, lt = (t)=>t === !0 ? 1 : t || "initial", h = "Ħ", ht = /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
195
+ }, ut = (t)=>t === !0 ? 1 : t || "initial", h = "Ħ", ht = /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
196
196
  children: [
197
197
  /* @__PURE__ */ (0, _jsxruntime.jsx)("span", {
198
198
  "aria-hidden": !0,
@@ -205,240 +205,265 @@ const ut = {
205
205
  })
206
206
  ]
207
207
  }), dt = (param)=>{
208
- let { children: t, ariaLabel: r, as: e } = param;
209
- return typeof e == "string" && [
208
+ let { children: t, ariaLabel: i, as: r } = param;
209
+ return typeof r == "string" && [
210
210
  "h1",
211
211
  "h2",
212
212
  "h3",
213
213
  "h4",
214
214
  "h5",
215
215
  "h6"
216
- ].includes(e) && typeof t == "string" && t.includes(h) ? {
216
+ ].includes(r) && typeof t == "string" && t.includes(h) ? {
217
217
  ariaLabel: t.replace(new RegExp(h, "g"), "Vivo"),
218
218
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)("span", {
219
219
  "aria-hidden": !0,
220
220
  children: t
221
221
  })
222
222
  } : {
223
- children: _react.Children.map(t, (n)=>typeof n != "string" || !n.includes(h) ? n : /* @__PURE__ */ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {
224
- children: n.split(h).map((m, c)=>/* @__PURE__ */ (0, _jsxruntime.jsxs)(_react.Fragment, {
223
+ children: _react.Children.map(t, (e)=>typeof e != "string" || !e.includes(h) ? e : /* @__PURE__ */ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {
224
+ children: e.split(h).map((c, m)=>/* @__PURE__ */ (0, _jsxruntime.jsxs)(_react.Fragment, {
225
225
  children: [
226
- c > 0 && ht,
227
- m
226
+ m > 0 && ht,
227
+ c
228
228
  ]
229
- }, c))
229
+ }, m))
230
230
  })),
231
- ariaLabel: r
231
+ ariaLabel: i
232
232
  };
233
233
  }, o = (param)=>{
234
- let { weight: t, color: r = _skincontractcssmistica.vars.colors.textPrimary, decoration: e, truncate: n, transform: m, wordBreak: c = !0, hyphens: v = "auto", as: g = "span", children: u, size: w, mobileSize: b = w, desktopSize: y = w, lineHeight: A, mobileLineHeight: V = A, desktopLineHeight: I = A, letterSpacing: S, textAlign: W, textShadow: k, id: N, role: E, "aria-level": O, "aria-label": f, "aria-hidden": F, "aria-live": _, dataAttributes: j } = param;
235
- const { skinName: D } = (0, _hooks.useTheme)(), H = (0, _themevariantcontext.useIsInverseOrMediaVariant)(), M = lt(n), z = {
234
+ let { weight: t, color: i = _skincontractcssmistica.vars.colors.textPrimary, decoration: r, truncate: e, transform: c, wordBreak: m = !0, hyphens: d = "auto", as: T = "span", children: l, size: v, mobileSize: w = v, desktopSize: b = v, lineHeight: S, mobileLineHeight: k = S, desktopLineHeight: y = S, letterSpacing: H, textAlign: z, textShadow: C, id: R, role: W, "aria-level": L, "aria-label": f, "aria-hidden": N, "aria-live": E, dataAttributes: O } = param;
235
+ const { skinName: F } = (0, _hooks.useTheme)(), _ = (0, _themevariantcontext.useIsInverseOrMediaVariant)(), j = ut(e), D = {
236
236
  [_skincontractcssmistica.vars.colors.textPrimary]: _skincontractcssmistica.vars.colors.textPrimaryInverse,
237
237
  [_skincontractcssmistica.vars.colors.textSecondary]: _skincontractcssmistica.vars.colors.textSecondaryInverse,
238
238
  [_skincontractcssmistica.vars.colors.textLink]: _skincontractcssmistica.vars.colors.textLinkInverse,
239
239
  [_skincontractcssmistica.vars.colors.textError]: _skincontractcssmistica.vars.colors.textErrorInverse
240
240
  };
241
- if (!u && u !== 0) return null;
242
- const B = (0, _classnames.default)(_textcssmistica.text, c ? _textcssmistica.withWordBreak : _textcssmistica.withoutWordBreak, {
243
- [_textcssmistica.truncate]: n,
244
- [_textcssmistica.truncateToOneLine]: n === 1 || n === !0
245
- }), K = (0, _css.applyCssVars)({
246
- [_textcssmistica.vars.mobileSize]: b ? (0, _css.pxToRem)(b) : "inherit",
247
- [_textcssmistica.vars.mobileLineHeight]: V ? (0, _css.pxToRem)(V) : "inherit",
248
- [_textcssmistica.vars.desktopSize]: y ? (0, _css.pxToRem)(y) : "inherit",
249
- [_textcssmistica.vars.desktopLineHeight]: I ? (0, _css.pxToRem)(I) : "inherit"
250
- }), L = n ? (0, _css.applyCssVars)({
251
- [_textcssmistica.vars.lineClamp]: String(M)
241
+ if (!l && l !== 0) return null;
242
+ const M = (0, _classnames.default)(_textcssmistica.text, m ? _textcssmistica.withWordBreak : _textcssmistica.withoutWordBreak, {
243
+ [_textcssmistica.truncate]: e,
244
+ [_textcssmistica.truncateToOneLine]: e === 1 || e === !0
245
+ }), B = (0, _css.applyCssVars)({
246
+ [_textcssmistica.vars.mobileSize]: w ? (0, _css.pxToRem)(w) : "inherit",
247
+ [_textcssmistica.vars.mobileLineHeight]: k ? (0, _css.pxToRem)(k) : "inherit",
248
+ [_textcssmistica.vars.desktopSize]: b ? (0, _css.pxToRem)(b) : "inherit",
249
+ [_textcssmistica.vars.desktopLineHeight]: y ? (0, _css.pxToRem)(y) : "inherit"
250
+ }), K = e ? (0, _css.applyCssVars)({
251
+ [_textcssmistica.vars.lineClamp]: String(j)
252
252
  }) : {};
253
- var _z_r;
254
- return D === _constants.VIVO_NEW_SKIN && ({ ariaLabel: f, children: u } = dt({
255
- children: u,
253
+ var _D_i;
254
+ return F === _constants.VIVO_NEW_SKIN && ({ ariaLabel: f, children: l } = dt({
255
+ children: l,
256
256
  ariaLabel: f,
257
- as: g
258
- })), /*#__PURE__*/ _react.createElement(g, _object_spread_props(_object_spread({
259
- className: B,
260
- id: N,
261
- role: E,
262
- "aria-level": O,
257
+ as: T
258
+ })), /*#__PURE__*/ _react.createElement(T, _object_spread_props(_object_spread({
259
+ className: M,
260
+ id: R,
261
+ role: W,
262
+ "aria-level": L,
263
263
  "aria-label": f,
264
- "aria-hidden": F,
265
- "aria-live": _
266
- }, (0, _dom.getPrefixedDataAttributes)(j, "Text")), {
267
- style: _object_spread_props(_object_spread({}, K, L), {
268
- hyphens: v,
269
- WebkitHyphens: v,
270
- letterSpacing: S,
271
- fontWeight: t ? ut[t] : "inherit",
272
- textTransform: m || "inherit",
273
- textDecoration: e !== null && e !== void 0 ? e : "inherit",
274
- overflowWrap: c ? "anywhere" : "inherit",
275
- color: H ? (_z_r = z[r]) !== null && _z_r !== void 0 ? _z_r : r : r,
276
- textAlign: W,
277
- textShadow: k,
264
+ "aria-hidden": N,
265
+ "aria-live": E
266
+ }, (0, _dom.getPrefixedDataAttributes)(O, "Text")), {
267
+ style: _object_spread_props(_object_spread({}, B, K), {
268
+ hyphens: d,
269
+ WebkitHyphens: d,
270
+ letterSpacing: H,
271
+ fontWeight: t ? lt[t] : "inherit",
272
+ textTransform: c || "inherit",
273
+ textDecoration: r !== null && r !== void 0 ? r : "inherit",
274
+ overflowWrap: m ? "anywhere" : "inherit",
275
+ color: _ ? (_D_i = D[i]) !== null && _D_i !== void 0 ? _D_i : i : i,
276
+ textAlign: z,
277
+ textShadow: C,
278
278
  // When rendering as <pre/>, spaces are preserved and we don't want to remove them
279
- whiteSpace: g === "pre" ? void 0 : "pre-line"
279
+ whiteSpace: T === "pre" ? void 0 : "pre-line"
280
280
  })
281
- }), u);
282
- }, T = (t)=>{
281
+ }), l);
282
+ }, g = (t)=>{
283
283
  if (t.light) return "light";
284
284
  if (t.regular) return "regular";
285
285
  if (t.medium) return "medium";
286
286
  if (t.weight) return t.weight;
287
- }, s = (param)=>{
288
- let { forceMobileSizes: t, mobileSize: r, mobileLineHeight: e, desktopSize: n, desktopLineHeight: m } = param;
287
+ }, a = (param)=>{
288
+ let { forceMobileSizes: t, textPreset: i, textProps: r } = param;
289
+ const e = i.size.mobile || r.mobileSize, c = i.lineHeight.mobile || r.mobileLineHeight, m = i.size.desktop || r.desktopSize, d = i.lineHeight.desktop || r.desktopLineHeight;
289
290
  return t ? {
290
- size: r,
291
- lineHeight: e
291
+ size: e,
292
+ lineHeight: c
292
293
  } : {
293
- mobileSize: r,
294
- mobileLineHeight: e,
295
- desktopSize: n,
296
- desktopLineHeight: m
294
+ mobileSize: e,
295
+ mobileLineHeight: c,
296
+ desktopSize: m,
297
+ desktopLineHeight: d
297
298
  };
298
- }, Pt = (_param)=>{
299
- var { dataAttributes: t, forceMobileSizes: r } = _param, e = _object_without_properties(_param, [
299
+ }, At = (_param)=>{
300
+ var { dataAttributes: t, forceMobileSizes: i } = _param, r = _object_without_properties(_param, [
300
301
  "dataAttributes",
301
302
  "forceMobileSizes"
302
303
  ]);
303
- const { textPresets: n } = (0, _hooks.useTheme)();
304
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, s(_object_spread({
305
- forceMobileSizes: r
306
- }, _textprops.text10))), {
307
- weight: n.text10.weight,
304
+ const { textPresets: e } = (0, _hooks.useTheme)();
305
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, a({
306
+ forceMobileSizes: i,
307
+ textPreset: e.text10,
308
+ textProps: _textprops.text10
309
+ })), {
310
+ weight: e.text10.weight,
308
311
  dataAttributes: _object_spread({
309
312
  "component-name": "Text10",
310
313
  testid: "Text10"
311
314
  }, t)
312
- }), e));
313
- }, Ct = (_param)=>{
314
- var { dataAttributes: t, forceMobileSizes: r } = _param, e = _object_without_properties(_param, [
315
+ }), r));
316
+ }, Vt = (_param)=>{
317
+ var { dataAttributes: t, forceMobileSizes: i } = _param, r = _object_without_properties(_param, [
315
318
  "dataAttributes",
316
319
  "forceMobileSizes"
317
320
  ]);
318
- const { textPresets: n } = (0, _hooks.useTheme)();
319
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, s(_object_spread({
320
- forceMobileSizes: r
321
- }, _textprops.text9))), {
322
- weight: n.text9.weight,
321
+ const { textPresets: e } = (0, _hooks.useTheme)();
322
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, a({
323
+ forceMobileSizes: i,
324
+ textPreset: e.text9,
325
+ textProps: _textprops.text9
326
+ })), {
327
+ weight: e.text9.weight,
323
328
  dataAttributes: _object_spread({
324
329
  "component-name": "Text9",
325
330
  testid: "Text9"
326
331
  }, t)
327
- }), e));
328
- }, Rt = (_param)=>{
329
- var { dataAttributes: t, forceMobileSizes: r } = _param, e = _object_without_properties(_param, [
332
+ }), r));
333
+ }, It = (_param)=>{
334
+ var { dataAttributes: t, forceMobileSizes: i } = _param, r = _object_without_properties(_param, [
330
335
  "dataAttributes",
331
336
  "forceMobileSizes"
332
337
  ]);
333
- const { textPresets: n } = (0, _hooks.useTheme)();
334
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, s(_object_spread({
335
- forceMobileSizes: r
336
- }, _textprops.text8))), {
337
- weight: n.text8.weight,
338
+ const { textPresets: e } = (0, _hooks.useTheme)();
339
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, a({
340
+ forceMobileSizes: i,
341
+ textPreset: e.text8,
342
+ textProps: _textprops.text8
343
+ })), {
344
+ weight: e.text8.weight,
338
345
  dataAttributes: _object_spread({
339
346
  "component-name": "Text8",
340
347
  testid: "Text8"
341
348
  }, t)
342
- }), e));
343
- }, St = (_param)=>{
344
- var { dataAttributes: t, forceMobileSizes: r } = _param, e = _object_without_properties(_param, [
349
+ }), r));
350
+ }, Ht = (_param)=>{
351
+ var { dataAttributes: t, forceMobileSizes: i } = _param, r = _object_without_properties(_param, [
345
352
  "dataAttributes",
346
353
  "forceMobileSizes"
347
354
  ]);
348
- const { textPresets: n } = (0, _hooks.useTheme)();
349
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, s(_object_spread({
350
- forceMobileSizes: r
351
- }, _textprops.text7))), {
352
- weight: n.text7.weight,
355
+ const { textPresets: e } = (0, _hooks.useTheme)();
356
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, a({
357
+ forceMobileSizes: i,
358
+ textPreset: e.text7,
359
+ textProps: _textprops.text7
360
+ })), {
361
+ weight: e.text7.weight,
353
362
  dataAttributes: _object_spread({
354
363
  "component-name": "Text7",
355
364
  testid: "Text7"
356
365
  }, t)
357
- }), e));
358
- }, Wt = (_param)=>{
359
- var { dataAttributes: t, forceMobileSizes: r } = _param, e = _object_without_properties(_param, [
366
+ }), r));
367
+ }, zt = (_param)=>{
368
+ var { dataAttributes: t, forceMobileSizes: i } = _param, r = _object_without_properties(_param, [
360
369
  "dataAttributes",
361
370
  "forceMobileSizes"
362
371
  ]);
363
- const { textPresets: n } = (0, _hooks.useTheme)();
364
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, s(_object_spread({
365
- forceMobileSizes: r
366
- }, _textprops.text6))), {
367
- weight: n.text6.weight,
372
+ const { textPresets: e } = (0, _hooks.useTheme)();
373
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, a({
374
+ forceMobileSizes: i,
375
+ textPreset: e.text6,
376
+ textProps: _textprops.text6
377
+ })), {
378
+ weight: e.text6.weight,
368
379
  dataAttributes: _object_spread({
369
380
  "component-name": "Text6",
370
381
  testid: "Text6"
371
382
  }, t)
372
- }), e));
373
- }, kt = (_param)=>{
374
- var { dataAttributes: t, forceMobileSizes: r } = _param, e = _object_without_properties(_param, [
383
+ }), r));
384
+ }, Ct = (_param)=>{
385
+ var { dataAttributes: t, forceMobileSizes: i } = _param, r = _object_without_properties(_param, [
375
386
  "dataAttributes",
376
387
  "forceMobileSizes"
377
388
  ]);
378
- const { textPresets: n } = (0, _hooks.useTheme)();
379
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, s(_object_spread({
380
- forceMobileSizes: r
381
- }, _textprops.text5))), {
382
- weight: n.text5.weight,
389
+ const { textPresets: e } = (0, _hooks.useTheme)();
390
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, a({
391
+ forceMobileSizes: i,
392
+ textPreset: e.text5,
393
+ textProps: _textprops.text5
394
+ })), {
395
+ weight: e.text5.weight,
383
396
  dataAttributes: _object_spread({
384
397
  "component-name": "Text5",
385
398
  testid: "Text5"
386
399
  }, t)
387
- }), e));
388
- }, Nt = (_param)=>{
389
- var { dataAttributes: t, forceMobileSizes: r } = _param, e = _object_without_properties(_param, [
400
+ }), r));
401
+ }, Rt = (_param)=>{
402
+ var { dataAttributes: t, forceMobileSizes: i } = _param, r = _object_without_properties(_param, [
390
403
  "dataAttributes",
391
404
  "forceMobileSizes"
392
405
  ]);
393
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, s(_object_spread({
394
- forceMobileSizes: r
395
- }, _textprops.text4))), {
396
- weight: T(e),
406
+ const { textPresets: e } = (0, _hooks.useTheme)();
407
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, a({
408
+ forceMobileSizes: i,
409
+ textPreset: e.text4,
410
+ textProps: _textprops.text4
411
+ })), {
412
+ weight: g(r),
397
413
  dataAttributes: _object_spread({
398
414
  "component-name": "Text4",
399
415
  testid: "Text4"
400
416
  }, t)
401
- }), e));
402
- }, Et = (_param)=>{
403
- var { dataAttributes: t, forceMobileSizes: r } = _param, e = _object_without_properties(_param, [
417
+ }), r));
418
+ }, Wt = (_param)=>{
419
+ var { dataAttributes: t, forceMobileSizes: i } = _param, r = _object_without_properties(_param, [
404
420
  "dataAttributes",
405
421
  "forceMobileSizes"
406
422
  ]);
407
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, s(_object_spread({
408
- forceMobileSizes: r
409
- }, _textprops.text3))), {
410
- weight: T(e),
423
+ const { textPresets: e } = (0, _hooks.useTheme)();
424
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, a({
425
+ forceMobileSizes: i,
426
+ textPreset: e.text3,
427
+ textProps: _textprops.text3
428
+ })), {
429
+ weight: g(r),
411
430
  dataAttributes: _object_spread({
412
431
  "component-name": "Text3",
413
432
  testid: "Text3"
414
433
  }, t)
415
- }), e));
416
- }, Ot = (_param)=>{
417
- var { dataAttributes: t, forceMobileSizes: r } = _param, e = _object_without_properties(_param, [
434
+ }), r));
435
+ }, Lt = (_param)=>{
436
+ var { dataAttributes: t, forceMobileSizes: i } = _param, r = _object_without_properties(_param, [
418
437
  "dataAttributes",
419
438
  "forceMobileSizes"
420
439
  ]);
421
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, s(_object_spread({
422
- forceMobileSizes: r
423
- }, _textprops.text2))), {
424
- weight: T(e),
440
+ const { textPresets: e } = (0, _hooks.useTheme)();
441
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, a({
442
+ forceMobileSizes: i,
443
+ textPreset: e.text2,
444
+ textProps: _textprops.text2
445
+ })), {
446
+ weight: g(r),
425
447
  dataAttributes: _object_spread({
426
448
  "component-name": "Text2",
427
449
  testid: "Text2"
428
450
  }, t)
429
- }), e));
430
- }, Ft = (_param)=>{
431
- var { dataAttributes: t, forceMobileSizes: r } = _param, e = _object_without_properties(_param, [
451
+ }), r));
452
+ }, Nt = (_param)=>{
453
+ var { dataAttributes: t, forceMobileSizes: i } = _param, r = _object_without_properties(_param, [
432
454
  "dataAttributes",
433
455
  "forceMobileSizes"
434
456
  ]);
435
- return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, s(_object_spread({
436
- forceMobileSizes: r
437
- }, _textprops.text1))), {
438
- weight: T(e),
457
+ const { textPresets: e } = (0, _hooks.useTheme)();
458
+ return /* @__PURE__ */ (0, _jsxruntime.jsx)(o, _object_spread(_object_spread_props(_object_spread({}, a({
459
+ forceMobileSizes: i,
460
+ textPreset: e.text1,
461
+ textProps: _textprops.text1
462
+ })), {
463
+ weight: g(r),
439
464
  dataAttributes: _object_spread({
440
465
  "component-name": "Text1",
441
466
  testid: "Text1"
442
467
  }, t)
443
- }), e));
444
- }, _t = o;
468
+ }), r));
469
+ }, Et = o;