@skyscanner/backpack-web 8.0.0 → 9.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bpk-animate-height/index.css +0 -0
- package/bpk-animate-height/index.js +13 -4
- package/bpk-animate-height/src/AnimateHeight.js +86 -76
- package/bpk-component-accordion/index.css +30 -0
- package/bpk-component-accordion/index.js +36 -30
- package/bpk-component-accordion/src/BpkAccordion.js +37 -36
- package/bpk-component-accordion/src/BpkAccordionItem.js +100 -105
- package/bpk-component-accordion/src/withAccordionItemState.js +64 -69
- package/bpk-component-accordion/src/withSingleItemAccordionState.js +62 -76
- package/bpk-component-aria-live/index.css +5 -0
- package/bpk-component-aria-live/index.js +21 -10
- package/bpk-component-aria-live/src/BpkAriaLive.js +44 -45
- package/bpk-component-autosuggest/index.css +41 -0
- package/bpk-component-autosuggest/index.js +21 -8
- package/bpk-component-autosuggest/src/BpkAutosuggest.js +56 -46
- package/bpk-component-autosuggest/src/BpkAutosuggestSuggestion.js +78 -82
- package/bpk-component-badge/index.css +29 -0
- package/bpk-component-badge/index.js +31 -9
- package/bpk-component-badge/src/BpkBadge.js +63 -48
- package/bpk-component-badge/src/themeAttributes.js +9 -6
- package/bpk-component-banner-alert/index.css +66 -0
- package/bpk-component-banner-alert/index.js +53 -17
- package/bpk-component-banner-alert/src/AnimateAndFade.js +128 -138
- package/bpk-component-banner-alert/src/BpkBannerAlert.js +20 -19
- package/bpk-component-banner-alert/src/BpkBannerAlertDismissable.js +45 -52
- package/bpk-component-banner-alert/src/BpkBannerAlertExpandable.js +55 -56
- package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +165 -186
- package/bpk-component-banner-alert/src/common-types.js +26 -41
- package/bpk-component-banner-alert/src/themeAttributes.js +9 -7
- package/bpk-component-banner-alert/src/withBannerAlertState.js +118 -143
- package/bpk-component-barchart/d3-array/src/array.js +11 -0
- package/bpk-component-barchart/d3-array/src/ascending.js +10 -0
- package/bpk-component-barchart/d3-array/src/bin.js +122 -0
- package/bpk-component-barchart/d3-array/src/bisect.js +24 -0
- package/bpk-component-barchart/d3-array/src/bisector.js +61 -0
- package/bpk-component-barchart/d3-array/src/constant.js +10 -0
- package/bpk-component-barchart/d3-array/src/count.js +28 -0
- package/bpk-component-barchart/d3-array/src/cross.js +42 -0
- package/bpk-component-barchart/d3-array/src/cumsum.js +12 -0
- package/bpk-component-barchart/d3-array/src/descending.js +10 -0
- package/bpk-component-barchart/d3-array/src/deviation.js +15 -0
- package/bpk-component-barchart/d3-array/src/difference.js +20 -0
- package/bpk-component-barchart/d3-array/src/disjoint.js +29 -0
- package/bpk-component-barchart/d3-array/src/every.js +19 -0
- package/bpk-component-barchart/d3-array/src/extent.js +39 -0
- package/bpk-component-barchart/d3-array/src/filter.js +20 -0
- package/bpk-component-barchart/d3-array/src/fsum.js +93 -0
- package/bpk-component-barchart/d3-array/src/greatest.js +38 -0
- package/bpk-component-barchart/d3-array/src/greatestIndex.js +30 -0
- package/bpk-component-barchart/d3-array/src/group.js +85 -0
- package/bpk-component-barchart/d3-array/src/groupSort.js +22 -0
- package/bpk-component-barchart/d3-array/src/identity.js +10 -0
- package/bpk-component-barchart/d3-array/src/index.js +567 -0
- package/bpk-component-barchart/d3-array/src/intersection.js +28 -0
- package/bpk-component-barchart/d3-array/src/least.js +38 -0
- package/bpk-component-barchart/d3-array/src/leastIndex.js +30 -0
- package/bpk-component-barchart/d3-array/src/map.js +12 -0
- package/bpk-component-barchart/d3-array/src/max.js +28 -0
- package/bpk-component-barchart/d3-array/src/maxIndex.js +30 -0
- package/bpk-component-barchart/d3-array/src/mean.js +29 -0
- package/bpk-component-barchart/d3-array/src/median.js +14 -0
- package/bpk-component-barchart/d3-array/src/merge.js +16 -0
- package/bpk-component-barchart/d3-array/src/min.js +28 -0
- package/bpk-component-barchart/d3-array/src/minIndex.js +30 -0
- package/bpk-component-barchart/d3-array/src/mode.js +40 -0
- package/bpk-component-barchart/d3-array/src/nice.js +28 -0
- package/bpk-component-barchart/d3-array/src/number.js +29 -0
- package/bpk-component-barchart/d3-array/src/pairs.js +25 -0
- package/bpk-component-barchart/d3-array/src/permute.js +10 -0
- package/bpk-component-barchart/d3-array/src/quantile.js +46 -0
- package/bpk-component-barchart/d3-array/src/quickselect.js +53 -0
- package/bpk-component-barchart/d3-array/src/range.js +19 -0
- package/bpk-component-barchart/d3-array/src/rank.js +34 -0
- package/bpk-component-barchart/d3-array/src/reduce.js +32 -0
- package/bpk-component-barchart/d3-array/src/reverse.js +11 -0
- package/bpk-component-barchart/d3-array/src/scan.js +15 -0
- package/bpk-component-barchart/d3-array/src/shuffle.js +26 -0
- package/bpk-component-barchart/d3-array/src/some.js +19 -0
- package/bpk-component-barchart/d3-array/src/sort.js +55 -0
- package/bpk-component-barchart/d3-array/src/subset.js +14 -0
- package/bpk-component-barchart/d3-array/src/sum.js +28 -0
- package/bpk-component-barchart/d3-array/src/superset.js +33 -0
- package/bpk-component-barchart/d3-array/src/threshold/freedmanDiaconis.js +16 -0
- package/bpk-component-barchart/d3-array/src/threshold/scott.js +16 -0
- package/bpk-component-barchart/d3-array/src/threshold/sturges.js +14 -0
- package/bpk-component-barchart/d3-array/src/ticks.js +60 -0
- package/bpk-component-barchart/d3-array/src/transpose.js +26 -0
- package/bpk-component-barchart/d3-array/src/union.js +20 -0
- package/bpk-component-barchart/d3-array/src/variance.js +35 -0
- package/bpk-component-barchart/d3-array/src/zip.js +14 -0
- package/bpk-component-barchart/d3-color/src/color.js +368 -0
- package/bpk-component-barchart/d3-color/src/cubehelix.js +71 -0
- package/bpk-component-barchart/d3-color/src/define.js +20 -0
- package/bpk-component-barchart/d3-color/src/index.js +65 -0
- package/bpk-component-barchart/d3-color/src/lab.js +140 -0
- package/bpk-component-barchart/d3-color/src/math.js +10 -0
- package/bpk-component-barchart/d3-format/src/defaultLocale.js +29 -0
- package/bpk-component-barchart/d3-format/src/exponent.js +12 -0
- package/bpk-component-barchart/d3-format/src/formatDecimal.js +24 -0
- package/bpk-component-barchart/d3-format/src/formatGroup.js +25 -0
- package/bpk-component-barchart/d3-format/src/formatNumerals.js +14 -0
- package/bpk-component-barchart/d3-format/src/formatPrefixAuto.js +22 -0
- package/bpk-component-barchart/d3-format/src/formatRounded.js +16 -0
- package/bpk-component-barchart/d3-format/src/formatSpecifier.js +45 -0
- package/bpk-component-barchart/d3-format/src/formatTrim.js +29 -0
- package/bpk-component-barchart/d3-format/src/formatTypes.js +31 -0
- package/bpk-component-barchart/d3-format/src/identity.js +10 -0
- package/bpk-component-barchart/d3-format/src/index.js +77 -0
- package/bpk-component-barchart/d3-format/src/locale.js +159 -0
- package/bpk-component-barchart/d3-format/src/precisionFixed.js +14 -0
- package/bpk-component-barchart/d3-format/src/precisionPrefix.js +14 -0
- package/bpk-component-barchart/d3-format/src/precisionRound.js +15 -0
- package/bpk-component-barchart/d3-interpolate/src/array.js +39 -0
- package/bpk-component-barchart/d3-interpolate/src/basis.js +25 -0
- package/bpk-component-barchart/d3-interpolate/src/basisClosed.js +20 -0
- package/bpk-component-barchart/d3-interpolate/src/color.js +40 -0
- package/bpk-component-barchart/d3-interpolate/src/constant.js +10 -0
- package/bpk-component-barchart/d3-interpolate/src/cubehelix.js +43 -0
- package/bpk-component-barchart/d3-interpolate/src/date.js +13 -0
- package/bpk-component-barchart/d3-interpolate/src/discrete.js +13 -0
- package/bpk-component-barchart/d3-interpolate/src/hcl.js +36 -0
- package/bpk-component-barchart/d3-interpolate/src/hsl.js +36 -0
- package/bpk-component-barchart/d3-interpolate/src/hue.js +16 -0
- package/bpk-component-barchart/d3-interpolate/src/index.js +215 -0
- package/bpk-component-barchart/d3-interpolate/src/lab.js +26 -0
- package/bpk-component-barchart/d3-interpolate/src/number.js +12 -0
- package/bpk-component-barchart/d3-interpolate/src/numberArray.js +23 -0
- package/bpk-component-barchart/d3-interpolate/src/object.js +32 -0
- package/bpk-component-barchart/d3-interpolate/src/piecewise.js +25 -0
- package/bpk-component-barchart/d3-interpolate/src/quantize.js +14 -0
- package/bpk-component-barchart/d3-interpolate/src/rgb.js +77 -0
- package/bpk-component-barchart/d3-interpolate/src/round.js +12 -0
- package/bpk-component-barchart/d3-interpolate/src/string.js +83 -0
- package/bpk-component-barchart/d3-interpolate/src/transform/decompose.js +33 -0
- package/bpk-component-barchart/d3-interpolate/src/transform/index.js +100 -0
- package/bpk-component-barchart/d3-interpolate/src/transform/parse.js +30 -0
- package/bpk-component-barchart/d3-interpolate/src/value.js +36 -0
- package/bpk-component-barchart/d3-interpolate/src/zoom.js +75 -0
- package/bpk-component-barchart/d3-scale/src/band.js +109 -0
- package/bpk-component-barchart/d3-scale/src/colors.js +12 -0
- package/bpk-component-barchart/d3-scale/src/constant.js +12 -0
- package/bpk-component-barchart/d3-scale/src/continuous.js +140 -0
- package/bpk-component-barchart/d3-scale/src/diverging.js +121 -0
- package/bpk-component-barchart/d3-scale/src/identity.js +37 -0
- package/bpk-component-barchart/d3-scale/src/index.js +213 -0
- package/bpk-component-barchart/d3-scale/src/init.js +46 -0
- package/bpk-component-barchart/d3-scale/src/linear.js +88 -0
- package/bpk-component-barchart/d3-scale/src/log.js +156 -0
- package/bpk-component-barchart/d3-scale/src/nice.js +24 -0
- package/bpk-component-barchart/d3-scale/src/number.js +10 -0
- package/bpk-component-barchart/d3-scale/src/ordinal.js +60 -0
- package/bpk-component-barchart/d3-scale/src/pow.js +59 -0
- package/bpk-component-barchart/d3-scale/src/quantile.js +64 -0
- package/bpk-component-barchart/d3-scale/src/quantize.js +61 -0
- package/bpk-component-barchart/d3-scale/src/radial.js +72 -0
- package/bpk-component-barchart/d3-scale/src/sequential.js +120 -0
- package/bpk-component-barchart/d3-scale/src/sequentialQuantile.js +51 -0
- package/bpk-component-barchart/d3-scale/src/symlog.js +46 -0
- package/bpk-component-barchart/d3-scale/src/threshold.js +44 -0
- package/bpk-component-barchart/d3-scale/src/tickFormat.js +44 -0
- package/bpk-component-barchart/d3-scale/src/time.js +82 -0
- package/bpk-component-barchart/d3-scale/src/utcTime.js +18 -0
- package/bpk-component-barchart/d3-time/src/day.js +18 -0
- package/bpk-component-barchart/d3-time/src/duration.js +20 -0
- package/bpk-component-barchart/d3-time/src/hour.js +26 -0
- package/bpk-component-barchart/d3-time/src/index.js +433 -0
- package/bpk-component-barchart/d3-time/src/interval.js +79 -0
- package/bpk-component-barchart/d3-time/src/millisecond.js +35 -0
- package/bpk-component-barchart/d3-time/src/minute.js +26 -0
- package/bpk-component-barchart/d3-time/src/month.js +25 -0
- package/bpk-component-barchart/d3-time/src/second.js +26 -0
- package/bpk-component-barchart/d3-time/src/ticks.js +71 -0
- package/bpk-component-barchart/d3-time/src/utcDay.js +26 -0
- package/bpk-component-barchart/d3-time/src/utcHour.js +26 -0
- package/bpk-component-barchart/d3-time/src/utcMinute.js +26 -0
- package/bpk-component-barchart/d3-time/src/utcMonth.js +25 -0
- package/bpk-component-barchart/d3-time/src/utcWeek.js +52 -0
- package/bpk-component-barchart/d3-time/src/utcYear.js +36 -0
- package/bpk-component-barchart/d3-time/src/week.js +52 -0
- package/bpk-component-barchart/d3-time/src/year.js +36 -0
- package/bpk-component-barchart/d3-time-format/src/defaultLocale.js +40 -0
- package/bpk-component-barchart/d3-time-format/src/index.js +67 -0
- package/bpk-component-barchart/d3-time-format/src/isoFormat.js +19 -0
- package/bpk-component-barchart/d3-time-format/src/isoParse.js +19 -0
- package/bpk-component-barchart/d3-time-format/src/locale.js +713 -0
- package/bpk-component-barchart/index.css +43 -0
- package/bpk-component-barchart/index.js +61 -21
- package/bpk-component-barchart/internmap/src/index.js +111 -0
- package/bpk-component-barchart/src/BpkBarchart.js +222 -268
- package/bpk-component-barchart/src/BpkBarchartBar.js +89 -114
- package/bpk-component-barchart/src/BpkBarchartBars.js +117 -129
- package/bpk-component-barchart/src/BpkBarchartDefs.js +32 -38
- package/bpk-component-barchart/src/BpkChartAxis.js +103 -136
- package/bpk-component-barchart/src/BpkChartDataTable.js +44 -49
- package/bpk-component-barchart/src/BpkChartGridLines.js +73 -95
- package/bpk-component-barchart/src/BpkChartMargin.js +39 -46
- package/bpk-component-barchart/src/RTLtransforms.js +50 -49
- package/bpk-component-barchart/src/customPropTypes.js +19 -22
- package/bpk-component-barchart/src/orientation.js +11 -5
- package/bpk-component-barchart/src/themeAttributes.js +9 -9
- package/bpk-component-barchart/src/utils.js +20 -10
- package/bpk-component-blockquote/index.css +11 -0
- package/bpk-component-blockquote/index.js +21 -6
- package/bpk-component-blockquote/src/BpkBlockquote.js +31 -22
- package/bpk-component-blockquote/src/themeAttributes.js +9 -2
- package/bpk-component-boilerplate/index.css +5 -0
- package/{bpk-component-calendar/src/BpkCalendar.module.scss → bpk-component-boilerplate/index.js} +13 -25
- package/bpk-component-boilerplate/src/BpkBoilerplate.js +53 -0
- package/bpk-component-breadcrumb/index.css +16 -0
- package/bpk-component-breadcrumb/index.js +21 -14
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.js +69 -79
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.js +75 -78
- package/bpk-component-breakpoint/index.css +0 -0
- package/bpk-component-breakpoint/index.js +21 -7
- package/bpk-component-breakpoint/src/BpkBreakpoint.js +46 -38
- package/bpk-component-button/BpkButtonDestructive.js +13 -19
- package/bpk-component-button/BpkButtonFeatured.js +13 -19
- package/bpk-component-button/BpkButtonLink.js +13 -19
- package/bpk-component-button/BpkButtonLinkOnDark.js +13 -19
- package/bpk-component-button/BpkButtonOutline.js +13 -19
- package/bpk-component-button/BpkButtonPrimary.js +13 -19
- package/bpk-component-button/BpkButtonPrimaryOnDark.js +13 -19
- package/bpk-component-button/BpkButtonPrimaryOnLight.js +13 -19
- package/bpk-component-button/BpkButtonSecondary.js +13 -19
- package/bpk-component-button/BpkButtonSecondaryOnDark.js +13 -19
- package/bpk-component-button/index.css +178 -0
- package/bpk-component-button/index.js +144 -40
- package/bpk-component-button/src/BpkButton.js +64 -87
- package/bpk-component-button/src/BpkButtonBase.js +71 -75
- package/bpk-component-button/src/BpkButtonDestructive.js +54 -36
- package/bpk-component-button/src/BpkButtonFeatured.js +54 -36
- package/bpk-component-button/src/BpkButtonLink.js +56 -42
- package/bpk-component-button/src/BpkButtonLinkOnDark.js +56 -42
- package/bpk-component-button/src/BpkButtonOutline.js +54 -36
- package/bpk-component-button/src/BpkButtonPrimary.js +25 -29
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.js +54 -36
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.js +54 -36
- package/bpk-component-button/src/BpkButtonSecondary.js +54 -36
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.js +54 -36
- package/bpk-component-button/src/common-types.js +24 -33
- package/bpk-component-button/src/commonButtonTests.js +79 -63
- package/bpk-component-button/src/themeAttributes.js +23 -75
- package/bpk-component-button/themeAttributes.js +53 -28
- package/bpk-component-calendar/index.css +136 -0
- package/bpk-component-calendar/index.js +126 -43
- package/bpk-component-calendar/src/BpkCalendarContainer.js +237 -272
- package/bpk-component-calendar/src/BpkCalendarDate.js +134 -122
- package/bpk-component-calendar/src/BpkCalendarGrid.js +133 -150
- package/bpk-component-calendar/src/BpkCalendarGridHeader.js +77 -61
- package/bpk-component-calendar/src/BpkCalendarGridTransition.js +109 -144
- package/bpk-component-calendar/src/BpkCalendarNav.js +148 -137
- package/bpk-component-calendar/src/Week.js +225 -283
- package/bpk-component-calendar/src/composeCalendar.js +113 -124
- package/bpk-component-calendar/src/custom-proptypes.js +50 -41
- package/bpk-component-calendar/src/date-utils.js +223 -93
- package/bpk-component-calendar/src/themeAttributes.js +9 -13
- package/bpk-component-calendar/src/utils.js +28 -20
- package/bpk-component-calendar/test-utils.js +239 -272
- package/bpk-component-card/index.css +17 -0
- package/bpk-component-card/index.js +13 -5
- package/bpk-component-card/src/BpkCard.js +69 -68
- package/bpk-component-checkbox/index.css +43 -0
- package/bpk-component-checkbox/index.js +21 -8
- package/bpk-component-checkbox/src/BpkCheckbox.js +73 -99
- package/bpk-component-checkbox/src/themeAttributes.js +9 -4
- package/bpk-component-chip/index.css +63 -0
- package/bpk-component-chip/index.js +37 -17
- package/bpk-component-chip/src/BpkDismissibleChip.js +32 -54
- package/bpk-component-chip/src/BpkSelectableChip.js +81 -86
- package/bpk-component-chip/src/commonTypes.js +28 -33
- package/bpk-component-chip/src/themeAttributes.js +9 -17
- package/bpk-component-close-button/index.css +15 -0
- package/bpk-component-close-button/index.js +13 -6
- package/bpk-component-close-button/src/BpkCloseButton.js +59 -56
- package/bpk-component-code/index.css +20 -0
- package/bpk-component-code/index.js +21 -21
- package/bpk-component-code/src/BpkCode.js +47 -44
- package/bpk-component-code/src/BpkCodeBlock.js +50 -50
- package/bpk-component-content-container/index.css +77 -0
- package/bpk-component-content-container/index.js +13 -4
- package/bpk-component-content-container/src/BpkContentContainer.js +52 -54
- package/bpk-component-datatable/index.css +40 -0
- package/bpk-component-datatable/index.js +22 -20
- package/bpk-component-datatable/src/BpkDataTable.js +183 -155
- package/bpk-component-datatable/src/BpkDataTableColumn.js +59 -51
- package/bpk-component-datatable/src/bpkHeaderRenderer.js +67 -73
- package/bpk-component-datatable/src/common-types.js +3 -48
- package/bpk-component-datatable/src/hasChildrenOfType.js +29 -36
- package/bpk-component-datatable/src/sort-types.js +1 -29
- package/bpk-component-datatable/src/sorter.js +62 -89
- package/bpk-component-datatable/src/utils.js +11 -6
- package/bpk-component-datepicker/index.css +7 -0
- package/bpk-component-datepicker/index.js +29 -8
- package/bpk-component-datepicker/src/BpkDatepicker.js +225 -275
- package/bpk-component-datepicker/src/themeAttributes.js +15 -11
- package/bpk-component-description-list/index.css +11 -0
- package/bpk-component-description-list/index.js +29 -21
- package/bpk-component-description-list/src/BpkDescriptionDetails.js +13 -3
- package/bpk-component-description-list/src/BpkDescriptionList.js +13 -3
- package/bpk-component-description-list/src/BpkDescriptionTerm.js +13 -3
- package/bpk-component-description-list/src/ComponentFactory.js +45 -38
- package/bpk-component-dialog/index.css +36 -0
- package/bpk-component-dialog/index.js +21 -9
- package/bpk-component-dialog/src/BpkDialog.js +72 -79
- package/bpk-component-dialog/src/BpkDialogInner.js +65 -75
- package/bpk-component-dialog/src/common-types.js +56 -80
- package/bpk-component-drawer/index.css +36 -0
- package/bpk-component-drawer/index.js +21 -8
- package/bpk-component-drawer/src/BpkDrawer.js +84 -77
- package/bpk-component-drawer/src/BpkDrawerContent.js +107 -123
- package/bpk-component-drawer/src/themeAttributes.js +11 -6
- package/bpk-component-fieldset/index.css +9 -0
- package/bpk-component-fieldset/index.js +37 -13
- package/bpk-component-fieldset/src/BpkFieldset.js +107 -130
- package/bpk-component-fieldset/src/themeAttributes.js +9 -2
- package/bpk-component-flare/gulpfile.js +59 -0
- package/bpk-component-flare/index.css +32 -0
- package/bpk-component-flare/index.js +27 -8
- package/bpk-component-flare/src/BpkContentBubble.js +66 -68
- package/bpk-component-flare/src/BpkFlareBar.js +62 -56
- package/bpk-component-flare/src/__generated__/js/corner-radius.js +33 -5
- package/bpk-component-flare/src/__generated__/js/pointer.js +33 -5
- package/bpk-component-flare/tasks/svg2react.js +73 -0
- package/bpk-component-floating-notification/index.css +29 -0
- package/bpk-component-floating-notification/index.js +21 -10
- package/bpk-component-floating-notification/src/BpkFloatingNotification.js +110 -123
- package/bpk-component-form-validation/index.css +15 -0
- package/bpk-component-form-validation/index.js +21 -6
- package/bpk-component-form-validation/src/BpkFormValidation.js +73 -76
- package/bpk-component-form-validation/src/themeAttributes.js +9 -2
- package/bpk-component-graphic-promotion/index.css +91 -0
- package/bpk-component-graphic-promotion/index.js +21 -10
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.js +128 -134
- package/bpk-component-grid/index.css +217 -0
- package/bpk-component-grid/index.js +21 -8
- package/bpk-component-grid/src/BpkGridColumn.js +143 -67
- package/bpk-component-grid/src/BpkGridContainer.js +52 -42
- package/bpk-component-grid/src/BpkGridRow.js +48 -41
- package/bpk-component-grid-toggle/index.css +9 -0
- package/bpk-component-grid-toggle/index.js +13 -4
- package/bpk-component-grid-toggle/src/BpkGridToggle.js +57 -68
- package/bpk-component-horizontal-nav/index.css +58 -0
- package/bpk-component-horizontal-nav/index.js +35 -15
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.js +135 -149
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.js +97 -110
- package/bpk-component-icon/all.js +5 -6
- package/bpk-component-icon/gulpfile.babel.js +38 -0
- package/{bpk-component-barchart/src/BpkChartAxis.module.scss → bpk-component-icon/gulpfile.js} +13 -17
- package/bpk-component-icon/index.css +14 -0
- package/bpk-component-icon/index.js +40 -27
- package/bpk-component-icon/lg/accessibility.js +39 -8
- package/bpk-component-icon/lg/account--add.js +39 -8
- package/bpk-component-icon/lg/account--female.js +39 -8
- package/bpk-component-icon/lg/account--id-card.js +39 -8
- package/bpk-component-icon/lg/account--name.js +39 -8
- package/bpk-component-icon/lg/account--permit.js +39 -8
- package/bpk-component-icon/lg/account-circle.js +39 -8
- package/bpk-component-icon/lg/account.js +39 -8
- package/bpk-component-icon/lg/add-circle.js +39 -8
- package/bpk-component-icon/lg/adult.js +39 -8
- package/bpk-component-icon/lg/aircon.js +39 -8
- package/bpk-component-icon/lg/aircraft.js +41 -8
- package/bpk-component-icon/lg/airline--multiple.js +39 -8
- package/bpk-component-icon/lg/airline.js +39 -8
- package/bpk-component-icon/lg/airports.js +39 -8
- package/bpk-component-icon/lg/alert--active.js +39 -8
- package/bpk-component-icon/lg/alert--add.js +39 -8
- package/bpk-component-icon/lg/alert--expired.js +39 -8
- package/bpk-component-icon/lg/alert--remove.js +39 -8
- package/bpk-component-icon/lg/arrow-down.js +39 -8
- package/bpk-component-icon/lg/arrow-left.js +39 -8
- package/bpk-component-icon/lg/arrow-right.js +39 -8
- package/bpk-component-icon/lg/arrow-up.js +39 -8
- package/bpk-component-icon/lg/award.js +39 -8
- package/bpk-component-icon/lg/baby-carriage.js +39 -8
- package/bpk-component-icon/lg/baggage--add.js +39 -8
- package/bpk-component-icon/lg/baggage--remove.js +39 -8
- package/bpk-component-icon/lg/baggage-cross.js +39 -8
- package/bpk-component-icon/lg/baggage-tick.js +39 -8
- package/bpk-component-icon/lg/baggage.js +39 -8
- package/bpk-component-icon/lg/bar.js +39 -8
- package/bpk-component-icon/lg/beach.js +41 -8
- package/bpk-component-icon/lg/beer.js +39 -8
- package/bpk-component-icon/lg/breakfast-cross.js +39 -8
- package/bpk-component-icon/lg/breakfast-tick.js +39 -8
- package/bpk-component-icon/lg/bus.js +39 -8
- package/bpk-component-icon/lg/business.js +39 -8
- package/bpk-component-icon/lg/cafe.js +39 -8
- package/bpk-component-icon/lg/calendar.js +39 -8
- package/bpk-component-icon/lg/call-back.js +41 -8
- package/bpk-component-icon/lg/camera.js +39 -8
- package/bpk-component-icon/lg/camper-van.js +41 -8
- package/bpk-component-icon/lg/car-door.js +39 -8
- package/bpk-component-icon/lg/car-wash.js +41 -8
- package/bpk-component-icon/lg/cars-flexible.js +39 -8
- package/bpk-component-icon/lg/cars.js +41 -8
- package/bpk-component-icon/lg/center-location.js +39 -8
- package/bpk-component-icon/lg/chart.js +39 -8
- package/bpk-component-icon/lg/chauffeur.js +39 -8
- package/bpk-component-icon/lg/chevron-down.js +39 -8
- package/bpk-component-icon/lg/chevron-left.js +39 -8
- package/bpk-component-icon/lg/chevron-right.js +39 -8
- package/bpk-component-icon/lg/chevron-up.js +39 -8
- package/bpk-component-icon/lg/child-seat.js +39 -8
- package/bpk-component-icon/lg/child.js +39 -8
- package/bpk-component-icon/lg/city-center.js +39 -8
- package/bpk-component-icon/lg/city.js +39 -8
- package/bpk-component-icon/lg/clean-policy.js +39 -8
- package/bpk-component-icon/lg/clean.js +43 -8
- package/bpk-component-icon/lg/cleaning-medical.js +39 -8
- package/bpk-component-icon/lg/cloakroom.js +43 -8
- package/bpk-component-icon/lg/close-circle.js +39 -8
- package/bpk-component-icon/lg/close.js +39 -8
- package/bpk-component-icon/lg/collapse.js +39 -8
- package/bpk-component-icon/lg/content--copy.js +41 -8
- package/bpk-component-icon/lg/content--event.js +39 -8
- package/bpk-component-icon/lg/content--guides.js +39 -8
- package/bpk-component-icon/lg/currency.js +39 -8
- package/bpk-component-icon/lg/data.js +41 -8
- package/bpk-component-icon/lg/deals.js +39 -8
- package/bpk-component-icon/lg/depart.js +41 -8
- package/bpk-component-icon/lg/device-mid.js +39 -8
- package/bpk-component-icon/lg/device-wide.js +39 -8
- package/bpk-component-icon/lg/direct.js +39 -8
- package/bpk-component-icon/lg/document-csv.js +39 -8
- package/bpk-component-icon/lg/document-pdf.js +39 -8
- package/bpk-component-icon/lg/download.js +41 -8
- package/bpk-component-icon/lg/duration.js +39 -8
- package/bpk-component-icon/lg/eco-leaf.js +39 -8
- package/bpk-component-icon/lg/edit.js +39 -8
- package/bpk-component-icon/lg/education.js +41 -8
- package/bpk-component-icon/lg/electric.js +39 -8
- package/bpk-component-icon/lg/end-call.js +39 -8
- package/bpk-component-icon/lg/estimated.js +39 -8
- package/bpk-component-icon/lg/exclamation-circle.js +39 -8
- package/bpk-component-icon/lg/exclamation.js +39 -8
- package/bpk-component-icon/lg/expand.js +39 -8
- package/bpk-component-icon/lg/explore.js +39 -8
- package/bpk-component-icon/lg/face--blank.js +39 -8
- package/bpk-component-icon/lg/face--happy.js +39 -8
- package/bpk-component-icon/lg/face--sad.js +39 -8
- package/bpk-component-icon/lg/face-id.js +39 -8
- package/bpk-component-icon/lg/face-mask.js +39 -8
- package/bpk-component-icon/lg/family.js +39 -8
- package/bpk-component-icon/lg/fast-track.js +41 -8
- package/bpk-component-icon/lg/fast-train.js +41 -8
- package/bpk-component-icon/lg/filter.js +40 -8
- package/bpk-component-icon/lg/fingerprint.js +39 -8
- package/bpk-component-icon/lg/flag.js +39 -8
- package/bpk-component-icon/lg/flask.js +39 -8
- package/bpk-component-icon/lg/flight-flexible.js +39 -8
- package/bpk-component-icon/lg/flight-landing.js +43 -8
- package/bpk-component-icon/lg/flight-takeoff.js +41 -8
- package/bpk-component-icon/lg/flight.js +41 -8
- package/bpk-component-icon/lg/food.js +39 -8
- package/bpk-component-icon/lg/gears-automatic-circle.js +39 -8
- package/bpk-component-icon/lg/gears-automatic.js +39 -8
- package/bpk-component-icon/lg/gears-manual-circle.js +39 -8
- package/bpk-component-icon/lg/gears-manual.js +39 -8
- package/bpk-component-icon/lg/globe.js +39 -8
- package/bpk-component-icon/lg/grid-layout.js +39 -8
- package/bpk-component-icon/lg/headset.js +39 -8
- package/bpk-component-icon/lg/health-fitness.js +39 -8
- package/bpk-component-icon/lg/heart--outline.js +39 -8
- package/bpk-component-icon/lg/heart.js +39 -8
- package/bpk-component-icon/lg/help-circle.js +39 -8
- package/bpk-component-icon/lg/help.js +39 -8
- package/bpk-component-icon/lg/hide.js +39 -8
- package/bpk-component-icon/lg/hotel-flexible.js +39 -8
- package/bpk-component-icon/lg/hotels--disabled-facilities.js +39 -8
- package/bpk-component-icon/lg/hotels--jacuzzi.js +39 -8
- package/bpk-component-icon/lg/hotels--pets-allowed.js +39 -8
- package/bpk-component-icon/lg/hotels--smoking.js +39 -8
- package/bpk-component-icon/lg/hotels.js +39 -8
- package/bpk-component-icon/lg/infant.js +39 -8
- package/bpk-component-icon/lg/information--language-alert.js +39 -8
- package/bpk-component-icon/lg/information--language-question.js +39 -8
- package/bpk-component-icon/lg/information--language.js +39 -8
- package/bpk-component-icon/lg/information-circle.js +39 -8
- package/bpk-component-icon/lg/information.js +39 -8
- package/bpk-component-icon/lg/insurance.js +39 -8
- package/bpk-component-icon/lg/key.js +39 -8
- package/bpk-component-icon/lg/keypad.js +39 -8
- package/bpk-component-icon/lg/landmark.js +39 -8
- package/bpk-component-icon/lg/language.js +39 -8
- package/bpk-component-icon/lg/legroom--extra.js +41 -8
- package/bpk-component-icon/lg/legroom--normal.js +41 -8
- package/bpk-component-icon/lg/legroom--reduced.js +41 -8
- package/bpk-component-icon/lg/leisure.js +39 -8
- package/bpk-component-icon/lg/lightning.js +39 -8
- package/bpk-component-icon/lg/list.js +39 -8
- package/bpk-component-icon/lg/location.js +39 -8
- package/bpk-component-icon/lg/lock.js +39 -8
- package/bpk-component-icon/lg/logout.js +41 -8
- package/bpk-component-icon/lg/long-arrow-down.js +39 -8
- package/bpk-component-icon/lg/long-arrow-left.js +39 -8
- package/bpk-component-icon/lg/long-arrow-right.js +39 -8
- package/bpk-component-icon/lg/long-arrow-up.js +39 -8
- package/bpk-component-icon/lg/lounge.js +41 -8
- package/bpk-component-icon/lg/luggageall.js +39 -8
- package/bpk-component-icon/lg/mail.js +41 -8
- package/bpk-component-icon/lg/map.js +39 -8
- package/bpk-component-icon/lg/meal.js +39 -8
- package/bpk-component-icon/lg/media.js +39 -8
- package/bpk-component-icon/lg/menu--horizontal.js +39 -8
- package/bpk-component-icon/lg/menu--vertical.js +39 -8
- package/bpk-component-icon/lg/menu.js +39 -8
- package/bpk-component-icon/lg/mileage.js +41 -8
- package/bpk-component-icon/lg/minus.js +39 -8
- package/bpk-component-icon/lg/mobile.js +39 -8
- package/bpk-component-icon/lg/money.js +39 -8
- package/bpk-component-icon/lg/multiple-bookings.js +39 -8
- package/bpk-component-icon/lg/music.js +39 -8
- package/bpk-component-icon/lg/mute.js +39 -8
- package/bpk-component-icon/lg/native-android--back.js +39 -8
- package/bpk-component-icon/lg/native-android--close.js +39 -8
- package/bpk-component-icon/lg/native-android--forward.js +39 -8
- package/bpk-component-icon/lg/native-ios-close.js +39 -8
- package/bpk-component-icon/lg/navigation.js +39 -8
- package/bpk-component-icon/lg/new-window.js +41 -8
- package/bpk-component-icon/lg/news.js +39 -8
- package/bpk-component-icon/lg/night.js +39 -8
- package/bpk-component-icon/lg/not-allowed.js +39 -8
- package/bpk-component-icon/lg/onsen.js +39 -8
- package/bpk-component-icon/lg/paid.js +39 -8
- package/bpk-component-icon/lg/paperclip.js +39 -8
- package/bpk-component-icon/lg/parking.js +39 -8
- package/bpk-component-icon/lg/passport.js +39 -8
- package/bpk-component-icon/lg/pause.js +39 -8
- package/bpk-component-icon/lg/payment-card.js +39 -8
- package/bpk-component-icon/lg/petrol.js +39 -8
- package/bpk-component-icon/lg/phone-call.js +39 -8
- package/bpk-component-icon/lg/picture.js +39 -8
- package/bpk-component-icon/lg/pin.js +39 -8
- package/bpk-component-icon/lg/plane-seat.js +41 -8
- package/bpk-component-icon/lg/play.js +39 -8
- package/bpk-component-icon/lg/plus.js +39 -8
- package/bpk-component-icon/lg/policy.js +39 -8
- package/bpk-component-icon/lg/powerplug.js +39 -8
- package/bpk-component-icon/lg/ppe.js +39 -8
- package/bpk-component-icon/lg/price-alerts.js +39 -8
- package/bpk-component-icon/lg/price-tag.js +39 -8
- package/bpk-component-icon/lg/print.js +39 -8
- package/bpk-component-icon/lg/recent-searches.js +39 -8
- package/bpk-component-icon/lg/redo.js +39 -8
- package/bpk-component-icon/lg/refresh.js +39 -8
- package/bpk-component-icon/lg/return.js +41 -8
- package/bpk-component-icon/lg/room.js +39 -8
- package/bpk-component-icon/lg/scales.js +41 -8
- package/bpk-component-icon/lg/search.js +39 -8
- package/bpk-component-icon/lg/self-service.js +39 -8
- package/bpk-component-icon/lg/send-message.js +39 -8
- package/bpk-component-icon/lg/services.js +39 -8
- package/bpk-component-icon/lg/settings.js +39 -8
- package/bpk-component-icon/lg/share--android.js +39 -8
- package/bpk-component-icon/lg/share--ios.js +41 -8
- package/bpk-component-icon/lg/share.js +39 -8
- package/bpk-component-icon/lg/single-booking.js +39 -8
- package/bpk-component-icon/lg/social-like.js +39 -8
- package/bpk-component-icon/lg/sort-down.js +39 -8
- package/bpk-component-icon/lg/sort-up.js +39 -8
- package/bpk-component-icon/lg/sort.js +39 -8
- package/bpk-component-icon/lg/speaker.js +41 -8
- package/bpk-component-icon/lg/star-half.js +39 -8
- package/bpk-component-icon/lg/star-outline.js +39 -8
- package/bpk-component-icon/lg/star.js +39 -8
- package/bpk-component-icon/lg/stops.js +39 -8
- package/bpk-component-icon/lg/swap--horizontal.js +39 -8
- package/bpk-component-icon/lg/swap--vertical.js +39 -8
- package/bpk-component-icon/lg/swap.js +39 -8
- package/bpk-component-icon/lg/taxi.js +41 -8
- package/bpk-component-icon/lg/thumbs-down.js +39 -8
- package/bpk-component-icon/lg/thumbs-up.js +39 -8
- package/bpk-component-icon/lg/tick-circle.js +39 -8
- package/bpk-component-icon/lg/tick.js +39 -8
- package/bpk-component-icon/lg/ticket-flexible.js +39 -8
- package/bpk-component-icon/lg/ticket.js +39 -8
- package/bpk-component-icon/lg/time.js +39 -8
- package/bpk-component-icon/lg/toilets.js +39 -8
- package/bpk-component-icon/lg/train.js +39 -8
- package/bpk-component-icon/lg/transmission-automatic.js +39 -8
- package/bpk-component-icon/lg/transmission-manual.js +39 -8
- package/bpk-component-icon/lg/trash.js +39 -8
- package/bpk-component-icon/lg/trend--down.js +39 -8
- package/bpk-component-icon/lg/trend--steady.js +39 -8
- package/bpk-component-icon/lg/trend--will-rise.js +39 -8
- package/bpk-component-icon/lg/trend.js +39 -8
- package/bpk-component-icon/lg/trips.js +39 -8
- package/bpk-component-icon/lg/undo.js +39 -8
- package/bpk-component-icon/lg/unlock.js +39 -8
- package/bpk-component-icon/lg/unmute.js +41 -8
- package/bpk-component-icon/lg/upgrade.js +39 -8
- package/bpk-component-icon/lg/use-location.js +39 -8
- package/bpk-component-icon/lg/view.js +39 -8
- package/bpk-component-icon/lg/virus.js +39 -8
- package/bpk-component-icon/lg/wallet.js +41 -8
- package/bpk-component-icon/lg/weather--clear.js +39 -8
- package/bpk-component-icon/lg/weather--cloudy.js +41 -8
- package/bpk-component-icon/lg/weather--fog.js +39 -8
- package/bpk-component-icon/lg/weather--partly-cloudy.js +41 -8
- package/bpk-component-icon/lg/weather--rain.js +43 -8
- package/bpk-component-icon/lg/weather--snow.js +39 -8
- package/bpk-component-icon/lg/weather--thunderstorm.js +43 -8
- package/bpk-component-icon/lg/weather--tornado.js +39 -8
- package/bpk-component-icon/lg/weather--wind.js +39 -8
- package/bpk-component-icon/lg/weather.js +39 -8
- package/bpk-component-icon/lg/wifi.js +39 -8
- package/bpk-component-icon/lg/window--reduce.js +41 -8
- package/bpk-component-icon/lg/window.js +39 -8
- package/bpk-component-icon/lg/world--amer.js +39 -8
- package/bpk-component-icon/lg/world--apac.js +39 -8
- package/bpk-component-icon/lg/world--emea.js +41 -8
- package/bpk-component-icon/sm/accessibility.js +40 -8
- package/bpk-component-icon/sm/account--add.js +40 -8
- package/bpk-component-icon/sm/account--female.js +40 -8
- package/bpk-component-icon/sm/account--id-card.js +40 -8
- package/bpk-component-icon/sm/account--name.js +40 -8
- package/bpk-component-icon/sm/account--permit.js +40 -8
- package/bpk-component-icon/sm/account-circle.js +40 -8
- package/bpk-component-icon/sm/account.js +40 -8
- package/bpk-component-icon/sm/add-circle.js +40 -8
- package/bpk-component-icon/sm/adult.js +40 -8
- package/bpk-component-icon/sm/aircon.js +40 -8
- package/bpk-component-icon/sm/aircraft.js +42 -8
- package/bpk-component-icon/sm/airline--multiple.js +40 -8
- package/bpk-component-icon/sm/airline.js +40 -8
- package/bpk-component-icon/sm/airports.js +40 -8
- package/bpk-component-icon/sm/alert--active.js +40 -8
- package/bpk-component-icon/sm/alert--add.js +40 -8
- package/bpk-component-icon/sm/alert--expired.js +40 -8
- package/bpk-component-icon/sm/alert--remove.js +40 -8
- package/bpk-component-icon/sm/arrow-down.js +40 -8
- package/bpk-component-icon/sm/arrow-left.js +40 -8
- package/bpk-component-icon/sm/arrow-right.js +40 -8
- package/bpk-component-icon/sm/arrow-up.js +40 -8
- package/bpk-component-icon/sm/award.js +40 -8
- package/bpk-component-icon/sm/baby-carriage.js +40 -8
- package/bpk-component-icon/sm/baggage--add.js +40 -8
- package/bpk-component-icon/sm/baggage--remove.js +40 -8
- package/bpk-component-icon/sm/baggage-cross.js +40 -8
- package/bpk-component-icon/sm/baggage-tick.js +40 -8
- package/bpk-component-icon/sm/baggage.js +40 -8
- package/bpk-component-icon/sm/bar.js +40 -8
- package/bpk-component-icon/sm/beach.js +42 -8
- package/bpk-component-icon/sm/beer.js +40 -8
- package/bpk-component-icon/sm/breakfast-cross.js +40 -8
- package/bpk-component-icon/sm/breakfast-tick.js +40 -8
- package/bpk-component-icon/sm/bus.js +42 -8
- package/bpk-component-icon/sm/business.js +40 -8
- package/bpk-component-icon/sm/cafe.js +40 -8
- package/bpk-component-icon/sm/calendar.js +40 -8
- package/bpk-component-icon/sm/call-back.js +42 -8
- package/bpk-component-icon/sm/camera.js +40 -8
- package/bpk-component-icon/sm/camper-van.js +42 -8
- package/bpk-component-icon/sm/car-door.js +40 -8
- package/bpk-component-icon/sm/car-wash.js +42 -8
- package/bpk-component-icon/sm/cars-flexible.js +40 -8
- package/bpk-component-icon/sm/cars.js +42 -8
- package/bpk-component-icon/sm/center-location.js +40 -0
- package/bpk-component-icon/sm/chart.js +40 -8
- package/bpk-component-icon/sm/chauffeur.js +42 -8
- package/bpk-component-icon/sm/chevron-down.js +40 -8
- package/bpk-component-icon/sm/chevron-left.js +40 -8
- package/bpk-component-icon/sm/chevron-right.js +40 -8
- package/bpk-component-icon/sm/chevron-up.js +40 -8
- package/bpk-component-icon/sm/child-seat.js +40 -8
- package/bpk-component-icon/sm/child.js +40 -8
- package/bpk-component-icon/sm/city-center.js +40 -8
- package/bpk-component-icon/sm/city.js +40 -8
- package/bpk-component-icon/sm/clean-policy.js +40 -8
- package/bpk-component-icon/sm/clean.js +42 -8
- package/bpk-component-icon/sm/cleaning-medical.js +40 -8
- package/bpk-component-icon/sm/cloakroom.js +40 -8
- package/bpk-component-icon/sm/close-circle.js +40 -8
- package/bpk-component-icon/sm/close.js +40 -8
- package/bpk-component-icon/sm/collapse.js +40 -8
- package/bpk-component-icon/sm/content--copy.js +42 -8
- package/bpk-component-icon/sm/content--event.js +40 -8
- package/bpk-component-icon/sm/content--guides.js +40 -8
- package/bpk-component-icon/sm/currency.js +40 -8
- package/bpk-component-icon/sm/data.js +42 -8
- package/bpk-component-icon/sm/deals.js +40 -8
- package/bpk-component-icon/sm/depart.js +44 -8
- package/bpk-component-icon/sm/device-mid.js +40 -8
- package/bpk-component-icon/sm/device-wide.js +40 -8
- package/bpk-component-icon/sm/direct.js +42 -8
- package/bpk-component-icon/sm/document-csv.js +40 -8
- package/bpk-component-icon/sm/document-pdf.js +40 -8
- package/bpk-component-icon/sm/download.js +42 -8
- package/bpk-component-icon/sm/duration.js +40 -8
- package/bpk-component-icon/sm/eco-leaf.js +40 -8
- package/bpk-component-icon/sm/edit.js +40 -8
- package/bpk-component-icon/sm/education.js +42 -8
- package/bpk-component-icon/sm/electric.js +40 -8
- package/bpk-component-icon/sm/end-call.js +40 -8
- package/bpk-component-icon/sm/estimated.js +40 -8
- package/bpk-component-icon/sm/exclamation-circle.js +40 -8
- package/bpk-component-icon/sm/exclamation.js +40 -8
- package/bpk-component-icon/sm/expand.js +40 -8
- package/bpk-component-icon/sm/explore.js +40 -8
- package/bpk-component-icon/sm/face--blank.js +40 -8
- package/bpk-component-icon/sm/face--happy.js +40 -8
- package/bpk-component-icon/sm/face--sad.js +40 -8
- package/bpk-component-icon/sm/face-id.js +40 -0
- package/bpk-component-icon/sm/face-mask.js +40 -8
- package/bpk-component-icon/sm/family.js +40 -8
- package/bpk-component-icon/sm/fast-track.js +42 -8
- package/bpk-component-icon/sm/fast-train.js +42 -8
- package/bpk-component-icon/sm/filter.js +41 -8
- package/bpk-component-icon/sm/fingerprint.js +40 -0
- package/bpk-component-icon/sm/flag.js +40 -8
- package/bpk-component-icon/sm/flask.js +40 -8
- package/bpk-component-icon/sm/flight-flexible.js +40 -8
- package/bpk-component-icon/sm/flight-landing.js +44 -8
- package/bpk-component-icon/sm/flight-takeoff.js +42 -8
- package/bpk-component-icon/sm/flight.js +42 -8
- package/bpk-component-icon/sm/food.js +40 -8
- package/bpk-component-icon/sm/gears-automatic-circle.js +40 -8
- package/bpk-component-icon/sm/gears-automatic.js +40 -8
- package/bpk-component-icon/sm/gears-manual-circle.js +40 -8
- package/bpk-component-icon/sm/gears-manual.js +40 -8
- package/bpk-component-icon/sm/globe.js +40 -8
- package/bpk-component-icon/sm/grid-layout.js +40 -8
- package/bpk-component-icon/sm/headset.js +40 -8
- package/bpk-component-icon/sm/health-fitness.js +40 -8
- package/bpk-component-icon/sm/heart--outline.js +40 -8
- package/bpk-component-icon/sm/heart.js +40 -8
- package/bpk-component-icon/sm/help-circle.js +40 -8
- package/bpk-component-icon/sm/help.js +40 -8
- package/bpk-component-icon/sm/hide.js +40 -8
- package/bpk-component-icon/sm/hotel-flexible.js +40 -8
- package/bpk-component-icon/sm/hotels--disabled-facilities.js +40 -8
- package/bpk-component-icon/sm/hotels--jacuzzi.js +42 -8
- package/bpk-component-icon/sm/hotels--pets-allowed.js +40 -8
- package/bpk-component-icon/sm/hotels--smoking.js +40 -8
- package/bpk-component-icon/sm/hotels.js +40 -8
- package/bpk-component-icon/sm/infant.js +42 -8
- package/bpk-component-icon/sm/information--language-alert.js +40 -8
- package/bpk-component-icon/sm/information--language-question.js +40 -8
- package/bpk-component-icon/sm/information--language.js +40 -8
- package/bpk-component-icon/sm/information-circle.js +40 -8
- package/bpk-component-icon/sm/information.js +40 -8
- package/bpk-component-icon/sm/insurance.js +40 -8
- package/bpk-component-icon/sm/key.js +40 -8
- package/bpk-component-icon/sm/keypad.js +40 -8
- package/bpk-component-icon/sm/landmark.js +40 -8
- package/bpk-component-icon/sm/language.js +40 -8
- package/bpk-component-icon/sm/legroom--extra.js +42 -8
- package/bpk-component-icon/sm/legroom--normal.js +42 -8
- package/bpk-component-icon/sm/legroom--reduced.js +42 -8
- package/bpk-component-icon/sm/leisure.js +40 -8
- package/bpk-component-icon/sm/lightning.js +40 -8
- package/bpk-component-icon/sm/list.js +40 -8
- package/bpk-component-icon/sm/location.js +40 -8
- package/bpk-component-icon/sm/lock.js +40 -8
- package/bpk-component-icon/sm/logout.js +42 -8
- package/bpk-component-icon/sm/long-arrow-down.js +41 -8
- package/bpk-component-icon/sm/long-arrow-left.js +41 -8
- package/bpk-component-icon/sm/long-arrow-right.js +41 -8
- package/bpk-component-icon/sm/long-arrow-up.js +41 -8
- package/bpk-component-icon/sm/lounge.js +40 -8
- package/bpk-component-icon/sm/luggageall.js +40 -8
- package/bpk-component-icon/sm/mail.js +42 -8
- package/bpk-component-icon/sm/map.js +40 -8
- package/bpk-component-icon/sm/meal.js +40 -8
- package/bpk-component-icon/sm/media.js +40 -8
- package/bpk-component-icon/sm/menu--horizontal.js +40 -8
- package/bpk-component-icon/sm/menu--vertical.js +40 -8
- package/bpk-component-icon/sm/menu.js +40 -8
- package/bpk-component-icon/sm/mileage.js +42 -8
- package/bpk-component-icon/sm/minus.js +40 -8
- package/bpk-component-icon/sm/mobile.js +40 -8
- package/bpk-component-icon/sm/money.js +40 -8
- package/bpk-component-icon/sm/multiple-bookings.js +40 -8
- package/bpk-component-icon/sm/music.js +40 -8
- package/bpk-component-icon/sm/mute.js +40 -8
- package/bpk-component-icon/sm/native-android--back.js +40 -8
- package/bpk-component-icon/sm/native-android--close.js +40 -8
- package/bpk-component-icon/sm/native-android--forward.js +40 -8
- package/bpk-component-icon/sm/native-ios-close.js +40 -8
- package/bpk-component-icon/sm/navigation.js +40 -8
- package/bpk-component-icon/sm/new-window.js +46 -8
- package/bpk-component-icon/sm/news.js +40 -8
- package/bpk-component-icon/sm/night.js +40 -8
- package/bpk-component-icon/sm/not-allowed.js +40 -8
- package/bpk-component-icon/sm/onsen.js +42 -8
- package/bpk-component-icon/sm/paid.js +40 -8
- package/bpk-component-icon/sm/paperclip.js +40 -8
- package/bpk-component-icon/sm/parking.js +40 -8
- package/bpk-component-icon/sm/passport.js +40 -8
- package/bpk-component-icon/sm/pause.js +40 -8
- package/bpk-component-icon/sm/payment-card.js +40 -8
- package/bpk-component-icon/sm/petrol.js +40 -8
- package/bpk-component-icon/sm/phone-call.js +40 -8
- package/bpk-component-icon/sm/picture.js +40 -8
- package/bpk-component-icon/sm/pin.js +40 -8
- package/bpk-component-icon/sm/plane-seat.js +42 -8
- package/bpk-component-icon/sm/play.js +40 -8
- package/bpk-component-icon/sm/plus.js +40 -8
- package/bpk-component-icon/sm/policy.js +40 -8
- package/bpk-component-icon/sm/powerplug.js +40 -8
- package/bpk-component-icon/sm/ppe.js +40 -8
- package/bpk-component-icon/sm/price-alerts.js +40 -8
- package/bpk-component-icon/sm/price-tag.js +40 -8
- package/bpk-component-icon/sm/print.js +40 -8
- package/bpk-component-icon/sm/recent-searches.js +40 -8
- package/bpk-component-icon/sm/redo.js +40 -8
- package/bpk-component-icon/sm/refresh.js +40 -8
- package/bpk-component-icon/sm/return.js +44 -8
- package/bpk-component-icon/sm/room.js +40 -8
- package/bpk-component-icon/sm/scales.js +40 -8
- package/bpk-component-icon/sm/search.js +40 -8
- package/bpk-component-icon/sm/self-service.js +40 -8
- package/bpk-component-icon/sm/send-message.js +40 -8
- package/bpk-component-icon/sm/services.js +40 -8
- package/bpk-component-icon/sm/settings.js +40 -8
- package/bpk-component-icon/sm/share--android.js +40 -8
- package/bpk-component-icon/sm/share--ios.js +44 -8
- package/bpk-component-icon/sm/share.js +40 -8
- package/bpk-component-icon/sm/single-booking.js +40 -8
- package/bpk-component-icon/sm/social-like.js +40 -8
- package/bpk-component-icon/sm/sort-down.js +40 -8
- package/bpk-component-icon/sm/sort-up.js +40 -8
- package/bpk-component-icon/sm/sort.js +40 -8
- package/bpk-component-icon/sm/speaker.js +40 -8
- package/bpk-component-icon/sm/star-half.js +40 -8
- package/bpk-component-icon/sm/star-outline.js +40 -8
- package/bpk-component-icon/sm/star.js +40 -8
- package/bpk-component-icon/sm/stops.js +40 -8
- package/bpk-component-icon/sm/swap--horizontal.js +41 -8
- package/bpk-component-icon/sm/swap--vertical.js +40 -8
- package/bpk-component-icon/sm/swap.js +41 -8
- package/bpk-component-icon/sm/taxi.js +42 -8
- package/bpk-component-icon/sm/thumbs-down.js +40 -8
- package/bpk-component-icon/sm/thumbs-up.js +40 -8
- package/bpk-component-icon/sm/tick-circle.js +40 -8
- package/bpk-component-icon/sm/tick.js +40 -8
- package/bpk-component-icon/sm/ticket-flexible.js +40 -8
- package/bpk-component-icon/sm/ticket.js +40 -8
- package/bpk-component-icon/sm/time.js +40 -8
- package/bpk-component-icon/sm/toilets.js +40 -8
- package/bpk-component-icon/sm/train.js +40 -8
- package/bpk-component-icon/sm/transmission-automatic.js +40 -8
- package/bpk-component-icon/sm/transmission-manual.js +40 -8
- package/bpk-component-icon/sm/trash.js +40 -8
- package/bpk-component-icon/sm/trend--down.js +40 -8
- package/bpk-component-icon/sm/trend--steady.js +41 -8
- package/bpk-component-icon/sm/trend--will-rise.js +40 -8
- package/bpk-component-icon/sm/trend.js +40 -8
- package/bpk-component-icon/sm/trips.js +40 -8
- package/bpk-component-icon/sm/undo.js +40 -8
- package/bpk-component-icon/sm/unlock.js +40 -8
- package/bpk-component-icon/sm/unmute.js +42 -8
- package/bpk-component-icon/sm/upgrade.js +40 -8
- package/bpk-component-icon/sm/use-location.js +40 -8
- package/bpk-component-icon/sm/view.js +40 -8
- package/bpk-component-icon/sm/virus.js +40 -8
- package/bpk-component-icon/sm/wallet.js +40 -8
- package/bpk-component-icon/sm/weather--clear.js +40 -8
- package/bpk-component-icon/sm/weather--cloudy.js +42 -8
- package/bpk-component-icon/sm/weather--fog.js +40 -8
- package/bpk-component-icon/sm/weather--partly-cloudy.js +40 -8
- package/bpk-component-icon/sm/weather--rain.js +42 -8
- package/bpk-component-icon/sm/weather--snow.js +40 -8
- package/bpk-component-icon/sm/weather--thunderstorm.js +44 -8
- package/bpk-component-icon/sm/weather--tornado.js +40 -8
- package/bpk-component-icon/sm/weather--wind.js +42 -8
- package/bpk-component-icon/sm/weather.js +40 -8
- package/bpk-component-icon/sm/wifi.js +40 -8
- package/bpk-component-icon/sm/window--reduce.js +42 -8
- package/bpk-component-icon/sm/window.js +40 -8
- package/bpk-component-icon/sm/world--amer.js +40 -8
- package/bpk-component-icon/sm/world--apac.js +40 -8
- package/bpk-component-icon/sm/world--emea.js +40 -8
- package/bpk-component-icon/src/classNameModifierHOCFactory.js +52 -53
- package/bpk-component-icon/src/withAlignment.js +26 -26
- package/bpk-component-icon/src/withDescription.js +24 -25
- package/bpk-component-icon/src/withRtlSupport.js +22 -9
- package/bpk-component-image/index.css +58 -0
- package/bpk-component-image/index.js +45 -20
- package/bpk-component-image/src/BpkBackgroundImage.js +159 -163
- package/bpk-component-image/src/BpkImage.js +181 -197
- package/bpk-component-image/src/BpkImageBorderRadiusStyles.js +13 -6
- package/bpk-component-image/src/customPropTypes.js +11 -11
- package/bpk-component-image/src/withLazyLoading.js +143 -161
- package/bpk-component-image/src/withLoadingBehavior.js +29 -50
- package/bpk-component-infinite-scroll/index.css +5 -0
- package/bpk-component-infinite-scroll/index.js +31 -12
- package/bpk-component-infinite-scroll/src/DataSource.js +41 -22
- package/bpk-component-infinite-scroll/src/intersection-observer.js +9 -3
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.js +178 -203
- package/bpk-component-input/index.css +104 -0
- package/bpk-component-input/index.js +60 -43
- package/bpk-component-input/src/BpkClearButton.js +60 -58
- package/bpk-component-input/src/BpkInput.js +119 -108
- package/bpk-component-input/src/common-types.js +47 -74
- package/bpk-component-input/src/themeAttributes.js +9 -2
- package/bpk-component-input/src/withOpenEvents.js +109 -112
- package/bpk-component-label/index.css +13 -0
- package/bpk-component-label/index.js +13 -7
- package/bpk-component-label/src/BpkLabel.js +60 -54
- package/bpk-component-link/index.css +29 -0
- package/bpk-component-link/index.js +39 -11
- package/bpk-component-link/src/BpkButtonLink.js +63 -56
- package/bpk-component-link/src/BpkLink.js +72 -72
- package/bpk-component-link/src/themeAttributes.js +11 -18
- package/bpk-component-list/index.css +11 -0
- package/bpk-component-list/index.js +20 -21
- package/bpk-component-list/src/BpkList.js +38 -34
- package/bpk-component-list/src/BpkListItem.js +33 -29
- package/bpk-component-loading-button/index.css +17 -0
- package/bpk-component-loading-button/index.js +21 -7
- package/bpk-component-loading-button/src/BpkLoadingButton.js +101 -131
- package/bpk-component-map/index.css +63 -0
- package/bpk-component-map/index.js +69 -28
- package/bpk-component-map/src/BpkBasicMapMarker.js +41 -45
- package/bpk-component-map/src/BpkIconMarker.js +70 -85
- package/bpk-component-map/src/BpkIconMarkerBackground.js +54 -57
- package/bpk-component-map/src/BpkMap.js +103 -140
- package/bpk-component-map/src/BpkOverlayView.js +44 -43
- package/bpk-component-map/src/BpkPriceMarker.js +84 -99
- package/bpk-component-map/src/DefaultLoadingElement.js +27 -16
- package/bpk-component-map/src/common-types.js +16 -13
- package/bpk-component-map/src/themeAttributes.js +14 -19
- package/bpk-component-map/src/withGoogleMapsScript.js +50 -56
- package/bpk-component-mobile-scroll-container/index.css +17 -0
- package/bpk-component-mobile-scroll-container/index.js +13 -6
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.js +155 -166
- package/bpk-component-modal/index.css +46 -0
- package/bpk-component-modal/index.js +37 -10
- package/bpk-component-modal/src/BpkModal.js +85 -98
- package/bpk-component-modal/src/BpkModalInner.js +107 -135
- package/bpk-component-modal/src/customPropTypes.js +16 -23
- package/bpk-component-modal/src/themeAttributes.js +11 -6
- package/bpk-component-navigation-bar/index.css +43 -0
- package/bpk-component-navigation-bar/index.js +37 -25
- package/bpk-component-navigation-bar/src/BpkNavigationBar.js +70 -81
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.js +52 -56
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.js +54 -53
- package/bpk-component-navigation-bar/src/themeAttributes.js +9 -16
- package/bpk-component-nudger/index.css +11 -0
- package/bpk-component-nudger/index.js +29 -9
- package/bpk-component-nudger/src/BpkConfigurableNudger.js +101 -125
- package/bpk-component-nudger/src/BpkNudger.js +59 -60
- package/bpk-component-nudger/src/common-types.js +22 -25
- package/bpk-component-nudger/src/themeAttributes.js +11 -6
- package/bpk-component-overlay/index.css +11 -0
- package/bpk-component-overlay/index.js +27 -11
- package/bpk-component-overlay/src/BpkOverlay.js +51 -60
- package/bpk-component-pagination/index.css +52 -0
- package/bpk-component-pagination/index.js +21 -6
- package/bpk-component-pagination/src/BpkPagination.js +69 -71
- package/bpk-component-pagination/src/BpkPaginationBreak.js +22 -12
- package/bpk-component-pagination/src/BpkPaginationList.js +64 -67
- package/bpk-component-pagination/src/BpkPaginationNudger.js +61 -52
- package/bpk-component-pagination/src/BpkPaginationPage.js +45 -31
- package/bpk-component-pagination/src/themeAttributes.js +11 -9
- package/bpk-component-panel/index.css +9 -0
- package/bpk-component-panel/index.js +13 -4
- package/bpk-component-panel/src/BpkPanel.js +52 -42
- package/bpk-component-phone-input/index.css +11 -0
- package/bpk-component-phone-input/index.js +13 -9
- package/bpk-component-phone-input/src/BpkPhoneInput.js +122 -157
- package/bpk-component-popover/index.css +41 -0
- package/bpk-component-popover/index.js +37 -17
- package/bpk-component-popover/src/BpkPopover.js +122 -147
- package/bpk-component-popover/src/BpkPopoverPortal.js +166 -163
- package/bpk-component-popover/src/constants.js +13 -6
- package/bpk-component-popover/src/keyboardFocusScope.js +26 -15
- package/bpk-component-popover/src/themeAttributes.js +11 -6
- package/bpk-component-price/index.css +21 -0
- package/bpk-component-price/index.js +27 -7
- package/bpk-component-price/src/BpkPrice.js +83 -100
- package/bpk-component-price/src/common-types.js +13 -8
- package/bpk-component-progress/index.css +13 -0
- package/bpk-component-progress/index.js +21 -8
- package/bpk-component-progress/src/BpkProgress.js +129 -115
- package/bpk-component-progress/src/themeAttributes.js +9 -4
- package/bpk-component-radio/index.css +35 -0
- package/bpk-component-radio/index.js +21 -8
- package/bpk-component-radio/src/BpkRadio.js +63 -77
- package/bpk-component-radio/src/themeAttributes.js +9 -4
- package/bpk-component-rating/index.css +27 -0
- package/bpk-component-rating/index.js +27 -7
- package/bpk-component-rating/src/BpkRating.js +110 -129
- package/bpk-component-rating/src/common-types.js +15 -7
- package/bpk-component-rtl-toggle/index.css +0 -0
- package/bpk-component-rtl-toggle/index.js +21 -6
- package/bpk-component-rtl-toggle/src/BpkRtlToggle.js +54 -66
- package/bpk-component-rtl-toggle/src/updateOnDirectionChange.js +36 -47
- package/bpk-component-rtl-toggle/src/utils.js +12 -6
- package/bpk-component-scrollable-calendar/index.css +14 -0
- package/bpk-component-scrollable-calendar/index.js +45 -17
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar.js +17 -18
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.js +46 -38
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.js +59 -49
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.js +115 -132
- package/bpk-component-scrollable-calendar/src/utils.js +13 -5
- package/bpk-component-scrollable-calendar/test-utils.js +211 -244
- package/bpk-component-section-list/index.css +20 -0
- package/bpk-component-section-list/index.js +29 -9
- package/bpk-component-section-list/src/BpkSectionList.js +27 -32
- package/bpk-component-section-list/src/BpkSectionListItem.js +74 -85
- package/bpk-component-section-list/src/BpkSectionListSection.js +45 -50
- package/bpk-component-select/index.css +69 -0
- package/bpk-component-select/index.js +21 -9
- package/bpk-component-select/src/BpkSelect.js +76 -99
- package/bpk-component-select/src/themeAttributes.js +9 -2
- package/bpk-component-skip-link/index.css +7 -0
- package/bpk-component-skip-link/index.js +21 -8
- package/bpk-component-skip-link/src/BpkSkipLink.js +45 -48
- package/bpk-component-skip-link/src/themeAttributes.js +9 -2
- package/bpk-component-slider/index.css +25 -0
- package/bpk-component-slider/index.js +21 -6
- package/bpk-component-slider/src/BpkSlider.js +60 -49
- package/bpk-component-slider/src/themeAttributes.js +9 -2
- package/bpk-component-spinner/index.css +19 -0
- package/bpk-component-spinner/index.js +44 -30
- package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +109 -50
- package/bpk-component-spinner/src/BpkLargeSpinner.js +110 -53
- package/bpk-component-spinner/src/BpkSpinner.js +154 -52
- package/bpk-component-spinner/src/spinnerTypes.js +10 -5
- package/bpk-component-spinner/src/themeAttributes.js +9 -4
- package/bpk-component-split-input/index.css +16 -0
- package/bpk-component-split-input/index.js +21 -10
- package/bpk-component-split-input/src/BpkInputField.js +72 -56
- package/bpk-component-split-input/src/BpkSplitInput.js +246 -220
- package/bpk-component-star-rating/index.css +41 -0
- package/bpk-component-star-rating/index.js +75 -21
- package/bpk-component-star-rating/src/BpkInteractiveStar.js +61 -69
- package/bpk-component-star-rating/src/BpkInteractiveStarRating.js +68 -84
- package/bpk-component-star-rating/src/BpkStar.js +93 -89
- package/bpk-component-star-rating/src/BpkStarRating.js +69 -89
- package/bpk-component-star-rating/src/themeAttributes.js +9 -4
- package/bpk-component-star-rating/src/withInteractiveStarRatingState.js +71 -83
- package/bpk-component-switch/index.css +19 -0
- package/bpk-component-switch/index.js +31 -11
- package/bpk-component-switch/src/BpkSwitch.js +59 -64
- package/bpk-component-switch/src/themeAttributes.js +9 -2
- package/bpk-component-table/index.css +17 -0
- package/bpk-component-table/index.js +55 -35
- package/bpk-component-table/src/BpkTable.js +43 -45
- package/bpk-component-table/src/BpkTableBody.js +17 -12
- package/bpk-component-table/src/BpkTableCell.js +45 -44
- package/bpk-component-table/src/BpkTableHead.js +17 -12
- package/bpk-component-table/src/BpkTableHeadCell.js +50 -48
- package/bpk-component-table/src/BpkTableRow.js +17 -12
- package/bpk-component-text/index.css +63 -0
- package/bpk-component-text/index.js +27 -7
- package/bpk-component-text/src/BpkText.js +83 -89
- package/bpk-component-textarea/index.css +23 -0
- package/bpk-component-textarea/index.js +21 -8
- package/bpk-component-textarea/src/BpkTextarea.js +46 -55
- package/bpk-component-textarea/src/themeAttributes.js +9 -4
- package/bpk-component-theme-toggle/index.css +5 -0
- package/bpk-component-theme-toggle/index.js +21 -6
- package/bpk-component-theme-toggle/src/BpkThemeToggle.js +96 -91
- package/bpk-component-theme-toggle/src/theming.js +57 -99
- package/bpk-component-theme-toggle/src/updateOnThemeChange.js +49 -53
- package/bpk-component-theme-toggle/src/utils.js +10 -3
- package/bpk-component-ticket/index.css +55 -0
- package/bpk-component-ticket/index.js +13 -6
- package/bpk-component-ticket/src/BpkTicket.js +92 -117
- package/bpk-component-tooltip/index.css +47 -0
- package/bpk-component-tooltip/index.js +21 -10
- package/bpk-component-tooltip/src/BpkTooltip.js +86 -94
- package/bpk-component-tooltip/src/BpkTooltipPortal.js +146 -168
- package/bpk-component-tooltip/src/constants.js +17 -8
- package/bpk-react-utils/index.css +0 -0
- package/bpk-react-utils/index.js +97 -42
- package/bpk-react-utils/src/Portal.js +88 -98
- package/bpk-react-utils/src/TransitionInitialMount.js +38 -36
- package/bpk-react-utils/src/cssModules.js +15 -10
- package/bpk-react-utils/src/deprecated.js +19 -19
- package/bpk-react-utils/src/deviceDetection.js +12 -8
- package/bpk-react-utils/src/isRTL.js +11 -12
- package/bpk-react-utils/src/withDefaultProps.js +45 -53
- package/bpk-react-utils/src/wrapDisplayName.js +9 -2
- package/bpk-scrim-utils/index.css +18 -0
- package/bpk-scrim-utils/index.js +20 -6
- package/bpk-scrim-utils/src/BpkScrim.js +40 -30
- package/bpk-scrim-utils/src/customPropTypes.js +12 -15
- package/bpk-scrim-utils/src/scroll-utils.js +27 -16
- package/bpk-scrim-utils/src/withScrim.js +121 -104
- package/bpk-storybook-utils/index.css +7 -0
- package/bpk-storybook-utils/index.js +47 -0
- package/bpk-storybook-utils/src/BpkDarkExampleWrapper.js +49 -0
- package/{bpk-component-button/src/BpkButtonBase.module.scss → bpk-storybook-utils/src/BpkStorybookUtils.js} +21 -27
- package/bpk-theming/index.css +0 -0
- package/bpk-theming/index.js +13 -4
- package/bpk-theming/src/BpkThemeProvider.js +82 -63
- package/package.json +6 -5
- package/README.md +0 -101
- package/bpk-animate-height/README.md +0 -55
- package/bpk-animate-height/package.json +0 -26
- package/bpk-component-accordion/README.md +0 -124
- package/bpk-component-accordion/package.json +0 -31
- package/bpk-component-accordion/src/BpkAccordion.module.css +0 -18
- package/bpk-component-accordion/src/BpkAccordion.module.scss +0 -23
- package/bpk-component-accordion/src/BpkAccordionItem.module.css +0 -18
- package/bpk-component-accordion/src/BpkAccordionItem.module.scss +0 -117
- package/bpk-component-accordion/src/themeAttributes.js +0 -25
- package/bpk-component-aria-live/README.md +0 -42
- package/bpk-component-aria-live/package.json +0 -31
- package/bpk-component-aria-live/src/BpkAriaLive.module.css +0 -18
- package/bpk-component-aria-live/src/BpkAriaLive.module.scss +0 -25
- package/bpk-component-autosuggest/README.md +0 -126
- package/bpk-component-autosuggest/package.json +0 -29
- package/bpk-component-autosuggest/src/BpkAutosuggest.module.css +0 -18
- package/bpk-component-autosuggest/src/BpkAutosuggest.module.scss +0 -156
- package/bpk-component-badge/README.md +0 -39
- package/bpk-component-badge/package.json +0 -29
- package/bpk-component-badge/src/BpkBadge.module.css +0 -18
- package/bpk-component-badge/src/BpkBadge.module.scss +0 -55
- package/bpk-component-banner-alert/README.md +0 -153
- package/bpk-component-banner-alert/package.json +0 -34
- package/bpk-component-banner-alert/src/BpkAnimateAndFade.module.css +0 -18
- package/bpk-component-banner-alert/src/BpkAnimateAndFade.module.scss +0 -53
- package/bpk-component-banner-alert/src/BpkBannerAlert.module.css +0 -18
- package/bpk-component-banner-alert/src/BpkBannerAlert.module.scss +0 -163
- package/bpk-component-barchart/README.md +0 -189
- package/bpk-component-barchart/data.json +0 -20
- package/bpk-component-barchart/package.json +0 -35
- package/bpk-component-barchart/src/BpkBarchart.module.css +0 -18
- package/bpk-component-barchart/src/BpkBarchart.module.scss +0 -21
- package/bpk-component-barchart/src/BpkBarchartBar.module.css +0 -18
- package/bpk-component-barchart/src/BpkBarchartBar.module.scss +0 -68
- package/bpk-component-barchart/src/BpkChartAxis.module.css +0 -18
- package/bpk-component-barchart/src/BpkChartDataTable.module.css +0 -18
- package/bpk-component-barchart/src/BpkChartDataTable.module.scss +0 -28
- package/bpk-component-barchart/src/BpkChartGridLines.module.css +0 -18
- package/bpk-component-barchart/src/BpkChartGridLines.module.scss +0 -26
- package/bpk-component-blockquote/README.md +0 -35
- package/bpk-component-blockquote/package.json +0 -24
- package/bpk-component-blockquote/src/BpkBlockquote.module.css +0 -18
- package/bpk-component-blockquote/src/BpkBlockquote.module.scss +0 -29
- package/bpk-component-breadcrumb/README.md +0 -58
- package/bpk-component-breadcrumb/package.json +0 -27
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.module.css +0 -18
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.module.scss +0 -27
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.module.css +0 -18
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.module.scss +0 -40
- package/bpk-component-breakpoint/README.md +0 -34
- package/bpk-component-breakpoint/package.json +0 -28
- package/bpk-component-button/README.md +0 -140
- package/bpk-component-button/package.json +0 -26
- package/bpk-component-button/src/BpkButtonBase.module.css +0 -18
- package/bpk-component-button/src/BpkButtonDestructive.module.css +0 -18
- package/bpk-component-button/src/BpkButtonDestructive.module.scss +0 -24
- package/bpk-component-button/src/BpkButtonFeatured.module.css +0 -18
- package/bpk-component-button/src/BpkButtonFeatured.module.scss +0 -23
- package/bpk-component-button/src/BpkButtonLink.module.css +0 -18
- package/bpk-component-button/src/BpkButtonLink.module.scss +0 -25
- package/bpk-component-button/src/BpkButtonLinkOnDark.module.scss +0 -23
- package/bpk-component-button/src/BpkButtonOutline.module.css +0 -18
- package/bpk-component-button/src/BpkButtonOutline.module.scss +0 -23
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.scss +0 -23
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.scss +0 -23
- package/bpk-component-button/src/BpkButtonSecondary.module.css +0 -18
- package/bpk-component-button/src/BpkButtonSecondary.module.scss +0 -23
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.scss +0 -23
- package/bpk-component-calendar/DOCS.md +0 -29
- package/bpk-component-calendar/README.md +0 -406
- package/bpk-component-calendar/package.json +0 -34
- package/bpk-component-calendar/src/BpkCalendar.module.css +0 -18
- package/bpk-component-calendar/src/BpkCalendarDate.module.css +0 -18
- package/bpk-component-calendar/src/BpkCalendarDate.module.scss +0 -159
- package/bpk-component-calendar/src/BpkCalendarGrid.module.css +0 -18
- package/bpk-component-calendar/src/BpkCalendarGrid.module.scss +0 -64
- package/bpk-component-calendar/src/BpkCalendarGridHeader.module.css +0 -18
- package/bpk-component-calendar/src/BpkCalendarGridHeader.module.scss +0 -50
- package/bpk-component-calendar/src/BpkCalendarGridTransition.module.css +0 -18
- package/bpk-component-calendar/src/BpkCalendarGridTransition.module.scss +0 -47
- package/bpk-component-calendar/src/BpkCalendarNav.module.css +0 -18
- package/bpk-component-calendar/src/BpkCalendarNav.module.scss +0 -89
- package/bpk-component-calendar/src/_variables.scss +0 -24
- package/bpk-component-card/README.md +0 -34
- package/bpk-component-card/package.json +0 -28
- package/bpk-component-card/src/BpkCard.module.css +0 -18
- package/bpk-component-card/src/BpkCard.module.scss +0 -27
- package/bpk-component-checkbox/README.md +0 -47
- package/bpk-component-checkbox/package.json +0 -29
- package/bpk-component-checkbox/src/BpkCheckbox.module.css +0 -18
- package/bpk-component-checkbox/src/BpkCheckbox.module.scss +0 -70
- package/bpk-component-chip/README.md +0 -111
- package/bpk-component-chip/package.json +0 -29
- package/bpk-component-chip/src/BpkSelectableChip.module.css +0 -18
- package/bpk-component-chip/src/BpkSelectableChip.module.scss +0 -23
- package/bpk-component-close-button/README.md +0 -27
- package/bpk-component-close-button/package.json +0 -28
- package/bpk-component-close-button/src/BpkCloseButton.module.css +0 -18
- package/bpk-component-close-button/src/BpkCloseButton.module.scss +0 -51
- package/bpk-component-code/README.md +0 -43
- package/bpk-component-code/package.json +0 -24
- package/bpk-component-code/src/BpkCode.module.css +0 -18
- package/bpk-component-code/src/BpkCode.module.scss +0 -27
- package/bpk-component-code/src/BpkCodeBlock.module.css +0 -18
- package/bpk-component-code/src/BpkCodeBlock.module.scss +0 -33
- package/bpk-component-content-container/README.md +0 -33
- package/bpk-component-content-container/package.json +0 -24
- package/bpk-component-content-container/src/BpkContentContainer.module.css +0 -18
- package/bpk-component-content-container/src/BpkContentContainer.module.scss +0 -41
- package/bpk-component-datatable/README.md +0 -141
- package/bpk-component-datatable/package.json +0 -30
- package/bpk-component-datatable/src/BpkDataTable.module.css +0 -18
- package/bpk-component-datatable/src/BpkDataTable.module.scss +0 -95
- package/bpk-component-datatable/src/BpkDataTableColumn.module.css +0 -18
- package/bpk-component-datatable/src/BpkDataTableColumn.module.scss +0 -65
- package/bpk-component-datepicker/README.md +0 -181
- package/bpk-component-datepicker/package.json +0 -33
- package/bpk-component-datepicker/src/BpkDatepicker.module.css +0 -18
- package/bpk-component-datepicker/src/BpkDatepicker.module.scss +0 -30
- package/bpk-component-description-list/README.md +0 -46
- package/bpk-component-description-list/package.json +0 -24
- package/bpk-component-description-list/src/BpkDescriptionList.module.css +0 -18
- package/bpk-component-description-list/src/BpkDescriptionList.module.scss +0 -37
- package/bpk-component-dialog/README.md +0 -105
- package/bpk-component-dialog/package.json +0 -32
- package/bpk-component-dialog/src/BpkDialog.module.css +0 -18
- package/bpk-component-dialog/src/BpkDialog.module.scss +0 -80
- package/bpk-component-dialog/src/BpkDialogInner.module.css +0 -18
- package/bpk-component-dialog/src/BpkDialogInner.module.scss +0 -62
- package/bpk-component-drawer/README.md +0 -90
- package/bpk-component-drawer/package.json +0 -34
- package/bpk-component-drawer/src/BpkDrawer.module.css +0 -18
- package/bpk-component-drawer/src/BpkDrawer.module.scss +0 -23
- package/bpk-component-drawer/src/BpkDrawerContent.module.css +0 -18
- package/bpk-component-drawer/src/BpkDrawerContent.module.scss +0 -107
- package/bpk-component-fieldset/README.md +0 -73
- package/bpk-component-fieldset/package.json +0 -36
- package/bpk-component-fieldset/src/BpkFieldset.module.css +0 -18
- package/bpk-component-fieldset/src/BpkFieldset.module.scss +0 -39
- package/bpk-component-flare/README.md +0 -52
- package/bpk-component-flare/package.json +0 -29
- package/bpk-component-flare/src/bpk-content-bubble.module.css +0 -18
- package/bpk-component-flare/src/bpk-content-bubble.module.scss +0 -60
- package/bpk-component-flare/src/bpk-flare-bar.module.css +0 -18
- package/bpk-component-flare/src/bpk-flare-bar.module.scss +0 -74
- package/bpk-component-flare/src/svgs/corner-radius.svg +0 -1
- package/bpk-component-flare/src/svgs/pointer.svg +0 -1
- package/bpk-component-floating-notification/README.md +0 -58
- package/bpk-component-floating-notification/package.json +0 -26
- package/bpk-component-floating-notification/src/BpkFloatingNotification.module.css +0 -18
- package/bpk-component-floating-notification/src/BpkFloatingNotification.module.scss +0 -96
- package/bpk-component-form-validation/README.md +0 -33
- package/bpk-component-form-validation/package.json +0 -34
- package/bpk-component-form-validation/src/BpkFormValidation.module.css +0 -18
- package/bpk-component-form-validation/src/BpkFormValidation.module.scss +0 -44
- package/bpk-component-graphic-promotion/README.md +0 -70
- package/bpk-component-graphic-promotion/package.json +0 -25
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.module.scss +0 -263
- package/bpk-component-grid/README.md +0 -90
- package/bpk-component-grid/package.json +0 -24
- package/bpk-component-grid/src/BpkGridColumn.module.css +0 -18
- package/bpk-component-grid/src/BpkGridColumn.module.scss +0 -73
- package/bpk-component-grid/src/BpkGridContainer.module.css +0 -18
- package/bpk-component-grid/src/BpkGridContainer.module.scss +0 -33
- package/bpk-component-grid/src/BpkGridRow.module.css +0 -18
- package/bpk-component-grid/src/BpkGridRow.module.scss +0 -29
- package/bpk-component-grid-toggle/README.md +0 -27
- package/bpk-component-grid-toggle/package.json +0 -25
- package/bpk-component-grid-toggle/src/BpkGridToggle.module.css +0 -18
- package/bpk-component-grid-toggle/src/BpkGridToggle.module.scss +0 -52
- package/bpk-component-horizontal-nav/README.md +0 -103
- package/bpk-component-horizontal-nav/package.json +0 -30
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.module.css +0 -18
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.module.scss +0 -37
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.module.css +0 -18
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.module.scss +0 -152
- package/bpk-component-icon/README.md +0 -79
- package/bpk-component-icon/lg/social-distancing.js +0 -8
- package/bpk-component-icon/package.json +0 -34
- package/bpk-component-icon/sm/social-distancing.js +0 -8
- package/bpk-component-icon/src/BpkIcon.module.css +0 -18
- package/bpk-component-icon/src/BpkIcon.module.scss +0 -33
- package/bpk-component-icon/src/withDescription.module.css +0 -18
- package/bpk-component-icon/src/withDescription.module.scss +0 -22
- package/bpk-component-image/README.md +0 -142
- package/bpk-component-image/package.json +0 -31
- package/bpk-component-image/src/BpkBackgroundImage.module.css +0 -18
- package/bpk-component-image/src/BpkBackgroundImage.module.scss +0 -46
- package/bpk-component-image/src/BpkImage.module.css +0 -18
- package/bpk-component-image/src/BpkImage.module.scss +0 -89
- package/bpk-component-infinite-scroll/README.md +0 -187
- package/bpk-component-infinite-scroll/package.json +0 -31
- package/bpk-component-infinite-scroll/src/withInfiniteScroll-test.flow.js +0 -102
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.module.css +0 -18
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.module.scss +0 -25
- package/bpk-component-input/README.md +0 -121
- package/bpk-component-input/package.json +0 -30
- package/bpk-component-input/src/BpkClearButton.module.css +0 -18
- package/bpk-component-input/src/BpkClearButton.module.scss +0 -40
- package/bpk-component-input/src/BpkInput.module.css +0 -18
- package/bpk-component-input/src/BpkInput.module.scss +0 -86
- package/bpk-component-label/README.md +0 -30
- package/bpk-component-label/package.json +0 -24
- package/bpk-component-label/src/BpkLabel.module.css +0 -18
- package/bpk-component-label/src/BpkLabel.module.scss +0 -43
- package/bpk-component-link/README.md +0 -68
- package/bpk-component-link/package.json +0 -28
- package/bpk-component-link/src/BpkLink.module.css +0 -18
- package/bpk-component-link/src/BpkLink.module.scss +0 -31
- package/bpk-component-list/README.md +0 -48
- package/bpk-component-list/package.json +0 -24
- package/bpk-component-list/src/BpkList.module.css +0 -18
- package/bpk-component-list/src/BpkList.module.scss +0 -37
- package/bpk-component-loading-button/README.md +0 -48
- package/bpk-component-loading-button/package.json +0 -30
- package/bpk-component-loading-button/src/BpkLoadingButton.module.scss +0 -65
- package/bpk-component-map/README.md +0 -213
- package/bpk-component-map/package.json +0 -32
- package/bpk-component-map/src/BpkIconMarker.module.css +0 -18
- package/bpk-component-map/src/BpkIconMarker.module.scss +0 -74
- package/bpk-component-map/src/BpkIconMarkerBackground.module.css +0 -18
- package/bpk-component-map/src/BpkIconMarkerBackground.module.scss +0 -53
- package/bpk-component-map/src/BpkMap.module.scss +0 -21
- package/bpk-component-map/src/BpkPriceMarker.module.css +0 -18
- package/bpk-component-map/src/BpkPriceMarker.module.scss +0 -146
- package/bpk-component-map/src/DefaultLoadingElement.module.css +0 -18
- package/bpk-component-map/src/DefaultLoadingElement.module.scss +0 -28
- package/bpk-component-mobile-scroll-container/README.md +0 -74
- package/bpk-component-mobile-scroll-container/package.json +0 -28
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.module.css +0 -18
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.module.scss +0 -50
- package/bpk-component-modal/README.md +0 -114
- package/bpk-component-modal/package.json +0 -33
- package/bpk-component-modal/src/BpkModal.module.css +0 -18
- package/bpk-component-modal/src/BpkModal.module.scss +0 -46
- package/bpk-component-modal/src/BpkModalInner.module.css +0 -18
- package/bpk-component-modal/src/BpkModalInner.module.scss +0 -123
- package/bpk-component-navigation-bar/README.md +0 -114
- package/bpk-component-navigation-bar/package.json +0 -32
- package/bpk-component-navigation-bar/src/BpkNavigationBar.module.css +0 -18
- package/bpk-component-navigation-bar/src/BpkNavigationBar.module.scss +0 -77
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.css +0 -18
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.scss +0 -51
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.module.css +0 -18
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.module.scss +0 -43
- package/bpk-component-navigation-stack/README.md +0 -49
- package/bpk-component-navigation-stack/index.js +0 -30
- package/bpk-component-navigation-stack/package.json +0 -33
- package/bpk-component-navigation-stack/src/BpkNavigationStack.js +0 -128
- package/bpk-component-navigation-stack/src/BpkNavigationStack.module.css +0 -18
- package/bpk-component-navigation-stack/src/BpkNavigationStack.module.scss +0 -51
- package/bpk-component-navigation-stack/src/withNavigationStackState.js +0 -104
- package/bpk-component-nudger/README.md +0 -170
- package/bpk-component-nudger/package.json +0 -32
- package/bpk-component-nudger/src/BpkNudger.module.css +0 -18
- package/bpk-component-nudger/src/BpkNudger.module.scss +0 -49
- package/bpk-component-overlay/README.md +0 -51
- package/bpk-component-overlay/package.json +0 -28
- package/bpk-component-overlay/src/BpkOverlay.module.css +0 -18
- package/bpk-component-overlay/src/BpkOverlay.module.scss +0 -41
- package/bpk-component-pagination/README.md +0 -59
- package/bpk-component-pagination/package.json +0 -28
- package/bpk-component-pagination/src/BpkPagination.module.css +0 -18
- package/bpk-component-pagination/src/BpkPagination.module.scss +0 -22
- package/bpk-component-pagination/src/BpkPaginationList.module.css +0 -18
- package/bpk-component-pagination/src/BpkPaginationList.module.scss +0 -45
- package/bpk-component-pagination/src/BpkPaginationNudger.module.css +0 -18
- package/bpk-component-pagination/src/BpkPaginationNudger.module.scss +0 -74
- package/bpk-component-pagination/src/BpkPaginationPage.module.css +0 -18
- package/bpk-component-pagination/src/BpkPaginationPage.module.scss +0 -92
- package/bpk-component-panel/README.md +0 -33
- package/bpk-component-panel/package.json +0 -24
- package/bpk-component-panel/src/BpkPanel.module.css +0 -18
- package/bpk-component-panel/src/BpkPanel.module.scss +0 -31
- package/bpk-component-phone-input/README.md +0 -100
- package/bpk-component-phone-input/package.json +0 -33
- package/bpk-component-phone-input/src/BpkPhoneInput.module.css +0 -18
- package/bpk-component-phone-input/src/BpkPhoneInput.module.scss +0 -42
- package/bpk-component-popover/README.md +0 -140
- package/bpk-component-popover/package.json +0 -35
- package/bpk-component-popover/src/BpkPopover.module.css +0 -18
- package/bpk-component-popover/src/BpkPopover.module.scss +0 -128
- package/bpk-component-price/README.md +0 -37
- package/bpk-component-price/package.json +0 -24
- package/bpk-component-price/src/BpkPrice.module.scss +0 -61
- package/bpk-component-progress/README.md +0 -56
- package/bpk-component-progress/package.json +0 -30
- package/bpk-component-progress/src/BpkProgress.module.css +0 -18
- package/bpk-component-progress/src/BpkProgress.module.scss +0 -64
- package/bpk-component-radio/README.md +0 -43
- package/bpk-component-radio/package.json +0 -28
- package/bpk-component-radio/src/BpkRadio.module.css +0 -18
- package/bpk-component-radio/src/BpkRadio.module.scss +0 -78
- package/bpk-component-rating/README.md +0 -80
- package/bpk-component-rating/package.json +0 -29
- package/bpk-component-rating/src/BpkRating.module.css +0 -18
- package/bpk-component-rating/src/BpkRating.module.scss +0 -86
- package/bpk-component-rtl-toggle/README.md +0 -26
- package/bpk-component-rtl-toggle/package.json +0 -24
- package/bpk-component-scrollable-calendar/README.md +0 -102
- package/bpk-component-scrollable-calendar/package.json +0 -32
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.module.css +0 -18
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.module.scss +0 -31
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.module.css +0 -18
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.module.scss +0 -37
- package/bpk-component-section-list/README.md +0 -52
- package/bpk-component-section-list/package.json +0 -30
- package/bpk-component-section-list/src/BpkSectionListItem.module.css +0 -18
- package/bpk-component-section-list/src/BpkSectionListItem.module.scss +0 -54
- package/bpk-component-section-list/src/BpkSectionListSection.module.css +0 -18
- package/bpk-component-section-list/src/BpkSectionListSection.module.scss +0 -35
- package/bpk-component-select/README.md +0 -47
- package/bpk-component-select/package.json +0 -27
- package/bpk-component-select/src/BpkSelect.module.css +0 -18
- package/bpk-component-select/src/BpkSelect.module.scss +0 -126
- package/bpk-component-skip-link/README.md +0 -30
- package/bpk-component-skip-link/package.json +0 -24
- package/bpk-component-skip-link/src/BpkSkipLink.module.css +0 -18
- package/bpk-component-skip-link/src/BpkSkipLink.module.scss +0 -50
- package/bpk-component-slider/README.md +0 -43
- package/bpk-component-slider/package.json +0 -29
- package/bpk-component-slider/src/BpkSlider.module.css +0 -18
- package/bpk-component-slider/src/BpkSlider.module.scss +0 -103
- package/bpk-component-spinner/README.md +0 -40
- package/bpk-component-spinner/changelog.yml +0 -55
- package/bpk-component-spinner/package.json +0 -25
- package/bpk-component-spinner/src/BpkSpinner.module.css +0 -18
- package/bpk-component-spinner/src/BpkSpinner.module.scss +0 -57
- package/bpk-component-split-input/README.md +0 -42
- package/bpk-component-split-input/package.json +0 -24
- package/bpk-component-split-input/src/BpkInputField.module.scss +0 -34
- package/bpk-component-split-input/src/BpkSplitInput.module.css +0 -18
- package/bpk-component-split-input/src/BpkSplitInput.module.scss +0 -36
- package/bpk-component-star-rating/README.md +0 -99
- package/bpk-component-star-rating/package.json +0 -29
- package/bpk-component-star-rating/src/BpkInteractiveStar.module.css +0 -18
- package/bpk-component-star-rating/src/BpkInteractiveStar.module.scss +0 -66
- package/bpk-component-star-rating/src/BpkStar.module.css +0 -18
- package/bpk-component-star-rating/src/BpkStar.module.scss +0 -63
- package/bpk-component-star-rating/src/BpkStarRating.module.css +0 -18
- package/bpk-component-star-rating/src/BpkStarRating.module.scss +0 -21
- package/bpk-component-switch/README.md +0 -37
- package/bpk-component-switch/package.json +0 -24
- package/bpk-component-switch/src/BpkSwitch.module.css +0 -18
- package/bpk-component-switch/src/BpkSwitch.module.scss +0 -93
- package/bpk-component-table/README.md +0 -66
- package/bpk-component-table/package.json +0 -24
- package/bpk-component-table/src/BpkTable.module.css +0 -18
- package/bpk-component-table/src/BpkTable.module.scss +0 -39
- package/bpk-component-text/README.md +0 -76
- package/bpk-component-text/package.json +0 -24
- package/bpk-component-text/src/BpkText.module.css +0 -18
- package/bpk-component-text/src/BpkText.module.scss +0 -139
- package/bpk-component-textarea/README.md +0 -34
- package/bpk-component-textarea/package.json +0 -28
- package/bpk-component-textarea/src/BpkTextarea.module.css +0 -18
- package/bpk-component-textarea/src/BpkTextarea.module.scss +0 -33
- package/bpk-component-theme-toggle/README.md +0 -30
- package/bpk-component-theme-toggle/package.json +0 -27
- package/bpk-component-theme-toggle/src/BpkThemeToggle.module.css +0 -18
- package/bpk-component-theme-toggle/src/BpkThemeToggle.module.scss +0 -25
- package/bpk-component-ticket/README.md +0 -37
- package/bpk-component-ticket/package.json +0 -28
- package/bpk-component-ticket/src/BpkTicket.module.css +0 -18
- package/bpk-component-ticket/src/BpkTicket.module.scss +0 -145
- package/bpk-component-tooltip/README.md +0 -67
- package/bpk-component-tooltip/package.json +0 -29
- package/bpk-component-tooltip/src/BpkTooltip.module.css +0 -18
- package/bpk-component-tooltip/src/BpkTooltip.module.scss +0 -148
- package/bpk-react-utils/README.md +0 -251
- package/bpk-react-utils/package.json +0 -25
- package/bpk-react-utils/src/Portal-v1.js +0 -310
- package/bpk-scrim-utils/README.md +0 -50
- package/bpk-scrim-utils/package.json +0 -25
- package/bpk-scrim-utils/src/bpk-scrim-content.module.css +0 -18
- package/bpk-scrim-utils/src/bpk-scrim-content.module.scss +0 -32
- package/bpk-scrim-utils/src/bpk-scrim.module.css +0 -18
- package/bpk-scrim-utils/src/bpk-scrim.module.scss +0 -51
- package/bpk-theming/README.md +0 -43
- package/bpk-theming/package.json +0 -23
|
@@ -1,151 +1,156 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
propTypes as popoverPropTypes,
|
|
32
|
-
defaultProps as popoverDefaultProps,
|
|
33
|
-
type Props as PopoverProps,
|
|
34
|
-
} from './BpkPopover';
|
|
35
|
-
|
|
36
|
-
const getClassName = cssModules(STYLES);
|
|
37
|
-
|
|
38
|
-
export type Props = {
|
|
39
|
-
...$Exact<PopoverProps>,
|
|
40
|
-
target: (() => ?HTMLElement) | Node,
|
|
41
|
-
isOpen: boolean,
|
|
42
|
-
placement: ?('top' | 'right' | 'bottom' | 'left'),
|
|
43
|
-
portalStyle: ?Object,
|
|
44
|
-
portalClassName: ?string,
|
|
45
|
-
renderTarget: ?() => ?HTMLElement,
|
|
46
|
-
popperModifiers: ?Object,
|
|
47
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.propTypes = exports.defaultProps = exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _core = require("@popperjs/core");
|
|
9
|
+
|
|
10
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
13
|
+
|
|
14
|
+
var _a11yFocusStore = _interopRequireDefault(require("a11y-focus-store"));
|
|
15
|
+
|
|
16
|
+
var _bpkReactUtils = require("../../bpk-react-utils");
|
|
17
|
+
|
|
18
|
+
var _keyboardFocusScope = _interopRequireDefault(require("./keyboardFocusScope"));
|
|
19
|
+
|
|
20
|
+
var _BpkPopover = _interopRequireWildcard(require("./BpkPopover"));
|
|
21
|
+
|
|
22
|
+
const _excluded = ["isOpen", "onClose", "placement", "popperModifiers", "portalClassName", "portalStyle", "renderTarget", "target"];
|
|
23
|
+
|
|
24
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
25
|
+
|
|
26
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
|
+
|
|
28
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
29
|
+
|
|
30
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
48
31
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
32
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
33
|
+
|
|
34
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
35
|
+
|
|
36
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
37
|
+
|
|
38
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
39
|
+
|
|
40
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
41
|
+
|
|
42
|
+
var STYLES = {
|
|
43
|
+
"bpk-popover-portal": "BpkPopover-module__bpk-popover-portal___3yOV-",
|
|
44
|
+
"bpk-popover": "BpkPopover-module__bpk-popover___lnzTo",
|
|
45
|
+
"bpk-popover--appear": "BpkPopover-module__bpk-popover--appear___1Dn0Q",
|
|
46
|
+
"bpk-popover--appear-active": "BpkPopover-module__bpk-popover--appear-active___gOZjM",
|
|
47
|
+
"bpk-popover__arrow": "BpkPopover-module__bpk-popover__arrow___1IB9r",
|
|
48
|
+
"bpk-popover__body--padded": "BpkPopover-module__bpk-popover__body--padded___3RecG",
|
|
49
|
+
"bpk-popover__header": "BpkPopover-module__bpk-popover__header___3-ix-",
|
|
50
|
+
"bpk-popover__label": "BpkPopover-module__bpk-popover__label____wzwW",
|
|
51
|
+
"bpk-popover__close-button": "BpkPopover-module__bpk-popover__close-button___2yHnJ",
|
|
52
|
+
"bpk-popover__footer": "BpkPopover-module__bpk-popover__footer___2Z2NI",
|
|
53
|
+
"bpk-keyframe-spin": "BpkPopover-module__bpk-keyframe-spin___3ihpp"
|
|
59
54
|
};
|
|
55
|
+
const getClassName = (0, _bpkReactUtils.cssModules)(STYLES);
|
|
56
|
+
|
|
57
|
+
const propTypes = _objectSpread(_objectSpread({}, _BpkPopover.propTypes), {}, {
|
|
58
|
+
target: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.node]).isRequired,
|
|
59
|
+
isOpen: _propTypes.default.bool.isRequired,
|
|
60
|
+
onClose: _propTypes.default.func.isRequired,
|
|
61
|
+
placement: _propTypes.default.oneOf(['top', 'right', 'bottom', 'left']),
|
|
62
|
+
portalStyle: _propTypes.default.object,
|
|
63
|
+
// eslint-disable-line react/forbid-prop-types
|
|
64
|
+
portalClassName: _propTypes.default.string,
|
|
65
|
+
renderTarget: _propTypes.default.func,
|
|
66
|
+
popperModifiers: _propTypes.default.object // eslint-disable-line react/forbid-prop-types
|
|
67
|
+
|
|
68
|
+
});
|
|
60
69
|
|
|
61
|
-
|
|
62
|
-
|
|
70
|
+
exports.propTypes = propTypes;
|
|
71
|
+
|
|
72
|
+
const defaultProps = _objectSpread(_objectSpread({}, _BpkPopover.defaultProps), {}, {
|
|
63
73
|
placement: 'bottom',
|
|
64
74
|
portalStyle: null,
|
|
65
75
|
portalClassName: null,
|
|
66
76
|
renderTarget: null,
|
|
67
|
-
popperModifiers: null
|
|
68
|
-
};
|
|
77
|
+
popperModifiers: null
|
|
78
|
+
});
|
|
69
79
|
|
|
70
|
-
|
|
71
|
-
popper: ?typeof createPopper;
|
|
80
|
+
exports.defaultProps = defaultProps;
|
|
72
81
|
|
|
73
|
-
|
|
82
|
+
class BpkPopoverPortal extends _react.Component {
|
|
83
|
+
constructor() {
|
|
84
|
+
super();
|
|
74
85
|
|
|
75
|
-
|
|
86
|
+
_defineProperty(this, "popper", void 0);
|
|
76
87
|
|
|
77
|
-
|
|
88
|
+
_defineProperty(this, "suppressRestoreFocus", void 0);
|
|
78
89
|
|
|
79
|
-
|
|
90
|
+
_defineProperty(this, "previousTargetElement", void 0);
|
|
80
91
|
|
|
81
|
-
|
|
82
|
-
|
|
92
|
+
_defineProperty(this, "onRender", (popoverElement, targetElement) => {
|
|
93
|
+
this.position(popoverElement, targetElement);
|
|
94
|
+
});
|
|
83
95
|
|
|
84
|
-
this
|
|
85
|
-
|
|
86
|
-
|
|
96
|
+
_defineProperty(this, "onClose", (event, information) => {
|
|
97
|
+
// If the user has clicked outside the popover then we don't want focus to be restored
|
|
98
|
+
// otherwise it will be stolen back from the element they clicked on.
|
|
99
|
+
// Here we suppress restoring focus before the consumer is told about the close and updates state.
|
|
100
|
+
this.suppressRestoreFocus = information.source === 'DOCUMENT_CLICK';
|
|
87
101
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
// The order of events here is as follows:
|
|
93
|
-
// - `onClose` is called by `Portal`
|
|
94
|
-
// - The consumer changes `isOpen` to `false`
|
|
95
|
-
// - `beforeClose` is called by `Portal`
|
|
96
|
-
// - `beforeClose` calls the `done` callback which closes the `Portal`
|
|
97
|
-
|
|
98
|
-
// `onClose` is called by the `Portal` to inform the consumer that `isOpen` should be made false.
|
|
99
|
-
// Before we pass this information to the consumer, we want to note if restoring focus should be suppressed
|
|
100
|
-
onClose = (event: Object, information: { source: string }) => {
|
|
101
|
-
// If the user has clicked outside the popover then we don't want focus to be restored
|
|
102
|
-
// otherwise it will be stolen back from the element they clicked on.
|
|
103
|
-
// Here we suppress restoring focus before the consumer is told about the close and updates state.
|
|
104
|
-
this.suppressRestoreFocus = information.source === 'DOCUMENT_CLICK';
|
|
105
|
-
|
|
106
|
-
if (this.props.onClose) {
|
|
107
|
-
this.props.onClose(event, information);
|
|
108
|
-
}
|
|
109
|
-
};
|
|
102
|
+
if (this.props.onClose) {
|
|
103
|
+
this.props.onClose(event, information);
|
|
104
|
+
}
|
|
105
|
+
});
|
|
110
106
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
this.previousTargetElement = null;
|
|
118
|
-
}
|
|
107
|
+
_defineProperty(this, "beforeClose", done => {
|
|
108
|
+
if (this.popper) {
|
|
109
|
+
this.popper.destroy();
|
|
110
|
+
this.popper = null;
|
|
111
|
+
this.previousTargetElement = null;
|
|
112
|
+
}
|
|
119
113
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
114
|
+
_keyboardFocusScope.default.unscopeFocus();
|
|
115
|
+
|
|
116
|
+
if (!this.suppressRestoreFocus) {
|
|
117
|
+
_a11yFocusStore.default.restoreFocus();
|
|
118
|
+
|
|
119
|
+
this.suppressRestoreFocus = false;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
done();
|
|
123
|
+
});
|
|
125
124
|
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
this.popper = null;
|
|
126
|
+
this.previousTargetElement = null;
|
|
127
|
+
}
|
|
128
128
|
|
|
129
|
-
position(popoverElement
|
|
129
|
+
position(popoverElement, targetElement) {
|
|
130
130
|
if (!targetElement) {
|
|
131
131
|
return;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
const targetElementHasChanged =
|
|
135
|
-
targetElement !== this.previousTargetElement;
|
|
134
|
+
const targetElementHasChanged = targetElement !== this.previousTargetElement;
|
|
136
135
|
|
|
137
136
|
if (targetElementHasChanged && this.popper) {
|
|
138
137
|
this.popper.destroy();
|
|
139
138
|
this.popper = null;
|
|
140
|
-
}
|
|
139
|
+
} // Custom modifier that makes the arrow display at the edge of the target.
|
|
140
|
+
|
|
141
141
|
|
|
142
|
-
// Custom modifier that makes the arrow display at the edge of the target.
|
|
143
142
|
const applyArrowHide = {
|
|
144
143
|
name: 'applyArrowHide',
|
|
145
144
|
enabled: true,
|
|
146
145
|
phase: 'write',
|
|
147
|
-
|
|
148
|
-
|
|
146
|
+
|
|
147
|
+
fn({
|
|
148
|
+
state
|
|
149
|
+
}) {
|
|
150
|
+
const {
|
|
151
|
+
arrow
|
|
152
|
+
} = state.elements;
|
|
153
|
+
|
|
149
154
|
if (arrow) {
|
|
150
155
|
if (state.modifiersData.arrow.centerOffset !== 0) {
|
|
151
156
|
arrow.setAttribute('data-hide', '');
|
|
@@ -153,52 +158,50 @@ class BpkPopoverPortal extends Component<Props> {
|
|
|
153
158
|
arrow.removeAttribute('data-hide');
|
|
154
159
|
}
|
|
155
160
|
}
|
|
156
|
-
}
|
|
157
|
-
};
|
|
161
|
+
}
|
|
158
162
|
|
|
159
|
-
// The default modifiers for the popper
|
|
163
|
+
}; // The default modifiers for the popper
|
|
160
164
|
// Note that GPU acceleration should be disabled otherwise Popper will use `translate3d`
|
|
161
165
|
// which can cause blurriness in Safari and Chrome.
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
},
|
|
175
|
-
applyArrowHide,
|
|
176
|
-
];
|
|
166
|
+
|
|
167
|
+
const stdModifiers = [{
|
|
168
|
+
name: 'computeStyles',
|
|
169
|
+
options: {
|
|
170
|
+
gpuAcceleration: false
|
|
171
|
+
}
|
|
172
|
+
}, {
|
|
173
|
+
name: 'offset',
|
|
174
|
+
options: {
|
|
175
|
+
offset: [0, 17]
|
|
176
|
+
}
|
|
177
|
+
}, applyArrowHide];
|
|
177
178
|
|
|
178
179
|
if (!this.popper) {
|
|
179
|
-
this.popper = createPopper(targetElement, popoverElement, {
|
|
180
|
+
this.popper = (0, _core.createPopper)(targetElement, popoverElement, {
|
|
180
181
|
placement: this.props.placement,
|
|
181
182
|
onFirstUpdate: () => {
|
|
182
183
|
if (targetElement) {
|
|
183
184
|
targetElement.focus();
|
|
184
185
|
}
|
|
185
|
-
|
|
186
|
-
|
|
186
|
+
|
|
187
|
+
_a11yFocusStore.default.storeFocus();
|
|
188
|
+
|
|
189
|
+
_keyboardFocusScope.default.scopeFocus(popoverElement);
|
|
187
190
|
},
|
|
188
|
-
modifiers: this.props.popperModifiers
|
|
189
|
-
? [...this.props.popperModifiers, ...stdModifiers]
|
|
190
|
-
: stdModifiers,
|
|
191
|
+
modifiers: this.props.popperModifiers ? [...this.props.popperModifiers, ...stdModifiers] : stdModifiers
|
|
191
192
|
});
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
this.previousTargetElement = targetElement;
|
|
196
|
+
|
|
195
197
|
if (this.popper) {
|
|
196
198
|
this.popper.update();
|
|
197
199
|
}
|
|
198
200
|
}
|
|
199
201
|
|
|
200
202
|
render() {
|
|
201
|
-
const
|
|
203
|
+
const _this$props = this.props,
|
|
204
|
+
{
|
|
202
205
|
isOpen,
|
|
203
206
|
onClose,
|
|
204
207
|
placement,
|
|
@@ -206,9 +209,9 @@ class BpkPopoverPortal extends Component<Props> {
|
|
|
206
209
|
portalClassName,
|
|
207
210
|
portalStyle,
|
|
208
211
|
renderTarget,
|
|
209
|
-
target
|
|
210
|
-
|
|
211
|
-
|
|
212
|
+
target
|
|
213
|
+
} = _this$props,
|
|
214
|
+
rest = _objectWithoutProperties(_this$props, _excluded);
|
|
212
215
|
|
|
213
216
|
const classNames = [getClassName('bpk-popover-portal')];
|
|
214
217
|
|
|
@@ -216,25 +219,25 @@ class BpkPopoverPortal extends Component<Props> {
|
|
|
216
219
|
classNames.push(portalClassName);
|
|
217
220
|
}
|
|
218
221
|
|
|
219
|
-
return (
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
>
|
|
232
|
-
{/* $FlowFixMe[cannot-spread-inexact] - inexact rest. See 'decisions/flowfixme.md'. */}
|
|
233
|
-
<BpkPopover onClose={this.onClose} {...rest} />
|
|
234
|
-
</Portal>
|
|
235
|
-
</>
|
|
236
|
-
);
|
|
222
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, typeof target !== 'function' && target, /*#__PURE__*/_react.default.createElement(_bpkReactUtils.Portal, {
|
|
223
|
+
beforeClose: this.beforeClose,
|
|
224
|
+
className: classNames.join(' '),
|
|
225
|
+
isOpen: isOpen,
|
|
226
|
+
onClose: this.onClose,
|
|
227
|
+
onRender: this.onRender,
|
|
228
|
+
style: portalStyle,
|
|
229
|
+
renderTarget: renderTarget,
|
|
230
|
+
target: target
|
|
231
|
+
}, /*#__PURE__*/_react.default.createElement(_BpkPopover.default, _extends({
|
|
232
|
+
onClose: this.onClose
|
|
233
|
+
}, rest))));
|
|
237
234
|
}
|
|
235
|
+
|
|
238
236
|
}
|
|
239
237
|
|
|
240
|
-
|
|
238
|
+
_defineProperty(BpkPopoverPortal, "propTypes", propTypes);
|
|
239
|
+
|
|
240
|
+
_defineProperty(BpkPopoverPortal, "defaultProps", defaultProps);
|
|
241
|
+
|
|
242
|
+
var _default = BpkPopoverPortal;
|
|
243
|
+
exports.default = _default;
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.ARROW_ID = void 0;
|
|
7
|
+
|
|
1
8
|
/*
|
|
2
9
|
* Backpack - Skyscanner's Design System
|
|
3
10
|
*
|
|
@@ -15,9 +22,9 @@
|
|
|
15
22
|
* See the License for the specific language governing permissions and
|
|
16
23
|
* limitations under the License.
|
|
17
24
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
25
|
+
const ARROW_ID = 'js-bpk-popover-arrow';
|
|
26
|
+
exports.ARROW_ID = ARROW_ID;
|
|
27
|
+
var _default = {
|
|
28
|
+
ARROW_ID
|
|
29
|
+
};
|
|
30
|
+
exports.default = _default;
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _tabbable = _interopRequireDefault(require("tabbable"));
|
|
9
|
+
|
|
10
|
+
var _focusin = _interopRequireDefault(require("focusin"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
1
14
|
/*
|
|
2
15
|
* Backpack - Skyscanner's Design System
|
|
3
16
|
*
|
|
@@ -15,27 +28,23 @@
|
|
|
15
28
|
* See the License for the specific language governing permissions and
|
|
16
29
|
* limitations under the License.
|
|
17
30
|
*/
|
|
18
|
-
|
|
19
31
|
// This code is based on that from `a11y-focus-scope`.
|
|
20
32
|
// Instead of completely preventing focus leaving the target element,
|
|
21
33
|
// it only prevents it leaving due to keyboard events.
|
|
22
34
|
// Clicks outside the target element will move focus as normal.
|
|
23
|
-
|
|
24
|
-
import tabbable from 'tabbable';
|
|
25
|
-
import focusin from 'focusin';
|
|
26
|
-
|
|
27
35
|
let polyfilled = false;
|
|
28
36
|
let focusTrapped = false;
|
|
29
37
|
|
|
30
|
-
const init =
|
|
38
|
+
const init = element => {
|
|
31
39
|
// lazily polyfill focusin for firefox
|
|
32
40
|
if (!polyfilled) {
|
|
33
|
-
|
|
41
|
+
_focusin.default.polyfill();
|
|
42
|
+
|
|
34
43
|
polyfilled = true;
|
|
35
44
|
}
|
|
36
45
|
|
|
37
46
|
const focus = () => {
|
|
38
|
-
(
|
|
47
|
+
((0, _tabbable.default)(element)[0] || element).focus();
|
|
39
48
|
};
|
|
40
49
|
|
|
41
50
|
const enableFocusTrapping = () => {
|
|
@@ -46,7 +55,7 @@ const init = (element) => {
|
|
|
46
55
|
focusTrapped = false;
|
|
47
56
|
};
|
|
48
57
|
|
|
49
|
-
const checkFocus =
|
|
58
|
+
const checkFocus = event => {
|
|
50
59
|
if (!focusTrapped) {
|
|
51
60
|
return;
|
|
52
61
|
}
|
|
@@ -56,14 +65,12 @@ const init = (element) => {
|
|
|
56
65
|
}
|
|
57
66
|
};
|
|
58
67
|
|
|
59
|
-
focus();
|
|
60
|
-
|
|
61
|
-
// As we only want to trap focus for keyboard navigation, we enable focus trapping on keydown and disable it again on keyup.
|
|
68
|
+
focus(); // As we only want to trap focus for keyboard navigation, we enable focus trapping on keydown and disable it again on keyup.
|
|
62
69
|
// This means that focus is trapped when pressing the tab key, but not trapped for other navigation events such as mouse clicks.
|
|
70
|
+
|
|
63
71
|
document.addEventListener('keydown', enableFocusTrapping);
|
|
64
72
|
document.addEventListener('focusin', checkFocus);
|
|
65
73
|
document.addEventListener('keyup', disableFocusTrapping);
|
|
66
|
-
|
|
67
74
|
return () => {
|
|
68
75
|
document.removeEventListener('keydown', enableFocusTrapping);
|
|
69
76
|
document.removeEventListener('focusin', checkFocus);
|
|
@@ -73,7 +80,7 @@ const init = (element) => {
|
|
|
73
80
|
|
|
74
81
|
let teardownFn;
|
|
75
82
|
|
|
76
|
-
const scopeFocus =
|
|
83
|
+
const scopeFocus = element => {
|
|
77
84
|
if (teardownFn) teardownFn();
|
|
78
85
|
teardownFn = init(element);
|
|
79
86
|
};
|
|
@@ -83,4 +90,8 @@ const unscopeFocus = () => {
|
|
|
83
90
|
teardownFn = null;
|
|
84
91
|
};
|
|
85
92
|
|
|
86
|
-
|
|
93
|
+
var _default = {
|
|
94
|
+
scopeFocus,
|
|
95
|
+
unscopeFocus
|
|
96
|
+
};
|
|
97
|
+
exports.default = _default;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _bpkComponentLink = require("../../bpk-component-link");
|
|
9
|
+
|
|
1
10
|
/*
|
|
2
11
|
* Backpack - Skyscanner's Design System
|
|
3
12
|
*
|
|
@@ -15,9 +24,5 @@
|
|
|
15
24
|
* See the License for the specific language governing permissions and
|
|
16
25
|
* limitations under the License.
|
|
17
26
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
import { themeAttributes as linkAttributes } from '../../bpk-component-link';
|
|
22
|
-
|
|
23
|
-
export default [...linkAttributes];
|
|
27
|
+
var _default = [..._bpkComponentLink.themeAttributes];
|
|
28
|
+
exports.default = _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* imported from BpkPrice.module.scss */
|
|
2
|
+
|
|
3
|
+
@keyframes BpkPrice-module__bpk-keyframe-spin___3neMC{100%{transform:rotate(1turn)}}
|
|
4
|
+
|
|
5
|
+
.BpkPrice-module__bpk-price___1_8Uw{display:flex;flex-direction:column}
|
|
6
|
+
|
|
7
|
+
.BpkPrice-module__bpk-price--right___coNjq{text-align:right}
|
|
8
|
+
|
|
9
|
+
html[dir='rtl'] .BpkPrice-module__bpk-price--right___coNjq{text-align:left}
|
|
10
|
+
|
|
11
|
+
.BpkPrice-module__bpk-price__subtitle___KYJh9{color:#68697f;text-decoration-line:line-through}
|
|
12
|
+
|
|
13
|
+
.BpkPrice-module__bpk-price__column-container___vhG7R{display:flex;flex-direction:column}
|
|
14
|
+
|
|
15
|
+
.BpkPrice-module__bpk-price__title___2CO3b{word-break:break-all}
|
|
16
|
+
|
|
17
|
+
.BpkPrice-module__bpk-price__spacing___5w8S8::after{content:'';margin-right:0.25rem}
|
|
18
|
+
|
|
19
|
+
html[dir='rtl'] .BpkPrice-module__bpk-price__spacing___5w8S8::after{margin-right:unset;margin-left:0.25rem}
|
|
20
|
+
|
|
21
|
+
.BpkPrice-module__bpk-price__description___Bz_LQ{color:#68697f;white-space:nowrap}
|
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "ALIGNS", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _commonTypes.ALIGNS;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "SIZES", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _commonTypes.SIZES;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
exports.default = void 0;
|
|
19
|
+
|
|
20
|
+
var _BpkPrice = _interopRequireDefault(require("./src/BpkPrice"));
|
|
21
|
+
|
|
22
|
+
var _commonTypes = require("./src/common-types");
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
|
+
|
|
1
26
|
/*
|
|
2
27
|
* Backpack - Skyscanner's Design System
|
|
3
28
|
*
|
|
@@ -15,10 +40,5 @@
|
|
|
15
40
|
* See the License for the specific language governing permissions and
|
|
16
41
|
* limitations under the License.
|
|
17
42
|
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import BpkPrice from './src/BpkPrice';
|
|
21
|
-
import { SIZES, ALIGNS } from './src/common-types';
|
|
22
|
-
|
|
23
|
-
export default BpkPrice;
|
|
24
|
-
export { SIZES, ALIGNS };
|
|
43
|
+
var _default = _BpkPrice.default;
|
|
44
|
+
exports.default = _default;
|