@prom-ui/core 0.0.2
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/Test/index.d.ts +1 -0
- package/Test/index.js +10 -0
- package/Test/index.js.map +1 -0
- package/Test/package.json +9 -0
- package/Test2/Components.d.ts +2 -0
- package/Test2/index.css +9 -0
- package/Test2/index.css.map +1 -0
- package/Test2/index.d.ts +4 -0
- package/Test2/index.js +31 -0
- package/Test2/index.js.map +1 -0
- package/Test2/package.json +12 -0
- package/index.css +9 -0
- package/index.css.map +1 -0
- package/index.d.ts +2 -0
- package/index.js +21 -0
- package/index.js.map +1 -0
- package/package.json +33 -0
package/Test/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Test: () => void;
|
package/Test/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/Test/index.ts"],"sourcesContent":["export const Test = () => {\n return console.log('test');\n};\n"],"names":["Test","console","log"],"mappings":";;;;AAAO,IAAMA,IAAI,GAAG,YAAA;AAChB,EAAA,OAAOC,OAAO,CAACC,GAAR,CAAY,MAAZ,CAAP,CAAA;AACH;;;;"}
|
package/Test2/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["Components.css","Test2.css"],"names":[],"mappings":"AAAA;IACI,wBAAwB;AAC5B;;ACFA;IACI,UAAU;AACd","file":"index.css","sourcesContent":[".root {\n border: 10px green solid;\n}\n",".root {\n color: red;\n}\n"]}
|
package/Test2/index.d.ts
ADDED
package/Test2/index.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var evokit = require('evokit');
|
|
6
|
+
var React = require('react');
|
|
7
|
+
|
|
8
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
|
+
|
|
10
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
|
+
|
|
12
|
+
var css$1 = {"root":"Components_root__RHtJ4"};
|
|
13
|
+
|
|
14
|
+
var Components = function () {
|
|
15
|
+
return React__default["default"].createElement("div", {
|
|
16
|
+
className: css$1.root
|
|
17
|
+
}, "\u043F\u0440\u0438\u0432\u0435\u0442");
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var css = {"root":"Test2_root__tY2Dv"};
|
|
21
|
+
|
|
22
|
+
var Test2 = evokit.createBlock('div', 'myblock', ['color', 'size'], {
|
|
23
|
+
css: css
|
|
24
|
+
});
|
|
25
|
+
var privet = css.root;
|
|
26
|
+
var ComponentsText = Components;
|
|
27
|
+
|
|
28
|
+
exports.ComponentsText = ComponentsText;
|
|
29
|
+
exports.Test2 = Test2;
|
|
30
|
+
exports.privet = privet;
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/Test2/Components.tsx","../../src/Test2/index.ts"],"sourcesContent":["import React from 'react';\nimport css from './Components.css';\n\nexport const Components = () => {\n return (\n <div className={css.root}>\n привет\n </div>\n )\n};\n","import { createBlock } from 'evokit';\nimport { Components } from './Components';\n\nimport css from './Test2.css';\n\nexport const Test2 = createBlock('div', 'myblock', ['color', 'size'], { css });\n\nexport const privet = css.root;\n\nexport const ComponentsText = Components;\n"],"names":["Components","React","className","css","root","Test2","createBlock","privet","ComponentsText"],"mappings":";;;;;;;;;;;;;AAGO,IAAMA,UAAU,GAAG,YAAA;AACtB,EAAA,OACIC,uCAAA,MAAA;IAAKC,SAAS,EAAEC,KAAG,CAACC,IAAAA;GAApB,EAEM,sCAFN,CADJ,CAAA;AAKH,CANM;;;;ACEMC,IAAAA,KAAK,GAAGC,kBAAW,CAAC,KAAD,EAAQ,SAAR,EAAmB,CAAC,OAAD,EAAU,MAAV,CAAnB,EAAsC;AAAEH,EAAAA,GAAG,EAAAA,GAAAA;AAAL,CAAtC,EAAzB;AAEMI,IAAAA,MAAM,GAAGJ,GAAG,CAACC,KAAnB;AAEA,IAAMI,cAAc,GAAGR;;;;;;"}
|
package/index.css
ADDED
package/index.css.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["Components.css","Test2.css"],"names":[],"mappings":"AAAA;IACI,wBAAwB;AAC5B;;ACFA;IACI,UAAU;AACd","file":"index.css","sourcesContent":[".root {\n border: 10px green solid;\n}\n",".root {\n color: red;\n}\n"]}
|
package/index.d.ts
ADDED
package/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var evokit = require('evokit');
|
|
6
|
+
require('react');
|
|
7
|
+
|
|
8
|
+
var Test = function () {
|
|
9
|
+
return console.log('test');
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
var css = {"root":"Test2_root__tY2Dv"};
|
|
13
|
+
|
|
14
|
+
var Test2 = evokit.createBlock('div', 'myblock', ['color', 'size'], {
|
|
15
|
+
css: css
|
|
16
|
+
});
|
|
17
|
+
css.root;
|
|
18
|
+
|
|
19
|
+
exports.Test = Test;
|
|
20
|
+
exports.Test2 = Test2;
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/Test/index.ts","../src/Test2/index.ts"],"sourcesContent":["export const Test = () => {\n return console.log('test');\n};\n","import { createBlock } from 'evokit';\nimport { Components } from './Components';\n\nimport css from './Test2.css';\n\nexport const Test2 = createBlock('div', 'myblock', ['color', 'size'], { css });\n\nexport const privet = css.root;\n\nexport const ComponentsText = Components;\n"],"names":["Test","console","log","Test2","createBlock","css","root"],"mappings":";;;;;;;AAAO,IAAMA,IAAI,GAAG,YAAA;AAChB,EAAA,OAAOC,OAAO,CAACC,GAAR,CAAY,MAAZ,CAAP,CAAA;AACH;;;;ACGYC,IAAAA,KAAK,GAAGC,kBAAW,CAAC,KAAD,EAAQ,SAAR,EAAmB,CAAC,OAAD,EAAU,MAAV,CAAnB,EAAsC;AAAEC,EAAAA,GAAG,EAAAA,GAAAA;AAAL,CAAtC,EAAzB;AAEeA,GAAG,CAACC;;;;;"}
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@prom-ui/core",
|
|
3
|
+
"author": "e.marchenko",
|
|
4
|
+
"version": "0.0.2",
|
|
5
|
+
"description": "core ui blocks",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/es/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"scripts": {
|
|
11
|
+
"prebuild": "rm -rf dist",
|
|
12
|
+
"build": "rollup --config ./rollup.config.js",
|
|
13
|
+
"watch": "rollup --config ./rollup.config.js --watch",
|
|
14
|
+
"prepublishOnly": "npm run build"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://gitlab.evo.dev/evo-frontend/prom-ui.git",
|
|
19
|
+
"directory": "packages/core"
|
|
20
|
+
},
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public",
|
|
24
|
+
"directory": "dist"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"evokit": "3.2.3"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"react": "*"
|
|
31
|
+
},
|
|
32
|
+
"gitHead": "43fbc12754f5cd9e59ba473cb8719e6ee4603604"
|
|
33
|
+
}
|