@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.
- package/dist/components/chatbot/chatbot-body/conversation-message-renderer.d.ts.map +1 -1
- package/dist/components/chatbot/chatbot-container/chatbot-container.d.ts.map +1 -1
- package/dist/components/chatbot/chatbot-container/chatbot-full-screen-container.d.ts.map +1 -1
- package/dist/components/templates/audio-template/audio-template.d.ts +9 -0
- package/dist/components/templates/audio-template/audio-template.d.ts.map +1 -0
- package/dist/components/templates/audio-template/index.d.ts +2 -0
- package/dist/components/templates/audio-template/index.d.ts.map +1 -0
- package/dist/components/templates/index.d.ts +3 -0
- package/dist/components/templates/index.d.ts.map +1 -1
- package/dist/components/templates/location-template/index.d.ts +2 -0
- package/dist/components/templates/location-template/index.d.ts.map +1 -0
- package/dist/components/templates/location-template/location-card.d.ts +9 -0
- package/dist/components/templates/location-template/location-card.d.ts.map +1 -0
- package/dist/components/templates/location-template/location-template.d.ts +9 -0
- package/dist/components/templates/location-template/location-template.d.ts.map +1 -0
- package/dist/components/templates/video-template/index.d.ts +2 -0
- package/dist/components/templates/video-template/index.d.ts.map +1 -0
- package/dist/components/templates/video-template/video-template.d.ts +9 -0
- package/dist/components/templates/video-template/video-template.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +5 -1
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/use-is-on-screen-keyboard-open.d.ts +2 -0
- package/dist/hooks/use-is-on-screen-keyboard-open.d.ts.map +1 -0
- package/dist/hooks/use-on-screen-keyboard-scroll-fix.d.ts +2 -0
- package/dist/hooks/use-on-screen-keyboard-scroll-fix.d.ts.map +1 -0
- package/dist/hooks/use-prevent-over-scrolling.d.ts +4 -0
- package/dist/hooks/use-prevent-over-scrolling.d.ts.map +1 -0
- package/dist/hooks/use-update-vh.d.ts +4 -0
- package/dist/hooks/use-update-vh.d.ts.map +1 -0
- package/dist/hooks/use-viewport-size.d.ts +6 -0
- package/dist/hooks/use-viewport-size.d.ts.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +11537 -11172
- package/package.json +2 -2
- package/dist/hooks/use-visual-viewport.d.ts +0 -12
- 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.
|
|
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.
|
|
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"}
|