@sankhyalabs/ezui-docs 0.0.0-feat-dev-KB-79444.1 → 0.0.0-feat-dev-KB-79444.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.
@@ -7,14 +7,14 @@
7
7
 
8
8
  ## Properties
9
9
 
10
- | Property | Attribute | Description | Type | Default |
11
- | --------------- | ---------------- | --------------------------------------------------------------------------------- | ------------------------------- | --------------- |
12
- | `anchorElement` | `anchor-element` | Define o elemento de ancoragem. | `HTMLElement \| string` | `undefined` |
13
- | `autoClose` | `auto-close` | Define que será fechado automaticamente quando o usuário clicar fora do conteúdo. | `boolean` | `true` |
14
- | `boxWidth` | `box-width` | Ajusta o comportamento da largura do popover. | `"fit-content" \| "full-width"` | `"fit-content"` |
15
- | `innerElement` | `inner-element` | Define as tags que serão consideradas conteúdo. | `string \| string[]` | `undefined` |
16
- | `opened` | `opened` | Define se o ez-popover está aberto. | `boolean` | `false` |
17
- | `overlayType` | `overlay-type` | Define o tipo de overlay do popover. | `"light" \| "medium" \| "none"` | `"light"` |
10
+ | Property | Attribute | Description | Type | Default |
11
+ | --------------- | ---------------- | --------------------------------------------------------------------------------- | ------------------------------- | -------------------------------------------------------- |
12
+ | `anchorElement` | `anchor-element` | Define o elemento de ancoragem. | `HTMLElement \| string` | `undefined` |
13
+ | `autoClose` | `auto-close` | Define que será fechado automaticamente quando o usuário clicar fora do conteúdo. | `boolean` | `true` |
14
+ | `boxWidth` | `box-width` | Ajusta o comportamento da largura do popover. | `"fit-content" \| "full-width"` | `"fit-content"` |
15
+ | `opened` | `opened` | Define se o ez-popover está aberto. | `boolean` | `false` |
16
+ | `options` | -- | Define as opções do elemento. | `IEzPopoverAnchorOptions` | `{ horizontalGap: 0, verticalGap: 0, fromRight: false }` |
17
+ | `overlayType` | `overlay-type` | Define o tipo de overlay do popover. | `"light" \| "medium" \| "none"` | `"light"` |
18
18
 
19
19
 
20
20
  ## Events
@@ -36,6 +36,16 @@ Type: `Promise<void>`
36
36
 
37
37
 
38
38
 
39
+ ### `setAnchorElement(anchor: HTMLElement | string) => Promise<void>`
40
+
41
+ Altera o elemento de ancoragem.
42
+
43
+ #### Returns
44
+
45
+ Type: `Promise<void>`
46
+
47
+
48
+
39
49
  ### `setOptions(options: IEzPopoverAnchorOptions) => Promise<void>`
40
50
 
41
51
  Altera as opções.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/ezui-docs",
3
- "version": "0.0.0-feat-dev-KB-79444.1",
3
+ "version": "0.0.0-feat-dev-KB-79444.2",
4
4
  "description": "Documentação da biblioteca de componentes Sankhya.",
5
5
  "main": "",
6
6
  "files": [