|
@@ -8,7 +8,7 @@ import { getFeatures, setFeatures } from "./config";
|
|
import { featInfo, fetchLyricsUrlTop, getLyricsCacheEntry, sanitizeArtists, sanitizeSong } from "./features";
|
|
import { featInfo, fetchLyricsUrlTop, getLyricsCacheEntry, sanitizeArtists, sanitizeSong } from "./features";
|
|
import { allSiteEvents, type SiteEventsMap } from "./siteEvents";
|
|
import { allSiteEvents, type SiteEventsMap } from "./siteEvents";
|
|
import { LogLevel, type FeatureConfig, type FeatureInfo, type LyricsCacheEntry, type PluginDef, type PluginInfo, type PluginRegisterResult, type PluginDefResolvable, type PluginEventMap, type PluginItem, type BytmObject } from "./types";
|
|
import { LogLevel, type FeatureConfig, type FeatureInfo, type LyricsCacheEntry, type PluginDef, type PluginInfo, type PluginRegisterResult, type PluginDefResolvable, type PluginEventMap, type PluginItem, type BytmObject } from "./types";
|
|
-import { BytmDialog, createCircularBtn, createHotkeyInput, createToggleInput, showIconToast, showToast } from "./components";
|
|
|
|
|
|
+import { BytmDialog, createCircularBtn, createHotkeyInput, createRipple, createToggleInput, showIconToast, showToast } from "./components";
|
|
|
|
|
|
const { getUnsafeWindow, randomId } = UserUtils;
|
|
const { getUnsafeWindow, randomId } = UserUtils;
|
|
|
|
|
|
@@ -134,6 +134,7 @@ const globalFuncs = {
|
|
// TODO: document
|
|
// TODO: document
|
|
showToast,
|
|
showToast,
|
|
showIconToast,
|
|
showIconToast,
|
|
|
|
+ createRipple,
|
|
};
|
|
};
|
|
|
|
|
|
/** Initializes the BYTM interface */
|
|
/** Initializes the BYTM interface */
|