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 +12 -14
- package/dist/amotify.js +2 -2
- package/dist/amotify.min.css +2 -2
- package/dist/coreVender.js +1 -1
- package/package.json +1 -1
- package/src/@global.tsx +8 -4
- package/src/@styles/init.scss +3 -0
- package/src/config.tsx +5 -1
- package/src/functions/Loader/parts.tsx +4 -4
- package/src/functions/Sheet/parts.tsx +6 -6
- package/src/functions/SnackBar/parts.tsx +4 -4
- package/src/global/LaunchReactApplication.tsx +37 -8
- package/src/launch.tsx +12 -19
- package/src/preload.tsx +30 -28
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
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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.
|
|
121
|
+
LaunchReactApplication( params: global.LaunchReactApplicationInput ): void
|
|
124
122
|
}
|
|
125
123
|
}
|
|
126
124
|
|