v-eris 1.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/package.json +63 -0
- package/release/esm/03523cf578d69fa92322.ttf +0 -0
- package/release/esm/c9d9202d39212162d5e5.ttf +0 -0
- package/release/esm/components/Card/index.js +18 -0
- package/release/esm/components/Card/index.js.map +1 -0
- package/release/esm/components/Column/index.js +13 -0
- package/release/esm/components/Column/index.js.map +1 -0
- package/release/esm/components/Divider/index.js +10 -0
- package/release/esm/components/Divider/index.js.map +1 -0
- package/release/esm/components/Editable/index.js +54 -0
- package/release/esm/components/Editable/index.js.map +1 -0
- package/release/esm/components/Eris/index.js +9 -0
- package/release/esm/components/Eris/index.js.map +1 -0
- package/release/esm/components/Flex/index.js +8 -0
- package/release/esm/components/Flex/index.js.map +1 -0
- package/release/esm/components/Icons/index.js +1500 -0
- package/release/esm/components/Icons/index.js.map +1 -0
- package/release/esm/components/Lang/index.js +32 -0
- package/release/esm/components/Lang/index.js.map +1 -0
- package/release/esm/components/List/index.js +111 -0
- package/release/esm/components/List/index.js.map +1 -0
- package/release/esm/components/List/leaf.js +44 -0
- package/release/esm/components/List/leaf.js.map +1 -0
- package/release/esm/components/Row/index.js +28 -0
- package/release/esm/components/Row/index.js.map +1 -0
- package/release/esm/components/Theme/index.js +3 -0
- package/release/esm/components/Theme/index.js.map +1 -0
- package/release/esm/components/Tooltip/index.js +94 -0
- package/release/esm/components/Tooltip/index.js.map +1 -0
- package/release/esm/components/Typography/index.js +16 -0
- package/release/esm/components/Typography/index.js.map +1 -0
- package/release/esm/examples/example.js +40 -0
- package/release/esm/examples/example.js.map +1 -0
- package/release/esm/examples/routes/icons.js +23 -0
- package/release/esm/examples/routes/icons.js.map +1 -0
- package/release/esm/examples/routes/list.js +45 -0
- package/release/esm/examples/routes/list.js.map +1 -0
- package/release/esm/examples/routes/typography.js +37 -0
- package/release/esm/examples/routes/typography.js.map +1 -0
- package/release/esm/index.js +45 -0
- package/release/esm/index.js.map +1 -0
- package/release/esm/main.js +22 -0
- package/release/esm/main.js.map +1 -0
- package/release/esm/utility/animation.js +60 -0
- package/release/esm/utility/animation.js.map +1 -0
- package/release/esm/utility/common.js +313 -0
- package/release/esm/utility/common.js.map +1 -0
- package/release/esm/utility/cookie.js +42 -0
- package/release/esm/utility/cookie.js.map +1 -0
- package/release/esm/utility/mutable.js +267 -0
- package/release/esm/utility/mutable.js.map +1 -0
- package/release/esm/utility/props.js +39 -0
- package/release/esm/utility/props.js.map +1 -0
- package/release/esm/utility/requests.js +83 -0
- package/release/esm/utility/requests.js.map +1 -0
- package/release/esm/utility/storage.js +46 -0
- package/release/esm/utility/storage.js.map +1 -0
- package/release/esm/utility/time.js +207 -0
- package/release/esm/utility/time.js.map +1 -0
- package/release/esm/utility/vmath.js +21 -0
- package/release/esm/utility/vmath.js.map +1 -0
- package/tsconfig.json +39 -0
package/package.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "v-eris",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "",
|
|
5
|
+
"bootstrapVersion": 3,
|
|
6
|
+
"styleLoaders": [],
|
|
7
|
+
"main": "./release/cjs/index.js",
|
|
8
|
+
"module": "./source/index.ts",
|
|
9
|
+
"types": "./source/index.ts",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"webpack": "webpack --mode development",
|
|
12
|
+
"auto": "tsc -watch - tsconfig.json",
|
|
13
|
+
"build": "yarn build:esm && yarn build:cjs",
|
|
14
|
+
"build:esm": "tsc",
|
|
15
|
+
"build:cjs": "tsc --module commonjs --outDir release/cjs",
|
|
16
|
+
"tsc2": "tsc && tsc -m es6 --outDir release && webpack --mode development",
|
|
17
|
+
"tsc": "tsc",
|
|
18
|
+
"tsc3": "tsc --emitDeclarationOnly",
|
|
19
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
20
|
+
"start": "webpack-dev-server --mode development",
|
|
21
|
+
"production": "webpack --mode production",
|
|
22
|
+
"pub": "tsc && npm version patch --force && npm publish --access public"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"package.json",
|
|
26
|
+
"tsconfig.json",
|
|
27
|
+
"release/*"
|
|
28
|
+
],
|
|
29
|
+
"imports": {
|
|
30
|
+
"@assets/*": "../assets/*",
|
|
31
|
+
"@styles/*": "../assets/styles/*",
|
|
32
|
+
"@components/*": "../source/components/*",
|
|
33
|
+
"@examples/*": "../source/examples/*",
|
|
34
|
+
"@utility/*": "../source/utility/*"
|
|
35
|
+
},
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/V3xare/eris.git"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [],
|
|
41
|
+
"author": "",
|
|
42
|
+
"license": "ISC",
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"axios": "^1.4.0",
|
|
45
|
+
"css-loader": "^6.8.1",
|
|
46
|
+
"html-webpack-plugin": "^5.5.3",
|
|
47
|
+
"module-alias": "^2.2.3",
|
|
48
|
+
"node-sass": "^9.0.0",
|
|
49
|
+
"sass-loader": "^13.3.2",
|
|
50
|
+
"style-loader": "^3.3.3",
|
|
51
|
+
"ts-loader": "^9.4.4",
|
|
52
|
+
"typescript": "^5.1.6",
|
|
53
|
+
"webpack": "^5.88.2",
|
|
54
|
+
"webpack-cli": "^5.1.4",
|
|
55
|
+
"react": "^18.2.0",
|
|
56
|
+
"react-dom": "^18.2.0",
|
|
57
|
+
"react-router-dom": "^6.2.1"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"esbuild-loader": "^3.0.1",
|
|
61
|
+
"webpack-dev-server": "^4.15.1"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { __rest } from "tslib";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Props } from "../../utility/props";
|
|
4
|
+
import "./styles/index.scss";
|
|
5
|
+
export var Card = function (props) {
|
|
6
|
+
var className = props.className, children = props.children, style = props.style, margin = props.margin, padding = props.padding, rest = __rest(props, ["className", "children", "style", "margin", "padding"]);
|
|
7
|
+
var wrapStyle = style || {};
|
|
8
|
+
var bodyStyle = {};
|
|
9
|
+
if (padding !== undefined)
|
|
10
|
+
bodyStyle["padding"] = padding;
|
|
11
|
+
if (margin !== undefined)
|
|
12
|
+
wrapStyle["margin"] = margin;
|
|
13
|
+
return (React.createElement("div", { className: Props.className("card", className, {
|
|
14
|
+
borderless: props.borderless
|
|
15
|
+
}), style: wrapStyle },
|
|
16
|
+
React.createElement("div", { className: "card-body", style: bodyStyle }, children)));
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/components/Card/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,OAAO,qBAAqB,CAAA;AAE5B,MAAM,CAAC,IAAM,IAAI,GAAG,UAAE,KAAK;IAClB,IAAA,SAAS,GAAgD,KAAK,UAArD,EAAE,QAAQ,GAAsC,KAAK,SAA3C,EAAE,KAAK,GAA+B,KAAK,MAApC,EAAE,MAAM,GAAuB,KAAK,OAA5B,EAAE,OAAO,GAAc,KAAK,QAAnB,EAAK,IAAI,UAAK,KAAK,EAAhE,uDAAwD,CAAF,CAAW;IACvE,IAAI,SAAS,GAAG,KAAK,IAAI,EAAE,CAAC;IAC5B,IAAI,SAAS,GAAG,EAAE,CAAC;IAEnB,IAAI,OAAO,KAAK,SAAS;QACxB,SAAS,CAAE,SAAS,CAAE,GAAG,OAAO,CAAC;IAClC,IAAI,MAAM,KAAK,SAAS;QACvB,SAAS,CAAE,QAAQ,CAAE,GAAG,MAAM,CAAC;IAEhC,OAAO,CAAC,6BACP,SAAS,EACR,KAAK,CAAC,SAAS,CAAE,MAAM,EAAE,SAAS,EAAE;YACnC,UAAU,EAAE,KAAK,CAAC,UAAU;SAC5B,CAAC,EAEH,KAAK,EAAG,SAAS;QAEjB,6BAAK,SAAS,EAAG,WAAW,EAAG,KAAK,EAAG,SAAS,IAAK,QAAQ,CAAQ,CAChE,CAAC,CAAC;AACT,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Props } from "../../utility/props";
|
|
4
|
+
import "./styles/index.scss";
|
|
5
|
+
import { ParseFlexParam } from "../../components/Row";
|
|
6
|
+
export var Column = function (props) {
|
|
7
|
+
var className = props.className, children = props.children, style = props.style, flex = props.flex, rest = __rest(props, ["className", "children", "style", "flex"]);
|
|
8
|
+
var inlineStyle = __assign({}, style);
|
|
9
|
+
if (flex)
|
|
10
|
+
inlineStyle["flex"] = ParseFlexParam(flex);
|
|
11
|
+
return (React.createElement("div", __assign({ className: Props.className("column", className), style: inlineStyle }, rest), children));
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/components/Column/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,OAAO,qBAAqB,CAAA;AAE5B,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,CAAC,IAAM,MAAM,GAAG,UAAE,KAAK;IACtB,IAAA,SAAS,GAAqC,KAAK,UAA1C,EAAE,QAAQ,GAA2B,KAAK,SAAhC,EAAE,KAAK,GAAoB,KAAK,MAAzB,EAAE,IAAI,GAAc,KAAK,KAAnB,EAAK,IAAI,UAAK,KAAK,EAArD,0CAA6C,CAAF,CAAW;IAE1D,IAAI,WAAW,gBAAQ,KAAK,CAAE,CAAC;IAE/B,IAAI,IAAI;QACP,WAAW,CAAE,MAAM,CAAE,GAAG,cAAc,CAAE,IAAI,CAAE,CAAC;IAEhD,OAAO,CAAC,sCACP,SAAS,EACR,KAAK,CAAC,SAAS,CAAE,QAAQ,EAAE,SAAS,CAAE,EAEvC,KAAK,EAAG,WAAW,IACd,IAAI,GAET,QAAQ,CACF,CAAC,CAAC;AACV,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __rest } from "tslib";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Props } from "../../utility/props";
|
|
4
|
+
import { Text } from "../../components/Typography";
|
|
5
|
+
import "./styles/index.scss";
|
|
6
|
+
export var Divider = function (props) {
|
|
7
|
+
var className = props.className, children = props.children, style = props.style, rest = __rest(props, ["className", "children", "style"]);
|
|
8
|
+
return (React.createElement("div", { className: Props.className("divider", className), style: style }, React.createElement(Text, { strong: true }, children)));
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/components/Divider/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAEnD,OAAO,qBAAqB,CAAA;AAE5B,MAAM,CAAC,IAAM,OAAO,GAAG,UAAE,KAAK;IACrB,IAAA,SAAS,GAA+B,KAAK,UAApC,EAAE,QAAQ,GAAqB,KAAK,SAA1B,EAAE,KAAK,GAAc,KAAK,MAAnB,EAAK,IAAI,UAAK,KAAK,EAA/C,kCAAuC,CAAF,CAAW;IAEtD,OAAO,CAAC,6BACP,SAAS,EACR,KAAK,CAAC,SAAS,CAAE,SAAS,EAAE,SAAS,CAAE,EAExC,KAAK,EAAG,KAAK,IAEb,oBAAC,IAAI,IAAC,MAAM,UAAG,QAAQ,CAAS,CAC1B,CAAC,CAAC;AACV,CAAC,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import React, { useState, useRef } from "react";
|
|
3
|
+
import { Props } from "../../utility/props";
|
|
4
|
+
import "./styles/index.scss";
|
|
5
|
+
import { Text } from "../../components/Typography";
|
|
6
|
+
import { Icons } from "../../components/Icons";
|
|
7
|
+
import { Tooltip } from "../../components/Tooltip";
|
|
8
|
+
export function Editable(props) {
|
|
9
|
+
var className = props.className, children = props.children, rest = __rest(props, ["className", "children"]);
|
|
10
|
+
var _a = useState(children || ""), text = _a[0], setText = _a[1];
|
|
11
|
+
var _b = useState(0), height = _b[0], setHeight = _b[1];
|
|
12
|
+
var _c = useState(false), focus = _c[0], setFocus = _c[1];
|
|
13
|
+
var area = useRef(null);
|
|
14
|
+
return (React.createElement("div", { className: Props.className("typography", className, {
|
|
15
|
+
editable: true
|
|
16
|
+
}) },
|
|
17
|
+
React.createElement(Text, __assign({ className: (className || "") }, rest), text || " "),
|
|
18
|
+
React.createElement(Tooltip, { content: "Edit" },
|
|
19
|
+
React.createElement(Icons.pencil, { active: true, hidden: focus, onClick: function () {
|
|
20
|
+
setFocus(!focus);
|
|
21
|
+
setTimeout(function () {
|
|
22
|
+
if (!area.current)
|
|
23
|
+
return;
|
|
24
|
+
area.current.focus();
|
|
25
|
+
area.current.setSelectionRange(area.current.value.length, area.current.value.length);
|
|
26
|
+
});
|
|
27
|
+
} })),
|
|
28
|
+
React.createElement("textarea", { ref: area, className: Props.className("typography", className, (!focus ? "hidden" : "")), onChange: function (e) {
|
|
29
|
+
e.target.style.height = 0 + "px";
|
|
30
|
+
e.target.scrollTop = 0 + "px";
|
|
31
|
+
setHeight(e.target.scrollHeight);
|
|
32
|
+
e.target.style.height = height + "px";
|
|
33
|
+
setText(e.target.value);
|
|
34
|
+
}, onFocus: function (e) {
|
|
35
|
+
if (props.onFocus)
|
|
36
|
+
props.onFocus(e);
|
|
37
|
+
e.target.style.height = 0 + "px";
|
|
38
|
+
e.target.scrollTop = 0 + "px";
|
|
39
|
+
setHeight(e.target.scrollHeight);
|
|
40
|
+
e.target.style.height = height + "px";
|
|
41
|
+
setText(e.target.value);
|
|
42
|
+
}, onBlur: function (e) {
|
|
43
|
+
if (props.onBlur)
|
|
44
|
+
props.onBlur(e);
|
|
45
|
+
setFocus(false);
|
|
46
|
+
}, onKeyDown: function (e) {
|
|
47
|
+
if (e.keyCode == 13 && !e.shiftKey) {
|
|
48
|
+
e.target.blur();
|
|
49
|
+
}
|
|
50
|
+
;
|
|
51
|
+
}, style: { height: (height ? (height + "px") : "") }, value: text, rows: 1 })));
|
|
52
|
+
}
|
|
53
|
+
;
|
|
54
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/components/Editable/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,OAAO,qBAAqB,CAAA;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,MAAM,UAAU,QAAQ,CAAE,KAAK;IAExB,IAAA,SAAS,GAAwB,KAAK,UAA7B,EAAE,QAAQ,GAAc,KAAK,SAAnB,EAAK,IAAI,UAAK,KAAK,EAAxC,yBAAgC,CAAF,CAAW;IACvC,IAAA,KAAoB,QAAQ,CAAE,QAAQ,IAAI,EAAE,CAAE,EAA5C,IAAI,QAAA,EAAE,OAAO,QAA+B,CA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,CAAC,EAAE,EAClD,KAAK,EAAG,IAAI,EACZ,IAAI,EAAG,CAAC,GACP,CAEG,CACL,CAAC;AACH,CAAC;AAAA,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { __assign, __rest } from "tslib";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Props } from "../../utility/props";
|
|
4
|
+
export var Eris = function (props) {
|
|
5
|
+
var className = props.className, children = props.children, style = props.style, rest = __rest(props, ["className", "children", "style"]);
|
|
6
|
+
var inlineStyle = __assign({}, style);
|
|
7
|
+
return (React.createElement("div", __assign({ className: Props.className("eris", className), style: inlineStyle }, rest)));
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/components/Eris/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAuE,MAAM,OAAO,CAAC;AAE5F,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,MAAM,CAAC,IAAM,IAAI,GAAG,UAAE,KAAK;IACpB,IAAA,SAAS,GAA+B,KAAK,UAApC,EAAE,QAAQ,GAAqB,KAAK,SAA1B,EAAE,KAAK,GAAc,KAAK,MAAnB,EAAK,IAAI,UAAK,KAAK,EAA/C,kCAAuC,CAAF,CAAW;IACpD,IAAI,WAAW,gBAAQ,KAAK,CAAE,CAAC;IAE/B,OAAO,CACP,sCACC,SAAS,EACR,KAAK,CAAC,SAAS,CAAE,MAAM,EAAE,SAAS,CAAE,EAErC,KAAK,EAAG,WAAW,IACd,IAAI,EAGH,CACH,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Props } from "../../utility/props";
|
|
3
|
+
import "./styles/index.scss";
|
|
4
|
+
export var Flex = function (props, ref) {
|
|
5
|
+
var className = props.className, children = props.children;
|
|
6
|
+
return (React.createElement("div", { ref: ref, className: Props.className("flex", className) }, children));
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../source/components/Flex/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,OAAO,qBAAqB,CAAA;AAE5B,MAAM,CAAC,IAAM,IAAI,GAAG,UAAE,KAAK,EAAE,GAAG;IAEvB,IAAA,SAAS,GAAe,KAAK,UAApB,EAAE,QAAQ,GAAK,KAAK,SAAV,CAAW;IAEtC,OAAO,CAAC,6BACP,GAAG,EAAG,GAAG,EACT,SAAS,EACR,KAAK,CAAC,SAAS,CAAE,MAAM,EAAE,SAAS,CAAE,IAGrC,QAAQ,CACF,CAAC,CAAC;AACV,CAAC,CAAC"}
|