@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.
- package/README.md +14 -10
- package/dist/brandIcons.js +1 -1
- package/dist/components/Avatar.js +4 -1
- package/dist/components/Toast.d.ts +2 -2
- package/dist/components/Toast.js +2 -2
- package/dist/components/floating.d.ts +1 -1
- package/dist/components/floating.js +1 -1
- package/dist/graph/StepSummaries.js +16 -1
- package/dist/icons.d.ts +4 -3
- package/dist/icons.js +268 -277
- package/dist/styles/base.css +9 -5
- package/dist/styles.css +1 -1
- package/package.json +1 -2
package/dist/styles/base.css
CHANGED
|
@@ -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.
|
|
8
|
-
*
|
|
9
|
-
*
|
|
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-
|
|
17
|
-
--layer-
|
|
20
|
+
--layer-toast: 1300;
|
|
21
|
+
--layer-popover: 1400; /* menus, selects, popovers, hover cards and tooltips */
|
|
18
22
|
}
|
|
19
23
|
|
|
20
24
|
body {
|