@rustic-ai/ui-components 0.0.8 → 0.0.10

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.
Files changed (40) hide show
  1. package/dist/components/chart/rechartsTimeSeries.d.ts.map +1 -1
  2. package/dist/components/filePreview/filePreview.d.ts +8 -0
  3. package/dist/components/filePreview/filePreview.d.ts.map +1 -0
  4. package/dist/components/helper.d.ts +1 -0
  5. package/dist/components/helper.d.ts.map +1 -1
  6. package/dist/components/icon.d.ts +7 -0
  7. package/dist/components/icon.d.ts.map +1 -0
  8. package/dist/components/index.d.ts +6 -2
  9. package/dist/components/index.d.ts.map +1 -1
  10. package/dist/components/input/baseInput/baseInput.d.ts +8 -0
  11. package/dist/components/input/baseInput/baseInput.d.ts.map +1 -0
  12. package/dist/components/input/multimodal/multimodalInput/multimodalInput.d.ts +15 -0
  13. package/dist/components/input/multimodal/multimodalInput/multimodalInput.d.ts.map +1 -0
  14. package/dist/components/input/multimodal/uploader/uploader.d.ts +7 -0
  15. package/dist/components/input/multimodal/uploader/uploader.d.ts.map +1 -0
  16. package/dist/components/input/textInput/textInput.d.ts +3 -0
  17. package/dist/components/input/textInput/textInput.d.ts.map +1 -0
  18. package/dist/components/map/openLayersMap.d.ts.map +1 -1
  19. package/dist/components/media/controls/commonControls.d.ts.map +1 -1
  20. package/dist/components/media/controls/mediaIconButton.d.ts.map +1 -1
  21. package/dist/components/menu/popoverMenu.d.ts.map +1 -1
  22. package/dist/components/messageCanvas/actions/copy/copyText.d.ts +6 -0
  23. package/dist/components/messageCanvas/actions/copy/copyText.d.ts.map +1 -0
  24. package/dist/components/messageCanvas/actions/index.d.ts +12 -0
  25. package/dist/components/messageCanvas/actions/index.d.ts.map +1 -0
  26. package/dist/components/messageCanvas/messageCanvas.d.ts +16 -4
  27. package/dist/components/messageCanvas/messageCanvas.d.ts.map +1 -1
  28. package/dist/components/messageSpace/messageSpace.d.ts +8 -7
  29. package/dist/components/messageSpace/messageSpace.d.ts.map +1 -1
  30. package/dist/components/multipart/multipart.d.ts +5 -0
  31. package/dist/components/multipart/multipart.d.ts.map +1 -0
  32. package/dist/components/participantsContainer/participantsContainer.d.ts.map +1 -1
  33. package/dist/components/types.d.ts +57 -0
  34. package/dist/components/types.d.ts.map +1 -1
  35. package/dist/index.css +138 -30
  36. package/dist/index.js +1 -1
  37. package/dist/rusticTheme.d.ts.map +1 -1
  38. package/package.json +4 -2
  39. package/dist/components/textInput/textInput.d.ts +0 -32
  40. package/dist/components/textInput/textInput.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"rechartsTimeSeries.d.ts","sourceRoot":"","sources":["../../../src/components/chart/rechartsTimeSeries.tsx"],"names":[],"mappings":"AAAA,OAAO,0BAA0B,CAAA;AA8BjC,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,MAAM;IACrB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,uBAAuB;IACtC,sNAAsN;IACtN,UAAU,EAAE,cAAc,EAAE,CAAA;IAC5B,kKAAkK;IAClK,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,uCAAuC;IACvC,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC7B,oPAAoP;IACpP,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC7B,8HAA8H;IAC9H,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC7B,qLAAqL;IACrL,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAA;IACnC,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA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BAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IAC9C,iDAAiD;IACjD,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACpE,8GAA8G;IAC9G,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAC9B;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAA;AAuBpD,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,2CA4TzD;kBA5TQ,kBAAkB;;;;;;;;;AAuU3B,eAAe,kBAAkB,CAAA"}
@@ -0,0 +1,8 @@
1
+ import './filePreview.css';
2
+ import React from 'react';
3
+ import type { FileData } from '../types';
4
+ export interface FilePreviewProps {
5
+ file: FileData;
6
+ }
7
+ export default function FilePreview(props: React.PropsWithChildren<FilePreviewProps>): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=filePreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filePreview.d.ts","sourceRoot":"","sources":["../../../src/components/filePreview/filePreview.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAA;AAK1B,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAExC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,QAAQ,CAAA;CACf;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CACjC,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,2CAiBjD"}
@@ -16,4 +16,5 @@ export declare function getSizeStyles(maybeWidth: number | undefined, maybeHeigh
16
16
  height?: number;
17
17
  className?: string;
18
18
  };
19
+ export declare function shortenString(str: string, maxLength: number): string;
19
20
  //# sourceMappingURL=helper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/components/helper.ts"],"names":[],"mappings":"AAGA,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAIlE;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAYxD;AAED,wBAAgB,iBAAiB,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,CAqBlE;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAM9D;AAED,eAAO,MAAM,qBAAqB,QAAS,MAAM,KAAG,MAEnD,CAAA;AAED,oBAAY,UAAU;IACpB,IAAI,IAAA;IACJ,UAAU,IAAA;CACX;AAED,wBAAgB,eAAe,CAC7B,iBAAiB,EAAE,MAAM,EACzB,MAAM,EAAE,UAAU,GACjB,MAAM,CAsBR;AAED,wBAAgB,uBAAuB,CACrC,sBAAsB,EAAE,MAAM,EAC9B,oBAAoB,EAAE,MAAM,GAC3B,MAAM,CASR;AAED,wBAAgB,oBAAoB,CAClC,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,UAOvB;AAED,wBAAgB,kBAAkB,CAAC,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAapE;AAED,wBAAgB,aAAa,CAC3B,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAqBzD"}
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/components/helper.ts"],"names":[],"mappings":"AAGA,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAIlE;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAYxD;AAED,wBAAgB,iBAAiB,CAAC,gBAAgB,EAAE,MAAM,GAAG,MAAM,CA6BlE;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAM9D;AAED,eAAO,MAAM,qBAAqB,QAAS,MAAM,KAAG,MAEnD,CAAA;AAED,oBAAY,UAAU;IACpB,IAAI,IAAA;IACJ,UAAU,IAAA;CACX;AAED,wBAAgB,eAAe,CAC7B,iBAAiB,EAAE,MAAM,EACzB,MAAM,EAAE,UAAU,GACjB,MAAM,CAsBR;AAED,wBAAgB,uBAAuB,CACrC,sBAAsB,EAAE,MAAM,EAC9B,oBAAoB,EAAE,MAAM,GAC3B,MAAM,CASR;AAED,wBAAgB,oBAAoB,CAClC,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,UAOvB;AAED,wBAAgB,kBAAkB,CAAC,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAapE;AAED,wBAAgB,aAAa,CAC3B,UAAU,EAAE,MAAM,GAAG,SAAS,EAC9B,WAAW,EAAE,MAAM,GAAG,SAAS,GAC9B;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,CAqBzD;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,UAK3D"}
@@ -0,0 +1,7 @@
1
+ type IconProps = {
2
+ name: string;
3
+ className?: string;
4
+ };
5
+ export default function Icon(props: IconProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../src/components/icon.tsx"],"names":[],"mappings":"AAEA,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AACD,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,KAAK,EAAE,SAAS,2CAW5C"}
@@ -3,23 +3,27 @@ import RechartsTimeSeries from './chart/rechartsTimeSeries';
3
3
  import CodeSnippet from './codeSnippet/codeSnippet';
4
4
  import ElementRenderer from './elementRenderer/elementRenderer';
5
5
  import Image from './image/image';
6
+ import MultimodalInput from './input/multimodal/multimodalInput/multimodalInput';
7
+ import TextInput from './input/textInput/textInput';
6
8
  import OpenLayersMap from './map/openLayersMap';
7
9
  import MarkedMarkdown from './markdown/markedMarkdown';
8
10
  import MarkedStreamingMarkdown from './markdown/markedStreamingMarkdown';
9
11
  import Sound from './media/audio/sound';
10
12
  import Video from './media/video/video';
11
13
  import PopoverMenu from './menu/popoverMenu';
14
+ import CopyText from './messageCanvas/actions/copy/copyText';
15
+ import Action from './messageCanvas/actions/index';
12
16
  import MessageCanvas from './messageCanvas/messageCanvas';
13
17
  import MessageSpace from './messageSpace/messageSpace';
18
+ import Multipart from './multipart/multipart';
14
19
  import NavBar from './navBar/navBar';
15
20
  import ParticipantsContainer from './participantsContainer/participantsContainer';
16
21
  import Table from './table/table';
17
22
  import StreamingText from './text/streamingText';
18
23
  import Text from './text/text';
19
- import TextInput from './textInput/textInput';
20
24
  import Timestamp from './timestamp/timestamp';
21
25
  import YoutubeVideo from './video/youtubeVideo';
22
- export { CodeSnippet, ElementRenderer, FCCalendar, Image, MarkedMarkdown, MarkedStreamingMarkdown, MessageCanvas, MessageSpace, NavBar, OpenLayersMap, ParticipantsContainer, PopoverMenu, RechartsTimeSeries, Sound, StreamingText, Table, Text, TextInput, Timestamp, Video, YoutubeVideo, };
26
+ export { Action, CodeSnippet, CopyText, ElementRenderer, FCCalendar, Image, MarkedMarkdown, MarkedStreamingMarkdown, MessageCanvas, MessageSpace, MultimodalInput, Multipart, NavBar, OpenLayersMap, ParticipantsContainer, PopoverMenu, RechartsTimeSeries, Sound, StreamingText, Table, Text, TextInput, Timestamp, Video, YoutubeVideo, };
23
27
  export * from '../rusticTheme';
24
28
  export * from './types';
25
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,uBAAuB,CAAA;AAC9C,OAAO,kBAAkB,MAAM,4BAA4B,CAAA;AAC3D,OAAO,WAAW,MAAM,2BAA2B,CAAA;AACnD,OAAO,eAAe,MAAM,mCAAmC,CAAA;AAC/D,OAAO,KAAK,MAAM,eAAe,CAAA;AACjC,OAAO,aAAa,MAAM,qBAAqB,CAAA;AAC/C,OAAO,cAAc,MAAM,2BAA2B,CAAA;AACtD,OAAO,uBAAuB,MAAM,oCAAoC,CAAA;AACxE,OAAO,KAAK,MAAM,qBAAqB,CAAA;AACvC,OAAO,KAAK,MAAM,qBAAqB,CAAA;AACvC,OAAO,WAAW,MAAM,oBAAoB,CAAA;AAC5C,OAAO,aAAa,MAAM,+BAA+B,CAAA;AACzD,OAAO,YAAY,MAAM,6BAA6B,CAAA;AACtD,OAAO,MAAM,MAAM,iBAAiB,CAAA;AACpC,OAAO,qBAAqB,MAAM,+CAA+C,CAAA;AACjF,OAAO,KAAK,MAAM,eAAe,CAAA;AACjC,OAAO,aAAa,MAAM,sBAAsB,CAAA;AAChD,OAAO,IAAI,MAAM,aAAa,CAAA;AAC9B,OAAO,SAAS,MAAM,uBAAuB,CAAA;AAC7C,OAAO,SAAS,MAAM,uBAAuB,CAAA;AAC7C,OAAO,YAAY,MAAM,sBAAsB,CAAA;AAE/C,OAAO,EACL,WAAW,EACX,eAAe,EACf,UAAU,EACV,KAAK,EACL,cAAc,EACd,uBAAuB,EACvB,aAAa,EACb,YAAY,EACZ,MAAM,EACN,aAAa,EACb,qBAAqB,EACrB,WAAW,EACX,kBAAkB,EAClB,KAAK,EACL,aAAa,EACb,KAAK,EACL,IAAI,EACJ,SAAS,EACT,SAAS,EACT,KAAK,EACL,YAAY,GACb,CAAA;AAED,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA"}
1
+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AW,EACX,kBAAkB,EAClB,KAAK,EACL,aAAa,EACb,KAAK,EACL,IAAI,EACJ,SAAS,EACT,SAAS,EACT,KAAK,EACL,YAAY,GACb,CAAA;AAED,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA"}
@@ -0,0 +1,8 @@
1
+ import './baseInput.css';
2
+ import React from 'react';
3
+ import type { BaseInputProps } from '../../types';
4
+ declare const BaseInput: React.ForwardRefExoticComponent<BaseInputProps & {
5
+ children?: React.ReactNode;
6
+ } & React.RefAttributes<HTMLDivElement>>;
7
+ export default BaseInput;
8
+ //# sourceMappingURL=baseInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baseInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/baseInput/baseInput.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;AAUxB,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,KAAK,EAAE,cAAc,EAAW,MAAM,aAAa,CAAA;AA8M1D,QAAA,MAAM,SAAS;;wCAA+B,CAAA;AAS9C,eAAe,SAAS,CAAA"}
@@ -0,0 +1,15 @@
1
+ import './multimodalInput.css';
2
+ import '../../../../index.css';
3
+ import type { MultimodalInputProps } from '../../../types';
4
+ declare function MultimodalInput(props: MultimodalInputProps): import("react/jsx-runtime").JSX.Element;
5
+ declare namespace MultimodalInput {
6
+ var defaultProps: {
7
+ multiline: boolean;
8
+ fullWidth: boolean;
9
+ maxRows: number;
10
+ maxFileSize: number;
11
+ maxFileCount: number;
12
+ };
13
+ }
14
+ export default MultimodalInput;
15
+ //# sourceMappingURL=multimodalInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multimodalInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/multimodal/multimodalInput/multimodalInput.tsx"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAA;AAC9B,OAAO,uBAAuB,CAAA;AAO9B,OAAO,KAAK,EAAqB,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAI7E,iBAAwB,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAqElE;kBArEuB,eAAe;;;;;;;;;eAAf,eAAe"}
@@ -0,0 +1,7 @@
1
+ import './uploader.css';
2
+ import type { UploaderProps } from '../../../types';
3
+ export declare function getFilesToAdd(files: File[], totalFileCount: number, maxFileCount?: number): File[] | undefined;
4
+ export declare function getFileSizeAbbrev(bytes: number): string;
5
+ declare function Uploader(props: UploaderProps): import("react/jsx-runtime").JSX.Element;
6
+ export default Uploader;
7
+ //# sourceMappingURL=uploader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploader.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/multimodal/uploader/uploader.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAA;AAcvB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAWnD,wBAAgB,aAAa,CAC3B,KAAK,EAAE,IAAI,EAAE,EACb,cAAc,EAAE,MAAM,EACtB,YAAY,CAAC,EAAE,MAAM,GACpB,IAAI,EAAE,GAAG,SAAS,CAUpB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAYvD;AAED,iBAAS,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAyRrC;AACD,eAAe,QAAQ,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { TextInputProps } from '../../types';
2
+ export default function TextInput(props: TextInputProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=textInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../../src/components/input/textInput/textInput.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,cAAc,EAAE,MAAM,aAAa,CAAA;AAG1D,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,cAAc,2CActD"}
@@ -1 +1 @@
1
- {"version":3,"file":"openLayersMap.d.ts","sourceRoot":"","sources":["../../../src/components/map/openLayersMap.tsx"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAA;AAClB,OAAO,qBAAqB,CAAA;AAc5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,cAAc,2CAyE1D"}
1
+ {"version":3,"file":"openLayersMap.d.ts","sourceRoot":"","sources":["../../../src/components/map/openLayersMap.tsx"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAA;AAClB,OAAO,qBAAqB,CAAA;AAc5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,cAAc,2CA4E1D"}
@@ -1 +1 @@
1
- {"version":3,"file":"commonControls.d.ts","sourceRoot":"","sources":["../../../../src/components/media/controls/commonControls.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAA;AAe7B,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,gBAAgB,CAAA;CAC/B;AAED,UAAU,2BAA2B;IACnC,mBAAmB,EAAE,OAAO,CAAA;IAC5B,sBAAsB,EAAE,MAAM,IAAI,CAAA;CACnC;AAED,UAAU,sBAAuB,SAAQ,aAAa;IACpD,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;CACxC;AAED,UAAU,yBAA0B,SAAQ,aAAa;IACvD,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC/B;AAID,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,2CAsDlD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,2CAoDlD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,2CAiBxE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAiC9D;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,aAAa,2CAkCtD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,2CAkBpE"}
1
+ {"version":3,"file":"commonControls.d.ts","sourceRoot":"","sources":["../../../../src/components/media/controls/commonControls.tsx"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAA;AAc7B,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,gBAAgB,CAAA;CAC/B;AAED,UAAU,2BAA2B;IACnC,mBAAmB,EAAE,OAAO,CAAA;IAC5B,sBAAsB,EAAE,MAAM,IAAI,CAAA;CACnC;AAED,UAAU,sBAAuB,SAAQ,aAAa;IACpD,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;CACxC;AAED,UAAU,yBAA0B,SAAQ,aAAa;IACvD,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC/B;AAID,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,2CAsDlD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,aAAa,2CAoDlD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,2CAiBxE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAiC9D;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,aAAa,2CAkCtD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,2CAkBpE"}
@@ -1 +1 @@
1
- {"version":3,"file":"mediaIconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/media/controls/mediaIconButton.tsx"],"names":[],"mappings":"AAKA,UAAU,oBAAoB;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EACF,MAAM,GACN,OAAO,GACP,SAAS,GACT,QAAQ,GACR,UAAU,GACV,WAAW,GACX,kBAAkB,GAClB,sBAAsB,GACtB,YAAY,GACZ,gBAAgB,GAChB,YAAY,GACZ,aAAa,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CA0C1D"}
1
+ {"version":3,"file":"mediaIconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/media/controls/mediaIconButton.tsx"],"names":[],"mappings":"AAMA,UAAU,oBAAoB;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EACF,MAAM,GACN,OAAO,GACP,SAAS,GACT,QAAQ,GACR,UAAU,GACV,WAAW,GACX,kBAAkB,GAClB,sBAAsB,GACtB,YAAY,GACZ,gBAAgB,GAChB,YAAY,GACZ,aAAa,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAuC1D"}
@@ -1 +1 @@
1
- {"version":3,"file":"popoverMenu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/popoverMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAA;AAa1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAA2B,MAAM,OAAO,CAAA;AAE/C,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;IACxD,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,YAAY,CAAC,EAAE,SAAS,CAAA;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,eAAe,EAAE,CAAA;IAC5B,kEAAkE;IAClE,SAAS,EAAE,MAAM,CAAA;IACjB,wCAAwC;IACxC,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CA8G1D"}
1
+ {"version":3,"file":"popoverMenu.d.ts","sourceRoot":"","sources":["../../../src/components/menu/popoverMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,CAAA;AAY1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAA2B,MAAM,OAAO,CAAA;AAI/C,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAA;IACxD,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,YAAY,CAAC,EAAE,SAAS,CAAA;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,eAAe,EAAE,CAAA;IAC5B,kEAAkE;IAClE,SAAS,EAAE,MAAM,CAAA;IACjB,wCAAwC;IACxC,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAgH1D"}
@@ -0,0 +1,6 @@
1
+ import type { ThreadableMessage } from '../../../types';
2
+ export interface CopyTextProps {
3
+ message: ThreadableMessage;
4
+ }
5
+ export default function CopyText(props: CopyTextProps): import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=copyText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"copyText.d.ts","sourceRoot":"","sources":["../../../../../src/components/messageCanvas/actions/copy/copyText.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGvD,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,iBAAiB,CAAA;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,KAAK,EAAE,aAAa,2CA4BpD"}
@@ -0,0 +1,12 @@
1
+ import './index.css';
2
+ import type { ReactNode } from 'react';
3
+ import type { ThreadableMessage } from '../../types';
4
+ interface ActionProps {
5
+ label: string;
6
+ message: ThreadableMessage;
7
+ icon: ReactNode;
8
+ onClick: (message: ThreadableMessage) => void;
9
+ }
10
+ export default function Action(props: ActionProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/messageCanvas/actions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;AAIpB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAEpD,UAAU,WAAW;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,iBAAiB,CAAA;IAC1B,IAAI,EAAE,SAAS,CAAA;IACf,OAAO,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,IAAI,CAAA;CAC9C;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,WAAW,2CAsBhD"}
@@ -1,15 +1,27 @@
1
1
  import './messageCanvas.css';
2
- import type { ReactNode } from 'react';
2
+ import { type ReactNode } from 'react';
3
3
  import type { ThreadableMessage } from '../types';
4
- export interface MessageCanvasProps {
4
+ export interface MessageContainerProps {
5
5
  /** Profile icon to be shown before sender's name. */
6
6
  getProfileComponent?: (message: ThreadableMessage) => ReactNode;
7
+ /** A function that returns a single React element which may be composed of several actions supported for the message, such as editing, copying, and deleting, etc.
8
+ * In case no actions are applicable or available for a particular message, the function may return `undefined`.
9
+ * This approach offers flexibility in tailoring message interactions to specific application requirements.
10
+ * To define individual message actions, developers can extend the `Action` component's functionality.
11
+ * One such example is the `CopyText` component.
12
+ */
13
+ getActionsComponent?: (message: ThreadableMessage) => ReactNode | undefined;
14
+ }
15
+ export interface MessageCanvasProps extends MessageContainerProps {
7
16
  /** Message information to be displayed. Please see the `MessageSpace` docs for more information about the `ThreadableMessage` interface. */
8
17
  message: ThreadableMessage;
9
18
  /** React component to be displayed in the message canvas. */
10
19
  children: ReactNode;
11
- /** Message actions. For example, this could be a list of buttons for different actions (e.g. copy, delete, save, etc.) */
12
- getActionsComponent?: (message: ThreadableMessage) => ReactNode;
13
20
  }
21
+ /**
22
+ The `MessageCanvas` component serves as a container for displaying messages within a chat interface.
23
+ It provides a structured layout for rendering message content along with sender information and timestamp details.
24
+ This component is designed to encapsulate individual message items and facilitate consistent rendering of messages within an application.
25
+ */
14
26
  export default function MessageCanvas(props: MessageCanvasProps): import("react/jsx-runtime").JSX.Element;
15
27
  //# sourceMappingURL=messageCanvas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"messageCanvas.d.ts","sourceRoot":"","sources":["../../../src/components/messageCanvas/messageCanvas.tsx"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAA;AAK5B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAEjD,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,SAAS,CAAA;IAC/D,4IAA4I;IAC5I,OAAO,EAAE,iBAAiB,CAAA;IAC1B,6DAA6D;IAC7D,QAAQ,EAAE,SAAS,CAAA;IACnB,0HAA0H;IAC1H,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,SAAS,CAAA;CAChE;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAoC9D"}
1
+ {"version":3,"file":"messageCanvas.d.ts","sourceRoot":"","sources":["../../../src/components/messageCanvas/messageCanvas.tsx"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAA;AAK5B,OAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAG7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAEjD,MAAM,WAAW,qBAAqB;IACpC,qDAAqD;IACrD,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,SAAS,CAAA;IAC/D;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,SAAS,GAAG,SAAS,CAAA;CAC5E;AAED,MAAM,WAAW,kBAAmB,SAAQ,qBAAqB;IAC/D,4IAA4I;IAC5I,OAAO,EAAE,iBAAiB,CAAA;IAC1B,6DAA6D;IAC7D,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAqC9D"}
@@ -1,12 +1,13 @@
1
1
  import './messageSpace.css';
2
- import type { ReactNode } from 'react';
3
- import type { ComponentMap, Message, ThreadableMessage } from '../types';
4
- export interface MessageSpaceProps {
2
+ import { type MessageContainerProps } from '../messageCanvas/messageCanvas';
3
+ import type { ComponentMap, ThreadableMessage } from '../types';
4
+ export interface MessageSpaceProps extends MessageContainerProps {
5
+ /** A component map contains message formats as keys and their corresponding React components as values. */
5
6
  supportedElements: ComponentMap;
6
7
  messages?: ThreadableMessage[];
7
- getActionsComponent?: (message: Message) => ReactNode;
8
- getProfileComponent?: (message: Message) => ReactNode;
9
8
  }
10
- declare const MessageSpace: (props: MessageSpaceProps) => import("react/jsx-runtime").JSX.Element;
11
- export default MessageSpace;
9
+ /**
10
+ The `MessageSpace` component uses `MessageCanvas` and `ElementRenderer` to render a list of messages. It serves as a container for individual message items, each encapsulated within a `MessageCanvas` for consistent styling and layout. \n\n Note: For more information about the `getActionsComponent` and `getProfileComponent` fields, refer to the [MessageCanvas' docs](http://localhost:6006/?path=/docs/rustic-ui-message-canvas-message-canvas--docs).
11
+ */
12
+ export default function MessageSpace(props: MessageSpaceProps): import("react/jsx-runtime").JSX.Element;
12
13
  //# sourceMappingURL=messageSpace.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"messageSpace.d.ts","sourceRoot":"","sources":["../../../src/components/messageSpace/messageSpace.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAA;AAG3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKtC,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAExE,MAAM,WAAW,iBAAiB;IAChC,iBAAiB,EAAE,YAAY,CAAA;IAC/B,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAA;IAC9B,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,SAAS,CAAA;IACrD,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,SAAS,CAAA;CACtD;AAED,QAAA,MAAM,YAAY,UAAW,iBAAiB,4CAsB7C,CAAA;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"messageSpace.d.ts","sourceRoot":"","sources":["../../../src/components/messageSpace/messageSpace.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAA;AAM3B,OAAsB,EACpB,KAAK,qBAAqB,EAC3B,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAE/D,MAAM,WAAW,iBAAkB,SAAQ,qBAAqB;IAC9D,2GAA2G;IAC3G,iBAAiB,EAAE,YAAY,CAAA;IAC/B,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAA;CAC/B;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAsB5D"}
@@ -0,0 +1,5 @@
1
+ import '../../index.css';
2
+ import './multipart.css';
3
+ import type { MultipartData } from '../types';
4
+ export default function Multipart(props: MultipartData): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=multipart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"multipart.d.ts","sourceRoot":"","sources":["../../../src/components/multipart/multipart.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;AACxB,OAAO,iBAAiB,CAAA;AAOxB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAE7C,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,aAAa,2CAerD"}
@@ -1 +1 @@
1
- {"version":3,"file":"participantsContainer.d.ts","sourceRoot":"","sources":["../../../src/components/participantsContainer/participantsContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAA;AAoBpC,OAAO,EAAE,KAAK,WAAW,EAAoC,MAAM,UAAU,CAAA;AAE7E,MAAM,WAAW,0BAA0B;IACzC,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,6EAA6E;IAC7E,qBAAqB,EAAE,OAAO,CAAA;IAC9B,yDAAyD;IACzD,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AA+FD,QAAA,MAAM,qBAAqB,UAAW,0BAA0B,4CAyE/D,CAAA;AAED,eAAe,qBAAqB,CAAA"}
1
+ {"version":3,"file":"participantsContainer.d.ts","sourceRoot":"","sources":["../../../src/components/participantsContainer/participantsContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAA;AAkBpC,OAAO,EAAE,KAAK,WAAW,EAAoC,MAAM,UAAU,CAAA;AAE7E,MAAM,WAAW,0BAA0B;IACzC,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,6EAA6E;IAC7E,qBAAqB,EAAE,OAAO,CAAA;IAC9B,yDAAyD;IACzD,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB;AA+FD,QAAA,MAAM,qBAAqB,UAAW,0BAA0B,4CAyE/D,CAAA;AAED,eAAe,qBAAqB,CAAA"}
@@ -129,4 +129,61 @@ export interface VideoFormat extends MediaFormat {
129
129
  /** URL of an image to be shown while the video is downloading. If not provided, nothing is displayed until the first frame is available. */
130
130
  poster?: string;
131
131
  }
132
+ export interface FileData {
133
+ name: string;
134
+ url?: string;
135
+ }
136
+ export interface MultipartFormat extends DataFormat {
137
+ /** An array of file data. */
138
+ files: FileData[];
139
+ /** Text content sent along with the files. */
140
+ text?: string;
141
+ }
142
+ export type MultipartData = MultipartFormat & Updates<MultipartFormat>;
143
+ export interface BaseInputProps {
144
+ /** Id of the current user. */
145
+ sender: string;
146
+ /** Id of the current conversation. */
147
+ conversationId: string;
148
+ /** Label text to be displayed in the input, which will then move to the top when the input is focused on. If both label and placeholder are provided, the placeholder will only be visible once the input is focused on. */
149
+ label?: string;
150
+ /** Placeholder text to be displayed in the input before user starts typing. */
151
+ placeholder?: string;
152
+ /** Boolean that dictates whether `TextInput` can expand to be multiline. */
153
+ multiline?: boolean;
154
+ /** Maximum number of rows to be displayed. */
155
+ maxRows?: number;
156
+ /** Boolean that dictates whether `TextInput` takes up 100% width of the parent container. */
157
+ fullWidth?: boolean;
158
+ /** function to send the message */
159
+ send: (message: Message) => void;
160
+ /** Additional condition to enable the send button. */
161
+ isSendEnabled?: boolean;
162
+ /** Boolean to enable speech-to-text. See which browsers are supported [here](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition#browser_compatibility). */
163
+ enableSpeechToText?: boolean;
164
+ }
165
+ export interface TextInputProps extends Omit<BaseInputProps, 'send' | 'isSendEnabled'> {
166
+ ws: WebSocketClient;
167
+ }
168
+ export interface UploaderProps {
169
+ /** The types of files that are allowed to be selected for upload. For safety reasons, only allow file types that can be handled by your server. Avoid accepting executable file types like .exe, .bat, or .msi. For more information, refer to the [mdn web docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#unique_file_type_specifiers). */
170
+ acceptedFileTypes: string;
171
+ /** The API endpoint where files will be uploaded. File id will be appended to the end of API endpoint. */
172
+ uploadFileEndpoint: string;
173
+ /** The API endpoint to delete/cancel uploaded files. File id will be appended to the end of API endpoint. */
174
+ deleteFileEndpoint: string;
175
+ /** Used in the API request to link the file with the message that's going to be sent. */
176
+ messageId: string;
177
+ /** A function to handle changes in the file list. The parent component should use this to track file names and handle submit accordingly. */
178
+ onFileUpdate: (action: 'add' | 'remove', fileName: string) => void;
179
+ /** Optional HTML div where the errors should be shown. */
180
+ errorMessagesContainer?: HTMLDivElement;
181
+ /** Optional HTML div where the filePreviews should be shown. */
182
+ filePreviewsContainer?: HTMLDivElement;
183
+ /** The maximum number of files that can be uploaded in one message. */
184
+ maxFileCount?: number;
185
+ /** The maximum size for each uploaded file, in bytes. */
186
+ maxFileSize?: number;
187
+ }
188
+ export type MultimodalInputProps = TextInputProps & Omit<UploaderProps, 'messageId' | 'onFileUpdate' | 'filePreviewsContainer' | 'errorMessagesContainer'>;
132
189
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/components/types.ts"],"names":[],"mappings":";AACA,MAAM,MAAM,WAAW,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAA;AAEhD,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,WAAW,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,iBAAkB,SAAQ,OAAO;IAChD,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,kBAAkB,CAAC,EAAE,WAAW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;IAC1G,kBAAkB,EAAE,MAAM,CAAA;IAC1B,6GAA6G;IAC7G,kBAAkB,EAAE,MAAM,CAAA;IAC1B,yFAAyF;IACzF,SAAS,EAAE,MAAM,CAAA;IACjB,6IAA6I;IAC7I,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,GAAG,QAAQ,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAClE,0DAA0D;IAC1D,sBAAsB,CAAC,EAAE,cAAc,CAAA;IACvC,gEAAgE;IAChE,qBAAqB,CAAC,EAAE,cAAc,CAAA;IACtC,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,MAAM,oBAAoB,GAAG,cAAc,GAC/C,IAAI,CACF,aAAa,EACX,WAAW,GACX,cAAc,GACd,uBAAuB,GACvB,wBAAwB,CAC3B,CAAA"}
package/dist/index.css CHANGED
@@ -60,19 +60,19 @@
60
60
  }
61
61
 
62
62
  .rustic-code-snippet {
63
- border-radius: 16px 16px 4px 4px;
64
- width: 100%;
65
- height: 100%;
63
+ border-radius: 16px 16px 4px 4px;
64
+ max-width: calc(100vw - 100px);
66
65
  }
67
66
 
68
67
  .rustic-code-snippet p {
69
- padding: 16px;
68
+ padding: 16px;
70
69
  }
71
70
 
72
71
  .rustic-code-snippet .cm-editor {
73
- padding: 24px;
74
- overflow-x: auto;
72
+ padding: 24px;
73
+ overflow-x: auto;
75
74
  }
75
+
76
76
  figcaption {
77
77
  word-wrap: break-word;
78
78
  margin-top: 16px;
@@ -101,14 +101,124 @@ code {
101
101
  width: 100%;
102
102
  height: 100%;
103
103
  }
104
+
105
+ .rustic-files {
106
+ display: flex;
107
+ gap: 8px;
108
+ flex-wrap: wrap;
109
+ }
110
+
111
+ .rustic-multimodal-input .rustic-bottom-buttons {
112
+ display: flex;
113
+ justify-content: space-between;
114
+ }
115
+
116
+ .rustic-multimodal-input .rustic-text-field fieldset[aria-hidden='true'] {
117
+ border-width: 1px;
118
+ }
119
+
120
+ .rustic-multimodal-input .rustic-base-input {
121
+ flex-direction: column;
122
+ gap: 0;
123
+ }
124
+
125
+ .rustic-multimodal-input .rustic-input-actions {
126
+ width: 100%;
127
+ position: relative;
128
+ }
129
+
130
+ .rustic-multimodal-input .rustic-input-actions .rustic-send-button {
131
+ position: absolute;
132
+ bottom: 0;
133
+ right: 0;
134
+ }
135
+
136
+ .rustic-bottom-buttons {
137
+ padding: 8px;
138
+ }
139
+
140
+ .rustic-base-input {
141
+ display: flex;
142
+ align-items: flex-start;
143
+ }
144
+
145
+ .rustic-base-input .rustic-text-field {
146
+ padding: 16px;
147
+ }
148
+
149
+ .rustic-base-input .rustic-text-field fieldset[aria-hidden='true'] {
150
+ border-width: 1px;
151
+ border: none;
152
+ }
153
+
154
+ .rustic-error-and-input-container {
155
+ width: 100%;
156
+ }
157
+
158
+ .rustic-base-input .rustic-input-field {
159
+ display: flex;
160
+ border-radius: 16px;
161
+ position: relative;
162
+ flex-direction: column;
163
+ }
164
+
165
+ .rustic-base-input .rustic-input-label {
166
+ padding-top: 8px;
167
+ }
168
+
169
+ .rustic-base-input .rustic-text-field .MuiOutlinedInput-input {
170
+ padding: 0;
171
+ }
172
+
173
+ .rustic-base-input .rustic-text-field .MuiOutlinedInput-root {
174
+ padding: 0;
175
+ }
176
+
177
+ .rustic-base-input .rustic-send-button {
178
+ margin: 10px 8px;
179
+ }
180
+
181
+ .rustic-file-preview .rustic-upload-progress {
182
+ width: 40px;
183
+ height: 8px;
184
+ }
185
+
186
+ .rustic-file-preview .rustic-flex-center {
187
+ display: flex;
188
+ align-items: center;
189
+ }
190
+
191
+ .rustic-uploader input {
192
+ display: none;
193
+ }
194
+
195
+ .rustic-error-message {
196
+ display: block;
197
+ }
198
+
199
+ .rustic-padding-16 {
200
+ padding: 16px;
201
+ }
202
+
203
+ .rustic-file-preview {
204
+ position: relative;
205
+ display: flex;
206
+ align-items: center;
207
+ padding: 8px 8px 8px 16px;
208
+ justify-content: space-between;
209
+ width: 220px;
210
+ height: 56px;
211
+ }
212
+
104
213
  .rustic-open-layers-map-canvas {
105
214
  height: 200px;
106
215
  width: 100%;
107
216
  }
108
217
 
109
- .rustic-open-layers-map-marker {
218
+ span.rustic-open-layers-map-marker {
110
219
  font-size: 40px;
111
220
  }
221
+
112
222
  .rustic-sound video {
113
223
  display: none;
114
224
  }
@@ -419,6 +529,10 @@ code {
419
529
  margin-right: 8px;
420
530
  }
421
531
 
532
+ .rustic-message-actions {
533
+ padding: 4px 8px;
534
+ }
535
+
422
536
  .rustic-message-canvas {
423
537
  display: flex;
424
538
  flex-direction: column;
@@ -431,6 +545,7 @@ code {
431
545
 
432
546
  .rustic-message-canvas .rustic-sender-info {
433
547
  display: flex;
548
+ align-items: center;
434
549
  gap: 8px;
435
550
  }
436
551
 
@@ -456,11 +571,21 @@ code {
456
571
  gap: 16px;
457
572
  }
458
573
 
574
+ .rustic-multipart {
575
+ display: flex;
576
+ flex-direction: column;
577
+ gap: 16px;
578
+ }
579
+
580
+ .rustic-text {
581
+ white-space: break-spaces;
582
+ overflow-wrap: break-word;
583
+ }
584
+
459
585
  .rustic-nav-bar {
460
586
  height: 72px;
461
587
  justify-content: space-between;
462
- padding-left: 24px;
463
- padding-right: 24px;
588
+ padding: 16px;
464
589
  }
465
590
 
466
591
  .rustic-nav-bar-button {
@@ -511,28 +636,11 @@ code {
511
636
  margin-inline: 24px;
512
637
  }
513
638
 
514
- .rustic-table .rustic-table-title {
515
- text-align: center;
516
- }
517
-
518
- .rustic-text {
519
- white-space: break-spaces;
520
- overflow-wrap: break-word;
521
- }
522
-
523
- .rustic-text-input-container {
524
- display: flex;
525
- align-items: flex-end;
526
- gap: 8px;
527
- }
528
-
529
- .rustic-text-input-container .rustic-text-input fieldset[aria-hidden='true'] {
530
- border-width: 1px;
639
+ .rustic-table {
640
+ max-width: calc(100vw - 100px);
531
641
  }
532
642
 
533
- .rustic-text-input-and-error-container {
534
- display: flex;
535
- flex-direction: column;
536
- width: 100%;
643
+ .rustic-table .rustic-table-title {
644
+ text-align: center;
537
645
  }
538
646