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
package/package.json CHANGED
@@ -1,21 +1,16 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "UI Component for React",
5
5
  "main": "dist/launch.js",
6
6
  "types": "dist/@types.d.ts",
7
7
  "scripts": {
8
- "clean-cdn": "rimraf public",
9
- "clean-dist": "rimraf dist",
8
+ "clean": "rimraf dist",
10
9
  "devCDN:webpack": "webpack --mode development --watch",
11
10
  "devCDN:server": "nodemon app.js --ignore public --ignore package.json --ignore src --ignore webpack.config.js --ignore tsconfig.json",
12
11
  "proCDN:webpack": "webpack --mode production",
13
- "allBuild:tsc": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json",
14
- "typesBuild:tsc": "tsc -p tsconfig.json && tsc-alias -p tsconfig.json tsc --emitDeclarationOnly",
15
- "build": "run-p clean-dist allBuild:*",
16
- "build-types": "run-p clean-dist typesBuild:*",
17
- "server": "run-p clean-cdn devCDN:*",
18
- "cdn": "run-p clean-cdn proCDN:*"
12
+ "start": "run-p clean devCDN:*",
13
+ "build": "run-p clean proCDN:*"
19
14
  },
20
15
  "repository": {
21
16
  "type": "git",
@@ -32,6 +27,12 @@
32
27
  "url": "https://github.com/IkkoKoyama/amotify/issues"
33
28
  },
34
29
  "homepage": "https://github.com/IkkoKoyama/amotify#readme",
30
+ "dependencies": {
31
+ "@types/react": "^18.2.37",
32
+ "react": "^18.2.0",
33
+ "react-dom": "^18.2.0",
34
+ "react-router-dom": "^6.18.0"
35
+ },
35
36
  "devDependencies": {
36
37
  "@babel/cli": "^7.17.0",
37
38
  "@babel/preset-env": "^7.16.11",
@@ -39,8 +40,7 @@
39
40
  "@babel/preset-typescript": "^7.16.7",
40
41
  "@types/express": "^4.17.13",
41
42
  "@types/google.maps": "^3.50.0",
42
- "@types/react": "^18.0.5",
43
- "@types/react-dom": "^18.0.5",
43
+ "@types/react-dom": "^18.2.15",
44
44
  "@types/react-router": "^5.1.20",
45
45
  "@types/react-router-dom": "^5.3.3",
46
46
  "babel-loader": "^8.2.3",
@@ -57,7 +57,6 @@
57
57
  "sass-loader": "^12.6.0",
58
58
  "terser-webpack-plugin": "^5.3.1",
59
59
  "ts-loader": "^9.2.8",
60
- "tsc-alias": "^1.8.8",
61
60
  "webpack": "^5.69.1",
62
61
  "webpack-bundle-analyzer": "^4.5.0",
63
62
  "webpack-cli": "^4.9.2",
@@ -7,11 +7,11 @@ import {
7
7
  Grid,
8
8
  Paragraph,
9
9
  Placeholder
10
- } from './Various/parts';
10
+ } from './atoms/Various/parts';
11
11
 
12
- import { FAIcon } from './FAIcon/parts';
12
+ import { FAIcon } from './atoms/FAIcon/parts';
13
13
 
14
- import { Logo } from './Logo/parts';
14
+ import { Logo } from './atoms/Logo/parts';
15
15
 
16
16
  export {
17
17
  Flex,
@@ -0,0 +1,29 @@
1
+ import {
2
+ Effects
3
+ } from './functions/Effects/_';
4
+
5
+ import { Buttons } from './functions/Button/_';
6
+ import { Input } from './functions/Input/_';
7
+ import { Inputs } from './functions/Inputs/_';
8
+ import { Layout } from './functions/Layout/_';
9
+ import { Table } from './functions/Table/_';
10
+ import { Sheet } from './functions/Sheet/parts';
11
+ import { SnackBar } from './functions/SnackBar/parts';
12
+ import { Loader } from './functions/Loader/parts';
13
+ import { Tooltips } from './functions/Tooltips/parts';
14
+
15
+ import { Cropper } from './functions/Cropper/parts';
16
+
17
+ export {
18
+ Buttons,
19
+ Input,
20
+ Inputs,
21
+ Table,
22
+ Layout,
23
+ Sheet,
24
+ SnackBar,
25
+ Loader,
26
+ Tooltips,
27
+ Effects,
28
+ Cropper,
29
+ }
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- import * as ReactDom from 'react-dom';
3
- import * as ReactRouterDom from 'react-router-dom';
2
+ import ReactDOM from 'react-dom';
3
+ import * as ReactRouterDOM from 'react-router-dom';
4
4
 
5
- import { LaunchReactApplication } from './LaunchReactApplication';
5
+ import { LaunchReactApplication } from './global/LaunchReactApplication';
6
6
 
7
7
  const Inmemory: {
8
8
  [ key: string ]: {
@@ -10,7 +10,7 @@ const Inmemory: {
10
10
  value: any
11
11
  }
12
12
  } = {}
13
- const useStore: amotify.glob.useStoreParams = {
13
+ const useStore: amotify.global.useStoreParams = {
14
14
  set: ( params ) => {
15
15
  let {
16
16
  key,
@@ -57,7 +57,7 @@ const useStore: amotify.glob.useStoreParams = {
57
57
  return true;
58
58
  }
59
59
  }
60
- const useRecycle: amotify.glob.useRecycleParams = {
60
+ const useRecycle: amotify.global.useRecycleParams = {
61
61
  set: ( key ) => {
62
62
  let [ val_recycleID ] = React.useState( $.uuidGen() );
63
63
  let [ val_refresh,set_refresh ] = React.useState( $.uuidGen() );
@@ -90,7 +90,7 @@ const useRecycle: amotify.glob.useRecycleParams = {
90
90
  }
91
91
  }
92
92
 
93
- const pageTransit: amotify.glob.PageTransitParams = {
93
+ const pageTransit: amotify.global.PageTransitParams = {
94
94
  open: ( url ) => {
95
95
  window.open( url );
96
96
  },
@@ -119,7 +119,7 @@ const pageTransit: amotify.glob.PageTransitParams = {
119
119
  import {
120
120
  ReadStyleSet,
121
121
  ToClassName
122
- } from './styleConverter';
122
+ } from './global/styleConverter';
123
123
 
124
124
  const StyleConverter = {
125
125
  ReadStyleSet,
@@ -128,8 +128,8 @@ const StyleConverter = {
128
128
 
129
129
  export {
130
130
  React,
131
- ReactDom,
132
- ReactRouterDom,
131
+ ReactDOM,
132
+ ReactRouterDOM,
133
133
  pageTransit,
134
134
  useStore,
135
135
  useRecycle,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useStore
3
- } from '~/Global/@export';
3
+ } from '@global';
4
4
 
5
5
  let formProcess = false;
6
6
  $.formCollect = async ( form ) => {
@@ -1,11 +1,12 @@
1
+ import React from 'react';
1
2
  import {
2
3
  Span,
3
4
  Box,
4
5
  Flex
5
- } from '~/Atoms/@export';
6
- import { List } from './List';
7
- import { Accordion } from './Accordion/parts';
8
- import { LinkifyText } from './LinkifyText/parts';
6
+ } from '@atoms';
7
+ import { List } from './molecules/List';
8
+ import { Accordion } from './molecules/Accordion/parts';
9
+ import { LinkifyText } from './molecules/LinkifyText/parts';
9
10
 
10
11
  const Text = {
11
12
  Title: ( params: amotify.atoms.BoxInput ) => ( <Box
@@ -0,0 +1,5 @@
1
+ import { DisplayStyleInput } from './organisms/DisplayStyleInput/_';
2
+
3
+ export {
4
+ DisplayStyleInput
5
+ }
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use './props' as *;
2
2
  @use './styleSet' as *;
3
3
  @use './themeColor' as themeColor;
4
4
  @mixin UniStyles($DS ) {
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use './props' as *;
2
2
  * {
3
3
  padding: 0;
4
4
  margin: 0;
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use './props' as *;
2
2
 
3
3
  @mixin OriginScrollBar {
4
4
  overflow: auto;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PlayGround
3
- } from './PlayGround/parts';
3
+ } from './templates/PlayGround/parts';
4
4
 
5
5
  export {
6
6
  PlayGround
@@ -1,10 +1,11 @@
1
- import style from './style.module.scss';
2
-
1
+ import React from 'react';
3
2
  import {
4
3
  Box
5
4
  } from '../Various/parts';
6
5
 
7
- const FaIconComp: FNC<amotify.atoms.FAIcon.FAIconFNC> = ( params ) => {
6
+ import style from './style.module.scss';
7
+
8
+ const FaIconComp: React.FC<amotify.atoms.FAIcon.FAIconFNC> = ( params ) => {
8
9
  let {
9
10
  iconAnimation = false,
10
11
  iconFamily,
@@ -1,5 +1,4 @@
1
- @use 'src/@styles/props' as *;
2
- @use'src/@styles/styleSet' as *;
1
+ @use '@props' as *;
3
2
 
4
3
  .FAIcon {
5
4
  &:global.fa-duotone {
@@ -1,8 +1,8 @@
1
+ import React from 'react';
1
2
  import {
2
- Box,
3
3
  Flex,
4
4
  Img
5
- } from '~/Atoms/@export';
5
+ } from '@atoms';
6
6
 
7
7
  import style from './style.module.scss';
8
8
 
@@ -1,5 +1,4 @@
1
- @use 'src/@styles/props' as *;
2
- @use'src/@styles/styleSet' as *;
1
+ @use '@props' as *;
3
2
 
4
3
  .Size_ {
5
4
  &S {
@@ -1,19 +1,20 @@
1
+ import React from 'react';
1
2
  import {
2
3
  StyleConverter
3
- } from '~/Global/@export';
4
+ } from '@global';
4
5
 
5
6
  import { publicURI } from '../../launch';
6
7
 
7
8
  import style from './style.module.scss';
8
9
 
9
- export const Box: FNC<amotify.atoms.BoxInput> = ( params ) => {
10
+ export const Box: React.FC<amotify.atoms.BoxInput> = ( params ) => {
10
11
  let {
11
12
  freeCSS,
12
13
  ...Params
13
14
  } = StyleConverter.ToClassName( params );
14
15
  return ( <div { ...Params } /> );
15
16
  }
16
- export const Span: FNC<amotify.atoms.SpanProps> = ( params ) => {
17
+ export const Span: React.FC<amotify.atoms.SpanProps> = ( params ) => {
17
18
  let {
18
19
  freeCSS,
19
20
  ...Params
@@ -21,7 +22,7 @@ export const Span: FNC<amotify.atoms.SpanProps> = ( params ) => {
21
22
  return ( <span { ...Params } /> );
22
23
  }
23
24
 
24
- export const Placeholder: FNC<amotify.atoms.PlaceholderParams> = ( params ) => {
25
+ export const Placeholder: React.FC<amotify.atoms.PlaceholderParams> = ( params ) => {
25
26
  let {
26
27
  color = 'cloud',
27
28
  ...others
@@ -54,7 +55,7 @@ export const Placeholder: FNC<amotify.atoms.PlaceholderParams> = ( params ) => {
54
55
 
55
56
  let Img: amotify.atoms.Image.Methods = {} as any;
56
57
  {
57
- const ImageComp: FNC<amotify.atoms.Image.CompInput> = ( params ) => {
58
+ const ImageComp: React.FC<amotify.atoms.Image.CompInput> = ( params ) => {
58
59
  let {
59
60
  src = '',
60
61
  alt = '',
@@ -111,7 +112,7 @@ let Img: amotify.atoms.Image.Methods = {} as any;
111
112
  }
112
113
  export { Img }
113
114
 
114
- export const Flex: FNC<amotify.atoms.FlexProps> = ( props ) => {
115
+ export const Flex: React.FC<amotify.atoms.FlexProps> = ( props ) => {
115
116
  let {
116
117
  children,
117
118
  freeCSS,
@@ -131,13 +132,13 @@ export const Flex: FNC<amotify.atoms.FlexProps> = ( props ) => {
131
132
  /> );
132
133
  }
133
134
 
134
- export const FlexBr: FNC<amotifyUniStyleParams> = ( params ) => ( <Box
135
+ export const FlexBr: React.FC<amotifyUniStyleParams> = ( params ) => ( <Box
135
136
  width={ 1 }
136
137
  flexSizing='none'
137
138
  { ...params }
138
139
  /> );
139
140
 
140
- export const Grid: FNC<amotify.atoms.GridProps> = ( props ) => {
141
+ export const Grid: React.FC<amotify.atoms.GridProps> = ( props ) => {
141
142
  let {
142
143
  children,
143
144
  freeCSS,
@@ -154,4 +155,4 @@ export const Grid: FNC<amotify.atoms.GridProps> = ( props ) => {
154
155
  /> );
155
156
  }
156
157
 
157
- export const Paragraph: FNC<amotify.atoms.ParagraphProps> = ( props ) => ( <p { ...StyleConverter.ToClassName( props ) } /> )
158
+ export const Paragraph: React.FC<amotify.atoms.ParagraphProps> = ( props ) => ( <p { ...StyleConverter.ToClassName( props ) } /> )
@@ -1,5 +1,6 @@
1
- @use 'src/@styles/props' as *;
2
- @use'src/@styles/styleSet' as *;
1
+ @use '@props' as *;
2
+ @use'@styleSet' as *;
3
+
3
4
  .Img {
4
5
  &.ShowExpand_true {
5
6
  transition: $animation-time-middle;
package/src/config.tsx CHANGED
@@ -58,7 +58,7 @@ export const defaultConfig: amotify.config.Methods = {
58
58
  SetThemeColorTag();
59
59
  } );
60
60
 
61
- amotify.glob.useRecycle.do( 'RootViewController' );
61
+ amotify.global.useRecycle.do( 'RootViewController' );
62
62
  },
63
63
  themeColor: ( value ) => {
64
64
  if ( ![
@@ -77,7 +77,7 @@ export const defaultConfig: amotify.config.Methods = {
77
77
  .callback( () => {
78
78
  SetThemeColorTag();
79
79
  } );
80
- amotify.glob.useRecycle.do( 'RootViewController' );
80
+ amotify.global.useRecycle.do( 'RootViewController' );
81
81
  },
82
82
  darkMode: ( value ) => {
83
83
  if ( ![ 'light','dark','dim','auto' ].includes( value ) ) value = 'light';
@@ -95,14 +95,14 @@ export const defaultConfig: amotify.config.Methods = {
95
95
  .removeClass( body.findClass( /^bdsDM/ ) )
96
96
  .addClass( 'bdsDM_' + Value );
97
97
 
98
- amotify.glob.useRecycle.do( 'RootViewController' );
98
+ amotify.global.useRecycle.do( 'RootViewController' );
99
99
  },
100
100
  roundness: ( value ) => {
101
101
  if ( !( value >= 0 && value <= 5 ) ) value = 2;
102
102
  if ( value == amotify.config.roundness ) return;
103
103
 
104
104
  amotify.config.roundness = value;
105
- amotify.glob.useRecycle.do( 'RootViewController' );
105
+ amotify.global.useRecycle.do( 'RootViewController' );
106
106
  },
107
107
  },
108
108
  readExtraCDN: async ( key ) => {
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  import {
2
3
  StyleConverter,
3
4
  pageTransit
4
- } from '~/Global/@export';
5
+ } from '@global';
5
6
 
6
7
  import style from './style.module.scss';
7
8
 
@@ -1,5 +1,6 @@
1
- @use 'src/@styles/props' as *;
2
- @use'src/@styles/styleSet' as *;
1
+ @use '@props' as *;
2
+ @use'@styleSet' as *;
3
+
3
4
  .Wrap {
4
5
  position: relative;
5
6
  @include DisableduserSelect();
@@ -1,28 +1,24 @@
1
1
  import {
2
- useStore
3
- } from '~/Global/@export';
2
+ useStore,
3
+ React
4
+ } from '@global';
4
5
  import {
5
6
  Box,
6
7
  Flex,
7
8
  FAIcon
8
- } from '~/Atoms/@export';
9
+ } from '@atoms';
9
10
  import {
10
11
  Column,
11
12
  Row,
12
13
  Text
13
- } from '~/Molecules/@export';
14
+ } from '@mols';
14
15
 
15
16
  import {
16
17
  Buttons,
17
18
  Input,
18
19
  Sheet,
19
20
  Loader
20
- } from '~/Functions/@export';
21
-
22
- const {
23
- useState,
24
- useEffect,
25
- } = React;
21
+ } from '@fn';
26
22
 
27
23
  import style from './style.module.scss';
28
24
 
@@ -566,8 +562,8 @@ class CroppImage {
566
562
  }
567
563
 
568
564
  const Comps: {
569
- Core: FNC<CoreProps>
570
- SettingRegion: FNC<{
565
+ Core: React.FC<CoreProps>
566
+ SettingRegion: React.FC<{
571
567
  DefaultOptions: plainObject
572
568
  val_scale: number
573
569
  set_scale: React.Dispatch<React.SetStateAction<number>>
@@ -591,7 +587,7 @@ const Comps: {
591
587
  develops = []
592
588
  } = options;
593
589
 
594
- let [ val_componentID ] = useState( $.uuidGen( 32 ) );
590
+ let [ val_componentID ] = React.useState( $.uuidGen( 32 ) );
595
591
 
596
592
  const DefaultOptions = {
597
593
  scale: {
@@ -604,12 +600,12 @@ const Comps: {
604
600
  tone: 0
605
601
  }
606
602
 
607
- let [ val_scale,set_scale ] = useState( DefaultOptions.scale.default );
608
- let [ val_rotate,set_rotate ] = useState( DefaultOptions.rotate )
609
- let [ val_grayScale,set_grayScale ] = useState( DefaultOptions.grayScale );
610
- let [ val_tone,set_tone ] = useState( DefaultOptions.tone );
603
+ let [ val_scale,set_scale ] = React.useState( DefaultOptions.scale.default );
604
+ let [ val_rotate,set_rotate ] = React.useState( DefaultOptions.rotate )
605
+ let [ val_grayScale,set_grayScale ] = React.useState( DefaultOptions.grayScale );
606
+ let [ val_tone,set_tone ] = React.useState( DefaultOptions.tone );
611
607
 
612
- useEffect( () => {
608
+ React.useEffect( () => {
613
609
  useStore.set( {
614
610
  key: val_componentID,
615
611
  value: {}
@@ -747,13 +743,13 @@ const Comps: {
747
743
  },1000 );
748
744
  } )();
749
745
  },[ val_file.id ] );
750
- useEffect( () => {
746
+ React.useEffect( () => {
751
747
  let Instance: CroppImage = useStore.get( val_componentID )?.Instance;
752
748
  if ( Instance ) {
753
749
  Instance.updateScale( val_scale );
754
750
  }
755
751
  },[ val_scale ] );
756
- useEffect( () => {
752
+ React.useEffect( () => {
757
753
  let Instance: CroppImage = useStore.get( val_componentID )?.Instance;
758
754
  if ( Instance ) {
759
755
  Instance.updateFilter( {
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  .Wrap {
3
3
  &.Use_ {
4
4
  &profile {
@@ -1,14 +1,9 @@
1
1
  import {
2
2
  React
3
- } from '~/Global/@export';
3
+ } from '@global';
4
4
  import {
5
5
  Box
6
- } from '~/Atoms/@export';
7
-
8
- const {
9
- useState,
10
- useEffect
11
- } = React;
6
+ } from '@atoms';
12
7
 
13
8
  export const FadeEffects: amotify.fn.Effects.Methods = {
14
9
  ...{} as any,
@@ -19,9 +14,9 @@ export const FadeEffects: amotify.fn.Effects.Methods = {
19
14
  componentID = $.uuidGen(),
20
15
  ...others
21
16
  } = params;
22
- let [ val_componentID ] = useState( componentID );
17
+ let [ val_componentID ] = React.useState( componentID );
23
18
 
24
- useEffect( () => {
19
+ React.useEffect( () => {
25
20
  setTimeout( () => {
26
21
  let Element = $( '[data-component-id="' + val_componentID + '"]' );
27
22
  if ( !Element[ 0 ] ) return;
@@ -51,9 +46,9 @@ export const FadeEffects: amotify.fn.Effects.Methods = {
51
46
  componentID = $.uuidGen(),
52
47
  ...others
53
48
  } = params;
54
- let [ val_componentID ] = useState( componentID );
49
+ let [ val_componentID ] = React.useState( componentID );
55
50
 
56
- useEffect( () => {
51
+ React.useEffect( () => {
57
52
  setTimeout( () => {
58
53
  let Element = $( '[data-component-id="' + val_componentID + '"]' );
59
54
  if ( !Element[ 0 ] ) return;
@@ -1,4 +1,4 @@
1
- @use 'src/@styles/props' as *;
1
+ @use '@props' as *;
2
2
  .Ripple {
3
3
  &Element {
4
4
  transition: $animation-time-short;
@@ -1,28 +1,24 @@
1
1
  import {
2
- useRecycle,
3
2
  useStore,
4
- } from '~/Global/@export';
5
- const {
6
- useEffect,
7
- useState
8
- } = React;
3
+ React
4
+ } from '@global';
9
5
  import {
10
6
  Box,
11
7
  Flex,
12
8
  FAIcon,
13
9
  Span
14
- } from '~/Atoms/@export';
10
+ } from '@atoms';
15
11
  import {
16
12
  Column,
17
13
  Row,
18
14
  Text
19
- } from '~/Molecules/@export';
15
+ } from '@mols';
20
16
  import {
21
17
  Input,
22
18
  Buttons,
23
19
  Loader,
24
20
  Sheet
25
- } from '~/Functions/@export';
21
+ } from '@fn';
26
22
 
27
23
  import style from './style.module.scss';
28
24
 
@@ -39,16 +35,16 @@ const Selector = ( params: {
39
35
  onDynamicSearch?: amotify.fn.Input.Chips.onDynamicSearch
40
36
  } ) => {
41
37
  type StatusTypes = 'show' | 'interlude';
42
- let [ val_status,set_status ] = useState( 'show' as StatusTypes );
43
- let [ val_keyword,set_keyword ] = useState( '' );
44
- let [ val_componentID ] = useState( $.uuidGen() );
38
+ let [ val_status,set_status ] = React.useState( 'show' as StatusTypes );
39
+ let [ val_keyword,set_keyword ] = React.useState( '' );
40
+ let [ val_componentID ] = React.useState( $.uuidGen() );
45
41
 
46
- let [ val_options,set_options ] = useState( params.options );
47
- let [ val_focus,set_focus ] = useState( val_options[ 0 ] || null );
48
- let [ val_selected,set_selected ] = useState( params.selected );
49
- let [ val_keyEvent,set_keyEvent ] = useState( 'init' );
42
+ let [ val_options,set_options ] = React.useState( params.options );
43
+ let [ val_focus,set_focus ] = React.useState( val_options[ 0 ] || null );
44
+ let [ val_selected,set_selected ] = React.useState( params.selected );
45
+ let [ val_keyEvent,set_keyEvent ] = React.useState( 'init' );
50
46
 
51
- useEffect( () => {
47
+ React.useEffect( () => {
52
48
  useStore.set( {
53
49
  key: params.selectorID,
54
50
  value: {
@@ -62,7 +58,7 @@ const Selector = ( params: {
62
58
  } );
63
59
  },[] );
64
60
  const mountedOptions = React.useRef( false );
65
- useEffect( () => {
61
+ React.useEffect( () => {
66
62
  if ( mountedOptions.current ) {
67
63
  Sheet.reposition( params.selectorID );
68
64
  } else {
@@ -70,7 +66,7 @@ const Selector = ( params: {
70
66
  }
71
67
  },[ val_options ] );
72
68
  const mountedKeyword = React.useRef( false );
73
- useEffect( () => {
69
+ React.useEffect( () => {
74
70
  if ( mountedKeyword.current ) {
75
71
  set_status( 'interlude' );
76
72
  set_focus( val_options[ 0 ] || null );
@@ -111,7 +107,7 @@ const Selector = ( params: {
111
107
  }
112
108
  },[ val_keyword ] );
113
109
  const mountedSelected = React.useRef( false );
114
- useEffect( () => {
110
+ React.useEffect( () => {
115
111
  if ( mountedSelected.current ) {
116
112
  params.onUpdated( {
117
113
  values: val_selected
@@ -120,7 +116,7 @@ const Selector = ( params: {
120
116
  mountedSelected.current = true;
121
117
  }
122
118
  },[ val_selected ] );
123
- useEffect( () => {
119
+ React.useEffect( () => {
124
120
  $.fnScope( () => {
125
121
  if ( $.is.nullish( val_focus ) ) return;
126
122
  if ( val_keyEvent == 'MouseEvent' ) return;