Releases: Skyscanner/backpack
Releases · Skyscanner/backpack
35.0.1
35.0.0
What’s Changed
Breaking
-
[NO JIRA][BpkSwitch]: Remove label and just ship switch (#3582) @olliecurtis
-
This change removes the label property and now allows you to provide the label yourself, positioning it wherever you require.
-
To update the component to this updated API you will now be required to provide your own text and layout when using the component. E.g.
// Before <BpkSwitch label="My switch" /> // After <div> <BpkText> My switch </BpkText> <BpkSwitch ariaLabel="Toggle my switch" /> </div>
-
-
[BpkNudger] Simplify nudger to make it support only number types (#3576) @metalix2
- Changed
onChange
property to beonValueChange
- Removes the
BpkConfigurableNudger
as this is not part of our design system and unused previous ideation - Nudger only now supports Number values, so if you are passing strings as the numbers these will need to be updated or any tests that looks for a string value will need to be updated
- Changed
-
[LOOM-1540][BpkSplitInput]: Property update and tsx migration for splitinput and inputField components (#3565) @Parisistan
- Changed
onChange
property to beonInputChange
- Migrated to Typescript
- Changed
Added
- [LOOM-1609]: React 18 migration (#3585) @olliecurtis
- Adds support for React 18 as a version by accepting ranges between 17 to 18
- [Loom-1535][BpkSlider] - add form-test to bpkSlider (#3579) @Parisistan
- [LOOM-1520][BpkSlider] Fix for Slider to support Form properly (#3567) @metalix2
Fixed
- [NO JIRA][BpkSplitInput]: Fix default state of inputValue (#3591) @olliecurtis
- [NO JIRA][BpkLoadingButton]: Updating TS types and removing propTypes ahead of React 18 (#3588) @olliecurtis
- [NO JIRA][BpkCloseButton]: Updating to TS and removing propTypes ahead of React 18 (#3587) @olliecurtis
- [NO JIRA][BpkSpinner]: Updating TS types and removing propTypes ahead of React 18 (#3586) @olliecurtis
- [NO-JIRA][BpkLoadingButton]: Added submit to loading button props (#3574) @amburrrshand
34.16.0
What’s Changed
Added
- [CYB-2251][Snippet] Add new Snippet component (#3531) @taofang2021
- [LOOM-1521][BpkSplitInput]: add name props for input (#3564) @Parisistan
34.15.1
34.15.0
What’s Changed
Added
- [NOJIRA][BpkMap] Fix @react-google-maps/api to latest version (#3552) @jasonhuang-sky
Fixed
- [BpkModal][BpkDialog][BpkDrawer][Portal] Revert recent changes to migrate from custom portal (#3508)(#3522)(#3529)(#3536) (#3555) @olliecurtis
- [WALL-2135][BpkAccordion] Fix accordion transition animation (#3553) @ss-tombrown
34.14.0
What’s Changed
Added
- Revert "[BD-8573][BpkCarousel][BpkMobileScrollContainer] Resolve force reflow issues causing by carousel utils and scroll container" (#3554) @yifeng-ruan
- [NO JIRA][BpkImage]: Update image radius to 12px (#3550) @olliecurtis
- [LOOM-1525] - Refactor Nudger remove readonly attribute from input and Emit native events from buttons (#3540) @metalix2
Fixed
34.13.1
What’s Changed
Fixed
- [NO-JIRA]: [BpkSegmentedControls] Fix rtl border radius issue (#3543) @LouiseReid
34.13.0
What’s Changed
Added
- [ARGG-1161][Portal]: Deprecate the Backpack Portal component (#3536) @olliecurtis
- The Backpack Portal component has been deprecated and will be removed in a future release, as its no longer used in Backpack and was previously built at a time when no native portal support existed in React. For migration options please see the Migration Guide for alternative approaches.
Fixed
- [ARGG-1158][BpkDialog]: Migrate Dialog to not use Portal (#3508) @olliecurtis
- [ARGG-1159][BpkModal]: Remove portal from modal (#3522) @olliecurtis
- [LUNA-1675]: [BpkSegmentedControls] fixes focus styling (#3539) @LouiseReid
- [ARGG-1160][BpkDrawer]: Removal of portal from BpkDrawer (#3529) @olliecurtis
- [COR-251] [BpkJourneyArrow] Remove minimum width (#3537) @TristanGrayCC
34.12.0
What’s Changed
Added
- [QUAR-425] [BpkInsetBanner] Add component (#3518) @kirstybryce
Fixed
- [NO-JIRA] [BpkSegmentedControl] RTL fix (#3530) @kirstybryce
34.11.0
What’s Changed
Added
- [BD-8573][BpkCarousel][BpkMobileScrollContainer] Resolve force reflow issues causing by carousel utils and scroll container (#3520) @yifeng-ruan
Fixed
- [NO JIRA][BpkPopover]: Reinstate renderTarget prop for rendering in DOM at specific location (#3527) @olliecurtis
- [Luna-1372][BpkAccordion] Remove description filter (#3526) @juanmataruiz
- [BD-7461][BpkIconMarker] Make the icon to support RTL (#3528) @KathyWang0208