@tracktor/design-system 4.23.1 → 4.23.2

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/dist/main.js CHANGED
@@ -2330,7 +2330,7 @@ const dt = () => {
2330
2330
  }
2331
2331
  }
2332
2332
  }, VA = { enterDelay: 300, enterNextDelay: 300 }, gn = ({ index: A, style: e, data: n }) => {
2333
- const { palette: r } = dA(), { items: o, onClickItem: i, previewBookingId: a, gutterSize: l } = n, { title: c, subtitles: d, tag: u, image: g, id: E, Footer: y, Alert: h, RightFooter: C, secondaryImage: b, secondaryImageText: S, imageTitle: B, headerTitle: f } = o[A], x = a === E, s = /* @__PURE__ */ t(ae, { title: B, enterDelay: VA.enterDelay, enterNextDelay: VA.enterNextDelay, children: /* @__PURE__ */ t(q, { component: "span", children: /* @__PURE__ */ t(
2333
+ const { palette: r } = dA(), { items: o, onClickItem: i, activeItemId: a, gutterSize: l } = n, { title: c, subtitles: d, tag: u, image: g, id: E, Footer: y, Alert: h, RightFooter: C, secondaryImage: b, secondaryImageText: S, imageTitle: B, headerTitle: f } = o[A], x = a === E, s = /* @__PURE__ */ t(ae, { title: B, enterDelay: VA.enterDelay, enterNextDelay: VA.enterNextDelay, children: /* @__PURE__ */ t(q, { component: "span", children: /* @__PURE__ */ t(
2334
2334
  j1,
2335
2335
  {
2336
2336
  src: g,
@@ -2462,7 +2462,7 @@ const dt = () => {
2462
2462
  disableCount: d,
2463
2463
  loadMoreItems: u,
2464
2464
  itemCount: g,
2465
- previewBookingId: E,
2465
+ activeItemId: E,
2466
2466
  onClickItem: y,
2467
2467
  onInView: h,
2468
2468
  chipColumVariant: C,
@@ -2550,10 +2550,10 @@ const dt = () => {
2550
2550
  index: F.index,
2551
2551
  style: {},
2552
2552
  data: {
2553
+ activeItemId: E,
2553
2554
  gutterSize: a,
2554
2555
  items: r,
2555
- onClickItem: y,
2556
- previewBookingId: E
2556
+ onClickItem: y
2557
2557
  }
2558
2558
  }
2559
2559
  )
@@ -2589,7 +2589,7 @@ const dt = () => {
2589
2589
  chipColumVariant: i,
2590
2590
  chipStatus: a,
2591
2591
  headerColumnChip: l,
2592
- previewBookingId: c = "",
2592
+ activeItemId: c = "",
2593
2593
  chipColumDot: d = !0,
2594
2594
  height: u = "100%",
2595
2595
  itemPerPage: g = 50,
@@ -2642,7 +2642,7 @@ const dt = () => {
2642
2642
  listWidth: E,
2643
2643
  disableCount: n,
2644
2644
  loadMoreItems: h,
2645
- previewBookingId: c,
2645
+ activeItemId: c,
2646
2646
  onClickItem: e,
2647
2647
  name: R,
2648
2648
  label: O,
@@ -4,7 +4,7 @@ type KanbanItemProps = {
4
4
  index: number;
5
5
  style: CSSProperties;
6
6
  data: {
7
- previewBookingId: string;
7
+ activeItemId: string;
8
8
  gutterSize: number;
9
9
  onClickItem: KanbanProps["onClickItem"];
10
10
  items: KanbanDataItemProps[];
@@ -120,9 +120,9 @@ export interface KanbanProps {
120
120
  */
121
121
  onColumnInView?: (name: string) => void;
122
122
  /**
123
- * The ID of the booking to preview, obtained from the URL search parameters.
123
+ * The ID of the currently active item.
124
124
  */
125
- previewBookingId?: string;
125
+ activeItemId?: string;
126
126
  /**
127
127
  * Custom mapping of booking statuses to chip variants/colors.
128
128
  * Keys can be any string, but the value must be { color, variant? }.
@@ -137,5 +137,5 @@ export interface KanbanProps {
137
137
  */
138
138
  emptyState?: ReactElement | EmptyStateProps;
139
139
  }
140
- 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;
140
+ declare const Kanban: ({ data, onClickItem, disableCount, onColumnInView, emptyState, chipColumVariant, chipStatus, headerColumnChip, activeItemId, chipColumDot, height, itemPerPage, listWidth, itemCount, loadMoreItems, }: KanbanProps) => import("@emotion/react/jsx-runtime").JSX.Element;
141
141
  export default Kanban;
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.23.1",
5
+ "version": "4.23.2",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",