@telefonica/mistica 14.6.0 → 14.7.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 (188) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/avatar.css-mistica.js +1 -1
  3. package/dist/badge.css-mistica.js +3 -3
  4. package/dist/boxed.d.ts +2 -1
  5. package/dist/boxed.js +17 -18
  6. package/dist/button-fixed-footer-layout.d.ts +1 -2
  7. package/dist/button-group.css-mistica.js +3 -3
  8. package/dist/button-group.d.ts +1 -1
  9. package/dist/button-layout.css-mistica.js +12 -12
  10. package/dist/button-layout.d.ts +1 -2
  11. package/dist/button.css-mistica.js +22 -22
  12. package/dist/button.d.ts +1 -1
  13. package/dist/button.js +93 -90
  14. package/dist/callout.css-mistica.js +1 -1
  15. package/dist/callout.d.ts +1 -1
  16. package/dist/callout.js +13 -9
  17. package/dist/card.css-mistica.js +8 -8
  18. package/dist/card.d.ts +3 -3
  19. package/dist/card.js +71 -71
  20. package/dist/carousel.css-mistica.js +7 -7
  21. package/dist/checkbox.css-mistica.js +9 -9
  22. package/dist/chip.css-mistica.js +11 -10
  23. package/dist/chip.css.d.ts +1 -1
  24. package/dist/chip.js +21 -20
  25. package/dist/circle.css-mistica.js +1 -1
  26. package/dist/credit-card-number-field.css-mistica.js +3 -3
  27. package/dist/cvv-field.css-mistica.js +3 -3
  28. package/dist/date-time-picker.js +7 -6
  29. package/dist/dialog.css-mistica.js +7 -7
  30. package/dist/dialog.d.ts +1 -1
  31. package/dist/double-field.css-mistica.js +4 -4
  32. package/dist/double-field.d.ts +10 -10
  33. package/dist/empty-state-card.css-mistica.js +2 -2
  34. package/dist/empty-state-card.d.ts +1 -1
  35. package/dist/empty-state.css-mistica.js +2 -2
  36. package/dist/empty-state.d.ts +2 -1
  37. package/dist/feedback.css-mistica.js +5 -5
  38. package/dist/feedback.d.ts +1 -0
  39. package/dist/feedback.js +86 -87
  40. package/dist/fixed-footer-layout.css-mistica.js +5 -5
  41. package/dist/header.d.ts +2 -2
  42. package/dist/hero.css-mistica.js +5 -5
  43. package/dist/hero.d.ts +4 -4
  44. package/dist/highlighted-card.css-mistica.js +4 -4
  45. package/dist/highlighted-card.d.ts +1 -2
  46. package/dist/icon-button.css-mistica.js +1 -1
  47. package/dist/image.css-mistica.js +1 -1
  48. package/dist/image.js +16 -16
  49. package/dist/index.d.ts +7 -2
  50. package/dist/index.js +9 -1
  51. package/dist/list.css-mistica.js +9 -9
  52. package/dist/loading-bar.css-mistica.js +6 -6
  53. package/dist/logo.d.ts +34 -0
  54. package/dist/logo.js +629 -0
  55. package/dist/maybe-dismissable.css-mistica.js +4 -4
  56. package/dist/menu.css-mistica.js +1 -1
  57. package/dist/navigation-bar.css-mistica.js +16 -16
  58. package/dist/navigation-bar.d.ts +2 -6
  59. package/dist/navigation-bar.js +99 -266
  60. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  61. package/dist/package-version.js +1 -1
  62. package/dist/password-field.css-mistica.js +2 -2
  63. package/dist/popover.css-mistica.js +10 -10
  64. package/dist/progress-bar.css-mistica.js +2 -2
  65. package/dist/radio-button.css-mistica.js +9 -9
  66. package/dist/responsive-layout.css-mistica.js +8 -5
  67. package/dist/responsive-layout.css.d.ts +4 -1
  68. package/dist/responsive-layout.d.ts +2 -0
  69. package/dist/responsive-layout.js +7 -9
  70. package/dist/screen-reader-only.css-mistica.js +1 -1
  71. package/dist/select.css-mistica.js +14 -14
  72. package/dist/skeleton-base.js +3 -3
  73. package/dist/skeletons.css-mistica.js +4 -4
  74. package/dist/skins/blau.js +7 -1
  75. package/dist/skins/defaults.d.ts +3 -0
  76. package/dist/skins/defaults.js +48 -0
  77. package/dist/skins/movistar-legacy.js +7 -1
  78. package/dist/skins/movistar.js +7 -1
  79. package/dist/skins/o2-classic.js +6 -0
  80. package/dist/skins/o2.js +9 -3
  81. package/dist/skins/skin-contract.css-mistica.js +203 -185
  82. package/dist/skins/skin-contract.css.d.ts +18 -0
  83. package/dist/skins/telefonica.js +19 -1
  84. package/dist/skins/types.d.ts +21 -0
  85. package/dist/skins/vivo.js +7 -1
  86. package/dist/snackbar.css-mistica.js +8 -8
  87. package/dist/spinner.css-mistica.js +1 -1
  88. package/dist/sprinkles.css-mistica.js +360 -312
  89. package/dist/sprinkles.css.d.ts +1 -1
  90. package/dist/stepper.css-mistica.js +9 -9
  91. package/dist/switch-component.css-mistica.js +23 -23
  92. package/dist/tabs.css-mistica.js +14 -14
  93. package/dist/tag.css-mistica.js +2 -2
  94. package/dist/tag.js +12 -12
  95. package/dist/text-field-base.css-mistica.js +10 -10
  96. package/dist/text-field-base.js +14 -14
  97. package/dist/text-field-components.css-mistica.js +10 -10
  98. package/dist/text-link.css-mistica.js +5 -5
  99. package/dist/theme-context-provider.js +38 -58
  100. package/dist/theme-variant-context.d.ts +4 -1
  101. package/dist/theme-variant-context.js +9 -8
  102. package/dist/tooltip.css-mistica.js +2 -2
  103. package/dist/touchable.css-mistica.js +1 -1
  104. package/dist/utils/aspect-ratio-support.css-mistica.js +4 -4
  105. package/dist/utils/renders-element.d.ts +1 -1
  106. package/dist/video.css-mistica.js +1 -1
  107. package/dist/video.js +16 -15
  108. package/dist-es/avatar.css-mistica.js +1 -1
  109. package/dist-es/badge.css-mistica.js +2 -2
  110. package/dist-es/boxed.js +25 -26
  111. package/dist-es/button-group.css-mistica.js +2 -2
  112. package/dist-es/button-layout.css-mistica.js +7 -7
  113. package/dist-es/button.css-mistica.js +9 -9
  114. package/dist-es/button.js +128 -125
  115. package/dist-es/callout.css-mistica.js +1 -1
  116. package/dist-es/callout.js +28 -24
  117. package/dist-es/card.css-mistica.js +2 -2
  118. package/dist-es/card.js +120 -120
  119. package/dist-es/carousel.css-mistica.js +2 -2
  120. package/dist-es/checkbox.css-mistica.js +6 -6
  121. package/dist-es/chip.css-mistica.js +9 -8
  122. package/dist-es/chip.js +37 -36
  123. package/dist-es/circle.css-mistica.js +1 -1
  124. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  125. package/dist-es/cvv-field.css-mistica.js +2 -2
  126. package/dist-es/date-time-picker.js +13 -12
  127. package/dist-es/dialog.css-mistica.js +5 -5
  128. package/dist-es/double-field.css-mistica.js +4 -4
  129. package/dist-es/empty-state-card.css-mistica.js +2 -2
  130. package/dist-es/empty-state.css-mistica.js +2 -2
  131. package/dist-es/feedback.css-mistica.js +2 -2
  132. package/dist-es/feedback.js +109 -110
  133. package/dist-es/fixed-footer-layout.css-mistica.js +3 -3
  134. package/dist-es/hero.css-mistica.js +2 -2
  135. package/dist-es/highlighted-card.css-mistica.js +4 -4
  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 +18 -18
  139. package/dist-es/index.js +1698 -1697
  140. package/dist-es/list.css-mistica.js +2 -2
  141. package/dist-es/loading-bar.css-mistica.js +2 -2
  142. package/dist-es/logo.js +607 -0
  143. package/dist-es/maybe-dismissable.css-mistica.js +2 -2
  144. package/dist-es/menu.css-mistica.js +1 -1
  145. package/dist-es/navigation-bar.css-mistica.js +11 -11
  146. package/dist-es/navigation-bar.js +171 -337
  147. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  148. package/dist-es/package-version.js +1 -1
  149. package/dist-es/password-field.css-mistica.js +2 -2
  150. package/dist-es/popover.css-mistica.js +2 -2
  151. package/dist-es/progress-bar.css-mistica.js +2 -2
  152. package/dist-es/radio-button.css-mistica.js +6 -6
  153. package/dist-es/responsive-layout.css-mistica.js +5 -2
  154. package/dist-es/responsive-layout.js +16 -18
  155. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  156. package/dist-es/select.css-mistica.js +11 -11
  157. package/dist-es/skeleton-base.js +7 -7
  158. package/dist-es/skeletons.css-mistica.js +2 -2
  159. package/dist-es/skins/blau.js +7 -1
  160. package/dist-es/skins/defaults.js +35 -0
  161. package/dist-es/skins/movistar-legacy.js +7 -1
  162. package/dist-es/skins/movistar.js +7 -1
  163. package/dist-es/skins/o2-classic.js +6 -0
  164. package/dist-es/skins/o2.js +9 -3
  165. package/dist-es/skins/skin-contract.css-mistica.js +203 -185
  166. package/dist-es/skins/telefonica.js +19 -1
  167. package/dist-es/skins/vivo.js +7 -1
  168. package/dist-es/snackbar.css-mistica.js +2 -2
  169. package/dist-es/spinner.css-mistica.js +1 -1
  170. package/dist-es/sprinkles.css-mistica.js +360 -312
  171. package/dist-es/stepper.css-mistica.js +2 -2
  172. package/dist-es/style.css +1 -1
  173. package/dist-es/switch-component.css-mistica.js +19 -19
  174. package/dist-es/tabs.css-mistica.js +10 -10
  175. package/dist-es/tag.css-mistica.js +2 -2
  176. package/dist-es/tag.js +27 -27
  177. package/dist-es/text-field-base.css-mistica.js +2 -2
  178. package/dist-es/text-field-base.js +20 -20
  179. package/dist-es/text-field-components.css-mistica.js +2 -2
  180. package/dist-es/text-link.css-mistica.js +5 -5
  181. package/dist-es/theme-context-provider.js +72 -92
  182. package/dist-es/theme-variant-context.js +9 -9
  183. package/dist-es/tooltip.css-mistica.js +2 -2
  184. package/dist-es/touchable.css-mistica.js +1 -1
  185. package/dist-es/utils/aspect-ratio-support.css-mistica.js +3 -3
  186. package/dist-es/video.css-mistica.js +1 -1
  187. package/dist-es/video.js +17 -16
  188. package/package.json +4 -4
@@ -21,7 +21,7 @@ export declare const sprinkles: ((props: {
21
21
  readonly maxWidth?: "100%" | undefined;
22
22
  readonly maxHeight?: "100%" | undefined;
23
23
  readonly border?: "regular" | "none" | undefined;
24
- readonly borderRadius?: 2 | 4 | 8 | 16 | "50%" | 20 | undefined;
24
+ readonly borderRadius?: (`var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`) | 2 | 4 | 8 | 16 | "50%" | 20 | undefined;
25
25
  readonly cursor?: "pointer" | undefined;
26
26
  readonly overflow?: "hidden" | "visible" | undefined;
27
27
  readonly top?: 0 | 2 | 4 | 8 | 12 | 16 | 24 | 32 | 40 | 48 | 56 | 64 | 72 | 80 | undefined;
@@ -11,19 +11,19 @@ function _export(target, all) {
11
11
  _export(exports, {
12
12
  bar: ()=>_,
13
13
  barFilled: ()=>r,
14
- barFilledAnimation: ()=>f,
15
- barFilledReverseAnimation: ()=>a,
16
- currentNumber: ()=>e,
17
- iconAnimation: ()=>m,
18
- number: ()=>y,
14
+ barFilledAnimation: ()=>a,
15
+ barFilledReverseAnimation: ()=>e,
16
+ currentNumber: ()=>f,
17
+ iconAnimation: ()=>y,
18
+ number: ()=>m,
19
19
  step: ()=>i,
20
- stepIconNumber: ()=>h,
21
- stepper: ()=>t,
20
+ stepIconNumber: ()=>t,
21
+ stepper: ()=>h,
22
22
  textContainer: ()=>o,
23
- vars: ()=>p
23
+ vars: ()=>q
24
24
  });
25
25
  require("./sprinkles.css.ts.vanilla.js");
26
26
  require("./stepper.css.ts.vanilla.js");
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 = {
27
+ var _ = "_14h93mqk _1y2v1nf8e _1y2v1nf7v _1y2v1nfa1 _1y2v1nfa4", r = "_14h93mqm _1y2v1nf8e _1y2v1nf7v _1y2v1nfa1 _1y2v1nfa4", a = "_14h93mqn", e = "_14h93mqp _1y2v1nf7x", f = "_14h93mqf", y = "_14h93mqc", m = "_14h93mqe _1y2v1nf5o _1y2v1nf63 _1y2v1nf5x _1y2v1nf9n", i = "_14h93mq9 _1y2v1nf5j _1y2v1nf5p _1y2v1nf5u _1y2v1nf63", t = "_14h93mqb _1y2v1nf5j _1y2v1nf5o", h = "_14h93mq7 _1y2v1nf5o _1y2v1nf9b", o = "_14h93mqh _1y2v1nf5k", q = {
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: ()=>n,
13
- barVariants: ()=>v,
14
- checkboxVariants: ()=>p,
15
- container: ()=>f,
16
- disabled: ()=>q,
12
+ ballVariants: ()=>h,
13
+ barVariants: ()=>q,
14
+ checkboxVariants: ()=>v,
15
+ container: ()=>p,
16
+ disabled: ()=>f,
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 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"
22
+ var h = {
23
+ default: "q0hp3as q0hp3aq q0hp3ap _1y2v1nf5k _1y2v1nfbc _1y2v1nf5q _1y2v1nf9n",
24
+ ios: "q0hp3at q0hp3ar q0hp3ap _1y2v1nf5k _1y2v1nfbc _1y2v1nf5q _1y2v1nf9n",
25
+ checked: "q0hp3au q0hp3aq q0hp3ap _1y2v1nf5k _1y2v1nfbc _1y2v1nf5q _1y2v1nf9n",
26
+ checkedIos: "q0hp3av q0hp3ar q0hp3ap _1y2v1nf5k _1y2v1nfbc _1y2v1nf5q _1y2v1nf9n"
27
+ }, q = {
28
+ default: "q0hp3ai q0hp3ah _1y2v1nf5q",
29
+ ios: "q0hp3aj q0hp3ah _1y2v1nf5q",
30
+ checked: "q0hp3ak q0hp3ah _1y2v1nf5q",
31
+ checkedIos: "q0hp3al q0hp3ah _1y2v1nf5q"
27
32
  }, v = {
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";
33
+ default: "q0hp3a6 _1y2v1nf5s _1y2v1nfa3",
34
+ ios: "q0hp3a7 _1y2v1nf5s _1y2v1nfa3",
35
+ disabled: "q0hp3a8 _1y2v1nf5s _1y2v1nfa3",
36
+ disabledIos: "q0hp3a9 _1y2v1nf5s _1y2v1nfa3"
37
+ }, p = "q0hp3am", f = "q0hp3an", y = {
38
+ default: "q0hp3ac q0hp3ab _1y2v1nf5j",
39
+ ios: "q0hp3ad q0hp3ab _1y2v1nf5j"
40
+ }, _ = "q0hp3af _1y2v1nf5q _1y2v1nfa4";
@@ -13,20 +13,20 @@ _export(exports, {
13
13
  icon: ()=>y,
14
14
  inner: ()=>_,
15
15
  outer: ()=>a,
16
- outerBorder: ()=>o,
17
- tabSelectionVariants: ()=>e,
18
- tabVariants: ()=>r,
19
- tabWithIcon: ()=>g,
20
- tabsContainer: ()=>t
16
+ outerBorder: ()=>m,
17
+ tabSelectionVariants: ()=>o,
18
+ tabVariants: ()=>t,
19
+ tabWithIcon: ()=>r,
20
+ tabsContainer: ()=>e
21
21
  });
22
22
  require("./sprinkles.css.ts.vanilla.js");
23
23
  require("./tabs.css.ts.vanilla.js");
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";
24
+ var v = "_1y2v1nf5n _1y2v1nf5k _1y2v1nfak _1y2v1nfbc _1y2v1nf8d _1y2v1nf3s", y = "lgofm1m", _ = "lgofm14 _1y2v1nf5k _1y2v1nfak _1y2v1nfay _1y2v1nf8p", a = "lgofm12 _1y2v1nf8m _1y2v1nf5j _1y2v1nfa4", m = "lgofm10", o = {
25
+ noSelected: "_1y2v1nf1t",
26
+ selected: "_1y2v1nf1r lgofm1h",
27
+ selectedAnimating: "_1y2v1nf1r lgofm1i"
28
+ }, t = {
29
+ default: "lgofm17 _1y2v1nf5p _1y2v1nf63 _1y2v1nf5x _1y2v1nf78 _1y2v1nf7m _1y2v1nf8m _1y2v1nf5i lgofm18",
30
+ tabs2: "lgofm17 _1y2v1nf5p _1y2v1nf63 _1y2v1nf5x _1y2v1nf78 _1y2v1nf7m _1y2v1nf8m _1y2v1nf5i lgofm19",
31
+ tabs3: "lgofm17 _1y2v1nf5p _1y2v1nf63 _1y2v1nf5x _1y2v1nf78 _1y2v1nf7m _1y2v1nf8m _1y2v1nf5i lgofm1a"
32
+ }, r = "lgofm1e", e = "_1y2v1nf8m _1y2v1nf5o";
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "tag", {
6
6
  enumerable: true,
7
- get: ()=>n
7
+ get: ()=>_
8
8
  });
9
9
  require("./sprinkles.css.ts.vanilla.js");
10
10
  require("./tag.css.ts.vanilla.js");
11
- var n = "_1wy08671 _1y2v1nf67 _1y2v1nf6l _1y2v1nf5j _1y2v1nf5n _1y2v1nf5x _1y2v1nf5r _1y2v1nf8v _1y2v1nf7f";
11
+ var _ = "_1wy08671 _1y2v1nf6d _1y2v1nf6r _1y2v1nf5p _1y2v1nf5t _1y2v1nf63 _1y2v1nf5x _1y2v1nf91 _1y2v1nf7l";
package/dist/tag.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "default", {
6
6
  enumerable: true,
7
- get: ()=>R
7
+ get: ()=>N
8
8
  });
9
9
  const _boxJs = /*#__PURE__*/ _interopRequireDefault(require("./box.js"));
10
10
  const _textJs = require("./text.js");
@@ -73,10 +73,10 @@ function _objectSpreadProps(target, source) {
73
73
  }
74
74
  return target;
75
75
  }
76
- const { colors: r } = _skinContractCssMisticaJs.vars, R = (param)=>{
77
- let { Icon: o , children: i , dataAttributes: m , type: c = "promo" } = param;
78
- const s = (0, _themeVariantContextJs.useIsInverseVariant)();
79
- if (!i) return null;
76
+ const { colors: r } = _skinContractCssMisticaJs.vars, N = (param)=>{
77
+ let { Icon: o , children: s , dataAttributes: c , type: l = "promo" } = param;
78
+ const t = (0, _themeVariantContextJs.useThemeVariant)(), i = t === "inverse";
79
+ if (!s) return null;
80
80
  const g = {
81
81
  promo: [
82
82
  r.promoHigh,
@@ -91,7 +91,7 @@ const { colors: r } = _skinContractCssMisticaJs.vars, R = (param)=>{
91
91
  inactive: [
92
92
  r.neutralMedium,
93
93
  r.neutralMediumInverse,
94
- r.neutralLow
94
+ t === "alternative" ? r.neutralLowAlternative : r.neutralLow
95
95
  ],
96
96
  success: [
97
97
  r.successHigh,
@@ -108,17 +108,17 @@ const { colors: r } = _skinContractCssMisticaJs.vars, R = (param)=>{
108
108
  r.errorHighInverse,
109
109
  r.errorLow
110
110
  ]
111
- }, [n, t, l] = g[c];
112
- return /* @__PURE__ */ (0, _jsxRuntimeJs.jsxs)("span", _objectSpreadProps(_objectSpread({}, (0, _domJs.getPrefixedDataAttributes)(m, "Tag")), {
111
+ }, [n, a, p] = g[l];
112
+ return /* @__PURE__ */ (0, _jsxRuntimeJs.jsxs)("span", _objectSpreadProps(_objectSpread({}, (0, _domJs.getPrefixedDataAttributes)(c, "Tag")), {
113
113
  className: (0, _classnames.default)(_tagCssMisticaJs.tag, (0, _sprinklesCssMisticaJs.sprinkles)({
114
114
  paddingLeft: o ? 8 : 12,
115
- background: s ? r.inverse : l
115
+ background: i ? r.inverse : p
116
116
  })),
117
117
  children: [
118
118
  o && /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_boxJs.default, {
119
119
  paddingRight: 4,
120
120
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(o, {
121
- color: s ? t : n,
121
+ color: i ? a : n,
122
122
  size: (0, _cssJs.pxToRem)(16),
123
123
  className: (0, _sprinklesCssMisticaJs.sprinkles)({
124
124
  display: "block"
@@ -128,12 +128,12 @@ const { colors: r } = _skinContractCssMisticaJs.vars, R = (param)=>{
128
128
  /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_themeVariantContextJs.ThemeVariant, {
129
129
  isInverse: !1,
130
130
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_textJs.Text, {
131
- color: s ? t : n,
131
+ color: i ? a : n,
132
132
  size: 14,
133
133
  lineHeight: 20,
134
134
  weight: "medium",
135
135
  truncate: !0,
136
- children: i
136
+ children: s
137
137
  })
138
138
  })
139
139
  ]
@@ -10,22 +10,22 @@ function _export(target, all) {
10
10
  }
11
11
  _export(exports, {
12
12
  endIcon: ()=>n,
13
- fullWidth: ()=>t,
14
- input: ()=>e,
15
- inputFirefoxStyles: ()=>f,
16
- inputWithLabel: ()=>r,
13
+ fullWidth: ()=>r,
14
+ input: ()=>t,
15
+ inputFirefoxStyles: ()=>e,
16
+ inputWithLabel: ()=>f,
17
17
  inputWithoutLabel: ()=>_,
18
18
  menuItem: ()=>a,
19
19
  menuItemSelected: ()=>h,
20
20
  prefix: ()=>i,
21
21
  prefixWithLabel: ()=>o,
22
22
  prefixWithoutLabel: ()=>l,
23
- startIcon: ()=>p,
24
- suggestionsContainer: ()=>x,
25
- textArea: ()=>u,
26
- textAreaWithLabel: ()=>b,
27
- textAreaWithoutLabel: ()=>m
23
+ startIcon: ()=>u,
24
+ suggestionsContainer: ()=>p,
25
+ textArea: ()=>b,
26
+ textAreaWithLabel: ()=>m,
27
+ textAreaWithoutLabel: ()=>x
28
28
  });
29
29
  require("./sprinkles.css.ts.vanilla.js");
30
30
  require("./text-field-base.css.ts.vanilla.js");
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";
31
+ var n = "rhey4tf _1y2v1nf76 _1y2v1nf7m _1y2v1nf5o _1y2v1nf63", r = "rhey4t4", t = "rhey4ta _1y2v1nf5j _1y2v1nf8b rhey4t1 _1y2v1nf9m _1y2v1nf8r _1y2v1nf1r _1y2v1nf7v", e = "rhey4tb", f = "rhey4tc", _ = "_1y2v1nf6g _1y2v1nf6u", a = "rhey4to _1y2v1nf8l _1y2v1nf5o _1y2v1nf63 _1y2v1nfa3", h = "_1y2v1nf31", i = "rhey4tj _1y2v1nf77 _1y2v1nf7m", o = "rhey4tl _1y2v1nf6s", l = "_1y2v1nf6g _1y2v1nf6u", u = "rhey4th _1y2v1nf77 _1y2v1nf7l _1y2v1nf5o _1y2v1nf63 _1y2v1nf8b _1y2v1nf5k", p = "rhey4tr _1y2v1nf5k", b = "rhey4t6 _1y2v1nf6b _1y2v1nf6p _1y2v1nf73 _1y2v1nf7h rhey4t1 _1y2v1nf9m _1y2v1nf8r _1y2v1nf1r _1y2v1nf7v", m = "rhey4t7", x = "rhey4t8";
@@ -148,7 +148,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
148
148
  return target;
149
149
  }
150
150
  const I = /*#__PURE__*/ _react.forwardRef((_param, Q)=>{
151
- var { error: c , helperText: A , label: n , inputProps: g , inputRef: y , defaultValue: o , value: t , onFocus: u , onBlur: p , inputComponent: f , prefix: m , startIcon: e , endIcon: a , endIconOverlay: x , shrinkLabel: H , multiline: L = !1 , focus: C , fieldRef: K , maxLength: S , id: M , autoComplete: G , fullWidth: J } = _param, r = _objectWithoutProperties(_param, [
151
+ var { error: c , helperText: A , label: n , inputProps: g , inputRef: y , defaultValue: o , value: t , onFocus: u , onBlur: p , inputComponent: h , prefix: m , startIcon: e , endIcon: a , endIconOverlay: x , shrinkLabel: H , multiline: L = !1 , focus: C , fieldRef: K , maxLength: S , id: M , autoComplete: G , fullWidth: J } = _param, r = _objectWithoutProperties(_param, [
152
152
  "error",
153
153
  "helperText",
154
154
  "label",
@@ -173,13 +173,13 @@ const I = /*#__PURE__*/ _react.forwardRef((_param, Q)=>{
173
173
  "fullWidth"
174
174
  ]);
175
175
  var q;
176
- const F = (0, _hooksJs.useAriaId)(M), [h, d] = _react.useState((o == null ? void 0 : o.length) || (t == null ? void 0 : t.length) ? "filled" : "default"), { isTabletOrSmaller: U } = (0, _hooksJs.useScreenSize)(), [X, N] = _react.useState((q = o == null ? void 0 : o.length) != null ? q : 0), E = !!n || !r.required, w = (0, _hooksJs.useTheme)(), P = H || (r.type === "date" || r.type === "datetime-local" || r.type === "month") && !r.required, [Y, Z] = _react.useState("baseline");
176
+ const F = (0, _hooksJs.useAriaId)(M), [f, d] = _react.useState((o == null ? void 0 : o.length) || (t == null ? void 0 : t.length) ? "filled" : "default"), { isTabletOrSmaller: U } = (0, _hooksJs.useScreenSize)(), [X, N] = _react.useState((q = o == null ? void 0 : o.length) != null ? q : 0), E = !!n || !r.required, w = (0, _hooksJs.useTheme)(), P = H || (r.type === "date" || r.type === "datetime-local" || r.type === "month") && !r.required, [Y, Z] = _react.useState("baseline");
177
177
  (0, _hooksJs.useIsomorphicLayoutEffect)(()=>{
178
178
  (0, _platformJs.isSafari)() && Z("initial");
179
179
  }, []), _react.useEffect(()=>{
180
- h !== "focused" && (t == null ? void 0 : t.length) && (N(t.length), d("filled")), C && d("focused"), C === !1 && !(t != null && t.length) && d("default"), C === !1 && (t == null ? void 0 : t.length) && d("filled");
180
+ f !== "focused" && (t == null ? void 0 : t.length) && (N(t.length), d("filled")), C && d("focused"), C === !1 && !(t != null && t.length) && d("default"), C === !1 && (t == null ? void 0 : t.length) && d("filled");
181
181
  }, [
182
- h,
182
+ f,
183
183
  t,
184
184
  C
185
185
  ]), _react.useEffect(()=>{
@@ -187,14 +187,14 @@ const I = /*#__PURE__*/ _react.forwardRef((_param, Q)=>{
187
187
  }, [
188
188
  r.autoFocus
189
189
  ]);
190
- const v = L ? "textarea" : "input", $ = f ? {
190
+ const v = L ? "textarea" : "input", $ = h ? {
191
191
  inputRef: y
192
192
  } : {
193
193
  ref: (0, _commonJs.combineRefs)(Q, y)
194
194
  }, b = _objectSpread(_objectSpreadProps(_objectSpread({}, r), {
195
195
  maxLength: S,
196
196
  autoComplete: G
197
- }), g), k = P || h === "focused" || h === "filled", V = k ? U ? _textFieldComponentsCssMisticaJs.LABEL_SCALE_MOBILE : _textFieldComponentsCssMisticaJs.LABEL_SCALE_DESKTOP : 1, ee = {
197
+ }), g), k = P || f === "focused" || f === "filled", V = k ? U ? _textFieldComponentsCssMisticaJs.LABEL_SCALE_MOBILE : _textFieldComponentsCssMisticaJs.LABEL_SCALE_DESKTOP : 1, ee = {
198
198
  left: e ? 48 : _textFieldComponentsCssMisticaJs.LABEL_LEFT_POSITION,
199
199
  width: `calc(((100% - ${_textFieldComponentsCssMisticaJs.LABEL_LEFT_POSITION + (e ? 48 : _textFieldComponentsCssMisticaJs.LABEL_LEFT_POSITION)}px)) / ${V})`,
200
200
  paddingRight: a && !k ? 36 : 0
@@ -221,7 +221,7 @@ const I = /*#__PURE__*/ _react.forwardRef((_param, Q)=>{
221
221
  m && /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)("div", {
222
222
  className: (0, _classnames.default)(_textFieldBaseCssMisticaJs.prefix, E ? _textFieldBaseCssMisticaJs.prefixWithLabel : _textFieldBaseCssMisticaJs.prefixWithoutLabel),
223
223
  style: {
224
- opacity: h === "default" ? 0 : 1,
224
+ opacity: f === "default" ? 0 : 1,
225
225
  alignSelf: Y
226
226
  },
227
227
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_textJs.Text3, {
@@ -239,7 +239,7 @@ const I = /*#__PURE__*/ _react.forwardRef((_param, Q)=>{
239
239
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_textJs.Text3, {
240
240
  as: "div",
241
241
  regular: !0,
242
- children: /*#__PURE__*/ _react.createElement(f || v, _objectSpread(_objectSpreadProps(_objectSpread({}, $, b), {
242
+ children: /*#__PURE__*/ _react.createElement(h || v, _objectSpread(_objectSpreadProps(_objectSpread({}, $, b), {
243
243
  id: F,
244
244
  style: _objectSpreadProps(_objectSpread({}, b.style), {
245
245
  fontFamily: te
@@ -255,7 +255,7 @@ const I = /*#__PURE__*/ _react.forwardRef((_param, Q)=>{
255
255
  },
256
256
  onChange: (l)=>{
257
257
  var B;
258
- S === void 0 || l.target.value.length <= S ? (N(l.target.value.length), (B = b.onChange) == null || B.call(b, l)) : (l.stopPropagation(), l.preventDefault());
258
+ S === void 0 || l.target.value.length <= S ? (N(l.target.value.length), l.target.value.length > 0 && f !== "focused" && d("filled"), (B = b.onChange) == null || B.call(b, l)) : (l.stopPropagation(), l.preventDefault());
259
259
  },
260
260
  defaultValue: o,
261
261
  value: t
@@ -268,7 +268,7 @@ const I = /*#__PURE__*/ _react.forwardRef((_param, Q)=>{
268
268
  style: ee,
269
269
  error: c,
270
270
  forId: F,
271
- inputState: h,
271
+ inputState: f,
272
272
  shrinkLabel: P,
273
273
  optional: !r.required,
274
274
  children: n
@@ -285,19 +285,19 @@ const I = /*#__PURE__*/ _react.forwardRef((_param, Q)=>{
285
285
  "getSuggestions",
286
286
  "id"
287
287
  ]);
288
- const [y, o] = _react.useState([]), t = _react.useRef(null), { platformOverrides: u , texts: p } = (0, _hooksJs.useTheme)(), f = (0, _hooksJs.useAriaId)(A), m = (0, _hooksJs.useAriaId)();
288
+ const [y, o] = _react.useState([]), t = _react.useRef(null), { platformOverrides: u , texts: p } = (0, _hooksJs.useTheme)(), h = (0, _hooksJs.useAriaId)(A), m = (0, _hooksJs.useAriaId)();
289
289
  if (c && (n.value === void 0 || n.defaultValue !== void 0)) throw Error("Fields with suggestions must be used in controlled mode");
290
290
  return c ? /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_react.Suspense, {
291
291
  fallback: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(I, _objectSpreadProps(_objectSpread({}, n), {
292
292
  label: (0, _platformJs.isRunningAcceptanceTest)(u) ? "" : n.label,
293
293
  autoComplete: "off",
294
294
  ref: g,
295
- id: f
295
+ id: h
296
296
  })),
297
297
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(Ne, {
298
298
  id: m,
299
299
  inputProps: _objectSpreadProps(_objectSpread({}, n), {
300
- id: f,
300
+ id: h,
301
301
  autoComplete: "off",
302
302
  onChange: (e, param)=>{
303
303
  let { newValue: a } = param;
@@ -342,7 +342,7 @@ const I = /*#__PURE__*/ _react.forwardRef((_param, Q)=>{
342
342
  }))
343
343
  })
344
344
  }) : /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(I, _objectSpreadProps(_objectSpread({}, n), {
345
- id: f,
345
+ id: h,
346
346
  ref: g
347
347
  }));
348
348
  });
@@ -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: ()=>f,
15
- LABEL_SCALE_MOBILE: ()=>a,
14
+ LABEL_SCALE_DESKTOP: ()=>a,
15
+ LABEL_SCALE_MOBILE: ()=>f,
16
16
  disabled: ()=>e,
17
- field: ()=>i,
18
- fieldContainer: ()=>y,
17
+ field: ()=>y,
18
+ fieldContainer: ()=>i,
19
19
  fieldMulti: ()=>l,
20
20
  fieldSingle: ()=>t,
21
- fullWidth: ()=>k,
22
- helperContainer: ()=>u,
23
- helperText: ()=>d,
21
+ fullWidth: ()=>u,
22
+ helperContainer: ()=>k,
23
+ helperText: ()=>o,
24
24
  labelContainer: ()=>L,
25
- labelText: ()=>o,
25
+ labelText: ()=>d,
26
26
  leftText: ()=>E,
27
27
  normalWidth: ()=>T,
28
28
  rightText: ()=>h,
29
- shrinked: ()=>p
29
+ shrinked: ()=>A
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, 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";
33
+ var _ = 328, n = 12, a = 0.78, f = 0.75, e = "_15k6ur97", y = "_1y2v1nfa4 _1y2v1nf9l _1y2v1nf5o _1y2v1nf9u _1y2v1nf5j", i = "_15k6ur96 _1y2v1nf5o _1y2v1nf5u", l = "_15k6ur9e", t = "_15k6ur9d _1y2v1nf8m", u = "_1y2v1nf7v", k = "_1y2v1nf77 _1y2v1nf7m _1y2v1nf5o", o = "_15k6ur9g", L = "_15k6ur91 _1y2v1nf5k _1y2v1nfa6 _1y2v1nf8i _1y2v1nf5o _1y2v1nf5t _1y2v1nfao", d = "_15k6ur93 _1y2v1nfa4 _1y2v1nf67", E = "_15k6ur9h", T = "_15k6ur99 _1y2v1nf7v", h = "_15k6ur9i", A = "_15k6ur94";
@@ -4,12 +4,12 @@ Object.defineProperty(exports, "__esModule", {
4
4
  });
5
5
  Object.defineProperty(exports, "variants", {
6
6
  enumerable: true,
7
- get: ()=>v
7
+ get: ()=>r
8
8
  });
9
9
  require("./sprinkles.css.ts.vanilla.js");
10
10
  require("./text-link.css.ts.vanilla.js");
11
- var v = {
12
- default: "_1m1n0pr1 _1y2v1nf7q _1y2v1nf5l _1y2v1nf9n _1y2v1nf1z",
13
- inverseLight: "_1m1n0pr6 _1m1n0pr1 _1y2v1nf7q _1y2v1nf5l _1y2v1nf9n _1y2v1nf20",
14
- inverseDark: "_1m1n0pr7 _1m1n0pr1 _1y2v1nf7q _1y2v1nf5l _1y2v1nf9n _1y2v1nf1z"
11
+ var r = {
12
+ default: "_1m1n0pr1 _1y2v1nf7w _1y2v1nf5r _1y2v1nfa3 _1y2v1nf22",
13
+ inverseLight: "_1m1n0pr6 _1m1n0pr1 _1y2v1nf7w _1y2v1nf5r _1y2v1nfa3 _1y2v1nf23",
14
+ inverseDark: "_1m1n0pr7 _1m1n0pr1 _1y2v1nf7w _1y2v1nf5r _1y2v1nfa3 _1y2v1nf22"
15
15
  };
@@ -9,8 +9,8 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- default: ()=>pt,
13
- useIsOsDarkModeEnabled: ()=>U
12
+ default: ()=>bt,
13
+ useIsOsDarkModeEnabled: ()=>Y
14
14
  });
15
15
  const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
16
16
  const _dynamic = require("@vanilla-extract/dynamic");
@@ -28,6 +28,7 @@ const _aspectRatioSupportJs = require("./utils/aspect-ratio-support.js");
28
28
  const _analyticsJs = require("./utils/analytics.js");
29
29
  const _skinContractCssMisticaJs = require("./skins/skin-contract.css-mistica.js");
30
30
  const _colorJs = require("./utils/color.js");
31
+ const _defaultsJs = require("./skins/defaults.js");
31
32
  const _jsxRuntimeJs = require("./_virtual/jsx-runtime.js");
32
33
  function _interopRequireDefault(obj) {
33
34
  return obj && obj.__esModule ? obj : {
@@ -101,44 +102,22 @@ function _objectSpread(target) {
101
102
  }
102
103
  return target;
103
104
  }
104
- const Q = "(prefers-color-scheme: dark)", U = ()=>{
105
+ const X = "(prefers-color-scheme: dark)", Y = ()=>{
105
106
  const [t, c] = _react.useState(!1);
106
107
  return (0, _hooksJs.useIsomorphicLayoutEffect)(()=>{
107
108
  if (!window.matchMedia) return;
108
- const o = window.matchMedia(Q), i = ()=>{
109
+ const o = window.matchMedia(X), s = ()=>{
109
110
  c(o.matches);
110
111
  };
111
- return o.addListener(i), i(), ()=>o.removeListener(i);
112
+ return o.addListener(s), s(), ()=>o.removeListener(s);
112
113
  }, []), t;
113
- }, X = ()=>(t)=>t, r = {
114
- text5: {
115
- weight: "light"
116
- },
117
- text6: {
118
- weight: "light"
119
- },
120
- text7: {
121
- weight: "light"
122
- },
123
- text8: {
124
- weight: "light"
125
- },
126
- text9: {
127
- weight: "light"
128
- },
129
- text10: {
130
- weight: "light"
131
- },
132
- cardTitle: {
133
- weight: "regular"
134
- }
135
- }, Y = (t)=>({
114
+ }, Z = ()=>(t)=>t, tt = (t)=>({
136
115
  headerMobileHeight: (t == null ? void 0 : t.headerMobileHeight) === "mistica" ? _themeJs.NAVBAR_HEIGHT_MOBILE : t == null ? void 0 : t.headerMobileHeight
137
- }), pt = (param)=>{
116
+ }), bt = (param)=>{
138
117
  let { theme: t , children: c , as: o } = param;
139
- var v;
140
- const i = _react.useRef(1), D = _react.useCallback(()=>`aria-id-hook-${i.current++}`, []), w = U(), u = (v = t.colorScheme) != null ? v : "auto", C = t.skin.colors, I = _objectSpread({}, t.skin.colors, t.skin.darkModeColors), f = u === "auto" && w || u === "dark", p = f ? I : C, g = _react.useMemo(()=>{
141
- var s, n, d, x, m, h, P, M, b;
118
+ var b, P;
119
+ const s = _react.useRef(1), I = _react.useCallback(()=>`aria-id-hook-${s.current++}`, []), E = Y(), u = (b = t.colorScheme) != null ? b : "auto", R = t.skin.colors, A = _objectSpread({}, t.skin.colors, t.skin.darkModeColors), x = u === "auto" && E || u === "dark", p = x ? A : R, k = _react.useMemo(()=>{
120
+ var i, a, d, f, m, g, M, T, C;
142
121
  const l = _objectSpread({
143
122
  platform: (0, _platformJs.getPlatform)(),
144
123
  insideNovumNativeApp: (0, _platformJs.isInsideNovumNativeApp)()
@@ -152,59 +131,60 @@ const Q = "(prefers-color-scheme: dark)", U = ()=>{
152
131
  logEvent: ()=>Promise.resolve(),
153
132
  eventFormat: "universal-analytics"
154
133
  }, t.analytics),
155
- dimensions: _objectSpread({}, _themeJs.dimensions, Y(t.dimensions)),
134
+ dimensions: _objectSpread({}, _themeJs.dimensions, tt(t.dimensions)),
156
135
  textPresets: {
157
- text5: _objectSpread({}, r.text5, (s = t.skin.textPresets) == null ? void 0 : s.text5),
158
- text6: _objectSpread({}, r.text6, (n = t.skin.textPresets) == null ? void 0 : n.text6),
159
- text7: _objectSpread({}, r.text7, (d = t.skin.textPresets) == null ? void 0 : d.text7),
160
- text8: _objectSpread({}, r.text8, (x = t.skin.textPresets) == null ? void 0 : x.text8),
161
- text9: _objectSpread({}, r.text9, (m = t.skin.textPresets) == null ? void 0 : m.text9),
162
- text10: _objectSpread({}, r.text10, (h = t.skin.textPresets) == null ? void 0 : h.text10),
163
- cardTitle: _objectSpread({}, r.cardTitle, (P = t.skin.textPresets) == null ? void 0 : P.cardTitle)
136
+ text5: _objectSpread({}, _defaultsJs.defaultTextPresetsConfig.text5, (i = t.skin.textPresets) == null ? void 0 : i.text5),
137
+ text6: _objectSpread({}, _defaultsJs.defaultTextPresetsConfig.text6, (a = t.skin.textPresets) == null ? void 0 : a.text6),
138
+ text7: _objectSpread({}, _defaultsJs.defaultTextPresetsConfig.text7, (d = t.skin.textPresets) == null ? void 0 : d.text7),
139
+ text8: _objectSpread({}, _defaultsJs.defaultTextPresetsConfig.text8, (f = t.skin.textPresets) == null ? void 0 : f.text8),
140
+ text9: _objectSpread({}, _defaultsJs.defaultTextPresetsConfig.text9, (m = t.skin.textPresets) == null ? void 0 : m.text9),
141
+ text10: _objectSpread({}, _defaultsJs.defaultTextPresetsConfig.text10, (g = t.skin.textPresets) == null ? void 0 : g.text10),
142
+ cardTitle: _objectSpread({}, _defaultsJs.defaultTextPresetsConfig.cardTitle, (M = t.skin.textPresets) == null ? void 0 : M.cardTitle)
164
143
  },
165
- Link: (M = t.Link) != null ? M : _themeJs.AnchorLink,
166
- isDarkMode: f,
144
+ Link: (T = t.Link) != null ? T : _themeJs.AnchorLink,
145
+ isDarkMode: x,
167
146
  isIos: (0, _platformJs.getPlatform)(l) === "ios",
168
- useHrefDecorator: (b = t.useHrefDecorator) != null ? b : X,
147
+ useHrefDecorator: (C = t.useHrefDecorator) != null ? C : Z,
169
148
  useId: t.useId
170
149
  };
171
150
  }, [
172
151
  t,
173
- f
174
- ]), E = Object.fromEntries(Object.entries(p).map((param)=>{
175
- let [l, s] = param;
176
- let n = "";
177
- if (s.startsWith("#")) {
178
- const [d, x, m] = (0, _colorJs.fromHexToRgb)(s);
179
- n = `${d}, ${x}, ${m}`;
152
+ x
153
+ ]), H = Object.fromEntries(Object.entries(p).map((param)=>{
154
+ let [l, i] = param;
155
+ let a = "";
156
+ if (i.startsWith("#")) {
157
+ const [d, f, m] = (0, _colorJs.fromHexToRgb)(i);
158
+ a = `${d}, ${f}, ${m}`;
180
159
  }
181
160
  return [
182
161
  l,
183
- n
162
+ a
184
163
  ];
185
- })), k = (0, _dynamic.assignInlineVars)(_skinContractCssMisticaJs.vars, {
164
+ })), v = (0, _dynamic.assignInlineVars)(_skinContractCssMisticaJs.vars, {
186
165
  colors: p,
187
- rawColors: E
166
+ rawColors: H,
167
+ borderRadii: (P = t.skin.borderRadii) != null ? P : _defaultsJs.defaultBorderRadiiConfig
188
168
  });
189
169
  return /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_tabFocusJs.default, {
190
170
  disabled: !t.enableTabFocus,
191
171
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_modalContextProviderJs.default, {
192
172
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_themeContextJs.default.Provider, {
193
- value: g,
173
+ value: k,
194
174
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_analyticsJs.TrackingConfig, {
195
- eventFormat: g.analytics.eventFormat,
175
+ eventFormat: k.analytics.eventFormat,
196
176
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_aspectRatioSupportJs.AspectRatioSupportProvider, {
197
177
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_documentVisibilityJs.DocumentVisibilityProvider, {
198
178
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_ariaIdGetterContextJs.default.Provider, {
199
- value: D,
179
+ value: I,
200
180
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_screenSizeContextProviderJs.default, {
201
181
  children: /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)(_dialogJs.default, {
202
182
  children: o ? /*#__PURE__*/ _react.createElement(o, {
203
- style: k
183
+ style: v
204
184
  }, c) : /* @__PURE__ */ (0, _jsxRuntimeJs.jsxs)(_jsxRuntimeJs.Fragment, {
205
185
  children: [
206
186
  (process.env.NODE_ENV !== "test" || process.env.SSR_TEST) && /* @__PURE__ */ (0, _jsxRuntimeJs.jsx)("style", {
207
- children: `:root {${k}}`
187
+ children: `:root {${v}}`
208
188
  }),
209
189
  c
210
190
  ]
@@ -1,8 +1,11 @@
1
1
  import * as React from 'react';
2
+ export type Variant = 'default' | 'inverse' | 'alternative';
2
3
  type ThemeVariantProps = {
3
- isInverse: boolean;
4
+ isInverse?: boolean;
5
+ variant?: Variant;
4
6
  children: React.ReactNode;
5
7
  };
6
8
  export declare const ThemeVariant: React.FC<ThemeVariantProps>;
9
+ export declare const useThemeVariant: () => Variant;
7
10
  export declare const useIsInverseVariant: () => boolean;
8
11
  export {};
@@ -9,8 +9,9 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- ThemeVariant: ()=>n,
13
- useIsInverseVariant: ()=>i
12
+ ThemeVariant: ()=>c,
13
+ useIsInverseVariant: ()=>u,
14
+ useThemeVariant: ()=>m
14
15
  });
15
16
  const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
16
17
  const _jsxRuntimeJs = require("./_virtual/jsx-runtime.js");
@@ -53,10 +54,10 @@ function _interopRequireWildcard(obj, nodeInterop) {
53
54
  }
54
55
  return newObj;
55
56
  }
56
- const t = /*#__PURE__*/ _react.createContext(!1), n = (param)=>/* @__PURE__ */ {
57
- let { isInverse: r , children: s } = param;
58
- return (0, _jsxRuntimeJs.jsx)(t.Provider, {
59
- value: !!r,
60
- children: s
57
+ const o = /*#__PURE__*/ _react.createContext("default"), c = (param)=>/* @__PURE__ */ {
58
+ let { isInverse: s , variant: e , children: r } = param;
59
+ return (0, _jsxRuntimeJs.jsx)(o.Provider, {
60
+ value: e != null ? e : s ? "inverse" : "default",
61
+ children: r
61
62
  });
62
- }, i = ()=>_react.useContext(t);
63
+ }, m = ()=>_react.useContext(o), u = ()=>m() === "inverse";