@prom-ui/core 0.0.4 → 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/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 +2 -2
- 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/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,7 +1,7 @@
|
|
|
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
6
|
"scripts": {
|
|
7
7
|
"prebuild": "rm -rf dist && mkdir dist && cp -v package.json README.md CHANGELOG.md dist",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": "*"
|
|
27
27
|
},
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "816d8eb5411199859af3db1e6c48df29fbe49f3f"
|
|
29
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;;;;;;"}
|