@desynova-digital/components 8.14.1 → 8.14.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,9 +57,6 @@ var CardStack = function (_React$Component) {
57
57
  }
58
58
 
59
59
  _createClass(CardStack, [{
60
- key: 'componentWillMount',
61
- value: function componentWillMount() {}
62
- }, {
63
60
  key: 'cardClick',
64
61
  value: function cardClick(e, idx) {
65
62
  var _this2 = this;
@@ -165,7 +165,7 @@ var Popup = function (_Component) {
165
165
  iconWidth: 18,
166
166
  iconHeight: 18,
167
167
  icon: 'users',
168
- iconBackground: 'tansparent'
168
+ iconBackground: false
169
169
  }),
170
170
  _react2.default.createElement(
171
171
  'p',
@@ -178,7 +178,7 @@ var Popup = function (_Component) {
178
178
  iconWidth: 12,
179
179
  iconHeight: 12,
180
180
  icon: 'cross',
181
- iconBackground: 'tansparent',
181
+ iconBackground: false,
182
182
  onClick: function onClick() {
183
183
  _this2.cancelClick();
184
184
  }
@@ -119,7 +119,7 @@ var SideBar = function (_Component) {
119
119
  iconWidth: 12,
120
120
  iconHeight: 12,
121
121
  icon: 'cross',
122
- iconBackground: 'tansparent',
122
+ iconBackground: false,
123
123
  onClick: function onClick() {
124
124
  _this2.buttonClick('cancel');
125
125
  }
@@ -137,6 +137,7 @@ var SideBar = function (_Component) {
137
137
  return _react2.default.createElement(
138
138
  'div',
139
139
  {
140
+ key: object.field,
140
141
  className: 'btn ' + (object.type || 'default'),
141
142
  onClick: function onClick() {
142
143
  _this2.buttonClick(object.field);
@@ -173,7 +173,7 @@ export default class SideBar extends Component {
173
173
  iconWidth={12}
174
174
  iconHeight={12}
175
175
  icon="cross"
176
- iconBackground="tansparent"
176
+ iconBackground={false}
177
177
  onClick={() => {
178
178
  this.buttonClick('cancel');
179
179
  }}
@@ -187,6 +187,7 @@ export default class SideBar extends Component {
187
187
  sideBarButtonObject.map( (object) => {
188
188
  return (
189
189
  <div
190
+ key={object.field}
190
191
  className={`btn ${object.type || 'default'}`}
191
192
  onClick={ () => { this.buttonClick(object.field) }}
192
193
  >
@@ -312,7 +312,7 @@ var Carousel = function (_React$Component) {
312
312
  CarouselItem,
313
313
  {
314
314
  className: "carousel-item",
315
- key: item.props.id,
315
+ key: item.key || item.props.id,
316
316
  ref: function ref(carouselItem) {
317
317
  _this2._carouselItem = carouselItem;
318
318
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "8.14.1",
3
+ "version": "8.14.4",
4
4
  "description": "Components for Desynova Digital",
5
5
  "main": "index.js",
6
6
  "author": "desynova-digital",
7
7
  "license": "MIT",
8
8
  "repository": "desynova-digital",
9
9
  "dependencies": {
10
- "@desynova-digital/tokens": "8.14.1",
10
+ "@desynova-digital/tokens": "8.14.4",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },