iguazio.dashboard-react-controls 2.2.13 → 2.2.15
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="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M8.00001 1.33325C4.31801 1.33325 1.33334 4.31792 1.33334 7.99992C1.33334 11.6819 4.31801 14.6666 8.00001 14.6666C11.682 14.6666 14.6667 11.6819 14.6667 7.99992C14.6667 4.31792 11.682 1.33325 8.00001 1.33325ZM8.66668 11.3333H7.33334V7.33325H8.66668V11.3333ZM8.66668 5.99992H7.33334V4.66659H8.66668V5.99992Z" fill="#6279E7"/>
|
|
3
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iguazio.dashboard-react-controls",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.15",
|
|
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",
|