@signature.digital/catalog 1.5.0 → 1.5.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/dist_bundle/bundle.js +26 -26
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/sdig-workspace/sdig-workspace.d.ts +1 -1
- package/dist_ts_web/elements/sdig-workspace/sdig-workspace.js +6 -4
- package/dist_watch/bundle.js +4 -2
- package/dist_watch/bundle.js.map +3 -3
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/sdig-workspace/sdig-workspace.ts +5 -3
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeesElement, property,
|
|
1
|
+
import { DeesElement, property, html, customElement, type TemplateResult, css } from '@design.estate/dees-element';
|
|
2
2
|
import { icon, type TDensity, type TWorkspaceTheme, type TWorkspaceView } from './sdig-workspace.shared.js';
|
|
3
3
|
import './sdig-workspace-inbox.js';
|
|
4
4
|
import './sdig-workspace-compose.js';
|
|
@@ -22,11 +22,13 @@ export class SdigWorkspace extends DeesElement {
|
|
|
22
22
|
@property({ type: String }) public accessor density: TDensity = 'comfortable';
|
|
23
23
|
@property({ type: String, reflect: true }) public accessor theme: TWorkspaceTheme = 'dark';
|
|
24
24
|
@property({ type: String }) public accessor initialView: TWorkspaceView = 'inbox';
|
|
25
|
-
@
|
|
25
|
+
@property({ type: String, reflect: true }) public accessor view: TWorkspaceView = 'inbox';
|
|
26
26
|
|
|
27
27
|
public connectedCallback = async () => {
|
|
28
28
|
await super.connectedCallback();
|
|
29
|
-
this.view
|
|
29
|
+
if (this.view === 'inbox' && this.initialView !== 'inbox') {
|
|
30
|
+
this.view = this.initialView;
|
|
31
|
+
}
|
|
30
32
|
this.addEventListener('workspace-view-request', this.handleViewRequest as EventListener);
|
|
31
33
|
};
|
|
32
34
|
|