@brightspace-ui/core 2.18.3 → 2.18.4
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/helpers/README.md +2 -2
- package/helpers/mathjax.js +1 -1
- package/package.json +1 -1
package/helpers/README.md
CHANGED
|
@@ -125,7 +125,7 @@ getComposedActiveElement()
|
|
|
125
125
|
// gets the first focusable descendant given a node, including those within the shadow DOM
|
|
126
126
|
getFirstFocusableDescendant(node, includeHidden, predicate)
|
|
127
127
|
|
|
128
|
-
// gets the last
|
|
128
|
+
// gets the last focusable descendant given a node, including those within the shadow DOM
|
|
129
129
|
getLastFocusableDescendant(node, includeHidden)
|
|
130
130
|
|
|
131
131
|
// gets the previous focusable node on the page given a node
|
|
@@ -134,7 +134,7 @@ getPreviousFocusable(node, includeHidden)
|
|
|
134
134
|
// gets the next focusable node on the page given a node
|
|
135
135
|
getNextFocusable(node, includeHidden)
|
|
136
136
|
|
|
137
|
-
// gets the ancestor of the given node
|
|
137
|
+
// gets the nearest focusable ancestor of the given node
|
|
138
138
|
getPreviousFocusableAncestor(node, includeHidden, includeTabbablesOnly)
|
|
139
139
|
|
|
140
140
|
// returns true/false whether the element is focusable
|
package/helpers/mathjax.js
CHANGED
|
@@ -74,7 +74,7 @@ export class HtmlBlockMathRenderer {
|
|
|
74
74
|
return elem;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
const inner = elem.innerHTML.
|
|
77
|
+
const inner = elem.innerHTML.replace(/<mspace linebreak="newline">/gi, `<mspace linebreak="newline" style="${lineBreakStyle}">`);
|
|
78
78
|
|
|
79
79
|
const temp = document.createElement('div');
|
|
80
80
|
temp.style.display = 'none';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.18.
|
|
3
|
+
"version": "2.18.4",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|