@zohodesk/components 1.0.0-alpha-230 → 1.0.0-alpha-231

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
@@ -32,6 +32,10 @@ In this Package, we Provide Some Basic Components to Build Web App
32
32
  - TextBoxIcon
33
33
  - Tooltip
34
34
 
35
+ # 1.0.0-alpha-231
36
+
37
+ - DropBox - Position Undefined Issue Solved
38
+
35
39
  # 1.0.0-alpha-230
36
40
 
37
41
  - Avatar, AdvancedGroupMultiSelect, AdvancedMultiSelect, MultiSelect, MultiSelectWithAvatar, GroupSelect, Select, SelectWithAvatar, SelectWithIcon, TextBoxIcon => Tooltip undefined case solved
@@ -117,7 +117,7 @@ export class DropBoxElement extends React.Component {
117
117
  } : {};
118
118
  }
119
119
 
120
- boxPosition = boxPosition ? boxPosition : 'bottomCenter';
120
+ boxPosition = boxPosition && boxPosition != 'undefined' ? boxPosition : 'bottomCenter';
121
121
  const boxDirection = positionMapping[boxPosition].direction;
122
122
  /*getting box direction*/
123
123
 
@@ -1145,7 +1145,8 @@ MultiSelectComponent.defaultProps = {
1145
1145
  textBoxClass: '',
1146
1146
  palette: 'default',
1147
1147
  isSearchClearOnSelect: true,
1148
- needEffect: true
1148
+ needEffect: true,
1149
+ boxSize: 'default'
1149
1150
  };
1150
1151
 
1151
1152
  if (false) {
@@ -171,7 +171,7 @@ var DropBoxElement = /*#__PURE__*/function (_React$Component) {
171
171
  } : {};
172
172
  }
173
173
 
174
- boxPosition = boxPosition ? boxPosition : 'bottomCenter';
174
+ boxPosition = boxPosition && boxPosition != 'undefined' ? boxPosition : 'bottomCenter';
175
175
  var boxDirection = _DropBoxPositionMapping.positionMapping[boxPosition].direction;
176
176
  /*getting box direction*/
177
177
 
@@ -1219,7 +1219,8 @@ MultiSelectComponent.defaultProps = {
1219
1219
  textBoxClass: '',
1220
1220
  palette: 'default',
1221
1221
  isSearchClearOnSelect: true,
1222
- needEffect: true
1222
+ needEffect: true,
1223
+ boxSize: 'default'
1223
1224
  };
1224
1225
 
1225
1226
  if (false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.0.0-alpha-230",
3
+ "version": "1.0.0-alpha-231",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "jsnext:main": "es/index.js",