iguazio.dashboard-react-controls 2.0.0 → 2.0.2

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.
package/dist/constants.js CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.validation = exports.TERTIARY_BUTTON = exports.TAB_SHIFT = exports.TAB = exports.SECONDARY_BUTTON = exports.PRIMARY_BUTTON = exports.NOTFOUND_ERROR_STATUS_CODE = exports.MODAL_SM = exports.MODAL_MIN = exports.MODAL_MD = exports.MODAL_MAX = exports.MODAL_LG = exports.LABEL_BUTTON = exports.INTERNAL_SERVER_ERROR_STATUS_CODE = exports.GATEWAY_TIMEOUT_STATUS_CODE = exports.FORBIDDEN_ERROR_STATUS_CODE = exports.DELETE = exports.DANGER_BUTTON = exports.CONFLICT_ERROR_STATUS_CODE = exports.CLICK = exports.BADREQUEST_ERROR_STATUS_CODE = exports.BACKSPACE = void 0;
6
+ exports.validation = exports.TERTIARY_BUTTON = exports.TAB_SHIFT = exports.TAB = exports.SERVICE_UNAVAILABLE_ERROR_STATUS_CODE = exports.SECONDARY_BUTTON = exports.PRIMARY_BUTTON = exports.NOTFOUND_ERROR_STATUS_CODE = exports.MODAL_SM = exports.MODAL_MIN = exports.MODAL_MD = exports.MODAL_MAX = exports.MODAL_LG = exports.LABEL_BUTTON = exports.INTERNAL_SERVER_ERROR_STATUS_CODE = exports.GATEWAY_TIMEOUT_STATUS_CODE = exports.FORBIDDEN_ERROR_STATUS_CODE = exports.DELETE = exports.DANGER_BUTTON = exports.CONFLICT_ERROR_STATUS_CODE = exports.CLICK = exports.BAD_GATEWAY_ERROR_STATUS_CODE = exports.BADREQUEST_ERROR_STATUS_CODE = exports.BACKSPACE = void 0;
7
7
  /*
8
8
  Copyright 2022 Iguazio Systems Ltd.
9
9
  Licensed under the Apache License, Version 2.0 (the "License") with
@@ -103,6 +103,8 @@ const FORBIDDEN_ERROR_STATUS_CODE = exports.FORBIDDEN_ERROR_STATUS_CODE = 403;
103
103
  const NOTFOUND_ERROR_STATUS_CODE = exports.NOTFOUND_ERROR_STATUS_CODE = 404;
104
104
  const CONFLICT_ERROR_STATUS_CODE = exports.CONFLICT_ERROR_STATUS_CODE = 409;
105
105
  const INTERNAL_SERVER_ERROR_STATUS_CODE = exports.INTERNAL_SERVER_ERROR_STATUS_CODE = 500;
106
+ const BAD_GATEWAY_ERROR_STATUS_CODE = exports.BAD_GATEWAY_ERROR_STATUS_CODE = 502;
107
+ const SERVICE_UNAVAILABLE_ERROR_STATUS_CODE = exports.SERVICE_UNAVAILABLE_ERROR_STATUS_CODE = 503;
106
108
  const GATEWAY_TIMEOUT_STATUS_CODE = exports.GATEWAY_TIMEOUT_STATUS_CODE = 504;
107
109
 
108
110
  /*=========== MODAL =============*/
@@ -14,13 +14,15 @@ $secondaryTextColor: $topaz;
14
14
 
15
15
  $actionsCellWidth: 82px;
16
16
 
17
- //Fields and button heights
17
+ // Fields and button heights
18
18
  $fieldDense: 36px;
19
19
  $fieldNormal: 40px;
20
20
  $fieldMedium: 44px;
21
21
  $fieldChunky: 48px;
22
22
 
23
+ // Table row heights
23
24
  $headerRowHeight: 40;
24
25
  $headerRowHeightBig: 50;
26
+ $rowHeightSmall: 50;
25
27
  $rowHeight: 57;
26
28
  $rowHeightExtended: 82;
@@ -331,6 +331,10 @@ const validationRules = {
331
331
  value: [generateRule.beginEndNotWith('s')]
332
332
  }
333
333
  },
334
+ nodeSelectors: {
335
+ key: commonRules.k8sLabels.key,
336
+ value: commonRules.k8sLabels.value
337
+ },
334
338
  environmentVariables: {
335
339
  secretName: [generateRule.validCharacters('a-z A-Z 0-9 - _ .'), generateRule.beginEndWith('a-z A-Z 0-9'), generateRule.noConsecutiveCharacters('.., .–, –.'), generateRule.maxLengthBetweenDelimiters(/[\.\-\_]/, 63, 'periods'), generateRule.length({
336
340
  max: 253
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iguazio.dashboard-react-controls",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
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",