@altimateai/ui-components 0.0.10-beta.2 → 0.0.10-beta.3

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/CoachForm.js CHANGED
@@ -49248,22 +49248,25 @@ const Ore = /* @__PURE__ */ Eo(Rre), $T = ({ artifacts: e }) => {
49248
49248
  ) }) : null;
49249
49249
  }, Ure = "_citations_18435_1", Hre = {
49250
49250
  citations: Ure
49251
- }, zre = ({ citations: e }) => {
49252
- const { urls: t } = Yr();
49253
- if (!(e != null && e.length) || !(t != null && t.frontendUrl))
49251
+ }, zre = ({
49252
+ citations: e,
49253
+ frontEndUrl: t
49254
+ }) => {
49255
+ const { urls: n } = Yr();
49256
+ if (!(e != null && e.length) || !(n != null && n.frontendUrl || t))
49254
49257
  return null;
49255
- const n = t.frontendUrl;
49258
+ const r = (n == null ? void 0 : n.frontendUrl) || t;
49256
49259
  return /* @__PURE__ */ U.jsxs(ea, { className: Hre.citations, children: [
49257
49260
  "Learnings applied:",
49258
- /* @__PURE__ */ U.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((r, i) => /* @__PURE__ */ U.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ U.jsx(
49261
+ /* @__PURE__ */ U.jsx("ul", { style: { padding: 0, display: "flex", gap: 8, marginTop: -2 }, children: e.map((i, a) => /* @__PURE__ */ U.jsx("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ U.jsx(
49259
49262
  b8,
49260
49263
  {
49261
49264
  tag: "a",
49262
- href: `${n}/teammates/${r.taskLabel}?learning=${r.id}`,
49263
- tooltip: r.content,
49264
- children: i + 1
49265
+ href: `${r}/teammates/${i.taskLabel}?learning=${i.id}`,
49266
+ tooltip: i.content,
49267
+ children: a + 1
49265
49268
  }
49266
- ) }, r.id)) })
49269
+ ) }, i.id)) })
49267
49270
  ] });
49268
49271
  }, jre = ({ text: e }) => {
49269
49272
  const { sendMessage: t } = Iu();
@@ -50102,43 +50105,44 @@ ${i}
50102
50105
  return t != null && t.formComponent ? /* @__PURE__ */ U.jsx(t.formComponent, { ...e }) : /* @__PURE__ */ U.jsx(sre, { ...e });
50103
50106
  };
50104
50107
  export {
50105
- ma as $,
50108
+ Qre as $,
50106
50109
  $T as A,
50107
- ht as B,
50110
+ i2 as B,
50108
50111
  Kre as C,
50109
- FU as D,
50110
- Jr as E,
50112
+ ht as D,
50113
+ FU as E,
50111
50114
  Dre as F,
50112
- xr as G,
50113
- $U as H,
50115
+ Jr as G,
50116
+ xr as H,
50114
50117
  Mre as I,
50115
- To as J,
50116
- ra as K,
50118
+ $U as J,
50119
+ To as K,
50117
50120
  Gre as L,
50118
50121
  Yre as M,
50119
- zr as N,
50120
- Ks as O,
50121
- lr as P,
50122
+ ra as N,
50123
+ zr as O,
50124
+ Ks as P,
50122
50125
  $re as Q,
50123
50126
  Bre as R,
50124
50127
  XT as S,
50125
- zT as T,
50128
+ lr as T,
50126
50129
  yt as U,
50127
- Aie as V,
50128
- rre as W,
50129
- KT as X,
50130
- QT as Y,
50131
- b8 as Z,
50132
- Qre as _,
50130
+ zT as V,
50131
+ Aie as W,
50132
+ rre as X,
50133
+ KT as Y,
50134
+ QT as Z,
50135
+ b8 as _,
50133
50136
  qT as a,
50134
- tie as a0,
50135
- $W as a1,
50136
- Lh as a2,
50137
- nie as a3,
50138
- pi as a4,
50139
- Lu as a5,
50140
- BT as a6,
50141
- ure as a7,
50137
+ ma as a0,
50138
+ tie as a1,
50139
+ $W as a2,
50140
+ Lh as a3,
50141
+ nie as a4,
50142
+ pi as a5,
50143
+ Lu as a6,
50144
+ BT as a7,
50145
+ ure as a8,
50142
50146
  Xre as b,
50143
50147
  Pre as c,
50144
50148
  qre as d,
@@ -50146,22 +50150,22 @@ export {
50146
50150
  Fre as f,
50147
50151
  jre as g,
50148
50152
  Iu as h,
50149
- _r as i,
50150
- FB as j,
50151
- Cr as k,
50152
- fe as l,
50153
- K as m,
50154
- at as n,
50155
- dt as o,
50153
+ zre as i,
50154
+ _r as j,
50155
+ FB as k,
50156
+ Cr as l,
50157
+ fe as m,
50158
+ K as n,
50159
+ at as o,
50156
50160
  L_ as p,
50157
- ad as q,
50158
- Ju as r,
50161
+ dt as q,
50162
+ ad as r,
50159
50163
  i0 as s,
50160
- yie as t,
50164
+ Ju as t,
50161
50165
  Yr as u,
50162
- Fg as v,
50163
- rU as w,
50164
- wa as x,
50165
- Nn as y,
50166
- i2 as z
50166
+ yie as v,
50167
+ Fg as w,
50168
+ rU as x,
50169
+ wa as y,
50170
+ Nn as z
50167
50171
  };
@@ -2002,45 +2002,15 @@ const Ci = Bt(
2002
2002
  secondary: "al-border-transparent al-bg-secondary al-text-secondary-foreground hover:al-bg-secondary/80",
2003
2003
  destructive: "al-border-transparent al-bg-destructive al-text-destructive-foreground hover:al-bg-destructive/80",
2004
2004
  outline: "al-text-foreground"
2005
- },
2006
- interactive: {
2007
- true: "al-cursor-pointer focus:al-ring-2 focus:al-ring-ring focus:al-ring-offset-2",
2008
- false: "al-cursor-default"
2009
2005
  }
2010
2006
  },
2011
2007
  defaultVariants: {
2012
- variant: "default",
2013
- interactive: !1
2008
+ variant: "default"
2014
2009
  }
2015
2010
  }
2016
2011
  );
2017
- function ud({
2018
- className: e,
2019
- variant: o,
2020
- interactive: t = !0,
2021
- onAction: n,
2022
- children: a,
2023
- role: l = "status",
2024
- tabIndex: i,
2025
- onKeyDown: c,
2026
- ...d
2027
- }) {
2028
- const u = (f) => {
2029
- t && n && (f.key === "Enter" || f.key === " ") && (f.preventDefault(), n()), c == null || c(f);
2030
- };
2031
- return /* @__PURE__ */ r.jsx(
2032
- "div",
2033
- {
2034
- className: I(Ci({ variant: o, interactive: t }), e),
2035
- role: t ? "button" : l,
2036
- tabIndex: t ? 0 : i,
2037
- onKeyDown: u,
2038
- onClick: t ? n : void 0,
2039
- "aria-disabled": t && !n,
2040
- ...d,
2041
- children: a
2042
- }
2043
- );
2012
+ function ud({ className: e, variant: o, ...t }) {
2013
+ return /* @__PURE__ */ r.jsx("div", { className: I(Ci({ variant: o }), e), ...t });
2044
2014
  }
2045
2015
  var lo = "Collapsible", [_i, ua] = ue(lo), [Ni, io] = _i(lo), pa = s.forwardRef(
2046
2016
  (e, o) => {
@@ -1,5 +1,5 @@
1
1
  import React__default, { FC } from 'react';
2
- import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, n as ContextOption, I as InteractionRequest, o as ChatMessage, p as AgentAction, q as ChatResponse } from '../types-MLsaGOQh.js';
2
+ import { j as ChatbotProps, k as ChatbotProviderProps, m as ChatState, A as Artifact, n as ContextOption, I as InteractionRequest, o as ChatMessage, p as AgentAction, q as ChatResponse, i as Citation } from '../types-MLsaGOQh.js';
3
3
  export { y as AgentStreamResponse, s as AssistantMeta, t as ChatSession, v as ChatbotUrls, F as Feedback, u as FileUploadProps, x as InteractionChoice, w as InteractionType, r as LoadingState } from '../types-MLsaGOQh.js';
4
4
  import { UnknownAction } from '@reduxjs/toolkit';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -93,4 +93,9 @@ declare const useAgentChat: () => {
93
93
  updateContextAndSendMessage: (message: string, context: Record<string, unknown>) => Promise<void>;
94
94
  };
95
95
 
96
- export { AgentAction, Artifact, Artifacts, CancelGenerationButton, ChatMessage, ChatProvider, ChatResponse, ChatState, ChatTriggerLink, ChatbotProps, ChatbotProviderProps, Chatbot as ChatbotV2, CoachAI, ContextOption, ContextPanel, FeedbackButtons, InteractionPrompt, InteractionRequest, LoadingIndicator, MessageItem, MessageList, MessageMenu, QuestionForm, RegenerateButton, StatusUpdates, useAgentChat, useChatContext };
96
+ declare const Citations: ({ citations, frontEndUrl, }: {
97
+ citations?: Citation[];
98
+ frontEndUrl?: string;
99
+ }) => JSX.Element | null;
100
+
101
+ export { AgentAction, Artifact, Artifacts, CancelGenerationButton, ChatMessage, ChatProvider, ChatResponse, ChatState, ChatTriggerLink, ChatbotProps, ChatbotProviderProps, Chatbot as ChatbotV2, Citations, CoachAI, ContextOption, ContextPanel, FeedbackButtons, InteractionPrompt, InteractionRequest, LoadingIndicator, MessageItem, MessageList, MessageMenu, QuestionForm, RegenerateButton, StatusUpdates, useAgentChat, useChatContext };
@@ -1,22 +1,23 @@
1
- import { A as s, b as e, a as n, g as o, C as r, c as i, d as g, F as C, I as u, L as c, i as d, M as h, e as I, f as L, Q as M, R as m, S as A, h as b, u as f } from "../CoachForm.js";
1
+ import { A as s, b as e, a as n, g as o, C as i, i as r, c as C, d as g, F as u, I as c, L as d, j as h, M as I, e as L, f as M, Q as m, R as A, S as b, h as f, u as p } from "../CoachForm.js";
2
2
  export {
3
3
  s as Artifacts,
4
4
  e as CancelGenerationButton,
5
5
  n as ChatProvider,
6
6
  o as ChatTriggerLink,
7
- r as ChatbotV2,
8
- i as CoachAI,
7
+ i as ChatbotV2,
8
+ r as Citations,
9
+ C as CoachAI,
9
10
  g as ContextPanel,
10
- C as FeedbackButtons,
11
- u as InteractionPrompt,
12
- c as LoadingIndicator,
13
- d as LoadingState,
14
- h as MessageItem,
15
- I as MessageList,
16
- L as MessageMenu,
17
- M as QuestionForm,
18
- m as RegenerateButton,
19
- A as StatusUpdates,
20
- b as useAgentChat,
21
- f as useChatContext
11
+ u as FeedbackButtons,
12
+ c as InteractionPrompt,
13
+ d as LoadingIndicator,
14
+ h as LoadingState,
15
+ I as MessageItem,
16
+ L as MessageList,
17
+ M as MessageMenu,
18
+ m as QuestionForm,
19
+ A as RegenerateButton,
20
+ b as StatusUpdates,
21
+ f as useAgentChat,
22
+ p as useChatContext
22
23
  };
@@ -1,4 +1,4 @@
1
- import { r as DH, t as wMe, v as gMe, m as K1, l as J1n, w as pMe, s as vMe, x as Y1n, y as mMe, z as kMe, B as Uee, D as yMe, E as Q1n, G as $H, H as jMe, J as EMe } from "./CoachForm.js";
1
+ import { t as DH, v as wMe, w as gMe, n as K1, m as J1n, x as pMe, s as vMe, y as Y1n, z as mMe, B as kMe, D as Uee, E as yMe, G as Q1n, H as $H, J as jMe, K as EMe } from "./CoachForm.js";
2
2
  import { c as Hee, g as CMe, s as bI } from "./redux-toolkit.modern.js";
3
3
  var Wee = { exports: {} };
4
4
  (function(Ae, It) {
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- div[data-radix-popper-content-wrapper]{z-index:1000!important}
1
+ div[data-radix-popper-content-wrapper]{z-index:100!important}
package/dist/index.js CHANGED
@@ -1,21 +1,21 @@
1
1
  import { j as e, i as r, h as s, C as t, D as n, L as i, T as m, m as d, l as p, k as C } from "./main.js";
2
- import { Alert as l, Card as v, CardBody as T, CardFooter as u, CardImg as f, CardSubtitle as F, CardText as M, CardTitle as P, Col as k, Container as B, Fade as L, Form as g, FormFeedback as y, FormGroup as G, Input as I, InputGroup as S, Label as h, List as A, ListGroup as b, ListGroupItem as x, Modal as j, ModalBody as D, Nav as O, NavItem as w, NavLink as H, Offcanvas as N, OffcanvasBody as z, OffcanvasHeader as R, Popover as V, PopoverBody as W, PopoverHeader as X, Row as Y, Spinner as Z } from "reactstrap";
3
- import { A as $, C as q, I as E, S as J, T as K } from "./redux-toolkit.modern.js";
4
- import { Z as U, a3 as aa, X as oa, O as ea, a2 as ra, a1 as sa, Y as ta, W as na, a6 as ia, a7 as ma, a5 as da, a4 as pa, _ as Ca, $ as ca, a0 as la, V as va } from "./CoachForm.js";
2
+ import { Alert as l, Card as v, CardBody as T, CardFooter as u, CardImg as f, CardSubtitle as P, CardText as F, CardTitle as M, Col as k, Container as B, Fade as L, Form as g, FormFeedback as y, FormGroup as G, Input as I, InputGroup as S, Label as h, List as A, ListGroup as b, ListGroupItem as x, Modal as j, ModalBody as D, Nav as w, NavItem as H, NavLink as N, Offcanvas as O, OffcanvasBody as z, OffcanvasHeader as R, Popover as W, PopoverBody as X, PopoverHeader as Y, Row as Z, Spinner as _ } from "reactstrap";
3
+ import { A as q, C as E, I as J, S as K, T as Q } from "./redux-toolkit.modern.js";
4
+ import { _ as V, a4 as aa, Y as oa, P as ea, a3 as ra, a2 as sa, Z as ta, X as na, a7 as ia, a8 as ma, a6 as da, a5 as pa, $ as Ca, a0 as ca, a1 as la, W as va } from "./CoachForm.js";
5
5
  export {
6
6
  l as Alert,
7
- $ as ApiHelper,
8
- U as Badge,
7
+ q as ApiHelper,
8
+ V as Badge,
9
9
  v as Card,
10
10
  T as CardBody,
11
11
  u as CardFooter,
12
12
  f as CardImg,
13
- F as CardSubtitle,
14
- M as CardText,
15
- P as CardTitle,
13
+ P as CardSubtitle,
14
+ F as CardText,
15
+ M as CardTitle,
16
16
  aa as CoachForm,
17
17
  e as CoachFormButton,
18
- q as CodeBlock,
18
+ E as CodeBlock,
19
19
  k as Col,
20
20
  B as Container,
21
21
  oa as ContentCategory,
@@ -27,7 +27,7 @@ export {
27
27
  g as Form,
28
28
  y as FormFeedback,
29
29
  G as FormGroup,
30
- E as IconButton,
30
+ J as IconButton,
31
31
  I as Input,
32
32
  S as InputGroup,
33
33
  h as Label,
@@ -40,23 +40,23 @@ export {
40
40
  sa as MermaidDiagram,
41
41
  j as Modal,
42
42
  D as ModalBody,
43
- O as Nav,
44
- w as NavItem,
45
- H as NavLink,
46
- N as Offcanvas,
43
+ w as Nav,
44
+ H as NavItem,
45
+ N as NavLink,
46
+ O as Offcanvas,
47
47
  z as OffcanvasBody,
48
48
  R as OffcanvasHeader,
49
49
  ta as PersonalizationScope,
50
50
  na as Popconfirm,
51
- V as Popover,
52
- W as PopoverBody,
53
- X as PopoverHeader,
51
+ W as Popover,
52
+ X as PopoverBody,
53
+ Y as PopoverHeader,
54
54
  ia as ProjectGovernorAllowedFiles,
55
55
  ma as ProjectGovernorCheckSchema,
56
56
  da as ProjectGovernorCheckTypes,
57
- Y as Row,
58
- Z as Spinner,
59
- J as Stack,
57
+ Z as Row,
58
+ _ as Spinner,
59
+ K as Stack,
60
60
  pa as TaskLabels,
61
61
  Ca as TeamMateActionType,
62
62
  ca as TeamMateAvailability,
@@ -64,7 +64,7 @@ export {
64
64
  d as TeamMates,
65
65
  la as TeamMatesConfig,
66
66
  p as TeammateActions,
67
- K as Tooltip,
67
+ Q as Tooltip,
68
68
  va as learningSchema,
69
69
  C as useTeamMateContext
70
70
  };
package/dist/is_dark.js CHANGED
@@ -1,4 +1,4 @@
1
- import { K as s, U as r } from "./CoachForm.js";
1
+ import { N as s, U as r } from "./CoachForm.js";
2
2
  const i = (n) => {
3
3
  const { r: t, g: a, b: o } = s.parse(n), e = 0.2126 * r.channel.toLinear(t) + 0.7152 * r.channel.toLinear(a) + 0.0722 * r.channel.toLinear(o);
4
4
  return r.lang.round(e);
@@ -1,5 +1,4 @@
1
1
  import * as React$1 from 'react';
2
- import { ReactNode } from 'react';
3
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
3
 
5
4
  declare const VIEWS_TYPE_COLOR: {
@@ -35,11 +34,6 @@ interface Table {
35
34
  interface ColumnMeta {
36
35
  [key: string]: string | number | boolean | null | undefined;
37
36
  }
38
- interface Tag {
39
- name: string;
40
- rk?: string;
41
- description: string;
42
- }
43
37
  interface Column {
44
38
  name: string;
45
39
  table: string;
@@ -48,7 +42,6 @@ interface Column {
48
42
  is_transformation?: boolean;
49
43
  description: string;
50
44
  meta?: Map<string, ColumnMeta>;
51
- tags?: Tag[];
52
45
  }
53
46
  interface Columns {
54
47
  id: string;
@@ -186,10 +179,6 @@ interface LineageProviderProps {
186
179
  lineageType: LineageType;
187
180
  allowSyncColumnsWithDB?: boolean;
188
181
  externalSidePanel?: boolean;
189
- renderTags?: (entity: {
190
- column: Column;
191
- table_rk: string;
192
- }) => ReactNode;
193
182
  }
194
183
  interface LineageRef {
195
184
  rerender: () => void;
@@ -221,4 +210,4 @@ declare const ViewsTypeBadge: ({ viewsType }: {
221
210
  viewsType: string;
222
211
  }) => react_jsx_runtime.JSX.Element;
223
212
 
224
- export { CLL, CllEvents, type CollectColumn, type Column, type ColumnLineage, type ColumnMeta, type Columns, type Confidence, type Details, type ExportFinalLineageArgs, type ExposureMetaData, _default as Lineage, type LineageRef, type ModalArgs, NodeIcon, type OpNodeArgs, type SelectedColumn, type SnowflakeStageMetadata, type StaticLineage, type StaticLineageDetails, type Table, type TableMeta, type Tag, type ViewsCodeModalArgs, ViewsTypeBadge };
213
+ export { CLL, CllEvents, type CollectColumn, type Column, type ColumnLineage, type ColumnMeta, type Columns, type Confidence, type Details, type ExportFinalLineageArgs, type ExposureMetaData, _default as Lineage, type LineageRef, type ModalArgs, NodeIcon, type OpNodeArgs, type SelectedColumn, type SnowflakeStageMetadata, type StaticLineage, type StaticLineageDetails, type Table, type TableMeta, type ViewsCodeModalArgs, ViewsTypeBadge };
@@ -492,7 +492,6 @@ const p5 = {
492
492
  errors: {},
493
493
  lightdashEnabled: !1,
494
494
  showCodeModal: !1,
495
- renderTags: void 0,
496
495
  config: { exportFinalLineage: !1 }
497
496
  }, yt = Zr({
498
497
  name: "lineageState",
@@ -607,9 +606,6 @@ const p5 = {
607
606
  setShowCodeModal: (e, t) => {
608
607
  e.showCodeModal = t.payload;
609
608
  },
610
- setRenderTags: (e, t) => {
611
- e.renderTags = t.payload;
612
- },
613
609
  setConfig: (e, t) => {
614
610
  e.config = t.payload;
615
611
  }
@@ -645,7 +641,6 @@ const p5 = {
645
641
  setErrors: So,
646
642
  setLightdashEnabled: L5,
647
643
  setShowCodeModal: N5,
648
- setRenderTags: P4,
649
644
  setConfig: M5
650
645
  } = yt.actions;
651
646
  function Ee(e) {
@@ -5216,8 +5211,8 @@ const Ka = "_component_13r39_1", Ya = "_spin_13r39_1", Xa = {
5216
5211
  /* @__PURE__ */ a.jsx("div", { className: Q(I.column_card), children: /* @__PURE__ */ a.jsx("div", { className: "font-normal fs-xxs", children: e }) })
5217
5212
  ] }) }) }), Ws = ({ column: e, handleClick: t, selected: n, isSelectable: o }) => {
5218
5213
  const {
5219
- state: { theme: s, config: r, renderTags: i },
5220
- dispatch: l
5214
+ state: { theme: s, config: r },
5215
+ dispatch: i
5221
5216
  } = je(h1);
5222
5217
  return /* @__PURE__ */ a.jsxs(
5223
5218
  "div",
@@ -5238,8 +5233,8 @@ const Ka = "_component_13r39_1", Ya = "_spin_13r39_1", Xa = {
5238
5233
  fo,
5239
5234
  {
5240
5235
  className: "al-w-8 al-h-8",
5241
- onClick: async (c) => {
5242
- c.stopPropagation(), l(
5236
+ onClick: async (l) => {
5237
+ l.stopPropagation(), i(
5243
5238
  c1({
5244
5239
  type: "export_final_lineage",
5245
5240
  args: { table: e.table, column: e.name }
@@ -5253,7 +5248,6 @@ const Ka = "_component_13r39_1", Ya = "_spin_13r39_1", Xa = {
5253
5248
  e.datatype && /* @__PURE__ */ a.jsx(Ja, { label: e.datatype })
5254
5249
  ] }),
5255
5250
  e.description && /* @__PURE__ */ a.jsx("div", { className: "d-flex flex-column", children: /* @__PURE__ */ a.jsx("div", { className: "font-normal fs-xxs text-grey", children: e.description }) }),
5256
- i && i({ column: e, table_rk: e.table }),
5257
5251
  e.code && /* @__PURE__ */ a.jsx(At, { code: e.code, language: "sql", editorTheme: "tomorrow", theme: s })
5258
5252
  ]
5259
5253
  }
@@ -6727,56 +6721,54 @@ const cn = () => {
6727
6721
  dynamicLineage: o,
6728
6722
  staticLineage: s,
6729
6723
  allowSyncColumnsWithDB: r,
6730
- externalSidePanel: i = !1,
6731
- renderTags: l
6732
- }, c) => {
6733
- const [h, f] = Dr(yt.reducer, {
6724
+ externalSidePanel: i = !1
6725
+ }, l) => {
6726
+ const [c, h] = Dr(yt.reducer, {
6734
6727
  ...yt.getInitialState(),
6735
6728
  theme: e,
6736
6729
  lineageType: t,
6737
6730
  sqlLineage: n,
6738
6731
  allowSyncColumnsWithDB: r,
6739
- externalSidePanel: i,
6740
- renderTags: l
6741
- }), u = X(), [m, C] = se(0), x = oe(() => C((_) => (_ + 1) % 100), []);
6732
+ externalSidePanel: i
6733
+ }), f = X(), [u, m] = se(0), C = oe(() => m((E) => (E + 1) % 100), []);
6742
6734
  Y(() => {
6743
- var _;
6744
- (_ = u.current) == null || _.fitView({});
6745
- }, [m]), Ir(c, () => ({
6746
- rerender: x
6735
+ var E;
6736
+ (E = f.current) == null || E.fitView({});
6737
+ }, [u]), Ir(l, () => ({
6738
+ rerender: C
6747
6739
  })), Y(() => {
6748
- f(y5(e));
6740
+ h(y5(e));
6749
6741
  }, [e]);
6750
- const E = ge(
6742
+ const x = ge(
6751
6743
  () => ({
6752
- state: h,
6753
- dispatch: f,
6754
- rerender: x
6744
+ state: c,
6745
+ dispatch: h,
6746
+ rerender: C
6755
6747
  }),
6756
- [h, f, x]
6748
+ [c, h, C]
6757
6749
  );
6758
- return /* @__PURE__ */ a.jsx(h1.Provider, { value: E, children: /* @__PURE__ */ a.jsxs("div", { className: "lineage-component", children: [
6750
+ return /* @__PURE__ */ a.jsx(h1.Provider, { value: x, children: /* @__PURE__ */ a.jsxs("div", { className: "lineage-component", children: [
6759
6751
  t === "sql" && n && /* @__PURE__ */ a.jsx(
6760
6752
  N4,
6761
6753
  {
6762
- flow: u,
6754
+ flow: f,
6763
6755
  details: n.details,
6764
6756
  tableEdges: n.tableEdges,
6765
6757
  nodePositions: n.nodePositions
6766
6758
  }
6767
6759
  ),
6768
- t === "dynamic" && o && /* @__PURE__ */ a.jsx(v4, { flow: u, theme: e }),
6769
- t === "static" && s && /* @__PURE__ */ a.jsx(b4, { flow: u, ...s }),
6760
+ t === "dynamic" && o && /* @__PURE__ */ a.jsx(v4, { flow: f, theme: e }),
6761
+ t === "static" && s && /* @__PURE__ */ a.jsx(b4, { flow: f, ...s }),
6770
6762
  /* @__PURE__ */ a.jsx("div", { id: "lineage-sidebar" })
6771
6763
  ] }) });
6772
- }, O4 = L2(M4), ue = () => je(h1), pe = () => {
6764
+ }, P4 = L2(M4), ue = () => je(h1), pe = () => {
6773
6765
  const { dispatch: e } = je(h1);
6774
6766
  return e;
6775
6767
  };
6776
6768
  export {
6777
6769
  he as CLL,
6778
6770
  Aa as CllEvents,
6779
- O4 as Lineage,
6771
+ P4 as Lineage,
6780
6772
  Q2 as NodeIcon,
6781
6773
  Bt as ViewsTypeBadge
6782
6774
  };
package/dist/main.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Card as vt, CardBody as an, CardTitle as un, FormGroup as Pt, Input as Ft, FormFeedback as Kn, Collapse as Gn, Alert as ln, Col as Zn, CardImg as Qn, CardSubtitle as Jn, CardText as er, Row as tr } from "reactstrap";
2
2
  import { g as mt, a as cn, A as ve, C as nr, I as Ie, u as dn, S as se, T as rr, b as or } from "./redux-toolkit.modern.js";
3
- import { O as fn, P as lt, T as ir, V as sr, W as ar, X as ur, Y as lr, Z as cr, _ as tt, $ as dr, a0 as fr } from "./CoachForm.js";
3
+ import { P as fn, T as lt, V as ir, W as sr, X as ar, Y as ur, Z as lr, _ as cr, $ as tt, a0 as dr, a1 as fr } from "./CoachForm.js";
4
4
  import { j as v, A as pn, i as pr, k as gr, b as hr, C as vr, D as mr, E as Er, e as yr, d as br } from "./index2.js";
5
5
  import * as te from "react";
6
6
  import Z, { createContext as _e, useReducer as gn, useCallback as we, useMemo as fe, useContext as be, useLayoutEffect as Cr, useEffect as le, useRef as Se, useId as hn, useInsertionEffect as Sr, Children as De, isValidElement as _r, useState as re, lazy as Ar } from "react";
@@ -1,4 +1,4 @@
1
- import { N as Zy, l as Dn, m as fa, s as Qy, n as Jy, o as jy } from "./CoachForm.js";
1
+ import { O as Zy, m as Dn, n as fa, s as Qy, o as Jy, q as jy } from "./CoachForm.js";
2
2
  import { c as za, g as Vu, s as Cn } from "./redux-toolkit.modern.js";
3
3
  import { i as em } from "./is_dark.js";
4
4
  var Uu = { exports: {} };
@@ -10062,7 +10062,7 @@ const _a = "_codeblock_19tsp_1", Ma = "_dark_19tsp_1", Qn = {
10062
10062
  }
10063
10063
  ), xs = zt(function({
10064
10064
  children: o,
10065
- wrap: n = !0,
10065
+ wrap: n = !1,
10066
10066
  justify: r,
10067
10067
  align: t,
10068
10068
  flex: a,
@@ -224,19 +224,10 @@ declare const Tooltip: ({ children, title, ...props }: TooltipPrimitive.TooltipP
224
224
 
225
225
  declare const badgeVariants: (props?: ({
226
226
  variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
227
- interactive?: boolean | null | undefined;
228
227
  } & class_variance_authority_types.ClassProp) | undefined) => string;
229
228
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
230
- /**
231
- * If true, the badge will be focusable and handle keyboard events
232
- */
233
- interactive?: boolean;
234
- /**
235
- * Optional click handler for interactive badges
236
- */
237
- onAction?: () => void;
238
229
  }
239
- declare function Badge({ className, variant, interactive, onAction, children, role, tabIndex, onKeyDown, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
230
+ declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
240
231
 
241
232
  declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
242
233
  declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -753,7 +753,7 @@ const Dl = jl, Mr = c.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */
753
753
  {
754
754
  ref: a,
755
755
  className: w(
756
- "al-fixed al-top-0 al-z-[1000] al-flex al-max-h-screen al-w-full al-flex-col-reverse al-p-4 sm:al-bottom-0 sm:al-right-0 sm:al-top-auto sm:al-flex-col md:al-max-w-[420px]",
756
+ "al-fixed al-top-0 al-z-[100] al-flex al-max-h-screen al-w-full al-flex-col-reverse al-p-4 sm:al-bottom-0 sm:al-right-0 sm:al-top-auto sm:al-flex-col md:al-max-w-[420px]",
757
757
  e
758
758
  ),
759
759
  role: "region",
@@ -1,4 +1,4 @@
1
- import { j as kt, p as vt, k as wt, l as rt, m as I, s as St, n as Et, o as Tt, q as et } from "./CoachForm.js";
1
+ import { k as kt, p as vt, l as wt, m as rt, n as I, s as St, o as Et, q as Tt, r as et } from "./CoachForm.js";
2
2
  import { s as q } from "./redux-toolkit.modern.js";
3
3
  import { i as It } from "./is_dark.js";
4
4
  var X = function() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altimateai/ui-components",
3
- "version": "0.0.10-beta.2",
3
+ "version": "0.0.10-beta.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/AltimateAI/altimate-components.git"