govuk_publishing_components 24.2.0 → 24.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics/scroll-tracker.js +28 -0
- data/app/assets/javascripts/govuk_publishing_components/components/accordion.js +52 -8
- data/app/assets/javascripts/govuk_publishing_components/components/details.js +1 -1
- data/app/assets/javascripts/govuk_publishing_components/components/reorderable-list.js +108 -0
- data/app/assets/javascripts/govuk_publishing_components/components/show-password.js +7 -2
- data/app/assets/javascripts/govuk_publishing_components/lib/header-navigation.js +6 -2
- data/app/assets/stylesheets/component_guide/application.scss +0 -8
- data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss +1 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +11 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_cookie-banner.scss +8 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/_reorderable-list.scss +117 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +17 -13
- data/app/models/govuk_publishing_components/audit_applications.rb +1 -1
- data/app/models/govuk_publishing_components/audit_comparer.rb +2 -2
- data/app/models/govuk_publishing_components/component_example.rb +4 -3
- data/app/views/govuk_publishing_components/audit/show.html.erb +211 -199
- data/app/views/govuk_publishing_components/components/_accordion.html.erb +3 -3
- data/app/views/govuk_publishing_components/components/_breadcrumbs.html.erb +8 -5
- data/app/views/govuk_publishing_components/components/_contents_list.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_cookie_banner.html.erb +6 -6
- data/app/views/govuk_publishing_components/components/_highlight_boxes.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_image_card.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_list.html.erb +5 -5
- data/app/views/govuk_publishing_components/components/_metadata.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_organisation_logo.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_previous_and_next_navigation.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_radio.html.erb +2 -1
- data/app/views/govuk_publishing_components/components/_reorderable_list.html.erb +45 -0
- data/app/views/govuk_publishing_components/components/_search.html.erb +27 -16
- data/app/views/govuk_publishing_components/components/_share_links.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_show_password.html.erb +6 -4
- data/app/views/govuk_publishing_components/components/_step_by_step_nav_header.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_subscription_links.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_summary_list.html.erb +67 -30
- data/app/views/govuk_publishing_components/components/_taxonomy_list.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_translation_nav.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/contextual_sidebar/_brexit_cta.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/docs/accordion.yml +29 -0
- data/app/views/govuk_publishing_components/components/docs/breadcrumbs.yml +22 -0
- data/app/views/govuk_publishing_components/components/docs/inverse_header.yml +1 -1
- data/app/views/govuk_publishing_components/components/docs/radio.yml +14 -1
- data/app/views/govuk_publishing_components/components/docs/reorderable_list.yml +85 -0
- data/app/views/govuk_publishing_components/components/docs/search.yml +10 -0
- data/app/views/govuk_publishing_components/components/layout_header/_navigation_items.html.erb +2 -0
- data/app/views/govuk_publishing_components/components/layout_header/_search.html.erb +17 -3
- data/app/views/govuk_publishing_components/components/related_navigation/_section.html.erb +2 -2
- data/config/locales/en.yml +25 -15
- data/lib/govuk_publishing_components/app_helpers/table_helper.rb +2 -1
- data/lib/govuk_publishing_components/presenters/machine_readable/faq_page_schema.rb +1 -1
- data/lib/govuk_publishing_components/presenters/machine_readable/html_publication_schema.rb +1 -7
- data/lib/govuk_publishing_components/presenters/meta_tags.rb +1 -2
- data/lib/govuk_publishing_components/presenters/related_navigation_helper.rb +2 -2
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/lib/tasks/govuk_publishing_components_tasks.rake +1 -1
- data/node_modules/sortablejs/LICENSE +21 -0
- data/node_modules/sortablejs/README.md +815 -0
- data/node_modules/sortablejs/Sortable.js +3721 -0
- data/node_modules/sortablejs/Sortable.min.js +2 -0
- data/node_modules/sortablejs/modular/sortable.complete.esm.js +3713 -0
- data/node_modules/sortablejs/modular/sortable.core.esm.js +3710 -0
- data/node_modules/sortablejs/modular/sortable.esm.js +3711 -0
- data/node_modules/sortablejs/package.json +56 -0
- metadata +19 -7
@@ -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
|
+
version: 24.5.0
|
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-
|
11
|
+
date: 2021-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -238,16 +238,16 @@ dependencies:
|
|
238
238
|
name: rubocop-govuk
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
|
-
- -
|
241
|
+
- - '='
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
243
|
+
version: 4.0.0.pre.1
|
244
244
|
type: :development
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
|
-
- -
|
248
|
+
- - '='
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
250
|
+
version: 4.0.0.pre.1
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: sassc-rails
|
253
253
|
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
|
@@ -1848,6 +1852,14 @@ files:
|
|
1848
1852
|
- node_modules/jquery/src/var/support.js
|
1849
1853
|
- node_modules/jquery/src/var/toString.js
|
1850
1854
|
- node_modules/jquery/src/wrap.js
|
1855
|
+
- node_modules/sortablejs/LICENSE
|
1856
|
+
- node_modules/sortablejs/README.md
|
1857
|
+
- node_modules/sortablejs/Sortable.js
|
1858
|
+
- node_modules/sortablejs/Sortable.min.js
|
1859
|
+
- node_modules/sortablejs/modular/sortable.complete.esm.js
|
1860
|
+
- node_modules/sortablejs/modular/sortable.core.esm.js
|
1861
|
+
- node_modules/sortablejs/modular/sortable.esm.js
|
1862
|
+
- node_modules/sortablejs/package.json
|
1851
1863
|
homepage: https://github.com/alphagov/govuk_publishing_components
|
1852
1864
|
licenses:
|
1853
1865
|
- MIT
|
@@ -1860,7 +1872,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1860
1872
|
requirements:
|
1861
1873
|
- - ">="
|
1862
1874
|
- !ruby/object:Gem::Version
|
1863
|
-
version: '
|
1875
|
+
version: '2.6'
|
1864
1876
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1865
1877
|
requirements:
|
1866
1878
|
- - ">="
|