@tracktor/design-system 4.16.0 → 4.17.0

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.
@@ -43,6 +43,7 @@ export interface KanbanDataItemProps {
43
43
  Footer?: ReactElement;
44
44
  Alert?: ReactElement;
45
45
  RightFooter?: ReactElement;
46
+ headerTitle?: string;
46
47
  }
47
48
  /**
48
49
  * Props for each column in the Kanban board.
@@ -125,6 +126,5 @@ export interface KanbanProps {
125
126
  */
126
127
  emptyState?: ReactElement | EmptyStateProps;
127
128
  }
128
- export declare const computeKanbanCardHeight: (item: KanbanDataItemProps) => number;
129
129
  declare const Kanban: ({ data, onClickItem, disableCount, onColumnInView, emptyState, chipColumVariant, chipStatus, headerColumnChip, previewBookingId, chipColumDot, height, itemPerPage, listWidth, itemCount, loadMoreItems, }: KanbanProps) => import("@emotion/react/jsx-runtime").JSX.Element;
130
130
  export default Kanban;
@@ -0,0 +1,10 @@
1
+ import { MouseEvent, RefObject } from 'react';
2
+ import { KanbanDataItemProps } from './Kanban';
3
+ export declare const IMG_SIZE = 40;
4
+ export declare const computeKanbanCardHeight: (item: KanbanDataItemProps) => number;
5
+ export declare const useDragScroll: (ref: RefObject<HTMLDivElement | null>) => {
6
+ isDragging: boolean;
7
+ onMouseDown: (e: MouseEvent<HTMLElement>) => void;
8
+ onMouseMove: (e: MouseEvent<HTMLElement>) => void;
9
+ onMouseUp: () => void;
10
+ };
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.16.0",
5
+ "version": "4.17.0",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",