@eintrek/erp-shell 0.1.65 → 0.1.66
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/index.esm.js +10 -13
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +10 -13
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1975,7 +1975,7 @@ function platformApiBase(app) {
|
|
|
1975
1975
|
* This package's version, attached to help messages so the back office can
|
|
1976
1976
|
* tell which shell a report came from. Keep in step with package.json.
|
|
1977
1977
|
*/
|
|
1978
|
-
const SHELL_VERSION = "0.1.
|
|
1978
|
+
const SHELL_VERSION = "0.1.66";
|
|
1979
1979
|
|
|
1980
1980
|
const HELP_APP_LABEL = {
|
|
1981
1981
|
platform: "แพลตฟอร์ม",
|
|
@@ -6807,21 +6807,18 @@ function GuideHostInner({ config, organizationId, code }) {
|
|
|
6807
6807
|
React.useEffect(() => {
|
|
6808
6808
|
const el = document.createElement("div");
|
|
6809
6809
|
el.setAttribute(GUIDE_LAYER_ATTRIBUTE, "");
|
|
6810
|
-
// A Radix modal (dialog, select, menu) hides everything outside it from
|
|
6811
|
-
// screen readers with aria-hidden's hideOthers. It leaves [aria-live]
|
|
6812
|
-
// elements and their insides alone, but walks into their ancestors and
|
|
6813
|
-
// hides the siblings: with only the status line live, the bubble and its
|
|
6814
|
-
// buttons were hidden. "off" announces nothing; it only makes the whole
|
|
6815
|
-
// layer one of the kept elements.
|
|
6816
|
-
el.setAttribute("aria-live", "off");
|
|
6817
6810
|
document.body.appendChild(el);
|
|
6818
6811
|
layerRef.current = el;
|
|
6819
6812
|
setLayer(el);
|
|
6820
|
-
//
|
|
6821
|
-
//
|
|
6822
|
-
//
|
|
6823
|
-
//
|
|
6824
|
-
//
|
|
6813
|
+
// A Radix modal (dialog, select, menu) hides everything outside it from
|
|
6814
|
+
// screen readers with aria-hidden's hideOthers. It keeps [aria-live]
|
|
6815
|
+
// elements but walks into their ancestors and hides the other children:
|
|
6816
|
+
// with the status line live, the bubble and its buttons were hidden.
|
|
6817
|
+
// Take off what it adds, at once. hideOthers marks what it hides with
|
|
6818
|
+
// data-aria-hidden (the layer never sets that, or inert); aria-hidden goes
|
|
6819
|
+
// only where it was just added, so the layer's own decorative aria-hidden
|
|
6820
|
+
// stays. (aria-live="off" on the layer would make hideOthers skip it, but
|
|
6821
|
+
// it changed what test tools match by text.)
|
|
6825
6822
|
const obs = new MutationObserver(records => {
|
|
6826
6823
|
for (const r of records) {
|
|
6827
6824
|
const n = r.target;
|