@eintrek/erp-shell 0.1.68 → 0.1.69
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 +7 -0
- package/dist/chunks/{guide-runtime-BT7rN-5p.esm.js → guide-runtime-CBLovNNu.esm.js} +6 -2
- package/dist/chunks/{guide-runtime-BT7rN-5p.esm.js.map → guide-runtime-CBLovNNu.esm.js.map} +1 -1
- package/dist/chunks/{guide-runtime-B2RjoQeb.cjs → guide-runtime-CFVYM8Xi.cjs} +6 -2
- package/dist/chunks/{guide-runtime-B2RjoQeb.cjs.map → guide-runtime-CFVYM8Xi.cjs.map} +1 -1
- package/dist/guide-core.cjs +1 -1
- package/dist/guide-core.esm.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.esm.js +3 -3
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -176,6 +176,13 @@ progress API: `API.md` next to it.
|
|
|
176
176
|
shell's adapters), `guide-ui.tsx`, `guide-styles.ts`. Tests:
|
|
177
177
|
`src/guide/*.test.ts`.
|
|
178
178
|
|
|
179
|
+
### 0.1.69
|
|
180
|
+
|
|
181
|
+
- A step can point at a Radix trigger that is shut (a collapsed sidebar
|
|
182
|
+
group header, a dialog's open button). Such triggers carry
|
|
183
|
+
`data-state="closed"` and used to count as absent, so the step waited
|
|
184
|
+
forever. Closed content still counts as absent.
|
|
185
|
+
|
|
179
186
|
### 0.1.68: `@eintrek/erp-shell/guide-core`
|
|
180
187
|
|
|
181
188
|
- A second entry (`exports` map: `"."`, `"./guide-core"`, `"./package.json"`)
|
|
@@ -1883,7 +1883,11 @@ function isPresent(el) {
|
|
|
1883
1883
|
// a row of tabs that scrolls sideways, as long as the row is on screen.
|
|
1884
1884
|
if ((r.right <= 0 || r.left >= window.innerWidth) && !inSidewaysScroller(el))
|
|
1885
1885
|
return false;
|
|
1886
|
-
|
|
1886
|
+
// Closed Radix content (a shut dialog, popover or collapsible body) is
|
|
1887
|
+
// absent. Its trigger also says data-state="closed" while shut, but it is
|
|
1888
|
+
// on screen and is what a step points at (a sidebar group header, a
|
|
1889
|
+
// dialog's open button), so a trigger (aria-expanded) stays present.
|
|
1890
|
+
if (el.getAttribute("data-state") === "closed" && !el.hasAttribute("aria-expanded"))
|
|
1887
1891
|
return false;
|
|
1888
1892
|
const style = getComputedStyle(el);
|
|
1889
1893
|
if (style.visibility === "hidden" || style.display === "none")
|
|
@@ -3834,4 +3838,4 @@ function useFactsKey(facts) {
|
|
|
3834
3838
|
}
|
|
3835
3839
|
|
|
3836
3840
|
export { API_EVENT as A, GUIDE_EVENT_PREFIX as G, GUIDE_LAYER_ATTRIBUTE as a, GuideErrorBoundary as b, GuideProgressConflict as c, GuideRuntime as d, apiCallDetail as e, emitGuideEvent as f, fillRoute as g, guideAnchor as h, matchRoute as i, reportApiEvent as j, loadGuides as l, matchApiPath as m, openGuidePanel as o, reportApiCall as r, storeGuides as s, useGuideEntry as u };
|
|
3837
|
-
//# sourceMappingURL=guide-runtime-
|
|
3841
|
+
//# sourceMappingURL=guide-runtime-CBLovNNu.esm.js.map
|