Releases: atomicpages/pretty-checkbox-react
Releases · atomicpages/pretty-checkbox-react
3.0.0-dev.0
0b9f2ca Updating readme and adding new workflows
v2.0.0
Migration Guide
https://github.com/atomicpages/pretty-checkbox-react/wiki/Upgrade-Gude---1.x-to-2.x
- 2.0 GA 3f04fde
- Updating README 544de16
- K, skipping cypress I guess 12a73cb
- Whoops, forgot to install deps for e2e de9b732
- Housekeeping 222e0d2
- Bumping deps b7a928d
- Updating example 1502e98
- Restoring README 726f9f3
- Maybe a fix? 7e226d4
- Adding scripts for CI cypress 1bcc9fb
- Cypress build integration 60967f7
- Cypress changes 0cb6877
- Adding jQuery types for cypress 648eeb3
- Adding basic e2e tests a3121b0
- Fixing pre-push hook ebc40b2
- Fixing bad pre-push hook 7617eab
- My bad, adding missing files 5af8977
- 2.0.0-rc.1 5d38677
- Bumping target for pika upgrade 534d879
- 2.0.0-rc.0 d7a36c9
- 2.0.0 d0bad7e
- 2.0.0 23f700c
- Rolling back to dev version and deleteing circleci 2e424ad
- 2.0.0 32546d6
- 2.0.0 1752dde
- 2.0.0 of 2.0.0 01edbab
- 2.0.0-beta.2 d94ef66
- 2.0.0-beta.2 39a9324
- 2.0.0-beta.1 bc66cc9
- Fixing build (for realz) d992f0b
- Build fixes? f0ebfe2
- 2.0.0-alpha.0 322ba40
- 2.0.0-beta.0 8976990
- 2.0.0-alpha.0 42b0330
- Switching to circleci 4b15df8
- Tweaking build 5bef607
- Simplifying travis 12fae7c
- Fixing ts error in tests 7faae1b
- Squashed commit of the following: 85036f5
- 2.0.0-beta.1 0294b1e
2.0.0-rc.1
📢 PCR 2.0.0 RC.1 Available Now
A few small changes went into the last RC -- mainly supporting uncontrolled inputs. Highlights:
- Passing
ref
all the way down to the input control - Fixing type issues with
Checkbox
,Radio
, andSwitch
Commits
- Fixing pre-push hook ebc40b2
- Fixing bad pre-push hook 7617eab
- My bad, adding missing files 5af8977
- 2.0.0-rc.1 5d38677
- Bumping target for pika upgrade 534d879
- 2.0.0-rc.0 d7a36c9
- 2.0.0 d0bad7e
- 2.0.0 23f700c
- Rolling back to dev version and deleteing circleci 2e424ad
- 2.0.0 32546d6
- 2.0.0 1752dde
- 2.0.0 of 2.0.0 01edbab
2.0.0-rc.0
📢 PCR 2.0 RC 0 available
After a couple of attempts I think the API is now stable. Here's what changed:
- Moved fully to TS
- Moved away from a conventional rollup build and now using pika
- Better integration with webpack, rollup, etc
- Flow types + TS Types
- and more...
- Improved accessibility (heavily inspired by reakit)
- Slimmed down codebase
- Intuitive component names
- Better debugging experience using react dev tools
- Addition of a generic
Group
andRadioGroup
component for easier integration of grouped components into Formik, react-accessible-form, etc. - and more...
v2.0.0-beta.2
2.0.0-beta.1
Pre-release of PCR 2.0
Install
npm i pretty-checkbox-react@next
This beta contains multiple breaking changes from the 1.x code line. Details below...
Changed
- Consumer provided
onChange
does not honor a return value. The defaultonChange
is called or you control it completely.
Removed
- All default exports, all imports are named
style
prop has been removed
Added
- Adding new state hooks:
useCheckboxState
useRadioState
useSwitchState
Dev Internal
- Moved
__handleCheckboxChange
touseCheckboxChange
hook (not exported) - Moved to typescript for better typing support
- Adding new internal hooks for shared behavior
Usage
Docs are still in progress. See the playground/
for examples.
1.1.0
- Forward
ref
to underlinginput
components - Launching new doc website
1.0.7
- Bumping versions
- Moving to new react-testing-lib package
- Fixing security issue
1.0.6
1.0.5
- Fixing missing className prop from Checkbox
- Updating snapshot tests
- Minor test enhancements to support bug fix
- Simplified API when using Checkbox without a label
// example usage
<Checkbox />