@jsenv/navi 0.3.4 → 0.3.5
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/dist/jsenv_navi.js
CHANGED
|
@@ -8350,10 +8350,9 @@ const getInnerWidth = (element) => {
|
|
|
8350
8350
|
installImportMetaCss(import.meta);
|
|
8351
8351
|
import.meta.css = /* css */ `
|
|
8352
8352
|
.ui_transition_container {
|
|
8353
|
+
position: relative;
|
|
8353
8354
|
display: inline-flex;
|
|
8354
8355
|
flex: 1;
|
|
8355
|
-
position: relative;
|
|
8356
|
-
overflow: hidden;
|
|
8357
8356
|
}
|
|
8358
8357
|
|
|
8359
8358
|
.ui_transition_outer_wrapper {
|
|
@@ -8362,7 +8361,6 @@ import.meta.css = /* css */ `
|
|
|
8362
8361
|
}
|
|
8363
8362
|
|
|
8364
8363
|
.ui_transition_measure_wrapper {
|
|
8365
|
-
overflow: hidden;
|
|
8366
8364
|
display: inline-flex;
|
|
8367
8365
|
flex: 1;
|
|
8368
8366
|
}
|
|
@@ -11804,7 +11802,9 @@ const openCallout = (
|
|
|
11804
11802
|
if (Error.isError(newMessage)) {
|
|
11805
11803
|
const error = newMessage;
|
|
11806
11804
|
newMessage = error.message;
|
|
11807
|
-
|
|
11805
|
+
if (error.stack) {
|
|
11806
|
+
newMessage += `<pre class="navi_callout_error_stack">${escapeHtml(error.stack)}</pre>`;
|
|
11807
|
+
}
|
|
11808
11808
|
}
|
|
11809
11809
|
|
|
11810
11810
|
// Check if the message is a full HTML document (starts with DOCTYPE)
|
|
@@ -11813,8 +11813,6 @@ const openCallout = (
|
|
|
11813
11813
|
const iframe = document.createElement("iframe");
|
|
11814
11814
|
iframe.style.border = "none";
|
|
11815
11815
|
iframe.style.width = "100%";
|
|
11816
|
-
iframe.style.minHeight = "200px";
|
|
11817
|
-
iframe.style.maxHeight = "400px";
|
|
11818
11816
|
iframe.style.backgroundColor = "white";
|
|
11819
11817
|
iframe.srcdoc = newMessage;
|
|
11820
11818
|
|
|
@@ -12084,8 +12082,6 @@ import.meta.css = /* css */ `
|
|
|
12084
12082
|
.navi_callout_message iframe {
|
|
12085
12083
|
display: block;
|
|
12086
12084
|
margin: 0;
|
|
12087
|
-
border: 1px solid #ddd;
|
|
12088
|
-
border-radius: 4px;
|
|
12089
12085
|
}
|
|
12090
12086
|
.navi_callout_close_button_column {
|
|
12091
12087
|
display: flex;
|
package/package.json
CHANGED
|
@@ -115,7 +115,9 @@ export const openCallout = (
|
|
|
115
115
|
if (Error.isError(newMessage)) {
|
|
116
116
|
const error = newMessage;
|
|
117
117
|
newMessage = error.message;
|
|
118
|
-
|
|
118
|
+
if (error.stack) {
|
|
119
|
+
newMessage += `<pre class="navi_callout_error_stack">${escapeHtml(error.stack)}</pre>`;
|
|
120
|
+
}
|
|
119
121
|
}
|
|
120
122
|
|
|
121
123
|
// Check if the message is a full HTML document (starts with DOCTYPE)
|
|
@@ -124,8 +126,6 @@ export const openCallout = (
|
|
|
124
126
|
const iframe = document.createElement("iframe");
|
|
125
127
|
iframe.style.border = "none";
|
|
126
128
|
iframe.style.width = "100%";
|
|
127
|
-
iframe.style.minHeight = "200px";
|
|
128
|
-
iframe.style.maxHeight = "400px";
|
|
129
129
|
iframe.style.backgroundColor = "white";
|
|
130
130
|
iframe.srcdoc = newMessage;
|
|
131
131
|
|
|
@@ -395,8 +395,6 @@ import.meta.css = /* css */ `
|
|
|
395
395
|
.navi_callout_message iframe {
|
|
396
396
|
display: block;
|
|
397
397
|
margin: 0;
|
|
398
|
-
border: 1px solid #ddd;
|
|
399
|
-
border-radius: 4px;
|
|
400
398
|
}
|
|
401
399
|
.navi_callout_close_button_column {
|
|
402
400
|
display: flex;
|