react-native-orientation-director 2.5.0 → 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.
Files changed (136) hide show
  1. package/android/src/main/java/com/orientationdirector/implementation/OrientationSensorsEventListener.kt +69 -19
  2. package/android/src/main/java/com/orientationdirector/implementation/Utils.kt +33 -6
  3. package/ios/implementation/OrientationDirectorImpl.swift +18 -2
  4. package/ios/implementation/Utils.swift +15 -0
  5. package/lib/commonjs/EventEmitter.js +48 -0
  6. package/lib/commonjs/NativeOrientationDirector.js +8 -0
  7. package/lib/commonjs/RNOrientationDirector.js +126 -0
  8. package/lib/commonjs/hooks/useDeviceOrientation.hook.js +37 -0
  9. package/lib/commonjs/hooks/useInterfaceOrientation.hook.js +37 -0
  10. package/lib/commonjs/hooks/useIsInterfaceOrientationLocked.hook.js +27 -0
  11. package/lib/commonjs/index.js +51 -0
  12. package/lib/commonjs/module.js +22 -0
  13. package/lib/commonjs/package.json +1 -0
  14. package/lib/commonjs/types/AutoRotation.enum.js +12 -0
  15. package/lib/commonjs/types/Event.enum.js +13 -0
  16. package/lib/commonjs/types/HumanReadableAutoRotationsResource.type.js +5 -0
  17. package/lib/commonjs/types/HumanReadableOrientationsResource.type.js +5 -0
  18. package/lib/commonjs/types/LockableOrientation.type.js +5 -0
  19. package/lib/commonjs/types/LockedEvent.interface.js +1 -0
  20. package/lib/commonjs/types/Orientation.enum.js +17 -0
  21. package/lib/commonjs/types/OrientationEvent.interface.js +5 -0
  22. package/lib/commonjs/types/OrientationType.enum.js +11 -0
  23. package/lib/typescript/commonjs/example/src/App.d.ts +2 -0
  24. package/lib/typescript/commonjs/example/src/App.d.ts.map +1 -0
  25. package/lib/typescript/commonjs/example/src/AppNavigationContainer.d.ts +3 -0
  26. package/lib/typescript/commonjs/example/src/AppNavigationContainer.d.ts.map +1 -0
  27. package/lib/typescript/commonjs/example/src/screens/Explore.d.ts +3 -0
  28. package/lib/typescript/commonjs/example/src/screens/Explore.d.ts.map +1 -0
  29. package/lib/typescript/commonjs/example/src/screens/Home.d.ts +3 -0
  30. package/lib/typescript/commonjs/example/src/screens/Home.d.ts.map +1 -0
  31. package/lib/typescript/commonjs/example/src/screens/InnerExplore.d.ts +3 -0
  32. package/lib/typescript/commonjs/example/src/screens/InnerExplore.d.ts.map +1 -0
  33. package/lib/typescript/commonjs/example/src/screens/styles.d.ts +51 -0
  34. package/lib/typescript/commonjs/example/src/screens/styles.d.ts.map +1 -0
  35. package/lib/typescript/commonjs/package.json +1 -0
  36. package/lib/typescript/commonjs/src/EventEmitter.d.ts.map +1 -0
  37. package/lib/typescript/commonjs/src/NativeOrientationDirector.d.ts.map +1 -0
  38. package/lib/typescript/commonjs/src/RNOrientationDirector.d.ts.map +1 -0
  39. package/lib/typescript/commonjs/src/hooks/useDeviceOrientation.hook.d.ts.map +1 -0
  40. package/lib/typescript/commonjs/src/hooks/useInterfaceOrientation.hook.d.ts.map +1 -0
  41. package/lib/typescript/commonjs/src/hooks/useIsInterfaceOrientationLocked.hook.d.ts.map +1 -0
  42. package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
  43. package/lib/typescript/commonjs/src/module.d.ts.map +1 -0
  44. package/lib/typescript/commonjs/src/types/AutoRotation.enum.d.ts.map +1 -0
  45. package/lib/typescript/commonjs/src/types/Event.enum.d.ts.map +1 -0
  46. package/lib/typescript/commonjs/src/types/HumanReadableAutoRotationsResource.type.d.ts.map +1 -0
  47. package/lib/typescript/commonjs/src/types/HumanReadableOrientationsResource.type.d.ts.map +1 -0
  48. package/lib/typescript/commonjs/src/types/LockableOrientation.type.d.ts.map +1 -0
  49. package/lib/typescript/commonjs/src/types/LockedEvent.interface.d.ts.map +1 -0
  50. package/lib/typescript/commonjs/src/types/Orientation.enum.d.ts.map +1 -0
  51. package/lib/typescript/commonjs/src/types/OrientationEvent.interface.d.ts.map +1 -0
  52. package/lib/typescript/commonjs/src/types/OrientationType.enum.d.ts.map +1 -0
  53. package/lib/typescript/module/example/src/App.d.ts +2 -0
  54. package/lib/typescript/module/example/src/App.d.ts.map +1 -0
  55. package/lib/typescript/module/example/src/AppNavigationContainer.d.ts +3 -0
  56. package/lib/typescript/module/example/src/AppNavigationContainer.d.ts.map +1 -0
  57. package/lib/typescript/module/example/src/screens/Explore.d.ts +3 -0
  58. package/lib/typescript/module/example/src/screens/Explore.d.ts.map +1 -0
  59. package/lib/typescript/module/example/src/screens/Home.d.ts +3 -0
  60. package/lib/typescript/module/example/src/screens/Home.d.ts.map +1 -0
  61. package/lib/typescript/module/example/src/screens/InnerExplore.d.ts +3 -0
  62. package/lib/typescript/module/example/src/screens/InnerExplore.d.ts.map +1 -0
  63. package/lib/typescript/module/example/src/screens/styles.d.ts +51 -0
  64. package/lib/typescript/module/example/src/screens/styles.d.ts.map +1 -0
  65. package/lib/typescript/module/src/EventEmitter.d.ts +11 -0
  66. package/lib/typescript/module/src/EventEmitter.d.ts.map +1 -0
  67. package/lib/typescript/module/src/NativeOrientationDirector.d.ts +17 -0
  68. package/lib/typescript/module/src/NativeOrientationDirector.d.ts.map +1 -0
  69. package/lib/typescript/module/src/RNOrientationDirector.d.ts +62 -0
  70. package/lib/typescript/module/src/RNOrientationDirector.d.ts.map +1 -0
  71. package/lib/typescript/module/src/hooks/useDeviceOrientation.hook.d.ts +8 -0
  72. package/lib/typescript/module/src/hooks/useDeviceOrientation.hook.d.ts.map +1 -0
  73. package/lib/typescript/module/src/hooks/useInterfaceOrientation.hook.d.ts +8 -0
  74. package/lib/typescript/module/src/hooks/useInterfaceOrientation.hook.d.ts.map +1 -0
  75. package/lib/typescript/module/src/hooks/useIsInterfaceOrientationLocked.hook.d.ts +7 -0
  76. package/lib/typescript/module/src/hooks/useIsInterfaceOrientationLocked.hook.d.ts.map +1 -0
  77. package/lib/typescript/module/src/index.d.ts +12 -0
  78. package/lib/typescript/module/src/index.d.ts.map +1 -0
  79. package/lib/typescript/module/src/module.d.ts +6 -0
  80. package/lib/typescript/module/src/module.d.ts.map +1 -0
  81. package/lib/typescript/module/src/types/AutoRotation.enum.d.ts +6 -0
  82. package/lib/typescript/module/src/types/AutoRotation.enum.d.ts.map +1 -0
  83. package/lib/typescript/module/src/types/Event.enum.d.ts +7 -0
  84. package/lib/typescript/module/src/types/Event.enum.d.ts.map +1 -0
  85. package/lib/typescript/module/src/types/HumanReadableAutoRotationsResource.type.d.ts +3 -0
  86. package/lib/typescript/module/src/types/HumanReadableAutoRotationsResource.type.d.ts.map +1 -0
  87. package/lib/typescript/module/src/types/HumanReadableOrientationsResource.type.d.ts +3 -0
  88. package/lib/typescript/module/src/types/HumanReadableOrientationsResource.type.d.ts.map +1 -0
  89. package/lib/typescript/module/src/types/LockableOrientation.type.d.ts +3 -0
  90. package/lib/typescript/module/src/types/LockableOrientation.type.d.ts.map +1 -0
  91. package/lib/typescript/module/src/types/LockedEvent.interface.d.ts +4 -0
  92. package/lib/typescript/module/src/types/LockedEvent.interface.d.ts.map +1 -0
  93. package/lib/typescript/module/src/types/Orientation.enum.d.ts +11 -0
  94. package/lib/typescript/module/src/types/Orientation.enum.d.ts.map +1 -0
  95. package/lib/typescript/module/src/types/OrientationEvent.interface.d.ts +5 -0
  96. package/lib/typescript/module/src/types/OrientationEvent.interface.d.ts.map +1 -0
  97. package/lib/typescript/module/src/types/OrientationType.enum.d.ts +5 -0
  98. package/lib/typescript/module/src/types/OrientationType.enum.d.ts.map +1 -0
  99. package/package.json +32 -13
  100. package/plugin/build/withRNOrientationAppDelegate.d.ts +1 -1
  101. package/plugin/build/withRNOrientationAppDelegate.js +20 -6
  102. package/lib/typescript/src/EventEmitter.d.ts.map +0 -1
  103. package/lib/typescript/src/NativeOrientationDirector.d.ts.map +0 -1
  104. package/lib/typescript/src/RNOrientationDirector.d.ts.map +0 -1
  105. package/lib/typescript/src/hooks/useDeviceOrientation.hook.d.ts.map +0 -1
  106. package/lib/typescript/src/hooks/useInterfaceOrientation.hook.d.ts.map +0 -1
  107. package/lib/typescript/src/hooks/useIsInterfaceOrientationLocked.hook.d.ts.map +0 -1
  108. package/lib/typescript/src/index.d.ts.map +0 -1
  109. package/lib/typescript/src/module.d.ts.map +0 -1
  110. package/lib/typescript/src/types/AutoRotation.enum.d.ts.map +0 -1
  111. package/lib/typescript/src/types/Event.enum.d.ts.map +0 -1
  112. package/lib/typescript/src/types/HumanReadableAutoRotationsResource.type.d.ts.map +0 -1
  113. package/lib/typescript/src/types/HumanReadableOrientationsResource.type.d.ts.map +0 -1
  114. package/lib/typescript/src/types/LockableOrientation.type.d.ts.map +0 -1
  115. package/lib/typescript/src/types/LockedEvent.interface.d.ts.map +0 -1
  116. package/lib/typescript/src/types/Orientation.enum.d.ts.map +0 -1
  117. package/lib/typescript/src/types/OrientationEvent.interface.d.ts.map +0 -1
  118. package/lib/typescript/src/types/OrientationType.enum.d.ts.map +0 -1
  119. /package/lib/typescript/{src → commonjs/src}/EventEmitter.d.ts +0 -0
  120. /package/lib/typescript/{src → commonjs/src}/NativeOrientationDirector.d.ts +0 -0
  121. /package/lib/typescript/{src → commonjs/src}/RNOrientationDirector.d.ts +0 -0
  122. /package/lib/typescript/{src → commonjs/src}/hooks/useDeviceOrientation.hook.d.ts +0 -0
  123. /package/lib/typescript/{src → commonjs/src}/hooks/useInterfaceOrientation.hook.d.ts +0 -0
  124. /package/lib/typescript/{src → commonjs/src}/hooks/useIsInterfaceOrientationLocked.hook.d.ts +0 -0
  125. /package/lib/typescript/{src → commonjs/src}/index.d.ts +0 -0
  126. /package/lib/typescript/{src → commonjs/src}/module.d.ts +0 -0
  127. /package/lib/typescript/{src → commonjs/src}/types/AutoRotation.enum.d.ts +0 -0
  128. /package/lib/typescript/{src → commonjs/src}/types/Event.enum.d.ts +0 -0
  129. /package/lib/typescript/{src → commonjs/src}/types/HumanReadableAutoRotationsResource.type.d.ts +0 -0
  130. /package/lib/typescript/{src → commonjs/src}/types/HumanReadableOrientationsResource.type.d.ts +0 -0
  131. /package/lib/typescript/{src → commonjs/src}/types/LockableOrientation.type.d.ts +0 -0
  132. /package/lib/typescript/{src → commonjs/src}/types/LockedEvent.interface.d.ts +0 -0
  133. /package/lib/typescript/{src → commonjs/src}/types/Orientation.enum.d.ts +0 -0
  134. /package/lib/typescript/{src → commonjs/src}/types/OrientationEvent.interface.d.ts +0 -0
  135. /package/lib/typescript/{src → commonjs/src}/types/OrientationType.enum.d.ts +0 -0
  136. /package/lib/typescript/{package.json → module/package.json} +0 -0
package/package.json CHANGED
@@ -1,10 +1,23 @@
1
1
  {
2
2
  "name": "react-native-orientation-director",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "A Modern React Native library that allows you to access orientation",
5
5
  "main": "./lib/module/index.js",
6
- "module": "./lib/module/index.js",
7
- "types": "./lib/typescript/src/index.d.ts",
6
+ "types": "./lib/typescript/module/src/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "import": {
10
+ "types": "./lib/typescript/module/src/index.d.ts",
11
+ "default": "./lib/module/index.js"
12
+ },
13
+ "require": {
14
+ "types": "./lib/typescript/commonjs/src/index.d.ts",
15
+ "default": "./lib/commonjs/index.js"
16
+ }
17
+ },
18
+ "./package.json": "./package.json",
19
+ "./app.plugin.js": "./app.plugin.js"
20
+ },
8
21
  "files": [
9
22
  "src",
10
23
  "lib",
@@ -62,11 +75,11 @@
62
75
  "@eslint/js": "^9.22.0",
63
76
  "@evilmartians/lefthook": "^1.5.0",
64
77
  "@react-native-community/cli": "15.0.0-alpha.2",
65
- "@react-native/babel-preset": "0.79.2",
66
- "@react-native/eslint-config": "^0.78.0",
78
+ "@react-native/babel-preset": "0.80.0",
79
+ "@react-native/eslint-config": "0.80.0",
67
80
  "@release-it/conventional-changelog": "^9.0.2",
68
81
  "@types/jest": "^29.5.5",
69
- "@types/react": "^19.0.0",
82
+ "@types/react": "^19.1.0",
70
83
  "@typescript-eslint/eslint-plugin": "^7.18.0",
71
84
  "commitlint": "^19.6.1",
72
85
  "del-cli": "^5.1.0",
@@ -76,8 +89,8 @@
76
89
  "eslint-plugin-prettier": "^5.2.3",
77
90
  "jest": "^29.7.0",
78
91
  "prettier": "^3.0.3",
79
- "react": "19.0.0",
80
- "react-native": "0.79.2",
92
+ "react": "19.1.0",
93
+ "react-native": "0.80.0",
81
94
  "react-native-builder-bob": "^0.40.10",
82
95
  "release-it": "^17.10.0",
83
96
  "turbo": "^1.10.7",
@@ -156,17 +169,19 @@
156
169
  "output": "lib",
157
170
  "targets": [
158
171
  [
159
- "module",
172
+ "commonjs",
160
173
  {
161
- "esm": true
174
+ "esm": true,
175
+ "sourceMaps": false
162
176
  }
163
177
  ],
164
178
  [
165
- "typescript",
179
+ "module",
166
180
  {
167
- "project": "tsconfig.build.json"
181
+ "esm": true
168
182
  }
169
- ]
183
+ ],
184
+ "typescript"
170
185
  ]
171
186
  },
172
187
  "codegenConfig": {
@@ -181,5 +196,9 @@
181
196
  "languages": "kotlin-objc",
182
197
  "type": "turbo-module",
183
198
  "version": "0.50.2"
199
+ },
200
+ "volta": {
201
+ "node": "22.17.0",
202
+ "yarn": "3.6.1"
184
203
  }
185
204
  }
@@ -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 worker = getCompatibleFileUpdater(appDelegateFile.language);
15
- appDelegateFile.contents = worker(appDelegateFile.contents);
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 objCFileUpdater;
29
+ return {
30
+ language,
31
+ worker: objCFileUpdater,
32
+ };
23
33
  }
24
34
  case 'swift':
25
- return swiftFileUpdater;
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 supportedInterfaceOrientationsForCodeBlock = `\n override func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
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