pugin 1.10.1 → 1.10.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d316e8e90686aa9a6117a3cad7854e1906f965f2
4
- data.tar.gz: 26abc6300582ba5db10f955b45111b108b902673
3
+ metadata.gz: 3821098aad2b72659543b19745da997495da10d2
4
+ data.tar.gz: e2f6cbf55e31eecff857505845ead2300a93e772
5
5
  SHA512:
6
- metadata.gz: 80b207493591f8ce62010334c5429b2bf5ccf621ebb39035a9daab45d77b71025d373730e486e9b8b402b177b10d397e81b0493fe0ca3fffd5abde19943fe3b7
7
- data.tar.gz: 4a035bcd5289af07507a12cb2339f9ae373d75a060c54b68308cc9cd25ec7e4e55e5b152f0d7345c8801cdcc3f87b3d31c9867f08c230075e47f118ff49eca6e
6
+ metadata.gz: f0c7307aa434b320c73c937e79c289db120625b53a92ec8057e8c8a7e5487a8165e142e02e69018b266ce18514f52b0bf080c81d7768dedd49f6c44dd3dad2d7
7
+ data.tar.gz: 88c811d77b8dd4fe7a1f5070615731de8c987e9a28c91214079df43fa104478ad70a3f6ccf8f550f136ef43b1f93ef147d527ed89149e09b77f2d4973ad62690
@@ -1,10 +1,9 @@
1
- .search__global
2
- %form{ action: '/search', method: 'get'}
3
- .input-group
4
- %label.sr-only{ for: 'search_global' } Enter a keyword
5
- %input{ type: 'search', name: 'q', value: @query_parameter, id: 'search_global', maxlength: '1000', pattern: '^(?!.*<script|<Script).*$', required: '' }
6
- %button{ class: 'btn--white', tabindex: '-1', type: 'submit', aria: { label: 'submit search'}, data: { tracking: 'search' } }
7
- = render partial: 'pugin/icons/search'
8
- %a{ href: '/search', class: 'search__global__toggle', aria: { label: 'open search' } }
9
- = render partial: 'pugin/icons/search'
10
- = render partial: 'pugin/icons/close'
1
+ %form{ action: '/search', method: 'get'}
2
+ .input-group
3
+ %label.sr-only{ for: 'search_global' } Enter a keyword
4
+ %input{ type: 'search', name: 'q', value: @query_parameter, id: 'search_global', autocomplete: 'off', maxlength: '1000', pattern: '^(?!.*<script|<Script).*$', required: '' }
5
+ %button{ class: 'btn--white', tabindex: '-1', type: 'submit', aria: { label: 'submit search' } }
6
+ = render partial: 'pugin/icons/search'
7
+ %a{ href: '/search', class: 'btn--toggle', aria: { label: 'open search' } }
8
+ = render partial: 'pugin/icons/search'
9
+ = render partial: 'pugin/icons/close'
@@ -1,5 +1,5 @@
1
1
  %svg{ width: '20', height: '20', viewbox: '0 0 20 20', xmlns: 'http://www.w3.org/2000/svg', aria: { hidden: 'true' }, data: { icon: 'close' } }
2
- %title Cross
2
+ %title Close
3
3
  %g{ stroke: '#fff' }
4
4
  %g
5
5
  %line{ stroke: { width: '2' }, x1: '0', x2: '18', y1: '0', y2: '18' }
data/lib/pugin/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pugin
2
- VERSION = '1.10.1'.freeze
2
+ VERSION = '1.10.2'.freeze
3
3
  end
@@ -24,12 +24,11 @@
24
24
  </svg>
25
25
 
26
26
  </a>
27
- <div class='search__global'>
28
27
  <form action='/search' method='get'>
29
28
  <div class='input-group'>
30
29
  <label class='sr-only' for='search_global'>Enter a keyword</label>
31
- <input id='search_global' maxlength='1000' name='q' pattern='^(?!.*&lt;script|&lt;Script).*$' required='' type='search'>
32
- <button aria-label='submit search' class='btn--white' data-tracking='search' tabindex='-1' type='submit'>
30
+ <input autocomplete='off' id='search_global' maxlength='1000' name='q' pattern='^(?!.*&lt;script|&lt;Script).*$' required='' type='search'>
31
+ <button aria-label='submit search' class='btn--white' tabindex='-1' type='submit'>
33
32
  <svg aria-hidden='true' data-icon='search' height='20' viewbox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'>
34
33
  <title>Search icon</title>
35
34
  <g fill='#fff'>
@@ -41,7 +40,7 @@
41
40
  </button>
42
41
  </div>
43
42
  </form>
44
- <a aria-label='open search' class='search__global__toggle' href='/search'>
43
+ <a aria-label='open search' class='btn--toggle' href='/search'>
45
44
  <svg aria-hidden='true' data-icon='search' height='20' viewbox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'>
46
45
  <title>Search icon</title>
47
46
  <g fill='#fff'>
@@ -51,7 +50,7 @@
51
50
  </svg>
52
51
 
53
52
  <svg aria-hidden='true' data-icon='close' height='20' viewbox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'>
54
- <title>Cross</title>
53
+ <title>Close</title>
55
54
  <g stroke='#fff'>
56
55
  <g>
57
56
  <line stroke-width='2' x1='0' x2='18' y1='0' y2='18'></line>
@@ -63,7 +62,6 @@
63
62
  </svg>
64
63
 
65
64
  </a>
66
- </div>
67
65
 
68
66
  </div>
69
67
  </header>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.1
4
+ version: 1.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Rayner