Skip to content

Commit

Permalink
chore(release): 1.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# @weave-design/dropdown-v1.0.0 (2023-02-25)

### BREAKING

* **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))
* allow className to be passed down in Dropdown ([faedcce](faedcce))
* **behavior:** add missing keyboard interactions ([efb1ad9](efb1ad9))
* **behavior:** allow falsy controlled values ([afa7ffe](afa7ffe))
* **behavior:** change menu toggle to activate on click ([25de807](25de807))
* **behavior:** change TestField type to button to prevent text selection ([1e3de1a](1e3de1a))
* **behavior:** correct id propagation ([ea1f2d2](ea1f2d2))
* **behavior:** correct multiple selection logic ([3249f5f](3249f5f))
* **bundle:** Fix package bundles ([a1b479d](a1b479d))
* **bundle:** include dependency CSS ([f5a4a62](f5a4a62))
* change functions enzyme ([99b2ff5](99b2ff5))
* combined greenkeeper prs for version updates see pr 1392 ([d0a017a](d0a017a))
* correct set Downshift menu ref ([c4d15c3](c4d15c3))
* Correct variable names for downshift onchange event ([99ee455](99ee455))
* cursor should be pointer and not text ([0751d13](0751d13))
* defaultValue when multiple is selected ([3eec268](3eec268))
* dropdown design tweaks ([f16bd20](f16bd20))
* **dropdown:** remove alpha so it can release and use new icons ([1f508ba](1f508ba))
* Forcing semantic release by editing readmes ([d39b61f](d39b61f))
* long options should not run into the caret ([34471fa](34471fa))
* match menu open caret to designs ([aba3bf9](aba3bf9))
* **package:** update [@hig](https://github.com/hig)/icons to version 2.0.0 ([1ff94ab](1ff94ab))
* **package:** update [@hig](https://github.com/hig)/text-field to version 0.5.0 ([2cc44b3](2cc44b3))
* **presentation:** correct logic determining single select options ([cafaac1](cafaac1))
* prevent setting invalid props ([2502b3f](2502b3f))
* remove leftover icon css dependencies ([2af5d0b](2af5d0b))
* remove leftover text-field code ([bcce416](bcce416))
* remove unused styles dependency ([708554b](708554b))
* show checked selected option when options is an array of objects ([70828a4](70828a4))
* stop using deprecated theme-data roles ([f49febe](f49febe))
* **storybook:** Add back Icon stories ([f38f2d4](f38f2d4))
* **style:** import dependency CSS ([791f304](791f304))
* **style:** upgrade dependencies to correct box model ([eb4f1ec](eb4f1ec))
* Suppress ref check error to account for new ref validation in Downshift 2.0.20 ([12cfc18](12cfc18))
* tabindex should go to input ([02f9f1b](02f9f1b))
* theme-context and theme-data as peer dependencies ([832fe94](832fe94))
* update caret icon padding ([f7ca4a0](f7ca4a0))
* update Dropdown to the newest Icons version ([3a446de](3a446de))
* update icon sets ([9281451](9281451))
* upgrade dependencies to recieve fixes ([b96e706](b96e706))

### Code Refactoring

* Major Release - React 17 Upgrade ([2523711](2523711))

### Features

*  match the latest designs ([5cbfa0e](5cbfa0e))
* **a11y:** upgrade Downshift to apply Aria attributes to the option menu ([9bd971e](9bd971e))
* Add Dropdown.renderOption and Option.render for optionally rendering dropdown options with custom behavior ([ade7b24](ade7b24))
* add error prop for Dropdown ([6d86709](6d86709))
* Add optional text entry to Dropdown ([5c0f334](5c0f334))
* add searchable and onInputChange props ([317286a](317286a))
* add stylesheet prop ([1edf4ed](1edf4ed))
* add support for any option type ([e730c74](e730c74))
* allow for disabled options ([64ae4ca](64ae4ca))
* **behavior:** add `formatOption` prop ([19ba202](19ba202))
* **behavior:** add multiple selection support to Dropdown component ([a3195b7](a3195b7))
* **behavior:** add support to be used as a controlled component ([5e02989](5e02989))
* **dropdown:** Add caret icon to dropdown ([0d0c7a1](0d0c7a1))
* **dropdown:** Add Dropdown placeholders ([7e69d52](7e69d52))
* **dropdown:** Allow overriding id attribute ([1646118](1646118))
* **dropdown:** Begin extracting style tokens that influence each other ([d21a621](d21a621))
* **dropdown:** Begin porting DropdownOption ([bcb1339](bcb1339))
* **dropdown:** Connect onChange handler ([d958d3f](d958d3f))
* **dropdown:** Depend on Downshift ([a274452](a274452))
* **dropdown:** Document prop-types and begin wiring label/input ([cfaae21](cfaae21))
* **dropdown:** Forward remaining text-field props ([9929868](9929868))
* **dropdown:** Initial Dropdown commit ([06263da](06263da))
* **dropdown:** make dropdown menu themable ([b1da361](b1da361))
* **dropdown:** Position dropdown menu absolutely ([1ece4e2](1ece4e2))
* **dropdown:** Render dropdown options and connect event handlers ([7c8fdff](7c8fdff))
* **dropdown:** replace dropdown text field with input ([5d527fb](5d527fb))
* **dropdown:** tweak styles ([7d0410f](7d0410f))
* Initialize remaining components to be migrated into packages ([3b654ce](3b654ce))
* **text-field:** Theme Dropdown options to indicate keyboard interactions ([12ffc04](12ffc04))
* update to Downshift 6.0.0 ([9157a4a](9157a4a))
* updating peer dependencies release ([0a8a2b6](0a8a2b6))
* use latest theme-data ([815e718](815e718))

### Performance Improvements

* convert menu toggling to use CSS display property ([df822ae](df822ae))

### 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.
* **dropdown:** * CSS class names have been dropped.
* The label and instructions props are deprecated.
* @hig/input replaces the input element.
* **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
hig-bot committed Feb 25, 2023
1 parent 74c5a75 commit 84059b0
Showing 1 changed file with 127 additions and 0 deletions.
127 changes: 127 additions & 0 deletions packages/dropdown/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,130 @@
# @weave-design/dropdown-v1.0.0 (2023-02-25)


### BREAKING

* **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](https://github.com/Autodesk/hig/commit/49d78f4))


### Bug Fixes

* react v. in peerDependencies instead of dependencies ([4701332](https://github.com/Autodesk/hig/commit/4701332))
* allow className to be passed down in Dropdown ([faedcce](https://github.com/Autodesk/hig/commit/faedcce))
* **behavior:** add missing keyboard interactions ([efb1ad9](https://github.com/Autodesk/hig/commit/efb1ad9))
* **behavior:** allow falsy controlled values ([afa7ffe](https://github.com/Autodesk/hig/commit/afa7ffe))
* **behavior:** change menu toggle to activate on click ([25de807](https://github.com/Autodesk/hig/commit/25de807))
* **behavior:** change TestField type to button to prevent text selection ([1e3de1a](https://github.com/Autodesk/hig/commit/1e3de1a))
* **behavior:** correct id propagation ([ea1f2d2](https://github.com/Autodesk/hig/commit/ea1f2d2))
* **behavior:** correct multiple selection logic ([3249f5f](https://github.com/Autodesk/hig/commit/3249f5f))
* **bundle:** Fix package bundles ([a1b479d](https://github.com/Autodesk/hig/commit/a1b479d))
* **bundle:** include dependency CSS ([f5a4a62](https://github.com/Autodesk/hig/commit/f5a4a62))
* change functions enzyme ([99b2ff5](https://github.com/Autodesk/hig/commit/99b2ff5))
* combined greenkeeper prs for version updates see pr 1392 ([d0a017a](https://github.com/Autodesk/hig/commit/d0a017a))
* correct set Downshift menu ref ([c4d15c3](https://github.com/Autodesk/hig/commit/c4d15c3))
* Correct variable names for downshift onchange event ([99ee455](https://github.com/Autodesk/hig/commit/99ee455))
* cursor should be pointer and not text ([0751d13](https://github.com/Autodesk/hig/commit/0751d13))
* defaultValue when multiple is selected ([3eec268](https://github.com/Autodesk/hig/commit/3eec268))
* dropdown design tweaks ([f16bd20](https://github.com/Autodesk/hig/commit/f16bd20))
* **dropdown:** remove alpha so it can release and use new icons ([1f508ba](https://github.com/Autodesk/hig/commit/1f508ba))
* Forcing semantic release by editing readmes ([d39b61f](https://github.com/Autodesk/hig/commit/d39b61f))
* long options should not run into the caret ([34471fa](https://github.com/Autodesk/hig/commit/34471fa))
* match menu open caret to designs ([aba3bf9](https://github.com/Autodesk/hig/commit/aba3bf9))
* **package:** update [@hig](https://github.com/hig)/icons to version 2.0.0 ([1ff94ab](https://github.com/Autodesk/hig/commit/1ff94ab))
* **package:** update [@hig](https://github.com/hig)/text-field to version 0.5.0 ([2cc44b3](https://github.com/Autodesk/hig/commit/2cc44b3))
* **presentation:** correct logic determining single select options ([cafaac1](https://github.com/Autodesk/hig/commit/cafaac1))
* prevent setting invalid props ([2502b3f](https://github.com/Autodesk/hig/commit/2502b3f))
* remove leftover icon css dependencies ([2af5d0b](https://github.com/Autodesk/hig/commit/2af5d0b))
* remove leftover text-field code ([bcce416](https://github.com/Autodesk/hig/commit/bcce416))
* remove unused styles dependency ([708554b](https://github.com/Autodesk/hig/commit/708554b))
* show checked selected option when options is an array of objects ([70828a4](https://github.com/Autodesk/hig/commit/70828a4))
* stop using deprecated theme-data roles ([f49febe](https://github.com/Autodesk/hig/commit/f49febe))
* **storybook:** Add back Icon stories ([f38f2d4](https://github.com/Autodesk/hig/commit/f38f2d4))
* **style:** import dependency CSS ([791f304](https://github.com/Autodesk/hig/commit/791f304))
* **style:** upgrade dependencies to correct box model ([eb4f1ec](https://github.com/Autodesk/hig/commit/eb4f1ec))
* Suppress ref check error to account for new ref validation in Downshift 2.0.20 ([12cfc18](https://github.com/Autodesk/hig/commit/12cfc18))
* tabindex should go to input ([02f9f1b](https://github.com/Autodesk/hig/commit/02f9f1b))
* theme-context and theme-data as peer dependencies ([832fe94](https://github.com/Autodesk/hig/commit/832fe94))
* update caret icon padding ([f7ca4a0](https://github.com/Autodesk/hig/commit/f7ca4a0))
* update Dropdown to the newest Icons version ([3a446de](https://github.com/Autodesk/hig/commit/3a446de))
* update icon sets ([9281451](https://github.com/Autodesk/hig/commit/9281451))
* upgrade dependencies to recieve fixes ([b96e706](https://github.com/Autodesk/hig/commit/b96e706))


### Code Refactoring

* Major Release - React 17 Upgrade ([2523711](https://github.com/Autodesk/hig/commit/2523711))


### Features

* match the latest designs ([5cbfa0e](https://github.com/Autodesk/hig/commit/5cbfa0e))
* **a11y:** upgrade Downshift to apply Aria attributes to the option menu ([9bd971e](https://github.com/Autodesk/hig/commit/9bd971e))
* Add Dropdown.renderOption and Option.render for optionally rendering dropdown options with custom behavior ([ade7b24](https://github.com/Autodesk/hig/commit/ade7b24))
* add error prop for Dropdown ([6d86709](https://github.com/Autodesk/hig/commit/6d86709))
* Add optional text entry to Dropdown ([5c0f334](https://github.com/Autodesk/hig/commit/5c0f334))
* add searchable and onInputChange props ([317286a](https://github.com/Autodesk/hig/commit/317286a))
* add stylesheet prop ([1edf4ed](https://github.com/Autodesk/hig/commit/1edf4ed))
* add support for any option type ([e730c74](https://github.com/Autodesk/hig/commit/e730c74))
* allow for disabled options ([64ae4ca](https://github.com/Autodesk/hig/commit/64ae4ca))
* **behavior:** add `formatOption` prop ([19ba202](https://github.com/Autodesk/hig/commit/19ba202))
* **behavior:** add multiple selection support to Dropdown component ([a3195b7](https://github.com/Autodesk/hig/commit/a3195b7))
* **behavior:** add support to be used as a controlled component ([5e02989](https://github.com/Autodesk/hig/commit/5e02989))
* **dropdown:** Add caret icon to dropdown ([0d0c7a1](https://github.com/Autodesk/hig/commit/0d0c7a1))
* **dropdown:** Add Dropdown placeholders ([7e69d52](https://github.com/Autodesk/hig/commit/7e69d52))
* **dropdown:** Allow overriding id attribute ([1646118](https://github.com/Autodesk/hig/commit/1646118))
* **dropdown:** Begin extracting style tokens that influence each other ([d21a621](https://github.com/Autodesk/hig/commit/d21a621))
* **dropdown:** Begin porting DropdownOption ([bcb1339](https://github.com/Autodesk/hig/commit/bcb1339))
* **dropdown:** Connect onChange handler ([d958d3f](https://github.com/Autodesk/hig/commit/d958d3f))
* **dropdown:** Depend on Downshift ([a274452](https://github.com/Autodesk/hig/commit/a274452))
* **dropdown:** Document prop-types and begin wiring label/input ([cfaae21](https://github.com/Autodesk/hig/commit/cfaae21))
* **dropdown:** Forward remaining text-field props ([9929868](https://github.com/Autodesk/hig/commit/9929868))
* **dropdown:** Initial Dropdown commit ([06263da](https://github.com/Autodesk/hig/commit/06263da))
* **dropdown:** make dropdown menu themable ([b1da361](https://github.com/Autodesk/hig/commit/b1da361))
* **dropdown:** Position dropdown menu absolutely ([1ece4e2](https://github.com/Autodesk/hig/commit/1ece4e2))
* **dropdown:** Render dropdown options and connect event handlers ([7c8fdff](https://github.com/Autodesk/hig/commit/7c8fdff))
* **dropdown:** replace dropdown text field with input ([5d527fb](https://github.com/Autodesk/hig/commit/5d527fb))
* **dropdown:** tweak styles ([7d0410f](https://github.com/Autodesk/hig/commit/7d0410f))
* Initialize remaining components to be migrated into packages ([3b654ce](https://github.com/Autodesk/hig/commit/3b654ce))
* **text-field:** Theme Dropdown options to indicate keyboard interactions ([12ffc04](https://github.com/Autodesk/hig/commit/12ffc04))
* update to Downshift 6.0.0 ([9157a4a](https://github.com/Autodesk/hig/commit/9157a4a))
* updating peer dependencies release ([0a8a2b6](https://github.com/Autodesk/hig/commit/0a8a2b6))
* use latest theme-data ([815e718](https://github.com/Autodesk/hig/commit/815e718))


### Performance Improvements

* convert menu toggling to use CSS display property ([df822ae](https://github.com/Autodesk/hig/commit/df822ae))


### Reverts

* "Revert "Revert "feat : Migrate all repository to React v17.0 """ ([bf78986](https://github.com/Autodesk/hig/commit/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.
* **dropdown:** * CSS class names have been dropped.
* The label and instructions props are deprecated.
* @hig/input replaces the input element.
* **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.')}
/>
);
}
```

# [@hig/dropdown-v3.3.0](https://github.com/Autodesk/hig/compare/@hig/[email protected]...@hig/[email protected]) (2022-08-26)


Expand Down

0 comments on commit 84059b0

Please sign in to comment.