@trackunit/react-components 0.0.108 → 0.0.111
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.
|
@@ -18,4 +18,4 @@ export interface CopyableTextProps extends CommonProps {
|
|
|
18
18
|
* @param {CopyableTextProps} props - The props for the CopyableText component
|
|
19
19
|
* @returns {JSX.Element} CopyableText component
|
|
20
20
|
*/
|
|
21
|
-
export declare const CopyableText: ({ text, alternativeText, dataTestId }: CopyableTextProps) => JSX.Element;
|
|
21
|
+
export declare const CopyableText: ({ text, alternativeText, dataTestId, className }: CopyableTextProps) => JSX.Element;
|
package/components/Tip/Tip.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface TipProps extends CommonProps {
|
|
|
17
17
|
tooltipProps?: Partial<TooltipProps>;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* The Tip component is used to show helpful tips
|
|
20
|
+
* The Tip component is used to show helpful tips or contextual information to the users.
|
|
21
21
|
*
|
|
22
22
|
* @param {TipProps} props - The props for the Tip component
|
|
23
23
|
* @returns {JSX.Element} Tip component
|
|
@@ -40,7 +40,7 @@ export interface TooltipProps {
|
|
|
40
40
|
contentTextType?: TextType;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
* The Tooltip component.
|
|
43
|
+
* The Tooltip component is used to show helpful tips or contextual information to the users.
|
|
44
44
|
*
|
|
45
45
|
* @param {TooltipProps} props - The props for the Tooltip component
|
|
46
46
|
* @returns {JSX.Element} Tooltip component
|
package/index.js
CHANGED
|
@@ -1702,7 +1702,8 @@ const StyledCollapsible = tw.div`
|
|
|
1702
1702
|
const CopyableText = ({
|
|
1703
1703
|
text,
|
|
1704
1704
|
alternativeText,
|
|
1705
|
-
dataTestId
|
|
1705
|
+
dataTestId,
|
|
1706
|
+
className
|
|
1706
1707
|
}) => {
|
|
1707
1708
|
var _a;
|
|
1708
1709
|
|
|
@@ -1716,6 +1717,7 @@ const CopyableText = ({
|
|
|
1716
1717
|
};
|
|
1717
1718
|
|
|
1718
1719
|
return jsx(StyledCopyableText, Object.assign({
|
|
1720
|
+
className: className,
|
|
1719
1721
|
"data-testid": dataTestId,
|
|
1720
1722
|
onClick: handleOnClick,
|
|
1721
1723
|
onAnimationEnd: () => setAnimating(false),
|
|
@@ -2217,7 +2219,7 @@ const StyledText$1 = tw(Text)`
|
|
|
2217
2219
|
`;
|
|
2218
2220
|
|
|
2219
2221
|
/**
|
|
2220
|
-
* The Tooltip component.
|
|
2222
|
+
* The Tooltip component is used to show helpful tips or contextual information to the users.
|
|
2221
2223
|
*
|
|
2222
2224
|
* @param {TooltipProps} props - The props for the Tooltip component
|
|
2223
2225
|
* @returns {JSX.Element} Tooltip component
|
|
@@ -2290,7 +2292,7 @@ const Content = tw.div`
|
|
|
2290
2292
|
`;
|
|
2291
2293
|
|
|
2292
2294
|
/**
|
|
2293
|
-
* The Tip component is used to show helpful tips
|
|
2295
|
+
* The Tip component is used to show helpful tips or contextual information to the users.
|
|
2294
2296
|
*
|
|
2295
2297
|
* @param {TipProps} props - The props for the Tip component
|
|
2296
2298
|
* @returns {JSX.Element} Tip component
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { CommonProps } from "../../common/CommonProps";
|
|
3
|
-
interface GridAreaProps extends CommonProps {
|
|
3
|
+
export interface GridAreaProps extends CommonProps {
|
|
4
4
|
area: string;
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
}
|
|
@@ -11,4 +11,3 @@ interface GridAreaProps extends CommonProps {
|
|
|
11
11
|
* @returns {JSX.Element} GridArea component
|
|
12
12
|
*/
|
|
13
13
|
export declare const GridArea: ({ area, dataTestId, className, children }: GridAreaProps) => JSX.Element;
|
|
14
|
-
export {};
|