primer_view_components 0.43.5 → 0.43.6

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.
@@ -102,6 +102,7 @@ module Primer
102
102
  # @param lang [String] The language to use.
103
103
  # @param title [String] Provide a custom title to the element.
104
104
  # @param no_title [Boolean] Removes the `title` attribute provided on the element by default.
105
+ # @param aria_hidden [Boolean] Set if the element is hidden or not.
105
106
  # @param system_arguments [Hash] <%= link_to_system_arguments_docs %>
106
107
  def initialize(
107
108
  datetime:,
@@ -122,6 +123,7 @@ module Primer
122
123
  lang: nil,
123
124
  title: nil,
124
125
  no_title: false,
126
+ aria_hidden: nil,
125
127
  **system_arguments
126
128
  )
127
129
  @system_arguments = deny_tag_argument(**system_arguments)
@@ -143,6 +145,7 @@ module Primer
143
145
  @system_arguments[:lang] = lang if lang.present?
144
146
  @system_arguments[:format] = fetch_or_fallback(FORMAT_OPTIONS, format, FORMAT_DEFAULT) if format.present?
145
147
  @system_arguments[:"format-style"] = format_style if format_style.present?
148
+ @system_arguments[:"aria-hidden"] = aria_hidden if aria_hidden.present?
146
149
  if datetime.present? && datetime.respond_to?(:iso8601)
147
150
  @datetime = datetime
148
151
  @system_arguments[:datetime] = datetime.iso8601
@@ -6,7 +6,7 @@ module Primer
6
6
  module VERSION
7
7
  MAJOR = 0
8
8
  MINOR = 43
9
- PATCH = 5
9
+ PATCH = 6
10
10
 
11
11
  STRING = [MAJOR, MINOR, PATCH].join(".")
12
12
  end
@@ -4571,6 +4571,12 @@
4571
4571
  "default": "`false`",
4572
4572
  "description": "Removes the `title` attribute provided on the element by default."
4573
4573
  },
4574
+ {
4575
+ "name": "aria_hidden",
4576
+ "type": "Boolean",
4577
+ "default": "`nil`",
4578
+ "description": "Set if the element is hidden or not."
4579
+ },
4574
4580
  {
4575
4581
  "name": "system_arguments",
4576
4582
  "type": "Hash",
@@ -15256,6 +15256,12 @@
15256
15256
  "default": "`false`",
15257
15257
  "description": "Removes the `title` attribute provided on the element by default."
15258
15258
  },
15259
+ {
15260
+ "name": "aria_hidden",
15261
+ "type": "Boolean",
15262
+ "default": "`nil`",
15263
+ "description": "Set if the element is hidden or not."
15264
+ },
15259
15265
  {
15260
15266
  "name": "system_arguments",
15261
15267
  "type": "Hash",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: primer_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.5
4
+ version: 0.43.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Open Source
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-30 00:00:00.000000000 Z
11
+ date: 2025-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -61,7 +61,7 @@ dependencies:
61
61
  version: '3.1'
62
62
  - - "<"
63
63
  - !ruby/object:Gem::Version
64
- version: '4.0'
64
+ version: '5.0'
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -71,7 +71,7 @@ dependencies:
71
71
  version: '3.1'
72
72
  - - "<"
73
73
  - !ruby/object:Gem::Version
74
- version: '4.0'
74
+ version: '5.0'
75
75
  description:
76
76
  email:
77
77
  - opensource+primer_view_components@github.com