Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/clever-cats-carry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/healthy-days-hide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/plenty-regions-warn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stupid-toes-find.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-years-protect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tough-students-guess.md

This file was deleted.

34 changes: 18 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# CHANGELOG

## 0.49.0

### Minor Changes

- [#3785](https://github.com/primer/view_components/pull/3785) [`7526370`](https://github.com/primer/view_components/commit/75263700b8c00ffdd525c81feed0de61b81d1067) Thanks [@lindseywild](https://github.com/lindseywild)! - Adds character_limit option to TextArea and TextField components

### Patch Changes

- [#3832](https://github.com/primer/view_components/pull/3832) [`15ac0d4`](https://github.com/primer/view_components/commit/15ac0d498dca5947ca38992fb74b1e485d97a88a) Thanks [@llastflowers](https://github.com/llastflowers)! - Make Retry button focusable in loading_failure_story

- [#3848](https://github.com/primer/view_components/pull/3848) [`20d2e9f`](https://github.com/primer/view_components/commit/20d2e9f195864fb900fab2473592d2249eed5ac0) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Add support for Ruby 4 in test suite.

- [#3823](https://github.com/primer/view_components/pull/3823) [`954596a`](https://github.com/primer/view_components/commit/954596a07c4230f107c24dad2967f25577828d5b) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Tooltip: Prevents tooltip from appearing when popover (e.g. ActionMenu) is opened

- [#3850](https://github.com/primer/view_components/pull/3850) [`d722644`](https://github.com/primer/view_components/commit/d722644d98e7b80ee684ccd53d3192f51322512c) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Fix compatibility issues with Herb, add linter to CI.

- [#3849](https://github.com/primer/view_components/pull/3849) [`7efbd32`](https://github.com/primer/view_components/commit/7efbd32a4d90388a13a524f41261b91693b3b222) Thanks [@llastflowers](https://github.com/llastflowers)! - Make AvatarStack accessible via keyboard navigation

## 0.48.0

### Minor Changes
Expand Down Expand Up @@ -382,7 +400,6 @@
- [#2983](https://github.com/primer/view_components/pull/2983) [`5d68193`](https://github.com/primer/view_components/commit/5d681938247c4a957d62b05c2560fef24195ff51) Thanks [@keithamus](https://github.com/keithamus)! - Ensure ActionMenu restores focus on close of a dialog, if a menu item opened that dialog

- [#3010](https://github.com/primer/view_components/pull/3010) [`ebab85a`](https://github.com/primer/view_components/commit/ebab85a3a3d2644079aaf495fd1e6689b89f713b) Thanks [@camertron](https://github.com/camertron)! - Fixes several SelectPanel bugs:

1. If multiple server-rendered items are checked, the panel will only show one item checked.
2. If no `data-value` attributes are provided, panels in single-select mode will allow multiple items to be checked.

Expand Down Expand Up @@ -559,7 +576,6 @@
### Patch Changes

- [#2751](https://github.com/primer/view_components/pull/2751) [`b1fef3c`](https://github.com/primer/view_components/commit/b1fef3cf8ae547241b4d63fde81bc6c127fbd862) Thanks [@langermank](https://github.com/langermank)! - - Add `label_wrap` param to `Beta::Button`

- Bug fix: text overflows in SegmentedControl instead of ellipses

- [#2765](https://github.com/primer/view_components/pull/2765) [`1857983`](https://github.com/primer/view_components/commit/1857983591752336d34133c83af3c8cfe232f1af) Thanks [@camertron](https://github.com/camertron)! - Fix issue preventing expansion and collapse of nav list items with tooltips
Expand Down Expand Up @@ -761,7 +777,6 @@
- [#2414](https://github.com/primer/view_components/pull/2414) [`48a2405a`](https://github.com/primer/view_components/commit/48a2405a2cdb6865eb57c2ea411fcece026590d0) Thanks [@keithamus](https://github.com/keithamus)! - Prevent other Overlays closing when Escape is pressed while Tooltips are open

- [#2379](https://github.com/primer/view_components/pull/2379) [`2c59c33b`](https://github.com/primer/view_components/commit/2c59c33bf54e392d743fbdd1076d06bff2151b42) Thanks [@mperrotti](https://github.com/mperrotti)! - Updates 'inactive' state for buttons based on feedback from the a11y team:

- inactive buttons need to meet the color contrast ratio minimum
- inactive buttons shouldn't have aria-disabled since they can still accept interactions such as:
- hover/focus to show a tooltip
Expand Down Expand Up @@ -831,7 +846,6 @@
### Minor Changes

- [#2284](https://github.com/primer/view_components/pull/2284) [`374d10fd`](https://github.com/primer/view_components/commit/374d10fd18e7371f49abf75dde135c3ed29fe33d) Thanks [@langermank](https://github.com/langermank)! - Update tooltip design

- Removes caret
- Decrease offset
- Remove animation delay
Expand Down Expand Up @@ -885,7 +899,6 @@
<!-- Changed components: Primer::Alpha::ActionBar -->

- [#2259](https://github.com/primer/view_components/pull/2259) [`a2fe6134`](https://github.com/primer/view_components/commit/a2fe61342b2f3527533902d845f5a9d500d6910c) Thanks [@TylerJDev](https://github.com/TylerJDev)! - \* Includes ActionMenu in ActionBar focus trap when present.

- Adjusts `focus_group.ts` to set `tabindex="0"` back to invoker if it is non-focusable.
- Prevents popover invokers from being triggered with 'left' and 'right' arrow keys.

Expand Down Expand Up @@ -924,7 +937,6 @@
<!-- Changed components: _none_ -->

- [#2250](https://github.com/primer/view_components/pull/2250) [`66c4dd69`](https://github.com/primer/view_components/commit/66c4dd6936b386caa42868beef9ea1b33f84b11b) Thanks [@langermank](https://github.com/langermank)! - - Improve contrast for icons in `invisible` button on hover in dark mode (within v8 colors)

- Fix disabled button styles (v8 colors)
- Bump Primitives to latest

Expand Down Expand Up @@ -1639,7 +1651,6 @@
- [#1632](https://github.com/primer/view_components/pull/1632) [`7f1181be`](https://github.com/primer/view_components/commit/7f1181be49960337254db834e9b2b9a5fdb7b0b8) Thanks [@camertron](https://github.com/camertron)! - Improve performance of the deny\_\* methods

* [#1625](https://github.com/primer/view_components/pull/1625) [`3af9bf5e`](https://github.com/primer/view_components/commit/3af9bf5e778bb1fe475ed7efda9fc1a5ed36d695) Thanks [@jonrohan](https://github.com/jonrohan)! - Deprecate components and moving to new namespace:

- Primer::Dropdown moving to Primer::Alpha::Dropdown
- Primer::Dropdown::Menu moving to Primer::Alpha::Dropdown::Menu
- Primer::Dropdown::Menu::Item moving to Primer::Alpha::Dropdown::Menu::Item
Expand Down Expand Up @@ -2457,7 +2468,6 @@
_Manuel Puyol_

- Change spacing in `Blankslate`:

- Between `description` and `primary_action` to `32px`.
- Between `primary_action` and `secondary_action` to `16px`.

Expand Down Expand Up @@ -2815,7 +2825,6 @@
_Manuel Puyol_

- Linters can:

- convert values with ERB interpolations.
- autocorrect cases with custom classes.

Expand Down Expand Up @@ -2930,7 +2939,6 @@
_Kate Higa_

- Renames:

- `Primer::AvatarStackComponent` to `Primer::Beta::AvatarStack`.

_Manuel Puyol_
Expand Down Expand Up @@ -2972,7 +2980,6 @@
_Kate Higa_

- Renames:

- `Primer::AutoComplete` to `Primer::Beta::AutoComplete`
- `Primer::AutoComplete::Item` to `Primer::Beta::AutoComplete::Item`
- `Primer::AvatarComponent` to `Primer::Beta::Avatar`
Expand Down Expand Up @@ -3116,7 +3123,6 @@
_Kate Higa_

- Renames:

- `DropdownComponent` to `Dropdown`.
- `Dropdown::MenuComponent` to `Dropdown::Menu`.
- `Primer::ButtonMarketingComponent` to `Primer::Alpha::ButtonMarketing`.
Expand Down Expand Up @@ -3574,7 +3580,6 @@
_Simon Taranto_

- Update `LinkComponent`:

- use `Link--muted` instead of `muted-link`.
- accept `variant` and `underline` options.
- accept `:span` as a tag.
Expand Down Expand Up @@ -3884,7 +3889,6 @@

- Add support for box_shadow
- Add components:

- Popover

_Sarah Vessels_
Expand All @@ -3906,7 +3910,6 @@
_Joel Hawksley_

- Add components:

- Avatar
- Blankslate

Expand All @@ -3927,7 +3930,6 @@
_Manuel Puyol_

- Add components:

- BorderBox
- Box
- Breadcrumb
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
primer_view_components (0.48.0)
primer_view_components (0.49.0)
actionview (>= 7.2.0)
activesupport (>= 7.2.0)
octicons (>= 18.0.0)
Expand Down
2 changes: 1 addition & 1 deletion demo/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
primer_view_components (0.48.0)
primer_view_components (0.49.0)
actionview (>= 7.2.0)
activesupport (>= 7.2.0)
octicons (>= 18.0.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/primer/view_components/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Primer
module ViewComponents
module VERSION
MAJOR = 0
MINOR = 48
MINOR = 49
PATCH = 0

STRING = [MAJOR, MINOR, PATCH].join(".")
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@primer/view-components",
"version": "0.48.0",
"version": "0.49.0",
"description": "ViewComponents for the Primer Design System",
"main": "app/assets/javascripts/primer_view_components.js",
"module": "app/components/primer/primer.js",
Expand Down
Loading