govuk_publishing_components 23.0.0 → 23.4.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/init.js +56 -0
- data/app/assets/javascripts/govuk_publishing_components/lib/govspeak/magna-charta.js +9 -8
- data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +1 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_input.scss +0 -46
- data/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +5 -0
- data/app/assets/stylesheets/govuk_publishing_components/components/_print-link.scss +0 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_search.scss +7 -1
- data/app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak.scss +4 -0
- data/app/views/govuk_publishing_components/components/_input.html.erb +6 -6
- data/app/views/govuk_publishing_components/components/_print_link.html.erb +18 -11
- data/app/views/govuk_publishing_components/components/docs/govspeak.yml +14 -0
- data/app/views/govuk_publishing_components/components/docs/print_link.yml +5 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/govuk-frontend/govuk/all.js +31 -37
- data/node_modules/govuk-frontend/govuk/components/accordion/README.md +1 -1
- data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +0 -1
- data/node_modules/govuk-frontend/govuk/components/accordion/fixtures.json +235 -0
- data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +0 -2
- data/node_modules/govuk-frontend/govuk/components/back-link/fixtures.json +56 -0
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +0 -1
- data/node_modules/govuk-frontend/govuk/components/breadcrumbs/fixtures.json +172 -0
- data/node_modules/govuk-frontend/govuk/components/button/_index.scss +3 -3
- data/node_modules/govuk-frontend/govuk/components/button/fixtures.json +275 -0
- data/node_modules/govuk-frontend/govuk/components/character-count/fixtures.json +170 -0
- data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +13 -13
- data/node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json +1015 -0
- data/node_modules/govuk-frontend/govuk/components/date-input/fixtures.json +499 -0
- data/node_modules/govuk-frontend/govuk/components/details/_index.scss +0 -1
- data/node_modules/govuk-frontend/govuk/components/details/fixtures.json +83 -0
- data/node_modules/govuk-frontend/govuk/components/error-message/fixtures.json +66 -0
- data/node_modules/govuk-frontend/govuk/components/error-summary/_index.scss +0 -2
- data/node_modules/govuk-frontend/govuk/components/error-summary/fixtures.json +181 -0
- data/node_modules/govuk-frontend/govuk/components/fieldset/_index.scss +1 -1
- data/node_modules/govuk-frontend/govuk/components/fieldset/fixtures.json +93 -0
- data/node_modules/govuk-frontend/govuk/components/fieldset/macro-options.json +6 -0
- data/node_modules/govuk-frontend/govuk/components/fieldset/template.njk +5 -1
- data/node_modules/govuk-frontend/govuk/components/file-upload/fixtures.json +151 -0
- data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +0 -1
- data/node_modules/govuk-frontend/govuk/components/footer/fixtures.json +482 -0
- data/node_modules/govuk-frontend/govuk/components/header/_index.scss +2 -5
- data/node_modules/govuk-frontend/govuk/components/header/fixtures.json +360 -0
- data/node_modules/govuk-frontend/govuk/components/header/header.js +665 -316
- data/node_modules/govuk-frontend/govuk/components/header/macro-options.json +13 -1
- data/node_modules/govuk-frontend/govuk/components/header/template.njk +9 -5
- data/node_modules/govuk-frontend/govuk/components/hint/_index.scss +0 -2
- data/node_modules/govuk-frontend/govuk/components/hint/fixtures.json +50 -0
- data/node_modules/govuk-frontend/govuk/components/hint/macro-options.json +1 -1
- data/node_modules/govuk-frontend/govuk/components/input/_index.scss +91 -0
- data/node_modules/govuk-frontend/govuk/components/input/fixtures.json +538 -0
- data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +64 -0
- data/node_modules/govuk-frontend/govuk/components/input/template.njk +17 -0
- data/node_modules/govuk-frontend/govuk/components/inset-text/fixtures.json +49 -0
- data/node_modules/govuk-frontend/govuk/components/label/fixtures.json +75 -0
- data/node_modules/govuk-frontend/govuk/components/panel/_index.scss +6 -2
- data/node_modules/govuk-frontend/govuk/components/panel/fixtures.json +74 -0
- data/node_modules/govuk-frontend/govuk/components/phase-banner/fixtures.json +65 -0
- data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +13 -13
- data/node_modules/govuk-frontend/govuk/components/radios/fixtures.json +1066 -0
- data/node_modules/govuk-frontend/govuk/components/radios/macro-options.json +2 -2
- data/node_modules/govuk-frontend/govuk/components/select/_index.scss +0 -1
- data/node_modules/govuk-frontend/govuk/components/select/fixtures.json +248 -0
- data/node_modules/govuk-frontend/govuk/components/skip-link/fixtures.json +72 -0
- data/node_modules/govuk-frontend/govuk/components/summary-list/README.md +1 -1
- data/node_modules/govuk-frontend/govuk/components/summary-list/_index.scss +2 -10
- data/node_modules/govuk-frontend/govuk/components/summary-list/fixtures.json +991 -0
- data/node_modules/govuk-frontend/govuk/components/table/fixtures.json +468 -0
- data/node_modules/govuk-frontend/govuk/components/tabs/_index.scss +3 -6
- data/node_modules/govuk-frontend/govuk/components/tabs/fixtures.json +229 -0
- data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +0 -1
- data/node_modules/govuk-frontend/govuk/components/tag/fixtures.json +117 -0
- data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +0 -1
- data/node_modules/govuk-frontend/govuk/components/textarea/fixtures.json +199 -0
- data/node_modules/govuk-frontend/govuk/components/warning-text/_index.scss +0 -1
- data/node_modules/govuk-frontend/govuk/components/warning-text/fixtures.json +68 -0
- data/node_modules/govuk-frontend/govuk/helpers/_device-pixels.scss +3 -3
- data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss +9 -11
- data/node_modules/govuk-frontend/govuk/helpers/_links.scss +1 -3
- data/node_modules/govuk-frontend/govuk/helpers/_media-queries.scss +1 -5
- data/node_modules/govuk-frontend/govuk/helpers/_spacing.scss +2 -1
- data/node_modules/govuk-frontend/govuk/helpers/_typography.scss +7 -6
- data/node_modules/govuk-frontend/govuk/objects/_form-group.scss +0 -1
- data/node_modules/govuk-frontend/govuk/objects/_grid.scss +2 -3
- data/node_modules/govuk-frontend/govuk/objects/_main-wrapper.scss +0 -1
- data/node_modules/govuk-frontend/govuk/overrides/_display.scss +1 -1
- data/node_modules/govuk-frontend/govuk/overrides/_width.scss +1 -0
- data/node_modules/govuk-frontend/govuk/settings/_colours-applied.scss +0 -3
- data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +3 -0
- data/node_modules/govuk-frontend/govuk/settings/_colours-palette.scss +9 -2
- data/node_modules/govuk-frontend/govuk/settings/_compatibility.scss +0 -1
- data/node_modules/govuk-frontend/govuk/settings/_measurements.scss +0 -4
- data/node_modules/govuk-frontend/govuk/settings/_typography-font-families.scss +2 -2
- data/node_modules/govuk-frontend/govuk/settings/_typography-font.scss +11 -5
- data/node_modules/govuk-frontend/govuk/settings/_typography-responsive.scss +6 -2
- data/node_modules/govuk-frontend/govuk/tools/_font-url.scss +0 -3
- data/node_modules/govuk-frontend/govuk/tools/_image-url.scss +0 -3
- data/node_modules/govuk-frontend/govuk/utilities/_visually-hidden.scss +0 -1
- data/node_modules/govuk-frontend/govuk/vendor/_sass-mq.scss +0 -4
- data/node_modules/govuk-frontend/package.json +1 -1
- metadata +32 -3
- data/app/assets/javascripts/govuk_publishing_components/analytics/init.js.erb +0 -50
@@ -14,11 +14,15 @@
|
|
14
14
|
/// @type Boolean
|
15
15
|
/// @access public
|
16
16
|
|
17
|
-
$govuk-typography-use-rem: if(
|
17
|
+
$govuk-typography-use-rem: if(
|
18
|
+
(
|
18
19
|
$govuk-compatibility-govukfrontendtoolkit or
|
19
20
|
$govuk-compatibility-govuktemplate or
|
20
21
|
$govuk-compatibility-govukelements
|
21
|
-
),
|
22
|
+
),
|
23
|
+
false,
|
24
|
+
true
|
25
|
+
) !default;
|
22
26
|
|
23
27
|
/// Root font size
|
24
28
|
///
|
@@ -1,8 +1,6 @@
|
|
1
1
|
// mq() v4.0.2
|
2
2
|
// sass-mq/sass-mq
|
3
3
|
|
4
|
-
// sass-lint:disable-all
|
5
|
-
|
6
4
|
@charset "UTF-8"; // Fixes an issue where Ruby locale is not set properly
|
7
5
|
// See https://github.com/sass-mq/sass-mq/pull/10
|
8
6
|
|
@@ -347,5 +345,3 @@ $mq-media-type: all !default;
|
|
347
345
|
@if length($mq-show-breakpoints) > 0 {
|
348
346
|
@include mq-show-breakpoints;
|
349
347
|
}
|
350
|
-
|
351
|
-
// sass-lint:enable-all
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "govuk-frontend",
|
3
3
|
"description": "GOV.UK Frontend contains the code you need to start building a user interface for government platforms and services.",
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.9.1",
|
5
5
|
"main": "govuk/all.js",
|
6
6
|
"sass": "govuk/all.scss",
|
7
7
|
"engines": {
|
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: 23.
|
4
|
+
version: 23.4.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: 2020-
|
11
|
+
date: 2020-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_app_config
|
@@ -406,7 +406,7 @@ files:
|
|
406
406
|
- app/assets/javascripts/govuk_publishing_components/analytics/error-tracking.js
|
407
407
|
- app/assets/javascripts/govuk_publishing_components/analytics/external-link-tracker.js
|
408
408
|
- app/assets/javascripts/govuk_publishing_components/analytics/google-analytics-universal-tracker.js
|
409
|
-
- app/assets/javascripts/govuk_publishing_components/analytics/init.js
|
409
|
+
- app/assets/javascripts/govuk_publishing_components/analytics/init.js
|
410
410
|
- app/assets/javascripts/govuk_publishing_components/analytics/mailto-link-tracker.js
|
411
411
|
- app/assets/javascripts/govuk_publishing_components/analytics/page-content.js
|
412
412
|
- app/assets/javascripts/govuk_publishing_components/analytics/pii.js
|
@@ -1447,18 +1447,21 @@ files:
|
|
1447
1447
|
- node_modules/govuk-frontend/govuk/components/accordion/_accordion.scss
|
1448
1448
|
- node_modules/govuk-frontend/govuk/components/accordion/_index.scss
|
1449
1449
|
- node_modules/govuk-frontend/govuk/components/accordion/accordion.js
|
1450
|
+
- node_modules/govuk-frontend/govuk/components/accordion/fixtures.json
|
1450
1451
|
- node_modules/govuk-frontend/govuk/components/accordion/macro-options.json
|
1451
1452
|
- node_modules/govuk-frontend/govuk/components/accordion/macro.njk
|
1452
1453
|
- node_modules/govuk-frontend/govuk/components/accordion/template.njk
|
1453
1454
|
- node_modules/govuk-frontend/govuk/components/back-link/README.md
|
1454
1455
|
- node_modules/govuk-frontend/govuk/components/back-link/_back-link.scss
|
1455
1456
|
- node_modules/govuk-frontend/govuk/components/back-link/_index.scss
|
1457
|
+
- node_modules/govuk-frontend/govuk/components/back-link/fixtures.json
|
1456
1458
|
- node_modules/govuk-frontend/govuk/components/back-link/macro-options.json
|
1457
1459
|
- node_modules/govuk-frontend/govuk/components/back-link/macro.njk
|
1458
1460
|
- node_modules/govuk-frontend/govuk/components/back-link/template.njk
|
1459
1461
|
- node_modules/govuk-frontend/govuk/components/breadcrumbs/README.md
|
1460
1462
|
- node_modules/govuk-frontend/govuk/components/breadcrumbs/_breadcrumbs.scss
|
1461
1463
|
- node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss
|
1464
|
+
- node_modules/govuk-frontend/govuk/components/breadcrumbs/fixtures.json
|
1462
1465
|
- node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json
|
1463
1466
|
- node_modules/govuk-frontend/govuk/components/breadcrumbs/macro.njk
|
1464
1467
|
- node_modules/govuk-frontend/govuk/components/breadcrumbs/template.njk
|
@@ -1466,6 +1469,7 @@ files:
|
|
1466
1469
|
- node_modules/govuk-frontend/govuk/components/button/_button.scss
|
1467
1470
|
- node_modules/govuk-frontend/govuk/components/button/_index.scss
|
1468
1471
|
- node_modules/govuk-frontend/govuk/components/button/button.js
|
1472
|
+
- node_modules/govuk-frontend/govuk/components/button/fixtures.json
|
1469
1473
|
- node_modules/govuk-frontend/govuk/components/button/macro-options.json
|
1470
1474
|
- node_modules/govuk-frontend/govuk/components/button/macro.njk
|
1471
1475
|
- node_modules/govuk-frontend/govuk/components/button/template.njk
|
@@ -1473,6 +1477,7 @@ files:
|
|
1473
1477
|
- node_modules/govuk-frontend/govuk/components/character-count/_character-count.scss
|
1474
1478
|
- node_modules/govuk-frontend/govuk/components/character-count/_index.scss
|
1475
1479
|
- node_modules/govuk-frontend/govuk/components/character-count/character-count.js
|
1480
|
+
- node_modules/govuk-frontend/govuk/components/character-count/fixtures.json
|
1476
1481
|
- node_modules/govuk-frontend/govuk/components/character-count/macro-options.json
|
1477
1482
|
- node_modules/govuk-frontend/govuk/components/character-count/macro.njk
|
1478
1483
|
- node_modules/govuk-frontend/govuk/components/character-count/template.njk
|
@@ -1480,12 +1485,14 @@ files:
|
|
1480
1485
|
- node_modules/govuk-frontend/govuk/components/checkboxes/_checkboxes.scss
|
1481
1486
|
- node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss
|
1482
1487
|
- node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js
|
1488
|
+
- node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json
|
1483
1489
|
- node_modules/govuk-frontend/govuk/components/checkboxes/macro-options.json
|
1484
1490
|
- node_modules/govuk-frontend/govuk/components/checkboxes/macro.njk
|
1485
1491
|
- node_modules/govuk-frontend/govuk/components/checkboxes/template.njk
|
1486
1492
|
- node_modules/govuk-frontend/govuk/components/date-input/README.md
|
1487
1493
|
- node_modules/govuk-frontend/govuk/components/date-input/_date-input.scss
|
1488
1494
|
- node_modules/govuk-frontend/govuk/components/date-input/_index.scss
|
1495
|
+
- node_modules/govuk-frontend/govuk/components/date-input/fixtures.json
|
1489
1496
|
- node_modules/govuk-frontend/govuk/components/date-input/macro-options.json
|
1490
1497
|
- node_modules/govuk-frontend/govuk/components/date-input/macro.njk
|
1491
1498
|
- node_modules/govuk-frontend/govuk/components/date-input/template.njk
|
@@ -1493,6 +1500,7 @@ files:
|
|
1493
1500
|
- node_modules/govuk-frontend/govuk/components/details/_details.scss
|
1494
1501
|
- node_modules/govuk-frontend/govuk/components/details/_index.scss
|
1495
1502
|
- node_modules/govuk-frontend/govuk/components/details/details.js
|
1503
|
+
- node_modules/govuk-frontend/govuk/components/details/fixtures.json
|
1496
1504
|
- node_modules/govuk-frontend/govuk/components/details/implementation.md
|
1497
1505
|
- node_modules/govuk-frontend/govuk/components/details/macro-options.json
|
1498
1506
|
- node_modules/govuk-frontend/govuk/components/details/macro.njk
|
@@ -1500,6 +1508,7 @@ files:
|
|
1500
1508
|
- node_modules/govuk-frontend/govuk/components/error-message/README.md
|
1501
1509
|
- node_modules/govuk-frontend/govuk/components/error-message/_error-message.scss
|
1502
1510
|
- node_modules/govuk-frontend/govuk/components/error-message/_index.scss
|
1511
|
+
- node_modules/govuk-frontend/govuk/components/error-message/fixtures.json
|
1503
1512
|
- node_modules/govuk-frontend/govuk/components/error-message/macro-options.json
|
1504
1513
|
- node_modules/govuk-frontend/govuk/components/error-message/macro.njk
|
1505
1514
|
- node_modules/govuk-frontend/govuk/components/error-message/template.njk
|
@@ -1507,30 +1516,35 @@ files:
|
|
1507
1516
|
- node_modules/govuk-frontend/govuk/components/error-summary/_error-summary.scss
|
1508
1517
|
- node_modules/govuk-frontend/govuk/components/error-summary/_index.scss
|
1509
1518
|
- node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js
|
1519
|
+
- node_modules/govuk-frontend/govuk/components/error-summary/fixtures.json
|
1510
1520
|
- node_modules/govuk-frontend/govuk/components/error-summary/macro-options.json
|
1511
1521
|
- node_modules/govuk-frontend/govuk/components/error-summary/macro.njk
|
1512
1522
|
- node_modules/govuk-frontend/govuk/components/error-summary/template.njk
|
1513
1523
|
- node_modules/govuk-frontend/govuk/components/fieldset/README.md
|
1514
1524
|
- node_modules/govuk-frontend/govuk/components/fieldset/_fieldset.scss
|
1515
1525
|
- node_modules/govuk-frontend/govuk/components/fieldset/_index.scss
|
1526
|
+
- node_modules/govuk-frontend/govuk/components/fieldset/fixtures.json
|
1516
1527
|
- node_modules/govuk-frontend/govuk/components/fieldset/macro-options.json
|
1517
1528
|
- node_modules/govuk-frontend/govuk/components/fieldset/macro.njk
|
1518
1529
|
- node_modules/govuk-frontend/govuk/components/fieldset/template.njk
|
1519
1530
|
- node_modules/govuk-frontend/govuk/components/file-upload/README.md
|
1520
1531
|
- node_modules/govuk-frontend/govuk/components/file-upload/_file-upload.scss
|
1521
1532
|
- node_modules/govuk-frontend/govuk/components/file-upload/_index.scss
|
1533
|
+
- node_modules/govuk-frontend/govuk/components/file-upload/fixtures.json
|
1522
1534
|
- node_modules/govuk-frontend/govuk/components/file-upload/macro-options.json
|
1523
1535
|
- node_modules/govuk-frontend/govuk/components/file-upload/macro.njk
|
1524
1536
|
- node_modules/govuk-frontend/govuk/components/file-upload/template.njk
|
1525
1537
|
- node_modules/govuk-frontend/govuk/components/footer/README.md
|
1526
1538
|
- node_modules/govuk-frontend/govuk/components/footer/_footer.scss
|
1527
1539
|
- node_modules/govuk-frontend/govuk/components/footer/_index.scss
|
1540
|
+
- node_modules/govuk-frontend/govuk/components/footer/fixtures.json
|
1528
1541
|
- node_modules/govuk-frontend/govuk/components/footer/macro-options.json
|
1529
1542
|
- node_modules/govuk-frontend/govuk/components/footer/macro.njk
|
1530
1543
|
- node_modules/govuk-frontend/govuk/components/footer/template.njk
|
1531
1544
|
- node_modules/govuk-frontend/govuk/components/header/README.md
|
1532
1545
|
- node_modules/govuk-frontend/govuk/components/header/_header.scss
|
1533
1546
|
- node_modules/govuk-frontend/govuk/components/header/_index.scss
|
1547
|
+
- node_modules/govuk-frontend/govuk/components/header/fixtures.json
|
1534
1548
|
- node_modules/govuk-frontend/govuk/components/header/header.js
|
1535
1549
|
- node_modules/govuk-frontend/govuk/components/header/macro-options.json
|
1536
1550
|
- node_modules/govuk-frontend/govuk/components/header/macro.njk
|
@@ -1538,42 +1552,49 @@ files:
|
|
1538
1552
|
- node_modules/govuk-frontend/govuk/components/hint/README.md
|
1539
1553
|
- node_modules/govuk-frontend/govuk/components/hint/_hint.scss
|
1540
1554
|
- node_modules/govuk-frontend/govuk/components/hint/_index.scss
|
1555
|
+
- node_modules/govuk-frontend/govuk/components/hint/fixtures.json
|
1541
1556
|
- node_modules/govuk-frontend/govuk/components/hint/macro-options.json
|
1542
1557
|
- node_modules/govuk-frontend/govuk/components/hint/macro.njk
|
1543
1558
|
- node_modules/govuk-frontend/govuk/components/hint/template.njk
|
1544
1559
|
- node_modules/govuk-frontend/govuk/components/input/README.md
|
1545
1560
|
- node_modules/govuk-frontend/govuk/components/input/_index.scss
|
1546
1561
|
- node_modules/govuk-frontend/govuk/components/input/_input.scss
|
1562
|
+
- node_modules/govuk-frontend/govuk/components/input/fixtures.json
|
1547
1563
|
- node_modules/govuk-frontend/govuk/components/input/macro-options.json
|
1548
1564
|
- node_modules/govuk-frontend/govuk/components/input/macro.njk
|
1549
1565
|
- node_modules/govuk-frontend/govuk/components/input/template.njk
|
1550
1566
|
- node_modules/govuk-frontend/govuk/components/inset-text/README.md
|
1551
1567
|
- node_modules/govuk-frontend/govuk/components/inset-text/_index.scss
|
1552
1568
|
- node_modules/govuk-frontend/govuk/components/inset-text/_inset-text.scss
|
1569
|
+
- node_modules/govuk-frontend/govuk/components/inset-text/fixtures.json
|
1553
1570
|
- node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json
|
1554
1571
|
- node_modules/govuk-frontend/govuk/components/inset-text/macro.njk
|
1555
1572
|
- node_modules/govuk-frontend/govuk/components/inset-text/template.njk
|
1556
1573
|
- node_modules/govuk-frontend/govuk/components/label/README.md
|
1557
1574
|
- node_modules/govuk-frontend/govuk/components/label/_index.scss
|
1558
1575
|
- node_modules/govuk-frontend/govuk/components/label/_label.scss
|
1576
|
+
- node_modules/govuk-frontend/govuk/components/label/fixtures.json
|
1559
1577
|
- node_modules/govuk-frontend/govuk/components/label/macro-options.json
|
1560
1578
|
- node_modules/govuk-frontend/govuk/components/label/macro.njk
|
1561
1579
|
- node_modules/govuk-frontend/govuk/components/label/template.njk
|
1562
1580
|
- node_modules/govuk-frontend/govuk/components/panel/README.md
|
1563
1581
|
- node_modules/govuk-frontend/govuk/components/panel/_index.scss
|
1564
1582
|
- node_modules/govuk-frontend/govuk/components/panel/_panel.scss
|
1583
|
+
- node_modules/govuk-frontend/govuk/components/panel/fixtures.json
|
1565
1584
|
- node_modules/govuk-frontend/govuk/components/panel/macro-options.json
|
1566
1585
|
- node_modules/govuk-frontend/govuk/components/panel/macro.njk
|
1567
1586
|
- node_modules/govuk-frontend/govuk/components/panel/template.njk
|
1568
1587
|
- node_modules/govuk-frontend/govuk/components/phase-banner/README.md
|
1569
1588
|
- node_modules/govuk-frontend/govuk/components/phase-banner/_index.scss
|
1570
1589
|
- node_modules/govuk-frontend/govuk/components/phase-banner/_phase-banner.scss
|
1590
|
+
- node_modules/govuk-frontend/govuk/components/phase-banner/fixtures.json
|
1571
1591
|
- node_modules/govuk-frontend/govuk/components/phase-banner/macro-options.json
|
1572
1592
|
- node_modules/govuk-frontend/govuk/components/phase-banner/macro.njk
|
1573
1593
|
- node_modules/govuk-frontend/govuk/components/phase-banner/template.njk
|
1574
1594
|
- node_modules/govuk-frontend/govuk/components/radios/README.md
|
1575
1595
|
- node_modules/govuk-frontend/govuk/components/radios/_index.scss
|
1576
1596
|
- node_modules/govuk-frontend/govuk/components/radios/_radios.scss
|
1597
|
+
- node_modules/govuk-frontend/govuk/components/radios/fixtures.json
|
1577
1598
|
- node_modules/govuk-frontend/govuk/components/radios/macro-options.json
|
1578
1599
|
- node_modules/govuk-frontend/govuk/components/radios/macro.njk
|
1579
1600
|
- node_modules/govuk-frontend/govuk/components/radios/radios.js
|
@@ -1581,30 +1602,35 @@ files:
|
|
1581
1602
|
- node_modules/govuk-frontend/govuk/components/select/README.md
|
1582
1603
|
- node_modules/govuk-frontend/govuk/components/select/_index.scss
|
1583
1604
|
- node_modules/govuk-frontend/govuk/components/select/_select.scss
|
1605
|
+
- node_modules/govuk-frontend/govuk/components/select/fixtures.json
|
1584
1606
|
- node_modules/govuk-frontend/govuk/components/select/macro-options.json
|
1585
1607
|
- node_modules/govuk-frontend/govuk/components/select/macro.njk
|
1586
1608
|
- node_modules/govuk-frontend/govuk/components/select/template.njk
|
1587
1609
|
- node_modules/govuk-frontend/govuk/components/skip-link/README.md
|
1588
1610
|
- node_modules/govuk-frontend/govuk/components/skip-link/_index.scss
|
1589
1611
|
- node_modules/govuk-frontend/govuk/components/skip-link/_skip-link.scss
|
1612
|
+
- node_modules/govuk-frontend/govuk/components/skip-link/fixtures.json
|
1590
1613
|
- node_modules/govuk-frontend/govuk/components/skip-link/macro-options.json
|
1591
1614
|
- node_modules/govuk-frontend/govuk/components/skip-link/macro.njk
|
1592
1615
|
- node_modules/govuk-frontend/govuk/components/skip-link/template.njk
|
1593
1616
|
- node_modules/govuk-frontend/govuk/components/summary-list/README.md
|
1594
1617
|
- node_modules/govuk-frontend/govuk/components/summary-list/_index.scss
|
1595
1618
|
- node_modules/govuk-frontend/govuk/components/summary-list/_summary-list.scss
|
1619
|
+
- node_modules/govuk-frontend/govuk/components/summary-list/fixtures.json
|
1596
1620
|
- node_modules/govuk-frontend/govuk/components/summary-list/macro-options.json
|
1597
1621
|
- node_modules/govuk-frontend/govuk/components/summary-list/macro.njk
|
1598
1622
|
- node_modules/govuk-frontend/govuk/components/summary-list/template.njk
|
1599
1623
|
- node_modules/govuk-frontend/govuk/components/table/README.md
|
1600
1624
|
- node_modules/govuk-frontend/govuk/components/table/_index.scss
|
1601
1625
|
- node_modules/govuk-frontend/govuk/components/table/_table.scss
|
1626
|
+
- node_modules/govuk-frontend/govuk/components/table/fixtures.json
|
1602
1627
|
- node_modules/govuk-frontend/govuk/components/table/macro-options.json
|
1603
1628
|
- node_modules/govuk-frontend/govuk/components/table/macro.njk
|
1604
1629
|
- node_modules/govuk-frontend/govuk/components/table/template.njk
|
1605
1630
|
- node_modules/govuk-frontend/govuk/components/tabs/README.md
|
1606
1631
|
- node_modules/govuk-frontend/govuk/components/tabs/_index.scss
|
1607
1632
|
- node_modules/govuk-frontend/govuk/components/tabs/_tabs.scss
|
1633
|
+
- node_modules/govuk-frontend/govuk/components/tabs/fixtures.json
|
1608
1634
|
- node_modules/govuk-frontend/govuk/components/tabs/macro-options.json
|
1609
1635
|
- node_modules/govuk-frontend/govuk/components/tabs/macro.njk
|
1610
1636
|
- node_modules/govuk-frontend/govuk/components/tabs/tabs.js
|
@@ -1612,18 +1638,21 @@ files:
|
|
1612
1638
|
- node_modules/govuk-frontend/govuk/components/tag/README.md
|
1613
1639
|
- node_modules/govuk-frontend/govuk/components/tag/_index.scss
|
1614
1640
|
- node_modules/govuk-frontend/govuk/components/tag/_tag.scss
|
1641
|
+
- node_modules/govuk-frontend/govuk/components/tag/fixtures.json
|
1615
1642
|
- node_modules/govuk-frontend/govuk/components/tag/macro-options.json
|
1616
1643
|
- node_modules/govuk-frontend/govuk/components/tag/macro.njk
|
1617
1644
|
- node_modules/govuk-frontend/govuk/components/tag/template.njk
|
1618
1645
|
- node_modules/govuk-frontend/govuk/components/textarea/README.md
|
1619
1646
|
- node_modules/govuk-frontend/govuk/components/textarea/_index.scss
|
1620
1647
|
- node_modules/govuk-frontend/govuk/components/textarea/_textarea.scss
|
1648
|
+
- node_modules/govuk-frontend/govuk/components/textarea/fixtures.json
|
1621
1649
|
- node_modules/govuk-frontend/govuk/components/textarea/macro-options.json
|
1622
1650
|
- node_modules/govuk-frontend/govuk/components/textarea/macro.njk
|
1623
1651
|
- node_modules/govuk-frontend/govuk/components/textarea/template.njk
|
1624
1652
|
- node_modules/govuk-frontend/govuk/components/warning-text/README.md
|
1625
1653
|
- node_modules/govuk-frontend/govuk/components/warning-text/_index.scss
|
1626
1654
|
- node_modules/govuk-frontend/govuk/components/warning-text/_warning-text.scss
|
1655
|
+
- node_modules/govuk-frontend/govuk/components/warning-text/fixtures.json
|
1627
1656
|
- node_modules/govuk-frontend/govuk/components/warning-text/macro-options.json
|
1628
1657
|
- node_modules/govuk-frontend/govuk/components/warning-text/macro.njk
|
1629
1658
|
- node_modules/govuk-frontend/govuk/components/warning-text/template.njk
|
@@ -1,50 +0,0 @@
|
|
1
|
-
var analyticsInit = function(linkedDomains) {
|
2
|
-
"use strict";
|
3
|
-
|
4
|
-
var consentCookie = window.GOVUK.getConsentCookie();
|
5
|
-
|
6
|
-
var dummyAnalytics = {
|
7
|
-
addLinkedTrackerDomain: function(){},
|
8
|
-
setDimension: function(){},
|
9
|
-
setOptionsForNextPageView: function(){},
|
10
|
-
trackEvent: function(){},
|
11
|
-
trackPageview: function(){},
|
12
|
-
trackShare: function(){},
|
13
|
-
};
|
14
|
-
|
15
|
-
// Disable analytics by default
|
16
|
-
// This will be reversed below, if the consent cookie says usage cookies are allowed
|
17
|
-
window['ga-disable-UA-26179049-1'] = true;
|
18
|
-
|
19
|
-
if (consentCookie && consentCookie["usage"]) {
|
20
|
-
window['ga-disable-UA-26179049-1'] = false;
|
21
|
-
|
22
|
-
// Load Google Analytics libraries
|
23
|
-
GOVUK.StaticAnalytics.load();
|
24
|
-
|
25
|
-
// Use document.domain in dev, preview and staging so that tracking works
|
26
|
-
// Otherwise explicitly set the domain as www.gov.uk (and not gov.uk).
|
27
|
-
var cookieDomain = (document.domain == 'www.gov.uk') ? '.www.gov.uk' : document.domain;
|
28
|
-
|
29
|
-
var universalId = "UA-26179049-1";
|
30
|
-
var secondaryId = "UA-145652997-1";
|
31
|
-
|
32
|
-
// Configure profiles, setup custom vars, track initial pageview
|
33
|
-
var analytics = new GOVUK.StaticAnalytics({
|
34
|
-
universalId: universalId,
|
35
|
-
cookieDomain: cookieDomain,
|
36
|
-
allowLinker: true
|
37
|
-
});
|
38
|
-
|
39
|
-
// Make interface public for virtual pageviews and events
|
40
|
-
GOVUK.analytics = analytics;
|
41
|
-
|
42
|
-
if (linkedDomains && linkedDomains.length > 0) {
|
43
|
-
GOVUK.analytics.addLinkedTrackerDomain(secondaryId, 'govuk', linkedDomains);
|
44
|
-
}
|
45
|
-
} else {
|
46
|
-
GOVUK.analytics = dummyAnalytics
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
window.GOVUK.analyticsInit = analyticsInit
|