@zohodesk/dot 1.0.0-beta.221 → 1.0.0-beta.225

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.
package/README.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  In this Library, we Provide Some Basic Components to Build Your Application
4
4
 
5
+ # 1.0.0-beta.225
6
+
7
+ - ToggleDropDown, DepartmentDropDown, StatusDropdown search empty text change (Oops to No results found)
8
+
9
+ # 1.0.0-beta.224
10
+
11
+ - className prop added in ImportantNotes
12
+ - palette prop added in ModuleHeader
13
+ - palette prop added in TicketHeader
14
+
15
+ # 1.0.0-beta.223
16
+
17
+ - TagMultiSelect id, onSelectTag prop added.
18
+ - GridStencils UI fix.
19
+
20
+ # 1.0.0-beta.222
21
+
22
+ - TagMultiSelect Keyboard Shortcut Issue Fixed
23
+
5
24
  # 1.0.0-beta.221
6
25
 
7
26
  - editor fontsize prop added
@@ -2,8 +2,7 @@ import React, { Component } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Container } from '@zohodesk/components/lib/Layout';
4
4
  import VelocityAnimationGroup from '@zohodesk/components/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup';
5
- import style from './FreezeLayer.module.css'; //import { Shortcut } from '../utils/KeyboardApi';
6
-
5
+ import style from './FreezeLayer.module.css';
7
6
  import { getZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
8
7
  import { getDotLibraryConfig } from '../Provider/Config';
9
8
  export default class FreezeLayer extends Component {
@@ -53,8 +52,7 @@ export default class FreezeLayer extends Component {
53
52
 
54
53
  if (isActive != prevProps.isActive) {
55
54
  if (isActive) {
56
- this.enableFreeze(); // Shortcut && Shortcut.setState(false);
57
-
55
+ this.enableFreeze();
58
56
  this.setState({
59
57
  isActive: true
60
58
  }, () => {
@@ -63,8 +61,7 @@ export default class FreezeLayer extends Component {
63
61
  });
64
62
  });
65
63
  } else {
66
- this.disableFreeze(); // Shortcut && Shortcut.setState(true);
67
-
64
+ this.disableFreeze();
68
65
  this.setState({
69
66
  isChildActive: false
70
67
  }, () => {
@@ -15,14 +15,15 @@ export default class ImportantNotes extends React.Component {
15
15
  iconSize,
16
16
  children,
17
17
  iconClass,
18
- isCover
18
+ isCover,
19
+ className
19
20
  } = this.props;
20
21
  return /*#__PURE__*/React.createElement(Container, {
21
22
  isInline: !isCover,
22
23
  isCover: false,
23
24
  alignBox: "row",
24
25
  align: "top",
25
- className: style.section
26
+ className: `${style.section} ${className || ''}`
26
27
  }, iconName ? /*#__PURE__*/React.createElement(Box, {
27
28
  className: style.icon,
28
29
  align: "start"
@@ -43,7 +44,8 @@ ImportantNotes.propTypes = {
43
44
  iconName: PropTypes.string,
44
45
  iconSize: PropTypes.string,
45
46
  isCover: PropTypes.bool,
46
- text: PropTypes.string
47
+ text: PropTypes.string,
48
+ className: PropTypes.string
47
49
  };
48
50
  ImportantNotes.defaultProps = {
49
51
  iconName: 'ZD-helpCentre',
@@ -0,0 +1,294 @@
1
+ //$Id$
2
+ let isShortCutEnabled;
3
+ let showShortcut = {};
4
+ let shortcutdatas = {};
5
+ let additionalKey = {};
6
+ let _SpecialKeyMaps = {
7
+ 8: 'backspace',
8
+ 9: 'tab',
9
+ 13: 'enter',
10
+ 16: 'shift',
11
+ 17: 'ctrl',
12
+ 18: 'alt',
13
+ //20: 'capslock',
14
+ 27: 'esc',
15
+ 32: 'space',
16
+ //33: 'pageup',
17
+ //34: 'pagedown',
18
+ //35: 'end',
19
+ //36: 'home',
20
+ 37: 'left',
21
+ 38: 'up',
22
+ 39: 'right',
23
+ 40: 'down',
24
+ 46: 'del',
25
+ 91: 'meta',
26
+ 93: 'meta',
27
+ 224: 'meta',
28
+ 43: 'plus',
29
+ // +
30
+ 61: 'plus',
31
+ // = , in firefox
32
+ 63: 'ques',
33
+ // ?
34
+ 187: 'plus',
35
+ // =
36
+ 191: 'slash' // /
37
+
38
+ };
39
+ export function Shortcut(target) {
40
+ _addEvent(target, 'keypress', keycallback);
41
+
42
+ _addEvent(target, 'keydown', keycallback);
43
+
44
+ _addEvent(target, 'keyup', keycallback);
45
+ }
46
+
47
+ Shortcut.setState = function (isEnabled) {
48
+ isShortCutEnabled = isEnabled;
49
+ };
50
+
51
+ Shortcut.addAll = function (keysObj, props) {
52
+ showShortcut = props.showShortcut;
53
+ isShortCutEnabled && keysObj.map((keyOptions, index) => {
54
+ Shortcut.add(keyOptions.keyCombo, keyOptions.keyCallback(props), keyOptions.keyAction, keyOptions.displayLabel || []);
55
+ return;
56
+ });
57
+ };
58
+ /**
59
+ * @param keycombo = 'z' or 'z+e' or 'shift+a' etc..
60
+ * @param callback = any function
61
+ * @param action = keypress or keydown or keyup
62
+ */
63
+
64
+
65
+ Shortcut.bulkAdd = function (shortcutArray) {
66
+ showShortcut && shortcutArray.map(shortcutObj => {
67
+ Shortcut.add(shortcutObj.keyCombo, shortcutObj.keyCallback, shortcutObj.keyAction, shortcutObj.displayLabel || []);
68
+ });
69
+ };
70
+
71
+ Shortcut.add = function (keycombo, cpFunc, action, displayLabel) {
72
+ if (!keycombo || !isShortCutEnabled) {
73
+ return;
74
+ }
75
+
76
+ let tempjson = {};
77
+
78
+ if (cpFunc === undefined) {
79
+ cpFunc = function (keycode, keyOptions, e) {
80
+ _defaultCallBack(keycode, keyOptions);
81
+ };
82
+ } else {
83
+ let oldfunc = cpFunc;
84
+
85
+ cpFunc = function (keycode, keyOptions, ev) {
86
+ oldfunc(keycode, ev);
87
+ };
88
+ }
89
+
90
+ tempjson.key = keycombo.toLowerCase();
91
+ tempjson.displayLabel = displayLabel;
92
+ tempjson.keyOptions = cpFunc;
93
+ tempjson.action = action || 'keypress';
94
+ shortcutdatas[keycombo.toLowerCase()] = tempjson;
95
+ };
96
+ /*Shortcut.prototype.remove = function(){
97
+
98
+ };*/
99
+
100
+
101
+ Shortcut.removeAll = function () {
102
+ shortcutdatas = {};
103
+ };
104
+
105
+ Shortcut.show = function () {
106
+ return Object.assign({}, shortcutdatas);
107
+ };
108
+
109
+ Shortcut.remove = function (keyCombo) {
110
+ keyCombo = Array.isArray(keyCombo) ? keyCombo : [keyCombo];
111
+ keyCombo.map(key => {
112
+ delete shortcutdatas[key];
113
+ });
114
+ };
115
+
116
+ Shortcut.init = function (doc) {
117
+ let documentshortcut = Shortcut(doc);
118
+
119
+ for (let method in documentshortcut) {
120
+ if (method.charAt(0) !== '_') {
121
+ Shortcut[method] = function (method) {
122
+ return function () {
123
+ return documentshortcut[method](...arguments);
124
+ };
125
+ }(method);
126
+ }
127
+ }
128
+ };
129
+
130
+ function _addEvent(object, type, callback) {
131
+ if (object.addEventListener) {
132
+ object.addEventListener(type, callback, false);
133
+ return;
134
+ }
135
+
136
+ object.attachEvent(`on${type}`, callback);
137
+ }
138
+
139
+ export function keycallback(e) {
140
+ if (!isShortCutEnabled) {
141
+ return;
142
+ }
143
+
144
+ let keyaction = e.type;
145
+
146
+ let keycode = _convertToKeyCharacter(e);
147
+
148
+ if (e.metaKey) {
149
+ return;
150
+ }
151
+
152
+ _bindNeedData(e, keyaction);
153
+
154
+ if ('esc' !== keycode) {
155
+ if (_shortRestrictionPlaces(e)) {
156
+ //return if type any text in input tag or texta area
157
+ return;
158
+ }
159
+ }
160
+
161
+ keycode = _eventModifiers(e) + keycode;
162
+ let keycodedata = shortcutdatas[keycode];
163
+
164
+ if (keycodedata) {
165
+ e.preventDefault();
166
+ }
167
+
168
+ if (keycodedata && keyaction === keycodedata.action && keycodedata.keyOptions) {
169
+ keycodedata.keyOptions && keycodedata.keyOptions(keycode, keycodedata.keyOptions, e);
170
+ showShortcut({
171
+ type: 'SHORTCUT_SHOW',
172
+ displayLabel: keycodedata.displayLabel
173
+ });
174
+ }
175
+ }
176
+
177
+ function _eventModifiers(e) {
178
+ if (e.shiftKey === true && e.metaKey === true) {
179
+ return 'command+shift+';
180
+ }
181
+
182
+ if (e.shiftKey === true && e.ctrlKey === true) {
183
+ return 'ctrl+shift+';
184
+ }
185
+
186
+ if (e.altKey === true && e.ctrlKey === true) {
187
+ return 'alt+ctrl+';
188
+ }
189
+
190
+ if (e.ctrlKey === true) {
191
+ return 'ctrl+';
192
+ }
193
+
194
+ if (e.metaKey === true) {
195
+ return 'command+';
196
+ }
197
+
198
+ if (e.shiftKey === true) {
199
+ return 'shift+';
200
+ }
201
+
202
+ if (additionalKey.zpress === true) {
203
+ return 'z+';
204
+ } else if (additionalKey.apress === true) {
205
+ return 'a+';
206
+ } else if (additionalKey.cpress === true) {
207
+ return 'c+';
208
+ } else if (additionalKey.dpress === true) {
209
+ return 'd+';
210
+ } else if (additionalKey.fpress === true) {
211
+ return 'f+';
212
+ } else if (additionalKey.kpress === true) {
213
+ return 'k+';
214
+ } else if (additionalKey.ppress === true) {
215
+ return 'p+';
216
+ } else if (additionalKey.rpress === true) {
217
+ return 'r+';
218
+ } else if (additionalKey.tpress === true) {
219
+ return 't+';
220
+ } else if (additionalKey.epress === true) {
221
+ return 'e+';
222
+ } else if (additionalKey.lpress === true) {
223
+ return 'l+';
224
+ }
225
+
226
+ return '';
227
+ }
228
+
229
+ function _bindNeedData(e, keyaction) {
230
+ let keyName = String.fromCharCode(e.keyCode).toLowerCase();
231
+
232
+ if (['z', 'a', 'c', 'd', 'f', 'k', 'p', 'r', 't', 'l', 'e'].indexOf(keyName) !== -1) {
233
+ let extraName = `${keyName}press`;
234
+
235
+ if (keyaction === 'keydown') {
236
+ additionalKey = !additionalKey[extraName] ? Object.assign({}, additionalKey, {
237
+ [extraName]: true
238
+ }) : additionalKey;
239
+ additionalKey[extraName] = true;
240
+ } else if (keyaction === 'keyup') {
241
+ additionalKey = !additionalKey[extraName] ? Object.assign({}, additionalKey, {
242
+ [extraName]: false
243
+ }) : additionalKey;
244
+ additionalKey[extraName] = false;
245
+ }
246
+ }
247
+ }
248
+
249
+ function _convertToKeyCharacter(e) {
250
+ let keyCode = e.keyCode || e.charCode;
251
+ let keyName = String.fromCharCode(keyCode).toLowerCase();
252
+ keyName = _SpecialKeyMaps.hasOwnProperty(keyCode) ? _SpecialKeyMaps[keyCode] : keyName;
253
+ return keyName;
254
+ }
255
+
256
+ function _defaultCallBack(keycombo, keyOptions) {
257
+ /*var keyElement = jQuery("[data-shortcut-key='" + keycombo + "']");
258
+ if (keyOptions.callbackflow !== undefined) {
259
+ keycombo = keyOptions.callbackflow.split(',');
260
+ var click = function(i, combo) {
261
+ setTimeout(function() {
262
+ jQuery("[data-shortcut-key='" + combo + "']").trigger('click');
263
+ }, i * 200);
264
+ };
265
+ for (var i = 0; i < keycombo.length; i++) {
266
+ var clickFunc = click.bind(this, i);
267
+ clickFunc(keycombo[i]);
268
+ highLightKeys(keycombo[i]);
269
+ }
270
+ return;
271
+ }
272
+ if (keyElement.length === 1) {
273
+ keyElement.trigger('click');
274
+ highLightKeys(keycombo);
275
+ return;
276
+ }*/
277
+ }
278
+
279
+ function _shortRestrictionPlaces(e) {
280
+ let _target = e.target;
281
+ let {
282
+ tagName
283
+ } = _target;
284
+ let keyCode = e.keyCode || e.charCode;
285
+ let isContentEditable = _target.contentEditable === 'true';
286
+
287
+ if (['TEXTAREA', 'INPUT', 'SELECT'].indexOf(tagName) !== -1 || //!SupportUI.CurrentUser.getKBStatus() ||
288
+ //restrict_keyUI() ||
289
+ keyCode >= 112 && keyCode <= 123 || isContentEditable) {
290
+ return true;
291
+ }
292
+
293
+ return false;
294
+ }
@@ -1,3 +1,5 @@
1
+ import "core-js/modules/es.array.includes";
2
+
1
3
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
4
 
3
5
  import React, { Component, Fragment } from 'react';
@@ -799,8 +801,8 @@ export class ToggleDropDown extends Component {
799
801
  }, ListItemProps)));
800
802
  })) : /*#__PURE__*/React.createElement(CommonEmptyState, {
801
803
  className: style.svgWrapper,
802
- title: searchErrorText || 'oops !',
803
804
  description: searchEmptyHint,
805
+ title: searchErrorText || 'No results',
804
806
  size: "small",
805
807
  getEmptyState: this.emptySearchSVG
806
808
  }) : /*#__PURE__*/React.createElement("div", {
@@ -18,12 +18,20 @@ export default class TagsMultiSelect extends React.Component {
18
18
  this.state = {
19
19
  showAll: false
20
20
  };
21
- this.textBoxRef = /*#__PURE__*/React.createRef();
22
21
  this.emptySearchSVG = this.emptySearchSVG.bind(this);
23
22
  this.onShowAllClick = this.onShowAllClick.bind(this);
24
23
  this.getContainerRef = this.getContainerRef.bind(this);
25
24
  this.onScroll = this.onScroll.bind(this);
26
25
  this.getSelectedItemRef = this.getSelectedItemRef.bind(this);
26
+ this.textInputRef = this.textInputRef.bind(this);
27
+ }
28
+
29
+ textInputRef(el) {
30
+ const {
31
+ getTextInputRef
32
+ } = this.props;
33
+ this.inputEl = el;
34
+ getTextInputRef && getTextInputRef(el);
27
35
  }
28
36
 
29
37
  onScroll() {
@@ -58,10 +66,8 @@ export default class TagsMultiSelect extends React.Component {
58
66
 
59
67
  if (prevProps.isTagListLoading !== isTagListLoading && !isTagListLoading || isPopupReady && prevProps.tagsList.length !== tagsList.length) {
60
68
  setTimeout(() => {
61
- let textBoxElementRef = this.textBoxRef.current;
62
-
63
- if (textBoxElementRef && typeof textBoxElementRef.handleFocus === 'function') {
64
- this.textBoxRef.current.handleFocus();
69
+ if (this.inputEl) {
70
+ this.inputEl.focus();
65
71
  }
66
72
  }, 300);
67
73
  }
@@ -118,7 +124,8 @@ export default class TagsMultiSelect extends React.Component {
118
124
  borderColor,
119
125
  getTextBoxChildren,
120
126
  htmlId,
121
- boxSize
127
+ boxSize,
128
+ onSelectTag
122
129
  } = this.props;
123
130
  let {
124
131
  showAll
@@ -140,17 +147,20 @@ export default class TagsMultiSelect extends React.Component {
140
147
  }, tagsList.length ? /*#__PURE__*/React.createElement(React.Fragment, null, tagsList.map((tag, index) => {
141
148
  let {
142
149
  name,
143
- tagType
150
+ tagType,
151
+ id
144
152
  } = tag;
145
153
  return index < chipLimit ? /*#__PURE__*/React.createElement(Box, {
146
154
  className: style.tag,
147
155
  key: index
148
156
  }, /*#__PURE__*/React.createElement(Tag, {
157
+ id: id,
149
158
  text: name,
150
159
  onRemove: isReadOnly ? null : deleteTag.bind(this, name),
151
160
  closeTitle: i18nKeys.deleteText,
152
161
  palette: tagType === 'SYSTEM' ? 'primary' : 'default',
153
- isReadOnly: isReadOnly
162
+ isReadOnly: isReadOnly,
163
+ onSelectTag: onSelectTag ? onSelectTag : undefined
154
164
  })) : null;
155
165
  }), tagsList.length > chipNeedToShow && !isPopupReady ? /*#__PURE__*/React.createElement(Box, {
156
166
  className: style.moreLess,
@@ -171,7 +181,6 @@ export default class TagsMultiSelect extends React.Component {
171
181
  onChange: handleChange,
172
182
  maxLength: 50,
173
183
  isReadOnly: isReadOnly,
174
- ref: this.textBoxRef,
175
184
  needBorder: false,
176
185
  placeHolder: tagsList.length ? '' : i18nKeys.placeholderText || '-',
177
186
  onClick: !isReadOnly ? handleTogglePopup : undefined,
@@ -179,7 +188,8 @@ export default class TagsMultiSelect extends React.Component {
179
188
  customTBoxWrap: style.custmInp,
180
189
  customTextBox: style.input
181
190
  },
182
- size: "xsmall"
191
+ size: "xsmall",
192
+ inputRef: this.textInputRef
183
193
  }, getTextBoxChildren ? getTextBoxChildren() : null))), isPopupOpen ? /*#__PURE__*/React.createElement(DropBox, {
184
194
  isAnimate: true,
185
195
  isActive: isPopupReady,
@@ -251,6 +261,7 @@ TagsMultiSelect.propTypes = {
251
261
  deleteTag: PropTypes.func,
252
262
  getContainerRef: PropTypes.func,
253
263
  getTargetRef: PropTypes.func,
264
+ getTextInputRef: PropTypes.func,
254
265
  handleChange: PropTypes.func,
255
266
  handleKeyUp: PropTypes.func,
256
267
  handleTogglePopup: PropTypes.func,
@@ -281,7 +292,8 @@ TagsMultiSelect.propTypes = {
281
292
  needBorder: PropTypes.bool,
282
293
  getTextBoxChildren: PropTypes.func,
283
294
  htmlId: PropTypes.string,
284
- boxSize: PropTypes.string
295
+ boxSize: PropTypes.string,
296
+ onSelectTag: PropTypes.func
285
297
  };
286
298
  TagsMultiSelect.defaultProps = {
287
299
  className: '',
@@ -52,7 +52,7 @@ class DepartmentDropDown extends Component {
52
52
  let {
53
53
  title = 'Move Department',
54
54
  searchEmptyText = 'No results found',
55
- searchErrorText = 'OOPS !',
55
+ searchErrorText = 'No results',
56
56
  placeholder = 'Search Department'
57
57
  } = i18nKeys;
58
58
  return /*#__PURE__*/React.createElement(ToggleDropDown, {
@@ -3,7 +3,9 @@
3
3
  border-bottom: 1px solid var(--zdt_gridstencils_default_border);
4
4
  padding: var(--zd_size13) var(--zd_size20) var(--zd_size11);
5
5
  position: relative;
6
- margin-bottom: var(--zd_size10);
6
+ margin: 0 auto var(--zd_size10) auto;
7
+ border-radius: var(--zd_size5);
8
+ width: var(--zd_size265);
7
9
  }
8
10
  .stenLoadbody {
9
11
  margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0;
@@ -408,7 +408,7 @@ export class StatusDropdown extends React.Component {
408
408
  }
409
409
  })))) : isDataLoaded ? /*#__PURE__*/React.createElement(CommonEmptyState, {
410
410
  className: style.svgWrapper,
411
- title: searchErrorText || 'oops !',
411
+ title: searchErrorText || 'No results',
412
412
  description: searchEmptyHint,
413
413
  size: "small",
414
414
  getEmptyState: this.emptySearchSVG
@@ -28,12 +28,13 @@ export default class ModuleHeader extends PureComponent {
28
28
  miniDescription,
29
29
  dataId,
30
30
  closeTitle,
31
- onSearchKeyDown
31
+ onSearchKeyDown,
32
+ palette
32
33
  } = this.props;
33
34
  return /*#__PURE__*/React.createElement(Container, {
34
35
  align: "vertical",
35
36
  alignBox: "row",
36
- className: `${commonStyle.container}`,
37
+ className: `${commonStyle.container} ${commonStyle[`${palette}`]}`,
37
38
  isCover: false,
38
39
  wrap: "wrap",
39
40
  dataId: dataId
@@ -79,7 +80,11 @@ ModuleHeader.propTypes = {
79
80
  title: PropTypes.string,
80
81
  dataId: PropTypes.string,
81
82
  closeTitle: PropTypes.string,
82
- onSearchKeyDown: PropTypes.func
83
+ onSearchKeyDown: PropTypes.func,
84
+ palette: PropTypes.oneOf(['default', 'white'])
85
+ };
86
+ ModuleHeader.defaultProps = {
87
+ palette: 'default'
83
88
  };
84
89
 
85
90
  if (false) {
@@ -31,7 +31,8 @@ export default class TicketHeader extends Component {
31
31
  needOnTypeSearch,
32
32
  getSearchBoxRef,
33
33
  needViewsList,
34
- i18nKeys
34
+ i18nKeys,
35
+ palette
35
36
  } = this.props;
36
37
  let {
37
38
  menuEmptyMessage = 'No matches found'
@@ -39,7 +40,7 @@ export default class TicketHeader extends Component {
39
40
  return /*#__PURE__*/React.createElement(Container, {
40
41
  align: "vertical",
41
42
  alignBox: "row",
42
- className: `${commonStyle.container} ${commonResponsive.container} ${style.container}`,
43
+ className: `${commonStyle.container} ${commonStyle[`${palette}`]} ${commonResponsive.container} ${style.container}`,
43
44
  isCover: false,
44
45
  wrap: "wrap"
45
46
  }, /*#__PURE__*/React.createElement("div", {
@@ -103,10 +104,12 @@ TicketHeader.propTypes = {
103
104
  title: PropTypes.string,
104
105
  i18nKeys: PropTypes.shape({
105
106
  menuEmptyMessage: PropTypes.string
106
- })
107
+ }),
108
+ palette: PropTypes.oneOf(['default', 'white'])
107
109
  };
108
110
  TicketHeader.defaultProps = {
109
- i18nKeys: {}
111
+ i18nKeys: {},
112
+ palette: 'default'
110
113
  };
111
114
 
112
115
  if (false) {
@@ -2,9 +2,15 @@
2
2
  min-height: var(--zd_size51);
3
3
  position: relative;
4
4
  padding: 0 var(--zd_size52) 0 var(--zd_size10);
5
+ }
6
+ .default {
5
7
  background-color: var(--zdt_lookupheader_default_bg);
6
8
  border-bottom: solid 1px var(--zdt_lookupheader_default_border);
7
9
  }
10
+ .white {
11
+ background-color: var(--zdt_lookupheader_white_bg);
12
+ border-bottom: solid 1px var(--zdt_lookupheader_white_border);
13
+ }
8
14
  .searchContainer,
9
15
  .title {
10
16
  margin: 0 var(--zd_size20);
@@ -1,3 +1,5 @@
1
+ import "core-js/modules/es.array.includes";
2
+
1
3
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
4
 
3
5
  import React from 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.0.0-beta.221",
3
+ "version": "1.0.0-beta.225",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "jsnext:main": "es/index.js",
@@ -27,16 +27,17 @@
27
27
  "sstest": "react-cli sstest",
28
28
  "docs": "npm run dubCheck && react-cli docs",
29
29
  "postpublish": "react-cli postpublish",
30
- "download": "rm package-lock.json && rm -rf node_modules/ && npm install"
30
+ "download": "rm package-lock.json && rm -rf node_modules/ && npm install",
31
+ "expublish": "npm publish --tag experimental-version"
31
32
  },
32
33
  "dependencies": {},
33
34
  "devDependencies": {
34
35
  "velocity-react": "1.4.3",
35
36
  "@zohodesk/variables": "1.0.0-beta.29",
36
37
  "@zohodesk/i18n": "1.0.0-beta.7",
37
- "@zohodesk/components": "1.0.0-alpha-234",
38
- "@zohodesk/icons": "1.0.0-beta.98",
39
- "@zohodesk/svg": "1.0.0-beta.42",
38
+ "@zohodesk/components": "1.0.0-alpha-237",
39
+ "@zohodesk/icons": "1.0.0-beta.101",
40
+ "@zohodesk/svg": "1.0.0-beta.43",
40
41
  "@zohodesk/virtualizer": "1.0.3",
41
42
  "react-sortable-hoc": "^0.8.3"
42
43
  },
@@ -44,9 +45,9 @@
44
45
  "velocity-react": "1.4.3",
45
46
  "@zohodesk/variables": "1.0.0-beta.29",
46
47
  "@zohodesk/i18n": "1.0.0-beta.7",
47
- "@zohodesk/components": "1.0.0-alpha-234",
48
- "@zohodesk/icons": "1.0.0-beta.98",
49
- "@zohodesk/svg": "1.0.0-beta.42"
48
+ "@zohodesk/components": "1.0.0-alpha-237",
49
+ "@zohodesk/icons": "1.0.0-beta.101",
50
+ "@zohodesk/svg": "1.0.0-beta.43"
50
51
  },
51
52
  "react-cli": {
52
53
  "preprocessor": {