iguazio.dashboard-react-controls 0.0.23 → 0.0.24

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.
@@ -431,14 +431,16 @@ var FormCombobox = function FormCombobox(_ref) {
431
431
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("ul", {
432
432
  className: "form-field-combobox__dropdown-list",
433
433
  children: selectOptions.map(function (option) {
434
- var selectOptionClassNames = (0, _classnames.default)('form-field-combobox__dropdown-list-option', option.className);
435
- return /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
436
- className: selectOptionClassNames,
437
- onClick: function onClick() {
438
- return handleSelectOptionClick(option);
439
- },
440
- children: option.label
441
- }, option.id);
434
+ if (!option.hidden) {
435
+ var selectOptionClassNames = (0, _classnames.default)('form-field-combobox__dropdown-list-option', option.className);
436
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
437
+ className: selectOptionClassNames,
438
+ onClick: function onClick() {
439
+ return handleSelectOptionClick(option);
440
+ },
441
+ children: option.label
442
+ }, option.id);
443
+ }
442
444
  })
443
445
  })
444
446
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iguazio.dashboard-react-controls",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
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",