@hlang-tech/editor-ui 0.2.1 → 0.2.2
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/lib/overlays/Toast.css
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* Toast — transient glass confirmations, stacked bottom-center of the editor.
|
|
3
3
|
* The stack is positioned against the nearest positioned ancestor of the
|
|
4
4
|
* `ToastProvider`, so an editor embedded in a larger page shows its toasts in
|
|
5
|
-
* itself; a full-window editor needs nothing extra.
|
|
5
|
+
* itself; a full-window editor needs nothing extra. An embedding host should
|
|
6
|
+
* also isolate that ancestor (`isolation: isolate`) so the stack's z-index stays
|
|
7
|
+
* below the page's own layers.
|
|
6
8
|
*/
|
|
7
9
|
|
|
8
10
|
.hl-toast-stack {
|
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
.hl-shell {
|
|
7
|
+
/* The editor is embeddable: its layers (panels, dock, overlays) stack among
|
|
8
|
+
themselves and never above the host page's own layers, such as a sticky
|
|
9
|
+
header the editor scrolls under. */
|
|
10
|
+
isolation: isolate;
|
|
7
11
|
display: flex;
|
|
8
12
|
flex-direction: column;
|
|
9
13
|
width: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hlang-tech/editor-ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Lumen design system for hlang: node, edge, panel, and shell components for a React Flow node editor, built on @hlang-org/editor-react.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hlang",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@hlang-tech/editor-react": "^0.1.1",
|
|
63
62
|
"@hlang-tech/interpreter": "^1.0.1",
|
|
63
|
+
"@hlang-tech/editor-react": "^0.1.1",
|
|
64
64
|
"@hlang-tech/editor-core": "^0.1.1"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|