diff --git a/.editorconfig b/.editorconfig
index d41b743d87778676a3db7cb8e3adccceadc64070..24c3d45f8285a994c2dfa9e5344c03a2fcffbaab 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -10,8 +10,8 @@ indent_style=tab
tab_width=3
[*.html]
-indent_style=space
indent_size=3
+insert_final_newline=false
[*.md]
indent_style=tab
@@ -20,12 +20,3 @@ tab_width=3
[*.js.map]
indent_style=tab
indent_size=3
-
-[{*.css,*.scss}]
-indent_style=space
-indent_size=2
-insert_final_newline = true
-
-[{*.yml,*.yaml}]
-indent_style=space
-indent_size=2
diff --git a/README.md b/README.md
index 03302542beb210ae125302a755556d30d2366aa3..1c689518d7387d7bc34a5a865bc541098bddad5e 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Premium and Open Source dashboard template with responsive and high-quality UI.
## Status
-
+
## Features
diff --git a/js/tabler-charts.js b/js/tabler-charts.js
index 1cada1a26eda7d528ebff39e1777725b3689fd87..5d47d081c0dc63dc5a1994a61c5b9cc2f7c7a55f 100644
--- a/js/tabler-charts.js
+++ b/js/tabler-charts.js
@@ -7,7 +7,7 @@
color = $this.attr('data-spark-color') || 'blue',
type = $this.attr('data-spark-type') || 'line';
- const $div = $('
').html(data);
+ const $div = $('').html(data);
$this.append($div);
let strokeColor = tabler.colors[color],
@@ -169,9 +169,6 @@ if (window.Apex) {
yaxis: {
show: false,
- labels: {
- show: false,
- },
},
};
}
diff --git a/package.json b/package.json
index 7823f0a223a794ec2c1b20f5e7559b2bc39886bc..d81e923f31fcf1b3b838e4dde88298d00bc8c01b 100644
--- a/package.json
+++ b/package.json
@@ -68,24 +68,24 @@
"main": "dist/js/tabler.js",
"homepage": "https://tabler.io",
"devDependencies": {
- "@babel/preset-env": "7.7.4",
+ "@babel/preset-env": "7.7.6",
"browser-sync": "2.26.7",
"bundlesize": "0.18.0",
"clean-css-cli": "4.3.0",
"cross-env": "6.0.3",
- "eslint": "6.7.1",
+ "eslint": "6.7.2",
"eslint-config-xo": "0.27.2",
- "eslint-plugin-import": "2.18.2",
- "eslint-plugin-unicorn": "13.0.0",
- "glob": "^7.1.6",
- "http-server": "0.11.1",
+ "eslint-plugin-import": "2.19.1",
+ "eslint-plugin-unicorn": "14.0.1",
+ "glob": "7.1.6",
+ "http-server": "0.12.0",
"icon-font-generator": "2.1.10",
"node-sass": "4.13.0",
"node-sass-package-importer": "5.3.2",
- "nodemon": "^2.0.1",
+ "nodemon": "2.0.1",
"npm-run-all": "4.1.5",
"postcss-cli": "6.1.3",
- "rollup": "1.27.5",
+ "rollup": "1.27.9",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-babel-minify": "9.1.1",
"rollup-plugin-commonjs": "10.1.0",
@@ -95,7 +95,7 @@
"stylelint": "12.0.0",
"stylelint-config-twbs-bootstrap": "1.0.0",
"svgo": "1.3.2",
- "terser": "4.4.0",
+ "terser": "4.4.2",
"yaml": "1.7.2"
},
"dependencies": {
@@ -106,7 +106,7 @@
"@fullcalendar/timegrid": "4.3.0",
"apexcharts": "3.10.1",
"autosize": "4.0.2",
- "bootstrap": "twbs/bootstrap#76fd85b",
+ "bootstrap": "twbs/bootstrap#dde55d1",
"fullcalendar": "3.10.1",
"imask": "5.2.1",
"jquery": "3.4.1",
diff --git a/pages/_data/charts.yml b/pages/_data/charts.yml
index d2be3f573289eb58f6d11b78fd5188620e2c4ebe..b4f6ba251b1a5fdd5dba37dc3ddbb40e0026da4e 100644
--- a/pages/_data/charts.yml
+++ b/pages/_data/charts.yml
@@ -1,7 +1,16 @@
+tasks-overview:
+ type: bar
+ categories: ['Sprint 1','Sprint 2','Sprint 3','Sprint 4','Sprint 5','Sprint 6','Sprint 7','Sprint 8','Sprint 9','Sprint 10','Sprint 11','Sprint 12','Sprint 13','Sprint 14','Sprint 15','Sprint 16','Sprint 17','Sprint 18','Sprint 19','Sprint 20','Sprint 21','Sprint 22','Sprint 23','Sprint 24']
+ series:
+ - name: A
+ data: [44, 32, 48, 72, 60, 16, 44, 32, 78, 50, 68, 34, 26, 48, 72, 60, 84, 64, 74, 52, 62, 50, 32, 22]
+
total-sales:
type: donut
+ demo: true
sparkline: true
hide-legend: true
+ name: Total sales
series:
- name: Direct
color: blue
@@ -16,26 +25,26 @@ total-sales:
color: yellow
data: 12
-total-sales2:
- type: radalBar
+campaigns:
+ name: Campaigns
+ demo: true
+ type: radialBar
sparkline: true
hide-legend: true
series:
- - name: Direct
+ - name: Total Sent
color: blue
data: 44
- - name: Affilliate
- color: green
- data: 55
- - name: Sponsored
- color: red
- data: 35
- - name: E-mail
- color: yellow
- data: 12
+ - name: Reached
+ color: blue-light
+ data: 36
+ - name: Opened
+ color: blue-lighten
+ data: 18
tasks:
name: Tasks
+ demo: true
type: line
categories: ['M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W', 'T', 'F', 'S', 'S', 'M', 'T', 'W']
groups: [1, 2, 3]
@@ -72,7 +81,7 @@ development-activity:
line:
name: Employment Growth
- display: true
+ demo: true
type: line
show-grid: true
categories: ['2013', '2014', '2015', '2016', '2017', '2018']
@@ -89,7 +98,7 @@ line:
line-stroke:
name: Line chart
- display: true
+ demo: true
type: line
stroke-curve: straight
hide-legend: true
@@ -108,7 +117,7 @@ line-stroke:
stepline:
name: Stepline
- display: true
+ demo: true
type: line
hide-legend: true
stroke-curve: stepline
@@ -120,7 +129,7 @@ stepline:
temperature:
name: Monthly Average Temperature
- display: true
+ demo: true
type: line
show-labels: true
show-data-labels: true
@@ -139,7 +148,7 @@ temperature:
area:
name: Lorem ipsum
- display: true
+ demo: true
type: area
hide-legend: true
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun']
@@ -154,7 +163,7 @@ area:
area-spline:
name: Lorem ipsum
- display: true
+ demo: true
type: area
spline: true
hide-legend: true
@@ -170,12 +179,11 @@ area-spline:
area-spline-stacked:
name: Lorem ipsum
- display: true
+ demo: true
type: area
spline: true
hide-legend: true
stacked: true
-# groups: [1, 2]
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun']
series:
- name: Maximum
@@ -188,7 +196,7 @@ area-spline-stacked:
spline:
name: Wind speed during two days
- display: true
+ demo: true
type: line
spline: true
show-labels: true
@@ -205,7 +213,7 @@ spline:
spline-rotated:
name: Lorem ipsum
- display: true
+ demo: true
type: line
spline: true
rotated: true
@@ -222,7 +230,7 @@ spline-rotated:
bar:
name: Lorem ipsum
- display: true
+ demo: true
type: bar
hide-legend: true
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun']
@@ -236,7 +244,7 @@ bar:
bar-rotated:
name: Lorem ipsum
- display: true
+ demo: true
type: bar
rotated: true
hide-legend: true
@@ -252,10 +260,9 @@ bar-rotated:
bar-stacked:
name: Lorem ipsum
- display: true
+ demo: true
type: bar
stacked: true
-# groups: [1, 2]
hide-legend: true
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun']
series:
@@ -269,7 +276,7 @@ bar-stacked:
pie:
name: Lorem ipsum
- display: true
+ demo: true
type: pie
hide-legend: true
show-data-labels: true
@@ -290,7 +297,7 @@ pie:
donut:
name: Lorem ipsum
- display: true
+ demo: true
type: donut
sparkline: true
hide-legend: true
@@ -305,7 +312,7 @@ donut:
scatter:
name: Lorem ipsum
- display: true
+ demo: true
type: scatter
hide-legend: true
categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun']
@@ -320,7 +327,7 @@ scatter:
combination:
name: Combination chart
- display: true
+ demo: true
type: bar
types:
2: 'line'
diff --git a/pages/_docs/avatars.md b/pages/_docs/avatars.md
index d974fd63cee7c5636604127c82c750ab2cb3d9a8..966329320253475b04450d082313bfa9b7430d83 100644
--- a/pages/_docs/avatars.md
+++ b/pages/_docs/avatars.md
@@ -14,6 +14,50 @@ Create and group avatars of various shapes and sizes with one component.
{% include ui/avatar.html person-id=3 %}
{% endexample %}
+### Avatar image
+
+Set an image as the background.
+
+{% example html wrapper=avatar-list %}
+{% include ui/avatar.html person-id=1 %}
+{% include ui/avatar.html person-id=3 %}
+{% include ui/avatar.html person-id=4 %}
+{% endexample %}
+
+### Initials
+
+You can easily use initials instead of images.
+
+{% example html wrapper=avatar-list %}
+{% include ui/avatar.html placeholder="AB" %}
+{% include ui/avatar.html placeholder="CD" %}
+{% include ui/avatar.html placeholder="EF" %}
+{% include ui/avatar.html placeholder="GH" %}
+{% include ui/avatar.html placeholder="IJ" %}
+{% endexample %}
+
+### Avatar icons
+
+You can also use icons in avatars.
+
+{% example html wrapper=avatar-list %}
+{% include ui/avatar.html icon="user" %}
+{% include ui/avatar.html icon="plus" %}
+{% include ui/avatar.html icon="user-plus" %}
+{% endexample %}
+
+### Avatar initials color
+
+Customize the color of the avatars' background. You can click [here]({% docs_url colors %}) to see the list of available colors.
+
+{% example html wrapper=avatar-list %}
+{% include ui/avatar.html placeholder="AB" color="green" %}
+{% include ui/avatar.html placeholder="CD" color="red" %}
+{% include ui/avatar.html placeholder="EF" color="yellow" %}
+{% include ui/avatar.html placeholder="GH" color="blue" %}
+{% include ui/avatar.html placeholder="IJ" color="purple" %}
+{% endexample %}
+
### Avatar size
Using Bootstrap’s typical naming structure, you can create a standard avatar, or scale it up to different sizes based on what’s needed.
@@ -51,43 +95,18 @@ Change the shape of an avatar with the default Bootstrap image classes.
{% include ui/avatar.html person-id=21 shape="rounded-lg" %}
{% endexample %}
-### Initials
-
-{% example html wrapper=avatar-list %}
-{% include ui/avatar.html placeholder="AB" size="xl" %}
-{% include ui/avatar.html placeholder="CD" size="lg" %}
-{% include ui/avatar.html placeholder="EF" size="md" %}
-{% include ui/avatar.html placeholder="GH" %}
-{% include ui/avatar.html placeholder="IJ" size="sm" %}
-{% endexample %}
-
-
-### Avatar initials color
-
-[See more]({% docs_url colors %})
-
-{% example html wrapper=avatar-list %}
-{% include ui/avatar.html placeholder="AB" color="green" %}
-{% include ui/avatar.html placeholder="CD" color="red" %}
-{% include ui/avatar.html placeholder="EF" color="yellow" %}
-{% include ui/avatar.html placeholder="GH" color="blue" %}
-{% include ui/avatar.html placeholder="IJ" color="purple" %}
-{% endexample %}
-
-### Avatar initials icons
-
-{% example html wrapper=avatar-list %}
-{% include ui/avatar.html icon="user" %}
-{% include ui/avatar.html icon="plus" %}
-{% include ui/avatar.html icon="user-plus" %}
-{% endexample %}
-
### Avatars list
+You can easily create a list of avatars.
+
{% example %}
{% include ui/avatar-list.html %}
{% endexample %}
+### Stacked list
+
+Make the list stack when it reaches a certain length.
+
{% example %}
{% for person in site.data.people limit: 5 offset: 30 %}
@@ -95,4 +114,4 @@ Change the shape of an avatar with the default Bootstrap image classes.
{% endfor %}
+8
-{% endexample %}
+{% endexample %}
\ No newline at end of file
diff --git a/pages/_docs/buttons.md b/pages/_docs/buttons.md
index ec1b5902b9d315594a77aa17977797f9ed15fbcf..8ef32487a71c48aa8ee102e6a68c16b9e04f927b 100644
--- a/pages/_docs/buttons.md
+++ b/pages/_docs/buttons.md
@@ -12,9 +12,9 @@ The `.btn` classes are designed to be used with the `