@altimateai/ui-components 0.0.23-beta.5 → 0.0.23
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/{Button-C4jhPGlR.d.ts → Button-Cj79i7Go.d.ts} +2 -2
- package/dist/CoachForm.js +7654 -7674
- package/dist/Label.js +48 -0
- package/dist/NativeSelect.js +3918 -0
- package/dist/Stack.js +2013 -2926
- package/dist/index.d.ts +23 -20
- package/dist/index.js +64 -32
- package/dist/lineage/index.js +2354 -2335
- package/dist/main.css +1 -1
- package/dist/main.js +842 -840
- package/dist/redux-toolkit.modern.js +1014 -910
- package/dist/shadcn/index.d.ts +14 -18
- package/dist/shadcn/index.js +3420 -2724
- package/dist/storybook/Badge.stories.tsx +0 -7
- package/dist/storybook/Card.stories.tsx +2 -2
- package/dist/storybook/Label.stories.tsx +2 -2
- package/dist/storybook/Typography.stories.tsx +14 -14
- package/package.json +1 -1
- package/dist/Form.js +0 -3658
- package/dist/Switch.js +0 -128
- package/dist/Table.js +0 -22
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { BadgeProps } from 'reactstrap';
|
|
2
|
+
export { Alert, Card, CardBody, CardFooter, CardImg, CardSubtitle, CardText, CardTitle, Col, Container, Fade, Form, FormFeedback, FormGroup, Input, InputGroup, Label, List, ListGroup, ListGroupItem, Modal, ModalBody, Nav, NavItem, NavLink, Offcanvas, OffcanvasBody, OffcanvasHeader, Popover, PopoverBody, PopoverHeader, Row, Spinner } from 'reactstrap';
|
|
1
3
|
import * as React$1 from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { B as ButtonProps } from './Button-
|
|
4
|
+
import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, FC, MouseEvent } from 'react';
|
|
5
|
+
import { B as ButtonProps } from './Button-Cj79i7Go.js';
|
|
4
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
7
|
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-MLsaGOQh.js';
|
|
6
8
|
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-MLsaGOQh.js';
|
|
@@ -11,29 +13,25 @@ import { z } from 'zod';
|
|
|
11
13
|
import 'class-variance-authority/types';
|
|
12
14
|
import 'class-variance-authority';
|
|
13
15
|
|
|
14
|
-
interface
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
declare const Collapse: React$1.ForwardRefExoticComponent<CollapseProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
18
|
-
|
|
19
|
-
declare const Table: React$1.ForwardRefExoticComponent<HTMLAttributes<HTMLTableElement> & React$1.RefAttributes<HTMLTableElement>>;
|
|
20
|
-
|
|
21
|
-
interface SpinnerProps extends HTMLAttributes<HTMLDivElement> {
|
|
22
|
-
size?: "sm" | "md" | "lg";
|
|
16
|
+
interface Props$9 extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
17
|
+
variant?: ButtonProps["variant"];
|
|
23
18
|
}
|
|
24
|
-
declare const
|
|
19
|
+
declare const IconButton: (props: Props$9) => JSX.Element;
|
|
25
20
|
|
|
26
|
-
interface Props$
|
|
27
|
-
|
|
21
|
+
interface Props$8 {
|
|
22
|
+
children: ReactNode;
|
|
23
|
+
title?: string | ReactNode;
|
|
24
|
+
id?: string;
|
|
25
|
+
className?: string;
|
|
28
26
|
}
|
|
29
|
-
declare const
|
|
27
|
+
declare const Tooltip: (props: Props$8) => JSX.Element;
|
|
30
28
|
|
|
31
|
-
interface Props$
|
|
29
|
+
interface Props$7 extends ButtonProps {
|
|
32
30
|
loading: boolean;
|
|
33
31
|
}
|
|
34
|
-
declare const LoadingButton: ({ loading, ...rest }: Props$
|
|
32
|
+
declare const LoadingButton: ({ loading, ...rest }: Props$7) => JSX.Element;
|
|
35
33
|
|
|
36
|
-
interface Props$
|
|
34
|
+
interface Props$6 {
|
|
37
35
|
code: string;
|
|
38
36
|
language: "sql" | "yaml" | "markdown" | "json" | "javascript";
|
|
39
37
|
fileName?: string;
|
|
@@ -43,7 +41,7 @@ interface Props$5 {
|
|
|
43
41
|
className?: string;
|
|
44
42
|
titleActions?: ReactNode;
|
|
45
43
|
}
|
|
46
|
-
declare const CodeBlockComponent: ({ code, language, fileName, editorTheme, theme, showLineNumbers, className, titleActions, }: Props$
|
|
44
|
+
declare const CodeBlockComponent: ({ code, language, fileName, editorTheme, theme, showLineNumbers, className, titleActions, }: Props$6) => JSX.Element;
|
|
47
45
|
|
|
48
46
|
type SpacingSize = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl";
|
|
49
47
|
interface StackProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -57,6 +55,11 @@ interface StackProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
57
55
|
}
|
|
58
56
|
declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
59
57
|
|
|
58
|
+
interface Props$5 extends BadgeProps {
|
|
59
|
+
tooltip: Parameters<typeof Tooltip>[0]["title"];
|
|
60
|
+
}
|
|
61
|
+
declare const Badge: ({ tooltip, ...props }: Props$5) => react_jsx_runtime.JSX.Element;
|
|
62
|
+
|
|
60
63
|
interface MermaidDiagramProps {
|
|
61
64
|
content: string;
|
|
62
65
|
id: string;
|
|
@@ -272,4 +275,4 @@ interface ProjectGovernorCheck extends z.infer<typeof ProjectGovernorCheckSchema
|
|
|
272
275
|
id: string;
|
|
273
276
|
}
|
|
274
277
|
|
|
275
|
-
export { ApiHelper, CoachForm, CoachFormButton, CodeBlockComponent as CodeBlock,
|
|
278
|
+
export { ApiHelper, Badge, CoachForm, CoachFormButton, CodeBlockComponent as CodeBlock, type Conversation, type ConversationGroup, ConversationGroupProvider, ConversationInputForm, ConversationSources, DbtDocs, type DbtDocsShareDetails, IconButton, LearningsPage as Learnings, LoadingButton, Markdown, MermaidDiagram, Popconfirm, ProjectGovernorAllowedFiles, type ProjectGovernorCheck, type ProjectGovernorCheckConfirmationResponse, type ProjectGovernorCheckFormValues, ProjectGovernorCheckSchema, ProjectGovernorCheckTypes, type ProjectGovernorCheckValidateResponse, Stack, TaskLabels, TeamMateActionType, TeamMateAvailability, TeamMateConfig, TeamMateContextProps, TeamMateProvider, TeamMateState, TeamMates, TeamMatesConfig, TeammateActions, Tooltip, useTeamMateContext };
|
package/dist/index.js
CHANGED
|
@@ -1,39 +1,71 @@
|
|
|
1
|
-
import { j as e, i as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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 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 x, ListGroup as A, ListGroupItem as b, 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, T as K } from "./redux-toolkit.modern.js";
|
|
4
|
+
import { a0 as U, a4 as V, Y as aa, P as oa, a3 as ea, a2 as ra, Z as sa, X as ta, a7 as na, a8 as ia, a6 as ma, a5 as da, _ as pa, $ as Ca, a1 as ca, W as la } from "./CoachForm.js";
|
|
5
|
+
import { S as Ta } from "./Stack.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
l as Alert,
|
|
8
|
+
q as ApiHelper,
|
|
9
|
+
U as Badge,
|
|
10
|
+
v as Card,
|
|
11
|
+
T as CardBody,
|
|
12
|
+
u as CardFooter,
|
|
13
|
+
f as CardImg,
|
|
14
|
+
P as CardSubtitle,
|
|
15
|
+
F as CardText,
|
|
16
|
+
M as CardTitle,
|
|
17
|
+
V as CoachForm,
|
|
9
18
|
e as CoachFormButton,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
r as
|
|
19
|
+
E as CodeBlock,
|
|
20
|
+
k as Col,
|
|
21
|
+
B as Container,
|
|
22
|
+
aa as ContentCategory,
|
|
23
|
+
r as ConversationGroupProvider,
|
|
24
|
+
s as ConversationInputForm,
|
|
15
25
|
t as ConversationSources,
|
|
16
26
|
n as DbtDocs,
|
|
17
|
-
|
|
27
|
+
L as Fade,
|
|
28
|
+
g as Form,
|
|
29
|
+
y as FormFeedback,
|
|
30
|
+
G as FormGroup,
|
|
31
|
+
J as IconButton,
|
|
32
|
+
I as Input,
|
|
33
|
+
S as InputGroup,
|
|
34
|
+
h as Label,
|
|
18
35
|
i as Learnings,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
36
|
+
x as List,
|
|
37
|
+
A as ListGroup,
|
|
38
|
+
b as ListGroupItem,
|
|
39
|
+
oa as LoadingButton,
|
|
40
|
+
ea as Markdown,
|
|
41
|
+
ra as MermaidDiagram,
|
|
42
|
+
j as Modal,
|
|
43
|
+
D as ModalBody,
|
|
44
|
+
w as Nav,
|
|
45
|
+
H as NavItem,
|
|
46
|
+
N as NavLink,
|
|
47
|
+
O as Offcanvas,
|
|
48
|
+
z as OffcanvasBody,
|
|
49
|
+
R as OffcanvasHeader,
|
|
50
|
+
sa as PersonalizationScope,
|
|
51
|
+
ta as Popconfirm,
|
|
52
|
+
W as Popover,
|
|
53
|
+
X as PopoverBody,
|
|
54
|
+
Y as PopoverHeader,
|
|
55
|
+
na as ProjectGovernorAllowedFiles,
|
|
56
|
+
ia as ProjectGovernorCheckSchema,
|
|
57
|
+
ma as ProjectGovernorCheckTypes,
|
|
58
|
+
Z as Row,
|
|
59
|
+
_ as Spinner,
|
|
60
|
+
Ta as Stack,
|
|
61
|
+
da as TaskLabels,
|
|
62
|
+
pa as TeamMateActionType,
|
|
63
|
+
Ca as TeamMateAvailability,
|
|
33
64
|
m as TeamMateProvider,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
65
|
+
d as TeamMates,
|
|
66
|
+
ca as TeamMatesConfig,
|
|
67
|
+
p as TeammateActions,
|
|
68
|
+
K as Tooltip,
|
|
69
|
+
la as learningSchema,
|
|
70
|
+
C as useTeamMateContext
|
|
39
71
|
};
|