From 96875b120c3af903e2223cbcc5dc6e7d7c8fdcfb Mon Sep 17 00:00:00 2001 From: Torsten Schmits Date: Sat, 7 Oct 2023 00:38:26 +0200 Subject: [PATCH] some Menu exports --- packages/menu/lib/Ribosome/Menu.hs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/menu/lib/Ribosome/Menu.hs b/packages/menu/lib/Ribosome/Menu.hs index ed0de5b..5c72a28 100644 --- a/packages/menu/lib/Ribosome/Menu.hs +++ b/packages/menu/lib/Ribosome/Menu.hs @@ -56,11 +56,11 @@ import Ribosome.Menu.App ( promptControl, withInsert, ) -import Ribosome.Menu.Data.Entry (Entries, Entry) +import Ribosome.Menu.Data.Entry (Entries, Entry (..)) import Ribosome.Menu.Data.Filter import Ribosome.Menu.Data.MenuAction import Ribosome.Menu.Data.MenuEvent (MenuEvent (..), QueryEvent (..)) -import Ribosome.Menu.Data.MenuItem (Items, MenuItem (MenuItem), simpleMenuItem) +import Ribosome.Menu.Data.MenuItem (Items, MenuItem (..), simpleMenuItem) import Ribosome.Menu.Data.MenuQuery import Ribosome.Menu.Data.MenuResult (MenuResult (..)) import Ribosome.Menu.Data.State (Core, Modal, ModalState, Primary, modal) @@ -127,7 +127,9 @@ import Ribosome.Menu.ItemLens ( ) import Ribosome.Menu.Items ( deleteSelected, + modifyFocus, traverseSelection_, + updateEntry, withFocus, withFocus', withFocusItem, @@ -149,6 +151,6 @@ import Ribosome.Menu.Loop ( withUi, withUi', ) -import Ribosome.Menu.Prompt.Data.Prompt (Prompt (Prompt), PromptModes (..), PromptText (PromptText)) +import Ribosome.Menu.Prompt.Data.Prompt (Prompt (..), PromptModes (..), PromptState (..), PromptText (..)) import Ribosome.Menu.Prompt.Data.PromptMode (PromptMode (..)) import Ribosome.Menu.Scratch (ensureSize, menuScratch, menuScratchSized)