Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# @weave-design/checkbox-v1.0.0 (2023-02-25) ### BREAKING * **checkbox:** remove required prop ([1493474](1493474)) * **icon/icon-button:** Removes [@hig](https://github.com/hig)/icon and refactor [@hig](https://github.com/hig)/icon-button to use [@hig](https://github.com/hig)/icons ([49d78f4](49d78f4)) ### Bug Fixes * react v. in peerDependencies instead of dependencies ([4701332](4701332)) * adds icons as a dependency of checkbox ([891607d](891607d)) * **behavior:** remove unnecessary click handler ([539c746](539c746)) * **behavior:** add handler to respond to `change` events ([9c4b14f](9c4b14f)) * **behavior:** bump [@hig](https://github.com/hig)/utils dependents to v0.2.1 ([48b74d0](48b74d0)) * **behavior:** call `onChange` handlers when controlled ([af9c176](af9c176)) * bump up theme-context dependency ([b068dab](b068dab)) * **bundle:** Fix package bundles ([a1b479d](a1b479d)) * **bundle:** include dependency CSS ([f5a4a62](f5a4a62)) * clean up layout of checkbox ([a334220](a334220)) * combined greenkeeper prs for version updates see pr 1392 ([d0a017a](d0a017a)) * Forcing semantic release by editing readmes ([d39b61f](d39b61f)) * generate one ID per component instance instead of upon render ([0fbc554](0fbc554)) * halo transition ([de130ee](de130ee)) * hover/focus halo adjustment ([fd4884d](fd4884d)) * no border for indeterminate focus state ([6fa7506](6fa7506)) * no tooltip in checked state ([635b81e](635b81e)) * **package:** update [@hig](https://github.com/hig)/icons to version 2.0.0 ([b780281](b780281)) * **package:** update [@hig](https://github.com/hig)/theme-context to version 2.0.0 ([b4fc94b](b4fc94b)) * remove unnecessary disabled logic from checked state ([cd43223](cd43223)) * stop using deprecated theme-data roles ([398bec3](398bec3)) * **storybook:** Add back Icon stories ([f38f2d4](f38f2d4)) * theme-context and theme-data as peer dependencies ([dbd2d1e](dbd2d1e)) * update checkbox and sidenav styles for new icons ([d0d661b](d0d661b)) * update icons package ([6df732c](6df732c)) * use proper border color in focus state ([0e4b011](0e4b011)) ### Code Refactoring * Major Release - React 17 Upgrade ([2523711](2523711)) ### Features * add stylesheet and checkboxRef prop, pass down className ([ba71779](ba71779)) * **checkbox:** Add checkbox placeholders ([e8a223a](e8a223a)) * **checkbox:** make checkbox themeable ([4030320](4030320)) * **checkbox:** update disabled checkboxes to use opacity ([f35b916](f35b916)) * Initialize remaining components to be migrated into packages ([3b654ce](3b654ce)) * update background color ([9073811](9073811)) * updating peer dependencies release ([0a8a2b6](0a8a2b6)) ### Reverts * "Revert "Revert "feat : Migrate all repository to React v17.0 """ ([bf78986](bf78986)) ### BREAKING CHANGES * This release includes upgrading to React 17 and all associated libraries. The components have also had structural changes, utilizing stateless components and hooks. There should be no change in look or behavior of components. The code usage is the same so if you’re already on react 17 you can bump the version directly. If you’re on an old version of react you’ll need to upgrade your project’s react first to 17 and then the HIG components. This upgrade also means no more fixes for the react 15 version but it will still be available for download from NPM. You can fork the repo and make fixes with the older version if there is something critical past this release date. * **checkbox:** label and required props are no longer used, previous css classnames have been removed as well * **icon/icon-button:** Removes @hig/icon * **icon/icon-button:** Use icon prop instead of name or svg in @hig/icon-button to render Icon/svg * **icon/icon-button:** No longer export `names` from @hig/icon-button Usage: ``` import { Assets24 } from "@hig/icons" function MyComponent() { return ( <IconButton icon={<Assets24 />} onClick={() => console.log('Clicked it.')} /> ); } ```
- Loading branch information