From 5fef51f5136099a04c834e2c7e6103c30de590c9 Mon Sep 17 00:00:00 2001 From: xidedix Date: Tue, 10 Oct 2017 15:23:56 +0200 Subject: [PATCH] React v16, Reactstrap v5 --- CHANGELOG.md | 32 ++++- React_Full_Project/.gitignore | 1 + React_Full_Project/CHANGELOG.md | 35 ----- React_Full_Project/REACT.md | 36 ----- React_Full_Project/package.json | 30 ++--- .../scss/core/_dropdown-menu-right.scss | 11 +- React_Full_Project/scss/core/_footer.scss | 5 +- React_Full_Project/scss/core/_layout.scss | 9 +- React_Full_Project/scss/core/_navbar.scss | 19 +-- React_Full_Project/scss/core/_sidebar.scss | 4 +- React_Full_Project/scss/core/_variables.scss | 7 +- React_Full_Project/scss/style.scss | 10 +- .../scss/vendors/_variables.scss | 9 ++ React_Full_Project/scss/vendors/_vendors.scss | 1 - .../scss/vendors/chart.js/chart.scss | 3 + .../src/components/Aside/package.json | 2 +- .../src/components/Breadcrumb/package.json | 2 +- .../src/components/Footer/Footer.js | 4 +- .../src/components/Footer/package.json | 2 +- .../src/components/Header/Header.js | 59 ++++----- .../src/components/Header/package.json | 2 +- .../src/components/Sidebar/Sidebar.js | 2 +- .../src/components/Sidebar/package.json | 2 +- .../src/components/SidebarFooter/package.json | 2 +- .../src/components/SidebarForm/package.json | 2 +- .../src/components/SidebarHeader/package.json | 2 +- .../components/SidebarMinimizer/package.json | 2 +- .../src/containers/Full/package.json | 2 +- React_Full_Project/src/views/Charts/Charts.js | 30 ++--- .../src/views/Charts/package.json | 2 +- .../src/views/Components/Buttons/Buttons.js | 60 ++++----- .../src/views/Components/Buttons/package.json | 2 +- .../src/views/Components/Cards/Cards.js | 120 ++++++++--------- .../src/views/Components/Cards/package.json | 2 +- .../src/views/Components/Forms/Forms.js | 125 ++++++++++-------- .../src/views/Components/Forms/package.json | 2 +- .../src/views/Components/Modals/Modals.js | 8 +- .../src/views/Components/Modals/package.json | 2 +- .../Components/SocialButtons/SocialButtons.js | 16 +-- .../Components/SocialButtons/package.json | 2 +- .../src/views/Components/Switches/Switches.js | 84 ++++++------ .../views/Components/Switches/package.json | 2 +- .../src/views/Components/Tables/Tables.js | 28 ++-- .../src/views/Components/Tables/package.json | 2 +- .../src/views/Components/Tabs/Tabs.js | 6 +- .../src/views/Components/Tabs/package.json | 2 +- .../src/views/Dashboard/Dashboard.js | 44 +++--- .../src/views/Dashboard/package.json | 2 +- .../views/Icons/FontAwesome/FontAwesome.js | 70 +++++----- .../src/views/Icons/FontAwesome/package.json | 2 +- .../Icons/SimpleLineIcons/SimpleLineIcons.js | 10 +- .../views/Icons/SimpleLineIcons/package.json | 2 +- .../src/views/Pages/Login/Login.js | 12 +- .../src/views/Pages/Login/package.json | 2 +- .../src/views/Pages/Page404/Page404.js | 4 +- .../src/views/Pages/Page404/package.json | 2 +- .../src/views/Pages/Page500/Page500.js | 4 +- .../src/views/Pages/Page500/package.json | 2 +- .../src/views/Pages/Register/Register.js | 8 +- .../src/views/Pages/Register/package.json | 2 +- .../src/views/Widgets/Widget01.js | 8 +- .../src/views/Widgets/Widget02.js | 10 +- .../src/views/Widgets/Widget03.js | 2 +- .../src/views/Widgets/Widget04.js | 8 +- .../src/views/Widgets/Widgets.js | 22 +-- .../src/views/Widgets/package.json | 2 +- React_Starter/.gitignore | 1 + React_Starter/CHANGELOG.md | 35 ----- React_Starter/REACT.md | 36 ----- React_Starter/package.json | 28 ++-- .../scss/core/_dropdown-menu-right.scss | 11 +- React_Starter/scss/core/_footer.scss | 5 +- React_Starter/scss/core/_layout.scss | 9 +- React_Starter/scss/core/_navbar.scss | 19 +-- React_Starter/scss/core/_sidebar.scss | 4 +- React_Starter/scss/core/_variables.scss | 7 +- React_Starter/scss/style.scss | 10 +- React_Starter/scss/vendors/_variables.scss | 9 ++ React_Starter/scss/vendors/_vendors.scss | 1 - .../scss/vendors/chart.js/chart.scss | 3 + React_Starter/src/components/Aside/Aside.js | 2 +- .../src/components/Aside/package.json | 2 +- .../src/components/Breadcrumb/package.json | 2 +- React_Starter/src/components/Footer/Footer.js | 4 +- .../src/components/Footer/package.json | 2 +- React_Starter/src/components/Header/Header.js | 1 + .../src/components/Header/package.json | 2 +- .../src/components/Sidebar/Sidebar.js | 1 - .../src/components/Sidebar/package.json | 2 +- .../src/components/SidebarFooter/package.json | 2 +- .../src/components/SidebarForm/package.json | 2 +- .../src/components/SidebarHeader/package.json | 2 +- .../components/SidebarMinimizer/package.json | 2 +- .../src/containers/Full/package.json | 2 +- .../src/views/Dashboard/package.json | 2 +- 95 files changed, 564 insertions(+), 654 deletions(-) delete mode 100644 React_Full_Project/CHANGELOG.md delete mode 100644 React_Full_Project/REACT.md create mode 100644 React_Full_Project/scss/vendors/_variables.scss delete mode 100644 React_Full_Project/scss/vendors/_vendors.scss delete mode 100644 React_Starter/CHANGELOG.md delete mode 100644 React_Starter/REACT.md create mode 100644 React_Starter/scss/vendors/_variables.scss delete mode 100644 React_Starter/scss/vendors/_vendors.scss diff --git a/CHANGELOG.md b/CHANGELOG.md index 32c33d5..f5326b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,24 +1,44 @@ -## Changelog [react](./REACT.md) version +## [react](./REACT.md) version `changelog` -##### 2017.08.24 +###### `v1.0.1` +- moved to react: `^16.0.0` +- moved to reactstrap: `^5.0.0-alpha.3` +- moved to react-text-mask-hoc: `^0.10.4` +- moved from deprecated CardBlock to `CardBody` reactstrap component +- moved to `NavDropdown` in `Header` component +- fix for app-header navbar-nav dropdown-menu-right +- fix typo in Tables component PaginationItem + +###### `v1.0.0` +- Sidebar component: + - item with optional class (_nav.js) + - nav link with optional variant (_nav.js) + - external urls allowed (_nav.js) + - optional SidebarFooter, SidebarHeader, SidebarForm components +- SidebarMinimizer component +- .brand-minimized +- .sidebar-minimized, +- Header component - sidebarMinimize +- react-transition-group downgrade to v1 : (modals and alerts reactstrap:v4.8 issue) + +###### `2017.08.24` - webpack.config env.prod - Dashboard .dropdown-menu-right temp.scss hotfix (full) - callout.scss .chart-wrapper hotfix (full) -##### 2017.08.11 +###### `2017.08.11` - Bootstrap 4 beta - Dashboard component (full): - line chart for social box - sparkline chart for callout -##### 2017.08.01 +###### `2017.08.01` - Sidebar component: - title item with optional wrapper and class (_nav.js) - nav link item with optional badge - code refactoring -##### 2017.07.31 +###### `2017.07.31` - moved to [reactstrap](https://reactstrap.github.io/) - moved to [webpack](https://webpack.js.org/) (dropping gulp) - data driven Sidebar component (_nav.js) - diff --git a/React_Full_Project/.gitignore b/React_Full_Project/.gitignore index 85f9a0b..85905ac 100644 --- a/React_Full_Project/.gitignore +++ b/React_Full_Project/.gitignore @@ -2,6 +2,7 @@ # dependencies node_modules +package-lock.json # testing coverage diff --git a/React_Full_Project/CHANGELOG.md b/React_Full_Project/CHANGELOG.md deleted file mode 100644 index 3c69f44..0000000 --- a/React_Full_Project/CHANGELOG.md +++ /dev/null @@ -1,35 +0,0 @@ -### Changelog [react](./REACT.md) version - -#### 2017.08.26 -- Sidebar component: - - item with optional class (_nav.js) - - nav link with optional variant (_nav.js) - - external urls allowed (_nav.js) - - optional SidebarFooter, SidebarHeader, SidebarForm components -- SidebarMinimizer component -- .brand-minimized -- .sidebar-minimized, -- Header component - sidebarMinimize -- react-transition-group downgrade to v1 : (modals and alerts reactstrap:v4.8 issue) - -#### 2017.08.24 -- webpack.config env.prod -- Dashboard .dropdown-menu-right temp.scss hotfix (full) -- callout.scss .chart-wrapper hotfix (full) - -#### 2017.08.11 -- Bootstrap 4 beta -- Dashboard component (full): - - line chart for social box - - sparkline chart for callout - -#### 2017.08.01 -- Sidebar component: - - title item with optional wrapper and class (_nav.js) - - nav link item with optional badge - - code refactoring - -#### 2017.07.31 -- moved to [reactstrap](https://reactstrap.github.io/) -- moved to [webpack](https://webpack.js.org/) (dropping gulp) -- data driven Sidebar component (_nav.js) diff --git a/React_Full_Project/REACT.md b/React_Full_Project/REACT.md deleted file mode 100644 index e992b2b..0000000 --- a/React_Full_Project/REACT.md +++ /dev/null @@ -1,36 +0,0 @@ -# React version - -## Intro - -It uses Sass (with .scss). The style is loaded at the component level. - -Dependencies can be handled by **npm**. - -## Directories - -``` -src (js|jsx source) -scss (scss source) -public (html template) -public/img (images) -``` - -## Usage - -**npm i** - to install dependencies - -## Sctipts - -**npm start** for developing (it runs webpack-dev-server) - -**npm run build** to run a dev build - -**npm run clean** to clean build dir - -**npm run dev** to run a dev build with watching filesystem for changes - - -## See also - -[Changelog](./CHANGELOG.md) -[Readme](./README.md) \ No newline at end of file diff --git a/React_Full_Project/package.json b/React_Full_Project/package.json index c885710..2f18ab7 100644 --- a/React_Full_Project/package.json +++ b/React_Full_Project/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/react", - "version": "1.0.0", + "version": "1.0.1", "description": "", "author": "Łukasz Holeczek ", "url": "http://coreui.io", @@ -14,22 +14,22 @@ "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.0", "babel-preset-react": "^6.24.1", - "copy-webpack-plugin": "^4.0.1", - "css-hot-loader": "^1.3.1", + "copy-webpack-plugin": "^4.1.1", + "css-hot-loader": "^1.3.2", "css-loader": "^0.28.7", - "extract-text-webpack-plugin": "^3.0.0", - "file-loader": "^0.11.2", + "extract-text-webpack-plugin": "^3.0.1", + "file-loader": "^1.1.5", "html-loader": "^0.5.1", "html-webpack-plugin": "^2.30.1", "node-sass": "^4.5.3", "rimraf": "^2.6.2", "sass-loader": "^6.0.6", "source-list-map": "^2.0.0", - "style-loader": "^0.18.2", - "uglify-js": "^3.1.1", - "url-loader": "^0.5.9", + "style-loader": "^0.19.0", + "uglify-js": "^3.1.3", + "url-loader": "^0.6.2", "webpack": "^3.6.0", - "webpack-dev-server": "^2.8.2" + "webpack-dev-server": "^2.9.1" }, "dependencies": { "bootstrap": "^4.0.0-beta", @@ -37,12 +37,12 @@ "font-awesome": "^4.7.0", "history": "4.7.2", "is-url-external": "^1.0.3", - "react": "^15.6.1", - "react-chartjs-2": "2.6.2", - "react-dom": "^15.6.1", - "react-router-dom": "4.2.2", - "react-transition-group": "^1.2.0", - "reactstrap": "^4.8.0", + "react": "^16.0.0", + "react-chartjs-2": "2.6.4", + "react-dom": "^16.0.0", + "react-router-dom": "^4.2.2", + "react-transition-group": "^2.2.1", + "reactstrap": "^5.0.0-alpha.3", "simple-line-icons": "^2.4.1" }, "scripts": { diff --git a/React_Full_Project/scss/core/_dropdown-menu-right.scss b/React_Full_Project/scss/core/_dropdown-menu-right.scss index eec74e8..427ab59 100644 --- a/React_Full_Project/scss/core/_dropdown-menu-right.scss +++ b/React_Full_Project/scss/core/_dropdown-menu-right.scss @@ -1,7 +1,8 @@ // Temp fix for reactstrap -.show { - > .dropdown-menu-right { - right: 0; - left: auto; // Reset the default from `.dropdown-menu` +.app-header { + .navbar-nav { + .dropdown-menu-right { + right: auto; + } } -} +} \ No newline at end of file diff --git a/React_Full_Project/scss/core/_footer.scss b/React_Full_Project/scss/core/_footer.scss index 2d678c8..1c1748b 100644 --- a/React_Full_Project/scss/core/_footer.scss +++ b/React_Full_Project/scss/core/_footer.scss @@ -1,8 +1,9 @@ .app-footer { - min-height: $footer-height; + display: flex; padding: 0 $spacer; - line-height: $footer-height; color: $footer-color; background: $footer-bg; + flex-wrap: wrap; + align-items: center; @include borders($footer-borders); } diff --git a/React_Full_Project/scss/core/_layout.scss b/React_Full_Project/scss/core/_layout.scss index cbab8f0..6e4034d 100644 --- a/React_Full_Project/scss/core/_layout.scss +++ b/React_Full_Project/scss/core/_layout.scss @@ -11,8 +11,8 @@ app-dashboard, app-root { display: flex; - flex-direction: column; min-height: 100vh; + flex-direction: column; } .app-header { @@ -26,12 +26,12 @@ app-root { .app-body { display: flex; flex-direction: row; - flex-grow: 1; overflow-x: hidden; + flex-grow: 1; .main { - flex: 1; min-width: 0; + flex: 1; } .sidebar { @@ -328,7 +328,8 @@ app-root { margin-top: $navbar-height; } - .sidebar { + .sidebar, + .sidebar-fixed .sidebar { position: fixed; z-index: $zindex-sticky - 1; width: $mobile-sidebar-width; diff --git a/React_Full_Project/scss/core/_navbar.scss b/React_Full_Project/scss/core/_navbar.scss index ba49147..780d66a 100644 --- a/React_Full_Project/scss/core/_navbar.scss +++ b/React_Full_Project/scss/core/_navbar.scss @@ -1,7 +1,7 @@ .app-header.navbar { position: relative; - flex-direction: row; height: $navbar-height; + flex-direction: row; padding: 0; margin: 0; background-color: $navbar-bg; @@ -102,13 +102,16 @@ background-color: rgba(0,0,0,.075); } -.brand-minimized { - .app-header.navbar { - .navbar-brand { - width: $navbar-brand-minimized-width; - background-color: $navbar-brand-minimized-bg; - background-image: $navbar-brand-minimized-logo; - background-size: $navbar-brand-minimized-logo-size; +@include media-breakpoint-up(lg) { + .brand-minimized { + .app-header.navbar { + .navbar-brand { + width: $navbar-brand-minimized-width; + background-color: $navbar-brand-minimized-bg; + background-image: $navbar-brand-minimized-logo; + background-size: $navbar-brand-minimized-logo-size; + @include borders($navbar-brand-minimized-border); + } } } } diff --git a/React_Full_Project/scss/core/_sidebar.scss b/React_Full_Project/scss/core/_sidebar.scss index 407ed22..3f83a0d 100644 --- a/React_Full_Project/scss/core/_sidebar.scss +++ b/React_Full_Project/scss/core/_sidebar.scss @@ -78,8 +78,8 @@ .nav { @include sidebar-width($sidebar-borders, $sidebar-width); - flex-direction: column; min-height: 100%; + flex-direction: column; } .nav-title { @@ -254,6 +254,7 @@ flex: 0 0 $sidebar-footer-height; padding: $sidebar-footer-padding-y $sidebar-footer-padding-x; background: $sidebar-footer-bg; + @include borders($sidebar-footer-borders); } .sidebar-minimizer { @@ -261,6 +262,7 @@ flex: 0 0 $sidebar-minimizer-height; background-color: $sidebar-minimizer-bg; border: 0; + @include borders($sidebar-minimizer-borders); &::before { position: absolute; diff --git a/React_Full_Project/scss/core/_variables.scss b/React_Full_Project/scss/core/_variables.scss index 790e519..a2bebe8 100644 --- a/React_Full_Project/scss/core/_variables.scss +++ b/React_Full_Project/scss/core/_variables.scss @@ -58,10 +58,11 @@ $navbar-brand-border: ( ) ) !default; -$navbar-brand-minimized-width: 50px !default -$navbar-brand-minimized-bg: #fff !default; +$navbar-brand-minimized-width: 50px !default; +$navbar-brand-minimized-bg: $navbar-brand-bg !default; $navbar-brand-minimized-logo: url('../img/logo-symbol.png') !default; $navbar-brand-minimized-logo-size: 24px !default; +$navbar-brand-minimized-border: $navbar-brand-border !default; $navbar-color: $gray-600 !default; $navbar-hover-color: $gray-800 !default; @@ -132,11 +133,13 @@ $sidebar-footer-height: auto !default; $sidebar-footer-bg: rgba(0,0,0,.2) !default; $sidebar-footer-padding-y: .75rem !default; $sidebar-footer-padding-x: 1rem !default; +$sidebar-footer-borders: 0 !default; // Sidebar Minimizer $sidebar-minimizer-height: 50px !default; $sidebar-minimizer-bg: rgba(0,0,0,.2) !default; +$sidebar-minimizer-borders: 0 !default; $sidebar-minimizer-indicator-color: $gray-600 !default; $sidebar-minimizer-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-minimizer-indicator-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"), "#", "%23") !default; $sidebar-minimizer-hover-bg: rgba(0,0,0,.3) !default; diff --git a/React_Full_Project/scss/style.scss b/React_Full_Project/scss/style.scss index 4296d77..151efff 100644 --- a/React_Full_Project/scss/style.scss +++ b/React_Full_Project/scss/style.scss @@ -1,6 +1,6 @@ /*! * CoreUI - Open Source Bootstrap Admin Template - * @version v1.0.0 + * @version v1.0.1 * @link http://coreui.io * Copyright (c) 2017 creativeLabs Łukasz Holeczek * @license MIT @@ -11,23 +11,17 @@ // Import Bootstrap source files @import "bootstrap/bootstrap"; -// If you want you can import bootstrap scss files directly from node_modules or bower_components. +// If you want you can import bootstrap scss files directly from node_modules. // To do this please remove @import "bootstrap/bootstrap"; and uncomment proper line. // Import Bootstrap source files from node_modules // @import "node_modules/bootstrap/scss/bootstrap"; -// Import Bootstrap source files from bower_components -// @import "bower_components/bootstrap/scss/bootstrap"; - // Override core variables @import "core-variables"; // Import core styles @import "core/core"; -// Import vendors styles -@import "vendors/vendors"; - // Custom styles @import "custom"; diff --git a/React_Full_Project/scss/vendors/_variables.scss b/React_Full_Project/scss/vendors/_variables.scss new file mode 100644 index 0000000..02636b9 --- /dev/null +++ b/React_Full_Project/scss/vendors/_variables.scss @@ -0,0 +1,9 @@ +// @import "node_modules/bootstrap/scss/bootstrap/functions"; +@import "../bootstrap/functions"; +@import "../bootstrap-variables"; +// @import "node_modules/bootstrap/scss/bootstrap/variables"; +@import "../bootstrap/variables"; +// @import "node_modules/bootstrap/scss/bootstrap/mixins"; +@import "../bootstrap/mixins"; +@import "../core-variables"; +@import "../core/variables"; diff --git a/React_Full_Project/scss/vendors/_vendors.scss b/React_Full_Project/scss/vendors/_vendors.scss deleted file mode 100644 index 7aab687..0000000 --- a/React_Full_Project/scss/vendors/_vendors.scss +++ /dev/null @@ -1 +0,0 @@ -@import "chart.js/chart"; diff --git a/React_Full_Project/scss/vendors/chart.js/chart.scss b/React_Full_Project/scss/vendors/chart.js/chart.scss index 41eda00..7e99cca 100644 --- a/React_Full_Project/scss/vendors/chart.js/chart.scss +++ b/React_Full_Project/scss/vendors/chart.js/chart.scss @@ -1,3 +1,6 @@ +// Import variables +@import '../variables'; + .chart-legend, .bar-legend, .line-legend, diff --git a/React_Full_Project/src/components/Aside/package.json b/React_Full_Project/src/components/Aside/package.json index 905959b..01a49f1 100644 --- a/React_Full_Project/src/components/Aside/package.json +++ b/React_Full_Project/src/components/Aside/package.json @@ -1,6 +1,6 @@ { "name": "Aside", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Aside.js" } diff --git a/React_Full_Project/src/components/Breadcrumb/package.json b/React_Full_Project/src/components/Breadcrumb/package.json index db34964..0d7d8f5 100644 --- a/React_Full_Project/src/components/Breadcrumb/package.json +++ b/React_Full_Project/src/components/Breadcrumb/package.json @@ -1,6 +1,6 @@ { "name": "Breadcrumb", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Breadcrumb.js" } diff --git a/React_Full_Project/src/components/Footer/Footer.js b/React_Full_Project/src/components/Footer/Footer.js index 371453a..6dfaf74 100644 --- a/React_Full_Project/src/components/Footer/Footer.js +++ b/React_Full_Project/src/components/Footer/Footer.js @@ -4,8 +4,8 @@ class Footer extends Component { render() { return ( ) } diff --git a/React_Full_Project/src/components/Footer/package.json b/React_Full_Project/src/components/Footer/package.json index ad7b5cb..8dfb1cd 100644 --- a/React_Full_Project/src/components/Footer/package.json +++ b/React_Full_Project/src/components/Footer/package.json @@ -1,6 +1,6 @@ { "name": "Footer", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Footer.js" } diff --git a/React_Full_Project/src/components/Header/Header.js b/React_Full_Project/src/components/Header/Header.js index aafa56c..8139a56 100644 --- a/React_Full_Project/src/components/Header/Header.js +++ b/React_Full_Project/src/components/Header/Header.js @@ -1,15 +1,6 @@ import React, {Component} from 'react'; import { - Badge, - Dropdown, - DropdownMenu, - DropdownItem, - Nav, - NavItem, - NavLink, - NavbarToggler, - NavbarBrand, - DropdownToggle + Badge, DropdownItem, DropdownMenu, DropdownToggle, Nav, NavbarBrand, NavbarToggler, NavDropdown, NavItem, NavLink } from 'reactstrap'; class Header extends Component { @@ -76,33 +67,31 @@ class Header extends Component { - - - - admin@bootstrapmaster.com - admin - - - Account - Updates42 - Messages42 - Tasks42 - Comments42 - Settings - Profile - Settings - Payments42 - Projects42 - - Lock Account - Logout - - - + + + admin@bootstrapmaster.com + admin + + + Account + Updates42 + Messages42 + Tasks42 + Comments42 + Settings + Profile + Settings + Payments42 + Projects42 + + Lock Account + Logout + + - + - ) + ); } } diff --git a/React_Full_Project/src/components/Header/package.json b/React_Full_Project/src/components/Header/package.json index 0a2c907..5e2b227 100644 --- a/React_Full_Project/src/components/Header/package.json +++ b/React_Full_Project/src/components/Header/package.json @@ -1,6 +1,6 @@ { "name": "Header", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Header.js" } diff --git a/React_Full_Project/src/components/Sidebar/Sidebar.js b/React_Full_Project/src/components/Sidebar/Sidebar.js index 1020944..586bedc 100644 --- a/React_Full_Project/src/components/Sidebar/Sidebar.js +++ b/React_Full_Project/src/components/Sidebar/Sidebar.js @@ -61,7 +61,7 @@ class Sidebar extends Component { return ( { isExternal(item.url) ? - + {item.name}{badge(item.badge)} : diff --git a/React_Full_Project/src/components/Sidebar/package.json b/React_Full_Project/src/components/Sidebar/package.json index c5b3732..edac54e 100644 --- a/React_Full_Project/src/components/Sidebar/package.json +++ b/React_Full_Project/src/components/Sidebar/package.json @@ -1,6 +1,6 @@ { "name": "Sidebar", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Sidebar.js" } diff --git a/React_Full_Project/src/components/SidebarFooter/package.json b/React_Full_Project/src/components/SidebarFooter/package.json index 74ff5c6..ccf79ae 100644 --- a/React_Full_Project/src/components/SidebarFooter/package.json +++ b/React_Full_Project/src/components/SidebarFooter/package.json @@ -1,6 +1,6 @@ { "name": "SidebarFooter", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./SidebarFooter.js" } diff --git a/React_Full_Project/src/components/SidebarForm/package.json b/React_Full_Project/src/components/SidebarForm/package.json index 2e413a3..c52cf88 100644 --- a/React_Full_Project/src/components/SidebarForm/package.json +++ b/React_Full_Project/src/components/SidebarForm/package.json @@ -1,6 +1,6 @@ { "name": "SidebarForm", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./SidebarForm.js" } diff --git a/React_Full_Project/src/components/SidebarHeader/package.json b/React_Full_Project/src/components/SidebarHeader/package.json index 4dde07a..abd7dea 100644 --- a/React_Full_Project/src/components/SidebarHeader/package.json +++ b/React_Full_Project/src/components/SidebarHeader/package.json @@ -1,6 +1,6 @@ { "name": "SidebarHeader", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./SidebarHeader.js" } diff --git a/React_Full_Project/src/components/SidebarMinimizer/package.json b/React_Full_Project/src/components/SidebarMinimizer/package.json index e702f99..90f80aa 100644 --- a/React_Full_Project/src/components/SidebarMinimizer/package.json +++ b/React_Full_Project/src/components/SidebarMinimizer/package.json @@ -1,6 +1,6 @@ { "name": "SidebarMinimizer", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./SidebarMinimizer.js" } diff --git a/React_Full_Project/src/containers/Full/package.json b/React_Full_Project/src/containers/Full/package.json index 48b4cb5..0fa075b 100644 --- a/React_Full_Project/src/containers/Full/package.json +++ b/React_Full_Project/src/containers/Full/package.json @@ -1,6 +1,6 @@ { "name": "Full", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Full.js" } diff --git a/React_Full_Project/src/views/Charts/Charts.js b/React_Full_Project/src/views/Charts/Charts.js index 7666017..619c6b8 100644 --- a/React_Full_Project/src/views/Charts/Charts.js +++ b/React_Full_Project/src/views/Charts/Charts.js @@ -1,6 +1,6 @@ -import React, {Component} from "react"; -import {Bar, Doughnut, Line, Pie, Polar, Radar} from "react-chartjs-2"; -import {CardColumns, Card, CardHeader, CardBlock} from "reactstrap"; +import React, {Component} from 'react'; +import {Bar, Doughnut, Line, Pie, Polar, Radar} from 'react-chartjs-2'; +import {CardColumns, Card, CardHeader, CardBody} from 'reactstrap'; const line = { labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], @@ -153,7 +153,7 @@ class Charts extends Component { - +
-
+ @@ -172,7 +172,7 @@ class Charts extends Component { - +
-
+
@@ -191,11 +191,11 @@ class Charts extends Component { - +
-
+
@@ -206,11 +206,11 @@ class Charts extends Component { - +
-
+
@@ -221,11 +221,11 @@ class Charts extends Component { - +
-
+
@@ -236,11 +236,11 @@ class Charts extends Component { - +
-
+
diff --git a/React_Full_Project/src/views/Charts/package.json b/React_Full_Project/src/views/Charts/package.json index 1634307..166aa8d 100644 --- a/React_Full_Project/src/views/Charts/package.json +++ b/React_Full_Project/src/views/Charts/package.json @@ -1,6 +1,6 @@ { "name": "Charts", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Charts.js" } diff --git a/React_Full_Project/src/views/Components/Buttons/Buttons.js b/React_Full_Project/src/views/Components/Buttons/Buttons.js index 2129ec9..aa979c9 100644 --- a/React_Full_Project/src/views/Components/Buttons/Buttons.js +++ b/React_Full_Project/src/views/Components/Buttons/Buttons.js @@ -1,5 +1,5 @@ -import React, {Component} from "react"; -import {Row, Col, Card, CardHeader, CardBlock, Button} from "reactstrap"; +import React, {Component} from 'react'; +import {Row, Col, Card, CardHeader, CardBody, Button} from 'reactstrap'; class Buttons extends Component { render() { @@ -11,34 +11,34 @@ class Buttons extends Component { Options - + {' '} {' '} {' '} {' '} {' '} {' '} - + With Icons - + - + Size Large Add this class .btn-lg - + @@ -46,14 +46,14 @@ class Buttons extends Component { - + Size Small Add this class .btn-sm - + @@ -61,14 +61,14 @@ class Buttons extends Component { - + Disabled state Add this disabled="disabled" - + @@ -76,14 +76,14 @@ class Buttons extends Component { - + Active state Add this class .active - + @@ -91,14 +91,14 @@ class Buttons extends Component { - + Block Level Buttons Add this class .btn-block - + @@ -106,7 +106,7 @@ class Buttons extends Component { - + @@ -114,95 +114,95 @@ class Buttons extends Component { Options - + - + With Icons - + - + Size Large Add this class .btn-lg - + - + Size Small Add this class .btn-sm - + - + Disabled state Add this disabled="disabled" - + - + Active state Add this class .active - + - + Block Level Buttons Add this class .btn-block - + - + diff --git a/React_Full_Project/src/views/Components/Buttons/package.json b/React_Full_Project/src/views/Components/Buttons/package.json index 42239be..39a5037 100644 --- a/React_Full_Project/src/views/Components/Buttons/package.json +++ b/React_Full_Project/src/views/Components/Buttons/package.json @@ -1,6 +1,6 @@ { "name": "Buttons", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Buttons.js" } diff --git a/React_Full_Project/src/views/Components/Cards/Cards.js b/React_Full_Project/src/views/Components/Cards/Cards.js index f802680..5638cf3 100644 --- a/React_Full_Project/src/views/Components/Cards/Cards.js +++ b/React_Full_Project/src/views/Components/Cards/Cards.js @@ -1,5 +1,5 @@ -import React, {Component} from "react"; -import {Badge, Row, Col, Card, CardHeader, CardFooter, CardBlock, Label, Input} from "reactstrap"; +import React, {Component} from 'react'; +import {Badge, Row, Col, Card, CardHeader, CardFooter, CardBody, Label, Input} from 'reactstrap'; class Cards extends Component { render() { @@ -11,20 +11,20 @@ class Cards extends Component { Card title - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + Card footer @@ -33,11 +33,11 @@ class Cards extends Component { Card with icon - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -50,11 +50,11 @@ class Cards extends Component { - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -63,11 +63,11 @@ class Cards extends Component { Card with label Success - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -76,11 +76,11 @@ class Cards extends Component { Card with label 42 - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -90,11 +90,11 @@ class Cards extends Component { Card outline primary - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -102,11 +102,11 @@ class Cards extends Component { Card outline secondary - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -114,11 +114,11 @@ class Cards extends Component { Card outline success - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -126,11 +126,11 @@ class Cards extends Component { Card outline info - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -138,11 +138,11 @@ class Cards extends Component { Card outline warning - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -150,11 +150,11 @@ class Cards extends Component { Card outline danger - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -165,11 +165,11 @@ class Cards extends Component { Card with accent - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -177,11 +177,11 @@ class Cards extends Component { Card with accent - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -189,11 +189,11 @@ class Cards extends Component { Card with accent - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -201,11 +201,11 @@ class Cards extends Component { Card with accent - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -213,11 +213,11 @@ class Cards extends Component { Card with accent - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -225,73 +225,73 @@ class Cards extends Component { Card with accent - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + - +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title
-
+
- +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title
-
+
- +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title
-
+
- +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title
-
+
- +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title
-
+
- +

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

Someone famous in Source Title
-
+
@@ -301,11 +301,11 @@ class Cards extends Component { Card title - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -313,11 +313,11 @@ class Cards extends Component { Card title - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -325,11 +325,11 @@ class Cards extends Component { Card title - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -337,11 +337,11 @@ class Cards extends Component { Card title - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + @@ -349,11 +349,11 @@ class Cards extends Component { Card title - + Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. - + diff --git a/React_Full_Project/src/views/Components/Cards/package.json b/React_Full_Project/src/views/Components/Cards/package.json index 9391963..52c6a4c 100644 --- a/React_Full_Project/src/views/Components/Cards/package.json +++ b/React_Full_Project/src/views/Components/Cards/package.json @@ -1,6 +1,6 @@ { "name": "Cards", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Cards.js" } diff --git a/React_Full_Project/src/views/Components/Forms/Forms.js b/React_Full_Project/src/views/Components/Forms/Forms.js index 0427f5d..a6c9c51 100644 --- a/React_Full_Project/src/views/Components/Forms/Forms.js +++ b/React_Full_Project/src/views/Components/Forms/Forms.js @@ -1,4 +1,4 @@ -import React, {Component} from "react"; +import React, {Component} from 'react'; import { Row, Col, @@ -10,7 +10,7 @@ import { Card, CardHeader, CardFooter, - CardBlock, + CardBody, Form, FormGroup, FormText, @@ -19,7 +19,7 @@ import { InputGroup, InputGroupAddon, InputGroupButton -} from "reactstrap"; +} from 'reactstrap'; class Forms extends Component { constructor(props) { @@ -38,7 +38,7 @@ class Forms extends Component { Credit Card Form - + @@ -99,7 +99,7 @@ class Forms extends Component { - + @@ -108,7 +108,7 @@ class Forms extends Component { Company Form - + @@ -139,7 +139,7 @@ class Forms extends Component { - + @@ -149,7 +149,7 @@ class Forms extends Component { Basic Form Elements - +
@@ -371,8 +371,19 @@ class Forms extends Component { +
-
+ @@ -382,7 +393,7 @@ class Forms extends Component { Inline Form - +
@@ -393,7 +404,7 @@ class Forms extends Component {
-
+ @@ -405,7 +416,7 @@ class Forms extends Component { Horizontal Form - +
@@ -426,7 +437,7 @@ class Forms extends Component {
-
+ @@ -436,7 +447,7 @@ class Forms extends Component { Normal Form - +
@@ -449,7 +460,7 @@ class Forms extends Component { Please enter your password
-
+ @@ -459,7 +470,7 @@ class Forms extends Component { Input Grid - +
@@ -512,7 +523,7 @@ class Forms extends Component {
-
+ @@ -522,7 +533,7 @@ class Forms extends Component { Input Sizes - +
@@ -551,7 +562,7 @@ class Forms extends Component {
-
+ @@ -563,39 +574,37 @@ class Forms extends Component { - Validation states Form + Validation feedback Form - - + + - + - + - + - Validation states with optional icons (deprecated) + Validation feedback Form - - - - - - - - - - - - - - + +
+ + + + + + + + +
+
@@ -605,7 +614,7 @@ class Forms extends Component { Icon/Text Groups - +
@@ -633,7 +642,7 @@ class Forms extends Component {
-
+ @@ -645,7 +654,7 @@ class Forms extends Component { Buttons Groups - +
@@ -681,7 +690,7 @@ class Forms extends Component {
-
+ @@ -693,7 +702,7 @@ class Forms extends Component { Dropdowns Groups - +
@@ -776,7 +785,7 @@ class Forms extends Component {
-
+ @@ -791,7 +800,7 @@ class Forms extends Component { Use the grid for big devices! .col-lg-* .col-md-* .col-sm-* - +
@@ -834,7 +843,7 @@ class Forms extends Component {
-
+ @@ -850,7 +859,7 @@ class Forms extends Component { Input Grid for small devices! .col-* - +
@@ -893,7 +902,7 @@ class Forms extends Component {
-
+ @@ -910,7 +919,7 @@ class Forms extends Component { Example Form - +
@@ -937,7 +946,7 @@ class Forms extends Component {
-
+ @@ -945,7 +954,7 @@ class Forms extends Component { Example Form - +
@@ -969,7 +978,7 @@ class Forms extends Component {
-
+ @@ -977,7 +986,7 @@ class Forms extends Component { Example Form - +
@@ -1001,7 +1010,7 @@ class Forms extends Component {
-
+ @@ -1016,7 +1025,7 @@ class Forms extends Component { - +
@@ -1072,7 +1081,7 @@ class Forms extends Component { -
+ diff --git a/React_Full_Project/src/views/Components/Forms/package.json b/React_Full_Project/src/views/Components/Forms/package.json index 1943890..07d429d 100644 --- a/React_Full_Project/src/views/Components/Forms/package.json +++ b/React_Full_Project/src/views/Components/Forms/package.json @@ -1,6 +1,6 @@ { "name": "Forms", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Forms.js" } diff --git a/React_Full_Project/src/views/Components/Modals/Modals.js b/React_Full_Project/src/views/Components/Modals/Modals.js index b850df0..f722e77 100644 --- a/React_Full_Project/src/views/Components/Modals/Modals.js +++ b/React_Full_Project/src/views/Components/Modals/Modals.js @@ -1,5 +1,5 @@ -import React, {Component} from "react"; -import {Row, Col, Button, Modal, ModalHeader, ModalBody, ModalFooter, Card, CardHeader, CardBlock} from "reactstrap"; +import React, {Component} from 'react'; +import {Row, Col, Button, Modal, ModalHeader, ModalBody, ModalFooter, Card, CardHeader, CardBody} from 'reactstrap'; class Modals extends Component { @@ -84,7 +84,7 @@ class Modals extends Component { Bootstrap Modals - + Modal title @@ -222,7 +222,7 @@ class Modals extends Component { - + diff --git a/React_Full_Project/src/views/Components/Modals/package.json b/React_Full_Project/src/views/Components/Modals/package.json index 1748868..5e31b98 100644 --- a/React_Full_Project/src/views/Components/Modals/package.json +++ b/React_Full_Project/src/views/Components/Modals/package.json @@ -1,6 +1,6 @@ { "name": "Modals", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Modals.js" } diff --git a/React_Full_Project/src/views/Components/SocialButtons/SocialButtons.js b/React_Full_Project/src/views/Components/SocialButtons/SocialButtons.js index ff94cad..4826233 100644 --- a/React_Full_Project/src/views/Components/SocialButtons/SocialButtons.js +++ b/React_Full_Project/src/views/Components/SocialButtons/SocialButtons.js @@ -1,5 +1,5 @@ -import React, {Component} from "react"; -import {Row, Col, Card, CardHeader, CardBlock, Button} from "reactstrap"; +import React, {Component} from 'react'; +import {Row, Col, Card, CardHeader, CardBody, Button} from 'reactstrap'; class SocialButtons extends Component { render() { @@ -14,7 +14,7 @@ class SocialButtons extends Component { <button className="btn-facebook"><span> Facebook</span></Button> - +
Size Small Add this class .btn-sm
@@ -103,7 +103,7 @@ class SocialButtons extends Component {

-
+ @@ -115,7 +115,7 @@ class SocialButtons extends Component { <button className="btn-facebook icon"><span> Facebook</span></Button> - +
Size Small Add this class .btn-sm
@@ -204,7 +204,7 @@ class SocialButtons extends Component {

-
+ @@ -216,7 +216,7 @@ class SocialButtons extends Component { <button className="btn-facebook text"><span> Facebook</span></Button> - +
Size Small Add this class .btn-sm
@@ -305,7 +305,7 @@ class SocialButtons extends Component {

-
+ diff --git a/React_Full_Project/src/views/Components/SocialButtons/package.json b/React_Full_Project/src/views/Components/SocialButtons/package.json index 48cd2bb..5594c56 100644 --- a/React_Full_Project/src/views/Components/SocialButtons/package.json +++ b/React_Full_Project/src/views/Components/SocialButtons/package.json @@ -1,6 +1,6 @@ { "name": "SocialButtons", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./SocialButtons.js" } diff --git a/React_Full_Project/src/views/Components/Switches/Switches.js b/React_Full_Project/src/views/Components/Switches/Switches.js index 2b5e809..16833cd 100644 --- a/React_Full_Project/src/views/Components/Switches/Switches.js +++ b/React_Full_Project/src/views/Components/Switches/Switches.js @@ -1,5 +1,5 @@ -import React, {Component} from "react"; -import {Row, Col, Card, CardHeader, CardBlock, Label, Input, Table} from "reactstrap"; +import React, {Component} from 'react'; +import {Row, Col, Card, CardHeader, CardBody, Label, Input, Table} from 'reactstrap'; class Switches extends Component { render() { @@ -12,7 +12,7 @@ class Switches extends Component { 3d Switch - + - + @@ -57,7 +57,7 @@ class Switches extends Component { Switch default - + - + @@ -102,7 +102,7 @@ class Switches extends Component { Switch default - pills - + - + @@ -147,7 +147,7 @@ class Switches extends Component { Switch outline - + - + @@ -192,7 +192,7 @@ class Switches extends Component { Switch outline - pills - + - + @@ -237,7 +237,7 @@ class Switches extends Component { Switch outline alternative - + - + @@ -282,7 +282,7 @@ class Switches extends Component { Switch outline alternative - pills - + - + @@ -327,7 +327,7 @@ class Switches extends Component { Switch with text - + - + @@ -372,7 +372,7 @@ class Switches extends Component { Switch with text - pills - + - + @@ -417,7 +417,7 @@ class Switches extends Component { Switch with text outline - + - + @@ -463,7 +463,7 @@ class Switches extends Component { Switch with text outline - pills - + - + @@ -509,7 +509,7 @@ class Switches extends Component { Switch with text outline alternative - + - + @@ -554,7 +554,7 @@ class Switches extends Component { Switch with text outline alternative - pills - + - + @@ -599,7 +599,7 @@ class Switches extends Component { Switch with icon - + - + @@ -644,7 +644,7 @@ class Switches extends Component { Switch with icon - pills - + - + @@ -689,7 +689,7 @@ class Switches extends Component { Switch with icon outline - + - + @@ -734,7 +734,7 @@ class Switches extends Component { Switch with icon outline - pills - + - + @@ -779,7 +779,7 @@ class Switches extends Component { Switch with icon outline alternative - + - + @@ -824,7 +824,7 @@ class Switches extends Component { Switch with icon outline alternative - pills - + - + @@ -869,7 +869,7 @@ class Switches extends Component { Sizes - + @@ -941,7 +941,7 @@ class Switches extends Component {
-
+ diff --git a/React_Full_Project/src/views/Components/Switches/package.json b/React_Full_Project/src/views/Components/Switches/package.json index d7b9fc8..c50fa3a 100644 --- a/React_Full_Project/src/views/Components/Switches/package.json +++ b/React_Full_Project/src/views/Components/Switches/package.json @@ -1,6 +1,6 @@ { "name": "Switches", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Switches.js" } diff --git a/React_Full_Project/src/views/Components/Tables/Tables.js b/React_Full_Project/src/views/Components/Tables/Tables.js index 1ba84ac..521d0dd 100644 --- a/React_Full_Project/src/views/Components/Tables/Tables.js +++ b/React_Full_Project/src/views/Components/Tables/Tables.js @@ -1,16 +1,16 @@ -import React, {Component} from "react"; +import React, {Component} from 'react'; import { Badge, Row, Col, Card, CardHeader, - CardBlock, + CardBody, Table, Pagination, PaginationItem, PaginationLink -} from "reactstrap"; +} from 'reactstrap'; class Tables extends Component { @@ -23,7 +23,7 @@ class Tables extends Component { Simple Table - + @@ -96,7 +96,7 @@ class Tables extends Component { - + @@ -105,7 +105,7 @@ class Tables extends Component { Striped Table - +
@@ -168,7 +168,7 @@ class Tables extends Component { 4Next - + @@ -180,7 +180,7 @@ class Tables extends Component { Condensed Table - +
@@ -243,7 +243,7 @@ class Tables extends Component { 4Next - + @@ -252,7 +252,7 @@ class Tables extends Component { Bordered Table - +
@@ -310,12 +310,12 @@ class Tables extends Component { 1 - 2 + 234Next - + @@ -327,7 +327,7 @@ class Tables extends Component { Combined All Table - +
@@ -392,7 +392,7 @@ class Tables extends Component { Next - + diff --git a/React_Full_Project/src/views/Components/Tables/package.json b/React_Full_Project/src/views/Components/Tables/package.json index e6bfe06..1056977 100644 --- a/React_Full_Project/src/views/Components/Tables/package.json +++ b/React_Full_Project/src/views/Components/Tables/package.json @@ -1,6 +1,6 @@ { "name": "Tables", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Tables.js" } diff --git a/React_Full_Project/src/views/Components/Tabs/Tabs.js b/React_Full_Project/src/views/Components/Tabs/Tabs.js index 9a3bf39..cb3829b 100644 --- a/React_Full_Project/src/views/Components/Tabs/Tabs.js +++ b/React_Full_Project/src/views/Components/Tabs/Tabs.js @@ -1,6 +1,6 @@ -import React, {Component} from "react"; -import {Badge, Row, Col, TabContent, TabPane, Nav, NavItem, NavLink} from "reactstrap"; -import classnames from "classnames"; +import React, {Component} from 'react'; +import {Badge, Row, Col, TabContent, TabPane, Nav, NavItem, NavLink} from 'reactstrap'; +import classnames from 'classnames'; class Tabs extends Component { diff --git a/React_Full_Project/src/views/Components/Tabs/package.json b/React_Full_Project/src/views/Components/Tabs/package.json index b3e7f81..1d6972c 100644 --- a/React_Full_Project/src/views/Components/Tabs/package.json +++ b/React_Full_Project/src/views/Components/Tabs/package.json @@ -1,6 +1,6 @@ { "name": "Tabs", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Tabs.js" } diff --git a/React_Full_Project/src/views/Dashboard/Dashboard.js b/React_Full_Project/src/views/Dashboard/Dashboard.js index fb32c42..528d42a 100644 --- a/React_Full_Project/src/views/Dashboard/Dashboard.js +++ b/React_Full_Project/src/views/Dashboard/Dashboard.js @@ -1,5 +1,5 @@ -import React, {Component} from "react"; -import {Bar, Line} from "react-chartjs-2"; +import React, { Component } from 'react'; +import {Bar, Line} from 'react-chartjs-2'; import { Badge, Row, @@ -11,7 +11,7 @@ import { DropdownItem, Card, CardHeader, - CardBlock, + CardBody, CardFooter, CardTitle, Button, @@ -21,7 +21,7 @@ import { Label, Input, Table -} from "reactstrap"; +} from 'reactstrap'; const brandPrimary = '#20a8d8'; const brandSuccess = '#4dbd74'; @@ -435,14 +435,14 @@ class Dashboard extends Component { - + { this.setState({ card1: !this.state.card1 }); }}> - + Action Another action Disabled action @@ -452,7 +452,7 @@ class Dashboard extends Component {

9.823

Members online

-
+
@@ -461,14 +461,14 @@ class Dashboard extends Component {
- + { this.setState({ card2: !this.state.card2 }); }}> - - + + - + Action Another action Something else here @@ -477,7 +477,7 @@ class Dashboard extends Component {

9.823

Members online

-
+
@@ -486,14 +486,14 @@ class Dashboard extends Component {
- + { this.setState({ card3: !this.state.card3 }); }}> - + Action Another action Something else here @@ -502,7 +502,7 @@ class Dashboard extends Component {

9.823

Members online

-
+
@@ -511,14 +511,14 @@ class Dashboard extends Component {
- + { this.setState({ card4: !this.state.card4 }); }}> - + Action Another action Something else here @@ -527,7 +527,7 @@ class Dashboard extends Component {

9.823

Members online

-
+
@@ -537,7 +537,7 @@ class Dashboard extends Component {
- + Traffic @@ -563,7 +563,7 @@ class Dashboard extends Component {
- +
  • @@ -682,7 +682,7 @@ class Dashboard extends Component { Traffic {'&'} Sales - +
@@ -1216,7 +1216,7 @@ class Dashboard extends Component {
-
+ diff --git a/React_Full_Project/src/views/Dashboard/package.json b/React_Full_Project/src/views/Dashboard/package.json index 9c9578a..aebf1fb 100644 --- a/React_Full_Project/src/views/Dashboard/package.json +++ b/React_Full_Project/src/views/Dashboard/package.json @@ -1,6 +1,6 @@ { "name": "Dashboard", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Dashboard.js" } diff --git a/React_Full_Project/src/views/Icons/FontAwesome/FontAwesome.js b/React_Full_Project/src/views/Icons/FontAwesome/FontAwesome.js index 8409c1a..7d4ae40 100644 --- a/React_Full_Project/src/views/Icons/FontAwesome/FontAwesome.js +++ b/React_Full_Project/src/views/Icons/FontAwesome/FontAwesome.js @@ -1,5 +1,5 @@ import React, {Component} from 'react'; -import {Alert, Row, Col, Card, CardHeader, CardBlock} from 'reactstrap'; +import {Alert, Row, Col, Card, CardHeader, CardBody} from 'reactstrap'; class FontAwesome extends Component { @@ -8,7 +8,7 @@ class FontAwesome extends Component {
55 New Icons in 4.7 - +
address-book @@ -176,11 +176,11 @@ class FontAwesome extends Component {
wpexplorer
-
+
20 New Icons in 4.5 - + @@ -265,12 +265,12 @@ class FontAwesome extends Component { - + Web Application Icons - + @@ -1862,13 +1862,13 @@ class FontAwesome extends Component { - + Hand Icons - + @@ -1942,13 +1942,13 @@ class FontAwesome extends Component { - + Transportation Icons - + @@ -2021,12 +2021,12 @@ class FontAwesome extends Component { - + Gender Icons - + @@ -2086,12 +2086,12 @@ class FontAwesome extends Component { - + File Type Icons - + @@ -2171,12 +2171,12 @@ class FontAwesome extends Component { - + Spinner Icons - +
  • @@ -2208,12 +2208,12 @@ class FontAwesome extends Component { - + Form Control Icons - + @@ -2261,12 +2261,12 @@ class FontAwesome extends Component { - + Payment Icons - + @@ -2318,12 +2318,12 @@ class FontAwesome extends Component { - + Chart Icons - + @@ -2348,12 +2348,12 @@ class FontAwesome extends Component { - + Currency Icons - + @@ -2462,12 +2462,12 @@ class FontAwesome extends Component { - + Text Editor Icons - + @@ -2669,12 +2669,12 @@ class FontAwesome extends Component { - + Directional Icons - + @@ -2893,12 +2893,12 @@ class FontAwesome extends Component { - + Video Player Icons - + @@ -2986,12 +2986,12 @@ class FontAwesome extends Component { - + Brand Icons - +

    Warning!

    Apparently, Adblock Plus can remove Font Awesome brand icons with their "Remove Social @@ -3637,12 +3637,12 @@ class FontAwesome extends Component {
  • Brand icons should only be used to represent the company or product to which they refer.
-
+
Medical Icons - + @@ -3690,7 +3690,7 @@ class FontAwesome extends Component { - +
diff --git a/React_Full_Project/src/views/Icons/FontAwesome/package.json b/React_Full_Project/src/views/Icons/FontAwesome/package.json index 8cfb797..98d026f 100644 --- a/React_Full_Project/src/views/Icons/FontAwesome/package.json +++ b/React_Full_Project/src/views/Icons/FontAwesome/package.json @@ -1,6 +1,6 @@ { "name": "FontAwesome", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./FontAwesome.js" } diff --git a/React_Full_Project/src/views/Icons/SimpleLineIcons/SimpleLineIcons.js b/React_Full_Project/src/views/Icons/SimpleLineIcons/SimpleLineIcons.js index c1a3dfc..0b1efbf 100644 --- a/React_Full_Project/src/views/Icons/SimpleLineIcons/SimpleLineIcons.js +++ b/React_Full_Project/src/views/Icons/SimpleLineIcons/SimpleLineIcons.js @@ -1,15 +1,15 @@ -import React, {Component} from "react"; -import {Row, Col, Card, CardHeader, CardBlock} from "reactstrap"; +import React, {Component} from 'react'; +import {Row, Col, Card, CardHeader, CardBody} from 'reactstrap'; class SimpleLineIcons extends Component { render() { return (
- + Simple Line Icons - + @@ -745,7 +745,7 @@ class SimpleLineIcons extends Component { - +
) diff --git a/React_Full_Project/src/views/Icons/SimpleLineIcons/package.json b/React_Full_Project/src/views/Icons/SimpleLineIcons/package.json index 82c9fc6..6d11a74 100644 --- a/React_Full_Project/src/views/Icons/SimpleLineIcons/package.json +++ b/React_Full_Project/src/views/Icons/SimpleLineIcons/package.json @@ -1,6 +1,6 @@ { "name": "SimpleLineIcons", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./SimpleLineIcons.js" } diff --git a/React_Full_Project/src/views/Pages/Login/Login.js b/React_Full_Project/src/views/Pages/Login/Login.js index bef4f79..c085530 100644 --- a/React_Full_Project/src/views/Pages/Login/Login.js +++ b/React_Full_Project/src/views/Pages/Login/Login.js @@ -1,5 +1,5 @@ -import React, {Component} from "react"; -import {Container, Row, Col, CardGroup, Card, CardBlock, Button, Input, InputGroup, InputGroupAddon} from "reactstrap"; +import React, {Component} from 'react'; +import {Container, Row, Col, CardGroup, Card, CardBody, Button, Input, InputGroup, InputGroupAddon} from 'reactstrap'; class Login extends Component { @@ -11,7 +11,7 @@ class Login extends Component { - +

Login

Sign In to your account

@@ -30,17 +30,17 @@ class Login extends Component { -
+
- +

Sign up

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

-
+
diff --git a/React_Full_Project/src/views/Pages/Login/package.json b/React_Full_Project/src/views/Pages/Login/package.json index 58e069b..4ede144 100644 --- a/React_Full_Project/src/views/Pages/Login/package.json +++ b/React_Full_Project/src/views/Pages/Login/package.json @@ -1,6 +1,6 @@ { "name": "Login", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Login.js" } diff --git a/React_Full_Project/src/views/Pages/Page404/Page404.js b/React_Full_Project/src/views/Pages/Page404/Page404.js index 21c9ab9..c74e7cf 100644 --- a/React_Full_Project/src/views/Pages/Page404/Page404.js +++ b/React_Full_Project/src/views/Pages/Page404/Page404.js @@ -1,5 +1,5 @@ -import React, {Component} from "react"; -import {Container, Row, Col, Button, Input, InputGroupAddon, InputGroup, InputGroupButton} from "reactstrap"; +import React, {Component} from 'react'; +import {Container, Row, Col, Button, Input, InputGroupAddon, InputGroup, InputGroupButton} from 'reactstrap'; class Page404 extends Component { render() { diff --git a/React_Full_Project/src/views/Pages/Page404/package.json b/React_Full_Project/src/views/Pages/Page404/package.json index 7f1afcb..2bbb96b 100644 --- a/React_Full_Project/src/views/Pages/Page404/package.json +++ b/React_Full_Project/src/views/Pages/Page404/package.json @@ -1,6 +1,6 @@ { "name": "Page404", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Page404.js" } diff --git a/React_Full_Project/src/views/Pages/Page500/Page500.js b/React_Full_Project/src/views/Pages/Page500/Page500.js index 19906f3..c444033 100644 --- a/React_Full_Project/src/views/Pages/Page500/Page500.js +++ b/React_Full_Project/src/views/Pages/Page500/Page500.js @@ -1,5 +1,5 @@ -import React, {Component} from "react"; -import {Container, Row, Col, Button, Input, InputGroup, InputGroupAddon, InputGroupButton} from "reactstrap"; +import React, {Component} from 'react'; +import {Container, Row, Col, Button, Input, InputGroup, InputGroupAddon, InputGroupButton} from 'reactstrap'; class Page500 extends Component { render() { diff --git a/React_Full_Project/src/views/Pages/Page500/package.json b/React_Full_Project/src/views/Pages/Page500/package.json index 6859936..a1d4c1d 100644 --- a/React_Full_Project/src/views/Pages/Page500/package.json +++ b/React_Full_Project/src/views/Pages/Page500/package.json @@ -1,6 +1,6 @@ { "name": "Page500", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Page500.js" } diff --git a/React_Full_Project/src/views/Pages/Register/Register.js b/React_Full_Project/src/views/Pages/Register/Register.js index 4b3a3dd..d9c7ac0 100644 --- a/React_Full_Project/src/views/Pages/Register/Register.js +++ b/React_Full_Project/src/views/Pages/Register/Register.js @@ -1,5 +1,5 @@ -import React, {Component} from "react"; -import {Container, Row, Col, Card, CardBlock, CardFooter, Button, Input, InputGroup, InputGroupAddon} from "reactstrap"; +import React, {Component} from 'react'; +import {Container, Row, Col, Card, CardBody, CardFooter, Button, Input, InputGroup, InputGroupAddon} from 'reactstrap'; class Register extends Component { render() { @@ -9,7 +9,7 @@ class Register extends Component { - +

Register

Create your account

@@ -29,7 +29,7 @@ class Register extends Component { -
+ diff --git a/React_Full_Project/src/views/Pages/Register/package.json b/React_Full_Project/src/views/Pages/Register/package.json index d636347..f62b08c 100644 --- a/React_Full_Project/src/views/Pages/Register/package.json +++ b/React_Full_Project/src/views/Pages/Register/package.json @@ -1,6 +1,6 @@ { "name": "Register", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Register.js" } diff --git a/React_Full_Project/src/views/Widgets/Widget01.js b/React_Full_Project/src/views/Widgets/Widget01.js index 9e01efe..f396c26 100644 --- a/React_Full_Project/src/views/Widgets/Widget01.js +++ b/React_Full_Project/src/views/Widgets/Widget01.js @@ -1,6 +1,6 @@ -import React, {Component} from "react"; +import React, {Component} from 'react'; import PropTypes from 'prop-types'; -import {Card, CardBlock, Progress} from "reactstrap"; +import {Card, CardBody, Progress} from 'reactstrap'; import classNames from 'classnames'; import {mapToCssModules} from 'reactstrap/lib/utils'; @@ -45,13 +45,13 @@ class Widget01 extends Component { return ( - +
{ header }
{ mainText }
{ smallText }
{children}
-
+
) } diff --git a/React_Full_Project/src/views/Widgets/Widget02.js b/React_Full_Project/src/views/Widgets/Widget02.js index 4e3808f..544d550 100644 --- a/React_Full_Project/src/views/Widgets/Widget02.js +++ b/React_Full_Project/src/views/Widgets/Widget02.js @@ -1,6 +1,6 @@ -import React, {Component} from "react"; +import React, {Component} from 'react'; import PropTypes from 'prop-types'; -import {Card, CardBlock, CardFooter} from "reactstrap"; +import {Card, CardBody, CardFooter} from 'reactstrap'; import classNames from 'classnames'; import {mapToCssModules} from 'reactstrap/lib/utils'; @@ -34,7 +34,7 @@ class Widget02 extends Component { const padding = (variant === '0' ? {card: "p-3", icon: "p-3", lead: "mt-2"} : ( variant === "1" ? { card: "p-0", icon: "p-4", lead: "pt-3" } : {card: "p-0", icon: "p-4 px-5", lead: "pt-3"})); - const card = {style: "card-body clearfix", color: color, icon: icon, classes: ""}; + const card = {style: "clearfix", color: color, icon: icon, classes: ""}; card.classes = mapToCssModules(classNames(className, card.style, padding.card), cssModule); const lead = {style: "h5 mb-0", color: color, classes: ""}; @@ -58,11 +58,11 @@ class Widget02 extends Component { return ( - + { blockIcon(card.icon) }
{ header }
{ mainText }
-
+ { cardFooter() }
) diff --git a/React_Full_Project/src/views/Widgets/Widget03.js b/React_Full_Project/src/views/Widgets/Widget03.js index 799601e..7ec49c0 100644 --- a/React_Full_Project/src/views/Widgets/Widget03.js +++ b/React_Full_Project/src/views/Widgets/Widget03.js @@ -1,4 +1,4 @@ -import React, {Component} from "react"; +import React, {Component} from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import {mapToCssModules} from 'reactstrap/lib/utils'; diff --git a/React_Full_Project/src/views/Widgets/Widget04.js b/React_Full_Project/src/views/Widgets/Widget04.js index aae2451..304c20b 100644 --- a/React_Full_Project/src/views/Widgets/Widget04.js +++ b/React_Full_Project/src/views/Widgets/Widget04.js @@ -1,6 +1,6 @@ -import React, {Component} from "react"; +import React, {Component} from 'react'; import PropTypes from 'prop-types'; -import {Card, CardBlock, Progress} from "reactstrap"; +import {Card, CardBody, Progress} from 'reactstrap'; import classNames from 'classnames'; import {mapToCssModules} from 'reactstrap/lib/utils'; @@ -44,14 +44,14 @@ class Widget04 extends Component { return ( - +
{ header }
{ children } -
+
) } diff --git a/React_Full_Project/src/views/Widgets/Widgets.js b/React_Full_Project/src/views/Widgets/Widgets.js index 090db29..73a77f2 100644 --- a/React_Full_Project/src/views/Widgets/Widgets.js +++ b/React_Full_Project/src/views/Widgets/Widgets.js @@ -1,5 +1,5 @@ -import React, {Component} from "react"; -import {Row, Col, CardGroup} from "reactstrap"; +import React, {Component} from 'react'; +import {Row, Col, CardGroup} from 'reactstrap'; import Widget01 from './Widget01'; import Widget02 from './Widget02'; import Widget03 from './Widget03'; @@ -68,28 +68,28 @@ class Widgets extends Component {
- + - + - + - + - + - + - + - + @@ -159,4 +159,4 @@ class Widgets extends Component { } } -export default Widgets; \ No newline at end of file +export default Widgets; diff --git a/React_Full_Project/src/views/Widgets/package.json b/React_Full_Project/src/views/Widgets/package.json index 779a5e2..c9d2c73 100644 --- a/React_Full_Project/src/views/Widgets/package.json +++ b/React_Full_Project/src/views/Widgets/package.json @@ -1,6 +1,6 @@ { "name": "Widgets", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Widgets.js" } diff --git a/React_Starter/.gitignore b/React_Starter/.gitignore index 1fa4fde..8a75778 100644 --- a/React_Starter/.gitignore +++ b/React_Starter/.gitignore @@ -2,6 +2,7 @@ # dependencies node_modules +package-lock.json # testing coverage diff --git a/React_Starter/CHANGELOG.md b/React_Starter/CHANGELOG.md deleted file mode 100644 index 3c69f44..0000000 --- a/React_Starter/CHANGELOG.md +++ /dev/null @@ -1,35 +0,0 @@ -### Changelog [react](./REACT.md) version - -#### 2017.08.26 -- Sidebar component: - - item with optional class (_nav.js) - - nav link with optional variant (_nav.js) - - external urls allowed (_nav.js) - - optional SidebarFooter, SidebarHeader, SidebarForm components -- SidebarMinimizer component -- .brand-minimized -- .sidebar-minimized, -- Header component - sidebarMinimize -- react-transition-group downgrade to v1 : (modals and alerts reactstrap:v4.8 issue) - -#### 2017.08.24 -- webpack.config env.prod -- Dashboard .dropdown-menu-right temp.scss hotfix (full) -- callout.scss .chart-wrapper hotfix (full) - -#### 2017.08.11 -- Bootstrap 4 beta -- Dashboard component (full): - - line chart for social box - - sparkline chart for callout - -#### 2017.08.01 -- Sidebar component: - - title item with optional wrapper and class (_nav.js) - - nav link item with optional badge - - code refactoring - -#### 2017.07.31 -- moved to [reactstrap](https://reactstrap.github.io/) -- moved to [webpack](https://webpack.js.org/) (dropping gulp) -- data driven Sidebar component (_nav.js) diff --git a/React_Starter/REACT.md b/React_Starter/REACT.md deleted file mode 100644 index e992b2b..0000000 --- a/React_Starter/REACT.md +++ /dev/null @@ -1,36 +0,0 @@ -# React version - -## Intro - -It uses Sass (with .scss). The style is loaded at the component level. - -Dependencies can be handled by **npm**. - -## Directories - -``` -src (js|jsx source) -scss (scss source) -public (html template) -public/img (images) -``` - -## Usage - -**npm i** - to install dependencies - -## Sctipts - -**npm start** for developing (it runs webpack-dev-server) - -**npm run build** to run a dev build - -**npm run clean** to clean build dir - -**npm run dev** to run a dev build with watching filesystem for changes - - -## See also - -[Changelog](./CHANGELOG.md) -[Readme](./README.md) \ No newline at end of file diff --git a/React_Starter/package.json b/React_Starter/package.json index c885710..0eeb158 100644 --- a/React_Starter/package.json +++ b/React_Starter/package.json @@ -14,22 +14,22 @@ "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.0", "babel-preset-react": "^6.24.1", - "copy-webpack-plugin": "^4.0.1", - "css-hot-loader": "^1.3.1", + "copy-webpack-plugin": "^4.1.1", + "css-hot-loader": "^1.3.2", "css-loader": "^0.28.7", - "extract-text-webpack-plugin": "^3.0.0", - "file-loader": "^0.11.2", + "extract-text-webpack-plugin": "^3.0.1", + "file-loader": "^1.1.5", "html-loader": "^0.5.1", "html-webpack-plugin": "^2.30.1", "node-sass": "^4.5.3", "rimraf": "^2.6.2", "sass-loader": "^6.0.6", "source-list-map": "^2.0.0", - "style-loader": "^0.18.2", - "uglify-js": "^3.1.1", - "url-loader": "^0.5.9", + "style-loader": "^0.19.0", + "uglify-js": "^3.1.3", + "url-loader": "^0.6.2", "webpack": "^3.6.0", - "webpack-dev-server": "^2.8.2" + "webpack-dev-server": "^2.9.1" }, "dependencies": { "bootstrap": "^4.0.0-beta", @@ -37,12 +37,12 @@ "font-awesome": "^4.7.0", "history": "4.7.2", "is-url-external": "^1.0.3", - "react": "^15.6.1", - "react-chartjs-2": "2.6.2", - "react-dom": "^15.6.1", - "react-router-dom": "4.2.2", - "react-transition-group": "^1.2.0", - "reactstrap": "^4.8.0", + "react": "^16.0.0", + "react-chartjs-2": "2.6.4", + "react-dom": "^16.0.0", + "react-router-dom": "^4.2.2", + "react-transition-group": "^2.2.1", + "reactstrap": "^5.0.0-alpha.3", "simple-line-icons": "^2.4.1" }, "scripts": { diff --git a/React_Starter/scss/core/_dropdown-menu-right.scss b/React_Starter/scss/core/_dropdown-menu-right.scss index eec74e8..427ab59 100644 --- a/React_Starter/scss/core/_dropdown-menu-right.scss +++ b/React_Starter/scss/core/_dropdown-menu-right.scss @@ -1,7 +1,8 @@ // Temp fix for reactstrap -.show { - > .dropdown-menu-right { - right: 0; - left: auto; // Reset the default from `.dropdown-menu` +.app-header { + .navbar-nav { + .dropdown-menu-right { + right: auto; + } } -} +} \ No newline at end of file diff --git a/React_Starter/scss/core/_footer.scss b/React_Starter/scss/core/_footer.scss index 2d678c8..1c1748b 100644 --- a/React_Starter/scss/core/_footer.scss +++ b/React_Starter/scss/core/_footer.scss @@ -1,8 +1,9 @@ .app-footer { - min-height: $footer-height; + display: flex; padding: 0 $spacer; - line-height: $footer-height; color: $footer-color; background: $footer-bg; + flex-wrap: wrap; + align-items: center; @include borders($footer-borders); } diff --git a/React_Starter/scss/core/_layout.scss b/React_Starter/scss/core/_layout.scss index cbab8f0..6e4034d 100644 --- a/React_Starter/scss/core/_layout.scss +++ b/React_Starter/scss/core/_layout.scss @@ -11,8 +11,8 @@ app-dashboard, app-root { display: flex; - flex-direction: column; min-height: 100vh; + flex-direction: column; } .app-header { @@ -26,12 +26,12 @@ app-root { .app-body { display: flex; flex-direction: row; - flex-grow: 1; overflow-x: hidden; + flex-grow: 1; .main { - flex: 1; min-width: 0; + flex: 1; } .sidebar { @@ -328,7 +328,8 @@ app-root { margin-top: $navbar-height; } - .sidebar { + .sidebar, + .sidebar-fixed .sidebar { position: fixed; z-index: $zindex-sticky - 1; width: $mobile-sidebar-width; diff --git a/React_Starter/scss/core/_navbar.scss b/React_Starter/scss/core/_navbar.scss index ba49147..780d66a 100644 --- a/React_Starter/scss/core/_navbar.scss +++ b/React_Starter/scss/core/_navbar.scss @@ -1,7 +1,7 @@ .app-header.navbar { position: relative; - flex-direction: row; height: $navbar-height; + flex-direction: row; padding: 0; margin: 0; background-color: $navbar-bg; @@ -102,13 +102,16 @@ background-color: rgba(0,0,0,.075); } -.brand-minimized { - .app-header.navbar { - .navbar-brand { - width: $navbar-brand-minimized-width; - background-color: $navbar-brand-minimized-bg; - background-image: $navbar-brand-minimized-logo; - background-size: $navbar-brand-minimized-logo-size; +@include media-breakpoint-up(lg) { + .brand-minimized { + .app-header.navbar { + .navbar-brand { + width: $navbar-brand-minimized-width; + background-color: $navbar-brand-minimized-bg; + background-image: $navbar-brand-minimized-logo; + background-size: $navbar-brand-minimized-logo-size; + @include borders($navbar-brand-minimized-border); + } } } } diff --git a/React_Starter/scss/core/_sidebar.scss b/React_Starter/scss/core/_sidebar.scss index 407ed22..3f83a0d 100644 --- a/React_Starter/scss/core/_sidebar.scss +++ b/React_Starter/scss/core/_sidebar.scss @@ -78,8 +78,8 @@ .nav { @include sidebar-width($sidebar-borders, $sidebar-width); - flex-direction: column; min-height: 100%; + flex-direction: column; } .nav-title { @@ -254,6 +254,7 @@ flex: 0 0 $sidebar-footer-height; padding: $sidebar-footer-padding-y $sidebar-footer-padding-x; background: $sidebar-footer-bg; + @include borders($sidebar-footer-borders); } .sidebar-minimizer { @@ -261,6 +262,7 @@ flex: 0 0 $sidebar-minimizer-height; background-color: $sidebar-minimizer-bg; border: 0; + @include borders($sidebar-minimizer-borders); &::before { position: absolute; diff --git a/React_Starter/scss/core/_variables.scss b/React_Starter/scss/core/_variables.scss index 790e519..a2bebe8 100644 --- a/React_Starter/scss/core/_variables.scss +++ b/React_Starter/scss/core/_variables.scss @@ -58,10 +58,11 @@ $navbar-brand-border: ( ) ) !default; -$navbar-brand-minimized-width: 50px !default -$navbar-brand-minimized-bg: #fff !default; +$navbar-brand-minimized-width: 50px !default; +$navbar-brand-minimized-bg: $navbar-brand-bg !default; $navbar-brand-minimized-logo: url('../img/logo-symbol.png') !default; $navbar-brand-minimized-logo-size: 24px !default; +$navbar-brand-minimized-border: $navbar-brand-border !default; $navbar-color: $gray-600 !default; $navbar-hover-color: $gray-800 !default; @@ -132,11 +133,13 @@ $sidebar-footer-height: auto !default; $sidebar-footer-bg: rgba(0,0,0,.2) !default; $sidebar-footer-padding-y: .75rem !default; $sidebar-footer-padding-x: 1rem !default; +$sidebar-footer-borders: 0 !default; // Sidebar Minimizer $sidebar-minimizer-height: 50px !default; $sidebar-minimizer-bg: rgba(0,0,0,.2) !default; +$sidebar-minimizer-borders: 0 !default; $sidebar-minimizer-indicator-color: $gray-600 !default; $sidebar-minimizer-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3Cpath fill='#{$sidebar-minimizer-indicator-color}' d='M9.148 2.352l-4.148 4.148 4.148 4.148q0.148 0.148 0.148 0.352t-0.148 0.352l-1.297 1.297q-0.148 0.148-0.352 0.148t-0.352-0.148l-5.797-5.797q-0.148-0.148-0.148-0.352t0.148-0.352l5.797-5.797q0.148-0.148 0.352-0.148t0.352 0.148l1.297 1.297q0.148 0.148 0.148 0.352t-0.148 0.352z'/%3E%3C/svg%3E"), "#", "%23") !default; $sidebar-minimizer-hover-bg: rgba(0,0,0,.3) !default; diff --git a/React_Starter/scss/style.scss b/React_Starter/scss/style.scss index 4296d77..151efff 100644 --- a/React_Starter/scss/style.scss +++ b/React_Starter/scss/style.scss @@ -1,6 +1,6 @@ /*! * CoreUI - Open Source Bootstrap Admin Template - * @version v1.0.0 + * @version v1.0.1 * @link http://coreui.io * Copyright (c) 2017 creativeLabs Łukasz Holeczek * @license MIT @@ -11,23 +11,17 @@ // Import Bootstrap source files @import "bootstrap/bootstrap"; -// If you want you can import bootstrap scss files directly from node_modules or bower_components. +// If you want you can import bootstrap scss files directly from node_modules. // To do this please remove @import "bootstrap/bootstrap"; and uncomment proper line. // Import Bootstrap source files from node_modules // @import "node_modules/bootstrap/scss/bootstrap"; -// Import Bootstrap source files from bower_components -// @import "bower_components/bootstrap/scss/bootstrap"; - // Override core variables @import "core-variables"; // Import core styles @import "core/core"; -// Import vendors styles -@import "vendors/vendors"; - // Custom styles @import "custom"; diff --git a/React_Starter/scss/vendors/_variables.scss b/React_Starter/scss/vendors/_variables.scss new file mode 100644 index 0000000..02636b9 --- /dev/null +++ b/React_Starter/scss/vendors/_variables.scss @@ -0,0 +1,9 @@ +// @import "node_modules/bootstrap/scss/bootstrap/functions"; +@import "../bootstrap/functions"; +@import "../bootstrap-variables"; +// @import "node_modules/bootstrap/scss/bootstrap/variables"; +@import "../bootstrap/variables"; +// @import "node_modules/bootstrap/scss/bootstrap/mixins"; +@import "../bootstrap/mixins"; +@import "../core-variables"; +@import "../core/variables"; diff --git a/React_Starter/scss/vendors/_vendors.scss b/React_Starter/scss/vendors/_vendors.scss deleted file mode 100644 index 7aab687..0000000 --- a/React_Starter/scss/vendors/_vendors.scss +++ /dev/null @@ -1 +0,0 @@ -@import "chart.js/chart"; diff --git a/React_Starter/scss/vendors/chart.js/chart.scss b/React_Starter/scss/vendors/chart.js/chart.scss index 41eda00..7e99cca 100644 --- a/React_Starter/scss/vendors/chart.js/chart.scss +++ b/React_Starter/scss/vendors/chart.js/chart.scss @@ -1,3 +1,6 @@ +// Import variables +@import '../variables'; + .chart-legend, .bar-legend, .line-legend, diff --git a/React_Starter/src/components/Aside/Aside.js b/React_Starter/src/components/Aside/Aside.js index 1a8c884..58d345b 100644 --- a/React_Starter/src/components/Aside/Aside.js +++ b/React_Starter/src/components/Aside/Aside.js @@ -5,7 +5,7 @@ class Aside extends Component { render() { return ( ) } diff --git a/React_Starter/src/components/Aside/package.json b/React_Starter/src/components/Aside/package.json index 905959b..01a49f1 100644 --- a/React_Starter/src/components/Aside/package.json +++ b/React_Starter/src/components/Aside/package.json @@ -1,6 +1,6 @@ { "name": "Aside", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Aside.js" } diff --git a/React_Starter/src/components/Breadcrumb/package.json b/React_Starter/src/components/Breadcrumb/package.json index db34964..0d7d8f5 100644 --- a/React_Starter/src/components/Breadcrumb/package.json +++ b/React_Starter/src/components/Breadcrumb/package.json @@ -1,6 +1,6 @@ { "name": "Breadcrumb", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Breadcrumb.js" } diff --git a/React_Starter/src/components/Footer/Footer.js b/React_Starter/src/components/Footer/Footer.js index 5a76430..be08cb7 100644 --- a/React_Starter/src/components/Footer/Footer.js +++ b/React_Starter/src/components/Footer/Footer.js @@ -4,8 +4,8 @@ class Footer extends Component { render() { return ( ) } diff --git a/React_Starter/src/components/Footer/package.json b/React_Starter/src/components/Footer/package.json index ad7b5cb..8dfb1cd 100644 --- a/React_Starter/src/components/Footer/package.json +++ b/React_Starter/src/components/Footer/package.json @@ -1,6 +1,6 @@ { "name": "Footer", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Footer.js" } diff --git a/React_Starter/src/components/Header/Header.js b/React_Starter/src/components/Header/Header.js index 179b98d..2483472 100644 --- a/React_Starter/src/components/Header/Header.js +++ b/React_Starter/src/components/Header/Header.js @@ -34,6 +34,7 @@ class Header extends Component { + ) } diff --git a/React_Starter/src/components/Header/package.json b/React_Starter/src/components/Header/package.json index 0a2c907..5e2b227 100644 --- a/React_Starter/src/components/Header/package.json +++ b/React_Starter/src/components/Header/package.json @@ -1,6 +1,6 @@ { "name": "Header", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Header.js" } diff --git a/React_Starter/src/components/Sidebar/Sidebar.js b/React_Starter/src/components/Sidebar/Sidebar.js index 1020944..30bfa6f 100644 --- a/React_Starter/src/components/Sidebar/Sidebar.js +++ b/React_Starter/src/components/Sidebar/Sidebar.js @@ -17,7 +17,6 @@ class Sidebar extends Component { } activeRoute(routeName, props) { - // return this.props.location.pathname.indexOf(routeName) > -1 ? 'nav-item nav-dropdown open' : 'nav-item nav-dropdown'; return props.location.pathname.indexOf(routeName) > -1 ? 'nav-item nav-dropdown open' : 'nav-item nav-dropdown'; } diff --git a/React_Starter/src/components/Sidebar/package.json b/React_Starter/src/components/Sidebar/package.json index c5b3732..edac54e 100644 --- a/React_Starter/src/components/Sidebar/package.json +++ b/React_Starter/src/components/Sidebar/package.json @@ -1,6 +1,6 @@ { "name": "Sidebar", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Sidebar.js" } diff --git a/React_Starter/src/components/SidebarFooter/package.json b/React_Starter/src/components/SidebarFooter/package.json index 74ff5c6..ccf79ae 100644 --- a/React_Starter/src/components/SidebarFooter/package.json +++ b/React_Starter/src/components/SidebarFooter/package.json @@ -1,6 +1,6 @@ { "name": "SidebarFooter", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./SidebarFooter.js" } diff --git a/React_Starter/src/components/SidebarForm/package.json b/React_Starter/src/components/SidebarForm/package.json index 2e413a3..c52cf88 100644 --- a/React_Starter/src/components/SidebarForm/package.json +++ b/React_Starter/src/components/SidebarForm/package.json @@ -1,6 +1,6 @@ { "name": "SidebarForm", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./SidebarForm.js" } diff --git a/React_Starter/src/components/SidebarHeader/package.json b/React_Starter/src/components/SidebarHeader/package.json index 4dde07a..abd7dea 100644 --- a/React_Starter/src/components/SidebarHeader/package.json +++ b/React_Starter/src/components/SidebarHeader/package.json @@ -1,6 +1,6 @@ { "name": "SidebarHeader", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./SidebarHeader.js" } diff --git a/React_Starter/src/components/SidebarMinimizer/package.json b/React_Starter/src/components/SidebarMinimizer/package.json index e702f99..90f80aa 100644 --- a/React_Starter/src/components/SidebarMinimizer/package.json +++ b/React_Starter/src/components/SidebarMinimizer/package.json @@ -1,6 +1,6 @@ { "name": "SidebarMinimizer", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./SidebarMinimizer.js" } diff --git a/React_Starter/src/containers/Full/package.json b/React_Starter/src/containers/Full/package.json index 48b4cb5..0fa075b 100644 --- a/React_Starter/src/containers/Full/package.json +++ b/React_Starter/src/containers/Full/package.json @@ -1,6 +1,6 @@ { "name": "Full", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Full.js" } diff --git a/React_Starter/src/views/Dashboard/package.json b/React_Starter/src/views/Dashboard/package.json index 9c9578a..aebf1fb 100644 --- a/React_Starter/src/views/Dashboard/package.json +++ b/React_Starter/src/views/Dashboard/package.json @@ -1,6 +1,6 @@ { "name": "Dashboard", - "version": "1.0.0", + "version": "1.0.1", "private": true, "main": "./Dashboard.js" }