@devtron-labs/devtron-fe-common-lib 1.1.4-beta-5 → 1.1.4-beta-8

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 +0 -4
  8. package/dist/assets/index.css +1 -1
  9. package/dist/{cssMode-DijATgFg.js → cssMode-Bf5Hu6cD.js} +1 -1
  10. package/dist/{freemarker2-CTOtkJCm.js → freemarker2-CPyakooZ.js} +1 -1
  11. package/dist/{handlebars-DPYCGWKX.js → handlebars-BvCuRDHL.js} +1 -1
  12. package/dist/{html-CqmhepzL.js → html-DkeSVQU7.js} +1 -1
  13. package/dist/{htmlMode-CoaHAVSH.js → htmlMode-ZKDivxWS.js} +1 -1
  14. package/dist/{index-DJjghGZM.js → index-COUbz6y7.js} +31754 -35967
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.js +526 -530
  17. package/dist/{javascript-Cj9S27lm.js → javascript-Cc9JM08G.js} +1 -1
  18. package/dist/{jsonMode-D_096zfL.js → jsonMode-B5suqer0.js} +1 -1
  19. package/dist/{liquid-BOSA8RMt.js → liquid-dHkrfaAb.js} +1 -1
  20. package/dist/{mdx-BJhxaaUo.js → mdx-K-b16pHI.js} +1 -1
  21. package/dist/{python-CtW6EH6F.js → python-BEQw9q2F.js} +1 -1
  22. package/dist/{razor-B8Ys1Q1K.js → razor-DS9_q7rw.js} +1 -1
  23. package/dist/{tsMode-DTmPNbFG.js → tsMode-2eXKVK3Y.js} +1 -1
  24. package/dist/{typescript-DRij1F3K.js → typescript-4eHW0X1C.js} +1 -1
  25. package/dist/{xml-CRhIK58B.js → xml-CybYRT2q.js} +1 -1
  26. package/dist/{yaml-CHn8bmXs.js → yaml-qXw5VYu9.js} +1 -1
  27. package/package.json +1 -2
  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";
@@ -733,8 +733,4 @@ export interface DynamicTabType extends CommonTabArgsType {
733
733
  */
734
734
  lastActiveTabId: string | null;
735
735
  }
736
- export interface PreventOutsideFocusProps {
737
- identifier: string;
738
- preventFocus: boolean;
739
- }
740
736
  export {};