@skyscanner/backpack-web 36.11.1-alpha.0 → 36.12.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.
Files changed (151) hide show
  1. package/bpk-component-accordion/src/BpkAccordion.js +1 -1
  2. package/bpk-component-accordion/src/BpkAccordionItem.js +1 -1
  3. package/bpk-component-aria-live/src/BpkAriaLive.js +1 -1
  4. package/bpk-component-autosuggest/src/BpkAutosuggest.js +1 -1
  5. package/bpk-component-autosuggest/src/BpkAutosuggestSuggestion.js +1 -1
  6. package/bpk-component-badge/src/BpkBadge.js +1 -1
  7. package/bpk-component-banner-alert/src/AnimateAndFade.js +1 -1
  8. package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +1 -1
  9. package/bpk-component-barchart/src/BpkBarchart.js +1 -1
  10. package/bpk-component-barchart/src/BpkBarchartBar.js +1 -1
  11. package/bpk-component-barchart/src/BpkChartAxis.js +1 -1
  12. package/bpk-component-barchart/src/BpkChartDataTable.js +1 -1
  13. package/bpk-component-barchart/src/BpkChartGridLines.js +1 -1
  14. package/bpk-component-blockquote/src/BpkBlockquote.js +1 -1
  15. package/bpk-component-boilerplate/src/BpkBoilerplate.js +1 -1
  16. package/bpk-component-bottom-sheet/src/BpkBottomSheet.js +1 -1
  17. package/bpk-component-breadcrumb/src/BpkBreadcrumb.js +1 -1
  18. package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.js +1 -1
  19. package/bpk-component-calendar/src/BpkCalendarDate.js +1 -1
  20. package/bpk-component-calendar/src/BpkCalendarGrid.js +1 -1
  21. package/bpk-component-calendar/src/BpkCalendarGridHeader.js +1 -1
  22. package/bpk-component-calendar/src/BpkCalendarGridTransition.js +1 -1
  23. package/bpk-component-calendar/src/BpkCalendarNav.js +1 -1
  24. package/bpk-component-calendar/src/BpkCalendarWeek.js +1 -1
  25. package/bpk-component-calendar/src/composeCalendar.js +1 -1
  26. package/bpk-component-card/src/BpkCard.js +1 -1
  27. package/bpk-component-card/src/BpkCardWrapper.js +1 -1
  28. package/bpk-component-card/src/BpkDividedCard.js +1 -1
  29. package/bpk-component-card-button/src/BpkSaveButton.js +1 -1
  30. package/bpk-component-card-list/src/BpkCardList.js +1 -1
  31. package/bpk-component-carousel/src/BpkCarousel.js +1 -1
  32. package/bpk-component-carousel/src/BpkCarouselContainer.js +1 -1
  33. package/bpk-component-carousel/src/BpkCarouselImage.js +1 -1
  34. package/bpk-component-checkbox/src/BpkCheckbox.js +1 -1
  35. package/bpk-component-chip/src/BpkDismissibleChip.js +1 -1
  36. package/bpk-component-chip/src/BpkSelectableChip.js +1 -1
  37. package/bpk-component-chip-group/src/BpkMultiSelectChipGroup.js +1 -1
  38. package/bpk-component-chip-group/src/Nudger.js +1 -1
  39. package/bpk-component-close-button/src/BpkCloseButton.js +1 -1
  40. package/bpk-component-code/src/BpkCode.js +1 -1
  41. package/bpk-component-code/src/BpkCodeBlock.js +1 -1
  42. package/bpk-component-content-cards/src/BpkContentCard.js +1 -1
  43. package/bpk-component-content-cards/src/BpkContentCards.js +1 -1
  44. package/bpk-component-datatable/src/BpkDataTable.js +1 -1
  45. package/bpk-component-datatable/src/BpkDataTableHeader.js +1 -1
  46. package/bpk-component-description-list/src/BpkDescriptionDetails.js +1 -1
  47. package/bpk-component-description-list/src/BpkDescriptionList.js +1 -1
  48. package/bpk-component-description-list/src/BpkDescriptionTerm.js +1 -1
  49. package/bpk-component-dialog/src/BpkDialog.js +1 -1
  50. package/bpk-component-dialog/src/BpkDialogInner.js +1 -1
  51. package/bpk-component-drawer/src/BpkDrawerContent.js +1 -1
  52. package/bpk-component-fieldset/src/BpkFieldset.js +1 -1
  53. package/bpk-component-flare/src/BpkContentBubble.js +1 -1
  54. package/bpk-component-flare/src/BpkFlareBar.js +1 -1
  55. package/bpk-component-floating-notification/src/BpkFloatingNotification.js +1 -1
  56. package/bpk-component-form-validation/src/BpkFormValidation.js +1 -1
  57. package/bpk-component-graphic-promotion/src/BpkGraphicPromo.js +1 -1
  58. package/bpk-component-grid-toggle/src/BpkGridToggle.js +1 -1
  59. package/bpk-component-horizontal-nav/src/BpkHorizontalNav.js +1 -1
  60. package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.js +1 -1
  61. package/bpk-component-icon/src/withDescription.js +1 -1
  62. package/bpk-component-icon/src/withRtlSupport.js +1 -1
  63. package/bpk-component-image/src/BpkBackgroundImage.js +1 -1
  64. package/bpk-component-image/src/BpkImage.js +1 -1
  65. package/bpk-component-infinite-scroll/src/withInfiniteScroll.js +1 -1
  66. package/bpk-component-info-banner/src/AnimateAndFade.js +1 -1
  67. package/bpk-component-info-banner/src/BpkInfoBannerInner.js +1 -1
  68. package/bpk-component-input/src/BpkInput.js +1 -1
  69. package/bpk-component-inset-banner/src/BpkInsetBanner.js +1 -1
  70. package/bpk-component-journey-arrow/src/BpkJourneyArrow.js +1 -1
  71. package/bpk-component-label/src/BpkLabel.js +1 -1
  72. package/bpk-component-link/src/BpkButtonLink.js +1 -1
  73. package/bpk-component-link/src/BpkLink.js +1 -1
  74. package/bpk-component-list/src/BpkList.js +1 -1
  75. package/bpk-component-list/src/BpkListItem.js +1 -1
  76. package/bpk-component-loading-button/src/BpkLoadingButton.js +1 -1
  77. package/bpk-component-map/src/BpkIconMarker.js +1 -1
  78. package/bpk-component-map/src/BpkIconMarkerBackground.js +1 -1
  79. package/bpk-component-map/src/BpkMap.js +1 -1
  80. package/bpk-component-map/src/BpkPriceMarker.js +1 -1
  81. package/bpk-component-map/src/BpkPriceMarkerV2/BpkPriceMarker.js +1 -1
  82. package/bpk-component-map/src/DefaultLoadingElement.js +1 -1
  83. package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.js +1 -1
  84. package/bpk-component-modal/src/BpkModal.js +1 -1
  85. package/bpk-component-modal/src/BpkModalInner.js +1 -1
  86. package/bpk-component-modal/src/BpkModalV2/BpkModal.js +1 -1
  87. package/bpk-component-navigation-bar/src/BpkNavigationBar.js +1 -1
  88. package/bpk-component-navigation-tab-group/src/BpkNavigationTabGroup.js +1 -1
  89. package/bpk-component-nudger/src/BpkNudger.js +1 -1
  90. package/bpk-component-overlay/src/BpkOverlay.js +1 -1
  91. package/bpk-component-page-indicator/src/BpkPageIndicator.js +1 -1
  92. package/bpk-component-pagination/src/BpkPagination.js +1 -1
  93. package/bpk-component-pagination/src/BpkPaginationList.js +1 -1
  94. package/bpk-component-pagination/src/BpkPaginationNudger.js +1 -1
  95. package/bpk-component-pagination/src/BpkPaginationPage.js +1 -1
  96. package/bpk-component-panel/src/BpkPanel.js +1 -1
  97. package/bpk-component-phone-input/src/BpkPhoneInput.js +1 -1
  98. package/bpk-component-popover/src/BpkPopover.js +1 -1
  99. package/bpk-component-price/src/BpkPrice.js +1 -1
  100. package/bpk-component-progress/src/BpkProgress.js +1 -1
  101. package/bpk-component-radio/src/BpkRadio.js +1 -1
  102. package/bpk-component-rating/src/BpkRating.js +1 -1
  103. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +1 -1
  104. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +1 -1
  105. package/bpk-component-section-header/src/BpkSectionHeader.js +1 -1
  106. package/bpk-component-section-list/src/BpkSectionListItem.js +1 -1
  107. package/bpk-component-section-list/src/BpkSectionListSection.js +1 -1
  108. package/bpk-component-segmented-control/src/BpkSegmentedControl.js +1 -1
  109. package/bpk-component-select/src/BpkSelect.js +1 -1
  110. package/bpk-component-skeleton/src/BpkBaseSkeleton.js +1 -1
  111. package/bpk-component-skeleton/src/BpkSkeleton.js +1 -1
  112. package/bpk-component-skip-link/src/BpkSkipLink.js +1 -1
  113. package/bpk-component-slider/src/BpkSlider.js +1 -1
  114. package/bpk-component-snippet/src/BpkSnippet.js +1 -1
  115. package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +1 -1
  116. package/bpk-component-spinner/src/BpkLargeSpinner.js +1 -1
  117. package/bpk-component-spinner/src/BpkSpinner.js +1 -1
  118. package/bpk-component-split-input/src/BpkInputField.js +1 -1
  119. package/bpk-component-split-input/src/BpkSplitInput.js +1 -1
  120. package/bpk-component-star-rating/src/BpkInteractiveStar.js +1 -1
  121. package/bpk-component-star-rating/src/BpkInteractiveStarRating.js +1 -1
  122. package/bpk-component-star-rating/src/BpkStar.js +1 -1
  123. package/bpk-component-star-rating/src/BpkStarRating.js +1 -1
  124. package/bpk-component-swap-button/src/BpkSwapButton.js +1 -1
  125. package/bpk-component-switch/src/BpkSwitch.js +1 -1
  126. package/bpk-component-switch/src/BpkSwitch.module.css +1 -1
  127. package/bpk-component-table/src/BpkTable.js +1 -1
  128. package/bpk-component-table/src/BpkTableCell.js +1 -1
  129. package/bpk-component-table/src/BpkTableHeadCell.js +1 -1
  130. package/bpk-component-text/src/BpkText.js +1 -1
  131. package/bpk-component-textarea/src/BpkTextarea.js +1 -1
  132. package/bpk-component-theme-toggle/src/BpkThemeToggle.js +1 -1
  133. package/bpk-component-ticket/src/BpkTicket.js +1 -1
  134. package/bpk-component-tooltip/src/BpkTooltip.js +1 -1
  135. package/bpk-component-tooltip/src/BpkTooltipPortal.js +1 -1
  136. package/bpk-react-utils/src/BpkDialogWrapper/BpkDialogWrapper.js +1 -1
  137. package/bpk-scrim-utils/src/BpkScrim.js +1 -1
  138. package/bpk-scrim-utils/src/withScrim.js +1 -1
  139. package/package.json +1 -1
  140. package/bpk-component-bottom-sheet/src/BpkBottomSheetInner.module.css +0 -18
  141. package/bpk-component-button/src/BpkButtonDestructive.module.css +0 -18
  142. package/bpk-component-button/src/BpkButtonFeatured.module.css +0 -18
  143. package/bpk-component-button/src/BpkButtonLink.module.css +0 -18
  144. package/bpk-component-button/src/BpkButtonLinkOnDark.module.css +0 -18
  145. package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.css +0 -18
  146. package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.css +0 -18
  147. package/bpk-component-button/src/BpkButtonSecondary.module.css +0 -18
  148. package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.css +0 -18
  149. package/bpk-component-datepicker/src/BpkDatepicker.module.css +0 -18
  150. package/bpk-component-input/src/BpkClearButton.module.css +0 -18
  151. package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.css +0 -18
@@ -20,7 +20,7 @@ import { Component } from 'react';
20
20
  import { INPUT_TYPES } from "../../bpk-component-input";
21
21
  import { cssModules } from "../../bpk-react-utils";
22
22
  import InputField from "./BpkInputField";
23
- import * as STYLES from "./BpkSplitInput.module.css";
23
+ import STYLES from "./BpkSplitInput.module.css";
24
24
  import { jsx as _jsx } from "react/jsx-runtime";
25
25
  const getClassName = cssModules(STYLES);
26
26
  class BpkSplitInput extends Component {
@@ -17,7 +17,7 @@
17
17
  */import PropTypes from 'prop-types';
18
18
  import { cssModules } from "../../bpk-react-utils";
19
19
  import { BpkStarNonRtl, STAR_TYPES } from "./BpkStar";
20
- import * as STYLES from "./BpkInteractiveStar.module.css";
20
+ import STYLES from "./BpkInteractiveStar.module.css";
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
22
  const getClassName = cssModules(STYLES);
23
23
  const BpkInteractiveStar = props => {
@@ -18,7 +18,7 @@
18
18
  import { cssModules } from "../../bpk-react-utils";
19
19
  import BpkInteractiveStar from "./BpkInteractiveStar";
20
20
  import { STAR_TYPES } from "./BpkStar";
21
- import * as STYLES from "./BpkStarRating.module.css";
21
+ import STYLES from "./BpkStarRating.module.css";
22
22
  import { jsx as _jsx } from "react/jsx-runtime";
23
23
  const getClassName = cssModules(STYLES);
24
24
  export const getTypeByRating = (starNumber, rating) => {
@@ -23,7 +23,7 @@ import SmallIcon from "../../bpk-component-icon/sm/star";
23
23
  import HalfSmallIcon from "../../bpk-component-icon/sm/star-half";
24
24
  import OutlineSmallIcon from "../../bpk-component-icon/sm/star-outline";
25
25
  import { cssModules } from "../../bpk-react-utils";
26
- import * as STYLES from "./BpkStar.module.css";
26
+ import STYLES from "./BpkStar.module.css";
27
27
  import { jsx as _jsx } from "react/jsx-runtime";
28
28
  const getClassName = cssModules(STYLES);
29
29
  export const STAR_TYPES = {
@@ -17,7 +17,7 @@
17
17
  */import PropTypes from 'prop-types';
18
18
  import { cssModules } from "../../bpk-react-utils";
19
19
  import BpkStar, { STAR_TYPES } from "./BpkStar";
20
- import * as STYLES from "./BpkStarRating.module.css";
20
+ import STYLES from "./BpkStarRating.module.css";
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
22
  const getClassName = cssModules(STYLES);
23
23
  export const getTypeByRating = (starNumber, rating) => {
@@ -19,7 +19,7 @@
19
19
  import { useState } from 'react';
20
20
  import SwapVertical from "../../bpk-component-icon/sm/swap--vertical";
21
21
  import { cssModules } from "../../bpk-react-utils";
22
- import * as STYLES from "./BpkSwapButton.module.css";
22
+ import STYLES from "./BpkSwapButton.module.css";
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  const getClassName = cssModules(STYLES);
25
25
  export const SWAPBUTTON_STYLES = {
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { cssModules } from "../../bpk-react-utils";
20
- import * as STYLES from "./BpkSwitch.module.css";
20
+ import STYLES from "./BpkSwitch.module.css";
21
21
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
22
  const getClassName = cssModules(STYLES);
23
23
  const BpkSwitch = ({
@@ -15,4 +15,4 @@
15
15
  * See the License for the specific language governing permissions and
16
16
  * limitations under the License.
17
17
  */
18
- .bpk-switch{position:relative;display:flex;width:fit-content;align-items:center}.bpk-switch:focus-within{outline:.125rem solid #0062e3;outline-offset:.125rem}.bpk-switch__checkbox{position:absolute;opacity:0}.bpk-switch__checkbox:checked~.bpk-switch__switch{background:#0062e3;background:var(--bpk-switch-checked-color, rgb(0, 98, 227))}.bpk-switch__checkbox:checked~.bpk-switch__switch::before{left:1.375rem}.bpk-switch__switch{position:relative;float:right;display:block;min-width:3.25rem;height:2rem;transition:background 200ms linear;border-radius:1rem;background:rgba(0,0,0,.2);cursor:pointer}.bpk-switch__switch::before{position:absolute;top:.125rem;left:.125rem;content:"";display:block;width:1.75rem;height:1.75rem;transition:left 200ms ease-out;border-radius:50%;background:#fff;box-shadow:0px 1px 3px 0px rgba(37,32,31,.3)}.bpk-switch__switch--small{min-width:2.5rem;height:1.25rem}.bpk-switch__switch--small::before{width:1rem;height:1rem}
18
+ .bpk-switch{position:relative;display:flex;width:fit-content;align-items:center;border-radius:1rem}.bpk-switch__checkbox{position:absolute;opacity:0}.bpk-switch__checkbox:checked~.bpk-switch__switch{background:#0062e3;background:var(--bpk-switch-checked-color, rgb(0, 98, 227))}.bpk-switch__checkbox:checked~.bpk-switch__switch::before{left:1.375rem}.bpk-switch__checkbox:focus-visible~.bpk-switch__switch{outline:.125rem solid #0062e3;outline-offset:.125rem}.bpk-switch__switch{position:relative;float:right;display:block;min-width:3.25rem;height:2rem;transition:background 200ms linear;border-radius:1rem;background:rgba(0,0,0,.2);cursor:pointer}.bpk-switch__switch::before{position:absolute;top:.125rem;left:.125rem;content:"";display:block;width:1.75rem;height:1.75rem;transition:left 200ms ease-out;border-radius:50%;background:#fff;box-shadow:0px 1px 3px 0px rgba(37,32,31,.3)}.bpk-switch__switch--small{min-width:2.5rem;height:1.25rem}.bpk-switch__switch--small::before{width:1rem;height:1rem}
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */import PropTypes from 'prop-types';
18
18
  import { cssModules } from "../../bpk-react-utils";
19
- import * as STYLES from "./BpkTable.module.css";
19
+ import STYLES from "./BpkTable.module.css";
20
20
  import { jsx as _jsx } from "react/jsx-runtime";
21
21
  const getClassName = cssModules(STYLES);
22
22
  const BpkTable = props => {
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */import PropTypes from 'prop-types';
18
18
  import { cssModules } from "../../bpk-react-utils";
19
- import * as STYLES from "./BpkTable.module.css";
19
+ import STYLES from "./BpkTable.module.css";
20
20
  import { jsx as _jsx } from "react/jsx-runtime";
21
21
  const getClassName = cssModules(STYLES);
22
22
  const BpkTableCell = props => {
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */import PropTypes from 'prop-types';
18
18
  import { cssModules } from "../../bpk-react-utils";
19
- import * as STYLES from "./BpkTable.module.css";
19
+ import STYLES from "./BpkTable.module.css";
20
20
  import { jsx as _jsx } from "react/jsx-runtime";
21
21
  const getClassName = cssModules(STYLES);
22
22
  const BpkTableHeadCell = props => {
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { cssModules } from "../../bpk-react-utils";
20
- import * as STYLES from "./BpkText.module.css";
20
+ import STYLES from "./BpkText.module.css";
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
22
  const getClassName = cssModules(STYLES);
23
23
  export const TEXT_STYLES = {
@@ -16,7 +16,7 @@
16
16
  * limitations under the License.
17
17
  */import PropTypes from 'prop-types';
18
18
  import { cssModules } from "../../bpk-react-utils";
19
- import * as STYLES from "./BpkTextarea.module.css";
19
+ import STYLES from "./BpkTextarea.module.css";
20
20
  import { jsx as _jsx } from "react/jsx-runtime";
21
21
  const getClassName = cssModules(STYLES);
22
22
  const BpkTextarea = props => {
@@ -22,7 +22,7 @@ import BpkSelect from "../../bpk-component-select";
22
22
  import { cssModules } from "../../bpk-react-utils";
23
23
  import bpkCustomThemes from "./theming";
24
24
  import { getHtmlElement, THEME_CHANGE_EVENT } from "./utils";
25
- import * as STYLES from "./BpkThemeToggle.module.css";
25
+ import STYLES from "./BpkThemeToggle.module.css";
26
26
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
27
27
  const inputId = 'theme-select';
28
28
  const getClassName = cssModules(STYLES);
@@ -18,7 +18,7 @@
18
18
  /* eslint-disable valid-jsdoc */
19
19
  import PropTypes from 'prop-types';
20
20
  import { cssModules } from "../../bpk-react-utils";
21
- import * as STYLES from "./BpkTicket.module.css";
21
+ import STYLES from "./BpkTicket.module.css";
22
22
  import { jsx as _jsx } from "react/jsx-runtime";
23
23
  const getClassName = cssModules(STYLES);
24
24
  /**
@@ -24,7 +24,7 @@ The actual component that developers create (i.e. the default export from this p
24
24
 
25
25
  import { TransitionInitialMount, cssModules } from "../../bpk-react-utils";
26
26
  import { ARROW_ID, TOOLTIP_TYPES } from "./constants";
27
- import * as STYLES from "./BpkTooltip.module.css";
27
+ import STYLES from "./BpkTooltip.module.css";
28
28
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
29
29
  const getClassName = cssModules(STYLES);
30
30
  const BpkTooltip = ({
@@ -21,7 +21,7 @@ import { createPopper } from '@popperjs/core';
21
21
  import { Portal, cssModules } from "../../bpk-react-utils";
22
22
  import BpkTooltip from "./BpkTooltip";
23
23
  import { TOOLTIP_TYPES } from "./constants";
24
- import * as STYLES from "./BpkTooltip.module.css";
24
+ import STYLES from "./BpkTooltip.module.css";
25
25
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
26
26
  const getClassName = cssModules(STYLES);
27
27
  const hasTouchSupport = () => !!(typeof window !== 'undefined' && ('ontouchstart' in window || navigator.maxTouchPoints > 0));
@@ -19,7 +19,7 @@
19
19
  import { useEffect, useRef, useState } from "react";
20
20
  import CSSTransition from 'react-transition-group/CSSTransition';
21
21
  import cssModules from "../cssModules";
22
- import * as STYLES from "./BpkDialogWrapper.module.css";
22
+ import STYLES from "./BpkDialogWrapper.module.css";
23
23
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
24
  const getClassName = cssModules(STYLES);
25
25
  ;
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { TransitionInitialMount, cssModules } from "../../bpk-react-utils";
20
- import * as STYLES from "./bpk-scrim.module.css";
20
+ import STYLES from "./bpk-scrim.module.css";
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
22
  const getClassName = cssModules(STYLES);
23
23
  const BpkScrim = ({
@@ -25,7 +25,7 @@ import focusStore from 'a11y-focus-store';
25
25
  import { cssModules, isDeviceIpad, isDeviceIphone, wrapDisplayName } from "../../bpk-react-utils";
26
26
  import BpkScrim from "./BpkScrim";
27
27
  import { fixBody, lockScroll, restoreScroll, storeScroll, unfixBody, unlockScroll } from "./scroll-utils";
28
- import * as STYLES from "./bpk-scrim-content.module.css";
28
+ import STYLES from "./bpk-scrim-content.module.css";
29
29
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
30
30
  const getClassName = cssModules(STYLES);
31
31
  const withScrim = WrappedComponent => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyscanner/backpack-web",
3
- "version": "36.11.1-alpha.0",
3
+ "version": "36.12.0",
4
4
  "description": "Backpack Design System web library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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
- .bpk-bottom-sheet{z-index:1100;width:100%;max-width:32rem;margin:auto;transform:scale(1);transition:opacity 200ms ease-in-out,transform 200ms ease-in-out;outline:0;background-color:#fff;opacity:1;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 12px 50px 0px rgba(37,32,31,.25);border-radius:.5rem}@media(max-width: 32rem){.bpk-bottom-sheet{position:fixed;bottom:0;height:fit-content;max-height:90%;margin-bottom:0;border-radius:1.5rem 1.5rem 0 0;overflow-x:hidden;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.bpk-bottom-sheet::-webkit-scrollbar{display:none}}.bpk-bottom-sheet--content{padding:1rem;flex:1;overflow-y:auto}@media(min-width: 32.0625rem){.bpk-bottom-sheet--wide{max-width:64rem}}@keyframes slide-up{0%{transform:translateY(100%)}100%{transform:translateY(0%)}}.bpk-bottom-sheet--appear{animation-duration:.24s;animation-name:slide-up;animation-timing-function:ease-in-out}@media(min-width: 32.0625rem){.bpk-bottom-sheet--appear{transform:scale(0.9);opacity:0;animation:none}}@media(min-width: 32.0625rem){.bpk-bottom-sheet--appear-active{transform:scale(1);opacity:1}}.bpk-bottom-sheet--exit{animation-direction:reverse;animation-duration:.24s;animation-name:slide-up;animation-timing-function:ease-in-out}@media(min-width: 32.0625rem){.bpk-bottom-sheet--exit{animation:none}}.bpk-bottom-sheet--header{position:sticky;top:0;z-index:899;box-shadow:0 -1px 0 0 #c1c7cf inset}.bpk-bottom-sheet--navigation{display:flex;justify-content:space-between;background-color:#fff}.bpk-bottom-sheet--heading{width:calc(100% - ((3rem)*2 + 0.125rem));margin-right:auto;text-align:center;margin:0;font-size:1rem;line-height:1.5rem;font-weight:700}.bpk-bottom-sheet--close-button{position:relative;left:auto;margin-right:1.5rem}html[dir=rtl] .bpk-bottom-sheet--close-button{right:auto;margin-right:.125rem;margin-left:1.5rem}.bpk-bottom-sheet--action-button{position:relative;right:auto;width:calc(3rem - (0.25rem));margin-right:.125rem;margin-left:.25rem;word-break:break-all}html[dir=rtl] .bpk-bottom-sheet--action-button{left:auto;margin-right:.25rem;margin-left:.125rem}
@@ -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
- .bpk-button--destructive{color:#161616;color:var(--bpk-button-secondary-text-color, rgb(22, 22, 22));background-color:#e0e4e9;background-color:var(--bpk-button-secondary-background-color, rgb(224, 228, 233));color:#e70866;color:var(--bpk-button-destructive-text-color, rgb(231, 8, 102));background-color:#e0e4e9;background-color:var(--bpk-button-destructive-background-color, rgb(224, 228, 233))}.bpk-no-touch-support .bpk-button--destructive:hover:not(:active):not(:disabled){color:#161616;color:var(--bpk-button-secondary-hover-text-color, rgb(22, 22, 22));background-color:#c1c7cf;background-color:var(--bpk-button-secondary-hover-background-color, rgb(193, 199, 207))}:global(.bpk-no-touch-support) .bpk-button--destructive:hover:not(:active):not(:disabled){color:#161616;color:var(--bpk-button-secondary-hover-text-color, rgb(22, 22, 22));background-color:#c1c7cf;background-color:var(--bpk-button-secondary-hover-background-color, rgb(193, 199, 207))}.bpk-button--destructive:active{color:#161616;color:var(--bpk-button-secondary-active-text-color, rgb(22, 22, 22));background-color:#c1c7cf;background-color:var(--bpk-button-secondary-active-background-color, rgb(193, 199, 207))}.bpk-button--destructive:disabled{background-color:#e0e4e9;color:rgba(0,0,0,.2)}.bpk-no-touch-support .bpk-button--destructive:hover:not(:active):not(:disabled){color:#fff;color:var(--bpk-button-destructive-hover-text-color, rgb(255, 255, 255));background-color:#e70866;background-color:var(--bpk-button-destructive-hover-background-color, rgb(231, 8, 102))}:global(.bpk-no-touch-support) .bpk-button--destructive:hover:not(:active):not(:disabled){color:#fff;color:var(--bpk-button-destructive-hover-text-color, rgb(255, 255, 255));background-color:#e70866;background-color:var(--bpk-button-destructive-hover-background-color, rgb(231, 8, 102))}.bpk-button--destructive:active{color:#fff;color:var(--bpk-button-destructive-active-text-color, rgb(255, 255, 255));background-color:#e70866;background-color:var(--bpk-button-destructive-active-background-color, rgb(231, 8, 102))}.bpk-button--destructive:disabled{background-color:#e0e4e9;color:rgba(0,0,0,.2)}
@@ -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
- .bpk-button--featured{color:#fff;color:var(--bpk-button-featured-text-color, rgb(255, 255, 255));background-color:#0062e3;background-color:var(--bpk-button-featured-background-color, rgb(0, 98, 227))}.bpk-no-touch-support .bpk-button--featured:hover:not(:active):not(:disabled){color:#fff;color:var(--bpk-button-featured-hover-text-color, rgb(255, 255, 255));background-color:#024daf;background-color:var(--bpk-button-featured-hover-background-color, rgb(2, 77, 175))}:global(.bpk-no-touch-support) .bpk-button--featured:hover:not(:active):not(:disabled){color:#fff;color:var(--bpk-button-featured-hover-text-color, rgb(255, 255, 255));background-color:#024daf;background-color:var(--bpk-button-featured-hover-background-color, rgb(2, 77, 175))}.bpk-button--featured:active{color:#fff;color:var(--bpk-button-featured-active-text-color, rgb(255, 255, 255));background-color:#024daf;background-color:var(--bpk-button-featured-active-background-color, rgb(2, 77, 175))}.bpk-button--featured:disabled{background-color:#e0e4e9;color:rgba(0,0,0,.2)}
@@ -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
- .bpk-button--link{background:none;box-shadow:none;padding:0;border:0;background-color:rgba(0,0,0,0);text-decoration:none;cursor:pointer;appearance:none;color:#0062e3;color:var(--bpk-link-color, rgb(0, 98, 227));padding:.375rem 0;color:#0062e3}.bpk-no-touch-support .bpk-button--link:hover:not(:active):not(:disabled){text-decoration:underline;color:#0062e3;color:var(--bpk-link-hover-color, rgb(0, 98, 227))}:global(.bpk-no-touch-support) .bpk-button--link:hover:not(:active):not(:disabled){text-decoration:underline;color:#0062e3;color:var(--bpk-link-hover-color, rgb(0, 98, 227))}.bpk-button--link:visited{color:#0062e3;color:var(--bpk-link-visited-color, rgb(0, 98, 227))}.bpk-button--link:active{text-decoration:underline;color:#0062e3;color:var(--bpk-link-active-color, rgb(0, 98, 227))}.bpk-no-touch-support .bpk-button--link:hover:not(:active):not(:disabled){background:none;color:#024daf;text-decoration:none}:global(.bpk-no-touch-support) .bpk-button--link:hover:not(:active):not(:disabled){background:none;color:#024daf;text-decoration:none}.bpk-button--link:active{background:none;color:#024daf;text-decoration:none}.bpk-button--link:disabled{background:none;color:rgba(0,0,0,.2);text-decoration:none}.bpk-button--link-large{padding:.75rem 0}
@@ -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
- .bpk-button--link-on-dark{background:none;box-shadow:none;padding:0;border:0;background-color:rgba(0,0,0,0);text-decoration:none;cursor:pointer;appearance:none;color:#0062e3;color:var(--bpk-link-color, rgb(0, 98, 227));padding:.375rem 0;color:#0062e3;color:#fff;color:var(--bpk-button-link-on-dark-text-color, rgb(255, 255, 255))}.bpk-no-touch-support .bpk-button--link-on-dark:hover:not(:active):not(:disabled){text-decoration:underline;color:#0062e3;color:var(--bpk-link-hover-color, rgb(0, 98, 227))}:global(.bpk-no-touch-support) .bpk-button--link-on-dark:hover:not(:active):not(:disabled){text-decoration:underline;color:#0062e3;color:var(--bpk-link-hover-color, rgb(0, 98, 227))}.bpk-button--link-on-dark:visited{color:#0062e3;color:var(--bpk-link-visited-color, rgb(0, 98, 227))}.bpk-button--link-on-dark:active{text-decoration:underline;color:#0062e3;color:var(--bpk-link-active-color, rgb(0, 98, 227))}.bpk-no-touch-support .bpk-button--link-on-dark:hover:not(:active):not(:disabled){background:none;color:#024daf;text-decoration:none}:global(.bpk-no-touch-support) .bpk-button--link-on-dark:hover:not(:active):not(:disabled){background:none;color:#024daf;text-decoration:none}.bpk-button--link-on-dark:active{background:none;color:#024daf;text-decoration:none}.bpk-button--link-on-dark:disabled{background:none;color:rgba(0,0,0,.2);text-decoration:none}.bpk-button--link-on-dark-large{padding:.75rem 0}.bpk-no-touch-support .bpk-button--link-on-dark:hover:not(:active):not(:disabled){color:rgba(255,255,255,.5);color:var(--bpk-button-link-on-dark-hover-text-color, rgba(255, 255, 255, 0.5))}:global(.bpk-no-touch-support) .bpk-button--link-on-dark:hover:not(:active):not(:disabled){color:rgba(255,255,255,.5);color:var(--bpk-button-link-on-dark-hover-text-color, rgba(255, 255, 255, 0.5))}.bpk-button--link-on-dark:active{color:rgba(255,255,255,.5);color:var(--bpk-button-link-on-dark-active-text-color, rgba(255, 255, 255, 0.5))}.bpk-button--link-on-dark:visited{color:#fff;color:var(--bpk-button-link-on-dark-text-color, rgb(255, 255, 255))}.bpk-button--link-on-dark:disabled{color:rgba(255,255,255,.2);color:var(--bpk-button-link-on-dark-disabled-color, rgba(255, 255, 255, 0.2))}
@@ -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
- .bpk-button--primary-on-dark{color:#161616;color:var(--bpk-button-primary-on-dark-text-color, rgb(22, 22, 22));background-color:#fff;background-color:var(--bpk-button-primary-on-dark-background-color, rgb(255, 255, 255))}.bpk-no-touch-support .bpk-button--primary-on-dark:hover:not(:active):not(:disabled){color:#161616;color:var(--bpk-button-primary-on-dark-hover-text-color, rgb(22, 22, 22));background-color:#c1c7cf;background-color:var(--bpk-button-primary-on-dark-hover-background-color, rgb(193, 199, 207))}:global(.bpk-no-touch-support) .bpk-button--primary-on-dark:hover:not(:active):not(:disabled){color:#161616;color:var(--bpk-button-primary-on-dark-hover-text-color, rgb(22, 22, 22));background-color:#c1c7cf;background-color:var(--bpk-button-primary-on-dark-hover-background-color, rgb(193, 199, 207))}.bpk-button--primary-on-dark:active{color:#161616;color:var(--bpk-button-primary-on-dark-active-text-color, rgb(22, 22, 22));background-color:#c1c7cf;background-color:var(--bpk-button-primary-on-dark-active-background-color, rgb(193, 199, 207))}.bpk-button--primary-on-dark:disabled{background-color:#e0e4e9;color:rgba(0,0,0,.2)}
@@ -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
- .bpk-button--primary-on-light{color:#fff;color:var(--bpk-button-primary-on-light-text-color, rgb(255, 255, 255));background-color:#05203c;background-color:var(--bpk-button-primary-on-light-background-color, rgb(5, 32, 60))}.bpk-no-touch-support .bpk-button--primary-on-light:hover:not(:active):not(:disabled){color:#fff;color:var(--bpk-button-primary-on-light-hover-text-color, rgb(255, 255, 255));background-color:#154679;background-color:var(--bpk-button-primary-on-light-hover-background-color, rgb(21, 70, 121))}:global(.bpk-no-touch-support) .bpk-button--primary-on-light:hover:not(:active):not(:disabled){color:#fff;color:var(--bpk-button-primary-on-light-hover-text-color, rgb(255, 255, 255));background-color:#154679;background-color:var(--bpk-button-primary-on-light-hover-background-color, rgb(21, 70, 121))}.bpk-button--primary-on-light:active{color:#fff;color:var(--bpk-button-primary-on-light-active-text-color, rgb(255, 255, 255));background-color:#154679;background-color:var(--bpk-button-primary-on-light-active-background-color, rgb(21, 70, 121))}.bpk-button--primary-on-light:disabled{background-color:#e0e4e9;color:rgba(0,0,0,.2)}
@@ -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
- .bpk-button--secondary{color:#161616;color:var(--bpk-button-secondary-text-color, rgb(22, 22, 22));background-color:#e0e4e9;background-color:var(--bpk-button-secondary-background-color, rgb(224, 228, 233))}.bpk-no-touch-support .bpk-button--secondary:hover:not(:active):not(:disabled){color:#161616;color:var(--bpk-button-secondary-hover-text-color, rgb(22, 22, 22));background-color:#c1c7cf;background-color:var(--bpk-button-secondary-hover-background-color, rgb(193, 199, 207))}:global(.bpk-no-touch-support) .bpk-button--secondary:hover:not(:active):not(:disabled){color:#161616;color:var(--bpk-button-secondary-hover-text-color, rgb(22, 22, 22));background-color:#c1c7cf;background-color:var(--bpk-button-secondary-hover-background-color, rgb(193, 199, 207))}.bpk-button--secondary:active{color:#161616;color:var(--bpk-button-secondary-active-text-color, rgb(22, 22, 22));background-color:#c1c7cf;background-color:var(--bpk-button-secondary-active-background-color, rgb(193, 199, 207))}.bpk-button--secondary:disabled{background-color:#e0e4e9;color:rgba(0,0,0,.2)}
@@ -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
- .bpk-button--secondary-on-dark{color:#fff;color:var(--bpk-button-secondary-on-dark-text-color, rgb(255, 255, 255));background-color:rgba(255,255,255,.1);background-color:var(--bpk-button-secondary-on-dark-background-color, rgba(255, 255, 255, 0.1))}.bpk-no-touch-support .bpk-button--secondary-on-dark:hover:not(:active):not(:disabled){color:#fff;color:var(--bpk-button-secondary-on-dark-hover-text-color, rgb(255, 255, 255));background-color:#010913;background-color:var(--bpk-button-secondary-on-dark-hover-background-color, rgb(1, 9, 19))}:global(.bpk-no-touch-support) .bpk-button--secondary-on-dark:hover:not(:active):not(:disabled){color:#fff;color:var(--bpk-button-secondary-on-dark-hover-text-color, rgb(255, 255, 255));background-color:#010913;background-color:var(--bpk-button-secondary-on-dark-hover-background-color, rgb(1, 9, 19))}.bpk-button--secondary-on-dark:active{color:#fff;color:var(--bpk-button-secondary-on-dark-active-text-color, rgb(255, 255, 255));background-color:#010913;background-color:var(--bpk-button-secondary-on-dark-active-background-color, rgb(1, 9, 19))}.bpk-button--secondary-on-dark:disabled{background-color:#0b121d;color:rgba(255,255,255,.2)}
@@ -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
- .bpk-datepicker__calendar{margin:0 auto}.bpk-datepicker__input{display:inline-block;width:100%}
@@ -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
- .bpk-clear-button{padding:0;border:0;background-color:rgba(0,0,0,0);color:#626971;cursor:pointer;appearance:none}.bpk-no-touch-support .bpk-clear-button:hover:not(:active):not(:disabled){color:#161616}:global(.bpk-no-touch-support) .bpk-clear-button:hover:not(:active):not(:disabled){color:#161616}.bpk-clear-button:active{color:#161616}.bpk-clear-button__icon{fill:currentcolor}
@@ -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
- .bpk-navigation-bar-button-link{color:#161616;color:var(--bpk-navigation-bar-button-link-color, rgb(22, 22, 22))}.bpk-no-touch-support .bpk-navigation-bar-button-link:hover:not(:active):not(:disabled){color:#161616;color:var(--bpk-navigation-bar-button-link-hover-color, rgb(22, 22, 22))}:global(.bpk-no-touch-support) .bpk-navigation-bar-button-link:hover:not(:active):not(:disabled){color:#161616;color:var(--bpk-navigation-bar-button-link-hover-color, rgb(22, 22, 22))}.bpk-navigation-bar-button-link:active{color:#161616;color:var(--bpk-navigation-bar-button-link-active-color, rgb(22, 22, 22))}.bpk-navigation-bar-button-link:visited{color:#161616;color:var(--bpk-navigation-bar-button-link-visited-color, rgb(22, 22, 22))}.bpk-navigation-bar-button-link--on-dark{color:#fff}.bpk-no-touch-support .bpk-navigation-bar-button-link--on-dark:hover:not(:active):not(:disabled){color:#fff}:global(.bpk-no-touch-support) .bpk-navigation-bar-button-link--on-dark:hover:not(:active):not(:disabled){color:#fff}.bpk-navigation-bar-button-link--on-dark:active{color:#fff}.bpk-navigation-bar-button-link--on-dark:visited{color:#fff}