@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 ADDED
@@ -0,0 +1 @@
1
+ test
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # @prom-ui/core
2
+
3
+ ## Установка
4
+
5
+ ```sh
6
+ npm install @prom-ui/icons
7
+ ```
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.2",
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.2",
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,14 +1,10 @@
1
1
  {
2
2
  "name": "@prom-ui/core",
3
3
  "author": "e.marchenko",
4
- "version": "0.0.2",
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": "ISC",
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": "43fbc12754f5cd9e59ba473cb8719e6ee4603604"
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
@@ -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;;;;;;"}
package/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 */
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
@@ -1,2 +0,0 @@
1
- export { Test } from "./Test";
2
- export { Test2 } from "./Test2";
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;;;;;"}