@govbr-ds/webcomponents 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (584) hide show
  1. package/README.md +2 -2
  2. package/cem/custom-elements.json +371 -199
  3. package/cem/webcomponents.html-custom-data.json +146 -121
  4. package/dist/cjs/br-avatar.cjs.entry.js +2 -2
  5. package/dist/cjs/br-breadcrumb-item.cjs.entry.js +1 -1
  6. package/dist/cjs/br-breadcrumb.cjs.entry.js +2 -2
  7. package/dist/cjs/br-button_2.cjs.entry.js +2 -2
  8. package/dist/cjs/br-card.cjs.entry.js +2 -2
  9. package/dist/cjs/br-carousel-page.cjs.entry.js +1 -1
  10. package/dist/cjs/br-carousel.cjs.entry.js +1 -1
  11. package/dist/cjs/br-checkbox-group.cjs.entry.js +2 -2
  12. package/dist/cjs/br-checkbox.cjs.entry.js +3 -3
  13. package/dist/cjs/br-checkgroup.cjs.entry.js +1 -1
  14. package/dist/cjs/br-collapse_2.cjs.entry.js +3 -3
  15. package/dist/cjs/br-cookiebar-cookie.cjs.entry.js +1 -1
  16. package/dist/cjs/br-cookiebar-group.cjs.entry.js +1 -1
  17. package/dist/cjs/br-cookiebar-header.cjs.entry.js +1 -1
  18. package/dist/cjs/br-cookiebar-link.cjs.entry.js +1 -1
  19. package/dist/cjs/br-cookiebar-note.cjs.entry.js +1 -1
  20. package/dist/cjs/br-cookiebar.cjs.entry.js +2 -2
  21. package/dist/cjs/br-crumb.cjs.entry.js +1 -1
  22. package/dist/cjs/br-date-picker_3.cjs.entry.js +154 -67
  23. package/dist/cjs/br-datetime-picker.cjs.entry.js +5 -5
  24. package/dist/cjs/br-divider.cjs.entry.js +2 -2
  25. package/dist/cjs/br-dropdown_2.cjs.entry.js +40 -16
  26. package/dist/cjs/br-footer-category.cjs.entry.js +2 -2
  27. package/dist/cjs/br-footer-item.cjs.entry.js +1 -1
  28. package/dist/cjs/br-footer-legal.cjs.entry.js +1 -1
  29. package/dist/cjs/br-footer-logo.cjs.entry.js +1 -1
  30. package/dist/cjs/br-footer-social.cjs.entry.js +1 -1
  31. package/dist/cjs/br-footer.cjs.entry.js +3 -3
  32. package/dist/cjs/br-header-function.cjs.entry.js +1 -1
  33. package/dist/cjs/br-header-link.cjs.entry.js +1 -1
  34. package/dist/cjs/br-header-list.cjs.entry.js +1 -1
  35. package/dist/cjs/br-header-logo.cjs.entry.js +1 -1
  36. package/dist/cjs/br-header.cjs.entry.js +1 -1
  37. package/dist/cjs/br-icon.cjs.entry.js +2 -2
  38. package/dist/cjs/br-input.cjs.entry.js +58 -10
  39. package/dist/cjs/br-item.cjs.entry.js +2 -2
  40. package/dist/cjs/br-link.cjs.entry.js +7 -7
  41. package/dist/cjs/br-loading.cjs.entry.js +1 -1
  42. package/dist/cjs/br-magic-button.cjs.entry.js +1 -1
  43. package/dist/cjs/br-menu-group.cjs.entry.js +1 -1
  44. package/dist/cjs/br-menu-header.cjs.entry.js +1 -1
  45. package/dist/cjs/br-menu-info.cjs.entry.js +1 -1
  46. package/dist/cjs/br-menu-item.cjs.entry.js +1 -1
  47. package/dist/cjs/br-menu-link.cjs.entry.js +1 -1
  48. package/dist/cjs/br-menu-logo.cjs.entry.js +1 -1
  49. package/dist/cjs/br-menu.cjs.entry.js +3 -3
  50. package/dist/cjs/br-notification-body.cjs.entry.js +1 -1
  51. package/dist/cjs/br-notification-header.cjs.entry.js +1 -1
  52. package/dist/cjs/br-notification-item.cjs.entry.js +1 -1
  53. package/dist/cjs/br-notification.cjs.entry.js +2 -2
  54. package/dist/cjs/br-pagination.cjs.entry.js +3 -3
  55. package/dist/cjs/br-radio-group.cjs.entry.js +3 -3
  56. package/dist/cjs/br-radio.cjs.entry.js +3 -3
  57. package/dist/cjs/br-scrim.cjs.entry.js +2 -2
  58. package/dist/cjs/br-select-input_3.cjs.entry.js +39 -16
  59. package/dist/cjs/br-sign-in.cjs.entry.js +2 -2
  60. package/dist/cjs/br-skip-link-item.cjs.entry.js +1 -1
  61. package/dist/cjs/br-skip-link.cjs.entry.js +1 -1
  62. package/dist/cjs/br-skiplink-item.cjs.entry.js +1 -1
  63. package/dist/cjs/br-slider.cjs.entry.js +2 -2
  64. package/dist/cjs/br-step_2.cjs.entry.js +4 -4
  65. package/dist/cjs/br-switch.cjs.entry.js +3 -3
  66. package/dist/cjs/br-tab-item.cjs.entry.js +1 -1
  67. package/dist/cjs/br-tab.cjs.entry.js +3 -3
  68. package/dist/cjs/br-table-body.cjs.entry.js +1 -1
  69. package/dist/cjs/br-table-cell.cjs.entry.js +1 -1
  70. package/dist/cjs/br-table-header-cell.cjs.entry.js +1 -1
  71. package/dist/cjs/br-table-header.cjs.entry.js +1 -1
  72. package/dist/cjs/br-table-row.cjs.entry.js +1 -1
  73. package/dist/cjs/br-table.cjs.entry.js +1 -1
  74. package/dist/cjs/br-tag.cjs.entry.js +3 -3
  75. package/dist/cjs/br-textarea.cjs.entry.js +2 -2
  76. package/dist/cjs/br-tooltip.cjs.entry.js +1 -1
  77. package/dist/cjs/br-upload.cjs.entry.js +4 -4
  78. package/dist/cjs/br-wizard-panel.cjs.entry.js +1 -1
  79. package/dist/cjs/br-wizard.cjs.entry.js +1 -1
  80. package/dist/cjs/{datetime-picker-constants-CCeI5iW7.js → datetime-picker-constants-CTf1kVJ1.js} +1 -0
  81. package/dist/cjs/{iconify-icon-DfODV9bf.js → iconify-icon-LjavbM-D.js} +103 -57
  82. package/dist/cjs/{index-C-IpVFDH.js → index-Caoez3xb.js} +64 -16
  83. package/dist/cjs/index.cjs.js +2 -2
  84. package/dist/cjs/{isValid-CduHZTFc.js → isValid-DgJ-noPS.js} +1 -1
  85. package/dist/cjs/loader.cjs.js +1 -1
  86. package/dist/cjs/{slot-DAllytTj.js → slot-CjaqqX7y.js} +1 -1
  87. package/dist/cjs/webcomponents.cjs.js +1 -1
  88. package/dist/collection/components/avatar/avatar.js +21 -21
  89. package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +4 -12
  90. package/dist/collection/components/breadcrumb/breadcrumb.js +32 -27
  91. package/dist/collection/components/breadcrumb/crumb/crumb.js +2 -13
  92. package/dist/collection/components/button/button.js +21 -21
  93. package/dist/collection/components/card/card.js +20 -22
  94. package/dist/collection/components/carousel/carousel-page/carousel-page.js +3 -13
  95. package/dist/collection/components/carousel/carousel.js +23 -30
  96. package/dist/collection/components/checkbox/checkbox.js +18 -24
  97. package/dist/collection/components/checkbox-group/checkbox-group.js +19 -20
  98. package/dist/collection/components/checkgroup/checkgroup.js +2 -14
  99. package/dist/collection/components/collapse/collapse.js +25 -21
  100. package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.js +3 -16
  101. package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.js +3 -16
  102. package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.js +3 -16
  103. package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.js +3 -15
  104. package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.js +3 -14
  105. package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.js +2 -13
  106. package/dist/collection/components/cookiebar/cookiebar.js +32 -27
  107. package/dist/collection/components/datetime-picker/date-picker/date-picker-locale.js +62 -15
  108. package/dist/collection/components/datetime-picker/date-picker/date-picker.js +120 -71
  109. package/dist/collection/components/datetime-picker/datetime-input/datetime-input.js +3 -13
  110. package/dist/collection/components/datetime-picker/datetime-picker.js +23 -27
  111. package/dist/collection/components/datetime-picker/time-picker/time-picker.js +5 -15
  112. package/dist/collection/components/divider/divider.js +15 -19
  113. package/dist/collection/components/dropdown/dropdown.js +22 -21
  114. package/dist/collection/components/footer/footer-category/footer-category.js +4 -17
  115. package/dist/collection/components/footer/footer-item/footer-item.js +3 -16
  116. package/dist/collection/components/footer/footer-legal/footer-legal.js +2 -16
  117. package/dist/collection/components/footer/footer-logo/footer-logo.js +3 -16
  118. package/dist/collection/components/footer/footer-social/footer-social.js +3 -15
  119. package/dist/collection/components/footer/footer.js +25 -29
  120. package/dist/collection/components/header/header-function/header-function.js +10 -14
  121. package/dist/collection/components/header/header-link/header-link.js +3 -16
  122. package/dist/collection/components/header/header-list/header-list.js +3 -16
  123. package/dist/collection/components/header/header-logo/header-logo.js +3 -16
  124. package/dist/collection/components/header/header.js +30 -27
  125. package/dist/collection/components/icon/icon.js +22 -17
  126. package/dist/collection/components/input/input.css +1 -1
  127. package/dist/collection/components/input/input.js +98 -30
  128. package/dist/collection/components/item/item.js +18 -22
  129. package/dist/collection/components/link/link.js +25 -29
  130. package/dist/collection/components/list/list.js +17 -21
  131. package/dist/collection/components/loading/loading.js +17 -24
  132. package/dist/collection/components/magic-button/magic-button.js +13 -20
  133. package/dist/collection/components/menu/menu-group/menu-group.js +3 -16
  134. package/dist/collection/components/menu/menu-header/menu-header.js +3 -16
  135. package/dist/collection/components/menu/menu-info/menu-info.js +2 -15
  136. package/dist/collection/components/menu/menu-item/menu-item.js +3 -16
  137. package/dist/collection/components/menu/menu-link/menu-link.js +5 -17
  138. package/dist/collection/components/menu/menu-list/menu-list.js +2 -15
  139. package/dist/collection/components/menu/menu-logo/menu-logo.js +2 -15
  140. package/dist/collection/components/menu/menu-social/menu-social.js +2 -15
  141. package/dist/collection/components/menu/menu.js +28 -35
  142. package/dist/collection/components/message/message.js +22 -25
  143. package/dist/collection/components/modal/modal.js +18 -21
  144. package/dist/collection/components/notification/notification-body/notification-body.js +3 -13
  145. package/dist/collection/components/notification/notification-header/notification-header.js +3 -14
  146. package/dist/collection/components/notification/notification-item/notification-item.js +3 -16
  147. package/dist/collection/components/notification/notification.js +20 -29
  148. package/dist/collection/components/pagination/pagination.css +1 -1
  149. package/dist/collection/components/pagination/pagination.js +15 -23
  150. package/dist/collection/components/radio/radio.js +17 -20
  151. package/dist/collection/components/radio-group/radio-group.js +20 -20
  152. package/dist/collection/components/scrim/scrim.js +14 -17
  153. package/dist/collection/components/select/select-input/select-input.css +1 -1
  154. package/dist/collection/components/select/select-input/select-input.js +43 -19
  155. package/dist/collection/components/select/select-list/select-list.css +1 -1
  156. package/dist/collection/components/select/select-list/select-list.js +52 -15
  157. package/dist/collection/components/select/select-option/select-option.js +8 -13
  158. package/dist/collection/components/select/select.css +1 -1
  159. package/dist/collection/components/select/select.js +83 -105
  160. package/dist/collection/components/sign-in/sign-in.js +12 -16
  161. package/dist/collection/components/skip-link/skip-link-item/skip-link-item-alias.js +8 -4
  162. package/dist/collection/components/skip-link/skip-link-item/skip-link-item.js +5 -15
  163. package/dist/collection/components/skip-link/skip-link.js +18 -24
  164. package/dist/collection/components/slider/slider.js +15 -25
  165. package/dist/collection/components/step/step-item/step-item.js +5 -15
  166. package/dist/collection/components/step/step.js +16 -25
  167. package/dist/collection/components/switch/switch.js +16 -20
  168. package/dist/collection/components/tab/tab-item/tab-item.js +5 -15
  169. package/dist/collection/components/tab/tab.js +22 -29
  170. package/dist/collection/components/table/table-body/table-body.js +3 -13
  171. package/dist/collection/components/table/table-cell/table-cell.js +3 -12
  172. package/dist/collection/components/table/table-header/table-header.js +3 -13
  173. package/dist/collection/components/table/table-header-cell/table-header-cell.js +3 -13
  174. package/dist/collection/components/table/table-row/table-row.js +3 -13
  175. package/dist/collection/components/table/table.js +25 -32
  176. package/dist/collection/components/tag/tag.js +17 -26
  177. package/dist/collection/components/textarea/textarea.js +14 -22
  178. package/dist/collection/components/tooltip/tooltip.js +13 -19
  179. package/dist/collection/components/upload/upload.css +1 -1
  180. package/dist/collection/components/upload/upload.js +36 -29
  181. package/dist/collection/components/wizard/wizard-panel/wizard-panel.js +3 -13
  182. package/dist/collection/components/wizard/wizard.js +22 -26
  183. package/dist/collection/pages/components/select/remote-options.js +87 -0
  184. package/dist/collection/shared/utils/slot.js +1 -1
  185. package/dist/components/br-avatar.js +1 -1
  186. package/dist/components/br-breadcrumb-item.js +1 -1
  187. package/dist/components/br-breadcrumb.js +1 -1
  188. package/dist/components/br-button.js +1 -1
  189. package/dist/components/br-card.js +1 -1
  190. package/dist/components/br-carousel-page.js +1 -1
  191. package/dist/components/br-carousel.js +1 -1
  192. package/dist/components/br-checkbox-group.js +1 -1
  193. package/dist/components/br-checkbox.js +1 -1
  194. package/dist/components/br-checkgroup.js +1 -1
  195. package/dist/components/br-collapse.js +1 -1
  196. package/dist/components/br-cookiebar-cookie.js +1 -1
  197. package/dist/components/br-cookiebar-group.js +1 -1
  198. package/dist/components/br-cookiebar-header.js +1 -1
  199. package/dist/components/br-cookiebar-link.js +1 -1
  200. package/dist/components/br-cookiebar-note-group.js +1 -1
  201. package/dist/components/br-cookiebar-note.js +1 -1
  202. package/dist/components/br-cookiebar.js +1 -1
  203. package/dist/components/br-crumb.js +1 -1
  204. package/dist/components/br-date-picker.js +1 -1
  205. package/dist/components/br-datetime-input.js +1 -1
  206. package/dist/components/br-datetime-picker.js +1 -1
  207. package/dist/components/br-divider.js +1 -1
  208. package/dist/components/br-dropdown.js +1 -1
  209. package/dist/components/br-footer-category.js +1 -1
  210. package/dist/components/br-footer-item.js +1 -1
  211. package/dist/components/br-footer-legal.js +1 -1
  212. package/dist/components/br-footer-logo.js +1 -1
  213. package/dist/components/br-footer-social.js +1 -1
  214. package/dist/components/br-footer.js +1 -1
  215. package/dist/components/br-header-function.js +1 -1
  216. package/dist/components/br-header-link.js +1 -1
  217. package/dist/components/br-header-list.js +1 -1
  218. package/dist/components/br-header-logo.js +1 -1
  219. package/dist/components/br-header.js +1 -1
  220. package/dist/components/br-icon.js +1 -1
  221. package/dist/components/br-input.js +1 -1
  222. package/dist/components/br-item.js +1 -1
  223. package/dist/components/br-link.js +1 -1
  224. package/dist/components/br-list.js +1 -1
  225. package/dist/components/br-loading.js +1 -1
  226. package/dist/components/br-magic-button.js +1 -1
  227. package/dist/components/br-menu-group.js +1 -1
  228. package/dist/components/br-menu-header.js +1 -1
  229. package/dist/components/br-menu-info.js +1 -1
  230. package/dist/components/br-menu-item.js +1 -1
  231. package/dist/components/br-menu-link.js +1 -1
  232. package/dist/components/br-menu-list.js +1 -1
  233. package/dist/components/br-menu-logo.js +1 -1
  234. package/dist/components/br-menu-social.js +1 -1
  235. package/dist/components/br-menu.js +1 -1
  236. package/dist/components/br-message.js +1 -1
  237. package/dist/components/br-modal.js +1 -1
  238. package/dist/components/br-notification-body.js +1 -1
  239. package/dist/components/br-notification-header.js +1 -1
  240. package/dist/components/br-notification-item.js +1 -1
  241. package/dist/components/br-notification.js +1 -1
  242. package/dist/components/br-pagination.js +1 -1
  243. package/dist/components/br-radio-group.js +1 -1
  244. package/dist/components/br-radio.js +1 -1
  245. package/dist/components/br-scrim.js +1 -1
  246. package/dist/components/br-select-input.js +1 -1
  247. package/dist/components/br-select-list.js +1 -1
  248. package/dist/components/br-select-option.js +1 -1
  249. package/dist/components/br-select.js +1 -1
  250. package/dist/components/br-sign-in.js +1 -1
  251. package/dist/components/br-skip-link-item.js +1 -1
  252. package/dist/components/br-skip-link.js +1 -1
  253. package/dist/components/br-skiplink-item.js +1 -1
  254. package/dist/components/br-slider.js +1 -1
  255. package/dist/components/br-step-item.js +1 -1
  256. package/dist/components/br-step.js +1 -1
  257. package/dist/components/br-switch.js +1 -1
  258. package/dist/components/br-tab-item.js +1 -1
  259. package/dist/components/br-tab.js +1 -1
  260. package/dist/components/br-table-body.js +1 -1
  261. package/dist/components/br-table-cell.js +1 -1
  262. package/dist/components/br-table-header-cell.js +1 -1
  263. package/dist/components/br-table-header.js +1 -1
  264. package/dist/components/br-table-row.js +1 -1
  265. package/dist/components/br-table.js +1 -1
  266. package/dist/components/br-tag.js +1 -1
  267. package/dist/components/br-textarea.js +1 -1
  268. package/dist/components/br-time-picker.js +1 -1
  269. package/dist/components/br-tooltip.js +1 -1
  270. package/dist/components/br-upload.js +1 -1
  271. package/dist/components/br-wizard-panel.js +1 -1
  272. package/dist/components/br-wizard.js +1 -1
  273. package/dist/components/index.js +1 -1
  274. package/dist/components/{p-jOb1hCPi.js → p-448Z5r2f.js} +1 -1
  275. package/dist/components/{p-DL6xuxGG.js → p-AhfgJCUp.js} +1 -1
  276. package/dist/components/{p-BzQFMh9j.js → p-AoNL6BaW.js} +1 -1
  277. package/dist/components/{p-Devw08cc.js → p-B468MCYC.js} +1 -1
  278. package/dist/components/{p-BH6QYnAr.js → p-B985Ov_x.js} +1 -1
  279. package/dist/components/{p-5h-W9_JR.js → p-BOWQIHQA.js} +1 -1
  280. package/dist/components/{p-Di96UxvH.js → p-BPQrgCRr.js} +1 -1
  281. package/dist/components/{p-CeNELttN.js → p-BwQT0fOJ.js} +1 -1
  282. package/dist/components/{p-CjtmJTLO.js → p-CAgbUwsx.js} +1 -1
  283. package/dist/components/{p-DDu3JV_r.js → p-CFXey8i8.js} +1 -1
  284. package/dist/components/{p-DsO4F0Cz.js → p-CVz_akHx.js} +1 -1
  285. package/dist/components/{p-DFWqyfUe.js → p-CW8xwk6J.js} +1 -1
  286. package/dist/components/p-CYZVdKeO.js +5 -0
  287. package/dist/components/p-C_DC6oQW.js +16 -0
  288. package/dist/components/{p-CCPHCJjw.js → p-CeWbZN7V.js} +1 -1
  289. package/dist/components/p-CyXVsiz9.js +5 -0
  290. package/dist/components/{p-BFHvuEnN.js → p-DDe0tQEO.js} +1 -1
  291. package/dist/components/{p-D-3G3Ioq.js → p-DJKZ8ktB.js} +1 -1
  292. package/dist/components/{p-BicHMcSS.js → p-DRsZ9GNg.js} +1 -1
  293. package/dist/components/p-DU54cqCf.js +5 -0
  294. package/dist/components/p-DVJlmlEX.js +5 -0
  295. package/dist/components/{p-ta-24T1Z.js → p-DcMjwTqu.js} +1 -1
  296. package/dist/components/p-Dd1qCWAK.js +5 -0
  297. package/dist/components/{p-rMnkh3Cy.js → p-Dn36Mj2E.js} +1 -1
  298. package/dist/components/{p-DOX9Uwk1.js → p-DoWy_P8b.js} +1 -1
  299. package/dist/components/{p-Dp3MsSXu.js → p-HbhTnepI.js} +1 -1
  300. package/dist/components/{p-CbgKdASU.js → p-JkJjzmGm.js} +1 -1
  301. package/dist/components/{p-Bvrw9yWR.js → p-Or3FLzbz.js} +1 -1
  302. package/dist/components/{p-PV731d8s.js → p-SWQlgYWR.js} +1 -1
  303. package/dist/components/{p-XW6Hp_Jk.js → p-Zb9nyfTY.js} +1 -1
  304. package/dist/components/{p-OQpiDEK9.js → p-jvKQA6x7.js} +1 -1
  305. package/dist/components/{p-CBHd0-fF.js → p-pQb-3jFY.js} +1 -1
  306. package/dist/components/{p-848QkYoM.js → p-qX6sHxOk.js} +1 -1
  307. package/dist/esm/br-avatar.entry.js +2 -2
  308. package/dist/esm/br-breadcrumb-item.entry.js +1 -1
  309. package/dist/esm/br-breadcrumb.entry.js +2 -2
  310. package/dist/esm/br-button_2.entry.js +2 -2
  311. package/dist/esm/br-card.entry.js +2 -2
  312. package/dist/esm/br-carousel-page.entry.js +1 -1
  313. package/dist/esm/br-carousel.entry.js +1 -1
  314. package/dist/esm/br-checkbox-group.entry.js +2 -2
  315. package/dist/esm/br-checkbox.entry.js +3 -3
  316. package/dist/esm/br-checkgroup.entry.js +1 -1
  317. package/dist/esm/br-collapse_2.entry.js +3 -3
  318. package/dist/esm/br-cookiebar-cookie.entry.js +1 -1
  319. package/dist/esm/br-cookiebar-group.entry.js +1 -1
  320. package/dist/esm/br-cookiebar-header.entry.js +1 -1
  321. package/dist/esm/br-cookiebar-link.entry.js +1 -1
  322. package/dist/esm/br-cookiebar-note.entry.js +1 -1
  323. package/dist/esm/br-cookiebar.entry.js +2 -2
  324. package/dist/esm/br-crumb.entry.js +1 -1
  325. package/dist/esm/br-date-picker_3.entry.js +155 -68
  326. package/dist/esm/br-datetime-picker.entry.js +5 -5
  327. package/dist/esm/br-divider.entry.js +2 -2
  328. package/dist/esm/br-dropdown_2.entry.js +40 -16
  329. package/dist/esm/br-footer-category.entry.js +2 -2
  330. package/dist/esm/br-footer-item.entry.js +1 -1
  331. package/dist/esm/br-footer-legal.entry.js +1 -1
  332. package/dist/esm/br-footer-logo.entry.js +1 -1
  333. package/dist/esm/br-footer-social.entry.js +1 -1
  334. package/dist/esm/br-footer.entry.js +3 -3
  335. package/dist/esm/br-header-function.entry.js +1 -1
  336. package/dist/esm/br-header-link.entry.js +1 -1
  337. package/dist/esm/br-header-list.entry.js +1 -1
  338. package/dist/esm/br-header-logo.entry.js +1 -1
  339. package/dist/esm/br-header.entry.js +1 -1
  340. package/dist/esm/br-icon.entry.js +2 -2
  341. package/dist/esm/br-input.entry.js +59 -11
  342. package/dist/esm/br-item.entry.js +2 -2
  343. package/dist/esm/br-link.entry.js +7 -7
  344. package/dist/esm/br-loading.entry.js +1 -1
  345. package/dist/esm/br-magic-button.entry.js +1 -1
  346. package/dist/esm/br-menu-group.entry.js +1 -1
  347. package/dist/esm/br-menu-header.entry.js +1 -1
  348. package/dist/esm/br-menu-info.entry.js +1 -1
  349. package/dist/esm/br-menu-item.entry.js +1 -1
  350. package/dist/esm/br-menu-link.entry.js +1 -1
  351. package/dist/esm/br-menu-logo.entry.js +1 -1
  352. package/dist/esm/br-menu.entry.js +3 -3
  353. package/dist/esm/br-notification-body.entry.js +1 -1
  354. package/dist/esm/br-notification-header.entry.js +1 -1
  355. package/dist/esm/br-notification-item.entry.js +1 -1
  356. package/dist/esm/br-notification.entry.js +2 -2
  357. package/dist/esm/br-pagination.entry.js +3 -3
  358. package/dist/esm/br-radio-group.entry.js +3 -3
  359. package/dist/esm/br-radio.entry.js +3 -3
  360. package/dist/esm/br-scrim.entry.js +2 -2
  361. package/dist/esm/br-select-input_3.entry.js +39 -16
  362. package/dist/esm/br-sign-in.entry.js +2 -2
  363. package/dist/esm/br-skip-link-item.entry.js +1 -1
  364. package/dist/esm/br-skip-link.entry.js +1 -1
  365. package/dist/esm/br-skiplink-item.entry.js +1 -1
  366. package/dist/esm/br-slider.entry.js +2 -2
  367. package/dist/esm/br-step_2.entry.js +4 -4
  368. package/dist/esm/br-switch.entry.js +3 -3
  369. package/dist/esm/br-tab-item.entry.js +1 -1
  370. package/dist/esm/br-tab.entry.js +3 -3
  371. package/dist/esm/br-table-body.entry.js +1 -1
  372. package/dist/esm/br-table-cell.entry.js +1 -1
  373. package/dist/esm/br-table-header-cell.entry.js +1 -1
  374. package/dist/esm/br-table-header.entry.js +1 -1
  375. package/dist/esm/br-table-row.entry.js +1 -1
  376. package/dist/esm/br-table.entry.js +1 -1
  377. package/dist/esm/br-tag.entry.js +3 -3
  378. package/dist/esm/br-textarea.entry.js +2 -2
  379. package/dist/esm/br-tooltip.entry.js +1 -1
  380. package/dist/esm/br-upload.entry.js +4 -4
  381. package/dist/esm/br-wizard-panel.entry.js +1 -1
  382. package/dist/esm/br-wizard.entry.js +1 -1
  383. package/dist/esm/{datetime-picker-constants-DDc4sADe.js → datetime-picker-constants-1l4_-FEJ.js} +1 -1
  384. package/dist/esm/{iconify-icon-D3usVJE2.js → iconify-icon-C_DC6oQW.js} +103 -57
  385. package/dist/esm/{index-CytVKoHT.js → index-BQRBKuY0.js} +64 -17
  386. package/dist/esm/index.js +2 -2
  387. package/dist/esm/{isValid-Bee0Uvqc.js → isValid-wU7S6MI2.js} +1 -1
  388. package/dist/esm/loader.js +1 -1
  389. package/dist/esm/{slot-BIG-yees.js → slot-Bt01zQ7-.js} +1 -1
  390. package/dist/esm/webcomponents.js +1 -1
  391. package/dist/hydrate/index.js +1452 -1876
  392. package/dist/hydrate/index.mjs +1452 -1876
  393. package/dist/types/components/avatar/avatar.d.ts +20 -20
  394. package/dist/types/components/breadcrumb/breadcrumb-item/breadcrumb-item.d.ts +3 -11
  395. package/dist/types/components/breadcrumb/breadcrumb.d.ts +30 -25
  396. package/dist/types/components/breadcrumb/crumb/crumb.d.ts +1 -12
  397. package/dist/types/components/button/button.d.ts +20 -20
  398. package/dist/types/components/card/card.d.ts +19 -21
  399. package/dist/types/components/carousel/carousel-page/carousel-page.d.ts +2 -12
  400. package/dist/types/components/carousel/carousel.d.ts +22 -29
  401. package/dist/types/components/checkbox/checkbox.d.ts +16 -22
  402. package/dist/types/components/checkbox-group/checkbox-group.d.ts +17 -18
  403. package/dist/types/components/checkgroup/checkgroup.d.ts +1 -13
  404. package/dist/types/components/collapse/collapse.d.ts +24 -20
  405. package/dist/types/components/cookiebar/cookiebar-cookie/cookiebar-cookie.d.ts +2 -15
  406. package/dist/types/components/cookiebar/cookiebar-group/cookiebar-group.d.ts +2 -15
  407. package/dist/types/components/cookiebar/cookiebar-header/cookiebar-header.d.ts +2 -15
  408. package/dist/types/components/cookiebar/cookiebar-link/cookiebar-link.d.ts +2 -14
  409. package/dist/types/components/cookiebar/cookiebar-note/cookiebar-note.d.ts +2 -13
  410. package/dist/types/components/cookiebar/cookiebar-note-group/cookiebar-note-group.d.ts +2 -13
  411. package/dist/types/components/cookiebar/cookiebar.d.ts +30 -25
  412. package/dist/types/components/datetime-picker/date-picker/date-picker-locale.d.ts +12 -4
  413. package/dist/types/components/datetime-picker/date-picker/date-picker.d.ts +57 -11
  414. package/dist/types/components/datetime-picker/datetime-input/datetime-input.d.ts +2 -12
  415. package/dist/types/components/datetime-picker/datetime-picker.d.ts +22 -26
  416. package/dist/types/components/datetime-picker/time-picker/time-picker.d.ts +3 -13
  417. package/dist/types/components/divider/divider.d.ts +14 -18
  418. package/dist/types/components/dropdown/dropdown.d.ts +21 -20
  419. package/dist/types/components/footer/footer-category/footer-category.d.ts +2 -15
  420. package/dist/types/components/footer/footer-item/footer-item.d.ts +2 -15
  421. package/dist/types/components/footer/footer-legal/footer-legal.d.ts +1 -15
  422. package/dist/types/components/footer/footer-logo/footer-logo.d.ts +2 -15
  423. package/dist/types/components/footer/footer-social/footer-social.d.ts +2 -14
  424. package/dist/types/components/footer/footer.d.ts +23 -27
  425. package/dist/types/components/header/header-function/header-function.d.ts +9 -13
  426. package/dist/types/components/header/header-link/header-link.d.ts +2 -15
  427. package/dist/types/components/header/header-list/header-list.d.ts +2 -15
  428. package/dist/types/components/header/header-logo/header-logo.d.ts +2 -15
  429. package/dist/types/components/header/header.d.ts +29 -26
  430. package/dist/types/components/icon/icon.d.ts +21 -16
  431. package/dist/types/components/input/input.d.ts +39 -22
  432. package/dist/types/components/item/item.d.ts +17 -21
  433. package/dist/types/components/link/link.d.ts +18 -22
  434. package/dist/types/components/list/list.d.ts +16 -20
  435. package/dist/types/components/loading/loading.d.ts +16 -23
  436. package/dist/types/components/magic-button/magic-button.d.ts +12 -19
  437. package/dist/types/components/menu/menu-group/menu-group.d.ts +2 -15
  438. package/dist/types/components/menu/menu-header/menu-header.d.ts +2 -15
  439. package/dist/types/components/menu/menu-info/menu-info.d.ts +1 -14
  440. package/dist/types/components/menu/menu-item/menu-item.d.ts +2 -15
  441. package/dist/types/components/menu/menu-link/menu-link.d.ts +4 -16
  442. package/dist/types/components/menu/menu-list/menu-list.d.ts +2 -15
  443. package/dist/types/components/menu/menu-logo/menu-logo.d.ts +1 -14
  444. package/dist/types/components/menu/menu-social/menu-social.d.ts +2 -15
  445. package/dist/types/components/menu/menu.d.ts +25 -32
  446. package/dist/types/components/message/message.d.ts +21 -24
  447. package/dist/types/components/modal/modal.d.ts +18 -21
  448. package/dist/types/components/notification/notification-body/notification-body.d.ts +2 -12
  449. package/dist/types/components/notification/notification-header/notification-header.d.ts +2 -13
  450. package/dist/types/components/notification/notification-item/notification-item.d.ts +2 -15
  451. package/dist/types/components/notification/notification.d.ts +18 -27
  452. package/dist/types/components/pagination/pagination.d.ts +13 -21
  453. package/dist/types/components/radio/radio.d.ts +15 -18
  454. package/dist/types/components/radio-group/radio-group.d.ts +18 -18
  455. package/dist/types/components/scrim/scrim.d.ts +12 -15
  456. package/dist/types/components/select/select-input/select-input.d.ts +11 -10
  457. package/dist/types/components/select/select-list/select-list.d.ts +13 -12
  458. package/dist/types/components/select/select-option/select-option.d.ts +5 -10
  459. package/dist/types/components/select/select.d.ts +42 -94
  460. package/dist/types/components/sign-in/sign-in.d.ts +11 -15
  461. package/dist/types/components/skip-link/skip-link-item/skip-link-item-alias.d.ts +7 -3
  462. package/dist/types/components/skip-link/skip-link-item/skip-link-item.d.ts +4 -14
  463. package/dist/types/components/skip-link/skip-link.d.ts +17 -23
  464. package/dist/types/components/slider/slider.d.ts +14 -24
  465. package/dist/types/components/step/step-item/step-item.d.ts +2 -12
  466. package/dist/types/components/step/step.d.ts +15 -24
  467. package/dist/types/components/switch/switch.d.ts +14 -18
  468. package/dist/types/components/tab/tab-item/tab-item.d.ts +4 -14
  469. package/dist/types/components/tab/tab.d.ts +19 -26
  470. package/dist/types/components/table/table-body/table-body.d.ts +2 -12
  471. package/dist/types/components/table/table-cell/table-cell.d.ts +2 -11
  472. package/dist/types/components/table/table-header/table-header.d.ts +2 -12
  473. package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +2 -12
  474. package/dist/types/components/table/table-row/table-row.d.ts +2 -12
  475. package/dist/types/components/table/table.d.ts +24 -31
  476. package/dist/types/components/tag/tag.d.ts +15 -24
  477. package/dist/types/components/textarea/textarea.d.ts +13 -21
  478. package/dist/types/components/tooltip/tooltip.d.ts +12 -18
  479. package/dist/types/components/upload/upload.d.ts +20 -27
  480. package/dist/types/components/wizard/wizard-panel/wizard-panel.d.ts +2 -12
  481. package/dist/types/components/wizard/wizard.d.ts +21 -25
  482. package/dist/types/components.d.ts +3384 -4947
  483. package/dist/webcomponents/index.esm.js +1 -1
  484. package/dist/webcomponents/{p-08ac6f09.entry.js → p-031a2256.entry.js} +1 -1
  485. package/dist/webcomponents/{p-23a5cfd7.entry.js → p-0602e5b1.entry.js} +1 -1
  486. package/dist/webcomponents/p-079d5f69.entry.js +5 -0
  487. package/dist/webcomponents/{p-0fc112fc.entry.js → p-087ed5e7.entry.js} +1 -1
  488. package/dist/webcomponents/{p-7ee564a1.entry.js → p-0d5a9ebf.entry.js} +1 -1
  489. package/dist/webcomponents/{p-a038be16.entry.js → p-105b4d06.entry.js} +1 -1
  490. package/dist/webcomponents/{p-6a293be8.entry.js → p-11d4edc5.entry.js} +1 -1
  491. package/dist/webcomponents/{p-31a4694a.entry.js → p-12dd22af.entry.js} +1 -1
  492. package/dist/webcomponents/{p-b07bfdc5.entry.js → p-14aedf0d.entry.js} +1 -1
  493. package/dist/webcomponents/{p-1ba60d13.entry.js → p-152482f9.entry.js} +1 -1
  494. package/dist/webcomponents/{p-09c79c1d.entry.js → p-19b4b1b7.entry.js} +1 -1
  495. package/dist/webcomponents/{p-b0124459.entry.js → p-1cd1126e.entry.js} +1 -1
  496. package/dist/webcomponents/{p-DDc4sADe.js → p-1l4_-FEJ.js} +1 -1
  497. package/dist/webcomponents/{p-18cf093a.entry.js → p-21e10074.entry.js} +1 -1
  498. package/dist/webcomponents/{p-47c490ef.entry.js → p-2271ea84.entry.js} +1 -1
  499. package/dist/webcomponents/{p-c717c745.entry.js → p-271b1ede.entry.js} +1 -1
  500. package/dist/webcomponents/{p-b66ab52d.entry.js → p-28f732fc.entry.js} +1 -1
  501. package/dist/webcomponents/{p-b5d25332.entry.js → p-2971d38a.entry.js} +1 -1
  502. package/dist/webcomponents/{p-b063c12f.entry.js → p-2ac48875.entry.js} +1 -1
  503. package/dist/webcomponents/{p-609cf652.entry.js → p-2b1a919c.entry.js} +1 -1
  504. package/dist/webcomponents/{p-05b459f2.entry.js → p-2da57966.entry.js} +1 -1
  505. package/dist/webcomponents/{p-eb94199d.entry.js → p-2e81b0b3.entry.js} +1 -1
  506. package/dist/webcomponents/p-2eececed.entry.js +5 -0
  507. package/dist/webcomponents/{p-f99d8c9c.entry.js → p-2f904c4a.entry.js} +1 -1
  508. package/dist/webcomponents/p-32414f1c.entry.js +5 -0
  509. package/dist/webcomponents/{p-5a7c2031.entry.js → p-324afbce.entry.js} +1 -1
  510. package/dist/webcomponents/{p-a89b684d.entry.js → p-330ec8ab.entry.js} +1 -1
  511. package/dist/webcomponents/{p-37914e63.entry.js → p-374f83b1.entry.js} +1 -1
  512. package/dist/webcomponents/{p-d08b6266.entry.js → p-3926cc91.entry.js} +1 -1
  513. package/dist/webcomponents/{p-745213f7.entry.js → p-39a7826d.entry.js} +1 -1
  514. package/dist/webcomponents/{p-8aa6f07c.entry.js → p-3bcc2c58.entry.js} +1 -1
  515. package/dist/webcomponents/{p-67605757.entry.js → p-3c7ce0e4.entry.js} +1 -1
  516. package/dist/webcomponents/{p-473561f2.entry.js → p-467842ca.entry.js} +1 -1
  517. package/dist/webcomponents/p-53550e8c.entry.js +5 -0
  518. package/dist/webcomponents/p-53e71a8a.entry.js +5 -0
  519. package/dist/webcomponents/{p-198aa844.entry.js → p-5528b466.entry.js} +1 -1
  520. package/dist/webcomponents/{p-a32d17cb.entry.js → p-55e0822d.entry.js} +1 -1
  521. package/dist/webcomponents/{p-01801ac1.entry.js → p-58bacbe1.entry.js} +1 -1
  522. package/dist/webcomponents/{p-a46f068e.entry.js → p-621f0fa8.entry.js} +1 -1
  523. package/dist/webcomponents/{p-821341dc.entry.js → p-6514a75d.entry.js} +1 -1
  524. package/dist/webcomponents/{p-dc23cb2e.entry.js → p-678b43a6.entry.js} +1 -1
  525. package/dist/webcomponents/p-6b6be415.entry.js +5 -0
  526. package/dist/webcomponents/{p-ac68355e.entry.js → p-6d58ab4f.entry.js} +1 -1
  527. package/dist/webcomponents/{p-fdcb54a3.entry.js → p-6ff9b26e.entry.js} +1 -1
  528. package/dist/webcomponents/{p-e241caf3.entry.js → p-84dfbfdd.entry.js} +1 -1
  529. package/dist/webcomponents/{p-6f1a4fbe.entry.js → p-85c8d060.entry.js} +1 -1
  530. package/dist/webcomponents/{p-3b0dd0ff.entry.js → p-913d6f28.entry.js} +1 -1
  531. package/dist/webcomponents/{p-fed02286.entry.js → p-975ea5c7.entry.js} +1 -1
  532. package/dist/webcomponents/{p-15022ab7.entry.js → p-992167bc.entry.js} +1 -1
  533. package/dist/webcomponents/p-C_DC6oQW.js +16 -0
  534. package/dist/webcomponents/{p-fOJu6uZR.js → p-CpE_G6IZ.js} +1 -1
  535. package/dist/webcomponents/p-DnwERaeQ.js +5 -0
  536. package/dist/webcomponents/{p-1bb96641.entry.js → p-a21872bf.entry.js} +1 -1
  537. package/dist/webcomponents/{p-db309a11.entry.js → p-a9f16a65.entry.js} +1 -1
  538. package/dist/webcomponents/{p-7fda8b89.entry.js → p-bbcde1ea.entry.js} +1 -1
  539. package/dist/webcomponents/{p-42b60169.entry.js → p-bbf47e78.entry.js} +1 -1
  540. package/dist/webcomponents/{p-42c9c6c5.entry.js → p-bf35e506.entry.js} +1 -1
  541. package/dist/webcomponents/{p-9e0324a7.entry.js → p-c09af3cd.entry.js} +1 -1
  542. package/dist/webcomponents/{p-794b701b.entry.js → p-c29268b5.entry.js} +1 -1
  543. package/dist/webcomponents/{p-7352d459.entry.js → p-c3e61c39.entry.js} +1 -1
  544. package/dist/webcomponents/{p-fb76b1e0.entry.js → p-c6b2545a.entry.js} +1 -1
  545. package/dist/webcomponents/{p-b55425b7.entry.js → p-c6f2f17b.entry.js} +1 -1
  546. package/dist/webcomponents/{p-95f3c44a.entry.js → p-cae39e13.entry.js} +1 -1
  547. package/dist/webcomponents/{p-8116ee93.entry.js → p-cb1e08b1.entry.js} +1 -1
  548. package/dist/webcomponents/{p-dacb7e2c.entry.js → p-cb690a87.entry.js} +1 -1
  549. package/dist/webcomponents/{p-8ddf3ce3.entry.js → p-d0be7243.entry.js} +1 -1
  550. package/dist/webcomponents/{p-3658adcf.entry.js → p-d191c6e3.entry.js} +1 -1
  551. package/dist/webcomponents/{p-2c8595d3.entry.js → p-d205f3fd.entry.js} +1 -1
  552. package/dist/webcomponents/{p-4b01c60f.entry.js → p-d3bd2c40.entry.js} +1 -1
  553. package/dist/webcomponents/{p-af888d13.entry.js → p-dbeea64e.entry.js} +1 -1
  554. package/dist/webcomponents/{p-d6165aa0.entry.js → p-df475129.entry.js} +1 -1
  555. package/dist/webcomponents/{p-67774920.entry.js → p-e0ccf189.entry.js} +1 -1
  556. package/dist/webcomponents/p-e121429a.entry.js +5 -0
  557. package/dist/webcomponents/{p-96dbb585.entry.js → p-e4b968b5.entry.js} +1 -1
  558. package/dist/webcomponents/{p-67d62559.entry.js → p-e6c6f305.entry.js} +1 -1
  559. package/dist/webcomponents/{p-13babfc4.entry.js → p-e8291be2.entry.js} +1 -1
  560. package/dist/webcomponents/{p-614683d9.entry.js → p-eb5806c7.entry.js} +1 -1
  561. package/dist/webcomponents/{p-20477061.entry.js → p-ed3fa8ec.entry.js} +1 -1
  562. package/dist/webcomponents/{p-21feda62.entry.js → p-f9084f16.entry.js} +1 -1
  563. package/dist/webcomponents/{p-695dbeb0.entry.js → p-fad3aa61.entry.js} +1 -1
  564. package/dist/webcomponents/webcomponents.esm.js +1 -1
  565. package/package.json +1 -1
  566. package/dist/collection/pages/components/select/remote.js +0 -33
  567. package/dist/collection/pages/components/select/virtualized.js +0 -13
  568. package/dist/components/p-BcW8O6h2.js +0 -5
  569. package/dist/components/p-Bs7iRQTG.js +0 -5
  570. package/dist/components/p-D3usVJE2.js +0 -16
  571. package/dist/components/p-DUq7uT2-.js +0 -5
  572. package/dist/components/p-DuLHFTpa.js +0 -5
  573. package/dist/components/p-DusornQ0.js +0 -5
  574. package/dist/webcomponents/p-09817344.entry.js +0 -5
  575. package/dist/webcomponents/p-172d42c2.entry.js +0 -5
  576. package/dist/webcomponents/p-9815ab95.entry.js +0 -5
  577. package/dist/webcomponents/p-CJipT0in.js +0 -5
  578. package/dist/webcomponents/p-D3usVJE2.js +0 -16
  579. package/dist/webcomponents/p-b609b464.entry.js +0 -5
  580. package/dist/webcomponents/p-ce3d689c.entry.js +0 -5
  581. package/dist/webcomponents/p-e7107869.entry.js +0 -5
  582. package/dist/webcomponents/p-f8993ae4.entry.js +0 -5
  583. /package/dist/components/{p-5z6jgH1D.js → p-BNckUhK6.js} +0 -0
  584. /package/dist/webcomponents/{p-BIG-yees.js → p-Bt01zQ7-.js} +0 -0
@@ -14,39 +14,32 @@ const TAB_ALIGNMENTS = ['start', 'center', 'end'];
14
14
  const CSS_FUNCTION_HEIGHT_REGEX = /^(calc|min|max|clamp)\(.+\)$/;
15
15
  const CSS_UNIT_HEIGHT_REGEX = /^\d+(\.\d+)?(px|%|vh|vw|dvh|svh|lvh|vmin|vmax|rem|em)$/;
16
16
  /**
17
- * O componente `br-tab` é o organizador de navegação por abas do GovBR-DS, desenvolvido para permitir que a pessoa usuária alterne entre diferentes visões ou painéis de conteúdo correlacionados sem sair da mesma página.
17
+ * O `br-tab` organiza diferentes visões ou painéis de conteúdo na mesma página através de abas navegáveis.
18
18
  *
19
- * ### Para que serve
19
+ * Declare os itens usando `br-tab-item` no slot padrão. O componente gera automaticamente os botões da barra de navegação e controla a exibição do painel correspondente.
20
20
  *
21
- * - **Segmentação de conteúdo em mesmo nível:** Agrupa informações que compartilham o mesmo contexto geral (ex.: "Visão Geral", "Especificações", "Histórico", "Anexos").
22
- * - **Economia de espaço vertical:** Evita rolagens excessivas na página mantendo apenas o painel selecionado visível no momento.
23
- * - **Navegação acessível WAI-ARIA Tablist:** Implementa o padrão oficial de abas acessíveis: papéis semânticos `tablist`, `tab` e `tabpanel`, com controle total por setas do teclado e foco cíclico.
21
+ * ```html
22
+ * <br-tab>
23
+ * <br-tab-item label="Dados Cadastrais">
24
+ * <p>Conteúdo da primeira aba.</p>
25
+ * </br-tab-item>
26
+ * <br-tab-item label="Documentos">
27
+ * <p>Conteúdo da segunda aba.</p>
28
+ * </br-tab-item>
29
+ * </br-tab>
30
+ * ```
24
31
  *
25
- * ### Quando utilizar
32
+ * ### Quando usar
26
33
  *
27
- * - **Utilize quando:**
28
- * - Houver conjuntos equivalentes de informação entre os quais a pessoa usuária pode navegar livremente e em qualquer ordem.
29
- * - **Evite e prefira outro componente quando:**
30
- * - O conteúdo for sequencial com dependência de avanço ou conclusão de etapas anteriores (prefira `br-step` ou `br-wizard`).
31
- * - As abas tiverem a função de navegar para rotas e URLs distintas da aplicação (prefira uma barra de links com `br-link` ou `br-header`).
34
+ * - Alternar entre conjuntos equivalentes de informação sem sair da página e sem ordem fixa de leitura.
32
35
  *
33
- * ### Composição e Subcomponentes
36
+ * ### Quando evitar
34
37
  *
35
- * | Subcomponente | Papel | Regra de uso |
36
- * | --- | --- | --- |
37
- * | `br-tab` | **Orquestrador de abas.** Constrói a barra de navegação acessível (`tablist`), controla a aba ativa e gerencia o teclado. | Contêiner raiz obrigatório declarado no template. |
38
- * | `br-tab-item` | **Aba e painel associado.** Define simultaneamente o rótulo do botão da aba e o conteúdo do painel correspondente. | Declarado no slot padrão do `br-tab`. |
38
+ * - Processos com etapas sequenciais que dependem de preenchimento prévio: use `br-wizard` ou `br-step`.
39
+ * - Links para páginas ou rotas distintas: use `br-link` ou `br-header`.
39
40
  *
40
- * ### Como os subcomponentes se relacionam
41
+ * Consulte as [diretrizes de design do GovBR](https://www.gov.br/ds/components/tab?tab=designer).
41
42
  *
42
- * O `br-tab` adota uma arquitetura declarativa prática:
43
- * 1. A aplicação declara os elementos `br-tab-item` dentro do slot padrão do `br-tab`.
44
- * 2. O componente pai extrai os rótulos e ícones de cada item para renderizar a barra superior de abas (`role="tab"`).
45
- * 3. O pai controla a visibilidade dos painéis (`role="tabpanel"`), exibindo exclusivamente o conteúdo da aba selecionada e garantindo a correlação de IDs acessíveis (`aria-controls`, `aria-labelledby`).
46
- *
47
- * Para a documentação completa de design, incluindo diretrizes de acessibilidade e especificações visuais, consulte o [Design System do GovBR](https://www.gov.br/ds/components/tab?tab=designer).
48
- *
49
-
50
43
  * @category Navegação, Seleção, Conteúdo
51
44
  * @status stable
52
45
  * @slot default - Slot para inserir os itens das abas (br-tab-item)
@@ -127,7 +120,7 @@ export class Tab {
127
120
  this.tabItems = nextTabItems;
128
121
  }
129
122
  const colorMode = this.effectiveColorMode;
130
- // Identificador de cada aba: o `id` nativo (canônico) tem precedência sobre o alias
123
+ // Identificador de cada aba: o `id` nativo (padrão) tem precedência sobre o alias
131
124
  // legado `tab-item-id`; só sem nenhum dos dois um id é gerado. O item pode ainda não
132
125
  // estar hidratado aqui, então os atributos são a fonte confiável. Depois do render, o
133
126
  // br-tab-item escreve `tab-panel-{tabItemId}` no próprio `id`; esse valor não é do consumidor.
@@ -448,12 +441,12 @@ export class Tab {
448
441
  render() {
449
442
  const hasCounter = this.tabItems.some((item) => item.counter);
450
443
  const resolvedHeight = this.getResolvedHeight();
451
- return (h(Host, { key: '8f9bb52658cb37048b10b4c81eb4399771ab28f6' }, h("div", { key: '0aa48a13db1b2229890500afa65bd2e78b24727e', class: this.getCssClassMap(), id: this.customId, part: "container", style: resolvedHeight !== undefined ? { '--br-tab-height': resolvedHeight } : undefined }, h("div", { key: '34bb73421269703b161928f03dc9a22b2d0cf629', class: "tab-nav", role: "tablist", "aria-label": this.label, "data-counter": hasCounter ? 'true' : 'false', part: "nav", style: { justifyContent: this.getAlignItemsStyle() } }, this.tabItems.map((item, index) => {
444
+ return (h(Host, { key: '64b14f409cd0472e4c2c5e8db86e0491e53903e7' }, h("div", { key: '192d5bf7becc11413b1d03d0234f2312c43e0418', class: this.getCssClassMap(), id: this.customId, part: "container", style: resolvedHeight !== undefined ? { '--br-tab-height': resolvedHeight } : undefined }, h("div", { key: 'de85ca87582cfc3836646258cbe1ebcb474569d2', class: "tab-nav", role: "tablist", "aria-label": this.label, "data-counter": hasCounter ? 'true' : 'false', part: "nav", style: { justifyContent: this.getAlignItemsStyle() } }, this.tabItems.map((item, index) => {
452
445
  const isActive = item.tabItemId === this.activeTabId;
453
446
  const showOnlyIcon = item.iconOnly ?? (item.onlyIcon || item.hasAttribute('only-icon'));
454
447
  const itemLabel = item.label ?? item.tabItemTitle;
455
448
  return (h("div", { key: item.tabItemId, class: this.getTabItemCssClassMap(isActive), role: "none" }, h("button", { type: "button", id: `tab-button-${item.tabItemId}`, part: "button", role: "tab", "aria-selected": isActive ? 'true' : 'false', tabindex: isActive ? 0 : -1, "aria-setsize": this.tabItems.length, "aria-posinset": index + 1, "aria-label": `${itemLabel}${item.counter ? ` (${item.counter})` : ''}`, title: item.getAttribute('title') || undefined, "data-tab-id": item.tabItemId, "data-tab-index": index, onClick: this.handleTabButtonClick, onKeyDown: this.handleTabButtonKeyDown }, h("span", { class: "name" }, this.renderTabIcon(item), !showOnlyIcon && h("span", null, itemLabel))), isActive && h("span", { class: "tab-indicator", part: "indicator", "aria-hidden": "true" }), item.counter && (h("span", { id: `tab-counter-${item.tabItemId}`, class: "results" }, item.counter))));
456
- })), h("br-divider", { key: '379d4698cf962821440ba0db49f6ad6c4f4d9672', "color-mode": this.effectiveColorMode }), h("div", { key: 'ae45441ee380aff00b3d10ce204468d9d5337161', class: "tab-content", part: "content" }, h("slot", { key: 'fd27af7f71c2b8ab6aceee196764b03cf53efbe0', ref: (el) => {
449
+ })), h("br-divider", { key: '158a6e21f71cc1738cd3ba240fda2ee98654a97a', "color-mode": this.effectiveColorMode }), h("div", { key: '845d375d272ed694f1dbc69d7f099d4d55e32f4e', class: "tab-content", part: "content" }, h("slot", { key: 'c6c32244a33caa44be22b9492fcdd73b6c5e0460', ref: (el) => {
457
450
  this.slotElement = el;
458
451
  }, onSlotchange: this.registerTabItems })))));
459
452
  }
@@ -633,7 +626,7 @@ export class Tab {
633
626
  "optional": true,
634
627
  "docs": {
635
628
  "tags": [],
636
- "text": "Alinhamento horizontal can\u00F4nico. Quando informado, tem preced\u00EAncia sobre `alignItemsTab`; valores inv\u00E1lidos usam `start`."
629
+ "text": "Alinhamento horizontal. Quando informado, tem preced\u00EAncia sobre `alignItemsTab`; valores inv\u00E1lidos usam `start`."
637
630
  },
638
631
  "getter": false,
639
632
  "setter": false,
@@ -4,20 +4,10 @@
4
4
  */
5
5
  import { Host, h } from "@stencil/core";
6
6
  /**
7
- * Subcomponente de corpo de dados de `br-table`, responsável por agrupar as linhas de registros de conteúdo.
7
+ * Corpo de dados (`<tbody>`) da tabela. Use no slot `body` do `br-table`.
8
8
  *
9
- * ### Papel na composição
9
+ * Agrupa as linhas `br-table-row` contendo as células de dados `br-table-cell`.
10
10
  *
11
- * - Define a região principal da tabela com a semântica de `rowgroup` de conteúdo.
12
- * - Recebe as linhas de dados `br-table-row` preenchidas com as células de valor `br-table-cell`.
13
- *
14
- * ### Regra de uso e relacionamento
15
- *
16
- * Deve ser declarado dentro do slot `body` (ou padrão) de `br-table`. Ele organiza o fluxo vertical de registros coordenado pelo pai. Não deve ser usado fora de uma tabela.
17
- *
18
- * Para a documentação completa de design, consulte o [Design System do GovBR](https://www.gov.br/ds/components/table?tab=designer).
19
- *
20
-
21
11
  * @part body - Wrapper do corpo da tabela.
22
12
  */
23
13
  export class TableBody {
@@ -37,7 +27,7 @@ export class TableBody {
37
27
  * @returns JSX.Element representando o elemento host do componente, contendo a estrutura do corpo da tabela.
38
28
  */
39
29
  render() {
40
- return (h(Host, { key: 'c30a20723ca40ca1291d138444e34173fb110ab5', role: "rowgroup" }, h("div", { key: '05f8524511fba5c8dbe1545cad85ad8bca649ec8', class: this.getBodyCssClassMap(), role: "presentation", part: "body" }, h("slot", { key: 'c524b5a34eb6b71475ce4b317a1daf90df9af16b' }))));
30
+ return (h(Host, { key: 'd968fcb8d776d352cd64f98b0d3cb7f1b3db5dcb', role: "rowgroup" }, h("div", { key: '1ec4aa2b73fbecaae78a20bfbe0e2dacf4439ce6', class: this.getBodyCssClassMap(), role: "presentation", part: "body" }, h("slot", { key: 'a5e74dd158b88c53174d528a4c25233e1bfb6f6f' }))));
41
31
  }
42
32
  static get is() { return "br-table-body"; }
43
33
  static get encapsulation() { return "shadow"; }
@@ -7,19 +7,10 @@ import { findComposedOwner } from "../../../shared/utils/ownership";
7
7
  import { resolveAllowedPropValue } from "../../../shared/utils/props";
8
8
  import { TABLE_TOOLTIP_MODE, TABLE_TOOLTIP_STATE } from "../table-constants";
9
9
  /**
10
- * Subcomponente de célula de dados de `br-table`, utilizado para renderizar o valor ou conteúdo de um registro em uma coluna específica.
10
+ * Célula de dados (`<td>`) da tabela. Use dentro de um `br-table-row` no corpo da tabela.
11
11
  *
12
- * ### Papel na composição
12
+ * Coloque o conteúdo do registro no slot padrão.
13
13
  *
14
- * - Exibe o dado pontual da coluna (`role="cell"`), podendo conter texto, badges, ícones, botões de ação ou links.
15
- *
16
- * ### Regra de uso e relacionamento
17
- *
18
- * Deve ser declarado dentro de um `br-table-row` situado no `br-table-body`. O dimensionamento e posicionamento são calculados pelas regras de CSS Grid da tabela pai.
19
- *
20
- * Para a documentação completa de design, consulte o [Design System do GovBR](https://www.gov.br/ds/components/table?tab=designer).
21
- *
22
-
23
14
  * @part cell - Wrapper da célula.
24
15
  * @part content - Área de conteúdo da célula.
25
16
  */
@@ -186,7 +177,7 @@ export class TableCell {
186
177
  * @returns JSX.Element representando o elemento host do componente, contendo a estrutura da célula da tabela.
187
178
  */
188
179
  render() {
189
- return (h(Host, { key: '3670b374c4db4eedcf5376e1f99001a892143762', role: "cell" }, h("div", { key: 'd3fac05a3f8f7cf0f96c290fb2c7f20f1682e1d1', class: this.getCellCssClassMap(), role: "presentation", part: "cell" }, h("div", { key: '1c26cee87dd9b0567a5805f4d2fc64b2515dcb0d', class: "br-table-cell-content", role: "presentation", part: "content" }, h("div", { key: '98c5548b069fc5d2d17ee623b41063eb5f69052d', class: "br-table-cell-truncate", role: "presentation", ref: (el) => (this.truncateContentRef = el), onPointerEnter: this.handleMouseEnter, onPointerLeave: this.handleMouseLeave }, h("slot", { key: '38f7e72e47d9be1c110c64601d22de5ee9c694b1', ref: (el) => (this.contentSlotRef = el) })), this.isTooltipVisible && (h("br-tooltip", { key: '66ed7a3097354ded916781012b4eb69e243ed252', ref: (el) => (this.tooltipRef = el), position: "top", state: this.resolveTooltipState() === TABLE_TOOLTIP_STATE.DANGER ? 'danger' : this.resolveTooltipState() }, h("span", { key: 'a2b9a320c2afddc0144a794ad93fee5eb93c29ff', slot: "content" }, this.tooltipContent)))))));
180
+ return (h(Host, { key: '15911927fc2d5f25b5d7d4df458feed3e8998bce', role: "cell" }, h("div", { key: '2bcfc7a283d823f40b6943f3f49b76a33212be75', class: this.getCellCssClassMap(), role: "presentation", part: "cell" }, h("div", { key: '588b877b48a4e9e94bb623e9d12f9ed4caf56820', class: "br-table-cell-content", role: "presentation", part: "content" }, h("div", { key: '3fca524dcc25e25f3667f24054575931f2daeccc', class: "br-table-cell-truncate", role: "presentation", ref: (el) => (this.truncateContentRef = el), onPointerEnter: this.handleMouseEnter, onPointerLeave: this.handleMouseLeave }, h("slot", { key: '77ff70851c33221a1079d013ef52b1a2afe98cc9', ref: (el) => (this.contentSlotRef = el) })), this.isTooltipVisible && (h("br-tooltip", { key: '8440ff797b7511145f872380fb46071d29d58265', ref: (el) => (this.tooltipRef = el), position: "top", state: this.resolveTooltipState() === TABLE_TOOLTIP_STATE.DANGER ? 'danger' : this.resolveTooltipState() }, h("span", { key: 'ae95d828d50ee35707e1916137185b9f0a04c897', slot: "content" }, this.tooltipContent)))))));
190
181
  }
191
182
  static get is() { return "br-table-cell"; }
192
183
  static get encapsulation() { return "shadow"; }
@@ -4,20 +4,10 @@
4
4
  */
5
5
  import { Host, h } from "@stencil/core";
6
6
  /**
7
- * Subcomponente de cabeçalho de `br-table`, utilizado para agrupar as linhas de títulos das colunas.
7
+ * Cabeçalho da tabela (`br-table`). Use no slot `header`.
8
8
  *
9
- * ### Papel na composição
9
+ * Agrupa as linhas `br-table-row` com as células de cabeçalho `br-table-header-cell`.
10
10
  *
11
- * - Define a região superior da tabela com a semântica de `rowgroup` de cabeçalho.
12
- * - Recebe uma ou mais linhas `br-table-row` que contêm as células de título `br-table-header-cell`.
13
- *
14
- * ### Regra de uso e relacionamento
15
- *
16
- * Deve ser declarado dentro do slot `header` do componente pai `br-table`. O orquestrador da tabela aplica a configuração de colunas e espaçamentos sobre o cabeçalho. Não deve ser usado isoladamente.
17
- *
18
- * Para a documentação completa de design, consulte o [Design System do GovBR](https://www.gov.br/ds/components/table?tab=designer).
19
- *
20
-
21
11
  * @part header - Wrapper do cabeçalho da tabela.
22
12
  */
23
13
  export class TableHeader {
@@ -37,7 +27,7 @@ export class TableHeader {
37
27
  * @returns JSX.Element representando o elemento host do componente, contendo a estrutura do cabeçalho da tabela.
38
28
  */
39
29
  render() {
40
- return (h(Host, { key: '53ac50c7e44fe2c914da90c17663b873274c468d', role: "rowgroup" }, h("div", { key: '0d6bf84f76934e2d8308b1a73403fb4a4fe88722', class: this.getHeaderCssClassMap(), role: "presentation", part: "header" }, h("slot", { key: '9518e02cbc2c3e685b908d0746c73deab35055e0' }))));
30
+ return (h(Host, { key: '5ca1b6b8d10f56639f77b75a9fe26745b5be7b4d', role: "rowgroup" }, h("div", { key: '8b6b924b1b1d805eb55db646952fa3110fe32236', class: this.getHeaderCssClassMap(), role: "presentation", part: "header" }, h("slot", { key: 'c5636e6a580ff35e0142ed0b250754cde68899bb' }))));
41
31
  }
42
32
  static get is() { return "br-table-header"; }
43
33
  static get encapsulation() { return "shadow"; }
@@ -6,20 +6,10 @@ import { Host, h } from "@stencil/core";
6
6
  import { resolveAllowedPropValue } from "../../../shared/utils/props";
7
7
  import { TABLE_TOOLTIP_MODE, TABLE_TOOLTIP_STATE } from "../table-constants";
8
8
  /**
9
- * Subcomponente de célula de cabeçalho de `br-table`, responsável por nomear uma coluna e oferecer controles opcionais de ordenação.
9
+ * Célula de cabeçalho (`<th>`) da tabela. Use dentro de um `br-table-row` no cabeçalho.
10
10
  *
11
- * ### Papel na composição
11
+ * Coloque o título da coluna no slot padrão. Para habilitar ordenação, ative `sortable`.
12
12
  *
13
- * - Define o rótulo da coluna com `role="columnheader"`.
14
- * - Suporta gatilho interativo de ordenação crescente e decrescente (`sortable`), emitindo eventos para reordenação de dados.
15
- *
16
- * ### Regra de uso e relacionamento
17
- *
18
- * Deve ser declarado dentro de um `br-table-row` situado no `br-table-header`. O alinhamento horizontal segue a definição da coluna na tabela pai.
19
- *
20
- * Para a documentação completa de design, consulte o [Design System do GovBR](https://www.gov.br/ds/components/table?tab=designer).
21
- *
22
-
23
13
  * @part cell - Wrapper da célula de cabeçalho.
24
14
  * @part content - Área de conteúdo da célula de cabeçalho.
25
15
  */
@@ -171,7 +161,7 @@ export class TableHeaderCell {
171
161
  * @returns JSX.Element representando o elemento host do componente, contendo a estrutura da célula de cabeçalho da tabela.
172
162
  */
173
163
  render() {
174
- return (h(Host, { key: '70667395aa89e642fc0e39ae29b6ed1373bfd109', role: "columnheader" }, h("div", { key: '605af5cae94de537e2100729a291dc57665733d9', class: this.getHeaderCellCssClassMap(), role: "presentation", part: "cell" }, h("div", { key: '793b918ca6f38f67dfb2da1c89a7addfa7e54c6f', class: "br-table-header-cell-content", role: "presentation", part: "content" }, h("div", { key: '69f6df07fc3fe20974b4beafaf025842aae3d8d0', class: "br-table-header-cell-truncate", role: "presentation", ref: (el) => (this.truncateContentRef = el), onPointerEnter: this.handleMouseEnter, onPointerLeave: this.handleMouseLeave }, h("slot", { key: '90e17f6f9b6b463133f34b561c719b1506b17b1a', ref: (el) => (this.contentSlotRef = el) })), this.isTooltipVisible && (h("br-tooltip", { key: '9d7e5184bb46bb89fb1a9b1e3a9722eada6a0518', ref: (el) => (this.tooltipRef = el), position: "top", state: this.resolveTooltipState() === TABLE_TOOLTIP_STATE.DANGER ? 'danger' : this.resolveTooltipState() }, h("span", { key: 'f4c10e304309b30b5cc2cbd7fa56d008e8239491', slot: "content" }, this.tooltipContent)))))));
164
+ return (h(Host, { key: '4ece237da29ff58fc411eb7e26c560dba9f0973a', role: "columnheader" }, h("div", { key: '4eaa6afebe31a0ce4907d4b8acee9f81039a019e', class: this.getHeaderCellCssClassMap(), role: "presentation", part: "cell" }, h("div", { key: '4ded9e1d6c1e2da28c1b2fccfd75a19d757d11d6', class: "br-table-header-cell-content", role: "presentation", part: "content" }, h("div", { key: '773cb97c329204af1076378dba230ce517cda410', class: "br-table-header-cell-truncate", role: "presentation", ref: (el) => (this.truncateContentRef = el), onPointerEnter: this.handleMouseEnter, onPointerLeave: this.handleMouseLeave }, h("slot", { key: '8cf462e15b66cdb8ea6f04ec0c043f5d63ea0e87', ref: (el) => (this.contentSlotRef = el) })), this.isTooltipVisible && (h("br-tooltip", { key: 'c4b9f0f3302c954466dee1714afc648f949af6fe', ref: (el) => (this.tooltipRef = el), position: "top", state: this.resolveTooltipState() === TABLE_TOOLTIP_STATE.DANGER ? 'danger' : this.resolveTooltipState() }, h("span", { key: '6a082b96f32d324047a565c6eb8a56e4530a39d0', slot: "content" }, this.tooltipContent)))))));
175
165
  }
176
166
  static get is() { return "br-table-header-cell"; }
177
167
  static get encapsulation() { return "shadow"; }
@@ -5,20 +5,10 @@
5
5
  import { Host, h } from "@stencil/core";
6
6
  import { resolveAllowedPropValue } from "../../../shared/utils/props";
7
7
  /**
8
- * Subcomponente de linha de `br-table`, utilizado tanto no cabeçalho quanto no corpo de dados para agrupar uma sequência horizontal de células.
8
+ * Linha horizontal (`<tr>`) da tabela. Use dentro de `br-table-header` ou `br-table-body`.
9
9
  *
10
- * ### Papel na composição
10
+ * Use `selected` para indicar que a linha está selecionada.
11
11
  *
12
- * - Representa uma linha de registro (`role="row"`).
13
- * - Suporta estados de seleção (`selected`), foco e hover coordenados com o pai.
14
- *
15
- * ### Regra de uso e relacionamento
16
- *
17
- * Declarado dentro de `br-table-header` (quando contiver `br-table-header-cell`) ou dentro de `br-table-body` (quando contiver `br-table-cell`). Não deve ser usado isoladamente.
18
- *
19
- * Para a documentação completa de design, consulte o [Design System do GovBR](https://www.gov.br/ds/components/table?tab=designer).
20
- *
21
-
22
12
  * @part row - Wrapper da linha da tabela.
23
13
  */
24
14
  export class TableRow {
@@ -81,7 +71,7 @@ export class TableRow {
81
71
  * @returns JSX.Element representando o elemento host do componente, contendo a estrutura da linha da tabela.
82
72
  */
83
73
  render() {
84
- return (h(Host, { key: 'c3fd05b1f3636564a6ea438279edcf7c19e44382', role: "row" }, h("div", { key: '3ca87d6118bdeb26749796f4f7ce769aeb5ef1f7', class: this.getRowCssClassMap(), role: "presentation", part: "row" }, h("slot", { key: '5b0b6e541c5efc9b4c7ddc356c53e1531d0c053e' }))));
74
+ return (h(Host, { key: '1b2246705a8a2017b87e056b6582811d18a0984b', role: "row" }, h("div", { key: '0b740cf446684867c9ce4081466bdc7e3e01bb6f', class: this.getRowCssClassMap(), role: "presentation", part: "row" }, h("slot", { key: 'f98e999efa1f30a2c3c03614d5f7e272ca438452' }))));
85
75
  }
86
76
  static get is() { return "br-table-row"; }
87
77
  static get encapsulation() { return "shadow"; }
@@ -11,45 +11,38 @@ import { COLUMN_WIDTH_MAP, COLUMN_WIDTH_SEMANTICS, TABLE_ALIGNMENT, TABLE_ALIGNM
11
11
  import { TABLE_TOKENS } from "./table-tokens";
12
12
  import { positiveFrValidator, positivePxValidator, resolveTokenValue } from "./table-utils";
13
13
  /**
14
- * O componente `br-table` é o elemento oficial do GovBR-DS para exibição e gerenciamento de dados tabulares estruturados em linhas e colunas, desenvolvido com suporte a CSS Grid, responsividade e alta flexibilidade de composição.
14
+ * O `br-table` estrutura e exibe conjuntos de dados organizados em linhas e colunas.
15
15
  *
16
- * ### Para que serve
16
+ * Estruture a tabela usando os subcomponentes `br-table-header`, `br-table-body`, `br-table-row` e `br-table-cell`. Para exibir um indicador de carregamento durante atualizações assíncronas, use a propriedade `loading`.
17
17
  *
18
- * - **Apresentação de conjuntos de dados relacionais:** Organiza registros com múltiplos atributos comparáveis (ex.: relatórios, tabelas de processos, listagens financeiras).
19
- * - **Recursos interativos avançados:** Suporta ordenação por coluna, seleção simples ou múltipla de linhas, densidades variadas (alta, média, baixa) e paginação integrada com `br-pagination`.
20
- * - **Acessibilidade WAI-ARIA:** Preserva a semântica de tabela acessível (`role="table"`, `role="columnheader"`, `role="row"`, `role="cell"`) mesmo em leiautes baseados em CSS Grid.
18
+ * ```html
19
+ * <br-table>
20
+ * <br-table-header slot="header">
21
+ * <br-table-row>
22
+ * <br-table-header-cell>Nome</br-table-header-cell>
23
+ * <br-table-header-cell>Cargo</br-table-header-cell>
24
+ * </br-table-row>
25
+ * </br-table-header>
26
+ * <br-table-body slot="body">
27
+ * <br-table-row>
28
+ * <br-table-cell>Maria Silva</br-table-cell>
29
+ * <br-table-cell>Analista</br-table-cell>
30
+ * </br-table-row>
31
+ * </br-table-body>
32
+ * </br-table>
33
+ * ```
21
34
  *
22
- * ### Quando utilizar
35
+ * ### Quando usar
23
36
  *
24
- * - **Utilize quando:**
25
- * - As informações compartilharem campos e atributos fixos que justifiquem a comparação lado a lado em colunas.
26
- * - A pessoa usuária precisar ordenar, filtrar ou selecionar múltiplos registros da lista.
27
- * - **Evite e prefira outro componente quando:**
28
- * - Os itens forem heterogêneos com estruturas visuais distintas (prefira `br-card`).
29
- * - Houver apenas um texto linear simples por item (prefira `br-list`).
37
+ * - Dados bidimensionais com cabeçalhos de coluna e necessidades de ordenação ou comparação.
30
38
  *
31
- * ### Composição e Subcomponentes
39
+ * ### Quando evitar
32
40
  *
33
- * O ecossistema da Tabela segue a hierarquia semântica modular:
41
+ * - Listas simples de itens lineares: use `br-list`.
42
+ * - Agrupamento de informações de um único registro: use `br-card`.
34
43
  *
35
- * | Subcomponente | Papel | Regra de uso |
36
- * | --- | --- | --- |
37
- * | `br-table` | **Orquestrador principal.** Gerencia o grid de colunas, ordenação, seleção de linhas e densidade. | Contêiner raiz da tabela. |
38
- * | `br-table-header` | **Seção de cabeçalho.** Agrupa as linhas de títulos das colunas. | Declarado no slot `header` da tabela. |
39
- * | `br-table-body` | **Corpo de dados.** Agrupa as linhas de registros de conteúdo. | Declarado no slot `body` (ou padrão) da tabela. |
40
- * | `br-table-row` | **Linha.** Representa uma linha de cabeçalho ou de registro de dados. | Declarado dentro de `br-table-header` ou `br-table-body`. |
41
- * | `br-table-header-cell` | **Célula de título.** Célula de cabeçalho com suporte a botão de ordenação. | Declarado dentro de `br-table-row` no cabeçalho. |
42
- * | `br-table-cell` | **Célula de dados.** Célula de conteúdo individual de uma coluna. | Declarado dentro de `br-table-row` no corpo de dados. |
44
+ * Consulte as [diretrizes de design do GovBR](https://www.gov.br/ds/components/table?tab=designer).
43
45
  *
44
- * ### Como os subcomponentes se relacionam
45
- *
46
- * A arquitetura de `br-table` reflete a semântica nativa de tabelas HTML de forma modular:
47
- * `br-table` → `br-table-header` / `br-table-body` → `br-table-row` → `br-table-header-cell` / `br-table-cell`.
48
- * O componente pai orquestra o alinhamento das colunas via tokens de Grid, distribuindo automaticamente os estados de seleção e foco para as linhas filhas.
49
- *
50
- * Para a documentação completa de design, incluindo diretrizes de acessibilidade e especificações visuais, consulte o [Design System do GovBR](https://www.gov.br/ds/components/table?tab=designer).
51
- *
52
-
53
46
  * @category Dados, Conteúdo
54
47
  * @status stable
55
48
  * @Slot header: Área para inclusão do subcomponente br-table-header
@@ -639,7 +632,7 @@ export class Table {
639
632
  * @returns JSX.Element representando o elemento host do componente, contendo a estrutura da tabela.
640
633
  */
641
634
  render() {
642
- return (h(Host, { key: 'a58c9c25006857f42da639db4ff06fa1a7ba199b', role: "table", "aria-busy": this.loading ? 'true' : null }, h("div", { key: '32b7107a5f08f8f4d3fc018dfaa9da52765a62db', class: this.getTableCssClassMap(), part: "container" }, this.renderContent(), this.loading ? (h("div", { part: "loading", role: "status", "aria-live": "polite" }, h("slot", { name: "loading" }, h("br-loading", { size: "small", label: "Carregando dados" })))) : null)));
635
+ return (h(Host, { key: '98c729fdca76ed9a92354b8caf2c46030ea0f1e4', role: "table", "aria-busy": this.loading ? 'true' : null }, h("div", { key: 'b64e8d0e0ce41e2983b7a55fe9c5764df107db2b', class: this.getTableCssClassMap(), part: "container" }, this.renderContent(), this.loading ? (h("div", { part: "loading", role: "status", "aria-live": "polite" }, h("slot", { name: "loading" }, h("br-loading", { size: "small", label: "Carregando dados" })))) : null)));
643
636
  }
644
637
  static get is() { return "br-table"; }
645
638
  static get encapsulation() { return "shadow"; }
@@ -14,37 +14,28 @@ const SHAPE_CIRCLE = 'circle';
14
14
  const SHAPE_ROUNDED = 'rounded';
15
15
  const SHAPE_DEFAULT = 'default';
16
16
  /**
17
- * O componente `br-tag` é o elemento visual compacto do GovBR-DS utilizado para rotular, categorizar, exibir metadados ou aplicar filtros rápidos na interface.
17
+ * O `br-tag` categoriza, rotula ou destaca informações curtas e metadados.
18
18
  *
19
- * ### Para que serve
19
+ * Suporta modo estático informativo, modo interativo clicável com `action`, modo com botão de fechar (`closable`) e modo selecionável com `selectable`.
20
20
  *
21
- * - **Categorização e metadados:** Identifica o tipo, categoria ou atributos de um item (ex.: "Educação", "Tecnologia", "Urgente").
22
- * - **Sinalização de status:** Exibe estados operacionais de processos ou documentos através de cores semânticas e ícones (ex.: "Aprovado", "Pendente", "Cancelado").
23
- * - **Filtros interativos dispensáveis:** Suporta botão de fechamento (`closable`), permitindo remover filtros dinamicamente.
24
- * - **Tags de seleção:** Suporta modo interativo selecionável com integração nativa a formulários (`formAssociated`).
21
+ * ```html
22
+ * <br-tag>Pendente</br-tag>
23
+ * <br-tag status="success">Concluído</br-tag>
24
+ * <br-tag closable>Filtro: Brasília</br-tag>
25
+ * ```
25
26
  *
26
- * ### Quando utilizar
27
+ * ### Quando usar
27
28
  *
28
- * - **Utilize quando:**
29
- * - Exibir palavras-chave associadas a um conteúdo ou cartão.
30
- * - Exibir status sucinto de registros em tabelas (`br-table`) ou cabeçalhos.
31
- * - Oferecer filtros aplicados que podem ser removidos com um clique.
32
- * - **Evite e prefira outro componente quando:**
33
- * - O elemento for a ação primária ou um comando executável (prefira `br-button`).
34
- * - O texto for extenso e exigir explicações detalhadas (prefira `br-message`).
29
+ * - Rótulos de estado, tags de categorias ou palavras-chave.
30
+ * - Filtros aplicados que podem ser removidos individualmente.
35
31
  *
36
- * ### Estrutura e Slots
32
+ * ### Quando evitar
37
33
  *
38
- * O `br-tag` oferece flexibilidade estrutural:
39
- * - `default`: Slot principal para texto ou conteúdo livre da tag.
40
- * - `label`: Slot para rótulo customizado.
41
- * - `icon`: Slot para inserção de ícone auxiliar (`br-icon`).
42
- * - `close-button`: Slot para customizar o botão de remoção.
43
- * - `feedback`: Slot para mensagem de validação contextual.
34
+ * - Ações primárias ou envio de formulário: use `br-button`.
35
+ * - Contagem numérica pura: use `br-avatar` ou texto de badge.
44
36
  *
45
- * Para a documentação completa de design, incluindo diretrizes de acessibilidade e especificações visuais, consulte o [Design System do GovBR](https://www.gov.br/ds/components/tag?tab=designer).
37
+ * Consulte as [diretrizes de design do GovBR](https://www.gov.br/ds/components/tag?tab=designer).
46
38
  *
47
-
48
39
  * @category Conteúdo, Dados
49
40
  * @status stable
50
41
  * @slot default - Slot para inserir o conteúdo da tag, como rótulo ou ícone.
@@ -513,11 +504,11 @@ export class Tag {
513
504
  }
514
505
  render() {
515
506
  const mainContent = this.renderMainTagContent();
516
- return (h(Host, { key: '683f8e3defe93273f120cbc10bf4d7c8557296da' }, this.effectiveSelectable
507
+ return (h(Host, { key: '920367f2226906a5647e53f9340bccebc8950973' }, this.effectiveSelectable
517
508
  ? this.renderInteractionSelectTag()
518
509
  : this.effectiveStatus
519
510
  ? this.renderStatusLayout(mainContent)
520
- : mainContent, h("div", { key: '17552d24b69dd20c6952135120105ff4cfa890b7', id: `${this.customId}-feedback`, part: "feedback", hidden: !this.hasFeedbackSlot && !this.customValidationMessage && !this.validatorMessage }, h("slot", { key: '4dd3305a2fb8358ae7777d4f8c4025002c362dc6', name: "feedback", onSlotchange: (event) => (this.hasFeedbackSlot = hasAssignedSlotContent(event.currentTarget)) }), !this.hasFeedbackSlot && (this.customValidationMessage || this.validatorMessage) ? (h("br-message", { state: "danger", message: this.customValidationMessage || this.validatorMessage })) : null)));
511
+ : mainContent, h("div", { key: '773bf8dcb94a3c172e9a66298493f4c4a502335d', id: `${this.customId}-feedback`, part: "feedback", hidden: !this.hasFeedbackSlot && !this.customValidationMessage && !this.validatorMessage }, h("slot", { key: '1f20e23d871705afa78914dcd17ce423f29f42b6', name: "feedback", onSlotchange: (event) => (this.hasFeedbackSlot = hasAssignedSlotContent(event.currentTarget)) }), !this.hasFeedbackSlot && (this.customValidationMessage || this.validatorMessage) ? (h("br-message", { state: "danger", message: this.customValidationMessage || this.validatorMessage })) : null)));
521
512
  }
522
513
  static get is() { return "br-tag"; }
523
514
  static get encapsulation() { return "shadow"; }
@@ -817,7 +808,7 @@ export class Tag {
817
808
  "optional": true,
818
809
  "docs": {
819
810
  "tags": [],
820
- "text": "Variante funcional can\u00F4nica. Aceita `default`, `status`, `action` ou `selectable`.\nValores inv\u00E1lidos s\u00E3o ignorados; nesse caso, os aliases booleanos legados\ncontinuam dispon\u00EDveis para manter a compatibilidade."
811
+ "text": "Variante funcional padr\u00E3o. Aceita `default`, `status`, `action` ou `selectable`.\nValores inv\u00E1lidos s\u00E3o ignorados; nesse caso, os aliases booleanos legados\ncontinuam dispon\u00EDveis para manter a compatibilidade."
821
812
  },
822
813
  "getter": false,
823
814
  "setter": false,
@@ -10,34 +10,26 @@ import { resolveAllowedPropValue, resolveDensity, resolveIntegerPropValue } from
10
10
  import { hasAssignedSlotContent, hasDefaultLightDomContent } from "../../shared/utils/slot";
11
11
  import { resolveFormValidator } from "../../shared/utils/validator";
12
12
  /**
13
- * O componente `br-textarea` é o controle oficial do GovBR-DS para entrada de dados textuais em múltiplas linhas, projetado para capturar textos longos, justificativas, descrições ou observações em formulários.
13
+ * O `br-textarea` captura textos longos em múltiplas linhas em formulários.
14
14
  *
15
- * ### Para que serve
15
+ * Configure `label`, `placeholder`, `maxlength` e `state` para validação. Use `show-counter` para exibir o contador de caracteres restantes.
16
16
  *
17
- * - **Entrada de texto extenso:** Permite que a pessoa usuária digite parágrafos de texto livre com quebra de linha e rolagem vertical.
18
- * - **Contador regressivo de caracteres:** Exibe a quantidade de caracteres restantes em tempo real com base no limite máximo (`maxlength`), alertando visualmente quando o limite é atingido.
19
- * - **Integração com formulários:** É associado nativamente a formulários HTML (`formAssociated`), sincronizando valor, estado de validação e foco acessível.
20
- * - **Redimensionamento controlado:** Oferece opções de redimensionamento vertical, horizontal ou fixo.
17
+ * ```html
18
+ * <br-textarea label="Observações" placeholder="Digite sua mensagem" maxlength="500" show-counter></br-textarea>
19
+ * ```
21
20
  *
22
- * ### Quando utilizar
21
+ * Em formulários HTML, o componente integra-se via `ElementInternals`, participando da validação nativa com `required`.
23
22
  *
24
- * - **Utilize quando:**
25
- * - A entrada esperada tiver mais de uma frase ou exigir formatação multilinha (comentários, manifestações, relatórios, justificativas).
26
- * - Houver restrição estrita de caracteres com necessidade de feedback quantitativo dinâmico.
27
- * - **Evite e prefira outro componente quando:**
28
- * - O dado for curto e couber em uma única linha (como nomes, e-mails, títulos, documentos): prefira `br-input`.
29
- * - For necessário um editor rico WYSIWYG com formatação em negrito, tabelas e links.
23
+ * ### Quando usar
30
24
  *
31
- * ### Estrutura e Slots
25
+ * - Mensagens, comentários, justificativas, descrições ou textos extensos.
32
26
  *
33
- * O `br-textarea` é composto pelo campo e slots de apoio:
34
- * - `default`: Slot para instruções adicionais ou textos de ajuda.
35
- * - `feedback`: Slot para mensagens de validação contextual (como `br-message`).
36
- * - `validation-loading`: Slot para indicador de carregamento durante validações assíncronas.
27
+ * ### Quando evitar
37
28
  *
38
- * Para a documentação completa de design, incluindo diretrizes de acessibilidade e especificações visuais, consulte o [Design System do GovBR](https://www.gov.br/ds/components/textarea?tab=designer).
29
+ * - Dados curtos de linha única (nome, CPF, e-mail): use `br-input`.
30
+ *
31
+ * Consulte as [diretrizes de design do GovBR](https://www.gov.br/ds/components/textarea?tab=designer).
39
32
  *
40
-
41
33
  * @category Formulários
42
34
  * @status stable
43
35
  * @slot default - Slot para texto adicional ou instruções a serem exibidos junto ao textarea.
@@ -420,7 +412,7 @@ export class Textarea {
420
412
  const caracteresRestantes = this.effectiveMaxLength - this.currentLength;
421
413
  const mostrarLimite = this.currentLength > 0;
422
414
  const hasLabel = !!this.label;
423
- return (h(Host, { key: '1add4c3bb34ae39c2862a21c110ec81ce38a4d64' }, h("div", { key: '0b52b65d7042c13d4dc5e45a0f0b1e43f49e532e', class: this.getCssClassMap(), part: "container" }, (this.inline ?? this.isInline) ? (h("div", { class: "row" }, h("div", { class: "col-auto pt-half" }, h("label", { part: "label", htmlFor: this.customId }, this.label)), h("div", { class: "col" }, h("textarea", { part: "textarea", ref: this.setNativeTextarea, id: this.customId, name: this.name, value: this.value, placeholder: this.placeholder, disabled: this.isDisabled(), required: this.required, readOnly: this.readonly, onInput: this.handleInput, onChange: this.handleChange, rows: this.effectiveRows, cols: this.effectiveCols, wrap: this.effectiveWrap, maxLength: this.effectiveMaxLength > 0 ? this.effectiveMaxLength : undefined, minLength: this.effectiveMinLength > 0 ? this.effectiveMinLength : undefined, "aria-describedby": this.getDescribedBy(), "aria-busy": this.isValidating ? 'true' : null, ...(!hasLabel ? { 'aria-label': this.getAccessibilityLabel() } : {}) }), this.renderFeedback(), this.renderValidationLoading(), h("div", { class: "mt-1 text-base", part: "counter" }, this.showCounter && (h("div", null, mostrarLimite ? (h("span", { class: "restantes", "aria-live": "polite", role: "status", id: `${this.customId}-limitMax`, part: "counter-text" }, "Restam ", h("strong", null, caracteresRestantes), " caracteres")) : (h("span", { class: "limit", "aria-live": "polite", id: `${this.customId}-limitMax`, part: "counter-text" }, "Limite m\u00E1ximo de ", h("strong", null, this.effectiveMaxLength), " caracteres")))), this.hasDefaultSlot && (h("div", { id: `${this.customId}-slotInfo`, "aria-live": "polite", part: "helper" }, h("slot", null))))))) : (h("div", null, hasLabel ? (h("label", { part: "label", htmlFor: this.customId }, this.label)) : null, h("textarea", { part: "textarea", ref: this.setNativeTextarea, id: this.customId, name: this.name, value: this.value, placeholder: this.placeholder, disabled: this.isDisabled(), required: this.required, readOnly: this.readonly, onInput: this.handleInput, onChange: this.handleChange, rows: this.effectiveRows, cols: this.effectiveCols, wrap: this.effectiveWrap, maxLength: this.effectiveMaxLength > 0 ? this.effectiveMaxLength : undefined, minLength: this.effectiveMinLength > 0 ? this.effectiveMinLength : undefined, "aria-describedby": this.getDescribedBy(), "aria-busy": this.isValidating ? 'true' : null, ...(!hasLabel ? { 'aria-label': this.getAccessibilityLabel() } : {}) }), this.renderFeedback(), this.renderValidationLoading(), this.showCounter ? (h("div", { part: "counter" }, mostrarLimite ? (h("span", { class: "restantes", "aria-live": "polite", role: "status", id: `${this.customId}-limitMax`, part: "counter-text" }, "Restam ", h("strong", null, caracteresRestantes), " caracteres")) : (h("span", { class: "limit", "aria-live": "polite", id: `${this.customId}-limitMax`, part: "counter-text" }, "Limite m\u00E1ximo de ", h("strong", null, this.effectiveMaxLength), " caracteres")))) : null, this.hasDefaultSlot ? (h("div", { id: `${this.customId}-slotInfo`, "aria-live": "polite", part: "helper" }, h("slot", null))) : null)))));
415
+ return (h(Host, { key: '90b44bc0d3f646a162ff47a23edeee58553e9a95' }, h("div", { key: '737b4e60054d523e4004062c1ef72b87ec3da7e3', class: this.getCssClassMap(), part: "container" }, (this.inline ?? this.isInline) ? (h("div", { class: "row" }, h("div", { class: "col-auto pt-half" }, h("label", { part: "label", htmlFor: this.customId }, this.label)), h("div", { class: "col" }, h("textarea", { part: "textarea", ref: this.setNativeTextarea, id: this.customId, name: this.name, value: this.value, placeholder: this.placeholder, disabled: this.isDisabled(), required: this.required, readOnly: this.readonly, onInput: this.handleInput, onChange: this.handleChange, rows: this.effectiveRows, cols: this.effectiveCols, wrap: this.effectiveWrap, maxLength: this.effectiveMaxLength > 0 ? this.effectiveMaxLength : undefined, minLength: this.effectiveMinLength > 0 ? this.effectiveMinLength : undefined, "aria-describedby": this.getDescribedBy(), "aria-busy": this.isValidating ? 'true' : null, ...(!hasLabel ? { 'aria-label': this.getAccessibilityLabel() } : {}) }), this.renderFeedback(), this.renderValidationLoading(), h("div", { class: "mt-1 text-base", part: "counter" }, this.showCounter && (h("div", null, mostrarLimite ? (h("span", { class: "restantes", "aria-live": "polite", role: "status", id: `${this.customId}-limitMax`, part: "counter-text" }, "Restam ", h("strong", null, caracteresRestantes), " caracteres")) : (h("span", { class: "limit", "aria-live": "polite", id: `${this.customId}-limitMax`, part: "counter-text" }, "Limite m\u00E1ximo de ", h("strong", null, this.effectiveMaxLength), " caracteres")))), this.hasDefaultSlot && (h("div", { id: `${this.customId}-slotInfo`, "aria-live": "polite", part: "helper" }, h("slot", null))))))) : (h("div", null, hasLabel ? (h("label", { part: "label", htmlFor: this.customId }, this.label)) : null, h("textarea", { part: "textarea", ref: this.setNativeTextarea, id: this.customId, name: this.name, value: this.value, placeholder: this.placeholder, disabled: this.isDisabled(), required: this.required, readOnly: this.readonly, onInput: this.handleInput, onChange: this.handleChange, rows: this.effectiveRows, cols: this.effectiveCols, wrap: this.effectiveWrap, maxLength: this.effectiveMaxLength > 0 ? this.effectiveMaxLength : undefined, minLength: this.effectiveMinLength > 0 ? this.effectiveMinLength : undefined, "aria-describedby": this.getDescribedBy(), "aria-busy": this.isValidating ? 'true' : null, ...(!hasLabel ? { 'aria-label': this.getAccessibilityLabel() } : {}) }), this.renderFeedback(), this.renderValidationLoading(), this.showCounter ? (h("div", { part: "counter" }, mostrarLimite ? (h("span", { class: "restantes", "aria-live": "polite", role: "status", id: `${this.customId}-limitMax`, part: "counter-text" }, "Restam ", h("strong", null, caracteresRestantes), " caracteres")) : (h("span", { class: "limit", "aria-live": "polite", id: `${this.customId}-limitMax`, part: "counter-text" }, "Limite m\u00E1ximo de ", h("strong", null, this.effectiveMaxLength), " caracteres")))) : null, this.hasDefaultSlot ? (h("div", { id: `${this.customId}-slotInfo`, "aria-live": "polite", part: "helper" }, h("slot", null))) : null)))));
424
416
  }
425
417
  static get is() { return "br-textarea"; }
426
418
  static get encapsulation() { return "shadow"; }
@@ -705,7 +697,7 @@ export class Textarea {
705
697
  "optional": true,
706
698
  "docs": {
707
699
  "tags": [],
708
- "text": "Estado de feedback can\u00F4nico. Quando informado, tem preced\u00EAncia sobre `state`; valores inv\u00E1lidos n\u00E3o aplicam estado."
700
+ "text": "Estado de feedback. Quando informado, tem preced\u00EAncia sobre `state`; valores inv\u00E1lidos n\u00E3o aplicam estado."
709
701
  },
710
702
  "getter": false,
711
703
  "setter": false,
@@ -40,32 +40,26 @@ const detachVisibilityListener = (tooltip) => {
40
40
  }
41
41
  };
42
42
  /**
43
- * O componente `br-tooltip` é a sobreposição informativa flutuante do GovBR-DS, desenvolvida para fornecer dicas breves e esclarecimentos contextuais quando o usuário foca ou posiciona o cursor sobre um elemento da interface.
43
+ * O `br-tooltip` exibe uma dica rápida e contextual quando o usuário foca ou passa o mouse sobre um elemento.
44
44
  *
45
- * ### Para que serve
45
+ * Coloque o texto da dica em `text` ou no slot padrão, e vincule-o ao elemento acionador através de `target` ou colocando o acionador no slot `trigger`.
46
46
  *
47
- * - **Esclarecimento contextual imediato:** Revela descrições sucintas para botões de ícone, termos técnicos, siglas ou campos que necessitem de auxílio extra.
48
- * - **Posicionamento automático:** Posiciona o balão informativo em relação ao elemento de acionamento (topo, direita, baixo, esquerda) ajustando-se dinamicamente ao espaço da tela.
49
- * - **Acessibilidade WAI-ARIA:** Associa o acionador ao balão com `role="tooltip"` e `aria-describedby`, exibindo-se automaticamente no foco por teclado e fechando com a tecla Escape.
47
+ * ```html
48
+ * <br-button id="btn-ajuda" shape="circle" aria-label="Ajuda">?</br-button>
49
+ * <br-tooltip target="#btn-ajuda" text="Clique para obter informações"></br-tooltip>
50
+ * ```
50
51
  *
51
- * ### Quando utilizar
52
+ * ### Quando usar
52
53
  *
53
- * - **Utilize quando:**
54
- * - Fornecer o rótulo descritivo de um botão que contenha apenas ícone.
55
- * - Explicar uma sigla ou termo abreviado na interface.
56
- * - **Evite e prefira outro componente quando:**
57
- * - O conteúdo for extenso, contiver botões interativos ou links navegáveis (prefira `br-dropdown`, `br-modal` ou texto inline fixo, pois tooltips desaparecem ao mover o ponteiro).
58
- * - A informação for indispensável para a conclusão de uma tarefa crítica (ela deve estar sempre visível na tela).
54
+ * - Esclarecer o significado de botões que usam apenas ícones ou rótulos abreviados.
59
55
  *
60
- * ### Estrutura e Slots
56
+ * ### Quando evitar
61
57
  *
62
- * O `br-tooltip` é composto por acionador e conteúdo:
63
- * - `trigger`: Slot obrigatório onde a aplicação declara o elemento de controle gatilho (ex.: um `br-button` de ícone).
64
- * - `content`: Slot onde é inserido o texto ou balão de conteúdo exibido pelo tooltip.
58
+ * - Informações essenciais que todos os usuários precisam ler imediatamente: exiba como texto visível na página.
59
+ * - Conteúdos longos com links clicáveis: use `br-message` ou diálogo.
65
60
  *
66
- * Para a documentação completa de design, incluindo diretrizes de acessibilidade e especificações visuais, consulte o [Design System do GovBR](https://www.gov.br/ds/components/tooltip?tab=designer).
61
+ * Consulte as [diretrizes de design do GovBR](https://www.gov.br/ds/components/tooltip?tab=designer).
67
62
  *
68
-
69
63
  * @category Feedback, Sobreposições
70
64
  * @status stable
71
65
  * @slot trigger - Slot para o elemento que aciona a exibição do tooltip.
@@ -683,7 +677,7 @@ export class Tooltip {
683
677
  * @returns JSX.Element
684
678
  */
685
679
  render() {
686
- return (h(Host, { key: 'f934d22c41be62e32b3727d66187bc4ca5162786' }, h("div", { key: 'c449fbcd7c8e98b1eb1f29024fd20ec3c1319cce', id: this.customId, class: this.getCssClassMap(), part: "container" }, h("div", { key: '7e076c4a8d068b48e342afef9f3500f0ad7fda19', class: this.getTriggerCssClassMap(), ref: (el) => (this.triggerElement = el), "aria-describedby": `${this.customId}-content`, "aria-controls": `${this.customId}-content`, tabindex: this.externalTriggerElement !== null || this.hasFocusableTrigger ? -1 : 0, part: "trigger" }, h("slot", { key: 'b1deaf5436de0805ef789f3fd187d0fbc76e2d91', name: "trigger", onSlotchange: this.handleTriggerSlotChange })), h("div", { key: 'bc742361771544e0ab2d4fbfa1867c6a6a8b4ebb', id: `${this.customId}-content`, class: this.getContentCssClassMap(), ref: (el) => (this.contentElement = el), role: this.effectiveType === 'popover' ? 'dialog' : 'tooltip', "aria-label": this.effectiveType === 'popover' ? this.ariaLabel || this.getAccessibilityLabel() : undefined, tabindex: "-1", part: "content" }, h("span", { key: '52b689441280bdc16bb3ead862774a6f6d153a27', class: "sr-only" }, this.getAccessibilityLabel()), h("slot", { key: '5f32250e50b51f68e770f603bd9826e3a3b7898e', name: "content" }), this.effectiveType === 'popover' && (h("br-button", { key: '3a08e7bdbfb2de82450ce15716b4a0189b796d9c', class: "close", shape: "circle", density: "small", type: "button", onClick: this.hideContent, "prop:ariaLabel": "Fechar popover" }, h("br-icon", { key: '8f2e3670d45b272e68687da2c7aff3b82c3366d6', iconName: "fa6-solid:xmark", width: "16", height: "16" }))), h("div", { key: 'f2de0edb62e41aa945157c7385682882421948a5', class: this.getArrowCssClassMap(), ref: (el) => (this.arrowElement = el), part: "arrow" })))));
680
+ return (h(Host, { key: '0297e9290fba02f1ffb37f0f19841e65c04c4f43' }, h("div", { key: '11d7cdab421eae7a1ceb07832e6922af23ae146a', id: this.customId, class: this.getCssClassMap(), part: "container" }, h("div", { key: 'f14b554222d9cbf5c0088db5f6f632e6bfe7dd97', class: this.getTriggerCssClassMap(), ref: (el) => (this.triggerElement = el), "aria-describedby": `${this.customId}-content`, "aria-controls": `${this.customId}-content`, tabindex: this.externalTriggerElement !== null || this.hasFocusableTrigger ? -1 : 0, part: "trigger" }, h("slot", { key: 'c1a5efec3a1c6dc7744a5b53c0a8a025dba8d616', name: "trigger", onSlotchange: this.handleTriggerSlotChange })), h("div", { key: '83c5317be6ba8093bd276f7fb235856ed71afbda', id: `${this.customId}-content`, class: this.getContentCssClassMap(), ref: (el) => (this.contentElement = el), role: this.effectiveType === 'popover' ? 'dialog' : 'tooltip', "aria-label": this.effectiveType === 'popover' ? this.ariaLabel || this.getAccessibilityLabel() : undefined, tabindex: "-1", part: "content" }, h("span", { key: 'e14f457e49233fde38ec09e23314ad5f42bcdc41', class: "sr-only" }, this.getAccessibilityLabel()), h("slot", { key: 'fe8dfb523ee3c12a42bf2bd9553fafd27572724b', name: "content" }), this.effectiveType === 'popover' && (h("br-button", { key: '659f619515e3ab003f4f94ae02d84060b0583574', class: "close", shape: "circle", density: "small", type: "button", onClick: this.hideContent, "prop:ariaLabel": "Fechar popover" }, h("br-icon", { key: 'c0190cf4d9e52a3a8955e56567a2a121c905c2f7', iconName: "fa6-solid:xmark", width: "16", height: "16" }))), h("div", { key: '3b158c825c4999e3241de6cad440e71a7d7b993c', class: this.getArrowCssClassMap(), ref: (el) => (this.arrowElement = el), part: "arrow" })))));
687
681
  }
688
682
  static get is() { return "br-tooltip"; }
689
683
  static get encapsulation() { return "shadow"; }