@applemusic-like-lyrics/core 0.4.0 → 0.4.2

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
@@ -19,7 +19,7 @@
19
19
  user-select: none;
20
20
  box-sizing: content-box;
21
21
  z-index: 1;
22
- line-height: 1.2em;
22
+ line-height: 1.2;
23
23
  }
24
24
 
25
25
  &.dom-slim {
@@ -31,7 +31,7 @@
31
31
  z-index: 1;
32
32
  min-width: 0;
33
33
  min-height: 0;
34
- line-height: 1.2em;
34
+ line-height: 1.2;
35
35
  overflow: hidden scroll;
36
36
 
37
37
  &::-webkit-scrollbar {
@@ -97,6 +97,10 @@
97
97
  calc(var(--amll-lp-line-padding-x, 1em) / var(--amll-lp-bg-line-scale, .7));
98
98
  transition: opacity .25s, scale .5s, filter .2s, background-color .25s, box-shadow .25s;
99
99
 
100
+ & .FmKaba_lyricMainLine {
101
+ padding: 1.2em 1em;
102
+ }
103
+
100
104
  &.FmKaba_active {
101
105
  opacity: .4;
102
106
  transition: opacity .5s .25s, scale 1.5s cubic-bezier(0, 1, 0, 1) .25s, filter .2s, background-color .25s, box-shadow .25s;
@@ -129,9 +133,6 @@
129
133
  }
130
134
 
131
135
  .FmKaba_lyricMainLine {
132
- text-wrap: balance;
133
- word-break: keep-all;
134
- overflow-wrap: break-word;
135
136
  margin: -1em;
136
137
  padding: 1em;
137
138
  transition: opacity .3s .1s;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applemusic-like-lyrics/core",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "AMLL 的纯 JS 核心组件框架,包括歌词显示组件和背景组件等其它可以复用的组件",
5
5
  "repository": {
6
6
  "url": "https://github.com/amll-dev/applemusic-like-lyrics.git",
@@ -49,8 +49,8 @@
49
49
  "stats.js": "^0.17.0",
50
50
  "typedoc": "^0.28.18",
51
51
  "typedoc-plugin-markdown": "^4.11.0",
52
- "@tsdown/css": "^0.21.7",
53
- "tsdown": "^0.21.7"
52
+ "@tsdown/css": "^0.21.9",
53
+ "tsdown": "^0.21.9"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@pixi/app": "*",