amotify 0.0.59 → 0.0.60
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.
- package/@types/_.tsx +5 -5
- package/@types/amot.tsx +11 -11
- package/@types/fn.tsx +1 -1
- package/@types/module.tsx +1 -1
- package/dist/amotify.js +1 -1
- package/dist/amotify.min.css +3 -3
- package/package.json +1 -1
- package/src/@atoms.tsx +3 -3
- package/src/@functions.tsx +11 -11
- package/src/@global.tsx +40 -40
- package/src/@jsminAmotifyExtension/_.tsx +4 -4
- package/src/@jsminAmotifyExtension/fetch.tsx +30 -30
- package/src/@jsminAmotifyExtension/formCollect.tsx +32 -32
- package/src/@jsminAmotifyExtension/spreadSheet.tsx +71 -71
- package/src/@jsminAmotifyExtension/variables.tsx +38 -38
- package/src/@molecules.tsx +6 -6
- package/src/@styles/props.scss +1 -1
- package/src/@styles/var.scss +0 -1
- package/src/@templates.tsx +1 -1
- package/src/@variables.tsx +2 -2
- package/src/atoms/FAI/parts.tsx +105 -105
- package/src/atoms/Logo/parts.tsx +19 -19
- package/src/atoms/Various/parts.tsx +26 -26
- package/src/config.tsx +62 -59
- package/src/functions/Button/_.tsx +49 -49
- package/src/functions/Cropper/parts.tsx +249 -249
- package/src/functions/Effects/Fade.tsx +18 -18
- package/src/functions/Effects/Ripple.tsx +24 -24
- package/src/functions/Effects/_.tsx +5 -5
- package/src/functions/Input/Chips/Selector.tsx +107 -107
- package/src/functions/Input/Chips/_.tsx +66 -66
- package/src/functions/Input/Contenteditable.tsx +18 -18
- package/src/functions/Input/DigitCharacters.tsx +48 -48
- package/src/functions/Input/File/_.tsx +114 -114
- package/src/functions/Input/Hidden.tsx +3 -3
- package/src/functions/Input/List/_.tsx +61 -61
- package/src/functions/Input/RichSelect/_.tsx +38 -38
- package/src/functions/Input/Segmented/_.tsx +30 -30
- package/src/functions/Input/Select/_.tsx +42 -42
- package/src/functions/Input/Slider/_.tsx +93 -93
- package/src/functions/Input/Switch/_.tsx +21 -21
- package/src/functions/Input/Text.tsx +99 -97
- package/src/functions/Input/TextArea.tsx +17 -17
- package/src/functions/Input/Time/Picker.tsx +199 -199
- package/src/functions/Input/Time/_.tsx +173 -173
- package/src/functions/Input/_.tsx +135 -135
- package/src/functions/Input/core.tsx +96 -96
- package/src/functions/Inputs/_.tsx +1 -1
- package/src/functions/Inputs/text.tsx +5 -5
- package/src/functions/Layout/PageNotFound.tsx +6 -6
- package/src/functions/Layout/PageRouter.tsx +34 -34
- package/src/functions/Layout/PageViewController/parts.tsx +7 -7
- package/src/functions/Layout/Plate.tsx +5 -5
- package/src/functions/Layout/RootViewController/parts.tsx +53 -53
- package/src/functions/Layout/SwipeView/parts.tsx +90 -90
- package/src/functions/Layout/TabBar.tsx +10 -10
- package/src/functions/Layout/_.tsx +7 -7
- package/src/functions/Loader/corner.tsx +10 -10
- package/src/functions/Loader/mini.tsx +25 -25
- package/src/functions/Loader/parts.tsx +31 -31
- package/src/functions/Loader/top.tsx +10 -10
- package/src/functions/Sheet/parts.tsx +219 -219
- package/src/functions/Sheet/style.module.scss +0 -20
- package/src/functions/SnackBar/parts.tsx +50 -50
- package/src/functions/Table/Data/parts.tsx +202 -202
- package/src/functions/Table/Drag/parts.tsx +76 -76
- package/src/functions/Table/Normal/parts.tsx +23 -23
- package/src/functions/Table/_.tsx +33 -33
- package/src/functions/Tooltips/parts.tsx +7 -7
- package/src/global/LaunchReactApplication.tsx +28 -28
- package/src/global/styleConverter.tsx +133 -133
- package/src/launch.tsx +27 -27
- package/src/molecules/Accordion/parts.tsx +41 -41
- package/src/molecules/LinkifyText/parts.tsx +18 -18
- package/src/molecules/List.tsx +6 -6
- package/src/preload.tsx +5 -45
- package/src/templates/PlayGround/parts.tsx +8 -8
- package/webpack.config.js +9 -9
package/src/atoms/FAI/parts.tsx
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import React from 'react'
|
|
1
|
+
import React from 'react'
|
|
2
2
|
import {
|
|
3
3
|
Box
|
|
4
|
-
} from '../Various/parts'
|
|
4
|
+
} from '../Various/parts'
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
FontAwesomeIcon
|
|
8
|
-
} from '@fortawesome/react-fontawesome'
|
|
9
|
-
import * as FontawesomeCore from '@fortawesome/fontawesome-svg-core'
|
|
8
|
+
} from '@fortawesome/react-fontawesome'
|
|
9
|
+
import * as FontawesomeCore from '@fortawesome/fontawesome-svg-core'
|
|
10
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'
|
|
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
60
|
|
|
61
61
|
const FAIComps: React.FC<amotify.atoms.FAI.FAIParams> = ( params ) => {
|
|
62
62
|
let {
|
|
63
63
|
icon,
|
|
64
64
|
iconParams,
|
|
65
65
|
...others
|
|
66
|
-
} = params
|
|
66
|
+
} = params
|
|
67
67
|
|
|
68
68
|
return <Box
|
|
69
69
|
flexCenter
|
|
@@ -81,59 +81,59 @@ const FAIComps: React.FC<amotify.atoms.FAI.FAIParams> = ( params ) => {
|
|
|
81
81
|
{ ...iconParams }
|
|
82
82
|
/>
|
|
83
83
|
</Box>
|
|
84
|
-
</Box
|
|
84
|
+
</Box>
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
const FAI: amotify.atoms.FAI.Method = FAIComps as any
|
|
87
|
+
const FAI: amotify.atoms.FAI.Method = FAIComps as any
|
|
88
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 } /> )
|
|
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
138
|
|
|
139
139
|
export { FAI }
|
package/src/atoms/Logo/parts.tsx
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react'
|
|
1
|
+
import React from 'react'
|
|
2
2
|
import {
|
|
3
3
|
Flex,
|
|
4
4
|
Img
|
|
5
|
-
} from '@atoms'
|
|
5
|
+
} from '@atoms'
|
|
6
6
|
|
|
7
|
-
import style from './style.module.scss'
|
|
7
|
+
import style from './style.module.scss'
|
|
8
8
|
|
|
9
|
-
import { publicURI } from '../../launch'
|
|
9
|
+
import { publicURI } from '../../launch'
|
|
10
10
|
|
|
11
11
|
const SVG = {
|
|
12
12
|
ComunIcon: () => {
|
|
@@ -81,7 +81,7 @@ const SVG = {
|
|
|
81
81
|
} }
|
|
82
82
|
/>
|
|
83
83
|
</g>
|
|
84
|
-
</svg
|
|
84
|
+
</svg>
|
|
85
85
|
},
|
|
86
86
|
MingooIcon: () => {
|
|
87
87
|
const CircleSet = ( p: number ) => {
|
|
@@ -126,7 +126,7 @@ const SVG = {
|
|
|
126
126
|
// fill: '#ffa500'
|
|
127
127
|
} }
|
|
128
128
|
/>
|
|
129
|
-
|
|
129
|
+
</>
|
|
130
130
|
}
|
|
131
131
|
return <svg viewBox="0,0,1200,1200" className={ style.MingooIcon }>
|
|
132
132
|
{ CircleSet( 0 ) }
|
|
@@ -138,7 +138,7 @@ const SVG = {
|
|
|
138
138
|
{ CircleSet( 6 ) }
|
|
139
139
|
{ CircleSet( 7 ) }
|
|
140
140
|
{ CircleSet( 8 ) }
|
|
141
|
-
</svg
|
|
141
|
+
</svg>
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
|
|
@@ -161,7 +161,7 @@ const Mingoos = {
|
|
|
161
161
|
mingoo
|
|
162
162
|
</Logo.Title> ),
|
|
163
163
|
LogoH: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => {
|
|
164
|
-
let { size,color,...others } = params
|
|
164
|
+
let { size,color,...others } = params
|
|
165
165
|
|
|
166
166
|
return <Flex
|
|
167
167
|
gap={ '1/2' }
|
|
@@ -170,10 +170,10 @@ const Mingoos = {
|
|
|
170
170
|
>
|
|
171
171
|
<Mingoos.Icon size={ size } color={ color } />
|
|
172
172
|
<Mingoos.Title size={ size } color={ color } />
|
|
173
|
-
</Flex
|
|
173
|
+
</Flex>
|
|
174
174
|
},
|
|
175
175
|
LogoV: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => {
|
|
176
|
-
let { size,color,...others } = params
|
|
176
|
+
let { size,color,...others } = params
|
|
177
177
|
|
|
178
178
|
return <Flex
|
|
179
179
|
flexType="col"
|
|
@@ -188,7 +188,7 @@ const Mingoos = {
|
|
|
188
188
|
<Mingoos.Title
|
|
189
189
|
size={ size } color={ color }
|
|
190
190
|
/>
|
|
191
|
-
</Flex
|
|
191
|
+
</Flex>
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
const Comuns = {
|
|
@@ -209,7 +209,7 @@ const Comuns = {
|
|
|
209
209
|
comun
|
|
210
210
|
</Logo.Title> ),
|
|
211
211
|
LogoH: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => {
|
|
212
|
-
let { size,color,...others } = params
|
|
212
|
+
let { size,color,...others } = params
|
|
213
213
|
|
|
214
214
|
return <Flex
|
|
215
215
|
gap={ '1/2' }
|
|
@@ -218,10 +218,10 @@ const Comuns = {
|
|
|
218
218
|
>
|
|
219
219
|
<Comuns.Icon size={ size } color={ color } />
|
|
220
220
|
<Comuns.Title size={ size } color={ color } />
|
|
221
|
-
</Flex
|
|
221
|
+
</Flex>
|
|
222
222
|
},
|
|
223
223
|
LogoV: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => {
|
|
224
|
-
let { size,color,...others } = params
|
|
224
|
+
let { size,color,...others } = params
|
|
225
225
|
|
|
226
226
|
return <Flex
|
|
227
227
|
flexType="col"
|
|
@@ -236,7 +236,7 @@ const Comuns = {
|
|
|
236
236
|
<Comuns.Title
|
|
237
237
|
size={ size } color={ color }
|
|
238
238
|
/>
|
|
239
|
-
</Flex
|
|
239
|
+
</Flex>
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
export const Logo: amotify.atoms.Logos.Methods = {
|
|
@@ -247,7 +247,7 @@ export const Logo: amotify.atoms.Logos.Methods = {
|
|
|
247
247
|
className = '',
|
|
248
248
|
children: Children,
|
|
249
249
|
...others
|
|
250
|
-
} = props
|
|
250
|
+
} = props
|
|
251
251
|
|
|
252
252
|
return <Flex
|
|
253
253
|
verticalAlign='center'
|
|
@@ -259,7 +259,7 @@ export const Logo: amotify.atoms.Logos.Methods = {
|
|
|
259
259
|
{ ...others }
|
|
260
260
|
>
|
|
261
261
|
{ $.is.function( Children ) ? <Children /> : Children }
|
|
262
|
-
</Flex
|
|
262
|
+
</Flex >
|
|
263
263
|
},
|
|
264
264
|
Title: ( props: amotify.atoms.Logos.Params ) => {
|
|
265
265
|
let {
|
|
@@ -268,7 +268,7 @@ export const Logo: amotify.atoms.Logos.Methods = {
|
|
|
268
268
|
className = '',
|
|
269
269
|
children: Children,
|
|
270
270
|
...others
|
|
271
|
-
} = props
|
|
271
|
+
} = props
|
|
272
272
|
|
|
273
273
|
return <Flex
|
|
274
274
|
verticalAlign='center'
|
|
@@ -285,7 +285,7 @@ export const Logo: amotify.atoms.Logos.Methods = {
|
|
|
285
285
|
} }
|
|
286
286
|
>
|
|
287
287
|
{ $.is.function( Children ) ? <Children /> : Children }
|
|
288
|
-
</Flex
|
|
288
|
+
</Flex>
|
|
289
289
|
},
|
|
290
290
|
|
|
291
291
|
Brands: {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import React from 'react'
|
|
1
|
+
import React from 'react'
|
|
2
2
|
import {
|
|
3
3
|
StyleConverter
|
|
4
|
-
} from '@global'
|
|
4
|
+
} from '@global'
|
|
5
5
|
|
|
6
|
-
import { publicURI } from '../../launch'
|
|
6
|
+
import { publicURI } from '../../launch'
|
|
7
7
|
|
|
8
|
-
import style from './style.module.scss'
|
|
8
|
+
import style from './style.module.scss'
|
|
9
9
|
|
|
10
10
|
export const Box: React.FC<amotify.atoms.BoxInput> = ( params ) => {
|
|
11
11
|
let {
|
|
12
12
|
freeCSS,
|
|
13
13
|
...Params
|
|
14
|
-
} = StyleConverter.ToClassName( params )
|
|
15
|
-
return <div { ...Params }
|
|
14
|
+
} = StyleConverter.ToClassName( params )
|
|
15
|
+
return <div { ...Params } />
|
|
16
16
|
}
|
|
17
17
|
export const Span: React.FC<amotify.atoms.SpanProps> = ( params ) => {
|
|
18
18
|
let {
|
|
19
19
|
freeCSS,
|
|
20
20
|
...Params
|
|
21
|
-
} = StyleConverter.ToClassName( params )
|
|
22
|
-
return <span { ...Params }
|
|
21
|
+
} = StyleConverter.ToClassName( params )
|
|
22
|
+
return <span { ...Params } />
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export const Placeholder: React.FC<amotify.atoms.PlaceholderParams> = ( params ) => {
|
|
26
26
|
let {
|
|
27
27
|
color = 'cloud',
|
|
28
28
|
...others
|
|
29
|
-
} = params
|
|
29
|
+
} = params
|
|
30
30
|
|
|
31
31
|
let DefStyles: amotifyUniStyleParams = {
|
|
32
32
|
flexCenter: true,
|
|
@@ -51,10 +51,10 @@ export const Placeholder: React.FC<amotify.atoms.PlaceholderParams> = ( params )
|
|
|
51
51
|
style[ 'Color_' + color ],
|
|
52
52
|
].join( ' ' ) }
|
|
53
53
|
/>
|
|
54
|
-
</Box
|
|
54
|
+
</Box>
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
let Img: amotify.atoms.Image.Methods = {} as any
|
|
57
|
+
let Img: amotify.atoms.Image.Methods = {} as any
|
|
58
58
|
{
|
|
59
59
|
const ImageComp: React.FC<amotify.atoms.Image.CompInput> = ( params ) => {
|
|
60
60
|
let {
|
|
@@ -62,7 +62,7 @@ let Img: amotify.atoms.Image.Methods = {} as any;
|
|
|
62
62
|
alt = '',
|
|
63
63
|
showExpand,
|
|
64
64
|
...others
|
|
65
|
-
} = params
|
|
65
|
+
} = params
|
|
66
66
|
|
|
67
67
|
others.freeCSS = {
|
|
68
68
|
cursor: showExpand ? 'zoom-in' : 'inherit',
|
|
@@ -71,43 +71,43 @@ let Img: amotify.atoms.Image.Methods = {} as any;
|
|
|
71
71
|
let {
|
|
72
72
|
className = '',
|
|
73
73
|
...Others
|
|
74
|
-
} = StyleConverter.ToClassName( others )
|
|
74
|
+
} = StyleConverter.ToClassName( others )
|
|
75
75
|
|
|
76
76
|
let ClassName = [
|
|
77
77
|
style.Img,
|
|
78
78
|
style[ 'ShowExpand_' + showExpand ],
|
|
79
79
|
className
|
|
80
|
-
].join( ' ' )
|
|
80
|
+
].join( ' ' )
|
|
81
81
|
|
|
82
82
|
return <img
|
|
83
83
|
src={ src }
|
|
84
84
|
alt={ alt }
|
|
85
85
|
className={ ClassName }
|
|
86
86
|
onMouseDown={ ( event ) => {
|
|
87
|
-
if ( showExpand ) event.stopPropagation()
|
|
87
|
+
if ( showExpand ) event.stopPropagation()
|
|
88
88
|
} }
|
|
89
89
|
onTouchStart={ ( event ) => {
|
|
90
|
-
if ( showExpand ) event.stopPropagation()
|
|
90
|
+
if ( showExpand ) event.stopPropagation()
|
|
91
91
|
} }
|
|
92
92
|
onClick={ ( event ) => {
|
|
93
93
|
if ( showExpand ) {
|
|
94
|
-
event.stopPropagation()
|
|
94
|
+
event.stopPropagation()
|
|
95
95
|
amotify.fn.Sheet.open( {
|
|
96
96
|
type: 'image',
|
|
97
97
|
src: showExpand != true ? showExpand : src
|
|
98
|
-
} )
|
|
98
|
+
} )
|
|
99
99
|
}
|
|
100
100
|
} }
|
|
101
101
|
{ ...Others }
|
|
102
|
-
|
|
102
|
+
/>
|
|
103
103
|
}
|
|
104
|
-
Img = ImageComp as any
|
|
104
|
+
Img = ImageComp as any
|
|
105
105
|
Img.uri = {
|
|
106
106
|
comunIcon: publicURI + 'app/admin/@logo/icon.png',
|
|
107
107
|
comunIconClear: publicURI + 'app/admin/@logo/iconClear.png',
|
|
108
108
|
mingooIcon: '',
|
|
109
109
|
defaultIcon: ( type ) => {
|
|
110
|
-
return publicURI + '@env/@icon/' + ( type || 'image' ) + '.png'
|
|
110
|
+
return publicURI + '@env/@icon/' + ( type || 'image' ) + '.png'
|
|
111
111
|
},
|
|
112
112
|
}
|
|
113
113
|
}
|
|
@@ -118,7 +118,7 @@ export const Flex: React.FC<amotify.atoms.FlexProps> = ( props ) => {
|
|
|
118
118
|
children,
|
|
119
119
|
freeCSS,
|
|
120
120
|
...others
|
|
121
|
-
} = props
|
|
121
|
+
} = props
|
|
122
122
|
|
|
123
123
|
return <Box
|
|
124
124
|
flexType={ 'row' }
|
|
@@ -130,21 +130,21 @@ export const Flex: React.FC<amotify.atoms.FlexProps> = ( props ) => {
|
|
|
130
130
|
} }
|
|
131
131
|
{ ...others }
|
|
132
132
|
children={ children }
|
|
133
|
-
|
|
133
|
+
/>
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
export const FlexBr: React.FC<amotifyUniStyleParams> = ( params ) => ( <Box
|
|
137
137
|
width={ 1 }
|
|
138
138
|
flexSizing='none'
|
|
139
139
|
{ ...params }
|
|
140
|
-
/> )
|
|
140
|
+
/> )
|
|
141
141
|
|
|
142
142
|
export const Grid: React.FC<amotify.atoms.GridProps> = ( props ) => {
|
|
143
143
|
let {
|
|
144
144
|
children,
|
|
145
145
|
freeCSS,
|
|
146
146
|
...others
|
|
147
|
-
} = props
|
|
147
|
+
} = props
|
|
148
148
|
|
|
149
149
|
return <Box
|
|
150
150
|
freeCSS={ {
|
|
@@ -153,7 +153,7 @@ export const Grid: React.FC<amotify.atoms.GridProps> = ( props ) => {
|
|
|
153
153
|
} }
|
|
154
154
|
{ ...others }
|
|
155
155
|
children={ children }
|
|
156
|
-
|
|
156
|
+
/>
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
export const Paragraph: React.FC<amotify.atoms.ParagraphProps> = ( props ) => ( <p { ...StyleConverter.ToClassName( props ) } /> )
|