@tabler/core 1.0.0-beta20 → 1.0.0-beta21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -6
- package/dist/css/demo.css +8 -8
- package/dist/css/demo.min.css +5 -5
- package/dist/css/demo.rtl.css +8 -8
- package/dist/css/demo.rtl.min.css +5 -5
- package/dist/css/tabler-flags.css +10 -10
- package/dist/css/tabler-flags.min.css +5 -5
- package/dist/css/tabler-flags.rtl.css +10 -10
- package/dist/css/tabler-flags.rtl.min.css +5 -5
- package/dist/css/tabler-payments.css +4 -4
- package/dist/css/tabler-payments.min.css +4 -4
- package/dist/css/tabler-payments.rtl.css +4 -4
- package/dist/css/tabler-payments.rtl.min.css +4 -4
- package/dist/css/tabler-social.css +4 -4
- package/dist/css/tabler-social.min.css +4 -4
- package/dist/css/tabler-social.rtl.css +4 -4
- package/dist/css/tabler-social.rtl.min.css +4 -4
- package/dist/css/tabler-vendors.css +246 -253
- package/dist/css/tabler-vendors.min.css +5 -5
- package/dist/css/tabler-vendors.rtl.css +246 -253
- package/dist/css/tabler-vendors.rtl.min.css +5 -5
- package/dist/css/tabler.css +643 -426
- package/dist/css/tabler.min.css +8 -8
- package/dist/css/tabler.rtl.css +667 -441
- package/dist/css/tabler.rtl.min.css +8 -8
- package/dist/js/demo-theme.js +4 -4
- package/dist/js/demo-theme.min.js +4 -4
- package/dist/js/demo.js +41 -42
- package/dist/js/demo.min.js +5 -5
- package/dist/js/tabler.esm.js +1949 -1248
- package/dist/js/tabler.esm.min.js +8 -8
- package/dist/js/tabler.js +1949 -1248
- package/dist/js/tabler.min.js +8 -8
- package/dist/libs/apexcharts/dist/apexcharts.amd.js +1 -1
- package/dist/libs/apexcharts/dist/apexcharts.common.js +5 -5
- package/dist/libs/apexcharts/dist/apexcharts.css +166 -65
- package/dist/libs/apexcharts/dist/apexcharts.esm.js +5 -5
- package/dist/libs/apexcharts/dist/apexcharts.js +7964 -8527
- package/dist/libs/apexcharts/dist/apexcharts.min.js +5 -5
- package/dist/libs/apexcharts/dist/locales/be-cyrl.json +55 -0
- package/dist/libs/apexcharts/dist/locales/be-latn.json +55 -0
- package/dist/libs/apexcharts/dist/locales/da.json +55 -0
- package/dist/libs/apexcharts/dist/locales/ms.json +63 -0
- package/dist/libs/apexcharts/dist/locales/pt.json +3 -3
- package/dist/libs/apexcharts/dist/locales/vi.json +63 -0
- package/dist/libs/apexcharts/dist/locales/zh-tw.json +1 -1
- package/dist/libs/bootstrap/dist/js/bootstrap.bundle.js +8 -8
- package/dist/libs/bootstrap/dist/js/bootstrap.bundle.js.map +1 -1
- package/dist/libs/bootstrap/dist/js/bootstrap.bundle.min.js +3 -3
- package/dist/libs/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -1
- package/dist/libs/bootstrap/dist/js/bootstrap.esm.js +8 -8
- package/dist/libs/bootstrap/dist/js/bootstrap.esm.js.map +1 -1
- package/dist/libs/bootstrap/dist/js/bootstrap.esm.min.js +3 -3
- package/dist/libs/bootstrap/dist/js/bootstrap.esm.min.js.map +1 -1
- package/dist/libs/bootstrap/dist/js/bootstrap.js +8 -8
- package/dist/libs/bootstrap/dist/js/bootstrap.js.map +1 -1
- package/dist/libs/bootstrap/dist/js/bootstrap.min.js +3 -3
- package/dist/libs/bootstrap/dist/js/bootstrap.min.js.map +1 -1
- package/dist/libs/countup.js/dist/countUp.d.ts +1 -0
- package/dist/libs/countup.js/dist/countUp.js +4 -1
- package/dist/libs/countup.js/dist/countUp.min.js +1 -1
- package/dist/libs/countup.js/dist/countUp.umd.js +1 -1
- package/dist/libs/jsvectormap/dist/jsvectormap.cjs +2279 -0
- package/dist/libs/jsvectormap/dist/jsvectormap.css +121 -0
- package/dist/libs/jsvectormap/dist/jsvectormap.esm.js +2277 -0
- package/dist/libs/jsvectormap/dist/jsvectormap.js +2285 -0
- package/dist/libs/jsvectormap/dist/jsvectormap.min.css +1 -0
- package/dist/libs/jsvectormap/dist/jsvectormap.min.js +1 -0
- package/dist/libs/jsvectormap/dist/maps/world-merc.js +1 -1
- package/dist/libs/jsvectormap/dist/maps/world.js +1 -1
- package/dist/libs/nouislider/dist/nouislider.d.ts +8 -10
- package/dist/libs/nouislider/dist/nouislider.js +64 -5
- package/dist/libs/nouislider/dist/nouislider.min.js +1 -1
- package/dist/libs/nouislider/dist/nouislider.min.mjs +1 -1
- package/dist/libs/nouislider/dist/nouislider.mjs +64 -5
- package/dist/libs/star-rating.js/dist/star-rating.cjs.js +5 -2
- package/dist/libs/star-rating.js/dist/star-rating.css +23 -20
- package/dist/libs/star-rating.js/dist/star-rating.esm.js +5 -2
- package/dist/libs/star-rating.js/dist/star-rating.js +5 -9
- package/dist/libs/star-rating.js/dist/star-rating.min.css +1 -8
- package/dist/libs/star-rating.js/dist/star-rating.min.js +1 -8
- package/dist/libs/tinymce/CHANGELOG.md +471 -12
- package/dist/libs/tinymce/README.md +16 -10
- package/dist/libs/tinymce/bower.json +1 -1
- package/dist/libs/tinymce/composer.json +2 -2
- package/dist/libs/tinymce/icons/default/icons.js +13 -2
- package/dist/libs/tinymce/icons/default/icons.min.js +1 -1
- package/dist/libs/tinymce/license.md +6 -0
- package/dist/libs/tinymce/models/dom/model.js +237 -213
- package/dist/libs/tinymce/models/dom/model.min.js +2 -2
- package/dist/libs/tinymce/package.json +2 -2
- package/dist/libs/tinymce/plugins/accordion/index.js +7 -0
- package/dist/libs/tinymce/plugins/accordion/plugin.js +1055 -0
- package/dist/libs/tinymce/plugins/accordion/plugin.min.js +4 -0
- package/dist/libs/tinymce/plugins/advlist/plugin.js +4 -4
- package/dist/libs/tinymce/plugins/advlist/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/anchor/plugin.js +21 -3
- package/dist/libs/tinymce/plugins/anchor/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/autolink/plugin.js +1 -1
- package/dist/libs/tinymce/plugins/autolink/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/autoresize/plugin.js +20 -33
- package/dist/libs/tinymce/plugins/autoresize/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/autosave/plugin.js +1 -1
- package/dist/libs/tinymce/plugins/autosave/plugin.min.js +1 -1
- package/dist/libs/tinymce/plugins/charmap/plugin.js +15 -3
- package/dist/libs/tinymce/plugins/charmap/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/code/plugin.js +1 -1
- package/dist/libs/tinymce/plugins/code/plugin.min.js +1 -1
- package/dist/libs/tinymce/plugins/codesample/plugin.js +27 -13
- package/dist/libs/tinymce/plugins/codesample/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/directionality/plugin.js +33 -27
- package/dist/libs/tinymce/plugins/directionality/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/emoticons/plugin.js +17 -4
- package/dist/libs/tinymce/plugins/emoticons/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/fullscreen/plugin.js +168 -105
- package/dist/libs/tinymce/plugins/fullscreen/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/ar.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/ca.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/cs.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/da.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/de.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/el.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/en.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/es.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/eu.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/fa.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/fi.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/he_IL.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/hi.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/hr.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/id.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/it.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/ja.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/kk.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/ms.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/nl.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/pl.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/ro.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/ru.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/sk.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/th_TH.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/tr.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/uk.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/vi.js +93 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +87 -0
- package/dist/libs/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +93 -0
- package/dist/libs/tinymce/plugins/help/plugin.js +115 -135
- package/dist/libs/tinymce/plugins/help/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/image/plugin.js +23 -5
- package/dist/libs/tinymce/plugins/image/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/importcss/plugin.js +4 -3
- package/dist/libs/tinymce/plugins/importcss/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/insertdatetime/plugin.js +15 -3
- package/dist/libs/tinymce/plugins/insertdatetime/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/link/plugin.js +193 -114
- package/dist/libs/tinymce/plugins/link/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/lists/plugin.js +290 -66
- package/dist/libs/tinymce/plugins/lists/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/media/plugin.js +80 -33
- package/dist/libs/tinymce/plugins/media/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/nonbreaking/plugin.js +15 -3
- package/dist/libs/tinymce/plugins/nonbreaking/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/pagebreak/plugin.js +15 -3
- package/dist/libs/tinymce/plugins/pagebreak/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/preview/plugin.js +1 -1
- package/dist/libs/tinymce/plugins/preview/plugin.min.js +1 -1
- package/dist/libs/tinymce/plugins/quickbars/plugin.js +19 -7
- package/dist/libs/tinymce/plugins/quickbars/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/save/plugin.js +3 -2
- package/dist/libs/tinymce/plugins/save/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/searchreplace/plugin.js +42 -36
- package/dist/libs/tinymce/plugins/searchreplace/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/table/plugin.js +121 -76
- package/dist/libs/tinymce/plugins/table/plugin.min.js +2 -2
- package/dist/libs/tinymce/plugins/visualblocks/plugin.js +1 -1
- package/dist/libs/tinymce/plugins/visualblocks/plugin.min.js +1 -1
- package/dist/libs/tinymce/plugins/visualchars/plugin.js +1 -1
- package/dist/libs/tinymce/plugins/visualchars/plugin.min.js +1 -1
- package/dist/libs/tinymce/plugins/wordcount/plugin.js +27 -19
- package/dist/libs/tinymce/plugins/wordcount/plugin.min.js +2 -2
- package/dist/libs/tinymce/skins/content/dark/content.js +1 -0
- package/dist/libs/tinymce/skins/content/default/content.js +1 -0
- package/dist/libs/tinymce/skins/content/document/content.js +1 -0
- package/dist/libs/tinymce/skins/content/tinymce-5/content.js +1 -0
- package/dist/libs/tinymce/skins/content/tinymce-5-dark/content.js +1 -0
- package/dist/libs/tinymce/skins/content/writer/content.js +1 -0
- package/dist/libs/tinymce/skins/ui/oxide/content.css +32 -29
- package/dist/libs/tinymce/skins/ui/oxide/content.inline.css +32 -29
- package/dist/libs/tinymce/skins/ui/oxide/content.inline.js +1 -0
- package/dist/libs/tinymce/skins/ui/oxide/content.inline.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/oxide/content.js +1 -0
- package/dist/libs/tinymce/skins/ui/oxide/content.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/oxide/skin.css +1003 -105
- package/dist/libs/tinymce/skins/ui/oxide/skin.js +1 -0
- package/dist/libs/tinymce/skins/ui/oxide/skin.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/oxide/skin.shadowdom.js +1 -0
- package/dist/libs/tinymce/skins/ui/oxide-dark/content.css +32 -22
- package/dist/libs/tinymce/skins/ui/oxide-dark/content.inline.css +32 -29
- package/dist/libs/tinymce/skins/ui/oxide-dark/content.inline.js +1 -0
- package/dist/libs/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/oxide-dark/content.js +1 -0
- package/dist/libs/tinymce/skins/ui/oxide-dark/content.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/oxide-dark/skin.css +1008 -110
- package/dist/libs/tinymce/skins/ui/oxide-dark/skin.js +1 -0
- package/dist/libs/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +1 -0
- package/dist/libs/tinymce/skins/ui/tinymce-5/content.css +32 -29
- package/dist/libs/tinymce/skins/ui/tinymce-5/content.inline.css +32 -29
- package/dist/libs/tinymce/skins/ui/tinymce-5/content.inline.js +1 -0
- package/dist/libs/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/tinymce-5/content.js +1 -0
- package/dist/libs/tinymce/skins/ui/tinymce-5/content.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/tinymce-5/skin.css +1003 -86
- package/dist/libs/tinymce/skins/ui/tinymce-5/skin.js +1 -0
- package/dist/libs/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +1 -0
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.css +32 -22
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.inline.css +32 -29
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.inline.js +1 -0
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.js +1 -0
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/skin.css +1009 -92
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/skin.js +1 -0
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
- package/dist/libs/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +1 -0
- package/dist/libs/tinymce/themes/silver/theme.js +26361 -24936
- package/dist/libs/tinymce/themes/silver/theme.min.js +2 -2
- package/dist/libs/tinymce/tinymce.d.ts +205 -136
- package/dist/libs/tinymce/tinymce.js +4400 -2838
- package/dist/libs/tinymce/tinymce.min.js +2 -2
- package/dist/libs/tom-select/dist/js/plugins/caret_position.js +11 -16
- package/dist/libs/tom-select/dist/js/plugins/caret_position.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/change_listener.js +3 -2
- package/dist/libs/tom-select/dist/js/plugins/change_listener.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/checkbox_options.js +47 -34
- package/dist/libs/tom-select/dist/js/plugins/checkbox_options.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/clear_button.js +3 -13
- package/dist/libs/tom-select/dist/js/plugins/clear_button.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/drag_drop.js +249 -29
- package/dist/libs/tom-select/dist/js/plugins/drag_drop.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/dropdown_header.js +3 -11
- package/dist/libs/tom-select/dist/js/plugins/dropdown_header.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/dropdown_input.js +15 -24
- package/dist/libs/tom-select/dist/js/plugins/dropdown_input.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/input_autogrow.js +4 -6
- package/dist/libs/tom-select/dist/js/plugins/input_autogrow.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/no_active_items.js +2 -1
- package/dist/libs/tom-select/dist/js/plugins/no_active_items.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/no_backspace_delete.js +2 -2
- package/dist/libs/tom-select/dist/js/plugins/no_backspace_delete.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/optgroup_columns.js +3 -15
- package/dist/libs/tom-select/dist/js/plugins/optgroup_columns.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/remove_button.js +11 -15
- package/dist/libs/tom-select/dist/js/plugins/remove_button.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/restore_on_backspace.js +2 -3
- package/dist/libs/tom-select/dist/js/plugins/restore_on_backspace.js.map +1 -1
- package/dist/libs/tom-select/dist/js/plugins/virtual_scroll.js +41 -50
- package/dist/libs/tom-select/dist/js/plugins/virtual_scroll.js.map +1 -1
- package/dist/libs/tom-select/dist/js/tom-select.base.js +411 -685
- package/dist/libs/tom-select/dist/js/tom-select.base.js.map +1 -1
- package/dist/libs/tom-select/dist/js/tom-select.base.min.js +87 -78
- package/dist/libs/tom-select/dist/js/tom-select.base.min.js.map +1 -1
- package/dist/libs/tom-select/dist/js/tom-select.complete.js +614 -820
- package/dist/libs/tom-select/dist/js/tom-select.complete.js.map +1 -1
- package/dist/libs/tom-select/dist/js/tom-select.complete.min.js +195 -176
- package/dist/libs/tom-select/dist/js/tom-select.complete.min.js.map +1 -1
- package/dist/libs/tom-select/dist/js/tom-select.popular.js +436 -705
- package/dist/libs/tom-select/dist/js/tom-select.popular.js.map +1 -1
- package/dist/libs/tom-select/dist/js/tom-select.popular.min.js +87 -78
- package/dist/libs/tom-select/dist/js/tom-select.popular.min.js.map +1 -1
- package/docs/base/colors.mdx +25 -0
- package/docs/base/typography.mdx +296 -0
- package/docs/components/alerts.mdx +430 -0
- package/docs/components/autosize.mdx +16 -0
- package/docs/components/avatars.mdx +172 -0
- package/docs/components/badges.mdx +127 -0
- package/docs/components/breadcrumb.mdx +107 -0
- package/docs/components/buttons.mdx +863 -0
- package/docs/components/cards.mdx +343 -0
- package/docs/components/carousel.mdx +235 -0
- package/docs/components/charts.mdx +526 -0
- package/docs/components/countup.mdx +136 -0
- package/docs/components/datagrid.mdx +90 -0
- package/docs/components/divider.mdx +63 -0
- package/docs/components/dropdowns.mdx +245 -0
- package/docs/components/dropzone.mdx +63 -0
- package/docs/components/empty.mdx +103 -0
- package/docs/components/icons.mdx +120 -0
- package/docs/components/inline-player.mdx +31 -0
- package/docs/components/modals.mdx +222 -0
- package/docs/components/placeholder.mdx +270 -0
- package/docs/components/popover.mdx +55 -0
- package/docs/components/progress.mdx +92 -0
- package/docs/components/progressbg.mdx +16 -0
- package/docs/components/range-slider.mdx +17 -0
- package/docs/components/ribbons.mdx +151 -0
- package/docs/components/spinners.mdx +119 -0
- package/docs/components/statuses.mdx +285 -0
- package/docs/components/steps.mdx +111 -0
- package/docs/components/switch-icon.mdx +155 -0
- package/docs/components/tables.mdx +410 -0
- package/docs/components/tabs.mdx +243 -0
- package/docs/components/timelines.mdx +506 -0
- package/docs/components/tinymce.mdx +44 -0
- package/docs/components/toasts.mdx +73 -0
- package/docs/components/tooltips.mdx +34 -0
- package/docs/components/tracking.mdx +162 -0
- package/docs/forms/form-color-check.mdx +179 -0
- package/docs/forms/form-elements.mdx +498 -0
- package/docs/forms/form-fieldset.mdx +44 -0
- package/docs/forms/form-helpers.mdx +12 -0
- package/docs/forms/form-image-check.mdx +162 -0
- package/docs/forms/form-input-mask.mdx +18 -0
- package/docs/forms/form-selectboxes.mdx +205 -0
- package/docs/forms/form-validation.mdx +25 -0
- package/docs/getting-started/browser-support.mdx +20 -0
- package/docs/getting-started/customize.mdx +24 -0
- package/docs/getting-started/download.mdx +42 -0
- package/docs/getting-started/faq.mdx +28 -0
- package/docs/getting-started/index.mdx +40 -0
- package/docs/icons/eps.mdx +13 -0
- package/docs/icons/figma.mdx +7 -0
- package/docs/icons/index.mdx +103 -0
- package/docs/icons/pdf.mdx +13 -0
- package/docs/icons/png.mdx +19 -0
- package/docs/icons/preact.mdx +40 -0
- package/docs/icons/react.mdx +40 -0
- package/docs/icons/solidjs.mdx +39 -0
- package/docs/icons/svelte.mdx +40 -0
- package/docs/icons/svg.mdx +74 -0
- package/docs/icons/vue.mdx +45 -0
- package/docs/icons/webfont.mdx +52 -0
- package/docs/layout/page-headers.mdx +226 -0
- package/docs/layout/page-layouts.mdx +204 -0
- package/docs/menu.json +317 -0
- package/docs/plugins/flags.mdx +52 -0
- package/docs/plugins/payments.mdx +43 -0
- package/docs/utilities/borders.mdx +114 -0
- package/docs/utilities/cursors.mdx +92 -0
- package/docs/utilities/interactions.mdx +23 -0
- package/package.json +37 -37
- package/src/js/src/toast.js +9 -1
- package/src/scss/_variables-dark.scss +3 -3
- package/src/scss/_variables.scss +38 -33
- package/src/scss/layout/_dark.scss +10 -2
- package/src/scss/layout/_navbar.scss +22 -13
- package/src/scss/layout/_page.scss +4 -4
- package/src/scss/layout/_root.scss +1 -1
- package/src/scss/mixins/_mixins.scss +4 -4
- package/src/scss/ui/_alerts.scss +2 -2
- package/src/scss/ui/_buttons.scss +4 -4
- package/src/scss/ui/_dropdowns.scss +1 -0
- package/src/scss/ui/_empty.scss +0 -5
- package/src/scss/ui/_flags.scss +2 -2
- package/src/scss/ui/_forms.scss +5 -4
- package/src/scss/ui/_modals.scss +3 -3
- package/src/scss/ui/_ribbons.scss +1 -0
- package/src/scss/ui/_toasts.scss +0 -1
- package/src/scss/ui/_type.scss +4 -2
- package/src/scss/vendor/_apexcharts.scss +2 -2
- package/src/scss/vendor/_jsvectormap.scss +1 -1
- package/src/scss/vendor/_litepicker.scss +1 -1
- package/dist/libs/jsvectormap/dist/js/jsvectormap.js +0 -2318
- package/dist/libs/jsvectormap/dist/js/jsvectormap.min.js +0 -1
- package/dist/libs/tinymce/license.txt +0 -21
- package/dist/libs/tinymce/plugins/template/index.js +0 -7
- package/dist/libs/tinymce/plugins/template/plugin.js +0 -554
- package/dist/libs/tinymce/plugins/template/plugin.min.js +0 -4
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Charts
|
|
3
|
+
libs: apexcharts
|
|
4
|
+
description: Tabler uses ApexCharts - a free and open-source modern charting library that helps developers to create beautiful and interactive visualizations for web pages.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
To be able to use the charts in your application you will need to install the apexcharts dependency with `npm install apexcharts`.
|
|
8
|
+
|
|
9
|
+
See also the [ApexCharts](https://apexcharts.com/) documentation.
|
|
10
|
+
|
|
11
|
+
## Line Chart
|
|
12
|
+
|
|
13
|
+
Line charts are a typical pictorial representation that depicts trends and behaviors over time.
|
|
14
|
+
|
|
15
|
+
```html example code centered columns={2} height="25rem"
|
|
16
|
+
<div class="card">
|
|
17
|
+
<div class="card-body">
|
|
18
|
+
<div id="chart-demo-line" class="chart-lg"></div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<script src="$TABLER_CDN/dist/libs/apexcharts/dist/apexcharts.min.js" defer></script>
|
|
23
|
+
<script>
|
|
24
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
25
|
+
window.ApexCharts && (new ApexCharts(document.getElementById('chart-demo-line'), {
|
|
26
|
+
chart: {
|
|
27
|
+
type: "line",
|
|
28
|
+
fontFamily: 'inherit',
|
|
29
|
+
height: 240,
|
|
30
|
+
parentHeightOffset: 0,
|
|
31
|
+
toolbar: {
|
|
32
|
+
show: false,
|
|
33
|
+
},
|
|
34
|
+
animations: {
|
|
35
|
+
enabled: false
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
fill: {
|
|
39
|
+
opacity: 1,
|
|
40
|
+
},
|
|
41
|
+
stroke: {
|
|
42
|
+
width: 2,
|
|
43
|
+
lineCap: "round",
|
|
44
|
+
curve: "straight",
|
|
45
|
+
},
|
|
46
|
+
series: [{
|
|
47
|
+
name: "Session Duration",
|
|
48
|
+
data: [117, 92, 94, 98, 75, 110, 69, 80, 109, 113, 115, 95]
|
|
49
|
+
}, {
|
|
50
|
+
name: "Page Views",
|
|
51
|
+
data: [59, 80, 61, 66, 70, 84, 87, 64, 94, 56, 55, 67]
|
|
52
|
+
}, {
|
|
53
|
+
name: "Total Visits",
|
|
54
|
+
data: [53, 51, 52, 41, 46, 60, 45, 43, 30, 50, 58, 59]
|
|
55
|
+
}],
|
|
56
|
+
tooltip: {
|
|
57
|
+
theme: 'dark'
|
|
58
|
+
},
|
|
59
|
+
grid: {
|
|
60
|
+
padding: {
|
|
61
|
+
top: -20,
|
|
62
|
+
right: 0,
|
|
63
|
+
left: -4,
|
|
64
|
+
bottom: -4
|
|
65
|
+
},
|
|
66
|
+
strokeDashArray: 4,
|
|
67
|
+
},
|
|
68
|
+
xaxis: {
|
|
69
|
+
labels: {
|
|
70
|
+
padding: 0,
|
|
71
|
+
},
|
|
72
|
+
tooltip: {
|
|
73
|
+
enabled: false
|
|
74
|
+
},
|
|
75
|
+
type: 'datetime',
|
|
76
|
+
},
|
|
77
|
+
yaxis: {
|
|
78
|
+
labels: {
|
|
79
|
+
padding: 4
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
labels: [
|
|
83
|
+
'2020-06-21', '2020-06-22', '2020-06-23', '2020-06-24', '2020-06-25', '2020-06-26', '2020-06-27', '2020-06-28', '2020-06-29', '2020-06-30', '2020-07-01', '2020-07-02'
|
|
84
|
+
],
|
|
85
|
+
colors: [tabler.getColor("yellow"), tabler.getColor("green"), tabler.getColor("primary")],
|
|
86
|
+
legend: {
|
|
87
|
+
show: true,
|
|
88
|
+
position: 'bottom',
|
|
89
|
+
offsetY: 12,
|
|
90
|
+
markers: {
|
|
91
|
+
width: 10,
|
|
92
|
+
height: 10,
|
|
93
|
+
radius: 100,
|
|
94
|
+
},
|
|
95
|
+
itemMargin: {
|
|
96
|
+
horizontal: 8,
|
|
97
|
+
vertical: 8
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
})).render();
|
|
101
|
+
});
|
|
102
|
+
</script>
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Area Chart
|
|
106
|
+
|
|
107
|
+
Area charts are used to represent quantitative variations.
|
|
108
|
+
|
|
109
|
+
```html example code centered columns={2} height="25rem"
|
|
110
|
+
<div class="card">
|
|
111
|
+
<div class="card-body">
|
|
112
|
+
<div id="chart-demo-area" class="chart-lg"></div>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<script src="$TABLER_CDN/dist/libs/apexcharts/dist/apexcharts.min.js" defer></script>
|
|
117
|
+
<script>
|
|
118
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
119
|
+
window.ApexCharts && (new ApexCharts(document.getElementById('chart-demo-area'), {
|
|
120
|
+
chart: {
|
|
121
|
+
type: "area",
|
|
122
|
+
fontFamily: 'inherit',
|
|
123
|
+
height: 240,
|
|
124
|
+
parentHeightOffset: 0,
|
|
125
|
+
toolbar: {
|
|
126
|
+
show: false,
|
|
127
|
+
},
|
|
128
|
+
animations: {
|
|
129
|
+
enabled: false
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
dataLabels: {
|
|
133
|
+
enabled: false,
|
|
134
|
+
},
|
|
135
|
+
fill: {
|
|
136
|
+
opacity: .16,
|
|
137
|
+
type: 'solid'
|
|
138
|
+
},
|
|
139
|
+
stroke: {
|
|
140
|
+
width: 2,
|
|
141
|
+
lineCap: "round",
|
|
142
|
+
curve: "smooth",
|
|
143
|
+
},
|
|
144
|
+
series: [{
|
|
145
|
+
name: "series1",
|
|
146
|
+
data: [56, 40, 39, 47, 34, 48, 44]
|
|
147
|
+
}, {
|
|
148
|
+
name: "series2",
|
|
149
|
+
data: [45, 43, 30, 23, 38, 39, 54]
|
|
150
|
+
}],
|
|
151
|
+
tooltip: {
|
|
152
|
+
theme: 'dark'
|
|
153
|
+
},
|
|
154
|
+
grid: {
|
|
155
|
+
padding: {
|
|
156
|
+
top: -20,
|
|
157
|
+
right: 0,
|
|
158
|
+
left: -4,
|
|
159
|
+
bottom: -4
|
|
160
|
+
},
|
|
161
|
+
strokeDashArray: 4,
|
|
162
|
+
},
|
|
163
|
+
xaxis: {
|
|
164
|
+
labels: {
|
|
165
|
+
padding: 0,
|
|
166
|
+
},
|
|
167
|
+
tooltip: {
|
|
168
|
+
enabled: false
|
|
169
|
+
},
|
|
170
|
+
axisBorder: {
|
|
171
|
+
show: false,
|
|
172
|
+
},
|
|
173
|
+
type: 'datetime',
|
|
174
|
+
},
|
|
175
|
+
yaxis: {
|
|
176
|
+
labels: {
|
|
177
|
+
padding: 4
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
labels: [
|
|
181
|
+
'2020-06-21', '2020-06-22', '2020-06-23', '2020-06-24', '2020-06-25', '2020-06-26', '2020-06-27'
|
|
182
|
+
],
|
|
183
|
+
colors: [tabler.getColor("primary"), tabler.getColor("purple")],
|
|
184
|
+
legend: {
|
|
185
|
+
show: true,
|
|
186
|
+
position: 'bottom',
|
|
187
|
+
offsetY: 12,
|
|
188
|
+
markers: {
|
|
189
|
+
width: 10,
|
|
190
|
+
height: 10,
|
|
191
|
+
radius: 100,
|
|
192
|
+
},
|
|
193
|
+
itemMargin: {
|
|
194
|
+
horizontal: 8,
|
|
195
|
+
vertical: 8
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
})).render();
|
|
199
|
+
});
|
|
200
|
+
</script>
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
## Bar Chart
|
|
204
|
+
|
|
205
|
+
A bar chart is the best tool for displaying comparisons between categories of data.
|
|
206
|
+
|
|
207
|
+
```html example code centered columns={2} height="25rem"
|
|
208
|
+
<div class="card">
|
|
209
|
+
<div class="card-body">
|
|
210
|
+
<div id="chart-demo-bar" class="chart-lg"></div>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
|
|
214
|
+
<script src="$TABLER_CDN/dist/libs/apexcharts/dist/apexcharts.min.js" defer></script>
|
|
215
|
+
<script>
|
|
216
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
217
|
+
window.ApexCharts && (new ApexCharts(document.getElementById('chart-demo-bar'), {
|
|
218
|
+
chart: {
|
|
219
|
+
type: "bar",
|
|
220
|
+
fontFamily: 'inherit',
|
|
221
|
+
height: 240,
|
|
222
|
+
parentHeightOffset: 0,
|
|
223
|
+
toolbar: {
|
|
224
|
+
show: false,
|
|
225
|
+
},
|
|
226
|
+
animations: {
|
|
227
|
+
enabled: false
|
|
228
|
+
},
|
|
229
|
+
stacked: true,
|
|
230
|
+
},
|
|
231
|
+
plotOptions: {
|
|
232
|
+
bar: {
|
|
233
|
+
barHeight: '50%',
|
|
234
|
+
horizontal: true,
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
dataLabels: {
|
|
238
|
+
enabled: false,
|
|
239
|
+
},
|
|
240
|
+
fill: {
|
|
241
|
+
opacity: 1,
|
|
242
|
+
},
|
|
243
|
+
series: [{
|
|
244
|
+
name: "Container for a Fanta",
|
|
245
|
+
data: [44, 55, 41, 37, 22, 43, 21]
|
|
246
|
+
}, {
|
|
247
|
+
name: "Strange sunglasses",
|
|
248
|
+
data: [53, 32, 33, 52, 13, 43, 32]
|
|
249
|
+
}, {
|
|
250
|
+
name: "Pen Pineapple Apple Pen",
|
|
251
|
+
data: [12, 17, 11, 9, 15, 11, 20]
|
|
252
|
+
}, {
|
|
253
|
+
name: "Binoculars",
|
|
254
|
+
data: [9, 7, 5, 8, 6, 9, 4]
|
|
255
|
+
}, {
|
|
256
|
+
name: "Magical notebook",
|
|
257
|
+
data: [25, 12, 19, 32, 25, 24, 10]
|
|
258
|
+
}],
|
|
259
|
+
tooltip: {
|
|
260
|
+
theme: 'dark'
|
|
261
|
+
},
|
|
262
|
+
grid: {
|
|
263
|
+
padding: {
|
|
264
|
+
top: -20,
|
|
265
|
+
right: 0,
|
|
266
|
+
left: -4,
|
|
267
|
+
bottom: -4
|
|
268
|
+
},
|
|
269
|
+
strokeDashArray: 4,
|
|
270
|
+
},
|
|
271
|
+
xaxis: {
|
|
272
|
+
labels: {
|
|
273
|
+
padding: 0,
|
|
274
|
+
formatter: function(val) {
|
|
275
|
+
return val + "K"
|
|
276
|
+
},
|
|
277
|
+
},
|
|
278
|
+
tooltip: {
|
|
279
|
+
enabled: false
|
|
280
|
+
},
|
|
281
|
+
axisBorder: {
|
|
282
|
+
show: false,
|
|
283
|
+
},
|
|
284
|
+
categories: ['2008', '2009', '2010', '2011', '2012', '2013', '2014'],
|
|
285
|
+
},
|
|
286
|
+
yaxis: {
|
|
287
|
+
labels: {
|
|
288
|
+
padding: 4
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
colors: [tabler.getColor("purple"), tabler.getColor("green"), tabler.getColor("yellow"), tabler.getColor("red"), tabler.getColor("primary")],
|
|
292
|
+
legend: {
|
|
293
|
+
show: true,
|
|
294
|
+
position: 'bottom',
|
|
295
|
+
offsetY: 12,
|
|
296
|
+
markers: {
|
|
297
|
+
width: 10,
|
|
298
|
+
height: 10,
|
|
299
|
+
radius: 100,
|
|
300
|
+
},
|
|
301
|
+
itemMargin: {
|
|
302
|
+
horizontal: 8,
|
|
303
|
+
vertical: 8
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
})).render();
|
|
307
|
+
});
|
|
308
|
+
</script>
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
## Pie Chart
|
|
312
|
+
|
|
313
|
+
Pie charts are an instrumental visualization tool useful in expressing data and information in terms of percentages, ratio.
|
|
314
|
+
|
|
315
|
+
```html example code centered columns={2} height="25rem"
|
|
316
|
+
<div class="card">
|
|
317
|
+
<div class="card-body">
|
|
318
|
+
<div id="chart-demo-pie" class="chart-lg"></div>
|
|
319
|
+
</div>
|
|
320
|
+
</div>
|
|
321
|
+
|
|
322
|
+
<script src="$TABLER_CDN/dist/libs/apexcharts/dist/apexcharts.min.js" defer></script>
|
|
323
|
+
<script>
|
|
324
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
325
|
+
window.ApexCharts && (new ApexCharts(document.getElementById('chart-demo-pie'), {
|
|
326
|
+
chart: {
|
|
327
|
+
type: "donut",
|
|
328
|
+
fontFamily: 'inherit',
|
|
329
|
+
height: 240,
|
|
330
|
+
sparkline: {
|
|
331
|
+
enabled: true
|
|
332
|
+
},
|
|
333
|
+
animations: {
|
|
334
|
+
enabled: false
|
|
335
|
+
},
|
|
336
|
+
},
|
|
337
|
+
fill: {
|
|
338
|
+
opacity: 1,
|
|
339
|
+
},
|
|
340
|
+
series: [44, 55, 12, 2],
|
|
341
|
+
labels: ["Direct", "Affilliate", "E-mail", "Other"],
|
|
342
|
+
tooltip: {
|
|
343
|
+
theme: 'dark'
|
|
344
|
+
},
|
|
345
|
+
grid: {
|
|
346
|
+
strokeDashArray: 4,
|
|
347
|
+
},
|
|
348
|
+
colors: [tabler.getColor("primary"), tabler.getColor("primary", 0.8), tabler.getColor("primary", 0.6), tabler.getColor("gray-300")],
|
|
349
|
+
legend: {
|
|
350
|
+
show: true,
|
|
351
|
+
position: 'bottom',
|
|
352
|
+
offsetY: 12,
|
|
353
|
+
markers: {
|
|
354
|
+
width: 10,
|
|
355
|
+
height: 10,
|
|
356
|
+
radius: 100,
|
|
357
|
+
},
|
|
358
|
+
itemMargin: {
|
|
359
|
+
horizontal: 8,
|
|
360
|
+
vertical: 8
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
tooltip: {
|
|
364
|
+
fillSeriesColor: false
|
|
365
|
+
},
|
|
366
|
+
})).render();
|
|
367
|
+
});
|
|
368
|
+
</script>
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
## Heatmap Chart
|
|
372
|
+
|
|
373
|
+
Heatmap is a visualization tool that employs color the way a bar chart employs height and width in representing data.
|
|
374
|
+
|
|
375
|
+
```html example code centered columns={2} height="25rem"
|
|
376
|
+
<div class="card">
|
|
377
|
+
<div class="card-body">
|
|
378
|
+
<div id="chart-demo-pie" class="chart-lg"></div>
|
|
379
|
+
</div>
|
|
380
|
+
</div>
|
|
381
|
+
|
|
382
|
+
<script src="$TABLER_CDN/dist/libs/apexcharts/dist/apexcharts.min.js" defer></script>
|
|
383
|
+
<script>
|
|
384
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
385
|
+
window.ApexCharts && (new ApexCharts(document.getElementById('chart-demo-pie'), {
|
|
386
|
+
chart: {
|
|
387
|
+
type: "donut",
|
|
388
|
+
fontFamily: 'inherit',
|
|
389
|
+
height: 240,
|
|
390
|
+
sparkline: {
|
|
391
|
+
enabled: true
|
|
392
|
+
},
|
|
393
|
+
animations: {
|
|
394
|
+
enabled: false
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
fill: {
|
|
398
|
+
opacity: 1,
|
|
399
|
+
},
|
|
400
|
+
series: [44, 55, 12, 2],
|
|
401
|
+
labels: ["Direct", "Affilliate", "E-mail", "Other"],
|
|
402
|
+
tooltip: {
|
|
403
|
+
theme: 'dark'
|
|
404
|
+
},
|
|
405
|
+
grid: {
|
|
406
|
+
strokeDashArray: 4,
|
|
407
|
+
},
|
|
408
|
+
colors: [tabler.getColor("primary"), tabler.getColor("primary", 0.8), tabler.getColor("primary", 0.6), tabler.getColor("gray-300")],
|
|
409
|
+
legend: {
|
|
410
|
+
show: true,
|
|
411
|
+
position: 'bottom',
|
|
412
|
+
offsetY: 12,
|
|
413
|
+
markers: {
|
|
414
|
+
width: 10,
|
|
415
|
+
height: 10,
|
|
416
|
+
radius: 100,
|
|
417
|
+
},
|
|
418
|
+
itemMargin: {
|
|
419
|
+
horizontal: 8,
|
|
420
|
+
vertical: 8
|
|
421
|
+
},
|
|
422
|
+
},
|
|
423
|
+
tooltip: {
|
|
424
|
+
fillSeriesColor: false
|
|
425
|
+
},
|
|
426
|
+
})).render();
|
|
427
|
+
});
|
|
428
|
+
</script>
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
## Advanced example
|
|
432
|
+
|
|
433
|
+
```html example code centered columns={2} height="25rem"
|
|
434
|
+
<div class="card">
|
|
435
|
+
<div class="card-body">
|
|
436
|
+
<div id="chart-social-referrals" class="chart-lg"></div>
|
|
437
|
+
</div>
|
|
438
|
+
</div>
|
|
439
|
+
|
|
440
|
+
<script src="$TABLER_CDN/dist/libs/apexcharts/dist/apexcharts.min.js" defer></script>
|
|
441
|
+
<script>
|
|
442
|
+
document.addEventListener("DOMContentLoaded", function() {
|
|
443
|
+
window.ApexCharts && (new ApexCharts(document.getElementById('chart-social-referrals'), {
|
|
444
|
+
chart: {
|
|
445
|
+
type: "line",
|
|
446
|
+
fontFamily: 'inherit',
|
|
447
|
+
height: 240,
|
|
448
|
+
parentHeightOffset: 0,
|
|
449
|
+
toolbar: {
|
|
450
|
+
show: false,
|
|
451
|
+
},
|
|
452
|
+
animations: {
|
|
453
|
+
enabled: false
|
|
454
|
+
},
|
|
455
|
+
},
|
|
456
|
+
fill: {
|
|
457
|
+
opacity: 1,
|
|
458
|
+
},
|
|
459
|
+
stroke: {
|
|
460
|
+
width: 2,
|
|
461
|
+
lineCap: "round",
|
|
462
|
+
curve: "smooth",
|
|
463
|
+
},
|
|
464
|
+
series: [{
|
|
465
|
+
name: "Facebook",
|
|
466
|
+
data: [13281, 8521, 15038, 9983, 15417, 8888, 7052, 14270, 5214, 9587, 5950, 16852, 17836, 12217, 17406, 12262, 9147, 14961, 18292, 15230, 13435, 10649, 5140, 13680, 4508, 13271, 13413, 5543, 18727, 18238, 18175, 6246, 5864, 17847, 9170, 6445, 12945, 8142, 8980, 10422, 15535, 11569, 10114, 17621, 16138, 13046, 6652, 9906, 14100, 16495, 6749]
|
|
467
|
+
}, {
|
|
468
|
+
name: "Twitter",
|
|
469
|
+
data: [3680, 1862, 3070, 2252, 5348, 3091, 3000, 3984, 5176, 5325, 2420, 5474, 3098, 1893, 3748, 2879, 4197, 5186, 4213, 4334, 2807, 1594, 4863, 2030, 3752, 4856, 5341, 3954, 3461, 3097, 3404, 4949, 2283, 3227, 3630, 2360, 3477, 4675, 1901, 2252, 3347, 2954, 5029, 2079, 2830, 3292, 4578, 3401, 4104, 3749, 4457, 3734]
|
|
470
|
+
}, {
|
|
471
|
+
name: "Dribbble",
|
|
472
|
+
data: [722, 1866, 961, 1108, 1110, 561, 1753, 1815, 1985, 776, 859, 547, 1488, 766, 702, 621, 1599, 1372, 1620, 963, 759, 764, 739, 789, 1696, 1454, 1842, 734, 551, 1689, 1924, 1875, 908, 1675, 1541, 1953, 534, 502, 1524, 1867, 719, 1472, 1608, 1025, 889, 1150, 654, 1695, 1662, 1285, 1787]
|
|
473
|
+
}],
|
|
474
|
+
tooltip: {
|
|
475
|
+
theme: 'dark'
|
|
476
|
+
},
|
|
477
|
+
grid: {
|
|
478
|
+
padding: {
|
|
479
|
+
top: -20,
|
|
480
|
+
right: 0,
|
|
481
|
+
left: -4,
|
|
482
|
+
bottom: -4
|
|
483
|
+
},
|
|
484
|
+
strokeDashArray: 4,
|
|
485
|
+
xaxis: {
|
|
486
|
+
lines: {
|
|
487
|
+
show: true
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
},
|
|
491
|
+
xaxis: {
|
|
492
|
+
labels: {
|
|
493
|
+
padding: 0,
|
|
494
|
+
},
|
|
495
|
+
tooltip: {
|
|
496
|
+
enabled: false
|
|
497
|
+
},
|
|
498
|
+
type: 'datetime',
|
|
499
|
+
},
|
|
500
|
+
yaxis: {
|
|
501
|
+
labels: {
|
|
502
|
+
padding: 4
|
|
503
|
+
},
|
|
504
|
+
},
|
|
505
|
+
labels: [
|
|
506
|
+
'2020-06-21', '2020-06-22', '2020-06-23', '2020-06-24', '2020-06-25', '2020-06-26', '2020-06-27', '2020-06-28', '2020-06-29', '2020-06-30', '2020-07-01', '2020-07-02', '2020-07-03', '2020-07-04', '2020-07-05', '2020-07-06', '2020-07-07', '2020-07-08', '2020-07-09', '2020-07-10', '2020-07-11', '2020-07-12', '2020-07-13', '2020-07-14', '2020-07-15', '2020-07-16', '2020-07-17', '2020-07-18', '2020-07-19', '2020-07-20', '2020-07-21', '2020-07-22', '2020-07-23', '2020-07-24', '2020-07-25', '2020-07-26', '2020-07-27', '2020-07-28', '2020-07-29', '2020-07-30', '2020-07-31', '2020-08-01', '2020-08-02', '2020-08-03', '2020-08-04', '2020-08-05', '2020-08-06', '2020-08-07', '2020-08-08', '2020-08-09', '2020-08-10'
|
|
507
|
+
],
|
|
508
|
+
colors: [tabler.getColor("facebook"), tabler.getColor("twitter"), tabler.getColor("dribbble")],
|
|
509
|
+
legend: {
|
|
510
|
+
show: true,
|
|
511
|
+
position: 'bottom',
|
|
512
|
+
offsetY: 12,
|
|
513
|
+
markers: {
|
|
514
|
+
width: 10,
|
|
515
|
+
height: 10,
|
|
516
|
+
radius: 100,
|
|
517
|
+
},
|
|
518
|
+
itemMargin: {
|
|
519
|
+
horizontal: 8,
|
|
520
|
+
vertical: 8
|
|
521
|
+
},
|
|
522
|
+
},
|
|
523
|
+
})).render();
|
|
524
|
+
});
|
|
525
|
+
</script>
|
|
526
|
+
```
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Countup
|
|
3
|
+
description: A countup element is used to display numerical data in an interesting way and make the interface more interactive.
|
|
4
|
+
libs: countup
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
To be able to use the countup in your application you will need to install the countup.js dependency with `npm install countup.js`.
|
|
8
|
+
|
|
9
|
+
## Default countup
|
|
10
|
+
|
|
11
|
+
To create a countup, add `data-countup` to any HTML text tag and specify the number which is to be reached. The animation will be triggered as soon as the number enters the viewport.
|
|
12
|
+
|
|
13
|
+
```html code example
|
|
14
|
+
<script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
|
|
15
|
+
|
|
16
|
+
<h1 data-countup>30000</h1>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Duration
|
|
20
|
+
|
|
21
|
+
Set the `duration` to determine how long the animation should take. By default, the duration is set to 2 seconds, but you can modify it as you wish.
|
|
22
|
+
|
|
23
|
+
```html code example
|
|
24
|
+
<script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
|
|
25
|
+
|
|
26
|
+
<h1 data-countup>30000</h1>
|
|
27
|
+
<h1 data-countup='{"duration":4}'>30000</h1>
|
|
28
|
+
<h1 data-countup='{"duration":6}'>30000</h1>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Starting value
|
|
32
|
+
|
|
33
|
+
By default the countup will start from zero. If you want to set a different start value use `startVal`.
|
|
34
|
+
You can also set the start value to be greater than the final value, so that it counts down instead of up.
|
|
35
|
+
|
|
36
|
+
```html code example
|
|
37
|
+
<script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
|
|
38
|
+
|
|
39
|
+
<h1 data-countup='{"startVal":12345}'>30000</h1>
|
|
40
|
+
<h1 data-countup='{"startVal":47655}'>30000</h1>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Decimal places
|
|
44
|
+
|
|
45
|
+
Set how many decimal numbers should be displayed using `decimalPlaces`.
|
|
46
|
+
|
|
47
|
+
```html code example
|
|
48
|
+
<script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
|
|
49
|
+
|
|
50
|
+
<h1 data-countup>3.123</h1>
|
|
51
|
+
<h1 data-countup='{"decimalPlaces":1}'>3.123</h1>
|
|
52
|
+
<h1 data-countup='{"decimalPlaces":2}'>3.123</h1>
|
|
53
|
+
<h1 data-countup='{"decimalPlaces":3}'>3.123</h1>
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Easing
|
|
57
|
+
|
|
58
|
+
Disable easing using `"useEasing": false`. Easing is set to `true` by default, so that the animation speed changes over the course of its duration.
|
|
59
|
+
|
|
60
|
+
```html code example
|
|
61
|
+
<script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
|
|
62
|
+
|
|
63
|
+
<h1 data-countup>30000</h1>
|
|
64
|
+
<h1 data-countup='{"useEasing": false}'>30000</h1>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Use grouping
|
|
68
|
+
|
|
69
|
+
Disable grouping using `"useGrouping": false`. Grouping is set to `true` by default and the default group separator is a comma.
|
|
70
|
+
|
|
71
|
+
```html code example
|
|
72
|
+
<script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
|
|
73
|
+
|
|
74
|
+
<h1 data-countup>30000</h1>
|
|
75
|
+
<h1 data-countup='{"useGrouping": false}'>30000</h1>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Separator
|
|
79
|
+
|
|
80
|
+
You can change the default comma group separator using `separator` and specifying the one you wish to use.
|
|
81
|
+
|
|
82
|
+
```html code example
|
|
83
|
+
<script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
|
|
84
|
+
|
|
85
|
+
<h1 data-countup>3000000</h1>
|
|
86
|
+
<h1 data-countup='{"separator":" "}'>3000000</h1>
|
|
87
|
+
<h1 data-countup='{"separator":"-"}'>3000000</h1>
|
|
88
|
+
<h1 data-countup='{"separator":":"}'>3000000</h1>
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Decimal separator
|
|
92
|
+
|
|
93
|
+
You can also change the decimal separator which is set to a full stop by default. To do it, use `decimal` and specify the decimal separator of your choice.
|
|
94
|
+
|
|
95
|
+
```html code example
|
|
96
|
+
<script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
|
|
97
|
+
|
|
98
|
+
<h1 data-countup='{"decimalPlaces":2}'>3.12</h1>
|
|
99
|
+
<h1 data-countup='{"decimalPlaces":2,"decimal":".."}'>3.12</h1>
|
|
100
|
+
<h1 data-countup='{"decimalPlaces":2,"decimal":"^"}'>3.12</h1>
|
|
101
|
+
<h1 data-countup='{"decimalPlaces":2,"decimal":":"}'>3.12</h1>
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## Prefix
|
|
105
|
+
|
|
106
|
+
Set the countup prefix using `prefix` and specifying the prefix you want to add, for instance a currency symbol.
|
|
107
|
+
|
|
108
|
+
```html code example
|
|
109
|
+
<script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
|
|
110
|
+
|
|
111
|
+
<h1 data-countup='{"prefix":"$"}'>30000</h1>
|
|
112
|
+
<h1 data-countup='{"prefix":"€"}'>30000</h1>
|
|
113
|
+
<h1 data-countup='{"prefix":"£"}'>30000</h1>
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Suffix
|
|
117
|
+
|
|
118
|
+
Set the countup suffix using `suffix`.
|
|
119
|
+
|
|
120
|
+
```html code example
|
|
121
|
+
<script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
|
|
122
|
+
|
|
123
|
+
<h1 data-countup='{"suffix":"%"}'>30</h1>
|
|
124
|
+
<h1 data-countup='{"suffix":"‰"}'>30</h1>
|
|
125
|
+
<h1 data-countup='{"suffix":"k"}'>30</h1>
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Of course you can mix all of these:
|
|
129
|
+
|
|
130
|
+
```html code example
|
|
131
|
+
<script src="$TABLER_CDN/dist/libs/countup.js/dist/countUp.js"></script>
|
|
132
|
+
|
|
133
|
+
<h1 data-countup='{"duration":6,"startVal":12345,"decimalPlaces":2,"separator":" ","prefix":"$"}'>64547834.76</h1>
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
For more advanced features of countups, click [**here**](https://inorganik.github.io/countUp.js/) and see what more you can do.
|