🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

react-blockly-component

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-blockly-component - npm Package Compare versions

Comparing version
3.2.0
to
3.3.0
+4
-0
CHANGELOG.md

@@ -0,1 +1,5 @@

# Version 3.3.0 - June 7, 2019
* Support expanded property on category (thanks @doper1234)
# Version 3.2.0 - January 17, 2019

@@ -2,0 +6,0 @@

@@ -41,2 +41,3 @@ /* eslint-disable react/no-array-index-key */

colour: category.get('colour'),
expanded: category.get('expanded'),
key: `category_${category.get('name')}_${i}`,

@@ -43,0 +44,0 @@ blocks: category.get('blocks'),

+4
-1

@@ -17,3 +17,3 @@ import React from 'react';

'category',
{ name: this.props.name, custom: this.props.custom, colour: this.props.colour },
{ name: this.props.name, custom: this.props.custom, colour: this.props.colour, expanded: this.props.expanded },
blocks,

@@ -31,2 +31,3 @@ subcategories

colour: PropTypes.string,
expanded: PropTypes.string,
categories: ImmutablePropTypes.list,

@@ -39,2 +40,3 @@ blocks: ImmutablePropTypes.list

colour: null,
expanded: null,
categories: null,

@@ -54,2 +56,3 @@ blocks: null

colour: category.get('colour'),
expanded: category.get('expanded'),
key: key,

@@ -56,0 +59,0 @@ blocks: category.get('blocks'),

{
"name": "react-blockly-component",
"version": "3.2.0",
"version": "3.3.0",
"description": "A React wrapper for the Blockly visual programming editor",

@@ -5,0 +5,0 @@ "main": "dist-modules",

@@ -65,2 +65,3 @@ /* eslint-disable react/no-array-index-key */

colour={category.get('colour')}
expanded={category.get('expanded')}
key={`category_${category.get('name')}_${i}`}

@@ -67,0 +68,0 @@ blocks={category.get('blocks')}

@@ -12,2 +12,3 @@ import React from 'react';

colour: PropTypes.string,
expanded: PropTypes.string,
categories: ImmutablePropTypes.list,

@@ -21,2 +22,3 @@ blocks: ImmutablePropTypes.list,

colour: null,
expanded: null,
categories: null,

@@ -36,2 +38,3 @@ blocks: null,

colour={category.get('colour')}
expanded={category.get('expanded')}
key={key}

@@ -48,3 +51,3 @@ blocks={category.get('blocks')}

return (
<category name={this.props.name} custom={this.props.custom} colour={this.props.colour}>
<category name={this.props.name} custom={this.props.custom} colour={this.props.colour} expanded={this.props.expanded}>
{blocks}

@@ -51,0 +54,0 @@ {subcategories}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display