@skyscanner/backpack-web 36.10.0 → 36.11.1-alpha.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-component-accordion/src/BpkAccordion.js +1 -1
- package/bpk-component-accordion/src/BpkAccordionItem.js +1 -1
- package/bpk-component-aria-live/src/BpkAriaLive.js +1 -1
- package/bpk-component-autosuggest/src/BpkAutosuggest.js +1 -1
- package/bpk-component-autosuggest/src/BpkAutosuggestSuggestion.js +1 -1
- package/bpk-component-badge/src/BpkBadge.js +1 -1
- package/bpk-component-banner-alert/src/AnimateAndFade.js +1 -1
- package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +1 -1
- package/bpk-component-barchart/src/BpkBarchart.js +1 -1
- package/bpk-component-barchart/src/BpkBarchartBar.js +1 -1
- package/bpk-component-barchart/src/BpkChartAxis.js +1 -1
- package/bpk-component-barchart/src/BpkChartDataTable.js +1 -1
- package/bpk-component-barchart/src/BpkChartGridLines.js +1 -1
- package/bpk-component-blockquote/src/BpkBlockquote.js +1 -1
- package/bpk-component-boilerplate/src/BpkBoilerplate.js +1 -1
- package/bpk-component-bottom-sheet/src/BpkBottomSheet.js +1 -1
- package/bpk-component-bottom-sheet/src/BpkBottomSheetInner.module.css +18 -0
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.js +1 -1
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.js +1 -1
- package/bpk-component-button/src/BpkButtonDestructive.module.css +18 -0
- package/bpk-component-button/src/BpkButtonFeatured.module.css +18 -0
- package/bpk-component-button/src/BpkButtonLink.module.css +18 -0
- package/bpk-component-button/src/BpkButtonLinkOnDark.module.css +18 -0
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.css +18 -0
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.css +18 -0
- package/bpk-component-button/src/BpkButtonSecondary.module.css +18 -0
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.css +18 -0
- package/bpk-component-calendar/src/BpkCalendarDate.js +1 -1
- package/bpk-component-calendar/src/BpkCalendarGrid.js +1 -1
- package/bpk-component-calendar/src/BpkCalendarGridHeader.js +1 -1
- package/bpk-component-calendar/src/BpkCalendarGridTransition.js +1 -1
- package/bpk-component-calendar/src/BpkCalendarNav.js +1 -1
- package/bpk-component-calendar/src/BpkCalendarWeek.js +1 -1
- package/bpk-component-calendar/src/composeCalendar.js +1 -1
- package/bpk-component-card/src/BpkCard.js +1 -1
- package/bpk-component-card/src/BpkCardWrapper.js +1 -1
- package/bpk-component-card/src/BpkDividedCard.js +1 -1
- package/bpk-component-card-button/src/BpkSaveButton.js +1 -1
- package/bpk-component-card-list/src/BpkCardList.js +1 -1
- package/bpk-component-carousel/src/BpkCarousel.js +1 -1
- package/bpk-component-carousel/src/BpkCarouselContainer.js +1 -1
- package/bpk-component-carousel/src/BpkCarouselImage.js +1 -1
- package/bpk-component-checkbox/src/BpkCheckbox.js +1 -1
- package/bpk-component-chip/src/BpkDismissibleChip.js +1 -1
- package/bpk-component-chip/src/BpkSelectableChip.js +1 -1
- package/bpk-component-chip-group/src/BpkMultiSelectChipGroup.js +1 -1
- package/bpk-component-chip-group/src/Nudger.js +1 -1
- package/bpk-component-close-button/src/BpkCloseButton.js +1 -1
- package/bpk-component-code/src/BpkCode.js +1 -1
- package/bpk-component-code/src/BpkCodeBlock.js +1 -1
- package/bpk-component-content-cards/src/BpkContentCard.js +1 -1
- package/bpk-component-content-cards/src/BpkContentCards.js +1 -1
- package/bpk-component-datatable/src/BpkDataTable.js +1 -1
- package/bpk-component-datatable/src/BpkDataTableHeader.js +1 -1
- package/bpk-component-datepicker/src/BpkDatepicker.module.css +18 -0
- package/bpk-component-description-list/src/BpkDescriptionDetails.js +1 -1
- package/bpk-component-description-list/src/BpkDescriptionList.js +1 -1
- package/bpk-component-description-list/src/BpkDescriptionTerm.js +1 -1
- package/bpk-component-dialog/src/BpkDialog.js +1 -1
- package/bpk-component-dialog/src/BpkDialogInner.js +1 -1
- package/bpk-component-drawer/src/BpkDrawerContent.js +1 -1
- package/bpk-component-fieldset/src/BpkFieldset.js +1 -1
- package/bpk-component-flare/src/BpkContentBubble.js +1 -1
- package/bpk-component-flare/src/BpkFlareBar.js +1 -1
- package/bpk-component-floating-notification/src/BpkFloatingNotification.js +1 -1
- package/bpk-component-form-validation/src/BpkFormValidation.js +1 -1
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.js +1 -1
- package/bpk-component-grid-toggle/src/BpkGridToggle.js +1 -1
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.js +1 -1
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.js +1 -1
- package/bpk-component-icon/src/withDescription.js +1 -1
- package/bpk-component-icon/src/withRtlSupport.js +1 -1
- package/bpk-component-image/src/BpkBackgroundImage.js +1 -1
- package/bpk-component-image/src/BpkImage.js +1 -1
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.js +1 -1
- package/bpk-component-info-banner/src/AnimateAndFade.js +1 -1
- package/bpk-component-info-banner/src/BpkInfoBannerInner.js +1 -1
- package/bpk-component-input/src/BpkClearButton.module.css +18 -0
- package/bpk-component-input/src/BpkInput.js +1 -1
- package/bpk-component-inset-banner/src/BpkInsetBanner.d.ts +9 -0
- package/bpk-component-inset-banner/src/BpkInsetBanner.js +46 -3
- package/bpk-component-inset-banner/src/BpkInsetBanner.module.css +1 -1
- package/bpk-component-journey-arrow/src/BpkJourneyArrow.js +1 -1
- package/bpk-component-label/src/BpkLabel.js +1 -1
- package/bpk-component-link/src/BpkButtonLink.js +1 -1
- package/bpk-component-link/src/BpkLink.js +1 -1
- package/bpk-component-list/src/BpkList.js +1 -1
- package/bpk-component-list/src/BpkListItem.js +1 -1
- package/bpk-component-loading-button/src/BpkLoadingButton.js +1 -1
- package/bpk-component-map/src/BpkIconMarker.js +1 -1
- package/bpk-component-map/src/BpkIconMarkerBackground.js +1 -1
- package/bpk-component-map/src/BpkMap.js +1 -1
- package/bpk-component-map/src/BpkPriceMarker.js +1 -1
- package/bpk-component-map/src/BpkPriceMarkerV2/BpkPriceMarker.js +1 -1
- package/bpk-component-map/src/DefaultLoadingElement.js +1 -1
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.js +1 -1
- package/bpk-component-modal/src/BpkModal.js +1 -1
- package/bpk-component-modal/src/BpkModalInner.js +1 -1
- package/bpk-component-modal/src/BpkModalV2/BpkModal.js +1 -1
- package/bpk-component-navigation-bar/src/BpkNavigationBar.js +1 -1
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.css +18 -0
- package/bpk-component-navigation-tab-group/src/BpkNavigationTabGroup.js +1 -1
- package/bpk-component-nudger/src/BpkNudger.js +1 -1
- package/bpk-component-overlay/src/BpkOverlay.js +1 -1
- package/bpk-component-page-indicator/src/BpkPageIndicator.js +1 -1
- package/bpk-component-pagination/src/BpkPagination.js +1 -1
- package/bpk-component-pagination/src/BpkPaginationList.js +1 -1
- package/bpk-component-pagination/src/BpkPaginationNudger.js +1 -1
- package/bpk-component-pagination/src/BpkPaginationPage.js +1 -1
- package/bpk-component-panel/src/BpkPanel.js +1 -1
- package/bpk-component-phone-input/src/BpkPhoneInput.js +1 -1
- package/bpk-component-popover/src/BpkPopover.js +1 -1
- package/bpk-component-price/src/BpkPrice.js +1 -1
- package/bpk-component-progress/src/BpkProgress.js +1 -1
- package/bpk-component-radio/src/BpkRadio.js +1 -1
- package/bpk-component-rating/src/BpkRating.js +1 -1
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +1 -1
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +1 -1
- package/bpk-component-section-header/src/BpkSectionHeader.js +1 -1
- package/bpk-component-section-list/src/BpkSectionListItem.js +1 -1
- package/bpk-component-section-list/src/BpkSectionListSection.js +1 -1
- package/bpk-component-segmented-control/src/BpkSegmentedControl.js +1 -1
- package/bpk-component-select/src/BpkSelect.js +1 -1
- package/bpk-component-skeleton/src/BpkBaseSkeleton.js +1 -1
- package/bpk-component-skeleton/src/BpkSkeleton.js +1 -1
- package/bpk-component-skip-link/src/BpkSkipLink.js +1 -1
- package/bpk-component-slider/src/BpkSlider.js +1 -1
- package/bpk-component-snippet/src/BpkSnippet.js +1 -1
- package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +1 -1
- package/bpk-component-spinner/src/BpkLargeSpinner.js +1 -1
- package/bpk-component-spinner/src/BpkSpinner.js +1 -1
- package/bpk-component-split-input/src/BpkInputField.js +1 -1
- package/bpk-component-split-input/src/BpkSplitInput.js +1 -1
- package/bpk-component-star-rating/src/BpkInteractiveStar.js +1 -1
- package/bpk-component-star-rating/src/BpkInteractiveStarRating.js +1 -1
- package/bpk-component-star-rating/src/BpkStar.js +1 -1
- package/bpk-component-star-rating/src/BpkStarRating.js +1 -1
- package/bpk-component-swap-button/src/BpkSwapButton.js +1 -1
- package/bpk-component-switch/src/BpkSwitch.js +1 -1
- package/bpk-component-table/src/BpkTable.js +1 -1
- package/bpk-component-table/src/BpkTableCell.js +1 -1
- package/bpk-component-table/src/BpkTableHeadCell.js +1 -1
- package/bpk-component-text/src/BpkText.js +1 -1
- package/bpk-component-textarea/src/BpkTextarea.js +1 -1
- package/bpk-component-theme-toggle/src/BpkThemeToggle.js +1 -1
- package/bpk-component-ticket/src/BpkTicket.js +1 -1
- package/bpk-component-tooltip/src/BpkTooltip.js +1 -1
- package/bpk-component-tooltip/src/BpkTooltipPortal.js +1 -1
- package/bpk-react-utils/src/BpkDialogWrapper/BpkDialogWrapper.js +1 -1
- package/bpk-scrim-utils/src/BpkScrim.js +1 -1
- package/bpk-scrim-utils/src/withScrim.js +1 -1
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
import { createContext } from 'react';
|
|
20
20
|
import { cssModules } from "../../bpk-react-utils";
|
|
21
|
-
import STYLES from "./BpkAccordion.module.css";
|
|
21
|
+
import * as STYLES from "./BpkAccordion.module.css";
|
|
22
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
23
|
const getClassName = cssModules(STYLES);
|
|
24
24
|
export const BpkAccordionContext = /*#__PURE__*/createContext({
|
|
@@ -24,7 +24,7 @@ import ChevronDownIcon from "../../bpk-component-icon/sm/chevron-down";
|
|
|
24
24
|
import BpkText, { TEXT_STYLES } from "../../bpk-component-text";
|
|
25
25
|
import { cssModules } from "../../bpk-react-utils";
|
|
26
26
|
import { BpkAccordionContext } from "./BpkAccordion";
|
|
27
|
-
import STYLES from "./BpkAccordionItem.module.css";
|
|
27
|
+
import * as STYLES from "./BpkAccordionItem.module.css";
|
|
28
28
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
29
29
|
const getClassName = cssModules(STYLES);
|
|
30
30
|
const ExpandIcon = withButtonAlignment(ChevronDownIcon);
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
20
|
-
import STYLES from "./BpkAriaLive.module.css";
|
|
20
|
+
import * as STYLES from "./BpkAriaLive.module.css";
|
|
21
21
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
22
22
|
const getClassName = cssModules(STYLES);
|
|
23
23
|
export const POLITENESS_SETTINGS = {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/import Autosuggest from 'react-autosuggest';
|
|
18
18
|
import BpkInput from "../../bpk-component-input";
|
|
19
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
20
|
-
import STYLES from "./BpkAutosuggest.module.css";
|
|
20
|
+
import * as STYLES from "./BpkAutosuggest.module.css";
|
|
21
21
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
22
22
|
const getClassName = cssModules(STYLES);
|
|
23
23
|
|
|
@@ -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 STYLES from "./BpkAutosuggest.module.css";
|
|
19
|
+
import * as STYLES from "./BpkAutosuggest.module.css";
|
|
20
20
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
21
|
const getClassName = cssModules(STYLES);
|
|
22
22
|
const BpkAutosuggestSuggestion = props => {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
20
|
-
import STYLES from "./BpkBadge.module.css";
|
|
20
|
+
import * as STYLES from "./BpkBadge.module.css";
|
|
21
21
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
22
22
|
export const BADGE_TYPES = {
|
|
23
23
|
warning: 'warning',
|
|
@@ -23,7 +23,7 @@ import { durationSm } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
|
23
23
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
24
24
|
import BpkAnimateHeight from "../../bpk-animate-height";
|
|
25
25
|
import { cssModules } from "../../bpk-react-utils";
|
|
26
|
-
import STYLES from "./BpkAnimateAndFade.module.css";
|
|
26
|
+
import * as STYLES from "./BpkAnimateAndFade.module.css";
|
|
27
27
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
28
|
const getClassName = cssModules(STYLES);
|
|
29
29
|
const ANIMATION_DURATION = parseInt(durationSm, 10);
|
|
@@ -33,7 +33,7 @@ import TickCircleIcon from "../../bpk-component-icon/sm/tick-circle";
|
|
|
33
33
|
import { cssModules } from "../../bpk-react-utils";
|
|
34
34
|
import AnimateAndFade from "./AnimateAndFade";
|
|
35
35
|
import { ALERT_TYPES } from "./common-types";
|
|
36
|
-
import STYLES from "./BpkBannerAlert.module.css";
|
|
36
|
+
import * as STYLES from "./BpkBannerAlert.module.css";
|
|
37
37
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
38
38
|
const getClassName = cssModules(STYLES);
|
|
39
39
|
const ExpandIcon = withButtonAlignment(ChevronDownIcon);
|
|
@@ -32,7 +32,7 @@ import { applyArrayRTLTransform, applyMarginRTLTransform } from "./RTLtransforms
|
|
|
32
32
|
import dataProp from "./customPropTypes";
|
|
33
33
|
import { ORIENTATION_X, ORIENTATION_Y } from "./orientation";
|
|
34
34
|
import { identity, remToPx } from "./utils";
|
|
35
|
-
import STYLES from "./BpkBarchart.module.css";
|
|
35
|
+
import * as STYLES from "./BpkBarchart.module.css";
|
|
36
36
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
37
37
|
const getClassName = cssModules(STYLES);
|
|
38
38
|
const spacing = remToPx('.375rem');
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import { borderRadiusXs } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
19
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
20
20
|
import { remToPx } from "./utils";
|
|
21
|
-
import STYLES from "./BpkBarchartBar.module.css";
|
|
21
|
+
import * as STYLES from "./BpkBarchartBar.module.css";
|
|
22
22
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
23
|
const getClassName = cssModules(STYLES);
|
|
24
24
|
const KEYCODES = {
|
|
@@ -20,7 +20,7 @@ import { cssModules } from "../../bpk-react-utils";
|
|
|
20
20
|
import { rtlConditionalValue } from "./RTLtransforms";
|
|
21
21
|
import { ORIENTATION_X, ORIENTATION_Y } from "./orientation";
|
|
22
22
|
import { identity, center, remToPx } from "./utils";
|
|
23
|
-
import STYLES from "./BpkChartAxis.module.css";
|
|
23
|
+
import * as STYLES from "./BpkChartAxis.module.css";
|
|
24
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
const getClassName = cssModules(STYLES);
|
|
26
26
|
const spacing = remToPx('.375rem');
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/import PropTypes from 'prop-types';
|
|
18
18
|
import { cssModules } from "../../bpk-react-utils";
|
|
19
19
|
import dataProp from "./customPropTypes";
|
|
20
|
-
import STYLES from "./BpkChartDataTable.module.css";
|
|
20
|
+
import * as STYLES from "./BpkChartDataTable.module.css";
|
|
21
21
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
22
|
const getClassName = cssModules(STYLES);
|
|
23
23
|
const BpkChartDataTable = props => {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import { cssModules } from "../../bpk-react-utils";
|
|
19
19
|
import { ORIENTATION_X, ORIENTATION_Y } from "./orientation";
|
|
20
20
|
import { identity, center } from "./utils";
|
|
21
|
-
import STYLES from "./BpkChartGridLines.module.css";
|
|
21
|
+
import * as STYLES from "./BpkChartGridLines.module.css";
|
|
22
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
23
|
const getClassName = cssModules(STYLES);
|
|
24
24
|
const BpkChartGridLines = props => {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
import PropTypes from 'prop-types';
|
|
20
20
|
import { cssModules } from "../../bpk-react-utils";
|
|
21
|
-
import STYLES from "./BpkBlockquote.module.css";
|
|
21
|
+
import * as STYLES from "./BpkBlockquote.module.css";
|
|
22
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
23
|
const getClassName = cssModules(STYLES);
|
|
24
24
|
const BpkBlockquote = props => {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
20
|
-
import STYLES from "./BpkBoilerplate.module.css";
|
|
20
|
+
import * as STYLES from "./BpkBoilerplate.module.css";
|
|
21
21
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
22
22
|
const getClassName = cssModules(STYLES);
|
|
23
23
|
const BpkBoilerplate = ({
|
|
@@ -25,7 +25,7 @@ import { BpkButtonLink } from "../../bpk-component-link";
|
|
|
25
25
|
import BpkNavigationBar from "../../bpk-component-navigation-bar";
|
|
26
26
|
import { TEXT_STYLES } from "../../bpk-component-text/src/BpkText";
|
|
27
27
|
import { BpkDialogWrapper, cssModules } from "../../bpk-react-utils";
|
|
28
|
-
import STYLES from "./BpkBottomSheet.module.css";
|
|
28
|
+
import * as STYLES from "./BpkBottomSheet.module.css";
|
|
29
29
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
30
30
|
const getClassName = cssModules(STYLES);
|
|
31
31
|
const BpkBottomSheet = ({
|
|
@@ -0,0 +1,18 @@
|
|
|
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}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/import PropTypes from 'prop-types';
|
|
18
18
|
import { Component, Fragment } from 'react';
|
|
19
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
20
|
-
import STYLES from "./BpkBreadcrumb.module.css";
|
|
20
|
+
import * as STYLES from "./BpkBreadcrumb.module.css";
|
|
21
21
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
22
|
const getClassName = cssModules(STYLES);
|
|
23
23
|
/*
|
|
@@ -20,7 +20,7 @@ import ArrowRight from "../../bpk-component-icon/sm/arrow-right";
|
|
|
20
20
|
import BpkLink from "../../bpk-component-link";
|
|
21
21
|
import BpkText from "../../bpk-component-text";
|
|
22
22
|
import { cssModules } from "../../bpk-react-utils";
|
|
23
|
-
import STYLES from "./BpkBreadcrumbItem.module.css";
|
|
23
|
+
import * as STYLES from "./BpkBreadcrumbItem.module.css";
|
|
24
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
const getClassName = cssModules(STYLES);
|
|
26
26
|
const RtlSupportedArrowRight = withRtlSupport(ArrowRight);
|
|
@@ -0,0 +1,18 @@
|
|
|
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)}
|
|
@@ -0,0 +1,18 @@
|
|
|
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)}
|
|
@@ -0,0 +1,18 @@
|
|
|
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}
|
|
@@ -0,0 +1,18 @@
|
|
|
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))}
|
|
@@ -0,0 +1,18 @@
|
|
|
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)}
|
|
@@ -0,0 +1,18 @@
|
|
|
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)}
|
|
@@ -0,0 +1,18 @@
|
|
|
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)}
|
|
@@ -0,0 +1,18 @@
|
|
|
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)}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
import { PureComponent } from 'react';
|
|
20
20
|
import { cssModules } from "../../bpk-react-utils";
|
|
21
|
-
import STYLES from "./BpkCalendarDate.module.css";
|
|
21
|
+
import * as STYLES from "./BpkCalendarDate.module.css";
|
|
22
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
23
|
const getClassName = cssModules(STYLES);
|
|
24
24
|
export const SELECTION_TYPES = {
|
|
@@ -22,7 +22,7 @@ import { addCalendarGridTransition } from "./BpkCalendarGridTransition";
|
|
|
22
22
|
import BpkCalendarWeek from "./BpkCalendarWeek";
|
|
23
23
|
import { CALENDAR_SELECTION_TYPE } from "./custom-proptypes";
|
|
24
24
|
import { addMonths, getCalendar, getCalendarNoCustomLabel, isSameMonth } from "./date-utils";
|
|
25
|
-
import STYLES from "./BpkCalendarGrid.module.css";
|
|
25
|
+
import * as STYLES from "./BpkCalendarGrid.module.css";
|
|
26
26
|
|
|
27
27
|
// This should be imported after `./BpkCalendarGrid.module.css`.
|
|
28
28
|
// Because of how css specificity works the class `bpk-calendar-grid-transition__grid` needs to be defined
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
import { PureComponent } from 'react';
|
|
20
20
|
import { cssModules } from "../../bpk-react-utils";
|
|
21
21
|
import { orderDaysOfWeek } from "./date-utils";
|
|
22
|
-
import STYLES from "./BpkCalendarGridHeader.module.css";
|
|
22
|
+
import * as STYLES from "./BpkCalendarGridHeader.module.css";
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
const getClassName = cssModules(STYLES);
|
|
25
25
|
/*
|
|
@@ -20,7 +20,7 @@ import { Component, createElement as _createElement } from 'react';
|
|
|
20
20
|
import { cssModules, isRTL } from "../../bpk-react-utils";
|
|
21
21
|
import { addMonths, isSameMonth, formatIsoMonth, differenceInCalendarMonths, dateToBoundaries, startOfDay, setMonthYear, isWithinRange, getMonthRange } from "./date-utils";
|
|
22
22
|
import { getCalendarGridWidth, getTransformStyles, isTransitionEndSupported } from "./utils";
|
|
23
|
-
import STYLES from "./BpkCalendarGridTransition.module.css";
|
|
23
|
+
import * as STYLES from "./BpkCalendarGridTransition.module.css";
|
|
24
24
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
25
25
|
const getClassName = cssModules(STYLES);
|
|
26
26
|
const transitionValues = {
|
|
@@ -24,7 +24,7 @@ import ArrowRightIcon from "../../bpk-component-icon/lg/arrow-right";
|
|
|
24
24
|
import BpkSelect from "../../bpk-component-select";
|
|
25
25
|
import { cssModules } from "../../bpk-react-utils";
|
|
26
26
|
import { addMonths, formatIsoMonth, getMonthRange, getMonthsInRange, isWithinRange, parseIsoDate, startOfMonth } from "./date-utils";
|
|
27
|
-
import STYLES from "./BpkCalendarNav.module.css";
|
|
27
|
+
import * as STYLES from "./BpkCalendarNav.module.css";
|
|
28
28
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
29
29
|
const getClassName = cssModules(STYLES);
|
|
30
30
|
const changeMonth = ({
|
|
@@ -21,7 +21,7 @@ import { cssModules } from "../../bpk-react-utils";
|
|
|
21
21
|
import { SELECTION_TYPES } from "./BpkCalendarDate";
|
|
22
22
|
import { CALENDAR_SELECTION_TYPE } from "./custom-proptypes";
|
|
23
23
|
import { isSameDay, isSameWeek, isSameMonth, isToday, isWithinRange, startOfMonth, endOfMonth } from "./date-utils";
|
|
24
|
-
import STYLES from "./BpkCalendarWeek.module.css";
|
|
24
|
+
import * as STYLES from "./BpkCalendarWeek.module.css";
|
|
25
25
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
26
26
|
const getClassName = cssModules(STYLES);
|
|
27
27
|
const shallowEqualProps = (props1, props2, propList) => {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
20
20
|
import { CALENDAR_SELECTION_TYPE } from "./custom-proptypes";
|
|
21
21
|
import { memoize } from "./utils";
|
|
22
|
-
import STYLES from "./BpkCalendar.module.css";
|
|
22
|
+
import * as STYLES from "./BpkCalendar.module.css";
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
const getClassName = cssModules(STYLES);
|
|
25
25
|
const composeCalendar = (Nav, GridHeader, Grid, CalendarDate) => {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
import { useContext } from 'react';
|
|
20
20
|
import { cssModules } from "../../bpk-react-utils";
|
|
21
21
|
import { CardContext } from "./CardContext";
|
|
22
|
-
import STYLES from "./BpkCard.module.css";
|
|
22
|
+
import * as STYLES from "./BpkCard.module.css";
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
const getClassName = cssModules(STYLES);
|
|
25
25
|
const BpkCard = ({
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
20
20
|
import { CardContext } from "./CardContext";
|
|
21
|
-
import STYLES from "./BpkCardWrapper.module.css";
|
|
21
|
+
import * as STYLES from "./BpkCardWrapper.module.css";
|
|
22
22
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
23
|
const getClassName = cssModules(STYLES);
|
|
24
24
|
const BpkCardWrapper = ({
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
import { cssModules } from "../../bpk-react-utils";
|
|
20
20
|
import BpkCard from "./BpkCard";
|
|
21
21
|
import { CardContext } from "./CardContext";
|
|
22
|
-
import STYLES from "./BpkDividedCard.module.css";
|
|
22
|
+
import * as STYLES from "./BpkDividedCard.module.css";
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
const getClassName = cssModules(STYLES);
|
|
25
25
|
export const ORIENTATION = {
|
|
@@ -23,7 +23,7 @@ import BpkHeartOutlineIcon from "../../bpk-component-icon/lg/heart--outline";
|
|
|
23
23
|
import BpkHeartIconSm from "../../bpk-component-icon/sm/heart";
|
|
24
24
|
import BpkHeartOutlineIconSm from "../../bpk-component-icon/sm/heart--outline";
|
|
25
25
|
import { cssModules } from "../../bpk-react-utils";
|
|
26
|
-
import STYLES from "./BpkSaveButton.module.css";
|
|
26
|
+
import * as STYLES from "./BpkSaveButton.module.css";
|
|
27
27
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
28
|
export const SIZE_TYPES = {
|
|
29
29
|
default: 'default',
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
import { BpkButtonV2 } from "../../bpk-component-button";
|
|
20
20
|
import BpkSectionHeader from "../../bpk-component-section-header";
|
|
21
21
|
import { cssModules } from "../../bpk-react-utils";
|
|
22
|
-
import STYLES from "./BpkCardList.module.css";
|
|
22
|
+
import * as STYLES from "./BpkCardList.module.css";
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
const getClassName = cssModules(STYLES);
|
|
25
25
|
const BpkCardList = props => {
|
|
@@ -23,7 +23,7 @@ import BpkPageIndicator, { VARIANT } from "../../bpk-component-page-indicator";
|
|
|
23
23
|
import { cssModules } from "../../bpk-react-utils";
|
|
24
24
|
import BpkCarouselContainer from "./BpkCarouselContainer";
|
|
25
25
|
import { useScrollToInitialImage } from "./utils";
|
|
26
|
-
import STYLES from "./BpkCarousel.module.css";
|
|
26
|
+
import * as STYLES from "./BpkCarousel.module.css";
|
|
27
27
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
28
|
const getClassName = cssModules(STYLES);
|
|
29
29
|
const BpkCarousel = ({
|
|
@@ -20,7 +20,7 @@ import { memo, useState } from 'react';
|
|
|
20
20
|
import { cssModules } from "../../bpk-react-utils";
|
|
21
21
|
import BpkCarouselImage from "./BpkCarouselImage";
|
|
22
22
|
import { useIntersectionObserver } from "./utils";
|
|
23
|
-
import STYLES from "./BpkCarouselContainer.module.css";
|
|
23
|
+
import * as STYLES from "./BpkCarouselContainer.module.css";
|
|
24
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
25
|
const getClassName = cssModules(STYLES);
|
|
26
26
|
const BpkScrollContainer = /*#__PURE__*/memo(({
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
import { forwardRef } from "react";
|
|
20
20
|
import { cssModules } from "../../bpk-react-utils";
|
|
21
|
-
import STYLES from "./BpkCarouselImage.module.css";
|
|
21
|
+
import * as STYLES from "./BpkCarouselImage.module.css";
|
|
22
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
23
|
const getClassName = cssModules(STYLES);
|
|
24
24
|
const BpkCarouselImage = /*#__PURE__*/forwardRef(({
|
|
@@ -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 STYLES from "./BpkCheckbox.module.css";
|
|
19
|
+
import * as STYLES from "./BpkCheckbox.module.css";
|
|
20
20
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
21
|
const getClassName = cssModules(STYLES);
|
|
22
22
|
const BpkCheckbox = props => {
|
|
@@ -26,7 +26,7 @@ import CloseCircleIconSm from "../../bpk-component-icon/sm/close-circle";
|
|
|
26
26
|
import { cssModules } from "../../bpk-react-utils";
|
|
27
27
|
import BpkSelectableChip from "./BpkSelectableChip";
|
|
28
28
|
import { CHIP_TYPES } from "./commonTypes";
|
|
29
|
-
import STYLES from "./BpkSelectableChip.module.css";
|
|
29
|
+
import * as STYLES from "./BpkSelectableChip.module.css";
|
|
30
30
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
31
31
|
const getClassName = cssModules(STYLES);
|
|
32
32
|
const BpkDismissibleChip = ({
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
import BpkText, { TEXT_STYLES } from "../../bpk-component-text";
|
|
20
20
|
import { cssModules } from "../../bpk-react-utils";
|
|
21
21
|
import { CHIP_TYPES } from "./commonTypes";
|
|
22
|
-
import STYLES from "./BpkSelectableChip.module.css";
|
|
22
|
+
import * as STYLES from "./BpkSelectableChip.module.css";
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
const getClassName = cssModules(STYLES);
|
|
25
25
|
const BpkSelectableChip = ({
|
|
@@ -24,7 +24,7 @@ import BpkMobileScrollContainer from "../../bpk-component-mobile-scroll-containe
|
|
|
24
24
|
import BpkText, { TEXT_STYLES } from "../../bpk-component-text/src/BpkText";
|
|
25
25
|
import { cssModules } from "../../bpk-react-utils";
|
|
26
26
|
import Nudger, { POSITION } from "./Nudger";
|
|
27
|
-
import STYLES from "./BpkChipGroup.module.css";
|
|
27
|
+
import * as STYLES from "./BpkChipGroup.module.css";
|
|
28
28
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
29
29
|
const getClassName = cssModules(STYLES);
|
|
30
30
|
export const CHIP_GROUP_TYPES = {
|
|
@@ -23,7 +23,7 @@ import { withButtonAlignment } from "../../bpk-component-icon/index";
|
|
|
23
23
|
import ArrowLeft from "../../bpk-component-icon/sm/long-arrow-left";
|
|
24
24
|
import ArrowRight from "../../bpk-component-icon/sm/long-arrow-right";
|
|
25
25
|
import { cssModules, isRTL } from "../../bpk-react-utils/index";
|
|
26
|
-
import STYLES from "./Nudger.module.css";
|
|
26
|
+
import * as STYLES from "./Nudger.module.css";
|
|
27
27
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
28
28
|
const getClassName = cssModules(STYLES);
|
|
29
29
|
const CHIP_STYLE_TO_BUTTON_STYLE = {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
import CloseIcon from "../../bpk-component-icon/sm/close";
|
|
20
20
|
import { cssModules } from "../../bpk-react-utils";
|
|
21
|
-
import STYLES from "./BpkCloseButton.module.css";
|
|
21
|
+
import * as STYLES from "./BpkCloseButton.module.css";
|
|
22
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
23
|
const getClassName = cssModules(STYLES);
|
|
24
24
|
const BpkCloseButton = ({
|
|
@@ -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 STYLES from "./BpkCode.module.css";
|
|
19
|
+
import * as STYLES from "./BpkCode.module.css";
|
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
21
|
const getClassName = cssModules(STYLES);
|
|
22
22
|
const BpkCode = props => {
|