@khanacademy/wonder-blocks-popover 5.0.5 → 5.0.7
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 +21 -0
- package/dist/es/index.js +1 -2
- package/dist/index.js +1 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-popover
|
|
2
2
|
|
|
3
|
+
## 5.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [c1f420ad]
|
|
8
|
+
- @khanacademy/wonder-blocks-icon-button@6.0.8
|
|
9
|
+
- @khanacademy/wonder-blocks-modal@7.0.6
|
|
10
|
+
- @khanacademy/wonder-blocks-tooltip@4.0.6
|
|
11
|
+
|
|
12
|
+
## 5.0.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 03bd4c58: Reverts changes to focus manager. Doesn't do what we need it to do, and would require further adjustments or changes to Perseus widgets. Better to just wait for an updated implementation.
|
|
17
|
+
- Updated dependencies [8cfaeab0]
|
|
18
|
+
- Updated dependencies [c162abb4]
|
|
19
|
+
- @khanacademy/wonder-blocks-tokens@4.1.0
|
|
20
|
+
- @khanacademy/wonder-blocks-icon-button@6.0.7
|
|
21
|
+
- @khanacademy/wonder-blocks-modal@7.0.5
|
|
22
|
+
- @khanacademy/wonder-blocks-tooltip@4.0.5
|
|
23
|
+
|
|
3
24
|
## 5.0.5
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/dist/es/index.js
CHANGED
|
@@ -293,9 +293,8 @@ class FocusManager extends React.Component {
|
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
this.changeFocusabilityInsidePopover = (enabled = true) => {
|
|
296
|
+
const tabIndex = enabled ? "0" : "-1";
|
|
296
297
|
this.elementsThatCanBeFocusableInsidePopover.forEach(element => {
|
|
297
|
-
var _element$getAttribute;
|
|
298
|
-
const tabIndex = enabled ? (_element$getAttribute = element.getAttribute("tabIndex")) != null ? _element$getAttribute : "0" : "-1";
|
|
299
298
|
element.setAttribute("tabIndex", tabIndex);
|
|
300
299
|
});
|
|
301
300
|
};
|
package/dist/index.js
CHANGED
|
@@ -323,9 +323,8 @@ class FocusManager extends React__namespace.Component {
|
|
|
323
323
|
}
|
|
324
324
|
};
|
|
325
325
|
this.changeFocusabilityInsidePopover = (enabled = true) => {
|
|
326
|
+
const tabIndex = enabled ? "0" : "-1";
|
|
326
327
|
this.elementsThatCanBeFocusableInsidePopover.forEach(element => {
|
|
327
|
-
var _element$getAttribute;
|
|
328
|
-
const tabIndex = enabled ? (_element$getAttribute = element.getAttribute("tabIndex")) != null ? _element$getAttribute : "0" : "-1";
|
|
329
328
|
element.setAttribute("tabIndex", tabIndex);
|
|
330
329
|
});
|
|
331
330
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-popover",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.7",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@babel/runtime": "^7.18.6",
|
|
20
20
|
"@khanacademy/wonder-blocks-core": "^11.1.0",
|
|
21
|
-
"@khanacademy/wonder-blocks-icon-button": "^6.0.
|
|
22
|
-
"@khanacademy/wonder-blocks-modal": "^7.0.
|
|
23
|
-
"@khanacademy/wonder-blocks-tokens": "^4.
|
|
24
|
-
"@khanacademy/wonder-blocks-tooltip": "^4.0.
|
|
21
|
+
"@khanacademy/wonder-blocks-icon-button": "^6.0.8",
|
|
22
|
+
"@khanacademy/wonder-blocks-modal": "^7.0.6",
|
|
23
|
+
"@khanacademy/wonder-blocks-tokens": "^4.1.0",
|
|
24
|
+
"@khanacademy/wonder-blocks-tooltip": "^4.0.6",
|
|
25
25
|
"@khanacademy/wonder-blocks-typography": "^3.0.5"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|