@skyscanner/backpack-web 17.1.0-beta.1 → 17.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bpk-animate-height/README.md +53 -0
- package/bpk-animate-height/index.js +4 -10
- package/bpk-animate-height/src/AnimateHeight.js +92 -71
- package/bpk-component-accordion/README.md +122 -0
- package/bpk-component-accordion/index.js +30 -33
- package/bpk-component-accordion/src/BpkAccordion.js +45 -31
- package/{bpk-component-boilerplate/src/BpkBoilerplate.module.css → bpk-component-accordion/src/BpkAccordion.module.scss} +11 -6
- package/bpk-component-accordion/src/BpkAccordionItem.js +113 -76
- package/bpk-component-accordion/src/BpkAccordionItem.module.css +1 -1
- package/bpk-component-accordion/src/BpkAccordionItem.module.scss +76 -0
- package/bpk-component-accordion/src/withAccordionItemState.js +76 -52
- package/bpk-component-accordion/src/withSingleItemAccordionState.js +83 -48
- package/bpk-component-aria-live/README.md +40 -0
- package/bpk-component-aria-live/index.js +9 -17
- package/bpk-component-aria-live/src/BpkAriaLive.js +56 -33
- package/{bpk-component-split-input/src/BpkInputField.module.css → bpk-component-aria-live/src/BpkAriaLive.module.scss} +13 -6
- package/bpk-component-autosuggest/README.md +124 -0
- package/bpk-component-autosuggest/index.js +8 -17
- package/bpk-component-autosuggest/src/BpkAutosuggest.js +55 -36
- package/bpk-component-autosuggest/src/BpkAutosuggest.module.css +1 -1
- package/bpk-component-autosuggest/src/BpkAutosuggest.module.scss +156 -0
- package/bpk-component-autosuggest/src/BpkAutosuggestSuggestion.js +86 -50
- package/bpk-component-badge/README.md +37 -0
- package/bpk-component-badge/index.js +9 -25
- package/bpk-component-badge/src/BpkBadge.js +54 -38
- package/bpk-component-badge/src/BpkBadge.module.css +1 -1
- package/bpk-component-badge/src/BpkBadge.module.scss +63 -0
- package/bpk-component-badge/src/themeAttributes.js +6 -8
- package/bpk-component-banner-alert/README.md +151 -0
- package/bpk-component-banner-alert/index.js +17 -45
- package/bpk-component-banner-alert/src/AnimateAndFade.js +148 -105
- package/bpk-component-banner-alert/src/BpkAnimateAndFade.module.scss +53 -0
- package/bpk-component-banner-alert/src/BpkBannerAlert.js +21 -15
- package/bpk-component-banner-alert/src/BpkBannerAlert.module.css +1 -1
- package/bpk-component-banner-alert/src/BpkBannerAlert.module.scss +159 -0
- package/bpk-component-banner-alert/src/BpkBannerAlertDismissable.js +51 -33
- package/bpk-component-banner-alert/src/BpkBannerAlertExpandable.js +57 -41
- package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +205 -129
- package/bpk-component-banner-alert/src/common-types.js +42 -23
- package/bpk-component-banner-alert/src/themeAttributes.js +7 -8
- package/bpk-component-banner-alert/src/withBannerAlertState.js +160 -104
- package/bpk-component-barchart/README.md +187 -0
- package/bpk-component-barchart/data.json +20 -0
- package/bpk-component-barchart/index.js +21 -52
- package/bpk-component-barchart/src/BpkBarchart.js +304 -213
- package/{bpk-storybook-utils/src/BpkDarkExampleWrapper.module.css → bpk-component-barchart/src/BpkBarchart.module.scss} +9 -6
- package/bpk-component-barchart/src/BpkBarchartBar.js +131 -81
- package/bpk-component-barchart/src/BpkBarchartBar.module.css +1 -1
- package/bpk-component-barchart/src/BpkBarchartBar.module.scss +70 -0
- package/bpk-component-barchart/src/BpkBarchartBars.js +146 -116
- package/bpk-component-barchart/src/BpkBarchartDefs.js +42 -30
- package/bpk-component-barchart/src/BpkChartAxis.js +149 -93
- package/bpk-component-barchart/src/BpkChartAxis.module.css +1 -1
- package/bpk-component-barchart/src/BpkChartAxis.module.scss +37 -0
- package/bpk-component-barchart/src/BpkChartDataTable.js +53 -36
- package/bpk-component-barchart/src/BpkChartDataTable.module.scss +28 -0
- package/bpk-component-barchart/src/BpkChartGridLines.js +107 -65
- package/bpk-component-barchart/src/BpkChartGridLines.module.css +1 -1
- package/bpk-component-barchart/src/BpkChartGridLines.module.scss +26 -0
- package/bpk-component-barchart/src/BpkChartMargin.js +48 -31
- package/bpk-component-barchart/src/RTLtransforms.js +47 -36
- package/bpk-component-barchart/src/customPropTypes.js +24 -15
- package/bpk-component-barchart/src/orientation.js +6 -10
- package/bpk-component-barchart/src/themeAttributes.js +9 -8
- package/bpk-component-barchart/src/utils.js +14 -14
- package/bpk-component-blockquote/README.md +33 -0
- package/bpk-component-blockquote/index.js +6 -17
- package/bpk-component-blockquote/src/BpkBlockquote.js +24 -21
- package/bpk-component-blockquote/src/BpkBlockquote.module.css +1 -1
- package/bpk-component-blockquote/src/BpkBlockquote.module.scss +29 -0
- package/bpk-component-blockquote/src/themeAttributes.js +2 -8
- package/bpk-component-breadcrumb/README.md +56 -0
- package/bpk-component-breadcrumb/index.js +14 -17
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.js +86 -57
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.module.scss +27 -0
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.js +80 -55
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.module.css +1 -1
- package/{bpk-component-boilerplate/index.js → bpk-component-breadcrumb/src/BpkBreadcrumbItem.module.scss} +23 -10
- package/bpk-component-breakpoint/README.md +32 -0
- package/bpk-component-breakpoint/index.js +7 -17
- package/bpk-component-breakpoint/src/BpkBreakpoint.js +42 -39
- package/bpk-component-button/BpkButtonDestructive.js +20 -12
- package/bpk-component-button/BpkButtonFeatured.js +20 -12
- package/bpk-component-button/BpkButtonLink.js +20 -12
- package/bpk-component-button/BpkButtonLinkOnDark.js +20 -12
- package/bpk-component-button/BpkButtonOutline.js +20 -12
- package/bpk-component-button/BpkButtonPrimary.js +20 -12
- package/bpk-component-button/BpkButtonPrimaryOnDark.js +20 -12
- package/bpk-component-button/BpkButtonPrimaryOnLight.js +20 -12
- package/bpk-component-button/BpkButtonSecondary.js +20 -12
- package/bpk-component-button/BpkButtonSecondaryOnDark.js +20 -12
- package/bpk-component-button/README.md +138 -0
- package/bpk-component-button/index.js +40 -130
- package/bpk-component-button/src/BpkButton.js +100 -56
- package/bpk-component-button/src/BpkButtonBase.js +88 -60
- package/bpk-component-button/src/BpkButtonBase.module.css +1 -1
- package/bpk-component-button/src/BpkButtonBase.module.scss +50 -0
- package/bpk-component-button/src/BpkButtonDestructive.js +39 -36
- package/bpk-component-button/src/BpkButtonDestructive.module.css +1 -1
- package/bpk-component-button/src/BpkButtonDestructive.module.scss +24 -0
- package/bpk-component-button/src/BpkButtonFeatured.js +39 -36
- package/bpk-component-button/src/BpkButtonFeatured.module.css +1 -1
- package/bpk-component-button/src/BpkButtonFeatured.module.scss +23 -0
- package/bpk-component-button/src/BpkButtonLink.js +47 -38
- package/bpk-component-button/src/BpkButtonLink.module.css +1 -1
- package/bpk-component-button/src/BpkButtonLink.module.scss +25 -0
- package/bpk-component-button/src/BpkButtonLinkOnDark.js +47 -38
- package/bpk-component-button/src/BpkButtonLinkOnDark.module.scss +23 -0
- package/bpk-component-button/src/BpkButtonOutline.js +39 -36
- package/bpk-component-button/src/BpkButtonOutline.module.scss +23 -0
- package/bpk-component-button/src/BpkButtonPrimary.js +30 -19
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.js +39 -36
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.scss +23 -0
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.js +39 -36
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.scss +23 -0
- package/bpk-component-button/src/BpkButtonSecondary.js +39 -36
- package/bpk-component-button/src/BpkButtonSecondary.module.css +1 -1
- package/bpk-component-button/src/BpkButtonSecondary.module.scss +23 -0
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.js +39 -36
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.scss +23 -0
- package/bpk-component-button/src/common-types.js +35 -22
- package/bpk-component-button/src/commonButtonTests.js +59 -72
- package/bpk-component-button/src/themeAttributes.js +74 -22
- package/bpk-component-button/themeAttributes.js +29 -53
- package/bpk-component-calendar/DOCS.md +23 -0
- package/bpk-component-calendar/README.md +394 -0
- package/bpk-component-calendar/index.js +41 -106
- package/bpk-component-calendar/src/BpkCalendar.module.scss +42 -0
- package/bpk-component-calendar/src/BpkCalendarContainer.js +292 -202
- package/bpk-component-calendar/src/BpkCalendarDate.js +136 -102
- package/bpk-component-calendar/src/BpkCalendarDate.module.css +1 -1
- package/bpk-component-calendar/src/BpkCalendarDate.module.scss +122 -0
- package/bpk-component-calendar/src/BpkCalendarGrid.js +150 -110
- package/bpk-component-calendar/src/BpkCalendarGrid.module.css +1 -1
- package/bpk-component-calendar/src/BpkCalendarGrid.module.scss +65 -0
- package/bpk-component-calendar/src/BpkCalendarGridHeader.js +63 -58
- package/bpk-component-calendar/src/BpkCalendarGridHeader.module.css +1 -1
- package/{bpk-storybook-utils/src/BpkStorybookUtils.js → bpk-component-calendar/src/BpkCalendarGridHeader.module.scss} +31 -19
- package/bpk-component-calendar/src/BpkCalendarGridTransition.js +159 -87
- package/bpk-component-calendar/src/BpkCalendarGridTransition.module.scss +47 -0
- package/bpk-component-calendar/src/BpkCalendarNav.js +139 -129
- package/bpk-component-calendar/src/BpkCalendarNav.module.css +1 -1
- package/bpk-component-calendar/src/BpkCalendarNav.module.scss +89 -0
- package/bpk-component-calendar/src/Week.js +283 -168
- package/bpk-component-calendar/src/_variables.scss +22 -0
- package/bpk-component-calendar/src/composeCalendar.js +125 -89
- package/bpk-component-calendar/src/custom-proptypes.js +41 -37
- package/bpk-component-calendar/src/date-utils.js +96 -175
- package/bpk-component-calendar/src/themeAttributes.js +13 -8
- package/bpk-component-calendar/src/utils.js +24 -19
- package/bpk-component-calendar/test-utils.js +274 -228
- package/bpk-component-card/README.md +61 -0
- package/bpk-component-card/index.js +8 -25
- package/bpk-component-card/src/BpkCard.js +72 -49
- package/bpk-component-card/src/BpkCard.module.css +1 -1
- package/bpk-component-card/src/BpkCard.module.scss +27 -0
- package/bpk-component-card/src/BpkDividedCard.js +81 -47
- package/bpk-component-card/src/BpkDividedCard.module.css +1 -1
- package/bpk-component-card/src/BpkDividedCard.module.scss +62 -0
- package/bpk-component-checkbox/README.md +45 -0
- package/bpk-component-checkbox/index.js +8 -17
- package/bpk-component-checkbox/src/BpkCheckbox.js +116 -66
- package/bpk-component-checkbox/src/BpkCheckbox.module.css +1 -1
- package/bpk-component-checkbox/src/BpkCheckbox.module.scss +78 -0
- package/bpk-component-checkbox/src/themeAttributes.js +4 -8
- package/bpk-component-chip/README.md +136 -0
- package/bpk-component-chip/index.js +21 -38
- package/bpk-component-chip/src/BpkDismissibleChip.js +65 -40
- package/bpk-component-chip/src/BpkDropdownChip.js +52 -22
- package/bpk-component-chip/src/BpkSelectableChip.js +98 -62
- package/bpk-component-chip/src/BpkSelectableChip.module.css +1 -1
- package/bpk-component-chip/src/BpkSelectableChip.module.scss +23 -0
- package/bpk-component-chip/src/commonTypes.js +34 -25
- package/bpk-component-chip/src/themeAttributes.js +13 -8
- package/bpk-component-close-button/README.md +25 -0
- package/bpk-component-close-button/index.js +6 -10
- package/bpk-component-close-button/src/BpkCloseButton.js +61 -43
- package/bpk-component-close-button/src/BpkCloseButton.module.css +1 -1
- package/bpk-component-close-button/src/BpkCloseButton.module.scss +52 -0
- package/bpk-component-code/README.md +41 -0
- package/bpk-component-code/index.js +22 -19
- package/bpk-component-code/src/BpkCode.js +49 -33
- package/bpk-component-code/src/BpkCode.module.css +1 -1
- package/bpk-component-code/src/BpkCode.module.scss +27 -0
- package/bpk-component-code/src/BpkCodeBlock.js +53 -36
- package/bpk-component-code/src/BpkCodeBlock.module.css +1 -1
- package/bpk-component-code/src/BpkCodeBlock.module.scss +33 -0
- package/bpk-component-content-cards/README.md +38 -0
- package/bpk-component-content-cards/index.js +4 -10
- package/bpk-component-content-cards/src/BpkContentCard.js +62 -37
- package/bpk-component-content-cards/src/BpkContentCard.module.scss +87 -0
- package/bpk-component-content-cards/src/BpkContentCards.js +46 -33
- package/bpk-component-content-cards/src/BpkContentCards.module.css +1 -1
- package/bpk-component-content-cards/src/BpkContentCards.module.scss +51 -0
- package/bpk-component-datatable/README.md +196 -0
- package/bpk-component-datatable/index.js +20 -19
- package/bpk-component-datatable/src/BpkDataTable.js +197 -129
- package/bpk-component-datatable/src/BpkDataTable.module.css +1 -1
- package/bpk-component-datatable/src/BpkDataTable.module.scss +90 -0
- package/bpk-component-datatable/src/BpkDataTableColumn.js +31 -29
- package/bpk-component-datatable/src/BpkDataTableHeader.js +108 -60
- package/bpk-component-datatable/src/BpkDataTableHeader.module.scss +65 -0
- package/bpk-component-datatable/src/common-types.js +72 -1
- package/bpk-component-datatable/src/hasChildrenOfType.js +41 -25
- package/bpk-component-datatable/src/sort-types.js +16 -10
- package/bpk-component-datatable/src/utils.js +65 -93
- package/bpk-component-datepicker/README.md +179 -0
- package/bpk-component-datepicker/index.js +8 -24
- package/bpk-component-datepicker/src/BpkDatepicker.js +304 -211
- package/bpk-component-datepicker/src/BpkDatepicker.module.css +1 -1
- package/bpk-component-datepicker/src/BpkDatepicker.module.scss +30 -0
- package/bpk-component-datepicker/src/themeAttributes.js +12 -11
- package/bpk-component-description-list/README.md +44 -0
- package/bpk-component-description-list/index.js +22 -26
- package/bpk-component-description-list/src/BpkDescriptionDetails.js +4 -10
- package/bpk-component-description-list/src/BpkDescriptionList.js +4 -10
- package/bpk-component-description-list/src/BpkDescriptionList.module.scss +37 -0
- package/bpk-component-description-list/src/BpkDescriptionTerm.js +4 -10
- package/bpk-component-description-list/src/ComponentFactory.js +43 -30
- package/bpk-component-dialog/README.md +103 -0
- package/bpk-component-dialog/index.js +9 -17
- package/bpk-component-dialog/src/BpkDialog.js +87 -56
- package/bpk-component-dialog/src/BpkDialog.module.css +1 -1
- package/bpk-component-dialog/src/BpkDialog.module.scss +80 -0
- package/bpk-component-dialog/src/BpkDialogInner.js +79 -47
- package/bpk-component-dialog/src/BpkDialogInner.module.css +1 -1
- package/bpk-component-dialog/src/BpkDialogInner.module.scss +64 -0
- package/bpk-component-dialog/src/common-types.js +83 -49
- package/bpk-component-drawer/README.md +88 -0
- package/bpk-component-drawer/index.js +8 -17
- package/bpk-component-drawer/src/BpkDrawer.js +84 -66
- package/bpk-component-drawer/src/BpkDrawer.module.scss +23 -0
- package/bpk-component-drawer/src/BpkDrawerContent.js +142 -94
- package/bpk-component-drawer/src/BpkDrawerContent.module.css +1 -1
- package/bpk-component-drawer/src/BpkDrawerContent.module.scss +107 -0
- package/bpk-component-drawer/src/themeAttributes.js +6 -9
- package/bpk-component-fieldset/README.md +71 -0
- package/bpk-component-fieldset/index.js +13 -31
- package/bpk-component-fieldset/src/BpkFieldset.js +144 -92
- package/bpk-component-fieldset/src/BpkFieldset.module.css +1 -1
- package/bpk-component-fieldset/src/BpkFieldset.module.scss +39 -0
- package/bpk-component-fieldset/src/themeAttributes.js +2 -8
- package/bpk-component-flare/README.md +50 -0
- package/bpk-component-flare/index.js +8 -23
- package/bpk-component-flare/src/BpkContentBubble.js +78 -49
- package/bpk-component-flare/src/BpkFlareBar.js +60 -42
- package/bpk-component-flare/src/__generated__/js/corner-radius.js +5 -24
- package/bpk-component-flare/src/__generated__/js/pointer.js +5 -24
- package/bpk-component-flare/src/bpk-content-bubble.module.scss +61 -0
- package/bpk-component-flare/src/bpk-flare-bar.module.css +1 -1
- package/bpk-component-flare/src/bpk-flare-bar.module.scss +75 -0
- package/bpk-component-flare/src/svgs/corner-radius.svg +1 -0
- package/bpk-component-flare/src/svgs/pointer.svg +1 -0
- package/bpk-component-floating-notification/README.md +48 -0
- package/bpk-component-floating-notification/index.js +8 -10
- package/bpk-component-floating-notification/src/BpkFloatingNotification.js +117 -78
- package/bpk-component-floating-notification/src/BpkFloatingNotification.module.css +1 -1
- package/bpk-component-floating-notification/src/BpkFloatingNotification.module.scss +83 -0
- package/bpk-component-form-validation/README.md +31 -0
- package/bpk-component-form-validation/index.js +6 -17
- package/bpk-component-form-validation/src/BpkFormValidation.js +77 -51
- package/bpk-component-form-validation/src/BpkFormValidation.module.css +1 -1
- package/bpk-component-form-validation/src/BpkFormValidation.module.scss +44 -0
- package/bpk-component-form-validation/src/themeAttributes.js +2 -8
- package/bpk-component-graphic-promotion/README.md +68 -0
- package/bpk-component-graphic-promotion/index.js +9 -17
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.js +133 -75
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.module.scss +270 -0
- package/bpk-component-grid/README.md +90 -0
- package/bpk-component-grid/index.js +7 -16
- package/bpk-component-grid/src/BpkGridColumn.js +78 -50
- package/bpk-component-grid/src/BpkGridColumn.module.css +1 -1
- package/bpk-component-grid/src/BpkGridColumn.module.scss +73 -0
- package/bpk-component-grid/src/BpkGridContainer.js +45 -34
- package/bpk-component-grid/src/BpkGridContainer.module.css +1 -1
- package/bpk-component-grid/src/BpkGridContainer.module.scss +33 -0
- package/bpk-component-grid/src/BpkGridRow.js +44 -32
- package/bpk-component-grid/src/BpkGridRow.module.css +1 -1
- package/bpk-component-grid/src/BpkGridRow.module.scss +29 -0
- package/bpk-component-grid-toggle/README.md +25 -0
- package/bpk-component-grid-toggle/index.js +4 -10
- package/bpk-component-grid-toggle/src/BpkGridToggle.js +75 -47
- package/bpk-component-grid-toggle/src/BpkGridToggle.module.css +1 -1
- package/bpk-component-grid-toggle/src/BpkGridToggle.module.scss +52 -0
- package/bpk-component-horizontal-nav/README.md +101 -0
- package/bpk-component-horizontal-nav/index.js +15 -30
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.js +169 -112
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.module.css +1 -1
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.module.scss +37 -0
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.js +120 -78
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.module.css +1 -1
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.module.scss +152 -0
- package/bpk-component-icon/README.md +77 -0
- package/bpk-component-icon/all.js +6 -5
- package/bpk-component-icon/index.js +24 -33
- package/bpk-component-icon/lg/accessibility.js +8 -30
- package/bpk-component-icon/lg/account--add.js +8 -30
- package/bpk-component-icon/lg/account--female.js +8 -30
- package/bpk-component-icon/lg/account--id-card.js +8 -30
- package/bpk-component-icon/lg/account--name.js +8 -30
- package/bpk-component-icon/lg/account--permit.js +8 -30
- package/bpk-component-icon/lg/account-circle.js +8 -30
- package/bpk-component-icon/lg/account.js +8 -30
- package/bpk-component-icon/lg/add-circle.js +8 -30
- package/bpk-component-icon/lg/adult.js +8 -30
- package/bpk-component-icon/lg/aircon.js +8 -30
- package/bpk-component-icon/lg/aircraft.js +8 -32
- package/bpk-component-icon/lg/airline--multiple.js +8 -30
- package/bpk-component-icon/lg/airline.js +8 -30
- package/bpk-component-icon/lg/airports.js +8 -30
- package/bpk-component-icon/lg/alert--active.js +8 -30
- package/bpk-component-icon/lg/alert--add.js +8 -30
- package/bpk-component-icon/lg/alert--expired.js +8 -30
- package/bpk-component-icon/lg/alert--remove.js +8 -30
- package/bpk-component-icon/lg/arrow-down.js +8 -30
- package/bpk-component-icon/lg/arrow-left.js +8 -30
- package/bpk-component-icon/lg/arrow-right.js +8 -30
- package/bpk-component-icon/lg/arrow-up.js +8 -30
- package/bpk-component-icon/lg/award.js +8 -30
- package/bpk-component-icon/lg/baby-carriage.js +8 -30
- package/bpk-component-icon/lg/baggage--add.js +8 -30
- package/bpk-component-icon/lg/baggage--remove.js +8 -30
- package/bpk-component-icon/lg/baggage-cabin-add.js +8 -30
- package/bpk-component-icon/lg/baggage-cabin-not-included.js +8 -30
- package/bpk-component-icon/lg/baggage-cabin.js +8 -30
- package/bpk-component-icon/lg/baggage-checked-add.js +8 -30
- package/bpk-component-icon/lg/baggage-checked-not-included.js +8 -30
- package/bpk-component-icon/lg/baggage-checked.js +8 -30
- package/bpk-component-icon/lg/baggage-cross.js +8 -30
- package/bpk-component-icon/lg/baggage-generic.js +8 -30
- package/bpk-component-icon/lg/baggage-tick.js +8 -30
- package/bpk-component-icon/lg/baggage.js +8 -30
- package/bpk-component-icon/lg/bar.js +8 -30
- package/bpk-component-icon/lg/beach.js +8 -32
- package/bpk-component-icon/lg/beer.js +8 -30
- package/bpk-component-icon/lg/breakfast-cross.js +8 -30
- package/bpk-component-icon/lg/breakfast-tick.js +8 -30
- package/bpk-component-icon/lg/bus.js +8 -30
- package/bpk-component-icon/lg/business.js +8 -30
- package/bpk-component-icon/lg/cafe.js +8 -30
- package/bpk-component-icon/lg/calendar.js +8 -30
- package/bpk-component-icon/lg/call-back.js +8 -32
- package/bpk-component-icon/lg/camera.js +8 -30
- package/bpk-component-icon/lg/camper-van.js +8 -32
- package/bpk-component-icon/lg/car-door.js +8 -30
- package/bpk-component-icon/lg/car-wash.js +8 -32
- package/bpk-component-icon/lg/cars-flexible.js +8 -30
- package/bpk-component-icon/lg/cars.js +8 -32
- package/bpk-component-icon/lg/center-location.js +8 -30
- package/bpk-component-icon/lg/chart.js +8 -30
- package/bpk-component-icon/lg/chauffeur.js +8 -30
- package/bpk-component-icon/lg/chevron-down.js +8 -30
- package/bpk-component-icon/lg/chevron-left.js +8 -30
- package/bpk-component-icon/lg/chevron-right.js +8 -30
- package/bpk-component-icon/lg/chevron-up.js +8 -30
- package/bpk-component-icon/lg/child-seat.js +8 -30
- package/bpk-component-icon/lg/child.js +8 -30
- package/bpk-component-icon/lg/city-center.js +8 -30
- package/bpk-component-icon/lg/city.js +8 -30
- package/bpk-component-icon/lg/clean-policy.js +8 -30
- package/bpk-component-icon/lg/clean.js +8 -34
- package/bpk-component-icon/lg/cleaning-medical.js +8 -30
- package/bpk-component-icon/lg/cloakroom.js +8 -34
- package/bpk-component-icon/lg/close-circle.js +8 -30
- package/bpk-component-icon/lg/close.js +8 -30
- package/bpk-component-icon/lg/collapse.js +8 -30
- package/bpk-component-icon/lg/content--copy.js +8 -32
- package/bpk-component-icon/lg/content--event.js +8 -30
- package/bpk-component-icon/lg/content--guides.js +8 -30
- package/bpk-component-icon/lg/currency.js +8 -30
- package/bpk-component-icon/lg/data.js +8 -32
- package/bpk-component-icon/lg/deals.js +8 -30
- package/bpk-component-icon/lg/depart.js +8 -32
- package/bpk-component-icon/lg/device-mid.js +8 -30
- package/bpk-component-icon/lg/device-wide.js +8 -30
- package/bpk-component-icon/lg/direct.js +8 -30
- package/bpk-component-icon/lg/document-csv.js +8 -30
- package/bpk-component-icon/lg/document-pdf.js +8 -30
- package/bpk-component-icon/lg/download.js +8 -32
- package/bpk-component-icon/lg/duration.js +8 -30
- package/bpk-component-icon/lg/eco-leaf.js +8 -30
- package/bpk-component-icon/lg/edit.js +8 -30
- package/bpk-component-icon/lg/education.js +8 -32
- package/bpk-component-icon/lg/electric.js +8 -30
- package/bpk-component-icon/lg/end-call.js +8 -30
- package/bpk-component-icon/lg/estimated.js +8 -30
- package/bpk-component-icon/lg/exclamation-circle.js +8 -30
- package/bpk-component-icon/lg/exclamation.js +8 -30
- package/bpk-component-icon/lg/expand.js +8 -30
- package/bpk-component-icon/lg/explore.js +8 -30
- package/bpk-component-icon/lg/face--blank.js +8 -30
- package/bpk-component-icon/lg/face--happy.js +8 -30
- package/bpk-component-icon/lg/face--sad.js +8 -30
- package/bpk-component-icon/lg/face-id.js +8 -30
- package/bpk-component-icon/lg/face-mask.js +8 -30
- package/bpk-component-icon/lg/family.js +8 -30
- package/bpk-component-icon/lg/fast-track.js +8 -32
- package/bpk-component-icon/lg/fast-train.js +8 -32
- package/bpk-component-icon/lg/filter.js +8 -31
- package/bpk-component-icon/lg/fingerprint.js +8 -30
- package/bpk-component-icon/lg/flag.js +8 -30
- package/bpk-component-icon/lg/flask.js +8 -30
- package/bpk-component-icon/lg/flight-flexible.js +8 -30
- package/bpk-component-icon/lg/flight-landing.js +8 -34
- package/bpk-component-icon/lg/flight-takeoff.js +8 -32
- package/bpk-component-icon/lg/flight.js +8 -32
- package/bpk-component-icon/lg/food.js +8 -30
- package/bpk-component-icon/lg/gears-automatic-circle.js +8 -30
- package/bpk-component-icon/lg/gears-automatic.js +8 -30
- package/bpk-component-icon/lg/gears-manual-circle.js +8 -30
- package/bpk-component-icon/lg/gears-manual.js +8 -30
- package/bpk-component-icon/lg/globe.js +8 -30
- package/bpk-component-icon/lg/grid-layout.js +8 -30
- package/bpk-component-icon/lg/headset.js +8 -30
- package/bpk-component-icon/lg/health-fitness.js +8 -30
- package/bpk-component-icon/lg/heart--outline.js +8 -30
- package/bpk-component-icon/lg/heart.js +8 -30
- package/bpk-component-icon/lg/help-circle.js +8 -30
- package/bpk-component-icon/lg/help.js +8 -30
- package/bpk-component-icon/lg/hide.js +8 -30
- package/bpk-component-icon/lg/hotel-flexible.js +8 -30
- package/bpk-component-icon/lg/hotels--disabled-facilities.js +8 -30
- package/bpk-component-icon/lg/hotels--jacuzzi.js +8 -30
- package/bpk-component-icon/lg/hotels--pets-allowed.js +8 -30
- package/bpk-component-icon/lg/hotels--smoking.js +8 -30
- package/bpk-component-icon/lg/hotels.js +8 -30
- package/bpk-component-icon/lg/infant.js +8 -30
- package/bpk-component-icon/lg/information--language-alert.js +8 -30
- package/bpk-component-icon/lg/information--language-question.js +8 -30
- package/bpk-component-icon/lg/information--language.js +8 -30
- package/bpk-component-icon/lg/information-circle.js +8 -30
- package/bpk-component-icon/lg/information.js +8 -30
- package/bpk-component-icon/lg/insurance.js +8 -30
- package/bpk-component-icon/lg/key.js +8 -30
- package/bpk-component-icon/lg/keypad.js +8 -30
- package/bpk-component-icon/lg/landmark.js +8 -30
- package/bpk-component-icon/lg/language.js +8 -30
- package/bpk-component-icon/lg/legroom--extra.js +8 -32
- package/bpk-component-icon/lg/legroom--normal.js +8 -32
- package/bpk-component-icon/lg/legroom--reduced.js +8 -32
- package/bpk-component-icon/lg/leisure.js +8 -30
- package/bpk-component-icon/lg/lightning.js +8 -30
- package/bpk-component-icon/lg/list.js +8 -30
- package/bpk-component-icon/lg/location.js +8 -30
- package/bpk-component-icon/lg/lock.js +8 -30
- package/bpk-component-icon/lg/logout.js +8 -32
- package/bpk-component-icon/lg/long-arrow-down.js +8 -30
- package/bpk-component-icon/lg/long-arrow-left.js +8 -30
- package/bpk-component-icon/lg/long-arrow-right.js +8 -30
- package/bpk-component-icon/lg/long-arrow-up.js +8 -30
- package/bpk-component-icon/lg/lounge.js +8 -32
- package/bpk-component-icon/lg/luggageall.js +8 -30
- package/bpk-component-icon/lg/mail.js +8 -32
- package/bpk-component-icon/lg/map.js +8 -30
- package/bpk-component-icon/lg/meal.js +8 -30
- package/bpk-component-icon/lg/media.js +8 -30
- package/bpk-component-icon/lg/menu--horizontal.js +8 -30
- package/bpk-component-icon/lg/menu--vertical.js +8 -30
- package/bpk-component-icon/lg/menu.js +8 -30
- package/bpk-component-icon/lg/mileage.js +8 -32
- package/bpk-component-icon/lg/minus.js +8 -30
- package/bpk-component-icon/lg/mobile.js +8 -30
- package/bpk-component-icon/lg/money.js +8 -30
- package/bpk-component-icon/lg/multiple-bookings.js +8 -30
- package/bpk-component-icon/lg/music.js +8 -30
- package/bpk-component-icon/lg/mute.js +8 -30
- package/bpk-component-icon/lg/native-android--back.js +8 -30
- package/bpk-component-icon/lg/native-android--close.js +8 -30
- package/bpk-component-icon/lg/native-android--forward.js +8 -30
- package/bpk-component-icon/lg/native-ios-close.js +8 -30
- package/bpk-component-icon/lg/navigation.js +8 -30
- package/bpk-component-icon/lg/new-window.js +8 -32
- package/bpk-component-icon/lg/news.js +8 -30
- package/bpk-component-icon/lg/night.js +8 -30
- package/bpk-component-icon/lg/not-allowed.js +8 -30
- package/bpk-component-icon/lg/onsen.js +8 -30
- package/bpk-component-icon/lg/paid.js +8 -30
- package/bpk-component-icon/lg/paperclip.js +8 -30
- package/bpk-component-icon/lg/parking.js +8 -30
- package/bpk-component-icon/lg/passport.js +8 -30
- package/bpk-component-icon/lg/pause.js +8 -30
- package/bpk-component-icon/lg/payment-card.js +8 -30
- package/bpk-component-icon/lg/petrol.js +8 -30
- package/bpk-component-icon/lg/phone-call.js +8 -30
- package/bpk-component-icon/lg/picture.js +8 -30
- package/bpk-component-icon/lg/pin.js +8 -30
- package/bpk-component-icon/lg/plane-seat.js +8 -32
- package/bpk-component-icon/lg/play.js +8 -30
- package/bpk-component-icon/lg/plus.js +8 -30
- package/bpk-component-icon/lg/policy.js +8 -30
- package/bpk-component-icon/lg/powerplug.js +8 -30
- package/bpk-component-icon/lg/ppe.js +8 -30
- package/bpk-component-icon/lg/price-alerts.js +8 -30
- package/bpk-component-icon/lg/price-tag.js +8 -30
- package/bpk-component-icon/lg/print.js +8 -30
- package/bpk-component-icon/lg/recent-searches.js +8 -30
- package/bpk-component-icon/lg/redo.js +8 -30
- package/bpk-component-icon/lg/refresh.js +8 -30
- package/bpk-component-icon/lg/return.js +8 -32
- package/bpk-component-icon/lg/room.js +8 -30
- package/bpk-component-icon/lg/scales.js +8 -32
- package/bpk-component-icon/lg/search.js +8 -30
- package/bpk-component-icon/lg/self-service.js +8 -30
- package/bpk-component-icon/lg/send-message.js +8 -30
- package/bpk-component-icon/lg/services.js +8 -30
- package/bpk-component-icon/lg/settings.js +8 -30
- package/bpk-component-icon/lg/share--android.js +8 -30
- package/bpk-component-icon/lg/share--ios.js +8 -32
- package/bpk-component-icon/lg/share.js +8 -30
- package/bpk-component-icon/lg/single-booking.js +8 -30
- package/bpk-component-icon/lg/social-distancing.js +8 -0
- package/bpk-component-icon/lg/social-like.js +8 -30
- package/bpk-component-icon/lg/sort-down.js +8 -30
- package/bpk-component-icon/lg/sort-up.js +8 -30
- package/bpk-component-icon/lg/sort.js +8 -30
- package/bpk-component-icon/lg/speaker.js +8 -32
- package/bpk-component-icon/lg/star-half.js +8 -30
- package/bpk-component-icon/lg/star-outline.js +8 -30
- package/bpk-component-icon/lg/star.js +8 -30
- package/bpk-component-icon/lg/stops.js +8 -30
- package/bpk-component-icon/lg/swap--horizontal.js +8 -30
- package/bpk-component-icon/lg/swap--vertical.js +8 -30
- package/bpk-component-icon/lg/swap.js +8 -30
- package/bpk-component-icon/lg/taxi.js +8 -32
- package/bpk-component-icon/lg/thumbs-down.js +8 -30
- package/bpk-component-icon/lg/thumbs-up.js +8 -30
- package/bpk-component-icon/lg/tick-circle.js +8 -30
- package/bpk-component-icon/lg/tick.js +8 -30
- package/bpk-component-icon/lg/ticket-flexible.js +8 -30
- package/bpk-component-icon/lg/ticket.js +8 -30
- package/bpk-component-icon/lg/time.js +8 -30
- package/bpk-component-icon/lg/toilets.js +8 -30
- package/bpk-component-icon/lg/train.js +8 -30
- package/bpk-component-icon/lg/transmission-automatic.js +8 -30
- package/bpk-component-icon/lg/transmission-manual.js +8 -30
- package/bpk-component-icon/lg/trash.js +8 -30
- package/bpk-component-icon/lg/trend--down.js +8 -30
- package/bpk-component-icon/lg/trend--steady.js +8 -30
- package/bpk-component-icon/lg/trend--will-rise.js +8 -30
- package/bpk-component-icon/lg/trend.js +8 -30
- package/bpk-component-icon/lg/trips.js +8 -30
- package/bpk-component-icon/lg/undo.js +8 -30
- package/bpk-component-icon/lg/unlock.js +8 -30
- package/bpk-component-icon/lg/unmute.js +8 -32
- package/bpk-component-icon/lg/upgrade.js +8 -30
- package/bpk-component-icon/lg/use-location.js +8 -30
- package/bpk-component-icon/lg/view.js +8 -30
- package/bpk-component-icon/lg/virus.js +8 -30
- package/bpk-component-icon/lg/wallet.js +8 -32
- package/bpk-component-icon/lg/weather--clear.js +8 -30
- package/bpk-component-icon/lg/weather--cloudy.js +8 -32
- package/bpk-component-icon/lg/weather--fog.js +8 -30
- package/bpk-component-icon/lg/weather--partly-cloudy.js +8 -32
- package/bpk-component-icon/lg/weather--rain.js +8 -34
- package/bpk-component-icon/lg/weather--snow.js +8 -30
- package/bpk-component-icon/lg/weather--thunderstorm.js +8 -34
- package/bpk-component-icon/lg/weather--tornado.js +8 -30
- package/bpk-component-icon/lg/weather--wind.js +8 -30
- package/bpk-component-icon/lg/weather.js +8 -30
- package/bpk-component-icon/lg/wifi.js +8 -30
- package/bpk-component-icon/lg/window--reduce.js +8 -32
- package/bpk-component-icon/lg/window.js +8 -30
- package/bpk-component-icon/lg/world--amer.js +8 -30
- package/bpk-component-icon/lg/world--apac.js +8 -30
- package/bpk-component-icon/lg/world--emea.js +8 -32
- package/bpk-component-icon/sm/accessibility.js +8 -31
- package/bpk-component-icon/sm/account--add.js +8 -31
- package/bpk-component-icon/sm/account--female.js +8 -31
- package/bpk-component-icon/sm/account--id-card.js +8 -31
- package/bpk-component-icon/sm/account--name.js +8 -31
- package/bpk-component-icon/sm/account--permit.js +8 -31
- package/bpk-component-icon/sm/account-circle.js +8 -31
- package/bpk-component-icon/sm/account.js +8 -31
- package/bpk-component-icon/sm/add-circle.js +8 -31
- package/bpk-component-icon/sm/adult.js +8 -31
- package/bpk-component-icon/sm/aircon.js +8 -31
- package/bpk-component-icon/sm/aircraft.js +8 -33
- package/bpk-component-icon/sm/airline--multiple.js +8 -31
- package/bpk-component-icon/sm/airline.js +8 -31
- package/bpk-component-icon/sm/airports.js +8 -31
- package/bpk-component-icon/sm/alert--active.js +8 -31
- package/bpk-component-icon/sm/alert--add.js +8 -31
- package/bpk-component-icon/sm/alert--expired.js +8 -31
- package/bpk-component-icon/sm/alert--remove.js +8 -31
- package/bpk-component-icon/sm/arrow-down.js +8 -31
- package/bpk-component-icon/sm/arrow-left.js +8 -31
- package/bpk-component-icon/sm/arrow-right.js +8 -31
- package/bpk-component-icon/sm/arrow-up.js +8 -31
- package/bpk-component-icon/sm/award.js +8 -31
- package/bpk-component-icon/sm/baby-carriage.js +8 -31
- package/bpk-component-icon/sm/baggage--add.js +8 -31
- package/bpk-component-icon/sm/baggage--remove.js +8 -31
- package/bpk-component-icon/sm/baggage-cabin-add.js +8 -31
- package/bpk-component-icon/sm/baggage-cabin-not-included.js +8 -33
- package/bpk-component-icon/sm/baggage-cabin.js +8 -31
- package/bpk-component-icon/sm/baggage-checked-add.js +8 -31
- package/bpk-component-icon/sm/baggage-checked-not-included.js +8 -33
- package/bpk-component-icon/sm/baggage-checked.js +8 -31
- package/bpk-component-icon/sm/baggage-cross.js +8 -31
- package/bpk-component-icon/sm/baggage-generic.js +8 -31
- package/bpk-component-icon/sm/baggage-tick.js +8 -31
- package/bpk-component-icon/sm/baggage.js +8 -31
- package/bpk-component-icon/sm/bar.js +8 -31
- package/bpk-component-icon/sm/beach.js +8 -33
- package/bpk-component-icon/sm/beer.js +8 -31
- package/bpk-component-icon/sm/breakfast-cross.js +8 -31
- package/bpk-component-icon/sm/breakfast-tick.js +8 -31
- package/bpk-component-icon/sm/bus.js +8 -33
- package/bpk-component-icon/sm/business.js +8 -31
- package/bpk-component-icon/sm/cafe.js +8 -31
- package/bpk-component-icon/sm/calendar.js +8 -31
- package/bpk-component-icon/sm/call-back.js +8 -33
- package/bpk-component-icon/sm/camera.js +8 -31
- package/bpk-component-icon/sm/camper-van.js +8 -33
- package/bpk-component-icon/sm/car-door.js +8 -31
- package/bpk-component-icon/sm/car-wash.js +8 -33
- package/bpk-component-icon/sm/cars-flexible.js +8 -31
- package/bpk-component-icon/sm/cars.js +8 -33
- package/bpk-component-icon/sm/center-location.js +8 -31
- package/bpk-component-icon/sm/chart.js +8 -31
- package/bpk-component-icon/sm/chauffeur.js +8 -33
- package/bpk-component-icon/sm/chevron-down.js +8 -31
- package/bpk-component-icon/sm/chevron-left.js +8 -31
- package/bpk-component-icon/sm/chevron-right.js +8 -31
- package/bpk-component-icon/sm/chevron-up.js +8 -31
- package/bpk-component-icon/sm/child-seat.js +8 -31
- package/bpk-component-icon/sm/child.js +8 -31
- package/bpk-component-icon/sm/city-center.js +8 -31
- package/bpk-component-icon/sm/city.js +8 -31
- package/bpk-component-icon/sm/clean-policy.js +8 -31
- package/bpk-component-icon/sm/clean.js +8 -33
- package/bpk-component-icon/sm/cleaning-medical.js +8 -31
- package/bpk-component-icon/sm/cloakroom.js +8 -31
- package/bpk-component-icon/sm/close-circle.js +8 -31
- package/bpk-component-icon/sm/close.js +8 -31
- package/bpk-component-icon/sm/collapse.js +8 -31
- package/bpk-component-icon/sm/content--copy.js +8 -33
- package/bpk-component-icon/sm/content--event.js +8 -31
- package/bpk-component-icon/sm/content--guides.js +8 -31
- package/bpk-component-icon/sm/currency.js +8 -31
- package/bpk-component-icon/sm/data.js +8 -33
- package/bpk-component-icon/sm/deals.js +8 -31
- package/bpk-component-icon/sm/depart.js +8 -35
- package/bpk-component-icon/sm/device-mid.js +8 -31
- package/bpk-component-icon/sm/device-wide.js +8 -31
- package/bpk-component-icon/sm/direct.js +8 -33
- package/bpk-component-icon/sm/document-csv.js +8 -31
- package/bpk-component-icon/sm/document-pdf.js +8 -31
- package/bpk-component-icon/sm/download.js +8 -33
- package/bpk-component-icon/sm/duration.js +8 -31
- package/bpk-component-icon/sm/eco-leaf.js +8 -31
- package/bpk-component-icon/sm/edit.js +8 -31
- package/bpk-component-icon/sm/education.js +8 -33
- package/bpk-component-icon/sm/electric.js +8 -31
- package/bpk-component-icon/sm/end-call.js +8 -31
- package/bpk-component-icon/sm/estimated.js +8 -31
- package/bpk-component-icon/sm/exclamation-circle.js +8 -31
- package/bpk-component-icon/sm/exclamation.js +8 -31
- package/bpk-component-icon/sm/expand.js +8 -31
- package/bpk-component-icon/sm/explore.js +8 -31
- package/bpk-component-icon/sm/face--blank.js +8 -31
- package/bpk-component-icon/sm/face--happy.js +8 -31
- package/bpk-component-icon/sm/face--sad.js +8 -31
- package/bpk-component-icon/sm/face-id.js +8 -31
- package/bpk-component-icon/sm/face-mask.js +8 -31
- package/bpk-component-icon/sm/family.js +8 -31
- package/bpk-component-icon/sm/fast-track.js +8 -33
- package/bpk-component-icon/sm/fast-train.js +8 -33
- package/bpk-component-icon/sm/filter.js +8 -32
- package/bpk-component-icon/sm/fingerprint.js +8 -31
- package/bpk-component-icon/sm/flag.js +8 -31
- package/bpk-component-icon/sm/flask.js +8 -31
- package/bpk-component-icon/sm/flight-flexible.js +8 -31
- package/bpk-component-icon/sm/flight-landing.js +8 -35
- package/bpk-component-icon/sm/flight-takeoff.js +8 -33
- package/bpk-component-icon/sm/flight.js +8 -33
- package/bpk-component-icon/sm/food.js +8 -31
- package/bpk-component-icon/sm/gears-automatic-circle.js +8 -31
- package/bpk-component-icon/sm/gears-automatic.js +8 -31
- package/bpk-component-icon/sm/gears-manual-circle.js +8 -31
- package/bpk-component-icon/sm/gears-manual.js +8 -31
- package/bpk-component-icon/sm/globe.js +8 -31
- package/bpk-component-icon/sm/grid-layout.js +8 -31
- package/bpk-component-icon/sm/headset.js +8 -31
- package/bpk-component-icon/sm/health-fitness.js +8 -31
- package/bpk-component-icon/sm/heart--outline.js +8 -31
- package/bpk-component-icon/sm/heart.js +8 -31
- package/bpk-component-icon/sm/help-circle.js +8 -31
- package/bpk-component-icon/sm/help.js +8 -31
- package/bpk-component-icon/sm/hide.js +8 -31
- package/bpk-component-icon/sm/hotel-flexible.js +8 -31
- package/bpk-component-icon/sm/hotels--disabled-facilities.js +8 -31
- package/bpk-component-icon/sm/hotels--jacuzzi.js +8 -33
- package/bpk-component-icon/sm/hotels--pets-allowed.js +8 -31
- package/bpk-component-icon/sm/hotels--smoking.js +8 -31
- package/bpk-component-icon/sm/hotels.js +8 -31
- package/bpk-component-icon/sm/infant.js +8 -33
- package/bpk-component-icon/sm/information--language-alert.js +8 -31
- package/bpk-component-icon/sm/information--language-question.js +8 -31
- package/bpk-component-icon/sm/information--language.js +8 -31
- package/bpk-component-icon/sm/information-circle.js +8 -31
- package/bpk-component-icon/sm/information.js +8 -31
- package/bpk-component-icon/sm/insurance.js +8 -31
- package/bpk-component-icon/sm/key.js +8 -31
- package/bpk-component-icon/sm/keypad.js +8 -31
- package/bpk-component-icon/sm/landmark.js +8 -31
- package/bpk-component-icon/sm/language.js +8 -31
- package/bpk-component-icon/sm/legroom--extra.js +8 -33
- package/bpk-component-icon/sm/legroom--normal.js +8 -33
- package/bpk-component-icon/sm/legroom--reduced.js +8 -33
- package/bpk-component-icon/sm/leisure.js +8 -31
- package/bpk-component-icon/sm/lightning.js +8 -31
- package/bpk-component-icon/sm/list.js +8 -31
- package/bpk-component-icon/sm/location.js +8 -31
- package/bpk-component-icon/sm/lock.js +8 -31
- package/bpk-component-icon/sm/logout.js +8 -33
- package/bpk-component-icon/sm/long-arrow-down.js +8 -32
- package/bpk-component-icon/sm/long-arrow-left.js +8 -32
- package/bpk-component-icon/sm/long-arrow-right.js +8 -32
- package/bpk-component-icon/sm/long-arrow-up.js +8 -32
- package/bpk-component-icon/sm/lounge.js +8 -31
- package/bpk-component-icon/sm/luggageall.js +8 -31
- package/bpk-component-icon/sm/mail.js +8 -33
- package/bpk-component-icon/sm/map.js +8 -31
- package/bpk-component-icon/sm/meal.js +8 -31
- package/bpk-component-icon/sm/media.js +8 -31
- package/bpk-component-icon/sm/menu--horizontal.js +8 -31
- package/bpk-component-icon/sm/menu--vertical.js +8 -31
- package/bpk-component-icon/sm/menu.js +8 -31
- package/bpk-component-icon/sm/mileage.js +8 -33
- package/bpk-component-icon/sm/minus.js +8 -31
- package/bpk-component-icon/sm/mobile.js +8 -31
- package/bpk-component-icon/sm/money.js +8 -31
- package/bpk-component-icon/sm/multiple-bookings.js +8 -31
- package/bpk-component-icon/sm/music.js +8 -31
- package/bpk-component-icon/sm/mute.js +8 -31
- package/bpk-component-icon/sm/native-android--back.js +8 -31
- package/bpk-component-icon/sm/native-android--close.js +8 -31
- package/bpk-component-icon/sm/native-android--forward.js +8 -31
- package/bpk-component-icon/sm/native-ios-close.js +8 -31
- package/bpk-component-icon/sm/navigation.js +8 -31
- package/bpk-component-icon/sm/new-window.js +8 -37
- package/bpk-component-icon/sm/news.js +8 -31
- package/bpk-component-icon/sm/night.js +8 -31
- package/bpk-component-icon/sm/not-allowed.js +8 -31
- package/bpk-component-icon/sm/onsen.js +8 -33
- package/bpk-component-icon/sm/paid.js +8 -31
- package/bpk-component-icon/sm/paperclip.js +8 -31
- package/bpk-component-icon/sm/parking.js +8 -31
- package/bpk-component-icon/sm/passport.js +8 -31
- package/bpk-component-icon/sm/pause.js +8 -31
- package/bpk-component-icon/sm/payment-card.js +8 -31
- package/bpk-component-icon/sm/petrol.js +8 -31
- package/bpk-component-icon/sm/phone-call.js +8 -31
- package/bpk-component-icon/sm/picture.js +8 -31
- package/bpk-component-icon/sm/pin.js +8 -31
- package/bpk-component-icon/sm/plane-seat.js +8 -33
- package/bpk-component-icon/sm/play.js +8 -31
- package/bpk-component-icon/sm/plus.js +8 -31
- package/bpk-component-icon/sm/policy.js +8 -31
- package/bpk-component-icon/sm/powerplug.js +8 -31
- package/bpk-component-icon/sm/ppe.js +8 -31
- package/bpk-component-icon/sm/price-alerts.js +8 -31
- package/bpk-component-icon/sm/price-tag.js +8 -31
- package/bpk-component-icon/sm/print.js +8 -31
- package/bpk-component-icon/sm/recent-searches.js +8 -31
- package/bpk-component-icon/sm/redo.js +8 -31
- package/bpk-component-icon/sm/refresh.js +8 -31
- package/bpk-component-icon/sm/return.js +8 -35
- package/bpk-component-icon/sm/room.js +8 -31
- package/bpk-component-icon/sm/scales.js +8 -31
- package/bpk-component-icon/sm/search.js +8 -31
- package/bpk-component-icon/sm/self-service.js +8 -31
- package/bpk-component-icon/sm/send-message.js +8 -31
- package/bpk-component-icon/sm/services.js +8 -31
- package/bpk-component-icon/sm/settings.js +8 -31
- package/bpk-component-icon/sm/share--android.js +8 -31
- package/bpk-component-icon/sm/share--ios.js +8 -35
- package/bpk-component-icon/sm/share.js +8 -31
- package/bpk-component-icon/sm/single-booking.js +8 -31
- package/bpk-component-icon/sm/social-distancing.js +8 -0
- package/bpk-component-icon/sm/social-like.js +8 -31
- package/bpk-component-icon/sm/sort-down.js +8 -31
- package/bpk-component-icon/sm/sort-up.js +8 -31
- package/bpk-component-icon/sm/sort.js +8 -31
- package/bpk-component-icon/sm/speaker.js +8 -31
- package/bpk-component-icon/sm/star-half.js +8 -31
- package/bpk-component-icon/sm/star-outline.js +8 -31
- package/bpk-component-icon/sm/star.js +8 -31
- package/bpk-component-icon/sm/stops.js +8 -31
- package/bpk-component-icon/sm/swap--horizontal.js +8 -32
- package/bpk-component-icon/sm/swap--vertical.js +8 -31
- package/bpk-component-icon/sm/swap.js +8 -32
- package/bpk-component-icon/sm/taxi.js +8 -33
- package/bpk-component-icon/sm/thumbs-down.js +8 -31
- package/bpk-component-icon/sm/thumbs-up.js +8 -31
- package/bpk-component-icon/sm/tick-circle.js +8 -31
- package/bpk-component-icon/sm/tick.js +8 -31
- package/bpk-component-icon/sm/ticket-flexible.js +8 -31
- package/bpk-component-icon/sm/ticket.js +8 -31
- package/bpk-component-icon/sm/time.js +8 -31
- package/bpk-component-icon/sm/toilets.js +8 -31
- package/bpk-component-icon/sm/train.js +8 -31
- package/bpk-component-icon/sm/transmission-automatic.js +8 -31
- package/bpk-component-icon/sm/transmission-manual.js +8 -31
- package/bpk-component-icon/sm/trash.js +8 -31
- package/bpk-component-icon/sm/trend--down.js +8 -31
- package/bpk-component-icon/sm/trend--steady.js +8 -32
- package/bpk-component-icon/sm/trend--will-rise.js +8 -31
- package/bpk-component-icon/sm/trend.js +8 -31
- package/bpk-component-icon/sm/trips.js +8 -31
- package/bpk-component-icon/sm/undo.js +8 -31
- package/bpk-component-icon/sm/unlock.js +8 -31
- package/bpk-component-icon/sm/unmute.js +8 -33
- package/bpk-component-icon/sm/upgrade.js +8 -31
- package/bpk-component-icon/sm/use-location.js +8 -31
- package/bpk-component-icon/sm/view.js +8 -31
- package/bpk-component-icon/sm/virus.js +8 -31
- package/bpk-component-icon/sm/wallet.js +8 -31
- package/bpk-component-icon/sm/weather--clear.js +8 -31
- package/bpk-component-icon/sm/weather--cloudy.js +8 -33
- package/bpk-component-icon/sm/weather--fog.js +8 -31
- package/bpk-component-icon/sm/weather--partly-cloudy.js +8 -31
- package/bpk-component-icon/sm/weather--rain.js +8 -33
- package/bpk-component-icon/sm/weather--snow.js +8 -31
- package/bpk-component-icon/sm/weather--thunderstorm.js +8 -35
- package/bpk-component-icon/sm/weather--tornado.js +8 -31
- package/bpk-component-icon/sm/weather--wind.js +8 -33
- package/bpk-component-icon/sm/weather.js +8 -31
- package/bpk-component-icon/sm/wifi.js +8 -31
- package/bpk-component-icon/sm/window--reduce.js +8 -33
- package/bpk-component-icon/sm/window.js +8 -31
- package/bpk-component-icon/sm/world--amer.js +8 -31
- package/bpk-component-icon/sm/world--apac.js +8 -31
- package/bpk-component-icon/sm/world--emea.js +8 -31
- package/bpk-component-icon/src/BpkIcon.module.css +1 -1
- package/bpk-component-icon/src/BpkIcon.module.scss +33 -0
- package/bpk-component-icon/src/classNameModifierHOCFactory.js +53 -38
- package/bpk-component-icon/src/withAlignment.js +26 -22
- package/bpk-component-icon/src/withDescription.js +26 -17
- package/bpk-component-icon/src/withDescription.module.scss +22 -0
- package/bpk-component-icon/src/withRtlSupport.js +10 -13
- package/bpk-component-image/README.md +140 -0
- package/bpk-component-image/index.js +20 -38
- package/bpk-component-image/src/BpkBackgroundImage.js +171 -115
- package/bpk-component-image/src/BpkBackgroundImage.module.css +1 -1
- package/bpk-component-image/src/BpkBackgroundImage.module.scss +46 -0
- package/bpk-component-image/src/BpkImage.js +220 -152
- package/bpk-component-image/src/BpkImage.module.css +1 -1
- package/bpk-component-image/src/BpkImage.module.scss +89 -0
- package/bpk-component-image/src/BpkImageBorderRadiusStyles.js +7 -12
- package/bpk-component-image/src/customPropTypes.js +15 -10
- package/bpk-component-image/src/withLazyLoading.js +165 -110
- package/bpk-component-image/src/withLoadingBehavior.js +57 -27
- package/bpk-component-infinite-scroll/README.md +185 -0
- package/bpk-component-infinite-scroll/index.js +12 -25
- package/bpk-component-infinite-scroll/src/DataSource.js +31 -30
- package/bpk-component-infinite-scroll/src/intersection-observer.js +1 -3
- package/bpk-component-infinite-scroll/src/withInfiniteScroll-test.flow.js +102 -0
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.js +228 -157
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.module.scss +25 -0
- package/bpk-component-input/README.md +119 -0
- package/bpk-component-input/index.js +43 -50
- package/bpk-component-input/src/BpkClearButton.js +63 -44
- package/bpk-component-input/src/BpkClearButton.module.css +1 -1
- package/bpk-component-input/src/BpkClearButton.module.scss +40 -0
- package/bpk-component-input/src/BpkInput.js +126 -90
- package/bpk-component-input/src/BpkInput.module.css +1 -1
- package/bpk-component-input/src/BpkInput.module.scss +86 -0
- package/bpk-component-input/src/common-types.js +79 -40
- package/bpk-component-input/src/themeAttributes.js +2 -8
- package/bpk-component-input/src/withOpenEvents.js +131 -87
- package/bpk-component-label/README.md +28 -0
- package/bpk-component-label/index.js +7 -10
- package/bpk-component-label/src/BpkLabel.js +67 -42
- package/bpk-component-label/src/BpkLabel.module.css +1 -1
- package/bpk-component-label/src/BpkLabel.module.scss +47 -0
- package/bpk-component-link/README.md +66 -0
- package/bpk-component-link/index.js +11 -32
- package/bpk-component-link/src/BpkButtonLink.js +60 -45
- package/bpk-component-link/src/BpkLink.js +84 -60
- package/bpk-component-link/src/BpkLink.module.css +1 -1
- package/bpk-component-link/src/BpkLink.module.scss +31 -0
- package/bpk-component-link/src/themeAttributes.js +18 -10
- package/bpk-component-list/README.md +49 -0
- package/bpk-component-list/index.js +23 -19
- package/bpk-component-list/src/BpkList.js +50 -35
- package/bpk-component-list/src/BpkList.module.css +1 -1
- package/bpk-component-list/src/BpkList.module.scss +37 -0
- package/bpk-component-list/src/BpkListItem.js +33 -25
- package/bpk-component-loading-button/README.md +46 -0
- package/bpk-component-loading-button/index.js +7 -17
- package/bpk-component-loading-button/src/BpkLoadingButton.js +150 -88
- package/bpk-component-loading-button/src/BpkLoadingButton.module.scss +67 -0
- package/bpk-component-map/README.md +211 -0
- package/bpk-component-map/index.js +28 -59
- package/bpk-component-map/src/BpkBasicMapMarker.js +48 -31
- package/bpk-component-map/src/BpkIconMarker.js +93 -55
- package/bpk-component-map/src/BpkIconMarker.module.css +1 -1
- package/bpk-component-map/src/BpkIconMarker.module.scss +79 -0
- package/bpk-component-map/src/BpkIconMarkerBackground.js +68 -46
- package/bpk-component-map/src/BpkIconMarkerBackground.module.css +1 -1
- package/bpk-component-map/src/BpkIconMarkerBackground.module.scss +53 -0
- package/bpk-component-map/src/BpkMap.js +145 -89
- package/bpk-component-map/src/{BpkMap.module.css → BpkMap.module.scss} +9 -6
- package/bpk-component-map/src/BpkOverlayView.js +43 -32
- package/bpk-component-map/src/BpkPriceMarker.js +107 -61
- package/bpk-component-map/src/BpkPriceMarker.module.css +1 -1
- package/bpk-component-map/src/BpkPriceMarker.module.scss +148 -0
- package/bpk-component-map/src/DefaultLoadingElement.js +19 -19
- package/bpk-component-map/src/DefaultLoadingElement.module.css +1 -1
- package/bpk-component-map/src/DefaultLoadingElement.module.scss +28 -0
- package/bpk-component-map/src/common-types.js +14 -12
- package/bpk-component-map/src/themeAttributes.js +18 -13
- package/bpk-component-map/src/withGoogleMapsScript.js +61 -38
- package/bpk-component-mobile-scroll-container/README.md +72 -0
- package/bpk-component-mobile-scroll-container/index.js +6 -10
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.js +187 -120
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.module.scss +52 -0
- package/bpk-component-modal/README.md +112 -0
- package/bpk-component-modal/index.js +10 -31
- package/bpk-component-modal/src/BpkModal.js +111 -73
- package/bpk-component-modal/src/BpkModal.module.css +1 -1
- package/bpk-component-modal/src/BpkModal.module.scss +46 -0
- package/bpk-component-modal/src/BpkModalInner.js +143 -82
- package/bpk-component-modal/src/BpkModalInner.module.css +1 -1
- package/bpk-component-modal/src/BpkModalInner.module.scss +125 -0
- package/bpk-component-modal/src/customPropTypes.js +29 -13
- package/bpk-component-modal/src/themeAttributes.js +6 -9
- package/bpk-component-navigation-bar/README.md +112 -0
- package/bpk-component-navigation-bar/index.js +25 -31
- package/bpk-component-navigation-bar/src/BpkNavigationBar.js +88 -54
- package/bpk-component-navigation-bar/src/BpkNavigationBar.module.css +1 -1
- package/bpk-component-navigation-bar/src/BpkNavigationBar.module.scss +77 -0
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.js +57 -36
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.scss +51 -0
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.js +54 -38
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.module.scss +43 -0
- package/bpk-component-navigation-bar/src/themeAttributes.js +16 -8
- package/bpk-component-nudger/README.md +168 -0
- package/bpk-component-nudger/index.js +9 -24
- package/bpk-component-nudger/src/BpkConfigurableNudger.js +142 -93
- package/bpk-component-nudger/src/BpkNudger.js +65 -43
- package/bpk-component-nudger/src/BpkNudger.module.css +1 -1
- package/bpk-component-nudger/src/BpkNudger.module.scss +50 -0
- package/bpk-component-nudger/src/common-types.js +26 -19
- package/bpk-component-nudger/src/themeAttributes.js +6 -9
- package/bpk-component-overlay/README.md +51 -0
- package/bpk-component-overlay/index.js +12 -29
- package/bpk-component-overlay/src/BpkOverlay.js +80 -49
- package/bpk-component-overlay/src/BpkOverlay.module.css +1 -1
- package/bpk-component-overlay/src/BpkOverlay.module.scss +163 -0
- package/bpk-component-page-indicator/README.md +42 -0
- package/bpk-component-page-indicator/index.js +11 -24
- package/bpk-component-page-indicator/src/BpkPageIndicator.js +111 -69
- package/bpk-component-page-indicator/src/BpkPageIndicator.module.css +1 -1
- package/bpk-component-page-indicator/src/BpkPageIndicator.module.scss +91 -0
- package/bpk-component-page-indicator/src/NavButton.js +60 -47
- package/bpk-component-pagination/README.md +57 -0
- package/bpk-component-pagination/index.js +6 -17
- package/bpk-component-pagination/src/BpkPagination.js +82 -61
- package/bpk-component-pagination/src/BpkPagination.module.scss +22 -0
- package/bpk-component-pagination/src/BpkPaginationBreak.js +12 -18
- package/bpk-component-pagination/src/BpkPaginationList.js +71 -53
- package/bpk-component-pagination/src/BpkPaginationList.module.css +1 -1
- package/bpk-component-pagination/src/BpkPaginationList.module.scss +46 -0
- package/bpk-component-pagination/src/BpkPaginationNudger.js +51 -46
- package/bpk-component-pagination/src/BpkPaginationNudger.module.css +1 -1
- package/bpk-component-pagination/src/BpkPaginationNudger.module.scss +34 -0
- package/bpk-component-pagination/src/BpkPaginationPage.js +35 -35
- package/bpk-component-pagination/src/BpkPaginationPage.module.css +1 -1
- package/bpk-component-pagination/src/BpkPaginationPage.module.scss +59 -0
- package/bpk-component-pagination/src/themeAttributes.js +9 -9
- package/bpk-component-panel/README.md +31 -0
- package/bpk-component-panel/index.js +4 -10
- package/bpk-component-panel/src/BpkPanel.js +45 -34
- package/bpk-component-panel/src/BpkPanel.module.css +1 -1
- package/bpk-component-panel/src/BpkPanel.module.scss +31 -0
- package/bpk-component-phone-input/README.md +98 -0
- package/bpk-component-phone-input/index.js +9 -10
- package/bpk-component-phone-input/src/BpkPhoneInput.js +185 -116
- package/bpk-component-phone-input/src/BpkPhoneInput.module.css +1 -1
- package/bpk-component-phone-input/src/BpkPhoneInput.module.scss +42 -0
- package/bpk-component-popover/README.md +138 -0
- package/bpk-component-popover/index.js +17 -31
- package/bpk-component-popover/src/BpkPopover.js +159 -101
- package/bpk-component-popover/src/BpkPopover.module.css +1 -1
- package/bpk-component-popover/src/BpkPopover.module.scss +127 -0
- package/bpk-component-popover/src/BpkPopoverPortal.js +185 -124
- package/bpk-component-popover/src/constants.js +7 -12
- package/bpk-component-popover/src/keyboardFocusScope.js +21 -19
- package/bpk-component-popover/src/themeAttributes.js +6 -9
- package/bpk-component-price/README.md +35 -0
- package/bpk-component-price/index.js +7 -23
- package/bpk-component-price/src/BpkPrice.js +102 -60
- package/bpk-component-price/src/BpkPrice.module.scss +61 -0
- package/bpk-component-price/src/common-types.js +9 -12
- package/bpk-component-progress/README.md +53 -0
- package/bpk-component-progress/index.js +8 -17
- package/bpk-component-progress/src/BpkProgress.js +136 -102
- package/bpk-component-progress/src/BpkProgress.module.css +1 -1
- package/bpk-component-progress/src/BpkProgress.module.scss +64 -0
- package/bpk-component-progress/src/themeAttributes.js +4 -8
- package/bpk-component-radio/README.md +41 -0
- package/bpk-component-radio/index.js +8 -17
- package/bpk-component-radio/src/BpkRadio.js +83 -51
- package/bpk-component-radio/src/BpkRadio.module.css +1 -1
- package/bpk-component-radio/src/BpkRadio.module.scss +85 -0
- package/bpk-component-radio/src/themeAttributes.js +4 -8
- package/bpk-component-rating/README.md +78 -0
- package/bpk-component-rating/index.js +7 -23
- package/bpk-component-rating/src/BpkRating.js +152 -93
- package/bpk-component-rating/src/BpkRating.module.css +1 -1
- package/bpk-component-rating/src/BpkRating.module.scss +86 -0
- package/bpk-component-rating/src/common-types.js +8 -14
- package/bpk-component-rtl-toggle/README.md +24 -0
- package/bpk-component-rtl-toggle/index.js +6 -17
- package/bpk-component-rtl-toggle/src/BpkRtlToggle.js +73 -46
- package/bpk-component-rtl-toggle/src/updateOnDirectionChange.js +51 -28
- package/bpk-component-rtl-toggle/src/utils.js +7 -11
- package/bpk-component-scrollable-calendar/README.md +100 -0
- package/bpk-component-scrollable-calendar/index.js +17 -38
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar.js +19 -12
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.js +37 -32
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +53 -43
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.module.scss +31 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +166 -121
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.module.scss +36 -0
- package/bpk-component-scrollable-calendar/src/utils.js +19 -13
- package/bpk-component-scrollable-calendar/test-utils.js +246 -200
- package/bpk-component-section-list/README.md +50 -0
- package/bpk-component-section-list/index.js +9 -24
- package/bpk-component-section-list/src/BpkSectionList.js +34 -20
- package/bpk-component-section-list/src/BpkSectionListItem.js +89 -56
- package/bpk-component-section-list/src/BpkSectionListItem.module.css +1 -1
- package/bpk-component-section-list/src/BpkSectionListItem.module.scss +54 -0
- package/bpk-component-section-list/src/BpkSectionListSection.js +59 -36
- package/bpk-component-section-list/src/BpkSectionListSection.module.css +1 -1
- package/bpk-component-section-list/src/BpkSectionListSection.module.scss +35 -0
- package/bpk-component-select/README.md +45 -0
- package/bpk-component-select/index.js +9 -17
- package/bpk-component-select/src/BpkSelect.js +110 -58
- package/bpk-component-select/src/BpkSelect.module.css +1 -1
- package/bpk-component-select/src/BpkSelect.module.scss +126 -0
- package/bpk-component-select/src/themeAttributes.js +2 -8
- package/bpk-component-skip-link/README.md +28 -0
- package/bpk-component-skip-link/index.js +8 -17
- package/bpk-component-skip-link/src/BpkSkipLink.js +52 -34
- package/bpk-component-skip-link/src/BpkSkipLink.module.css +1 -1
- package/bpk-component-skip-link/src/BpkSkipLink.module.scss +50 -0
- package/bpk-component-skip-link/src/themeAttributes.js +2 -8
- package/bpk-component-slider/README.md +41 -0
- package/bpk-component-slider/index.js +6 -17
- package/bpk-component-slider/src/BpkSlider.js +52 -37
- package/bpk-component-slider/src/BpkSlider.module.css +1 -1
- package/bpk-component-slider/src/BpkSlider.module.scss +102 -0
- package/bpk-component-slider/src/themeAttributes.js +2 -8
- package/bpk-component-spinner/README.md +38 -0
- package/bpk-component-spinner/changelog.yml +55 -0
- package/bpk-component-spinner/index.js +32 -40
- package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +51 -87
- package/bpk-component-spinner/src/BpkLargeSpinner.js +55 -89
- package/bpk-component-spinner/src/BpkSpinner.js +54 -133
- package/bpk-component-spinner/src/BpkSpinner.module.css +1 -1
- package/bpk-component-spinner/src/BpkSpinner.module.scss +58 -0
- package/bpk-component-spinner/src/spinnerTypes.js +5 -9
- package/bpk-component-spinner/src/themeAttributes.js +4 -8
- package/bpk-component-split-input/README.md +40 -0
- package/bpk-component-split-input/index.js +10 -17
- package/bpk-component-split-input/src/BpkInputField.js +57 -52
- package/bpk-component-split-input/src/BpkInputField.module.scss +34 -0
- package/bpk-component-split-input/src/BpkSplitInput.js +222 -208
- package/bpk-component-split-input/src/BpkSplitInput.module.css +1 -1
- package/bpk-component-split-input/src/BpkSplitInput.module.scss +36 -0
- package/bpk-component-star-rating/README.md +97 -0
- package/bpk-component-star-rating/index.js +21 -65
- package/bpk-component-star-rating/src/BpkInteractiveStar.js +78 -51
- package/bpk-component-star-rating/src/BpkInteractiveStar.module.css +1 -1
- package/bpk-component-star-rating/src/BpkInteractiveStar.module.scss +66 -0
- package/bpk-component-star-rating/src/BpkInteractiveStarRating.js +101 -63
- package/bpk-component-star-rating/src/BpkStar.js +96 -67
- package/bpk-component-star-rating/src/BpkStar.module.css +1 -1
- package/bpk-component-star-rating/src/BpkStar.module.scss +63 -0
- package/bpk-component-star-rating/src/BpkStarRating.js +103 -58
- package/bpk-component-star-rating/src/BpkStarRating.module.scss +21 -0
- package/bpk-component-star-rating/src/themeAttributes.js +4 -8
- package/bpk-component-star-rating/src/withInteractiveStarRatingState.js +89 -58
- package/bpk-component-switch/README.md +35 -0
- package/bpk-component-switch/index.js +11 -25
- package/bpk-component-switch/src/BpkSwitch.js +75 -48
- package/bpk-component-switch/src/BpkSwitch.module.css +1 -1
- package/bpk-component-switch/src/BpkSwitch.module.scss +99 -0
- package/bpk-component-switch/src/themeAttributes.js +2 -8
- package/bpk-component-table/README.md +64 -0
- package/bpk-component-table/index.js +34 -47
- package/bpk-component-table/src/BpkTable.js +58 -34
- package/bpk-component-table/src/BpkTable.module.css +1 -1
- package/bpk-component-table/src/BpkTable.module.scss +39 -0
- package/bpk-component-table/src/BpkTableBody.js +14 -13
- package/bpk-component-table/src/BpkTableCell.js +48 -30
- package/bpk-component-table/src/BpkTableHead.js +14 -13
- package/bpk-component-table/src/BpkTableHeadCell.js +52 -32
- package/bpk-component-table/src/BpkTableRow.js +14 -13
- package/bpk-component-text/README.md +74 -0
- package/bpk-component-text/index.js +7 -23
- package/bpk-component-text/src/BpkText.js +97 -45
- package/bpk-component-text/src/BpkText.module.css +1 -1
- package/bpk-component-text/src/BpkText.module.scss +139 -0
- package/bpk-component-textarea/README.md +32 -0
- package/bpk-component-textarea/index.js +8 -17
- package/bpk-component-textarea/src/BpkTextarea.js +62 -37
- package/bpk-component-textarea/src/BpkTextarea.module.css +1 -1
- package/bpk-component-textarea/src/BpkTextarea.module.scss +33 -0
- package/bpk-component-textarea/src/themeAttributes.js +4 -8
- package/bpk-component-theme-toggle/README.md +28 -0
- package/bpk-component-theme-toggle/index.js +6 -17
- package/bpk-component-theme-toggle/src/BpkThemeToggle.js +96 -77
- package/bpk-component-theme-toggle/src/BpkThemeToggle.module.scss +25 -0
- package/bpk-component-theme-toggle/src/theming.js +98 -55
- package/bpk-component-theme-toggle/src/updateOnThemeChange.js +58 -38
- package/bpk-component-theme-toggle/src/utils.js +5 -9
- package/bpk-component-ticket/README.md +35 -0
- package/bpk-component-ticket/index.js +6 -10
- package/bpk-component-ticket/src/BpkTicket.js +128 -69
- package/bpk-component-ticket/src/BpkTicket.module.css +1 -1
- package/bpk-component-ticket/src/BpkTicket.module.scss +144 -0
- package/bpk-component-tooltip/README.md +65 -0
- package/bpk-component-tooltip/index.js +10 -17
- package/bpk-component-tooltip/src/BpkTooltip.js +98 -64
- package/bpk-component-tooltip/src/BpkTooltip.module.css +1 -1
- package/bpk-component-tooltip/src/BpkTooltip.module.scss +149 -0
- package/bpk-component-tooltip/src/BpkTooltipPortal.js +190 -120
- package/bpk-component-tooltip/src/constants.js +9 -16
- package/bpk-react-utils/README.md +249 -0
- package/bpk-react-utils/index.js +39 -87
- package/bpk-react-utils/src/Portal.js +115 -64
- package/bpk-react-utils/src/TransitionInitialMount.js +40 -33
- package/bpk-react-utils/src/cssModules.js +12 -14
- package/bpk-react-utils/src/deprecated.js +22 -19
- package/bpk-react-utils/src/deviceDetection.js +14 -11
- package/bpk-react-utils/src/isRTL.js +17 -11
- package/bpk-react-utils/src/withDefaultProps.js +60 -36
- package/bpk-react-utils/src/wrapDisplayName.js +4 -8
- package/bpk-scrim-utils/README.md +47 -0
- package/bpk-scrim-utils/index.js +6 -17
- package/bpk-scrim-utils/src/BpkScrim.js +29 -26
- package/bpk-scrim-utils/src/bpk-scrim-content.module.scss +32 -0
- package/bpk-scrim-utils/src/bpk-scrim.module.css +1 -1
- package/bpk-scrim-utils/src/bpk-scrim.module.scss +45 -0
- package/bpk-scrim-utils/src/customPropTypes.js +19 -11
- package/bpk-scrim-utils/src/scroll-utils.js +38 -20
- package/bpk-scrim-utils/src/withScrim.js +115 -94
- package/bpk-theming/README.md +41 -0
- package/bpk-theming/index.js +4 -10
- package/bpk-theming/src/BpkThemeProvider.js +73 -59
- package/package.json +4 -4
- package/bpk-component-boilerplate/src/BpkBoilerplate.js +0 -38
- package/bpk-component-button/src/BpkButtonLinkOnDark.module.css +0 -18
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.css +0 -18
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.css +0 -18
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.css +0 -18
- package/bpk-component-content-cards/src/BpkContentCard.module.css +0 -18
- package/bpk-component-datatable/src/BpkDataTableHeader.module.css +0 -18
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.module.css +0 -18
- package/bpk-component-loading-button/src/BpkLoadingButton.module.css +0 -18
- package/bpk-component-price/src/BpkPrice.module.css +0 -18
- package/bpk-storybook-utils/index.js +0 -43
- package/bpk-storybook-utils/src/BpkDarkExampleWrapper.js +0 -33
- package/index.css +0 -0
|
@@ -1,31 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
})
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
13
|
-
var _default = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
styles = {}
|
|
16
|
-
} = _ref,
|
|
17
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
-
return /*#__PURE__*/_react.default.createElement("svg", _extends({
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
viewBox: "0 0 24 24",
|
|
21
|
-
width: "16",
|
|
22
|
-
height: "16",
|
|
23
|
-
style: {
|
|
24
|
-
width: "1rem",
|
|
25
|
-
height: "1rem"
|
|
26
|
-
}
|
|
27
|
-
}, props), /*#__PURE__*/_react.default.createElement("path", {
|
|
28
|
-
d: "M12 0a1.5 1.5 0 00-1.5 1.5V3a1.5 1.5 0 003 0V1.5A1.5 1.5 0 0012 0zm0 19.5a1.5 1.5 0 00-1.5 1.5v1.5a1.5 1.5 0 003 0V21a1.5 1.5 0 00-1.5-1.5zM0 12a1.5 1.5 0 001.5 1.5H3a1.5 1.5 0 000-3H1.5A1.5 1.5 0 000 12zm19.5 0a1.5 1.5 0 001.5 1.5h1.5a1.5 1.5 0 000-3H21a1.5 1.5 0 00-1.5 1.5zM3.515 5.636a1.5 1.5 0 112.084-2.158l.037.037 1.06 1.06a1.5 1.5 0 11-2.083 2.159l-.037-.037-1.062-1.061zm13.788 13.789a1.5 1.5 0 112.121-2.122l1.061 1.061a1.5 1.5 0 11-2.084 2.158l-.037-.037-1.06-1.06zm-13.788 1.06a1.5 1.5 0 002.12 0l1.062-1.06a1.5 1.5 0 00-2.122-2.122l-1.06 1.061a1.5 1.5 0 000 2.121zM17.303 6.697a1.5 1.5 0 002.121 0l1.061-1.06a1.5 1.5 0 10-2.121-2.122l-1.06 1.06a1.5 1.5 0 000 2.121v.001zM12 18a6 6 0 10-6-6 6 6 0 006 6z"
|
|
29
|
-
}));
|
|
30
|
-
};
|
|
31
|
-
exports.default = _default;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export default (({
|
|
3
|
+
styles = {},
|
|
4
|
+
...props
|
|
5
|
+
}) => <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" style={{
|
|
6
|
+
width: "1rem",
|
|
7
|
+
height: "1rem"
|
|
8
|
+
}} {...props}><path d="M12 0a1.5 1.5 0 00-1.5 1.5V3a1.5 1.5 0 003 0V1.5A1.5 1.5 0 0012 0zm0 19.5a1.5 1.5 0 00-1.5 1.5v1.5a1.5 1.5 0 003 0V21a1.5 1.5 0 00-1.5-1.5zM0 12a1.5 1.5 0 001.5 1.5H3a1.5 1.5 0 000-3H1.5A1.5 1.5 0 000 12zm19.5 0a1.5 1.5 0 001.5 1.5h1.5a1.5 1.5 0 000-3H21a1.5 1.5 0 00-1.5 1.5zM3.515 5.636a1.5 1.5 0 112.084-2.158l.037.037 1.06 1.06a1.5 1.5 0 11-2.083 2.159l-.037-.037-1.062-1.061zm13.788 13.789a1.5 1.5 0 112.121-2.122l1.061 1.061a1.5 1.5 0 11-2.084 2.158l-.037-.037-1.06-1.06zm-13.788 1.06a1.5 1.5 0 002.12 0l1.062-1.06a1.5 1.5 0 00-2.122-2.122l-1.06 1.061a1.5 1.5 0 000 2.121zM17.303 6.697a1.5 1.5 0 002.121 0l1.061-1.06a1.5 1.5 0 10-2.121-2.122l-1.06 1.06a1.5 1.5 0 000 2.121v.001zM12 18a6 6 0 10-6-6 6 6 0 006 6z" /></svg>);
|
|
@@ -1,31 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
})
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
13
|
-
var _default = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
styles = {}
|
|
16
|
-
} = _ref,
|
|
17
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
-
return /*#__PURE__*/_react.default.createElement("svg", _extends({
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
viewBox: "0 0 24 24",
|
|
21
|
-
width: "16",
|
|
22
|
-
height: "16",
|
|
23
|
-
style: {
|
|
24
|
-
width: "1rem",
|
|
25
|
-
height: "1rem"
|
|
26
|
-
}
|
|
27
|
-
}, props), /*#__PURE__*/_react.default.createElement("path", {
|
|
28
|
-
d: "M12 6.688A17.987 17.987 0 002.465 9.38a.658.658 0 01-.845-.12L.556 8.044a.727.727 0 01.152-1.098l.019-.012A21.283 21.283 0 0112 3.75a21.291 21.291 0 0111.274 3.183l.02.012a.727.727 0 01.15 1.098l-1.062 1.218a.658.658 0 01-.844.12A18.002 18.002 0 0012 6.687zm-6.444 7.083a.787.787 0 00.968.161 11.637 11.637 0 0110.954.001.787.787 0 00.968-.162l1.007-1.153a.717.717 0 00-.171-1.1 14.949 14.949 0 00-14.562 0 .716.716 0 00-.171 1.1l1.006 1.153zm3.82 4.386l1.52 1.62a1.526 1.526 0 002.209 0l1.52-1.62a1.139 1.139 0 00-.183-1.835 5.497 5.497 0 00-4.883 0 1.139 1.139 0 00-.183 1.835z"
|
|
29
|
-
}));
|
|
30
|
-
};
|
|
31
|
-
exports.default = _default;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export default (({
|
|
3
|
+
styles = {},
|
|
4
|
+
...props
|
|
5
|
+
}) => <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" style={{
|
|
6
|
+
width: "1rem",
|
|
7
|
+
height: "1rem"
|
|
8
|
+
}} {...props}><path d="M12 6.688A17.987 17.987 0 002.465 9.38a.658.658 0 01-.845-.12L.556 8.044a.727.727 0 01.152-1.098l.019-.012A21.283 21.283 0 0112 3.75a21.291 21.291 0 0111.274 3.183l.02.012a.727.727 0 01.15 1.098l-1.062 1.218a.658.658 0 01-.844.12A18.002 18.002 0 0012 6.687zm-6.444 7.083a.787.787 0 00.968.161 11.637 11.637 0 0110.954.001.787.787 0 00.968-.162l1.007-1.153a.717.717 0 00-.171-1.1 14.949 14.949 0 00-14.562 0 .716.716 0 00-.171 1.1l1.006 1.153zm3.82 4.386l1.52 1.62a1.526 1.526 0 002.209 0l1.52-1.62a1.139 1.139 0 00-.183-1.835 5.497 5.497 0 00-4.883 0 1.139 1.139 0 00-.183 1.835z" /></svg>);
|
|
@@ -1,33 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
})
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
13
|
-
var _default = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
styles = {}
|
|
16
|
-
} = _ref,
|
|
17
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
-
return /*#__PURE__*/_react.default.createElement("svg", _extends({
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
viewBox: "0 0 24 24",
|
|
21
|
-
width: "16",
|
|
22
|
-
height: "16",
|
|
23
|
-
style: {
|
|
24
|
-
width: "1rem",
|
|
25
|
-
height: "1rem"
|
|
26
|
-
}
|
|
27
|
-
}, props), /*#__PURE__*/_react.default.createElement("path", {
|
|
28
|
-
d: "M4.5 7.5a3 3 0 013-3H12a1.5 1.5 0 000-3H7.5a6 6 0 00-6 6v9a6 6 0 006 6h9a6 6 0 006-6V12a1.5 1.5 0 00-3 0v4.5a3 3 0 01-3 3h-9a3 3 0 01-3-3z"
|
|
29
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
30
|
-
d: "M17.56 8.56l-4.939 4.94H15a1.5 1.5 0 010 3H8.996a1.495 1.495 0 01-1.053-.436l-.007-.006A1.496 1.496 0 017.5 15V9a1.5 1.5 0 013 0v2.379l4.94-4.94a1.5 1.5 0 012.12 2.122z"
|
|
31
|
-
}));
|
|
32
|
-
};
|
|
33
|
-
exports.default = _default;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export default (({
|
|
3
|
+
styles = {},
|
|
4
|
+
...props
|
|
5
|
+
}) => <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" style={{
|
|
6
|
+
width: "1rem",
|
|
7
|
+
height: "1rem"
|
|
8
|
+
}} {...props}><path d="M4.5 7.5a3 3 0 013-3H12a1.5 1.5 0 000-3H7.5a6 6 0 00-6 6v9a6 6 0 006 6h9a6 6 0 006-6V12a1.5 1.5 0 00-3 0v4.5a3 3 0 01-3 3h-9a3 3 0 01-3-3z" /><path d="M17.56 8.56l-4.939 4.94H15a1.5 1.5 0 010 3H8.996a1.495 1.495 0 01-1.053-.436l-.007-.006A1.496 1.496 0 017.5 15V9a1.5 1.5 0 013 0v2.379l4.94-4.94a1.5 1.5 0 012.12 2.122z" /></svg>);
|
|
@@ -1,31 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
})
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
13
|
-
var _default = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
styles = {}
|
|
16
|
-
} = _ref,
|
|
17
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
-
return /*#__PURE__*/_react.default.createElement("svg", _extends({
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
viewBox: "0 0 24 24",
|
|
21
|
-
width: "16",
|
|
22
|
-
height: "16",
|
|
23
|
-
style: {
|
|
24
|
-
width: "1rem",
|
|
25
|
-
height: "1rem"
|
|
26
|
-
}
|
|
27
|
-
}, props), /*#__PURE__*/_react.default.createElement("path", {
|
|
28
|
-
d: "M19.5 1.5h-15a3 3 0 00-3 3v15a3 3 0 003 3h15a3 3 0 003-3v-15a3 3 0 00-3-3zm0 16.5a1.5 1.5 0 01-1.5 1.5H6A1.5 1.5 0 014.5 18V9A1.5 1.5 0 016 7.5h12A1.5 1.5 0 0119.5 9z"
|
|
29
|
-
}));
|
|
30
|
-
};
|
|
31
|
-
exports.default = _default;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export default (({
|
|
3
|
+
styles = {},
|
|
4
|
+
...props
|
|
5
|
+
}) => <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" style={{
|
|
6
|
+
width: "1rem",
|
|
7
|
+
height: "1rem"
|
|
8
|
+
}} {...props}><path d="M19.5 1.5h-15a3 3 0 00-3 3v15a3 3 0 003 3h15a3 3 0 003-3v-15a3 3 0 00-3-3zm0 16.5a1.5 1.5 0 01-1.5 1.5H6A1.5 1.5 0 014.5 18V9A1.5 1.5 0 016 7.5h12A1.5 1.5 0 0119.5 9z" /></svg>);
|
|
@@ -1,31 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
})
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
13
|
-
var _default = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
styles = {}
|
|
16
|
-
} = _ref,
|
|
17
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
-
return /*#__PURE__*/_react.default.createElement("svg", _extends({
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
viewBox: "0 0 24 24",
|
|
21
|
-
width: "16",
|
|
22
|
-
height: "16",
|
|
23
|
-
style: {
|
|
24
|
-
width: "1rem",
|
|
25
|
-
height: "1rem"
|
|
26
|
-
}
|
|
27
|
-
}, props), /*#__PURE__*/_react.default.createElement("path", {
|
|
28
|
-
d: "M12 1.5c5.799 0 10.5 4.702 10.5 10.5 0 5.8-4.701 10.5-10.5 10.5S1.5 17.8 1.5 12C1.5 6.203 6.201 1.5 12 1.5zM5.232 8.764a7.5 7.5 0 007.225 10.723c.082-.359.098-.712-.086-1.018a1.44 1.44 0 00-.42-.417l-.168-.114c-.198-.134-.397-.268-.538-.456a1.872 1.872 0 01-.142-1.496l.082-.208a3.559 3.559 0 00.343-1.721 5.358 5.358 0 01-1.85-.496 4.327 4.327 0 01-.76-.56l-.236-.211c-.4-.362-.798-.722-1.298-.906a2.203 2.203 0 01-.794-.35 1.438 1.438 0 01-.215-.299l-1.04-2.26-.103-.21zm8.36-4.094l.163.173c.341.382.64.804.886 1.258a5.28 5.28 0 00-2.954 2.472 1.223 1.223 0 01-.208.416l-.069.065c-.051.046-.103.092-.129.155a.446.446 0 00-.01.192l.025.093c.099.354.208.704.328 1.051-.425.248-1.051.46-1.334.057a.885.885 0 01-.12-.29l-.037-.161c-.052-.244-.102-.475-.325-.533a.62.62 0 00-.202 0l-1.248.307a4.169 4.169 0 00-.072 1.944c.765-.115 1.698-.164 2.15.464.063.089.118.19.17.296l.074.16c.16.343.315.679.665.707.19-.006.375-.06.54-.156a3.46 3.46 0 013.285.283c.277.258.627.424 1.002.478l.077-.004c.113-.007.23-.014.308.063a.5.5 0 01.085.3c.07.521.646.814 1.166.893l.228.028.435.04.135.02.002-.005.056.008A7.503 7.503 0 0013.591 4.67z"
|
|
29
|
-
}));
|
|
30
|
-
};
|
|
31
|
-
exports.default = _default;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export default (({
|
|
3
|
+
styles = {},
|
|
4
|
+
...props
|
|
5
|
+
}) => <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" style={{
|
|
6
|
+
width: "1rem",
|
|
7
|
+
height: "1rem"
|
|
8
|
+
}} {...props}><path d="M12 1.5c5.799 0 10.5 4.702 10.5 10.5 0 5.8-4.701 10.5-10.5 10.5S1.5 17.8 1.5 12C1.5 6.203 6.201 1.5 12 1.5zM5.232 8.764a7.5 7.5 0 007.225 10.723c.082-.359.098-.712-.086-1.018a1.44 1.44 0 00-.42-.417l-.168-.114c-.198-.134-.397-.268-.538-.456a1.872 1.872 0 01-.142-1.496l.082-.208a3.559 3.559 0 00.343-1.721 5.358 5.358 0 01-1.85-.496 4.327 4.327 0 01-.76-.56l-.236-.211c-.4-.362-.798-.722-1.298-.906a2.203 2.203 0 01-.794-.35 1.438 1.438 0 01-.215-.299l-1.04-2.26-.103-.21zm8.36-4.094l.163.173c.341.382.64.804.886 1.258a5.28 5.28 0 00-2.954 2.472 1.223 1.223 0 01-.208.416l-.069.065c-.051.046-.103.092-.129.155a.446.446 0 00-.01.192l.025.093c.099.354.208.704.328 1.051-.425.248-1.051.46-1.334.057a.885.885 0 01-.12-.29l-.037-.161c-.052-.244-.102-.475-.325-.533a.62.62 0 00-.202 0l-1.248.307a4.169 4.169 0 00-.072 1.944c.765-.115 1.698-.164 2.15.464.063.089.118.19.17.296l.074.16c.16.343.315.679.665.707.19-.006.375-.06.54-.156a3.46 3.46 0 013.285.283c.277.258.627.424 1.002.478l.077-.004c.113-.007.23-.014.308.063a.5.5 0 01.085.3c.07.521.646.814 1.166.893l.228.028.435.04.135.02.002-.005.056.008A7.503 7.503 0 0013.591 4.67z" /></svg>);
|
|
@@ -1,31 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
})
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
13
|
-
var _default = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
styles = {}
|
|
16
|
-
} = _ref,
|
|
17
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
-
return /*#__PURE__*/_react.default.createElement("svg", _extends({
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
viewBox: "0 0 24 24",
|
|
21
|
-
width: "16",
|
|
22
|
-
height: "16",
|
|
23
|
-
style: {
|
|
24
|
-
width: "1rem",
|
|
25
|
-
height: "1rem"
|
|
26
|
-
}
|
|
27
|
-
}, props), /*#__PURE__*/_react.default.createElement("path", {
|
|
28
|
-
d: "M12 1.5c5.799 0 10.5 4.701 10.5 10.5S17.799 22.5 12 22.5 1.5 17.799 1.5 12 6.201 1.5 12 1.5zm1.83 17.489l-1.902.51.072.001c.908 0 1.777-.161 2.583-.457l-.038-.037a.871.871 0 00-.714-.017zm.446-14.137l.02.098.059.125.07.12c.043.074.087.147.12.226a.925.925 0 01-.412 1.135l-1.149-1.343a1.57 1.57 0 00-.429.878c.003.112.018.222.045.33l.597 1.954c-.904.388-1.757.888-2.537 1.488a.151.151 0 00-.044.25l.66 1.023c.062.078.1.171.11.27a.414.414 0 01-.099.25c-.349.381-.9.503-1.376.303a3.165 3.165 0 01-.984-.683l-.2-.226a17.683 17.683 0 01-1.391-1.722 1.06 1.06 0 00-.86.536c-.17.309-.287.645-.345.993l-.672 2.96c-.172-.076-.315-.246-.45-.435l-.102-.143a2.662 2.662 0 00-.363-.452 7.498 7.498 0 006.488 6.651l.003-.368a5.285 5.285 0 00-.06-.674c-.068-.452.05-.912.325-1.276.35-.28.757-.478 1.194-.578a3.245 3.245 0 001.645-1.425l.889.049a22.8 22.8 0 011.599-.044l.8.02c.08-.005.16.015.229.055a.441.441 0 01.133.279c.069.31.17.614.3.903a7.503 7.503 0 00-3.812-11.527z"
|
|
29
|
-
}));
|
|
30
|
-
};
|
|
31
|
-
exports.default = _default;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export default (({
|
|
3
|
+
styles = {},
|
|
4
|
+
...props
|
|
5
|
+
}) => <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" style={{
|
|
6
|
+
width: "1rem",
|
|
7
|
+
height: "1rem"
|
|
8
|
+
}} {...props}><path d="M12 1.5c5.799 0 10.5 4.701 10.5 10.5S17.799 22.5 12 22.5 1.5 17.799 1.5 12 6.201 1.5 12 1.5zm1.83 17.489l-1.902.51.072.001c.908 0 1.777-.161 2.583-.457l-.038-.037a.871.871 0 00-.714-.017zm.446-14.137l.02.098.059.125.07.12c.043.074.087.147.12.226a.925.925 0 01-.412 1.135l-1.149-1.343a1.57 1.57 0 00-.429.878c.003.112.018.222.045.33l.597 1.954c-.904.388-1.757.888-2.537 1.488a.151.151 0 00-.044.25l.66 1.023c.062.078.1.171.11.27a.414.414 0 01-.099.25c-.349.381-.9.503-1.376.303a3.165 3.165 0 01-.984-.683l-.2-.226a17.683 17.683 0 01-1.391-1.722 1.06 1.06 0 00-.86.536c-.17.309-.287.645-.345.993l-.672 2.96c-.172-.076-.315-.246-.45-.435l-.102-.143a2.662 2.662 0 00-.363-.452 7.498 7.498 0 006.488 6.651l.003-.368a5.285 5.285 0 00-.06-.674c-.068-.452.05-.912.325-1.276.35-.28.757-.478 1.194-.578a3.245 3.245 0 001.645-1.425l.889.049a22.8 22.8 0 011.599-.044l.8.02c.08-.005.16.015.229.055a.441.441 0 01.133.279c.069.31.17.614.3.903a7.503 7.503 0 00-3.812-11.527z" /></svg>);
|
|
@@ -1,31 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
})
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
12
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
13
|
-
var _default = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
styles = {}
|
|
16
|
-
} = _ref,
|
|
17
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
-
return /*#__PURE__*/_react.default.createElement("svg", _extends({
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
viewBox: "0 0 24 24",
|
|
21
|
-
width: "16",
|
|
22
|
-
height: "16",
|
|
23
|
-
style: {
|
|
24
|
-
width: "1rem",
|
|
25
|
-
height: "1rem"
|
|
26
|
-
}
|
|
27
|
-
}, props), /*#__PURE__*/_react.default.createElement("path", {
|
|
28
|
-
d: "M12 1.5c5.799 0 10.5 4.701 10.5 10.5S17.799 22.5 12 22.5 1.5 17.799 1.5 12 6.201 1.5 12 1.5zm-.55 3.02l-.097.008-.327.035a7.501 7.501 0 00.649 14.93L12 19.5l.184-.002-.034-.476-.015-.475c0-.172-.074-.233-.175-.262l-.064-.015-.145-.024c-.104-.02-.206-.055-.275-.16l-.044-.093-.096-.285c-.098-.285-.203-.471-.56-.502a1.17 1.17 0 01-.345-.075l-.072-.032-.113-.06c-.102-.052-.202-.067-.493.046a2.09 2.09 0 01-2.269-.742 4.497 4.497 0 01-.844-2.37c.006-.275.09-.542.242-.77.044-.088.143-.17.26-.248l.121-.075.24-.14.104-.065.084-.063.305-.258c.377-.326.663-.613.803-1.097l.051-.22 2.1-.087.32.113c.86.26 1.81.201 2.75.062l.352-.055 1.358-.24.083-.081c.277-.352-.055-.982-.52-1.128a4.627 4.627 0 00-1.57.033c-.479.02-1.049-.177-1.2-.606l-.032-.136-.007-.08-.008-.176c-.007-.124-.03-.24-.126-.31a.444.444 0 00-.41-.002c-.54.263-1.057.57-1.547.916a1.78 1.78 0 01-1.521.242l-.19-.068.056-1.017.08-.079a.786.786 0 01.325-.13l.125-.022.287-.036c.254-.034.473-.092.522-.325a1.742 1.742 0 00-.022-.378c-.003-.273.175-.458.413-.614l.124-.075.529-.287.123-.075c.239-.156.418-.34.417-.613a2.06 2.06 0 00-.199-.612 1.6 1.6 0 01-.038-.291v-.145l.026-.214zm6.338 7.207l-1.327.54a.451.451 0 00-.28.217.428.428 0 00.023.28 5.174 5.174 0 002.513 2.574 7.17 7.17 0 00.4-.968.643.643 0 01-.175-.043.72.72 0 01-.26-.31 9.735 9.735 0 01-.894-2.29zM9.658 5.05c.175-.026.331.207.46.482l.053.12.108.273.113.304.026.062.028.045c.004.004.008.005.01.004-.334.104-.664.22-.99.35l-.484.204-.316-.367-.02-.042-.008-.047.027-.058.11-.118.07-.096.072-.114.321-.555.086-.135c.114-.17.227-.297.334-.312z"
|
|
29
|
-
}));
|
|
30
|
-
};
|
|
31
|
-
exports.default = _default;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export default (({
|
|
3
|
+
styles = {},
|
|
4
|
+
...props
|
|
5
|
+
}) => <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" style={{
|
|
6
|
+
width: "1rem",
|
|
7
|
+
height: "1rem"
|
|
8
|
+
}} {...props}><path d="M12 1.5c5.799 0 10.5 4.701 10.5 10.5S17.799 22.5 12 22.5 1.5 17.799 1.5 12 6.201 1.5 12 1.5zm-.55 3.02l-.097.008-.327.035a7.501 7.501 0 00.649 14.93L12 19.5l.184-.002-.034-.476-.015-.475c0-.172-.074-.233-.175-.262l-.064-.015-.145-.024c-.104-.02-.206-.055-.275-.16l-.044-.093-.096-.285c-.098-.285-.203-.471-.56-.502a1.17 1.17 0 01-.345-.075l-.072-.032-.113-.06c-.102-.052-.202-.067-.493.046a2.09 2.09 0 01-2.269-.742 4.497 4.497 0 01-.844-2.37c.006-.275.09-.542.242-.77.044-.088.143-.17.26-.248l.121-.075.24-.14.104-.065.084-.063.305-.258c.377-.326.663-.613.803-1.097l.051-.22 2.1-.087.32.113c.86.26 1.81.201 2.75.062l.352-.055 1.358-.24.083-.081c.277-.352-.055-.982-.52-1.128a4.627 4.627 0 00-1.57.033c-.479.02-1.049-.177-1.2-.606l-.032-.136-.007-.08-.008-.176c-.007-.124-.03-.24-.126-.31a.444.444 0 00-.41-.002c-.54.263-1.057.57-1.547.916a1.78 1.78 0 01-1.521.242l-.19-.068.056-1.017.08-.079a.786.786 0 01.325-.13l.125-.022.287-.036c.254-.034.473-.092.522-.325a1.742 1.742 0 00-.022-.378c-.003-.273.175-.458.413-.614l.124-.075.529-.287.123-.075c.239-.156.418-.34.417-.613a2.06 2.06 0 00-.199-.612 1.6 1.6 0 01-.038-.291v-.145l.026-.214zm6.338 7.207l-1.327.54a.451.451 0 00-.28.217.428.428 0 00.023.28 5.174 5.174 0 002.513 2.574 7.17 7.17 0 00.4-.968.643.643 0 01-.175-.043.72.72 0 01-.26-.31 9.735 9.735 0 01-.894-2.29zM9.658 5.05c.175-.026.331.207.46.482l.053.12.108.273.113.304.026.062.028.045c.004.004.008.005.01.004-.334.104-.664.22-.99.35l-.484.204-.316-.367-.02-.042-.008-.047.027-.058.11-.118.07-.096.072-.114.321-.555.086-.135c.114-.17.227-.297.334-.312z" /></svg>);
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
-
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-icon--align-to-button{vertical-align:text-bottom}.bpk-icon--align-to-large-button{margin-top
|
|
18
|
+
@keyframes bpk-keyframe-spin{100%{transform:rotate(1turn)}}.bpk-icon--align-to-button{vertical-align:text-bottom}.bpk-icon--align-to-large-button{margin-top:.1875rem;vertical-align:top}html[dir='rtl'] .bpk-icon--rtl-support{transform:scaleX(-1)}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Backpack - Skyscanner's Design System
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2016 Skyscanner Ltd
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
@import '~bpk-mixins/index.scss';
|
|
20
|
+
|
|
21
|
+
.bpk-icon {
|
|
22
|
+
&--align-to-button {
|
|
23
|
+
@include bpk-icon-sm--align-to-button;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&--align-to-large-button {
|
|
27
|
+
@include bpk-icon-lg--align-to-large-button;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--rtl-support {
|
|
31
|
+
@include bpk-icon--rtl-support;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,39 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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 PropTypes from 'prop-types';
|
|
20
|
+
import React from 'react';
|
|
21
|
+
|
|
22
|
+
import { wrapDisplayName } from '../../bpk-react-utils';
|
|
23
|
+
|
|
24
|
+
export default (displayName, classNamesToAdd = []) =>
|
|
25
|
+
(ComposedComponent) => {
|
|
26
|
+
const ClassNameModifierHOC = (props) => {
|
|
27
|
+
let classNames = [];
|
|
28
|
+
const { className, ...rest } = props;
|
|
29
|
+
|
|
30
|
+
if (className) {
|
|
31
|
+
classNames.push(className);
|
|
32
|
+
}
|
|
33
|
+
classNames = classNamesToAdd.length
|
|
34
|
+
? classNames.concat(classNamesToAdd)
|
|
35
|
+
: classNames;
|
|
36
|
+
|
|
37
|
+
return <ComposedComponent className={classNames.join(' ')} {...rest} />;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
ClassNameModifierHOC.propTypes = {
|
|
41
|
+
className: PropTypes.string,
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
ClassNameModifierHOC.defaultProps = {
|
|
45
|
+
className: null,
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
ClassNameModifierHOC.displayName = wrapDisplayName(
|
|
49
|
+
ComposedComponent,
|
|
50
|
+
displayName,
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
return ClassNameModifierHOC;
|
|
35
54
|
};
|
|
36
|
-
ClassNameModifierHOC.displayName = (0, _bpkReactUtils.wrapDisplayName)(ComposedComponent, displayName);
|
|
37
|
-
return ClassNameModifierHOC;
|
|
38
|
-
};
|
|
39
|
-
exports.default = _default;
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = withAlignment;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _bpkReactUtils = require("../../bpk-react-utils");
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
1
|
/*
|
|
11
2
|
* Backpack - Skyscanner's Design System
|
|
12
3
|
*
|
|
@@ -25,20 +16,33 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
25
16
|
* limitations under the License.
|
|
26
17
|
*/
|
|
27
18
|
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
import React from 'react';
|
|
20
|
+
|
|
21
|
+
import { wrapDisplayName } from '../../bpk-react-utils';
|
|
22
|
+
|
|
23
|
+
export default function withAlignment(Component, objectHeight, subjectHeight) {
|
|
24
|
+
const WithAlignment = (props) => {
|
|
30
25
|
const objectHeightDecimal = `${objectHeight}`.replace('rem', '');
|
|
31
26
|
const subjectHeightDecimal = `${subjectHeight}`.replace('rem', '');
|
|
32
|
-
const marginTopCalculated = `${
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
27
|
+
const marginTopCalculated = `${
|
|
28
|
+
Math.max(0, objectHeightDecimal - subjectHeightDecimal) / 2
|
|
29
|
+
}rem`;
|
|
30
|
+
|
|
31
|
+
return (
|
|
32
|
+
<span
|
|
33
|
+
style={{
|
|
34
|
+
lineHeight: subjectHeight,
|
|
35
|
+
display: 'inline-block',
|
|
36
|
+
marginTop: marginTopCalculated,
|
|
37
|
+
verticalAlign: 'top',
|
|
38
|
+
}}
|
|
39
|
+
>
|
|
40
|
+
<Component {...props} />
|
|
41
|
+
</span>
|
|
42
|
+
);
|
|
41
43
|
};
|
|
42
|
-
|
|
44
|
+
|
|
45
|
+
WithAlignment.displayName = wrapDisplayName(Component, 'withAlignment');
|
|
46
|
+
|
|
43
47
|
return WithAlignment;
|
|
44
|
-
}
|
|
48
|
+
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = withDescription;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _bpkReactUtils = require("../../bpk-react-utils");
|
|
9
|
-
var _withDescriptionModule = _interopRequireDefault(require("./withDescription.module.css"));
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
1
|
/*
|
|
12
2
|
* Backpack - Skyscanner's Design System
|
|
13
3
|
*
|
|
@@ -24,13 +14,32 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
24
14
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
25
15
|
* See the License for the specific language governing permissions and
|
|
26
16
|
* limitations under the License.
|
|
27
|
-
*/
|
|
17
|
+
*/
|
|
18
|
+
/* @flow strict */
|
|
19
|
+
|
|
20
|
+
import React, { type AbstractComponent } from 'react';
|
|
21
|
+
|
|
22
|
+
import { cssModules, wrapDisplayName } from '../../bpk-react-utils';
|
|
23
|
+
|
|
24
|
+
import STYLES from './withDescription.module.scss';
|
|
25
|
+
|
|
26
|
+
const getClassName = cssModules(STYLES);
|
|
28
27
|
|
|
29
28
|
// TODO: Fix flow config. This should receive the component config as a parametized type
|
|
30
|
-
function withDescription(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
WithDescription
|
|
29
|
+
export default function withDescription(
|
|
30
|
+
Component: AbstractComponent<any>,
|
|
31
|
+
description: string,
|
|
32
|
+
): AbstractComponent<any> {
|
|
33
|
+
const WithDescription = (props) => (
|
|
34
|
+
<span>
|
|
35
|
+
<Component {...props} />
|
|
36
|
+
<span className={getClassName('bpk-icon-description')}>
|
|
37
|
+
{description}
|
|
38
|
+
</span>
|
|
39
|
+
</span>
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
WithDescription.displayName = wrapDisplayName(Component, 'withDescription');
|
|
43
|
+
|
|
35
44
|
return WithDescription;
|
|
36
|
-
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
@import '~bpk-mixins/index.scss';
|
|
19
|
+
|
|
20
|
+
.bpk-icon-description {
|
|
21
|
+
@include bpk-visually-hidden;
|
|
22
|
+
}
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _bpkReactUtils = require("../../bpk-react-utils");
|
|
8
|
-
var _BpkIconModule = _interopRequireDefault(require("./BpkIcon.module.css"));
|
|
9
|
-
var _classNameModifierHOCFactory = _interopRequireDefault(require("./classNameModifierHOCFactory"));
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
1
|
/*
|
|
12
2
|
* Backpack - Skyscanner's Design System
|
|
13
3
|
*
|
|
@@ -26,6 +16,13 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
26
16
|
* limitations under the License.
|
|
27
17
|
*/
|
|
28
18
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
19
|
+
import { cssModules } from '../../bpk-react-utils';
|
|
20
|
+
|
|
21
|
+
import STYLES from './BpkIcon.module.scss';
|
|
22
|
+
import classNameModifierHOCFactory from './classNameModifierHOCFactory';
|
|
23
|
+
|
|
24
|
+
const getClassName = cssModules(STYLES);
|
|
25
|
+
|
|
26
|
+
export default classNameModifierHOCFactory('withRtlSupport', [
|
|
27
|
+
getClassName('bpk-icon--rtl-support'),
|
|
28
|
+
]);
|