Releases: Skyscanner/backpack
Releases · Skyscanner/backpack
41.3.0
What’s Changed
Added
- [CLOV-957][BpkButton] Replace BpkButtonV2 with BpkButton across codebase (#4097) Ezreal Yang (@Supremeyh)
- [CLOV-909][BpkLink] Mark BpkButtonLink deprecated (#4096) Ezreal Yang (@Supremeyh)
- [CLOV-657][BpkLink] Refactor BpkLink with add as prop (#4094) Ezreal Yang (@Supremeyh)
- feat[BpkPrice]: added variant size medium (#4089) Nic da Costa (@nicdaCosta)
Fixed
41.2.0
What’s Changed
Added
- [SDBCK-61] bump bpk-foundations-web to 24.0.0 (#4092) Flora Cheng (@floracheng292)
41.1.0
41.0.1
What’s Changed
Fixed
- [NO JIRA][BpkButton] Fix BpkButton large size style (#4086) Ezreal Yang (@Supremeyh)
41.0.0
What’s Changed
💥 Breaking
- [CLOV-958][BpkButton] Remove BpkButton (v1) code and alias BpkButton to BpkButtonV2 (#4078) Xiaoguang Liu (@xiaogliu)
- [CLOV-907][BpkButton] Update BpkButton link and linkOnDark type style (#4076) Ezreal Yang (@Supremeyh)
🧠 Reminder
This release focuses on:
- [BpkButton]
- Style changes for
linkandlinkOnDark- Default underline: In V41, both text and icons will have an underline by default.
- Icon-only mode: When the button contains only an icon, no underline is applied.
- Implicit mode: The underline appears only on hover.
- Disabled state: The underline is removed when the button is disabled.
- Spacing: When text and icon appear together, an automatic 8px gap is applied.
- BpkButton V1 removal
- Legacy BpkButton (V1) has been fully removed, and its API behaviors are no longer supported.
- Style changes for
Impact: After upgrading to V41, please review underline and spacing behavior in your components, and migrate as needed following the migration guide.
40.3.0
What’s Changed
Dependency updates
- Bump jws from 3.2.2 to 3.2.3 (#4066) @dependabot[bot]
- Bump the storybook group across 1 directory with 5 updates (#4058) @dependabot[bot]
- Bump @skyscanner/stylelint-config-skyscanner from 13.1.0 to 14.2.0 (#4060) @dependabot[bot]
- Bump webpack from 5.101.2 to 5.103.0 (#4059) @dependabot[bot]
- Bump @skyscanner/eslint-config-skyscanner from 22.5.1 to 22.6.0 (#4026) @dependabot[bot]
- Bump the babel group across 1 directory with 2 updates (#4027) @dependabot[bot]
- Bump js-yaml from 3.14.1 to 3.14.2 (#4047) @dependabot[bot]
40.2.2
40.2.1
What’s Changed
Fixed
- [BpkAutosuggest] Fix autosuggestion title not breaking words when title doesn't include spaces (#4054) Gert-Jan Vercauteren (@gert-janvercauteren)
40.2.0
What’s Changed
Added
- [CLOV-19][BpkFieldset] BpkFieldset TS Migration (#4045) kerrie-wu
- Bump core-js from 3.45.1 to 3.46.0 (#4028) @dependabot[bot]
- Bump glob (#4046) @dependabot[bot]
- [CLOV-950] [BpkButton] Migrate BpkButton to BpkButtonV2 (#4048) Ezreal Yang (@Supremeyh)
- [CLOV-30][BpkCheckbox] TS migration (#4040) IrinaWei
Fixed
- [GOOSE-559][BpkSwapButton] Override padding alignment set by Safari User Agent (#4052) Noel Rajan (@FireRedNinja)
Dependency updates
- Bump core-js from 3.45.1 to 3.46.0 (#4028) @dependabot[bot]
- Bump glob (#4046) @dependabot[bot]
40.1.2
What’s Changed
🆕 Add
- [CLOV-964][BpkButton] Export legacy props and types (#4044) Ezreal Yang (@Supremeyh)
🧠 Reminder
This release focuses on:
This release can import BUTTON_TYPES, SIZE_TYPES, type ButtonType, type SizeType, type Props the same path as BpkButtonV2
import { BpkButtonV2, BUTTON_TYPES, type ButtonType } from '@skyscanner/backpack-web/bpk-component-button';