@zohodesk/dot 1.0.0-beta.216 → 1.0.0-beta.217
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,10 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
+
# 1.0.0-beta.217
|
|
6
|
+
|
|
7
|
+
- TagsMultiSelect => boxSize prop added.
|
|
8
|
+
|
|
5
9
|
# 1.0.0-beta.216
|
|
6
10
|
|
|
7
11
|
- CurrencyField => formatCurrency call if check fixed (vavlue will formatted when isActive is false)
|
|
@@ -117,7 +117,8 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
117
117
|
needBorder,
|
|
118
118
|
borderColor,
|
|
119
119
|
getTextBoxChildren,
|
|
120
|
-
htmlId
|
|
120
|
+
htmlId,
|
|
121
|
+
boxSize
|
|
121
122
|
} = this.props;
|
|
122
123
|
let {
|
|
123
124
|
showAll
|
|
@@ -185,7 +186,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
185
186
|
isArrow: false,
|
|
186
187
|
getRef: getContainerRef,
|
|
187
188
|
isBoxPaddingNeed: true,
|
|
188
|
-
size:
|
|
189
|
+
size: boxSize,
|
|
189
190
|
boxPosition: boxPosition,
|
|
190
191
|
isPadding: false,
|
|
191
192
|
customClass: {
|
|
@@ -279,7 +280,8 @@ TagsMultiSelect.propTypes = {
|
|
|
279
280
|
borderColor: PropTypes.oneOf(['transparent', 'default', 'dark']),
|
|
280
281
|
needBorder: PropTypes.bool,
|
|
281
282
|
getTextBoxChildren: PropTypes.func,
|
|
282
|
-
htmlId: PropTypes.string
|
|
283
|
+
htmlId: PropTypes.string,
|
|
284
|
+
boxSize: PropTypes.string
|
|
283
285
|
};
|
|
284
286
|
TagsMultiSelect.defaultProps = {
|
|
285
287
|
className: '',
|
|
@@ -287,7 +289,8 @@ TagsMultiSelect.defaultProps = {
|
|
|
287
289
|
chipNeedToShow: '5',
|
|
288
290
|
borderColor: 'default',
|
|
289
291
|
needBorder: true,
|
|
290
|
-
dataId: ''
|
|
292
|
+
dataId: '',
|
|
293
|
+
boxSize: 'default'
|
|
291
294
|
};
|
|
292
295
|
|
|
293
296
|
if (false) {
|
|
@@ -177,7 +177,8 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
177
177
|
needBorder = _this$props3.needBorder,
|
|
178
178
|
borderColor = _this$props3.borderColor,
|
|
179
179
|
getTextBoxChildren = _this$props3.getTextBoxChildren,
|
|
180
|
-
htmlId = _this$props3.htmlId
|
|
180
|
+
htmlId = _this$props3.htmlId,
|
|
181
|
+
boxSize = _this$props3.boxSize;
|
|
181
182
|
var showAll = this.state.showAll;
|
|
182
183
|
var chipLimit = !isPopupReady ? showAll ? tagsList.length : chipNeedToShow : tagsList.length;
|
|
183
184
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -239,7 +240,7 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
239
240
|
isArrow: false,
|
|
240
241
|
getRef: getContainerRef,
|
|
241
242
|
isBoxPaddingNeed: true,
|
|
242
|
-
size:
|
|
243
|
+
size: boxSize,
|
|
243
244
|
boxPosition: boxPosition,
|
|
244
245
|
isPadding: false,
|
|
245
246
|
customClass: {
|
|
@@ -335,7 +336,8 @@ TagsMultiSelect.propTypes = {
|
|
|
335
336
|
borderColor: _propTypes["default"].oneOf(['transparent', 'default', 'dark']),
|
|
336
337
|
needBorder: _propTypes["default"].bool,
|
|
337
338
|
getTextBoxChildren: _propTypes["default"].func,
|
|
338
|
-
htmlId: _propTypes["default"].string
|
|
339
|
+
htmlId: _propTypes["default"].string,
|
|
340
|
+
boxSize: _propTypes["default"].string
|
|
339
341
|
};
|
|
340
342
|
TagsMultiSelect.defaultProps = {
|
|
341
343
|
className: '',
|
|
@@ -343,7 +345,8 @@ TagsMultiSelect.defaultProps = {
|
|
|
343
345
|
chipNeedToShow: '5',
|
|
344
346
|
borderColor: 'default',
|
|
345
347
|
needBorder: true,
|
|
346
|
-
dataId: ''
|
|
348
|
+
dataId: '',
|
|
349
|
+
boxSize: 'default'
|
|
347
350
|
};
|
|
348
351
|
|
|
349
352
|
if (false) {
|