amotify 0.0.67 → 0.0.69
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/amotify.js +1 -1
- package/dist/amotify.min.css +1 -1
- package/dist/coreVender.js +2 -2
- package/dist/src/@declations/_.d.ts +0 -4
- package/dist/src/@declations/jsminAmotifyExtension.d.ts +0 -31
- package/dist/src/@jsminAmotifyExtension/_.d.ts +0 -1
- package/dist/src/@variables.d.ts +1 -0
- package/dist/src/functions/Loader/mini.d.ts +33 -4
- package/dist/src/launch.d.ts +7 -5
- package/export.d.ts +8 -0
- package/package.json +2 -2
- package/tsconfig.json +12 -4
- package/dist/src/@jsminAmotifyExtension/fetch.d.ts +0 -1
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import './module';
|
|
3
|
-
import _$ from 'jsmin-front';
|
|
4
|
-
declare global {
|
|
5
|
-
var $: typeof _$;
|
|
6
|
-
}
|
|
7
3
|
export type Device = 'windows' | 'android' | 'iPhone' | 'iPad' | 'macOSX' | 'undefined';
|
|
8
4
|
export type Browser = 'chrome' | 'firefox' | 'safari' | 'opera' | 'ie' | 'edge' | 'undefined';
|
|
9
5
|
export type ReactElement = React.ReactNode | React.ReactNode[];
|
|
@@ -1,40 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Jsmin } from 'jsmin-front';
|
|
3
2
|
import { ReactElement } from './_';
|
|
4
3
|
import { fn } from './amotify';
|
|
5
4
|
declare const _default: {};
|
|
6
5
|
export default _default;
|
|
7
6
|
declare global {
|
|
8
|
-
interface JsminExtension {
|
|
9
|
-
fetch: {
|
|
10
|
-
get: JsminExtension.Fetch.CoreParams;
|
|
11
|
-
post: JsminExtension.Fetch.CoreParams;
|
|
12
|
-
put: JsminExtension.Fetch.CoreParams;
|
|
13
|
-
options: JsminExtension.Fetch.CoreParams;
|
|
14
|
-
waitList: string[];
|
|
15
|
-
defaultHeaders: plainObject;
|
|
16
|
-
defaultResultCallback?: {
|
|
17
|
-
(params: Jsmin.Fetch.Output): void;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
namespace JsminExtension {
|
|
22
|
-
namespace Fetch {
|
|
23
|
-
type CoreParams = {
|
|
24
|
-
(params: JsminExtension.Fetch.Input, callback?: JsminExtension.Fetch.callback): Promise<Jsmin.Fetch.Output>;
|
|
25
|
-
};
|
|
26
|
-
type Input = {
|
|
27
|
-
key?: string;
|
|
28
|
-
topLoader?: boolean;
|
|
29
|
-
cornerLoader?: boolean;
|
|
30
|
-
trafficControl?: number;
|
|
31
|
-
preventMultiRequest?: boolean;
|
|
32
|
-
} & Omit<Jsmin.Fetch.Input, 'method'>;
|
|
33
|
-
type callback = {
|
|
34
|
-
(result: Jsmin.Fetch.Output): void;
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
7
|
interface JsminExtension {
|
|
39
8
|
spreadSheet: {
|
|
40
9
|
readFromFile(file: fn.Input.Filer.CustomFile): Promise<JsminExtension.SpreadSheet.Method>;
|
package/dist/src/@variables.d.ts
CHANGED
|
@@ -1,7 +1,36 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { fn } from '@declations';
|
|
2
|
+
import { Styles, fn } from '@declations';
|
|
3
3
|
import { React } from '@global';
|
|
4
|
-
export declare const Mini: (params:
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
export declare const Mini: (params: Styles.Pargins.Params & Styles.Fonts.Params & Styles.Borders.Params & Styles.FlexGrids.Params & Styles.Sizes.Params & Styles.StyleSets.Params & {
|
|
5
|
+
backgroundColor?: Styles.Others.BackgroundColor | undefined;
|
|
6
|
+
gradients?: {
|
|
7
|
+
deg: number;
|
|
8
|
+
colors: string[];
|
|
9
|
+
} | undefined;
|
|
10
|
+
boxShadow?: "2.normal" | "0.thin" | "none" | "1.thin" | "4.thin" | "3.thin.inset" | "3.normal.inset" | "3.remark.inset" | "3.thick.inset" | "3.most.inset" | "2.thin.inset" | "2.normal.inset" | "2.remark.inset" | "2.thick.inset" | "2.most.inset" | "1.thin.inset" | "1.normal.inset" | "1.remark.inset" | "1.thick.inset" | "1.most.inset" | "0.thin.inset" | "0.normal.inset" | "0.remark.inset" | "0.thick.inset" | "0.most.inset" | "0.normal" | "0.remark" | "0.thick" | "0.most" | "1.normal" | "1.remark" | "1.thick" | "1.most" | "2.thin" | "2.remark" | "2.thick" | "2.most" | "3.thin" | "3.normal" | "3.remark" | "3.thick" | "3.most" | "4.normal" | "4.remark" | "4.thick" | "4.most" | "5.thin" | "5.normal" | "5.remark" | "5.thick" | "5.most" | undefined;
|
|
11
|
+
display?: "grid" | "none" | "block" | "flex" | "inlineBlock" | "inlineFlex" | undefined;
|
|
12
|
+
gap?: Styles.Others.gap | undefined;
|
|
13
|
+
overflow?: Styles.Others.overflow | undefined;
|
|
14
|
+
position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
|
|
15
|
+
top?: "topNavigationHeight" | Styles.Others.TRBL | "topBase" | undefined;
|
|
16
|
+
right?: Styles.Others.TRBL | undefined;
|
|
17
|
+
bottom?: Styles.Others.TRBL | undefined;
|
|
18
|
+
left?: Styles.Others.TRBL | undefined;
|
|
19
|
+
opacity?: "middle" | "trans" | "few" | "low" | "high" | "most" | undefined;
|
|
20
|
+
transition?: "none" | "middle" | "short" | "long" | undefined;
|
|
21
|
+
} & {
|
|
22
|
+
freeCSS?: React.CSSProperties | undefined;
|
|
23
|
+
UnderBreakPointStyles?: Styles.Properties | undefined;
|
|
24
|
+
hoverStyles?: Styles.Properties | undefined;
|
|
25
|
+
focusStyles?: Styles.Properties | undefined;
|
|
26
|
+
activeStyles?: Styles.Properties | undefined;
|
|
27
|
+
ssEffectsOnActive?: false | Styles.Others.EffectsOnActive | Styles.Others.EffectsOnActive[] | undefined;
|
|
28
|
+
ssPushable?: boolean | undefined;
|
|
29
|
+
ssLastChildLossBorder?: false | "right" | "bottom" | undefined;
|
|
30
|
+
} & {
|
|
31
|
+
showInitial?: boolean | undefined;
|
|
32
|
+
loaderID?: string | undefined;
|
|
33
|
+
} & {
|
|
34
|
+
color?: fn.Loader.Colors | undefined;
|
|
35
|
+
size?: fn.Loader.Sizes | undefined;
|
|
7
36
|
}) => React.JSX.Element;
|
package/dist/src/launch.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import '
|
|
1
|
+
import _$ from 'jsmin-front';
|
|
2
|
+
declare global {
|
|
3
|
+
var $: typeof _$;
|
|
4
|
+
}
|
|
2
5
|
export { Device, Browser, Styles, ReactElement, config, global, atoms, mols, orgs, temps, fn } from './@declations/_';
|
|
3
6
|
import { amotify } from './@declations/_';
|
|
4
|
-
import { launchID } from './@variables';
|
|
5
|
-
export { launchID };
|
|
6
|
-
declare let publicURI: string;
|
|
7
|
-
export { publicURI };
|
|
7
|
+
import { launchID, publicURI } from './@variables';
|
|
8
|
+
export { launchID, publicURI };
|
|
8
9
|
import './@jsminAmotifyExtension/_';
|
|
10
|
+
import './@styles/@app.scss';
|
|
9
11
|
declare const instance: amotify;
|
|
10
12
|
export default instance;
|
package/export.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import './src/@styles/@app.scss';
|
|
2
|
+
export { Device, Browser, Styles, ReactElement, config, global, atoms, mols, orgs, temps, fn } from './src/@declations/_';
|
|
3
|
+
import { amotify } from './src/@declations/_';
|
|
4
|
+
import { launchID, publicURI } from './src/@variables';
|
|
5
|
+
export { launchID, publicURI };
|
|
6
|
+
import './src/@jsminAmotifyExtension/_';
|
|
7
|
+
declare const instance: amotify;
|
|
8
|
+
export default instance;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amotify",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.69",
|
|
4
4
|
"description": "UI Component for React",
|
|
5
5
|
"main": "dist/amotify.js",
|
|
6
|
-
"types": "
|
|
6
|
+
"types": "export.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"clean": "rimraf dist",
|
|
9
9
|
"devCDN:webpack": "webpack --mode development --watch",
|
package/tsconfig.json
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"lib": [
|
|
4
|
-
"
|
|
4
|
+
"dom",
|
|
5
|
+
"dom.iterable",
|
|
6
|
+
"esnext"
|
|
5
7
|
],
|
|
6
8
|
"jsx": "react",
|
|
7
|
-
|
|
8
|
-
"target": "ES2016",
|
|
9
|
+
"target": "es5",
|
|
10
|
+
// "target": "ES2016",
|
|
9
11
|
"module": "commonjs",
|
|
12
|
+
|
|
13
|
+
// "target": "es2020",
|
|
14
|
+
// "module": "esnext",
|
|
15
|
+
// "moduleResolution": "Node",
|
|
16
|
+
|
|
10
17
|
"baseUrl": "./",
|
|
11
18
|
"paths": {
|
|
12
19
|
"~": [
|
|
@@ -53,6 +60,7 @@
|
|
|
53
60
|
"allowJs": true,
|
|
54
61
|
"emitDeclarationOnly": false,
|
|
55
62
|
"declaration": true,
|
|
63
|
+
// "declaration": false,
|
|
56
64
|
"sourceMap": false,
|
|
57
65
|
"outDir": "./dist",
|
|
58
66
|
"noImplicitAny": true,
|
|
@@ -70,6 +78,6 @@
|
|
|
70
78
|
"dist"
|
|
71
79
|
],
|
|
72
80
|
"include": [
|
|
73
|
-
"src/*",
|
|
81
|
+
"src/*", "export.d.ts",
|
|
74
82
|
]
|
|
75
83
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|