@khanacademy/wonder-blocks-cell
Advanced tools
Comparing version 2.2.1 to 2.2.2
# @khanacademy/wonder-blocks-cell | ||
## 2.2.2 | ||
### Patch Changes | ||
- f74b7379: Fixes `CellCore` to set the styles properly (removed `marginLeft: auto` from accessory and expanded the content wrapper). | ||
## 2.2.1 | ||
@@ -4,0 +10,0 @@ |
@@ -205,2 +205,4 @@ import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/objectWithoutPropertiesLoose'; | ||
alignSelf: "center", | ||
// Expand the content to fill the available space. | ||
flex: 1, | ||
overflowWrap: "break-word" | ||
@@ -219,7 +221,3 @@ }, | ||
// accessory element overrides that color internally. | ||
color: Color.offBlack64, | ||
// Align the right accessory to the right side of the cell, so we can | ||
// prevent the accessory from shifting left, if the content is too | ||
// short. | ||
marginLeft: "auto" | ||
color: Color.offBlack64 | ||
}, | ||
@@ -226,0 +224,0 @@ |
@@ -370,2 +370,4 @@ module.exports = | ||
alignSelf: "center", | ||
// Expand the content to fill the available space. | ||
flex: 1, | ||
overflowWrap: "break-word" | ||
@@ -384,7 +386,3 @@ }, | ||
// accessory element overrides that color internally. | ||
color: _khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_4___default.a.offBlack64, | ||
// Align the right accessory to the right side of the cell, so we can | ||
// prevent the accessory from shifting left, if the content is too | ||
// short. | ||
marginLeft: "auto" | ||
color: _khanacademy_wonder_blocks_color__WEBPACK_IMPORTED_MODULE_4___default.a.offBlack64 | ||
}, | ||
@@ -391,0 +389,0 @@ |
{ | ||
"name": "@khanacademy/wonder-blocks-cell", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"design": "v1", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -110,5 +110,4 @@ // @flow | ||
subtitle2="Subtitle for article item" | ||
leftAccessory={<Icon icon={icons.contentVideo} size="medium" />} | ||
leftAccessory={<Icon icon={icons.caretLeft} size="small" />} | ||
leftAccessoryStyle={{ | ||
minWidth: Spacing.xxLarge_48, | ||
alignSelf: "flex-start", | ||
@@ -118,5 +117,7 @@ }} | ||
rightAccessoryStyle={{ | ||
minWidth: Spacing.medium_16, | ||
alignSelf: "flex-end", | ||
alignSelf: "flex-start", | ||
}} | ||
style={{ | ||
textAlign: "center", | ||
}} | ||
/> | ||
@@ -123,0 +124,0 @@ ); |
@@ -231,2 +231,4 @@ // @flow | ||
alignSelf: "center", | ||
// Expand the content to fill the available space. | ||
flex: 1, | ||
overflowWrap: "break-word", | ||
@@ -248,6 +250,2 @@ }, | ||
color: Color.offBlack64, | ||
// Align the right accessory to the right side of the cell, so we can | ||
// prevent the accessory from shifting left, if the content is too | ||
// short. | ||
marginLeft: "auto", | ||
}, | ||
@@ -254,0 +252,0 @@ |
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
93575
2413