diff --git a/code/lib/manager-api/src/index.tsx b/code/lib/manager-api/src/index.tsx index 04e4251f91ff..34a1e65b8c92 100644 --- a/code/lib/manager-api/src/index.tsx +++ b/code/lib/manager-api/src/index.tsx @@ -64,7 +64,8 @@ import * as url from './modules/url'; import * as version from './modules/versions'; // eslint-disable-next-line import/no-cycle import * as globals from './modules/globals'; -import { eventToShortcut, shortcutMatchesShortcut, shortcutToHumanString } from './lib/shortcut'; + +export * from './lib/shortcut'; const { ActiveTabs } = layout; @@ -482,8 +483,6 @@ export function useArgTypes(): API_ArgTypes { return (current?.type === 'story' && current.argTypes) || {}; } -export { eventToShortcut, shortcutToHumanString, shortcutMatchesShortcut }; - export { addons } from './lib/addons'; /* deprecated */ diff --git a/code/ui/manager/src/globals/exports.ts b/code/ui/manager/src/globals/exports.ts index 92c4a0c4820c..09bff3b7d151 100644 --- a/code/ui/manager/src/globals/exports.ts +++ b/code/ui/manager/src/globals/exports.ts @@ -202,9 +202,16 @@ export default { 'Provider', 'addons', 'combineParameters', + 'controlOrMetaKey', + 'controlOrMetaSymbol', + 'eventMatchesShortcut', 'eventToShortcut', + 'isMacLike', + 'isShortcutTaken', + 'keyToSymbol', 'merge', 'mockChannel', + 'optionOrAltSymbol', 'shortcutMatchesShortcut', 'shortcutToHumanString', 'types',