@skyscanner/backpack-web 0.0.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 (1342) hide show
  1. package/bpk-animate-height/README.md +55 -0
  2. package/bpk-animate-height/examples.js +67 -0
  3. package/bpk-animate-height/index.js +21 -0
  4. package/bpk-animate-height/package.json +26 -0
  5. package/bpk-animate-height/src/AnimateHeight.js +184 -0
  6. package/bpk-component-accordion/README.md +129 -0
  7. package/bpk-component-accordion/examples.js +316 -0
  8. package/bpk-component-accordion/index.js +34 -0
  9. package/bpk-component-accordion/package.json +31 -0
  10. package/bpk-component-accordion/src/BpkAccordion.js +53 -0
  11. package/bpk-component-accordion/src/BpkAccordion.module.css +18 -0
  12. package/bpk-component-accordion/src/BpkAccordion.module.scss +23 -0
  13. package/bpk-component-accordion/src/BpkAccordionItem.js +150 -0
  14. package/bpk-component-accordion/src/BpkAccordionItem.module.css +18 -0
  15. package/bpk-component-accordion/src/BpkAccordionItem.module.scss +117 -0
  16. package/bpk-component-accordion/src/themeAttributes.js +25 -0
  17. package/bpk-component-accordion/src/withAccordionItemState.js +88 -0
  18. package/bpk-component-accordion/src/withSingleItemAccordionState.js +95 -0
  19. package/bpk-component-aria-live/README.md +42 -0
  20. package/bpk-component-aria-live/examples.js +248 -0
  21. package/bpk-component-aria-live/examples.module.css +18 -0
  22. package/bpk-component-aria-live/examples.module.scss +65 -0
  23. package/bpk-component-aria-live/index.js +27 -0
  24. package/bpk-component-aria-live/package.json +31 -0
  25. package/bpk-component-aria-live/src/BpkAriaLive.js +66 -0
  26. package/bpk-component-aria-live/src/BpkAriaLive.module.css +18 -0
  27. package/bpk-component-aria-live/src/BpkAriaLive.module.scss +25 -0
  28. package/bpk-component-autosuggest/README.md +126 -0
  29. package/bpk-component-autosuggest/examples.js +201 -0
  30. package/bpk-component-autosuggest/index.js +25 -0
  31. package/bpk-component-autosuggest/package.json +29 -0
  32. package/bpk-component-autosuggest/src/BpkAutosuggest.js +78 -0
  33. package/bpk-component-autosuggest/src/BpkAutosuggest.module.css +18 -0
  34. package/bpk-component-autosuggest/src/BpkAutosuggest.module.scss +156 -0
  35. package/bpk-component-autosuggest/src/BpkAutosuggestSuggestion.js +106 -0
  36. package/bpk-component-badge/BadgeLayout.js +54 -0
  37. package/bpk-component-badge/BpkBadgeLayout.module.css +18 -0
  38. package/bpk-component-badge/BpkBadgeLayout.module.scss +36 -0
  39. package/bpk-component-badge/README.md +39 -0
  40. package/bpk-component-badge/examples.js +207 -0
  41. package/bpk-component-badge/index.js +26 -0
  42. package/bpk-component-badge/package.json +29 -0
  43. package/bpk-component-badge/src/BpkBadge.js +91 -0
  44. package/bpk-component-badge/src/BpkBadge.module.css +18 -0
  45. package/bpk-component-badge/src/BpkBadge.module.scss +55 -0
  46. package/bpk-component-badge/src/themeAttributes.js +23 -0
  47. package/bpk-component-banner-alert/README.md +153 -0
  48. package/bpk-component-banner-alert/examples.js +253 -0
  49. package/bpk-component-banner-alert/examples.module.css +18 -0
  50. package/bpk-component-banner-alert/examples.module.scss +27 -0
  51. package/bpk-component-banner-alert/index.js +34 -0
  52. package/bpk-component-banner-alert/package.json +34 -0
  53. package/bpk-component-banner-alert/src/AnimateAndFade.js +184 -0
  54. package/bpk-component-banner-alert/src/BpkAnimateAndFade.module.css +18 -0
  55. package/bpk-component-banner-alert/src/BpkAnimateAndFade.module.scss +53 -0
  56. package/bpk-component-banner-alert/src/BpkBannerAlert.js +37 -0
  57. package/bpk-component-banner-alert/src/BpkBannerAlert.module.css +18 -0
  58. package/bpk-component-banner-alert/src/BpkBannerAlert.module.scss +163 -0
  59. package/bpk-component-banner-alert/src/BpkBannerAlertDismissable.js +52 -0
  60. package/bpk-component-banner-alert/src/BpkBannerAlertExpandable.js +63 -0
  61. package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +261 -0
  62. package/bpk-component-banner-alert/src/common-types.js +70 -0
  63. package/bpk-component-banner-alert/src/themeAttributes.js +24 -0
  64. package/bpk-component-banner-alert/src/withBannerAlertState.js +184 -0
  65. package/bpk-component-barchart/README.md +189 -0
  66. package/bpk-component-barchart/data.json +102 -0
  67. package/bpk-component-barchart/examples.js +334 -0
  68. package/bpk-component-barchart/hocs.js +67 -0
  69. package/bpk-component-barchart/index.js +38 -0
  70. package/bpk-component-barchart/package.json +35 -0
  71. package/bpk-component-barchart/src/BpkBarchart.js +336 -0
  72. package/bpk-component-barchart/src/BpkBarchart.module.css +18 -0
  73. package/bpk-component-barchart/src/BpkBarchart.module.scss +21 -0
  74. package/bpk-component-barchart/src/BpkBarchartBar.js +152 -0
  75. package/bpk-component-barchart/src/BpkBarchartBar.module.css +18 -0
  76. package/bpk-component-barchart/src/BpkBarchartBar.module.scss +68 -0
  77. package/bpk-component-barchart/src/BpkBarchartBars.js +165 -0
  78. package/bpk-component-barchart/src/BpkBarchartDefs.js +48 -0
  79. package/bpk-component-barchart/src/BpkChartAxis.js +185 -0
  80. package/bpk-component-barchart/src/BpkChartAxis.module.css +18 -0
  81. package/bpk-component-barchart/src/BpkChartAxis.module.scss +37 -0
  82. package/bpk-component-barchart/src/BpkChartDataTable.js +76 -0
  83. package/bpk-component-barchart/src/BpkChartDataTable.module.css +18 -0
  84. package/bpk-component-barchart/src/BpkChartDataTable.module.scss +28 -0
  85. package/bpk-component-barchart/src/BpkChartGridLines.js +118 -0
  86. package/bpk-component-barchart/src/BpkChartGridLines.module.css +18 -0
  87. package/bpk-component-barchart/src/BpkChartGridLines.module.scss +26 -0
  88. package/bpk-component-barchart/src/BpkChartMargin.js +55 -0
  89. package/bpk-component-barchart/src/RTLtransforms.js +55 -0
  90. package/bpk-component-barchart/src/customPropTypes.js +51 -0
  91. package/bpk-component-barchart/src/orientation.js +22 -0
  92. package/bpk-component-barchart/src/themeAttributes.js +26 -0
  93. package/bpk-component-barchart/src/utils.js +43 -0
  94. package/bpk-component-barchart/stories.module.css +18 -0
  95. package/bpk-component-barchart/stories.module.scss +37 -0
  96. package/bpk-component-blockquote/README.md +35 -0
  97. package/bpk-component-blockquote/examples.js +33 -0
  98. package/bpk-component-blockquote/index.js +23 -0
  99. package/bpk-component-blockquote/package.json +24 -0
  100. package/bpk-component-blockquote/src/BpkBlockquote.js +50 -0
  101. package/bpk-component-blockquote/src/BpkBlockquote.module.css +18 -0
  102. package/bpk-component-blockquote/src/BpkBlockquote.module.scss +29 -0
  103. package/bpk-component-blockquote/src/themeAttributes.js +19 -0
  104. package/bpk-component-breadcrumb/README.md +58 -0
  105. package/bpk-component-breadcrumb/examples.js +57 -0
  106. package/bpk-component-breadcrumb/index.js +31 -0
  107. package/bpk-component-breadcrumb/package.json +27 -0
  108. package/bpk-component-breadcrumb/src/BpkBreadcrumb.js +111 -0
  109. package/bpk-component-breadcrumb/src/BpkBreadcrumb.module.css +18 -0
  110. package/bpk-component-breadcrumb/src/BpkBreadcrumb.module.scss +27 -0
  111. package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.js +92 -0
  112. package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.module.css +18 -0
  113. package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.module.scss +40 -0
  114. package/bpk-component-breakpoint/README.md +34 -0
  115. package/bpk-component-breakpoint/examples.js +72 -0
  116. package/bpk-component-breakpoint/examples.module.css +18 -0
  117. package/bpk-component-breakpoint/examples.module.scss +36 -0
  118. package/bpk-component-breakpoint/index.js +24 -0
  119. package/bpk-component-breakpoint/package.json +28 -0
  120. package/bpk-component-breakpoint/src/BpkBreakpoint.js +65 -0
  121. package/bpk-component-button/BpkButtonDestructive.js +21 -0
  122. package/bpk-component-button/BpkButtonFeatured.js +21 -0
  123. package/bpk-component-button/BpkButtonLink.js +21 -0
  124. package/bpk-component-button/BpkButtonOutline.js +21 -0
  125. package/bpk-component-button/BpkButtonPrimary.js +21 -0
  126. package/bpk-component-button/BpkButtonSecondary.js +21 -0
  127. package/bpk-component-button/BpkButtonStory.module.css +18 -0
  128. package/bpk-component-button/BpkButtonStory.module.scss +23 -0
  129. package/bpk-component-button/README.md +108 -0
  130. package/bpk-component-button/examples.js +213 -0
  131. package/bpk-component-button/index.js +46 -0
  132. package/bpk-component-button/package.json +26 -0
  133. package/bpk-component-button/src/BpkButton.js +93 -0
  134. package/bpk-component-button/src/BpkButtonBase.js +122 -0
  135. package/bpk-component-button/src/BpkButtonBase.module.css +18 -0
  136. package/bpk-component-button/src/BpkButtonBase.module.scss +50 -0
  137. package/bpk-component-button/src/BpkButtonDestructive.js +48 -0
  138. package/bpk-component-button/src/BpkButtonDestructive.module.css +18 -0
  139. package/bpk-component-button/src/BpkButtonDestructive.module.scss +24 -0
  140. package/bpk-component-button/src/BpkButtonFeatured.js +48 -0
  141. package/bpk-component-button/src/BpkButtonFeatured.module.css +18 -0
  142. package/bpk-component-button/src/BpkButtonFeatured.module.scss +23 -0
  143. package/bpk-component-button/src/BpkButtonLink.js +61 -0
  144. package/bpk-component-button/src/BpkButtonLink.module.css +18 -0
  145. package/bpk-component-button/src/BpkButtonLink.module.scss +29 -0
  146. package/bpk-component-button/src/BpkButtonOutline.js +48 -0
  147. package/bpk-component-button/src/BpkButtonOutline.module.css +18 -0
  148. package/bpk-component-button/src/BpkButtonOutline.module.scss +23 -0
  149. package/bpk-component-button/src/BpkButtonPrimary.js +33 -0
  150. package/bpk-component-button/src/BpkButtonSecondary.js +48 -0
  151. package/bpk-component-button/src/BpkButtonSecondary.module.css +18 -0
  152. package/bpk-component-button/src/BpkButtonSecondary.module.scss +23 -0
  153. package/bpk-component-button/src/common-types.js +62 -0
  154. package/bpk-component-button/src/commonButtonTests.js +116 -0
  155. package/bpk-component-button/src/themeAttributes.js +65 -0
  156. package/bpk-component-button/themeAttributes.js +27 -0
  157. package/bpk-component-calendar/DOCS.md +29 -0
  158. package/bpk-component-calendar/README.md +406 -0
  159. package/bpk-component-calendar/coloured-calendar-example.js +106 -0
  160. package/bpk-component-calendar/examples-components.js +299 -0
  161. package/bpk-component-calendar/examples.js +369 -0
  162. package/bpk-component-calendar/index.js +60 -0
  163. package/bpk-component-calendar/package.json +34 -0
  164. package/bpk-component-calendar/src/BpkCalendar.module.css +18 -0
  165. package/bpk-component-calendar/src/BpkCalendar.module.scss +42 -0
  166. package/bpk-component-calendar/src/BpkCalendarContainer.js +371 -0
  167. package/bpk-component-calendar/src/BpkCalendarDate.js +227 -0
  168. package/bpk-component-calendar/src/BpkCalendarDate.module.css +18 -0
  169. package/bpk-component-calendar/src/BpkCalendarDate.module.scss +164 -0
  170. package/bpk-component-calendar/src/BpkCalendarGrid.js +221 -0
  171. package/bpk-component-calendar/src/BpkCalendarGrid.module.css +18 -0
  172. package/bpk-component-calendar/src/BpkCalendarGrid.module.scss +70 -0
  173. package/bpk-component-calendar/src/BpkCalendarGridHeader.js +109 -0
  174. package/bpk-component-calendar/src/BpkCalendarGridHeader.module.css +18 -0
  175. package/bpk-component-calendar/src/BpkCalendarGridHeader.module.scss +53 -0
  176. package/bpk-component-calendar/src/BpkCalendarGridTransition.js +219 -0
  177. package/bpk-component-calendar/src/BpkCalendarGridTransition.module.css +18 -0
  178. package/bpk-component-calendar/src/BpkCalendarGridTransition.module.scss +47 -0
  179. package/bpk-component-calendar/src/BpkCalendarNav.js +175 -0
  180. package/bpk-component-calendar/src/BpkCalendarNav.module.css +18 -0
  181. package/bpk-component-calendar/src/BpkCalendarNav.module.scss +89 -0
  182. package/bpk-component-calendar/src/Week.js +452 -0
  183. package/bpk-component-calendar/src/_variables.scss +24 -0
  184. package/bpk-component-calendar/src/composeCalendar.js +211 -0
  185. package/bpk-component-calendar/src/custom-proptypes.js +94 -0
  186. package/bpk-component-calendar/src/date-utils.js +222 -0
  187. package/bpk-component-calendar/src/themeAttributes.js +30 -0
  188. package/bpk-component-calendar/src/utils.js +61 -0
  189. package/bpk-component-calendar/test-utils.js +302 -0
  190. package/bpk-component-card/README.md +34 -0
  191. package/bpk-component-card/examples.js +91 -0
  192. package/bpk-component-card/index.js +22 -0
  193. package/bpk-component-card/package.json +28 -0
  194. package/bpk-component-card/src/BpkCard.js +111 -0
  195. package/bpk-component-card/src/BpkCard.module.css +18 -0
  196. package/bpk-component-card/src/BpkCard.module.scss +27 -0
  197. package/bpk-component-checkbox/README.md +47 -0
  198. package/bpk-component-checkbox/examples.js +197 -0
  199. package/bpk-component-checkbox/index.js +25 -0
  200. package/bpk-component-checkbox/package.json +29 -0
  201. package/bpk-component-checkbox/src/BpkCheckbox.js +132 -0
  202. package/bpk-component-checkbox/src/BpkCheckbox.module.css +18 -0
  203. package/bpk-component-checkbox/src/BpkCheckbox.module.scss +70 -0
  204. package/bpk-component-checkbox/src/themeAttributes.js +21 -0
  205. package/bpk-component-chip/README.md +111 -0
  206. package/bpk-component-chip/examples.js +340 -0
  207. package/bpk-component-chip/examples.module.css +18 -0
  208. package/bpk-component-chip/examples.module.scss +33 -0
  209. package/bpk-component-chip/index.js +34 -0
  210. package/bpk-component-chip/package.json +29 -0
  211. package/bpk-component-chip/src/BpkDismissibleChip.js +55 -0
  212. package/bpk-component-chip/src/BpkSelectableChip.js +104 -0
  213. package/bpk-component-chip/src/BpkSelectableChip.module.css +18 -0
  214. package/bpk-component-chip/src/BpkSelectableChip.module.scss +23 -0
  215. package/bpk-component-chip/src/commonTypes.js +60 -0
  216. package/bpk-component-chip/src/themeAttributes.js +34 -0
  217. package/bpk-component-close-button/README.md +27 -0
  218. package/bpk-component-close-button/examples.js +30 -0
  219. package/bpk-component-close-button/index.js +23 -0
  220. package/bpk-component-close-button/package.json +28 -0
  221. package/bpk-component-close-button/src/BpkCloseButton.js +73 -0
  222. package/bpk-component-close-button/src/BpkCloseButton.module.css +18 -0
  223. package/bpk-component-close-button/src/BpkCloseButton.module.scss +51 -0
  224. package/bpk-component-code/README.md +43 -0
  225. package/bpk-component-code/examples.js +56 -0
  226. package/bpk-component-code/index.js +23 -0
  227. package/bpk-component-code/package.json +24 -0
  228. package/bpk-component-code/src/BpkCode.js +64 -0
  229. package/bpk-component-code/src/BpkCode.module.css +18 -0
  230. package/bpk-component-code/src/BpkCode.module.scss +27 -0
  231. package/bpk-component-code/src/BpkCodeBlock.js +62 -0
  232. package/bpk-component-code/src/BpkCodeBlock.module.css +18 -0
  233. package/bpk-component-code/src/BpkCodeBlock.module.scss +33 -0
  234. package/bpk-component-content-container/README.md +33 -0
  235. package/bpk-component-content-container/examples.js +307 -0
  236. package/bpk-component-content-container/index.js +21 -0
  237. package/bpk-component-content-container/package.json +24 -0
  238. package/bpk-component-content-container/src/BpkContentContainer.js +84 -0
  239. package/bpk-component-content-container/src/BpkContentContainer.module.css +18 -0
  240. package/bpk-component-content-container/src/BpkContentContainer.module.scss +41 -0
  241. package/bpk-component-datatable/README.md +141 -0
  242. package/bpk-component-datatable/examples.js +138 -0
  243. package/bpk-component-datatable/index.js +21 -0
  244. package/bpk-component-datatable/package.json +30 -0
  245. package/bpk-component-datatable/src/BpkDataTable.js +196 -0
  246. package/bpk-component-datatable/src/BpkDataTable.module.css +18 -0
  247. package/bpk-component-datatable/src/BpkDataTable.module.scss +92 -0
  248. package/bpk-component-datatable/src/BpkDataTableColumn.js +63 -0
  249. package/bpk-component-datatable/src/BpkDataTableColumn.module.css +18 -0
  250. package/bpk-component-datatable/src/BpkDataTableColumn.module.scss +65 -0
  251. package/bpk-component-datatable/src/bpkHeaderRenderer.js +109 -0
  252. package/bpk-component-datatable/src/common-types.js +50 -0
  253. package/bpk-component-datatable/src/hasChildrenOfType.js +59 -0
  254. package/bpk-component-datatable/src/sort-types.js +29 -0
  255. package/bpk-component-datatable/src/sorter.js +166 -0
  256. package/bpk-component-datatable/src/utils.js +30 -0
  257. package/bpk-component-datepicker/README.md +177 -0
  258. package/bpk-component-datepicker/examples.js +660 -0
  259. package/bpk-component-datepicker/index.js +25 -0
  260. package/bpk-component-datepicker/package.json +33 -0
  261. package/bpk-component-datepicker/src/BpkDatepicker.js +366 -0
  262. package/bpk-component-datepicker/src/BpkDatepicker.module.css +18 -0
  263. package/bpk-component-datepicker/src/BpkDatepicker.module.scss +25 -0
  264. package/bpk-component-datepicker/src/themeAttributes.js +29 -0
  265. package/bpk-component-description-list/README.md +46 -0
  266. package/bpk-component-description-list/examples.js +49 -0
  267. package/bpk-component-description-list/index.js +23 -0
  268. package/bpk-component-description-list/package.json +24 -0
  269. package/bpk-component-description-list/src/BpkDescriptionDetails.js +21 -0
  270. package/bpk-component-description-list/src/BpkDescriptionList.js +21 -0
  271. package/bpk-component-description-list/src/BpkDescriptionList.module.css +18 -0
  272. package/bpk-component-description-list/src/BpkDescriptionList.module.scss +37 -0
  273. package/bpk-component-description-list/src/BpkDescriptionTerm.js +21 -0
  274. package/bpk-component-description-list/src/ComponentFactory.js +54 -0
  275. package/bpk-component-dialog/README.md +105 -0
  276. package/bpk-component-dialog/examples.js +182 -0
  277. package/bpk-component-dialog/examples.module.css +18 -0
  278. package/bpk-component-dialog/examples.module.scss +25 -0
  279. package/bpk-component-dialog/index.js +26 -0
  280. package/bpk-component-dialog/package.json +32 -0
  281. package/bpk-component-dialog/src/BpkDialog.js +89 -0
  282. package/bpk-component-dialog/src/BpkDialog.module.css +18 -0
  283. package/bpk-component-dialog/src/BpkDialog.module.scss +80 -0
  284. package/bpk-component-dialog/src/BpkDialogInner.js +89 -0
  285. package/bpk-component-dialog/src/BpkDialogInner.module.css +18 -0
  286. package/bpk-component-dialog/src/BpkDialogInner.module.scss +62 -0
  287. package/bpk-component-dialog/src/common-types.js +99 -0
  288. package/bpk-component-dialog/stories.css +1 -0
  289. package/bpk-component-drawer/README.md +90 -0
  290. package/bpk-component-drawer/examples.js +271 -0
  291. package/bpk-component-drawer/examples.module.css +18 -0
  292. package/bpk-component-drawer/examples.module.scss +34 -0
  293. package/bpk-component-drawer/index.js +25 -0
  294. package/bpk-component-drawer/package.json +34 -0
  295. package/bpk-component-drawer/src/BpkDrawer.js +104 -0
  296. package/bpk-component-drawer/src/BpkDrawer.module.css +18 -0
  297. package/bpk-component-drawer/src/BpkDrawer.module.scss +23 -0
  298. package/bpk-component-drawer/src/BpkDrawerContent.js +168 -0
  299. package/bpk-component-drawer/src/BpkDrawerContent.module.css +18 -0
  300. package/bpk-component-drawer/src/BpkDrawerContent.module.scss +107 -0
  301. package/bpk-component-drawer/src/themeAttributes.js +23 -0
  302. package/bpk-component-fieldset/README.md +73 -0
  303. package/bpk-component-fieldset/examples.js +527 -0
  304. package/bpk-component-fieldset/examples.module.css +18 -0
  305. package/bpk-component-fieldset/examples.module.scss +46 -0
  306. package/bpk-component-fieldset/index.js +30 -0
  307. package/bpk-component-fieldset/package.json +36 -0
  308. package/bpk-component-fieldset/src/BpkFieldset.js +193 -0
  309. package/bpk-component-fieldset/src/BpkFieldset.module.css +18 -0
  310. package/bpk-component-fieldset/src/BpkFieldset.module.scss +39 -0
  311. package/bpk-component-fieldset/src/themeAttributes.js +19 -0
  312. package/bpk-component-flare/README.md +52 -0
  313. package/bpk-component-flare/examples.js +158 -0
  314. package/bpk-component-flare/examples.module.css +18 -0
  315. package/bpk-component-flare/examples.module.scss +66 -0
  316. package/bpk-component-flare/index.js +25 -0
  317. package/bpk-component-flare/package.json +29 -0
  318. package/bpk-component-flare/src/BpkContentBubble.js +102 -0
  319. package/bpk-component-flare/src/BpkFlareBar.js +76 -0
  320. package/bpk-component-flare/src/__generated__/js/corner-radius.js +5 -0
  321. package/bpk-component-flare/src/__generated__/js/pointer.js +5 -0
  322. package/bpk-component-flare/src/bpk-content-bubble.module.css +18 -0
  323. package/bpk-component-flare/src/bpk-content-bubble.module.scss +60 -0
  324. package/bpk-component-flare/src/bpk-flare-bar.module.css +18 -0
  325. package/bpk-component-flare/src/bpk-flare-bar.module.scss +74 -0
  326. package/bpk-component-flare/src/svgs/corner-radius.svg +1 -0
  327. package/bpk-component-flare/src/svgs/pointer.svg +1 -0
  328. package/bpk-component-form-validation/README.md +33 -0
  329. package/bpk-component-form-validation/examples.js +171 -0
  330. package/bpk-component-form-validation/examples.module.css +18 -0
  331. package/bpk-component-form-validation/examples.module.scss +39 -0
  332. package/bpk-component-form-validation/index.js +23 -0
  333. package/bpk-component-form-validation/package.json +34 -0
  334. package/bpk-component-form-validation/src/BpkFormValidation.js +84 -0
  335. package/bpk-component-form-validation/src/BpkFormValidation.module.css +18 -0
  336. package/bpk-component-form-validation/src/BpkFormValidation.module.scss +44 -0
  337. package/bpk-component-form-validation/src/themeAttributes.js +19 -0
  338. package/bpk-component-grid/README.md +90 -0
  339. package/bpk-component-grid/examples.js +796 -0
  340. package/bpk-component-grid/index.js +25 -0
  341. package/bpk-component-grid/package.json +24 -0
  342. package/bpk-component-grid/src/BpkGridColumn.js +117 -0
  343. package/bpk-component-grid/src/BpkGridColumn.module.css +18 -0
  344. package/bpk-component-grid/src/BpkGridColumn.module.scss +73 -0
  345. package/bpk-component-grid/src/BpkGridContainer.js +61 -0
  346. package/bpk-component-grid/src/BpkGridContainer.module.css +18 -0
  347. package/bpk-component-grid/src/BpkGridContainer.module.scss +33 -0
  348. package/bpk-component-grid/src/BpkGridRow.js +56 -0
  349. package/bpk-component-grid/src/BpkGridRow.module.css +18 -0
  350. package/bpk-component-grid/src/BpkGridRow.module.scss +29 -0
  351. package/bpk-component-grid-toggle/README.md +27 -0
  352. package/bpk-component-grid-toggle/examples.js +25 -0
  353. package/bpk-component-grid-toggle/index.js +21 -0
  354. package/bpk-component-grid-toggle/package.json +25 -0
  355. package/bpk-component-grid-toggle/src/BpkGridToggle.js +95 -0
  356. package/bpk-component-grid-toggle/src/BpkGridToggle.module.css +18 -0
  357. package/bpk-component-grid-toggle/src/BpkGridToggle.module.scss +52 -0
  358. package/bpk-component-heading/README.md +31 -0
  359. package/bpk-component-heading/examples.js +36 -0
  360. package/bpk-component-heading/index.js +23 -0
  361. package/bpk-component-heading/package.json +25 -0
  362. package/bpk-component-heading/src/BpkHeading.js +70 -0
  363. package/bpk-component-heading/src/BpkHeading.module.css +18 -0
  364. package/bpk-component-heading/src/BpkHeading.module.scss +49 -0
  365. package/bpk-component-horizontal-nav/README.md +103 -0
  366. package/bpk-component-horizontal-nav/examples.js +189 -0
  367. package/bpk-component-horizontal-nav/examples.module.css +18 -0
  368. package/bpk-component-horizontal-nav/examples.module.scss +48 -0
  369. package/bpk-component-horizontal-nav/index.js +32 -0
  370. package/bpk-component-horizontal-nav/package.json +30 -0
  371. package/bpk-component-horizontal-nav/src/BpkHorizontalNav.js +211 -0
  372. package/bpk-component-horizontal-nav/src/BpkHorizontalNav.module.css +18 -0
  373. package/bpk-component-horizontal-nav/src/BpkHorizontalNav.module.scss +37 -0
  374. package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.js +126 -0
  375. package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.module.css +18 -0
  376. package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.module.scss +152 -0
  377. package/bpk-component-icon/README.md +79 -0
  378. package/bpk-component-icon/all.js +33 -0
  379. package/bpk-component-icon/examples.js +152 -0
  380. package/bpk-component-icon/index.js +49 -0
  381. package/bpk-component-icon/lg/accessibility.js +8 -0
  382. package/bpk-component-icon/lg/account--add.js +8 -0
  383. package/bpk-component-icon/lg/account--female.js +8 -0
  384. package/bpk-component-icon/lg/account--id-card.js +8 -0
  385. package/bpk-component-icon/lg/account--name.js +8 -0
  386. package/bpk-component-icon/lg/account--permit.js +8 -0
  387. package/bpk-component-icon/lg/account-circle.js +8 -0
  388. package/bpk-component-icon/lg/account.js +8 -0
  389. package/bpk-component-icon/lg/add-circle.js +8 -0
  390. package/bpk-component-icon/lg/adult.js +8 -0
  391. package/bpk-component-icon/lg/aircon.js +8 -0
  392. package/bpk-component-icon/lg/aircraft.js +8 -0
  393. package/bpk-component-icon/lg/airline--multiple.js +8 -0
  394. package/bpk-component-icon/lg/airline.js +8 -0
  395. package/bpk-component-icon/lg/airports.js +8 -0
  396. package/bpk-component-icon/lg/alert--active.js +8 -0
  397. package/bpk-component-icon/lg/alert--add.js +8 -0
  398. package/bpk-component-icon/lg/alert--expired.js +8 -0
  399. package/bpk-component-icon/lg/alert--remove.js +8 -0
  400. package/bpk-component-icon/lg/arrow-down.js +8 -0
  401. package/bpk-component-icon/lg/arrow-left.js +8 -0
  402. package/bpk-component-icon/lg/arrow-right.js +8 -0
  403. package/bpk-component-icon/lg/arrow-up.js +8 -0
  404. package/bpk-component-icon/lg/award.js +8 -0
  405. package/bpk-component-icon/lg/baby-carriage.js +8 -0
  406. package/bpk-component-icon/lg/baggage--add.js +8 -0
  407. package/bpk-component-icon/lg/baggage--remove.js +8 -0
  408. package/bpk-component-icon/lg/baggage-cross.js +8 -0
  409. package/bpk-component-icon/lg/baggage-tick.js +8 -0
  410. package/bpk-component-icon/lg/baggage.js +8 -0
  411. package/bpk-component-icon/lg/bar.js +8 -0
  412. package/bpk-component-icon/lg/beach.js +8 -0
  413. package/bpk-component-icon/lg/beer.js +8 -0
  414. package/bpk-component-icon/lg/breakfast-cross.js +8 -0
  415. package/bpk-component-icon/lg/breakfast-tick.js +8 -0
  416. package/bpk-component-icon/lg/bus.js +8 -0
  417. package/bpk-component-icon/lg/business.js +8 -0
  418. package/bpk-component-icon/lg/cafe.js +8 -0
  419. package/bpk-component-icon/lg/calendar.js +8 -0
  420. package/bpk-component-icon/lg/call-back.js +8 -0
  421. package/bpk-component-icon/lg/camera.js +8 -0
  422. package/bpk-component-icon/lg/camper-van.js +8 -0
  423. package/bpk-component-icon/lg/car-door.js +8 -0
  424. package/bpk-component-icon/lg/car-wash.js +8 -0
  425. package/bpk-component-icon/lg/cars-flexible.js +8 -0
  426. package/bpk-component-icon/lg/cars.js +8 -0
  427. package/bpk-component-icon/lg/center-location.js +8 -0
  428. package/bpk-component-icon/lg/chart.js +8 -0
  429. package/bpk-component-icon/lg/chauffeur.js +8 -0
  430. package/bpk-component-icon/lg/chevron-down.js +8 -0
  431. package/bpk-component-icon/lg/chevron-left.js +8 -0
  432. package/bpk-component-icon/lg/chevron-right.js +8 -0
  433. package/bpk-component-icon/lg/chevron-up.js +8 -0
  434. package/bpk-component-icon/lg/child-seat.js +8 -0
  435. package/bpk-component-icon/lg/child.js +8 -0
  436. package/bpk-component-icon/lg/city-center.js +8 -0
  437. package/bpk-component-icon/lg/city.js +8 -0
  438. package/bpk-component-icon/lg/clean-policy.js +8 -0
  439. package/bpk-component-icon/lg/clean.js +8 -0
  440. package/bpk-component-icon/lg/cleaning-medical.js +8 -0
  441. package/bpk-component-icon/lg/cloakroom.js +8 -0
  442. package/bpk-component-icon/lg/close-circle.js +8 -0
  443. package/bpk-component-icon/lg/close.js +8 -0
  444. package/bpk-component-icon/lg/collapse.js +8 -0
  445. package/bpk-component-icon/lg/content--copy.js +8 -0
  446. package/bpk-component-icon/lg/content--event.js +8 -0
  447. package/bpk-component-icon/lg/content--guides.js +8 -0
  448. package/bpk-component-icon/lg/currency.js +8 -0
  449. package/bpk-component-icon/lg/data.js +8 -0
  450. package/bpk-component-icon/lg/deals.js +8 -0
  451. package/bpk-component-icon/lg/depart.js +8 -0
  452. package/bpk-component-icon/lg/device-mid.js +8 -0
  453. package/bpk-component-icon/lg/device-wide.js +8 -0
  454. package/bpk-component-icon/lg/direct.js +8 -0
  455. package/bpk-component-icon/lg/document-csv.js +8 -0
  456. package/bpk-component-icon/lg/document-pdf.js +8 -0
  457. package/bpk-component-icon/lg/download.js +8 -0
  458. package/bpk-component-icon/lg/duration.js +8 -0
  459. package/bpk-component-icon/lg/eco-leaf.js +8 -0
  460. package/bpk-component-icon/lg/edit.js +8 -0
  461. package/bpk-component-icon/lg/education.js +8 -0
  462. package/bpk-component-icon/lg/electric.js +8 -0
  463. package/bpk-component-icon/lg/end-call.js +8 -0
  464. package/bpk-component-icon/lg/estimated.js +8 -0
  465. package/bpk-component-icon/lg/exclamation-circle.js +8 -0
  466. package/bpk-component-icon/lg/exclamation.js +8 -0
  467. package/bpk-component-icon/lg/expand.js +8 -0
  468. package/bpk-component-icon/lg/explore.js +8 -0
  469. package/bpk-component-icon/lg/face--blank.js +8 -0
  470. package/bpk-component-icon/lg/face--happy.js +8 -0
  471. package/bpk-component-icon/lg/face--sad.js +8 -0
  472. package/bpk-component-icon/lg/face-id.js +8 -0
  473. package/bpk-component-icon/lg/face-mask.js +8 -0
  474. package/bpk-component-icon/lg/family.js +8 -0
  475. package/bpk-component-icon/lg/fast-track.js +8 -0
  476. package/bpk-component-icon/lg/fast-train.js +8 -0
  477. package/bpk-component-icon/lg/filter.js +8 -0
  478. package/bpk-component-icon/lg/fingerprint.js +8 -0
  479. package/bpk-component-icon/lg/flag.js +8 -0
  480. package/bpk-component-icon/lg/flask.js +8 -0
  481. package/bpk-component-icon/lg/flight-flexible.js +8 -0
  482. package/bpk-component-icon/lg/flight-landing.js +8 -0
  483. package/bpk-component-icon/lg/flight-takeoff.js +8 -0
  484. package/bpk-component-icon/lg/flight.js +8 -0
  485. package/bpk-component-icon/lg/food.js +8 -0
  486. package/bpk-component-icon/lg/gears-automatic-circle.js +8 -0
  487. package/bpk-component-icon/lg/gears-automatic.js +8 -0
  488. package/bpk-component-icon/lg/gears-manual-circle.js +8 -0
  489. package/bpk-component-icon/lg/gears-manual.js +8 -0
  490. package/bpk-component-icon/lg/globe.js +8 -0
  491. package/bpk-component-icon/lg/grid-layout.js +8 -0
  492. package/bpk-component-icon/lg/headset.js +8 -0
  493. package/bpk-component-icon/lg/health-fitness.js +8 -0
  494. package/bpk-component-icon/lg/heart--outline.js +8 -0
  495. package/bpk-component-icon/lg/heart.js +8 -0
  496. package/bpk-component-icon/lg/help-circle.js +8 -0
  497. package/bpk-component-icon/lg/help.js +8 -0
  498. package/bpk-component-icon/lg/hide.js +8 -0
  499. package/bpk-component-icon/lg/hotel-flexible.js +8 -0
  500. package/bpk-component-icon/lg/hotels--disabled-facilities.js +8 -0
  501. package/bpk-component-icon/lg/hotels--jacuzzi.js +8 -0
  502. package/bpk-component-icon/lg/hotels--pets-allowed.js +8 -0
  503. package/bpk-component-icon/lg/hotels--smoking.js +8 -0
  504. package/bpk-component-icon/lg/hotels.js +8 -0
  505. package/bpk-component-icon/lg/infant.js +8 -0
  506. package/bpk-component-icon/lg/information--language-alert.js +8 -0
  507. package/bpk-component-icon/lg/information--language-question.js +8 -0
  508. package/bpk-component-icon/lg/information--language.js +8 -0
  509. package/bpk-component-icon/lg/information-circle.js +8 -0
  510. package/bpk-component-icon/lg/information.js +8 -0
  511. package/bpk-component-icon/lg/insurance.js +8 -0
  512. package/bpk-component-icon/lg/key.js +8 -0
  513. package/bpk-component-icon/lg/keypad.js +8 -0
  514. package/bpk-component-icon/lg/landmark.js +8 -0
  515. package/bpk-component-icon/lg/language.js +8 -0
  516. package/bpk-component-icon/lg/legroom--extra.js +8 -0
  517. package/bpk-component-icon/lg/legroom--normal.js +8 -0
  518. package/bpk-component-icon/lg/legroom--reduced.js +8 -0
  519. package/bpk-component-icon/lg/leisure.js +8 -0
  520. package/bpk-component-icon/lg/lightning.js +8 -0
  521. package/bpk-component-icon/lg/list.js +8 -0
  522. package/bpk-component-icon/lg/location.js +8 -0
  523. package/bpk-component-icon/lg/lock.js +8 -0
  524. package/bpk-component-icon/lg/logout.js +8 -0
  525. package/bpk-component-icon/lg/long-arrow-down.js +8 -0
  526. package/bpk-component-icon/lg/long-arrow-left.js +8 -0
  527. package/bpk-component-icon/lg/long-arrow-right.js +8 -0
  528. package/bpk-component-icon/lg/long-arrow-up.js +8 -0
  529. package/bpk-component-icon/lg/lounge.js +8 -0
  530. package/bpk-component-icon/lg/luggageall.js +8 -0
  531. package/bpk-component-icon/lg/mail.js +8 -0
  532. package/bpk-component-icon/lg/map.js +8 -0
  533. package/bpk-component-icon/lg/meal.js +8 -0
  534. package/bpk-component-icon/lg/media.js +8 -0
  535. package/bpk-component-icon/lg/menu--horizontal.js +8 -0
  536. package/bpk-component-icon/lg/menu--vertical.js +8 -0
  537. package/bpk-component-icon/lg/menu.js +8 -0
  538. package/bpk-component-icon/lg/mileage.js +8 -0
  539. package/bpk-component-icon/lg/minus.js +8 -0
  540. package/bpk-component-icon/lg/mobile.js +8 -0
  541. package/bpk-component-icon/lg/money.js +8 -0
  542. package/bpk-component-icon/lg/multiple-bookings.js +8 -0
  543. package/bpk-component-icon/lg/music.js +8 -0
  544. package/bpk-component-icon/lg/mute.js +8 -0
  545. package/bpk-component-icon/lg/native-android--back.js +8 -0
  546. package/bpk-component-icon/lg/native-android--close.js +8 -0
  547. package/bpk-component-icon/lg/native-android--forward.js +8 -0
  548. package/bpk-component-icon/lg/native-ios-close.js +8 -0
  549. package/bpk-component-icon/lg/navigation.js +8 -0
  550. package/bpk-component-icon/lg/new-window.js +8 -0
  551. package/bpk-component-icon/lg/news.js +8 -0
  552. package/bpk-component-icon/lg/night.js +8 -0
  553. package/bpk-component-icon/lg/not-allowed.js +8 -0
  554. package/bpk-component-icon/lg/onsen.js +8 -0
  555. package/bpk-component-icon/lg/paid.js +8 -0
  556. package/bpk-component-icon/lg/paperclip.js +8 -0
  557. package/bpk-component-icon/lg/parking.js +8 -0
  558. package/bpk-component-icon/lg/passport.js +8 -0
  559. package/bpk-component-icon/lg/pause.js +8 -0
  560. package/bpk-component-icon/lg/payment-card.js +8 -0
  561. package/bpk-component-icon/lg/petrol.js +8 -0
  562. package/bpk-component-icon/lg/phone-call.js +8 -0
  563. package/bpk-component-icon/lg/picture.js +8 -0
  564. package/bpk-component-icon/lg/pin.js +8 -0
  565. package/bpk-component-icon/lg/plane-seat.js +8 -0
  566. package/bpk-component-icon/lg/play.js +8 -0
  567. package/bpk-component-icon/lg/plus.js +8 -0
  568. package/bpk-component-icon/lg/policy.js +8 -0
  569. package/bpk-component-icon/lg/powerplug.js +8 -0
  570. package/bpk-component-icon/lg/ppe.js +8 -0
  571. package/bpk-component-icon/lg/price-alerts.js +8 -0
  572. package/bpk-component-icon/lg/price-tag.js +8 -0
  573. package/bpk-component-icon/lg/print.js +8 -0
  574. package/bpk-component-icon/lg/recent-searches.js +8 -0
  575. package/bpk-component-icon/lg/redo.js +8 -0
  576. package/bpk-component-icon/lg/refresh.js +8 -0
  577. package/bpk-component-icon/lg/return.js +8 -0
  578. package/bpk-component-icon/lg/room.js +8 -0
  579. package/bpk-component-icon/lg/scales.js +8 -0
  580. package/bpk-component-icon/lg/search.js +8 -0
  581. package/bpk-component-icon/lg/self-service.js +8 -0
  582. package/bpk-component-icon/lg/send-message.js +8 -0
  583. package/bpk-component-icon/lg/services.js +8 -0
  584. package/bpk-component-icon/lg/settings.js +8 -0
  585. package/bpk-component-icon/lg/share--android.js +8 -0
  586. package/bpk-component-icon/lg/share--ios.js +8 -0
  587. package/bpk-component-icon/lg/share.js +8 -0
  588. package/bpk-component-icon/lg/single-booking.js +8 -0
  589. package/bpk-component-icon/lg/social-distancing.js +8 -0
  590. package/bpk-component-icon/lg/social-like.js +8 -0
  591. package/bpk-component-icon/lg/sort-down.js +8 -0
  592. package/bpk-component-icon/lg/sort-up.js +8 -0
  593. package/bpk-component-icon/lg/sort.js +8 -0
  594. package/bpk-component-icon/lg/speaker.js +8 -0
  595. package/bpk-component-icon/lg/star-half.js +8 -0
  596. package/bpk-component-icon/lg/star-outline.js +8 -0
  597. package/bpk-component-icon/lg/star.js +8 -0
  598. package/bpk-component-icon/lg/stops.js +8 -0
  599. package/bpk-component-icon/lg/swap--horizontal.js +8 -0
  600. package/bpk-component-icon/lg/swap--vertical.js +8 -0
  601. package/bpk-component-icon/lg/swap.js +8 -0
  602. package/bpk-component-icon/lg/taxi.js +8 -0
  603. package/bpk-component-icon/lg/thumbs-down.js +8 -0
  604. package/bpk-component-icon/lg/thumbs-up.js +8 -0
  605. package/bpk-component-icon/lg/tick-circle.js +8 -0
  606. package/bpk-component-icon/lg/tick.js +8 -0
  607. package/bpk-component-icon/lg/ticket-flexible.js +8 -0
  608. package/bpk-component-icon/lg/ticket.js +8 -0
  609. package/bpk-component-icon/lg/time.js +8 -0
  610. package/bpk-component-icon/lg/toilets.js +8 -0
  611. package/bpk-component-icon/lg/train.js +8 -0
  612. package/bpk-component-icon/lg/transmission-automatic.js +8 -0
  613. package/bpk-component-icon/lg/transmission-manual.js +8 -0
  614. package/bpk-component-icon/lg/trash.js +8 -0
  615. package/bpk-component-icon/lg/trend--down.js +8 -0
  616. package/bpk-component-icon/lg/trend--steady.js +8 -0
  617. package/bpk-component-icon/lg/trend--will-rise.js +8 -0
  618. package/bpk-component-icon/lg/trend.js +8 -0
  619. package/bpk-component-icon/lg/trips.js +8 -0
  620. package/bpk-component-icon/lg/undo.js +8 -0
  621. package/bpk-component-icon/lg/unlock.js +8 -0
  622. package/bpk-component-icon/lg/unmute.js +8 -0
  623. package/bpk-component-icon/lg/upgrade.js +8 -0
  624. package/bpk-component-icon/lg/use-location.js +8 -0
  625. package/bpk-component-icon/lg/view.js +8 -0
  626. package/bpk-component-icon/lg/virus.js +8 -0
  627. package/bpk-component-icon/lg/wallet.js +8 -0
  628. package/bpk-component-icon/lg/weather--clear.js +8 -0
  629. package/bpk-component-icon/lg/weather--cloudy.js +8 -0
  630. package/bpk-component-icon/lg/weather--fog.js +8 -0
  631. package/bpk-component-icon/lg/weather--partly-cloudy.js +8 -0
  632. package/bpk-component-icon/lg/weather--rain.js +8 -0
  633. package/bpk-component-icon/lg/weather--snow.js +8 -0
  634. package/bpk-component-icon/lg/weather--thunderstorm.js +8 -0
  635. package/bpk-component-icon/lg/weather--tornado.js +8 -0
  636. package/bpk-component-icon/lg/weather--wind.js +8 -0
  637. package/bpk-component-icon/lg/weather.js +8 -0
  638. package/bpk-component-icon/lg/wifi.js +8 -0
  639. package/bpk-component-icon/lg/window--reduce.js +8 -0
  640. package/bpk-component-icon/lg/window.js +8 -0
  641. package/bpk-component-icon/lg/world--amer.js +8 -0
  642. package/bpk-component-icon/lg/world--apac.js +8 -0
  643. package/bpk-component-icon/lg/world--emea.js +8 -0
  644. package/bpk-component-icon/package.json +34 -0
  645. package/bpk-component-icon/sm/accessibility.js +8 -0
  646. package/bpk-component-icon/sm/account--add.js +8 -0
  647. package/bpk-component-icon/sm/account--female.js +8 -0
  648. package/bpk-component-icon/sm/account--id-card.js +8 -0
  649. package/bpk-component-icon/sm/account--name.js +8 -0
  650. package/bpk-component-icon/sm/account--permit.js +8 -0
  651. package/bpk-component-icon/sm/account-circle.js +8 -0
  652. package/bpk-component-icon/sm/account.js +8 -0
  653. package/bpk-component-icon/sm/add-circle.js +8 -0
  654. package/bpk-component-icon/sm/adult.js +8 -0
  655. package/bpk-component-icon/sm/aircon.js +8 -0
  656. package/bpk-component-icon/sm/aircraft.js +8 -0
  657. package/bpk-component-icon/sm/airline--multiple.js +8 -0
  658. package/bpk-component-icon/sm/airline.js +8 -0
  659. package/bpk-component-icon/sm/airports.js +8 -0
  660. package/bpk-component-icon/sm/alert--active.js +8 -0
  661. package/bpk-component-icon/sm/alert--add.js +8 -0
  662. package/bpk-component-icon/sm/alert--expired.js +8 -0
  663. package/bpk-component-icon/sm/alert--remove.js +8 -0
  664. package/bpk-component-icon/sm/arrow-down.js +8 -0
  665. package/bpk-component-icon/sm/arrow-left.js +8 -0
  666. package/bpk-component-icon/sm/arrow-right.js +8 -0
  667. package/bpk-component-icon/sm/arrow-up.js +8 -0
  668. package/bpk-component-icon/sm/award.js +8 -0
  669. package/bpk-component-icon/sm/baby-carriage.js +8 -0
  670. package/bpk-component-icon/sm/baggage--add.js +8 -0
  671. package/bpk-component-icon/sm/baggage--remove.js +8 -0
  672. package/bpk-component-icon/sm/baggage-cross.js +8 -0
  673. package/bpk-component-icon/sm/baggage-tick.js +8 -0
  674. package/bpk-component-icon/sm/baggage.js +8 -0
  675. package/bpk-component-icon/sm/bar.js +8 -0
  676. package/bpk-component-icon/sm/beach.js +8 -0
  677. package/bpk-component-icon/sm/beer.js +8 -0
  678. package/bpk-component-icon/sm/breakfast-cross.js +8 -0
  679. package/bpk-component-icon/sm/breakfast-tick.js +8 -0
  680. package/bpk-component-icon/sm/bus.js +8 -0
  681. package/bpk-component-icon/sm/business.js +8 -0
  682. package/bpk-component-icon/sm/cafe.js +8 -0
  683. package/bpk-component-icon/sm/calendar.js +8 -0
  684. package/bpk-component-icon/sm/call-back.js +8 -0
  685. package/bpk-component-icon/sm/camera.js +8 -0
  686. package/bpk-component-icon/sm/camper-van.js +8 -0
  687. package/bpk-component-icon/sm/car-door.js +8 -0
  688. package/bpk-component-icon/sm/car-wash.js +8 -0
  689. package/bpk-component-icon/sm/cars-flexible.js +8 -0
  690. package/bpk-component-icon/sm/cars.js +8 -0
  691. package/bpk-component-icon/sm/chart.js +8 -0
  692. package/bpk-component-icon/sm/chauffeur.js +8 -0
  693. package/bpk-component-icon/sm/chevron-down.js +8 -0
  694. package/bpk-component-icon/sm/chevron-left.js +8 -0
  695. package/bpk-component-icon/sm/chevron-right.js +8 -0
  696. package/bpk-component-icon/sm/chevron-up.js +8 -0
  697. package/bpk-component-icon/sm/child-seat.js +8 -0
  698. package/bpk-component-icon/sm/child.js +8 -0
  699. package/bpk-component-icon/sm/city-center.js +8 -0
  700. package/bpk-component-icon/sm/city.js +8 -0
  701. package/bpk-component-icon/sm/clean-policy.js +8 -0
  702. package/bpk-component-icon/sm/clean.js +8 -0
  703. package/bpk-component-icon/sm/cleaning-medical.js +8 -0
  704. package/bpk-component-icon/sm/cloakroom.js +8 -0
  705. package/bpk-component-icon/sm/close-circle.js +8 -0
  706. package/bpk-component-icon/sm/close.js +8 -0
  707. package/bpk-component-icon/sm/collapse.js +8 -0
  708. package/bpk-component-icon/sm/content--copy.js +8 -0
  709. package/bpk-component-icon/sm/content--event.js +8 -0
  710. package/bpk-component-icon/sm/content--guides.js +8 -0
  711. package/bpk-component-icon/sm/currency.js +8 -0
  712. package/bpk-component-icon/sm/data.js +8 -0
  713. package/bpk-component-icon/sm/deals.js +8 -0
  714. package/bpk-component-icon/sm/depart.js +8 -0
  715. package/bpk-component-icon/sm/device-mid.js +8 -0
  716. package/bpk-component-icon/sm/device-wide.js +8 -0
  717. package/bpk-component-icon/sm/direct.js +8 -0
  718. package/bpk-component-icon/sm/document-csv.js +8 -0
  719. package/bpk-component-icon/sm/document-pdf.js +8 -0
  720. package/bpk-component-icon/sm/download.js +8 -0
  721. package/bpk-component-icon/sm/duration.js +8 -0
  722. package/bpk-component-icon/sm/eco-leaf.js +8 -0
  723. package/bpk-component-icon/sm/edit.js +8 -0
  724. package/bpk-component-icon/sm/education.js +8 -0
  725. package/bpk-component-icon/sm/electric.js +8 -0
  726. package/bpk-component-icon/sm/end-call.js +8 -0
  727. package/bpk-component-icon/sm/estimated.js +8 -0
  728. package/bpk-component-icon/sm/exclamation-circle.js +8 -0
  729. package/bpk-component-icon/sm/exclamation.js +8 -0
  730. package/bpk-component-icon/sm/expand.js +8 -0
  731. package/bpk-component-icon/sm/explore.js +8 -0
  732. package/bpk-component-icon/sm/face--blank.js +8 -0
  733. package/bpk-component-icon/sm/face--happy.js +8 -0
  734. package/bpk-component-icon/sm/face--sad.js +8 -0
  735. package/bpk-component-icon/sm/face-mask.js +8 -0
  736. package/bpk-component-icon/sm/family.js +8 -0
  737. package/bpk-component-icon/sm/fast-track.js +8 -0
  738. package/bpk-component-icon/sm/fast-train.js +8 -0
  739. package/bpk-component-icon/sm/filter.js +8 -0
  740. package/bpk-component-icon/sm/flag.js +8 -0
  741. package/bpk-component-icon/sm/flask.js +8 -0
  742. package/bpk-component-icon/sm/flight-flexible.js +8 -0
  743. package/bpk-component-icon/sm/flight-landing.js +8 -0
  744. package/bpk-component-icon/sm/flight-takeoff.js +8 -0
  745. package/bpk-component-icon/sm/flight.js +8 -0
  746. package/bpk-component-icon/sm/food.js +8 -0
  747. package/bpk-component-icon/sm/gears-automatic-circle.js +8 -0
  748. package/bpk-component-icon/sm/gears-automatic.js +8 -0
  749. package/bpk-component-icon/sm/gears-manual-circle.js +8 -0
  750. package/bpk-component-icon/sm/gears-manual.js +8 -0
  751. package/bpk-component-icon/sm/globe.js +8 -0
  752. package/bpk-component-icon/sm/grid-layout.js +8 -0
  753. package/bpk-component-icon/sm/headset.js +8 -0
  754. package/bpk-component-icon/sm/health-fitness.js +8 -0
  755. package/bpk-component-icon/sm/heart--outline.js +8 -0
  756. package/bpk-component-icon/sm/heart.js +8 -0
  757. package/bpk-component-icon/sm/help-circle.js +8 -0
  758. package/bpk-component-icon/sm/help.js +8 -0
  759. package/bpk-component-icon/sm/hide.js +8 -0
  760. package/bpk-component-icon/sm/hotel-flexible.js +8 -0
  761. package/bpk-component-icon/sm/hotels--disabled-facilities.js +8 -0
  762. package/bpk-component-icon/sm/hotels--jacuzzi.js +8 -0
  763. package/bpk-component-icon/sm/hotels--pets-allowed.js +8 -0
  764. package/bpk-component-icon/sm/hotels--smoking.js +8 -0
  765. package/bpk-component-icon/sm/hotels.js +8 -0
  766. package/bpk-component-icon/sm/infant.js +8 -0
  767. package/bpk-component-icon/sm/information--language-alert.js +8 -0
  768. package/bpk-component-icon/sm/information--language-question.js +8 -0
  769. package/bpk-component-icon/sm/information--language.js +8 -0
  770. package/bpk-component-icon/sm/information-circle.js +8 -0
  771. package/bpk-component-icon/sm/information.js +8 -0
  772. package/bpk-component-icon/sm/insurance.js +8 -0
  773. package/bpk-component-icon/sm/key.js +8 -0
  774. package/bpk-component-icon/sm/keypad.js +8 -0
  775. package/bpk-component-icon/sm/landmark.js +8 -0
  776. package/bpk-component-icon/sm/language.js +8 -0
  777. package/bpk-component-icon/sm/legroom--extra.js +8 -0
  778. package/bpk-component-icon/sm/legroom--normal.js +8 -0
  779. package/bpk-component-icon/sm/legroom--reduced.js +8 -0
  780. package/bpk-component-icon/sm/leisure.js +8 -0
  781. package/bpk-component-icon/sm/lightning.js +8 -0
  782. package/bpk-component-icon/sm/list.js +8 -0
  783. package/bpk-component-icon/sm/location.js +8 -0
  784. package/bpk-component-icon/sm/lock.js +8 -0
  785. package/bpk-component-icon/sm/logout.js +8 -0
  786. package/bpk-component-icon/sm/long-arrow-down.js +8 -0
  787. package/bpk-component-icon/sm/long-arrow-left.js +8 -0
  788. package/bpk-component-icon/sm/long-arrow-right.js +8 -0
  789. package/bpk-component-icon/sm/long-arrow-up.js +8 -0
  790. package/bpk-component-icon/sm/lounge.js +8 -0
  791. package/bpk-component-icon/sm/luggageall.js +8 -0
  792. package/bpk-component-icon/sm/mail.js +8 -0
  793. package/bpk-component-icon/sm/map.js +8 -0
  794. package/bpk-component-icon/sm/meal.js +8 -0
  795. package/bpk-component-icon/sm/media.js +8 -0
  796. package/bpk-component-icon/sm/menu--horizontal.js +8 -0
  797. package/bpk-component-icon/sm/menu--vertical.js +8 -0
  798. package/bpk-component-icon/sm/menu.js +8 -0
  799. package/bpk-component-icon/sm/mileage.js +8 -0
  800. package/bpk-component-icon/sm/minus.js +8 -0
  801. package/bpk-component-icon/sm/mobile.js +8 -0
  802. package/bpk-component-icon/sm/money.js +8 -0
  803. package/bpk-component-icon/sm/multiple-bookings.js +8 -0
  804. package/bpk-component-icon/sm/music.js +8 -0
  805. package/bpk-component-icon/sm/mute.js +8 -0
  806. package/bpk-component-icon/sm/native-android--back.js +8 -0
  807. package/bpk-component-icon/sm/native-android--close.js +8 -0
  808. package/bpk-component-icon/sm/native-android--forward.js +8 -0
  809. package/bpk-component-icon/sm/native-ios-close.js +8 -0
  810. package/bpk-component-icon/sm/navigation.js +8 -0
  811. package/bpk-component-icon/sm/new-window.js +8 -0
  812. package/bpk-component-icon/sm/news.js +8 -0
  813. package/bpk-component-icon/sm/night.js +8 -0
  814. package/bpk-component-icon/sm/not-allowed.js +8 -0
  815. package/bpk-component-icon/sm/onsen.js +8 -0
  816. package/bpk-component-icon/sm/paid.js +8 -0
  817. package/bpk-component-icon/sm/paperclip.js +8 -0
  818. package/bpk-component-icon/sm/parking.js +8 -0
  819. package/bpk-component-icon/sm/passport.js +8 -0
  820. package/bpk-component-icon/sm/pause.js +8 -0
  821. package/bpk-component-icon/sm/payment-card.js +8 -0
  822. package/bpk-component-icon/sm/petrol.js +8 -0
  823. package/bpk-component-icon/sm/phone-call.js +8 -0
  824. package/bpk-component-icon/sm/picture.js +8 -0
  825. package/bpk-component-icon/sm/pin.js +8 -0
  826. package/bpk-component-icon/sm/plane-seat.js +8 -0
  827. package/bpk-component-icon/sm/play.js +8 -0
  828. package/bpk-component-icon/sm/plus.js +8 -0
  829. package/bpk-component-icon/sm/policy.js +8 -0
  830. package/bpk-component-icon/sm/powerplug.js +8 -0
  831. package/bpk-component-icon/sm/ppe.js +8 -0
  832. package/bpk-component-icon/sm/price-alerts.js +8 -0
  833. package/bpk-component-icon/sm/price-tag.js +8 -0
  834. package/bpk-component-icon/sm/print.js +8 -0
  835. package/bpk-component-icon/sm/recent-searches.js +8 -0
  836. package/bpk-component-icon/sm/redo.js +8 -0
  837. package/bpk-component-icon/sm/refresh.js +8 -0
  838. package/bpk-component-icon/sm/return.js +8 -0
  839. package/bpk-component-icon/sm/room.js +8 -0
  840. package/bpk-component-icon/sm/scales.js +8 -0
  841. package/bpk-component-icon/sm/search.js +8 -0
  842. package/bpk-component-icon/sm/self-service.js +8 -0
  843. package/bpk-component-icon/sm/send-message.js +8 -0
  844. package/bpk-component-icon/sm/services.js +8 -0
  845. package/bpk-component-icon/sm/settings.js +8 -0
  846. package/bpk-component-icon/sm/share--android.js +8 -0
  847. package/bpk-component-icon/sm/share--ios.js +8 -0
  848. package/bpk-component-icon/sm/share.js +8 -0
  849. package/bpk-component-icon/sm/single-booking.js +8 -0
  850. package/bpk-component-icon/sm/social-distancing.js +8 -0
  851. package/bpk-component-icon/sm/social-like.js +8 -0
  852. package/bpk-component-icon/sm/sort-down.js +8 -0
  853. package/bpk-component-icon/sm/sort-up.js +8 -0
  854. package/bpk-component-icon/sm/sort.js +8 -0
  855. package/bpk-component-icon/sm/speaker.js +8 -0
  856. package/bpk-component-icon/sm/star-half.js +8 -0
  857. package/bpk-component-icon/sm/star-outline.js +8 -0
  858. package/bpk-component-icon/sm/star.js +8 -0
  859. package/bpk-component-icon/sm/stops.js +8 -0
  860. package/bpk-component-icon/sm/swap--horizontal.js +8 -0
  861. package/bpk-component-icon/sm/swap--vertical.js +8 -0
  862. package/bpk-component-icon/sm/swap.js +8 -0
  863. package/bpk-component-icon/sm/taxi.js +8 -0
  864. package/bpk-component-icon/sm/thumbs-down.js +8 -0
  865. package/bpk-component-icon/sm/thumbs-up.js +8 -0
  866. package/bpk-component-icon/sm/tick-circle.js +8 -0
  867. package/bpk-component-icon/sm/tick.js +8 -0
  868. package/bpk-component-icon/sm/ticket-flexible.js +8 -0
  869. package/bpk-component-icon/sm/ticket.js +8 -0
  870. package/bpk-component-icon/sm/time.js +8 -0
  871. package/bpk-component-icon/sm/toilets.js +8 -0
  872. package/bpk-component-icon/sm/train.js +8 -0
  873. package/bpk-component-icon/sm/transmission-automatic.js +8 -0
  874. package/bpk-component-icon/sm/transmission-manual.js +8 -0
  875. package/bpk-component-icon/sm/trash.js +8 -0
  876. package/bpk-component-icon/sm/trend--down.js +8 -0
  877. package/bpk-component-icon/sm/trend--steady.js +8 -0
  878. package/bpk-component-icon/sm/trend--will-rise.js +8 -0
  879. package/bpk-component-icon/sm/trend.js +8 -0
  880. package/bpk-component-icon/sm/trips.js +8 -0
  881. package/bpk-component-icon/sm/undo.js +8 -0
  882. package/bpk-component-icon/sm/unlock.js +8 -0
  883. package/bpk-component-icon/sm/unmute.js +8 -0
  884. package/bpk-component-icon/sm/upgrade.js +8 -0
  885. package/bpk-component-icon/sm/use-location.js +8 -0
  886. package/bpk-component-icon/sm/view.js +8 -0
  887. package/bpk-component-icon/sm/virus.js +8 -0
  888. package/bpk-component-icon/sm/wallet.js +8 -0
  889. package/bpk-component-icon/sm/weather--clear.js +8 -0
  890. package/bpk-component-icon/sm/weather--cloudy.js +8 -0
  891. package/bpk-component-icon/sm/weather--fog.js +8 -0
  892. package/bpk-component-icon/sm/weather--partly-cloudy.js +8 -0
  893. package/bpk-component-icon/sm/weather--rain.js +8 -0
  894. package/bpk-component-icon/sm/weather--snow.js +8 -0
  895. package/bpk-component-icon/sm/weather--thunderstorm.js +8 -0
  896. package/bpk-component-icon/sm/weather--tornado.js +8 -0
  897. package/bpk-component-icon/sm/weather--wind.js +8 -0
  898. package/bpk-component-icon/sm/weather.js +8 -0
  899. package/bpk-component-icon/sm/wifi.js +8 -0
  900. package/bpk-component-icon/sm/window--reduce.js +8 -0
  901. package/bpk-component-icon/sm/window.js +8 -0
  902. package/bpk-component-icon/sm/world--amer.js +8 -0
  903. package/bpk-component-icon/sm/world--apac.js +8 -0
  904. package/bpk-component-icon/sm/world--emea.js +8 -0
  905. package/bpk-component-icon/src/BpkIcon.module.css +18 -0
  906. package/bpk-component-icon/src/BpkIcon.module.scss +33 -0
  907. package/bpk-component-icon/src/classNameModifierHOCFactory.js +53 -0
  908. package/bpk-component-icon/src/withAlignment.js +47 -0
  909. package/bpk-component-icon/src/withDescription.js +44 -0
  910. package/bpk-component-icon/src/withDescription.module.css +18 -0
  911. package/bpk-component-icon/src/withDescription.module.scss +22 -0
  912. package/bpk-component-icon/src/withRtlSupport.js +28 -0
  913. package/bpk-component-image/README.md +142 -0
  914. package/bpk-component-image/examples.js +216 -0
  915. package/bpk-component-image/index.js +37 -0
  916. package/bpk-component-image/package.json +31 -0
  917. package/bpk-component-image/src/BpkBackgroundImage.js +192 -0
  918. package/bpk-component-image/src/BpkBackgroundImage.module.css +18 -0
  919. package/bpk-component-image/src/BpkBackgroundImage.module.scss +46 -0
  920. package/bpk-component-image/src/BpkImage.js +252 -0
  921. package/bpk-component-image/src/BpkImage.module.css +18 -0
  922. package/bpk-component-image/src/BpkImage.module.scss +89 -0
  923. package/bpk-component-image/src/BpkImageBorderRadiusStyles.js +23 -0
  924. package/bpk-component-image/src/customPropTypes.js +37 -0
  925. package/bpk-component-image/src/withLazyLoading.js +181 -0
  926. package/bpk-component-image/src/withLoadingBehavior.js +65 -0
  927. package/bpk-component-infinite-scroll/README.md +187 -0
  928. package/bpk-component-infinite-scroll/examples.js +279 -0
  929. package/bpk-component-infinite-scroll/examples.module.css +18 -0
  930. package/bpk-component-infinite-scroll/examples.module.scss +46 -0
  931. package/bpk-component-infinite-scroll/index.js +29 -0
  932. package/bpk-component-infinite-scroll/package.json +31 -0
  933. package/bpk-component-infinite-scroll/src/DataSource.js +85 -0
  934. package/bpk-component-infinite-scroll/src/intersection-observer.js +27 -0
  935. package/bpk-component-infinite-scroll/src/withInfiniteScroll-test.flow.js +102 -0
  936. package/bpk-component-infinite-scroll/src/withInfiniteScroll.js +297 -0
  937. package/bpk-component-infinite-scroll/src/withInfiniteScroll.module.css +18 -0
  938. package/bpk-component-infinite-scroll/src/withInfiniteScroll.module.scss +25 -0
  939. package/bpk-component-input/README.md +121 -0
  940. package/bpk-component-input/examples.js +490 -0
  941. package/bpk-component-input/examples.module.css +18 -0
  942. package/bpk-component-input/examples.module.scss +57 -0
  943. package/bpk-component-input/index.js +50 -0
  944. package/bpk-component-input/package.json +30 -0
  945. package/bpk-component-input/src/BpkClearButton.js +74 -0
  946. package/bpk-component-input/src/BpkClearButton.module.css +18 -0
  947. package/bpk-component-input/src/BpkClearButton.module.scss +40 -0
  948. package/bpk-component-input/src/BpkInput.js +178 -0
  949. package/bpk-component-input/src/BpkInput.module.css +18 -0
  950. package/bpk-component-input/src/BpkInput.module.scss +86 -0
  951. package/bpk-component-input/src/common-types.js +129 -0
  952. package/bpk-component-input/src/themeAttributes.js +19 -0
  953. package/bpk-component-input/src/withOpenEvents.js +186 -0
  954. package/bpk-component-label/README.md +30 -0
  955. package/bpk-component-label/examples.js +67 -0
  956. package/bpk-component-label/index.js +24 -0
  957. package/bpk-component-label/package.json +24 -0
  958. package/bpk-component-label/src/BpkLabel.js +84 -0
  959. package/bpk-component-label/src/BpkLabel.module.css +18 -0
  960. package/bpk-component-label/src/BpkLabel.module.scss +43 -0
  961. package/bpk-component-link/README.md +68 -0
  962. package/bpk-component-link/examples.js +110 -0
  963. package/bpk-component-link/index.js +28 -0
  964. package/bpk-component-link/package.json +28 -0
  965. package/bpk-component-link/src/BpkButtonLink.js +79 -0
  966. package/bpk-component-link/src/BpkLink.js +109 -0
  967. package/bpk-component-link/src/BpkLink.module.css +18 -0
  968. package/bpk-component-link/src/BpkLink.module.scss +31 -0
  969. package/bpk-component-link/src/themeAttributes.js +35 -0
  970. package/bpk-component-list/README.md +48 -0
  971. package/bpk-component-list/examples.js +56 -0
  972. package/bpk-component-list/index.js +24 -0
  973. package/bpk-component-list/package.json +24 -0
  974. package/bpk-component-list/src/BpkList.js +58 -0
  975. package/bpk-component-list/src/BpkList.module.css +18 -0
  976. package/bpk-component-list/src/BpkList.module.scss +31 -0
  977. package/bpk-component-list/src/BpkListItem.js +54 -0
  978. package/bpk-component-loading-button/README.md +48 -0
  979. package/bpk-component-loading-button/examples.js +660 -0
  980. package/bpk-component-loading-button/index.js +24 -0
  981. package/bpk-component-loading-button/package.json +30 -0
  982. package/bpk-component-loading-button/src/BpkLoadingButton.js +153 -0
  983. package/bpk-component-map/README.md +213 -0
  984. package/bpk-component-map/examples.js +305 -0
  985. package/bpk-component-map/index.js +45 -0
  986. package/bpk-component-map/package.json +32 -0
  987. package/bpk-component-map/src/BpkBasicMapMarker.js +57 -0
  988. package/bpk-component-map/src/BpkIconMarker.js +107 -0
  989. package/bpk-component-map/src/BpkIconMarker.module.css +18 -0
  990. package/bpk-component-map/src/BpkIconMarker.module.scss +74 -0
  991. package/bpk-component-map/src/BpkIconMarkerBackground.js +80 -0
  992. package/bpk-component-map/src/BpkIconMarkerBackground.module.css +18 -0
  993. package/bpk-component-map/src/BpkIconMarkerBackground.module.scss +53 -0
  994. package/bpk-component-map/src/BpkMap.js +174 -0
  995. package/bpk-component-map/src/BpkOverlayView.js +50 -0
  996. package/bpk-component-map/src/BpkPriceMarker.js +130 -0
  997. package/bpk-component-map/src/BpkPriceMarker.module.css +18 -0
  998. package/bpk-component-map/src/BpkPriceMarker.module.scss +146 -0
  999. package/bpk-component-map/src/DefaultLoadingElement.js +34 -0
  1000. package/bpk-component-map/src/DefaultLoadingElement.module.css +18 -0
  1001. package/bpk-component-map/src/DefaultLoadingElement.module.scss +28 -0
  1002. package/bpk-component-map/src/common-types.js +31 -0
  1003. package/bpk-component-map/src/themeAttributes.js +38 -0
  1004. package/bpk-component-map/src/withGoogleMapsScript.js +44 -0
  1005. package/bpk-component-mobile-scroll-container/README.md +74 -0
  1006. package/bpk-component-mobile-scroll-container/examples.js +76 -0
  1007. package/bpk-component-mobile-scroll-container/examples.module.css +18 -0
  1008. package/bpk-component-mobile-scroll-container/examples.module.scss +46 -0
  1009. package/bpk-component-mobile-scroll-container/index.js +23 -0
  1010. package/bpk-component-mobile-scroll-container/package.json +28 -0
  1011. package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.js +238 -0
  1012. package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.module.css +18 -0
  1013. package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.module.scss +50 -0
  1014. package/bpk-component-modal/README.md +114 -0
  1015. package/bpk-component-modal/examples.js +304 -0
  1016. package/bpk-component-modal/examples.module.css +18 -0
  1017. package/bpk-component-modal/examples.module.scss +35 -0
  1018. package/bpk-component-modal/index.js +27 -0
  1019. package/bpk-component-modal/package.json +33 -0
  1020. package/bpk-component-modal/src/BpkModal.js +128 -0
  1021. package/bpk-component-modal/src/BpkModal.module.css +18 -0
  1022. package/bpk-component-modal/src/BpkModal.module.scss +46 -0
  1023. package/bpk-component-modal/src/BpkModalInner.js +177 -0
  1024. package/bpk-component-modal/src/BpkModalInner.module.css +18 -0
  1025. package/bpk-component-modal/src/BpkModalInner.module.scss +123 -0
  1026. package/bpk-component-modal/src/customPropTypes.js +54 -0
  1027. package/bpk-component-modal/src/themeAttributes.js +23 -0
  1028. package/bpk-component-navigation-bar/AirlineLogo.js +42 -0
  1029. package/bpk-component-navigation-bar/AirlineLogo.module.css +18 -0
  1030. package/bpk-component-navigation-bar/AirlineLogo.module.scss +27 -0
  1031. package/bpk-component-navigation-bar/README.md +114 -0
  1032. package/bpk-component-navigation-bar/examples.js +193 -0
  1033. package/bpk-component-navigation-bar/examples.module.css +18 -0
  1034. package/bpk-component-navigation-bar/examples.module.scss +32 -0
  1035. package/bpk-component-navigation-bar/index.js +42 -0
  1036. package/bpk-component-navigation-bar/package.json +32 -0
  1037. package/bpk-component-navigation-bar/src/BpkNavigationBar.js +105 -0
  1038. package/bpk-component-navigation-bar/src/BpkNavigationBar.module.css +18 -0
  1039. package/bpk-component-navigation-bar/src/BpkNavigationBar.module.scss +75 -0
  1040. package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.js +61 -0
  1041. package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.css +18 -0
  1042. package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.scss +51 -0
  1043. package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.js +58 -0
  1044. package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.module.css +18 -0
  1045. package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.module.scss +43 -0
  1046. package/bpk-component-navigation-bar/src/themeAttributes.js +33 -0
  1047. package/bpk-component-navigation-stack/README.md +48 -0
  1048. package/bpk-component-navigation-stack/examples.js +73 -0
  1049. package/bpk-component-navigation-stack/examples.module.css +18 -0
  1050. package/bpk-component-navigation-stack/examples.module.scss +43 -0
  1051. package/bpk-component-navigation-stack/index.js +30 -0
  1052. package/bpk-component-navigation-stack/package.json +32 -0
  1053. package/bpk-component-navigation-stack/src/BpkNavigationStack.js +127 -0
  1054. package/bpk-component-navigation-stack/src/BpkNavigationStack.module.css +18 -0
  1055. package/bpk-component-navigation-stack/src/BpkNavigationStack.module.scss +51 -0
  1056. package/bpk-component-navigation-stack/src/withNavigationStackState.js +104 -0
  1057. package/bpk-component-navigation-stack/stories-components.js +202 -0
  1058. package/bpk-component-nudger/BpkNudgerStory.module.css +18 -0
  1059. package/bpk-component-nudger/BpkNudgerStory.module.scss +27 -0
  1060. package/bpk-component-nudger/README.md +170 -0
  1061. package/bpk-component-nudger/examples.js +204 -0
  1062. package/bpk-component-nudger/index.js +26 -0
  1063. package/bpk-component-nudger/package.json +32 -0
  1064. package/bpk-component-nudger/src/BpkConfigurableNudger.js +151 -0
  1065. package/bpk-component-nudger/src/BpkNudger.js +68 -0
  1066. package/bpk-component-nudger/src/BpkNudger.module.css +18 -0
  1067. package/bpk-component-nudger/src/BpkNudger.module.scss +49 -0
  1068. package/bpk-component-nudger/src/common-types.js +45 -0
  1069. package/bpk-component-nudger/src/themeAttributes.js +23 -0
  1070. package/bpk-component-overlay/README.md +51 -0
  1071. package/bpk-component-overlay/examples.js +163 -0
  1072. package/bpk-component-overlay/examples.module.css +18 -0
  1073. package/bpk-component-overlay/examples.module.scss +38 -0
  1074. package/bpk-component-overlay/index.js +28 -0
  1075. package/bpk-component-overlay/package.json +28 -0
  1076. package/bpk-component-overlay/src/BpkOverlay.js +88 -0
  1077. package/bpk-component-overlay/src/BpkOverlay.module.css +18 -0
  1078. package/bpk-component-overlay/src/BpkOverlay.module.scss +41 -0
  1079. package/bpk-component-pagination/README.md +59 -0
  1080. package/bpk-component-pagination/examples.js +93 -0
  1081. package/bpk-component-pagination/index.js +23 -0
  1082. package/bpk-component-pagination/package.json +28 -0
  1083. package/bpk-component-pagination/src/BpkPagination.js +101 -0
  1084. package/bpk-component-pagination/src/BpkPagination.module.css +18 -0
  1085. package/bpk-component-pagination/src/BpkPagination.module.scss +22 -0
  1086. package/bpk-component-pagination/src/BpkPaginationBreak.js +35 -0
  1087. package/bpk-component-pagination/src/BpkPaginationList.js +100 -0
  1088. package/bpk-component-pagination/src/BpkPaginationList.module.css +18 -0
  1089. package/bpk-component-pagination/src/BpkPaginationList.module.scss +45 -0
  1090. package/bpk-component-pagination/src/BpkPaginationNudger.js +77 -0
  1091. package/bpk-component-pagination/src/BpkPaginationNudger.module.css +18 -0
  1092. package/bpk-component-pagination/src/BpkPaginationNudger.module.scss +74 -0
  1093. package/bpk-component-pagination/src/BpkPaginationPage.js +60 -0
  1094. package/bpk-component-pagination/src/BpkPaginationPage.module.css +18 -0
  1095. package/bpk-component-pagination/src/BpkPaginationPage.module.scss +90 -0
  1096. package/bpk-component-pagination/src/themeAttributes.js +26 -0
  1097. package/bpk-component-panel/README.md +33 -0
  1098. package/bpk-component-panel/examples.js +63 -0
  1099. package/bpk-component-panel/index.js +21 -0
  1100. package/bpk-component-panel/package.json +24 -0
  1101. package/bpk-component-panel/src/BpkPanel.js +61 -0
  1102. package/bpk-component-panel/src/BpkPanel.module.css +18 -0
  1103. package/bpk-component-panel/src/BpkPanel.module.scss +31 -0
  1104. package/bpk-component-paragraph/README.md +28 -0
  1105. package/bpk-component-paragraph/examples.js +46 -0
  1106. package/bpk-component-paragraph/index.js +23 -0
  1107. package/bpk-component-paragraph/package.json +25 -0
  1108. package/bpk-component-paragraph/src/BpkParagraph.js +55 -0
  1109. package/bpk-component-paragraph/src/BpkParagraph.module.css +18 -0
  1110. package/bpk-component-paragraph/src/BpkParagraph.module.scss +25 -0
  1111. package/bpk-component-phone-input/README.md +100 -0
  1112. package/bpk-component-phone-input/examples.js +181 -0
  1113. package/bpk-component-phone-input/index.js +26 -0
  1114. package/bpk-component-phone-input/package.json +33 -0
  1115. package/bpk-component-phone-input/src/BpkPhoneInput.js +225 -0
  1116. package/bpk-component-phone-input/src/BpkPhoneInput.module.css +18 -0
  1117. package/bpk-component-phone-input/src/BpkPhoneInput.module.scss +42 -0
  1118. package/bpk-component-popover/README.md +128 -0
  1119. package/bpk-component-popover/examples.js +267 -0
  1120. package/bpk-component-popover/examples.module.css +18 -0
  1121. package/bpk-component-popover/examples.module.scss +33 -0
  1122. package/bpk-component-popover/index.js +34 -0
  1123. package/bpk-component-popover/package.json +35 -0
  1124. package/bpk-component-popover/src/BpkPopover.js +185 -0
  1125. package/bpk-component-popover/src/BpkPopover.module.css +18 -0
  1126. package/bpk-component-popover/src/BpkPopover.module.scss +126 -0
  1127. package/bpk-component-popover/src/BpkPopoverPortal.js +210 -0
  1128. package/bpk-component-popover/src/constants.js +23 -0
  1129. package/bpk-component-popover/src/keyboardFocusScope.js +86 -0
  1130. package/bpk-component-popover/src/themeAttributes.js +23 -0
  1131. package/bpk-component-progress/README.md +56 -0
  1132. package/bpk-component-progress/examples.js +130 -0
  1133. package/bpk-component-progress/examples.module.css +18 -0
  1134. package/bpk-component-progress/examples.module.scss +29 -0
  1135. package/bpk-component-progress/index.js +25 -0
  1136. package/bpk-component-progress/package.json +30 -0
  1137. package/bpk-component-progress/src/BpkProgress.js +164 -0
  1138. package/bpk-component-progress/src/BpkProgress.module.css +18 -0
  1139. package/bpk-component-progress/src/BpkProgress.module.scss +64 -0
  1140. package/bpk-component-progress/src/themeAttributes.js +21 -0
  1141. package/bpk-component-radio/README.md +43 -0
  1142. package/bpk-component-radio/examples.js +126 -0
  1143. package/bpk-component-radio/index.js +25 -0
  1144. package/bpk-component-radio/package.json +28 -0
  1145. package/bpk-component-radio/src/BpkRadio.js +97 -0
  1146. package/bpk-component-radio/src/BpkRadio.module.css +18 -0
  1147. package/bpk-component-radio/src/BpkRadio.module.scss +78 -0
  1148. package/bpk-component-radio/src/themeAttributes.js +21 -0
  1149. package/bpk-component-rating/README.md +73 -0
  1150. package/bpk-component-rating/examples.js +373 -0
  1151. package/bpk-component-rating/examples.module.css +18 -0
  1152. package/bpk-component-rating/examples.module.scss +23 -0
  1153. package/bpk-component-rating/index.js +25 -0
  1154. package/bpk-component-rating/package.json +29 -0
  1155. package/bpk-component-rating/src/BpkRating.js +188 -0
  1156. package/bpk-component-rating/src/BpkRating.module.css +18 -0
  1157. package/bpk-component-rating/src/BpkRating.module.scss +148 -0
  1158. package/bpk-component-rating/src/common-types.js +31 -0
  1159. package/bpk-component-rating/src/themeAttributes.js +25 -0
  1160. package/bpk-component-rtl-toggle/README.md +26 -0
  1161. package/bpk-component-rtl-toggle/index.js +23 -0
  1162. package/bpk-component-rtl-toggle/package.json +24 -0
  1163. package/bpk-component-rtl-toggle/src/BpkRtlToggle.js +92 -0
  1164. package/bpk-component-rtl-toggle/src/updateOnDirectionChange.js +59 -0
  1165. package/bpk-component-rtl-toggle/src/utils.js +29 -0
  1166. package/bpk-component-scrollable-calendar/README.md +102 -0
  1167. package/bpk-component-scrollable-calendar/examples.js +383 -0
  1168. package/bpk-component-scrollable-calendar/index.js +34 -0
  1169. package/bpk-component-scrollable-calendar/package.json +32 -0
  1170. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar.js +36 -0
  1171. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.js +44 -0
  1172. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +55 -0
  1173. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.module.css +18 -0
  1174. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.module.scss +31 -0
  1175. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +156 -0
  1176. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.module.css +18 -0
  1177. package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.module.scss +37 -0
  1178. package/bpk-component-scrollable-calendar/src/utils.js +30 -0
  1179. package/bpk-component-scrollable-calendar/test-utils.js +274 -0
  1180. package/bpk-component-section-list/README.md +52 -0
  1181. package/bpk-component-section-list/examples.js +55 -0
  1182. package/bpk-component-section-list/index.js +26 -0
  1183. package/bpk-component-section-list/package.json +30 -0
  1184. package/bpk-component-section-list/src/BpkSectionList.js +38 -0
  1185. package/bpk-component-section-list/src/BpkSectionListItem.js +112 -0
  1186. package/bpk-component-section-list/src/BpkSectionListItem.module.css +18 -0
  1187. package/bpk-component-section-list/src/BpkSectionListItem.module.scss +54 -0
  1188. package/bpk-component-section-list/src/BpkSectionListSection.js +65 -0
  1189. package/bpk-component-section-list/src/BpkSectionListSection.module.css +18 -0
  1190. package/bpk-component-section-list/src/BpkSectionListSection.module.scss +35 -0
  1191. package/bpk-component-select/README.md +47 -0
  1192. package/bpk-component-select/examples.js +274 -0
  1193. package/bpk-component-select/index.js +26 -0
  1194. package/bpk-component-select/package.json +27 -0
  1195. package/bpk-component-select/src/BpkSelect.js +132 -0
  1196. package/bpk-component-select/src/BpkSelect.module.css +18 -0
  1197. package/bpk-component-select/src/BpkSelect.module.scss +126 -0
  1198. package/bpk-component-select/src/themeAttributes.js +19 -0
  1199. package/bpk-component-skip-link/README.md +30 -0
  1200. package/bpk-component-skip-link/examples.js +40 -0
  1201. package/bpk-component-skip-link/index.js +25 -0
  1202. package/bpk-component-skip-link/package.json +24 -0
  1203. package/bpk-component-skip-link/src/BpkSkipLink.js +59 -0
  1204. package/bpk-component-skip-link/src/BpkSkipLink.module.css +18 -0
  1205. package/bpk-component-skip-link/src/BpkSkipLink.module.scss +50 -0
  1206. package/bpk-component-skip-link/src/themeAttributes.js +19 -0
  1207. package/bpk-component-slider/README.md +43 -0
  1208. package/bpk-component-slider/examples.js +122 -0
  1209. package/bpk-component-slider/index.js +23 -0
  1210. package/bpk-component-slider/package.json +29 -0
  1211. package/bpk-component-slider/src/BpkSlider.js +71 -0
  1212. package/bpk-component-slider/src/BpkSlider.module.css +18 -0
  1213. package/bpk-component-slider/src/BpkSlider.module.scss +103 -0
  1214. package/bpk-component-slider/src/themeAttributes.js +19 -0
  1215. package/bpk-component-spinner/README.md +40 -0
  1216. package/bpk-component-spinner/SpinnerLayout.js +56 -0
  1217. package/bpk-component-spinner/SpinnerLayout.module.css +18 -0
  1218. package/bpk-component-spinner/SpinnerLayout.module.scss +36 -0
  1219. package/bpk-component-spinner/changelog.yml +55 -0
  1220. package/bpk-component-spinner/examples.js +56 -0
  1221. package/bpk-component-spinner/index.js +33 -0
  1222. package/bpk-component-spinner/package.json +25 -0
  1223. package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +59 -0
  1224. package/bpk-component-spinner/src/BpkLargeSpinner.js +64 -0
  1225. package/bpk-component-spinner/src/BpkSpinner.js +63 -0
  1226. package/bpk-component-spinner/src/BpkSpinner.module.css +18 -0
  1227. package/bpk-component-spinner/src/BpkSpinner.module.scss +57 -0
  1228. package/bpk-component-spinner/src/spinnerTypes.js +25 -0
  1229. package/bpk-component-spinner/src/themeAttributes.js +21 -0
  1230. package/bpk-component-star-rating/README.md +99 -0
  1231. package/bpk-component-star-rating/examples.js +195 -0
  1232. package/bpk-component-star-rating/index.js +38 -0
  1233. package/bpk-component-star-rating/package.json +29 -0
  1234. package/bpk-component-star-rating/src/BpkInteractiveStar.js +86 -0
  1235. package/bpk-component-star-rating/src/BpkInteractiveStar.module.css +18 -0
  1236. package/bpk-component-star-rating/src/BpkInteractiveStar.module.scss +66 -0
  1237. package/bpk-component-star-rating/src/BpkInteractiveStarRating.js +126 -0
  1238. package/bpk-component-star-rating/src/BpkStar.js +111 -0
  1239. package/bpk-component-star-rating/src/BpkStar.module.css +18 -0
  1240. package/bpk-component-star-rating/src/BpkStar.module.scss +63 -0
  1241. package/bpk-component-star-rating/src/BpkStarRating.js +123 -0
  1242. package/bpk-component-star-rating/src/BpkStarRating.module.css +18 -0
  1243. package/bpk-component-star-rating/src/BpkStarRating.module.scss +21 -0
  1244. package/bpk-component-star-rating/src/themeAttributes.js +21 -0
  1245. package/bpk-component-star-rating/src/withInteractiveStarRatingState.js +99 -0
  1246. package/bpk-component-switch/README.md +37 -0
  1247. package/bpk-component-switch/examples.js +40 -0
  1248. package/bpk-component-switch/index.js +28 -0
  1249. package/bpk-component-switch/package.json +24 -0
  1250. package/bpk-component-switch/src/BpkSwitch.js +82 -0
  1251. package/bpk-component-switch/src/BpkSwitch.module.css +18 -0
  1252. package/bpk-component-switch/src/BpkSwitch.module.scss +93 -0
  1253. package/bpk-component-switch/src/themeAttributes.js +19 -0
  1254. package/bpk-component-table/README.md +66 -0
  1255. package/bpk-component-table/examples.js +97 -0
  1256. package/bpk-component-table/index.js +35 -0
  1257. package/bpk-component-table/package.json +24 -0
  1258. package/bpk-component-table/src/BpkTable.js +63 -0
  1259. package/bpk-component-table/src/BpkTable.module.css +18 -0
  1260. package/bpk-component-table/src/BpkTable.module.scss +39 -0
  1261. package/bpk-component-table/src/BpkTableBody.js +32 -0
  1262. package/bpk-component-table/src/BpkTableCell.js +56 -0
  1263. package/bpk-component-table/src/BpkTableHead.js +32 -0
  1264. package/bpk-component-table/src/BpkTableHeadCell.js +54 -0
  1265. package/bpk-component-table/src/BpkTableRow.js +32 -0
  1266. package/bpk-component-text/README.md +76 -0
  1267. package/bpk-component-text/examples.js +135 -0
  1268. package/bpk-component-text/examples.module.css +18 -0
  1269. package/bpk-component-text/examples.module.scss +25 -0
  1270. package/bpk-component-text/index.js +24 -0
  1271. package/bpk-component-text/package.json +24 -0
  1272. package/bpk-component-text/src/BpkText.js +150 -0
  1273. package/bpk-component-text/src/BpkText.module.css +18 -0
  1274. package/bpk-component-text/src/BpkText.module.scss +135 -0
  1275. package/bpk-component-textarea/README.md +34 -0
  1276. package/bpk-component-textarea/examples.js +116 -0
  1277. package/bpk-component-textarea/index.js +25 -0
  1278. package/bpk-component-textarea/package.json +28 -0
  1279. package/bpk-component-textarea/src/BpkTextarea.js +75 -0
  1280. package/bpk-component-textarea/src/BpkTextarea.module.css +18 -0
  1281. package/bpk-component-textarea/src/BpkTextarea.module.scss +33 -0
  1282. package/bpk-component-textarea/src/themeAttributes.js +21 -0
  1283. package/bpk-component-theme-toggle/README.md +30 -0
  1284. package/bpk-component-theme-toggle/index.js +23 -0
  1285. package/bpk-component-theme-toggle/package.json +28 -0
  1286. package/bpk-component-theme-toggle/src/BpkThemeToggle.js +120 -0
  1287. package/bpk-component-theme-toggle/src/BpkThemeToggle.module.css +18 -0
  1288. package/bpk-component-theme-toggle/src/BpkThemeToggle.module.scss +25 -0
  1289. package/bpk-component-theme-toggle/src/theming.js +274 -0
  1290. package/bpk-component-theme-toggle/src/updateOnThemeChange.js +73 -0
  1291. package/bpk-component-theme-toggle/src/utils.js +23 -0
  1292. package/bpk-component-ticket/README.md +38 -0
  1293. package/bpk-component-ticket/examples.js +203 -0
  1294. package/bpk-component-ticket/examples.module.css +18 -0
  1295. package/bpk-component-ticket/examples.module.scss +79 -0
  1296. package/bpk-component-ticket/index.js +23 -0
  1297. package/bpk-component-ticket/package.json +28 -0
  1298. package/bpk-component-ticket/src/BpkTicket.js +187 -0
  1299. package/bpk-component-ticket/src/BpkTicket.module.css +18 -0
  1300. package/bpk-component-ticket/src/BpkTicket.module.scss +297 -0
  1301. package/bpk-component-tooltip/README.md +56 -0
  1302. package/bpk-component-tooltip/examples.js +181 -0
  1303. package/bpk-component-tooltip/index.js +27 -0
  1304. package/bpk-component-tooltip/package.json +29 -0
  1305. package/bpk-component-tooltip/src/BpkTooltip.js +98 -0
  1306. package/bpk-component-tooltip/src/BpkTooltip.module.css +18 -0
  1307. package/bpk-component-tooltip/src/BpkTooltip.module.scss +153 -0
  1308. package/bpk-component-tooltip/src/BpkTooltipPortal.js +212 -0
  1309. package/bpk-component-tooltip/src/constants.js +27 -0
  1310. package/bpk-react-utils/README.md +251 -0
  1311. package/bpk-react-utils/index.js +58 -0
  1312. package/bpk-react-utils/package.json +26 -0
  1313. package/bpk-react-utils/src/Portal.js +310 -0
  1314. package/bpk-react-utils/src/TransitionInitialMount.js +63 -0
  1315. package/bpk-react-utils/src/cssModules.js +29 -0
  1316. package/bpk-react-utils/src/deprecated.js +40 -0
  1317. package/bpk-react-utils/src/deviceDetection.js +31 -0
  1318. package/bpk-react-utils/src/isRTL.js +36 -0
  1319. package/bpk-react-utils/src/withDefaultProps.js +77 -0
  1320. package/bpk-scrim-utils/README.md +50 -0
  1321. package/bpk-scrim-utils/index.js +24 -0
  1322. package/bpk-scrim-utils/package.json +25 -0
  1323. package/bpk-scrim-utils/src/BpkScrim.js +52 -0
  1324. package/bpk-scrim-utils/src/bpk-scrim-content.module.css +18 -0
  1325. package/bpk-scrim-utils/src/bpk-scrim-content.module.scss +32 -0
  1326. package/bpk-scrim-utils/src/bpk-scrim.module.css +18 -0
  1327. package/bpk-scrim-utils/src/bpk-scrim.module.scss +51 -0
  1328. package/bpk-scrim-utils/src/customPropTypes.js +39 -0
  1329. package/bpk-scrim-utils/src/scroll-utils.js +115 -0
  1330. package/bpk-scrim-utils/src/withScrim.js +161 -0
  1331. package/bpk-tether/.eslintrc +6 -0
  1332. package/bpk-tether/README.md +52 -0
  1333. package/bpk-tether/index.js +24 -0
  1334. package/bpk-tether/package.json +19 -0
  1335. package/bpk-tether/src/TetherWrapper.js +30 -0
  1336. package/bpk-tether/src/applyRTLTransforms.js +49 -0
  1337. package/bpk-tether/src/getArrowPositionCallback.js +65 -0
  1338. package/bpk-theming/README.md +43 -0
  1339. package/bpk-theming/index.js +21 -0
  1340. package/bpk-theming/package.json +23 -0
  1341. package/bpk-theming/src/BpkThemeProvider.js +149 -0
  1342. package/package.json +50 -0
@@ -0,0 +1,126 @@
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
+ /* @flow strict */
19
+
20
+ import React, { Component, type Node } from 'react';
21
+ import PropTypes from 'prop-types';
22
+ import { cssModules } from 'bpk-react-utils';
23
+
24
+ import { HORIZONTAL_NAV_TYPES } from './BpkHorizontalNav';
25
+ import STYLES from './BpkHorizontalNavItem.module.scss';
26
+
27
+ const getClassName = cssModules(STYLES);
28
+
29
+ export type Props = {
30
+ children: Node,
31
+ disabled: boolean,
32
+ selected: boolean,
33
+ spaceAround: boolean,
34
+ type: $Keys<typeof HORIZONTAL_NAV_TYPES>,
35
+ className: ?string,
36
+ href: ?string,
37
+ };
38
+
39
+ // In order to be able to access refs on the HorizontalNavItems, they need to be a fully defined
40
+ // React Component class.
41
+ // eslint-disable-next-line react/prefer-stateless-function
42
+ class BpkHorizontalNavItem extends Component<Props> {
43
+ static propTypes = {
44
+ children: PropTypes.node.isRequired,
45
+ className: PropTypes.string,
46
+ disabled: PropTypes.bool,
47
+ href: PropTypes.string,
48
+ selected: PropTypes.bool,
49
+ spaceAround: PropTypes.bool,
50
+ type: PropTypes.oneOf(Object.keys(HORIZONTAL_NAV_TYPES)),
51
+ };
52
+
53
+ static defaultProps = {
54
+ className: null,
55
+ disabled: false,
56
+ href: null,
57
+ selected: false,
58
+ spaceAround: false,
59
+ type: HORIZONTAL_NAV_TYPES.default,
60
+ };
61
+
62
+ render() {
63
+ const {
64
+ children,
65
+ className,
66
+ disabled,
67
+ href,
68
+ selected,
69
+ spaceAround,
70
+ type,
71
+ ...rest
72
+ } = this.props;
73
+
74
+ const classNames = getClassName(
75
+ 'bpk-horizontal-nav__item',
76
+ spaceAround && 'bpk-horizontal-nav__item--space-around',
77
+ );
78
+ const innerClassNames = getClassName(
79
+ 'bpk-horizontal-nav__link',
80
+ `bpk-horizontal-nav__link--${type}`,
81
+ selected && `bpk-horizontal-nav__link--${type}-selected`,
82
+ disabled && `bpk-horizontal-nav__link--${type}-disabled`,
83
+ className,
84
+ );
85
+
86
+ const clickableElement = href ? (
87
+ // $FlowFixMe[cannot-spread-inexact] - inexact rest. See 'decisions/flowfixme.md'.
88
+ <a
89
+ href={href}
90
+ className={innerClassNames}
91
+ aria-disabled={disabled}
92
+ role="tab"
93
+ aria-selected={selected ? 'true' : 'false'}
94
+ {...rest}
95
+ >
96
+ {children}
97
+ </a>
98
+ ) : (
99
+ // $FlowFixMe[cannot-spread-inexact] - inexact rest. See 'decisions/flowfixme.md'.
100
+ <button
101
+ type="button"
102
+ className={innerClassNames}
103
+ disabled={disabled}
104
+ role="tab"
105
+ aria-selected={selected ? 'true' : 'false'}
106
+ {...rest}
107
+ >
108
+ {children}
109
+ </button>
110
+ );
111
+
112
+ return <div className={classNames}>{clickableElement}</div>;
113
+ }
114
+ }
115
+
116
+ const themeAttributes = [
117
+ 'horizontalNavLinkColor',
118
+ 'horizontalNavLinkHoverColor',
119
+ 'horizontalNavLinkActiveColor',
120
+ 'horizontalNavLinkSelectedColor',
121
+ 'horizontalNavBarSelectedColor',
122
+ ];
123
+
124
+ export { themeAttributes };
125
+
126
+ export default BpkHorizontalNavItem;
@@ -0,0 +1,18 @@
1
+ /*
2
+ * Backpack - Skyscanner's Design System
3
+ *
4
+ * Copyright 2016 Skyscanner Ltd
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+ @keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-horizontal-nav__item{display:inline-block;display:flex}.bpk-horizontal-nav__item--space-around{margin-right:auto;margin-left:auto}.bpk-horizontal-nav__link{display:inline-block;display:flex;padding:.875rem 1.5rem;border:0;border-radius:0;background:none;text-decoration:none;cursor:pointer;fill:currentColor}.bpk-horizontal-nav__link--default{color:#68697f;color:var(--bpk-horizontal-nav-link-color, #68697f)}.bpk-no-touch-support .bpk-horizontal-nav__link--default:hover:not(:active):not(:disabled){box-shadow:0 -3px 0 0 #dddde5 inset;color:#444560;color:var(--bpk-horizontal-nav-link-hover-color, #444560)}:global(.bpk-no-touch-support) .bpk-horizontal-nav__link--default:hover:not(:active):not(:disabled){box-shadow:0 -3px 0 0 #dddde5 inset;color:#444560;color:var(--bpk-horizontal-nav-link-hover-color, #444560)}.bpk-horizontal-nav__link--default:active{box-shadow:0 -3px 0 0 #cdcdd7 inset;color:#111236;color:var(--bpk-horizontal-nav-link-active-color, #111236)}.bpk-horizontal-nav__link--default-disabled{color:#dddde5;cursor:not-allowed}.bpk-horizontal-nav__link--default-disabled:active{color:#dddde5;box-shadow:unset}.bpk-horizontal-nav__link--default-selected{box-shadow:0 -3px 0 0 #0770e3 inset;box-shadow:0 -3px 0 0 var(--bpk-horizontal-nav-bar-selected-color, #0770e3) inset;color:#0770e3;color:var(--bpk-horizontal-nav-link-selected-color, #0770e3)}.bpk-no-touch-support .bpk-horizontal-nav__link--default-selected:hover:not(:active):not(:disabled){box-shadow:0 -3px 0 0 #0770e3 inset;box-shadow:0 -3px 0 0 var(--bpk-horizontal-nav-bar-selected-color, #0770e3) inset}:global(.bpk-no-touch-support) .bpk-horizontal-nav__link--default-selected:hover:not(:active):not(:disabled){box-shadow:0 -3px 0 0 #0770e3 inset;box-shadow:0 -3px 0 0 var(--bpk-horizontal-nav-bar-selected-color, #0770e3) inset}.bpk-horizontal-nav__link--default-selected:active{box-shadow:0 -3px 0 0 #0770e3 inset;box-shadow:0 -3px 0 0 var(--bpk-horizontal-nav-bar-selected-color, #0770e3) inset}.bpk-horizontal-nav__link--light{color:#fff}.bpk-no-touch-support .bpk-horizontal-nav__link--light:hover:not(:active):not(:disabled){box-shadow:0 -3px 0 0 #fff inset}:global(.bpk-no-touch-support) .bpk-horizontal-nav__link--light:hover:not(:active):not(:disabled){box-shadow:0 -3px 0 0 #fff inset}.bpk-horizontal-nav__link--light:active{box-shadow:0 -3px 0 0 #fff inset}.bpk-horizontal-nav__link--light-disabled{color:#dddde5;cursor:not-allowed}.bpk-horizontal-nav__link--light-disabled:active{color:#dddde5;box-shadow:unset}.bpk-horizontal-nav__link--light-selected{color:#fff;box-shadow:0 -3px 0 0 #fff inset}.bpk-no-touch-support .bpk-horizontal-nav__link--light-selected:hover:not(:active):not(:disabled){box-shadow:0 -3px 0 0 #fff inset}:global(.bpk-no-touch-support) .bpk-horizontal-nav__link--light-selected:hover:not(:active):not(:disabled){box-shadow:0 -3px 0 0 #fff inset}.bpk-horizontal-nav__link--light-selected:active{box-shadow:0 -3px 0 0 #fff inset}
@@ -0,0 +1,152 @@
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
+
19
+ @import '~bpk-mixins/index';
20
+
21
+ $bpk-spacing-v2: true;
22
+
23
+ .bpk-horizontal-nav {
24
+ &__item {
25
+ display: inline-block;
26
+ display: flex;
27
+
28
+ &--space-around {
29
+ margin-right: auto;
30
+ margin-left: auto;
31
+ }
32
+ }
33
+
34
+ &__link {
35
+ display: inline-block;
36
+ display: flex;
37
+ padding: (bpk-spacing-base() - (2 * $bpk-one-pixel-rem)) bpk-spacing-lg();
38
+ border: 0;
39
+ border-radius: 0;
40
+ background: none;
41
+ text-decoration: none;
42
+ cursor: pointer;
43
+ fill: currentColor;
44
+
45
+ &--default {
46
+ @include bpk-themeable-property(
47
+ color,
48
+ --bpk-horizontal-nav-link-color,
49
+ $bpk-horizontal-nav-link-color
50
+ );
51
+
52
+ @include bpk-hover {
53
+ @include bpk-border-bottom-xl($bpk-color-sky-gray-tint-06);
54
+ @include bpk-themeable-property(
55
+ color,
56
+ --bpk-horizontal-nav-link-hover-color,
57
+ $bpk-horizontal-nav-link-hover-color
58
+ );
59
+ }
60
+
61
+ &:active {
62
+ @include bpk-border-bottom-xl($bpk-color-sky-gray-tint-05);
63
+ @include bpk-themeable-property(
64
+ color,
65
+ --bpk-horizontal-nav-link-active-color,
66
+ $bpk-horizontal-nav-link-active-color
67
+ );
68
+ }
69
+
70
+ &-disabled {
71
+ color: $bpk-color-sky-gray-tint-06;
72
+ cursor: not-allowed;
73
+
74
+ &:active {
75
+ color: $bpk-color-sky-gray-tint-06;
76
+ box-shadow: unset;
77
+ }
78
+ }
79
+
80
+ &-selected {
81
+ @include bpk-border-bottom-xl($bpk-horizontal-nav-bar-selected-color);
82
+ @include bpk-border-bottom-xl(
83
+ var(
84
+ --bpk-horizontal-nav-bar-selected-color,
85
+ $bpk-horizontal-nav-bar-selected-color
86
+ )
87
+ );
88
+ @include bpk-themeable-property(
89
+ color,
90
+ --bpk-horizontal-nav-link-selected-color,
91
+ $bpk-horizontal-nav-link-selected-color
92
+ );
93
+
94
+ @include bpk-hover {
95
+ @include bpk-border-bottom-xl($bpk-horizontal-nav-bar-selected-color);
96
+ @include bpk-border-bottom-xl(
97
+ var(
98
+ --bpk-horizontal-nav-bar-selected-color,
99
+ $bpk-horizontal-nav-bar-selected-color
100
+ )
101
+ );
102
+ }
103
+
104
+ &:active {
105
+ @include bpk-border-bottom-xl($bpk-horizontal-nav-bar-selected-color);
106
+ @include bpk-border-bottom-xl(
107
+ var(
108
+ --bpk-horizontal-nav-bar-selected-color,
109
+ $bpk-horizontal-nav-bar-selected-color
110
+ )
111
+ );
112
+ }
113
+ }
114
+ }
115
+
116
+ &--light {
117
+ color: $bpk-color-white;
118
+
119
+ @include bpk-hover {
120
+ @include bpk-border-bottom-xl($bpk-color-white);
121
+ }
122
+
123
+ &:active {
124
+ @include bpk-border-bottom-xl($bpk-color-white);
125
+ }
126
+
127
+ &-disabled {
128
+ color: $bpk-color-sky-gray-tint-06;
129
+ cursor: not-allowed;
130
+
131
+ &:active {
132
+ color: $bpk-color-sky-gray-tint-06;
133
+ box-shadow: unset;
134
+ }
135
+ }
136
+
137
+ &-selected {
138
+ color: $bpk-color-white;
139
+
140
+ @include bpk-border-bottom-xl($bpk-color-white);
141
+
142
+ @include bpk-hover {
143
+ @include bpk-border-bottom-xl($bpk-color-white);
144
+ }
145
+
146
+ &:active {
147
+ @include bpk-border-bottom-xl($bpk-color-white);
148
+ }
149
+ }
150
+ }
151
+ }
152
+ }
@@ -0,0 +1,79 @@
1
+ # bpk-component-icon
2
+
3
+ > Backpack icon components.
4
+
5
+ ## Installation
6
+
7
+ ```sh
8
+ npm install bpk-component-icon --save-dev
9
+ ```
10
+
11
+ ## Basic usage
12
+
13
+ ```js
14
+ import React from 'react';
15
+ import BpkSmallFlightIcon from 'bpk-component-icon/sm/flight';
16
+ import BpkLargeAccessibilityIcon from 'bpk-component-icon/lg/accessibility';
17
+
18
+ import './icons.scss';
19
+
20
+ export default () => (
21
+ <div>
22
+ <BpkSmallFlightIcon className="abc-icon__flight" />
23
+ <BpkLargeAccessibilityIcon className="abc-icon__a11y" />
24
+ </div>
25
+ );
26
+ ```
27
+
28
+ *`icons.scss`:*
29
+ ```scss
30
+ @import '~bpk-mixins';
31
+
32
+ .abc-icon__flight {
33
+ fill: currentColor; // see https://css-tricks.com/currentcolor/
34
+ }
35
+
36
+ .abc-icon__a11y {
37
+ fill: $bpk-color-sky-blue;
38
+ }
39
+ ```
40
+
41
+ ### Aligning to BpkButton components
42
+
43
+ ```js
44
+ import React from 'react';
45
+ import BpkButton from 'bpk-component-button';
46
+ import BpkSmallFlightIcon from 'bpk-component-icon/sm/flight';
47
+ import BpkLargeAccessibilityIcon from 'bpk-component-icon/lg/accessibility';
48
+ import { withButtonAlignment, withLargeButtonAlignment } from 'bpk-component-icon';
49
+
50
+ const AlignedBpkSmallFlightIcon = withButtonAlignment(BpkSmallFlightIcon);
51
+ const AlignedBpkLargeAccessibilityIcon = withLargeButtonAlignment(BpkLargeAccessibilityIcon);
52
+
53
+ export default () => (
54
+ <div>
55
+ <BpkButton>
56
+ <AlignedBpkSmallFlightIcon />
57
+ </BpkButton>
58
+ <BpkButton large>
59
+ <AlignedBpkLargeAccessibilityIcon />
60
+ </BpkButton>
61
+ </div>
62
+ );
63
+ ```
64
+
65
+ ### RTL support
66
+
67
+ ```js
68
+ import React from 'react';
69
+ import BpkSmallFlightIcon from 'bpk-component-icon/sm/flight';
70
+ import { withRtlSupport } from 'bpk-component-icon';
71
+
72
+ import './icons.scss';
73
+
74
+ const RtlSupportedBpkSmallFlightIcon = withRtlSupport(BpkSmallFlightIcon);
75
+
76
+ export default () => (
77
+ <RtlSupportedBpkSmallFlightIcon className="abc-icon__flight" />
78
+ );
79
+ ```
@@ -0,0 +1,33 @@
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
+
19
+ function requireAll(requireContext) {
20
+ const hash = {};
21
+
22
+ requireContext.keys().forEach((key) => {
23
+ const moduleName = key.replace('./', '').replace('.js', '');
24
+ hash[moduleName] = requireContext(key).default;
25
+ });
26
+
27
+ return hash;
28
+ }
29
+
30
+ module.exports = {
31
+ sm: requireAll(require.context('./sm', false, /\.js$/)),
32
+ lg: requireAll(require.context('./lg', false, /\.js$/)),
33
+ };
@@ -0,0 +1,152 @@
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
+
19
+ import React from 'react';
20
+ import {
21
+ colors,
22
+ lineHeightBase,
23
+ iconSizeSm,
24
+ iconSizeLg,
25
+ lineHeightSm,
26
+ } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
27
+ import BpkButton from 'bpk-component-button';
28
+ import { BpkList, BpkListItem } from 'bpk-component-list';
29
+ import BpkText from 'bpk-component-text';
30
+
31
+ import { sm, lg } from './all';
32
+ import SearchIcon from './lg/search';
33
+ import SmallLongArrowRightIcon from './sm/long-arrow-right';
34
+ import LargeLongArrowRightIcon from './lg/long-arrow-right';
35
+
36
+ import {
37
+ withAlignment,
38
+ withButtonAlignment,
39
+ withLargeButtonAlignment,
40
+ withRtlSupport,
41
+ } from './index';
42
+
43
+ const AlignedBaseArrow = withAlignment(
44
+ SmallLongArrowRightIcon,
45
+ lineHeightBase,
46
+ iconSizeSm,
47
+ );
48
+
49
+ const AlignedSpan = withAlignment('span', iconSizeLg, lineHeightBase);
50
+ const AlignedSpanSmall = withAlignment('span', iconSizeLg, lineHeightSm);
51
+
52
+ const AlignedSmallLongArrowRightIcon = withButtonAlignment(
53
+ SmallLongArrowRightIcon,
54
+ );
55
+ const AlignedLargeLongArrowRightIcon = withLargeButtonAlignment(
56
+ LargeLongArrowRightIcon,
57
+ );
58
+ const RtlAlignedLargeLongArrowRightIcon = withRtlSupport(
59
+ withLargeButtonAlignment(LargeLongArrowRightIcon),
60
+ );
61
+
62
+ const SmallIconsExample = () => (
63
+ <BpkList>
64
+ {Object.keys(sm).map((icon) => {
65
+ const Icon = sm[icon];
66
+ return (
67
+ <BpkListItem key={icon}>
68
+ <Icon fill={colors.colorSkyGrayTint01} /> <span>{icon}</span>
69
+ </BpkListItem>
70
+ );
71
+ })}
72
+ </BpkList>
73
+ );
74
+
75
+ const LargeIconsExample = () => (
76
+ <BpkList>
77
+ {Object.keys(lg).map((icon) => {
78
+ const Icon = lg[icon];
79
+ return (
80
+ <BpkListItem key={icon}>
81
+ <Icon fill={colors.colorSkyGrayTint01} /> <span>{icon}</span>
82
+ </BpkListItem>
83
+ );
84
+ })}
85
+ </BpkList>
86
+ );
87
+
88
+ const AlignToBaseTextExample = () => (
89
+ <BpkText textStyle="base">
90
+ Search &nbsp;
91
+ <AlignedBaseArrow fill={colors.colorSkyGrayTint01} />
92
+ </BpkText>
93
+ );
94
+
95
+ const AlignToLargeTextExample = () => (
96
+ <BpkText textStyle="lg">
97
+ Search &nbsp;
98
+ <AlignedLargeLongArrowRightIcon fill={colors.colorSkyGrayTint01} />
99
+ </BpkText>
100
+ );
101
+
102
+ const AlignSmallTextToIconExample = () => (
103
+ <BpkText textStyle="sm">
104
+ <SearchIcon fill={colors.colorSkyGrayTint01} />
105
+ <AlignedSpanSmall>&nbsp; Search</AlignedSpanSmall>
106
+ </BpkText>
107
+ );
108
+
109
+ const AlignTextToIconExample = () => (
110
+ <BpkText textStyle="base">
111
+ <SearchIcon fill={colors.colorSkyGrayTint01} />
112
+ <AlignedSpan>&nbsp; Search</AlignedSpan>
113
+ </BpkText>
114
+ );
115
+
116
+ const AlignToButtonExample = () => (
117
+ <BpkButton>
118
+ Next step <AlignedSmallLongArrowRightIcon fill={colors.colorWhite} />
119
+ </BpkButton>
120
+ );
121
+
122
+ const AlignToLargeButtonExample = () => (
123
+ <BpkButton large>
124
+ Next step <AlignedLargeLongArrowRightIcon fill={colors.colorWhite} />
125
+ </BpkButton>
126
+ );
127
+
128
+ const AlignToLargeButtonRTLExample = () => (
129
+ <BpkButton large>
130
+ Search <RtlAlignedLargeLongArrowRightIcon fill={colors.colorWhite} />
131
+ </BpkButton>
132
+ );
133
+
134
+ const MixedExample = () => (
135
+ <div>
136
+ <SmallIconsExample />
137
+ <LargeIconsExample />
138
+ </div>
139
+ );
140
+
141
+ export {
142
+ SmallIconsExample,
143
+ LargeIconsExample,
144
+ AlignToBaseTextExample,
145
+ AlignToLargeTextExample,
146
+ AlignSmallTextToIconExample,
147
+ AlignTextToIconExample,
148
+ AlignToButtonExample,
149
+ AlignToLargeButtonExample,
150
+ AlignToLargeButtonRTLExample,
151
+ MixedExample,
152
+ };
@@ -0,0 +1,49 @@
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
+
19
+ import {
20
+ iconSizeSm,
21
+ iconSizeLg,
22
+ buttonLineHeight,
23
+ buttonLargeLineHeight,
24
+ } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
25
+
26
+ import withAlignment from './src/withAlignment';
27
+ import withRtlSupport from './src/withRtlSupport';
28
+ import withDescription from './src/withDescription';
29
+
30
+ // Wrapper functions to provide backwards compatibility
31
+ function withButtonAlignment(WrappedComponent) {
32
+ return withAlignment(WrappedComponent, buttonLineHeight, iconSizeSm);
33
+ }
34
+
35
+ function withLargeButtonAlignment(WrappedComponent) {
36
+ return withAlignment(WrappedComponent, buttonLargeLineHeight, iconSizeLg);
37
+ }
38
+
39
+ // alias to maintain backwards compat, can be deprecated in due course
40
+ // alias to maintain backwards compat, can be deprecated in due course
41
+ export {
42
+ withButtonAlignment as alignToButton,
43
+ withLargeButtonAlignment as alignToLargeButton,
44
+ withButtonAlignment,
45
+ withLargeButtonAlignment,
46
+ withAlignment,
47
+ withRtlSupport,
48
+ withDescription,
49
+ };
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export default (({
3
+ styles = {},
4
+ ...props
5
+ }) => <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style={{
6
+ width: "1.5rem",
7
+ height: "1.5rem"
8
+ }} {...props}><path d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm0 18a8 8 0 1 1 8-8 8 8 0 0 1-8 8zM11 7.597V6.445a.314.314 0 0 1 .19-.303A2.216 2.216 0 0 1 12 6a2.15 2.15 0 0 1 .797.141.33.33 0 0 1 .203.314v1.142c0 .448-.5.676-1 .676s-1-.228-1-.676zm5.996 1.932a.525.525 0 0 1-.469.518l-2.35.235a1 1 0 0 0-.895.896l-.093.936a.97.97 0 0 0 .005.241l.72 5.047a.524.524 0 0 1-1.023.218l-.795-2.784a.1.1 0 0 0-.192 0l-.795 2.784a.524.524 0 0 1-1.024-.218l.721-5.047a.916.916 0 0 0 .005-.24l-.093-.937a1 1 0 0 0-.896-.896l-2.35-.235A.525.525 0 0 1 7.525 9h8.95a.525.525 0 0 1 .521.529z" /></svg>);
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export default (({
3
+ styles = {},
4
+ ...props
5
+ }) => <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style={{
6
+ width: "1.5rem",
7
+ height: "1.5rem"
8
+ }} {...props}><path d="M9.5 12c1.5 0 3-.8 3-2.378V4.6a1.179 1.179 0 0 0-.608-1.102A5.616 5.616 0 0 0 9.5 3a5.833 5.833 0 0 0-2.428.499A1.13 1.13 0 0 0 6.5 4.568v5.054C6.5 11.199 8 12 9.5 12zm-1-3h2v.028a1 1 0 0 1-2 0zm2 7a6.98 6.98 0 0 0 2.1 5H4.546A2.951 2.951 0 0 1 1.5 18.227v-.996a1.77 1.77 0 0 1 .99-1.634A16.867 16.867 0 0 1 9.472 14q.666 0 1.3.058A7.002 7.002 0 0 0 10.5 16zm7-5a5 5 0 1 0 5 5 5 5 0 0 0-5-5zm3 5a1 1 0 0 1-1 1h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1v-1a1 1 0 0 1 2 0v1h1a1 1 0 0 1 1 1z" /></svg>);
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export default (({
3
+ styles = {},
4
+ ...props
5
+ }) => <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style={{
6
+ width: "1.5rem",
7
+ height: "1.5rem"
8
+ }} {...props}><path d="M10.865 12h2.27a8.07 8.07 0 0 0 3.223-.614c.234-.117.15-.44-.046-.61a3.617 3.617 0 0 1-.744-2.63 8.345 8.345 0 0 1 .079-1.068 4.03 4.03 0 0 0-.08-1.808c-.454-1.575-1.296-1.766-2.27-1.46a2.682 2.682 0 0 0-4.54 1.284 10.123 10.123 0 0 0-.325 3.052 3.617 3.617 0 0 1-.744 2.63c-.197.17-.28.493-.046.61a8.07 8.07 0 0 0 3.223.614zM11 9h2v.028a1 1 0 0 1-2 0zm9 8.25v.977A2.712 2.712 0 0 1 17.227 21H7.045A2.951 2.951 0 0 1 4 18.227v-.995a1.77 1.77 0 0 1 .99-1.634A16.866 16.866 0 0 1 11.972 14a17.328 17.328 0 0 1 7.016 1.6A1.784 1.784 0 0 1 20 17.25z" /></svg>);
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export default (({
3
+ styles = {},
4
+ ...props
5
+ }) => <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style={{
6
+ width: "1.5rem",
7
+ height: "1.5rem"
8
+ }} {...props}><path d="M18.922 2H5a3.226 3.226 0 0 0-3 3v13.768A3.27 3.27 0 0 0 5 22h14a3.226 3.226 0 0 0 3-3V5a3.238 3.238 0 0 0-3.078-3zM8 7.858A.878.878 0 0 1 8.897 7h1.206a.878.878 0 0 1 .897.858v1.707a1.501 1.501 0 0 1-3 0zm6 7.557A1.537 1.537 0 0 1 12.44 17H6.713A1.67 1.67 0 0 1 5 15.415v-.653a.892.892 0 0 1 .487-.815A9.372 9.372 0 0 1 9.484 13a9.647 9.647 0 0 1 4.017.947.898.898 0 0 1 .499.825zM18.5 11h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 1 0 1zm0-2h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 1 0 1z" /></svg>);
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export default (({
3
+ styles = {},
4
+ ...props
5
+ }) => <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style={{
6
+ width: "1.5rem",
7
+ height: "1.5rem"
8
+ }} {...props}><path d="M10 12c1.5 0 3-.8 3-2.378V4.6a1.179 1.179 0 0 0-.608-1.102A5.619 5.619 0 0 0 10 3a5.833 5.833 0 0 0-2.428.499A1.13 1.13 0 0 0 7 4.568v5.054C7 11.2 8.5 12 10 12zM9 9h2v.028a1 1 0 0 1-2 0zm9 8.25v.977A2.712 2.712 0 0 1 15.227 21H5.045A2.951 2.951 0 0 1 2 18.227v-.995a1.77 1.77 0 0 1 .99-1.634A16.866 16.866 0 0 1 9.972 14a17.328 17.328 0 0 1 7.016 1.6A1.784 1.784 0 0 1 18 17.25zM22 7a1 1 0 0 1-1 1h-4a1 1 0 0 1 0-2h4a1 1 0 0 1 1 1zm-1 4a1 1 0 0 1-1 1h-3a1 1 0 0 1 0-2h3a1 1 0 0 1 1 1z" /></svg>);
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export default (({
3
+ styles = {},
4
+ ...props
5
+ }) => <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style={{
6
+ width: "1.5rem",
7
+ height: "1.5rem"
8
+ }} {...props}><path d="M4 5a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v16.382a1 1 0 0 1-1.447.894l-5.659-2.829a2 2 0 0 0-1.788 0l-5.659 2.83A1 1 0 0 1 4 21.381V5zm13.237 3.676a1 1 0 0 0-1.474-1.352l-4.794 5.23-2.262-2.261a1 1 0 1 0-1.414 1.414l3 3a1 1 0 0 0 1.444-.031l5.5-6z" /></svg>);
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export default (({
3
+ styles = {},
4
+ ...props
5
+ }) => <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" style={{
6
+ width: "1.5rem",
7
+ height: "1.5rem"
8
+ }} {...props}><path d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zM9.809 7.254A1.283 1.283 0 0 1 11.12 6h1.763a1.283 1.283 0 0 1 1.31 1.254V9.35a2.194 2.194 0 0 1-4.384 0zM16.5 16a5.28 5.28 0 0 1-4.5 2 5.261 5.261 0 0 1-4.5-2 1.345 1.345 0 0 1 0-1.5 7.204 7.204 0 0 1 4.5-1.497 7.322 7.322 0 0 1 4.5 1.497c.345.28.274 1.15 0 1.5z" /></svg>);