barbican-reset 2.21.0 → 2.22.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.
@@ -286,6 +286,47 @@
286
286
  }
287
287
  }
288
288
 
289
+ // Access Overlay Work -- Start
290
+
291
+ @mixin btn-membership-pill {
292
+ $colors: black, white;
293
+
294
+ @include outline-button($colors...);
295
+
296
+ @include focus {
297
+ @include outline-button-focus($colors...);
298
+ }
299
+
300
+ &[data-status="active"] {
301
+ @include outline-button-focus($colors...);
302
+ }
303
+ }
304
+
305
+ @mixin btn-priority-row {
306
+ @include btn-outline-primary;
307
+ @include display-button(flex, 0.5);
308
+ }
309
+
310
+ @mixin btn-login-to-book {
311
+ @include display-button(flex, 0.5);
312
+ @include btn-primary;
313
+ min-width: initial;
314
+ }
315
+
316
+ @mixin btn-sold-out {
317
+ @include display-button(flex, 0.5);
318
+ @include btn-secondary;
319
+ pointer-events: none;
320
+ min-width: initial;
321
+ }
322
+
323
+ @mixin btn-add-membership-to-basket {
324
+ @include solid-button($background:$c-brand-membership);
325
+ @include display-button(flex, 0.5);
326
+ }
327
+
328
+ // Access Overlay Work -- End
329
+
289
330
  @mixin btn-expand {
290
331
  display: block;
291
332
  }
package/package.json CHANGED
@@ -103,5 +103,5 @@
103
103
  "watch:patterns": "cd patterns && gulp watch"
104
104
  },
105
105
  "style": "dist/css/barbican-reset.css",
106
- "version": "2.21.0"
106
+ "version": "2.22.0"
107
107
  }
package/scss/_btn.scss CHANGED
@@ -123,6 +123,26 @@
123
123
  @include btn-discover;
124
124
  }
125
125
 
126
+ &.btn-membership-pill {
127
+ @include btn-membership-pill;
128
+ }
129
+
130
+ &.btn-priority-row {
131
+ @include btn-priority-row;
132
+ }
133
+
134
+ &.btn-login-to-book {
135
+ @include btn-login-to-book;
136
+ }
137
+
138
+ &.btn-sold-out {
139
+ @include btn-sold-out;
140
+ }
141
+
142
+ &.btn-add-membership-to-basket {
143
+ @include btn-add-membership-to-basket;
144
+ }
145
+
126
146
  // modifyers
127
147
 
128
148
  &.expand {