react-native-orientation-director 2.5.1 → 2.6.0
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/android/src/main/java/com/orientationdirector/implementation/OrientationSensorsEventListener.kt +69 -19
- package/android/src/main/java/com/orientationdirector/implementation/Utils.kt +33 -6
- package/lib/commonjs/EventEmitter.js +48 -0
- package/lib/commonjs/NativeOrientationDirector.js +8 -0
- package/lib/commonjs/RNOrientationDirector.js +126 -0
- package/lib/commonjs/hooks/useDeviceOrientation.hook.js +37 -0
- package/lib/commonjs/hooks/useInterfaceOrientation.hook.js +37 -0
- package/lib/commonjs/hooks/useIsInterfaceOrientationLocked.hook.js +27 -0
- package/lib/commonjs/index.js +51 -0
- package/lib/commonjs/module.js +22 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/types/AutoRotation.enum.js +12 -0
- package/lib/commonjs/types/Event.enum.js +13 -0
- package/lib/commonjs/types/HumanReadableAutoRotationsResource.type.js +5 -0
- package/lib/commonjs/types/HumanReadableOrientationsResource.type.js +5 -0
- package/lib/commonjs/types/LockableOrientation.type.js +5 -0
- package/lib/commonjs/types/LockedEvent.interface.js +1 -0
- package/lib/commonjs/types/Orientation.enum.js +17 -0
- package/lib/commonjs/types/OrientationEvent.interface.js +5 -0
- package/lib/commonjs/types/OrientationType.enum.js +11 -0
- package/lib/typescript/commonjs/example/src/App.d.ts +2 -0
- package/lib/typescript/commonjs/example/src/App.d.ts.map +1 -0
- package/lib/typescript/commonjs/example/src/AppNavigationContainer.d.ts +3 -0
- package/lib/typescript/commonjs/example/src/AppNavigationContainer.d.ts.map +1 -0
- package/lib/typescript/commonjs/example/src/screens/Explore.d.ts +3 -0
- package/lib/typescript/commonjs/example/src/screens/Explore.d.ts.map +1 -0
- package/lib/typescript/commonjs/example/src/screens/Home.d.ts +3 -0
- package/lib/typescript/commonjs/example/src/screens/Home.d.ts.map +1 -0
- package/lib/typescript/commonjs/example/src/screens/InnerExplore.d.ts +3 -0
- package/lib/typescript/commonjs/example/src/screens/InnerExplore.d.ts.map +1 -0
- package/lib/typescript/commonjs/example/src/screens/styles.d.ts +51 -0
- package/lib/typescript/commonjs/example/src/screens/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/EventEmitter.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/NativeOrientationDirector.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/RNOrientationDirector.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useDeviceOrientation.hook.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useInterfaceOrientation.hook.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useIsInterfaceOrientationLocked.hook.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/module.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/AutoRotation.enum.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/Event.enum.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/HumanReadableAutoRotationsResource.type.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/HumanReadableOrientationsResource.type.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/LockableOrientation.type.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/LockedEvent.interface.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/Orientation.enum.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/OrientationEvent.interface.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/OrientationType.enum.d.ts.map +1 -0
- package/lib/typescript/module/example/src/App.d.ts +2 -0
- package/lib/typescript/module/example/src/App.d.ts.map +1 -0
- package/lib/typescript/module/example/src/AppNavigationContainer.d.ts +3 -0
- package/lib/typescript/module/example/src/AppNavigationContainer.d.ts.map +1 -0
- package/lib/typescript/module/example/src/screens/Explore.d.ts +3 -0
- package/lib/typescript/module/example/src/screens/Explore.d.ts.map +1 -0
- package/lib/typescript/module/example/src/screens/Home.d.ts +3 -0
- package/lib/typescript/module/example/src/screens/Home.d.ts.map +1 -0
- package/lib/typescript/module/example/src/screens/InnerExplore.d.ts +3 -0
- package/lib/typescript/module/example/src/screens/InnerExplore.d.ts.map +1 -0
- package/lib/typescript/module/example/src/screens/styles.d.ts +51 -0
- package/lib/typescript/module/example/src/screens/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/EventEmitter.d.ts +11 -0
- package/lib/typescript/module/src/EventEmitter.d.ts.map +1 -0
- package/lib/typescript/module/src/NativeOrientationDirector.d.ts +17 -0
- package/lib/typescript/module/src/NativeOrientationDirector.d.ts.map +1 -0
- package/lib/typescript/module/src/RNOrientationDirector.d.ts +62 -0
- package/lib/typescript/module/src/RNOrientationDirector.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useDeviceOrientation.hook.d.ts +8 -0
- package/lib/typescript/module/src/hooks/useDeviceOrientation.hook.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useInterfaceOrientation.hook.d.ts +8 -0
- package/lib/typescript/module/src/hooks/useInterfaceOrientation.hook.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useIsInterfaceOrientationLocked.hook.d.ts +7 -0
- package/lib/typescript/module/src/hooks/useIsInterfaceOrientationLocked.hook.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +12 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/module.d.ts +6 -0
- package/lib/typescript/module/src/module.d.ts.map +1 -0
- package/lib/typescript/module/src/types/AutoRotation.enum.d.ts +6 -0
- package/lib/typescript/module/src/types/AutoRotation.enum.d.ts.map +1 -0
- package/lib/typescript/module/src/types/Event.enum.d.ts +7 -0
- package/lib/typescript/module/src/types/Event.enum.d.ts.map +1 -0
- package/lib/typescript/module/src/types/HumanReadableAutoRotationsResource.type.d.ts +3 -0
- package/lib/typescript/module/src/types/HumanReadableAutoRotationsResource.type.d.ts.map +1 -0
- package/lib/typescript/module/src/types/HumanReadableOrientationsResource.type.d.ts +3 -0
- package/lib/typescript/module/src/types/HumanReadableOrientationsResource.type.d.ts.map +1 -0
- package/lib/typescript/module/src/types/LockableOrientation.type.d.ts +3 -0
- package/lib/typescript/module/src/types/LockableOrientation.type.d.ts.map +1 -0
- package/lib/typescript/module/src/types/LockedEvent.interface.d.ts +4 -0
- package/lib/typescript/module/src/types/LockedEvent.interface.d.ts.map +1 -0
- package/lib/typescript/module/src/types/Orientation.enum.d.ts +11 -0
- package/lib/typescript/module/src/types/Orientation.enum.d.ts.map +1 -0
- package/lib/typescript/module/src/types/OrientationEvent.interface.d.ts +5 -0
- package/lib/typescript/module/src/types/OrientationEvent.interface.d.ts.map +1 -0
- package/lib/typescript/module/src/types/OrientationType.enum.d.ts +5 -0
- package/lib/typescript/module/src/types/OrientationType.enum.d.ts.map +1 -0
- package/package.json +32 -13
- package/plugin/build/withRNOrientationAppDelegate.d.ts +1 -1
- package/plugin/build/withRNOrientationAppDelegate.js +20 -6
- package/lib/typescript/src/EventEmitter.d.ts.map +0 -1
- package/lib/typescript/src/NativeOrientationDirector.d.ts.map +0 -1
- package/lib/typescript/src/RNOrientationDirector.d.ts.map +0 -1
- package/lib/typescript/src/hooks/useDeviceOrientation.hook.d.ts.map +0 -1
- package/lib/typescript/src/hooks/useInterfaceOrientation.hook.d.ts.map +0 -1
- package/lib/typescript/src/hooks/useIsInterfaceOrientationLocked.hook.d.ts.map +0 -1
- package/lib/typescript/src/index.d.ts.map +0 -1
- package/lib/typescript/src/module.d.ts.map +0 -1
- package/lib/typescript/src/types/AutoRotation.enum.d.ts.map +0 -1
- package/lib/typescript/src/types/Event.enum.d.ts.map +0 -1
- package/lib/typescript/src/types/HumanReadableAutoRotationsResource.type.d.ts.map +0 -1
- package/lib/typescript/src/types/HumanReadableOrientationsResource.type.d.ts.map +0 -1
- package/lib/typescript/src/types/LockableOrientation.type.d.ts.map +0 -1
- package/lib/typescript/src/types/LockedEvent.interface.d.ts.map +0 -1
- package/lib/typescript/src/types/Orientation.enum.d.ts.map +0 -1
- package/lib/typescript/src/types/OrientationEvent.interface.d.ts.map +0 -1
- package/lib/typescript/src/types/OrientationType.enum.d.ts.map +0 -1
- /package/lib/typescript/{src → commonjs/src}/EventEmitter.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/NativeOrientationDirector.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/RNOrientationDirector.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/hooks/useDeviceOrientation.hook.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/hooks/useInterfaceOrientation.hook.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/hooks/useIsInterfaceOrientationLocked.hook.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/index.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/module.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/types/AutoRotation.enum.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/types/Event.enum.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/types/HumanReadableAutoRotationsResource.type.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/types/HumanReadableOrientationsResource.type.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/types/LockableOrientation.type.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/types/LockedEvent.interface.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/types/Orientation.enum.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/types/OrientationEvent.interface.d.ts +0 -0
- /package/lib/typescript/{src → commonjs/src}/types/OrientationType.enum.d.ts +0 -0
- /package/lib/typescript/{package.json → module/package.json} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type ConfigPlugin } from '@expo/config-plugins';
|
|
2
2
|
export declare const withRNOrientationAppDelegate: ConfigPlugin;
|
|
3
|
-
export declare function swiftFileUpdater(originalContents: string): string;
|
|
3
|
+
export declare function swiftFileUpdater(originalContents: string, sdkVersion?: string): string;
|
|
4
4
|
export declare function objCFileUpdater(originalContents: string): string;
|
|
@@ -11,24 +11,38 @@ const withRNOrientationAppDelegate = (config) => {
|
|
|
11
11
|
exports.withRNOrientationAppDelegate = withRNOrientationAppDelegate;
|
|
12
12
|
async function readAppDelegateFileAndUpdateContents(config) {
|
|
13
13
|
const { modResults: appDelegateFile } = config;
|
|
14
|
-
const
|
|
15
|
-
|
|
14
|
+
const fileUpdater = getCompatibleFileUpdater(appDelegateFile.language);
|
|
15
|
+
if (fileUpdater.language === 'swift') {
|
|
16
|
+
const { worker } = fileUpdater;
|
|
17
|
+
appDelegateFile.contents = worker(appDelegateFile.contents, config.sdkVersion);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
const { worker } = fileUpdater;
|
|
21
|
+
appDelegateFile.contents = worker(appDelegateFile.contents);
|
|
22
|
+
}
|
|
16
23
|
return config;
|
|
17
24
|
}
|
|
18
25
|
function getCompatibleFileUpdater(language) {
|
|
19
26
|
switch (language) {
|
|
20
27
|
case 'objc':
|
|
21
28
|
case 'objcpp': {
|
|
22
|
-
return
|
|
29
|
+
return {
|
|
30
|
+
language,
|
|
31
|
+
worker: objCFileUpdater,
|
|
32
|
+
};
|
|
23
33
|
}
|
|
24
34
|
case 'swift':
|
|
25
|
-
return
|
|
35
|
+
return {
|
|
36
|
+
language,
|
|
37
|
+
worker: swiftFileUpdater,
|
|
38
|
+
};
|
|
26
39
|
default:
|
|
27
40
|
throw new Error(`Cannot add React Native Orientation Director code to AppDelegate of language "${language}"`);
|
|
28
41
|
}
|
|
29
42
|
}
|
|
30
|
-
function swiftFileUpdater(originalContents) {
|
|
31
|
-
const
|
|
43
|
+
function swiftFileUpdater(originalContents, sdkVersion) {
|
|
44
|
+
const methodPrefix = !sdkVersion?.includes('53') ? 'override' : '';
|
|
45
|
+
const supportedInterfaceOrientationsForCodeBlock = `\n ${methodPrefix} func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
|
|
32
46
|
return OrientationDirector.getSupportedInterfaceOrientationsForWindow()
|
|
33
47
|
}\n`;
|
|
34
48
|
const rightBeforeLastClosingBrace = /didFinishLaunchingWithOptions:\s*launchOptions\)/g;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EventEmitter.d.ts","sourceRoot":"","sources":["../../../src/EventEmitter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGlE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAEjE,cAAM,YAAY;IAChB,MAAM,CAAC,qCAAqC,CAC1C,QAAQ,EAAE,CAAC,WAAW,EAAE,gBAAgB,KAAK,IAAI;IAsBnD,MAAM,CAAC,wCAAwC,CAC7C,QAAQ,EAAE,CAAC,WAAW,EAAE,gBAAgB,KAAK,IAAI;IAQnD,MAAM,CAAC,wBAAwB,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI;IAItE,OAAO,CAAC,MAAM,CAAC,oCAAoC;CAwBpD;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NativeOrientationDirector.d.ts","sourceRoot":"","sources":["../../../src/NativeOrientationDirector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,uBAAuB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAC3C,oBAAoB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IACxC,MAAM,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,MAAM,IAAI,IAAI,CAAC;IACf,QAAQ,IAAI,OAAO,CAAC;IACpB,mCAAmC,IAAI,IAAI,CAAC;IAO5C,qBAAqB,IAAI,OAAO,CAAC;IACjC,wBAAwB,IAAI,IAAI,CAAC;IACjC,yBAAyB,IAAI,IAAI,CAAC;IAKlC,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;;AAED,wBAA6E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RNOrientationDirector.d.ts","sourceRoot":"","sources":["../../../src/RNOrientationDirector.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,gDAAgD,CAAC;AACxG,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,iDAAiD,CAAC;AAG1G,cAAM,qBAAqB;IACzB,OAAO,CAAC,MAAM,CAAC,kCAAkC,CAU7C;IAEJ,OAAO,CAAC,MAAM,CAAC,mCAAmC,CAK9C;IAEJ,4BAA4B,CAAC,QAAQ,EAAE,iCAAiC;IAIxE,6BAA6B,CAAC,QAAQ,EAAE,kCAAkC;IAI1E,MAAM,CAAC,uBAAuB,IAAI,OAAO,CAAC,WAAW,CAAC;IAItD,MAAM,CAAC,oBAAoB,IAAI,OAAO,CAAC,WAAW,CAAC;IAInD;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,MAAM,CACX,WAAW,EAAE,mBAAmB,EAChC,eAAe,GAAE,eAA2C;IAoB9D,MAAM,CAAC,MAAM;IAIb,MAAM,CAAC,QAAQ;IAIf,MAAM,CAAC,qBAAqB;IAS5B,MAAM,CAAC,mCAAmC;IAI1C,MAAM,CAAC,iCAAiC,CACtC,QAAQ,EAAE,CAAC,WAAW,EAAE,gBAAgB,KAAK,IAAI;IAKnD,MAAM,CAAC,oCAAoC,CACzC,QAAQ,EAAE,CAAC,WAAW,EAAE,gBAAgB,KAAK,IAAI;IAKnD,MAAM,CAAC,oBAAoB,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI;IAIlE,MAAM,CAAC,uCAAuC,CAAC,WAAW,EAAE,WAAW;IAMvE,MAAM,CAAC,wCAAwC,CAAC,YAAY,EAAE,YAAY;IAM1E;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,qBAAqB,CAC1B,WAAW,EAAE,WAAW,GACvB,WAAW,IAAI,mBAAmB;CAOtC;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDeviceOrientation.hook.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDeviceOrientation.hook.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD;;;GAGG;AACH,QAAA,MAAM,oBAAoB,mBA4BzB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useInterfaceOrientation.hook.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useInterfaceOrientation.hook.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD;;;GAGG;AACH,QAAA,MAAM,uBAAuB,mBA4B5B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useIsInterfaceOrientationLocked.hook.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useIsInterfaceOrientationLocked.hook.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,QAAA,MAAM,+BAA+B,eAiBpC,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,oBAAoB,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,CAAC;AAEhC,OAAO,uBAAuB,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,uBAAuB,EAAE,CAAC;AAEnC,OAAO,+BAA+B,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,+BAA+B,EAAE,CAAC;AAE3C,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAC5D,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAA2B,MAAM,cAAc,CAAC;AAC3E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AA0BxD,eAAO,MAAM,kBAAkB,oBAAiC,CAAC;wBAErB,IAAI;AAAhD,wBAAiD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AutoRotation.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/AutoRotation.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,OAAO,IAAI;IACX,OAAO,IAAI;IACX,QAAQ,IAAI;CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Event.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/Event.enum.ts"],"names":[],"mappings":"AAAA,aAAK,KAAK;IACR,0BAA0B,+BAA+B;IACzD,6BAA6B,kCAAkC;IAC/D,aAAa,kBAAkB;CAChC;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HumanReadableAutoRotationsResource.type.d.ts","sourceRoot":"","sources":["../../../../src/types/HumanReadableAutoRotationsResource.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,MAAM,kCAAkC,GAAG,MAAM,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HumanReadableOrientationsResource.type.d.ts","sourceRoot":"","sources":["../../../../src/types/HumanReadableOrientationsResource.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,iCAAiC,GAAG,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LockableOrientation.type.d.ts","sourceRoot":"","sources":["../../../../src/types/LockableOrientation.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAC3B,WAAW,CAAC,QAAQ,GACpB,WAAW,CAAC,kBAAkB,GAC9B,WAAW,CAAC,aAAa,GACzB,WAAW,CAAC,cAAc,GAC1B,WAAW,CAAC,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LockedEvent.interface.d.ts","sourceRoot":"","sources":["../../../../src/types/LockedEvent.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Orientation.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/Orientation.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,cAAc,IAAI;IAClB,kBAAkB,IAAI;IACtB,aAAa,IAAI;IACjB,SAAS,IAAI;IACb,MAAM,IAAI;IACV,QAAQ,IAAI;CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrientationEvent.interface.d.ts","sourceRoot":"","sources":["../../../../src/types/OrientationEvent.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,WAAW,CAAC;CAC1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrientationType.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/OrientationType.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,MAAM,WAAW;IACjB,SAAS,cAAc;CACxB"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/lib/typescript/{src → commonjs/src}/hooks/useIsInterfaceOrientationLocked.hook.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/lib/typescript/{src → commonjs/src}/types/HumanReadableAutoRotationsResource.type.d.ts
RENAMED
|
File without changes
|
/package/lib/typescript/{src → commonjs/src}/types/HumanReadableOrientationsResource.type.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|