@applemusic-like-lyrics/react-full 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/dist/amll-react-framework.cjs +0 -2
- package/dist/amll-react-framework.cjs.map +1 -1
- package/dist/amll-react-framework.d.cts +1 -2
- package/dist/amll-react-framework.d.mts +1 -2
- package/dist/amll-react-framework.mjs +1 -3
- package/dist/amll-react-framework.mjs.map +1 -1
- package/package.json +87 -76
|
@@ -7,7 +7,7 @@ import { Squircle } from "corner-smoothing";
|
|
|
7
7
|
import { BackgroundRender, LyricPlayer, MeshGradientRenderer, PixiRenderer } from "@applemusic-like-lyrics/react";
|
|
8
8
|
import structuredClone from "@ungap/structured-clone";
|
|
9
9
|
import { atom, useAtom, useAtomValue, useSetAtom } from "jotai";
|
|
10
|
-
import { DomLyricPlayer,
|
|
10
|
+
import { DomLyricPlayer, MeshGradientRenderer as MeshGradientRenderer$1, PixiRenderer as PixiRenderer$1 } from "@applemusic-like-lyrics/core";
|
|
11
11
|
import { atomWithStorage } from "jotai/utils";
|
|
12
12
|
//#region src/components/AudioFFTVisualizer/index.tsx
|
|
13
13
|
globalThis.jotaiAtomCache = globalThis.jotaiAtomCache || {
|
|
@@ -2514,7 +2514,6 @@ let VerticalCoverLayout = /* @__PURE__ */ function(VerticalCoverLayout) {
|
|
|
2514
2514
|
*/
|
|
2515
2515
|
let LyricPlayerImplementation = /* @__PURE__ */ function(LyricPlayerImplementation) {
|
|
2516
2516
|
LyricPlayerImplementation["Dom"] = "dom";
|
|
2517
|
-
LyricPlayerImplementation["DomSlim"] = "dom-slim";
|
|
2518
2517
|
return LyricPlayerImplementation;
|
|
2519
2518
|
}({});
|
|
2520
2519
|
/**
|
|
@@ -2532,7 +2531,6 @@ let LyricSizePreset = /* @__PURE__ */ function(LyricSizePreset) {
|
|
|
2532
2531
|
}({});
|
|
2533
2532
|
const getInitialPlayerImplementation = () => {
|
|
2534
2533
|
switch (localStorage.getItem("amll-react-full.lyricPlayerImplementation")) {
|
|
2535
|
-
case "dom-slim": return { lyricPlayer: DomSlimLyricPlayer };
|
|
2536
2534
|
default: return { lyricPlayer: DomLyricPlayer };
|
|
2537
2535
|
}
|
|
2538
2536
|
};
|