@skyscanner/backpack-web 25.3.0 → 25.4.0-alpha
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 +93 -88
- package/bpk-component-accordion/README.md +121 -0
- package/bpk-component-accordion/index.js +30 -33
- package/bpk-component-accordion/src/BpkAccordion.js +43 -51
- package/{bpk-component-input/src/themeAttributes.js → bpk-component-accordion/src/BpkAccordion.module.scss} +10 -8
- package/bpk-component-accordion/src/BpkAccordionItem.js +123 -104
- package/bpk-component-accordion/src/BpkAccordionItem.module.scss +102 -0
- package/bpk-component-accordion/src/withAccordionItemState.js +77 -68
- package/bpk-component-accordion/src/withSingleItemAccordionState.js +77 -67
- package/bpk-component-aria-live/README.md +39 -0
- package/{bpk-component-banner-alert/src/themeAttributes.js → bpk-component-aria-live/index.ts} +9 -8
- package/bpk-component-aria-live/src/BpkAriaLive-test.tsx +59 -0
- package/bpk-component-aria-live/src/BpkAriaLive.module.scss +25 -0
- package/bpk-component-aria-live/src/BpkAriaLive.tsx +59 -0
- package/bpk-component-aria-live/src/accessibility-test.tsx +30 -0
- package/bpk-component-autosuggest/README.md +124 -0
- package/bpk-component-autosuggest/index.js +8 -17
- package/bpk-component-autosuggest/src/BpkAutosuggest.js +37 -40
- package/bpk-component-autosuggest/src/BpkAutosuggest.module.scss +156 -0
- package/bpk-component-autosuggest/src/BpkAutosuggestSuggestion.js +70 -64
- package/bpk-component-badge/README.md +36 -0
- package/bpk-component-badge/{src/themeAttributes.js → index.ts} +7 -8
- package/bpk-component-badge/src/BpkBadge-test.tsx +70 -0
- package/bpk-component-badge/src/BpkBadge.module.scss +67 -0
- package/bpk-component-badge/src/BpkBadge.tsx +79 -0
- package/bpk-component-badge/src/accessibility-test.tsx +30 -0
- package/bpk-component-badge/src/themeAttributes-test.tsx +29 -0
- package/bpk-component-badge/src/themeAttributes.tsx +23 -0
- package/bpk-component-banner-alert/README.md +151 -0
- package/bpk-component-banner-alert/index.ts +33 -0
- package/bpk-component-banner-alert/src/AnimateAndFade-test.tsx +65 -0
- package/bpk-component-banner-alert/src/AnimateAndFade.tsx +179 -0
- package/{bpk-storybook-utils/src/BpkStorybookUtils.js → bpk-component-banner-alert/src/BpkAnimateAndFade.module.scss} +34 -19
- package/bpk-component-banner-alert/src/BpkBannerAlert-test.tsx +56 -0
- package/bpk-component-banner-alert/src/BpkBannerAlert.module.scss +151 -0
- package/{bpk-component-tooltip/index.js → bpk-component-banner-alert/src/BpkBannerAlert.tsx} +28 -17
- package/bpk-component-banner-alert/src/BpkBannerAlertDismissable-test.tsx +38 -0
- package/bpk-component-banner-alert/src/BpkBannerAlertDismissable.tsx +35 -0
- package/bpk-component-banner-alert/src/BpkBannerAlertExpandable-test.tsx +60 -0
- package/bpk-component-banner-alert/src/BpkBannerAlertExpandable.tsx +47 -0
- package/bpk-component-banner-alert/src/BpkBannerAlertInner-test.tsx +196 -0
- package/bpk-component-banner-alert/src/BpkBannerAlertInner.tsx +227 -0
- package/bpk-component-banner-alert/src/accessibility-test.tsx +35 -0
- package/bpk-component-banner-alert/src/common-types.ts +46 -0
- package/bpk-component-banner-alert/src/themeAttributes-test.ts +30 -0
- package/bpk-component-banner-alert/src/themeAttributes.ts +24 -0
- package/bpk-component-banner-alert/src/withBannerAlertState-test.tsx +142 -0
- package/bpk-component-banner-alert/src/withBannerAlertState.tsx +156 -0
- package/bpk-component-barchart/README.md +186 -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 -233
- package/{bpk-component-boilerplate/src/BpkBoilerplate.module.css → bpk-component-barchart/src/BpkBarchart.module.scss} +9 -6
- package/bpk-component-barchart/src/BpkBarchartBar.js +113 -86
- package/bpk-component-barchart/src/BpkBarchartBar.module.scss +70 -0
- package/bpk-component-barchart/src/BpkBarchartBars.js +128 -121
- package/bpk-component-barchart/src/BpkBarchartDefs.js +26 -40
- package/bpk-component-barchart/src/BpkChartAxis.js +132 -103
- package/{bpk-component-banner-alert/src/common-types.js → bpk-component-barchart/src/BpkChartAxis.module.scss} +19 -14
- package/bpk-component-barchart/src/BpkChartDataTable.js +52 -51
- package/bpk-component-barchart/src/BpkChartDataTable.module.scss +28 -0
- package/bpk-component-barchart/src/BpkChartGridLines.js +90 -70
- package/bpk-component-barchart/src/BpkChartGridLines.module.scss +26 -0
- package/bpk-component-barchart/src/BpkChartMargin.js +32 -38
- package/bpk-component-barchart/src/RTLtransforms.js +31 -37
- 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 +32 -0
- package/bpk-component-blockquote/index.js +6 -17
- package/bpk-component-blockquote/src/BpkBlockquote.js +23 -22
- 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 +87 -80
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.module.scss +27 -0
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.js +64 -66
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.module.scss +40 -0
- package/bpk-component-breakpoint/README.md +31 -0
- package/bpk-component-breakpoint/index.ts +22 -0
- package/bpk-component-breakpoint/src/BpkBreakpoint-test.tsx +102 -0
- package/bpk-component-breakpoint/src/BpkBreakpoint.tsx +53 -0
- package/bpk-component-breakpoint/src/accessibility-test.tsx +36 -0
- 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/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 +50 -0
- package/bpk-component-button/index.js +42 -143
- package/bpk-component-button/src/BpkButton.js +77 -54
- package/bpk-component-button/src/BpkButtonBase.js +62 -58
- package/bpk-component-button/src/BpkButtonBase.module.scss +50 -0
- package/bpk-component-button/src/BpkButtonDestructive.js +20 -35
- package/bpk-component-button/src/BpkButtonDestructive.module.scss +24 -0
- package/bpk-component-button/src/BpkButtonFeatured.js +20 -35
- package/bpk-component-button/src/BpkButtonFeatured.module.scss +23 -0
- package/bpk-component-button/src/BpkButtonLink.js +24 -37
- package/bpk-component-button/src/BpkButtonLink.module.scss +25 -0
- package/bpk-component-button/src/BpkButtonLinkOnDark.js +24 -37
- package/bpk-component-button/src/BpkButtonLinkOnDark.module.scss +23 -0
- package/bpk-component-button/src/BpkButtonPrimary.js +29 -35
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.js +20 -35
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.scss +23 -0
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.js +20 -35
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.scss +23 -0
- package/bpk-component-button/src/BpkButtonSecondary.js +20 -35
- package/bpk-component-button/src/BpkButtonSecondary.module.scss +23 -0
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.js +20 -35
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.scss +23 -0
- package/bpk-component-button/src/BpkButtonV2/BpkButton-test.tsx +125 -0
- package/bpk-component-button/src/BpkButtonV2/BpkButton.module.scss +81 -0
- package/bpk-component-button/src/BpkButtonV2/BpkButton.tsx +80 -0
- package/bpk-component-button/src/BpkButtonV2/accessibility-test.tsx +36 -0
- package/bpk-component-button/src/BpkButtonV2/{common-types.js → common-types.tsx} +26 -13
- package/bpk-component-button/src/common-types.js +35 -22
- package/bpk-component-button/src/commonButtonTests.js +58 -83
- 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 +382 -0
- package/bpk-component-calendar/index.ts +74 -0
- package/bpk-component-calendar/src/BpkCalendar.module.scss +42 -0
- package/bpk-component-calendar/src/BpkCalendarContainer-test.tsx +389 -0
- package/bpk-component-calendar/src/BpkCalendarContainer.tsx +399 -0
- package/bpk-component-calendar/src/BpkCalendarDate-test.tsx +82 -0
- package/bpk-component-calendar/src/BpkCalendarDate.module.scss +122 -0
- package/bpk-component-calendar/src/BpkCalendarDate.tsx +208 -0
- package/bpk-component-calendar/src/BpkCalendarGrid-test.tsx +134 -0
- package/bpk-component-calendar/src/BpkCalendarGrid.module.scss +65 -0
- package/bpk-component-calendar/src/BpkCalendarGrid.tsx +193 -0
- package/bpk-component-calendar/src/BpkCalendarGridHeader.module.scss +50 -0
- package/bpk-component-calendar/src/BpkCalendarGridHeader.tsx +99 -0
- package/bpk-component-calendar/src/BpkCalendarGridTransition-test.tsx +115 -0
- package/{bpk-scrim-utils/index.js → bpk-component-calendar/src/BpkCalendarGridTransition.module.scss} +30 -18
- package/bpk-component-calendar/src/BpkCalendarGridTransition.tsx +240 -0
- package/bpk-component-calendar/src/BpkCalendarNav-test.tsx +116 -0
- package/bpk-component-calendar/src/BpkCalendarNav.module.scss +89 -0
- package/bpk-component-calendar/src/BpkCalendarNav.tsx +190 -0
- package/bpk-component-calendar/src/Week-test.tsx +220 -0
- package/bpk-component-calendar/src/Week.tsx +472 -0
- package/bpk-component-calendar/src/_variables.scss +22 -0
- package/bpk-component-calendar/src/accessibility-test.tsx +74 -0
- package/bpk-component-calendar/src/composeCalendar-test.tsx +163 -0
- package/bpk-component-calendar/src/composeCalendar.tsx +187 -0
- package/bpk-component-calendar/src/custom-proptypes-legacy.js +81 -72
- package/bpk-component-calendar/src/custom-proptypes.ts +52 -0
- package/bpk-component-calendar/src/date-utils.ts +229 -0
- package/bpk-component-calendar/src/themeAttributes-test.ts +36 -0
- package/{bpk-component-boilerplate/index.js → bpk-component-calendar/src/themeAttributes.ts} +13 -10
- package/bpk-component-calendar/src/{utils.js → utils.ts} +24 -19
- package/bpk-component-calendar/test-utils.ts +303 -0
- package/bpk-component-card/README.md +103 -0
- package/bpk-component-card/index.ts +25 -0
- package/bpk-component-card/src/BpkCard-test.tsx +100 -0
- package/bpk-component-card/src/BpkCard.module.scss +38 -0
- package/bpk-component-card/src/BpkCard.tsx +98 -0
- package/bpk-component-card/src/BpkCardWrapper-test.tsx +64 -0
- package/bpk-component-card/src/BpkCardWrapper.module.css +1 -1
- package/bpk-component-card/src/BpkCardWrapper.module.scss +69 -0
- package/bpk-component-card/src/BpkCardWrapper.tsx +56 -0
- package/bpk-component-card/src/BpkDividedCard-test.tsx +96 -0
- package/bpk-component-card/src/BpkDividedCard.module.scss +71 -0
- package/bpk-component-card/src/BpkDividedCard.tsx +83 -0
- package/bpk-component-checkbox/README.md +44 -0
- package/bpk-component-checkbox/index.js +8 -17
- package/bpk-component-checkbox/src/BpkCheckbox.js +100 -74
- 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 +135 -0
- package/bpk-component-chip/index.ts +33 -0
- package/bpk-component-chip/src/BpkDismissibleChip-test.tsx +84 -0
- package/bpk-component-chip/src/BpkDismissibleChip.tsx +61 -0
- package/bpk-component-chip/src/BpkDropdownChip-test.tsx +76 -0
- package/bpk-component-chip/src/BpkDropdownChip.tsx +48 -0
- package/bpk-component-chip/src/BpkSelectableChip-test.tsx +100 -0
- package/bpk-component-chip/src/BpkSelectableChip.module.scss +23 -0
- package/bpk-component-chip/src/BpkSelectableChip.tsx +81 -0
- package/bpk-component-chip/src/accessibility-test.tsx +47 -0
- package/bpk-component-chip/src/commonTypes.ts +61 -0
- package/bpk-component-chip/src/themeAttributes-test.ts +34 -0
- package/bpk-component-chip/src/themeAttributes.ts +28 -0
- package/bpk-component-close-button/README.md +24 -0
- package/bpk-component-close-button/index.js +6 -10
- package/bpk-component-close-button/src/BpkCloseButton.js +44 -49
- package/bpk-component-close-button/src/BpkCloseButton.module.scss +52 -0
- package/bpk-component-code/README.md +40 -0
- package/bpk-component-code/index.js +22 -19
- package/bpk-component-code/src/BpkCode.js +32 -39
- package/bpk-component-code/src/BpkCode.module.scss +27 -0
- package/bpk-component-code/src/BpkCodeBlock.js +36 -43
- package/bpk-component-code/src/BpkCodeBlock.module.scss +33 -0
- package/bpk-component-content-cards/README.md +37 -0
- package/bpk-component-content-cards/index.js +4 -10
- package/bpk-component-content-cards/src/BpkContentCard.js +60 -43
- package/bpk-component-content-cards/src/BpkContentCard.module.scss +87 -0
- package/bpk-component-content-cards/src/BpkContentCards.js +44 -37
- 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 +188 -145
- package/bpk-component-datatable/src/BpkDataTable.module.scss +90 -0
- package/bpk-component-datatable/src/BpkDataTableColumn.js +44 -48
- package/bpk-component-datatable/src/BpkDataTableHeader.js +108 -79
- 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.ts +25 -0
- package/bpk-component-datepicker/src/BpkDatepicker-test.tsx +390 -0
- package/bpk-component-datepicker/src/BpkDatepicker.module.scss +30 -0
- package/bpk-component-datepicker/src/BpkDatepicker.tsx +390 -0
- package/bpk-component-datepicker/src/accessibility-test.tsx +105 -0
- package/bpk-component-datepicker/src/themeAttibutes-test.ts +40 -0
- package/bpk-component-datepicker/src/{themeAttributes.js → themeAttributes.ts} +12 -11
- package/bpk-component-description-list/README.md +43 -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-dialog/src/common-types.js → bpk-component-description-list/src/BpkDescriptionList.module.scss} +19 -12
- package/bpk-component-description-list/src/BpkDescriptionTerm.js +4 -10
- package/bpk-component-description-list/src/ComponentFactory.js +25 -36
- package/bpk-component-dialog/README.md +103 -0
- package/bpk-component-dialog/index.ts +25 -0
- package/bpk-component-dialog/src/BpkDialog-test.tsx +184 -0
- package/bpk-component-dialog/src/BpkDialog.module.scss +80 -0
- package/bpk-component-dialog/src/BpkDialog.tsx +78 -0
- package/bpk-component-dialog/src/BpkDialogInner.d.ts +86 -107
- package/bpk-component-dialog/src/BpkDialogInner.module.scss +64 -0
- package/bpk-component-dialog/src/BpkDialogInner.tsx +72 -0
- package/bpk-component-dialog/src/accessibility-test.tsx +45 -0
- package/bpk-component-dialog/src/common-types.d.ts +2 -1
- package/bpk-component-dialog/src/common-types.ts +48 -0
- package/bpk-component-drawer/README.md +88 -0
- package/bpk-component-drawer/index.js +8 -17
- package/bpk-component-drawer/src/BpkDrawer.js +84 -83
- package/bpk-component-drawer/src/BpkDrawer.module.scss +23 -0
- package/bpk-component-drawer/src/BpkDrawerContent.js +125 -104
- 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 +128 -96
- 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 +49 -0
- package/bpk-component-flare/index.js +8 -23
- package/bpk-component-flare/src/BpkContentBubble.js +61 -58
- package/bpk-component-flare/src/BpkFlareBar.js +42 -48
- package/bpk-component-flare/src/__generated__/js/corner-radius.d.ts +6 -0
- package/bpk-component-flare/src/__generated__/js/corner-radius.d.ts.map +1 -0
- package/bpk-component-flare/src/__generated__/js/corner-radius.js +5 -31
- package/bpk-component-flare/src/__generated__/js/corner-radius.tsx +5 -0
- package/bpk-component-flare/src/__generated__/js/pointer.d.ts +6 -0
- package/bpk-component-flare/src/__generated__/js/pointer.d.ts.map +1 -0
- package/bpk-component-flare/src/__generated__/js/pointer.js +5 -31
- package/bpk-component-flare/src/__generated__/js/pointer.tsx +5 -0
- package/bpk-component-flare/src/bpk-content-bubble.module.scss +61 -0
- 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 +47 -0
- package/bpk-component-floating-notification/index.js +8 -10
- package/bpk-component-floating-notification/src/BpkFloatingNotification.js +101 -91
- package/bpk-component-floating-notification/src/BpkFloatingNotification.module.scss +85 -0
- package/bpk-component-form-validation/README.md +30 -0
- package/bpk-component-form-validation/index.js +6 -17
- package/bpk-component-form-validation/src/BpkFormValidation.js +59 -60
- 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 +67 -0
- package/{bpk-component-boilerplate/index.d.ts → bpk-component-graphic-promotion/index.ts} +7 -5
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo-test.tsx +132 -0
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.module.scss +270 -0
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.tsx +201 -0
- package/bpk-component-graphic-promotion/src/accessibility-test.tsx +146 -0
- package/bpk-component-grid-toggle/README.md +24 -0
- package/bpk-component-grid-toggle/index.js +4 -10
- package/bpk-component-grid-toggle/src/BpkGridToggle.js +75 -65
- package/{bpk-component-rtl-toggle/index.js → bpk-component-grid-toggle/src/BpkGridToggle.module.scss} +35 -17
- 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 +170 -132
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.module.scss +37 -0
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.js +121 -99
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.module.scss +152 -0
- package/bpk-component-icon/README.md +74 -0
- package/bpk-component-icon/{all.js → all.tsx} +10 -14
- package/bpk-component-icon/index.tsx +46 -0
- package/bpk-component-icon/lg/accessibility.js +8 -37
- package/bpk-component-icon/lg/account--add.js +8 -37
- package/bpk-component-icon/lg/account--female.js +8 -37
- package/bpk-component-icon/lg/account--id-card.js +8 -37
- package/bpk-component-icon/lg/account--name.js +8 -37
- package/bpk-component-icon/lg/account--permit.js +8 -37
- package/bpk-component-icon/lg/account-circle.js +8 -37
- package/bpk-component-icon/lg/account.js +8 -37
- package/bpk-component-icon/lg/add-circle.js +8 -37
- package/bpk-component-icon/lg/adult.js +8 -37
- package/bpk-component-icon/lg/aircon.js +8 -37
- package/bpk-component-icon/lg/aircraft.js +8 -39
- package/bpk-component-icon/lg/airline--multiple.js +8 -37
- package/bpk-component-icon/lg/airline.js +8 -37
- package/bpk-component-icon/lg/airports.js +8 -37
- package/bpk-component-icon/lg/alert--active.js +8 -37
- package/bpk-component-icon/lg/alert--add.js +8 -37
- package/bpk-component-icon/lg/alert--expired.js +8 -37
- package/bpk-component-icon/lg/alert--remove.js +8 -37
- package/bpk-component-icon/lg/arrow-down.js +8 -37
- package/bpk-component-icon/lg/arrow-left.js +8 -37
- package/bpk-component-icon/lg/arrow-right.js +8 -37
- package/bpk-component-icon/lg/arrow-up.js +8 -37
- package/bpk-component-icon/lg/award.js +8 -37
- package/bpk-component-icon/lg/baby-carriage.js +8 -37
- package/bpk-component-icon/lg/baggage--add.js +8 -37
- package/bpk-component-icon/lg/baggage--remove.js +8 -37
- package/bpk-component-icon/lg/baggage-cabin-add.js +8 -37
- package/bpk-component-icon/lg/baggage-cabin-not-included.js +8 -37
- package/bpk-component-icon/lg/baggage-cabin.js +8 -37
- package/bpk-component-icon/lg/baggage-checked-add.js +8 -37
- package/bpk-component-icon/lg/baggage-checked-not-included.js +8 -37
- package/bpk-component-icon/lg/baggage-checked.js +8 -37
- package/bpk-component-icon/lg/baggage-cross.js +8 -37
- package/bpk-component-icon/lg/baggage-generic.js +8 -37
- package/bpk-component-icon/lg/baggage-tick.js +8 -37
- package/bpk-component-icon/lg/baggage.js +8 -37
- package/bpk-component-icon/lg/bar.js +8 -37
- package/bpk-component-icon/lg/beach.js +8 -39
- package/bpk-component-icon/lg/beer.js +8 -37
- package/bpk-component-icon/lg/breakfast-cross.js +8 -37
- package/bpk-component-icon/lg/breakfast-tick.js +8 -37
- package/bpk-component-icon/lg/bus.js +8 -37
- package/bpk-component-icon/lg/business.js +8 -37
- package/bpk-component-icon/lg/cafe.js +8 -37
- package/bpk-component-icon/lg/calendar.js +8 -37
- package/bpk-component-icon/lg/call-back.js +8 -39
- package/bpk-component-icon/lg/camera.js +8 -37
- package/bpk-component-icon/lg/camper-van.js +8 -39
- package/bpk-component-icon/lg/car-door.js +8 -37
- package/bpk-component-icon/lg/car-wash.js +8 -39
- package/bpk-component-icon/lg/cars-flexible.js +8 -37
- package/bpk-component-icon/lg/cars.js +8 -39
- package/bpk-component-icon/lg/center-location.js +8 -37
- package/bpk-component-icon/lg/chart.js +8 -37
- package/bpk-component-icon/lg/chauffeur.js +8 -37
- package/bpk-component-icon/lg/chevron-down.js +8 -37
- package/bpk-component-icon/lg/chevron-left.js +8 -37
- package/bpk-component-icon/lg/chevron-right.js +8 -37
- package/bpk-component-icon/lg/chevron-up.js +8 -37
- package/bpk-component-icon/lg/child-seat.js +8 -37
- package/bpk-component-icon/lg/child.js +8 -37
- package/bpk-component-icon/lg/city-center.js +8 -37
- package/bpk-component-icon/lg/city.js +8 -37
- package/bpk-component-icon/lg/clean-policy.js +8 -37
- package/bpk-component-icon/lg/clean.js +8 -41
- package/bpk-component-icon/lg/cleaning-medical.js +8 -37
- package/bpk-component-icon/lg/cloakroom.js +8 -41
- package/bpk-component-icon/lg/close-circle.js +8 -37
- package/bpk-component-icon/lg/close.js +8 -37
- package/bpk-component-icon/lg/collapse.js +8 -37
- package/bpk-component-icon/lg/content--copy.js +8 -39
- package/bpk-component-icon/lg/content--event.js +8 -37
- package/bpk-component-icon/lg/content--guides.js +8 -37
- package/bpk-component-icon/lg/currency.js +8 -37
- package/bpk-component-icon/lg/data.js +8 -39
- package/bpk-component-icon/lg/deals.js +8 -37
- package/bpk-component-icon/lg/depart.js +8 -39
- package/bpk-component-icon/lg/device-mid.js +8 -37
- package/bpk-component-icon/lg/device-wide.js +8 -37
- package/bpk-component-icon/lg/direct.js +8 -37
- package/bpk-component-icon/lg/document-csv.js +8 -37
- package/bpk-component-icon/lg/document-pdf.js +8 -37
- package/bpk-component-icon/lg/download.js +8 -39
- package/bpk-component-icon/lg/duration.js +8 -37
- package/bpk-component-icon/lg/eco-leaf.js +8 -37
- package/bpk-component-icon/lg/edit.js +8 -37
- package/bpk-component-icon/lg/education.js +8 -39
- package/bpk-component-icon/lg/electric.js +8 -37
- package/bpk-component-icon/lg/end-call.js +8 -37
- package/bpk-component-icon/lg/estimated.js +8 -37
- package/bpk-component-icon/lg/exclamation-circle.js +8 -37
- package/bpk-component-icon/lg/exclamation.js +8 -37
- package/bpk-component-icon/lg/expand.js +8 -37
- package/bpk-component-icon/lg/explore.js +8 -37
- package/bpk-component-icon/lg/face--blank.js +8 -37
- package/bpk-component-icon/lg/face--happy.js +8 -37
- package/bpk-component-icon/lg/face--sad.js +8 -37
- package/bpk-component-icon/lg/face-id.js +8 -37
- package/bpk-component-icon/lg/face-mask.js +8 -37
- package/bpk-component-icon/lg/family.js +8 -37
- package/bpk-component-icon/lg/fast-track.js +8 -39
- package/bpk-component-icon/lg/fast-train.js +8 -39
- package/bpk-component-icon/lg/filter.js +8 -38
- package/bpk-component-icon/lg/fingerprint.js +8 -37
- package/bpk-component-icon/lg/flag.js +8 -37
- package/bpk-component-icon/lg/flask.js +8 -37
- package/bpk-component-icon/lg/flight-flexible.js +8 -37
- package/bpk-component-icon/lg/flight-landing.js +8 -41
- package/bpk-component-icon/lg/flight-takeoff.js +8 -39
- package/bpk-component-icon/lg/flight.js +8 -39
- package/bpk-component-icon/lg/food.js +8 -37
- package/bpk-component-icon/lg/gears-automatic-circle.js +8 -37
- package/bpk-component-icon/lg/gears-automatic.js +8 -37
- package/bpk-component-icon/lg/gears-manual-circle.js +8 -37
- package/bpk-component-icon/lg/gears-manual.js +8 -37
- package/bpk-component-icon/lg/globe.js +8 -37
- package/bpk-component-icon/lg/grid-layout.js +8 -37
- package/bpk-component-icon/lg/headset.js +8 -37
- package/bpk-component-icon/lg/health-fitness.js +8 -37
- package/bpk-component-icon/lg/heart--outline.js +8 -37
- package/bpk-component-icon/lg/heart.js +8 -37
- package/bpk-component-icon/lg/help-circle.js +8 -37
- package/bpk-component-icon/lg/help.js +8 -37
- package/bpk-component-icon/lg/hide.js +8 -37
- package/bpk-component-icon/lg/hotel-flexible.js +8 -37
- package/bpk-component-icon/lg/hotels--disabled-facilities.js +8 -37
- package/bpk-component-icon/lg/hotels--jacuzzi.js +8 -37
- package/bpk-component-icon/lg/hotels--pets-allowed.js +8 -37
- package/bpk-component-icon/lg/hotels--smoking.js +8 -37
- package/bpk-component-icon/lg/hotels.js +8 -37
- package/bpk-component-icon/lg/infant.js +8 -37
- package/bpk-component-icon/lg/information--language-alert.js +8 -37
- package/bpk-component-icon/lg/information--language-question.js +8 -37
- package/bpk-component-icon/lg/information--language.js +8 -37
- package/bpk-component-icon/lg/information-circle.js +8 -37
- package/bpk-component-icon/lg/information.js +8 -37
- package/bpk-component-icon/lg/insurance.js +8 -37
- package/bpk-component-icon/lg/key.js +8 -37
- package/bpk-component-icon/lg/keypad.js +8 -37
- package/bpk-component-icon/lg/landmark.js +8 -37
- package/bpk-component-icon/lg/language.js +8 -37
- package/bpk-component-icon/lg/legroom--extra.js +8 -39
- package/bpk-component-icon/lg/legroom--normal.js +8 -39
- package/bpk-component-icon/lg/legroom--reduced.js +8 -39
- package/bpk-component-icon/lg/leisure.js +8 -37
- package/bpk-component-icon/lg/lightning.js +8 -37
- package/bpk-component-icon/lg/list.js +8 -37
- package/bpk-component-icon/lg/location.js +8 -37
- package/bpk-component-icon/lg/lock.js +8 -37
- package/bpk-component-icon/lg/logout.js +8 -39
- package/bpk-component-icon/lg/long-arrow-down.js +8 -37
- package/bpk-component-icon/lg/long-arrow-left.js +8 -37
- package/bpk-component-icon/lg/long-arrow-right.js +8 -37
- package/bpk-component-icon/lg/long-arrow-up.js +8 -37
- package/bpk-component-icon/lg/lounge.js +8 -39
- package/bpk-component-icon/lg/luggageall.js +8 -37
- package/bpk-component-icon/lg/mail.js +8 -39
- package/bpk-component-icon/lg/map.js +8 -37
- package/bpk-component-icon/lg/meal.js +8 -37
- package/bpk-component-icon/lg/media.js +8 -37
- package/bpk-component-icon/lg/menu--horizontal.js +8 -37
- package/bpk-component-icon/lg/menu--vertical.js +8 -37
- package/bpk-component-icon/lg/menu.js +8 -37
- package/bpk-component-icon/lg/mileage.js +8 -39
- package/bpk-component-icon/lg/minus.js +8 -37
- package/bpk-component-icon/lg/mobile.js +8 -37
- package/bpk-component-icon/lg/money.js +8 -37
- package/bpk-component-icon/lg/multiple-bookings.js +8 -37
- package/bpk-component-icon/lg/music.js +8 -37
- package/bpk-component-icon/lg/mute.js +8 -37
- package/bpk-component-icon/lg/native-android--back.js +8 -37
- package/bpk-component-icon/lg/native-android--close.js +8 -37
- package/bpk-component-icon/lg/native-android--forward.js +8 -37
- package/bpk-component-icon/lg/native-ios-close.js +8 -37
- package/bpk-component-icon/lg/navigation.js +8 -37
- package/bpk-component-icon/lg/new-window.js +8 -39
- package/bpk-component-icon/lg/news.js +8 -37
- package/bpk-component-icon/lg/night.js +8 -37
- package/bpk-component-icon/lg/not-allowed.js +8 -37
- package/bpk-component-icon/lg/onsen.js +8 -37
- package/bpk-component-icon/lg/origin.js +8 -37
- package/bpk-component-icon/lg/paid.js +8 -37
- package/bpk-component-icon/lg/paperclip.js +8 -37
- package/bpk-component-icon/lg/parking.js +8 -37
- package/bpk-component-icon/lg/passport.js +8 -37
- package/bpk-component-icon/lg/pause.js +8 -37
- package/bpk-component-icon/lg/payment-card.js +8 -37
- package/bpk-component-icon/lg/petrol.js +8 -37
- package/bpk-component-icon/lg/phone-call.js +8 -37
- package/bpk-component-icon/lg/picture.js +8 -37
- package/bpk-component-icon/lg/pin.js +8 -37
- package/bpk-component-icon/lg/plane-seat.js +8 -39
- package/bpk-component-icon/lg/play.js +8 -37
- package/bpk-component-icon/lg/plus.js +8 -37
- package/bpk-component-icon/lg/policy.js +8 -37
- package/bpk-component-icon/lg/powerplug.js +8 -37
- package/bpk-component-icon/lg/ppe.js +8 -37
- package/bpk-component-icon/lg/price-alerts.js +8 -37
- package/bpk-component-icon/lg/price-tag.js +8 -37
- package/bpk-component-icon/lg/print.js +8 -37
- package/bpk-component-icon/lg/recent-searches.js +8 -37
- package/bpk-component-icon/lg/redo.js +8 -37
- package/bpk-component-icon/lg/refresh.js +8 -37
- package/bpk-component-icon/lg/return.js +8 -39
- package/bpk-component-icon/lg/room.js +8 -37
- package/bpk-component-icon/lg/scales.js +8 -39
- package/bpk-component-icon/lg/search.js +8 -37
- package/bpk-component-icon/lg/self-service.js +8 -37
- package/bpk-component-icon/lg/send-message.js +8 -37
- package/bpk-component-icon/lg/services.js +8 -37
- package/bpk-component-icon/lg/settings.js +8 -37
- package/bpk-component-icon/lg/share--android.js +8 -37
- package/bpk-component-icon/lg/share--ios.js +8 -39
- package/bpk-component-icon/lg/share.js +8 -37
- package/bpk-component-icon/lg/single-booking.js +8 -37
- package/bpk-component-icon/lg/social-distancing.js +8 -39
- package/bpk-component-icon/lg/social-like.js +8 -37
- package/bpk-component-icon/lg/sort-down.js +8 -37
- package/bpk-component-icon/lg/sort-up.js +8 -37
- package/bpk-component-icon/lg/sort.js +8 -37
- package/bpk-component-icon/lg/speaker.js +8 -39
- package/bpk-component-icon/lg/star-half.js +8 -37
- package/bpk-component-icon/lg/star-outline.js +8 -37
- package/bpk-component-icon/lg/star.js +8 -37
- package/bpk-component-icon/lg/stops.js +8 -37
- package/bpk-component-icon/lg/swap--horizontal.js +8 -37
- package/bpk-component-icon/lg/swap--vertical.js +8 -37
- package/bpk-component-icon/lg/swap.js +8 -37
- package/bpk-component-icon/lg/taxi.js +8 -39
- package/bpk-component-icon/lg/thumbs-down.js +8 -37
- package/bpk-component-icon/lg/thumbs-up.js +8 -37
- package/bpk-component-icon/lg/tick-circle.js +8 -37
- package/bpk-component-icon/lg/tick.js +8 -37
- package/bpk-component-icon/lg/ticket-flexible.js +8 -37
- package/bpk-component-icon/lg/ticket.js +8 -37
- package/bpk-component-icon/lg/time.js +8 -37
- package/bpk-component-icon/lg/toilets.js +8 -37
- package/bpk-component-icon/lg/train.js +8 -37
- package/bpk-component-icon/lg/transmission-automatic.js +8 -37
- package/bpk-component-icon/lg/transmission-manual.js +8 -37
- package/bpk-component-icon/lg/trash.js +8 -37
- package/bpk-component-icon/lg/trend--down.js +8 -37
- package/bpk-component-icon/lg/trend--steady.js +8 -37
- package/bpk-component-icon/lg/trend--will-rise.js +8 -37
- package/bpk-component-icon/lg/trend.js +8 -37
- package/bpk-component-icon/lg/trips.js +8 -37
- package/bpk-component-icon/lg/undo.js +8 -37
- package/bpk-component-icon/lg/unlock.js +8 -37
- package/bpk-component-icon/lg/unmute.js +8 -39
- package/bpk-component-icon/lg/upgrade.js +8 -37
- package/bpk-component-icon/lg/upload.js +8 -38
- package/bpk-component-icon/lg/use-location.js +8 -37
- package/bpk-component-icon/lg/view.js +8 -37
- package/bpk-component-icon/lg/virus.js +8 -37
- package/bpk-component-icon/lg/wallet.js +8 -39
- package/bpk-component-icon/lg/weather--clear.js +8 -37
- package/bpk-component-icon/lg/weather--cloudy.js +8 -39
- package/bpk-component-icon/lg/weather--fog.js +8 -37
- package/bpk-component-icon/lg/weather--partly-cloudy.js +8 -39
- package/bpk-component-icon/lg/weather--rain.js +8 -41
- package/bpk-component-icon/lg/weather--snow.js +8 -37
- package/bpk-component-icon/lg/weather--thunderstorm.js +8 -41
- package/bpk-component-icon/lg/weather--tornado.js +8 -37
- package/bpk-component-icon/lg/weather--wind.js +8 -37
- package/bpk-component-icon/lg/weather.js +8 -37
- package/bpk-component-icon/lg/wifi.js +8 -37
- package/bpk-component-icon/lg/window--reduce.js +8 -39
- package/bpk-component-icon/lg/window.js +8 -37
- package/bpk-component-icon/lg/world--amer.js +8 -37
- package/bpk-component-icon/lg/world--apac.js +8 -37
- package/bpk-component-icon/lg/world--emea.js +8 -39
- package/bpk-component-icon/sm/accessibility.js +8 -38
- package/bpk-component-icon/sm/account--add.js +8 -38
- package/bpk-component-icon/sm/account--female.js +8 -38
- package/bpk-component-icon/sm/account--id-card.js +8 -38
- package/bpk-component-icon/sm/account--name.js +8 -38
- package/bpk-component-icon/sm/account--permit.js +8 -38
- package/bpk-component-icon/sm/account-circle.js +8 -38
- package/bpk-component-icon/sm/account.js +8 -38
- package/bpk-component-icon/sm/add-circle.js +8 -38
- package/bpk-component-icon/sm/adult.js +8 -38
- package/bpk-component-icon/sm/aircon.js +8 -38
- package/bpk-component-icon/sm/aircraft.js +8 -40
- package/bpk-component-icon/sm/airline--multiple.js +8 -38
- package/bpk-component-icon/sm/airline.js +8 -38
- package/bpk-component-icon/sm/airports.js +8 -38
- package/bpk-component-icon/sm/alert--active.js +8 -38
- package/bpk-component-icon/sm/alert--add.js +8 -38
- package/bpk-component-icon/sm/alert--expired.js +8 -38
- package/bpk-component-icon/sm/alert--remove.js +8 -38
- package/bpk-component-icon/sm/arrow-down.js +8 -38
- package/bpk-component-icon/sm/arrow-left.js +8 -38
- package/bpk-component-icon/sm/arrow-right.js +8 -38
- package/bpk-component-icon/sm/arrow-up.js +8 -38
- package/bpk-component-icon/sm/award.js +8 -38
- package/bpk-component-icon/sm/baby-carriage.js +8 -38
- package/bpk-component-icon/sm/baggage--add.js +8 -38
- package/bpk-component-icon/sm/baggage--remove.js +8 -38
- package/bpk-component-icon/sm/baggage-cabin-add.js +8 -38
- package/bpk-component-icon/sm/baggage-cabin-not-included.js +8 -41
- package/bpk-component-icon/sm/baggage-cabin.js +8 -38
- package/bpk-component-icon/sm/baggage-checked-add.js +8 -38
- package/bpk-component-icon/sm/baggage-checked-not-included.js +8 -41
- package/bpk-component-icon/sm/baggage-checked.js +8 -38
- package/bpk-component-icon/sm/baggage-cross.js +8 -38
- package/bpk-component-icon/sm/baggage-generic.js +8 -41
- package/bpk-component-icon/sm/baggage-tick.js +8 -38
- package/bpk-component-icon/sm/baggage.js +8 -38
- package/bpk-component-icon/sm/bar.js +8 -38
- package/bpk-component-icon/sm/beach.js +8 -40
- package/bpk-component-icon/sm/beer.js +8 -38
- package/bpk-component-icon/sm/breakfast-cross.js +8 -38
- package/bpk-component-icon/sm/breakfast-tick.js +8 -38
- package/bpk-component-icon/sm/bus.js +8 -40
- package/bpk-component-icon/sm/business.js +8 -38
- package/bpk-component-icon/sm/cafe.js +8 -38
- package/bpk-component-icon/sm/calendar.js +8 -38
- package/bpk-component-icon/sm/call-back.js +8 -40
- package/bpk-component-icon/sm/camera.js +8 -38
- package/bpk-component-icon/sm/camper-van.js +8 -40
- package/bpk-component-icon/sm/car-door.js +8 -38
- package/bpk-component-icon/sm/car-wash.js +8 -40
- package/bpk-component-icon/sm/cars-flexible.js +8 -38
- package/bpk-component-icon/sm/cars.js +8 -40
- package/bpk-component-icon/sm/center-location.js +8 -38
- package/bpk-component-icon/sm/chart.js +8 -38
- package/bpk-component-icon/sm/chauffeur.js +8 -40
- package/bpk-component-icon/sm/chevron-down.js +8 -38
- package/bpk-component-icon/sm/chevron-left.js +8 -38
- package/bpk-component-icon/sm/chevron-right.js +8 -38
- package/bpk-component-icon/sm/chevron-up.js +8 -38
- package/bpk-component-icon/sm/child-seat.js +8 -38
- package/bpk-component-icon/sm/child.js +8 -38
- package/bpk-component-icon/sm/city-center.js +8 -38
- package/bpk-component-icon/sm/city.js +8 -38
- package/bpk-component-icon/sm/clean-policy.js +8 -38
- package/bpk-component-icon/sm/clean.js +8 -40
- package/bpk-component-icon/sm/cleaning-medical.js +8 -38
- package/bpk-component-icon/sm/cloakroom.js +8 -38
- package/bpk-component-icon/sm/close-circle.js +8 -38
- package/bpk-component-icon/sm/close.js +8 -38
- package/bpk-component-icon/sm/collapse.js +8 -38
- package/bpk-component-icon/sm/content--copy.js +8 -40
- package/bpk-component-icon/sm/content--event.js +8 -38
- package/bpk-component-icon/sm/content--guides.js +8 -38
- package/bpk-component-icon/sm/currency.js +8 -38
- package/bpk-component-icon/sm/data.js +8 -40
- package/bpk-component-icon/sm/deals.js +8 -38
- package/bpk-component-icon/sm/depart.js +8 -42
- package/bpk-component-icon/sm/device-mid.js +8 -38
- package/bpk-component-icon/sm/device-wide.js +8 -38
- package/bpk-component-icon/sm/direct.js +8 -40
- package/bpk-component-icon/sm/document-csv.js +8 -38
- package/bpk-component-icon/sm/document-pdf.js +8 -38
- package/bpk-component-icon/sm/download.js +8 -40
- package/bpk-component-icon/sm/duration.js +8 -38
- package/bpk-component-icon/sm/eco-leaf.js +8 -38
- package/bpk-component-icon/sm/edit.js +8 -38
- package/bpk-component-icon/sm/education.js +8 -40
- package/bpk-component-icon/sm/electric.js +8 -38
- package/bpk-component-icon/sm/end-call.js +8 -38
- package/bpk-component-icon/sm/estimated.js +8 -38
- package/bpk-component-icon/sm/exclamation-circle.js +8 -38
- package/bpk-component-icon/sm/exclamation.js +8 -38
- package/bpk-component-icon/sm/expand.js +8 -38
- package/bpk-component-icon/sm/explore.js +8 -38
- package/bpk-component-icon/sm/face--blank.js +8 -38
- package/bpk-component-icon/sm/face--happy.js +8 -38
- package/bpk-component-icon/sm/face--sad.js +8 -38
- package/bpk-component-icon/sm/face-id.js +8 -38
- package/bpk-component-icon/sm/face-mask.js +8 -38
- package/bpk-component-icon/sm/family.js +8 -38
- package/bpk-component-icon/sm/fast-track.js +8 -40
- package/bpk-component-icon/sm/fast-train.js +8 -40
- package/bpk-component-icon/sm/filter.js +8 -39
- package/bpk-component-icon/sm/fingerprint.js +8 -38
- package/bpk-component-icon/sm/flag.js +8 -38
- package/bpk-component-icon/sm/flask.js +8 -38
- package/bpk-component-icon/sm/flight-flexible.js +8 -38
- package/bpk-component-icon/sm/flight-landing.js +8 -42
- package/bpk-component-icon/sm/flight-takeoff.js +8 -40
- package/bpk-component-icon/sm/flight.js +8 -40
- package/bpk-component-icon/sm/food.js +8 -38
- package/bpk-component-icon/sm/gears-automatic-circle.js +8 -38
- package/bpk-component-icon/sm/gears-automatic.js +8 -38
- package/bpk-component-icon/sm/gears-manual-circle.js +8 -38
- package/bpk-component-icon/sm/gears-manual.js +8 -38
- package/bpk-component-icon/sm/globe.js +8 -38
- package/bpk-component-icon/sm/grid-layout.js +8 -38
- package/bpk-component-icon/sm/headset.js +8 -38
- package/bpk-component-icon/sm/health-fitness.js +8 -38
- package/bpk-component-icon/sm/heart--outline.js +8 -38
- package/bpk-component-icon/sm/heart.js +8 -38
- package/bpk-component-icon/sm/help-circle.js +8 -38
- package/bpk-component-icon/sm/help.js +8 -38
- package/bpk-component-icon/sm/hide.js +8 -38
- package/bpk-component-icon/sm/hotel-flexible.js +8 -38
- package/bpk-component-icon/sm/hotels--disabled-facilities.js +8 -38
- package/bpk-component-icon/sm/hotels--jacuzzi.js +8 -40
- package/bpk-component-icon/sm/hotels--pets-allowed.js +8 -38
- package/bpk-component-icon/sm/hotels--smoking.js +8 -38
- package/bpk-component-icon/sm/hotels.js +8 -38
- package/bpk-component-icon/sm/infant.js +8 -40
- package/bpk-component-icon/sm/information--language-alert.js +8 -38
- package/bpk-component-icon/sm/information--language-question.js +8 -38
- package/bpk-component-icon/sm/information--language.js +8 -38
- package/bpk-component-icon/sm/information-circle.js +8 -38
- package/bpk-component-icon/sm/information.js +8 -38
- package/bpk-component-icon/sm/insurance.js +8 -38
- package/bpk-component-icon/sm/key.js +8 -38
- package/bpk-component-icon/sm/keypad.js +8 -38
- package/bpk-component-icon/sm/landmark.js +8 -38
- package/bpk-component-icon/sm/language.js +8 -38
- package/bpk-component-icon/sm/legroom--extra.js +8 -40
- package/bpk-component-icon/sm/legroom--normal.js +8 -40
- package/bpk-component-icon/sm/legroom--reduced.js +8 -40
- package/bpk-component-icon/sm/leisure.js +8 -38
- package/bpk-component-icon/sm/lightning.js +8 -38
- package/bpk-component-icon/sm/list.js +8 -38
- package/bpk-component-icon/sm/location.js +8 -38
- package/bpk-component-icon/sm/lock.js +8 -38
- package/bpk-component-icon/sm/logout.js +8 -40
- package/bpk-component-icon/sm/long-arrow-down.js +8 -39
- package/bpk-component-icon/sm/long-arrow-left.js +8 -39
- package/bpk-component-icon/sm/long-arrow-right.js +8 -39
- package/bpk-component-icon/sm/long-arrow-up.js +8 -39
- package/bpk-component-icon/sm/lounge.js +8 -38
- package/bpk-component-icon/sm/luggageall.js +8 -38
- package/bpk-component-icon/sm/mail.js +8 -40
- package/bpk-component-icon/sm/map.js +8 -38
- package/bpk-component-icon/sm/meal.js +8 -38
- package/bpk-component-icon/sm/media.js +8 -38
- package/bpk-component-icon/sm/menu--horizontal.js +8 -38
- package/bpk-component-icon/sm/menu--vertical.js +8 -38
- package/bpk-component-icon/sm/menu.js +8 -38
- package/bpk-component-icon/sm/mileage.js +8 -40
- package/bpk-component-icon/sm/minus.js +8 -38
- package/bpk-component-icon/sm/mobile.js +8 -38
- package/bpk-component-icon/sm/money.js +8 -38
- package/bpk-component-icon/sm/multiple-bookings.js +8 -38
- package/bpk-component-icon/sm/music.js +8 -38
- package/bpk-component-icon/sm/mute.js +8 -38
- package/bpk-component-icon/sm/native-android--back.js +8 -38
- package/bpk-component-icon/sm/native-android--close.js +8 -38
- package/bpk-component-icon/sm/native-android--forward.js +8 -38
- package/bpk-component-icon/sm/native-ios-close.js +8 -38
- package/bpk-component-icon/sm/navigation.js +8 -38
- package/bpk-component-icon/sm/new-window.js +8 -44
- package/bpk-component-icon/sm/news.js +8 -38
- package/bpk-component-icon/sm/night.js +8 -38
- package/bpk-component-icon/sm/not-allowed.js +8 -38
- package/bpk-component-icon/sm/onsen.js +8 -40
- package/bpk-component-icon/sm/origin.js +8 -38
- package/bpk-component-icon/sm/paid.js +8 -38
- package/bpk-component-icon/sm/paperclip.js +8 -38
- package/bpk-component-icon/sm/parking.js +8 -38
- package/bpk-component-icon/sm/passport.js +8 -38
- package/bpk-component-icon/sm/pause.js +8 -38
- package/bpk-component-icon/sm/payment-card.js +8 -38
- package/bpk-component-icon/sm/petrol.js +8 -38
- package/bpk-component-icon/sm/phone-call.js +8 -38
- package/bpk-component-icon/sm/picture.js +8 -38
- package/bpk-component-icon/sm/pin.js +8 -38
- package/bpk-component-icon/sm/plane-seat.js +8 -40
- package/bpk-component-icon/sm/play.js +8 -38
- package/bpk-component-icon/sm/plus.js +8 -38
- package/bpk-component-icon/sm/policy.js +8 -38
- package/bpk-component-icon/sm/powerplug.js +8 -38
- package/bpk-component-icon/sm/ppe.js +8 -38
- package/bpk-component-icon/sm/price-alerts.js +8 -38
- package/bpk-component-icon/sm/price-tag.js +8 -38
- package/bpk-component-icon/sm/print.js +8 -38
- package/bpk-component-icon/sm/recent-searches.js +8 -38
- package/bpk-component-icon/sm/redo.js +8 -38
- package/bpk-component-icon/sm/refresh.js +8 -38
- package/bpk-component-icon/sm/return.js +8 -42
- package/bpk-component-icon/sm/room.js +8 -38
- package/bpk-component-icon/sm/scales.js +8 -38
- package/bpk-component-icon/sm/search.js +8 -38
- package/bpk-component-icon/sm/self-service.js +8 -38
- package/bpk-component-icon/sm/send-message.js +8 -38
- package/bpk-component-icon/sm/services.js +8 -38
- package/bpk-component-icon/sm/settings.js +8 -38
- package/bpk-component-icon/sm/share--android.js +8 -38
- package/bpk-component-icon/sm/share--ios.js +8 -42
- package/bpk-component-icon/sm/share.js +8 -38
- package/bpk-component-icon/sm/single-booking.js +8 -38
- package/bpk-component-icon/sm/social-distancing.js +8 -40
- package/bpk-component-icon/sm/social-like.js +8 -38
- package/bpk-component-icon/sm/sort-down.js +8 -38
- package/bpk-component-icon/sm/sort-up.js +8 -38
- package/bpk-component-icon/sm/sort.js +8 -38
- package/bpk-component-icon/sm/speaker.js +8 -38
- package/bpk-component-icon/sm/star-half.js +8 -38
- package/bpk-component-icon/sm/star-outline.js +8 -38
- package/bpk-component-icon/sm/star.js +8 -38
- package/bpk-component-icon/sm/stops.js +8 -38
- package/bpk-component-icon/sm/swap--horizontal.js +8 -39
- package/bpk-component-icon/sm/swap--vertical.js +8 -38
- package/bpk-component-icon/sm/swap.js +8 -39
- package/bpk-component-icon/sm/taxi.js +8 -40
- package/bpk-component-icon/sm/thumbs-down.js +8 -38
- package/bpk-component-icon/sm/thumbs-up.js +8 -38
- package/bpk-component-icon/sm/tick-circle.js +8 -38
- package/bpk-component-icon/sm/tick.js +8 -38
- package/bpk-component-icon/sm/ticket-flexible.js +8 -38
- package/bpk-component-icon/sm/ticket.js +8 -38
- package/bpk-component-icon/sm/time.js +8 -38
- package/bpk-component-icon/sm/toilets.js +8 -38
- package/bpk-component-icon/sm/train.js +8 -38
- package/bpk-component-icon/sm/transmission-automatic.js +8 -38
- package/bpk-component-icon/sm/transmission-manual.js +8 -38
- package/bpk-component-icon/sm/trash.js +8 -38
- package/bpk-component-icon/sm/trend--down.js +8 -38
- package/bpk-component-icon/sm/trend--steady.js +8 -39
- package/bpk-component-icon/sm/trend--will-rise.js +8 -38
- package/bpk-component-icon/sm/trend.js +8 -38
- package/bpk-component-icon/sm/trips.js +8 -38
- package/bpk-component-icon/sm/undo.js +8 -38
- package/bpk-component-icon/sm/unlock.js +8 -38
- package/bpk-component-icon/sm/unmute.js +8 -40
- package/bpk-component-icon/sm/upgrade.js +8 -38
- package/bpk-component-icon/sm/upload.js +8 -39
- package/bpk-component-icon/sm/use-location.js +8 -38
- package/bpk-component-icon/sm/view.js +8 -38
- package/bpk-component-icon/sm/virus.js +8 -38
- package/bpk-component-icon/sm/wallet.js +8 -38
- package/bpk-component-icon/sm/weather--clear.js +8 -38
- package/bpk-component-icon/sm/weather--cloudy.js +8 -40
- package/bpk-component-icon/sm/weather--fog.js +8 -38
- package/bpk-component-icon/sm/weather--partly-cloudy.js +8 -38
- package/bpk-component-icon/sm/weather--rain.js +8 -40
- package/bpk-component-icon/sm/weather--snow.js +8 -38
- package/bpk-component-icon/sm/weather--thunderstorm.js +8 -42
- package/bpk-component-icon/sm/weather--tornado.js +8 -38
- package/bpk-component-icon/sm/weather--wind.js +8 -40
- package/bpk-component-icon/sm/weather.js +8 -38
- package/bpk-component-icon/sm/wifi.js +8 -38
- package/bpk-component-icon/sm/window--reduce.js +8 -40
- package/bpk-component-icon/sm/window.js +8 -38
- package/bpk-component-icon/sm/world--amer.js +8 -38
- package/bpk-component-icon/sm/world--apac.js +8 -38
- package/bpk-component-icon/sm/world--emea.js +8 -38
- package/bpk-component-icon/src/BpkIcon.module.scss +33 -0
- package/bpk-component-icon/src/classNameModifierHOCFactory-test.tsx +82 -0
- package/bpk-component-icon/src/classNameModifierHOCFactory.tsx +47 -0
- package/bpk-component-icon/src/withAlignment-test.tsx +96 -0
- package/bpk-component-icon/src/withAlignment.tsx +52 -0
- package/bpk-component-icon/src/withDescription-test.tsx +32 -0
- package/bpk-component-icon/src/withDescription.module.scss +22 -0
- package/bpk-component-icon/src/withDescription.tsx +43 -0
- package/bpk-component-icon/src/withRtlSupport.tsx +28 -0
- package/bpk-component-image/README.md +139 -0
- package/bpk-component-image/index.ts +34 -0
- package/bpk-component-image/src/BpkBackgroundImage-test.tsx +131 -0
- package/bpk-component-image/src/BpkBackgroundImage.module.scss +46 -0
- package/bpk-component-image/src/BpkBackgroundImage.tsx +161 -0
- package/bpk-component-image/src/BpkImage-test.tsx +149 -0
- package/bpk-component-image/src/BpkImage.module.scss +89 -0
- package/bpk-component-image/src/BpkImage.tsx +214 -0
- package/bpk-component-image/src/BpkImageBorderRadiusStyles.ts +21 -0
- package/bpk-component-image/src/accessibility-test.tsx +64 -0
- package/bpk-component-image/src/withLazyLoading-test.tsx +96 -0
- package/bpk-component-image/src/withLazyLoading.tsx +168 -0
- package/bpk-component-image/src/withLoadingBehavior.tsx +72 -0
- package/bpk-component-infinite-scroll/README.md +183 -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 +224 -174
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.module.scss +25 -0
- package/bpk-component-input/README.md +117 -0
- package/bpk-component-input/index.ts +40 -0
- package/bpk-component-input/src/BpkClearButton-test.tsx +42 -0
- package/bpk-component-input/src/BpkClearButton.module.scss +40 -0
- package/bpk-component-input/src/BpkClearButton.tsx +61 -0
- package/bpk-component-input/src/BpkInput-test.tsx +257 -0
- package/bpk-component-input/src/BpkInput.module.scss +86 -0
- package/bpk-component-input/src/BpkInput.tsx +174 -0
- package/bpk-component-input/src/accessibility-test.tsx +36 -0
- package/bpk-component-input/src/common-types-test.ts +173 -0
- package/bpk-component-input/src/common-types.ts +141 -0
- package/{bpk-component-image/src/BpkImageBorderRadiusStyles.js → bpk-component-input/src/themeAttributes-test.ts} +7 -12
- package/bpk-component-input/src/themeAttributes.ts +19 -0
- package/bpk-component-input/src/withOpenEvents-test.tsx +168 -0
- package/bpk-component-input/src/withOpenEvents.tsx +203 -0
- package/bpk-component-label/README.md +27 -0
- package/bpk-component-label/index.js +7 -10
- package/bpk-component-label/src/BpkLabel.js +50 -49
- 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 +42 -50
- package/bpk-component-link/src/BpkLink.js +66 -67
- 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 +48 -0
- package/bpk-component-list/index.js +23 -19
- package/bpk-component-list/src/BpkList.js +50 -36
- package/bpk-component-list/src/BpkList.module.scss +37 -0
- package/bpk-component-list/src/BpkListItem.js +33 -26
- package/bpk-component-loading-button/README.md +45 -0
- package/bpk-component-loading-button/index.js +7 -17
- package/bpk-component-loading-button/src/BpkLoadingButton.js +133 -95
- package/bpk-component-loading-button/src/BpkLoadingButton.module.scss +67 -0
- package/bpk-component-map/README.md +209 -0
- package/bpk-component-map/index.js +28 -59
- package/bpk-component-map/src/BpkBasicMapMarker.js +32 -38
- package/bpk-component-map/src/BpkIconMarker.js +77 -65
- package/bpk-component-map/src/BpkIconMarker.module.scss +79 -0
- package/bpk-component-map/src/BpkIconMarkerBackground.js +49 -54
- package/bpk-component-map/src/BpkIconMarkerBackground.module.scss +53 -0
- package/bpk-component-map/src/BpkMap.js +149 -92
- package/bpk-component-map/src/BpkMap.module.scss +21 -0
- package/bpk-component-map/src/BpkOverlayView.js +27 -39
- package/bpk-component-map/src/BpkPriceMarker.js +90 -71
- package/bpk-component-map/src/BpkPriceMarker.module.scss +148 -0
- package/bpk-component-map/src/DefaultLoadingElement.js +17 -20
- 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 +44 -43
- package/bpk-component-mobile-scroll-container/README.md +71 -0
- package/bpk-component-mobile-scroll-container/index.js +6 -10
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.js +188 -137
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.module.scss +52 -0
- package/bpk-component-modal/README.md +113 -0
- package/bpk-component-modal/index.ts +29 -0
- package/bpk-component-modal/src/BpkModal-test.tsx +46 -0
- package/bpk-component-modal/src/BpkModal.module.scss +46 -0
- package/bpk-component-modal/src/BpkModal.tsx +109 -0
- package/bpk-component-modal/src/BpkModalInner-test.tsx +202 -0
- package/bpk-component-modal/src/BpkModalInner.module.scss +125 -0
- package/bpk-component-modal/src/BpkModalInner.tsx +156 -0
- package/bpk-component-modal/src/BpkModalV2/BpKModal-test.tsx +313 -0
- package/bpk-component-modal/src/BpkModalV2/BpKModal.module.scss +178 -0
- package/bpk-component-modal/src/BpkModalV2/BpkModal.tsx +190 -0
- package/bpk-component-modal/src/BpkModalV2/README.md +90 -0
- package/bpk-component-modal/src/BpkModalV2/accessibility-test.tsx +42 -0
- package/bpk-component-modal/src/accessibility-test.tsx +46 -0
- package/bpk-component-modal/src/customPropTypes.js +29 -13
- package/bpk-component-modal/src/legacy-prop-types.js +59 -67
- package/bpk-component-modal/src/themeAttributes-test.ts +30 -0
- package/bpk-component-modal/src/{themeAttributes.js → themeAttributes.ts} +4 -9
- package/bpk-component-navigation-bar/README.md +109 -0
- package/bpk-component-navigation-bar/index.js +25 -31
- package/bpk-component-navigation-bar/src/BpkNavigationBar.js +89 -73
- package/bpk-component-navigation-bar/src/BpkNavigationBar.module.scss +78 -0
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.js +39 -42
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.scss +51 -0
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.js +36 -42
- 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 +123 -95
- package/bpk-component-nudger/src/BpkNudger.js +64 -58
- package/{bpk-component-dialog/index.js → bpk-component-nudger/src/BpkNudger.module.scss} +33 -17
- 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 +47 -0
- package/bpk-component-overlay/index.ts +27 -0
- package/bpk-component-overlay/src/BpkOverlay-test.tsx +70 -0
- package/bpk-component-overlay/src/BpkOverlay.module.scss +163 -0
- package/bpk-component-overlay/src/BpkOverlay.tsx +102 -0
- package/bpk-component-overlay/src/accessibility-test.tsx +35 -0
- package/bpk-component-page-indicator/README.md +41 -0
- package/bpk-component-page-indicator/index.js +11 -24
- package/bpk-component-page-indicator/src/BpkPageIndicator.js +110 -71
- package/bpk-component-page-indicator/src/BpkPageIndicator.module.scss +91 -0
- package/bpk-component-page-indicator/src/NavButton.js +59 -48
- package/bpk-component-pagination/README.md +56 -0
- package/bpk-component-pagination/index.js +6 -17
- package/bpk-component-pagination/src/BpkPagination.js +65 -68
- package/bpk-component-pagination/src/BpkPagination.module.scss +22 -0
- package/bpk-component-pagination/src/BpkPaginationBreak.js +11 -20
- package/bpk-component-pagination/src/BpkPaginationList.js +70 -54
- package/{bpk-react-utils/src/cssModules.js → bpk-component-pagination/src/BpkPaginationList.module.scss} +28 -13
- package/bpk-component-pagination/src/BpkPaginationNudger.js +50 -47
- package/bpk-component-pagination/src/BpkPaginationNudger.module.scss +34 -0
- package/bpk-component-pagination/src/BpkPaginationPage.js +33 -37
- 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 +30 -0
- package/bpk-component-panel/index.js +4 -10
- package/bpk-component-panel/src/BpkPanel.js +27 -40
- 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 +166 -127
- 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 +142 -112
- package/bpk-component-popover/src/BpkPopover.module.scss +127 -0
- package/bpk-component-popover/src/BpkPopoverPortal.js +186 -152
- 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 +39 -0
- package/bpk-component-price/index.js +7 -23
- package/bpk-component-price/src/BpkPrice.js +119 -84
- package/bpk-component-price/src/BpkPrice.module.scss +74 -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 -119
- 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 +40 -0
- package/bpk-component-radio/index.js +8 -17
- package/bpk-component-radio/src/BpkRadio.js +67 -58
- 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 +84 -0
- package/bpk-component-rating/index.js +7 -23
- package/bpk-component-rating/src/BpkRating.js +138 -104
- package/bpk-component-rating/src/BpkRating.module.scss +83 -0
- package/bpk-component-rating/src/common-types.js +8 -14
- package/bpk-component-rtl-toggle/README.md +23 -0
- package/bpk-component-rtl-toggle/index.ts +23 -0
- package/bpk-component-rtl-toggle/src/BpkRtlToggle-test.tsx +33 -0
- package/bpk-component-rtl-toggle/src/BpkRtlToggle.tsx +100 -0
- package/bpk-component-rtl-toggle/src/accessibility-test.tsx +30 -0
- package/bpk-component-rtl-toggle/src/updateOnDirectionChange-test.tsx +48 -0
- package/bpk-component-rtl-toggle/src/updateOnDirectionChange.tsx +71 -0
- package/bpk-component-rtl-toggle/src/utils.ts +29 -0
- package/bpk-component-scrollable-calendar/README.md +100 -0
- package/bpk-component-scrollable-calendar/index.ts +33 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar-test.tsx +101 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar.tsx +35 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate-test.tsx +74 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.tsx +41 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid-test.tsx +142 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.module.scss +31 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.tsx +60 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList-test.tsx +113 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.module.scss +36 -0
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.tsx +208 -0
- package/bpk-component-scrollable-calendar/src/accessibility-test.tsx +69 -0
- package/bpk-component-scrollable-calendar/src/utils-test.ts +43 -0
- package/bpk-component-scrollable-calendar/src/{utils.js → utils.ts} +20 -14
- package/bpk-component-scrollable-calendar/test-utils.ts +275 -0
- package/bpk-component-section-list/README.md +49 -0
- package/bpk-component-section-list/index.js +9 -24
- package/bpk-component-section-list/src/BpkSectionList.js +18 -28
- package/bpk-component-section-list/src/BpkSectionListItem.js +73 -67
- package/bpk-component-section-list/src/BpkSectionListItem.module.scss +54 -0
- package/bpk-component-section-list/src/BpkSectionListSection.js +43 -49
- package/bpk-component-section-list/src/BpkSectionListSection.module.scss +35 -0
- package/bpk-component-select/README.md +62 -0
- package/bpk-component-select/index.js +9 -17
- package/bpk-component-select/src/BpkSelect.js +95 -65
- package/bpk-component-select/src/BpkSelect.module.scss +131 -0
- package/bpk-component-select/src/themeAttributes.js +2 -8
- package/bpk-component-skip-link/README.md +27 -0
- package/bpk-component-skip-link/index.js +8 -17
- package/bpk-component-skip-link/src/BpkSkipLink.js +34 -40
- 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 +40 -0
- package/bpk-component-slider/index.js +6 -17
- package/bpk-component-slider/src/BpkSlider.js +33 -39
- package/bpk-component-slider/src/BpkSlider.module.scss +86 -0
- package/bpk-component-slider/src/themeAttributes.js +2 -8
- package/bpk-component-spinner/README.md +37 -0
- package/bpk-component-spinner/changelog.yml +55 -0
- package/bpk-component-spinner/index.js +32 -40
- package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +34 -95
- package/bpk-component-spinner/src/BpkLargeSpinner.js +38 -97
- package/bpk-component-spinner/src/BpkSpinner.js +37 -141
- 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 +39 -0
- package/bpk-component-split-input/index.js +10 -17
- package/bpk-component-split-input/src/BpkInputField.js +41 -56
- package/bpk-component-split-input/src/BpkInputField.module.scss +34 -0
- package/bpk-component-split-input/src/BpkSplitInput.js +222 -223
- package/bpk-component-split-input/src/BpkSplitInput.module.scss +36 -0
- package/bpk-component-star-rating/README.md +96 -0
- package/bpk-component-star-rating/index.js +21 -65
- package/bpk-component-star-rating/src/BpkInteractiveStar.js +60 -56
- package/bpk-component-star-rating/src/BpkInteractiveStar.module.scss +66 -0
- package/bpk-component-star-rating/src/BpkInteractiveStarRating.js +83 -67
- package/bpk-component-star-rating/src/BpkStar.js +78 -73
- package/bpk-component-star-rating/src/BpkStar.module.scss +63 -0
- package/bpk-component-star-rating/src/BpkStarRating.js +85 -62
- 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 +90 -74
- package/bpk-component-switch/README.md +34 -0
- package/bpk-component-switch/index.js +8 -17
- package/bpk-component-switch/src/BpkSwitch.js +47 -49
- package/bpk-component-switch/src/BpkSwitch.module.scss +92 -0
- package/bpk-component-switch/src/themeAttributes.js +2 -8
- package/bpk-component-table/README.md +62 -0
- package/bpk-component-table/index.js +34 -47
- package/bpk-component-table/src/BpkTable.js +31 -37
- package/bpk-component-table/src/BpkTable.module.scss +31 -0
- package/bpk-component-table/src/BpkTableBody.js +29 -33
- package/bpk-component-table/src/BpkTableCell.js +31 -36
- package/bpk-component-table/src/BpkTableHead.js +29 -33
- package/bpk-component-table/src/BpkTableHeadCell.js +31 -34
- package/bpk-component-table/src/BpkTableRow.js +29 -33
- package/bpk-component-text/README.md +69 -0
- package/bpk-component-text/index.ts +22 -0
- package/bpk-component-text/src/BpkText-test.tsx +84 -0
- package/bpk-component-text/src/BpkText.module.css +1 -1
- package/bpk-component-text/src/BpkText.module.scss +131 -0
- package/bpk-component-text/src/BpkText.tsx +98 -0
- package/bpk-component-text/src/accessibility-test.tsx +36 -0
- package/bpk-component-textarea/README.md +31 -0
- package/bpk-component-textarea/index.js +8 -17
- package/bpk-component-textarea/src/BpkTextarea.js +44 -41
- 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 +26 -0
- package/bpk-component-theme-toggle/index.js +6 -17
- package/bpk-component-theme-toggle/src/BpkThemeToggle.js +96 -101
- package/bpk-component-theme-toggle/src/BpkThemeToggle.module.scss +25 -0
- package/bpk-component-theme-toggle/src/theming.js +92 -52
- package/bpk-component-theme-toggle/src/updateOnThemeChange.js +57 -53
- package/bpk-component-theme-toggle/src/utils.js +5 -9
- package/bpk-component-ticket/README.md +34 -0
- package/bpk-component-ticket/index.js +6 -10
- package/bpk-component-ticket/src/BpkTicket.js +111 -80
- package/bpk-component-ticket/src/BpkTicket.module.scss +144 -0
- package/bpk-component-tooltip/README.md +65 -0
- package/bpk-component-tooltip/index.ts +26 -0
- package/bpk-component-tooltip/src/BpkTooltip-test.tsx +62 -0
- package/bpk-component-tooltip/src/BpkTooltip.module.scss +149 -0
- package/bpk-component-tooltip/src/BpkTooltip.tsx +89 -0
- package/bpk-component-tooltip/src/BpkTooltipPortal-test.tsx +94 -0
- package/bpk-component-tooltip/src/BpkTooltipPortal.tsx +214 -0
- package/bpk-component-tooltip/src/accessibility-test.tsx +34 -0
- package/bpk-component-tooltip/src/constants.ts +25 -0
- package/bpk-react-utils/README.md +246 -0
- package/bpk-react-utils/index.ts +56 -0
- package/bpk-react-utils/src/Portal-test.tsx +794 -0
- package/bpk-react-utils/src/Portal.tsx +342 -0
- package/bpk-react-utils/src/TransitionInitialMount-test.tsx +37 -0
- package/bpk-react-utils/src/{TransitionInitialMount.js → TransitionInitialMount.tsx} +28 -29
- package/bpk-react-utils/src/accessibility-test.tsx +73 -0
- package/bpk-react-utils/src/cssModules-test.ts +65 -0
- package/bpk-react-utils/src/cssModules.ts +27 -0
- package/bpk-react-utils/src/deprecated.js +23 -19
- package/bpk-react-utils/src/deviceDetection-test.ts +92 -0
- package/bpk-react-utils/src/deviceDetection.ts +29 -0
- package/bpk-react-utils/src/isRTL-test.ts +53 -0
- package/bpk-react-utils/src/{isRTL.js → isRTL.ts} +13 -11
- package/bpk-react-utils/src/withDefaultProps-test.tsx +58 -0
- package/bpk-react-utils/src/withDefaultProps.tsx +70 -0
- package/{bpk-component-boilerplate/src/BpkBoilerplate.d.ts → bpk-react-utils/src/wrapDisplayName-test.tsx} +19 -11
- package/bpk-react-utils/src/{wrapDisplayName.js → wrapDisplayName.ts} +10 -9
- package/bpk-scrim-utils/README.md +47 -0
- package/bpk-scrim-utils/index.ts +24 -0
- package/{bpk-component-calendar/src/custom-proptypes.js → bpk-scrim-utils/src/BpkScrim-test.tsx} +10 -11
- package/bpk-scrim-utils/src/BpkScrim.tsx +45 -0
- package/bpk-scrim-utils/src/accessibility-test.tsx +47 -0
- package/bpk-scrim-utils/src/bpk-scrim-content.module.scss +32 -0
- package/bpk-scrim-utils/src/bpk-scrim.module.scss +45 -0
- package/bpk-scrim-utils/src/{scroll-utils.js → scroll-utils.tsx} +38 -20
- package/bpk-scrim-utils/src/withScrim-test.tsx +222 -0
- package/bpk-scrim-utils/src/withScrim.tsx +170 -0
- package/bpk-theming/README.md +41 -0
- package/bpk-theming/index.js +4 -10
- package/bpk-theming/src/BpkThemeProvider.js +57 -60
- package/package.json +2 -2
- package/bpk-component-aria-live/index.js +0 -34
- package/bpk-component-aria-live/src/BpkAriaLive.js +0 -57
- package/bpk-component-badge/index.js +0 -42
- package/bpk-component-badge/src/BpkBadge.js +0 -72
- package/bpk-component-banner-alert/index.js +0 -62
- package/bpk-component-banner-alert/src/AnimateAndFade.js +0 -155
- package/bpk-component-banner-alert/src/BpkBannerAlert.js +0 -57
- package/bpk-component-banner-alert/src/BpkBannerAlertDismissable.js +0 -47
- package/bpk-component-banner-alert/src/BpkBannerAlertExpandable.js +0 -52
- package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +0 -192
- package/bpk-component-banner-alert/src/withBannerAlertState.js +0 -128
- package/bpk-component-boilerplate/src/BpkBoilerplate.js +0 -57
- package/bpk-component-breakpoint/index.js +0 -34
- package/bpk-component-breakpoint/src/BpkBreakpoint.js +0 -60
- package/bpk-component-button/src/BpkButtonV2/BpkButton.js +0 -77
- package/bpk-component-calendar/index.js +0 -124
- package/bpk-component-calendar/src/BpkCalendarContainer.js +0 -286
- package/bpk-component-calendar/src/BpkCalendarDate.js +0 -169
- package/bpk-component-calendar/src/BpkCalendarGrid.js +0 -142
- package/bpk-component-calendar/src/BpkCalendarGridHeader.js +0 -78
- package/bpk-component-calendar/src/BpkCalendarGridTransition.js +0 -172
- package/bpk-component-calendar/src/BpkCalendarNav.js +0 -165
- package/bpk-component-calendar/src/Week.js +0 -333
- package/bpk-component-calendar/src/composeCalendar.js +0 -132
- package/bpk-component-calendar/src/date-utils.js +0 -301
- package/bpk-component-calendar/src/themeAttributes.js +0 -25
- package/bpk-component-calendar/test-utils.js +0 -256
- package/bpk-component-card/index.js +0 -49
- package/bpk-component-card/src/BpkCard.js +0 -93
- package/bpk-component-card/src/BpkCardWrapper.js +0 -53
- package/bpk-component-card/src/BpkDividedCard.js +0 -74
- package/bpk-component-chip/index.js +0 -55
- package/bpk-component-chip/src/BpkDismissibleChip.js +0 -69
- package/bpk-component-chip/src/BpkDropdownChip.js +0 -60
- package/bpk-component-chip/src/BpkSelectableChip.js +0 -76
- package/bpk-component-chip/src/commonTypes.js +0 -57
- package/bpk-component-chip/src/themeAttributes.js +0 -25
- package/bpk-component-datepicker/index.js +0 -41
- package/bpk-component-datepicker/src/BpkDatepicker.js +0 -277
- package/bpk-component-dialog/src/BpkDialog.js +0 -78
- package/bpk-component-dialog/src/BpkDialogInner.js +0 -69
- package/bpk-component-graphic-promotion/index.js +0 -34
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.js +0 -152
- package/bpk-component-icon/index.js +0 -55
- package/bpk-component-icon/src/classNameModifierHOCFactory.js +0 -52
- package/bpk-component-icon/src/withAlignment.js +0 -47
- package/bpk-component-icon/src/withDescription.js +0 -42
- package/bpk-component-icon/src/withRtlSupport.js +0 -31
- package/bpk-component-image/index.js +0 -55
- package/bpk-component-image/src/BpkBackgroundImage.js +0 -138
- package/bpk-component-image/src/BpkImage.js +0 -170
- package/bpk-component-image/src/withLazyLoading.js +0 -136
- package/bpk-component-image/src/withLoadingBehavior.js +0 -54
- package/bpk-component-input/index.js +0 -66
- package/bpk-component-input/src/BpkClearButton.js +0 -71
- package/bpk-component-input/src/BpkInput.js +0 -164
- package/bpk-component-input/src/common-types.js +0 -92
- package/bpk-component-input/src/withOpenEvents.js +0 -149
- package/bpk-component-modal/index.js +0 -55
- package/bpk-component-modal/src/BpkModal.js +0 -94
- package/bpk-component-modal/src/BpkModalInner.js +0 -122
- package/bpk-component-modal/src/BpkModalV2/BpKModal.module.css +0 -18
- package/bpk-component-modal/src/BpkModalV2/BpkModal.js +0 -154
- package/bpk-component-overlay/index.js +0 -34
- package/bpk-component-overlay/src/BpkOverlay.js +0 -96
- package/bpk-component-rtl-toggle/src/BpkRtlToggle.js +0 -81
- package/bpk-component-rtl-toggle/src/updateOnDirectionChange.js +0 -61
- package/bpk-component-rtl-toggle/src/utils.js +0 -33
- package/bpk-component-scrollable-calendar/index.js +0 -55
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar.js +0 -29
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.js +0 -49
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +0 -64
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +0 -158
- package/bpk-component-scrollable-calendar/test-utils.js +0 -228
- package/bpk-component-text/index.js +0 -34
- package/bpk-component-text/src/BpkText.js +0 -83
- package/bpk-component-tooltip/src/BpkTooltip.js +0 -78
- package/bpk-component-tooltip/src/BpkTooltipPortal.js +0 -168
- package/bpk-component-tooltip/src/constants.js +0 -36
- package/bpk-react-utils/index.js +0 -106
- package/bpk-react-utils/src/Portal.js +0 -248
- package/bpk-react-utils/src/deviceDetection.js +0 -30
- package/bpk-react-utils/src/withDefaultProps.js +0 -64
- package/bpk-scrim-utils/src/BpkScrim.js +0 -44
- package/bpk-scrim-utils/src/withScrim.js +0 -150
- package/bpk-storybook-utils/index.js +0 -43
- package/bpk-storybook-utils/src/BpkDarkExampleWrapper.js +0 -54
- package/bpk-storybook-utils/src/BpkDarkExampleWrapper.module.css +0 -18
- package/index.css +0 -0
|
@@ -0,0 +1,390 @@
|
|
|
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 { createRef, Component } from 'react';
|
|
20
|
+
|
|
21
|
+
import BpkInput, { withOpenEvents } from '../../bpk-component-input';
|
|
22
|
+
import BpkModal from '../../bpk-component-modal';
|
|
23
|
+
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
24
|
+
import BpkPopover from '../../bpk-component-popover';
|
|
25
|
+
import { cssModules } from '../../bpk-react-utils';
|
|
26
|
+
import BpkBreakpoint, { BREAKPOINTS } from '../../bpk-component-breakpoint';
|
|
27
|
+
import {
|
|
28
|
+
composeCalendar,
|
|
29
|
+
BpkCalendarGridHeader,
|
|
30
|
+
BpkCalendarGrid,
|
|
31
|
+
BpkCalendarDate,
|
|
32
|
+
withCalendarState,
|
|
33
|
+
CALENDAR_SELECTION_TYPE,
|
|
34
|
+
DateUtils,
|
|
35
|
+
BpkCalendarNav,
|
|
36
|
+
} from '../../bpk-component-calendar';
|
|
37
|
+
import type {
|
|
38
|
+
DaysOfWeek,
|
|
39
|
+
ReactComponent,
|
|
40
|
+
SelectionConfiguration,
|
|
41
|
+
} from '../../bpk-component-calendar';
|
|
42
|
+
|
|
43
|
+
import STYLES from './BpkDatepicker.module.scss';
|
|
44
|
+
|
|
45
|
+
const getClassName = cssModules(STYLES);
|
|
46
|
+
|
|
47
|
+
const Input = withOpenEvents(BpkInput);
|
|
48
|
+
|
|
49
|
+
const DefaultCalendar = withCalendarState(
|
|
50
|
+
composeCalendar(
|
|
51
|
+
BpkCalendarNav,
|
|
52
|
+
BpkCalendarGridHeader,
|
|
53
|
+
BpkCalendarGrid,
|
|
54
|
+
BpkCalendarDate,
|
|
55
|
+
),
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
type Props = {
|
|
59
|
+
// Required
|
|
60
|
+
changeMonthLabel: string;
|
|
61
|
+
closeButtonText: string;
|
|
62
|
+
daysOfWeek: DaysOfWeek;
|
|
63
|
+
formatDate: (date: Date) => string;
|
|
64
|
+
formatDateFull: (date: Date) => string;
|
|
65
|
+
formatMonth: (date: Date) => string;
|
|
66
|
+
id: string;
|
|
67
|
+
title: string;
|
|
68
|
+
getApplicationElement: () => HTMLElement | null;
|
|
69
|
+
nextMonthLabel: string;
|
|
70
|
+
previousMonthLabel: string;
|
|
71
|
+
weekStartsOn: number;
|
|
72
|
+
// Optional
|
|
73
|
+
calendarComponent: ReactComponent;
|
|
74
|
+
inputComponent: ReactComponent;
|
|
75
|
+
dateModifiers?: {};
|
|
76
|
+
fixedWidth?: boolean;
|
|
77
|
+
inputProps?: {};
|
|
78
|
+
markOutsideDays?: boolean;
|
|
79
|
+
markToday?: boolean;
|
|
80
|
+
maxDate?: Date;
|
|
81
|
+
minDate?: Date;
|
|
82
|
+
onDateSelect?: ((date: Date, newDate?: Date) => void) | null;
|
|
83
|
+
onMonthChange?:
|
|
84
|
+
| ((
|
|
85
|
+
event: UIEvent,
|
|
86
|
+
{ month, source }: { month: Date; source: string },
|
|
87
|
+
) => void)
|
|
88
|
+
| null;
|
|
89
|
+
onOpenChange?: (arg0: boolean) => void | null;
|
|
90
|
+
selectionConfiguration?: SelectionConfiguration;
|
|
91
|
+
initiallyFocusedDate?: Date;
|
|
92
|
+
renderTarget?: null | HTMLElement | (() => null | HTMLElement);
|
|
93
|
+
isOpen?: boolean;
|
|
94
|
+
valid?: boolean;
|
|
95
|
+
// Disabling this as if we set a default property for this value it causes the internal onClose function to stop working for default setup
|
|
96
|
+
// eslint-disable-next-line react/require-default-props
|
|
97
|
+
onClose?: () => void;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
type State = {
|
|
101
|
+
isOpen: boolean;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
class BpkDatepicker extends Component<Props, State> {
|
|
105
|
+
inputRef: React.RefObject<HTMLInputElement>;
|
|
106
|
+
|
|
107
|
+
static defaultProps = {
|
|
108
|
+
calendarComponent: DefaultCalendar,
|
|
109
|
+
inputComponent: null,
|
|
110
|
+
dateModifiers: {},
|
|
111
|
+
inputProps: {},
|
|
112
|
+
fixedWidth: true,
|
|
113
|
+
markOutsideDays: true,
|
|
114
|
+
markToday: DefaultCalendar.defaultProps.markToday,
|
|
115
|
+
maxDate: DefaultCalendar.defaultProps.maxDate,
|
|
116
|
+
minDate: DefaultCalendar.defaultProps.minDate,
|
|
117
|
+
nextMonthLabel: null,
|
|
118
|
+
onDateSelect: null,
|
|
119
|
+
onOpenChange: null,
|
|
120
|
+
onMonthChange: null,
|
|
121
|
+
previousMonthLabel: null,
|
|
122
|
+
selectionConfiguration: {
|
|
123
|
+
type: CALENDAR_SELECTION_TYPE.single,
|
|
124
|
+
date: null,
|
|
125
|
+
},
|
|
126
|
+
initiallyFocusedDate: null,
|
|
127
|
+
renderTarget: null,
|
|
128
|
+
isOpen: false,
|
|
129
|
+
valid: null,
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
constructor(props: Props) {
|
|
133
|
+
super(props);
|
|
134
|
+
|
|
135
|
+
this.state = {
|
|
136
|
+
isOpen: props.isOpen!,
|
|
137
|
+
};
|
|
138
|
+
this.inputRef = createRef();
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
componentDidUpdate(prevProps: Props, prevState: State) {
|
|
142
|
+
const { isOpen } = this.props;
|
|
143
|
+
|
|
144
|
+
if (prevProps.isOpen !== isOpen && prevState.isOpen !== isOpen) {
|
|
145
|
+
if (isOpen) {
|
|
146
|
+
this.onOpen();
|
|
147
|
+
} else {
|
|
148
|
+
this.onClose();
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
onOpen = () => {
|
|
154
|
+
this.setState({
|
|
155
|
+
isOpen: true,
|
|
156
|
+
});
|
|
157
|
+
if (this.props.onOpenChange) {
|
|
158
|
+
this.props.onOpenChange(true);
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
onClose = () => {
|
|
163
|
+
this.setState({
|
|
164
|
+
isOpen: false,
|
|
165
|
+
});
|
|
166
|
+
if (this.props.onOpenChange) {
|
|
167
|
+
this.props.onOpenChange(false);
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Gets the correct label for the input field to be supplied to the aria-label
|
|
173
|
+
* @param {Object} selectionConfiguration current selection configuration
|
|
174
|
+
* @param {Function} formatDateFull function supplied to format date
|
|
175
|
+
* @returns {String} date string
|
|
176
|
+
*/
|
|
177
|
+
getLabel = (
|
|
178
|
+
selectionConfiguration: SelectionConfiguration,
|
|
179
|
+
formatDateFull: (date: Date) => string,
|
|
180
|
+
) => {
|
|
181
|
+
if (
|
|
182
|
+
selectionConfiguration.type === CALENDAR_SELECTION_TYPE.single &&
|
|
183
|
+
selectionConfiguration.date
|
|
184
|
+
) {
|
|
185
|
+
return formatDateFull(selectionConfiguration.date);
|
|
186
|
+
}
|
|
187
|
+
if (selectionConfiguration.type === CALENDAR_SELECTION_TYPE.range) {
|
|
188
|
+
if (selectionConfiguration.startDate && !selectionConfiguration.endDate) {
|
|
189
|
+
return formatDateFull(selectionConfiguration.startDate);
|
|
190
|
+
}
|
|
191
|
+
if (selectionConfiguration.startDate && selectionConfiguration.endDate) {
|
|
192
|
+
return `${formatDateFull(
|
|
193
|
+
selectionConfiguration.startDate,
|
|
194
|
+
)} - ${formatDateFull(selectionConfiguration.endDate)}`;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
return '';
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Gets the correct value for the input field
|
|
202
|
+
* @param {Object} selectionConfiguration current selection configuration
|
|
203
|
+
* @param {Function} formatDate function supplied to format date
|
|
204
|
+
* @returns {String} date value
|
|
205
|
+
*/
|
|
206
|
+
getValue = (
|
|
207
|
+
selectionConfiguration: SelectionConfiguration,
|
|
208
|
+
formatDate: (date: Date) => string,
|
|
209
|
+
) => {
|
|
210
|
+
if (
|
|
211
|
+
selectionConfiguration.type === CALENDAR_SELECTION_TYPE.single &&
|
|
212
|
+
selectionConfiguration.date
|
|
213
|
+
) {
|
|
214
|
+
return formatDate(selectionConfiguration.date);
|
|
215
|
+
}
|
|
216
|
+
if (selectionConfiguration.type === CALENDAR_SELECTION_TYPE.range) {
|
|
217
|
+
if (selectionConfiguration.startDate && !selectionConfiguration.endDate) {
|
|
218
|
+
return formatDate(selectionConfiguration.startDate);
|
|
219
|
+
}
|
|
220
|
+
if (selectionConfiguration.startDate && selectionConfiguration.endDate) {
|
|
221
|
+
return `${formatDate(selectionConfiguration.startDate)} - ${formatDate(
|
|
222
|
+
selectionConfiguration.endDate,
|
|
223
|
+
)}`;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
return '';
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
handleDateSelect = (startDate: Date, endDate: Date | null = null) => {
|
|
230
|
+
const { maxDate, minDate, onClose, onDateSelect, selectionConfiguration } =
|
|
231
|
+
this.props;
|
|
232
|
+
|
|
233
|
+
// When the calendar is a single date we always want to close it when a date is selected
|
|
234
|
+
// or if its a range calendar we only want to close the calendar when a range is selected.
|
|
235
|
+
// If a custom onClose function is provided then we don't want to run the internal version.
|
|
236
|
+
if (
|
|
237
|
+
selectionConfiguration &&
|
|
238
|
+
(selectionConfiguration.type === CALENDAR_SELECTION_TYPE.single ||
|
|
239
|
+
(selectionConfiguration.type === CALENDAR_SELECTION_TYPE.range &&
|
|
240
|
+
endDate)) &&
|
|
241
|
+
!onClose
|
|
242
|
+
) {
|
|
243
|
+
this.onClose();
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
if (onDateSelect) {
|
|
247
|
+
const newStartDate = DateUtils.dateToBoundaries(
|
|
248
|
+
startDate,
|
|
249
|
+
DateUtils.startOfDay(minDate!),
|
|
250
|
+
DateUtils.startOfDay(maxDate!),
|
|
251
|
+
);
|
|
252
|
+
const newEndDate = DateUtils.dateToBoundaries(
|
|
253
|
+
endDate,
|
|
254
|
+
DateUtils.startOfDay(minDate!),
|
|
255
|
+
DateUtils.startOfDay(maxDate!),
|
|
256
|
+
);
|
|
257
|
+
|
|
258
|
+
if (
|
|
259
|
+
selectionConfiguration &&
|
|
260
|
+
selectionConfiguration.type === CALENDAR_SELECTION_TYPE.range &&
|
|
261
|
+
selectionConfiguration.startDate &&
|
|
262
|
+
!selectionConfiguration.endDate &&
|
|
263
|
+
(DateUtils.isAfter(newEndDate, selectionConfiguration.startDate) ||
|
|
264
|
+
DateUtils.isSameDay(newEndDate, selectionConfiguration.startDate))
|
|
265
|
+
) {
|
|
266
|
+
onDateSelect(selectionConfiguration.startDate, newEndDate);
|
|
267
|
+
} else {
|
|
268
|
+
onDateSelect(newStartDate);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
render() {
|
|
274
|
+
const {
|
|
275
|
+
calendarComponent: Calendar,
|
|
276
|
+
changeMonthLabel,
|
|
277
|
+
closeButtonText,
|
|
278
|
+
dateModifiers,
|
|
279
|
+
daysOfWeek,
|
|
280
|
+
fixedWidth,
|
|
281
|
+
formatDate,
|
|
282
|
+
formatDateFull,
|
|
283
|
+
formatMonth,
|
|
284
|
+
getApplicationElement,
|
|
285
|
+
id,
|
|
286
|
+
initiallyFocusedDate,
|
|
287
|
+
inputComponent,
|
|
288
|
+
inputProps,
|
|
289
|
+
markOutsideDays,
|
|
290
|
+
markToday,
|
|
291
|
+
maxDate,
|
|
292
|
+
minDate,
|
|
293
|
+
nextMonthLabel,
|
|
294
|
+
onMonthChange,
|
|
295
|
+
previousMonthLabel,
|
|
296
|
+
renderTarget,
|
|
297
|
+
selectionConfiguration,
|
|
298
|
+
title,
|
|
299
|
+
valid,
|
|
300
|
+
weekStartsOn,
|
|
301
|
+
...rest
|
|
302
|
+
} = this.props;
|
|
303
|
+
|
|
304
|
+
// The following props are not used in render
|
|
305
|
+
delete rest.onDateSelect;
|
|
306
|
+
delete rest.onOpenChange;
|
|
307
|
+
delete rest.isOpen;
|
|
308
|
+
|
|
309
|
+
const input = inputComponent || (
|
|
310
|
+
<div
|
|
311
|
+
className={getClassName('bpk-datepicker__input')}
|
|
312
|
+
ref={this.inputRef}
|
|
313
|
+
>
|
|
314
|
+
<Input
|
|
315
|
+
id={id}
|
|
316
|
+
name={`${id}_input`}
|
|
317
|
+
value={this.getValue(selectionConfiguration!, formatDate)}
|
|
318
|
+
aria-live="assertive"
|
|
319
|
+
aria-atomic="true"
|
|
320
|
+
aria-label={this.getLabel(selectionConfiguration!, formatDateFull)}
|
|
321
|
+
onChange={() => null}
|
|
322
|
+
onOpen={this.onOpen}
|
|
323
|
+
isOpen={this.state.isOpen}
|
|
324
|
+
valid={valid}
|
|
325
|
+
{...inputProps}
|
|
326
|
+
/>
|
|
327
|
+
</div>
|
|
328
|
+
);
|
|
329
|
+
|
|
330
|
+
const calendarProps = {
|
|
331
|
+
id: `${id}-calendar`,
|
|
332
|
+
className: getClassName('bpk-datepicker__calendar'),
|
|
333
|
+
changeMonthLabel,
|
|
334
|
+
dateModifiers,
|
|
335
|
+
daysOfWeek,
|
|
336
|
+
formatDateFull,
|
|
337
|
+
formatMonth,
|
|
338
|
+
markOutsideDays,
|
|
339
|
+
markToday,
|
|
340
|
+
maxDate,
|
|
341
|
+
minDate,
|
|
342
|
+
nextMonthLabel,
|
|
343
|
+
onDateSelect: this.handleDateSelect,
|
|
344
|
+
onMonthChange,
|
|
345
|
+
previousMonthLabel,
|
|
346
|
+
weekStartsOn,
|
|
347
|
+
initiallyFocusedDate,
|
|
348
|
+
selectionConfiguration,
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
return (
|
|
352
|
+
<BpkBreakpoint query={BREAKPOINTS.MOBILE}>
|
|
353
|
+
{(isMobile: boolean) =>
|
|
354
|
+
isMobile ? (
|
|
355
|
+
<>
|
|
356
|
+
{input}
|
|
357
|
+
<BpkModal
|
|
358
|
+
id={`${id}-modal`}
|
|
359
|
+
renderTarget={renderTarget}
|
|
360
|
+
onClose={this.props.onClose || this.onClose}
|
|
361
|
+
isOpen={this.state.isOpen}
|
|
362
|
+
title={title}
|
|
363
|
+
closeLabel={closeButtonText}
|
|
364
|
+
getApplicationElement={getApplicationElement}
|
|
365
|
+
>
|
|
366
|
+
<Calendar {...calendarProps} fixedWidth={false} />
|
|
367
|
+
</BpkModal>
|
|
368
|
+
</>
|
|
369
|
+
) : (
|
|
370
|
+
<BpkPopover
|
|
371
|
+
id={`${id}-popover`}
|
|
372
|
+
target={input}
|
|
373
|
+
renderTarget={renderTarget}
|
|
374
|
+
onClose={this.props.onClose || this.onClose}
|
|
375
|
+
isOpen={this.state.isOpen}
|
|
376
|
+
label={title}
|
|
377
|
+
closeButtonText={closeButtonText}
|
|
378
|
+
tabIndex={0}
|
|
379
|
+
{...rest}
|
|
380
|
+
>
|
|
381
|
+
<Calendar {...calendarProps} fixedWidth={fixedWidth} />
|
|
382
|
+
</BpkPopover>
|
|
383
|
+
)
|
|
384
|
+
}
|
|
385
|
+
</BpkBreakpoint>
|
|
386
|
+
);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export default BpkDatepicker;
|
|
@@ -0,0 +1,105 @@
|
|
|
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 { render } from '@testing-library/react';
|
|
20
|
+
import { axe } from 'jest-axe';
|
|
21
|
+
|
|
22
|
+
import {
|
|
23
|
+
weekDays,
|
|
24
|
+
formatMonth,
|
|
25
|
+
formatDateFull,
|
|
26
|
+
} from '../../bpk-component-calendar/test-utils';
|
|
27
|
+
import { format } from '../../bpk-component-calendar/src/date-utils';
|
|
28
|
+
import { CALENDAR_SELECTION_TYPE } from '../../bpk-component-calendar';
|
|
29
|
+
|
|
30
|
+
jest.mock('@popperjs/core', () => {
|
|
31
|
+
const originalModule = jest.requireActual('@popperjs/core');
|
|
32
|
+
return {
|
|
33
|
+
...originalModule,
|
|
34
|
+
createPopper: jest.fn(() => ({
|
|
35
|
+
update: jest.fn(),
|
|
36
|
+
destroy: jest.fn(),
|
|
37
|
+
})),
|
|
38
|
+
};
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
// eslint-disable-next-line import/first
|
|
42
|
+
import BpkDatepicker from './BpkDatepicker';
|
|
43
|
+
|
|
44
|
+
const formatDate = (date: Date) => format(date, 'dd/MM/yyyy');
|
|
45
|
+
|
|
46
|
+
const inputProps = {
|
|
47
|
+
onChange: () => null,
|
|
48
|
+
placeholder: 'placeholder',
|
|
49
|
+
large: true,
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
describe('BpkDatepicker accessibility tests', () => {
|
|
53
|
+
it('should not have programmatically-detectable accessibility issues', async () => {
|
|
54
|
+
const { container } = render(
|
|
55
|
+
<BpkDatepicker
|
|
56
|
+
id="myDatepicker"
|
|
57
|
+
closeButtonText="Close"
|
|
58
|
+
daysOfWeek={weekDays}
|
|
59
|
+
changeMonthLabel="Change month"
|
|
60
|
+
title="Departure date"
|
|
61
|
+
weekStartsOn={1}
|
|
62
|
+
getApplicationElement={() => document.createElement('div')}
|
|
63
|
+
formatDate={formatDate}
|
|
64
|
+
formatMonth={formatMonth}
|
|
65
|
+
formatDateFull={formatDateFull}
|
|
66
|
+
inputProps={inputProps}
|
|
67
|
+
minDate={new Date(2010, 1, 15)}
|
|
68
|
+
maxDate={new Date(2010, 2, 15)}
|
|
69
|
+
selectionConfiguration={{
|
|
70
|
+
type: CALENDAR_SELECTION_TYPE.single,
|
|
71
|
+
date: new Date(2010, 1, 15),
|
|
72
|
+
}}
|
|
73
|
+
/>,
|
|
74
|
+
);
|
|
75
|
+
const results = await axe(container);
|
|
76
|
+
expect(results).toHaveNoViolations();
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
it('should not have programmatically-detectable accessibility issues when used in range configuration', async () => {
|
|
80
|
+
const { container } = render(
|
|
81
|
+
<BpkDatepicker
|
|
82
|
+
id="myDatepicker"
|
|
83
|
+
closeButtonText="Close"
|
|
84
|
+
daysOfWeek={weekDays}
|
|
85
|
+
changeMonthLabel="Change month"
|
|
86
|
+
title="Departure date"
|
|
87
|
+
weekStartsOn={1}
|
|
88
|
+
getApplicationElement={() => document.createElement('div')}
|
|
89
|
+
formatDate={formatDate}
|
|
90
|
+
formatMonth={formatMonth}
|
|
91
|
+
formatDateFull={formatDateFull}
|
|
92
|
+
inputProps={inputProps}
|
|
93
|
+
minDate={new Date(2010, 1, 15)}
|
|
94
|
+
maxDate={new Date(2010, 2, 15)}
|
|
95
|
+
selectionConfiguration={{
|
|
96
|
+
type: CALENDAR_SELECTION_TYPE.range,
|
|
97
|
+
startDate: new Date(2010, 1, 17),
|
|
98
|
+
endDate: new Date(2020, 1, 20),
|
|
99
|
+
}}
|
|
100
|
+
/>,
|
|
101
|
+
);
|
|
102
|
+
const results = await axe(container);
|
|
103
|
+
expect(results).toHaveNoViolations();
|
|
104
|
+
});
|
|
105
|
+
});
|
|
@@ -0,0 +1,40 @@
|
|
|
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 themeAttributes from './themeAttributes';
|
|
20
|
+
|
|
21
|
+
describe('themeAttributes', () => {
|
|
22
|
+
it('should export the correct theme attributes', () => {
|
|
23
|
+
expect(themeAttributes).toEqual([
|
|
24
|
+
'calendarDateTextColor',
|
|
25
|
+
'calendarDateTextHoverColor',
|
|
26
|
+
'calendarDateTextActiveColor',
|
|
27
|
+
'calendarDateTextFocusColor',
|
|
28
|
+
'calendarDateTextSelectedColor',
|
|
29
|
+
'calendarDateSelectedBackgroundColor',
|
|
30
|
+
'calendarDateFocusedBorderColor',
|
|
31
|
+
'calendarNudgerIconColor',
|
|
32
|
+
'calendarNudgerIconHoverColor',
|
|
33
|
+
'calendarNudgerIconActiveColor',
|
|
34
|
+
'linkColor',
|
|
35
|
+
'linkHoverColor',
|
|
36
|
+
'linkActiveColor',
|
|
37
|
+
'linkVisitedColor',
|
|
38
|
+
]);
|
|
39
|
+
});
|
|
40
|
+
});
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _bpkComponentCalendar = require("../../bpk-component-calendar");
|
|
8
|
-
var _bpkComponentModal = require("../../bpk-component-modal");
|
|
9
|
-
var _bpkComponentPopover = require("../../bpk-component-popover");
|
|
10
1
|
/*
|
|
11
2
|
* Backpack - Skyscanner's Design System
|
|
12
3
|
*
|
|
@@ -24,6 +15,16 @@ var _bpkComponentPopover = require("../../bpk-component-popover");
|
|
|
24
15
|
* See the License for the specific language governing permissions and
|
|
25
16
|
* limitations under the License.
|
|
26
17
|
*/
|
|
18
|
+
|
|
19
|
+
import { themeAttributes as calendarAttributes } from '../../bpk-component-calendar';
|
|
20
|
+
import { themeAttributes as modalAttributes } from '../../bpk-component-modal';
|
|
27
21
|
// @ts-expect-error Untyped import. See `decisions/imports-ts-suppressions.md`.
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
import { themeAttributes as popoverAttributes } from '../../bpk-component-popover';
|
|
23
|
+
|
|
24
|
+
export default [
|
|
25
|
+
...calendarAttributes,
|
|
26
|
+
...popoverAttributes,
|
|
27
|
+
...modalAttributes,
|
|
28
|
+
].filter(
|
|
29
|
+
(attribute, index, attributes) => attributes.indexOf(attribute) === index,
|
|
30
|
+
);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# bpk-component-description-list
|
|
2
|
+
|
|
3
|
+
> Backpack description list component.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Check the main [Readme](https://github.com/skyscanner/backpack#usage) for a complete installation guide.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import { BpkDescriptionList, BpkDescriptionTerm, BpkDescriptionDetails } from '@skyscanner/backpack-web/bpk-component-description-list';
|
|
13
|
+
|
|
14
|
+
export default () => (
|
|
15
|
+
<BpkDescriptionList>
|
|
16
|
+
<BpkDescriptionTerm>Apple</BpkDescriptionTerm>
|
|
17
|
+
<BpkDescriptionDetails>A fruit</BpkDescriptionDetails>
|
|
18
|
+
</BpkDescriptionList>
|
|
19
|
+
);
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Props
|
|
23
|
+
|
|
24
|
+
### BpkDescriptionList
|
|
25
|
+
|
|
26
|
+
| Property | PropType | Required | Default Value |
|
|
27
|
+
| --------- | -------- | -------- | ------------- |
|
|
28
|
+
| children | - | true | - |
|
|
29
|
+
| className | string | false | null |
|
|
30
|
+
|
|
31
|
+
### BpkDescriptionTerm
|
|
32
|
+
|
|
33
|
+
| Property | PropType | Required | Default Value |
|
|
34
|
+
| --------- | -------- | -------- | ------------- |
|
|
35
|
+
| children | - | true | - |
|
|
36
|
+
| className | string | false | null |
|
|
37
|
+
|
|
38
|
+
### BpkDescriptionDetails
|
|
39
|
+
|
|
40
|
+
| Property | PropType | Required | Default Value |
|
|
41
|
+
| --------- | -------- | -------- | ------------- |
|
|
42
|
+
| children | - | true | - |
|
|
43
|
+
| className | string | false | null |
|
|
@@ -1,27 +1,23 @@
|
|
|
1
|
-
|
|
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
|
+
*/
|
|
2
18
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
get: function () {
|
|
9
|
-
return _BpkDescriptionDetails.default;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "BpkDescriptionList", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return _BpkDescriptionList.default;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
Object.defineProperty(exports, "BpkDescriptionTerm", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () {
|
|
21
|
-
return _BpkDescriptionTerm.default;
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
var _BpkDescriptionList = _interopRequireDefault(require("./src/BpkDescriptionList"));
|
|
25
|
-
var _BpkDescriptionTerm = _interopRequireDefault(require("./src/BpkDescriptionTerm"));
|
|
26
|
-
var _BpkDescriptionDetails = _interopRequireDefault(require("./src/BpkDescriptionDetails"));
|
|
27
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
+
import BpkDescriptionList from './src/BpkDescriptionList';
|
|
20
|
+
import BpkDescriptionTerm from './src/BpkDescriptionTerm';
|
|
21
|
+
import BpkDescriptionDetails from './src/BpkDescriptionDetails';
|
|
22
|
+
|
|
23
|
+
export { BpkDescriptionList, BpkDescriptionTerm, BpkDescriptionDetails };
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _ComponentFactory = _interopRequireDefault(require("./ComponentFactory"));
|
|
8
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
1
|
/*
|
|
10
2
|
* Backpack - Skyscanner's Design System
|
|
11
3
|
*
|
|
@@ -23,5 +15,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
23
15
|
* See the License for the specific language governing permissions and
|
|
24
16
|
* limitations under the License.
|
|
25
17
|
*/
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
|
|
19
|
+
import buildComponent from './ComponentFactory';
|
|
20
|
+
|
|
21
|
+
export default buildComponent('dd', 'bpk-description-list__details');
|