@skyscanner/backpack-web 11.0.0 → 11.1.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 +2 -2
- package/bpk-component-accordion/package.json +6 -6
- package/bpk-component-accordion/src/BpkAccordion.module.scss +1 -1
- package/bpk-component-accordion/src/BpkAccordionItem.module.scss +1 -1
- package/bpk-component-aria-live/package.json +7 -7
- package/bpk-component-aria-live/src/BpkAriaLive.module.scss +1 -1
- package/bpk-component-autosuggest/package.json +4 -4
- package/bpk-component-autosuggest/src/BpkAutosuggest.module.scss +2 -2
- package/bpk-component-badge/package.json +4 -4
- package/bpk-component-badge/src/BpkBadge.module.scss +1 -1
- package/bpk-component-banner-alert/package.json +8 -8
- package/bpk-component-banner-alert/src/BpkAnimateAndFade.module.scss +1 -1
- package/bpk-component-banner-alert/src/BpkBannerAlert.module.scss +3 -3
- package/bpk-component-barchart/package.json +7 -7
- package/bpk-component-barchart/src/BpkBarchartBar.module.scss +3 -1
- package/bpk-component-barchart/src/BpkChartAxis.module.scss +1 -1
- package/bpk-component-barchart/src/BpkChartDataTable.module.scss +1 -1
- package/bpk-component-barchart/src/BpkChartGridLines.module.scss +2 -2
- package/bpk-component-blockquote/package.json +2 -2
- package/bpk-component-blockquote/src/BpkBlockquote.module.scss +1 -1
- package/bpk-component-breadcrumb/package.json +5 -5
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.module.scss +1 -1
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.module.scss +1 -1
- package/bpk-component-breakpoint/package.json +2 -2
- package/bpk-component-button/package.json +2 -2
- package/bpk-component-button/src/BpkButtonBase.module.scss +2 -2
- package/bpk-component-button/src/BpkButtonDestructive.module.scss +1 -1
- package/bpk-component-button/src/BpkButtonFeatured.module.scss +1 -1
- package/bpk-component-button/src/BpkButtonLink.module.scss +1 -1
- package/bpk-component-button/src/BpkButtonLinkOnDark.module.scss +1 -1
- package/bpk-component-button/src/BpkButtonOutline.module.scss +1 -1
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.scss +1 -1
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.scss +1 -1
- package/bpk-component-button/src/BpkButtonSecondary.module.scss +1 -1
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.scss +1 -1
- package/bpk-component-calendar/package.json +8 -8
- package/bpk-component-calendar/src/BpkCalendar.module.scss +2 -2
- package/bpk-component-calendar/src/BpkCalendarDate.module.scss +1 -1
- package/bpk-component-calendar/src/BpkCalendarGrid.module.scss +3 -2
- package/bpk-component-calendar/src/BpkCalendarGridHeader.module.scss +2 -2
- package/bpk-component-calendar/src/BpkCalendarGridTransition.module.scss +2 -2
- package/bpk-component-calendar/src/BpkCalendarNav.module.scss +3 -3
- package/bpk-component-calendar/src/_variables.scss +1 -1
- package/bpk-component-card/package.json +4 -4
- package/bpk-component-card/src/BpkCard.module.scss +1 -1
- package/bpk-component-checkbox/package.json +4 -4
- package/bpk-component-checkbox/src/BpkCheckbox.module.scss +1 -1
- package/bpk-component-chip/package.json +5 -5
- package/bpk-component-chip/src/BpkSelectableChip.module.scss +1 -1
- package/bpk-component-close-button/package.json +4 -4
- package/bpk-component-close-button/src/BpkCloseButton.module.scss +3 -2
- package/bpk-component-code/package.json +2 -2
- package/bpk-component-code/src/BpkCode.module.scss +1 -1
- package/bpk-component-code/src/BpkCodeBlock.module.scss +1 -1
- package/bpk-component-content-cards/package.json +3 -3
- package/bpk-component-content-cards/src/BpkContentCard.module.scss +1 -1
- package/bpk-component-content-cards/src/BpkContentCards.js +3 -3
- package/bpk-component-content-cards/src/BpkContentCards.module.scss +1 -1
- package/bpk-component-content-container/package.json +2 -2
- package/bpk-component-content-container/src/BpkContentContainer.module.scss +1 -1
- package/bpk-component-datatable/package.json +3 -3
- package/bpk-component-datatable/src/BpkDataTable.module.scss +1 -2
- package/bpk-component-datatable/src/BpkDataTableHeader.module.scss +1 -2
- package/bpk-component-datepicker/package.json +8 -8
- package/bpk-component-datepicker/src/BpkDatepicker.module.scss +1 -1
- package/bpk-component-description-list/package.json +2 -2
- package/bpk-component-description-list/src/BpkDescriptionList.module.scss +1 -1
- package/bpk-component-dialog/package.json +8 -8
- package/bpk-component-dialog/src/BpkDialog.module.scss +1 -1
- package/bpk-component-dialog/src/BpkDialogInner.module.scss +3 -1
- package/bpk-component-drawer/package.json +8 -8
- package/bpk-component-drawer/src/BpkDrawer.module.scss +1 -1
- package/bpk-component-drawer/src/BpkDrawerContent.module.scss +1 -1
- package/bpk-component-fieldset/package.json +12 -12
- package/bpk-component-fieldset/src/BpkFieldset.module.scss +1 -1
- package/bpk-component-flare/package.json +4 -4
- package/bpk-component-flare/src/bpk-content-bubble.module.scss +2 -1
- package/bpk-component-flare/src/bpk-flare-bar.module.scss +2 -1
- package/bpk-component-floating-notification/package.json +5 -5
- package/bpk-component-floating-notification/src/BpkFloatingNotification.module.scss +1 -1
- package/bpk-component-form-validation/package.json +9 -9
- package/bpk-component-form-validation/src/BpkFormValidation.module.scss +1 -1
- package/bpk-component-graphic-promotion/package.json +4 -4
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.module.scss +1 -1
- package/bpk-component-grid/package.json +2 -2
- package/bpk-component-grid/src/BpkGridColumn.module.scss +1 -1
- package/bpk-component-grid/src/BpkGridContainer.module.scss +1 -1
- package/bpk-component-grid/src/BpkGridRow.module.scss +1 -1
- package/bpk-component-grid-toggle/package.json +3 -3
- package/bpk-component-grid-toggle/src/BpkGridToggle.module.scss +1 -1
- package/bpk-component-horizontal-nav/package.json +5 -5
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.module.scss +1 -1
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.module.scss +2 -2
- package/bpk-component-icon/README.md +1 -1
- package/bpk-component-icon/package.json +5 -5
- package/bpk-component-icon/src/BpkIcon.module.scss +1 -1
- package/bpk-component-icon/src/withDescription.module.scss +1 -1
- package/bpk-component-image/package.json +5 -5
- package/bpk-component-image/src/BpkBackgroundImage.module.scss +1 -1
- package/bpk-component-image/src/BpkImage.module.scss +1 -1
- package/bpk-component-infinite-scroll/package.json +6 -6
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.module.scss +1 -1
- package/bpk-component-input/package.json +6 -6
- package/bpk-component-input/src/BpkClearButton.module.scss +2 -2
- package/bpk-component-input/src/BpkInput.module.scss +1 -1
- package/bpk-component-label/package.json +2 -2
- package/bpk-component-label/src/BpkLabel.module.scss +1 -1
- package/bpk-component-link/package.json +3 -3
- package/bpk-component-link/src/BpkLink.module.scss +1 -1
- package/bpk-component-list/package.json +2 -2
- package/bpk-component-list/src/BpkList.module.scss +1 -1
- package/bpk-component-loading-button/package.json +6 -6
- package/bpk-component-loading-button/src/BpkLoadingButton.module.scss +1 -1
- package/bpk-component-map/package.json +6 -6
- package/bpk-component-map/src/BpkIconMarker.module.scss +3 -2
- package/bpk-component-map/src/BpkIconMarkerBackground.module.scss +1 -1
- package/bpk-component-map/src/BpkMap.js +1 -0
- package/bpk-component-map/src/BpkPriceMarker.module.scss +3 -1
- package/bpk-component-map/src/DefaultLoadingElement.module.scss +1 -1
- package/bpk-component-mobile-scroll-container/README.md +1 -1
- package/bpk-component-mobile-scroll-container/package.json +2 -2
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.module.scss +3 -1
- package/bpk-component-modal/package.json +9 -9
- package/bpk-component-modal/src/BpkModal.module.scss +1 -1
- package/bpk-component-modal/src/BpkModalInner.module.scss +3 -1
- package/bpk-component-navigation-bar/package.json +7 -7
- package/bpk-component-navigation-bar/src/BpkNavigationBar.module.scss +2 -1
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.scss +1 -1
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.module.scss +1 -1
- package/bpk-component-nudger/package.json +6 -6
- package/bpk-component-nudger/src/BpkNudger.module.scss +1 -1
- package/bpk-component-overlay/package.json +4 -4
- package/bpk-component-overlay/src/BpkOverlay.module.scss +1 -1
- package/bpk-component-pagination/package.json +4 -4
- package/bpk-component-pagination/src/BpkPaginationList.module.scss +1 -1
- package/bpk-component-pagination/src/BpkPaginationNudger.module.scss +2 -2
- package/bpk-component-pagination/src/BpkPaginationPage.module.scss +1 -1
- package/bpk-component-panel/package.json +2 -2
- package/bpk-component-panel/src/BpkPanel.module.scss +1 -1
- package/bpk-component-phone-input/package.json +8 -8
- package/bpk-component-phone-input/src/BpkPhoneInput.module.scss +1 -1
- package/bpk-component-popover/package.json +8 -8
- package/bpk-component-popover/src/BpkPopover.module.scss +1 -2
- package/bpk-component-price/package.json +3 -3
- package/bpk-component-price/src/BpkPrice.module.scss +1 -1
- package/bpk-component-progress/package.json +4 -4
- package/bpk-component-progress/src/BpkProgress.module.scss +1 -1
- package/bpk-component-radio/package.json +3 -3
- package/bpk-component-radio/src/BpkRadio.module.scss +1 -2
- package/bpk-component-rating/package.json +3 -3
- package/bpk-component-rating/src/BpkRating.module.scss +1 -1
- package/bpk-component-rtl-toggle/package.json +3 -3
- package/bpk-component-scrollable-calendar/package.json +5 -5
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.module.scss +1 -1
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.module.scss +1 -2
- package/bpk-component-section-list/package.json +5 -5
- package/bpk-component-section-list/src/BpkSectionListItem.module.scss +1 -1
- package/bpk-component-section-list/src/BpkSectionListSection.module.scss +1 -1
- package/bpk-component-select/package.json +3 -3
- package/bpk-component-select/src/BpkSelect.module.scss +1 -1
- package/bpk-component-skip-link/package.json +2 -2
- package/bpk-component-skip-link/src/BpkSkipLink.module.scss +2 -1
- package/bpk-component-slider/package.json +3 -3
- package/bpk-component-slider/src/BpkSlider.module.scss +1 -2
- package/bpk-component-spinner/package.json +2 -2
- package/bpk-component-spinner/src/BpkSpinner.module.scss +1 -1
- package/bpk-component-split-input/package.json +3 -3
- package/bpk-component-split-input/src/BpkInputField.module.scss +1 -1
- package/bpk-component-split-input/src/BpkSplitInput.module.scss +1 -1
- package/bpk-component-star-rating/package.json +5 -5
- package/bpk-component-star-rating/src/BpkInteractiveStar.module.scss +3 -3
- package/bpk-component-star-rating/src/BpkStar.module.scss +1 -1
- package/bpk-component-switch/README.md +1 -1
- package/bpk-component-switch/package.json +2 -2
- package/bpk-component-switch/src/BpkSwitch.js +14 -13
- package/bpk-component-switch/src/BpkSwitch.module.scss +18 -12
- package/bpk-component-table/package.json +2 -2
- package/bpk-component-table/src/BpkTable.module.scss +1 -1
- package/bpk-component-text/package.json +2 -2
- package/bpk-component-text/src/BpkText.module.scss +1 -1
- package/bpk-component-textarea/package.json +4 -4
- package/bpk-component-textarea/src/BpkTextarea.module.scss +1 -1
- package/bpk-component-theme-toggle/package.json +4 -4
- package/bpk-component-theme-toggle/src/BpkThemeToggle.module.scss +1 -1
- package/bpk-component-ticket/package.json +4 -4
- package/bpk-component-ticket/src/BpkTicket.module.scss +1 -1
- package/bpk-component-tooltip/package.json +3 -3
- package/bpk-component-tooltip/src/BpkTooltip.module.scss +3 -2
- package/bpk-react-utils/README.md +1 -1
- package/bpk-react-utils/package.json +1 -1
- package/bpk-scrim-utils/package.json +2 -2
- package/bpk-scrim-utils/src/bpk-scrim-content.module.scss +1 -1
- package/bpk-scrim-utils/src/bpk-scrim.module.scss +1 -1
- package/package.json +1 -1
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
@import '~bpk-mixins/index';
|
|
20
|
-
@import 'variables';
|
|
19
|
+
@import '~bpk-mixins/index.scss';
|
|
20
|
+
@import 'variables.scss';
|
|
21
21
|
|
|
22
22
|
.bpk-calendar-nav {
|
|
23
23
|
display: table;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.bpk-calendar-nav__icon {
|
|
70
|
-
fill:
|
|
70
|
+
fill: currentcolor;
|
|
71
71
|
|
|
72
72
|
@include bpk-icon--rtl-support;
|
|
73
73
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
@import '~bpk-mixins/index';
|
|
19
|
+
@import '~bpk-mixins/index.scss';
|
|
20
20
|
|
|
21
21
|
$shadow-bottom: 0 1px 0 0 $bpk-line-day; /* stylelint-disable-line unit-disallowed-list */
|
|
22
22
|
$calendar-width: 7 * ($bpk-calendar-day-size + (2 * $bpk-calendar-day-spacing));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-card",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.4",
|
|
4
4
|
"description": "Backpack card component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"bpk-mixins": "^31.6.3",
|
|
18
|
-
"bpk-react-utils": "^7.0.
|
|
18
|
+
"bpk-react-utils": "^7.0.1",
|
|
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.5",
|
|
23
|
+
"bpk-component-text": "^8.0.5"
|
|
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.5",
|
|
4
4
|
"description": "Backpack checkbox component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-icon": "^10.0.
|
|
17
|
+
"bpk-component-icon": "^10.0.5",
|
|
18
18
|
"bpk-mixins": "^31.6.3",
|
|
19
|
-
"bpk-react-utils": "^7.0.
|
|
19
|
+
"bpk-react-utils": "^7.0.1",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@skyscanner/bpk-foundations-web": "^9.3.0",
|
|
27
|
-
"bpk-storybook-utils": "^2.0.
|
|
27
|
+
"bpk-storybook-utils": "^2.0.5"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-chip",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.5",
|
|
4
4
|
"description": "Backpack chip component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,16 +14,16 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "4e4ec9add28e1db54d6a38a10c331bbd163f2926",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-icon": "^10.0.
|
|
17
|
+
"bpk-component-icon": "^10.0.5",
|
|
18
18
|
"bpk-mixins": "^31.6.3",
|
|
19
|
-
"bpk-react-utils": "^7.0.
|
|
19
|
+
"bpk-react-utils": "^7.0.1",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
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.2",
|
|
27
|
+
"bpk-component-text": "^8.0.5"
|
|
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.5",
|
|
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.
|
|
17
|
+
"bpk-component-icon": "^10.0.5",
|
|
18
18
|
"bpk-mixins": "^31.6.3",
|
|
19
|
-
"bpk-react-utils": "^7.0.
|
|
19
|
+
"bpk-react-utils": "^7.0.1",
|
|
20
20
|
"prop-types": "^15.7.2"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"bpk-storybook-utils": "^2.0.
|
|
23
|
+
"bpk-storybook-utils": "^2.0.5"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "^17.0.2"
|
|
@@ -16,13 +16,14 @@
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
@import '~bpk-mixins';
|
|
19
|
+
@import '~bpk-mixins/index.scss';
|
|
20
20
|
|
|
21
21
|
$button-padding: $bpk-spacing-xs / 2;
|
|
22
22
|
|
|
23
23
|
.bpk-close-button {
|
|
24
24
|
width: $bpk-spacing-base;
|
|
25
25
|
height: $bpk-spacing-base;
|
|
26
|
+
|
|
26
27
|
// The margin here is used to ensure that the icon is aligned to
|
|
27
28
|
// the leading or trailing edge of its parent container
|
|
28
29
|
margin-right: -#{$button-padding};
|
|
@@ -46,6 +47,6 @@ $button-padding: $bpk-spacing-xs / 2;
|
|
|
46
47
|
|
|
47
48
|
&__icon {
|
|
48
49
|
vertical-align: -#{$button-padding};
|
|
49
|
-
fill:
|
|
50
|
+
fill: currentcolor;
|
|
50
51
|
}
|
|
51
52
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-code",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"description": "Backpack code component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"bpk-mixins": "^31.6.3",
|
|
18
|
-
"bpk-react-utils": "^7.0.
|
|
18
|
+
"bpk-react-utils": "^7.0.1",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-content-cards",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Backpack content-cards 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-text": "^8.0.
|
|
16
|
+
"bpk-component-text": "^8.0.5",
|
|
17
17
|
"bpk-mixins": "^31.6.3",
|
|
18
|
-
"bpk-react-utils": "^7.0.
|
|
18
|
+
"bpk-react-utils": "^7.0.1"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": "^17.0.2"
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
+
/* eslint react/no-array-index-key: 0 */
|
|
18
19
|
|
|
19
20
|
import React from 'react';
|
|
20
21
|
|
|
@@ -55,10 +56,9 @@ const BpkContentCards = ({ cards, heading }: Props) => {
|
|
|
55
56
|
{heading}
|
|
56
57
|
</BpkText>
|
|
57
58
|
<div role="list" className={getClassName('bpk-content-cards--layout')}>
|
|
58
|
-
{cards.map((card) => (
|
|
59
|
-
<div role="listitem">
|
|
59
|
+
{cards.map((card, index) => (
|
|
60
|
+
<div role="listitem" key={index}>
|
|
60
61
|
<BpkContentCard
|
|
61
|
-
key={card.image.url}
|
|
62
62
|
card={card}
|
|
63
63
|
layout={cards.length === 1 ? 'HORIZONTAL' : 'VERTICAL'}
|
|
64
64
|
/>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-content-container",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.5",
|
|
4
4
|
"description": "Backpack content container component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"bpk-mixins": "^31.6.3",
|
|
18
|
-
"bpk-react-utils": "^7.0.
|
|
18
|
+
"bpk-react-utils": "^7.0.1",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-datatable",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "Backpack datatable component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-icon": "^10.0.
|
|
17
|
+
"bpk-component-icon": "^10.0.5",
|
|
18
18
|
"bpk-mixins": "^31.6.3",
|
|
19
|
-
"bpk-react-utils": "^7.0.
|
|
19
|
+
"bpk-react-utils": "^7.0.1",
|
|
20
20
|
"prop-types": "^15.7.2",
|
|
21
21
|
"react-table": "^7.8.0"
|
|
22
22
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-datepicker",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.5",
|
|
4
4
|
"description": "Backpack datepicker 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-breakpoint": "^5.0.
|
|
18
|
-
"bpk-component-calendar": "^13.0.
|
|
19
|
-
"bpk-component-input": "^7.0.
|
|
20
|
-
"bpk-component-modal": "^6.0.
|
|
21
|
-
"bpk-component-popover": "^8.0.
|
|
17
|
+
"bpk-component-breakpoint": "^5.0.5",
|
|
18
|
+
"bpk-component-calendar": "^13.0.2",
|
|
19
|
+
"bpk-component-input": "^7.0.5",
|
|
20
|
+
"bpk-component-modal": "^6.0.5",
|
|
21
|
+
"bpk-component-popover": "^8.0.5",
|
|
22
22
|
"bpk-mixins": "^31.6.3",
|
|
23
|
-
"bpk-react-utils": "^7.0.
|
|
23
|
+
"bpk-react-utils": "^7.0.1",
|
|
24
24
|
"prop-types": "^15.7.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@skyscanner/bpk-foundations-web": "^9.3.0",
|
|
31
|
-
"bpk-storybook-utils": "^2.0.
|
|
31
|
+
"bpk-storybook-utils": "^2.0.5"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-description-list",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"description": "Backpack description list component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"bpk-mixins": "^31.6.3",
|
|
18
|
-
"bpk-react-utils": "^7.0.
|
|
18
|
+
"bpk-react-utils": "^7.0.1",
|
|
19
19
|
"prop-types": "^15.7.2"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-dialog",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.5",
|
|
4
4
|
"description": "Backpack dialog component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-close-button": "^4.0.
|
|
18
|
-
"bpk-component-flare": "^3.0.
|
|
17
|
+
"bpk-component-close-button": "^4.0.5",
|
|
18
|
+
"bpk-component-flare": "^3.0.5",
|
|
19
19
|
"bpk-mixins": "^31.6.3",
|
|
20
|
-
"bpk-react-utils": "^7.0.
|
|
21
|
-
"bpk-scrim-utils": "^6.0.
|
|
20
|
+
"bpk-react-utils": "^7.0.1",
|
|
21
|
+
"bpk-scrim-utils": "^6.0.5",
|
|
22
22
|
"prop-types": "^15.7.2"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": "^17.0.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"bpk-component-button": "^7.0.
|
|
29
|
-
"bpk-component-icon": "^10.0.
|
|
30
|
-
"bpk-component-text": "^8.0.
|
|
28
|
+
"bpk-component-button": "^7.0.5",
|
|
29
|
+
"bpk-component-icon": "^10.0.5",
|
|
30
|
+
"bpk-component-text": "^8.0.5"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
@import '~bpk-mixins/index';
|
|
19
|
+
@import '~bpk-mixins/index.scss';
|
|
20
20
|
|
|
21
21
|
$bpk-spacing-v2: true;
|
|
22
22
|
|
|
@@ -31,6 +31,7 @@ $bpk-spacing-v2: true;
|
|
|
31
31
|
outline: 0;
|
|
32
32
|
background-color: $bpk-modal-background-color;
|
|
33
33
|
opacity: $bpk-modal-opacity;
|
|
34
|
+
|
|
34
35
|
// FIX: Prevents ugly flickering when tapping inside the dialog in Mobile Safari
|
|
35
36
|
-webkit-tap-highlight-color: transparent;
|
|
36
37
|
|
|
@@ -55,6 +56,7 @@ $bpk-spacing-v2: true;
|
|
|
55
56
|
|
|
56
57
|
&__flare {
|
|
57
58
|
height: bpk-spacing-lg() * 10;
|
|
59
|
+
|
|
58
60
|
// We inherit radius from the outer modal so they match and align correctly to the container.
|
|
59
61
|
border-radius: inherit;
|
|
60
62
|
background-color: $bpk-color-sky-blue;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-drawer",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.5",
|
|
4
4
|
"description": "Backpack drawer component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
"gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@skyscanner/bpk-foundations-web": "^9.3.0",
|
|
18
|
-
"bpk-component-close-button": "^4.0.
|
|
19
|
-
"bpk-component-icon": "^10.0.
|
|
20
|
-
"bpk-component-link": "^4.0.
|
|
18
|
+
"bpk-component-close-button": "^4.0.5",
|
|
19
|
+
"bpk-component-icon": "^10.0.5",
|
|
20
|
+
"bpk-component-link": "^4.0.5",
|
|
21
21
|
"bpk-mixins": "^31.6.3",
|
|
22
|
-
"bpk-react-utils": "^7.0.
|
|
23
|
-
"bpk-scrim-utils": "^6.0.
|
|
22
|
+
"bpk-react-utils": "^7.0.1",
|
|
23
|
+
"bpk-scrim-utils": "^6.0.5",
|
|
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.5",
|
|
32
|
+
"bpk-component-text": "^8.0.5"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bpk-component-fieldset",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.5",
|
|
4
4
|
"description": "Backpack fieldset component.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -14,23 +14,23 @@
|
|
|
14
14
|
},
|
|
15
15
|
"gitHead": "4e4ec9add28e1db54d6a38a10c331bbd163f2926",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"bpk-component-form-validation": "^5.0.
|
|
18
|
-
"bpk-component-label": "^6.0.
|
|
17
|
+
"bpk-component-form-validation": "^5.0.5",
|
|
18
|
+
"bpk-component-label": "^6.0.5",
|
|
19
19
|
"bpk-mixins": "^31.6.3",
|
|
20
|
-
"bpk-react-utils": "^7.0.
|
|
20
|
+
"bpk-react-utils": "^7.0.1",
|
|
21
21
|
"prop-types": "^15.7.2"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
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": "^13.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.5",
|
|
28
|
+
"bpk-component-button": "^7.0.5",
|
|
29
|
+
"bpk-component-calendar": "^13.0.2",
|
|
30
|
+
"bpk-component-checkbox": "^5.0.5",
|
|
31
|
+
"bpk-component-datepicker": "^18.0.5",
|
|
32
|
+
"bpk-component-input": "^7.0.5",
|
|
33
|
+
"bpk-component-select": "^6.0.5",
|
|
34
|
+
"bpk-component-textarea": "^5.0.5"
|
|
35
35
|
}
|
|
36
36
|
}
|