amotify 0.0.8 → 0.0.10

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.
Files changed (261) hide show
  1. package/{dist/@types/_.d.ts → @types/_.tsx} +3 -4
  2. package/{src/@types → @types}/amot.tsx +125 -85
  3. package/{src/@types → @types}/fn.tsx +52 -53
  4. package/{src/@types → @types}/jsminAmotifyExtension.tsx +1 -2
  5. package/@types/module.tsx +1 -0
  6. package/dist/amotify.js +328 -0
  7. package/{public → dist}/amotify.min.css +339 -339
  8. package/package.json +11 -12
  9. package/src/{Atoms/@export.tsx → @atoms.tsx} +3 -3
  10. package/src/@functions.tsx +29 -0
  11. package/src/{Global/@export.tsx → @global.tsx} +9 -9
  12. package/src/@jsminAmotifyExtension/formCollect.tsx +1 -1
  13. package/src/{Molecules/@export.tsx → @molecules.tsx} +5 -4
  14. package/src/@organisms.tsx +5 -0
  15. package/src/@styles/UniStyling.scss +1 -1
  16. package/src/@styles/init.scss +1 -1
  17. package/src/@styles/styleSet.scss +1 -1
  18. package/src/{Templates/@export.tsx → @templates.tsx} +1 -1
  19. package/src/{Atoms → atoms}/FAIcon/parts.tsx +4 -3
  20. package/src/{Atoms → atoms}/FAIcon/style.module.scss +1 -2
  21. package/src/{Atoms → atoms}/Logo/parts.tsx +2 -2
  22. package/src/{Atoms → atoms}/Logo/style.module.scss +1 -2
  23. package/src/{Atoms → atoms}/Various/parts.tsx +10 -9
  24. package/src/{Atoms → atoms}/Various/style.module.scss +3 -2
  25. package/src/config.tsx +4 -4
  26. package/src/{Functions → functions}/Button/_.tsx +2 -1
  27. package/src/{Functions → functions}/Button/style.module.scss +3 -2
  28. package/src/{Functions → functions}/Cropper/parts.tsx +16 -20
  29. package/src/{Functions → functions}/Cropper/style.module.scss +1 -1
  30. package/src/{Functions → functions}/Effects/Fade.tsx +6 -11
  31. package/src/{Functions → functions}/Effects/style.module.scss +1 -1
  32. package/src/{Functions → functions}/Input/Chips/Selector.tsx +17 -21
  33. package/src/{Functions → functions}/Input/Chips/_.tsx +12 -17
  34. package/src/functions/Input/Chips/style.module.scss +6 -0
  35. package/src/{Functions → functions}/Input/DigitCharacters.tsx +6 -10
  36. package/src/{Functions → functions}/Input/File/_.tsx +13 -16
  37. package/src/{Functions → functions}/Input/File/style.module.scss +1 -1
  38. package/src/{Functions → functions}/Input/Hidden.tsx +4 -3
  39. package/src/{Functions → functions}/Input/List/_.tsx +8 -12
  40. package/src/{Functions → functions}/Input/List/style.module.scss +1 -1
  41. package/src/{Functions → functions}/Input/Segmented/_.tsx +2 -2
  42. package/src/{Functions → functions}/Input/Segmented/style.module.scss +2 -2
  43. package/src/{Functions → functions}/Input/Select/_.tsx +8 -11
  44. package/src/{Functions → functions}/Input/Select/style.module.scss +1 -1
  45. package/src/{Functions → functions}/Input/Slider/_.tsx +9 -12
  46. package/src/{Functions → functions}/Input/Slider/style.module.scss +2 -2
  47. package/src/{Functions → functions}/Input/Switch/_.tsx +7 -11
  48. package/src/{Functions → functions}/Input/Switch/style.module.scss +1 -1
  49. package/src/{Functions → functions}/Input/Text.tsx +6 -11
  50. package/src/{Functions → functions}/Input/TextArea.tsx +4 -8
  51. package/src/{Functions → functions}/Input/Time/Picker.tsx +11 -16
  52. package/src/{Functions → functions}/Input/Time/_.tsx +13 -17
  53. package/src/{Functions → functions}/Input/Time/style.module.scss +1 -1
  54. package/src/{Functions → functions}/Input/_.tsx +12 -17
  55. package/src/{Functions → functions}/Input/core.tsx +14 -19
  56. package/src/{Functions → functions}/Input/style.module.scss +1 -1
  57. package/src/{Functions → functions}/Inputs/style.module.scss +1 -1
  58. package/src/{Functions → functions}/Inputs/text.tsx +5 -17
  59. package/src/functions/Inputs/types.d.ts +13 -0
  60. package/src/{Functions → functions}/Layout/PageNotFound.tsx +6 -7
  61. package/src/{Functions → functions}/Layout/PageRouter.tsx +25 -34
  62. package/src/{Functions → functions}/Layout/PageViewController/parts.tsx +6 -9
  63. package/src/{Functions → functions}/Layout/Plate.tsx +3 -2
  64. package/src/{Functions → functions}/Layout/RootViewController/parts.tsx +6 -8
  65. package/src/{Functions → functions}/Layout/RootViewController/style.module.scss +1 -1
  66. package/src/{Functions → functions}/Layout/SwipeView/parts.tsx +11 -16
  67. package/src/{Functions → functions}/Layout/SwipeView/style.module.scss +1 -1
  68. package/src/{Functions → functions}/Layout/TabBar.tsx +6 -10
  69. package/src/{Functions → functions}/Loader/corner.tsx +6 -12
  70. package/src/{Functions → functions}/Loader/mini.tsx +9 -12
  71. package/src/{Functions → functions}/Loader/parts.tsx +7 -10
  72. package/src/{Functions → functions}/Loader/style.module.scss +1 -1
  73. package/src/{Functions → functions}/Loader/top.tsx +6 -12
  74. package/src/{Functions → functions}/Sheet/parts.tsx +16 -19
  75. package/src/{Functions → functions}/Sheet/style.module.scss +1 -1
  76. package/src/{Functions → functions}/SnackBar/parts.tsx +14 -17
  77. package/src/{Functions → functions}/SnackBar/style.module.scss +1 -1
  78. package/src/{Functions → functions}/Table/Data/parts.tsx +4 -4
  79. package/src/{Functions → functions}/Table/Drag/parts.tsx +12 -15
  80. package/src/{Functions → functions}/Table/Normal/parts.tsx +5 -5
  81. package/src/{Functions → functions}/Table/_.tsx +4 -4
  82. package/src/{Functions → functions}/Table/style.module.scss +3 -2
  83. package/src/{Functions → functions}/Tooltips/parts.tsx +3 -2
  84. package/src/{Global → global}/LaunchReactApplication.tsx +4 -3
  85. package/src/{Global → global}/styleConverter.tsx +3 -7
  86. package/src/launch.tsx +16 -11
  87. package/src/{Molecules → molecules}/Accordion/parts.tsx +8 -12
  88. package/src/{Molecules → molecules}/Accordion/style.module.scss +1 -1
  89. package/src/{Molecules → molecules}/LinkifyText/parts.tsx +4 -3
  90. package/src/{Molecules → molecules}/List.tsx +3 -2
  91. package/src/{Organisms → organisms}/DisplayStyleInput/darkmode.tsx +6 -11
  92. package/src/{Organisms → organisms}/DisplayStyleInput/themeColor.tsx +7 -12
  93. package/src/{Templates → templates}/PlayGround/parts.tsx +12 -40
  94. package/src/{Templates → templates}/PlayGround/style.module.scss +1 -1
  95. package/tsconfig.json +19 -5
  96. package/webpack.config.js +18 -7
  97. package/dist/@jsminAmotifyExtension/_.d.ts +0 -4
  98. package/dist/@jsminAmotifyExtension/_.js +0 -6
  99. package/dist/@jsminAmotifyExtension/fetch.d.ts +0 -9
  100. package/dist/@jsminAmotifyExtension/fetch.js +0 -199
  101. package/dist/@jsminAmotifyExtension/formCollect.d.ts +0 -1
  102. package/dist/@jsminAmotifyExtension/formCollect.js +0 -137
  103. package/dist/@jsminAmotifyExtension/spreadSheet.d.ts +0 -4
  104. package/dist/@jsminAmotifyExtension/spreadSheet.js +0 -314
  105. package/dist/@jsminAmotifyExtension/variables.d.ts +0 -0
  106. package/dist/@jsminAmotifyExtension/variables.js +0 -186
  107. package/dist/@types/_.js +0 -8
  108. package/dist/@types/amot.d.ts +0 -260
  109. package/dist/@types/amot.js +0 -2
  110. package/dist/@types/fn.d.ts +0 -1040
  111. package/dist/@types/fn.js +0 -2
  112. package/dist/@types/index.d.ts +0 -62
  113. package/dist/@types/index.js +0 -2
  114. package/dist/@types/jsminAmotifyExtension.d.ts +0 -134
  115. package/dist/@types/jsminAmotifyExtension.js +0 -2
  116. package/dist/@types/module.d.ts +0 -2
  117. package/dist/@types/module.js +0 -1
  118. package/dist/@types/state.d.ts +0 -145
  119. package/dist/@types/state.js +0 -2
  120. package/dist/Atoms/@export.d.ts +0 -4
  121. package/dist/Atoms/@export.js +0 -16
  122. package/dist/Atoms/FAIcon/parts.d.ts +0 -2
  123. package/dist/Atoms/FAIcon/parts.js +0 -152
  124. package/dist/Atoms/Logo/parts.d.ts +0 -1
  125. package/dist/Atoms/Logo/parts.js +0 -154
  126. package/dist/Atoms/Various/parts.d.ts +0 -9
  127. package/dist/Atoms/Various/parts.js +0 -113
  128. package/dist/Functions/@export.d.ts +0 -12
  129. package/dist/Functions/@export.js +0 -25
  130. package/dist/Functions/Button/_.d.ts +0 -1
  131. package/dist/Functions/Button/_.js +0 -270
  132. package/dist/Functions/Cropper/parts.d.ts +0 -1
  133. package/dist/Functions/Cropper/parts.js +0 -783
  134. package/dist/Functions/Effects/Fade.d.ts +0 -1
  135. package/dist/Functions/Effects/Fade.js +0 -82
  136. package/dist/Functions/Effects/Ripple.d.ts +0 -1
  137. package/dist/Functions/Effects/Ripple.js +0 -107
  138. package/dist/Functions/Effects/_.d.ts +0 -3
  139. package/dist/Functions/Effects/_.js +0 -43
  140. package/dist/Functions/Input/Chips/Selector.d.ts +0 -1
  141. package/dist/Functions/Input/Chips/Selector.js +0 -356
  142. package/dist/Functions/Input/Chips/_.d.ts +0 -2
  143. package/dist/Functions/Input/Chips/_.js +0 -218
  144. package/dist/Functions/Input/DigitCharacters.d.ts +0 -1
  145. package/dist/Functions/Input/DigitCharacters.js +0 -178
  146. package/dist/Functions/Input/File/_.d.ts +0 -2
  147. package/dist/Functions/Input/File/_.js +0 -458
  148. package/dist/Functions/Input/Hidden.d.ts +0 -1
  149. package/dist/Functions/Input/Hidden.js +0 -30
  150. package/dist/Functions/Input/List/_.d.ts +0 -1
  151. package/dist/Functions/Input/List/_.js +0 -232
  152. package/dist/Functions/Input/Segmented/_.d.ts +0 -1
  153. package/dist/Functions/Input/Segmented/_.js +0 -111
  154. package/dist/Functions/Input/Select/_.d.ts +0 -1
  155. package/dist/Functions/Input/Select/_.js +0 -154
  156. package/dist/Functions/Input/Slider/_.d.ts +0 -1
  157. package/dist/Functions/Input/Slider/_.js +0 -308
  158. package/dist/Functions/Input/Switch/_.d.ts +0 -1
  159. package/dist/Functions/Input/Switch/_.js +0 -120
  160. package/dist/Functions/Input/Text.d.ts +0 -5
  161. package/dist/Functions/Input/Text.js +0 -340
  162. package/dist/Functions/Input/TextArea.d.ts +0 -1
  163. package/dist/Functions/Input/TextArea.js +0 -98
  164. package/dist/Functions/Input/Time/Picker.d.ts +0 -1
  165. package/dist/Functions/Input/Time/Picker.js +0 -581
  166. package/dist/Functions/Input/Time/_.d.ts +0 -2
  167. package/dist/Functions/Input/Time/_.js +0 -567
  168. package/dist/Functions/Input/_.d.ts +0 -5
  169. package/dist/Functions/Input/_.js +0 -446
  170. package/dist/Functions/Input/core.d.ts +0 -34
  171. package/dist/Functions/Input/core.js +0 -324
  172. package/dist/Functions/Inputs/_.d.ts +0 -3
  173. package/dist/Functions/Inputs/_.js +0 -7
  174. package/dist/Functions/Inputs/text.d.ts +0 -12
  175. package/dist/Functions/Inputs/text.js +0 -46
  176. package/dist/Functions/Layout/PageNotFound.d.ts +0 -1
  177. package/dist/Functions/Layout/PageNotFound.js +0 -30
  178. package/dist/Functions/Layout/PageRouter.d.ts +0 -2
  179. package/dist/Functions/Layout/PageRouter.js +0 -65
  180. package/dist/Functions/Layout/PageViewController/parts.d.ts +0 -1
  181. package/dist/Functions/Layout/PageViewController/parts.js +0 -31
  182. package/dist/Functions/Layout/Plate.d.ts +0 -1
  183. package/dist/Functions/Layout/Plate.js +0 -39
  184. package/dist/Functions/Layout/RootViewController/parts.d.ts +0 -1
  185. package/dist/Functions/Layout/RootViewController/parts.js +0 -202
  186. package/dist/Functions/Layout/SwipeView/parts.d.ts +0 -2
  187. package/dist/Functions/Layout/SwipeView/parts.js +0 -319
  188. package/dist/Functions/Layout/TabBar.d.ts +0 -1
  189. package/dist/Functions/Layout/TabBar.js +0 -49
  190. package/dist/Functions/Layout/_.d.ts +0 -2
  191. package/dist/Functions/Layout/_.js +0 -20
  192. package/dist/Functions/Loader/corner.d.ts +0 -1
  193. package/dist/Functions/Loader/corner.js +0 -59
  194. package/dist/Functions/Loader/mini.d.ts +0 -33
  195. package/dist/Functions/Loader/mini.js +0 -126
  196. package/dist/Functions/Loader/parts.d.ts +0 -3
  197. package/dist/Functions/Loader/parts.js +0 -108
  198. package/dist/Functions/Loader/top.d.ts +0 -1
  199. package/dist/Functions/Loader/top.js +0 -69
  200. package/dist/Functions/Sheet/parts.d.ts +0 -2
  201. package/dist/Functions/Sheet/parts.js +0 -724
  202. package/dist/Functions/SnackBar/parts.d.ts +0 -2
  203. package/dist/Functions/SnackBar/parts.js +0 -171
  204. package/dist/Functions/Table/Data/parts.d.ts +0 -3
  205. package/dist/Functions/Table/Data/parts.js +0 -629
  206. package/dist/Functions/Table/Drag/parts.d.ts +0 -1
  207. package/dist/Functions/Table/Drag/parts.js +0 -359
  208. package/dist/Functions/Table/Normal/parts.d.ts +0 -1
  209. package/dist/Functions/Table/Normal/parts.js +0 -92
  210. package/dist/Functions/Table/_.d.ts +0 -9
  211. package/dist/Functions/Table/_.js +0 -153
  212. package/dist/Functions/Tooltips/parts.d.ts +0 -2
  213. package/dist/Functions/Tooltips/parts.js +0 -71
  214. package/dist/Global/@export.d.ts +0 -12
  215. package/dist/Global/@export.js +0 -198
  216. package/dist/Global/LaunchReactApplication.d.ts +0 -1
  217. package/dist/Global/LaunchReactApplication.js +0 -48
  218. package/dist/Global/styleConverter.d.ts +0 -2
  219. package/dist/Global/styleConverter.js +0 -349
  220. package/dist/Molecules/@export.d.ts +0 -21
  221. package/dist/Molecules/@export.js +0 -41
  222. package/dist/Molecules/Accordion/parts.d.ts +0 -2
  223. package/dist/Molecules/Accordion/parts.js +0 -165
  224. package/dist/Molecules/LinkifyText/parts.d.ts +0 -1
  225. package/dist/Molecules/LinkifyText/parts.js +0 -39
  226. package/dist/Molecules/List.d.ts +0 -1
  227. package/dist/Molecules/List.js +0 -35
  228. package/dist/Organisms/@export.d.ts +0 -2
  229. package/dist/Organisms/@export.js +0 -5
  230. package/dist/Organisms/DisplayStyleInput/_.d.ts +0 -1
  231. package/dist/Organisms/DisplayStyleInput/_.js +0 -15
  232. package/dist/Organisms/DisplayStyleInput/darkmode.d.ts +0 -1
  233. package/dist/Organisms/DisplayStyleInput/darkmode.js +0 -77
  234. package/dist/Organisms/DisplayStyleInput/themeColor.d.ts +0 -27
  235. package/dist/Organisms/DisplayStyleInput/themeColor.js +0 -185
  236. package/dist/Templates/@export.d.ts +0 -2
  237. package/dist/Templates/@export.js +0 -5
  238. package/dist/Templates/PlayGround/parts.d.ts +0 -1
  239. package/dist/Templates/PlayGround/parts.js +0 -55
  240. package/dist/config.d.ts +0 -16
  241. package/dist/config.js +0 -171
  242. package/dist/launch.d.ts +0 -9
  243. package/dist/launch.js +0 -46
  244. package/dist/preload.d.ts +0 -1
  245. package/dist/preload.js +0 -73
  246. package/public/amotify.js +0 -310
  247. package/src/@types/_.tsx +0 -6
  248. package/src/@types/index.tsx +0 -74
  249. package/src/@types/module.tsx +0 -2
  250. package/src/Functions/@export.tsx +0 -29
  251. package/src/Functions/Input/Chips/style.module.scss +0 -6
  252. package/src/Functions/Inputs/types.d.ts +0 -1
  253. package/src/Global/exe.tsx +0 -0
  254. package/src/Organisms/@export.tsx +0 -5
  255. package/src/index.js +0 -0
  256. /package/{src/@types → @types}/state.tsx +0 -0
  257. /package/src/{Functions → functions}/Effects/Ripple.tsx +0 -0
  258. /package/src/{Functions → functions}/Effects/_.tsx +0 -0
  259. /package/src/{Functions → functions}/Inputs/_.tsx +0 -0
  260. /package/src/{Functions → functions}/Layout/_.tsx +0 -0
  261. /package/src/{Organisms → organisms}/DisplayStyleInput/_.tsx +0 -0
@@ -1,6 +1,5 @@
1
- import './module';
1
+ import './jsminAmotifyExtension';
2
2
  import './state';
3
+ import './module';
3
4
  import './amot';
4
- import './index';
5
- import './fn';
6
- import './jsminAmotifyExtension';
5
+ import './fn';
@@ -1,12 +1,45 @@
1
- import React from 'react';
2
- import * as ReactDom from "react-dom";
3
- import * as ReactRouterDom from "react-router";
4
-
5
- export {}
6
-
1
+ export { }
7
2
  declare global {
3
+ type ReactElement = React.ReactNode | React.ReactNode[]
4
+
8
5
  namespace amotify {
9
- namespace glob {
6
+ type ToneTypes = 'default' | 'flat' | 'sharp'
7
+ type DarkModeTypes = 'light' | 'auto' | 'dark' | 'dim'
8
+ type ThemeColorTypes = 'comun' | 'leaf' | 'heart' | 'droplet' |
9
+
10
+ 'brick' | 'flower' | 'lip' | 'wine' | 'theater' | 'bat' | 'poizon' | 'eggplant' | 'ufo' | 'alien' | 'tombstone' | 'ninja' | 'moon' | 'rain' | 'unicorn' | 'axe' | 'gem' | 'soap' | 'drizzle' | 'building' | 'fish' | 'icicles' | 'water' | 'tree1' | 'tree2' | 'tree3' | 'battery' | 'seedle' | 'greenTea' | 'oak' | 'salad' | 'cloudy' | 'lemon' | 'angel' | 'parasol' | 'pizza' | 'thunder' | 'latte' | 'island' | 'shovel' | 'coffee' | 'carrot' | 'cactus' | 'volcano' | 'choco' | 'industry' | 'gun' | 'galaxy' |
11
+
12
+ 'line' | 'twitter' | 'amazon' | 'facebook' | 'android' | 'slackBlue' | 'slackGreen' | 'slackRed' | 'slackYellow' | 'slackBase' | 'googleBlue' | 'googleGreen' | 'googleYellow' | 'googleRed'
13
+
14
+ type RoundnessTypes = 0 | 1 | 2 | 3 | 4 | 5
15
+
16
+ namespace config {
17
+ interface Methods {
18
+ version: string
19
+ tone: amotify.ToneTypes
20
+ themeColor: amotify.ThemeColorTypes
21
+ darkMode: amotify.DarkModeTypes
22
+ roundness: amotify.RoundnessTypes
23
+ device: {
24
+ isWhat: 'Windows' | 'Android' | 'iPhone' | 'iPad' | 'macOSX' | 'undefined'
25
+ isBreakpoint(): boolean
26
+ isPhonepoint(): boolean
27
+ isSystemDarkmode(): boolean
28
+ isPhone: boolean
29
+ isTouchDevice: boolean
30
+ isIOS: boolean
31
+ }
32
+ update: {
33
+ tone( value: amotify.ToneTypes ): void
34
+ themeColor( value: amotify.ThemeColorTypes ): void
35
+ darkMode( value: amotify.DarkModeTypes ): void
36
+ roundness( value: amotify.RoundnessTypes ): void
37
+ }
38
+ readExtraCDN( url: string ): Promise<boolean>
39
+ }
40
+ }
41
+
42
+ namespace global {
10
43
  type LaunchReactApplicationParams = {
11
44
  ( params: {
12
45
  baseElement?: HTMLElement | string
@@ -20,7 +53,6 @@ declare global {
20
53
  }
21
54
  } ): void
22
55
  }
23
-
24
56
  type useStoreParams = {
25
57
  set( params: {
26
58
  key: string
@@ -46,7 +78,6 @@ declare global {
46
78
  push( url: string,newTab?: boolean ): void
47
79
  back(): void
48
80
  }
49
-
50
81
  namespace StyleConverter {
51
82
  type ReadStyleSet = {
52
83
  <T>( params: T ): T
@@ -55,24 +86,23 @@ declare global {
55
86
  <T>( params: T ): T
56
87
  }
57
88
  }
58
-
59
- type Methods = {
60
- React: typeof React
61
- ReactRouterDom: typeof ReactRouterDom
62
- ReactDom: typeof ReactDom
63
-
89
+
90
+ interface Methods {
91
+ React: typeof globalThis.React
92
+ ReactDOM: typeof globalThis.ReactDOM
93
+ ReactRouterDOM: any
64
94
  StyleConverter: {
65
95
  ReadStyleSet: StyleConverter.ReadStyleSet
66
96
  ToClassName: StyleConverter.ToClassName
67
97
  }
68
-
98
+
69
99
  pageTransit: PageTransitParams
70
- useStore: glob.useStoreParams
71
- useRecycle: glob.useRecycleParams
72
- LaunchReactApplication: glob.LaunchReactApplicationParams
100
+ useStore: global.useStoreParams
101
+ useRecycle: global.useRecycleParams
102
+ LaunchReactApplication: global.LaunchReactApplicationParams
73
103
  }
74
104
  }
75
-
105
+
76
106
  namespace atoms {
77
107
  type BoxInput = amotifyBasicElement & {
78
108
  children?: ReactElement
@@ -83,45 +113,45 @@ declare global {
83
113
  type ParagraphProps = amotifyBasicElement & {
84
114
  children?: ReactElement
85
115
  } & React.HTMLAttributes<HTMLParagraphElement>
86
-
116
+
87
117
  type FlexProps = amotifyBasicElement & {
88
118
  children?: ReactElement
89
119
  } & React.HTMLAttributes<HTMLDivElement>
90
-
120
+
91
121
  type GridProps = amotifyBasicElement & {
92
122
  children: ReactElement
93
-
123
+
94
124
  onClick?: {
95
125
  ( event: React.MouseEvent<HTMLDivElement,MouseEvent> ): void
96
126
  }
97
127
  } & React.HTMLAttributes<HTMLDivElement>
98
-
128
+
99
129
  namespace FAIcon {
100
- type Method = FNC<FAIconFNC> & ShortCuts
130
+ type Method = React.FC<FAIconFNC> & ShortCuts
101
131
  type FAIconFNC = amotifyBasicElement & {
102
132
  iconFamily?: 'classic' | 'sharp'
103
-
133
+
104
134
  isSolidIcon?: boolean
105
135
  isRegularIcon?: boolean
106
136
  isLightIcon?: boolean
107
137
  isThinIcon?: boolean
108
138
  isDuotoneIcon?: boolean
109
-
139
+
110
140
  iconAnimation?: false | 'beat' | 'beat-fade' | 'bounce' | 'fade' | 'flip' | 'shake' | 'spin' | 'spin-reverse' | 'spin-pulse'
111
141
  isBrandIcon?: boolean
112
142
  d?: string
113
143
  } & React.HTMLAttributes<HTMLDivElement>
114
144
  type ShortCuts = {
115
- [ key in ShortCutNames ]: FNC<Omit<FAIconFNC,'d'>>
145
+ [ key in ShortCutNames ]: React.FC<Omit<FAIconFNC,'d'>>
116
146
  }
117
147
  type ShortCutNames =
118
148
  'User' | 'Times' | 'Desktop' |
119
-
149
+
120
150
  'AngleRight' | 'AngleLeft' | 'AngleUp' | 'AngleDown' |
121
151
  'ChevronLeft' | 'ChevronRight' | 'ChevronUp' | 'ChevronDown' |
122
152
  'CaretLeft' | 'CaretRight' | 'CaretUp' | 'CaretDown' |
123
153
  'ArrowLeft' | 'ArrowRight' | 'ArrowUp' | 'ArrowDown' |
124
-
154
+
125
155
  'Rotate' | 'RotateLeft' | 'RotateRight' | 'Redo' |
126
156
  'Play' | 'Pause' | 'Stop' | 'ForwardStep' | 'BackwardStep' |
127
157
  'Check' | 'CheckCircle' |
@@ -135,15 +165,15 @@ declare global {
135
165
  'Plus' | 'Minus' | 'Equals' | 'Calculator' |
136
166
  'Image' | 'BadgePercent'
137
167
  }
138
-
168
+
139
169
  namespace Image {
140
- type Methods = FNC<CompInput> & DefaultImages;
170
+ type Methods = React.FC<CompInput> & DefaultImages;
141
171
  type CompInput = amotifyBasicElement & {
142
172
  src: string
143
173
  alt?: string
144
174
  showExpand?: boolean | string
145
175
  } & React.HTMLAttributes<HTMLImageElement>
146
-
176
+
147
177
  type DefaultImages = {
148
178
  uri: {
149
179
  mingooIcon: string
@@ -157,27 +187,27 @@ declare global {
157
187
  'store'
158
188
  ): string
159
189
  }
160
-
190
+
161
191
  }
162
192
  }
163
-
164
-
193
+
194
+
165
195
  namespace Logos {
166
196
  type Methods = {
167
197
  Icon: ( params: Params ) => JSX.Element
168
198
  Title: ( params: Params ) => JSX.Element
169
-
199
+
170
200
  Brands: {
171
201
  MingooIcon: ( params: DefaultLogoTypes ) => JSX.Element
172
202
  MingooTitle: ( params: DefaultLogoTypes ) => JSX.Element
173
203
  MingooLogoH: ( params: DefaultLogoTypes ) => JSX.Element
174
204
  MingooLogoV: ( params: DefaultLogoTypes ) => JSX.Element
175
-
205
+
176
206
  ComunIcon: ( params: DefaultLogoTypes ) => JSX.Element
177
207
  ComunTitle: ( params: DefaultLogoTypes ) => JSX.Element
178
208
  ComunLogoH: ( params: DefaultLogoTypes ) => JSX.Element
179
209
  ComunLogoV: ( params: DefaultLogoTypes ) => JSX.Element
180
-
210
+
181
211
  Google: ( params: DefaultLogoTypes ) => JSX.Element
182
212
  Facebook: ( params: DefaultLogoTypes ) => JSX.Element
183
213
  Twitter: ( params: DefaultLogoTypes ) => JSX.Element
@@ -187,38 +217,38 @@ declare global {
187
217
  type Params = amotifyBasicElement & {
188
218
  size?: 'S' | 'R' | 'L' | '2L' | '3L'
189
219
  color?: 'normal' | 'white'
190
- children?: ReactElement | FNC<any>
220
+ children?: ReactElement | React.FC<any>
191
221
  }
192
222
  type DefaultLogoTypes = amotifyBasicElement & {
193
223
  size?: 'S' | 'R' | 'L' | '2L' | '3L'
194
224
  color?: 'normal' | 'white'
195
225
  }
196
226
  }
197
-
227
+
198
228
  type PlaceholderParams = amotify.atoms.BoxInput & {
199
229
  color?: 'cloud' | 'white'
200
230
  }
201
-
231
+
202
232
  type Methods = {
203
- Box: FNC<atoms.BoxInput>
204
-
205
- Flex: FNC<atoms.FlexProps>
206
- FlexBr: FNC<amotifyUniStyleParams>
207
-
208
- Placeholder: FNC<PlaceholderParams>
209
-
210
- Grid: FNC<atoms.GridProps>
211
-
233
+ Box: React.FC<atoms.BoxInput>
234
+
235
+ Flex: React.FC<atoms.FlexProps>
236
+ FlexBr: React.FC<amotifyUniStyleParams>
237
+
238
+ Placeholder: React.FC<PlaceholderParams>
239
+
240
+ Grid: React.FC<atoms.GridProps>
241
+
212
242
  FAIcon: FAIcon.Method
213
-
214
- Span: FNC<atoms.SpanProps>
215
- Paragraph: FNC<atoms.ParagraphProps>
243
+
244
+ Span: React.FC<atoms.SpanProps>
245
+ Paragraph: React.FC<atoms.ParagraphProps>
216
246
  Img: atoms.Image.Methods
217
-
247
+
218
248
  Logo: Logos.Methods
219
249
  }
220
250
  }
221
-
251
+
222
252
  namespace mols {
223
253
  namespace Accordion {
224
254
  type Params = {
@@ -237,58 +267,58 @@ declare global {
237
267
  toggle( accordionID: string ): void
238
268
  }
239
269
  }
240
- type SetParams = FNC<Params> & FNParams
270
+ type SetParams = React.FC<Params> & FNParams
241
271
  }
242
-
272
+
243
273
  namespace List {
244
274
  type Params = amotifyBasicElement & {
245
275
  rowStyles?: amotifyUniStyleParams
246
276
  rows: RowsParams[]
247
277
  }
248
-
278
+
249
279
  type RowsParams = {
250
280
  children: ReactElement
251
281
  } & amotifyBasicElement
252
282
  }
253
-
283
+
254
284
  type LinkifyTextProps = {
255
285
  text: string
256
286
  placeholder?: ReactElement
257
287
  }
258
-
288
+
259
289
  type Methods = {
260
- List: FNC<mols.List.Params>
290
+ List: React.FC<mols.List.Params>
261
291
  Accordion: mols.Accordion.SetParams
262
- LinkifyText: FNC<mols.LinkifyTextProps>
292
+ LinkifyText: React.FC<mols.LinkifyTextProps>
263
293
  Text: {
264
- NowrapSpan: FNC<atoms.SpanProps>
265
- Title: FNC<atoms.BoxInput>
266
- SubTitle: FNC<atoms.BoxInput>
267
- ThirdTitle: FNC<atoms.BoxInput>
268
- Paragraph: FNC<atoms.BoxInput>
269
- Normal: FNC<atoms.BoxInput>
270
- Description: FNC<atoms.BoxInput>
271
- Supplement: FNC<atoms.BoxInput>
294
+ NowrapSpan: React.FC<atoms.SpanProps>
295
+ Title: React.FC<atoms.BoxInput>
296
+ SubTitle: React.FC<atoms.BoxInput>
297
+ ThirdTitle: React.FC<atoms.BoxInput>
298
+ Paragraph: React.FC<atoms.BoxInput>
299
+ Normal: React.FC<atoms.BoxInput>
300
+ Description: React.FC<atoms.BoxInput>
301
+ Supplement: React.FC<atoms.BoxInput>
272
302
  }
273
- Column: FNC<atoms.FlexProps>
303
+ Column: React.FC<atoms.FlexProps>
274
304
  Row: {
275
- Center: FNC<atoms.FlexProps>
276
- Left: FNC<atoms.FlexProps>
277
- Right: FNC<atoms.FlexProps>
278
- Separate: FNC<atoms.FlexProps>
305
+ Center: React.FC<atoms.FlexProps>
306
+ Left: React.FC<atoms.FlexProps>
307
+ Right: React.FC<atoms.FlexProps>
308
+ Separate: React.FC<atoms.FlexProps>
279
309
  }
280
310
  }
281
311
  }
282
-
312
+
283
313
  namespace orgs {
284
314
  namespace DisplayStyleInput {
285
315
  type Methods = {
286
- Darkmode: FNC<DarkmodeInput>
316
+ Darkmode: React.FC<DarkmodeInput>
287
317
  ThemeColor: {
288
- ALL: FNC<ThemeColorInput>
289
- Basics: FNC<ThemeColorInput>
290
- Originals: FNC<ThemeColorInput>
291
- Brands: FNC<ThemeColorInput>
318
+ ALL: React.FC<ThemeColorInput>
319
+ Basics: React.FC<ThemeColorInput>
320
+ Originals: React.FC<ThemeColorInput>
321
+ Brands: React.FC<ThemeColorInput>
292
322
  Keys: {
293
323
  Brands: ColorIconParams[]
294
324
  Basics: ColorIconParams[]
@@ -301,7 +331,7 @@ declare global {
301
331
  icon: ReactElement
302
332
  label?: ReactElement
303
333
  }
304
-
334
+
305
335
  type DarkmodeInput = atoms.BoxInput & {
306
336
  onUpdate( params: amotify.DarkModeTypes ): void
307
337
  }
@@ -313,11 +343,21 @@ declare global {
313
343
  DisplayStyleInput: DisplayStyleInput.Methods
314
344
  }
315
345
  }
316
-
346
+
317
347
  namespace temps {
318
348
  type Methods = {
319
- PlayGround: FNC<{}>
349
+ PlayGround: React.FC<{}>
320
350
  }
321
351
  }
322
352
  }
353
+ interface amotify {
354
+ config: amotify.config.Methods
355
+ global: amotify.global.Methods
356
+ atoms: amotify.atoms.Methods
357
+ mols: amotify.mols.Methods
358
+ orgs: amotify.orgs.Methods
359
+ temps: amotify.temps.Methods
360
+ fn: amotify.fn.Methods
361
+ }
362
+ var amotify: amotify;
323
363
  }
@@ -1,18 +1,17 @@
1
1
  export {}
2
-
3
2
  declare global {
4
3
  namespace amotify {
5
4
  namespace fn {
6
5
  namespace Layout {
7
6
  type Methods = {
8
- PageViewController: FNC<PageViewController.Params>
9
- TabBar: FNC<TabBar.Params>
10
- Plate: FNC<Plate.Params>
11
- SwipeView: FNC<SwipeView.Params>
7
+ PageViewController: React.FC<PageViewController.Params>
8
+ TabBar: React.FC<TabBar.Params>
9
+ Plate: React.FC<Plate.Params>
10
+ SwipeView: React.FC<SwipeView.Params>
12
11
 
13
- PageRouter: FNC<PageRouter.RouterProps>
12
+ PageRouter: React.FC<PageRouter.RouterProps>
14
13
 
15
- PageNotFound: FNC<{}>
14
+ PageNotFound: React.FC<{}>
16
15
 
17
16
  RootViewController: RootViewController.Methods
18
17
  }
@@ -93,18 +92,18 @@ declare global {
93
92
 
94
93
  namespace RootViewController {
95
94
  type Methods = {
96
- Base: FNC<RootViewController.BaseParams>
97
- TopNavigation: FNC<amotify.atoms.FlexProps>
98
- SideNavigation: FNC<amotify.atoms.FlexProps & {
95
+ Base: React.FC<RootViewController.BaseParams>
96
+ TopNavigation: React.FC<amotify.atoms.FlexProps>
97
+ SideNavigation: React.FC<amotify.atoms.FlexProps & {
99
98
  baseStyles?: amotifyUniStyleParams
100
99
  }>
101
- FooterNavigation: FNC<amotify.atoms.FlexProps & {
100
+ FooterNavigation: React.FC<amotify.atoms.FlexProps & {
102
101
  baseStyles?: amotifyUniStyleParams
103
102
  }>
104
103
  Comps: {
105
- Button: FNC<ButtonParams>
106
- Title: FNC<atoms.BoxInput>
107
- Bar: FNC<atoms.BoxInput>
104
+ Button: React.FC<ButtonParams>
105
+ Title: React.FC<atoms.BoxInput>
106
+ Bar: React.FC<atoms.BoxInput>
108
107
  }
109
108
  }
110
109
 
@@ -131,13 +130,13 @@ declare global {
131
130
  }
132
131
 
133
132
  type CompsMethods = {
134
- Table: FNC<TableParams>
135
- Head: FNC<TableHeadParams>
136
- Body: FNC<TableBodyParams>
137
- Row: FNC<TRParams>
133
+ Table: React.FC<TableParams>
134
+ Head: React.FC<TableHeadParams>
135
+ Body: React.FC<TableBodyParams>
136
+ Row: React.FC<TRParams>
138
137
 
139
- TH: FNC<TableCellParams>
140
- TD: FNC<TableCellParams>
138
+ TH: React.FC<TableCellParams>
139
+ TD: React.FC<TableCellParams>
141
140
  RightIndicator: Uni.CellParams
142
141
  }
143
142
  type DataCompsMethods = {
@@ -263,10 +262,10 @@ declare global {
263
262
  setSearchKeyword( tableID: string,keyword: string ): void
264
263
  }
265
264
  type Comps = {
266
- SearchInput: FNC<{ tableID: string }>
267
- Info: FNC<{ tableID: string }>
268
- Paging: FNC<{ tableID: string }>
269
- RowLength: FNC<{
265
+ SearchInput: React.FC<{ tableID: string }>
266
+ Info: React.FC<{ tableID: string }>
267
+ Paging: React.FC<{ tableID: string }>
268
+ RowLength: React.FC<{
270
269
  tableID: string
271
270
  lengthSelect: number[]
272
271
  }>
@@ -308,7 +307,7 @@ declare global {
308
307
  }
309
308
  namespace Input {
310
309
  type Methods = {
311
- Plain: FNC<amotifyUniStyleParams & React.InputHTMLAttributes<HTMLInputElement>>
310
+ Plain: React.FC<amotifyUniStyleParams & React.InputHTMLAttributes<HTMLInputElement>>
312
311
  Hidden: ( params: Hidden.PlainParams ) => JSX.Element
313
312
  Text: Text.Methods
314
313
  TextArea: ( params: TextArea.PlainParams ) => JSX.Element
@@ -329,12 +328,12 @@ declare global {
329
328
  Segmented: Segmented.Types
330
329
 
331
330
  Comps: {
332
- RequiredSign: FNC<amotify.atoms.SpanProps>
333
- OmitSign: FNC<amotify.atoms.SpanProps>
334
- LeftIndicator: FNC<IndicatorParams>
335
- RightIndicator: FNC<IndicatorParams>
336
- LeftIcon: FNC<IndicatorParams>
337
- RightIcon: FNC<IndicatorParams>
331
+ RequiredSign: React.FC<amotify.atoms.SpanProps>
332
+ OmitSign: React.FC<amotify.atoms.SpanProps>
333
+ LeftIndicator: React.FC<IndicatorParams>
334
+ RightIndicator: React.FC<IndicatorParams>
335
+ LeftIcon: React.FC<IndicatorParams>
336
+ RightIcon: React.FC<IndicatorParams>
338
337
  }
339
338
  }
340
339
 
@@ -636,7 +635,7 @@ declare global {
636
635
  } & amotifyUniStyleParams
637
636
  }
638
637
  namespace Chips {
639
- type Methods = FNC<PlainParams> & {
638
+ type Methods = React.FC<PlainParams> & {
640
639
  fn: FNs
641
640
  }
642
641
 
@@ -673,20 +672,20 @@ declare global {
673
672
  value: any
674
673
  label: string
675
674
  }
676
- type SelectedCellComponentInput = FNC<{
675
+ type SelectedCellComponentInput = React.FC<{
677
676
  removeCallback: Function
678
677
  defaultRemoveButton: ReactElement
679
678
  openCallback(): void
680
679
  value: any
681
680
  label: string
682
681
  }>
683
- type SelectorCellComponentInput = FNC<{
682
+ type SelectorCellComponentInput = React.FC<{
684
683
  isSelected: boolean
685
684
  isFocused: boolean
686
685
  value: any
687
686
  label: string
688
687
  }>
689
- type AddButtonComponentInput = FNC<{
688
+ type AddButtonComponentInput = React.FC<{
690
689
  selected: OptionParams[]
691
690
  openCallback(): void
692
691
  }>
@@ -722,7 +721,7 @@ declare global {
722
721
  type PlainParams = Chips.PlainParams
723
722
  }
724
723
  namespace Filer {
725
- type Methods = FNC<PlainParams> & FNs
724
+ type Methods = React.FC<PlainParams> & FNs
726
725
 
727
726
  type PlainParams = CoreParams & React.DOMAttributes<HTMLInputElement> & {
728
727
  tone?: BoxToneTypes
@@ -911,8 +910,8 @@ declare global {
911
910
  Anchor: ToneTypes<AnchorInput>
912
911
  }
913
912
  type ToneTypes<T> = {
914
- Plain: FNC<T>
915
- Link: FNC<T>
913
+ Plain: React.FC<T>
914
+ Link: React.FC<T>
916
915
 
917
916
  Normal: SizeTypes<T>
918
917
  Border: SizeTypes<T>
@@ -924,10 +923,10 @@ declare global {
924
923
  BorderToFill: SizeTypes<T & Tones.BorderToFill>
925
924
  }
926
925
  type SizeTypes<T> = {
927
- XS: FNC<T>
928
- S: FNC<T>
929
- R: FNC<T>
930
- L: FNC<T>
926
+ XS: React.FC<T>
927
+ S: React.FC<T>
928
+ R: React.FC<T>
929
+ L: React.FC<T>
931
930
  }
932
931
 
933
932
  namespace Tones {
@@ -990,7 +989,7 @@ declare global {
990
989
  closeGroup( keyGroup: string ): void
991
990
  closeAll( pageTransit?: boolean ): void
992
991
  Comps: {
993
- Body: FNC<atoms.BoxInput>
992
+ Body: React.FC<atoms.BoxInput>
994
993
  }
995
994
  }
996
995
 
@@ -1072,7 +1071,7 @@ declare global {
1072
1071
  close( tipsID: string ): void
1073
1072
  closeALL(): void
1074
1073
  Comps: {
1075
- Body: FNC<atoms.BoxInput>
1074
+ Body: React.FC<atoms.BoxInput>
1076
1075
  }
1077
1076
  }
1078
1077
 
@@ -1122,11 +1121,11 @@ declare global {
1122
1121
  Cloud: SizeTypes<CompInput>
1123
1122
  }
1124
1123
  type SizeTypes<T> = {
1125
- S: FNC<T>
1126
- R: FNC<T>
1127
- L: FNC<T>
1128
- XL: FNC<T>
1129
- MAX: FNC<T>
1124
+ S: React.FC<T>
1125
+ R: React.FC<T>
1126
+ L: React.FC<T>
1127
+ XL: React.FC<T>
1128
+ MAX: React.FC<T>
1130
1129
  }
1131
1130
 
1132
1131
  type Sizes = 'S' | 'R' | 'L' | 'XL' | 'MAX'
@@ -1180,9 +1179,9 @@ declare global {
1180
1179
  animationDelay?: number
1181
1180
  }
1182
1181
  type Methods = {
1183
- FadeIn: FNC<FadeUniParams>
1184
- FadeUp: FNC<FadeUniParams>
1185
- // NumberCount: FNC<{
1182
+ FadeIn: React.FC<FadeUniParams>
1183
+ FadeUp: React.FC<FadeUniParams>
1184
+ // NumberCount: React.FC<{
1186
1185
  // from: number
1187
1186
  // to: number
1188
1187
  // ms:number
@@ -1207,4 +1206,4 @@ declare global {
1207
1206
  }
1208
1207
  }
1209
1208
  }
1210
- }
1209
+ }
@@ -1,5 +1,4 @@
1
1
  export { }
2
-
3
2
  declare global {
4
3
  // Fetch
5
4
  interface JsminExtension {
@@ -140,4 +139,4 @@ declare global {
140
139
  interface String {
141
140
  zen2hanNumber(): string
142
141
  }
143
- }
142
+ }
@@ -0,0 +1 @@
1
+ declare module "*.scss";