sm-click-library-ui 0.0.616-dev.78 → 0.0.617

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/tailwind.css CHANGED
@@ -635,6 +635,9 @@ video {
635
635
  .pointer-events-auto {
636
636
  pointer-events: auto;
637
637
  }
638
+ .\!visible {
639
+ visibility: visible !important;
640
+ }
638
641
  .visible {
639
642
  visibility: visible;
640
643
  }
@@ -1245,9 +1248,6 @@ video {
1245
1248
  .max-h-\[224px\] {
1246
1249
  max-height: 224px;
1247
1250
  }
1248
- .max-h-\[240px\] {
1249
- max-height: 240px;
1250
- }
1251
1251
  .max-h-\[250px\] {
1252
1252
  max-height: 250px;
1253
1253
  }
@@ -2105,9 +2105,6 @@ video {
2105
2105
  --tw-bg-opacity: 1;
2106
2106
  background-color: rgb(var(--bg-base-300) / var(--tw-bg-opacity, 1));
2107
2107
  }
2108
- .bg-base-300\/30 {
2109
- background-color: rgb(var(--bg-base-300) / 0.3);
2110
- }
2111
2108
  .bg-base-300\/70 {
2112
2109
  background-color: rgb(var(--bg-base-300) / 0.7);
2113
2110
  }
@@ -2593,6 +2590,9 @@ video {
2593
2590
  .pb-1 {
2594
2591
  padding-bottom: 0.25rem;
2595
2592
  }
2593
+ .pb-10 {
2594
+ padding-bottom: 2.5rem;
2595
+ }
2596
2596
  .pb-2 {
2597
2597
  padding-bottom: 0.5rem;
2598
2598
  }
@@ -2656,6 +2656,9 @@ video {
2656
2656
  .pt-2 {
2657
2657
  padding-top: 0.5rem;
2658
2658
  }
2659
+ .pt-4 {
2660
+ padding-top: 1rem;
2661
+ }
2659
2662
  .text-left {
2660
2663
  text-align: left;
2661
2664
  }
@@ -3702,6 +3705,9 @@ video {
3702
3705
  --tw-border-opacity: 1;
3703
3706
  border-color: rgb(var(--primary-rgb) / var(--tw-border-opacity, 1));
3704
3707
  }
3708
+ .hover\:border-primary\/40:hover {
3709
+ border-color: rgb(var(--primary-rgb) / 0.4);
3710
+ }
3705
3711
  .hover\:border-purple-400:hover {
3706
3712
  --tw-border-opacity: 1;
3707
3713
  border-color: rgb(192 132 252 / var(--tw-border-opacity, 1));
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, watchEffect, computed, watch, createElementBlock, openBlock, normalizeStyle } from "vue";
2
- import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-xJ8KtM_J.js";
2
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-BjpBYK0r.js";
3
3
  var lottie = { exports: {} };
4
4
  (function(module, exports) {
5
5
  typeof navigator < "u" && function(t, e) {
@@ -1,5 +1,5 @@
1
- import { W as P, b as x } from "./index-xJ8KtM_J.js";
2
- import { E } from "./web-DDm7zRan.js";
1
+ import { W as P, b as x } from "./index-BjpBYK0r.js";
2
+ import { E } from "./web-DsVGOGIZ.js";
3
3
  function m(w) {
4
4
  const e = w.split("/").filter((t) => t !== "."), r = [];
5
5
  return e.forEach((t) => {
@@ -1,4 +1,4 @@
1
- import { r as le, C as ge, g as me, W as we } from "./index-xJ8KtM_J.js";
1
+ import { r as le, C as ge, g as me, W as we } from "./index-BjpBYK0r.js";
2
2
  const F = {
3
3
  RECORDING: "RECORDING",
4
4
  PAUSED: "PAUSED",
@@ -58,7 +58,7 @@ var te;
58
58
  n.UTF8 = "utf8", n.ASCII = "ascii", n.UTF16 = "utf16";
59
59
  })(te || (te = {}));
60
60
  const k = le("Filesystem", {
61
- web: () => import("./web-B4R0fcQj.js").then((n) => new n.FilesystemWeb())
61
+ web: () => import("./web-BMG7LDAQ.js").then((n) => new n.FilesystemWeb())
62
62
  });
63
63
  Ee();
64
64
  const _e = le("BlobWriter");
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "dist",
6
6
  "src/test-utils"
7
7
  ],
8
- "version": "0.0.616-dev.78",
8
+ "version": "0.0.617",
9
9
  "main": "dist/sm-click-library-ui.es.js",
10
10
  "module": "dist/sm-click-library-ui.umd.js",
11
11
  "style": "dist/style.css",
@@ -1,5 +1,5 @@
1
1
  import { describe, it, expect, vi, beforeEach } from "vitest";
2
- import { mount, flushPromises } from "@vue/test-utils";
2
+ import { mount } from "@vue/test-utils";
3
3
  import { createPinia, setActivePinia } from "pinia";
4
4
 
5
5
  // Wavesurfer real precisa de fetch/decode. O dublê reproduz o que importa: toca o
@@ -7,17 +7,6 @@ import { createPinia, setActivePinia } from "pinia";
7
7
  // (como as versões < 7.4) — era isso que cortava o áudio na troca de conversa.
8
8
  const instances = [];
9
9
  const seeks = [];
10
- const peakState = vi.hoisted(() => ({ pending: null }));
11
- vi.mock("~/utils/audioPeaks", () => ({
12
- resolveAudioPeaks: () => peakState.pending || Promise.resolve(null)
13
- }));
14
- // jsdom não calcula layout: o portão de viewport nunca intersectaria, e a onda é o objeto do teste.
15
- vi.mock("~/utils/viewportGate", () => ({
16
- onceInViewport: (el, callback) => {
17
- callback();
18
- return () => {};
19
- }
20
- }));
21
10
  vi.mock("wavesurfer.js", () => ({
22
11
  default: {
23
12
  create(options) {
@@ -68,7 +57,6 @@ import { useAudioPlaybackStore } from "~/stores/audioPlaybackStore";
68
57
 
69
58
  // jsdom não implementa play/pause de mídia.
70
59
  beforeEach(() => {
71
- peakState.pending = null;
72
60
  instances.length = 0;
73
61
  seeks.length = 0;
74
62
  Object.defineProperty(HTMLMediaElement.prototype, "paused", {
@@ -104,19 +92,6 @@ async function mountAudio(trackId = "m1") {
104
92
  }
105
93
 
106
94
  describe("áudio da mensagem fora da árvore da bolha", () => {
107
- it("não instala observers depois de desmontar durante a carga", async () => {
108
- let finish;
109
- peakState.pending = new Promise((resolve) => {
110
- finish = resolve;
111
- });
112
- const wrapper = await mountAudio();
113
- wrapper.unmount();
114
- const observe = vi.spyOn(MutationObserver.prototype, "observe");
115
- finish(null);
116
- await flushPromises();
117
- expect(observe).not.toHaveBeenCalled();
118
- observe.mockRestore();
119
- });
120
95
  it("continua tocando depois que a bolha desmonta", async () => {
121
96
  const store = useAudioPlaybackStore();
122
97
  const wrapper = await mountAudio();