amotify 0.0.3 → 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,9 @@
|
|
|
1
|
+
declare const fetcher: (params: {
|
|
2
|
+
key: string;
|
|
3
|
+
topLoader?: boolean | undefined;
|
|
4
|
+
cornerLoader?: boolean | undefined;
|
|
5
|
+
trafficControl?: number | undefined;
|
|
6
|
+
preventMultiRequest?: boolean | undefined;
|
|
7
|
+
} & Omit<Jsmin.Fetch.Input, "method"> & {
|
|
8
|
+
method: string;
|
|
9
|
+
}, callback?: JsminExtension.Fetch.callback | undefined) => Promise<Jsmin.Fetch.Output>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,260 @@
|
|
|
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
|
+
}
|