@navikt/ds-css 1.3.29 → 1.3.31

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.
Files changed (3) hide show
  1. package/date.css +10 -0
  2. package/dist/index.css +10 -2
  3. package/package.json +3 -3
package/date.css CHANGED
@@ -176,6 +176,16 @@
176
176
  padding-right: var(--navds-spacing-8);
177
177
  }
178
178
 
179
+ /* Error-handling */
180
+ .navds-date__field--error .navds-date__field-input:not(:hover):not(:disabled) {
181
+ border-color: var(--navds-search-color-border-error);
182
+ box-shadow: inset 0 0 0 1px var(--navds-search-color-border-error);
183
+ }
184
+
185
+ .navds-date__field--error .navds-date__field-input:focus:not(:hover):not(:disabled) {
186
+ box-shadow: inset 0 0 0 1px var(--navds-search-color-border-error), var(--navds-shadow-focus);
187
+ }
188
+
179
189
  .navds-date__field-button {
180
190
  position: absolute;
181
191
  right: var(--navds-spacing-2);