@ni/nimble-components 29.7.4 → 29.7.5

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.
@@ -2411,28 +2411,18 @@ yi.getOrCreate().withPrefix("nimble").register(Vm())
2411
2411
  const Hm=xe`
2412
2412
  ${Ro("inline-block")}
2413
2413
 
2414
- :host {
2415
- font: ${Ql};
2416
- --ni-private-breadcrumb-link-font-color: ${ec};
2417
- --ni-private-breadcrumb-link-active-font-color: ${ac};
2418
- }
2419
-
2420
- :host([appearance='prominent']) {
2421
- --ni-private-breadcrumb-link-font-color: ${fc};
2422
- --ni-private-breadcrumb-link-active-font-color: ${xc};
2423
- }
2424
-
2425
2414
  .list {
2426
2415
  display: flex;
2427
2416
  flex-wrap: wrap;
2428
2417
  }
2429
2418
 
2430
- ::slotted(*:first-child) {
2431
- padding-left: 0px;
2419
+ ::slotted(:last-child) {
2420
+ font: ${Hc};
2421
+ color: ${ec};
2432
2422
  }
2433
2423
 
2434
- ::slotted(*:not([href]):last-child) {
2435
- font: ${Hc};
2424
+ :host([appearance='prominent']) ::slotted(:last-child) {
2425
+ color: ${fc};
2436
2426
  }
2437
2427
  `
2438
2428
  class Bm extends wn{}e([le],Bm.prototype,"appearance",void 0)
@@ -2447,68 +2437,88 @@ const qm=Bm.compose({baseName:"breadcrumb",baseClass:wn,template:(e,t)=>G`
2447
2437
  `,styles:Hm})
2448
2438
  yi.getOrCreate().withPrefix("nimble").register(qm())
2449
2439
  const Um=xe`
2450
- ${Ro("inline-flex")}
2440
+ @layer base, hover, focusVisible, active, disabled;
2451
2441
 
2452
- :host {
2453
- height: ${gl};
2454
- padding-left: calc(4px - ${Cl});
2442
+ @layer base {
2443
+ ${Ro("inline-flex")}
2455
2444
 
2456
- ${""}
2457
- color: ${Fc};
2458
- font: ${Ql};
2459
- }
2445
+ :host {
2446
+ height: ${gl};
2460
2447
 
2461
- .listitem {
2462
- display: flex;
2463
- align-items: center;
2464
- }
2448
+ ${""}
2449
+ color: ${tc};
2450
+ font: ${Ql};
2451
+ }
2465
2452
 
2466
- .control {
2467
- color: var(--ni-private-breadcrumb-link-font-color);
2468
- display: flex;
2469
- align-items: center;
2470
- justify-content: center;
2471
- border: ${Cl} solid transparent;
2472
- padding-right: calc(4px - ${Cl});
2473
- text-decoration: none;
2474
- }
2453
+ .listitem {
2454
+ display: flex;
2455
+ align-items: center;
2456
+ }
2475
2457
 
2476
- .control:hover {
2477
- text-decoration: underline;
2478
- }
2458
+ .control {
2459
+ color: ${ec};
2460
+ display: flex;
2461
+ align-items: center;
2462
+ justify-content: center;
2463
+ text-decoration: none;
2464
+ }
2479
2465
 
2480
- .control${Fo} {
2481
- border: ${Cl} solid ${sl};
2482
- outline: 2px solid ${sl};
2483
- outline-offset: 1px;
2484
- }
2466
+ [part='start'] {
2467
+ display: none;
2468
+ }
2485
2469
 
2486
- .control:active {
2487
- color: var(--ni-private-breadcrumb-link-active-font-color);
2488
- text-decoration: none;
2489
- }
2470
+ .content {
2471
+ pointer-events: none;
2472
+ }
2490
2473
 
2491
- [part='start'] {
2492
- display: none;
2474
+ [part='end'] {
2475
+ display: none;
2476
+ }
2477
+
2478
+ .separator {
2479
+ padding-left: ${yl};
2480
+ padding-right: ${yl};
2481
+ }
2482
+
2483
+ slot[name='separator'] {
2484
+ display: flex;
2485
+ align-items: center;
2486
+ }
2487
+
2488
+ slot[name='separator'] svg {
2489
+ width: ${kl};
2490
+ height: ${kl};
2491
+ fill: ${Ic};
2492
+ }
2493
2493
  }
2494
2494
 
2495
- .content {
2496
- pointer-events: none;
2495
+ @layer hover {
2496
+ .control:any-link:hover {
2497
+ text-decoration: underline;
2498
+ }
2497
2499
  }
2498
2500
 
2499
- [part='end'] {
2500
- display: none;
2501
+ @layer focusVisible {
2502
+ .control${Fo} {
2503
+ outline: none;
2504
+ box-shadow: inset 0px -1px;
2505
+ text-decoration: underline;
2506
+ color: ${sl};
2507
+ }
2501
2508
  }
2502
2509
 
2503
- slot[name='separator'] {
2504
- display: flex;
2505
- align-items: center;
2510
+ @layer active {
2511
+ .control:active {
2512
+ color: ${ac};
2513
+ text-decoration: underline;
2514
+ box-shadow: none;
2515
+ }
2506
2516
  }
2507
2517
 
2508
- slot[name='separator'] svg {
2509
- width: ${kl};
2510
- height: ${kl};
2511
- fill: ${Ic};
2518
+ @layer disabled {
2519
+ .control:not(:any-link) {
2520
+ color: ${tc};
2521
+ }
2512
2522
  }
2513
2523
  `
2514
2524
  const jm=class extends yn{}.compose({baseName:"breadcrumb-item",baseClass:yn,template:(e,t)=>G`