Skip to content

Commit be9e2ab

Browse files
authored
Merge pull request #45 from mrholek/v1.0.9
v1.0.9 with Bootstrap 4.0.0
2 parents e009616 + cef091d commit be9e2ab

File tree

250 files changed

+49
-12
lines changed

Some content is hidden

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

250 files changed

+49
-12
lines changed

CHANGELOG.md

+3

React_Full_Project/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/react",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "Open Source Bootstrap Admin Template",
55
"author": "Łukasz Holeczek",
66
"homepage": "http://coreui.io",
@@ -15,10 +15,10 @@
1515
"babel-preset-react": "6.24.1",
1616
"copy-webpack-plugin": "4.3.1",
1717
"css-hot-loader": "1.3.5",
18-
"css-loader": "0.28.8",
18+
"css-loader": "0.28.9",
1919
"extract-text-webpack-plugin": "3.0.2",
2020
"file-loader": "1.1.6",
21-
"html-loader": "0.5.4",
21+
"html-loader": "0.5.5",
2222
"html-webpack-plugin": "2.30.1",
2323
"node-sass": "4.7.2",
2424
"rimraf": "2.6.2",
@@ -31,7 +31,7 @@
3131
"webpack-dev-server": "2.9.7"
3232
},
3333
"dependencies": {
34-
"bootstrap": "4.0.0-beta.3",
34+
"bootstrap": "4.0.0",
3535
"chart.js": "2.7.1",
3636
"flag-icon-css": "2.9.0",
3737
"font-awesome": "4.7.0",
@@ -51,7 +51,7 @@
5151
"clean": "rimraf ./build"
5252
},
5353
"engines": {
54-
"node": ">= 6.12.3",
54+
"node": ">= 8.9.4",
5555
"npm": ">= 5.6.0"
5656
}
5757
}

React_Full_Project/scss/style.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* CoreUI - Open Source Bootstrap Admin Template
3-
* @version v1.0.8
3+
* @version v1.0.9
44
* @link http://coreui.io
55
* Copyright (c) 2018 creativeLabs Łukasz Holeczek
66
* @license MIT

React_Full_Project/src/components/Sidebar/Sidebar.js

+17
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,22 @@ class Sidebar extends Component {
6969
return (<li key={key} className={ classes }></li>);
7070
};
7171

72+
// nav label with nav link
73+
const navLabel = (item, key) => {
74+
const classes = {
75+
item: classNames( 'hidden-cn', item.class ),
76+
link: classNames( 'nav-label', item.class ? item.class : ''),
77+
icon: classNames(
78+
!item.icon ? 'fa fa-circle' : item.icon ,
79+
item.label.variant ? `text-${item.label.variant}` : '',
80+
item.label.class ? item.label.class : ''
81+
)
82+
};
83+
return (
84+
navLink(item, key, classes)
85+
);
86+
};
87+
7288
// nav item with nav link
7389
const navItem = (item, key) => {
7490
const classes = {
@@ -114,6 +130,7 @@ class Sidebar extends Component {
114130
const navType = (item, idx) =>
115131
item.title ? title(item, idx) :
116132
item.divider ? divider(item, idx) :
133+
item.label ? navLabel(item, idx) :
117134
item.children ? navDropdown(item, idx)
118135
: navItem(item, idx) ;
119136

React_Starter/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/react",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "Open Source Bootstrap Admin Template",
55
"author": "Łukasz Holeczek",
66
"homepage": "http://coreui.io",
@@ -15,10 +15,10 @@
1515
"babel-preset-react": "6.24.1",
1616
"copy-webpack-plugin": "4.3.1",
1717
"css-hot-loader": "1.3.5",
18-
"css-loader": "0.28.8",
18+
"css-loader": "0.28.9",
1919
"extract-text-webpack-plugin": "3.0.2",
2020
"file-loader": "1.1.6",
21-
"html-loader": "0.5.4",
21+
"html-loader": "0.5.5",
2222
"html-webpack-plugin": "2.30.1",
2323
"node-sass": "4.7.2",
2424
"rimraf": "2.6.2",
@@ -31,7 +31,7 @@
3131
"webpack-dev-server": "2.9.7"
3232
},
3333
"dependencies": {
34-
"bootstrap": "4.0.0-beta.3",
34+
"bootstrap": "4.0.0",
3535
"chart.js": "2.7.1",
3636
"flag-icon-css": "2.9.0",
3737
"font-awesome": "4.7.0",
@@ -51,7 +51,7 @@
5151
"clean": "rimraf ./build"
5252
},
5353
"engines": {
54-
"node": ">= 6.12.3",
54+
"node": ">= 8.9.4",
5555
"npm": ">= 5.6.0"
5656
}
5757
}
-1.89 KB
Binary file not shown.
-2.1 KB
Binary file not shown.
-959 Bytes
Binary file not shown.
-1.71 KB
Binary file not shown.
-1.41 KB
Binary file not shown.
-2.49 KB
Binary file not shown.
-1.51 KB
Binary file not shown.
-1.5 KB
Binary file not shown.
-2.56 KB
Binary file not shown.
-1.63 KB
Binary file not shown.
Binary file not shown.
-2.45 KB
Binary file not shown.
-839 Bytes
Binary file not shown.
-787 Bytes
Binary file not shown.
-1.04 KB
Binary file not shown.
-2.56 KB
Binary file not shown.
-628 Bytes
Binary file not shown.
-1.17 KB
Binary file not shown.
-1.23 KB
Binary file not shown.
-1.23 KB
Binary file not shown.
-1.41 KB
Binary file not shown.
-1.47 KB
Binary file not shown.
-1.43 KB
Binary file not shown.
-887 Bytes
Binary file not shown.
-2.14 KB
Binary file not shown.
-773 Bytes
Binary file not shown.
-2.49 KB
Binary file not shown.
-2.3 KB
Binary file not shown.
-1.21 KB
Binary file not shown.
Binary file not shown.
-752 Bytes
Binary file not shown.
-2.49 KB
Binary file not shown.
-2.35 KB
Binary file not shown.
-624 Bytes
Binary file not shown.
-1.05 KB
Binary file not shown.
-2.57 KB
Binary file not shown.
-1.84 KB
Binary file not shown.
-2.34 KB
Binary file not shown.
-1.41 KB
Binary file not shown.
-1.1 KB
Binary file not shown.
-1.45 KB
Binary file not shown.
-1.27 KB
Binary file not shown.
-2.95 KB
Binary file not shown.
Binary file not shown.
-889 Bytes
Binary file not shown.
-820 Bytes
Binary file not shown.
-1.04 KB
Binary file not shown.
-676 Bytes
Binary file not shown.
-2.33 KB
Binary file not shown.
-1.81 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2.62 KB
Binary file not shown.
-721 Bytes
Binary file not shown.
-782 Bytes
Binary file not shown.
-1.29 KB
Binary file not shown.
-1.47 KB
Binary file not shown.
-1.1 KB
Binary file not shown.
-1.26 KB
Binary file not shown.
-809 Bytes
Binary file not shown.
-1.42 KB
Binary file not shown.
-1.9 KB
Binary file not shown.
Binary file not shown.
-1.59 KB
Binary file not shown.
-1020 Bytes
Binary file not shown.
-1.07 KB
Binary file not shown.
-636 Bytes
Binary file not shown.
Binary file not shown.
-2.53 KB
Binary file not shown.
-781 Bytes
Binary file not shown.
-1.61 KB
Binary file not shown.
Binary file not shown.
-838 Bytes
Binary file not shown.
-2.44 KB
Binary file not shown.
-711 Bytes
Binary file not shown.
-941 Bytes
Binary file not shown.
-785 Bytes
Binary file not shown.
-806 Bytes
Binary file not shown.
-841 Bytes
Binary file not shown.
-808 Bytes
Binary file not shown.
-1.12 KB
Binary file not shown.
-1.56 KB
Binary file not shown.
-885 Bytes
Binary file not shown.
-1.18 KB
Binary file not shown.
-2.16 KB
Binary file not shown.
-1.62 KB
Binary file not shown.
-1.57 KB
Binary file not shown.
-1.99 KB
Binary file not shown.
-1.08 KB
Binary file not shown.
-1.09 KB
Binary file not shown.
-962 Bytes
Binary file not shown.
-2.62 KB
Binary file not shown.
-784 Bytes
Binary file not shown.
-955 Bytes
Binary file not shown.
-1.71 KB
Binary file not shown.
-729 Bytes
Binary file not shown.
-1009 Bytes
Binary file not shown.
-1.12 KB
Binary file not shown.
-614 Bytes
Binary file not shown.
-1.34 KB
Binary file not shown.
-1.13 KB
Binary file not shown.
-882 Bytes
Binary file not shown.
Binary file not shown.
-1.62 KB
Binary file not shown.
-1.09 KB
Binary file not shown.
-861 Bytes
Binary file not shown.
-2.69 KB
Binary file not shown.
-1 KB
Binary file not shown.
-2.33 KB
Binary file not shown.
-1.48 KB
Binary file not shown.
-2.26 KB
Binary file not shown.
-1.75 KB
Binary file not shown.
-3.19 KB
Binary file not shown.
-1.72 KB
Binary file not shown.
-987 Bytes
Binary file not shown.
-1.57 KB
Binary file not shown.
-1.15 KB
Binary file not shown.
-803 Bytes
Binary file not shown.
-1.24 KB
Binary file not shown.
-2.16 KB
Binary file not shown.
-1.14 KB
Binary file not shown.
-919 Bytes
Binary file not shown.
-1.21 KB
Binary file not shown.
-744 Bytes
Binary file not shown.
-635 Bytes
Binary file not shown.
-2.28 KB
Binary file not shown.
-2.93 KB
Binary file not shown.
-742 Bytes
Binary file not shown.
-1.23 KB
Binary file not shown.
-1.54 KB
Binary file not shown.
-1.09 KB
Binary file not shown.
-924 Bytes
Binary file not shown.
-869 Bytes
Binary file not shown.
Binary file not shown.
-2.5 KB
Binary file not shown.
-1.56 KB
Binary file not shown.
-819 Bytes
Binary file not shown.
-1.52 KB
Binary file not shown.
-1.31 KB
Binary file not shown.
-1.62 KB
Binary file not shown.
-612 Bytes
Binary file not shown.
-1.39 KB
Binary file not shown.
-1.93 KB
Binary file not shown.
-2.34 KB
Binary file not shown.
-1.08 KB
Binary file not shown.
-1.69 KB
Binary file not shown.
-1.59 KB
Binary file not shown.
-1.63 KB
Binary file not shown.
-2.79 KB
Binary file not shown.
-1.19 KB
Binary file not shown.
-1.98 KB
Binary file not shown.
Binary file not shown.
-635 Bytes
Binary file not shown.
-2.06 KB
Binary file not shown.
-2.13 KB
Binary file not shown.
-1 KB
Binary file not shown.
-878 Bytes
Binary file not shown.
-781 Bytes
Binary file not shown.
-1.4 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-935 Bytes
Binary file not shown.
-1.72 KB
Binary file not shown.
Binary file not shown.
-1.12 KB
Binary file not shown.
-1.41 KB
Binary file not shown.
-1.28 KB
Binary file not shown.
-1.23 KB
Binary file not shown.
-1.03 KB
Binary file not shown.
Binary file not shown.
-1.03 KB
Binary file not shown.
-1.52 KB
Binary file not shown.
-1.53 KB
Binary file not shown.
-491 Bytes
Binary file not shown.
-1.75 KB
Binary file not shown.
-1.37 KB
Binary file not shown.
-1.15 KB
Binary file not shown.
-501 Bytes
Binary file not shown.
-1.94 KB
Binary file not shown.
-900 Bytes
Binary file not shown.
-551 Bytes
Binary file not shown.
-1.05 KB
Binary file not shown.
-1.56 KB
Binary file not shown.
-1.34 KB
Binary file not shown.
-1.89 KB
Binary file not shown.
Binary file not shown.
-1.99 KB
Binary file not shown.
-2.38 KB
Binary file not shown.
-1.19 KB
Binary file not shown.
Binary file not shown.
-2.13 KB
Binary file not shown.
-655 Bytes
Binary file not shown.
-1.01 KB
Binary file not shown.
-1.31 KB
Binary file not shown.
-1.02 KB
Binary file not shown.
Binary file not shown.
-1.15 KB
Binary file not shown.
-1.26 KB
Binary file not shown.
-2.05 KB
Binary file not shown.
-2.08 KB
Binary file not shown.
-1.36 KB
Binary file not shown.
-2.09 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-1.22 KB
Binary file not shown.
-1015 Bytes
Binary file not shown.
-2.24 KB
Binary file not shown.
-906 Bytes
Binary file not shown.
-828 Bytes
Binary file not shown.
-978 Bytes
Binary file not shown.
Binary file not shown.
-1.28 KB
Binary file not shown.
-1.13 KB
Binary file not shown.
-2.15 KB
Binary file not shown.
-674 Bytes
Binary file not shown.
-1.7 KB
Binary file not shown.
-1.06 KB
Binary file not shown.
-787 Bytes
Binary file not shown.
Binary file not shown.
-1.63 KB
Binary file not shown.
-1.54 KB
Binary file not shown.
-2.02 KB
Binary file not shown.
Binary file not shown.
-2.34 KB
Binary file not shown.
-1.08 KB
Binary file not shown.
-1.2 KB
Binary file not shown.
-737 Bytes
Binary file not shown.
Binary file not shown.
-2.22 KB
Binary file not shown.
-2.61 KB
Binary file not shown.
-1.12 KB
Binary file not shown.
-971 Bytes
Binary file not shown.
-2.01 KB
Binary file not shown.
-1.25 KB
Binary file not shown.
-1.08 KB
Binary file not shown.
-1.15 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2.89 KB
Binary file not shown.
-1.37 KB
Binary file not shown.
-696 Bytes
Binary file not shown.
-1.18 KB
Binary file not shown.
-1.71 KB
Binary file not shown.

React_Starter/scss/style.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* CoreUI - Open Source Bootstrap Admin Template
3-
* @version v1.0.8
3+
* @version v1.0.9
44
* @link http://coreui.io
55
* Copyright (c) 2018 creativeLabs Łukasz Holeczek
66
* @license MIT

React_Starter/src/components/Sidebar/Sidebar.js

+17
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,22 @@ class Sidebar extends Component {
6969
return (<li key={key} className={ classes }></li>);
7070
};
7171

72+
// nav label with nav link
73+
const navLabel = (item, key) => {
74+
const classes = {
75+
item: classNames( 'hidden-cn', item.class ),
76+
link: classNames( 'nav-label', item.class ? item.class : ''),
77+
icon: classNames(
78+
!item.icon ? 'fa fa-circle' : item.icon ,
79+
item.label.variant ? `text-${item.label.variant}` : '',
80+
item.label.class ? item.label.class : ''
81+
)
82+
};
83+
return (
84+
navLink(item, key, classes)
85+
);
86+
};
87+
7288
// nav item with nav link
7389
const navItem = (item, key) => {
7490
const classes = {
@@ -114,6 +130,7 @@ class Sidebar extends Component {
114130
const navType = (item, idx) =>
115131
item.title ? title(item, idx) :
116132
item.divider ? divider(item, idx) :
133+
item.label ? navLabel(item, idx) :
117134
item.children ? navDropdown(item, idx)
118135
: navItem(item, idx) ;
119136

0 commit comments

Comments
 (0)