openproject-primer_view_components 0.84.2 → 0.84.4
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c94ecf6706507b0a719ae4713e4ae1126be1d420f91ae56cce7426e5af010b4
|
|
4
|
+
data.tar.gz: 290d0b16c8fa76b78e788d310df935044a9eaf11cd5389fb226b5941a2b9c279
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29e778db1a08041e8446f4c9562d98b7afa14e88d2fef8c01aa694ca6043bc1068c87d0537255cc20a3064ee69b222562c0368bfb262d18c3935cda6ebe987e7
|
|
7
|
+
data.tar.gz: edf2df963c2191a7a558c2827f31fc23fb85a119e03b4963f4306345b69c08028529bf4dab68eb934ee3863aebbb903ab8ae26894558959522b7d64fd7d26762
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 0.84.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#441](https://github.com/opf/primer_view_components/pull/441) [`a71da10`](https://github.com/opf/primer_view_components/commit/a71da1074d5f3e13e0610059de1066434b6d4b58) Thanks [@HDinger](https://github.com/HDinger)! - Bump ociticons to 19.34.0
|
|
8
|
+
|
|
9
|
+
- [#436](https://github.com/opf/primer_view_components/pull/436) [`1438f6f`](https://github.com/opf/primer_view_components/commit/1438f6fed90c20cb8d1f13ce481a380fa3edca91) Thanks [@HDinger](https://github.com/HDinger)! - Support description in FieldsetGroups
|
|
10
|
+
|
|
11
|
+
## 0.84.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#438](https://github.com/opf/primer_view_components/pull/438) [`99f6069`](https://github.com/opf/primer_view_components/commit/99f6069382c4698c4f6da6a621a76692c8aa1c3d) Thanks [@HDinger](https://github.com/HDinger)! - Bump octicons to 19.33.0
|
|
16
|
+
|
|
3
17
|
## 0.84.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
<%=
|
|
4
4
|
render(Primer::Beta::Subhead.new) do |component|
|
|
5
5
|
component.with_heading(**@heading_arguments).with_content(@title)
|
|
6
|
+
component.with_description.with_content(@description) unless @description.blank?
|
|
6
7
|
end
|
|
7
8
|
%>
|
|
8
9
|
<%= render(Primer::Forms::Group.new(**@group_arguments)) %>
|
|
@@ -6,6 +6,7 @@ module Primer
|
|
|
6
6
|
class FieldsetGroup < BaseComponent
|
|
7
7
|
##
|
|
8
8
|
# @param title [String] The title displayed as the heading for the fieldset
|
|
9
|
+
# @param description [String] The description displayed below the heading
|
|
9
10
|
# @param inputs [Array<Primer::Forms::Dsl::Input>] Array of form inputs to be grouped
|
|
10
11
|
# @param builder [ActionView::Helpers::FormBuilder] The form builder instance
|
|
11
12
|
# @param form [Primer::Forms::BaseForm] The form object
|
|
@@ -18,6 +19,7 @@ module Primer
|
|
|
18
19
|
# @param system_arguments [Hash] Additional system arguments passed to the section wrapper
|
|
19
20
|
def initialize( # rubocop:disable Metrics/AbcSize
|
|
20
21
|
title:,
|
|
22
|
+
description: nil,
|
|
21
23
|
inputs:,
|
|
22
24
|
builder:,
|
|
23
25
|
form:,
|
|
@@ -29,6 +31,7 @@ module Primer
|
|
|
29
31
|
super()
|
|
30
32
|
|
|
31
33
|
@title = title
|
|
34
|
+
@description = description
|
|
32
35
|
|
|
33
36
|
@heading_arguments = heading_arguments
|
|
34
37
|
@heading_arguments[:id] ||= "subhead-#{SecureRandom.uuid}"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openproject-primer_view_components
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.84.
|
|
4
|
+
version: 0.84.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GitHub Open Source
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2026-04-
|
|
12
|
+
date: 2026-04-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: actionview
|
|
@@ -45,14 +45,14 @@ dependencies:
|
|
|
45
45
|
requirements:
|
|
46
46
|
- - ">="
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: 19.
|
|
48
|
+
version: 19.34.0
|
|
49
49
|
type: :runtime
|
|
50
50
|
prerelease: false
|
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
52
|
requirements:
|
|
53
53
|
- - ">="
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: 19.
|
|
55
|
+
version: 19.34.0
|
|
56
56
|
- !ruby/object:Gem::Dependency
|
|
57
57
|
name: view_component
|
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|