@skyscanner/backpack-web 10.0.0 → 11.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/bpk-animate-height/package.json +3 -3
- package/bpk-component-accordion/package.json +7 -7
- package/bpk-component-aria-live/{index.ts → index.js} +0 -0
- package/bpk-component-aria-live/package.json +8 -8
- package/bpk-component-aria-live/src/{BpkAriaLive.tsx → BpkAriaLive.js} +15 -8
- 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-breakpoint/package.json +3 -3
- package/bpk-component-button/package.json +3 -3
- package/bpk-component-calendar/package.json +9 -9
- 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-cards/{index.ts → index.js} +0 -0
- package/bpk-component-content-cards/package.json +4 -4
- package/bpk-component-content-cards/src/{BpkContentCard.tsx → BpkContentCard.js} +8 -9
- package/bpk-component-content-cards/src/{BpkContentCards.tsx → BpkContentCards.js} +8 -8
- 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/README.md +0 -8
- package/bpk-component-floating-notification/index.js +0 -2
- package/bpk-component-floating-notification/package.json +5 -5
- package/bpk-component-floating-notification/src/BpkFloatingNotification.js +7 -26
- package/bpk-component-floating-notification/src/BpkFloatingNotification.module.scss +4 -17
- package/bpk-component-form-validation/package.json +10 -10
- package/bpk-component-graphic-promotion/{index.ts → index.js} +0 -0
- package/bpk-component-graphic-promotion/package.json +5 -5
- package/bpk-component-graphic-promotion/src/{BpkGraphicPromo.tsx → BpkGraphicPromo.js} +26 -16
- 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-horizontal-nav/src/BpkHorizontalNav.module.scss +2 -2
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.module.scss +13 -13
- 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-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-navigation-bar/src/BpkNavigationBar.module.scss +2 -3
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.scss +4 -4
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.module.scss +3 -3
- 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 +6 -6
- 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 +4 -4
- package/bpk-component-aria-live/src/BpkAriaLive-test.tsx +0 -60
- package/bpk-component-aria-live/src/accessibility-test.tsx +0 -31
- package/bpk-component-content-cards/src/BpkContentCard-test.tsx +0 -88
- package/bpk-component-content-cards/src/BpkContentCards-test.tsx +0 -126
- package/bpk-component-content-cards/src/accessibility-test.tsx +0 -64
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo-test.tsx +0 -134
- package/bpk-component-graphic-promotion/src/accessibility-test.tsx +0 -147
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-animate-height",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "Animate height using CSS transitions.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"react": "^17.0.2"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@skyscanner/bpk-foundations-web": "^9.
|
|
24
|
-
"bpk-component-button": "^7.0.
|
|
23
|
+
"@skyscanner/bpk-foundations-web": "^9.3.0",
|
|
24
|
+
"bpk-component-button": "^7.0.4"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-accordion",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.3",
|
|
4
4
|
"description": "Backpack accordion component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-animate-height": "^5.0.
|
|
18
|
-
"bpk-component-icon": "^10.0.
|
|
19
|
-
"bpk-component-text": "^8.0.
|
|
20
|
-
"bpk-mixins": "^31.6.
|
|
17
|
+
"bpk-animate-height": "^5.0.4",
|
|
18
|
+
"bpk-component-icon": "^10.0.4",
|
|
19
|
+
"bpk-component-text": "^8.0.4",
|
|
20
|
+
"bpk-mixins": "^31.6.3",
|
|
21
21
|
"bpk-react-utils": "^7.0.0",
|
|
22
22
|
"prop-types": "^15.7.2"
|
|
23
23
|
},
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"react": "^17.0.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@skyscanner/bpk-foundations-web": "^9.
|
|
29
|
-
"bpk-component-checkbox": "^5.0.
|
|
28
|
+
"@skyscanner/bpk-foundations-web": "^9.3.0",
|
|
29
|
+
"bpk-component-checkbox": "^5.0.4"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-aria-live",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "Backpack aria-live component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,20 +8,20 @@
|
|
|
8
8
|
"url": "git@github.com:Skyscanner/backpack.git"
|
|
9
9
|
},
|
|
10
10
|
"author": "Backpack Design System <backpack@skyscanner.net>",
|
|
11
|
-
"main": "index.
|
|
11
|
+
"main": "index.js",
|
|
12
12
|
"publishConfig": {
|
|
13
13
|
"registry": "https://registry.npmjs.org/"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"bpk-mixins": "^31.6.
|
|
16
|
+
"bpk-mixins": "^31.6.3",
|
|
17
17
|
"bpk-react-utils": "^7.0.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"bpk-component-chip": "^6.0.
|
|
21
|
-
"bpk-component-code": "^4.0.
|
|
22
|
-
"bpk-component-fieldset": "^5.0.
|
|
23
|
-
"bpk-component-select": "^6.0.
|
|
24
|
-
"bpk-component-switch": "^3.0.
|
|
20
|
+
"bpk-component-chip": "^6.0.4",
|
|
21
|
+
"bpk-component-code": "^4.0.4",
|
|
22
|
+
"bpk-component-fieldset": "^5.0.4",
|
|
23
|
+
"bpk-component-select": "^6.0.4",
|
|
24
|
+
"bpk-component-switch": "^3.0.4"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": "^17.0.2"
|
|
@@ -30,17 +30,18 @@ export const POLITENESS_SETTINGS = {
|
|
|
30
30
|
off: 'off',
|
|
31
31
|
polite: 'polite',
|
|
32
32
|
assertive: 'assertive',
|
|
33
|
-
} as const;
|
|
33
|
+
}; // as const; // Temp disabling TS types due to non TS projects compatibility.
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
// Temp disabling TS types due to non TS projects compatibility.
|
|
36
|
+
// export type PolitenessSetting =
|
|
37
|
+
// typeof POLITENESS_SETTINGS[keyof typeof POLITENESS_SETTINGS];
|
|
37
38
|
|
|
38
39
|
export type Props = {
|
|
39
|
-
children: ReactElement | string
|
|
40
|
-
politenessSetting?: PolitenessSetting
|
|
41
|
-
visible?: boolean
|
|
42
|
-
className?: string | null
|
|
43
|
-
[rest: string]: any
|
|
40
|
+
children: ReactElement | string,
|
|
41
|
+
politenessSetting?: $Keys<typeof POLITENESS_SETTINGS>, // PolitenessSetting,
|
|
42
|
+
visible?: boolean,
|
|
43
|
+
className?: string | null,
|
|
44
|
+
[rest: string]: any, // Inexact rest. See decisions/inexact-rest.md
|
|
44
45
|
};
|
|
45
46
|
|
|
46
47
|
const BpkAriaLive = ({
|
|
@@ -58,4 +59,10 @@ const BpkAriaLive = ({
|
|
|
58
59
|
return <div aria-live={politenessSetting} className={classNames} {...rest} />;
|
|
59
60
|
};
|
|
60
61
|
|
|
62
|
+
BpkAriaLive.defaultProps = {
|
|
63
|
+
className: null,
|
|
64
|
+
politenessSetting: POLITENESS_SETTINGS.polite,
|
|
65
|
+
visible: false,
|
|
66
|
+
};
|
|
67
|
+
|
|
61
68
|
export default BpkAriaLive;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-autosuggest",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4",
|
|
4
4
|
"description": "Backpack autosuggest 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-input": "^7.0.
|
|
18
|
-
"bpk-mixins": "^31.6.
|
|
17
|
+
"bpk-component-input": "^7.0.4",
|
|
18
|
+
"bpk-mixins": "^31.6.3",
|
|
19
19
|
"bpk-react-utils": "^7.0.0",
|
|
20
20
|
"prop-types": "^15.7.2",
|
|
21
21
|
"react-autosuggest": "^9.4.3"
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"react": "^17.0.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"bpk-component-icon": "^10.0.
|
|
27
|
+
"bpk-component-icon": "^10.0.4"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-badge",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.3",
|
|
4
4
|
"description": "Backpack badge component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-mixins": "^31.6.
|
|
17
|
+
"bpk-mixins": "^31.6.3",
|
|
18
18
|
"bpk-react-utils": "^7.0.0",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"react": "^17.0.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@skyscanner/bpk-foundations-web": "^9.
|
|
26
|
-
"bpk-component-icon": "^10.0.
|
|
27
|
-
"bpk-storybook-utils": "^2.0.
|
|
25
|
+
"@skyscanner/bpk-foundations-web": "^9.3.0",
|
|
26
|
+
"bpk-component-icon": "^10.0.4",
|
|
27
|
+
"bpk-storybook-utils": "^2.0.4"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-banner-alert",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4",
|
|
4
4
|
"description": "Backpack banner alert component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "4e4ec9add28e1db54d6a38a10c331bbd163f2926",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@skyscanner/bpk-foundations-web": "^9.
|
|
18
|
-
"bpk-animate-height": "^5.0.
|
|
19
|
-
"bpk-component-close-button": "^4.0.
|
|
20
|
-
"bpk-component-icon": "^10.0.
|
|
21
|
-
"bpk-mixins": "^31.6.
|
|
17
|
+
"@skyscanner/bpk-foundations-web": "^9.3.0",
|
|
18
|
+
"bpk-animate-height": "^5.0.4",
|
|
19
|
+
"bpk-component-close-button": "^4.0.4",
|
|
20
|
+
"bpk-component-icon": "^10.0.4",
|
|
21
|
+
"bpk-mixins": "^31.6.3",
|
|
22
22
|
"bpk-react-utils": "^7.0.0",
|
|
23
23
|
"prop-types": "^15.7.2",
|
|
24
24
|
"react-transition-group": "^2.5.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"bpk-component-aria-live": "^3.1.
|
|
28
|
-
"bpk-component-button": "^7.0.
|
|
29
|
-
"bpk-storybook-utils": "^2.0.
|
|
27
|
+
"bpk-component-aria-live": "^3.1.1",
|
|
28
|
+
"bpk-component-button": "^7.0.4",
|
|
29
|
+
"bpk-storybook-utils": "^2.0.4"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": "^17.0.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-barchart",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "Backpack bar chart 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": "^9.
|
|
18
|
-
"bpk-component-mobile-scroll-container": "^4.0.
|
|
19
|
-
"bpk-mixins": "^31.6.
|
|
17
|
+
"@skyscanner/bpk-foundations-web": "^9.3.0",
|
|
18
|
+
"bpk-component-mobile-scroll-container": "^4.0.4",
|
|
19
|
+
"bpk-mixins": "^31.6.3",
|
|
20
20
|
"bpk-react-utils": "^7.0.0",
|
|
21
21
|
"d3-path": "^2.0.0",
|
|
22
22
|
"d3-scale": "^4.0.2",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"react": "^17.0.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"bpk-component-breakpoint": "^5.0.
|
|
31
|
-
"bpk-component-content-container": "^6.0.
|
|
32
|
-
"bpk-component-rtl-toggle": "^4.0.
|
|
33
|
-
"bpk-component-text": "^8.0.
|
|
30
|
+
"bpk-component-breakpoint": "^5.0.4",
|
|
31
|
+
"bpk-component-content-container": "^6.0.4",
|
|
32
|
+
"bpk-component-rtl-toggle": "^4.0.4",
|
|
33
|
+
"bpk-component-text": "^8.0.4"
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-blockquote",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
4
4
|
"description": "Backpack blockquote 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.6.
|
|
17
|
+
"bpk-mixins": "^31.6.3",
|
|
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-breadcrumb",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "Backpack breadcrumb component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-icon": "^10.0.
|
|
18
|
-
"bpk-component-link": "^4.0.
|
|
19
|
-
"bpk-component-text": "^8.0.
|
|
20
|
-
"bpk-mixins": "^31.6.
|
|
17
|
+
"bpk-component-icon": "^10.0.4",
|
|
18
|
+
"bpk-component-link": "^4.0.4",
|
|
19
|
+
"bpk-component-text": "^8.0.4",
|
|
20
|
+
"bpk-mixins": "^31.6.3",
|
|
21
21
|
"bpk-react-utils": "^7.0.0",
|
|
22
22
|
"prop-types": "^15.7.2"
|
|
23
23
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-breakpoint",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "Backpack breakpoint 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.6.
|
|
17
|
+
"bpk-mixins": "^31.6.3",
|
|
18
18
|
"bpk-react-utils": "^7.0.0",
|
|
19
19
|
"prop-types": "^15.7.2",
|
|
20
20
|
"react-responsive": "^8.2.0"
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"react": "^17.0.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@skyscanner/bpk-foundations-web": "^9.
|
|
26
|
+
"@skyscanner/bpk-foundations-web": "^9.3.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-button",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4",
|
|
4
4
|
"description": "Backpack button component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-mixins": "^31.6.
|
|
17
|
+
"bpk-mixins": "^31.6.3",
|
|
18
18
|
"prop-types": "^15.7.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"bpk-storybook-utils": "^2.0.
|
|
21
|
+
"bpk-storybook-utils": "^2.0.4"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^17.0.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-calendar",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.1",
|
|
4
4
|
"description": "Backpack calendar component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "4e4ec9add28e1db54d6a38a10c331bbd163f2926",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@skyscanner/bpk-foundations-web": "^9.
|
|
18
|
-
"bpk-component-aria-live": "^3.1.
|
|
19
|
-
"bpk-component-icon": "^10.0.
|
|
20
|
-
"bpk-component-select": "^6.0.
|
|
21
|
-
"bpk-mixins": "^31.6.
|
|
17
|
+
"@skyscanner/bpk-foundations-web": "^9.3.0",
|
|
18
|
+
"bpk-component-aria-live": "^3.1.1",
|
|
19
|
+
"bpk-component-icon": "^10.0.4",
|
|
20
|
+
"bpk-component-select": "^6.0.4",
|
|
21
|
+
"bpk-mixins": "^31.6.3",
|
|
22
22
|
"bpk-react-utils": "^7.0.0",
|
|
23
23
|
"date-fns": "^2.21.1",
|
|
24
24
|
"prop-types": "^15.7.2"
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"react": "^17.0.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"bpk-component-button": "^7.0.
|
|
31
|
-
"bpk-component-text": "^8.0.
|
|
32
|
-
"bpk-storybook-utils": "^2.0.
|
|
30
|
+
"bpk-component-button": "^7.0.4",
|
|
31
|
+
"bpk-component-text": "^8.0.4",
|
|
32
|
+
"bpk-storybook-utils": "^2.0.4"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-card",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.3",
|
|
4
4
|
"description": "Backpack card component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-mixins": "^31.6.
|
|
17
|
+
"bpk-mixins": "^31.6.3",
|
|
18
18
|
"bpk-react-utils": "^7.0.0",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"bpk-component-link": "^4.0.
|
|
23
|
-
"bpk-component-text": "^8.0.
|
|
22
|
+
"bpk-component-link": "^4.0.4",
|
|
23
|
+
"bpk-component-text": "^8.0.4"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^17.0.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-checkbox",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "Backpack checkbox 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-icon": "^10.0.
|
|
18
|
-
"bpk-mixins": "^31.6.
|
|
17
|
+
"bpk-component-icon": "^10.0.4",
|
|
18
|
+
"bpk-mixins": "^31.6.3",
|
|
19
19
|
"bpk-react-utils": "^7.0.0",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"react": "^17.0.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@skyscanner/bpk-foundations-web": "^9.
|
|
27
|
-
"bpk-storybook-utils": "^2.0.
|
|
26
|
+
"@skyscanner/bpk-foundations-web": "^9.3.0",
|
|
27
|
+
"bpk-storybook-utils": "^2.0.4"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-chip",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.4",
|
|
4
4
|
"description": "Backpack chip 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.6.
|
|
17
|
+
"bpk-component-icon": "^10.0.4",
|
|
18
|
+
"bpk-mixins": "^31.6.3",
|
|
19
19
|
"bpk-react-utils": "^7.0.0",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"react": "^17.0.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"bpk-component-aria-live": "^3.1.
|
|
27
|
-
"bpk-component-text": "^8.0.
|
|
26
|
+
"bpk-component-aria-live": "^3.1.1",
|
|
27
|
+
"bpk-component-text": "^8.0.4"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-close-button",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "Backpack close button component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-icon": "^10.0.
|
|
18
|
-
"bpk-mixins": "^31.6.
|
|
17
|
+
"bpk-component-icon": "^10.0.4",
|
|
18
|
+
"bpk-mixins": "^31.6.3",
|
|
19
19
|
"bpk-react-utils": "^7.0.0",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"bpk-storybook-utils": "^2.0.
|
|
23
|
+
"bpk-storybook-utils": "^2.0.4"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^17.0.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-code",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "Backpack code 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.6.
|
|
17
|
+
"bpk-mixins": "^31.6.3",
|
|
18
18
|
"bpk-react-utils": "^7.0.0",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-content-cards",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Backpack content-cards component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
"url": "git@github.com:Skyscanner/backpack.git"
|
|
9
9
|
},
|
|
10
10
|
"author": "Backpack Design System <backpack@skyscanner.net>",
|
|
11
|
-
"main": "index.
|
|
11
|
+
"main": "index.js",
|
|
12
12
|
"publishConfig": {
|
|
13
13
|
"registry": "https://registry.npmjs.org/"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"bpk-component-text": "^8.0.
|
|
17
|
-
"bpk-mixins": "^31.
|
|
16
|
+
"bpk-component-text": "^8.0.4",
|
|
17
|
+
"bpk-mixins": "^31.6.3",
|
|
18
18
|
"bpk-react-utils": "^7.0.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
@@ -32,14 +32,14 @@ type CardLayout = 'HORIZONTAL' | 'VERTICAL';
|
|
|
32
32
|
type Props = {
|
|
33
33
|
card: {
|
|
34
34
|
image: {
|
|
35
|
-
url: string
|
|
36
|
-
alt?: string
|
|
37
|
-
}
|
|
38
|
-
headline: string
|
|
39
|
-
description: string
|
|
40
|
-
href: string
|
|
41
|
-
}
|
|
42
|
-
layout: CardLayout
|
|
35
|
+
url: string,
|
|
36
|
+
alt?: string,
|
|
37
|
+
},
|
|
38
|
+
headline: string,
|
|
39
|
+
description: string,
|
|
40
|
+
href: string,
|
|
41
|
+
},
|
|
42
|
+
layout: CardLayout,
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
const BpkContentCard = ({ card, layout }: Props) => (
|
|
@@ -55,7 +55,6 @@ const BpkContentCard = ({ card, layout }: Props) => (
|
|
|
55
55
|
rel="noreferrer"
|
|
56
56
|
>
|
|
57
57
|
<div className={getClassName('bpk-content-card--image-container')}>
|
|
58
|
-
{/* eslint-disable-next-line jsx-a11y/img-redundant-alt */}
|
|
59
58
|
<img
|
|
60
59
|
className={getClassName('bpk-content-card--image')}
|
|
61
60
|
alt={card.image.alt || ''}
|
|
@@ -29,16 +29,16 @@ import STYLES from './BpkContentCards.module.scss';
|
|
|
29
29
|
const getClassName = cssModules(STYLES);
|
|
30
30
|
|
|
31
31
|
type Props = {
|
|
32
|
-
heading: string
|
|
32
|
+
heading: string,
|
|
33
33
|
cards: Array<{
|
|
34
34
|
image: {
|
|
35
|
-
url: string
|
|
36
|
-
alt?: string
|
|
37
|
-
}
|
|
38
|
-
headline: string
|
|
39
|
-
description: string
|
|
40
|
-
href: string
|
|
41
|
-
}
|
|
35
|
+
url: string,
|
|
36
|
+
alt?: string,
|
|
37
|
+
},
|
|
38
|
+
headline: string,
|
|
39
|
+
description: string,
|
|
40
|
+
href: string,
|
|
41
|
+
}>,
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
const BpkContentCards = ({ cards, heading }: Props) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-content-container",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.4",
|
|
4
4
|
"description": "Backpack content container 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.6.
|
|
17
|
+
"bpk-mixins": "^31.6.3",
|
|
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-datatable",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "Backpack datatable 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-icon": "^10.0.
|
|
18
|
-
"bpk-mixins": "^31.6.
|
|
17
|
+
"bpk-component-icon": "^10.0.4",
|
|
18
|
+
"bpk-mixins": "^31.6.3",
|
|
19
19
|
"bpk-react-utils": "^7.0.0",
|
|
20
20
|
"prop-types": "^15.7.2",
|
|
21
21
|
"react-table": "^7.8.0"
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"react": "^17.0.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@skyscanner/bpk-foundations-web": "^9.
|
|
27
|
+
"@skyscanner/bpk-foundations-web": "^9.3.0"
|
|
28
28
|
}
|
|
29
29
|
}
|