@pageboard/html 0.14.0 → 0.14.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.
package/elements/page.js CHANGED
@@ -1,4 +1,5 @@
1
1
  exports.page.stylesheets = [
2
+ ...exports.page.stylesheets,
2
3
  '../lib/components/reset.css',
3
4
  '../ui/site.css',
4
5
  '../ui/page.css',
@@ -55,9 +55,7 @@ exports.sitemap = {
55
55
  };
56
56
 
57
57
  if (exports.page) exports.sitepage = exports.sitemap.itemModel('page');
58
- if (exports.pdf) exports.sitepdf = exports.sitemap.itemModel('pdf');
59
58
  if (exports.redirection) exports.siteredirection = exports.sitemap.itemModel('redirection');
60
- if (exports.mail) exports.sitemail = exports.sitemap.itemModel('mail');
61
59
 
62
60
  exports.editor?.scripts.push('../ui/sitemap-helper.js');
63
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pageboard/html",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -34,7 +34,7 @@
34
34
  "nouislider/dist/nouislider.css": "copy lib/"
35
35
  },
36
36
  "pageboard": {
37
- "priority": -1,
37
+ "priority": -10,
38
38
  "directories": [
39
39
  "elements",
40
40
  "lib",
package/ui/sitemap.js CHANGED
@@ -61,7 +61,7 @@ class HTMLElementSitemap extends Page.Element {
61
61
  const scope = state.scope.copy();
62
62
  await scope.import(res);
63
63
  const tree = this.constructor.transformResponse(res);
64
- const node = await scope.render({
64
+ const node = scope.render({
65
65
  item: tree
66
66
  });
67
67
  // only change block content