@govbr-ds/webcomponents 2.0.0-next.59 → 2.0.0-next.60
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/cjs/br-button.br-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/br-button_2.cjs.entry.js +1 -1
- package/dist/cjs/br-loading.cjs.entry.js +1 -1
- package/dist/cjs/br-loading.entry.cjs.js.map +1 -1
- package/dist/cjs/br-scrim.cjs.entry.js +31 -8
- package/dist/cjs/br-scrim.entry.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/components/button/button.css +1 -1
- package/dist/collection/components/loading/loading.css +1 -1
- package/dist/collection/components/scrim/scrim.js +32 -9
- package/dist/collection/components/scrim/scrim.js.map +1 -1
- package/dist/components/br-breadcrumb.js +1 -1
- package/dist/components/br-button.js +1 -1
- package/dist/components/br-datetime-picker.js +2 -2
- package/dist/components/br-footer-social.js +1 -1
- package/dist/components/br-header-function.js +1 -1
- package/dist/components/br-header-list.js +1 -1
- package/dist/components/br-header.js +1 -1
- package/dist/components/br-input.js +1 -1
- package/dist/components/br-loading.js +5 -5
- package/dist/components/br-menu-header.js +1 -1
- package/dist/components/br-menu-social.js +1 -1
- package/dist/components/br-menu.js +1 -1
- package/dist/components/br-message.js +1 -1
- package/dist/components/br-modal.js +1 -1
- package/dist/components/br-pagination.js +3 -3
- package/dist/components/br-scrim.js +40 -17
- package/dist/components/br-scrim.js.map +1 -1
- package/dist/components/br-select.js +4 -4
- package/dist/components/br-skiplink-item.js +2 -2
- package/dist/components/br-step-item.js +3 -3
- package/dist/components/br-tag.js +4 -4
- package/dist/components/br-tooltip.js +1 -1
- package/dist/components/br-upload.js +1 -1
- package/dist/components/br-wizard.js +2 -2
- package/dist/components/{p-QZ49pYM4.js → p-C0cZs2IJ.js} +4 -4
- package/dist/components/{p-B7xyUEGI.js → p-CJRbqOtI.js} +3 -3
- package/dist/components/{p-JIYnQlb6.js → p-CT3o87ql.js} +3 -3
- package/dist/components/{p-D7Ten_tj.js → p-D3Hzp4nL.js} +3 -3
- package/dist/components/{p-BXt7yUZ9.js → p-D6-v-yTt.js} +3 -3
- package/dist/custom-elements.json +1060 -1041
- package/dist/esm/br-button.br-icon.entry.js.map +1 -1
- package/dist/esm/br-button_2.entry.js +1 -1
- package/dist/esm/br-loading.entry.js +1 -1
- package/dist/esm/br-loading.entry.js.map +1 -1
- package/dist/esm/br-scrim.entry.js +31 -8
- package/dist/esm/br-scrim.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/hydrate/index.js +34 -11
- package/dist/hydrate/index.mjs +34 -11
- package/dist/types/components/scrim/scrim.d.ts +2 -0
- package/dist/webcomponents/br-button.br-icon.entry.esm.js.map +1 -1
- package/dist/webcomponents/br-loading.entry.esm.js.map +1 -1
- package/dist/webcomponents/br-scrim.entry.esm.js.map +1 -1
- package/dist/webcomponents/{p-4dc26d38.entry.js → p-1e957173.entry.js} +38 -15
- package/dist/webcomponents/p-1e957173.entry.js.map +1 -0
- package/dist/webcomponents/{p-14741c23.entry.js → p-ce211246.entry.js} +2 -2
- package/dist/webcomponents/{p-5d1469bf.entry.js → p-d3873f0c.entry.js} +2 -2
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/dist/webcomponents.html-custom-data.json +73 -73
- package/package.json +1 -1
- package/dist/webcomponents/p-4dc26d38.entry.js.map +0 -1
- /package/dist/components/{p-QZ49pYM4.js.map → p-C0cZs2IJ.js.map} +0 -0
- /package/dist/components/{p-B7xyUEGI.js.map → p-CJRbqOtI.js.map} +0 -0
- /package/dist/components/{p-JIYnQlb6.js.map → p-CT3o87ql.js.map} +0 -0
- /package/dist/components/{p-D7Ten_tj.js.map → p-D3Hzp4nL.js.map} +0 -0
- /package/dist/components/{p-BXt7yUZ9.js.map → p-D6-v-yTt.js.map} +0 -0
- /package/dist/webcomponents/{p-14741c23.entry.js.map → p-ce211246.entry.js.map} +0 -0
- /package/dist/webcomponents/{p-5d1469bf.entry.js.map → p-d3873f0c.entry.js.map} +0 -0
|
@@ -4,29 +4,26 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "javascript-module",
|
|
7
|
-
"path": "components/
|
|
7
|
+
"path": "components/breadcrumb.js",
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
|
-
"description": "
|
|
12
|
-
"name": "
|
|
11
|
+
"description": "",
|
|
12
|
+
"name": "Breadcrumb",
|
|
13
13
|
"members": [
|
|
14
14
|
{
|
|
15
15
|
"kind": "field",
|
|
16
16
|
"name": "el",
|
|
17
17
|
"type": {
|
|
18
|
-
"text": "
|
|
19
|
-
}
|
|
20
|
-
"description": "Referência ao elemento host do componente.\nUtilize esta propriedade para acessar e manipular o elemento do DOM associado ao componente."
|
|
18
|
+
"text": "HTMLBrBreadcrumbElement"
|
|
19
|
+
}
|
|
21
20
|
},
|
|
22
21
|
{
|
|
23
22
|
"kind": "field",
|
|
24
|
-
"name": "
|
|
23
|
+
"name": "elementInternals",
|
|
25
24
|
"type": {
|
|
26
|
-
"text": "
|
|
27
|
-
}
|
|
28
|
-
"default": "'medium'",
|
|
29
|
-
"description": "Ajusta a densidade, alterando o espaçamento interno para um visual mais compacto ou mais expandido."
|
|
25
|
+
"text": "ElementInternals"
|
|
26
|
+
}
|
|
30
27
|
},
|
|
31
28
|
{
|
|
32
29
|
"kind": "field",
|
|
@@ -35,272 +32,330 @@
|
|
|
35
32
|
"text": "string"
|
|
36
33
|
},
|
|
37
34
|
"readonly": true,
|
|
38
|
-
"default": "`br-
|
|
35
|
+
"default": "`br-breadcrumb-${breadcrumbId++}`",
|
|
39
36
|
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado."
|
|
40
37
|
},
|
|
41
38
|
{
|
|
42
39
|
"kind": "field",
|
|
43
|
-
"name": "
|
|
40
|
+
"name": "homeUrl",
|
|
44
41
|
"type": {
|
|
45
42
|
"text": "string"
|
|
46
43
|
},
|
|
47
|
-
"
|
|
48
|
-
"description": "URL
|
|
44
|
+
"default": "'/'",
|
|
45
|
+
"description": "URL para home.\nCaso não seja fornecido, o valor padrão será /."
|
|
49
46
|
},
|
|
50
47
|
{
|
|
51
48
|
"kind": "field",
|
|
52
|
-
"name": "
|
|
49
|
+
"name": "crumbs",
|
|
53
50
|
"type": {
|
|
54
|
-
"text": "string"
|
|
51
|
+
"text": "string | BreadcrumbItem[]"
|
|
55
52
|
},
|
|
56
|
-
"
|
|
57
|
-
"default": "'Foto de perfil do usuário'",
|
|
58
|
-
"description": "Texto alternativo (alt) associado à imagem do avatar. Essencial para acessibilidade.\nDeve descrever de forma clara e concisa o conteúdo da imagem, por exemplo: \"Foto de perfil de João Silva\"."
|
|
53
|
+
"description": "Define o array de objetos que receberá os nomes e links do breadcrumb.\nDefine valor padrão do breadcrumb 'defaultCrumbs'."
|
|
59
54
|
},
|
|
60
55
|
{
|
|
61
56
|
"kind": "field",
|
|
62
|
-
"name": "
|
|
57
|
+
"name": "defaultCrumbs",
|
|
58
|
+
"type": {
|
|
59
|
+
"text": "BreadcrumbItem[]"
|
|
60
|
+
},
|
|
61
|
+
"privacy": "private",
|
|
62
|
+
"default": "[ { label: 'Página 01', url: '/pagina-01' }, { label: 'Página 02', url: '/pagina-02' }, { label: 'Página Atual', active: true }, ]"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"kind": "field",
|
|
66
|
+
"name": "showTooltip",
|
|
63
67
|
"type": {
|
|
64
68
|
"text": "boolean"
|
|
65
69
|
},
|
|
66
|
-
"readonly": true,
|
|
67
70
|
"default": "false",
|
|
68
|
-
"description": "
|
|
71
|
+
"description": "Define o estado oculto ou visível do tooltip."
|
|
69
72
|
},
|
|
70
73
|
{
|
|
71
74
|
"kind": "field",
|
|
72
|
-
"name": "
|
|
75
|
+
"name": "tooltipPosition",
|
|
76
|
+
"type": {
|
|
77
|
+
"text": "{ x: number; y: number }"
|
|
78
|
+
},
|
|
79
|
+
"default": "{ x: 0, y: 0 }",
|
|
80
|
+
"description": "Define o posicionamento do tooltip na tela."
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"kind": "field",
|
|
84
|
+
"name": "tooltipText",
|
|
73
85
|
"type": {
|
|
74
86
|
"text": "string"
|
|
75
87
|
},
|
|
76
|
-
"
|
|
77
|
-
"description": "
|
|
88
|
+
"default": "''",
|
|
89
|
+
"description": "Define o texto do tooltip."
|
|
78
90
|
},
|
|
79
91
|
{
|
|
80
92
|
"kind": "field",
|
|
81
|
-
"name": "
|
|
93
|
+
"name": "isSmallScreen",
|
|
82
94
|
"type": {
|
|
83
95
|
"text": "boolean"
|
|
84
96
|
},
|
|
85
|
-
"readonly": true,
|
|
86
97
|
"default": "false",
|
|
87
|
-
"description": "Define
|
|
98
|
+
"description": "Define o estado isSmallScreen, usado para verificar a largura do container pai e aplicar as mudanças do formato mobile.\nNo formato mobile o breadcrumb apresenta um comportamento específico."
|
|
88
99
|
},
|
|
89
100
|
{
|
|
90
101
|
"kind": "field",
|
|
91
|
-
"name": "
|
|
102
|
+
"name": "isTruncate",
|
|
92
103
|
"type": {
|
|
93
|
-
"text": "
|
|
104
|
+
"text": "boolean"
|
|
94
105
|
},
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"description": "Permite definir a cor de fundo do componente.\nAceita os seguintes formatos de cor:\n- Cores nomeadas do CSS: 'red', 'blue', 'green', 'yellow', etc.\n- Códigos hexadecimais: '#ff0000', '#00ff00', '#0000ff', etc.\n- Valores RGB: 'rgb(255, 0, 0)', 'rgb(0, 255, 0)', etc.\n- Valores RGBA: 'rgba(255, 0, 0, 0.5)', 'rgba(0, 255, 0, 0.8)', etc.\n- Valores HSL: 'hsl(0, 100%, 50%)', 'hsl(120, 100%, 50%)', etc.\n- Valores HSLA: 'hsla(0, 100%, 50%, 0.5)', 'hsla(240, 100%, 50%, 0.7)', etc.\nSe não especificada, usa a cor padrão do tema."
|
|
106
|
+
"default": "false",
|
|
107
|
+
"description": "Define se o breadcrumb deve truncar os itens por falta de espaço."
|
|
98
108
|
},
|
|
99
109
|
{
|
|
100
110
|
"kind": "field",
|
|
101
|
-
"name": "
|
|
111
|
+
"name": "larguraInterna",
|
|
112
|
+
"type": {
|
|
113
|
+
"text": "number"
|
|
114
|
+
},
|
|
115
|
+
"default": "0",
|
|
116
|
+
"description": "Largura interna dos itens do breadcrumb."
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"kind": "field",
|
|
120
|
+
"name": "larguraPai",
|
|
121
|
+
"type": {
|
|
122
|
+
"text": "number"
|
|
123
|
+
},
|
|
124
|
+
"default": "0",
|
|
125
|
+
"description": "Largura do container pai do breadcrumb."
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"kind": "field",
|
|
129
|
+
"name": "isFolderOpen",
|
|
102
130
|
"type": {
|
|
103
131
|
"text": "boolean"
|
|
104
132
|
},
|
|
105
|
-
"
|
|
106
|
-
"
|
|
133
|
+
"default": "false",
|
|
134
|
+
"description": "Define o estado do botão 'Folder'.\nCaso a lista dropdown esteja oculta o ícone no botão será 'folder-plus'.\nCaso a lista dropdown esteja visível o ícone no botão será 'folder-minus'."
|
|
107
135
|
},
|
|
108
136
|
{
|
|
109
137
|
"kind": "method",
|
|
110
|
-
"name": "
|
|
138
|
+
"name": "trunc",
|
|
139
|
+
"privacy": "private",
|
|
111
140
|
"parameters": [
|
|
112
141
|
{
|
|
113
|
-
"name": "
|
|
142
|
+
"name": "word",
|
|
114
143
|
"type": {
|
|
115
|
-
"text": "
|
|
144
|
+
"text": "string"
|
|
116
145
|
}
|
|
117
146
|
}
|
|
118
147
|
],
|
|
119
|
-
"description": "
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"kind": "method",
|
|
123
|
-
"name": "getCssClassMap",
|
|
124
|
-
"privacy": "private",
|
|
125
|
-
"return": {
|
|
126
|
-
"type": {
|
|
127
|
-
"text": "CssClassMap"
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
"description": "Gera um mapa de classes CSS com base nas propriedades do componente."
|
|
148
|
+
"description": "Verifica se o texto do link contém mais de 20 caracteres e realiza o truncamento deste caso positivo.\nO número de caracteres pode ser configurado na variável 'charactersNumberTruncate'."
|
|
131
149
|
},
|
|
132
150
|
{
|
|
133
151
|
"kind": "method",
|
|
134
|
-
"name": "
|
|
152
|
+
"name": "handleMouseOver",
|
|
135
153
|
"privacy": "private",
|
|
136
|
-
"return": {
|
|
137
|
-
"type": {
|
|
138
|
-
"text": "boolean"
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
154
|
"parameters": [
|
|
142
155
|
{
|
|
143
|
-
"name": "
|
|
156
|
+
"name": "event",
|
|
157
|
+
"type": {
|
|
158
|
+
"text": "MouseEvent"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "text",
|
|
144
163
|
"type": {
|
|
145
164
|
"text": "string"
|
|
146
|
-
}
|
|
147
|
-
"description": "String a ser verificada"
|
|
165
|
+
}
|
|
148
166
|
}
|
|
149
167
|
],
|
|
150
|
-
"description": "
|
|
168
|
+
"description": "Exibe o tooltip e define seu posicionamento, caso o usuário realize o 'mouse over'."
|
|
151
169
|
},
|
|
152
170
|
{
|
|
153
|
-
"kind": "
|
|
154
|
-
"name": "
|
|
171
|
+
"kind": "method",
|
|
172
|
+
"name": "handleMouseOut",
|
|
155
173
|
"privacy": "private",
|
|
156
|
-
"
|
|
174
|
+
"description": "Esconde o tooltip caso o usuário realize o 'mouse out'."
|
|
157
175
|
},
|
|
158
176
|
{
|
|
159
177
|
"kind": "method",
|
|
160
|
-
"name": "
|
|
178
|
+
"name": "getParsedItems",
|
|
161
179
|
"privacy": "private",
|
|
162
180
|
"return": {
|
|
163
181
|
"type": {
|
|
164
|
-
"text": "
|
|
182
|
+
"text": "BreadcrumbItem[]"
|
|
165
183
|
}
|
|
166
184
|
},
|
|
167
|
-
"description": "
|
|
185
|
+
"description": "Converte de string para JSON o valor passado na propriedade 'crumbs'.\nRetorna o valor padrão do Breadcrumbs caso crumbs seja vazio ou inválido"
|
|
168
186
|
},
|
|
169
187
|
{
|
|
170
188
|
"kind": "method",
|
|
171
|
-
"name": "
|
|
189
|
+
"name": "handleHomeClick",
|
|
172
190
|
"privacy": "private",
|
|
173
|
-
"description": "
|
|
191
|
+
"description": "Ao clicar no botão HOME, direciona o usuário para URL passada na propriedade 'homeUrl'."
|
|
174
192
|
},
|
|
175
193
|
{
|
|
176
194
|
"kind": "method",
|
|
177
|
-
"name": "
|
|
195
|
+
"name": "toggleFolder",
|
|
178
196
|
"privacy": "private",
|
|
179
|
-
"
|
|
180
|
-
"type": {
|
|
181
|
-
"text": "string"
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
"description": "Gera aria-label apropriado baseado no tipo de avatar\nPrioriza aria-label do host, senão gera automaticamente"
|
|
197
|
+
"description": "Altera o estado do botão 'Folder', caso a lista dropdown esteja aberta ou fechada."
|
|
185
198
|
},
|
|
186
199
|
{
|
|
187
200
|
"kind": "method",
|
|
188
|
-
"name": "
|
|
201
|
+
"name": "getCssClassMap",
|
|
189
202
|
"privacy": "private",
|
|
190
203
|
"return": {
|
|
191
204
|
"type": {
|
|
192
|
-
"text": "string"
|
|
205
|
+
"text": "{ [key: string]: boolean }"
|
|
193
206
|
}
|
|
194
207
|
},
|
|
195
|
-
"description": "
|
|
208
|
+
"description": "Define as classes CSS usadas no breadcrumb."
|
|
196
209
|
},
|
|
197
210
|
{
|
|
198
|
-
"kind": "
|
|
199
|
-
"name": "
|
|
200
|
-
"
|
|
201
|
-
|
|
202
|
-
"type": {
|
|
203
|
-
"text": "string"
|
|
204
|
-
}
|
|
211
|
+
"kind": "field",
|
|
212
|
+
"name": "resizeObserver",
|
|
213
|
+
"type": {
|
|
214
|
+
"text": "ResizeObserver"
|
|
205
215
|
},
|
|
206
|
-
"
|
|
216
|
+
"privacy": "private",
|
|
217
|
+
"description": "Atualiza o estado 'isSmallScreen' com base no tamanho do container pai, se menor que 570px."
|
|
207
218
|
},
|
|
208
219
|
{
|
|
209
|
-
"kind": "
|
|
210
|
-
"name": "
|
|
220
|
+
"kind": "field",
|
|
221
|
+
"name": "updateContainerSize",
|
|
211
222
|
"privacy": "private",
|
|
212
|
-
"description": "
|
|
223
|
+
"description": "Atualiza os estados de largura do breadcrumb ao detectar mudanças no container pai."
|
|
213
224
|
},
|
|
214
225
|
{
|
|
215
226
|
"kind": "method",
|
|
216
|
-
"name": "
|
|
227
|
+
"name": "calcularLarguraItens",
|
|
217
228
|
"privacy": "private",
|
|
218
|
-
"description": "
|
|
229
|
+
"description": "Calcula a largura total dos itens do breadcrumb para determinar se precisa de truncamento."
|
|
219
230
|
},
|
|
220
231
|
{
|
|
221
232
|
"kind": "method",
|
|
222
|
-
"name": "
|
|
233
|
+
"name": "renderHomeButton",
|
|
223
234
|
"privacy": "private",
|
|
224
|
-
"description": "Renderiza
|
|
235
|
+
"description": "Renderiza botão Home"
|
|
225
236
|
},
|
|
226
237
|
{
|
|
227
238
|
"kind": "method",
|
|
228
|
-
"name": "
|
|
239
|
+
"name": "renderTruncateButton",
|
|
229
240
|
"privacy": "private",
|
|
230
|
-
"description": "
|
|
241
|
+
"description": "Renderiza botão Folder no comportamento truncado"
|
|
231
242
|
},
|
|
232
243
|
{
|
|
233
244
|
"kind": "method",
|
|
234
|
-
"name": "
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
245
|
+
"name": "renderBreadcrumbItems",
|
|
246
|
+
"privacy": "private",
|
|
247
|
+
"description": "Renderiza itens do Breadcrumb no comportamento mobile ou truncado"
|
|
248
|
+
},
|
|
238
249
|
{
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
250
|
+
"kind": "method",
|
|
251
|
+
"name": "renderMobileActiveItem",
|
|
252
|
+
"privacy": "private",
|
|
253
|
+
"parameters": [
|
|
254
|
+
{
|
|
255
|
+
"name": "parsedItems",
|
|
256
|
+
"type": {
|
|
257
|
+
"text": "BreadcrumbItem[]"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"description": "Renderiza item da página atual"
|
|
246
262
|
},
|
|
247
263
|
{
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
264
|
+
"kind": "method",
|
|
265
|
+
"name": "renderBreadcrumbList",
|
|
266
|
+
"privacy": "private",
|
|
267
|
+
"parameters": [
|
|
268
|
+
{
|
|
269
|
+
"name": "parsedItems",
|
|
270
|
+
"type": {
|
|
271
|
+
"text": "BreadcrumbItem[]"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"description": "Renderiza Lista dropdown contendo os itens do Breadcrumb"
|
|
255
276
|
},
|
|
256
277
|
{
|
|
257
|
-
"
|
|
258
|
-
"
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
|
|
262
|
-
|
|
278
|
+
"kind": "method",
|
|
279
|
+
"name": "renderBreadcrumbLink",
|
|
280
|
+
"privacy": "private",
|
|
281
|
+
"parameters": [
|
|
282
|
+
{
|
|
283
|
+
"name": "item",
|
|
284
|
+
"type": {
|
|
285
|
+
"text": "BreadcrumbItem"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"description": "Renderiza itens do Breadcrumb no formato desktop"
|
|
263
290
|
},
|
|
264
291
|
{
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
"
|
|
268
|
-
"description": "
|
|
292
|
+
"kind": "method",
|
|
293
|
+
"name": "renderTooltip",
|
|
294
|
+
"privacy": "private",
|
|
295
|
+
"description": "Renderiza Tooltip"
|
|
269
296
|
},
|
|
270
297
|
{
|
|
271
|
-
"
|
|
272
|
-
"
|
|
273
|
-
"
|
|
274
|
-
"
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
298
|
+
"kind": "method",
|
|
299
|
+
"name": "handleKeyDown",
|
|
300
|
+
"privacy": "private",
|
|
301
|
+
"parameters": [
|
|
302
|
+
{
|
|
303
|
+
"name": "event",
|
|
304
|
+
"type": {
|
|
305
|
+
"text": "KeyboardEvent"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"description": "Controla navegação pelo teclado após lista de itens aberta\nDispara foco no primeiro item da lista flutuante"
|
|
278
310
|
},
|
|
279
311
|
{
|
|
280
|
-
"
|
|
281
|
-
"
|
|
282
|
-
"
|
|
312
|
+
"kind": "method",
|
|
313
|
+
"name": "handleKeyDownOut",
|
|
314
|
+
"privacy": "private",
|
|
315
|
+
"parameters": [
|
|
316
|
+
{
|
|
317
|
+
"name": "event",
|
|
318
|
+
"type": {
|
|
319
|
+
"text": "KeyboardEvent"
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
],
|
|
323
|
+
"description": "Ao finalizar navegação por teclado dentro da lista, dispara foco no item fora da lista flutuante"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"kind": "method",
|
|
327
|
+
"name": "render"
|
|
328
|
+
}
|
|
329
|
+
],
|
|
330
|
+
"attributes": [
|
|
331
|
+
{
|
|
332
|
+
"name": "custom-id",
|
|
333
|
+
"fieldName": "customId",
|
|
334
|
+
"default": "`br-breadcrumb-${breadcrumbId++}`",
|
|
335
|
+
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado.",
|
|
283
336
|
"type": {
|
|
284
337
|
"text": "string"
|
|
285
338
|
}
|
|
286
339
|
},
|
|
287
340
|
{
|
|
288
|
-
"name": "
|
|
289
|
-
"fieldName": "
|
|
290
|
-
"default": "
|
|
291
|
-
"description": "
|
|
341
|
+
"name": "home-url",
|
|
342
|
+
"fieldName": "homeUrl",
|
|
343
|
+
"default": "'/'",
|
|
344
|
+
"description": "URL para home.\nCaso não seja fornecido, o valor padrão será /.",
|
|
345
|
+
"type": {
|
|
346
|
+
"text": "string"
|
|
347
|
+
}
|
|
292
348
|
},
|
|
293
349
|
{
|
|
294
|
-
"name": "
|
|
295
|
-
"fieldName": "
|
|
296
|
-
"
|
|
297
|
-
"description": "Permite definir a cor de fundo do componente.\nAceita os seguintes formatos de cor:\n- Cores nomeadas do CSS: 'red', 'blue', 'green', 'yellow', etc.\n- Códigos hexadecimais: '#ff0000', '#00ff00', '#0000ff', etc.\n- Valores RGB: 'rgb(255, 0, 0)', 'rgb(0, 255, 0)', etc.\n- Valores RGBA: 'rgba(255, 0, 0, 0.5)', 'rgba(0, 255, 0, 0.8)', etc.\n- Valores HSL: 'hsl(0, 100%, 50%)', 'hsl(120, 100%, 50%)', etc.\n- Valores HSLA: 'hsla(0, 100%, 50%, 0.5)', 'hsla(240, 100%, 50%, 0.7)', etc.\nSe não especificada, usa a cor padrão do tema.",
|
|
350
|
+
"name": "crumbs",
|
|
351
|
+
"fieldName": "crumbs",
|
|
352
|
+
"description": "Define o array de objetos que receberá os nomes e links do breadcrumb.\nDefine valor padrão do breadcrumb 'defaultCrumbs'.",
|
|
298
353
|
"type": {
|
|
299
|
-
"text": "string"
|
|
354
|
+
"text": "string | BreadcrumbItem[]"
|
|
300
355
|
}
|
|
301
356
|
}
|
|
302
357
|
],
|
|
303
|
-
"tagName": "br-
|
|
358
|
+
"tagName": "br-breadcrumb",
|
|
304
359
|
"events": [],
|
|
305
360
|
"customElement": true
|
|
306
361
|
}
|
|
@@ -308,66 +363,47 @@
|
|
|
308
363
|
"exports": [
|
|
309
364
|
{
|
|
310
365
|
"kind": "js",
|
|
311
|
-
"name": "
|
|
366
|
+
"name": "Breadcrumb",
|
|
312
367
|
"declaration": {
|
|
313
|
-
"name": "
|
|
314
|
-
"module": "components/
|
|
368
|
+
"name": "Breadcrumb",
|
|
369
|
+
"module": "components/breadcrumb.js"
|
|
315
370
|
}
|
|
316
371
|
},
|
|
317
372
|
{
|
|
318
373
|
"kind": "custom-element-definition",
|
|
319
|
-
"name": "br-
|
|
374
|
+
"name": "br-breadcrumb",
|
|
320
375
|
"declaration": {
|
|
321
|
-
"name": "
|
|
322
|
-
"module": "components/
|
|
376
|
+
"name": "Breadcrumb",
|
|
377
|
+
"module": "components/breadcrumb.js"
|
|
323
378
|
}
|
|
324
379
|
}
|
|
325
380
|
]
|
|
326
381
|
},
|
|
327
382
|
{
|
|
328
383
|
"kind": "javascript-module",
|
|
329
|
-
"path": "components/
|
|
384
|
+
"path": "components/avatar.js",
|
|
330
385
|
"declarations": [
|
|
331
386
|
{
|
|
332
387
|
"kind": "class",
|
|
333
|
-
"description": "Para uma descrição detalhada, consulte a [documentação do GovBR-DS](https://www.gov.br/ds/components/
|
|
334
|
-
"name": "
|
|
335
|
-
"cssParts": [
|
|
336
|
-
{
|
|
337
|
-
"description": "Elemento button interno. Use para aplicar estilos customizados através de ::part(button).",
|
|
338
|
-
"name": "button"
|
|
339
|
-
}
|
|
340
|
-
],
|
|
341
|
-
"slots": [
|
|
342
|
-
{
|
|
343
|
-
"description": "Espaço de conteúdo do button. Geralmente usado para incluir o rótulo.",
|
|
344
|
-
"name": "default"
|
|
345
|
-
}
|
|
346
|
-
],
|
|
388
|
+
"description": "Para uma descrição detalhada, consulte a [documentação do GovBR-DS](https://www.gov.br/ds/components/avatar?tab=designer).\n\n## Examples",
|
|
389
|
+
"name": "Avatar",
|
|
347
390
|
"members": [
|
|
348
391
|
{
|
|
349
392
|
"kind": "field",
|
|
350
393
|
"name": "el",
|
|
351
394
|
"type": {
|
|
352
|
-
"text": "
|
|
395
|
+
"text": "HTMLBrAvatarElement"
|
|
353
396
|
},
|
|
354
397
|
"description": "Referência ao elemento host do componente.\nUtilize esta propriedade para acessar e manipular o elemento do DOM associado ao componente."
|
|
355
398
|
},
|
|
356
399
|
{
|
|
357
400
|
"kind": "field",
|
|
358
|
-
"name": "
|
|
359
|
-
"type": {
|
|
360
|
-
"text": "ElementInternals"
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
"kind": "field",
|
|
365
|
-
"name": "colorMode",
|
|
401
|
+
"name": "density",
|
|
366
402
|
"type": {
|
|
367
|
-
"text": "'
|
|
403
|
+
"text": "'small' | 'medium' | 'large'"
|
|
368
404
|
},
|
|
369
|
-
"
|
|
370
|
-
"description": "
|
|
405
|
+
"default": "'medium'",
|
|
406
|
+
"description": "Ajusta a densidade, alterando o espaçamento interno para um visual mais compacto ou mais expandido."
|
|
371
407
|
},
|
|
372
408
|
{
|
|
373
409
|
"kind": "field",
|
|
@@ -376,249 +412,272 @@
|
|
|
376
412
|
"text": "string"
|
|
377
413
|
},
|
|
378
414
|
"readonly": true,
|
|
379
|
-
"default": "`br-
|
|
415
|
+
"default": "`br-avatar-${avatarId++}`",
|
|
380
416
|
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado."
|
|
381
417
|
},
|
|
382
418
|
{
|
|
383
419
|
"kind": "field",
|
|
384
|
-
"name": "
|
|
385
|
-
"type": {
|
|
386
|
-
"text": "'large' | 'medium' | 'small'"
|
|
387
|
-
},
|
|
388
|
-
"readonly": true,
|
|
389
|
-
"default": "'medium'",
|
|
390
|
-
"description": "Ajusta a densidade, alterando o espaçamento interno para um visual mais compacto ou mais expandido."
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
"kind": "field",
|
|
394
|
-
"name": "disabled",
|
|
420
|
+
"name": "src",
|
|
395
421
|
"type": {
|
|
396
|
-
"text": "
|
|
422
|
+
"text": "string"
|
|
397
423
|
},
|
|
398
424
|
"readonly": true,
|
|
399
|
-
"
|
|
400
|
-
"description": "Desativa o botão, tornando-o não interativo."
|
|
425
|
+
"description": "URL da imagem a ser exibida no avatar do tipo 'fotográfico'.\nDeve ser uma URL válida que aponta para a imagem desejada."
|
|
401
426
|
},
|
|
402
427
|
{
|
|
403
428
|
"kind": "field",
|
|
404
|
-
"name": "
|
|
429
|
+
"name": "alt",
|
|
405
430
|
"type": {
|
|
406
|
-
"text": "
|
|
431
|
+
"text": "string"
|
|
407
432
|
},
|
|
408
433
|
"readonly": true,
|
|
409
|
-
"
|
|
434
|
+
"default": "'Foto de perfil do usuário'",
|
|
435
|
+
"description": "Texto alternativo (alt) associado à imagem do avatar. Essencial para acessibilidade.\nDeve descrever de forma clara e concisa o conteúdo da imagem, por exemplo: \"Foto de perfil de João Silva\"."
|
|
410
436
|
},
|
|
411
437
|
{
|
|
412
438
|
"kind": "field",
|
|
413
|
-
"name": "
|
|
439
|
+
"name": "isIconic",
|
|
414
440
|
"type": {
|
|
415
441
|
"text": "boolean"
|
|
416
442
|
},
|
|
417
443
|
"readonly": true,
|
|
418
444
|
"default": "false",
|
|
419
|
-
"description": "
|
|
445
|
+
"description": "Força a exibição do ícone padrão, sobrescreve outras opções (texto ou imagem).\nÚtil para manter consistência visual ou quando se deseja um avatar neutro independente do conteúdo disponível."
|
|
420
446
|
},
|
|
421
447
|
{
|
|
422
448
|
"kind": "field",
|
|
423
|
-
"name": "
|
|
449
|
+
"name": "text",
|
|
424
450
|
"type": {
|
|
425
|
-
"text": "
|
|
451
|
+
"text": "string"
|
|
426
452
|
},
|
|
427
453
|
"readonly": true,
|
|
428
|
-
"
|
|
429
|
-
"description": "Aplica o estado de \"progresso\" ao botão.\nO botão exibirá um indicador de carregamento ou progresso."
|
|
454
|
+
"description": "Conteúdo textual do avatar.\nApenas o primeiro caractere será exibido em maiúscula."
|
|
430
455
|
},
|
|
431
456
|
{
|
|
432
457
|
"kind": "field",
|
|
433
|
-
"name": "
|
|
458
|
+
"name": "disabled",
|
|
434
459
|
"type": {
|
|
435
|
-
"text": "
|
|
460
|
+
"text": "boolean"
|
|
436
461
|
},
|
|
437
462
|
"readonly": true,
|
|
438
|
-
"
|
|
463
|
+
"default": "false",
|
|
464
|
+
"description": "Define se o avatar está desabilitado"
|
|
439
465
|
},
|
|
440
466
|
{
|
|
441
467
|
"kind": "field",
|
|
442
|
-
"name": "
|
|
468
|
+
"name": "bgColor",
|
|
443
469
|
"type": {
|
|
444
|
-
"text": "
|
|
470
|
+
"text": "string"
|
|
445
471
|
},
|
|
446
472
|
"readonly": true,
|
|
447
|
-
"
|
|
473
|
+
"default": "'#DBE8FB'",
|
|
474
|
+
"description": "Permite definir a cor de fundo do componente.\nAceita os seguintes formatos de cor:\n- Cores nomeadas do CSS: 'red', 'blue', 'green', 'yellow', etc.\n- Códigos hexadecimais: '#ff0000', '#00ff00', '#0000ff', etc.\n- Valores RGB: 'rgb(255, 0, 0)', 'rgb(0, 255, 0)', etc.\n- Valores RGBA: 'rgba(255, 0, 0, 0.5)', 'rgba(0, 255, 0, 0.8)', etc.\n- Valores HSL: 'hsl(0, 100%, 50%)', 'hsl(120, 100%, 50%)', etc.\n- Valores HSLA: 'hsla(0, 100%, 50%, 0.5)', 'hsla(240, 100%, 50%, 0.7)', etc.\nSe não especificada, usa a cor padrão do tema."
|
|
448
475
|
},
|
|
449
476
|
{
|
|
450
477
|
"kind": "field",
|
|
451
|
-
"name": "
|
|
478
|
+
"name": "hasError",
|
|
452
479
|
"type": {
|
|
453
|
-
"text": "
|
|
480
|
+
"text": "boolean"
|
|
454
481
|
},
|
|
455
|
-
"
|
|
456
|
-
"
|
|
482
|
+
"privacy": "private",
|
|
483
|
+
"default": "false"
|
|
457
484
|
},
|
|
458
485
|
{
|
|
459
|
-
"kind": "
|
|
460
|
-
"name": "
|
|
461
|
-
"
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
486
|
+
"kind": "method",
|
|
487
|
+
"name": "handleDensityChange",
|
|
488
|
+
"parameters": [
|
|
489
|
+
{
|
|
490
|
+
"name": "newValue",
|
|
491
|
+
"type": {
|
|
492
|
+
"text": "'small' | 'medium' | 'large'"
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"description": "Observa mudanças na propriedade density para validação e sincronização com atributo DOM.\nGarante que apenas valores válidos sejam aceitos e atualiza o atributo no elemento host."
|
|
466
497
|
},
|
|
467
498
|
{
|
|
468
|
-
"kind": "
|
|
469
|
-
"name": "
|
|
470
|
-
"
|
|
471
|
-
|
|
499
|
+
"kind": "method",
|
|
500
|
+
"name": "getCssClassMap",
|
|
501
|
+
"privacy": "private",
|
|
502
|
+
"return": {
|
|
503
|
+
"type": {
|
|
504
|
+
"text": "CssClassMap"
|
|
505
|
+
}
|
|
472
506
|
},
|
|
473
|
-
"
|
|
474
|
-
"description": "Define o rótulo acessível do botão.\nEste rótulo é usado por tecnologias assistivas para descrever a função do botão.\nÉ especialmente importante para botões com formato circular, onde o texto pode não ser visível.\nSe o botão não tiver um rótulo acessível, uma mensagem de aviso será exibida no console."
|
|
507
|
+
"description": "Gera um mapa de classes CSS com base nas propriedades do componente."
|
|
475
508
|
},
|
|
476
509
|
{
|
|
477
|
-
"kind": "
|
|
478
|
-
"name": "
|
|
479
|
-
"
|
|
480
|
-
|
|
510
|
+
"kind": "method",
|
|
511
|
+
"name": "hasContent",
|
|
512
|
+
"privacy": "private",
|
|
513
|
+
"return": {
|
|
514
|
+
"type": {
|
|
515
|
+
"text": "boolean"
|
|
516
|
+
}
|
|
481
517
|
},
|
|
482
|
-
"
|
|
483
|
-
|
|
518
|
+
"parameters": [
|
|
519
|
+
{
|
|
520
|
+
"name": "value",
|
|
521
|
+
"type": {
|
|
522
|
+
"text": "string"
|
|
523
|
+
},
|
|
524
|
+
"description": "String a ser verificada"
|
|
525
|
+
}
|
|
526
|
+
],
|
|
527
|
+
"description": "Verifica se uma string possui conteúdo válido (não vazia após remover espaços em branco)."
|
|
484
528
|
},
|
|
485
529
|
{
|
|
486
530
|
"kind": "field",
|
|
487
|
-
"name": "
|
|
531
|
+
"name": "handleImageError",
|
|
488
532
|
"privacy": "private",
|
|
489
533
|
"readonly": true
|
|
490
534
|
},
|
|
491
535
|
{
|
|
492
536
|
"kind": "method",
|
|
493
|
-
"name": "
|
|
537
|
+
"name": "getContentClasses",
|
|
494
538
|
"privacy": "private",
|
|
495
539
|
"return": {
|
|
496
540
|
"type": {
|
|
497
|
-
"text": "
|
|
541
|
+
"text": "string"
|
|
498
542
|
}
|
|
499
|
-
}
|
|
543
|
+
},
|
|
544
|
+
"description": "Obtém as classes CSS para o elemento content."
|
|
500
545
|
},
|
|
501
546
|
{
|
|
502
547
|
"kind": "method",
|
|
503
|
-
"name": "
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
548
|
+
"name": "setCustomBackgroundColor",
|
|
549
|
+
"privacy": "private",
|
|
550
|
+
"description": "Define a variável CSS para cor de fundo personalizada para o avatar texto."
|
|
551
|
+
},
|
|
507
552
|
{
|
|
508
|
-
"
|
|
509
|
-
"
|
|
510
|
-
"
|
|
511
|
-
"
|
|
512
|
-
"
|
|
513
|
-
|
|
553
|
+
"kind": "method",
|
|
554
|
+
"name": "getAriaLabel",
|
|
555
|
+
"privacy": "private",
|
|
556
|
+
"return": {
|
|
557
|
+
"type": {
|
|
558
|
+
"text": "string"
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
"description": "Gera aria-label apropriado baseado no tipo de avatar\nPrioriza aria-label do host, senão gera automaticamente"
|
|
514
562
|
},
|
|
515
563
|
{
|
|
516
|
-
"
|
|
517
|
-
"
|
|
518
|
-
"
|
|
519
|
-
"
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
564
|
+
"kind": "method",
|
|
565
|
+
"name": "getIconSize",
|
|
566
|
+
"privacy": "private",
|
|
567
|
+
"return": {
|
|
568
|
+
"type": {
|
|
569
|
+
"text": "string"
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
"description": "Obtém o valor do token do DS para altura do ícone"
|
|
523
573
|
},
|
|
524
574
|
{
|
|
525
|
-
"
|
|
526
|
-
"
|
|
527
|
-
"
|
|
528
|
-
"
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
575
|
+
"kind": "method",
|
|
576
|
+
"name": "getIconWidth",
|
|
577
|
+
"privacy": "private",
|
|
578
|
+
"return": {
|
|
579
|
+
"type": {
|
|
580
|
+
"text": "string"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
"description": "Obtém o valor do token do DS para largura do ícone (altura + 8px)"
|
|
532
584
|
},
|
|
533
585
|
{
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
"
|
|
537
|
-
"description": "
|
|
538
|
-
"type": {
|
|
539
|
-
"text": "boolean"
|
|
540
|
-
}
|
|
586
|
+
"kind": "method",
|
|
587
|
+
"name": "renderTextAvatar",
|
|
588
|
+
"privacy": "private",
|
|
589
|
+
"description": "Renderiza o avatar do tipo 'letra/texto'.\nExibe a primeira letra do texto em maiúscula."
|
|
541
590
|
},
|
|
542
591
|
{
|
|
543
|
-
"
|
|
544
|
-
"
|
|
545
|
-
"
|
|
546
|
-
"
|
|
547
|
-
"text": "'primary' | 'secondary' | 'tertiary'"
|
|
548
|
-
}
|
|
592
|
+
"kind": "method",
|
|
593
|
+
"name": "renderImageAvatar",
|
|
594
|
+
"privacy": "private",
|
|
595
|
+
"description": "Renderiza o avatar do tipo 'fotográfico/imagem'.\nExibe uma imagem carregada via URL."
|
|
549
596
|
},
|
|
550
597
|
{
|
|
551
|
-
"
|
|
552
|
-
"
|
|
553
|
-
"
|
|
554
|
-
"description": "
|
|
555
|
-
"type": {
|
|
556
|
-
"text": "boolean"
|
|
557
|
-
}
|
|
598
|
+
"kind": "method",
|
|
599
|
+
"name": "renderIconAvatar",
|
|
600
|
+
"privacy": "private",
|
|
601
|
+
"description": "Renderiza o avatar do tipo 'icônico'.\nExibe um ícone padrão (fa-solid:user) posicionado na base do avatar."
|
|
558
602
|
},
|
|
559
603
|
{
|
|
560
|
-
"
|
|
561
|
-
"
|
|
562
|
-
"
|
|
563
|
-
"description": "
|
|
564
|
-
"type": {
|
|
565
|
-
"text": "boolean"
|
|
566
|
-
}
|
|
604
|
+
"kind": "method",
|
|
605
|
+
"name": "renderAvatar",
|
|
606
|
+
"privacy": "private",
|
|
607
|
+
"description": "Método principal de renderização do avatar.\nPrioridade: isIconic > texto > imagem > ícone (padrão)"
|
|
567
608
|
},
|
|
568
609
|
{
|
|
569
|
-
"
|
|
570
|
-
"
|
|
571
|
-
|
|
610
|
+
"kind": "method",
|
|
611
|
+
"name": "render"
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
"attributes": [
|
|
615
|
+
{
|
|
616
|
+
"name": "density",
|
|
617
|
+
"fieldName": "density",
|
|
618
|
+
"default": "'medium'",
|
|
619
|
+
"description": "Ajusta a densidade, alterando o espaçamento interno para um visual mais compacto ou mais expandido.",
|
|
572
620
|
"type": {
|
|
573
|
-
"text": "'
|
|
621
|
+
"text": "'small' | 'medium' | 'large'"
|
|
574
622
|
}
|
|
575
623
|
},
|
|
576
624
|
{
|
|
577
|
-
"name": "
|
|
578
|
-
"fieldName": "
|
|
579
|
-
"
|
|
625
|
+
"name": "custom-id",
|
|
626
|
+
"fieldName": "customId",
|
|
627
|
+
"default": "`br-avatar-${avatarId++}`",
|
|
628
|
+
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado.",
|
|
580
629
|
"type": {
|
|
581
|
-
"text": "
|
|
630
|
+
"text": "string"
|
|
582
631
|
}
|
|
583
632
|
},
|
|
584
633
|
{
|
|
585
|
-
"name": "
|
|
586
|
-
"fieldName": "
|
|
587
|
-
"description": "
|
|
634
|
+
"name": "src",
|
|
635
|
+
"fieldName": "src",
|
|
636
|
+
"description": "URL da imagem a ser exibida no avatar do tipo 'fotográfico'.\nDeve ser uma URL válida que aponta para a imagem desejada.",
|
|
588
637
|
"type": {
|
|
589
638
|
"text": "string"
|
|
590
639
|
}
|
|
591
640
|
},
|
|
592
641
|
{
|
|
593
|
-
"name": "
|
|
594
|
-
"fieldName": "
|
|
595
|
-
"
|
|
642
|
+
"name": "alt",
|
|
643
|
+
"fieldName": "alt",
|
|
644
|
+
"default": "'Foto de perfil do usuário'",
|
|
645
|
+
"description": "Texto alternativo (alt) associado à imagem do avatar. Essencial para acessibilidade.\nDeve descrever de forma clara e concisa o conteúdo da imagem, por exemplo: \"Foto de perfil de João Silva\"."
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"name": "is-iconic",
|
|
649
|
+
"fieldName": "isIconic",
|
|
650
|
+
"default": "false",
|
|
651
|
+
"description": "Força a exibição do ícone padrão, sobrescreve outras opções (texto ou imagem).\nÚtil para manter consistência visual ou quando se deseja um avatar neutro independente do conteúdo disponível.",
|
|
596
652
|
"type": {
|
|
597
|
-
"text": "
|
|
653
|
+
"text": "boolean"
|
|
598
654
|
}
|
|
599
655
|
},
|
|
600
656
|
{
|
|
601
|
-
"name": "
|
|
602
|
-
"fieldName": "
|
|
603
|
-
"description": "
|
|
657
|
+
"name": "text",
|
|
658
|
+
"fieldName": "text",
|
|
659
|
+
"description": "Conteúdo textual do avatar.\nApenas o primeiro caractere será exibido em maiúscula.",
|
|
604
660
|
"type": {
|
|
605
661
|
"text": "string"
|
|
606
662
|
}
|
|
607
663
|
},
|
|
608
664
|
{
|
|
609
|
-
"name": "
|
|
610
|
-
"fieldName": "
|
|
611
|
-
"
|
|
665
|
+
"name": "disabled",
|
|
666
|
+
"fieldName": "disabled",
|
|
667
|
+
"default": "false",
|
|
668
|
+
"description": "Define se o avatar está desabilitado"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"name": "bg-color",
|
|
672
|
+
"fieldName": "bgColor",
|
|
673
|
+
"default": "'#DBE8FB'",
|
|
674
|
+
"description": "Permite definir a cor de fundo do componente.\nAceita os seguintes formatos de cor:\n- Cores nomeadas do CSS: 'red', 'blue', 'green', 'yellow', etc.\n- Códigos hexadecimais: '#ff0000', '#00ff00', '#0000ff', etc.\n- Valores RGB: 'rgb(255, 0, 0)', 'rgb(0, 255, 0)', etc.\n- Valores RGBA: 'rgba(255, 0, 0, 0.5)', 'rgba(0, 255, 0, 0.8)', etc.\n- Valores HSL: 'hsl(0, 100%, 50%)', 'hsl(120, 100%, 50%)', etc.\n- Valores HSLA: 'hsla(0, 100%, 50%, 0.5)', 'hsla(240, 100%, 50%, 0.7)', etc.\nSe não especificada, usa a cor padrão do tema.",
|
|
612
675
|
"type": {
|
|
613
676
|
"text": "string"
|
|
614
677
|
}
|
|
615
678
|
}
|
|
616
679
|
],
|
|
617
|
-
"tagName": "br-
|
|
618
|
-
"csspart": {
|
|
619
|
-
"name": "button",
|
|
620
|
-
"description": "Elemento button interno. Use para aplicar estilos customizados através de ::part(button)."
|
|
621
|
-
},
|
|
680
|
+
"tagName": "br-avatar",
|
|
622
681
|
"events": [],
|
|
623
682
|
"customElement": true
|
|
624
683
|
}
|
|
@@ -626,37 +685,50 @@
|
|
|
626
685
|
"exports": [
|
|
627
686
|
{
|
|
628
687
|
"kind": "js",
|
|
629
|
-
"name": "
|
|
688
|
+
"name": "Avatar",
|
|
630
689
|
"declaration": {
|
|
631
|
-
"name": "
|
|
632
|
-
"module": "components/
|
|
690
|
+
"name": "Avatar",
|
|
691
|
+
"module": "components/avatar.js"
|
|
633
692
|
}
|
|
634
693
|
},
|
|
635
694
|
{
|
|
636
695
|
"kind": "custom-element-definition",
|
|
637
|
-
"name": "br-
|
|
696
|
+
"name": "br-avatar",
|
|
638
697
|
"declaration": {
|
|
639
|
-
"name": "
|
|
640
|
-
"module": "components/
|
|
698
|
+
"name": "Avatar",
|
|
699
|
+
"module": "components/avatar.js"
|
|
641
700
|
}
|
|
642
701
|
}
|
|
643
702
|
]
|
|
644
703
|
},
|
|
645
704
|
{
|
|
646
705
|
"kind": "javascript-module",
|
|
647
|
-
"path": "components/
|
|
706
|
+
"path": "components/button.js",
|
|
648
707
|
"declarations": [
|
|
649
708
|
{
|
|
650
709
|
"kind": "class",
|
|
651
|
-
"description": "",
|
|
652
|
-
"name": "
|
|
710
|
+
"description": "Para uma descrição detalhada, consulte a [documentação do GovBR-DS](https://www.gov.br/ds/components/button?tab=designer).\n\n## Examples",
|
|
711
|
+
"name": "Button",
|
|
712
|
+
"cssParts": [
|
|
713
|
+
{
|
|
714
|
+
"description": "Elemento button interno. Use para aplicar estilos customizados através de ::part(button).",
|
|
715
|
+
"name": "button"
|
|
716
|
+
}
|
|
717
|
+
],
|
|
718
|
+
"slots": [
|
|
719
|
+
{
|
|
720
|
+
"description": "Espaço de conteúdo do button. Geralmente usado para incluir o rótulo.",
|
|
721
|
+
"name": "default"
|
|
722
|
+
}
|
|
723
|
+
],
|
|
653
724
|
"members": [
|
|
654
725
|
{
|
|
655
726
|
"kind": "field",
|
|
656
727
|
"name": "el",
|
|
657
728
|
"type": {
|
|
658
|
-
"text": "
|
|
659
|
-
}
|
|
729
|
+
"text": "HTMLBrButtonElement"
|
|
730
|
+
},
|
|
731
|
+
"description": "Referência ao elemento host do componente.\nUtilize esta propriedade para acessar e manipular o elemento do DOM associado ao componente."
|
|
660
732
|
},
|
|
661
733
|
{
|
|
662
734
|
"kind": "field",
|
|
@@ -665,6 +737,15 @@
|
|
|
665
737
|
"text": "ElementInternals"
|
|
666
738
|
}
|
|
667
739
|
},
|
|
740
|
+
{
|
|
741
|
+
"kind": "field",
|
|
742
|
+
"name": "colorMode",
|
|
743
|
+
"type": {
|
|
744
|
+
"text": "'dark'"
|
|
745
|
+
},
|
|
746
|
+
"readonly": true,
|
|
747
|
+
"description": "Define se o botão usará um esquema de cores escuro."
|
|
748
|
+
},
|
|
668
749
|
{
|
|
669
750
|
"kind": "field",
|
|
670
751
|
"name": "customId",
|
|
@@ -672,330 +753,249 @@
|
|
|
672
753
|
"text": "string"
|
|
673
754
|
},
|
|
674
755
|
"readonly": true,
|
|
675
|
-
"default": "`br-
|
|
756
|
+
"default": "`br-button-${buttonId++}`",
|
|
676
757
|
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado."
|
|
677
758
|
},
|
|
678
759
|
{
|
|
679
760
|
"kind": "field",
|
|
680
|
-
"name": "
|
|
761
|
+
"name": "density",
|
|
681
762
|
"type": {
|
|
682
|
-
"text": "
|
|
763
|
+
"text": "'large' | 'medium' | 'small'"
|
|
683
764
|
},
|
|
684
|
-
"
|
|
685
|
-
"
|
|
765
|
+
"readonly": true,
|
|
766
|
+
"default": "'medium'",
|
|
767
|
+
"description": "Ajusta a densidade, alterando o espaçamento interno para um visual mais compacto ou mais expandido."
|
|
686
768
|
},
|
|
687
769
|
{
|
|
688
770
|
"kind": "field",
|
|
689
|
-
"name": "
|
|
771
|
+
"name": "disabled",
|
|
690
772
|
"type": {
|
|
691
|
-
"text": "
|
|
773
|
+
"text": "boolean"
|
|
692
774
|
},
|
|
693
|
-
"
|
|
775
|
+
"readonly": true,
|
|
776
|
+
"default": "false",
|
|
777
|
+
"description": "Desativa o botão, tornando-o não interativo."
|
|
694
778
|
},
|
|
695
779
|
{
|
|
696
780
|
"kind": "field",
|
|
697
|
-
"name": "
|
|
781
|
+
"name": "emphasis",
|
|
698
782
|
"type": {
|
|
699
|
-
"text": "
|
|
783
|
+
"text": "'primary' | 'secondary' | 'tertiary'"
|
|
700
784
|
},
|
|
701
|
-
"
|
|
702
|
-
"
|
|
785
|
+
"readonly": true,
|
|
786
|
+
"description": "Define a ênfase do botão, alterando sua aparência para criar hierarquia visual e destacar ações importantes."
|
|
703
787
|
},
|
|
704
788
|
{
|
|
705
789
|
"kind": "field",
|
|
706
|
-
"name": "
|
|
790
|
+
"name": "isActive",
|
|
707
791
|
"type": {
|
|
708
792
|
"text": "boolean"
|
|
709
793
|
},
|
|
794
|
+
"readonly": true,
|
|
710
795
|
"default": "false",
|
|
711
|
-
"description": "
|
|
796
|
+
"description": "Indica se o botão está no estado ativo.\nSe definido como verdadeiro, o botão será exibido como ativo."
|
|
712
797
|
},
|
|
713
798
|
{
|
|
714
799
|
"kind": "field",
|
|
715
|
-
"name": "
|
|
800
|
+
"name": "isLoading",
|
|
716
801
|
"type": {
|
|
717
|
-
"text": "
|
|
802
|
+
"text": "boolean"
|
|
718
803
|
},
|
|
719
|
-
"
|
|
720
|
-
"
|
|
804
|
+
"readonly": true,
|
|
805
|
+
"default": "false",
|
|
806
|
+
"description": "Aplica o estado de \"progresso\" ao botão.\nO botão exibirá um indicador de carregamento ou progresso."
|
|
721
807
|
},
|
|
722
808
|
{
|
|
723
809
|
"kind": "field",
|
|
724
|
-
"name": "
|
|
810
|
+
"name": "shape",
|
|
725
811
|
"type": {
|
|
726
|
-
"text": "
|
|
812
|
+
"text": "'circle' | 'block' | 'pill'"
|
|
727
813
|
},
|
|
728
|
-
"
|
|
729
|
-
"description": "Define o
|
|
814
|
+
"readonly": true,
|
|
815
|
+
"description": "Define o formato do botão.\nValores possíveis:\n- 'circle': Botão com formato circular.\n- 'block': Botão com formato ovalado ocupando toda a largura disponível.\n- 'pill': Botão com formato ovalado, com bordas arredondadas."
|
|
730
816
|
},
|
|
731
817
|
{
|
|
732
818
|
"kind": "field",
|
|
733
|
-
"name": "
|
|
819
|
+
"name": "type",
|
|
734
820
|
"type": {
|
|
735
|
-
"text": "
|
|
821
|
+
"text": "'button' | 'reset' | 'submit'"
|
|
736
822
|
},
|
|
737
|
-
"
|
|
738
|
-
"description": "Define o
|
|
823
|
+
"readonly": true,
|
|
824
|
+
"description": "Define o tipo de botão, especificando seu comportamento padrão.\nValores possíveis:\n- 'button': Um botão padrão.\n- 'reset': Um botão para redefinir o formulário.\n- 'submit': Um botão para enviar o formulário."
|
|
739
825
|
},
|
|
740
826
|
{
|
|
741
827
|
"kind": "field",
|
|
742
|
-
"name": "
|
|
828
|
+
"name": "value",
|
|
743
829
|
"type": {
|
|
744
|
-
"text": "
|
|
830
|
+
"text": "string"
|
|
745
831
|
},
|
|
746
|
-
"
|
|
747
|
-
"description": "Define
|
|
832
|
+
"readonly": true,
|
|
833
|
+
"description": "Define o valor inicial do botão em um formulário."
|
|
748
834
|
},
|
|
749
835
|
{
|
|
750
836
|
"kind": "field",
|
|
751
|
-
"name": "
|
|
837
|
+
"name": "customTabIndex",
|
|
752
838
|
"type": {
|
|
753
|
-
"text": "number"
|
|
839
|
+
"text": "number | undefined"
|
|
754
840
|
},
|
|
755
|
-
"
|
|
756
|
-
"description": "
|
|
841
|
+
"readonly": true,
|
|
842
|
+
"description": "Define o índice de tabulação do botão.\nÚtil para remover o botão da sequência de tabulação (tabindex=\"-1\") quando ele é puramente decorativo ou o foco é gerenciado por um componente pai."
|
|
757
843
|
},
|
|
758
844
|
{
|
|
759
845
|
"kind": "field",
|
|
760
|
-
"name": "
|
|
846
|
+
"name": "ariaLabel",
|
|
761
847
|
"type": {
|
|
762
|
-
"text": "
|
|
848
|
+
"text": "string"
|
|
763
849
|
},
|
|
764
|
-
"
|
|
765
|
-
"description": "
|
|
850
|
+
"readonly": true,
|
|
851
|
+
"description": "Define o rótulo acessível do botão.\nEste rótulo é usado por tecnologias assistivas para descrever a função do botão.\nÉ especialmente importante para botões com formato circular, onde o texto pode não ser visível.\nSe o botão não tiver um rótulo acessível, uma mensagem de aviso será exibida no console."
|
|
766
852
|
},
|
|
767
853
|
{
|
|
768
854
|
"kind": "field",
|
|
769
|
-
"name": "
|
|
855
|
+
"name": "ariaPressed",
|
|
770
856
|
"type": {
|
|
771
|
-
"text": "
|
|
857
|
+
"text": "string"
|
|
772
858
|
},
|
|
773
|
-
"
|
|
774
|
-
"description": "Define o estado do botão
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
"kind": "method",
|
|
778
|
-
"name": "trunc",
|
|
779
|
-
"privacy": "private",
|
|
780
|
-
"parameters": [
|
|
781
|
-
{
|
|
782
|
-
"name": "word",
|
|
783
|
-
"type": {
|
|
784
|
-
"text": "string"
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
],
|
|
788
|
-
"description": "Verifica se o texto do link contém mais de 20 caracteres e realiza o truncamento deste caso positivo.\nO número de caracteres pode ser configurado na variável 'charactersNumberTruncate'."
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
"kind": "method",
|
|
792
|
-
"name": "handleMouseOver",
|
|
793
|
-
"privacy": "private",
|
|
794
|
-
"parameters": [
|
|
795
|
-
{
|
|
796
|
-
"name": "event",
|
|
797
|
-
"type": {
|
|
798
|
-
"text": "MouseEvent"
|
|
799
|
-
}
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
"name": "text",
|
|
803
|
-
"type": {
|
|
804
|
-
"text": "string"
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
],
|
|
808
|
-
"description": "Exibe o tooltip e define seu posicionamento, caso o usuário realize o 'mouse over'."
|
|
859
|
+
"readonly": true,
|
|
860
|
+
"description": "Define o estado de pressionado do botão.\nEste atributo é usado para indicar se o botão está atualmente pressionado ou não.\nÉ especialmente útil para botões que podem ser alternados entre os estados pressionado e não pressionado.\nO valor deve ser 'true' ou 'false'."
|
|
809
861
|
},
|
|
810
862
|
{
|
|
811
|
-
"kind": "
|
|
812
|
-
"name": "
|
|
863
|
+
"kind": "field",
|
|
864
|
+
"name": "handleClick",
|
|
813
865
|
"privacy": "private",
|
|
814
|
-
"
|
|
866
|
+
"readonly": true
|
|
815
867
|
},
|
|
816
868
|
{
|
|
817
869
|
"kind": "method",
|
|
818
|
-
"name": "
|
|
870
|
+
"name": "getCssClassMap",
|
|
819
871
|
"privacy": "private",
|
|
820
872
|
"return": {
|
|
821
873
|
"type": {
|
|
822
|
-
"text": "
|
|
874
|
+
"text": "CssClassMap"
|
|
823
875
|
}
|
|
824
|
-
}
|
|
825
|
-
"description": "Converte de string para JSON o valor passado na propriedade 'crumbs'.\nRetorna o valor padrão do Breadcrumbs caso crumbs seja vazio ou inválido"
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
"kind": "method",
|
|
829
|
-
"name": "handleHomeClick",
|
|
830
|
-
"privacy": "private",
|
|
831
|
-
"description": "Ao clicar no botão HOME, direciona o usuário para URL passada na propriedade 'homeUrl'."
|
|
832
|
-
},
|
|
833
|
-
{
|
|
834
|
-
"kind": "method",
|
|
835
|
-
"name": "toggleFolder",
|
|
836
|
-
"privacy": "private",
|
|
837
|
-
"description": "Altera o estado do botão 'Folder', caso a lista dropdown esteja aberta ou fechada."
|
|
876
|
+
}
|
|
838
877
|
},
|
|
839
878
|
{
|
|
840
879
|
"kind": "method",
|
|
841
|
-
"name": "
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
"text": "{ [key: string]: boolean }"
|
|
846
|
-
}
|
|
847
|
-
},
|
|
848
|
-
"description": "Define as classes CSS usadas no breadcrumb."
|
|
849
|
-
},
|
|
880
|
+
"name": "render"
|
|
881
|
+
}
|
|
882
|
+
],
|
|
883
|
+
"attributes": [
|
|
850
884
|
{
|
|
851
|
-
"
|
|
852
|
-
"
|
|
885
|
+
"name": "color-mode",
|
|
886
|
+
"fieldName": "colorMode",
|
|
887
|
+
"description": "Define se o botão usará um esquema de cores escuro.",
|
|
853
888
|
"type": {
|
|
854
|
-
"text": "
|
|
855
|
-
}
|
|
856
|
-
"privacy": "private",
|
|
857
|
-
"description": "Atualiza o estado 'isSmallScreen' com base no tamanho do container pai, se menor que 570px."
|
|
858
|
-
},
|
|
859
|
-
{
|
|
860
|
-
"kind": "field",
|
|
861
|
-
"name": "updateContainerSize",
|
|
862
|
-
"privacy": "private",
|
|
863
|
-
"description": "Atualiza os estados de largura do breadcrumb ao detectar mudanças no container pai."
|
|
864
|
-
},
|
|
865
|
-
{
|
|
866
|
-
"kind": "method",
|
|
867
|
-
"name": "calcularLarguraItens",
|
|
868
|
-
"privacy": "private",
|
|
869
|
-
"description": "Calcula a largura total dos itens do breadcrumb para determinar se precisa de truncamento."
|
|
889
|
+
"text": "'dark'"
|
|
890
|
+
}
|
|
870
891
|
},
|
|
871
892
|
{
|
|
872
|
-
"
|
|
873
|
-
"
|
|
874
|
-
"
|
|
875
|
-
"description": "
|
|
893
|
+
"name": "custom-id",
|
|
894
|
+
"fieldName": "customId",
|
|
895
|
+
"default": "`br-button-${buttonId++}`",
|
|
896
|
+
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado.",
|
|
897
|
+
"type": {
|
|
898
|
+
"text": "string"
|
|
899
|
+
}
|
|
876
900
|
},
|
|
877
901
|
{
|
|
878
|
-
"
|
|
879
|
-
"
|
|
880
|
-
"
|
|
881
|
-
"description": "
|
|
902
|
+
"name": "density",
|
|
903
|
+
"fieldName": "density",
|
|
904
|
+
"default": "'medium'",
|
|
905
|
+
"description": "Ajusta a densidade, alterando o espaçamento interno para um visual mais compacto ou mais expandido.",
|
|
906
|
+
"type": {
|
|
907
|
+
"text": "'large' | 'medium' | 'small'"
|
|
908
|
+
}
|
|
882
909
|
},
|
|
883
910
|
{
|
|
884
|
-
"
|
|
885
|
-
"
|
|
886
|
-
"
|
|
887
|
-
"description": "
|
|
911
|
+
"name": "disabled",
|
|
912
|
+
"fieldName": "disabled",
|
|
913
|
+
"default": "false",
|
|
914
|
+
"description": "Desativa o botão, tornando-o não interativo.",
|
|
915
|
+
"type": {
|
|
916
|
+
"text": "boolean"
|
|
917
|
+
}
|
|
888
918
|
},
|
|
889
919
|
{
|
|
890
|
-
"
|
|
891
|
-
"
|
|
892
|
-
"
|
|
893
|
-
"
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
"type": {
|
|
897
|
-
"text": "BreadcrumbItem[]"
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
],
|
|
901
|
-
"description": "Renderiza item da página atual"
|
|
920
|
+
"name": "emphasis",
|
|
921
|
+
"fieldName": "emphasis",
|
|
922
|
+
"description": "Define a ênfase do botão, alterando sua aparência para criar hierarquia visual e destacar ações importantes.",
|
|
923
|
+
"type": {
|
|
924
|
+
"text": "'primary' | 'secondary' | 'tertiary'"
|
|
925
|
+
}
|
|
902
926
|
},
|
|
903
927
|
{
|
|
904
|
-
"
|
|
905
|
-
"
|
|
906
|
-
"
|
|
907
|
-
"
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
"text": "BreadcrumbItem[]"
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
],
|
|
915
|
-
"description": "Renderiza Lista dropdown contendo os itens do Breadcrumb"
|
|
928
|
+
"name": "is-active",
|
|
929
|
+
"fieldName": "isActive",
|
|
930
|
+
"default": "false",
|
|
931
|
+
"description": "Indica se o botão está no estado ativo.\nSe definido como verdadeiro, o botão será exibido como ativo.",
|
|
932
|
+
"type": {
|
|
933
|
+
"text": "boolean"
|
|
934
|
+
}
|
|
916
935
|
},
|
|
917
936
|
{
|
|
918
|
-
"
|
|
919
|
-
"
|
|
920
|
-
"
|
|
921
|
-
"
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
"text": "BreadcrumbItem"
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
],
|
|
929
|
-
"description": "Renderiza itens do Breadcrumb no formato desktop"
|
|
937
|
+
"name": "is-loading",
|
|
938
|
+
"fieldName": "isLoading",
|
|
939
|
+
"default": "false",
|
|
940
|
+
"description": "Aplica o estado de \"progresso\" ao botão.\nO botão exibirá um indicador de carregamento ou progresso.",
|
|
941
|
+
"type": {
|
|
942
|
+
"text": "boolean"
|
|
943
|
+
}
|
|
930
944
|
},
|
|
931
945
|
{
|
|
932
|
-
"
|
|
933
|
-
"
|
|
934
|
-
"
|
|
935
|
-
"
|
|
946
|
+
"name": "shape",
|
|
947
|
+
"fieldName": "shape",
|
|
948
|
+
"description": "Define o formato do botão.\nValores possíveis:\n- 'circle': Botão com formato circular.\n- 'block': Botão com formato ovalado ocupando toda a largura disponível.\n- 'pill': Botão com formato ovalado, com bordas arredondadas.",
|
|
949
|
+
"type": {
|
|
950
|
+
"text": "'circle' | 'block' | 'pill'"
|
|
951
|
+
}
|
|
936
952
|
},
|
|
937
953
|
{
|
|
938
|
-
"
|
|
939
|
-
"
|
|
940
|
-
"
|
|
941
|
-
"
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
"type": {
|
|
945
|
-
"text": "KeyboardEvent"
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
],
|
|
949
|
-
"description": "Controla navegação pelo teclado após lista de itens aberta\nDispara foco no primeiro item da lista flutuante"
|
|
954
|
+
"name": "type",
|
|
955
|
+
"fieldName": "type",
|
|
956
|
+
"description": "Define o tipo de botão, especificando seu comportamento padrão.\nValores possíveis:\n- 'button': Um botão padrão.\n- 'reset': Um botão para redefinir o formulário.\n- 'submit': Um botão para enviar o formulário.",
|
|
957
|
+
"type": {
|
|
958
|
+
"text": "'button' | 'reset' | 'submit'"
|
|
959
|
+
}
|
|
950
960
|
},
|
|
951
961
|
{
|
|
952
|
-
"
|
|
953
|
-
"
|
|
954
|
-
"
|
|
955
|
-
"
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
"type": {
|
|
959
|
-
"text": "KeyboardEvent"
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
],
|
|
963
|
-
"description": "Ao finalizar navegação por teclado dentro da lista, dispara foco no item fora da lista flutuante"
|
|
962
|
+
"name": "value",
|
|
963
|
+
"fieldName": "value",
|
|
964
|
+
"description": "Define o valor inicial do botão em um formulário.",
|
|
965
|
+
"type": {
|
|
966
|
+
"text": "string"
|
|
967
|
+
}
|
|
964
968
|
},
|
|
965
969
|
{
|
|
966
|
-
"
|
|
967
|
-
"
|
|
968
|
-
|
|
969
|
-
],
|
|
970
|
-
"attributes": [
|
|
971
|
-
{
|
|
972
|
-
"name": "custom-id",
|
|
973
|
-
"fieldName": "customId",
|
|
974
|
-
"default": "`br-breadcrumb-${breadcrumbId++}`",
|
|
975
|
-
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado.",
|
|
970
|
+
"name": "custom-tab-index",
|
|
971
|
+
"fieldName": "customTabIndex",
|
|
972
|
+
"description": "Define o índice de tabulação do botão.\nÚtil para remover o botão da sequência de tabulação (tabindex=\"-1\") quando ele é puramente decorativo ou o foco é gerenciado por um componente pai.",
|
|
976
973
|
"type": {
|
|
977
|
-
"text": "
|
|
974
|
+
"text": "number"
|
|
978
975
|
}
|
|
979
976
|
},
|
|
980
977
|
{
|
|
981
|
-
"name": "
|
|
982
|
-
"fieldName": "
|
|
983
|
-
"
|
|
984
|
-
"description": "URL para home.\nCaso não seja fornecido, o valor padrão será /.",
|
|
978
|
+
"name": "aria-label",
|
|
979
|
+
"fieldName": "ariaLabel",
|
|
980
|
+
"description": "Define o rótulo acessível do botão.\nEste rótulo é usado por tecnologias assistivas para descrever a função do botão.\nÉ especialmente importante para botões com formato circular, onde o texto pode não ser visível.\nSe o botão não tiver um rótulo acessível, uma mensagem de aviso será exibida no console.",
|
|
985
981
|
"type": {
|
|
986
982
|
"text": "string"
|
|
987
983
|
}
|
|
988
984
|
},
|
|
989
985
|
{
|
|
990
|
-
"name": "
|
|
991
|
-
"fieldName": "
|
|
992
|
-
"description": "Define o
|
|
986
|
+
"name": "aria-pressed",
|
|
987
|
+
"fieldName": "ariaPressed",
|
|
988
|
+
"description": "Define o estado de pressionado do botão.\nEste atributo é usado para indicar se o botão está atualmente pressionado ou não.\nÉ especialmente útil para botões que podem ser alternados entre os estados pressionado e não pressionado.\nO valor deve ser 'true' ou 'false'.",
|
|
993
989
|
"type": {
|
|
994
|
-
"text": "string
|
|
990
|
+
"text": "string"
|
|
995
991
|
}
|
|
996
992
|
}
|
|
997
993
|
],
|
|
998
|
-
"tagName": "br-
|
|
994
|
+
"tagName": "br-button",
|
|
995
|
+
"csspart": {
|
|
996
|
+
"name": "button",
|
|
997
|
+
"description": "Elemento button interno. Use para aplicar estilos customizados através de ::part(button)."
|
|
998
|
+
},
|
|
999
999
|
"events": [],
|
|
1000
1000
|
"customElement": true
|
|
1001
1001
|
}
|
|
@@ -1003,18 +1003,18 @@
|
|
|
1003
1003
|
"exports": [
|
|
1004
1004
|
{
|
|
1005
1005
|
"kind": "js",
|
|
1006
|
-
"name": "
|
|
1006
|
+
"name": "Button",
|
|
1007
1007
|
"declaration": {
|
|
1008
|
-
"name": "
|
|
1009
|
-
"module": "components/
|
|
1008
|
+
"name": "Button",
|
|
1009
|
+
"module": "components/button.js"
|
|
1010
1010
|
}
|
|
1011
1011
|
},
|
|
1012
1012
|
{
|
|
1013
1013
|
"kind": "custom-element-definition",
|
|
1014
|
-
"name": "br-
|
|
1014
|
+
"name": "br-button",
|
|
1015
1015
|
"declaration": {
|
|
1016
|
-
"name": "
|
|
1017
|
-
"module": "components/
|
|
1016
|
+
"name": "Button",
|
|
1017
|
+
"module": "components/button.js"
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
1020
|
]
|
|
@@ -1195,7 +1195,244 @@
|
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
1197
1197
|
],
|
|
1198
|
-
"tagName": "br-card",
|
|
1198
|
+
"tagName": "br-card",
|
|
1199
|
+
"events": [],
|
|
1200
|
+
"customElement": true
|
|
1201
|
+
}
|
|
1202
|
+
],
|
|
1203
|
+
"exports": [
|
|
1204
|
+
{
|
|
1205
|
+
"kind": "js",
|
|
1206
|
+
"name": "BrCard",
|
|
1207
|
+
"declaration": {
|
|
1208
|
+
"name": "BrCard",
|
|
1209
|
+
"module": "components/card.js"
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"kind": "custom-element-definition",
|
|
1214
|
+
"name": "br-card",
|
|
1215
|
+
"declaration": {
|
|
1216
|
+
"name": "BrCard",
|
|
1217
|
+
"module": "components/card.js"
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
]
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"kind": "javascript-module",
|
|
1224
|
+
"path": "components/checkgroup.js",
|
|
1225
|
+
"declarations": [
|
|
1226
|
+
{
|
|
1227
|
+
"kind": "class",
|
|
1228
|
+
"description": "Para uma descrição detalhada, consulte a [documentação do GovBR-DS](https://www.gov.br/ds/utilitarios/js/checkgroup?tab=desenvolvedor).\n\n## Examples",
|
|
1229
|
+
"name": "Checkgroup",
|
|
1230
|
+
"slots": [
|
|
1231
|
+
{
|
|
1232
|
+
"description": "Slot para adicionar os checkboxes que serão controlados pelo checkgroup.",
|
|
1233
|
+
"name": "default"
|
|
1234
|
+
}
|
|
1235
|
+
],
|
|
1236
|
+
"members": [
|
|
1237
|
+
{
|
|
1238
|
+
"kind": "field",
|
|
1239
|
+
"name": "el",
|
|
1240
|
+
"type": {
|
|
1241
|
+
"text": "HTMLBrCheckgroupElement"
|
|
1242
|
+
},
|
|
1243
|
+
"description": "Referência ao elemento host do componente.\nUtilize esta propriedade para acessar e manipular o elemento do DOM associado ao componente."
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"kind": "field",
|
|
1247
|
+
"name": "elementInternals",
|
|
1248
|
+
"type": {
|
|
1249
|
+
"text": "ElementInternals"
|
|
1250
|
+
}
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"kind": "field",
|
|
1254
|
+
"name": "label",
|
|
1255
|
+
"type": {
|
|
1256
|
+
"text": "string"
|
|
1257
|
+
},
|
|
1258
|
+
"description": "Texto descritivo do grupo."
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"kind": "field",
|
|
1262
|
+
"name": "labelSelecionado",
|
|
1263
|
+
"type": {
|
|
1264
|
+
"text": "string"
|
|
1265
|
+
},
|
|
1266
|
+
"default": "'Desselecionar tudo'",
|
|
1267
|
+
"description": "Define o texto do label quando o checkbox está marcado."
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"kind": "field",
|
|
1271
|
+
"name": "labelDesselecionado",
|
|
1272
|
+
"type": {
|
|
1273
|
+
"text": "string"
|
|
1274
|
+
},
|
|
1275
|
+
"default": "'Selecionar tudo'",
|
|
1276
|
+
"description": "Define o texto do label quando o checkbox está desmarcado."
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"kind": "field",
|
|
1280
|
+
"name": "indeterminate",
|
|
1281
|
+
"type": {
|
|
1282
|
+
"text": "boolean"
|
|
1283
|
+
},
|
|
1284
|
+
"default": "false",
|
|
1285
|
+
"description": "Define o estado intermediário do checkbox.\nSe definido como verdadeiro, o checkbox exibirá um estado intermediário, que é um estado visual que indica que a opção está parcialmente selecionada.\nEste estado é útil quando o checkbox faz parte de um grupo com seleção parcial."
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"kind": "field",
|
|
1289
|
+
"name": "customId",
|
|
1290
|
+
"type": {
|
|
1291
|
+
"text": "string"
|
|
1292
|
+
},
|
|
1293
|
+
"readonly": true,
|
|
1294
|
+
"default": "`br-checkgroup-${checkgroupId++}`",
|
|
1295
|
+
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado."
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"kind": "field",
|
|
1299
|
+
"name": "checked",
|
|
1300
|
+
"type": {
|
|
1301
|
+
"text": "boolean"
|
|
1302
|
+
},
|
|
1303
|
+
"default": "false",
|
|
1304
|
+
"description": "Define o estado de seleção do checkbox.\nSe definido como verdadeiro, o checkbox estará marcado. Caso contrário, estará desmarcado."
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
"kind": "field",
|
|
1308
|
+
"name": "isIndeterminate",
|
|
1309
|
+
"type": {
|
|
1310
|
+
"text": "boolean"
|
|
1311
|
+
},
|
|
1312
|
+
"default": "false",
|
|
1313
|
+
"description": "Indica se o grupo de checkboxes está indeterminado"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"kind": "field",
|
|
1317
|
+
"name": "numberOfChildren",
|
|
1318
|
+
"type": {
|
|
1319
|
+
"text": "number"
|
|
1320
|
+
},
|
|
1321
|
+
"default": "0"
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"kind": "method",
|
|
1325
|
+
"name": "getCssClassMap",
|
|
1326
|
+
"privacy": "private",
|
|
1327
|
+
"return": {
|
|
1328
|
+
"type": {
|
|
1329
|
+
"text": "CssClassMap"
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
"kind": "method",
|
|
1335
|
+
"name": "handleChange",
|
|
1336
|
+
"parameters": [
|
|
1337
|
+
{
|
|
1338
|
+
"name": "event",
|
|
1339
|
+
"type": {
|
|
1340
|
+
"text": "Event"
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
]
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
"kind": "method",
|
|
1347
|
+
"name": "isParentCheckbox",
|
|
1348
|
+
"privacy": "private",
|
|
1349
|
+
"return": {
|
|
1350
|
+
"type": {
|
|
1351
|
+
"text": "boolean"
|
|
1352
|
+
}
|
|
1353
|
+
},
|
|
1354
|
+
"parameters": [
|
|
1355
|
+
{
|
|
1356
|
+
"name": "target",
|
|
1357
|
+
"type": {
|
|
1358
|
+
"text": "HTMLBrCheckboxElement"
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
]
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"kind": "field",
|
|
1365
|
+
"name": "handleAllCheckboxChange",
|
|
1366
|
+
"privacy": "private",
|
|
1367
|
+
"readonly": true
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"kind": "method",
|
|
1371
|
+
"name": "updateGroupState",
|
|
1372
|
+
"privacy": "private"
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"kind": "method",
|
|
1376
|
+
"name": "setNumberOfChildren",
|
|
1377
|
+
"privacy": "private"
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"kind": "method",
|
|
1381
|
+
"name": "monitorSlotChanges",
|
|
1382
|
+
"privacy": "private"
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"kind": "method",
|
|
1386
|
+
"name": "render"
|
|
1387
|
+
}
|
|
1388
|
+
],
|
|
1389
|
+
"attributes": [
|
|
1390
|
+
{
|
|
1391
|
+
"name": "label",
|
|
1392
|
+
"fieldName": "label",
|
|
1393
|
+
"description": "Texto descritivo do grupo.",
|
|
1394
|
+
"type": {
|
|
1395
|
+
"text": "string"
|
|
1396
|
+
}
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"name": "label-selecionado",
|
|
1400
|
+
"fieldName": "labelSelecionado",
|
|
1401
|
+
"default": "'Desselecionar tudo'",
|
|
1402
|
+
"description": "Define o texto do label quando o checkbox está marcado.",
|
|
1403
|
+
"type": {
|
|
1404
|
+
"text": "string"
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"name": "label-desselecionado",
|
|
1409
|
+
"fieldName": "labelDesselecionado",
|
|
1410
|
+
"default": "'Selecionar tudo'",
|
|
1411
|
+
"description": "Define o texto do label quando o checkbox está desmarcado.",
|
|
1412
|
+
"type": {
|
|
1413
|
+
"text": "string"
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"name": "indeterminate",
|
|
1418
|
+
"fieldName": "indeterminate",
|
|
1419
|
+
"default": "false",
|
|
1420
|
+
"description": "Define o estado intermediário do checkbox.\nSe definido como verdadeiro, o checkbox exibirá um estado intermediário, que é um estado visual que indica que a opção está parcialmente selecionada.\nEste estado é útil quando o checkbox faz parte de um grupo com seleção parcial.",
|
|
1421
|
+
"type": {
|
|
1422
|
+
"text": "boolean"
|
|
1423
|
+
}
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"name": "custom-id",
|
|
1427
|
+
"fieldName": "customId",
|
|
1428
|
+
"default": "`br-checkgroup-${checkgroupId++}`",
|
|
1429
|
+
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado.",
|
|
1430
|
+
"type": {
|
|
1431
|
+
"text": "string"
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
],
|
|
1435
|
+
"tagName": "br-checkgroup",
|
|
1199
1436
|
"events": [],
|
|
1200
1437
|
"customElement": true
|
|
1201
1438
|
}
|
|
@@ -1203,18 +1440,18 @@
|
|
|
1203
1440
|
"exports": [
|
|
1204
1441
|
{
|
|
1205
1442
|
"kind": "js",
|
|
1206
|
-
"name": "
|
|
1443
|
+
"name": "Checkgroup",
|
|
1207
1444
|
"declaration": {
|
|
1208
|
-
"name": "
|
|
1209
|
-
"module": "components/
|
|
1445
|
+
"name": "Checkgroup",
|
|
1446
|
+
"module": "components/checkgroup.js"
|
|
1210
1447
|
}
|
|
1211
1448
|
},
|
|
1212
1449
|
{
|
|
1213
1450
|
"kind": "custom-element-definition",
|
|
1214
|
-
"name": "br-
|
|
1451
|
+
"name": "br-checkgroup",
|
|
1215
1452
|
"declaration": {
|
|
1216
|
-
"name": "
|
|
1217
|
-
"module": "components/
|
|
1453
|
+
"name": "Checkgroup",
|
|
1454
|
+
"module": "components/checkgroup.js"
|
|
1218
1455
|
}
|
|
1219
1456
|
}
|
|
1220
1457
|
]
|
|
@@ -1745,320 +1982,83 @@
|
|
|
1745
1982
|
"name": "open",
|
|
1746
1983
|
"fieldName": "open",
|
|
1747
1984
|
"default": "false",
|
|
1748
|
-
"description": "Define se o collapse está aberto ou fechado.",
|
|
1749
|
-
"type": {
|
|
1750
|
-
"text": "boolean"
|
|
1751
|
-
}
|
|
1752
|
-
},
|
|
1753
|
-
{
|
|
1754
|
-
"name": "accordion-group",
|
|
1755
|
-
"fieldName": "accordionGroup",
|
|
1756
|
-
"default": "null",
|
|
1757
|
-
"description": "Define se o collapse faz parte de um accordion",
|
|
1758
|
-
"type": {
|
|
1759
|
-
"text": "string"
|
|
1760
|
-
}
|
|
1761
|
-
},
|
|
1762
|
-
{
|
|
1763
|
-
"name": "icon-to-show",
|
|
1764
|
-
"fieldName": "iconToShow",
|
|
1765
|
-
"default": "'fa6-solid:chevron-down'",
|
|
1766
|
-
"description": "Classe CSS para o ícone de expansão",
|
|
1767
|
-
"type": {
|
|
1768
|
-
"text": "string"
|
|
1769
|
-
}
|
|
1770
|
-
},
|
|
1771
|
-
{
|
|
1772
|
-
"name": "icon-to-hide",
|
|
1773
|
-
"fieldName": "iconToHide",
|
|
1774
|
-
"default": "'fa6-solid:chevron-up'",
|
|
1775
|
-
"description": "Classe CSS para o ícone de recolhimento",
|
|
1776
|
-
"type": {
|
|
1777
|
-
"text": "string"
|
|
1778
|
-
}
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
"name": "icon-position",
|
|
1782
|
-
"fieldName": "iconPosition",
|
|
1783
|
-
"default": "'right'",
|
|
1784
|
-
"description": "Define a posição do ícone: 'left' ou 'right'",
|
|
1785
|
-
"type": {
|
|
1786
|
-
"text": "'left' | 'right'"
|
|
1787
|
-
}
|
|
1788
|
-
}
|
|
1789
|
-
],
|
|
1790
|
-
"tagName": "br-collapse",
|
|
1791
|
-
"events": [
|
|
1792
|
-
{
|
|
1793
|
-
"name": "brDidOpen",
|
|
1794
|
-
"type": {
|
|
1795
|
-
"text": "EventEmitter<{ id: string; accordionGroup: string }>"
|
|
1796
|
-
},
|
|
1797
|
-
"description": "Evento emitido ao expandir."
|
|
1798
|
-
},
|
|
1799
|
-
{
|
|
1800
|
-
"name": "brDidClose",
|
|
1801
|
-
"type": {
|
|
1802
|
-
"text": "EventEmitter<{ id: string; accordionGroup: string }>"
|
|
1803
|
-
},
|
|
1804
|
-
"description": "Evento emitido ao recolher."
|
|
1805
|
-
}
|
|
1806
|
-
],
|
|
1807
|
-
"customElement": true
|
|
1808
|
-
}
|
|
1809
|
-
],
|
|
1810
|
-
"exports": [
|
|
1811
|
-
{
|
|
1812
|
-
"kind": "js",
|
|
1813
|
-
"name": "Collapse",
|
|
1814
|
-
"declaration": {
|
|
1815
|
-
"name": "Collapse",
|
|
1816
|
-
"module": "components/collapse.js"
|
|
1817
|
-
}
|
|
1818
|
-
},
|
|
1819
|
-
{
|
|
1820
|
-
"kind": "custom-element-definition",
|
|
1821
|
-
"name": "br-collapse",
|
|
1822
|
-
"declaration": {
|
|
1823
|
-
"name": "Collapse",
|
|
1824
|
-
"module": "components/collapse.js"
|
|
1825
|
-
}
|
|
1826
|
-
}
|
|
1827
|
-
]
|
|
1828
|
-
},
|
|
1829
|
-
{
|
|
1830
|
-
"kind": "javascript-module",
|
|
1831
|
-
"path": "components/checkgroup.js",
|
|
1832
|
-
"declarations": [
|
|
1833
|
-
{
|
|
1834
|
-
"kind": "class",
|
|
1835
|
-
"description": "Para uma descrição detalhada, consulte a [documentação do GovBR-DS](https://www.gov.br/ds/utilitarios/js/checkgroup?tab=desenvolvedor).\n\n## Examples",
|
|
1836
|
-
"name": "Checkgroup",
|
|
1837
|
-
"slots": [
|
|
1838
|
-
{
|
|
1839
|
-
"description": "Slot para adicionar os checkboxes que serão controlados pelo checkgroup.",
|
|
1840
|
-
"name": "default"
|
|
1841
|
-
}
|
|
1842
|
-
],
|
|
1843
|
-
"members": [
|
|
1844
|
-
{
|
|
1845
|
-
"kind": "field",
|
|
1846
|
-
"name": "el",
|
|
1847
|
-
"type": {
|
|
1848
|
-
"text": "HTMLBrCheckgroupElement"
|
|
1849
|
-
},
|
|
1850
|
-
"description": "Referência ao elemento host do componente.\nUtilize esta propriedade para acessar e manipular o elemento do DOM associado ao componente."
|
|
1851
|
-
},
|
|
1852
|
-
{
|
|
1853
|
-
"kind": "field",
|
|
1854
|
-
"name": "elementInternals",
|
|
1855
|
-
"type": {
|
|
1856
|
-
"text": "ElementInternals"
|
|
1857
|
-
}
|
|
1858
|
-
},
|
|
1859
|
-
{
|
|
1860
|
-
"kind": "field",
|
|
1861
|
-
"name": "label",
|
|
1862
|
-
"type": {
|
|
1863
|
-
"text": "string"
|
|
1864
|
-
},
|
|
1865
|
-
"description": "Texto descritivo do grupo."
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
"kind": "field",
|
|
1869
|
-
"name": "labelSelecionado",
|
|
1870
|
-
"type": {
|
|
1871
|
-
"text": "string"
|
|
1872
|
-
},
|
|
1873
|
-
"default": "'Desselecionar tudo'",
|
|
1874
|
-
"description": "Define o texto do label quando o checkbox está marcado."
|
|
1875
|
-
},
|
|
1876
|
-
{
|
|
1877
|
-
"kind": "field",
|
|
1878
|
-
"name": "labelDesselecionado",
|
|
1879
|
-
"type": {
|
|
1880
|
-
"text": "string"
|
|
1881
|
-
},
|
|
1882
|
-
"default": "'Selecionar tudo'",
|
|
1883
|
-
"description": "Define o texto do label quando o checkbox está desmarcado."
|
|
1884
|
-
},
|
|
1885
|
-
{
|
|
1886
|
-
"kind": "field",
|
|
1887
|
-
"name": "indeterminate",
|
|
1888
|
-
"type": {
|
|
1889
|
-
"text": "boolean"
|
|
1890
|
-
},
|
|
1891
|
-
"default": "false",
|
|
1892
|
-
"description": "Define o estado intermediário do checkbox.\nSe definido como verdadeiro, o checkbox exibirá um estado intermediário, que é um estado visual que indica que a opção está parcialmente selecionada.\nEste estado é útil quando o checkbox faz parte de um grupo com seleção parcial."
|
|
1893
|
-
},
|
|
1894
|
-
{
|
|
1895
|
-
"kind": "field",
|
|
1896
|
-
"name": "customId",
|
|
1897
|
-
"type": {
|
|
1898
|
-
"text": "string"
|
|
1899
|
-
},
|
|
1900
|
-
"readonly": true,
|
|
1901
|
-
"default": "`br-checkgroup-${checkgroupId++}`",
|
|
1902
|
-
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado."
|
|
1903
|
-
},
|
|
1904
|
-
{
|
|
1905
|
-
"kind": "field",
|
|
1906
|
-
"name": "checked",
|
|
1907
|
-
"type": {
|
|
1908
|
-
"text": "boolean"
|
|
1909
|
-
},
|
|
1910
|
-
"default": "false",
|
|
1911
|
-
"description": "Define o estado de seleção do checkbox.\nSe definido como verdadeiro, o checkbox estará marcado. Caso contrário, estará desmarcado."
|
|
1912
|
-
},
|
|
1913
|
-
{
|
|
1914
|
-
"kind": "field",
|
|
1915
|
-
"name": "isIndeterminate",
|
|
1916
|
-
"type": {
|
|
1917
|
-
"text": "boolean"
|
|
1918
|
-
},
|
|
1919
|
-
"default": "false",
|
|
1920
|
-
"description": "Indica se o grupo de checkboxes está indeterminado"
|
|
1921
|
-
},
|
|
1922
|
-
{
|
|
1923
|
-
"kind": "field",
|
|
1924
|
-
"name": "numberOfChildren",
|
|
1925
|
-
"type": {
|
|
1926
|
-
"text": "number"
|
|
1927
|
-
},
|
|
1928
|
-
"default": "0"
|
|
1929
|
-
},
|
|
1930
|
-
{
|
|
1931
|
-
"kind": "method",
|
|
1932
|
-
"name": "getCssClassMap",
|
|
1933
|
-
"privacy": "private",
|
|
1934
|
-
"return": {
|
|
1935
|
-
"type": {
|
|
1936
|
-
"text": "CssClassMap"
|
|
1937
|
-
}
|
|
1938
|
-
}
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"kind": "method",
|
|
1942
|
-
"name": "handleChange",
|
|
1943
|
-
"parameters": [
|
|
1944
|
-
{
|
|
1945
|
-
"name": "event",
|
|
1946
|
-
"type": {
|
|
1947
|
-
"text": "Event"
|
|
1948
|
-
}
|
|
1949
|
-
}
|
|
1950
|
-
]
|
|
1951
|
-
},
|
|
1952
|
-
{
|
|
1953
|
-
"kind": "method",
|
|
1954
|
-
"name": "isParentCheckbox",
|
|
1955
|
-
"privacy": "private",
|
|
1956
|
-
"return": {
|
|
1957
|
-
"type": {
|
|
1958
|
-
"text": "boolean"
|
|
1959
|
-
}
|
|
1960
|
-
},
|
|
1961
|
-
"parameters": [
|
|
1962
|
-
{
|
|
1963
|
-
"name": "target",
|
|
1964
|
-
"type": {
|
|
1965
|
-
"text": "HTMLBrCheckboxElement"
|
|
1966
|
-
}
|
|
1967
|
-
}
|
|
1968
|
-
]
|
|
1969
|
-
},
|
|
1970
|
-
{
|
|
1971
|
-
"kind": "field",
|
|
1972
|
-
"name": "handleAllCheckboxChange",
|
|
1973
|
-
"privacy": "private",
|
|
1974
|
-
"readonly": true
|
|
1975
|
-
},
|
|
1976
|
-
{
|
|
1977
|
-
"kind": "method",
|
|
1978
|
-
"name": "updateGroupState",
|
|
1979
|
-
"privacy": "private"
|
|
1980
|
-
},
|
|
1981
|
-
{
|
|
1982
|
-
"kind": "method",
|
|
1983
|
-
"name": "setNumberOfChildren",
|
|
1984
|
-
"privacy": "private"
|
|
1985
|
-
},
|
|
1986
|
-
{
|
|
1987
|
-
"kind": "method",
|
|
1988
|
-
"name": "monitorSlotChanges",
|
|
1989
|
-
"privacy": "private"
|
|
1985
|
+
"description": "Define se o collapse está aberto ou fechado.",
|
|
1986
|
+
"type": {
|
|
1987
|
+
"text": "boolean"
|
|
1988
|
+
}
|
|
1990
1989
|
},
|
|
1991
1990
|
{
|
|
1992
|
-
"
|
|
1993
|
-
"
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
"attributes": [
|
|
1997
|
-
{
|
|
1998
|
-
"name": "label",
|
|
1999
|
-
"fieldName": "label",
|
|
2000
|
-
"description": "Texto descritivo do grupo.",
|
|
1991
|
+
"name": "accordion-group",
|
|
1992
|
+
"fieldName": "accordionGroup",
|
|
1993
|
+
"default": "null",
|
|
1994
|
+
"description": "Define se o collapse faz parte de um accordion",
|
|
2001
1995
|
"type": {
|
|
2002
1996
|
"text": "string"
|
|
2003
1997
|
}
|
|
2004
1998
|
},
|
|
2005
1999
|
{
|
|
2006
|
-
"name": "
|
|
2007
|
-
"fieldName": "
|
|
2008
|
-
"default": "'
|
|
2009
|
-
"description": "
|
|
2000
|
+
"name": "icon-to-show",
|
|
2001
|
+
"fieldName": "iconToShow",
|
|
2002
|
+
"default": "'fa6-solid:chevron-down'",
|
|
2003
|
+
"description": "Classe CSS para o ícone de expansão",
|
|
2010
2004
|
"type": {
|
|
2011
2005
|
"text": "string"
|
|
2012
2006
|
}
|
|
2013
2007
|
},
|
|
2014
2008
|
{
|
|
2015
|
-
"name": "
|
|
2016
|
-
"fieldName": "
|
|
2017
|
-
"default": "'
|
|
2018
|
-
"description": "
|
|
2009
|
+
"name": "icon-to-hide",
|
|
2010
|
+
"fieldName": "iconToHide",
|
|
2011
|
+
"default": "'fa6-solid:chevron-up'",
|
|
2012
|
+
"description": "Classe CSS para o ícone de recolhimento",
|
|
2019
2013
|
"type": {
|
|
2020
2014
|
"text": "string"
|
|
2021
2015
|
}
|
|
2022
2016
|
},
|
|
2023
2017
|
{
|
|
2024
|
-
"name": "
|
|
2025
|
-
"fieldName": "
|
|
2026
|
-
"default": "
|
|
2027
|
-
"description": "Define
|
|
2018
|
+
"name": "icon-position",
|
|
2019
|
+
"fieldName": "iconPosition",
|
|
2020
|
+
"default": "'right'",
|
|
2021
|
+
"description": "Define a posição do ícone: 'left' ou 'right'",
|
|
2028
2022
|
"type": {
|
|
2029
|
-
"text": "
|
|
2023
|
+
"text": "'left' | 'right'"
|
|
2030
2024
|
}
|
|
2025
|
+
}
|
|
2026
|
+
],
|
|
2027
|
+
"tagName": "br-collapse",
|
|
2028
|
+
"events": [
|
|
2029
|
+
{
|
|
2030
|
+
"name": "brDidOpen",
|
|
2031
|
+
"type": {
|
|
2032
|
+
"text": "EventEmitter<{ id: string; accordionGroup: string }>"
|
|
2033
|
+
},
|
|
2034
|
+
"description": "Evento emitido ao expandir."
|
|
2031
2035
|
},
|
|
2032
2036
|
{
|
|
2033
|
-
"name": "
|
|
2034
|
-
"fieldName": "customId",
|
|
2035
|
-
"default": "`br-checkgroup-${checkgroupId++}`",
|
|
2036
|
-
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado.",
|
|
2037
|
+
"name": "brDidClose",
|
|
2037
2038
|
"type": {
|
|
2038
|
-
"text": "string"
|
|
2039
|
-
}
|
|
2039
|
+
"text": "EventEmitter<{ id: string; accordionGroup: string }>"
|
|
2040
|
+
},
|
|
2041
|
+
"description": "Evento emitido ao recolher."
|
|
2040
2042
|
}
|
|
2041
2043
|
],
|
|
2042
|
-
"tagName": "br-checkgroup",
|
|
2043
|
-
"events": [],
|
|
2044
2044
|
"customElement": true
|
|
2045
2045
|
}
|
|
2046
2046
|
],
|
|
2047
2047
|
"exports": [
|
|
2048
2048
|
{
|
|
2049
2049
|
"kind": "js",
|
|
2050
|
-
"name": "
|
|
2050
|
+
"name": "Collapse",
|
|
2051
2051
|
"declaration": {
|
|
2052
|
-
"name": "
|
|
2053
|
-
"module": "components/
|
|
2052
|
+
"name": "Collapse",
|
|
2053
|
+
"module": "components/collapse.js"
|
|
2054
2054
|
}
|
|
2055
2055
|
},
|
|
2056
2056
|
{
|
|
2057
2057
|
"kind": "custom-element-definition",
|
|
2058
|
-
"name": "br-
|
|
2058
|
+
"name": "br-collapse",
|
|
2059
2059
|
"declaration": {
|
|
2060
|
-
"name": "
|
|
2061
|
-
"module": "components/
|
|
2060
|
+
"name": "Collapse",
|
|
2061
|
+
"module": "components/collapse.js"
|
|
2062
2062
|
}
|
|
2063
2063
|
}
|
|
2064
2064
|
]
|
|
@@ -9434,6 +9434,15 @@
|
|
|
9434
9434
|
"privacy": "private",
|
|
9435
9435
|
"default": "0"
|
|
9436
9436
|
},
|
|
9437
|
+
{
|
|
9438
|
+
"kind": "field",
|
|
9439
|
+
"name": "scrollOrigin",
|
|
9440
|
+
"type": {
|
|
9441
|
+
"text": "number | null"
|
|
9442
|
+
},
|
|
9443
|
+
"privacy": "private",
|
|
9444
|
+
"default": "null"
|
|
9445
|
+
},
|
|
9437
9446
|
{
|
|
9438
9447
|
"kind": "field",
|
|
9439
9448
|
"name": "previouslyFocusedElement",
|
|
@@ -9547,6 +9556,16 @@
|
|
|
9547
9556
|
"name": "applyScrollStrategy",
|
|
9548
9557
|
"privacy": "private"
|
|
9549
9558
|
},
|
|
9559
|
+
{
|
|
9560
|
+
"kind": "method",
|
|
9561
|
+
"name": "getScrollPosition",
|
|
9562
|
+
"privacy": "private",
|
|
9563
|
+
"return": {
|
|
9564
|
+
"type": {
|
|
9565
|
+
"text": "number"
|
|
9566
|
+
}
|
|
9567
|
+
}
|
|
9568
|
+
},
|
|
9550
9569
|
{
|
|
9551
9570
|
"kind": "method",
|
|
9552
9571
|
"name": "enableScrollBlock",
|
|
@@ -14949,19 +14968,19 @@
|
|
|
14949
14968
|
},
|
|
14950
14969
|
{
|
|
14951
14970
|
"kind": "javascript-module",
|
|
14952
|
-
"path": "components/_tests/
|
|
14971
|
+
"path": "components/_tests/breadcrumb.spec.js",
|
|
14953
14972
|
"declarations": [],
|
|
14954
14973
|
"exports": []
|
|
14955
14974
|
},
|
|
14956
14975
|
{
|
|
14957
14976
|
"kind": "javascript-module",
|
|
14958
|
-
"path": "components/_tests/
|
|
14977
|
+
"path": "components/_tests/avatar.spec.js",
|
|
14959
14978
|
"declarations": [],
|
|
14960
14979
|
"exports": []
|
|
14961
14980
|
},
|
|
14962
14981
|
{
|
|
14963
14982
|
"kind": "javascript-module",
|
|
14964
|
-
"path": "components/_tests/
|
|
14983
|
+
"path": "components/_tests/button.spec.js",
|
|
14965
14984
|
"declarations": [],
|
|
14966
14985
|
"exports": []
|
|
14967
14986
|
},
|
|
@@ -14973,19 +14992,19 @@
|
|
|
14973
14992
|
},
|
|
14974
14993
|
{
|
|
14975
14994
|
"kind": "javascript-module",
|
|
14976
|
-
"path": "components/_tests/
|
|
14995
|
+
"path": "components/_tests/checkgroup.spec.js",
|
|
14977
14996
|
"declarations": [],
|
|
14978
14997
|
"exports": []
|
|
14979
14998
|
},
|
|
14980
14999
|
{
|
|
14981
15000
|
"kind": "javascript-module",
|
|
14982
|
-
"path": "components/_tests/
|
|
15001
|
+
"path": "components/_tests/checkbox.spec.js",
|
|
14983
15002
|
"declarations": [],
|
|
14984
15003
|
"exports": []
|
|
14985
15004
|
},
|
|
14986
15005
|
{
|
|
14987
15006
|
"kind": "javascript-module",
|
|
14988
|
-
"path": "components/_tests/
|
|
15007
|
+
"path": "components/_tests/collapse.spec.js",
|
|
14989
15008
|
"declarations": [],
|
|
14990
15009
|
"exports": []
|
|
14991
15010
|
},
|
|
@@ -16733,13 +16752,13 @@
|
|
|
16733
16752
|
},
|
|
16734
16753
|
{
|
|
16735
16754
|
"kind": "javascript-module",
|
|
16736
|
-
"path": "components/_tests/
|
|
16755
|
+
"path": "components/_tests/loading.spec.js",
|
|
16737
16756
|
"declarations": [],
|
|
16738
16757
|
"exports": []
|
|
16739
16758
|
},
|
|
16740
16759
|
{
|
|
16741
16760
|
"kind": "javascript-module",
|
|
16742
|
-
"path": "components/_tests/
|
|
16761
|
+
"path": "components/_tests/list.spec.js",
|
|
16743
16762
|
"declarations": [],
|
|
16744
16763
|
"exports": []
|
|
16745
16764
|
},
|
|
@@ -17196,202 +17215,54 @@
|
|
|
17196
17215
|
},
|
|
17197
17216
|
{
|
|
17198
17217
|
"description": "Slot para URL do link",
|
|
17199
|
-
"name": "url"
|
|
17200
|
-
}
|
|
17201
|
-
],
|
|
17202
|
-
"members": [
|
|
17203
|
-
{
|
|
17204
|
-
"kind": "field",
|
|
17205
|
-
"name": "el",
|
|
17206
|
-
"type": {
|
|
17207
|
-
"text": "HTMLBrMenuLinkElement"
|
|
17208
|
-
},
|
|
17209
|
-
"description": "Referência ao elemento host do componente.\nUtilize esta propriedade para acessar e manipular o elemento do DOM associado ao componente."
|
|
17210
|
-
},
|
|
17211
|
-
{
|
|
17212
|
-
"kind": "field",
|
|
17213
|
-
"name": "elementInternals",
|
|
17214
|
-
"type": {
|
|
17215
|
-
"text": "ElementInternals"
|
|
17216
|
-
}
|
|
17217
|
-
},
|
|
17218
|
-
{
|
|
17219
|
-
"kind": "field",
|
|
17220
|
-
"name": "customId",
|
|
17221
|
-
"type": {
|
|
17222
|
-
"text": "string"
|
|
17223
|
-
},
|
|
17224
|
-
"readonly": true,
|
|
17225
|
-
"default": "`br-menu-link-${MenuLinkId++}`",
|
|
17226
|
-
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado."
|
|
17227
|
-
},
|
|
17228
|
-
{
|
|
17229
|
-
"kind": "field",
|
|
17230
|
-
"name": "url",
|
|
17231
|
-
"type": {
|
|
17232
|
-
"text": "string"
|
|
17233
|
-
},
|
|
17234
|
-
"description": "URL do link"
|
|
17235
|
-
},
|
|
17236
|
-
{
|
|
17237
|
-
"kind": "field",
|
|
17238
|
-
"name": "titulo",
|
|
17239
|
-
"type": {
|
|
17240
|
-
"text": "string"
|
|
17241
|
-
},
|
|
17242
|
-
"description": "Título do link"
|
|
17243
|
-
},
|
|
17244
|
-
{
|
|
17245
|
-
"kind": "field",
|
|
17246
|
-
"name": "handleClick",
|
|
17247
|
-
"privacy": "private"
|
|
17248
|
-
},
|
|
17249
|
-
{
|
|
17250
|
-
"kind": "method",
|
|
17251
|
-
"name": "render"
|
|
17252
|
-
}
|
|
17253
|
-
],
|
|
17254
|
-
"attributes": [
|
|
17255
|
-
{
|
|
17256
|
-
"name": "custom-id",
|
|
17257
|
-
"fieldName": "customId",
|
|
17258
|
-
"default": "`br-menu-link-${MenuLinkId++}`",
|
|
17259
|
-
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado.",
|
|
17260
|
-
"type": {
|
|
17261
|
-
"text": "string"
|
|
17262
|
-
}
|
|
17263
|
-
},
|
|
17264
|
-
{
|
|
17265
|
-
"name": "url",
|
|
17266
|
-
"fieldName": "url",
|
|
17267
|
-
"description": "URL do link",
|
|
17268
|
-
"type": {
|
|
17269
|
-
"text": "string"
|
|
17270
|
-
}
|
|
17271
|
-
},
|
|
17272
|
-
{
|
|
17273
|
-
"name": "titulo",
|
|
17274
|
-
"fieldName": "titulo",
|
|
17275
|
-
"description": "Título do link",
|
|
17276
|
-
"type": {
|
|
17277
|
-
"text": "string"
|
|
17278
|
-
}
|
|
17279
|
-
}
|
|
17280
|
-
],
|
|
17281
|
-
"tagName": "br-menu-link",
|
|
17282
|
-
"events": [
|
|
17283
|
-
{
|
|
17284
|
-
"name": "brLinkClick",
|
|
17285
|
-
"type": {
|
|
17286
|
-
"text": "EventEmitter<void>"
|
|
17287
|
-
},
|
|
17288
|
-
"description": "Evento emitido quando o link externo é clicado"
|
|
17289
|
-
}
|
|
17290
|
-
],
|
|
17291
|
-
"customElement": true
|
|
17292
|
-
}
|
|
17293
|
-
],
|
|
17294
|
-
"exports": [
|
|
17295
|
-
{
|
|
17296
|
-
"kind": "js",
|
|
17297
|
-
"name": "MenuLink",
|
|
17298
|
-
"declaration": {
|
|
17299
|
-
"name": "MenuLink",
|
|
17300
|
-
"module": "components/menu-link/menu-link.js"
|
|
17301
|
-
}
|
|
17302
|
-
},
|
|
17303
|
-
{
|
|
17304
|
-
"kind": "custom-element-definition",
|
|
17305
|
-
"name": "br-menu-link",
|
|
17306
|
-
"declaration": {
|
|
17307
|
-
"name": "MenuLink",
|
|
17308
|
-
"module": "components/menu-link/menu-link.js"
|
|
17309
|
-
}
|
|
17310
|
-
}
|
|
17311
|
-
]
|
|
17312
|
-
},
|
|
17313
|
-
{
|
|
17314
|
-
"kind": "javascript-module",
|
|
17315
|
-
"path": "components/menu-logo/menu-logo.js",
|
|
17316
|
-
"declarations": [
|
|
17317
|
-
{
|
|
17318
|
-
"kind": "class",
|
|
17319
|
-
"description": "Para uma descrição detalhada, consulte a [documentação do GovBR-DS](https://www.gov.br/ds/components/menu-logo?tab=designer).",
|
|
17320
|
-
"name": "MenuLogo",
|
|
17321
|
-
"slots": [
|
|
17322
|
-
{
|
|
17323
|
-
"description": "Conteúdo opcional que substitui a imagem padrão",
|
|
17324
|
-
"name": "default"
|
|
17325
|
-
}
|
|
17326
|
-
],
|
|
17327
|
-
"members": [
|
|
17328
|
-
{
|
|
17329
|
-
"kind": "field",
|
|
17330
|
-
"name": "el",
|
|
17331
|
-
"type": {
|
|
17332
|
-
"text": "HTMLBrMenuLogoElement"
|
|
17333
|
-
},
|
|
17334
|
-
"description": "Referência ao elemento host do componente.\nUtilize esta propriedade para acessar e manipular o elemento do DOM associado ao componente."
|
|
17335
|
-
},
|
|
17336
|
-
{
|
|
17337
|
-
"kind": "field",
|
|
17338
|
-
"name": "customId",
|
|
17339
|
-
"type": {
|
|
17340
|
-
"text": "string"
|
|
17341
|
-
},
|
|
17342
|
-
"readonly": true,
|
|
17343
|
-
"description": "ID personalizado para o elemento, útil para acessibilidade e identificação única.\nSe não for fornecido, um ID único será gerado automaticamente."
|
|
17344
|
-
},
|
|
17218
|
+
"name": "url"
|
|
17219
|
+
}
|
|
17220
|
+
],
|
|
17221
|
+
"members": [
|
|
17345
17222
|
{
|
|
17346
17223
|
"kind": "field",
|
|
17347
|
-
"name": "
|
|
17224
|
+
"name": "el",
|
|
17348
17225
|
"type": {
|
|
17349
|
-
"text": "
|
|
17226
|
+
"text": "HTMLBrMenuLinkElement"
|
|
17350
17227
|
},
|
|
17351
|
-
"description": "
|
|
17228
|
+
"description": "Referência ao elemento host do componente.\nUtilize esta propriedade para acessar e manipular o elemento do DOM associado ao componente."
|
|
17352
17229
|
},
|
|
17353
17230
|
{
|
|
17354
17231
|
"kind": "field",
|
|
17355
|
-
"name": "
|
|
17232
|
+
"name": "elementInternals",
|
|
17356
17233
|
"type": {
|
|
17357
|
-
"text": "
|
|
17358
|
-
}
|
|
17359
|
-
"description": "Texto alternativo da imagem"
|
|
17234
|
+
"text": "ElementInternals"
|
|
17235
|
+
}
|
|
17360
17236
|
},
|
|
17361
17237
|
{
|
|
17362
17238
|
"kind": "field",
|
|
17363
|
-
"name": "
|
|
17239
|
+
"name": "customId",
|
|
17364
17240
|
"type": {
|
|
17365
|
-
"text": "string
|
|
17241
|
+
"text": "string"
|
|
17366
17242
|
},
|
|
17367
|
-
"
|
|
17243
|
+
"readonly": true,
|
|
17244
|
+
"default": "`br-menu-link-${MenuLinkId++}`",
|
|
17245
|
+
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado."
|
|
17368
17246
|
},
|
|
17369
17247
|
{
|
|
17370
17248
|
"kind": "field",
|
|
17371
|
-
"name": "
|
|
17249
|
+
"name": "url",
|
|
17372
17250
|
"type": {
|
|
17373
|
-
"text": "string
|
|
17251
|
+
"text": "string"
|
|
17374
17252
|
},
|
|
17375
|
-
"description": "
|
|
17253
|
+
"description": "URL do link"
|
|
17376
17254
|
},
|
|
17377
17255
|
{
|
|
17378
17256
|
"kind": "field",
|
|
17379
|
-
"name": "
|
|
17257
|
+
"name": "titulo",
|
|
17380
17258
|
"type": {
|
|
17381
|
-
"text": "
|
|
17259
|
+
"text": "string"
|
|
17382
17260
|
},
|
|
17383
|
-
"
|
|
17384
|
-
"description": "Estado para controlar se a imagem falhou ao carregar"
|
|
17385
|
-
},
|
|
17386
|
-
{
|
|
17387
|
-
"kind": "field",
|
|
17388
|
-
"name": "handleError",
|
|
17389
|
-
"privacy": "private",
|
|
17390
|
-
"description": "Manipula erros no carregamento da imagem"
|
|
17261
|
+
"description": "Título do link"
|
|
17391
17262
|
},
|
|
17392
17263
|
{
|
|
17393
17264
|
"kind": "field",
|
|
17394
|
-
"name": "
|
|
17265
|
+
"name": "handleClick",
|
|
17395
17266
|
"privacy": "private"
|
|
17396
17267
|
},
|
|
17397
17268
|
{
|
|
@@ -17403,64 +17274,57 @@
|
|
|
17403
17274
|
{
|
|
17404
17275
|
"name": "custom-id",
|
|
17405
17276
|
"fieldName": "customId",
|
|
17406
|
-
"
|
|
17407
|
-
"
|
|
17408
|
-
"text": "string"
|
|
17409
|
-
}
|
|
17410
|
-
},
|
|
17411
|
-
{
|
|
17412
|
-
"name": "src",
|
|
17413
|
-
"fieldName": "src",
|
|
17414
|
-
"description": "URL da imagem",
|
|
17277
|
+
"default": "`br-menu-link-${MenuLinkId++}`",
|
|
17278
|
+
"description": "Identificador único.\nCaso não seja fornecido, um ID gerado automaticamente será usado.",
|
|
17415
17279
|
"type": {
|
|
17416
17280
|
"text": "string"
|
|
17417
17281
|
}
|
|
17418
17282
|
},
|
|
17419
17283
|
{
|
|
17420
|
-
"name": "
|
|
17421
|
-
"fieldName": "
|
|
17422
|
-
"description": "
|
|
17284
|
+
"name": "url",
|
|
17285
|
+
"fieldName": "url",
|
|
17286
|
+
"description": "URL do link",
|
|
17423
17287
|
"type": {
|
|
17424
17288
|
"text": "string"
|
|
17425
17289
|
}
|
|
17426
17290
|
},
|
|
17427
17291
|
{
|
|
17428
|
-
"name": "
|
|
17429
|
-
"fieldName": "
|
|
17430
|
-
"description": "
|
|
17292
|
+
"name": "titulo",
|
|
17293
|
+
"fieldName": "titulo",
|
|
17294
|
+
"description": "Título do link",
|
|
17431
17295
|
"type": {
|
|
17432
17296
|
"text": "string"
|
|
17433
17297
|
}
|
|
17434
|
-
}
|
|
17298
|
+
}
|
|
17299
|
+
],
|
|
17300
|
+
"tagName": "br-menu-link",
|
|
17301
|
+
"events": [
|
|
17435
17302
|
{
|
|
17436
|
-
"name": "
|
|
17437
|
-
"fieldName": "height",
|
|
17438
|
-
"description": "Altura da imagem (com unidade, ex: '80px', 'auto')",
|
|
17303
|
+
"name": "brLinkClick",
|
|
17439
17304
|
"type": {
|
|
17440
|
-
"text": "
|
|
17441
|
-
}
|
|
17305
|
+
"text": "EventEmitter<void>"
|
|
17306
|
+
},
|
|
17307
|
+
"description": "Evento emitido quando o link externo é clicado"
|
|
17442
17308
|
}
|
|
17443
17309
|
],
|
|
17444
|
-
"tagName": "br-menu-logo",
|
|
17445
|
-
"events": [],
|
|
17446
17310
|
"customElement": true
|
|
17447
17311
|
}
|
|
17448
17312
|
],
|
|
17449
17313
|
"exports": [
|
|
17450
17314
|
{
|
|
17451
17315
|
"kind": "js",
|
|
17452
|
-
"name": "
|
|
17316
|
+
"name": "MenuLink",
|
|
17453
17317
|
"declaration": {
|
|
17454
|
-
"name": "
|
|
17455
|
-
"module": "components/menu-
|
|
17318
|
+
"name": "MenuLink",
|
|
17319
|
+
"module": "components/menu-link/menu-link.js"
|
|
17456
17320
|
}
|
|
17457
17321
|
},
|
|
17458
17322
|
{
|
|
17459
17323
|
"kind": "custom-element-definition",
|
|
17460
|
-
"name": "br-menu-
|
|
17324
|
+
"name": "br-menu-link",
|
|
17461
17325
|
"declaration": {
|
|
17462
|
-
"name": "
|
|
17463
|
-
"module": "components/menu-
|
|
17326
|
+
"name": "MenuLink",
|
|
17327
|
+
"module": "components/menu-link/menu-link.js"
|
|
17464
17328
|
}
|
|
17465
17329
|
}
|
|
17466
17330
|
]
|
|
@@ -17696,6 +17560,161 @@
|
|
|
17696
17560
|
}
|
|
17697
17561
|
]
|
|
17698
17562
|
},
|
|
17563
|
+
{
|
|
17564
|
+
"kind": "javascript-module",
|
|
17565
|
+
"path": "components/menu-logo/menu-logo.js",
|
|
17566
|
+
"declarations": [
|
|
17567
|
+
{
|
|
17568
|
+
"kind": "class",
|
|
17569
|
+
"description": "Para uma descrição detalhada, consulte a [documentação do GovBR-DS](https://www.gov.br/ds/components/menu-logo?tab=designer).",
|
|
17570
|
+
"name": "MenuLogo",
|
|
17571
|
+
"slots": [
|
|
17572
|
+
{
|
|
17573
|
+
"description": "Conteúdo opcional que substitui a imagem padrão",
|
|
17574
|
+
"name": "default"
|
|
17575
|
+
}
|
|
17576
|
+
],
|
|
17577
|
+
"members": [
|
|
17578
|
+
{
|
|
17579
|
+
"kind": "field",
|
|
17580
|
+
"name": "el",
|
|
17581
|
+
"type": {
|
|
17582
|
+
"text": "HTMLBrMenuLogoElement"
|
|
17583
|
+
},
|
|
17584
|
+
"description": "Referência ao elemento host do componente.\nUtilize esta propriedade para acessar e manipular o elemento do DOM associado ao componente."
|
|
17585
|
+
},
|
|
17586
|
+
{
|
|
17587
|
+
"kind": "field",
|
|
17588
|
+
"name": "customId",
|
|
17589
|
+
"type": {
|
|
17590
|
+
"text": "string"
|
|
17591
|
+
},
|
|
17592
|
+
"readonly": true,
|
|
17593
|
+
"description": "ID personalizado para o elemento, útil para acessibilidade e identificação única.\nSe não for fornecido, um ID único será gerado automaticamente."
|
|
17594
|
+
},
|
|
17595
|
+
{
|
|
17596
|
+
"kind": "field",
|
|
17597
|
+
"name": "src",
|
|
17598
|
+
"type": {
|
|
17599
|
+
"text": "string"
|
|
17600
|
+
},
|
|
17601
|
+
"description": "URL da imagem"
|
|
17602
|
+
},
|
|
17603
|
+
{
|
|
17604
|
+
"kind": "field",
|
|
17605
|
+
"name": "alt",
|
|
17606
|
+
"type": {
|
|
17607
|
+
"text": "string | undefined"
|
|
17608
|
+
},
|
|
17609
|
+
"description": "Texto alternativo da imagem"
|
|
17610
|
+
},
|
|
17611
|
+
{
|
|
17612
|
+
"kind": "field",
|
|
17613
|
+
"name": "width",
|
|
17614
|
+
"type": {
|
|
17615
|
+
"text": "string | undefined"
|
|
17616
|
+
},
|
|
17617
|
+
"description": "Largura da imagem (com unidade, ex: '100px', '50%')"
|
|
17618
|
+
},
|
|
17619
|
+
{
|
|
17620
|
+
"kind": "field",
|
|
17621
|
+
"name": "height",
|
|
17622
|
+
"type": {
|
|
17623
|
+
"text": "string | undefined"
|
|
17624
|
+
},
|
|
17625
|
+
"description": "Altura da imagem (com unidade, ex: '80px', 'auto')"
|
|
17626
|
+
},
|
|
17627
|
+
{
|
|
17628
|
+
"kind": "field",
|
|
17629
|
+
"name": "hasError",
|
|
17630
|
+
"type": {
|
|
17631
|
+
"text": "boolean"
|
|
17632
|
+
},
|
|
17633
|
+
"default": "false",
|
|
17634
|
+
"description": "Estado para controlar se a imagem falhou ao carregar"
|
|
17635
|
+
},
|
|
17636
|
+
{
|
|
17637
|
+
"kind": "field",
|
|
17638
|
+
"name": "handleError",
|
|
17639
|
+
"privacy": "private",
|
|
17640
|
+
"description": "Manipula erros no carregamento da imagem"
|
|
17641
|
+
},
|
|
17642
|
+
{
|
|
17643
|
+
"kind": "field",
|
|
17644
|
+
"name": "handleLoad",
|
|
17645
|
+
"privacy": "private"
|
|
17646
|
+
},
|
|
17647
|
+
{
|
|
17648
|
+
"kind": "method",
|
|
17649
|
+
"name": "render"
|
|
17650
|
+
}
|
|
17651
|
+
],
|
|
17652
|
+
"attributes": [
|
|
17653
|
+
{
|
|
17654
|
+
"name": "custom-id",
|
|
17655
|
+
"fieldName": "customId",
|
|
17656
|
+
"description": "ID personalizado para o elemento, útil para acessibilidade e identificação única.\nSe não for fornecido, um ID único será gerado automaticamente.",
|
|
17657
|
+
"type": {
|
|
17658
|
+
"text": "string"
|
|
17659
|
+
}
|
|
17660
|
+
},
|
|
17661
|
+
{
|
|
17662
|
+
"name": "src",
|
|
17663
|
+
"fieldName": "src",
|
|
17664
|
+
"description": "URL da imagem",
|
|
17665
|
+
"type": {
|
|
17666
|
+
"text": "string"
|
|
17667
|
+
}
|
|
17668
|
+
},
|
|
17669
|
+
{
|
|
17670
|
+
"name": "alt",
|
|
17671
|
+
"fieldName": "alt",
|
|
17672
|
+
"description": "Texto alternativo da imagem",
|
|
17673
|
+
"type": {
|
|
17674
|
+
"text": "string"
|
|
17675
|
+
}
|
|
17676
|
+
},
|
|
17677
|
+
{
|
|
17678
|
+
"name": "width",
|
|
17679
|
+
"fieldName": "width",
|
|
17680
|
+
"description": "Largura da imagem (com unidade, ex: '100px', '50%')",
|
|
17681
|
+
"type": {
|
|
17682
|
+
"text": "string"
|
|
17683
|
+
}
|
|
17684
|
+
},
|
|
17685
|
+
{
|
|
17686
|
+
"name": "height",
|
|
17687
|
+
"fieldName": "height",
|
|
17688
|
+
"description": "Altura da imagem (com unidade, ex: '80px', 'auto')",
|
|
17689
|
+
"type": {
|
|
17690
|
+
"text": "string"
|
|
17691
|
+
}
|
|
17692
|
+
}
|
|
17693
|
+
],
|
|
17694
|
+
"tagName": "br-menu-logo",
|
|
17695
|
+
"events": [],
|
|
17696
|
+
"customElement": true
|
|
17697
|
+
}
|
|
17698
|
+
],
|
|
17699
|
+
"exports": [
|
|
17700
|
+
{
|
|
17701
|
+
"kind": "js",
|
|
17702
|
+
"name": "MenuLogo",
|
|
17703
|
+
"declaration": {
|
|
17704
|
+
"name": "MenuLogo",
|
|
17705
|
+
"module": "components/menu-logo/menu-logo.js"
|
|
17706
|
+
}
|
|
17707
|
+
},
|
|
17708
|
+
{
|
|
17709
|
+
"kind": "custom-element-definition",
|
|
17710
|
+
"name": "br-menu-logo",
|
|
17711
|
+
"declaration": {
|
|
17712
|
+
"name": "MenuLogo",
|
|
17713
|
+
"module": "components/menu-logo/menu-logo.js"
|
|
17714
|
+
}
|
|
17715
|
+
}
|
|
17716
|
+
]
|
|
17717
|
+
},
|
|
17699
17718
|
{
|
|
17700
17719
|
"kind": "javascript-module",
|
|
17701
17720
|
"path": "components/menu-social/menu-social.js",
|
|
@@ -19487,13 +19506,13 @@
|
|
|
19487
19506
|
},
|
|
19488
19507
|
{
|
|
19489
19508
|
"kind": "javascript-module",
|
|
19490
|
-
"path": "components/menu-
|
|
19509
|
+
"path": "components/menu-list/_tests/menu-list.spec.js",
|
|
19491
19510
|
"declarations": [],
|
|
19492
19511
|
"exports": []
|
|
19493
19512
|
},
|
|
19494
19513
|
{
|
|
19495
19514
|
"kind": "javascript-module",
|
|
19496
|
-
"path": "components/menu-
|
|
19515
|
+
"path": "components/menu-logo/_tests/menu-logo.spec.js",
|
|
19497
19516
|
"declarations": [],
|
|
19498
19517
|
"exports": []
|
|
19499
19518
|
},
|