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

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 (36) hide show
  1. package/dist/components/chatbot/chatbot-body/conversation-message-renderer.d.ts.map +1 -1
  2. package/dist/components/chatbot/chatbot-container/chatbot-container.d.ts.map +1 -1
  3. package/dist/components/chatbot/chatbot-container/chatbot-full-screen-container.d.ts.map +1 -1
  4. package/dist/components/templates/audio-template/audio-template.d.ts +9 -0
  5. package/dist/components/templates/audio-template/audio-template.d.ts.map +1 -0
  6. package/dist/components/templates/audio-template/index.d.ts +2 -0
  7. package/dist/components/templates/audio-template/index.d.ts.map +1 -0
  8. package/dist/components/templates/index.d.ts +3 -0
  9. package/dist/components/templates/index.d.ts.map +1 -1
  10. package/dist/components/templates/location-template/index.d.ts +2 -0
  11. package/dist/components/templates/location-template/index.d.ts.map +1 -0
  12. package/dist/components/templates/location-template/location-card.d.ts +9 -0
  13. package/dist/components/templates/location-template/location-card.d.ts.map +1 -0
  14. package/dist/components/templates/location-template/location-template.d.ts +9 -0
  15. package/dist/components/templates/location-template/location-template.d.ts.map +1 -0
  16. package/dist/components/templates/video-template/index.d.ts +2 -0
  17. package/dist/components/templates/video-template/index.d.ts.map +1 -0
  18. package/dist/components/templates/video-template/video-template.d.ts +9 -0
  19. package/dist/components/templates/video-template/video-template.d.ts.map +1 -0
  20. package/dist/hooks/index.d.ts +5 -1
  21. package/dist/hooks/index.d.ts.map +1 -1
  22. package/dist/hooks/use-is-on-screen-keyboard-open.d.ts +2 -0
  23. package/dist/hooks/use-is-on-screen-keyboard-open.d.ts.map +1 -0
  24. package/dist/hooks/use-on-screen-keyboard-scroll-fix.d.ts +2 -0
  25. package/dist/hooks/use-on-screen-keyboard-scroll-fix.d.ts.map +1 -0
  26. package/dist/hooks/use-prevent-over-scrolling.d.ts +4 -0
  27. package/dist/hooks/use-prevent-over-scrolling.d.ts.map +1 -0
  28. package/dist/hooks/use-update-vh.d.ts +4 -0
  29. package/dist/hooks/use-update-vh.d.ts.map +1 -0
  30. package/dist/hooks/use-viewport-size.d.ts +6 -0
  31. package/dist/hooks/use-viewport-size.d.ts.map +1 -0
  32. package/dist/index.css +1 -1
  33. package/dist/index.js +11537 -11172
  34. package/package.json +2 -2
  35. package/dist/hooks/use-visual-viewport.d.ts +0 -12
  36. package/dist/hooks/use-visual-viewport.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.1",
3
+ "version": "0.1.14-canary.3",
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.1",
51
+ "@asgard-js/core": "^0.1.14-canary.3",
52
52
  "react": "^18.0.0",
53
53
  "react-dom": "^18.0.0"
54
54
  },
@@ -1,12 +0,0 @@
1
- import { RefObject } from 'react';
2
-
3
- /**
4
- * Hook to handle iOS virtual keyboard by tracking visualViewport changes.
5
- * On iOS, when the virtual keyboard appears, the Layout Viewport stays the same
6
- * but the Visual Viewport shrinks. This hook adjusts the container's height
7
- * and position to match the Visual Viewport.
8
- *
9
- * @see https://saricden.com/how-to-make-fixed-elements-respect-the-virtual-keyboard-on-ios
10
- */
11
- export declare function useVisualViewport(containerRef: RefObject<HTMLElement | null>): void;
12
- //# sourceMappingURL=use-visual-viewport.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-visual-viewport.d.ts","sourceRoot":"","sources":["../../src/hooks/use-visual-viewport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAE7C;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,YAAY,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,IAAI,CAqCnF"}