@altimateai/ui-components 0.0.7 → 0.0.8-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/NativeSelect.js +33 -3
- package/dist/index.css +1 -1
- package/dist/lineage/index.d.ts +12 -1
- package/dist/lineage/index.js +540 -532
- package/dist/redux-toolkit.modern.js +1 -1
- package/dist/shadcn/index.d.ts +10 -1
- package/dist/shadcn/index.js +1 -1
- package/package.json +1 -1
package/dist/NativeSelect.js
CHANGED
|
@@ -2002,15 +2002,45 @@ 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"
|
|
2005
2009
|
}
|
|
2006
2010
|
},
|
|
2007
2011
|
defaultVariants: {
|
|
2008
|
-
variant: "default"
|
|
2012
|
+
variant: "default",
|
|
2013
|
+
interactive: !1
|
|
2009
2014
|
}
|
|
2010
2015
|
}
|
|
2011
2016
|
);
|
|
2012
|
-
function ud({
|
|
2013
|
-
|
|
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
|
+
);
|
|
2014
2044
|
}
|
|
2015
2045
|
var lo = "Collapsible", [_i, ua] = ue(lo), [Ni, io] = _i(lo), pa = s.forwardRef(
|
|
2016
2046
|
(e, o) => {
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
div[data-radix-popper-content-wrapper]{z-index:
|
|
1
|
+
div[data-radix-popper-content-wrapper]{z-index:1000!important}
|
package/dist/lineage/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
4
|
|
|
4
5
|
declare const VIEWS_TYPE_COLOR: {
|
|
@@ -34,6 +35,11 @@ interface Table {
|
|
|
34
35
|
interface ColumnMeta {
|
|
35
36
|
[key: string]: string | number | boolean | null | undefined;
|
|
36
37
|
}
|
|
38
|
+
interface Tag {
|
|
39
|
+
name: string;
|
|
40
|
+
rk?: string;
|
|
41
|
+
description: string;
|
|
42
|
+
}
|
|
37
43
|
interface Column {
|
|
38
44
|
name: string;
|
|
39
45
|
table: string;
|
|
@@ -42,6 +48,7 @@ interface Column {
|
|
|
42
48
|
is_transformation?: boolean;
|
|
43
49
|
description: string;
|
|
44
50
|
meta?: Map<string, ColumnMeta>;
|
|
51
|
+
tags?: Tag[];
|
|
45
52
|
}
|
|
46
53
|
interface Columns {
|
|
47
54
|
id: string;
|
|
@@ -179,6 +186,10 @@ interface LineageProviderProps {
|
|
|
179
186
|
lineageType: LineageType;
|
|
180
187
|
allowSyncColumnsWithDB?: boolean;
|
|
181
188
|
externalSidePanel?: boolean;
|
|
189
|
+
renderTags?: (entity: {
|
|
190
|
+
column: Column;
|
|
191
|
+
table_rk: string;
|
|
192
|
+
}) => ReactNode;
|
|
182
193
|
}
|
|
183
194
|
interface LineageRef {
|
|
184
195
|
rerender: () => void;
|
|
@@ -210,4 +221,4 @@ declare const ViewsTypeBadge: ({ viewsType }: {
|
|
|
210
221
|
viewsType: string;
|
|
211
222
|
}) => react_jsx_runtime.JSX.Element;
|
|
212
223
|
|
|
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 };
|
|
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 };
|