@dbcdk/react-components 0.0.184 → 0.0.185

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.
@@ -199,26 +199,26 @@
199
199
  overflow: hidden;
200
200
  }
201
201
 
202
- .filled .tabList {
202
+ .filled > .tabList {
203
203
  border-block-end: 1px solid var(--color-border-subtle);
204
204
  background: var(--color-bg-toolbar);
205
205
  inline-size: 100%;
206
206
  }
207
207
 
208
- .filled .tabButtons {
208
+ .filled > .tabList > .tabButtons {
209
209
  display: flex;
210
210
  }
211
211
 
212
- .filled .addTabButton {
212
+ .filled > .tabList > .addTabButton {
213
213
  border: 1px solid transparent;
214
214
  border-block-end: 0;
215
215
  }
216
216
 
217
- .filled .addTabButton:hover {
217
+ .filled > .tabList > .addTabButton:hover {
218
218
  background: var(--color-bg-toolbar-hover);
219
219
  }
220
220
 
221
- .filled .tab {
221
+ .filled > .tabList > .tabButtons > .tab {
222
222
  border: 1px solid transparent;
223
223
  border-block-end: 0;
224
224
  color: var(--color-fg-muted);
@@ -229,14 +229,14 @@
229
229
  border-color var(--transition-fast) var(--ease-standard);
230
230
  }
231
231
 
232
- .filled .tab:not(.active):hover {
232
+ .filled > .tabList > .tabButtons > .tab:not(.active):hover {
233
233
  background: var(--color-bg-toolbar-hover);
234
234
  color: var(--color-fg-default);
235
235
  }
236
236
 
237
237
  /* Active tab physically overlaps the tabList separator by 1px so its
238
238
  erased bottom border seamlessly merges with the panel below. */
239
- .filled .tab.active {
239
+ .filled > .tabList > .tabButtons > .tab.active {
240
240
  background: var(--color-bg-surface);
241
241
  border-color: var(--color-border-subtle);
242
242
  border-block-end-color: var(--color-bg-surface);
@@ -247,7 +247,7 @@
247
247
  color: var(--color-fg-default);
248
248
  }
249
249
 
250
- .filled .tabContent {
250
+ .filled > .tabContent {
251
251
  background: var(--color-bg-surface);
252
252
  border: 1px solid var(--color-border-subtle);
253
253
  border-block-start: none;
@@ -268,22 +268,22 @@
268
268
  padding-block-end: var(--spacing-xs);
269
269
  }
270
270
 
271
- .outlined .tab {
271
+ .outlined > .tabList > .tabButtons > .tab {
272
272
  color: var(--color-fg-muted);
273
273
  border-block-end: 2px solid var(--color-border-default);
274
274
  transition: color var(--transition-fast) var(--ease-standard);
275
275
  }
276
276
 
277
- .outlined .tab:not(.active):hover {
277
+ .outlined > .tabList > .tabButtons > .tab:not(.active):hover {
278
278
  color: var(--color-brand);
279
279
  }
280
280
 
281
- .outlined .tab.active {
281
+ .outlined > .tabList > .tabButtons > .tab.active {
282
282
  color: var(--color-brand);
283
283
  border-block-end-color: var(--color-brand);
284
284
  }
285
285
 
286
- .outlined .tabContent {
286
+ .outlined > .tabContent {
287
287
  background: transparent;
288
288
  padding: 0;
289
289
  }
@@ -292,19 +292,19 @@
292
292
  Panel style modifier
293
293
  ========================= */
294
294
 
295
- .panelStyle .tabList {
295
+ .panelStyle > .tabList {
296
296
  border: var(--border-width-thin) solid var(--color-border-default);
297
297
  border-block-end: 0;
298
298
  }
299
299
 
300
300
  /* When panelStyle is on, tabs look “embedded” (no bottom border indicators) */
301
- .panelStyle .tab {
301
+ .panelStyle > .tabList > .tabButtons > .tab {
302
302
  border-block-end: 0;
303
303
  }
304
304
 
305
305
  /* In filled mode, keep the filled content panel visuals (already handled above).
306
306
  In outlined mode with panelStyle, give the content a panel container too. */
307
- .panelStyle.outlined .tabContent {
307
+ .panelStyle.outlined > .tabContent {
308
308
  border: var(--border-width-thin) solid var(--color-border-default);
309
309
  background: var(--color-bg-surface);
310
310
  padding: var(--spacing-lg);
@@ -327,17 +327,17 @@
327
327
  box-shadow: none;
328
328
  }
329
329
 
330
- .filled .tabList {
330
+ .filled > .tabList {
331
331
  inline-size: 100%;
332
332
  }
333
333
 
334
- .filled .tabContent,
335
- .panelStyle.outlined .tabContent {
334
+ .filled > .tabContent,
335
+ .panelStyle.outlined > .tabContent {
336
336
  padding-block: var(--spacing-md);
337
337
  padding-inline: var(--spacing-md);
338
338
  }
339
339
 
340
- .panelStyle .tabList {
340
+ .panelStyle > .tabList {
341
341
  border: 0;
342
342
  }
343
343
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbcdk/react-components",
3
- "version": "0.0.184",
3
+ "version": "0.0.185",
4
4
  "description": "Reusable React components for DBC projects",
5
5
  "license": "ISC",
6
6
  "author": "",