@skyscanner/backpack-web 6.0.0-alpha.1 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (246) hide show
  1. package/bpk-animate-height/package.json +2 -2
  2. package/bpk-component-accordion/package.json +6 -6
  3. package/bpk-component-accordion/src/BpkAccordion.js +1 -0
  4. package/bpk-component-accordion/src/BpkAccordionItem.js +1 -0
  5. package/bpk-component-accordion/src/withAccordionItemState.js +1 -0
  6. package/bpk-component-accordion/src/withSingleItemAccordionState.js +1 -0
  7. package/bpk-component-aria-live/package.json +7 -7
  8. package/bpk-component-aria-live/src/BpkAriaLive.js +1 -0
  9. package/bpk-component-autosuggest/package.json +4 -4
  10. package/bpk-component-autosuggest/src/BpkAutosuggest.js +2 -1
  11. package/bpk-component-autosuggest/src/BpkAutosuggestSuggestion.js +1 -0
  12. package/bpk-component-badge/package.json +4 -4
  13. package/bpk-component-badge/src/BpkBadge.js +1 -0
  14. package/bpk-component-banner-alert/package.json +8 -8
  15. package/bpk-component-banner-alert/src/AnimateAndFade.js +3 -2
  16. package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +2 -1
  17. package/bpk-component-banner-alert/src/withBannerAlertState.js +1 -0
  18. package/bpk-component-barchart/data.json +0 -82
  19. package/bpk-component-barchart/package.json +7 -7
  20. package/bpk-component-barchart/src/BpkBarchart.js +1 -0
  21. package/bpk-component-barchart/src/BpkBarchartBar.js +2 -1
  22. package/bpk-component-barchart/src/BpkChartAxis.js +2 -1
  23. package/bpk-component-barchart/src/BpkChartDataTable.js +1 -0
  24. package/bpk-component-barchart/src/BpkChartGridLines.js +1 -0
  25. package/bpk-component-blockquote/package.json +2 -2
  26. package/bpk-component-blockquote/src/BpkBlockquote.js +1 -0
  27. package/bpk-component-breadcrumb/package.json +5 -5
  28. package/bpk-component-breadcrumb/src/BpkBreadcrumb.js +1 -0
  29. package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.js +1 -0
  30. package/bpk-component-breakpoint/package.json +2 -2
  31. package/bpk-component-button/package.json +2 -2
  32. package/bpk-component-button/src/BpkButtonBase.module.css +1 -1
  33. package/bpk-component-button/src/BpkButtonDestructive.module.css +1 -1
  34. package/bpk-component-button/src/BpkButtonFeatured.module.css +1 -1
  35. package/bpk-component-button/src/BpkButtonLink.module.css +1 -1
  36. package/bpk-component-button/src/BpkButtonSecondary.module.css +1 -1
  37. package/bpk-component-calendar/package.json +8 -8
  38. package/bpk-component-calendar/src/BpkCalendarContainer.js +1 -0
  39. package/bpk-component-calendar/src/BpkCalendarDate.js +1 -0
  40. package/bpk-component-calendar/src/BpkCalendarGrid.js +1 -0
  41. package/bpk-component-calendar/src/BpkCalendarGridHeader.js +1 -0
  42. package/bpk-component-calendar/src/BpkCalendarGridTransition.js +1 -0
  43. package/bpk-component-calendar/src/BpkCalendarNav.js +1 -0
  44. package/bpk-component-calendar/src/Week.js +1 -0
  45. package/bpk-component-calendar/src/composeCalendar.js +1 -0
  46. package/bpk-component-card/package.json +4 -4
  47. package/bpk-component-card/src/BpkCard.js +1 -0
  48. package/bpk-component-checkbox/package.json +4 -4
  49. package/bpk-component-checkbox/src/BpkCheckbox.js +1 -0
  50. package/bpk-component-chip/package.json +5 -5
  51. package/bpk-component-chip/src/BpkDismissibleChip.js +1 -0
  52. package/bpk-component-chip/src/BpkSelectableChip.js +1 -0
  53. package/bpk-component-close-button/package.json +4 -4
  54. package/bpk-component-close-button/src/BpkCloseButton.js +1 -0
  55. package/bpk-component-code/package.json +2 -2
  56. package/bpk-component-code/src/BpkCode.js +1 -0
  57. package/bpk-component-code/src/BpkCodeBlock.js +1 -0
  58. package/bpk-component-content-container/package.json +2 -2
  59. package/bpk-component-content-container/src/BpkContentContainer.js +1 -0
  60. package/bpk-component-content-container/src/BpkContentContainer.module.css +1 -1
  61. package/bpk-component-datatable/package.json +3 -3
  62. package/bpk-component-datatable/src/BpkDataTable.js +2 -1
  63. package/bpk-component-datatable/src/BpkDataTableColumn.js +1 -0
  64. package/bpk-component-datatable/src/bpkHeaderRenderer.js +1 -0
  65. package/bpk-component-datepicker/package.json +8 -8
  66. package/bpk-component-datepicker/src/BpkDatepicker.js +3 -2
  67. package/bpk-component-description-list/package.json +2 -2
  68. package/bpk-component-description-list/src/ComponentFactory.js +1 -0
  69. package/bpk-component-dialog/package.json +8 -8
  70. package/bpk-component-dialog/src/BpkDialog.js +1 -0
  71. package/bpk-component-dialog/src/BpkDialogInner.js +1 -0
  72. package/bpk-component-dialog/src/BpkDialogInner.module.css +1 -1
  73. package/bpk-component-drawer/package.json +8 -8
  74. package/bpk-component-drawer/src/BpkDrawer.js +1 -0
  75. package/bpk-component-drawer/src/BpkDrawerContent.js +1 -0
  76. package/bpk-component-drawer/src/BpkDrawerContent.module.css +1 -1
  77. package/bpk-component-fieldset/package.json +12 -12
  78. package/bpk-component-fieldset/src/BpkFieldset.js +1 -0
  79. package/bpk-component-flare/package.json +4 -4
  80. package/bpk-component-flare/src/BpkContentBubble.js +1 -0
  81. package/bpk-component-flare/src/BpkFlareBar.js +1 -0
  82. package/bpk-component-flare/src/bpk-flare-bar.module.css +1 -1
  83. package/bpk-component-floating-notification/package.json +5 -4
  84. package/bpk-component-floating-notification/src/BpkFloatingNotification.js +4 -1
  85. package/bpk-component-floating-notification/src/BpkFloatingNotification.module.css +1 -1
  86. package/bpk-component-form-validation/package.json +9 -9
  87. package/bpk-component-form-validation/src/BpkFormValidation.js +5 -4
  88. package/bpk-component-graphic-promotion/package.json +4 -4
  89. package/bpk-component-graphic-promotion/src/BpkGraphicPromo.js +1 -0
  90. package/bpk-component-grid/package.json +2 -2
  91. package/bpk-component-grid/src/BpkGridColumn.js +1 -0
  92. package/bpk-component-grid/src/BpkGridColumn.module.css +1 -1
  93. package/bpk-component-grid/src/BpkGridContainer.js +1 -0
  94. package/bpk-component-grid/src/BpkGridContainer.module.css +1 -1
  95. package/bpk-component-grid/src/BpkGridRow.js +1 -0
  96. package/bpk-component-grid/src/BpkGridRow.module.css +1 -1
  97. package/bpk-component-grid-toggle/package.json +3 -3
  98. package/bpk-component-grid-toggle/src/BpkGridToggle.js +1 -0
  99. package/bpk-component-horizontal-nav/package.json +5 -5
  100. package/bpk-component-horizontal-nav/src/BpkHorizontalNav.js +8 -12
  101. package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.js +1 -0
  102. package/bpk-component-icon/package.json +5 -5
  103. package/bpk-component-icon/src/BpkIcon.module.css +1 -1
  104. package/bpk-component-icon/src/classNameModifierHOCFactory.js +1 -0
  105. package/bpk-component-icon/src/withAlignment.js +1 -0
  106. package/bpk-component-icon/src/withDescription.js +1 -0
  107. package/bpk-component-image/package.json +5 -5
  108. package/bpk-component-image/src/BpkBackgroundImage.js +3 -2
  109. package/bpk-component-image/src/BpkImage.js +3 -2
  110. package/bpk-component-image/src/withLazyLoading.js +2 -1
  111. package/bpk-component-image/src/withLoadingBehavior.js +1 -0
  112. package/bpk-component-infinite-scroll/package.json +6 -6
  113. package/bpk-component-infinite-scroll/src/withInfiniteScroll.js +2 -1
  114. package/bpk-component-input/package.json +6 -6
  115. package/bpk-component-input/src/BpkClearButton.js +1 -0
  116. package/bpk-component-input/src/BpkInput.js +1 -0
  117. package/bpk-component-input/src/withOpenEvents.js +1 -0
  118. package/bpk-component-label/package.json +2 -2
  119. package/bpk-component-label/src/BpkLabel.js +1 -0
  120. package/bpk-component-link/package.json +3 -3
  121. package/bpk-component-link/src/BpkButtonLink.js +1 -0
  122. package/bpk-component-link/src/BpkLink.js +1 -0
  123. package/bpk-component-list/package.json +2 -2
  124. package/bpk-component-list/src/BpkList.js +1 -0
  125. package/bpk-component-list/src/BpkList.module.css +1 -1
  126. package/bpk-component-list/src/BpkListItem.js +1 -0
  127. package/bpk-component-loading-button/package.json +6 -6
  128. package/bpk-component-loading-button/src/BpkLoadingButton.js +1 -0
  129. package/bpk-component-map/package.json +6 -6
  130. package/bpk-component-map/src/BpkIconMarker.js +1 -0
  131. package/bpk-component-map/src/BpkIconMarkerBackground.js +1 -0
  132. package/bpk-component-map/src/BpkMap.js +2 -1
  133. package/bpk-component-map/src/BpkPriceMarker.js +1 -0
  134. package/bpk-component-map/src/DefaultLoadingElement.js +1 -0
  135. package/bpk-component-mobile-scroll-container/package.json +2 -2
  136. package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.js +1 -0
  137. package/bpk-component-modal/package.json +9 -9
  138. package/bpk-component-modal/src/BpkModal.js +1 -0
  139. package/bpk-component-modal/src/BpkModal.module.css +1 -1
  140. package/bpk-component-modal/src/BpkModalInner.js +2 -1
  141. package/bpk-component-modal/src/BpkModalInner.module.css +1 -1
  142. package/bpk-component-navigation-bar/package.json +7 -7
  143. package/bpk-component-navigation-bar/src/BpkNavigationBar.js +1 -0
  144. package/bpk-component-navigation-bar/src/BpkNavigationBar.module.css +1 -1
  145. package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.js +1 -0
  146. package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.js +1 -0
  147. package/bpk-component-navigation-stack/package.json +6 -6
  148. package/bpk-component-navigation-stack/src/BpkNavigationStack.js +2 -1
  149. package/bpk-component-nudger/package.json +6 -6
  150. package/bpk-component-nudger/src/BpkConfigurableNudger.js +1 -0
  151. package/bpk-component-nudger/src/BpkNudger.js +1 -0
  152. package/bpk-component-nudger/src/BpkNudger.module.css +1 -1
  153. package/bpk-component-overlay/package.json +4 -4
  154. package/bpk-component-overlay/src/BpkOverlay.js +1 -0
  155. package/bpk-component-pagination/package.json +4 -4
  156. package/bpk-component-pagination/src/BpkPagination.js +1 -0
  157. package/bpk-component-pagination/src/BpkPaginationList.js +1 -0
  158. package/bpk-component-pagination/src/BpkPaginationNudger.js +1 -0
  159. package/bpk-component-pagination/src/BpkPaginationPage.js +2 -1
  160. package/bpk-component-pagination/src/BpkPaginationPage.module.css +1 -1
  161. package/bpk-component-panel/package.json +2 -2
  162. package/bpk-component-panel/src/BpkPanel.js +1 -0
  163. package/bpk-component-phone-input/package.json +8 -8
  164. package/bpk-component-phone-input/src/BpkPhoneInput.js +1 -0
  165. package/bpk-component-phone-input/src/BpkPhoneInput.module.css +1 -1
  166. package/bpk-component-popover/package.json +8 -8
  167. package/bpk-component-popover/src/BpkPopover.js +1 -0
  168. package/bpk-component-popover/src/BpkPopover.module.css +1 -1
  169. package/bpk-component-popover/src/BpkPopoverPortal.js +1 -0
  170. package/bpk-component-price/package.json +3 -3
  171. package/bpk-component-price/src/BpkPrice.js +1 -0
  172. package/bpk-component-progress/package.json +4 -4
  173. package/bpk-component-progress/src/BpkProgress.js +1 -0
  174. package/bpk-component-radio/package.json +3 -3
  175. package/bpk-component-radio/src/BpkRadio.js +1 -0
  176. package/bpk-component-rating/package.json +3 -3
  177. package/bpk-component-rating/src/BpkRating.js +1 -0
  178. package/bpk-component-rating/src/BpkRating.module.css +1 -1
  179. package/bpk-component-rtl-toggle/package.json +3 -3
  180. package/bpk-component-rtl-toggle/src/BpkRtlToggle.js +1 -0
  181. package/bpk-component-rtl-toggle/src/updateOnDirectionChange.js +1 -0
  182. package/bpk-component-scrollable-calendar/package.json +5 -5
  183. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.js +1 -0
  184. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +1 -0
  185. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +6 -2
  186. package/bpk-component-section-list/package.json +5 -5
  187. package/bpk-component-section-list/src/BpkSectionListItem.js +1 -0
  188. package/bpk-component-section-list/src/BpkSectionListSection.js +1 -0
  189. package/bpk-component-select/package.json +3 -3
  190. package/bpk-component-select/src/BpkSelect.js +1 -0
  191. package/bpk-component-skip-link/package.json +2 -2
  192. package/bpk-component-skip-link/src/BpkSkipLink.js +1 -0
  193. package/bpk-component-slider/package.json +3 -3
  194. package/bpk-component-slider/src/BpkSlider.js +1 -0
  195. package/bpk-component-spinner/package.json +2 -2
  196. package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +2 -1
  197. package/bpk-component-spinner/src/BpkLargeSpinner.js +2 -1
  198. package/bpk-component-spinner/src/BpkSpinner.js +2 -1
  199. package/bpk-component-spinner/src/BpkSpinner.module.css +1 -1
  200. package/bpk-component-split-input/package.json +3 -3
  201. package/bpk-component-split-input/src/BpkInputField.js +2 -1
  202. package/bpk-component-split-input/src/BpkSplitInput.js +2 -1
  203. package/bpk-component-split-input/src/BpkSplitInput.module.css +1 -1
  204. package/bpk-component-star-rating/package.json +5 -5
  205. package/bpk-component-star-rating/src/BpkInteractiveStar.js +1 -0
  206. package/bpk-component-star-rating/src/BpkInteractiveStarRating.js +1 -0
  207. package/bpk-component-star-rating/src/BpkStar.js +1 -0
  208. package/bpk-component-star-rating/src/BpkStarRating.js +1 -0
  209. package/bpk-component-star-rating/src/withInteractiveStarRatingState.js +1 -0
  210. package/bpk-component-switch/package.json +2 -2
  211. package/bpk-component-switch/src/BpkSwitch.js +1 -0
  212. package/bpk-component-table/package.json +2 -2
  213. package/bpk-component-table/src/BpkTable.js +1 -0
  214. package/bpk-component-table/src/BpkTableCell.js +1 -0
  215. package/bpk-component-table/src/BpkTableHeadCell.js +1 -0
  216. package/bpk-component-text/package.json +2 -2
  217. package/bpk-component-text/src/BpkText.js +1 -0
  218. package/bpk-component-text/src/BpkText.module.css +1 -1
  219. package/bpk-component-textarea/package.json +4 -4
  220. package/bpk-component-textarea/src/BpkTextarea.js +1 -0
  221. package/bpk-component-theme-toggle/package.json +4 -4
  222. package/bpk-component-theme-toggle/src/BpkThemeToggle.js +1 -0
  223. package/bpk-component-theme-toggle/src/updateOnThemeChange.js +1 -0
  224. package/bpk-component-ticket/package.json +4 -4
  225. package/bpk-component-ticket/src/BpkTicket.js +1 -0
  226. package/bpk-component-ticket/src/BpkTicket.module.css +1 -1
  227. package/bpk-component-tooltip/package.json +3 -3
  228. package/bpk-component-tooltip/src/BpkTooltip.js +1 -0
  229. package/bpk-component-tooltip/src/BpkTooltip.module.css +1 -1
  230. package/bpk-component-tooltip/src/BpkTooltipPortal.js +1 -0
  231. package/bpk-react-utils/package.json +1 -1
  232. package/bpk-scrim-utils/package.json +2 -2
  233. package/bpk-scrim-utils/src/BpkScrim.js +1 -0
  234. package/bpk-scrim-utils/src/bpk-scrim.module.css +1 -1
  235. package/bpk-scrim-utils/src/withScrim.js +1 -0
  236. package/package.json +1 -1
  237. package/bpk-component-button/src/BpkButtonLinkOnDark.module.css +0 -18
  238. package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.css +0 -18
  239. package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.css +0 -18
  240. package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.css +0 -18
  241. package/bpk-component-graphic-promotion/src/BpkGraphicPromo.module.css +0 -18
  242. package/bpk-component-graphic-promotion/src/custom-breakpoints.module.css +0 -17
  243. package/bpk-component-loading-button/src/BpkLoadingButton.module.css +0 -18
  244. package/bpk-component-map/src/BpkMap.module.css +0 -18
  245. package/bpk-component-price/src/BpkPrice.module.css +0 -18
  246. package/bpk-component-split-input/src/BpkInputField.module.css +0 -18
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpk-component-calendar",
3
- "version": "11.1.18",
3
+ "version": "11.1.19",
4
4
  "description": "Backpack calendar component.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -15,11 +15,11 @@
15
15
  "gitHead": "4e4ec9add28e1db54d6a38a10c331bbd163f2926",
16
16
  "dependencies": {
17
17
  "@skyscanner/bpk-foundations-web": "^8.0.0",
18
- "bpk-component-aria-live": "^2.1.18",
19
- "bpk-component-icon": "^9.2.12",
20
- "bpk-component-select": "^5.1.11",
18
+ "bpk-component-aria-live": "^2.1.19",
19
+ "bpk-component-icon": "^9.2.13",
20
+ "bpk-component-select": "^5.1.12",
21
21
  "bpk-mixins": "^31.1.1",
22
- "bpk-react-utils": "^5.0.0",
22
+ "bpk-react-utils": "^6.0.0",
23
23
  "date-fns": "^2.21.1",
24
24
  "prop-types": "^15.7.2"
25
25
  },
@@ -27,8 +27,8 @@
27
27
  "react": "^16.3.0 || ^17.0.0"
28
28
  },
29
29
  "devDependencies": {
30
- "bpk-component-button": "^6.2.6",
31
- "bpk-component-text": "^7.0.5",
32
- "bpk-storybook-utils": "^1.1.10"
30
+ "bpk-component-button": "^6.2.7",
31
+ "bpk-component-text": "^7.0.6",
32
+ "bpk-storybook-utils": "^1.1.11"
33
33
  }
34
34
  }
@@ -18,6 +18,7 @@
18
18
 
19
19
  import PropTypes from 'prop-types';
20
20
  import React, { Component } from 'react';
21
+
21
22
  import { deprecated, isRTL } from '../../bpk-react-utils';
22
23
 
23
24
  import CustomPropTypes, { CALENDAR_SELECTION_TYPE } from './custom-proptypes';
@@ -18,6 +18,7 @@
18
18
 
19
19
  import PropTypes from 'prop-types';
20
20
  import React, { PureComponent } from 'react';
21
+
21
22
  import { cssModules } from '../../bpk-react-utils';
22
23
 
23
24
  import CustomPropTypes from './custom-proptypes';
@@ -18,6 +18,7 @@
18
18
 
19
19
  import PropTypes from 'prop-types';
20
20
  import React, { Component } from 'react';
21
+
21
22
  import { cssModules, deprecated, isDeviceIos } from '../../bpk-react-utils';
22
23
 
23
24
  import BpkCalendarGridHeader from './BpkCalendarGridHeader';
@@ -18,6 +18,7 @@
18
18
 
19
19
  import PropTypes from 'prop-types';
20
20
  import React, { PureComponent } from 'react';
21
+
21
22
  import { cssModules, deprecated } from '../../bpk-react-utils';
22
23
 
23
24
  import CustomPropTypes from './custom-proptypes';
@@ -18,6 +18,7 @@
18
18
 
19
19
  import PropTypes from 'prop-types';
20
20
  import React, { Component } from 'react';
21
+
21
22
  import { cssModules, isRTL } from '../../bpk-react-utils';
22
23
 
23
24
  import {
@@ -18,6 +18,7 @@
18
18
 
19
19
  import PropTypes from 'prop-types';
20
20
  import React from 'react';
21
+
21
22
  import ArrowLeftIcon from '../../bpk-component-icon/lg/arrow-left';
22
23
  import ArrowRightIcon from '../../bpk-component-icon/lg/arrow-right';
23
24
  import BpkSelect from '../../bpk-component-select';
@@ -18,6 +18,7 @@
18
18
 
19
19
  import PropTypes from 'prop-types';
20
20
  import React, { Component } from 'react';
21
+
21
22
  import { cssModules, deprecated } from '../../bpk-react-utils';
22
23
 
23
24
  import {
@@ -18,6 +18,7 @@
18
18
 
19
19
  import PropTypes from 'prop-types';
20
20
  import React from 'react';
21
+
21
22
  import { cssModules, deprecated } from '../../bpk-react-utils';
22
23
 
23
24
  import CustomPropTypes, { CALENDAR_SELECTION_TYPE } from './custom-proptypes';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpk-component-card",
3
- "version": "4.1.12",
3
+ "version": "4.1.13",
4
4
  "description": "Backpack card component.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -15,12 +15,12 @@
15
15
  "gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
16
16
  "dependencies": {
17
17
  "bpk-mixins": "^31.1.1",
18
- "bpk-react-utils": "^5.0.0",
18
+ "bpk-react-utils": "^6.0.0",
19
19
  "prop-types": "^15.7.2"
20
20
  },
21
21
  "devDependencies": {
22
- "bpk-component-link": "^3.1.11",
23
- "bpk-component-text": "^7.0.5"
22
+ "bpk-component-link": "^3.1.12",
23
+ "bpk-component-text": "^7.0.6"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": "^16.3.0 || ^17.0.0"
@@ -20,6 +20,7 @@
20
20
 
21
21
  import PropTypes from 'prop-types';
22
22
  import React, { type Node } from 'react';
23
+
23
24
  import { cssModules } from '../../bpk-react-utils';
24
25
 
25
26
  import STYLES from './BpkCard.module.scss';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpk-component-checkbox",
3
- "version": "4.1.13",
3
+ "version": "4.1.14",
4
4
  "description": "Backpack checkbox component.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -14,9 +14,9 @@
14
14
  },
15
15
  "gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
16
16
  "dependencies": {
17
- "bpk-component-icon": "^9.2.12",
17
+ "bpk-component-icon": "^9.2.13",
18
18
  "bpk-mixins": "^31.1.1",
19
- "bpk-react-utils": "^5.0.0",
19
+ "bpk-react-utils": "^6.0.0",
20
20
  "prop-types": "^15.7.2"
21
21
  },
22
22
  "peerDependencies": {
@@ -24,6 +24,6 @@
24
24
  },
25
25
  "devDependencies": {
26
26
  "@skyscanner/bpk-foundations-web": "^8.0.0",
27
- "bpk-storybook-utils": "^1.1.10"
27
+ "bpk-storybook-utils": "^1.1.11"
28
28
  }
29
29
  }
@@ -20,6 +20,7 @@
20
20
 
21
21
  import PropTypes from 'prop-types';
22
22
  import React, { type Node } from 'react';
23
+
23
24
  import { cssModules } from '../../bpk-react-utils';
24
25
 
25
26
  import STYLES from './BpkCheckbox.module.scss';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpk-component-chip",
3
- "version": "5.2.16",
3
+ "version": "5.2.17",
4
4
  "description": "Backpack chip component.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -14,16 +14,16 @@
14
14
  },
15
15
  "gitHead": "4e4ec9add28e1db54d6a38a10c331bbd163f2926",
16
16
  "dependencies": {
17
- "bpk-component-icon": "^9.2.12",
17
+ "bpk-component-icon": "^9.2.13",
18
18
  "bpk-mixins": "^31.1.1",
19
- "bpk-react-utils": "^5.0.0",
19
+ "bpk-react-utils": "^6.0.0",
20
20
  "prop-types": "^15.7.2"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": "^16.3.0 || ^17.0.0"
24
24
  },
25
25
  "devDependencies": {
26
- "bpk-component-aria-live": "^2.1.18",
27
- "bpk-component-text": "^7.0.5"
26
+ "bpk-component-aria-live": "^2.1.19",
27
+ "bpk-component-text": "^7.0.6"
28
28
  }
29
29
  }
@@ -25,6 +25,7 @@ of a close icon.
25
25
  */
26
26
 
27
27
  import React from 'react';
28
+
28
29
  import CloseCircleIconSm from '../../bpk-component-icon/sm/close-circle';
29
30
 
30
31
  import BpkSelectableChip from './BpkSelectableChip';
@@ -20,6 +20,7 @@
20
20
 
21
21
  import PropTypes from 'prop-types';
22
22
  import React, { type Node } from 'react';
23
+
23
24
  import { cssModules } from '../../bpk-react-utils';
24
25
  import BpkText, { TEXT_STYLES } from '../../bpk-component-text';
25
26
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpk-component-close-button",
3
- "version": "3.1.12",
3
+ "version": "3.1.13",
4
4
  "description": "Backpack close button component.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -14,13 +14,13 @@
14
14
  },
15
15
  "gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
16
16
  "dependencies": {
17
- "bpk-component-icon": "^9.2.12",
17
+ "bpk-component-icon": "^9.2.13",
18
18
  "bpk-mixins": "^31.1.1",
19
- "bpk-react-utils": "^5.0.0",
19
+ "bpk-react-utils": "^6.0.0",
20
20
  "prop-types": "^15.7.2"
21
21
  },
22
22
  "devDependencies": {
23
- "bpk-storybook-utils": "^1.1.10"
23
+ "bpk-storybook-utils": "^1.1.11"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": "^16.3.0 || ^17.0.0"
@@ -20,6 +20,7 @@
20
20
 
21
21
  import PropTypes from 'prop-types';
22
22
  import React, { type StatelessFunctionalComponent } from 'react';
23
+
23
24
  import CloseIcon from '../../bpk-component-icon/sm/close';
24
25
  import { cssModules } from '../../bpk-react-utils';
25
26
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpk-component-code",
3
- "version": "3.1.11",
3
+ "version": "3.1.12",
4
4
  "description": "Backpack code component.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -15,7 +15,7 @@
15
15
  "gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
16
16
  "dependencies": {
17
17
  "bpk-mixins": "^31.1.1",
18
- "bpk-react-utils": "^5.0.0",
18
+ "bpk-react-utils": "^6.0.0",
19
19
  "prop-types": "^15.7.2"
20
20
  },
21
21
  "peerDependencies": {
@@ -19,6 +19,7 @@
19
19
 
20
20
  import PropTypes from 'prop-types';
21
21
  import React, { type Node } from 'react';
22
+
22
23
  import { cssModules } from '../../bpk-react-utils';
23
24
 
24
25
  import STYLES from './BpkCode.module.scss';
@@ -19,6 +19,7 @@
19
19
 
20
20
  import React, { type Node } from 'react';
21
21
  import PropTypes from 'prop-types';
22
+
22
23
  import { cssModules } from '../../bpk-react-utils';
23
24
 
24
25
  import STYLES from './BpkCodeBlock.module.scss';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpk-component-content-container",
3
- "version": "5.0.5",
3
+ "version": "5.0.6",
4
4
  "description": "Backpack content container component.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -15,7 +15,7 @@
15
15
  "gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
16
16
  "dependencies": {
17
17
  "bpk-mixins": "^31.1.1",
18
- "bpk-react-utils": "^5.0.0",
18
+ "bpk-react-utils": "^6.0.0",
19
19
  "prop-types": "^15.7.2"
20
20
  },
21
21
  "peerDependencies": {
@@ -18,6 +18,7 @@
18
18
 
19
19
  import PropTypes from 'prop-types';
20
20
  import React from 'react';
21
+
21
22
  import { cssModules } from '../../bpk-react-utils';
22
23
 
23
24
  import STYLES from './BpkContentContainer.module.scss';
@@ -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
- @keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-content-container>h1:not(:first-child),.bpk-content-container>h2:not(:first-child),.bpk-content-container>h3:not(:first-child),.bpk-content-container>h4:not(:first-child){margin-top:1.875rem}.bpk-content-container>.bpk-content-container{margin-bottom:.75rem}.bpk-content-container>*:last-child{margin-bottom:0}.bpk-content-container--bare-html h1{margin-top:0;margin-bottom:.75rem;font-size:3rem;line-height:3.5rem;font-weight:700;letter-spacing:-.02em}.bpk-content-container--bare-html h2{margin-top:0;margin-bottom:.75rem;font-size:2rem;line-height:2.5rem;font-weight:700}.bpk-content-container--bare-html h3{margin-top:0;margin-bottom:.75rem;font-size:1.5rem;line-height:2rem;font-weight:400}.bpk-content-container--bare-html h4{margin-top:0;margin-bottom:.375rem;font-size:1rem;line-height:1.5rem;font-weight:400}.bpk-content-container--bare-html h5{margin-top:0;margin-bottom:.75rem;font-size:.75rem;line-height:1rem;font-weight:400}.bpk-content-container--bare-html h6{margin-top:0;margin-bottom:.75rem;font-size:.75rem;line-height:1rem;font-weight:400}.bpk-content-container--bare-html a{padding:0;border:0;background-color:transparent;text-decoration:none;cursor:pointer;appearance:none;color:#0770e3;color:var(--bpk-link-color, #0770e3)}.bpk-no-touch-support .bpk-content-container--bare-html a:hover:not(:active):not(:disabled){text-decoration:underline;color:#084eb2;color:var(--bpk-link-hover-color, #084eb2)}:global(.bpk-no-touch-support) .bpk-content-container--bare-html a:hover:not(:active):not(:disabled){text-decoration:underline;color:#084eb2;color:var(--bpk-link-hover-color, #084eb2)}.bpk-content-container--bare-html a:visited{color:#0770e3;color:var(--bpk-link-visited-color, #0770e3)}.bpk-content-container--bare-html a:active{text-decoration:underline;color:#042759;color:var(--bpk-link-active-color, #042759)}.bpk-content-container--bare-html p{margin-top:0;margin-bottom:.375rem;font-size:1rem;line-height:1.5rem;font-weight:400}.bpk-content-container--bare-html ul,.bpk-content-container--bare-html ol{margin-top:1rem;margin-bottom:1rem;padding-left:1.5rem}.bpk-content-container--bare-html ul ul,.bpk-content-container--bare-html ul ol,.bpk-content-container--bare-html ol ul,.bpk-content-container--bare-html ol ol{margin-top:0;margin-bottom:0;padding-top:0.5rem;padding-bottom:0.25rem}.bpk-content-container--bare-html ul li,.bpk-content-container--bare-html ol li{margin-top:0;margin-bottom:.25rem}.bpk-content-container--bare-html table{width:100%;margin-bottom:0.5rem;border-collapse:collapse;table-layout:fixed;box-shadow:0 0 0 1px #dddde5 }.bpk-content-container--bare-html table td{padding:1rem}.bpk-content-container--bare-html table th{padding:1rem;background-color:#f1f2f8;font-weight:normal;text-align:left}html[dir='rtl'] .bpk-content-container--bare-html table th{text-align:right}.bpk-content-container--bare-html code{display:inline;padding:0 .375rem;background-color:#f1f2f8;color:#444560;text-align:left;text-shadow:0 .0625rem #fff;white-space:nowrap;vertical-align:bottom;border-radius:.25rem}html[dir='rtl'] .bpk-content-container--bare-html code{direction:ltr}.bpk-content-container--bare-html pre{margin:0 0 .75rem;padding:1.5rem;background-color:#f1f2f8;border-radius:.25rem}.bpk-content-container--bare-html pre>code{display:block;margin:0;padding:0;background-color:transparent;white-space:inherit;overflow:auto;-ms-overflow-style:none}.bpk-content-container--bare-html pre>code::-webkit-scrollbar{display:none}.bpk-content-container--bare-html blockquote{margin:0 0 1rem 0;padding:1.5rem;background-color:#f1f2f8;color:#68697f;box-shadow:2px 0 0 0 #0770e3 inset;box-shadow:2px 0 0 0 var(--bpk-blockquote-bar-color, #0770e3) inset}html[dir='rtl'] .bpk-content-container--bare-html blockquote{padding:1.5rem;border-left:0;box-shadow:-2px 0 0 0 #0770e3 inset;box-shadow:-2px 0 0 0 var(--bpk-blockquote-bar-color, #0770e3) inset}.bpk-content-container--bare-html blockquote>*:last-child{margin-bottom:0}.bpk-content-container--bare-html-alternate code{background-color:#cddff8;text-shadow:none}.bpk-content-container--bare-html-alternate pre{background-color:transparent;box-shadow:0 0 0 1px #b2b2bf inset}.bpk-content-container--bare-html-alternate pre>code{display:block;margin:0;padding:0;background-color:transparent;white-space:inherit;overflow:auto;-ms-overflow-style:none}.bpk-content-container--bare-html-alternate pre>code::-webkit-scrollbar{display:none}.bpk-content-container--bare-html-alternate table{box-shadow:0 0 0 1px #b2b2bf }.bpk-content-container--bare-html-alternate table th{background-color:#fff;text-align:left;font-weight:700}html[dir='rtl'] .bpk-content-container--bare-html-alternate table th{text-align:right}
18
+ @keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-content-container>h1:not(:first-child),.bpk-content-container>h2:not(:first-child),.bpk-content-container>h3:not(:first-child),.bpk-content-container>h4:not(:first-child){margin-top:1.875rem}.bpk-content-container>.bpk-content-container{margin-bottom:.75rem}.bpk-content-container>*:last-child{margin-bottom:0}.bpk-content-container--bare-html h1{margin-top:0;margin-bottom:.75rem;font-size:3rem;line-height:3.5rem;font-weight:700;letter-spacing:-.02em}@media (max-width: 32.25rem){.bpk-content-container--bare-html h1{font-size:2rem;line-height:2.5rem;font-weight:700}}.bpk-content-container--bare-html h2{margin-top:0;margin-bottom:.75rem;font-size:2rem;line-height:2.5rem;font-weight:700}@media (max-width: 32.25rem){.bpk-content-container--bare-html h2{font-size:1.5rem;line-height:2rem;font-weight:400}}.bpk-content-container--bare-html h3{margin-top:0;margin-bottom:.75rem;font-size:1.5rem;line-height:2rem;font-weight:400}@media (max-width: 32.25rem){.bpk-content-container--bare-html h3{font-size:1rem;line-height:1.5rem;font-weight:400;font-weight:700}}.bpk-content-container--bare-html h4{margin-top:0;margin-bottom:.375rem;font-size:1rem;line-height:1.5rem;font-weight:400}@media (max-width: 32.25rem){.bpk-content-container--bare-html h4{font-size:.75rem;line-height:1rem;font-weight:400;font-weight:700}}.bpk-content-container--bare-html h5{margin-top:0;margin-bottom:.75rem;font-size:.75rem;line-height:1rem;font-weight:400}@media (max-width: 32.25rem){.bpk-content-container--bare-html h5{font-size:.75rem;line-height:1rem;font-weight:400;font-weight:700}}.bpk-content-container--bare-html h6{margin-top:0;margin-bottom:.75rem;font-size:.75rem;line-height:1rem;font-weight:400}@media (max-width: 32.25rem){.bpk-content-container--bare-html h6{font-size:.75rem;line-height:1rem;font-weight:400;font-weight:700}}.bpk-content-container--bare-html a{padding:0;border:0;background-color:transparent;text-decoration:none;cursor:pointer;appearance:none;color:#0770e3;color:var(--bpk-link-color, #0770e3)}.bpk-no-touch-support .bpk-content-container--bare-html a:hover:not(:active):not(:disabled){text-decoration:underline;color:#084eb2;color:var(--bpk-link-hover-color, #084eb2)}:global(.bpk-no-touch-support) .bpk-content-container--bare-html a:hover:not(:active):not(:disabled){text-decoration:underline;color:#084eb2;color:var(--bpk-link-hover-color, #084eb2)}.bpk-content-container--bare-html a:visited{color:#0770e3;color:var(--bpk-link-visited-color, #0770e3)}.bpk-content-container--bare-html a:active{text-decoration:underline;color:#042759;color:var(--bpk-link-active-color, #042759)}.bpk-content-container--bare-html p{margin-top:0;margin-bottom:.375rem;font-size:1rem;line-height:1.5rem;font-weight:400}.bpk-content-container--bare-html ul,.bpk-content-container--bare-html ol{margin-top:0;margin-bottom:.75rem;padding-left:1.5rem}.bpk-content-container--bare-html ul ul,.bpk-content-container--bare-html ul ol,.bpk-content-container--bare-html ol ul,.bpk-content-container--bare-html ol ol{margin-top:0;margin-bottom:0}.bpk-content-container--bare-html ul li,.bpk-content-container--bare-html ol li{margin-top:0;margin-bottom:0}.bpk-content-container--bare-html table{width:100%;margin-bottom:0.5rem;border-collapse:collapse;table-layout:fixed;box-shadow:0 0 0 1px #dddde5 }.bpk-content-container--bare-html table td{padding:1rem}.bpk-content-container--bare-html table th{padding:1rem;background-color:#f1f2f8;font-weight:normal;text-align:left}html[dir='rtl'] .bpk-content-container--bare-html table th{text-align:right}.bpk-content-container--bare-html code{display:inline;padding:0 .375rem;background-color:#f1f2f8;color:#444560;text-align:left;text-shadow:0 .0625rem #fff;white-space:nowrap;vertical-align:bottom;border-radius:.25rem}html[dir='rtl'] .bpk-content-container--bare-html code{direction:ltr}.bpk-content-container--bare-html pre{margin:0 0 .75rem;padding:1.5rem;background-color:#f1f2f8;border-radius:.25rem}.bpk-content-container--bare-html pre>code{display:block;margin:0;padding:0;background-color:transparent;white-space:inherit;overflow:auto;-ms-overflow-style:none}.bpk-content-container--bare-html pre>code::-webkit-scrollbar{display:none}.bpk-content-container--bare-html blockquote{margin:0 0 1rem 0;padding:1.5rem;background-color:#f1f2f8;color:#68697f;box-shadow:2px 0 0 0 #0770e3 inset;box-shadow:2px 0 0 0 var(--bpk-blockquote-bar-color, #0770e3) inset}html[dir='rtl'] .bpk-content-container--bare-html blockquote{padding:1.5rem;border-left:0;box-shadow:-2px 0 0 0 #0770e3 inset;box-shadow:-2px 0 0 0 var(--bpk-blockquote-bar-color, #0770e3) inset}.bpk-content-container--bare-html blockquote>*:last-child{margin-bottom:0}.bpk-content-container--bare-html-alternate code{background-color:#cddff8;text-shadow:none}.bpk-content-container--bare-html-alternate pre{background-color:transparent;box-shadow:0 0 0 1px #b2b2bf inset}.bpk-content-container--bare-html-alternate pre>code{display:block;margin:0;padding:0;background-color:transparent;white-space:inherit;overflow:auto;-ms-overflow-style:none}.bpk-content-container--bare-html-alternate pre>code::-webkit-scrollbar{display:none}.bpk-content-container--bare-html-alternate table{box-shadow:0 0 0 1px #b2b2bf }.bpk-content-container--bare-html-alternate table th{background-color:#fff;text-align:left;font-weight:700}html[dir='rtl'] .bpk-content-container--bare-html-alternate table th{text-align:right}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpk-component-datatable",
3
- "version": "4.1.12",
3
+ "version": "4.1.13",
4
4
  "description": "Backpack datatable component.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -14,9 +14,9 @@
14
14
  },
15
15
  "gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
16
16
  "dependencies": {
17
- "bpk-component-icon": "^9.2.12",
17
+ "bpk-component-icon": "^9.2.13",
18
18
  "bpk-mixins": "^31.1.1",
19
- "bpk-react-utils": "^5.0.0",
19
+ "bpk-react-utils": "^6.0.0",
20
20
  "lodash": "^4.17.20",
21
21
  "prop-types": "^15.7.2",
22
22
  "react-virtualized": "^9.22.3"
@@ -20,9 +20,10 @@
20
20
  import PropTypes from 'prop-types';
21
21
  import React, { Component } from 'react';
22
22
  import { Table, AutoSizer } from 'react-virtualized';
23
- import { cssModules } from '../../bpk-react-utils';
24
23
  import _omit from 'lodash/omit';
25
24
 
25
+ import { cssModules } from '../../bpk-react-utils';
26
+
26
27
  import STYLES from './BpkDataTable.module.scss';
27
28
  import BpkDataTableColumn from './BpkDataTableColumn';
28
29
  import hasChildrenOfType from './hasChildrenOfType';
@@ -19,6 +19,7 @@
19
19
 
20
20
  import React, { type Element } from 'react';
21
21
  import { Column } from 'react-virtualized';
22
+
22
23
  import { cssModules } from '../../bpk-react-utils';
23
24
 
24
25
  import bpkHeaderRenderer from './bpkHeaderRenderer';
@@ -19,6 +19,7 @@
19
19
 
20
20
  import React from 'react';
21
21
  import { SortDirection } from 'react-virtualized';
22
+
22
23
  import { cssModules } from '../../bpk-react-utils';
23
24
  import BpkSmallArrowDownIcon from '../../bpk-component-icon/sm/arrow-down';
24
25
  import BpkSmallArrowUpIcon from '../../bpk-component-icon/sm/arrow-up';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpk-component-datepicker",
3
- "version": "15.2.18",
3
+ "version": "16.0.0",
4
4
  "description": "Backpack datepicker component.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -14,13 +14,13 @@
14
14
  },
15
15
  "gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
16
16
  "dependencies": {
17
- "bpk-component-breakpoint": "^4.0.3",
18
- "bpk-component-calendar": "^11.1.18",
19
- "bpk-component-input": "^6.1.16",
20
- "bpk-component-modal": "^4.0.1",
21
- "bpk-component-popover": "^5.0.3",
17
+ "bpk-component-breakpoint": "^4.0.4",
18
+ "bpk-component-calendar": "^11.1.19",
19
+ "bpk-component-input": "^6.1.17",
20
+ "bpk-component-modal": "^5.0.0",
21
+ "bpk-component-popover": "^6.0.0",
22
22
  "bpk-mixins": "^31.1.1",
23
- "bpk-react-utils": "^5.0.0",
23
+ "bpk-react-utils": "^6.0.0",
24
24
  "prop-types": "^15.7.2"
25
25
  },
26
26
  "peerDependencies": {
@@ -28,6 +28,6 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@skyscanner/bpk-foundations-web": "^8.0.0",
31
- "bpk-storybook-utils": "^1.1.10"
31
+ "bpk-storybook-utils": "^1.1.11"
32
32
  }
33
33
  }
@@ -16,12 +16,13 @@
16
16
  * limitations under the License.
17
17
  */
18
18
 
19
+ import PropTypes from 'prop-types';
20
+ import React, { Component } from 'react';
21
+
19
22
  import BpkInput, { withOpenEvents } from '../../bpk-component-input';
20
23
  import BpkModal from '../../bpk-component-modal';
21
24
  import BpkPopover from '../../bpk-component-popover';
22
25
  import { cssModules, deprecated } from '../../bpk-react-utils';
23
- import PropTypes from 'prop-types';
24
- import React, { Component } from 'react';
25
26
  import BpkBreakpoint, { BREAKPOINTS } from '../../bpk-component-breakpoint';
26
27
  import {
27
28
  composeCalendar,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpk-component-description-list",
3
- "version": "3.1.11",
3
+ "version": "3.1.12",
4
4
  "description": "Backpack description list component.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -15,7 +15,7 @@
15
15
  "gitHead": "5c156b97cb0ba5e75851d3c763334578714c895e",
16
16
  "dependencies": {
17
17
  "bpk-mixins": "^31.1.1",
18
- "bpk-react-utils": "^5.0.0",
18
+ "bpk-react-utils": "^6.0.0",
19
19
  "prop-types": "^15.7.2"
20
20
  },
21
21
  "peerDependencies": {
@@ -18,6 +18,7 @@
18
18
 
19
19
  import PropTypes from 'prop-types';
20
20
  import React from 'react';
21
+
21
22
  import { cssModules } from '../../bpk-react-utils';
22
23
 
23
24
  import STYLES from './BpkDescriptionList.module.scss';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpk-component-dialog",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "description": "Backpack dialog component.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -14,19 +14,19 @@
14
14
  },
15
15
  "gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
16
16
  "dependencies": {
17
- "bpk-component-close-button": "^3.1.12",
18
- "bpk-component-flare": "^2.1.14",
17
+ "bpk-component-close-button": "^3.1.13",
18
+ "bpk-component-flare": "^2.1.15",
19
19
  "bpk-mixins": "^31.1.1",
20
- "bpk-react-utils": "^5.0.0",
21
- "bpk-scrim-utils": "^5.1.10",
20
+ "bpk-react-utils": "^6.0.0",
21
+ "bpk-scrim-utils": "^5.1.11",
22
22
  "prop-types": "^15.7.2"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": "^16.3.0 || ^17.0.0"
26
26
  },
27
27
  "devDependencies": {
28
- "bpk-component-button": "^6.2.6",
29
- "bpk-component-icon": "^9.2.12",
30
- "bpk-component-text": "^7.0.5"
28
+ "bpk-component-button": "^6.2.7",
29
+ "bpk-component-icon": "^9.2.13",
30
+ "bpk-component-text": "^7.0.6"
31
31
  }
32
32
  }
@@ -19,6 +19,7 @@
19
19
  /* @flow strict */
20
20
 
21
21
  import React from 'react';
22
+
22
23
  import { cssModules, Portal } from '../../bpk-react-utils';
23
24
  import BpkCloseButton from '../../bpk-component-close-button';
24
25
 
@@ -19,6 +19,7 @@
19
19
  /* @flow strict */
20
20
 
21
21
  import React from 'react';
22
+
22
23
  import { TransitionInitialMount, cssModules } from '../../bpk-react-utils';
23
24
  import { withScrim } from '../../bpk-scrim-utils';
24
25
  import { BpkContentBubble } from '../../bpk-component-flare';
@@ -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
- @keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-dialog-inner{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;-webkit-tap-highlight-color:transparent;box-shadow:0px 12px 50px 0px rgba(37,32,31,0.25);border-radius:.375rem}.bpk-dialog-inner--appear{transform:scale(0.9);opacity:0}.bpk-dialog-inner--appear-active{transform:scale(1);opacity:1}.bpk-dialog-inner__content{padding:1rem;flex:1;overflow-y:auto}.bpk-dialog-inner__flare{height:15rem;border-radius:inherit;background-color:#0770e3}
18
+ @keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-dialog-inner{z-index:1100;width:100%;max-width:32.25rem;margin:auto;transform:scale(1);transition:opacity 200ms ease-in-out,transform 200ms ease-in-out;outline:0;background-color:#fff;opacity:1;-webkit-tap-highlight-color:transparent;box-shadow:0px 12px 50px 0px rgba(37,32,31,0.25);border-radius:.375rem}.bpk-dialog-inner--appear{transform:scale(0.9);opacity:0}.bpk-dialog-inner--appear-active{transform:scale(1);opacity:1}.bpk-dialog-inner__content{padding:1rem;flex:1;overflow-y:auto}.bpk-dialog-inner__flare{height:15rem;border-radius:inherit;background-color:#0770e3}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bpk-component-drawer",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "description": "Backpack drawer component.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -15,12 +15,12 @@
15
15
  "gitHead": "f9f94f86d7cfc75e43bc6ad5eb01b23e62a89cc8",
16
16
  "dependencies": {
17
17
  "@skyscanner/bpk-foundations-web": "^8.0.0",
18
- "bpk-component-close-button": "^3.1.12",
19
- "bpk-component-icon": "^9.2.12",
20
- "bpk-component-link": "^3.1.11",
18
+ "bpk-component-close-button": "^3.1.13",
19
+ "bpk-component-icon": "^9.2.13",
20
+ "bpk-component-link": "^3.1.12",
21
21
  "bpk-mixins": "^31.1.1",
22
- "bpk-react-utils": "^5.0.0",
23
- "bpk-scrim-utils": "^5.1.10",
22
+ "bpk-react-utils": "^6.0.0",
23
+ "bpk-scrim-utils": "^5.1.11",
24
24
  "prop-types": "^15.7.2",
25
25
  "react-transition-group": "^2.5.3"
26
26
  },
@@ -28,7 +28,7 @@
28
28
  "react": "^16.3.0 || ^17.0.0"
29
29
  },
30
30
  "devDependencies": {
31
- "bpk-component-button": "^6.2.6",
32
- "bpk-component-text": "^7.0.5"
31
+ "bpk-component-button": "^6.2.7",
32
+ "bpk-component-text": "^7.0.6"
33
33
  }
34
34
  }
@@ -20,6 +20,7 @@
20
20
 
21
21
  import PropTypes from 'prop-types';
22
22
  import React, { Component } from 'react';
23
+
23
24
  import { Portal, cssModules } from '../../bpk-react-utils';
24
25
  import { withScrim } from '../../bpk-scrim-utils';
25
26
 
@@ -22,6 +22,7 @@ import PropTypes from 'prop-types';
22
22
  import React, { type Node } from 'react';
23
23
  import Transition from 'react-transition-group/Transition';
24
24
  import { animations } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
25
+
25
26
  import { cssModules } from '../../bpk-react-utils';
26
27
  import { BpkButtonLink } from '../../bpk-component-link';
27
28
  import BpkCloseButton from '../../bpk-component-close-button';
@@ -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
- @keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-drawer{position:fixed;right:0;display:flex;z-index:1100;width:90%;max-width:25rem;height:100%;flex-direction:column;transform:translate(100%);transition:transform 200ms ease;outline:0;background:#fff;overflow-y:scroll;box-shadow:0px 12px 50px 0px rgba(37,32,31,0.25)}html[dir='rtl'] .bpk-drawer{right:auto;left:0;transform:translate(-100%)}@media (max-width: 32rem){.bpk-drawer{width:100%;max-width:100%}}.bpk-drawer--entering,.bpk-drawer--entered{transform:translate(0)}html[dir='rtl'] .bpk-drawer--entering,html[dir='rtl'] .bpk-drawer--entered{transform:translate(0)}.bpk-drawer--exiting{transition:transform 50ms ease}.bpk-drawer--exiting,.bpk-drawer--exited{transform:translate(100%)}html[dir='rtl'] .bpk-drawer--exiting,html[dir='rtl'] .bpk-drawer--exited{transform:translate(-100%)}.bpk-drawer__header{display:flex;min-height:3rem;padding:1rem;justify-content:space-between;align-items:center;flex:0 0;box-shadow:0 -1px 0 0 #dddde5 inset}.bpk-drawer__heading{margin:0;font-size:1rem;line-height:1.5rem;font-weight:700}.bpk-drawer__heading--visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0)}.bpk-drawer__close-button{float:right}html[dir='rtl'] .bpk-drawer__close-button{float:left}.bpk-drawer__content{height:100%;padding:1rem;flex:1 1 100%;overflow-y:auto}
18
+ @keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-drawer{position:fixed;right:0;display:flex;z-index:1100;width:90%;max-width:25rem;height:100%;flex-direction:column;transform:translate(100%);transition:transform 200ms ease;outline:0;background:#fff;overflow-y:scroll;box-shadow:0px 12px 50px 0px rgba(37,32,31,0.25)}html[dir='rtl'] .bpk-drawer{right:auto;left:0;transform:translate(-100%)}@media (max-width: 32.25rem){.bpk-drawer{width:100%;max-width:100%}}.bpk-drawer--entering,.bpk-drawer--entered{transform:translate(0)}html[dir='rtl'] .bpk-drawer--entering,html[dir='rtl'] .bpk-drawer--entered{transform:translate(0)}.bpk-drawer--exiting{transition:transform 50ms ease}.bpk-drawer--exiting,.bpk-drawer--exited{transform:translate(100%)}html[dir='rtl'] .bpk-drawer--exiting,html[dir='rtl'] .bpk-drawer--exited{transform:translate(-100%)}.bpk-drawer__header{display:flex;min-height:3rem;padding:1rem;justify-content:space-between;align-items:center;flex:0 0;box-shadow:0 -1px 0 0 #dddde5 inset}.bpk-drawer__heading{margin:0;font-size:1rem;line-height:1.5rem;font-weight:700}.bpk-drawer__heading--visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0)}.bpk-drawer__close-button{float:right}html[dir='rtl'] .bpk-drawer__close-button{float:left}.bpk-drawer__content{height:100%;padding:1rem;flex:1 1 100%;overflow-y:auto}