@newjersey/njwds 2.5.0 → 2.6.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newjersey/njwds",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "NJ Web Design Standards",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -5,10 +5,24 @@
5
5
  <label class="usa-label" for="input-focus">Text input focused</label>
6
6
  <input class="usa-input usa-focus" id="input-focus" name="input-focus" type="text">
7
7
 
8
- <div class="usa-form-group usa-form-group--error">
9
- <label class="usa-label usa-label--error" for="input-error">Text input error</label>
10
- <span class="usa-error-message" id="input-error-message" role="alert">Helpful error message</span>
11
- <input class="usa-input usa-input--error" id="input-error" name="input-error" type="text" aria-describedby="input-error-message">
8
+
9
+ <label class="usa-label" for="input-error">
10
+ Text input label
11
+ </label>
12
+ <div class="usa-character-count">
13
+ <input
14
+ class="usa-input usa-input--error"
15
+ id="input-error"
16
+ aria-describedby="input-error-message"
17
+ />
18
+ </div>
19
+ <div class="nj-error-message-container">
20
+ <svg class="usa-icon" focusable="false" aria-hidden="true" role="img">
21
+ <use xlink:href="{{ uswds.path }}/img/sprite.svg#error"></use>
22
+ </svg>
23
+ <span class="usa-error-message" id="input-error-message" role="alert"
24
+ >Helpful error message</span
25
+ >
12
26
  </div>
13
27
 
14
28
  <label class="usa-label" for="input-success">Text input success</label>
@@ -9,7 +9,7 @@
9
9
  <div class="grid-col-auto">
10
10
  <div class="text-white">
11
11
  <ul>
12
- <li>Governor Phil Murphy &bull; Lt. Governor Sheila Oliver</li><li><a
12
+ <li>Governor Phil Murphy &bull; Lt. Governor Tahesha Way</li><li><a
13
13
  href="https://nj.gov/subscribe/" target="_blank"><svg
14
14
  class="usa-icon bottom-neg-2px margin-right-05"
15
15
  aria-hidden="true" focusable="false" role="img">
@@ -76,7 +76,7 @@
76
76
  <li class="usa-identifier__required-links-item">
77
77
  <a href="https://nj.gov/governor/admin/lt/"
78
78
  class="usa-identifier__required-link">
79
- Lt. Governor Sheila Oliver
79
+ Lt. Governor Tahesha Way
80
80
  </a>
81
81
  </li>
82
82
  <li class="usa-identifier__required-links-item">