amotify 0.0.64 → 0.0.66

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 (114) hide show
  1. package/dist/amotify.js +3 -2
  2. package/dist/amotify.min.css +2 -2
  3. package/dist/coreVender.js +14 -2
  4. package/package.json +10 -10
  5. package/tsconfig.json +13 -5
  6. package/@types/_.tsx +0 -7
  7. package/@types/amot.tsx +0 -357
  8. package/@types/fn.tsx +0 -1280
  9. package/@types/jsminAmotifyExtension.tsx +0 -137
  10. package/@types/module.tsx +0 -1
  11. package/@types/state.tsx +0 -231
  12. package/src/@atoms.tsx +0 -34
  13. package/src/@functions.tsx +0 -29
  14. package/src/@global.tsx +0 -149
  15. package/src/@jsminAmotifyExtension/_.tsx +0 -4
  16. package/src/@jsminAmotifyExtension/fetch.tsx +0 -110
  17. package/src/@jsminAmotifyExtension/formCollect.tsx +0 -94
  18. package/src/@jsminAmotifyExtension/spreadSheet.tsx +0 -165
  19. package/src/@jsminAmotifyExtension/variables.tsx +0 -137
  20. package/src/@molecules.tsx +0 -96
  21. package/src/@organisms.tsx +0 -1
  22. package/src/@reactPacks/reactProduction@18.2.0.js +0 -79
  23. package/src/@reactPacks/reactRouterDomProduction@18.2.0.js +0 -31
  24. package/src/@styles/@app.scss +0 -4
  25. package/src/@styles/UniStyling.scss +0 -1028
  26. package/src/@styles/init.scss +0 -94
  27. package/src/@styles/props.scss +0 -109
  28. package/src/@styles/styleSet.scss +0 -38
  29. package/src/@styles/themeColor.scss +0 -71
  30. package/src/@styles/var.scss +0 -182
  31. package/src/@templates.tsx +0 -7
  32. package/src/@variables.tsx +0 -74
  33. package/src/atoms/FAI/parts.tsx +0 -139
  34. package/src/atoms/Logo/parts.tsx +0 -335
  35. package/src/atoms/Logo/style.module.scss +0 -96
  36. package/src/atoms/Various/parts.tsx +0 -159
  37. package/src/atoms/Various/style.module.scss +0 -46
  38. package/src/config.tsx +0 -191
  39. package/src/functions/Button/_.tsx +0 -331
  40. package/src/functions/Button/style.module.scss +0 -157
  41. package/src/functions/Cropper/parts.tsx +0 -1084
  42. package/src/functions/Cropper/style.module.scss +0 -64
  43. package/src/functions/Effects/Fade.tsx +0 -76
  44. package/src/functions/Effects/Ripple.tsx +0 -141
  45. package/src/functions/Effects/_.tsx +0 -33
  46. package/src/functions/Effects/style.module.scss +0 -91
  47. package/src/functions/Input/Chips/Selector.tsx +0 -445
  48. package/src/functions/Input/Chips/_.tsx +0 -289
  49. package/src/functions/Input/Chips/style.module.scss +0 -6
  50. package/src/functions/Input/Contenteditable.tsx +0 -114
  51. package/src/functions/Input/DigitCharacters.tsx +0 -235
  52. package/src/functions/Input/File/_.tsx +0 -553
  53. package/src/functions/Input/File/style.module.scss +0 -34
  54. package/src/functions/Input/Hidden.tsx +0 -21
  55. package/src/functions/Input/List/_.tsx +0 -383
  56. package/src/functions/Input/List/style.module.scss +0 -84
  57. package/src/functions/Input/RichSelect/_.tsx +0 -230
  58. package/src/functions/Input/RichSelect/style.module.scss +0 -11
  59. package/src/functions/Input/Segmented/_.tsx +0 -246
  60. package/src/functions/Input/Segmented/style.module.scss +0 -81
  61. package/src/functions/Input/Select/_.tsx +0 -218
  62. package/src/functions/Input/Select/style.module.scss +0 -11
  63. package/src/functions/Input/Slider/_.tsx +0 -524
  64. package/src/functions/Input/Slider/style.module.scss +0 -67
  65. package/src/functions/Input/Switch/_.tsx +0 -176
  66. package/src/functions/Input/Switch/style.module.scss +0 -18
  67. package/src/functions/Input/Text.tsx +0 -487
  68. package/src/functions/Input/TextArea.tsx +0 -109
  69. package/src/functions/Input/Time/Picker.tsx +0 -1361
  70. package/src/functions/Input/Time/_.tsx +0 -749
  71. package/src/functions/Input/Time/style.module.scss +0 -79
  72. package/src/functions/Input/_.tsx +0 -881
  73. package/src/functions/Input/core.tsx +0 -473
  74. package/src/functions/Input/style.module.scss +0 -102
  75. package/src/functions/Inputs/_.tsx +0 -5
  76. package/src/functions/Inputs/style.module.scss +0 -15
  77. package/src/functions/Inputs/text.tsx +0 -53
  78. package/src/functions/Inputs/types.d.ts +0 -13
  79. package/src/functions/Layout/PageNotFound.tsx +0 -78
  80. package/src/functions/Layout/PageRouter.tsx +0 -89
  81. package/src/functions/Layout/PageViewController/parts.tsx +0 -27
  82. package/src/functions/Layout/Plate.tsx +0 -30
  83. package/src/functions/Layout/RootViewController/parts.tsx +0 -300
  84. package/src/functions/Layout/RootViewController/style.module.scss +0 -23
  85. package/src/functions/Layout/SwipeView/parts.tsx +0 -375
  86. package/src/functions/Layout/SwipeView/style.module.scss +0 -20
  87. package/src/functions/Layout/TabBar.tsx +0 -60
  88. package/src/functions/Layout/_.tsx +0 -20
  89. package/src/functions/Loader/corner.tsx +0 -74
  90. package/src/functions/Loader/mini.tsx +0 -114
  91. package/src/functions/Loader/parts.tsx +0 -103
  92. package/src/functions/Loader/style.module.scss +0 -223
  93. package/src/functions/Loader/top.tsx +0 -84
  94. package/src/functions/Sheet/parts.tsx +0 -994
  95. package/src/functions/Sheet/style.module.scss +0 -208
  96. package/src/functions/SnackBar/parts.tsx +0 -215
  97. package/src/functions/SnackBar/style.module.scss +0 -25
  98. package/src/functions/Table/Data/parts.tsx +0 -965
  99. package/src/functions/Table/Drag/parts.tsx +0 -442
  100. package/src/functions/Table/Normal/parts.tsx +0 -124
  101. package/src/functions/Table/_.tsx +0 -177
  102. package/src/functions/Table/style.module.scss +0 -93
  103. package/src/functions/Tooltips/parts.tsx +0 -53
  104. package/src/global/LaunchReactApplication.tsx +0 -74
  105. package/src/global/styleConverter.tsx +0 -465
  106. package/src/launch.tsx +0 -119
  107. package/src/molecules/Accordion/parts.tsx +0 -146
  108. package/src/molecules/Accordion/style.module.scss +0 -13
  109. package/src/molecules/LinkifyText/parts.tsx +0 -52
  110. package/src/molecules/List.tsx +0 -31
  111. package/src/preload.tsx +0 -31
  112. package/src/templates/PlayGround/parts.tsx +0 -96
  113. package/src/templates/PlayGround/style.module.scss +0 -38
  114. package/webpack.config.js +0 -146
@@ -1,139 +0,0 @@
1
- import React from 'react'
2
- import {
3
- Box
4
- } from '../Various/parts'
5
-
6
- import {
7
- FontAwesomeIcon
8
- } from '@fortawesome/react-fontawesome'
9
- import * as FontawesomeCore from '@fortawesome/fontawesome-svg-core'
10
-
11
- import { faUser } from '@fortawesome/free-solid-svg-icons/faUser'
12
- import { faTimes } from '@fortawesome/free-solid-svg-icons/faTimes'
13
- import { faAngleRight } from '@fortawesome/free-solid-svg-icons/faAngleRight'
14
- import { faAngleLeft } from '@fortawesome/free-solid-svg-icons/faAngleLeft'
15
- import { faAngleUp } from '@fortawesome/free-solid-svg-icons/faAngleUp'
16
- import { faAngleDown } from '@fortawesome/free-solid-svg-icons/faAngleDown'
17
- import { faChevronLeft } from '@fortawesome/free-solid-svg-icons/faChevronLeft'
18
- import { faChevronRight } from '@fortawesome/free-solid-svg-icons/faChevronRight'
19
- import { faChevronUp } from '@fortawesome/free-solid-svg-icons/faChevronUp'
20
- import { faChevronDown } from '@fortawesome/free-solid-svg-icons/faChevronDown'
21
- import { faCaretLeft } from '@fortawesome/free-solid-svg-icons/faCaretLeft'
22
- import { faCaretRight } from '@fortawesome/free-solid-svg-icons/faCaretRight'
23
- import { faCaretUp } from '@fortawesome/free-solid-svg-icons/faCaretUp'
24
- import { faCaretDown } from '@fortawesome/free-solid-svg-icons/faCaretDown'
25
- import { faArrowLeft } from '@fortawesome/free-solid-svg-icons/faArrowLeft'
26
- import { faArrowRight } from '@fortawesome/free-solid-svg-icons/faArrowRight'
27
- import { faArrowUp } from '@fortawesome/free-solid-svg-icons/faArrowUp'
28
- import { faArrowDown } from '@fortawesome/free-solid-svg-icons/faArrowDown'
29
- import { faRotate } from '@fortawesome/free-solid-svg-icons/faRotate'
30
- import { faRedo } from '@fortawesome/free-solid-svg-icons/faRedo'
31
- import { faCheck } from '@fortawesome/free-solid-svg-icons/faCheck'
32
- import { faCheckCircle } from '@fortawesome/free-solid-svg-icons/faCheckCircle'
33
- import { faQuestion } from '@fortawesome/free-solid-svg-icons/faQuestion'
34
- import { faQuestionCircle } from '@fortawesome/free-solid-svg-icons/faQuestionCircle'
35
- import { faExclamation } from '@fortawesome/free-solid-svg-icons/faExclamation'
36
- import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons/faExclamationTriangle'
37
- import { faHome } from '@fortawesome/free-solid-svg-icons/faHome'
38
- import { faShare } from '@fortawesome/free-solid-svg-icons/faShare'
39
- import { faSearch } from '@fortawesome/free-solid-svg-icons/faSearch'
40
- import { faYenSign } from '@fortawesome/free-solid-svg-icons/faYenSign'
41
- import { faHeart } from '@fortawesome/free-solid-svg-icons/faHeart'
42
- import { faStar } from '@fortawesome/free-solid-svg-icons/faStar'
43
- import { faEdit } from '@fortawesome/free-solid-svg-icons/faEdit'
44
- import { faPen } from '@fortawesome/free-solid-svg-icons/faPen'
45
- import { faCopy } from '@fortawesome/free-solid-svg-icons/faCopy'
46
- import { faFile } from '@fortawesome/free-solid-svg-icons/faFile'
47
- import { faTrashAlt } from '@fortawesome/free-solid-svg-icons/faTrashAlt'
48
- import { faBars } from '@fortawesome/free-solid-svg-icons/faBars'
49
- import { faDownload } from '@fortawesome/free-solid-svg-icons/faDownload'
50
- import { faLink } from '@fortawesome/free-solid-svg-icons/faLink'
51
- import { faLinkSlash } from '@fortawesome/free-solid-svg-icons/faLinkSlash'
52
- import { faExternalLinkAlt } from '@fortawesome/free-solid-svg-icons/faExternalLinkAlt'
53
- import { faGear } from '@fortawesome/free-solid-svg-icons/faGear'
54
- import { faPlus } from '@fortawesome/free-solid-svg-icons/faPlus'
55
- import { faMinus } from '@fortawesome/free-solid-svg-icons/faMinus'
56
- import { faEllipsisH } from '@fortawesome/free-solid-svg-icons/faEllipsisH'
57
- import { faEllipsisV } from '@fortawesome/free-solid-svg-icons/faEllipsisV'
58
- import { faPaperPlane } from '@fortawesome/free-solid-svg-icons/faPaperPlane'
59
- import { faImage } from '@fortawesome/free-solid-svg-icons/faImage'
60
-
61
- const FAIComps: React.FC<amotify.atoms.FAI.FAIParams> = ( params ) => {
62
- let {
63
- icon,
64
- iconParams,
65
- ...others
66
- } = params
67
-
68
- return <Box
69
- flexCenter
70
- { ...others }
71
- freeCSS={ {
72
- display: 'inline-flex',
73
- ...others.freeCSS
74
- } }
75
- >
76
- <Box freeCSS={ { aspectRatio: 1 } }>
77
- <FontAwesomeIcon
78
- icon={ icon as any }
79
- fixedWidth
80
- size='sm'
81
- { ...iconParams }
82
- />
83
- </Box>
84
- </Box>
85
- }
86
-
87
- const FAI: amotify.atoms.FAI.Method = FAIComps as any
88
-
89
- FAI.User = ( params ) => ( <FAI { ...params } icon={ faUser } /> )
90
- FAI.Times = ( params ) => ( <FAI { ...params } icon={ faTimes } /> )
91
- FAI.AngleRight = ( params ) => ( <FAI { ...params } icon={ faAngleRight } /> )
92
- FAI.AngleLeft = ( params ) => ( <FAI { ...params } icon={ faAngleLeft } /> )
93
- FAI.AngleUp = ( params ) => ( <FAI { ...params } icon={ faAngleUp } /> )
94
- FAI.AngleDown = ( params ) => ( <FAI { ...params } icon={ faAngleDown } /> )
95
- FAI.ChevronLeft = ( params ) => ( <FAI { ...params } icon={ faChevronLeft } /> )
96
- FAI.ChevronRight = ( params ) => ( <FAI { ...params } icon={ faChevronRight } /> )
97
- FAI.ChevronUp = ( params ) => ( <FAI { ...params } icon={ faChevronUp } /> )
98
- FAI.ChevronDown = ( params ) => ( <FAI { ...params } icon={ faChevronDown } /> )
99
- FAI.CaretLeft = ( params ) => ( <FAI { ...params } icon={ faCaretLeft } /> )
100
- FAI.CaretRight = ( params ) => ( <FAI { ...params } icon={ faCaretRight } /> )
101
- FAI.CaretUp = ( params ) => ( <FAI { ...params } icon={ faCaretUp } /> )
102
- FAI.CaretDown = ( params ) => ( <FAI { ...params } icon={ faCaretDown } /> )
103
- FAI.ArrowLeft = ( params ) => ( <FAI { ...params } icon={ faArrowLeft } /> )
104
- FAI.ArrowRight = ( params ) => ( <FAI { ...params } icon={ faArrowRight } /> )
105
- FAI.ArrowUp = ( params ) => ( <FAI { ...params } icon={ faArrowUp } /> )
106
- FAI.ArrowDown = ( params ) => ( <FAI { ...params } icon={ faArrowDown } /> )
107
- FAI.Rotate = ( params ) => ( <FAI { ...params } icon={ faRotate } /> )
108
- FAI.Redo = ( params ) => ( <FAI { ...params } icon={ faRedo } /> )
109
- FAI.Check = ( params ) => ( <FAI { ...params } icon={ faCheck } /> )
110
- FAI.CheckCircle = ( params ) => ( <FAI { ...params } icon={ faCheckCircle } /> )
111
- FAI.Question = ( params ) => ( <FAI { ...params } icon={ faQuestion } /> )
112
- FAI.QuestionCircle = ( params ) => ( <FAI { ...params } icon={ faQuestionCircle } /> )
113
- FAI.Exclamation = ( params ) => ( <FAI { ...params } icon={ faExclamation } /> )
114
- FAI.ExclamationTriangle = ( params ) => ( <FAI { ...params } icon={ faExclamationTriangle } /> )
115
- FAI.Home = ( params ) => ( <FAI { ...params } icon={ faHome } /> )
116
- FAI.Share = ( params ) => ( <FAI { ...params } icon={ faShare } /> )
117
- FAI.Search = ( params ) => ( <FAI { ...params } icon={ faSearch } /> )
118
- FAI.YenSign = ( params ) => ( <FAI { ...params } icon={ faYenSign } /> )
119
- FAI.Heart = ( params ) => ( <FAI { ...params } icon={ faHeart } /> )
120
- FAI.Star = ( params ) => ( <FAI { ...params } icon={ faStar } /> )
121
- FAI.Edit = ( params ) => ( <FAI { ...params } icon={ faEdit } /> )
122
- FAI.Pen = ( params ) => ( <FAI { ...params } icon={ faPen } /> )
123
- FAI.Copy = ( params ) => ( <FAI { ...params } icon={ faCopy } /> )
124
- FAI.File = ( params ) => ( <FAI { ...params } icon={ faFile } /> )
125
- FAI.TrashAlt = ( params ) => ( <FAI { ...params } icon={ faTrashAlt } /> )
126
- FAI.Bars = ( params ) => ( <FAI { ...params } icon={ faBars } /> )
127
- FAI.Download = ( params ) => ( <FAI { ...params } icon={ faDownload } /> )
128
- FAI.Link = ( params ) => ( <FAI { ...params } icon={ faLink } /> )
129
- FAI.LinkSlash = ( params ) => ( <FAI { ...params } icon={ faLinkSlash } /> )
130
- FAI.ExternalLinkAlt = ( params ) => ( <FAI { ...params } icon={ faExternalLinkAlt } /> )
131
- FAI.Gear = ( params ) => ( <FAI { ...params } icon={ faGear } /> )
132
- FAI.Plus = ( params ) => ( <FAI { ...params } icon={ faPlus } /> )
133
- FAI.Minus = ( params ) => ( <FAI { ...params } icon={ faMinus } /> )
134
- FAI.EllipsisH = ( params ) => ( <FAI { ...params } icon={ faEllipsisH } /> )
135
- FAI.EllipsisV = ( params ) => ( <FAI { ...params } icon={ faEllipsisV } /> )
136
- FAI.PaperPlane = ( params ) => ( <FAI { ...params } icon={ faPaperPlane } /> )
137
- FAI.Image = ( params ) => ( <FAI { ...params } icon={ faImage } /> )
138
-
139
- export { FAI }
@@ -1,335 +0,0 @@
1
- import React from 'react'
2
- import {
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 '@props' as *;
2
- .Size_ {
3
- &S {
4
- width: $unit2;
5
- height: $unit2;
6
- font-size: $unit1;
7
- }
8
- &R {
9
- width: $unit3;
10
- height: $unit3;
11
- font-size: $unit1-5;
12
- }
13
- &L {
14
- width: $unit4;
15
- height: $unit4;
16
- font-size: $unit2-5;
17
- }
18
- &2L {
19
- width: $unit6;
20
- height: $unit6;
21
- font-size: $unit3;
22
- }
23
- &3L {
24
- width: $unit8;
25
- height: $unit8;
26
- font-size: $unit4;
27
- }
28
- }
29
- .Icon {
30
- svg {
31
- height: 100%;
32
- }
33
- }
34
- .Title {
35
- width: auto;
36
- svg {
37
- height: 100%;
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
- }