@transferwise/components 0.0.0-experimental-45ef85b → 0.0.0-experimental-dfa8310
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/build/index.js +5 -0
- package/build/index.js.map +1 -1
- package/build/index.mjs +5 -0
- package/build/index.mjs.map +1 -1
- package/build/types/common/hooks/useVirtualKeyboard.d.ts +5 -0
- package/build/types/common/hooks/useVirtualKeyboard.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/common/hooks/useVirtualKeyboard.ts +5 -0
|
@@ -1,2 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This progressive enhancement uses an experimental API, it might change,
|
|
3
|
+
* and at the time of authoring is not supported on iOS or mobile Firefox.
|
|
4
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/VirtualKeyboard
|
|
5
|
+
*/
|
|
1
6
|
export declare function useVirtualKeyboard(): void;
|
|
2
7
|
//# sourceMappingURL=useVirtualKeyboard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useVirtualKeyboard.d.ts","sourceRoot":"","sources":["../../../../src/common/hooks/useVirtualKeyboard.ts"],"names":[],"mappings":"AAEA,wBAAgB,kBAAkB,SAajC"}
|
|
1
|
+
{"version":3,"file":"useVirtualKeyboard.d.ts","sourceRoot":"","sources":["../../../../src/common/hooks/useVirtualKeyboard.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,kBAAkB,SAajC"}
|
package/package.json
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* This progressive enhancement uses an experimental API, it might change,
|
|
5
|
+
* and at the time of authoring is not supported on iOS or mobile Firefox.
|
|
6
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/VirtualKeyboard
|
|
7
|
+
*/
|
|
3
8
|
export function useVirtualKeyboard() {
|
|
4
9
|
useEffect(() => {
|
|
5
10
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access, functional/immutable-data */
|