trepur_components 0.1.14 → 0.1.16

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/README.md CHANGED
@@ -1,70 +1,8 @@
1
- # Getting Started with Create React App
2
-
3
- This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4
-
5
1
  ## Available Scripts
6
-
7
2
  In the project directory, you can run:
8
3
 
9
- ### `npm start`
10
-
11
- Runs the app in the development mode.\
12
- Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
13
-
14
- The page will reload if you make edits.\
15
- You will also see any lint errors in the console.
16
-
17
- ### `npm test`
18
-
19
- Launches the test runner in the interactive watch mode.\
20
- See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21
-
22
4
  ### `npm run build`
5
+ Build the dist folder made from the lib directory as specified in the build script in package.json
23
6
 
24
- Builds the app for production to the `build` folder.\
25
- It correctly bundles React in production mode and optimizes the build for the best performance.
26
-
27
- The build is minified and the filenames include the hashes.\
28
- Your app is ready to be deployed!
29
-
30
- See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31
-
32
- ### `npm run eject`
33
-
34
- **Note: this is a one-way operation. Once you `eject`, you can’t go back!**
35
-
36
- If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37
-
38
- Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
39
-
40
- You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
41
-
42
- ## Learn More
43
-
44
- You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45
-
46
- To learn React, check out the [React documentation](https://reactjs.org/).
47
-
48
- ### Code Splitting
49
-
50
- This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51
-
52
- ### Analyzing the Bundle Size
53
-
54
- This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55
-
56
- ### Making a Progressive Web App
57
-
58
- This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59
-
60
- ### Advanced Configuration
61
-
62
- This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63
-
64
- ### Deployment
65
-
66
- This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67
-
68
- ### `npm run build` fails to minify
69
-
70
- This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
7
+ ### `npm publish`
8
+ Publishes the new version of the package to npm - new version number to be updated in package.json before the publish is executed
@@ -7,9 +7,7 @@ exports.default = exports._AlertBarWithRightIcon = exports._AlertBar = exports.A
7
7
 
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
 
10
- var _README = _interopRequireDefault(require("./README.md"));
11
-
12
- require("../../index.css");
10
+ require("../../../index.css");
13
11
 
14
12
  var _index2 = _interopRequireDefault(require("./index"));
15
13
 
@@ -11,7 +11,7 @@ var _README = _interopRequireDefault(require("./README.md"));
11
11
 
12
12
  var _index = _interopRequireDefault(require("./index"));
13
13
 
14
- require("../../index.css");
14
+ require("../../../index.css");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
17
 
@@ -13,7 +13,7 @@ var _README = _interopRequireDefault(require("./README.md"));
13
13
 
14
14
  var _index = _interopRequireDefault(require("./index"));
15
15
 
16
- require("../../index.css");
16
+ require("../../../index.css");
17
17
 
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
19
 
@@ -13,7 +13,7 @@ var _README = _interopRequireDefault(require("./README.md"));
13
13
 
14
14
  var _index = _interopRequireDefault(require("./index"));
15
15
 
16
- require("../../index.css");
16
+ require("../../../index.css");
17
17
 
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
19
 
@@ -13,7 +13,7 @@ var _README = _interopRequireDefault(require("./README.md"));
13
13
 
14
14
  var _index = _interopRequireDefault(require("./index"));
15
15
 
16
- require("../../index.css");
16
+ require("../../../index.css");
17
17
 
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
19
 
@@ -11,7 +11,7 @@ var _README = _interopRequireDefault(require("./README.md"));
11
11
 
12
12
  var _index = _interopRequireDefault(require("./index"));
13
13
 
14
- require("../../index.css");
14
+ require("../../../index.css");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
17
 
@@ -11,7 +11,7 @@ var _README = _interopRequireDefault(require("./README.md"));
11
11
 
12
12
  var _index = _interopRequireDefault(require("./index"));
13
13
 
14
- require("../../index.css");
14
+ require("../../../index.css");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
17
 
@@ -13,7 +13,7 @@ var _index = _interopRequireDefault(require("./index"));
13
13
 
14
14
  var _index2 = _interopRequireDefault(require("../Card/index"));
15
15
 
16
- require("../../index.css");
16
+ require("../../../index.css");
17
17
 
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
19
 
@@ -11,7 +11,7 @@ var _README = _interopRequireDefault(require("./README.md"));
11
11
 
12
12
  var _index = _interopRequireDefault(require("./index"));
13
13
 
14
- require("../../index.css");
14
+ require("../../../index.css");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
17
 
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
 
8
8
  require("core-js/modules/es.object.assign.js");
9
9
 
10
- var _propTypes = _interopRequireDefault(require("prop-types"));
10
+ var _react = _interopRequireDefault(require("react"));
11
11
 
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
13
 
@@ -20,11 +20,11 @@ const Icon = _ref => {
20
20
  className,
21
21
  onClick
22
22
  } = _ref;
23
- if (!type) return /*#__PURE__*/React.createElement(React.Fragment, null);
23
+ if (!type) return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
24
24
  let classList = "fa fa-".concat(type, " fa-x ");
25
25
  classList += size ? "fa-".concat(size, "x ") : "";
26
26
  classList += className ? " ".concat(className) : "";
27
- return /*#__PURE__*/React.createElement("span", _extends({
27
+ return /*#__PURE__*/_react.default.createElement("span", _extends({
28
28
  className: classList,
29
29
  role: "img",
30
30
  "aria-hidden": "true",
@@ -11,7 +11,7 @@ var _README = _interopRequireDefault(require("./README.md"));
11
11
 
12
12
  var _index = _interopRequireDefault(require("./index"));
13
13
 
14
- require("../../index.css");
14
+ require("../../../index.css");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
17
 
@@ -11,7 +11,7 @@ var _README = _interopRequireDefault(require("./README.md"));
11
11
 
12
12
  var _index = _interopRequireDefault(require("./index"));
13
13
 
14
- require("../../index.css");
14
+ require("../../../index.css");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
17
 
@@ -11,9 +11,9 @@ var _README = _interopRequireDefault(require("./README.md"));
11
11
 
12
12
  var _index = _interopRequireDefault(require("./index"));
13
13
 
14
- require("../../index.css");
14
+ require("../../../index.css");
15
15
 
16
- var _user = _interopRequireDefault(require("../../Assets/Images/user.jpeg"));
16
+ var _user = _interopRequireDefault(require("../../../Assets/Images/user.jpeg"));
17
17
 
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
19
 
@@ -11,7 +11,7 @@ var _README = _interopRequireDefault(require("./README.md"));
11
11
 
12
12
  var _index = _interopRequireDefault(require("./index"));
13
13
 
14
- require("../../index.css");
14
+ require("../../../index.css");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
17
 
@@ -11,7 +11,7 @@ var _README = _interopRequireDefault(require("./README.md"));
11
11
 
12
12
  var _index = _interopRequireDefault(require("./index"));
13
13
 
14
- require("../../index.css");
14
+ require("../../../index.css");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
17
 
@@ -11,7 +11,7 @@ var _README = _interopRequireDefault(require("./README.md"));
11
11
 
12
12
  var _index = _interopRequireDefault(require("./index"));
13
13
 
14
- require("../../index.css");
14
+ require("../../../index.css");
15
15
 
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
17
 
package/dist/index.js CHANGED
@@ -21,6 +21,84 @@ Object.defineProperty(exports, "BreadcrumbsBordered", {
21
21
  return _BreadcrumbsBordered.default;
22
22
  }
23
23
  });
24
+ Object.defineProperty(exports, "Button", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _Button.default;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "ButtonSlide", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _ButtonSlide.default;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "Card", {
37
+ enumerable: true,
38
+ get: function get() {
39
+ return _Card.default;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "CardImageLink", {
43
+ enumerable: true,
44
+ get: function get() {
45
+ return _CardImageLink.default;
46
+ }
47
+ });
48
+ Object.defineProperty(exports, "CardImageLinkList", {
49
+ enumerable: true,
50
+ get: function get() {
51
+ return _CardImageLinkList.default;
52
+ }
53
+ });
54
+ Object.defineProperty(exports, "CardList", {
55
+ enumerable: true,
56
+ get: function get() {
57
+ return _CardList.default;
58
+ }
59
+ });
60
+ Object.defineProperty(exports, "Icon", {
61
+ enumerable: true,
62
+ get: function get() {
63
+ return _Icon.default;
64
+ }
65
+ });
66
+ Object.defineProperty(exports, "Jumbotron", {
67
+ enumerable: true,
68
+ get: function get() {
69
+ return _Jumbotron.default;
70
+ }
71
+ });
72
+ Object.defineProperty(exports, "Nav", {
73
+ enumerable: true,
74
+ get: function get() {
75
+ return _Nav.default;
76
+ }
77
+ });
78
+ Object.defineProperty(exports, "Profile", {
79
+ enumerable: true,
80
+ get: function get() {
81
+ return _Profile.default;
82
+ }
83
+ });
84
+ Object.defineProperty(exports, "Search", {
85
+ enumerable: true,
86
+ get: function get() {
87
+ return _Search.default;
88
+ }
89
+ });
90
+ Object.defineProperty(exports, "SignedInLinks", {
91
+ enumerable: true,
92
+ get: function get() {
93
+ return _SignedInLinks.default;
94
+ }
95
+ });
96
+ Object.defineProperty(exports, "SignedOutLinks", {
97
+ enumerable: true,
98
+ get: function get() {
99
+ return _SignedOutLinks.default;
100
+ }
101
+ });
24
102
 
25
103
  var _index = _interopRequireDefault(require("./components/AlertBar/index"));
26
104
 
@@ -28,4 +106,30 @@ var _index2 = _interopRequireDefault(require("./components/Breadcrumbs/index"));
28
106
 
29
107
  var _BreadcrumbsBordered = _interopRequireDefault(require("./components/BreadcrumbsBordered"));
30
108
 
109
+ var _Button = _interopRequireDefault(require("./components/Button"));
110
+
111
+ var _ButtonSlide = _interopRequireDefault(require("./components/ButtonSlide"));
112
+
113
+ var _Card = _interopRequireDefault(require("./components/Card"));
114
+
115
+ var _CardImageLink = _interopRequireDefault(require("./components/CardImageLink"));
116
+
117
+ var _CardImageLinkList = _interopRequireDefault(require("./components/CardImageLinkList"));
118
+
119
+ var _CardList = _interopRequireDefault(require("./components/CardList"));
120
+
121
+ var _Icon = _interopRequireDefault(require("./components/Icon"));
122
+
123
+ var _Jumbotron = _interopRequireDefault(require("./components/Jumbotron"));
124
+
125
+ var _Nav = _interopRequireDefault(require("./components/Nav"));
126
+
127
+ var _Profile = _interopRequireDefault(require("./components/Profile"));
128
+
129
+ var _Search = _interopRequireDefault(require("./components/Search"));
130
+
131
+ var _SignedInLinks = _interopRequireDefault(require("./components/SignedInLinks"));
132
+
133
+ var _SignedOutLinks = _interopRequireDefault(require("./components/SignedOutLinks"));
134
+
31
135
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
package/package.json CHANGED
@@ -2,32 +2,35 @@
2
2
  "name": "trepur_components",
3
3
  "description": "component lib",
4
4
  "author": "trepur_ttenneb",
5
- "version": "0.1.14",
5
+ "version": "0.1.16",
6
6
  "private": false,
7
- "keywords": ["react", "components", "ui"],
7
+ "keywords": [
8
+ "react",
9
+ "components",
10
+ "ui"
11
+ ],
8
12
  "main": "dist/index.js",
9
13
  "module": "dist/index.js",
10
- "files": [ "dist", "README.md" ],
14
+ "files": [
15
+ "dist",
16
+ "README.md"
17
+ ],
11
18
  "dependencies": {
12
19
  "@babel/polyfill": "^7.12.1",
13
- "@craco/craco": "^6.4.0",
14
20
  "@storybook/addon-knobs": "^6.3.1",
15
21
  "@testing-library/jest-dom": "^5.14.1",
16
22
  "@testing-library/react": "^11.2.7",
17
23
  "@testing-library/user-event": "^12.8.3",
18
24
  "react": "^17.0.2",
19
25
  "react-dom": "^17.0.2",
20
- "react-router-dom": "^6.2.1",
21
26
  "react-scripts": "4.0.3",
22
27
  "storybook": "^6.4.10",
23
28
  "web-vitals": "^1.1.2"
24
29
  },
25
30
  "scripts": {
26
- "build-lib": "rollup -c",
27
31
  "build": "rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files",
28
- "test": "craco test",
29
32
  "eject": "react-scripts eject",
30
- "storybook": "start-storybook -p 6006 -s public",
33
+ "storybook": "start-storybook -p 6006",
31
34
  "build-storybook": "build-storybook -s public"
32
35
  },
33
36
  "eslintConfig": {
@@ -71,10 +74,6 @@
71
74
  "@storybook/react": "^6.3.12",
72
75
  "autoprefixer": "^9.8.8",
73
76
  "postcss": "^7.0.39",
74
- "rollup": "^2.63.0",
75
- "rollup-plugin-babel": "^4.4.0",
76
- "rollup-plugin-peer-deps-external": "^2.2.4",
77
- "rollup-plugin-postcss": "^4.0.2",
78
77
  "storybook-readme": "^5.0.9",
79
78
  "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.17"
80
79
  }