Skip to content

Commit a4f1dcd

Browse files
Version Packages
1 parent decd135 commit a4f1dcd

File tree

12 files changed

+77
-67
lines changed

12 files changed

+77
-67
lines changed

.changeset/clever-cats-carry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/healthy-days-hide.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/plenty-regions-warn.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/stupid-toes-find.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tidy-years-protect.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tough-students-guess.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# CHANGELOG
22

3+
## 0.81.0
4+
5+
### Minor Changes
6+
7+
- [#3785](https://github.com/primer/view_components/pull/3785) [`7526370`](https://github.com/opf/primer_view_components/commit/75263700b8c00ffdd525c81feed0de61b81d1067) Thanks [@lindseywild](https://github.com/lindseywild)! - Adds character_limit option to TextArea and TextField components
8+
9+
### Patch Changes
10+
11+
- [#3832](https://github.com/primer/view_components/pull/3832) [`15ac0d4`](https://github.com/opf/primer_view_components/commit/15ac0d498dca5947ca38992fb74b1e485d97a88a) Thanks [@llastflowers](https://github.com/llastflowers)! - Make Retry button focusable in loading_failure_story
12+
13+
- [#3848](https://github.com/primer/view_components/pull/3848) [`20d2e9f`](https://github.com/opf/primer_view_components/commit/20d2e9f195864fb900fab2473592d2249eed5ac0) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Add support for Ruby 4 in test suite.
14+
15+
- [#3823](https://github.com/primer/view_components/pull/3823) [`954596a`](https://github.com/opf/primer_view_components/commit/954596a07c4230f107c24dad2967f25577828d5b) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Tooltip: Prevents tooltip from appearing when popover (e.g. ActionMenu) is opened
16+
17+
- [#3850](https://github.com/primer/view_components/pull/3850) [`d722644`](https://github.com/opf/primer_view_components/commit/d722644d98e7b80ee684ccd53d3192f51322512c) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Fix compatibility issues with Herb, add linter to CI.
18+
19+
- [#3849](https://github.com/primer/view_components/pull/3849) [`7efbd32`](https://github.com/opf/primer_view_components/commit/7efbd32a4d90388a13a524f41261b91693b3b222) Thanks [@llastflowers](https://github.com/llastflowers)! - Make AvatarStack accessible via keyboard navigation
20+
321
## 0.80.2
422

523
### Patch Changes
@@ -480,7 +498,6 @@
480498

481499
- [#234](https://github.com/opf/primer_view_components/pull/234) [`cdb335c`](https://github.com/opf/primer_view_components/commit/cdb335ce1d5caad3cde8d4ee945461516f229577) Thanks [@myabc](https://github.com/myabc)! - [#60588] Implementation of Danger Dialog, a generalised dialog for "potentially dangerous" actions such as item deletion.
482500
There are two variants:
483-
484501
1. **the default (or "warning") variant**, requiring the user to click the dialog confirmation button to continue.
485502
2. **the second confirmation variant**, which requires the user to check a check box AND click confirm to continue with the operation.
486503

@@ -771,7 +788,6 @@
771788
- [#2983](https://github.com/primer/view_components/pull/2983) [`5d68193`](https://github.com/opf/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
772789

773790
- [#3010](https://github.com/primer/view_components/pull/3010) [`ebab85a`](https://github.com/opf/primer_view_components/commit/ebab85a3a3d2644079aaf495fd1e6689b89f713b) Thanks [@camertron](https://github.com/camertron)! - Fixes several SelectPanel bugs:
774-
775791
1. If multiple server-rendered items are checked, the panel will only show one item checked.
776792
2. If no `data-value` attributes are provided, panels in single-select mode will allow multiple items to be checked.
777793

@@ -1043,7 +1059,6 @@
10431059
- [#105](https://github.com/opf/primer_view_components/pull/105) [`a4ab139`](https://github.com/opf/primer_view_components/commit/a4ab1393ef25f4f6f1f0a9bf3ef6e32cb301c5ec) Thanks [@HDinger](https://github.com/HDinger)! - Fine-tuning of PageHeader component (spacings, size, font-weight)
10441060

10451061
- [#2751](https://github.com/primer/view_components/pull/2751) [`b1fef3c`](https://github.com/opf/primer_view_components/commit/b1fef3cf8ae547241b4d63fde81bc6c127fbd862) Thanks [@langermank](https://github.com/langermank)! - - Add `label_wrap` param to `Beta::Button`
1046-
10471062
- Bug fix: text overflows in SegmentedControl instead of ellipses
10481063

10491064
- [#2765](https://github.com/primer/view_components/pull/2765) [`1857983`](https://github.com/opf/primer_view_components/commit/1857983591752336d34133c83af3c8cfe232f1af) Thanks [@camertron](https://github.com/camertron)! - Fix issue preventing expansion and collapse of nav list items with tooltips
@@ -1071,7 +1086,6 @@
10711086
### Minor Changes
10721087

10731088
- [#96](https://github.com/opf/primer_view_components/pull/96) [`f52bbfa`](https://github.com/opf/primer_view_components/commit/f52bbfafcba707bd24e76495e84dc9e5128b0284) Thanks [@HDinger](https://github.com/HDinger)! - \* Add support for Dialogs inside the Primer::OpenProject::PageHeader component
1074-
10751089
- Limit the number of allowed actions to 5
10761090

10771091
- [#69](https://github.com/opf/primer_view_components/pull/69) [`81bb4b7`](https://github.com/opf/primer_view_components/commit/81bb4b7f746da1e076d085387a4ef2000067b946) Thanks [@bsatarnejad](https://github.com/bsatarnejad)! - Add `Primer::OpenProject::ZenModeButton` component. By clicking on the button, screen will be in full-mode or back in normal-mode.
@@ -1107,7 +1121,6 @@
11071121
- [#2603](https://github.com/primer/view_components/pull/2603) [`bbc1776`](https://github.com/opf/primer_view_components/commit/bbc1776b44e089516658aa76d2fec3724a4dccfc) Thanks [@langermank](https://github.com/langermank)! - Tooltip visual refresh to match Primer React
11081122

11091123
- [#89](https://github.com/opf/primer_view_components/pull/89) [`0d06bec`](https://github.com/opf/primer_view_components/commit/0d06bec7224ad70c071586f5884b2ef8692237dc) Thanks [@HDinger](https://github.com/HDinger)! - Changes `Primer::OpenProject::PageHeader`:
1110-
11111124
- Remove the `context_bar_actions` slot
11121125
- Make `breadcrumbs` required
11131126
- Remove the `parent_link` slot (will be derived automatically from the breadcrumb)
@@ -1127,7 +1140,6 @@
11271140
- [#2627](https://github.com/primer/view_components/pull/2627) [`226481e`](https://github.com/opf/primer_view_components/commit/226481e51e8c459dcd6d2a49d57c5005a8103aff) Thanks [@camertron](https://github.com/camertron)! - Support `<select>` elements that allow selecting multiple values
11281141

11291142
- [#2689](https://github.com/primer/view_components/pull/2689) [`a7f7dad`](https://github.com/opf/primer_view_components/commit/a7f7dad6170afc1dea1071639b5beb3aa20b7918) Thanks [@langermank](https://github.com/langermank)! - - Bug fix: inactive button colors
1130-
11311143
- Bug fix: double border/box-shadow on popover and dropdown
11321144
- Bug fix: text color for primary button in dark dimmed
11331145

@@ -1278,7 +1290,6 @@
12781290
- [#2426](https://github.com/primer/view_components/pull/2426) [`78dd9dd`](https://github.com/opf/primer_view_components/commit/78dd9ddb70ee5ade30e243968c87364a80ff1325) Thanks [@camertron](https://github.com/camertron)! - Fix typo in argument passed to event listener in ToolTip
12791291

12801292
- [#2379](https://github.com/primer/view_components/pull/2379) [`2c59c33`](https://github.com/opf/primer_view_components/commit/2c59c33bf54e392d743fbdd1076d06bff2151b42) Thanks [@mperrotti](https://github.com/mperrotti)! - Updates 'inactive' state for buttons based on feedback from the a11y team:
1281-
12821293
- inactive buttons need to meet the color contrast ratio minimum
12831294
- inactive buttons shouldn't have aria-disabled since they can still accept interactions such as:
12841295
- hover/focus to show a tooltip
@@ -1362,7 +1373,6 @@
13621373
- [#48](https://github.com/opf/primer_view_components/pull/48) [`102a2ee9`](https://github.com/opf/primer_view_components/commit/102a2ee9fe7b6a049906ca108607c38e3468d0ae) Thanks [@apfohl](https://github.com/apfohl)! - Added a "width" attribute to control how wide an input is rendered on screen.
13631374

13641375
It is active for:
1365-
13661376
- TextField
13671377
- Select
13681378

@@ -1393,7 +1403,6 @@
13931403
### Minor Changes
13941404

13951405
- [#2284](https://github.com/primer/view_components/pull/2284) [`374d10fd`](https://github.com/opf/primer_view_components/commit/374d10fd18e7371f49abf75dde135c3ed29fe33d) Thanks [@langermank](https://github.com/langermank)! - Update tooltip design
1396-
13971406
- Removes caret
13981407
- Decrease offset
13991408
- Remove animation delay
@@ -1436,7 +1445,6 @@
14361445
### Minor Changes
14371446

14381447
- [#36](https://github.com/opf/primer_view_components/pull/36) [`cfa8b633`](https://github.com/opf/primer_view_components/commit/cfa8b633d7718abdb6ca5a54389fff542951c4d4) Thanks [@HDinger](https://github.com/HDinger)! - - Add FlexLayout Component
1439-
14401448
- Add GridLayout Component
14411449

14421450
<!-- Changed components: Primer::OpenProject::FlexLayout, Primer::OpenProject::GridLayout -->
@@ -1464,7 +1472,6 @@
14641472
<!-- Changed components: _none_ -->
14651473

14661474
- [#2250](https://github.com/primer/view_components/pull/2250) [`66c4dd69`](https://github.com/opf/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)
1467-
14681475
- Fix disabled button styles (v8 colors)
14691476
- Bump Primitives to latest
14701477

@@ -1551,7 +1558,6 @@
15511558
### Minor Changes
15521559

15531560
- [#22](https://github.com/opf/primer_view_components/pull/22) [`ebbe8d5e`](https://github.com/opf/primer_view_components/commit/ebbe8d5e8a616799b9c8b54c0f263a2f43720d1f) Thanks [@oliverguenther](https://github.com/oliverguenther)! -
1554-
15551561
- Add OpenProject status for custom components
15561562
- Add PageHeader component
15571563

@@ -2236,7 +2242,6 @@
22362242
- [#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
22372243

22382244
* [#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:
2239-
22402245
- Primer::Dropdown moving to Primer::Alpha::Dropdown
22412246
- Primer::Dropdown::Menu moving to Primer::Alpha::Dropdown::Menu
22422247
- Primer::Dropdown::Menu::Item moving to Primer::Alpha::Dropdown::Menu::Item
@@ -3054,7 +3059,6 @@
30543059
_Manuel Puyol_
30553060

30563061
- Change spacing in `Blankslate`:
3057-
30583062
- Between `description` and `primary_action` to `32px`.
30593063
- Between `primary_action` and `secondary_action` to `16px`.
30603064

@@ -3412,7 +3416,6 @@
34123416
_Manuel Puyol_
34133417

34143418
- Linters can:
3415-
34163419
- convert values with ERB interpolations.
34173420
- autocorrect cases with custom classes.
34183421

@@ -3527,7 +3530,6 @@
35273530
_Kate Higa_
35283531

35293532
- Renames:
3530-
35313533
- `Primer::AvatarStackComponent` to `Primer::Beta::AvatarStack`.
35323534

35333535
_Manuel Puyol_
@@ -3569,7 +3571,6 @@
35693571
_Kate Higa_
35703572

35713573
- Renames:
3572-
35733574
- `Primer::AutoComplete` to `Primer::Beta::AutoComplete`
35743575
- `Primer::AutoComplete::Item` to `Primer::Beta::AutoComplete::Item`
35753576
- `Primer::AvatarComponent` to `Primer::Beta::Avatar`
@@ -3713,7 +3714,6 @@
37133714
_Kate Higa_
37143715

37153716
- Renames:
3716-
37173717
- `DropdownComponent` to `Dropdown`.
37183718
- `Dropdown::MenuComponent` to `Dropdown::Menu`.
37193719
- `Primer::ButtonMarketingComponent` to `Primer::Alpha::ButtonMarketing`.
@@ -4171,7 +4171,6 @@
41714171
_Simon Taranto_
41724172

41734173
- Update `LinkComponent`:
4174-
41754174
- use `Link--muted` instead of `muted-link`.
41764175
- accept `variant` and `underline` options.
41774176
- accept `:span` as a tag.
@@ -4481,7 +4480,6 @@
44814480

44824481
- Add support for box_shadow
44834482
- Add components:
4484-
44854483
- Popover
44864484

44874485
_Sarah Vessels_
@@ -4503,7 +4501,6 @@
45034501
_Joel Hawksley_
45044502

45054503
- Add components:
4506-
45074504
- Avatar
45084505
- Blankslate
45094506

@@ -4524,7 +4521,6 @@
45244521
_Manuel Puyol_
45254522

45264523
- Add components:
4527-
45284524
- BorderBox
45294525
- Box
45304526
- Breadcrumb

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
openproject-primer_view_components (0.80.2)
4+
openproject-primer_view_components (0.81.0)
55
actionview (>= 7.2.0)
66
activesupport (>= 7.2.0)
77
openproject-octicons (>= 19.30.1)

demo/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
openproject-primer_view_components (0.80.2)
4+
openproject-primer_view_components (0.81.0)
55
actionview (>= 7.2.0)
66
activesupport (>= 7.2.0)
77
openproject-octicons (>= 19.30.1)

lib/primer/view_components/version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ module Primer
55
module ViewComponents
66
module VERSION
77
MAJOR = 0
8-
MINOR = 80
9-
PATCH = 2
8+
MINOR = 81
9+
PATCH = 0
1010

1111
STRING = [MAJOR, MINOR, PATCH].join(".")
1212
end

0 commit comments

Comments
 (0)