@prom-ui/core 0.0.2 → 0.0.5
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/CHANGELOG.md +1 -0
- package/README.md +7 -0
- package/Test/index.js +2 -1
- package/Test/package.json +2 -5
- package/Test2/index.d.ts +0 -1
- package/Test2/index.js +4 -5
- package/Test2/package.json +1 -4
- package/Test2/style.css +11 -0
- package/package.json +4 -8
- package/Test/index.js.map +0 -1
- package/Test2/index.css +0 -9
- package/Test2/index.css.map +0 -1
- package/Test2/index.js.map +0 -1
- package/index.css +0 -9
- package/index.css.map +0 -1
- package/index.d.ts +0 -2
- package/index.js +0 -21
- package/index.js.map +0 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
test
|
package/README.md
ADDED
package/Test/index.js
CHANGED
package/Test/package.json
CHANGED
package/Test2/index.d.ts
CHANGED
package/Test2/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
require("./style.css");
|
|
4
|
+
|
|
3
5
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
6
|
|
|
5
7
|
var evokit = require('evokit');
|
|
@@ -17,15 +19,12 @@ var Components = function () {
|
|
|
17
19
|
}, "\u043F\u0440\u0438\u0432\u0435\u0442");
|
|
18
20
|
};
|
|
19
21
|
|
|
20
|
-
var css = {"
|
|
22
|
+
var css = {"ek-myblock":"Test2_ek-myblock__c2Y4J","ek-myblock_color_red":"Test2_ek-myblock_color_red__H5exA"};
|
|
21
23
|
|
|
22
|
-
var Test2 = evokit.createBlock('div', 'myblock', ['color'
|
|
24
|
+
var Test2 = evokit.createBlock('div', 'myblock', ['color'], {
|
|
23
25
|
css: css
|
|
24
26
|
});
|
|
25
|
-
var privet = css.root;
|
|
26
27
|
var ComponentsText = Components;
|
|
27
28
|
|
|
28
29
|
exports.ComponentsText = ComponentsText;
|
|
29
30
|
exports.Test2 = Test2;
|
|
30
|
-
exports.privet = privet;
|
|
31
|
-
//# sourceMappingURL=index.js.map
|
package/Test2/package.json
CHANGED
package/Test2/style.css
ADDED
package/package.json
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prom-ui/core",
|
|
3
3
|
"author": "e.marchenko",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
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
6
|
"scripts": {
|
|
11
|
-
"prebuild": "rm -rf dist",
|
|
7
|
+
"prebuild": "rm -rf dist && mkdir dist && cp -v package.json README.md CHANGELOG.md dist",
|
|
12
8
|
"build": "rollup --config ./rollup.config.js",
|
|
13
9
|
"watch": "rollup --config ./rollup.config.js --watch",
|
|
14
10
|
"prepublishOnly": "npm run build"
|
|
@@ -18,7 +14,7 @@
|
|
|
18
14
|
"url": "https://gitlab.evo.dev/evo-frontend/prom-ui.git",
|
|
19
15
|
"directory": "packages/core"
|
|
20
16
|
},
|
|
21
|
-
"license": "
|
|
17
|
+
"license": "MIT",
|
|
22
18
|
"publishConfig": {
|
|
23
19
|
"access": "public",
|
|
24
20
|
"directory": "dist"
|
|
@@ -29,5 +25,5 @@
|
|
|
29
25
|
"peerDependencies": {
|
|
30
26
|
"react": "*"
|
|
31
27
|
},
|
|
32
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "816d8eb5411199859af3db1e6c48df29fbe49f3f"
|
|
33
29
|
}
|
package/Test/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
package/Test2/index.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
package/index.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
package/index.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
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;;;;;"}
|