govuk-components 5.3.2 → 5.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d037e6a51585affc8348baa7281f54836ea5c2260ab699ff8c7f310510250fe
|
4
|
+
data.tar.gz: 1b8652e07faec38916c66139820cd475edae60a265d197a3f8c3a0a73ce4e006
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00f1401dd29c05608b957fb85129e594edd80b8d025a49be8ce70902afe744ac4dfa0aac4d75f910eb151826a143b40315af207af2079bf333b4f8903bfb0d8c
|
7
|
+
data.tar.gz: 93d6e1c7ad270a22218c196cde1ecf3739927fb76525d5b48d93952933ff8827b4fa00d9c17f406c9b30422e73e076ae53bb4013d31fe6974826a75b88aae6fd
|
data/README.md
CHANGED
@@ -6,10 +6,10 @@
|
|
6
6
|
[![Gem](https://img.shields.io/gem/dt/govuk-components?logo=rubygems)](https://rubygems.org/gems/govuk-components)
|
7
7
|
[![Test coverage](https://api.codeclimate.com/v1/badges/cbcbc140f300b920d833/test_coverage)](https://codeclimate.com/github/x-govuk/govuk-components/test_coverage)
|
8
8
|
[![Licence](https://img.shields.io/github/license/x-govuk/govuk-components)](https://github.com/x-govuk/govuk-components/blob/main/LICENSE.txt)
|
9
|
-
[![GOV.UK Design System version](https://img.shields.io/badge/GOV.UK%20Design%20System-5.
|
9
|
+
[![GOV.UK Design System version](https://img.shields.io/badge/GOV.UK%20Design%20System-5.4.1-brightgreen)](https://design-system.service.gov.uk)
|
10
10
|
[![ViewComponent](https://img.shields.io/badge/ViewComponent-3.3.0-brightgreen)](https://viewcomponent.org/)
|
11
|
-
[![Rails](https://img.shields.io/badge/Rails-7.0.8%20%E2%95%B1%207.1.
|
12
|
-
[![Ruby](https://img.shields.io/badge/Ruby-3.1.
|
11
|
+
[![Rails](https://img.shields.io/badge/Rails-7.0.8%20%E2%95%B1%207.1.3-E16D6D)](https://weblog.rubyonrails.org/releases/)
|
12
|
+
[![Ruby](https://img.shields.io/badge/Ruby-3.1.6%20%20%E2%95%B1%203.2.4%20%20%E2%95%B1%203.3.4-E16D6D)](https://www.ruby-lang.org/en/downloads/)
|
13
13
|
|
14
14
|
This gem provides a suite of reusable components for the [GOV.UK Design System](https://design-system.service.gov.uk/). It is intended to provide a lightweight alternative to the [GOV.UK Publishing Components](https://github.com/alphagov/govuk_publishing_components) library and is built with GitHub’s [ViewComponent](https://github.com/github/view_component) framework.
|
15
15
|
|
@@ -63,6 +63,7 @@ module Govuk
|
|
63
63
|
# +:default_tag_colour+ the default colour for tags, possible values: +grey+, +green+, +turquoise+, +blue+, +red+, +purple+, +pink+, +orange+, +yellow+. Defaults to +nil+
|
64
64
|
# +:default_start_button_as_button+ false
|
65
65
|
# +:default_summary_list_borders+ true
|
66
|
+
# +:default_summary_list_value_text+ the fallback text for summary list values which will be displayed when the value is nil. Defaults to +""+
|
66
67
|
# +:default_notification_banner_title_id+ "govuk-notification-banner-title"
|
67
68
|
# +:default_notification_disable_auto_focus+ nil
|
68
69
|
# +:default_notification_title_heading_level+ 2
|
@@ -104,6 +105,7 @@ module Govuk
|
|
104
105
|
default_tag_colour: nil,
|
105
106
|
default_start_button_as_button: false,
|
106
107
|
default_summary_list_borders: true,
|
108
|
+
default_summary_list_value_text: "",
|
107
109
|
default_notification_banner_title_id: "govuk-notification-banner-title",
|
108
110
|
default_notification_disable_auto_focus: nil,
|
109
111
|
default_notification_title_heading_level: 2,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk-components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DfE developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: html-attributes-utils
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: '6'
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '9'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: '6'
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
52
|
+
version: '9'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: view_component
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
version: '3.9'
|
60
60
|
- - "<"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '3.
|
62
|
+
version: '3.13'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -69,7 +69,7 @@ dependencies:
|
|
69
69
|
version: '3.9'
|
70
70
|
- - "<"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '3.
|
72
|
+
version: '3.13'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: deep_merge
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,14 +132,14 @@ dependencies:
|
|
132
132
|
requirements:
|
133
133
|
- - '='
|
134
134
|
- !ruby/object:Gem::Version
|
135
|
-
version:
|
135
|
+
version: 5.0.1
|
136
136
|
type: :development
|
137
137
|
prerelease: false
|
138
138
|
version_requirements: !ruby/object:Gem::Requirement
|
139
139
|
requirements:
|
140
140
|
- - '='
|
141
141
|
- !ruby/object:Gem::Version
|
142
|
-
version:
|
142
|
+
version: 5.0.1
|
143
143
|
- !ruby/object:Gem::Dependency
|
144
144
|
name: sassc-rails
|
145
145
|
requirement: !ruby/object:Gem::Requirement
|
@@ -230,14 +230,14 @@ dependencies:
|
|
230
230
|
requirements:
|
231
231
|
- - "~>"
|
232
232
|
- !ruby/object:Gem::Version
|
233
|
-
version: 4.
|
233
|
+
version: 4.3.0
|
234
234
|
type: :development
|
235
235
|
prerelease: false
|
236
236
|
version_requirements: !ruby/object:Gem::Requirement
|
237
237
|
requirements:
|
238
238
|
- - "~>"
|
239
239
|
- !ruby/object:Gem::Version
|
240
|
-
version: 4.
|
240
|
+
version: 4.3.0
|
241
241
|
- !ruby/object:Gem::Dependency
|
242
242
|
name: rubypants
|
243
243
|
requirement: !ruby/object:Gem::Requirement
|
@@ -420,7 +420,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
420
420
|
- !ruby/object:Gem::Version
|
421
421
|
version: '0'
|
422
422
|
requirements: []
|
423
|
-
rubygems_version: 3.3.
|
423
|
+
rubygems_version: 3.3.27
|
424
424
|
signing_key:
|
425
425
|
specification_version: 4
|
426
426
|
summary: GOV.UK Components for Ruby on Rails
|