@khanacademy/wonder-blocks-progress-spinner
Advanced tools
Comparing version 1.1.32 to 1.1.33
# @khanacademy/wonder-blocks-progress-spinner | ||
## 1.1.33 | ||
### Patch Changes | ||
- 83486dba: Setting data-test-id attribute based on testId prop | ||
## 1.1.32 | ||
@@ -4,0 +10,0 @@ |
@@ -28,3 +28,4 @@ import * as React from 'react'; | ||
light, | ||
style | ||
style, | ||
testId | ||
} = this.props; | ||
@@ -38,3 +39,4 @@ const height = heights[size]; | ||
height: height, | ||
viewBox: `0 0 ${height} ${height}` | ||
viewBox: `0 0 ${height} ${height}`, | ||
"data-test-id": testId | ||
}, React.createElement(StyledPath, { | ||
@@ -41,0 +43,0 @@ style: [styles.loadingSpinner, { |
@@ -151,3 +151,4 @@ module.exports = | ||
light, | ||
style | ||
style, | ||
testId | ||
} = this.props; | ||
@@ -161,3 +162,4 @@ const height = heights[size]; | ||
height: height, | ||
viewBox: `0 0 ${height} ${height}` | ||
viewBox: `0 0 ${height} ${height}`, | ||
"data-test-id": testId | ||
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__["createElement"](StyledPath, { | ||
@@ -164,0 +166,0 @@ style: [styles.loadingSpinner, { |
{ | ||
"name": "@khanacademy/wonder-blocks-progress-spinner", | ||
"version": "1.1.32", | ||
"version": "1.1.33", | ||
"design": "v1", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -69,3 +69,3 @@ // @flow | ||
render(): React.Node { | ||
const {size, light, style} = this.props; | ||
const {size, light, style, testId} = this.props; | ||
@@ -82,2 +82,3 @@ const height = heights[size]; | ||
viewBox={`0 0 ${height} ${height}`} | ||
data-test-id={testId} | ||
> | ||
@@ -84,0 +85,0 @@ <StyledPath |
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
51486
487