@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.
- package/README.md +2 -2
- package/cem/custom-elements.json +371 -199
- package/cem/webcomponents.html-custom-data.json +146 -121
- package/dist/cjs/br-avatar.cjs.entry.js +2 -2
- package/dist/cjs/br-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/br-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/br-button_2.cjs.entry.js +2 -2
- package/dist/cjs/br-card.cjs.entry.js +2 -2
- package/dist/cjs/br-carousel-page.cjs.entry.js +1 -1
- package/dist/cjs/br-carousel.cjs.entry.js +1 -1
- package/dist/cjs/br-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/br-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/br-checkgroup.cjs.entry.js +1 -1
- package/dist/cjs/br-collapse_2.cjs.entry.js +3 -3
- package/dist/cjs/br-cookiebar-cookie.cjs.entry.js +1 -1
- package/dist/cjs/br-cookiebar-group.cjs.entry.js +1 -1
- package/dist/cjs/br-cookiebar-header.cjs.entry.js +1 -1
- package/dist/cjs/br-cookiebar-link.cjs.entry.js +1 -1
- package/dist/cjs/br-cookiebar-note.cjs.entry.js +1 -1
- package/dist/cjs/br-cookiebar.cjs.entry.js +2 -2
- package/dist/cjs/br-crumb.cjs.entry.js +1 -1
- package/dist/cjs/br-date-picker_3.cjs.entry.js +154 -67
- package/dist/cjs/br-datetime-picker.cjs.entry.js +5 -5
- package/dist/cjs/br-divider.cjs.entry.js +2 -2
- package/dist/cjs/br-dropdown_2.cjs.entry.js +40 -16
- package/dist/cjs/br-footer-category.cjs.entry.js +2 -2
- package/dist/cjs/br-footer-item.cjs.entry.js +1 -1
- package/dist/cjs/br-footer-legal.cjs.entry.js +1 -1
- package/dist/cjs/br-footer-logo.cjs.entry.js +1 -1
- package/dist/cjs/br-footer-social.cjs.entry.js +1 -1
- package/dist/cjs/br-footer.cjs.entry.js +3 -3
- package/dist/cjs/br-header-function.cjs.entry.js +1 -1
- package/dist/cjs/br-header-link.cjs.entry.js +1 -1
- package/dist/cjs/br-header-list.cjs.entry.js +1 -1
- package/dist/cjs/br-header-logo.cjs.entry.js +1 -1
- package/dist/cjs/br-header.cjs.entry.js +1 -1
- package/dist/cjs/br-icon.cjs.entry.js +2 -2
- package/dist/cjs/br-input.cjs.entry.js +58 -10
- package/dist/cjs/br-item.cjs.entry.js +2 -2
- package/dist/cjs/br-link.cjs.entry.js +7 -7
- package/dist/cjs/br-loading.cjs.entry.js +1 -1
- package/dist/cjs/br-magic-button.cjs.entry.js +1 -1
- package/dist/cjs/br-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/br-menu-header.cjs.entry.js +1 -1
- package/dist/cjs/br-menu-info.cjs.entry.js +1 -1
- package/dist/cjs/br-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/br-menu-link.cjs.entry.js +1 -1
- package/dist/cjs/br-menu-logo.cjs.entry.js +1 -1
- package/dist/cjs/br-menu.cjs.entry.js +3 -3
- package/dist/cjs/br-notification-body.cjs.entry.js +1 -1
- package/dist/cjs/br-notification-header.cjs.entry.js +1 -1
- package/dist/cjs/br-notification-item.cjs.entry.js +1 -1
- package/dist/cjs/br-notification.cjs.entry.js +2 -2
- package/dist/cjs/br-pagination.cjs.entry.js +3 -3
- package/dist/cjs/br-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/br-radio.cjs.entry.js +3 -3
- package/dist/cjs/br-scrim.cjs.entry.js +2 -2
- package/dist/cjs/br-select-input_3.cjs.entry.js +39 -16
- package/dist/cjs/br-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/br-skip-link-item.cjs.entry.js +1 -1
- package/dist/cjs/br-skip-link.cjs.entry.js +1 -1
- package/dist/cjs/br-skiplink-item.cjs.entry.js +1 -1
- package/dist/cjs/br-slider.cjs.entry.js +2 -2
- package/dist/cjs/br-step_2.cjs.entry.js +4 -4
- package/dist/cjs/br-switch.cjs.entry.js +3 -3
- package/dist/cjs/br-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/br-tab.cjs.entry.js +3 -3
- package/dist/cjs/br-table-body.cjs.entry.js +1 -1
- package/dist/cjs/br-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/br-table-header-cell.cjs.entry.js +1 -1
- package/dist/cjs/br-table-header.cjs.entry.js +1 -1
- package/dist/cjs/br-table-row.cjs.entry.js +1 -1
- package/dist/cjs/br-table.cjs.entry.js +1 -1
- package/dist/cjs/br-tag.cjs.entry.js +3 -3
- package/dist/cjs/br-textarea.cjs.entry.js +2 -2
- package/dist/cjs/br-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/br-upload.cjs.entry.js +4 -4
- package/dist/cjs/br-wizard-panel.cjs.entry.js +1 -1
- package/dist/cjs/br-wizard.cjs.entry.js +1 -1
- package/dist/cjs/{datetime-picker-constants-CCeI5iW7.js → datetime-picker-constants-CTf1kVJ1.js} +1 -0
- package/dist/cjs/{iconify-icon-DfODV9bf.js → iconify-icon-LjavbM-D.js} +103 -57
- package/dist/cjs/{index-C-IpVFDH.js → index-Caoez3xb.js} +64 -16
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{isValid-CduHZTFc.js → isValid-DgJ-noPS.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{slot-DAllytTj.js → slot-CjaqqX7y.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/components/avatar/avatar.js +21 -21
- package/dist/collection/components/breadcrumb/breadcrumb-item/breadcrumb-item.js +4 -12
- package/dist/collection/components/breadcrumb/breadcrumb.js +32 -27
- package/dist/collection/components/breadcrumb/crumb/crumb.js +2 -13
- package/dist/collection/components/button/button.js +21 -21
- package/dist/collection/components/card/card.js +20 -22
- package/dist/collection/components/carousel/carousel-page/carousel-page.js +3 -13
- package/dist/collection/components/carousel/carousel.js +23 -30
- package/dist/collection/components/checkbox/checkbox.js +18 -24
- package/dist/collection/components/checkbox-group/checkbox-group.js +19 -20
- package/dist/collection/components/checkgroup/checkgroup.js +2 -14
- package/dist/collection/components/collapse/collapse.js +25 -21
- package/dist/collection/components/cookiebar/cookiebar-cookie/cookiebar-cookie.js +3 -16
- package/dist/collection/components/cookiebar/cookiebar-group/cookiebar-group.js +3 -16
- package/dist/collection/components/cookiebar/cookiebar-header/cookiebar-header.js +3 -16
- package/dist/collection/components/cookiebar/cookiebar-link/cookiebar-link.js +3 -15
- package/dist/collection/components/cookiebar/cookiebar-note/cookiebar-note.js +3 -14
- package/dist/collection/components/cookiebar/cookiebar-note-group/cookiebar-note-group.js +2 -13
- package/dist/collection/components/cookiebar/cookiebar.js +32 -27
- package/dist/collection/components/datetime-picker/date-picker/date-picker-locale.js +62 -15
- package/dist/collection/components/datetime-picker/date-picker/date-picker.js +120 -71
- package/dist/collection/components/datetime-picker/datetime-input/datetime-input.js +3 -13
- package/dist/collection/components/datetime-picker/datetime-picker.js +23 -27
- package/dist/collection/components/datetime-picker/time-picker/time-picker.js +5 -15
- package/dist/collection/components/divider/divider.js +15 -19
- package/dist/collection/components/dropdown/dropdown.js +22 -21
- package/dist/collection/components/footer/footer-category/footer-category.js +4 -17
- package/dist/collection/components/footer/footer-item/footer-item.js +3 -16
- package/dist/collection/components/footer/footer-legal/footer-legal.js +2 -16
- package/dist/collection/components/footer/footer-logo/footer-logo.js +3 -16
- package/dist/collection/components/footer/footer-social/footer-social.js +3 -15
- package/dist/collection/components/footer/footer.js +25 -29
- package/dist/collection/components/header/header-function/header-function.js +10 -14
- package/dist/collection/components/header/header-link/header-link.js +3 -16
- package/dist/collection/components/header/header-list/header-list.js +3 -16
- package/dist/collection/components/header/header-logo/header-logo.js +3 -16
- package/dist/collection/components/header/header.js +30 -27
- package/dist/collection/components/icon/icon.js +22 -17
- package/dist/collection/components/input/input.css +1 -1
- package/dist/collection/components/input/input.js +98 -30
- package/dist/collection/components/item/item.js +18 -22
- package/dist/collection/components/link/link.js +25 -29
- package/dist/collection/components/list/list.js +17 -21
- package/dist/collection/components/loading/loading.js +17 -24
- package/dist/collection/components/magic-button/magic-button.js +13 -20
- package/dist/collection/components/menu/menu-group/menu-group.js +3 -16
- package/dist/collection/components/menu/menu-header/menu-header.js +3 -16
- package/dist/collection/components/menu/menu-info/menu-info.js +2 -15
- package/dist/collection/components/menu/menu-item/menu-item.js +3 -16
- package/dist/collection/components/menu/menu-link/menu-link.js +5 -17
- package/dist/collection/components/menu/menu-list/menu-list.js +2 -15
- package/dist/collection/components/menu/menu-logo/menu-logo.js +2 -15
- package/dist/collection/components/menu/menu-social/menu-social.js +2 -15
- package/dist/collection/components/menu/menu.js +28 -35
- package/dist/collection/components/message/message.js +22 -25
- package/dist/collection/components/modal/modal.js +18 -21
- package/dist/collection/components/notification/notification-body/notification-body.js +3 -13
- package/dist/collection/components/notification/notification-header/notification-header.js +3 -14
- package/dist/collection/components/notification/notification-item/notification-item.js +3 -16
- package/dist/collection/components/notification/notification.js +20 -29
- package/dist/collection/components/pagination/pagination.css +1 -1
- package/dist/collection/components/pagination/pagination.js +15 -23
- package/dist/collection/components/radio/radio.js +17 -20
- package/dist/collection/components/radio-group/radio-group.js +20 -20
- package/dist/collection/components/scrim/scrim.js +14 -17
- package/dist/collection/components/select/select-input/select-input.css +1 -1
- package/dist/collection/components/select/select-input/select-input.js +43 -19
- package/dist/collection/components/select/select-list/select-list.css +1 -1
- package/dist/collection/components/select/select-list/select-list.js +52 -15
- package/dist/collection/components/select/select-option/select-option.js +8 -13
- package/dist/collection/components/select/select.css +1 -1
- package/dist/collection/components/select/select.js +83 -105
- package/dist/collection/components/sign-in/sign-in.js +12 -16
- package/dist/collection/components/skip-link/skip-link-item/skip-link-item-alias.js +8 -4
- package/dist/collection/components/skip-link/skip-link-item/skip-link-item.js +5 -15
- package/dist/collection/components/skip-link/skip-link.js +18 -24
- package/dist/collection/components/slider/slider.js +15 -25
- package/dist/collection/components/step/step-item/step-item.js +5 -15
- package/dist/collection/components/step/step.js +16 -25
- package/dist/collection/components/switch/switch.js +16 -20
- package/dist/collection/components/tab/tab-item/tab-item.js +5 -15
- package/dist/collection/components/tab/tab.js +22 -29
- package/dist/collection/components/table/table-body/table-body.js +3 -13
- package/dist/collection/components/table/table-cell/table-cell.js +3 -12
- package/dist/collection/components/table/table-header/table-header.js +3 -13
- package/dist/collection/components/table/table-header-cell/table-header-cell.js +3 -13
- package/dist/collection/components/table/table-row/table-row.js +3 -13
- package/dist/collection/components/table/table.js +25 -32
- package/dist/collection/components/tag/tag.js +17 -26
- package/dist/collection/components/textarea/textarea.js +14 -22
- package/dist/collection/components/tooltip/tooltip.js +13 -19
- package/dist/collection/components/upload/upload.css +1 -1
- package/dist/collection/components/upload/upload.js +36 -29
- package/dist/collection/components/wizard/wizard-panel/wizard-panel.js +3 -13
- package/dist/collection/components/wizard/wizard.js +22 -26
- package/dist/collection/pages/components/select/remote-options.js +87 -0
- package/dist/collection/shared/utils/slot.js +1 -1
- package/dist/components/br-avatar.js +1 -1
- package/dist/components/br-breadcrumb-item.js +1 -1
- package/dist/components/br-breadcrumb.js +1 -1
- package/dist/components/br-button.js +1 -1
- package/dist/components/br-card.js +1 -1
- package/dist/components/br-carousel-page.js +1 -1
- package/dist/components/br-carousel.js +1 -1
- package/dist/components/br-checkbox-group.js +1 -1
- package/dist/components/br-checkbox.js +1 -1
- package/dist/components/br-checkgroup.js +1 -1
- package/dist/components/br-collapse.js +1 -1
- package/dist/components/br-cookiebar-cookie.js +1 -1
- package/dist/components/br-cookiebar-group.js +1 -1
- package/dist/components/br-cookiebar-header.js +1 -1
- package/dist/components/br-cookiebar-link.js +1 -1
- package/dist/components/br-cookiebar-note-group.js +1 -1
- package/dist/components/br-cookiebar-note.js +1 -1
- package/dist/components/br-cookiebar.js +1 -1
- package/dist/components/br-crumb.js +1 -1
- package/dist/components/br-date-picker.js +1 -1
- package/dist/components/br-datetime-input.js +1 -1
- package/dist/components/br-datetime-picker.js +1 -1
- package/dist/components/br-divider.js +1 -1
- package/dist/components/br-dropdown.js +1 -1
- package/dist/components/br-footer-category.js +1 -1
- package/dist/components/br-footer-item.js +1 -1
- package/dist/components/br-footer-legal.js +1 -1
- package/dist/components/br-footer-logo.js +1 -1
- package/dist/components/br-footer-social.js +1 -1
- package/dist/components/br-footer.js +1 -1
- package/dist/components/br-header-function.js +1 -1
- package/dist/components/br-header-link.js +1 -1
- package/dist/components/br-header-list.js +1 -1
- package/dist/components/br-header-logo.js +1 -1
- package/dist/components/br-header.js +1 -1
- package/dist/components/br-icon.js +1 -1
- package/dist/components/br-input.js +1 -1
- package/dist/components/br-item.js +1 -1
- package/dist/components/br-link.js +1 -1
- package/dist/components/br-list.js +1 -1
- package/dist/components/br-loading.js +1 -1
- package/dist/components/br-magic-button.js +1 -1
- package/dist/components/br-menu-group.js +1 -1
- package/dist/components/br-menu-header.js +1 -1
- package/dist/components/br-menu-info.js +1 -1
- package/dist/components/br-menu-item.js +1 -1
- package/dist/components/br-menu-link.js +1 -1
- package/dist/components/br-menu-list.js +1 -1
- package/dist/components/br-menu-logo.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-notification-body.js +1 -1
- package/dist/components/br-notification-header.js +1 -1
- package/dist/components/br-notification-item.js +1 -1
- package/dist/components/br-notification.js +1 -1
- package/dist/components/br-pagination.js +1 -1
- package/dist/components/br-radio-group.js +1 -1
- package/dist/components/br-radio.js +1 -1
- package/dist/components/br-scrim.js +1 -1
- package/dist/components/br-select-input.js +1 -1
- package/dist/components/br-select-list.js +1 -1
- package/dist/components/br-select-option.js +1 -1
- package/dist/components/br-select.js +1 -1
- package/dist/components/br-sign-in.js +1 -1
- package/dist/components/br-skip-link-item.js +1 -1
- package/dist/components/br-skip-link.js +1 -1
- package/dist/components/br-skiplink-item.js +1 -1
- package/dist/components/br-slider.js +1 -1
- package/dist/components/br-step-item.js +1 -1
- package/dist/components/br-step.js +1 -1
- package/dist/components/br-switch.js +1 -1
- package/dist/components/br-tab-item.js +1 -1
- package/dist/components/br-tab.js +1 -1
- package/dist/components/br-table-body.js +1 -1
- package/dist/components/br-table-cell.js +1 -1
- package/dist/components/br-table-header-cell.js +1 -1
- package/dist/components/br-table-header.js +1 -1
- package/dist/components/br-table-row.js +1 -1
- package/dist/components/br-table.js +1 -1
- package/dist/components/br-tag.js +1 -1
- package/dist/components/br-textarea.js +1 -1
- package/dist/components/br-time-picker.js +1 -1
- package/dist/components/br-tooltip.js +1 -1
- package/dist/components/br-upload.js +1 -1
- package/dist/components/br-wizard-panel.js +1 -1
- package/dist/components/br-wizard.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-jOb1hCPi.js → p-448Z5r2f.js} +1 -1
- package/dist/components/{p-DL6xuxGG.js → p-AhfgJCUp.js} +1 -1
- package/dist/components/{p-BzQFMh9j.js → p-AoNL6BaW.js} +1 -1
- package/dist/components/{p-Devw08cc.js → p-B468MCYC.js} +1 -1
- package/dist/components/{p-BH6QYnAr.js → p-B985Ov_x.js} +1 -1
- package/dist/components/{p-5h-W9_JR.js → p-BOWQIHQA.js} +1 -1
- package/dist/components/{p-Di96UxvH.js → p-BPQrgCRr.js} +1 -1
- package/dist/components/{p-CeNELttN.js → p-BwQT0fOJ.js} +1 -1
- package/dist/components/{p-CjtmJTLO.js → p-CAgbUwsx.js} +1 -1
- package/dist/components/{p-DDu3JV_r.js → p-CFXey8i8.js} +1 -1
- package/dist/components/{p-DsO4F0Cz.js → p-CVz_akHx.js} +1 -1
- package/dist/components/{p-DFWqyfUe.js → p-CW8xwk6J.js} +1 -1
- package/dist/components/p-CYZVdKeO.js +5 -0
- package/dist/components/p-C_DC6oQW.js +16 -0
- package/dist/components/{p-CCPHCJjw.js → p-CeWbZN7V.js} +1 -1
- package/dist/components/p-CyXVsiz9.js +5 -0
- package/dist/components/{p-BFHvuEnN.js → p-DDe0tQEO.js} +1 -1
- package/dist/components/{p-D-3G3Ioq.js → p-DJKZ8ktB.js} +1 -1
- package/dist/components/{p-BicHMcSS.js → p-DRsZ9GNg.js} +1 -1
- package/dist/components/p-DU54cqCf.js +5 -0
- package/dist/components/p-DVJlmlEX.js +5 -0
- package/dist/components/{p-ta-24T1Z.js → p-DcMjwTqu.js} +1 -1
- package/dist/components/p-Dd1qCWAK.js +5 -0
- package/dist/components/{p-rMnkh3Cy.js → p-Dn36Mj2E.js} +1 -1
- package/dist/components/{p-DOX9Uwk1.js → p-DoWy_P8b.js} +1 -1
- package/dist/components/{p-Dp3MsSXu.js → p-HbhTnepI.js} +1 -1
- package/dist/components/{p-CbgKdASU.js → p-JkJjzmGm.js} +1 -1
- package/dist/components/{p-Bvrw9yWR.js → p-Or3FLzbz.js} +1 -1
- package/dist/components/{p-PV731d8s.js → p-SWQlgYWR.js} +1 -1
- package/dist/components/{p-XW6Hp_Jk.js → p-Zb9nyfTY.js} +1 -1
- package/dist/components/{p-OQpiDEK9.js → p-jvKQA6x7.js} +1 -1
- package/dist/components/{p-CBHd0-fF.js → p-pQb-3jFY.js} +1 -1
- package/dist/components/{p-848QkYoM.js → p-qX6sHxOk.js} +1 -1
- package/dist/esm/br-avatar.entry.js +2 -2
- package/dist/esm/br-breadcrumb-item.entry.js +1 -1
- package/dist/esm/br-breadcrumb.entry.js +2 -2
- package/dist/esm/br-button_2.entry.js +2 -2
- package/dist/esm/br-card.entry.js +2 -2
- package/dist/esm/br-carousel-page.entry.js +1 -1
- package/dist/esm/br-carousel.entry.js +1 -1
- package/dist/esm/br-checkbox-group.entry.js +2 -2
- package/dist/esm/br-checkbox.entry.js +3 -3
- package/dist/esm/br-checkgroup.entry.js +1 -1
- package/dist/esm/br-collapse_2.entry.js +3 -3
- package/dist/esm/br-cookiebar-cookie.entry.js +1 -1
- package/dist/esm/br-cookiebar-group.entry.js +1 -1
- package/dist/esm/br-cookiebar-header.entry.js +1 -1
- package/dist/esm/br-cookiebar-link.entry.js +1 -1
- package/dist/esm/br-cookiebar-note.entry.js +1 -1
- package/dist/esm/br-cookiebar.entry.js +2 -2
- package/dist/esm/br-crumb.entry.js +1 -1
- package/dist/esm/br-date-picker_3.entry.js +155 -68
- package/dist/esm/br-datetime-picker.entry.js +5 -5
- package/dist/esm/br-divider.entry.js +2 -2
- package/dist/esm/br-dropdown_2.entry.js +40 -16
- package/dist/esm/br-footer-category.entry.js +2 -2
- package/dist/esm/br-footer-item.entry.js +1 -1
- package/dist/esm/br-footer-legal.entry.js +1 -1
- package/dist/esm/br-footer-logo.entry.js +1 -1
- package/dist/esm/br-footer-social.entry.js +1 -1
- package/dist/esm/br-footer.entry.js +3 -3
- package/dist/esm/br-header-function.entry.js +1 -1
- package/dist/esm/br-header-link.entry.js +1 -1
- package/dist/esm/br-header-list.entry.js +1 -1
- package/dist/esm/br-header-logo.entry.js +1 -1
- package/dist/esm/br-header.entry.js +1 -1
- package/dist/esm/br-icon.entry.js +2 -2
- package/dist/esm/br-input.entry.js +59 -11
- package/dist/esm/br-item.entry.js +2 -2
- package/dist/esm/br-link.entry.js +7 -7
- package/dist/esm/br-loading.entry.js +1 -1
- package/dist/esm/br-magic-button.entry.js +1 -1
- package/dist/esm/br-menu-group.entry.js +1 -1
- package/dist/esm/br-menu-header.entry.js +1 -1
- package/dist/esm/br-menu-info.entry.js +1 -1
- package/dist/esm/br-menu-item.entry.js +1 -1
- package/dist/esm/br-menu-link.entry.js +1 -1
- package/dist/esm/br-menu-logo.entry.js +1 -1
- package/dist/esm/br-menu.entry.js +3 -3
- package/dist/esm/br-notification-body.entry.js +1 -1
- package/dist/esm/br-notification-header.entry.js +1 -1
- package/dist/esm/br-notification-item.entry.js +1 -1
- package/dist/esm/br-notification.entry.js +2 -2
- package/dist/esm/br-pagination.entry.js +3 -3
- package/dist/esm/br-radio-group.entry.js +3 -3
- package/dist/esm/br-radio.entry.js +3 -3
- package/dist/esm/br-scrim.entry.js +2 -2
- package/dist/esm/br-select-input_3.entry.js +39 -16
- package/dist/esm/br-sign-in.entry.js +2 -2
- package/dist/esm/br-skip-link-item.entry.js +1 -1
- package/dist/esm/br-skip-link.entry.js +1 -1
- package/dist/esm/br-skiplink-item.entry.js +1 -1
- package/dist/esm/br-slider.entry.js +2 -2
- package/dist/esm/br-step_2.entry.js +4 -4
- package/dist/esm/br-switch.entry.js +3 -3
- package/dist/esm/br-tab-item.entry.js +1 -1
- package/dist/esm/br-tab.entry.js +3 -3
- package/dist/esm/br-table-body.entry.js +1 -1
- package/dist/esm/br-table-cell.entry.js +1 -1
- package/dist/esm/br-table-header-cell.entry.js +1 -1
- package/dist/esm/br-table-header.entry.js +1 -1
- package/dist/esm/br-table-row.entry.js +1 -1
- package/dist/esm/br-table.entry.js +1 -1
- package/dist/esm/br-tag.entry.js +3 -3
- package/dist/esm/br-textarea.entry.js +2 -2
- package/dist/esm/br-tooltip.entry.js +1 -1
- package/dist/esm/br-upload.entry.js +4 -4
- package/dist/esm/br-wizard-panel.entry.js +1 -1
- package/dist/esm/br-wizard.entry.js +1 -1
- package/dist/esm/{datetime-picker-constants-DDc4sADe.js → datetime-picker-constants-1l4_-FEJ.js} +1 -1
- package/dist/esm/{iconify-icon-D3usVJE2.js → iconify-icon-C_DC6oQW.js} +103 -57
- package/dist/esm/{index-CytVKoHT.js → index-BQRBKuY0.js} +64 -17
- package/dist/esm/index.js +2 -2
- package/dist/esm/{isValid-Bee0Uvqc.js → isValid-wU7S6MI2.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{slot-BIG-yees.js → slot-Bt01zQ7-.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/hydrate/index.js +1452 -1876
- package/dist/hydrate/index.mjs +1452 -1876
- package/dist/types/components/avatar/avatar.d.ts +20 -20
- package/dist/types/components/breadcrumb/breadcrumb-item/breadcrumb-item.d.ts +3 -11
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +30 -25
- package/dist/types/components/breadcrumb/crumb/crumb.d.ts +1 -12
- package/dist/types/components/button/button.d.ts +20 -20
- package/dist/types/components/card/card.d.ts +19 -21
- package/dist/types/components/carousel/carousel-page/carousel-page.d.ts +2 -12
- package/dist/types/components/carousel/carousel.d.ts +22 -29
- package/dist/types/components/checkbox/checkbox.d.ts +16 -22
- package/dist/types/components/checkbox-group/checkbox-group.d.ts +17 -18
- package/dist/types/components/checkgroup/checkgroup.d.ts +1 -13
- package/dist/types/components/collapse/collapse.d.ts +24 -20
- package/dist/types/components/cookiebar/cookiebar-cookie/cookiebar-cookie.d.ts +2 -15
- package/dist/types/components/cookiebar/cookiebar-group/cookiebar-group.d.ts +2 -15
- package/dist/types/components/cookiebar/cookiebar-header/cookiebar-header.d.ts +2 -15
- package/dist/types/components/cookiebar/cookiebar-link/cookiebar-link.d.ts +2 -14
- package/dist/types/components/cookiebar/cookiebar-note/cookiebar-note.d.ts +2 -13
- package/dist/types/components/cookiebar/cookiebar-note-group/cookiebar-note-group.d.ts +2 -13
- package/dist/types/components/cookiebar/cookiebar.d.ts +30 -25
- package/dist/types/components/datetime-picker/date-picker/date-picker-locale.d.ts +12 -4
- package/dist/types/components/datetime-picker/date-picker/date-picker.d.ts +57 -11
- package/dist/types/components/datetime-picker/datetime-input/datetime-input.d.ts +2 -12
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +22 -26
- package/dist/types/components/datetime-picker/time-picker/time-picker.d.ts +3 -13
- package/dist/types/components/divider/divider.d.ts +14 -18
- package/dist/types/components/dropdown/dropdown.d.ts +21 -20
- package/dist/types/components/footer/footer-category/footer-category.d.ts +2 -15
- package/dist/types/components/footer/footer-item/footer-item.d.ts +2 -15
- package/dist/types/components/footer/footer-legal/footer-legal.d.ts +1 -15
- package/dist/types/components/footer/footer-logo/footer-logo.d.ts +2 -15
- package/dist/types/components/footer/footer-social/footer-social.d.ts +2 -14
- package/dist/types/components/footer/footer.d.ts +23 -27
- package/dist/types/components/header/header-function/header-function.d.ts +9 -13
- package/dist/types/components/header/header-link/header-link.d.ts +2 -15
- package/dist/types/components/header/header-list/header-list.d.ts +2 -15
- package/dist/types/components/header/header-logo/header-logo.d.ts +2 -15
- package/dist/types/components/header/header.d.ts +29 -26
- package/dist/types/components/icon/icon.d.ts +21 -16
- package/dist/types/components/input/input.d.ts +39 -22
- package/dist/types/components/item/item.d.ts +17 -21
- package/dist/types/components/link/link.d.ts +18 -22
- package/dist/types/components/list/list.d.ts +16 -20
- package/dist/types/components/loading/loading.d.ts +16 -23
- package/dist/types/components/magic-button/magic-button.d.ts +12 -19
- package/dist/types/components/menu/menu-group/menu-group.d.ts +2 -15
- package/dist/types/components/menu/menu-header/menu-header.d.ts +2 -15
- package/dist/types/components/menu/menu-info/menu-info.d.ts +1 -14
- package/dist/types/components/menu/menu-item/menu-item.d.ts +2 -15
- package/dist/types/components/menu/menu-link/menu-link.d.ts +4 -16
- package/dist/types/components/menu/menu-list/menu-list.d.ts +2 -15
- package/dist/types/components/menu/menu-logo/menu-logo.d.ts +1 -14
- package/dist/types/components/menu/menu-social/menu-social.d.ts +2 -15
- package/dist/types/components/menu/menu.d.ts +25 -32
- package/dist/types/components/message/message.d.ts +21 -24
- package/dist/types/components/modal/modal.d.ts +18 -21
- package/dist/types/components/notification/notification-body/notification-body.d.ts +2 -12
- package/dist/types/components/notification/notification-header/notification-header.d.ts +2 -13
- package/dist/types/components/notification/notification-item/notification-item.d.ts +2 -15
- package/dist/types/components/notification/notification.d.ts +18 -27
- package/dist/types/components/pagination/pagination.d.ts +13 -21
- package/dist/types/components/radio/radio.d.ts +15 -18
- package/dist/types/components/radio-group/radio-group.d.ts +18 -18
- package/dist/types/components/scrim/scrim.d.ts +12 -15
- package/dist/types/components/select/select-input/select-input.d.ts +11 -10
- package/dist/types/components/select/select-list/select-list.d.ts +13 -12
- package/dist/types/components/select/select-option/select-option.d.ts +5 -10
- package/dist/types/components/select/select.d.ts +42 -94
- package/dist/types/components/sign-in/sign-in.d.ts +11 -15
- package/dist/types/components/skip-link/skip-link-item/skip-link-item-alias.d.ts +7 -3
- package/dist/types/components/skip-link/skip-link-item/skip-link-item.d.ts +4 -14
- package/dist/types/components/skip-link/skip-link.d.ts +17 -23
- package/dist/types/components/slider/slider.d.ts +14 -24
- package/dist/types/components/step/step-item/step-item.d.ts +2 -12
- package/dist/types/components/step/step.d.ts +15 -24
- package/dist/types/components/switch/switch.d.ts +14 -18
- package/dist/types/components/tab/tab-item/tab-item.d.ts +4 -14
- package/dist/types/components/tab/tab.d.ts +19 -26
- package/dist/types/components/table/table-body/table-body.d.ts +2 -12
- package/dist/types/components/table/table-cell/table-cell.d.ts +2 -11
- package/dist/types/components/table/table-header/table-header.d.ts +2 -12
- package/dist/types/components/table/table-header-cell/table-header-cell.d.ts +2 -12
- package/dist/types/components/table/table-row/table-row.d.ts +2 -12
- package/dist/types/components/table/table.d.ts +24 -31
- package/dist/types/components/tag/tag.d.ts +15 -24
- package/dist/types/components/textarea/textarea.d.ts +13 -21
- package/dist/types/components/tooltip/tooltip.d.ts +12 -18
- package/dist/types/components/upload/upload.d.ts +20 -27
- package/dist/types/components/wizard/wizard-panel/wizard-panel.d.ts +2 -12
- package/dist/types/components/wizard/wizard.d.ts +21 -25
- package/dist/types/components.d.ts +3384 -4947
- package/dist/webcomponents/index.esm.js +1 -1
- package/dist/webcomponents/{p-08ac6f09.entry.js → p-031a2256.entry.js} +1 -1
- package/dist/webcomponents/{p-23a5cfd7.entry.js → p-0602e5b1.entry.js} +1 -1
- package/dist/webcomponents/p-079d5f69.entry.js +5 -0
- package/dist/webcomponents/{p-0fc112fc.entry.js → p-087ed5e7.entry.js} +1 -1
- package/dist/webcomponents/{p-7ee564a1.entry.js → p-0d5a9ebf.entry.js} +1 -1
- package/dist/webcomponents/{p-a038be16.entry.js → p-105b4d06.entry.js} +1 -1
- package/dist/webcomponents/{p-6a293be8.entry.js → p-11d4edc5.entry.js} +1 -1
- package/dist/webcomponents/{p-31a4694a.entry.js → p-12dd22af.entry.js} +1 -1
- package/dist/webcomponents/{p-b07bfdc5.entry.js → p-14aedf0d.entry.js} +1 -1
- package/dist/webcomponents/{p-1ba60d13.entry.js → p-152482f9.entry.js} +1 -1
- package/dist/webcomponents/{p-09c79c1d.entry.js → p-19b4b1b7.entry.js} +1 -1
- package/dist/webcomponents/{p-b0124459.entry.js → p-1cd1126e.entry.js} +1 -1
- package/dist/webcomponents/{p-DDc4sADe.js → p-1l4_-FEJ.js} +1 -1
- package/dist/webcomponents/{p-18cf093a.entry.js → p-21e10074.entry.js} +1 -1
- package/dist/webcomponents/{p-47c490ef.entry.js → p-2271ea84.entry.js} +1 -1
- package/dist/webcomponents/{p-c717c745.entry.js → p-271b1ede.entry.js} +1 -1
- package/dist/webcomponents/{p-b66ab52d.entry.js → p-28f732fc.entry.js} +1 -1
- package/dist/webcomponents/{p-b5d25332.entry.js → p-2971d38a.entry.js} +1 -1
- package/dist/webcomponents/{p-b063c12f.entry.js → p-2ac48875.entry.js} +1 -1
- package/dist/webcomponents/{p-609cf652.entry.js → p-2b1a919c.entry.js} +1 -1
- package/dist/webcomponents/{p-05b459f2.entry.js → p-2da57966.entry.js} +1 -1
- package/dist/webcomponents/{p-eb94199d.entry.js → p-2e81b0b3.entry.js} +1 -1
- package/dist/webcomponents/p-2eececed.entry.js +5 -0
- package/dist/webcomponents/{p-f99d8c9c.entry.js → p-2f904c4a.entry.js} +1 -1
- package/dist/webcomponents/p-32414f1c.entry.js +5 -0
- package/dist/webcomponents/{p-5a7c2031.entry.js → p-324afbce.entry.js} +1 -1
- package/dist/webcomponents/{p-a89b684d.entry.js → p-330ec8ab.entry.js} +1 -1
- package/dist/webcomponents/{p-37914e63.entry.js → p-374f83b1.entry.js} +1 -1
- package/dist/webcomponents/{p-d08b6266.entry.js → p-3926cc91.entry.js} +1 -1
- package/dist/webcomponents/{p-745213f7.entry.js → p-39a7826d.entry.js} +1 -1
- package/dist/webcomponents/{p-8aa6f07c.entry.js → p-3bcc2c58.entry.js} +1 -1
- package/dist/webcomponents/{p-67605757.entry.js → p-3c7ce0e4.entry.js} +1 -1
- package/dist/webcomponents/{p-473561f2.entry.js → p-467842ca.entry.js} +1 -1
- package/dist/webcomponents/p-53550e8c.entry.js +5 -0
- package/dist/webcomponents/p-53e71a8a.entry.js +5 -0
- package/dist/webcomponents/{p-198aa844.entry.js → p-5528b466.entry.js} +1 -1
- package/dist/webcomponents/{p-a32d17cb.entry.js → p-55e0822d.entry.js} +1 -1
- package/dist/webcomponents/{p-01801ac1.entry.js → p-58bacbe1.entry.js} +1 -1
- package/dist/webcomponents/{p-a46f068e.entry.js → p-621f0fa8.entry.js} +1 -1
- package/dist/webcomponents/{p-821341dc.entry.js → p-6514a75d.entry.js} +1 -1
- package/dist/webcomponents/{p-dc23cb2e.entry.js → p-678b43a6.entry.js} +1 -1
- package/dist/webcomponents/p-6b6be415.entry.js +5 -0
- package/dist/webcomponents/{p-ac68355e.entry.js → p-6d58ab4f.entry.js} +1 -1
- package/dist/webcomponents/{p-fdcb54a3.entry.js → p-6ff9b26e.entry.js} +1 -1
- package/dist/webcomponents/{p-e241caf3.entry.js → p-84dfbfdd.entry.js} +1 -1
- package/dist/webcomponents/{p-6f1a4fbe.entry.js → p-85c8d060.entry.js} +1 -1
- package/dist/webcomponents/{p-3b0dd0ff.entry.js → p-913d6f28.entry.js} +1 -1
- package/dist/webcomponents/{p-fed02286.entry.js → p-975ea5c7.entry.js} +1 -1
- package/dist/webcomponents/{p-15022ab7.entry.js → p-992167bc.entry.js} +1 -1
- package/dist/webcomponents/p-C_DC6oQW.js +16 -0
- package/dist/webcomponents/{p-fOJu6uZR.js → p-CpE_G6IZ.js} +1 -1
- package/dist/webcomponents/p-DnwERaeQ.js +5 -0
- package/dist/webcomponents/{p-1bb96641.entry.js → p-a21872bf.entry.js} +1 -1
- package/dist/webcomponents/{p-db309a11.entry.js → p-a9f16a65.entry.js} +1 -1
- package/dist/webcomponents/{p-7fda8b89.entry.js → p-bbcde1ea.entry.js} +1 -1
- package/dist/webcomponents/{p-42b60169.entry.js → p-bbf47e78.entry.js} +1 -1
- package/dist/webcomponents/{p-42c9c6c5.entry.js → p-bf35e506.entry.js} +1 -1
- package/dist/webcomponents/{p-9e0324a7.entry.js → p-c09af3cd.entry.js} +1 -1
- package/dist/webcomponents/{p-794b701b.entry.js → p-c29268b5.entry.js} +1 -1
- package/dist/webcomponents/{p-7352d459.entry.js → p-c3e61c39.entry.js} +1 -1
- package/dist/webcomponents/{p-fb76b1e0.entry.js → p-c6b2545a.entry.js} +1 -1
- package/dist/webcomponents/{p-b55425b7.entry.js → p-c6f2f17b.entry.js} +1 -1
- package/dist/webcomponents/{p-95f3c44a.entry.js → p-cae39e13.entry.js} +1 -1
- package/dist/webcomponents/{p-8116ee93.entry.js → p-cb1e08b1.entry.js} +1 -1
- package/dist/webcomponents/{p-dacb7e2c.entry.js → p-cb690a87.entry.js} +1 -1
- package/dist/webcomponents/{p-8ddf3ce3.entry.js → p-d0be7243.entry.js} +1 -1
- package/dist/webcomponents/{p-3658adcf.entry.js → p-d191c6e3.entry.js} +1 -1
- package/dist/webcomponents/{p-2c8595d3.entry.js → p-d205f3fd.entry.js} +1 -1
- package/dist/webcomponents/{p-4b01c60f.entry.js → p-d3bd2c40.entry.js} +1 -1
- package/dist/webcomponents/{p-af888d13.entry.js → p-dbeea64e.entry.js} +1 -1
- package/dist/webcomponents/{p-d6165aa0.entry.js → p-df475129.entry.js} +1 -1
- package/dist/webcomponents/{p-67774920.entry.js → p-e0ccf189.entry.js} +1 -1
- package/dist/webcomponents/p-e121429a.entry.js +5 -0
- package/dist/webcomponents/{p-96dbb585.entry.js → p-e4b968b5.entry.js} +1 -1
- package/dist/webcomponents/{p-67d62559.entry.js → p-e6c6f305.entry.js} +1 -1
- package/dist/webcomponents/{p-13babfc4.entry.js → p-e8291be2.entry.js} +1 -1
- package/dist/webcomponents/{p-614683d9.entry.js → p-eb5806c7.entry.js} +1 -1
- package/dist/webcomponents/{p-20477061.entry.js → p-ed3fa8ec.entry.js} +1 -1
- package/dist/webcomponents/{p-21feda62.entry.js → p-f9084f16.entry.js} +1 -1
- package/dist/webcomponents/{p-695dbeb0.entry.js → p-fad3aa61.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/collection/pages/components/select/remote.js +0 -33
- package/dist/collection/pages/components/select/virtualized.js +0 -13
- package/dist/components/p-BcW8O6h2.js +0 -5
- package/dist/components/p-Bs7iRQTG.js +0 -5
- package/dist/components/p-D3usVJE2.js +0 -16
- package/dist/components/p-DUq7uT2-.js +0 -5
- package/dist/components/p-DuLHFTpa.js +0 -5
- package/dist/components/p-DusornQ0.js +0 -5
- package/dist/webcomponents/p-09817344.entry.js +0 -5
- package/dist/webcomponents/p-172d42c2.entry.js +0 -5
- package/dist/webcomponents/p-9815ab95.entry.js +0 -5
- package/dist/webcomponents/p-CJipT0in.js +0 -5
- package/dist/webcomponents/p-D3usVJE2.js +0 -16
- package/dist/webcomponents/p-b609b464.entry.js +0 -5
- package/dist/webcomponents/p-ce3d689c.entry.js +0 -5
- package/dist/webcomponents/p-e7107869.entry.js +0 -5
- package/dist/webcomponents/p-f8993ae4.entry.js +0 -5
- /package/dist/components/{p-5z6jgH1D.js → p-BNckUhK6.js} +0 -0
- /package/dist/webcomponents/{p-BIG-yees.js → p-Bt01zQ7-.js} +0 -0
|
@@ -10,10 +10,10 @@ var validator = require('./validator-GkkueMOx.js');
|
|
|
10
10
|
var id = require('./id-DE4jSi-L.js');
|
|
11
11
|
var parts = require('./parts-D5K3ae2C.js');
|
|
12
12
|
var props = require('./props-D8dybmr0.js');
|
|
13
|
-
var slot = require('./slot-
|
|
13
|
+
var slot = require('./slot-CjaqqX7y.js');
|
|
14
14
|
require('./prop-warning-xvEHQz8H.js');
|
|
15
15
|
|
|
16
|
-
const inputCss = () => `*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}.br-input{--input-button-margin:var(--spacing-scale-half);--input-padding:0 var(--spacing-scale-2x);--input-padding-button:var(--spacing-scale-5x);--input-padding-icon:var(--spacing-scale-5x);--input-size:var(--input-medium);--input-small:32px;--input-medium:40px;--input-large:48px;--input-highlight:56px;--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--interactive-light-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);color:var(--color);position:relative}.br-input input{background-color:var(--background-light);border-color:var(--border-color-alternative);border-radius:var(--surface-rounder-sm);border-style:var(--border-style);border-width:var(--border-width);color:var(--color-light);display:block;font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);height:var(--input-size);margin-top:var(--spacing-scale-half);padding-bottom:0;padding-left:var(--spacing-scale-2x);padding-right:var(--spacing-scale-2x);padding-top:0;width:100%}.br-input input::-ms-reveal,.br-input input::-ms-clear,.br-input input::-webkit-calendar-picker-indicator{display:none}.br-input input[type=search]::-webkit-search-decoration,.br-input input[type=search]::-webkit-search-cancel-button,.br-input input[type=search]::-webkit-search-results-button,.br-input input[type=search]::-webkit-search-results-decoration{appearance:none}.br-input.input-inline{display:flex}.br-input.input-inline .input-label{margin-right:var(--spacing-scale-baseh);margin-top:calc(var(--input-size)*.5 - var(--spacing-scale-half))}.br-input.input-inline .input-content{flex:1}.br-input .input-group{position:relative}.br-input .input-icon{align-items:center;color:var(--border-color-alternative);display:flex;height:var(--input-size);margin-left:var(--spacing-scale-baseh);position:absolute}.br-input .input-icon+input{padding-left:var(--input-padding-icon)}.br-input .br-button{--button-size:var(--button-small);--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--interactive-light-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);border-radius:50%;float:right;margin-right:var(--input-button-margin);margin-top:calc((var(--input-size) + var(--spacing-scale-half))*-1);padding:0;position:relative;transform:translateY(calc((var(--input-size) - var(--button-size)) * 0.5));width:var(--button-size)}.br-input.input-button input{padding-right:var(--input-padding-button)}.br-input.input-highlight{--input-button-margin:var(--spacing-scale-2x);--input-padding:0 var(--spacing-scale-3x);--input-padding-button:var(--spacing-scale-7x);--input-padding-icon:var(--spacing-scale-7x);--input-size:var(--input-highlight)}.br-input.input-highlight input{background-color:var(--gray-2);border-color:rgba(0,0,0,0);padding-left:var(--spacing-scale-3x);padding-right:var(--spacing-scale-3x)}.br-input.input-highlight .input-icon{margin-left:var(--spacing-scale-3x)}.br-input.input-highlight .input-icon+input{padding-left:var(--spacing-scale-7x)}.br-input .br-list{box-shadow:var(--surface-shadow-md);max-height:530px;overflow:auto;position:absolute;width:100%;z-index:var(--z-index-layer-2)}.br-input .br-list::-webkit-scrollbar{height:var(--spacing-scale-base);width:var(--spacing-scale-base)}.br-input .br-list::-webkit-scrollbar-track{background:var(--gray-10)}.br-input .br-list::-webkit-scrollbar-thumb{background:var(--gray-30)}.br-input .br-list:hover::-webkit-scrollbar-thumb{background:var(--gray-40)}.br-input .br-list .br-item{--item-padding-y:var(--spacing-scale-2x)}.br-input .br-list .br-item:not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}.br-input .br-list .br-item:not(:first-child){border-top:var(--surface-width-sm) solid var(--border-color)}.br-input.success input{border-color:var(--success);border-width:2px}.br-input.danger input{border-color:var(--danger);border-width:2px}.br-input.warning input{border-color:var(--warning);border-width:2px}.br-input.info input{border-color:var(--info);border-width:2px}.br-input input:not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}.br-input input:focus,.br-input input:focus-visible,.br-input input.focus-visible{border-color:var(--focus) !important;box-shadow:0 0 0 var(--surface-width-md) var(--focus);outline:none}.br-input .feedback{margin-bottom:var(--spacing-scale-half)}.br-input.small{--input-size:var(--input-small)}.br-input.medium{--input-size:var(--input-medium)}.br-input.large{--input-size:var(--input-large)}.br-input.inverted,.br-input.inverted label,.br-input.dark-mode,.br-input.dark-mode label{--color:var(--color-dark);--focus-color:var(--focus-color-dark)}:host{box-sizing:border-box;display:block;margin-bottom:var(--br-input-margin-bottom, var(--spacing-scale-base));max-width:100%;width:100%}:host .br-input .input-icon{margin:0 var(--spacing-scale-2x)}:host .br-input .input-icon+input{padding-left:var(--spacing-scale-6x)}:host([disabled]){opacity:1 !important}.br-input input::placeholder{font-size:var(--input-placeholder-font-size, inherit)}.br-input input[type=color]{width:100%;height:var(--input-size);padding:var(--spacing-scale-half);cursor:pointer}.br-input input[type=color]::-webkit-color-swatch-wrapper{padding:0;display:flex;align-items:center}.br-input input[type=color]::-webkit-color-swatch{border:1px solid var(--border-color-alternative);border-radius:calc(var(--surface-rounder-sm) - 2px);width:calc(var(--input-size) - var(--spacing-scale-2x));height:100%;box-sizing:border-box}.br-input input[type=color]::-moz-color-swatch{border:1px solid var(--border-color-alternative);border-radius:calc(var(--surface-rounder-sm) - 2px);width:calc(var(--input-size) - var(--spacing-scale-2x));height:100%;box-sizing:border-box}.br-input br-button{float:right;margin-right:var(--input-button-margin);margin-top:calc((var(--input-size) + var(--spacing-scale-half))*-1);padding:0;position:relative}.br-input br-button.button-transform{transform:translateY(calc((var(--input-size) - 32px) * 0.5))}.br-input .input-label{margin-top:0 !important}.br-input.input-inline{display:flex;align-items:center}:host([borderless]) .br-input input{border-color:rgba(0,0,0,0)}:host([borderless]) .br-input input:focus,:host([borderless]) .br-input input:focus-visible{border-color:var(--border-color-alternative)}::slotted([slot=feedback]){display:none}::slotted(br-message[hidden]){display:none !important}:host([state]) ::slotted([slot=feedback]){display:block}`;
|
|
16
|
+
const inputCss = () => `*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}.br-input{--input-button-margin:var(--spacing-scale-half);--input-padding:0 var(--spacing-scale-2x);--input-padding-button:var(--spacing-scale-5x);--input-padding-icon:var(--spacing-scale-5x);--input-size:var(--input-medium);--input-small:32px;--input-medium:40px;--input-large:48px;--input-highlight:56px;--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--interactive-light-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);color:var(--color);position:relative}.br-input input{background-color:var(--background-light);border-color:var(--border-color-alternative);border-radius:var(--surface-rounder-sm);border-style:var(--border-style);border-width:var(--border-width);color:var(--color-light);display:block;font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);height:var(--input-size);margin-top:var(--spacing-scale-half);padding-bottom:0;padding-left:var(--spacing-scale-2x);padding-right:var(--spacing-scale-2x);padding-top:0;width:100%}.br-input input::-ms-reveal,.br-input input::-ms-clear,.br-input input::-webkit-calendar-picker-indicator{display:none}.br-input input[type=search]::-webkit-search-decoration,.br-input input[type=search]::-webkit-search-cancel-button,.br-input input[type=search]::-webkit-search-results-button,.br-input input[type=search]::-webkit-search-results-decoration{appearance:none}.br-input.input-inline{display:flex}.br-input.input-inline .input-label{margin-right:var(--spacing-scale-baseh);margin-top:calc(var(--input-size)*.5 - var(--spacing-scale-half))}.br-input.input-inline .input-content{flex:1}.br-input .input-group{position:relative}.br-input .input-icon{align-items:center;color:var(--border-color-alternative);display:flex;height:var(--input-size);margin-left:var(--spacing-scale-baseh);position:absolute}.br-input .input-icon+input{padding-left:var(--input-padding-icon)}.br-input .br-button{--button-size:var(--button-small);--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--interactive-light-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);border-radius:50%;float:right;margin-right:var(--input-button-margin);margin-top:calc((var(--input-size) + var(--spacing-scale-half))*-1);padding:0;position:relative;transform:translateY(calc((var(--input-size) - var(--button-size)) * 0.5));width:var(--button-size)}.br-input.input-button input{padding-right:var(--input-padding-button)}.br-input.input-highlight{--input-button-margin:var(--spacing-scale-2x);--input-padding:0 var(--spacing-scale-3x);--input-padding-button:var(--spacing-scale-7x);--input-padding-icon:var(--spacing-scale-7x);--input-size:var(--input-highlight)}.br-input.input-highlight input{background-color:var(--gray-2);border-color:rgba(0,0,0,0);padding-left:var(--spacing-scale-3x);padding-right:var(--spacing-scale-3x)}.br-input.input-highlight .input-icon{margin-left:var(--spacing-scale-3x)}.br-input.input-highlight .input-icon+input{padding-left:var(--spacing-scale-7x)}.br-input .br-list{box-shadow:var(--surface-shadow-md);max-height:530px;overflow:auto;position:absolute;width:100%;z-index:var(--z-index-layer-2)}.br-input .br-list::-webkit-scrollbar{height:var(--spacing-scale-base);width:var(--spacing-scale-base)}.br-input .br-list::-webkit-scrollbar-track{background:var(--gray-10)}.br-input .br-list::-webkit-scrollbar-thumb{background:var(--gray-30)}.br-input .br-list:hover::-webkit-scrollbar-thumb{background:var(--gray-40)}.br-input .br-list .br-item{--item-padding-y:var(--spacing-scale-2x)}.br-input .br-list .br-item:not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}.br-input .br-list .br-item:not(:first-child){border-top:var(--surface-width-sm) solid var(--border-color)}.br-input.success input{border-color:var(--success);border-width:2px}.br-input.danger input{border-color:var(--danger);border-width:2px}.br-input.warning input{border-color:var(--warning);border-width:2px}.br-input.info input{border-color:var(--info);border-width:2px}.br-input input:not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}.br-input input:focus,.br-input input:focus-visible,.br-input input.focus-visible{border-color:var(--focus) !important;box-shadow:0 0 0 var(--surface-width-md) var(--focus);outline:none}.br-input .feedback{margin-bottom:var(--spacing-scale-half)}.br-input.small{--input-size:var(--input-small)}.br-input.medium{--input-size:var(--input-medium)}.br-input.large{--input-size:var(--input-large)}.br-input.inverted,.br-input.inverted label,.br-input.dark-mode,.br-input.dark-mode label{--color:var(--color-dark);--focus-color:var(--focus-color-dark)}:host{box-sizing:border-box;display:block;margin-bottom:var(--br-input-margin-bottom, var(--spacing-scale-base));max-width:100%;width:100%}:host .br-input .input-icon{margin:var(--spacing-scale-half) var(--spacing-scale-2x) 0}:host .br-input .input-icon+input{padding-left:var(--spacing-scale-6x)}:host([disabled]){opacity:1 !important}.br-input input::placeholder{font-size:var(--input-placeholder-font-size, inherit)}.br-input input[type=color]{width:100%;height:var(--input-size);padding:var(--spacing-scale-half);cursor:pointer}.br-input input[type=color]::-webkit-color-swatch-wrapper{padding:0;display:flex;align-items:center}.br-input input[type=color]::-webkit-color-swatch{border:1px solid var(--border-color-alternative);border-radius:calc(var(--surface-rounder-sm) - 2px);width:calc(var(--input-size) - var(--spacing-scale-2x));height:100%;box-sizing:border-box}.br-input input[type=color]::-moz-color-swatch{border:1px solid var(--border-color-alternative);border-radius:calc(var(--surface-rounder-sm) - 2px);width:calc(var(--input-size) - var(--spacing-scale-2x));height:100%;box-sizing:border-box}.br-input br-button{float:right;margin-right:var(--input-button-margin);margin-top:calc((var(--input-size) + var(--spacing-scale-half))*-1);padding:0;position:relative}.br-input br-button.button-transform{transform:translateY(calc((var(--input-size) - 32px) * 0.5))}.br-input .input-label{margin-top:0 !important}.br-input.input-clear input{padding-right:var(--input-padding-button)}.br-input.input-clear.input-button input{padding-right:calc(var(--input-padding-button)*2)}.br-input.input-clear.input-button br-button.clear-button{margin-right:var(--input-padding-button)}.br-input.input-inline{display:flex;align-items:center}:host([borderless]) .br-input input{border-color:rgba(0,0,0,0)}:host([borderless]) .br-input input:focus,:host([borderless]) .br-input input:focus-visible{border-color:var(--border-color-alternative)}::slotted([slot=feedback]){display:none}::slotted(br-message[hidden]){display:none !important}:host([state]) ::slotted([slot=feedback]){display:block}`;
|
|
17
17
|
|
|
18
18
|
const INPUT_STATES = ['info', 'warning', 'danger', 'success'];
|
|
19
19
|
const INPUT_AUTOCOMPLETE_VALUES = ['on', 'off'];
|
|
@@ -107,6 +107,14 @@ const Input = class {
|
|
|
107
107
|
* Se verdadeiro, permite a entrada de múltiplos e-mails (quando type="email").
|
|
108
108
|
*/
|
|
109
109
|
this.multiple = false;
|
|
110
|
+
/**
|
|
111
|
+
* Exibe um botão para limpar o texto enquanto o campo tem valor e aceita edição.
|
|
112
|
+
* O botão fica à esquerda do botão de ação, quando houver. Ao ser acionado,
|
|
113
|
+
* limpa o valor, emite `input` uma única vez e `brClear`, e devolve o foco ao campo.
|
|
114
|
+
* Não é exibido com `disabled` ou `readonly`.
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
this.clearable = false;
|
|
110
118
|
this.initialValue = '';
|
|
111
119
|
this.manualValidationMessage = '';
|
|
112
120
|
this.validationRunId = 0;
|
|
@@ -228,6 +236,27 @@ const Input = class {
|
|
|
228
236
|
this.isPasswordVisible = !this.isPasswordVisible;
|
|
229
237
|
input.type = this.isPasswordVisible ? 'text' : 'password';
|
|
230
238
|
};
|
|
239
|
+
/** Mantém o foco no campo ao clicar no botão de limpar, como o "x" de um campo de busca nativo. */
|
|
240
|
+
this.keepInputFocus = (event) => {
|
|
241
|
+
event.preventDefault();
|
|
242
|
+
};
|
|
243
|
+
this.handleClearClick = () => {
|
|
244
|
+
if (!this.isClearButtonVisible())
|
|
245
|
+
return;
|
|
246
|
+
this.nativeValueUpdate = true;
|
|
247
|
+
try {
|
|
248
|
+
this.value = '';
|
|
249
|
+
}
|
|
250
|
+
finally {
|
|
251
|
+
this.nativeValueUpdate = false;
|
|
252
|
+
}
|
|
253
|
+
if (this.nativeInput)
|
|
254
|
+
this.nativeInput.value = '';
|
|
255
|
+
this.valueChange.emit('');
|
|
256
|
+
event.dispatchNativeFormEvent(this.el, 'input');
|
|
257
|
+
this.brClear.emit();
|
|
258
|
+
this.nativeInput?.focus();
|
|
259
|
+
};
|
|
231
260
|
this.handleActionClick = (event) => {
|
|
232
261
|
if (this.isDisabled())
|
|
233
262
|
return;
|
|
@@ -256,14 +285,14 @@ const Input = class {
|
|
|
256
285
|
* Renderiza o conteúdo do input com ícone, organizando os elementos em um grupo e aplicando estilos de largura quando necessário.
|
|
257
286
|
*/
|
|
258
287
|
this.renderInputWithIcon = () => {
|
|
259
|
-
return (index.h("div", { class: "input-group", part: "group", style: this.controlWidth !== undefined && this.controlWidth !== null ? { width: this.controlWidth } : undefined }, this.renderIconSlot(), this.renderInput(), this.renderButton(), this.renderHelpText()));
|
|
288
|
+
return (index.h("div", { class: "input-group", part: "group", style: this.controlWidth !== undefined && this.controlWidth !== null ? { width: this.controlWidth } : undefined }, this.renderIconSlot(), this.renderInput(), this.renderButton(), this.renderClearButton(), this.renderHelpText()));
|
|
260
289
|
};
|
|
261
290
|
/**
|
|
262
291
|
* Renderiza o conteúdo do input sem ícone, organizando os elementos em um grupo.
|
|
263
292
|
* @returns JSX.Element representando o conteúdo do input sem ícone.
|
|
264
293
|
*/
|
|
265
294
|
this.renderInputWithoutIcon = () => {
|
|
266
|
-
return [this.renderInput(), this.renderButton(), this.renderHelpText()];
|
|
295
|
+
return [this.renderInput(), this.renderButton(), this.renderClearButton(), this.renderHelpText()];
|
|
267
296
|
};
|
|
268
297
|
}
|
|
269
298
|
formDisabledCallback(disabled) {
|
|
@@ -353,8 +382,11 @@ const Input = class {
|
|
|
353
382
|
this.syncFormState();
|
|
354
383
|
this.updateValidity();
|
|
355
384
|
}
|
|
356
|
-
componentShouldUpdate(
|
|
357
|
-
|
|
385
|
+
componentShouldUpdate(newValue, oldValue, propName) {
|
|
386
|
+
if (propName !== 'value' || !this.nativeValueUpdate)
|
|
387
|
+
return true;
|
|
388
|
+
// A digitação não re-renderiza, exceto quando o botão de limpar precisa aparecer ou sumir.
|
|
389
|
+
return this.clearable && Boolean(newValue) !== Boolean(oldValue);
|
|
358
390
|
}
|
|
359
391
|
componentDidRender() {
|
|
360
392
|
this.syncCssPartAttributes();
|
|
@@ -534,7 +566,10 @@ const Input = class {
|
|
|
534
566
|
syncCssPartAttributes() {
|
|
535
567
|
if (!this.hasActionSlot)
|
|
536
568
|
return;
|
|
537
|
-
|
|
569
|
+
// O botão de limpar tem part próprio (`clear`) e não recebe as parts da ação.
|
|
570
|
+
this.el.shadowRoot
|
|
571
|
+
?.querySelectorAll('br-button.button-transform:not(.clear-button)')
|
|
572
|
+
.forEach((button) => {
|
|
538
573
|
parts.setPartAttributes(button, 'action', 'button: action-button');
|
|
539
574
|
});
|
|
540
575
|
}
|
|
@@ -559,6 +594,7 @@ const Input = class {
|
|
|
559
594
|
return {
|
|
560
595
|
'br-input': true,
|
|
561
596
|
'input-button': this.hasActionSlot,
|
|
597
|
+
'input-clear': this.isClearButtonVisible(),
|
|
562
598
|
small: density === 'small',
|
|
563
599
|
large: density === 'large',
|
|
564
600
|
medium: density === 'medium',
|
|
@@ -612,16 +648,28 @@ const Input = class {
|
|
|
612
648
|
return (index.h("div", { class: "input-icon", part: "icon" }, index.h("slot", { name: "icon", onSlotchange: this.handleSlotChange })));
|
|
613
649
|
}
|
|
614
650
|
}
|
|
651
|
+
isClearButtonVisible() {
|
|
652
|
+
return this.clearable && Boolean(this.value) && !this.readonly && !this.isDisabled();
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* Renderiza o botão de limpar quando `clearable` está ativo e há texto editável.
|
|
656
|
+
* @returns JSX.Element do botão ou `null`.
|
|
657
|
+
*/
|
|
658
|
+
renderClearButton() {
|
|
659
|
+
if (!this.isClearButtonVisible())
|
|
660
|
+
return null;
|
|
661
|
+
return (index.h("br-button", { key: "clear", class: "button-transform clear-button", shape: "circle", density: "small", "aria-label": "Limpar texto", onMouseDown: this.keepInputFocus, onClick: this.handleClearClick, part: "clear" }, index.h("br-icon", { iconName: "fa6-solid:xmark", width: "16", height: "16", "aria-hidden": "true" })));
|
|
662
|
+
}
|
|
615
663
|
/**
|
|
616
664
|
* Renderiza o botão de ação do input, considerando o tipo de input e slots disponíveis.
|
|
617
665
|
* @returns JSX.Element representando o botão de ação.
|
|
618
666
|
*/
|
|
619
667
|
renderButton() {
|
|
620
668
|
if (this.effectiveType === 'password') {
|
|
621
|
-
return (index.h("br-button", { class: "button-transform", shape: "circle", density: "small", "aria-label": this.isPasswordVisible ? 'Esconder senha' : 'Mostrar senha', onClick: this.togglePasswordVisibility, part: "action" }, this.renderIconPassword()));
|
|
669
|
+
return (index.h("br-button", { key: "password", class: "button-transform", shape: "circle", density: "small", "aria-label": this.isPasswordVisible ? 'Esconder senha' : 'Mostrar senha', onClick: this.togglePasswordVisibility, part: "action" }, this.renderIconPassword()));
|
|
622
670
|
}
|
|
623
671
|
else if (this.hasSlotContent('action')) {
|
|
624
|
-
return (index.h("br-button", { class: "button-transform", shape: "circle", density: "small", "aria-label": this.actionLabel, customTabIndex: this.effectiveActionTabIndex, onClick: this.handleActionClick, part: "action" }, index.h("slot", { name: "action", onSlotchange: this.handleSlotChange })));
|
|
672
|
+
return (index.h("br-button", { key: "action", class: "button-transform", shape: "circle", density: "small", "aria-label": this.actionLabel, customTabIndex: this.effectiveActionTabIndex, onClick: this.handleActionClick, part: "action" }, index.h("slot", { name: "action", onSlotchange: this.handleSlotChange })));
|
|
625
673
|
}
|
|
626
674
|
return null;
|
|
627
675
|
}
|
|
@@ -690,7 +738,7 @@ const Input = class {
|
|
|
690
738
|
* @returns JSX.Element representando o componente de input.
|
|
691
739
|
*/
|
|
692
740
|
render() {
|
|
693
|
-
return (index.h(index.Host, { key: '
|
|
741
|
+
return (index.h(index.Host, { key: 'c285230754f09bb80280fa9b7781cf0e43016861' }, index.h("div", { key: '0253fa15af2fb61cb6cd4b04566ba2262b70f667', class: this.getInputCssClassMap(), part: "container" }, this.renderLabel(), (this.inline ?? this.isInline) ? this.renderInlineInputContent() : this.renderInputContent(), this.renderFeedback(), this.renderValidationLoading())));
|
|
694
742
|
}
|
|
695
743
|
static get delegatesFocus() { return true; }
|
|
696
744
|
static get formAssociated() { return true; }
|
|
@@ -9,7 +9,7 @@ var id = require('./id-DE4jSi-L.js');
|
|
|
9
9
|
var navigation = require('./navigation-AbzwcRCU.js');
|
|
10
10
|
var ownership = require('./ownership-UnpufyCx.js');
|
|
11
11
|
var props = require('./props-D8dybmr0.js');
|
|
12
|
-
var slot = require('./slot-
|
|
12
|
+
var slot = require('./slot-CjaqqX7y.js');
|
|
13
13
|
require('./prop-warning-xvEHQz8H.js');
|
|
14
14
|
|
|
15
15
|
const itemCss = () => `*,*::before,*::after{box-sizing:border-box}:host{line-height:var(--font-line-height-medium);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:rgba(0,0,0,0)}b,strong{font-weight:bolder}small{font-size:80%}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:var(--font-line-height-medium);margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}.d-none{display:none !important}@media (min-width: 576px){.d-sm-block{display:block !important}.d-sm-flex{display:flex !important}}[data-toggle=dropdown]+*{position:absolute}.dropdown{position:relative}.dropdown [data-toggle=dropdown]+*{box-shadow:var(--surface-shadow-sm);left:0;position:absolute;top:100%}.dropdown>.br-notification{left:auto;right:0}.dropdown .br-item{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--color-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);--item-padding-y:var(--spacing-scale-2x);background-color:var(--background-light);color:var(--color)}.dropdown .br-item:not(:last-child){border-bottom:1px solid var(--border-color)}.dropdown .br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.justify-content-start{justify-content:flex-start !important}.justify-content-end{justify-content:flex-end !important}.justify-content-center{justify-content:center !important}.align-items-center{align-items:center !important}.col,[class*=col-]{padding-left:calc(var(--grid-gutter)*.5);padding-right:calc(var(--grid-gutter)*.5);width:100%}.col{flex:1 0 0%;min-width:8.3333333333%}.col-auto{flex:0 0 auto;width:auto}.col-2{flex-basis:16.6666666667%;max-width:16.6666666667%}.container,.container-fluid,.container-lg{--grid-margin:var(--grid-portrait-margin);--grid-maxwidth:var(--grid-portrait-maxwidth);margin-left:auto;margin-right:auto;max-width:var(--grid-maxwidth);padding-left:var(--grid-margin);padding-right:var(--grid-margin);width:100%}.row{--grid-gutter:var(--grid-portrait-gutter);display:flex;flex-wrap:wrap;margin-left:calc(var(--grid-gutter)*-0.5);margin-right:calc(var(--grid-gutter)*-0.5)}@media (min-width: 576px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-sm) - var(--grid-tablet-margin))}.col-sm-4{flex-basis:33.3333333333%;max-width:33.3333333333%}}@media (min-width: 992px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tablet-margin)}.row{--grid-gutter:var(--grid-tablet-gutter)}.container{--grid-maxwidth:calc(var(--grid-breakpoint-md) - var(--grid-tablet-margin))}}@media (min-width: 1280px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-desktop-margin)}.row{--grid-gutter:var(--grid-desktop-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-lg) - var(--grid-desktop-margin))}.col-lg-3{flex-basis:25%;max-width:25%}}@media (min-width: 1600px){.container,.container-lg,.container-fluid{--grid-margin:var(--grid-tv-margin)}.row{--grid-gutter:var(--grid-tv-gutter)}.container,.container-lg{--grid-maxwidth:calc(var(--grid-breakpoint-xl) - var(--grid-tv-margin))}}.ease{animation-timing-function:cubic-bezier(0.25, 0.1, 0.25, 1)}.ease-out{animation-timing-function:cubic-bezier(0, 0, 0.58, 1)}.ease-in-out{animation-timing-function:cubic-bezier(0.42, 0, 0.58, 1)}.fast{animation-duration:var(--duration-fast)}.slow{animation-duration:var(--duration-slow)}.mt-1{margin-top:var(--spacing-scale-half) !important}.mr-1{margin-right:var(--spacing-scale-half) !important}.mb-1{margin-bottom:var(--spacing-scale-half) !important}.ml-1{margin-left:var(--spacing-scale-half) !important}.mx-3{margin-left:var(--spacing-scale-2x) !important;margin-right:var(--spacing-scale-2x) !important}.mb-4{margin-bottom:var(--spacing-scale-3x) !important}.ml-auto{margin-left:auto !important}.pt-half{padding-top:var(--spacing-scale-half) !important}@media (min-width: 576px){.ml-sm-0{margin-left:var(--spacing-scale-default) !important}}.highlight{background:var(--status-highlight-background) linear-gradient(var(--status-highlight-overlay), var(--status-highlight-overlay));color:var(--status-highlight-text);padding:0 var(--spacing-scale-half)}[disabled],.disabled{cursor:not-allowed;opacity:var(--disabled)}[disabled] *,.disabled *{pointer-events:none}fieldset[disabled]{opacity:1}.text-center{text-align:center !important}.text-right{text-align:right !important}.text-nowrap{white-space:nowrap !important}.text-uppercase{text-transform:uppercase !important}.text-bold{font-weight:700 !important}.text-base{font-size:var(--font-size-scale-base) !important}.text-down-01{font-size:var(--font-size-scale-down-01) !important}@media (min-width: 576px){.text-sm-center{text-align:center !important}.text-sm-left{text-align:left !important}.text-sm-right{text-align:right !important}}p{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-2x);margin-top:0}p a{text-decoration:underline}@media (min-width: 576px){p{font-size:var(--font-size-scale-up-01)}}a{--focus-offset:var(--spacing-scale-half)}a:focus{outline:none}a.focus-visible,a:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}a:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}a{color:var(--interactive);text-decoration:none}.main-content a{text-decoration:underline}button{cursor:pointer}img{max-width:100%;vertical-align:middle}h2,.h2{color:var(--color);font-size:var(--font-size-scale-up-03);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2xh);margin-top:var(--spacing-scale-3xh);padding-bottom:var(--spacing-scale-2xh)}@media (min-width: 576px){.h2,h2{font-size:var(--font-size-scale-up-05);font-weight:var(--font-weight-regular)}}ul,ol{margin-bottom:var(--spacing-scale-2x);margin-top:0;padding:0 0 0 var(--spacing-scale-5x)}table{--table-background:var(--background);--table-color:var(--color);--table-border-color:var(--gray-20);--table-border-style:solid;--table-border-width:1px;--table-hover:var(--color-rgb);--table-padding:var(--spacing-scale-3x);--table-font-weight:var(--font-weight-medium);--table-th-background:var(--background-alternative);--table-th-font-weight:var(--font-weight-semi-bold);--table-row-size:var(--spacing-scale-2x);border-collapse:collapse;width:100%}tr.selected,tr.is-selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}label,.label{color:var(--color);font-size:var(--font-size-scale-base);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half)}fieldset,.fieldset{border:var(--surface-width-none);margin-bottom:var(--spacing-scale-5x);margin-top:0;padding:0}legend,.legend{color:var(--color);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-semi-bold);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-2x);margin-top:var(--spacing-scale-2x)}::placeholder,.placeholder{color:var(--color-light);font-size:var(--font-size-scale-base);font-style:italic;font-weight:var(--font-weight-regular);line-height:var(--font-line-height-medium);margin-bottom:var(--spacing-scale-half);margin-top:var(--spacing-scale-half);opacity:1}input,textarea,.input{color:var(--color-light);font-size:var(--font-size-scale-up-01);font-weight:var(--font-weight-medium);line-height:var(--font-line-height-low);margin-bottom:var(--spacing-scale-half)}pre,.pre{background:var(--gray-5);margin:var(--spacing-scale-2x) 0 var(--spacing-scale-4x);padding:var(--spacing-scale-2x)}*[data-toggle=collapse]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}*[data-toggle=collapse]:focus{outline:none}*[data-toggle=collapse].focus-visible,*[data-toggle=collapse]:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}@media (prefers-reduced-motion: reduce){:host,:host::before,:host::after,:host *,:host *::before,:host *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}}:host-context([data-wbc-reduced-motion=true])::before,:host-context([data-wbc-reduced-motion=true])::after,:host-context([data-wbc-reduced-motion=true]) *,:host-context([data-wbc-reduced-motion=true]) *::before,:host-context([data-wbc-reduced-motion=true]) *::after{animation:none !important;scroll-behavior:auto !important;transition:none !important}.br-item{background:var(--background);--item-padding-x:var(--spacing-scale-2x);--item-padding-y:var(--spacing-scale-base);--item-padding:var(--item-padding-y) var(--item-padding-x);--focus-offset:calc(var(--focus-width) * -1);border:0;color:var(--color);display:block;font-weight:var(--font-weight);padding:var(--item-padding);text-align:left;width:100%}.br-item .row{margin-left:calc(-1*var(--spacing-scale-base));margin-right:calc(-1*var(--spacing-scale-base))}.br-item .row .col,.br-item .row [class*=col-]{padding-left:var(--spacing-scale-base);padding-right:var(--spacing-scale-base)}.br-item::after{clear:both;content:"";display:block}.br-item[data-toggle]{cursor:pointer}.br-item[data-toggle=selection]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}.br-item>.br-checkbox:not(.hidden-label),.br-item>.br-radio:not(.hidden-label){margin-bottom:calc(var(--item-padding-y)*-1);margin-left:calc(var(--item-padding-x)*-1);margin-right:calc(var(--item-padding-x)*-1);margin-top:calc(var(--item-padding-y)*-1)}.br-item>.br-checkbox:not(.hidden-label) input+label,.br-item>.br-radio:not(.hidden-label) input+label{padding-bottom:var(--item-padding-y);padding-top:var(--item-padding-y);top:1px;width:100%}.br-item>.br-checkbox:not(.hidden-label) input+label::before,.br-item>.br-radio:not(.hidden-label) input+label::before{left:var(--item-padding-x);top:calc(var(--item-padding-y) - 1px)}.br-item>.br-checkbox:not(.hidden-label) input+label:empty,.br-item>.br-radio:not(.hidden-label) input+label:empty{left:0;top:1px}.br-item>.br-checkbox:not(.hidden-label) input:hover:not(:disabled)+label::before,.br-item>.br-radio:not(.hidden-label) input:hover:not(:disabled)+label::before{background-image:none}.br-item>.br-checkbox input:not(:indeterminate)+label{min-height:calc(var(--checkbox-size) + var(--item-padding-y)*2)}.br-item>.br-checkbox input:not(:indeterminate)+label:not(:empty){padding-left:calc(var(--checkbox-padding) + var(--checkbox-size) + var(--item-padding-x))}.br-item>.br-checkbox input:not(:indeterminate)+label::after{left:calc(var(--item-padding-x) + 8px);top:calc(var(--item-padding-y) + 4px)}.br-item>.br-checkbox input:not(:indeterminate)+label:empty{min-height:var(--checkbox-size)}.br-item>.br-checkbox input:not(:indeterminate)+label:empty::after{left:8px;top:4px}.br-item .br-radio input+label{min-height:calc(var(--radio-size) + var(--item-padding-y)*2);padding-left:calc(var(--spacing-scale-base) + var(--radio-size) + var(--item-padding-x))}.br-item .br-radio input+label::after{left:calc(var(--item-padding-x) + var(--radio-bullet-position));top:calc(var(--item-padding-y) + var(--radio-bullet-position) - 1px)}.br-item .br-radio input+label:empty{min-height:var(--radio-size)}.br-item .br-radio input+label:empty::after{left:var(--radio-bullet-position);top:var(--radio-bullet-position)}.br-item.highlight{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.br-item.selected{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark);background-color:var(--selected)}.br-item.active{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark);background-color:var(--active);color:var(--color)}.br-item.inverted,.br-item.dark-mode{--color:var(--color-dark);--color-rgb:var(--color-dark-rgb);--text-color:var(--color-dark);--interactive:var(--interactive-dark);--interactive-rgb:var(--interactive-dark-rgb);--visited:var(--visited-dark);--hover:var(--hover-dark);--pressed:var(--pressed-dark);--focus-color:var(--focus-color-dark);--focus:var(--focus-color-dark)}.br-item.inverted.active,.br-item.dark-mode.active{--color:var(--color-light);--color-rgb:var(--color-light-rgb);--text-color:var(--color-light);--interactive:var(--interactive-light);--interactive-rgb:var(--active-rgb);--visited:var(--visited-light);--hover:var(--hover-light);--pressed:var(--pressed-light);--focus-color:var(--focus-color-light);--focus:var(--focus-color-light);background-color:var(--background-light);color:var(--active)}.br-item[data-toggle]:not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}.br-item[data-toggle] .content i{color:var(--interactive)}.br-item .content{align-items:center;display:flex}.br-item [class*=fa-]{height:16px;width:14px !important}a.br-item{color:var(--interactive)}a.br-item:not(:disabled):hover{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--hover)), rgba(var(--interactive-rgb), var(--hover)))}a.br-item:not(:disabled):active{background-image:linear-gradient(rgba(var(--interactive-rgb), var(--pressed)), rgba(var(--interactive-rgb), var(--pressed)))}button.br-item{background-color:rgba(0,0,0,0);color:var(--color)}button.br-item:focus{outline:none}button.br-item.focus-visible,button.br-item:focus-visible{outline-color:var(--focus);outline-offset:var(--focus-offset);outline-style:var(--focus-style);outline-width:var(--focus-width)}button.br-item:not(:disabled):hover{background-image:linear-gradient(rgba(var(--color-rgb), var(--hover)), rgba(var(--color-rgb), var(--hover)))}button.br-item:not(:disabled):active{background-image:linear-gradient(rgba(var(--color-rgb), var(--pressed)), rgba(var(--color-rgb), var(--pressed)))}:host{display:block}.br-item{background-color:var(--br-item-bg-color, transparent);font-family:var(--font-family-base);font-size:var(--font-size-scale-base)}.br-item.small{--item-padding-y:var(--spacing-scale-base)}.br-item.medium{--item-padding-y:var(--spacing-scale-2x)}.br-item.large{--item-padding-y:var(--spacing-scale-3x)}:host([disabled]) .br-item{cursor:not-allowed}::slotted(br-checkbox){max-width:fit-content;max-height:fit-content}::slotted(br-radio){max-width:fit-content;max-height:fit-content}.br-item:focus{cursor:auto;outline:var(--focus) var(--focus-style) var(--focus-width);outline-offset:var(--focus-offset)}.no-text-selection{-webkit-user-select:none;user-select:none}:host([disabled]),:host([disabled]) .br-item{opacity:1 !important}:host([disabled]) ::slotted(*){opacity:var(--disabled) !important}:host([disabled]) ::slotted(br-checkbox),:host([disabled]) ::slotted(br-radio){opacity:initial !important}`;
|
|
@@ -398,7 +398,7 @@ const Item = class {
|
|
|
398
398
|
// posterior.
|
|
399
399
|
const hasSlotStart = this.hasSlotStart || this.hasSlotContent('start');
|
|
400
400
|
const hasSlotEnd = this.hasSlotEnd || this.hasSlotContent('end');
|
|
401
|
-
return (index.h(index.Host, { key: '
|
|
401
|
+
return (index.h(index.Host, { key: 'c740d234a49ee434d62e0f79f901045bbd3beb48', tabindex: this.effectiveInteractive || this.effectiveButton ? (this.disabled ? -1 : 0) : undefined }, index.h(TagType, { key: '9a67bd7232e44a5ff5c3627c4ff4866d2f1925a4', class: classList, ...attributes, tabindex: this.effectiveInteractive || this.effectiveButton ? (this.disabled ? -1 : 0) : undefined, onClick: this.handleClick, onKeyDown: this.handleKeydown, id: this.customId, ref: (el) => (this.focusableElement = el), onMouseDown: this.handleMouseDown, part: "item" }, hasSlotStart || hasSlotEnd ? (index.h("div", { class: "row align-items-center" }, hasSlotStart && (index.h("div", { class: "col-auto" }, index.h("slot", { name: "start" }))), index.h("div", { class: "col" }, index.h("slot", null)), hasSlotEnd && (index.h("div", { class: "col-auto" }, index.h("slot", { name: "end" }))))) : (index.h("slot", null)))));
|
|
402
402
|
}
|
|
403
403
|
static get delegatesFocus() { return true; }
|
|
404
404
|
get el() { return index.getElement(this); }
|
|
@@ -47,17 +47,17 @@ const Link = class {
|
|
|
47
47
|
* Exibe o link com o mesmo visual do componente `br-button`.
|
|
48
48
|
*/
|
|
49
49
|
this.button = false;
|
|
50
|
-
/** Valor
|
|
50
|
+
/** Valor de `aria-expanded`. */
|
|
51
51
|
this.ariaExpanded = null;
|
|
52
|
-
/** Valor
|
|
52
|
+
/** Valor de `aria-selected`. */
|
|
53
53
|
this.ariaSelected = null;
|
|
54
|
-
/** Valor
|
|
54
|
+
/** Valor de `aria-haspopup`. */
|
|
55
55
|
this.ariaHasPopup = null;
|
|
56
|
-
/** Valor
|
|
56
|
+
/** Valor de `aria-current`. */
|
|
57
57
|
this.ariaCurrent = null;
|
|
58
|
-
/** Valor
|
|
58
|
+
/** Valor de `aria-label`. */
|
|
59
59
|
this.ariaLabel = null;
|
|
60
|
-
/** Valor
|
|
60
|
+
/** Valor de `aria-describedby`. */
|
|
61
61
|
this.ariaDescribedBy = null;
|
|
62
62
|
this.handleClick = (event) => {
|
|
63
63
|
if (this.disabled) {
|
|
@@ -131,7 +131,7 @@ const Link = class {
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
|
-
return (index.h(index.Host, { key: '
|
|
134
|
+
return (index.h(index.Host, { key: '3d629ad7a36367d8ca77e67c4510466bf48d9349' }, index.h("a", { key: '40e5e4490316e8508950cb4c58cd4546461bf12c', part: "anchor", class: { 'br-button': this.button }, href: this.disabled ? undefined : this.href, target: this.effectiveTarget, rel: this.getRel(), download: this.download, hreflang: this.hreflang, referrerPolicy: this.referrerPolicy, type: this.type, "aria-disabled": this.disabled ? 'true' : null, onClick: this.handleClick, ...this.getAnchorAttrs() }, index.h("slot", { key: 'e46377f568fff85bc2b578fee167efe2911971bd' }))));
|
|
135
135
|
}
|
|
136
136
|
static get delegatesFocus() { return true; }
|
|
137
137
|
get el() { return index.getElement(this); }
|
|
@@ -550,7 +550,7 @@ const Loading = class {
|
|
|
550
550
|
* @returns Estrutura JSX final.
|
|
551
551
|
*/
|
|
552
552
|
render() {
|
|
553
|
-
return (index.h(index.Host, { key: '
|
|
553
|
+
return (index.h(index.Host, { key: 'e4c9196da0b7f07f82d3f9302ee86fb611aa537a' }, index.h("div", { key: '9cb95ff4956953e0b8d969cc2aca2f6084520442', class: this.getCssClassMap(), part: "container" }, this.effectiveMode === 'spinner' ? this.renderIndeterminate() : this.renderDeterminate())));
|
|
554
554
|
}
|
|
555
555
|
get el() { return index.getElement(this); }
|
|
556
556
|
static get watchers() { return {
|
|
@@ -113,7 +113,7 @@ const MagicButton = class {
|
|
|
113
113
|
*/
|
|
114
114
|
render() {
|
|
115
115
|
const effectiveAriaLabel = this.ariaLabel || this.label || (this.icon ? `Botão com ícone ${this.icon}` : 'Botão');
|
|
116
|
-
return (index.h(index.Host, { key: '
|
|
116
|
+
return (index.h(index.Host, { key: 'd2a8fe42c2871c7feaae91ffe60a99ec9a138d68', id: this.customId }, index.h("div", { key: '13bb6f25739caa0f919ba9da4b4b1e5cdd23e04d', class: this.getCssClassMap(), part: "container" }, index.h("button", { key: '8acc5cd9a021c12279f023c7feaae7d3076d59f9', class: { 'br-button': true, ...this.getCircleClass() }, type: "button", "aria-label": effectiveAriaLabel, part: "button" }, index.h("slot", { key: 'b258430fe39e6285eef0b4f69ccc9c029173f6e1', name: "icon" }, this.renderIconFallback()), this.label || index.h("slot", { key: '33e2eac372b497b22b5fdd2cf71d86e997b5fc7f' })))));
|
|
117
117
|
}
|
|
118
118
|
static get delegatesFocus() { return true; }
|
|
119
119
|
get el() { return index.getElement(this); }
|
|
@@ -25,7 +25,7 @@ const MenuGroup = class {
|
|
|
25
25
|
return false;
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (index.h(index.Host, { key: '
|
|
28
|
+
return (index.h(index.Host, { key: '9f3fe61013ba20ff1442284ec00ab2f7779b6c67', role: "group", "aria-label": this.label || null }, index.h("div", { key: '531b3a6e4b5ae006b2c84a1fbd6f0bac013b5932', class: { container: true, divider: this.divider }, part: "container" }, this.label ? index.h("div", { part: "label" }, this.label) : null, index.h("div", { key: 'f3249d995f57c4a29237764cd043b923427e9fec', part: "list" }, index.h("slot", { key: '8df9ce387a0459244125d0e04790d3da9c503101' })))));
|
|
29
29
|
}
|
|
30
30
|
get el() { return index.getElement(this); }
|
|
31
31
|
};
|
|
@@ -38,7 +38,7 @@ const MenuHeader = class {
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (index.h(index.Host, { key: '
|
|
41
|
+
return (index.h(index.Host, { key: '915009c3021237bbf165e141449285451419757b' }, index.h("div", { key: 'b768d67ba1f3298d2cc1f2f4ef53b54bf934d3a3', class: this.getCssClassMap(), part: "container" }, index.h("div", { key: 'f75fad5f65fa3afe6edbbc8d57026fcefa027689', class: "menu-title", part: "title" }, index.h("slot", { key: 'fba1e60e85ed764b25d6e9dfea38e2be035d5618', name: "logo" }, this.logoSrc && index.h("img", { key: '4ae018becdfff7d95895cb51f41755c963788331', src: this.logoSrc, alt: this.logoAlt, part: "logo" })), index.h("slot", { key: 'dbc7c7f4ce255dabc716d21be95ed413665e9752', name: "signature" }, this.signature && index.h("span", { key: '74a6b177a2547adbfe8ef3e6812e84d1c71a0aa3', part: "signature" }, this.signature))), index.h("div", { key: '24ece513f0a2c95a06a8a5628b16c7c1faba76be', class: "menu-close", part: "close" }, index.h("br-button", { key: 'b40a57c40d8b78e77641ab1dd74c93a4a9b0edf0', "prop:ariaLabel": "Fechar o menu", shape: "circle", onClick: this.handleCloseClick, "data-dismiss": "menu" }, index.h("br-icon", { key: '9183bbdb3f34db21dd4912eb3c5bfcc1bb2723c0', iconName: "fa6-solid:xmark", width: "16", height: "16" }))))));
|
|
42
42
|
}
|
|
43
43
|
get el() { return index.getElement(this); }
|
|
44
44
|
};
|
|
@@ -29,7 +29,7 @@ const MenuInfo = class {
|
|
|
29
29
|
this.hasSlotContent = this.el.innerHTML.trim() !== '';
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (index.h(index.Host, { key: '
|
|
32
|
+
return (index.h(index.Host, { key: 'd0f104a77c18a9deb7e02bef221a65494ddc845e' }, index.h("slot", { key: '5665a0e17a58786c71aae62b877828334e430194' }, !this.hasSlotContent && this.info && index.h("div", { key: '12cb60aa0640598bc15a2ea2edf41bc1140cd05c', class: "text-center text-down-01" }, this.info))));
|
|
33
33
|
}
|
|
34
34
|
get el() { return index.getElement(this); }
|
|
35
35
|
};
|
|
@@ -92,7 +92,7 @@ const MenuItem = class {
|
|
|
92
92
|
const ariaExpanded = isExpandable ? String(this.expanded) : undefined;
|
|
93
93
|
const ariaHaspopup = isExpandable ? 'true' : undefined;
|
|
94
94
|
const targetAttr = !isExpandable ? this.effectiveTarget : undefined;
|
|
95
|
-
return (index.h(index.Host, { key: '
|
|
95
|
+
return (index.h(index.Host, { key: '20a267bb7b94f032f8496da4efdc8662001d4f63' }, index.h("br-link", { key: 'd1fb268162cc7c17b5576a1659885cdfd466bf09', class: classes, href: this.href, target: targetAttr, navigationMode: this.effectiveNavigationMode, linkAriaLabel: this.el.textContent?.trim() || undefined, linkAriaCurrent: this.active ? 'page' : undefined, linkAriaExpanded: ariaExpanded, linkAriaHaspopup: ariaHaspopup, exportparts: "anchor: link" }, (this.icon || this.hasIconSlot) && (index.h("span", { key: 'bc3e692c49b192db7e39b5c8ff524b7f4f3cabcd', class: "icon", part: "icon" }, index.h("slot", { key: 'f393ba22dbbbc0f783a8c4030ec5633e1a4dc9cb', name: "icon" }, this.icon && (index.h("br-icon", { key: '29192f57ef4f759bc9eb4bb110e8f3f70ee72cd8', iconName: `fa6-solid:${this.icon}`, width: "16", height: "16", "aria-hidden": "true" }))))), index.h("span", { key: 'a140d1202805cb64e154fae1ad6be03a9b7a4b0d', class: "content", part: "content" }, index.h("slot", { key: 'edcd05451fc2ab0173b787bf9d7f124751dc9596' })), this.effectiveDisplayMode === 'accordion' && (index.h("span", { key: '63c80b3f1f3c4557e0bc248ab2c261a931f8a43c', class: { support: true, expanded: this.expanded }, part: "support" }, index.h("br-icon", { key: 'f43317e800dccec52bf533e2d94dd5bc4d7d4c60', iconName: `fa6-solid:${this.expanded ? 'chevron-up' : 'chevron-down'}`, width: "16", height: "16", "aria-hidden": "true" }))), this.effectiveDisplayMode === 'drill-down' && (index.h("span", { key: '5fd78743721e54b9bac1a5e3cea9d189d4c80fd7', class: "support", part: "support" }, index.h("br-icon", { key: '4595680e003046d3a6dfc07a9c79ae7fbcdd5825', iconName: `fa6-solid:angle-right`, width: "12", height: "12", "aria-hidden": "true" }))))));
|
|
96
96
|
}
|
|
97
97
|
get el() { return index.getElement(this); }
|
|
98
98
|
};
|
|
@@ -54,7 +54,7 @@ const MenuLink = class {
|
|
|
54
54
|
return props.resolveAllowedPropValue(this.el, 'navigationMode', this.navigationMode, ['native', 'event'], 'native');
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (index.h(index.Host, { key: '
|
|
57
|
+
return (index.h(index.Host, { key: '080823eb820c178ef741e5194e19104f09d6340a' }, index.h("a", { key: '09ee356f5bfd1465f60bb0c472f9a873469f399b', href: this.href, target: this.effectiveTarget, rel: this.effectiveTarget === '_blank' ? 'noopener noreferrer' : undefined, onClick: this.handleClick, part: "link" }, index.h("slot", { key: '2ff83b8af9dc5e0f555f7b040a8973399de6ecb1', name: "url" }, index.h("span", { key: 'c227d219c459d2d3eec4c51de4e5af767149c8be', class: "mr-1" }, this.label ?? this.titulo)), index.h("slot", { key: '88d29ed66f58de042a752e0d49c2154d00f1adff', name: "icon" }, index.h("br-icon", { key: '202ebc854cab0e9360da89c2559bc94547f89982', iconName: "fa6-solid:square-arrow-up-right", width: "12", height: "12", "aria-hidden": "true" })))));
|
|
58
58
|
}
|
|
59
59
|
static get delegatesFocus() { return true; }
|
|
60
60
|
get el() { return index.getElement(this); }
|
|
@@ -61,7 +61,7 @@ const MenuLogo = class {
|
|
|
61
61
|
width: this.width,
|
|
62
62
|
height: this.height,
|
|
63
63
|
};
|
|
64
|
-
return (index.h(index.Host, { key: '
|
|
64
|
+
return (index.h(index.Host, { key: '4a4d91a97ed9f32863df25fe8a5ee5f6e6b8ad00' }, index.h("div", { key: '53f6193800f1b693c6edd01b2faac6135fd444cb', class: "br-menu-logo", id: this.customId, part: "container" }, index.h("slot", { key: 'efadae98d7d023e6ddd5ff61953b1d825ba25b8a' }, this.src && (index.h("img", { key: 'fb66a0c08576f4046d8eaa1d8ecd732a83df9df8', src: this.currentSrc || this.src, alt: this.alt || 'Logo', style: imageStyle, onError: this.handleError, onLoad: this.handleLoad }))))));
|
|
65
65
|
}
|
|
66
66
|
get el() { return index.getElement(this); }
|
|
67
67
|
static get watchers() { return {
|
|
@@ -952,11 +952,11 @@ const Menu = class {
|
|
|
952
952
|
// biome-ignore lint/complexity/noExcessiveCognitiveComplexity: render combina três modos de menu, gatilhos distintos e estrutura de painel responsivo.
|
|
953
953
|
render() {
|
|
954
954
|
const MenuContainer = this.usesNativeDialog ? 'dialog' : 'div';
|
|
955
|
-
return (index.h(index.Host, { key: '
|
|
955
|
+
return (index.h(index.Host, { key: '3be3ad63e8b1ef0d99cb717cec9c42f2c91548d9' }, index.h("div", { key: '9a9439712d713fbe6e466e4cca4f123fd9fcdaf0', class: this.getCssClassMap() }, this.contextual && (index.h("div", { key: 'a022c87131ab81fa3fef1745e9d7348a6553f02e', class: "menu-trigger" }, index.h("br-button", { key: '8893badc5ed9d1cb020f0dee8cc803d186ce1b74', id: "contextual-trigger", emphasis: "primary", shape: "block", "aria-label": this.contextualLabel, "prop:ariaExpanded": String(this.isOpen), onClick: this.onToggleClick, part: "trigger" }, index.h("span", { key: 'dc6e337ed222cf4de431ae33255c2d097311b98e', class: "trigger-label" }, this.contextualLabel), index.h("br-icon", { key: '7d7f65554a07074880a8e5e54f23d85d1ec1dd16', iconName: `fa6-solid:chevron-${this.isOpen ? 'down' : 'up'}`, width: "16", height: "16", class: "trigger-icon", "aria-hidden": "true" })))), index.h(MenuContainer, { key: '9919eecb5ac7f569ea7d3c7ab9a952a6c62bfe00', ref: (el) => (this.nativeDialogRef = this.usesNativeDialog ? el : null), class: 'menu-container', part: "container", role: this.usesNativeDialog ? 'dialog' : undefined, "aria-modal": this.usesNativeDialog ? 'true' : undefined, "aria-label": this.usesNativeDialog ? 'Menu' : undefined, onCancel: this.usesNativeDialog ? this.handleNativeCancel : undefined }, this.renderScrim(), index.h("div", { key: 'b77ed8d274e749f09dbfbd77440512a94d48c4f9', id: this.contextual ? 'contextual-menu-panel' : 'menu-panel', class: this.getMenuPanelClasses(), ...(this.usesNativeDialog
|
|
956
956
|
? {}
|
|
957
|
-
: { role: 'dialog', 'aria-label': this.contextual ? this.contextualLabel : 'Menu' }), part: "panel" }, !this.contextual && !this.push && this.hasSlotContent('header') && index.h("slot", { key: '
|
|
957
|
+
: { role: 'dialog', 'aria-label': this.contextual ? this.contextualLabel : 'Menu' }), part: "panel" }, !this.contextual && !this.push && this.hasSlotContent('header') && index.h("slot", { key: '6ca4634f0a3e1f39087651dd7f2b91303dfd44cd', name: "header" }), index.h("nav", { key: '9655447991eaf09248cac8b3e414b04154102866', class: "menu-body", part: "body" }, this.isInSubmenu && this.currentLevel > 0 && (index.h("div", { key: '5bba60e5b0b6f43cfacda6fade276df6b7a18e4d', class: "menu-back-button" }, index.h("button", { key: 'ab670ac9bf42568030714d959e62d2a37ad487c2', type: "button", class: "back-btn", onClick: this.onGoBackClick, "aria-label": "Voltar ao n\u00EDvel anterior", part: "back-btn" }, index.h("br-icon", { key: 'c9432ddbbbbecf5facf107c770616b5b7d87693c', class: "back-icon", iconName: "fa6-solid:angle-left", width: "16", height: "16", "aria-hidden": "true" }), index.h("span", { key: '2d784eb4f4e3583e754c4d5ab9dc4d30df729cb0', class: "back-title" }, this.navigationStack.length > 0
|
|
958
958
|
? `${this.navigationStack[this.navigationStack.length - 1].label}`
|
|
959
|
-
: '')))), index.h("slot", { key: '
|
|
959
|
+
: '')))), index.h("slot", { key: '75d042726cf38ae458bddf302b09d3c49c8ee759' })), !this.contextual && (index.h("div", { key: '67646a1bb00df774aa76f40045ce5ef0323c7128', class: "menu-footer", part: "footer" }, this.hasSlotContent('logo') && (index.h("div", { key: '1451a940ea3717ddb0f74b4091b8560cd8944a97', class: "menu-logos", part: "logo" }, index.h("slot", { key: '82523c94193b678eea225c216e91b4dd4b997a2c', name: "logo" }))), this.hasSlotContent('link') && (index.h("div", { key: 'fdc4a3ec5c2c9cf5a6ad7ea2e9273593dd380492', class: "menu-links", part: "link" }, index.h("slot", { key: 'be1da50b6c77cf864bf6a37ca0b0df6e839035a9', name: "link" }))), this.hasSlotContent('social') && (index.h("div", { key: 'fccb99dd085e76237d899771268c5b992d11f5b3', class: "social-network", part: "social" }, this.socialTitle && index.h("div", { key: 'ceae622374867f6aabedc920563987da73e9bd13', class: "social-network-title" }, this.socialTitle), index.h("div", { key: 'b20b5d0b4c7e023bbded39ad88923fa72e9d5858', class: "sharegroup" }, index.h("slot", { key: '94899d32fad3e0586d6c96fa788d9719f1e527f8', name: "social" })))), this.hasSlotContent('info') && (index.h("div", { key: '3c066e04f9eb6ba5868fe2f82e85c1dd95188b1a', class: "menu-info", part: "info" }, index.h("slot", { key: '80c387ca73bdd2e1827274328f670d3c8f522484', name: "info" }))))))))));
|
|
960
960
|
}
|
|
961
961
|
get el() { return index.getElement(this); }
|
|
962
962
|
static get watchers() { return {
|
|
@@ -62,7 +62,7 @@ const NotificationBody = class {
|
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
return (index.h(index.Host, { key: '
|
|
65
|
+
return (index.h(index.Host, { key: '860070d9dcc7613880449329cb67ba2ff40e5183' }, index.h("div", { key: 'f7d744982a632cc9fab866ea71e7f26050aced81', class: this.getCssClassMap() }, index.h("div", { key: '5d22d4602bf50542ea527b47e76e1adb8c2137bd', class: { 'br-notification-body__tabs': true, 'd-none': !this.hasTabs } }, index.h("slot", { key: 'ef8bc485b07717d364798c429e3197086c3182fd', name: "tabs", onSlotchange: () => this.checkSlotVisibility('tabs') })), index.h("div", { key: '12837023be819258bc63d1f92c14cadf8306a6da', class: "br-notification-body__list", role: "log", "aria-live": "polite", "aria-relevant": "additions removals" }, this.empty ? (index.h("div", { class: "br-notification-body__empty" }, index.h("slot", { name: "empty" }, index.h("p", null, "Nenhuma notifica\u00E7\u00E3o encontrada.")))) : (index.h("slot", null))))));
|
|
66
66
|
}
|
|
67
67
|
get el() { return index.getElement(this); }
|
|
68
68
|
};
|
|
@@ -39,7 +39,7 @@ const NotificationHeader = class {
|
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (index.h(index.Host, { key: '
|
|
42
|
+
return (index.h(index.Host, { key: '79b4e070caa857773cbe170140f739d51c2928b9' }, index.h("div", { key: '53f07bebeb1ee0b28f6e5123c6e2d1d03b398db6', class: this.getCssClassMap() }, index.h("div", { key: '0e359ae4e3e6aa2593af1a385c839ad71b3a6791', class: "br-notification-header__avatar" }, index.h("slot", { key: '945bf0c46f781a17e9becb180b6cf4b3873346a4', name: "avatar" })), index.h("div", { key: '94a5337a1e8e2320ee493ff23c1cfc6925013501', class: "br-notification-header__content" }, index.h("div", { key: '381651ec74fd67b070b218175c69f005680fa42a', class: "br-notification-header__title" }, index.h("slot", { key: '0a50ef10a550eeb46149670e5d86a2b0d800aa27', name: "title" }, this.label)), this.subtitle !== undefined && this.subtitle !== null && (index.h("div", { key: '5cc3c858372a17485d4c020f222300c0ae639db6', class: "br-notification-header__subtitle" }, index.h("slot", { key: 'c058d9c3ae6298e8fb2e7f8f665a08a7fafc3dd1', name: "subtitle" }, this.subtitle)))), index.h("div", { key: 'fee8011a97afe69cf3356abb57f4b663e8d48f42', class: "br-notification-header__actions" }, index.h("slot", { key: '18948feb884ebd10c96b08fe839fefbfab91b0f5', name: "actions" }, this.showCloseButton && (index.h("br-button", { key: '0df04d1eca03a6170c022f0ad827f632c388ad9d', shape: "circle", density: "small", "aria-label": this.closeLabel, onClick: this.handleCloseClick }, index.h("br-icon", { key: '7066e661be2e7e034562d1d8b8195667f49c5ccd', iconName: "fa-solid:times", width: "16", height: "16" }))))))));
|
|
43
43
|
}
|
|
44
44
|
get el() { return index.getElement(this); }
|
|
45
45
|
};
|
|
@@ -107,7 +107,7 @@ const NotificationItem = class {
|
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
109
|
const ariaLabel = this.getAriaLabel();
|
|
110
|
-
return (index.h(index.Host, { key: '
|
|
110
|
+
return (index.h(index.Host, { key: '92394e5a4b6f683880da60bf3c827c18d7e43afc', unread: this.unread, state: this.effectiveState }, index.h("br-item", { key: '3bee315bb7527c65ce32f5f3fe03307c94cea186', "is-interactive": this.clickable, "is-button": this.clickable, onKeyDown: (e) => this.handleKeydown(e), role: ariaLabel ? 'article' : undefined, "aria-label": ariaLabel }, index.h("div", { key: 'b88df0bc238faa5380c47fa7400898f5124b9f9a', class: "br-notification-item__row" }, this.unread && (index.h("div", { key: 'bf4cd6a48ceed5c46339b8eff80fca4fab0a8333', class: "br-notification-item__unread" }, index.h("br-tag", { key: '14610cc87021e80dcbd3468be707e542d33e2272', status: true, density: "small", "bg-color": "var(--color-danger, #e1173f)", "aria-hidden": "true" }))), index.h("div", { key: '3127d6d6f6cdbb885ab7323b3809f5c394c9b2b2', class: "br-notification-item__content" }, index.h("div", { key: '115eabd92bddd064656d3f76482107afdeda0bcb', class: "br-notification-item__title" }, index.h("slot", { key: 'fe0f4a7c2c63cdc69e4ea65d7781606e8d072d8f', name: "title" }, this.label)), index.h("div", { key: 'de05104ff4a4111bae51bf9c6382d5f7c0c85f0d', class: "br-notification-item__meta" }, index.h("slot", { key: 'c15bb6e9f35f5a98de4842cc3a1584e810c1a00f', name: "meta" }, this.datetime && (index.h("time", { key: '02b737802875c9c2ccece752933f615068d4cdcb', class: "br-notification-item__datetime", dateTime: this.datetime }, this.datetime)))), index.h("div", { key: 'b9923ee771e6dac928da3c950933b1e8d34060a2', class: "br-notification-item__description" }, index.h("slot", { key: '9cffaf24d822c14221484f5dc656f10f62fab780' }, this.description)), index.h("div", { key: 'eb41de0ff7cbc7722805d7b7a0b9bfd2b9523abb', class: "br-notification-item__status" }, index.h("slot", { key: 'd6aa37a818a288f219a1cf73db2b72b7743968f2', name: "status" }, this.effectiveState && (index.h("br-tag", { key: '3e878e1ccccc6bde452a4eec5b937dc3d9072276', status: true, density: "small", label: this.getStateLabel(), "bg-color": this.getStateColor(), "aria-hidden": "true" })))), index.h("div", { key: '672fa7c43ff2c28dea2845a41269084a9e3b4293', class: "br-notification-item__actions" }, index.h("slot", { key: 'fcdf1554d03d5821bfc28d880f36d55a816c1e49', name: "actions" })))))));
|
|
111
111
|
}
|
|
112
112
|
get el() { return index.getElement(this); }
|
|
113
113
|
};
|
|
@@ -330,12 +330,12 @@ const Notification = class {
|
|
|
330
330
|
style['--notification-height'] = this.maxHeight;
|
|
331
331
|
if (this.isStatic && !this.maxHeight)
|
|
332
332
|
style.maxHeight = 'none';
|
|
333
|
-
return (index.h(index.Host, { key: '
|
|
333
|
+
return (index.h(index.Host, { key: 'e90181153a40bb5a0326a86369dff442345dcf11', "mobile-fullscreen": this.mobileFullscreen, "internal-scroll": this.internalScroll, open: this.open, style: !this.isStatic ? { zIndex: 'var(--z-index-layer-1)' } : undefined }, index.h("div", { key: 'f43756665f3ab89351f4a089b301d7b166d3bf3d', class: { 'br-notification__trigger': true, 'd-none': !this.hasTrigger }, role: "button", tabIndex: 0, onClick: () => this.toggle(), onKeyDown: (event) => {
|
|
334
334
|
if (event.key === 'Enter' || event.key === ' ') {
|
|
335
335
|
event.preventDefault();
|
|
336
336
|
this.toggle();
|
|
337
337
|
}
|
|
338
|
-
} }, index.h("slot", { key: '
|
|
338
|
+
} }, index.h("slot", { key: '302bd14287a4cda84712ea2f5ab6b09ebbddac7d', name: "trigger", onSlotchange: () => this.checkSlotVisibility('trigger') })), index.h("div", { key: '2a024b344e2bbaf96794deb4555d845d234f9d52', class: this.getCssClassMap(), id: this.customId, style: style, part: "base", "aria-label": this.label, "aria-hidden": !this.open ? 'true' : null, role: "dialog", "aria-modal": "true" }, index.h("div", { key: '1ae52b2ec4728454981a62df32c77e461c402dfc', part: "header", class: { 'br-notification__header': true, 'd-none': !this.hasHeader } }, index.h("slot", { key: '1a57a0c13735aceb6065879420f7ada1d783ad94', name: "header", onSlotchange: () => this.checkSlotVisibility('header') })), index.h("div", { key: '1688a88956364843bfa49ee2c1f1dd9490d4e242', part: "tabs", class: { 'br-notification__tabs': true, 'd-none': !this.hasTabs } }, index.h("slot", { key: '5fa5b8c33af804ed01ff93b4549476d28c0b7ff9', name: "tabs", onSlotchange: () => this.checkSlotVisibility('tabs') })), index.h("div", { key: 'd863b359975f77b5ad5177c92bb0a8fc035e011b', part: "body", class: "br-notification__body" }, index.h("slot", { key: '6ceb765295bf7010dc5b968d7a2c042c168a56e2' })), index.h("div", { key: '77c33d5e03e8d5e15ec4468d1dbf4488a9c9068c', part: "footer", class: { 'br-notification__footer': true, 'd-none': !this.hasFooter } }, index.h("slot", { key: 'f57bfbbab273da463dd6e79f4a410f71668120d2', name: "footer", onSlotchange: () => this.checkSlotVisibility('footer') })))));
|
|
339
339
|
}
|
|
340
340
|
get el() { return index.getElement(this); }
|
|
341
341
|
static get watchers() { return {
|