@devtron-labs/devtron-fe-common-lib 1.8.1 → 1.8.2-beta-1

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.
@@ -15,39 +15,36 @@ declare const _default: {
15
15
  },
16
16
  "title": "Container Port"
17
17
  },
18
- "resources": {
18
+ "Limits": {
19
19
  "type": "object",
20
- "title": "Resources (CPU & RAM)",
21
- "description": "Minimum and maximum RAM and CPU available to the application",
20
+ "description": "Maximum RAM and CPU available to the application",
21
+ "required": ["CPU", "Memory"],
22
22
  "properties": {
23
- "limits": {
24
- "type": "object",
25
- "description": "Maximum RAM and CPU available to the application",
26
- "required": ["cpu", "memory"],
27
- "properties": {
28
- "cpu": {
29
- "type": "string",
30
- "description": "Maximum allowed CPU limit"
31
- },
32
- "memory": {
33
- "type": "string",
34
- "description": "Maximum allowed memory limit"
35
- }
36
- }
23
+ "CPU": {
24
+ "type": "string",
25
+ "description": "Maximum allowed CPU limit",
26
+ "updatePath": "/resources/limits/cpu"
37
27
  },
38
- "requests": {
39
- "type": "object",
40
- "description": "Minimum RAM and CPU available to the application",
41
- "properties": {
42
- "cpu": {
43
- "type": "string",
44
- "description": "Minimum CPU value"
45
- },
46
- "memory": {
47
- "type": "string",
48
- "description": "Minimum memory value"
49
- }
50
- }
28
+ "Memory": {
29
+ "type": "string",
30
+ "description": "Maximum allowed memory limit",
31
+ "updatePath": "/resources/limits/memory"
32
+ }
33
+ }
34
+ },
35
+ "Requests": {
36
+ "type": "object",
37
+ "description": "Minimum RAM and CPU available to the application",
38
+ "properties": {
39
+ "CPU": {
40
+ "type": "string",
41
+ "description": "Minimum CPU value",
42
+ "updatePath": "/resources/requests/cpu"
43
+ },
44
+ "Memory": {
45
+ "type": "string",
46
+ "description": "Minimum memory value",
47
+ "updatePath": "/resources/requests/memory"
51
48
  }
52
49
  }
53
50
  },
@@ -27,6 +27,7 @@ export declare const iconMap: {
27
27
  'ic-gitlab': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
28
28
  'ic-google-artifact-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
29
29
  'ic-google-container-registry': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
30
+ 'ic-google': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
30
31
  'ic-grid-view': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
31
32
  'ic-heart-green': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
32
33
  'ic-heart-red-animated': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -39,11 +40,15 @@ export declare const iconMap: {
39
40
  'ic-info-outline': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
40
41
  'ic-job-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
41
42
  'ic-k8s-job': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
43
+ 'ic-ldap': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
44
+ 'ic-microsoft': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
42
45
  'ic-missing': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
43
46
  'ic-monitoring': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
44
47
  'ic-node-script': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
48
+ 'ic-oidc': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
45
49
  'ic-open-box': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
46
50
  'ic-open-in-new': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
51
+ 'ic-openshift': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
47
52
  'ic-out-of-sync': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
48
53
  'ic-paper-plane-color': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
49
54
  'ic-quay': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
@@ -0,0 +1,2 @@
1
+ import { SSOProviderIconProps } from './types';
2
+ export declare const SSOProviderIcon: ({ provider, size }: SSOProviderIconProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './SSOProviderIcon';
2
+ export * from './types';
@@ -0,0 +1,10 @@
1
+ import { SSOProvider } from '../../../Common/Constants';
2
+ import { IconsProps } from '../Icon';
3
+ export interface SSOProviderIconProps {
4
+ provider: SSOProvider;
5
+ /**
6
+ * The size of the icon in pixels.
7
+ * @default 20
8
+ */
9
+ size?: IconsProps['size'];
10
+ }
@@ -65,3 +65,4 @@ export * from './RegistryIcon';
65
65
  export * from './GitProviderIcon';
66
66
  export * from './CustomInput';
67
67
  export * from './InfoBlock';
68
+ export * from './SSOProviderIcon';
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path data-style-override="false" fill="#4285F4" d="M21.575 12.225c0-.659-.058-1.284-.158-1.892H12v3.758h5.392c-.242 1.234-.95 2.275-2 2.984v2.5h3.216c1.884-1.742 2.967-4.309 2.967-7.35Z"/>
3
+ <path data-style-override="false" fill="#34A853" d="M12 22c2.7 0 4.958-.9 6.608-2.425l-3.216-2.5c-.9.6-2.042.966-3.392.966-2.608 0-4.817-1.758-5.608-4.133H3.075v2.575C4.717 19.75 8.092 22 12 22Z"/>
4
+ <path data-style-override="false" fill="#FBBC05" d="M6.392 13.908A5.803 5.803 0 0 1 6.075 12c0-.667.117-1.308.317-1.908V7.517H3.075a9.884 9.884 0 0 0 0 8.966l3.317-2.575Z"/>
5
+ <path data-style-override="false" fill="#EA4335" d="M12 5.958c1.475 0 2.792.509 3.833 1.5l2.85-2.85C16.958 2.992 14.7 2 12 2 8.092 2 4.717 4.25 3.075 7.517l3.317 2.575c.791-2.375 3-4.134 5.608-4.134Z"/>
6
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path data-style-override="false" fill="#CB2026" d="M13.636 8.134c.017.006 1.298 2.22 2.576 4.44l.306.531c1.168 2.03 2.246 3.913 2.246 3.933 0 .021-2.867.054-5.71.068l-.516.002-1.507.004h-.475c-1.273 0-2.097-.014-2.09-.032.007-.02.144-.261.368-.655l.184-.322c.433-.755 1.07-1.862 1.734-3.011l.307-.533c1.285-2.222 2.567-4.428 2.578-4.425Zm-7.434-1.28c.014-.003.606.999 1.312 2.229l.27.467.272.474 1.287 2.243.546.952-.745 1.294-.749 1.298-3.697.01L1 15.83l.11-.186.946-1.645.28-.486c1.872-3.25 3.846-6.652 3.866-6.658Zm11.628-.01c.013 0 1.104 1.874 2.28 3.905l.309.533c1.286 2.224 2.572 4.458 2.58 4.497.01.036-.19.046-1.286.049h-2.842l-.05-.078c-.16-.256-3.052-5.309-3.052-5.337 0-.047 2.036-3.57 2.06-3.57ZM9.84 5c.006-.002.109.163.268.427l.178.296c.676 1.132 1.887 3.21 1.939 3.342.014.035-.318.642-.899 1.654-.506.877-.945 1.644-.98 1.701l-.061.1-.09-.136c-.08-.13-.553-.949-1.049-1.814l-.23-.4A104.288 104.288 0 0 1 7.89 8.351c0-.054 1.91-3.341 1.95-3.352Z"/>
3
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 20 20">
2
+ <path data-style-override="false" fill="#F35325" d="M0 0h9.524v9.524H0V0Z"/>
3
+ <path data-style-override="false" fill="#81BC06" d="M10.476 0H20v9.524h-9.524V0Z"/>
4
+ <path data-style-override="false" fill="#05A6F0" d="M0 10.477h9.524V20H0v-9.523Z"/>
5
+ <path data-style-override="false" fill="#FFBA08" d="M10.476 10.477H20V20h-9.524v-9.523Z"/>
6
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path data-style-override="false" fill="#F8931E" d="M11.01 4.621v16.875l3-1.412V3.156l-3 1.465Z"/>
3
+ <path data-style-override="false" fill="#B3B3B3" d="M11.01 21.496v-1.88c-3.424-.43-6-2.3-6-4.543 0-2.125 2.315-3.915 5.473-4.462V8.706c-4.83.583-8.474 3.212-8.474 6.367 0 3.27 3.912 5.973 9 6.423Zm10.803-7.625-.414-4.3-1.543.87-.217-.131c-1.4-.801-3.156-1.368-5.103-1.604v1.905c1.175.204 2.235.579 3.101 1.08l-1.626.918 5.802 1.262Z"/>
4
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
2
+ <path data-style-override="false" fill="#DA2430" d="m7.388 11.16-3.533 1.285c.046.566.143 1.125.28 1.674l3.356-1.222a6.656 6.656 0 0 1-.102-1.738M23 7.253c-.247-.508-.532-1-.862-1.462l-3.531 1.285c.41.42.755.893 1.038 1.399L23 7.253Z"/>
3
+ <path data-style-override="false" fill="#DA2430" d="M16.733 7.232a6.46 6.46 0 0 0-1.505-.979 6.57 6.57 0 0 0-8.95 3.735 6.748 6.748 0 0 0-.346 1.69l-.012.004-.001.013-2.126.774-1.368.505v-.008l-.038.014a10.039 10.039 0 0 1 1.23-5.675C6.13 2.627 11.844.67 16.663 2.955a9.969 9.969 0 0 1 2.642 1.82c.51.473.966.994 1.364 1.551l-3.532 1.286a5.84 5.84 0 0 0-.055-.055l-.01.003a6.816 6.816 0 0 0-.339-.328Z"/>
4
+ <path data-style-override="false" fill="#E82429" d="m2.584 18.68-.006.002A10.235 10.235 0 0 1 1 15.262l3.356-1.223.002.011.022-.008v.001a6.741 6.741 0 0 0 1.055 2.55c.2.285.422.554.668.806l-.014.005.026.027-3.5 1.294-.031-.045Z"/>
5
+ <path data-style-override="false" fill="#DA2430" d="M15.914 17.776a6.563 6.563 0 0 1-6.234.373 6.494 6.494 0 0 1-1.912-1.356l-3.524 1.283.027.037-.002.001a9.984 9.984 0 0 0 3.913 3.31c3.498 1.657 7.467 1.081 10.341-1.148a10.043 10.043 0 0 0 3.087-3.805 10.003 10.003 0 0 0 .91-5.046l-.099.035-.004-.054-3.5 1.293a6.609 6.609 0 0 1-.588 2.288 6.548 6.548 0 0 1-2.415 2.79Z"/>
6
+ <path data-style-override="false" fill="#E82429" d="m19.81 8.414.053-.02c.553 1.136.89 2.371.99 3.636l-3.524 1.282.002-.026-.067.024a6.73 6.73 0 0 0-.815-3.727L19.78 8.35l.03.063Z"/>
7
+ <path data-style-override="false" fill="#C22035" d="m7.393 11.138-3.508 1.296c.045.572.141 1.136.278 1.689l3.332-1.233a6.699 6.699 0 0 1-.101-1.752M22.895 7.2a10.23 10.23 0 0 0-.856-1.475L18.532 7.02c.408.424.75.9 1.03 1.41l3.333-1.23Z"/>
8
+ <path data-style-override="false" fill="#AC223B" d="m3.884 12.435 3.5-1.282-.015.703-3.376 1.275-.109-.697v.001ZM18.533 7.01l3.554-1.219.369.557-3.453 1.221-.47-.559Z"/>
9
+ <path data-style-override="false" fill="#B92135" d="m4.27 18.101 3.503-1.275 1.06 1-3.674 1.38-.89-1.105Zm18.206-6.685-3.559 1.283-.262 1.425 3.794-1.353.027-1.355Z"/>
10
+ </svg>