@skyscanner/backpack-web 9.2.0-beta.1 → 9.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/bpk-animate-height/package.json +3 -3
- package/bpk-component-accordion/package.json +7 -7
- package/bpk-component-aria-live/package.json +7 -7
- package/bpk-component-autosuggest/package.json +4 -4
- package/bpk-component-badge/package.json +5 -5
- package/bpk-component-banner-alert/package.json +9 -9
- package/bpk-component-barchart/package.json +8 -8
- package/bpk-component-blockquote/package.json +2 -2
- package/bpk-component-breadcrumb/package.json +5 -5
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.module.scss +2 -2
- package/bpk-component-breakpoint/package.json +3 -3
- package/bpk-component-button/package.json +3 -3
- package/bpk-component-calendar/package.json +9 -9
- package/bpk-component-calendar/src/BpkCalendarGrid.js +3 -2
- package/bpk-component-card/package.json +4 -4
- package/bpk-component-checkbox/package.json +5 -5
- package/bpk-component-chip/package.json +5 -5
- package/bpk-component-close-button/package.json +4 -4
- package/bpk-component-code/package.json +2 -2
- package/bpk-component-content-container/package.json +2 -2
- package/bpk-component-datatable/package.json +4 -4
- package/bpk-component-datepicker/package.json +9 -9
- package/bpk-component-description-list/package.json +2 -2
- package/bpk-component-dialog/package.json +8 -8
- package/bpk-component-drawer/package.json +9 -9
- package/bpk-component-fieldset/package.json +12 -12
- package/bpk-component-flare/package.json +4 -4
- package/bpk-component-floating-notification/package.json +5 -5
- package/bpk-component-form-validation/package.json +10 -10
- package/bpk-component-graphic-promotion/package.json +4 -4
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo-test.tsx +6 -3
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.tsx +28 -24
- package/bpk-component-grid/package.json +2 -2
- package/bpk-component-grid-toggle/package.json +3 -3
- package/bpk-component-horizontal-nav/package.json +6 -6
- package/bpk-component-icon/package.json +7 -7
- package/bpk-component-image/package.json +6 -6
- package/bpk-component-infinite-scroll/package.json +6 -6
- package/bpk-component-input/package.json +6 -6
- package/bpk-component-label/package.json +2 -2
- package/bpk-component-link/package.json +4 -4
- package/bpk-component-list/package.json +2 -2
- package/bpk-component-loading-button/package.json +6 -6
- package/bpk-component-map/package.json +6 -6
- package/bpk-component-map/src/BpkIconMarker.module.scss +3 -3
- package/bpk-component-map/src/BpkIconMarkerBackground.module.scss +4 -4
- package/bpk-component-map/src/BpkPriceMarker.module.scss +17 -17
- package/bpk-component-map/src/DefaultLoadingElement.module.scss +1 -1
- package/bpk-component-mobile-scroll-container/package.json +3 -3
- package/bpk-component-modal/package.json +9 -9
- package/bpk-component-navigation-bar/package.json +8 -8
- package/bpk-component-nudger/package.json +7 -7
- package/bpk-component-overlay/package.json +4 -4
- package/bpk-component-pagination/package.json +4 -4
- package/bpk-component-panel/package.json +2 -2
- package/bpk-component-phone-input/package.json +9 -9
- package/bpk-component-popover/package.json +8 -8
- package/bpk-component-price/package.json +3 -3
- package/bpk-component-progress/package.json +5 -5
- package/bpk-component-radio/package.json +4 -4
- package/bpk-component-rating/package.json +4 -4
- package/bpk-component-rtl-toggle/package.json +2 -2
- package/bpk-component-scrollable-calendar/package.json +7 -7
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +100 -69
- package/bpk-component-scrollable-calendar/src/utils.js +24 -1
- package/bpk-component-section-list/package.json +6 -6
- package/bpk-component-select/package.json +3 -3
- package/bpk-component-skip-link/package.json +2 -2
- package/bpk-component-slider/package.json +4 -4
- package/bpk-component-spinner/package.json +3 -3
- package/bpk-component-split-input/package.json +3 -3
- package/bpk-component-star-rating/package.json +5 -5
- package/bpk-component-switch/package.json +2 -2
- package/bpk-component-table/package.json +2 -2
- package/bpk-component-text/package.json +2 -2
- package/bpk-component-textarea/package.json +4 -4
- package/bpk-component-theme-toggle/package.json +5 -5
- package/bpk-component-ticket/package.json +4 -4
- package/bpk-component-tooltip/package.json +4 -4
- package/bpk-scrim-utils/package.json +2 -2
- package/bpk-theming/package.json +2 -2
- package/package.json +6 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-drawer",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "Backpack drawer component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@skyscanner/bpk-foundations-web": "^
|
|
18
|
-
"bpk-component-close-button": "^4.0.
|
|
19
|
-
"bpk-component-icon": "^10.0.
|
|
20
|
-
"bpk-component-link": "^4.0.
|
|
21
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"@skyscanner/bpk-foundations-web": "^9.0.0",
|
|
18
|
+
"bpk-component-close-button": "^4.0.2",
|
|
19
|
+
"bpk-component-icon": "^10.0.2",
|
|
20
|
+
"bpk-component-link": "^4.0.2",
|
|
21
|
+
"bpk-mixins": "^31.5.0",
|
|
22
22
|
"bpk-react-utils": "^7.0.0",
|
|
23
|
-
"bpk-scrim-utils": "^6.0.
|
|
23
|
+
"bpk-scrim-utils": "^6.0.2",
|
|
24
24
|
"prop-types": "^15.7.2",
|
|
25
25
|
"react-transition-group": "^2.5.3"
|
|
26
26
|
},
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"react": "^17.0.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"bpk-component-button": "^7.0.
|
|
32
|
-
"bpk-component-text": "^8.0.
|
|
31
|
+
"bpk-component-button": "^7.0.2",
|
|
32
|
+
"bpk-component-text": "^8.0.2"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-fieldset",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "Backpack fieldset component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "4e4ec9add28e1db54d6a38a10c331bbd163f2926",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-form-validation": "^5.0.
|
|
18
|
-
"bpk-component-label": "^6.0.
|
|
19
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"bpk-component-form-validation": "^5.0.2",
|
|
18
|
+
"bpk-component-label": "^6.0.2",
|
|
19
|
+
"bpk-mixins": "^31.5.0",
|
|
20
20
|
"bpk-react-utils": "^7.0.0",
|
|
21
21
|
"prop-types": "^15.7.2"
|
|
22
22
|
},
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"react": "^17.0.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"bpk-component-autosuggest": "^7.0.
|
|
28
|
-
"bpk-component-button": "^7.0.
|
|
29
|
-
"bpk-component-calendar": "^12.0.
|
|
30
|
-
"bpk-component-checkbox": "^5.0.
|
|
31
|
-
"bpk-component-datepicker": "^18.0.
|
|
32
|
-
"bpk-component-input": "^7.0.
|
|
33
|
-
"bpk-component-select": "^6.0.
|
|
34
|
-
"bpk-component-textarea": "^5.0.
|
|
27
|
+
"bpk-component-autosuggest": "^7.0.2",
|
|
28
|
+
"bpk-component-button": "^7.0.2",
|
|
29
|
+
"bpk-component-calendar": "^12.0.2",
|
|
30
|
+
"bpk-component-checkbox": "^5.0.2",
|
|
31
|
+
"bpk-component-datepicker": "^18.0.2",
|
|
32
|
+
"bpk-component-input": "^7.0.2",
|
|
33
|
+
"bpk-component-select": "^6.0.2",
|
|
34
|
+
"bpk-component-textarea": "^5.0.2"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-flare",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Backpack FlareBar and ContentBubble component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
},
|
|
18
18
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"bpk-component-label": "^6.0.
|
|
21
|
-
"bpk-component-text": "^8.0.
|
|
22
|
-
"bpk-mixins": "^31.
|
|
20
|
+
"bpk-component-label": "^6.0.2",
|
|
21
|
+
"bpk-component-text": "^8.0.2",
|
|
22
|
+
"bpk-mixins": "^31.5.0",
|
|
23
23
|
"bpk-react-utils": "^7.0.0",
|
|
24
24
|
"prop-types": "^15.7.2"
|
|
25
25
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-floating-notification",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Backpack floating-notification component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"registry": "https://registry.npmjs.org/"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"bpk-component-aria-live": "^3.0.
|
|
17
|
-
"bpk-component-button": "^7.0.
|
|
18
|
-
"bpk-component-text": "^8.0.
|
|
19
|
-
"bpk-mixins": "^31.
|
|
16
|
+
"bpk-component-aria-live": "^3.0.2",
|
|
17
|
+
"bpk-component-button": "^7.0.2",
|
|
18
|
+
"bpk-component-text": "^8.0.2",
|
|
19
|
+
"bpk-mixins": "^31.5.0",
|
|
20
20
|
"bpk-react-utils": "^7.0.0",
|
|
21
21
|
"prop-types": "^15.5.8"
|
|
22
22
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-form-validation",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "Backpack form-validation component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-animate-height": "^5.0.
|
|
18
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"bpk-animate-height": "^5.0.2",
|
|
18
|
+
"bpk-mixins": "^31.5.0",
|
|
19
19
|
"bpk-react-utils": "^7.0.0",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"react": "^17.0.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@skyscanner/bpk-foundations-web": "^
|
|
27
|
-
"bpk-component-button": "^7.0.
|
|
28
|
-
"bpk-component-checkbox": "^5.0.
|
|
29
|
-
"bpk-component-icon": "^10.0.
|
|
30
|
-
"bpk-component-input": "^7.0.
|
|
31
|
-
"bpk-component-select": "^6.0.
|
|
32
|
-
"bpk-component-textarea": "^5.0.
|
|
26
|
+
"@skyscanner/bpk-foundations-web": "^9.0.0",
|
|
27
|
+
"bpk-component-button": "^7.0.2",
|
|
28
|
+
"bpk-component-checkbox": "^5.0.2",
|
|
29
|
+
"bpk-component-icon": "^10.0.2",
|
|
30
|
+
"bpk-component-input": "^7.0.2",
|
|
31
|
+
"bpk-component-select": "^6.0.2",
|
|
32
|
+
"bpk-component-textarea": "^5.0.2"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-graphic-promotion",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "Backpack graphic-promotion component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"registry": "https://registry.npmjs.org/"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"bpk-component-button": "^7.0.
|
|
17
|
-
"bpk-component-text": "^8.0.
|
|
18
|
-
"bpk-mixins": "^31.
|
|
16
|
+
"bpk-component-button": "^7.0.2",
|
|
17
|
+
"bpk-component-text": "^8.0.2",
|
|
18
|
+
"bpk-mixins": "^31.5.0",
|
|
19
19
|
"bpk-react-utils": "^7.0.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
|
|
19
19
|
import React from 'react';
|
|
20
20
|
import { fireEvent, render } from '@testing-library/react';
|
|
21
|
-
|
|
21
|
+
|
|
22
|
+
// @ts-expect-error Untyped import. Not added as a stub declaration so consumers still have the suppression in their node_modules when shipped untranspiled.
|
|
23
|
+
import { cssModules } from '../../bpk-react-utils';
|
|
22
24
|
|
|
23
25
|
import BpkGraphicPromo, { TEXT_ALIGN } from './BpkGraphicPromo';
|
|
24
26
|
import type { Props } from './BpkGraphicPromo';
|
|
@@ -40,6 +42,7 @@ const props: Props = {
|
|
|
40
42
|
'Portugal and 6 more countries have just been added to the UK travel green list',
|
|
41
43
|
tagline: 'Tagline',
|
|
42
44
|
textAlign: TEXT_ALIGN.start,
|
|
45
|
+
contentId: 'mock-content-id',
|
|
43
46
|
};
|
|
44
47
|
|
|
45
48
|
describe('BpkGraphicPromo', () => {
|
|
@@ -121,9 +124,9 @@ describe('BpkGraphicPromo', () => {
|
|
|
121
124
|
expect(props.onClick).toHaveBeenCalledTimes(1);
|
|
122
125
|
});
|
|
123
126
|
|
|
124
|
-
it('should render
|
|
127
|
+
it('should render as expected without a content ID', () => {
|
|
125
128
|
const { asFragment } = render(
|
|
126
|
-
<BpkGraphicPromo
|
|
129
|
+
<BpkGraphicPromo {...props} contentId={null} />,
|
|
127
130
|
);
|
|
128
131
|
|
|
129
132
|
expect(asFragment()).toMatchSnapshot();
|
|
@@ -17,9 +17,13 @@
|
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
import React from 'react';
|
|
20
|
-
|
|
21
|
-
import
|
|
22
|
-
import
|
|
20
|
+
|
|
21
|
+
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
22
|
+
import { cssModules } from '../../bpk-react-utils';
|
|
23
|
+
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
24
|
+
import BpkText from '../../bpk-component-text';
|
|
25
|
+
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
26
|
+
import BpkButton from '../../bpk-component-button';
|
|
23
27
|
|
|
24
28
|
import STYLES from './BpkGraphicPromo.module.scss';
|
|
25
29
|
|
|
@@ -41,45 +45,45 @@ export const TEXT_ALIGN = {
|
|
|
41
45
|
} as const;
|
|
42
46
|
|
|
43
47
|
export type Props = {
|
|
44
|
-
buttonText: string;
|
|
45
48
|
className?: string | null;
|
|
46
49
|
contentId?: string | null;
|
|
50
|
+
tagline?: string | null;
|
|
47
51
|
headline: string;
|
|
48
|
-
|
|
49
|
-
onClick: () => void;
|
|
52
|
+
subheading?: string | null;
|
|
50
53
|
sponsor?: {
|
|
51
54
|
label: string;
|
|
52
55
|
logo: string;
|
|
53
56
|
altText: string;
|
|
54
57
|
} | null;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
buttonText: string;
|
|
59
|
+
onClick: () => void;
|
|
60
|
+
invertVertically?: boolean;
|
|
58
61
|
textAlign: typeof TEXT_ALIGN[keyof typeof TEXT_ALIGN];
|
|
62
|
+
style?: {};
|
|
59
63
|
};
|
|
60
64
|
|
|
61
|
-
const constructAriaLabel = (
|
|
62
|
-
buttonText
|
|
63
|
-
headline
|
|
64
|
-
sponsor
|
|
65
|
-
subheading
|
|
66
|
-
tagline
|
|
67
|
-
|
|
65
|
+
const constructAriaLabel = ({
|
|
66
|
+
buttonText,
|
|
67
|
+
headline,
|
|
68
|
+
sponsor,
|
|
69
|
+
subheading,
|
|
70
|
+
tagline,
|
|
71
|
+
}: Pick<
|
|
72
|
+
Props,
|
|
73
|
+
'buttonText' | 'headline' | 'sponsor' | 'subheading' | 'tagline'
|
|
74
|
+
>) => {
|
|
68
75
|
const text: string[] = [];
|
|
69
|
-
const addText = (value
|
|
76
|
+
const addText = (value?: string | null) => value && text.push(value);
|
|
70
77
|
|
|
71
78
|
if (sponsor) {
|
|
72
79
|
addText(sponsor.label);
|
|
73
80
|
addText(sponsor.altText);
|
|
74
|
-
} else
|
|
81
|
+
} else {
|
|
75
82
|
addText(tagline);
|
|
76
83
|
}
|
|
77
84
|
|
|
78
|
-
if (subheading) {
|
|
79
|
-
addText(subheading);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
85
|
addText(headline);
|
|
86
|
+
addText(subheading);
|
|
83
87
|
addText(buttonText);
|
|
84
88
|
|
|
85
89
|
return text.join('. ');
|
|
@@ -125,13 +129,13 @@ const BpkGraphicPromo = ({
|
|
|
125
129
|
className={cardClasses}
|
|
126
130
|
style={style}
|
|
127
131
|
role="link"
|
|
128
|
-
aria-label={constructAriaLabel(
|
|
132
|
+
aria-label={constructAriaLabel({
|
|
129
133
|
buttonText,
|
|
130
134
|
headline,
|
|
131
135
|
sponsor,
|
|
132
136
|
subheading,
|
|
133
137
|
tagline,
|
|
134
|
-
)}
|
|
138
|
+
})}
|
|
135
139
|
tabIndex={0}
|
|
136
140
|
onClick={onClickWrapper}
|
|
137
141
|
onKeyDown={onKeyWrapper}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-grid",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "Backpack grid components.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"bpk-mixins": "^31.5.0",
|
|
18
18
|
"bpk-react-utils": "^7.0.0",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-grid-toggle",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "Backpack vertical grid toggle component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-link": "^4.0.
|
|
18
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"bpk-component-link": "^4.0.2",
|
|
18
|
+
"bpk-mixins": "^31.5.0",
|
|
19
19
|
"bpk-react-utils": "^7.0.0",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-horizontal-nav",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "Backpack horizontal nav component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-mobile-scroll-container": "^4.0.
|
|
18
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"bpk-component-mobile-scroll-container": "^4.0.2",
|
|
18
|
+
"bpk-mixins": "^31.5.0",
|
|
19
19
|
"bpk-react-utils": "^7.0.0",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"react": "^17.0.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@skyscanner/bpk-foundations-web": "^
|
|
27
|
-
"bpk-component-text": "^8.0.
|
|
28
|
-
"bpk-storybook-utils": "^2.0.
|
|
26
|
+
"@skyscanner/bpk-foundations-web": "^9.0.0",
|
|
27
|
+
"bpk-component-text": "^8.0.2",
|
|
28
|
+
"bpk-storybook-utils": "^2.0.2"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-icon",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.2",
|
|
4
4
|
"description": "Backpack icon components.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
},
|
|
18
18
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@skyscanner/bpk-foundations-web": "^
|
|
21
|
-
"@skyscanner/bpk-svgs": "^14.3.
|
|
22
|
-
"bpk-mixins": "^31.
|
|
20
|
+
"@skyscanner/bpk-foundations-web": "^9.0.0",
|
|
21
|
+
"@skyscanner/bpk-svgs": "^14.3.8",
|
|
22
|
+
"bpk-mixins": "^31.5.0",
|
|
23
23
|
"bpk-react-utils": "^7.0.0",
|
|
24
24
|
"prop-types": "^15.7.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"bpk-component-button": "^7.0.
|
|
28
|
-
"bpk-component-list": "^5.0.
|
|
29
|
-
"bpk-component-text": "^8.0.
|
|
27
|
+
"bpk-component-button": "^7.0.2",
|
|
28
|
+
"bpk-component-list": "^5.0.2",
|
|
29
|
+
"bpk-component-text": "^8.0.2"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": "^17.0.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-image",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "Backpack image component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@skyscanner/bpk-foundations-web": "^
|
|
18
|
-
"bpk-component-spinner": "^6.0.
|
|
19
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"@skyscanner/bpk-foundations-web": "^9.0.0",
|
|
18
|
+
"bpk-component-spinner": "^6.0.2",
|
|
19
|
+
"bpk-mixins": "^31.5.0",
|
|
20
20
|
"bpk-react-utils": "^7.0.0",
|
|
21
21
|
"prop-types": "^15.7.2",
|
|
22
22
|
"react-transition-group": "^2.5.3"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"react": "^17.0.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"bpk-component-mobile-scroll-container": "^4.0.
|
|
29
|
-
"bpk-component-text": "^8.0.
|
|
28
|
+
"bpk-component-mobile-scroll-container": "^4.0.2",
|
|
29
|
+
"bpk-component-text": "^8.0.2"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-infinite-scroll",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "Backpack infinite scroll component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"bpk-mixins": "^31.5.0",
|
|
18
18
|
"bpk-react-utils": "^7.0.0",
|
|
19
19
|
"intersection-observer": "^0.7.0",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"react": "^17.0.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"bpk-component-button": "^7.0.
|
|
27
|
-
"bpk-component-list": "^5.0.
|
|
28
|
-
"bpk-component-spinner": "^6.0.
|
|
29
|
-
"bpk-storybook-utils": "^2.0.
|
|
26
|
+
"bpk-component-button": "^7.0.2",
|
|
27
|
+
"bpk-component-list": "^5.0.2",
|
|
28
|
+
"bpk-component-spinner": "^6.0.2",
|
|
29
|
+
"bpk-storybook-utils": "^2.0.2"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-input",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "Backpack input component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "4e4ec9add28e1db54d6a38a10c331bbd163f2926",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-icon": "^10.0.
|
|
18
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"bpk-component-icon": "^10.0.2",
|
|
18
|
+
"bpk-mixins": "^31.5.0",
|
|
19
19
|
"bpk-react-utils": "^7.0.0",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"react": "^17.0.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"bpk-component-banner-alert": "^7.0.
|
|
27
|
-
"bpk-component-label": "^6.0.
|
|
28
|
-
"bpk-storybook-utils": "^2.0.
|
|
26
|
+
"bpk-component-banner-alert": "^7.0.2",
|
|
27
|
+
"bpk-component-label": "^6.0.2",
|
|
28
|
+
"bpk-storybook-utils": "^2.0.2"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-label",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "Backpack label component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"bpk-mixins": "^31.5.0",
|
|
18
18
|
"bpk-react-utils": "^7.0.0",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-link",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "Backpack link component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"bpk-mixins": "^31.5.0",
|
|
18
18
|
"bpk-react-utils": "^7.0.0",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"react": "^17.0.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@skyscanner/bpk-foundations-web": "^
|
|
26
|
-
"bpk-storybook-utils": "^2.0.
|
|
25
|
+
"@skyscanner/bpk-foundations-web": "^9.0.0",
|
|
26
|
+
"bpk-storybook-utils": "^2.0.2"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-list",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "Backpack list component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"bpk-mixins": "^31.5.0",
|
|
18
18
|
"bpk-react-utils": "^7.0.0",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-loading-button",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "Backpack loading button component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-button": "^7.0.
|
|
18
|
-
"bpk-component-icon": "^10.0.
|
|
19
|
-
"bpk-component-spinner": "^6.0.
|
|
20
|
-
"bpk-mixins": "^31.
|
|
17
|
+
"bpk-component-button": "^7.0.2",
|
|
18
|
+
"bpk-component-icon": "^10.0.2",
|
|
19
|
+
"bpk-component-spinner": "^6.0.2",
|
|
20
|
+
"bpk-mixins": "^31.5.0",
|
|
21
21
|
"bpk-react-utils": "^7.0.0",
|
|
22
22
|
"prop-types": "^15.7.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"bpk-storybook-utils": "^2.0.
|
|
25
|
+
"bpk-storybook-utils": "^2.0.2"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^17.0.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-map",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "Backpack map component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@react-google-maps/api": "^2.8.1",
|
|
18
|
-
"bpk-component-spinner": "^6.0.
|
|
19
|
-
"bpk-mixins": "^31.
|
|
18
|
+
"bpk-component-spinner": "^6.0.2",
|
|
19
|
+
"bpk-mixins": "^31.5.0",
|
|
20
20
|
"bpk-react-utils": "^7.0.0",
|
|
21
21
|
"prop-types": "^15.5.8"
|
|
22
22
|
},
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"react": "^17.0.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"bpk-component-icon": "^10.0.
|
|
28
|
-
"bpk-component-text": "^8.0.
|
|
29
|
-
"bpk-storybook-utils": "^2.0.
|
|
27
|
+
"bpk-component-icon": "^10.0.2",
|
|
28
|
+
"bpk-component-text": "^8.0.2",
|
|
29
|
+
"bpk-storybook-utils": "^2.0.2",
|
|
30
30
|
"prop-types": "^15.5.8"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -40,7 +40,7 @@ $bpk-spacing-v2: true;
|
|
|
40
40
|
// centre of the marker.
|
|
41
41
|
top: 0.3rem;
|
|
42
42
|
left: bpk-spacing-sm();
|
|
43
|
-
color: $bpk-
|
|
43
|
+
color: $bpk-surface-default-day;
|
|
44
44
|
|
|
45
45
|
> svg {
|
|
46
46
|
fill: currentColor;
|
|
@@ -54,7 +54,7 @@ $bpk-spacing-v2: true;
|
|
|
54
54
|
@include bpk-themeable-property(
|
|
55
55
|
color,
|
|
56
56
|
--bpk-icon-marker-default-disabled-color,
|
|
57
|
-
$bpk-
|
|
57
|
+
$bpk-status-success-spot-day
|
|
58
58
|
);
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -67,7 +67,7 @@ $bpk-spacing-v2: true;
|
|
|
67
67
|
@include bpk-themeable-property(
|
|
68
68
|
color,
|
|
69
69
|
--bpk-icon-marker-default-selected-color,
|
|
70
|
-
$bpk-
|
|
70
|
+
$bpk-status-success-spot-day
|
|
71
71
|
);
|
|
72
72
|
}
|
|
73
73
|
}
|