chili3d 0.7.15 → 1.0.0
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/index.js +9 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -85416,9 +85416,14 @@ class ProjectView extends HTMLElement {
|
|
|
85416
85416
|
panel;
|
|
85417
85417
|
constructor(props){
|
|
85418
85418
|
super();
|
|
85419
|
-
|
|
85419
|
+
if (projectView_style.root) {
|
|
85420
|
+
this.classList.add(projectView_style.root);
|
|
85421
|
+
}
|
|
85422
|
+
if (props.className) {
|
|
85423
|
+
this.classList.add(props.className);
|
|
85424
|
+
}
|
|
85420
85425
|
this.panel = div({
|
|
85421
|
-
className: projectView_style.itemsPanel
|
|
85426
|
+
className: projectView_style.itemsPanel || ""
|
|
85422
85427
|
});
|
|
85423
85428
|
PubSub["default"].sub("activeViewChanged", this.handleActiveViewChanged);
|
|
85424
85429
|
PubSub["default"].sub("documentClosed", this.handleDocumentClosed);
|
|
@@ -85426,9 +85431,9 @@ class ProjectView extends HTMLElement {
|
|
|
85426
85431
|
}
|
|
85427
85432
|
render() {
|
|
85428
85433
|
this.append(div({
|
|
85429
|
-
className: projectView_style.headerPanel
|
|
85434
|
+
className: projectView_style.headerPanel || ""
|
|
85430
85435
|
}, span({
|
|
85431
|
-
className: projectView_style.header,
|
|
85436
|
+
className: projectView_style.header || "",
|
|
85432
85437
|
textContent: new Localize("items.header")
|
|
85433
85438
|
}), new ToolBar(this)), this.panel);
|
|
85434
85439
|
}
|