iguazio.dashboard-react-controls 2.2.12 → 2.2.14

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.
@@ -50,10 +50,11 @@ const FormSelect = _ref => {
50
50
  name,
51
51
  onChange,
52
52
  options,
53
+ preventWidthOverflow = false,
53
54
  required,
55
+ scrollToView = true,
54
56
  search = false,
55
57
  selectedItemAction,
56
- scrollToView = true,
57
58
  tooltip = '',
58
59
  withoutBorder = false,
59
60
  withSelectedIcon = true
@@ -291,7 +292,7 @@ const FormSelect = _ref => {
291
292
  autoHorizontalPosition: true
292
293
  },
293
294
  style: {
294
- maxWidth: "".concat(selectWidth < 500 ? 500 : selectWidth, "px"),
295
+ maxWidth: "".concat(selectWidth < 500 && !preventWidthOverflow ? 500 : selectWidth, "px"),
295
296
  minWidth: "".concat(selectWidth, "px")
296
297
  },
297
298
  children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
@@ -340,12 +341,13 @@ FormSelect.propTypes = {
340
341
  disabled: _propTypes.default.bool,
341
342
  hideSelectedOption: _propTypes.default.bool,
342
343
  label: _propTypes.default.string,
344
+ multiple: _propTypes.default.bool,
343
345
  name: _propTypes.default.string.isRequired,
344
346
  options: _types.SELECT_OPTIONS.isRequired,
347
+ preventWidthOverflow: _propTypes.default.bool,
348
+ scrollToView: _propTypes.default.bool,
345
349
  search: _propTypes.default.bool,
346
350
  tooltip: _propTypes.default.string,
347
- multiple: _propTypes.default.bool,
348
- scrollToView: _propTypes.default.bool,
349
351
  withoutBorder: _propTypes.default.bool,
350
352
  withSelectedIcon: _propTypes.default.bool
351
353
  };
@@ -0,0 +1,3 @@
1
+ <svg width="17" height="21" viewBox="0 0 17 21" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0.881836 17.1271V15.1271H2.88184V8.12708C2.88184 6.74374 3.2985 5.51458 4.13184 4.43958C4.96517 3.36458 6.0485 2.66041 7.38184 2.32708V1.62708C7.38184 1.21041 7.52767 0.856242 7.81934 0.564575C8.111 0.272909 8.46517 0.127075 8.88184 0.127075C9.2985 0.127075 9.65267 0.272909 9.94434 0.564575C10.236 0.856242 10.3818 1.21041 10.3818 1.62708V2.32708C11.7152 2.66041 12.7985 3.36458 13.6318 4.43958C14.4652 5.51458 14.8818 6.74374 14.8818 8.12708V15.1271H16.8818V17.1271H0.881836ZM8.88184 20.1271C8.33184 20.1271 7.861 19.9312 7.46934 19.5396C7.07767 19.1479 6.88184 18.6771 6.88184 18.1271H10.8818C10.8818 18.6771 10.686 19.1479 10.2943 19.5396C9.90267 19.9312 9.43184 20.1271 8.88184 20.1271ZM4.88184 15.1271H12.8818V8.12708C12.8818 7.02708 12.4902 6.08541 11.7068 5.30208C10.9235 4.51874 9.98184 4.12708 8.88184 4.12708C7.78184 4.12708 6.84017 4.51874 6.05684 5.30208C5.2735 6.08541 4.88184 7.02708 4.88184 8.12708V15.1271Z" fill="#7F7989"/>
3
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iguazio.dashboard-react-controls",
3
- "version": "2.2.12",
3
+ "version": "2.2.14",
4
4
  "description": "Collection of resources (such as CSS styles, fonts and images) and ReactJS 17.x components to share among different Iguazio React repos.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",