Comparing version 0.3.84 to 0.3.85
@@ -55,2 +55,6 @@ // # array-item-control component | ||
var isFirstItem = field.fieldIndex === 0; | ||
var isLastMoveableItem = field.fieldIndex === field.parent.value.length - 1; | ||
var removeItemControl = config.createElement('remove-item', { | ||
@@ -61,5 +65,5 @@ field: field, onClick: this.onRemove, onMaybeRemove: this.props.onMaybeRemove, | ||
var moveItemForward = this.props.index < this.props.numItems - 1 ? config.createElement('move-item-forward', { field: field, onClick: this.onMoveForward }) : null; | ||
var moveItemForward = this.props.index < this.props.numItems - 1 ? config.createElement('move-item-forward', { field: field, onClick: this.onMoveForward, classes: { 'is-first-item': isFirstItem } }) : null; | ||
var moveItemBack = this.props.index > 0 ? config.createElement('move-item-back', { field: field, onClick: this.onMoveBack }) : null; | ||
var moveItemBack = this.props.index > 0 ? config.createElement('move-item-back', { field: field, onClick: this.onMoveBack, classes: { 'is-last-item': isLastMoveableItem } }) : null; | ||
@@ -66,0 +70,0 @@ return _react2.default.createElement( |
@@ -316,3 +316,3 @@ 'use strict'; | ||
'div', | ||
{ onClick: this.onFocusClick }, | ||
{ className: 'pretty-text-click-wrapper', onClick: this.onFocusClick }, | ||
_react2.default.createElement( | ||
@@ -319,0 +319,0 @@ 'div', |
{ | ||
"name": "formatic", | ||
"version": "0.3.84", | ||
"version": "0.3.85", | ||
"description": "Automatic, pluggable form generation", | ||
@@ -49,2 +49,3 @@ "main": "./build/lib/index.js", | ||
"marked": "0.3.6", | ||
"node-libs-browser": "2.0.0", | ||
"open": "0.0.5", | ||
@@ -51,0 +52,0 @@ "portscanner": "2.1.1", |
Sorry, the diff of this file is too big to display
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
415516
11866
45