From 9fc3435a5291b5b4ecc32a2b6384d01e66a10aec Mon Sep 17 00:00:00 2001
From: codecalm
Date: Sat, 22 Jan 2022 01:21:32 +0100
Subject: [PATCH] changelog update
---
CHANGELOG.md | 74 +++++++++++++++++++++++++++++++++++
gulpfile.js | 28 +++++++++++++
src/pages/_data/changelog.yml | 68 ++++++++++++++++++++++++++++++--
src/pages/changelog.html | 4 +-
src/scss/_variables.scss | 2 +-
src/scss/ui/_badges.scss | 1 -
6 files changed, 170 insertions(+), 7 deletions(-)
create mode 100644 CHANGELOG.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 000000000..16236dcc5
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,74 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+
+## `1.0.0-beta` - 2021-02-17
+
+**Initial beta release of Tabler v1.0! Lots more coming soon though 😁**
+
+- update Bootstrap to 5.0.0-beta2
+- update other dependencies.
+
+
+## `1.0.0-beta2` - 2021-03-29
+
+- update dependencies
+- `li` marker fix
+- page wrapper, nav fixes
+- scripts optimize, remove `capture_once`
+- `page-body` fixes
+- layout navbar fix
+- typography fix
+- ribbon fix
+- charts label fixes
+- charts docs
+
+
+## `1.0.0-beta3` - 2021-05-08
+
+- upgrade Bootstrap to 5.0
+- upgrade dependencies
+- change `$border-radius-pill` variable
+- badge vertical align fix
+
+
+## `1.0.0-beta4` - 2021-10-24
+
+- upgrade required node.js version to 14
+- upgrade Bootstrap to 5.1
+- upgrade dependencies
+- fix #775 litepicker not initializing
+- fix `nouislider` import in dev
+
+
+## `1.0.0-beta5` - 2021-12-07
+
+**Tabler has finally lived to see dark mode! 🌝🌚**
+
+- **Dark mode enabled!**
+- add more cursors (#947)
+- fix #892 - Media queries need to be nested when negating
+- update `@tabler/icons` to newest version
+- move optional dependencies to peerDependencies (#924)
+- move deployment to Github Actions (#934)
+- table border fixes
+- antialiased fix
+- update `@tabler/icons` to version 1.42
+- change default font to 'Inter'
+- colors unify
+- add `tom-select` and remove `choices.js`
+
+
+## `1.0.0-beta6` - 2021-01-18
+
+- pricing cards fix
+- fix bug `fw-...`, `.fs-...` is missed (#987)
+- avatar class fix
+- fix bug #903 `litepicker` with date range not having correct border
+- page wrapper fix
+- fix #900 `is-invalid-lite` class is not working under `was-validated` form class
+- update `@tabler/icons` to version 1.48
+- fix #960 - Badges not honoring font sizes
+- fix #959 - `node-sass` does not properly compile nested media queries
+- update package dependencies to newest version
diff --git a/gulpfile.js b/gulpfile.js
index be3b8dfeb..c156b3439 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -99,6 +99,34 @@ gulp.task('svg-icons', (cb) => {
cb()
})
+/**
+ * Generate CHANGELOG.md
+ */
+gulp.task('changelog', (cb) => {
+ const content = YAML.parse(fs.readFileSync('./src/pages/_data/changelog.yml', 'utf8'))
+ let readme = `# Changelog
+
+All notable changes to this project will be documented in this file.\n`
+
+ content.forEach((change) => {
+ readme += `\n\n## \`${change.version}\` - ${change.date}\n\n`
+
+ if(change.description) {
+ readme += `**${change.description}**\n\n`
+ }
+
+ change.changes.forEach((line) => {
+ readme += `- ${line}\n`
+ })
+
+ console.log(change.version);
+ })
+
+ fs.writeFileSync('CHANGELOG.md', readme)
+
+ cb()
+})
+
/**
* Check unused Jekyll partials
*/
diff --git a/src/pages/_data/changelog.yml b/src/pages/_data/changelog.yml
index 569aea708..500096be3 100644
--- a/src/pages/_data/changelog.yml
+++ b/src/pages/_data/changelog.yml
@@ -1,6 +1,68 @@
- version: 1.0.0-beta
date: 2021-02-17
- description: Initial release of Tabler v1.0! Lots more coming soon though 😁
+ description: Initial beta release of Tabler v1.0! Lots more coming soon though 😁
changes:
- - Updated to Bootstrap v5.0.0-beta2
- - Updated other dependencies.
\ No newline at end of file
+ - update Bootstrap to 5.0.0-beta2
+ - update other dependencies.
+
+- version: 1.0.0-beta2
+ date: 2021-03-29
+ changes:
+ - update dependencies
+ - "`li` marker fix"
+ - page wrapper, nav fixes
+ - scripts optimize, remove `capture_once`
+ - "`page-body` fixes"
+ - layout navbar fix
+ - typography fix
+ - ribbon fix
+ - charts label fixes
+ - charts docs
+
+- version: 1.0.0-beta3
+ date: 2021-05-08
+ changes:
+ - upgrade Bootstrap to 5.0
+ - upgrade dependencies
+ - change `$border-radius-pill` variable
+ - badge vertical align fix
+
+- version: 1.0.0-beta4
+ date: 2021-10-24
+ changes:
+ - upgrade required node.js version to 14
+ - upgrade Bootstrap to 5.1
+ - upgrade dependencies
+ - "fix #775 litepicker not initializing"
+ - fix `nouislider` import in dev
+
+- version: 1.0.0-beta5
+ date: 2021-12-07
+ description: Tabler has finally lived to see dark mode! 🌝🌚
+ changes:
+ - "**Dark mode enabled!**"
+ - add more cursors (#947)
+ - "fix #892 - Media queries need to be nested when negating"
+ - update `@tabler/icons` to newest version
+ - move optional dependencies to peerDependencies (#924)
+ - move deployment to Github Actions (#934)
+ - table border fixes
+ - antialiased fix
+ - update `@tabler/icons` to version 1.42
+ - change default font to 'Inter'
+ - colors unify
+ - add `tom-select` and remove `choices.js`
+
+- version: 1.0.0-beta6
+ date: 2021-01-18
+ changes:
+ - pricing cards fix
+ - "fix bug `fw-...`, `.fs-...` is missed (#987)"
+ - avatar class fix
+ - "fix bug #903 `litepicker` with date range not having correct border"
+ - page wrapper fix
+ - "fix #900 `is-invalid-lite` class is not working under `was-validated` form class"
+ - update `@tabler/icons` to version 1.48
+ - "fix #960 - Badges not honoring font sizes"
+ - "fix #959 - `node-sass` does not properly compile nested media queries"
+ - update package dependencies to newest version
\ No newline at end of file
diff --git a/src/pages/changelog.html b/src/pages/changelog.html
index 17a21dea6..c04067cb8 100644
--- a/src/pages/changelog.html
+++ b/src/pages/changelog.html
@@ -12,13 +12,13 @@ layout: docs
{% if version.description %}
- {{ version.description }}
+ {{ version.description }}
{% endif %}
{% if version.changes %}
{% for change in version.changes %}
- - {{ change }}
+ - {{ change | markdownify | replace_regex: '
\s+$', '' | replace_regex: '^', '' }}
{% endfor %}
{% endif %}
diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss
index d1ecc8c05..843ad28b0 100644
--- a/src/scss/_variables.scss
+++ b/src/scss/_variables.scss
@@ -208,7 +208,7 @@ $border-radius-lg: 8px !default;
$border-radius-pill: 100rem !default;
// Code
-$code-color: $primary !default;
+$code-color: $text-muted !default;
$code-font-size: $small-font-size !default;
$code-line-height: 1.25rem !default;
diff --git a/src/scss/ui/_badges.scss b/src/scss/ui/_badges.scss
index 919f83045..dace9e856 100644
--- a/src/scss/ui/_badges.scss
+++ b/src/scss/ui/_badges.scss
@@ -9,7 +9,6 @@
font-weight: $headings-font-weight;
letter-spacing: .04em;
vertical-align: bottom;
- text-transform: uppercase;
@at-root a#{&} {
color: $white;