@khanacademy/wonder-blocks-clickable 4.1.1 → 4.1.3

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @khanacademy/wonder-blocks-clickable
2
2
 
3
+ ## 4.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [874081aa]
8
+ - Updated dependencies [874081aa]
9
+ - Updated dependencies [a9bf603a]
10
+ - @khanacademy/wonder-blocks-tokens@1.2.0
11
+
12
+ ## 4.1.2
13
+
14
+ ### Patch Changes
15
+
16
+ - e6433bee: Fix event bubbling on ClickableBehavior when submit is used.
17
+
3
18
  ## 4.1.1
4
19
 
5
20
  ### Patch Changes
package/dist/es/index.js CHANGED
@@ -304,6 +304,7 @@ class ClickableBehavior extends React.Component {
304
304
  while (target) {
305
305
  if (target instanceof window.HTMLFormElement) {
306
306
  const event = new window.Event("submit", {
307
+ bubbles: true,
307
308
  cancelable: true
308
309
  });
309
310
  target.dispatchEvent(event);
package/dist/index.js CHANGED
@@ -328,6 +328,7 @@ class ClickableBehavior extends React__namespace.Component {
328
328
  while (target) {
329
329
  if (target instanceof window.HTMLFormElement) {
330
330
  const event = new window.Event("submit", {
331
+ bubbles: true,
331
332
  cancelable: true
332
333
  });
333
334
  target.dispatchEvent(event);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-clickable",
3
- "version": "4.1.1",
3
+ "version": "4.1.3",
4
4
  "design": "v1",
5
5
  "description": "Clickable component for Wonder-Blocks.",
6
6
  "main": "dist/index.js",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.18.6",
19
19
  "@khanacademy/wonder-blocks-core": "^6.3.1",
20
- "@khanacademy/wonder-blocks-tokens": "^1.1.0"
20
+ "@khanacademy/wonder-blocks-tokens": "^1.2.0"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "aphrodite": "^1.2.5",