@quadrel-enterprise-ui/framework 21.5.0 → 21.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quadrel-enterprise-ui/framework",
3
- "version": "21.5.0",
3
+ "version": "21.5.1",
4
4
  "exports": {
5
5
  "./jest-preset": "./jest-preset.js",
6
6
  "./package.json": {
@@ -5941,6 +5941,7 @@ declare class QdNotificationsComponent implements OnInit {
5941
5941
  * #### **Behavior**
5942
5942
  * - Appears in the bottom-right corner.
5943
5943
  * - Adapts to the QLS (e.g., stays above a PageFooter).
5944
+ * - Re-enters the top layer whenever a notification arrives, so it stays above dialogs opened before.
5944
5945
  * - Behavior is configurable via `snackbarOptions` (e.g., lifetime, close button, handlers).
5945
5946
  *
5946
5947
  * #### **Usage**
@@ -5969,6 +5970,21 @@ declare class QdNotificationsSnackbarListenerDirective implements OnInit, OnDest
5969
5970
  ngOnInit(): void;
5970
5971
  ngOnDestroy(): void;
5971
5972
  private initOverlay;
5973
+ /**
5974
+ * Raises the snackbar back above every other overlay whenever a notification arrives.
5975
+ *
5976
+ * The CDK renders overlays into the browser top layer, where the paint order follows the order
5977
+ * in which the overlays entered that layer and `z-index` has no effect. The snackbar overlay is
5978
+ * created once with this listener, so overlays opened later - a dialog and its backdrop above
5979
+ * all - would cover it. Re-entering the top layer with every arriving notification puts the
5980
+ * snackbar back on top.
5981
+ *
5982
+ * The re-entry is bound to arriving notifications, so a snackbar that is already visible - a
5983
+ * sticky one with `lifeTime: 0` above all - stays covered by a dialog opened afterwards until
5984
+ * the next notification arrives. Closing a notification leaves the top layer untouched.
5985
+ */
5986
+ private observeNotificationsToStayOnTop;
5987
+ private raiseToTopLayer;
5972
5988
  private observeSafeBottomOffset;
5973
5989
  private bottomRightPositions;
5974
5990
  static ɵfac: i0.ɵɵFactoryDeclaration<QdNotificationsSnackbarListenerDirective, never>;