katalyst-govuk-formbuilder 1.9.3 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -7
- data/app/assets/builds/katalyst/govuk/formbuilder.css +4246 -0
- data/app/assets/builds/katalyst/govuk/formbuilder.js +1253 -0
- data/app/assets/builds/katalyst/govuk/formbuilder.min.js +46 -0
- data/lib/katalyst/govuk/formbuilder/builder.rb +197 -0
- data/lib/katalyst/govuk/formbuilder/containers/fieldset_context.rb +19 -0
- data/lib/katalyst/govuk/formbuilder/elements/label.rb +38 -0
- data/lib/katalyst/govuk/formbuilder/elements/legend.rb +32 -0
- data/lib/katalyst/govuk/formbuilder/elements/rich_text_area.rb +56 -0
- data/lib/katalyst/govuk/formbuilder/engine.rb +14 -1
- data/lib/katalyst/govuk/formbuilder/extensions.rb +10 -173
- data/lib/katalyst/govuk/formbuilder/traits/label.rb +33 -0
- data/lib/katalyst/govuk/formbuilder.rb +2 -8
- metadata +13 -6
- data/lib/govuk_design_system_formbuilder/elements/check_box_field.rb +0 -48
- data/lib/govuk_design_system_formbuilder/elements/rich_text_area.rb +0 -107
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c0eb24c54218d311069b79c4c1dfbdae928f8938b3cefd113b0c66187441954
|
4
|
+
data.tar.gz: 3099bab9d5bfd1260352993790cb55d7b2a8459cbd71c4568552914f9725aea9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29bc78afaf0b337a021ff90b11d254110ce65bf244df77e3222e3c8b7ae3a5fe833b3a261ee322911854b4b738c8da684d5bdb559b76761bbedb6e9a11bfb1e6
|
7
|
+
data.tar.gz: 7f88be3d8f4b304e562dbc2d6d2594b8fc938f3f202ca27f2c336254dea0b1c52ec1fc58783d206073e8679d263736a6a9f308a108c8f48e5171adb3edc490d1
|
data/README.md
CHANGED
@@ -23,7 +23,7 @@ Or install it yourself as:
|
|
23
23
|
|
24
24
|
Add the stylesheet to your default layout:
|
25
25
|
|
26
|
-
```
|
26
|
+
```erb
|
27
27
|
<%= stylesheet_link_tag "katalyst/govuk/formbuilder" %>
|
28
28
|
```
|
29
29
|
|
@@ -32,7 +32,7 @@ Some GOVUK components require javascript enhancements
|
|
32
32
|
|
33
33
|
You can use the provided helper to load the formbuilder esm from importmaps and enhance your form:
|
34
34
|
|
35
|
-
```
|
35
|
+
```erb
|
36
36
|
<%= form_with ... %>
|
37
37
|
<%= govuk_formbuilder_init %>
|
38
38
|
```
|
@@ -49,11 +49,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/kataly
|
|
49
49
|
|
50
50
|
## Release
|
51
51
|
|
52
|
-
|
53
|
-
|
54
|
-
```bash
|
55
|
-
bundle exec rake release
|
56
|
-
```
|
52
|
+
Tag the release version and push to CI.
|
57
53
|
|
58
54
|
## License
|
59
55
|
|