@devtron-labs/devtron-fe-common-lib 0.1.15 → 0.1.17-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.
@@ -4,7 +4,3 @@ export declare const PLACEHOLDERS: {
4
4
  OBJECT_KEY: string;
5
5
  };
6
6
  export declare const DEFAULT_FIELD_TITLE = "Key not available";
7
- export declare const ADD_BUTTON_WIDTH: {
8
- MAX_WIDTH_VALUE: number;
9
- MAX_WIDTH_CLASSNAME: string;
10
- };
@@ -25,4 +25,4 @@ export declare const getRedirectionProps: (url: string) => import('react').Ancho
25
25
  * Infers the type for json schema from value type
26
26
  */
27
27
  export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
28
- export declare const getTippyWrapperWithContent: (content: any, placement?: React.ComponentProps<typeof Tippy>['placement'], truncateWidth?: number) => (children: any) => JSX.Element;
28
+ export declare const getTippyWrapperWithContent: (content: any, placement?: React.ComponentProps<typeof Tippy>['placement']) => (children: any) => JSX.Element;
@@ -17,7 +17,7 @@ export interface SearchBarProps {
17
17
  /**
18
18
  * Input props for the search input
19
19
  */
20
- inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
20
+ inputProps?: React.InputHTMLAttributes<HTMLInputElement> & Partial<Record<'ref', React.MutableRefObject<HTMLInputElement>>>;
21
21
  /**
22
22
  * Class name for the container; can be used for handling width
23
23
  */
@@ -14,5 +14,5 @@ import { SortableTableHeaderCellProps } from './types';
14
14
  * />
15
15
  * ```
16
16
  */
17
- declare const SortableTableHeaderCell: ({ isSorted, triggerSorting, sortOrder, title, disabled, isSortable, }: SortableTableHeaderCellProps) => JSX.Element;
17
+ declare const SortableTableHeaderCell: ({ isSorted, triggerSorting, sortOrder, title, disabled, isSortable, showTippyOnTruncate, }: SortableTableHeaderCellProps) => JSX.Element;
18
18
  export default SortableTableHeaderCell;
@@ -28,4 +28,5 @@ export interface SortableTableHeaderCellProps {
28
28
  * @default true
29
29
  */
30
30
  isSortable?: boolean;
31
+ showTippyOnTruncate?: boolean;
31
32
  }
@@ -1,4 +1,4 @@
1
- import { TippyProps as TippyJSProps } from '@tippyjs/react';
1
+ import { TippyProps } from './Types';
2
2
 
3
- declare const Tippy: ({ truncateWidth, children, ...rest }: TippyJSProps & Record<'truncateWidth', number>) => JSX.Element;
3
+ declare const Tippy: ({ showOnTruncate, children, ...rest }: TippyProps) => JSX.Element;
4
4
  export default Tippy;
@@ -3,6 +3,7 @@ import { Placement } from 'tippy.js';
3
3
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
4
4
  import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.';
5
5
  import { RegistryType } from '../Shared';
6
+ import { TippyProps as TippyJSProps } from '@tippyjs/react';
6
7
 
7
8
  /**
8
9
  * Generic response type object with support for overriding the result type
@@ -815,4 +816,7 @@ export interface EnvironmentHelmResult {
815
816
  allowedDeploymentTypes?: DeploymentAppTypes[];
816
817
  }
817
818
  export type EnvironmentListHelmResponse = ResponseType<EnvironmentListHelmResult[]>;
819
+ export interface TippyProps extends TippyJSProps {
820
+ showOnTruncate?: boolean;
821
+ }
818
822
  export {};
@@ -1,7 +1,7 @@
1
1
  var Le = Object.defineProperty;
2
2
  var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Ne } from "./index-de49e8b9.js";
4
+ import { m as Ne } from "./index-84bba3a8.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as F } from "./index-de49e8b9.js";
1
+ import { m as F } from "./index-84bba3a8.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as i } from "./index-de49e8b9.js";
1
+ import { m as i } from "./index-84bba3a8.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as d } from "./index-de49e8b9.js";
1
+ import { m as d } from "./index-84bba3a8.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,7 +1,7 @@
1
1
  var $e = Object.defineProperty;
2
2
  var qe = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (qe(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Qe } from "./index-de49e8b9.js";
4
+ import { m as Qe } from "./index-84bba3a8.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)