govuk_publishing_components 12.0.0 → 12.0.1
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 +4 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +1 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/all.js +188 -0
- data/node_modules/govuk-frontend/components/_all.scss +1 -0
- data/node_modules/govuk-frontend/components/back-link/README.md +12 -12
- data/node_modules/govuk-frontend/components/breadcrumbs/README.md +18 -18
- data/node_modules/govuk-frontend/components/button/README.md +30 -30
- data/node_modules/govuk-frontend/components/button/template.njk +1 -1
- data/node_modules/govuk-frontend/components/character-count/README.md +497 -0
- data/node_modules/govuk-frontend/components/character-count/_character-count.scss +31 -0
- data/node_modules/govuk-frontend/components/character-count/character-count.js +1201 -0
- data/node_modules/govuk-frontend/components/character-count/macro-options.json +83 -0
- data/node_modules/govuk-frontend/components/character-count/macro.njk +3 -0
- data/node_modules/govuk-frontend/components/character-count/template.njk +32 -0
- data/node_modules/govuk-frontend/components/checkboxes/README.md +57 -57
- data/node_modules/govuk-frontend/components/date-input/README.md +36 -36
- data/node_modules/govuk-frontend/components/details/README.md +18 -18
- data/node_modules/govuk-frontend/components/error-message/README.md +12 -12
- data/node_modules/govuk-frontend/components/error-summary/README.md +24 -24
- data/node_modules/govuk-frontend/components/fieldset/README.md +21 -21
- data/node_modules/govuk-frontend/components/file-upload/README.md +24 -24
- data/node_modules/govuk-frontend/components/footer/README.md +51 -51
- data/node_modules/govuk-frontend/components/header/README.md +42 -42
- data/node_modules/govuk-frontend/components/header/_header.scss +2 -0
- data/node_modules/govuk-frontend/components/hint/README.md +12 -12
- data/node_modules/govuk-frontend/components/input/README.md +27 -27
- data/node_modules/govuk-frontend/components/inset-text/README.md +12 -12
- data/node_modules/govuk-frontend/components/label/README.md +15 -15
- data/node_modules/govuk-frontend/components/panel/README.md +15 -15
- data/node_modules/govuk-frontend/components/phase-banner/README.md +12 -12
- data/node_modules/govuk-frontend/components/radios/README.md +60 -60
- data/node_modules/govuk-frontend/components/radios/_radios.scss +1 -0
- data/node_modules/govuk-frontend/components/select/README.md +39 -39
- data/node_modules/govuk-frontend/components/select/_select.scss +1 -1
- data/node_modules/govuk-frontend/components/skip-link/README.md +12 -12
- data/node_modules/govuk-frontend/components/table/README.md +45 -45
- data/node_modules/govuk-frontend/components/table/macro-options.json +12 -0
- data/node_modules/govuk-frontend/components/table/template.njk +7 -3
- data/node_modules/govuk-frontend/components/tabs/README.md +30 -30
- data/node_modules/govuk-frontend/components/tag/README.md +9 -9
- data/node_modules/govuk-frontend/components/textarea/README.md +30 -30
- data/node_modules/govuk-frontend/components/warning-text/README.md +12 -12
- data/node_modules/govuk-frontend/package.json +11 -11
- metadata +8 -2
@@ -681,11 +681,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
681
681
|
|
682
682
|
<th class="govuk-table__header" scope="row">fieldset</th>
|
683
683
|
|
684
|
-
<td class="govuk-table__cell
|
684
|
+
<td class="govuk-table__cell">object</td>
|
685
685
|
|
686
|
-
<td class="govuk-table__cell
|
686
|
+
<td class="govuk-table__cell">No</td>
|
687
687
|
|
688
|
-
<td class="govuk-table__cell
|
688
|
+
<td class="govuk-table__cell">Arguments for the fieldset component (e.g. legend). See <a href="../fieldset/README.md#component-arguments">fieldset</a> component.</td>
|
689
689
|
|
690
690
|
</tr>
|
691
691
|
|
@@ -693,11 +693,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
693
693
|
|
694
694
|
<th class="govuk-table__header" scope="row">hint</th>
|
695
695
|
|
696
|
-
<td class="govuk-table__cell
|
696
|
+
<td class="govuk-table__cell">object</td>
|
697
697
|
|
698
|
-
<td class="govuk-table__cell
|
698
|
+
<td class="govuk-table__cell">No</td>
|
699
699
|
|
700
|
-
<td class="govuk-table__cell
|
700
|
+
<td class="govuk-table__cell">Arguments for the hint component (e.g. text). See <a href="../hint/README.md#component-arguments">hint</a> component.</td>
|
701
701
|
|
702
702
|
</tr>
|
703
703
|
|
@@ -705,11 +705,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
705
705
|
|
706
706
|
<th class="govuk-table__header" scope="row">errorMessage</th>
|
707
707
|
|
708
|
-
<td class="govuk-table__cell
|
708
|
+
<td class="govuk-table__cell">object</td>
|
709
709
|
|
710
|
-
<td class="govuk-table__cell
|
710
|
+
<td class="govuk-table__cell">No</td>
|
711
711
|
|
712
|
-
<td class="govuk-table__cell
|
712
|
+
<td class="govuk-table__cell">Arguments for the errorMessage component (e.g. text). See errorMessage component.</td>
|
713
713
|
|
714
714
|
</tr>
|
715
715
|
|
@@ -717,11 +717,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
717
717
|
|
718
718
|
<th class="govuk-table__header" scope="row">idPrefix</th>
|
719
719
|
|
720
|
-
<td class="govuk-table__cell
|
720
|
+
<td class="govuk-table__cell">string</td>
|
721
721
|
|
722
|
-
<td class="govuk-table__cell
|
722
|
+
<td class="govuk-table__cell">No</td>
|
723
723
|
|
724
|
-
<td class="govuk-table__cell
|
724
|
+
<td class="govuk-table__cell">String to prefix id for each radio item if no id is specified on each item. If`idPrefix` is not passed, fallback to using the name attribute instead.</td>
|
725
725
|
|
726
726
|
</tr>
|
727
727
|
|
@@ -729,11 +729,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
729
729
|
|
730
730
|
<th class="govuk-table__header" scope="row">name</th>
|
731
731
|
|
732
|
-
<td class="govuk-table__cell
|
732
|
+
<td class="govuk-table__cell">string</td>
|
733
733
|
|
734
|
-
<td class="govuk-table__cell
|
734
|
+
<td class="govuk-table__cell">Yes</td>
|
735
735
|
|
736
|
-
<td class="govuk-table__cell
|
736
|
+
<td class="govuk-table__cell">Name attribute for each radio item.</td>
|
737
737
|
|
738
738
|
</tr>
|
739
739
|
|
@@ -741,11 +741,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
741
741
|
|
742
742
|
<th class="govuk-table__header" scope="row">items</th>
|
743
743
|
|
744
|
-
<td class="govuk-table__cell
|
744
|
+
<td class="govuk-table__cell">array</td>
|
745
745
|
|
746
|
-
<td class="govuk-table__cell
|
746
|
+
<td class="govuk-table__cell">Yes</td>
|
747
747
|
|
748
|
-
<td class="govuk-table__cell
|
748
|
+
<td class="govuk-table__cell">Array of checkbox items objects.</td>
|
749
749
|
|
750
750
|
</tr>
|
751
751
|
|
@@ -753,11 +753,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
753
753
|
|
754
754
|
<th class="govuk-table__header" scope="row">items.{}.text (or) items.{}.html</th>
|
755
755
|
|
756
|
-
<td class="govuk-table__cell
|
756
|
+
<td class="govuk-table__cell">string</td>
|
757
757
|
|
758
|
-
<td class="govuk-table__cell
|
758
|
+
<td class="govuk-table__cell">Yes</td>
|
759
759
|
|
760
|
-
<td class="govuk-table__cell
|
760
|
+
<td class="govuk-table__cell">Text or HTML to use within each radio item label. If `html` is provided, the `text` argument will be ignored.</td>
|
761
761
|
|
762
762
|
</tr>
|
763
763
|
|
@@ -765,11 +765,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
765
765
|
|
766
766
|
<th class="govuk-table__header" scope="row">items.{}.id</th>
|
767
767
|
|
768
|
-
<td class="govuk-table__cell
|
768
|
+
<td class="govuk-table__cell">string</td>
|
769
769
|
|
770
|
-
<td class="govuk-table__cell
|
770
|
+
<td class="govuk-table__cell">No</td>
|
771
771
|
|
772
|
-
<td class="govuk-table__cell
|
772
|
+
<td class="govuk-table__cell">Specific id attribute for the radio item. If ommited, then `idPrefix` string will be applied.</td>
|
773
773
|
|
774
774
|
</tr>
|
775
775
|
|
@@ -777,11 +777,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
777
777
|
|
778
778
|
<th class="govuk-table__header" scope="row">items.{}.name</th>
|
779
779
|
|
780
|
-
<td class="govuk-table__cell
|
780
|
+
<td class="govuk-table__cell">string</td>
|
781
781
|
|
782
|
-
<td class="govuk-table__cell
|
782
|
+
<td class="govuk-table__cell">Yes</td>
|
783
783
|
|
784
|
-
<td class="govuk-table__cell
|
784
|
+
<td class="govuk-table__cell">Specific name for the radio item. If ommited, then component global `name` string will be applied.</td>
|
785
785
|
|
786
786
|
</tr>
|
787
787
|
|
@@ -789,11 +789,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
789
789
|
|
790
790
|
<th class="govuk-table__header" scope="row">items.{}.value</th>
|
791
791
|
|
792
|
-
<td class="govuk-table__cell
|
792
|
+
<td class="govuk-table__cell">string</td>
|
793
793
|
|
794
|
-
<td class="govuk-table__cell
|
794
|
+
<td class="govuk-table__cell">Yes</td>
|
795
795
|
|
796
|
-
<td class="govuk-table__cell
|
796
|
+
<td class="govuk-table__cell">Value for the radio input.</td>
|
797
797
|
|
798
798
|
</tr>
|
799
799
|
|
@@ -801,11 +801,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
801
801
|
|
802
802
|
<th class="govuk-table__header" scope="row">items.{}.label</th>
|
803
803
|
|
804
|
-
<td class="govuk-table__cell
|
804
|
+
<td class="govuk-table__cell">object</td>
|
805
805
|
|
806
|
-
<td class="govuk-table__cell
|
806
|
+
<td class="govuk-table__cell">No</td>
|
807
807
|
|
808
|
-
<td class="govuk-table__cell
|
808
|
+
<td class="govuk-table__cell">Provide additional attributes and classes to each radio item label. See [label](../label/README.md#component-arguments) component for more details.</td>
|
809
809
|
|
810
810
|
</tr>
|
811
811
|
|
@@ -813,11 +813,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
813
813
|
|
814
814
|
<th class="govuk-table__header" scope="row">items.{}.hint</th>
|
815
815
|
|
816
|
-
<td class="govuk-table__cell
|
816
|
+
<td class="govuk-table__cell">object</td>
|
817
817
|
|
818
|
-
<td class="govuk-table__cell
|
818
|
+
<td class="govuk-table__cell">No</td>
|
819
819
|
|
820
|
-
<td class="govuk-table__cell
|
820
|
+
<td class="govuk-table__cell">Provide optional hint to each radio item. See `hint` component for more details.</td>
|
821
821
|
|
822
822
|
</tr>
|
823
823
|
|
@@ -825,11 +825,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
825
825
|
|
826
826
|
<th class="govuk-table__header" scope="row">items.{}.divider</th>
|
827
827
|
|
828
|
-
<td class="govuk-table__cell
|
828
|
+
<td class="govuk-table__cell">string</td>
|
829
829
|
|
830
|
-
<td class="govuk-table__cell
|
830
|
+
<td class="govuk-table__cell">No</td>
|
831
831
|
|
832
|
-
<td class="govuk-table__cell
|
832
|
+
<td class="govuk-table__cell">Optional divider text to separate radio items, for example the text "or".</td>
|
833
833
|
|
834
834
|
</tr>
|
835
835
|
|
@@ -837,11 +837,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
837
837
|
|
838
838
|
<th class="govuk-table__header" scope="row">items.{}.checked</th>
|
839
839
|
|
840
|
-
<td class="govuk-table__cell
|
840
|
+
<td class="govuk-table__cell">boolean</td>
|
841
841
|
|
842
|
-
<td class="govuk-table__cell
|
842
|
+
<td class="govuk-table__cell">No</td>
|
843
843
|
|
844
|
-
<td class="govuk-table__cell
|
844
|
+
<td class="govuk-table__cell">If true, radio will be checked.</td>
|
845
845
|
|
846
846
|
</tr>
|
847
847
|
|
@@ -849,11 +849,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
849
849
|
|
850
850
|
<th class="govuk-table__header" scope="row">items.{}.conditional</th>
|
851
851
|
|
852
|
-
<td class="govuk-table__cell
|
852
|
+
<td class="govuk-table__cell">boolean</td>
|
853
853
|
|
854
|
-
<td class="govuk-table__cell
|
854
|
+
<td class="govuk-table__cell">No</td>
|
855
855
|
|
856
|
-
<td class="govuk-table__cell
|
856
|
+
<td class="govuk-table__cell">If true, content provided will be revealed when the item is checked.</td>
|
857
857
|
|
858
858
|
</tr>
|
859
859
|
|
@@ -861,11 +861,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
861
861
|
|
862
862
|
<th class="govuk-table__header" scope="row">items.{}.conditional.html</th>
|
863
863
|
|
864
|
-
<td class="govuk-table__cell
|
864
|
+
<td class="govuk-table__cell">boolean</td>
|
865
865
|
|
866
|
-
<td class="govuk-table__cell
|
866
|
+
<td class="govuk-table__cell">No</td>
|
867
867
|
|
868
|
-
<td class="govuk-table__cell
|
868
|
+
<td class="govuk-table__cell">Provide content for the conditional reveal.</td>
|
869
869
|
|
870
870
|
</tr>
|
871
871
|
|
@@ -873,11 +873,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
873
873
|
|
874
874
|
<th class="govuk-table__header" scope="row">items.{}.disabled</th>
|
875
875
|
|
876
|
-
<td class="govuk-table__cell
|
876
|
+
<td class="govuk-table__cell">boolean</td>
|
877
877
|
|
878
|
-
<td class="govuk-table__cell
|
878
|
+
<td class="govuk-table__cell">No</td>
|
879
879
|
|
880
|
-
<td class="govuk-table__cell
|
880
|
+
<td class="govuk-table__cell">If true, radio will be disabled.</td>
|
881
881
|
|
882
882
|
</tr>
|
883
883
|
|
@@ -885,11 +885,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
885
885
|
|
886
886
|
<th class="govuk-table__header" scope="row">items.{}.attributes</th>
|
887
887
|
|
888
|
-
<td class="govuk-table__cell
|
888
|
+
<td class="govuk-table__cell">object</td>
|
889
889
|
|
890
|
-
<td class="govuk-table__cell
|
890
|
+
<td class="govuk-table__cell">No</td>
|
891
891
|
|
892
|
-
<td class="govuk-table__cell
|
892
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the radio input tag.</td>
|
893
893
|
|
894
894
|
</tr>
|
895
895
|
|
@@ -897,11 +897,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
897
897
|
|
898
898
|
<th class="govuk-table__header" scope="row">classes</th>
|
899
899
|
|
900
|
-
<td class="govuk-table__cell
|
900
|
+
<td class="govuk-table__cell">string</td>
|
901
901
|
|
902
|
-
<td class="govuk-table__cell
|
902
|
+
<td class="govuk-table__cell">No</td>
|
903
903
|
|
904
|
-
<td class="govuk-table__cell
|
904
|
+
<td class="govuk-table__cell">Optional additional classes to add to the radios container.</td>
|
905
905
|
|
906
906
|
</tr>
|
907
907
|
|
@@ -909,11 +909,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
909
909
|
|
910
910
|
<th class="govuk-table__header" scope="row">attributes</th>
|
911
911
|
|
912
|
-
<td class="govuk-table__cell
|
912
|
+
<td class="govuk-table__cell">object</td>
|
913
913
|
|
914
|
-
<td class="govuk-table__cell
|
914
|
+
<td class="govuk-table__cell">No</td>
|
915
915
|
|
916
|
-
<td class="govuk-table__cell
|
916
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the radios container.</td>
|
917
917
|
|
918
918
|
</tr>
|
919
919
|
|
@@ -273,11 +273,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
273
273
|
|
274
274
|
<th class="govuk-table__header" scope="row">id</th>
|
275
275
|
|
276
|
-
<td class="govuk-table__cell
|
276
|
+
<td class="govuk-table__cell">string</td>
|
277
277
|
|
278
|
-
<td class="govuk-table__cell
|
278
|
+
<td class="govuk-table__cell">Yes</td>
|
279
279
|
|
280
|
-
<td class="govuk-table__cell
|
280
|
+
<td class="govuk-table__cell">Id for each select box</td>
|
281
281
|
|
282
282
|
</tr>
|
283
283
|
|
@@ -285,11 +285,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
285
285
|
|
286
286
|
<th class="govuk-table__header" scope="row">name</th>
|
287
287
|
|
288
|
-
<td class="govuk-table__cell
|
288
|
+
<td class="govuk-table__cell">string</td>
|
289
289
|
|
290
|
-
<td class="govuk-table__cell
|
290
|
+
<td class="govuk-table__cell">Yes</td>
|
291
291
|
|
292
|
-
<td class="govuk-table__cell
|
292
|
+
<td class="govuk-table__cell">Name property for the select.</td>
|
293
293
|
|
294
294
|
</tr>
|
295
295
|
|
@@ -297,11 +297,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
297
297
|
|
298
298
|
<th class="govuk-table__header" scope="row">items</th>
|
299
299
|
|
300
|
-
<td class="govuk-table__cell
|
300
|
+
<td class="govuk-table__cell">array</td>
|
301
301
|
|
302
|
-
<td class="govuk-table__cell
|
302
|
+
<td class="govuk-table__cell">Yes</td>
|
303
303
|
|
304
|
-
<td class="govuk-table__cell
|
304
|
+
<td class="govuk-table__cell">Array of option items for the select.</td>
|
305
305
|
|
306
306
|
</tr>
|
307
307
|
|
@@ -309,11 +309,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
309
309
|
|
310
310
|
<th class="govuk-table__header" scope="row">item.value</th>
|
311
311
|
|
312
|
-
<td class="govuk-table__cell
|
312
|
+
<td class="govuk-table__cell">string</td>
|
313
313
|
|
314
|
-
<td class="govuk-table__cell
|
314
|
+
<td class="govuk-table__cell">No</td>
|
315
315
|
|
316
|
-
<td class="govuk-table__cell
|
316
|
+
<td class="govuk-table__cell">Value for the option item.</td>
|
317
317
|
|
318
318
|
</tr>
|
319
319
|
|
@@ -321,11 +321,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
321
321
|
|
322
322
|
<th class="govuk-table__header" scope="row">item.text</th>
|
323
323
|
|
324
|
-
<td class="govuk-table__cell
|
324
|
+
<td class="govuk-table__cell">string</td>
|
325
325
|
|
326
|
-
<td class="govuk-table__cell
|
326
|
+
<td class="govuk-table__cell">Yes</td>
|
327
327
|
|
328
|
-
<td class="govuk-table__cell
|
328
|
+
<td class="govuk-table__cell">Text for the option item.</td>
|
329
329
|
|
330
330
|
</tr>
|
331
331
|
|
@@ -333,11 +333,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
333
333
|
|
334
334
|
<th class="govuk-table__header" scope="row">item.selected</th>
|
335
335
|
|
336
|
-
<td class="govuk-table__cell
|
336
|
+
<td class="govuk-table__cell">boolean</td>
|
337
337
|
|
338
|
-
<td class="govuk-table__cell
|
338
|
+
<td class="govuk-table__cell">No</td>
|
339
339
|
|
340
|
-
<td class="govuk-table__cell
|
340
|
+
<td class="govuk-table__cell">Sets the option as the selected.</td>
|
341
341
|
|
342
342
|
</tr>
|
343
343
|
|
@@ -345,11 +345,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
345
345
|
|
346
346
|
<th class="govuk-table__header" scope="row">item.disabled</th>
|
347
347
|
|
348
|
-
<td class="govuk-table__cell
|
348
|
+
<td class="govuk-table__cell">boolean</td>
|
349
349
|
|
350
|
-
<td class="govuk-table__cell
|
350
|
+
<td class="govuk-table__cell">No</td>
|
351
351
|
|
352
|
-
<td class="govuk-table__cell
|
352
|
+
<td class="govuk-table__cell">Sets the option item as disabled.</td>
|
353
353
|
|
354
354
|
</tr>
|
355
355
|
|
@@ -357,11 +357,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
357
357
|
|
358
358
|
<th class="govuk-table__header" scope="row">item.attributes</th>
|
359
359
|
|
360
|
-
<td class="govuk-table__cell
|
360
|
+
<td class="govuk-table__cell">object</td>
|
361
361
|
|
362
|
-
<td class="govuk-table__cell
|
362
|
+
<td class="govuk-table__cell">No</td>
|
363
363
|
|
364
|
-
<td class="govuk-table__cell
|
364
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to the select option tag.</td>
|
365
365
|
|
366
366
|
</tr>
|
367
367
|
|
@@ -369,11 +369,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
369
369
|
|
370
370
|
<th class="govuk-table__header" scope="row">label</th>
|
371
371
|
|
372
|
-
<td class="govuk-table__cell
|
372
|
+
<td class="govuk-table__cell">object</td>
|
373
373
|
|
374
|
-
<td class="govuk-table__cell
|
374
|
+
<td class="govuk-table__cell">No</td>
|
375
375
|
|
376
|
-
<td class="govuk-table__cell
|
376
|
+
<td class="govuk-table__cell">Optional label text or HTML by specifying value for either text or html keys. See <a href="../label/README.md#component-arguments">label</a> component.</td>
|
377
377
|
|
378
378
|
</tr>
|
379
379
|
|
@@ -381,11 +381,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
381
381
|
|
382
382
|
<th class="govuk-table__header" scope="row">hint</th>
|
383
383
|
|
384
|
-
<td class="govuk-table__cell
|
384
|
+
<td class="govuk-table__cell">object</td>
|
385
385
|
|
386
|
-
<td class="govuk-table__cell
|
386
|
+
<td class="govuk-table__cell">No</td>
|
387
387
|
|
388
|
-
<td class="govuk-table__cell
|
388
|
+
<td class="govuk-table__cell">Arguments for the hint component (e.g. text). See <a href="../hint/README.md#component-arguments">hint</a> component.</td>
|
389
389
|
|
390
390
|
</tr>
|
391
391
|
|
@@ -393,11 +393,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
393
393
|
|
394
394
|
<th class="govuk-table__header" scope="row">errorMessage</th>
|
395
395
|
|
396
|
-
<td class="govuk-table__cell
|
396
|
+
<td class="govuk-table__cell">object</td>
|
397
397
|
|
398
|
-
<td class="govuk-table__cell
|
398
|
+
<td class="govuk-table__cell">No</td>
|
399
399
|
|
400
|
-
<td class="govuk-table__cell
|
400
|
+
<td class="govuk-table__cell">Arguments for the errorMessage component (e.g. text). See <a href="../error-message/README.md#component-arguments">errorMessage</a> component.</td>
|
401
401
|
|
402
402
|
</tr>
|
403
403
|
|
@@ -405,11 +405,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
405
405
|
|
406
406
|
<th class="govuk-table__header" scope="row">classes</th>
|
407
407
|
|
408
|
-
<td class="govuk-table__cell
|
408
|
+
<td class="govuk-table__cell">string</td>
|
409
409
|
|
410
|
-
<td class="govuk-table__cell
|
410
|
+
<td class="govuk-table__cell">No</td>
|
411
411
|
|
412
|
-
<td class="govuk-table__cell
|
412
|
+
<td class="govuk-table__cell">Optional additional classes to add to the select component.</td>
|
413
413
|
|
414
414
|
</tr>
|
415
415
|
|
@@ -417,11 +417,11 @@ If you are using Nunjucks,then macros take the following arguments
|
|
417
417
|
|
418
418
|
<th class="govuk-table__header" scope="row">attributes</th>
|
419
419
|
|
420
|
-
<td class="govuk-table__cell
|
420
|
+
<td class="govuk-table__cell">object</td>
|
421
421
|
|
422
|
-
<td class="govuk-table__cell
|
422
|
+
<td class="govuk-table__cell">No</td>
|
423
423
|
|
424
|
-
<td class="govuk-table__cell
|
424
|
+
<td class="govuk-table__cell">Any extra HTML attributes (for example data attributes) to add to the select component.</td>
|
425
425
|
|
426
426
|
</tr>
|
427
427
|
|