From d211b2700a8eb173fa79c74ee2eeceda38ec5342 Mon Sep 17 00:00:00 2001 From: Teemu Taskula Date: Mon, 21 Aug 2017 00:13:15 +0300 Subject: [PATCH] docs(Rewrite): Started to rewrite docs page --- docs/package.json | 18 +- docs/public/index.html | 1 + docs/src/App.css | 11 - docs/src/App.js | 617 +++------------------- docs/src/components/Buttons.js | 99 ++++ docs/src/components/Cards.js | 24 + docs/src/components/Form.js | 130 +++++ docs/src/components/Functions.js | 24 + docs/src/components/Home.js | 21 + docs/src/components/Properties.js | 92 ++++ docs/src/components/Sections.js | 49 ++ docs/src/components/Sidemenu.js | 139 +++++ docs/src/components/Structure.js | 10 + docs/src/components/Tables.js | 61 +++ docs/src/{ => components}/ThemeChanger.js | 35 +- docs/src/components/Typography.js | 73 +++ docs/src/components/Utilities.js | 120 +++++ docs/src/index.css | 9 +- 18 files changed, 943 insertions(+), 590 deletions(-) delete mode 100644 docs/src/App.css create mode 100644 docs/src/components/Buttons.js create mode 100644 docs/src/components/Cards.js create mode 100644 docs/src/components/Form.js create mode 100644 docs/src/components/Functions.js create mode 100644 docs/src/components/Home.js create mode 100644 docs/src/components/Properties.js create mode 100644 docs/src/components/Sections.js create mode 100644 docs/src/components/Sidemenu.js create mode 100644 docs/src/components/Structure.js create mode 100644 docs/src/components/Tables.js rename docs/src/{ => components}/ThemeChanger.js (93%) create mode 100644 docs/src/components/Typography.js create mode 100644 docs/src/components/Utilities.js diff --git a/docs/package.json b/docs/package.json index a0d4cda..6021748 100644 --- a/docs/package.json +++ b/docs/package.json @@ -4,15 +4,16 @@ "private": true, "homepage": "https://TaitoUnited.github.io/react-components-kit", "dependencies": { - "color": "^1.0.3", - "react": "^15.4.2", - "react-color": "^2.11.4", - "react-dom": "^15.4.2", - "styled-components": "^1.4.4" + "color": "^2.0.0", + "react": "^15.6.1", + "react-color": "^2.13.4", + "react-dom": "^15.6.1", + "react-router-dom": "^4.1.2", + "styled-components": "^2.1.2" }, "devDependencies": { - "gh-pages": "^0.12.0", - "react-scripts": "0.9.5" + "gh-pages": "^1.0.0", + "react-scripts": "1.0.11" }, "scripts": { "predeploy": "npm run build", @@ -20,6 +21,7 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "clear:install": "rm -rf node_modules && npm install" } } diff --git a/docs/public/index.html b/docs/public/index.html index ef6a83a..e20ab6d 100644 --- a/docs/public/index.html +++ b/docs/public/index.html @@ -5,6 +5,7 @@ +