@omniumretail/component-library 0.1.0 → 0.1.1
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/dist/index.js
CHANGED
|
@@ -8,9 +8,9 @@ var _exportNames = {
|
|
|
8
8
|
variables: true
|
|
9
9
|
};
|
|
10
10
|
exports.variables = void 0;
|
|
11
|
-
var variables = _interopRequireWildcard(require("./assets/scss/
|
|
11
|
+
var variables = _interopRequireWildcard(require("./assets/scss/global.scss"));
|
|
12
12
|
exports.variables = variables;
|
|
13
|
-
var _Label = require("./components/Label");
|
|
13
|
+
var _Label = require("./components/Label/Label");
|
|
14
14
|
Object.keys(_Label).forEach(function (key) {
|
|
15
15
|
if (key === "default" || key === "__esModule") return;
|
|
16
16
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -22,19 +22,19 @@ Object.keys(_Label).forEach(function (key) {
|
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
});
|
|
25
|
-
var
|
|
26
|
-
Object.keys(
|
|
25
|
+
var _Separator = require("./components/Separator/Separator");
|
|
26
|
+
Object.keys(_Separator).forEach(function (key) {
|
|
27
27
|
if (key === "default" || key === "__esModule") return;
|
|
28
28
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
29
|
-
if (key in exports && exports[key] ===
|
|
29
|
+
if (key in exports && exports[key] === _Separator[key]) return;
|
|
30
30
|
Object.defineProperty(exports, key, {
|
|
31
31
|
enumerable: true,
|
|
32
32
|
get: function get() {
|
|
33
|
-
return
|
|
33
|
+
return _Separator[key];
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
|
-
var _Tag = require("./components/Tag");
|
|
37
|
+
var _Tag = require("./components/Tag/Tag");
|
|
38
38
|
Object.keys(_Tag).forEach(function (key) {
|
|
39
39
|
if (key === "default" || key === "__esModule") return;
|
|
40
40
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omniumretail/component-library",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"private": false,
|
|
5
|
-
"main": "
|
|
6
|
-
"repository": "https://bitbucket.org/product_admin/components-lib-omnium/
|
|
7
|
-
"author": "omnium-retail",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"repository": "https://bitbucket.org/product_admin/components-lib-omnium/",
|
|
8
7
|
"license": "MIT",
|
|
9
8
|
"dependencies": {
|
|
10
9
|
"@testing-library/jest-dom": "^5.14.1",
|
|
@@ -26,7 +25,7 @@
|
|
|
26
25
|
},
|
|
27
26
|
"scripts": {
|
|
28
27
|
"start": "react-scripts start",
|
|
29
|
-
"build": "cross-env BABEL_ENV=production babel src -d dist",
|
|
28
|
+
"build": "react-scripts build && cross-env BABEL_ENV=production babel src -d dist",
|
|
30
29
|
"test": "react-scripts test",
|
|
31
30
|
"eject": "react-scripts eject",
|
|
32
31
|
"storybook": "start-storybook -p 6006 -s public",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as variables from './assets/scss/
|
|
1
|
+
import * as variables from './assets/scss/global.scss';
|
|
2
2
|
|
|
3
3
|
export { variables };
|
|
4
4
|
|
|
5
|
-
export * from './components/Label';
|
|
6
|
-
export * from './components/
|
|
7
|
-
export * from './components/Tag';
|
|
5
|
+
export * from './components/Label/Label';
|
|
6
|
+
export * from './components/Separator/Separator';
|
|
7
|
+
export * from './components/Tag/Tag';
|