@navikt/ds-css 5.12.5 → 5.14.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.
Files changed (54) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/accordion.css +11 -3
  3. package/button.css +58 -26
  4. package/chips.css +12 -4
  5. package/date.css +12 -4
  6. package/dist/component/accordion.css +11 -3
  7. package/dist/component/button.css +58 -26
  8. package/dist/component/chips.css +12 -4
  9. package/dist/component/date.css +12 -4
  10. package/dist/component/date.min.css +1 -1
  11. package/dist/component/expansioncard.css +6 -2
  12. package/dist/component/form.css +101 -42
  13. package/dist/component/form.min.css +1 -1
  14. package/dist/component/grid.min.css +1 -1
  15. package/dist/component/helptext.css +6 -2
  16. package/dist/component/helptext.min.css +1 -1
  17. package/dist/component/index.css +293 -113
  18. package/dist/component/index.min.css +3 -3
  19. package/dist/component/internalheader.min.css +1 -1
  20. package/dist/component/loader.min.css +1 -1
  21. package/dist/component/pagination.css +6 -2
  22. package/dist/component/primitives.css +11 -2
  23. package/dist/component/primitives.min.css +1 -1
  24. package/dist/component/table.css +3 -3
  25. package/dist/component/table.min.css +1 -1
  26. package/dist/component/tabs.min.css +1 -1
  27. package/dist/component/tag.css +18 -0
  28. package/dist/component/tag.min.css +1 -1
  29. package/dist/component/timeline.css +34 -16
  30. package/dist/component/timeline.min.css +1 -1
  31. package/dist/component/togglegroup.css +16 -6
  32. package/dist/component/typography.min.css +1 -1
  33. package/dist/components.css +294 -112
  34. package/dist/components.min.css +2 -2
  35. package/dist/global/baseline.min.css +1 -1
  36. package/dist/global/reset.min.css +1 -1
  37. package/dist/global/tokens.css +2 -1
  38. package/dist/global/tokens.min.css +1 -1
  39. package/dist/index.css +293 -113
  40. package/dist/index.min.css +3 -3
  41. package/expansioncard.css +6 -2
  42. package/form/combobox.css +21 -7
  43. package/form/radio-checkbox.css +46 -19
  44. package/form/search.css +22 -12
  45. package/form/switch.css +6 -2
  46. package/form/text-field.css +6 -2
  47. package/help-text.css +6 -2
  48. package/package.json +2 -2
  49. package/pagination.css +6 -2
  50. package/primitives/page.css +11 -2
  51. package/table.css +3 -3
  52. package/tag.css +18 -0
  53. package/timeline.css +34 -16
  54. package/toggle-group.css +16 -6
package/toggle-group.css CHANGED
@@ -66,34 +66,44 @@
66
66
 
67
67
  .navds-toggle-group__button:focus-visible {
68
68
  outline: none;
69
- box-shadow: 0 0 0 1px var(--a-surface-default), 0 0 0 4px var(--a-border-focus);
69
+ box-shadow:
70
+ 0 0 0 1px var(--a-surface-default),
71
+ 0 0 0 4px var(--a-border-focus);
70
72
  }
71
73
 
72
74
  @supports not selector(:focus-visible) {
73
75
  .navds-toggle-group__button:focus {
74
76
  outline: none;
75
- box-shadow: 0 0 0 1px var(--a-surface-default), 0 0 0 4px var(--a-border-focus);
77
+ box-shadow:
78
+ 0 0 0 1px var(--a-surface-default),
79
+ 0 0 0 4px var(--a-border-focus);
76
80
  }
77
81
  }
78
82
 
79
83
  .navds-toggle-group__button:focus-visible:hover[aria-pressed="false"] {
80
- box-shadow: 0 0 0 1px var(--ac-toggle-group-button-hover-bg, var(--a-surface-action-subtle)), 0 0 0 4px var(--a-border-focus);
84
+ box-shadow:
85
+ 0 0 0 1px var(--ac-toggle-group-button-hover-bg, var(--a-surface-action-subtle)),
86
+ 0 0 0 4px var(--a-border-focus);
81
87
  }
82
88
 
83
89
  @supports not selector(:focus-visible) {
84
90
  .navds-toggle-group__button:focus:hover[aria-pressed="false"] {
85
- box-shadow: 0 0 0 1px var(--ac-toggle-group-button-hover-bg, var(--a-surface-action-subtle)), 0 0 0 4px var(--a-border-focus);
91
+ box-shadow:
92
+ 0 0 0 1px var(--ac-toggle-group-button-hover-bg, var(--a-surface-action-subtle)),
93
+ 0 0 0 4px var(--a-border-focus);
86
94
  }
87
95
  }
88
96
 
89
97
  .navds-toggle-group--neutral > .navds-toggle-group__button:focus:hover[aria-pressed="false"] {
90
- box-shadow: 0 0 0 1px var(--ac-toggle-group-button-neutral-hover-bg, var(--a-surface-neutral-subtle-hover)),
98
+ box-shadow:
99
+ 0 0 0 1px var(--ac-toggle-group-button-neutral-hover-bg, var(--a-surface-neutral-subtle-hover)),
91
100
  0 0 0 4px var(--a-border-focus);
92
101
  }
93
102
 
94
103
  @supports not selector(:focus-visible) {
95
104
  .navds-toggle-group--neutral > .navds-toggle-group__button:focus-visible:hover[aria-pressed="false"] {
96
- box-shadow: 0 0 0 1px var(--ac-toggle-group-button-neutral-hover-bg, var(--a-surface-neutral-subtle-hover)),
105
+ box-shadow:
106
+ 0 0 0 1px var(--ac-toggle-group-button-neutral-hover-bg, var(--a-surface-neutral-subtle-hover)),
97
107
  0 0 0 4px var(--a-border-focus);
98
108
  }
99
109
  }