From e7912dfcf61ff105604dea184d7d03534804b237 Mon Sep 17 00:00:00 2001 From: "primer[bot]" <119360173+primer[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 15:41:51 -0700 Subject: [PATCH 1/7] Release Tracking (#2325) Co-authored-by: github-actions[bot] --- .changeset/dry-cameras-attend.md | 5 ----- .changeset/red-moles-tie.md | 8 -------- CHANGELOG.md | 10 ++++++++++ Gemfile.lock | 2 +- demo/Gemfile.lock | 2 +- lib/primer/view_components/version.rb | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 8 files changed, 16 insertions(+), 19 deletions(-) delete mode 100644 .changeset/dry-cameras-attend.md delete mode 100644 .changeset/red-moles-tie.md diff --git a/.changeset/dry-cameras-attend.md b/.changeset/dry-cameras-attend.md deleted file mode 100644 index f13d33dacb..0000000000 --- a/.changeset/dry-cameras-attend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/view-components': patch ---- - -Prevent scrolling when activating ActionMenu items via space diff --git a/.changeset/red-moles-tie.md b/.changeset/red-moles-tie.md deleted file mode 100644 index 88da3e7df4..0000000000 --- a/.changeset/red-moles-tie.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@primer/view-components": patch ---- - -Revert Tooltip caret removal - - - diff --git a/CHANGELOG.md b/CHANGELOG.md index 2891e9b716..1fb99408aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # CHANGELOG +## 0.13.1 + +### Patch Changes + +- [#2326](https://github.com/primer/view_components/pull/2326) [`4e05b7ec`](https://github.com/primer/view_components/commit/4e05b7ecb764b104a0afa35c478eff5c79f9270e) Thanks [@camertron](https://github.com/camertron)! - Prevent scrolling when activating ActionMenu items via space + +- [#2324](https://github.com/primer/view_components/pull/2324) [`cc44952c`](https://github.com/primer/view_components/commit/cc44952c1c84e4fcd3ad6dc786db7211cdb82d36) Thanks [@langermank](https://github.com/langermank)! - Revert Tooltip caret removal + + + ## 0.13.0 ### Minor Changes diff --git a/Gemfile.lock b/Gemfile.lock index f6a0469453..3b955ac9b8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - primer_view_components (0.13.0) + primer_view_components (0.13.1) actionview (>= 5.0.0) activesupport (>= 5.0.0) octicons (>= 18.0.0) diff --git a/demo/Gemfile.lock b/demo/Gemfile.lock index 20a9a1a435..e898b50985 100644 --- a/demo/Gemfile.lock +++ b/demo/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - primer_view_components (0.13.0) + primer_view_components (0.13.1) actionview (>= 5.0.0) activesupport (>= 5.0.0) octicons (>= 18.0.0) diff --git a/lib/primer/view_components/version.rb b/lib/primer/view_components/version.rb index 6b85d17d63..ac5e3fd31d 100644 --- a/lib/primer/view_components/version.rb +++ b/lib/primer/view_components/version.rb @@ -6,7 +6,7 @@ module ViewComponents module VERSION MAJOR = 0 MINOR = 13 - PATCH = 0 + PATCH = 1 STRING = [MAJOR, MINOR, PATCH].join(".") end diff --git a/package-lock.json b/package-lock.json index 3adbb31e90..9c5ab94de0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@primer/view-components", - "version": "0.13.0", + "version": "0.13.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@primer/view-components", - "version": "0.13.0", + "version": "0.13.1", "license": "MIT", "dependencies": { "@github/auto-check-element": "^5.2.0", diff --git a/package.json b/package.json index 659693e7a8..84bf7e4146 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@primer/view-components", - "version": "0.13.0", + "version": "0.13.1", "description": "ViewComponents for the Primer Design System", "main": "app/assets/javascripts/primer_view_components.js", "module": "app/components/primer/primer.js", From bc90b4426b3e56702a0fa099dc52187cb04433cd Mon Sep 17 00:00:00 2001 From: Evan Louden Date: Tue, 24 Oct 2023 13:44:41 -0400 Subject: [PATCH 2/7] fix: Documentation URL in README.md (#2327) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 67d9e66b1b..1df642e35b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ _Note: This library is under active pre-1.0 development. Breaking changes are li ## Documentation -Visit [https://primer.style/view_components/](https://primer.style/design/components/) to view documentation. +Visit [https://primer.style/components/](https://primer.style/components/) to view documentation. ## License From 265f16b9af7be51c8a4aaded32df7ec4b06282fa Mon Sep 17 00:00:00 2001 From: Cameron Dutro Date: Tue, 24 Oct 2023 13:28:49 -0700 Subject: [PATCH 3/7] Render @accessibility tag text for docs (#2329) --- lib/primer/static/generate_info_arch.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/primer/static/generate_info_arch.rb b/lib/primer/static/generate_info_arch.rb index 9d5e71e59e..ef1d295a6a 100644 --- a/lib/primer/static/generate_info_arch.rb +++ b/lib/primer/static/generate_info_arch.rb @@ -70,10 +70,15 @@ def call render_erb_ignoring_markdown_code_fences(docs.base_docstring) end + accessibility_docs = + if (accessibility_tag_text = docs.tags(:accessibility)&.first&.text) + render_erb_ignoring_markdown_code_fences(accessibility_tag_text) + end + memo[component] = { "fully_qualified_name" => component.name, "description" => description, - "accessibility_docs" => docs.tags(:accessibility)&.first&.text, + "accessibility_docs" => accessibility_docs, "is_form_component" => docs.manifest_entry.form_component?, "is_published" => docs.manifest_entry.published?, "requires_js" => docs.manifest_entry.requires_js?, From 25ba122f4001a412d4941cd05ab630a9f00e37a1 Mon Sep 17 00:00:00 2001 From: primer-css Date: Tue, 24 Oct 2023 20:30:08 +0000 Subject: [PATCH 4/7] Generating static files --- static/info_arch.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/static/info_arch.json b/static/info_arch.json index 7c4a4273b4..58ae0ad2ba 100644 --- a/static/info_arch.json +++ b/static/info_arch.json @@ -7062,7 +7062,7 @@ { "fully_qualified_name": "Primer::Alpha::TabNav", "description": "Use `TabNav` to style navigation with a tab-based selected state, typically used for navigation placed at the top of the page.\nFor panel navigation, use {{#link_to_component}}Primer::Alpha::TabPanels{{/link_to_component}} instead.", - "accessibility_docs": "- By default, `TabNav` renders links within a `