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.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/app/assets/javascripts/components/primer/beta/details_toggle_element.d.ts +4 -3
  4. data/app/assets/javascripts/primer_view_components.js +1 -1
  5. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  6. data/app/assets/styles/primer_view_components.css +1 -1
  7. data/app/assets/styles/primer_view_components.css.map +1 -1
  8. data/app/components/primer/alpha/action_list.js +0 -2
  9. data/app/components/primer/alpha/action_list.ts +0 -2
  10. data/app/components/primer/alpha/toggle_switch.js +1 -0
  11. data/app/components/primer/alpha/toggle_switch.ts +1 -0
  12. data/app/components/primer/beta/breadcrumbs.css +1 -1
  13. data/app/components/primer/beta/breadcrumbs.css.map +1 -1
  14. data/app/components/primer/beta/breadcrumbs.pcss +1 -0
  15. data/app/components/primer/beta/details.rb +22 -12
  16. data/app/components/primer/beta/details_toggle_element.d.ts +4 -3
  17. data/app/components/primer/beta/details_toggle_element.js +12 -7
  18. data/app/components/primer/beta/details_toggle_element.ts +12 -7
  19. data/app/components/primer/beta/nav_list.js +0 -1
  20. data/app/components/primer/beta/nav_list.ts +0 -1
  21. data/app/components/primer/beta/nav_list_group_element.js +1 -0
  22. data/app/components/primer/beta/nav_list_group_element.ts +1 -0
  23. data/app/lib/primer/forms/acts_as_component.rb +0 -2
  24. data/config/routes.rb +27 -0
  25. data/lib/primer/accessibility.rb +3 -0
  26. data/lib/primer/view_components/linters/autocorrectable.rb +1 -1
  27. data/lib/primer/view_components/linters/migrations/iconbutton_component.rb +4 -7
  28. data/lib/primer/view_components/linters/migrations/truncate_component.rb +4 -7
  29. data/lib/primer/view_components/version.rb +1 -1
  30. data/lib/rubocop/cop/primer/base_cop.rb +1 -1
  31. data/lib/rubocop/cop/primer/component_name_migration.rb +7 -8
  32. data/lib/rubocop/cop/primer/deprecated_arguments.rb +7 -8
  33. data/lib/rubocop/cop/primer/deprecated_button_arguments.rb +5 -6
  34. data/lib/rubocop/cop/primer/deprecated_label_schemes.rb +6 -7
  35. data/lib/rubocop/cop/primer/deprecated_label_variants.rb +7 -14
  36. data/lib/rubocop/cop/primer/no_tag_memoize.rb +1 -1
  37. data/lib/rubocop/cop/primer/primer_octicon.rb +5 -6
  38. data/previews/primer/beta/breadcrumbs_preview/with_long_items.html.erb +13 -0
  39. data/previews/primer/beta/breadcrumbs_preview.rb +6 -0
  40. data/previews/primer/beta/details_preview.rb +16 -0
  41. data/static/arguments.json +67 -37
  42. data/static/audited_at.json +1 -0
  43. data/static/constants.json +13 -2
  44. data/static/info_arch.json +638 -1407
  45. data/static/previews.json +112 -0
  46. data/static/statuses.json +1 -0
  47. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 135cd5a4102393b5d7d17fd81d9e5d8a1189e386950355f477c0940083d7164c
4
- data.tar.gz: 7088241ca5bb1311bc0f7765d45f7c482891b8e407ff52aea060b9a42d12833d
3
+ metadata.gz: 9b66353200fe640aa76cd248c9f55cae69a15156792c99bb5c1334f7242cf5e4
4
+ data.tar.gz: 55e14741a711398ba18294c13ef50705015ca4c7a3fd40135e9677fe7218191f
5
5
  SHA512:
6
- metadata.gz: abb30b6d51acb71e4640c0de9006cdeab3f731e05a997d5fecd7833b9edd54500b346f84d780feb0d99d6f8f4331b5d0a274b58cd6e0ca5bed860d21ebbc5af5
7
- data.tar.gz: f051109ed113ac9b913b79dcdc811485efa52040e9ae9ec7e36ec614e1e834f0b0e19698165f08291c32b2e03af967561bcf50c7933542be0d7a838fdf351db1
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 default to "Expand" and "Collapse". To override those
7
- * values, use the `data-aria-label-open` and `data-aria-label-closed`
8
- * attributes on the summary target.
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