amotify 0.0.19 → 0.0.21

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
@@ -23,6 +23,7 @@ declare global {
23
23
  namespace config {
24
24
  interface Methods {
25
25
  version: string
26
+ launchID: string
26
27
  tone: amotify.ToneTypes
27
28
  themeColor: amotify.ThemeColorTypes
28
29
  darkMode: amotify.DarkModeTypes
@@ -60,19 +61,16 @@ declare global {
60
61
  }
61
62
 
62
63
  namespace global {
63
- type LaunchReactApplicationParams = {
64
- ( params: {
65
- baseElement?: HTMLElement | string
66
- reactElement: ReactElement
67
- nonRouter?: boolean
68
- isRoot?: boolean
69
- appearances?: {
70
- roundness?: RoundnessTypes
71
- themeColor?: amotify.ThemeColorTypes
72
- tone?: amotify.ToneTypes
73
- darkMode?: amotify.DarkModeTypes
74
- }
75
- } ): void
64
+ type LaunchReactApplicationInput = {
65
+ reactElement: ReactElement
66
+ nonRouter?: boolean
67
+ isRoot?: boolean
68
+ appearances?: {
69
+ roundness?: RoundnessTypes
70
+ themeColor?: amotify.ThemeColorTypes
71
+ tone?: amotify.ToneTypes
72
+ darkMode?: amotify.DarkModeTypes
73
+ }
76
74
  }
77
75
  type useStoreParams = {
78
76
  set( params: {
@@ -120,7 +118,7 @@ declare global {
120
118
  pageTransit: PageTransitParams
121
119
  useStore: global.useStoreParams
122
120
  useRecycle: global.useRecycleParams
123
- LaunchReactApplication: global.LaunchReactApplicationParams
121
+ LaunchReactApplication( params: global.LaunchReactApplicationInput ): void
124
122
  }
125
123
  }
126
124