@skyscanner/bpk-foundations-web 19.0.0 → 19.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyscanner/bpk-foundations-web",
3
- "version": "19.0.0",
3
+ "version": "19.2.0",
4
4
  "description": "Common Backpack design tokens for colors, spacing, font, etc.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -17,8 +17,8 @@
17
17
  "tokens": "gulp"
18
18
  },
19
19
  "dependencies": {
20
- "@skyscanner/bpk-foundations-common": "^6.13.0",
20
+ "@skyscanner/bpk-foundations-common": "^6.14.0",
21
21
  "color": "^4.2.3"
22
22
  },
23
- "gitHead": "a88b0817b4896a748a3f32d8355b9b7d52f2960c"
23
+ "gitHead": "9011e9118cf4b4c6818da02419aeab18de4d6384"
24
24
  }
@@ -93,7 +93,7 @@ module.exports = {
93
93
  surfaceSubtleNight: "rgb(36, 51, 70)",
94
94
  surfaceElevatedDay: "rgb(255, 255, 255)",
95
95
  surfaceHighlightNight: "rgb(36, 51, 70)",
96
- surfaceLowContrastDay: "rgb(239, 243, 248)",
96
+ surfaceLowContrastDay: "rgb(247, 249, 251)",
97
97
  surfaceSubtleDay: "rgb(227, 240, 255)",
98
98
  surfaceHighlightDay: "rgb(224, 228, 233)",
99
99
  textOnDarkDay: "rgb(255, 255, 255)",
@@ -326,11 +326,12 @@ module.exports = {
326
326
  flareCornerRadius: "1.3125rem",
327
327
  inputLargeHeight: "3rem",
328
328
  inputBorder: "solid .0625rem #C1C7CF",
329
- selectBorderRadius: ".25rem",
329
+ selectBorderRadius: ".5rem",
330
330
  inputBackground: "#ffffff",
331
331
  inputBorderWidth: ".0625rem",
332
332
  labelDisabledColor: "rgba(0, 0, 0, 0.2)",
333
- inputBorderRadius: ".25rem",
333
+ inputLargeBorderRadius: ".75rem",
334
+ inputBorderRadius: ".5rem",
334
335
  selectDisabledBorderColor: "rgb(224, 228, 233)",
335
336
  inputDisabledColor: "rgba(0, 0, 0, 0.2)",
336
337
  inputPaddingX: ".5rem",
@@ -338,6 +339,7 @@ module.exports = {
338
339
  selectBorderWidth: ".0625rem",
339
340
  formValidationColor: "rgb(231, 8, 102)",
340
341
  inputHeight: "2.25rem",
342
+ selectLargeBorderRadius: ".75rem",
341
343
  inputDisabledBorderColor: "rgb(239, 243, 248)",
342
344
  horizontalNavBarSelectedColor: "rgb(0, 98, 227)",
343
345
  iconSizeSm: "1rem",
@@ -166,7 +166,7 @@ $bpk-surface-elevated-day: rgb(255, 255, 255) !default;
166
166
  /// @group surface-colors
167
167
  $bpk-surface-highlight-night: rgb(36, 51, 70) !default;
168
168
  /// @group surface-colors
169
- $bpk-surface-low-contrast-day: rgb(239, 243, 248) !default;
169
+ $bpk-surface-low-contrast-day: rgb(247, 249, 251) !default;
170
170
  /// @group surface-colors
171
171
  $bpk-surface-subtle-day: rgb(227, 240, 255) !default;
172
172
  /// @group surface-colors
@@ -632,7 +632,7 @@ $bpk-input-large-height: 3rem !default;
632
632
  /// @group forms
633
633
  $bpk-input-border: solid .0625rem #C1C7CF !default;
634
634
  /// @group forms
635
- $bpk-select-border-radius: .25rem !default;
635
+ $bpk-select-border-radius: .5rem !default;
636
636
  /// @group forms
637
637
  $bpk-input-background: #ffffff !default;
638
638
  /// @group forms
@@ -640,7 +640,9 @@ $bpk-input-border-width: .0625rem !default;
640
640
  /// @group forms
641
641
  $bpk-label-disabled-color: rgba(0, 0, 0, 0.2) !default;
642
642
  /// @group forms
643
- $bpk-input-border-radius: .25rem !default;
643
+ $bpk-input-large-border-radius: .75rem !default;
644
+ /// @group forms
645
+ $bpk-input-border-radius: .5rem !default;
644
646
  /// @group forms
645
647
  $bpk-select-disabled-border-color: rgb(224, 228, 233) !default;
646
648
  /// @group forms
@@ -656,6 +658,8 @@ $bpk-form-validation-color: rgb(231, 8, 102) !default;
656
658
  /// @group forms
657
659
  $bpk-input-height: 2.25rem !default;
658
660
  /// @group forms
661
+ $bpk-select-large-border-radius: .75rem !default;
662
+ /// @group forms
659
663
  $bpk-input-disabled-border-color: rgb(239, 243, 248) !default;
660
664
  /// @group horizontal-nav
661
665
  $bpk-horizontal-nav-bar-selected-color: rgb(0, 98, 227) !default;
@@ -91,7 +91,7 @@ export declare const surfaceLowContrastNight = "rgb(36, 51, 70)" as const;
91
91
  export declare const surfaceSubtleNight = "rgb(36, 51, 70)" as const;
92
92
  export declare const surfaceElevatedDay = "rgb(255, 255, 255)" as const;
93
93
  export declare const surfaceHighlightNight = "rgb(36, 51, 70)" as const;
94
- export declare const surfaceLowContrastDay = "rgb(239, 243, 248)" as const;
94
+ export declare const surfaceLowContrastDay = "rgb(247, 249, 251)" as const;
95
95
  export declare const surfaceSubtleDay = "rgb(227, 240, 255)" as const;
96
96
  export declare const surfaceHighlightDay = "rgb(224, 228, 233)" as const;
97
97
  export declare const textOnDarkDay = "rgb(255, 255, 255)" as const;
@@ -324,11 +324,12 @@ export declare const flareHeightMobile = "1rem" as const;
324
324
  export declare const flareCornerRadius = "1.3125rem" as const;
325
325
  export declare const inputLargeHeight = "3rem" as const;
326
326
  export declare const inputBorder = "solid .0625rem #C1C7CF" as const;
327
- export declare const selectBorderRadius = ".25rem" as const;
327
+ export declare const selectBorderRadius = ".5rem" as const;
328
328
  export declare const inputBackground = "#ffffff" as const;
329
329
  export declare const inputBorderWidth = ".0625rem" as const;
330
330
  export declare const labelDisabledColor = "rgba(0, 0, 0, 0.2)" as const;
331
- export declare const inputBorderRadius = ".25rem" as const;
331
+ export declare const inputLargeBorderRadius = ".75rem" as const;
332
+ export declare const inputBorderRadius = ".5rem" as const;
332
333
  export declare const selectDisabledBorderColor = "rgb(224, 228, 233)" as const;
333
334
  export declare const inputDisabledColor = "rgba(0, 0, 0, 0.2)" as const;
334
335
  export declare const inputPaddingX = ".5rem" as const;
@@ -336,6 +337,7 @@ export declare const inputPaddingY = ".5rem" as const;
336
337
  export declare const selectBorderWidth = ".0625rem" as const;
337
338
  export declare const formValidationColor = "rgb(231, 8, 102)" as const;
338
339
  export declare const inputHeight = "2.25rem" as const;
340
+ export declare const selectLargeBorderRadius = ".75rem" as const;
339
341
  export declare const inputDisabledBorderColor = "rgb(239, 243, 248)" as const;
340
342
  export declare const horizontalNavBarSelectedColor = "rgb(0, 98, 227)" as const;
341
343
  export declare const iconSizeSm = "1rem" as const;
@@ -618,6 +620,7 @@ selectBorderRadius,
618
620
  inputBackground,
619
621
  inputBorderWidth,
620
622
  labelDisabledColor,
623
+ inputLargeBorderRadius,
621
624
  inputBorderRadius,
622
625
  selectDisabledBorderColor,
623
626
  inputDisabledColor,
@@ -626,6 +629,7 @@ inputPaddingY,
626
629
  selectBorderWidth,
627
630
  formValidationColor,
628
631
  inputHeight,
632
+ selectLargeBorderRadius,
629
633
  inputDisabledBorderColor,
630
634
  } as const;
631
635
  export declare const horizontalNav = {
@@ -91,7 +91,7 @@ export const surfaceLowContrastNight = "rgb(36, 51, 70)";
91
91
  export const surfaceSubtleNight = "rgb(36, 51, 70)";
92
92
  export const surfaceElevatedDay = "rgb(255, 255, 255)";
93
93
  export const surfaceHighlightNight = "rgb(36, 51, 70)";
94
- export const surfaceLowContrastDay = "rgb(239, 243, 248)";
94
+ export const surfaceLowContrastDay = "rgb(247, 249, 251)";
95
95
  export const surfaceSubtleDay = "rgb(227, 240, 255)";
96
96
  export const surfaceHighlightDay = "rgb(224, 228, 233)";
97
97
  export const textOnDarkDay = "rgb(255, 255, 255)";
@@ -324,11 +324,12 @@ export const flareHeightMobile = "1rem";
324
324
  export const flareCornerRadius = "1.3125rem";
325
325
  export const inputLargeHeight = "3rem";
326
326
  export const inputBorder = "solid .0625rem #C1C7CF";
327
- export const selectBorderRadius = ".25rem";
327
+ export const selectBorderRadius = ".5rem";
328
328
  export const inputBackground = "#ffffff";
329
329
  export const inputBorderWidth = ".0625rem";
330
330
  export const labelDisabledColor = "rgba(0, 0, 0, 0.2)";
331
- export const inputBorderRadius = ".25rem";
331
+ export const inputLargeBorderRadius = ".75rem";
332
+ export const inputBorderRadius = ".5rem";
332
333
  export const selectDisabledBorderColor = "rgb(224, 228, 233)";
333
334
  export const inputDisabledColor = "rgba(0, 0, 0, 0.2)";
334
335
  export const inputPaddingX = ".5rem";
@@ -336,6 +337,7 @@ export const inputPaddingY = ".5rem";
336
337
  export const selectBorderWidth = ".0625rem";
337
338
  export const formValidationColor = "rgb(231, 8, 102)";
338
339
  export const inputHeight = "2.25rem";
340
+ export const selectLargeBorderRadius = ".75rem";
339
341
  export const inputDisabledBorderColor = "rgb(239, 243, 248)";
340
342
  export const horizontalNavBarSelectedColor = "rgb(0, 98, 227)";
341
343
  export const iconSizeSm = "1rem";
@@ -618,6 +620,7 @@ selectBorderRadius,
618
620
  inputBackground,
619
621
  inputBorderWidth,
620
622
  labelDisabledColor,
623
+ inputLargeBorderRadius,
621
624
  inputBorderRadius,
622
625
  selectDisabledBorderColor,
623
626
  inputDisabledColor,
@@ -626,6 +629,7 @@ inputPaddingY,
626
629
  selectBorderWidth,
627
630
  formValidationColor,
628
631
  inputHeight,
632
+ selectLargeBorderRadius,
629
633
  inputDisabledBorderColor,
630
634
  };
631
635
  export const horizontalNav = {
@@ -51,6 +51,9 @@
51
51
  "ERFOUD": {
52
52
  "value": "#ffb54d"
53
53
  },
54
+ "GREY_05": {
55
+ "value": "#F7F9FB"
56
+ },
54
57
  "NIGHT_GREEN_SPOT": {
55
58
  "value": "#62F1C6"
56
59
  },
@@ -1021,8 +1024,8 @@
1021
1024
  "SURFACE_LOW_CONTRAST_DAY": {
1022
1025
  "type": "color",
1023
1026
  "category": "surface-colors",
1024
- "value": "rgb(239, 243, 248)",
1025
- "originalValue": "{!GREY_10}",
1027
+ "value": "rgb(247, 249, 251)",
1028
+ "originalValue": "{!GREY_05}",
1026
1029
  "name": "SURFACE_LOW_CONTRAST_DAY"
1027
1030
  },
1028
1031
  "SURFACE_SUBTLE_DAY": {
@@ -2681,9 +2684,9 @@
2681
2684
  },
2682
2685
  "SELECT_BORDER_RADIUS": {
2683
2686
  "category": "forms",
2684
- "value": ".25rem",
2687
+ "value": ".5rem",
2685
2688
  "type": "radius",
2686
- "originalValue": "{!BORDER_RADIUS_XS}",
2689
+ "originalValue": "{!BORDER_RADIUS_SM}",
2687
2690
  "name": "SELECT_BORDER_RADIUS"
2688
2691
  },
2689
2692
  "INPUT_BACKGROUND": {
@@ -2707,11 +2710,18 @@
2707
2710
  "originalValue": "{!BLACK_ALPHA_20}",
2708
2711
  "name": "LABEL_DISABLED_COLOR"
2709
2712
  },
2713
+ "INPUT_LARGE_BORDER_RADIUS": {
2714
+ "category": "forms",
2715
+ "value": ".75rem",
2716
+ "type": "radius",
2717
+ "originalValue": "{!BORDER_RADIUS_MD}",
2718
+ "name": "INPUT_LARGE_BORDER_RADIUS"
2719
+ },
2710
2720
  "INPUT_BORDER_RADIUS": {
2711
2721
  "category": "forms",
2712
- "value": ".25rem",
2722
+ "value": ".5rem",
2713
2723
  "type": "radius",
2714
- "originalValue": "{!BORDER_RADIUS_XS}",
2724
+ "originalValue": "{!BORDER_RADIUS_SM}",
2715
2725
  "name": "INPUT_BORDER_RADIUS"
2716
2726
  },
2717
2727
  "SELECT_DISABLED_BORDER_COLOR": {
@@ -2763,6 +2773,13 @@
2763
2773
  "originalValue": "{!BUTTON_HEIGHT}",
2764
2774
  "name": "INPUT_HEIGHT"
2765
2775
  },
2776
+ "SELECT_LARGE_BORDER_RADIUS": {
2777
+ "category": "forms",
2778
+ "value": ".75rem",
2779
+ "type": "radius",
2780
+ "originalValue": "{!BORDER_RADIUS_MD}",
2781
+ "name": "SELECT_LARGE_BORDER_RADIUS"
2782
+ },
2766
2783
  "INPUT_DISABLED_BORDER_COLOR": {
2767
2784
  "category": "forms",
2768
2785
  "value": "rgb(239, 243, 248)",
package/tokens/base.scss CHANGED
@@ -166,7 +166,7 @@ $bpk-surface-elevated-day: rgb(255, 255, 255);
166
166
  /// @group surface-colors
167
167
  $bpk-surface-highlight-night: rgb(36, 51, 70);
168
168
  /// @group surface-colors
169
- $bpk-surface-low-contrast-day: rgb(239, 243, 248);
169
+ $bpk-surface-low-contrast-day: rgb(247, 249, 251);
170
170
  /// @group surface-colors
171
171
  $bpk-surface-subtle-day: rgb(227, 240, 255);
172
172
  /// @group surface-colors
@@ -632,7 +632,7 @@ $bpk-input-large-height: 3rem;
632
632
  /// @group forms
633
633
  $bpk-input-border: solid .0625rem #C1C7CF;
634
634
  /// @group forms
635
- $bpk-select-border-radius: .25rem;
635
+ $bpk-select-border-radius: .5rem;
636
636
  /// @group forms
637
637
  $bpk-input-background: #ffffff;
638
638
  /// @group forms
@@ -640,7 +640,9 @@ $bpk-input-border-width: .0625rem;
640
640
  /// @group forms
641
641
  $bpk-label-disabled-color: rgba(0, 0, 0, 0.2);
642
642
  /// @group forms
643
- $bpk-input-border-radius: .25rem;
643
+ $bpk-input-large-border-radius: .75rem;
644
+ /// @group forms
645
+ $bpk-input-border-radius: .5rem;
644
646
  /// @group forms
645
647
  $bpk-select-disabled-border-color: rgb(224, 228, 233);
646
648
  /// @group forms
@@ -656,6 +658,8 @@ $bpk-form-validation-color: rgb(231, 8, 102);
656
658
  /// @group forms
657
659
  $bpk-input-height: 2.25rem;
658
660
  /// @group forms
661
+ $bpk-select-large-border-radius: .75rem;
662
+ /// @group forms
659
663
  $bpk-input-disabled-border-color: rgb(239, 243, 248);
660
664
  /// @group horizontal-nav
661
665
  $bpk-horizontal-nav-bar-selected-color: rgb(0, 98, 227);