@telefonica/mistica 16.60.0 → 16.61.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 (544) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/accordion.css-mistica.js +6 -6
  3. package/dist/align.css-mistica.js +1 -1
  4. package/dist/autocomplete.css-mistica.js +1 -1
  5. package/dist/avatar.css-mistica.js +1 -1
  6. package/dist/badge.css-mistica.js +1 -1
  7. package/dist/box.css-mistica.js +13 -13
  8. package/dist/boxed.css-mistica.js +24 -24
  9. package/dist/button-fixed-footer-layout.d.ts +2 -1
  10. package/dist/button-fixed-footer-layout.js +4 -3
  11. package/dist/button-group.css-mistica.js +1 -1
  12. package/dist/button-layout.css-mistica.js +14 -14
  13. package/dist/button.css-mistica.js +30 -30
  14. package/dist/callout.css-mistica.js +11 -11
  15. package/dist/card-internal.css-mistica.js +15 -15
  16. package/dist/carousel.css-mistica.js +8 -8
  17. package/dist/checkbox.css-mistica.js +11 -11
  18. package/dist/chip.css-mistica.js +15 -15
  19. package/dist/circle.css-mistica.js +1 -1
  20. package/dist/community/advanced-data-card.css-mistica.js +6 -6
  21. package/dist/community/blocks.css-mistica.js +1 -1
  22. package/dist/community/example-component.css-mistica.js +1 -1
  23. package/dist/counter.css-mistica.js +1 -1
  24. package/dist/cover-hero.css-mistica.js +2 -2
  25. package/dist/credit-card-number-field.css-mistica.js +3 -3
  26. package/dist/date-field.css-mistica.js +1 -1
  27. package/dist/date-time-picker.css-mistica.js +1 -1
  28. package/dist/dialog.css-mistica.js +4 -4
  29. package/dist/divider.css-mistica.js +5 -5
  30. package/dist/double-field.css-mistica.js +2 -2
  31. package/dist/drawer.css-mistica.js +1 -1
  32. package/dist/empty-state-card.css-mistica.js +1 -1
  33. package/dist/empty-state.css-mistica.js +5 -5
  34. package/dist/fade-in.css-mistica.js +1 -1
  35. package/dist/feedback.css-mistica.js +1 -1
  36. package/dist/file-upload.css-mistica.js +7 -7
  37. package/dist/fixed-footer-layout.css-mistica.js +2 -2
  38. package/dist/fixed-footer-layout.d.ts +6 -1
  39. package/dist/fixed-footer-layout.js +29 -28
  40. package/dist/form.css-mistica.js +1 -1
  41. package/dist/grid-layout.css-mistica.js +3 -3
  42. package/dist/grid.css-mistica.js +120 -120
  43. package/dist/header.css-mistica.js +1 -1
  44. package/dist/hero.css-mistica.js +2 -2
  45. package/dist/horizontal-scroll.css-mistica.js +1 -1
  46. package/dist/icon-button.css-mistica.js +53 -53
  47. package/dist/icons/icon-chevron.css-mistica.js +2 -2
  48. package/dist/icons/icon-error.css-mistica.js +1 -1
  49. package/dist/image.css-mistica.js +2 -2
  50. package/dist/image.js +8 -1
  51. package/dist/inline.css-mistica.js +9 -9
  52. package/dist/list.css-mistica.js +1 -1
  53. package/dist/loading-bar.css-mistica.js +1 -1
  54. package/dist/loading-screen.css-mistica.js +4 -4
  55. package/dist/logo.css-mistica.js +5 -5
  56. package/dist/menu.css-mistica.js +13 -13
  57. package/dist/mosaic.css-mistica.js +1 -1
  58. package/dist/navigation-bar.css-mistica.js +18 -18
  59. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  60. package/dist/package-version.js +1 -1
  61. package/dist/pin-field.css-mistica.js +1 -1
  62. package/dist/popover.css-mistica.js +1 -1
  63. package/dist/progress-bar.css-mistica.js +6 -6
  64. package/dist/radio-button.css-mistica.js +19 -19
  65. package/dist/rating.css-mistica.js +2 -2
  66. package/dist/responsive-layout.css-mistica.js +6 -6
  67. package/dist/screen-reader-only.css-mistica.js +1 -1
  68. package/dist/select.css-mistica.js +15 -15
  69. package/dist/sheet-action-row.css-mistica.js +1 -1
  70. package/dist/sheet-common.css-mistica.js +1 -1
  71. package/dist/sheet-info.css-mistica.js +1 -1
  72. package/dist/skeletons.css-mistica.js +6 -6
  73. package/dist/skins/skin-contract.css-mistica.js +684 -684
  74. package/dist/skip-link.css-mistica.js +1 -1
  75. package/dist/slider.css-mistica.js +18 -18
  76. package/dist/snackbar.css-mistica.js +4 -4
  77. package/dist/spinner.css-mistica.js +1 -1
  78. package/dist/square.css-mistica.js +1 -1
  79. package/dist/stack.css-mistica.js +5 -5
  80. package/dist/stacking-group.css-mistica.js +1 -1
  81. package/dist/stepper.css-mistica.js +2 -2
  82. package/dist/switch-component.css-mistica.js +35 -35
  83. package/dist/table.css-mistica.js +9 -9
  84. package/dist/tabs.css-mistica.js +17 -17
  85. package/dist/tag.css-mistica.js +1 -1
  86. package/dist/text-field-base.css-mistica.js +15 -15
  87. package/dist/text-field-components.css-mistica.js +3 -3
  88. package/dist/text-link.css-mistica.js +6 -6
  89. package/dist/text.css-mistica.js +6 -6
  90. package/dist/theme-context.css-mistica.js +1 -1
  91. package/dist/timeline.css-mistica.js +9 -9
  92. package/dist/timer.css-mistica.js +6 -6
  93. package/dist/tooltip.css-mistica.js +1 -1
  94. package/dist/touchable.css-mistica.js +1 -1
  95. package/dist/utils/aspect-ratio-support.css-mistica.js +2 -2
  96. package/dist/video.css-mistica.js +1 -1
  97. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  98. package/dist-es/accordion.css-mistica.js +6 -6
  99. package/dist-es/align.css-mistica.js +1 -1
  100. package/dist-es/autocomplete.css-mistica.js +1 -1
  101. package/dist-es/avatar.css-mistica.js +1 -1
  102. package/dist-es/badge.css-mistica.js +1 -1
  103. package/dist-es/box.css-mistica.js +13 -13
  104. package/dist-es/boxed.css-mistica.js +23 -23
  105. package/dist-es/button-fixed-footer-layout.js +12 -11
  106. package/dist-es/button-group.css-mistica.js +1 -1
  107. package/dist-es/button-layout.css-mistica.js +14 -14
  108. package/dist-es/button.css-mistica.js +30 -30
  109. package/dist-es/callout.css-mistica.js +11 -11
  110. package/dist-es/card-internal.css-mistica.js +15 -15
  111. package/dist-es/carousel.css-mistica.js +8 -8
  112. package/dist-es/checkbox.css-mistica.js +11 -11
  113. package/dist-es/chip.css-mistica.js +15 -15
  114. package/dist-es/circle.css-mistica.js +1 -1
  115. package/dist-es/community/advanced-data-card.css-mistica.js +6 -6
  116. package/dist-es/community/blocks.css-mistica.js +1 -1
  117. package/dist-es/community/example-component.css-mistica.js +1 -1
  118. package/dist-es/counter.css-mistica.js +1 -1
  119. package/dist-es/cover-hero.css-mistica.js +2 -2
  120. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  121. package/dist-es/date-field.css-mistica.js +1 -1
  122. package/dist-es/date-time-picker.css-mistica.js +1 -1
  123. package/dist-es/dialog.css-mistica.js +4 -4
  124. package/dist-es/divider.css-mistica.js +5 -5
  125. package/dist-es/double-field.css-mistica.js +2 -2
  126. package/dist-es/drawer.css-mistica.js +1 -1
  127. package/dist-es/empty-state-card.css-mistica.js +1 -1
  128. package/dist-es/empty-state.css-mistica.js +5 -5
  129. package/dist-es/fade-in.css-mistica.js +1 -1
  130. package/dist-es/feedback.css-mistica.js +1 -1
  131. package/dist-es/file-upload.css-mistica.js +7 -7
  132. package/dist-es/fixed-footer-layout.css-mistica.js +2 -2
  133. package/dist-es/fixed-footer-layout.js +57 -56
  134. package/dist-es/form.css-mistica.js +1 -1
  135. package/dist-es/grid-layout.css-mistica.js +3 -3
  136. package/dist-es/grid.css-mistica.js +120 -120
  137. package/dist-es/header.css-mistica.js +1 -1
  138. package/dist-es/hero.css-mistica.js +2 -2
  139. package/dist-es/horizontal-scroll.css-mistica.js +1 -1
  140. package/dist-es/icon-button.css-mistica.js +53 -53
  141. package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
  142. package/dist-es/icons/icon-error.css-mistica.js +1 -1
  143. package/dist-es/image.css-mistica.js +2 -2
  144. package/dist-es/image.js +8 -1
  145. package/dist-es/inline.css-mistica.js +9 -9
  146. package/dist-es/list.css-mistica.js +1 -1
  147. package/dist-es/loading-bar.css-mistica.js +1 -1
  148. package/dist-es/loading-screen.css-mistica.js +4 -4
  149. package/dist-es/logo.css-mistica.js +5 -5
  150. package/dist-es/menu.css-mistica.js +13 -13
  151. package/dist-es/mosaic.css-mistica.js +1 -1
  152. package/dist-es/navigation-bar.css-mistica.js +18 -18
  153. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  154. package/dist-es/package-version.js +1 -1
  155. package/dist-es/pin-field.css-mistica.js +1 -1
  156. package/dist-es/popover.css-mistica.js +1 -1
  157. package/dist-es/progress-bar.css-mistica.js +6 -6
  158. package/dist-es/radio-button.css-mistica.js +19 -19
  159. package/dist-es/rating.css-mistica.js +2 -2
  160. package/dist-es/responsive-layout.css-mistica.js +6 -6
  161. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  162. package/dist-es/select.css-mistica.js +15 -15
  163. package/dist-es/sheet-action-row.css-mistica.js +1 -1
  164. package/dist-es/sheet-common.css-mistica.js +1 -1
  165. package/dist-es/sheet-info.css-mistica.js +1 -1
  166. package/dist-es/skeletons.css-mistica.js +6 -6
  167. package/dist-es/skins/skin-contract.css-mistica.js +684 -684
  168. package/dist-es/skip-link.css-mistica.js +1 -1
  169. package/dist-es/slider.css-mistica.js +18 -18
  170. package/dist-es/snackbar.css-mistica.js +4 -4
  171. package/dist-es/spinner.css-mistica.js +1 -1
  172. package/dist-es/square.css-mistica.js +1 -1
  173. package/dist-es/stack.css-mistica.js +5 -5
  174. package/dist-es/stacking-group.css-mistica.js +1 -1
  175. package/dist-es/stepper.css-mistica.js +2 -2
  176. package/dist-es/style.css +1 -1
  177. package/dist-es/switch-component.css-mistica.js +35 -35
  178. package/dist-es/table.css-mistica.js +9 -9
  179. package/dist-es/tabs.css-mistica.js +17 -17
  180. package/dist-es/tag.css-mistica.js +1 -1
  181. package/dist-es/text-field-base.css-mistica.js +15 -15
  182. package/dist-es/text-field-components.css-mistica.js +3 -3
  183. package/dist-es/text-link.css-mistica.js +6 -6
  184. package/dist-es/text.css-mistica.js +6 -6
  185. package/dist-es/theme-context.css-mistica.js +1 -1
  186. package/dist-es/timeline.css-mistica.js +9 -9
  187. package/dist-es/timer.css-mistica.js +6 -6
  188. package/dist-es/tooltip.css-mistica.js +1 -1
  189. package/dist-es/touchable.css-mistica.js +1 -1
  190. package/dist-es/utils/aspect-ratio-support.css-mistica.js +2 -2
  191. package/dist-es/video.css-mistica.js +1 -1
  192. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  193. package/doc/llms.md +11 -0
  194. package/package.json +13 -1
  195. package/src/accordion.css.ts +121 -0
  196. package/src/accordion.tsx +366 -0
  197. package/src/align.css.ts +7 -0
  198. package/src/align.tsx +32 -0
  199. package/src/autocomplete.css.ts +62 -0
  200. package/src/autocomplete.tsx +239 -0
  201. package/src/avatar.css.ts +14 -0
  202. package/src/avatar.tsx +120 -0
  203. package/src/badge.css.ts +51 -0
  204. package/src/badge.tsx +79 -0
  205. package/src/box.css.ts +51 -0
  206. package/src/box.tsx +114 -0
  207. package/src/boxed.css.ts +132 -0
  208. package/src/boxed.tsx +153 -0
  209. package/src/button-fixed-footer-layout.tsx +65 -0
  210. package/src/button-group.css.ts +75 -0
  211. package/src/button-group.tsx +91 -0
  212. package/src/button-layout.css.ts +162 -0
  213. package/src/button-layout.tsx +91 -0
  214. package/src/button.css.ts +758 -0
  215. package/src/button.tsx +632 -0
  216. package/src/callout.css.ts +50 -0
  217. package/src/callout.tsx +147 -0
  218. package/src/card-cover.tsx +242 -0
  219. package/src/card-data.tsx +152 -0
  220. package/src/card-internal.css.ts +271 -0
  221. package/src/card-internal.tsx +1724 -0
  222. package/src/card-media.tsx +157 -0
  223. package/src/card-naked.tsx +63 -0
  224. package/src/carousel.css.ts +522 -0
  225. package/src/carousel.tsx +1300 -0
  226. package/src/checkbox.css.ts +94 -0
  227. package/src/checkbox.tsx +192 -0
  228. package/src/chip.css.ts +204 -0
  229. package/src/chip.tsx +191 -0
  230. package/src/circle.css.ts +14 -0
  231. package/src/circle.tsx +52 -0
  232. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-button-and-link-footer-image-false-1-snap.png +0 -0
  233. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-button-and-link-footer-image-true-1-snap.png +0 -0
  234. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-button-footer-image-false-1-snap.png +0 -0
  235. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-button-footer-image-true-1-snap.png +0 -0
  236. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-link-footer-image-false-1-snap.png +0 -0
  237. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-link-footer-image-true-1-snap.png +0 -0
  238. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-none-footer-image-false-1-snap.png +0 -0
  239. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-actions-none-footer-image-true-1-snap.png +0 -0
  240. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-extras-0-1-snap.png +0 -0
  241. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-extras-1-1-snap.png +0 -0
  242. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-extras-3-1-snap.png +0 -0
  243. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-extras-3-no-divider-1-snap.png +0 -0
  244. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-inside-carousel-1-snap.png +0 -0
  245. package/src/community/__screenshot_tests__/__image_snapshots__/advanced-data-card-screenshot-test-tsx-advanced-data-card-without-stacking-group-with-top-actions-and-too-long-title-1-snap.png +0 -0
  246. package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-highlighted-value-block-1-snap.png +0 -0
  247. package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-information-block-1-snap.png +0 -0
  248. package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-progress-block-1-snap.png +0 -0
  249. package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-progress-block-2-snap.png +0 -0
  250. package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-row-block-1-snap.png +0 -0
  251. package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-simple-block-1-snap.png +0 -0
  252. package/src/community/__screenshot_tests__/__image_snapshots__/blocks-screenshot-test-tsx-blocks-value-block-1-snap.png +0 -0
  253. package/src/community/__screenshot_tests__/advanced-data-card-screenshot-test.tsx +84 -0
  254. package/src/community/__screenshot_tests__/blocks-screenshot-test.tsx +72 -0
  255. package/src/community/__stories__/advanced-data-card-carousel-story.tsx +66 -0
  256. package/src/community/__stories__/advanced-data-card-story.tsx +158 -0
  257. package/src/community/__stories__/blocks-story.tsx +272 -0
  258. package/src/community/__stories__/example-component-story.tsx +15 -0
  259. package/src/community/__stories__/index-story.tsx +154 -0
  260. package/src/community/__type_tests__/advanced-data-card-type-test.tsx +40 -0
  261. package/src/community/advanced-data-card.css.ts +271 -0
  262. package/src/community/advanced-data-card.tsx +431 -0
  263. package/src/community/blocks.css.ts +12 -0
  264. package/src/community/blocks.tsx +290 -0
  265. package/src/community/example-component.css.ts +7 -0
  266. package/src/community/example-component.tsx +17 -0
  267. package/src/community/index.tsx +10 -0
  268. package/src/counter.css.ts +150 -0
  269. package/src/counter.tsx +215 -0
  270. package/src/cover-hero-media.tsx +39 -0
  271. package/src/cover-hero.css.ts +133 -0
  272. package/src/cover-hero.tsx +262 -0
  273. package/src/credit-card-expiration-field.tsx +187 -0
  274. package/src/credit-card-fields.tsx +56 -0
  275. package/src/credit-card-number-field.css.ts +47 -0
  276. package/src/credit-card-number-field.tsx +245 -0
  277. package/src/cvv-field.tsx +169 -0
  278. package/src/date-field.css.ts +14 -0
  279. package/src/date-field.tsx +130 -0
  280. package/src/date-time-field.tsx +141 -0
  281. package/src/date-time-picker.css.ts +126 -0
  282. package/src/date-time-picker.tsx +188 -0
  283. package/src/decimal-field.tsx +160 -0
  284. package/src/desktop-container-type-context.tsx +15 -0
  285. package/src/dialog-context.tsx +81 -0
  286. package/src/dialog.css.ts +155 -0
  287. package/src/dialog.tsx +423 -0
  288. package/src/divider.css.ts +10 -0
  289. package/src/divider.tsx +11 -0
  290. package/src/double-field.css.ts +33 -0
  291. package/src/double-field.tsx +71 -0
  292. package/src/drawer.css.ts +123 -0
  293. package/src/drawer.tsx +304 -0
  294. package/src/email-field.tsx +76 -0
  295. package/src/empty-state-card.css.ts +40 -0
  296. package/src/empty-state-card.tsx +92 -0
  297. package/src/empty-state.css.ts +119 -0
  298. package/src/empty-state.tsx +141 -0
  299. package/src/fade-in.css.ts +12 -0
  300. package/src/fade-in.tsx +40 -0
  301. package/src/feedback.css.ts +119 -0
  302. package/src/feedback.tsx +432 -0
  303. package/src/file-upload.css.ts +156 -0
  304. package/src/file-upload.tsx +612 -0
  305. package/src/fixed-footer-layout.css.ts +96 -0
  306. package/src/fixed-footer-layout.tsx +227 -0
  307. package/src/fixed-to-top.tsx +21 -0
  308. package/src/focus-trap.tsx +17 -0
  309. package/src/form-context.tsx +198 -0
  310. package/src/form.css.ts +5 -0
  311. package/src/form.tsx +287 -0
  312. package/src/grid-layout.css.ts +68 -0
  313. package/src/grid-layout.tsx +201 -0
  314. package/src/grid.css.ts +203 -0
  315. package/src/grid.tsx +241 -0
  316. package/src/header.css.ts +30 -0
  317. package/src/header.tsx +319 -0
  318. package/src/hero.css.ts +71 -0
  319. package/src/hero.tsx +318 -0
  320. package/src/hooks.tsx +313 -0
  321. package/src/horizontal-scroll.css.ts +43 -0
  322. package/src/horizontal-scroll.tsx +18 -0
  323. package/src/iban-field.tsx +218 -0
  324. package/src/icon-button.css.ts +561 -0
  325. package/src/icon-button.tsx +221 -0
  326. package/src/icons/__stories__/mistica-icons-story.tsx +192 -0
  327. package/src/icons/icon-amex.tsx +40 -0
  328. package/src/icons/icon-chevron.css.ts +23 -0
  329. package/src/icons/icon-chevron.tsx +150 -0
  330. package/src/icons/icon-cvv-amex.tsx +31 -0
  331. package/src/icons/icon-cvv-visa-mc.tsx +31 -0
  332. package/src/icons/icon-error.css.ts +27 -0
  333. package/src/icons/icon-error.tsx +207 -0
  334. package/src/icons/icon-info.tsx +86 -0
  335. package/src/icons/icon-mastercard.tsx +36 -0
  336. package/src/icons/icon-success-vivo-new.tsx +51 -0
  337. package/src/icons/icon-success-vivo.tsx +36 -0
  338. package/src/icons/icon-success.tsx +211 -0
  339. package/src/icons/icon-visa.tsx +32 -0
  340. package/src/image.css.ts +48 -0
  341. package/src/image.tsx +352 -0
  342. package/src/index.tsx +2466 -0
  343. package/src/inline.css.ts +131 -0
  344. package/src/inline.tsx +135 -0
  345. package/src/integer-field.tsx +93 -0
  346. package/src/list.css.ts +281 -0
  347. package/src/list.tsx +963 -0
  348. package/src/loading-bar.css.ts +69 -0
  349. package/src/loading-bar.tsx +25 -0
  350. package/src/loading-screen.css.ts +114 -0
  351. package/src/loading-screen.tsx +376 -0
  352. package/src/logo-blau-shell.tsx +30 -0
  353. package/src/logo-blau.tsx +60 -0
  354. package/src/logo-common.tsx +29 -0
  355. package/src/logo-esimflag-shell.tsx +30 -0
  356. package/src/logo-esimflag.tsx +56 -0
  357. package/src/logo-movistar-new-shell.tsx +30 -0
  358. package/src/logo-movistar-new.tsx +85 -0
  359. package/src/logo-movistar-shell.tsx +30 -0
  360. package/src/logo-movistar.tsx +63 -0
  361. package/src/logo-o2-new-shell.tsx +26 -0
  362. package/src/logo-o2-new.tsx +27 -0
  363. package/src/logo-o2-shell.tsx +26 -0
  364. package/src/logo-o2.tsx +27 -0
  365. package/src/logo-telefonica-shell.tsx +30 -0
  366. package/src/logo-telefonica.tsx +95 -0
  367. package/src/logo-tu-shell.tsx +26 -0
  368. package/src/logo-tu.tsx +28 -0
  369. package/src/logo-vivo-shell.tsx +30 -0
  370. package/src/logo-vivo.tsx +53 -0
  371. package/src/logo.css.ts +33 -0
  372. package/src/logo.tsx +313 -0
  373. package/src/master-detail-layout.tsx +28 -0
  374. package/src/maybe-dismissable.css.ts +37 -0
  375. package/src/maybe-dismissable.tsx +58 -0
  376. package/src/media-queries.css.ts +67 -0
  377. package/src/menu.css.ts +132 -0
  378. package/src/menu.tsx +468 -0
  379. package/src/meter.tsx +516 -0
  380. package/src/modal-context-provider.tsx +45 -0
  381. package/src/month-field.tsx +124 -0
  382. package/src/mosaic.css.ts +73 -0
  383. package/src/mosaic.tsx +205 -0
  384. package/src/navigation-bar.css.ts +558 -0
  385. package/src/navigation-bar.tsx +1637 -0
  386. package/src/navigation-breadcrumbs.css.ts +22 -0
  387. package/src/navigation-breadcrumbs.tsx +69 -0
  388. package/src/negative-box.tsx +15 -0
  389. package/src/nestable-context.tsx +139 -0
  390. package/src/overlay.tsx +86 -0
  391. package/src/overscroll-color-context.tsx +141 -0
  392. package/src/package-version.tsx +2 -0
  393. package/src/password-field.tsx +126 -0
  394. package/src/phone-number-field-lite.tsx +265 -0
  395. package/src/phone-number-field.tsx +171 -0
  396. package/src/pin-field.css.ts +90 -0
  397. package/src/pin-field.tsx +346 -0
  398. package/src/placeholder.tsx +41 -0
  399. package/src/popover.css.ts +8 -0
  400. package/src/popover.tsx +85 -0
  401. package/src/portal.tsx +43 -0
  402. package/src/progress-bar.css.ts +61 -0
  403. package/src/progress-bar.tsx +174 -0
  404. package/src/radio-button.css.ts +174 -0
  405. package/src/radio-button.tsx +322 -0
  406. package/src/rating.css.ts +128 -0
  407. package/src/rating.tsx +351 -0
  408. package/src/responsive-layout.css.ts +162 -0
  409. package/src/responsive-layout.tsx +106 -0
  410. package/src/screen-reader-only.css.ts +27 -0
  411. package/src/screen-reader-only.tsx +33 -0
  412. package/src/screen-size-context-provider.tsx +96 -0
  413. package/src/screen-size-context.tsx +23 -0
  414. package/src/search-field.tsx +126 -0
  415. package/src/select.css.ts +226 -0
  416. package/src/select.tsx +513 -0
  417. package/src/sheet-action-row.css.ts +33 -0
  418. package/src/sheet-actions-list.tsx +113 -0
  419. package/src/sheet-actions.tsx +95 -0
  420. package/src/sheet-common.css.ts +254 -0
  421. package/src/sheet-common.tsx +402 -0
  422. package/src/sheet-info.css.ts +19 -0
  423. package/src/sheet-info.tsx +127 -0
  424. package/src/sheet-native.tsx +189 -0
  425. package/src/sheet-radio-list.tsx +118 -0
  426. package/src/sheet-root.tsx +127 -0
  427. package/src/sheet-types.tsx +94 -0
  428. package/src/sheet-web.tsx +140 -0
  429. package/src/skeleton-base.tsx +38 -0
  430. package/src/skeletons.css.ts +56 -0
  431. package/src/skeletons.tsx +133 -0
  432. package/src/skins/blau.tsx +724 -0
  433. package/src/skins/constants.tsx +10 -0
  434. package/src/skins/defaults.tsx +104 -0
  435. package/src/skins/esimflag.tsx +728 -0
  436. package/src/skins/movistar-new.tsx +735 -0
  437. package/src/skins/movistar.tsx +740 -0
  438. package/src/skins/o2-new.tsx +731 -0
  439. package/src/skins/o2.tsx +727 -0
  440. package/src/skins/skin-contract.css.ts +380 -0
  441. package/src/skins/telefonica.tsx +768 -0
  442. package/src/skins/tu.tsx +741 -0
  443. package/src/skins/types/colors.tsx +286 -0
  444. package/src/skins/types/index.tsx +153 -0
  445. package/src/skins/utils.tsx +66 -0
  446. package/src/skins/vivo-new.tsx +745 -0
  447. package/src/skins/vivo.tsx +720 -0
  448. package/src/skip-link.css.ts +34 -0
  449. package/src/skip-link.tsx +52 -0
  450. package/src/slider.css.ts +181 -0
  451. package/src/slider.tsx +384 -0
  452. package/src/snackbar-context.tsx +98 -0
  453. package/src/snackbar-native.ts +37 -0
  454. package/src/snackbar.css.ts +176 -0
  455. package/src/snackbar.tsx +258 -0
  456. package/src/spinner.css.ts +66 -0
  457. package/src/spinner.tsx +136 -0
  458. package/src/sprinkles.css.ts +83 -0
  459. package/src/square.css.ts +15 -0
  460. package/src/square.tsx +55 -0
  461. package/src/stack.css.ts +44 -0
  462. package/src/stack.tsx +79 -0
  463. package/src/stacking-group.css.ts +15 -0
  464. package/src/stacking-group.tsx +82 -0
  465. package/src/stepper.css.ts +233 -0
  466. package/src/stepper.tsx +156 -0
  467. package/src/switch-component.css.ts +181 -0
  468. package/src/switch-component.tsx +187 -0
  469. package/src/tab-focus.tsx +68 -0
  470. package/src/table-actions-header.tsx +21 -0
  471. package/src/table-cell-text.tsx +35 -0
  472. package/src/table.css.ts +297 -0
  473. package/src/table.tsx +398 -0
  474. package/src/tabs.css.ts +212 -0
  475. package/src/tabs.tsx +263 -0
  476. package/src/tag.css.ts +42 -0
  477. package/src/tag.tsx +161 -0
  478. package/src/test-utils/environment/setup-ssr.tsx +10 -0
  479. package/src/test-utils/fail-test-on-console-error.tsx +22 -0
  480. package/src/test-utils/index.tsx +341 -0
  481. package/src/test-utils/setup-ssr-test-env.tsx +13 -0
  482. package/src/test-utils/ssr.tsx +197 -0
  483. package/src/text-field-base.css.ts +416 -0
  484. package/src/text-field-base.tsx +628 -0
  485. package/src/text-field-components.css.ts +165 -0
  486. package/src/text-field-components.tsx +230 -0
  487. package/src/text-field.tsx +118 -0
  488. package/src/text-link.css.ts +83 -0
  489. package/src/text-link.tsx +85 -0
  490. package/src/text-tokens.tsx +708 -0
  491. package/src/text.css.ts +60 -0
  492. package/src/text.tsx +516 -0
  493. package/src/theme-context-provider.tsx +370 -0
  494. package/src/theme-context.css.ts +3 -0
  495. package/src/theme-context.tsx +8 -0
  496. package/src/theme-variant-context.tsx +51 -0
  497. package/src/theme.tsx +184 -0
  498. package/src/time-field.tsx +99 -0
  499. package/src/timeline.css.ts +135 -0
  500. package/src/timeline.tsx +250 -0
  501. package/src/timer.css.ts +99 -0
  502. package/src/timer.tsx +420 -0
  503. package/src/title.tsx +119 -0
  504. package/src/tooltip-context-provider.tsx +57 -0
  505. package/src/tooltip.css.ts +106 -0
  506. package/src/tooltip.tsx +649 -0
  507. package/src/touchable.css.ts +56 -0
  508. package/src/touchable.tsx +355 -0
  509. package/src/types/font-face.d.ts +47 -0
  510. package/src/types/libs.d.ts +3 -0
  511. package/src/utils/__tests__/analytics-test.tsx +35 -0
  512. package/src/utils/__tests__/browser-test.tsx +28 -0
  513. package/src/utils/__tests__/dom-test.tsx +23 -0
  514. package/src/utils/__tests__/helpers-test.tsx +166 -0
  515. package/src/utils/analytics.tsx +28 -0
  516. package/src/utils/animation.tsx +201 -0
  517. package/src/utils/aspect-ratio-support.css.ts +28 -0
  518. package/src/utils/aspect-ratio-support.tsx +141 -0
  519. package/src/utils/browser.tsx +9 -0
  520. package/src/utils/color.tsx +46 -0
  521. package/src/utils/common.tsx +27 -0
  522. package/src/utils/credit-card.tsx +46 -0
  523. package/src/utils/css.tsx +25 -0
  524. package/src/utils/document-visibility.tsx +52 -0
  525. package/src/utils/dom.tsx +155 -0
  526. package/src/utils/environment.tsx +6 -0
  527. package/src/utils/headings.tsx +18 -0
  528. package/src/utils/helpers.tsx +182 -0
  529. package/src/utils/keys.tsx +8 -0
  530. package/src/utils/locale.tsx +27 -0
  531. package/src/utils/platform.tsx +94 -0
  532. package/src/utils/region-code.tsx +1 -0
  533. package/src/utils/renders-element.tsx +6 -0
  534. package/src/utils/time.tsx +22 -0
  535. package/src/utils/types.tsx +19 -0
  536. package/src/utils/utility-types.tsx +8 -0
  537. package/src/video.css.ts +11 -0
  538. package/src/video.tsx +355 -0
  539. package/src/vivinho-loading-animation/in-lottie.json +402 -0
  540. package/src/vivinho-loading-animation/index.tsx +90 -0
  541. package/src/vivinho-loading-animation/out-lottie.json +575 -0
  542. package/src/vivinho-loading-animation/pulse-lottie.json +551 -0
  543. package/src/vivinho-loading-animation/vivinho-loading-animation.css.ts +15 -0
  544. package/src/vivinho-loading-animation/wave-lottie.json +2829 -0
@@ -0,0 +1,745 @@
1
+ import {VIVO_NEW_SKIN} from './constants';
2
+ import {applyAlpha} from '../utils/color';
3
+
4
+ import type {GetKnownSkin, KnownSkin} from './types';
5
+
6
+ export const palette = {
7
+ vivoPurple: '#660099',
8
+ vivoPurpleDark: '#461E5F',
9
+ vivoPurpleLight10: '#EFE5F4',
10
+ vivoPurpleLight20: '#E0CCEB',
11
+ vivoPurpleLight50: '#B280CC',
12
+ vivoPurpleLight80: '#8433AD',
13
+ vivoPurpleLight90: '#751AA3',
14
+ vivoGreen: '#99CC33',
15
+ vivoGreenDark: '#225C3D',
16
+ vivoGreenLight10: '#EDF8E8',
17
+ vivoGreen25: '#D6EBAD',
18
+ vivoGreenLight30: '#91AE9E',
19
+ vivoBlue: '#00ABDB',
20
+ orange: '#FF9900',
21
+ orange25: '#FFD699',
22
+ orangeDark: '#972A1D',
23
+ orangeLight10: '#FFEFE1',
24
+ orangeLight40: '#FFB84C',
25
+ pink: '#EB3D7D',
26
+ pepper: '#CC1F59',
27
+ pepperDark: '#B71D63',
28
+ pepperDark80: '#8F2052',
29
+ pepperLight10: '#FCE4EF',
30
+ pepperLight30: '#F7B1CB',
31
+ pepperLight40: '#DB628B',
32
+ grey1: '#F6F6F6',
33
+ grey2: '#EEEEEE',
34
+ grey3: '#DDDDDD',
35
+ grey4: '#8A8C90',
36
+ grey5: '#666666',
37
+ grey6: '#000000',
38
+ white: '#FFFFFF',
39
+ darkModeBlack: '#191919',
40
+ darkModeGrey: '#242424',
41
+ darkModeGrey5: '#6D7D88',
42
+ darkModeGrey6: '#313235',
43
+ };
44
+
45
+ export const getVivoNewSkin: GetKnownSkin = () => {
46
+ const skin: KnownSkin = {
47
+ name: VIVO_NEW_SKIN,
48
+ colors: {
49
+ background: palette.white,
50
+ backgroundAlternative: palette.grey1,
51
+ backgroundBrand: palette.vivoPurple,
52
+ backgroundNegative: palette.vivoPurpleDark,
53
+ backgroundBrandSecondary: palette.vivoPurpleLight80,
54
+ backgroundContainer: palette.white,
55
+ backgroundContainerError: palette.pepperLight10,
56
+ backgroundContainerHover: applyAlpha(palette.darkModeBlack, 0.05),
57
+ backgroundContainerPressed: applyAlpha(palette.darkModeBlack, 0.08),
58
+ backgroundContainerBrand: palette.vivoPurple,
59
+ backgroundContainerBrandHover: applyAlpha(palette.darkModeBlack, 0.2),
60
+ backgroundContainerBrandPressed: applyAlpha(palette.darkModeBlack, 0.4),
61
+ backgroundContainerBrandOverInverse: palette.vivoPurpleDark,
62
+ backgroundContainerNegative: applyAlpha(palette.darkModeBlack, 0.4),
63
+ backgroundContainerBrandOverBrand: palette.vivoPurpleDark,
64
+ backgroundContainerAlternative: palette.grey1,
65
+ backgroundOverlay: applyAlpha(palette.grey6, 0.6),
66
+ backgroundSkeleton: palette.grey3,
67
+ backgroundSkeletonInverse: palette.vivoPurpleDark,
68
+ backgroundSkeletonNegative: applyAlpha(palette.grey6, 0.2),
69
+ backgroundSkeletonBrand: palette.vivoPurpleDark,
70
+ backgroundBrandTop: palette.vivoPurple,
71
+ backgroundBrandBottom: palette.vivoPurple,
72
+ appBarBackground: palette.white,
73
+ navigationBarBackground: palette.vivoPurple,
74
+ backgroundDropZoneHover: applyAlpha(palette.vivoPurple, 0.06),
75
+ backgroundDropZoneDragover: palette.vivoPurpleLight10,
76
+ backgroundDropZoneBrandHover: applyAlpha(palette.vivoPurpleDark, 0.3),
77
+ backgroundDropZoneBrandDragover: applyAlpha(palette.vivoPurpleDark, 0.5),
78
+ backgroundDropZoneNegativeHover: applyAlpha(palette.white, 0.1),
79
+ backgroundDropZoneNegativeDragover: applyAlpha(palette.white, 0.17),
80
+ backgroundDropZoneMediaHover: applyAlpha(palette.vivoPurpleDark, 0.3),
81
+ backgroundDropZoneMediaDragover: applyAlpha(palette.vivoPurpleDark, 0.5),
82
+ skeletonWave: palette.grey2,
83
+ borderLow: palette.grey1,
84
+ border: palette.grey3,
85
+ borderHigh: palette.grey5,
86
+ borderSelected: palette.vivoPurple,
87
+ coverBackgroundHover: applyAlpha(palette.darkModeBlack, 0.25),
88
+ coverBackgroundPressed: applyAlpha(palette.darkModeBlack, 0.35),
89
+ buttonDangerBackground: palette.pepper,
90
+ buttonDangerBackgroundPressed: palette.pepperDark,
91
+ buttonDangerBackgroundHover: palette.pepperDark,
92
+ buttonLinkDangerBackgroundInverse: palette.white,
93
+ buttonLinkDangerBackgroundNegative: palette.white,
94
+ buttonLinkDangerBackgroundBrand: palette.white,
95
+ buttonLinkDangerBackgroundMedia: palette.white,
96
+ buttonLinkDangerBackgroundPressed: palette.pepperLight10,
97
+ buttonLinkDangerBackgroundInversePressed: palette.pepperLight10,
98
+ buttonLinkDangerBackgroundNegativePressed: palette.pepperLight10,
99
+ buttonLinkDangerBackgroundBrandPressed: palette.pepperLight10,
100
+ buttonLinkDangerBackgroundMediaPressed: palette.pepperLight10,
101
+ buttonLinkBackgroundPressed: palette.vivoPurpleLight10,
102
+ buttonLinkBackgroundInversePressed: applyAlpha(palette.white, 0.1),
103
+ buttonLinkBackgroundNegativePressed: applyAlpha(palette.white, 0.1),
104
+ buttonLinkBackgroundBrandPressed: applyAlpha(palette.white, 0.1),
105
+ buttonLinkBackgroundMediaPressed: applyAlpha(palette.white, 0.1),
106
+ buttonPrimaryBackground: palette.vivoPurple,
107
+ buttonPrimaryBackgroundInverse: palette.white,
108
+ buttonPrimaryBackgroundNegative: palette.white,
109
+ buttonPrimaryBackgroundBrand: palette.white,
110
+ buttonPrimaryBackgroundMedia: palette.white,
111
+ buttonPrimaryBackgroundHover: palette.vivoPurpleDark,
112
+ buttonPrimaryBackgroundInverseHover: palette.vivoPurpleLight10,
113
+ buttonPrimaryBackgroundNegativeHover: palette.vivoPurpleLight10,
114
+ buttonPrimaryBackgroundBrandHover: palette.vivoPurpleLight10,
115
+ buttonPrimaryBackgroundMediaHover: palette.vivoPurpleLight10,
116
+ buttonPrimaryBackgroundPressed: palette.vivoPurpleDark,
117
+ buttonPrimaryBackgroundInversePressed: palette.vivoPurpleLight20,
118
+ buttonPrimaryBackgroundNegativePressed: palette.vivoPurpleLight20,
119
+ buttonPrimaryBackgroundBrandPressed: palette.vivoPurpleLight20,
120
+ buttonPrimaryBackgroundMediaPressed: palette.vivoPurpleLight20,
121
+ buttonSecondaryBackgroundBrand: applyAlpha(palette.white, 0),
122
+ buttonSecondaryBorder: palette.vivoPurple,
123
+ buttonSecondaryBorderInverse: palette.white,
124
+ buttonSecondaryBorderNegative: palette.white,
125
+ buttonSecondaryBorderBrand: palette.white,
126
+ buttonSecondaryBorderMedia: palette.white,
127
+ buttonSecondaryBorderPressed: palette.vivoPurpleDark,
128
+ buttonSecondaryBorderInversePressed: palette.white,
129
+ buttonSecondaryBorderNegativePressed: palette.white,
130
+ buttonSecondaryBorderBrandPressed: palette.white,
131
+ buttonSecondaryBorderMediaPressed: palette.white,
132
+ buttonSecondaryBackgroundHover: palette.vivoPurpleLight10,
133
+ buttonSecondaryBackgroundInverseHover: applyAlpha(palette.white, 0.15),
134
+ buttonSecondaryBackgroundNegativeHover: applyAlpha(palette.white, 0.15),
135
+ buttonSecondaryBackgroundBrandHover: applyAlpha(palette.white, 0.15),
136
+ buttonSecondaryBackgroundMediaHover: applyAlpha(palette.white, 0.15),
137
+ buttonSecondaryBackgroundPressed: palette.vivoPurpleLight10,
138
+ buttonSecondaryBackgroundInversePressed: applyAlpha(palette.white, 0.15),
139
+ buttonSecondaryBackgroundNegativePressed: applyAlpha(palette.white, 0.15),
140
+ buttonSecondaryBackgroundBrandPressed: applyAlpha(palette.white, 0.15),
141
+ buttonSecondaryBackgroundMediaPressed: applyAlpha(palette.white, 0.15),
142
+ textButtonPrimary: palette.white,
143
+ textButtonPrimaryInverse: palette.vivoPurple,
144
+ textButtonPrimaryNegative: palette.vivoPurple,
145
+ textButtonPrimaryBrand: palette.vivoPurple,
146
+ textButtonPrimaryMedia: palette.vivoPurple,
147
+ textButtonPrimaryInversePressed: palette.vivoPurple,
148
+ textButtonPrimaryNegativePressed: palette.vivoPurple,
149
+ textButtonPrimaryBrandPressed: palette.vivoPurple,
150
+ textButtonPrimaryMediaPressed: palette.vivoPurple,
151
+ textButtonSecondary: palette.vivoPurple,
152
+ textButtonSecondaryInverse: palette.white,
153
+ textButtonSecondaryNegative: palette.white,
154
+ textButtonSecondaryBrand: palette.white,
155
+ textButtonSecondaryMedia: palette.white,
156
+ textButtonSecondaryPressed: palette.vivoPurpleDark,
157
+ textButtonSecondaryInversePressed: palette.white,
158
+ textButtonSecondaryNegativePressed: palette.white,
159
+ textButtonSecondaryBrandPressed: palette.white,
160
+ textButtonSecondaryMediaPressed: palette.white,
161
+ textLink: palette.vivoPurple,
162
+ textLinkInverse: palette.white,
163
+ textLinkNegative: palette.white,
164
+ textLinkBrand: palette.white,
165
+ textLinkMedia: palette.white,
166
+ textLinkDanger: palette.pepper,
167
+ textLinkDangerMedia: palette.pepper,
168
+ textLinkSnackbar: palette.vivoPurpleLight20,
169
+ textActivated: palette.vivoPurple,
170
+ textBrand: palette.vivoPurple,
171
+ inputBorder: palette.grey4,
172
+ inputBorderInverse: palette.white,
173
+ inputBorderNegative: palette.white,
174
+ inputBorderBrand: palette.white,
175
+ completedStep: palette.vivoPurple,
176
+ completedStepInverse: palette.vivoPurpleDark,
177
+ completedStepNegative: palette.vivoPurpleDark,
178
+ completedStepBrand: palette.vivoPurpleDark,
179
+ control: palette.grey4,
180
+ controlActivated: palette.vivoPurple,
181
+ controlInverse: palette.vivoPurpleLight50,
182
+ controlNegative: palette.vivoPurpleLight50,
183
+ controlBrand: palette.vivoPurpleLight50,
184
+ controlActivatedInverse: palette.white,
185
+ controlActivatedNegative: palette.white,
186
+ controlActivatedBrand: palette.white,
187
+ controlError: palette.pepper,
188
+ chevronIndicator: palette.grey5,
189
+ barTrack: palette.grey3,
190
+ barTrackInverse: applyAlpha(palette.white, 0.5),
191
+ barTrackNegative: applyAlpha(palette.white, 0.5),
192
+ barTrackBrand: applyAlpha(palette.white, 0.5),
193
+ loadingBar: palette.vivoPurple,
194
+ loadingBarBackground: palette.vivoPurpleLight10,
195
+ toggleAndroidInactive: palette.grey2,
196
+ toggleAndroidBackgroundActive: palette.vivoPurpleLight20,
197
+ toggleAndroidActiveBrand: palette.white,
198
+ toggleAndroidInactiveBrand: palette.grey2,
199
+ toggleAndroidBackgroundActiveBrand: palette.vivoPurpleLight20,
200
+ toggleAndroidBackgroundInactiveBrand: palette.vivoPurpleLight50,
201
+ iosControlKnob: palette.white,
202
+ controlKnobInverse: palette.vivoPurple,
203
+ controlKnobNegative: palette.vivoPurple,
204
+ controlKnobBrand: palette.vivoPurple,
205
+ divider: palette.grey3,
206
+ dividerInverse: applyAlpha(palette.white, 0.2),
207
+ dividerNegative: applyAlpha(palette.white, 0.2),
208
+ dividerBrand: applyAlpha(palette.white, 0.2),
209
+ navigationBarDivider: palette.vivoPurple,
210
+ badge: palette.pepperDark,
211
+ feedbackErrorBackground: palette.pepper,
212
+ feedbackInfoBackground: palette.vivoPurpleDark,
213
+ brand: palette.vivoPurple,
214
+ brandHigh: palette.vivoPurpleDark,
215
+ inverse: palette.white,
216
+ negative: palette.white,
217
+ neutralHigh: palette.grey6,
218
+ neutralHighNegative: palette.white,
219
+ neutralHighBrand: palette.white,
220
+ neutralMedium: palette.grey5,
221
+ neutralMediumInverse: palette.grey5,
222
+ neutralMediumNegative: palette.grey5,
223
+ neutralMediumBrand: palette.grey5,
224
+ neutralLow: palette.grey1,
225
+ neutralLowAlternative: palette.grey2,
226
+ textPrimary: palette.grey6,
227
+ textPrimaryInverse: palette.white,
228
+ textPrimaryNegative: palette.white,
229
+ textPrimaryBrand: palette.white,
230
+ textPrimaryMedia: palette.white,
231
+ textSecondary: palette.grey5,
232
+ textSecondaryInverse: palette.vivoPurpleLight20,
233
+ textSecondaryNegative: palette.vivoPurpleLight20,
234
+ textSecondaryBrand: palette.vivoPurpleLight20,
235
+ textSecondaryMedia: palette.white,
236
+ success: palette.vivoGreen,
237
+ warning: palette.orange,
238
+ error: palette.pepper,
239
+ textError: palette.pepper,
240
+ textErrorInverse: palette.white,
241
+ textErrorNegative: palette.white,
242
+ textErrorBrand: palette.white,
243
+ promo: palette.vivoPurple,
244
+ highlight: palette.pink,
245
+ successLow: palette.vivoGreenLight10,
246
+ warningLow: palette.orangeLight10,
247
+ errorLow: palette.pepperLight10,
248
+ promoLow: palette.vivoPurpleLight10,
249
+ brandLow: palette.vivoPurpleLight10,
250
+ successHigh: palette.vivoGreenDark,
251
+ warningHigh: palette.orangeDark,
252
+ errorHigh: palette.pepperDark80,
253
+ promoHigh: palette.vivoPurple,
254
+ successHighInverse: palette.vivoGreenDark,
255
+ successHighNegative: palette.vivoGreenDark,
256
+ successHighBrand: palette.vivoGreenDark,
257
+ warningHighInverse: palette.orangeDark,
258
+ warningHighNegative: palette.orangeDark,
259
+ warningHighBrand: palette.orangeDark,
260
+ errorHighInverse: palette.pepperDark80,
261
+ errorHighNegative: palette.pepperDark80,
262
+ errorHighBrand: palette.pepperDark80,
263
+ promoHighInverse: palette.vivoPurple,
264
+ promoHighNegative: palette.vivoPurple,
265
+ promoHighBrand: palette.vivoPurple,
266
+ textNavigationBarPrimary: palette.white,
267
+ textNavigationBarSecondary: palette.vivoPurpleLight50,
268
+ textNavigationSearchBarHint: palette.vivoPurpleLight50,
269
+ textNavigationSearchBarText: palette.white,
270
+ textAppBar: palette.grey5,
271
+ textAppBarSelected: palette.vivoPurple,
272
+ iosGlassAppBar: palette.grey6,
273
+ iosGlassAppBarSelected: palette.vivoPurple,
274
+ customTabsBackground: palette.white,
275
+ tagTextPromo: palette.vivoPurple,
276
+ tagTextActive: palette.vivoPurple,
277
+ tagTextInactive: palette.grey5,
278
+ tagTextInfo: palette.vivoPurple,
279
+ tagTextSuccess: palette.vivoGreenDark,
280
+ tagTextWarning: palette.orangeDark,
281
+ tagTextError: palette.pepperDark80,
282
+ tagBackgroundPromo: palette.vivoPurpleLight10,
283
+ tagBackgroundActive: palette.grey1,
284
+ tagBackgroundInactive: palette.grey1,
285
+ tagBackgroundInfo: palette.vivoPurpleLight10,
286
+ tagBackgroundSuccess: palette.vivoGreenLight10,
287
+ tagBackgroundWarning: palette.orangeLight10,
288
+ tagBackgroundError: palette.pepperLight10,
289
+ tagTextPromoInverse: palette.vivoPurple,
290
+ tagTextPromoNegative: palette.vivoPurple,
291
+ tagTextPromoBrand: palette.vivoPurple,
292
+ tagTextActiveInverse: palette.vivoPurple,
293
+ tagTextActiveNegative: palette.vivoPurple,
294
+ tagTextActiveBrand: palette.vivoPurple,
295
+ tagTextInactiveInverse: palette.grey5,
296
+ tagTextInactiveNegative: palette.grey5,
297
+ tagTextInactiveBrand: palette.grey5,
298
+ tagTextInfoInverse: palette.vivoPurple,
299
+ tagTextInfoNegative: palette.vivoPurple,
300
+ tagTextInfoBrand: palette.vivoPurple,
301
+ tagTextSuccessInverse: palette.vivoGreenDark,
302
+ tagTextSuccessNegative: palette.vivoGreenDark,
303
+ tagTextSuccessBrand: palette.vivoGreenDark,
304
+ tagTextWarningInverse: palette.orangeDark,
305
+ tagTextWarningNegative: palette.orangeDark,
306
+ tagTextWarningBrand: palette.orangeDark,
307
+ tagTextErrorInverse: palette.pepperDark80,
308
+ tagTextErrorNegative: palette.pepperDark80,
309
+ tagTextErrorBrand: palette.pepperDark80,
310
+ tagBackgroundPromoInverse: palette.vivoPurpleLight10,
311
+ tagBackgroundPromoNegative: palette.vivoPurpleLight10,
312
+ tagBackgroundPromoBrand: palette.vivoPurpleLight10,
313
+ tagBackgroundActiveInverse: palette.vivoPurpleLight10,
314
+ tagBackgroundActiveNegative: palette.vivoPurpleLight10,
315
+ tagBackgroundActiveBrand: palette.vivoPurpleLight10,
316
+ tagBackgroundInactiveInverse: palette.grey1,
317
+ tagBackgroundInactiveNegative: palette.grey1,
318
+ tagBackgroundInactiveBrand: palette.grey1,
319
+ tagBackgroundInfoInverse: palette.vivoPurpleLight10,
320
+ tagBackgroundInfoNegative: palette.vivoPurpleLight10,
321
+ tagBackgroundInfoBrand: palette.vivoPurpleLight10,
322
+ tagBackgroundSuccessInverse: palette.vivoGreenLight10,
323
+ tagBackgroundSuccessNegative: palette.vivoGreenLight10,
324
+ tagBackgroundSuccessBrand: palette.vivoGreenLight10,
325
+ tagBackgroundWarningInverse: palette.orangeLight10,
326
+ tagBackgroundWarningNegative: palette.orangeLight10,
327
+ tagBackgroundWarningBrand: palette.orangeLight10,
328
+ tagBackgroundErrorInverse: palette.pepperLight10,
329
+ tagBackgroundErrorNegative: palette.pepperLight10,
330
+ tagBackgroundErrorBrand: palette.pepperLight10,
331
+ cardContentOverlay: `linear-gradient(180deg, ${applyAlpha(palette.grey6, 0)} 0%, ${applyAlpha(palette.grey6, 0.4)} 30%, ${applyAlpha(palette.grey6, 0.7)} 100%)`,
332
+ cardFooterOverlay: applyAlpha(palette.grey6, 0.7),
333
+ },
334
+ darkModeColors: {
335
+ background: palette.darkModeBlack,
336
+ backgroundAlternative: palette.darkModeBlack,
337
+ backgroundBrand: palette.darkModeBlack,
338
+ backgroundNegative: palette.darkModeBlack,
339
+ backgroundBrandSecondary: palette.darkModeBlack,
340
+ backgroundContainer: palette.darkModeGrey,
341
+ backgroundContainerError: palette.darkModeGrey,
342
+ backgroundContainerHover: applyAlpha(palette.white, 0.05),
343
+ backgroundContainerPressed: applyAlpha(palette.white, 0.08),
344
+ backgroundContainerBrand: palette.darkModeGrey,
345
+ backgroundContainerBrandHover: applyAlpha(palette.white, 0.03),
346
+ backgroundContainerBrandPressed: applyAlpha(palette.white, 0.05),
347
+ backgroundContainerBrandOverInverse: palette.darkModeGrey,
348
+ backgroundContainerNegative: palette.darkModeGrey,
349
+ backgroundContainerBrandOverBrand: palette.darkModeGrey,
350
+ backgroundContainerAlternative: palette.darkModeGrey,
351
+ backgroundOverlay: applyAlpha(palette.darkModeGrey, 0.8),
352
+ backgroundSkeleton: palette.darkModeGrey6,
353
+ backgroundSkeletonInverse: palette.darkModeGrey6,
354
+ backgroundSkeletonNegative: palette.darkModeGrey6,
355
+ backgroundSkeletonBrand: palette.darkModeGrey6,
356
+ backgroundBrandTop: palette.darkModeBlack,
357
+ backgroundBrandBottom: palette.darkModeBlack,
358
+ appBarBackground: palette.darkModeGrey,
359
+ navigationBarBackground: palette.darkModeBlack,
360
+ backgroundDropZoneHover: applyAlpha(palette.white, 0.05),
361
+ backgroundDropZoneDragover: applyAlpha(palette.white, 0.08),
362
+ backgroundDropZoneBrandHover: applyAlpha(palette.white, 0.03),
363
+ backgroundDropZoneBrandDragover: applyAlpha(palette.white, 0.05),
364
+ backgroundDropZoneNegativeHover: applyAlpha(palette.white, 0.03),
365
+ backgroundDropZoneNegativeDragover: applyAlpha(palette.white, 0.05),
366
+ backgroundDropZoneMediaHover: applyAlpha(palette.white, 0.03),
367
+ backgroundDropZoneMediaDragover: applyAlpha(palette.white, 0.05),
368
+ skeletonWave: palette.grey5,
369
+ borderLow: palette.darkModeBlack,
370
+ border: palette.darkModeGrey,
371
+ borderHigh: palette.grey5,
372
+ borderSelected: palette.vivoPurple,
373
+ coverBackgroundHover: applyAlpha(palette.darkModeBlack, 0.25),
374
+ coverBackgroundPressed: applyAlpha(palette.darkModeBlack, 0.35),
375
+ buttonDangerBackground: palette.pepper,
376
+ buttonDangerBackgroundPressed: palette.pepperDark,
377
+ buttonDangerBackgroundHover: palette.pepperDark,
378
+ buttonLinkDangerBackgroundInverse: applyAlpha(palette.white, 0),
379
+ buttonLinkDangerBackgroundNegative: applyAlpha(palette.white, 0),
380
+ buttonLinkDangerBackgroundBrand: applyAlpha(palette.white, 0),
381
+ buttonLinkDangerBackgroundMedia: palette.white,
382
+ buttonLinkDangerBackgroundPressed: applyAlpha(palette.white, 0.08),
383
+ buttonLinkDangerBackgroundInversePressed: applyAlpha(palette.white, 0.08),
384
+ buttonLinkDangerBackgroundNegativePressed: applyAlpha(palette.white, 0.08),
385
+ buttonLinkDangerBackgroundBrandPressed: applyAlpha(palette.white, 0.08),
386
+ buttonLinkDangerBackgroundMediaPressed: palette.pepperLight10,
387
+ buttonLinkBackgroundPressed: applyAlpha(palette.white, 0.08),
388
+ buttonLinkBackgroundInversePressed: applyAlpha(palette.white, 0.08),
389
+ buttonLinkBackgroundNegativePressed: applyAlpha(palette.white, 0.08),
390
+ buttonLinkBackgroundBrandPressed: applyAlpha(palette.white, 0.08),
391
+ buttonLinkBackgroundMediaPressed: applyAlpha(palette.white, 0.1),
392
+ buttonPrimaryBackground: palette.vivoPurpleLight80,
393
+ buttonPrimaryBackgroundInverse: palette.vivoPurpleLight80,
394
+ buttonPrimaryBackgroundNegative: palette.vivoPurpleLight80,
395
+ buttonPrimaryBackgroundBrand: palette.vivoPurpleLight80,
396
+ buttonPrimaryBackgroundMedia: palette.white,
397
+ buttonPrimaryBackgroundHover: palette.vivoPurpleDark,
398
+ buttonPrimaryBackgroundInverseHover: palette.vivoPurpleDark,
399
+ buttonPrimaryBackgroundNegativeHover: palette.vivoPurpleDark,
400
+ buttonPrimaryBackgroundBrandHover: palette.vivoPurpleDark,
401
+ buttonPrimaryBackgroundMediaHover: palette.vivoPurpleLight10,
402
+ buttonPrimaryBackgroundPressed: palette.vivoPurpleDark,
403
+ buttonPrimaryBackgroundInversePressed: palette.vivoPurpleDark,
404
+ buttonPrimaryBackgroundNegativePressed: palette.vivoPurpleDark,
405
+ buttonPrimaryBackgroundBrandPressed: palette.vivoPurpleDark,
406
+ buttonPrimaryBackgroundMediaPressed: palette.vivoPurpleLight20,
407
+ buttonSecondaryBackgroundBrand: applyAlpha(palette.white, 0),
408
+ buttonSecondaryBorder: palette.white,
409
+ buttonSecondaryBorderInverse: palette.white,
410
+ buttonSecondaryBorderNegative: palette.white,
411
+ buttonSecondaryBorderBrand: palette.white,
412
+ buttonSecondaryBorderMedia: palette.white,
413
+ buttonSecondaryBorderPressed: palette.white,
414
+ buttonSecondaryBorderInversePressed: palette.white,
415
+ buttonSecondaryBorderNegativePressed: palette.white,
416
+ buttonSecondaryBorderBrandPressed: palette.white,
417
+ buttonSecondaryBorderMediaPressed: palette.white,
418
+ buttonSecondaryBackgroundHover: applyAlpha(palette.white, 0.15),
419
+ buttonSecondaryBackgroundInverseHover: applyAlpha(palette.white, 0.15),
420
+ buttonSecondaryBackgroundNegativeHover: applyAlpha(palette.white, 0.15),
421
+ buttonSecondaryBackgroundBrandHover: applyAlpha(palette.white, 0.15),
422
+ buttonSecondaryBackgroundMediaHover: applyAlpha(palette.white, 0.15),
423
+ buttonSecondaryBackgroundPressed: applyAlpha(palette.white, 0.15),
424
+ buttonSecondaryBackgroundInversePressed: applyAlpha(palette.white, 0.15),
425
+ buttonSecondaryBackgroundNegativePressed: applyAlpha(palette.white, 0.15),
426
+ buttonSecondaryBackgroundBrandPressed: applyAlpha(palette.white, 0.15),
427
+ buttonSecondaryBackgroundMediaPressed: applyAlpha(palette.white, 0.15),
428
+ textButtonPrimary: palette.grey2,
429
+ textButtonPrimaryInverse: palette.grey2,
430
+ textButtonPrimaryNegative: palette.grey2,
431
+ textButtonPrimaryBrand: palette.grey2,
432
+ textButtonPrimaryMedia: palette.vivoPurple,
433
+ textButtonPrimaryInversePressed: palette.grey2,
434
+ textButtonPrimaryNegativePressed: palette.grey2,
435
+ textButtonPrimaryBrandPressed: palette.grey2,
436
+ textButtonPrimaryMediaPressed: palette.vivoPurple,
437
+ textButtonSecondary: palette.grey2,
438
+ textButtonSecondaryInverse: palette.grey2,
439
+ textButtonSecondaryNegative: palette.grey2,
440
+ textButtonSecondaryBrand: palette.grey2,
441
+ textButtonSecondaryMedia: palette.white,
442
+ textButtonSecondaryPressed: palette.grey2,
443
+ textButtonSecondaryInversePressed: palette.grey2,
444
+ textButtonSecondaryNegativePressed: palette.grey2,
445
+ textButtonSecondaryBrandPressed: palette.grey2,
446
+ textButtonSecondaryMediaPressed: palette.white,
447
+ textLink: palette.vivoPurpleLight50,
448
+ textLinkInverse: palette.vivoPurpleLight50,
449
+ textLinkNegative: palette.vivoPurpleLight50,
450
+ textLinkBrand: palette.vivoPurpleLight50,
451
+ textLinkMedia: palette.white,
452
+ textLinkDanger: palette.pepper,
453
+ textLinkDangerMedia: palette.pepper,
454
+ textLinkSnackbar: palette.vivoPurpleLight50,
455
+ textActivated: palette.vivoPurpleLight80,
456
+ textBrand: palette.vivoPurpleLight80,
457
+ inputBorder: palette.darkModeGrey5,
458
+ inputBorderInverse: palette.darkModeGrey5,
459
+ inputBorderNegative: palette.darkModeGrey5,
460
+ inputBorderBrand: palette.darkModeGrey5,
461
+ completedStep: palette.vivoPurpleLight80,
462
+ completedStepInverse: palette.vivoPurpleLight80,
463
+ completedStepNegative: palette.vivoPurpleLight80,
464
+ completedStepBrand: palette.vivoPurpleLight80,
465
+ control: palette.darkModeGrey6,
466
+ controlActivated: palette.vivoPurpleLight80,
467
+ controlInverse: palette.darkModeGrey6,
468
+ controlNegative: palette.darkModeGrey6,
469
+ controlBrand: palette.darkModeGrey6,
470
+ controlActivatedInverse: palette.vivoPurpleLight80,
471
+ controlActivatedNegative: palette.vivoPurpleLight80,
472
+ controlActivatedBrand: palette.vivoPurpleLight80,
473
+ controlError: palette.pepper,
474
+ chevronIndicator: palette.grey5,
475
+ barTrack: palette.darkModeGrey6,
476
+ barTrackInverse: palette.darkModeGrey6,
477
+ barTrackNegative: palette.darkModeGrey6,
478
+ barTrackBrand: palette.darkModeGrey6,
479
+ loadingBar: palette.vivoPurpleLight80,
480
+ loadingBarBackground: palette.darkModeGrey6,
481
+ toggleAndroidInactive: palette.grey4,
482
+ toggleAndroidBackgroundActive: palette.vivoPurpleLight50,
483
+ toggleAndroidActiveBrand: palette.vivoPurpleLight80,
484
+ toggleAndroidInactiveBrand: palette.grey4,
485
+ toggleAndroidBackgroundActiveBrand: palette.vivoPurpleLight50,
486
+ toggleAndroidBackgroundInactiveBrand: palette.darkModeGrey6,
487
+ iosControlKnob: palette.grey2,
488
+ controlKnobInverse: palette.grey2,
489
+ controlKnobNegative: palette.grey2,
490
+ controlKnobBrand: palette.grey2,
491
+ divider: applyAlpha(palette.white, 0.05),
492
+ dividerInverse: applyAlpha(palette.white, 0.05),
493
+ dividerNegative: applyAlpha(palette.white, 0.05),
494
+ dividerBrand: applyAlpha(palette.white, 0.05),
495
+ navigationBarDivider: palette.darkModeBlack,
496
+ badge: palette.pepperDark,
497
+ feedbackErrorBackground: palette.pepper,
498
+ feedbackInfoBackground: palette.grey6,
499
+ brand: palette.vivoPurpleLight80,
500
+ brandHigh: applyAlpha(palette.white, 0.05),
501
+ inverse: palette.grey2,
502
+ negative: palette.grey2,
503
+ neutralHigh: palette.grey2,
504
+ neutralHighBrand: palette.grey2,
505
+ neutralHighNegative: palette.grey2,
506
+ neutralMedium: palette.grey5,
507
+ neutralMediumInverse: palette.grey5,
508
+ neutralMediumNegative: palette.grey5,
509
+ neutralMediumBrand: palette.grey5,
510
+ neutralLow: palette.darkModeGrey6,
511
+ neutralLowAlternative: palette.darkModeGrey6,
512
+ textPrimary: palette.grey2,
513
+ textPrimaryInverse: palette.grey2,
514
+ textPrimaryNegative: palette.grey2,
515
+ textPrimaryBrand: palette.grey2,
516
+ textPrimaryMedia: palette.white,
517
+ textSecondary: palette.grey3,
518
+ textSecondaryInverse: palette.grey3,
519
+ textSecondaryNegative: palette.grey3,
520
+ textSecondaryBrand: palette.grey3,
521
+ textSecondaryMedia: palette.white,
522
+ success: palette.vivoGreen,
523
+ warning: palette.orange,
524
+ error: palette.pepper,
525
+ textError: palette.pepper,
526
+ textErrorInverse: palette.pepper,
527
+ textErrorNegative: palette.pepper,
528
+ textErrorBrand: palette.pepper,
529
+ promo: palette.vivoPurpleLight80,
530
+ highlight: palette.pink,
531
+ successLow: palette.darkModeGrey6,
532
+ warningLow: palette.darkModeGrey6,
533
+ errorLow: palette.darkModeGrey6,
534
+ promoLow: palette.darkModeGrey6,
535
+ brandLow: palette.darkModeGrey6,
536
+ successHigh: palette.vivoGreenLight30,
537
+ warningHigh: palette.orangeLight40,
538
+ errorHigh: palette.pepperLight40,
539
+ promoHigh: palette.vivoPurpleLight50,
540
+ successHighInverse: palette.vivoGreenDark,
541
+ successHighNegative: palette.vivoGreenDark,
542
+ successHighBrand: palette.vivoGreenDark,
543
+ warningHighInverse: palette.orangeDark,
544
+ warningHighNegative: palette.orangeDark,
545
+ warningHighBrand: palette.orangeDark,
546
+ errorHighInverse: palette.pepperDark80,
547
+ errorHighNegative: palette.pepperDark80,
548
+ errorHighBrand: palette.pepperDark80,
549
+ promoHighInverse: palette.vivoPurple,
550
+ promoHighNegative: palette.vivoPurple,
551
+ promoHighBrand: palette.vivoPurple,
552
+ textNavigationBarPrimary: palette.grey2,
553
+ textNavigationBarSecondary: palette.grey4,
554
+ textNavigationSearchBarHint: palette.grey4,
555
+ textNavigationSearchBarText: palette.grey2,
556
+ textAppBar: palette.grey5,
557
+ textAppBarSelected: palette.grey2,
558
+ iosGlassAppBar: palette.white,
559
+ iosGlassAppBarSelected: palette.vivoPurpleLight20,
560
+ customTabsBackground: palette.darkModeBlack,
561
+ tagTextPromo: palette.vivoPurpleLight50,
562
+ tagTextActive: palette.vivoPurpleLight80,
563
+ tagTextInactive: palette.grey5,
564
+ tagTextInfo: palette.vivoPurpleLight80,
565
+ tagTextSuccess: palette.vivoGreenLight30,
566
+ tagTextWarning: palette.orangeLight40,
567
+ tagTextError: palette.pepperLight40,
568
+ tagBackgroundPromo: palette.darkModeGrey6,
569
+ tagBackgroundActive: palette.darkModeGrey6,
570
+ tagBackgroundInactive: palette.darkModeGrey6,
571
+ tagBackgroundInfo: palette.darkModeGrey6,
572
+ tagBackgroundSuccess: palette.darkModeGrey6,
573
+ tagBackgroundWarning: palette.darkModeGrey6,
574
+ tagBackgroundError: palette.darkModeGrey6,
575
+ tagTextPromoInverse: palette.vivoPurpleLight50,
576
+ tagTextPromoNegative: palette.vivoPurpleLight50,
577
+ tagTextPromoBrand: palette.vivoPurpleLight50,
578
+ tagTextActiveInverse: palette.vivoPurpleLight80,
579
+ tagTextActiveNegative: palette.vivoPurpleLight80,
580
+ tagTextActiveBrand: palette.vivoPurpleLight80,
581
+ tagTextInactiveInverse: palette.grey5,
582
+ tagTextInactiveNegative: palette.grey5,
583
+ tagTextInactiveBrand: palette.grey5,
584
+ tagTextInfoInverse: palette.vivoPurpleLight80,
585
+ tagTextInfoNegative: palette.vivoPurpleLight80,
586
+ tagTextInfoBrand: palette.vivoPurpleLight80,
587
+ tagTextSuccessInverse: palette.vivoGreenLight30,
588
+ tagTextSuccessNegative: palette.vivoGreenLight30,
589
+ tagTextSuccessBrand: palette.vivoGreenLight30,
590
+ tagTextWarningInverse: palette.orangeLight40,
591
+ tagTextWarningNegative: palette.orangeLight40,
592
+ tagTextWarningBrand: palette.orangeLight40,
593
+ tagTextErrorInverse: palette.pepperLight40,
594
+ tagTextErrorNegative: palette.pepperLight40,
595
+ tagTextErrorBrand: palette.pepperLight40,
596
+ tagBackgroundPromoInverse: palette.darkModeGrey6,
597
+ tagBackgroundPromoNegative: palette.darkModeGrey6,
598
+ tagBackgroundPromoBrand: palette.darkModeGrey6,
599
+ tagBackgroundActiveInverse: palette.darkModeGrey6,
600
+ tagBackgroundActiveNegative: palette.darkModeGrey6,
601
+ tagBackgroundActiveBrand: palette.darkModeGrey6,
602
+ tagBackgroundInactiveInverse: palette.darkModeGrey6,
603
+ tagBackgroundInactiveNegative: palette.darkModeGrey6,
604
+ tagBackgroundInactiveBrand: palette.darkModeGrey6,
605
+ tagBackgroundInfoInverse: palette.darkModeGrey6,
606
+ tagBackgroundInfoNegative: palette.darkModeGrey6,
607
+ tagBackgroundInfoBrand: palette.darkModeGrey6,
608
+ tagBackgroundSuccessInverse: palette.darkModeGrey6,
609
+ tagBackgroundSuccessNegative: palette.darkModeGrey6,
610
+ tagBackgroundSuccessBrand: palette.darkModeGrey6,
611
+ tagBackgroundWarningInverse: palette.darkModeGrey6,
612
+ tagBackgroundWarningNegative: palette.darkModeGrey6,
613
+ tagBackgroundWarningBrand: palette.darkModeGrey6,
614
+ tagBackgroundErrorInverse: palette.darkModeGrey6,
615
+ tagBackgroundErrorNegative: palette.darkModeGrey6,
616
+ tagBackgroundErrorBrand: palette.darkModeGrey6,
617
+ cardContentOverlay: `linear-gradient(180deg, ${applyAlpha(palette.grey6, 0)} 0%, ${applyAlpha(palette.grey6, 0.4)} 30%, ${applyAlpha(palette.grey6, 0.7)} 100%)`,
618
+ cardFooterOverlay: applyAlpha(palette.grey6, 0.7),
619
+ },
620
+ borderRadii: {
621
+ avatar: '50%',
622
+ bar: '999px',
623
+ button: '32px',
624
+ checkbox: '4px',
625
+ container: '24px',
626
+ indicator: '24px',
627
+ chip: '24px',
628
+ tag: '10px',
629
+ input: '16px',
630
+ legacyDisplay: '24px',
631
+ popup: '16px',
632
+ sheet: '24px',
633
+ mediaSmall: '12px',
634
+ },
635
+ textPresets: {
636
+ button: {weight: 'medium'},
637
+ cardDescriptionDefault: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
638
+ cardDescriptionSnap: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
639
+ cardPretitleDefault: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
640
+ cardPretitleSnap: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
641
+ cardSubtitleDefault: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
642
+ cardSubtitleSnap: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
643
+ cardTitle: {weight: 'medium'},
644
+ cardTitleDefault: {lineHeight: {desktop: 28, mobile: 24}, size: {desktop: 24, mobile: 18}},
645
+ cardTitleSnap: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
646
+ chipLabel: {
647
+ lineHeight: {desktop: 24, mobile: 20},
648
+ size: {desktop: 16, mobile: 14},
649
+ weight: 'medium',
650
+ },
651
+ drawerTitle: {
652
+ lineHeight: {desktop: 32, mobile: 24},
653
+ size: {desktop: 28, mobile: 20},
654
+ weight: 'medium',
655
+ },
656
+ indicator: {weight: 'medium'},
657
+ inputHelperText: {lineHeight: {desktop: 20, mobile: 16}, size: {desktop: 14, mobile: 12}},
658
+ inputLabel: {lineHeight: {desktop: 20, mobile: 16}, size: {desktop: 14, mobile: 12}},
659
+ inputValue: {lineHeight: {desktop: 24, mobile: 24}, size: {desktop: 18, mobile: 16}},
660
+ link: {weight: 'medium'},
661
+ loadingScreenTitle: {lineHeight: {desktop: 28, mobile: 24}, size: {desktop: 24, mobile: 18}},
662
+ navigationBar: {weight: 'regular'},
663
+ rowTitle: {weight: 'regular'},
664
+ stepperStepLabel: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
665
+ tabsLabel: {
666
+ lineHeight: {desktop: 24, mobile: 24},
667
+ size: {desktop: 18, mobile: 18},
668
+ weight: 'medium',
669
+ },
670
+ text1: {lineHeight: {desktop: 20, mobile: 16}, size: {desktop: 14, mobile: 12}},
671
+ text2: {lineHeight: {desktop: 24, mobile: 20}, size: {desktop: 16, mobile: 14}},
672
+ text3: {lineHeight: {desktop: 24, mobile: 24}, size: {desktop: 18, mobile: 16}},
673
+ text4: {lineHeight: {desktop: 28, mobile: 24}, size: {desktop: 24, mobile: 18}},
674
+ text5: {lineHeight: {desktop: 32, mobile: 24}, size: {desktop: 28, mobile: 20}, weight: 'medium'},
675
+ text6: {lineHeight: {desktop: 40, mobile: 32}, size: {desktop: 32, mobile: 24}, weight: 'medium'},
676
+ text7: {lineHeight: {desktop: 48, mobile: 32}, size: {desktop: 40, mobile: 28}, weight: 'medium'},
677
+ text8: {
678
+ lineHeight: {desktop: 56, mobile: 40},
679
+ size: {desktop: 48, mobile: 32},
680
+ weight: 'regular',
681
+ },
682
+ text9: {
683
+ lineHeight: {desktop: 64, mobile: 48},
684
+ size: {desktop: 56, mobile: 40},
685
+ weight: 'regular',
686
+ },
687
+ text10: {
688
+ lineHeight: {desktop: 72, mobile: 56},
689
+ size: {desktop: 64, mobile: 48},
690
+ weight: 'regular',
691
+ },
692
+ title1: {
693
+ lineHeight: {desktop: 20, mobile: 16},
694
+ size: {desktop: 14, mobile: 12},
695
+ weight: 'medium',
696
+ },
697
+ title2: {
698
+ lineHeight: {desktop: 24, mobile: 24},
699
+ size: {desktop: 18, mobile: 16},
700
+ weight: 'medium',
701
+ },
702
+ title3: {
703
+ lineHeight: {desktop: 28, mobile: 24},
704
+ size: {desktop: 24, mobile: 18},
705
+ weight: 'medium',
706
+ },
707
+ title4: {
708
+ lineHeight: {desktop: 40, mobile: 32},
709
+ size: {desktop: 32, mobile: 24},
710
+ weight: 'medium',
711
+ },
712
+ },
713
+ themeVariants: {
714
+ successFeedback: 'inverse',
715
+ brandLoadingScreen: 'inverse',
716
+ },
717
+ spacing: {
718
+ buttonDefaultPadding: {left: {mobile: 16, desktop: 16}, right: {mobile: 16, desktop: 16}},
719
+ buttonSmallPadding: {left: {mobile: 12, desktop: 12}, right: {mobile: 12, desktop: 12}},
720
+ cardDefaultPadding: {
721
+ top: {mobile: 16, desktop: 24},
722
+ bottom: {mobile: 16, desktop: 24},
723
+ left: {mobile: 16, desktop: 24},
724
+ right: {mobile: 16, desktop: 24},
725
+ },
726
+ inputPadding: {top: {mobile: 8, desktop: 8}, bottom: {mobile: 8, desktop: 8}},
727
+ tagPadding: {top: {mobile: 4, desktop: 4}, bottom: {mobile: 4, desktop: 4}},
728
+ feedbackScreenPadding: {
729
+ top: {mobile: 64, desktop: 64},
730
+ bottom: {mobile: 16, desktop: 64},
731
+ left: {mobile: 16, desktop: 64},
732
+ right: {mobile: 16, desktop: 64},
733
+ },
734
+ heroPadding: {top: {mobile: 24, desktop: 56}, bottom: {mobile: 24, desktop: 56}},
735
+ headerPadding: {top: {mobile: 24, desktop: 48}, bottom: {mobile: 24, desktop: 48}},
736
+ drawerPadding: {
737
+ top: {mobile: 32, desktop: 40},
738
+ bottom: {mobile: 16, desktop: 24},
739
+ left: {mobile: 16, desktop: 40},
740
+ right: {mobile: 16, desktop: 40},
741
+ },
742
+ },
743
+ };
744
+ return skin;
745
+ };