@semigarden/synthetic-md 0.0.3 → 0.0.5
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/index.cjs.js +1 -9
- package/dist/index.d.cts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.esm.js +1 -8
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -6449,7 +6449,6 @@ var intent_default = Intent;
|
|
|
6449
6449
|
var element_default = {};
|
|
6450
6450
|
|
|
6451
6451
|
// models/element.ts
|
|
6452
|
-
var import_meta = {};
|
|
6453
6452
|
var Element = class extends HTMLElement {
|
|
6454
6453
|
constructor() {
|
|
6455
6454
|
super();
|
|
@@ -6502,14 +6501,7 @@ var Element = class extends HTMLElement {
|
|
|
6502
6501
|
if (!this.render) return;
|
|
6503
6502
|
this.render.renderBlocks(this.ast.blocks, this.rootElement);
|
|
6504
6503
|
}
|
|
6505
|
-
|
|
6506
|
-
try {
|
|
6507
|
-
return new URL("./index.css", import_meta.url).toString();
|
|
6508
|
-
} catch {
|
|
6509
|
-
return "/index.css";
|
|
6510
|
-
}
|
|
6511
|
-
}
|
|
6512
|
-
async addStyles() {
|
|
6504
|
+
addStyles() {
|
|
6513
6505
|
if (this.styled) return;
|
|
6514
6506
|
const style = document.createElement("style");
|
|
6515
6507
|
style.textContent = element_default;
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -6473,14 +6473,7 @@ var Element = class extends HTMLElement {
|
|
|
6473
6473
|
if (!this.render) return;
|
|
6474
6474
|
this.render.renderBlocks(this.ast.blocks, this.rootElement);
|
|
6475
6475
|
}
|
|
6476
|
-
|
|
6477
|
-
try {
|
|
6478
|
-
return new URL("./index.css", import.meta.url).toString();
|
|
6479
|
-
} catch {
|
|
6480
|
-
return "/index.css";
|
|
6481
|
-
}
|
|
6482
|
-
}
|
|
6483
|
-
async addStyles() {
|
|
6476
|
+
addStyles() {
|
|
6484
6477
|
if (this.styled) return;
|
|
6485
6478
|
const style = document.createElement("style");
|
|
6486
6479
|
style.textContent = element_default;
|