@khanacademy/wonder-blocks-cell
Advanced tools
Comparing version 2.1.0 to 2.2.0
# @khanacademy/wonder-blocks-cell | ||
## 2.2.0 | ||
### Minor Changes | ||
- 35b9ef9c: Add target prop to cell. | ||
## 2.1.0 | ||
@@ -4,0 +10,0 @@ |
@@ -147,3 +147,4 @@ import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/objectWithoutPropertiesLoose'; | ||
"aria-label": ariaLabel, | ||
innerStyle | ||
innerStyle, | ||
target | ||
} = props; | ||
@@ -187,3 +188,4 @@ | ||
hideDefaultFocusRing: true, | ||
"aria-label": ariaLabel ? ariaLabel : undefined | ||
"aria-label": ariaLabel ? ariaLabel : undefined, | ||
target: target | ||
}, eventState => renderCell(eventState)); | ||
@@ -190,0 +192,0 @@ } // No click event attached, so just render the cell as-is. |
@@ -312,3 +312,4 @@ module.exports = | ||
"aria-label": ariaLabel, | ||
innerStyle | ||
innerStyle, | ||
target | ||
} = props; | ||
@@ -352,3 +353,4 @@ | ||
hideDefaultFocusRing: true, | ||
"aria-label": ariaLabel ? ariaLabel : undefined | ||
"aria-label": ariaLabel ? ariaLabel : undefined, | ||
target: target | ||
}, eventState => renderCell(eventState)); | ||
@@ -355,0 +357,0 @@ } // No click event attached, so just render the cell as-is. |
{ | ||
"name": "@khanacademy/wonder-blocks-cell", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"design": "v1", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -133,2 +133,3 @@ // @flow | ||
innerStyle, | ||
target, | ||
} = props; | ||
@@ -204,2 +205,3 @@ | ||
aria-label={ariaLabel ? ariaLabel : undefined} | ||
target={target} | ||
> | ||
@@ -206,0 +208,0 @@ {(eventState) => renderCell(eventState)} |
@@ -135,2 +135,10 @@ // @flow | ||
href?: string, | ||
/** | ||
* A target destination window for a link to open in. Should only be used | ||
* when `href` is specified. | ||
* | ||
* TODO(WB-1262): only allow this prop when `href` is also set.t | ||
*/ | ||
target?: "_blank", | ||
|}; |
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
94342
2432