amotify 0.0.60 → 0.0.63
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 +15 -1
- package/dist/amotify.js +1 -1
- package/dist/amotify.min.css +3 -3
- package/package.json +1 -1
- package/src/functions/Cropper/parts.tsx +37 -16
- package/src/functions/Cropper/style.module.scss +1 -0
- package/src/functions/Input/Slider/_.tsx +17 -9
- package/src/functions/Input/Slider/style.module.scss +2 -2
- 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 {
|
|
@@ -1214,8 +1227,9 @@ declare global {
|
|
|
1214
1227
|
}
|
|
1215
1228
|
}
|
|
1216
1229
|
namespace Cropper {
|
|
1230
|
+
type UseTypes = 'square' | 'wallpaper.horizontal' | 'wallpaper.vertical'
|
|
1217
1231
|
type Params = {
|
|
1218
|
-
use:
|
|
1232
|
+
use: UseTypes
|
|
1219
1233
|
develops: DevelopParams[]
|
|
1220
1234
|
onProcessFinished: {
|
|
1221
1235
|
( files: Input.Filer.CustomFile[] ): void
|