@telefonica/mistica 17.2.0 → 17.4.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 (347) hide show
  1. package/css/blau.css +30 -16
  2. package/css/community/cyber.css +1491 -0
  3. package/css/esimflag.css +41 -18
  4. package/css/mistica-common.css +6 -0
  5. package/css/mistica.css +1 -1
  6. package/css/movistar.css +35 -18
  7. package/css/o2.css +32 -18
  8. package/css/telefonica.css +44 -18
  9. package/css/vivo-evolution.css +72 -20
  10. package/css/vivo.css +32 -18
  11. package/dist/accordion.css-mistica.js +10 -10
  12. package/dist/align.css-mistica.js +1 -1
  13. package/dist/autocomplete.css-mistica.js +4 -4
  14. package/dist/avatar.css-mistica.js +1 -1
  15. package/dist/badge.css-mistica.js +1 -1
  16. package/dist/box.css-mistica.js +13 -13
  17. package/dist/boxed.css-mistica.js +24 -24
  18. package/dist/boxed.d.ts +9 -0
  19. package/dist/boxed.js +18 -15
  20. package/dist/button-group.css-mistica.js +1 -1
  21. package/dist/button-layout.css-mistica.js +19 -19
  22. package/dist/button.css-mistica.js +50 -50
  23. package/dist/callout.css-mistica.js +13 -13
  24. package/dist/card-internal.css-mistica.js +22 -22
  25. package/dist/carousel.css-mistica.js +30 -30
  26. package/dist/checkbox.css-mistica.js +15 -15
  27. package/dist/chip.css-mistica.js +18 -18
  28. package/dist/circle.css-mistica.js +2 -2
  29. package/dist/community/advanced-data-card.css-mistica.js +19 -19
  30. package/dist/community/ai-card.css-mistica.js +9 -9
  31. package/dist/community/blocks.css-mistica.js +3 -3
  32. package/dist/community/cyber/example-component.css-mistica.js +1 -1
  33. package/dist/community/example-component.css-mistica.js +1 -1
  34. package/dist/community/skins/cyber-skin.d.ts +5 -0
  35. package/dist/community/skins/cyber-skin.js +289 -256
  36. package/dist/counter.css-mistica.js +6 -6
  37. package/dist/cover-hero.css-mistica.js +7 -7
  38. package/dist/credit-card-number-field.css-mistica.js +3 -3
  39. package/dist/date-field.css-mistica.js +1 -1
  40. package/dist/date-time-picker.css-mistica.js +1 -1
  41. package/dist/dialog.css-mistica.js +10 -10
  42. package/dist/divider.css-mistica.js +5 -5
  43. package/dist/double-field.css-mistica.js +2 -2
  44. package/dist/drawer.css-mistica.js +4 -4
  45. package/dist/empty-state-card.css-mistica.js +1 -1
  46. package/dist/empty-state.css-mistica.js +8 -8
  47. package/dist/fade-in.css-mistica.js +1 -1
  48. package/dist/feedback.css-mistica.js +5 -5
  49. package/dist/file-upload.css-mistica.js +10 -10
  50. package/dist/fixed-footer-layout.css-mistica.js +6 -6
  51. package/dist/form.css-mistica.js +1 -1
  52. package/dist/generated/mistica-icons/icon-panel-collapse-regular.js +165 -0
  53. package/dist/generated/mistica-icons/icon-panel-expand-regular.js +159 -0
  54. package/dist/grid-layout.css-mistica.js +3 -3
  55. package/dist/grid.css-mistica.js +120 -120
  56. package/dist/header.css-mistica.js +1 -1
  57. package/dist/hero.css-mistica.js +4 -4
  58. package/dist/horizontal-scroll.css-mistica.js +1 -1
  59. package/dist/icon-button.css-mistica.js +53 -53
  60. package/dist/icons/icon-chevron.css-mistica.js +2 -2
  61. package/dist/icons/icon-error.css-mistica.js +1 -1
  62. package/dist/image.css-mistica.js +8 -8
  63. package/dist/index.d.ts +5 -0
  64. package/dist/index.js +10 -1
  65. package/dist/inline.css-mistica.js +11 -11
  66. package/dist/list.css-mistica.js +40 -28
  67. package/dist/list.css.d.ts +2 -0
  68. package/dist/list.d.ts +3 -1
  69. package/dist/list.js +176 -165
  70. package/dist/loading-bar.css-mistica.js +1 -1
  71. package/dist/loading-screen.css-mistica.js +12 -12
  72. package/dist/logo-movistar.js +1 -1
  73. package/dist/logo.css-mistica.js +5 -5
  74. package/dist/menu.css-mistica.js +13 -13
  75. package/dist/mobile-navigation-menu.d.ts +26 -0
  76. package/dist/mobile-navigation-menu.js +145 -0
  77. package/dist/mosaic.css-mistica.js +1 -1
  78. package/dist/navigation-bar.css-mistica.js +31 -97
  79. package/dist/navigation-bar.css.d.ts +0 -24
  80. package/dist/navigation-bar.d.ts +3 -38
  81. package/dist/navigation-bar.js +399 -586
  82. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  83. package/dist/navigation-shared.css-mistica.js +79 -0
  84. package/dist/navigation-shared.css.d.ts +26 -0
  85. package/dist/navigation-shared.d.ts +66 -0
  86. package/dist/navigation-shared.js +264 -0
  87. package/dist/package-version.js +1 -1
  88. package/dist/pagination.css-mistica.js +22 -22
  89. package/dist/pin-field.css-mistica.js +4 -4
  90. package/dist/popover.css-mistica.js +1 -1
  91. package/dist/portal.d.ts +1 -1
  92. package/dist/progress-bar.css-mistica.js +7 -7
  93. package/dist/radio-button.css-mistica.js +27 -27
  94. package/dist/rating.css-mistica.js +4 -4
  95. package/dist/responsive-layout.css-mistica.js +6 -6
  96. package/dist/screen-reader-only.css-mistica.js +1 -1
  97. package/dist/select.css-mistica.js +21 -21
  98. package/dist/sheet-action-row.css-mistica.js +1 -1
  99. package/dist/sheet-common.css-mistica.js +7 -7
  100. package/dist/sheet-info.css-mistica.js +1 -1
  101. package/dist/sidenav-bar-context.d.ts +25 -0
  102. package/dist/sidenav-bar-context.js +72 -0
  103. package/dist/sidenav-bar-data.d.ts +15 -0
  104. package/dist/sidenav-bar-data.js +38 -0
  105. package/dist/sidenav-bar-first-level-item.d.ts +42 -0
  106. package/dist/sidenav-bar-first-level-item.js +174 -0
  107. package/dist/sidenav-bar-keyboard.d.ts +13 -0
  108. package/dist/sidenav-bar-keyboard.js +314 -0
  109. package/dist/sidenav-bar-layout.css-mistica.js +28 -0
  110. package/dist/sidenav-bar-layout.css.d.ts +5 -0
  111. package/dist/sidenav-bar-layout.d.ts +22 -0
  112. package/dist/sidenav-bar-layout.js +103 -0
  113. package/dist/sidenav-bar-mobile.d.ts +24 -0
  114. package/dist/sidenav-bar-mobile.js +332 -0
  115. package/dist/sidenav-bar-motion.d.ts +32 -0
  116. package/dist/sidenav-bar-motion.js +84 -0
  117. package/dist/sidenav-bar-panel.d.ts +31 -0
  118. package/dist/sidenav-bar-panel.js +208 -0
  119. package/dist/sidenav-bar-row.d.ts +82 -0
  120. package/dist/sidenav-bar-row.js +230 -0
  121. package/dist/sidenav-bar-second-level-item.d.ts +43 -0
  122. package/dist/sidenav-bar-second-level-item.js +89 -0
  123. package/dist/sidenav-bar-section.d.ts +23 -0
  124. package/dist/sidenav-bar-section.js +167 -0
  125. package/dist/sidenav-bar-types.d.ts +192 -0
  126. package/dist/sidenav-bar-types.js +11 -0
  127. package/dist/sidenav-bar.css-mistica.js +325 -0
  128. package/dist/sidenav-bar.css.d.ts +93 -0
  129. package/dist/sidenav-bar.d.ts +102 -0
  130. package/dist/sidenav-bar.js +492 -0
  131. package/dist/skeletons.css-mistica.js +8 -8
  132. package/dist/skins/blau.d.ts +5 -0
  133. package/dist/skins/blau.js +12 -8
  134. package/dist/skins/esimflag.d.ts +5 -0
  135. package/dist/skins/esimflag.js +13 -9
  136. package/dist/skins/movistar.d.ts +5 -0
  137. package/dist/skins/movistar.js +13 -9
  138. package/dist/skins/o2.d.ts +5 -0
  139. package/dist/skins/o2.js +13 -9
  140. package/dist/skins/skin-contract.css-mistica.js +735 -731
  141. package/dist/skins/skin-contract.css.d.ts +16 -12
  142. package/dist/skins/telefonica.d.ts +5 -0
  143. package/dist/skins/telefonica.js +13 -9
  144. package/dist/skins/types/colors.d.ts +13 -6
  145. package/dist/skins/vivo-evolution.d.ts +5 -0
  146. package/dist/skins/vivo-evolution.js +14 -10
  147. package/dist/skins/vivo.d.ts +5 -0
  148. package/dist/skins/vivo.js +13 -9
  149. package/dist/skip-link.css-mistica.js +2 -2
  150. package/dist/slider.css-mistica.js +24 -24
  151. package/dist/snackbar.css-mistica.js +14 -14
  152. package/dist/spinner.css-mistica.js +1 -1
  153. package/dist/square.css-mistica.js +1 -1
  154. package/dist/stack.css-mistica.js +5 -5
  155. package/dist/stacking-group.css-mistica.js +1 -1
  156. package/dist/stepper.css-mistica.js +9 -9
  157. package/dist/switch-component.css-mistica.js +48 -42
  158. package/dist/switch-component.css.d.ts +2 -0
  159. package/dist/switch-component.js +18 -18
  160. package/dist/table.css-mistica.js +9 -9
  161. package/dist/tabs.css-mistica.js +22 -22
  162. package/dist/tag.css-mistica.js +3 -3
  163. package/dist/text-field-base.css-mistica.js +19 -19
  164. package/dist/text-field-components.css-mistica.js +10 -10
  165. package/dist/text-link.css-mistica.js +6 -6
  166. package/dist/text-tokens.d.ts +6 -0
  167. package/dist/text-tokens.js +157 -133
  168. package/dist/text.css-mistica.js +6 -6
  169. package/dist/timeline.css-mistica.js +11 -11
  170. package/dist/timer.css-mistica.js +6 -6
  171. package/dist/tooltip.css-mistica.js +2 -2
  172. package/dist/touchable.css-mistica.js +4 -4
  173. package/dist/utils/aspect-ratio-support.css-mistica.js +2 -2
  174. package/dist/video.css-mistica.js +1 -1
  175. package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  176. package/dist-es/accordion.css-mistica.js +7 -7
  177. package/dist-es/align.css-mistica.js +1 -1
  178. package/dist-es/autocomplete.css-mistica.js +2 -2
  179. package/dist-es/avatar.css-mistica.js +1 -1
  180. package/dist-es/badge.css-mistica.js +1 -1
  181. package/dist-es/box.css-mistica.js +13 -13
  182. package/dist-es/boxed.css-mistica.js +23 -23
  183. package/dist-es/boxed.js +25 -25
  184. package/dist-es/button-group.css-mistica.js +1 -1
  185. package/dist-es/button-layout.css-mistica.js +16 -16
  186. package/dist-es/button.css-mistica.js +38 -38
  187. package/dist-es/callout.css-mistica.js +12 -12
  188. package/dist-es/card-internal.css-mistica.js +17 -17
  189. package/dist-es/carousel.css-mistica.js +10 -10
  190. package/dist-es/checkbox.css-mistica.js +13 -13
  191. package/dist-es/chip.css-mistica.js +17 -17
  192. package/dist-es/circle.css-mistica.js +2 -2
  193. package/dist-es/community/advanced-data-card.css-mistica.js +7 -7
  194. package/dist-es/community/ai-card.css-mistica.js +3 -3
  195. package/dist-es/community/blocks.css-mistica.js +2 -2
  196. package/dist-es/community/cyber/example-component.css-mistica.js +1 -1
  197. package/dist-es/community/example-component.css-mistica.js +1 -1
  198. package/dist-es/community/skins/cyber-skin.js +289 -256
  199. package/dist-es/counter.css-mistica.js +2 -2
  200. package/dist-es/cover-hero.css-mistica.js +4 -4
  201. package/dist-es/credit-card-number-field.css-mistica.js +3 -3
  202. package/dist-es/date-field.css-mistica.js +1 -1
  203. package/dist-es/date-time-picker.css-mistica.js +1 -1
  204. package/dist-es/dialog.css-mistica.js +5 -5
  205. package/dist-es/divider.css-mistica.js +5 -5
  206. package/dist-es/double-field.css-mistica.js +2 -2
  207. package/dist-es/drawer.css-mistica.js +2 -2
  208. package/dist-es/empty-state-card.css-mistica.js +1 -1
  209. package/dist-es/empty-state.css-mistica.js +7 -7
  210. package/dist-es/fade-in.css-mistica.js +1 -1
  211. package/dist-es/feedback.css-mistica.js +2 -2
  212. package/dist-es/file-upload.css-mistica.js +8 -8
  213. package/dist-es/fixed-footer-layout.css-mistica.js +3 -3
  214. package/dist-es/form.css-mistica.js +1 -1
  215. package/dist-es/generated/mistica-icons/icon-panel-collapse-regular.js +115 -0
  216. package/dist-es/generated/mistica-icons/icon-panel-expand-regular.js +109 -0
  217. package/dist-es/grid-layout.css-mistica.js +3 -3
  218. package/dist-es/grid.css-mistica.js +120 -120
  219. package/dist-es/header.css-mistica.js +1 -1
  220. package/dist-es/hero.css-mistica.js +3 -3
  221. package/dist-es/horizontal-scroll.css-mistica.js +1 -1
  222. package/dist-es/icon-button.css-mistica.js +53 -53
  223. package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
  224. package/dist-es/icons/icon-error.css-mistica.js +1 -1
  225. package/dist-es/image.css-mistica.js +4 -4
  226. package/dist-es/index.js +2279 -2276
  227. package/dist-es/inline.css-mistica.js +11 -11
  228. package/dist-es/list.css-mistica.js +8 -2
  229. package/dist-es/list.js +275 -264
  230. package/dist-es/loading-bar.css-mistica.js +1 -1
  231. package/dist-es/loading-screen.css-mistica.js +5 -5
  232. package/dist-es/logo-movistar.js +1 -1
  233. package/dist-es/logo.css-mistica.js +5 -5
  234. package/dist-es/menu.css-mistica.js +13 -13
  235. package/dist-es/mobile-navigation-menu.js +90 -0
  236. package/dist-es/mosaic.css-mistica.js +1 -1
  237. package/dist-es/navigation-bar.css-mistica.js +11 -20
  238. package/dist-es/navigation-bar.js +469 -656
  239. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  240. package/dist-es/navigation-shared.css-mistica.js +11 -0
  241. package/dist-es/navigation-shared.js +192 -0
  242. package/dist-es/package-version.js +1 -1
  243. package/dist-es/pagination.css-mistica.js +19 -19
  244. package/dist-es/pin-field.css-mistica.js +2 -2
  245. package/dist-es/popover.css-mistica.js +1 -1
  246. package/dist-es/progress-bar.css-mistica.js +7 -7
  247. package/dist-es/radio-button.css-mistica.js +22 -22
  248. package/dist-es/rating.css-mistica.js +3 -3
  249. package/dist-es/responsive-layout.css-mistica.js +6 -6
  250. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  251. package/dist-es/select.css-mistica.js +18 -18
  252. package/dist-es/sheet-action-row.css-mistica.js +1 -1
  253. package/dist-es/sheet-common.css-mistica.js +2 -2
  254. package/dist-es/sheet-info.css-mistica.js +1 -1
  255. package/dist-es/sidenav-bar-context.js +14 -0
  256. package/dist-es/sidenav-bar-data.js +12 -0
  257. package/dist-es/sidenav-bar-first-level-item.js +124 -0
  258. package/dist-es/sidenav-bar-keyboard.js +253 -0
  259. package/dist-es/sidenav-bar-layout.css-mistica.js +2 -0
  260. package/dist-es/sidenav-bar-layout.js +86 -0
  261. package/dist-es/sidenav-bar-mobile.js +277 -0
  262. package/dist-es/sidenav-bar-motion.js +26 -0
  263. package/dist-es/sidenav-bar-panel.js +146 -0
  264. package/dist-es/sidenav-bar-row.js +208 -0
  265. package/dist-es/sidenav-bar-second-level-item.js +72 -0
  266. package/dist-es/sidenav-bar-section.js +112 -0
  267. package/dist-es/sidenav-bar-types.js +2 -0
  268. package/dist-es/sidenav-bar.css-mistica.js +74 -0
  269. package/dist-es/sidenav-bar.js +429 -0
  270. package/dist-es/skeletons.css-mistica.js +7 -7
  271. package/dist-es/skins/blau.js +12 -8
  272. package/dist-es/skins/esimflag.js +13 -9
  273. package/dist-es/skins/movistar.js +13 -9
  274. package/dist-es/skins/o2.js +13 -9
  275. package/dist-es/skins/skin-contract.css-mistica.js +735 -731
  276. package/dist-es/skins/telefonica.js +13 -9
  277. package/dist-es/skins/vivo-evolution.js +14 -10
  278. package/dist-es/skins/vivo.js +13 -9
  279. package/dist-es/skip-link.css-mistica.js +2 -2
  280. package/dist-es/slider.css-mistica.js +20 -20
  281. package/dist-es/snackbar.css-mistica.js +5 -5
  282. package/dist-es/spinner.css-mistica.js +1 -1
  283. package/dist-es/square.css-mistica.js +1 -1
  284. package/dist-es/stack.css-mistica.js +5 -5
  285. package/dist-es/stacking-group.css-mistica.js +1 -1
  286. package/dist-es/stepper.css-mistica.js +3 -3
  287. package/dist-es/style.css +1 -1
  288. package/dist-es/switch-component.css-mistica.js +37 -37
  289. package/dist-es/switch-component.js +26 -26
  290. package/dist-es/table.css-mistica.js +9 -9
  291. package/dist-es/tabs.css-mistica.js +19 -19
  292. package/dist-es/tag.css-mistica.js +2 -2
  293. package/dist-es/text-field-base.css-mistica.js +17 -17
  294. package/dist-es/text-field-components.css-mistica.js +4 -4
  295. package/dist-es/text-link.css-mistica.js +6 -6
  296. package/dist-es/text-tokens.js +82 -67
  297. package/dist-es/text.css-mistica.js +6 -6
  298. package/dist-es/timeline.css-mistica.js +10 -10
  299. package/dist-es/timer.css-mistica.js +6 -6
  300. package/dist-es/tooltip.css-mistica.js +2 -2
  301. package/dist-es/touchable.css-mistica.js +2 -2
  302. package/dist-es/utils/aspect-ratio-support.css-mistica.js +2 -2
  303. package/dist-es/video.css-mistica.js +1 -1
  304. package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
  305. package/package.json +3 -2
  306. package/src/boxed.css.ts +1 -0
  307. package/src/boxed.tsx +18 -5
  308. package/src/callout.css.ts +4 -2
  309. package/src/community/skins/cyber-skin.tsx +127 -439
  310. package/src/index.tsx +14 -0
  311. package/src/list.css.ts +36 -1
  312. package/src/list.tsx +370 -344
  313. package/src/logo-movistar.tsx +1 -1
  314. package/src/mobile-navigation-menu.tsx +168 -0
  315. package/src/navigation-bar.css.ts +2 -267
  316. package/src/navigation-bar.tsx +77 -370
  317. package/src/navigation-shared.css.ts +289 -0
  318. package/src/navigation-shared.tsx +262 -0
  319. package/src/package-version.tsx +1 -1
  320. package/src/portal.tsx +1 -1
  321. package/src/sidenav-bar-context.tsx +41 -0
  322. package/src/sidenav-bar-data.ts +49 -0
  323. package/src/sidenav-bar-first-level-item.tsx +203 -0
  324. package/src/sidenav-bar-keyboard.tsx +393 -0
  325. package/src/sidenav-bar-layout.css.ts +89 -0
  326. package/src/sidenav-bar-layout.tsx +61 -0
  327. package/src/sidenav-bar-mobile.tsx +302 -0
  328. package/src/sidenav-bar-motion.tsx +70 -0
  329. package/src/sidenav-bar-panel.tsx +269 -0
  330. package/src/sidenav-bar-row.tsx +272 -0
  331. package/src/sidenav-bar-second-level-item.tsx +99 -0
  332. package/src/sidenav-bar-section.tsx +98 -0
  333. package/src/sidenav-bar-types.ts +224 -0
  334. package/src/sidenav-bar.css.ts +1018 -0
  335. package/src/sidenav-bar.tsx +821 -0
  336. package/src/skins/blau.tsx +18 -8
  337. package/src/skins/esimflag.tsx +19 -9
  338. package/src/skins/movistar.tsx +19 -9
  339. package/src/skins/o2.tsx +19 -9
  340. package/src/skins/skin-contract.css.ts +2 -0
  341. package/src/skins/telefonica.tsx +19 -9
  342. package/src/skins/types/colors.tsx +14 -6
  343. package/src/skins/vivo-evolution.tsx +20 -10
  344. package/src/skins/vivo.tsx +19 -9
  345. package/src/switch-component.css.ts +20 -0
  346. package/src/switch-component.tsx +9 -1
  347. package/src/text-tokens.tsx +24 -0
@@ -0,0 +1,429 @@
1
+ 'use client';
2
+ function _define_property(obj, key, value) {
3
+ if (key in obj) {
4
+ Object.defineProperty(obj, key, {
5
+ value: value,
6
+ enumerable: true,
7
+ configurable: true,
8
+ writable: true
9
+ });
10
+ } else {
11
+ obj[key] = value;
12
+ }
13
+ return obj;
14
+ }
15
+ function _object_spread(target) {
16
+ for(var i = 1; i < arguments.length; i++){
17
+ var source = arguments[i] != null ? arguments[i] : {};
18
+ var ownKeys = Object.keys(source);
19
+ if (typeof Object.getOwnPropertySymbols === "function") {
20
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
21
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
22
+ }));
23
+ }
24
+ ownKeys.forEach(function(key) {
25
+ _define_property(target, key, source[key]);
26
+ });
27
+ }
28
+ return target;
29
+ }
30
+ function ownKeys(object, enumerableOnly) {
31
+ var keys = Object.keys(object);
32
+ if (Object.getOwnPropertySymbols) {
33
+ var symbols = Object.getOwnPropertySymbols(object);
34
+ if (enumerableOnly) {
35
+ symbols = symbols.filter(function(sym) {
36
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
37
+ });
38
+ }
39
+ keys.push.apply(keys, symbols);
40
+ }
41
+ return keys;
42
+ }
43
+ function _object_spread_props(target, source) {
44
+ source = source != null ? source : {};
45
+ if (Object.getOwnPropertyDescriptors) {
46
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
47
+ } else {
48
+ ownKeys(Object(source)).forEach(function(key) {
49
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
50
+ });
51
+ }
52
+ return target;
53
+ }
54
+ import { jsx as n, jsxs as g, Fragment as me } from "react/jsx-runtime";
55
+ import * as t from "react";
56
+ import l from "classnames";
57
+ import { CSSTransition as Ue } from "react-transition-group";
58
+ import { COLLAPSE_DURATION_MS as G, logo as je, logoCollapsed as Ke, logoDefault as $e, headerControls as qe, headerControlsCollapsed as Ge, headerSlot as Ze, headerSlotCollapsed as Je, headerBase as Qe, regionBackground as B, headerNegativeBoxedBackground as Xe, scrollSpacerDivider as fe, scrollDividerVariant as Z, headerScrollSpacer as Ye, bodyContent as en, scrollDivider as nn, footerScrollDivider as on, footerBase as pe, footerCollapsed as he, footerScrollSpacer as tn, bodyBase as rn, bodyWithFixedFooter as sn, footerFixed as an, mainColumn as ln, columnSeparator as dn, doublePanelTransitionClasses as cn, container as un, columnsWhileMoving as vn, boxedBorder as mn, boxed as fn, withRightDivider as pn, DEFAULT_WIDTH as hn, LOGO_SIZE as Sn, standaloneItem as gn, CONTENT_DURATION_MS as En, COLLAPSED_WIDTH as bn, contentDurationVar as Dn, collapseDurationVar as xn, sidenavPanelWidthVar as Cn, sidenavWidthVar as Bn } from "./sidenav-bar.css-mistica.js";
59
+ import { normalizeVariant as Se, useThemeVariant as Ln, ThemeVariant as Nn } from "./theme-variant-context.js";
60
+ import { getPrefixedDataAttributes as On } from "./utils/dom.js";
61
+ import { applyCssVars as Tn } from "./utils/css.js";
62
+ import { useScreenSize as wn, useTheme as Pn } from "./hooks.js";
63
+ import { IconButton as Rn } from "./icon-button.js";
64
+ import { Logo as yn } from "./logo.js";
65
+ import In from "./generated/mistica-icons/icon-panel-expand-regular.js";
66
+ import kn from "./generated/mistica-icons/icon-panel-collapse-regular.js";
67
+ import { SidenavFirstLevelItem as Vn } from "./sidenav-bar-first-level-item.js";
68
+ import { renderSidenavSecondLevelItem as Mn } from "./sidenav-bar-second-level-item.js";
69
+ import { SidenavSection as Fn } from "./sidenav-bar-section.js";
70
+ import { SidenavDoublePanel as An } from "./sidenav-bar-panel.js";
71
+ import { SidenavBarMobile as Wn } from "./sidenav-bar-mobile.js";
72
+ import { useIsMotionOff as _n } from "./sidenav-bar-motion.js";
73
+ import { useSidenavRailKeyboard as zn } from "./sidenav-bar-keyboard.js";
74
+ import { SidenavBarContext as Hn } from "./sidenav-bar-context.js";
75
+ import { shouldShowBoxedBorder as Un } from "./boxed.js";
76
+ import { getFirstLevelItems as J, renderSidenavLogo as jn, renderSidenavSlot as ge, isSidenavSection as Ee, getSidenavSectionTitle as Kn } from "./sidenav-bar-data.js";
77
+ import { sidenavLandmark as $n, sidenavExpand as qn, sidenavCollapse as Gn } from "./text-tokens.js";
78
+ import { isSidenavMoving as Zn } from "./sidenav-bar-types.js";
79
+ const be = function(e) {
80
+ let { standalone: r } = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
81
+ return /* @__PURE__ */ n(Vn, {
82
+ id: e.id,
83
+ label: e.label,
84
+ asset: e.asset,
85
+ showAssetWhenExpanded: e.showAssetWhenExpanded,
86
+ rightSlot: e.rightSlot,
87
+ standalone: r,
88
+ defaultOpen: e.defaultOpen,
89
+ secondLevelItems: e.children,
90
+ href: e.href,
91
+ to: e.to,
92
+ onPress: e.onPress,
93
+ newTab: e.newTab,
94
+ onNavigate: e.onNavigate
95
+ }, e.id);
96
+ }, De = (e, r)=>J(e).find((a)=>{
97
+ var _a_children;
98
+ return (_a_children = a.children) === null || _a_children === void 0 ? void 0 : _a_children.some((d)=>d.id === r);
99
+ }), xe = (e, r)=>J(e).find((a)=>a.id === r), Jn = (e)=>{
100
+ const r = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set(), d = (u, p)=>{
101
+ var _u_children, _u_children1;
102
+ r.has(u.id) ? a.add(u.id) : r.add(u.id), p > 0 && ((_u_children = u.children) === null || _u_children === void 0 ? void 0 : _u_children.length) && console.error(`SidenavItem "${u.label}" at level ${p} cannot have children. SidenavItem supports maximum 2 levels of nesting. Only level 0 items can have children.`), (_u_children1 = u.children) === null || _u_children1 === void 0 ? void 0 : _u_children1.forEach((E)=>d(E, p + 1));
103
+ };
104
+ J(e).forEach((u)=>d(u, 0)), a.size > 0 && console.error(`SidenavBar: duplicate item IDs found: ${Array.from(a).join(", ")}. All SidenavItem ids must be unique within a SidenavBar.`);
105
+ }, Qn = (e)=>e.map((r, a)=>{
106
+ if (Ee(r)) {
107
+ const d = e[a - 1], u = !!r.dividerTop && !!d && Ee(d) && !!d.dividerBottom, p = a === 0, E = a === e.length - 1;
108
+ return /* @__PURE__ */ n("div", {
109
+ role: "listitem",
110
+ children: /* @__PURE__ */ n(Fn, {
111
+ title: r.title,
112
+ dividerTop: r.dividerTop && !p && !u,
113
+ dividerBottom: r.dividerBottom && !E,
114
+ children: r.items.map((V)=>be(V))
115
+ })
116
+ }, `${Kn(r.title).text}-${a}`);
117
+ }
118
+ return /* @__PURE__ */ n("div", {
119
+ className: gn,
120
+ role: "listitem",
121
+ children: be(r, {
122
+ standalone: !0
123
+ })
124
+ }, r.id);
125
+ }), Co = (param)=>{
126
+ let { entries: e, "aria-label": r, variant: a = "default", boxed: d = !1, divider: u = !0, showCollapseButton: p = !0, collapsed: E, defaultCollapsed: V = !1, onCollapse: M, doublePanel: c = !1, width: Q = hn, logo: O, headerSlot: X, footerSlot: b, fixedFooter: T = !1, background: F, selectedItemId: v, onSelectedItemIdChange: A, dataAttributes: Y } = param;
127
+ const { isTabletOrSmaller: Ce } = wn(), { componentProperties: Be, texts: W, t: _ } = Pn(), ee = r !== null && r !== void 0 ? r : W.sidenavLandmark || _($n), h = _n(), Le = Se(Ln()), [D, f] = t.useState(()=>{
128
+ var _De;
129
+ var _De_id;
130
+ return c && e && v ? (_De_id = (_De = De(e, v)) === null || _De === void 0 ? void 0 : _De.id) !== null && _De_id !== void 0 ? _De_id : null : null;
131
+ }), z = E !== void 0, [Ne, Oe] = t.useState(V), s = z ? !!E : Ne, L = t.useRef(null), ne = t.useRef(null), [x, Te] = t.useState(null), [oe, te] = t.useState(s);
132
+ t.useEffect(()=>{
133
+ if (h) {
134
+ te(s);
135
+ return;
136
+ }
137
+ const o = setTimeout(()=>te(s), G);
138
+ return ()=>clearTimeout(o);
139
+ }, [
140
+ s,
141
+ h
142
+ ]);
143
+ const w = s ? oe ? "collapsed" : "collapsing" : oe ? "expanding" : "expanded", [re, se] = t.useState(null), ie = t.useCallback((o)=>{
144
+ c && se(o), f(null), o && (A === null || A === void 0 ? void 0 : A(o));
145
+ }, [
146
+ c,
147
+ A
148
+ ]), [we, Pe] = t.useState(v);
149
+ if (v !== we && (Pe(v), re !== null && se(null), c && e && v && re !== v)) {
150
+ const o = De(e, v);
151
+ if (o) f(o.id);
152
+ else {
153
+ var _m_children;
154
+ const m = xe(e, v);
155
+ m && !((_m_children = m.children) === null || _m_children === void 0 ? void 0 : _m_children.length) && f(null);
156
+ }
157
+ }
158
+ const [Re, ye] = t.useState(c);
159
+ c !== Re && (ye(c), c || f(null));
160
+ var _e_length;
161
+ const [Ie, ke] = t.useState((_e_length = e === null || e === void 0 ? void 0 : e.length) !== null && _e_length !== void 0 ? _e_length : 0);
162
+ var _e_length1, _e_length2;
163
+ ((_e_length1 = e === null || e === void 0 ? void 0 : e.length) !== null && _e_length1 !== void 0 ? _e_length1 : 0) !== Ie && (ke((_e_length2 = e === null || e === void 0 ? void 0 : e.length) !== null && _e_length2 !== void 0 ? _e_length2 : 0), f(null)), t.useEffect(()=>{
164
+ if (!c || !D) return;
165
+ const o = (S)=>{
166
+ const ve = L.current;
167
+ ve && (S.composedPath().includes(ve) || f(null));
168
+ }, m = (S)=>{
169
+ S.key === "Escape" && f(null);
170
+ };
171
+ return document.addEventListener("click", o), document.addEventListener("keydown", m), ()=>{
172
+ document.removeEventListener("click", o), document.removeEventListener("keydown", m);
173
+ };
174
+ }, [
175
+ c,
176
+ D
177
+ ]);
178
+ const C = F ? {
179
+ backgroundColor: F
180
+ } : void 0, [H, Ve] = t.useState(!1), [P, Me] = t.useState(!1), [Fe, ae] = t.useState(!1), U = t.useRef(null), R = t.useRef(null), y = t.useRef(null);
181
+ t.useEffect(()=>{
182
+ if (!y.current) return;
183
+ const o = new IntersectionObserver((param)=>{
184
+ let [S] = param;
185
+ Ve(!S.isIntersecting);
186
+ }, {
187
+ root: y.current,
188
+ threshold: 0,
189
+ rootMargin: "1px 0px 1px 0px"
190
+ }), m = new IntersectionObserver((param)=>{
191
+ let [S] = param;
192
+ Me(!S.isIntersecting);
193
+ }, {
194
+ root: y.current,
195
+ threshold: 0,
196
+ rootMargin: "1px 0px 1px 0px"
197
+ });
198
+ return U.current && o.observe(U.current), R.current && m.observe(R.current), ()=>{
199
+ o.disconnect(), m.disconnect();
200
+ };
201
+ }, []);
202
+ const j = Zn(w), Ae = t.useCallback(()=>{
203
+ if (j) return;
204
+ const o = !s;
205
+ if (!z) {
206
+ Oe(o), M === null || M === void 0 ? void 0 : M(o);
207
+ return;
208
+ }
209
+ M === null || M === void 0 ? void 0 : M(o);
210
+ }, [
211
+ s,
212
+ j,
213
+ z,
214
+ M
215
+ ]), We = t.useMemo(()=>({
216
+ collapsed: s,
217
+ collapseState: w,
218
+ isMotionOff: h,
219
+ doublePanel: c,
220
+ panelOpenForItemId: D,
221
+ setPanelOpenForItemId: f,
222
+ selectItemAndClosePanel: ie,
223
+ containerRef: L,
224
+ selectedItemId: v !== null && v !== void 0 ? v : null
225
+ }), [
226
+ s,
227
+ w,
228
+ h,
229
+ c,
230
+ D,
231
+ ie,
232
+ L,
233
+ v
234
+ ]), _e = zn(L), ze = s ? bn : Q;
235
+ process.env.NODE_ENV !== "production" && e && Jn(e);
236
+ const i = Se(a);
237
+ if (Ce) return /* @__PURE__ */ n(Wn, {
238
+ entries: e,
239
+ "aria-label": ee,
240
+ variant: i,
241
+ logo: O,
242
+ headerSlot: X,
243
+ footerSlot: b,
244
+ selectedItemId: v !== null && v !== void 0 ? v : null,
245
+ onSelectedItemIdChange: A,
246
+ dataAttributes: Y
247
+ });
248
+ const K = {
249
+ collapsed: s,
250
+ state: w
251
+ }, le = O === void 0 || O === !0, $ = jn(O, K, /* @__PURE__ */ n(yn, {
252
+ size: Sn,
253
+ type: "isotype"
254
+ })), de = p ? /* @__PURE__ */ n(Rn, {
255
+ Icon: s ? In : kn,
256
+ type: "neutral",
257
+ backgroundType: "transparent",
258
+ small: !0,
259
+ onPress: Ae,
260
+ "aria-label": s ? W.sidenavExpand || _(qn) : W.sidenavCollapse || _(Gn),
261
+ "aria-expanded": !s
262
+ }) : null, q = ge(X, K), ce = ge(b, K), I = !!($ || de || q), He = d && Un(i, Le, Be.showBoxedBorder), N = c && D && e ? xe(e, D) : void 0, k = N === null || N === void 0 ? void 0 : N.children, ue = !!(k === null || k === void 0 ? void 0 : k.length);
263
+ return N && (k === null || k === void 0 ? void 0 : k.length) && ((x === null || x === void 0 ? void 0 : x.label) !== N.label || (x === null || x === void 0 ? void 0 : x.children) !== k) && Te({
264
+ itemId: N.id,
265
+ label: N.label,
266
+ children: k
267
+ }), /* @__PURE__ */ n(Nn, {
268
+ variant: i,
269
+ children: /* @__PURE__ */ n(Hn.Provider, {
270
+ value: We,
271
+ children: /* @__PURE__ */ g("nav", _object_spread_props(_object_spread({
272
+ ref: L,
273
+ "aria-label": ee,
274
+ onKeyDown: _e,
275
+ className: l(un, {
276
+ [pn[i]]: u && !d,
277
+ [fn]: d,
278
+ [mn]: He,
279
+ [vn]: j
280
+ }),
281
+ style: Tn({
282
+ [Bn]: `${ze}px`,
283
+ [Cn]: `${Q}px`,
284
+ [xn]: `${h ? 0 : G}ms`,
285
+ [Dn]: `${h ? 0 : En}ms`
286
+ })
287
+ }, On(_object_spread({
288
+ testid: "SidenavBar"
289
+ }, Y))), {
290
+ children: [
291
+ /* @__PURE__ */ g("div", {
292
+ className: l(ln, {
293
+ [dn[i]]: ue || Fe
294
+ }),
295
+ children: [
296
+ I && /* @__PURE__ */ g("div", {
297
+ className: l(Qe, B[i], {
298
+ [Xe]: d && i === "negative"
299
+ }),
300
+ style: C,
301
+ children: [
302
+ /* @__PURE__ */ g("div", {
303
+ className: l(qe, {
304
+ [Ge]: s
305
+ }),
306
+ children: [
307
+ $ && /* @__PURE__ */ n("div", {
308
+ className: l(je, {
309
+ [$e]: le,
310
+ [Ke]: s
311
+ }),
312
+ "aria-hidden": le || void 0,
313
+ children: $
314
+ }),
315
+ de
316
+ ]
317
+ }),
318
+ q && /* @__PURE__ */ n("div", {
319
+ className: l(Ze, {
320
+ [Je]: s
321
+ }),
322
+ children: q
323
+ })
324
+ ]
325
+ }),
326
+ /* @__PURE__ */ g("div", {
327
+ ref: y,
328
+ className: l(rn, B[i], {
329
+ [sn]: !!b && T
330
+ }),
331
+ style: C,
332
+ onFocus: (o)=>{
333
+ const m = o.target;
334
+ try {
335
+ m.matches(":focus-visible") && m.scrollIntoView({
336
+ block: "nearest"
337
+ });
338
+ } catch (e) {}
339
+ },
340
+ children: [
341
+ /* @__PURE__ */ n("div", {
342
+ ref: U
343
+ }),
344
+ /* @__PURE__ */ n("div", {
345
+ className: l(Ye, {
346
+ [B[i]]: I && H
347
+ }),
348
+ style: I && H ? C : void 0,
349
+ children: I && H && /* @__PURE__ */ n("div", {
350
+ className: l(fe, Z[i])
351
+ })
352
+ }),
353
+ e && // The body is the list of the first level. Each entry is one of its items.
354
+ /* @__PURE__ */ n("div", {
355
+ className: en,
356
+ role: "list",
357
+ children: Qn(e)
358
+ }),
359
+ b && !T && /* @__PURE__ */ g(me, {
360
+ children: [
361
+ /* @__PURE__ */ n("div", {
362
+ ref: R
363
+ }),
364
+ P && /* @__PURE__ */ n("div", {
365
+ className: l(nn, on, Z[i])
366
+ }),
367
+ /* @__PURE__ */ n("div", {
368
+ className: l(pe, B[i], {
369
+ [he]: s
370
+ }),
371
+ style: C,
372
+ children: ce
373
+ })
374
+ ]
375
+ }),
376
+ b && T && /* @__PURE__ */ g(me, {
377
+ children: [
378
+ /* @__PURE__ */ n("div", {
379
+ ref: R
380
+ }),
381
+ /* @__PURE__ */ n("div", {
382
+ className: l(tn, {
383
+ [B[i]]: P
384
+ }),
385
+ style: P ? C : void 0,
386
+ children: P && /* @__PURE__ */ n("div", {
387
+ className: l(fe, Z[i])
388
+ })
389
+ })
390
+ ]
391
+ })
392
+ ]
393
+ }),
394
+ b && T && /* @__PURE__ */ n("div", {
395
+ className: l(pe, an, B[i], {
396
+ [he]: s
397
+ }),
398
+ style: C,
399
+ children: ce
400
+ })
401
+ ]
402
+ }),
403
+ x && /* @__PURE__ */ n(Ue, {
404
+ in: ue,
405
+ timeout: h ? 0 : G,
406
+ nodeRef: ne,
407
+ classNames: cn,
408
+ appear: !0,
409
+ mountOnEnter: !0,
410
+ unmountOnExit: !0,
411
+ onEnter: ()=>ae(!0),
412
+ onExited: ()=>ae(!1),
413
+ children: /* @__PURE__ */ n(An, {
414
+ ref: ne,
415
+ itemId: x.itemId,
416
+ label: x.label,
417
+ variant: i,
418
+ backgroundColor: F,
419
+ children: x.children.map((o)=>Mn(o, {
420
+ placement: "panel"
421
+ }))
422
+ })
423
+ })
424
+ ]
425
+ }))
426
+ })
427
+ });
428
+ };
429
+ export { Co as SidenavBar, Co as default };
@@ -1,8 +1,8 @@
1
1
  /* empty css */ /* empty css */ var o = {
2
- default: "v17_2_zopolw5 v17_2_zopolw0 v17_2_1y2v1nf99",
3
- alternative: "v17_2_zopolw6 v17_2_zopolw1 v17_2_1y2v1nf99",
4
- brand: "v17_2_zopolw7 v17_2_zopolw2 v17_2_1y2v1nf9c",
5
- negative: "v17_2_zopolw8 v17_2_zopolw3 v17_2_1y2v1nf9b",
6
- media: "v17_2_zopolw9 v17_2_zopolw4 v17_2_1y2v1nf9b"
7
- }, l = "v17_2_zopolwc v17_2_zopolwb v17_2_1y2v1nfrc", p = "v17_2_zopolwd v17_2_1y2v1nfra v17_2_1y2v1nfrp v17_2_1y2v1nfrj", r = "v17_2_zopolwe v17_2_1y2v1nfrs v17_2_1y2v1nfru", n = "v17_2_zopolwg v17_2_zopolwf v17_2_1y2v1nfrt";
8
- export { l as animation, o as background, r as circle, n as line, p as row };
2
+ default: "v17_4_zopolw5 v17_4_zopolw0 v17_4_1y2v1nf9d",
3
+ alternative: "v17_4_zopolw6 v17_4_zopolw1 v17_4_1y2v1nf9d",
4
+ brand: "v17_4_zopolw7 v17_4_zopolw2 v17_4_1y2v1nf9g",
5
+ negative: "v17_4_zopolw8 v17_4_zopolw3 v17_4_1y2v1nf9f",
6
+ media: "v17_4_zopolw9 v17_4_zopolw4 v17_4_1y2v1nf9f"
7
+ }, l = "v17_4_zopolwc v17_4_zopolwb v17_4_1y2v1nfrg", n = "v17_4_zopolwd v17_4_1y2v1nfre v17_4_1y2v1nfrt v17_4_1y2v1nfrn", r = "v17_4_zopolwe v17_4_1y2v1nfrw v17_4_1y2v1nfry", p = "v17_4_zopolwg v17_4_zopolwf v17_4_1y2v1nfrx";
8
+ export { l as animation, o as background, r as circle, p as line, n as row };
@@ -68,6 +68,8 @@ const e = {
68
68
  backgroundContainerNegative: r(e.darkModeBlack, 0.4),
69
69
  backgroundContainerBrandOverBrand: e.blauBluePrimary30,
70
70
  backgroundContainerAlternative: e.blauBluePrimary20,
71
+ backgroundContainerAlternativeOverAlternative: e.white,
72
+ backgroundContainerAlternativeOverBrand: e.blauBluePrimary30,
71
73
  backgroundOverlay: r(e.blauBlueSecondary, 0.75),
72
74
  backgroundSkeleton: e.grey3,
73
75
  backgroundSkeletonInverse: e.blauBlueSecondary,
@@ -114,12 +116,12 @@ const e = {
114
116
  buttonLinkBackgroundBrandPressed: r(e.white, 0.15),
115
117
  buttonLinkBackgroundMediaPressed: r(e.white, 0.15),
116
118
  buttonLinkNeutralBackgroundPressed: e.grey1,
117
- buttonLinkNeutralBackgroundBrand: e.white,
118
- buttonLinkNeutralBackgroundBrandPressed: e.grey1,
119
- buttonLinkNeutralBackgroundNegative: e.white,
120
- buttonLinkNeutralBackgroundNegativePressed: e.grey1,
121
- buttonLinkNeutralBackgroundMedia: e.white,
122
- buttonLinkNeutralBackgroundMediaPressed: e.grey1,
119
+ buttonLinkNeutralBackgroundBrand: r(e.white, 0),
120
+ buttonLinkNeutralBackgroundBrandPressed: r(e.white, 0.15),
121
+ buttonLinkNeutralBackgroundNegative: r(e.white, 0),
122
+ buttonLinkNeutralBackgroundNegativePressed: r(e.white, 0.15),
123
+ buttonLinkNeutralBackgroundMedia: r(e.white, 0),
124
+ buttonLinkNeutralBackgroundMediaPressed: r(e.white, 0.15),
123
125
  buttonPrimaryBackground: e.blauBlueSecondary,
124
126
  buttonPrimaryBackgroundInverse: e.blauBlueSecondary,
125
127
  buttonPrimaryBackgroundNegative: e.white,
@@ -185,9 +187,9 @@ const e = {
185
187
  textLinkSnackbar: e.blauPurple30,
186
188
  textLinkNeutral: e.grey6,
187
189
  textLinkNeutralBrand: e.grey6,
188
- textLinkNeutralNegative: e.grey6,
190
+ textLinkNeutralNegative: e.white,
189
191
  textLinkNeutralAlternative: e.grey6,
190
- textLinkNeutralMedia: e.grey6,
192
+ textLinkNeutralMedia: e.white,
191
193
  textActivated: e.blauBlueSecondary,
192
194
  textBrand: e.blauBlueSecondary,
193
195
  inputBorder: e.grey4,
@@ -375,6 +377,8 @@ const e = {
375
377
  backgroundContainerNegative: e.darkModeGrey,
376
378
  backgroundContainerBrandOverBrand: e.darkModeGrey,
377
379
  backgroundContainerAlternative: e.darkModeGrey,
380
+ backgroundContainerAlternativeOverAlternative: e.darkModeGrey,
381
+ backgroundContainerAlternativeOverBrand: e.darkModeGrey,
378
382
  backgroundOverlay: r(e.darkModeGrey, 0.8),
379
383
  backgroundSkeleton: e.darkModeGrey,
380
384
  backgroundSkeletonInverse: e.darkModeGrey,
@@ -72,6 +72,8 @@ const e = {
72
72
  backgroundContainerNegative: r(e.darkModeBlack, 0.6),
73
73
  backgroundContainerBrandOverBrand: e.blue80,
74
74
  backgroundContainerAlternative: e.grey1,
75
+ backgroundContainerAlternativeOverAlternative: e.white,
76
+ backgroundContainerAlternativeOverBrand: e.blue80,
75
77
  backgroundOverlay: r(e.black, 0.6),
76
78
  backgroundSkeleton: e.grey2,
77
79
  backgroundSkeletonInverse: e.blue55,
@@ -114,12 +116,12 @@ const e = {
114
116
  buttonLinkBackgroundBrandPressed: r(e.white, 0.08),
115
117
  buttonLinkBackgroundMediaPressed: r(e.white, 0.08),
116
118
  buttonLinkNeutralBackgroundPressed: r(e.grey3, 0.4),
117
- buttonLinkNeutralBackgroundBrand: e.white,
118
- buttonLinkNeutralBackgroundBrandPressed: e.grey2,
119
- buttonLinkNeutralBackgroundNegative: e.white,
120
- buttonLinkNeutralBackgroundNegativePressed: e.grey2,
121
- buttonLinkNeutralBackgroundMedia: e.grey2,
122
- buttonLinkNeutralBackgroundMediaPressed: e.grey2,
119
+ buttonLinkNeutralBackgroundBrand: r(e.white, 0),
120
+ buttonLinkNeutralBackgroundBrandPressed: r(e.white, 0.08),
121
+ buttonLinkNeutralBackgroundNegative: r(e.white, 0),
122
+ buttonLinkNeutralBackgroundNegativePressed: r(e.white, 0.08),
123
+ buttonLinkNeutralBackgroundMedia: r(e.white, 0),
124
+ buttonLinkNeutralBackgroundMediaPressed: r(e.white, 0.08),
123
125
  buttonPrimaryBackground: e.blue,
124
126
  buttonPrimaryBackgroundInverse: e.white,
125
127
  buttonPrimaryBackgroundNegative: e.white,
@@ -184,10 +186,10 @@ const e = {
184
186
  textLinkDangerMedia: e.tomato60,
185
187
  textLinkSnackbar: e.blue30,
186
188
  textLinkNeutral: e.blue85,
187
- textLinkNeutralBrand: e.blue85,
188
- textLinkNeutralNegative: e.blue85,
189
+ textLinkNeutralBrand: e.white,
190
+ textLinkNeutralNegative: e.white,
189
191
  textLinkNeutralAlternative: e.blue85,
190
- textLinkNeutralMedia: e.blue85,
192
+ textLinkNeutralMedia: e.white,
191
193
  textActivated: e.blue,
192
194
  textBrand: e.blue,
193
195
  inputBorder: e.grey4,
@@ -379,6 +381,8 @@ const e = {
379
381
  backgroundContainerNegative: e.darkModeGrey,
380
382
  backgroundContainerBrandOverBrand: e.darkModeGrey,
381
383
  backgroundContainerAlternative: e.darkModeGrey,
384
+ backgroundContainerAlternativeOverAlternative: e.darkModeGrey,
385
+ backgroundContainerAlternativeOverBrand: e.darkModeGrey,
382
386
  backgroundOverlay: r(e.darkModeGrey, 0.8),
383
387
  backgroundSkeleton: e.darkModeGrey6,
384
388
  backgroundSkeletonInverse: e.darkModeGrey6,
@@ -79,6 +79,8 @@ const e = {
79
79
  backgroundContainerNegative: r(e.movistarBlack, 0.2),
80
80
  backgroundContainerBrandOverBrand: e.blue800,
81
81
  backgroundContainerAlternative: e.grey100,
82
+ backgroundContainerAlternativeOverAlternative: e.white,
83
+ backgroundContainerAlternativeOverBrand: e.blue800,
82
84
  backgroundOverlay: r(e.movistarBlack, 0.6),
83
85
  backgroundSkeleton: e.grey200,
84
86
  backgroundSkeletonInverse: e.blue800,
@@ -121,12 +123,12 @@ const e = {
121
123
  buttonLinkBackgroundBrandPressed: r(e.white, 0.3),
122
124
  buttonLinkBackgroundMediaPressed: r(e.white, 0.3),
123
125
  buttonLinkNeutralBackgroundPressed: e.grey100,
124
- buttonLinkNeutralBackgroundBrand: e.white,
125
- buttonLinkNeutralBackgroundBrandPressed: e.grey100,
126
- buttonLinkNeutralBackgroundNegative: e.white,
127
- buttonLinkNeutralBackgroundNegativePressed: e.grey100,
128
- buttonLinkNeutralBackgroundMedia: e.white,
129
- buttonLinkNeutralBackgroundMediaPressed: e.grey100,
126
+ buttonLinkNeutralBackgroundBrand: r(e.white, 0),
127
+ buttonLinkNeutralBackgroundBrandPressed: r(e.white, 0.3),
128
+ buttonLinkNeutralBackgroundNegative: r(e.white, 0),
129
+ buttonLinkNeutralBackgroundNegativePressed: r(e.white, 0.3),
130
+ buttonLinkNeutralBackgroundMedia: r(e.white, 0),
131
+ buttonLinkNeutralBackgroundMediaPressed: r(e.white, 0.3),
130
132
  buttonPrimaryBackground: e.movistarBlue,
131
133
  buttonPrimaryBackgroundInverse: e.white,
132
134
  buttonPrimaryBackgroundNegative: e.white,
@@ -191,10 +193,10 @@ const e = {
191
193
  textLinkDangerMedia: e.red,
192
194
  textLinkSnackbar: e.blue300,
193
195
  textLinkNeutral: e.movistarBlack,
194
- textLinkNeutralBrand: e.movistarBlack,
195
- textLinkNeutralNegative: e.movistarBlack,
196
+ textLinkNeutralBrand: e.white,
197
+ textLinkNeutralNegative: e.white,
196
198
  textLinkNeutralAlternative: e.movistarBlack,
197
- textLinkNeutralMedia: e.movistarBlack,
199
+ textLinkNeutralMedia: e.white,
198
200
  textActivated: e.blueHigh,
199
201
  textBrand: e.blueHigh,
200
202
  inputBorder: e.grey500,
@@ -386,6 +388,8 @@ const e = {
386
388
  backgroundContainerNegative: e.darkModeGrey,
387
389
  backgroundContainerBrandOverBrand: e.darkModeGrey,
388
390
  backgroundContainerAlternative: e.darkModeGrey,
391
+ backgroundContainerAlternativeOverAlternative: e.darkModeGrey,
392
+ backgroundContainerAlternativeOverBrand: e.darkModeGrey,
389
393
  backgroundOverlay: r(e.darkModeGrey, 0.8),
390
394
  backgroundSkeleton: e.grey600,
391
395
  backgroundSkeletonInverse: e.grey600,
@@ -75,6 +75,8 @@ const e = {
75
75
  backgroundContainerNegative: r(e.darkModeBlack, 0.4),
76
76
  backgroundContainerBrandOverBrand: e.beyondBlue70,
77
77
  backgroundContainerAlternative: e.grey20,
78
+ backgroundContainerAlternativeOverAlternative: e.white,
79
+ backgroundContainerAlternativeOverBrand: e.beyondBlue70,
78
80
  backgroundOverlay: r(e.black, 0.6),
79
81
  backgroundSkeleton: e.grey30,
80
82
  backgroundSkeletonInverse: e.beyondBlue70,
@@ -117,12 +119,12 @@ const e = {
117
119
  buttonLinkBackgroundBrandPressed: r(e.white, 0.08),
118
120
  buttonLinkBackgroundMediaPressed: r(e.white, 0.08),
119
121
  buttonLinkNeutralBackgroundPressed: r(e.grey30, 0.4),
120
- buttonLinkNeutralBackgroundBrand: e.white,
121
- buttonLinkNeutralBackgroundBrandPressed: e.grey20,
122
- buttonLinkNeutralBackgroundNegative: e.white,
123
- buttonLinkNeutralBackgroundNegativePressed: e.grey20,
124
- buttonLinkNeutralBackgroundMedia: e.white,
125
- buttonLinkNeutralBackgroundMediaPressed: e.grey20,
122
+ buttonLinkNeutralBackgroundBrand: r(e.white, 0),
123
+ buttonLinkNeutralBackgroundBrandPressed: r(e.white, 0.08),
124
+ buttonLinkNeutralBackgroundNegative: r(e.white, 0),
125
+ buttonLinkNeutralBackgroundNegativePressed: r(e.white, 0.08),
126
+ buttonLinkNeutralBackgroundMedia: r(e.white, 0),
127
+ buttonLinkNeutralBackgroundMediaPressed: r(e.white, 0.08),
126
128
  buttonPrimaryBackground: e.beyondBlue,
127
129
  buttonPrimaryBackgroundInverse: e.white,
128
130
  buttonPrimaryBackgroundNegative: e.white,
@@ -187,10 +189,10 @@ const e = {
187
189
  textLinkDangerMedia: e.o2Red65,
188
190
  textLinkSnackbar: e.beyondBlue30,
189
191
  textLinkNeutral: e.black,
190
- textLinkNeutralBrand: e.black,
191
- textLinkNeutralNegative: e.black,
192
+ textLinkNeutralBrand: e.white,
193
+ textLinkNeutralNegative: e.white,
192
194
  textLinkNeutralAlternative: e.black,
193
- textLinkNeutralMedia: e.black,
195
+ textLinkNeutralMedia: e.white,
194
196
  textActivated: e.beyondBlue,
195
197
  textBrand: e.beyondBlue,
196
198
  inputBorder: e.grey45,
@@ -382,6 +384,8 @@ const e = {
382
384
  backgroundContainerNegative: e.darkModeGrey,
383
385
  backgroundContainerBrandOverBrand: e.darkModeGrey,
384
386
  backgroundContainerAlternative: e.darkModeGrey,
387
+ backgroundContainerAlternativeOverAlternative: e.darkModeGrey,
388
+ backgroundContainerAlternativeOverBrand: e.darkModeGrey,
385
389
  backgroundOverlay: r(e.darkModeGrey, 0.8),
386
390
  backgroundSkeleton: e.darkModeGrey6,
387
391
  backgroundSkeletonInverse: e.darkModeGrey6,