@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.
- package/css/blau.css +30 -16
- package/css/community/cyber.css +1491 -0
- package/css/esimflag.css +41 -18
- package/css/mistica-common.css +6 -0
- package/css/mistica.css +1 -1
- package/css/movistar.css +35 -18
- package/css/o2.css +32 -18
- package/css/telefonica.css +44 -18
- package/css/vivo-evolution.css +72 -20
- package/css/vivo.css +32 -18
- package/dist/accordion.css-mistica.js +10 -10
- package/dist/align.css-mistica.js +1 -1
- package/dist/autocomplete.css-mistica.js +4 -4
- package/dist/avatar.css-mistica.js +1 -1
- package/dist/badge.css-mistica.js +1 -1
- package/dist/box.css-mistica.js +13 -13
- package/dist/boxed.css-mistica.js +24 -24
- package/dist/boxed.d.ts +9 -0
- package/dist/boxed.js +18 -15
- package/dist/button-group.css-mistica.js +1 -1
- package/dist/button-layout.css-mistica.js +19 -19
- package/dist/button.css-mistica.js +50 -50
- package/dist/callout.css-mistica.js +13 -13
- package/dist/card-internal.css-mistica.js +22 -22
- package/dist/carousel.css-mistica.js +30 -30
- package/dist/checkbox.css-mistica.js +15 -15
- package/dist/chip.css-mistica.js +18 -18
- package/dist/circle.css-mistica.js +2 -2
- package/dist/community/advanced-data-card.css-mistica.js +19 -19
- package/dist/community/ai-card.css-mistica.js +9 -9
- package/dist/community/blocks.css-mistica.js +3 -3
- package/dist/community/cyber/example-component.css-mistica.js +1 -1
- package/dist/community/example-component.css-mistica.js +1 -1
- package/dist/community/skins/cyber-skin.d.ts +5 -0
- package/dist/community/skins/cyber-skin.js +289 -256
- package/dist/counter.css-mistica.js +6 -6
- package/dist/cover-hero.css-mistica.js +7 -7
- package/dist/credit-card-number-field.css-mistica.js +3 -3
- package/dist/date-field.css-mistica.js +1 -1
- package/dist/date-time-picker.css-mistica.js +1 -1
- package/dist/dialog.css-mistica.js +10 -10
- package/dist/divider.css-mistica.js +5 -5
- package/dist/double-field.css-mistica.js +2 -2
- package/dist/drawer.css-mistica.js +4 -4
- package/dist/empty-state-card.css-mistica.js +1 -1
- package/dist/empty-state.css-mistica.js +8 -8
- package/dist/fade-in.css-mistica.js +1 -1
- package/dist/feedback.css-mistica.js +5 -5
- package/dist/file-upload.css-mistica.js +10 -10
- package/dist/fixed-footer-layout.css-mistica.js +6 -6
- package/dist/form.css-mistica.js +1 -1
- package/dist/generated/mistica-icons/icon-panel-collapse-regular.js +165 -0
- package/dist/generated/mistica-icons/icon-panel-expand-regular.js +159 -0
- package/dist/grid-layout.css-mistica.js +3 -3
- package/dist/grid.css-mistica.js +120 -120
- package/dist/header.css-mistica.js +1 -1
- package/dist/hero.css-mistica.js +4 -4
- package/dist/horizontal-scroll.css-mistica.js +1 -1
- package/dist/icon-button.css-mistica.js +53 -53
- package/dist/icons/icon-chevron.css-mistica.js +2 -2
- package/dist/icons/icon-error.css-mistica.js +1 -1
- package/dist/image.css-mistica.js +8 -8
- package/dist/index.d.ts +5 -0
- package/dist/index.js +10 -1
- package/dist/inline.css-mistica.js +11 -11
- package/dist/list.css-mistica.js +40 -28
- package/dist/list.css.d.ts +2 -0
- package/dist/list.d.ts +3 -1
- package/dist/list.js +176 -165
- package/dist/loading-bar.css-mistica.js +1 -1
- package/dist/loading-screen.css-mistica.js +12 -12
- package/dist/logo-movistar.js +1 -1
- package/dist/logo.css-mistica.js +5 -5
- package/dist/menu.css-mistica.js +13 -13
- package/dist/mobile-navigation-menu.d.ts +26 -0
- package/dist/mobile-navigation-menu.js +145 -0
- package/dist/mosaic.css-mistica.js +1 -1
- package/dist/navigation-bar.css-mistica.js +31 -97
- package/dist/navigation-bar.css.d.ts +0 -24
- package/dist/navigation-bar.d.ts +3 -38
- package/dist/navigation-bar.js +399 -586
- package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
- package/dist/navigation-shared.css-mistica.js +79 -0
- package/dist/navigation-shared.css.d.ts +26 -0
- package/dist/navigation-shared.d.ts +66 -0
- package/dist/navigation-shared.js +264 -0
- package/dist/package-version.js +1 -1
- package/dist/pagination.css-mistica.js +22 -22
- package/dist/pin-field.css-mistica.js +4 -4
- package/dist/popover.css-mistica.js +1 -1
- package/dist/portal.d.ts +1 -1
- package/dist/progress-bar.css-mistica.js +7 -7
- package/dist/radio-button.css-mistica.js +27 -27
- package/dist/rating.css-mistica.js +4 -4
- package/dist/responsive-layout.css-mistica.js +6 -6
- package/dist/screen-reader-only.css-mistica.js +1 -1
- package/dist/select.css-mistica.js +21 -21
- package/dist/sheet-action-row.css-mistica.js +1 -1
- package/dist/sheet-common.css-mistica.js +7 -7
- package/dist/sheet-info.css-mistica.js +1 -1
- package/dist/sidenav-bar-context.d.ts +25 -0
- package/dist/sidenav-bar-context.js +72 -0
- package/dist/sidenav-bar-data.d.ts +15 -0
- package/dist/sidenav-bar-data.js +38 -0
- package/dist/sidenav-bar-first-level-item.d.ts +42 -0
- package/dist/sidenav-bar-first-level-item.js +174 -0
- package/dist/sidenav-bar-keyboard.d.ts +13 -0
- package/dist/sidenav-bar-keyboard.js +314 -0
- package/dist/sidenav-bar-layout.css-mistica.js +28 -0
- package/dist/sidenav-bar-layout.css.d.ts +5 -0
- package/dist/sidenav-bar-layout.d.ts +22 -0
- package/dist/sidenav-bar-layout.js +103 -0
- package/dist/sidenav-bar-mobile.d.ts +24 -0
- package/dist/sidenav-bar-mobile.js +332 -0
- package/dist/sidenav-bar-motion.d.ts +32 -0
- package/dist/sidenav-bar-motion.js +84 -0
- package/dist/sidenav-bar-panel.d.ts +31 -0
- package/dist/sidenav-bar-panel.js +208 -0
- package/dist/sidenav-bar-row.d.ts +82 -0
- package/dist/sidenav-bar-row.js +230 -0
- package/dist/sidenav-bar-second-level-item.d.ts +43 -0
- package/dist/sidenav-bar-second-level-item.js +89 -0
- package/dist/sidenav-bar-section.d.ts +23 -0
- package/dist/sidenav-bar-section.js +167 -0
- package/dist/sidenav-bar-types.d.ts +192 -0
- package/dist/sidenav-bar-types.js +11 -0
- package/dist/sidenav-bar.css-mistica.js +325 -0
- package/dist/sidenav-bar.css.d.ts +93 -0
- package/dist/sidenav-bar.d.ts +102 -0
- package/dist/sidenav-bar.js +492 -0
- package/dist/skeletons.css-mistica.js +8 -8
- package/dist/skins/blau.d.ts +5 -0
- package/dist/skins/blau.js +12 -8
- package/dist/skins/esimflag.d.ts +5 -0
- package/dist/skins/esimflag.js +13 -9
- package/dist/skins/movistar.d.ts +5 -0
- package/dist/skins/movistar.js +13 -9
- package/dist/skins/o2.d.ts +5 -0
- package/dist/skins/o2.js +13 -9
- package/dist/skins/skin-contract.css-mistica.js +735 -731
- package/dist/skins/skin-contract.css.d.ts +16 -12
- package/dist/skins/telefonica.d.ts +5 -0
- package/dist/skins/telefonica.js +13 -9
- package/dist/skins/types/colors.d.ts +13 -6
- package/dist/skins/vivo-evolution.d.ts +5 -0
- package/dist/skins/vivo-evolution.js +14 -10
- package/dist/skins/vivo.d.ts +5 -0
- package/dist/skins/vivo.js +13 -9
- package/dist/skip-link.css-mistica.js +2 -2
- package/dist/slider.css-mistica.js +24 -24
- package/dist/snackbar.css-mistica.js +14 -14
- package/dist/spinner.css-mistica.js +1 -1
- package/dist/square.css-mistica.js +1 -1
- package/dist/stack.css-mistica.js +5 -5
- package/dist/stacking-group.css-mistica.js +1 -1
- package/dist/stepper.css-mistica.js +9 -9
- package/dist/switch-component.css-mistica.js +48 -42
- package/dist/switch-component.css.d.ts +2 -0
- package/dist/switch-component.js +18 -18
- package/dist/table.css-mistica.js +9 -9
- package/dist/tabs.css-mistica.js +22 -22
- package/dist/tag.css-mistica.js +3 -3
- package/dist/text-field-base.css-mistica.js +19 -19
- package/dist/text-field-components.css-mistica.js +10 -10
- package/dist/text-link.css-mistica.js +6 -6
- package/dist/text-tokens.d.ts +6 -0
- package/dist/text-tokens.js +157 -133
- package/dist/text.css-mistica.js +6 -6
- package/dist/timeline.css-mistica.js +11 -11
- package/dist/timer.css-mistica.js +6 -6
- package/dist/tooltip.css-mistica.js +2 -2
- package/dist/touchable.css-mistica.js +4 -4
- package/dist/utils/aspect-ratio-support.css-mistica.js +2 -2
- package/dist/video.css-mistica.js +1 -1
- package/dist/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
- package/dist-es/accordion.css-mistica.js +7 -7
- package/dist-es/align.css-mistica.js +1 -1
- package/dist-es/autocomplete.css-mistica.js +2 -2
- package/dist-es/avatar.css-mistica.js +1 -1
- package/dist-es/badge.css-mistica.js +1 -1
- package/dist-es/box.css-mistica.js +13 -13
- package/dist-es/boxed.css-mistica.js +23 -23
- package/dist-es/boxed.js +25 -25
- package/dist-es/button-group.css-mistica.js +1 -1
- package/dist-es/button-layout.css-mistica.js +16 -16
- package/dist-es/button.css-mistica.js +38 -38
- package/dist-es/callout.css-mistica.js +12 -12
- package/dist-es/card-internal.css-mistica.js +17 -17
- package/dist-es/carousel.css-mistica.js +10 -10
- package/dist-es/checkbox.css-mistica.js +13 -13
- package/dist-es/chip.css-mistica.js +17 -17
- package/dist-es/circle.css-mistica.js +2 -2
- package/dist-es/community/advanced-data-card.css-mistica.js +7 -7
- package/dist-es/community/ai-card.css-mistica.js +3 -3
- package/dist-es/community/blocks.css-mistica.js +2 -2
- package/dist-es/community/cyber/example-component.css-mistica.js +1 -1
- package/dist-es/community/example-component.css-mistica.js +1 -1
- package/dist-es/community/skins/cyber-skin.js +289 -256
- package/dist-es/counter.css-mistica.js +2 -2
- package/dist-es/cover-hero.css-mistica.js +4 -4
- package/dist-es/credit-card-number-field.css-mistica.js +3 -3
- package/dist-es/date-field.css-mistica.js +1 -1
- package/dist-es/date-time-picker.css-mistica.js +1 -1
- package/dist-es/dialog.css-mistica.js +5 -5
- package/dist-es/divider.css-mistica.js +5 -5
- package/dist-es/double-field.css-mistica.js +2 -2
- package/dist-es/drawer.css-mistica.js +2 -2
- package/dist-es/empty-state-card.css-mistica.js +1 -1
- package/dist-es/empty-state.css-mistica.js +7 -7
- package/dist-es/fade-in.css-mistica.js +1 -1
- package/dist-es/feedback.css-mistica.js +2 -2
- package/dist-es/file-upload.css-mistica.js +8 -8
- package/dist-es/fixed-footer-layout.css-mistica.js +3 -3
- package/dist-es/form.css-mistica.js +1 -1
- package/dist-es/generated/mistica-icons/icon-panel-collapse-regular.js +115 -0
- package/dist-es/generated/mistica-icons/icon-panel-expand-regular.js +109 -0
- package/dist-es/grid-layout.css-mistica.js +3 -3
- package/dist-es/grid.css-mistica.js +120 -120
- package/dist-es/header.css-mistica.js +1 -1
- package/dist-es/hero.css-mistica.js +3 -3
- package/dist-es/horizontal-scroll.css-mistica.js +1 -1
- package/dist-es/icon-button.css-mistica.js +53 -53
- package/dist-es/icons/icon-chevron.css-mistica.js +2 -2
- package/dist-es/icons/icon-error.css-mistica.js +1 -1
- package/dist-es/image.css-mistica.js +4 -4
- package/dist-es/index.js +2279 -2276
- package/dist-es/inline.css-mistica.js +11 -11
- package/dist-es/list.css-mistica.js +8 -2
- package/dist-es/list.js +275 -264
- package/dist-es/loading-bar.css-mistica.js +1 -1
- package/dist-es/loading-screen.css-mistica.js +5 -5
- package/dist-es/logo-movistar.js +1 -1
- package/dist-es/logo.css-mistica.js +5 -5
- package/dist-es/menu.css-mistica.js +13 -13
- package/dist-es/mobile-navigation-menu.js +90 -0
- package/dist-es/mosaic.css-mistica.js +1 -1
- package/dist-es/navigation-bar.css-mistica.js +11 -20
- package/dist-es/navigation-bar.js +469 -656
- package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
- package/dist-es/navigation-shared.css-mistica.js +11 -0
- package/dist-es/navigation-shared.js +192 -0
- package/dist-es/package-version.js +1 -1
- package/dist-es/pagination.css-mistica.js +19 -19
- package/dist-es/pin-field.css-mistica.js +2 -2
- package/dist-es/popover.css-mistica.js +1 -1
- package/dist-es/progress-bar.css-mistica.js +7 -7
- package/dist-es/radio-button.css-mistica.js +22 -22
- package/dist-es/rating.css-mistica.js +3 -3
- package/dist-es/responsive-layout.css-mistica.js +6 -6
- package/dist-es/screen-reader-only.css-mistica.js +1 -1
- package/dist-es/select.css-mistica.js +18 -18
- package/dist-es/sheet-action-row.css-mistica.js +1 -1
- package/dist-es/sheet-common.css-mistica.js +2 -2
- package/dist-es/sheet-info.css-mistica.js +1 -1
- package/dist-es/sidenav-bar-context.js +14 -0
- package/dist-es/sidenav-bar-data.js +12 -0
- package/dist-es/sidenav-bar-first-level-item.js +124 -0
- package/dist-es/sidenav-bar-keyboard.js +253 -0
- package/dist-es/sidenav-bar-layout.css-mistica.js +2 -0
- package/dist-es/sidenav-bar-layout.js +86 -0
- package/dist-es/sidenav-bar-mobile.js +277 -0
- package/dist-es/sidenav-bar-motion.js +26 -0
- package/dist-es/sidenav-bar-panel.js +146 -0
- package/dist-es/sidenav-bar-row.js +208 -0
- package/dist-es/sidenav-bar-second-level-item.js +72 -0
- package/dist-es/sidenav-bar-section.js +112 -0
- package/dist-es/sidenav-bar-types.js +2 -0
- package/dist-es/sidenav-bar.css-mistica.js +74 -0
- package/dist-es/sidenav-bar.js +429 -0
- package/dist-es/skeletons.css-mistica.js +7 -7
- package/dist-es/skins/blau.js +12 -8
- package/dist-es/skins/esimflag.js +13 -9
- package/dist-es/skins/movistar.js +13 -9
- package/dist-es/skins/o2.js +13 -9
- package/dist-es/skins/skin-contract.css-mistica.js +735 -731
- package/dist-es/skins/telefonica.js +13 -9
- package/dist-es/skins/vivo-evolution.js +14 -10
- package/dist-es/skins/vivo.js +13 -9
- package/dist-es/skip-link.css-mistica.js +2 -2
- package/dist-es/slider.css-mistica.js +20 -20
- package/dist-es/snackbar.css-mistica.js +5 -5
- package/dist-es/spinner.css-mistica.js +1 -1
- package/dist-es/square.css-mistica.js +1 -1
- package/dist-es/stack.css-mistica.js +5 -5
- package/dist-es/stacking-group.css-mistica.js +1 -1
- package/dist-es/stepper.css-mistica.js +3 -3
- package/dist-es/style.css +1 -1
- package/dist-es/switch-component.css-mistica.js +37 -37
- package/dist-es/switch-component.js +26 -26
- package/dist-es/table.css-mistica.js +9 -9
- package/dist-es/tabs.css-mistica.js +19 -19
- package/dist-es/tag.css-mistica.js +2 -2
- package/dist-es/text-field-base.css-mistica.js +17 -17
- package/dist-es/text-field-components.css-mistica.js +4 -4
- package/dist-es/text-link.css-mistica.js +6 -6
- package/dist-es/text-tokens.js +82 -67
- package/dist-es/text.css-mistica.js +6 -6
- package/dist-es/timeline.css-mistica.js +10 -10
- package/dist-es/timer.css-mistica.js +6 -6
- package/dist-es/tooltip.css-mistica.js +2 -2
- package/dist-es/touchable.css-mistica.js +2 -2
- package/dist-es/utils/aspect-ratio-support.css-mistica.js +2 -2
- package/dist-es/video.css-mistica.js +1 -1
- package/dist-es/vivinho-loading-animation/vivinho-loading-animation.css-mistica.js +1 -1
- package/package.json +3 -2
- package/src/boxed.css.ts +1 -0
- package/src/boxed.tsx +18 -5
- package/src/callout.css.ts +4 -2
- package/src/community/skins/cyber-skin.tsx +127 -439
- package/src/index.tsx +14 -0
- package/src/list.css.ts +36 -1
- package/src/list.tsx +370 -344
- package/src/logo-movistar.tsx +1 -1
- package/src/mobile-navigation-menu.tsx +168 -0
- package/src/navigation-bar.css.ts +2 -267
- package/src/navigation-bar.tsx +77 -370
- package/src/navigation-shared.css.ts +289 -0
- package/src/navigation-shared.tsx +262 -0
- package/src/package-version.tsx +1 -1
- package/src/portal.tsx +1 -1
- package/src/sidenav-bar-context.tsx +41 -0
- package/src/sidenav-bar-data.ts +49 -0
- package/src/sidenav-bar-first-level-item.tsx +203 -0
- package/src/sidenav-bar-keyboard.tsx +393 -0
- package/src/sidenav-bar-layout.css.ts +89 -0
- package/src/sidenav-bar-layout.tsx +61 -0
- package/src/sidenav-bar-mobile.tsx +302 -0
- package/src/sidenav-bar-motion.tsx +70 -0
- package/src/sidenav-bar-panel.tsx +269 -0
- package/src/sidenav-bar-row.tsx +272 -0
- package/src/sidenav-bar-second-level-item.tsx +99 -0
- package/src/sidenav-bar-section.tsx +98 -0
- package/src/sidenav-bar-types.ts +224 -0
- package/src/sidenav-bar.css.ts +1018 -0
- package/src/sidenav-bar.tsx +821 -0
- package/src/skins/blau.tsx +18 -8
- package/src/skins/esimflag.tsx +19 -9
- package/src/skins/movistar.tsx +19 -9
- package/src/skins/o2.tsx +19 -9
- package/src/skins/skin-contract.css.ts +2 -0
- package/src/skins/telefonica.tsx +19 -9
- package/src/skins/types/colors.tsx +14 -6
- package/src/skins/vivo-evolution.tsx +20 -10
- package/src/skins/vivo.tsx +19 -9
- package/src/switch-component.css.ts +20 -0
- package/src/switch-component.tsx +9 -1
- package/src/text-tokens.tsx +24 -0
package/src/skins/blau.tsx
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated
|
|
3
|
+
* This file was automatically generated by the generate-design-tokens script.
|
|
4
|
+
* Do not edit it by hand: your changes will be overwritten the next time the script runs.
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
import {BLAU_SKIN} from './constants';
|
|
2
8
|
import {applyAlpha} from '../utils/color';
|
|
3
9
|
|
|
@@ -74,6 +80,8 @@ export const getBlauSkin: GetKnownSkin = () => {
|
|
|
74
80
|
backgroundContainerNegative: applyAlpha(palette.darkModeBlack, 0.4),
|
|
75
81
|
backgroundContainerBrandOverBrand: palette.blauBluePrimary30,
|
|
76
82
|
backgroundContainerAlternative: palette.blauBluePrimary20,
|
|
83
|
+
backgroundContainerAlternativeOverAlternative: palette.white,
|
|
84
|
+
backgroundContainerAlternativeOverBrand: palette.blauBluePrimary30,
|
|
77
85
|
backgroundOverlay: applyAlpha(palette.blauBlueSecondary, 0.75),
|
|
78
86
|
backgroundSkeleton: palette.grey3,
|
|
79
87
|
backgroundSkeletonInverse: palette.blauBlueSecondary,
|
|
@@ -120,12 +128,12 @@ export const getBlauSkin: GetKnownSkin = () => {
|
|
|
120
128
|
buttonLinkBackgroundBrandPressed: applyAlpha(palette.white, 0.15),
|
|
121
129
|
buttonLinkBackgroundMediaPressed: applyAlpha(palette.white, 0.15),
|
|
122
130
|
buttonLinkNeutralBackgroundPressed: palette.grey1,
|
|
123
|
-
buttonLinkNeutralBackgroundBrand: palette.white,
|
|
124
|
-
buttonLinkNeutralBackgroundBrandPressed: palette.
|
|
125
|
-
buttonLinkNeutralBackgroundNegative: palette.white,
|
|
126
|
-
buttonLinkNeutralBackgroundNegativePressed: palette.
|
|
127
|
-
buttonLinkNeutralBackgroundMedia: palette.white,
|
|
128
|
-
buttonLinkNeutralBackgroundMediaPressed: palette.
|
|
131
|
+
buttonLinkNeutralBackgroundBrand: applyAlpha(palette.white, 0),
|
|
132
|
+
buttonLinkNeutralBackgroundBrandPressed: applyAlpha(palette.white, 0.15),
|
|
133
|
+
buttonLinkNeutralBackgroundNegative: applyAlpha(palette.white, 0),
|
|
134
|
+
buttonLinkNeutralBackgroundNegativePressed: applyAlpha(palette.white, 0.15),
|
|
135
|
+
buttonLinkNeutralBackgroundMedia: applyAlpha(palette.white, 0),
|
|
136
|
+
buttonLinkNeutralBackgroundMediaPressed: applyAlpha(palette.white, 0.15),
|
|
129
137
|
buttonPrimaryBackground: palette.blauBlueSecondary,
|
|
130
138
|
buttonPrimaryBackgroundInverse: palette.blauBlueSecondary,
|
|
131
139
|
buttonPrimaryBackgroundNegative: palette.white,
|
|
@@ -191,9 +199,9 @@ export const getBlauSkin: GetKnownSkin = () => {
|
|
|
191
199
|
textLinkSnackbar: palette.blauPurple30,
|
|
192
200
|
textLinkNeutral: palette.grey6,
|
|
193
201
|
textLinkNeutralBrand: palette.grey6,
|
|
194
|
-
textLinkNeutralNegative: palette.
|
|
202
|
+
textLinkNeutralNegative: palette.white,
|
|
195
203
|
textLinkNeutralAlternative: palette.grey6,
|
|
196
|
-
textLinkNeutralMedia: palette.
|
|
204
|
+
textLinkNeutralMedia: palette.white,
|
|
197
205
|
textActivated: palette.blauBlueSecondary,
|
|
198
206
|
textBrand: palette.blauBlueSecondary,
|
|
199
207
|
inputBorder: palette.grey4,
|
|
@@ -381,6 +389,8 @@ export const getBlauSkin: GetKnownSkin = () => {
|
|
|
381
389
|
backgroundContainerNegative: palette.darkModeGrey,
|
|
382
390
|
backgroundContainerBrandOverBrand: palette.darkModeGrey,
|
|
383
391
|
backgroundContainerAlternative: palette.darkModeGrey,
|
|
392
|
+
backgroundContainerAlternativeOverAlternative: palette.darkModeGrey,
|
|
393
|
+
backgroundContainerAlternativeOverBrand: palette.darkModeGrey,
|
|
384
394
|
backgroundOverlay: applyAlpha(palette.darkModeGrey, 0.8),
|
|
385
395
|
backgroundSkeleton: palette.darkModeGrey,
|
|
386
396
|
backgroundSkeletonInverse: palette.darkModeGrey,
|
package/src/skins/esimflag.tsx
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated
|
|
3
|
+
* This file was automatically generated by the generate-design-tokens script.
|
|
4
|
+
* Do not edit it by hand: your changes will be overwritten the next time the script runs.
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
import {ESIMFLAG_SKIN} from './constants';
|
|
2
8
|
import {applyAlpha} from '../utils/color';
|
|
3
9
|
|
|
@@ -78,6 +84,8 @@ export const getEsimflagSkin: GetKnownSkin = () => {
|
|
|
78
84
|
backgroundContainerNegative: applyAlpha(palette.darkModeBlack, 0.6),
|
|
79
85
|
backgroundContainerBrandOverBrand: palette.blue80,
|
|
80
86
|
backgroundContainerAlternative: palette.grey1,
|
|
87
|
+
backgroundContainerAlternativeOverAlternative: palette.white,
|
|
88
|
+
backgroundContainerAlternativeOverBrand: palette.blue80,
|
|
81
89
|
backgroundOverlay: applyAlpha(palette.black, 0.6),
|
|
82
90
|
backgroundSkeleton: palette.grey2,
|
|
83
91
|
backgroundSkeletonInverse: palette.blue55,
|
|
@@ -120,12 +128,12 @@ export const getEsimflagSkin: GetKnownSkin = () => {
|
|
|
120
128
|
buttonLinkBackgroundBrandPressed: applyAlpha(palette.white, 0.08),
|
|
121
129
|
buttonLinkBackgroundMediaPressed: applyAlpha(palette.white, 0.08),
|
|
122
130
|
buttonLinkNeutralBackgroundPressed: applyAlpha(palette.grey3, 0.4),
|
|
123
|
-
buttonLinkNeutralBackgroundBrand: palette.white,
|
|
124
|
-
buttonLinkNeutralBackgroundBrandPressed: palette.
|
|
125
|
-
buttonLinkNeutralBackgroundNegative: palette.white,
|
|
126
|
-
buttonLinkNeutralBackgroundNegativePressed: palette.
|
|
127
|
-
buttonLinkNeutralBackgroundMedia: palette.
|
|
128
|
-
buttonLinkNeutralBackgroundMediaPressed: palette.
|
|
131
|
+
buttonLinkNeutralBackgroundBrand: applyAlpha(palette.white, 0),
|
|
132
|
+
buttonLinkNeutralBackgroundBrandPressed: applyAlpha(palette.white, 0.08),
|
|
133
|
+
buttonLinkNeutralBackgroundNegative: applyAlpha(palette.white, 0),
|
|
134
|
+
buttonLinkNeutralBackgroundNegativePressed: applyAlpha(palette.white, 0.08),
|
|
135
|
+
buttonLinkNeutralBackgroundMedia: applyAlpha(palette.white, 0),
|
|
136
|
+
buttonLinkNeutralBackgroundMediaPressed: applyAlpha(palette.white, 0.08),
|
|
129
137
|
buttonPrimaryBackground: palette.blue,
|
|
130
138
|
buttonPrimaryBackgroundInverse: palette.white,
|
|
131
139
|
buttonPrimaryBackgroundNegative: palette.white,
|
|
@@ -190,10 +198,10 @@ export const getEsimflagSkin: GetKnownSkin = () => {
|
|
|
190
198
|
textLinkDangerMedia: palette.tomato60,
|
|
191
199
|
textLinkSnackbar: palette.blue30,
|
|
192
200
|
textLinkNeutral: palette.blue85,
|
|
193
|
-
textLinkNeutralBrand: palette.
|
|
194
|
-
textLinkNeutralNegative: palette.
|
|
201
|
+
textLinkNeutralBrand: palette.white,
|
|
202
|
+
textLinkNeutralNegative: palette.white,
|
|
195
203
|
textLinkNeutralAlternative: palette.blue85,
|
|
196
|
-
textLinkNeutralMedia: palette.
|
|
204
|
+
textLinkNeutralMedia: palette.white,
|
|
197
205
|
textActivated: palette.blue,
|
|
198
206
|
textBrand: palette.blue,
|
|
199
207
|
inputBorder: palette.grey4,
|
|
@@ -385,6 +393,8 @@ export const getEsimflagSkin: GetKnownSkin = () => {
|
|
|
385
393
|
backgroundContainerNegative: palette.darkModeGrey,
|
|
386
394
|
backgroundContainerBrandOverBrand: palette.darkModeGrey,
|
|
387
395
|
backgroundContainerAlternative: palette.darkModeGrey,
|
|
396
|
+
backgroundContainerAlternativeOverAlternative: palette.darkModeGrey,
|
|
397
|
+
backgroundContainerAlternativeOverBrand: palette.darkModeGrey,
|
|
388
398
|
backgroundOverlay: applyAlpha(palette.darkModeGrey, 0.8),
|
|
389
399
|
backgroundSkeleton: palette.darkModeGrey6,
|
|
390
400
|
backgroundSkeletonInverse: palette.darkModeGrey6,
|
package/src/skins/movistar.tsx
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated
|
|
3
|
+
* This file was automatically generated by the generate-design-tokens script.
|
|
4
|
+
* Do not edit it by hand: your changes will be overwritten the next time the script runs.
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
import {MOVISTAR_SKIN} from './constants';
|
|
2
8
|
import {applyAlpha} from '../utils/color';
|
|
3
9
|
|
|
@@ -85,6 +91,8 @@ export const getMovistarSkin: GetKnownSkin = () => {
|
|
|
85
91
|
backgroundContainerNegative: applyAlpha(palette.movistarBlack, 0.2),
|
|
86
92
|
backgroundContainerBrandOverBrand: palette.blue800,
|
|
87
93
|
backgroundContainerAlternative: palette.grey100,
|
|
94
|
+
backgroundContainerAlternativeOverAlternative: palette.white,
|
|
95
|
+
backgroundContainerAlternativeOverBrand: palette.blue800,
|
|
88
96
|
backgroundOverlay: applyAlpha(palette.movistarBlack, 0.6),
|
|
89
97
|
backgroundSkeleton: palette.grey200,
|
|
90
98
|
backgroundSkeletonInverse: palette.blue800,
|
|
@@ -127,12 +135,12 @@ export const getMovistarSkin: GetKnownSkin = () => {
|
|
|
127
135
|
buttonLinkBackgroundBrandPressed: applyAlpha(palette.white, 0.3),
|
|
128
136
|
buttonLinkBackgroundMediaPressed: applyAlpha(palette.white, 0.3),
|
|
129
137
|
buttonLinkNeutralBackgroundPressed: palette.grey100,
|
|
130
|
-
buttonLinkNeutralBackgroundBrand: palette.white,
|
|
131
|
-
buttonLinkNeutralBackgroundBrandPressed: palette.
|
|
132
|
-
buttonLinkNeutralBackgroundNegative: palette.white,
|
|
133
|
-
buttonLinkNeutralBackgroundNegativePressed: palette.
|
|
134
|
-
buttonLinkNeutralBackgroundMedia: palette.white,
|
|
135
|
-
buttonLinkNeutralBackgroundMediaPressed: palette.
|
|
138
|
+
buttonLinkNeutralBackgroundBrand: applyAlpha(palette.white, 0),
|
|
139
|
+
buttonLinkNeutralBackgroundBrandPressed: applyAlpha(palette.white, 0.3),
|
|
140
|
+
buttonLinkNeutralBackgroundNegative: applyAlpha(palette.white, 0),
|
|
141
|
+
buttonLinkNeutralBackgroundNegativePressed: applyAlpha(palette.white, 0.3),
|
|
142
|
+
buttonLinkNeutralBackgroundMedia: applyAlpha(palette.white, 0),
|
|
143
|
+
buttonLinkNeutralBackgroundMediaPressed: applyAlpha(palette.white, 0.3),
|
|
136
144
|
buttonPrimaryBackground: palette.movistarBlue,
|
|
137
145
|
buttonPrimaryBackgroundInverse: palette.white,
|
|
138
146
|
buttonPrimaryBackgroundNegative: palette.white,
|
|
@@ -197,10 +205,10 @@ export const getMovistarSkin: GetKnownSkin = () => {
|
|
|
197
205
|
textLinkDangerMedia: palette.red,
|
|
198
206
|
textLinkSnackbar: palette.blue300,
|
|
199
207
|
textLinkNeutral: palette.movistarBlack,
|
|
200
|
-
textLinkNeutralBrand: palette.
|
|
201
|
-
textLinkNeutralNegative: palette.
|
|
208
|
+
textLinkNeutralBrand: palette.white,
|
|
209
|
+
textLinkNeutralNegative: palette.white,
|
|
202
210
|
textLinkNeutralAlternative: palette.movistarBlack,
|
|
203
|
-
textLinkNeutralMedia: palette.
|
|
211
|
+
textLinkNeutralMedia: palette.white,
|
|
204
212
|
textActivated: palette.blueHigh,
|
|
205
213
|
textBrand: palette.blueHigh,
|
|
206
214
|
inputBorder: palette.grey500,
|
|
@@ -392,6 +400,8 @@ export const getMovistarSkin: GetKnownSkin = () => {
|
|
|
392
400
|
backgroundContainerNegative: palette.darkModeGrey,
|
|
393
401
|
backgroundContainerBrandOverBrand: palette.darkModeGrey,
|
|
394
402
|
backgroundContainerAlternative: palette.darkModeGrey,
|
|
403
|
+
backgroundContainerAlternativeOverAlternative: palette.darkModeGrey,
|
|
404
|
+
backgroundContainerAlternativeOverBrand: palette.darkModeGrey,
|
|
395
405
|
backgroundOverlay: applyAlpha(palette.darkModeGrey, 0.8),
|
|
396
406
|
backgroundSkeleton: palette.grey600,
|
|
397
407
|
backgroundSkeletonInverse: palette.grey600,
|
package/src/skins/o2.tsx
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated
|
|
3
|
+
* This file was automatically generated by the generate-design-tokens script.
|
|
4
|
+
* Do not edit it by hand: your changes will be overwritten the next time the script runs.
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
import {O2_SKIN} from './constants';
|
|
2
8
|
import {applyAlpha} from '../utils/color';
|
|
3
9
|
|
|
@@ -81,6 +87,8 @@ export const getO2Skin: GetKnownSkin = () => {
|
|
|
81
87
|
backgroundContainerNegative: applyAlpha(palette.darkModeBlack, 0.4),
|
|
82
88
|
backgroundContainerBrandOverBrand: palette.beyondBlue70,
|
|
83
89
|
backgroundContainerAlternative: palette.grey20,
|
|
90
|
+
backgroundContainerAlternativeOverAlternative: palette.white,
|
|
91
|
+
backgroundContainerAlternativeOverBrand: palette.beyondBlue70,
|
|
84
92
|
backgroundOverlay: applyAlpha(palette.black, 0.6),
|
|
85
93
|
backgroundSkeleton: palette.grey30,
|
|
86
94
|
backgroundSkeletonInverse: palette.beyondBlue70,
|
|
@@ -123,12 +131,12 @@ export const getO2Skin: GetKnownSkin = () => {
|
|
|
123
131
|
buttonLinkBackgroundBrandPressed: applyAlpha(palette.white, 0.08),
|
|
124
132
|
buttonLinkBackgroundMediaPressed: applyAlpha(palette.white, 0.08),
|
|
125
133
|
buttonLinkNeutralBackgroundPressed: applyAlpha(palette.grey30, 0.4),
|
|
126
|
-
buttonLinkNeutralBackgroundBrand: palette.white,
|
|
127
|
-
buttonLinkNeutralBackgroundBrandPressed: palette.
|
|
128
|
-
buttonLinkNeutralBackgroundNegative: palette.white,
|
|
129
|
-
buttonLinkNeutralBackgroundNegativePressed: palette.
|
|
130
|
-
buttonLinkNeutralBackgroundMedia: palette.white,
|
|
131
|
-
buttonLinkNeutralBackgroundMediaPressed: palette.
|
|
134
|
+
buttonLinkNeutralBackgroundBrand: applyAlpha(palette.white, 0),
|
|
135
|
+
buttonLinkNeutralBackgroundBrandPressed: applyAlpha(palette.white, 0.08),
|
|
136
|
+
buttonLinkNeutralBackgroundNegative: applyAlpha(palette.white, 0),
|
|
137
|
+
buttonLinkNeutralBackgroundNegativePressed: applyAlpha(palette.white, 0.08),
|
|
138
|
+
buttonLinkNeutralBackgroundMedia: applyAlpha(palette.white, 0),
|
|
139
|
+
buttonLinkNeutralBackgroundMediaPressed: applyAlpha(palette.white, 0.08),
|
|
132
140
|
buttonPrimaryBackground: palette.beyondBlue,
|
|
133
141
|
buttonPrimaryBackgroundInverse: palette.white,
|
|
134
142
|
buttonPrimaryBackgroundNegative: palette.white,
|
|
@@ -193,10 +201,10 @@ export const getO2Skin: GetKnownSkin = () => {
|
|
|
193
201
|
textLinkDangerMedia: palette.o2Red65,
|
|
194
202
|
textLinkSnackbar: palette.beyondBlue30,
|
|
195
203
|
textLinkNeutral: palette.black,
|
|
196
|
-
textLinkNeutralBrand: palette.
|
|
197
|
-
textLinkNeutralNegative: palette.
|
|
204
|
+
textLinkNeutralBrand: palette.white,
|
|
205
|
+
textLinkNeutralNegative: palette.white,
|
|
198
206
|
textLinkNeutralAlternative: palette.black,
|
|
199
|
-
textLinkNeutralMedia: palette.
|
|
207
|
+
textLinkNeutralMedia: palette.white,
|
|
200
208
|
textActivated: palette.beyondBlue,
|
|
201
209
|
textBrand: palette.beyondBlue,
|
|
202
210
|
inputBorder: palette.grey45,
|
|
@@ -388,6 +396,8 @@ export const getO2Skin: GetKnownSkin = () => {
|
|
|
388
396
|
backgroundContainerNegative: palette.darkModeGrey,
|
|
389
397
|
backgroundContainerBrandOverBrand: palette.darkModeGrey,
|
|
390
398
|
backgroundContainerAlternative: palette.darkModeGrey,
|
|
399
|
+
backgroundContainerAlternativeOverAlternative: palette.darkModeGrey,
|
|
400
|
+
backgroundContainerAlternativeOverBrand: palette.darkModeGrey,
|
|
391
401
|
backgroundOverlay: applyAlpha(palette.darkModeGrey, 0.8),
|
|
392
402
|
backgroundSkeleton: palette.darkModeGrey6,
|
|
393
403
|
backgroundSkeletonInverse: palette.darkModeGrey6,
|
|
@@ -28,6 +28,8 @@ const colors: Colors = {
|
|
|
28
28
|
backgroundContainerNegative: '',
|
|
29
29
|
backgroundContainerBrandOverBrand: '',
|
|
30
30
|
backgroundContainerAlternative: '',
|
|
31
|
+
backgroundContainerAlternativeOverAlternative: '',
|
|
32
|
+
backgroundContainerAlternativeOverBrand: '',
|
|
31
33
|
backgroundOverlay: '',
|
|
32
34
|
backgroundSkeleton: '',
|
|
33
35
|
backgroundSkeletonInverse: '',
|
package/src/skins/telefonica.tsx
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated
|
|
3
|
+
* This file was automatically generated by the generate-design-tokens script.
|
|
4
|
+
* Do not edit it by hand: your changes will be overwritten the next time the script runs.
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
import {TELEFONICA_SKIN} from './constants';
|
|
2
8
|
import {applyAlpha} from '../utils/color';
|
|
3
9
|
|
|
@@ -70,6 +76,8 @@ export const getTelefonicaSkin: GetKnownSkin = () => {
|
|
|
70
76
|
backgroundContainerNegative: applyAlpha(palette.white, 0.1),
|
|
71
77
|
backgroundContainerBrandOverBrand: palette.telefonicaBlue70,
|
|
72
78
|
backgroundContainerAlternative: palette.grey1,
|
|
79
|
+
backgroundContainerAlternativeOverAlternative: palette.white,
|
|
80
|
+
backgroundContainerAlternativeOverBrand: palette.telefonicaBlue70,
|
|
73
81
|
backgroundBrand: palette.telefonicaBlue,
|
|
74
82
|
backgroundNegative: palette.grey9,
|
|
75
83
|
backgroundBrandSecondary: palette.telefonicaBlue,
|
|
@@ -124,12 +132,12 @@ export const getTelefonicaSkin: GetKnownSkin = () => {
|
|
|
124
132
|
buttonLinkBackgroundBrandPressed: applyAlpha(palette.white, 0.08),
|
|
125
133
|
buttonLinkBackgroundMediaPressed: applyAlpha(palette.white, 0.08),
|
|
126
134
|
buttonLinkNeutralBackgroundPressed: applyAlpha(palette.grey2, 0.4),
|
|
127
|
-
buttonLinkNeutralBackgroundBrand: palette.white,
|
|
128
|
-
buttonLinkNeutralBackgroundBrandPressed: palette.
|
|
129
|
-
buttonLinkNeutralBackgroundNegative: palette.white,
|
|
130
|
-
buttonLinkNeutralBackgroundNegativePressed: palette.
|
|
131
|
-
buttonLinkNeutralBackgroundMedia: palette.white,
|
|
132
|
-
buttonLinkNeutralBackgroundMediaPressed: palette.
|
|
135
|
+
buttonLinkNeutralBackgroundBrand: applyAlpha(palette.white, 0),
|
|
136
|
+
buttonLinkNeutralBackgroundBrandPressed: applyAlpha(palette.white, 0.08),
|
|
137
|
+
buttonLinkNeutralBackgroundNegative: applyAlpha(palette.white, 0),
|
|
138
|
+
buttonLinkNeutralBackgroundNegativePressed: applyAlpha(palette.white, 0.08),
|
|
139
|
+
buttonLinkNeutralBackgroundMedia: applyAlpha(palette.white, 0),
|
|
140
|
+
buttonLinkNeutralBackgroundMediaPressed: applyAlpha(palette.white, 0.08),
|
|
133
141
|
buttonPrimaryBackground: palette.telefonicaBlue,
|
|
134
142
|
buttonPrimaryBackgroundInverse: palette.white,
|
|
135
143
|
buttonPrimaryBackgroundNegative: palette.white,
|
|
@@ -194,10 +202,10 @@ export const getTelefonicaSkin: GetKnownSkin = () => {
|
|
|
194
202
|
textLinkDangerMedia: palette.coral60,
|
|
195
203
|
textLinkSnackbar: palette.telefonicaBlue30,
|
|
196
204
|
textLinkNeutral: palette.grey9,
|
|
197
|
-
textLinkNeutralBrand: palette.
|
|
198
|
-
textLinkNeutralNegative: palette.
|
|
205
|
+
textLinkNeutralBrand: palette.white,
|
|
206
|
+
textLinkNeutralNegative: palette.white,
|
|
199
207
|
textLinkNeutralAlternative: palette.grey9,
|
|
200
|
-
textLinkNeutralMedia: palette.
|
|
208
|
+
textLinkNeutralMedia: palette.white,
|
|
201
209
|
textActivated: palette.telefonicaBlue70,
|
|
202
210
|
textBrand: palette.telefonicaBlue70,
|
|
203
211
|
inputBorder: palette.grey5,
|
|
@@ -389,6 +397,8 @@ export const getTelefonicaSkin: GetKnownSkin = () => {
|
|
|
389
397
|
backgroundContainerNegative: palette.darkModeGrey,
|
|
390
398
|
backgroundContainerBrandOverBrand: palette.darkModeGrey,
|
|
391
399
|
backgroundContainerAlternative: palette.darkModeGrey,
|
|
400
|
+
backgroundContainerAlternativeOverAlternative: palette.darkModeGrey,
|
|
401
|
+
backgroundContainerAlternativeOverBrand: palette.darkModeGrey,
|
|
392
402
|
backgroundOverlay: applyAlpha(palette.darkModeGrey, 0.8),
|
|
393
403
|
backgroundSkeleton: palette.grey8,
|
|
394
404
|
backgroundSkeletonInverse: palette.grey8,
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated
|
|
3
|
+
* This file was automatically generated by the generate-design-tokens script.
|
|
4
|
+
* Do not edit it by hand: your changes will be overwritten the next time the script runs.
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
export type Colors = {
|
|
2
8
|
background: string;
|
|
3
9
|
backgroundAlternative: string;
|
|
@@ -24,6 +30,8 @@ export type Colors = {
|
|
|
24
30
|
backgroundContainerNegative: string;
|
|
25
31
|
backgroundContainerBrandOverBrand: string;
|
|
26
32
|
backgroundContainerAlternative: string;
|
|
33
|
+
backgroundContainerAlternativeOverAlternative: string;
|
|
34
|
+
backgroundContainerAlternativeOverBrand: string;
|
|
27
35
|
backgroundOverlay: string;
|
|
28
36
|
backgroundSkeleton: string;
|
|
29
37
|
backgroundSkeletonInverse: string;
|
|
@@ -46,6 +54,10 @@ export type Colors = {
|
|
|
46
54
|
border: string;
|
|
47
55
|
borderHigh: string;
|
|
48
56
|
borderSelected: string;
|
|
57
|
+
completedStep: string;
|
|
58
|
+
completedStepInverse: string;
|
|
59
|
+
completedStepNegative: string;
|
|
60
|
+
completedStepBrand: string;
|
|
49
61
|
coverBackgroundHover: string;
|
|
50
62
|
coverBackgroundPressed: string;
|
|
51
63
|
buttonDangerBackground: string;
|
|
@@ -146,10 +158,6 @@ export type Colors = {
|
|
|
146
158
|
inputBorderInverse: string;
|
|
147
159
|
inputBorderNegative: string;
|
|
148
160
|
inputBorderBrand: string;
|
|
149
|
-
completedStep: string;
|
|
150
|
-
completedStepInverse: string;
|
|
151
|
-
completedStepNegative: string;
|
|
152
|
-
completedStepBrand: string;
|
|
153
161
|
control: string;
|
|
154
162
|
controlActivated: string;
|
|
155
163
|
controlInverse: string;
|
|
@@ -207,13 +215,13 @@ export type Colors = {
|
|
|
207
215
|
textSecondaryNegative: string;
|
|
208
216
|
textSecondaryBrand: string;
|
|
209
217
|
textSecondaryMedia: string;
|
|
210
|
-
success: string;
|
|
211
|
-
warning: string;
|
|
212
218
|
error: string;
|
|
213
219
|
textError: string;
|
|
214
220
|
textErrorInverse: string;
|
|
215
221
|
textErrorNegative: string;
|
|
216
222
|
textErrorBrand: string;
|
|
223
|
+
success: string;
|
|
224
|
+
warning: string;
|
|
217
225
|
promo: string;
|
|
218
226
|
highlight: string;
|
|
219
227
|
successLow: string;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated
|
|
3
|
+
* This file was automatically generated by the generate-design-tokens script.
|
|
4
|
+
* Do not edit it by hand: your changes will be overwritten the next time the script runs.
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
import {VIVO_EVOLUTION_SKIN} from './constants';
|
|
2
8
|
import {applyAlpha} from '../utils/color';
|
|
3
9
|
|
|
@@ -115,6 +121,8 @@ export const getVivoEvolutionSkin: GetKnownSkin = () => {
|
|
|
115
121
|
backgroundContainerNegative: applyAlpha(palette.vivoNeutral950, 0.4),
|
|
116
122
|
backgroundContainerBrandOverBrand: palette.vivoPurple650,
|
|
117
123
|
backgroundContainerAlternative: palette.vivoNeutral25,
|
|
124
|
+
backgroundContainerAlternativeOverAlternative: palette.vivoNeutral150,
|
|
125
|
+
backgroundContainerAlternativeOverBrand: palette.vivoPurple800,
|
|
118
126
|
backgroundOverlay: applyAlpha(palette.vivoNeutral975, 0.6),
|
|
119
127
|
backgroundSkeleton: palette.vivoNeutral200,
|
|
120
128
|
backgroundSkeletonInverse: palette.vivoPurple900,
|
|
@@ -157,12 +165,12 @@ export const getVivoEvolutionSkin: GetKnownSkin = () => {
|
|
|
157
165
|
buttonLinkBackgroundBrandPressed: applyAlpha(palette.vivoNeutral0, 0.1),
|
|
158
166
|
buttonLinkBackgroundMediaPressed: applyAlpha(palette.vivoNeutral0, 0.1),
|
|
159
167
|
buttonLinkNeutralBackgroundPressed: palette.vivoNeutral100,
|
|
160
|
-
buttonLinkNeutralBackgroundBrand: palette.vivoNeutral0,
|
|
161
|
-
buttonLinkNeutralBackgroundBrandPressed: palette.
|
|
162
|
-
buttonLinkNeutralBackgroundNegative: palette.vivoNeutral0,
|
|
163
|
-
buttonLinkNeutralBackgroundNegativePressed: palette.
|
|
164
|
-
buttonLinkNeutralBackgroundMedia: palette.vivoNeutral0,
|
|
165
|
-
buttonLinkNeutralBackgroundMediaPressed: palette.
|
|
168
|
+
buttonLinkNeutralBackgroundBrand: applyAlpha(palette.vivoNeutral0, 0),
|
|
169
|
+
buttonLinkNeutralBackgroundBrandPressed: applyAlpha(palette.vivoNeutral0, 0.1),
|
|
170
|
+
buttonLinkNeutralBackgroundNegative: applyAlpha(palette.vivoNeutral0, 0),
|
|
171
|
+
buttonLinkNeutralBackgroundNegativePressed: applyAlpha(palette.vivoNeutral0, 0.1),
|
|
172
|
+
buttonLinkNeutralBackgroundMedia: applyAlpha(palette.vivoNeutral0, 0),
|
|
173
|
+
buttonLinkNeutralBackgroundMediaPressed: applyAlpha(palette.vivoNeutral0, 0.1),
|
|
166
174
|
buttonPrimaryBackground: palette.vivoPurple700,
|
|
167
175
|
buttonPrimaryBackgroundInverse: palette.vivoNeutral0,
|
|
168
176
|
buttonPrimaryBackgroundNegative: palette.vivoNeutral0,
|
|
@@ -227,10 +235,10 @@ export const getVivoEvolutionSkin: GetKnownSkin = () => {
|
|
|
227
235
|
textLinkDangerMedia: palette.vivoPepper600,
|
|
228
236
|
textLinkSnackbar: palette.vivoPurple100,
|
|
229
237
|
textLinkNeutral: palette.vivoNeutral975,
|
|
230
|
-
textLinkNeutralBrand: palette.
|
|
231
|
-
textLinkNeutralNegative: palette.
|
|
238
|
+
textLinkNeutralBrand: palette.vivoNeutral0,
|
|
239
|
+
textLinkNeutralNegative: palette.vivoNeutral0,
|
|
232
240
|
textLinkNeutralAlternative: palette.vivoNeutral975,
|
|
233
|
-
textLinkNeutralMedia: palette.
|
|
241
|
+
textLinkNeutralMedia: palette.vivoNeutral0,
|
|
234
242
|
textActivated: palette.vivoPurple700,
|
|
235
243
|
textBrand: palette.vivoPurple700,
|
|
236
244
|
inputBorder: palette.vivoNeutral500,
|
|
@@ -422,6 +430,8 @@ export const getVivoEvolutionSkin: GetKnownSkin = () => {
|
|
|
422
430
|
backgroundContainerNegative: palette.vivoNeutral900,
|
|
423
431
|
backgroundContainerBrandOverBrand: palette.vivoNeutral900,
|
|
424
432
|
backgroundContainerAlternative: palette.vivoNeutral900,
|
|
433
|
+
backgroundContainerAlternativeOverAlternative: palette.vivoNeutral150,
|
|
434
|
+
backgroundContainerAlternativeOverBrand: palette.vivoPurple800,
|
|
425
435
|
backgroundOverlay: applyAlpha(palette.vivoNeutral900, 0.8),
|
|
426
436
|
backgroundSkeleton: palette.vivoNeutral800,
|
|
427
437
|
backgroundSkeletonInverse: palette.vivoNeutral800,
|
|
@@ -834,7 +844,7 @@ export const getVivoEvolutionSkin: GetKnownSkin = () => {
|
|
|
834
844
|
right: {mobile: 16, desktop: 40},
|
|
835
845
|
},
|
|
836
846
|
boxedDefaultPadding: {left: {mobile: 16, desktop: 24}, right: {mobile: 16, desktop: 24}},
|
|
837
|
-
responsiveLayoutMargin: {mobile:
|
|
847
|
+
responsiveLayoutMargin: {mobile: 16, desktop: 48},
|
|
838
848
|
},
|
|
839
849
|
};
|
|
840
850
|
return skin;
|
package/src/skins/vivo.tsx
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated
|
|
3
|
+
* This file was automatically generated by the generate-design-tokens script.
|
|
4
|
+
* Do not edit it by hand: your changes will be overwritten the next time the script runs.
|
|
5
|
+
*/
|
|
6
|
+
|
|
1
7
|
import {VIVO_SKIN} from './constants';
|
|
2
8
|
import {applyAlpha} from '../utils/color';
|
|
3
9
|
|
|
@@ -71,6 +77,8 @@ export const getVivoSkin: GetKnownSkin = () => {
|
|
|
71
77
|
backgroundContainerNegative: applyAlpha(palette.darkModeBlack, 0.4),
|
|
72
78
|
backgroundContainerBrandOverBrand: palette.vivoPurpleDark,
|
|
73
79
|
backgroundContainerAlternative: palette.grey1,
|
|
80
|
+
backgroundContainerAlternativeOverAlternative: palette.white,
|
|
81
|
+
backgroundContainerAlternativeOverBrand: palette.vivoPurpleDark,
|
|
74
82
|
backgroundOverlay: applyAlpha(palette.grey6, 0.6),
|
|
75
83
|
backgroundSkeleton: palette.grey3,
|
|
76
84
|
backgroundSkeletonInverse: palette.vivoPurpleDark,
|
|
@@ -113,12 +121,12 @@ export const getVivoSkin: GetKnownSkin = () => {
|
|
|
113
121
|
buttonLinkBackgroundBrandPressed: applyAlpha(palette.white, 0.1),
|
|
114
122
|
buttonLinkBackgroundMediaPressed: applyAlpha(palette.white, 0.1),
|
|
115
123
|
buttonLinkNeutralBackgroundPressed: palette.grey2,
|
|
116
|
-
buttonLinkNeutralBackgroundBrand: palette.white,
|
|
117
|
-
buttonLinkNeutralBackgroundBrandPressed: palette.
|
|
118
|
-
buttonLinkNeutralBackgroundNegative: palette.white,
|
|
119
|
-
buttonLinkNeutralBackgroundNegativePressed: palette.
|
|
120
|
-
buttonLinkNeutralBackgroundMedia: palette.white,
|
|
121
|
-
buttonLinkNeutralBackgroundMediaPressed: palette.
|
|
124
|
+
buttonLinkNeutralBackgroundBrand: applyAlpha(palette.white, 0),
|
|
125
|
+
buttonLinkNeutralBackgroundBrandPressed: applyAlpha(palette.white, 0.1),
|
|
126
|
+
buttonLinkNeutralBackgroundNegative: applyAlpha(palette.white, 0),
|
|
127
|
+
buttonLinkNeutralBackgroundNegativePressed: applyAlpha(palette.white, 0.1),
|
|
128
|
+
buttonLinkNeutralBackgroundMedia: applyAlpha(palette.white, 0),
|
|
129
|
+
buttonLinkNeutralBackgroundMediaPressed: applyAlpha(palette.white, 0.1),
|
|
122
130
|
buttonPrimaryBackground: palette.vivoPurple,
|
|
123
131
|
buttonPrimaryBackgroundInverse: palette.white,
|
|
124
132
|
buttonPrimaryBackgroundNegative: palette.white,
|
|
@@ -183,10 +191,10 @@ export const getVivoSkin: GetKnownSkin = () => {
|
|
|
183
191
|
textLinkDangerMedia: palette.pepper,
|
|
184
192
|
textLinkSnackbar: palette.vivoPurpleLight20,
|
|
185
193
|
textLinkNeutral: palette.grey6,
|
|
186
|
-
textLinkNeutralBrand: palette.
|
|
187
|
-
textLinkNeutralNegative: palette.
|
|
194
|
+
textLinkNeutralBrand: palette.white,
|
|
195
|
+
textLinkNeutralNegative: palette.white,
|
|
188
196
|
textLinkNeutralAlternative: palette.grey6,
|
|
189
|
-
textLinkNeutralMedia: palette.
|
|
197
|
+
textLinkNeutralMedia: palette.white,
|
|
190
198
|
textActivated: palette.vivoPurple,
|
|
191
199
|
textBrand: palette.vivoPurple,
|
|
192
200
|
inputBorder: palette.grey4,
|
|
@@ -378,6 +386,8 @@ export const getVivoSkin: GetKnownSkin = () => {
|
|
|
378
386
|
backgroundContainerNegative: palette.darkModeGrey,
|
|
379
387
|
backgroundContainerBrandOverBrand: palette.darkModeGrey,
|
|
380
388
|
backgroundContainerAlternative: palette.darkModeGrey,
|
|
389
|
+
backgroundContainerAlternativeOverAlternative: palette.darkModeGrey,
|
|
390
|
+
backgroundContainerAlternativeOverBrand: palette.darkModeGrey,
|
|
381
391
|
backgroundOverlay: applyAlpha(palette.darkModeGrey, 0.8),
|
|
382
392
|
backgroundSkeleton: palette.darkModeGrey6,
|
|
383
393
|
backgroundSkeletonInverse: palette.darkModeGrey6,
|
|
@@ -115,6 +115,15 @@ export const interactiveArea = style({
|
|
|
115
115
|
});
|
|
116
116
|
|
|
117
117
|
export const container = style([
|
|
118
|
+
containerBase,
|
|
119
|
+
{
|
|
120
|
+
cursor: 'pointer',
|
|
121
|
+
display: 'inline-flex',
|
|
122
|
+
verticalAlign: 'bottom',
|
|
123
|
+
flexDirection: 'column',
|
|
124
|
+
},
|
|
125
|
+
]);
|
|
126
|
+
export const containerFullWidth = style([
|
|
118
127
|
containerBase,
|
|
119
128
|
{
|
|
120
129
|
cursor: 'pointer',
|
|
@@ -126,6 +135,17 @@ export const containerDisabled = style([
|
|
|
126
135
|
containerBase,
|
|
127
136
|
{
|
|
128
137
|
cursor: 'default',
|
|
138
|
+
display: 'inline-flex',
|
|
139
|
+
verticalAlign: 'bottom',
|
|
140
|
+
flexDirection: 'column',
|
|
141
|
+
},
|
|
142
|
+
]);
|
|
143
|
+
export const containerDisabledFullWidth = style([
|
|
144
|
+
containerBase,
|
|
145
|
+
{
|
|
146
|
+
cursor: 'default',
|
|
147
|
+
display: 'flex',
|
|
148
|
+
flexDirection: 'column',
|
|
129
149
|
},
|
|
130
150
|
]);
|
|
131
151
|
|
package/src/switch-component.tsx
CHANGED
|
@@ -155,7 +155,15 @@ const Switch = (props: PropsRender | PropsChildren): JSX.Element => {
|
|
|
155
155
|
onKeyDown={disabled ? undefined : handleKeyDown}
|
|
156
156
|
tabIndex={disabled ? undefined : 0}
|
|
157
157
|
ref={focusableRef}
|
|
158
|
-
className={
|
|
158
|
+
className={
|
|
159
|
+
props.render
|
|
160
|
+
? disabled
|
|
161
|
+
? styles.containerDisabledFullWidth
|
|
162
|
+
: styles.containerFullWidth
|
|
163
|
+
: disabled
|
|
164
|
+
? styles.containerDisabled
|
|
165
|
+
: styles.container
|
|
166
|
+
}
|
|
159
167
|
aria-disabled={disabled}
|
|
160
168
|
aria-label={props['aria-label']}
|
|
161
169
|
aria-labelledby={props['aria-label'] ? undefined : labelId}
|
package/src/text-tokens.tsx
CHANGED
|
@@ -37,6 +37,9 @@ export type Dictionary = {
|
|
|
37
37
|
mainNavigationBarOpenSectionMenu: string;
|
|
38
38
|
mainNavigationBarSectionSeeAll: string;
|
|
39
39
|
backNavigationBar: string;
|
|
40
|
+
sidenavExpand: string;
|
|
41
|
+
sidenavCollapse: string;
|
|
42
|
+
sidenavLandmark: string;
|
|
40
43
|
clearButton: string;
|
|
41
44
|
carouselRegion: string;
|
|
42
45
|
carouselPauseAutoplay: string;
|
|
@@ -349,6 +352,27 @@ export const backNavigationBar: TextToken = {
|
|
|
349
352
|
pt: 'Voltar',
|
|
350
353
|
};
|
|
351
354
|
|
|
355
|
+
export const sidenavExpand: TextToken = {
|
|
356
|
+
es: 'Expandir navegación',
|
|
357
|
+
en: 'Expand navigation',
|
|
358
|
+
de: 'Navigation ausklappen',
|
|
359
|
+
pt: 'Expandir navegação',
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
export const sidenavCollapse: TextToken = {
|
|
363
|
+
es: 'Contraer navegación',
|
|
364
|
+
en: 'Collapse navigation',
|
|
365
|
+
de: 'Navigation einklappen',
|
|
366
|
+
pt: 'Recolher navegação',
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
export const sidenavLandmark: TextToken = {
|
|
370
|
+
es: 'Navegación principal',
|
|
371
|
+
en: 'Main navigation',
|
|
372
|
+
de: 'Hauptnavigation',
|
|
373
|
+
pt: 'Navegação principal',
|
|
374
|
+
};
|
|
375
|
+
|
|
352
376
|
export const clearButton: TextToken = {
|
|
353
377
|
es: 'Borrar',
|
|
354
378
|
en: 'Clear',
|