@devtron-labs/devtron-fe-common-lib 1.1.4-beta-11 → 1.1.5-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.
Files changed (34) hide show
  1. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +1 -2
  2. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  3. package/dist/Common/RJSF/Form.d.ts +1 -1
  4. package/dist/Shared/Components/index.d.ts +0 -1
  5. package/dist/Shared/Helpers.d.ts +1 -2
  6. package/dist/Shared/constants.d.ts +0 -1
  7. package/dist/Shared/types.d.ts +3 -5
  8. package/dist/assets/index.css +1 -1
  9. package/dist/{cssMode-pMD8B1jO.js → cssMode-BsTjp5T1.js} +1 -1
  10. package/dist/{freemarker2-CcISUl7w.js → freemarker2-DJtqwgcS.js} +1 -1
  11. package/dist/{handlebars-BqLAxm7V.js → handlebars-A27t-Ka7.js} +1 -1
  12. package/dist/{html-GfF5jONN.js → html-oZx5D2e1.js} +1 -1
  13. package/dist/{htmlMode-DBmPSXFN.js → htmlMode-BbYfuAfq.js} +1 -1
  14. package/dist/{index-UTc9ZFJD.js → index-Bqp36Zxu.js} +39940 -42548
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.js +526 -530
  17. package/dist/{javascript-C8jeEZfA.js → javascript-7Ns1hZ1u.js} +1 -1
  18. package/dist/{jsonMode-CIvgKrmp.js → jsonMode-CSHwDjDg.js} +1 -1
  19. package/dist/{liquid-CyjkVlgX.js → liquid-CJAHXY0w.js} +1 -1
  20. package/dist/{mdx-B1AhgeLh.js → mdx-vt9h9Xpz.js} +1 -1
  21. package/dist/{python-CgIa9y3m.js → python-CnibeM_K.js} +1 -1
  22. package/dist/{razor-CZTseNdv.js → razor-BWWjrM8Q.js} +1 -1
  23. package/dist/{tsMode-DKpl3mxt.js → tsMode-Ddl20Rd2.js} +1 -1
  24. package/dist/{typescript-Br103E8R.js → typescript-DJik4e7z.js} +1 -1
  25. package/dist/{xml-DO0ILYDZ.js → xml-D3mR990w.js} +1 -1
  26. package/dist/{yaml-D0bDBOro.js → yaml-IjO78BY4.js} +1 -1
  27. package/package.json +2 -3
  28. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +0 -3
  29. package/dist/Shared/Components/Backdrop/index.d.ts +0 -1
  30. package/dist/Shared/Components/Backdrop/types.d.ts +0 -8
  31. package/dist/Shared/Components/ConfirmationModal/ConfirmationModal.d.ts +0 -3
  32. package/dist/Shared/Components/ConfirmationModal/index.d.ts +0 -2
  33. package/dist/Shared/Components/ConfirmationModal/types.d.ts +0 -50
  34. package/dist/Shared/Components/ConfirmationModal/utils.d.ts +0 -6
@@ -3,12 +3,11 @@ export declare const KEYBOARD_KEYS_MAP: {
3
3
  readonly Shift: "⇧";
4
4
  readonly Meta: "⌘" | "Win";
5
5
  readonly Alt: "⌥" | "Alt";
6
+ readonly Escape: "Escape";
6
7
  readonly F: "F";
7
8
  readonly E: "E";
8
9
  readonly R: "R";
9
10
  readonly K: "K";
10
- readonly Escape: "Escape";
11
- readonly Enter: "Enter";
12
11
  };
13
12
  export type SupportedKeyboardKeysType = keyof typeof KEYBOARD_KEYS_MAP;
14
13
  export interface ShortcutType {
@@ -1,6 +1,6 @@
1
1
  import { ShortcutType } from './types';
2
2
  export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
3
- keys: ("Alt" | "F" | "E" | "R" | "K" | "Escape" | "Enter" | "Control" | "Shift" | "Meta")[];
3
+ keys: ("Alt" | "Escape" | "F" | "E" | "R" | "K" | "Control" | "Shift" | "Meta")[];
4
4
  id: string;
5
5
  };
6
6
  export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
@@ -1,3 +1,3 @@
1
1
  import { default as RJSF } from '@rjsf/core';
2
2
  import { FormProps } from './types';
3
- export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "name" | "children" | "className" | "disabled" | "id" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "target" | "action" | "tagName" | "autoComplete" | "method" | "noValidate" | "readonly" | "schema" | "uiSchema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<unknown, import('json-schema').JSONSchema7, import('@rjsf/utils').GenericObjectType>>>;
3
+ export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "name" | "children" | "className" | "disabled" | "id" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "target" | "action" | "tagName" | "autoComplete" | "noValidate" | "readonly" | "schema" | "uiSchema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "enctype" | "method" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<unknown, import('json-schema').JSONSchema7, import('@rjsf/utils').GenericObjectType>>>;
@@ -41,5 +41,4 @@ export * from './Collapse';
41
41
  export * from './Security';
42
42
  export * from './Button';
43
43
  export * from './InvalidYAMLTippy';
44
- export * from './ConfirmationModal';
45
44
  export * from './DiffViewer';
@@ -2,7 +2,7 @@ import { ReactElement } from 'react';
2
2
  import { Pair } from 'yaml';
3
3
  import { MaterialHistoryType } from '@Shared/Services/app.types';
4
4
  import { MaterialInfo, SortingOrder, UserApprovalConfigType } from '../Common';
5
- import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, PreventOutsideFocusProps, WebhookEventNameType } from './types';
5
+ import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, WebhookEventNameType } from './types';
6
6
  import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
7
7
  interface HighlightSearchTextProps {
8
8
  /**
@@ -21,7 +21,6 @@ interface HighlightSearchTextProps {
21
21
  export declare const escapeRegExp: (text: string) => string;
22
22
  export declare const highlightSearchText: ({ searchText, text, highlightClasses }: HighlightSearchTextProps) => string;
23
23
  export declare const preventBodyScroll: (lock: boolean) => void;
24
- export declare const preventOutsideFocus: ({ identifier, preventFocus }: PreventOutsideFocusProps) => void;
25
24
  export declare const getIsMaterialInfoAvailable: (materialInfo: MaterialInfo[]) => boolean;
26
25
  export declare const getGitCommitInfo: (materialInfo: MaterialInfo) => GitTriggers;
27
26
  export declare const stringComparatorBySortOrder: (a: string, b: string, sortOrder?: SortingOrder, isCaseSensitive?: boolean) => number;
@@ -417,4 +417,3 @@ export declare const ALL_RESOURCE_KIND_FILTER = "all";
417
417
  export declare const OPEN_NEW_TICKET = "https://enterprise.devtron.ai/portal/en/newticket";
418
418
  export declare const VIEW_ALL_TICKETS = "https://enterprise.devtron.ai/portal/en/myarea";
419
419
  export declare const RAISE_ISSUE = "https://github.com/devtron-labs/devtron/issues/new/choose";
420
- export declare const DEVTRON_BASE_MAIN_ID = "devtron-base-main-identifier";
@@ -85,6 +85,7 @@ export declare enum Nodes {
85
85
  PodDisruptionBudget = "PodDisruptionBudget",
86
86
  Event = "Event",
87
87
  Namespace = "Namespace",
88
+ Node = "Node",
88
89
  Overview = "Overview",
89
90
  MonitoringDashboard = "MonitoringDashboard",
90
91
  UpgradeCluster = "UpgradeCluster"
@@ -453,7 +454,8 @@ export declare enum AggregationKeys {
453
454
  'Custom Resource' = "Custom Resource",
454
455
  'Other Resources' = "Other Resources",
455
456
  Events = "Events",
456
- Namespaces = "Namespaces"
457
+ Namespaces = "Namespaces",
458
+ 'Nodes' = "Nodes"
457
459
  }
458
460
  export type AggregationKeysType = keyof typeof AggregationKeys;
459
461
  export declare enum GitOpsAuthModeType {
@@ -733,8 +735,4 @@ export interface DynamicTabType extends CommonTabArgsType {
733
735
  */
734
736
  lastActiveTabId: string | null;
735
737
  }
736
- export interface PreventOutsideFocusProps {
737
- identifier: string;
738
- preventFocus: boolean;
739
- }
740
738
  export {};