reachat 2.2.0 → 3.1.0

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 (46) hide show
  1. package/dist/{CSVFileRenderer-BOdL4Jte.js → CSVFileRenderer-C2E4Xnkz.js} +2 -2
  2. package/dist/{CSVFileRenderer-BOdL4Jte.js.map → CSVFileRenderer-C2E4Xnkz.js.map} +1 -1
  3. package/dist/Chat.d.ts +12 -0
  4. package/dist/{Markdown/charts/ChartError.d.ts → ComponentCatalog/ComponentError.d.ts} +2 -2
  5. package/dist/ComponentCatalog/ComponentPre.d.ts +18 -0
  6. package/dist/ComponentCatalog/ComponentRenderer.d.ts +17 -0
  7. package/dist/ComponentCatalog/chartComponentDef.d.ts +36 -0
  8. package/dist/ComponentCatalog/componentCatalog.d.ts +44 -0
  9. package/dist/ComponentCatalog/componentCatalog.spec.d.ts +1 -0
  10. package/dist/ComponentCatalog/generatePrompt.d.ts +9 -0
  11. package/dist/ComponentCatalog/generatePrompt.spec.d.ts +1 -0
  12. package/dist/ComponentCatalog/index.d.ts +9 -0
  13. package/dist/ComponentCatalog/types.d.ts +108 -0
  14. package/dist/ComponentCatalog/validateSpec.d.ts +17 -0
  15. package/dist/ComponentCatalog/validateSpec.spec.d.ts +1 -0
  16. package/dist/{DefaultFileRenderer-C2MsQ9wz.js → DefaultFileRenderer-Day12qYs.js} +2 -2
  17. package/dist/{DefaultFileRenderer-C2MsQ9wz.js.map → DefaultFileRenderer-Day12qYs.js.map} +1 -1
  18. package/dist/Markdown/charts/ChartRenderer.d.ts +1 -1
  19. package/dist/Markdown/charts/ComponentError.d.ts +1 -0
  20. package/dist/Markdown/charts/index.d.ts +2 -6
  21. package/dist/Markdown/charts/types.d.ts +21 -0
  22. package/dist/Markdown/plugins/index.d.ts +1 -1
  23. package/dist/Markdown/plugins/remarkComponent.d.ts +27 -0
  24. package/dist/docs.json +275 -93
  25. package/dist/{index-DdRyk11n.js → index-CZSBRZbI.js} +524 -230
  26. package/dist/index-CZSBRZbI.js.map +1 -0
  27. package/dist/index.css +101 -1077
  28. package/dist/index.d.ts +1 -0
  29. package/dist/index.js +22 -22
  30. package/dist/index.umd.cjs +509 -215
  31. package/dist/index.umd.cjs.map +1 -1
  32. package/dist/stories/Changelog.mdx +1 -1
  33. package/dist/stories/Charts.stories.tsx +118 -130
  34. package/dist/stories/ComponentCatalog.stories.tsx +509 -0
  35. package/dist/stories/{ChartError.stories.tsx → ComponentError.stories.tsx} +14 -11
  36. package/dist/stories/Intro.mdx +1 -1
  37. package/dist/theme.d.ts +3 -0
  38. package/dist/utils/getChildText.d.ts +10 -0
  39. package/dist/utils/getChildText.spec.d.ts +1 -0
  40. package/package.json +27 -30
  41. package/dist/Markdown/charts/ChartPre.d.ts +0 -6
  42. package/dist/Markdown/charts/chartHelpers.d.ts +0 -40
  43. package/dist/Markdown/plugins/remarkChart.d.ts +0 -59
  44. package/dist/index-DdRyk11n.js.map +0 -1
  45. package/dist/stories/Integration.stories.tsx +0 -312
  46. /package/dist/{Markdown/charts/chartHelpers.spec.d.ts → ComponentCatalog/chartComponentDef.spec.d.ts} +0 -0
package/dist/index.d.ts CHANGED
@@ -11,3 +11,4 @@ export * from './ChatBubble';
11
11
  export * from './ChatSuggestions';
12
12
  export * from './MessageStatus';
13
13
  export * from './useAgUi';
14
+ export * from './ComponentCatalog';
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@
10
10
  console.error("vite-plugin-css-injected-by-js", e);
11
11
  }
12
12
  })();
13
- import { A, b, C, c, d, e, f, g, h, i, j, k, F, M, l, m, n, o, p, q, r, s, t, u, N, R, v, w, x, y, z, B, D, E, G, H, T, I, J, K, L, O, P, Q, U, V, W, X, Y, Z, _, $, a0, a1, a2 } from "./index-DdRyk11n.js";
13
+ import { A, b, C, c, d, e, f, g, h, i, j, k, F, M, l, m, n, o, p, q, r, s, t, u, N, R, v, w, x, y, z, B, D, E, G, H, T, I, J, K, L, O, P, Q, U, V, W, X, Y, Z, _, $, a0, a1, a2 } from "./index-CZSBRZbI.js";
14
14
  import "react/jsx-runtime";
15
15
  import "react";
16
16
  import "reablocks";
@@ -18,16 +18,16 @@ import "motion/react";
18
18
  export {
19
19
  A as AgUiEventType,
20
20
  b as AppBar,
21
- C as ChartError,
22
- c as ChartPre,
23
- d as ChartRenderer,
24
- e as Chat,
25
- f as ChatBubble,
26
- g as ChatContext,
27
- h as ChatInput,
28
- i as ChatSuggestion,
29
- j as ChatSuggestions,
30
- k as CodeHighlighter,
21
+ C as ChartRenderer,
22
+ c as Chat,
23
+ d as ChatBubble,
24
+ e as ChatContext,
25
+ f as ChatInput,
26
+ g as ChatSuggestion,
27
+ h as ChatSuggestions,
28
+ i as CodeHighlighter,
29
+ j as ComponentError,
30
+ k as ComponentRenderer,
31
31
  F as FileInput,
32
32
  M as Markdown,
33
33
  l as MentionList,
@@ -56,20 +56,20 @@ export {
56
56
  I as TableDataCell,
57
57
  J as TableHeaderCell,
58
58
  K as bitcoinMatcher,
59
- L as chartComponents,
60
- O as chatTheme,
61
- P as commonRedactMatchers,
62
- Q as creditCardMatcher,
63
- U as dark,
64
- V as getChildText,
65
- W as isChartClassName,
66
- X as light,
67
- Y as parseChartConfig,
68
- Z as remarkChart,
59
+ L as chatTheme,
60
+ O as commonRedactMatchers,
61
+ P as componentCatalog,
62
+ Q as createChartComponentDef,
63
+ U as createComponentPre,
64
+ V as creditCardMatcher,
65
+ W as dark,
66
+ X as generatePrompt,
67
+ Y as light,
68
+ Z as remarkComponent,
69
69
  _ as remarkCve,
70
70
  $ as remarkRedact,
71
71
  a0 as ssnMatcher,
72
72
  a1 as useAgUi,
73
- a2 as validateChartData
73
+ a2 as validateSpec
74
74
  };
75
75
  //# sourceMappingURL=index.js.map