@youfocus-technology/chat-agent 0.1.0 → 0.1.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/README.md CHANGED
@@ -27,9 +27,11 @@ import '@youfocus-technology/chat-agent'
27
27
 
28
28
  O projeto que hospeda o widget decide onde e quando mostrar a tag. O widget não se esconde sozinho ao fechar: ele só emite o evento `close`.
29
29
 
30
- | Atributo | Descrição |
31
- | ----------------- | ------------------------------------------------------------------------- |
32
- | `whatsapp-url` | Link do WhatsApp no rodapé. |
30
+ Os estilos são CSS puro, isolados no Shadow DOM, então o CSS do site não muda o widget e o widget não muda o site. No documento, o pacote registra só a `@font-face` da fonte Figtree. Os tokens do design usam o prefixo `--yf-`, para não colidir com variáveis CSS do site. Em SSR, o import não quebra: a tag só é registrada quando existe `window`.
31
+
32
+ | Atributo | Descrição |
33
+ | ----------------- | -------------------------------------------------------------------------- |
34
+ | `whatsapp-url` | Link do WhatsApp no rodapé. |
33
35
  | `human-agent-url` | Link do botão "Falar com um agente humano". Sem ele, usa o `whatsapp-url`. |
34
36
 
35
37
  | Evento | Quando |