@rustic-ai/ui-components 0.0.8 → 0.0.9

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 (28) hide show
  1. package/dist/components/chart/rechartsTimeSeries.d.ts.map +1 -1
  2. package/dist/components/helper.d.ts +1 -0
  3. package/dist/components/helper.d.ts.map +1 -1
  4. package/dist/components/icon.d.ts +7 -0
  5. package/dist/components/icon.d.ts.map +1 -0
  6. package/dist/components/index.d.ts +3 -2
  7. package/dist/components/index.d.ts.map +1 -1
  8. package/dist/components/input/baseInput/baseInput.d.ts +8 -0
  9. package/dist/components/input/baseInput/baseInput.d.ts.map +1 -0
  10. package/dist/components/input/multimodal/multimodalInput/multimodalInput.d.ts +14 -0
  11. package/dist/components/input/multimodal/multimodalInput/multimodalInput.d.ts.map +1 -0
  12. package/dist/components/input/multimodal/uploader/uploader.d.ts +7 -0
  13. package/dist/components/input/multimodal/uploader/uploader.d.ts.map +1 -0
  14. package/dist/components/input/textInput/textInput.d.ts +3 -0
  15. package/dist/components/input/textInput/textInput.d.ts.map +1 -0
  16. package/dist/components/map/openLayersMap.d.ts.map +1 -1
  17. package/dist/components/media/controls/commonControls.d.ts.map +1 -1
  18. package/dist/components/media/controls/mediaIconButton.d.ts.map +1 -1
  19. package/dist/components/menu/popoverMenu.d.ts.map +1 -1
  20. package/dist/components/participantsContainer/participantsContainer.d.ts.map +1 -1
  21. package/dist/components/types.d.ts +46 -0
  22. package/dist/components/types.d.ts.map +1 -1
  23. package/dist/index.css +110 -19
  24. package/dist/index.js +1 -1
  25. package/dist/rusticTheme.d.ts.map +1 -1
  26. package/package.json +4 -2
  27. package/dist/components/textInput/textInput.d.ts +0 -32
  28. package/dist/components/textInput/textInput.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"rusticTheme.d.ts","sourceRoot":"","sources":["../src/rusticTheme.ts"],"names":[],"mappings":"AAiIA,QAAA,IAAI,gBAAgB,sCA2ClB,CAAA;AAIF,QAAA,IAAI,eAAe,sCA2CjB,CAAA;AAIF,eAAe,gBAAgB,CAAA;AAC/B,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAA"}
1
+ {"version":3,"file":"rusticTheme.d.ts","sourceRoot":"","sources":["../src/rusticTheme.ts"],"names":[],"mappings":"AA6IA,QAAA,IAAI,gBAAgB,sCA2ClB,CAAA;AAIF,QAAA,IAAI,eAAe,sCA2CjB,CAAA;AAIF,eAAe,gBAAgB,CAAA;AAC/B,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rustic-ai/ui-components",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "keywords": [
5
5
  "rustic-ai",
6
6
  "conversational-ui"
@@ -23,10 +23,10 @@
23
23
  "@fullcalendar/core": "6.1.10",
24
24
  "@fullcalendar/daygrid": "6.1.10",
25
25
  "@fullcalendar/react": "6.1.10",
26
- "@mui/icons-material": "5.15.8",
27
26
  "@mui/material": "5.15.7",
28
27
  "@mui/styled-engine-sc": "5.14.11",
29
28
  "@mui/system": "5.15.8",
29
+ "axios": "1.6.8",
30
30
  "dompurify": "3.0.6",
31
31
  "marked": "10.0.0",
32
32
  "ol": "9.0.0",
@@ -76,9 +76,11 @@
76
76
  "husky": "8.0.3",
77
77
  "lint-staged": "15.2.2",
78
78
  "mini-css-extract-plugin": "2.8.1",
79
+ "playwright-webkit": "1.34.3",
79
80
  "prettier": "3.2.5",
80
81
  "prop-types": "15.8.1",
81
82
  "storybook": "7.6.17",
83
+ "storybook-addon-mock": "4.3.0",
82
84
  "style-loader": "3.3.4",
83
85
  "ts-loader": "9.5.1",
84
86
  "ts-node": "10.9.2",
@@ -1,32 +0,0 @@
1
- import './textInput.css';
2
- import type { WebSocketClient } from '../types';
3
- export interface TextInputProps {
4
- ws: WebSocketClient;
5
- /** Id of the current user. */
6
- sender: string;
7
- /** Id of the current conversation. */
8
- conversationId: string;
9
- /** 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. */
10
- label?: string;
11
- /** Placeholder text to be displayed in the input before user starts typing. */
12
- placeholder?: string;
13
- /** Boolean that dictates whether `TextInput` can expand to be multiline. */
14
- multiline?: boolean;
15
- /** Maximum number of rows to be displayed. */
16
- maxRows?: number;
17
- /** Boolean that dictates whether `TextInput` takes up 100% width of the parent container. */
18
- fullWidth?: boolean;
19
- /** Boolean to enable speech-to-text. See which browsers are supported [here](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition#browser_compatibility). */
20
- enableSpeechToText?: boolean;
21
- }
22
- declare function TextInput(props: TextInputProps): import("react/jsx-runtime").JSX.Element;
23
- declare namespace TextInput {
24
- var defaultProps: {
25
- multiline: boolean;
26
- fullWidth: boolean;
27
- maxRows: number;
28
- enableSpeechToText: boolean;
29
- };
30
- }
31
- export default TextInput;
32
- //# sourceMappingURL=textInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../src/components/textInput/textInput.tsx"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;AAaxB,OAAO,KAAK,EAAW,eAAe,EAAE,MAAM,UAAU,CAAA;AAExD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,eAAe,CAAA;IACnB,8BAA8B;IAC9B,MAAM,EAAE,MAAM,CAAA;IACd,sCAAsC;IACtC,cAAc,EAAE,MAAM,CAAA;IACtB,4NAA4N;IAC5N,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,6FAA6F;IAC7F,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,2KAA2K;IAC3K,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAC7B;AAED,iBAAwB,SAAS,CAAC,KAAK,EAAE,cAAc,2CAqLtD;kBArLuB,SAAS;;;;;;;;eAAT,SAAS"}