diff --git a/.changeset/bright-glasses-taste.md b/.changeset/bright-glasses-taste.md deleted file mode 100644 index a608c4232e..0000000000 --- a/.changeset/bright-glasses-taste.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openproject/primer-view-components': patch ---- - -Prevent other Overlays closing when Escape is pressed while Tooltips are open diff --git a/.changeset/early-hornets-bake.md b/.changeset/early-hornets-bake.md deleted file mode 100644 index af8b694d63..0000000000 --- a/.changeset/early-hornets-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openproject/primer-view-components': minor ---- - -Primer::Alpha::ActionList now uses popover diff --git a/.changeset/heavy-wasps-agree.md b/.changeset/heavy-wasps-agree.md deleted file mode 100644 index e28a06645e..0000000000 --- a/.changeset/heavy-wasps-agree.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openproject/primer-view-components': minor ---- - -Add group support to ActionMenu diff --git a/.changeset/kind-years-wink.md b/.changeset/kind-years-wink.md deleted file mode 100644 index 0baed668f7..0000000000 --- a/.changeset/kind-years-wink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openproject/primer-view-components': patch ---- - -Fix typo in argument passed to event listener in ToolTip diff --git a/.changeset/lovely-suits-drop.md b/.changeset/lovely-suits-drop.md deleted file mode 100644 index 623598e649..0000000000 --- a/.changeset/lovely-suits-drop.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@openproject/primer-view-components": patch ---- - -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 - - click/activate to show a dialog with more detailed info on why it's inactive - - diff --git a/.changeset/new-lamps-poke.md b/.changeset/new-lamps-poke.md deleted file mode 100644 index c9e40e6a7f..0000000000 --- a/.changeset/new-lamps-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openproject/primer-view-components': patch ---- - -Fix: Allow month attribute for Primer::Beta::RelativeTime diff --git a/.changeset/rotten-trees-occur.md b/.changeset/rotten-trees-occur.md deleted file mode 100644 index 11bac4f307..0000000000 --- a/.changeset/rotten-trees-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openproject/primer-view-components': patch ---- - -Fix an issue where multiple groups could not be paginated within the same NavList diff --git a/.changeset/seven-students-chew.md b/.changeset/seven-students-chew.md deleted file mode 100644 index a834889f02..0000000000 --- a/.changeset/seven-students-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openproject/primer-view-components': patch ---- - -Prevent Blankslates from having a zero width inside flex containers diff --git a/.changeset/strange-rings-confess.md b/.changeset/strange-rings-confess.md deleted file mode 100644 index 0b4e6dc873..0000000000 --- a/.changeset/strange-rings-confess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@openproject/primer-view-components': minor ---- - -[ActionMenu] Don't allow previously hidden items to be checkable; add JavaScript API diff --git a/CHANGELOG.md b/CHANGELOG.md index 08d544c512..02e8108103 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # CHANGELOG +## 0.19.0 + +### Minor Changes + +- [#2378](https://github.com/primer/view_components/pull/2378) [`81b5acc`](https://github.com/opf/primer_view_components/commit/81b5acc641d2bebc3a634fe0d5d712ad289747cd) Thanks [@keithamus](https://github.com/keithamus)! - Primer::Alpha::ActionList now uses popover + +- [#2340](https://github.com/primer/view_components/pull/2340) [`b8d0540`](https://github.com/opf/primer_view_components/commit/b8d05407b42ec843f4a46b979779e6db69bd56ba) Thanks [@camertron](https://github.com/camertron)! - Add group support to ActionMenu + +- [#2393](https://github.com/primer/view_components/pull/2393) [`745eae0`](https://github.com/opf/primer_view_components/commit/745eae0d0be5efa3f368630b49db1eda2a11307e) Thanks [@camertron](https://github.com/camertron)! - [ActionMenu] Don't allow previously hidden items to be checkable; add JavaScript API + +### Patch Changes + +- [#2414](https://github.com/primer/view_components/pull/2414) [`48a2405`](https://github.com/opf/primer_view_components/commit/48a2405a2cdb6865eb57c2ea411fcece026590d0) Thanks [@keithamus](https://github.com/keithamus)! - Prevent other Overlays closing when Escape is pressed while Tooltips are open + +- [#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 + +- [#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: + + - 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 + - click/activate to show a dialog with more detailed info on why it's inactive + + + +- [#2408](https://github.com/primer/view_components/pull/2408) [`57586da`](https://github.com/opf/primer_view_components/commit/57586da49cf0f82c0da4736bc276984d6ea3b479) Thanks [@HDinger](https://github.com/HDinger)! - Fix: Allow month attribute for Primer::Beta::RelativeTime + +- [#2406](https://github.com/primer/view_components/pull/2406) [`fb9bf25`](https://github.com/opf/primer_view_components/commit/fb9bf257c358add060679d401719993b21ce7f45) Thanks [@strackoverflow](https://github.com/strackoverflow)! - Fix an issue where multiple groups could not be paginated within the same NavList + +- [#2412](https://github.com/primer/view_components/pull/2412) [`e7c9a6c`](https://github.com/opf/primer_view_components/commit/e7c9a6c62b82ec9ebff575ddd5fbd361fcc40334) Thanks [@camertron](https://github.com/camertron)! - Prevent Blankslates from having a zero width inside flex containers + ## 0.18.1 ### Patch Changes diff --git a/Gemfile.lock b/Gemfile.lock index fdea21ce6e..31fe74a875 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - openproject-primer_view_components (0.18.1) + openproject-primer_view_components (0.19.0) actionview (>= 5.0.0) activesupport (>= 5.0.0) openproject-octicons (>= 19.8.0) diff --git a/demo/Gemfile.lock b/demo/Gemfile.lock index dd388ee430..8a46780ba7 100644 --- a/demo/Gemfile.lock +++ b/demo/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - openproject-primer_view_components (0.18.1) + openproject-primer_view_components (0.19.0) actionview (>= 5.0.0) activesupport (>= 5.0.0) openproject-octicons (>= 19.8.0) diff --git a/lib/primer/view_components/version.rb b/lib/primer/view_components/version.rb index 574c11409a..9852af8eac 100644 --- a/lib/primer/view_components/version.rb +++ b/lib/primer/view_components/version.rb @@ -5,8 +5,8 @@ module Primer module ViewComponents module VERSION MAJOR = 0 - MINOR = 18 - PATCH = 1 + MINOR = 19 + PATCH = 0 STRING = [MAJOR, MINOR, PATCH].join(".") end diff --git a/package-lock.json b/package-lock.json index 54c4966889..98b121623f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@openproject/primer-view-components", - "version": "0.18.1", + "version": "0.19.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@openproject/primer-view-components", - "version": "0.18.1", + "version": "0.19.0", "license": "MIT", "dependencies": { "@github/auto-check-element": "^5.2.0", diff --git a/package.json b/package.json index 4b35e003d2..5c13109e1d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@openproject/primer-view-components", - "version": "0.18.1", + "version": "0.19.0", "description": "ViewComponents of the Primer Design System for OpenProject", "main": "app/assets/javascripts/primer_view_components.js", "module": "app/components/primer/primer.js",