chili3d 0.7.15 → 0.7.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.
Files changed (2) hide show
  1. package/index.js +7 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -85416,9 +85416,12 @@ class ProjectView extends HTMLElement {
85416
85416
  panel;
85417
85417
  constructor(props){
85418
85418
  super();
85419
- this.classList.add(projectView_style.root, props.className);
85419
+ if (projectView_style.root) {
85420
+ this.classList.add(projectView_style.root);
85421
+ }
85422
+ this.classList.add(props.className);
85420
85423
  this.panel = div({
85421
- className: projectView_style.itemsPanel
85424
+ className: projectView_style.itemsPanel || ""
85422
85425
  });
85423
85426
  PubSub["default"].sub("activeViewChanged", this.handleActiveViewChanged);
85424
85427
  PubSub["default"].sub("documentClosed", this.handleDocumentClosed);
@@ -85426,9 +85429,9 @@ class ProjectView extends HTMLElement {
85426
85429
  }
85427
85430
  render() {
85428
85431
  this.append(div({
85429
- className: projectView_style.headerPanel
85432
+ className: projectView_style.headerPanel || ""
85430
85433
  }, span({
85431
- className: projectView_style.header,
85434
+ className: projectView_style.header || "",
85432
85435
  textContent: new Localize("items.header")
85433
85436
  }), new ToolBar(this)), this.panel);
85434
85437
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chili3d",
3
- "version": "0.7.15",
3
+ "version": "0.7.16",
4
4
  "description": "Chili3D - A 3D modeling and animation tool",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",