Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit 4bf7bb9

Browse files
committed
Merge with demo project
Signed-off-by: Sirbu Nicolae-Cezar <[email protected]>
1 parent 0175cd9 commit 4bf7bb9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+33670
-2668
lines changed

.gitignore

+19-98
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,25 @@
1-
# Logs
2-
logs
3-
*.log
4-
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
8-
9-
# Diagnostic reports (https://nodejs.org/api/report.html)
10-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11-
12-
# Runtime data
13-
pids
14-
*.pid
15-
*.seed
16-
*.pid.lock
17-
18-
# Directory for instrumented libs generated by jscoverage/JSCover
19-
lib-cov
20-
21-
# Coverage directory used by tools like istanbul
22-
coverage
23-
*.lcov
24-
25-
# nyc test coverage
26-
.nyc_output
27-
28-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29-
.grunt
30-
31-
# Bower dependency directory (https://bower.io/)
32-
bower_components
33-
34-
# node-waf configuration
35-
.lock-wscript
36-
37-
# Compiled binary addons (https://nodejs.org/api/addons.html)
38-
build/Release
39-
40-
# Dependency directories
41-
node_modules/
42-
jspm_packages/
43-
44-
# TypeScript v1 declaration files
45-
typings/
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
462

47-
# TypeScript cache
48-
*.tsbuildinfo
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
497

50-
# Optional npm cache directory
51-
.npm
8+
# testing
9+
/coverage
5210

53-
# Optional eslint cache
54-
.eslintcache
11+
# production
12+
/build
5513

56-
# Microbundle cache
57-
.rpt2_cache/
58-
.rts2_cache_cjs/
59-
.rts2_cache_es/
60-
.rts2_cache_umd/
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
6120

62-
# Optional REPL history
63-
.node_repl_history
64-
65-
# Output of 'npm pack'
66-
*.tgz
67-
68-
# Yarn Integrity file
69-
.yarn-integrity
70-
71-
# dotenv environment variables file
72-
.env
73-
.env.test
74-
75-
# parcel-bundler cache (https://parceljs.org/)
76-
.cache
77-
78-
# Next.js build output
79-
.next
80-
81-
# Nuxt.js build / generate output
82-
.nuxt
83-
dist
84-
85-
# Gatsby files
86-
.cache/
87-
# Comment in the public line in if your project uses Gatsby and *not* Next.js
88-
# https://nextjs.org/blog/next-9-1#public-directory-support
89-
# public
90-
91-
# vuepress build output
92-
.vuepress/dist
93-
94-
# Serverless directories
95-
.serverless/
96-
97-
# FuseBox cache
98-
.fusebox/
99-
100-
# DynamoDB Local files
101-
.dynamodb/
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
10224

103-
# TernJS port file
104-
.tern-port
25+
src/mockData.ts

LICENSE

-21
This file was deleted.

README.md

+46-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,46 @@
1-
# react-ui-components-library
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+
## Available Scripts
6+
7+
In the project directory, you can run:
8+
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+
### `npm run build`
23+
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/).

dist/esm/components/index.js

-3
This file was deleted.

dist/esm/components/happi-graph.component.js dist/esm/happi-graph.component.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { AiOutlineFullscreen, AiOutlineFullscreenExit } from 'react-icons/ai';
1212
class HappiGraph extends React.Component {
1313
constructor(props) {
1414
super(props);
15+
console.warn('render()');
1516
const mappedNodes = mapNodes(props.rawData.nodes, props.selectedNodeId);
1617
const mappedLinks = mapLinks(props.rawData.edges, mappedNodes);
1718
this.state = {
File renamed without changes.
File renamed without changes.

dist/esm/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
import { HappiGraph, HappiGraphActions } from "./components";
1+
import HappiGraph from './happi-graph.component';
2+
import HappiGraphActions from './happi-graph-actions.component';
23
export { HappiGraph, HappiGraphActions };

dist/types/components/index.d.ts

-3
This file was deleted.

dist/types/index.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
import { HappiGraph, HappiGraphActions } from "./components";
1+
import HappiGraph from './happi-graph.component';
2+
import HappiGraphActions from './happi-graph-actions.component';
23
export { HappiGraph, HappiGraphActions };

0 commit comments

Comments
 (0)