@design.estate/dees-catalog 21.44.0 → 21.44.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.
@@ -66629,8 +66629,9 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
66629
66629
  async showView(view, element, params, query2) {
66630
66630
  const previousView = this.currentView;
66631
66631
  const replaced = this.captureViewChrome();
66632
+ const continued = previousView?.id === view.id && this.viewRegistry.getInstance(view.id) === element;
66632
66633
  this.heldChrome = replaced;
66633
- this.showViewChrome(this.chromeFor(view, replaced));
66634
+ this.showViewChrome(this.chromeFor(view, replaced, continued));
66634
66635
  try {
66635
66636
  await this.viewRegistry.activatePreparedView(view.id, element, params, query2);
66636
66637
  } catch (error) {
@@ -66680,8 +66681,10 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
66680
66681
  /**
66681
66682
  * The chrome a view starts from: an empty one — or, when the view keeps its
66682
66683
  * chrome, the one of the view it replaces — with its declared parts on top.
66684
+ * The view on screen activated again (`continued`) starts over in the same
66685
+ * heading element (`IViewChrome.contentHeadingKey`).
66683
66686
  */
66684
- chromeFor(view, replaced) {
66687
+ chromeFor(view, replaced, continued) {
66685
66688
  const chrome = view.keepChrome ? { ...replaced } : createEmptyViewChrome();
66686
66689
  if (view.secondaryMenu) {
66687
66690
  chrome.secondaryMenuHeading = view.name;
@@ -66693,6 +66696,7 @@ var _DeesAppui = class _DeesAppui extends (_a86 = DeesElement, _appbarMenuItems_
66693
66696
  chrome.contentHeading = view.contentHeading;
66694
66697
  chrome.contentHeadingKey = {};
66695
66698
  }
66699
+ if (continued) chrome.contentHeadingKey = replaced.contentHeadingKey;
66696
66700
  chrome.viewName = view.name;
66697
66701
  return chrome;
66698
66702
  }
@@ -124512,7 +124516,7 @@ var bright = {
124512
124516
  // ts_web/00_commitinfo_data.ts
124513
124517
  var commitinfo = {
124514
124518
  name: "@design.estate/dees-catalog",
124515
- version: "21.44.0",
124519
+ version: "21.44.1",
124516
124520
  description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
124517
124521
  };
124518
124522
  export {