@trdrs/quickcharts 1.2.0 → 1.3.0
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/CHANGELOG.md +36 -0
- package/README.md +582 -29
- package/dist/{chunk-RDAK5MUM.js → chunk-AA7XKXH4.js} +9 -5
- package/dist/{chunk-RDAK5MUM.js.map → chunk-AA7XKXH4.js.map} +1 -1
- package/dist/drawings.js +1 -1
- package/dist/feature-manifest.json +49 -1
- package/dist/index.d.ts +461 -91
- package/dist/index.js +9956 -8963
- package/dist/index.js.map +1 -1
- package/dist/quickcharts.css +122 -110
- package/dist/theme-manifest.json +90 -2
- package/package.json +1 -1
|
@@ -6049,7 +6049,11 @@ var SWATCH_BLOCKS = [[GREY_RAMP, HUE_BASES], HUE_RAMPS];
|
|
|
6049
6049
|
// src/ui/controls/dom.ts
|
|
6050
6050
|
function focusables(root) {
|
|
6051
6051
|
const nodes = root.querySelectorAll("button, [href], input, select, textarea, [tabindex]");
|
|
6052
|
-
return [...nodes].filter((n) => !n.hasAttribute("disabled") && n.tabIndex >= 0 && !n
|
|
6052
|
+
return [...nodes].filter((n) => !n.hasAttribute("disabled") && n.tabIndex >= 0 && !hiddenWithin(n, root) && n.getAttribute("aria-hidden") !== "true");
|
|
6053
|
+
}
|
|
6054
|
+
function hiddenWithin(node, root) {
|
|
6055
|
+
for (let el2 = node; el2 && el2 !== root; el2 = el2.parentElement) if (el2.hidden) return true;
|
|
6056
|
+
return false;
|
|
6053
6057
|
}
|
|
6054
6058
|
function isRtl(node) {
|
|
6055
6059
|
const dir = node.closest("[dir]")?.getAttribute("dir") ?? (typeof getComputedStyle === "function" ? getComputedStyle(node).direction : "ltr");
|
|
@@ -6862,9 +6866,6 @@ export {
|
|
|
6862
6866
|
serializeDrawingsStore,
|
|
6863
6867
|
restoreDrawings,
|
|
6864
6868
|
drawingTools,
|
|
6865
|
-
editRefused,
|
|
6866
|
-
removableDrawings,
|
|
6867
|
-
removeRows,
|
|
6868
6869
|
CURSOR_MODES,
|
|
6869
6870
|
CURSOR_LABELS,
|
|
6870
6871
|
TRANSIENT_TOOLS,
|
|
@@ -6873,6 +6874,9 @@ export {
|
|
|
6873
6874
|
transientSurvives,
|
|
6874
6875
|
toolAfterPlacement,
|
|
6875
6876
|
cursorButtonArmed,
|
|
6877
|
+
editRefused,
|
|
6878
|
+
removableDrawings,
|
|
6879
|
+
removeRows,
|
|
6876
6880
|
CLONE_OFFSET_PX,
|
|
6877
6881
|
commitText,
|
|
6878
6882
|
cancelText,
|
|
@@ -6956,4 +6960,4 @@ export {
|
|
|
6956
6960
|
NO_DASH,
|
|
6957
6961
|
INPUT_PROPS
|
|
6958
6962
|
};
|
|
6959
|
-
//# sourceMappingURL=chunk-
|
|
6963
|
+
//# sourceMappingURL=chunk-AA7XKXH4.js.map
|