govuk_publishing_components 24.4.1 → 24.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/components/accordion.js +7 -5
  3. data/app/assets/javascripts/govuk_publishing_components/components/details.js +2 -1
  4. data/app/assets/javascripts/govuk_publishing_components/components/reorderable-list.js +108 -0
  5. data/app/assets/javascripts/govuk_publishing_components/lib/header-navigation.js +6 -2
  6. data/app/assets/javascripts/govuk_publishing_components/modules.js +3 -1
  7. data/app/assets/stylesheets/component_guide/application.scss +1 -1
  8. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
  9. data/app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss +1 -1
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-for-public.scss +10 -1
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +8 -7
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +117 -0
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +15 -1
  14. data/app/assets/stylesheets/govuk_publishing_components/components/_summary-list.scss +12 -0
  15. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +48 -7
  16. data/app/views/govuk_publishing_components/components/_layout_header.html.erb +15 -12
  17. data/app/views/govuk_publishing_components/components/_list.html.erb +5 -5
  18. data/app/views/govuk_publishing_components/components/_reorderable_list.html.erb +45 -0
  19. data/app/views/govuk_publishing_components/components/_search.html.erb +27 -16
  20. data/app/views/govuk_publishing_components/components/_summary_list.html.erb +73 -31
  21. data/app/views/govuk_publishing_components/components/docs/contextual_sidebar.yml +3 -0
  22. data/app/views/govuk_publishing_components/components/docs/layout_for_public.yml +26 -0
  23. data/app/views/govuk_publishing_components/components/docs/reorderable_list.yml +85 -0
  24. data/app/views/govuk_publishing_components/components/docs/search.yml +10 -0
  25. data/app/views/govuk_publishing_components/components/docs/summary_list.yml +50 -19
  26. data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +8 -1
  27. data/app/views/govuk_publishing_components/components/layout_header/_search.html.erb +17 -3
  28. data/config/locales/ar.yml +1 -0
  29. data/config/locales/az.yml +1 -0
  30. data/config/locales/be.yml +1 -0
  31. data/config/locales/bg.yml +1 -0
  32. data/config/locales/bn.yml +1 -0
  33. data/config/locales/cs.yml +1 -0
  34. data/config/locales/da.yml +1 -0
  35. data/config/locales/de.yml +1 -0
  36. data/config/locales/dr.yml +1 -0
  37. data/config/locales/el.yml +1 -0
  38. data/config/locales/en.yml +24 -16
  39. data/config/locales/es-419.yml +1 -0
  40. data/config/locales/es.yml +1 -0
  41. data/config/locales/fa.yml +1 -0
  42. data/config/locales/fi.yml +1 -0
  43. data/config/locales/gd.yml +1 -0
  44. data/config/locales/gu.yml +1 -0
  45. data/config/locales/he.yml +1 -0
  46. data/config/locales/hi.yml +1 -0
  47. data/config/locales/hr.yml +1 -0
  48. data/config/locales/hu.yml +1 -0
  49. data/config/locales/hy.yml +1 -0
  50. data/config/locales/id.yml +1 -0
  51. data/config/locales/is.yml +1 -0
  52. data/config/locales/it.yml +1 -0
  53. data/config/locales/ja.yml +1 -0
  54. data/config/locales/ka.yml +1 -0
  55. data/config/locales/kk.yml +1 -0
  56. data/config/locales/ko.yml +1 -0
  57. data/config/locales/lt.yml +1 -0
  58. data/config/locales/lv.yml +1 -0
  59. data/config/locales/ms.yml +1 -0
  60. data/config/locales/mt.yml +1 -0
  61. data/config/locales/nl.yml +1 -0
  62. data/config/locales/no.yml +1 -0
  63. data/config/locales/pa-pk.yml +1 -0
  64. data/config/locales/pa.yml +1 -0
  65. data/config/locales/pl.yml +1 -0
  66. data/config/locales/ps.yml +1 -0
  67. data/config/locales/pt.yml +1 -0
  68. data/config/locales/ro.yml +1 -0
  69. data/config/locales/ru.yml +1 -0
  70. data/config/locales/si.yml +1 -0
  71. data/config/locales/sk.yml +1 -0
  72. data/config/locales/sl.yml +1 -0
  73. data/config/locales/so.yml +1 -0
  74. data/config/locales/sq.yml +1 -0
  75. data/config/locales/sr.yml +1 -0
  76. data/config/locales/sv.yml +1 -0
  77. data/config/locales/sw.yml +1 -0
  78. data/config/locales/ta.yml +1 -0
  79. data/config/locales/th.yml +1 -0
  80. data/config/locales/tk.yml +1 -0
  81. data/config/locales/tr.yml +1 -0
  82. data/config/locales/uk.yml +1 -0
  83. data/config/locales/ur.yml +1 -0
  84. data/config/locales/uz.yml +1 -0
  85. data/config/locales/vi.yml +1 -0
  86. data/config/locales/zh-hk.yml +1 -0
  87. data/config/locales/zh-tw.yml +1 -0
  88. data/config/locales/zh.yml +1 -0
  89. data/lib/govuk_publishing_components/presenters/contextual_navigation.rb +5 -0
  90. data/lib/govuk_publishing_components/version.rb +1 -1
  91. data/node_modules/sortablejs/LICENSE +21 -0
  92. data/node_modules/sortablejs/README.md +815 -0
  93. data/node_modules/sortablejs/Sortable.js +3721 -0
  94. data/node_modules/sortablejs/Sortable.min.js +2 -0
  95. data/node_modules/sortablejs/modular/sortable.complete.esm.js +3713 -0
  96. data/node_modules/sortablejs/modular/sortable.core.esm.js +3710 -0
  97. data/node_modules/sortablejs/modular/sortable.esm.js +3711 -0
  98. data/node_modules/sortablejs/package.json +56 -0
  99. metadata +78 -6
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "sortablejs",
3
+ "exportName": "Sortable",
4
+ "version": "1.13.0",
5
+ "devDependencies": {
6
+ "@babel/core": "^7.4.4",
7
+ "@babel/plugin-transform-object-assign": "^7.2.0",
8
+ "@babel/preset-env": "^7.4.4",
9
+ "rollup": "^1.11.3",
10
+ "rollup-plugin-babel": "^4.3.2",
11
+ "rollup-plugin-json": "^4.0.0",
12
+ "rollup-plugin-node-resolve": "^5.0.0",
13
+ "testcafe": "^1.3.1",
14
+ "testcafe-browser-provider-saucelabs": "^1.7.0",
15
+ "testcafe-reporter-xunit": "^2.1.0",
16
+ "uglify-js": "^3.5.12"
17
+ },
18
+ "description": "JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery required. Supports Meteor, AngularJS, React, Polymer, Vue, Knockout and any CSS library, e.g. Bootstrap.",
19
+ "main": "./Sortable.js",
20
+ "module": "modular/sortable.esm.js",
21
+ "scripts": {
22
+ "build:umd": "NODE_ENV=umd rollup -c ./scripts/umd-build.js",
23
+ "build:umd:watch": "set NODE_ENV=umd&& rollup -w -c ./scripts/umd-build.js",
24
+ "build:es": "set NODE_ENV=es&& rollup -c ./scripts/esm-build.js",
25
+ "build:es:watch": "set NODE_ENV=es&& rollup -w -c ./scripts/esm-build.js",
26
+ "minify": "node ./scripts/minify.js",
27
+ "build": "npm run build:es && npm run build:umd && npm run minify",
28
+ "test:compat": "node ./scripts/test-compat.js",
29
+ "test": "node ./scripts/test.js"
30
+ },
31
+ "maintainers": [
32
+ "Konstantin Lebedev <ibnRubaXa@gmail.com>",
33
+ "Owen Mills <owen23355@gmail.com>"
34
+ ],
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git://github.com/SortableJS/Sortable.git"
38
+ },
39
+ "files": [
40
+ "Sortable.js",
41
+ "Sortable.min.js",
42
+ "modular/"
43
+ ],
44
+ "keywords": [
45
+ "sortable",
46
+ "reorder",
47
+ "drag",
48
+ "meteor",
49
+ "angular",
50
+ "ng-sortable",
51
+ "react",
52
+ "vue",
53
+ "mixin"
54
+ ],
55
+ "license": "MIT"
56
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 24.4.1
4
+ version: 24.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2021-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 3.6.0
173
+ version: 3.7.0
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 3.6.0
180
+ version: 3.7.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: jasmine_selenium_runner
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -226,14 +226,14 @@ dependencies:
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: '4.0'
229
+ version: '5.0'
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: '4.0'
236
+ version: '5.0'
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: rubocop-govuk
239
239
  requirement: !ruby/object:Gem::Requirement
@@ -430,6 +430,7 @@ files:
430
430
  - app/assets/javascripts/govuk_publishing_components/components/modal-dialogue.js
431
431
  - app/assets/javascripts/govuk_publishing_components/components/print-link.js
432
432
  - app/assets/javascripts/govuk_publishing_components/components/radio.js
433
+ - app/assets/javascripts/govuk_publishing_components/components/reorderable-list.js
433
434
  - app/assets/javascripts/govuk_publishing_components/components/show-password.js
434
435
  - app/assets/javascripts/govuk_publishing_components/components/step-by-step-nav.js
435
436
  - app/assets/javascripts/govuk_publishing_components/components/tabs.js
@@ -508,6 +509,7 @@ files:
508
509
  - app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss
509
510
  - app/assets/stylesheets/govuk_publishing_components/components/_radio.scss
510
511
  - app/assets/stylesheets/govuk_publishing_components/components/_related-navigation.scss
512
+ - app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss
511
513
  - app/assets/stylesheets/govuk_publishing_components/components/_search.scss
512
514
  - app/assets/stylesheets/govuk_publishing_components/components/_select.scss
513
515
  - app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss
@@ -656,6 +658,7 @@ files:
656
658
  - app/views/govuk_publishing_components/components/_print_link.html.erb
657
659
  - app/views/govuk_publishing_components/components/_radio.html.erb
658
660
  - app/views/govuk_publishing_components/components/_related_navigation.html.erb
661
+ - app/views/govuk_publishing_components/components/_reorderable_list.html.erb
659
662
  - app/views/govuk_publishing_components/components/_search.html.erb
660
663
  - app/views/govuk_publishing_components/components/_select.html.erb
661
664
  - app/views/govuk_publishing_components/components/_share_links.html.erb
@@ -734,6 +737,7 @@ files:
734
737
  - app/views/govuk_publishing_components/components/docs/print_link.yml
735
738
  - app/views/govuk_publishing_components/components/docs/radio.yml
736
739
  - app/views/govuk_publishing_components/components/docs/related_navigation.yml
740
+ - app/views/govuk_publishing_components/components/docs/reorderable_list.yml
737
741
  - app/views/govuk_publishing_components/components/docs/search.yml
738
742
  - app/views/govuk_publishing_components/components/docs/select.yml
739
743
  - app/views/govuk_publishing_components/components/docs/share_links.yml
@@ -762,10 +766,70 @@ files:
762
766
  - app/views/govuk_publishing_components/components/related_navigation/_section.html.erb
763
767
  - app/views/layouts/govuk_publishing_components/application.html.erb
764
768
  - config/initializers/assets.rb
769
+ - config/locales/ar.yml
770
+ - config/locales/az.yml
771
+ - config/locales/be.yml
772
+ - config/locales/bg.yml
773
+ - config/locales/bn.yml
774
+ - config/locales/cs.yml
765
775
  - config/locales/cy.yml
776
+ - config/locales/da.yml
777
+ - config/locales/de.yml
778
+ - config/locales/dr.yml
779
+ - config/locales/el.yml
766
780
  - config/locales/en.yml
781
+ - config/locales/es-419.yml
782
+ - config/locales/es.yml
767
783
  - config/locales/et.yml
784
+ - config/locales/fa.yml
785
+ - config/locales/fi.yml
768
786
  - config/locales/fr.yml
787
+ - config/locales/gd.yml
788
+ - config/locales/gu.yml
789
+ - config/locales/he.yml
790
+ - config/locales/hi.yml
791
+ - config/locales/hr.yml
792
+ - config/locales/hu.yml
793
+ - config/locales/hy.yml
794
+ - config/locales/id.yml
795
+ - config/locales/is.yml
796
+ - config/locales/it.yml
797
+ - config/locales/ja.yml
798
+ - config/locales/ka.yml
799
+ - config/locales/kk.yml
800
+ - config/locales/ko.yml
801
+ - config/locales/lt.yml
802
+ - config/locales/lv.yml
803
+ - config/locales/ms.yml
804
+ - config/locales/mt.yml
805
+ - config/locales/nl.yml
806
+ - config/locales/no.yml
807
+ - config/locales/pa-pk.yml
808
+ - config/locales/pa.yml
809
+ - config/locales/pl.yml
810
+ - config/locales/ps.yml
811
+ - config/locales/pt.yml
812
+ - config/locales/ro.yml
813
+ - config/locales/ru.yml
814
+ - config/locales/si.yml
815
+ - config/locales/sk.yml
816
+ - config/locales/sl.yml
817
+ - config/locales/so.yml
818
+ - config/locales/sq.yml
819
+ - config/locales/sr.yml
820
+ - config/locales/sv.yml
821
+ - config/locales/sw.yml
822
+ - config/locales/ta.yml
823
+ - config/locales/th.yml
824
+ - config/locales/tk.yml
825
+ - config/locales/tr.yml
826
+ - config/locales/uk.yml
827
+ - config/locales/ur.yml
828
+ - config/locales/uz.yml
829
+ - config/locales/vi.yml
830
+ - config/locales/zh-hk.yml
831
+ - config/locales/zh-tw.yml
832
+ - config/locales/zh.yml
769
833
  - config/routes.rb
770
834
  - lib/generators/govuk_publishing_components/USAGE
771
835
  - lib/generators/govuk_publishing_components/component_generator.rb
@@ -1848,6 +1912,14 @@ files:
1848
1912
  - node_modules/jquery/src/var/support.js
1849
1913
  - node_modules/jquery/src/var/toString.js
1850
1914
  - node_modules/jquery/src/wrap.js
1915
+ - node_modules/sortablejs/LICENSE
1916
+ - node_modules/sortablejs/README.md
1917
+ - node_modules/sortablejs/Sortable.js
1918
+ - node_modules/sortablejs/Sortable.min.js
1919
+ - node_modules/sortablejs/modular/sortable.complete.esm.js
1920
+ - node_modules/sortablejs/modular/sortable.core.esm.js
1921
+ - node_modules/sortablejs/modular/sortable.esm.js
1922
+ - node_modules/sortablejs/package.json
1851
1923
  homepage: https://github.com/alphagov/govuk_publishing_components
1852
1924
  licenses:
1853
1925
  - MIT