Skip to content

Commit

Permalink
Updates for Mint 0.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gdotdesign committed Sep 18, 2023
1 parent d2f9d5d commit 870d4be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mint 0.18.0
mint 0.19.0
4 changes: 2 additions & 2 deletions mint.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mint-ui",
"mint-version": "0.18.0 <= v < 1.0.0",
"mint-version": "0.19.0 <= v < 1.0.0",
"source-directories": [
"source"
],
Expand All @@ -10,7 +10,7 @@
"dependencies": {
"mint-color": {
"repository": "https://github.com/mint-lang/mint-color",
"constraint": "0.8.0 <= v < 1.0.0"
"constraint": "0.9.0 <= v < 1.0.0"
}
}
}
5 changes: 3 additions & 2 deletions source/Picker.mint
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ component Ui.Picker {
status == Ui.Picker.Status::Open) && !mobile
}

use Provider.Keydown {
keydowns: handleKeyDown
use Provider.Keyboard {
ups: (event : Html.Event) { next { } },
downs: handleKeyDown
} when {
status == Ui.Picker.Status::Focused ||
status == Ui.Picker.Status::Open
Expand Down

0 comments on commit 870d4be

Please sign in to comment.