All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.5.3 (2021-05-13)
- web: upgrade use-elapsed-time to 2.1.8 (9eb0166)
2.5.2 (2021-04-28)
2.5.1 (2021-03-25)
- mobile: react-native ignore pattern in tests (16cf3cc)
2.5.0 (2021-02-15)
- change from or to null operator and other fixes suggested in PR. (2e79ed3)
- the issue of stroke overflowing when trailStrokeWidth is different from strokeWidth (b3d3aab)
- Add inner and outer stroke width prop to timer. (bdc35a7)
- add snapshots for trailStrokeWidth for web also (ce12b54)
- add test for trailStrokeWidth mobile (67542b1)
2.4.0 (2021-01-15)
- web: put the browser list to the correct file (2e4d510)
- web: add browser list to package.json (a88c8c8)
2.3.12 (2021-01-14)
- web: support for IE11 (201f996)
2.3.11 (2021-01-10)
Note: Version bump only for package countdown-circle-timer-monorepo
2.3.10 (2020-10-11)
2.3.9 (2020-09-06)
2.3.8 (2020-08-29)
- mobile: add correct dependencies in hooks (9d77921)
- minutes formatting in recipes on Readme page (acab4c8)
- add eslint plugin:react-hooks (288320f)
Note: Configure Github action to release using Lerna. No changes on component code.
Note: Configure Github action to release using Lerna. No changes on component code.
Note: Configure Github action to release using Lerna. No changes on component code.
Note: Configure Github action to release using Lerna. No changes on component code.
2.3.3 (2020-07-21)
Note: An attempt to configure Lerna to create Github releases. No changes on component code.
2.3.2 (2020-07-21)
Note: An attempt to configure Lerna to create Github releases. No changes on component code.
2.3.1 (2020-07-21)
Note: An attempt to configure Lerna to create Github releases. No changes on component code.
- web, mobile: allow passing string as a single color to colors prop (f5ba08c)
Implemented enhancements:
- Make the repo monorepo handled by Lerna
- Breaking changes:
- Remove the old
startAt
prop. The recommended prop to use isinitialRemainingTime
instead. - Remove
margin
styles from the wrapper and all svg styles durationSeconds
is renamed to justduration
. The duration is still in secondsrenderTime
prop is now deprecated. Reactchildren
should be used instead. Thechildren
prop accepts a render function or a component whereremainingTime
andelapsedTime
are passed as props.renderAriaTime
prop will receive as an argument an object with theremainingTime
andelapsedTime
- Remove the old
Implemented enhancements:
- Refactor internal logic to prep the code for monorepo
- Remove
path.getTotalLength()
dependency and add logic to calculate the path length - Improve test coverage
- Add Prettier
Bug fixes:
- Fix an issue in Firefox where the progress bar does not get to 0
Implemented enhancements:
- Add GitHub workflow to report test coverage and build status
- Add a new badge for weekly downloads
Implemented enhancements:
- Replace
startAt
withinitialRemainingTime
. UsingstartAt
in the context of countdown is confusing startAt
can be used until the next major release for backward compatibilityinitialRemainingTime
sets the initial remaining time when the countdown starts
Implemented enhancements:
- Add TypeScript type definitions
Implemented enhancements:
- Add test coverage
Implemented enhancements:
- Add
a11y
support by exposing two additional propsariaLabel
andrenderAriaTime
Implemented enhancements:
- Replace custom hook that handles animation loop with useElapsedTime
- Add Changelog file