@prom-ui/core 0.0.3 → 0.0.6

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.
Files changed (66) hide show
  1. package/Body/index.d.ts +3 -0
  2. package/Body/index.js +14 -0
  3. package/Body/package.json +9 -0
  4. package/Body/style.css +741 -0
  5. package/Box/index.d.ts +2 -0
  6. package/Box/index.js +20 -0
  7. package/Box/package.json +9 -0
  8. package/Box/style.css +9676 -0
  9. package/Button/index.d.ts +8 -0
  10. package/Button/index.js +87 -0
  11. package/Button/package.json +10 -0
  12. package/Button/style.css +3393 -0
  13. package/CHANGELOG.md +1 -0
  14. package/Flex/index.d.ts +2 -0
  15. package/Flex/index.js +25 -0
  16. package/Flex/package.json +9 -0
  17. package/Flex/style.css +786 -0
  18. package/Grid/index.d.ts +2 -0
  19. package/Grid/index.js +25 -0
  20. package/Grid/package.json +9 -0
  21. package/Grid/style.css +7350 -0
  22. package/Image/index.d.ts +2 -0
  23. package/Image/index.js +20 -0
  24. package/Image/package.json +9 -0
  25. package/Image/style.css +664 -0
  26. package/Line/index.d.ts +2 -0
  27. package/Line/index.js +20 -0
  28. package/Line/package.json +9 -0
  29. package/Line/style.css +138 -0
  30. package/Link/index.d.ts +2 -0
  31. package/Link/index.js +22 -0
  32. package/Link/package.json +9 -0
  33. package/Link/style.css +259 -0
  34. package/List/index.d.ts +2 -0
  35. package/List/index.js +25 -0
  36. package/List/package.json +9 -0
  37. package/List/style.css +312 -0
  38. package/Picture/index.d.ts +2 -0
  39. package/Picture/index.js +25 -0
  40. package/Picture/package.json +9 -0
  41. package/Picture/style.css +1426 -0
  42. package/README.md +7 -0
  43. package/Spinner/index.d.ts +8 -0
  44. package/Spinner/index.js +78 -0
  45. package/{Test2 → Spinner}/package.json +2 -5
  46. package/Spinner/style.css +80 -0
  47. package/Text/index.d.ts +2 -0
  48. package/Text/index.js +20 -0
  49. package/Text/package.json +9 -0
  50. package/Text/style.css +840 -0
  51. package/package.json +22 -4
  52. package/Test/index.d.ts +0 -1
  53. package/Test/index.js +0 -10
  54. package/Test/index.js.map +0 -1
  55. package/Test/package.json +0 -9
  56. package/Test2/Components.d.ts +0 -2
  57. package/Test2/index.css +0 -9
  58. package/Test2/index.css.map +0 -1
  59. package/Test2/index.d.ts +0 -4
  60. package/Test2/index.js +0 -31
  61. package/Test2/index.js.map +0 -1
  62. package/index.css +0 -9
  63. package/index.css.map +0 -1
  64. package/index.d.ts +0 -2
  65. package/index.js +0 -21
  66. package/index.js.map +0 -1
package/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "@prom-ui/core",
3
3
  "author": "e.marchenko",
4
- "version": "0.0.3",
4
+ "version": "0.0.6",
5
5
  "description": "core ui blocks",
6
- "sideEffects": false,
6
+ "scripts": {
7
+ "prebuild": "rm -rf dist && mkdir dist && cp -v package.json README.md CHANGELOG.md dist",
8
+ "build": "rollup --config ./rollup.config.js",
9
+ "watch": "rollup --config ./rollup.config.js --watch",
10
+ "prepublishOnly": "npm run build"
11
+ },
7
12
  "repository": {
8
13
  "type": "git",
9
14
  "url": "https://gitlab.evo.dev/evo-frontend/prom-ui.git",
@@ -15,10 +20,23 @@
15
20
  "directory": "dist"
16
21
  },
17
22
  "dependencies": {
18
- "evokit": "3.2.3"
23
+ "@prom-ui/core": "file:./src",
24
+ "evokit": "3.2.3",
25
+ "evokit-body": "3.2.0",
26
+ "evokit-box": "3.4.0",
27
+ "evokit-button": "3.0.1",
28
+ "evokit-flex": "3.2.1",
29
+ "evokit-grid": "3.3.0",
30
+ "evokit-image": "3.2.0",
31
+ "evokit-line": "3.1.0",
32
+ "evokit-link": "3.2.0",
33
+ "evokit-list": "3.3.0",
34
+ "evokit-picture": "3.2.0",
35
+ "evokit-text": "3.2.0"
19
36
  },
20
37
  "peerDependencies": {
38
+ "prop-types": "*",
21
39
  "react": "*"
22
40
  },
23
- "gitHead": "0e90faf07665b6bca464c6b65394e5b3cc0216d6"
41
+ "gitHead": "f5b7b3226807f230cd6bbfe0f0270f43185159f7"
24
42
  }
package/Test/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare const Test: () => void;
package/Test/index.js DELETED
@@ -1,10 +0,0 @@
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
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/Test/package.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@prom-ui/core/Test",
3
- "version": "0.0.3",
4
- "main": "index.js",
5
- "types": "index.d.ts",
6
- "sideEffects": [
7
- "*.css"
8
- ]
9
- }
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Components: () => JSX.Element;
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"]}
package/Test2/index.d.ts DELETED
@@ -1,4 +0,0 @@
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 DELETED
@@ -1,31 +0,0 @@
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
@@ -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;;;;;"}