@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 CHANGED
@@ -1956,7 +1956,7 @@ function platformApiBase(app) {
1956
1956
  * This package's version, attached to help messages so the back office can
1957
1957
  * tell which shell a report came from. Keep in step with package.json.
1958
1958
  */
1959
- const SHELL_VERSION = "0.1.65";
1959
+ const SHELL_VERSION = "0.1.66";
1960
1960
 
1961
1961
  const HELP_APP_LABEL = {
1962
1962
  platform: "แพลตฟอร์ม",
@@ -6788,21 +6788,18 @@ function GuideHostInner({ config, organizationId, code }) {
6788
6788
  useEffect(() => {
6789
6789
  const el = document.createElement("div");
6790
6790
  el.setAttribute(GUIDE_LAYER_ATTRIBUTE, "");
6791
- // A Radix modal (dialog, select, menu) hides everything outside it from
6792
- // screen readers with aria-hidden's hideOthers. It leaves [aria-live]
6793
- // elements and their insides alone, but walks into their ancestors and
6794
- // hides the siblings: with only the status line live, the bubble and its
6795
- // buttons were hidden. "off" announces nothing; it only makes the whole
6796
- // layer one of the kept elements.
6797
- el.setAttribute("aria-live", "off");
6798
6791
  document.body.appendChild(el);
6799
6792
  layerRef.current = el;
6800
6793
  setLayer(el);
6801
- // And should anything still hide the layer or a part of it (another
6802
- // library, a later hideOthers), take it off again. hideOthers marks what
6803
- // it hides with data-aria-hidden (the layer never sets that, or inert);
6804
- // aria-hidden goes only where it was just added, so the layer's own
6805
- // decorative aria-hidden stays.
6794
+ // A Radix modal (dialog, select, menu) hides everything outside it from
6795
+ // screen readers with aria-hidden's hideOthers. It keeps [aria-live]
6796
+ // elements but walks into their ancestors and hides the other children:
6797
+ // with the status line live, the bubble and its buttons were hidden.
6798
+ // Take off what it adds, at once. hideOthers marks what it hides with
6799
+ // data-aria-hidden (the layer never sets that, or inert); aria-hidden goes
6800
+ // only where it was just added, so the layer's own decorative aria-hidden
6801
+ // stays. (aria-live="off" on the layer would make hideOthers skip it, but
6802
+ // it changed what test tools match by text.)
6806
6803
  const obs = new MutationObserver(records => {
6807
6804
  for (const r of records) {
6808
6805
  const n = r.target;