@telefonica/mistica 13.4.0 → 13.6.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 (145) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/avatar.css-mistica.js +3 -3
  3. package/dist/badge.css-mistica.js +3 -3
  4. package/dist/boxed.d.ts +6 -0
  5. package/dist/boxed.js +29 -18
  6. package/dist/button-group.css-mistica.js +1 -1
  7. package/dist/button-layout.css-mistica.js +9 -9
  8. package/dist/button.css-mistica.js +17 -17
  9. package/dist/callout.css-mistica.js +1 -1
  10. package/dist/card.css-mistica.js +13 -8
  11. package/dist/card.css.d.ts +5 -0
  12. package/dist/card.d.ts +40 -2
  13. package/dist/card.js +271 -79
  14. package/dist/carousel.css-mistica.js +12 -12
  15. package/dist/checkbox.css-mistica.js +9 -9
  16. package/dist/chip.css-mistica.js +4 -4
  17. package/dist/chip.css.d.ts +1 -1
  18. package/dist/circle.css-mistica.js +2 -2
  19. package/dist/credit-card-number-field.css-mistica.js +3 -3
  20. package/dist/cvv-field.css-mistica.js +3 -3
  21. package/dist/dialog.css-mistica.js +5 -5
  22. package/dist/double-field.css-mistica.js +2 -2
  23. package/dist/empty-state-card.css-mistica.js +2 -2
  24. package/dist/empty-state.css-mistica.js +5 -5
  25. package/dist/feedback.css-mistica.js +4 -4
  26. package/dist/fixed-footer-layout.css-mistica.js +2 -2
  27. package/dist/hero.css-mistica.js +4 -4
  28. package/dist/hero.js +1 -1
  29. package/dist/highlighted-card.css-mistica.js +6 -6
  30. package/dist/highlighted-card.js +1 -1
  31. package/dist/icon-button.css-mistica.js +1 -1
  32. package/dist/image.css-mistica.js +3 -3
  33. package/dist/index.d.ts +1 -1
  34. package/dist/index.js +2 -0
  35. package/dist/list.css-mistica.js +12 -12
  36. package/dist/loading-bar.css-mistica.js +6 -6
  37. package/dist/maybe-dismissable.css-mistica.js +4 -4
  38. package/dist/menu.css-mistica.js +6 -6
  39. package/dist/menu.css.d.ts +2 -2
  40. package/dist/menu.js +73 -69
  41. package/dist/navigation-bar.css-mistica.js +13 -13
  42. package/dist/navigation-breadcrumbs.css-mistica.js +2 -2
  43. package/dist/package-version.js +1 -1
  44. package/dist/password-field.css-mistica.js +2 -2
  45. package/dist/popover.css-mistica.js +10 -10
  46. package/dist/progress-bar.css-mistica.js +1 -1
  47. package/dist/radio-button.css-mistica.js +7 -7
  48. package/dist/responsive-layout.css-mistica.js +3 -3
  49. package/dist/screen-reader-only.css-mistica.js +1 -1
  50. package/dist/select.css-mistica.js +11 -11
  51. package/dist/skeletons.css-mistica.js +5 -5
  52. package/dist/skins/blau.js +2 -0
  53. package/dist/skins/movistar.js +2 -0
  54. package/dist/skins/o2-classic.js +2 -0
  55. package/dist/skins/o2.js +2 -0
  56. package/dist/skins/skin-contract.css-mistica.js +184 -182
  57. package/dist/skins/skin-contract.css.d.ts +2 -0
  58. package/dist/skins/telefonica.js +2 -0
  59. package/dist/skins/types.d.ts +1 -0
  60. package/dist/skins/vivo.js +2 -0
  61. package/dist/snackbar.css-mistica.js +7 -7
  62. package/dist/spinner.css-mistica.js +1 -1
  63. package/dist/sprinkles.css-mistica.js +317 -311
  64. package/dist/sprinkles.css.d.ts +1 -1
  65. package/dist/stepper.css-mistica.js +9 -9
  66. package/dist/switch-component.css-mistica.js +22 -22
  67. package/dist/tabs.css-mistica.js +14 -14
  68. package/dist/tag.css-mistica.js +2 -2
  69. package/dist/text-field-base.css-mistica.js +12 -12
  70. package/dist/text-field-components.css-mistica.js +12 -12
  71. package/dist/text-link.css-mistica.js +3 -3
  72. package/dist/text.d.ts +3 -0
  73. package/dist/text.js +162 -119
  74. package/dist/tooltip.css-mistica.js +5 -5
  75. package/dist/touchable.css-mistica.js +1 -1
  76. package/dist/utils/aspect-ratio-support.css-mistica.js +3 -3
  77. package/dist/video.css-mistica.js +2 -2
  78. package/dist-es/avatar.css-mistica.js +2 -2
  79. package/dist-es/badge.css-mistica.js +2 -2
  80. package/dist-es/boxed.js +30 -25
  81. package/dist-es/button-group.css-mistica.js +1 -1
  82. package/dist-es/button-layout.css-mistica.js +7 -7
  83. package/dist-es/button.css-mistica.js +9 -9
  84. package/dist-es/callout.css-mistica.js +1 -1
  85. package/dist-es/card.css-mistica.js +2 -2
  86. package/dist-es/card.js +314 -124
  87. package/dist-es/carousel.css-mistica.js +2 -2
  88. package/dist-es/checkbox.css-mistica.js +6 -6
  89. package/dist-es/chip.css-mistica.js +4 -4
  90. package/dist-es/circle.css-mistica.js +2 -2
  91. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  92. package/dist-es/cvv-field.css-mistica.js +2 -2
  93. package/dist-es/dialog.css-mistica.js +5 -5
  94. package/dist-es/double-field.css-mistica.js +2 -2
  95. package/dist-es/empty-state-card.css-mistica.js +2 -2
  96. package/dist-es/empty-state.css-mistica.js +3 -3
  97. package/dist-es/feedback.css-mistica.js +2 -2
  98. package/dist-es/fixed-footer-layout.css-mistica.js +2 -2
  99. package/dist-es/hero.css-mistica.js +2 -2
  100. package/dist-es/hero.js +15 -15
  101. package/dist-es/highlighted-card.css-mistica.js +5 -5
  102. package/dist-es/highlighted-card.js +1 -1
  103. package/dist-es/icon-button.css-mistica.js +1 -1
  104. package/dist-es/image.css-mistica.js +2 -2
  105. package/dist-es/index.js +1701 -1701
  106. package/dist-es/list.css-mistica.js +2 -2
  107. package/dist-es/loading-bar.css-mistica.js +2 -2
  108. package/dist-es/maybe-dismissable.css-mistica.js +2 -2
  109. package/dist-es/menu.css-mistica.js +5 -5
  110. package/dist-es/menu.js +82 -78
  111. package/dist-es/navigation-bar.css-mistica.js +11 -11
  112. package/dist-es/navigation-breadcrumbs.css-mistica.js +2 -2
  113. package/dist-es/package-version.js +1 -1
  114. package/dist-es/password-field.css-mistica.js +2 -2
  115. package/dist-es/popover.css-mistica.js +2 -2
  116. package/dist-es/progress-bar.css-mistica.js +1 -1
  117. package/dist-es/radio-button.css-mistica.js +4 -4
  118. package/dist-es/responsive-layout.css-mistica.js +2 -2
  119. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  120. package/dist-es/select.css-mistica.js +9 -9
  121. package/dist-es/skeletons.css-mistica.js +2 -2
  122. package/dist-es/skins/blau.js +2 -0
  123. package/dist-es/skins/movistar.js +2 -0
  124. package/dist-es/skins/o2-classic.js +2 -0
  125. package/dist-es/skins/o2.js +2 -0
  126. package/dist-es/skins/skin-contract.css-mistica.js +184 -182
  127. package/dist-es/skins/telefonica.js +2 -0
  128. package/dist-es/skins/vivo.js +2 -0
  129. package/dist-es/snackbar.css-mistica.js +2 -2
  130. package/dist-es/spinner.css-mistica.js +1 -1
  131. package/dist-es/sprinkles.css-mistica.js +317 -311
  132. package/dist-es/stepper.css-mistica.js +2 -2
  133. package/dist-es/style.css +1 -1
  134. package/dist-es/switch-component.css-mistica.js +19 -19
  135. package/dist-es/tabs.css-mistica.js +10 -10
  136. package/dist-es/tag.css-mistica.js +2 -2
  137. package/dist-es/text-field-base.css-mistica.js +2 -2
  138. package/dist-es/text-field-components.css-mistica.js +2 -2
  139. package/dist-es/text-link.css-mistica.js +3 -3
  140. package/dist-es/text.js +164 -121
  141. package/dist-es/tooltip.css-mistica.js +3 -3
  142. package/dist-es/touchable.css-mistica.js +1 -1
  143. package/dist-es/utils/aspect-ratio-support.css-mistica.js +3 -3
  144. package/dist-es/video.css-mistica.js +2 -2
  145. package/package.json +1 -1
@@ -20,7 +20,7 @@ export declare const sprinkles: ((props: {
20
20
  readonly minHeight?: 0 | 2 | 4 | 8 | 12 | 16 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | undefined;
21
21
  readonly maxWidth?: "100%" | undefined;
22
22
  readonly maxHeight?: "100%" | undefined;
23
- readonly border?: "none" | "regular" | undefined;
23
+ readonly border?: "regular" | "none" | undefined;
24
24
  readonly borderRadius?: 2 | 4 | 8 | 16 | "50%" | 20 | undefined;
25
25
  readonly cursor?: "pointer" | undefined;
26
26
  readonly overflow?: "hidden" | "visible" | undefined;
@@ -12,18 +12,18 @@ _export(exports, {
12
12
  bar: ()=>_,
13
13
  barFilled: ()=>r,
14
14
  barFilledAnimation: ()=>f,
15
- barFilledReverseAnimation: ()=>m,
16
- currentNumber: ()=>a,
17
- iconAnimation: ()=>y,
18
- number: ()=>e,
19
- step: ()=>h,
20
- stepIconNumber: ()=>i,
15
+ barFilledReverseAnimation: ()=>a,
16
+ currentNumber: ()=>e,
17
+ iconAnimation: ()=>m,
18
+ number: ()=>y,
19
+ step: ()=>i,
20
+ stepIconNumber: ()=>h,
21
21
  stepper: ()=>t,
22
- textContainer: ()=>p,
23
- vars: ()=>q
22
+ textContainer: ()=>o,
23
+ vars: ()=>p
24
24
  });
25
25
  require("./sprinkles.css.ts.vanilla.js");
26
26
  require("./stepper.css.ts.vanilla.js");
27
- var _ = "_14h93mqk _1y2v1nf86 _1y2v1nf7n _1y2v1nf9h _1y2v1nf9m", r = "_14h93mqm _1y2v1nf86 _1y2v1nf7n _1y2v1nf9k _1y2v1nf9m", f = "_14h93mqn", m = "_14h93mqp _1y2v1nf7p", a = "_14h93mqf", y = "_14h93mqc", e = "_14h93mqe _1y2v1nf5g _1y2v1nf5v _1y2v1nf5p _1y2v1nf9f", h = "_14h93mq9 _1y2v1nf5b _1y2v1nf5h _1y2v1nf5m _1y2v1nf5v", i = "_14h93mqb _1y2v1nf5b _1y2v1nf5g", t = "_14h93mq7 _1y2v1nf5g _1y2v1nf93", p = "_14h93mqh _1y2v1nf5c", q = {
27
+ var _ = "_14h93mqk _1y2v1nf88 _1y2v1nf7p _1y2v1nf9j _1y2v1nf9o", r = "_14h93mqm _1y2v1nf88 _1y2v1nf7p _1y2v1nf9m _1y2v1nf9o", f = "_14h93mqn", a = "_14h93mqp _1y2v1nf7r", e = "_14h93mqf", m = "_14h93mqc", y = "_14h93mqe _1y2v1nf5i _1y2v1nf5x _1y2v1nf5r _1y2v1nf9h", i = "_14h93mq9 _1y2v1nf5d _1y2v1nf5j _1y2v1nf5o _1y2v1nf5x", h = "_14h93mqb _1y2v1nf5d _1y2v1nf5i", t = "_14h93mq7 _1y2v1nf5i _1y2v1nf95", o = "_14h93mqh _1y2v1nf5e", p = {
28
28
  stepperMinHeight: "var(--_14h93mq0)"
29
29
  };
@@ -9,32 +9,32 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- ballVariants: ()=>f,
13
- barVariants: ()=>n,
14
- checkboxVariants: ()=>v,
15
- container: ()=>p,
12
+ ballVariants: ()=>n,
13
+ barVariants: ()=>v,
14
+ checkboxVariants: ()=>p,
15
+ container: ()=>f,
16
16
  disabled: ()=>q,
17
17
  switchCheckboxContainerVariants: ()=>y,
18
18
  switchCheckboxLabel: ()=>_
19
19
  });
20
20
  require("./sprinkles.css.ts.vanilla.js");
21
21
  require("./switch-component.css.ts.vanilla.js");
22
- var f = {
23
- default: "q0hp3as q0hp3aq q0hp3ap _1y2v1nf5c _1y2v1nfau _1y2v1nf5i _1y2v1nf9f",
24
- ios: "q0hp3at q0hp3ar q0hp3ap _1y2v1nf5c _1y2v1nfau _1y2v1nf5i _1y2v1nf9f",
25
- checked: "q0hp3au q0hp3aq q0hp3ap _1y2v1nf5c _1y2v1nfau _1y2v1nf5i _1y2v1nf9f",
26
- checkedIos: "q0hp3av q0hp3ar q0hp3ap _1y2v1nf5c _1y2v1nfau _1y2v1nf5i _1y2v1nf9f"
27
- }, n = {
28
- default: "q0hp3ai q0hp3ah _1y2v1nf5i",
29
- ios: "q0hp3aj q0hp3ah _1y2v1nf5i",
30
- checked: "q0hp3ak q0hp3ah _1y2v1nf5i",
31
- checkedIos: "q0hp3al q0hp3ah _1y2v1nf5i"
22
+ var n = {
23
+ default: "q0hp3as q0hp3aq q0hp3ap _1y2v1nf5e _1y2v1nfaw _1y2v1nf5k _1y2v1nf9h",
24
+ ios: "q0hp3at q0hp3ar q0hp3ap _1y2v1nf5e _1y2v1nfaw _1y2v1nf5k _1y2v1nf9h",
25
+ checked: "q0hp3au q0hp3aq q0hp3ap _1y2v1nf5e _1y2v1nfaw _1y2v1nf5k _1y2v1nf9h",
26
+ checkedIos: "q0hp3av q0hp3ar q0hp3ap _1y2v1nf5e _1y2v1nfaw _1y2v1nf5k _1y2v1nf9h"
32
27
  }, v = {
33
- default: "q0hp3a6 _1y2v1nf5k _1y2v1nf9l",
34
- ios: "q0hp3a7 _1y2v1nf5k _1y2v1nf9l",
35
- disabled: "q0hp3a8 _1y2v1nf5k _1y2v1nf9l",
36
- disabledIos: "q0hp3a9 _1y2v1nf5k _1y2v1nf9l"
37
- }, p = "q0hp3am", q = "q0hp3an", y = {
38
- default: "q0hp3ac q0hp3ab _1y2v1nf5b",
39
- ios: "q0hp3ad q0hp3ab _1y2v1nf5b"
40
- }, _ = "q0hp3af _1y2v1nf5i _1y2v1nf9m";
28
+ default: "q0hp3ai q0hp3ah _1y2v1nf5k",
29
+ ios: "q0hp3aj q0hp3ah _1y2v1nf5k",
30
+ checked: "q0hp3ak q0hp3ah _1y2v1nf5k",
31
+ checkedIos: "q0hp3al q0hp3ah _1y2v1nf5k"
32
+ }, p = {
33
+ default: "q0hp3a6 _1y2v1nf5m _1y2v1nf9n",
34
+ ios: "q0hp3a7 _1y2v1nf5m _1y2v1nf9n",
35
+ disabled: "q0hp3a8 _1y2v1nf5m _1y2v1nf9n",
36
+ disabledIos: "q0hp3a9 _1y2v1nf5m _1y2v1nf9n"
37
+ }, f = "q0hp3am", q = "q0hp3an", y = {
38
+ default: "q0hp3ac q0hp3ab _1y2v1nf5d",
39
+ ios: "q0hp3ad q0hp3ab _1y2v1nf5d"
40
+ }, _ = "q0hp3af _1y2v1nf5k _1y2v1nf9o";
@@ -13,20 +13,20 @@ _export(exports, {
13
13
  icon: ()=>y,
14
14
  inner: ()=>_,
15
15
  outer: ()=>a,
16
- outerBorder: ()=>e,
17
- tabSelectionVariants: ()=>o,
18
- tabVariants: ()=>t,
19
- tabWithIcon: ()=>r,
20
- tabsContainer: ()=>l
16
+ outerBorder: ()=>o,
17
+ tabSelectionVariants: ()=>e,
18
+ tabVariants: ()=>r,
19
+ tabWithIcon: ()=>g,
20
+ tabsContainer: ()=>t
21
21
  });
22
22
  require("./sprinkles.css.ts.vanilla.js");
23
23
  require("./tabs.css.ts.vanilla.js");
24
- var v = "_1y2v1nf5f _1y2v1nf5c _1y2v1nfa2 _1y2v1nfau _1y2v1nf85 _1y2v1nf3l", y = "lgofm1m", _ = "lgofm14 _1y2v1nf5c _1y2v1nfa2 _1y2v1nfag _1y2v1nf8h", a = "lgofm12 _1y2v1nf8e _1y2v1nf5b _1y2v1nf9m", e = "lgofm10", o = {
25
- noSelected: "_1y2v1nf1p",
26
- selected: "_1y2v1nf1n lgofm1h",
27
- selectedAnimating: "_1y2v1nf1n lgofm1i"
28
- }, t = {
29
- default: "lgofm17 _1y2v1nf5h _1y2v1nf5v _1y2v1nf5p _1y2v1nf70 _1y2v1nf7e _1y2v1nf8e _1y2v1nf5a lgofm18",
30
- tabs2: "lgofm17 _1y2v1nf5h _1y2v1nf5v _1y2v1nf5p _1y2v1nf70 _1y2v1nf7e _1y2v1nf8e _1y2v1nf5a lgofm19",
31
- tabs3: "lgofm17 _1y2v1nf5h _1y2v1nf5v _1y2v1nf5p _1y2v1nf70 _1y2v1nf7e _1y2v1nf8e _1y2v1nf5a lgofm1a"
32
- }, r = "lgofm1e", l = "_1y2v1nf8e _1y2v1nf5g";
24
+ var v = "_1y2v1nf5h _1y2v1nf5e _1y2v1nfa4 _1y2v1nfaw _1y2v1nf87 _1y2v1nf3n", y = "lgofm1m", _ = "lgofm14 _1y2v1nf5e _1y2v1nfa4 _1y2v1nfai _1y2v1nf8j", a = "lgofm12 _1y2v1nf8g _1y2v1nf5d _1y2v1nf9o", o = "lgofm10", e = {
25
+ noSelected: "_1y2v1nf1q",
26
+ selected: "_1y2v1nf1o lgofm1h",
27
+ selectedAnimating: "_1y2v1nf1o lgofm1i"
28
+ }, r = {
29
+ default: "lgofm17 _1y2v1nf5j _1y2v1nf5x _1y2v1nf5r _1y2v1nf72 _1y2v1nf7g _1y2v1nf8g _1y2v1nf5c lgofm18",
30
+ tabs2: "lgofm17 _1y2v1nf5j _1y2v1nf5x _1y2v1nf5r _1y2v1nf72 _1y2v1nf7g _1y2v1nf8g _1y2v1nf5c lgofm19",
31
+ tabs3: "lgofm17 _1y2v1nf5j _1y2v1nf5x _1y2v1nf5r _1y2v1nf72 _1y2v1nf7g _1y2v1nf8g _1y2v1nf5c lgofm1a"
32
+ }, g = "lgofm1e", t = "_1y2v1nf8g _1y2v1nf5i";
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "tag", {
6
6
  enumerable: true,
7
- get: ()=>_
7
+ get: ()=>n
8
8
  });
9
9
  require("./sprinkles.css.ts.vanilla.js");
10
10
  require("./tag.css.ts.vanilla.js");
11
- var _ = "_1wy08671 _1y2v1nf65 _1y2v1nf6j _1y2v1nf5h _1y2v1nf5l _1y2v1nf5v _1y2v1nf5p _1y2v1nf8t _1y2v1nf7d";
11
+ var n = "_1wy08671 _1y2v1nf67 _1y2v1nf6l _1y2v1nf5j _1y2v1nf5n _1y2v1nf5x _1y2v1nf5r _1y2v1nf8v _1y2v1nf7f";
@@ -10,22 +10,22 @@ function _export(target, all) {
10
10
  }
11
11
  _export(exports, {
12
12
  endIcon: ()=>n,
13
- fullWidth: ()=>e,
14
- input: ()=>t,
15
- inputFirefoxStyles: ()=>r,
16
- inputWithLabel: ()=>f,
13
+ fullWidth: ()=>t,
14
+ input: ()=>e,
15
+ inputFirefoxStyles: ()=>f,
16
+ inputWithLabel: ()=>r,
17
17
  inputWithoutLabel: ()=>_,
18
18
  menuItem: ()=>a,
19
19
  menuItemSelected: ()=>h,
20
20
  prefix: ()=>i,
21
- prefixWithLabel: ()=>l,
22
- prefixWithoutLabel: ()=>o,
23
- startIcon: ()=>u,
24
- suggestionsContainer: ()=>p,
25
- textArea: ()=>b,
26
- textAreaWithLabel: ()=>m,
27
- textAreaWithoutLabel: ()=>x
21
+ prefixWithLabel: ()=>o,
22
+ prefixWithoutLabel: ()=>l,
23
+ startIcon: ()=>p,
24
+ suggestionsContainer: ()=>x,
25
+ textArea: ()=>u,
26
+ textAreaWithLabel: ()=>b,
27
+ textAreaWithoutLabel: ()=>m
28
28
  });
29
29
  require("./sprinkles.css.ts.vanilla.js");
30
30
  require("./text-field-base.css.ts.vanilla.js");
31
- var n = "rhey4tf _1y2v1nf6y _1y2v1nf7e _1y2v1nf5g _1y2v1nf5v", e = "rhey4t4", t = "rhey4ta _1y2v1nf5b _1y2v1nf83 rhey4t1 _1y2v1nf9e _1y2v1nf8j _1y2v1nf1n _1y2v1nf7n", r = "rhey4tb", f = "rhey4tc", _ = "_1y2v1nf68 _1y2v1nf6m", a = "rhey4to _1y2v1nf8d _1y2v1nf5g _1y2v1nf5v _1y2v1nf9l", h = "_1y2v1nf2u", i = "rhey4tj _1y2v1nf6z _1y2v1nf7e", l = "rhey4tl _1y2v1nf6k", o = "_1y2v1nf68 _1y2v1nf6m", u = "rhey4th _1y2v1nf6z _1y2v1nf7d _1y2v1nf5g _1y2v1nf5v _1y2v1nf83 _1y2v1nf5c", p = "rhey4tr _1y2v1nf5c", b = "rhey4t6 _1y2v1nf63 _1y2v1nf6h _1y2v1nf6v _1y2v1nf79 rhey4t1 _1y2v1nf9e _1y2v1nf8j _1y2v1nf1n _1y2v1nf7n", m = "rhey4t7", x = "rhey4t8";
31
+ var n = "rhey4tf _1y2v1nf70 _1y2v1nf7g _1y2v1nf5i _1y2v1nf5x", t = "rhey4t4", e = "rhey4ta _1y2v1nf5d _1y2v1nf85 rhey4t1 _1y2v1nf9g _1y2v1nf8l _1y2v1nf1o _1y2v1nf7p", f = "rhey4tb", r = "rhey4tc", _ = "_1y2v1nf6a _1y2v1nf6o", a = "rhey4to _1y2v1nf8f _1y2v1nf5i _1y2v1nf5x _1y2v1nf9n", h = "_1y2v1nf2w", i = "rhey4tj _1y2v1nf71 _1y2v1nf7g", o = "rhey4tl _1y2v1nf6m", l = "_1y2v1nf6a _1y2v1nf6o", p = "rhey4th _1y2v1nf71 _1y2v1nf7f _1y2v1nf5i _1y2v1nf5x _1y2v1nf85 _1y2v1nf5e", x = "rhey4tr _1y2v1nf5e", u = "rhey4t6 _1y2v1nf65 _1y2v1nf6j _1y2v1nf6x _1y2v1nf7b rhey4t1 _1y2v1nf9g _1y2v1nf8l _1y2v1nf1o _1y2v1nf7p", b = "rhey4t7", m = "rhey4t8";
@@ -11,23 +11,23 @@ function _export(target, all) {
11
11
  _export(exports, {
12
12
  DEFAULT_WIDTH: ()=>_,
13
13
  LABEL_LEFT_POSITION: ()=>n,
14
- LABEL_SCALE_DESKTOP: ()=>a,
15
- LABEL_SCALE_MOBILE: ()=>f,
14
+ LABEL_SCALE_DESKTOP: ()=>f,
15
+ LABEL_SCALE_MOBILE: ()=>a,
16
16
  disabled: ()=>e,
17
- field: ()=>y,
18
- fieldContainer: ()=>i,
17
+ field: ()=>i,
18
+ fieldContainer: ()=>y,
19
19
  fieldMulti: ()=>l,
20
20
  fieldSingle: ()=>t,
21
- fullWidth: ()=>u,
22
- helperContainer: ()=>k,
21
+ fullWidth: ()=>k,
22
+ helperContainer: ()=>u,
23
23
  helperText: ()=>d,
24
24
  labelContainer: ()=>L,
25
- labelText: ()=>E,
26
- leftText: ()=>T,
27
- normalWidth: ()=>o,
28
- rightText: ()=>g,
29
- shrinked: ()=>h
25
+ labelText: ()=>o,
26
+ leftText: ()=>E,
27
+ normalWidth: ()=>T,
28
+ rightText: ()=>h,
29
+ shrinked: ()=>p
30
30
  });
31
31
  require("./sprinkles.css.ts.vanilla.js");
32
32
  require("./text-field-components.css.ts.vanilla.js");
33
- var _ = 328, n = 12, a = 0.78, f = 0.75, e = "_15k6ur97", y = "_1y2v1nf9m _1y2v1nf9d _1y2v1nf5g _1y2v1nf9i _1y2v1nf5b", i = "_15k6ur96 _1y2v1nf5g _1y2v1nf5m", l = "_15k6ur9e", t = "_15k6ur9d _1y2v1nf8e", u = "_1y2v1nf7n", k = "_1y2v1nf6z _1y2v1nf7e _1y2v1nf5g", d = "_15k6ur9g", L = "_15k6ur91 _1y2v1nf5c _1y2v1nf9o _1y2v1nf8a _1y2v1nf5g _1y2v1nf5l _1y2v1nfa6", E = "_15k6ur93 _1y2v1nf9m _1y2v1nf5z", T = "_15k6ur9h", o = "_15k6ur99 _1y2v1nf7n", g = "_15k6ur9i", h = "_15k6ur94";
33
+ var _ = 328, n = 12, f = 0.78, a = 0.75, e = "_15k6ur97", i = "_1y2v1nf9o _1y2v1nf9f _1y2v1nf5i _1y2v1nf9k _1y2v1nf5d", y = "_15k6ur96 _1y2v1nf5i _1y2v1nf5o", l = "_15k6ur9e", t = "_15k6ur9d _1y2v1nf8g", k = "_1y2v1nf7p", u = "_1y2v1nf71 _1y2v1nf7g _1y2v1nf5i", d = "_15k6ur9g", L = "_15k6ur91 _1y2v1nf5e _1y2v1nf9q _1y2v1nf8c _1y2v1nf5i _1y2v1nf5n _1y2v1nfa8", o = "_15k6ur93 _1y2v1nf9o _1y2v1nf61", E = "_15k6ur9h", T = "_15k6ur99 _1y2v1nf7p", h = "_15k6ur9i", p = "_15k6ur94";
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "variants", {
9
9
  require("./sprinkles.css.ts.vanilla.js");
10
10
  require("./text-link.css.ts.vanilla.js");
11
11
  var v = {
12
- default: "_1m1n0pr1 _1y2v1nf7o _1y2v1nf5j _1y2v1nf9l _1y2v1nf1y",
13
- inverseLight: "_1m1n0pr6 _1m1n0pr1 _1y2v1nf7o _1y2v1nf5j _1y2v1nf9l _1y2v1nf1z",
14
- inverseDark: "_1m1n0pr7 _1m1n0pr1 _1y2v1nf7o _1y2v1nf5j _1y2v1nf9l _1y2v1nf1y"
12
+ default: "_1m1n0pr1 _1y2v1nf7q _1y2v1nf5l _1y2v1nf9n _1y2v1nf1z",
13
+ inverseLight: "_1m1n0pr6 _1m1n0pr1 _1y2v1nf7q _1y2v1nf5l _1y2v1nf9n _1y2v1nf20",
14
+ inverseDark: "_1m1n0pr7 _1m1n0pr1 _1y2v1nf7q _1y2v1nf5l _1y2v1nf9n _1y2v1nf1z"
15
15
  };
package/dist/text.d.ts CHANGED
@@ -15,6 +15,8 @@ export interface TextPresetProps {
15
15
  role?: string;
16
16
  'aria-level'?: number;
17
17
  dataAttributes?: DataAttributes;
18
+ forceMobileSizes?: boolean;
19
+ textShadow?: string;
18
20
  }
19
21
  interface TextProps extends TextPresetProps {
20
22
  weight?: FontWeight;
@@ -31,6 +33,7 @@ interface TextProps extends TextPresetProps {
31
33
  /** in pixels, will be converted to rem in runtime */
32
34
  desktopLineHeight?: string | number;
33
35
  letterSpacing?: number;
36
+ forzeMobileSize?: never;
34
37
  }
35
38
  export declare const Text: React.FC<TextProps>;
36
39
  interface LightProps extends TextPresetProps {
package/dist/text.js CHANGED
@@ -9,18 +9,18 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- Text: ()=>n,
13
- Text1: ()=>le,
14
- Text10: ()=>ie,
15
- Text2: ()=>pe,
16
- Text3: ()=>xe,
17
- Text4: ()=>ae,
18
- Text5: ()=>me,
19
- Text6: ()=>se,
20
- Text7: ()=>re,
21
- Text8: ()=>ne,
22
- Text9: ()=>oe,
23
- default: ()=>n
12
+ Text: ()=>r,
13
+ Text1: ()=>he,
14
+ Text10: ()=>ne,
15
+ Text2: ()=>ge,
16
+ Text3: ()=>le,
17
+ Text4: ()=>pe,
18
+ Text5: ()=>ae,
19
+ Text6: ()=>xe,
20
+ Text7: ()=>me,
21
+ Text8: ()=>se,
22
+ Text9: ()=>re,
23
+ default: ()=>r
24
24
  });
25
25
  const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
26
26
  const _classnames = /*#__PURE__*/ _interopRequireDefault(require("classnames"));
@@ -155,195 +155,238 @@ function _objectWithoutPropertiesLoose(source, excluded) {
155
155
  }
156
156
  return target;
157
157
  }
158
- const G = {
158
+ const K = {
159
159
  light: 300,
160
160
  regular: 400,
161
161
  medium: 500,
162
162
  bold: 700
163
- }, J = (e)=>e === !0 ? 1 : e || "initial", n = (param)=>{
164
- let { weight: e , color: t = _skinContractCssMisticaJs.vars.colors.textPrimary , decoration: i , truncate: s , transform: L , wordBreak: g = !0 , hyphens: f , as: z = "span" , children: l , size: h , mobileSize: c = h , desktopSize: u = h , lineHeight: d , mobileLineHeight: b = d , desktopLineHeight: T = d , letterSpacing: w , textAlign: H , id: v , role: A , "aria-level": P , dataAttributes: y } = param;
163
+ }, Q = (e)=>e === !0 ? 1 : e || "initial", r = (param)=>{
164
+ let { weight: e , color: i = _skinContractCssMisticaJs.vars.colors.textPrimary , decoration: t , truncate: o , transform: g , wordBreak: c = !0 , hyphens: z , as: H = "span" , children: h , size: u , mobileSize: d = u , desktopSize: b = u , lineHeight: T , mobileLineHeight: k = T , desktopLineHeight: L = T , letterSpacing: w , textAlign: v , textShadow: A , id: P , role: y , "aria-level": I , dataAttributes: W } = param;
165
165
  var S;
166
- const I = (0, _themeVariantContextJs.useIsInverseVariant)(), W = J(s), V = {
166
+ const V = (0, _themeVariantContextJs.useIsInverseVariant)(), C = Q(o), D = {
167
167
  [_skinContractCssMisticaJs.vars.colors.textPrimary]: _skinContractCssMisticaJs.vars.colors.textPrimaryInverse,
168
168
  [_skinContractCssMisticaJs.vars.colors.textSecondary]: _skinContractCssMisticaJs.vars.colors.textSecondaryInverse,
169
169
  [_skinContractCssMisticaJs.vars.colors.textLink]: _skinContractCssMisticaJs.vars.colors.textLinkInverse
170
170
  };
171
- if (!l && l !== 0) return null;
172
- const C = (0, _classnames.default)(_textCssMisticaJs.text, g ? _textCssMisticaJs.withWordBreak : _textCssMisticaJs.withoutWordBreak, {
173
- [_textCssMisticaJs.truncateToOneLine]: s === 1 || s === !0,
174
- [_textCssMisticaJs.truncateToMoreThanOneLine]: s && s > 1
175
- }), D = (0, _dynamic.assignInlineVars)({
176
- [_textCssMisticaJs.vars.mobileSize]: c ? (0, _cssJs.pxToRem)(c) : "",
177
- [_textCssMisticaJs.vars.mobileLineHeight]: b ? (0, _cssJs.pxToRem)(b) : "",
178
- [_textCssMisticaJs.vars.desktopSize]: u ? (0, _cssJs.pxToRem)(u) : "",
179
- [_textCssMisticaJs.vars.desktopLineHeight]: T ? (0, _cssJs.pxToRem)(T) : ""
180
- }), M = s ? (0, _dynamic.assignInlineVars)({
181
- [_textCssMisticaJs.vars.lineClamp]: String(W)
171
+ if (!h && h !== 0) return null;
172
+ const M = (0, _classnames.default)(_textCssMisticaJs.text, c ? _textCssMisticaJs.withWordBreak : _textCssMisticaJs.withoutWordBreak, {
173
+ [_textCssMisticaJs.truncateToOneLine]: o === 1 || o === !0,
174
+ [_textCssMisticaJs.truncateToMoreThanOneLine]: o && o > 1
175
+ }), O = (0, _dynamic.assignInlineVars)({
176
+ [_textCssMisticaJs.vars.mobileSize]: d ? (0, _cssJs.pxToRem)(d) : "",
177
+ [_textCssMisticaJs.vars.mobileLineHeight]: k ? (0, _cssJs.pxToRem)(k) : "",
178
+ [_textCssMisticaJs.vars.desktopSize]: b ? (0, _cssJs.pxToRem)(b) : "",
179
+ [_textCssMisticaJs.vars.desktopLineHeight]: L ? (0, _cssJs.pxToRem)(L) : ""
180
+ }), R = o ? (0, _dynamic.assignInlineVars)({
181
+ [_textCssMisticaJs.vars.lineClamp]: String(C)
182
182
  }) : {};
183
- return /*#__PURE__*/ _react.createElement(z, _objectSpreadProps(_objectSpread({
184
- className: C,
185
- id: v,
186
- role: A,
187
- "aria-level": P
188
- }, (0, _domJs.getPrefixedDataAttributes)(y)), {
189
- style: _objectSpreadProps(_objectSpread({}, D, M), {
190
- hyphens: f,
183
+ return /*#__PURE__*/ _react.createElement(H, _objectSpreadProps(_objectSpread({
184
+ className: M,
185
+ id: P,
186
+ role: y,
187
+ "aria-level": I
188
+ }, (0, _domJs.getPrefixedDataAttributes)(W)), {
189
+ style: _objectSpreadProps(_objectSpread({}, O, R), {
190
+ hyphens: z,
191
191
  letterSpacing: w,
192
- fontWeight: e ? G[e] : "inherit",
193
- textTransform: L || "inherit",
194
- textDecoration: i != null ? i : "inherit",
195
- overflowWrap: g ? "anywhere" : "inherit",
196
- color: I && (S = V[t]) != null ? S : t,
197
- textAlign: H
192
+ fontWeight: e ? K[e] : "inherit",
193
+ textTransform: g || "inherit",
194
+ textDecoration: t != null ? t : "inherit",
195
+ overflowWrap: c ? "anywhere" : "inherit",
196
+ color: V && (S = D[i]) != null ? S : i,
197
+ textAlign: v,
198
+ textShadow: A
198
199
  })
199
- }), l);
200
- }, p = (e)=>{
200
+ }), h);
201
+ }, l = (e)=>{
201
202
  if (e.light) return "light";
202
203
  if (e.regular) return "regular";
203
204
  if (e.medium) return "medium";
204
- }, ie = (_param)=>{
205
- var { dataAttributes: e } = _param, t = _objectWithoutProperties(_param, [
206
- "dataAttributes"
205
+ }, s = (param)=>{
206
+ let { forceMobileSizes: e , mobileSize: i , mobileLineHeight: t , desktopSize: o , desktopLineHeight: g } = param;
207
+ return e ? {
208
+ size: i,
209
+ lineHeight: t
210
+ } : {
211
+ mobileSize: i,
212
+ mobileLineHeight: t,
213
+ desktopSize: o,
214
+ desktopLineHeight: g
215
+ };
216
+ }, ne = (_param)=>{
217
+ var { dataAttributes: e , forceMobileSizes: i } = _param, t = _objectWithoutProperties(_param, [
218
+ "dataAttributes",
219
+ "forceMobileSizes"
207
220
  ]);
208
- const { textPresets: i } = (0, _hooksJs.useTheme)();
209
- return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(n, _objectSpread({
221
+ const { textPresets: o } = (0, _hooksJs.useTheme)();
222
+ return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(r, _objectSpread(_objectSpreadProps(_objectSpread({}, s({
223
+ forceMobileSizes: i,
210
224
  mobileSize: 48,
211
225
  mobileLineHeight: "56px",
212
226
  desktopSize: 64,
213
- desktopLineHeight: "72px",
214
- weight: i.text10.weight,
227
+ desktopLineHeight: "72px"
228
+ })), {
229
+ weight: o.text10.weight,
215
230
  dataAttributes: _objectSpread({
216
231
  "component-name": "Text10"
217
232
  }, e)
218
- }, t));
219
- }, oe = (_param)=>{
220
- var { dataAttributes: e } = _param, t = _objectWithoutProperties(_param, [
221
- "dataAttributes"
233
+ }), t));
234
+ }, re = (_param)=>{
235
+ var { dataAttributes: e , forceMobileSizes: i } = _param, t = _objectWithoutProperties(_param, [
236
+ "dataAttributes",
237
+ "forceMobileSizes"
222
238
  ]);
223
- const { textPresets: i } = (0, _hooksJs.useTheme)();
224
- return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(n, _objectSpread({
239
+ const { textPresets: o } = (0, _hooksJs.useTheme)();
240
+ return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(r, _objectSpread(_objectSpreadProps(_objectSpread({}, s({
241
+ forceMobileSizes: i,
225
242
  mobileSize: 40,
226
243
  mobileLineHeight: "48px",
227
244
  desktopSize: 56,
228
- desktopLineHeight: "64px",
229
- weight: i.text9.weight,
245
+ desktopLineHeight: "64px"
246
+ })), {
247
+ weight: o.text9.weight,
230
248
  dataAttributes: _objectSpread({
231
249
  "component-name": "Text9"
232
250
  }, e)
233
- }, t));
234
- }, ne = (_param)=>{
235
- var { dataAttributes: e } = _param, t = _objectWithoutProperties(_param, [
236
- "dataAttributes"
251
+ }), t));
252
+ }, se = (_param)=>{
253
+ var { dataAttributes: e , forceMobileSizes: i } = _param, t = _objectWithoutProperties(_param, [
254
+ "dataAttributes",
255
+ "forceMobileSizes"
237
256
  ]);
238
- const { textPresets: i } = (0, _hooksJs.useTheme)();
239
- return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(n, _objectSpread({
257
+ const { textPresets: o } = (0, _hooksJs.useTheme)();
258
+ return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(r, _objectSpread(_objectSpreadProps(_objectSpread({}, s({
259
+ forceMobileSizes: i,
240
260
  mobileSize: 32,
241
261
  mobileLineHeight: "40px",
242
262
  desktopSize: 48,
243
- desktopLineHeight: "56px",
244
- weight: i.text8.weight,
263
+ desktopLineHeight: "56px"
264
+ })), {
265
+ weight: o.text8.weight,
245
266
  dataAttributes: _objectSpread({
246
267
  "component-name": "Text8"
247
268
  }, e)
248
- }, t));
249
- }, re = (_param)=>{
250
- var { dataAttributes: e } = _param, t = _objectWithoutProperties(_param, [
251
- "dataAttributes"
269
+ }), t));
270
+ }, me = (_param)=>{
271
+ var { dataAttributes: e , forceMobileSizes: i } = _param, t = _objectWithoutProperties(_param, [
272
+ "dataAttributes",
273
+ "forceMobileSizes"
252
274
  ]);
253
- const { textPresets: i } = (0, _hooksJs.useTheme)();
254
- return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(n, _objectSpread({
275
+ const { textPresets: o } = (0, _hooksJs.useTheme)();
276
+ return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(r, _objectSpread(_objectSpreadProps(_objectSpread({}, s({
277
+ forceMobileSizes: i,
255
278
  mobileSize: 28,
256
279
  mobileLineHeight: "32px",
257
280
  desktopSize: 40,
258
- desktopLineHeight: "48px",
259
- weight: i.text7.weight,
281
+ desktopLineHeight: "48px"
282
+ })), {
283
+ weight: o.text7.weight,
260
284
  dataAttributes: _objectSpread({
261
285
  "component-name": "Text7"
262
286
  }, e)
263
- }, t));
264
- }, se = (_param)=>{
265
- var { dataAttributes: e } = _param, t = _objectWithoutProperties(_param, [
266
- "dataAttributes"
287
+ }), t));
288
+ }, xe = (_param)=>{
289
+ var { dataAttributes: e , forceMobileSizes: i } = _param, t = _objectWithoutProperties(_param, [
290
+ "dataAttributes",
291
+ "forceMobileSizes"
267
292
  ]);
268
- const { textPresets: i } = (0, _hooksJs.useTheme)();
269
- return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(n, _objectSpread({
293
+ const { textPresets: o } = (0, _hooksJs.useTheme)();
294
+ return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(r, _objectSpread(_objectSpreadProps(_objectSpread({}, s({
295
+ forceMobileSizes: i,
270
296
  mobileSize: 24,
271
297
  mobileLineHeight: "32px",
272
298
  desktopSize: 32,
273
- desktopLineHeight: "40px",
274
- weight: i.text6.weight,
299
+ desktopLineHeight: "40px"
300
+ })), {
301
+ weight: o.text6.weight,
275
302
  dataAttributes: _objectSpread({
276
303
  "component-name": "Text6"
277
304
  }, e)
278
- }, t));
279
- }, me = (_param)=>{
280
- var { dataAttributes: e } = _param, t = _objectWithoutProperties(_param, [
281
- "dataAttributes"
305
+ }), t));
306
+ }, ae = (_param)=>{
307
+ var { dataAttributes: e , forceMobileSizes: i } = _param, t = _objectWithoutProperties(_param, [
308
+ "dataAttributes",
309
+ "forceMobileSizes"
282
310
  ]);
283
- const { textPresets: i } = (0, _hooksJs.useTheme)();
284
- return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(n, _objectSpread({
311
+ const { textPresets: o } = (0, _hooksJs.useTheme)();
312
+ return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(r, _objectSpread(_objectSpreadProps(_objectSpread({}, s({
313
+ forceMobileSizes: i,
285
314
  mobileSize: 20,
286
315
  mobileLineHeight: "24px",
287
316
  desktopSize: 28,
288
- desktopLineHeight: "32px",
289
- weight: i.text5.weight,
317
+ desktopLineHeight: "32px"
318
+ })), {
319
+ weight: o.text5.weight,
290
320
  dataAttributes: _objectSpread({
291
321
  "component-name": "Text5"
292
322
  }, e)
293
- }, t));
294
- }, ae = (_param)=>/* @__PURE__ */ {
295
- var { dataAttributes: e } = _param, t = _objectWithoutProperties(_param, [
296
- "dataAttributes"
323
+ }), t));
324
+ }, pe = (_param)=>/* @__PURE__ */ {
325
+ var { dataAttributes: e , forceMobileSizes: i } = _param, t = _objectWithoutProperties(_param, [
326
+ "dataAttributes",
327
+ "forceMobileSizes"
297
328
  ]);
298
- return (0, _jsxRuntimeJs.jsx)(n, _objectSpread({
329
+ return (0, _jsxRuntimeJs.jsx)(r, _objectSpread(_objectSpreadProps(_objectSpread({}, s({
330
+ forceMobileSizes: i,
299
331
  mobileSize: 18,
300
332
  mobileLineHeight: "24px",
301
333
  desktopSize: 20,
302
- desktopLineHeight: "28px",
303
- weight: p(t),
334
+ desktopLineHeight: "28px"
335
+ })), {
336
+ weight: l(t),
304
337
  dataAttributes: _objectSpread({
305
338
  "component-name": "Text4"
306
339
  }, e)
307
- }, t));
308
- }, xe = (_param)=>/* @__PURE__ */ {
309
- var { dataAttributes: e } = _param, t = _objectWithoutProperties(_param, [
310
- "dataAttributes"
340
+ }), t));
341
+ }, le = (_param)=>/* @__PURE__ */ {
342
+ var { dataAttributes: e , forceMobileSizes: i } = _param, t = _objectWithoutProperties(_param, [
343
+ "dataAttributes",
344
+ "forceMobileSizes"
311
345
  ]);
312
- return (0, _jsxRuntimeJs.jsx)(n, _objectSpread({
346
+ return (0, _jsxRuntimeJs.jsx)(r, _objectSpread(_objectSpreadProps(_objectSpread({}, s({
347
+ forceMobileSizes: i,
313
348
  mobileSize: 16,
349
+ mobileLineHeight: "24px",
314
350
  desktopSize: 18,
315
- lineHeight: "24px",
316
- weight: p(t),
351
+ desktopLineHeight: "24px"
352
+ })), {
353
+ weight: l(t),
317
354
  dataAttributes: _objectSpread({
318
355
  "component-name": "Text3"
319
356
  }, e)
320
- }, t));
321
- }, pe = (_param)=>/* @__PURE__ */ {
322
- var { dataAttributes: e } = _param, t = _objectWithoutProperties(_param, [
323
- "dataAttributes"
357
+ }), t));
358
+ }, ge = (_param)=>/* @__PURE__ */ {
359
+ var { dataAttributes: e , forceMobileSizes: i } = _param, t = _objectWithoutProperties(_param, [
360
+ "dataAttributes",
361
+ "forceMobileSizes"
324
362
  ]);
325
- return (0, _jsxRuntimeJs.jsx)(n, _objectSpread({
363
+ return (0, _jsxRuntimeJs.jsx)(r, _objectSpread(_objectSpreadProps(_objectSpread({}, s({
364
+ forceMobileSizes: i,
326
365
  mobileSize: 14,
327
366
  mobileLineHeight: "20px",
328
367
  desktopSize: 16,
329
- desktopLineHeight: "24px",
330
- weight: p(t),
368
+ desktopLineHeight: "24px"
369
+ })), {
370
+ weight: l(t),
331
371
  dataAttributes: _objectSpread({
332
372
  "component-name": "Text2"
333
373
  }, e)
334
- }, t));
335
- }, le = (_param)=>/* @__PURE__ */ {
336
- var { dataAttributes: e } = _param, t = _objectWithoutProperties(_param, [
337
- "dataAttributes"
374
+ }), t));
375
+ }, he = (_param)=>/* @__PURE__ */ {
376
+ var { dataAttributes: e , forceMobileSizes: i } = _param, t = _objectWithoutProperties(_param, [
377
+ "dataAttributes",
378
+ "forceMobileSizes"
338
379
  ]);
339
- return (0, _jsxRuntimeJs.jsx)(n, _objectSpread({
380
+ return (0, _jsxRuntimeJs.jsx)(r, _objectSpread(_objectSpreadProps(_objectSpread({}, s({
381
+ forceMobileSizes: i,
340
382
  mobileSize: 12,
341
383
  mobileLineHeight: "16px",
342
384
  desktopSize: 14,
343
- desktopLineHeight: "20px",
344
- weight: p(t),
385
+ desktopLineHeight: "20px"
386
+ })), {
387
+ weight: l(t),
345
388
  dataAttributes: _objectSpread({
346
389
  "component-name": "Text1"
347
390
  }, e)
348
- }, t));
391
+ }), t));
349
392
  };