Skip to content

Releases: atomicpages/pretty-checkbox-react

v3.2.0

24 Jun 16:20
Compare
Choose a tag to compare

Summary

  • Doc site performance
  • Moving to clsx
  • other updates

Commits

  • a7391c3 (HEAD -> master, tag: v3.2.0, origin/master, origin/HEAD) 3.2.0
  • cf85d71 add husky + pre-commit/push hooks
  • 009be5e fix: general updates
  • a36a3b2 Merge pull request #379 from atomicpages/dependabot/add-v2-config-file
  • f2668a0 (origin/dependabot/add-v2-config-file) Upgrade to GitHub-native Dependabot
  • 76503a5 refactor(:rotating_light:)
  • 1e9422e docs(:memo:) update doc site
  • 845a268 docs(:memo:) adding preact usage docs

v3.1.0

24 Nov 17:34
Compare
Choose a tag to compare

Changes

Commits

  • 0aef289 ci(:green_heart:)
  • 043bb10 refactor(:recycle:) webpack@5 for playground
  • 11e0542 docs(:memo:) updating docs
  • f04efb2 ci(:green_heart:) fixing type errors
  • 4b6a8af feat(:bento:) npm@7 and react@17
  • 9cc590b feat(:sparkles:) adding docsearch
  • 1899883 docs(:pencil:) docs

v3.0.3

30 Sep 16:57
Compare
Choose a tag to compare

Improved typings for Switch:

  • Exporting SwitchProps
  • type prop now accepts only checkbox and radio values
import { Switch, SwitchProps } from 'pretty-checkbox-react';

function App() {
    return <Switch type="number" /> // results in ts error
}

v3.0.2

29 Sep 23:04
Compare
Choose a tag to compare
  • 9326927 fix(:bug:) Icons with selectors that contain type as a substring weren't getting cloned. Moving a word boundary search.

Which means this will work now 👍

function App() {
    return <Checkbox icon={<i className="myicon myicon-star" />} />
}

v3.0.1

29 Sep 18:11
Compare
Choose a tag to compare
  • 1c6bbc2 build(👷)
    • Fixing missing type files due to .d.ts
    • Removing tests from dist-src

3.0.0

15 Sep 04:52
Compare
Choose a tag to compare

Pretty Checkbox React 3.0

👋 PCR users I'm happy to announce the 3.0 release of PCR 🎉 . This awesome release includes:

  • a whole new doc website rebuilt from the ground up
  • lots of code cleanup
  • addition of hasFocus (a functional gap missing since PCR 1.x)
  • RTL support
  • major a11y improvements
  • and much more

I want to level with all the users of this project by saying PCR 2.x wasn't really up to snuff in my eyes. I've learned a lot about React, a11y, and other things since then. The main purpose of this rewrite is twofold:

First, and foremost, stability. Projects that change APIs rapidly incite fear in their users and I don't want that. The API for PCR 3.x is here to stay and all efforts will be taken to minimize any possible breaking changes in the future unless absolutely necessary.

Second, simplicity. 2.x code was extreme and excessive. As the author (and currently the sole maintainer) of this project it was hard even for me to make changes 😨 (yikes!) PCR 3.x offers simpler, intuitive approach to internal code sharing in a way that I feel will stand the test of time and will make contributions easier.

Migration Guide

Be sure to check out the migration guides. The process should be smooth and will require very minimal changes 😄

3.0.0-rc.1

15 Sep 04:05
Compare
Choose a tag to compare
3.0.0-rc.1 Pre-release
Pre-release
  • e2f2699 ci(:green_heart:)
  • a65af92 fix(:bug:) fix issue with useIcon
  • f0901fa ci adding coveralls to on_push action
  • e0e4391 chore(:pencil:) new issue templates
  • 3a7a4d5 chore(:pencil:) adding contrib guide
  • 64de516 docs(:pencil:)
  • 92fda37 ci(:green_heart:)
  • 5406435 test(:white_check_mark:)

3.0.0-rc.0

13 Sep 23:09
Compare
Choose a tag to compare
3.0.0-rc.0 Pre-release
Pre-release

No functional changes from 3.0.0-beta.1

3.0.0-beta.1

10 Sep 05:35
Compare
Choose a tag to compare
3.0.0-beta.1 Pre-release
Pre-release
  • 01bc2f5 feat(:wheelchair:) adding correct ARIA attribs
  • f77511b fix(:label:) color prop should be optional

3.0.0 Beta.0

09 Sep 19:45
Compare
Choose a tag to compare
3.0.0 Beta.0 Pre-release
Pre-release
  • e610f54 docs(:pencil:) mo' docs
  • d285de7 fix(:label:) fixing type annotations
  • 0523b81 ci dropping node 10.x
  • ca7a45e docs(:pencil:)
  • 312a3cc ci(:green_heart:) updating snapshot
  • de1d16f feat(:sparkles:) adding hasFocus support
  • 583ee11 bugfix(:bug:) using correct className