wj-elements 0.1.126 → 0.1.127
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/wje-element.js +5 -3
- package/package.json +1 -1
package/dist/wje-element.js
CHANGED
|
@@ -403,9 +403,11 @@ const _WJElement = class _WJElement extends HTMLElement {
|
|
|
403
403
|
this.setUpAccessors();
|
|
404
404
|
this.drawingStatus = this.drawingStatuses.START;
|
|
405
405
|
await this.display(force);
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
406
|
+
if (typeof this.constructor.cssStyleSheet === "string" && this.constructor.cssStyleSheet) {
|
|
407
|
+
const sheet = new CSSStyleSheet();
|
|
408
|
+
sheet.replaceSync(this.constructor.cssStyleSheet);
|
|
409
|
+
this.context.adoptedStyleSheets = [sheet];
|
|
410
|
+
}
|
|
409
411
|
resolve();
|
|
410
412
|
});
|
|
411
413
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wj-elements",
|
|
3
3
|
"description": "WebJET Elements is a modern set of user interface tools harnessing the power of web components designed to simplify web application development.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.127",
|
|
5
5
|
"homepage": "https://github.com/lencys/wj-elements",
|
|
6
6
|
"author": "Lukáš Ondrejček <lukas.ondrejcek@gmail.com>",
|
|
7
7
|
"license": "MIT",
|