uswds-rails 1.6.7 → 1.6.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/uswds/elements/_inputs.scss +67 -53
- data/lib/uswds/rails/version.rb +1 -1
- data/uswds-rails.gemspec +6 -6
- data/vendor/assets/javascripts/uswds/uswds.js +4 -4
- data/vendor/assets/stylesheets/uswds/components/_header.scss +0 -1
- data/vendor/assets/stylesheets/uswds/elements/_inputs.scss +67 -53
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba1e16d767a100ab3a6199be995677dac00eeeb289dab5041df8581dec236afc
|
4
|
+
data.tar.gz: 24fb4de5b7aed906502552ed0e24b6a74bb49c1002c3a0c1b79eccbcc89ebbe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42634d8fade3ee781d8c20ae1656c1164a9602f87ca91f46c27ef96f14f1706825d463c76d9c5dbb4ee8cf2d286afed58f4e4398938b75d38cb74f4a96acfdcc
|
7
|
+
data.tar.gz: 1cfc86f2c544ddd355f5bd75d81af914f26da179bd83f7137395c72df74b587184b61b80d814a6038c9dd72cc7cb5c604861a80e62de8ede93c7e3e139543c85
|
@@ -263,76 +263,90 @@ legend {
|
|
263
263
|
|
264
264
|
// Range inputs
|
265
265
|
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
padding-left: 0;
|
270
|
-
width: 100%;
|
271
|
-
}
|
272
|
-
|
273
|
-
[type=range]::-webkit-slider-runnable-track {
|
274
|
-
background: $color-gray-light;
|
275
|
-
border: 1px solid $color-gray-medium;
|
276
|
-
cursor: pointer;
|
277
|
-
height: 1.2rem;
|
278
|
-
width: 100%;
|
266
|
+
// Change to $color-focus in 2.0
|
267
|
+
@mixin range-focus {
|
268
|
+
box-shadow: 0 0 0 2px $color-primary;
|
279
269
|
}
|
280
270
|
|
281
|
-
|
282
|
-
background: $color-
|
271
|
+
@mixin range-track {
|
272
|
+
background: $color-gray-lighter;
|
283
273
|
border: 1px solid $color-gray-medium;
|
284
274
|
cursor: pointer;
|
285
|
-
height: 1.
|
286
|
-
width: 100%;
|
287
|
-
}
|
288
|
-
|
289
|
-
[type=range]::-ms-track {
|
290
|
-
background: transparent;
|
291
|
-
color: transparent;
|
292
|
-
cursor: pointer;
|
293
|
-
height: 1.2rem;
|
275
|
+
height: 1.6rem;
|
294
276
|
width: 100%;
|
295
277
|
}
|
296
278
|
|
297
|
-
|
298
|
-
-webkit-appearance: none;
|
299
|
-
border: 1px solid $color-gray-medium;
|
300
|
-
height: 2.2rem;
|
301
|
-
border-radius: 1.5rem;
|
302
|
-
background: $color-gray-lightest;
|
303
|
-
cursor: pointer;
|
304
|
-
margin-top: -.65rem;
|
305
|
-
width: 2.2rem;
|
306
|
-
}
|
307
|
-
|
308
|
-
[type=range]::-moz-range-thumb {
|
279
|
+
@mixin range-thumb {
|
309
280
|
background: $color-gray-lightest;
|
310
|
-
|
311
|
-
border-radius: 1.5rem;
|
312
|
-
cursor: pointer;
|
313
|
-
height: 2.2rem;
|
314
|
-
width: 2.2rem;
|
315
|
-
}
|
316
|
-
|
317
|
-
[type=range]::-ms-thumb {
|
318
|
-
background: $color-gray-lightest;
|
319
|
-
border: 1px solid $color-gray-medium;
|
281
|
+
box-shadow: 0 0 0 1px $color-gray-medium;
|
320
282
|
border-radius: 1.5rem;
|
321
283
|
cursor: pointer;
|
322
|
-
height: 2.
|
323
|
-
width: 2.
|
284
|
+
height: 2.5rem;
|
285
|
+
width: 2.5rem;
|
324
286
|
}
|
325
287
|
|
326
|
-
|
288
|
+
@mixin range-ms-fill {
|
327
289
|
background: $color-gray-light;
|
328
290
|
border: 1px solid $color-gray-medium;
|
329
291
|
border-radius: 2rem;
|
330
292
|
}
|
331
293
|
|
332
|
-
[type=range]
|
333
|
-
|
334
|
-
border:
|
335
|
-
|
294
|
+
[type=range] {
|
295
|
+
appearance: none;
|
296
|
+
border: none;
|
297
|
+
padding-left: 0;
|
298
|
+
overflow: hidden;
|
299
|
+
width: 100%;
|
300
|
+
|
301
|
+
&:focus {
|
302
|
+
outline: none;
|
303
|
+
|
304
|
+
&::-webkit-slider-thumb {
|
305
|
+
@include range-focus;
|
306
|
+
}
|
307
|
+
|
308
|
+
&::-moz-range-thumb {
|
309
|
+
@include range-focus;
|
310
|
+
}
|
311
|
+
|
312
|
+
&::-ms-thumb {
|
313
|
+
@include range-focus;
|
314
|
+
}
|
315
|
+
}
|
316
|
+
|
317
|
+
&::-webkit-slider-runnable-track {
|
318
|
+
@include range-track;
|
319
|
+
}
|
320
|
+
|
321
|
+
&::-moz-range-track {
|
322
|
+
@include range-track;
|
323
|
+
}
|
324
|
+
|
325
|
+
&::-ms-track {
|
326
|
+
@include range-track;
|
327
|
+
}
|
328
|
+
|
329
|
+
&::-webkit-slider-thumb {
|
330
|
+
@include range-thumb;
|
331
|
+
appearance: none;
|
332
|
+
margin-top: -0.6rem;
|
333
|
+
}
|
334
|
+
|
335
|
+
&::-moz-range-thumb {
|
336
|
+
@include range-thumb;
|
337
|
+
}
|
338
|
+
|
339
|
+
&::-ms-thumb {
|
340
|
+
@include range-thumb;
|
341
|
+
}
|
342
|
+
|
343
|
+
&::-ms-fill-lower {
|
344
|
+
@include range-ms-fill;
|
345
|
+
}
|
346
|
+
|
347
|
+
&::-ms-fill-upper {
|
348
|
+
@include range-ms-fill;
|
349
|
+
}
|
336
350
|
}
|
337
351
|
|
338
352
|
// File input type
|
data/lib/uswds/rails/version.rb
CHANGED
data/uswds-rails.gemspec
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
lib = File.expand_path('
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
3
|
|
4
4
|
require 'uswds/rails/version'
|
@@ -19,12 +19,12 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin|spec)/}) }
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
-
spec.add_development_dependency 'bundler', '~> 1.16'
|
23
|
-
spec.add_development_dependency 'rails', '~> 5.
|
22
|
+
spec.add_development_dependency 'bundler', '~> 1.16', '>= 1.16.3'
|
23
|
+
spec.add_development_dependency 'rails', '~> 5.2'
|
24
24
|
spec.add_development_dependency 'rails-controller-testing', '~> 1.0', '>= 1.0.2'
|
25
|
-
spec.add_development_dependency 'rake', '~> 12.3'
|
26
|
-
spec.add_development_dependency 'rspec-rails', '~> 3.
|
27
|
-
spec.add_development_dependency 'rubocop', '~> 0.58.
|
25
|
+
spec.add_development_dependency 'rake', '~> 12.3', '>= 12.3.1'
|
26
|
+
spec.add_development_dependency 'rspec-rails', '~> 3.8'
|
27
|
+
spec.add_development_dependency 'rubocop', '~> 0.58.2'
|
28
28
|
spec.add_development_dependency 'sass-rails', '~> 5.0', '>= 5.0.7'
|
29
29
|
spec.add_development_dependency 'simplecov-console', '~> 0.4.2'
|
30
30
|
|
@@ -1882,9 +1882,9 @@ uswds.components = components;
|
|
1882
1882
|
|
1883
1883
|
domready(function () {
|
1884
1884
|
var target = document.body;
|
1885
|
-
|
1886
|
-
|
1887
|
-
|
1885
|
+
Object.keys(components).forEach(function (key) {
|
1886
|
+
var behavior = components[key];
|
1887
|
+
behavior.on(target);
|
1888
1888
|
});
|
1889
1889
|
});
|
1890
1890
|
|
@@ -2211,4 +2211,4 @@ module.exports = function validate(el) {
|
|
2211
2211
|
};
|
2212
2212
|
|
2213
2213
|
},{"../config":28,"elem-dataset":5}]},{},[32])
|
2214
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJub2RlX21vZHVsZXMvYXJyY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@ -263,76 +263,90 @@ legend {
|
|
263
263
|
|
264
264
|
// Range inputs
|
265
265
|
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
padding-left: 0;
|
270
|
-
width: 100%;
|
271
|
-
}
|
272
|
-
|
273
|
-
[type=range]::-webkit-slider-runnable-track {
|
274
|
-
background: $color-gray-light;
|
275
|
-
border: 1px solid $color-gray-medium;
|
276
|
-
cursor: pointer;
|
277
|
-
height: 1.2rem;
|
278
|
-
width: 100%;
|
266
|
+
// Change to $color-focus in 2.0
|
267
|
+
@mixin range-focus {
|
268
|
+
box-shadow: 0 0 0 2px $color-primary;
|
279
269
|
}
|
280
270
|
|
281
|
-
|
282
|
-
background: $color-
|
271
|
+
@mixin range-track {
|
272
|
+
background: $color-gray-lighter;
|
283
273
|
border: 1px solid $color-gray-medium;
|
284
274
|
cursor: pointer;
|
285
|
-
height: 1.
|
286
|
-
width: 100%;
|
287
|
-
}
|
288
|
-
|
289
|
-
[type=range]::-ms-track {
|
290
|
-
background: transparent;
|
291
|
-
color: transparent;
|
292
|
-
cursor: pointer;
|
293
|
-
height: 1.2rem;
|
275
|
+
height: 1.6rem;
|
294
276
|
width: 100%;
|
295
277
|
}
|
296
278
|
|
297
|
-
|
298
|
-
-webkit-appearance: none;
|
299
|
-
border: 1px solid $color-gray-medium;
|
300
|
-
height: 2.2rem;
|
301
|
-
border-radius: 1.5rem;
|
302
|
-
background: $color-gray-lightest;
|
303
|
-
cursor: pointer;
|
304
|
-
margin-top: -.65rem;
|
305
|
-
width: 2.2rem;
|
306
|
-
}
|
307
|
-
|
308
|
-
[type=range]::-moz-range-thumb {
|
279
|
+
@mixin range-thumb {
|
309
280
|
background: $color-gray-lightest;
|
310
|
-
|
311
|
-
border-radius: 1.5rem;
|
312
|
-
cursor: pointer;
|
313
|
-
height: 2.2rem;
|
314
|
-
width: 2.2rem;
|
315
|
-
}
|
316
|
-
|
317
|
-
[type=range]::-ms-thumb {
|
318
|
-
background: $color-gray-lightest;
|
319
|
-
border: 1px solid $color-gray-medium;
|
281
|
+
box-shadow: 0 0 0 1px $color-gray-medium;
|
320
282
|
border-radius: 1.5rem;
|
321
283
|
cursor: pointer;
|
322
|
-
height: 2.
|
323
|
-
width: 2.
|
284
|
+
height: 2.5rem;
|
285
|
+
width: 2.5rem;
|
324
286
|
}
|
325
287
|
|
326
|
-
|
288
|
+
@mixin range-ms-fill {
|
327
289
|
background: $color-gray-light;
|
328
290
|
border: 1px solid $color-gray-medium;
|
329
291
|
border-radius: 2rem;
|
330
292
|
}
|
331
293
|
|
332
|
-
[type=range]
|
333
|
-
|
334
|
-
border:
|
335
|
-
|
294
|
+
[type=range] {
|
295
|
+
appearance: none;
|
296
|
+
border: none;
|
297
|
+
padding-left: 0;
|
298
|
+
overflow: hidden;
|
299
|
+
width: 100%;
|
300
|
+
|
301
|
+
&:focus {
|
302
|
+
outline: none;
|
303
|
+
|
304
|
+
&::-webkit-slider-thumb {
|
305
|
+
@include range-focus;
|
306
|
+
}
|
307
|
+
|
308
|
+
&::-moz-range-thumb {
|
309
|
+
@include range-focus;
|
310
|
+
}
|
311
|
+
|
312
|
+
&::-ms-thumb {
|
313
|
+
@include range-focus;
|
314
|
+
}
|
315
|
+
}
|
316
|
+
|
317
|
+
&::-webkit-slider-runnable-track {
|
318
|
+
@include range-track;
|
319
|
+
}
|
320
|
+
|
321
|
+
&::-moz-range-track {
|
322
|
+
@include range-track;
|
323
|
+
}
|
324
|
+
|
325
|
+
&::-ms-track {
|
326
|
+
@include range-track;
|
327
|
+
}
|
328
|
+
|
329
|
+
&::-webkit-slider-thumb {
|
330
|
+
@include range-thumb;
|
331
|
+
appearance: none;
|
332
|
+
margin-top: -0.6rem;
|
333
|
+
}
|
334
|
+
|
335
|
+
&::-moz-range-thumb {
|
336
|
+
@include range-thumb;
|
337
|
+
}
|
338
|
+
|
339
|
+
&::-ms-thumb {
|
340
|
+
@include range-thumb;
|
341
|
+
}
|
342
|
+
|
343
|
+
&::-ms-fill-lower {
|
344
|
+
@include range-ms-fill;
|
345
|
+
}
|
346
|
+
|
347
|
+
&::-ms-fill-upper {
|
348
|
+
@include range-ms-fill;
|
349
|
+
}
|
336
350
|
}
|
337
351
|
|
338
352
|
// File input type
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uswds-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Garber
|
@@ -17,6 +17,9 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.16'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.16.3
|
20
23
|
type: :development
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -24,26 +27,23 @@ dependencies:
|
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '1.16'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.16.3
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rails
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: '5.
|
34
|
-
- - ">="
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 5.1.4
|
39
|
+
version: '5.2'
|
37
40
|
type: :development
|
38
41
|
prerelease: false
|
39
42
|
version_requirements: !ruby/object:Gem::Requirement
|
40
43
|
requirements:
|
41
44
|
- - "~>"
|
42
45
|
- !ruby/object:Gem::Version
|
43
|
-
version: '5.
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 5.1.4
|
46
|
+
version: '5.2'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rails-controller-testing
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,6 +71,9 @@ dependencies:
|
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
73
|
version: '12.3'
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 12.3.1
|
74
77
|
type: :development
|
75
78
|
prerelease: false
|
76
79
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -78,40 +81,37 @@ dependencies:
|
|
78
81
|
- - "~>"
|
79
82
|
- !ruby/object:Gem::Version
|
80
83
|
version: '12.3'
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 12.3.1
|
81
87
|
- !ruby/object:Gem::Dependency
|
82
88
|
name: rspec-rails
|
83
89
|
requirement: !ruby/object:Gem::Requirement
|
84
90
|
requirements:
|
85
91
|
- - "~>"
|
86
92
|
- !ruby/object:Gem::Version
|
87
|
-
version: '3.
|
88
|
-
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: 3.7.2
|
93
|
+
version: '3.8'
|
91
94
|
type: :development
|
92
95
|
prerelease: false
|
93
96
|
version_requirements: !ruby/object:Gem::Requirement
|
94
97
|
requirements:
|
95
98
|
- - "~>"
|
96
99
|
- !ruby/object:Gem::Version
|
97
|
-
version: '3.
|
98
|
-
- - ">="
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 3.7.2
|
100
|
+
version: '3.8'
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: rubocop
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
104
104
|
requirements:
|
105
105
|
- - "~>"
|
106
106
|
- !ruby/object:Gem::Version
|
107
|
-
version: 0.58.
|
107
|
+
version: 0.58.2
|
108
108
|
type: :development
|
109
109
|
prerelease: false
|
110
110
|
version_requirements: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
112
|
- - "~>"
|
113
113
|
- !ruby/object:Gem::Version
|
114
|
-
version: 0.58.
|
114
|
+
version: 0.58.2
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
116
|
name: sass-rails
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|