Skip to content

Commit 288986b

Browse files
authored
Merge pull request #20 from stklcode/master
Adjust class checks for compatibility with Chartist v1
2 parents b199948 + 3100eef commit 288986b

18 files changed

+3417
-4355
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Node CI
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
build:
@@ -9,12 +9,12 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
node-version: [14.x, 16.x]
12+
node-version: [14, 16, 18]
1313

1414
steps:
15-
- uses: actions/checkout@v1
15+
- uses: actions/checkout@v3
1616
- name: Use Node.js ${{ matrix.node-version }}
17-
uses: actions/setup-node@v1
17+
uses: actions/setup-node@v3
1818
with:
1919
node-version: ${{ matrix.node-version }}
2020
- name: npm install, build, and test

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,6 @@ node_modules
3333
#Idea files
3434
.idea
3535
*.iml
36+
37+
# Jasmine
38+
_SpecRunner.html

CHANGELOG.md

Lines changed: 87 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,102 @@
1-
# Chartist Plugin Tooltip Changelog
1+
# Changelog
22

3-
### master
3+
All notable changes to this project will be documented in this file.
44

5-
### 0.1.4
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
67

7-
* [ENCHANTMENT] Upgraded a lot of dependencies
8-
* [ENCHANTMENT] Minimized JavaScript file did shrink ~100 Bytes (3771 Bytes -> 3678 Bytes)
8+
## [Unreleased]
99

10-
### 0.1.3
10+
## [1.0.0] - 2nd January 2023
1111

12-
* [ENCHANTMENT] Added supports for the IE11 - [#9](https://github.com/LukBukkit/chartist-plugin-tooltip/pull/9)
12+
Versions 1.0.0 and above of this plugin only work with Chartist versions of 1.0.0 and above.
1313

14-
### 0.1.2
14+
### Added
15+
- Support for Chartist v1
1516

16-
* [ENHANCEMENT] Added support for the solid donut graph
17+
### Removed
18+
- Support for Chartist version older than v1
1719

18-
### 0.1.1
20+
## [0.1.4] - 8th July 2020
1921

20-
* [BUGFIX] Fixed the wrong position of a tooltip when `appendToBody:true` is used
21-
* [CHANGE] The default value of `appendToBody` is now `true` (was `false`), because it's more efficent
22-
* [CHANGE] The css property `position` of tooltip now has be `absolute`
22+
### Changed
23+
- Upgraded a lot of dependencies
24+
- Minimized JavaScript file did shrink ~100 Bytes (3771 Bytes -> 3678 Bytes)
2325

24-
### 0.0.21
25-
* [BUGFIX] Fixed the position of the tooltips when there are multiple charts
26+
## [0.1.3] - 30th December 2019
2627

27-
### 0.0.20
28-
* [BUGFIX] Fixed issue checking chart type when uglified
29-
* [BUGFIX] Fixed width/height being incorrect
30-
* [BUGFIX] Fixed memory leak
31-
* [ENHANCEMENT] Switched to Yarn
32-
* [ENHANCEMENT] Added less file to the dist folder
33-
* [CHANGE] The exported object is now called `Chartist.plugins.tooltip` instead of `Chartist.plugins.tooltips`.
34-
The `s` at the end of the tooptip is now missing.
28+
### Added
29+
- Support for the IE11 - [#9](https://github.com/LukBukkit/chartist-plugin-tooltip/pull/9)
3530

36-
### 0.0.11
37-
* [BUGFIX] Tooltips now working properly on Firefox
38-
* [ENHANCEMENT] Added custom tooltip using options.tooltipFnc
31+
## [0.1.2] - 30th July 2019
3932

40-
### 0.0.10
41-
* [BUGFIX] Set currency default to `undefined`. Fixes issue in chartist.js 0.7.4.
33+
### Added
34+
- Support for the solid donut graph
4235

43-
### 0.0.9
44-
* [BUGFIX] Fixed new pie chart label mechanism
36+
## [0.1.1] - 7th April 2019
4537

46-
### 0.0.8
47-
* [BUGFIX] Removed Ember reference
48-
* [ENHANCEMENT] For pie chart tooltips also take the labels into account if no meta is given
38+
### Fixed
39+
- Fixed the wrong position of a tooltip when `appendToBody:true` is used
40+
41+
### Changed
42+
- The default value of `appendToBody` is now `true` (was `false`), because it's more efficient
43+
- The css property `position` of tooltip now has be `absolute`
44+
45+
## [0.0.21] - 22nd July 2018
46+
47+
### Fixed
48+
- Fixed the position of the tooltips when there are multiple charts
49+
50+
## [0.0.20] - 16th July 2015
51+
52+
### Added
53+
- Added less file to the dist folder
54+
55+
### Fixed
56+
- Fixed issue checking chart type when uglified
57+
- Fixed width/height being incorrect
58+
- Fixed memory leak
59+
60+
### Changed
61+
- Switched internally to Yarn
62+
- The exported object is now called `Chartist.plugins.tooltip` instead of `Chartist.plugins.tooltips`.
63+
The `s` at the end of the tooltip is now missing.
64+
65+
## [0.0.11] - 28th April 2015
66+
67+
### Added
68+
- Added custom tooltip using options.tooltipFnc
69+
70+
### Fixed
71+
- Tooltips now working properly on Firefox
72+
73+
## [0.0.10] - 20th April 2015
74+
75+
### Fixed
76+
- Set currency default to `undefined`. Fixes issue in chartist.js 0.7.4.
77+
78+
## [0.0.9] - 16th April 2015
79+
80+
### Fixed
81+
- Fixed new pie chart label mechanism
82+
83+
## [0.0.8] - 16th April 2015
84+
85+
### Added
86+
- For pie chart tooltips also take the labels into account if no meta is given
87+
88+
### Fixed
89+
- Removed Ember reference
90+
91+
[unreleased]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v1.0.0...HEAD
92+
[1.0.0]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.1.4...v1.0.0
93+
[0.1.4]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.1.3...v0.1.4
94+
[0.1.3]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.1.2...v0.1.3
95+
[0.1.2]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.1.1...v0.1.2
96+
[0.1.1]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.0.21...v0.1.1
97+
[0.0.21]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.0.20...v0.0.21
98+
[0.0.20]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.0.11...v0.0.20
99+
[0.0.11]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.0.10...v0.0.11
100+
[0.0.10]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.0.9...v0.0.10
101+
[0.0.9]: https://github.com/LukBukkit/chartist-plugin-tooltip/compare/v0.0.8...v0.0.9
102+
[0.0.8]: https://github.com/LukBukkit/chartist-plugin-tooltip/releases/tag/v0.0.8

0 commit comments

Comments
 (0)