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