uswds-rails 1.5.0 → 1.6.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/stylesheets/uswds/elements/_inputs.scss +12 -0
- data/app/assets/stylesheets/uswds/uswds.scss +1 -1
- data/lib/uswds/rails/version.rb +1 -1
- data/vendor/assets/stylesheets/uswds/core/_variables.scss +5 -2
- data/vendor/assets/stylesheets/uswds/elements/_inputs.scss +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 996f2906b6efb5624e87a03a115665e2171b83cac3a6b2a550fb4d7c3de2cc1b
|
4
|
+
data.tar.gz: b2f7597e4539639c5ae02c6b1dbcb940c87ef83e1c06a994c5d1cb8df6ae3443
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5dbcba5f8b9beef4c2f403d03b0e1819fe52384207a10dcb1002e57dc038f81116908d5780261a6535f7845198f8a4844261e2789ca94672385ef082a74a486
|
7
|
+
data.tar.gz: 9c61e69c55db1ac1bf79e8ab8cd1d06f805c1cf378a69ba560bfc562207bf427ed029fb7814c377f580057b7c5f0225991b1b7b94ae163ec38fb5a627b932319
|
@@ -86,16 +86,28 @@ select {
|
|
86
86
|
padding-top: 3px;
|
87
87
|
}
|
88
88
|
|
89
|
+
// Deprecated: Some screen readers can't read CSS content.
|
90
|
+
// Will be removed in 2.0.
|
89
91
|
.usa-input-required:after {
|
90
92
|
color: $color-secondary-darkest;
|
91
93
|
content: ' (*required)';
|
92
94
|
}
|
93
95
|
|
96
|
+
// Deprecated: Some screen readers can't read CSS content.
|
97
|
+
// Will be removed in 2.0.
|
94
98
|
.usa-input-optional:after {
|
95
99
|
color: $color-gray-medium;
|
96
100
|
content: ' (optional)';
|
97
101
|
}
|
98
102
|
|
103
|
+
.usa-input-label-helper {
|
104
|
+
color: $color-gray-medium;
|
105
|
+
}
|
106
|
+
|
107
|
+
.usa-input-label-required {
|
108
|
+
color: $color-secondary-darkest;
|
109
|
+
}
|
110
|
+
|
99
111
|
label {
|
100
112
|
display: block;
|
101
113
|
margin-top: 3rem;
|
data/lib/uswds/rails/version.rb
CHANGED
@@ -120,9 +120,12 @@ $small: new-breakpoint(min-width $small-screen $grid-columns-small) !default;
|
|
120
120
|
$medium: new-breakpoint(min-width $medium-screen $grid-columns-medium) !default;
|
121
121
|
$large: new-breakpoint(min-width $large-screen $grid-columns-large) !default;
|
122
122
|
|
123
|
+
// Set the base path for assets (used for font and image paths below)
|
124
|
+
$asset-path: '../' !default;
|
125
|
+
|
123
126
|
// Relative font and image file paths
|
124
|
-
$font-path:
|
125
|
-
$image-path:
|
127
|
+
$font-path: '#{$asset-path}fonts' !default;
|
128
|
+
$image-path: '#{$asset-path}img' !default;
|
126
129
|
|
127
130
|
// Set $asset-pipeline to true if you're using the Rails Asset Pipeline
|
128
131
|
$asset-pipeline: false !default;
|
@@ -86,16 +86,28 @@ select {
|
|
86
86
|
padding-top: 3px;
|
87
87
|
}
|
88
88
|
|
89
|
+
// Deprecated: Some screen readers can't read CSS content.
|
90
|
+
// Will be removed in 2.0.
|
89
91
|
.usa-input-required:after {
|
90
92
|
color: $color-secondary-darkest;
|
91
93
|
content: ' (*required)';
|
92
94
|
}
|
93
95
|
|
96
|
+
// Deprecated: Some screen readers can't read CSS content.
|
97
|
+
// Will be removed in 2.0.
|
94
98
|
.usa-input-optional:after {
|
95
99
|
color: $color-gray-medium;
|
96
100
|
content: ' (optional)';
|
97
101
|
}
|
98
102
|
|
103
|
+
.usa-input-label-helper {
|
104
|
+
color: $color-gray-medium;
|
105
|
+
}
|
106
|
+
|
107
|
+
.usa-input-label-required {
|
108
|
+
color: $color-secondary-darkest;
|
109
|
+
}
|
110
|
+
|
99
111
|
label {
|
100
112
|
display: block;
|
101
113
|
margin-top: 3rem;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uswds-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Garber
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|