@ni/nimble-components 11.10.1 → 11.10.4
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/README.md +3 -1
- package/dist/all-components-bundle.js +2 -5
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +2 -2
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/combobox/styles.js +1 -1
- package/dist/esm/dialog/index.js +1 -4
- package/dist/esm/dialog/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -2120,7 +2120,7 @@ const Rh="underline",Dh="outline",Fh="block",Bh=ut`
|
|
|
2120
2120
|
color: inherit;
|
|
2121
2121
|
margin: auto 0;
|
|
2122
2122
|
width: 100%;
|
|
2123
|
-
font
|
|
2123
|
+
font: inherit;
|
|
2124
2124
|
height: var(--ni-private-height-within-border);
|
|
2125
2125
|
}
|
|
2126
2126
|
|
|
@@ -2292,7 +2292,7 @@ const Kh=ut`
|
|
|
2292
2292
|
class Yh extends le{constructor(){super(...arguments),this.preventDismiss=!1}get open(){return void 0!==this.resolveShow}async show(){if(this.open)throw new Error("Dialog is already open")
|
|
2293
2293
|
return this.dialogElement.showModal(),new Promise(((t,e)=>{this.resolveShow=t}))}close(t){if(!this.open)throw new Error("Dialog is not open")
|
|
2294
2294
|
this.closeReason=t,this.dialogElement.close()}closeHandler(){return this.resolveShow(this.closeReason),this.resolveShow=void 0,!0}cancelHandler(t){return this.preventDismiss?t.preventDefault():this.closeReason=Xh,!0}}zn([tt({attribute:"prevent-dismiss",mode:"boolean"})],Yh.prototype,"preventDismiss",void 0),de(Yh,Te)
|
|
2295
|
-
const Gh=Yh.compose({baseName:"dialog",template:Wh,styles:Kh,baseClass:Yh
|
|
2295
|
+
const Gh=Yh.compose({baseName:"dialog",template:Wh,styles:Kh,baseClass:Yh})
|
|
2296
2296
|
Bi.getOrCreate().withPrefix("nimble").register(Gh())
|
|
2297
2297
|
var Qh="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Jh={},Zh={},td={}
|
|
2298
2298
|
!function(t){var e
|