amotify 0.0.2 → 0.0.4

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 (185) hide show
  1. package/dist/src/@jsminAmotifyExtension/_.d.ts +4 -0
  2. package/dist/src/@jsminAmotifyExtension/fetch.d.ts +9 -0
  3. package/dist/src/@jsminAmotifyExtension/formCollect.d.ts +1 -0
  4. package/dist/src/@jsminAmotifyExtension/spreadSheet.d.ts +4 -0
  5. package/dist/src/@jsminAmotifyExtension/variables.d.ts +0 -0
  6. package/dist/src/@types/_.d.ts +6 -0
  7. package/dist/src/@types/amot.d.ts +260 -0
  8. package/dist/src/@types/fn.d.ts +1040 -0
  9. package/dist/src/@types/index.d.ts +62 -0
  10. package/dist/src/@types/jsminAmotifyExtension.d.ts +134 -0
  11. package/dist/src/@types/module.d.ts +2 -0
  12. package/dist/src/@types/state.d.ts +145 -0
  13. package/dist/src/Atoms/@export.d.ts +4 -0
  14. package/dist/src/Atoms/FAIcon/parts.d.ts +2 -0
  15. package/dist/src/Atoms/Logo/parts.d.ts +1 -0
  16. package/dist/src/Atoms/Various/parts.d.ts +9 -0
  17. package/dist/src/Functions/@export.d.ts +12 -0
  18. package/dist/src/Functions/Button/_.d.ts +1 -0
  19. package/dist/src/Functions/Cropper/parts.d.ts +1 -0
  20. package/dist/src/Functions/Effects/Fade.d.ts +1 -0
  21. package/dist/src/Functions/Effects/Ripple.d.ts +1 -0
  22. package/dist/src/Functions/Effects/_.d.ts +3 -0
  23. package/dist/src/Functions/Input/Chips/Selector.d.ts +1 -0
  24. package/dist/src/Functions/Input/Chips/_.d.ts +2 -0
  25. package/dist/src/Functions/Input/DigitCharacters.d.ts +1 -0
  26. package/dist/src/Functions/Input/File/_.d.ts +2 -0
  27. package/dist/src/Functions/Input/Hidden.d.ts +1 -0
  28. package/dist/src/Functions/Input/List/_.d.ts +1 -0
  29. package/dist/src/Functions/Input/Segmented/_.d.ts +1 -0
  30. package/dist/src/Functions/Input/Select/_.d.ts +1 -0
  31. package/dist/src/Functions/Input/Slider/_.d.ts +1 -0
  32. package/dist/src/Functions/Input/Switch/_.d.ts +1 -0
  33. package/dist/src/Functions/Input/Text.d.ts +5 -0
  34. package/dist/src/Functions/Input/TextArea.d.ts +1 -0
  35. package/dist/src/Functions/Input/Time/Picker.d.ts +1 -0
  36. package/dist/src/Functions/Input/Time/_.d.ts +2 -0
  37. package/dist/src/Functions/Input/_.d.ts +5 -0
  38. package/dist/src/Functions/Input/core.d.ts +34 -0
  39. package/dist/src/Functions/Inputs/_.d.ts +3 -0
  40. package/dist/src/Functions/Inputs/text.d.ts +12 -0
  41. package/dist/src/Functions/Layout/PageNotFound.d.ts +1 -0
  42. package/dist/src/Functions/Layout/PageRouter.d.ts +2 -0
  43. package/dist/src/Functions/Layout/PageViewController/parts.d.ts +1 -0
  44. package/dist/src/Functions/Layout/Plate.d.ts +1 -0
  45. package/dist/src/Functions/Layout/RootViewController/parts.d.ts +1 -0
  46. package/dist/src/Functions/Layout/SwipeView/parts.d.ts +2 -0
  47. package/dist/src/Functions/Layout/TabBar.d.ts +1 -0
  48. package/dist/src/Functions/Layout/_.d.ts +2 -0
  49. package/dist/src/Functions/Loader/corner.d.ts +1 -0
  50. package/dist/src/Functions/Loader/mini.d.ts +33 -0
  51. package/dist/src/Functions/Loader/parts.d.ts +3 -0
  52. package/dist/src/Functions/Loader/top.d.ts +1 -0
  53. package/dist/src/Functions/Sheet/parts.d.ts +2 -0
  54. package/dist/src/Functions/SnackBar/parts.d.ts +2 -0
  55. package/dist/src/Functions/Table/Data/parts.d.ts +3 -0
  56. package/dist/src/Functions/Table/Drag/parts.d.ts +1 -0
  57. package/dist/src/Functions/Table/Normal/parts.d.ts +1 -0
  58. package/dist/src/Functions/Table/_.d.ts +9 -0
  59. package/dist/src/Functions/Tooltips/parts.d.ts +2 -0
  60. package/dist/src/Global/@export.d.ts +12 -0
  61. package/dist/src/Global/LaunchReactApplication.d.ts +1 -0
  62. package/dist/src/Global/styleConverter.d.ts +2 -0
  63. package/dist/src/Molecules/@export.d.ts +21 -0
  64. package/dist/src/Molecules/Accordion/parts.d.ts +2 -0
  65. package/dist/src/Molecules/LinkifyText/parts.d.ts +1 -0
  66. package/dist/src/Molecules/List.d.ts +1 -0
  67. package/dist/src/Organisms/@export.d.ts +2 -0
  68. package/dist/src/Organisms/DisplayStyleInput/_.d.ts +1 -0
  69. package/dist/src/Organisms/DisplayStyleInput/darkmode.d.ts +1 -0
  70. package/dist/src/Organisms/DisplayStyleInput/themeColor.d.ts +27 -0
  71. package/dist/src/Templates/@export.d.ts +2 -0
  72. package/dist/src/Templates/PlayGround/parts.d.ts +1 -0
  73. package/dist/src/config.d.ts +16 -0
  74. package/dist/src/launch.d.ts +9 -0
  75. package/dist/src/preload.d.ts +1 -0
  76. package/package.json +2 -2
  77. package/src/@jsminAmotifyExtension/_.tsx +4 -0
  78. package/src/@jsminAmotifyExtension/fetch.tsx +107 -0
  79. package/src/@jsminAmotifyExtension/formCollect.tsx +89 -0
  80. package/src/@jsminAmotifyExtension/spreadSheet.tsx +159 -0
  81. package/src/@jsminAmotifyExtension/variables.tsx +130 -0
  82. package/src/@styles/@app.scss +4 -0
  83. package/src/@styles/@variables/customProps.scss +109 -0
  84. package/src/@styles/@variables/styleSet.scss +38 -0
  85. package/src/@styles/@variables/themeColor.scss +71 -0
  86. package/src/@styles/@variables/var.scss +171 -0
  87. package/src/@styles/UniStyling.scss +996 -0
  88. package/src/@styles/init.scss +154 -0
  89. package/src/@types/_.tsx +6 -0
  90. package/src/@types/amot.tsx +323 -0
  91. package/src/@types/fn.tsx +1210 -0
  92. package/src/@types/index.tsx +74 -0
  93. package/src/@types/jsminAmotifyExtension.tsx +143 -0
  94. package/src/@types/module.tsx +2 -0
  95. package/src/@types/state.tsx +199 -0
  96. package/src/Atoms/@export.tsx +32 -0
  97. package/src/Atoms/FAIcon/parts.tsx +117 -0
  98. package/src/Atoms/FAIcon/style.module.scss +9 -0
  99. package/src/Atoms/Logo/parts.tsx +335 -0
  100. package/src/Atoms/Logo/style.module.scss +96 -0
  101. package/src/Atoms/Various/parts.tsx +157 -0
  102. package/src/Atoms/Various/style.module.scss +40 -0
  103. package/src/Functions/@export.tsx +29 -0
  104. package/src/Functions/Button/_.tsx +305 -0
  105. package/src/Functions/Button/style.module.scss +183 -0
  106. package/src/Functions/Cropper/parts.tsx +1061 -0
  107. package/src/Functions/Cropper/style.module.scss +62 -0
  108. package/src/Functions/Effects/Fade.tsx +81 -0
  109. package/src/Functions/Effects/Ripple.tsx +141 -0
  110. package/src/Functions/Effects/_.tsx +33 -0
  111. package/src/Functions/Effects/style.module.scss +83 -0
  112. package/src/Functions/Input/Chips/Selector.tsx +451 -0
  113. package/src/Functions/Input/Chips/_.tsx +286 -0
  114. package/src/Functions/Input/Chips/style.module.scss +6 -0
  115. package/src/Functions/Input/DigitCharacters.tsx +241 -0
  116. package/src/Functions/Input/File/_.tsx +596 -0
  117. package/src/Functions/Input/File/style.module.scss +34 -0
  118. package/src/Functions/Input/Hidden.tsx +18 -0
  119. package/src/Functions/Input/List/_.tsx +383 -0
  120. package/src/Functions/Input/List/style.module.scss +84 -0
  121. package/src/Functions/Input/Segmented/_.tsx +238 -0
  122. package/src/Functions/Input/Segmented/style.module.scss +81 -0
  123. package/src/Functions/Input/Select/_.tsx +225 -0
  124. package/src/Functions/Input/Select/style.module.scss +10 -0
  125. package/src/Functions/Input/Slider/_.tsx +519 -0
  126. package/src/Functions/Input/Slider/style.module.scss +67 -0
  127. package/src/Functions/Input/Switch/_.tsx +177 -0
  128. package/src/Functions/Input/Switch/style.module.scss +18 -0
  129. package/src/Functions/Input/Text.tsx +437 -0
  130. package/src/Functions/Input/TextArea.tsx +115 -0
  131. package/src/Functions/Input/Time/Picker.tsx +950 -0
  132. package/src/Functions/Input/Time/_.tsx +736 -0
  133. package/src/Functions/Input/Time/style.module.scss +72 -0
  134. package/src/Functions/Input/_.tsx +793 -0
  135. package/src/Functions/Input/core.tsx +461 -0
  136. package/src/Functions/Input/style.module.scss +43 -0
  137. package/src/Functions/Inputs/_.tsx +5 -0
  138. package/src/Functions/Inputs/style.module.scss +15 -0
  139. package/src/Functions/Inputs/text.tsx +67 -0
  140. package/src/Functions/Inputs/types.d.ts +1 -0
  141. package/src/Functions/Layout/PageNotFound.tsx +81 -0
  142. package/src/Functions/Layout/PageRouter.tsx +107 -0
  143. package/src/Functions/Layout/PageViewController/parts.tsx +32 -0
  144. package/src/Functions/Layout/Plate.tsx +30 -0
  145. package/src/Functions/Layout/RootViewController/parts.tsx +290 -0
  146. package/src/Functions/Layout/RootViewController/style.module.scss +24 -0
  147. package/src/Functions/Layout/SwipeView/parts.tsx +380 -0
  148. package/src/Functions/Layout/SwipeView/style.module.scss +19 -0
  149. package/src/Functions/Layout/TabBar.tsx +64 -0
  150. package/src/Functions/Layout/_.tsx +20 -0
  151. package/src/Functions/Loader/corner.tsx +78 -0
  152. package/src/Functions/Loader/mini.tsx +117 -0
  153. package/src/Functions/Loader/parts.tsx +105 -0
  154. package/src/Functions/Loader/style.module.scss +222 -0
  155. package/src/Functions/Loader/top.tsx +90 -0
  156. package/src/Functions/Sheet/parts.tsx +972 -0
  157. package/src/Functions/Sheet/style.module.scss +235 -0
  158. package/src/Functions/SnackBar/parts.tsx +215 -0
  159. package/src/Functions/SnackBar/style.module.scss +25 -0
  160. package/src/Functions/Table/Data/parts.tsx +955 -0
  161. package/src/Functions/Table/Drag/parts.tsx +448 -0
  162. package/src/Functions/Table/Normal/parts.tsx +123 -0
  163. package/src/Functions/Table/_.tsx +170 -0
  164. package/src/Functions/Table/style.module.scss +92 -0
  165. package/src/Functions/Tooltips/parts.tsx +52 -0
  166. package/src/Global/@export.tsx +138 -0
  167. package/src/Global/LaunchReactApplication.tsx +30 -0
  168. package/src/Global/exe.tsx +0 -0
  169. package/src/Global/styleConverter.tsx +435 -0
  170. package/src/Molecules/@export.tsx +95 -0
  171. package/src/Molecules/Accordion/parts.tsx +146 -0
  172. package/src/Molecules/Accordion/style.module.scss +13 -0
  173. package/src/Molecules/LinkifyText/parts.tsx +54 -0
  174. package/src/Molecules/List.tsx +30 -0
  175. package/src/Organisms/@export.tsx +5 -0
  176. package/src/Organisms/DisplayStyleInput/_.tsx +18 -0
  177. package/src/Organisms/DisplayStyleInput/darkmode.tsx +112 -0
  178. package/src/Organisms/DisplayStyleInput/themeColor.tsx +210 -0
  179. package/src/Templates/@export.tsx +7 -0
  180. package/src/Templates/PlayGround/parts.tsx +115 -0
  181. package/src/Templates/PlayGround/style.module.scss +38 -0
  182. package/src/config.tsx +132 -0
  183. package/src/launch.tsx +100 -0
  184. package/src/preload.tsx +49 -0
  185. package/tsconfig.json +27 -14
package/src/config.tsx ADDED
@@ -0,0 +1,132 @@
1
+ export const script = document.currentScript;
2
+ export const fileName = script?.attributes.getNamedItem( 'src' )!.textContent;
3
+ export const Version = ( fileName?.match( /v\d\.\d\.\d/ ) || [ 'v0.0.0' ] )[ 0 ]!;
4
+
5
+ export const userAgent = window.navigator.userAgent.toLowerCase();
6
+ export const deviceType =
7
+ userAgent.indexOf( "windows nt" ) !== -1 ? 'Windows'
8
+ : userAgent.indexOf( "android" ) !== -1 ? 'Android'
9
+ : userAgent.indexOf( "iphone" ) !== -1 ? 'iPhone'
10
+ : userAgent.indexOf( "ipad" ) > -1 || ( userAgent.indexOf( "macintosh" ) > -1 && "ontouchend" in document ) ? 'iPad'
11
+ : userAgent.indexOf( "mac os x" ) !== -1 ? 'macOSX'
12
+ : 'undefined';
13
+
14
+ export const deviceIdentifier = () => {
15
+ let info = {
16
+ isWhat: deviceType as 'Windows',
17
+ isTouchDevice: window.ontouchstart !== undefined && 0 < navigator.maxTouchPoints,
18
+ isPhone: [ 'Android','iPhone' ].includes( deviceType ),
19
+ isIOS: [ 'iPhone','iPad' ].includes( deviceType ),
20
+ isSystemDarkmode: () => {
21
+ return window.matchMedia( '(prefers-color-scheme: dark)' ).matches == true;
22
+ },
23
+ isBreakpoint: () => window.innerWidth <= 896,
24
+ isPhonepoint: () => window.innerWidth <= 690
25
+ }
26
+
27
+ return info;
28
+ }
29
+
30
+ export const SetThemeColorTag = () => {
31
+ let hex = '#45515c';
32
+ let meta = $( '#ThemeColorMetaTag' );
33
+ if ( !meta[ 0 ] ) return;
34
+ meta.setAttribute( 'content',hex );
35
+ }
36
+
37
+ export const defaultConfig: amotify.config.Methods = {
38
+ version: Version,
39
+ tone: 'default',
40
+ darkMode: 'light',
41
+ themeColor: 'comun',
42
+ roundness: 2,
43
+
44
+ device: deviceIdentifier(),
45
+ update: {
46
+ tone: ( value ) => {
47
+ if ( ![ 'default','flat','sharp' ].includes( value ) ) value = 'default';
48
+
49
+ if ( value == amotify.config.tone ) return;
50
+
51
+ amotify.config.tone = value;
52
+
53
+ let body = $( 'body' );
54
+ body
55
+ .removeClass( body.findClass( /^bdsTN/ ) )
56
+ .addClass( 'bdsTN' + value )
57
+ .callback( () => {
58
+ SetThemeColorTag();
59
+ } );
60
+
61
+ amotify.glob.useRecycle.do( 'RootViewController' );
62
+ },
63
+ themeColor: ( value ) => {
64
+ if ( ![
65
+ 'comun','leaf','heart','droplet',
66
+ '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',
67
+ 'line','twitter','amazon','facebook','android','slackBlue','slackGreen','slackRed','slackYellow','slackBase','googleBlue','googleGreen','googleYellow','googleRed'
68
+ ].includes( value ) ) value = 'comun';
69
+ if ( value == amotify.config.themeColor ) return;
70
+
71
+ amotify.config.themeColor = value;
72
+
73
+ let body = $( document.body );
74
+ body
75
+ .removeClass( body.findClass( /^bdsTC/ ) )
76
+ .addClass( 'bdsTC_' + value )
77
+ .callback( () => {
78
+ SetThemeColorTag();
79
+ } );
80
+ amotify.glob.useRecycle.do( 'RootViewController' );
81
+ },
82
+ darkMode: ( value ) => {
83
+ if ( ![ 'light','dark','dim','auto' ].includes( value ) ) value = 'light';
84
+ if ( value == amotify.config.darkMode ) return;
85
+ let Value = value == 'auto'
86
+ ? deviceIdentifier().isSystemDarkmode()
87
+ ? 'dark'
88
+ : 'light'
89
+ : value;
90
+
91
+ amotify.config.darkMode = value;
92
+
93
+ let body = $( 'body' );
94
+ body
95
+ .removeClass( body.findClass( /^bdsDM/ ) )
96
+ .addClass( 'bdsDM_' + Value );
97
+
98
+ amotify.glob.useRecycle.do( 'RootViewController' );
99
+ },
100
+ roundness: ( value ) => {
101
+ if ( !( value >= 0 && value <= 5 ) ) value = 2;
102
+ if ( value == amotify.config.roundness ) return;
103
+
104
+ amotify.config.roundness = value;
105
+ amotify.glob.useRecycle.do( 'RootViewController' );
106
+ },
107
+ },
108
+ readExtraCDN: async ( key ) => {
109
+ let url = key;
110
+ let valid = false;
111
+ if ( url ) {
112
+ await $.CDNReader( url );
113
+ console.log( 'Read extraCdn : ' + key );
114
+ valid = true;
115
+ }
116
+ return valid;
117
+ }
118
+ }
119
+
120
+ $( 'body' ).addClass( [
121
+ 'usrDevice_' + deviceIdentifier().isWhat,
122
+ 'bdsDM_' + defaultConfig.darkMode,
123
+ 'bdsTC_' + defaultConfig.themeColor
124
+ ] );
125
+
126
+ $( window ).addEvent( {
127
+ eventType: 'load',
128
+ callback: () => {
129
+ let style: any = document.body.style;
130
+ style.setProperty( '--viewHeight',window.innerHeight + 'px' );
131
+ }
132
+ } );
package/src/launch.tsx ADDED
@@ -0,0 +1,100 @@
1
+ import 'jsmin-front/dist/@types';
2
+
3
+ if ( !global.$ ) console.log( `%c※can not find global.$,please read Jsmin to launch amotify.`,'color:orange;' );
4
+
5
+ import './@types/_';
6
+
7
+ let publicURI = 'https://public.comun.jp/';
8
+ export { publicURI }
9
+
10
+ import './@jsminAmotifyExtension/_';
11
+ import {
12
+ React,
13
+ ReactDom,
14
+ ReactRouterDom,
15
+ pageTransit,
16
+ useStore,
17
+ useRecycle,
18
+ StyleConverter,
19
+ LaunchReactApplication
20
+ } from '@global';
21
+ import {
22
+ Flex,
23
+ FlexBr,
24
+ FAIcon,
25
+ Placeholder,
26
+ Grid,
27
+ Logo,
28
+ Box,
29
+ Span,
30
+ Paragraph,
31
+ Img
32
+ } from '@atoms';
33
+ import {
34
+ List,
35
+ Accordion,
36
+ LinkifyText,
37
+ Text,
38
+ Column,
39
+ Row
40
+ } from '@mols';
41
+ import {
42
+ DisplayStyleInput
43
+ } from '@orgs';
44
+ import {
45
+ PlayGround
46
+ } from '@temps';
47
+ import {
48
+ Buttons,
49
+ Input,
50
+ Inputs,
51
+ Table,
52
+ Layout,
53
+ Sheet,
54
+ SnackBar,
55
+ Loader,
56
+ Tooltips,
57
+ Effects,
58
+ Cropper,
59
+ } from '@functions';
60
+
61
+ import {
62
+ deviceIdentifier,
63
+ defaultConfig,
64
+ SetThemeColorTag
65
+ } from './config';
66
+
67
+ const amotify: amotify = {
68
+ config: defaultConfig,
69
+ glob: { React,ReactDom,ReactRouterDom: ReactRouterDom as any,pageTransit,useStore,useRecycle,StyleConverter,LaunchReactApplication },
70
+ atoms: { Flex,FlexBr,FAIcon,Placeholder,Grid,Logo,Box,Span,Paragraph,Img },
71
+ mols: { List,Accordion,LinkifyText,Text,Column,Row },
72
+ orgs: { DisplayStyleInput },
73
+ temps: { PlayGround },
74
+ fn: { Buttons,Input,Table,Layout,Sheet,SnackBar,Loader,Tooltips,Effects,Cropper }
75
+ }
76
+
77
+ export { amotify }
78
+ global.amotify = amotify;
79
+ Object.freeze( global.amotify.atoms );
80
+ Object.freeze( global.amotify.mols );
81
+ Object.freeze( global.amotify.orgs );
82
+ Object.freeze( global.amotify.temps );
83
+ Object.freeze( global.amotify.fn );
84
+ Object.freeze( global.amotify );
85
+
86
+ import './@styles/@app.scss';
87
+ import './preload';
88
+
89
+ // document.oncontextmenu = () => {return false;}
90
+ $( window ).addEvent( {
91
+ eventType: 'resize',
92
+ eventID: 'getDeviceInfo',
93
+ callback: () => {
94
+ global.amotify.config.device = deviceIdentifier();
95
+
96
+ $( document.body ).setStyleProperty( '--viewHeight',window.innerHeight + 'px' );
97
+ }
98
+ } );
99
+
100
+ SetThemeColorTag();
@@ -0,0 +1,49 @@
1
+ let tags: Jsmin.CreateElement.Args[] = [
2
+ {
3
+ tag: 'meta',parent: document.head,attr: {
4
+ name: 'viewport',content: 'width=device-width,initial-scale=1.0,maximum-scale=5.0,minimum-scale=1.0,viewport-fit=cover'
5
+ },
6
+ },{
7
+ tag: 'link',parent: document.head,attr: {
8
+ href: 'https://fonts.googleapis.com',rel: 'preconnect',async: true
9
+ }
10
+ },{
11
+ tag: 'link',parent: document.head,attr: {
12
+ href: 'https://fonts.gstatic.com',rel: 'preconnect',async: true
13
+ }
14
+ },
15
+ {
16
+ tag: 'link',parent: document.head,attr: {
17
+ href: 'https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap',
18
+ rel: 'stylesheet',
19
+ async: true
20
+ }
21
+ },{
22
+ tag: 'link',parent: document.head,attr: {
23
+ href: 'https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;400;600&display=swap',
24
+ rel: 'stylesheet',
25
+ async: true
26
+ }
27
+ },
28
+ {
29
+ tag: 'script',parent: document.head,attr: {
30
+ src: 'https://kit.fontawesome.com/6745173b38.js',async: true
31
+ }
32
+ },{
33
+ tag: 'meta',parent: document.head,attr: {
34
+ name: 'theme-color',
35
+ content: '#45515c',
36
+ },
37
+ id: 'ThemeColorMetaTag'
38
+ },
39
+ { parent: document.body,id: 'SHEET' },
40
+ { parent: document.body,id: 'TOOLTIPS' },
41
+ { parent: document.body,id: 'SNACKBARS' },
42
+ { parent: document.body,id: 'LOADER' },
43
+ { parent: document.body,id: 'ROOT' },
44
+ ];
45
+ for ( let tag of tags ) {
46
+ let { id } = tag;
47
+ if ( id && $( '#' + id )[ 0 ] ) continue;
48
+ $.createElement( tag );
49
+ }
package/tsconfig.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "lib" : [
3
+ "lib": [
4
4
  "DOM"
5
5
  ],
6
6
  "jsx": "react",
@@ -8,27 +8,40 @@
8
8
  "module": "commonjs",
9
9
  "sourceMap": false,
10
10
  "baseUrl": "./",
11
- "paths":{
12
- "@uniVar" : [ "src/@styles/@variables/var" ],
13
- "@styleSet" : [ "src/@styles/@variables/styleSet" ],
14
-
15
- "@global" : [ "src/Global/@export" ],
16
- "@atoms" : [ "src/Atoms/@export" ],
17
- "@mols" : [ "src/Molecules/@export" ],
18
- "@orgs" : [ "src/Organisms/@export" ],
19
- "@temps" : [ "src/Templates/@export" ],
20
- "@functions" : [ "src/Functions/@export" ]
11
+ "paths": {
12
+ "@uniVar": [
13
+ "src/@styles/@variables/var"
14
+ ],
15
+ "@styleSet": [
16
+ "src/@styles/@variables/styleSet"
17
+ ],
18
+ "@global": [
19
+ "src/Global/@export"
20
+ ],
21
+ "@atoms": [
22
+ "src/Atoms/@export"
23
+ ],
24
+ "@mols": [
25
+ "src/Molecules/@export"
26
+ ],
27
+ "@orgs": [
28
+ "src/Organisms/@export"
29
+ ],
30
+ "@temps": [
31
+ "src/Templates/@export"
32
+ ],
33
+ "@functions": [
34
+ "src/Functions/@export"
35
+ ]
21
36
  },
22
37
  "strict": true,
23
38
  "skipLibCheck": true,
24
39
  "forceConsistentCasingInFileNames": true,
25
- "downlevelIteration":true,
26
-
40
+ "downlevelIteration": true,
27
41
  "allowJs": true,
28
42
  "declaration": true,
29
43
  // "emitDeclarationOnly": true,
30
44
  "outDir": "./dist",
31
-
32
45
  "noImplicitAny": true,
33
46
  "noImplicitThis": true,
34
47
  "noImplicitReturns": true,