@skyscanner/backpack-web 36.11.1-alpha.0 → 36.13.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 (152) 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 +31 -12
  100. package/bpk-component-price/src/BpkPrice.module.css +1 -1
  101. package/bpk-component-progress/src/BpkProgress.js +1 -1
  102. package/bpk-component-radio/src/BpkRadio.js +1 -1
  103. package/bpk-component-rating/src/BpkRating.js +1 -1
  104. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +1 -1
  105. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +1 -1
  106. package/bpk-component-section-header/src/BpkSectionHeader.js +1 -1
  107. package/bpk-component-section-list/src/BpkSectionListItem.js +1 -1
  108. package/bpk-component-section-list/src/BpkSectionListSection.js +1 -1
  109. package/bpk-component-segmented-control/src/BpkSegmentedControl.js +1 -1
  110. package/bpk-component-select/src/BpkSelect.js +1 -1
  111. package/bpk-component-skeleton/src/BpkBaseSkeleton.js +1 -1
  112. package/bpk-component-skeleton/src/BpkSkeleton.js +1 -1
  113. package/bpk-component-skip-link/src/BpkSkipLink.js +1 -1
  114. package/bpk-component-slider/src/BpkSlider.js +1 -1
  115. package/bpk-component-snippet/src/BpkSnippet.js +1 -1
  116. package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +1 -1
  117. package/bpk-component-spinner/src/BpkLargeSpinner.js +1 -1
  118. package/bpk-component-spinner/src/BpkSpinner.js +1 -1
  119. package/bpk-component-split-input/src/BpkInputField.js +1 -1
  120. package/bpk-component-split-input/src/BpkSplitInput.js +1 -1
  121. package/bpk-component-star-rating/src/BpkInteractiveStar.js +1 -1
  122. package/bpk-component-star-rating/src/BpkInteractiveStarRating.js +1 -1
  123. package/bpk-component-star-rating/src/BpkStar.js +1 -1
  124. package/bpk-component-star-rating/src/BpkStarRating.js +1 -1
  125. package/bpk-component-swap-button/src/BpkSwapButton.js +1 -1
  126. package/bpk-component-switch/src/BpkSwitch.js +1 -1
  127. package/bpk-component-switch/src/BpkSwitch.module.css +1 -1
  128. package/bpk-component-table/src/BpkTable.js +1 -1
  129. package/bpk-component-table/src/BpkTableCell.js +1 -1
  130. package/bpk-component-table/src/BpkTableHeadCell.js +1 -1
  131. package/bpk-component-text/src/BpkText.js +1 -1
  132. package/bpk-component-textarea/src/BpkTextarea.js +1 -1
  133. package/bpk-component-theme-toggle/src/BpkThemeToggle.js +1 -1
  134. package/bpk-component-ticket/src/BpkTicket.js +1 -1
  135. package/bpk-component-tooltip/src/BpkTooltip.js +1 -1
  136. package/bpk-component-tooltip/src/BpkTooltipPortal.js +1 -1
  137. package/bpk-react-utils/src/BpkDialogWrapper/BpkDialogWrapper.js +1 -1
  138. package/bpk-scrim-utils/src/BpkScrim.js +1 -1
  139. package/bpk-scrim-utils/src/withScrim.js +1 -1
  140. package/package.json +1 -1
  141. package/bpk-component-bottom-sheet/src/BpkBottomSheetInner.module.css +0 -18
  142. package/bpk-component-button/src/BpkButtonDestructive.module.css +0 -18
  143. package/bpk-component-button/src/BpkButtonFeatured.module.css +0 -18
  144. package/bpk-component-button/src/BpkButtonLink.module.css +0 -18
  145. package/bpk-component-button/src/BpkButtonLinkOnDark.module.css +0 -18
  146. package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.css +0 -18
  147. package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.css +0 -18
  148. package/bpk-component-button/src/BpkButtonSecondary.module.css +0 -18
  149. package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.css +0 -18
  150. package/bpk-component-datepicker/src/BpkDatepicker.module.css +0 -18
  151. package/bpk-component-input/src/BpkClearButton.module.css +0 -18
  152. package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.css +0 -18
@@ -18,7 +18,7 @@
18
18
 
19
19
  import { createContext } from 'react';
20
20
  import { cssModules } from "../../bpk-react-utils";
21
- import * as STYLES from "./BpkAccordion.module.css";
21
+ import 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 * as STYLES from "./BpkAccordionItem.module.css";
27
+ import 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 * as STYLES from "./BpkAriaLive.module.css";
20
+ import 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 * as STYLES from "./BpkAutosuggest.module.css";
20
+ import 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 * as STYLES from "./BpkAutosuggest.module.css";
19
+ import 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 * as STYLES from "./BpkBadge.module.css";
20
+ import 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 * as STYLES from "./BpkAnimateAndFade.module.css";
26
+ import 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 * as STYLES from "./BpkBannerAlert.module.css";
36
+ import 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 * as STYLES from "./BpkBarchart.module.css";
35
+ import 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 * as STYLES from "./BpkBarchartBar.module.css";
21
+ import 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 * as STYLES from "./BpkChartAxis.module.css";
23
+ import 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 * as STYLES from "./BpkChartDataTable.module.css";
20
+ import 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 * as STYLES from "./BpkChartGridLines.module.css";
21
+ import 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 * as STYLES from "./BpkBlockquote.module.css";
21
+ import 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 * as STYLES from "./BpkBoilerplate.module.css";
20
+ import 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 * as STYLES from "./BpkBottomSheet.module.css";
28
+ import 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 = ({
@@ -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 * as STYLES from "./BpkBreadcrumb.module.css";
20
+ import 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 * as STYLES from "./BpkBreadcrumbItem.module.css";
23
+ import 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);
@@ -18,7 +18,7 @@
18
18
 
19
19
  import { PureComponent } from 'react';
20
20
  import { cssModules } from "../../bpk-react-utils";
21
- import * as STYLES from "./BpkCalendarDate.module.css";
21
+ import 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 * as STYLES from "./BpkCalendarGrid.module.css";
25
+ import 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 * as STYLES from "./BpkCalendarGridHeader.module.css";
22
+ import 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 * as STYLES from "./BpkCalendarGridTransition.module.css";
23
+ import 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 * as STYLES from "./BpkCalendarNav.module.css";
27
+ import 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 * as STYLES from "./BpkCalendarWeek.module.css";
24
+ import 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 * as STYLES from "./BpkCalendar.module.css";
22
+ import 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 * as STYLES from "./BpkCard.module.css";
22
+ import 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 * as STYLES from "./BpkCardWrapper.module.css";
21
+ import 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 * as STYLES from "./BpkDividedCard.module.css";
22
+ import 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 * as STYLES from "./BpkSaveButton.module.css";
26
+ import 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 * as STYLES from "./BpkCardList.module.css";
22
+ import 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 * as STYLES from "./BpkCarousel.module.css";
26
+ import 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 * as STYLES from "./BpkCarouselContainer.module.css";
23
+ import 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 * as STYLES from "./BpkCarouselImage.module.css";
21
+ import 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 * as STYLES from "./BpkCheckbox.module.css";
19
+ import 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 * as STYLES from "./BpkSelectableChip.module.css";
29
+ import 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 * as STYLES from "./BpkSelectableChip.module.css";
22
+ import 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 * as STYLES from "./BpkChipGroup.module.css";
27
+ import 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 * as STYLES from "./Nudger.module.css";
26
+ import 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 * as STYLES from "./BpkCloseButton.module.css";
21
+ import 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 * as STYLES from "./BpkCode.module.css";
19
+ import 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 => {
@@ -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 "./BpkCodeBlock.module.css";
19
+ import STYLES from "./BpkCodeBlock.module.css";
20
20
  import { jsx as _jsx } from "react/jsx-runtime";
21
21
  const getClassName = cssModules(STYLES);
22
22
  const BpkCodeBlock = props => {
@@ -20,7 +20,7 @@
20
20
  import BpkText from "../../bpk-component-text";
21
21
  // @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
22
22
  import { cssModules } from "../../bpk-react-utils";
23
- import * as STYLES from "./BpkContentCard.module.css";
23
+ import STYLES from "./BpkContentCard.module.css";
24
24
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
25
25
  const getClassName = cssModules(STYLES);
26
26
  const BpkContentCard = ({
@@ -19,7 +19,7 @@
19
19
 
20
20
  import { cssModules } from "../../bpk-react-utils";
21
21
  import BpkContentCard from "./BpkContentCard";
22
- import * as STYLES from "./BpkContentCards.module.css";
22
+ import STYLES from "./BpkContentCards.module.css";
23
23
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
24
  const getClassName = cssModules(STYLES);
25
25
  const BpkContentCards = ({
@@ -24,7 +24,7 @@ import { cssModules } from "../../bpk-react-utils";
24
24
  import BpkDataTableHeader from "./BpkDataTableHeader";
25
25
  import { SORT_DIRECTION_TYPES } from "./common-types";
26
26
  import { createColumnsSchema } from "./utils";
27
- import * as STYLES from "./BpkDataTable.module.css";
27
+ import STYLES from "./BpkDataTable.module.css";
28
28
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
29
29
  const getClassName = cssModules(STYLES);
30
30
  const KEYCODES = {
@@ -21,7 +21,7 @@ import BpkSmallArrowDownIcon from "../../bpk-component-icon/sm/arrow-down";
21
21
  import BpkSmallArrowUpIcon from "../../bpk-component-icon/sm/arrow-up";
22
22
  import { cssModules } from "../../bpk-react-utils";
23
23
  import { SORT_DIRECTION_TYPES } from "./common-types";
24
- import * as STYLES from "./BpkDataTableHeader.module.css";
24
+ import STYLES from "./BpkDataTableHeader.module.css";
25
25
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
26
26
  const DownIcon = withRtlSupport(BpkSmallArrowDownIcon);
27
27
  const UpIcon = withRtlSupport(BpkSmallArrowUpIcon);
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { cssModules } from "../../bpk-react-utils";
20
- import * as STYLES from "./BpkDescriptionList.module.css";
20
+ import STYLES from "./BpkDescriptionList.module.css";
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
22
  const getClassName = cssModules(STYLES);
23
23
  export default ({
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { cssModules } from "../../bpk-react-utils";
20
- import * as STYLES from "./BpkDescriptionList.module.css";
20
+ import STYLES from "./BpkDescriptionList.module.css";
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
22
  const getClassName = cssModules(STYLES);
23
23
  export default ({
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import { cssModules } from "../../bpk-react-utils";
20
- import * as STYLES from "./BpkDescriptionList.module.css";
20
+ import STYLES from "./BpkDescriptionList.module.css";
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
22
  const getClassName = cssModules(STYLES);
23
23
  export default ({
@@ -21,7 +21,7 @@ import BpkCloseButton from "../../bpk-component-close-button";
21
21
  import { cssModules, Portal } from "../../bpk-react-utils";
22
22
  import BpkDialogInner from "./BpkDialogInner";
23
23
  import { HEADER_ICON_TYPES } from "./common-types";
24
- import * as STYLES from "./BpkDialog.module.css";
24
+ import STYLES from "./BpkDialog.module.css";
25
25
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
26
26
  const getClassName = cssModules(STYLES);
27
27
  const BpkDialog = ({
@@ -20,7 +20,7 @@
20
20
  import { BpkContentBubble } from "../../bpk-component-flare";
21
21
  import { TransitionInitialMount, cssModules } from "../../bpk-react-utils";
22
22
  import { withScrim } from "../../bpk-scrim-utils";
23
- import * as STYLES from "./BpkDialogInner.module.css";
23
+ import STYLES from "./BpkDialogInner.module.css";
24
24
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
25
25
  const getClassName = cssModules(STYLES);
26
26
  const BpkDialogInner = props => {
@@ -24,7 +24,7 @@ import BpkCloseButton from "../../bpk-component-close-button";
24
24
  // @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
25
25
  import { BpkButtonLink } from "../../bpk-component-link";
26
26
  import { cssModules } from "../../bpk-react-utils";
27
- import * as STYLES from "./BpkDrawerContent.module.css";
27
+ import STYLES from "./BpkDrawerContent.module.css";
28
28
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
29
29
  const getClassName = cssModules(STYLES);
30
30
  const BpkDrawerContent = ({
@@ -19,7 +19,7 @@ import { cloneElement } from 'react';
19
19
  import BpkFormValidation from "../../bpk-component-form-validation";
20
20
  import BpkLabel from "../../bpk-component-label";
21
21
  import { cssModules } from "../../bpk-react-utils";
22
- import * as STYLES from "./BpkFieldset.module.css";
22
+ import STYLES from "./BpkFieldset.module.css";
23
23
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
24
  const getClassName = cssModules(STYLES);
25
25
  const BpkFieldset = props => {
@@ -20,7 +20,7 @@ import PropTypes from 'prop-types';
20
20
  import { cssModules } from "../../bpk-react-utils";
21
21
  import BpkFlareBar from "./BpkFlareBar";
22
22
  import CornerRadius from "./__generated__/js/corner-radius";
23
- import * as STYLES from "./bpk-content-bubble.module.css";
23
+ import STYLES from "./bpk-content-bubble.module.css";
24
24
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
25
25
  const getClassName = cssModules(STYLES);
26
26
  const BpkContentBubble = props => {
@@ -19,7 +19,7 @@
19
19
  import PropTypes from 'prop-types';
20
20
  import { cssModules } from "../../bpk-react-utils";
21
21
  import Pointer from "./__generated__/js/pointer";
22
- import * as STYLES from "./bpk-flare-bar.module.css";
22
+ import STYLES from "./bpk-flare-bar.module.css";
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  const getClassName = cssModules(STYLES);
25
25
  const BpkFlareBar = props => {
@@ -22,7 +22,7 @@ import BpkAriaLive from "../../bpk-component-aria-live";
22
22
  import { BUTTON_TYPES, BpkButtonV2 } from "../../bpk-component-button";
23
23
  import BpkText, { TEXT_STYLES } from "../../bpk-component-text";
24
24
  import { cssModules } from "../../bpk-react-utils";
25
- import * as STYLES from "./BpkFloatingNotification.module.css";
25
+ import STYLES from "./BpkFloatingNotification.module.css";
26
26
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
27
27
  const getClassName = cssModules(STYLES);
28
28
  const BpkFloatingNotification = props => {
@@ -22,7 +22,7 @@ import AnimateHeight from "../../bpk-animate-height";
22
22
  import { withAlignment } from "../../bpk-component-icon";
23
23
  import BpkSmallExclamationIcon from "../../bpk-component-icon/sm/exclamation-circle";
24
24
  import { cssModules } from "../../bpk-react-utils";
25
- import * as STYLES from "./BpkFormValidation.module.css";
25
+ import STYLES from "./BpkFormValidation.module.css";
26
26
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
27
27
  const getClassName = cssModules(STYLES);
28
28
  const AlignedExclamationIcon = withAlignment(BpkSmallExclamationIcon, lineHeightSm, iconSizeSm);
@@ -18,7 +18,7 @@
18
18
 
19
19
  import { BpkButtonV2, BUTTON_TYPES } from "../../bpk-component-button";
20
20
  import { cssModules } from "../../bpk-react-utils";
21
- import * as STYLES from "./BpkGraphicPromo.module.css";
21
+ import STYLES from "./BpkGraphicPromo.module.css";
22
22
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
23
23
  const getClassName = cssModules(STYLES);
24
24
  const ACCESSIBILITY_KEYS = {
@@ -20,7 +20,7 @@ import PropTypes from 'prop-types';
20
20
  import { Component } from 'react';
21
21
  import { BpkButtonLink } from "../../bpk-component-link";
22
22
  import { cssModules } from "../../bpk-react-utils";
23
- import * as STYLES from "./BpkGridToggle.module.css";
23
+ import STYLES from "./BpkGridToggle.module.css";
24
24
  import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
25
25
  const getClassName = cssModules(STYLES);
26
26
  const GRID_CLASS_NAME = getClassName('bpk-vertical-grid--on');
@@ -18,7 +18,7 @@
18
18
  import { Component, Children, cloneElement } from 'react';
19
19
  import BpkMobileScrollContainer from "../../bpk-component-mobile-scroll-container";
20
20
  import { cssModules } from "../../bpk-react-utils";
21
- import * as STYLES from "./BpkHorizontalNav.module.css";
21
+ import STYLES from "./BpkHorizontalNav.module.css";
22
22
  import { jsx as _jsx } from "react/jsx-runtime";
23
23
  const getClassName = cssModules(STYLES);
24
24
  const HORIZONTAL_NAV_TYPES = {