@trackunit/react-components 0.1.9 → 0.1.11

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/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@trackunit/react-components",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "dependencies": {
7
- "@trackunit/css-core": "0.0.65",
7
+ "@trackunit/css-core": "0.0.66",
8
8
  "@storybook/addon-docs": "6.5.14",
9
- "@trackunit/tailwind-styled-components": "0.0.50",
9
+ "@trackunit/tailwind-styled-components": "0.0.51",
10
10
  "react": "18.2.0",
11
- "@trackunit/ui-design-tokens": "0.0.52",
12
- "@trackunit/react-core-contexts-test": "0.1.13",
11
+ "@trackunit/ui-design-tokens": "0.0.53",
12
+ "@trackunit/react-core-contexts-test": "0.1.14",
13
13
  "echarts-for-react": "3.0.2",
14
14
  "echarts": "5.4.0",
15
15
  "uuid": "8.3.2",
@@ -17,7 +17,7 @@
17
17
  "date-fns": "2.29.3",
18
18
  "react-day-picker": "8.3.7",
19
19
  "@floating-ui/react": "0.15.1",
20
- "@trackunit/ui-icons": "0.0.54",
20
+ "@trackunit/ui-icons": "0.0.55",
21
21
  "react-browser-hooks": "2.2.4",
22
22
  "react-useportal": "1.0.17",
23
23
  "react-router-dom": "6.4.5",
@@ -33,6 +33,10 @@ export interface CardHeaderProps extends CommonProps {
33
33
  * Children to render in the header
34
34
  */
35
35
  children?: React.ReactNode | null;
36
+ /**
37
+ * Extra className for div container
38
+ */
39
+ extraClassName?: string | undefined;
36
40
  }
37
41
  /**
38
42
  * Header for Cards and Modals.
@@ -40,4 +44,4 @@ export interface CardHeaderProps extends CommonProps {
40
44
  * @param {CardHeaderProps} props - The props for the CardHeader component
41
45
  * @returns {JSX.Element} CardHeader component
42
46
  */
43
- export declare const CardHeader: ({ heading, headingVariant, subHeading, onClose, dataTestId, className, children, accessories, density, }: CardHeaderProps) => JSX.Element;
47
+ export declare const CardHeader: ({ heading, headingVariant, subHeading, onClose, dataTestId, className, children, accessories, density, extraClassName, }: CardHeaderProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { CommonProps } from "../../common";
2
+ import { CommonProps } from "../../common/CommonProps";
3
3
  declare type Size = "compact" | "full";
4
4
  export interface ChartData<T extends object = object> {
5
5
  /**
@@ -1 +0,0 @@
1
- export {};