amotify 0.0.35 → 0.0.36

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/@types/amot.tsx CHANGED
@@ -21,6 +21,9 @@ declare global {
21
21
 
22
22
  type RoundnessTypes = 0 | 1 | 2 | 3 | 4 | 5
23
23
 
24
+ type DeviceTypes = 'windows' | 'android' | 'iPhone' | 'iPad' | 'macOSX' | 'undefined'
25
+ type BrowserTypes = 'chrome' | 'firefox' | 'safari' | 'opera' | 'ie' | 'edge' | 'undefined'
26
+
24
27
  namespace config {
25
28
  interface Methods {
26
29
  version: string
@@ -30,7 +33,8 @@ declare global {
30
33
  darkMode: amotify.DarkModeTypes
31
34
  roundness: amotify.RoundnessTypes
32
35
  device: {
33
- isWhat: 'Windows' | 'Android' | 'iPhone' | 'iPad' | 'macOSX' | 'undefined'
36
+ deviceIs: DeviceTypes
37
+ browserIs: BrowserTypes
34
38
  isBreakpoint(): boolean
35
39
  isPhonepoint(): boolean
36
40
  isSystemDarkmode(): boolean