amotify 0.0.4 → 0.0.5

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 (186) hide show
  1. package/package.json +1 -1
  2. package/public/amotify.js +1 -0
  3. package/public/amotify.min.css +24 -0
  4. package/dist/src/@jsminAmotifyExtension/_.d.ts +0 -4
  5. package/dist/src/@jsminAmotifyExtension/fetch.d.ts +0 -9
  6. package/dist/src/@jsminAmotifyExtension/formCollect.d.ts +0 -1
  7. package/dist/src/@jsminAmotifyExtension/spreadSheet.d.ts +0 -4
  8. package/dist/src/@jsminAmotifyExtension/variables.d.ts +0 -0
  9. package/dist/src/@types/_.d.ts +0 -6
  10. package/dist/src/@types/amot.d.ts +0 -260
  11. package/dist/src/@types/fn.d.ts +0 -1040
  12. package/dist/src/@types/index.d.ts +0 -62
  13. package/dist/src/@types/jsminAmotifyExtension.d.ts +0 -134
  14. package/dist/src/@types/module.d.ts +0 -2
  15. package/dist/src/@types/state.d.ts +0 -145
  16. package/dist/src/Atoms/@export.d.ts +0 -4
  17. package/dist/src/Atoms/FAIcon/parts.d.ts +0 -2
  18. package/dist/src/Atoms/Logo/parts.d.ts +0 -1
  19. package/dist/src/Atoms/Various/parts.d.ts +0 -9
  20. package/dist/src/Functions/@export.d.ts +0 -12
  21. package/dist/src/Functions/Button/_.d.ts +0 -1
  22. package/dist/src/Functions/Cropper/parts.d.ts +0 -1
  23. package/dist/src/Functions/Effects/Fade.d.ts +0 -1
  24. package/dist/src/Functions/Effects/Ripple.d.ts +0 -1
  25. package/dist/src/Functions/Effects/_.d.ts +0 -3
  26. package/dist/src/Functions/Input/Chips/Selector.d.ts +0 -1
  27. package/dist/src/Functions/Input/Chips/_.d.ts +0 -2
  28. package/dist/src/Functions/Input/DigitCharacters.d.ts +0 -1
  29. package/dist/src/Functions/Input/File/_.d.ts +0 -2
  30. package/dist/src/Functions/Input/Hidden.d.ts +0 -1
  31. package/dist/src/Functions/Input/List/_.d.ts +0 -1
  32. package/dist/src/Functions/Input/Segmented/_.d.ts +0 -1
  33. package/dist/src/Functions/Input/Select/_.d.ts +0 -1
  34. package/dist/src/Functions/Input/Slider/_.d.ts +0 -1
  35. package/dist/src/Functions/Input/Switch/_.d.ts +0 -1
  36. package/dist/src/Functions/Input/Text.d.ts +0 -5
  37. package/dist/src/Functions/Input/TextArea.d.ts +0 -1
  38. package/dist/src/Functions/Input/Time/Picker.d.ts +0 -1
  39. package/dist/src/Functions/Input/Time/_.d.ts +0 -2
  40. package/dist/src/Functions/Input/_.d.ts +0 -5
  41. package/dist/src/Functions/Input/core.d.ts +0 -34
  42. package/dist/src/Functions/Inputs/_.d.ts +0 -3
  43. package/dist/src/Functions/Inputs/text.d.ts +0 -12
  44. package/dist/src/Functions/Layout/PageNotFound.d.ts +0 -1
  45. package/dist/src/Functions/Layout/PageRouter.d.ts +0 -2
  46. package/dist/src/Functions/Layout/PageViewController/parts.d.ts +0 -1
  47. package/dist/src/Functions/Layout/Plate.d.ts +0 -1
  48. package/dist/src/Functions/Layout/RootViewController/parts.d.ts +0 -1
  49. package/dist/src/Functions/Layout/SwipeView/parts.d.ts +0 -2
  50. package/dist/src/Functions/Layout/TabBar.d.ts +0 -1
  51. package/dist/src/Functions/Layout/_.d.ts +0 -2
  52. package/dist/src/Functions/Loader/corner.d.ts +0 -1
  53. package/dist/src/Functions/Loader/mini.d.ts +0 -33
  54. package/dist/src/Functions/Loader/parts.d.ts +0 -3
  55. package/dist/src/Functions/Loader/top.d.ts +0 -1
  56. package/dist/src/Functions/Sheet/parts.d.ts +0 -2
  57. package/dist/src/Functions/SnackBar/parts.d.ts +0 -2
  58. package/dist/src/Functions/Table/Data/parts.d.ts +0 -3
  59. package/dist/src/Functions/Table/Drag/parts.d.ts +0 -1
  60. package/dist/src/Functions/Table/Normal/parts.d.ts +0 -1
  61. package/dist/src/Functions/Table/_.d.ts +0 -9
  62. package/dist/src/Functions/Tooltips/parts.d.ts +0 -2
  63. package/dist/src/Global/@export.d.ts +0 -12
  64. package/dist/src/Global/LaunchReactApplication.d.ts +0 -1
  65. package/dist/src/Global/styleConverter.d.ts +0 -2
  66. package/dist/src/Molecules/@export.d.ts +0 -21
  67. package/dist/src/Molecules/Accordion/parts.d.ts +0 -2
  68. package/dist/src/Molecules/LinkifyText/parts.d.ts +0 -1
  69. package/dist/src/Molecules/List.d.ts +0 -1
  70. package/dist/src/Organisms/@export.d.ts +0 -2
  71. package/dist/src/Organisms/DisplayStyleInput/_.d.ts +0 -1
  72. package/dist/src/Organisms/DisplayStyleInput/darkmode.d.ts +0 -1
  73. package/dist/src/Organisms/DisplayStyleInput/themeColor.d.ts +0 -27
  74. package/dist/src/Templates/@export.d.ts +0 -2
  75. package/dist/src/Templates/PlayGround/parts.d.ts +0 -1
  76. package/dist/src/config.d.ts +0 -16
  77. package/dist/src/launch.d.ts +0 -9
  78. package/dist/src/preload.d.ts +0 -1
  79. package/src/@jsminAmotifyExtension/_.tsx +0 -4
  80. package/src/@jsminAmotifyExtension/fetch.tsx +0 -107
  81. package/src/@jsminAmotifyExtension/formCollect.tsx +0 -89
  82. package/src/@jsminAmotifyExtension/spreadSheet.tsx +0 -159
  83. package/src/@jsminAmotifyExtension/variables.tsx +0 -130
  84. package/src/@styles/@app.scss +0 -4
  85. package/src/@styles/@variables/customProps.scss +0 -109
  86. package/src/@styles/@variables/styleSet.scss +0 -38
  87. package/src/@styles/@variables/themeColor.scss +0 -71
  88. package/src/@styles/@variables/var.scss +0 -171
  89. package/src/@styles/UniStyling.scss +0 -996
  90. package/src/@styles/init.scss +0 -154
  91. package/src/@types/_.tsx +0 -6
  92. package/src/@types/amot.tsx +0 -323
  93. package/src/@types/fn.tsx +0 -1210
  94. package/src/@types/index.tsx +0 -74
  95. package/src/@types/jsminAmotifyExtension.tsx +0 -143
  96. package/src/@types/module.tsx +0 -2
  97. package/src/@types/state.tsx +0 -199
  98. package/src/Atoms/@export.tsx +0 -32
  99. package/src/Atoms/FAIcon/parts.tsx +0 -117
  100. package/src/Atoms/FAIcon/style.module.scss +0 -9
  101. package/src/Atoms/Logo/parts.tsx +0 -335
  102. package/src/Atoms/Logo/style.module.scss +0 -96
  103. package/src/Atoms/Various/parts.tsx +0 -157
  104. package/src/Atoms/Various/style.module.scss +0 -40
  105. package/src/Functions/@export.tsx +0 -29
  106. package/src/Functions/Button/_.tsx +0 -305
  107. package/src/Functions/Button/style.module.scss +0 -183
  108. package/src/Functions/Cropper/parts.tsx +0 -1061
  109. package/src/Functions/Cropper/style.module.scss +0 -62
  110. package/src/Functions/Effects/Fade.tsx +0 -81
  111. package/src/Functions/Effects/Ripple.tsx +0 -141
  112. package/src/Functions/Effects/_.tsx +0 -33
  113. package/src/Functions/Effects/style.module.scss +0 -83
  114. package/src/Functions/Input/Chips/Selector.tsx +0 -451
  115. package/src/Functions/Input/Chips/_.tsx +0 -286
  116. package/src/Functions/Input/Chips/style.module.scss +0 -6
  117. package/src/Functions/Input/DigitCharacters.tsx +0 -241
  118. package/src/Functions/Input/File/_.tsx +0 -596
  119. package/src/Functions/Input/File/style.module.scss +0 -34
  120. package/src/Functions/Input/Hidden.tsx +0 -18
  121. package/src/Functions/Input/List/_.tsx +0 -383
  122. package/src/Functions/Input/List/style.module.scss +0 -84
  123. package/src/Functions/Input/Segmented/_.tsx +0 -238
  124. package/src/Functions/Input/Segmented/style.module.scss +0 -81
  125. package/src/Functions/Input/Select/_.tsx +0 -225
  126. package/src/Functions/Input/Select/style.module.scss +0 -10
  127. package/src/Functions/Input/Slider/_.tsx +0 -519
  128. package/src/Functions/Input/Slider/style.module.scss +0 -67
  129. package/src/Functions/Input/Switch/_.tsx +0 -177
  130. package/src/Functions/Input/Switch/style.module.scss +0 -18
  131. package/src/Functions/Input/Text.tsx +0 -437
  132. package/src/Functions/Input/TextArea.tsx +0 -115
  133. package/src/Functions/Input/Time/Picker.tsx +0 -950
  134. package/src/Functions/Input/Time/_.tsx +0 -736
  135. package/src/Functions/Input/Time/style.module.scss +0 -72
  136. package/src/Functions/Input/_.tsx +0 -793
  137. package/src/Functions/Input/core.tsx +0 -461
  138. package/src/Functions/Input/style.module.scss +0 -43
  139. package/src/Functions/Inputs/_.tsx +0 -5
  140. package/src/Functions/Inputs/style.module.scss +0 -15
  141. package/src/Functions/Inputs/text.tsx +0 -67
  142. package/src/Functions/Inputs/types.d.ts +0 -1
  143. package/src/Functions/Layout/PageNotFound.tsx +0 -81
  144. package/src/Functions/Layout/PageRouter.tsx +0 -107
  145. package/src/Functions/Layout/PageViewController/parts.tsx +0 -32
  146. package/src/Functions/Layout/Plate.tsx +0 -30
  147. package/src/Functions/Layout/RootViewController/parts.tsx +0 -290
  148. package/src/Functions/Layout/RootViewController/style.module.scss +0 -24
  149. package/src/Functions/Layout/SwipeView/parts.tsx +0 -380
  150. package/src/Functions/Layout/SwipeView/style.module.scss +0 -19
  151. package/src/Functions/Layout/TabBar.tsx +0 -64
  152. package/src/Functions/Layout/_.tsx +0 -20
  153. package/src/Functions/Loader/corner.tsx +0 -78
  154. package/src/Functions/Loader/mini.tsx +0 -117
  155. package/src/Functions/Loader/parts.tsx +0 -105
  156. package/src/Functions/Loader/style.module.scss +0 -222
  157. package/src/Functions/Loader/top.tsx +0 -90
  158. package/src/Functions/Sheet/parts.tsx +0 -972
  159. package/src/Functions/Sheet/style.module.scss +0 -235
  160. package/src/Functions/SnackBar/parts.tsx +0 -215
  161. package/src/Functions/SnackBar/style.module.scss +0 -25
  162. package/src/Functions/Table/Data/parts.tsx +0 -955
  163. package/src/Functions/Table/Drag/parts.tsx +0 -448
  164. package/src/Functions/Table/Normal/parts.tsx +0 -123
  165. package/src/Functions/Table/_.tsx +0 -170
  166. package/src/Functions/Table/style.module.scss +0 -92
  167. package/src/Functions/Tooltips/parts.tsx +0 -52
  168. package/src/Global/@export.tsx +0 -138
  169. package/src/Global/LaunchReactApplication.tsx +0 -30
  170. package/src/Global/exe.tsx +0 -0
  171. package/src/Global/styleConverter.tsx +0 -435
  172. package/src/Molecules/@export.tsx +0 -95
  173. package/src/Molecules/Accordion/parts.tsx +0 -146
  174. package/src/Molecules/Accordion/style.module.scss +0 -13
  175. package/src/Molecules/LinkifyText/parts.tsx +0 -54
  176. package/src/Molecules/List.tsx +0 -30
  177. package/src/Organisms/@export.tsx +0 -5
  178. package/src/Organisms/DisplayStyleInput/_.tsx +0 -18
  179. package/src/Organisms/DisplayStyleInput/darkmode.tsx +0 -112
  180. package/src/Organisms/DisplayStyleInput/themeColor.tsx +0 -210
  181. package/src/Templates/@export.tsx +0 -7
  182. package/src/Templates/PlayGround/parts.tsx +0 -115
  183. package/src/Templates/PlayGround/style.module.scss +0 -38
  184. package/src/config.tsx +0 -132
  185. package/src/launch.tsx +0 -100
  186. package/src/preload.tsx +0 -49
@@ -1,335 +0,0 @@
1
- import {
2
- Box,
3
- Flex,
4
- Img
5
- } from '@atoms';
6
-
7
- import style from './style.module.scss';
8
-
9
- import { publicURI } from '../../launch';
10
-
11
- const SVG = {
12
- ComunIcon: () => {
13
- return ( <svg viewBox="0,0,1200,1200" className={ style.ComunIcon }>
14
- <g>
15
- <path
16
- d='
17
- M
18
- 100,600
19
- A 500,500 0 0,0 600,1100
20
- A 100,100 0 0,0 600,900
21
- A 300,300 0 0,1 300,600
22
- A 100,100 0 0,0 100,600
23
- Z
24
- '
25
- className={ style.P1 }
26
- style={ {
27
- opacity: .9,
28
- fill: '#16a3ec'
29
- } }
30
- />
31
- <path
32
- d='
33
- M
34
- 600,1100
35
- A 500,500 0 0,0 1100,600
36
- A 100,100 0 0,0 900,600
37
- A 300,300 0 0,1 600,900
38
- A 100,100 0 1,0 600,1100
39
- Z
40
- '
41
- className={ style.P2 }
42
- style={ {
43
- opacity: .9,
44
- fill: '#ea6093'
45
- } }
46
- />
47
-
48
- <path
49
- d='
50
- M
51
- 600,100
52
- A 500,500 0 0,0 100,600
53
- A 100,100 0 0,0 300,600
54
- A 300,300 0 0,1 600,300
55
- A 100,100 0 0,0 600,100
56
- Z
57
- '
58
- className={ style.P3 }
59
- style={ {
60
- opacity: .9,
61
- fill: '#387cfe'
62
- } }
63
- />
64
-
65
- <path
66
- d='
67
- M
68
- 600,100
69
- A 100,100 0 0,1 700,200
70
- A 300,300 0 0,0 1000,500
71
- A 100,100 0 0,1 1100,600
72
- A 100,100 0 0,1 1000,700
73
- A 500,500 0 0,1 500,200
74
- A 100,100 0 0,1 600,100
75
- Z
76
- '
77
- className={ style.P4 }
78
- style={ {
79
- opacity: .9,
80
- fill: '#9a66ff'
81
- } }
82
- />
83
- </g>
84
- </svg> );
85
- },
86
- MingooIcon: () => {
87
- const CircleSet = ( p: number ) => {
88
- return ( <>
89
- <path
90
- d='
91
- M
92
- 600,100
93
- A 80,80 0 0,1 600,260
94
- A 80,80 0 0,1 600,100
95
- L600,600
96
- L600,300
97
- Z
98
- '
99
- className={ [
100
- style.OuterCircle,
101
- style.P,
102
- style[ 'P_' + p ]
103
- ].join( ' ' ) }
104
- style={ {
105
- fill: '#c56ff0'
106
- // fill: '#9a66ff'
107
- } }
108
- />
109
- <path
110
- d='
111
- M
112
- 600,300
113
- A 45,45 0 0,1 600,390
114
- A 45,45 0 0,1 600,300
115
- L600,600
116
- L600,300
117
- Z
118
- '
119
- className={ [
120
- style.InnerCircle,
121
- style.P,
122
- style[ 'P_' + p ]
123
- ].join( ' ' ) }
124
- style={ {
125
- fill: '#ea6093'
126
- // fill: '#ffa500'
127
- } }
128
- />
129
- </> );
130
- }
131
- return <svg viewBox="0,0,1200,1200" className={ style.MingooIcon }>
132
- { CircleSet( 0 ) }
133
- { CircleSet( 1 ) }
134
- { CircleSet( 2 ) }
135
- { CircleSet( 3 ) }
136
- { CircleSet( 4 ) }
137
- { CircleSet( 5 ) }
138
- { CircleSet( 6 ) }
139
- { CircleSet( 7 ) }
140
- { CircleSet( 8 ) }
141
- </svg>;
142
- }
143
- }
144
-
145
-
146
- const Mingoos = {
147
- Icon: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => ( <Logo.Icon
148
- { ...params }
149
- >
150
- <SVG.MingooIcon />
151
- </Logo.Icon> ),
152
- Title: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => ( <Logo.Title
153
- height={ 'auto' }
154
- className={ style.ComunTitle }
155
- { ...params }
156
- freeCSS={ {
157
- letterSpacing: '3px',
158
- ...params.freeCSS
159
- } }
160
- >
161
- mingoo
162
- </Logo.Title> ),
163
- LogoH: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => {
164
- let { size,color,...others } = params;
165
-
166
- return ( <Flex
167
- gap={ '1/2' }
168
- flexCenter
169
- { ...others }
170
- >
171
- <Mingoos.Icon size={ size } color={ color } />
172
- <Mingoos.Title size={ size } color={ color } />
173
- </Flex> );
174
- },
175
- LogoV: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => {
176
- let { size,color,...others } = params;
177
-
178
- return ( <Flex
179
- flexType="col"
180
- gap={ '1/2' }
181
- { ...others }
182
- >
183
- <Mingoos.Icon
184
- margin={ 'auto' }
185
- size={ size }
186
- color={ color }
187
- />
188
- <Mingoos.Title
189
- size={ size } color={ color }
190
- />
191
- </Flex> );
192
- }
193
- }
194
- const Comuns = {
195
- Icon: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => ( <Logo.Icon
196
- { ...params }
197
- >
198
- <SVG.ComunIcon />
199
- </Logo.Icon> ),
200
- Title: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => ( <Logo.Title
201
- height={ 'auto' }
202
- className={ style.ComunTitle }
203
- { ...params }
204
- freeCSS={ {
205
- letterSpacing: '3px',
206
- ...params.freeCSS
207
- } }
208
- >
209
- comun
210
- </Logo.Title> ),
211
- LogoH: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => {
212
- let { size,color,...others } = params;
213
-
214
- return ( <Flex
215
- gap={ '1/2' }
216
- flexCenter
217
- { ...others }
218
- >
219
- <Comuns.Icon size={ size } color={ color } />
220
- <Comuns.Title size={ size } color={ color } />
221
- </Flex> );
222
- },
223
- LogoV: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => {
224
- let { size,color,...others } = params;
225
-
226
- return ( <Flex
227
- flexType="col"
228
- gap={ '1/2' }
229
- { ...others }
230
- >
231
- <Comuns.Icon
232
- margin={ 'auto' }
233
- size={ size }
234
- color={ color }
235
- />
236
- <Comuns.Title
237
- size={ size } color={ color }
238
- />
239
- </Flex> );
240
- }
241
- }
242
- export const Logo: amotify.atoms.Logos.Methods = {
243
- Icon: ( props: amotify.atoms.Logos.Params ) => {
244
- let {
245
- size = 'R',
246
- color = 'normal',
247
- className = '',
248
- children: Children,
249
- ...others
250
- } = props;
251
-
252
- return ( <Flex
253
- verticalAlign='center'
254
- className={ [
255
- className,
256
- style.Icon,
257
- style[ 'Size_' + size ]
258
- ].join( ' ' ) }
259
- { ...others }
260
- >
261
- { $.is.function( Children ) ? <Children /> : Children }
262
- </Flex > );
263
- },
264
- Title: ( props: amotify.atoms.Logos.Params ) => {
265
- let {
266
- size = 'R',
267
- color = 'normal',
268
- className = '',
269
- children: Children,
270
- ...others
271
- } = props;
272
-
273
- return <Flex
274
- verticalAlign='center'
275
- fontColor={ color == 'white' ? 'white' : 'logo' }
276
- className={ [
277
- className,
278
- style.Title,
279
- style[ 'Size_' + size ]
280
- ].join( ' ' ) }
281
- { ...others }
282
- freeCSS={ {
283
- lineHeight: '1.25',
284
- ...others.freeCSS
285
- } }
286
- >
287
- { $.is.function( Children ) ? <Children /> : Children }
288
- </Flex>;
289
- },
290
-
291
- Brands: {
292
- MingooIcon: Mingoos.Icon,
293
- MingooTitle: Mingoos.Title,
294
- MingooLogoH: Mingoos.LogoH,
295
- MingooLogoV: Mingoos.LogoV,
296
-
297
- ComunIcon: Comuns.Icon,
298
- ComunTitle: Comuns.Title,
299
- ComunLogoH: Comuns.LogoH,
300
- ComunLogoV: Comuns.LogoV,
301
-
302
- Google: ( params ) => ( <Logo.Icon
303
- { ...params }
304
- >
305
- <Img
306
- src={ publicURI + '@env/@logos/brands/Google_Icon.svg' }
307
- alt=''
308
- />
309
- </Logo.Icon> ),
310
- Facebook: ( params ) => ( <Logo.Icon
311
- { ...params }
312
- >
313
- <Img
314
- src={ publicURI + '@env/@logos/brands/FaceBook_Icon.svg' }
315
- alt=''
316
- />
317
- </Logo.Icon> ),
318
- Twitter: ( params ) => ( <Logo.Icon
319
- { ...params }
320
- >
321
- <Img
322
- src={ publicURI + '@env/@logos/brands/Twitter_Icon.svg' }
323
- alt=''
324
- />
325
- </Logo.Icon> ),
326
- LINE: ( params ) => ( <Logo.Icon
327
- { ...params }
328
- >
329
- <Img
330
- src={ publicURI + '@env/@logos/brands/Line_Icon.svg' }
331
- alt=''
332
- />
333
- </Logo.Icon> ),
334
- }
335
- }
@@ -1,96 +0,0 @@
1
- @use '@uniVar' as *;
2
- @use'@styleSet' as *;
3
-
4
- .Size_ {
5
- &S {
6
- width: $unit2;
7
- height: $unit2;
8
- font-size: $unit1;
9
- }
10
- &R {
11
- width: $unit3;
12
- height: $unit3;
13
- font-size: $unit1-5;
14
- }
15
- &L {
16
- width: $unit4;
17
- height: $unit4;
18
- font-size: $unit2-5;
19
- }
20
- &2L {
21
- width: $unit6;
22
- height: $unit6;
23
- font-size: $unit3;
24
- }
25
- &3L {
26
- width: $unit8;
27
- height: $unit8;
28
- font-size: $unit4;
29
- }
30
- }
31
-
32
- .Icon {
33
-
34
- }
35
- .Title {
36
- width: auto;
37
- }
38
-
39
-
40
- .ComunIcon {
41
- path {
42
- filter: drop-shadow($shadow4);
43
- }
44
- }
45
- .ComunTitle {
46
- letter-spacing: 3px;
47
- }
48
- .MingooIcon {
49
- .P {
50
- transform-box: fill-box;
51
- transform-origin: bottom !important;
52
- &.P_0 {
53
- transform: rotate(0deg);
54
- }
55
- &.P_1 {
56
- transform: rotate(-30deg);
57
- }
58
- &.P_2 {
59
- transform: rotate(-60deg);
60
- }
61
- &.P_3 {
62
- transform: rotate(-90deg);
63
- }
64
- &.P_4 {
65
- transform: rotate(-120deg);
66
- }
67
- &.P_5 {
68
- transform: rotate(-150deg);
69
- }
70
- &.P_6 {
71
- transform: rotate(-180deg);
72
- }
73
- &.P_7 {
74
- transform: rotate(-210deg);
75
- }
76
- &.P_8 {
77
- transform: rotate(-240deg);
78
- }
79
- &.P_9 {
80
- transform: rotate(-270deg);
81
- opacity: .3;
82
- }
83
- &.P_10 {
84
- transform: rotate(30deg);
85
- opacity: .3;
86
- }
87
- &.P_11 {
88
- transform: rotate(60deg);
89
- opacity: .3;
90
- }
91
- &.P_12 {
92
- transform: rotate(90deg);
93
- opacity: .3;
94
- }
95
- }
96
- }
@@ -1,157 +0,0 @@
1
- import {
2
- StyleConverter
3
- } from '@global';
4
-
5
- import { publicURI } from '../../launch';
6
-
7
- import style from './style.module.scss';
8
-
9
- export const Box: FNC<amotify.atoms.BoxInput> = ( params ) => {
10
- let {
11
- freeCSS,
12
- ...Params
13
- } = StyleConverter.ToClassName( params );
14
- return ( <div { ...Params } /> );
15
- }
16
- export const Span: FNC<amotify.atoms.SpanProps> = ( params ) => {
17
- let {
18
- freeCSS,
19
- ...Params
20
- } = StyleConverter.ToClassName( params );
21
- return ( <span { ...Params } /> );
22
- }
23
-
24
- export const Placeholder: FNC<amotify.atoms.PlaceholderParams> = ( params ) => {
25
- let {
26
- color = 'cloud',
27
- ...others
28
- } = params;
29
- let DefStyles: amotifyUniStyleParams = {
30
- flexCenter: true,
31
- position: 'relative',
32
- ssCardBox: true,
33
- border: 'unset',
34
- overflow: 'hidden',
35
- backgroundColor: '3.layer.canvas',
36
- }
37
-
38
- return ( <Box
39
- className={ [
40
- style.Placeholder,
41
- params.className
42
- ].join( ' ' ) }
43
- { ...DefStyles }
44
- { ...others }
45
- >
46
- <Box
47
- className={ [
48
- style.Body,
49
- style[ 'Color_' + color ],
50
- ].join( ' ' ) }
51
- />
52
- </Box> );
53
- }
54
-
55
- let Img: amotify.atoms.Image.Methods = {} as any;
56
- {
57
- const ImageComp: FNC<amotify.atoms.Image.CompInput> = ( params ) => {
58
- let {
59
- src = '',
60
- alt = '',
61
- showExpand,
62
- ...others
63
- } = params;
64
-
65
- others.freeCSS = {
66
- cursor: showExpand ? 'zoom-in' : 'inherit',
67
- ...others.freeCSS
68
- }
69
- let {
70
- className = '',
71
- ...Others
72
- } = StyleConverter.ToClassName( others );
73
-
74
- let ClassName = [
75
- style.Img,
76
- style[ 'ShowExpand_' + showExpand ],
77
- className
78
- ].join( ' ' );
79
-
80
- return <img
81
- src={ src }
82
- alt={ alt }
83
- className={ ClassName }
84
- onMouseDown={ ( event ) => {
85
- if ( showExpand ) event.stopPropagation();
86
- } }
87
- onTouchStart={ ( event ) => {
88
- if ( showExpand ) event.stopPropagation();
89
- } }
90
- onClick={ ( event ) => {
91
- if ( showExpand ) {
92
- event.stopPropagation();
93
- amotify.fn.Sheet.open( {
94
- type: 'image',
95
- src: showExpand != true ? showExpand : src
96
- } );
97
- }
98
- } }
99
- { ...Others }
100
- />;
101
- }
102
- Img = ImageComp as any;
103
- Img.uri = {
104
- comunIcon: publicURI + 'app/admin/@logo/icon.png',
105
- comunIconClear: publicURI + 'app/admin/@logo/iconClear.png',
106
- mingooIcon: '',
107
- defaultIcon: ( type ) => {
108
- return publicURI + '@env/@icon/' + ( type || 'image' ) + '.png';
109
- },
110
- }
111
- }
112
- export { Img }
113
-
114
- export const Flex: FNC<amotify.atoms.FlexProps> = ( props ) => {
115
- let {
116
- children,
117
- freeCSS,
118
- ...others
119
- } = props;
120
-
121
- return ( <Box
122
- flexType={ 'row' }
123
- flexWrap={ true }
124
- display='flex'
125
- freeCSS={ {
126
- wordBreak: 'break-word',
127
- ...freeCSS
128
- } }
129
- { ...others }
130
- children={ children }
131
- /> );
132
- }
133
-
134
- export const FlexBr: FNC<amotifyUniStyleParams> = ( params ) => ( <Box
135
- width={ 1 }
136
- flexSizing='none'
137
- { ...params }
138
- /> );
139
-
140
- export const Grid: FNC<amotify.atoms.GridProps> = ( props ) => {
141
- let {
142
- children,
143
- freeCSS,
144
- ...others
145
- } = props;
146
-
147
- return ( <Box
148
- freeCSS={ {
149
- display: 'grid',
150
- ...freeCSS
151
- } }
152
- { ...others }
153
- children={ children }
154
- /> );
155
- }
156
-
157
- export const Paragraph: FNC<amotify.atoms.ParagraphProps> = ( props ) => ( <p { ...StyleConverter.ToClassName( props ) } /> )
@@ -1,40 +0,0 @@
1
- @use '@uniVar' as *;
2
- @use'@styleSet' as *;
3
- .Img {
4
- &.ShowExpand_true {
5
- transition: $animation-time-middle;
6
- &:hover {
7
- opacity: .8;
8
- }
9
- }
10
- }
11
- @keyframes PlaceholderEffect {
12
- 0% {
13
- left: -50%;
14
- opacity: 0;
15
- }
16
- 30% {
17
- opacity: 1;
18
- }
19
- 100% {
20
- left: 150%;
21
- opacity: 0;
22
- }
23
- }
24
- .Placeholder {
25
- .Body {
26
- @include absoluteCovered();
27
- width: 40%;
28
- background: linear-gradient(to right,
29
- transparent,
30
- $color-layer5
31
- );
32
- animation: 1.5s PlaceholderEffect linear infinite;
33
- &.Color_white {
34
- background: linear-gradient(to right,
35
- transparent,
36
- $color-layer3
37
- );
38
- }
39
- }
40
- }
@@ -1,29 +0,0 @@
1
- import {
2
- Effects
3
- } from './Effects/_';
4
-
5
- import { Buttons } from './Button/_';
6
- import { Input } from './Input/_';
7
- import { Inputs } from './Inputs/_';
8
- import { Layout } from './Layout/_';
9
- import { Table } from './Table/_';
10
- import { Sheet } from './Sheet/parts';
11
- import { SnackBar } from './SnackBar/parts';
12
- import { Loader } from './Loader/parts';
13
- import { Tooltips } from './Tooltips/parts';
14
-
15
- import { Cropper } from './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
- }