iguazio.dashboard-react-controls 2.2.17 → 2.2.18

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.
@@ -103,7 +103,7 @@ const useChipCell = (isEditMode, visibleChipsMaxLength) => {
103
103
  setShowChips(true);
104
104
  }
105
105
  }, [chipsSizes, isEditMode]);
106
- (0, _react.useEffect)(() => {
106
+ (0, _react.useLayoutEffect)(() => {
107
107
  resizeChipCell();
108
108
  }, [resizeChipCell]);
109
109
  (0, _react.useEffect)(() => {
@@ -294,7 +294,15 @@ const validationRules = {
294
294
  artifact: {
295
295
  name: [generateRule.validCharacters('a-z A-Z 0-9 - _ .'), generateRule.beginEndWith('a-z A-Z 0-9'), generateRule.length({
296
296
  max: 253
297
- }), generateRule.required()]
297
+ }), generateRule.required()],
298
+ labels: {
299
+ key: [generateRule.notContainCharacters(':'), generateRule.beginEndWith('a-z A-Z 0-9'), generateRule.length({
300
+ max: 255
301
+ })],
302
+ value: [generateRule.beginEndWith('a-z A-Z 0-9'), generateRule.length({
303
+ max: 255
304
+ })]
305
+ }
298
306
  },
299
307
  feature: {
300
308
  sets: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iguazio.dashboard-react-controls",
3
- "version": "2.2.17",
3
+ "version": "2.2.18",
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",