govuk_tech_docs 1.8.3 → 1.9.0.pre.gfe

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.
@@ -0,0 +1,37 @@
1
+ {
2
+ "private": true,
3
+ "name": "tech-docs-gem",
4
+ "license": "MIT",
5
+ "scripts": {
6
+ "lint": "standard"
7
+ },
8
+ "dependencies": {
9
+ "govuk-frontend": "3.0.0"
10
+ },
11
+ "devDependencies": {
12
+ "standard": "^13.0.2"
13
+ },
14
+ "standard": {
15
+ "globals": [
16
+ "describe",
17
+ "before",
18
+ "after",
19
+ "beforeEach",
20
+ "afterEach",
21
+ "it",
22
+ "assert",
23
+ "expect",
24
+ "GOVUK",
25
+ "lunr",
26
+ "$",
27
+ "jQuery",
28
+ "_",
29
+ "Modernizr",
30
+ "history",
31
+ "ga"
32
+ ],
33
+ "ignore": [
34
+ "lib/assets/javascripts/_vendor/**"
35
+ ]
36
+ }
37
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_tech_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.3
4
+ version: 1.9.0.pre.gfe
5
5
  platform: ruby
6
6
  authors:
7
7
  - Government Digital Service
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-13 00:00:00.000000000 Z
11
+ date: 2019-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -300,6 +300,7 @@ extra_rdoc_files: []
300
300
  files:
301
301
  - ".editorconfig"
302
302
  - ".gitignore"
303
+ - ".nvmrc"
303
304
  - ".rspec"
304
305
  - ".rubocop.yml"
305
306
  - ".ruby-version"
@@ -388,12 +389,10 @@ files:
388
389
  - lib/assets/stylesheets/modules/_govuk-logo.scss
389
390
  - lib/assets/stylesheets/modules/_header.scss
390
391
  - lib/assets/stylesheets/modules/_page-review.scss
391
- - lib/assets/stylesheets/modules/_phase-banner.scss
392
392
  - lib/assets/stylesheets/modules/_search.scss
393
393
  - lib/assets/stylesheets/modules/_skip-link.scss
394
394
  - lib/assets/stylesheets/modules/_technical-documentation.scss
395
395
  - lib/assets/stylesheets/modules/_toc.scss
396
- - lib/assets/stylesheets/modules/_warning-text.scss
397
396
  - lib/assets/stylesheets/palette/_syntax-highlighting.scss
398
397
  - lib/assets/stylesheets/utilities/_fonts.scss
399
398
  - lib/assets/stylesheets/utilities/_printable.scss
@@ -446,6 +445,8 @@ files:
446
445
  - lib/source/layouts/_search.erb
447
446
  - lib/source/layouts/core.erb
448
447
  - lib/source/layouts/layout.erb
448
+ - package-lock.json
449
+ - package.json
449
450
  homepage: https://github.com/alphagov/tech-docs-gem
450
451
  licenses:
451
452
  - MIT
@@ -461,12 +462,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
461
462
  version: '0'
462
463
  required_rubygems_version: !ruby/object:Gem::Requirement
463
464
  requirements:
464
- - - ">="
465
+ - - ">"
465
466
  - !ruby/object:Gem::Version
466
- version: '0'
467
+ version: 1.3.1
467
468
  requirements: []
468
469
  rubyforge_project:
469
- rubygems_version: 2.7.7
470
+ rubygems_version: 2.6.13
470
471
  signing_key:
471
472
  specification_version: 4
472
473
  summary: Gem to distribute the GOV.UK Tech Docs Template
@@ -1,22 +0,0 @@
1
- /**
2
- * Phase Banner Component
3
- *
4
- * Example Usage:
5
- *
6
- * <span class="header__title">
7
- * My Product <span class="phase-banner">Beta</span>
8
- * </span>
9
- */
10
-
11
- .phase-banner {
12
- @include bold-14;
13
- padding: 2px 5px 0;
14
- text-transform: uppercase;
15
- letter-spacing: 1px;
16
- vertical-align: middle;
17
-
18
- @include screen {
19
- background: $govuk-blue;
20
- color: $white;
21
- }
22
- }
@@ -1,73 +0,0 @@
1
- .govuk-warning-text {
2
- font-family: nta,Arial,sans-serif;
3
- -webkit-font-smoothing: antialiased;
4
- -moz-osx-font-smoothing: grayscale;
5
- font-weight: 400;
6
- font-size: 16px;
7
- font-size: 1rem;
8
- line-height: 1.25;
9
- color: #0b0c0c;
10
- position: relative;
11
- margin-bottom: 20px;
12
- padding: 10px 0; }
13
-
14
- @media print {
15
- .govuk-warning-text {
16
- font-family: sans-serif; } }
17
- @media (min-width: 40.0625em) {
18
- .govuk-warning-text {
19
- font-size: 19px;
20
- font-size: 1.1875rem;
21
- line-height: 1.31579; } }
22
- @media print {
23
- .govuk-warning-text {
24
- font-size: 14pt;
25
- line-height: 1.15;
26
- color: #000; } }
27
- @media (min-width: 40.0625em) {
28
- .govuk-warning-text {
29
- margin-bottom: 30px; } }
30
- .govuk-warning-text__assistive {
31
- position: absolute !important;
32
- width: 1px !important;
33
- height: 1px !important;
34
- margin: 0 !important;
35
- padding: 0 !important;
36
- overflow: hidden !important;
37
- clip: rect(0 0 0 0) !important;
38
- -webkit-clip-path: inset(50%) !important;
39
- clip-path: inset(50%) !important;
40
- border: 0 !important;
41
- white-space: nowrap !important; }
42
-
43
- .govuk-warning-text__icon {
44
- font-family: nta,Arial,sans-serif;
45
- -webkit-font-smoothing: antialiased;
46
- -moz-osx-font-smoothing: grayscale;
47
- font-weight: 700;
48
- display: inline-block;
49
- position: absolute;
50
- top: 50%;
51
- left: 0;
52
- min-width: 32px;
53
- min-height: 29px;
54
- margin-top: -20px;
55
- padding-top: 3px;
56
- border: 3px solid #0b0c0c;
57
- border-radius: 50%;
58
- color: #fff;
59
- background: #0b0c0c;
60
- font-size: 1.6em;
61
- line-height: 29px;
62
- text-align: center;
63
- -webkit-user-select: none;
64
- -moz-user-select: none;
65
- -ms-user-select: none;
66
- user-select: none; }
67
-
68
- @media print {
69
- .govuk-warning-text__icon {
70
- font-family: sans-serif; } }
71
- .govuk-warning-text__text {
72
- display: block;
73
- padding-left: 50px; }