@khanacademy/wonder-blocks-clickable
Advanced tools
Comparing version 0.0.0-PR2192-20240228161454 to 0.0.0-PR2193-20240228222142
# @khanacademy/wonder-blocks-clickable | ||
## 0.0.0-PR2192-20240228161454 | ||
## 0.0.0-PR2193-20240228222142 | ||
### Patch Changes | ||
- 638fc5f3: Fix event bubbling on ClickableBehavior when submit is used. | ||
## 4.1.1 | ||
### Patch Changes | ||
- Updated dependencies [4cfb4977] | ||
- @khanacademy/wonder-blocks-tokens@0.0.0-PR2192-20240228161454 | ||
- @khanacademy/wonder-blocks-tokens@1.1.0 | ||
@@ -10,0 +16,0 @@ ## 4.1.0 |
@@ -307,2 +307,3 @@ import * as React from 'react'; | ||
const event = new window.Event("submit", { | ||
bubbles: true, | ||
cancelable: true | ||
@@ -309,0 +310,0 @@ }); |
@@ -331,2 +331,3 @@ 'use strict'; | ||
const event = new window.Event("submit", { | ||
bubbles: true, | ||
cancelable: true | ||
@@ -333,0 +334,0 @@ }); |
{ | ||
"name": "@khanacademy/wonder-blocks-clickable", | ||
"version": "0.0.0-PR2192-20240228161454", | ||
"version": "0.0.0-PR2193-20240228222142", | ||
"design": "v1", | ||
@@ -20,3 +20,3 @@ "description": "Clickable component for Wonder-Blocks.", | ||
"@khanacademy/wonder-blocks-core": "^6.3.1", | ||
"@khanacademy/wonder-blocks-tokens": "0.0.0-PR2192-20240228161454" | ||
"@khanacademy/wonder-blocks-tokens": "^1.1.0" | ||
}, | ||
@@ -23,0 +23,0 @@ "peerDependencies": { |
@@ -460,2 +460,6 @@ import * as React from "react"; | ||
const event = new window.Event("submit", { | ||
// Tnis is required as event propagation changed in | ||
// React 17. | ||
// @see https://legacy.reactjs.org/blog/2020/10/20/react-v17.html#changes-to-event-delegation | ||
bubbles: true, | ||
cancelable: true, | ||
@@ -462,0 +466,0 @@ }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
242396
4691
+ Added@khanacademy/wonder-blocks-tokens@1.3.1(transitive)
- Removed@khanacademy/wonder-blocks-color@3.0.0(transitive)
- Removed@khanacademy/wonder-blocks-spacing@4.0.1(transitive)
- Removed@khanacademy/wonder-blocks-tokens@0.0.0-PR2192-20240228161454(transitive)