@skyscanner/backpack-web 6.0.0-alpha.2 → 7.0.0-alpha.1

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 (1263) hide show
  1. package/package.json +6 -5
  2. package/README.md +0 -101
  3. package/bpk-animate-height/index.js +0 -30
  4. package/bpk-animate-height/src/AnimateHeight-test.js +0 -75
  5. package/bpk-animate-height/src/AnimateHeight.js +0 -194
  6. package/bpk-animate-height/src/accessibility-test.js +0 -41
  7. package/bpk-component-accordion/index.js +0 -47
  8. package/bpk-component-accordion/src/BpkAccordion-test.js +0 -43
  9. package/bpk-component-accordion/src/BpkAccordion.css +0 -18
  10. package/bpk-component-accordion/src/BpkAccordion.js +0 -53
  11. package/bpk-component-accordion/src/BpkAccordionItem-test.js +0 -100
  12. package/bpk-component-accordion/src/BpkAccordionItem.css +0 -18
  13. package/bpk-component-accordion/src/BpkAccordionItem.js +0 -123
  14. package/bpk-component-accordion/src/accessibility-test.js +0 -43
  15. package/bpk-component-accordion/src/themeAttributes-test.js +0 -28
  16. package/bpk-component-accordion/src/themeAttributes.js +0 -26
  17. package/bpk-component-accordion/src/withAccordionItemState-test.js +0 -77
  18. package/bpk-component-accordion/src/withAccordionItemState.js +0 -84
  19. package/bpk-component-accordion/src/withSingleItemAccordionState-test.js +0 -67
  20. package/bpk-component-accordion/src/withSingleItemAccordionState.js +0 -82
  21. package/bpk-component-aria-live/index.js +0 -38
  22. package/bpk-component-aria-live/src/BpkAriaLive-test.js +0 -73
  23. package/bpk-component-aria-live/src/BpkAriaLive.css +0 -18
  24. package/bpk-component-aria-live/src/BpkAriaLive.js +0 -64
  25. package/bpk-component-aria-live/src/accessibility-test.js +0 -38
  26. package/bpk-component-autosuggest/check-autosuggest-version-test.js +0 -28
  27. package/bpk-component-autosuggest/index.js +0 -38
  28. package/bpk-component-autosuggest/src/BpkAutosuggest-test.js +0 -115
  29. package/bpk-component-autosuggest/src/BpkAutosuggest.css +0 -18
  30. package/bpk-component-autosuggest/src/BpkAutosuggest.js +0 -74
  31. package/bpk-component-autosuggest/src/BpkAutosuggestSuggestion-test.js +0 -132
  32. package/bpk-component-autosuggest/src/BpkAutosuggestSuggestion.js +0 -88
  33. package/bpk-component-autosuggest/src/accessibility-test.js +0 -66
  34. package/bpk-component-badge/index.js +0 -48
  35. package/bpk-component-badge/src/BpkBadge-test.js +0 -81
  36. package/bpk-component-badge/src/BpkBadge.css +0 -18
  37. package/bpk-component-badge/src/BpkBadge.js +0 -94
  38. package/bpk-component-badge/src/accessibility-test.js +0 -38
  39. package/bpk-component-badge/src/themeAttributes-test.js +0 -26
  40. package/bpk-component-badge/src/themeAttributes.js +0 -26
  41. package/bpk-component-banner-alert/index.js +0 -70
  42. package/bpk-component-banner-alert/src/AnimateAndFade-test.js +0 -74
  43. package/bpk-component-banner-alert/src/AnimateAndFade.js +0 -168
  44. package/bpk-component-banner-alert/src/BpkAnimateAndFade.css +0 -18
  45. package/bpk-component-banner-alert/src/BpkBannerAlert-test.js +0 -61
  46. package/bpk-component-banner-alert/src/BpkBannerAlert.css +0 -18
  47. package/bpk-component-banner-alert/src/BpkBannerAlert.js +0 -38
  48. package/bpk-component-banner-alert/src/BpkBannerAlertDismissable-test.js +0 -43
  49. package/bpk-component-banner-alert/src/BpkBannerAlertDismissable.js +0 -45
  50. package/bpk-component-banner-alert/src/BpkBannerAlertExpandable-test.js +0 -54
  51. package/bpk-component-banner-alert/src/BpkBannerAlertExpandable.js +0 -62
  52. package/bpk-component-banner-alert/src/BpkBannerAlertInner-test.js +0 -206
  53. package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +0 -217
  54. package/bpk-component-banner-alert/src/accessibility-test.js +0 -44
  55. package/bpk-component-banner-alert/src/common-types.js +0 -55
  56. package/bpk-component-banner-alert/src/themeAttributes-test.js +0 -26
  57. package/bpk-component-banner-alert/src/themeAttributes.js +0 -26
  58. package/bpk-component-banner-alert/src/withBannerAlertState-test.js +0 -127
  59. package/bpk-component-banner-alert/src/withBannerAlertState.js +0 -160
  60. package/bpk-component-barchart/index.js +0 -78
  61. package/bpk-component-barchart/src/BpkBarchart-test.js +0 -192
  62. package/bpk-component-barchart/src/BpkBarchart.css +0 -18
  63. package/bpk-component-barchart/src/BpkBarchart.js +0 -290
  64. package/bpk-component-barchart/src/BpkBarchartBar-test.js +0 -120
  65. package/bpk-component-barchart/src/BpkBarchartBar.css +0 -18
  66. package/bpk-component-barchart/src/BpkBarchartBar.js +0 -121
  67. package/bpk-component-barchart/src/BpkBarchartBars-test.js +0 -175
  68. package/bpk-component-barchart/src/BpkBarchartBars.js +0 -153
  69. package/bpk-component-barchart/src/BpkBarchartDefs-test.js +0 -35
  70. package/bpk-component-barchart/src/BpkBarchartDefs.js +0 -42
  71. package/bpk-component-barchart/src/BpkChartAxis-test.js +0 -204
  72. package/bpk-component-barchart/src/BpkChartAxis.css +0 -18
  73. package/bpk-component-barchart/src/BpkChartAxis.js +0 -150
  74. package/bpk-component-barchart/src/BpkChartDataTable-test.js +0 -46
  75. package/bpk-component-barchart/src/BpkChartDataTable.css +0 -18
  76. package/bpk-component-barchart/src/BpkChartDataTable.js +0 -70
  77. package/bpk-component-barchart/src/BpkChartGridLines-test.js +0 -178
  78. package/bpk-component-barchart/src/BpkChartGridLines.css +0 -18
  79. package/bpk-component-barchart/src/BpkChartGridLines.js +0 -95
  80. package/bpk-component-barchart/src/BpkChartMargin-test.js +0 -45
  81. package/bpk-component-barchart/src/BpkChartMargin.js +0 -48
  82. package/bpk-component-barchart/src/RTLtransforms.js +0 -56
  83. package/bpk-component-barchart/src/accessibility-test.js +0 -52
  84. package/bpk-component-barchart/src/customPropTypes-test.js +0 -59
  85. package/bpk-component-barchart/src/customPropTypes.js +0 -48
  86. package/bpk-component-barchart/src/orientation.js +0 -28
  87. package/bpk-component-barchart/src/themeAttributes-test.js +0 -28
  88. package/bpk-component-barchart/src/themeAttributes.js +0 -26
  89. package/bpk-component-barchart/src/utils-test.js +0 -68
  90. package/bpk-component-barchart/src/utils.js +0 -53
  91. package/bpk-component-blockquote/index.js +0 -38
  92. package/bpk-component-blockquote/src/BpkBlockquote-test.js +0 -43
  93. package/bpk-component-blockquote/src/BpkBlockquote.css +0 -18
  94. package/bpk-component-blockquote/src/BpkBlockquote.js +0 -57
  95. package/bpk-component-blockquote/src/accessibility-test.js +0 -38
  96. package/bpk-component-blockquote/src/themeAttributes-test.js +0 -28
  97. package/bpk-component-blockquote/src/themeAttributes.js +0 -26
  98. package/bpk-component-boilerplate/index.js +0 -30
  99. package/bpk-component-boilerplate/src/BpkBoilerplate-test.js +0 -51
  100. package/bpk-component-boilerplate/src/BpkBoilerplate.css +0 -18
  101. package/bpk-component-boilerplate/src/BpkBoilerplate.js +0 -51
  102. package/bpk-component-boilerplate/src/accessibility-test.js +0 -38
  103. package/bpk-component-breadcrumb/index.js +0 -38
  104. package/bpk-component-breadcrumb/src/BpkBreadcrumb-test.js +0 -72
  105. package/bpk-component-breadcrumb/src/BpkBreadcrumb.css +0 -18
  106. package/bpk-component-breadcrumb/src/BpkBreadcrumb.js +0 -100
  107. package/bpk-component-breadcrumb/src/BpkBreadcrumbItem-test.js +0 -76
  108. package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.css +0 -18
  109. package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.js +0 -85
  110. package/bpk-component-breadcrumb/src/accessibility-test.js +0 -44
  111. package/bpk-component-breakpoint/index.js +0 -38
  112. package/bpk-component-breakpoint/src/BpkBreakpoint-test.js +0 -100
  113. package/bpk-component-breakpoint/src/BpkBreakpoint.js +0 -76
  114. package/bpk-component-breakpoint/src/accessibility-test.js +0 -44
  115. package/bpk-component-button/BpkButtonDestructive.js +0 -15
  116. package/bpk-component-button/BpkButtonFeatured.js +0 -15
  117. package/bpk-component-button/BpkButtonLink.js +0 -15
  118. package/bpk-component-button/BpkButtonLinkOnDark.js +0 -15
  119. package/bpk-component-button/BpkButtonOutline.js +0 -15
  120. package/bpk-component-button/BpkButtonPrimary.js +0 -15
  121. package/bpk-component-button/BpkButtonPrimaryOnDark.js +0 -15
  122. package/bpk-component-button/BpkButtonPrimaryOnLight.js +0 -15
  123. package/bpk-component-button/BpkButtonSecondary.js +0 -15
  124. package/bpk-component-button/BpkButtonSecondaryOnDark.js +0 -15
  125. package/bpk-component-button/index.js +0 -161
  126. package/bpk-component-button/src/BpkButton-test.js +0 -165
  127. package/bpk-component-button/src/BpkButton.js +0 -106
  128. package/bpk-component-button/src/BpkButtonBase.css +0 -18
  129. package/bpk-component-button/src/BpkButtonBase.js +0 -112
  130. package/bpk-component-button/src/BpkButtonDestructive-test.js +0 -26
  131. package/bpk-component-button/src/BpkButtonDestructive.css +0 -18
  132. package/bpk-component-button/src/BpkButtonDestructive.js +0 -63
  133. package/bpk-component-button/src/BpkButtonFeatured-test.js +0 -26
  134. package/bpk-component-button/src/BpkButtonFeatured.css +0 -18
  135. package/bpk-component-button/src/BpkButtonFeatured.js +0 -63
  136. package/bpk-component-button/src/BpkButtonLink-test.js +0 -26
  137. package/bpk-component-button/src/BpkButtonLink.css +0 -18
  138. package/bpk-component-button/src/BpkButtonLink.js +0 -69
  139. package/bpk-component-button/src/BpkButtonLinkOnDark-test.js +0 -26
  140. package/bpk-component-button/src/BpkButtonLinkOnDark.css +0 -18
  141. package/bpk-component-button/src/BpkButtonLinkOnDark.js +0 -69
  142. package/bpk-component-button/src/BpkButtonOutline-test.js +0 -26
  143. package/bpk-component-button/src/BpkButtonOutline.css +0 -18
  144. package/bpk-component-button/src/BpkButtonOutline.js +0 -63
  145. package/bpk-component-button/src/BpkButtonPrimary-test.js +0 -26
  146. package/bpk-component-button/src/BpkButtonPrimary.js +0 -29
  147. package/bpk-component-button/src/BpkButtonPrimaryOnDark-test.js +0 -26
  148. package/bpk-component-button/src/BpkButtonPrimaryOnDark.css +0 -18
  149. package/bpk-component-button/src/BpkButtonPrimaryOnDark.js +0 -63
  150. package/bpk-component-button/src/BpkButtonPrimaryOnLight-test.js +0 -26
  151. package/bpk-component-button/src/BpkButtonPrimaryOnLight.css +0 -18
  152. package/bpk-component-button/src/BpkButtonPrimaryOnLight.js +0 -63
  153. package/bpk-component-button/src/BpkButtonSecondary-test.js +0 -26
  154. package/bpk-component-button/src/BpkButtonSecondary.css +0 -18
  155. package/bpk-component-button/src/BpkButtonSecondary.js +0 -63
  156. package/bpk-component-button/src/BpkButtonSecondaryOnDark-test.js +0 -26
  157. package/bpk-component-button/src/BpkButtonSecondaryOnDark.css +0 -18
  158. package/bpk-component-button/src/BpkButtonSecondaryOnDark.js +0 -63
  159. package/bpk-component-button/src/accessibility-test.js +0 -47
  160. package/bpk-component-button/src/common-types.js +0 -53
  161. package/bpk-component-button/src/commonButtonTests.js +0 -132
  162. package/bpk-component-button/src/themeAttributes-test.js +0 -38
  163. package/bpk-component-button/src/themeAttributes.js +0 -40
  164. package/bpk-component-button/themeAttributes.js +0 -55
  165. package/bpk-component-calendar/index.js +0 -143
  166. package/bpk-component-calendar/src/BpkCalendar.css +0 -18
  167. package/bpk-component-calendar/src/BpkCalendarContainer-test.js +0 -356
  168. package/bpk-component-calendar/src/BpkCalendarContainer.js +0 -337
  169. package/bpk-component-calendar/src/BpkCalendarDate-test.js +0 -164
  170. package/bpk-component-calendar/src/BpkCalendarDate.css +0 -18
  171. package/bpk-component-calendar/src/BpkCalendarDate.js +0 -225
  172. package/bpk-component-calendar/src/BpkCalendarGrid-test.js +0 -140
  173. package/bpk-component-calendar/src/BpkCalendarGrid.css +0 -18
  174. package/bpk-component-calendar/src/BpkCalendarGrid.js +0 -196
  175. package/bpk-component-calendar/src/BpkCalendarGridHeader.css +0 -18
  176. package/bpk-component-calendar/src/BpkCalendarGridHeader.js +0 -121
  177. package/bpk-component-calendar/src/BpkCalendarGridTransition-test.js +0 -94
  178. package/bpk-component-calendar/src/BpkCalendarGridTransition.css +0 -18
  179. package/bpk-component-calendar/src/BpkCalendarGridTransition.js +0 -181
  180. package/bpk-component-calendar/src/BpkCalendarNav-test.js +0 -116
  181. package/bpk-component-calendar/src/BpkCalendarNav.css +0 -18
  182. package/bpk-component-calendar/src/BpkCalendarNav.js +0 -179
  183. package/bpk-component-calendar/src/Week-test.js +0 -154
  184. package/bpk-component-calendar/src/Week.js +0 -385
  185. package/bpk-component-calendar/src/accessibility-test.js +0 -88
  186. package/bpk-component-calendar/src/composeCalendar-test.js +0 -173
  187. package/bpk-component-calendar/src/composeCalendar.js +0 -196
  188. package/bpk-component-calendar/src/custom-proptypes.js +0 -101
  189. package/bpk-component-calendar/src/date-utils.js +0 -352
  190. package/bpk-component-calendar/src/themeAttributes-test.js +0 -28
  191. package/bpk-component-calendar/src/themeAttributes.js +0 -26
  192. package/bpk-component-calendar/src/utils.js +0 -69
  193. package/bpk-component-calendar/test-utils.js +0 -269
  194. package/bpk-component-card/index.js +0 -30
  195. package/bpk-component-card/src/BpkCard-test.js +0 -85
  196. package/bpk-component-card/src/BpkCard.css +0 -18
  197. package/bpk-component-card/src/BpkCard.js +0 -109
  198. package/bpk-component-card/src/accessibility-test.js +0 -47
  199. package/bpk-component-checkbox/index.js +0 -38
  200. package/bpk-component-checkbox/src/BpkCheckbox-test.js +0 -152
  201. package/bpk-component-checkbox/src/BpkCheckbox.css +0 -18
  202. package/bpk-component-checkbox/src/BpkCheckbox.js +0 -96
  203. package/bpk-component-checkbox/src/accessibility-test.js +0 -41
  204. package/bpk-component-checkbox/src/themeAttributes-test.js +0 -28
  205. package/bpk-component-checkbox/src/themeAttributes.js +0 -26
  206. package/bpk-component-chip/index.js +0 -54
  207. package/bpk-component-chip/src/BpkDismissibleChip-test.js +0 -85
  208. package/bpk-component-chip/src/BpkDismissibleChip.js +0 -34
  209. package/bpk-component-chip/src/BpkSelectableChip-test.js +0 -107
  210. package/bpk-component-chip/src/BpkSelectableChip.css +0 -18
  211. package/bpk-component-chip/src/BpkSelectableChip.js +0 -88
  212. package/bpk-component-chip/src/accessibility-test.js +0 -55
  213. package/bpk-component-chip/src/commonTypes.js +0 -55
  214. package/bpk-component-chip/src/themeAttributes-test.js +0 -28
  215. package/bpk-component-chip/src/themeAttributes.js +0 -26
  216. package/bpk-component-close-button/index.js +0 -30
  217. package/bpk-component-close-button/src/BpkCloseButton-test.js +0 -60
  218. package/bpk-component-close-button/src/BpkCloseButton.css +0 -18
  219. package/bpk-component-close-button/src/BpkCloseButton.js +0 -73
  220. package/bpk-component-close-button/src/accessibility-test.js +0 -41
  221. package/bpk-component-code/index.js +0 -23
  222. package/bpk-component-code/src/BpkCode-test.js +0 -51
  223. package/bpk-component-code/src/BpkCode.css +0 -18
  224. package/bpk-component-code/src/BpkCode.js +0 -65
  225. package/bpk-component-code/src/BpkCodeBlock-test.js +0 -51
  226. package/bpk-component-code/src/BpkCodeBlock.css +0 -18
  227. package/bpk-component-code/src/BpkCodeBlock.js +0 -59
  228. package/bpk-component-code/src/accessibility-test.js +0 -47
  229. package/bpk-component-content-container/index.js +0 -30
  230. package/bpk-component-content-container/src/BpkContentContainer-test.js +0 -60
  231. package/bpk-component-content-container/src/BpkContentContainer.css +0 -18
  232. package/bpk-component-content-container/src/BpkContentContainer.js +0 -78
  233. package/bpk-component-content-container/src/accessibility-test.js +0 -38
  234. package/bpk-component-datatable/index.js +0 -23
  235. package/bpk-component-datatable/src/BpkDataTable-test.js +0 -517
  236. package/bpk-component-datatable/src/BpkDataTable.css +0 -18
  237. package/bpk-component-datatable/src/BpkDataTable.js +0 -218
  238. package/bpk-component-datatable/src/BpkDataTableColumn-test.js +0 -71
  239. package/bpk-component-datatable/src/BpkDataTableColumn.css +0 -18
  240. package/bpk-component-datatable/src/BpkDataTableColumn.js +0 -65
  241. package/bpk-component-datatable/src/accessibility-test.js +0 -70
  242. package/bpk-component-datatable/src/bpkHeaderRenderer-test.js +0 -110
  243. package/bpk-component-datatable/src/bpkHeaderRenderer.js +0 -97
  244. package/bpk-component-datatable/src/common-types.js +0 -5
  245. package/bpk-component-datatable/src/hasChildrenOfType-test.js +0 -60
  246. package/bpk-component-datatable/src/hasChildrenOfType.js +0 -52
  247. package/bpk-component-datatable/src/sort-types.js +0 -1
  248. package/bpk-component-datatable/src/sorter.js +0 -139
  249. package/bpk-component-datatable/src/utils.js +0 -35
  250. package/bpk-component-datepicker/index.js +0 -46
  251. package/bpk-component-datepicker/src/BpkDatepicker-test.js +0 -377
  252. package/bpk-component-datepicker/src/BpkDatepicker.css +0 -18
  253. package/bpk-component-datepicker/src/BpkDatepicker.js +0 -318
  254. package/bpk-component-datepicker/src/accessibility-test.js +0 -94
  255. package/bpk-component-datepicker/src/themeAttibutes-test.js +0 -28
  256. package/bpk-component-datepicker/src/themeAttributes.js +0 -33
  257. package/bpk-component-description-list/index.js +0 -31
  258. package/bpk-component-description-list/src/BpkDescriptionDetails-test.js +0 -51
  259. package/bpk-component-description-list/src/BpkDescriptionDetails.js +0 -31
  260. package/bpk-component-description-list/src/BpkDescriptionList-test.js +0 -51
  261. package/bpk-component-description-list/src/BpkDescriptionList.css +0 -18
  262. package/bpk-component-description-list/src/BpkDescriptionList.js +0 -31
  263. package/bpk-component-description-list/src/BpkDescriptionTerm-test.js +0 -51
  264. package/bpk-component-description-list/src/BpkDescriptionTerm.js +0 -31
  265. package/bpk-component-description-list/src/ComponentFactory.js +0 -58
  266. package/bpk-component-description-list/src/accessibility-test.js +0 -38
  267. package/bpk-component-dialog/index.js +0 -38
  268. package/bpk-component-dialog/src/BpkDialog-test.js +0 -162
  269. package/bpk-component-dialog/src/BpkDialog.css +0 -18
  270. package/bpk-component-dialog/src/BpkDialog.js +0 -75
  271. package/bpk-component-dialog/src/BpkDialogInner.css +0 -18
  272. package/bpk-component-dialog/src/BpkDialogInner.js +0 -74
  273. package/bpk-component-dialog/src/accessibility-test.js +0 -48
  274. package/bpk-component-dialog/src/common-types.js +0 -75
  275. package/bpk-component-drawer/index.js +0 -38
  276. package/bpk-component-drawer/src/BpkDrawer-test.js +0 -47
  277. package/bpk-component-drawer/src/BpkDrawer.css +0 -18
  278. package/bpk-component-drawer/src/BpkDrawer.js +0 -102
  279. package/bpk-component-drawer/src/BpkDrawerContent-test.js +0 -101
  280. package/bpk-component-drawer/src/BpkDrawerContent.css +0 -18
  281. package/bpk-component-drawer/src/BpkDrawerContent.js +0 -142
  282. package/bpk-component-drawer/src/accessibility-test.js +0 -49
  283. package/bpk-component-drawer/src/themeAttributes-test.js +0 -28
  284. package/bpk-component-drawer/src/themeAttributes.js +0 -28
  285. package/bpk-component-fieldset/index.js +0 -54
  286. package/bpk-component-fieldset/src/BpkFieldset-test.js +0 -313
  287. package/bpk-component-fieldset/src/BpkFieldset.css +0 -18
  288. package/bpk-component-fieldset/src/BpkFieldset.js +0 -167
  289. package/bpk-component-fieldset/src/accessibility-test.js +0 -53
  290. package/bpk-component-fieldset/src/themeAttributes.js +0 -26
  291. package/bpk-component-flare/gulpfile.js +0 -59
  292. package/bpk-component-flare/index.js +0 -44
  293. package/bpk-component-flare/src/BpkContentBubble-test.js +0 -82
  294. package/bpk-component-flare/src/BpkContentBubble.js +0 -94
  295. package/bpk-component-flare/src/BpkFlareBar-test.js +0 -59
  296. package/bpk-component-flare/src/BpkFlareBar.js +0 -78
  297. package/bpk-component-flare/src/__generated__/js/corner-radius.js +0 -33
  298. package/bpk-component-flare/src/__generated__/js/pointer.js +0 -33
  299. package/bpk-component-flare/src/accessibility-test.js +0 -54
  300. package/bpk-component-flare/src/bpk-content-bubble.css +0 -18
  301. package/bpk-component-flare/src/bpk-flare-bar.css +0 -18
  302. package/bpk-component-flare/tasks/svg2react.js +0 -73
  303. package/bpk-component-floating-notification/index.js +0 -38
  304. package/bpk-component-floating-notification/src/BpkFloatingNotification-test.js +0 -113
  305. package/bpk-component-floating-notification/src/BpkFloatingNotification.css +0 -18
  306. package/bpk-component-floating-notification/src/BpkFloatingNotification.js +0 -125
  307. package/bpk-component-floating-notification/src/accessibility-test.js +0 -78
  308. package/bpk-component-form-validation/index.js +0 -38
  309. package/bpk-component-form-validation/src/BpkFormValidation-test.js +0 -47
  310. package/bpk-component-form-validation/src/BpkFormValidation.css +0 -18
  311. package/bpk-component-form-validation/src/BpkFormValidation.js +0 -76
  312. package/bpk-component-form-validation/src/accessibility-test.js +0 -41
  313. package/bpk-component-form-validation/src/themeAttributes-test.js +0 -28
  314. package/bpk-component-form-validation/src/themeAttributes.js +0 -26
  315. package/bpk-component-graphic-promotion/index.js +0 -38
  316. package/bpk-component-graphic-promotion/src/BpkGraphicPromo-test.js +0 -132
  317. package/bpk-component-graphic-promotion/src/BpkGraphicPromo.css +0 -18
  318. package/bpk-component-graphic-promotion/src/BpkGraphicPromo.js +0 -182
  319. package/bpk-component-graphic-promotion/src/accessibility-test.js +0 -139
  320. package/bpk-component-graphic-promotion/src/custom-breakpoints.css +0 -17
  321. package/bpk-component-grid/index.js +0 -38
  322. package/bpk-component-grid/src/BpkGridColumn-test.js +0 -168
  323. package/bpk-component-grid/src/BpkGridColumn.css +0 -18
  324. package/bpk-component-grid/src/BpkGridColumn.js +0 -111
  325. package/bpk-component-grid/src/BpkGridContainer-test.js +0 -68
  326. package/bpk-component-grid/src/BpkGridContainer.css +0 -18
  327. package/bpk-component-grid/src/BpkGridContainer.js +0 -68
  328. package/bpk-component-grid/src/BpkGridRow-test.js +0 -52
  329. package/bpk-component-grid/src/BpkGridRow.css +0 -18
  330. package/bpk-component-grid/src/BpkGridRow.js +0 -61
  331. package/bpk-component-grid/src/accessibility-test.js +0 -48
  332. package/bpk-component-grid-toggle/index.js +0 -30
  333. package/bpk-component-grid-toggle/src/BpkGridToggle-test.js +0 -43
  334. package/bpk-component-grid-toggle/src/BpkGridToggle.css +0 -18
  335. package/bpk-component-grid-toggle/src/BpkGridToggle.js +0 -83
  336. package/bpk-component-grid-toggle/src/accessibility-test.js +0 -38
  337. package/bpk-component-horizontal-nav/index.js +0 -52
  338. package/bpk-component-horizontal-nav/src/BpkHorizontalNav-test.js +0 -84
  339. package/bpk-component-horizontal-nav/src/BpkHorizontalNav.css +0 -18
  340. package/bpk-component-horizontal-nav/src/BpkHorizontalNav.js +0 -192
  341. package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem-test.js +0 -101
  342. package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.css +0 -18
  343. package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.js +0 -103
  344. package/bpk-component-horizontal-nav/src/accessibility-test.js +0 -40
  345. package/bpk-component-icon/all.js +0 -32
  346. package/bpk-component-icon/gulpfile.babel.js +0 -38
  347. package/bpk-component-icon/gulpfile.js +0 -33
  348. package/bpk-component-icon/index.js +0 -62
  349. package/bpk-component-icon/lg/accessibility.js +0 -39
  350. package/bpk-component-icon/lg/account--add.js +0 -39
  351. package/bpk-component-icon/lg/account--female.js +0 -39
  352. package/bpk-component-icon/lg/account--id-card.js +0 -39
  353. package/bpk-component-icon/lg/account--name.js +0 -39
  354. package/bpk-component-icon/lg/account--permit.js +0 -39
  355. package/bpk-component-icon/lg/account-circle.js +0 -39
  356. package/bpk-component-icon/lg/account.js +0 -39
  357. package/bpk-component-icon/lg/add-circle.js +0 -39
  358. package/bpk-component-icon/lg/adult.js +0 -39
  359. package/bpk-component-icon/lg/aircon.js +0 -39
  360. package/bpk-component-icon/lg/aircraft.js +0 -41
  361. package/bpk-component-icon/lg/airline--multiple.js +0 -39
  362. package/bpk-component-icon/lg/airline.js +0 -39
  363. package/bpk-component-icon/lg/airports.js +0 -39
  364. package/bpk-component-icon/lg/alert--active.js +0 -39
  365. package/bpk-component-icon/lg/alert--add.js +0 -39
  366. package/bpk-component-icon/lg/alert--expired.js +0 -39
  367. package/bpk-component-icon/lg/alert--remove.js +0 -39
  368. package/bpk-component-icon/lg/arrow-down.js +0 -39
  369. package/bpk-component-icon/lg/arrow-left.js +0 -39
  370. package/bpk-component-icon/lg/arrow-right.js +0 -39
  371. package/bpk-component-icon/lg/arrow-up.js +0 -39
  372. package/bpk-component-icon/lg/award.js +0 -39
  373. package/bpk-component-icon/lg/baby-carriage.js +0 -39
  374. package/bpk-component-icon/lg/baggage--add.js +0 -39
  375. package/bpk-component-icon/lg/baggage--remove.js +0 -39
  376. package/bpk-component-icon/lg/baggage-cross.js +0 -39
  377. package/bpk-component-icon/lg/baggage-tick.js +0 -39
  378. package/bpk-component-icon/lg/baggage.js +0 -39
  379. package/bpk-component-icon/lg/bar.js +0 -39
  380. package/bpk-component-icon/lg/beach.js +0 -41
  381. package/bpk-component-icon/lg/beer.js +0 -39
  382. package/bpk-component-icon/lg/breakfast-cross.js +0 -39
  383. package/bpk-component-icon/lg/breakfast-tick.js +0 -39
  384. package/bpk-component-icon/lg/bus.js +0 -39
  385. package/bpk-component-icon/lg/business.js +0 -39
  386. package/bpk-component-icon/lg/cafe.js +0 -39
  387. package/bpk-component-icon/lg/calendar.js +0 -39
  388. package/bpk-component-icon/lg/call-back.js +0 -41
  389. package/bpk-component-icon/lg/camera.js +0 -39
  390. package/bpk-component-icon/lg/camper-van.js +0 -41
  391. package/bpk-component-icon/lg/car-door.js +0 -39
  392. package/bpk-component-icon/lg/car-wash.js +0 -41
  393. package/bpk-component-icon/lg/cars-flexible.js +0 -39
  394. package/bpk-component-icon/lg/cars.js +0 -41
  395. package/bpk-component-icon/lg/center-location.js +0 -39
  396. package/bpk-component-icon/lg/chart.js +0 -39
  397. package/bpk-component-icon/lg/chauffeur.js +0 -39
  398. package/bpk-component-icon/lg/chevron-down.js +0 -39
  399. package/bpk-component-icon/lg/chevron-left.js +0 -39
  400. package/bpk-component-icon/lg/chevron-right.js +0 -39
  401. package/bpk-component-icon/lg/chevron-up.js +0 -39
  402. package/bpk-component-icon/lg/child-seat.js +0 -39
  403. package/bpk-component-icon/lg/child.js +0 -39
  404. package/bpk-component-icon/lg/city-center.js +0 -39
  405. package/bpk-component-icon/lg/city.js +0 -39
  406. package/bpk-component-icon/lg/clean-policy.js +0 -39
  407. package/bpk-component-icon/lg/clean.js +0 -43
  408. package/bpk-component-icon/lg/cleaning-medical.js +0 -39
  409. package/bpk-component-icon/lg/cloakroom.js +0 -43
  410. package/bpk-component-icon/lg/close-circle.js +0 -39
  411. package/bpk-component-icon/lg/close.js +0 -39
  412. package/bpk-component-icon/lg/collapse.js +0 -39
  413. package/bpk-component-icon/lg/content--copy.js +0 -41
  414. package/bpk-component-icon/lg/content--event.js +0 -39
  415. package/bpk-component-icon/lg/content--guides.js +0 -39
  416. package/bpk-component-icon/lg/currency.js +0 -39
  417. package/bpk-component-icon/lg/data.js +0 -41
  418. package/bpk-component-icon/lg/deals.js +0 -39
  419. package/bpk-component-icon/lg/depart.js +0 -41
  420. package/bpk-component-icon/lg/device-mid.js +0 -39
  421. package/bpk-component-icon/lg/device-wide.js +0 -39
  422. package/bpk-component-icon/lg/direct.js +0 -39
  423. package/bpk-component-icon/lg/document-csv.js +0 -39
  424. package/bpk-component-icon/lg/document-pdf.js +0 -39
  425. package/bpk-component-icon/lg/download.js +0 -41
  426. package/bpk-component-icon/lg/duration.js +0 -39
  427. package/bpk-component-icon/lg/eco-leaf.js +0 -39
  428. package/bpk-component-icon/lg/edit.js +0 -39
  429. package/bpk-component-icon/lg/education.js +0 -41
  430. package/bpk-component-icon/lg/electric.js +0 -39
  431. package/bpk-component-icon/lg/end-call.js +0 -39
  432. package/bpk-component-icon/lg/estimated.js +0 -39
  433. package/bpk-component-icon/lg/exclamation-circle.js +0 -39
  434. package/bpk-component-icon/lg/exclamation.js +0 -39
  435. package/bpk-component-icon/lg/expand.js +0 -39
  436. package/bpk-component-icon/lg/explore.js +0 -39
  437. package/bpk-component-icon/lg/face--blank.js +0 -39
  438. package/bpk-component-icon/lg/face--happy.js +0 -39
  439. package/bpk-component-icon/lg/face--sad.js +0 -39
  440. package/bpk-component-icon/lg/face-id.js +0 -39
  441. package/bpk-component-icon/lg/face-mask.js +0 -39
  442. package/bpk-component-icon/lg/family.js +0 -39
  443. package/bpk-component-icon/lg/fast-track.js +0 -41
  444. package/bpk-component-icon/lg/fast-train.js +0 -41
  445. package/bpk-component-icon/lg/filter.js +0 -40
  446. package/bpk-component-icon/lg/fingerprint.js +0 -39
  447. package/bpk-component-icon/lg/flag.js +0 -39
  448. package/bpk-component-icon/lg/flask.js +0 -39
  449. package/bpk-component-icon/lg/flight-flexible.js +0 -39
  450. package/bpk-component-icon/lg/flight-landing.js +0 -43
  451. package/bpk-component-icon/lg/flight-takeoff.js +0 -41
  452. package/bpk-component-icon/lg/flight.js +0 -41
  453. package/bpk-component-icon/lg/food.js +0 -39
  454. package/bpk-component-icon/lg/gears-automatic-circle.js +0 -39
  455. package/bpk-component-icon/lg/gears-automatic.js +0 -39
  456. package/bpk-component-icon/lg/gears-manual-circle.js +0 -39
  457. package/bpk-component-icon/lg/gears-manual.js +0 -39
  458. package/bpk-component-icon/lg/globe.js +0 -39
  459. package/bpk-component-icon/lg/grid-layout.js +0 -39
  460. package/bpk-component-icon/lg/headset.js +0 -39
  461. package/bpk-component-icon/lg/health-fitness.js +0 -39
  462. package/bpk-component-icon/lg/heart--outline.js +0 -39
  463. package/bpk-component-icon/lg/heart.js +0 -39
  464. package/bpk-component-icon/lg/help-circle.js +0 -39
  465. package/bpk-component-icon/lg/help.js +0 -39
  466. package/bpk-component-icon/lg/hide.js +0 -39
  467. package/bpk-component-icon/lg/hotel-flexible.js +0 -39
  468. package/bpk-component-icon/lg/hotels--disabled-facilities.js +0 -39
  469. package/bpk-component-icon/lg/hotels--jacuzzi.js +0 -39
  470. package/bpk-component-icon/lg/hotels--pets-allowed.js +0 -39
  471. package/bpk-component-icon/lg/hotels--smoking.js +0 -39
  472. package/bpk-component-icon/lg/hotels.js +0 -39
  473. package/bpk-component-icon/lg/infant.js +0 -39
  474. package/bpk-component-icon/lg/information--language-alert.js +0 -39
  475. package/bpk-component-icon/lg/information--language-question.js +0 -39
  476. package/bpk-component-icon/lg/information--language.js +0 -39
  477. package/bpk-component-icon/lg/information-circle.js +0 -39
  478. package/bpk-component-icon/lg/information.js +0 -39
  479. package/bpk-component-icon/lg/insurance.js +0 -39
  480. package/bpk-component-icon/lg/key.js +0 -39
  481. package/bpk-component-icon/lg/keypad.js +0 -39
  482. package/bpk-component-icon/lg/landmark.js +0 -39
  483. package/bpk-component-icon/lg/language.js +0 -39
  484. package/bpk-component-icon/lg/legroom--extra.js +0 -41
  485. package/bpk-component-icon/lg/legroom--normal.js +0 -41
  486. package/bpk-component-icon/lg/legroom--reduced.js +0 -41
  487. package/bpk-component-icon/lg/leisure.js +0 -39
  488. package/bpk-component-icon/lg/lightning.js +0 -39
  489. package/bpk-component-icon/lg/list.js +0 -39
  490. package/bpk-component-icon/lg/location.js +0 -39
  491. package/bpk-component-icon/lg/lock.js +0 -39
  492. package/bpk-component-icon/lg/logout.js +0 -41
  493. package/bpk-component-icon/lg/long-arrow-down.js +0 -39
  494. package/bpk-component-icon/lg/long-arrow-left.js +0 -39
  495. package/bpk-component-icon/lg/long-arrow-right.js +0 -39
  496. package/bpk-component-icon/lg/long-arrow-up.js +0 -39
  497. package/bpk-component-icon/lg/lounge.js +0 -41
  498. package/bpk-component-icon/lg/luggageall.js +0 -39
  499. package/bpk-component-icon/lg/mail.js +0 -41
  500. package/bpk-component-icon/lg/map.js +0 -39
  501. package/bpk-component-icon/lg/meal.js +0 -39
  502. package/bpk-component-icon/lg/media.js +0 -39
  503. package/bpk-component-icon/lg/menu--horizontal.js +0 -39
  504. package/bpk-component-icon/lg/menu--vertical.js +0 -39
  505. package/bpk-component-icon/lg/menu.js +0 -39
  506. package/bpk-component-icon/lg/mileage.js +0 -41
  507. package/bpk-component-icon/lg/minus.js +0 -39
  508. package/bpk-component-icon/lg/mobile.js +0 -39
  509. package/bpk-component-icon/lg/money.js +0 -39
  510. package/bpk-component-icon/lg/multiple-bookings.js +0 -39
  511. package/bpk-component-icon/lg/music.js +0 -39
  512. package/bpk-component-icon/lg/mute.js +0 -39
  513. package/bpk-component-icon/lg/native-android--back.js +0 -39
  514. package/bpk-component-icon/lg/native-android--close.js +0 -39
  515. package/bpk-component-icon/lg/native-android--forward.js +0 -39
  516. package/bpk-component-icon/lg/native-ios-close.js +0 -39
  517. package/bpk-component-icon/lg/navigation.js +0 -39
  518. package/bpk-component-icon/lg/new-window.js +0 -41
  519. package/bpk-component-icon/lg/news.js +0 -39
  520. package/bpk-component-icon/lg/night.js +0 -39
  521. package/bpk-component-icon/lg/not-allowed.js +0 -39
  522. package/bpk-component-icon/lg/onsen.js +0 -39
  523. package/bpk-component-icon/lg/paid.js +0 -39
  524. package/bpk-component-icon/lg/paperclip.js +0 -39
  525. package/bpk-component-icon/lg/parking.js +0 -39
  526. package/bpk-component-icon/lg/passport.js +0 -39
  527. package/bpk-component-icon/lg/pause.js +0 -39
  528. package/bpk-component-icon/lg/payment-card.js +0 -39
  529. package/bpk-component-icon/lg/petrol.js +0 -39
  530. package/bpk-component-icon/lg/phone-call.js +0 -39
  531. package/bpk-component-icon/lg/picture.js +0 -39
  532. package/bpk-component-icon/lg/pin.js +0 -39
  533. package/bpk-component-icon/lg/plane-seat.js +0 -41
  534. package/bpk-component-icon/lg/play.js +0 -39
  535. package/bpk-component-icon/lg/plus.js +0 -39
  536. package/bpk-component-icon/lg/policy.js +0 -39
  537. package/bpk-component-icon/lg/powerplug.js +0 -39
  538. package/bpk-component-icon/lg/ppe.js +0 -39
  539. package/bpk-component-icon/lg/price-alerts.js +0 -39
  540. package/bpk-component-icon/lg/price-tag.js +0 -39
  541. package/bpk-component-icon/lg/print.js +0 -39
  542. package/bpk-component-icon/lg/recent-searches.js +0 -39
  543. package/bpk-component-icon/lg/redo.js +0 -39
  544. package/bpk-component-icon/lg/refresh.js +0 -39
  545. package/bpk-component-icon/lg/return.js +0 -41
  546. package/bpk-component-icon/lg/room.js +0 -39
  547. package/bpk-component-icon/lg/scales.js +0 -41
  548. package/bpk-component-icon/lg/search.js +0 -39
  549. package/bpk-component-icon/lg/self-service.js +0 -39
  550. package/bpk-component-icon/lg/send-message.js +0 -39
  551. package/bpk-component-icon/lg/services.js +0 -39
  552. package/bpk-component-icon/lg/settings.js +0 -39
  553. package/bpk-component-icon/lg/share--android.js +0 -39
  554. package/bpk-component-icon/lg/share--ios.js +0 -41
  555. package/bpk-component-icon/lg/share.js +0 -39
  556. package/bpk-component-icon/lg/single-booking.js +0 -39
  557. package/bpk-component-icon/lg/social-distancing.js +0 -41
  558. package/bpk-component-icon/lg/social-like.js +0 -39
  559. package/bpk-component-icon/lg/sort-down.js +0 -39
  560. package/bpk-component-icon/lg/sort-up.js +0 -39
  561. package/bpk-component-icon/lg/sort.js +0 -39
  562. package/bpk-component-icon/lg/speaker.js +0 -41
  563. package/bpk-component-icon/lg/star-half.js +0 -39
  564. package/bpk-component-icon/lg/star-outline.js +0 -39
  565. package/bpk-component-icon/lg/star.js +0 -39
  566. package/bpk-component-icon/lg/stops.js +0 -39
  567. package/bpk-component-icon/lg/swap--horizontal.js +0 -39
  568. package/bpk-component-icon/lg/swap--vertical.js +0 -39
  569. package/bpk-component-icon/lg/swap.js +0 -39
  570. package/bpk-component-icon/lg/taxi.js +0 -41
  571. package/bpk-component-icon/lg/thumbs-down.js +0 -39
  572. package/bpk-component-icon/lg/thumbs-up.js +0 -39
  573. package/bpk-component-icon/lg/tick-circle.js +0 -39
  574. package/bpk-component-icon/lg/tick.js +0 -39
  575. package/bpk-component-icon/lg/ticket-flexible.js +0 -39
  576. package/bpk-component-icon/lg/ticket.js +0 -39
  577. package/bpk-component-icon/lg/time.js +0 -39
  578. package/bpk-component-icon/lg/toilets.js +0 -39
  579. package/bpk-component-icon/lg/train.js +0 -39
  580. package/bpk-component-icon/lg/transmission-automatic.js +0 -39
  581. package/bpk-component-icon/lg/transmission-manual.js +0 -39
  582. package/bpk-component-icon/lg/trash.js +0 -39
  583. package/bpk-component-icon/lg/trend--down.js +0 -39
  584. package/bpk-component-icon/lg/trend--steady.js +0 -39
  585. package/bpk-component-icon/lg/trend--will-rise.js +0 -39
  586. package/bpk-component-icon/lg/trend.js +0 -39
  587. package/bpk-component-icon/lg/trips.js +0 -39
  588. package/bpk-component-icon/lg/undo.js +0 -39
  589. package/bpk-component-icon/lg/unlock.js +0 -39
  590. package/bpk-component-icon/lg/unmute.js +0 -41
  591. package/bpk-component-icon/lg/upgrade.js +0 -39
  592. package/bpk-component-icon/lg/use-location.js +0 -39
  593. package/bpk-component-icon/lg/view.js +0 -39
  594. package/bpk-component-icon/lg/virus.js +0 -39
  595. package/bpk-component-icon/lg/wallet.js +0 -41
  596. package/bpk-component-icon/lg/weather--clear.js +0 -39
  597. package/bpk-component-icon/lg/weather--cloudy.js +0 -41
  598. package/bpk-component-icon/lg/weather--fog.js +0 -39
  599. package/bpk-component-icon/lg/weather--partly-cloudy.js +0 -41
  600. package/bpk-component-icon/lg/weather--rain.js +0 -43
  601. package/bpk-component-icon/lg/weather--snow.js +0 -39
  602. package/bpk-component-icon/lg/weather--thunderstorm.js +0 -43
  603. package/bpk-component-icon/lg/weather--tornado.js +0 -39
  604. package/bpk-component-icon/lg/weather--wind.js +0 -39
  605. package/bpk-component-icon/lg/weather.js +0 -39
  606. package/bpk-component-icon/lg/wifi.js +0 -39
  607. package/bpk-component-icon/lg/window--reduce.js +0 -41
  608. package/bpk-component-icon/lg/window.js +0 -39
  609. package/bpk-component-icon/lg/world--amer.js +0 -39
  610. package/bpk-component-icon/lg/world--apac.js +0 -39
  611. package/bpk-component-icon/lg/world--emea.js +0 -41
  612. package/bpk-component-icon/sm/accessibility.js +0 -40
  613. package/bpk-component-icon/sm/account--add.js +0 -40
  614. package/bpk-component-icon/sm/account--female.js +0 -40
  615. package/bpk-component-icon/sm/account--id-card.js +0 -40
  616. package/bpk-component-icon/sm/account--name.js +0 -40
  617. package/bpk-component-icon/sm/account--permit.js +0 -40
  618. package/bpk-component-icon/sm/account-circle.js +0 -40
  619. package/bpk-component-icon/sm/account.js +0 -40
  620. package/bpk-component-icon/sm/add-circle.js +0 -40
  621. package/bpk-component-icon/sm/adult.js +0 -40
  622. package/bpk-component-icon/sm/aircon.js +0 -40
  623. package/bpk-component-icon/sm/aircraft.js +0 -42
  624. package/bpk-component-icon/sm/airline--multiple.js +0 -40
  625. package/bpk-component-icon/sm/airline.js +0 -40
  626. package/bpk-component-icon/sm/airports.js +0 -40
  627. package/bpk-component-icon/sm/alert--active.js +0 -40
  628. package/bpk-component-icon/sm/alert--add.js +0 -40
  629. package/bpk-component-icon/sm/alert--expired.js +0 -40
  630. package/bpk-component-icon/sm/alert--remove.js +0 -40
  631. package/bpk-component-icon/sm/arrow-down.js +0 -40
  632. package/bpk-component-icon/sm/arrow-left.js +0 -40
  633. package/bpk-component-icon/sm/arrow-right.js +0 -40
  634. package/bpk-component-icon/sm/arrow-up.js +0 -40
  635. package/bpk-component-icon/sm/award.js +0 -40
  636. package/bpk-component-icon/sm/baby-carriage.js +0 -40
  637. package/bpk-component-icon/sm/baggage--add.js +0 -40
  638. package/bpk-component-icon/sm/baggage--remove.js +0 -40
  639. package/bpk-component-icon/sm/baggage-cross.js +0 -40
  640. package/bpk-component-icon/sm/baggage-tick.js +0 -40
  641. package/bpk-component-icon/sm/baggage.js +0 -40
  642. package/bpk-component-icon/sm/bar.js +0 -40
  643. package/bpk-component-icon/sm/beach.js +0 -42
  644. package/bpk-component-icon/sm/beer.js +0 -40
  645. package/bpk-component-icon/sm/breakfast-cross.js +0 -40
  646. package/bpk-component-icon/sm/breakfast-tick.js +0 -40
  647. package/bpk-component-icon/sm/bus.js +0 -42
  648. package/bpk-component-icon/sm/business.js +0 -40
  649. package/bpk-component-icon/sm/cafe.js +0 -40
  650. package/bpk-component-icon/sm/calendar.js +0 -40
  651. package/bpk-component-icon/sm/call-back.js +0 -42
  652. package/bpk-component-icon/sm/camera.js +0 -40
  653. package/bpk-component-icon/sm/camper-van.js +0 -42
  654. package/bpk-component-icon/sm/car-door.js +0 -40
  655. package/bpk-component-icon/sm/car-wash.js +0 -42
  656. package/bpk-component-icon/sm/cars-flexible.js +0 -40
  657. package/bpk-component-icon/sm/cars.js +0 -42
  658. package/bpk-component-icon/sm/chart.js +0 -40
  659. package/bpk-component-icon/sm/chauffeur.js +0 -42
  660. package/bpk-component-icon/sm/chevron-down.js +0 -40
  661. package/bpk-component-icon/sm/chevron-left.js +0 -40
  662. package/bpk-component-icon/sm/chevron-right.js +0 -40
  663. package/bpk-component-icon/sm/chevron-up.js +0 -40
  664. package/bpk-component-icon/sm/child-seat.js +0 -40
  665. package/bpk-component-icon/sm/child.js +0 -40
  666. package/bpk-component-icon/sm/city-center.js +0 -40
  667. package/bpk-component-icon/sm/city.js +0 -40
  668. package/bpk-component-icon/sm/clean-policy.js +0 -40
  669. package/bpk-component-icon/sm/clean.js +0 -42
  670. package/bpk-component-icon/sm/cleaning-medical.js +0 -40
  671. package/bpk-component-icon/sm/cloakroom.js +0 -40
  672. package/bpk-component-icon/sm/close-circle.js +0 -40
  673. package/bpk-component-icon/sm/close.js +0 -40
  674. package/bpk-component-icon/sm/collapse.js +0 -40
  675. package/bpk-component-icon/sm/content--copy.js +0 -42
  676. package/bpk-component-icon/sm/content--event.js +0 -40
  677. package/bpk-component-icon/sm/content--guides.js +0 -40
  678. package/bpk-component-icon/sm/currency.js +0 -40
  679. package/bpk-component-icon/sm/data.js +0 -42
  680. package/bpk-component-icon/sm/deals.js +0 -40
  681. package/bpk-component-icon/sm/depart.js +0 -44
  682. package/bpk-component-icon/sm/device-mid.js +0 -40
  683. package/bpk-component-icon/sm/device-wide.js +0 -40
  684. package/bpk-component-icon/sm/direct.js +0 -42
  685. package/bpk-component-icon/sm/document-csv.js +0 -40
  686. package/bpk-component-icon/sm/document-pdf.js +0 -40
  687. package/bpk-component-icon/sm/download.js +0 -42
  688. package/bpk-component-icon/sm/duration.js +0 -40
  689. package/bpk-component-icon/sm/eco-leaf.js +0 -40
  690. package/bpk-component-icon/sm/edit.js +0 -40
  691. package/bpk-component-icon/sm/education.js +0 -42
  692. package/bpk-component-icon/sm/electric.js +0 -40
  693. package/bpk-component-icon/sm/end-call.js +0 -40
  694. package/bpk-component-icon/sm/estimated.js +0 -40
  695. package/bpk-component-icon/sm/exclamation-circle.js +0 -40
  696. package/bpk-component-icon/sm/exclamation.js +0 -40
  697. package/bpk-component-icon/sm/expand.js +0 -40
  698. package/bpk-component-icon/sm/explore.js +0 -40
  699. package/bpk-component-icon/sm/face--blank.js +0 -40
  700. package/bpk-component-icon/sm/face--happy.js +0 -40
  701. package/bpk-component-icon/sm/face--sad.js +0 -40
  702. package/bpk-component-icon/sm/face-mask.js +0 -40
  703. package/bpk-component-icon/sm/family.js +0 -40
  704. package/bpk-component-icon/sm/fast-track.js +0 -42
  705. package/bpk-component-icon/sm/fast-train.js +0 -42
  706. package/bpk-component-icon/sm/filter.js +0 -41
  707. package/bpk-component-icon/sm/flag.js +0 -40
  708. package/bpk-component-icon/sm/flask.js +0 -40
  709. package/bpk-component-icon/sm/flight-flexible.js +0 -40
  710. package/bpk-component-icon/sm/flight-landing.js +0 -44
  711. package/bpk-component-icon/sm/flight-takeoff.js +0 -42
  712. package/bpk-component-icon/sm/flight.js +0 -42
  713. package/bpk-component-icon/sm/food.js +0 -40
  714. package/bpk-component-icon/sm/gears-automatic-circle.js +0 -40
  715. package/bpk-component-icon/sm/gears-automatic.js +0 -40
  716. package/bpk-component-icon/sm/gears-manual-circle.js +0 -40
  717. package/bpk-component-icon/sm/gears-manual.js +0 -40
  718. package/bpk-component-icon/sm/globe.js +0 -40
  719. package/bpk-component-icon/sm/grid-layout.js +0 -40
  720. package/bpk-component-icon/sm/headset.js +0 -40
  721. package/bpk-component-icon/sm/health-fitness.js +0 -40
  722. package/bpk-component-icon/sm/heart--outline.js +0 -40
  723. package/bpk-component-icon/sm/heart.js +0 -40
  724. package/bpk-component-icon/sm/help-circle.js +0 -40
  725. package/bpk-component-icon/sm/help.js +0 -40
  726. package/bpk-component-icon/sm/hide.js +0 -40
  727. package/bpk-component-icon/sm/hotel-flexible.js +0 -40
  728. package/bpk-component-icon/sm/hotels--disabled-facilities.js +0 -40
  729. package/bpk-component-icon/sm/hotels--jacuzzi.js +0 -42
  730. package/bpk-component-icon/sm/hotels--pets-allowed.js +0 -40
  731. package/bpk-component-icon/sm/hotels--smoking.js +0 -40
  732. package/bpk-component-icon/sm/hotels.js +0 -40
  733. package/bpk-component-icon/sm/infant.js +0 -42
  734. package/bpk-component-icon/sm/information--language-alert.js +0 -40
  735. package/bpk-component-icon/sm/information--language-question.js +0 -40
  736. package/bpk-component-icon/sm/information--language.js +0 -40
  737. package/bpk-component-icon/sm/information-circle.js +0 -40
  738. package/bpk-component-icon/sm/information.js +0 -40
  739. package/bpk-component-icon/sm/insurance.js +0 -40
  740. package/bpk-component-icon/sm/key.js +0 -40
  741. package/bpk-component-icon/sm/keypad.js +0 -40
  742. package/bpk-component-icon/sm/landmark.js +0 -40
  743. package/bpk-component-icon/sm/language.js +0 -40
  744. package/bpk-component-icon/sm/legroom--extra.js +0 -42
  745. package/bpk-component-icon/sm/legroom--normal.js +0 -42
  746. package/bpk-component-icon/sm/legroom--reduced.js +0 -42
  747. package/bpk-component-icon/sm/leisure.js +0 -40
  748. package/bpk-component-icon/sm/lightning.js +0 -40
  749. package/bpk-component-icon/sm/list.js +0 -40
  750. package/bpk-component-icon/sm/location.js +0 -40
  751. package/bpk-component-icon/sm/lock.js +0 -40
  752. package/bpk-component-icon/sm/logout.js +0 -42
  753. package/bpk-component-icon/sm/long-arrow-down.js +0 -41
  754. package/bpk-component-icon/sm/long-arrow-left.js +0 -41
  755. package/bpk-component-icon/sm/long-arrow-right.js +0 -41
  756. package/bpk-component-icon/sm/long-arrow-up.js +0 -41
  757. package/bpk-component-icon/sm/lounge.js +0 -40
  758. package/bpk-component-icon/sm/luggageall.js +0 -40
  759. package/bpk-component-icon/sm/mail.js +0 -42
  760. package/bpk-component-icon/sm/map.js +0 -40
  761. package/bpk-component-icon/sm/meal.js +0 -40
  762. package/bpk-component-icon/sm/media.js +0 -40
  763. package/bpk-component-icon/sm/menu--horizontal.js +0 -40
  764. package/bpk-component-icon/sm/menu--vertical.js +0 -40
  765. package/bpk-component-icon/sm/menu.js +0 -40
  766. package/bpk-component-icon/sm/mileage.js +0 -42
  767. package/bpk-component-icon/sm/minus.js +0 -40
  768. package/bpk-component-icon/sm/mobile.js +0 -40
  769. package/bpk-component-icon/sm/money.js +0 -40
  770. package/bpk-component-icon/sm/multiple-bookings.js +0 -40
  771. package/bpk-component-icon/sm/music.js +0 -40
  772. package/bpk-component-icon/sm/mute.js +0 -40
  773. package/bpk-component-icon/sm/native-android--back.js +0 -40
  774. package/bpk-component-icon/sm/native-android--close.js +0 -40
  775. package/bpk-component-icon/sm/native-android--forward.js +0 -40
  776. package/bpk-component-icon/sm/native-ios-close.js +0 -40
  777. package/bpk-component-icon/sm/navigation.js +0 -40
  778. package/bpk-component-icon/sm/new-window.js +0 -46
  779. package/bpk-component-icon/sm/news.js +0 -40
  780. package/bpk-component-icon/sm/night.js +0 -40
  781. package/bpk-component-icon/sm/not-allowed.js +0 -40
  782. package/bpk-component-icon/sm/onsen.js +0 -42
  783. package/bpk-component-icon/sm/paid.js +0 -40
  784. package/bpk-component-icon/sm/paperclip.js +0 -40
  785. package/bpk-component-icon/sm/parking.js +0 -40
  786. package/bpk-component-icon/sm/passport.js +0 -40
  787. package/bpk-component-icon/sm/pause.js +0 -40
  788. package/bpk-component-icon/sm/payment-card.js +0 -40
  789. package/bpk-component-icon/sm/petrol.js +0 -40
  790. package/bpk-component-icon/sm/phone-call.js +0 -40
  791. package/bpk-component-icon/sm/picture.js +0 -40
  792. package/bpk-component-icon/sm/pin.js +0 -40
  793. package/bpk-component-icon/sm/plane-seat.js +0 -42
  794. package/bpk-component-icon/sm/play.js +0 -40
  795. package/bpk-component-icon/sm/plus.js +0 -40
  796. package/bpk-component-icon/sm/policy.js +0 -40
  797. package/bpk-component-icon/sm/powerplug.js +0 -40
  798. package/bpk-component-icon/sm/ppe.js +0 -40
  799. package/bpk-component-icon/sm/price-alerts.js +0 -40
  800. package/bpk-component-icon/sm/price-tag.js +0 -40
  801. package/bpk-component-icon/sm/print.js +0 -40
  802. package/bpk-component-icon/sm/recent-searches.js +0 -40
  803. package/bpk-component-icon/sm/redo.js +0 -40
  804. package/bpk-component-icon/sm/refresh.js +0 -40
  805. package/bpk-component-icon/sm/return.js +0 -44
  806. package/bpk-component-icon/sm/room.js +0 -40
  807. package/bpk-component-icon/sm/scales.js +0 -40
  808. package/bpk-component-icon/sm/search.js +0 -40
  809. package/bpk-component-icon/sm/self-service.js +0 -40
  810. package/bpk-component-icon/sm/send-message.js +0 -40
  811. package/bpk-component-icon/sm/services.js +0 -40
  812. package/bpk-component-icon/sm/settings.js +0 -40
  813. package/bpk-component-icon/sm/share--android.js +0 -40
  814. package/bpk-component-icon/sm/share--ios.js +0 -44
  815. package/bpk-component-icon/sm/share.js +0 -40
  816. package/bpk-component-icon/sm/single-booking.js +0 -40
  817. package/bpk-component-icon/sm/social-distancing.js +0 -42
  818. package/bpk-component-icon/sm/social-like.js +0 -40
  819. package/bpk-component-icon/sm/sort-down.js +0 -40
  820. package/bpk-component-icon/sm/sort-up.js +0 -40
  821. package/bpk-component-icon/sm/sort.js +0 -40
  822. package/bpk-component-icon/sm/speaker.js +0 -40
  823. package/bpk-component-icon/sm/star-half.js +0 -40
  824. package/bpk-component-icon/sm/star-outline.js +0 -40
  825. package/bpk-component-icon/sm/star.js +0 -40
  826. package/bpk-component-icon/sm/stops.js +0 -40
  827. package/bpk-component-icon/sm/swap--horizontal.js +0 -41
  828. package/bpk-component-icon/sm/swap--vertical.js +0 -40
  829. package/bpk-component-icon/sm/swap.js +0 -41
  830. package/bpk-component-icon/sm/taxi.js +0 -42
  831. package/bpk-component-icon/sm/thumbs-down.js +0 -40
  832. package/bpk-component-icon/sm/thumbs-up.js +0 -40
  833. package/bpk-component-icon/sm/tick-circle.js +0 -40
  834. package/bpk-component-icon/sm/tick.js +0 -40
  835. package/bpk-component-icon/sm/ticket-flexible.js +0 -40
  836. package/bpk-component-icon/sm/ticket.js +0 -40
  837. package/bpk-component-icon/sm/time.js +0 -40
  838. package/bpk-component-icon/sm/toilets.js +0 -40
  839. package/bpk-component-icon/sm/train.js +0 -40
  840. package/bpk-component-icon/sm/transmission-automatic.js +0 -40
  841. package/bpk-component-icon/sm/transmission-manual.js +0 -40
  842. package/bpk-component-icon/sm/trash.js +0 -40
  843. package/bpk-component-icon/sm/trend--down.js +0 -40
  844. package/bpk-component-icon/sm/trend--steady.js +0 -41
  845. package/bpk-component-icon/sm/trend--will-rise.js +0 -40
  846. package/bpk-component-icon/sm/trend.js +0 -40
  847. package/bpk-component-icon/sm/trips.js +0 -40
  848. package/bpk-component-icon/sm/undo.js +0 -40
  849. package/bpk-component-icon/sm/unlock.js +0 -40
  850. package/bpk-component-icon/sm/unmute.js +0 -42
  851. package/bpk-component-icon/sm/upgrade.js +0 -40
  852. package/bpk-component-icon/sm/use-location.js +0 -40
  853. package/bpk-component-icon/sm/view.js +0 -40
  854. package/bpk-component-icon/sm/virus.js +0 -40
  855. package/bpk-component-icon/sm/wallet.js +0 -40
  856. package/bpk-component-icon/sm/weather--clear.js +0 -40
  857. package/bpk-component-icon/sm/weather--cloudy.js +0 -42
  858. package/bpk-component-icon/sm/weather--fog.js +0 -40
  859. package/bpk-component-icon/sm/weather--partly-cloudy.js +0 -40
  860. package/bpk-component-icon/sm/weather--rain.js +0 -42
  861. package/bpk-component-icon/sm/weather--snow.js +0 -40
  862. package/bpk-component-icon/sm/weather--thunderstorm.js +0 -44
  863. package/bpk-component-icon/sm/weather--tornado.js +0 -40
  864. package/bpk-component-icon/sm/weather--wind.js +0 -42
  865. package/bpk-component-icon/sm/weather.js +0 -40
  866. package/bpk-component-icon/sm/wifi.js +0 -40
  867. package/bpk-component-icon/sm/window--reduce.js +0 -42
  868. package/bpk-component-icon/sm/window.js +0 -40
  869. package/bpk-component-icon/sm/world--amer.js +0 -40
  870. package/bpk-component-icon/sm/world--apac.js +0 -40
  871. package/bpk-component-icon/sm/world--emea.js +0 -40
  872. package/bpk-component-icon/src/BpkIcon.css +0 -18
  873. package/bpk-component-icon/src/classNameModifierHOCFactory-test.js +0 -88
  874. package/bpk-component-icon/src/classNameModifierHOCFactory.js +0 -53
  875. package/bpk-component-icon/src/withAlignment-test.js +0 -69
  876. package/bpk-component-icon/src/withAlignment.js +0 -48
  877. package/bpk-component-icon/src/withDescription-test.js +0 -39
  878. package/bpk-component-icon/src/withDescription.css +0 -18
  879. package/bpk-component-icon/src/withDescription.js +0 -42
  880. package/bpk-component-icon/src/withRtlSupport.js +0 -37
  881. package/bpk-component-image/index.js +0 -62
  882. package/bpk-component-image/src/BpkBackgroundImage-test.js +0 -148
  883. package/bpk-component-image/src/BpkBackgroundImage.css +0 -18
  884. package/bpk-component-image/src/BpkBackgroundImage.js +0 -171
  885. package/bpk-component-image/src/BpkImage-test.js +0 -167
  886. package/bpk-component-image/src/BpkImage.css +0 -18
  887. package/bpk-component-image/src/BpkImage.js +0 -228
  888. package/bpk-component-image/src/BpkImageBorderRadiusStyles.js +0 -30
  889. package/bpk-component-image/src/accessibility-test.js +0 -68
  890. package/bpk-component-image/src/customPropTypes-test.js +0 -54
  891. package/bpk-component-image/src/customPropTypes.js +0 -37
  892. package/bpk-component-image/src/withLazyLoading-test.js +0 -92
  893. package/bpk-component-image/src/withLazyLoading.js +0 -164
  894. package/bpk-component-image/src/withLoadingBehavior.js +0 -45
  895. package/bpk-component-infinite-scroll/index.js +0 -48
  896. package/bpk-component-infinite-scroll/src/DataSource-test.js +0 -93
  897. package/bpk-component-infinite-scroll/src/DataSource.js +0 -104
  898. package/bpk-component-infinite-scroll/src/accessibility-test.js +0 -60
  899. package/bpk-component-infinite-scroll/src/intersection-observer.js +0 -33
  900. package/bpk-component-infinite-scroll/src/withInfiniteScroll-test.flow.js +0 -92
  901. package/bpk-component-infinite-scroll/src/withInfiniteScroll-test.js +0 -373
  902. package/bpk-component-infinite-scroll/src/withInfiniteScroll.css +0 -18
  903. package/bpk-component-infinite-scroll/src/withInfiniteScroll.js +0 -271
  904. package/bpk-component-input/index.js +0 -67
  905. package/bpk-component-input/src/BpkClearButton-test.js +0 -48
  906. package/bpk-component-input/src/BpkClearButton.css +0 -18
  907. package/bpk-component-input/src/BpkClearButton.js +0 -73
  908. package/bpk-component-input/src/BpkInput-test.js +0 -270
  909. package/bpk-component-input/src/BpkInput.css +0 -18
  910. package/bpk-component-input/src/BpkInput.js +0 -174
  911. package/bpk-component-input/src/accessibility-test.js +0 -45
  912. package/bpk-component-input/src/common-types-test.js +0 -100
  913. package/bpk-component-input/src/common-types.js +0 -102
  914. package/bpk-component-input/src/themeAttributes-test.js +0 -28
  915. package/bpk-component-input/src/themeAttributes.js +0 -26
  916. package/bpk-component-input/src/withOpenEvents-test.js +0 -161
  917. package/bpk-component-input/src/withOpenEvents.js +0 -168
  918. package/bpk-component-label/index.js +0 -30
  919. package/bpk-component-label/src/BpkLabel-test.js +0 -85
  920. package/bpk-component-label/src/BpkLabel.css +0 -18
  921. package/bpk-component-label/src/BpkLabel.js +0 -85
  922. package/bpk-component-label/src/accessibility-test.js +0 -38
  923. package/bpk-component-link/index.js +0 -56
  924. package/bpk-component-link/src/BpkButtonLink-test.js +0 -82
  925. package/bpk-component-link/src/BpkButtonLink.js +0 -82
  926. package/bpk-component-link/src/BpkLink-test.js +0 -111
  927. package/bpk-component-link/src/BpkLink.css +0 -18
  928. package/bpk-component-link/src/BpkLink.js +0 -105
  929. package/bpk-component-link/src/accessibility-test.js +0 -53
  930. package/bpk-component-link/src/themeAttributes.js +0 -28
  931. package/bpk-component-list/index.js +0 -23
  932. package/bpk-component-list/src/BpkList-test.js +0 -51
  933. package/bpk-component-list/src/BpkList.css +0 -18
  934. package/bpk-component-list/src/BpkList.js +0 -60
  935. package/bpk-component-list/src/BpkListItem-test.js +0 -43
  936. package/bpk-component-list/src/BpkListItem.js +0 -56
  937. package/bpk-component-list/src/accessibility-test.js +0 -40
  938. package/bpk-component-loading-button/index.js +0 -38
  939. package/bpk-component-loading-button/src/BpkLoadingButton-test.js +0 -317
  940. package/bpk-component-loading-button/src/BpkLoadingButton.css +0 -18
  941. package/bpk-component-loading-button/src/BpkLoadingButton.js +0 -147
  942. package/bpk-component-loading-button/src/accessibility-test.js +0 -38
  943. package/bpk-component-map/index.js +0 -86
  944. package/bpk-component-map/src/BpkBasicMapMarker-test.js +0 -46
  945. package/bpk-component-map/src/BpkBasicMapMarker.js +0 -53
  946. package/bpk-component-map/src/BpkIconMarker-test.js +0 -103
  947. package/bpk-component-map/src/BpkIconMarker.css +0 -18
  948. package/bpk-component-map/src/BpkIconMarker.js +0 -86
  949. package/bpk-component-map/src/BpkIconMarkerBackground-test.js +0 -59
  950. package/bpk-component-map/src/BpkIconMarkerBackground.css +0 -18
  951. package/bpk-component-map/src/BpkIconMarkerBackground.js +0 -73
  952. package/bpk-component-map/src/BpkMap.css +0 -18
  953. package/bpk-component-map/src/BpkMap.js +0 -170
  954. package/bpk-component-map/src/BpkOverlayView.js +0 -51
  955. package/bpk-component-map/src/BpkPriceMarker-test.js +0 -125
  956. package/bpk-component-map/src/BpkPriceMarker.css +0 -18
  957. package/bpk-component-map/src/BpkPriceMarker.js +0 -99
  958. package/bpk-component-map/src/DefaultLoadingElement.css +0 -18
  959. package/bpk-component-map/src/DefaultLoadingElement.js +0 -44
  960. package/bpk-component-map/src/common-types.js +0 -34
  961. package/bpk-component-map/src/themeAttributes-test.js +0 -29
  962. package/bpk-component-map/src/themeAttributes.js +0 -33
  963. package/bpk-component-map/src/withGoogleMapsScript.js +0 -74
  964. package/bpk-component-mobile-scroll-container/index.js +0 -30
  965. package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer-test.js +0 -133
  966. package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.css +0 -18
  967. package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.js +0 -221
  968. package/bpk-component-mobile-scroll-container/src/accessibility-test.js +0 -38
  969. package/bpk-component-modal/index.js +0 -54
  970. package/bpk-component-modal/src/BpkModal-test.js +0 -47
  971. package/bpk-component-modal/src/BpkModal.css +0 -18
  972. package/bpk-component-modal/src/BpkModal.js +0 -107
  973. package/bpk-component-modal/src/BpkModalInner-test.js +0 -173
  974. package/bpk-component-modal/src/BpkModalInner.css +0 -18
  975. package/bpk-component-modal/src/BpkModalInner.js +0 -136
  976. package/bpk-component-modal/src/accessibility-test.js +0 -49
  977. package/bpk-component-modal/src/customPropTypes-test.js +0 -63
  978. package/bpk-component-modal/src/customPropTypes.js +0 -47
  979. package/bpk-component-modal/src/themeAttributes-test.js +0 -28
  980. package/bpk-component-modal/src/themeAttributes.js +0 -28
  981. package/bpk-component-navigation-bar/index.js +0 -54
  982. package/bpk-component-navigation-bar/src/BpkNavigationBar-test.js +0 -112
  983. package/bpk-component-navigation-bar/src/BpkNavigationBar.css +0 -18
  984. package/bpk-component-navigation-bar/src/BpkNavigationBar.js +0 -89
  985. package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink-test.js +0 -38
  986. package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.css +0 -18
  987. package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.js +0 -55
  988. package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton-test.js +0 -42
  989. package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.css +0 -18
  990. package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.js +0 -57
  991. package/bpk-component-navigation-bar/src/accessibility-test.js +0 -41
  992. package/bpk-component-navigation-bar/src/themeAttributes.js +0 -26
  993. package/bpk-component-navigation-stack/index.js +0 -38
  994. package/bpk-component-navigation-stack/src/BpkNavigationStack-test.js +0 -66
  995. package/bpk-component-navigation-stack/src/BpkNavigationStack.css +0 -18
  996. package/bpk-component-navigation-stack/src/BpkNavigationStack.js +0 -118
  997. package/bpk-component-navigation-stack/src/accessibility-test.js +0 -40
  998. package/bpk-component-navigation-stack/src/withNavigationStackState-test.js +0 -109
  999. package/bpk-component-navigation-stack/src/withNavigationStackState.js +0 -91
  1000. package/bpk-component-nudger/index.js +0 -46
  1001. package/bpk-component-nudger/src/BpkConfigurableNudger.js +0 -118
  1002. package/bpk-component-nudger/src/BpkNudger-test.js +0 -197
  1003. package/bpk-component-nudger/src/BpkNudger.css +0 -18
  1004. package/bpk-component-nudger/src/BpkNudger.js +0 -63
  1005. package/bpk-component-nudger/src/accessibility-test.js +0 -55
  1006. package/bpk-component-nudger/src/common-types.js +0 -42
  1007. package/bpk-component-nudger/src/themeAttributes-test.js +0 -28
  1008. package/bpk-component-nudger/src/themeAttributes.js +0 -28
  1009. package/bpk-component-overlay/index.js +0 -44
  1010. package/bpk-component-overlay/src/BpkOverlay-test.js +0 -79
  1011. package/bpk-component-overlay/src/BpkOverlay.css +0 -18
  1012. package/bpk-component-overlay/src/BpkOverlay.js +0 -75
  1013. package/bpk-component-overlay/src/accessibility-test.js +0 -38
  1014. package/bpk-component-pagination/index.js +0 -38
  1015. package/bpk-component-pagination/src/BpkPagination-test.js +0 -139
  1016. package/bpk-component-pagination/src/BpkPagination.css +0 -18
  1017. package/bpk-component-pagination/src/BpkPagination.js +0 -99
  1018. package/bpk-component-pagination/src/BpkPaginationBreak-test.js +0 -43
  1019. package/bpk-component-pagination/src/BpkPaginationBreak.js +0 -45
  1020. package/bpk-component-pagination/src/BpkPaginationList-test.js +0 -68
  1021. package/bpk-component-pagination/src/BpkPaginationList.css +0 -18
  1022. package/bpk-component-pagination/src/BpkPaginationList.js +0 -95
  1023. package/bpk-component-pagination/src/BpkPaginationNudger-test.js +0 -49
  1024. package/bpk-component-pagination/src/BpkPaginationNudger.css +0 -18
  1025. package/bpk-component-pagination/src/BpkPaginationNudger.js +0 -81
  1026. package/bpk-component-pagination/src/BpkPaginationPage.css +0 -18
  1027. package/bpk-component-pagination/src/BpkPaginationPage.js +0 -71
  1028. package/bpk-component-pagination/src/accessibility-test.js +0 -45
  1029. package/bpk-component-pagination/src/themeAttributes-test.js +0 -28
  1030. package/bpk-component-pagination/src/themeAttributes.js +0 -28
  1031. package/bpk-component-panel/index.js +0 -30
  1032. package/bpk-component-panel/src/BpkPanel-test.js +0 -59
  1033. package/bpk-component-panel/src/BpkPanel.css +0 -18
  1034. package/bpk-component-panel/src/BpkPanel.js +0 -68
  1035. package/bpk-component-panel/src/accessibility-test.js +0 -38
  1036. package/bpk-component-phone-input/index.js +0 -30
  1037. package/bpk-component-phone-input/src/BpkPhoneInput-test.js +0 -148
  1038. package/bpk-component-phone-input/src/BpkPhoneInput.css +0 -18
  1039. package/bpk-component-phone-input/src/BpkPhoneInput.js +0 -187
  1040. package/bpk-component-phone-input/src/accessibility-test.js +0 -66
  1041. package/bpk-component-popover/index.js +0 -54
  1042. package/bpk-component-popover/src/BpkPopover-test.js +0 -150
  1043. package/bpk-component-popover/src/BpkPopover.css +0 -18
  1044. package/bpk-component-popover/src/BpkPopover.js +0 -151
  1045. package/bpk-component-popover/src/BpkPopoverPortal-test.js +0 -224
  1046. package/bpk-component-popover/src/BpkPopoverPortal.js +0 -236
  1047. package/bpk-component-popover/src/accessibility-test.js +0 -61
  1048. package/bpk-component-popover/src/constants.js +0 -30
  1049. package/bpk-component-popover/src/keyboardFocusScope.js +0 -97
  1050. package/bpk-component-popover/src/themeAttributes-test.js +0 -28
  1051. package/bpk-component-popover/src/themeAttributes.js +0 -28
  1052. package/bpk-component-price/index.js +0 -44
  1053. package/bpk-component-price/src/BpkPrice-test.js +0 -65
  1054. package/bpk-component-price/src/BpkPrice.css +0 -18
  1055. package/bpk-component-price/src/BpkPrice.js +0 -85
  1056. package/bpk-component-price/src/accessibility-test.js +0 -42
  1057. package/bpk-component-price/src/common-types.js +0 -34
  1058. package/bpk-component-progress/index.js +0 -38
  1059. package/bpk-component-progress/src/BpkProgress-test.js +0 -139
  1060. package/bpk-component-progress/src/BpkProgress.css +0 -18
  1061. package/bpk-component-progress/src/BpkProgress.js +0 -173
  1062. package/bpk-component-progress/src/accessibility-test.js +0 -47
  1063. package/bpk-component-progress/src/themeAttributes-test.js +0 -28
  1064. package/bpk-component-progress/src/themeAttributes.js +0 -26
  1065. package/bpk-component-radio/index.js +0 -38
  1066. package/bpk-component-radio/src/BpkRadio-test.js +0 -120
  1067. package/bpk-component-radio/src/BpkRadio.css +0 -18
  1068. package/bpk-component-radio/src/BpkRadio.js +0 -77
  1069. package/bpk-component-radio/src/accessibility-test.js +0 -41
  1070. package/bpk-component-radio/src/themeAttributes-test.js +0 -28
  1071. package/bpk-component-radio/src/themeAttributes.js +0 -26
  1072. package/bpk-component-rating/index.js +0 -44
  1073. package/bpk-component-rating/src/BpkRating-test.js +0 -219
  1074. package/bpk-component-rating/src/BpkRating.css +0 -18
  1075. package/bpk-component-rating/src/BpkRating.js +0 -147
  1076. package/bpk-component-rating/src/accessibility-test.js +0 -43
  1077. package/bpk-component-rating/src/common-types.js +0 -34
  1078. package/bpk-component-rtl-toggle/index.js +0 -38
  1079. package/bpk-component-rtl-toggle/src/BpkRtlToggle-test.js +0 -43
  1080. package/bpk-component-rtl-toggle/src/BpkRtlToggle.js +0 -81
  1081. package/bpk-component-rtl-toggle/src/accessibility-test.js +0 -38
  1082. package/bpk-component-rtl-toggle/src/updateOnDirectionChange-test.js +0 -48
  1083. package/bpk-component-rtl-toggle/src/updateOnDirectionChange.js +0 -49
  1084. package/bpk-component-rtl-toggle/src/utils.js +0 -35
  1085. package/bpk-component-scrollable-calendar/index.js +0 -62
  1086. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar-test.js +0 -106
  1087. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar.js +0 -35
  1088. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate-test.js +0 -95
  1089. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.js +0 -53
  1090. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid-test.js +0 -147
  1091. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.css +0 -18
  1092. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +0 -62
  1093. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList-test.js +0 -127
  1094. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.css +0 -18
  1095. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +0 -140
  1096. package/bpk-component-scrollable-calendar/src/accessibility-test.js +0 -76
  1097. package/bpk-component-scrollable-calendar/src/utils.js +0 -38
  1098. package/bpk-component-scrollable-calendar/test-utils.js +0 -241
  1099. package/bpk-component-section-list/index.js +0 -46
  1100. package/bpk-component-section-list/src/BpkSectionList-test.js +0 -51
  1101. package/bpk-component-section-list/src/BpkSectionList.js +0 -33
  1102. package/bpk-component-section-list/src/BpkSectionListItem-test.js +0 -67
  1103. package/bpk-component-section-list/src/BpkSectionListItem.css +0 -18
  1104. package/bpk-component-section-list/src/BpkSectionListItem.js +0 -98
  1105. package/bpk-component-section-list/src/BpkSectionListSection-test.js +0 -51
  1106. package/bpk-component-section-list/src/BpkSectionListSection.css +0 -18
  1107. package/bpk-component-section-list/src/BpkSectionListSection.js +0 -56
  1108. package/bpk-component-section-list/src/accessibility-test.js +0 -42
  1109. package/bpk-component-select/index.js +0 -38
  1110. package/bpk-component-select/src/BpkSelect-test.js +0 -270
  1111. package/bpk-component-select/src/BpkSelect.css +0 -18
  1112. package/bpk-component-select/src/BpkSelect.js +0 -96
  1113. package/bpk-component-select/src/accessibility-test.js +0 -54
  1114. package/bpk-component-select/src/themeAttributes-test.js +0 -28
  1115. package/bpk-component-select/src/themeAttributes.js +0 -26
  1116. package/bpk-component-skip-link/index.js +0 -38
  1117. package/bpk-component-skip-link/src/BpkSkipLink-test.js +0 -58
  1118. package/bpk-component-skip-link/src/BpkSkipLink.css +0 -18
  1119. package/bpk-component-skip-link/src/BpkSkipLink.js +0 -55
  1120. package/bpk-component-skip-link/src/accessibility-test.js +0 -41
  1121. package/bpk-component-skip-link/src/themeAttributes-test.js +0 -28
  1122. package/bpk-component-skip-link/src/themeAttributes.js +0 -26
  1123. package/bpk-component-slider/index.js +0 -38
  1124. package/bpk-component-slider/src/BpkSlider-test.js +0 -107
  1125. package/bpk-component-slider/src/BpkSlider.css +0 -18
  1126. package/bpk-component-slider/src/BpkSlider.js +0 -75
  1127. package/bpk-component-slider/src/accessibility-test.js +0 -67
  1128. package/bpk-component-slider/src/themeAttributes-test.js +0 -28
  1129. package/bpk-component-slider/src/themeAttributes.js +0 -26
  1130. package/bpk-component-spinner/index.js +0 -47
  1131. package/bpk-component-spinner/src/BpkExtraLargeSpinner-test.js +0 -61
  1132. package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +0 -55
  1133. package/bpk-component-spinner/src/BpkLargeSpinner-test.js +0 -69
  1134. package/bpk-component-spinner/src/BpkLargeSpinner.js +0 -58
  1135. package/bpk-component-spinner/src/BpkSpinner-test.js +0 -69
  1136. package/bpk-component-spinner/src/BpkSpinner.css +0 -18
  1137. package/bpk-component-spinner/src/BpkSpinner.js +0 -58
  1138. package/bpk-component-spinner/src/accessibility-test.js +0 -60
  1139. package/bpk-component-spinner/src/spinnerTypes.js +0 -30
  1140. package/bpk-component-spinner/src/themeAttributes-test.js +0 -28
  1141. package/bpk-component-spinner/src/themeAttributes.js +0 -26
  1142. package/bpk-component-split-input/index.js +0 -38
  1143. package/bpk-component-split-input/src/BpkInputField.css +0 -18
  1144. package/bpk-component-split-input/src/BpkInputField.js +0 -85
  1145. package/bpk-component-split-input/src/BpkSplitInput-test.js +0 -51
  1146. package/bpk-component-split-input/src/BpkSplitInput.css +0 -18
  1147. package/bpk-component-split-input/src/BpkSplitInput.js +0 -268
  1148. package/bpk-component-split-input/src/accessibility-test.js +0 -38
  1149. package/bpk-component-star-rating/index.js +0 -92
  1150. package/bpk-component-star-rating/src/BpkInteractiveStar-test.js +0 -71
  1151. package/bpk-component-star-rating/src/BpkInteractiveStar.css +0 -18
  1152. package/bpk-component-star-rating/src/BpkInteractiveStar.js +0 -72
  1153. package/bpk-component-star-rating/src/BpkInteractiveStarRating-test.js +0 -153
  1154. package/bpk-component-star-rating/src/BpkInteractiveStarRating.js +0 -110
  1155. package/bpk-component-star-rating/src/BpkStar-test.js +0 -93
  1156. package/bpk-component-star-rating/src/BpkStar.css +0 -18
  1157. package/bpk-component-star-rating/src/BpkStar.js +0 -108
  1158. package/bpk-component-star-rating/src/BpkStarRating-test.js +0 -131
  1159. package/bpk-component-star-rating/src/BpkStarRating.css +0 -18
  1160. package/bpk-component-star-rating/src/BpkStarRating.js +0 -108
  1161. package/bpk-component-star-rating/src/accessibility-test.js +0 -56
  1162. package/bpk-component-star-rating/src/themeAttributes-test.js +0 -28
  1163. package/bpk-component-star-rating/src/themeAttributes.js +0 -26
  1164. package/bpk-component-star-rating/src/withInteractiveStarRatingState-test.js +0 -79
  1165. package/bpk-component-star-rating/src/withInteractiveStarRatingState.js +0 -88
  1166. package/bpk-component-switch/index.js +0 -48
  1167. package/bpk-component-switch/src/BpkSwitch-test.js +0 -78
  1168. package/bpk-component-switch/src/BpkSwitch.css +0 -18
  1169. package/bpk-component-switch/src/BpkSwitch.js +0 -71
  1170. package/bpk-component-switch/src/accessibility-test.js +0 -40
  1171. package/bpk-component-switch/src/themeAttributes-test.js +0 -28
  1172. package/bpk-component-switch/src/themeAttributes.js +0 -26
  1173. package/bpk-component-table/index.js +0 -55
  1174. package/bpk-component-table/src/BpkTable-test.js +0 -51
  1175. package/bpk-component-table/src/BpkTable.css +0 -18
  1176. package/bpk-component-table/src/BpkTable.js +0 -56
  1177. package/bpk-component-table/src/BpkTableBody-test.js +0 -52
  1178. package/bpk-component-table/src/BpkTableBody.js +0 -37
  1179. package/bpk-component-table/src/BpkTableCell-test.js +0 -48
  1180. package/bpk-component-table/src/BpkTableCell.js +0 -52
  1181. package/bpk-component-table/src/BpkTableHead-test.js +0 -52
  1182. package/bpk-component-table/src/BpkTableHead.js +0 -37
  1183. package/bpk-component-table/src/BpkTableHeadCell-test.js +0 -60
  1184. package/bpk-component-table/src/BpkTableHeadCell.js +0 -51
  1185. package/bpk-component-table/src/BpkTableRow-test.js +0 -52
  1186. package/bpk-component-table/src/BpkTableRow.js +0 -37
  1187. package/bpk-component-table/src/accessibility-test.js +0 -48
  1188. package/bpk-component-text/index.js +0 -44
  1189. package/bpk-component-text/src/BpkText-test.js +0 -137
  1190. package/bpk-component-text/src/BpkText.css +0 -18
  1191. package/bpk-component-text/src/BpkText.js +0 -115
  1192. package/bpk-component-text/src/accessibility-test.js +0 -38
  1193. package/bpk-component-textarea/index.js +0 -38
  1194. package/bpk-component-textarea/src/BpkTextarea-test.js +0 -50
  1195. package/bpk-component-textarea/src/BpkTextarea.css +0 -18
  1196. package/bpk-component-textarea/src/BpkTextarea.js +0 -63
  1197. package/bpk-component-textarea/src/accessibility-test.js +0 -44
  1198. package/bpk-component-textarea/src/themeAttributes-test.js +0 -28
  1199. package/bpk-component-textarea/src/themeAttributes.js +0 -26
  1200. package/bpk-component-theme-toggle/index.js +0 -38
  1201. package/bpk-component-theme-toggle/src/BpkThemeToggle-test.js +0 -35
  1202. package/bpk-component-theme-toggle/src/BpkThemeToggle.css +0 -18
  1203. package/bpk-component-theme-toggle/src/BpkThemeToggle.js +0 -116
  1204. package/bpk-component-theme-toggle/src/accessibility-test.js +0 -38
  1205. package/bpk-component-theme-toggle/src/theming.js +0 -232
  1206. package/bpk-component-theme-toggle/src/updateOnThemeChange-test.js +0 -61
  1207. package/bpk-component-theme-toggle/src/updateOnThemeChange.js +0 -70
  1208. package/bpk-component-theme-toggle/src/utils.js +0 -30
  1209. package/bpk-component-ticket/index.js +0 -30
  1210. package/bpk-component-ticket/src/BpkTicket-test.js +0 -105
  1211. package/bpk-component-ticket/src/BpkTicket.css +0 -18
  1212. package/bpk-component-ticket/src/BpkTicket.js +0 -104
  1213. package/bpk-component-ticket/src/accessibility-test.js +0 -40
  1214. package/bpk-component-tooltip/index.js +0 -38
  1215. package/bpk-component-tooltip/src/BpkTooltip-test.js +0 -66
  1216. package/bpk-component-tooltip/src/BpkTooltip.css +0 -18
  1217. package/bpk-component-tooltip/src/BpkTooltip.js +0 -85
  1218. package/bpk-component-tooltip/src/BpkTooltipPortal-test.js +0 -72
  1219. package/bpk-component-tooltip/src/BpkTooltipPortal.js +0 -192
  1220. package/bpk-component-tooltip/src/accessibility-test.js +0 -41
  1221. package/bpk-component-tooltip/src/constants.js +0 -36
  1222. package/bpk-react-utils/index.js +0 -124
  1223. package/bpk-react-utils/src/Portal-test.js +0 -630
  1224. package/bpk-react-utils/src/Portal-v1-test.js +0 -367
  1225. package/bpk-react-utils/src/Portal-v1.js +0 -290
  1226. package/bpk-react-utils/src/Portal.js +0 -288
  1227. package/bpk-react-utils/src/TransitionInitialMount-test.js +0 -39
  1228. package/bpk-react-utils/src/TransitionInitialMount.js +0 -65
  1229. package/bpk-react-utils/src/accessibility-test.js +0 -75
  1230. package/bpk-react-utils/src/cssModules-test.js +0 -58
  1231. package/bpk-react-utils/src/cssModules.js +0 -34
  1232. package/bpk-react-utils/src/deprecated.js +0 -40
  1233. package/bpk-react-utils/src/deviceDetection-test.js +0 -81
  1234. package/bpk-react-utils/src/deviceDetection.js +0 -35
  1235. package/bpk-react-utils/src/isRTL-test.js +0 -59
  1236. package/bpk-react-utils/src/isRTL.js +0 -35
  1237. package/bpk-react-utils/src/withDefaultProps-test.js +0 -60
  1238. package/bpk-react-utils/src/withDefaultProps.js +0 -70
  1239. package/bpk-react-utils/src/wrapDisplayName-test.js +0 -36
  1240. package/bpk-react-utils/src/wrapDisplayName.js +0 -38
  1241. package/bpk-scrim-utils/index.js +0 -38
  1242. package/bpk-scrim-utils/src/BpkScrim-test.js +0 -43
  1243. package/bpk-scrim-utils/src/BpkScrim.js +0 -57
  1244. package/bpk-scrim-utils/src/accessibility-test.js +0 -56
  1245. package/bpk-scrim-utils/src/bpk-scrim-content.css +0 -18
  1246. package/bpk-scrim-utils/src/bpk-scrim.css +0 -18
  1247. package/bpk-scrim-utils/src/customPropTypes-test.js +0 -42
  1248. package/bpk-scrim-utils/src/customPropTypes.js +0 -36
  1249. package/bpk-scrim-utils/src/scroll-utils.js +0 -126
  1250. package/bpk-scrim-utils/src/withScrim-test.js +0 -172
  1251. package/bpk-scrim-utils/src/withScrim.js +0 -177
  1252. package/bpk-storybook-utils/index.js +0 -47
  1253. package/bpk-storybook-utils/src/BpkDarkExampleWrapper-test.js +0 -43
  1254. package/bpk-storybook-utils/src/BpkDarkExampleWrapper.css +0 -18
  1255. package/bpk-storybook-utils/src/BpkDarkExampleWrapper.js +0 -46
  1256. package/bpk-storybook-utils/src/BpkStorybookUtils-test.js +0 -36
  1257. package/bpk-storybook-utils/src/BpkStorybookUtils.js +0 -44
  1258. package/bpk-storybook-utils/src/accessibility-test.js +0 -38
  1259. package/bpk-theming/index.js +0 -30
  1260. package/bpk-theming/src/BpkThemeProvider-test.js +0 -177
  1261. package/bpk-theming/src/BpkThemeProvider.js +0 -168
  1262. package/bpk-theming/src/accessibility-test.js +0 -45
  1263. package/react-version-test.js +0 -26
@@ -1,60 +0,0 @@
1
- "use strict";
2
-
3
- var _react = _interopRequireDefault(require("react"));
4
-
5
- var _react2 = require("@testing-library/react");
6
-
7
- var _BpkTableHeadCell = _interopRequireDefault(require("./BpkTableHeadCell"));
8
-
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
-
11
- /*
12
- * Backpack - Skyscanner's Design System
13
- *
14
- * Copyright 2016 Skyscanner Ltd
15
- *
16
- * Licensed under the Apache License, Version 2.0 (the "License");
17
- * you may not use this file except in compliance with the License.
18
- * You may obtain a copy of the License at
19
- *
20
- * http://www.apache.org/licenses/LICENSE-2.0
21
- *
22
- * Unless required by applicable law or agreed to in writing, software
23
- * distributed under the License is distributed on an "AS IS" BASIS,
24
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25
- * See the License for the specific language governing permissions and
26
- * limitations under the License.
27
- */
28
- describe('BpkTableHeadCell', () => {
29
- it('should render correctly', () => {
30
- const {
31
- asFragment
32
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement("table", null, /*#__PURE__*/_react.default.createElement("thead", null, /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement(_BpkTableHeadCell.default, null, "Heading")))));
33
- expect(asFragment()).toMatchSnapshot();
34
- });
35
- it('should render correctly with "alternate"', () => {
36
- const {
37
- asFragment
38
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement("table", null, /*#__PURE__*/_react.default.createElement("thead", null, /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement(_BpkTableHeadCell.default, {
39
- alternate: true
40
- }, "Skyscanner")))));
41
- expect(asFragment()).toMatchSnapshot();
42
- });
43
- it('should render correctly with custom class', () => {
44
- const {
45
- asFragment
46
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement("table", null, /*#__PURE__*/_react.default.createElement("thead", null, /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement(_BpkTableHeadCell.default, {
47
- className: "my-custom-class"
48
- }, "Skyscanner")))));
49
- expect(asFragment()).toMatchSnapshot();
50
- });
51
- it('should render correctly with arbitrary props', () => {
52
- const {
53
- asFragment
54
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement("table", null, /*#__PURE__*/_react.default.createElement("thead", null, /*#__PURE__*/_react.default.createElement("tr", null, /*#__PURE__*/_react.default.createElement(_BpkTableHeadCell.default, {
55
- id: "my-custom-id",
56
- "data-foo": "bar"
57
- }, "Skyscanner")))));
58
- expect(asFragment()).toMatchSnapshot();
59
- });
60
- });
@@ -1,51 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _propTypes = _interopRequireDefault(require("prop-types"));
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _bpkReactUtils = require("../../bpk-react-utils");
13
-
14
- var _BpkTableModule = _interopRequireDefault(require("./BpkTable.css"));
15
-
16
- const _excluded = ["alternate", "className"];
17
-
18
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
-
20
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
-
22
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
-
24
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
25
-
26
- const getClassName = (0, _bpkReactUtils.cssModules)(_BpkTableModule.default);
27
-
28
- const BpkTableHeadCell = props => {
29
- const {
30
- alternate,
31
- className
32
- } = props,
33
- rest = _objectWithoutProperties(props, _excluded);
34
-
35
- const classNames = getClassName('bpk-table__cell', alternate ? 'bpk-table__cell--head-alternate' : 'bpk-table__cell--head', className);
36
- return /*#__PURE__*/_react.default.createElement("th", _extends({}, rest, {
37
- className: classNames
38
- }));
39
- };
40
-
41
- BpkTableHeadCell.propTypes = {
42
- children: _propTypes.default.node.isRequired,
43
- alternate: _propTypes.default.bool,
44
- className: _propTypes.default.string
45
- };
46
- BpkTableHeadCell.defaultProps = {
47
- alternate: false,
48
- className: null
49
- };
50
- var _default = BpkTableHeadCell;
51
- exports.default = _default;
@@ -1,52 +0,0 @@
1
- "use strict";
2
-
3
- var _react = _interopRequireDefault(require("react"));
4
-
5
- var _react2 = require("@testing-library/react");
6
-
7
- var _BpkTableRow = _interopRequireDefault(require("./BpkTableRow"));
8
-
9
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
-
11
- /*
12
- * Backpack - Skyscanner's Design System
13
- *
14
- * Copyright 2016 Skyscanner Ltd
15
- *
16
- * Licensed under the Apache License, Version 2.0 (the "License");
17
- * you may not use this file except in compliance with the License.
18
- * You may obtain a copy of the License at
19
- *
20
- * http://www.apache.org/licenses/LICENSE-2.0
21
- *
22
- * Unless required by applicable law or agreed to in writing, software
23
- * distributed under the License is distributed on an "AS IS" BASIS,
24
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
25
- * See the License for the specific language governing permissions and
26
- * limitations under the License.
27
- */
28
- describe('BpkTableRow', () => {
29
- it('should render correctly', () => {
30
- const {
31
- asFragment
32
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement("table", null, /*#__PURE__*/_react.default.createElement("tbody", null, /*#__PURE__*/_react.default.createElement(_BpkTableRow.default, null, /*#__PURE__*/_react.default.createElement("td", null)))));
33
- expect(asFragment()).toMatchSnapshot();
34
- });
35
- it('should render correctly with custom class', () => {
36
- const {
37
- asFragment
38
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement("table", null, /*#__PURE__*/_react.default.createElement("tbody", null, /*#__PURE__*/_react.default.createElement(_BpkTableRow.default, {
39
- className: "my-custom-class"
40
- }, /*#__PURE__*/_react.default.createElement("td", null)))));
41
- expect(asFragment()).toMatchSnapshot();
42
- });
43
- it('should render correctly with arbitrary props', () => {
44
- const {
45
- asFragment
46
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement("table", null, /*#__PURE__*/_react.default.createElement("tbody", null, /*#__PURE__*/_react.default.createElement(_BpkTableRow.default, {
47
- id: "my-custom-id",
48
- "data-foo": "bar"
49
- }, /*#__PURE__*/_react.default.createElement("td", null)))));
50
- expect(asFragment()).toMatchSnapshot();
51
- });
52
- });
@@ -1,37 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
-
8
- var _propTypes = _interopRequireDefault(require("prop-types"));
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
-
14
- /*
15
- * Backpack - Skyscanner's Design System
16
- *
17
- * Copyright 2016 Skyscanner Ltd
18
- *
19
- * Licensed under the Apache License, Version 2.0 (the "License");
20
- * you may not use this file except in compliance with the License.
21
- * You may obtain a copy of the License at
22
- *
23
- * http://www.apache.org/licenses/LICENSE-2.0
24
- *
25
- * Unless required by applicable law or agreed to in writing, software
26
- * distributed under the License is distributed on an "AS IS" BASIS,
27
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
28
- * See the License for the specific language governing permissions and
29
- * limitations under the License.
30
- */
31
- const BpkTableRow = props => /*#__PURE__*/_react.default.createElement("tr", props);
32
-
33
- BpkTableRow.propTypes = {
34
- children: _propTypes.default.node.isRequired
35
- };
36
- var _default = BpkTableRow;
37
- exports.default = _default;
@@ -1,48 +0,0 @@
1
- "use strict";
2
-
3
- var _react = _interopRequireDefault(require("react"));
4
-
5
- var _react2 = require("@testing-library/react");
6
-
7
- var _jestAxe = require("jest-axe");
8
-
9
- var _BpkTable = _interopRequireDefault(require("./BpkTable"));
10
-
11
- var _BpkTableHead = _interopRequireDefault(require("./BpkTableHead"));
12
-
13
- var _BpkTableRow = _interopRequireDefault(require("./BpkTableRow"));
14
-
15
- var _BpkTableHeadCell = _interopRequireDefault(require("./BpkTableHeadCell"));
16
-
17
- var _BpkTableCell = _interopRequireDefault(require("./BpkTableCell"));
18
-
19
- var _BpkTableBody = _interopRequireDefault(require("./BpkTableBody"));
20
-
21
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
22
-
23
- /*
24
- * Backpack - Skyscanner's Design System
25
- *
26
- * Copyright 2016 Skyscanner Ltd
27
- *
28
- * Licensed under the Apache License, Version 2.0 (the "License");
29
- * you may not use this file except in compliance with the License.
30
- * You may obtain a copy of the License at
31
- *
32
- * http://www.apache.org/licenses/LICENSE-2.0
33
- *
34
- * Unless required by applicable law or agreed to in writing, software
35
- * distributed under the License is distributed on an "AS IS" BASIS,
36
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
37
- * See the License for the specific language governing permissions and
38
- * limitations under the License.
39
- */
40
- describe('BpkTable accessibility tests', () => {
41
- it('should not have programmatically-detectable accessibility issues', async () => {
42
- const {
43
- container
44
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_BpkTable.default, null, /*#__PURE__*/_react.default.createElement(_BpkTableHead.default, null, /*#__PURE__*/_react.default.createElement(_BpkTableRow.default, null, /*#__PURE__*/_react.default.createElement(_BpkTableHeadCell.default, null, "Heading 1"), /*#__PURE__*/_react.default.createElement(_BpkTableHeadCell.default, null, "Heading 2"), /*#__PURE__*/_react.default.createElement(_BpkTableHeadCell.default, null, "Heading 3"), /*#__PURE__*/_react.default.createElement(_BpkTableHeadCell.default, null, "Heading 4"))), /*#__PURE__*/_react.default.createElement(_BpkTableBody.default, null, /*#__PURE__*/_react.default.createElement(_BpkTableRow.default, null, /*#__PURE__*/_react.default.createElement(_BpkTableCell.default, null, "Row 1, Data 1"), /*#__PURE__*/_react.default.createElement(_BpkTableCell.default, null, "Row 1, Data 2"), /*#__PURE__*/_react.default.createElement(_BpkTableCell.default, null, "Row 1, Data 3"), /*#__PURE__*/_react.default.createElement(_BpkTableCell.default, null, "Row 1, Data 4")), /*#__PURE__*/_react.default.createElement(_BpkTableRow.default, null, /*#__PURE__*/_react.default.createElement(_BpkTableCell.default, null, "Row 2, Data 1"), /*#__PURE__*/_react.default.createElement(_BpkTableCell.default, null, "Row 2, Data 2"), /*#__PURE__*/_react.default.createElement(_BpkTableCell.default, null, "Row 2, Data 3"), /*#__PURE__*/_react.default.createElement(_BpkTableCell.default, null, "Row 2, Data 4")))));
45
- const results = await (0, _jestAxe.axe)(container);
46
- expect(results).toHaveNoViolations();
47
- });
48
- });
@@ -1,44 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "TEXT_STYLES", {
7
- enumerable: true,
8
- get: function () {
9
- return _BpkText.TEXT_STYLES;
10
- }
11
- });
12
- Object.defineProperty(exports, "WEIGHT_STYLES", {
13
- enumerable: true,
14
- get: function () {
15
- return _BpkText.WEIGHT_STYLES;
16
- }
17
- });
18
- exports.default = void 0;
19
-
20
- var _BpkText = _interopRequireWildcard(require("./src/BpkText"));
21
-
22
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
-
24
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
-
26
- /*
27
- * Backpack - Skyscanner's Design System
28
- *
29
- * Copyright 2016 Skyscanner Ltd
30
- *
31
- * Licensed under the Apache License, Version 2.0 (the "License");
32
- * you may not use this file except in compliance with the License.
33
- * You may obtain a copy of the License at
34
- *
35
- * http://www.apache.org/licenses/LICENSE-2.0
36
- *
37
- * Unless required by applicable law or agreed to in writing, software
38
- * distributed under the License is distributed on an "AS IS" BASIS,
39
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
40
- * See the License for the specific language governing permissions and
41
- * limitations under the License.
42
- */
43
- var _default = _BpkText.default;
44
- exports.default = _default;
@@ -1,137 +0,0 @@
1
- "use strict";
2
-
3
- var _react = _interopRequireDefault(require("react"));
4
-
5
- var _react2 = require("@testing-library/react");
6
-
7
- var _BpkText = _interopRequireWildcard(require("./BpkText"));
8
-
9
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
10
-
11
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
-
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
-
15
- /*
16
- * Backpack - Skyscanner's Design System
17
- *
18
- * Copyright 2016 Skyscanner Ltd
19
- *
20
- * Licensed under the Apache License, Version 2.0 (the "License");
21
- * you may not use this file except in compliance with the License.
22
- * You may obtain a copy of the License at
23
- *
24
- * http://www.apache.org/licenses/LICENSE-2.0
25
- *
26
- * Unless required by applicable law or agreed to in writing, software
27
- * distributed under the License is distributed on an "AS IS" BASIS,
28
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29
- * See the License for the specific language governing permissions and
30
- * limitations under the License.
31
- */
32
- describe('BpkText', () => {
33
- it('should render correctly', () => {
34
- const {
35
- asFragment
36
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_BpkText.default, null, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."));
37
- expect(asFragment()).toMatchSnapshot();
38
- });
39
- it('should render correctly with deprecated `bold` prop', () => {
40
- const consoleWarnFn = jest.fn();
41
- jest.spyOn(console, 'warn').mockImplementation(consoleWarnFn);
42
- const {
43
- asFragment
44
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_BpkText.default, {
45
- bold: true
46
- }, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."));
47
- expect(asFragment()).toMatchSnapshot();
48
- expect(consoleWarnFn.mock.calls.length).toBe(1);
49
- });
50
- it('should render correctly with tageName="h1", textStyle="xxl"', () => {
51
- const {
52
- asFragment
53
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_BpkText.default, {
54
- textStyle: "xxl",
55
- tagName: "h1"
56
- }, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."));
57
- expect(asFragment()).toMatchSnapshot();
58
- });
59
- it('should render correctly with tageName="text"', () => {
60
- const {
61
- asFragment
62
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_BpkText.default, {
63
- tagName: "text"
64
- }, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."));
65
- expect(asFragment()).toMatchSnapshot();
66
- });
67
- it('should render correctly with weight="bold"', () => {
68
- const {
69
- asFragment
70
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_BpkText.default, {
71
- weight: _BpkText.WEIGHT_STYLES.bold
72
- }, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."));
73
- expect(asFragment()).toMatchSnapshot();
74
- });
75
- ['xl', 'xxl', 'xxxl', 'xxxxl', 'xxxxxl'].forEach(textStyle => {
76
- it(`should render correctly with weight="black" and supported textStyle="${textStyle}"`, () => {
77
- const {
78
- asFragment
79
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_BpkText.default, {
80
- textStyle: textStyle,
81
- weight: _BpkText.WEIGHT_STYLES.black
82
- }, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."));
83
- expect(asFragment()).toMatchSnapshot();
84
- });
85
- });
86
- it('should not apply black styles when weight="black" and not an xl textStyle', () => {
87
- const {
88
- asFragment
89
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_BpkText.default, {
90
- weight: _BpkText.WEIGHT_STYLES.black
91
- }, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."));
92
- expect(asFragment()).toMatchSnapshot();
93
- });
94
- it('should pass down unknown props', () => {
95
- const {
96
- asFragment
97
- } = (0, _react2.render)(
98
- /*#__PURE__*/
99
- // eslint-disable-next-line backpack/use-tokens
100
- _react.default.createElement(_BpkText.default, {
101
- style: {
102
- color: 'red'
103
- }
104
- }, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."));
105
- expect(asFragment()).toMatchSnapshot();
106
- });
107
- ['xs', 'sm', 'base', 'lg', 'xl', 'xxl', 'xxxl', 'xxxxl', 'xxxxxl'].forEach(textStyle => {
108
- it(`should render correctly with textStyle="${textStyle}"`, () => {
109
- const {
110
- asFragment
111
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_BpkText.default, {
112
- textStyle: textStyle
113
- }, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."));
114
- expect(asFragment()).toMatchSnapshot();
115
- });
116
- });
117
- it('should render correctly with deprecated `weight` prop', () => {
118
- const consoleWarnFn = jest.fn();
119
- jest.spyOn(console, 'warn').mockImplementation(consoleWarnFn);
120
- const {
121
- asFragment
122
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_BpkText.default, {
123
- weight: "bold"
124
- }, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."));
125
- expect(asFragment()).toMatchSnapshot();
126
- expect(consoleWarnFn.mock.calls.length).toBe(1);
127
- });
128
- it('should render correctly with no `weight` prop', () => {
129
- const consoleWarnFn = jest.fn();
130
- jest.spyOn(console, 'warn').mockImplementation(consoleWarnFn);
131
- const {
132
- asFragment
133
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_BpkText.default, null, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."));
134
- expect(asFragment()).toMatchSnapshot();
135
- expect(consoleWarnFn.mock.calls.length).toBe(0);
136
- });
137
- });
@@ -1,18 +0,0 @@
1
- /*
2
- * Backpack - Skyscanner's Design System
3
- *
4
- * Copyright 2016 Skyscanner Ltd
5
- *
6
- * Licensed under the Apache License, Version 2.0 (the "License");
7
- * you may not use this file except in compliance with the License.
8
- * You may obtain a copy of the License at
9
- *
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- *
12
- * Unless required by applicable law or agreed to in writing, software
13
- * distributed under the License is distributed on an "AS IS" BASIS,
14
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- * See the License for the specific language governing permissions and
16
- * limitations under the License.
17
- */
18
- @keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-text{margin:0}.bpk-text--xs{font-size:.75rem;line-height:1rem;font-weight:400}.bpk-text--sm{font-size:.875rem;line-height:1.25rem;font-weight:400}.bpk-text--base{font-size:1rem;line-height:1.5rem;font-weight:400}.bpk-text--lg{font-size:1.25rem;line-height:1.75rem;font-weight:400}.bpk-text--xl{font-size:1.5rem;line-height:2rem;font-weight:400}.bpk-text--xxl{font-size:2rem;line-height:2.5rem;font-weight:700}.bpk-text--xxxl{font-size:2.5rem;line-height:3rem;font-weight:700}.bpk-text--xxxxl{font-size:3rem;line-height:3.5rem;font-weight:700;letter-spacing:-.02em}.bpk-text--xxxxxl{font-size:4rem;line-height:4.5rem;font-weight:700;letter-spacing:-.02em}.bpk-text--caption{font-size:.75rem;line-height:1rem;font-weight:400}.bpk-text--footnote{font-size:.875rem;line-height:1.25rem;font-weight:400}.bpk-text--label-1{font-size:1rem;line-height:1.5rem;font-weight:700}.bpk-text--label-2{font-size:.875rem;line-height:1.25rem;font-weight:700}.bpk-text--label-3{font-size:.75rem;line-height:1rem;font-weight:700}.bpk-text--body-default{font-size:1rem;line-height:1.5rem;font-weight:400}.bpk-text--body-longform{font-size:1.25rem;line-height:1.75rem;font-weight:400}.bpk-text--subheading{font-size:1.5rem;line-height:2rem;font-weight:400}.bpk-text--heading-1{font-size:2.5rem;line-height:3rem;font-weight:700}.bpk-text--heading-2{font-size:2rem;line-height:2.5rem;font-weight:700}.bpk-text--heading-3{font-size:1.5rem;line-height:1.75rem;font-weight:700}.bpk-text--heading-4{font-size:1.25rem;line-height:1.5rem;font-weight:700}.bpk-text--heading-5{font-size:1rem;line-height:1.25rem;font-weight:700}.bpk-text--hero-1{font-size:7.5rem;line-height:7.5rem;font-weight:700;letter-spacing:-.02em}.bpk-text--hero-2{font-size:6rem;line-height:6rem;font-weight:700;letter-spacing:-.02em}.bpk-text--hero-3{font-size:4.75rem;line-height:5.25rem;font-weight:700;letter-spacing:-.02em}.bpk-text--hero-4{font-size:4rem;line-height:4.5rem;font-weight:700;letter-spacing:-.02em}.bpk-text--hero-5{font-size:3rem;line-height:3.5rem;font-weight:700;letter-spacing:-.02em}.bpk-text--bold{font-weight:700}.bpk-text--black{font-weight:900}
@@ -1,115 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports.WEIGHT_STYLES = exports.TEXT_STYLES = void 0;
7
-
8
- var _propTypes = _interopRequireDefault(require("prop-types"));
9
-
10
- var _react = _interopRequireDefault(require("react"));
11
-
12
- var _bpkReactUtils = require("../../bpk-react-utils");
13
-
14
- var _BpkTextModule = _interopRequireDefault(require("./BpkText.css"));
15
-
16
- const _excluded = ["bold", "children", "className", "tagName", "textStyle", "weight"];
17
-
18
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
-
20
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
-
22
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
-
24
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
25
-
26
- const getClassName = (0, _bpkReactUtils.cssModules)(_BpkTextModule.default);
27
- const TEXT_STYLES = {
28
- xs: 'xs',
29
- sm: 'sm',
30
- base: 'base',
31
- lg: 'lg',
32
- xl: 'xl',
33
- xxl: 'xxl',
34
- xxxl: 'xxxl',
35
- xxxxl: 'xxxxl',
36
- xxxxxl: 'xxxxxl',
37
- caption: 'caption',
38
- footnote: 'footnote',
39
- label1: 'label-1',
40
- label2: 'label-2',
41
- label3: 'label-3',
42
- bodyDefault: 'body-default',
43
- bodyLongform: 'body-longform',
44
- subheading: 'subheading',
45
- heading1: 'heading-1',
46
- heading2: 'heading-2',
47
- heading3: 'heading-3',
48
- heading4: 'heading-4',
49
- heading5: 'heading-5',
50
- hero1: 'hero-1',
51
- hero2: 'hero-2',
52
- hero3: 'hero-3',
53
- hero4: 'hero-4',
54
- hero5: 'hero-5'
55
- };
56
- exports.TEXT_STYLES = TEXT_STYLES;
57
- const WEIGHT_STYLES = {
58
- regular: 'regular',
59
- bold: 'bold',
60
- black: 'black'
61
- };
62
- exports.WEIGHT_STYLES = WEIGHT_STYLES;
63
-
64
- const getWeight = (bold, weight, textStyle) => {
65
- if (bold || weight === WEIGHT_STYLES.bold) {
66
- return WEIGHT_STYLES.bold;
67
- } // Weight can only be black if textStyle is `xl`, `xxl` or `xxxl`.
68
-
69
-
70
- if (weight === WEIGHT_STYLES.black && textStyle.match(/^x+l$/)) {
71
- return WEIGHT_STYLES.black;
72
- }
73
-
74
- return null;
75
- };
76
-
77
- const BpkText = props => {
78
- const {
79
- bold,
80
- children,
81
- className,
82
- tagName: TagName,
83
- textStyle,
84
- weight
85
- } = props,
86
- rest = _objectWithoutProperties(props, _excluded);
87
-
88
- const validWeight = getWeight(bold, weight, textStyle);
89
- const classNames = getClassName('bpk-text', `bpk-text--${textStyle}`, validWeight && `bpk-text--${validWeight}`, className);
90
- return (
91
- /*#__PURE__*/
92
- // $FlowFixMe[cannot-spread-inexact] - inexact rest. See 'decisions/flowfixme.md'.
93
- _react.default.createElement(TagName, _extends({
94
- className: classNames
95
- }, rest), children)
96
- );
97
- };
98
-
99
- BpkText.propTypes = {
100
- children: _propTypes.default.node.isRequired,
101
- textStyle: _propTypes.default.oneOf(Object.values(TEXT_STYLES)),
102
- tagName: _propTypes.default.oneOf(['span', 'p', 'text', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']),
103
- className: _propTypes.default.string,
104
- bold: (0, _bpkReactUtils.deprecated)(_propTypes.default.bool, 'Use a different "textStyle" to achieve the desired weight.'),
105
- weight: (0, _bpkReactUtils.deprecated)(_propTypes.default.oneOf(Object.keys(WEIGHT_STYLES)), 'Use a different "textStyle" to achieve the desired weight.')
106
- };
107
- BpkText.defaultProps = {
108
- textStyle: TEXT_STYLES.bodyDefault,
109
- tagName: 'span',
110
- className: null,
111
- bold: null,
112
- weight: null
113
- };
114
- var _default = BpkText;
115
- exports.default = _default;
@@ -1,38 +0,0 @@
1
- "use strict";
2
-
3
- var _react = _interopRequireDefault(require("react"));
4
-
5
- var _react2 = require("@testing-library/react");
6
-
7
- var _jestAxe = require("jest-axe");
8
-
9
- var _BpkText = _interopRequireDefault(require("./BpkText"));
10
-
11
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
-
13
- /*
14
- * Backpack - Skyscanner's Design System
15
- *
16
- * Copyright 2016 Skyscanner Ltd
17
- *
18
- * Licensed under the Apache License, Version 2.0 (the "License");
19
- * you may not use this file except in compliance with the License.
20
- * You may obtain a copy of the License at
21
- *
22
- * http://www.apache.org/licenses/LICENSE-2.0
23
- *
24
- * Unless required by applicable law or agreed to in writing, software
25
- * distributed under the License is distributed on an "AS IS" BASIS,
26
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27
- * See the License for the specific language governing permissions and
28
- * limitations under the License.
29
- */
30
- describe('BpkText accessibility tests', () => {
31
- it('should not have programmatically-detectable accessibility issues', async () => {
32
- const {
33
- container
34
- } = (0, _react2.render)( /*#__PURE__*/_react.default.createElement(_BpkText.default, null, "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus."));
35
- const results = await (0, _jestAxe.axe)(container);
36
- expect(results).toHaveNoViolations();
37
- });
38
- });
@@ -1,38 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- Object.defineProperty(exports, "themeAttributes", {
8
- enumerable: true,
9
- get: function () {
10
- return _themeAttributes.default;
11
- }
12
- });
13
-
14
- var _BpkTextarea = _interopRequireDefault(require("./src/BpkTextarea"));
15
-
16
- var _themeAttributes = _interopRequireDefault(require("./src/themeAttributes"));
17
-
18
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
-
20
- /*
21
- * Backpack - Skyscanner's Design System
22
- *
23
- * Copyright 2016 Skyscanner Ltd
24
- *
25
- * Licensed under the Apache License, Version 2.0 (the "License");
26
- * you may not use this file except in compliance with the License.
27
- * You may obtain a copy of the License at
28
- *
29
- * http://www.apache.org/licenses/LICENSE-2.0
30
- *
31
- * Unless required by applicable law or agreed to in writing, software
32
- * distributed under the License is distributed on an "AS IS" BASIS,
33
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
34
- * See the License for the specific language governing permissions and
35
- * limitations under the License.
36
- */
37
- var _default = _BpkTextarea.default;
38
- exports.default = _default;