@ni/spright-components 5.4.1 → 5.4.3

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