@applemusic-like-lyrics/react-full 0.4.1 → 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
@@ -172,30 +172,31 @@
172
172
  display: flex;
173
173
  position: relative;
174
174
 
175
+ & > * {
176
+ transform-origin: center;
177
+ transition: transform .5s;
178
+ }
179
+
175
180
  &:hover {
176
181
  background-color: #fff2;
177
182
  }
178
183
 
184
+ &._7JvWRa_animate > * {
185
+ animation-composition: accumulate;
186
+ animation: .7s _7JvWRa_pressed-animation;
187
+ }
188
+
179
189
  &:active {
180
190
  background-color: #fff2;
181
191
 
182
192
  & * {
183
- animation-name: none !important;
193
+ animation-name: none;
184
194
  }
185
195
  }
186
-
187
- & > * {
188
- transform-origin: center;
189
- transition: transform .5s;
190
- }
191
-
192
- &._7JvWRa_animate > * {
193
- animation-composition: accumulate;
194
- animation: .7s _7JvWRa_pressed-animation;
195
- }
196
196
  }
197
197
  .GOs7HW_menuButton {
198
198
  aspect-ratio: 1;
199
+ background: #ffffff15;
199
200
  border: none;
200
201
  border-radius: 50%;
201
202
  justify-content: center;
@@ -206,7 +207,6 @@
206
207
  padding: 0;
207
208
  display: flex;
208
209
  position: relative;
209
- background: #ffffff15 !important;
210
210
 
211
211
  & svg {
212
212
  color: #fff;
@@ -251,9 +251,9 @@
251
251
  user-select: text;
252
252
  letter-spacing: .4px;
253
253
  opacity: .9;
254
+ mix-blend-mode: normal;
254
255
  min-width: 0;
255
256
  font-weight: 500;
256
- mix-blend-mode: normal !important;
257
257
  }
258
258
 
259
259
  .XWzuDW_artists, .XWzuDW_album {
@@ -305,48 +305,6 @@
305
305
  top: 0;
306
306
  left: 0;
307
307
  }
308
- .-DaA0W_horizontalLayout {
309
- --hide-lyric-left: 61.1111%;
310
- grid-template-rows: [-DaA0W_drag-area] minmax(30px, .45fr)[-DaA0W_thumb] auto[-DaA0W_cover] auto[-DaA0W_music-info] 3fr[-DaA0W_buttom-controls] 0fr .3fr;
311
- grid-template-columns: [-DaA0W_info-side] .45fr[-DaA0W_player-side] .55fr[-DaA0W_side-controls] 0fr;
312
- gap: 8px;
313
- width: 100%;
314
- height: 100%;
315
- transition: all .5s ease-in-out;
316
- display: grid;
317
- position: relative;
318
- left: 0%;
319
-
320
- & .-DaA0W_thumb, & .-DaA0W_cover, & .-DaA0W_controls {
321
- transition: left .5s cubic-bezier(.5, 0, .5, 1);
322
- left: 0%;
323
- }
324
-
325
- &.-DaA0W_hideLyric {
326
- & .-DaA0W_lyric {
327
- opacity: 0;
328
- pointer-events: none;
329
- transition: opacity .25s cubic-bezier(.5, 0, .5, 1), transform .5s cubic-bezier(.5, 0, .5, 1);
330
- }
331
-
332
- & .-DaA0W_thumb, & .-DaA0W_cover, & .-DaA0W_controls {
333
- left: var(--hide-lyric-left);
334
- }
335
- }
336
-
337
- --horizontal-layout-max-width: min(50vh, 38vw);
338
-
339
- @media screen and (height <= 1000px) {
340
- --horizontal-layout-max-width: min(45vh, 38vw);
341
- }
342
-
343
- @media screen and (height <= 768px) {
344
- grid-template-rows: [-DaA0W_drag-area] minmax(30px, .45fr)[-DaA0W_thumb] auto[-DaA0W_cover] auto[-DaA0W_music-info] 3fr[-DaA0W_buttom-controls] 0fr .2fr;
345
- gap: 2px;
346
- font-size: .8em;
347
- }
348
- }
349
-
350
308
  .-DaA0W_thumb {
351
309
  will-change: transform;
352
310
  mix-blend-mode: plus-lighter;
@@ -411,6 +369,48 @@
411
369
  padding-right: 2em;
412
370
  }
413
371
  }
372
+
373
+ .-DaA0W_horizontalLayout {
374
+ --hide-lyric-left: 61.1111%;
375
+ grid-template-rows: [-DaA0W_drag-area] minmax(30px, .45fr)[-DaA0W_thumb] auto[-DaA0W_cover] auto[-DaA0W_music-info] 3fr[-DaA0W_buttom-controls] 0fr .3fr;
376
+ grid-template-columns: [-DaA0W_info-side] .45fr[-DaA0W_player-side] .55fr[-DaA0W_side-controls] 0fr;
377
+ gap: 8px;
378
+ width: 100%;
379
+ height: 100%;
380
+ transition: all .5s ease-in-out;
381
+ display: grid;
382
+ position: relative;
383
+ left: 0%;
384
+
385
+ & .-DaA0W_thumb, & .-DaA0W_cover, & .-DaA0W_controls {
386
+ transition: left .5s cubic-bezier(.5, 0, .5, 1);
387
+ left: 0%;
388
+ }
389
+
390
+ &.-DaA0W_hideLyric {
391
+ & .-DaA0W_lyric {
392
+ opacity: 0;
393
+ pointer-events: none;
394
+ transition: opacity .25s cubic-bezier(.5, 0, .5, 1), transform .5s cubic-bezier(.5, 0, .5, 1);
395
+ }
396
+
397
+ & .-DaA0W_thumb, & .-DaA0W_cover, & .-DaA0W_controls {
398
+ left: var(--hide-lyric-left);
399
+ }
400
+ }
401
+
402
+ --horizontal-layout-max-width: min(50vh, 38vw);
403
+
404
+ @media screen and (height <= 1000px) {
405
+ --horizontal-layout-max-width: min(45vh, 38vw);
406
+ }
407
+
408
+ @media screen and (height <= 768px) {
409
+ grid-template-rows: [-DaA0W_drag-area] minmax(30px, .45fr)[-DaA0W_thumb] auto[-DaA0W_cover] auto[-DaA0W_music-info] 3fr[-DaA0W_buttom-controls] 0fr .2fr;
410
+ gap: 2px;
411
+ font-size: .8em;
412
+ }
413
+ }
414
414
  .SqBoeq_verticalLayout {
415
415
  grid-template-rows: [SqBoeq_drag-area] 30px[SqBoeq_thumb] 30px[SqBoeq_main-view] 1fr[SqBoeq_control] 0fr;
416
416
  gap: 2px;
@@ -713,7 +713,9 @@
713
713
  overflow: hidden;
714
714
 
715
715
  @media screen and (height <= 1000px) {
716
- padding: 0 0 !important;
716
+ &.UjzbJG_horizontalControls {
717
+ padding: 0 0;
718
+ }
717
719
  }
718
720
 
719
721
  @media screen and (height >= 1000px) {
@@ -823,8 +825,8 @@
823
825
  }
824
826
 
825
827
  .UjzbJG_bigControls > button {
826
- width: 10vh !important;
827
- height: 10vh !important;
828
+ width: 10vh;
829
+ height: 10vh;
828
830
 
829
831
  &:nth-child(2) > svg {
830
832
  scale: 1.75;
@@ -877,8 +879,8 @@
877
879
  transition: transform .5s .3s var(--info-timing-func-out),
878
880
  opacity .3s .3s var(--info-timing-func-out);
879
881
  opacity: 1;
882
+ font-size: clamp(1em, 2vh, 1.25em);
880
883
  transform: translateY(0);
881
- font-size: clamp(1em, 2vh, 1.25em) !important;
882
884
  }
883
885
 
884
886
  .UjzbJG_smallMusicInfo.UjzbJG_hideLyric {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applemusic-like-lyrics/react-full",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "AMLL 组件库的 React 绑定,但是更加完备且高度灵活",
5
5
  "repository": {
6
6
  "url": "https://github.com/amll-dev/applemusic-like-lyrics.git",
@@ -52,8 +52,8 @@
52
52
  "corner-smoothing": "^0.1.5",
53
53
  "framer-motion": "^12.38.0",
54
54
  "react-toastify": "^11.0.5",
55
- "@applemusic-like-lyrics/core": "^0.5.1",
56
- "@applemusic-like-lyrics/react": "^0.5.1"
55
+ "@applemusic-like-lyrics/core": "^0.5.2",
56
+ "@applemusic-like-lyrics/react": "^0.5.2"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "jotai": "^2",
@@ -65,14 +65,14 @@
65
65
  "@rolldown/plugin-babel": "^0.2.3",
66
66
  "@svgr/core": "^8.1.0",
67
67
  "@svgr/plugin-jsx": "^8.1.0",
68
- "@tsdown/css": "^0.21.9",
68
+ "@tsdown/css": "^0.22.0",
69
69
  "@types/react": "^19.2.14",
70
70
  "@types/react-dom": "^19.2.3",
71
71
  "@types/ungap__structured-clone": "^1.2.0",
72
72
  "babel-plugin-react-compiler": "^1.0.0",
73
73
  "jotai-babel": "^0.1.0",
74
74
  "react-compiler-runtime": "^1.0.0",
75
- "tsdown": "^0.21.9",
75
+ "tsdown": "^0.22.0",
76
76
  "typedoc": "^0.28.18",
77
77
  "typedoc-plugin-markdown": "^4.11.0"
78
78
  },