@asgard-js/react 0.1.1 → 0.1.2-canary.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.
@@ -0,0 +1,13 @@
1
+ import { ConversationMessage } from '../../../core/src/index.ts';
2
+
3
+ interface ExportOptions {
4
+ customChannelId?: string;
5
+ botName?: string;
6
+ }
7
+ export declare function exportConversationToMarkdown(messages: Map<string, ConversationMessage>, options?: ExportOptions): string;
8
+ export declare function downloadMarkdown(content: string, options?: {
9
+ filename?: string;
10
+ botName?: string;
11
+ }): void;
12
+ export {};
13
+ //# sourceMappingURL=export-conversation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-conversation.d.ts","sourceRoot":"","sources":["../../src/utils/export-conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,UAAU,aAAa;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAAC,EAC1C,OAAO,CAAC,EAAE,aAAa,GACtB,MAAM,CAiFR;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CA2BzG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgard-js/react",
3
- "version": "0.1.1",
3
+ "version": "0.1.2-canary.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -48,7 +48,7 @@
48
48
  "vitest": "^1.6.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "@asgard-js/core": "^0.1.1",
51
+ "@asgard-js/core": "^0.1.2-canary.1",
52
52
  "react": "^18.0.0",
53
53
  "react-dom": "^18.0.0"
54
54
  },
@@ -1,4 +0,0 @@
1
- import { RefObject } from 'react';
2
-
3
- export declare function usePreventOverScrolling(ref: RefObject<HTMLDivElement>): void;
4
- //# sourceMappingURL=use-prevent-over-scrolling.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-prevent-over-scrolling.d.ts","sourceRoot":"","sources":["../../src/hooks/use-prevent-over-scrolling.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAiB7C,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,SAAS,CAAC,cAAc,CAAC,GAAG,IAAI,CA2D5E"}
@@ -1,4 +0,0 @@
1
- import { RefObject } from 'react';
2
-
3
- export declare function usePreventScrollChaining(containerRef: RefObject<HTMLElement>, scrollableSelector: string): void;
4
- //# sourceMappingURL=use-prevent-scroll-chaining.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-prevent-scroll-chaining.d.ts","sourceRoot":"","sources":["../../src/hooks/use-prevent-scroll-chaining.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA0B,MAAM,OAAO,CAAC;AAE1D,wBAAgB,wBAAwB,CACtC,YAAY,EAAE,SAAS,CAAC,WAAW,CAAC,EACpC,kBAAkB,EAAE,MAAM,GACzB,IAAI,CA8BN"}