@ni/spright-components 5.4.1 → 5.4.2
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.
|
@@ -12498,14 +12498,31 @@ const cP=Mt`
|
|
|
12498
12498
|
rgba(${ul}, 0.3);
|
|
12499
12499
|
margin: ${Al} ${Ol};
|
|
12500
12500
|
}
|
|
12501
|
-
|
|
12501
|
+
|
|
12502
|
+
[part='start'] {
|
|
12503
|
+
display: none;
|
|
12504
|
+
}
|
|
12505
|
+
|
|
12506
|
+
[part='end'] {
|
|
12507
|
+
margin-left: auto;
|
|
12508
|
+
display: flex;
|
|
12509
|
+
}
|
|
12510
|
+
`
|
|
12511
|
+
class dP extends je{constructor(){super(...arguments),this.defaultSlottedElements=[]}}t([C],dP.prototype,"defaultSlottedElements",void 0)
|
|
12512
|
+
const hP=dP.compose({baseName:"tabs-toolbar",template:(t,e)=>Q`
|
|
12502
12513
|
<template slot="end">
|
|
12503
|
-
|
|
12504
|
-
|
|
12514
|
+
${Gt((t=>t.defaultSlottedElements.length>0),Q`
|
|
12515
|
+
<div class="separator"></div>
|
|
12516
|
+
`)}
|
|
12517
|
+
${le(0,e)}
|
|
12518
|
+
<slot
|
|
12519
|
+
${ie({filter:t=>t instanceof HTMLElement,property:"defaultSlottedElements"})}
|
|
12520
|
+
>
|
|
12521
|
+
</slot>
|
|
12522
|
+
${ae(0,e)}
|
|
12505
12523
|
</template>
|
|
12506
|
-
|
|
12507
|
-
|
|
12508
|
-
Di.getOrCreate().withPrefix("nimble").register(hP())
|
|
12524
|
+
`,styles:cP})
|
|
12525
|
+
Di.getOrCreate().withPrefix("nimble").register(hP()),Ze(dP,re)
|
|
12509
12526
|
const uP="outline",pP="block",fP=Mt`
|
|
12510
12527
|
${js("inline-flex")}
|
|
12511
12528
|
${Xg}
|