@parallelworks/ui 0.65.2 → 0.66.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.
@@ -4,17 +4,21 @@
4
4
  @layer base {
5
5
  /* The stacking scale: everything the package lays over the page takes one of
6
6
  * these z-indexes, and a host slots its own fixed elements between them, such
7
- * as a top bar at 100. Popups sit above dialogs so a select inside a modal
8
- * opens over it; toasts sit above all, and stay usable while a modal is open.
9
- * In this layer, so a host's own :root values win. */
7
+ * as a top bar at 100. Toasts sit above dialogs, so one stays usable while a
8
+ * modal is open. Popups sit above both: a select inside a modal opens over it,
9
+ * and a menu opens over a toast, since it is open only because someone just
10
+ * opened it and closes on their next press. A popup that stays open while it is
11
+ * used, such as a hover card, a popover or a select that picks several, can
12
+ * keep a toast that shows meanwhile under it until it closes. In this layer, so
13
+ * a host's own :root values win. */
10
14
  :root {
11
15
  --layer-sticky: 10; /* toolbars and tab strips that stick as their page scrolls */
12
16
  --layer-header: 20; /* the page header, which sticks above them */
13
17
  --layer-overlay: 1000; /* a panel over the page, such as a full-screen log */
14
18
  --layer-drawer: 1100;
15
19
  --layer-modal: 1200;
16
- --layer-popover: 1300; /* menus, selects, popovers, hover cards and tooltips */
17
- --layer-toast: 1400;
20
+ --layer-toast: 1300;
21
+ --layer-popover: 1400; /* menus, selects, popovers, hover cards and tooltips */
18
22
  }
19
23
 
20
24
  body {