Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport/5.2.0 #396

Merged
merged 2 commits into from
Dec 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# [5.2.0](https://github.com/iCHEF/gypcrete/compare/v5.1.0...v5.2.0) (2022-11-04)


### Bug Fixes

* dont compute maxHeight of popover on horizontal placement ([581fc6c](https://github.com/iCHEF/gypcrete/commit/581fc6cfc7ca5f6b1bc4b170556e26d8839a4afc))
* offset is different from client rect ([15709f4](https://github.com/iCHEF/gypcrete/commit/15709f480ae05efd2f02c7a365709abb82b04f12))
* omit defaultPlacement ([25447fd](https://github.com/iCHEF/gypcrete/commit/25447fd118f9ddc3a1313bac13b4f65ff57851c8))
* should not consider another side arrow position ([c8350f1](https://github.com/iCHEF/gypcrete/commit/c8350f127bf6c2b50b00da8a2893ab467cca1515))


### Features

* add left placement strategies ([04cdd75](https://github.com/iCHEF/gypcrete/commit/04cdd75e953d30d1dfff609bf2d8af80c4aa8292))
* add right / left placement style ([0c70168](https://github.com/iCHEF/gypcrete/commit/0c70168355567b0f5638ce5d6dd9f63fd6429ebb))
* add right placement strategy ([80a851f](https://github.com/iCHEF/gypcrete/commit/80a851f4276a45ea9663438127a07a4a368a6763))
* add top and bottom placement strategy ([deadab0](https://github.com/iCHEF/gypcrete/commit/deadab04f3cec936a5c3c410d368370a0eef31d0))
* make arrowPosition consider top and left ([0998cce](https://github.com/iCHEF/gypcrete/commit/0998cce139064b63aba15821788c7cb336da12bb))
* make defaultPlacement changeable for anchored component ([5e84517](https://github.com/iCHEF/gypcrete/commit/5e84517c7c77c84866013930289f06ceef63c8b7))
* move getPosition logic into placement strategy ([51f4d62](https://github.com/iCHEF/gypcrete/commit/51f4d623c5a78377f196953f9d5d2eed409adbf9))
* simplify logic ([ff78d60](https://github.com/iCHEF/gypcrete/commit/ff78d60cfda3693898d22e4ecb9a578ea3158ce8))



# [5.1.0](https://github.com/iCHEF/gypcrete/compare/v5.0.1...v5.1.0) (2022-10-21)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": [
"packages/*"
],
"version": "5.1.0",
"version": "5.2.0",
"npmClient": "yarn",
"command": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ichef/gypcrete-build",
"version": "5.1.0",
"version": "5.2.0",
"description": "iCHEF web components library, built with React.",
"private": true,
"homepage": "https://ichef.github.io/gypcrete",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ichef/gypcrete",
"version": "5.1.0",
"version": "5.2.0",
"description": "iCHEF web components library, built with React.",
"homepage": "https://ichef.github.io/gypcrete",
"repository": "https://github.com/iCHEF/gypcrete/tree/master/packages/core",
Expand Down
4 changes: 2 additions & 2 deletions packages/form/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ichef/gypcrete-form",
"version": "5.1.0",
"version": "5.2.0",
"description": "Form components built on Gypcrete",
"homepage": "https://ichef.github.io/gypcrete",
"repository": "https://github.com/iCHEF/gypcrete/tree/master/packages/form",
Expand Down Expand Up @@ -35,7 +35,7 @@
"react": "^16.6.0"
},
"dependencies": {
"@ichef/gypcrete": "^5.1.0",
"@ichef/gypcrete": "^5.2.0",
"classnames": "^2.2.5",
"immutable": "^3.8.2",
"keycode": "^2.1.9",
Expand Down
4 changes: 2 additions & 2 deletions packages/imageeditor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ichef/gypcrete-imageeditor",
"version": "5.1.0",
"version": "5.2.0",
"description": "Image cropper built with Gypcrete",
"homepage": "https://ichef.github.io/gypcrete",
"repository": "https://github.com/iCHEF/gypcrete/tree/master/packages/imageeditor",
Expand Down Expand Up @@ -35,7 +35,7 @@
"react": "^16.6.0"
},
"dependencies": {
"@ichef/gypcrete": "^5.1.0",
"@ichef/gypcrete": "^5.2.0",
"classnames": "^2.2.5",
"react-avatar-editor": "^11.0.2",
"warning": "^4.0.3"
Expand Down
8 changes: 4 additions & 4 deletions packages/storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ichef/gypcrete-storybook",
"version": "5.1.0",
"version": "5.2.0",
"description": "React Storybook for Gypcrete",
"private": true,
"repository": "iCHEF/gypcrete",
Expand All @@ -20,9 +20,9 @@
"ghpages": "npm run clean && npm run build:storybook"
},
"dependencies": {
"@ichef/gypcrete": "^5.1.0",
"@ichef/gypcrete-form": "^5.1.0",
"@ichef/gypcrete-imageeditor": "^5.1.0",
"@ichef/gypcrete": "^5.2.0",
"@ichef/gypcrete-form": "^5.2.0",
"@ichef/gypcrete-imageeditor": "^5.2.0",
"@storybook/addon-actions": "^5.3.2",
"@storybook/addon-docs": "^5.3.2",
"@storybook/addon-info": "^5.3.2",
Expand Down