@navikt/ds-css 0.16.11 → 0.16.12

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": "@navikt/ds-css",
3
- "version": "0.16.11",
3
+ "version": "0.16.12",
4
4
  "private": false,
5
5
  "description": "Css for NAV Designsystem components",
6
6
  "author": "NAV Designsystem team",
@@ -27,5 +27,5 @@
27
27
  "postcss-cli": "^8.3.1",
28
28
  "postcss-import": "^14.0.2"
29
29
  },
30
- "gitHead": "9ed31d5401c80f45ecd7a13af18f5e622c4781a5"
30
+ "gitHead": "c80cb199a138566285d516e8c2f5aa3993afb20f"
31
31
  }
package/table.css CHANGED
@@ -141,3 +141,80 @@
141
141
  font-size: 1rem;
142
142
  flex-shrink: 0;
143
143
  }
144
+
145
+ .navds-table__expandable-row--open .navds-table__header-cell,
146
+ .navds-table__expandable-row--open .navds-table__data-cell {
147
+ border-color: var(--navds-semantic-color-border-muted);
148
+ }
149
+
150
+ .navds-table__expandable-row--open .navds-table__toggle-expand-cell--open {
151
+ border-color: transparent;
152
+ }
153
+
154
+ .navds-table__toggle-expand-cell {
155
+ padding: 0;
156
+ width: 56px;
157
+ }
158
+
159
+ .navds-table--small .navds-table__toggle-expand-cell {
160
+ padding: 0;
161
+ width: 36px;
162
+ }
163
+
164
+ .navds-table__toggle-expand-button {
165
+ all: unset;
166
+ display: flex;
167
+ align-items: center;
168
+ cursor: pointer;
169
+ padding: var(--navds-spacing-4);
170
+ }
171
+
172
+ .navds-table--small .navds-table__toggle-expand-button {
173
+ padding: var(--navds-spacing-2);
174
+ }
175
+
176
+ .navds-table__toggle-expand-button:focus {
177
+ box-shadow: inset var(--navds-shadow-focus);
178
+ }
179
+
180
+ .navds-table__expandable-icon {
181
+ font-size: 1.5rem;
182
+ }
183
+
184
+ .navds-table--small .navds-table__expandable-icon {
185
+ font-size: 1.25rem;
186
+ }
187
+
188
+ .navds-table__toggle-expand-button:hover .navds-table__expandable-icon,
189
+ .navds-table__expandable-icon--filled {
190
+ display: none;
191
+ }
192
+
193
+ .navds-table__toggle-expand-button:hover .navds-table__expandable-icon--filled {
194
+ display: block;
195
+ }
196
+
197
+ .navds-table__toggle-expand-cell--open .navds-table__expandable-icon {
198
+ transform: rotate(180deg);
199
+ }
200
+
201
+ .navds-table__expanded-row-cell {
202
+ padding: 0;
203
+ }
204
+
205
+ .navds-table__expanded-row-cell:empty {
206
+ display: none;
207
+ }
208
+
209
+ .navds-table__expanded-row-collapse {
210
+ transition: height 250ms cubic-bezier(0.4, 0, 0.2, 1);
211
+ border-bottom: 1px solid var(--navds-table-cell-color-border);
212
+ }
213
+
214
+ .navds-table__expanded-row-content {
215
+ padding: var(--navds-spacing-4) 4.25rem;
216
+ }
217
+
218
+ .navds-table--small .navds-table__expanded-row-content {
219
+ padding: var(--navds-spacing-2) var(--navds-spacing-12);
220
+ }