@ni/nimble-components 20.16.0 → 20.16.1

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.
@@ -1214,6 +1214,10 @@ default:return t}}function Jd(e){return Kd(e,Qo,"#ff4646",ir)}function Xd(e){ret
1214
1214
  font: ${Vl};
1215
1215
  }
1216
1216
 
1217
+ .top-container {
1218
+ display: contents;
1219
+ }
1220
+
1217
1221
  [part='start'] {
1218
1222
  display: none;
1219
1223
  }
@@ -1287,8 +1291,11 @@ default:return t}}function Jd(e){return Kd(e,Qo,"#ff4646",ir)}function Xd(e){ret
1287
1291
  display: none;
1288
1292
  }
1289
1293
  `
1290
- class nh extends Ro{constructor(){super(...arguments),this.underlineHidden=!1}}e([se({attribute:"underline-hidden",mode:"boolean"})],nh.prototype,"underlineHidden",void 0),e([se],nh.prototype,"appearance",void 0)
1291
- const ih=nh.compose({baseName:"anchor",baseClass:pn,template:(e,t)=>W`<a
1294
+ class nh extends Ro{constructor(){super(...arguments),this.underlineHidden=!1}}e([se({attribute:"underline-hidden",mode:"boolean"})],nh.prototype,"underlineHidden",void 0),e([se],nh.prototype,"appearance",void 0),e([se({attribute:"contenteditable"})],nh.prototype,"contentEditable",void 0)
1295
+ const ih=nh.compose({baseName:"anchor",baseClass:pn,template:(e,t)=>W`${""}<div
1296
+ class="top-container"
1297
+ contenteditable="${e=>e.contentEditable}"
1298
+ ><a
1292
1299
  class="control"
1293
1300
  part="control"
1294
1301
  download="${e=>e.download}"
@@ -1348,7 +1355,7 @@ const ih=nh.compose({baseName:"anchor",baseClass:pn,template:(e,t)=>W`<a
1348
1355
  @slotchange="${e=>e.handleEndContentChange()}">
1349
1356
  ${t.end||""}
1350
1357
  </slot
1351
- ></span></a>`,styles:th,shadowOptions:{delegatesFocus:!0}})
1358
+ ></span></a></div>`,styles:th,shadowOptions:{delegatesFocus:!0}})
1352
1359
  bi.getOrCreate().withPrefix("nimble").register(ih())
1353
1360
  const oh=bi.tagFor(nh),rh="outline",sh="ghost",ah="block"
1354
1361
  class lh{constructor(e,t,n){this.propertyName=e,this.value=t,this.styles=n}bind(e){g.getNotifier(e).subscribe(this,this.propertyName),this.handleChange(e,this.propertyName)}unbind(e){g.getNotifier(e).unsubscribe(this,this.propertyName),e.$fastController.removeStyles(this.styles)}handleChange(e,t){const n=e[t];(Array.isArray(this.value)?this.value.includes(n):this.value===n)?e.$fastController.addStyles(this.styles):e.$fastController.removeStyles(this.styles)}}function ch(e,t){return new lh("appearance",e,t)}const dh=xe`