Skip to content

Commit

Permalink
build(blade): update version (#1392)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
rzpcibot and github-actions[bot] committed Jul 5, 2023
1 parent bd5eded commit 744d8d3
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 61 deletions.
60 changes: 0 additions & 60 deletions .changeset/stupid-poets-trade.md

This file was deleted.

59 changes: 59 additions & 0 deletions packages/blade/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,64 @@
# @razorpay/blade

## 8.15.0

### Minor Changes

- bd5ededd: feat(DropdownHeaderFooter): add DropdownHeader DropdownFooter components

We have standardised the Header and Footer between Dropdown, BottomSheet, Modal, and any future components.

> **Warning**
>
> **Breaking Change :** For consumers who use - `ActionListHeader` or `ActionListFooter`.
>
> Through our code search we found there weren't any instances of these component in Razorpay code yet thus this is released under minor version
## Migration Guide

> **Note**
>
> The Header and Footer are redesigned so it might not be possible to have 1:1 designs. The new header and footer will look different.
1. Remove `ActionListHeader` and `ActionListFooter` from the inside of the `ActionList`
2. Add `DropdownHeader` and `DropdownFooter` outside of the `ActionList`, inside `DropdownOverlay`.

```diff
import {
Dropdown,
DropdownOverlay,
SelectInput,
ActionListHeader,
ActionListFooter,
ActionList,
ActionListItem
} from '@razorpay/blade/components';

function App() {
return (
<Dropdown>
<SelectInput label="Select City" />
<DropdownOverlay>
+ <DropdownHeader title="Title" />
<ActionList>
- <ActionListHeader title="Title" />
<ActionListItem />
<ActionListItem />
- <ActionListFooter trailing={<Button>Apply</Button>} />
</ActionList>
+ <DropdownFooter>
+ <Box><Button>Apply</Button></Box>
+ </DropdownFooter>
</DropdownOverlay>
</Dropdown>
)
}

export { App };
```

Checkout [Dropdown Docs](https://blade.razorpay.com/?path=/story/components-dropdown-dropdown--page&globals=showInternalComponents:true;measureEnabled:false) for more details

## 8.14.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/blade/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@razorpay/blade",
"description": "The Design System that powers Razorpay",
"version": "8.14.0",
"version": "8.15.0",
"license": "MIT",
"engines": {
"node": ">=18.12.1"
Expand Down

0 comments on commit 744d8d3

Please sign in to comment.