@applemusic-like-lyrics/react-full 0.3.1 → 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/dist/style.css CHANGED
@@ -39,7 +39,7 @@
39
39
  &:before {
40
40
  content: "";
41
41
  opacity: .2;
42
- border-image-source: url("audio_quality_tag.svg");
42
+ border-image-source: url("data:image/svg+xml,%3Csvg%20width%3D%2236%22%20height%3D%2236%22%20viewBox%3D%220%200%2036%2036%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpath%0A%20%20%20%20%20%20%20%20d%3D%22M19.5%200C25.573%200%2028.6095%200%2030.8862%201.27504C32.4953%202.17617%2033.8238%203.50471%2034.725%205.11379C36%207.39054%2036%2010.427%2036%2016.5V19.5C36%2025.573%2036%2028.6095%2034.725%2030.8862C33.8238%2032.4953%2032.4953%2033.8238%2030.8862%2034.725C28.6095%2036%2025.573%2036%2019.5%2036H16.5C10.427%2036%207.39054%2036%205.11379%2034.725C3.50471%2033.8238%202.17617%2032.4953%201.27504%2030.8862C0%2028.6095%200%2025.573%200%2019.5L0%2016.5C0%2010.427%200%207.39054%201.27504%205.11379C2.17617%203.50471%203.50471%202.17617%205.11379%201.27504C7.39054%200%2010.427%200%2016.5%200L19.5%200Z%22%0A%20%20%20%20%20%20%20%20fill%3D%22white%22%20%2F%3E%0A%3C%2Fsvg%3E");
43
43
  border-image-slice: 15 fill;
44
44
  border-image-width: 8.5px;
45
45
  width: 100%;
package/package.json CHANGED
@@ -1,77 +1,88 @@
1
1
  {
2
- "name": "@applemusic-like-lyrics/react-full",
3
- "version": "0.3.1",
4
- "description": "AMLL 组件库的 React 绑定,但是更加完备且高度灵活",
5
- "repository": {
6
- "url": "https://github.com/amll-dev/applemusic-like-lyrics.git",
7
- "directory": "packages/react-full",
8
- "type": "git"
9
- },
10
- "license": "GPL-3.0",
11
- "type": "module",
12
- "main": "./dist/amll-react-framework.cjs",
13
- "module": "./dist/amll-react-framework.mjs",
14
- "typings": "./dist/amll-react-framework.d.mts",
15
- "style": "./dist/style.css",
16
- "exports": {
17
- ".": {
18
- "import": {
19
- "types": "./dist/amll-react-framework.d.mts",
20
- "default": "./dist/amll-react-framework.mjs"
21
- },
22
- "require": {
23
- "types": "./dist/amll-react-framework.d.cts",
24
- "default": "./dist/amll-react-framework.cjs"
25
- }
26
- },
27
- "./style.css": {
28
- "import": "./dist/style.css",
29
- "require": "./dist/style.css"
30
- }
31
- },
32
- "sideEffects": [
33
- "*.css"
34
- ],
35
- "files": [
36
- "dist"
37
- ],
38
- "scripts": {
39
- "build:docs": "typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts",
40
- "typecheck": "tsgo -b",
41
- "build-only": "tsdown",
42
- "build": "run-p typecheck \"build-only {@}\" --",
43
- "build:dev": "tsdown",
44
- "fmt": "biome format --write ./src",
45
- "dev": "nx run @applemusic-like-lyrics/playground-react-full:dev"
46
- },
47
- "dependencies": {
48
- "@applemusic-like-lyrics/core": "^0.4.0",
49
- "@applemusic-like-lyrics/react": "^0.4.0",
50
- "@ungap/structured-clone": "^1.3.0",
51
- "classnames": "^2.5.1",
52
- "corner-smoothing": "^0.1.5",
53
- "framer-motion": "^12.38.0",
54
- "react-toastify": "^11.0.5"
55
- },
56
- "peerDependencies": {
57
- "jotai": "^2",
58
- "react": "^19",
59
- "react-dom": "^19"
60
- },
61
- "devDependencies": {
62
- "@biomejs/biome": "^2.4.8",
63
- "@rolldown/plugin-babel": "^0.2.2",
64
- "@svgr/core": "^8.1.0",
65
- "@svgr/plugin-jsx": "^8.1.0",
66
- "@tsdown/css": "^0.21.7",
67
- "@types/react": "^19.2.14",
68
- "@types/react-dom": "^19.2.3",
69
- "@types/ungap__structured-clone": "^1.2.0",
70
- "babel-plugin-react-compiler": "^1.0.0",
71
- "jotai-babel": "^0.1.0",
72
- "react-compiler-runtime": "^1.0.0",
73
- "tsdown": "^0.21.7",
74
- "typedoc": "^0.28.18",
75
- "typedoc-plugin-markdown": "^4.11.0"
76
- }
77
- }
2
+ "name": "@applemusic-like-lyrics/react-full",
3
+ "version": "0.4.0",
4
+ "description": "AMLL 组件库的 React 绑定,但是更加完备且高度灵活",
5
+ "repository": {
6
+ "url": "https://github.com/amll-dev/applemusic-like-lyrics.git",
7
+ "directory": "packages/react-full",
8
+ "type": "git"
9
+ },
10
+ "license": "GPL-3.0",
11
+ "nx": {
12
+ "tags": [
13
+ "library"
14
+ ],
15
+ "targets": {
16
+ "nx-release-publish": {
17
+ "executor": "@nx/js:release-publish",
18
+ "dependsOn": []
19
+ }
20
+ }
21
+ },
22
+ "type": "module",
23
+ "main": "./dist/amll-react-framework.cjs",
24
+ "module": "./dist/amll-react-framework.mjs",
25
+ "typings": "./dist/amll-react-framework.d.mts",
26
+ "style": "./dist/style.css",
27
+ "exports": {
28
+ ".": {
29
+ "import": {
30
+ "types": "./dist/amll-react-framework.d.mts",
31
+ "default": "./dist/amll-react-framework.mjs"
32
+ },
33
+ "require": {
34
+ "types": "./dist/amll-react-framework.d.cts",
35
+ "default": "./dist/amll-react-framework.cjs"
36
+ }
37
+ },
38
+ "./style.css": {
39
+ "import": "./dist/style.css",
40
+ "require": "./dist/style.css"
41
+ }
42
+ },
43
+ "sideEffects": [
44
+ "*.css"
45
+ ],
46
+ "files": [
47
+ "dist"
48
+ ],
49
+ "dependencies": {
50
+ "@ungap/structured-clone": "^1.3.0",
51
+ "classnames": "^2.5.1",
52
+ "corner-smoothing": "^0.1.5",
53
+ "framer-motion": "^12.38.0",
54
+ "react-toastify": "^11.0.5",
55
+ "@applemusic-like-lyrics/core": "^0.5.0",
56
+ "@applemusic-like-lyrics/react": "^0.5.0"
57
+ },
58
+ "peerDependencies": {
59
+ "jotai": "^2",
60
+ "react": "^19",
61
+ "react-dom": "^19"
62
+ },
63
+ "devDependencies": {
64
+ "@biomejs/biome": "^2.4.8",
65
+ "@rolldown/plugin-babel": "^0.2.3",
66
+ "@svgr/core": "^8.1.0",
67
+ "@svgr/plugin-jsx": "^8.1.0",
68
+ "@tsdown/css": "^0.21.9",
69
+ "@types/react": "^19.2.14",
70
+ "@types/react-dom": "^19.2.3",
71
+ "@types/ungap__structured-clone": "^1.2.0",
72
+ "babel-plugin-react-compiler": "^1.0.0",
73
+ "jotai-babel": "^0.1.0",
74
+ "react-compiler-runtime": "^1.0.0",
75
+ "tsdown": "^0.21.9",
76
+ "typedoc": "^0.28.18",
77
+ "typedoc-plugin-markdown": "^4.11.0"
78
+ },
79
+ "scripts": {
80
+ "build:docs": "typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts",
81
+ "typecheck": "tsgo -b",
82
+ "build-only": "tsdown",
83
+ "build": "run-p typecheck \"build-only {@}\" --",
84
+ "build:dev": "tsdown",
85
+ "fmt": "biome format --write ./src",
86
+ "dev": "nx run @applemusic-like-lyrics/playground-react-full:dev"
87
+ }
88
+ }
@@ -1,11 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- globalThis.jotaiAtomCache = globalThis.jotaiAtomCache || {
3
- cache: /* @__PURE__ */ new Map(),
4
- get(name, inst) {
5
- if (this.cache.has(name)) return this.cache.get(name);
6
- this.cache.set(name, inst);
7
- return inst;
8
- }
9
- };
10
- //#endregion
11
- export {};