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