@skyscanner/backpack-web 16.1.0 → 17.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.
package/README.md CHANGED
@@ -40,7 +40,6 @@ To contribute please see [contributing.md](CONTRIBUTING.md).
40
40
  [`bpk-component-chip`](/packages/bpk-component-chip)
41
41
  [`bpk-component-close-button`](/packages/bpk-component-close-button)
42
42
  [`bpk-component-code`](/packages/bpk-component-code)
43
- [`bpk-component-content-container`](/packages/bpk-component-content-container)
44
43
  [`bpk-component-datatable`](/packages/bpk-component-datatable)
45
44
  [`bpk-component-datepicker`](/packages/bpk-component-datepicker)
46
45
  [`bpk-component-description-list`](/packages/bpk-component-description-list)
@@ -36,34 +36,34 @@ $bpk-spacing-v2: true;
36
36
  @include bpk-themeable-property(
37
37
  color,
38
38
  --bpk-calendar-date-text-color,
39
- $bpk-calendar-day-color
39
+ $bpk-text-primary-day
40
40
  );
41
41
 
42
42
  @include bpk-hover {
43
43
  &:not(.bpk-calendar-date--selected) {
44
- background-color: $bpk-calendar-day-hover-background-color;
44
+ background-color: $bpk-canvas-contrast-day;
45
45
 
46
46
  @include bpk-themeable-property(
47
47
  color,
48
48
  --bpk-calendar-date-text-hover-color,
49
- $bpk-calendar-day-hover-color
49
+ $bpk-text-primary-day
50
50
  );
51
51
  }
52
52
  }
53
53
 
54
54
  &:not(.bpk-calendar-date--selected):active {
55
- background-color: $bpk-calendar-day-active-background-color;
55
+ background-color: $bpk-canvas-contrast-day;
56
56
 
57
57
  @include bpk-themeable-property(
58
58
  color,
59
59
  --bpk-calendar-date-text-active-color,
60
- $bpk-calendar-day-active-color
60
+ $bpk-text-primary-day
61
61
  );
62
62
  }
63
63
 
64
64
  &--outside {
65
65
  background-color: transparent;
66
- color: $bpk-calendar-day-outside-color;
66
+ color: $bpk-text-disabled-day;
67
67
  }
68
68
 
69
69
  &--selected {
@@ -72,7 +72,7 @@ $bpk-spacing-v2: true;
72
72
  @include bpk-themeable-property(
73
73
  color,
74
74
  --bpk-calendar-date-text-selected-color,
75
- $bpk-calendar-day-selected-color
75
+ $bpk-text-primary-inverse-day
76
76
  );
77
77
  }
78
78
 
@@ -94,33 +94,29 @@ $bpk-spacing-v2: true;
94
94
  }
95
95
 
96
96
  &--focused:not(:disabled):not(.bpk-calendar-date--selected) {
97
- box-shadow: 0 0 0 2px $bpk-calendar-day-focused-border-color inset;
97
+ box-shadow: 0 0 0 2px $bpk-core-accent-day inset;
98
98
  box-shadow: 0 0 0 2px
99
- var(
100
- --bpk-calendar-date-focused-border-color,
101
- $bpk-calendar-day-focused-border-color
102
- )
103
- inset;
99
+ var(--bpk-calendar-date-focused-border-color, $bpk-core-accent-day) inset;
104
100
 
105
101
  @include bpk-themeable-property(
106
102
  color,
107
103
  --bpk-calendar-date-text-focus-color,
108
- $bpk-calendar-day-focused-color
104
+ $bpk-core-accent-day
109
105
  );
110
106
  }
111
107
 
112
108
  &:disabled,
113
109
  &--blocked {
114
110
  background-color: transparent;
115
- color: $bpk-calendar-day-disabled-color;
111
+ color: $bpk-text-disabled-day;
116
112
  cursor: not-allowed;
117
113
 
118
114
  @include bpk-hover {
119
- color: $bpk-calendar-day-disabled-color;
115
+ color: $bpk-text-disabled-day;
120
116
  }
121
117
 
122
118
  &:active {
123
- color: $bpk-calendar-day-disabled-color;
119
+ color: $bpk-text-disabled-day;
124
120
  }
125
121
  }
126
122
  }
@@ -47,14 +47,14 @@
47
47
  @include bpk-themeable-property(
48
48
  color,
49
49
  --bpk-calendar-nudger-icon-color,
50
- $bpk-calendar-nav-icon-fill
50
+ $bpk-text-primary-day
51
51
  );
52
52
 
53
53
  @include bpk-hover {
54
54
  @include bpk-themeable-property(
55
55
  color,
56
56
  --bpk-calendar-nudger-icon-hover-color,
57
- $bpk-calendar-nav-icon-hover-fill
57
+ $bpk-text-primary-day
58
58
  );
59
59
  }
60
60
 
@@ -62,7 +62,7 @@
62
62
  @include bpk-themeable-property(
63
63
  color,
64
64
  --bpk-calendar-nudger-icon-active-color,
65
- $bpk-calendar-nav-icon-active-fill
65
+ $bpk-text-primary-day
66
66
  );
67
67
  }
68
68
 
@@ -76,7 +76,7 @@
76
76
  cursor: not-allowed;
77
77
 
78
78
  .bpk-calendar-nav__icon {
79
- fill: $bpk-calendar-nav-icon-disabled-fill;
79
+ fill: $bpk-text-disabled-day;
80
80
  }
81
81
  }
82
82
  }
@@ -63,6 +63,10 @@ $bpk-spacing-v2: true;
63
63
  }
64
64
  }
65
65
 
66
+ &:disabled {
67
+ cursor: inherit;
68
+ }
69
+
66
70
  &-white {
67
71
  background-color: $bpk-surface-default-day;
68
72
  }
@@ -67,7 +67,7 @@ $bpk-spacing-v2: true;
67
67
  }
68
68
 
69
69
  &--headline {
70
- margin-bottom: $bpk-heading-margin-bottom;
70
+ margin-bottom: bpk-spacing-sm();
71
71
 
72
72
  @include bpk-heading-4;
73
73
  }
@@ -40,7 +40,7 @@ $bpk-spacing-v2: true;
40
40
  minmax($bpk-one-pixel-rem * 50, 1fr)
41
41
  );
42
42
  grid-auto-flow: column;
43
- gap: bpk-spacing-base();
43
+ gap: bpk-spacing-lg();
44
44
 
45
45
  @include bpk-breakpoint-small-tablet {
46
46
  grid-template-columns: 1fr;
@@ -47,5 +47,5 @@ export default () => (
47
47
  | borderRadiusStyle (deprecated) | BORDER_RADIUS_STYLES | false | BORDER_RADIUS_STYLES.none |
48
48
  | className | string | false | null |
49
49
  | foregroundContent | Node | false | null |
50
- | overlayType | oneOf(OVERLAY_TYPES) | false | null |
51
- | overlayLevel | oneOf(OVERLAY_LEVELS) | false | null |
50
+ | overlayType | oneOf(OVERLAY_TYPES) | false | OVERLAY_TYPES.solid |
51
+ | overlayLevel | oneOf(OVERLAY_LEVELS) | false | OVERLAY_LEVELS.low |
@@ -102,8 +102,8 @@ BpkOverlay.defaultProps = {
102
102
  borderRadiusStyle: null,
103
103
  className: null,
104
104
  foregroundContent: null,
105
- overlayType: null,
106
- overlayLevel: null,
105
+ overlayType: OVERLAY_TYPES.solid,
106
+ overlayLevel: OVERLAY_LEVELS.low,
107
107
  };
108
108
 
109
109
  export default BpkOverlay;
@@ -28,15 +28,15 @@ export default () =>
28
28
 
29
29
  ## Props
30
30
 
31
- | Property | PropType | Required | Default Value |
32
- |-----------------|----------------|----------|-----------------|
33
- | currentIndex | number | true | - |
34
- | totalIndicators | number | true | - |
35
- | indicatorLabel | string | true | - |
36
- | prevNavLabel | string | true | - |
37
- | nextNavLabel | string | true | - |
38
- | className | string | false | null |
39
- | showNav | bool | false | false |
40
- | variant | oneOf(VARIANT) | false | VARIANT.default |
41
- | onClick | func | false | null |
31
+ | Property | PropType | Required | Default Value |
32
+ |-----------------|-------------------------------------------|----------|-----------------|
33
+ | currentIndex | number | true | - |
34
+ | totalIndicators | number | true | - |
35
+ | indicatorLabel | string | true | - |
36
+ | prevNavLabel | string | true | - |
37
+ | nextNavLabel | string | true | - |
38
+ | className | string | false | null |
39
+ | showNav | bool | false | false |
40
+ | variant | oneOf(VARIANT.default, VARIANT.overImage) | false | VARIANT.default |
41
+ | onClick | func | false | null |
42
42
 
@@ -24,6 +24,7 @@ $bpk-spacing-v2: true;
24
24
  display: flex;
25
25
  margin: 0;
26
26
  padding: 0;
27
+ align-items: baseline;
27
28
  list-style: none;
28
29
 
29
30
  &__item {
@@ -26,7 +26,6 @@ $bpk-spacing-v2: true;
26
26
 
27
27
  &__button {
28
28
  height: $bpk-button-height;
29
- padding: 0 bpk-spacing-md();
30
29
  border: none;
31
30
  background: none;
32
31
  cursor: pointer;
@@ -34,6 +33,10 @@ $bpk-spacing-v2: true;
34
33
 
35
34
  @include bpk-button--link;
36
35
 
36
+ // Using stylelint-disable as we need to override padding provided by bpk-button--link otherwise it shifts the arrow buttons out of alignment.
37
+ /* stylelint-disable-next-line order/properties-order, order/order */
38
+ padding: 0;
39
+
37
40
  &:disabled {
38
41
  cursor: not-allowed;
39
42
  }
@@ -44,6 +44,10 @@ $bpk-radio-size: bpk-spacing-lg() - ($bpk-one-pixel-rem * 4);
44
44
  &__input {
45
45
  @include bpk-radio__input;
46
46
 
47
+ &:disabled {
48
+ cursor: inherit;
49
+ }
50
+
47
51
  &:checked {
48
52
  + .bpk-radio__circle {
49
53
  display: block;
@@ -19,12 +19,11 @@ import {
19
19
  horizontalNavLinkColor,
20
20
  horizontalNavLinkHoverColor,
21
21
  horizontalNavLinkActiveColor,
22
- calendarDayHoverColor,
23
- calendarDayActiveColor,
24
22
  colorSkyGrayTint02,
25
23
  colorSkyGrayTint06,
26
24
  colorWhite,
27
25
  colorMonteverde,
26
+ textPrimaryDay,
28
27
  } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
29
28
 
30
29
  const generateTheme = ({
@@ -159,8 +158,8 @@ const generateTheme = ({
159
158
  progressBarFillColor: primaryColor500,
160
159
 
161
160
  calendarDateTextColor: primaryColor500,
162
- calendarDateTextHoverColor: calendarDayHoverColor,
163
- calendarDateTextActiveColor: calendarDayActiveColor,
161
+ calendarDateTextHoverColor: textPrimaryDay,
162
+ calendarDateTextActiveColor: textPrimaryDay,
164
163
  calendarDateTextFocusColor: primaryColor500,
165
164
  calendarDateTextSelectedColor: colorWhite,
166
165
  calendarDateSelectedBackgroundColor: primaryColor700,
@@ -27,22 +27,19 @@
27
27
  z-index: $bpk-zindex-scrim;
28
28
  transition: opacity $bpk-duration-sm ease-in-out;
29
29
  background-color: $bpk-scrim-day;
30
-
31
- // We will need to remove this on hex launch as opacity will be built into the above colour.
32
- opacity: $bpk-scrim-opacity;
33
30
  overflow: hidden;
34
31
 
35
32
  &--full-screen {
36
33
  @include bpk-breakpoint-mobile {
37
- opacity: $bpk-scrim-mobile-opacity;
34
+ opacity: 1;
38
35
  }
39
36
  }
40
37
 
41
38
  &--appear {
42
- opacity: $bpk-scrim-initial-opacity;
39
+ opacity: 0;
43
40
  }
44
41
 
45
42
  &--appear-active {
46
- opacity: $bpk-scrim-opacity;
43
+ opacity: 0.7;
47
44
  }
48
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyscanner/backpack-web",
3
- "version": "16.1.0",
3
+ "version": "17.0.0",
4
4
  "description": "Backpack Design System web library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,11 +24,11 @@
24
24
  "dependencies": {
25
25
  "@popperjs/core": "^2.11.5",
26
26
  "@react-google-maps/api": "^2.12.0",
27
- "@skyscanner/bpk-foundations-web": "^13.0.0",
28
- "@skyscanner/bpk-svgs": "^16.0.0",
27
+ "@skyscanner/bpk-foundations-web": "^13.3.0",
28
+ "@skyscanner/bpk-svgs": "^16.0.5",
29
29
  "a11y-focus-scope": "^1.1.3",
30
30
  "a11y-focus-store": "^1.0.0",
31
- "bpk-mixins": "^36.1.1",
31
+ "bpk-mixins": "^37.1.0",
32
32
  "d3-path": "^2.0.0",
33
33
  "d3-scale": "^4.0.2",
34
34
  "date-fns": "^2.21.1",
@@ -1,31 +0,0 @@
1
- # bpk-component-content-container
2
-
3
- > Backpack content container component.
4
-
5
- ## Installation
6
-
7
- Check the main [Readme](https://github.com/skyscanner/backpack#usage) for a complete installation guide.
8
-
9
- ## Usage
10
-
11
- ```js
12
- import React from 'react';
13
- import BpkContentContainer from '@skyscanner/backpack-web/bpk-component-content-container';
14
-
15
- export default () => (
16
- <BpkContentContainer>
17
- <h1>My heading</h1>
18
- <p>My paragraph.</p>
19
- </BpkContentContainer>
20
- );
21
- ```
22
-
23
- ## Props
24
-
25
- | Property | PropType | Required | Default Value |
26
- | ----------------------- | -------------------------------------------- | -------- | ------------- |
27
- | children | - | false | null |
28
- | dangerouslySetInnerHTML | { __html: string } | false | null |
29
- | tagName | 'article', 'aside', 'div', 'main', 'section' | false | 'div' |
30
- | bareHtml | bool | false | false |
31
- | alternate | bool | false | false |
@@ -1,21 +0,0 @@
1
- /*
2
- * Backpack - Skyscanner's Design System
3
- *
4
- * Copyright 2016 Skyscanner Ltd
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
18
-
19
- import component from './src/BpkContentContainer';
20
-
21
- export default component;
@@ -1,85 +0,0 @@
1
- /*
2
- * Backpack - Skyscanner's Design System
3
- *
4
- * Copyright 2016 Skyscanner Ltd
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
18
-
19
- import PropTypes from 'prop-types';
20
- import React from 'react';
21
-
22
- import { cssModules } from '../../bpk-react-utils';
23
-
24
- import STYLES from './BpkContentContainer.module.scss';
25
-
26
- const getClassName = cssModules(STYLES);
27
-
28
- const BpkContentContainer = (props) => {
29
- const {
30
- alternate,
31
- bareHtml,
32
- children,
33
- className,
34
- dangerouslySetInnerHTML,
35
- tagName: TagName,
36
- ...rest
37
- } = props;
38
- const classNames = [getClassName('bpk-content-container')];
39
-
40
- if (bareHtml) {
41
- classNames.push(getClassName('bpk-content-container--bare-html'));
42
-
43
- if (alternate) {
44
- classNames.push(
45
- getClassName('bpk-content-container--bare-html-alternate'),
46
- );
47
- }
48
- }
49
-
50
- if (className) {
51
- classNames.push(className);
52
- }
53
-
54
- return (
55
- <TagName
56
- className={classNames.join(' ')}
57
- dangerouslySetInnerHTML={dangerouslySetInnerHTML}
58
- {...rest}
59
- >
60
- {children}
61
- </TagName>
62
- );
63
- };
64
-
65
- BpkContentContainer.propTypes = {
66
- children: PropTypes.node,
67
- dangerouslySetInnerHTML: PropTypes.shape({
68
- __html: PropTypes.string.isRequired,
69
- }),
70
- tagName: PropTypes.oneOf(['article', 'aside', 'div', 'main', 'section']),
71
- bareHtml: PropTypes.bool,
72
- alternate: PropTypes.bool,
73
- className: PropTypes.string,
74
- };
75
-
76
- BpkContentContainer.defaultProps = {
77
- children: null,
78
- dangerouslySetInnerHTML: null,
79
- tagName: 'div',
80
- bareHtml: false,
81
- alternate: false,
82
- className: null,
83
- };
84
-
85
- export default BpkContentContainer;
@@ -1,18 +0,0 @@
1
- /*
2
- * Backpack - Skyscanner's Design System
3
- *
4
- * Copyright 2016 Skyscanner Ltd
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
18
- @keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-content-container>h1:not(:first-child),.bpk-content-container>h2:not(:first-child),.bpk-content-container>h3:not(:first-child),.bpk-content-container>h4:not(:first-child){margin-top:1.875rem}.bpk-content-container>.bpk-content-container{margin-bottom:.75rem}.bpk-content-container>*:last-child{margin-bottom:0}.bpk-content-container--bare-html h1{margin-top:0;margin-bottom:.75rem;font-size:3rem;line-height:3.5rem;font-weight:700;letter-spacing:-.02em}@media (max-width: 32.25rem){.bpk-content-container--bare-html h1{font-size:2rem;line-height:2.5rem;font-weight:700}}.bpk-content-container--bare-html h2{margin-top:0;margin-bottom:.75rem;font-size:2rem;line-height:2.5rem;font-weight:700}@media (max-width: 32.25rem){.bpk-content-container--bare-html h2{font-size:1.5rem;line-height:2rem;font-weight:400}}.bpk-content-container--bare-html h3{margin-top:0;margin-bottom:.75rem;font-size:1.5rem;line-height:2rem;font-weight:400}@media (max-width: 32.25rem){.bpk-content-container--bare-html h3{font-size:1rem;line-height:1.5rem;font-weight:400;font-weight:700}}.bpk-content-container--bare-html h4{margin-top:0;margin-bottom:.375rem;font-size:1rem;line-height:1.5rem;font-weight:400}@media (max-width: 32.25rem){.bpk-content-container--bare-html h4{font-size:.75rem;line-height:1rem;font-weight:400;font-weight:700}}.bpk-content-container--bare-html h5{margin-top:0;margin-bottom:.75rem;font-size:.75rem;line-height:1rem;font-weight:400}@media (max-width: 32.25rem){.bpk-content-container--bare-html h5{font-size:.75rem;line-height:1rem;font-weight:400;font-weight:700}}.bpk-content-container--bare-html h6{margin-top:0;margin-bottom:.75rem;font-size:.75rem;line-height:1rem;font-weight:400}@media (max-width: 32.25rem){.bpk-content-container--bare-html h6{font-size:.75rem;line-height:1rem;font-weight:400;font-weight:700}}.bpk-content-container--bare-html a{padding:0;border:0;background-color:transparent;text-decoration:none;cursor:pointer;appearance:none;color:#0770e3;color:var(--bpk-link-color, #0770e3)}.bpk-no-touch-support .bpk-content-container--bare-html a:hover:not(:active):not(:disabled){text-decoration:underline;color:#084eb2;color:var(--bpk-link-hover-color, #084eb2)}:global(.bpk-no-touch-support) .bpk-content-container--bare-html a:hover:not(:active):not(:disabled){text-decoration:underline;color:#084eb2;color:var(--bpk-link-hover-color, #084eb2)}.bpk-content-container--bare-html a:visited{color:#0770e3;color:var(--bpk-link-visited-color, #0770e3)}.bpk-content-container--bare-html a:active{text-decoration:underline;color:#042759;color:var(--bpk-link-active-color, #042759)}.bpk-content-container--bare-html p{margin-top:0;margin-bottom:.375rem;font-size:1rem;line-height:1.5rem;font-weight:400}.bpk-content-container--bare-html ul,.bpk-content-container--bare-html ol{margin-top:0;margin-bottom:.75rem;padding-left:1.5rem}.bpk-content-container--bare-html ul ul,.bpk-content-container--bare-html ul ol,.bpk-content-container--bare-html ol ul,.bpk-content-container--bare-html ol ol{margin-top:0;margin-bottom:0}.bpk-content-container--bare-html ul li,.bpk-content-container--bare-html ol li{margin-top:0;margin-bottom:0}.bpk-content-container--bare-html table{width:100%;margin-bottom:0.5rem;border-collapse:collapse;table-layout:fixed;box-shadow:0 0 0 1px #dddde5 }.bpk-content-container--bare-html table td{padding:1rem}.bpk-content-container--bare-html table th{padding:1rem;background-color:#f1f2f8;font-weight:normal;text-align:left}html[dir='rtl'] .bpk-content-container--bare-html table th{text-align:right}.bpk-content-container--bare-html code{display:inline;padding:0 .375rem;background-color:#f1f2f8;color:#444560;text-align:left;text-shadow:0 .0625rem #fff;white-space:nowrap;vertical-align:bottom;border-radius:.25rem}html[dir='rtl'] .bpk-content-container--bare-html code{direction:ltr}.bpk-content-container--bare-html pre{margin:0 0 .75rem;padding:1.5rem;background-color:#f1f2f8;border-radius:.25rem}.bpk-content-container--bare-html pre>code{display:block;margin:0;padding:0;background-color:transparent;white-space:inherit;overflow:auto;-ms-overflow-style:none}.bpk-content-container--bare-html pre>code::-webkit-scrollbar{display:none}.bpk-content-container--bare-html blockquote{margin:0 0 1rem 0;padding:1.5rem;background-color:#f1f2f8;color:#68697f;box-shadow:2px 0 0 0 #0770e3 inset;box-shadow:2px 0 0 0 var(--bpk-blockquote-bar-color, #0770e3) inset}html[dir='rtl'] .bpk-content-container--bare-html blockquote{padding:1.5rem;border-left:0;box-shadow:-2px 0 0 0 #0770e3 inset;box-shadow:-2px 0 0 0 var(--bpk-blockquote-bar-color, #0770e3) inset}.bpk-content-container--bare-html blockquote>*:last-child{margin-bottom:0}.bpk-content-container--bare-html-alternate code{background-color:#cddff8;text-shadow:none}.bpk-content-container--bare-html-alternate pre{background-color:transparent;box-shadow:0 0 0 1px #b2b2bf inset}.bpk-content-container--bare-html-alternate pre>code{display:block;margin:0;padding:0;background-color:transparent;white-space:inherit;overflow:auto;-ms-overflow-style:none}.bpk-content-container--bare-html-alternate pre>code::-webkit-scrollbar{display:none}.bpk-content-container--bare-html-alternate table{box-shadow:0 0 0 1px #b2b2bf }.bpk-content-container--bare-html-alternate table th{background-color:#fff;text-align:left;font-weight:700}html[dir='rtl'] .bpk-content-container--bare-html-alternate table th{text-align:right}
@@ -1,41 +0,0 @@
1
- /*
2
- * Backpack - Skyscanner's Design System
3
- *
4
- * Copyright 2016 Skyscanner Ltd
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
18
-
19
- @import '~bpk-mixins/index.scss';
20
-
21
- .bpk-content-container {
22
- > {
23
- @include bpk-content-container;
24
-
25
- .bpk-content-container {
26
- margin-bottom: $bpk-spacing-sm;
27
- }
28
-
29
- *:last-child {
30
- margin-bottom: 0;
31
- }
32
- }
33
-
34
- &--bare-html {
35
- @include bpk-content-container--bare-html;
36
- }
37
-
38
- &--bare-html-alternate {
39
- @include bpk-content-container--bare-html-alternate;
40
- }
41
- }