@zohodesk/dot 1.0.0-temp-187.8 → 1.0.0-temp-187.10

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.
@@ -218,10 +218,7 @@ position: relative;
218
218
  [dir=rtl] .rightPlaceholder{
219
219
  left:var(--zd_size15)
220
220
  }
221
- /* css:lineheight-validation:ignore */
222
- .fieldsListItemClamp {
223
- composes: listItemClamp from '~@zohodesk/components/es/common/common.module.css';
224
- line-height: var(--fields-listitem-lineheight,1.5385);
225
- --line-clamp-count: var(--field-line-clamp,3);
226
- --list-line-clamp-count:var(--line-clamp-count);
221
+
222
+ .lineClampPickListItem{
223
+ --line-clamp: var(--field-line-clamp,3);
227
224
  }
@@ -166,7 +166,7 @@ export default class TagsMultiSelect extends React.Component {
166
166
  TextBoxIconProps = {},
167
167
  TagWrapperProps = {},
168
168
  TagProps = {},
169
- listProps = {}
169
+ ListItemProps = {}
170
170
  } = customProps;
171
171
  const isEditable = !isReadOnly;
172
172
  return /*#__PURE__*/React.createElement("div", {
@@ -302,7 +302,7 @@ export default class TagsMultiSelect extends React.Component {
302
302
  isDisabled: listDisabled,
303
303
  customProps: listItemProps,
304
304
  customClass: listItemClass,
305
- ...listProps
305
+ ...ListItemProps
306
306
  }, isNew ? /*#__PURE__*/React.createElement(Container, {
307
307
  alignBox: "row",
308
308
  align: "vertical"
@@ -53,7 +53,7 @@ export const propTypes = {
53
53
  TextBoxIconProps: PropTypes.object,
54
54
  TagWrapperProps: PropTypes.object,
55
55
  TagProps: PropTypes.object,
56
- listProps: PropTypes.object
56
+ ListItemProps: PropTypes.object
57
57
  }),
58
58
  isFocus: PropTypes.bool
59
59
  };
@@ -52,7 +52,7 @@ class DepartmentDropDown extends Component {
52
52
  customProps
53
53
  } = this.props;
54
54
  const {
55
- toggleDropDownProps = {}
55
+ ToggleDropDownProps = {}
56
56
  } = customProps;
57
57
  let {
58
58
  title = 'Move Department',
@@ -89,7 +89,7 @@ class DepartmentDropDown extends Component {
89
89
  isNextOptions: isNextOptions,
90
90
  onSearch: onSearch,
91
91
  needSearchFetching: needSearchFetching,
92
- ...toggleDropDownProps
92
+ ...ToggleDropDownProps
93
93
  });
94
94
  }
95
95
 
@@ -22,6 +22,6 @@ export const propTypes = {
22
22
  placeholder: PropTypes.string
23
23
  }),
24
24
  customProps: PropTypes.shape({
25
- toggleDropDownProps: PropTypes.object
25
+ ToggleDropDownProps: PropTypes.object
26
26
  })
27
27
  };
@@ -37,8 +37,7 @@
37
37
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
38
38
  }
39
39
  .multiLineValue {
40
- composes: listItemClamp from '~@zohodesk/components/es/common/common.module.css';
41
- --line-clamp-count: 3;
40
+ composes: lineClamp from '~@zohodesk/components/lib/common/common.module.css';
42
41
  }
43
42
  [dir=ltr] .withBorder.active {
44
43
  border-left-color: var(--zdt_statuslistitem_default_active_border);
@@ -53,6 +53,6 @@ export const propTypes = {
53
53
  TextBoxIconProps: PropTypes.object,
54
54
  TagWrapperProps: PropTypes.object,
55
55
  TagProps: PropTypes.object,
56
- listProps: PropTypes.object
56
+ ListItemProps: PropTypes.object
57
57
  })
58
58
  };
@@ -218,10 +218,7 @@ position: relative;
218
218
  [dir=rtl] .rightPlaceholder{
219
219
  left:var(--zd_size15)
220
220
  }
221
- /* css:lineheight-validation:ignore */
222
- .fieldsListItemClamp {
223
- composes: listItemClamp from '~@zohodesk/components/es/common/common.module.css';
224
- line-height: var(--fields-listitem-lineheight,1.5385);
225
- --line-clamp-count: var(--field-line-clamp,3);
226
- --list-line-clamp-count:var(--line-clamp-count);
221
+
222
+ .lineClampPickListItem{
223
+ --line-clamp: var(--field-line-clamp,3);
227
224
  }
@@ -229,8 +229,8 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
229
229
  TagWrapperProps = _customProps$TagWrapp === void 0 ? {} : _customProps$TagWrapp,
230
230
  _customProps$TagProps = customProps.TagProps,
231
231
  TagProps = _customProps$TagProps === void 0 ? {} : _customProps$TagProps,
232
- _customProps$listProp = customProps.listProps,
233
- listProps = _customProps$listProp === void 0 ? {} : _customProps$listProp;
232
+ _customProps$ListItem = customProps.ListItemProps,
233
+ ListItemProps = _customProps$ListItem === void 0 ? {} : _customProps$ListItem;
234
234
  var isEditable = !isReadOnly;
235
235
  return /*#__PURE__*/_react["default"].createElement("div", {
236
236
  className: "".concat(_TagsMultiSelectModule["default"].container, " ").concat(!isReadOnly ? " ".concat(needBorder ? _TagsMultiSelectModule["default"].hasBorder : '', "\n ").concat(needBorder ? _TagsMultiSelectModule["default"]["borderColor_".concat(borderColor)] : _TagsMultiSelectModule["default"].borderColor_transparent, " ").concat(isPopupReady && needBorder || isEditable && isFocus ? _TagsMultiSelectModule["default"].active : '') : '', " ").concat(className),
@@ -353,7 +353,7 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
353
353
  isDisabled: listDisabled,
354
354
  customProps: listItemProps,
355
355
  customClass: listItemClass
356
- }, listProps), isNew ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
356
+ }, ListItemProps), isNew ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
357
357
  alignBox: "row",
358
358
  align: "vertical"
359
359
  }, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
@@ -63,7 +63,7 @@ var propTypes = {
63
63
  TextBoxIconProps: _propTypes["default"].object,
64
64
  TagWrapperProps: _propTypes["default"].object,
65
65
  TagProps: _propTypes["default"].object,
66
- listProps: _propTypes["default"].object
66
+ ListItemProps: _propTypes["default"].object
67
67
  }),
68
68
  isFocus: _propTypes["default"].bool
69
69
  };
@@ -104,8 +104,8 @@ var DepartmentDropDown = /*#__PURE__*/function (_Component) {
104
104
  searchStr = _this$props3.searchStr,
105
105
  i18nKeys = _this$props3.i18nKeys,
106
106
  customProps = _this$props3.customProps;
107
- var _customProps$toggleDr = customProps.toggleDropDownProps,
108
- toggleDropDownProps = _customProps$toggleDr === void 0 ? {} : _customProps$toggleDr;
107
+ var _customProps$ToggleDr = customProps.ToggleDropDownProps,
108
+ ToggleDropDownProps = _customProps$ToggleDr === void 0 ? {} : _customProps$ToggleDr;
109
109
  var _i18nKeys$title = i18nKeys.title,
110
110
  title = _i18nKeys$title === void 0 ? 'Move Department' : _i18nKeys$title,
111
111
  _i18nKeys$searchEmpty = i18nKeys.searchEmptyText,
@@ -143,7 +143,7 @@ var DepartmentDropDown = /*#__PURE__*/function (_Component) {
143
143
  isNextOptions: isNextOptions,
144
144
  onSearch: onSearch,
145
145
  needSearchFetching: needSearchFetching
146
- }, toggleDropDownProps));
146
+ }, ToggleDropDownProps));
147
147
  }
148
148
  }]);
149
149
 
@@ -32,6 +32,6 @@ var propTypes = (_propTypes = {
32
32
  searchErrorText: _propTypes2["default"].string,
33
33
  placeholder: _propTypes2["default"].string
34
34
  })), _defineProperty(_propTypes, "customProps", _propTypes2["default"].shape({
35
- toggleDropDownProps: _propTypes2["default"].object
35
+ ToggleDropDownProps: _propTypes2["default"].object
36
36
  })), _propTypes);
37
37
  exports.propTypes = propTypes;
@@ -37,8 +37,7 @@
37
37
  composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
38
38
  }
39
39
  .multiLineValue {
40
- composes: listItemClamp from '~@zohodesk/components/es/common/common.module.css';
41
- --line-clamp-count: 3;
40
+ composes: lineClamp from '~@zohodesk/components/lib/common/common.module.css';
42
41
  }
43
42
  [dir=ltr] .withBorder.active {
44
43
  border-left-color: var(--zdt_statuslistitem_default_active_border);
@@ -63,7 +63,7 @@ var propTypes = {
63
63
  TextBoxIconProps: _propTypes["default"].object,
64
64
  TagWrapperProps: _propTypes["default"].object,
65
65
  TagProps: _propTypes["default"].object,
66
- listProps: _propTypes["default"].object
66
+ ListItemProps: _propTypes["default"].object
67
67
  })
68
68
  };
69
69
  exports.propTypes = propTypes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.0.0-temp-187.8",
3
+ "version": "1.0.0-temp-187.10",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -37,7 +37,7 @@
37
37
  "sstest": "react-cli sstest",
38
38
  "common_package_build": "cd ../common && npm run build && cd ../dot",
39
39
  "docs": "npm run css:review && review:props && react-cli docs",
40
- "prepublishOnly": "node prePublish.js && npm run css:review && npm run review:props",
40
+ "prepublishOnly": "node prePublish.js && npm run download && npm run css:review",
41
41
  "postpublish": "node postPublish.js",
42
42
  "test-clean": "react-cli clean coverage && react-cli clean ./unittest",
43
43
  "download": "react-cli clean ./node_modules ./package-lock.json && npm install",
@@ -62,8 +62,8 @@
62
62
  "@zohodesk-private/css-variable-migrator": "^1.0.7",
63
63
  "@zohodesk-private/node-plugins": "1.1.8",
64
64
  "@zohodesk-private/react-prop-validator": "1.2.3",
65
- "@zohodesk/a11y": "2.2.7",
66
- "@zohodesk/components": "1.0.0-temp-199.8",
65
+ "@zohodesk/a11y": "2.3.0",
66
+ "@zohodesk/components": "1.2.59",
67
67
  "@zohodesk/hooks": "2.0.5",
68
68
  "@zohodesk/icons": "1.0.70",
69
69
  "@zohodesk/svg": "1.1.22",
@@ -76,13 +76,13 @@
76
76
  "peerDependencies": {
77
77
  "velocity-react": "1.4.3",
78
78
  "@zohodesk/variables": "1.0.0",
79
- "@zohodesk/components": "1.0.0-temp-199.8",
79
+ "@zohodesk/components": "1.2.59",
80
80
  "@zohodesk/icons": "1.0.70",
81
81
  "@zohodesk/svg": "1.1.22",
82
82
  "@zohodesk/virtualizer": "1.0.3",
83
83
  "react-sortable-hoc": "^0.8.3",
84
84
  "@zohodesk/hooks": "2.0.5",
85
85
  "@zohodesk/utils": "1.3.14",
86
- "@zohodesk/a11y": "2.2.7"
86
+ "@zohodesk/a11y": "2.3.0"
87
87
  }
88
88
  }