amotify 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/@types/_.d.ts → @types/_.tsx} +3 -4
- package/{src/@types → @types}/amot.tsx +125 -85
- package/{src/@types → @types}/fn.tsx +52 -53
- package/{src/@types → @types}/jsminAmotifyExtension.tsx +1 -2
- package/@types/module.tsx +1 -0
- package/dist/amotify.js +328 -0
- package/{public → dist}/amotify.min.css +339 -339
- package/package.json +11 -12
- package/src/{Atoms/@export.tsx → @atoms.tsx} +3 -3
- package/src/@functions.tsx +29 -0
- package/src/{Global/@export.tsx → @global.tsx} +9 -9
- package/src/@jsminAmotifyExtension/formCollect.tsx +1 -1
- package/src/{Molecules/@export.tsx → @molecules.tsx} +5 -4
- package/src/@organisms.tsx +5 -0
- package/src/@styles/UniStyling.scss +1 -1
- package/src/@styles/init.scss +1 -1
- package/src/@styles/styleSet.scss +1 -1
- package/src/{Templates/@export.tsx → @templates.tsx} +1 -1
- package/src/{Atoms → atoms}/FAIcon/parts.tsx +4 -3
- package/src/{Atoms → atoms}/FAIcon/style.module.scss +1 -2
- package/src/{Atoms → atoms}/Logo/parts.tsx +2 -2
- package/src/{Atoms → atoms}/Logo/style.module.scss +1 -2
- package/src/{Atoms → atoms}/Various/parts.tsx +10 -9
- package/src/{Atoms → atoms}/Various/style.module.scss +3 -2
- package/src/config.tsx +4 -4
- package/src/{Functions → functions}/Button/_.tsx +2 -1
- package/src/{Functions → functions}/Button/style.module.scss +3 -2
- package/src/{Functions → functions}/Cropper/parts.tsx +16 -20
- package/src/{Functions → functions}/Cropper/style.module.scss +1 -1
- package/src/{Functions → functions}/Effects/Fade.tsx +6 -11
- package/src/{Functions → functions}/Effects/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Chips/Selector.tsx +17 -21
- package/src/{Functions → functions}/Input/Chips/_.tsx +12 -17
- package/src/functions/Input/Chips/style.module.scss +6 -0
- package/src/{Functions → functions}/Input/DigitCharacters.tsx +6 -10
- package/src/{Functions → functions}/Input/File/_.tsx +13 -16
- package/src/{Functions → functions}/Input/File/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Hidden.tsx +4 -3
- package/src/{Functions → functions}/Input/List/_.tsx +8 -12
- package/src/{Functions → functions}/Input/List/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Segmented/_.tsx +2 -2
- package/src/{Functions → functions}/Input/Segmented/style.module.scss +2 -2
- package/src/{Functions → functions}/Input/Select/_.tsx +8 -11
- package/src/{Functions → functions}/Input/Select/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Slider/_.tsx +9 -12
- package/src/{Functions → functions}/Input/Slider/style.module.scss +2 -2
- package/src/{Functions → functions}/Input/Switch/_.tsx +7 -11
- package/src/{Functions → functions}/Input/Switch/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Text.tsx +6 -11
- package/src/{Functions → functions}/Input/TextArea.tsx +4 -8
- package/src/{Functions → functions}/Input/Time/Picker.tsx +11 -16
- package/src/{Functions → functions}/Input/Time/_.tsx +13 -17
- package/src/{Functions → functions}/Input/Time/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/_.tsx +12 -17
- package/src/{Functions → functions}/Input/core.tsx +14 -19
- package/src/{Functions → functions}/Input/style.module.scss +1 -1
- package/src/{Functions → functions}/Inputs/style.module.scss +1 -1
- package/src/{Functions → functions}/Inputs/text.tsx +5 -17
- package/src/functions/Inputs/types.d.ts +13 -0
- package/src/{Functions → functions}/Layout/PageNotFound.tsx +6 -7
- package/src/{Functions → functions}/Layout/PageRouter.tsx +25 -34
- package/src/{Functions → functions}/Layout/PageViewController/parts.tsx +6 -9
- package/src/{Functions → functions}/Layout/Plate.tsx +3 -2
- package/src/{Functions → functions}/Layout/RootViewController/parts.tsx +6 -8
- package/src/{Functions → functions}/Layout/RootViewController/style.module.scss +1 -1
- package/src/{Functions → functions}/Layout/SwipeView/parts.tsx +11 -16
- package/src/{Functions → functions}/Layout/SwipeView/style.module.scss +1 -1
- package/src/{Functions → functions}/Layout/TabBar.tsx +6 -10
- package/src/{Functions → functions}/Loader/corner.tsx +6 -12
- package/src/{Functions → functions}/Loader/mini.tsx +9 -12
- package/src/{Functions → functions}/Loader/parts.tsx +7 -10
- package/src/{Functions → functions}/Loader/style.module.scss +1 -1
- package/src/{Functions → functions}/Loader/top.tsx +6 -12
- package/src/{Functions → functions}/Sheet/parts.tsx +16 -19
- package/src/{Functions → functions}/Sheet/style.module.scss +1 -1
- package/src/{Functions → functions}/SnackBar/parts.tsx +14 -17
- package/src/{Functions → functions}/SnackBar/style.module.scss +1 -1
- package/src/{Functions → functions}/Table/Data/parts.tsx +4 -4
- package/src/{Functions → functions}/Table/Drag/parts.tsx +12 -15
- package/src/{Functions → functions}/Table/Normal/parts.tsx +5 -5
- package/src/{Functions → functions}/Table/_.tsx +4 -4
- package/src/{Functions → functions}/Table/style.module.scss +3 -2
- package/src/{Functions → functions}/Tooltips/parts.tsx +3 -2
- package/src/{Global → global}/LaunchReactApplication.tsx +4 -3
- package/src/{Global → global}/styleConverter.tsx +3 -7
- package/src/launch.tsx +16 -11
- package/src/{Molecules → molecules}/Accordion/parts.tsx +8 -12
- package/src/{Molecules → molecules}/Accordion/style.module.scss +1 -1
- package/src/{Molecules → molecules}/LinkifyText/parts.tsx +4 -3
- package/src/{Molecules → molecules}/List.tsx +3 -2
- package/src/{Organisms → organisms}/DisplayStyleInput/darkmode.tsx +6 -11
- package/src/{Organisms → organisms}/DisplayStyleInput/themeColor.tsx +7 -12
- package/src/{Templates → templates}/PlayGround/parts.tsx +12 -40
- package/src/{Templates → templates}/PlayGround/style.module.scss +1 -1
- package/tsconfig.json +19 -5
- package/webpack.config.js +18 -7
- package/dist/@jsminAmotifyExtension/_.d.ts +0 -4
- package/dist/@jsminAmotifyExtension/_.js +0 -6
- package/dist/@jsminAmotifyExtension/fetch.d.ts +0 -9
- package/dist/@jsminAmotifyExtension/fetch.js +0 -199
- package/dist/@jsminAmotifyExtension/formCollect.d.ts +0 -1
- package/dist/@jsminAmotifyExtension/formCollect.js +0 -137
- package/dist/@jsminAmotifyExtension/spreadSheet.d.ts +0 -4
- package/dist/@jsminAmotifyExtension/spreadSheet.js +0 -314
- package/dist/@jsminAmotifyExtension/variables.d.ts +0 -0
- package/dist/@jsminAmotifyExtension/variables.js +0 -186
- package/dist/@types/_.js +0 -8
- package/dist/@types/amot.d.ts +0 -260
- package/dist/@types/amot.js +0 -2
- package/dist/@types/fn.d.ts +0 -1040
- package/dist/@types/fn.js +0 -2
- package/dist/@types/index.d.ts +0 -62
- package/dist/@types/index.js +0 -2
- package/dist/@types/jsminAmotifyExtension.d.ts +0 -134
- package/dist/@types/jsminAmotifyExtension.js +0 -2
- package/dist/@types/module.d.ts +0 -2
- package/dist/@types/module.js +0 -1
- package/dist/@types/state.d.ts +0 -145
- package/dist/@types/state.js +0 -2
- package/dist/Atoms/@export.d.ts +0 -4
- package/dist/Atoms/@export.js +0 -16
- package/dist/Atoms/FAIcon/parts.d.ts +0 -2
- package/dist/Atoms/FAIcon/parts.js +0 -152
- package/dist/Atoms/Logo/parts.d.ts +0 -1
- package/dist/Atoms/Logo/parts.js +0 -154
- package/dist/Atoms/Various/parts.d.ts +0 -9
- package/dist/Atoms/Various/parts.js +0 -113
- package/dist/Functions/@export.d.ts +0 -12
- package/dist/Functions/@export.js +0 -25
- package/dist/Functions/Button/_.d.ts +0 -1
- package/dist/Functions/Button/_.js +0 -270
- package/dist/Functions/Cropper/parts.d.ts +0 -1
- package/dist/Functions/Cropper/parts.js +0 -783
- package/dist/Functions/Effects/Fade.d.ts +0 -1
- package/dist/Functions/Effects/Fade.js +0 -82
- package/dist/Functions/Effects/Ripple.d.ts +0 -1
- package/dist/Functions/Effects/Ripple.js +0 -107
- package/dist/Functions/Effects/_.d.ts +0 -3
- package/dist/Functions/Effects/_.js +0 -43
- package/dist/Functions/Input/Chips/Selector.d.ts +0 -1
- package/dist/Functions/Input/Chips/Selector.js +0 -356
- package/dist/Functions/Input/Chips/_.d.ts +0 -2
- package/dist/Functions/Input/Chips/_.js +0 -218
- package/dist/Functions/Input/DigitCharacters.d.ts +0 -1
- package/dist/Functions/Input/DigitCharacters.js +0 -178
- package/dist/Functions/Input/File/_.d.ts +0 -2
- package/dist/Functions/Input/File/_.js +0 -458
- package/dist/Functions/Input/Hidden.d.ts +0 -1
- package/dist/Functions/Input/Hidden.js +0 -30
- package/dist/Functions/Input/List/_.d.ts +0 -1
- package/dist/Functions/Input/List/_.js +0 -232
- package/dist/Functions/Input/Segmented/_.d.ts +0 -1
- package/dist/Functions/Input/Segmented/_.js +0 -111
- package/dist/Functions/Input/Select/_.d.ts +0 -1
- package/dist/Functions/Input/Select/_.js +0 -154
- package/dist/Functions/Input/Slider/_.d.ts +0 -1
- package/dist/Functions/Input/Slider/_.js +0 -308
- package/dist/Functions/Input/Switch/_.d.ts +0 -1
- package/dist/Functions/Input/Switch/_.js +0 -120
- package/dist/Functions/Input/Text.d.ts +0 -5
- package/dist/Functions/Input/Text.js +0 -340
- package/dist/Functions/Input/TextArea.d.ts +0 -1
- package/dist/Functions/Input/TextArea.js +0 -98
- package/dist/Functions/Input/Time/Picker.d.ts +0 -1
- package/dist/Functions/Input/Time/Picker.js +0 -581
- package/dist/Functions/Input/Time/_.d.ts +0 -2
- package/dist/Functions/Input/Time/_.js +0 -567
- package/dist/Functions/Input/_.d.ts +0 -5
- package/dist/Functions/Input/_.js +0 -446
- package/dist/Functions/Input/core.d.ts +0 -34
- package/dist/Functions/Input/core.js +0 -324
- package/dist/Functions/Inputs/_.d.ts +0 -3
- package/dist/Functions/Inputs/_.js +0 -7
- package/dist/Functions/Inputs/text.d.ts +0 -12
- package/dist/Functions/Inputs/text.js +0 -46
- package/dist/Functions/Layout/PageNotFound.d.ts +0 -1
- package/dist/Functions/Layout/PageNotFound.js +0 -30
- package/dist/Functions/Layout/PageRouter.d.ts +0 -2
- package/dist/Functions/Layout/PageRouter.js +0 -65
- package/dist/Functions/Layout/PageViewController/parts.d.ts +0 -1
- package/dist/Functions/Layout/PageViewController/parts.js +0 -31
- package/dist/Functions/Layout/Plate.d.ts +0 -1
- package/dist/Functions/Layout/Plate.js +0 -39
- package/dist/Functions/Layout/RootViewController/parts.d.ts +0 -1
- package/dist/Functions/Layout/RootViewController/parts.js +0 -202
- package/dist/Functions/Layout/SwipeView/parts.d.ts +0 -2
- package/dist/Functions/Layout/SwipeView/parts.js +0 -319
- package/dist/Functions/Layout/TabBar.d.ts +0 -1
- package/dist/Functions/Layout/TabBar.js +0 -49
- package/dist/Functions/Layout/_.d.ts +0 -2
- package/dist/Functions/Layout/_.js +0 -20
- package/dist/Functions/Loader/corner.d.ts +0 -1
- package/dist/Functions/Loader/corner.js +0 -59
- package/dist/Functions/Loader/mini.d.ts +0 -33
- package/dist/Functions/Loader/mini.js +0 -126
- package/dist/Functions/Loader/parts.d.ts +0 -3
- package/dist/Functions/Loader/parts.js +0 -108
- package/dist/Functions/Loader/top.d.ts +0 -1
- package/dist/Functions/Loader/top.js +0 -69
- package/dist/Functions/Sheet/parts.d.ts +0 -2
- package/dist/Functions/Sheet/parts.js +0 -724
- package/dist/Functions/SnackBar/parts.d.ts +0 -2
- package/dist/Functions/SnackBar/parts.js +0 -171
- package/dist/Functions/Table/Data/parts.d.ts +0 -3
- package/dist/Functions/Table/Data/parts.js +0 -629
- package/dist/Functions/Table/Drag/parts.d.ts +0 -1
- package/dist/Functions/Table/Drag/parts.js +0 -359
- package/dist/Functions/Table/Normal/parts.d.ts +0 -1
- package/dist/Functions/Table/Normal/parts.js +0 -92
- package/dist/Functions/Table/_.d.ts +0 -9
- package/dist/Functions/Table/_.js +0 -153
- package/dist/Functions/Tooltips/parts.d.ts +0 -2
- package/dist/Functions/Tooltips/parts.js +0 -71
- package/dist/Global/@export.d.ts +0 -12
- package/dist/Global/@export.js +0 -198
- package/dist/Global/LaunchReactApplication.d.ts +0 -1
- package/dist/Global/LaunchReactApplication.js +0 -48
- package/dist/Global/styleConverter.d.ts +0 -2
- package/dist/Global/styleConverter.js +0 -349
- package/dist/Molecules/@export.d.ts +0 -21
- package/dist/Molecules/@export.js +0 -41
- package/dist/Molecules/Accordion/parts.d.ts +0 -2
- package/dist/Molecules/Accordion/parts.js +0 -165
- package/dist/Molecules/LinkifyText/parts.d.ts +0 -1
- package/dist/Molecules/LinkifyText/parts.js +0 -39
- package/dist/Molecules/List.d.ts +0 -1
- package/dist/Molecules/List.js +0 -35
- package/dist/Organisms/@export.d.ts +0 -2
- package/dist/Organisms/@export.js +0 -5
- package/dist/Organisms/DisplayStyleInput/_.d.ts +0 -1
- package/dist/Organisms/DisplayStyleInput/_.js +0 -15
- package/dist/Organisms/DisplayStyleInput/darkmode.d.ts +0 -1
- package/dist/Organisms/DisplayStyleInput/darkmode.js +0 -77
- package/dist/Organisms/DisplayStyleInput/themeColor.d.ts +0 -27
- package/dist/Organisms/DisplayStyleInput/themeColor.js +0 -185
- package/dist/Templates/@export.d.ts +0 -2
- package/dist/Templates/@export.js +0 -5
- package/dist/Templates/PlayGround/parts.d.ts +0 -1
- package/dist/Templates/PlayGround/parts.js +0 -55
- package/dist/config.d.ts +0 -16
- package/dist/config.js +0 -171
- package/dist/launch.d.ts +0 -9
- package/dist/launch.js +0 -46
- package/dist/preload.d.ts +0 -1
- package/dist/preload.js +0 -73
- package/public/amotify.js +0 -310
- package/src/@types/_.tsx +0 -6
- package/src/@types/index.tsx +0 -74
- package/src/@types/module.tsx +0 -2
- package/src/Functions/@export.tsx +0 -29
- package/src/Functions/Input/Chips/style.module.scss +0 -6
- package/src/Functions/Inputs/types.d.ts +0 -1
- package/src/Global/exe.tsx +0 -0
- package/src/Organisms/@export.tsx +0 -5
- package/src/index.js +0 -0
- /package/{src/@types → @types}/state.tsx +0 -0
- /package/src/{Functions → functions}/Effects/Ripple.tsx +0 -0
- /package/src/{Functions → functions}/Effects/_.tsx +0 -0
- /package/src/{Functions → functions}/Inputs/_.tsx +0 -0
- /package/src/{Functions → functions}/Layout/_.tsx +0 -0
- /package/src/{Organisms → organisms}/DisplayStyleInput/_.tsx +0 -0
|
@@ -1,12 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
import * as ReactDom from "react-dom";
|
|
3
|
-
import * as ReactRouterDom from "react-router";
|
|
4
|
-
|
|
5
|
-
export {}
|
|
6
|
-
|
|
1
|
+
export { }
|
|
7
2
|
declare global {
|
|
3
|
+
type ReactElement = React.ReactNode | React.ReactNode[]
|
|
4
|
+
|
|
8
5
|
namespace amotify {
|
|
9
|
-
|
|
6
|
+
type ToneTypes = 'default' | 'flat' | 'sharp'
|
|
7
|
+
type DarkModeTypes = 'light' | 'auto' | 'dark' | 'dim'
|
|
8
|
+
type ThemeColorTypes = 'comun' | 'leaf' | 'heart' | 'droplet' |
|
|
9
|
+
|
|
10
|
+
'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' |
|
|
11
|
+
|
|
12
|
+
'line' | 'twitter' | 'amazon' | 'facebook' | 'android' | 'slackBlue' | 'slackGreen' | 'slackRed' | 'slackYellow' | 'slackBase' | 'googleBlue' | 'googleGreen' | 'googleYellow' | 'googleRed'
|
|
13
|
+
|
|
14
|
+
type RoundnessTypes = 0 | 1 | 2 | 3 | 4 | 5
|
|
15
|
+
|
|
16
|
+
namespace config {
|
|
17
|
+
interface Methods {
|
|
18
|
+
version: string
|
|
19
|
+
tone: amotify.ToneTypes
|
|
20
|
+
themeColor: amotify.ThemeColorTypes
|
|
21
|
+
darkMode: amotify.DarkModeTypes
|
|
22
|
+
roundness: amotify.RoundnessTypes
|
|
23
|
+
device: {
|
|
24
|
+
isWhat: 'Windows' | 'Android' | 'iPhone' | 'iPad' | 'macOSX' | 'undefined'
|
|
25
|
+
isBreakpoint(): boolean
|
|
26
|
+
isPhonepoint(): boolean
|
|
27
|
+
isSystemDarkmode(): boolean
|
|
28
|
+
isPhone: boolean
|
|
29
|
+
isTouchDevice: boolean
|
|
30
|
+
isIOS: boolean
|
|
31
|
+
}
|
|
32
|
+
update: {
|
|
33
|
+
tone( value: amotify.ToneTypes ): void
|
|
34
|
+
themeColor( value: amotify.ThemeColorTypes ): void
|
|
35
|
+
darkMode( value: amotify.DarkModeTypes ): void
|
|
36
|
+
roundness( value: amotify.RoundnessTypes ): void
|
|
37
|
+
}
|
|
38
|
+
readExtraCDN( url: string ): Promise<boolean>
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
namespace global {
|
|
10
43
|
type LaunchReactApplicationParams = {
|
|
11
44
|
( params: {
|
|
12
45
|
baseElement?: HTMLElement | string
|
|
@@ -20,7 +53,6 @@ declare global {
|
|
|
20
53
|
}
|
|
21
54
|
} ): void
|
|
22
55
|
}
|
|
23
|
-
|
|
24
56
|
type useStoreParams = {
|
|
25
57
|
set( params: {
|
|
26
58
|
key: string
|
|
@@ -46,7 +78,6 @@ declare global {
|
|
|
46
78
|
push( url: string,newTab?: boolean ): void
|
|
47
79
|
back(): void
|
|
48
80
|
}
|
|
49
|
-
|
|
50
81
|
namespace StyleConverter {
|
|
51
82
|
type ReadStyleSet = {
|
|
52
83
|
<T>( params: T ): T
|
|
@@ -55,24 +86,23 @@ declare global {
|
|
|
55
86
|
<T>( params: T ): T
|
|
56
87
|
}
|
|
57
88
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
React: typeof React
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
89
|
+
|
|
90
|
+
interface Methods {
|
|
91
|
+
React: typeof globalThis.React
|
|
92
|
+
ReactDOM: typeof globalThis.ReactDOM
|
|
93
|
+
ReactRouterDOM: any
|
|
64
94
|
StyleConverter: {
|
|
65
95
|
ReadStyleSet: StyleConverter.ReadStyleSet
|
|
66
96
|
ToClassName: StyleConverter.ToClassName
|
|
67
97
|
}
|
|
68
|
-
|
|
98
|
+
|
|
69
99
|
pageTransit: PageTransitParams
|
|
70
|
-
useStore:
|
|
71
|
-
useRecycle:
|
|
72
|
-
LaunchReactApplication:
|
|
100
|
+
useStore: global.useStoreParams
|
|
101
|
+
useRecycle: global.useRecycleParams
|
|
102
|
+
LaunchReactApplication: global.LaunchReactApplicationParams
|
|
73
103
|
}
|
|
74
104
|
}
|
|
75
|
-
|
|
105
|
+
|
|
76
106
|
namespace atoms {
|
|
77
107
|
type BoxInput = amotifyBasicElement & {
|
|
78
108
|
children?: ReactElement
|
|
@@ -83,45 +113,45 @@ declare global {
|
|
|
83
113
|
type ParagraphProps = amotifyBasicElement & {
|
|
84
114
|
children?: ReactElement
|
|
85
115
|
} & React.HTMLAttributes<HTMLParagraphElement>
|
|
86
|
-
|
|
116
|
+
|
|
87
117
|
type FlexProps = amotifyBasicElement & {
|
|
88
118
|
children?: ReactElement
|
|
89
119
|
} & React.HTMLAttributes<HTMLDivElement>
|
|
90
|
-
|
|
120
|
+
|
|
91
121
|
type GridProps = amotifyBasicElement & {
|
|
92
122
|
children: ReactElement
|
|
93
|
-
|
|
123
|
+
|
|
94
124
|
onClick?: {
|
|
95
125
|
( event: React.MouseEvent<HTMLDivElement,MouseEvent> ): void
|
|
96
126
|
}
|
|
97
127
|
} & React.HTMLAttributes<HTMLDivElement>
|
|
98
|
-
|
|
128
|
+
|
|
99
129
|
namespace FAIcon {
|
|
100
|
-
type Method =
|
|
130
|
+
type Method = React.FC<FAIconFNC> & ShortCuts
|
|
101
131
|
type FAIconFNC = amotifyBasicElement & {
|
|
102
132
|
iconFamily?: 'classic' | 'sharp'
|
|
103
|
-
|
|
133
|
+
|
|
104
134
|
isSolidIcon?: boolean
|
|
105
135
|
isRegularIcon?: boolean
|
|
106
136
|
isLightIcon?: boolean
|
|
107
137
|
isThinIcon?: boolean
|
|
108
138
|
isDuotoneIcon?: boolean
|
|
109
|
-
|
|
139
|
+
|
|
110
140
|
iconAnimation?: false | 'beat' | 'beat-fade' | 'bounce' | 'fade' | 'flip' | 'shake' | 'spin' | 'spin-reverse' | 'spin-pulse'
|
|
111
141
|
isBrandIcon?: boolean
|
|
112
142
|
d?: string
|
|
113
143
|
} & React.HTMLAttributes<HTMLDivElement>
|
|
114
144
|
type ShortCuts = {
|
|
115
|
-
[ key in ShortCutNames ]:
|
|
145
|
+
[ key in ShortCutNames ]: React.FC<Omit<FAIconFNC,'d'>>
|
|
116
146
|
}
|
|
117
147
|
type ShortCutNames =
|
|
118
148
|
'User' | 'Times' | 'Desktop' |
|
|
119
|
-
|
|
149
|
+
|
|
120
150
|
'AngleRight' | 'AngleLeft' | 'AngleUp' | 'AngleDown' |
|
|
121
151
|
'ChevronLeft' | 'ChevronRight' | 'ChevronUp' | 'ChevronDown' |
|
|
122
152
|
'CaretLeft' | 'CaretRight' | 'CaretUp' | 'CaretDown' |
|
|
123
153
|
'ArrowLeft' | 'ArrowRight' | 'ArrowUp' | 'ArrowDown' |
|
|
124
|
-
|
|
154
|
+
|
|
125
155
|
'Rotate' | 'RotateLeft' | 'RotateRight' | 'Redo' |
|
|
126
156
|
'Play' | 'Pause' | 'Stop' | 'ForwardStep' | 'BackwardStep' |
|
|
127
157
|
'Check' | 'CheckCircle' |
|
|
@@ -135,15 +165,15 @@ declare global {
|
|
|
135
165
|
'Plus' | 'Minus' | 'Equals' | 'Calculator' |
|
|
136
166
|
'Image' | 'BadgePercent'
|
|
137
167
|
}
|
|
138
|
-
|
|
168
|
+
|
|
139
169
|
namespace Image {
|
|
140
|
-
type Methods =
|
|
170
|
+
type Methods = React.FC<CompInput> & DefaultImages;
|
|
141
171
|
type CompInput = amotifyBasicElement & {
|
|
142
172
|
src: string
|
|
143
173
|
alt?: string
|
|
144
174
|
showExpand?: boolean | string
|
|
145
175
|
} & React.HTMLAttributes<HTMLImageElement>
|
|
146
|
-
|
|
176
|
+
|
|
147
177
|
type DefaultImages = {
|
|
148
178
|
uri: {
|
|
149
179
|
mingooIcon: string
|
|
@@ -157,27 +187,27 @@ declare global {
|
|
|
157
187
|
'store'
|
|
158
188
|
): string
|
|
159
189
|
}
|
|
160
|
-
|
|
190
|
+
|
|
161
191
|
}
|
|
162
192
|
}
|
|
163
|
-
|
|
164
|
-
|
|
193
|
+
|
|
194
|
+
|
|
165
195
|
namespace Logos {
|
|
166
196
|
type Methods = {
|
|
167
197
|
Icon: ( params: Params ) => JSX.Element
|
|
168
198
|
Title: ( params: Params ) => JSX.Element
|
|
169
|
-
|
|
199
|
+
|
|
170
200
|
Brands: {
|
|
171
201
|
MingooIcon: ( params: DefaultLogoTypes ) => JSX.Element
|
|
172
202
|
MingooTitle: ( params: DefaultLogoTypes ) => JSX.Element
|
|
173
203
|
MingooLogoH: ( params: DefaultLogoTypes ) => JSX.Element
|
|
174
204
|
MingooLogoV: ( params: DefaultLogoTypes ) => JSX.Element
|
|
175
|
-
|
|
205
|
+
|
|
176
206
|
ComunIcon: ( params: DefaultLogoTypes ) => JSX.Element
|
|
177
207
|
ComunTitle: ( params: DefaultLogoTypes ) => JSX.Element
|
|
178
208
|
ComunLogoH: ( params: DefaultLogoTypes ) => JSX.Element
|
|
179
209
|
ComunLogoV: ( params: DefaultLogoTypes ) => JSX.Element
|
|
180
|
-
|
|
210
|
+
|
|
181
211
|
Google: ( params: DefaultLogoTypes ) => JSX.Element
|
|
182
212
|
Facebook: ( params: DefaultLogoTypes ) => JSX.Element
|
|
183
213
|
Twitter: ( params: DefaultLogoTypes ) => JSX.Element
|
|
@@ -187,38 +217,38 @@ declare global {
|
|
|
187
217
|
type Params = amotifyBasicElement & {
|
|
188
218
|
size?: 'S' | 'R' | 'L' | '2L' | '3L'
|
|
189
219
|
color?: 'normal' | 'white'
|
|
190
|
-
children?: ReactElement |
|
|
220
|
+
children?: ReactElement | React.FC<any>
|
|
191
221
|
}
|
|
192
222
|
type DefaultLogoTypes = amotifyBasicElement & {
|
|
193
223
|
size?: 'S' | 'R' | 'L' | '2L' | '3L'
|
|
194
224
|
color?: 'normal' | 'white'
|
|
195
225
|
}
|
|
196
226
|
}
|
|
197
|
-
|
|
227
|
+
|
|
198
228
|
type PlaceholderParams = amotify.atoms.BoxInput & {
|
|
199
229
|
color?: 'cloud' | 'white'
|
|
200
230
|
}
|
|
201
|
-
|
|
231
|
+
|
|
202
232
|
type Methods = {
|
|
203
|
-
Box:
|
|
204
|
-
|
|
205
|
-
Flex:
|
|
206
|
-
FlexBr:
|
|
207
|
-
|
|
208
|
-
Placeholder:
|
|
209
|
-
|
|
210
|
-
Grid:
|
|
211
|
-
|
|
233
|
+
Box: React.FC<atoms.BoxInput>
|
|
234
|
+
|
|
235
|
+
Flex: React.FC<atoms.FlexProps>
|
|
236
|
+
FlexBr: React.FC<amotifyUniStyleParams>
|
|
237
|
+
|
|
238
|
+
Placeholder: React.FC<PlaceholderParams>
|
|
239
|
+
|
|
240
|
+
Grid: React.FC<atoms.GridProps>
|
|
241
|
+
|
|
212
242
|
FAIcon: FAIcon.Method
|
|
213
|
-
|
|
214
|
-
Span:
|
|
215
|
-
Paragraph:
|
|
243
|
+
|
|
244
|
+
Span: React.FC<atoms.SpanProps>
|
|
245
|
+
Paragraph: React.FC<atoms.ParagraphProps>
|
|
216
246
|
Img: atoms.Image.Methods
|
|
217
|
-
|
|
247
|
+
|
|
218
248
|
Logo: Logos.Methods
|
|
219
249
|
}
|
|
220
250
|
}
|
|
221
|
-
|
|
251
|
+
|
|
222
252
|
namespace mols {
|
|
223
253
|
namespace Accordion {
|
|
224
254
|
type Params = {
|
|
@@ -237,58 +267,58 @@ declare global {
|
|
|
237
267
|
toggle( accordionID: string ): void
|
|
238
268
|
}
|
|
239
269
|
}
|
|
240
|
-
type SetParams =
|
|
270
|
+
type SetParams = React.FC<Params> & FNParams
|
|
241
271
|
}
|
|
242
|
-
|
|
272
|
+
|
|
243
273
|
namespace List {
|
|
244
274
|
type Params = amotifyBasicElement & {
|
|
245
275
|
rowStyles?: amotifyUniStyleParams
|
|
246
276
|
rows: RowsParams[]
|
|
247
277
|
}
|
|
248
|
-
|
|
278
|
+
|
|
249
279
|
type RowsParams = {
|
|
250
280
|
children: ReactElement
|
|
251
281
|
} & amotifyBasicElement
|
|
252
282
|
}
|
|
253
|
-
|
|
283
|
+
|
|
254
284
|
type LinkifyTextProps = {
|
|
255
285
|
text: string
|
|
256
286
|
placeholder?: ReactElement
|
|
257
287
|
}
|
|
258
|
-
|
|
288
|
+
|
|
259
289
|
type Methods = {
|
|
260
|
-
List:
|
|
290
|
+
List: React.FC<mols.List.Params>
|
|
261
291
|
Accordion: mols.Accordion.SetParams
|
|
262
|
-
LinkifyText:
|
|
292
|
+
LinkifyText: React.FC<mols.LinkifyTextProps>
|
|
263
293
|
Text: {
|
|
264
|
-
NowrapSpan:
|
|
265
|
-
Title:
|
|
266
|
-
SubTitle:
|
|
267
|
-
ThirdTitle:
|
|
268
|
-
Paragraph:
|
|
269
|
-
Normal:
|
|
270
|
-
Description:
|
|
271
|
-
Supplement:
|
|
294
|
+
NowrapSpan: React.FC<atoms.SpanProps>
|
|
295
|
+
Title: React.FC<atoms.BoxInput>
|
|
296
|
+
SubTitle: React.FC<atoms.BoxInput>
|
|
297
|
+
ThirdTitle: React.FC<atoms.BoxInput>
|
|
298
|
+
Paragraph: React.FC<atoms.BoxInput>
|
|
299
|
+
Normal: React.FC<atoms.BoxInput>
|
|
300
|
+
Description: React.FC<atoms.BoxInput>
|
|
301
|
+
Supplement: React.FC<atoms.BoxInput>
|
|
272
302
|
}
|
|
273
|
-
Column:
|
|
303
|
+
Column: React.FC<atoms.FlexProps>
|
|
274
304
|
Row: {
|
|
275
|
-
Center:
|
|
276
|
-
Left:
|
|
277
|
-
Right:
|
|
278
|
-
Separate:
|
|
305
|
+
Center: React.FC<atoms.FlexProps>
|
|
306
|
+
Left: React.FC<atoms.FlexProps>
|
|
307
|
+
Right: React.FC<atoms.FlexProps>
|
|
308
|
+
Separate: React.FC<atoms.FlexProps>
|
|
279
309
|
}
|
|
280
310
|
}
|
|
281
311
|
}
|
|
282
|
-
|
|
312
|
+
|
|
283
313
|
namespace orgs {
|
|
284
314
|
namespace DisplayStyleInput {
|
|
285
315
|
type Methods = {
|
|
286
|
-
Darkmode:
|
|
316
|
+
Darkmode: React.FC<DarkmodeInput>
|
|
287
317
|
ThemeColor: {
|
|
288
|
-
ALL:
|
|
289
|
-
Basics:
|
|
290
|
-
Originals:
|
|
291
|
-
Brands:
|
|
318
|
+
ALL: React.FC<ThemeColorInput>
|
|
319
|
+
Basics: React.FC<ThemeColorInput>
|
|
320
|
+
Originals: React.FC<ThemeColorInput>
|
|
321
|
+
Brands: React.FC<ThemeColorInput>
|
|
292
322
|
Keys: {
|
|
293
323
|
Brands: ColorIconParams[]
|
|
294
324
|
Basics: ColorIconParams[]
|
|
@@ -301,7 +331,7 @@ declare global {
|
|
|
301
331
|
icon: ReactElement
|
|
302
332
|
label?: ReactElement
|
|
303
333
|
}
|
|
304
|
-
|
|
334
|
+
|
|
305
335
|
type DarkmodeInput = atoms.BoxInput & {
|
|
306
336
|
onUpdate( params: amotify.DarkModeTypes ): void
|
|
307
337
|
}
|
|
@@ -313,11 +343,21 @@ declare global {
|
|
|
313
343
|
DisplayStyleInput: DisplayStyleInput.Methods
|
|
314
344
|
}
|
|
315
345
|
}
|
|
316
|
-
|
|
346
|
+
|
|
317
347
|
namespace temps {
|
|
318
348
|
type Methods = {
|
|
319
|
-
PlayGround:
|
|
349
|
+
PlayGround: React.FC<{}>
|
|
320
350
|
}
|
|
321
351
|
}
|
|
322
352
|
}
|
|
353
|
+
interface amotify {
|
|
354
|
+
config: amotify.config.Methods
|
|
355
|
+
global: amotify.global.Methods
|
|
356
|
+
atoms: amotify.atoms.Methods
|
|
357
|
+
mols: amotify.mols.Methods
|
|
358
|
+
orgs: amotify.orgs.Methods
|
|
359
|
+
temps: amotify.temps.Methods
|
|
360
|
+
fn: amotify.fn.Methods
|
|
361
|
+
}
|
|
362
|
+
var amotify: amotify;
|
|
323
363
|
}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
export {}
|
|
2
|
-
|
|
3
2
|
declare global {
|
|
4
3
|
namespace amotify {
|
|
5
4
|
namespace fn {
|
|
6
5
|
namespace Layout {
|
|
7
6
|
type Methods = {
|
|
8
|
-
PageViewController:
|
|
9
|
-
TabBar:
|
|
10
|
-
Plate:
|
|
11
|
-
SwipeView:
|
|
7
|
+
PageViewController: React.FC<PageViewController.Params>
|
|
8
|
+
TabBar: React.FC<TabBar.Params>
|
|
9
|
+
Plate: React.FC<Plate.Params>
|
|
10
|
+
SwipeView: React.FC<SwipeView.Params>
|
|
12
11
|
|
|
13
|
-
PageRouter:
|
|
12
|
+
PageRouter: React.FC<PageRouter.RouterProps>
|
|
14
13
|
|
|
15
|
-
PageNotFound:
|
|
14
|
+
PageNotFound: React.FC<{}>
|
|
16
15
|
|
|
17
16
|
RootViewController: RootViewController.Methods
|
|
18
17
|
}
|
|
@@ -93,18 +92,18 @@ declare global {
|
|
|
93
92
|
|
|
94
93
|
namespace RootViewController {
|
|
95
94
|
type Methods = {
|
|
96
|
-
Base:
|
|
97
|
-
TopNavigation:
|
|
98
|
-
SideNavigation:
|
|
95
|
+
Base: React.FC<RootViewController.BaseParams>
|
|
96
|
+
TopNavigation: React.FC<amotify.atoms.FlexProps>
|
|
97
|
+
SideNavigation: React.FC<amotify.atoms.FlexProps & {
|
|
99
98
|
baseStyles?: amotifyUniStyleParams
|
|
100
99
|
}>
|
|
101
|
-
FooterNavigation:
|
|
100
|
+
FooterNavigation: React.FC<amotify.atoms.FlexProps & {
|
|
102
101
|
baseStyles?: amotifyUniStyleParams
|
|
103
102
|
}>
|
|
104
103
|
Comps: {
|
|
105
|
-
Button:
|
|
106
|
-
Title:
|
|
107
|
-
Bar:
|
|
104
|
+
Button: React.FC<ButtonParams>
|
|
105
|
+
Title: React.FC<atoms.BoxInput>
|
|
106
|
+
Bar: React.FC<atoms.BoxInput>
|
|
108
107
|
}
|
|
109
108
|
}
|
|
110
109
|
|
|
@@ -131,13 +130,13 @@ declare global {
|
|
|
131
130
|
}
|
|
132
131
|
|
|
133
132
|
type CompsMethods = {
|
|
134
|
-
Table:
|
|
135
|
-
Head:
|
|
136
|
-
Body:
|
|
137
|
-
Row:
|
|
133
|
+
Table: React.FC<TableParams>
|
|
134
|
+
Head: React.FC<TableHeadParams>
|
|
135
|
+
Body: React.FC<TableBodyParams>
|
|
136
|
+
Row: React.FC<TRParams>
|
|
138
137
|
|
|
139
|
-
TH:
|
|
140
|
-
TD:
|
|
138
|
+
TH: React.FC<TableCellParams>
|
|
139
|
+
TD: React.FC<TableCellParams>
|
|
141
140
|
RightIndicator: Uni.CellParams
|
|
142
141
|
}
|
|
143
142
|
type DataCompsMethods = {
|
|
@@ -263,10 +262,10 @@ declare global {
|
|
|
263
262
|
setSearchKeyword( tableID: string,keyword: string ): void
|
|
264
263
|
}
|
|
265
264
|
type Comps = {
|
|
266
|
-
SearchInput:
|
|
267
|
-
Info:
|
|
268
|
-
Paging:
|
|
269
|
-
RowLength:
|
|
265
|
+
SearchInput: React.FC<{ tableID: string }>
|
|
266
|
+
Info: React.FC<{ tableID: string }>
|
|
267
|
+
Paging: React.FC<{ tableID: string }>
|
|
268
|
+
RowLength: React.FC<{
|
|
270
269
|
tableID: string
|
|
271
270
|
lengthSelect: number[]
|
|
272
271
|
}>
|
|
@@ -308,7 +307,7 @@ declare global {
|
|
|
308
307
|
}
|
|
309
308
|
namespace Input {
|
|
310
309
|
type Methods = {
|
|
311
|
-
Plain:
|
|
310
|
+
Plain: React.FC<amotifyUniStyleParams & React.InputHTMLAttributes<HTMLInputElement>>
|
|
312
311
|
Hidden: ( params: Hidden.PlainParams ) => JSX.Element
|
|
313
312
|
Text: Text.Methods
|
|
314
313
|
TextArea: ( params: TextArea.PlainParams ) => JSX.Element
|
|
@@ -329,12 +328,12 @@ declare global {
|
|
|
329
328
|
Segmented: Segmented.Types
|
|
330
329
|
|
|
331
330
|
Comps: {
|
|
332
|
-
RequiredSign:
|
|
333
|
-
OmitSign:
|
|
334
|
-
LeftIndicator:
|
|
335
|
-
RightIndicator:
|
|
336
|
-
LeftIcon:
|
|
337
|
-
RightIcon:
|
|
331
|
+
RequiredSign: React.FC<amotify.atoms.SpanProps>
|
|
332
|
+
OmitSign: React.FC<amotify.atoms.SpanProps>
|
|
333
|
+
LeftIndicator: React.FC<IndicatorParams>
|
|
334
|
+
RightIndicator: React.FC<IndicatorParams>
|
|
335
|
+
LeftIcon: React.FC<IndicatorParams>
|
|
336
|
+
RightIcon: React.FC<IndicatorParams>
|
|
338
337
|
}
|
|
339
338
|
}
|
|
340
339
|
|
|
@@ -636,7 +635,7 @@ declare global {
|
|
|
636
635
|
} & amotifyUniStyleParams
|
|
637
636
|
}
|
|
638
637
|
namespace Chips {
|
|
639
|
-
type Methods =
|
|
638
|
+
type Methods = React.FC<PlainParams> & {
|
|
640
639
|
fn: FNs
|
|
641
640
|
}
|
|
642
641
|
|
|
@@ -673,20 +672,20 @@ declare global {
|
|
|
673
672
|
value: any
|
|
674
673
|
label: string
|
|
675
674
|
}
|
|
676
|
-
type SelectedCellComponentInput =
|
|
675
|
+
type SelectedCellComponentInput = React.FC<{
|
|
677
676
|
removeCallback: Function
|
|
678
677
|
defaultRemoveButton: ReactElement
|
|
679
678
|
openCallback(): void
|
|
680
679
|
value: any
|
|
681
680
|
label: string
|
|
682
681
|
}>
|
|
683
|
-
type SelectorCellComponentInput =
|
|
682
|
+
type SelectorCellComponentInput = React.FC<{
|
|
684
683
|
isSelected: boolean
|
|
685
684
|
isFocused: boolean
|
|
686
685
|
value: any
|
|
687
686
|
label: string
|
|
688
687
|
}>
|
|
689
|
-
type AddButtonComponentInput =
|
|
688
|
+
type AddButtonComponentInput = React.FC<{
|
|
690
689
|
selected: OptionParams[]
|
|
691
690
|
openCallback(): void
|
|
692
691
|
}>
|
|
@@ -722,7 +721,7 @@ declare global {
|
|
|
722
721
|
type PlainParams = Chips.PlainParams
|
|
723
722
|
}
|
|
724
723
|
namespace Filer {
|
|
725
|
-
type Methods =
|
|
724
|
+
type Methods = React.FC<PlainParams> & FNs
|
|
726
725
|
|
|
727
726
|
type PlainParams = CoreParams & React.DOMAttributes<HTMLInputElement> & {
|
|
728
727
|
tone?: BoxToneTypes
|
|
@@ -911,8 +910,8 @@ declare global {
|
|
|
911
910
|
Anchor: ToneTypes<AnchorInput>
|
|
912
911
|
}
|
|
913
912
|
type ToneTypes<T> = {
|
|
914
|
-
Plain:
|
|
915
|
-
Link:
|
|
913
|
+
Plain: React.FC<T>
|
|
914
|
+
Link: React.FC<T>
|
|
916
915
|
|
|
917
916
|
Normal: SizeTypes<T>
|
|
918
917
|
Border: SizeTypes<T>
|
|
@@ -924,10 +923,10 @@ declare global {
|
|
|
924
923
|
BorderToFill: SizeTypes<T & Tones.BorderToFill>
|
|
925
924
|
}
|
|
926
925
|
type SizeTypes<T> = {
|
|
927
|
-
XS:
|
|
928
|
-
S:
|
|
929
|
-
R:
|
|
930
|
-
L:
|
|
926
|
+
XS: React.FC<T>
|
|
927
|
+
S: React.FC<T>
|
|
928
|
+
R: React.FC<T>
|
|
929
|
+
L: React.FC<T>
|
|
931
930
|
}
|
|
932
931
|
|
|
933
932
|
namespace Tones {
|
|
@@ -990,7 +989,7 @@ declare global {
|
|
|
990
989
|
closeGroup( keyGroup: string ): void
|
|
991
990
|
closeAll( pageTransit?: boolean ): void
|
|
992
991
|
Comps: {
|
|
993
|
-
Body:
|
|
992
|
+
Body: React.FC<atoms.BoxInput>
|
|
994
993
|
}
|
|
995
994
|
}
|
|
996
995
|
|
|
@@ -1072,7 +1071,7 @@ declare global {
|
|
|
1072
1071
|
close( tipsID: string ): void
|
|
1073
1072
|
closeALL(): void
|
|
1074
1073
|
Comps: {
|
|
1075
|
-
Body:
|
|
1074
|
+
Body: React.FC<atoms.BoxInput>
|
|
1076
1075
|
}
|
|
1077
1076
|
}
|
|
1078
1077
|
|
|
@@ -1122,11 +1121,11 @@ declare global {
|
|
|
1122
1121
|
Cloud: SizeTypes<CompInput>
|
|
1123
1122
|
}
|
|
1124
1123
|
type SizeTypes<T> = {
|
|
1125
|
-
S:
|
|
1126
|
-
R:
|
|
1127
|
-
L:
|
|
1128
|
-
XL:
|
|
1129
|
-
MAX:
|
|
1124
|
+
S: React.FC<T>
|
|
1125
|
+
R: React.FC<T>
|
|
1126
|
+
L: React.FC<T>
|
|
1127
|
+
XL: React.FC<T>
|
|
1128
|
+
MAX: React.FC<T>
|
|
1130
1129
|
}
|
|
1131
1130
|
|
|
1132
1131
|
type Sizes = 'S' | 'R' | 'L' | 'XL' | 'MAX'
|
|
@@ -1180,9 +1179,9 @@ declare global {
|
|
|
1180
1179
|
animationDelay?: number
|
|
1181
1180
|
}
|
|
1182
1181
|
type Methods = {
|
|
1183
|
-
FadeIn:
|
|
1184
|
-
FadeUp:
|
|
1185
|
-
// NumberCount:
|
|
1182
|
+
FadeIn: React.FC<FadeUniParams>
|
|
1183
|
+
FadeUp: React.FC<FadeUniParams>
|
|
1184
|
+
// NumberCount: React.FC<{
|
|
1186
1185
|
// from: number
|
|
1187
1186
|
// to: number
|
|
1188
1187
|
// ms:number
|
|
@@ -1207,4 +1206,4 @@ declare global {
|
|
|
1207
1206
|
}
|
|
1208
1207
|
}
|
|
1209
1208
|
}
|
|
1210
|
-
}
|
|
1209
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module "*.scss";
|