Skip to content

Commit

Permalink
chore: fix changesets v2 (#1788)
Browse files Browse the repository at this point in the history
* docs(cta): fix additional changeset spelling

* docs(tabs): update deprecated `isTab()` and `isPanel()` changeset to major

* docs(cta): add before/after example to deprecated `color-palette` attribute changeset

* docs(navigation-secondary): add before/after example to changeset

* docs(cta): change focus changeset to patch

* docs(tile): change tile group grid layout changeset to patch

* docs(pagination): added color palette example

* docs(breadcrumb): remove line breaks from changeset

* docs: apply suggestions from code review

---------

Co-authored-by: Benny Powers - עם ישראל חי! <[email protected]>
  • Loading branch information
adamjohnson and bennypowers authored Aug 27, 2024
1 parent 8e68a6a commit 3d554e6
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .changeset/curvy-ducks-study.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@rhds/elements": patch
"@rhds/elements": major
---

`<rh-tabs>`: removed `RhTabs.isTab()` and `RhTabs.isPanel()` static class methods
`<rh-tabs>`: removed deprecated `RhTabs.isTab()` and `RhTabs.isPanel()` static class methods.
2 changes: 1 addition & 1 deletion .changeset/eleven-ligers-share.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@rhds/elements": minor
"@rhds/elements": patch
---

`<rh-tile-group>`: Corrected application of grid layout to slotted elements.
4 changes: 2 additions & 2 deletions .changeset/good-planets-yell.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@rhds/elements": minor
"@rhds/elements": patch
---

`<rh-cta>`: Changed focus states to mimic hover states + an additonal outline.
`<rh-cta>`: Changed focus states to mimic hover states + an additional outline.
4 changes: 1 addition & 3 deletions .changeset/metal-snakes-wave.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

✨ Added `<rh-breadcrumb>`.

A breadcrumb navigation is a secondary navigation element consisting of a list
of links to the parent pages of the current page in hierarchical order. It
helps users find their place within a website or web application.
A breadcrumb navigation is a secondary navigation element consisting of a list of links to the parent pages of the current page in hierarchical order. It helps users find their place within a website or web application.

```html
<rh-breadcrumb>
Expand Down
17 changes: 17 additions & 0 deletions .changeset/mighty-vans-dress.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
---
"@rhds/elements": major
---

`<rh-cta>`: Removed previously-deprecated `color-palette` attribute

Use themable containers (e.g. `<rh-surface>` or `<rh-card>`) instead.

Before:

```html
<rh-cta color-palette="dark" href="#default">Default</rh-cta>
```

After:

```html
<rh-surface color-palette="dark">
<rh-cta href="#default">Default</rh-cta>
</rh-surface>
```
16 changes: 15 additions & 1 deletion .changeset/nice-kangaroos-kiss.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,18 @@
"@rhds/elements": minor
---

`<rh-pagination>`: Added dark color palette
`<rh-pagination>`: ✨ Added support for dark color themes

```html
<rh-surface color-palette="dark">
<rh-pagination>
<ol>
<li><a href="#">1</a></li>
<li><a href="#2">2</a></li>
<li><a href="#3">3</a></li>
<li><a href="#4">4</a></li>
<li><a href="#5">5</a></li>
</ol>
</rh-pagination>
</rh-surface>
```
16 changes: 16 additions & 0 deletions .changeset/serious-lemons-divide.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,19 @@
---

`<rh-navigation-secondary>` removed deprecated alias `rh-secondary-nav`

Before:

```html
<rh-secondary-nav>
<!-- ... -->
</rh-secondary-nav>
```

After:

```html
<rh-navigation-secondary>
<!-- ... -->
</rh-navigation-secondary>
```

0 comments on commit 3d554e6

Please sign in to comment.