@altimateai/ui-components 0.0.23-beta.6 → 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/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 { HTMLAttributes, ButtonHTMLAttributes, ReactNode, FC, MouseEvent } from 'react';
3
- import { B as ButtonProps } from './Button-C4jhPGlR.js';
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 CollapseProps extends HTMLAttributes<HTMLDivElement> {
15
- isOpen?: boolean;
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 Spinner: React$1.ForwardRefExoticComponent<SpinnerProps & React$1.RefAttributes<HTMLDivElement>>;
19
+ declare const IconButton: (props: Props$9) => JSX.Element;
25
20
 
26
- interface Props$7 extends ButtonHTMLAttributes<HTMLButtonElement> {
27
- variant?: ButtonProps["variant"];
21
+ interface Props$8 {
22
+ children: ReactNode;
23
+ title?: string | ReactNode;
24
+ id?: string;
25
+ className?: string;
28
26
  }
29
- declare const IconButton: (props: Props$7) => JSX.Element;
27
+ declare const Tooltip: (props: Props$8) => JSX.Element;
30
28
 
31
- interface Props$6 extends ButtonProps {
29
+ interface Props$7 extends ButtonProps {
32
30
  loading: boolean;
33
31
  }
34
- declare const LoadingButton: ({ loading, ...rest }: Props$6) => JSX.Element;
32
+ declare const LoadingButton: ({ loading, ...rest }: Props$7) => JSX.Element;
35
33
 
36
- interface Props$5 {
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$5) => JSX.Element;
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, 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 };
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 s, h as r, C as t, D as n, L as i, T as m, m as c, l as C, k as p } from "./main.js";
2
- import { C as T, T as v } from "./Table.js";
3
- import { a4 as P, Y as d, P as f, a3 as h, a2 as k, Z as u, X as g, a7 as x, a8 as A, a6 as S, 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 } from "./redux-toolkit.modern.js";
5
- import { Z as z } from "./Stack.js";
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
- L as ApiHelper,
8
- P as CoachForm,
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
- I as CodeBlock,
11
- T as Collapse,
12
- d as ContentCategory,
13
- s as ConversationGroupProvider,
14
- r as ConversationInputForm,
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
- w as IconButton,
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
- f as LoadingButton,
20
- h as Markdown,
21
- k as MermaidDiagram,
22
- u as PersonalizationScope,
23
- g as Popconfirm,
24
- x as ProjectGovernorAllowedFiles,
25
- A as ProjectGovernorCheckSchema,
26
- S as ProjectGovernorCheckTypes,
27
- b as Spinner,
28
- z as Stack,
29
- v as Table,
30
- j as TaskLabels,
31
- y as TeamMateActionType,
32
- B as TeamMateAvailability,
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
- c as TeamMates,
35
- D as TeamMatesConfig,
36
- C as TeammateActions,
37
- F as learningSchema,
38
- p as useTeamMateContext
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
  };