@altimateai/ui-components 0.0.22 → 0.0.23-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.
@@ -1,4 +1,4 @@
1
- import { A as s, K as a, z as c, l as I, n as e, B as r, r as t, b as i, U as l, d as C, g as h, a as d, e as m, S as p, C as b, m as f, Q as v, T as D, k as g, w as U, G as k, o as u, D as w, v as A, E as R, F as S, y as G, P as L, J as F, O as T, N as B, h as H, H as M, I as P, Z as x, M as y, f as z, V as E, R as N, L as O, X as V, c as W, s as q, p as J, q as K, x as Q, u as X, t as Y, i as Z, Y as j, W as _ } from "../../index2.js";
1
+ import { A as s, K as a, z as c, l as I, n as e, B as r, r as t, b as i, U as l, a as C, e as h, c as d, i as m, d as p, C as b, m as f, Q as v, T as D, k as g, w as U, G as k, o as u, D as w, v as A, E as R, F as S, y as G, P as L, J as F, O as T, N as B, f as H, H as M, I as P, Z as x, M as y, S as z, V as E, R as N, L as O, X as V, h as W, s as q, p as J, q as K, x as Q, u as X, t as Y, g as Z, Y as j, W as _ } from "../../index2.js";
2
2
  export {
3
3
  s as AddIcon,
4
4
  a as ArrowLeftIcon,
package/dist/index.d.ts CHANGED
@@ -1,8 +1,6 @@
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';
3
1
  import * as React$1 from 'react';
4
- import { ButtonHTMLAttributes, ReactNode, HTMLAttributes, FC, MouseEvent } from 'react';
5
- import { B as ButtonProps } from './Button-Dln4BC6y.js';
2
+ import { HTMLAttributes, ButtonHTMLAttributes, ReactNode, FC, MouseEvent } from 'react';
3
+ import { B as ButtonProps } from './Button-Ba6FLZh8.js';
6
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
5
  import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-MLsaGOQh.js';
8
6
  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';
@@ -13,25 +11,29 @@ import { z } from 'zod';
13
11
  import 'class-variance-authority/types';
14
12
  import 'class-variance-authority';
15
13
 
16
- interface Props$9 extends ButtonHTMLAttributes<HTMLButtonElement> {
17
- variant?: ButtonProps["variant"];
14
+ interface CollapseProps extends HTMLAttributes<HTMLDivElement> {
15
+ isOpen?: boolean;
18
16
  }
19
- declare const IconButton: (props: Props$9) => JSX.Element;
17
+ declare const Collapse: React$1.ForwardRefExoticComponent<CollapseProps & React$1.RefAttributes<HTMLDivElement>>;
20
18
 
21
- interface Props$8 {
22
- children: ReactNode;
23
- title?: string | ReactNode;
24
- id?: string;
25
- className?: string;
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";
26
23
  }
27
- declare const Tooltip: (props: Props$8) => JSX.Element;
24
+ declare const Spinner: React$1.ForwardRefExoticComponent<SpinnerProps & React$1.RefAttributes<HTMLDivElement>>;
28
25
 
29
- interface Props$7 extends ButtonProps {
26
+ interface Props$7 extends ButtonHTMLAttributes<HTMLButtonElement> {
27
+ variant?: ButtonProps["variant"];
28
+ }
29
+ declare const IconButton: (props: Props$7) => JSX.Element;
30
+
31
+ interface Props$6 extends ButtonProps {
30
32
  loading: boolean;
31
33
  }
32
- declare const LoadingButton: ({ loading, ...rest }: Props$7) => JSX.Element;
34
+ declare const LoadingButton: ({ loading, ...rest }: Props$6) => JSX.Element;
33
35
 
34
- interface Props$6 {
36
+ interface Props$5 {
35
37
  code: string;
36
38
  language: "sql" | "yaml" | "markdown" | "json" | "javascript";
37
39
  fileName?: string;
@@ -41,7 +43,7 @@ interface Props$6 {
41
43
  className?: string;
42
44
  titleActions?: ReactNode;
43
45
  }
44
- declare const CodeBlockComponent: ({ code, language, fileName, editorTheme, theme, showLineNumbers, className, titleActions, }: Props$6) => JSX.Element;
46
+ declare const CodeBlockComponent: ({ code, language, fileName, editorTheme, theme, showLineNumbers, className, titleActions, }: Props$5) => JSX.Element;
45
47
 
46
48
  type SpacingSize = "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl";
47
49
  interface StackProps extends HTMLAttributes<HTMLDivElement> {
@@ -55,11 +57,6 @@ interface StackProps extends HTMLAttributes<HTMLDivElement> {
55
57
  }
56
58
  declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
57
59
 
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
-
63
60
  interface MermaidDiagramProps {
64
61
  content: string;
65
62
  id: string;
@@ -275,4 +272,4 @@ interface ProjectGovernorCheck extends z.infer<typeof ProjectGovernorCheckSchema
275
272
  id: string;
276
273
  }
277
274
 
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 };
275
+ export { ApiHelper, CoachForm, CoachFormButton, CodeBlockComponent as CodeBlock, Collapse, 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, Spinner, Stack, Table, TaskLabels, TeamMateActionType, TeamMateAvailability, TeamMateConfig, TeamMateContextProps, TeamMateProvider, TeamMateState, TeamMates, TeamMatesConfig, TeammateActions, useTeamMateContext };
package/dist/index.js CHANGED
@@ -1,70 +1,38 @@
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 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 { a0 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, $ as ca, a1 as la, W as va } from "./CoachForm.js";
1
+ import { j as o, i as s, h as r, C as t, D as n, L as i, T as m, m as c, l as C, k as l } from "./main.js";
2
+ import { C as T, T as v } from "./Table.js";
3
+ import { a4 as P, Y as d, P as h, a3 as k, a2 as u, Z as S, X as f, a7 as g, a8 as A, a6 as x, a1 as b, a5 as j, _ as y, $ as B, a0 as D, W as F } from "./CoachForm.js";
4
+ import { A as L, C as I, I as w, S as z } from "./redux-toolkit.modern.js";
5
5
  export {
6
- l as Alert,
7
- q as ApiHelper,
8
- V as Badge,
9
- v as Card,
10
- T as CardBody,
11
- u as CardFooter,
12
- f as CardImg,
13
- P as CardSubtitle,
14
- F as CardText,
15
- M as CardTitle,
16
- aa as CoachForm,
17
- e as CoachFormButton,
18
- E as CodeBlock,
19
- k as Col,
20
- B as Container,
21
- oa as ContentCategory,
22
- r as ConversationGroupProvider,
23
- s as ConversationInputForm,
6
+ L as ApiHelper,
7
+ P as CoachForm,
8
+ o as CoachFormButton,
9
+ I as CodeBlock,
10
+ T as Collapse,
11
+ d as ContentCategory,
12
+ s as ConversationGroupProvider,
13
+ r as ConversationInputForm,
24
14
  t as ConversationSources,
25
15
  n as DbtDocs,
26
- L as Fade,
27
- g as Form,
28
- y as FormFeedback,
29
- G as FormGroup,
30
- J as IconButton,
31
- I as Input,
32
- S as InputGroup,
33
- h as Label,
16
+ w as IconButton,
34
17
  i as Learnings,
35
- A as List,
36
- b as ListGroup,
37
- x as ListGroupItem,
38
- ea as LoadingButton,
39
- ra as Markdown,
40
- sa as MermaidDiagram,
41
- j as Modal,
42
- D as ModalBody,
43
- w as Nav,
44
- H as NavItem,
45
- N as NavLink,
46
- O as Offcanvas,
47
- z as OffcanvasBody,
48
- R as OffcanvasHeader,
49
- ta as PersonalizationScope,
50
- na as Popconfirm,
51
- W as Popover,
52
- X as PopoverBody,
53
- Y as PopoverHeader,
54
- ia as ProjectGovernorAllowedFiles,
55
- ma as ProjectGovernorCheckSchema,
56
- da as ProjectGovernorCheckTypes,
57
- Z as Row,
58
- _ as Spinner,
59
- K as Stack,
60
- pa as TaskLabels,
61
- Ca as TeamMateActionType,
62
- ca as TeamMateAvailability,
18
+ h as LoadingButton,
19
+ k as Markdown,
20
+ u as MermaidDiagram,
21
+ S as PersonalizationScope,
22
+ f as Popconfirm,
23
+ g as ProjectGovernorAllowedFiles,
24
+ A as ProjectGovernorCheckSchema,
25
+ x as ProjectGovernorCheckTypes,
26
+ b as Spinner,
27
+ z as Stack,
28
+ v as Table,
29
+ j as TaskLabels,
30
+ y as TeamMateActionType,
31
+ B as TeamMateAvailability,
63
32
  m as TeamMateProvider,
64
- d as TeamMates,
65
- la as TeamMatesConfig,
66
- p as TeammateActions,
67
- Q as Tooltip,
68
- va as learningSchema,
69
- C as useTeamMateContext
33
+ c as TeamMates,
34
+ D as TeamMatesConfig,
35
+ C as TeammateActions,
36
+ F as learningSchema,
37
+ l as useTeamMateContext
70
38
  };
package/dist/index2.js CHANGED
@@ -650,7 +650,7 @@ export {
650
650
  $0 as P,
651
651
  Y0 as Q,
652
652
  X0 as R,
653
- S0 as S,
653
+ j0 as S,
654
654
  N0 as T,
655
655
  q0 as U,
656
656
  z0 as V,
@@ -658,15 +658,15 @@ export {
658
658
  v0 as X,
659
659
  g0 as Y,
660
660
  V0 as Z,
661
- r1 as a,
661
+ t1 as a,
662
662
  K0 as b,
663
- d1 as c,
664
- t1 as d,
665
- e1 as e,
666
- j0 as f,
667
- n1 as g,
668
- R0 as h,
669
- I0 as i,
663
+ r1 as c,
664
+ S0 as d,
665
+ n1 as e,
666
+ R0 as f,
667
+ I0 as g,
668
+ d1 as h,
669
+ e1 as i,
670
670
  s as j,
671
671
  J0 as k,
672
672
  o1 as l,