Skip to content

Commit

Permalink
⬆️ Release @acusti/dropdown v0.29.3
Browse files Browse the repository at this point in the history
changes include:
• upgraded to @acusti/use-is-out-of-bounds v0.7.0, which detects if dropdown body will become out-of-bounds by being rendered in the opposing direction and to consider the direction with the largest in-bound area to not be out-of-bounds and adds props.maxHeight and props.maxWidth representing the available vertical and horizontal space in the in-bound directions where the dropdown body is being rendered
• use the new maxHeight/maxWidth props to make the dropdown body fit the available space
  • Loading branch information
acusti committed Sep 21, 2023
1 parent 6094f4f commit d2c8fbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/dropdown/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@acusti/dropdown",
"version": "0.29.2",
"version": "0.29.3",
"description": "React component that renders a dropdown with a trigger and supports searching, keyboard access, and more",
"keywords": [
"react",
Expand Down Expand Up @@ -52,7 +52,7 @@
"@acusti/input-text": "^1.2.0",
"@acusti/matchmaking": "^0.5.1",
"@acusti/styling": "^0.6.0",
"@acusti/use-is-out-of-bounds": "^0.6.0",
"@acusti/use-is-out-of-bounds": "^0.7.0",
"clsx": "^1.2.1"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ __metadata:
"@acusti/input-text": ^1.2.0
"@acusti/matchmaking": ^0.5.1
"@acusti/styling": ^0.6.0
"@acusti/use-is-out-of-bounds": ^0.6.0
"@acusti/use-is-out-of-bounds": ^0.7.0
"@testing-library/dom": ^9.3.1
"@testing-library/react": ^14.0.0
"@testing-library/user-event": ^14.4.3
Expand Down Expand Up @@ -212,7 +212,7 @@ __metadata:
languageName: unknown
linkType: soft

"@acusti/use-is-out-of-bounds@^0.6.0, @acusti/use-is-out-of-bounds@workspace:packages/use-is-out-of-bounds":
"@acusti/use-is-out-of-bounds@^0.7.0, @acusti/use-is-out-of-bounds@workspace:packages/use-is-out-of-bounds":
version: 0.0.0-use.local
resolution: "@acusti/use-is-out-of-bounds@workspace:packages/use-is-out-of-bounds"
dependencies:
Expand Down

0 comments on commit d2c8fbc

Please sign in to comment.