primer_view_components 0.43.2 → 0.43.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/app/assets/javascripts/components/primer/beta/details_toggle_element.d.ts +4 -3
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/assets/styles/primer_view_components.css +1 -1
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_list.js +0 -2
- data/app/components/primer/alpha/action_list.ts +0 -2
- data/app/components/primer/alpha/toggle_switch.js +1 -0
- data/app/components/primer/alpha/toggle_switch.ts +1 -0
- data/app/components/primer/beta/breadcrumbs.css +1 -1
- data/app/components/primer/beta/breadcrumbs.css.map +1 -1
- data/app/components/primer/beta/breadcrumbs.pcss +1 -0
- data/app/components/primer/beta/details.rb +22 -12
- data/app/components/primer/beta/details_toggle_element.d.ts +4 -3
- data/app/components/primer/beta/details_toggle_element.js +12 -7
- data/app/components/primer/beta/details_toggle_element.ts +12 -7
- data/app/components/primer/beta/nav_list.js +0 -1
- data/app/components/primer/beta/nav_list.ts +0 -1
- data/app/components/primer/beta/nav_list_group_element.js +1 -0
- data/app/components/primer/beta/nav_list_group_element.ts +1 -0
- data/app/lib/primer/forms/acts_as_component.rb +0 -2
- data/config/routes.rb +27 -0
- data/lib/primer/accessibility.rb +3 -0
- data/lib/primer/view_components/linters/autocorrectable.rb +1 -1
- data/lib/primer/view_components/linters/migrations/iconbutton_component.rb +4 -7
- data/lib/primer/view_components/linters/migrations/truncate_component.rb +4 -7
- data/lib/primer/view_components/version.rb +1 -1
- data/lib/rubocop/cop/primer/base_cop.rb +1 -1
- data/lib/rubocop/cop/primer/component_name_migration.rb +7 -8
- data/lib/rubocop/cop/primer/deprecated_arguments.rb +7 -8
- data/lib/rubocop/cop/primer/deprecated_button_arguments.rb +5 -6
- data/lib/rubocop/cop/primer/deprecated_label_schemes.rb +6 -7
- data/lib/rubocop/cop/primer/deprecated_label_variants.rb +7 -14
- data/lib/rubocop/cop/primer/no_tag_memoize.rb +1 -1
- data/lib/rubocop/cop/primer/primer_octicon.rb +5 -6
- data/previews/primer/beta/breadcrumbs_preview/with_long_items.html.erb +13 -0
- data/previews/primer/beta/breadcrumbs_preview.rb +6 -0
- data/previews/primer/beta/details_preview.rb +16 -0
- data/static/arguments.json +67 -37
- data/static/audited_at.json +1 -0
- data/static/constants.json +13 -2
- data/static/info_arch.json +638 -1407
- data/static/previews.json +112 -0
- data/static/statuses.json +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b66353200fe640aa76cd248c9f55cae69a15156792c99bb5c1334f7242cf5e4
|
4
|
+
data.tar.gz: 55e14741a711398ba18294c13ef50705015ca4c7a3fd40135e9677fe7218191f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a802b5bbc7d1c980080f082eaae40d2f58453e0ff84dd51646200394e9978ec8df4385f8461dfb94dc2b1675603c08d0447375e8f92df034269d34d481c03fc2
|
7
|
+
data.tar.gz: 93f5a9c43cb1a8ed4fabd9d2179100d1956ac8d64ea022ad77a976f41f4f003bd93918df4e56022e3c63aa004a4434241699f91fb54496f9ef2200c70b86ba79
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 0.43.3
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#3521](https://github.com/primer/view_components/pull/3521) [`72a68d7`](https://github.com/primer/view_components/commit/72a68d7832a079c8ed7af5dbed9ad53d6c973281) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Rename .erb-linters folder to .erb_linters
|
8
|
+
|
9
|
+
- [#3518](https://github.com/primer/view_components/pull/3518) [`c25c43c`](https://github.com/primer/view_components/commit/c25c43cd9f1646943154a3c501fadba569353488) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Replace deprecated lookbook helper define_param_input with add_input_type
|
10
|
+
|
11
|
+
- [#3512](https://github.com/primer/view_components/pull/3512) [`b606322`](https://github.com/primer/view_components/commit/b606322653c6109797fe9933fdb7fcbfb09f8235) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Upgrade RuboCop cops to v1 API
|
12
|
+
|
13
|
+
- [#3534](https://github.com/primer/view_components/pull/3534) [`b8ebe04`](https://github.com/primer/view_components/commit/b8ebe0461245075db80e00aff9af5647766440f4) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Remove unnecessary aria-label from the Details component
|
14
|
+
|
15
|
+
- [#3540](https://github.com/primer/view_components/pull/3540) [`c94037e`](https://github.com/primer/view_components/commit/c94037ebc88b3d959aba99fdef47388ea16d3e3e) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Fix breadcrumb overflow by adding max-width constraint to prevent page overflow
|
16
|
+
|
17
|
+
- [#3522](https://github.com/primer/view_components/pull/3522) [`223a4c6`](https://github.com/primer/view_components/commit/223a4c69262aafb0dad3d8a502272a48a1be3875) Thanks [@camertron](https://github.com/camertron)! - Publish config folder in packaged gem
|
18
|
+
|
3
19
|
## 0.43.2
|
4
20
|
|
5
21
|
### Patch Changes
|
@@ -3,9 +3,10 @@
|
|
3
3
|
* ensures the <details> and <summary> elements markup is properly accessible by
|
4
4
|
* updating the aria-label and aria-expanded attributes on click.
|
5
5
|
*
|
6
|
-
* aria-label values
|
7
|
-
*
|
8
|
-
*
|
6
|
+
* aria-label values are only set if provided via the `data-aria-label-open` and
|
7
|
+
* `data-aria-label-closed` attributes on the summary target. If these attributes
|
8
|
+
* are not present, no aria-label will be set, allowing screen readers to use
|
9
|
+
* the visible text content.
|
9
10
|
*
|
10
11
|
* @example
|
11
12
|
* ```html
|