amotify 0.0.7 → 0.0.9
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 -3
- package/{src/@types → @types}/amot.tsx +0 -1
- package/{src/@types → @types}/fn.tsx +1 -2
- package/{src/@types → @types}/index.tsx +1 -5
- package/{src/@types → @types}/jsminAmotifyExtension.tsx +1 -2
- package/dist/amotify.js +1 -0
- package/{public → dist}/amotify.min.css +22 -22
- package/package.json +4 -9
- package/src/{Atoms/@export.tsx → @atoms.tsx} +3 -3
- package/src/@functions.tsx +29 -0
- package/src/{Global/@export.tsx → @global.tsx} +2 -2
- package/src/{Molecules/@export.tsx → @molecules.tsx} +3 -3
- package/src/@organisms.tsx +5 -0
- package/src/@styles/@app.scss +2 -2
- package/src/@styles/UniStyling.scss +3 -3
- package/src/@styles/init.scss +1 -1
- package/src/@styles/{@variables/styleSet.scss → styleSet.scss} +1 -1
- package/src/{Templates/@export.tsx → @templates.tsx} +1 -1
- package/src/{Atoms → atoms}/FAIcon/style.module.scss +1 -2
- package/src/{Atoms → atoms}/Logo/parts.tsx +0 -1
- package/src/{Atoms → atoms}/Logo/style.module.scss +1 -2
- package/src/{Atoms → atoms}/Various/style.module.scss +2 -1
- package/src/{Functions → functions}/Button/style.module.scss +2 -1
- package/src/{Functions → functions}/Cropper/parts.tsx +1 -1
- package/src/{Functions → functions}/Cropper/style.module.scss +1 -1
- package/src/{Functions → functions}/Effects/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Chips/Selector.tsx +1 -2
- package/src/{Functions → functions}/Input/Chips/_.tsx +1 -5
- package/src/{Functions → functions}/Input/Chips/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/DigitCharacters.tsx +1 -1
- package/src/{Functions → functions}/Input/File/_.tsx +1 -1
- package/src/{Functions → functions}/Input/File/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/List/_.tsx +1 -1
- package/src/{Functions → functions}/Input/List/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Segmented/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Select/_.tsx +1 -1
- package/src/{Functions → functions}/Input/Select/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Slider/_.tsx +1 -1
- package/src/{Functions → functions}/Input/Slider/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Switch/_.tsx +1 -1
- package/src/{Functions → functions}/Input/Switch/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/Time/Picker.tsx +1 -1
- package/src/{Functions → functions}/Input/Time/_.tsx +2 -2
- package/src/{Functions → functions}/Input/Time/style.module.scss +1 -1
- package/src/{Functions → functions}/Input/_.tsx +1 -1
- package/src/{Functions → functions}/Input/core.tsx +1 -1
- 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 +3 -16
- package/src/functions/Inputs/types.d.ts +13 -0
- package/src/{Functions → functions}/Layout/PageNotFound.tsx +2 -4
- package/src/{Functions → functions}/Layout/PageRouter.tsx +1 -1
- package/src/{Functions → functions}/Layout/PageViewController/parts.tsx +3 -1
- package/src/{Functions → functions}/Layout/RootViewController/parts.tsx +3 -5
- package/src/{Functions → functions}/Layout/RootViewController/style.module.scss +1 -1
- package/src/{Functions → functions}/Layout/SwipeView/parts.tsx +0 -1
- package/src/{Functions → functions}/Layout/SwipeView/style.module.scss +1 -1
- package/src/{Functions → functions}/Layout/TabBar.tsx +1 -1
- package/src/{Functions → functions}/Loader/style.module.scss +1 -1
- package/src/{Functions → functions}/Sheet/parts.tsx +1 -1
- package/src/{Functions → functions}/Sheet/style.module.scss +1 -1
- package/src/{Functions → functions}/SnackBar/parts.tsx +1 -1
- package/src/{Functions → functions}/SnackBar/style.module.scss +1 -1
- package/src/{Functions → functions}/Table/Data/parts.tsx +1 -1
- package/src/{Functions → functions}/Table/Drag/parts.tsx +1 -1
- package/src/{Functions → functions}/Table/Normal/parts.tsx +1 -2
- package/src/{Functions → functions}/Table/_.tsx +1 -2
- package/src/{Functions → functions}/Table/style.module.scss +2 -1
- package/src/{Functions → functions}/Tooltips/parts.tsx +1 -1
- package/src/{Global → global}/styleConverter.tsx +1 -5
- package/src/launch.tsx +5 -5
- package/src/{Molecules → molecules}/Accordion/style.module.scss +1 -1
- package/src/{Molecules → molecules}/LinkifyText/parts.tsx +1 -1
- package/src/{Organisms → organisms}/DisplayStyleInput/darkmode.tsx +1 -1
- package/src/{Organisms → organisms}/DisplayStyleInput/themeColor.tsx +1 -1
- package/src/{Templates → templates}/PlayGround/parts.tsx +26 -39
- package/src/{Templates → templates}/PlayGround/style.module.scss +1 -1
- package/tsconfig.json +20 -24
- package/webpack.config.js +11 -9
- 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 -1
- package/src/@types/_.tsx +0 -6
- package/src/Functions/@export.tsx +0 -29
- 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/@types → @types}/module.tsx +0 -0
- /package/{src/@types → @types}/state.tsx +0 -0
- /package/src/@styles/{@variables/customProps.scss → props.scss} +0 -0
- /package/src/@styles/{@variables/themeColor.scss → themeColor.scss} +0 -0
- /package/src/@styles/{@variables/var.scss → var.scss} +0 -0
- /package/src/{Atoms → atoms}/FAIcon/parts.tsx +0 -0
- /package/src/{Atoms → atoms}/Various/parts.tsx +0 -0
- /package/src/{Functions → functions}/Button/_.tsx +0 -0
- /package/src/{Functions → functions}/Effects/Fade.tsx +0 -0
- /package/src/{Functions → functions}/Effects/Ripple.tsx +0 -0
- /package/src/{Functions → functions}/Effects/_.tsx +0 -0
- /package/src/{Functions → functions}/Input/Hidden.tsx +0 -0
- /package/src/{Functions → functions}/Input/Segmented/_.tsx +0 -0
- /package/src/{Functions → functions}/Input/Text.tsx +0 -0
- /package/src/{Functions → functions}/Input/TextArea.tsx +0 -0
- /package/src/{Functions → functions}/Inputs/_.tsx +0 -0
- /package/src/{Functions → functions}/Layout/Plate.tsx +0 -0
- /package/src/{Functions → functions}/Layout/_.tsx +0 -0
- /package/src/{Functions → functions}/Loader/corner.tsx +0 -0
- /package/src/{Functions → functions}/Loader/mini.tsx +0 -0
- /package/src/{Functions → functions}/Loader/parts.tsx +0 -0
- /package/src/{Functions → functions}/Loader/top.tsx +0 -0
- /package/src/{Global → global}/LaunchReactApplication.tsx +0 -0
- /package/src/{Molecules → molecules}/Accordion/parts.tsx +0 -0
- /package/src/{Molecules → molecules}/List.tsx +0 -0
- /package/src/{Organisms → organisms}/DisplayStyleInput/_.tsx +0 -0
package/dist/@types/amot.d.ts
DELETED
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import * as ReactDom from "react-dom";
|
|
3
|
-
import * as ReactRouterDom from "react-router";
|
|
4
|
-
export {};
|
|
5
|
-
declare global {
|
|
6
|
-
namespace amotify {
|
|
7
|
-
namespace glob {
|
|
8
|
-
type LaunchReactApplicationParams = {
|
|
9
|
-
(params: {
|
|
10
|
-
baseElement?: HTMLElement | string;
|
|
11
|
-
reactElement: ReactElement;
|
|
12
|
-
nonRouter?: boolean;
|
|
13
|
-
appearances?: {
|
|
14
|
-
roundness?: RoundnessTypes;
|
|
15
|
-
themeColor?: amotify.ThemeColorTypes;
|
|
16
|
-
tone?: amotify.ToneTypes;
|
|
17
|
-
darkMode?: amotify.DarkModeTypes;
|
|
18
|
-
};
|
|
19
|
-
}): void;
|
|
20
|
-
};
|
|
21
|
-
type useStoreParams = {
|
|
22
|
-
set(params: {
|
|
23
|
-
key: string;
|
|
24
|
-
value: any;
|
|
25
|
-
privateKey?: string;
|
|
26
|
-
}): boolean;
|
|
27
|
-
update(params: {
|
|
28
|
-
key: string;
|
|
29
|
-
value: any;
|
|
30
|
-
privateKey?: string;
|
|
31
|
-
}): boolean;
|
|
32
|
-
get(key: string, privateKey?: string): any;
|
|
33
|
-
delete(key: string, privateKey?: string): boolean;
|
|
34
|
-
};
|
|
35
|
-
type useRecycleParams = {
|
|
36
|
-
set(key: string): string;
|
|
37
|
-
do(key: string): void;
|
|
38
|
-
};
|
|
39
|
-
type PageTransitParams = {
|
|
40
|
-
open(url: string): void;
|
|
41
|
-
pushSync(url: string): void;
|
|
42
|
-
pushAsync(url: string): void;
|
|
43
|
-
push(url: string, newTab?: boolean): void;
|
|
44
|
-
back(): void;
|
|
45
|
-
};
|
|
46
|
-
namespace StyleConverter {
|
|
47
|
-
type ReadStyleSet = {
|
|
48
|
-
<T>(params: T): T;
|
|
49
|
-
};
|
|
50
|
-
type ToClassName = {
|
|
51
|
-
<T>(params: T): T;
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
type Methods = {
|
|
55
|
-
React: typeof React;
|
|
56
|
-
ReactRouterDom: typeof ReactRouterDom;
|
|
57
|
-
ReactDom: typeof ReactDom;
|
|
58
|
-
StyleConverter: {
|
|
59
|
-
ReadStyleSet: StyleConverter.ReadStyleSet;
|
|
60
|
-
ToClassName: StyleConverter.ToClassName;
|
|
61
|
-
};
|
|
62
|
-
pageTransit: PageTransitParams;
|
|
63
|
-
useStore: glob.useStoreParams;
|
|
64
|
-
useRecycle: glob.useRecycleParams;
|
|
65
|
-
LaunchReactApplication: glob.LaunchReactApplicationParams;
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
namespace atoms {
|
|
69
|
-
type BoxInput = amotifyBasicElement & {
|
|
70
|
-
children?: ReactElement;
|
|
71
|
-
} & React.HTMLAttributes<HTMLDivElement>;
|
|
72
|
-
type SpanProps = amotifyBasicElement & {
|
|
73
|
-
children?: ReactElement;
|
|
74
|
-
} & React.HTMLAttributes<HTMLSpanElement>;
|
|
75
|
-
type ParagraphProps = amotifyBasicElement & {
|
|
76
|
-
children?: ReactElement;
|
|
77
|
-
} & React.HTMLAttributes<HTMLParagraphElement>;
|
|
78
|
-
type FlexProps = amotifyBasicElement & {
|
|
79
|
-
children?: ReactElement;
|
|
80
|
-
} & React.HTMLAttributes<HTMLDivElement>;
|
|
81
|
-
type GridProps = amotifyBasicElement & {
|
|
82
|
-
children: ReactElement;
|
|
83
|
-
onClick?: {
|
|
84
|
-
(event: React.MouseEvent<HTMLDivElement, MouseEvent>): void;
|
|
85
|
-
};
|
|
86
|
-
} & React.HTMLAttributes<HTMLDivElement>;
|
|
87
|
-
namespace FAIcon {
|
|
88
|
-
type Method = FNC<FAIconFNC> & ShortCuts;
|
|
89
|
-
type FAIconFNC = amotifyBasicElement & {
|
|
90
|
-
iconFamily?: 'classic' | 'sharp';
|
|
91
|
-
isSolidIcon?: boolean;
|
|
92
|
-
isRegularIcon?: boolean;
|
|
93
|
-
isLightIcon?: boolean;
|
|
94
|
-
isThinIcon?: boolean;
|
|
95
|
-
isDuotoneIcon?: boolean;
|
|
96
|
-
iconAnimation?: false | 'beat' | 'beat-fade' | 'bounce' | 'fade' | 'flip' | 'shake' | 'spin' | 'spin-reverse' | 'spin-pulse';
|
|
97
|
-
isBrandIcon?: boolean;
|
|
98
|
-
d?: string;
|
|
99
|
-
} & React.HTMLAttributes<HTMLDivElement>;
|
|
100
|
-
type ShortCuts = {
|
|
101
|
-
[key in ShortCutNames]: FNC<Omit<FAIconFNC, 'd'>>;
|
|
102
|
-
};
|
|
103
|
-
type ShortCutNames = 'User' | 'Times' | 'Desktop' | 'AngleRight' | 'AngleLeft' | 'AngleUp' | 'AngleDown' | 'ChevronLeft' | 'ChevronRight' | 'ChevronUp' | 'ChevronDown' | 'CaretLeft' | 'CaretRight' | 'CaretUp' | 'CaretDown' | 'ArrowLeft' | 'ArrowRight' | 'ArrowUp' | 'ArrowDown' | 'Rotate' | 'RotateLeft' | 'RotateRight' | 'Redo' | 'Play' | 'Pause' | 'Stop' | 'ForwardStep' | 'BackwardStep' | 'Check' | 'CheckCircle' | 'Question' | 'QuestionCircle' | 'Exclamation' | 'ExclamationTriangle' | 'Home' | 'Share' | 'Volume' | 'Search' | 'YenSign' | 'Heart' | 'Star' | 'Edit' | 'Pen' | 'Copy' | 'Files' | 'File' | 'Backspace' | 'TrashAlt' | 'Bars' | 'Download' | 'Link' | 'LinkSlash' | 'ExternalLinkAlt' | 'Gear' | 'Plus' | 'Minus' | 'Equals' | 'Calculator' | 'Image' | 'BadgePercent';
|
|
104
|
-
}
|
|
105
|
-
namespace Image {
|
|
106
|
-
type Methods = FNC<CompInput> & DefaultImages;
|
|
107
|
-
type CompInput = amotifyBasicElement & {
|
|
108
|
-
src: string;
|
|
109
|
-
alt?: string;
|
|
110
|
-
showExpand?: boolean | string;
|
|
111
|
-
} & React.HTMLAttributes<HTMLImageElement>;
|
|
112
|
-
type DefaultImages = {
|
|
113
|
-
uri: {
|
|
114
|
-
mingooIcon: string;
|
|
115
|
-
comunIcon: string;
|
|
116
|
-
comunIconClear: string;
|
|
117
|
-
defaultIcon(type: 'image' | 'object' | 'user' | 'group' | 'store'): string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
namespace Logos {
|
|
122
|
-
type Methods = {
|
|
123
|
-
Icon: (params: Params) => JSX.Element;
|
|
124
|
-
Title: (params: Params) => JSX.Element;
|
|
125
|
-
Brands: {
|
|
126
|
-
MingooIcon: (params: DefaultLogoTypes) => JSX.Element;
|
|
127
|
-
MingooTitle: (params: DefaultLogoTypes) => JSX.Element;
|
|
128
|
-
MingooLogoH: (params: DefaultLogoTypes) => JSX.Element;
|
|
129
|
-
MingooLogoV: (params: DefaultLogoTypes) => JSX.Element;
|
|
130
|
-
ComunIcon: (params: DefaultLogoTypes) => JSX.Element;
|
|
131
|
-
ComunTitle: (params: DefaultLogoTypes) => JSX.Element;
|
|
132
|
-
ComunLogoH: (params: DefaultLogoTypes) => JSX.Element;
|
|
133
|
-
ComunLogoV: (params: DefaultLogoTypes) => JSX.Element;
|
|
134
|
-
Google: (params: DefaultLogoTypes) => JSX.Element;
|
|
135
|
-
Facebook: (params: DefaultLogoTypes) => JSX.Element;
|
|
136
|
-
Twitter: (params: DefaultLogoTypes) => JSX.Element;
|
|
137
|
-
LINE: (params: DefaultLogoTypes) => JSX.Element;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
type Params = amotifyBasicElement & {
|
|
141
|
-
size?: 'S' | 'R' | 'L' | '2L' | '3L';
|
|
142
|
-
color?: 'normal' | 'white';
|
|
143
|
-
children?: ReactElement | FNC<any>;
|
|
144
|
-
};
|
|
145
|
-
type DefaultLogoTypes = amotifyBasicElement & {
|
|
146
|
-
size?: 'S' | 'R' | 'L' | '2L' | '3L';
|
|
147
|
-
color?: 'normal' | 'white';
|
|
148
|
-
};
|
|
149
|
-
}
|
|
150
|
-
type PlaceholderParams = amotify.atoms.BoxInput & {
|
|
151
|
-
color?: 'cloud' | 'white';
|
|
152
|
-
};
|
|
153
|
-
type Methods = {
|
|
154
|
-
Box: FNC<atoms.BoxInput>;
|
|
155
|
-
Flex: FNC<atoms.FlexProps>;
|
|
156
|
-
FlexBr: FNC<amotifyUniStyleParams>;
|
|
157
|
-
Placeholder: FNC<PlaceholderParams>;
|
|
158
|
-
Grid: FNC<atoms.GridProps>;
|
|
159
|
-
FAIcon: FAIcon.Method;
|
|
160
|
-
Span: FNC<atoms.SpanProps>;
|
|
161
|
-
Paragraph: FNC<atoms.ParagraphProps>;
|
|
162
|
-
Img: atoms.Image.Methods;
|
|
163
|
-
Logo: Logos.Methods;
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
namespace mols {
|
|
167
|
-
namespace Accordion {
|
|
168
|
-
type Params = {
|
|
169
|
-
open?: boolean;
|
|
170
|
-
accordionID?: string;
|
|
171
|
-
slideAnimation?: 'none' | 'fast' | 'slow';
|
|
172
|
-
children: ReactElement;
|
|
173
|
-
onToggleEvent?: {
|
|
174
|
-
(open: boolean): void;
|
|
175
|
-
};
|
|
176
|
-
} & atoms.BoxInput;
|
|
177
|
-
type FNParams = {
|
|
178
|
-
fn: {
|
|
179
|
-
open(accordionID: string): void;
|
|
180
|
-
close(accordionID: string): void;
|
|
181
|
-
toggle(accordionID: string): void;
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
type SetParams = FNC<Params> & FNParams;
|
|
185
|
-
}
|
|
186
|
-
namespace List {
|
|
187
|
-
type Params = amotifyBasicElement & {
|
|
188
|
-
rowStyles?: amotifyUniStyleParams;
|
|
189
|
-
rows: RowsParams[];
|
|
190
|
-
};
|
|
191
|
-
type RowsParams = {
|
|
192
|
-
children: ReactElement;
|
|
193
|
-
} & amotifyBasicElement;
|
|
194
|
-
}
|
|
195
|
-
type LinkifyTextProps = {
|
|
196
|
-
text: string;
|
|
197
|
-
placeholder?: ReactElement;
|
|
198
|
-
};
|
|
199
|
-
type Methods = {
|
|
200
|
-
List: FNC<mols.List.Params>;
|
|
201
|
-
Accordion: mols.Accordion.SetParams;
|
|
202
|
-
LinkifyText: FNC<mols.LinkifyTextProps>;
|
|
203
|
-
Text: {
|
|
204
|
-
NowrapSpan: FNC<atoms.SpanProps>;
|
|
205
|
-
Title: FNC<atoms.BoxInput>;
|
|
206
|
-
SubTitle: FNC<atoms.BoxInput>;
|
|
207
|
-
ThirdTitle: FNC<atoms.BoxInput>;
|
|
208
|
-
Paragraph: FNC<atoms.BoxInput>;
|
|
209
|
-
Normal: FNC<atoms.BoxInput>;
|
|
210
|
-
Description: FNC<atoms.BoxInput>;
|
|
211
|
-
Supplement: FNC<atoms.BoxInput>;
|
|
212
|
-
};
|
|
213
|
-
Column: FNC<atoms.FlexProps>;
|
|
214
|
-
Row: {
|
|
215
|
-
Center: FNC<atoms.FlexProps>;
|
|
216
|
-
Left: FNC<atoms.FlexProps>;
|
|
217
|
-
Right: FNC<atoms.FlexProps>;
|
|
218
|
-
Separate: FNC<atoms.FlexProps>;
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
namespace orgs {
|
|
223
|
-
namespace DisplayStyleInput {
|
|
224
|
-
type Methods = {
|
|
225
|
-
Darkmode: FNC<DarkmodeInput>;
|
|
226
|
-
ThemeColor: {
|
|
227
|
-
ALL: FNC<ThemeColorInput>;
|
|
228
|
-
Basics: FNC<ThemeColorInput>;
|
|
229
|
-
Originals: FNC<ThemeColorInput>;
|
|
230
|
-
Brands: FNC<ThemeColorInput>;
|
|
231
|
-
Keys: {
|
|
232
|
-
Brands: ColorIconParams[];
|
|
233
|
-
Basics: ColorIconParams[];
|
|
234
|
-
Originals: ColorIconParams[];
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
type ColorIconParams = {
|
|
239
|
-
key: string;
|
|
240
|
-
icon: ReactElement;
|
|
241
|
-
label?: ReactElement;
|
|
242
|
-
};
|
|
243
|
-
type DarkmodeInput = atoms.BoxInput & {
|
|
244
|
-
onUpdate(params: amotify.DarkModeTypes): void;
|
|
245
|
-
};
|
|
246
|
-
type ThemeColorInput = atoms.BoxInput & {
|
|
247
|
-
onUpdate(params: amotify.ThemeColorTypes): void;
|
|
248
|
-
};
|
|
249
|
-
}
|
|
250
|
-
type Methods = {
|
|
251
|
-
DisplayStyleInput: DisplayStyleInput.Methods;
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
namespace temps {
|
|
255
|
-
type Methods = {
|
|
256
|
-
PlayGround: FNC<{}>;
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
package/dist/@types/amot.js
DELETED