katalyst-govuk-formbuilder 1.18.1 → 1.20.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a178eb2f8c15cf5feae7f1d8b54aeea17fc2bd403075a33e9d0eefb59d0a1d78
4
- data.tar.gz: d7e76e1752f0fbfb86ba5d4acabf12b66d902ceeb07d82b137bf1d9076454f0d
3
+ metadata.gz: da004d0b7b5dfcb97af7b01bcfc39b6d647a89b66897c52aa8fb417da4b71212
4
+ data.tar.gz: c0d30d770ec308ac665a9aa1ccfd4530d80bfefdb7f73ca676790ba3dfce3334
5
5
  SHA512:
6
- metadata.gz: 32fec79b423b236ccf044c9f4f30300971e32c9c76a158439219193ffbd2b5e021524849c8efe9018b4f56627c0b633be46c9512e8e7ec329b4d73d6bd7fbdf4
7
- data.tar.gz: 2809bae41bc0b7b99fc77a11d92a21f71e06019ee29a41ff06b8d3444f3ec50fbdd99804adf317b8d55f4a1d0e59b1f6db820aae744e1c4872be35a639afa916
6
+ metadata.gz: 0bf9760ff7f77cc320cccf4ab7d255c56836632e0172af9a786f3e3b880b5fce229317927e006fd37e526d9de2548c1e16455db5ef6504a391e61d819fbb5857
7
+ data.tar.gz: 1b1c07f9d38bebff251543dd4a35f51781cf7aa234b74ae26a87e4555d70a510e5bd8f2e1d75cfe91dcd04ad263e70357a7ca62ee9828ef60fb9a42c01cb512a
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Katalyst::GOVUK::Formbuilder
1
+ # Katalyst::GOVUK::FormBuilder
2
2
 
3
3
  Repacking of [GOV.UK Frontend](https://frontend.design-system.service.gov.uk) and
4
4
  [GOV.UK form components](https://govuk-form-builder.netlify.app) for use in Katalyst projects.
@@ -46,7 +46,7 @@ You can use the provided helper to load the formbuilder esm from importmaps and
46
46
  You'll need to include the helper to make this method available, which you can add to your `ApplicationController`:
47
47
 
48
48
  ```ruby
49
- helper Katalyst::GOVUK::Formbuilder::Frontend
49
+ helper Katalyst::GOVUK::FormBuilder::Frontend
50
50
  ```
51
51
 
52
52
  ## Extensions
@@ -55,6 +55,16 @@ We include some optional extensions for integrating with gems that we (Katalyst)
55
55
 
56
56
  These require additional steps to use.
57
57
 
58
+ ### File inputs
59
+
60
+ We've added image and document fields designed for use with Koi. These will not be suitable for
61
+ every project. If you want to use these, you'll need to import and load their stimulus controllers:
62
+
63
+ ```js
64
+ import govuk from "@katalyst/govuk-formbuilder";
65
+ application.load(govuk);
66
+ ```
67
+
58
68
  ### Hotwire Combobox
59
69
 
60
70
  [Hotwire Combobox](https://hotwirecombobox.com) is a promising option for adding asynchronous multi-select inputs to