@telefonica/mistica 14.17.1 → 14.18.1

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 (177) 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/box.d.ts +8 -8
  5. package/dist/box.js +28 -21
  6. package/dist/boxed.css-mistica.js +1 -1
  7. package/dist/button-group.css-mistica.js +1 -1
  8. package/dist/button-layout.css-mistica.js +8 -8
  9. package/dist/button.css-mistica.js +19 -19
  10. package/dist/callout.css-mistica.js +1 -1
  11. package/dist/card.css-mistica.js +27 -18
  12. package/dist/card.css.d.ts +3 -0
  13. package/dist/card.d.ts +37 -14
  14. package/dist/card.js +442 -268
  15. package/dist/carousel.css-mistica.js +16 -16
  16. package/dist/checkbox.css-mistica.js +10 -10
  17. package/dist/chip.css-mistica.js +4 -4
  18. package/dist/circle.css-mistica.js +2 -2
  19. package/dist/circle.d.ts +2 -0
  20. package/dist/circle.js +61 -7
  21. package/dist/community/advanced-data-card.css-mistica.js +69 -0
  22. package/dist/community/advanced-data-card.css.d.ts +20 -0
  23. package/dist/community/advanced-data-card.css.ts.vanilla.css-mistica.js +11 -0
  24. package/dist/community/advanced-data-card.d.ts +39 -0
  25. package/dist/community/advanced-data-card.js +317 -0
  26. package/dist/community/blocks.css-mistica.js +21 -0
  27. package/dist/community/blocks.css.d.ts +2 -0
  28. package/dist/community/blocks.css.ts.vanilla.css-mistica.js +11 -0
  29. package/dist/community/blocks.d.ts +73 -0
  30. package/dist/community/blocks.js +258 -0
  31. package/dist/community/index.d.ts +2 -0
  32. package/dist/community/index.js +31 -3
  33. package/dist/credit-card-number-field.css-mistica.js +3 -3
  34. package/dist/dialog.css-mistica.js +9 -9
  35. package/dist/double-field.css-mistica.js +2 -2
  36. package/dist/empty-state-card.css-mistica.js +1 -1
  37. package/dist/empty-state.css-mistica.js +4 -4
  38. package/dist/empty-state.js +4 -4
  39. package/dist/feedback.css-mistica.js +3 -3
  40. package/dist/fixed-footer-layout.css-mistica.js +2 -2
  41. package/dist/grid.css.d.ts +6 -6
  42. package/dist/header.css-mistica.js +24 -0
  43. package/dist/header.css.d.ts +3 -0
  44. package/dist/header.css.ts.vanilla.css-mistica.js +11 -0
  45. package/dist/header.d.ts +3 -0
  46. package/dist/header.js +121 -101
  47. package/dist/hero.css-mistica.js +4 -4
  48. package/dist/highlighted-card.css-mistica.js +5 -5
  49. package/dist/horizontal-scroll.css-mistica.js +1 -1
  50. package/dist/icon-button.css-mistica.js +1 -1
  51. package/dist/image.css-mistica.js +1 -1
  52. package/dist/image.d.ts +19 -6
  53. package/dist/image.js +64 -61
  54. package/dist/index.d.ts +1 -1
  55. package/dist/index.js +6 -0
  56. package/dist/list.css-mistica.js +14 -14
  57. package/dist/list.d.ts +6 -6
  58. package/dist/list.js +11 -10
  59. package/dist/loading-bar.css-mistica.js +5 -5
  60. package/dist/maybe-dismissable.css-mistica.js +1 -1
  61. package/dist/menu.css-mistica.js +2 -2
  62. package/dist/navigation-bar.css-mistica.js +16 -16
  63. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  64. package/dist/package-version.js +1 -1
  65. package/dist/password-field.css-mistica.js +2 -2
  66. package/dist/popover.css-mistica.js +11 -11
  67. package/dist/progress-bar.css-mistica.js +3 -3
  68. package/dist/radio-button.css-mistica.js +12 -12
  69. package/dist/responsive-layout.css-mistica.js +2 -2
  70. package/dist/screen-reader-only.css-mistica.js +1 -1
  71. package/dist/select.css-mistica.js +12 -12
  72. package/dist/skeletons.css-mistica.js +3 -3
  73. package/dist/snackbar.css-mistica.js +5 -5
  74. package/dist/spinner.css-mistica.js +1 -1
  75. package/dist/sprinkles.css-mistica.js +648 -336
  76. package/dist/sprinkles.css.d.ts +36 -7
  77. package/dist/stack.css-mistica.js +7 -4
  78. package/dist/stack.css.d.ts +3 -0
  79. package/dist/stack.d.ts +4 -2
  80. package/dist/stack.js +20 -13
  81. package/dist/stacking-group.css-mistica.js +1 -1
  82. package/dist/stepper.css-mistica.js +9 -9
  83. package/dist/switch-component.css-mistica.js +21 -21
  84. package/dist/tabs.css-mistica.js +11 -11
  85. package/dist/tag.css-mistica.js +1 -1
  86. package/dist/text-field-base.css-mistica.js +11 -11
  87. package/dist/text-field-components.css-mistica.js +15 -15
  88. package/dist/text-link.css-mistica.js +5 -5
  89. package/dist/theme.d.ts +2 -0
  90. package/dist/theme.js +49 -41
  91. package/dist/tooltip.css-mistica.js +9 -9
  92. package/dist/touchable.css-mistica.js +3 -3
  93. package/dist/utils/aspect-ratio-support.css-mistica.js +4 -4
  94. package/dist/utils/aspect-ratio-support.d.ts +4 -2
  95. package/dist/utils/aspect-ratio-support.js +17 -16
  96. package/dist/utils/types.d.ts +5 -0
  97. package/dist/utils/utility-types.d.ts +7 -0
  98. package/dist/video.css-mistica.js +2 -2
  99. package/dist/video.js +26 -78
  100. package/dist-es/avatar.css-mistica.js +2 -2
  101. package/dist-es/badge.css-mistica.js +2 -2
  102. package/dist-es/box.js +32 -25
  103. package/dist-es/boxed.css-mistica.js +1 -1
  104. package/dist-es/button-group.css-mistica.js +1 -1
  105. package/dist-es/button-layout.css-mistica.js +7 -7
  106. package/dist-es/button.css-mistica.js +9 -9
  107. package/dist-es/callout.css-mistica.js +1 -1
  108. package/dist-es/card.css-mistica.js +4 -4
  109. package/dist-es/card.js +549 -384
  110. package/dist-es/carousel.css-mistica.js +2 -2
  111. package/dist-es/checkbox.css-mistica.js +6 -6
  112. package/dist-es/chip.css-mistica.js +4 -4
  113. package/dist-es/circle.css-mistica.js +2 -2
  114. package/dist-es/circle.js +66 -12
  115. package/dist-es/community/advanced-data-card.css-mistica.js +7 -0
  116. package/dist-es/community/advanced-data-card.css.ts.vanilla.css-mistica.js +2 -0
  117. package/dist-es/community/advanced-data-card.js +256 -0
  118. package/dist-es/community/blocks.css-mistica.js +4 -0
  119. package/dist-es/community/blocks.css.ts.vanilla.css-mistica.js +2 -0
  120. package/dist-es/community/blocks.js +224 -0
  121. package/dist-es/community/index.js +4 -2
  122. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  123. package/dist-es/dialog.css-mistica.js +5 -5
  124. package/dist-es/double-field.css-mistica.js +2 -2
  125. package/dist-es/empty-state-card.css-mistica.js +1 -1
  126. package/dist-es/empty-state.css-mistica.js +3 -3
  127. package/dist-es/empty-state.js +11 -11
  128. package/dist-es/feedback.css-mistica.js +2 -2
  129. package/dist-es/fixed-footer-layout.css-mistica.js +2 -2
  130. package/dist-es/header.css-mistica.js +4 -0
  131. package/dist-es/header.css.ts.vanilla.css-mistica.js +2 -0
  132. package/dist-es/header.js +141 -121
  133. package/dist-es/hero.css-mistica.js +2 -2
  134. package/dist-es/highlighted-card.css-mistica.js +5 -5
  135. package/dist-es/horizontal-scroll.css-mistica.js +1 -1
  136. package/dist-es/icon-button.css-mistica.js +1 -1
  137. package/dist-es/image.css-mistica.js +1 -1
  138. package/dist-es/image.js +76 -73
  139. package/dist-es/index.js +1710 -1710
  140. package/dist-es/list.css-mistica.js +2 -2
  141. package/dist-es/list.js +22 -21
  142. package/dist-es/loading-bar.css-mistica.js +2 -2
  143. package/dist-es/maybe-dismissable.css-mistica.js +1 -1
  144. package/dist-es/menu.css-mistica.js +2 -2
  145. package/dist-es/navigation-bar.css-mistica.js +9 -9
  146. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  147. package/dist-es/package-version.js +1 -1
  148. package/dist-es/password-field.css-mistica.js +2 -2
  149. package/dist-es/popover.css-mistica.js +2 -2
  150. package/dist-es/progress-bar.css-mistica.js +2 -2
  151. package/dist-es/radio-button.css-mistica.js +6 -6
  152. package/dist-es/responsive-layout.css-mistica.js +2 -2
  153. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  154. package/dist-es/select.css-mistica.js +10 -10
  155. package/dist-es/skeletons.css-mistica.js +2 -2
  156. package/dist-es/snackbar.css-mistica.js +2 -2
  157. package/dist-es/spinner.css-mistica.js +1 -1
  158. package/dist-es/sprinkles.css-mistica.js +648 -336
  159. package/dist-es/stack.css-mistica.js +6 -3
  160. package/dist-es/stack.js +27 -20
  161. package/dist-es/stacking-group.css-mistica.js +1 -1
  162. package/dist-es/stepper.css-mistica.js +2 -2
  163. package/dist-es/style.css +1 -1
  164. package/dist-es/switch-component.css-mistica.js +18 -18
  165. package/dist-es/tabs.css-mistica.js +7 -7
  166. package/dist-es/tag.css-mistica.js +1 -1
  167. package/dist-es/text-field-base.css-mistica.js +2 -2
  168. package/dist-es/text-field-components.css-mistica.js +2 -2
  169. package/dist-es/text-link.css-mistica.js +5 -5
  170. package/dist-es/theme.js +52 -44
  171. package/dist-es/tooltip.css-mistica.js +3 -3
  172. package/dist-es/touchable.css-mistica.js +2 -2
  173. package/dist-es/utils/aspect-ratio-support.css-mistica.js +3 -3
  174. package/dist-es/utils/aspect-ratio-support.js +17 -16
  175. package/dist-es/video.css-mistica.js +2 -2
  176. package/dist-es/video.js +36 -88
  177. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./credit-card-number-field.css.ts.vanilla.css-mistica.js";
3
- var a = "yvyo3q0", o = "yvyo3q2", r = "_1y2v1nf60", f = {
4
- default: "yvyo3q4 _1y2v1nf5z yvyo3q5",
5
- backface: "yvyo3q4 _1y2v1nf5z yvyo3q6"
3
+ var a = "yvyo3q0", o = "yvyo3q2", r = "_1y2v1nfb0", f = {
4
+ default: "yvyo3q4 _1y2v1nfaz yvyo3q5",
5
+ backface: "yvyo3q4 _1y2v1nfaz yvyo3q6"
6
6
  };
7
7
  export { a as flip, o as flipBack, r as flipFront, f as variants };
@@ -1,7 +1,7 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./dialog.css.ts.vanilla.css-mistica.js";
3
- var _ = "_3dl29lb", y = "_3dl29l6", f = "_3dl29ll _1y2v1nf6y", a = "_3dl29lj _1y2v1nf6q _1y2v1nf9s", l = "_3dl29lm", d = "_3dl29l8 _1y2v1nf6w _1y2v1nf7b _1y2v1nf7q _1y2v1nf85 _1y2v1nf60 _1y2v1nfau _1y2v1nfbo", o = "_3dl29la _1y2v1nf30 _1y2v1nfaj", r = "_3dl29l5 _1y2v1nf61 _1y2v1nf64 _1y2v1nf6d _1y2v1nf6j _1y2v1nf6a _1y2v1nfau _1y2v1nfbo _1y2v1nfc3 _1y2v1nfb9 _1y2v1nf3b", t = {
4
- dialog: "_3dl29ld _1y2v1nf64 _1y2v1nf6a _1y2v1nf6g _1y2v1nf7s _1y2v1nf87 _1y2v1nf70 _1y2v1nf7d",
5
- default: "_3dl29ld _1y2v1nf64 _1y2v1nf6a _1y2v1nf6g _1y2v1nf6y _1y2v1nf7d _1y2v1nf7s _1y2v1nf87"
6
- }, e = "_3dl29l3 _1y2v1nf5z";
7
- export { _ as closedModalContent, y as closedOpactityLayer, f as dialogActions, a as dialogContent, l as iconContainer, d as modalCloseButtonContainer, o as modalContent, r as modalOpacityLayer, t as variants, e as wrapper };
3
+ var _ = "_3dl29lb", f = "_3dl29l6", y = "_3dl29ll _1y2v1nf6k", a = "_3dl29lj _1y2v1nfbq _1y2v1nfd4", l = "_3dl29lm", d = "_3dl29l8 _1y2v1nf6e _1y2v1nf7n _1y2v1nf8w _1y2v1nfa5 _1y2v1nfb0 _1y2v1nfe6 _1y2v1nff0", o = "_3dl29la _1y2v1nf30 _1y2v1nfdv", t = "_3dl29l5 _1y2v1nfb1 _1y2v1nfb4 _1y2v1nfbd _1y2v1nfbj _1y2v1nfba _1y2v1nfe6 _1y2v1nff0 _1y2v1nfff _1y2v1nfel _1y2v1nf3b", r = {
4
+ dialog: "_3dl29ld _1y2v1nfb4 _1y2v1nfba _1y2v1nfbg _1y2v1nf92 _1y2v1nfab _1y2v1nf6q _1y2v1nf7t",
5
+ default: "_3dl29ld _1y2v1nfb4 _1y2v1nfba _1y2v1nfbg _1y2v1nf6k _1y2v1nf7t _1y2v1nf92 _1y2v1nfab"
6
+ }, b = "_3dl29l3 _1y2v1nfaz";
7
+ export { _ as closedModalContent, f as closedOpactityLayer, y as dialogActions, a as dialogContent, l as iconContainer, d as modalCloseButtonContainer, o as modalContent, t as modalOpacityLayer, r as variants, b as wrapper };
@@ -2,7 +2,7 @@ import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./text-field-components.css.ts.vanilla.css-mistica.js";
3
3
  import "./double-field.css.ts.vanilla.css-mistica.js";
4
4
  var n = {
5
- default: "skrulh1 _1y2v1nf64 _1y2v1nf69 _1y2v1nf8f",
6
- fullWidth: "skrulh2 _1y2v1nf64 _1y2v1nf69 _1y2v1nf8f"
5
+ default: "skrulh1 _1y2v1nfb4 _1y2v1nfb9 _1y2v1nfbr",
6
+ fullWidth: "skrulh2 _1y2v1nfb4 _1y2v1nfb9 _1y2v1nfbr"
7
7
  };
8
8
  export { n as variants };
@@ -1,4 +1,4 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./empty-state-card.css.ts.vanilla.css-mistica.js";
3
- var n = "_1azor6p0", o = "_1azor6p4 _1y2v1nf8r _1y2v1nf97", v = "_1azor6p2 _1y2v1nf66 _1y2v1nf99";
3
+ var n = "_1azor6p0", o = "_1azor6p4 _1y2v1nfc3 _1y2v1nfcj", v = "_1azor6p2 _1y2v1nfb6 _1y2v1nfcl";
4
4
  export { n as container, o as iconContainer, v as image };
@@ -1,9 +1,9 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./empty-state.css.ts.vanilla.css-mistica.js";
3
- var n = "_13fzrua2 _1y2v1nf64 _1y2v1nf5y", v = {
3
+ var n = "_13fzrua2 _1y2v1nfb4 _1y2v1nf5y", v = {
4
4
  default: "_13fzrua3",
5
5
  largeImage: "_13fzrua4"
6
- }, e = "_13fzrua9 _1y2v1nf8t _1y2v1nf99", f = "_13fzruac", _ = "_13fzrua7 _1y2v1nf8w", o = "_13fzrua5", t = "_13fzruab _1y2v1nf66", u = {
6
+ }, e = "_13fzrua9 _1y2v1nfc5 _1y2v1nfcl", f = "_13fzruac", _ = "_13fzrua7 _1y2v1nfc8", o = "_13fzrua5", u = "_13fzruab _1y2v1nfb6", t = {
7
7
  backgroundColor: "var(--_13fzrua0)"
8
8
  };
9
- export { n as container, v as contentVariants, e as iconContainer, f as inverseBorder, _ as largeImage, o as largeImageContainer, t as smallImage, u as vars };
9
+ export { n as container, v as contentVariants, e as iconContainer, f as inverseBorder, _ as largeImage, o as largeImageContainer, u as smallImage, t as vars };
@@ -56,16 +56,16 @@ import x from "classnames";
56
56
  import { useIsInverseVariant as k } from "./theme-variant-context.js";
57
57
  import { ButtonPrimary as I } from "./button.js";
58
58
  import { useTheme as B } from "./hooks.js";
59
- import n from "./stack.js";
60
- import { Text6 as N, Text3 as S } from "./text.js";
61
- import C from "./button-group.js";
59
+ import m from "./stack.js";
60
+ import { Text6 as N, Text3 as C } from "./text.js";
61
+ import S from "./button-group.js";
62
62
  import { container as E, inverseBorder as T, vars as V, contentVariants as l, iconContainer as $, largeImageContainer as b, largeImage as j, smallImage as A } from "./empty-state.css-mistica.js";
63
63
  import { vars as a } from "./skins/skin-contract.css-mistica.js";
64
- import { AspectRatioElement as D } from "./utils/aspect-ratio-support.js";
64
+ import { AspectRatioContainer as D } from "./utils/aspect-ratio-support.js";
65
65
  import { getPrefixedDataAttributes as P } from "./utils/dom.js";
66
66
  import { sprinkles as R } from "./sprinkles.css-mistica.js";
67
67
  const G = (param)=>{
68
- let { title: c , description: d , button: e , buttonLink: p , largeImageUrl: o , imageUrl: i , icon: m , "aria-label": f , dataAttributes: g } = param;
68
+ let { title: c , description: d , button: e , buttonLink: p , largeImageUrl: o , imageUrl: i , icon: n , "aria-label": f , dataAttributes: g } = param;
69
69
  const { isDarkMode: v } = B(), s = k(), h = i ? /* @__PURE__ */ r("img", {
70
70
  className: A,
71
71
  alt: "",
@@ -92,22 +92,22 @@ const G = (param)=>{
92
92
  style: {
93
93
  flex: 1
94
94
  },
95
- children: /* @__PURE__ */ t(n, {
95
+ children: /* @__PURE__ */ t(m, {
96
96
  space: 24,
97
97
  className: o ? l.largeImage : l.default,
98
98
  children: [
99
- h !== null && h !== void 0 ? h : m && /* @__PURE__ */ r("div", {
99
+ h !== null && h !== void 0 ? h : n && /* @__PURE__ */ r("div", {
100
100
  className: $,
101
- children: m
101
+ children: n
102
102
  }),
103
- /* @__PURE__ */ t(n, {
103
+ /* @__PURE__ */ t(m, {
104
104
  space: 16,
105
105
  children: [
106
106
  /* @__PURE__ */ r(N, {
107
107
  as: "h1",
108
108
  children: c
109
109
  }),
110
- /* @__PURE__ */ r(S, {
110
+ /* @__PURE__ */ r(C, {
111
111
  regular: !0,
112
112
  as: "p",
113
113
  color: s ? a.colors.inverse : a.colors.textSecondary,
@@ -115,7 +115,7 @@ const G = (param)=>{
115
115
  })
116
116
  ]
117
117
  }),
118
- e && /* @__PURE__ */ r(C, _object_spread({}, u))
118
+ e && /* @__PURE__ */ r(S, _object_spread({}, u))
119
119
  ]
120
120
  })
121
121
  }),
@@ -1,4 +1,4 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./feedback.css.ts.vanilla.css-mistica.js";
3
- var n = "gx6h6a3 _1y2v1nf64 _1y2v1nf8w _1y2v1nf8f", r = "_1y2v1nfak _1y2v1nf64 _1y2v1nf6g", t = "gx6h6a1", v = "gx6h6a7", f = "gx6h6a5", o = "gx6h6a6", p = "gx6h6a4";
4
- export { n as container, r as desktopContainer, t as desktopContent, v as feedbackData, f as feedbackDataAppear, o as feedbackDataAppearActive, p as innerContainer };
3
+ var r = "gx6h6a3 _1y2v1nfb4 _1y2v1nfc8 _1y2v1nfbr", n = "_1y2v1nfdw _1y2v1nfb4 _1y2v1nfbg", t = "gx6h6a1", v = "gx6h6a7", f = "gx6h6a5", o = "gx6h6a6", p = "gx6h6a4";
4
+ export { r as container, n as desktopContainer, t as desktopContent, v as feedbackData, f as feedbackDataAppear, o as feedbackDataAppearActive, p as innerContainer };
@@ -1,7 +1,7 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./fixed-footer-layout.css.ts.vanilla.css-mistica.js";
3
- var v = "p5j8j58", a = "p5j8j56 _1y2v1nf31", j = "p5j8j54", t = "p5j8j53 _1y2v1nf8f _1y2v1nf30", e = {
3
+ var v = "p5j8j58", a = "p5j8j56 _1y2v1nf31", j = "p5j8j54", t = "p5j8j53 _1y2v1nfbr _1y2v1nf30", e = {
4
4
  footerHeight: "var(--p5j8j50)",
5
5
  backgroundColor: "var(--p5j8j51)"
6
- }, p = "_1y2v1nf63";
6
+ }, p = "_1y2v1nfb3";
7
7
  export { v as container, a as elevated, j as fixedFooter, t as footer, e as vars, p as withoutFooter };
@@ -0,0 +1,4 @@
1
+ import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
+ import "./header.css.ts.vanilla.css-mistica.js";
3
+ var t = "mtk7e90 _1y2v1nf7y", m = "mtk7e93", a = "mtk7e90";
4
+ export { t as breadcrumbs, m as hideOnDesktop, a as hideOnTabletOrSmaller };
@@ -0,0 +1,2 @@
1
+ const a = "";
2
+ export { a as default };
package/dist-es/header.js CHANGED
@@ -77,186 +77,206 @@ function _object_without_properties_loose(source, excluded) {
77
77
  }
78
78
  return target;
79
79
  }
80
- import { jsxs as o, jsx as r, Fragment as P } from "react/jsx-runtime";
81
- import p from "./box.js";
82
- import n from "./stack.js";
83
- import { useIsInverseVariant as R } from "./theme-variant-context.js";
84
- import x from "./responsive-layout.js";
85
- import v from "./grid-layout.js";
86
- import { useScreenSize as f } from "./hooks.js";
87
- import B from "./overscroll-color-context.js";
88
- import { Text6 as H, Text3 as T, Text8 as j, Text7 as A } from "./text.js";
89
- import C from "./button-group.js";
90
- import { vars as d } from "./skins/skin-contract.css-mistica.js";
91
- const N = (param)=>{
92
- let { pretitle: l , title: e , description: t , dataAttributes: i , preamount: c , amount: m , button: h , subtitle: a , isErrorAmount: s , secondaryButton: y } = param;
93
- const { isTabletOrSmaller: L } = f(), O = R(), u = (g, S)=>{
94
- if (typeof g == "string") return /* @__PURE__ */ r(T, _object_spread_props(_object_spread({
80
+ import { jsxs as l, jsx as r } from "react/jsx-runtime";
81
+ import g from "./box.js";
82
+ import a from "./stack.js";
83
+ import { useIsInverseVariant as B } from "./theme-variant-context.js";
84
+ import v from "./responsive-layout.js";
85
+ import y from "./grid-layout.js";
86
+ import T from "./overscroll-color-context.js";
87
+ import { Text4 as A, Text6 as H, Text2 as C, Text3 as x, Text8 as M, Text7 as N } from "./text.js";
88
+ import R from "./button-group.js";
89
+ import { vars as c } from "./skins/skin-contract.css-mistica.js";
90
+ import { hideOnTabletOrSmaller as j, hideOnDesktop as G, breadcrumbs as I } from "./header.css-mistica.js";
91
+ import { getPrefixedDataAttributes as O } from "./utils/dom.js";
92
+ const Z = (param)=>{
93
+ let { pretitle: t , title: o , description: e , dataAttributes: d , small: m = !1 , preamount: s , amount: p , button: n , subtitle: i , isErrorAmount: h , secondaryButton: k } = param;
94
+ const L = B(), f = (u, b)=>{
95
+ if (typeof u == "string") return /* @__PURE__ */ r(x, _object_spread_props(_object_spread({
95
96
  regular: !0
96
- }, S), {
97
- children: g
97
+ }, b), {
98
+ children: u
98
99
  }));
99
- const { text: G } = g, k = _object_without_properties(g, [
100
+ const { text: P } = u, S = _object_without_properties(u, [
100
101
  "text"
101
102
  ]);
102
- return /* @__PURE__ */ r(T, _object_spread_props(_object_spread({
103
+ return /* @__PURE__ */ r(x, _object_spread_props(_object_spread({
103
104
  regular: !0
104
- }, S, k), {
105
- children: g.text
105
+ }, b, S), {
106
+ children: u.text
106
107
  }));
107
108
  };
108
- return /* @__PURE__ */ o(n, {
109
- space: L ? 24 : 32,
110
- dataAttributes: i,
109
+ return /* @__PURE__ */ l(a, {
110
+ space: {
111
+ mobile: 24,
112
+ desktop: 32
113
+ },
114
+ dataAttributes: d,
111
115
  children: [
112
- (e || l || t) && /* @__PURE__ */ r(p, {
116
+ (o || t || e) && /* @__PURE__ */ r(g, {
113
117
  paddingRight: 16,
114
- children: /* @__PURE__ */ o(n, {
118
+ children: /* @__PURE__ */ l(a, {
115
119
  space: 8,
116
120
  children: [
117
- l && u(l, {
118
- color: d.colors.textPrimary
121
+ t && f(t, {
122
+ color: c.colors.textPrimary
119
123
  }),
120
- /* @__PURE__ */ r(H, {
124
+ m ? /* @__PURE__ */ r(A, {
125
+ regular: !0,
121
126
  role: "heading",
122
127
  "aria-level": 2,
123
- children: e
128
+ children: o
129
+ }) : /* @__PURE__ */ r(H, {
130
+ role: "heading",
131
+ "aria-level": 2,
132
+ children: o
124
133
  }),
125
- t && /* @__PURE__ */ r(T, {
134
+ e && (m ? /* @__PURE__ */ r(C, {
126
135
  regular: !0,
127
- color: d.colors.textSecondary,
128
- children: t
129
- })
136
+ color: c.colors.textSecondary,
137
+ children: e
138
+ }) : /* @__PURE__ */ r(x, {
139
+ regular: !0,
140
+ color: c.colors.textSecondary,
141
+ children: e
142
+ }))
130
143
  ]
131
144
  })
132
145
  }),
133
- (c || m || h || a) && /* @__PURE__ */ o(n, {
146
+ (s || p || n || i) && /* @__PURE__ */ l(a, {
134
147
  space: 16,
135
148
  children: [
136
- (c || m) && /* @__PURE__ */ o(n, {
149
+ (s || p) && /* @__PURE__ */ l(a, {
137
150
  space: 8,
138
151
  children: [
139
- c && u(c, {
140
- color: d.colors.textPrimary
152
+ s && f(s, {
153
+ color: c.colors.textPrimary
141
154
  }),
142
- /* @__PURE__ */ r(j, {
143
- color: s && !O ? d.colors.highlight : d.colors.textPrimary,
144
- children: m
155
+ /* @__PURE__ */ r(M, {
156
+ color: h && !L ? c.colors.highlight : c.colors.textPrimary,
157
+ children: p
145
158
  })
146
159
  ]
147
160
  }),
148
- (h || y) && /* @__PURE__ */ r(C, {
149
- primaryButton: h,
150
- secondaryButton: y
161
+ (n || k) && /* @__PURE__ */ r(R, {
162
+ primaryButton: n,
163
+ secondaryButton: k
151
164
  }),
152
- a && u(a, {})
165
+ i && f(i, {})
153
166
  ]
154
167
  })
155
168
  ]
156
169
  });
157
- }, Q = (param)=>{
158
- let { title: l , description: e , button: t } = param;
159
- const { isTabletOrSmaller: i } = f();
160
- return /* @__PURE__ */ o(n, {
170
+ }, _ = (param)=>/* @__PURE__ */ {
171
+ let { title: t , description: o , button: e } = param;
172
+ return l(a, {
161
173
  space: 32,
162
174
  children: [
163
- /* @__PURE__ */ o(n, {
164
- space: i ? 12 : 16,
175
+ /* @__PURE__ */ l(a, {
176
+ space: {
177
+ mobile: 12,
178
+ desktop: 16
179
+ },
165
180
  children: [
166
- l && /* @__PURE__ */ r(A, {
181
+ t && /* @__PURE__ */ r(N, {
167
182
  role: "heading",
168
183
  "aria-level": 1,
169
- children: l
184
+ children: t
170
185
  }),
171
- e && /* @__PURE__ */ r(H, {
172
- children: e
186
+ o && /* @__PURE__ */ r(H, {
187
+ children: o
173
188
  })
174
189
  ]
175
190
  }),
176
- t
191
+ e
177
192
  ]
178
193
  });
179
- }, U = (param)=>{
180
- let { isInverse: l = !0 , breadcrumbs: e , header: t , extra: i , sideBySideExtraOnDesktop: c = !1 , dataAttributes: m , bleed: h = !1 } = param;
181
- const { isTabletOrSmaller: a } = f(), s = h && l;
182
- return /* @__PURE__ */ o(P, {
194
+ }, $ = (param)=>{
195
+ let { isInverse: t = !0 , breadcrumbs: o , header: e , extra: d , sideBySideExtraOnDesktop: m = !1 , dataAttributes: s , bleed: p = !1 , noPaddingY: n = !1 } = param;
196
+ const i = p && t && d, h = /* @__PURE__ */ l("div", {
183
197
  children: [
184
- /* @__PURE__ */ o(x, {
185
- isInverse: l,
186
- dataAttributes: _object_spread({
187
- "component-name": "HeaderLayout"
188
- }, m),
198
+ o && /* @__PURE__ */ r("div", {
199
+ className: I,
200
+ children: o
201
+ }),
202
+ e
203
+ ]
204
+ });
205
+ return /* @__PURE__ */ l("div", _object_spread_props(_object_spread({}, O(_object_spread({
206
+ "component-name": "HeaderLayout"
207
+ }, s))), {
208
+ children: [
209
+ /* @__PURE__ */ l(v, {
210
+ isInverse: t,
189
211
  children: [
190
- /* @__PURE__ */ r(B, {}),
191
- a ? /* @__PURE__ */ r(p, {
192
- paddingTop: t ? 32 : 0,
193
- paddingBottom: 24,
194
- children: /* @__PURE__ */ o(n, {
195
- space: 24,
196
- children: [
197
- t,
198
- !s && i
199
- ]
200
- })
201
- }) : c ? /* @__PURE__ */ r(p, {
202
- paddingTop: e ? 16 : 48,
203
- paddingBottom: 48,
204
- children: /* @__PURE__ */ r(v, {
212
+ /* @__PURE__ */ r(T, {}),
213
+ /* @__PURE__ */ r(g, {
214
+ paddingTop: n ? 0 : {
215
+ mobile: e ? 32 : 0,
216
+ desktop: o ? 16 : 48
217
+ },
218
+ paddingBottom: {
219
+ mobile: n && !i ? 0 : 24,
220
+ desktop: i && !m ? 32 : n ? 0 : 48
221
+ },
222
+ children: m ? /* @__PURE__ */ r(y, {
205
223
  template: "6+6",
206
- left: /* @__PURE__ */ o(n, {
207
- space: 32,
208
- children: [
209
- e,
210
- t
211
- ]
212
- }),
213
- right: i
214
- })
215
- }) : /* @__PURE__ */ r(p, {
216
- paddingTop: e ? 16 : 48,
217
- paddingBottom: s ? 32 : 48,
218
- children: /* @__PURE__ */ o(n, {
219
- space: a ? 24 : 32,
224
+ left: h,
225
+ right: /* @__PURE__ */ r("div", {
226
+ className: i ? j : "",
227
+ children: /* @__PURE__ */ r(g, {
228
+ paddingTop: {
229
+ mobile: e ? 24 : 0,
230
+ desktop: 0
231
+ },
232
+ children: d
233
+ })
234
+ })
235
+ }) : /* @__PURE__ */ l(a, {
236
+ space: e ? {
237
+ mobile: 24,
238
+ desktop: 32
239
+ } : 0,
220
240
  children: [
221
- /* @__PURE__ */ o(n, {
222
- space: 32,
223
- children: [
224
- e,
225
- t
226
- ]
227
- }),
228
- !s && i
241
+ h,
242
+ !i && d
229
243
  ]
230
244
  })
231
245
  })
232
246
  ]
233
247
  }),
234
- s && i && (a || !c) && /* @__PURE__ */ r(x, {
235
- backgroundColor: `linear-gradient(to bottom, ${d.colors.backgroundBrand} 40px, ${d.colors.background} 0%)`,
236
- children: i
248
+ i && /* @__PURE__ */ r(v, {
249
+ className: m ? G : "",
250
+ backgroundColor: `linear-gradient(to bottom, ${c.colors.backgroundBrand} 40px, ${c.colors.background} 0%)`,
251
+ children: d
237
252
  })
238
253
  ]
239
- });
240
- }, W = (param)=>{
241
- let { isInverse: l = !0 , children: e } = param;
242
- const { isTabletOrSmaller: t } = f();
243
- return /* @__PURE__ */ o(x, {
244
- isInverse: l,
254
+ }));
255
+ }, E = (param)=>/* @__PURE__ */ {
256
+ let { isInverse: t = !0 , children: o , dataAttributes: e } = param;
257
+ return l(v, {
258
+ isInverse: t,
259
+ dataAttributes: _object_spread({
260
+ "component-name": "MainSectionHeaderLayout"
261
+ }, e),
245
262
  children: [
246
- /* @__PURE__ */ r(B, {}),
247
- t ? /* @__PURE__ */ r(p, {
248
- paddingTop: 12,
249
- paddingBottom: 24,
250
- children: e
251
- }) : /* @__PURE__ */ r(v, {
263
+ /* @__PURE__ */ r(T, {}),
264
+ /* @__PURE__ */ r(y, {
252
265
  template: "6+6",
253
- left: /* @__PURE__ */ r(p, {
254
- paddingY: 48,
255
- children: e
266
+ left: /* @__PURE__ */ r(g, {
267
+ paddingTop: {
268
+ mobile: 12,
269
+ desktop: 48
270
+ },
271
+ paddingBottom: {
272
+ mobile: 24,
273
+ desktop: 48
274
+ },
275
+ children: o
256
276
  }),
257
277
  right: null
258
278
  })
259
279
  ]
260
280
  });
261
281
  };
262
- export { N as Header, U as HeaderLayout, Q as MainSectionHeader, W as MainSectionHeaderLayout };
282
+ export { Z as Header, $ as HeaderLayout, _ as MainSectionHeader, E as MainSectionHeaderLayout };
@@ -1,7 +1,7 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./responsive-layout.css.ts.vanilla.css-mistica.js";
3
3
  import "./hero.css.ts.vanilla.css-mistica.js";
4
- var v = "_16rbpto6 _1y2v1nf64 _1y2v1nf6q _1y2v1nf6k", a = "_16rbpto2 _1y2v1nf64", n = "_1y2v1nf6j _1y2v1nf8w", _ = "_1y2v1nf6a", i = "_16rbpto7", p = {
4
+ var v = "_16rbpto6 _1y2v1nfb4 _1y2v1nfbq _1y2v1nfbk", a = "_16rbpto2 _1y2v1nfb4", n = "_1y2v1nfbj _1y2v1nfc8", b = "_1y2v1nfba", _ = "_16rbpto7", i = {
5
5
  height: "var(--_16rbpto0)"
6
6
  };
7
- export { v as actions, a as container, n as containerDesktop, _ as containerMobile, i as layout, p as vars };
7
+ export { v as actions, a as container, n as containerDesktop, b as containerMobile, _ as layout, i as vars };
@@ -1,7 +1,7 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./highlighted-card.css.ts.vanilla.css-mistica.js";
3
- var y = "wrb8722 _1y2v1nf64 _1y2v1nf69 _1y2v1nf6g _1y2v1nf6m", f = "wrb8725 _1y2v1nf64", _ = {
4
- withImage: "wrb8728 wrb8727 _1y2v1nf64 _1y2v1nf6a _1y2v1nf6i _1y2v1nf6y _1y2v1nf7d _1y2v1nf7q",
5
- withoutImage: "wrb8729 wrb8727 _1y2v1nf64 _1y2v1nf6a _1y2v1nf6i _1y2v1nf6y _1y2v1nf7d _1y2v1nf7q"
6
- }, r = "_1y2v1nf6r _1y2v1nf76 _1y2v1nf7l _1y2v1nf80 _1y2v1nf64 _1y2v1nf6m _1y2v1nfaa _1y2v1nf8f _1y2v1nf5y";
7
- export { y as container, f as imageContent, _ as textContainerVariant, r as touchableContainer };
3
+ var y = "wrb8722 _1y2v1nfb4 _1y2v1nfb9 _1y2v1nfbg _1y2v1nfbm", f = "wrb8725 _1y2v1nfb4", _ = {
4
+ withImage: "wrb8728 wrb8727 _1y2v1nfb4 _1y2v1nfba _1y2v1nfbi _1y2v1nf6k _1y2v1nf7t _1y2v1nf8w",
5
+ withoutImage: "wrb8729 wrb8727 _1y2v1nfb4 _1y2v1nfba _1y2v1nfbi _1y2v1nf6k _1y2v1nf7t _1y2v1nf8w"
6
+ }, b = "_1y2v1nf5z _1y2v1nf78 _1y2v1nf8h _1y2v1nf9q _1y2v1nfb4 _1y2v1nfbm _1y2v1nfdm _1y2v1nfbr _1y2v1nf5y";
7
+ export { y as container, f as imageContent, _ as textContainerVariant, b as touchableContainer };
@@ -1,5 +1,5 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./responsive-layout.css.ts.vanilla.css-mistica.js";
3
3
  import "./horizontal-scroll.css.ts.vanilla.css-mistica.js";
4
- var m = "_1gl3gmv2", v = "_1gl3gmv1 _1y2v1nf64";
4
+ var m = "_1gl3gmv2", v = "_1gl3gmv1 _1y2v1nfb4";
5
5
  export { m as noScrollbar, v as scroll };
@@ -1,4 +1,4 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./icon-button.css.ts.vanilla.css-mistica.js";
3
- var t = "yqt1oe1 _1y2v1nf68";
3
+ var t = "yqt1oe1 _1y2v1nfb8";
4
4
  export { t as base };
@@ -1,4 +1,4 @@
1
1
  import "./sprinkles.css.ts.vanilla.css-mistica.js";
2
2
  import "./image.css.ts.vanilla.css-mistica.js";
3
- var f = 300, n = "_17tt25r1 _1y2v1nfau _1y2v1nfb9 _1y2v1nf66 _1y2v1nf8f _1y2v1nf8w _1y2v1nfci _1y2v1nfa7 _1y2v1nfa8";
3
+ var f = 300, n = "_17tt25r1 _1y2v1nfe6 _1y2v1nfel _1y2v1nfb6 _1y2v1nfbr _1y2v1nfc8 _1y2v1nffu _1y2v1nfdj _1y2v1nfdk";
4
4
  export { f as FADE_IN_DURATION_MS, n as image };