@ui-organized/angular 0.0.0-stage → 0.1.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.
@@ -0,0 +1,23 @@
1
+ /**
2
+ * The one rule this package adds to the shared stylesheet, and only for Angular.
3
+ *
4
+ * `@ui-organized/angular/styles.css` is byte-identical to what the React, Svelte
5
+ * and Vue packages ship — that is the whole premise, and it is not going to be
6
+ * quietly forked. This lives beside it because the thing it fixes is an Angular
7
+ * concept: the CDK parents every overlay to one container and stacks that
8
+ * container at `z-index: 1000`, below every surface this design system defines.
9
+ *
10
+ * Relative order *inside* the container is handled by `UioOverlayStacking`,
11
+ * which gives each pane the level its own popup declares. This is about the
12
+ * container as a whole against the rest of the page, so it takes the highest
13
+ * level the system defines: overlays belong above application content.
14
+ *
15
+ * Import it once, next to the CDK's own:
16
+ *
17
+ * @import "@angular/cdk/overlay-prebuilt.css";
18
+ * @import "@ui-organized/angular/styles.css";
19
+ * @import "@ui-organized/angular/overlay.css";
20
+ */
21
+ .cdk-overlay-container {
22
+ z-index: var(--z-index-toast, 1400);
23
+ }