Skip to content

Commit 9f75ae8

Browse files
authored
Merge branch 'master' into fix-missing-dependency
2 parents 0d67dfc + b3f909c commit 9f75ae8

Some content is hidden

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

75 files changed

+5850
-7737
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/.idea
2+
/.vs
23
node_modules
34
dist

CHANGELOG.md

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,89 @@
1-
## v2.1.0
1+
## v2.1.6
2+
- fix(cards): smooth collapse card - thanks @MartijnBastiaansen #378
3+
- fix(header): migrate `.divider` to `.dropdown-divider` - thanks @vanam #406
4+
- chore: build/change-version cleanup
5+
- docs(readme): fix broken hyperlinks to 6 versions
6+
- update: `@coreui/coreui` to `2.0.19`
7+
- fix: `transparent` is not a valid rgb color ie issue
8+
- fix(card): rtl for card-header icon margins
9+
- fix(sidebar): rtl for sidebar-minimizer icon
10+
- fix(breadcrumb): rtl padding
11+
- fix(card): rtl float for card-header-actions
12+
- fix(sidebar): rtl ps scrollbar issue temp fix/refactor
13+
- feat(sidebar) badge margins for nav-dropdown-toggle
14+
- fix(scss): add missing light-blue color variable
15+
- update: `chart.js` to `2.7.3`
16+
- update: `core-js` to `2.5.7`
17+
- update: `autoprefixer` to `9.2.0`
18+
- update: `browser-sync` to `2.26.3`
19+
- update: `eslint` to `5.7.0`
20+
- update: `eslint-plugin-compat` to `2.6.2`
21+
- update: `js-beautify` to `1.8.7`
22+
- update: `node-sass` to `4.9.4`
23+
24+
## v2.1.5
25+
- update: `@coreui/coreui` to `2.0.12`
26+
- fix(layout) aside IE issue with .main margin on mobile
27+
- fix(sidebar) rtl IE issue with sidebar-minimized captions
28+
- fix(sidebar) rtl ps scrollbar issue temp fix
29+
- update: `@babel/cli` to `7.1.2`
30+
- update: `@babel/core` to `7.1.2`
31+
- update: `eslint to `5.6.1`
32+
- update: `foreach-cli` to `1.8.1`
33+
34+
## v2.1.4
35+
- feat(basic-forms): add missing `date-input`
36+
- update: `@coreui/coreui` to `2.0.11` fixes some IE11 and `rtl` issues
37+
- chore: update `babel-eslint` to `10.0.1`
38+
- chore: update `stylelint` to `9.6.0`
39+
40+
## v2.1.3
41+
- fix(sidebar.pug): split icons/flags `li.nav-item`
42+
- update: `@coreui/coreui` to `2.0.9`
43+
- update: `flag-icon-css` to `3.2.0`
44+
- update: `@babel/cli` to `7.1.0`
45+
- update: `@babel/core` to `7.1.0`
46+
- update: `@babel/preset-env` to `7.1.0`
47+
- update: `eslint` to `5.6.0`
48+
- update: `js-beautify` to `1.8.6`
49+
- update: `stylelint-scss` to `3.3.1`
50+
51+
## v2.1.2
52+
- Update: `@coreui/coreui` to `2.0.6`
53+
- Update: `bootstrap` to `4.1.3`
54+
- Update: `popper.js` to `1.14.4`
55+
- Update: `@babel/cli` to `^7.0.0`
56+
- Update: `@babel/core` to `^7.0.0`
57+
- Update: `@babel/plugin-proposal-object-rest-spread` to `^7.0.0`
58+
- Update: `@babel/preset-env` to `^7.0.0`
59+
- Update: `autoprefixer` to `^9.1.5`
60+
- Update: `babel-eslint` to `^9.0.0`
61+
- Update: `browser-sync` to `^2.24.7`
62+
- Update: `clean-css-cli` to `^4.2.1`
63+
- Update: `copyfiles` to `^2.1.0`
64+
- Update: `cross-env` to `^5.2.0`
65+
- Update: `eslint` to `^5.5.0`
66+
- Update: `eslint-plugin-compat` to `^2.5.1`
67+
- Update: `node-sass` to `^4.9.3`
68+
- Update: `nodemon` to `^1.18.4`
69+
- Update: `postcss-cli` to `^6.0.0`
70+
- Update: `shelljs` to `^0.8.2`
71+
- Update: `stylelint` to `^9.5.0`
72+
- Update: `stylelint-order` to `^1.0.0`
73+
- Update: `stylelint-scss` to `^3.3.0`
274

75+
## v2.1.1
76+
- Update: @coreui/coreui to 2.0.3
77+
- Update: @babel/cli to 7.0.0-beta.53
78+
- Update: @babel/core to 7.0.0-beta.53
79+
- Update: @babel/plugin-proposal-object-rest-spread to 7.0.0-beta.53
80+
- Update: @babel/preset-env to 7.0.0-beta.53
81+
- Update: babel-eslint to 8.2.6
82+
- Update: bootstrap to 4.1.2
83+
- Update: eslint-plugin-compat to 2.5.0
84+
- Update: nodemon to 1.18.1
85+
86+
## v2.1.0
387
- **Feat: Add pug support**
488
- Update: @coreui/coreui-icons to 0.3.0
589
- Update: @coreui/coreui to 2.0.3

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
# CoreUI Free Bootstrap Admin Template [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&logo=twitter)](https://twitter.com/intent/tweet?text=CoreUI%20-%20Free%20Bootstrap%204%20Admin%20Template%20&url=https://coreui.io&hashtags=bootstrap,admin,template,dashboard,panel,free,angular,react,vue)
22

3+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4+
35
Please help us on [Product Hunt](https://www.producthunt.com/posts/coreui-open-source-bootstrap-4-admin-template-with-angular-2-react-js-vue-js-support) and [Designer News](https://www.designernews.co/stories/81127). Thanks in advance!
46

7+
[![Bootstrap Admin Template](https://coreui.io/assets/img/example-coureui.jpg)](https://coreui.io/)
8+
59
Curious why I decided to create CoreUI? Please read this article: [Jack of all trades, master of none. Why Bootstrap Admin Templates suck.](https://medium.com/@lukaszholeczek/jack-of-all-trades-master-of-none-5ea53ef8a1f#.7eqx1bcd8)
610

711
CoreUI is an Open Source Bootstrap Admin Template. But CoreUI is not just another Admin Template. It goes way beyond hitherto admin templates thanks to transparent code and file structure. And if that's not enough, let’s just add that CoreUI consists bunch of unique features and over 1000 high quality icons.
812

9-
CoreUI is based on Bootstrap 4 and offers 6 versions: [HTML5 AJAX](https://github.com/coreui/free-bootstrap-admin-template-ajax), [HTML5](https://github.com/coreui/free-angular-admin-template), [Angular 2+](https://github.com/coreui/free-angular-admin-template), [React.js](https://github.com/coreui/free-react-admin-template) & [Vue.js](https://github.com/coreui/free-vue-admin-template), [.NET Core 2](https://github.com/coreui/free-dotnet-admin-template).
13+
CoreUI is based on Bootstrap 4 and offers 6 versions: [HTML5 AJAX](https://github.com/coreui/coreui-free-bootstrap-admin-template-ajax), [HTML5](https://github.com/coreui/coreui-free-angular-admin-template), [Angular 2+](https://github.com/coreui/coreui-free-angular-admin-template), [React.js](https://github.com/coreui/coreui-free-react-admin-template) & [Vue.js](https://github.com/coreui/coreui-free-vue-admin-template), [.NET Core 2](https://github.com/mrholek/CoreUI-NET).
1014

1115
CoreUI is meant to be the UX game changer. Pure & transparent code is devoid of redundant components, so the app is light enough to offer ultimate user experience. This means mobile devices also, where the navigation is just as easy and intuitive as on a desktop or laptop. The CoreUI Layout API lets you customize your project for almost any device – be it Mobile, Web or WebApp – CoreUI covers them all!
1216

@@ -36,7 +40,7 @@ CoreUI is built on top of Bootstrap 4 and supports popular frameworks.
3640
* [CoreUI Free Angular 2+ Admin Template](https://github.com/coreui/coreui-free-angular-admin-template)
3741
* 🚧 CoreUI Free .NET Core 2 Admin Template (Available Soon)
3842
* [CoreUI Free React.js Admin Template](https://github.com/coreui/coreui-free-react-admin-template)
39-
* 🚧 CoreUI Free Vue.js Admin Template (Available Soon)
43+
* [CoreUI Free Vue.js Admin Template](https://github.com/coreui/coreui-free-vue-admin-template)
4044

4145
## CoreUI Pro
4246

build/change-version.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,9 @@ function walkAsync(directory, excludedDirectories, fileCallback, errback) {
4141
}
4242
if (stats.isSymbolicLink()) {
4343
return
44-
}
45-
else if (stats.isDirectory()) {
44+
} else if (stats.isDirectory()) {
4645
process.nextTick(walkAsync, filepath, excludedDirectories, fileCallback, errback)
47-
}
48-
else if (stats.isFile()) {
46+
} else if (stats.isFile()) {
4947
process.nextTick(fileCallback, filepath)
5048
}
5149
})
@@ -85,7 +83,10 @@ function main(args) {
8583
const newVersion = args[1]
8684
const EXCLUDED_DIRS = new Set([
8785
'.git',
86+
'.idea',
87+
'dist',
8888
'node_modules',
89+
'pug',
8990
'vendor'
9091
])
9192
const INCLUDED_EXTENSIONS = new Set([

build/pug.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const isPug = (filename) => {
4343
}
4444

4545
const compile = (filename, basedir) => {
46-
const levels = filename.replace('pug/views/', '').replace('pug/pages/', '').split('/').length
46+
const levels = filename.replace(`pug${path.sep}views${path.sep}`, '').replace(`pug${path.sep}pages${path.sep}`, '').split(`${path.sep}`).length
4747
const base = (levels) => {
4848
let path = './'
4949
while (levels > 1) {
@@ -83,9 +83,9 @@ const compileHtml = () => {
8383
const html = compile(view, './pug/layout/')
8484
let file
8585
if (version === 'ajax') {
86-
file = view.replace('pug/', '').replace('.pug', '.html')
86+
file = view.replace(`pug${path.sep}`, '').replace('.pug', '.html')
8787
} else {
88-
file = view.replace('pug/views/', '').replace('.pug', '.html')
88+
file = view.replace(`pug${path.sep}views${path.sep}`, '').replace('.pug', '.html')
8989
}
9090
// Create tree
9191
mkdirp.sync(resolve(dest, dirname(file)))
@@ -103,7 +103,7 @@ const compileHtml = () => {
103103
pages.forEach((page) => {
104104
if (isPug(page)) {
105105
const html = compile(page, './pug/layout/')
106-
const file = page.replace('pug/pages/', '').replace('.pug', '.html')
106+
const file = page.replace(`pug${path.sep}pages${path.sep}`, '').replace('.pug', '.html')
107107
// Create tree
108108
mkdirp.sync(resolve(dest, dirname(file)))
109109
// Create HTML file

0 commit comments

Comments
 (0)