@dreamworld/device-info
Advanced tools
Comparing version 1.0.0-release.1 to 1.0.0-webpack-compatible.1
@@ -5,3 +5,3 @@ import EventEmitter from "@dreamworld/event-emitter"; | ||
import reducer from "./reducer.js"; | ||
export * as selectors from "./selectors.js"; | ||
import * as _selectors from "./selectors.js"; | ||
@@ -23,3 +23,3 @@ const mediaQueriesBylayout = { | ||
*/ | ||
static { | ||
static _init() { | ||
this.layout = this._getCurrentLayout(); | ||
@@ -213,1 +213,5 @@ this.touch = !window.matchMedia("(any-pointer: fine)").matches; | ||
} | ||
DeviceInfo._init(); | ||
export const selectors = _selectors; |
{ | ||
"name": "@dreamworld/device-info", | ||
"version": "1.0.0-release.1", | ||
"version": "1.0.0-webpack-compatible.1", | ||
"description": "It's used to get basic details of device(layout, touch and virtual keyboard).", | ||
@@ -5,0 +5,0 @@ "main": "device-info.js", |
@@ -86,2 +86,2 @@ # DeviceInfo | ||
Note: `vkb` is mainly needed because iOS devices behave differently then the Android Devices when a virtual keyboard is opened. So, to ensure common experience on all the device we use **fit** style for the dialog when dialog's content has any input elelement. In future, iOS many change this behaviour and we may remove `vkb` also. | ||
Note: `vkb` is mainly needed because iOS devices behave differently then the Android Devices when a virtual keyboard is opened. So, to ensure common experience on all the device we use **fit** style for the dialog when dialog's content has any input elelement. In future, iOS many change this behaviour and we may remove `vkb` also. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16838
342
87