@sankhyalabs/ezui-docs 5.1.0 → 5.2.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.
@@ -27,6 +27,19 @@
27
27
 
28
28
  ## Methods
29
29
 
30
+ ### `appendTextToSelection(text: string) => Promise<void>`
31
+
32
+ Adiciona o argumento text no value do text area, seguindo as regras:
33
+ - Se o cursor do mouse está posicionado em algum local do texto, o argumento será adicionado nesse local.
34
+ - Se existir uma seleção no texto, o trecho selecionado deve ser substituído pelo argumento.
35
+ - Se não existir seleção nem posicionamento do cursor do mouse, o argumento será adicionado no final do texto.
36
+
37
+ #### Returns
38
+
39
+ Type: `Promise<void>`
40
+
41
+
42
+
30
43
  ### `isInvalid() => Promise<boolean>`
31
44
 
32
45
  Retorna se o conteúdo é inválido.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui-docs",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "description": "Documentação da biblioteca de componentes Sankhya.",
5
5
  "main": "",
6
6
  "files": [