@navikt/ds-css 1.5.2 → 1.5.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @navikt/ds-css
2
2
 
3
+ ## 1.5.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1709](https://github.com/navikt/Designsystemet/pull/1709) [`77302a30b`](https://github.com/navikt/Designsystemet/commit/77302a30b8eef8dc00b2d2e9c904a3f57da81a11) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Oppdatert ikoner
8
+
9
+ ## 1.5.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Byttet om på alt-farge rekkefølge
14
+
3
15
  ## 1.5.2
4
16
 
5
17
  ### Patch Changes
package/chips.css CHANGED
@@ -38,6 +38,10 @@
38
38
  background-color: var(--ac-chip-toggle-bg, rgb(0 0 0 / 0.055));
39
39
  }
40
40
 
41
+ .navds-chips--small .navds-chips__toggle {
42
+ gap: var(--navds-spacing-1);
43
+ }
44
+
41
45
  .navds-chips__toggle:hover {
42
46
  box-shadow: inset 0 0 0 1px var(--ac-chip-toggle-border-hover, var(--navds-global-color-gray-600));
43
47
  background-color: var(--ac-chip-toggle-bg-hover, rgb(0 0 0 / 0.1));
@@ -73,8 +77,7 @@
73
77
  box-shadow: inset 0 0 0 1px var(--ac-chip-removable-neutral-border, var(--navds-global-color-gray-500));
74
78
  }
75
79
 
76
- .navds-chips__removable-icon,
77
- .navds-chips__toggle-icon {
80
+ .navds-chips__removable-icon {
78
81
  width: 1.5rem;
79
82
  height: 1.5rem;
80
83
  display: grid;
@@ -82,6 +85,19 @@
82
85
  border-radius: var(--navds-border-radius-full);
83
86
  }
84
87
 
88
+ .navds-chips__toggle-icon {
89
+ width: 1.25rem;
90
+ height: 1.25rem;
91
+ display: grid;
92
+ place-items: center;
93
+ border-radius: var(--navds-border-radius-full);
94
+ }
95
+
96
+ .navds-chips--small .navds-chips__toggle-icon {
97
+ width: 1rem;
98
+ height: 1rem;
99
+ }
100
+
85
101
  .navds-chips--small .navds-chips__removable-icon {
86
102
  width: 1.25rem;
87
103
  height: 1.25rem;
@@ -109,7 +125,7 @@
109
125
  }
110
126
 
111
127
  .navds-chips--icon-left {
112
- padding-left: var(--navds-spacing-1);
128
+ padding-left: 0.375rem;
113
129
  }
114
130
 
115
131
  .navds-chips--icon-right {
@@ -121,5 +137,5 @@
121
137
  }
122
138
 
123
139
  .navds-chips--small .navds-chips--icon-left {
124
- padding-left: 0.125rem;
140
+ padding-left: 0.375rem;
125
141
  }