@skyscanner/backpack-web 33.6.0 → 33.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bpk-component-aria-live/index.d.ts +1 -23
- package/bpk-component-aria-live/src/BpkAriaLive.d.ts +10 -35
- package/bpk-component-badge/index.d.ts +0 -18
- package/bpk-component-badge/src/BpkBadge.d.ts +16 -41
- package/bpk-component-badge/src/themeAttributes.d.ts +2 -0
- package/bpk-component-banner-alert/index.d.ts +2 -27
- package/bpk-component-banner-alert/src/AnimateAndFade.d.ts +23 -52
- package/bpk-component-banner-alert/src/AnimateAndFade.js +0 -2
- package/bpk-component-banner-alert/src/BpkBannerAlert.d.ts +5 -26
- package/bpk-component-banner-alert/src/BpkBannerAlertDismissable.d.ts +3 -25
- package/bpk-component-banner-alert/src/BpkBannerAlertExpandable.d.ts +5 -30
- package/bpk-component-banner-alert/src/BpkBannerAlertInner.d.ts +12 -52
- package/bpk-component-banner-alert/src/BpkBannerAlertInner.js +0 -4
- package/bpk-component-banner-alert/src/common-types.d.ts +15 -37
- package/bpk-component-banner-alert/src/themeAttributes.d.ts +0 -18
- package/bpk-component-banner-alert/src/withBannerAlertState.d.ts +0 -18
- package/bpk-component-boilerplate/index.d.ts +1 -22
- package/bpk-component-boilerplate/src/BpkBoilerplate.d.ts +3 -22
- package/bpk-component-bottom-sheet/index.d.ts +0 -18
- package/bpk-component-bottom-sheet/src/BpkBottomSheet.d.ts +17 -38
- package/bpk-component-bottom-sheet/src/BpkBottomSheet.js +4 -7
- package/bpk-component-bottom-sheet/src/BpkBottomSheet.module.css +1 -1
- package/bpk-component-breakpoint/index.d.ts +0 -18
- package/bpk-component-breakpoint/src/BpkBreakpoint.d.ts +20 -45
- package/bpk-component-breakpoint/src/BpkBreakpoint.js +1 -1
- package/bpk-component-breakpoint/src/useMediaQuery.d.ts +2 -0
- package/bpk-component-button/index.d.ts +13 -22
- package/bpk-component-button/index.js +15 -3
- package/bpk-component-button/src/BpkButtonV2/BpkButton.d.ts +0 -18
- package/bpk-component-button/src/BpkButtonV2/common-types.d.ts +27 -46
- package/bpk-component-button/src/themeAttributes.d.ts +8 -0
- package/bpk-component-button/themeAttributes.d.ts +1 -0
- package/bpk-component-button/themeAttributes.js +3 -1
- package/bpk-component-calendar/index.d.ts +4 -22
- package/bpk-component-calendar/src/BpkCalendarContainer.d.ts +3 -20
- package/bpk-component-calendar/src/BpkCalendarDate.d.ts +0 -18
- package/bpk-component-calendar/src/BpkCalendarGrid.d.ts +1 -19
- package/bpk-component-calendar/src/BpkCalendarGrid.js +2 -5
- package/bpk-component-calendar/src/BpkCalendarGrid.module.css +1 -1
- package/bpk-component-calendar/src/BpkCalendarGridHeader.d.ts +0 -18
- package/bpk-component-calendar/src/BpkCalendarGridTransition.d.ts +1 -24
- package/bpk-component-calendar/src/BpkCalendarGridTransition.js +1 -4
- package/bpk-component-calendar/src/BpkCalendarNav.d.ts +0 -18
- package/bpk-component-calendar/src/BpkCalendarNav.js +13 -12
- package/bpk-component-calendar/src/BpkCalendarNav.module.css +1 -1
- package/bpk-component-calendar/src/{Week.d.ts → BpkCalendarWeek.d.ts} +2 -20
- package/bpk-component-calendar/src/{Week.js → BpkCalendarWeek.js} +7 -13
- package/bpk-component-calendar/src/BpkCalendarWeek.module.css +18 -0
- package/bpk-component-calendar/src/composeCalendar.d.ts +0 -18
- package/bpk-component-calendar/src/custom-proptypes.d.ts +0 -18
- package/bpk-component-calendar/src/date-utils.d.ts +14 -32
- package/bpk-component-calendar/src/themeAttributes.d.ts +2 -0
- package/bpk-component-calendar/src/utils.d.ts +0 -18
- package/bpk-component-calendar/src/utils.js +1 -2
- package/bpk-component-card/index.d.ts +0 -19
- package/bpk-component-card/src/BpkCard.d.ts +8 -35
- package/bpk-component-card/src/BpkCardWrapper.d.ts +5 -29
- package/bpk-component-card/src/BpkDividedCard.d.ts +10 -37
- package/bpk-component-card-button/index.d.ts +2 -0
- package/bpk-component-card-button/src/BpkSaveButton.d.ts +12 -36
- package/bpk-component-card-button/src/BpkSaveButton.js +0 -4
- package/bpk-component-chip/index.d.ts +2 -20
- package/bpk-component-chip/src/BpkDismissibleChip.d.ts +0 -18
- package/bpk-component-chip/src/BpkDismissibleChip.js +0 -3
- package/bpk-component-chip/src/BpkDropdownChip.d.ts +1 -26
- package/bpk-component-chip/src/BpkDropdownChip.js +0 -1
- package/bpk-component-chip/src/BpkIconChip.d.ts +1 -19
- package/bpk-component-chip/src/BpkSelectableChip.d.ts +4 -32
- package/bpk-component-chip/src/commonTypes.d.ts +11 -48
- package/bpk-component-chip/src/themeAttributes.d.ts +2 -0
- package/bpk-component-datatable/index.d.ts +0 -18
- package/bpk-component-datatable/src/BpkDataTable.d.ts +0 -18
- package/bpk-component-datatable/src/BpkDataTableHeader.d.ts +0 -18
- package/bpk-component-datatable/src/BpkDataTableHeader.js +0 -2
- package/bpk-component-datatable/src/common-types.d.ts +4 -22
- package/bpk-component-datatable/src/utils.d.ts +0 -18
- package/bpk-component-datepicker/index.d.ts +0 -18
- package/bpk-component-datepicker/src/BpkDatepicker.d.ts +1 -24
- package/bpk-component-datepicker/src/themeAttributes.d.ts +2 -0
- package/bpk-component-dialog/index.d.ts +1 -20
- package/bpk-component-dialog/src/BpkDialog.d.ts +0 -18
- package/bpk-component-dialog/src/BpkDialogInner.d.ts +20 -206
- package/bpk-component-dialog/src/BpkDialogInner.js +2 -0
- package/bpk-component-dialog/src/common-types.d.ts +1 -18
- package/bpk-component-flare/src/BpkContentBubble.js +21 -9
- package/bpk-component-flare/src/BpkFlareBar.js +4 -22
- package/bpk-component-flare/src/bpk-content-bubble.module.css +1 -1
- package/bpk-component-flare/src/bpk-flare-bar.module.css +1 -1
- package/bpk-component-floating-notification/index.d.ts +3 -0
- package/bpk-component-floating-notification/src/BpkFloatingNotification.d.ts +19 -42
- package/bpk-component-floating-notification/src/BpkFloatingNotification.js +9 -12
- package/bpk-component-floating-notification/src/BpkFloatingNotification.module.css +1 -1
- package/bpk-component-graphic-promotion/index.d.ts +1 -23
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.d.ts +0 -18
- package/bpk-component-icon/all.d.ts +4 -0
- package/bpk-component-icon/all.js +3 -3
- package/bpk-component-icon/index.d.ts +7 -35
- package/bpk-component-icon/index.js +1 -3
- package/bpk-component-icon/lg/accessibility.js +7 -11
- package/bpk-component-icon/lg/account--add.js +7 -11
- package/bpk-component-icon/lg/account--female.js +7 -11
- package/bpk-component-icon/lg/account--id-card.js +7 -11
- package/bpk-component-icon/lg/account--name.js +7 -11
- package/bpk-component-icon/lg/account--permit.js +7 -11
- package/bpk-component-icon/lg/account-circle.js +7 -11
- package/bpk-component-icon/lg/account.js +7 -11
- package/bpk-component-icon/lg/add-circle.js +7 -11
- package/bpk-component-icon/lg/adult.js +7 -11
- package/bpk-component-icon/lg/ai.js +7 -11
- package/bpk-component-icon/lg/aircon.js +7 -11
- package/bpk-component-icon/lg/aircraft.js +8 -12
- package/bpk-component-icon/lg/airline--multiple.js +7 -11
- package/bpk-component-icon/lg/airline.js +7 -11
- package/bpk-component-icon/lg/airports.js +7 -11
- package/bpk-component-icon/lg/alert--active.js +7 -11
- package/bpk-component-icon/lg/alert--add.js +7 -11
- package/bpk-component-icon/lg/alert--expired.js +7 -11
- package/bpk-component-icon/lg/alert--remove.js +7 -11
- package/bpk-component-icon/lg/arrow-down.js +7 -11
- package/bpk-component-icon/lg/arrow-left.js +7 -11
- package/bpk-component-icon/lg/arrow-right.js +7 -11
- package/bpk-component-icon/lg/arrow-up.js +7 -11
- package/bpk-component-icon/lg/award.js +7 -11
- package/bpk-component-icon/lg/baby-carriage.js +7 -11
- package/bpk-component-icon/lg/baggage--add.js +7 -11
- package/bpk-component-icon/lg/baggage--remove.js +7 -11
- package/bpk-component-icon/lg/baggage-cabin-add.js +7 -11
- package/bpk-component-icon/lg/baggage-cabin-not-included.js +7 -11
- package/bpk-component-icon/lg/baggage-cabin.js +7 -11
- package/bpk-component-icon/lg/baggage-checked-add.js +7 -11
- package/bpk-component-icon/lg/baggage-checked-not-included.js +7 -11
- package/bpk-component-icon/lg/baggage-checked.js +7 -11
- package/bpk-component-icon/lg/baggage-cross.js +7 -11
- package/bpk-component-icon/lg/baggage-generic.js +7 -11
- package/bpk-component-icon/lg/baggage-tick.js +7 -11
- package/bpk-component-icon/lg/baggage.js +7 -11
- package/bpk-component-icon/lg/bar.js +7 -11
- package/bpk-component-icon/lg/beach.js +8 -12
- package/bpk-component-icon/lg/beer.js +7 -11
- package/bpk-component-icon/lg/breakfast-cross.js +7 -11
- package/bpk-component-icon/lg/breakfast-tick.js +7 -11
- package/bpk-component-icon/lg/bus.js +7 -11
- package/bpk-component-icon/lg/business.js +7 -11
- package/bpk-component-icon/lg/cafe.js +7 -11
- package/bpk-component-icon/lg/calendar.js +7 -11
- package/bpk-component-icon/lg/call-back.js +8 -12
- package/bpk-component-icon/lg/camera.js +7 -11
- package/bpk-component-icon/lg/camper-van.js +8 -12
- package/bpk-component-icon/lg/car-door.js +7 -11
- package/bpk-component-icon/lg/car-wash.js +8 -12
- package/bpk-component-icon/lg/cars-flexible.js +7 -11
- package/bpk-component-icon/lg/cars.js +8 -12
- package/bpk-component-icon/lg/center-location.js +7 -11
- package/bpk-component-icon/lg/chart.js +7 -11
- package/bpk-component-icon/lg/chauffeur.js +7 -11
- package/bpk-component-icon/lg/chevron-down.js +7 -11
- package/bpk-component-icon/lg/chevron-left.js +7 -11
- package/bpk-component-icon/lg/chevron-right.js +7 -11
- package/bpk-component-icon/lg/chevron-up.js +7 -11
- package/bpk-component-icon/lg/child-seat.js +7 -11
- package/bpk-component-icon/lg/child.js +7 -11
- package/bpk-component-icon/lg/city-center.js +7 -11
- package/bpk-component-icon/lg/city.js +7 -11
- package/bpk-component-icon/lg/clean-policy.js +7 -11
- package/bpk-component-icon/lg/clean.js +9 -13
- package/bpk-component-icon/lg/cleaning-medical.js +7 -11
- package/bpk-component-icon/lg/cloakroom.js +9 -13
- package/bpk-component-icon/lg/close-circle.js +7 -11
- package/bpk-component-icon/lg/close.js +7 -11
- package/bpk-component-icon/lg/collapse.js +7 -11
- package/bpk-component-icon/lg/content--copy.js +8 -12
- package/bpk-component-icon/lg/content--event.js +7 -11
- package/bpk-component-icon/lg/content--guides.js +7 -11
- package/bpk-component-icon/lg/currency.js +7 -11
- package/bpk-component-icon/lg/data.js +8 -12
- package/bpk-component-icon/lg/deals.js +7 -11
- package/bpk-component-icon/lg/depart.js +8 -12
- package/bpk-component-icon/lg/device-mid.js +7 -11
- package/bpk-component-icon/lg/device-wide.js +7 -11
- package/bpk-component-icon/lg/direct.js +7 -11
- package/bpk-component-icon/lg/document-csv.js +7 -11
- package/bpk-component-icon/lg/document-pdf.js +7 -11
- package/bpk-component-icon/lg/dot.js +9 -13
- package/bpk-component-icon/lg/download.js +8 -12
- package/bpk-component-icon/lg/duration.js +7 -11
- package/bpk-component-icon/lg/eco-leaf.js +7 -11
- package/bpk-component-icon/lg/edit.js +7 -11
- package/bpk-component-icon/lg/education.js +8 -12
- package/bpk-component-icon/lg/electric.js +7 -11
- package/bpk-component-icon/lg/end-call.js +7 -11
- package/bpk-component-icon/lg/estimated.js +7 -11
- package/bpk-component-icon/lg/exclamation-circle.js +7 -11
- package/bpk-component-icon/lg/exclamation.js +7 -11
- package/bpk-component-icon/lg/expand.js +7 -11
- package/bpk-component-icon/lg/explore.js +9 -13
- package/bpk-component-icon/lg/face--blank.js +7 -11
- package/bpk-component-icon/lg/face--happy.js +7 -11
- package/bpk-component-icon/lg/face--sad.js +7 -11
- package/bpk-component-icon/lg/face-id.js +7 -11
- package/bpk-component-icon/lg/face-mask.js +7 -11
- package/bpk-component-icon/lg/family.js +7 -11
- package/bpk-component-icon/lg/fast-track.js +8 -12
- package/bpk-component-icon/lg/fast-train.js +8 -12
- package/bpk-component-icon/lg/filter.js +7 -11
- package/bpk-component-icon/lg/fingerprint.js +7 -11
- package/bpk-component-icon/lg/flag.js +7 -11
- package/bpk-component-icon/lg/flask.js +7 -11
- package/bpk-component-icon/lg/flight-flexible.js +7 -11
- package/bpk-component-icon/lg/flight-landing.js +9 -13
- package/bpk-component-icon/lg/flight-takeoff.js +8 -12
- package/bpk-component-icon/lg/flight.js +8 -12
- package/bpk-component-icon/lg/food.js +7 -11
- package/bpk-component-icon/lg/gears-automatic-circle.js +7 -11
- package/bpk-component-icon/lg/gears-automatic.js +7 -11
- package/bpk-component-icon/lg/gears-manual-circle.js +7 -11
- package/bpk-component-icon/lg/gears-manual.js +7 -11
- package/bpk-component-icon/lg/globe.js +7 -11
- package/bpk-component-icon/lg/grid-layout.js +7 -11
- package/bpk-component-icon/lg/headset.js +7 -11
- package/bpk-component-icon/lg/health-fitness.js +7 -11
- package/bpk-component-icon/lg/heart--outline.js +7 -11
- package/bpk-component-icon/lg/heart.js +7 -11
- package/bpk-component-icon/lg/help-circle.js +7 -11
- package/bpk-component-icon/lg/help.js +7 -11
- package/bpk-component-icon/lg/hide.js +7 -11
- package/bpk-component-icon/lg/hotel-flexible.js +7 -11
- package/bpk-component-icon/lg/hotels--disabled-facilities.js +7 -11
- package/bpk-component-icon/lg/hotels--jacuzzi.js +7 -11
- package/bpk-component-icon/lg/hotels--pets-allowed.js +7 -11
- package/bpk-component-icon/lg/hotels--smoking.js +7 -11
- package/bpk-component-icon/lg/hotels.js +7 -11
- package/bpk-component-icon/lg/infant.js +7 -11
- package/bpk-component-icon/lg/information--language-alert.js +7 -11
- package/bpk-component-icon/lg/information--language-question.js +7 -11
- package/bpk-component-icon/lg/information--language.js +7 -11
- package/bpk-component-icon/lg/information-circle.js +7 -11
- package/bpk-component-icon/lg/information.js +7 -11
- package/bpk-component-icon/lg/insurance.js +7 -11
- package/bpk-component-icon/lg/key.js +7 -11
- package/bpk-component-icon/lg/keypad.js +7 -11
- package/bpk-component-icon/lg/landmark.js +7 -11
- package/bpk-component-icon/lg/language.js +7 -11
- package/bpk-component-icon/lg/legroom--extra.js +8 -12
- package/bpk-component-icon/lg/legroom--normal.js +8 -12
- package/bpk-component-icon/lg/legroom--reduced.js +8 -12
- package/bpk-component-icon/lg/leisure.js +7 -11
- package/bpk-component-icon/lg/lightning.js +7 -11
- package/bpk-component-icon/lg/list.js +7 -11
- package/bpk-component-icon/lg/location.js +7 -11
- package/bpk-component-icon/lg/lock.js +7 -11
- package/bpk-component-icon/lg/logout.js +8 -12
- package/bpk-component-icon/lg/long-arrow-down.js +7 -11
- package/bpk-component-icon/lg/long-arrow-left.js +7 -11
- package/bpk-component-icon/lg/long-arrow-right.js +7 -11
- package/bpk-component-icon/lg/long-arrow-up.js +7 -11
- package/bpk-component-icon/lg/lounge.js +8 -12
- package/bpk-component-icon/lg/luggageall.js +7 -11
- package/bpk-component-icon/lg/mail.js +8 -12
- package/bpk-component-icon/lg/map.js +7 -11
- package/bpk-component-icon/lg/meal.js +7 -11
- package/bpk-component-icon/lg/media.js +7 -11
- package/bpk-component-icon/lg/menu--horizontal.js +7 -11
- package/bpk-component-icon/lg/menu--vertical.js +7 -11
- package/bpk-component-icon/lg/menu.js +7 -11
- package/bpk-component-icon/lg/mileage.js +8 -12
- package/bpk-component-icon/lg/minus.js +7 -11
- package/bpk-component-icon/lg/mobile.js +7 -11
- package/bpk-component-icon/lg/money.js +7 -11
- package/bpk-component-icon/lg/multiple-bookings.js +7 -11
- package/bpk-component-icon/lg/music.js +7 -11
- package/bpk-component-icon/lg/mute.js +7 -11
- package/bpk-component-icon/lg/native-android--back.js +7 -11
- package/bpk-component-icon/lg/native-android--close.js +7 -11
- package/bpk-component-icon/lg/native-android--forward.js +7 -11
- package/bpk-component-icon/lg/native-ios-close.js +7 -11
- package/bpk-component-icon/lg/navigation.js +7 -11
- package/bpk-component-icon/lg/new-window.js +8 -12
- package/bpk-component-icon/lg/news.js +7 -11
- package/bpk-component-icon/lg/night.js +7 -11
- package/bpk-component-icon/lg/not-allowed.js +7 -11
- package/bpk-component-icon/lg/onsen.js +7 -11
- package/bpk-component-icon/lg/origin.js +7 -11
- package/bpk-component-icon/lg/paid.js +7 -11
- package/bpk-component-icon/lg/paperclip.js +7 -11
- package/bpk-component-icon/lg/parking.js +7 -11
- package/bpk-component-icon/lg/passport.js +7 -11
- package/bpk-component-icon/lg/pause.js +7 -11
- package/bpk-component-icon/lg/payment-card.js +7 -11
- package/bpk-component-icon/lg/petrol.js +7 -11
- package/bpk-component-icon/lg/phone-call.js +7 -11
- package/bpk-component-icon/lg/picture.js +7 -11
- package/bpk-component-icon/lg/pin.js +7 -11
- package/bpk-component-icon/lg/plane-seat.js +8 -12
- package/bpk-component-icon/lg/play.js +7 -11
- package/bpk-component-icon/lg/plus.js +7 -11
- package/bpk-component-icon/lg/policy.js +7 -11
- package/bpk-component-icon/lg/powerplug.js +7 -11
- package/bpk-component-icon/lg/ppe.js +7 -11
- package/bpk-component-icon/lg/price-alerts.js +7 -11
- package/bpk-component-icon/lg/price-tag.js +7 -11
- package/bpk-component-icon/lg/print.js +7 -11
- package/bpk-component-icon/lg/recent-searches.js +7 -11
- package/bpk-component-icon/lg/redo.js +7 -11
- package/bpk-component-icon/lg/refresh.js +7 -11
- package/bpk-component-icon/lg/return.js +8 -12
- package/bpk-component-icon/lg/room.js +7 -11
- package/bpk-component-icon/lg/scales.js +8 -12
- package/bpk-component-icon/lg/search.js +7 -11
- package/bpk-component-icon/lg/self-service.js +7 -11
- package/bpk-component-icon/lg/send-message.js +7 -11
- package/bpk-component-icon/lg/services.js +7 -11
- package/bpk-component-icon/lg/settings.js +7 -11
- package/bpk-component-icon/lg/share--android.js +7 -11
- package/bpk-component-icon/lg/share--ios.js +8 -12
- package/bpk-component-icon/lg/share.js +7 -11
- package/bpk-component-icon/lg/single-booking.js +7 -11
- package/bpk-component-icon/lg/social-distancing.js +8 -12
- package/bpk-component-icon/lg/social-like.js +7 -11
- package/bpk-component-icon/lg/sort-down.js +7 -11
- package/bpk-component-icon/lg/sort-up.js +7 -11
- package/bpk-component-icon/lg/sort.js +7 -11
- package/bpk-component-icon/lg/speaker.js +8 -12
- package/bpk-component-icon/lg/star-half.js +7 -11
- package/bpk-component-icon/lg/star-outline.js +7 -11
- package/bpk-component-icon/lg/star.js +7 -11
- package/bpk-component-icon/lg/stops.js +7 -11
- package/bpk-component-icon/lg/swap--horizontal.js +7 -11
- package/bpk-component-icon/lg/swap--vertical.js +7 -11
- package/bpk-component-icon/lg/swap.js +7 -11
- package/bpk-component-icon/lg/taxi.js +8 -12
- package/bpk-component-icon/lg/thumbs-down.js +7 -11
- package/bpk-component-icon/lg/thumbs-up.js +7 -11
- package/bpk-component-icon/lg/tick-circle.js +7 -11
- package/bpk-component-icon/lg/tick.js +7 -11
- package/bpk-component-icon/lg/ticket-flexible.js +7 -11
- package/bpk-component-icon/lg/ticket.js +7 -11
- package/bpk-component-icon/lg/time.js +7 -11
- package/bpk-component-icon/lg/toilets.js +7 -11
- package/bpk-component-icon/lg/train.js +7 -11
- package/bpk-component-icon/lg/transmission-automatic.js +7 -11
- package/bpk-component-icon/lg/transmission-manual.js +7 -11
- package/bpk-component-icon/lg/trash.js +7 -11
- package/bpk-component-icon/lg/trend--down.js +7 -11
- package/bpk-component-icon/lg/trend--steady.js +7 -11
- package/bpk-component-icon/lg/trend--will-rise.js +7 -11
- package/bpk-component-icon/lg/trend.js +7 -11
- package/bpk-component-icon/lg/trips.js +7 -11
- package/bpk-component-icon/lg/undo.js +7 -11
- package/bpk-component-icon/lg/unlock.js +7 -11
- package/bpk-component-icon/lg/unmute.js +8 -12
- package/bpk-component-icon/lg/upgrade.js +7 -11
- package/bpk-component-icon/lg/upload.js +7 -11
- package/bpk-component-icon/lg/use-location.js +7 -11
- package/bpk-component-icon/lg/view.js +7 -11
- package/bpk-component-icon/lg/virus.js +7 -11
- package/bpk-component-icon/lg/wallet.js +8 -12
- package/bpk-component-icon/lg/weather--clear.js +7 -11
- package/bpk-component-icon/lg/weather--cloudy.js +8 -12
- package/bpk-component-icon/lg/weather--fog.js +7 -11
- package/bpk-component-icon/lg/weather--partly-cloudy.js +8 -12
- package/bpk-component-icon/lg/weather--rain.js +9 -13
- package/bpk-component-icon/lg/weather--snow.js +7 -11
- package/bpk-component-icon/lg/weather--thunderstorm.js +9 -13
- package/bpk-component-icon/lg/weather--tornado.js +7 -11
- package/bpk-component-icon/lg/weather--wind.js +7 -11
- package/bpk-component-icon/lg/weather.js +7 -11
- package/bpk-component-icon/lg/wifi.js +7 -11
- package/bpk-component-icon/lg/window--reduce.js +8 -12
- package/bpk-component-icon/lg/window.js +7 -11
- package/bpk-component-icon/lg/world--amer.js +7 -11
- package/bpk-component-icon/lg/world--apac.js +7 -11
- package/bpk-component-icon/lg/world--emea.js +8 -12
- package/bpk-component-icon/sm/accessibility.js +7 -11
- package/bpk-component-icon/sm/account--add.js +7 -11
- package/bpk-component-icon/sm/account--female.js +7 -11
- package/bpk-component-icon/sm/account--id-card.js +7 -11
- package/bpk-component-icon/sm/account--name.js +7 -11
- package/bpk-component-icon/sm/account--permit.js +7 -11
- package/bpk-component-icon/sm/account-circle.js +7 -11
- package/bpk-component-icon/sm/account.js +7 -11
- package/bpk-component-icon/sm/add-circle.js +7 -11
- package/bpk-component-icon/sm/adult.js +7 -11
- package/bpk-component-icon/sm/ai.js +7 -11
- package/bpk-component-icon/sm/aircon.js +7 -11
- package/bpk-component-icon/sm/aircraft.js +8 -12
- package/bpk-component-icon/sm/airline--multiple.js +7 -11
- package/bpk-component-icon/sm/airline.js +7 -11
- package/bpk-component-icon/sm/airports.js +7 -11
- package/bpk-component-icon/sm/alert--active.js +7 -11
- package/bpk-component-icon/sm/alert--add.js +7 -11
- package/bpk-component-icon/sm/alert--expired.js +7 -11
- package/bpk-component-icon/sm/alert--remove.js +7 -11
- package/bpk-component-icon/sm/arrow-down.js +7 -11
- package/bpk-component-icon/sm/arrow-left.js +7 -11
- package/bpk-component-icon/sm/arrow-right.js +7 -11
- package/bpk-component-icon/sm/arrow-up.js +7 -11
- package/bpk-component-icon/sm/award.js +7 -11
- package/bpk-component-icon/sm/baby-carriage.js +7 -11
- package/bpk-component-icon/sm/baggage--add.js +7 -11
- package/bpk-component-icon/sm/baggage--remove.js +7 -11
- package/bpk-component-icon/sm/baggage-cabin-add.js +7 -11
- package/bpk-component-icon/sm/baggage-cabin-not-included.js +7 -11
- package/bpk-component-icon/sm/baggage-cabin.js +7 -11
- package/bpk-component-icon/sm/baggage-checked-add.js +7 -11
- package/bpk-component-icon/sm/baggage-checked-not-included.js +7 -11
- package/bpk-component-icon/sm/baggage-checked.js +7 -11
- package/bpk-component-icon/sm/baggage-cross.js +7 -11
- package/bpk-component-icon/sm/baggage-generic.js +7 -11
- package/bpk-component-icon/sm/baggage-tick.js +7 -11
- package/bpk-component-icon/sm/baggage.js +7 -11
- package/bpk-component-icon/sm/bar.js +7 -11
- package/bpk-component-icon/sm/beach.js +8 -12
- package/bpk-component-icon/sm/beer.js +7 -11
- package/bpk-component-icon/sm/breakfast-cross.js +7 -11
- package/bpk-component-icon/sm/breakfast-tick.js +7 -11
- package/bpk-component-icon/sm/bus.js +8 -12
- package/bpk-component-icon/sm/business.js +7 -11
- package/bpk-component-icon/sm/cafe.js +7 -11
- package/bpk-component-icon/sm/calendar.js +7 -11
- package/bpk-component-icon/sm/call-back.js +8 -12
- package/bpk-component-icon/sm/camera.js +7 -11
- package/bpk-component-icon/sm/camper-van.js +8 -12
- package/bpk-component-icon/sm/car-door.js +7 -11
- package/bpk-component-icon/sm/car-wash.js +8 -12
- package/bpk-component-icon/sm/cars-flexible.js +7 -11
- package/bpk-component-icon/sm/cars.js +8 -12
- package/bpk-component-icon/sm/center-location.js +7 -11
- package/bpk-component-icon/sm/chart.js +7 -11
- package/bpk-component-icon/sm/chauffeur.js +8 -12
- package/bpk-component-icon/sm/chevron-down.js +7 -11
- package/bpk-component-icon/sm/chevron-left.js +7 -11
- package/bpk-component-icon/sm/chevron-right.js +7 -11
- package/bpk-component-icon/sm/chevron-up.js +7 -11
- package/bpk-component-icon/sm/child-seat.js +7 -11
- package/bpk-component-icon/sm/child.js +7 -11
- package/bpk-component-icon/sm/city-center.js +7 -11
- package/bpk-component-icon/sm/city.js +7 -11
- package/bpk-component-icon/sm/clean-policy.js +7 -11
- package/bpk-component-icon/sm/clean.js +8 -12
- package/bpk-component-icon/sm/cleaning-medical.js +7 -11
- package/bpk-component-icon/sm/cloakroom.js +7 -11
- package/bpk-component-icon/sm/close-circle.js +7 -11
- package/bpk-component-icon/sm/close.js +7 -11
- package/bpk-component-icon/sm/collapse.js +7 -11
- package/bpk-component-icon/sm/content--copy.js +8 -12
- package/bpk-component-icon/sm/content--event.js +7 -11
- package/bpk-component-icon/sm/content--guides.js +7 -11
- package/bpk-component-icon/sm/currency.js +7 -11
- package/bpk-component-icon/sm/data.js +8 -12
- package/bpk-component-icon/sm/deals.js +7 -11
- package/bpk-component-icon/sm/depart.js +9 -13
- package/bpk-component-icon/sm/device-mid.js +7 -11
- package/bpk-component-icon/sm/device-wide.js +7 -11
- package/bpk-component-icon/sm/direct.js +8 -12
- package/bpk-component-icon/sm/document-csv.js +7 -11
- package/bpk-component-icon/sm/document-pdf.js +7 -11
- package/bpk-component-icon/sm/dot.js +9 -13
- package/bpk-component-icon/sm/download.js +8 -12
- package/bpk-component-icon/sm/duration.js +7 -11
- package/bpk-component-icon/sm/eco-leaf.js +7 -11
- package/bpk-component-icon/sm/edit.js +7 -11
- package/bpk-component-icon/sm/education.js +8 -12
- package/bpk-component-icon/sm/electric.js +7 -11
- package/bpk-component-icon/sm/end-call.js +7 -11
- package/bpk-component-icon/sm/estimated.js +7 -11
- package/bpk-component-icon/sm/exclamation-circle.js +7 -11
- package/bpk-component-icon/sm/exclamation.js +7 -11
- package/bpk-component-icon/sm/expand.js +7 -11
- package/bpk-component-icon/sm/explore.js +9 -13
- package/bpk-component-icon/sm/face--blank.js +7 -11
- package/bpk-component-icon/sm/face--happy.js +7 -11
- package/bpk-component-icon/sm/face--sad.js +7 -11
- package/bpk-component-icon/sm/face-id.js +7 -11
- package/bpk-component-icon/sm/face-mask.js +7 -11
- package/bpk-component-icon/sm/family.js +7 -11
- package/bpk-component-icon/sm/fast-track.js +8 -12
- package/bpk-component-icon/sm/fast-train.js +8 -12
- package/bpk-component-icon/sm/filter.js +7 -11
- package/bpk-component-icon/sm/fingerprint.js +7 -11
- package/bpk-component-icon/sm/flag.js +7 -11
- package/bpk-component-icon/sm/flask.js +7 -11
- package/bpk-component-icon/sm/flight-flexible.js +7 -11
- package/bpk-component-icon/sm/flight-landing.js +9 -13
- package/bpk-component-icon/sm/flight-takeoff.js +8 -12
- package/bpk-component-icon/sm/flight.js +8 -12
- package/bpk-component-icon/sm/food.js +7 -11
- package/bpk-component-icon/sm/gears-automatic-circle.js +7 -11
- package/bpk-component-icon/sm/gears-automatic.js +7 -11
- package/bpk-component-icon/sm/gears-manual-circle.js +7 -11
- package/bpk-component-icon/sm/gears-manual.js +7 -11
- package/bpk-component-icon/sm/globe.js +7 -11
- package/bpk-component-icon/sm/grid-layout.js +7 -11
- package/bpk-component-icon/sm/headset.js +7 -11
- package/bpk-component-icon/sm/health-fitness.js +7 -11
- package/bpk-component-icon/sm/heart--outline.js +7 -11
- package/bpk-component-icon/sm/heart.js +7 -11
- package/bpk-component-icon/sm/help-circle.js +7 -11
- package/bpk-component-icon/sm/help.js +7 -11
- package/bpk-component-icon/sm/hide.js +7 -11
- package/bpk-component-icon/sm/hotel-flexible.js +7 -11
- package/bpk-component-icon/sm/hotels--disabled-facilities.js +7 -11
- package/bpk-component-icon/sm/hotels--jacuzzi.js +8 -12
- package/bpk-component-icon/sm/hotels--pets-allowed.js +7 -11
- package/bpk-component-icon/sm/hotels--smoking.js +7 -11
- package/bpk-component-icon/sm/hotels.js +7 -11
- package/bpk-component-icon/sm/infant.js +8 -12
- package/bpk-component-icon/sm/information--language-alert.js +7 -11
- package/bpk-component-icon/sm/information--language-question.js +7 -11
- package/bpk-component-icon/sm/information--language.js +7 -11
- package/bpk-component-icon/sm/information-circle.js +7 -11
- package/bpk-component-icon/sm/information.js +7 -11
- package/bpk-component-icon/sm/insurance.js +7 -11
- package/bpk-component-icon/sm/key.js +7 -11
- package/bpk-component-icon/sm/keypad.js +7 -11
- package/bpk-component-icon/sm/landmark.js +7 -11
- package/bpk-component-icon/sm/language.js +7 -11
- package/bpk-component-icon/sm/legroom--extra.js +8 -12
- package/bpk-component-icon/sm/legroom--normal.js +8 -12
- package/bpk-component-icon/sm/legroom--reduced.js +8 -12
- package/bpk-component-icon/sm/leisure.js +7 -11
- package/bpk-component-icon/sm/lightning.js +7 -11
- package/bpk-component-icon/sm/list.js +7 -11
- package/bpk-component-icon/sm/location.js +7 -11
- package/bpk-component-icon/sm/lock.js +7 -11
- package/bpk-component-icon/sm/logout.js +8 -12
- package/bpk-component-icon/sm/long-arrow-down.js +7 -11
- package/bpk-component-icon/sm/long-arrow-left.js +7 -11
- package/bpk-component-icon/sm/long-arrow-right.js +7 -11
- package/bpk-component-icon/sm/long-arrow-up.js +7 -11
- package/bpk-component-icon/sm/lounge.js +7 -11
- package/bpk-component-icon/sm/luggageall.js +7 -11
- package/bpk-component-icon/sm/mail.js +8 -12
- package/bpk-component-icon/sm/map.js +7 -11
- package/bpk-component-icon/sm/meal.js +7 -11
- package/bpk-component-icon/sm/media.js +7 -11
- package/bpk-component-icon/sm/menu--horizontal.js +7 -11
- package/bpk-component-icon/sm/menu--vertical.js +7 -11
- package/bpk-component-icon/sm/menu.js +7 -11
- package/bpk-component-icon/sm/mileage.js +8 -12
- package/bpk-component-icon/sm/minus.js +7 -11
- package/bpk-component-icon/sm/mobile.js +7 -11
- package/bpk-component-icon/sm/money.js +7 -11
- package/bpk-component-icon/sm/multiple-bookings.js +7 -11
- package/bpk-component-icon/sm/music.js +7 -11
- package/bpk-component-icon/sm/mute.js +7 -11
- package/bpk-component-icon/sm/native-android--back.js +7 -11
- package/bpk-component-icon/sm/native-android--close.js +7 -11
- package/bpk-component-icon/sm/native-android--forward.js +7 -11
- package/bpk-component-icon/sm/native-ios-close.js +7 -11
- package/bpk-component-icon/sm/navigation.js +7 -11
- package/bpk-component-icon/sm/new-window.js +10 -14
- package/bpk-component-icon/sm/news.js +7 -11
- package/bpk-component-icon/sm/night.js +7 -11
- package/bpk-component-icon/sm/not-allowed.js +7 -11
- package/bpk-component-icon/sm/onsen.js +8 -12
- package/bpk-component-icon/sm/origin.js +7 -11
- package/bpk-component-icon/sm/paid.js +7 -11
- package/bpk-component-icon/sm/paperclip.js +7 -11
- package/bpk-component-icon/sm/parking.js +7 -11
- package/bpk-component-icon/sm/passport.js +7 -11
- package/bpk-component-icon/sm/pause.js +7 -11
- package/bpk-component-icon/sm/payment-card.js +7 -11
- package/bpk-component-icon/sm/petrol.js +7 -11
- package/bpk-component-icon/sm/phone-call.js +7 -11
- package/bpk-component-icon/sm/picture.js +7 -11
- package/bpk-component-icon/sm/pin.js +7 -11
- package/bpk-component-icon/sm/plane-seat.js +8 -12
- package/bpk-component-icon/sm/play.js +7 -11
- package/bpk-component-icon/sm/plus.js +7 -11
- package/bpk-component-icon/sm/policy.js +7 -11
- package/bpk-component-icon/sm/powerplug.js +7 -11
- package/bpk-component-icon/sm/ppe.js +7 -11
- package/bpk-component-icon/sm/price-alerts.js +7 -11
- package/bpk-component-icon/sm/price-tag.js +7 -11
- package/bpk-component-icon/sm/print.js +7 -11
- package/bpk-component-icon/sm/recent-searches.js +7 -11
- package/bpk-component-icon/sm/redo.js +7 -11
- package/bpk-component-icon/sm/refresh.js +7 -11
- package/bpk-component-icon/sm/return.js +9 -13
- package/bpk-component-icon/sm/room.js +7 -11
- package/bpk-component-icon/sm/scales.js +7 -11
- package/bpk-component-icon/sm/search.js +7 -11
- package/bpk-component-icon/sm/self-service.js +7 -11
- package/bpk-component-icon/sm/send-message.js +7 -11
- package/bpk-component-icon/sm/services.js +7 -11
- package/bpk-component-icon/sm/settings.js +7 -11
- package/bpk-component-icon/sm/share--android.js +7 -11
- package/bpk-component-icon/sm/share--ios.js +8 -12
- package/bpk-component-icon/sm/share.js +7 -11
- package/bpk-component-icon/sm/single-booking.js +7 -11
- package/bpk-component-icon/sm/social-distancing.js +8 -12
- package/bpk-component-icon/sm/social-like.js +7 -11
- package/bpk-component-icon/sm/sort-down.js +7 -11
- package/bpk-component-icon/sm/sort-up.js +7 -11
- package/bpk-component-icon/sm/sort.js +7 -11
- package/bpk-component-icon/sm/speaker.js +7 -11
- package/bpk-component-icon/sm/star-half.js +7 -11
- package/bpk-component-icon/sm/star-outline.js +7 -11
- package/bpk-component-icon/sm/star.js +7 -11
- package/bpk-component-icon/sm/stops.js +7 -11
- package/bpk-component-icon/sm/swap--horizontal.js +7 -11
- package/bpk-component-icon/sm/swap--vertical.js +7 -11
- package/bpk-component-icon/sm/swap.js +7 -11
- package/bpk-component-icon/sm/taxi.js +8 -12
- package/bpk-component-icon/sm/thumbs-down.js +7 -11
- package/bpk-component-icon/sm/thumbs-up.js +7 -11
- package/bpk-component-icon/sm/tick-circle.js +7 -11
- package/bpk-component-icon/sm/tick.js +7 -11
- package/bpk-component-icon/sm/ticket-flexible.js +7 -11
- package/bpk-component-icon/sm/ticket.js +7 -11
- package/bpk-component-icon/sm/time.js +7 -11
- package/bpk-component-icon/sm/toilets.js +7 -11
- package/bpk-component-icon/sm/train.js +7 -11
- package/bpk-component-icon/sm/transmission-automatic.js +7 -11
- package/bpk-component-icon/sm/transmission-manual.js +7 -11
- package/bpk-component-icon/sm/trash.js +7 -11
- package/bpk-component-icon/sm/trend--down.js +7 -11
- package/bpk-component-icon/sm/trend--steady.js +7 -11
- package/bpk-component-icon/sm/trend--will-rise.js +7 -11
- package/bpk-component-icon/sm/trend.js +7 -11
- package/bpk-component-icon/sm/trips.js +7 -11
- package/bpk-component-icon/sm/undo.js +7 -11
- package/bpk-component-icon/sm/unlock.js +7 -11
- package/bpk-component-icon/sm/unmute.js +8 -12
- package/bpk-component-icon/sm/upgrade.js +7 -11
- package/bpk-component-icon/sm/upload.js +7 -11
- package/bpk-component-icon/sm/use-location.js +7 -11
- package/bpk-component-icon/sm/view.js +7 -11
- package/bpk-component-icon/sm/virus.js +7 -11
- package/bpk-component-icon/sm/wallet.js +7 -11
- package/bpk-component-icon/sm/weather--clear.js +7 -11
- package/bpk-component-icon/sm/weather--cloudy.js +8 -12
- package/bpk-component-icon/sm/weather--fog.js +7 -11
- package/bpk-component-icon/sm/weather--partly-cloudy.js +7 -11
- package/bpk-component-icon/sm/weather--rain.js +8 -12
- package/bpk-component-icon/sm/weather--snow.js +7 -11
- package/bpk-component-icon/sm/weather--thunderstorm.js +9 -13
- package/bpk-component-icon/sm/weather--tornado.js +7 -11
- package/bpk-component-icon/sm/weather--wind.js +8 -12
- package/bpk-component-icon/sm/weather.js +7 -11
- package/bpk-component-icon/sm/wifi.js +7 -11
- package/bpk-component-icon/sm/window--reduce.js +8 -12
- package/bpk-component-icon/sm/window.js +7 -11
- package/bpk-component-icon/sm/world--amer.js +7 -11
- package/bpk-component-icon/sm/world--apac.js +7 -11
- package/bpk-component-icon/sm/world--emea.js +7 -11
- package/bpk-component-icon/src/classNameModifierHOCFactory.d.ts +6 -29
- package/bpk-component-icon/src/withAlignment.d.ts +3 -26
- package/bpk-component-icon/src/withDescription.d.ts +1 -23
- package/bpk-component-icon/src/withRtlSupport.d.ts +7 -27
- package/bpk-component-image/index.d.ts +3 -21
- package/bpk-component-image/src/BpkBackgroundImage.d.ts +2 -20
- package/bpk-component-image/src/BpkBackgroundImage.js +0 -4
- package/bpk-component-image/src/BpkImage.d.ts +0 -18
- package/bpk-component-image/src/BpkImage.js +0 -4
- package/bpk-component-image/src/BpkImageBorderRadiusStyles.d.ts +0 -18
- package/bpk-component-image/src/withLazyLoading.d.ts +0 -18
- package/bpk-component-image/src/withLoadingBehavior.d.ts +0 -18
- package/bpk-component-info-banner/index.d.ts +1 -26
- package/bpk-component-info-banner/src/AnimateAndFade.d.ts +23 -52
- package/bpk-component-info-banner/src/AnimateAndFade.js +0 -2
- package/bpk-component-info-banner/src/BpkInfoBanner.d.ts +1 -26
- package/bpk-component-info-banner/src/BpkInfoBannerDismissable.d.ts +3 -25
- package/bpk-component-info-banner/src/BpkInfoBannerExpandable.d.ts +7 -33
- package/bpk-component-info-banner/src/BpkInfoBannerInner.d.ts +13 -52
- package/bpk-component-info-banner/src/BpkInfoBannerInner.js +0 -5
- package/bpk-component-info-banner/src/common-types.d.ts +20 -39
- package/bpk-component-info-banner/src/withBannerAlertState.d.ts +86 -159
- package/bpk-component-input/index.d.ts +1 -19
- package/bpk-component-input/src/BpkInput.d.ts +0 -18
- package/bpk-component-input/src/BpkInput.js +14 -8
- package/bpk-component-input/src/BpkInput.module.css +1 -1
- package/bpk-component-input/src/common-types.d.ts +0 -18
- package/bpk-component-input/src/themeAttributes.d.ts +2 -0
- package/bpk-component-input/src/withOpenEvents.d.ts +2 -20
- package/bpk-component-input/src/withOpenEvents.js +7 -15
- package/bpk-component-loading-button/src/BpkLoadingButton.d.ts +60 -0
- package/bpk-component-loading-button/src/BpkLoadingButton.js +43 -23
- package/bpk-component-loading-button/src/BpkLoadingButton.module.css +1 -1
- package/bpk-component-map/src/BpkBasicMapMarker.d.ts +12 -25
- package/bpk-component-map/src/BpkBasicMapMarker.js +11 -11
- package/bpk-component-map/src/BpkPriceMarkerV2/BpkPriceMarker.d.ts +0 -18
- package/bpk-component-modal/index.d.ts +4 -21
- package/bpk-component-modal/src/BpkModal.d.ts +2 -20
- package/bpk-component-modal/src/BpkModalInner.d.ts +6 -20
- package/bpk-component-modal/src/BpkModalV2/BpkModal.d.ts +14 -34
- package/bpk-component-modal/src/themeAttributes.d.ts +2 -0
- package/bpk-component-navigation-bar/index.d.ts +7 -0
- package/bpk-component-navigation-bar/src/BpkNavigationBar.d.ts +21 -0
- package/bpk-component-navigation-bar/src/BpkNavigationBar.js +8 -2
- package/bpk-component-navigation-bar/src/BpkNavigationBar.module.css +1 -1
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.d.ts +12 -0
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.d.ts +13 -0
- package/bpk-component-navigation-bar/src/themeAttributes.d.ts +2 -0
- package/bpk-component-nudger/index.d.ts +1 -19
- package/bpk-component-nudger/src/BpkConfigurableNudger.d.ts +0 -18
- package/bpk-component-nudger/src/BpkConfigurableNudger.js +4 -26
- package/bpk-component-nudger/src/BpkNudger.d.ts +0 -18
- package/bpk-component-nudger/src/BpkNudger.module.css +1 -1
- package/bpk-component-nudger/src/common-types.d.ts +0 -18
- package/bpk-component-nudger/src/themeAttributes.d.ts +2 -0
- package/bpk-component-nudger/src/themeAttributes.js +0 -1
- package/bpk-component-overlay/index.d.ts +1 -23
- package/bpk-component-overlay/src/BpkOverlay.d.ts +0 -18
- package/bpk-component-pagination/src/BpkPaginationNudger.js +14 -25
- package/bpk-component-pagination/src/BpkPaginationNudger.module.css +1 -1
- package/bpk-component-rtl-toggle/index.d.ts +0 -19
- package/bpk-component-rtl-toggle/src/BpkRtlToggle.d.ts +8 -34
- package/bpk-component-rtl-toggle/src/updateOnDirectionChange.d.ts +53 -146
- package/bpk-component-rtl-toggle/src/utils.d.ts +3 -21
- package/bpk-component-scrollable-calendar/index.d.ts +0 -18
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendar.d.ts +10 -478
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarDate.d.ts +0 -18
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.d.ts +0 -18
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.d.ts +3 -18
- package/bpk-component-scrollable-calendar/src/utils.d.ts +0 -18
- package/bpk-component-section-header/index.d.ts +0 -19
- package/bpk-component-section-header/src/BpkSectionHeader.d.ts +7 -25
- package/bpk-component-skeleton/index.d.ts +3 -0
- package/bpk-component-skeleton/src/BpkBaseSkeleton.d.d.ts +10 -0
- package/bpk-component-skeleton/src/BpkBaseSkeleton.d.ts +8 -0
- package/bpk-component-skeleton/src/BpkSkeleton.d.d.ts +4 -0
- package/bpk-component-skeleton/src/BpkSkeleton.d.ts +4 -0
- package/bpk-component-skeleton/src/common-types.d.d.ts +37 -0
- package/bpk-component-skeleton/src/common-types.d.ts +37 -0
- package/bpk-component-slider/index.d.ts +4 -0
- package/bpk-component-slider/src/BpkSlider.d.ts +16 -0
- package/bpk-component-slider/src/themeAttributes.d.ts +2 -0
- package/bpk-component-spinner/index.d.ts +6 -0
- package/bpk-component-spinner/index.js +3 -1
- package/bpk-component-spinner/src/BpkExtraLargeSpinner.d.ts +19 -0
- package/bpk-component-spinner/src/BpkExtraLargeSpinner.js +4 -4
- package/bpk-component-spinner/src/BpkLargeSpinner.d.ts +22 -0
- package/bpk-component-spinner/src/BpkLargeSpinner.js +4 -4
- package/bpk-component-spinner/src/BpkSpinner.d.ts +22 -0
- package/bpk-component-spinner/src/BpkSpinner.js +4 -4
- package/bpk-component-spinner/src/spinnerTypes.d.ts +6 -0
- package/bpk-component-spinner/src/themeAttributes.d.ts +2 -0
- package/bpk-component-swap-button/index.d.ts +0 -18
- package/bpk-component-swap-button/src/BpkSwapButton.d.ts +2 -23
- package/bpk-component-swap-button/src/BpkSwapButton.js +0 -2
- package/bpk-component-text/index.d.ts +0 -18
- package/bpk-component-text/src/BpkText.d.ts +2 -20
- package/bpk-component-tooltip/index.d.ts +1 -19
- package/bpk-component-tooltip/src/BpkTooltip.d.ts +1 -19
- package/bpk-component-tooltip/src/BpkTooltipPortal.d.ts +1 -19
- package/bpk-component-tooltip/src/constants.d.ts +0 -18
- package/bpk-mixins/_forms.scss +16 -0
- package/bpk-react-utils/index.d.ts +4 -55
- package/bpk-react-utils/src/BpkDialogWrapper/BpkDialogWrapper.d.ts +23 -44
- package/bpk-react-utils/src/Portal.d.ts +1 -19
- package/bpk-react-utils/src/TransitionInitialMount.d.ts +0 -18
- package/bpk-react-utils/src/cssModules.d.ts +0 -18
- package/bpk-react-utils/src/deviceDetection.d.ts +0 -18
- package/bpk-react-utils/src/isRTL.d.ts +0 -18
- package/bpk-react-utils/src/withDefaultProps.d.ts +0 -18
- package/bpk-react-utils/src/wrapDisplayName.d.ts +0 -18
- package/bpk-scrim-utils/index.d.ts +0 -18
- package/bpk-scrim-utils/src/BpkScrim.d.ts +0 -18
- package/bpk-scrim-utils/src/scroll-utils.d.ts +0 -18
- package/bpk-scrim-utils/src/withScrim.d.ts +13 -19
- package/bpk-scrim-utils/src/withScrimmedPortal.d.ts +2 -20
- package/package.json +3 -3
- package/unstable__bpk-mixins/_forms.scss +16 -0
- package/bpk-component-calendar/test-utils.d.ts +0 -56
- package/bpk-component-input/src/BpkClearButton.d.ts +0 -24
- package/bpk-component-input/src/BpkClearButton.js +0 -53
- package/bpk-component-input/src/BpkClearButton.module.css +0 -18
- package/bpk-component-scrollable-calendar/test-utils.d.ts +0 -52
|
@@ -1,69 +1,6 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
1
|
/// <reference types="react" />
|
|
20
2
|
declare const _default: {
|
|
21
|
-
new (props: Omit<{
|
|
22
|
-
changeMonthLabel?: string | null | undefined;
|
|
23
|
-
daysOfWeek: import("../../bpk-component-calendar").DaysOfWeek;
|
|
24
|
-
formatDateFull: (date: Date) => string | Date;
|
|
25
|
-
formatMonth: (date: Date) => string | Date;
|
|
26
|
-
id: string;
|
|
27
|
-
maxDate: Date;
|
|
28
|
-
minDate: Date;
|
|
29
|
-
month: Date;
|
|
30
|
-
nextMonthLabel?: string | null | undefined;
|
|
31
|
-
previousMonthLabel?: string | null | undefined;
|
|
32
|
-
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
33
|
-
className?: string | null | undefined;
|
|
34
|
-
dateModifiers?: import("../../bpk-component-calendar/src/custom-proptypes").DateModifiers | undefined;
|
|
35
|
-
fixedWidth?: boolean | undefined;
|
|
36
|
-
focusedDate?: Date | null | undefined;
|
|
37
|
-
markOutsideDays?: boolean | undefined;
|
|
38
|
-
markToday?: boolean | undefined;
|
|
39
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
40
|
-
month: Date;
|
|
41
|
-
source: string;
|
|
42
|
-
}) => void) | null | undefined;
|
|
43
|
-
onDateClick?: ((date: Date) => void) | null | undefined;
|
|
44
|
-
onDateKeyDown?: ((event: KeyboardEvent) => void) | null | undefined;
|
|
45
|
-
preventKeyboardFocus?: boolean | undefined;
|
|
46
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
47
|
-
gridClassName?: string | null | undefined;
|
|
48
|
-
weekDayKey?: string | undefined;
|
|
49
|
-
navProps?: {} | null | undefined;
|
|
50
|
-
headerProps?: {} | null | undefined;
|
|
51
|
-
gridProps?: {} | null | undefined;
|
|
52
|
-
dateProps?: {} | null | undefined;
|
|
53
|
-
} & {
|
|
54
|
-
fixedWidth?: boolean | undefined;
|
|
55
|
-
maxDate?: Date | undefined;
|
|
56
|
-
minDate?: Date | undefined;
|
|
57
|
-
onDateSelect?: ((date: Date, newDate?: Date | undefined) => void) | null | undefined;
|
|
58
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
59
|
-
month: Date;
|
|
60
|
-
source: string;
|
|
61
|
-
}) => void) | null | undefined;
|
|
62
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
63
|
-
initiallyFocusedDate?: Date | null | undefined;
|
|
64
|
-
markToday?: boolean | undefined;
|
|
65
|
-
markOutsideDays?: boolean | undefined;
|
|
66
|
-
}, keyof {
|
|
3
|
+
new (props: Omit<import("../../bpk-component-calendar/src/composeCalendar").Props & import("../../bpk-component-calendar/src/BpkCalendarContainer").Props, keyof {
|
|
67
4
|
onDateClick: ((date: Date) => void) | null;
|
|
68
5
|
onDateKeyDown: ((event: KeyboardEvent) => void) | null;
|
|
69
6
|
month: Date;
|
|
@@ -72,52 +9,7 @@ declare const _default: {
|
|
|
72
9
|
}> & {
|
|
73
10
|
[rest: string]: any;
|
|
74
11
|
}): {
|
|
75
|
-
UNSAFE_componentWillReceiveProps(nextProps: Omit<{
|
|
76
|
-
changeMonthLabel?: string | null | undefined;
|
|
77
|
-
daysOfWeek: import("../../bpk-component-calendar").DaysOfWeek;
|
|
78
|
-
formatDateFull: (date: Date) => string | Date;
|
|
79
|
-
formatMonth: (date: Date) => string | Date;
|
|
80
|
-
id: string;
|
|
81
|
-
maxDate: Date;
|
|
82
|
-
minDate: Date;
|
|
83
|
-
month: Date;
|
|
84
|
-
nextMonthLabel?: string | null | undefined;
|
|
85
|
-
previousMonthLabel?: string | null | undefined;
|
|
86
|
-
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
87
|
-
className?: string | null | undefined;
|
|
88
|
-
dateModifiers?: import("../../bpk-component-calendar/src/custom-proptypes").DateModifiers | undefined;
|
|
89
|
-
fixedWidth?: boolean | undefined;
|
|
90
|
-
focusedDate?: Date | null | undefined;
|
|
91
|
-
markOutsideDays?: boolean | undefined;
|
|
92
|
-
markToday?: boolean | undefined;
|
|
93
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
94
|
-
month: Date;
|
|
95
|
-
source: string;
|
|
96
|
-
}) => void) | null | undefined;
|
|
97
|
-
onDateClick?: ((date: Date) => void) | null | undefined;
|
|
98
|
-
onDateKeyDown?: ((event: KeyboardEvent) => void) | null | undefined;
|
|
99
|
-
preventKeyboardFocus?: boolean | undefined;
|
|
100
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
101
|
-
gridClassName?: string | null | undefined;
|
|
102
|
-
weekDayKey?: string | undefined;
|
|
103
|
-
navProps?: {} | null | undefined;
|
|
104
|
-
headerProps?: {} | null | undefined;
|
|
105
|
-
gridProps?: {} | null | undefined;
|
|
106
|
-
dateProps?: {} | null | undefined;
|
|
107
|
-
} & {
|
|
108
|
-
fixedWidth?: boolean | undefined;
|
|
109
|
-
maxDate?: Date | undefined;
|
|
110
|
-
minDate?: Date | undefined;
|
|
111
|
-
onDateSelect?: ((date: Date, newDate?: Date | undefined) => void) | null | undefined;
|
|
112
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
113
|
-
month: Date;
|
|
114
|
-
source: string;
|
|
115
|
-
}) => void) | null | undefined;
|
|
116
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
117
|
-
initiallyFocusedDate?: Date | null | undefined;
|
|
118
|
-
markToday?: boolean | undefined;
|
|
119
|
-
markOutsideDays?: boolean | undefined;
|
|
120
|
-
}, keyof {
|
|
12
|
+
UNSAFE_componentWillReceiveProps(nextProps: Omit<import("../../bpk-component-calendar/src/composeCalendar").Props & import("../../bpk-component-calendar/src/BpkCalendarContainer").Props, keyof {
|
|
121
13
|
onDateClick: ((date: Date) => void) | null;
|
|
122
14
|
onDateKeyDown: ((event: KeyboardEvent) => void) | null;
|
|
123
15
|
month: Date;
|
|
@@ -147,52 +39,7 @@ declare const _default: {
|
|
|
147
39
|
} | ((prevState: Readonly<{
|
|
148
40
|
preventKeyboardFocus: boolean;
|
|
149
41
|
focusedDate: Date;
|
|
150
|
-
}>, props: Readonly<Omit<{
|
|
151
|
-
changeMonthLabel?: string | null | undefined;
|
|
152
|
-
daysOfWeek: import("../../bpk-component-calendar").DaysOfWeek;
|
|
153
|
-
formatDateFull: (date: Date) => string | Date;
|
|
154
|
-
formatMonth: (date: Date) => string | Date;
|
|
155
|
-
id: string;
|
|
156
|
-
maxDate: Date;
|
|
157
|
-
minDate: Date;
|
|
158
|
-
month: Date;
|
|
159
|
-
nextMonthLabel?: string | null | undefined;
|
|
160
|
-
previousMonthLabel?: string | null | undefined;
|
|
161
|
-
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
162
|
-
className?: string | null | undefined;
|
|
163
|
-
dateModifiers?: import("../../bpk-component-calendar/src/custom-proptypes").DateModifiers | undefined;
|
|
164
|
-
fixedWidth?: boolean | undefined;
|
|
165
|
-
focusedDate?: Date | null | undefined;
|
|
166
|
-
markOutsideDays?: boolean | undefined;
|
|
167
|
-
markToday?: boolean | undefined;
|
|
168
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
169
|
-
month: Date;
|
|
170
|
-
source: string;
|
|
171
|
-
}) => void) | null | undefined;
|
|
172
|
-
onDateClick?: ((date: Date) => void) | null | undefined;
|
|
173
|
-
onDateKeyDown?: ((event: KeyboardEvent) => void) | null | undefined;
|
|
174
|
-
preventKeyboardFocus?: boolean | undefined;
|
|
175
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
176
|
-
gridClassName?: string | null | undefined;
|
|
177
|
-
weekDayKey?: string | undefined;
|
|
178
|
-
navProps?: {} | null | undefined;
|
|
179
|
-
headerProps?: {} | null | undefined;
|
|
180
|
-
gridProps?: {} | null | undefined;
|
|
181
|
-
dateProps?: {} | null | undefined;
|
|
182
|
-
} & {
|
|
183
|
-
fixedWidth?: boolean | undefined;
|
|
184
|
-
maxDate?: Date | undefined;
|
|
185
|
-
minDate?: Date | undefined;
|
|
186
|
-
onDateSelect?: ((date: Date, newDate?: Date | undefined) => void) | null | undefined;
|
|
187
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
188
|
-
month: Date;
|
|
189
|
-
source: string;
|
|
190
|
-
}) => void) | null | undefined;
|
|
191
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
192
|
-
initiallyFocusedDate?: Date | null | undefined;
|
|
193
|
-
markToday?: boolean | undefined;
|
|
194
|
-
markOutsideDays?: boolean | undefined;
|
|
195
|
-
}, keyof {
|
|
42
|
+
}>, props: Readonly<Omit<import("../../bpk-component-calendar/src/composeCalendar").Props & import("../../bpk-component-calendar/src/BpkCalendarContainer").Props, keyof {
|
|
196
43
|
onDateClick: ((date: Date) => void) | null;
|
|
197
44
|
onDateKeyDown: ((event: KeyboardEvent) => void) | null;
|
|
198
45
|
month: Date;
|
|
@@ -211,52 +58,7 @@ declare const _default: {
|
|
|
211
58
|
focusedDate: Date;
|
|
212
59
|
}, K> | null, callback?: (() => void) | undefined): void;
|
|
213
60
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
214
|
-
readonly props: Readonly<Omit<{
|
|
215
|
-
changeMonthLabel?: string | null | undefined;
|
|
216
|
-
daysOfWeek: import("../../bpk-component-calendar").DaysOfWeek;
|
|
217
|
-
formatDateFull: (date: Date) => string | Date;
|
|
218
|
-
formatMonth: (date: Date) => string | Date;
|
|
219
|
-
id: string;
|
|
220
|
-
maxDate: Date;
|
|
221
|
-
minDate: Date;
|
|
222
|
-
month: Date;
|
|
223
|
-
nextMonthLabel?: string | null | undefined;
|
|
224
|
-
previousMonthLabel?: string | null | undefined;
|
|
225
|
-
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
226
|
-
className?: string | null | undefined;
|
|
227
|
-
dateModifiers?: import("../../bpk-component-calendar/src/custom-proptypes").DateModifiers | undefined;
|
|
228
|
-
fixedWidth?: boolean | undefined;
|
|
229
|
-
focusedDate?: Date | null | undefined;
|
|
230
|
-
markOutsideDays?: boolean | undefined;
|
|
231
|
-
markToday?: boolean | undefined;
|
|
232
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
233
|
-
month: Date;
|
|
234
|
-
source: string;
|
|
235
|
-
}) => void) | null | undefined;
|
|
236
|
-
onDateClick?: ((date: Date) => void) | null | undefined;
|
|
237
|
-
onDateKeyDown?: ((event: KeyboardEvent) => void) | null | undefined;
|
|
238
|
-
preventKeyboardFocus?: boolean | undefined;
|
|
239
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
240
|
-
gridClassName?: string | null | undefined;
|
|
241
|
-
weekDayKey?: string | undefined;
|
|
242
|
-
navProps?: {} | null | undefined;
|
|
243
|
-
headerProps?: {} | null | undefined;
|
|
244
|
-
gridProps?: {} | null | undefined;
|
|
245
|
-
dateProps?: {} | null | undefined;
|
|
246
|
-
} & {
|
|
247
|
-
fixedWidth?: boolean | undefined;
|
|
248
|
-
maxDate?: Date | undefined;
|
|
249
|
-
minDate?: Date | undefined;
|
|
250
|
-
onDateSelect?: ((date: Date, newDate?: Date | undefined) => void) | null | undefined;
|
|
251
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
252
|
-
month: Date;
|
|
253
|
-
source: string;
|
|
254
|
-
}) => void) | null | undefined;
|
|
255
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
256
|
-
initiallyFocusedDate?: Date | null | undefined;
|
|
257
|
-
markToday?: boolean | undefined;
|
|
258
|
-
markOutsideDays?: boolean | undefined;
|
|
259
|
-
}, keyof {
|
|
61
|
+
readonly props: Readonly<Omit<import("../../bpk-component-calendar/src/composeCalendar").Props & import("../../bpk-component-calendar/src/BpkCalendarContainer").Props, keyof {
|
|
260
62
|
onDateClick: ((date: Date) => void) | null;
|
|
261
63
|
onDateKeyDown: ((event: KeyboardEvent) => void) | null;
|
|
262
64
|
month: Date;
|
|
@@ -275,52 +77,7 @@ declare const _default: {
|
|
|
275
77
|
[key: string]: import("react").ReactInstance;
|
|
276
78
|
};
|
|
277
79
|
componentDidMount?(): void;
|
|
278
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<{
|
|
279
|
-
changeMonthLabel?: string | null | undefined;
|
|
280
|
-
daysOfWeek: import("../../bpk-component-calendar").DaysOfWeek;
|
|
281
|
-
formatDateFull: (date: Date) => string | Date;
|
|
282
|
-
formatMonth: (date: Date) => string | Date;
|
|
283
|
-
id: string;
|
|
284
|
-
maxDate: Date;
|
|
285
|
-
minDate: Date;
|
|
286
|
-
month: Date;
|
|
287
|
-
nextMonthLabel?: string | null | undefined;
|
|
288
|
-
previousMonthLabel?: string | null | undefined;
|
|
289
|
-
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
290
|
-
className?: string | null | undefined;
|
|
291
|
-
dateModifiers?: import("../../bpk-component-calendar/src/custom-proptypes").DateModifiers | undefined;
|
|
292
|
-
fixedWidth?: boolean | undefined;
|
|
293
|
-
focusedDate?: Date | null | undefined;
|
|
294
|
-
markOutsideDays?: boolean | undefined;
|
|
295
|
-
markToday?: boolean | undefined;
|
|
296
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
297
|
-
month: Date;
|
|
298
|
-
source: string;
|
|
299
|
-
}) => void) | null | undefined;
|
|
300
|
-
onDateClick?: ((date: Date) => void) | null | undefined;
|
|
301
|
-
onDateKeyDown?: ((event: KeyboardEvent) => void) | null | undefined;
|
|
302
|
-
preventKeyboardFocus?: boolean | undefined;
|
|
303
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
304
|
-
gridClassName?: string | null | undefined;
|
|
305
|
-
weekDayKey?: string | undefined;
|
|
306
|
-
navProps?: {} | null | undefined;
|
|
307
|
-
headerProps?: {} | null | undefined;
|
|
308
|
-
gridProps?: {} | null | undefined;
|
|
309
|
-
dateProps?: {} | null | undefined;
|
|
310
|
-
} & {
|
|
311
|
-
fixedWidth?: boolean | undefined;
|
|
312
|
-
maxDate?: Date | undefined;
|
|
313
|
-
minDate?: Date | undefined;
|
|
314
|
-
onDateSelect?: ((date: Date, newDate?: Date | undefined) => void) | null | undefined;
|
|
315
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
316
|
-
month: Date;
|
|
317
|
-
source: string;
|
|
318
|
-
}) => void) | null | undefined;
|
|
319
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
320
|
-
initiallyFocusedDate?: Date | null | undefined;
|
|
321
|
-
markToday?: boolean | undefined;
|
|
322
|
-
markOutsideDays?: boolean | undefined;
|
|
323
|
-
}, keyof {
|
|
80
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<import("../../bpk-component-calendar/src/composeCalendar").Props & import("../../bpk-component-calendar/src/BpkCalendarContainer").Props, keyof {
|
|
324
81
|
onDateClick: ((date: Date) => void) | null;
|
|
325
82
|
onDateKeyDown: ((event: KeyboardEvent) => void) | null;
|
|
326
83
|
month: Date;
|
|
@@ -334,52 +91,7 @@ declare const _default: {
|
|
|
334
91
|
}>, nextContext: any): boolean;
|
|
335
92
|
componentWillUnmount?(): void;
|
|
336
93
|
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
337
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<{
|
|
338
|
-
changeMonthLabel?: string | null | undefined;
|
|
339
|
-
daysOfWeek: import("../../bpk-component-calendar").DaysOfWeek;
|
|
340
|
-
formatDateFull: (date: Date) => string | Date;
|
|
341
|
-
formatMonth: (date: Date) => string | Date;
|
|
342
|
-
id: string;
|
|
343
|
-
maxDate: Date;
|
|
344
|
-
minDate: Date;
|
|
345
|
-
month: Date;
|
|
346
|
-
nextMonthLabel?: string | null | undefined;
|
|
347
|
-
previousMonthLabel?: string | null | undefined;
|
|
348
|
-
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
349
|
-
className?: string | null | undefined;
|
|
350
|
-
dateModifiers?: import("../../bpk-component-calendar/src/custom-proptypes").DateModifiers | undefined;
|
|
351
|
-
fixedWidth?: boolean | undefined;
|
|
352
|
-
focusedDate?: Date | null | undefined;
|
|
353
|
-
markOutsideDays?: boolean | undefined;
|
|
354
|
-
markToday?: boolean | undefined;
|
|
355
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
356
|
-
month: Date;
|
|
357
|
-
source: string;
|
|
358
|
-
}) => void) | null | undefined;
|
|
359
|
-
onDateClick?: ((date: Date) => void) | null | undefined;
|
|
360
|
-
onDateKeyDown?: ((event: KeyboardEvent) => void) | null | undefined;
|
|
361
|
-
preventKeyboardFocus?: boolean | undefined;
|
|
362
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
363
|
-
gridClassName?: string | null | undefined;
|
|
364
|
-
weekDayKey?: string | undefined;
|
|
365
|
-
navProps?: {} | null | undefined;
|
|
366
|
-
headerProps?: {} | null | undefined;
|
|
367
|
-
gridProps?: {} | null | undefined;
|
|
368
|
-
dateProps?: {} | null | undefined;
|
|
369
|
-
} & {
|
|
370
|
-
fixedWidth?: boolean | undefined;
|
|
371
|
-
maxDate?: Date | undefined;
|
|
372
|
-
minDate?: Date | undefined;
|
|
373
|
-
onDateSelect?: ((date: Date, newDate?: Date | undefined) => void) | null | undefined;
|
|
374
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
375
|
-
month: Date;
|
|
376
|
-
source: string;
|
|
377
|
-
}) => void) | null | undefined;
|
|
378
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
379
|
-
initiallyFocusedDate?: Date | null | undefined;
|
|
380
|
-
markToday?: boolean | undefined;
|
|
381
|
-
markOutsideDays?: boolean | undefined;
|
|
382
|
-
}, keyof {
|
|
94
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<import("../../bpk-component-calendar/src/composeCalendar").Props & import("../../bpk-component-calendar/src/BpkCalendarContainer").Props, keyof {
|
|
383
95
|
onDateClick: ((date: Date) => void) | null;
|
|
384
96
|
onDateKeyDown: ((event: KeyboardEvent) => void) | null;
|
|
385
97
|
month: Date;
|
|
@@ -391,52 +103,7 @@ declare const _default: {
|
|
|
391
103
|
preventKeyboardFocus: boolean;
|
|
392
104
|
focusedDate: Date;
|
|
393
105
|
}>): any;
|
|
394
|
-
componentDidUpdate?(prevProps: Readonly<Omit<{
|
|
395
|
-
changeMonthLabel?: string | null | undefined;
|
|
396
|
-
daysOfWeek: import("../../bpk-component-calendar").DaysOfWeek;
|
|
397
|
-
formatDateFull: (date: Date) => string | Date;
|
|
398
|
-
formatMonth: (date: Date) => string | Date;
|
|
399
|
-
id: string;
|
|
400
|
-
maxDate: Date;
|
|
401
|
-
minDate: Date;
|
|
402
|
-
month: Date;
|
|
403
|
-
nextMonthLabel?: string | null | undefined;
|
|
404
|
-
previousMonthLabel?: string | null | undefined;
|
|
405
|
-
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
406
|
-
className?: string | null | undefined;
|
|
407
|
-
dateModifiers?: import("../../bpk-component-calendar/src/custom-proptypes").DateModifiers | undefined;
|
|
408
|
-
fixedWidth?: boolean | undefined;
|
|
409
|
-
focusedDate?: Date | null | undefined;
|
|
410
|
-
markOutsideDays?: boolean | undefined;
|
|
411
|
-
markToday?: boolean | undefined;
|
|
412
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
413
|
-
month: Date;
|
|
414
|
-
source: string;
|
|
415
|
-
}) => void) | null | undefined;
|
|
416
|
-
onDateClick?: ((date: Date) => void) | null | undefined;
|
|
417
|
-
onDateKeyDown?: ((event: KeyboardEvent) => void) | null | undefined;
|
|
418
|
-
preventKeyboardFocus?: boolean | undefined;
|
|
419
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
420
|
-
gridClassName?: string | null | undefined;
|
|
421
|
-
weekDayKey?: string | undefined;
|
|
422
|
-
navProps?: {} | null | undefined;
|
|
423
|
-
headerProps?: {} | null | undefined;
|
|
424
|
-
gridProps?: {} | null | undefined;
|
|
425
|
-
dateProps?: {} | null | undefined;
|
|
426
|
-
} & {
|
|
427
|
-
fixedWidth?: boolean | undefined;
|
|
428
|
-
maxDate?: Date | undefined;
|
|
429
|
-
minDate?: Date | undefined;
|
|
430
|
-
onDateSelect?: ((date: Date, newDate?: Date | undefined) => void) | null | undefined;
|
|
431
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
432
|
-
month: Date;
|
|
433
|
-
source: string;
|
|
434
|
-
}) => void) | null | undefined;
|
|
435
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
436
|
-
initiallyFocusedDate?: Date | null | undefined;
|
|
437
|
-
markToday?: boolean | undefined;
|
|
438
|
-
markOutsideDays?: boolean | undefined;
|
|
439
|
-
}, keyof {
|
|
106
|
+
componentDidUpdate?(prevProps: Readonly<Omit<import("../../bpk-component-calendar/src/composeCalendar").Props & import("../../bpk-component-calendar/src/BpkCalendarContainer").Props, keyof {
|
|
440
107
|
onDateClick: ((date: Date) => void) | null;
|
|
441
108
|
onDateKeyDown: ((event: KeyboardEvent) => void) | null;
|
|
442
109
|
month: Date;
|
|
@@ -450,52 +117,7 @@ declare const _default: {
|
|
|
450
117
|
}>, snapshot?: any): void;
|
|
451
118
|
componentWillMount?(): void;
|
|
452
119
|
UNSAFE_componentWillMount?(): void;
|
|
453
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<{
|
|
454
|
-
changeMonthLabel?: string | null | undefined;
|
|
455
|
-
daysOfWeek: import("../../bpk-component-calendar").DaysOfWeek;
|
|
456
|
-
formatDateFull: (date: Date) => string | Date;
|
|
457
|
-
formatMonth: (date: Date) => string | Date;
|
|
458
|
-
id: string;
|
|
459
|
-
maxDate: Date;
|
|
460
|
-
minDate: Date;
|
|
461
|
-
month: Date;
|
|
462
|
-
nextMonthLabel?: string | null | undefined;
|
|
463
|
-
previousMonthLabel?: string | null | undefined;
|
|
464
|
-
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
465
|
-
className?: string | null | undefined;
|
|
466
|
-
dateModifiers?: import("../../bpk-component-calendar/src/custom-proptypes").DateModifiers | undefined;
|
|
467
|
-
fixedWidth?: boolean | undefined;
|
|
468
|
-
focusedDate?: Date | null | undefined;
|
|
469
|
-
markOutsideDays?: boolean | undefined;
|
|
470
|
-
markToday?: boolean | undefined;
|
|
471
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
472
|
-
month: Date;
|
|
473
|
-
source: string;
|
|
474
|
-
}) => void) | null | undefined;
|
|
475
|
-
onDateClick?: ((date: Date) => void) | null | undefined;
|
|
476
|
-
onDateKeyDown?: ((event: KeyboardEvent) => void) | null | undefined;
|
|
477
|
-
preventKeyboardFocus?: boolean | undefined;
|
|
478
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
479
|
-
gridClassName?: string | null | undefined;
|
|
480
|
-
weekDayKey?: string | undefined;
|
|
481
|
-
navProps?: {} | null | undefined;
|
|
482
|
-
headerProps?: {} | null | undefined;
|
|
483
|
-
gridProps?: {} | null | undefined;
|
|
484
|
-
dateProps?: {} | null | undefined;
|
|
485
|
-
} & {
|
|
486
|
-
fixedWidth?: boolean | undefined;
|
|
487
|
-
maxDate?: Date | undefined;
|
|
488
|
-
minDate?: Date | undefined;
|
|
489
|
-
onDateSelect?: ((date: Date, newDate?: Date | undefined) => void) | null | undefined;
|
|
490
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
491
|
-
month: Date;
|
|
492
|
-
source: string;
|
|
493
|
-
}) => void) | null | undefined;
|
|
494
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
495
|
-
initiallyFocusedDate?: Date | null | undefined;
|
|
496
|
-
markToday?: boolean | undefined;
|
|
497
|
-
markOutsideDays?: boolean | undefined;
|
|
498
|
-
}, keyof {
|
|
120
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<import("../../bpk-component-calendar/src/composeCalendar").Props & import("../../bpk-component-calendar/src/BpkCalendarContainer").Props, keyof {
|
|
499
121
|
onDateClick: ((date: Date) => void) | null;
|
|
500
122
|
onDateKeyDown: ((event: KeyboardEvent) => void) | null;
|
|
501
123
|
month: Date;
|
|
@@ -504,52 +126,7 @@ declare const _default: {
|
|
|
504
126
|
}> & {
|
|
505
127
|
[rest: string]: any;
|
|
506
128
|
}>, nextContext: any): void;
|
|
507
|
-
componentWillUpdate?(nextProps: Readonly<Omit<{
|
|
508
|
-
changeMonthLabel?: string | null | undefined;
|
|
509
|
-
daysOfWeek: import("../../bpk-component-calendar").DaysOfWeek;
|
|
510
|
-
formatDateFull: (date: Date) => string | Date;
|
|
511
|
-
formatMonth: (date: Date) => string | Date;
|
|
512
|
-
id: string;
|
|
513
|
-
maxDate: Date;
|
|
514
|
-
minDate: Date;
|
|
515
|
-
month: Date;
|
|
516
|
-
nextMonthLabel?: string | null | undefined;
|
|
517
|
-
previousMonthLabel?: string | null | undefined;
|
|
518
|
-
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
519
|
-
className?: string | null | undefined;
|
|
520
|
-
dateModifiers?: import("../../bpk-component-calendar/src/custom-proptypes").DateModifiers | undefined;
|
|
521
|
-
fixedWidth?: boolean | undefined;
|
|
522
|
-
focusedDate?: Date | null | undefined;
|
|
523
|
-
markOutsideDays?: boolean | undefined;
|
|
524
|
-
markToday?: boolean | undefined;
|
|
525
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
526
|
-
month: Date;
|
|
527
|
-
source: string;
|
|
528
|
-
}) => void) | null | undefined;
|
|
529
|
-
onDateClick?: ((date: Date) => void) | null | undefined;
|
|
530
|
-
onDateKeyDown?: ((event: KeyboardEvent) => void) | null | undefined;
|
|
531
|
-
preventKeyboardFocus?: boolean | undefined;
|
|
532
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
533
|
-
gridClassName?: string | null | undefined;
|
|
534
|
-
weekDayKey?: string | undefined;
|
|
535
|
-
navProps?: {} | null | undefined;
|
|
536
|
-
headerProps?: {} | null | undefined;
|
|
537
|
-
gridProps?: {} | null | undefined;
|
|
538
|
-
dateProps?: {} | null | undefined;
|
|
539
|
-
} & {
|
|
540
|
-
fixedWidth?: boolean | undefined;
|
|
541
|
-
maxDate?: Date | undefined;
|
|
542
|
-
minDate?: Date | undefined;
|
|
543
|
-
onDateSelect?: ((date: Date, newDate?: Date | undefined) => void) | null | undefined;
|
|
544
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
545
|
-
month: Date;
|
|
546
|
-
source: string;
|
|
547
|
-
}) => void) | null | undefined;
|
|
548
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
549
|
-
initiallyFocusedDate?: Date | null | undefined;
|
|
550
|
-
markToday?: boolean | undefined;
|
|
551
|
-
markOutsideDays?: boolean | undefined;
|
|
552
|
-
}, keyof {
|
|
129
|
+
componentWillUpdate?(nextProps: Readonly<Omit<import("../../bpk-component-calendar/src/composeCalendar").Props & import("../../bpk-component-calendar/src/BpkCalendarContainer").Props, keyof {
|
|
553
130
|
onDateClick: ((date: Date) => void) | null;
|
|
554
131
|
onDateKeyDown: ((event: KeyboardEvent) => void) | null;
|
|
555
132
|
month: Date;
|
|
@@ -561,52 +138,7 @@ declare const _default: {
|
|
|
561
138
|
preventKeyboardFocus: boolean;
|
|
562
139
|
focusedDate: Date;
|
|
563
140
|
}>, nextContext: any): void;
|
|
564
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<{
|
|
565
|
-
changeMonthLabel?: string | null | undefined;
|
|
566
|
-
daysOfWeek: import("../../bpk-component-calendar").DaysOfWeek;
|
|
567
|
-
formatDateFull: (date: Date) => string | Date;
|
|
568
|
-
formatMonth: (date: Date) => string | Date;
|
|
569
|
-
id: string;
|
|
570
|
-
maxDate: Date;
|
|
571
|
-
minDate: Date;
|
|
572
|
-
month: Date;
|
|
573
|
-
nextMonthLabel?: string | null | undefined;
|
|
574
|
-
previousMonthLabel?: string | null | undefined;
|
|
575
|
-
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
576
|
-
className?: string | null | undefined;
|
|
577
|
-
dateModifiers?: import("../../bpk-component-calendar/src/custom-proptypes").DateModifiers | undefined;
|
|
578
|
-
fixedWidth?: boolean | undefined;
|
|
579
|
-
focusedDate?: Date | null | undefined;
|
|
580
|
-
markOutsideDays?: boolean | undefined;
|
|
581
|
-
markToday?: boolean | undefined;
|
|
582
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
583
|
-
month: Date;
|
|
584
|
-
source: string;
|
|
585
|
-
}) => void) | null | undefined;
|
|
586
|
-
onDateClick?: ((date: Date) => void) | null | undefined;
|
|
587
|
-
onDateKeyDown?: ((event: KeyboardEvent) => void) | null | undefined;
|
|
588
|
-
preventKeyboardFocus?: boolean | undefined;
|
|
589
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
590
|
-
gridClassName?: string | null | undefined;
|
|
591
|
-
weekDayKey?: string | undefined;
|
|
592
|
-
navProps?: {} | null | undefined;
|
|
593
|
-
headerProps?: {} | null | undefined;
|
|
594
|
-
gridProps?: {} | null | undefined;
|
|
595
|
-
dateProps?: {} | null | undefined;
|
|
596
|
-
} & {
|
|
597
|
-
fixedWidth?: boolean | undefined;
|
|
598
|
-
maxDate?: Date | undefined;
|
|
599
|
-
minDate?: Date | undefined;
|
|
600
|
-
onDateSelect?: ((date: Date, newDate?: Date | undefined) => void) | null | undefined;
|
|
601
|
-
onMonthChange?: ((event: UIEvent, { month, source }: {
|
|
602
|
-
month: Date;
|
|
603
|
-
source: string;
|
|
604
|
-
}) => void) | null | undefined;
|
|
605
|
-
selectionConfiguration?: import("../../bpk-component-calendar").SelectionConfiguration | undefined;
|
|
606
|
-
initiallyFocusedDate?: Date | null | undefined;
|
|
607
|
-
markToday?: boolean | undefined;
|
|
608
|
-
markOutsideDays?: boolean | undefined;
|
|
609
|
-
}, keyof {
|
|
141
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<import("../../bpk-component-calendar/src/composeCalendar").Props & import("../../bpk-component-calendar/src/BpkCalendarContainer").Props, keyof {
|
|
610
142
|
onDateClick: ((date: Date) => void) | null;
|
|
611
143
|
onDateKeyDown: ((event: KeyboardEvent) => void) | null;
|
|
612
144
|
month: Date;
|
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
1
|
/// <reference types="react" />
|
|
20
2
|
import type { BpkCalendarDateProps } from '../../bpk-component-calendar';
|
|
21
3
|
type Props = Partial<BpkCalendarDateProps> & {
|
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
1
|
import type { ElementType } from 'react';
|
|
20
2
|
import type { BpkCalendarGridProps } from '../../bpk-component-calendar';
|
|
21
3
|
type Props = Partial<BpkCalendarGridProps> & {
|
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
1
|
import type { ElementType } from 'react';
|
|
20
2
|
import type { BpkCalendarGridProps, SelectionConfiguration } from '../../bpk-component-calendar';
|
|
21
3
|
type Props = Partial<BpkCalendarGridProps> & {
|
|
@@ -29,6 +11,9 @@ type Props = Partial<BpkCalendarGridProps> & {
|
|
|
29
11
|
focusedDate?: Date | null;
|
|
30
12
|
selectionConfiguration?: SelectionConfiguration;
|
|
31
13
|
className?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Sets the height of month rows in 'rem' units. If not specified, the default value of `2.75rem` will be used.
|
|
16
|
+
*/
|
|
32
17
|
customRowHeight?: number;
|
|
33
18
|
};
|
|
34
19
|
declare const BpkScrollableCalendarGridList: (props: Props) => JSX.Element;
|
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Backpack - Skyscanner's Design System
|
|
3
|
-
*
|
|
4
|
-
* Copyright 2016 Skyscanner Ltd
|
|
5
|
-
*
|
|
6
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
* you may not use this file except in compliance with the License.
|
|
8
|
-
* You may obtain a copy of the License at
|
|
9
|
-
*
|
|
10
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
*
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
* See the License for the specific language governing permissions and
|
|
16
|
-
* limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
1
|
declare const getMonthsArray: (startDate: Date, count: number) => Date[];
|
|
20
2
|
declare const getMonthItemHeights: (months: Date[], weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6, columnCount: number, rowHeight: number, baseMonthItemHeight: number) => number[];
|
|
21
3
|
export { getMonthsArray, getMonthItemHeights };
|