amotify 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/@jsminAmotifyExtension/_.d.ts +4 -0
- package/dist/src/@jsminAmotifyExtension/fetch.d.ts +9 -0
- package/dist/src/@jsminAmotifyExtension/formCollect.d.ts +1 -0
- package/dist/src/@jsminAmotifyExtension/spreadSheet.d.ts +4 -0
- package/dist/src/@jsminAmotifyExtension/variables.d.ts +0 -0
- package/dist/src/@types/_.d.ts +6 -0
- package/dist/src/@types/amot.d.ts +260 -0
- package/dist/src/@types/fn.d.ts +1040 -0
- package/dist/src/@types/index.d.ts +62 -0
- package/dist/src/@types/jsminAmotifyExtension.d.ts +134 -0
- package/dist/src/@types/module.d.ts +2 -0
- package/dist/src/@types/state.d.ts +145 -0
- package/dist/src/Atoms/@export.d.ts +4 -0
- package/dist/src/Atoms/FAIcon/parts.d.ts +2 -0
- package/dist/src/Atoms/Logo/parts.d.ts +1 -0
- package/dist/src/Atoms/Various/parts.d.ts +9 -0
- package/dist/src/Functions/@export.d.ts +12 -0
- package/dist/src/Functions/Button/_.d.ts +1 -0
- package/dist/src/Functions/Cropper/parts.d.ts +1 -0
- package/dist/src/Functions/Effects/Fade.d.ts +1 -0
- package/dist/src/Functions/Effects/Ripple.d.ts +1 -0
- package/dist/src/Functions/Effects/_.d.ts +3 -0
- package/dist/src/Functions/Input/Chips/Selector.d.ts +1 -0
- package/dist/src/Functions/Input/Chips/_.d.ts +2 -0
- package/dist/src/Functions/Input/DigitCharacters.d.ts +1 -0
- package/dist/src/Functions/Input/File/_.d.ts +2 -0
- package/dist/src/Functions/Input/Hidden.d.ts +1 -0
- package/dist/src/Functions/Input/List/_.d.ts +1 -0
- package/dist/src/Functions/Input/Segmented/_.d.ts +1 -0
- package/dist/src/Functions/Input/Select/_.d.ts +1 -0
- package/dist/src/Functions/Input/Slider/_.d.ts +1 -0
- package/dist/src/Functions/Input/Switch/_.d.ts +1 -0
- package/dist/src/Functions/Input/Text.d.ts +5 -0
- package/dist/src/Functions/Input/TextArea.d.ts +1 -0
- package/dist/src/Functions/Input/Time/Picker.d.ts +1 -0
- package/dist/src/Functions/Input/Time/_.d.ts +2 -0
- package/dist/src/Functions/Input/_.d.ts +5 -0
- package/dist/src/Functions/Input/core.d.ts +34 -0
- package/dist/src/Functions/Inputs/_.d.ts +3 -0
- package/dist/src/Functions/Inputs/text.d.ts +12 -0
- package/dist/src/Functions/Layout/PageNotFound.d.ts +1 -0
- package/dist/src/Functions/Layout/PageRouter.d.ts +2 -0
- package/dist/src/Functions/Layout/PageViewController/parts.d.ts +1 -0
- package/dist/src/Functions/Layout/Plate.d.ts +1 -0
- package/dist/src/Functions/Layout/RootViewController/parts.d.ts +1 -0
- package/dist/src/Functions/Layout/SwipeView/parts.d.ts +2 -0
- package/dist/src/Functions/Layout/TabBar.d.ts +1 -0
- package/dist/src/Functions/Layout/_.d.ts +2 -0
- package/dist/src/Functions/Loader/corner.d.ts +1 -0
- package/dist/src/Functions/Loader/mini.d.ts +33 -0
- package/dist/src/Functions/Loader/parts.d.ts +3 -0
- package/dist/src/Functions/Loader/top.d.ts +1 -0
- package/dist/src/Functions/Sheet/parts.d.ts +2 -0
- package/dist/src/Functions/SnackBar/parts.d.ts +2 -0
- package/dist/src/Functions/Table/Data/parts.d.ts +3 -0
- package/dist/src/Functions/Table/Drag/parts.d.ts +1 -0
- package/dist/src/Functions/Table/Normal/parts.d.ts +1 -0
- package/dist/src/Functions/Table/_.d.ts +9 -0
- package/dist/src/Functions/Tooltips/parts.d.ts +2 -0
- package/dist/src/Global/@export.d.ts +12 -0
- package/dist/src/Global/LaunchReactApplication.d.ts +1 -0
- package/dist/src/Global/styleConverter.d.ts +2 -0
- package/dist/src/Molecules/@export.d.ts +21 -0
- package/dist/src/Molecules/Accordion/parts.d.ts +2 -0
- package/dist/src/Molecules/LinkifyText/parts.d.ts +1 -0
- package/dist/src/Molecules/List.d.ts +1 -0
- package/dist/src/Organisms/@export.d.ts +2 -0
- package/dist/src/Organisms/DisplayStyleInput/_.d.ts +1 -0
- package/dist/src/Organisms/DisplayStyleInput/darkmode.d.ts +1 -0
- package/dist/src/Organisms/DisplayStyleInput/themeColor.d.ts +27 -0
- package/dist/src/Templates/@export.d.ts +2 -0
- package/dist/src/Templates/PlayGround/parts.d.ts +1 -0
- package/dist/src/config.d.ts +16 -0
- package/dist/src/launch.d.ts +9 -0
- package/dist/src/preload.d.ts +1 -0
- package/package.json +2 -2
- package/src/@jsminAmotifyExtension/_.tsx +4 -0
- package/src/@jsminAmotifyExtension/fetch.tsx +107 -0
- package/src/@jsminAmotifyExtension/formCollect.tsx +89 -0
- package/src/@jsminAmotifyExtension/spreadSheet.tsx +159 -0
- package/src/@jsminAmotifyExtension/variables.tsx +130 -0
- package/src/@styles/@app.scss +4 -0
- package/src/@styles/@variables/customProps.scss +109 -0
- package/src/@styles/@variables/styleSet.scss +38 -0
- package/src/@styles/@variables/themeColor.scss +71 -0
- package/src/@styles/@variables/var.scss +171 -0
- package/src/@styles/UniStyling.scss +996 -0
- package/src/@styles/init.scss +154 -0
- package/src/@types/_.tsx +6 -0
- package/src/@types/amot.tsx +323 -0
- package/src/@types/fn.tsx +1210 -0
- package/src/@types/index.tsx +74 -0
- package/src/@types/jsminAmotifyExtension.tsx +143 -0
- package/src/@types/module.tsx +2 -0
- package/src/@types/state.tsx +199 -0
- package/src/Atoms/@export.tsx +32 -0
- package/src/Atoms/FAIcon/parts.tsx +117 -0
- package/src/Atoms/FAIcon/style.module.scss +9 -0
- package/src/Atoms/Logo/parts.tsx +335 -0
- package/src/Atoms/Logo/style.module.scss +96 -0
- package/src/Atoms/Various/parts.tsx +157 -0
- package/src/Atoms/Various/style.module.scss +40 -0
- package/src/Functions/@export.tsx +29 -0
- package/src/Functions/Button/_.tsx +305 -0
- package/src/Functions/Button/style.module.scss +183 -0
- package/src/Functions/Cropper/parts.tsx +1061 -0
- package/src/Functions/Cropper/style.module.scss +62 -0
- package/src/Functions/Effects/Fade.tsx +81 -0
- package/src/Functions/Effects/Ripple.tsx +141 -0
- package/src/Functions/Effects/_.tsx +33 -0
- package/src/Functions/Effects/style.module.scss +83 -0
- package/src/Functions/Input/Chips/Selector.tsx +451 -0
- package/src/Functions/Input/Chips/_.tsx +286 -0
- package/src/Functions/Input/Chips/style.module.scss +6 -0
- package/src/Functions/Input/DigitCharacters.tsx +241 -0
- package/src/Functions/Input/File/_.tsx +596 -0
- package/src/Functions/Input/File/style.module.scss +34 -0
- package/src/Functions/Input/Hidden.tsx +18 -0
- package/src/Functions/Input/List/_.tsx +383 -0
- package/src/Functions/Input/List/style.module.scss +84 -0
- package/src/Functions/Input/Segmented/_.tsx +238 -0
- package/src/Functions/Input/Segmented/style.module.scss +81 -0
- package/src/Functions/Input/Select/_.tsx +225 -0
- package/src/Functions/Input/Select/style.module.scss +10 -0
- package/src/Functions/Input/Slider/_.tsx +519 -0
- package/src/Functions/Input/Slider/style.module.scss +67 -0
- package/src/Functions/Input/Switch/_.tsx +177 -0
- package/src/Functions/Input/Switch/style.module.scss +18 -0
- package/src/Functions/Input/Text.tsx +437 -0
- package/src/Functions/Input/TextArea.tsx +115 -0
- package/src/Functions/Input/Time/Picker.tsx +950 -0
- package/src/Functions/Input/Time/_.tsx +736 -0
- package/src/Functions/Input/Time/style.module.scss +72 -0
- package/src/Functions/Input/_.tsx +793 -0
- package/src/Functions/Input/core.tsx +461 -0
- package/src/Functions/Input/style.module.scss +43 -0
- package/src/Functions/Inputs/_.tsx +5 -0
- package/src/Functions/Inputs/style.module.scss +15 -0
- package/src/Functions/Inputs/text.tsx +67 -0
- package/src/Functions/Inputs/types.d.ts +1 -0
- package/src/Functions/Layout/PageNotFound.tsx +81 -0
- package/src/Functions/Layout/PageRouter.tsx +107 -0
- package/src/Functions/Layout/PageViewController/parts.tsx +32 -0
- package/src/Functions/Layout/Plate.tsx +30 -0
- package/src/Functions/Layout/RootViewController/parts.tsx +290 -0
- package/src/Functions/Layout/RootViewController/style.module.scss +24 -0
- package/src/Functions/Layout/SwipeView/parts.tsx +380 -0
- package/src/Functions/Layout/SwipeView/style.module.scss +19 -0
- package/src/Functions/Layout/TabBar.tsx +64 -0
- package/src/Functions/Layout/_.tsx +20 -0
- package/src/Functions/Loader/corner.tsx +78 -0
- package/src/Functions/Loader/mini.tsx +117 -0
- package/src/Functions/Loader/parts.tsx +105 -0
- package/src/Functions/Loader/style.module.scss +222 -0
- package/src/Functions/Loader/top.tsx +90 -0
- package/src/Functions/Sheet/parts.tsx +972 -0
- package/src/Functions/Sheet/style.module.scss +235 -0
- package/src/Functions/SnackBar/parts.tsx +215 -0
- package/src/Functions/SnackBar/style.module.scss +25 -0
- package/src/Functions/Table/Data/parts.tsx +955 -0
- package/src/Functions/Table/Drag/parts.tsx +448 -0
- package/src/Functions/Table/Normal/parts.tsx +123 -0
- package/src/Functions/Table/_.tsx +170 -0
- package/src/Functions/Table/style.module.scss +92 -0
- package/src/Functions/Tooltips/parts.tsx +52 -0
- package/src/Global/@export.tsx +138 -0
- package/src/Global/LaunchReactApplication.tsx +30 -0
- package/src/Global/exe.tsx +0 -0
- package/src/Global/styleConverter.tsx +435 -0
- package/src/Molecules/@export.tsx +95 -0
- package/src/Molecules/Accordion/parts.tsx +146 -0
- package/src/Molecules/Accordion/style.module.scss +13 -0
- package/src/Molecules/LinkifyText/parts.tsx +54 -0
- package/src/Molecules/List.tsx +30 -0
- package/src/Organisms/@export.tsx +5 -0
- package/src/Organisms/DisplayStyleInput/_.tsx +18 -0
- package/src/Organisms/DisplayStyleInput/darkmode.tsx +112 -0
- package/src/Organisms/DisplayStyleInput/themeColor.tsx +210 -0
- package/src/Templates/@export.tsx +7 -0
- package/src/Templates/PlayGround/parts.tsx +115 -0
- package/src/Templates/PlayGround/style.module.scss +38 -0
- package/src/config.tsx +132 -0
- package/src/launch.tsx +100 -0
- package/src/preload.tsx +49 -0
- package/tsconfig.json +27 -14
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
@use '@uniVar' as *;
|
|
2
|
+
* {
|
|
3
|
+
padding: 0;
|
|
4
|
+
margin: 0;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
&:before, &:after {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
html {
|
|
11
|
+
&.usrDevice_ {
|
|
12
|
+
&Windows {
|
|
13
|
+
* {
|
|
14
|
+
&::-webkit-scrollbar, &::-webkit-scrollbar-track {
|
|
15
|
+
width: $unit2_3;
|
|
16
|
+
height: $unit1_2;
|
|
17
|
+
background-color: $color-layer1;
|
|
18
|
+
}
|
|
19
|
+
&::-webkit-scrollbar-thumb {
|
|
20
|
+
width: $unit2_3;
|
|
21
|
+
height: $unit2_3;
|
|
22
|
+
background-color: $color-layer5;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&Android {}
|
|
27
|
+
&macOSX {}
|
|
28
|
+
&iPhone {}
|
|
29
|
+
&iPad {}
|
|
30
|
+
}
|
|
31
|
+
* {
|
|
32
|
+
line-height: 1.5;
|
|
33
|
+
&::selection {
|
|
34
|
+
background-color: $color-theme !important;
|
|
35
|
+
color: #fff !important;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
body {
|
|
40
|
+
letter-spacing: .5px;
|
|
41
|
+
word-wrap: break-word;
|
|
42
|
+
word-break: normal;
|
|
43
|
+
color: $font-color2;
|
|
44
|
+
font-size: $font-size2;
|
|
45
|
+
font-family:
|
|
46
|
+
Noto Sans,
|
|
47
|
+
Noto Sans JP,
|
|
48
|
+
-apple-system,
|
|
49
|
+
BlinkMacSystemFont,
|
|
50
|
+
Segoe UI,
|
|
51
|
+
Helvetica,
|
|
52
|
+
Arial,
|
|
53
|
+
sans-serif;
|
|
54
|
+
font-kerning: normal;
|
|
55
|
+
// -webkit-font-smoothing: antialiased;
|
|
56
|
+
caret-color: $color-theme;
|
|
57
|
+
transition: opacity $animation-time-middle;
|
|
58
|
+
background-color: $color-dark;
|
|
59
|
+
#ROOT {
|
|
60
|
+
max-width: 200rem;
|
|
61
|
+
min-height: $viewHeight;
|
|
62
|
+
background-color: $color-base;
|
|
63
|
+
position: relative;
|
|
64
|
+
margin: 0 auto;
|
|
65
|
+
padding: 0;
|
|
66
|
+
z-index: 1;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
a, button, label, input, button, select, textarea {
|
|
70
|
+
display: inline-block;
|
|
71
|
+
font-size: inherit;
|
|
72
|
+
font-family: inherit;
|
|
73
|
+
font-weight: inherit;
|
|
74
|
+
color: inherit;
|
|
75
|
+
outline: none;
|
|
76
|
+
-webkit-appearance: none;
|
|
77
|
+
-webkit-tap-highlight-color: rgba(#000, 0);
|
|
78
|
+
touch-action: manipulation;
|
|
79
|
+
background-color: transparent;
|
|
80
|
+
border: none;
|
|
81
|
+
border-style: none;
|
|
82
|
+
text-decoration: none;
|
|
83
|
+
}
|
|
84
|
+
input, select, textarea {
|
|
85
|
+
&[ disabled] {
|
|
86
|
+
box-shadow: none !important;
|
|
87
|
+
background-color: $color-layer3 !important;
|
|
88
|
+
color: $font-color5 !important;
|
|
89
|
+
filter: grayscale(50%);
|
|
90
|
+
cursor: not-allowed !important;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
a, button, label, select {
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
}
|
|
96
|
+
input, textarea {
|
|
97
|
+
cursor: text;
|
|
98
|
+
}
|
|
99
|
+
input, textarea {
|
|
100
|
+
&::placeholder {
|
|
101
|
+
font-family: inherit;
|
|
102
|
+
color: $font-color5;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
input {
|
|
106
|
+
&:-webkit-autofill {
|
|
107
|
+
box-shadow: 0 0 0 100rem $color-layer3 inset !important;
|
|
108
|
+
-webkit-text-fill-color: $font-color3;
|
|
109
|
+
}
|
|
110
|
+
&[ type="radio"], &[ type="checkbox"], &[ type="file"] {
|
|
111
|
+
opacity: 0;
|
|
112
|
+
width: 0;
|
|
113
|
+
height: 0;
|
|
114
|
+
overflow: hidden;
|
|
115
|
+
position: absolute;
|
|
116
|
+
appearance: none;
|
|
117
|
+
}
|
|
118
|
+
min-width: 0;
|
|
119
|
+
display: block;
|
|
120
|
+
&[ type="text"], &[ type="number"] {
|
|
121
|
+
width: 100%;
|
|
122
|
+
}
|
|
123
|
+
&[ type="number"] {
|
|
124
|
+
&::-webkit-inner-spin-button,
|
|
125
|
+
&::-webkit-outer-spin-button {
|
|
126
|
+
-webkit-appearance: none;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
textarea {
|
|
131
|
+
display: block;
|
|
132
|
+
width: 100%;
|
|
133
|
+
min-height: $unit4;
|
|
134
|
+
}
|
|
135
|
+
a, label, button, canvas {
|
|
136
|
+
vertical-align: bottom;
|
|
137
|
+
}
|
|
138
|
+
svg {
|
|
139
|
+
vertical-align: top;
|
|
140
|
+
object-fit: cover;
|
|
141
|
+
height: 100%;
|
|
142
|
+
}
|
|
143
|
+
img {
|
|
144
|
+
user-drag: none;
|
|
145
|
+
-webkit-user-drag: none;
|
|
146
|
+
-moz-user-select: none;
|
|
147
|
+
}
|
|
148
|
+
img, video, iframe {
|
|
149
|
+
vertical-align: top;
|
|
150
|
+
object-fit: cover;
|
|
151
|
+
width: 100%;
|
|
152
|
+
height: 100%;
|
|
153
|
+
border-radius: inherit;
|
|
154
|
+
}
|
package/src/@types/_.tsx
ADDED
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import * as ReactDom from "react-dom";
|
|
3
|
+
import * as ReactRouterDom from "react-router";
|
|
4
|
+
|
|
5
|
+
export {}
|
|
6
|
+
|
|
7
|
+
declare global {
|
|
8
|
+
namespace amotify {
|
|
9
|
+
namespace glob {
|
|
10
|
+
type LaunchReactApplicationParams = {
|
|
11
|
+
( params: {
|
|
12
|
+
baseElement?: HTMLElement | string
|
|
13
|
+
reactElement: ReactElement
|
|
14
|
+
nonRouter?: boolean
|
|
15
|
+
appearances?: {
|
|
16
|
+
roundness?: RoundnessTypes
|
|
17
|
+
themeColor?: amotify.ThemeColorTypes
|
|
18
|
+
tone?: amotify.ToneTypes
|
|
19
|
+
darkMode?: amotify.DarkModeTypes
|
|
20
|
+
}
|
|
21
|
+
} ): void
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type useStoreParams = {
|
|
25
|
+
set( params: {
|
|
26
|
+
key: string
|
|
27
|
+
value: any
|
|
28
|
+
privateKey?: string
|
|
29
|
+
} ): boolean
|
|
30
|
+
update( params: {
|
|
31
|
+
key: string
|
|
32
|
+
value: any
|
|
33
|
+
privateKey?: string
|
|
34
|
+
} ): boolean
|
|
35
|
+
get( key: string,privateKey?: string ): any
|
|
36
|
+
delete( key: string,privateKey?: string ): boolean
|
|
37
|
+
}
|
|
38
|
+
type useRecycleParams = {
|
|
39
|
+
set( key: string ): string
|
|
40
|
+
do( key: string ): void
|
|
41
|
+
}
|
|
42
|
+
type PageTransitParams = {
|
|
43
|
+
open( url: string ): void
|
|
44
|
+
pushSync( url: string ): void
|
|
45
|
+
pushAsync( url: string ): void
|
|
46
|
+
push( url: string,newTab?: boolean ): void
|
|
47
|
+
back(): void
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
namespace StyleConverter {
|
|
51
|
+
type ReadStyleSet = {
|
|
52
|
+
<T>( params: T ): T
|
|
53
|
+
}
|
|
54
|
+
type ToClassName = {
|
|
55
|
+
<T>( params: T ): T
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
type Methods = {
|
|
60
|
+
React: typeof React
|
|
61
|
+
ReactRouterDom: typeof ReactRouterDom
|
|
62
|
+
ReactDom: typeof ReactDom
|
|
63
|
+
|
|
64
|
+
StyleConverter: {
|
|
65
|
+
ReadStyleSet: StyleConverter.ReadStyleSet
|
|
66
|
+
ToClassName: StyleConverter.ToClassName
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
pageTransit: PageTransitParams
|
|
70
|
+
useStore: glob.useStoreParams
|
|
71
|
+
useRecycle: glob.useRecycleParams
|
|
72
|
+
LaunchReactApplication: glob.LaunchReactApplicationParams
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
namespace atoms {
|
|
77
|
+
type BoxInput = amotifyBasicElement & {
|
|
78
|
+
children?: ReactElement
|
|
79
|
+
} & React.HTMLAttributes<HTMLDivElement>
|
|
80
|
+
type SpanProps = amotifyBasicElement & {
|
|
81
|
+
children?: ReactElement
|
|
82
|
+
} & React.HTMLAttributes<HTMLSpanElement>
|
|
83
|
+
type ParagraphProps = amotifyBasicElement & {
|
|
84
|
+
children?: ReactElement
|
|
85
|
+
} & React.HTMLAttributes<HTMLParagraphElement>
|
|
86
|
+
|
|
87
|
+
type FlexProps = amotifyBasicElement & {
|
|
88
|
+
children?: ReactElement
|
|
89
|
+
} & React.HTMLAttributes<HTMLDivElement>
|
|
90
|
+
|
|
91
|
+
type GridProps = amotifyBasicElement & {
|
|
92
|
+
children: ReactElement
|
|
93
|
+
|
|
94
|
+
onClick?: {
|
|
95
|
+
( event: React.MouseEvent<HTMLDivElement,MouseEvent> ): void
|
|
96
|
+
}
|
|
97
|
+
} & React.HTMLAttributes<HTMLDivElement>
|
|
98
|
+
|
|
99
|
+
namespace FAIcon {
|
|
100
|
+
type Method = FNC<FAIconFNC> & ShortCuts
|
|
101
|
+
type FAIconFNC = amotifyBasicElement & {
|
|
102
|
+
iconFamily?: 'classic' | 'sharp'
|
|
103
|
+
|
|
104
|
+
isSolidIcon?: boolean
|
|
105
|
+
isRegularIcon?: boolean
|
|
106
|
+
isLightIcon?: boolean
|
|
107
|
+
isThinIcon?: boolean
|
|
108
|
+
isDuotoneIcon?: boolean
|
|
109
|
+
|
|
110
|
+
iconAnimation?: false | 'beat' | 'beat-fade' | 'bounce' | 'fade' | 'flip' | 'shake' | 'spin' | 'spin-reverse' | 'spin-pulse'
|
|
111
|
+
isBrandIcon?: boolean
|
|
112
|
+
d?: string
|
|
113
|
+
} & React.HTMLAttributes<HTMLDivElement>
|
|
114
|
+
type ShortCuts = {
|
|
115
|
+
[ key in ShortCutNames ]: FNC<Omit<FAIconFNC,'d'>>
|
|
116
|
+
}
|
|
117
|
+
type ShortCutNames =
|
|
118
|
+
'User' | 'Times' | 'Desktop' |
|
|
119
|
+
|
|
120
|
+
'AngleRight' | 'AngleLeft' | 'AngleUp' | 'AngleDown' |
|
|
121
|
+
'ChevronLeft' | 'ChevronRight' | 'ChevronUp' | 'ChevronDown' |
|
|
122
|
+
'CaretLeft' | 'CaretRight' | 'CaretUp' | 'CaretDown' |
|
|
123
|
+
'ArrowLeft' | 'ArrowRight' | 'ArrowUp' | 'ArrowDown' |
|
|
124
|
+
|
|
125
|
+
'Rotate' | 'RotateLeft' | 'RotateRight' | 'Redo' |
|
|
126
|
+
'Play' | 'Pause' | 'Stop' | 'ForwardStep' | 'BackwardStep' |
|
|
127
|
+
'Check' | 'CheckCircle' |
|
|
128
|
+
'Question' | 'QuestionCircle' | 'Exclamation' | 'ExclamationTriangle' |
|
|
129
|
+
'Home' | 'Share' | 'Volume' |
|
|
130
|
+
'Search' | 'YenSign' | 'Heart' | 'Star' |
|
|
131
|
+
'Edit' | 'Pen' | 'Copy' | 'Files' | 'File' |
|
|
132
|
+
'Backspace' | 'TrashAlt' | 'Bars' | 'Download' |
|
|
133
|
+
'Link' | 'LinkSlash' | 'ExternalLinkAlt' |
|
|
134
|
+
'Gear' |
|
|
135
|
+
'Plus' | 'Minus' | 'Equals' | 'Calculator' |
|
|
136
|
+
'Image' | 'BadgePercent'
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
namespace Image {
|
|
140
|
+
type Methods = FNC<CompInput> & DefaultImages;
|
|
141
|
+
type CompInput = amotifyBasicElement & {
|
|
142
|
+
src: string
|
|
143
|
+
alt?: string
|
|
144
|
+
showExpand?: boolean | string
|
|
145
|
+
} & React.HTMLAttributes<HTMLImageElement>
|
|
146
|
+
|
|
147
|
+
type DefaultImages = {
|
|
148
|
+
uri: {
|
|
149
|
+
mingooIcon: string
|
|
150
|
+
comunIcon: string
|
|
151
|
+
comunIconClear: string
|
|
152
|
+
defaultIcon( type:
|
|
153
|
+
'image' |
|
|
154
|
+
'object' |
|
|
155
|
+
'user' |
|
|
156
|
+
'group' |
|
|
157
|
+
'store'
|
|
158
|
+
): string
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
namespace Logos {
|
|
166
|
+
type Methods = {
|
|
167
|
+
Icon: ( params: Params ) => JSX.Element
|
|
168
|
+
Title: ( params: Params ) => JSX.Element
|
|
169
|
+
|
|
170
|
+
Brands: {
|
|
171
|
+
MingooIcon: ( params: DefaultLogoTypes ) => JSX.Element
|
|
172
|
+
MingooTitle: ( params: DefaultLogoTypes ) => JSX.Element
|
|
173
|
+
MingooLogoH: ( params: DefaultLogoTypes ) => JSX.Element
|
|
174
|
+
MingooLogoV: ( params: DefaultLogoTypes ) => JSX.Element
|
|
175
|
+
|
|
176
|
+
ComunIcon: ( params: DefaultLogoTypes ) => JSX.Element
|
|
177
|
+
ComunTitle: ( params: DefaultLogoTypes ) => JSX.Element
|
|
178
|
+
ComunLogoH: ( params: DefaultLogoTypes ) => JSX.Element
|
|
179
|
+
ComunLogoV: ( params: DefaultLogoTypes ) => JSX.Element
|
|
180
|
+
|
|
181
|
+
Google: ( params: DefaultLogoTypes ) => JSX.Element
|
|
182
|
+
Facebook: ( params: DefaultLogoTypes ) => JSX.Element
|
|
183
|
+
Twitter: ( params: DefaultLogoTypes ) => JSX.Element
|
|
184
|
+
LINE: ( params: DefaultLogoTypes ) => JSX.Element
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
type Params = amotifyBasicElement & {
|
|
188
|
+
size?: 'S' | 'R' | 'L' | '2L' | '3L'
|
|
189
|
+
color?: 'normal' | 'white'
|
|
190
|
+
children?: ReactElement | FNC<any>
|
|
191
|
+
}
|
|
192
|
+
type DefaultLogoTypes = amotifyBasicElement & {
|
|
193
|
+
size?: 'S' | 'R' | 'L' | '2L' | '3L'
|
|
194
|
+
color?: 'normal' | 'white'
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
type PlaceholderParams = amotify.atoms.BoxInput & {
|
|
199
|
+
color?: 'cloud' | 'white'
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
type Methods = {
|
|
203
|
+
Box: FNC<atoms.BoxInput>
|
|
204
|
+
|
|
205
|
+
Flex: FNC<atoms.FlexProps>
|
|
206
|
+
FlexBr: FNC<amotifyUniStyleParams>
|
|
207
|
+
|
|
208
|
+
Placeholder: FNC<PlaceholderParams>
|
|
209
|
+
|
|
210
|
+
Grid: FNC<atoms.GridProps>
|
|
211
|
+
|
|
212
|
+
FAIcon: FAIcon.Method
|
|
213
|
+
|
|
214
|
+
Span: FNC<atoms.SpanProps>
|
|
215
|
+
Paragraph: FNC<atoms.ParagraphProps>
|
|
216
|
+
Img: atoms.Image.Methods
|
|
217
|
+
|
|
218
|
+
Logo: Logos.Methods
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
namespace mols {
|
|
223
|
+
namespace Accordion {
|
|
224
|
+
type Params = {
|
|
225
|
+
open?: boolean
|
|
226
|
+
accordionID?: string
|
|
227
|
+
slideAnimation?: 'none' | 'fast' | 'slow'
|
|
228
|
+
children: ReactElement
|
|
229
|
+
onToggleEvent?: {
|
|
230
|
+
( open: boolean ): void
|
|
231
|
+
}
|
|
232
|
+
} & atoms.BoxInput
|
|
233
|
+
type FNParams = {
|
|
234
|
+
fn: {
|
|
235
|
+
open( accordionID: string ): void
|
|
236
|
+
close( accordionID: string ): void
|
|
237
|
+
toggle( accordionID: string ): void
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
type SetParams = FNC<Params> & FNParams
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
namespace List {
|
|
244
|
+
type Params = amotifyBasicElement & {
|
|
245
|
+
rowStyles?: amotifyUniStyleParams
|
|
246
|
+
rows: RowsParams[]
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
type RowsParams = {
|
|
250
|
+
children: ReactElement
|
|
251
|
+
} & amotifyBasicElement
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
type LinkifyTextProps = {
|
|
255
|
+
text: string
|
|
256
|
+
placeholder?: ReactElement
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
type Methods = {
|
|
260
|
+
List: FNC<mols.List.Params>
|
|
261
|
+
Accordion: mols.Accordion.SetParams
|
|
262
|
+
LinkifyText: FNC<mols.LinkifyTextProps>
|
|
263
|
+
Text: {
|
|
264
|
+
NowrapSpan: FNC<atoms.SpanProps>
|
|
265
|
+
Title: FNC<atoms.BoxInput>
|
|
266
|
+
SubTitle: FNC<atoms.BoxInput>
|
|
267
|
+
ThirdTitle: FNC<atoms.BoxInput>
|
|
268
|
+
Paragraph: FNC<atoms.BoxInput>
|
|
269
|
+
Normal: FNC<atoms.BoxInput>
|
|
270
|
+
Description: FNC<atoms.BoxInput>
|
|
271
|
+
Supplement: FNC<atoms.BoxInput>
|
|
272
|
+
}
|
|
273
|
+
Column: FNC<atoms.FlexProps>
|
|
274
|
+
Row: {
|
|
275
|
+
Center: FNC<atoms.FlexProps>
|
|
276
|
+
Left: FNC<atoms.FlexProps>
|
|
277
|
+
Right: FNC<atoms.FlexProps>
|
|
278
|
+
Separate: FNC<atoms.FlexProps>
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
namespace orgs {
|
|
284
|
+
namespace DisplayStyleInput {
|
|
285
|
+
type Methods = {
|
|
286
|
+
Darkmode: FNC<DarkmodeInput>
|
|
287
|
+
ThemeColor: {
|
|
288
|
+
ALL: FNC<ThemeColorInput>
|
|
289
|
+
Basics: FNC<ThemeColorInput>
|
|
290
|
+
Originals: FNC<ThemeColorInput>
|
|
291
|
+
Brands: FNC<ThemeColorInput>
|
|
292
|
+
Keys: {
|
|
293
|
+
Brands: ColorIconParams[]
|
|
294
|
+
Basics: ColorIconParams[]
|
|
295
|
+
Originals: ColorIconParams[]
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
type ColorIconParams = {
|
|
300
|
+
key: string
|
|
301
|
+
icon: ReactElement
|
|
302
|
+
label?: ReactElement
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
type DarkmodeInput = atoms.BoxInput & {
|
|
306
|
+
onUpdate( params: amotify.DarkModeTypes ): void
|
|
307
|
+
}
|
|
308
|
+
type ThemeColorInput = atoms.BoxInput & {
|
|
309
|
+
onUpdate( params: amotify.ThemeColorTypes ): void
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
type Methods = {
|
|
313
|
+
DisplayStyleInput: DisplayStyleInput.Methods
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
namespace temps {
|
|
318
|
+
type Methods = {
|
|
319
|
+
PlayGround: FNC<{}>
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|