Socket
Socket
Sign inDemoInstall

@khanacademy/wonder-blocks-cell

Package Overview
Dependencies
Maintainers
1
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@khanacademy/wonder-blocks-cell - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

6

CHANGELOG.md
# @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 @@

8

dist/es/index.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc