@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.
@@ -0,0 +1 @@
1
+ export declare const Test: () => void;
package/Test/index.js ADDED
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var Test = function () {
6
+ return console.log('test');
7
+ };
8
+
9
+ exports.Test = Test;
10
+ //# sourceMappingURL=index.js.map
@@ -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;;;;"}
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "@prom-ui/core/Test",
3
+ "version": "0.0.2",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "sideEffects": [
7
+ "*.css"
8
+ ]
9
+ }
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const Components: () => JSX.Element;
@@ -0,0 +1,9 @@
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 */
@@ -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"]}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const Test2: any;
3
+ export declare const privet: any;
4
+ export declare const ComponentsText: () => JSX.Element;
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;;;;;;"}
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "@prom-ui/core/Test2",
3
+ "version": "0.0.2",
4
+ "main": "index.js",
5
+ "types": "index.d.ts",
6
+ "sideEffects": [
7
+ "*.css"
8
+ ],
9
+ "dependencies": {
10
+ "evokit": "3.2.3"
11
+ }
12
+ }
package/index.css ADDED
@@ -0,0 +1,9 @@
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 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
@@ -0,0 +1,2 @@
1
+ export { Test } from "./Test";
2
+ export { Test2 } from "./Test2";
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
+ }