govuk_publishing_components 28.9.1 → 29.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/config/govuk_publishing_components_manifest.js +15 -3
  4. data/app/assets/javascripts/govuk_publishing_components/analytics/cross-domain-tracking.js +55 -0
  5. data/app/assets/javascripts/govuk_publishing_components/analytics.js +3 -0
  6. data/app/assets/javascripts/govuk_publishing_components/dependencies.js +2 -5
  7. data/app/assets/javascripts/govuk_publishing_components/modules.js +15 -18
  8. data/app/assets/javascripts/govuk_publishing_components/{rum-loader.js.erb → rum-loader.js} +13 -10
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_layout-super-navigation-header.scss +1 -0
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_previous-and-next-navigation.scss +1 -1
  11. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +1 -1
  12. data/app/views/govuk_publishing_components/components/_cards.html.erb +9 -25
  13. data/app/views/govuk_publishing_components/components/_input.html.erb +3 -0
  14. data/app/views/govuk_publishing_components/components/_layout_for_public.html.erb +7 -1
  15. data/app/views/govuk_publishing_components/components/_lead_paragraph.html.erb +0 -1
  16. data/app/views/govuk_publishing_components/components/_summary_list.html.erb +27 -22
  17. data/app/views/govuk_publishing_components/components/docs/attachment.yml +1 -1
  18. data/app/views/govuk_publishing_components/components/docs/big_number.yml +3 -3
  19. data/app/views/govuk_publishing_components/components/docs/breadcrumbs.yml +3 -3
  20. data/app/views/govuk_publishing_components/components/docs/button.yml +2 -2
  21. data/app/views/govuk_publishing_components/components/docs/cards.yml +12 -6
  22. data/app/views/govuk_publishing_components/components/docs/checkboxes.yml +5 -5
  23. data/app/views/govuk_publishing_components/components/docs/contents_list.yml +1 -1
  24. data/app/views/govuk_publishing_components/components/docs/contextual_breadcrumbs.yml +1 -1
  25. data/app/views/govuk_publishing_components/components/docs/contextual_guidance.yml +1 -1
  26. data/app/views/govuk_publishing_components/components/docs/cookie_banner.yml +2 -2
  27. data/app/views/govuk_publishing_components/components/docs/date_input.yml +1 -1
  28. data/app/views/govuk_publishing_components/components/docs/details.yml +1 -1
  29. data/app/views/govuk_publishing_components/components/docs/devolved_nations.yml +1 -1
  30. data/app/views/govuk_publishing_components/components/docs/document_list.yml +2 -2
  31. data/app/views/govuk_publishing_components/components/docs/error_alert.yml +1 -1
  32. data/app/views/govuk_publishing_components/components/docs/error_summary.yml +2 -2
  33. data/app/views/govuk_publishing_components/components/docs/feedback.yml +1 -1
  34. data/app/views/govuk_publishing_components/components/docs/fieldset.yml +4 -4
  35. data/app/views/govuk_publishing_components/components/docs/heading.yml +4 -4
  36. data/app/views/govuk_publishing_components/components/docs/hint.yml +1 -1
  37. data/app/views/govuk_publishing_components/components/docs/input.yml +18 -15
  38. data/app/views/govuk_publishing_components/components/docs/inset_text.yml +1 -1
  39. data/app/views/govuk_publishing_components/components/docs/label.yml +1 -1
  40. data/app/views/govuk_publishing_components/components/docs/layout_footer.yml +2 -2
  41. data/app/views/govuk_publishing_components/components/docs/lead_paragraph.yml +1 -1
  42. data/app/views/govuk_publishing_components/components/docs/list.yml +1 -1
  43. data/app/views/govuk_publishing_components/components/docs/metadata.yml +1 -1
  44. data/app/views/govuk_publishing_components/components/docs/notice.yml +2 -2
  45. data/app/views/govuk_publishing_components/components/docs/print_link.yml +1 -1
  46. data/app/views/govuk_publishing_components/components/docs/search.yml +4 -4
  47. data/app/views/govuk_publishing_components/components/docs/select.yml +5 -5
  48. data/app/views/govuk_publishing_components/components/docs/show_password.yml +3 -3
  49. data/app/views/govuk_publishing_components/components/docs/signup_link.yml +1 -1
  50. data/app/views/govuk_publishing_components/components/docs/single_page_notification_button.yml +2 -2
  51. data/app/views/govuk_publishing_components/components/docs/step_by_step_nav.yml +1 -1
  52. data/app/views/govuk_publishing_components/components/docs/step_by_step_nav_header.yml +3 -3
  53. data/app/views/govuk_publishing_components/components/docs/subscription_links.yml +3 -3
  54. data/app/views/govuk_publishing_components/components/docs/success_alert.yml +1 -1
  55. data/app/views/govuk_publishing_components/components/docs/summary_list.yml +2 -7
  56. data/app/views/govuk_publishing_components/components/docs/table.yml +1 -1
  57. data/app/views/govuk_publishing_components/components/docs/textarea.yml +1 -1
  58. data/app/views/govuk_publishing_components/components/docs/title.yml +1 -1
  59. data/config/initializers/assets.rb +15 -45
  60. data/lib/govuk_publishing_components/presenters/attachment.rb +4 -7
  61. data/lib/govuk_publishing_components/version.rb +1 -1
  62. metadata +13 -119
  63. data/node_modules/jquery/AUTHORS.txt +0 -266
  64. data/node_modules/jquery/LICENSE.txt +0 -36
  65. data/node_modules/jquery/README.md +0 -65
  66. data/node_modules/jquery/bower.json +0 -14
  67. data/node_modules/jquery/dist/jquery.js +0 -11008
  68. data/node_modules/jquery/dist/jquery.min.js +0 -5
  69. data/node_modules/jquery/dist/jquery.min.map +0 -1
  70. data/node_modules/jquery/external/sizzle/LICENSE.txt +0 -36
  71. data/node_modules/jquery/external/sizzle/dist/sizzle.js +0 -2143
  72. data/node_modules/jquery/external/sizzle/dist/sizzle.min.js +0 -3
  73. data/node_modules/jquery/external/sizzle/dist/sizzle.min.map +0 -1
  74. data/node_modules/jquery/package.json +0 -85
  75. data/node_modules/jquery/src/ajax/jsonp.js +0 -100
  76. data/node_modules/jquery/src/ajax/load.js +0 -83
  77. data/node_modules/jquery/src/ajax/parseJSON.js +0 -53
  78. data/node_modules/jquery/src/ajax/parseXML.js +0 -31
  79. data/node_modules/jquery/src/ajax/script.js +0 -95
  80. data/node_modules/jquery/src/ajax/var/location.js +0 -3
  81. data/node_modules/jquery/src/ajax/var/nonce.js +0 -5
  82. data/node_modules/jquery/src/ajax/var/rquery.js +0 -3
  83. data/node_modules/jquery/src/ajax/xhr.js +0 -229
  84. data/node_modules/jquery/src/ajax.js +0 -842
  85. data/node_modules/jquery/src/attributes/attr.js +0 -281
  86. data/node_modules/jquery/src/attributes/classes.js +0 -174
  87. data/node_modules/jquery/src/attributes/prop.js +0 -156
  88. data/node_modules/jquery/src/attributes/support.js +0 -70
  89. data/node_modules/jquery/src/attributes/val.js +0 -191
  90. data/node_modules/jquery/src/attributes.js +0 -11
  91. data/node_modules/jquery/src/callbacks.js +0 -232
  92. data/node_modules/jquery/src/core/access.js +0 -65
  93. data/node_modules/jquery/src/core/init.js +0 -140
  94. data/node_modules/jquery/src/core/parseHTML.js +0 -41
  95. data/node_modules/jquery/src/core/ready.js +0 -163
  96. data/node_modules/jquery/src/core/var/rsingleTag.js +0 -5
  97. data/node_modules/jquery/src/core.js +0 -529
  98. data/node_modules/jquery/src/css/addGetHookIf.js +0 -24
  99. data/node_modules/jquery/src/css/adjustCSS.js +0 -65
  100. data/node_modules/jquery/src/css/curCSS.js +0 -137
  101. data/node_modules/jquery/src/css/defaultDisplay.js +0 -72
  102. data/node_modules/jquery/src/css/hiddenVisibleSelectors.js +0 -42
  103. data/node_modules/jquery/src/css/showHide.js +0 -45
  104. data/node_modules/jquery/src/css/support.js +0 -184
  105. data/node_modules/jquery/src/css/var/cssExpand.js +0 -3
  106. data/node_modules/jquery/src/css/var/isHidden.js +0 -16
  107. data/node_modules/jquery/src/css/var/rmargin.js +0 -3
  108. data/node_modules/jquery/src/css/var/rnumnonpx.js +0 -5
  109. data/node_modules/jquery/src/css/var/swap.js +0 -24
  110. data/node_modules/jquery/src/css.js +0 -563
  111. data/node_modules/jquery/src/data/support.js +0 -23
  112. data/node_modules/jquery/src/data/var/acceptData.js +0 -20
  113. data/node_modules/jquery/src/data.js +0 -342
  114. data/node_modules/jquery/src/deferred.js +0 -159
  115. data/node_modules/jquery/src/deprecated.js +0 -34
  116. data/node_modules/jquery/src/dimensions.js +0 -56
  117. data/node_modules/jquery/src/effects/Tween.js +0 -121
  118. data/node_modules/jquery/src/effects/animatedSelector.js +0 -13
  119. data/node_modules/jquery/src/effects/support.js +0 -58
  120. data/node_modules/jquery/src/effects.js +0 -640
  121. data/node_modules/jquery/src/event/ajax.js +0 -20
  122. data/node_modules/jquery/src/event/alias.js +0 -25
  123. data/node_modules/jquery/src/event/support.js +0 -28
  124. data/node_modules/jquery/src/event.js +0 -1134
  125. data/node_modules/jquery/src/exports/amd.js +0 -24
  126. data/node_modules/jquery/src/exports/global.js +0 -26
  127. data/node_modules/jquery/src/intro.js +0 -44
  128. data/node_modules/jquery/src/jquery.js +0 -37
  129. data/node_modules/jquery/src/manipulation/_evalUrl.js +0 -21
  130. data/node_modules/jquery/src/manipulation/buildFragment.js +0 -157
  131. data/node_modules/jquery/src/manipulation/createSafeFragment.js +0 -20
  132. data/node_modules/jquery/src/manipulation/getAll.js +0 -33
  133. data/node_modules/jquery/src/manipulation/setGlobalEval.js +0 -19
  134. data/node_modules/jquery/src/manipulation/support.js +0 -72
  135. data/node_modules/jquery/src/manipulation/var/nodeNames.js +0 -5
  136. data/node_modules/jquery/src/manipulation/var/rcheckableType.js +0 -3
  137. data/node_modules/jquery/src/manipulation/var/rleadingWhitespace.js +0 -3
  138. data/node_modules/jquery/src/manipulation/var/rscriptType.js +0 -3
  139. data/node_modules/jquery/src/manipulation/var/rtagName.js +0 -3
  140. data/node_modules/jquery/src/manipulation/wrapMap.js +0 -30
  141. data/node_modules/jquery/src/manipulation.js +0 -585
  142. data/node_modules/jquery/src/offset.js +0 -219
  143. data/node_modules/jquery/src/outro.js +0 -2
  144. data/node_modules/jquery/src/queue/delay.js +0 -22
  145. data/node_modules/jquery/src/queue.js +0 -144
  146. data/node_modules/jquery/src/selector-sizzle.js +0 -14
  147. data/node_modules/jquery/src/selector.js +0 -1
  148. data/node_modules/jquery/src/serialize.js +0 -125
  149. data/node_modules/jquery/src/support.js +0 -63
  150. data/node_modules/jquery/src/traversing/findFilter.js +0 -100
  151. data/node_modules/jquery/src/traversing/var/dir.js +0 -20
  152. data/node_modules/jquery/src/traversing/var/rneedsContext.js +0 -6
  153. data/node_modules/jquery/src/traversing/var/siblings.js +0 -15
  154. data/node_modules/jquery/src/traversing.js +0 -179
  155. data/node_modules/jquery/src/var/class2type.js +0 -5
  156. data/node_modules/jquery/src/var/concat.js +0 -5
  157. data/node_modules/jquery/src/var/deletedIds.js +0 -3
  158. data/node_modules/jquery/src/var/document.js +0 -3
  159. data/node_modules/jquery/src/var/documentElement.js +0 -5
  160. data/node_modules/jquery/src/var/hasOwn.js +0 -5
  161. data/node_modules/jquery/src/var/indexOf.js +0 -5
  162. data/node_modules/jquery/src/var/pnum.js +0 -3
  163. data/node_modules/jquery/src/var/push.js +0 -5
  164. data/node_modules/jquery/src/var/rcssNum.js +0 -7
  165. data/node_modules/jquery/src/var/rnotwhite.js +0 -3
  166. data/node_modules/jquery/src/var/slice.js +0 -5
  167. data/node_modules/jquery/src/var/support.js +0 -5
  168. data/node_modules/jquery/src/var/toString.js +0 -5
  169. data/node_modules/jquery/src/wrap.js +0 -77
@@ -1,65 +0,0 @@
1
- # jQuery
2
-
3
- > jQuery is a fast, small, and feature-rich JavaScript library.
4
-
5
- For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/).
6
- For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).
7
-
8
- ## Including jQuery
9
-
10
- Below are some of the most common ways to include jQuery.
11
-
12
- ### Browser
13
-
14
- #### Script tag
15
-
16
- ```html
17
- <script src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
18
- ```
19
-
20
- #### Babel
21
-
22
- [Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.
23
-
24
- ```js
25
- import $ from "jquery";
26
- ```
27
-
28
- #### Browserify/Webpack
29
-
30
- There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this...
31
-
32
- ```js
33
- var $ = require("jquery");
34
- ```
35
-
36
- #### AMD (Asynchronous Module Definition)
37
-
38
- AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html).
39
-
40
- ```js
41
- define(["jquery"], function($) {
42
-
43
- });
44
- ```
45
-
46
- ### Node
47
-
48
- To include jQuery in [Node](nodejs.org), first install with npm.
49
-
50
- ```sh
51
- npm install jquery
52
- ```
53
-
54
- For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes.
55
-
56
- ```js
57
- require("jsdom").env("", function(err, window) {
58
- if (err) {
59
- console.error(err);
60
- return;
61
- }
62
-
63
- var $ = require("jquery")(window);
64
- });
65
- ```
@@ -1,14 +0,0 @@
1
- {
2
- "name": "jquery",
3
- "main": "dist/jquery.js",
4
- "license": "MIT",
5
- "ignore": [
6
- "package.json"
7
- ],
8
- "keywords": [
9
- "jquery",
10
- "javascript",
11
- "browser",
12
- "library"
13
- ]
14
- }