@trackunit/react-components 0.0.108 → 0.0.109

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/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),
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-components",
3
- "version": "0.0.108",
3
+ "version": "0.0.109",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "dependencies": {