@altimateai/ui-components 0.0.5-beta.1 → 0.0.6-beta.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.
package/dist/CoachForm.js CHANGED
@@ -48,7 +48,7 @@ import './CoachForm.css';const _8 = "_loadingBtn_gadec_1", x8 = {
48
48
  }
49
49
  ), ea = wk(function({
50
50
  children: t,
51
- wrap: n = !1,
51
+ wrap: n = !0,
52
52
  justify: r,
53
53
  align: i,
54
54
  flex: a,
@@ -2210,15 +2210,45 @@ const Li = {
2210
2210
  secondary: "al-border-transparent al-bg-secondary al-text-secondary-foreground hover:al-bg-secondary/80",
2211
2211
  destructive: "al-border-transparent al-bg-destructive al-text-destructive-foreground hover:al-bg-destructive/80",
2212
2212
  outline: "al-text-foreground"
2213
+ },
2214
+ interactive: {
2215
+ true: "al-cursor-pointer focus:al-ring-2 focus:al-ring-ring focus:al-ring-offset-2",
2216
+ false: "al-cursor-default"
2213
2217
  }
2214
2218
  },
2215
2219
  defaultVariants: {
2216
- variant: "default"
2220
+ variant: "default",
2221
+ interactive: !1
2217
2222
  }
2218
2223
  }
2219
2224
  );
2220
- function Dd({ className: e, variant: o, ...t }) {
2221
- return /* @__PURE__ */ r.jsx("div", { className: E(Vi({ variant: o }), e), ...t });
2225
+ function Dd({
2226
+ className: e,
2227
+ variant: o,
2228
+ interactive: t = !0,
2229
+ onAction: n,
2230
+ children: a,
2231
+ role: l = "status",
2232
+ tabIndex: i,
2233
+ onKeyDown: c,
2234
+ ...d
2235
+ }) {
2236
+ const u = (f) => {
2237
+ t && n && (f.key === "Enter" || f.key === " ") && (f.preventDefault(), n()), c == null || c(f);
2238
+ };
2239
+ return /* @__PURE__ */ r.jsx(
2240
+ "div",
2241
+ {
2242
+ className: E(Vi({ variant: o, interactive: t }), e),
2243
+ role: t ? "button" : l,
2244
+ tabIndex: t ? 0 : i,
2245
+ onKeyDown: u,
2246
+ onClick: t ? n : void 0,
2247
+ "aria-disabled": t && !n,
2248
+ ...d,
2249
+ children: a
2250
+ }
2251
+ );
2222
2252
  }
2223
2253
  var co = "Collapsible", [Gi, ba] = de(co), [Ki, uo] = Gi(co), ya = s.forwardRef(
2224
2254
  (e, o) => {
@@ -1,4 +1,5 @@
1
1
  import * as React$1 from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
 
3
4
  declare const VIEWS_TYPE_COLOR: {
4
5
  Original: string;
@@ -28,6 +29,7 @@ interface Table {
28
29
  }[];
29
30
  schema?: string;
30
31
  meta?: Map<string, TableMeta>;
32
+ source?: string;
31
33
  }
32
34
  interface ColumnMeta {
33
35
  [key: string]: string | number | boolean | null | undefined;
@@ -37,6 +39,7 @@ interface Column {
37
39
  table: string;
38
40
  datatype?: string;
39
41
  can_lineage_expand: boolean;
42
+ is_transformation?: boolean;
40
43
  description: string;
41
44
  meta?: Map<string, ColumnMeta>;
42
45
  }
@@ -81,6 +84,7 @@ interface ExposureMetaData {
81
84
  interface ViewsCodeModalArgs {
82
85
  table: string;
83
86
  column: string;
87
+ datatype: string;
84
88
  viewsType: ViewsTypes;
85
89
  viewsCode: Record<string, [string, string][]>;
86
90
  nodeType: string;
@@ -186,4 +190,12 @@ declare class CLL {
186
190
  static showCllInProgressMsg(): void;
187
191
  }
188
192
 
189
- export { CLL, CllEvents, type CollectColumn, type Column, type ColumnLineage, type ColumnMeta, type Columns, type Confidence, type Details, type ExposureMetaData, _default as Lineage, type LineageRef, type ModalArgs, type OpNodeArgs, type SelectedColumn, type StaticLineage, type StaticLineageDetails, type Table, type TableMeta, type ViewsCodeModalArgs };
193
+ declare const NodeIcon: ({ nodeType }: {
194
+ nodeType: string;
195
+ }) => react_jsx_runtime.JSX.Element;
196
+
197
+ declare const ViewsTypeBadge: ({ viewsType }: {
198
+ viewsType: string;
199
+ }) => react_jsx_runtime.JSX.Element;
200
+
201
+ export { CLL, CllEvents, type CollectColumn, type Column, type ColumnLineage, type ColumnMeta, type Columns, type Confidence, type Details, type ExposureMetaData, _default as Lineage, type LineageRef, type ModalArgs, NodeIcon, type OpNodeArgs, type SelectedColumn, type StaticLineage, type StaticLineageDetails, type Table, type TableMeta, type ViewsCodeModalArgs, ViewsTypeBadge };