@zohodesk/components 1.0.0-temp-199.15 → 1.0.0-temp-199.16

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.
@@ -423,7 +423,8 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
423
423
  htmlId = _this$props7.htmlId,
424
424
  isLoading = _this$props7.isLoading,
425
425
  dataSelectorId = _this$props7.dataSelectorId,
426
- customProps = _this$props7.customProps;
426
+ customProps = _this$props7.customProps,
427
+ customClass = _this$props7.customClass;
427
428
  i18nKeys = Object.assign({}, i18nKeys, {
428
429
  emptyText: i18nKeys.emptyText || emptyMessage,
429
430
  searchEmptyText: i18nKeys.searchEmptyText || searchEmptyMessage
@@ -443,6 +444,8 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
443
444
  TextBoxIconProps = _customProps$TextBoxI === void 0 ? {} : _customProps$TextBoxI,
444
445
  _customProps$ListItem = customProps.ListItemProps,
445
446
  ListItemProps = _customProps$ListItem === void 0 ? {} : _customProps$ListItem;
447
+ var _customClass$dropBoxC = customClass.dropBoxClass,
448
+ dropBoxClass = _customClass$dropBoxC === void 0 ? '' : _customClass$dropBoxC;
446
449
  return /*#__PURE__*/_react["default"].createElement("div", {
447
450
  className: "".concat(_SelectModule["default"].container, " ").concat(_SelectModule["default"]["box_".concat(size)], " ").concat(isReadOnly ? _SelectModule["default"].readonly : '', " ").concat(borderColor === 'transparent' ? _SelectModule["default"].transparentContainer : ''),
448
451
  "data-title": isDisabled ? title : null,
@@ -535,7 +538,10 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
535
538
  size: boxSize,
536
539
  isPadding: false,
537
540
  isResponsivePadding: true,
538
- alignBox: "row"
541
+ alignBox: "row",
542
+ customClass: {
543
+ customDropBox: dropBoxClass
544
+ }
539
545
  }, isLoading ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
540
546
  align: "both",
541
547
  className: _SelectModule["default"].loader
@@ -125,5 +125,5 @@ var SelectWithIcon_defaultProps = (_SelectWithIcon_defau = {
125
125
  needListBorder: false,
126
126
  needSearch: false,
127
127
  boxSize: 'default'
128
- }, _defineProperty(_SelectWithIcon_defau, "needListBorder", false), _defineProperty(_SelectWithIcon_defau, "needCloseOnSelect", true), _defineProperty(_SelectWithIcon_defau, "borderColor", 'default'), _defineProperty(_SelectWithIcon_defau, "needTick", true), _defineProperty(_SelectWithIcon_defau, "searchBoxSize", 'small'), _defineProperty(_SelectWithIcon_defau, "size", 'medium'), _defineProperty(_SelectWithIcon_defau, "textBoxSize", 'medium'), _defineProperty(_SelectWithIcon_defau, "textBoxVariant", 'default'), _defineProperty(_SelectWithIcon_defau, "dataId", 'selectWithIcon'), _defineProperty(_SelectWithIcon_defau, "dataSelectorId", 'selectWithIcon'), _defineProperty(_SelectWithIcon_defau, "dropBoxSize", 'small'), _defineProperty(_SelectWithIcon_defau, "needIcon", true), _defineProperty(_SelectWithIcon_defau, "iconSize", '14'), _defineProperty(_SelectWithIcon_defau, "i18nKeys", {}), _defineProperty(_SelectWithIcon_defau, "isLoading", false), _defineProperty(_SelectWithIcon_defau, "isAbsolutePositioningNeeded", true), _defineProperty(_SelectWithIcon_defau, "isRestrictScroll", false), _defineProperty(_SelectWithIcon_defau, "customProps", {}), _SelectWithIcon_defau);
128
+ }, _defineProperty(_SelectWithIcon_defau, "needListBorder", false), _defineProperty(_SelectWithIcon_defau, "needCloseOnSelect", true), _defineProperty(_SelectWithIcon_defau, "borderColor", 'default'), _defineProperty(_SelectWithIcon_defau, "needTick", true), _defineProperty(_SelectWithIcon_defau, "searchBoxSize", 'small'), _defineProperty(_SelectWithIcon_defau, "size", 'medium'), _defineProperty(_SelectWithIcon_defau, "textBoxSize", 'medium'), _defineProperty(_SelectWithIcon_defau, "textBoxVariant", 'default'), _defineProperty(_SelectWithIcon_defau, "dataId", 'selectWithIcon'), _defineProperty(_SelectWithIcon_defau, "dataSelectorId", 'selectWithIcon'), _defineProperty(_SelectWithIcon_defau, "dropBoxSize", 'small'), _defineProperty(_SelectWithIcon_defau, "needIcon", true), _defineProperty(_SelectWithIcon_defau, "iconSize", '14'), _defineProperty(_SelectWithIcon_defau, "i18nKeys", {}), _defineProperty(_SelectWithIcon_defau, "isLoading", false), _defineProperty(_SelectWithIcon_defau, "isAbsolutePositioningNeeded", true), _defineProperty(_SelectWithIcon_defau, "isRestrictScroll", false), _defineProperty(_SelectWithIcon_defau, "customProps", {}), _defineProperty(_SelectWithIcon_defau, "customClass", {}), _SelectWithIcon_defau);
129
129
  exports.SelectWithIcon_defaultProps = SelectWithIcon_defaultProps;
@@ -330,6 +330,9 @@ var SelectWithIcon_propTypes = {
330
330
  DropdownSearchTextBoxProps: _propTypes["default"].object,
331
331
  TextBoxIconProps: _propTypes["default"].object,
332
332
  ListItemProps: _propTypes["default"].object
333
+ }),
334
+ customClass: _propTypes["default"].shape({
335
+ dropBoxClass: _propTypes["default"].string
333
336
  })
334
337
  };
335
338
  exports.SelectWithIcon_propTypes = SelectWithIcon_propTypes;
@@ -260,6 +260,12 @@
260
260
  justify-content: space-between;
261
261
  }
262
262
 
263
+ .justifyFStart {
264
+ -webkit-box-pack: flex-start;
265
+ -ms-flex-pack: flex-start;
266
+ justify-content: flex-start;
267
+ }
268
+
263
269
  .justifyFend {
264
270
  -webkit-box-pack: flex-end;
265
271
  -ms-flex-pack: flex-end;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/components",
3
- "version": "1.0.0-temp-199.15",
3
+ "version": "1.0.0-temp-199.16",
4
4
  "main": "es/index.js",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -71,7 +71,7 @@
71
71
  "@zohodesk/a11y": "2.3.4",
72
72
  "@zohodesk/docstool": "1.0.0-alpha-2",
73
73
  "@zohodesk/hooks": "2.0.5",
74
- "@zohodesk/icons": "1.0.72",
74
+ "@zohodesk/icons": "1.0.74",
75
75
  "@zohodesk/svg": "1.1.22",
76
76
  "@zohodesk/utils": "1.3.14",
77
77
  "@zohodesk/variables": "1.0.0",
@@ -86,7 +86,7 @@
86
86
  "selectn": "1.1.2"
87
87
  },
88
88
  "peerDependencies": {
89
- "@zohodesk/icons": "1.0.72",
89
+ "@zohodesk/icons": "1.0.74",
90
90
  "@zohodesk/variables": "1.0.0",
91
91
  "@zohodesk/svg": "1.1.22",
92
92
  "@zohodesk/virtualizer": "1.0.3",