@skyscanner/backpack-web 6.1.0 → 7.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -5
- package/README.md +0 -101
- package/bpk-animate-height/README.md +0 -55
- package/bpk-animate-height/index.js +0 -21
- package/bpk-animate-height/package.json +0 -26
- package/bpk-animate-height/src/AnimateHeight.js +0 -184
- package/bpk-component-accordion/README.md +0 -124
- package/bpk-component-accordion/index.js +0 -33
- package/bpk-component-accordion/package.json +0 -31
- package/bpk-component-accordion/src/BpkAccordion.js +0 -54
- package/bpk-component-accordion/src/BpkAccordion.module.css +0 -18
- package/bpk-component-accordion/src/BpkAccordion.module.scss +0 -23
- package/bpk-component-accordion/src/BpkAccordionItem.js +0 -138
- package/bpk-component-accordion/src/BpkAccordionItem.module.css +0 -18
- package/bpk-component-accordion/src/BpkAccordionItem.module.scss +0 -117
- package/bpk-component-accordion/src/themeAttributes.js +0 -25
- package/bpk-component-accordion/src/withAccordionItemState.js +0 -89
- package/bpk-component-accordion/src/withSingleItemAccordionState.js +0 -96
- package/bpk-component-aria-live/README.md +0 -42
- package/bpk-component-aria-live/index.js +0 -27
- package/bpk-component-aria-live/package.json +0 -31
- package/bpk-component-aria-live/src/BpkAriaLive.js +0 -67
- package/bpk-component-aria-live/src/BpkAriaLive.module.css +0 -18
- package/bpk-component-aria-live/src/BpkAriaLive.module.scss +0 -25
- package/bpk-component-autosuggest/README.md +0 -126
- package/bpk-component-autosuggest/index.js +0 -25
- package/bpk-component-autosuggest/package.json +0 -29
- package/bpk-component-autosuggest/src/BpkAutosuggest.js +0 -79
- package/bpk-component-autosuggest/src/BpkAutosuggest.module.css +0 -18
- package/bpk-component-autosuggest/src/BpkAutosuggest.module.scss +0 -156
- package/bpk-component-autosuggest/src/BpkAutosuggestSuggestion.js +0 -107
- package/bpk-component-badge/README.md +0 -39
- package/bpk-component-badge/index.js +0 -26
- package/bpk-component-badge/package.json +0 -29
- package/bpk-component-badge/src/BpkBadge.js +0 -92
- package/bpk-component-badge/src/BpkBadge.module.css +0 -18
- package/bpk-component-badge/src/BpkBadge.module.scss +0 -55
- package/bpk-component-badge/src/themeAttributes.js +0 -23
- package/bpk-component-banner-alert/README.md +0 -153
- package/bpk-component-banner-alert/index.js +0 -34
- package/bpk-component-banner-alert/package.json +0 -34
- package/bpk-component-banner-alert/src/AnimateAndFade.js +0 -185
- package/bpk-component-banner-alert/src/BpkAnimateAndFade.module.css +0 -18
- package/bpk-component-banner-alert/src/BpkAnimateAndFade.module.scss +0 -53
- package/bpk-component-banner-alert/src/BpkBannerAlert.js +0 -37
- package/bpk-component-banner-alert/src/BpkBannerAlert.module.css +0 -18
- package/bpk-component-banner-alert/src/BpkBannerAlert.module.scss +0 -163
- package/bpk-component-banner-alert/src/BpkBannerAlertDismissable.js +0 -52
- package/bpk-component-banner-alert/src/BpkBannerAlertExpandable.js +0 -63
- package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +0 -262
- package/bpk-component-banner-alert/src/common-types.js +0 -70
- package/bpk-component-banner-alert/src/themeAttributes.js +0 -24
- package/bpk-component-banner-alert/src/withBannerAlertState.js +0 -185
- package/bpk-component-barchart/README.md +0 -189
- package/bpk-component-barchart/data.json +0 -20
- package/bpk-component-barchart/index.js +0 -38
- package/bpk-component-barchart/package.json +0 -35
- package/bpk-component-barchart/src/BpkBarchart.js +0 -337
- package/bpk-component-barchart/src/BpkBarchart.module.css +0 -18
- package/bpk-component-barchart/src/BpkBarchart.module.scss +0 -21
- package/bpk-component-barchart/src/BpkBarchartBar.js +0 -154
- package/bpk-component-barchart/src/BpkBarchartBar.module.css +0 -18
- package/bpk-component-barchart/src/BpkBarchartBar.module.scss +0 -68
- package/bpk-component-barchart/src/BpkBarchartBars.js +0 -165
- package/bpk-component-barchart/src/BpkBarchartDefs.js +0 -48
- package/bpk-component-barchart/src/BpkChartAxis.js +0 -186
- package/bpk-component-barchart/src/BpkChartAxis.module.css +0 -18
- package/bpk-component-barchart/src/BpkChartAxis.module.scss +0 -37
- package/bpk-component-barchart/src/BpkChartDataTable.js +0 -77
- package/bpk-component-barchart/src/BpkChartDataTable.module.css +0 -18
- package/bpk-component-barchart/src/BpkChartDataTable.module.scss +0 -28
- package/bpk-component-barchart/src/BpkChartGridLines.js +0 -119
- package/bpk-component-barchart/src/BpkChartGridLines.module.css +0 -18
- package/bpk-component-barchart/src/BpkChartGridLines.module.scss +0 -26
- package/bpk-component-barchart/src/BpkChartMargin.js +0 -55
- package/bpk-component-barchart/src/RTLtransforms.js +0 -55
- package/bpk-component-barchart/src/customPropTypes.js +0 -51
- package/bpk-component-barchart/src/orientation.js +0 -22
- package/bpk-component-barchart/src/themeAttributes.js +0 -26
- package/bpk-component-barchart/src/utils.js +0 -43
- package/bpk-component-blockquote/README.md +0 -35
- package/bpk-component-blockquote/index.js +0 -23
- package/bpk-component-blockquote/package.json +0 -24
- package/bpk-component-blockquote/src/BpkBlockquote.js +0 -51
- package/bpk-component-blockquote/src/BpkBlockquote.module.css +0 -18
- package/bpk-component-blockquote/src/BpkBlockquote.module.scss +0 -29
- package/bpk-component-blockquote/src/themeAttributes.js +0 -19
- package/bpk-component-breadcrumb/README.md +0 -58
- package/bpk-component-breadcrumb/index.js +0 -31
- package/bpk-component-breadcrumb/package.json +0 -27
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.js +0 -112
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.module.css +0 -18
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.module.scss +0 -27
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.js +0 -93
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.module.css +0 -18
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.module.scss +0 -40
- package/bpk-component-breakpoint/README.md +0 -34
- package/bpk-component-breakpoint/index.js +0 -24
- package/bpk-component-breakpoint/package.json +0 -28
- package/bpk-component-breakpoint/src/BpkBreakpoint.js +0 -68
- package/bpk-component-button/BpkButtonDestructive.js +0 -21
- package/bpk-component-button/BpkButtonFeatured.js +0 -21
- package/bpk-component-button/BpkButtonLink.js +0 -21
- package/bpk-component-button/BpkButtonLinkOnDark.js +0 -21
- package/bpk-component-button/BpkButtonOutline.js +0 -21
- package/bpk-component-button/BpkButtonPrimary.js +0 -21
- package/bpk-component-button/BpkButtonPrimaryOnDark.js +0 -21
- package/bpk-component-button/BpkButtonPrimaryOnLight.js +0 -21
- package/bpk-component-button/BpkButtonSecondary.js +0 -21
- package/bpk-component-button/BpkButtonSecondaryOnDark.js +0 -21
- package/bpk-component-button/README.md +0 -140
- package/bpk-component-button/index.js +0 -57
- package/bpk-component-button/package.json +0 -26
- package/bpk-component-button/src/BpkButton.js +0 -129
- package/bpk-component-button/src/BpkButtonBase.js +0 -122
- package/bpk-component-button/src/BpkButtonBase.module.css +0 -18
- package/bpk-component-button/src/BpkButtonBase.module.scss +0 -50
- package/bpk-component-button/src/BpkButtonDestructive.js +0 -48
- package/bpk-component-button/src/BpkButtonDestructive.module.css +0 -18
- package/bpk-component-button/src/BpkButtonDestructive.module.scss +0 -24
- package/bpk-component-button/src/BpkButtonFeatured.js +0 -48
- package/bpk-component-button/src/BpkButtonFeatured.module.css +0 -18
- package/bpk-component-button/src/BpkButtonFeatured.module.scss +0 -23
- package/bpk-component-button/src/BpkButtonLink.js +0 -59
- package/bpk-component-button/src/BpkButtonLink.module.css +0 -18
- package/bpk-component-button/src/BpkButtonLink.module.scss +0 -25
- package/bpk-component-button/src/BpkButtonLinkOnDark.js +0 -59
- package/bpk-component-button/src/BpkButtonLinkOnDark.module.scss +0 -23
- package/bpk-component-button/src/BpkButtonOutline.js +0 -48
- package/bpk-component-button/src/BpkButtonOutline.module.css +0 -18
- package/bpk-component-button/src/BpkButtonOutline.module.scss +0 -23
- package/bpk-component-button/src/BpkButtonPrimary.js +0 -33
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.js +0 -48
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.scss +0 -23
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.js +0 -48
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.scss +0 -23
- package/bpk-component-button/src/BpkButtonSecondary.js +0 -48
- package/bpk-component-button/src/BpkButtonSecondary.module.css +0 -18
- package/bpk-component-button/src/BpkButtonSecondary.module.scss +0 -23
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.js +0 -48
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.scss +0 -23
- package/bpk-component-button/src/common-types.js +0 -62
- package/bpk-component-button/src/commonButtonTests.js +0 -116
- package/bpk-component-button/src/themeAttributes.js +0 -92
- package/bpk-component-button/themeAttributes.js +0 -30
- package/bpk-component-calendar/DOCS.md +0 -29
- package/bpk-component-calendar/README.md +0 -406
- package/bpk-component-calendar/index.js +0 -60
- package/bpk-component-calendar/package.json +0 -34
- package/bpk-component-calendar/src/BpkCalendar.module.css +0 -18
- package/bpk-component-calendar/src/BpkCalendar.module.scss +0 -42
- package/bpk-component-calendar/src/BpkCalendarContainer.js +0 -372
- package/bpk-component-calendar/src/BpkCalendarDate.js +0 -228
- package/bpk-component-calendar/src/BpkCalendarDate.module.css +0 -18
- package/bpk-component-calendar/src/BpkCalendarDate.module.scss +0 -164
- package/bpk-component-calendar/src/BpkCalendarGrid.js +0 -222
- package/bpk-component-calendar/src/BpkCalendarGrid.module.css +0 -18
- package/bpk-component-calendar/src/BpkCalendarGrid.module.scss +0 -64
- package/bpk-component-calendar/src/BpkCalendarGridHeader.js +0 -110
- package/bpk-component-calendar/src/BpkCalendarGridHeader.module.css +0 -18
- package/bpk-component-calendar/src/BpkCalendarGridHeader.module.scss +0 -53
- package/bpk-component-calendar/src/BpkCalendarGridTransition.js +0 -222
- package/bpk-component-calendar/src/BpkCalendarGridTransition.module.css +0 -18
- package/bpk-component-calendar/src/BpkCalendarGridTransition.module.scss +0 -47
- package/bpk-component-calendar/src/BpkCalendarNav.js +0 -176
- package/bpk-component-calendar/src/BpkCalendarNav.module.css +0 -18
- package/bpk-component-calendar/src/BpkCalendarNav.module.scss +0 -89
- package/bpk-component-calendar/src/Week.js +0 -455
- package/bpk-component-calendar/src/_variables.scss +0 -24
- package/bpk-component-calendar/src/composeCalendar.js +0 -212
- package/bpk-component-calendar/src/custom-proptypes.js +0 -92
- package/bpk-component-calendar/src/date-utils.js +0 -222
- package/bpk-component-calendar/src/themeAttributes.js +0 -30
- package/bpk-component-calendar/src/utils.js +0 -61
- package/bpk-component-calendar/test-utils.js +0 -302
- package/bpk-component-card/README.md +0 -34
- package/bpk-component-card/index.js +0 -22
- package/bpk-component-card/package.json +0 -28
- package/bpk-component-card/src/BpkCard.js +0 -112
- package/bpk-component-card/src/BpkCard.module.css +0 -18
- package/bpk-component-card/src/BpkCard.module.scss +0 -27
- package/bpk-component-checkbox/README.md +0 -47
- package/bpk-component-checkbox/index.js +0 -25
- package/bpk-component-checkbox/package.json +0 -29
- package/bpk-component-checkbox/src/BpkCheckbox.js +0 -133
- package/bpk-component-checkbox/src/BpkCheckbox.module.css +0 -18
- package/bpk-component-checkbox/src/BpkCheckbox.module.scss +0 -70
- package/bpk-component-checkbox/src/themeAttributes.js +0 -21
- package/bpk-component-chip/README.md +0 -111
- package/bpk-component-chip/index.js +0 -34
- package/bpk-component-chip/package.json +0 -29
- package/bpk-component-chip/src/BpkDismissibleChip.js +0 -56
- package/bpk-component-chip/src/BpkSelectableChip.js +0 -105
- package/bpk-component-chip/src/BpkSelectableChip.module.css +0 -18
- package/bpk-component-chip/src/BpkSelectableChip.module.scss +0 -23
- package/bpk-component-chip/src/commonTypes.js +0 -60
- package/bpk-component-chip/src/themeAttributes.js +0 -34
- package/bpk-component-close-button/README.md +0 -27
- package/bpk-component-close-button/index.js +0 -23
- package/bpk-component-close-button/package.json +0 -28
- package/bpk-component-close-button/src/BpkCloseButton.js +0 -74
- package/bpk-component-close-button/src/BpkCloseButton.module.css +0 -18
- package/bpk-component-close-button/src/BpkCloseButton.module.scss +0 -51
- package/bpk-component-code/README.md +0 -43
- package/bpk-component-code/index.js +0 -23
- package/bpk-component-code/package.json +0 -24
- package/bpk-component-code/src/BpkCode.js +0 -65
- package/bpk-component-code/src/BpkCode.module.css +0 -18
- package/bpk-component-code/src/BpkCode.module.scss +0 -27
- package/bpk-component-code/src/BpkCodeBlock.js +0 -63
- package/bpk-component-code/src/BpkCodeBlock.module.css +0 -18
- package/bpk-component-code/src/BpkCodeBlock.module.scss +0 -33
- package/bpk-component-content-container/README.md +0 -33
- package/bpk-component-content-container/index.js +0 -21
- package/bpk-component-content-container/package.json +0 -24
- package/bpk-component-content-container/src/BpkContentContainer.js +0 -85
- package/bpk-component-content-container/src/BpkContentContainer.module.css +0 -18
- package/bpk-component-content-container/src/BpkContentContainer.module.scss +0 -41
- package/bpk-component-datatable/README.md +0 -141
- package/bpk-component-datatable/index.js +0 -21
- package/bpk-component-datatable/package.json +0 -30
- package/bpk-component-datatable/src/BpkDataTable.js +0 -197
- package/bpk-component-datatable/src/BpkDataTable.module.css +0 -18
- package/bpk-component-datatable/src/BpkDataTable.module.scss +0 -92
- package/bpk-component-datatable/src/BpkDataTableColumn.js +0 -64
- package/bpk-component-datatable/src/BpkDataTableColumn.module.css +0 -18
- package/bpk-component-datatable/src/BpkDataTableColumn.module.scss +0 -65
- package/bpk-component-datatable/src/bpkHeaderRenderer.js +0 -110
- package/bpk-component-datatable/src/common-types.js +0 -50
- package/bpk-component-datatable/src/hasChildrenOfType.js +0 -59
- package/bpk-component-datatable/src/sort-types.js +0 -29
- package/bpk-component-datatable/src/sorter.js +0 -166
- package/bpk-component-datatable/src/utils.js +0 -30
- package/bpk-component-datepicker/README.md +0 -177
- package/bpk-component-datepicker/index.js +0 -25
- package/bpk-component-datepicker/package.json +0 -33
- package/bpk-component-datepicker/src/BpkDatepicker.js +0 -369
- package/bpk-component-datepicker/src/BpkDatepicker.module.css +0 -18
- package/bpk-component-datepicker/src/BpkDatepicker.module.scss +0 -25
- package/bpk-component-datepicker/src/themeAttributes.js +0 -29
- package/bpk-component-description-list/README.md +0 -46
- package/bpk-component-description-list/index.js +0 -23
- package/bpk-component-description-list/package.json +0 -24
- package/bpk-component-description-list/src/BpkDescriptionDetails.js +0 -21
- package/bpk-component-description-list/src/BpkDescriptionList.js +0 -21
- package/bpk-component-description-list/src/BpkDescriptionList.module.css +0 -18
- package/bpk-component-description-list/src/BpkDescriptionList.module.scss +0 -37
- package/bpk-component-description-list/src/BpkDescriptionTerm.js +0 -21
- package/bpk-component-description-list/src/ComponentFactory.js +0 -55
- package/bpk-component-dialog/README.md +0 -105
- package/bpk-component-dialog/index.js +0 -26
- package/bpk-component-dialog/package.json +0 -32
- package/bpk-component-dialog/src/BpkDialog.js +0 -90
- package/bpk-component-dialog/src/BpkDialog.module.css +0 -18
- package/bpk-component-dialog/src/BpkDialog.module.scss +0 -80
- package/bpk-component-dialog/src/BpkDialogInner.js +0 -90
- package/bpk-component-dialog/src/BpkDialogInner.module.css +0 -18
- package/bpk-component-dialog/src/BpkDialogInner.module.scss +0 -62
- package/bpk-component-dialog/src/common-types.js +0 -99
- package/bpk-component-drawer/README.md +0 -90
- package/bpk-component-drawer/index.js +0 -25
- package/bpk-component-drawer/package.json +0 -34
- package/bpk-component-drawer/src/BpkDrawer.js +0 -97
- package/bpk-component-drawer/src/BpkDrawer.module.css +0 -18
- package/bpk-component-drawer/src/BpkDrawer.module.scss +0 -23
- package/bpk-component-drawer/src/BpkDrawerContent.js +0 -169
- package/bpk-component-drawer/src/BpkDrawerContent.module.css +0 -18
- package/bpk-component-drawer/src/BpkDrawerContent.module.scss +0 -107
- package/bpk-component-drawer/src/themeAttributes.js +0 -23
- package/bpk-component-fieldset/README.md +0 -73
- package/bpk-component-fieldset/index.js +0 -30
- package/bpk-component-fieldset/package.json +0 -36
- package/bpk-component-fieldset/src/BpkFieldset.js +0 -194
- package/bpk-component-fieldset/src/BpkFieldset.module.css +0 -18
- package/bpk-component-fieldset/src/BpkFieldset.module.scss +0 -39
- package/bpk-component-fieldset/src/themeAttributes.js +0 -19
- package/bpk-component-flare/README.md +0 -52
- package/bpk-component-flare/index.js +0 -25
- package/bpk-component-flare/package.json +0 -29
- package/bpk-component-flare/src/BpkContentBubble.js +0 -103
- package/bpk-component-flare/src/BpkFlareBar.js +0 -77
- package/bpk-component-flare/src/__generated__/js/corner-radius.js +0 -5
- package/bpk-component-flare/src/__generated__/js/pointer.js +0 -5
- package/bpk-component-flare/src/bpk-content-bubble.module.css +0 -18
- package/bpk-component-flare/src/bpk-content-bubble.module.scss +0 -60
- package/bpk-component-flare/src/bpk-flare-bar.module.css +0 -18
- package/bpk-component-flare/src/bpk-flare-bar.module.scss +0 -74
- package/bpk-component-flare/src/svgs/corner-radius.svg +0 -1
- package/bpk-component-flare/src/svgs/pointer.svg +0 -1
- package/bpk-component-floating-notification/README.md +0 -58
- package/bpk-component-floating-notification/index.js +0 -27
- package/bpk-component-floating-notification/package.json +0 -26
- package/bpk-component-floating-notification/src/BpkFloatingNotification.js +0 -157
- package/bpk-component-floating-notification/src/BpkFloatingNotification.module.css +0 -18
- package/bpk-component-floating-notification/src/BpkFloatingNotification.module.scss +0 -96
- package/bpk-component-form-validation/README.md +0 -33
- package/bpk-component-form-validation/index.js +0 -23
- package/bpk-component-form-validation/package.json +0 -34
- package/bpk-component-form-validation/src/BpkFormValidation.js +0 -85
- package/bpk-component-form-validation/src/BpkFormValidation.module.css +0 -18
- package/bpk-component-form-validation/src/BpkFormValidation.module.scss +0 -44
- package/bpk-component-form-validation/src/themeAttributes.js +0 -19
- package/bpk-component-graphic-promotion/README.md +0 -68
- package/bpk-component-graphic-promotion/index.js +0 -27
- package/bpk-component-graphic-promotion/package.json +0 -25
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.js +0 -212
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.module.scss +0 -260
- package/bpk-component-graphic-promotion/src/custom-breakpoints.module.scss +0 -70
- package/bpk-component-grid/README.md +0 -90
- package/bpk-component-grid/index.js +0 -25
- package/bpk-component-grid/package.json +0 -24
- package/bpk-component-grid/src/BpkGridColumn.js +0 -118
- package/bpk-component-grid/src/BpkGridColumn.module.css +0 -18
- package/bpk-component-grid/src/BpkGridColumn.module.scss +0 -73
- package/bpk-component-grid/src/BpkGridContainer.js +0 -62
- package/bpk-component-grid/src/BpkGridContainer.module.css +0 -18
- package/bpk-component-grid/src/BpkGridContainer.module.scss +0 -33
- package/bpk-component-grid/src/BpkGridRow.js +0 -57
- package/bpk-component-grid/src/BpkGridRow.module.css +0 -18
- package/bpk-component-grid/src/BpkGridRow.module.scss +0 -29
- package/bpk-component-grid-toggle/README.md +0 -27
- package/bpk-component-grid-toggle/index.js +0 -21
- package/bpk-component-grid-toggle/package.json +0 -25
- package/bpk-component-grid-toggle/src/BpkGridToggle.js +0 -96
- package/bpk-component-grid-toggle/src/BpkGridToggle.module.css +0 -18
- package/bpk-component-grid-toggle/src/BpkGridToggle.module.scss +0 -52
- package/bpk-component-horizontal-nav/README.md +0 -103
- package/bpk-component-horizontal-nav/index.js +0 -32
- package/bpk-component-horizontal-nav/package.json +0 -30
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.js +0 -207
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.module.css +0 -18
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.module.scss +0 -37
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.js +0 -127
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.module.css +0 -18
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.module.scss +0 -152
- package/bpk-component-icon/README.md +0 -79
- package/bpk-component-icon/all.js +0 -33
- package/bpk-component-icon/index.js +0 -49
- package/bpk-component-icon/lg/accessibility.js +0 -8
- package/bpk-component-icon/lg/account--add.js +0 -8
- package/bpk-component-icon/lg/account--female.js +0 -8
- package/bpk-component-icon/lg/account--id-card.js +0 -8
- package/bpk-component-icon/lg/account--name.js +0 -8
- package/bpk-component-icon/lg/account--permit.js +0 -8
- package/bpk-component-icon/lg/account-circle.js +0 -8
- package/bpk-component-icon/lg/account.js +0 -8
- package/bpk-component-icon/lg/add-circle.js +0 -8
- package/bpk-component-icon/lg/adult.js +0 -8
- package/bpk-component-icon/lg/aircon.js +0 -8
- package/bpk-component-icon/lg/aircraft.js +0 -8
- package/bpk-component-icon/lg/airline--multiple.js +0 -8
- package/bpk-component-icon/lg/airline.js +0 -8
- package/bpk-component-icon/lg/airports.js +0 -8
- package/bpk-component-icon/lg/alert--active.js +0 -8
- package/bpk-component-icon/lg/alert--add.js +0 -8
- package/bpk-component-icon/lg/alert--expired.js +0 -8
- package/bpk-component-icon/lg/alert--remove.js +0 -8
- package/bpk-component-icon/lg/arrow-down.js +0 -8
- package/bpk-component-icon/lg/arrow-left.js +0 -8
- package/bpk-component-icon/lg/arrow-right.js +0 -8
- package/bpk-component-icon/lg/arrow-up.js +0 -8
- package/bpk-component-icon/lg/award.js +0 -8
- package/bpk-component-icon/lg/baby-carriage.js +0 -8
- package/bpk-component-icon/lg/baggage--add.js +0 -8
- package/bpk-component-icon/lg/baggage--remove.js +0 -8
- package/bpk-component-icon/lg/baggage-cross.js +0 -8
- package/bpk-component-icon/lg/baggage-tick.js +0 -8
- package/bpk-component-icon/lg/baggage.js +0 -8
- package/bpk-component-icon/lg/bar.js +0 -8
- package/bpk-component-icon/lg/beach.js +0 -8
- package/bpk-component-icon/lg/beer.js +0 -8
- package/bpk-component-icon/lg/breakfast-cross.js +0 -8
- package/bpk-component-icon/lg/breakfast-tick.js +0 -8
- package/bpk-component-icon/lg/bus.js +0 -8
- package/bpk-component-icon/lg/business.js +0 -8
- package/bpk-component-icon/lg/cafe.js +0 -8
- package/bpk-component-icon/lg/calendar.js +0 -8
- package/bpk-component-icon/lg/call-back.js +0 -8
- package/bpk-component-icon/lg/camera.js +0 -8
- package/bpk-component-icon/lg/camper-van.js +0 -8
- package/bpk-component-icon/lg/car-door.js +0 -8
- package/bpk-component-icon/lg/car-wash.js +0 -8
- package/bpk-component-icon/lg/cars-flexible.js +0 -8
- package/bpk-component-icon/lg/cars.js +0 -8
- package/bpk-component-icon/lg/center-location.js +0 -8
- package/bpk-component-icon/lg/chart.js +0 -8
- package/bpk-component-icon/lg/chauffeur.js +0 -8
- package/bpk-component-icon/lg/chevron-down.js +0 -8
- package/bpk-component-icon/lg/chevron-left.js +0 -8
- package/bpk-component-icon/lg/chevron-right.js +0 -8
- package/bpk-component-icon/lg/chevron-up.js +0 -8
- package/bpk-component-icon/lg/child-seat.js +0 -8
- package/bpk-component-icon/lg/child.js +0 -8
- package/bpk-component-icon/lg/city-center.js +0 -8
- package/bpk-component-icon/lg/city.js +0 -8
- package/bpk-component-icon/lg/clean-policy.js +0 -8
- package/bpk-component-icon/lg/clean.js +0 -8
- package/bpk-component-icon/lg/cleaning-medical.js +0 -8
- package/bpk-component-icon/lg/cloakroom.js +0 -8
- package/bpk-component-icon/lg/close-circle.js +0 -8
- package/bpk-component-icon/lg/close.js +0 -8
- package/bpk-component-icon/lg/collapse.js +0 -8
- package/bpk-component-icon/lg/content--copy.js +0 -8
- package/bpk-component-icon/lg/content--event.js +0 -8
- package/bpk-component-icon/lg/content--guides.js +0 -8
- package/bpk-component-icon/lg/currency.js +0 -8
- package/bpk-component-icon/lg/data.js +0 -8
- package/bpk-component-icon/lg/deals.js +0 -8
- package/bpk-component-icon/lg/depart.js +0 -8
- package/bpk-component-icon/lg/device-mid.js +0 -8
- package/bpk-component-icon/lg/device-wide.js +0 -8
- package/bpk-component-icon/lg/direct.js +0 -8
- package/bpk-component-icon/lg/document-csv.js +0 -8
- package/bpk-component-icon/lg/document-pdf.js +0 -8
- package/bpk-component-icon/lg/download.js +0 -8
- package/bpk-component-icon/lg/duration.js +0 -8
- package/bpk-component-icon/lg/eco-leaf.js +0 -8
- package/bpk-component-icon/lg/edit.js +0 -8
- package/bpk-component-icon/lg/education.js +0 -8
- package/bpk-component-icon/lg/electric.js +0 -8
- package/bpk-component-icon/lg/end-call.js +0 -8
- package/bpk-component-icon/lg/estimated.js +0 -8
- package/bpk-component-icon/lg/exclamation-circle.js +0 -8
- package/bpk-component-icon/lg/exclamation.js +0 -8
- package/bpk-component-icon/lg/expand.js +0 -8
- package/bpk-component-icon/lg/explore.js +0 -8
- package/bpk-component-icon/lg/face--blank.js +0 -8
- package/bpk-component-icon/lg/face--happy.js +0 -8
- package/bpk-component-icon/lg/face--sad.js +0 -8
- package/bpk-component-icon/lg/face-id.js +0 -8
- package/bpk-component-icon/lg/face-mask.js +0 -8
- package/bpk-component-icon/lg/family.js +0 -8
- package/bpk-component-icon/lg/fast-track.js +0 -8
- package/bpk-component-icon/lg/fast-train.js +0 -8
- package/bpk-component-icon/lg/filter.js +0 -8
- package/bpk-component-icon/lg/fingerprint.js +0 -8
- package/bpk-component-icon/lg/flag.js +0 -8
- package/bpk-component-icon/lg/flask.js +0 -8
- package/bpk-component-icon/lg/flight-flexible.js +0 -8
- package/bpk-component-icon/lg/flight-landing.js +0 -8
- package/bpk-component-icon/lg/flight-takeoff.js +0 -8
- package/bpk-component-icon/lg/flight.js +0 -8
- package/bpk-component-icon/lg/food.js +0 -8
- package/bpk-component-icon/lg/gears-automatic-circle.js +0 -8
- package/bpk-component-icon/lg/gears-automatic.js +0 -8
- package/bpk-component-icon/lg/gears-manual-circle.js +0 -8
- package/bpk-component-icon/lg/gears-manual.js +0 -8
- package/bpk-component-icon/lg/globe.js +0 -8
- package/bpk-component-icon/lg/grid-layout.js +0 -8
- package/bpk-component-icon/lg/headset.js +0 -8
- package/bpk-component-icon/lg/health-fitness.js +0 -8
- package/bpk-component-icon/lg/heart--outline.js +0 -8
- package/bpk-component-icon/lg/heart.js +0 -8
- package/bpk-component-icon/lg/help-circle.js +0 -8
- package/bpk-component-icon/lg/help.js +0 -8
- package/bpk-component-icon/lg/hide.js +0 -8
- package/bpk-component-icon/lg/hotel-flexible.js +0 -8
- package/bpk-component-icon/lg/hotels--disabled-facilities.js +0 -8
- package/bpk-component-icon/lg/hotels--jacuzzi.js +0 -8
- package/bpk-component-icon/lg/hotels--pets-allowed.js +0 -8
- package/bpk-component-icon/lg/hotels--smoking.js +0 -8
- package/bpk-component-icon/lg/hotels.js +0 -8
- package/bpk-component-icon/lg/infant.js +0 -8
- package/bpk-component-icon/lg/information--language-alert.js +0 -8
- package/bpk-component-icon/lg/information--language-question.js +0 -8
- package/bpk-component-icon/lg/information--language.js +0 -8
- package/bpk-component-icon/lg/information-circle.js +0 -8
- package/bpk-component-icon/lg/information.js +0 -8
- package/bpk-component-icon/lg/insurance.js +0 -8
- package/bpk-component-icon/lg/key.js +0 -8
- package/bpk-component-icon/lg/keypad.js +0 -8
- package/bpk-component-icon/lg/landmark.js +0 -8
- package/bpk-component-icon/lg/language.js +0 -8
- package/bpk-component-icon/lg/legroom--extra.js +0 -8
- package/bpk-component-icon/lg/legroom--normal.js +0 -8
- package/bpk-component-icon/lg/legroom--reduced.js +0 -8
- package/bpk-component-icon/lg/leisure.js +0 -8
- package/bpk-component-icon/lg/lightning.js +0 -8
- package/bpk-component-icon/lg/list.js +0 -8
- package/bpk-component-icon/lg/location.js +0 -8
- package/bpk-component-icon/lg/lock.js +0 -8
- package/bpk-component-icon/lg/logout.js +0 -8
- package/bpk-component-icon/lg/long-arrow-down.js +0 -8
- package/bpk-component-icon/lg/long-arrow-left.js +0 -8
- package/bpk-component-icon/lg/long-arrow-right.js +0 -8
- package/bpk-component-icon/lg/long-arrow-up.js +0 -8
- package/bpk-component-icon/lg/lounge.js +0 -8
- package/bpk-component-icon/lg/luggageall.js +0 -8
- package/bpk-component-icon/lg/mail.js +0 -8
- package/bpk-component-icon/lg/map.js +0 -8
- package/bpk-component-icon/lg/meal.js +0 -8
- package/bpk-component-icon/lg/media.js +0 -8
- package/bpk-component-icon/lg/menu--horizontal.js +0 -8
- package/bpk-component-icon/lg/menu--vertical.js +0 -8
- package/bpk-component-icon/lg/menu.js +0 -8
- package/bpk-component-icon/lg/mileage.js +0 -8
- package/bpk-component-icon/lg/minus.js +0 -8
- package/bpk-component-icon/lg/mobile.js +0 -8
- package/bpk-component-icon/lg/money.js +0 -8
- package/bpk-component-icon/lg/multiple-bookings.js +0 -8
- package/bpk-component-icon/lg/music.js +0 -8
- package/bpk-component-icon/lg/mute.js +0 -8
- package/bpk-component-icon/lg/native-android--back.js +0 -8
- package/bpk-component-icon/lg/native-android--close.js +0 -8
- package/bpk-component-icon/lg/native-android--forward.js +0 -8
- package/bpk-component-icon/lg/native-ios-close.js +0 -8
- package/bpk-component-icon/lg/navigation.js +0 -8
- package/bpk-component-icon/lg/new-window.js +0 -8
- package/bpk-component-icon/lg/news.js +0 -8
- package/bpk-component-icon/lg/night.js +0 -8
- package/bpk-component-icon/lg/not-allowed.js +0 -8
- package/bpk-component-icon/lg/onsen.js +0 -8
- package/bpk-component-icon/lg/paid.js +0 -8
- package/bpk-component-icon/lg/paperclip.js +0 -8
- package/bpk-component-icon/lg/parking.js +0 -8
- package/bpk-component-icon/lg/passport.js +0 -8
- package/bpk-component-icon/lg/pause.js +0 -8
- package/bpk-component-icon/lg/payment-card.js +0 -8
- package/bpk-component-icon/lg/petrol.js +0 -8
- package/bpk-component-icon/lg/phone-call.js +0 -8
- package/bpk-component-icon/lg/picture.js +0 -8
- package/bpk-component-icon/lg/pin.js +0 -8
- package/bpk-component-icon/lg/plane-seat.js +0 -8
- package/bpk-component-icon/lg/play.js +0 -8
- package/bpk-component-icon/lg/plus.js +0 -8
- package/bpk-component-icon/lg/policy.js +0 -8
- package/bpk-component-icon/lg/powerplug.js +0 -8
- package/bpk-component-icon/lg/ppe.js +0 -8
- package/bpk-component-icon/lg/price-alerts.js +0 -8
- package/bpk-component-icon/lg/price-tag.js +0 -8
- package/bpk-component-icon/lg/print.js +0 -8
- package/bpk-component-icon/lg/recent-searches.js +0 -8
- package/bpk-component-icon/lg/redo.js +0 -8
- package/bpk-component-icon/lg/refresh.js +0 -8
- package/bpk-component-icon/lg/return.js +0 -8
- package/bpk-component-icon/lg/room.js +0 -8
- package/bpk-component-icon/lg/scales.js +0 -8
- package/bpk-component-icon/lg/search.js +0 -8
- package/bpk-component-icon/lg/self-service.js +0 -8
- package/bpk-component-icon/lg/send-message.js +0 -8
- package/bpk-component-icon/lg/services.js +0 -8
- package/bpk-component-icon/lg/settings.js +0 -8
- package/bpk-component-icon/lg/share--android.js +0 -8
- package/bpk-component-icon/lg/share--ios.js +0 -8
- package/bpk-component-icon/lg/share.js +0 -8
- package/bpk-component-icon/lg/single-booking.js +0 -8
- package/bpk-component-icon/lg/social-distancing.js +0 -8
- package/bpk-component-icon/lg/social-like.js +0 -8
- package/bpk-component-icon/lg/sort-down.js +0 -8
- package/bpk-component-icon/lg/sort-up.js +0 -8
- package/bpk-component-icon/lg/sort.js +0 -8
- package/bpk-component-icon/lg/speaker.js +0 -8
- package/bpk-component-icon/lg/star-half.js +0 -8
- package/bpk-component-icon/lg/star-outline.js +0 -8
- package/bpk-component-icon/lg/star.js +0 -8
- package/bpk-component-icon/lg/stops.js +0 -8
- package/bpk-component-icon/lg/swap--horizontal.js +0 -8
- package/bpk-component-icon/lg/swap--vertical.js +0 -8
- package/bpk-component-icon/lg/swap.js +0 -8
- package/bpk-component-icon/lg/taxi.js +0 -8
- package/bpk-component-icon/lg/thumbs-down.js +0 -8
- package/bpk-component-icon/lg/thumbs-up.js +0 -8
- package/bpk-component-icon/lg/tick-circle.js +0 -8
- package/bpk-component-icon/lg/tick.js +0 -8
- package/bpk-component-icon/lg/ticket-flexible.js +0 -8
- package/bpk-component-icon/lg/ticket.js +0 -8
- package/bpk-component-icon/lg/time.js +0 -8
- package/bpk-component-icon/lg/toilets.js +0 -8
- package/bpk-component-icon/lg/train.js +0 -8
- package/bpk-component-icon/lg/transmission-automatic.js +0 -8
- package/bpk-component-icon/lg/transmission-manual.js +0 -8
- package/bpk-component-icon/lg/trash.js +0 -8
- package/bpk-component-icon/lg/trend--down.js +0 -8
- package/bpk-component-icon/lg/trend--steady.js +0 -8
- package/bpk-component-icon/lg/trend--will-rise.js +0 -8
- package/bpk-component-icon/lg/trend.js +0 -8
- package/bpk-component-icon/lg/trips.js +0 -8
- package/bpk-component-icon/lg/undo.js +0 -8
- package/bpk-component-icon/lg/unlock.js +0 -8
- package/bpk-component-icon/lg/unmute.js +0 -8
- package/bpk-component-icon/lg/upgrade.js +0 -8
- package/bpk-component-icon/lg/use-location.js +0 -8
- package/bpk-component-icon/lg/view.js +0 -8
- package/bpk-component-icon/lg/virus.js +0 -8
- package/bpk-component-icon/lg/wallet.js +0 -8
- package/bpk-component-icon/lg/weather--clear.js +0 -8
- package/bpk-component-icon/lg/weather--cloudy.js +0 -8
- package/bpk-component-icon/lg/weather--fog.js +0 -8
- package/bpk-component-icon/lg/weather--partly-cloudy.js +0 -8
- package/bpk-component-icon/lg/weather--rain.js +0 -8
- package/bpk-component-icon/lg/weather--snow.js +0 -8
- package/bpk-component-icon/lg/weather--thunderstorm.js +0 -8
- package/bpk-component-icon/lg/weather--tornado.js +0 -8
- package/bpk-component-icon/lg/weather--wind.js +0 -8
- package/bpk-component-icon/lg/weather.js +0 -8
- package/bpk-component-icon/lg/wifi.js +0 -8
- package/bpk-component-icon/lg/window--reduce.js +0 -8
- package/bpk-component-icon/lg/window.js +0 -8
- package/bpk-component-icon/lg/world--amer.js +0 -8
- package/bpk-component-icon/lg/world--apac.js +0 -8
- package/bpk-component-icon/lg/world--emea.js +0 -8
- package/bpk-component-icon/package.json +0 -34
- package/bpk-component-icon/sm/accessibility.js +0 -8
- package/bpk-component-icon/sm/account--add.js +0 -8
- package/bpk-component-icon/sm/account--female.js +0 -8
- package/bpk-component-icon/sm/account--id-card.js +0 -8
- package/bpk-component-icon/sm/account--name.js +0 -8
- package/bpk-component-icon/sm/account--permit.js +0 -8
- package/bpk-component-icon/sm/account-circle.js +0 -8
- package/bpk-component-icon/sm/account.js +0 -8
- package/bpk-component-icon/sm/add-circle.js +0 -8
- package/bpk-component-icon/sm/adult.js +0 -8
- package/bpk-component-icon/sm/aircon.js +0 -8
- package/bpk-component-icon/sm/aircraft.js +0 -8
- package/bpk-component-icon/sm/airline--multiple.js +0 -8
- package/bpk-component-icon/sm/airline.js +0 -8
- package/bpk-component-icon/sm/airports.js +0 -8
- package/bpk-component-icon/sm/alert--active.js +0 -8
- package/bpk-component-icon/sm/alert--add.js +0 -8
- package/bpk-component-icon/sm/alert--expired.js +0 -8
- package/bpk-component-icon/sm/alert--remove.js +0 -8
- package/bpk-component-icon/sm/arrow-down.js +0 -8
- package/bpk-component-icon/sm/arrow-left.js +0 -8
- package/bpk-component-icon/sm/arrow-right.js +0 -8
- package/bpk-component-icon/sm/arrow-up.js +0 -8
- package/bpk-component-icon/sm/award.js +0 -8
- package/bpk-component-icon/sm/baby-carriage.js +0 -8
- package/bpk-component-icon/sm/baggage--add.js +0 -8
- package/bpk-component-icon/sm/baggage--remove.js +0 -8
- package/bpk-component-icon/sm/baggage-cross.js +0 -8
- package/bpk-component-icon/sm/baggage-tick.js +0 -8
- package/bpk-component-icon/sm/baggage.js +0 -8
- package/bpk-component-icon/sm/bar.js +0 -8
- package/bpk-component-icon/sm/beach.js +0 -8
- package/bpk-component-icon/sm/beer.js +0 -8
- package/bpk-component-icon/sm/breakfast-cross.js +0 -8
- package/bpk-component-icon/sm/breakfast-tick.js +0 -8
- package/bpk-component-icon/sm/bus.js +0 -8
- package/bpk-component-icon/sm/business.js +0 -8
- package/bpk-component-icon/sm/cafe.js +0 -8
- package/bpk-component-icon/sm/calendar.js +0 -8
- package/bpk-component-icon/sm/call-back.js +0 -8
- package/bpk-component-icon/sm/camera.js +0 -8
- package/bpk-component-icon/sm/camper-van.js +0 -8
- package/bpk-component-icon/sm/car-door.js +0 -8
- package/bpk-component-icon/sm/car-wash.js +0 -8
- package/bpk-component-icon/sm/cars-flexible.js +0 -8
- package/bpk-component-icon/sm/cars.js +0 -8
- package/bpk-component-icon/sm/chart.js +0 -8
- package/bpk-component-icon/sm/chauffeur.js +0 -8
- package/bpk-component-icon/sm/chevron-down.js +0 -8
- package/bpk-component-icon/sm/chevron-left.js +0 -8
- package/bpk-component-icon/sm/chevron-right.js +0 -8
- package/bpk-component-icon/sm/chevron-up.js +0 -8
- package/bpk-component-icon/sm/child-seat.js +0 -8
- package/bpk-component-icon/sm/child.js +0 -8
- package/bpk-component-icon/sm/city-center.js +0 -8
- package/bpk-component-icon/sm/city.js +0 -8
- package/bpk-component-icon/sm/clean-policy.js +0 -8
- package/bpk-component-icon/sm/clean.js +0 -8
- package/bpk-component-icon/sm/cleaning-medical.js +0 -8
- package/bpk-component-icon/sm/cloakroom.js +0 -8
- package/bpk-component-icon/sm/close-circle.js +0 -8
- package/bpk-component-icon/sm/close.js +0 -8
- package/bpk-component-icon/sm/collapse.js +0 -8
- package/bpk-component-icon/sm/content--copy.js +0 -8
- package/bpk-component-icon/sm/content--event.js +0 -8
- package/bpk-component-icon/sm/content--guides.js +0 -8
- package/bpk-component-icon/sm/currency.js +0 -8
- package/bpk-component-icon/sm/data.js +0 -8
- package/bpk-component-icon/sm/deals.js +0 -8
- package/bpk-component-icon/sm/depart.js +0 -8
- package/bpk-component-icon/sm/device-mid.js +0 -8
- package/bpk-component-icon/sm/device-wide.js +0 -8
- package/bpk-component-icon/sm/direct.js +0 -8
- package/bpk-component-icon/sm/document-csv.js +0 -8
- package/bpk-component-icon/sm/document-pdf.js +0 -8
- package/bpk-component-icon/sm/download.js +0 -8
- package/bpk-component-icon/sm/duration.js +0 -8
- package/bpk-component-icon/sm/eco-leaf.js +0 -8
- package/bpk-component-icon/sm/edit.js +0 -8
- package/bpk-component-icon/sm/education.js +0 -8
- package/bpk-component-icon/sm/electric.js +0 -8
- package/bpk-component-icon/sm/end-call.js +0 -8
- package/bpk-component-icon/sm/estimated.js +0 -8
- package/bpk-component-icon/sm/exclamation-circle.js +0 -8
- package/bpk-component-icon/sm/exclamation.js +0 -8
- package/bpk-component-icon/sm/expand.js +0 -8
- package/bpk-component-icon/sm/explore.js +0 -8
- package/bpk-component-icon/sm/face--blank.js +0 -8
- package/bpk-component-icon/sm/face--happy.js +0 -8
- package/bpk-component-icon/sm/face--sad.js +0 -8
- package/bpk-component-icon/sm/face-mask.js +0 -8
- package/bpk-component-icon/sm/family.js +0 -8
- package/bpk-component-icon/sm/fast-track.js +0 -8
- package/bpk-component-icon/sm/fast-train.js +0 -8
- package/bpk-component-icon/sm/filter.js +0 -8
- package/bpk-component-icon/sm/flag.js +0 -8
- package/bpk-component-icon/sm/flask.js +0 -8
- package/bpk-component-icon/sm/flight-flexible.js +0 -8
- package/bpk-component-icon/sm/flight-landing.js +0 -8
- package/bpk-component-icon/sm/flight-takeoff.js +0 -8
- package/bpk-component-icon/sm/flight.js +0 -8
- package/bpk-component-icon/sm/food.js +0 -8
- package/bpk-component-icon/sm/gears-automatic-circle.js +0 -8
- package/bpk-component-icon/sm/gears-automatic.js +0 -8
- package/bpk-component-icon/sm/gears-manual-circle.js +0 -8
- package/bpk-component-icon/sm/gears-manual.js +0 -8
- package/bpk-component-icon/sm/globe.js +0 -8
- package/bpk-component-icon/sm/grid-layout.js +0 -8
- package/bpk-component-icon/sm/headset.js +0 -8
- package/bpk-component-icon/sm/health-fitness.js +0 -8
- package/bpk-component-icon/sm/heart--outline.js +0 -8
- package/bpk-component-icon/sm/heart.js +0 -8
- package/bpk-component-icon/sm/help-circle.js +0 -8
- package/bpk-component-icon/sm/help.js +0 -8
- package/bpk-component-icon/sm/hide.js +0 -8
- package/bpk-component-icon/sm/hotel-flexible.js +0 -8
- package/bpk-component-icon/sm/hotels--disabled-facilities.js +0 -8
- package/bpk-component-icon/sm/hotels--jacuzzi.js +0 -8
- package/bpk-component-icon/sm/hotels--pets-allowed.js +0 -8
- package/bpk-component-icon/sm/hotels--smoking.js +0 -8
- package/bpk-component-icon/sm/hotels.js +0 -8
- package/bpk-component-icon/sm/infant.js +0 -8
- package/bpk-component-icon/sm/information--language-alert.js +0 -8
- package/bpk-component-icon/sm/information--language-question.js +0 -8
- package/bpk-component-icon/sm/information--language.js +0 -8
- package/bpk-component-icon/sm/information-circle.js +0 -8
- package/bpk-component-icon/sm/information.js +0 -8
- package/bpk-component-icon/sm/insurance.js +0 -8
- package/bpk-component-icon/sm/key.js +0 -8
- package/bpk-component-icon/sm/keypad.js +0 -8
- package/bpk-component-icon/sm/landmark.js +0 -8
- package/bpk-component-icon/sm/language.js +0 -8
- package/bpk-component-icon/sm/legroom--extra.js +0 -8
- package/bpk-component-icon/sm/legroom--normal.js +0 -8
- package/bpk-component-icon/sm/legroom--reduced.js +0 -8
- package/bpk-component-icon/sm/leisure.js +0 -8
- package/bpk-component-icon/sm/lightning.js +0 -8
- package/bpk-component-icon/sm/list.js +0 -8
- package/bpk-component-icon/sm/location.js +0 -8
- package/bpk-component-icon/sm/lock.js +0 -8
- package/bpk-component-icon/sm/logout.js +0 -8
- package/bpk-component-icon/sm/long-arrow-down.js +0 -8
- package/bpk-component-icon/sm/long-arrow-left.js +0 -8
- package/bpk-component-icon/sm/long-arrow-right.js +0 -8
- package/bpk-component-icon/sm/long-arrow-up.js +0 -8
- package/bpk-component-icon/sm/lounge.js +0 -8
- package/bpk-component-icon/sm/luggageall.js +0 -8
- package/bpk-component-icon/sm/mail.js +0 -8
- package/bpk-component-icon/sm/map.js +0 -8
- package/bpk-component-icon/sm/meal.js +0 -8
- package/bpk-component-icon/sm/media.js +0 -8
- package/bpk-component-icon/sm/menu--horizontal.js +0 -8
- package/bpk-component-icon/sm/menu--vertical.js +0 -8
- package/bpk-component-icon/sm/menu.js +0 -8
- package/bpk-component-icon/sm/mileage.js +0 -8
- package/bpk-component-icon/sm/minus.js +0 -8
- package/bpk-component-icon/sm/mobile.js +0 -8
- package/bpk-component-icon/sm/money.js +0 -8
- package/bpk-component-icon/sm/multiple-bookings.js +0 -8
- package/bpk-component-icon/sm/music.js +0 -8
- package/bpk-component-icon/sm/mute.js +0 -8
- package/bpk-component-icon/sm/native-android--back.js +0 -8
- package/bpk-component-icon/sm/native-android--close.js +0 -8
- package/bpk-component-icon/sm/native-android--forward.js +0 -8
- package/bpk-component-icon/sm/native-ios-close.js +0 -8
- package/bpk-component-icon/sm/navigation.js +0 -8
- package/bpk-component-icon/sm/new-window.js +0 -8
- package/bpk-component-icon/sm/news.js +0 -8
- package/bpk-component-icon/sm/night.js +0 -8
- package/bpk-component-icon/sm/not-allowed.js +0 -8
- package/bpk-component-icon/sm/onsen.js +0 -8
- package/bpk-component-icon/sm/paid.js +0 -8
- package/bpk-component-icon/sm/paperclip.js +0 -8
- package/bpk-component-icon/sm/parking.js +0 -8
- package/bpk-component-icon/sm/passport.js +0 -8
- package/bpk-component-icon/sm/pause.js +0 -8
- package/bpk-component-icon/sm/payment-card.js +0 -8
- package/bpk-component-icon/sm/petrol.js +0 -8
- package/bpk-component-icon/sm/phone-call.js +0 -8
- package/bpk-component-icon/sm/picture.js +0 -8
- package/bpk-component-icon/sm/pin.js +0 -8
- package/bpk-component-icon/sm/plane-seat.js +0 -8
- package/bpk-component-icon/sm/play.js +0 -8
- package/bpk-component-icon/sm/plus.js +0 -8
- package/bpk-component-icon/sm/policy.js +0 -8
- package/bpk-component-icon/sm/powerplug.js +0 -8
- package/bpk-component-icon/sm/ppe.js +0 -8
- package/bpk-component-icon/sm/price-alerts.js +0 -8
- package/bpk-component-icon/sm/price-tag.js +0 -8
- package/bpk-component-icon/sm/print.js +0 -8
- package/bpk-component-icon/sm/recent-searches.js +0 -8
- package/bpk-component-icon/sm/redo.js +0 -8
- package/bpk-component-icon/sm/refresh.js +0 -8
- package/bpk-component-icon/sm/return.js +0 -8
- package/bpk-component-icon/sm/room.js +0 -8
- package/bpk-component-icon/sm/scales.js +0 -8
- package/bpk-component-icon/sm/search.js +0 -8
- package/bpk-component-icon/sm/self-service.js +0 -8
- package/bpk-component-icon/sm/send-message.js +0 -8
- package/bpk-component-icon/sm/services.js +0 -8
- package/bpk-component-icon/sm/settings.js +0 -8
- package/bpk-component-icon/sm/share--android.js +0 -8
- package/bpk-component-icon/sm/share--ios.js +0 -8
- package/bpk-component-icon/sm/share.js +0 -8
- package/bpk-component-icon/sm/single-booking.js +0 -8
- package/bpk-component-icon/sm/social-distancing.js +0 -8
- package/bpk-component-icon/sm/social-like.js +0 -8
- package/bpk-component-icon/sm/sort-down.js +0 -8
- package/bpk-component-icon/sm/sort-up.js +0 -8
- package/bpk-component-icon/sm/sort.js +0 -8
- package/bpk-component-icon/sm/speaker.js +0 -8
- package/bpk-component-icon/sm/star-half.js +0 -8
- package/bpk-component-icon/sm/star-outline.js +0 -8
- package/bpk-component-icon/sm/star.js +0 -8
- package/bpk-component-icon/sm/stops.js +0 -8
- package/bpk-component-icon/sm/swap--horizontal.js +0 -8
- package/bpk-component-icon/sm/swap--vertical.js +0 -8
- package/bpk-component-icon/sm/swap.js +0 -8
- package/bpk-component-icon/sm/taxi.js +0 -8
- package/bpk-component-icon/sm/thumbs-down.js +0 -8
- package/bpk-component-icon/sm/thumbs-up.js +0 -8
- package/bpk-component-icon/sm/tick-circle.js +0 -8
- package/bpk-component-icon/sm/tick.js +0 -8
- package/bpk-component-icon/sm/ticket-flexible.js +0 -8
- package/bpk-component-icon/sm/ticket.js +0 -8
- package/bpk-component-icon/sm/time.js +0 -8
- package/bpk-component-icon/sm/toilets.js +0 -8
- package/bpk-component-icon/sm/train.js +0 -8
- package/bpk-component-icon/sm/transmission-automatic.js +0 -8
- package/bpk-component-icon/sm/transmission-manual.js +0 -8
- package/bpk-component-icon/sm/trash.js +0 -8
- package/bpk-component-icon/sm/trend--down.js +0 -8
- package/bpk-component-icon/sm/trend--steady.js +0 -8
- package/bpk-component-icon/sm/trend--will-rise.js +0 -8
- package/bpk-component-icon/sm/trend.js +0 -8
- package/bpk-component-icon/sm/trips.js +0 -8
- package/bpk-component-icon/sm/undo.js +0 -8
- package/bpk-component-icon/sm/unlock.js +0 -8
- package/bpk-component-icon/sm/unmute.js +0 -8
- package/bpk-component-icon/sm/upgrade.js +0 -8
- package/bpk-component-icon/sm/use-location.js +0 -8
- package/bpk-component-icon/sm/view.js +0 -8
- package/bpk-component-icon/sm/virus.js +0 -8
- package/bpk-component-icon/sm/wallet.js +0 -8
- package/bpk-component-icon/sm/weather--clear.js +0 -8
- package/bpk-component-icon/sm/weather--cloudy.js +0 -8
- package/bpk-component-icon/sm/weather--fog.js +0 -8
- package/bpk-component-icon/sm/weather--partly-cloudy.js +0 -8
- package/bpk-component-icon/sm/weather--rain.js +0 -8
- package/bpk-component-icon/sm/weather--snow.js +0 -8
- package/bpk-component-icon/sm/weather--thunderstorm.js +0 -8
- package/bpk-component-icon/sm/weather--tornado.js +0 -8
- package/bpk-component-icon/sm/weather--wind.js +0 -8
- package/bpk-component-icon/sm/weather.js +0 -8
- package/bpk-component-icon/sm/wifi.js +0 -8
- package/bpk-component-icon/sm/window--reduce.js +0 -8
- package/bpk-component-icon/sm/window.js +0 -8
- package/bpk-component-icon/sm/world--amer.js +0 -8
- package/bpk-component-icon/sm/world--apac.js +0 -8
- package/bpk-component-icon/sm/world--emea.js +0 -8
- package/bpk-component-icon/src/BpkIcon.module.css +0 -18
- package/bpk-component-icon/src/BpkIcon.module.scss +0 -33
- package/bpk-component-icon/src/classNameModifierHOCFactory.js +0 -54
- package/bpk-component-icon/src/withAlignment.js +0 -48
- package/bpk-component-icon/src/withDescription.js +0 -45
- package/bpk-component-icon/src/withDescription.module.css +0 -18
- package/bpk-component-icon/src/withDescription.module.scss +0 -22
- package/bpk-component-icon/src/withRtlSupport.js +0 -28
- package/bpk-component-image/README.md +0 -142
- package/bpk-component-image/index.js +0 -37
- package/bpk-component-image/package.json +0 -31
- package/bpk-component-image/src/BpkBackgroundImage.js +0 -193
- package/bpk-component-image/src/BpkBackgroundImage.module.css +0 -18
- package/bpk-component-image/src/BpkBackgroundImage.module.scss +0 -46
- package/bpk-component-image/src/BpkImage.js +0 -253
- package/bpk-component-image/src/BpkImage.module.css +0 -18
- package/bpk-component-image/src/BpkImage.module.scss +0 -89
- package/bpk-component-image/src/BpkImageBorderRadiusStyles.js +0 -23
- package/bpk-component-image/src/customPropTypes.js +0 -37
- package/bpk-component-image/src/withLazyLoading.js +0 -182
- package/bpk-component-image/src/withLoadingBehavior.js +0 -66
- package/bpk-component-infinite-scroll/README.md +0 -187
- package/bpk-component-infinite-scroll/index.js +0 -29
- package/bpk-component-infinite-scroll/package.json +0 -31
- package/bpk-component-infinite-scroll/src/DataSource.js +0 -85
- package/bpk-component-infinite-scroll/src/intersection-observer.js +0 -27
- package/bpk-component-infinite-scroll/src/withInfiniteScroll-test.flow.js +0 -102
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.js +0 -298
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.module.css +0 -18
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.module.scss +0 -25
- package/bpk-component-input/README.md +0 -121
- package/bpk-component-input/index.js +0 -50
- package/bpk-component-input/package.json +0 -30
- package/bpk-component-input/src/BpkClearButton.js +0 -75
- package/bpk-component-input/src/BpkClearButton.module.css +0 -18
- package/bpk-component-input/src/BpkClearButton.module.scss +0 -40
- package/bpk-component-input/src/BpkInput.js +0 -179
- package/bpk-component-input/src/BpkInput.module.css +0 -18
- package/bpk-component-input/src/BpkInput.module.scss +0 -86
- package/bpk-component-input/src/common-types.js +0 -129
- package/bpk-component-input/src/themeAttributes.js +0 -19
- package/bpk-component-input/src/withOpenEvents.js +0 -187
- package/bpk-component-label/README.md +0 -30
- package/bpk-component-label/index.js +0 -24
- package/bpk-component-label/package.json +0 -24
- package/bpk-component-label/src/BpkLabel.js +0 -85
- package/bpk-component-label/src/BpkLabel.module.css +0 -18
- package/bpk-component-label/src/BpkLabel.module.scss +0 -43
- package/bpk-component-link/README.md +0 -68
- package/bpk-component-link/index.js +0 -28
- package/bpk-component-link/package.json +0 -28
- package/bpk-component-link/src/BpkButtonLink.js +0 -80
- package/bpk-component-link/src/BpkLink.js +0 -110
- package/bpk-component-link/src/BpkLink.module.css +0 -18
- package/bpk-component-link/src/BpkLink.module.scss +0 -31
- package/bpk-component-link/src/themeAttributes.js +0 -35
- package/bpk-component-list/README.md +0 -48
- package/bpk-component-list/index.js +0 -24
- package/bpk-component-list/package.json +0 -24
- package/bpk-component-list/src/BpkList.js +0 -59
- package/bpk-component-list/src/BpkList.module.css +0 -18
- package/bpk-component-list/src/BpkList.module.scss +0 -37
- package/bpk-component-list/src/BpkListItem.js +0 -55
- package/bpk-component-loading-button/README.md +0 -48
- package/bpk-component-loading-button/index.js +0 -24
- package/bpk-component-loading-button/package.json +0 -30
- package/bpk-component-loading-button/src/BpkLoadingButton.js +0 -185
- package/bpk-component-loading-button/src/BpkLoadingButton.module.scss +0 -65
- package/bpk-component-map/README.md +0 -213
- package/bpk-component-map/index.js +0 -45
- package/bpk-component-map/package.json +0 -32
- package/bpk-component-map/src/BpkBasicMapMarker.js +0 -57
- package/bpk-component-map/src/BpkIconMarker.js +0 -108
- package/bpk-component-map/src/BpkIconMarker.module.css +0 -18
- package/bpk-component-map/src/BpkIconMarker.module.scss +0 -74
- package/bpk-component-map/src/BpkIconMarkerBackground.js +0 -81
- package/bpk-component-map/src/BpkIconMarkerBackground.module.css +0 -18
- package/bpk-component-map/src/BpkIconMarkerBackground.module.scss +0 -53
- package/bpk-component-map/src/BpkMap.js +0 -208
- package/bpk-component-map/src/BpkMap.module.scss +0 -21
- package/bpk-component-map/src/BpkOverlayView.js +0 -50
- package/bpk-component-map/src/BpkPriceMarker.js +0 -127
- package/bpk-component-map/src/BpkPriceMarker.module.css +0 -18
- package/bpk-component-map/src/BpkPriceMarker.module.scss +0 -146
- package/bpk-component-map/src/DefaultLoadingElement.js +0 -35
- package/bpk-component-map/src/DefaultLoadingElement.module.css +0 -18
- package/bpk-component-map/src/DefaultLoadingElement.module.scss +0 -28
- package/bpk-component-map/src/common-types.js +0 -31
- package/bpk-component-map/src/themeAttributes.js +0 -38
- package/bpk-component-map/src/withGoogleMapsScript.js +0 -80
- package/bpk-component-mobile-scroll-container/README.md +0 -74
- package/bpk-component-mobile-scroll-container/index.js +0 -23
- package/bpk-component-mobile-scroll-container/package.json +0 -28
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.js +0 -239
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.module.css +0 -18
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.module.scss +0 -50
- package/bpk-component-modal/README.md +0 -114
- package/bpk-component-modal/index.js +0 -27
- package/bpk-component-modal/package.json +0 -33
- package/bpk-component-modal/src/BpkModal.js +0 -124
- package/bpk-component-modal/src/BpkModal.module.css +0 -18
- package/bpk-component-modal/src/BpkModal.module.scss +0 -46
- package/bpk-component-modal/src/BpkModalInner.js +0 -178
- package/bpk-component-modal/src/BpkModalInner.module.css +0 -18
- package/bpk-component-modal/src/BpkModalInner.module.scss +0 -123
- package/bpk-component-modal/src/customPropTypes.js +0 -54
- package/bpk-component-modal/src/themeAttributes.js +0 -23
- package/bpk-component-navigation-bar/README.md +0 -114
- package/bpk-component-navigation-bar/index.js +0 -42
- package/bpk-component-navigation-bar/package.json +0 -32
- package/bpk-component-navigation-bar/src/BpkNavigationBar.js +0 -106
- package/bpk-component-navigation-bar/src/BpkNavigationBar.module.css +0 -18
- package/bpk-component-navigation-bar/src/BpkNavigationBar.module.scss +0 -77
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.js +0 -62
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.css +0 -18
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.scss +0 -51
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.js +0 -59
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.module.css +0 -18
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.module.scss +0 -43
- package/bpk-component-navigation-bar/src/themeAttributes.js +0 -33
- package/bpk-component-navigation-stack/README.md +0 -49
- package/bpk-component-navigation-stack/index.js +0 -30
- package/bpk-component-navigation-stack/package.json +0 -33
- package/bpk-component-navigation-stack/src/BpkNavigationStack.js +0 -128
- package/bpk-component-navigation-stack/src/BpkNavigationStack.module.css +0 -18
- package/bpk-component-navigation-stack/src/BpkNavigationStack.module.scss +0 -51
- package/bpk-component-navigation-stack/src/withNavigationStackState.js +0 -104
- package/bpk-component-nudger/README.md +0 -170
- package/bpk-component-nudger/index.js +0 -26
- package/bpk-component-nudger/package.json +0 -32
- package/bpk-component-nudger/src/BpkConfigurableNudger.js +0 -147
- package/bpk-component-nudger/src/BpkNudger.js +0 -69
- package/bpk-component-nudger/src/BpkNudger.module.css +0 -18
- package/bpk-component-nudger/src/BpkNudger.module.scss +0 -49
- package/bpk-component-nudger/src/common-types.js +0 -45
- package/bpk-component-nudger/src/themeAttributes.js +0 -23
- package/bpk-component-overlay/README.md +0 -51
- package/bpk-component-overlay/index.js +0 -28
- package/bpk-component-overlay/package.json +0 -28
- package/bpk-component-overlay/src/BpkOverlay.js +0 -89
- package/bpk-component-overlay/src/BpkOverlay.module.css +0 -18
- package/bpk-component-overlay/src/BpkOverlay.module.scss +0 -41
- package/bpk-component-pagination/README.md +0 -59
- package/bpk-component-pagination/index.js +0 -23
- package/bpk-component-pagination/package.json +0 -28
- package/bpk-component-pagination/src/BpkPagination.js +0 -102
- package/bpk-component-pagination/src/BpkPagination.module.css +0 -18
- package/bpk-component-pagination/src/BpkPagination.module.scss +0 -22
- package/bpk-component-pagination/src/BpkPaginationBreak.js +0 -35
- package/bpk-component-pagination/src/BpkPaginationList.js +0 -101
- package/bpk-component-pagination/src/BpkPaginationList.module.css +0 -18
- package/bpk-component-pagination/src/BpkPaginationList.module.scss +0 -45
- package/bpk-component-pagination/src/BpkPaginationNudger.js +0 -78
- package/bpk-component-pagination/src/BpkPaginationNudger.module.css +0 -18
- package/bpk-component-pagination/src/BpkPaginationNudger.module.scss +0 -74
- package/bpk-component-pagination/src/BpkPaginationPage.js +0 -61
- package/bpk-component-pagination/src/BpkPaginationPage.module.css +0 -18
- package/bpk-component-pagination/src/BpkPaginationPage.module.scss +0 -92
- package/bpk-component-pagination/src/themeAttributes.js +0 -26
- package/bpk-component-panel/README.md +0 -33
- package/bpk-component-panel/index.js +0 -21
- package/bpk-component-panel/package.json +0 -24
- package/bpk-component-panel/src/BpkPanel.js +0 -62
- package/bpk-component-panel/src/BpkPanel.module.css +0 -18
- package/bpk-component-panel/src/BpkPanel.module.scss +0 -31
- package/bpk-component-phone-input/README.md +0 -100
- package/bpk-component-phone-input/index.js +0 -26
- package/bpk-component-phone-input/package.json +0 -33
- package/bpk-component-phone-input/src/BpkPhoneInput.js +0 -226
- package/bpk-component-phone-input/src/BpkPhoneInput.module.css +0 -18
- package/bpk-component-phone-input/src/BpkPhoneInput.module.scss +0 -42
- package/bpk-component-popover/README.md +0 -128
- package/bpk-component-popover/index.js +0 -34
- package/bpk-component-popover/package.json +0 -35
- package/bpk-component-popover/src/BpkPopover.js +0 -187
- package/bpk-component-popover/src/BpkPopover.module.css +0 -18
- package/bpk-component-popover/src/BpkPopover.module.scss +0 -128
- package/bpk-component-popover/src/BpkPopoverPortal.js +0 -248
- package/bpk-component-popover/src/constants.js +0 -23
- package/bpk-component-popover/src/keyboardFocusScope.js +0 -86
- package/bpk-component-popover/src/themeAttributes.js +0 -23
- package/bpk-component-price/README.md +0 -37
- package/bpk-component-price/index.js +0 -24
- package/bpk-component-price/package.json +0 -24
- package/bpk-component-price/src/BpkPrice.js +0 -110
- package/bpk-component-price/src/BpkPrice.module.scss +0 -61
- package/bpk-component-price/src/common-types.js +0 -29
- package/bpk-component-progress/README.md +0 -56
- package/bpk-component-progress/index.js +0 -25
- package/bpk-component-progress/package.json +0 -30
- package/bpk-component-progress/src/BpkProgress.js +0 -165
- package/bpk-component-progress/src/BpkProgress.module.css +0 -18
- package/bpk-component-progress/src/BpkProgress.module.scss +0 -64
- package/bpk-component-progress/src/themeAttributes.js +0 -21
- package/bpk-component-radio/README.md +0 -43
- package/bpk-component-radio/index.js +0 -25
- package/bpk-component-radio/package.json +0 -28
- package/bpk-component-radio/src/BpkRadio.js +0 -98
- package/bpk-component-radio/src/BpkRadio.module.css +0 -18
- package/bpk-component-radio/src/BpkRadio.module.scss +0 -78
- package/bpk-component-radio/src/themeAttributes.js +0 -21
- package/bpk-component-rating/README.md +0 -80
- package/bpk-component-rating/index.js +0 -24
- package/bpk-component-rating/package.json +0 -29
- package/bpk-component-rating/src/BpkRating.js +0 -176
- package/bpk-component-rating/src/BpkRating.module.css +0 -18
- package/bpk-component-rating/src/BpkRating.module.scss +0 -86
- package/bpk-component-rating/src/common-types.js +0 -26
- package/bpk-component-rtl-toggle/README.md +0 -26
- package/bpk-component-rtl-toggle/index.js +0 -23
- package/bpk-component-rtl-toggle/package.json +0 -24
- package/bpk-component-rtl-toggle/src/BpkRtlToggle.js +0 -93
- package/bpk-component-rtl-toggle/src/updateOnDirectionChange.js +0 -60
- package/bpk-component-rtl-toggle/src/utils.js +0 -29
- package/bpk-component-scrollable-calendar/README.md +0 -102
- package/bpk-component-scrollable-calendar/index.js +0 -34
- package/bpk-component-scrollable-calendar/package.json +0 -32
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar.js +0 -36
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.js +0 -45
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +0 -55
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.module.css +0 -18
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.module.scss +0 -31
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +0 -160
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.module.css +0 -18
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.module.scss +0 -37
- package/bpk-component-scrollable-calendar/src/utils.js +0 -30
- package/bpk-component-scrollable-calendar/test-utils.js +0 -274
- package/bpk-component-section-list/README.md +0 -52
- package/bpk-component-section-list/index.js +0 -26
- package/bpk-component-section-list/package.json +0 -30
- package/bpk-component-section-list/src/BpkSectionList.js +0 -38
- package/bpk-component-section-list/src/BpkSectionListItem.js +0 -113
- package/bpk-component-section-list/src/BpkSectionListItem.module.css +0 -18
- package/bpk-component-section-list/src/BpkSectionListItem.module.scss +0 -54
- package/bpk-component-section-list/src/BpkSectionListSection.js +0 -64
- package/bpk-component-section-list/src/BpkSectionListSection.module.css +0 -18
- package/bpk-component-section-list/src/BpkSectionListSection.module.scss +0 -35
- package/bpk-component-select/README.md +0 -47
- package/bpk-component-select/index.js +0 -26
- package/bpk-component-select/package.json +0 -27
- package/bpk-component-select/src/BpkSelect.js +0 -133
- package/bpk-component-select/src/BpkSelect.module.css +0 -18
- package/bpk-component-select/src/BpkSelect.module.scss +0 -126
- package/bpk-component-select/src/themeAttributes.js +0 -19
- package/bpk-component-skip-link/README.md +0 -30
- package/bpk-component-skip-link/index.js +0 -25
- package/bpk-component-skip-link/package.json +0 -24
- package/bpk-component-skip-link/src/BpkSkipLink.js +0 -60
- package/bpk-component-skip-link/src/BpkSkipLink.module.css +0 -18
- package/bpk-component-skip-link/src/BpkSkipLink.module.scss +0 -50
- package/bpk-component-skip-link/src/themeAttributes.js +0 -19
- package/bpk-component-slider/README.md +0 -43
- package/bpk-component-slider/index.js +0 -23
- package/bpk-component-slider/package.json +0 -29
- package/bpk-component-slider/src/BpkSlider.js +0 -72
- package/bpk-component-slider/src/BpkSlider.module.css +0 -18
- package/bpk-component-slider/src/BpkSlider.module.scss +0 -103
- package/bpk-component-slider/src/themeAttributes.js +0 -19
- package/bpk-component-spinner/README.md +0 -40
- package/bpk-component-spinner/changelog.yml +0 -55
- package/bpk-component-spinner/index.js +0 -33
- package/bpk-component-spinner/package.json +0 -25
- package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +0 -60
- package/bpk-component-spinner/src/BpkLargeSpinner.js +0 -65
- package/bpk-component-spinner/src/BpkSpinner.js +0 -64
- package/bpk-component-spinner/src/BpkSpinner.module.css +0 -18
- package/bpk-component-spinner/src/BpkSpinner.module.scss +0 -57
- package/bpk-component-spinner/src/spinnerTypes.js +0 -25
- package/bpk-component-spinner/src/themeAttributes.js +0 -21
- package/bpk-component-split-input/README.md +0 -42
- package/bpk-component-split-input/index.js +0 -27
- package/bpk-component-split-input/package.json +0 -24
- package/bpk-component-split-input/src/BpkInputField.js +0 -71
- package/bpk-component-split-input/src/BpkInputField.module.scss +0 -34
- package/bpk-component-split-input/src/BpkSplitInput.js +0 -245
- package/bpk-component-split-input/src/BpkSplitInput.module.css +0 -18
- package/bpk-component-split-input/src/BpkSplitInput.module.scss +0 -36
- package/bpk-component-star-rating/README.md +0 -99
- package/bpk-component-star-rating/index.js +0 -38
- package/bpk-component-star-rating/package.json +0 -29
- package/bpk-component-star-rating/src/BpkInteractiveStar.js +0 -87
- package/bpk-component-star-rating/src/BpkInteractiveStar.module.css +0 -18
- package/bpk-component-star-rating/src/BpkInteractiveStar.module.scss +0 -66
- package/bpk-component-star-rating/src/BpkInteractiveStarRating.js +0 -127
- package/bpk-component-star-rating/src/BpkStar.js +0 -112
- package/bpk-component-star-rating/src/BpkStar.module.css +0 -18
- package/bpk-component-star-rating/src/BpkStar.module.scss +0 -63
- package/bpk-component-star-rating/src/BpkStarRating.js +0 -129
- package/bpk-component-star-rating/src/BpkStarRating.module.css +0 -18
- package/bpk-component-star-rating/src/BpkStarRating.module.scss +0 -21
- package/bpk-component-star-rating/src/themeAttributes.js +0 -21
- package/bpk-component-star-rating/src/withInteractiveStarRatingState.js +0 -100
- package/bpk-component-switch/README.md +0 -37
- package/bpk-component-switch/index.js +0 -28
- package/bpk-component-switch/package.json +0 -24
- package/bpk-component-switch/src/BpkSwitch.js +0 -83
- package/bpk-component-switch/src/BpkSwitch.module.css +0 -18
- package/bpk-component-switch/src/BpkSwitch.module.scss +0 -93
- package/bpk-component-switch/src/themeAttributes.js +0 -19
- package/bpk-component-table/README.md +0 -66
- package/bpk-component-table/index.js +0 -35
- package/bpk-component-table/package.json +0 -24
- package/bpk-component-table/src/BpkTable.js +0 -64
- package/bpk-component-table/src/BpkTable.module.css +0 -18
- package/bpk-component-table/src/BpkTable.module.scss +0 -39
- package/bpk-component-table/src/BpkTableBody.js +0 -32
- package/bpk-component-table/src/BpkTableCell.js +0 -57
- package/bpk-component-table/src/BpkTableHead.js +0 -32
- package/bpk-component-table/src/BpkTableHeadCell.js +0 -55
- package/bpk-component-table/src/BpkTableRow.js +0 -32
- package/bpk-component-text/README.md +0 -76
- package/bpk-component-text/index.js +0 -24
- package/bpk-component-text/package.json +0 -24
- package/bpk-component-text/src/BpkText.js +0 -152
- package/bpk-component-text/src/BpkText.module.css +0 -18
- package/bpk-component-text/src/BpkText.module.scss +0 -139
- package/bpk-component-textarea/README.md +0 -34
- package/bpk-component-textarea/index.js +0 -25
- package/bpk-component-textarea/package.json +0 -28
- package/bpk-component-textarea/src/BpkTextarea.js +0 -76
- package/bpk-component-textarea/src/BpkTextarea.module.css +0 -18
- package/bpk-component-textarea/src/BpkTextarea.module.scss +0 -33
- package/bpk-component-textarea/src/themeAttributes.js +0 -21
- package/bpk-component-theme-toggle/README.md +0 -30
- package/bpk-component-theme-toggle/index.js +0 -23
- package/bpk-component-theme-toggle/package.json +0 -27
- package/bpk-component-theme-toggle/src/BpkThemeToggle.js +0 -113
- package/bpk-component-theme-toggle/src/BpkThemeToggle.module.css +0 -18
- package/bpk-component-theme-toggle/src/BpkThemeToggle.module.scss +0 -25
- package/bpk-component-theme-toggle/src/theming.js +0 -274
- package/bpk-component-theme-toggle/src/updateOnThemeChange.js +0 -74
- package/bpk-component-theme-toggle/src/utils.js +0 -23
- package/bpk-component-ticket/README.md +0 -37
- package/bpk-component-ticket/index.js +0 -23
- package/bpk-component-ticket/package.json +0 -28
- package/bpk-component-ticket/src/BpkTicket.js +0 -148
- package/bpk-component-ticket/src/BpkTicket.module.css +0 -18
- package/bpk-component-ticket/src/BpkTicket.module.scss +0 -145
- package/bpk-component-tooltip/README.md +0 -56
- package/bpk-component-tooltip/index.js +0 -27
- package/bpk-component-tooltip/package.json +0 -29
- package/bpk-component-tooltip/src/BpkTooltip.js +0 -104
- package/bpk-component-tooltip/src/BpkTooltip.module.css +0 -18
- package/bpk-component-tooltip/src/BpkTooltip.module.scss +0 -144
- package/bpk-component-tooltip/src/BpkTooltipPortal.js +0 -222
- package/bpk-component-tooltip/src/constants.js +0 -27
- package/bpk-react-utils/README.md +0 -251
- package/bpk-react-utils/index.js +0 -60
- package/bpk-react-utils/package.json +0 -25
- package/bpk-react-utils/src/Portal-v1.js +0 -310
- package/bpk-react-utils/src/Portal.js +0 -298
- package/bpk-react-utils/src/TransitionInitialMount.js +0 -63
- package/bpk-react-utils/src/cssModules.js +0 -29
- package/bpk-react-utils/src/deprecated.js +0 -40
- package/bpk-react-utils/src/deviceDetection.js +0 -31
- package/bpk-react-utils/src/isRTL.js +0 -36
- package/bpk-react-utils/src/withDefaultProps.js +0 -78
- package/bpk-react-utils/src/wrapDisplayName.js +0 -31
- package/bpk-scrim-utils/README.md +0 -50
- package/bpk-scrim-utils/index.js +0 -24
- package/bpk-scrim-utils/package.json +0 -25
- package/bpk-scrim-utils/src/BpkScrim.js +0 -53
- package/bpk-scrim-utils/src/bpk-scrim-content.module.css +0 -18
- package/bpk-scrim-utils/src/bpk-scrim-content.module.scss +0 -32
- package/bpk-scrim-utils/src/bpk-scrim.module.css +0 -18
- package/bpk-scrim-utils/src/bpk-scrim.module.scss +0 -51
- package/bpk-scrim-utils/src/customPropTypes.js +0 -39
- package/bpk-scrim-utils/src/scroll-utils.js +0 -115
- package/bpk-scrim-utils/src/withScrim.js +0 -162
- package/bpk-theming/README.md +0 -43
- package/bpk-theming/index.js +0 -21
- package/bpk-theming/package.json +0 -23
- package/bpk-theming/src/BpkThemeProvider.js +0 -149
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/* @flow strict */
|
|
20
|
-
|
|
21
|
-
import React from 'react';
|
|
22
|
-
import { scaleBand, scaleLinear } from 'd3-scale';
|
|
23
|
-
import PropTypes from 'prop-types';
|
|
24
|
-
import { borderRadiusXs } from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
25
|
-
|
|
26
|
-
import BpkBarchartBar from './BpkBarchartBar';
|
|
27
|
-
import { remToPx } from './utils';
|
|
28
|
-
|
|
29
|
-
const borderRadius = remToPx(borderRadiusXs);
|
|
30
|
-
|
|
31
|
-
const getYPos = (point, { maxYValue, yScale, yScaleDataKey }) =>
|
|
32
|
-
yScale(Math.min(point[yScaleDataKey], maxYValue));
|
|
33
|
-
|
|
34
|
-
const getBarHeight = (
|
|
35
|
-
point,
|
|
36
|
-
{ height, margin, maxYValue, yScale, yScaleDataKey },
|
|
37
|
-
) => {
|
|
38
|
-
const barHeight =
|
|
39
|
-
height -
|
|
40
|
-
margin.top -
|
|
41
|
-
margin.bottom -
|
|
42
|
-
getYPos(point, { yScale, yScaleDataKey, maxYValue });
|
|
43
|
-
return Math.max(barHeight, 0);
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
const isOutlier = (point, { maxYValue, yScaleDataKey }) =>
|
|
47
|
-
point[yScaleDataKey] > maxYValue;
|
|
48
|
-
|
|
49
|
-
type Props = {
|
|
50
|
-
data: Array<any>, // We pass any here as the array can contain free form data depending on the user
|
|
51
|
-
xScaleDataKey: string,
|
|
52
|
-
yScaleDataKey: string,
|
|
53
|
-
height: number,
|
|
54
|
-
xScale: typeof scaleBand,
|
|
55
|
-
yScale: typeof scaleLinear,
|
|
56
|
-
maxYValue: number,
|
|
57
|
-
margin: {
|
|
58
|
-
top: number,
|
|
59
|
-
bottom: number,
|
|
60
|
-
left: number,
|
|
61
|
-
right: number,
|
|
62
|
-
},
|
|
63
|
-
getBarLabel: (any, string, string) => mixed,
|
|
64
|
-
BarComponent: typeof BpkBarchartBar,
|
|
65
|
-
getBarSelection: (any: any) => mixed,
|
|
66
|
-
outerPadding: number,
|
|
67
|
-
innerPadding: number,
|
|
68
|
-
onBarClick: ?(e: SyntheticEvent<any>, Object) => mixed,
|
|
69
|
-
onBarHover: ?(e: SyntheticEvent<any>, Object) => mixed,
|
|
70
|
-
onBarFocus: ?(e: SyntheticEvent<any>, Object) => mixed,
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
const BpkBarchartBars = (props: Props) => {
|
|
74
|
-
const {
|
|
75
|
-
BarComponent,
|
|
76
|
-
data,
|
|
77
|
-
getBarLabel,
|
|
78
|
-
getBarSelection,
|
|
79
|
-
height,
|
|
80
|
-
innerPadding,
|
|
81
|
-
margin,
|
|
82
|
-
maxYValue,
|
|
83
|
-
onBarClick,
|
|
84
|
-
onBarFocus,
|
|
85
|
-
onBarHover,
|
|
86
|
-
outerPadding,
|
|
87
|
-
xScale,
|
|
88
|
-
xScaleDataKey,
|
|
89
|
-
yScale,
|
|
90
|
-
yScaleDataKey,
|
|
91
|
-
...rest
|
|
92
|
-
} = props;
|
|
93
|
-
|
|
94
|
-
xScale.paddingOuter(outerPadding);
|
|
95
|
-
// `innerPadding` is not set on the scale, but instead passed to the BarComponent
|
|
96
|
-
// This allows us to have full-width tappable areas, but with visibly padded bars.
|
|
97
|
-
xScale.paddingInner(0);
|
|
98
|
-
|
|
99
|
-
const barWidth = xScale.bandwidth();
|
|
100
|
-
|
|
101
|
-
return (
|
|
102
|
-
<g>
|
|
103
|
-
{data.map((point, i) => {
|
|
104
|
-
const x = xScale(point[xScaleDataKey]);
|
|
105
|
-
const y = getYPos(point, { yScale, yScaleDataKey, maxYValue });
|
|
106
|
-
const outlier = isOutlier(point, props);
|
|
107
|
-
const barHeight = getBarHeight(point, props);
|
|
108
|
-
return (
|
|
109
|
-
// $FlowFixMe[cannot-spread-inexact] - inexact rest. See 'decisions/flowfixme.md'.
|
|
110
|
-
<BarComponent
|
|
111
|
-
key={`bar${i.toString()}`}
|
|
112
|
-
x={x}
|
|
113
|
-
y={outlier ? y - borderRadius : y}
|
|
114
|
-
width={barWidth}
|
|
115
|
-
height={outlier ? barHeight + borderRadius : barHeight}
|
|
116
|
-
label={getBarLabel(point, xScaleDataKey, yScaleDataKey)}
|
|
117
|
-
outlier={isOutlier(point, props)}
|
|
118
|
-
onClick={onBarClick ? (e) => onBarClick(e, { point }) : null}
|
|
119
|
-
onHover={onBarHover ? (e) => onBarHover(e, { point }) : null}
|
|
120
|
-
onFocus={onBarFocus ? (e) => onBarFocus(e, { point }) : null}
|
|
121
|
-
selected={getBarSelection(point)}
|
|
122
|
-
padding={innerPadding}
|
|
123
|
-
{...rest}
|
|
124
|
-
/>
|
|
125
|
-
);
|
|
126
|
-
})}
|
|
127
|
-
</g>
|
|
128
|
-
);
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
BpkBarchartBars.propTypes = {
|
|
132
|
-
data: PropTypes.array.isRequired, // eslint-disable-line react/forbid-prop-types
|
|
133
|
-
xScaleDataKey: PropTypes.string.isRequired,
|
|
134
|
-
yScaleDataKey: PropTypes.string.isRequired,
|
|
135
|
-
height: PropTypes.number.isRequired,
|
|
136
|
-
xScale: PropTypes.func.isRequired,
|
|
137
|
-
yScale: PropTypes.func.isRequired,
|
|
138
|
-
maxYValue: PropTypes.number.isRequired,
|
|
139
|
-
margin: PropTypes.shape({
|
|
140
|
-
top: PropTypes.number,
|
|
141
|
-
bottom: PropTypes.number,
|
|
142
|
-
left: PropTypes.number,
|
|
143
|
-
right: PropTypes.number,
|
|
144
|
-
}).isRequired,
|
|
145
|
-
getBarLabel: PropTypes.func.isRequired,
|
|
146
|
-
BarComponent: PropTypes.elementType.isRequired,
|
|
147
|
-
|
|
148
|
-
getBarSelection: PropTypes.func,
|
|
149
|
-
outerPadding: PropTypes.number,
|
|
150
|
-
innerPadding: PropTypes.number,
|
|
151
|
-
onBarClick: PropTypes.func,
|
|
152
|
-
onBarHover: PropTypes.func,
|
|
153
|
-
onBarFocus: PropTypes.func,
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
BpkBarchartBars.defaultProps = {
|
|
157
|
-
outerPadding: 0.35,
|
|
158
|
-
innerPadding: 0.35,
|
|
159
|
-
onBarClick: null,
|
|
160
|
-
onBarHover: null,
|
|
161
|
-
onBarFocus: null,
|
|
162
|
-
getBarSelection: () => false,
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
export default BpkBarchartBars;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/* @flow strict */
|
|
20
|
-
|
|
21
|
-
import React from 'react';
|
|
22
|
-
|
|
23
|
-
const GRADIENT_ATTRIBUTES = {
|
|
24
|
-
x1: 0,
|
|
25
|
-
y1: 0,
|
|
26
|
-
x2: 0,
|
|
27
|
-
y2: 1,
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
const BpkBarchartDefs = () => (
|
|
31
|
-
<defs>
|
|
32
|
-
<linearGradient id="bpk-barchart__def-gradient" {...GRADIENT_ATTRIBUTES}>
|
|
33
|
-
<stop offset="0" stopColor="white" stopOpacity="0" />
|
|
34
|
-
<stop offset="10%" stopColor="white" stopOpacity="1" />
|
|
35
|
-
</linearGradient>
|
|
36
|
-
<mask id="bpk-barchart__def-mask">
|
|
37
|
-
<rect
|
|
38
|
-
x="0"
|
|
39
|
-
y="0"
|
|
40
|
-
width="100%"
|
|
41
|
-
height="100%"
|
|
42
|
-
fill="url(#bpk-barchart__def-gradient)"
|
|
43
|
-
/>
|
|
44
|
-
</mask>
|
|
45
|
-
</defs>
|
|
46
|
-
);
|
|
47
|
-
|
|
48
|
-
export default BpkBarchartDefs;
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/* @flow strict */
|
|
20
|
-
|
|
21
|
-
import React, { type Node } from 'react';
|
|
22
|
-
import PropTypes from 'prop-types';
|
|
23
|
-
import {
|
|
24
|
-
spacingXs,
|
|
25
|
-
lineHeightSm,
|
|
26
|
-
} from '@skyscanner/bpk-foundations-web/tokens/base.es6';
|
|
27
|
-
|
|
28
|
-
import { cssModules } from '../../bpk-react-utils';
|
|
29
|
-
|
|
30
|
-
import { rtlConditionalValue } from './RTLtransforms';
|
|
31
|
-
import { ORIENTATION_X, ORIENTATION_Y } from './orientation';
|
|
32
|
-
import { identity, center, remToPx } from './utils';
|
|
33
|
-
import STYLES from './BpkChartAxis.module.scss';
|
|
34
|
-
|
|
35
|
-
const getClassName = cssModules(STYLES);
|
|
36
|
-
|
|
37
|
-
const spacing = remToPx(spacingXs);
|
|
38
|
-
const lineHeight = remToPx(lineHeightSm);
|
|
39
|
-
|
|
40
|
-
const getAxisConfig = ({ height, margin, orientation, scale, width }) => {
|
|
41
|
-
const position = (scale.bandwidth ? center : identity)(scale.copy());
|
|
42
|
-
|
|
43
|
-
if (orientation === ORIENTATION_X) {
|
|
44
|
-
return {
|
|
45
|
-
containerProps: {
|
|
46
|
-
textAnchor: 'middle',
|
|
47
|
-
transform: `translate(0, ${height - margin.bottom - margin.top})`,
|
|
48
|
-
},
|
|
49
|
-
textProps: {
|
|
50
|
-
y: lineHeight,
|
|
51
|
-
x: 0,
|
|
52
|
-
},
|
|
53
|
-
labelProps: {
|
|
54
|
-
x: (width - margin.left - margin.right) / 2,
|
|
55
|
-
y: margin.bottom - spacing,
|
|
56
|
-
},
|
|
57
|
-
tickPosition: (tick) => [position(tick), 0],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
const containerTranslateX = rtlConditionalValue(0, width - margin.right);
|
|
62
|
-
const labelTranslateX = rtlConditionalValue(
|
|
63
|
-
lineHeight - margin.left,
|
|
64
|
-
margin.right - spacing,
|
|
65
|
-
);
|
|
66
|
-
const labelTranslateY = (height - margin.top - margin.bottom) / 2;
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
containerProps: {
|
|
70
|
-
textAnchor: 'end',
|
|
71
|
-
transform: `translate(${containerTranslateX}, 0)`,
|
|
72
|
-
},
|
|
73
|
-
textProps: {
|
|
74
|
-
y: 0,
|
|
75
|
-
x: rtlConditionalValue(-1, 1) * spacing,
|
|
76
|
-
dy: '0.32em',
|
|
77
|
-
},
|
|
78
|
-
labelProps: {
|
|
79
|
-
transform: `translate(${labelTranslateX}, ${labelTranslateY}) rotate(-90)`,
|
|
80
|
-
},
|
|
81
|
-
tickPosition: (tick) => [0, position(tick)],
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
type Props = {
|
|
86
|
-
height: number,
|
|
87
|
-
width: number,
|
|
88
|
-
margin: {
|
|
89
|
-
top: number,
|
|
90
|
-
bottom: number,
|
|
91
|
-
left: number,
|
|
92
|
-
right: number,
|
|
93
|
-
},
|
|
94
|
-
scale: Object,
|
|
95
|
-
label: ?Node,
|
|
96
|
-
orientation: string,
|
|
97
|
-
tickValue: (any, any) => any,
|
|
98
|
-
numTicks: ?number,
|
|
99
|
-
tickOffset: number,
|
|
100
|
-
tickEvery: number,
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
const BpkChartAxis = (props: Props) => {
|
|
104
|
-
const {
|
|
105
|
-
height,
|
|
106
|
-
label,
|
|
107
|
-
margin,
|
|
108
|
-
numTicks,
|
|
109
|
-
orientation,
|
|
110
|
-
scale,
|
|
111
|
-
tickEvery,
|
|
112
|
-
tickOffset,
|
|
113
|
-
tickValue,
|
|
114
|
-
width,
|
|
115
|
-
...rest
|
|
116
|
-
} = props;
|
|
117
|
-
|
|
118
|
-
const { containerProps, labelProps, textProps, tickPosition } =
|
|
119
|
-
getAxisConfig(props);
|
|
120
|
-
|
|
121
|
-
const ticks = scale.ticks
|
|
122
|
-
? scale.ticks(numTicks)
|
|
123
|
-
: scale.domain().filter((tick, i) => (i - tickOffset) % tickEvery === 0);
|
|
124
|
-
|
|
125
|
-
return (
|
|
126
|
-
// $FlowFixMe[cannot-spread-inexact] - inexact rest. See 'decisions/flowfixme.md'.
|
|
127
|
-
<g
|
|
128
|
-
className={getClassName('bpk-chart__axis')}
|
|
129
|
-
aria-hidden="true"
|
|
130
|
-
{...containerProps}
|
|
131
|
-
{...rest}
|
|
132
|
-
>
|
|
133
|
-
{ticks.map((tick, i) => (
|
|
134
|
-
<g
|
|
135
|
-
transform={`translate(${tickPosition(tick).join(', ')})`}
|
|
136
|
-
key={`${orientation}axis${i.toString()}`}
|
|
137
|
-
>
|
|
138
|
-
<text
|
|
139
|
-
className={getClassName('bpk-chart__axis-tick-text')}
|
|
140
|
-
{...textProps}
|
|
141
|
-
>
|
|
142
|
-
{tickValue(tick, i)}
|
|
143
|
-
</text>
|
|
144
|
-
</g>
|
|
145
|
-
))}
|
|
146
|
-
{label && (
|
|
147
|
-
<text
|
|
148
|
-
className={getClassName('bpk-chart__axis-label')}
|
|
149
|
-
textAnchor="middle"
|
|
150
|
-
{...labelProps}
|
|
151
|
-
>
|
|
152
|
-
{label}
|
|
153
|
-
</text>
|
|
154
|
-
)}
|
|
155
|
-
</g>
|
|
156
|
-
);
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
BpkChartAxis.propTypes = {
|
|
160
|
-
height: PropTypes.number.isRequired,
|
|
161
|
-
width: PropTypes.number.isRequired,
|
|
162
|
-
margin: PropTypes.shape({
|
|
163
|
-
top: PropTypes.number,
|
|
164
|
-
bottom: PropTypes.number,
|
|
165
|
-
left: PropTypes.number,
|
|
166
|
-
right: PropTypes.number,
|
|
167
|
-
}).isRequired,
|
|
168
|
-
scale: PropTypes.func.isRequired,
|
|
169
|
-
label: PropTypes.node,
|
|
170
|
-
|
|
171
|
-
orientation: PropTypes.oneOf([ORIENTATION_X, ORIENTATION_Y]).isRequired,
|
|
172
|
-
tickValue: PropTypes.func,
|
|
173
|
-
numTicks: PropTypes.number,
|
|
174
|
-
tickOffset: PropTypes.number,
|
|
175
|
-
tickEvery: PropTypes.number,
|
|
176
|
-
};
|
|
177
|
-
|
|
178
|
-
BpkChartAxis.defaultProps = {
|
|
179
|
-
tickOffset: 0,
|
|
180
|
-
tickEvery: 1,
|
|
181
|
-
tickValue: identity,
|
|
182
|
-
numTicks: null,
|
|
183
|
-
label: null,
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
export default BpkChartAxis;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-chart__axis-tick-text{fill:#68697f;margin:0;font-size:.75rem;line-height:1rem;font-weight:400}.bpk-chart__axis-label{fill:#68697f;margin:0;font-size:.75rem;line-height:1rem;font-weight:400}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
@import '~bpk-mixins/index';
|
|
20
|
-
|
|
21
|
-
.bpk-chart {
|
|
22
|
-
&__axis-tick {
|
|
23
|
-
&-text {
|
|
24
|
-
fill: $bpk-color-sky-gray-tint-02;
|
|
25
|
-
|
|
26
|
-
@include bpk-text;
|
|
27
|
-
@include bpk-caption;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&__axis-label {
|
|
32
|
-
fill: $bpk-color-sky-gray-tint-02;
|
|
33
|
-
|
|
34
|
-
@include bpk-text;
|
|
35
|
-
@include bpk-caption;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/* @flow strict */
|
|
20
|
-
|
|
21
|
-
import PropTypes from 'prop-types';
|
|
22
|
-
import React from 'react';
|
|
23
|
-
|
|
24
|
-
import { cssModules } from '../../bpk-react-utils';
|
|
25
|
-
|
|
26
|
-
import dataProp from './customPropTypes';
|
|
27
|
-
import STYLES from './BpkChartDataTable.module.scss';
|
|
28
|
-
|
|
29
|
-
const getClassName = cssModules(STYLES);
|
|
30
|
-
|
|
31
|
-
type Props = {
|
|
32
|
-
data: Array<any>, // We pass any here as the array can contain free form data depending on the user
|
|
33
|
-
xScaleDataKey: string,
|
|
34
|
-
yScaleDataKey: string,
|
|
35
|
-
xAxisLabel: string,
|
|
36
|
-
yAxisLabel: string,
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
const BpkChartDataTable = (props: Props) => {
|
|
40
|
-
const { data, xAxisLabel, xScaleDataKey, yAxisLabel, yScaleDataKey } = props;
|
|
41
|
-
const rows = data.map((point, i) => {
|
|
42
|
-
const key = `chart-data-table-row-${i}`;
|
|
43
|
-
|
|
44
|
-
return (
|
|
45
|
-
<tr key={key}>
|
|
46
|
-
<td>{point[xScaleDataKey]}</td>
|
|
47
|
-
<td>{point[yScaleDataKey]}</td>
|
|
48
|
-
</tr>
|
|
49
|
-
);
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
return (
|
|
53
|
-
<table className={getClassName('bpk-chart-data-table')}>
|
|
54
|
-
<thead>
|
|
55
|
-
<tr>
|
|
56
|
-
<th>{xAxisLabel}</th>
|
|
57
|
-
<th>{yAxisLabel}</th>
|
|
58
|
-
</tr>
|
|
59
|
-
</thead>
|
|
60
|
-
<tbody>{rows}</tbody>
|
|
61
|
-
</table>
|
|
62
|
-
);
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
BpkChartDataTable.propTypes = {
|
|
66
|
-
data: dataProp, // This is actually required and will fail if not present
|
|
67
|
-
xScaleDataKey: PropTypes.string.isRequired,
|
|
68
|
-
yScaleDataKey: PropTypes.string.isRequired,
|
|
69
|
-
xAxisLabel: PropTypes.string.isRequired,
|
|
70
|
-
yAxisLabel: PropTypes.string.isRequired,
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
BpkChartDataTable.defaultProps = {
|
|
74
|
-
data: null,
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
export default BpkChartDataTable;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-chart-data-table{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0)}.bpk-chart-data-table thead,.bpk-chart-data-table tbody{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0)}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
@import '~bpk-mixins/index';
|
|
20
|
-
|
|
21
|
-
.bpk-chart-data-table {
|
|
22
|
-
@include bpk-visually-hidden;
|
|
23
|
-
|
|
24
|
-
thead,
|
|
25
|
-
tbody {
|
|
26
|
-
@include bpk-visually-hidden;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
/* @flow strict */
|
|
20
|
-
|
|
21
|
-
import React from 'react';
|
|
22
|
-
import PropTypes from 'prop-types';
|
|
23
|
-
|
|
24
|
-
import { cssModules } from '../../bpk-react-utils';
|
|
25
|
-
|
|
26
|
-
import { ORIENTATION_X, ORIENTATION_Y } from './orientation';
|
|
27
|
-
import { identity, center } from './utils';
|
|
28
|
-
import STYLES from './BpkChartGridLines.module.scss';
|
|
29
|
-
|
|
30
|
-
const getClassName = cssModules(STYLES);
|
|
31
|
-
|
|
32
|
-
type Props = {
|
|
33
|
-
width: number,
|
|
34
|
-
height: number,
|
|
35
|
-
margin: {
|
|
36
|
-
top: number,
|
|
37
|
-
bottom: number,
|
|
38
|
-
left: number,
|
|
39
|
-
right: number,
|
|
40
|
-
},
|
|
41
|
-
scale: Object,
|
|
42
|
-
orientation: string,
|
|
43
|
-
numTicks: ?number,
|
|
44
|
-
tickOffset: number,
|
|
45
|
-
tickEvery: number,
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
const BpkChartGridLines = (props: Props) => {
|
|
49
|
-
const {
|
|
50
|
-
height,
|
|
51
|
-
margin,
|
|
52
|
-
numTicks,
|
|
53
|
-
orientation,
|
|
54
|
-
scale,
|
|
55
|
-
tickEvery,
|
|
56
|
-
tickOffset,
|
|
57
|
-
width,
|
|
58
|
-
...rest
|
|
59
|
-
} = props;
|
|
60
|
-
|
|
61
|
-
const ticks = scale.ticks
|
|
62
|
-
? scale.ticks(numTicks)
|
|
63
|
-
: scale.domain().filter((tick, i) => (i - tickOffset) % tickEvery === 0);
|
|
64
|
-
const position = (scale.bandwidth ? center : identity)(scale.copy());
|
|
65
|
-
|
|
66
|
-
const lineProps = (tick) => {
|
|
67
|
-
const value = position(tick);
|
|
68
|
-
return orientation === ORIENTATION_X
|
|
69
|
-
? {
|
|
70
|
-
x1: value,
|
|
71
|
-
x2: value,
|
|
72
|
-
y2: height - margin.top - margin.bottom,
|
|
73
|
-
}
|
|
74
|
-
: {
|
|
75
|
-
x2: width - margin.left - margin.right,
|
|
76
|
-
y1: value,
|
|
77
|
-
y2: value,
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
const toLine = (tick, i) => (
|
|
82
|
-
// $FlowFixMe[cannot-spread-inexact] - inexact rest. See 'decisions/flowfixme.md'.
|
|
83
|
-
<line
|
|
84
|
-
className={getClassName('bpk-chart__grid-line')}
|
|
85
|
-
key={`${orientation}gridline${i.toString()}`}
|
|
86
|
-
{...lineProps(tick)}
|
|
87
|
-
{...rest}
|
|
88
|
-
/>
|
|
89
|
-
);
|
|
90
|
-
|
|
91
|
-
return (
|
|
92
|
-
<g className={getClassName('bpk-chart__grid-lines')}>{ticks.map(toLine)}</g>
|
|
93
|
-
);
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
BpkChartGridLines.propTypes = {
|
|
97
|
-
width: PropTypes.number.isRequired,
|
|
98
|
-
height: PropTypes.number.isRequired,
|
|
99
|
-
margin: PropTypes.shape({
|
|
100
|
-
top: PropTypes.number,
|
|
101
|
-
bottom: PropTypes.number,
|
|
102
|
-
left: PropTypes.number,
|
|
103
|
-
right: PropTypes.number,
|
|
104
|
-
}).isRequired,
|
|
105
|
-
|
|
106
|
-
scale: PropTypes.func.isRequired,
|
|
107
|
-
orientation: PropTypes.oneOf([ORIENTATION_X, ORIENTATION_Y]).isRequired,
|
|
108
|
-
numTicks: PropTypes.number,
|
|
109
|
-
tickOffset: PropTypes.number,
|
|
110
|
-
tickEvery: PropTypes.number,
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
BpkChartGridLines.defaultProps = {
|
|
114
|
-
numTicks: null,
|
|
115
|
-
tickOffset: 0,
|
|
116
|
-
tickEvery: 1,
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
export default BpkChartGridLines;
|