@ni/nimble-components 20.2.15 → 20.2.16
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.
- package/dist/all-components-bundle.js +35 -19
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +30 -17
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/anchor/template.d.ts +1 -1
- package/dist/esm/anchor/template.js +34 -19
- package/dist/esm/anchor/template.js.map +1 -1
- package/dist/esm/src/anchor/template.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1284,8 +1284,7 @@ default:return t}}function cd(e){return ld(e,Xo,"#ff4646",tr)}function dd(e){ret
|
|
|
1284
1284
|
}
|
|
1285
1285
|
`
|
|
1286
1286
|
class fd extends Oo{constructor(){super(...arguments),this.underlineHidden=!1}}e([se({attribute:"underline-hidden",mode:"boolean"})],fd.prototype,"underlineHidden",void 0),e([se],fd.prototype,"appearance",void 0)
|
|
1287
|
-
const gd=fd.compose({baseName:"anchor",baseClass:un,template:(e,t)=>W
|
|
1288
|
-
<a
|
|
1287
|
+
const gd=fd.compose({baseName:"anchor",baseClass:un,template:(e,t)=>W`<a
|
|
1289
1288
|
class="control"
|
|
1290
1289
|
part="control"
|
|
1291
1290
|
download="${e=>e.download}"
|
|
@@ -1317,21 +1316,35 @@ const gd=fd.compose({baseName:"anchor",baseClass:un,template:(e,t)=>W`
|
|
|
1317
1316
|
aria-relevant="${e=>e.ariaRelevant}"
|
|
1318
1317
|
aria-roledescription="${e=>e.ariaRoledescription}"
|
|
1319
1318
|
${De("control")}
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
${""}
|
|
1323
|
-
${""}
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
${
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1319
|
+
>${""}<span
|
|
1320
|
+
part="start"
|
|
1321
|
+
${De("startContainer")}
|
|
1322
|
+
class="${e=>t.start?"start":null}"
|
|
1323
|
+
><slot
|
|
1324
|
+
name="start"
|
|
1325
|
+
${De("start")}
|
|
1326
|
+
@slotchange="${e=>e.handleStartContentChange()}">
|
|
1327
|
+
${t.start||""}
|
|
1328
|
+
</slot
|
|
1329
|
+
></span
|
|
1330
|
+
><span
|
|
1331
|
+
class="content"
|
|
1332
|
+
part="content"
|
|
1333
|
+
><slot
|
|
1334
|
+
${Ge("defaultSlottedContent")}
|
|
1335
|
+
></slot
|
|
1336
|
+
></span
|
|
1337
|
+
><span
|
|
1338
|
+
part="end"
|
|
1339
|
+
${De("endContainer")}
|
|
1340
|
+
class=${e=>t.end?"end":null}
|
|
1341
|
+
><slot
|
|
1342
|
+
name="end"
|
|
1343
|
+
${De("end")}
|
|
1344
|
+
@slotchange="${e=>e.handleEndContentChange()}">
|
|
1345
|
+
${t.end||""}
|
|
1346
|
+
</slot
|
|
1347
|
+
></span></a>`,styles:pd,shadowOptions:{delegatesFocus:!0}})
|
|
1335
1348
|
mi.getOrCreate().withPrefix("nimble").register(gd())
|
|
1336
1349
|
const md=mi.tagFor(fd),vd="outline",bd="ghost",yd="block"
|
|
1337
1350
|
class wd{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 xd(e,t){return new wd("appearance",e,t)}const kd=ye`
|