@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 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 Test = function () {
@@ -7,4 +9,3 @@ var Test = function () {
7
9
  };
8
10
 
9
11
  exports.Test = Test;
10
- //# sourceMappingURL=index.js.map
package/Test/package.json CHANGED
@@ -1,9 +1,6 @@
1
1
  {
2
2
  "name": "@prom-ui/core/Test",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "main": "index.js",
5
- "types": "index.d.ts",
6
- "sideEffects": [
7
- "*.css"
8
- ]
5
+ "types": "index.d.ts"
9
6
  }
package/Test2/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Test2: any;
3
- export declare const privet: any;
4
3
  export declare const ComponentsText: () => JSX.Element;
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 = {"root":"Test2_root__tY2Dv"};
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', 'size'], {
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
@@ -1,11 +1,8 @@
1
1
  {
2
2
  "name": "@prom-ui/core/Test2",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
- "sideEffects": [
7
- "*.css"
8
- ],
9
6
  "dependencies": {
10
7
  "evokit": "3.2.3"
11
8
  }
@@ -0,0 +1,11 @@
1
+ .Components_root__RHtJ4 {
2
+ border: 10px green solid;
3
+ }
4
+
5
+ .Test2_ek-myblock__c2Y4J {
6
+ display: block;
7
+ }
8
+
9
+ .Test2_ek-myblock_color_red__H5exA {
10
+ color: red;
11
+ }
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",
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": "8c52dbe68ef6a2982b67bcfc7c59130c11be32ab"
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
@@ -1,9 +0,0 @@
1
- .Components_root__RHtJ4 {
2
- border: 10px green solid;
3
- }
4
-
5
- .Test2_root__tY2Dv {
6
- color: red;
7
- }
8
-
9
- /*# sourceMappingURL=index.css.map */
@@ -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"]}
@@ -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;;;;;;"}