amotify 0.0.60 → 0.0.62
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/fn.tsx +13 -0
- package/dist/amotify.js +1 -1
- package/dist/amotify.min.css +1 -1
- package/package.json +1 -1
- package/src/functions/Layout/PageRouter.tsx +2 -18
- package/src/functions/Layout/RootViewController/parts.tsx +58 -35
- package/src/functions/Layout/RootViewController/style.module.scss +0 -1
package/@types/fn.tsx
CHANGED
|
@@ -91,6 +91,10 @@ declare global {
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
namespace RootViewController {
|
|
94
|
+
// type Methods = React.FC<PlainParams> & {
|
|
95
|
+
// fn: FNs
|
|
96
|
+
// }
|
|
97
|
+
|
|
94
98
|
type Methods = {
|
|
95
99
|
Base: React.FC<RootViewController.BaseParams>
|
|
96
100
|
TopNavigation: React.FC<amotify.atoms.FlexProps>
|
|
@@ -105,6 +109,7 @@ declare global {
|
|
|
105
109
|
Title: React.FC<atoms.BoxInput>
|
|
106
110
|
Bar: React.FC<atoms.BoxInput>
|
|
107
111
|
}
|
|
112
|
+
fn: FNs
|
|
108
113
|
}
|
|
109
114
|
|
|
110
115
|
type BaseParams = atoms.BoxInput & {
|
|
@@ -117,6 +122,14 @@ declare global {
|
|
|
117
122
|
uri?: string
|
|
118
123
|
uriGroup?: ( string | RegExp ) | ( string | RegExp )[]
|
|
119
124
|
}
|
|
125
|
+
|
|
126
|
+
type FNs = {
|
|
127
|
+
updateCSSProperty: {
|
|
128
|
+
topNav(): void
|
|
129
|
+
footer(): void
|
|
130
|
+
reset(): void
|
|
131
|
+
}
|
|
132
|
+
}
|
|
120
133
|
}
|
|
121
134
|
}
|
|
122
135
|
namespace Tables {
|