iguazio.dashboard-react-controls 1.4.2 → 1.4.3

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.
@@ -260,7 +260,7 @@ var NewChipForm = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
260
260
  ref: refInputContainer,
261
261
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_NewChipInput.default, {
262
262
  className: labelKeyClassName,
263
- disabled: !isEditable || editConfig.chipIndex !== chipIndex,
263
+ disabled: !isEditable || editConfig.chipIndex && editConfig.chipIndex !== chipIndex,
264
264
  name: keyName,
265
265
  onChange: handleOnChange,
266
266
  onFocus: handleOnFocus,
@@ -274,7 +274,7 @@ var NewChipForm = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
274
274
  children: ":"
275
275
  }), !chipData.isKeyOnly && /*#__PURE__*/(0, _jsxRuntime.jsx)(_NewChipInput.default, {
276
276
  className: labelValueClassName,
277
- disabled: !isEditable || editConfig.chipIndex !== chipIndex,
277
+ disabled: !isEditable || editConfig.chipIndex && editConfig.chipIndex !== chipIndex,
278
278
  name: valueName,
279
279
  onChange: handleOnChange,
280
280
  onFocus: handleOnFocus,
@@ -346,7 +346,7 @@ var validationRules = {
346
346
  },
347
347
  job: {
348
348
  label: [generateRule.validCharactersWithPrefix('a-z A-Z 0-9 - _ .'), generateRule.beginEndWith('a-z A-Z 0-9'), generateRule.length({
349
- max: 56
349
+ max: 75
350
350
  })]
351
351
  }
352
352
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iguazio.dashboard-react-controls",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
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",