katalyst-govuk-formbuilder 1.0.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 75de0f35a354d6aee70d48eb73c82fd82d3f87901a41048257cfb257041c8821
4
+ data.tar.gz: 1b0f248c9ef8da40bbaafc5d444a5d5bef8278c644b1ac353581963b5c22a7b2
5
+ SHA512:
6
+ metadata.gz: 1509af4ad0248e9db4326bc9b08560ab6e6b7c4ce79828c33ad8faa186aca2cadc23161d11d6ca86e2a73b42c0995ab53b5a7140f8373b069f497bb3802ea111
7
+ data.tar.gz: 78ed0f7f5abd4713047e8de2fe8c63cdb4551016197e906523aa796fa562683c404481cd606a7b0ebe7cfc19a417a5b1d20e8a3a373b59c61be113958cfb101b
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (C) 2019 Crown Copyright (Department for Education)
4
+ Copyright (C) 2022 Katalyst Interactive
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Katalyst::GOVUK::Formbuilder
2
+
3
+ Repacking of [GOV.UK Frontend](https://frontend.design-system.service.gov.uk) and
4
+ [GOV.UK form components](https://govuk-form-builder.netlify.app) for use in Katalyst projects.
5
+
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'katalyst-govuk-formbuilder'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install katalyst-govuk-formbuilder
21
+
22
+ ## Usage
23
+
24
+ Add the stylesheet to your default layout:
25
+
26
+ ```erbruby
27
+ <%= stylesheet_link_tag "katalyst/govuk/formbuilder" %>
28
+ ```
29
+
30
+ You will also need GOVUK's design system javascript, which you can import via npm or importmaps. Please ensure that
31
+ your javascript version matches the version packaged with this gem.
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/katalyst/govuk-formbuilder.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).