@histoire/app
Advanced tools
Comparing version 0.17.4 to 0.17.5
{ | ||
"name": "@histoire/app", | ||
"version": "0.17.4", | ||
"version": "0.17.5", | ||
"description": "Pre-bundled UI for Histoire", | ||
@@ -31,3 +31,3 @@ "license": "MIT", | ||
"@histoire/controls": "^0.17.4", | ||
"@histoire/shared": "^0.17.4", | ||
"@histoire/shared": "^0.17.5", | ||
"@histoire/vendors": "^0.17.4" | ||
@@ -34,0 +34,0 @@ }, |
import { isMac } from './env.js' | ||
import { formatKey } from './keyboard.js' | ||
export function makeTooltip (descriptionHtml: string, keyboardShortcut: ({ isMac: boolean }) => string) { | ||
export function makeTooltip (descriptionHtml: string, keyboardShortcut: (options: { isMac: boolean }) => string) { | ||
return { | ||
@@ -6,0 +6,0 @@ content: `<div>${descriptionHtml}</div><div class="htw-flex htw-items-center htw-gap-1 htw-mt-2 htw-text-sm">${genKeyboardShortcutHtml(keyboardShortcut({ isMac }))}</div>`, |
Sorry, the diff of this file is not supported yet
551003
Updated@histoire/shared@^0.17.5