govuk-components 5.9.0 → 5.10.0b1

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: d34fcc2705a109d7ac1675b9e27e0f1b0c7672e1926516c96f9da3309ff9a661
4
- data.tar.gz: 48b66febcb4ae274be569a55ed93cf1dc978e42a2580040d2bbfec7a48b137b3
3
+ metadata.gz: 57c8409ae6c8418afa3e64c69e795dee328ebc27ebc69d135f981ff364b0523e
4
+ data.tar.gz: c64ccd11595fa5c9f974f944176defadfaeef765f0dc22ee463e45c8ed37fee3
5
5
  SHA512:
6
- metadata.gz: abd7d44e3c988fbbd8bc4095c1a96f5529ec73ff4b0c56f8a8016933409bd40aa6cb8287c826ed4b3275cc3b32acc69c51b161d7bef110472aeffb7998172e8f
7
- data.tar.gz: df6781cfbd9f951a2158a9f5c3b52851cb1987e769b85d10e9f3bee30f5be093a6a0be91eef9a6065c1115260c84d844028814cd9777effe4fba1cc7d23de521
6
+ metadata.gz: 98240d24fcb3052ae84260d504e5d2c02e96f490a3e0506441590c0bbcb84deb9ba5ab647f3fc2edfbb4639bcff91a1e678aa66cb71dab9ab7a6eb0ae4879886
7
+ data.tar.gz: 17cbfd440b75d44ad467df8cd686de69e551759e6d394afb94baf4674b6d233a1e73f55ec6e41afc738139ccfb01114e978eb9126cfc1e3ddefb094baa35b8cd
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # GOV.UK Components for Ruby on Rails
2
2
 
3
- [![Tests](https://github.com/x-govuk/govuk-components/workflows/Tests/badge.svg)](https://github.com/x-govuk/govuk-components/actions?query=workflow%3ATests)
3
+ [![Tests](https://github.com/x-govuk/govuk-components/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/x-govuk/govuk-components/actions/workflows/tests.yml)
4
4
  [![Maintainability](https://api.codeclimate.com/v1/badges/cbcbc140f300b920d833/maintainability)](https://codeclimate.com/github/x-govuk/govuk-components/maintainability)
5
5
  [![Gem version](https://badge.fury.io/rb/govuk-components.svg)](https://badge.fury.io/rb/govuk-components)
6
6
  [![Gem](https://img.shields.io/gem/dt/govuk-components?logo=rubygems)](https://rubygems.org/gems/govuk-components)
@@ -9,7 +9,7 @@
9
9
  [![GOV.UK Design System version](https://img.shields.io/badge/GOV.UK%20Design%20System-5.9.0-brightgreen)](https://design-system.service.gov.uk)
10
10
  [![ViewComponent](https://img.shields.io/badge/ViewComponent-3.16.0-brightgreen)](https://viewcomponent.org/)
11
11
  [![Rails](https://img.shields.io/badge/Rails-7.1.5%20%E2%95%B1%207.2.2%20%E2%95%B1%208.0.0-E16D6D)](https://weblog.rubyonrails.org/releases/)
12
- [![Ruby](https://img.shields.io/badge/Ruby-3.1.6%20%20%E2%95%B1%203.2.6%20%20%E2%95%B1%203.3.6-E16D6D)](https://www.ruby-lang.org/en/downloads/)
12
+ [![Ruby](https://img.shields.io/badge/Ruby-3.2.5%20%20%E2%95%B1%203.2.6%20%20%E2%95%B1%203.3.6-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
 
@@ -6,17 +6,29 @@
6
6
  <%= custom_logo %>
7
7
  <% else %>
8
8
  <svg
9
- focusable="false"
10
- role="img"
11
- class="<%= brand %>-header__logotype"
12
- xmlns="http://www.w3.org/2000/svg"
13
- viewBox="0 0 148 30"
14
- height="30"
15
- width="148"
16
- aria-label="GOV.UK"
9
+ focusable="false"
10
+ role="img"
11
+ xmlns="http://www.w3.org/2000/svg"
12
+ viewBox="0 0 163 30"
13
+ height="30"
14
+ width="163"
15
+ class="<%= brand %>-header__logotype"
16
+ aria-label="GOV.UK"
17
17
  >
18
18
  <title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.1l7.4-9.1h5.2l-7.2 8.4L148 28h-4.9l-5.5-9.4-2.7 3V28h-4.2V7zm-27.6 16.1c-1.5 0-2.7 1.2-2.7 2.7s1.2 2.7 2.7 2.7 2.7-1.2 2.7-2.7-1.2-2.7-2.7-2.7z"></path>
19
+ <g>
20
+ <circle cx="10.1" cy="8.8" r="1.8"></circle>
21
+ <circle cx="5.2" cy="11.7" r="1.8"></circle>
22
+ <circle cx="1.9" cy="16.6" r="1.8"></circle>
23
+ <circle cx="16" cy="15.3" r="1.8"></circle>
24
+ <circle cx="21.9" cy="8.8" r="1.8"></circle>
25
+ <circle cx="26.8" cy="11.7" r="1.8"></circle>
26
+ <circle cx="30.1" cy="16.6" r="1.8"></circle>
27
+ <circle cx="16" cy="15.3" r="1.8"></circle>
28
+ <path d="m16.7 4.9.2-.2 2.3 1.2V2.5l-2.3.7s-.1-.2-.2-.2l.9-2.9h-3.4l.9 2.9s-.2.1-.2.2l-2.3-.7v3.4l2.3-1.2.2.2-1.3 4c-.5 1.4.6 2.9 2.1 2.9s2.5-1.4 2.1-2.9l-1.3-4Zm2 14s-1.7 1.9-2.1 3c1.1 0 2.1-.3 3.2-1.4l-.4 4.3c-1-1.4-2.2-2-2.9-1.9 0 1.5.2 3.4 2.9 3.6 1.9.2 3.4-.8 3.5-1.9.2-1.3-1-2.2-1.9-.8-.7-2.3 1.2-3 2.5-1.6-1-2.2-.9-3.8 1.2-5.4 1.5 2 1.3 3.7-.6 5.5 1.2-.7 3.1 0 2 2.3-.6-1.4-1.8-1.1-2.1.1-.2.9.3 1.9 1.5 2.1.9.2 2.4-.5 3.5-2.9-.6 0-1.2.3-2 .8l1.2-4c.3 1.1.7 1.9 1.1 2.3.3-.8.2-1.4 0-2.7l2.5.9c-1.3 1.8-2.6 4.3-3.7 8.8-3.7-.5-7.9-.8-12.3-.8s-8.6.3-12.3.8c-1.1-4.4-2.3-7-3.7-8.8l2.5-.9c-.2 1.3-.3 1.9 0 2.7.4-.4.8-1.1 1.1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Govuk
2
2
  module Components
3
- VERSION = '5.9.0'.freeze
3
+ VERSION = '5.10.0b1'.freeze
4
4
  end
5
5
  end
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.9.0
4
+ version: 5.10.0b1
5
5
  platform: ruby
6
6
  authors:
7
7
  - DfE developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-16 00:00:00.000000000 Z
11
+ date: 2025-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-attributes-utils
@@ -84,6 +84,20 @@ dependencies:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
+ - !ruby/object:Gem::Dependency
88
+ name: ostruct
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ type: :development
95
+ prerelease: false
96
+ version_requirements: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
87
101
  - !ruby/object:Gem::Dependency
88
102
  name: pry-byebug
89
103
  requirement: !ruby/object:Gem::Requirement
@@ -419,9 +433,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
419
433
  version: '0'
420
434
  required_rubygems_version: !ruby/object:Gem::Requirement
421
435
  requirements:
422
- - - ">="
436
+ - - ">"
423
437
  - !ruby/object:Gem::Version
424
- version: '0'
438
+ version: 1.3.1
425
439
  requirements: []
426
440
  rubygems_version: 3.3.27
427
441
  signing_key: