@asgard-js/react 0.1.14-canary.3 → 0.1.14-canary.4

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 (38) hide show
  1. package/dist/components/chatbot/chatbot-body/chatbot-body.d.ts.map +1 -1
  2. package/dist/components/chatbot/chatbot-body/conversation-message-renderer.d.ts.map +1 -1
  3. package/dist/components/chatbot/chatbot-container/chatbot-container.d.ts.map +1 -1
  4. package/dist/components/chatbot/chatbot-container/chatbot-full-screen-container.d.ts.map +1 -1
  5. package/dist/components/chatbot/chatbot-footer/chatbot-footer.d.ts.map +1 -1
  6. package/dist/components/templates/index.d.ts +0 -3
  7. package/dist/components/templates/index.d.ts.map +1 -1
  8. package/dist/hooks/index.d.ts +1 -5
  9. package/dist/hooks/index.d.ts.map +1 -1
  10. package/dist/hooks/use-visual-viewport.d.ts +12 -0
  11. package/dist/hooks/use-visual-viewport.d.ts.map +1 -0
  12. package/dist/index.css +1 -1
  13. package/dist/index.js +11179 -11487
  14. package/package.json +2 -2
  15. package/dist/components/templates/audio-template/audio-template.d.ts +0 -9
  16. package/dist/components/templates/audio-template/audio-template.d.ts.map +0 -1
  17. package/dist/components/templates/audio-template/index.d.ts +0 -2
  18. package/dist/components/templates/audio-template/index.d.ts.map +0 -1
  19. package/dist/components/templates/location-template/index.d.ts +0 -2
  20. package/dist/components/templates/location-template/index.d.ts.map +0 -1
  21. package/dist/components/templates/location-template/location-card.d.ts +0 -9
  22. package/dist/components/templates/location-template/location-card.d.ts.map +0 -1
  23. package/dist/components/templates/location-template/location-template.d.ts +0 -9
  24. package/dist/components/templates/location-template/location-template.d.ts.map +0 -1
  25. package/dist/components/templates/video-template/index.d.ts +0 -2
  26. package/dist/components/templates/video-template/index.d.ts.map +0 -1
  27. package/dist/components/templates/video-template/video-template.d.ts +0 -9
  28. package/dist/components/templates/video-template/video-template.d.ts.map +0 -1
  29. package/dist/hooks/use-is-on-screen-keyboard-open.d.ts +0 -2
  30. package/dist/hooks/use-is-on-screen-keyboard-open.d.ts.map +0 -1
  31. package/dist/hooks/use-on-screen-keyboard-scroll-fix.d.ts +0 -2
  32. package/dist/hooks/use-on-screen-keyboard-scroll-fix.d.ts.map +0 -1
  33. package/dist/hooks/use-prevent-over-scrolling.d.ts +0 -4
  34. package/dist/hooks/use-prevent-over-scrolling.d.ts.map +0 -1
  35. package/dist/hooks/use-update-vh.d.ts +0 -4
  36. package/dist/hooks/use-update-vh.d.ts.map +0 -1
  37. package/dist/hooks/use-viewport-size.d.ts +0 -6
  38. package/dist/hooks/use-viewport-size.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgard-js/react",
3
- "version": "0.1.14-canary.3",
3
+ "version": "0.1.14-canary.4",
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.14-canary.3",
51
+ "@asgard-js/core": "^0.1.14-canary.4",
52
52
  "react": "^18.0.0",
53
53
  "react-dom": "^18.0.0"
54
54
  },
@@ -1,9 +0,0 @@
1
- import { ConversationBotMessage } from '../../../../../core/src/index.ts';
2
- import { ReactNode } from 'react';
3
-
4
- interface AudioTemplateProps {
5
- message: ConversationBotMessage;
6
- }
7
- export declare function AudioTemplate(props: AudioTemplateProps): ReactNode;
8
- export {};
9
- //# sourceMappingURL=audio-template.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"audio-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/audio-template/audio-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAI7C,OAAO,EAAE,sBAAsB,EAAwB,MAAM,iBAAiB,CAAC;AAI/E,UAAU,kBAAkB;IAC1B,OAAO,EAAE,sBAAsB,CAAC;CACjC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CA2ClE"}
@@ -1,2 +0,0 @@
1
- export * from './audio-template';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/audio-template/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './location-template';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/location-template/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
@@ -1,9 +0,0 @@
1
- import { LocationMessageTemplate } from '../../../../../core/src/index.ts';
2
- import { ReactNode } from 'react';
3
-
4
- interface LocationCardProps {
5
- template: LocationMessageTemplate;
6
- }
7
- export declare function LocationCard(props: LocationCardProps): ReactNode;
8
- export {};
9
- //# sourceMappingURL=location-card.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"location-card.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/location-template/location-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAG1D,UAAU,iBAAiB;IACzB,QAAQ,EAAE,uBAAuB,CAAC;CACnC;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,SAAS,CA2ChE"}
@@ -1,9 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { ConversationBotMessage } from '../../../../../core/src/index.ts';
3
-
4
- interface LocationTemplateProps {
5
- message: ConversationBotMessage;
6
- }
7
- export declare function LocationTemplate(props: LocationTemplateProps): ReactNode;
8
- export {};
9
- //# sourceMappingURL=location-template.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"location-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/location-template/location-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOlC,UAAU,qBAAqB;IAC7B,OAAO,EAAE,sBAAsB,CAAC;CACjC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,SAAS,CAyBxE"}
@@ -1,2 +0,0 @@
1
- export * from './video-template';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/video-template/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -1,9 +0,0 @@
1
- import { ConversationBotMessage } from '../../../../../core/src/index.ts';
2
- import { ReactNode } from 'react';
3
-
4
- interface VideoTemplateProps {
5
- message: ConversationBotMessage;
6
- }
7
- export declare function VideoTemplate(props: VideoTemplateProps): ReactNode;
8
- export {};
9
- //# sourceMappingURL=video-template.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"video-template.d.ts","sourceRoot":"","sources":["../../../../src/components/templates/video-template/video-template.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAwC,MAAM,OAAO,CAAC;AAIxE,OAAO,EAAE,sBAAsB,EAAwB,MAAM,iBAAiB,CAAC;AAI/E,UAAU,kBAAkB;IAC1B,OAAO,EAAE,sBAAsB,CAAC;CACjC;AA0DD,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CA8HlE"}
@@ -1,2 +0,0 @@
1
- export declare function useIsOnScreenKeyboardOpen(): boolean;
2
- //# sourceMappingURL=use-is-on-screen-keyboard-open.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-is-on-screen-keyboard-open.d.ts","sourceRoot":"","sources":["../../src/hooks/use-is-on-screen-keyboard-open.ts"],"names":[],"mappings":"AAUA,wBAAgB,yBAAyB,IAAI,OAAO,CA8BnD"}
@@ -1,2 +0,0 @@
1
- export declare function useOnScreenKeyboardScrollFix(isOnScreenKeyboardOpen: boolean): void;
2
- //# sourceMappingURL=use-on-screen-keyboard-scroll-fix.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-on-screen-keyboard-scroll-fix.d.ts","sourceRoot":"","sources":["../../src/hooks/use-on-screen-keyboard-scroll-fix.ts"],"names":[],"mappings":"AAEA,wBAAgB,4BAA4B,CAAC,sBAAsB,EAAE,OAAO,GAAG,IAAI,CAclF"}
@@ -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;AAe7C,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,SAAS,CAAC,cAAc,CAAC,GAAG,IAAI,CAyD5E"}
@@ -1,4 +0,0 @@
1
- import { RefObject } from 'react';
2
-
3
- export declare function useUpdateVh(ref: RefObject<HTMLDivElement>): void;
4
- //# sourceMappingURL=use-update-vh.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-update-vh.d.ts","sourceRoot":"","sources":["../../src/hooks/use-update-vh.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA2C,MAAM,OAAO,CAAC;AAI3E,wBAAgB,WAAW,CAAC,GAAG,EAAE,SAAS,CAAC,cAAc,CAAC,GAAG,IAAI,CAwBhE"}
@@ -1,6 +0,0 @@
1
- type Width = number;
2
- type Height = number;
3
- type Size = [Width, Height];
4
- export declare function useViewportSize(): Size | undefined;
5
- export {};
6
- //# sourceMappingURL=use-viewport-size.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-viewport-size.d.ts","sourceRoot":"","sources":["../../src/hooks/use-viewport-size.ts"],"names":[],"mappings":"AAIA,KAAK,KAAK,GAAG,MAAM,CAAC;AACpB,KAAK,MAAM,GAAG,MAAM,CAAC;AACrB,KAAK,IAAI,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAQ5B,wBAAgB,eAAe,IAAI,IAAI,GAAG,SAAS,CAiClD"}