@devtron-labs/devtron-fe-common-lib 0.2.1 → 0.2.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/Common/RJSF/constants.d.ts +0 -4
- package/dist/Common/RJSF/utils.d.ts +0 -2
- package/dist/Common/SearchBar/types.d.ts +1 -1
- package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -1
- package/dist/Common/SortableTableHeaderCell/types.d.ts +5 -0
- package/dist/Common/Tooltip/Tooltip.d.ts +4 -0
- package/dist/Common/Tooltip/index.d.ts +1 -0
- package/dist/Common/Tooltip/types.d.ts +33 -0
- package/dist/Common/index.d.ts +1 -1
- package/dist/{cssMode-ff7b28ed.js → cssMode-3cc0626f.js} +1 -1
- package/dist/{freemarker2-d7cb7ecb.js → freemarker2-ac689f40.js} +1 -1
- package/dist/{handlebars-a864e9e7.js → handlebars-df220e58.js} +1 -1
- package/dist/{html-46ef1a3c.js → html-24c32420.js} +1 -1
- package/dist/{htmlMode-305d8331.js → htmlMode-c1e9aa66.js} +1 -1
- package/dist/{index-3b5b3392.js → index-798391c7.js} +11750 -11755
- package/dist/index.js +8 -8
- package/dist/{javascript-f981d833.js → javascript-781200e8.js} +1 -1
- package/dist/{jsonMode-88428091.js → jsonMode-5ad5d8e6.js} +1 -1
- package/dist/{liquid-330a3d26.js → liquid-0d98acc3.js} +1 -1
- package/dist/{mdx-916cf8dd.js → mdx-c91c7145.js} +1 -1
- package/dist/{python-72b31467.js → python-73bd14bc.js} +1 -1
- package/dist/{razor-a9b6ed22.js → razor-50abfb41.js} +1 -1
- package/dist/{tsMode-3b90c215.js → tsMode-4dde1bb3.js} +1 -1
- package/dist/{typescript-1c340db6.js → typescript-d699e8b8.js} +1 -1
- package/dist/{xml-1dbe56e6.js → xml-a49f5f8a.js} +1 -1
- package/dist/{yaml-505221d9.js → yaml-8c7292a9.js} +1 -1
- package/package.json +1 -1
- package/dist/Common/Tippy.d.ts +0 -4
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TranslatableString } from '@rjsf/utils';
|
|
2
|
-
import { default as Tippy } from '../Tippy';
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* Override for the TranslatableString from RJSF
|
|
@@ -25,4 +24,3 @@ export declare const getRedirectionProps: (url: string) => import('react').Ancho
|
|
|
25
24
|
* Infers the type for json schema from value type
|
|
26
25
|
*/
|
|
27
26
|
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;
|
|
@@ -18,7 +18,7 @@ export interface SearchBarProps {
|
|
|
18
18
|
/**
|
|
19
19
|
* Input props for the search input
|
|
20
20
|
*/
|
|
21
|
-
inputProps?: React.InputHTMLAttributes<HTMLInputElement
|
|
21
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement> & Partial<Record<'ref', React.MutableRefObject<HTMLInputElement>>>;
|
|
22
22
|
/**
|
|
23
23
|
* Class name for the container; can be used for handling width
|
|
24
24
|
*/
|
|
@@ -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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Tooltip } from './Tooltip';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { TippyProps } from '@tippyjs/react';
|
|
2
|
+
|
|
3
|
+
type BaseTooltipProps = {
|
|
4
|
+
/**
|
|
5
|
+
* If true, show tippy on truncate
|
|
6
|
+
* @default true
|
|
7
|
+
*/
|
|
8
|
+
showOnTruncate?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* If showOnTruncate is defined this prop doesn't work
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
alwaysShowTippyOnHover?: never;
|
|
14
|
+
} | {
|
|
15
|
+
/**
|
|
16
|
+
* If alwaysShowTippyOnHover is defined this prop doesn't work
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
showOnTruncate?: never;
|
|
20
|
+
/**
|
|
21
|
+
* If true, wrap with tippy irrespective of other options
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
alwaysShowTippyOnHover?: boolean;
|
|
25
|
+
};
|
|
26
|
+
export type TooltipProps = BaseTooltipProps & TippyProps & {
|
|
27
|
+
/**
|
|
28
|
+
* If true, apply dc__word-break-all
|
|
29
|
+
* @default true
|
|
30
|
+
*/
|
|
31
|
+
wordBreak?: boolean;
|
|
32
|
+
};
|
|
33
|
+
export {};
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -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-
|
|
4
|
+
import { m as Ne } from "./index-798391c7.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-
|
|
1
|
+
import { m as F } from "./index-798391c7.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-
|
|
1
|
+
import { m as i } from "./index-798391c7.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-
|
|
1
|
+
import { m as d } from "./index-798391c7.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-
|
|
4
|
+
import { m as Qe } from "./index-798391c7.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|