govuk_publishing_components 24.4.1 → 24.5.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 +4 -4
- data/app/assets/javascripts/govuk_publishing_components/components/reorderable-list.js +108 -0
- data/app/assets/javascripts/govuk_publishing_components/lib/header-navigation.js +6 -2
- 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/_reorderable-list.scss +117 -0
- data/app/views/govuk_publishing_components/components/_list.html.erb +5 -5
- 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/_summary_list.html.erb +67 -30
- 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/_search.html.erb +17 -3
- data/config/locales/en.yml +24 -16
- data/lib/govuk_publishing_components/version.rb +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 +14 -2
@@ -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-03-
|
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
|
@@ -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
|