@tracktor/design-system 4.15.0 → 4.16.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.
@@ -1,5 +1,5 @@
1
1
  import { ChipProps } from '@mui/material';
2
- import { ReactElement } from 'react';
2
+ import { MouseEvent, ReactElement } from 'react';
3
3
  export type KanbanChipFormat = {
4
4
  color: ChipProps["color"];
5
5
  variant?: ChipProps["variant"];
@@ -15,8 +15,8 @@ export declare const defaultKanbanChip: Record<string, KanbanChipFormat>;
15
15
  */
16
16
  export interface EmptyStateProps {
17
17
  title: string;
18
- description: string;
19
- buttonText: string;
18
+ description?: string;
19
+ buttonText?: string;
20
20
  onButtonClick?: () => void;
21
21
  }
22
22
  /**
@@ -25,6 +25,7 @@ export interface EmptyStateProps {
25
25
  export interface SubtitleDataItemProps {
26
26
  text: string;
27
27
  LeftIcon?: ReactElement;
28
+ onClick?: (event: MouseEvent<HTMLElement>) => void;
28
29
  }
29
30
  /**
30
31
  * Props for each item in a Kanban column.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tracktor/design-system",
3
3
  "description": "Tracktor Design System",
4
4
  "sideEffects": false,
5
- "version": "4.15.0",
5
+ "version": "4.16.1",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",