barbican-reset 2.59.0 → 3.0.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 (38) hide show
  1. package/components/AccountTitle.vue +2 -0
  2. package/components/BrAlert.vue +2 -2
  3. package/components/BrButton/components.js +3 -6
  4. package/components/BrCard.vue +1 -1
  5. package/components/BrCollapse/Button.vue +12 -11
  6. package/components/BrConfirmDone.vue +4 -4
  7. package/components/BrConfirmEmail.vue +4 -4
  8. package/components/BrContainer.vue +2 -0
  9. package/components/BrFormBlock.vue +2 -0
  10. package/components/BrFormCheckboxGroup/Component.vue +1 -1
  11. package/components/BrFormPassword.vue +3 -3
  12. package/components/BrFormRow.vue +2 -2
  13. package/components/BrFormUpdate.vue +1 -1
  14. package/components/BrLoader.vue +1 -1
  15. package/components/EventSummary.vue +3 -1
  16. package/components/SeeInside.vue +4 -2
  17. package/components/VideoContent.vue +4 -2
  18. package/icons/account/index.js +9 -9
  19. package/icons/city_of_london_lockup.vue +1 -1
  20. package/icons/index.js +20 -10
  21. package/icons/stream/index.js +9 -9
  22. package/index.js +34 -34
  23. package/package.json +1 -1
  24. package/patterns/components/samples.pug +1 -1
  25. package/patterns/html/index.html +152 -1
  26. package/patterns/scss/styles.scss +2 -5
  27. package/patterns/static/styles.css +471 -532
  28. package/scss/_close-icon.scss +3 -3
  29. package/scss/_footer.scss +2 -3
  30. package/scss/_main.scss +1 -1
  31. package/scss/card/_membership.scss +1 -1
  32. package/scss/helpers/mixins/_br-skiplink.scss +3 -3
  33. package/scss/helpers/mixins/_content.scss +1 -1
  34. package/scss/helpers/mixins/_festival.scss +1 -1
  35. package/scss/helpers/mixins/_focus.scss +5 -5
  36. package/scss/helpers/mixins/input/_generic.scss +1 -1
  37. package/scss/helpers/variables/colors/_brand.scss +12 -10
  38. package/scss/helpers/variables/index.scss +1 -2
@@ -23,16 +23,16 @@
23
23
 
24
24
  &.focus-visible {
25
25
  @include single-box($c-grey-l21);
26
- background-color: $br-white;
26
+ background-color: white;
27
27
  border-radius: 50%;
28
28
 
29
29
  .outline,
30
30
  .cross {
31
- fill: $br-white;
31
+ fill: white;
32
32
  }
33
33
 
34
34
  .fill {
35
35
  fill: $c-grey-l21;
36
36
  }
37
37
  }
38
- }
38
+ }
package/scss/_footer.scss CHANGED
@@ -1,8 +1,7 @@
1
1
  footer {
2
- color: $br-white;
2
+ color: white;
3
3
 
4
4
  &:not(.splash) {
5
5
  background-color: $c-grey-l11;
6
6
  }
7
- }
8
-
7
+ }
package/scss/_main.scss CHANGED
@@ -5,7 +5,7 @@ main {
5
5
  &.concertSplash,
6
6
  &.theatreSplash {
7
7
  padding-top: 2rem;
8
- color: $br-white;
8
+ color: white;
9
9
 
10
10
  @include medium-up {
11
11
  padding-top: 4rem;
@@ -9,7 +9,7 @@ $c-yb-membership-card-3: #FE5A59;
9
9
  width: calc(100% - 1rem);
10
10
  display: inline-block;
11
11
  margin: 0.5rem;
12
- color: $br-white;
12
+ color: white;
13
13
  border: none;
14
14
 
15
15
  @include small-up {
@@ -1,10 +1,10 @@
1
1
  @mixin br-skiplink {
2
- border: 0.25rem solid $c-grey-l21;
3
- border-radius: $br-border-radius-lg;
4
- background-color: $br-white;
2
+ border: 1px solid $c-grey-l21;
3
+ background-color: white;
5
4
  color: $c-grey-l21;
6
5
  position: absolute;
7
6
  padding: 0.5rem;
7
+ margin: 0.5rem;
8
8
  z-index: -1;
9
9
  opacity: 0;
10
10
 
@@ -33,6 +33,6 @@
33
33
 
34
34
  @mixin card-container {
35
35
  border-radius: $br-border-radius-lg;
36
- background-color: $br-white;
36
+ background-color: white;
37
37
  overflow: hidden;
38
38
  }
@@ -25,7 +25,7 @@
25
25
  margin-right: auto;
26
26
  margin-left: auto;
27
27
  margin-top: -7rem;
28
- background: $br-white;
28
+ background: white;
29
29
  text-align: center;
30
30
  padding: 1.25rem;
31
31
 
@@ -43,8 +43,8 @@
43
43
  }
44
44
 
45
45
  // @mixin focus-tabs-dark {
46
- // @include single-box($br-white);
47
- // background-color: $br-white;
46
+ // @include single-box(white);
47
+ // background-color: white;
48
48
  // color: $black;
49
49
  // } // deprecated
50
50
 
@@ -54,17 +54,17 @@
54
54
  z-index: 2;
55
55
  }
56
56
 
57
- @mixin double-box($bg: $br-white, $col: $black, $bg_size: 0.25rem, $col_size: 0.15rem) {
57
+ @mixin double-box($bg: white, $col: $black, $bg_size: 0.25rem, $col_size: 0.15rem) {
58
58
  @include box-setup;
59
59
  box-shadow: 0 0 0 $bg_size $bg, 0 0 0 ($bg_size + $col_size) $col;
60
60
  }
61
61
 
62
- @mixin single-box($bg: $br-white, $size: 0.25rem) {
62
+ @mixin single-box($bg: white, $size: 0.25rem) {
63
63
  @include box-setup;
64
64
  box-shadow: 0 0 0 $size $bg;
65
65
  }
66
66
 
67
- @mixin link-focus($color: $c-grey-l11, $border: $br-white) {
67
+ @mixin link-focus($color: $c-grey-l11, $border: white) {
68
68
  @include focus {
69
69
  @include double-box($color, $border);
70
70
  background-color: $color;
@@ -58,7 +58,7 @@
58
58
  padding: 0.75rem 0.75rem 0.625rem 2.5rem;
59
59
  border-radius: $br-border-radius-lg;
60
60
  border: 1px solid $c-grey-l65;
61
- background-color: $br-white;
61
+ background-color: white;
62
62
  font-weight: normal;
63
63
  display: block;
64
64
 
@@ -34,10 +34,11 @@ $setup: (
34
34
  hire: $c-brand-generic,
35
35
  programme: $c-brand-programme,
36
36
  shop: $c-brand-shop,
37
- );
37
+ );
38
38
 
39
39
  /// brands map will contain a shade map for each color variable
40
- $brands: ();
40
+ $brands: (
41
+ );
41
42
 
42
43
  /// map-brands automates the process of creating tints/shades for individual colors.
43
44
  @function map-brands($color) {
@@ -48,7 +49,7 @@ $brands: ();
48
49
  base: $color,
49
50
  tint-40: tint($color, 40%),
50
51
  tint-70: tint($color, 70%),
51
- tint-85: tint($color, 85%),
52
+ tint-88: tint($color, 88%),
52
53
  tint-95: tint($color, 95%),
53
54
  tint-98: tint($color, 98%),
54
55
  );
@@ -56,17 +57,18 @@ $brands: ();
56
57
  }
57
58
 
58
59
  /// this process loops through the $setup map and creates a mappable value for each item, then merges the item into the $brands map
59
- @each $key, $value in $setup {
60
- $map: ();
61
- $map: map-merge($map, ($key: map-brands($value)));
62
- $brands: map-merge($brands, $map);
60
+ @each $key, $value in $setup {
61
+ $map: (
62
+ );
63
+ $map: map-merge($map, ($key: map-brands($value)));
64
+ $brands: map-merge($brands, $map);
63
65
  }
64
66
 
65
67
  /// utility function for referencing a color variant from the brands map
66
68
  /// @param {Map} $name - color reference from the $setup map
67
69
  /// @param {String} $variant - shade reference from the map-brands function
68
70
  @function brandColor($name, $variant: base) {
69
- @return map-get(map-get($brands, $name), $variant);
71
+ @return map-get(map-get($brands, $name), $variant);
70
72
  }
71
73
 
72
74
  $c-background-alt: brandColor(generic, tint-95);
@@ -74,14 +76,14 @@ $c-background-alt: brandColor(generic, tint-95);
74
76
  /// @deprecated $c-brand-cinema-dark
75
77
  $c-brand-cinema-dark: brandColor(cinema, shade-20);
76
78
  /// @deprecated $c-brand-shop-light
77
- $c-brand-shop-light: brandColor(shop, tint-85);
79
+ $c-brand-shop-light: brandColor(shop, tint-88);
78
80
  /// @deprecated $c-brand-shop-dark
79
81
  $c-brand-shop-dark: brandColor(shop, shade-20);
80
82
 
81
83
  /// @deprecated $c-brand-faint?
82
84
  $c-brand-generic-s60-l99: brandColor(generic, tint-95);
83
85
  /// @deprecated $c-brand-light?
84
- $c-brand-generic-s100-l95: brandColor(generic, tint-85);
86
+ $c-brand-generic-s100-l95: brandColor(generic, tint-88);
85
87
  /// @deprecated $c-brand-shade?
86
88
  $c-brand-generic-s50-l90: brandColor(generic, tint-70);
87
89
  /// @deprecated $c-brand-dark?
@@ -7,12 +7,11 @@
7
7
  $br-gray-300: #dee2e6;
8
8
  $br-gray-400: #ced4da;
9
9
  $br-gray-500: #adb5bd;
10
- $br-white: #ffffff;
10
+ $br-white: #ffffff; // deprecated
11
11
  $br-blue: #0d6efd;
12
12
  $br-input-border-color: #ced4da;
13
13
 
14
14
  $br-border-radius: 0.25rem;
15
- $br-border-radius-lg: 0.5rem;
16
15
 
17
16
  $br-font-size-base: 1rem;
18
17
  $br-font-size-lg: 1.25rem;