@beeq/core 1.12.0 → 1.12.2-beta.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/dist/beeq/beeq.esm.js +44 -1
- package/dist/beeq/beeq.esm.js.map +1 -1
- package/dist/beeq/index.esm.js +69 -1
- package/dist/{components/p-Bi6ozE0v.js → beeq/p-1011ae42.entry.js} +89 -2
- package/dist/beeq/{p-e394c440.entry.js.map → p-1011ae42.entry.js.map} +1 -1
- package/dist/beeq/p-110c262d.entry.js +173 -0
- package/dist/beeq/{p-b4a612db.entry.js.map → p-110c262d.entry.js.map} +1 -1
- package/dist/beeq/p-11671252.entry.js +128 -0
- package/dist/beeq/{p-a7a74198.entry.js.map → p-11671252.entry.js.map} +1 -1
- package/dist/beeq/p-11fcb99b.entry.js +281 -0
- package/dist/beeq/{p-5e186220.entry.js.map → p-11fcb99b.entry.js.map} +1 -1
- package/dist/beeq/p-1aba3eec.entry.js +150 -0
- package/dist/beeq/{p-3c491238.entry.js.map → p-1aba3eec.entry.js.map} +1 -1
- package/dist/beeq/p-20162842.entry.js +151 -0
- package/dist/beeq/{p-8cd20d85.entry.js.map → p-20162842.entry.js.map} +1 -1
- package/dist/beeq/p-3a4c4de9.entry.js +188 -0
- package/dist/beeq/{p-28c6cdbc.entry.js.map → p-3a4c4de9.entry.js.map} +1 -1
- package/dist/beeq/p-426fd908.entry.js +215 -0
- package/dist/beeq/{p-8fd716b1.entry.js.map → p-426fd908.entry.js.map} +1 -1
- package/dist/beeq/p-47571092.entry.js +289 -0
- package/dist/beeq/{p-e39e3d9c.entry.js.map → p-47571092.entry.js.map} +1 -1
- package/dist/beeq/p-49e90223.entry.js +86 -0
- package/dist/beeq/{p-63f1dcd2.entry.js.map → p-49e90223.entry.js.map} +1 -1
- package/dist/beeq/p-4b00a155.entry.js +747 -0
- package/dist/beeq/{p-f477b7ac.entry.js.map → p-4b00a155.entry.js.map} +1 -1
- package/dist/beeq/p-54ddd09f.entry.js +392 -0
- package/dist/beeq/{p-59cb331c.entry.js.map → p-54ddd09f.entry.js.map} +1 -1
- package/dist/{components/p-BcmnHFqE.js → beeq/p-6b68123f.entry.js} +246 -2
- package/dist/beeq/{p-96a79f9b.entry.js.map → p-6b68123f.entry.js.map} +1 -1
- package/dist/beeq/p-6d708caf.entry.js +339 -0
- package/dist/beeq/{p-a09d8901.entry.js.map → p-6d708caf.entry.js.map} +1 -1
- package/dist/beeq/p-70607940.entry.js +174 -0
- package/dist/beeq/{p-552d3e73.entry.js.map → p-70607940.entry.js.map} +1 -1
- package/dist/beeq/p-72c376a9.entry.js +165 -0
- package/dist/beeq/{p-6cac6da2.entry.js.map → p-72c376a9.entry.js.map} +1 -1
- package/dist/beeq/p-78bbd845.entry.js +109 -0
- package/dist/beeq/{p-be1b3e87.entry.js.map → p-78bbd845.entry.js.map} +1 -1
- package/dist/beeq/p-8012f01d.entry.js +556 -0
- package/dist/beeq/{p-ecef6efa.entry.js.map → p-8012f01d.entry.js.map} +1 -1
- package/dist/beeq/p-8b5934a3.entry.js +158 -0
- package/dist/beeq/{p-c414e7c0.entry.js.map → p-8b5934a3.entry.js.map} +1 -1
- package/dist/beeq/p-94c2081a.entry.js +681 -0
- package/dist/beeq/{p-8379d440.entry.js.map → p-94c2081a.entry.js.map} +1 -1
- package/dist/beeq/p-95979cb0.entry.js +289 -0
- package/dist/beeq/{p-76d65605.entry.js.map → p-95979cb0.entry.js.map} +1 -1
- package/dist/beeq/p-978b2249.entry.js +196 -0
- package/dist/beeq/{p-22e2de76.entry.js.map → p-978b2249.entry.js.map} +1 -1
- package/dist/beeq/p-9a78587d.entry.js +138 -0
- package/dist/beeq/{p-258e890f.entry.js.map → p-9a78587d.entry.js.map} +1 -1
- package/dist/beeq/p-B4sM1t6Z.js +8 -1
- package/dist/beeq/p-BNvWMggA.js +23 -1
- package/dist/beeq/p-BRMw_HGf.js +8 -1
- package/dist/beeq/p-BRbYDZoo.js +10 -1
- package/dist/beeq/p-BcPwGxIn.js +9 -1
- package/dist/beeq/p-BsSDkLU5.js +26 -1
- package/dist/beeq/p-BtYhUEAn.js +9 -0
- package/dist/beeq/p-BtYhUEAn.js.map +1 -0
- package/dist/beeq/p-C33fRBEf.js +151 -1
- package/dist/beeq/p-CCNjsDdb.js +88 -1
- package/dist/beeq/p-CVw85-WU.js +64 -1
- package/dist/beeq/p-Cau9SvT4.js +12 -1
- package/dist/beeq/p-CmKvDWiL.js +1787 -0
- package/dist/beeq/p-CmKvDWiL.js.map +1 -0
- package/dist/beeq/p-CpKQ7XUL.js +284 -1
- package/dist/beeq/p-D0hQxkOP.js +2816 -0
- package/dist/beeq/p-D0hQxkOP.js.map +1 -0
- package/dist/beeq/p-D1A0LpG_.js +10 -1
- package/dist/beeq/p-DdvbF5yL.js +119 -1
- package/dist/beeq/p-DnkZCdMA.js +8 -1
- package/dist/beeq/p-Ds7rcaFH.js +65 -1
- package/dist/beeq/p-Dx-CEPSQ.js +13 -1
- package/dist/beeq/p-_RvVpeh2.js +29 -1
- package/dist/beeq/p-ac7cd72b.entry.js +322 -0
- package/dist/beeq/{p-8a5e127b.entry.js.map → p-ac7cd72b.entry.js.map} +1 -1
- package/dist/beeq/p-ae85a23a.entry.js +408 -0
- package/dist/beeq/{p-a9cc76af.entry.js.map → p-ae85a23a.entry.js.map} +1 -1
- package/dist/beeq/p-b0f9a0cb.entry.js +296 -0
- package/dist/beeq/{p-043a472a.entry.js.map → p-b0f9a0cb.entry.js.map} +1 -1
- package/dist/beeq/p-b194e120.entry.js +293 -0
- package/dist/beeq/{p-b7de07f5.entry.js.map → p-b194e120.entry.js.map} +1 -1
- package/dist/beeq/p-b2858324.entry.js +210 -0
- package/dist/beeq/{p-dfd80d40.entry.js.map → p-b2858324.entry.js.map} +1 -1
- package/dist/beeq/p-c34fc2c7.entry.js +351 -0
- package/dist/beeq/{p-039f7907.entry.js.map → p-c34fc2c7.entry.js.map} +1 -1
- package/dist/beeq/p-c630a8b8.entry.js +442 -0
- package/dist/beeq/{p-d4ffd9f1.entry.js.map → p-c630a8b8.entry.js.map} +1 -1
- package/dist/beeq/p-cb9b1edc.entry.js +232 -0
- package/dist/beeq/{p-20de0359.entry.js.map → p-cb9b1edc.entry.js.map} +1 -1
- package/dist/beeq/p-cc6b349e.entry.js +172 -0
- package/dist/beeq/{p-904e521c.entry.js.map → p-cc6b349e.entry.js.map} +1 -1
- package/dist/beeq/p-d0edfaa5.entry.js +388 -0
- package/dist/beeq/{p-90b0fef1.entry.js.map → p-d0edfaa5.entry.js.map} +1 -1
- package/dist/beeq/{p-be1b3e87.entry.js → p-db09cc1e.entry.js} +83 -2
- package/dist/beeq/{p-1b988f57.entry.js.map → p-db09cc1e.entry.js.map} +1 -1
- package/dist/beeq/p-f6d82c39.entry.js +206 -0
- package/dist/beeq/{p-52334e53.entry.js.map → p-f6d82c39.entry.js.map} +1 -1
- package/dist/beeq/p-f83010e9.entry.js +118 -0
- package/dist/beeq/{p-8e9d8445.entry.js.map → p-f83010e9.entry.js.map} +1 -1
- package/dist/beeq/p-f97c679f.entry.js +233 -0
- package/dist/beeq/{p-55b686b4.entry.js.map → p-f97c679f.entry.js.map} +1 -1
- package/dist/beeq/{p-63f1dcd2.entry.js → p-ff327b98.entry.js} +116 -2
- package/dist/beeq/{p-47404d61.entry.js.map → p-ff327b98.entry.js.map} +1 -1
- package/dist/beeq/p-ff73f344.entry.js +396 -0
- package/dist/beeq/{p-50cbee50.entry.js.map → p-ff73f344.entry.js.map} +1 -1
- package/dist/beeq/p-lysmVw2n.js +12 -1
- package/dist/beeq/p-uqkxeAeG.js +88 -1
- package/dist/beeq/p-zh4P02Kn.js +21 -1
- package/dist/beeq.html-custom-data.json +80 -80
- package/dist/cjs/app-globals-BY_z0SzA.js +12 -0
- package/dist/cjs/app-globals-BY_z0SzA.js.map +1 -0
- package/dist/cjs/beeq.cjs.js +3 -2
- package/dist/cjs/beeq.cjs.js.map +1 -1
- package/dist/cjs/bq-accordion-group.cjs.entry.js +2 -2
- package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bq-alert.cjs.entry.js +2 -2
- package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-avatar.cjs.entry.js +2 -2
- package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-badge.cjs.entry.js +1 -1
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-button_2.cjs.entry.js +2 -2
- package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-card.cjs.entry.js +2 -2
- package/dist/cjs/bq-card.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dialog.cjs.entry.js +2 -2
- package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-divider.cjs.entry.js +1 -1
- package/dist/cjs/bq-drawer.cjs.entry.js +2 -2
- package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dropdown_2.cjs.entry.js +4 -4
- package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-input.cjs.entry.js +2 -2
- package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-notification.cjs.entry.js +2 -2
- package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-group.cjs.entry.js +2 -2
- package/dist/cjs/bq-option-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-list_2.cjs.entry.js +3 -3
- package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option.cjs.entry.js +1 -1
- package/dist/cjs/bq-page-title.cjs.entry.js +2 -2
- package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-progress.cjs.entry.js +2 -2
- package/dist/cjs/bq-progress.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/bq-radio.cjs.entry.js +1 -1
- package/dist/cjs/bq-select.cjs.entry.js +2 -2
- package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-side-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-side-menu.cjs.entry.js +1 -1
- package/dist/cjs/bq-slider.cjs.entry.js +1 -1
- package/dist/cjs/bq-spinner.cjs.entry.js +2 -2
- package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-status.cjs.entry.js +2 -2
- package/dist/cjs/bq-status.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-step-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-steps.cjs.entry.js +1 -1
- package/dist/cjs/bq-switch.cjs.entry.js +2 -2
- package/dist/cjs/bq-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/bq-tab.cjs.entry.js +2 -2
- package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-textarea.cjs.entry.js +2 -2
- package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-toast.cjs.entry.js +2 -2
- package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/{index-Cnm84YLJ.js → index-BwvwUnfB.js} +21 -15
- package/dist/cjs/index-BwvwUnfB.js.map +1 -0
- package/dist/cjs/{index-D7RDSS0K.js → index-CxAIhsq5.js} +81 -75
- package/dist/cjs/index-CxAIhsq5.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/components/select/bq-select.js +2 -2
- package/dist/collection/components/select/scss/bq-select.css +1 -1
- package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
- package/dist/collection/components/tag/scss/bq-tag.css +1 -1
- package/dist/components/bq-accordion-group.js +157 -1
- package/dist/components/bq-accordion-group.js.map +1 -1
- package/dist/components/bq-accordion.js +444 -1
- package/dist/components/bq-accordion.js.map +1 -1
- package/dist/components/bq-alert.js +354 -1
- package/dist/components/bq-alert.js.map +1 -1
- package/dist/components/bq-avatar.js +206 -1
- package/dist/components/bq-avatar.js.map +1 -1
- package/dist/components/bq-badge.js +8 -1
- package/dist/components/bq-breadcrumb-item.js +129 -1
- package/dist/components/bq-breadcrumb-item.js.map +1 -1
- package/dist/components/bq-breadcrumb.js +138 -1
- package/dist/components/bq-breadcrumb.js.map +1 -1
- package/dist/components/bq-button.js +8 -1
- package/dist/components/bq-card.js +118 -1
- package/dist/components/bq-card.js.map +1 -1
- package/dist/components/bq-checkbox.js +314 -1
- package/dist/components/bq-checkbox.js.map +1 -1
- package/dist/components/bq-date-picker.js +1113 -1
- package/dist/components/bq-date-picker.js.map +1 -1
- package/dist/components/bq-dialog.js +347 -1
- package/dist/components/bq-dialog.js.map +1 -1
- package/dist/components/bq-divider.js +8 -1
- package/dist/components/bq-drawer.js +356 -1
- package/dist/components/bq-drawer.js.map +1 -1
- package/dist/components/bq-dropdown.js +8 -1
- package/dist/components/bq-empty-state.js +192 -1
- package/dist/components/bq-empty-state.js.map +1 -1
- package/dist/components/bq-icon.js +8 -1
- package/dist/components/bq-input.js +502 -1
- package/dist/components/bq-input.js.map +1 -1
- package/dist/components/bq-notification.js +381 -1
- package/dist/components/bq-notification.js.map +1 -1
- package/dist/components/bq-option-group.js +104 -1
- package/dist/components/bq-option-group.js.map +1 -1
- package/dist/components/bq-option-list.js +8 -1
- package/dist/components/bq-option.js +200 -1
- package/dist/components/bq-option.js.map +1 -1
- package/dist/components/bq-page-title.js +150 -1
- package/dist/components/bq-page-title.js.map +1 -1
- package/dist/components/bq-panel.js +8 -1
- package/dist/components/bq-progress.js +220 -1
- package/dist/components/bq-progress.js.map +1 -1
- package/dist/components/bq-radio-group.js +457 -1
- package/dist/components/bq-radio-group.js.map +1 -1
- package/dist/components/bq-radio.js +219 -1
- package/dist/components/bq-radio.js.map +1 -1
- package/dist/components/bq-select.js +794 -1
- package/dist/components/bq-select.js.map +1 -1
- package/dist/components/bq-side-menu-item.js +181 -1
- package/dist/components/bq-side-menu-item.js.map +1 -1
- package/dist/components/bq-side-menu.js +200 -1
- package/dist/components/bq-side-menu.js.map +1 -1
- package/dist/components/bq-slider.js +443 -1
- package/dist/components/bq-slider.js.map +1 -1
- package/dist/components/bq-spinner.js +248 -1
- package/dist/components/bq-spinner.js.map +1 -1
- package/dist/components/bq-status.js +119 -1
- package/dist/components/bq-status.js.map +1 -1
- package/dist/components/bq-step-item.js +236 -1
- package/dist/components/bq-step-item.js.map +1 -1
- package/dist/components/bq-steps.js +175 -1
- package/dist/components/bq-steps.js.map +1 -1
- package/dist/components/bq-switch.js +330 -1
- package/dist/components/bq-switch.js.map +1 -1
- package/dist/components/bq-tab-group.js +273 -1
- package/dist/components/bq-tab-group.js.map +1 -1
- package/dist/components/bq-tab.js +248 -1
- package/dist/components/bq-tab.js.map +1 -1
- package/dist/components/bq-tag.js +8 -1
- package/dist/components/bq-textarea.js +393 -1
- package/dist/components/bq-textarea.js.map +1 -1
- package/dist/components/bq-toast.js +281 -1
- package/dist/components/bq-toast.js.map +1 -1
- package/dist/components/bq-tooltip.js +8 -1
- package/dist/components/index.js +149 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/p-B4sM1t6Z.js +8 -1
- package/dist/components/p-B4sM1t6Z.js.map +1 -1
- package/dist/components/p-BRMw_HGf.js +8 -1
- package/dist/components/p-BRMw_HGf.js.map +1 -1
- package/dist/components/p-BRbYDZoo.js +10 -1
- package/dist/components/p-BRbYDZoo.js.map +1 -1
- package/dist/components/p-BcPwGxIn.js +9 -1
- package/dist/components/p-BcPwGxIn.js.map +1 -1
- package/dist/components/p-BsSDkLU5.js +26 -1
- package/dist/components/p-BsSDkLU5.js.map +1 -1
- package/dist/{beeq/p-8cd20d85.entry.js → components/p-C8_OKNHL.js} +221 -2
- package/dist/components/{p-plkW8XNd.js.map → p-C8_OKNHL.js.map} +1 -1
- package/dist/components/p-C97BzPa8.js +177 -0
- package/dist/components/{p-DhVt1fuD.js.map → p-C97BzPa8.js.map} +1 -1
- package/dist/components/p-CMejKLsB.js +248 -0
- package/dist/components/{p-SKH1pCPg.js.map → p-CMejKLsB.js.map} +1 -1
- package/dist/components/p-CVw85-WU.js +64 -1
- package/dist/components/p-CVw85-WU.js.map +1 -1
- package/dist/{beeq/p-55b686b4.entry.js → components/p-CXLw0i9p.js} +291 -2
- package/dist/components/{p-BcmnHFqE.js.map → p-CXLw0i9p.js.map} +1 -1
- package/dist/components/p-CmKvDWiL.js +1787 -0
- package/dist/components/p-CmKvDWiL.js.map +1 -0
- package/dist/components/p-D1A0LpG_.js +10 -1
- package/dist/components/p-D1A0LpG_.js.map +1 -1
- package/dist/{beeq/p-ecef6efa.entry.js → components/p-DBPU_cIr.js} +334 -2
- package/dist/components/{p-yO5LAmkd.js.map → p-DBPU_cIr.js.map} +1 -1
- package/dist/components/p-DDCN9O42.js +2669 -0
- package/dist/components/p-DDCN9O42.js.map +1 -0
- package/dist/components/p-DHhUeR-_.js +377 -0
- package/dist/components/{p-qVvRSuP7.js.map → p-DHhUeR-_.js.map} +1 -1
- package/dist/components/p-DSqLegVR.js +100 -0
- package/dist/components/{p-C6pBQ61U.js.map → p-DSqLegVR.js.map} +1 -1
- package/dist/components/p-DdvbF5yL.js +119 -1
- package/dist/components/p-DdvbF5yL.js.map +1 -1
- package/dist/components/p-DnkZCdMA.js +8 -1
- package/dist/components/p-DnkZCdMA.js.map +1 -1
- package/dist/components/p-Dx-CEPSQ.js +13 -1
- package/dist/components/p-Dx-CEPSQ.js.map +1 -1
- package/dist/{beeq/p-96a79f9b.entry.js → components/p-YyF6_fWE.js} +381 -2
- package/dist/components/{p-Bi6ozE0v.js.map → p-YyF6_fWE.js.map} +1 -1
- package/dist/components/p-_RvVpeh2.js +29 -1
- package/dist/components/p-_RvVpeh2.js.map +1 -1
- package/dist/components/p-lysmVw2n.js +12 -1
- package/dist/components/p-lysmVw2n.js.map +1 -1
- package/dist/components/p-qOL6hl5s.js +298 -0
- package/dist/components/{p-B93kqFqH.js.map → p-qOL6hl5s.js.map} +1 -1
- package/dist/components/p-uqkxeAeG.js +88 -1
- package/dist/components/p-uqkxeAeG.js.map +1 -1
- package/dist/components/p-zh4P02Kn.js +21 -1
- package/dist/components/p-zh4P02Kn.js.map +1 -1
- package/dist/custom-elements.json +1514 -1514
- package/dist/esm/app-globals-BtYhUEAn.js +10 -0
- package/dist/esm/app-globals-BtYhUEAn.js.map +1 -0
- package/dist/esm/beeq.js +3 -2
- package/dist/esm/beeq.js.map +1 -1
- package/dist/esm/bq-accordion-group.entry.js +2 -2
- package/dist/esm/bq-accordion-group.entry.js.map +1 -1
- package/dist/esm/bq-accordion.entry.js +1 -1
- package/dist/esm/bq-alert.entry.js +2 -2
- package/dist/esm/bq-alert.entry.js.map +1 -1
- package/dist/esm/bq-avatar.entry.js +2 -2
- package/dist/esm/bq-avatar.entry.js.map +1 -1
- package/dist/esm/bq-badge.entry.js +1 -1
- package/dist/esm/bq-breadcrumb-item.entry.js +2 -2
- package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/bq-breadcrumb.entry.js +2 -2
- package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
- package/dist/esm/bq-button_2.entry.js +2 -2
- package/dist/esm/bq-button_2.entry.js.map +1 -1
- package/dist/esm/bq-card.entry.js +2 -2
- package/dist/esm/bq-card.entry.js.map +1 -1
- package/dist/esm/bq-checkbox.entry.js +2 -2
- package/dist/esm/bq-checkbox.entry.js.map +1 -1
- package/dist/esm/bq-date-picker.entry.js +2 -2
- package/dist/esm/bq-date-picker.entry.js.map +1 -1
- package/dist/esm/bq-dialog.entry.js +2 -2
- package/dist/esm/bq-dialog.entry.js.map +1 -1
- package/dist/esm/bq-divider.entry.js +1 -1
- package/dist/esm/bq-drawer.entry.js +2 -2
- package/dist/esm/bq-drawer.entry.js.map +1 -1
- package/dist/esm/bq-dropdown_2.entry.js +4 -4
- package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
- package/dist/esm/bq-empty-state.entry.js +2 -2
- package/dist/esm/bq-empty-state.entry.js.map +1 -1
- package/dist/esm/bq-input.entry.js +2 -2
- package/dist/esm/bq-input.entry.js.map +1 -1
- package/dist/esm/bq-notification.entry.js +2 -2
- package/dist/esm/bq-notification.entry.js.map +1 -1
- package/dist/esm/bq-option-group.entry.js +2 -2
- package/dist/esm/bq-option-group.entry.js.map +1 -1
- package/dist/esm/bq-option-list_2.entry.js +3 -3
- package/dist/esm/bq-option-list_2.entry.js.map +1 -1
- package/dist/esm/bq-option.entry.js +1 -1
- package/dist/esm/bq-page-title.entry.js +2 -2
- package/dist/esm/bq-page-title.entry.js.map +1 -1
- package/dist/esm/bq-progress.entry.js +2 -2
- package/dist/esm/bq-progress.entry.js.map +1 -1
- package/dist/esm/bq-radio-group.entry.js +1 -1
- package/dist/esm/bq-radio.entry.js +1 -1
- package/dist/esm/bq-select.entry.js +2 -2
- package/dist/esm/bq-select.entry.js.map +1 -1
- package/dist/esm/bq-side-menu-item.entry.js +2 -2
- package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
- package/dist/esm/bq-side-menu.entry.js +1 -1
- package/dist/esm/bq-slider.entry.js +1 -1
- package/dist/esm/bq-spinner.entry.js +2 -2
- package/dist/esm/bq-spinner.entry.js.map +1 -1
- package/dist/esm/bq-status.entry.js +2 -2
- package/dist/esm/bq-status.entry.js.map +1 -1
- package/dist/esm/bq-step-item.entry.js +2 -2
- package/dist/esm/bq-step-item.entry.js.map +1 -1
- package/dist/esm/bq-steps.entry.js +1 -1
- package/dist/esm/bq-switch.entry.js +2 -2
- package/dist/esm/bq-switch.entry.js.map +1 -1
- package/dist/esm/bq-tab-group.entry.js +1 -1
- package/dist/esm/bq-tab.entry.js +2 -2
- package/dist/esm/bq-tab.entry.js.map +1 -1
- package/dist/esm/bq-textarea.entry.js +2 -2
- package/dist/esm/bq-textarea.entry.js.map +1 -1
- package/dist/esm/bq-toast.entry.js +2 -2
- package/dist/esm/bq-toast.entry.js.map +1 -1
- package/dist/esm/bq-tooltip.entry.js +2 -2
- package/dist/esm/{index-CgIw4Syg.js → index-CmKvDWiL.js} +81 -75
- package/dist/esm/index-CmKvDWiL.js.map +1 -0
- package/dist/esm/{index-BIw6Ac7W.js → index-D0hQxkOP.js} +22 -15
- package/dist/esm/index-D0hQxkOP.js.map +1 -0
- package/dist/esm/loader.js +3 -2
- package/dist/esm/loader.js.map +1 -1
- package/dist/hydrate/index.js +82 -82
- package/dist/hydrate/index.mjs +82 -82
- package/dist/stencil.config.js +1 -0
- package/dist/stencil.config.js.map +1 -1
- package/package.json +4 -4
- package/dist/beeq/p-039f7907.entry.js +0 -6
- package/dist/beeq/p-043a472a.entry.js +0 -6
- package/dist/beeq/p-1b988f57.entry.js +0 -6
- package/dist/beeq/p-20de0359.entry.js +0 -6
- package/dist/beeq/p-22e2de76.entry.js +0 -6
- package/dist/beeq/p-258e890f.entry.js +0 -6
- package/dist/beeq/p-28c6cdbc.entry.js +0 -6
- package/dist/beeq/p-3c491238.entry.js +0 -6
- package/dist/beeq/p-47404d61.entry.js +0 -6
- package/dist/beeq/p-50cbee50.entry.js +0 -6
- package/dist/beeq/p-52334e53.entry.js +0 -6
- package/dist/beeq/p-552d3e73.entry.js +0 -6
- package/dist/beeq/p-59cb331c.entry.js +0 -6
- package/dist/beeq/p-5e186220.entry.js +0 -6
- package/dist/beeq/p-6cac6da2.entry.js +0 -6
- package/dist/beeq/p-76d65605.entry.js +0 -6
- package/dist/beeq/p-8379d440.entry.js +0 -6
- package/dist/beeq/p-8a5e127b.entry.js +0 -6
- package/dist/beeq/p-8e9d8445.entry.js +0 -6
- package/dist/beeq/p-8fd716b1.entry.js +0 -6
- package/dist/beeq/p-904e521c.entry.js +0 -6
- package/dist/beeq/p-90b0fef1.entry.js +0 -6
- package/dist/beeq/p-BIw6Ac7W.js +0 -7
- package/dist/beeq/p-BIw6Ac7W.js.map +0 -1
- package/dist/beeq/p-CgIw4Syg.js +0 -6
- package/dist/beeq/p-CgIw4Syg.js.map +0 -1
- package/dist/beeq/p-a09d8901.entry.js +0 -6
- package/dist/beeq/p-a7a74198.entry.js +0 -6
- package/dist/beeq/p-a9cc76af.entry.js +0 -6
- package/dist/beeq/p-b4a612db.entry.js +0 -6
- package/dist/beeq/p-b7de07f5.entry.js +0 -6
- package/dist/beeq/p-c414e7c0.entry.js +0 -6
- package/dist/beeq/p-d4ffd9f1.entry.js +0 -6
- package/dist/beeq/p-dfd80d40.entry.js +0 -6
- package/dist/beeq/p-e394c440.entry.js +0 -6
- package/dist/beeq/p-e39e3d9c.entry.js +0 -6
- package/dist/beeq/p-f477b7ac.entry.js +0 -6
- package/dist/cjs/index-Cnm84YLJ.js.map +0 -1
- package/dist/cjs/index-D7RDSS0K.js.map +0 -1
- package/dist/components/p-B93kqFqH.js +0 -6
- package/dist/components/p-C6pBQ61U.js +0 -6
- package/dist/components/p-CCQ_5HvV.js +0 -6
- package/dist/components/p-CCQ_5HvV.js.map +0 -1
- package/dist/components/p-CgIw4Syg.js +0 -6
- package/dist/components/p-CgIw4Syg.js.map +0 -1
- package/dist/components/p-DhVt1fuD.js +0 -6
- package/dist/components/p-SKH1pCPg.js +0 -6
- package/dist/components/p-plkW8XNd.js +0 -6
- package/dist/components/p-qVvRSuP7.js +0 -6
- package/dist/components/p-yO5LAmkd.js +0 -6
- package/dist/esm/index-BIw6Ac7W.js.map +0 -1
- package/dist/esm/index-CgIw4Syg.js.map +0 -1
- /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/.stencil/packages/beeq/jest.config.d.ts +0 -0
- /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/.stencil/packages/beeq/stencil.config.d.ts +0 -0
- /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/.stencil/tailwind.config.d.ts +0 -0
|
@@ -0,0 +1,556 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by Endavans
|
|
3
|
+
* © https://beeq.design - Apache 2 License.
|
|
4
|
+
*/
|
|
5
|
+
import { r as a, c as r, g as b, a as e } from "./p-D0hQxkOP.js";
|
|
6
|
+
|
|
7
|
+
import { a as n, j as t } from "./p-C33fRBEf.js";
|
|
8
|
+
|
|
9
|
+
import { i as q } from "./p-B4sM1t6Z.js";
|
|
10
|
+
|
|
11
|
+
import { i } from "./p-BcPwGxIn.js";
|
|
12
|
+
|
|
13
|
+
import { i as o } from "./p-BRbYDZoo.js";
|
|
14
|
+
|
|
15
|
+
import { v as s } from "./p-zh4P02Kn.js";
|
|
16
|
+
|
|
17
|
+
import { b as d } from "./p-uqkxeAeG.js";
|
|
18
|
+
|
|
19
|
+
import { g as l } from "./p-Ds7rcaFH.js";
|
|
20
|
+
|
|
21
|
+
import { g as c } from "./p-_RvVpeh2.js";
|
|
22
|
+
|
|
23
|
+
import "./p-lysmVw2n.js";
|
|
24
|
+
|
|
25
|
+
const v = [ "small", "medium", "large" ];
|
|
26
|
+
|
|
27
|
+
const u = [ "button", "submit", "reset" ];
|
|
28
|
+
|
|
29
|
+
const g = [ "primary", "secondary", "link", "text" ];
|
|
30
|
+
|
|
31
|
+
const f = [ "standard", "ghost", "danger" ];
|
|
32
|
+
|
|
33
|
+
const bqButtonCss = () => `.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{text-size-adjust:none;font-family:var(--bq-font-family);font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);line-height:var(--bq-font-line-height--regular);min-height:100vb;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:where(:root){--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:"Outfit",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq:not([bq-mode]),.light,:root:not([bq-theme]):not([bq-mode]),:root[bq-theme=beeq]:not([bq-mode]),[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}:where(.endava),:where([bq-theme=endava]){--bq-font-family:"Poppins",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,.endava:not([bq-mode]),[bq-theme=endava]:not([bq-mode]),[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.aspect-square{aspect-ratio:1/1}.shrink-0{flex-shrink:0}.grow-0{flex-grow:0}.basis-auto{flex-basis:auto}.cursor-\\[inherit\\]{cursor:inherit}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.rounded-\\[--bq-button--border-radius\\]{border-radius:var(--bq-button--border-radius)}.border-\\[length\\:--bq-button--border-width\\]{border-width:var(--bq-button--border-width)}.border-m{border-width:var(--bq-stroke-m)}.border-solid{border-style:solid}.border-\\[color\\:--bq-button--border-color\\]{border-color:var(--bq-button--border-color)}.border-brand{border-color:var(--bq-stroke--brand)}.border-tertiary{border-color:var(--bq-stroke--tertiary)}.bg-transparent{background-color:transparent}.bg-ui-brand{background-color:var(--bq-ui--brand)}.bg-ui-danger{background-color:var(--bq-ui--danger)}.bg-ui-secondary{background-color:var(--bq-ui--secondary)}.p-\\[--bq-button--large-paddingY\\]{padding:var(--bq-button--large-paddingY)}.p-\\[--bq-button--medium-paddingY\\]{padding:var(--bq-button--medium-paddingY)}.p-\\[--bq-button--small-paddingY\\]{padding:var(--bq-button--small-paddingY)}.pe-xs2{padding-inline-end:var(--bq-spacing-xs2)}.ps-xs2{padding-inline-start:var(--bq-spacing-xs2)}.text-\\[length\\:--bq-button--large-font-size\\]{font-size:var(--bq-button--large-font-size)}.text-\\[length\\:--bq-button--medium-font-size\\]{font-size:var(--bq-button--medium-font-size)}.text-\\[length\\:--bq-button--small-font-size\\]{font-size:var(--bq-button--small-font-size)}.font-medium{font-weight:var(--bq-font-weight--medium)}.text-brand{color:var(--bq-text--brand)}.opacity-60{opacity:.6}.transition-\\[background-color\\2c border-color\\2c color\\]{transition-duration:.15s;transition-property:background-color,border-color,color;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.is-auto{inline-size:auto}.is-full{inline-size:100%}.p-b-\\[--bq-button--large-paddingY\\]{padding-block:var(--bq-button--large-paddingY)}.p-b-\\[--bq-button--medium-paddingY\\]{padding-block:var(--bq-button--medium-paddingY)}.p-b-\\[--bq-button--small-paddingY\\]{padding-block:var(--bq-button--small-paddingY)}.p-i-\\[--bq-button--large-paddingX\\]{padding-inline:var(--bq-button--large-paddingX)}.p-i-\\[--bq-button--medium-paddingX\\]{padding-inline:var(--bq-button--medium-paddingX)}.p-i-\\[--bq-button--small-paddingX\\]{padding-inline:var(--bq-button--small-paddingX)}.bq-button{align-items:center;border-color:var(--bq-button--border-color);border-radius:var(--bq-button--border-radius);border-width:var(--bq-button--border-width);box-sizing:border-box;cursor:inherit;display:flex;font-weight:var(--bq-font-weight--medium);justify-content:center;line-height:var(--bq-font-line-height--regular);transition-duration:.3s;transition-property:background-color,border-color,color;transition-timing-function:cubic-bezier(.4,0,.2,1)}.bq-button:disabled{cursor:not-allowed;opacity:.6}.bq-button:focus-visible{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-button ::slotted(bq-icon){--bq-icon--color:var(--bq-button--icon-color,currentColor)}.bq-button:hover:not(:disabled) ::slotted(bq-icon){--bq-icon--color:var(--bq-button-hover--icon-color,var(--bq-button--icon-color,currentColor))}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-button--border-color:transparent;--bq-button--border-radius:var(--bq-radius--m);--bq-button--border-style:solid;--bq-button--border-width:0;--bq-button--small-paddingX:var(--bq-spacing-xs);--bq-button--small-paddingY:var(--bq-spacing-xs2);--bq-button--small-font-size:var(--bq-font-size--m);--bq-button--medium-paddingX:var(--bq-spacing-m);--bq-button--medium-paddingY:var(--bq-spacing-s);--bq-button--medium-font-size:var(--bq-font-size--m);--bq-button--large-paddingX:var(--bq-spacing-l);--bq-button--large-paddingY:var(--bq-spacing-m);--bq-button--large-font-size:var(--bq-font-size--m);border-radius:var(--bq-button--border-radius);cursor:pointer;display:inline-block;inline-size:auto;position:relative}.block,:host([block]){inline-size:100%}.bq-button--primary{background-color:var(--bq-ui--brand);color:var(--bq-text--alt)}.bq-button--primary:enabled:hover{background-color:color-mix(in srgb,var(--bq-ui--brand),var(--bq-hover) 20%)}.bq-button--primary:enabled:active,.bq-button--primary:hover:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--brand),var(--bq-active) 20%)}.bq-button--primary.ghost{background-color:transparent;border-color:var(--bq-stroke--brand);border-style:solid;border-width:var(--bq-stroke-m);color:var(--bq-text--brand)}.bq-button--primary.ghost:enabled:hover{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-hover) 20%)}.bq-button--primary.ghost:enabled:active,.bq-button--primary.ghost:hover:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-active) 20%)}.bq-button--primary.danger{background-color:var(--bq-ui--danger);color:var(--bq-text--alt)}.bq-button--primary.danger:enabled:hover{background-color:color-mix(in srgb,var(--bq-ui--danger),var(--bq-hover) 20%)}.bq-button--primary.danger:enabled:active,.bq-button--primary.danger:hover:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--danger),var(--bq-active) 20%)}.bq-button--secondary{background-color:var(--bq-ui--secondary);color:var(--bq-text--primary)}.bq-button--secondary:enabled:hover{background-color:color-mix(in srgb,var(--bq-ui--secondary),var(--bq-hover) 20%)}.bq-button--secondary:enabled:active,.bq-button--secondary:hover:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--secondary),var(--bq-active) 20%)}.bq-button--secondary.ghost{background-color:transparent;border-color:var(--bq-stroke--tertiary);border-style:solid;border-width:var(--bq-stroke-m);color:var(--bq-text--primary)}.bq-button--secondary.ghost:enabled:hover{background-color:color-mix(in srgb,var(--bq-ui--secondary),var(--bq-hover) 20%)}.bq-button--secondary.ghost:enabled:active,.bq-button--secondary.ghost:hover:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--secondary),var(--bq-active) 20%)}.bq-button--link{background-color:transparent;color:var(--bq-text--brand);text-decoration-line:none}.bq-button--link:hover:not(.disabled){background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-hover) 20%)}.bq-button--link:active:not(.disabled),.bq-button--link:hover:active:not(.disabled){background-color:color-mix(in srgb,var(--bq-ui--secondary),var(--bq-active) 20%)}.bq-button--link.disabled{cursor:not-allowed;opacity:.6}.bq-button--text{background-color:transparent;color:var(--bq-text--primary)}.bq-button--text:enabled:hover{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-hover) 20%)}.bq-button--text:enabled:active,.bq-button--text:hover:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--secondary),var(--bq-active) 20%)}.only-icon{aspect-ratio:1/1}.small{font-size:var(--bq-button--small-font-size);padding-block:var(--bq-button--small-paddingY);padding-inline:var(--bq-button--small-paddingX)}.small.only-icon{padding:var(--bq-button--small-paddingY)}.medium{font-size:var(--bq-button--medium-font-size);padding-block:var(--bq-button--medium-paddingY);padding-inline:var(--bq-button--medium-paddingX)}.medium.only-icon{padding:var(--bq-button--medium-paddingY)}.large{font-size:var(--bq-button--large-font-size);padding-block:var(--bq-button--large-paddingY);padding-inline:var(--bq-button--large-paddingX)}.large.only-icon{padding:var(--bq-button--large-paddingY)}.bq-button__label ::slotted(bq-icon){display:flex}.content-left{justify-content:flex-start}.content-right{justify-content:flex-end}.bq-button__prefix,.bq-button__suffix{align-items:center;display:flex;flex-basis:auto;flex-grow:0;flex-shrink:0;pointer-events:none}.bq-button.has-prefix .bq-button__label{padding-inline-start:var(--bq-spacing-xs2)}.bq-button.has-suffix .bq-button__label{padding-inline-end:var(--bq-spacing-xs2)}.bq-button.loading{cursor:wait;position:relative}.bq-button.loading .bq-button__label,.bq-button.loading .bq-button__prefix,.bq-button.loading .bq-button__suffix{visibility:hidden}.bq-button__loader{-webkit-animation:spin 1s linear 0s infinite;animation:spin 1s linear 0s infinite;position:absolute}.focus-visible\\:focus:focus-visible{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.active\\:enabled\\:bg-active-ui-brand:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--brand),var(--bq-active) 20%)}.active\\:enabled\\:bg-active-ui-danger:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--danger),var(--bq-active) 20%)}.active\\:enabled\\:bg-active-ui-primary:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-active) 20%)}.active\\:enabled\\:bg-active-ui-secondary:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--secondary),var(--bq-active) 20%)}.active\\:enabled\\:hover\\:bg-active-ui-brand:hover:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--brand),var(--bq-active) 20%)}.active\\:enabled\\:hover\\:bg-active-ui-danger:hover:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--danger),var(--bq-active) 20%)}.active\\:enabled\\:hover\\:bg-active-ui-primary:hover:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-active) 20%)}.active\\:enabled\\:hover\\:bg-active-ui-secondary:hover:enabled:active{background-color:color-mix(in srgb,var(--bq-ui--secondary),var(--bq-active) 20%)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.\\[\\&\\:not\\(\\.disabled\\)\\]\\:active\\:bg-active-ui-secondary:active:not(.disabled){background-color:color-mix(in srgb,var(--bq-ui--secondary),var(--bq-active) 20%)}.\\[\\&_\\:\\:slotted\\(bq-icon\\)\\]\\:\\[--bq-icon--color\\:_var\\(--bq-button--icon-color\\2c _currentColor\\)\\] ::slotted(bq-icon){--bq-icon--color:var(--bq-button--icon-color,currentColor)}.static{position:static}.hidden{display:none}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.text-\\[--bq-icon--color\\]{color:var(--bq-icon--color)}.bs-\\[--bq-icon--size\\]{block-size:var(--bq-icon--size)}.is-\\[--bq-icon--size\\]{inline-size:var(--bq-icon--size)}`;
|
|
34
|
+
|
|
35
|
+
const m = class {
|
|
36
|
+
constructor(b) {
|
|
37
|
+
a(this, b);
|
|
38
|
+
this.bqBlur = r(this, "bqBlur");
|
|
39
|
+
this.bqFocus = r(this, "bqFocus");
|
|
40
|
+
this.bqClick = r(this, "bqClick");
|
|
41
|
+
if (b.$hostElement$["s-ei"]) {
|
|
42
|
+
this.internals = b.$hostElement$["s-ei"];
|
|
43
|
+
} else {
|
|
44
|
+
this.internals = b.$hostElement$.attachInternals();
|
|
45
|
+
b.$hostElement$["s-ei"] = this.internals;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
// Own Properties
|
|
49
|
+
// ====================
|
|
50
|
+
prefixElem;
|
|
51
|
+
suffixElem;
|
|
52
|
+
get el() {
|
|
53
|
+
return b(this);
|
|
54
|
+
}
|
|
55
|
+
internals;
|
|
56
|
+
// State() variables
|
|
57
|
+
// Inlined decorator, alphabetical order
|
|
58
|
+
// =======================================
|
|
59
|
+
hasPrefix=false;
|
|
60
|
+
hasSuffix=false;
|
|
61
|
+
// Public Property API
|
|
62
|
+
// ========================
|
|
63
|
+
/** The appearance style to apply to the button */
|
|
64
|
+
appearance="primary";
|
|
65
|
+
/** If `true`, it will make the button fit to its parent width. */
|
|
66
|
+
block=false;
|
|
67
|
+
/** The corner radius of the button */
|
|
68
|
+
border="m";
|
|
69
|
+
/** If true, the button will be disabled (no interaction allowed) */
|
|
70
|
+
disabled=false;
|
|
71
|
+
/**
|
|
72
|
+
* Tells the browser to treat the linked URL as a download. Only used when `href` is set.
|
|
73
|
+
* Details: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-download
|
|
74
|
+
*/
|
|
75
|
+
download;
|
|
76
|
+
/** When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>` */
|
|
77
|
+
href;
|
|
78
|
+
/** It determinate how the content should be aligned */
|
|
79
|
+
justifyContent="center";
|
|
80
|
+
/** Text used for accessibility purposes, specially screen readers, to describe the button action */
|
|
81
|
+
label;
|
|
82
|
+
/** If `true` it will display the button in a loading state */
|
|
83
|
+
loading=false;
|
|
84
|
+
/** If `true` it will display the button as an icon-only button with aspect ratio 1:1 (square dimensions). Make sure to set the `label` prop for accessibility purposes. */
|
|
85
|
+
onlyIcon=false;
|
|
86
|
+
/** The size of the button */
|
|
87
|
+
size="medium";
|
|
88
|
+
/**
|
|
89
|
+
* Where to display the linked URL, as the name for a browsing context (a `tab`, `window`, or `<iframe>`)
|
|
90
|
+
* Details: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target
|
|
91
|
+
*/
|
|
92
|
+
target;
|
|
93
|
+
/** The default behavior of the button */
|
|
94
|
+
type="button";
|
|
95
|
+
/** The variant of button to apply on top of the appearance (applicable only to `appearance="primary"`) */
|
|
96
|
+
variant="standard";
|
|
97
|
+
// Prop lifecycle events
|
|
98
|
+
// =======================
|
|
99
|
+
checkPropValues() {
|
|
100
|
+
s(g, "primary", this.el, "appearance");
|
|
101
|
+
s(u, "button", this.el, "type");
|
|
102
|
+
s(v, "medium", this.el, "size");
|
|
103
|
+
s(f, "standard", this.el, "variant");
|
|
104
|
+
}
|
|
105
|
+
handleOnlyIconPropChange() {
|
|
106
|
+
if (!this.onlyIcon || !i(this.label)) return;
|
|
107
|
+
console.warn("⚠️ [BqButton]: When using `only-icon` attribute (`onlyIcon` prop), it is required to set the `label` prop for accessibility reasons.");
|
|
108
|
+
}
|
|
109
|
+
// Events section
|
|
110
|
+
// Requires JSDocs for public API documentation
|
|
111
|
+
// ==============================================
|
|
112
|
+
/** Handler to be called when the button loses focus. */
|
|
113
|
+
bqBlur;
|
|
114
|
+
/** Handler to be called when the button gets focus. */
|
|
115
|
+
bqFocus;
|
|
116
|
+
/** Handler to be called when the button is clicked. */
|
|
117
|
+
bqClick;
|
|
118
|
+
// Component lifecycle events
|
|
119
|
+
// Ordered by their natural call order
|
|
120
|
+
// =====================================
|
|
121
|
+
componentWillLoad() {
|
|
122
|
+
this.checkPropValues();
|
|
123
|
+
this.handleOnlyIconPropChange();
|
|
124
|
+
}
|
|
125
|
+
componentDidLoad() {
|
|
126
|
+
this.handleSlotChange();
|
|
127
|
+
}
|
|
128
|
+
// Listeners
|
|
129
|
+
// ==============
|
|
130
|
+
// Public methods API
|
|
131
|
+
// These methods are exposed on the host element.
|
|
132
|
+
// Always use two lines.
|
|
133
|
+
// Public Methods must be async.
|
|
134
|
+
// Requires JSDocs for public API documentation.
|
|
135
|
+
// ===============================================
|
|
136
|
+
// Local methods
|
|
137
|
+
// Internal business logic.
|
|
138
|
+
// These methods cannot be called from the host element.
|
|
139
|
+
// =======================================================
|
|
140
|
+
handleBlur=() => {
|
|
141
|
+
this.bqBlur.emit(this.el);
|
|
142
|
+
};
|
|
143
|
+
handleFocus=() => {
|
|
144
|
+
this.bqFocus.emit(this.el);
|
|
145
|
+
};
|
|
146
|
+
handleClick=a => {
|
|
147
|
+
const {disabled: r, loading: b, bqClick: e, el: n} = this;
|
|
148
|
+
if (r || b) {
|
|
149
|
+
this.preventEvent(a);
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
const t = e.emit(n);
|
|
153
|
+
if (t.defaultPrevented) {
|
|
154
|
+
this.preventEvent(a);
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
this.handleFormAction();
|
|
158
|
+
};
|
|
159
|
+
handleFormAction() {
|
|
160
|
+
const {type: a, internals: {form: r}} = this;
|
|
161
|
+
if (i(r)) return;
|
|
162
|
+
const b = this.formActions(r)[a];
|
|
163
|
+
if (i(b)) return;
|
|
164
|
+
b();
|
|
165
|
+
}
|
|
166
|
+
formActions=a => ({
|
|
167
|
+
submit: () => this.submitAssociatedForm(a),
|
|
168
|
+
reset: () => a.reset()
|
|
169
|
+
});
|
|
170
|
+
submitAssociatedForm=a => {
|
|
171
|
+
if (!q() || i(a)) return;
|
|
172
|
+
const r = document.createElement("button");
|
|
173
|
+
r.type = this.type;
|
|
174
|
+
r.hidden = true;
|
|
175
|
+
a.append(r);
|
|
176
|
+
r.click();
|
|
177
|
+
r.remove();
|
|
178
|
+
};
|
|
179
|
+
handleSlotChange=() => {
|
|
180
|
+
this.hasPrefix = d(this.prefixElem, "prefix");
|
|
181
|
+
this.hasSuffix = d(this.suffixElem, "suffix");
|
|
182
|
+
};
|
|
183
|
+
preventEvent(a) {
|
|
184
|
+
a.preventDefault();
|
|
185
|
+
a.stopPropagation();
|
|
186
|
+
}
|
|
187
|
+
// render() function
|
|
188
|
+
// Always the last one in the class.
|
|
189
|
+
// ===================================
|
|
190
|
+
render() {
|
|
191
|
+
const a = o(this.href);
|
|
192
|
+
const r = a ? "a" : "button";
|
|
193
|
+
const b = {
|
|
194
|
+
...this.border && {
|
|
195
|
+
"--bq-button--border-radius": `var(--bq-radius--${this.border})`
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
return n(e, {
|
|
199
|
+
style: b,
|
|
200
|
+
children: t(r, {
|
|
201
|
+
"aria-disabled": this.disabled ? "true" : "false",
|
|
202
|
+
"aria-label": this.label ?? undefined,
|
|
203
|
+
class: {
|
|
204
|
+
"bq-button": true,
|
|
205
|
+
[`bq-button--${this.appearance}`]: true,
|
|
206
|
+
[`content-${this.justifyContent}`]: true,
|
|
207
|
+
[`${this.variant}`]: true,
|
|
208
|
+
[`${this.size}`]: true,
|
|
209
|
+
block: this.block,
|
|
210
|
+
disabled: this.disabled,
|
|
211
|
+
"has-prefix": this.hasPrefix,
|
|
212
|
+
"has-suffix": this.hasSuffix,
|
|
213
|
+
loading: this.loading,
|
|
214
|
+
"only-icon": this.onlyIcon
|
|
215
|
+
},
|
|
216
|
+
disabled: this.disabled,
|
|
217
|
+
download: a ? this.download : undefined,
|
|
218
|
+
href: a ? this.href : undefined,
|
|
219
|
+
onBlur: this.handleBlur,
|
|
220
|
+
onClick: this.handleClick,
|
|
221
|
+
onFocus: this.handleFocus,
|
|
222
|
+
part: "button",
|
|
223
|
+
rel: a && this.target ? "noreferrer noopener" : undefined,
|
|
224
|
+
tabIndex: this.disabled ? -1 : 0,
|
|
225
|
+
target: a ? this.target : undefined,
|
|
226
|
+
type: this.type,
|
|
227
|
+
children: [ n("span", {
|
|
228
|
+
class: "bq-button__prefix",
|
|
229
|
+
part: "prefix",
|
|
230
|
+
ref: a => {
|
|
231
|
+
this.prefixElem = a;
|
|
232
|
+
},
|
|
233
|
+
children: n("slot", {
|
|
234
|
+
name: "prefix",
|
|
235
|
+
onSlotchange: this.handleSlotChange
|
|
236
|
+
}, "55575b413c59f9499932490fb3ee2551ff709bce")
|
|
237
|
+
}, "5f1f85af3d7e96b2114174c9081edab4d694f809"), n("span", {
|
|
238
|
+
class: "bq-button__label",
|
|
239
|
+
part: "label",
|
|
240
|
+
children: n("slot", {}, "7d9a81d3372e34d3830f5e13b1cecdfe72cc6a63")
|
|
241
|
+
}, "fb1d5752b5c6ea83ef03e7dfafae09d62b773bb8"), n("span", {
|
|
242
|
+
class: "bq-button__suffix",
|
|
243
|
+
part: "suffix",
|
|
244
|
+
ref: a => {
|
|
245
|
+
this.suffixElem = a;
|
|
246
|
+
},
|
|
247
|
+
children: n("slot", {
|
|
248
|
+
name: "suffix",
|
|
249
|
+
onSlotchange: this.handleSlotChange
|
|
250
|
+
}, "671f87b0a668528881ac47476a4a8730487ee56c")
|
|
251
|
+
}, "9d6f8f7e8059227149234299e00f353982db3212"), this.loading && n("bq-icon", {
|
|
252
|
+
class: "bq-button__loader",
|
|
253
|
+
name: "spinner-gap"
|
|
254
|
+
}, "d7ab32aba962018d2584f35c45bb2675c565695c") ]
|
|
255
|
+
}, "b3c2855e63f79457f88123a21b71e13490bc6f13")
|
|
256
|
+
}, "112ba618a14a84e57dd17427422b6088b518d6c1");
|
|
257
|
+
}
|
|
258
|
+
static get delegatesFocus() {
|
|
259
|
+
return true;
|
|
260
|
+
}
|
|
261
|
+
static get formAssociated() {
|
|
262
|
+
return true;
|
|
263
|
+
}
|
|
264
|
+
static get watchers() {
|
|
265
|
+
return {
|
|
266
|
+
appearance: [ {
|
|
267
|
+
checkPropValues: 0
|
|
268
|
+
} ],
|
|
269
|
+
type: [ {
|
|
270
|
+
checkPropValues: 0
|
|
271
|
+
} ],
|
|
272
|
+
size: [ {
|
|
273
|
+
checkPropValues: 0
|
|
274
|
+
} ],
|
|
275
|
+
variant: [ {
|
|
276
|
+
checkPropValues: 0
|
|
277
|
+
} ],
|
|
278
|
+
onlyIcon: [ {
|
|
279
|
+
handleOnlyIconPropChange: 0
|
|
280
|
+
} ]
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
m.style = bqButtonCss();
|
|
286
|
+
|
|
287
|
+
/* -------------------------------------------------------------------------- */
|
|
288
|
+
/* Icon request helper */
|
|
289
|
+
/* -------------------------------------------------------------------------- */ const h = "svg";
|
|
290
|
+
|
|
291
|
+
const y = "bq-icon__svg";
|
|
292
|
+
|
|
293
|
+
const p = {
|
|
294
|
+
requests: new Map,
|
|
295
|
+
content: new Map
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Sanitizes SVG element by setting required attributes and removing unwanted ones
|
|
300
|
+
* @param svg - The SVG element to sanitize
|
|
301
|
+
*/ const sanitizeSvgElement = a => {
|
|
302
|
+
const r = a.getAttribute("class") || "";
|
|
303
|
+
a.setAttribute("class", `${r} ${y}`.trim());
|
|
304
|
+
a.setAttribute("part", h);
|
|
305
|
+
a.removeAttribute("height");
|
|
306
|
+
a.removeAttribute("width");
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Validates element security (no scripts or event handlers)
|
|
311
|
+
* @param element - The element to validate
|
|
312
|
+
* @returns True if the element is valid, false otherwise
|
|
313
|
+
*/ const validateElement = a => {
|
|
314
|
+
if (!a || a.nodeType !== Node.ELEMENT_NODE) return false;
|
|
315
|
+
if (a.nodeName.toLowerCase() === "script") return false;
|
|
316
|
+
// Check for malicious attributes using modern array methods
|
|
317
|
+
const r = Array.from(a.attributes).some((a => {
|
|
318
|
+
const r = a.value?.toLowerCase() || "";
|
|
319
|
+
const b = a.name.toLowerCase();
|
|
320
|
+
// Check for event handlers
|
|
321
|
+
if (b.startsWith("on")) return true;
|
|
322
|
+
// Check for javascript: URLs
|
|
323
|
+
if (r.includes("javascript:")) return true;
|
|
324
|
+
return false;
|
|
325
|
+
}));
|
|
326
|
+
if (r) return false;
|
|
327
|
+
// Recursively validate children
|
|
328
|
+
return Array.from(a.children).every((a => validateElement(a)));
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Processes SVG content with security checks and sanitization
|
|
333
|
+
* @param content - The SVG content to process
|
|
334
|
+
* @returns The processed and sanitized SVG content
|
|
335
|
+
*/ const processSvgContent = a => {
|
|
336
|
+
if (!q() || i(a)) return "";
|
|
337
|
+
try {
|
|
338
|
+
const r = new DOMParser;
|
|
339
|
+
const b = r.parseFromString(a, "image/svg+xml");
|
|
340
|
+
const e = b.querySelector(h);
|
|
341
|
+
if (!e || !validateElement(e)) {
|
|
342
|
+
console.warn("[BqIcon] SVG content failed security validation");
|
|
343
|
+
return "";
|
|
344
|
+
}
|
|
345
|
+
sanitizeSvgElement(e);
|
|
346
|
+
return (new XMLSerializer).serializeToString(e);
|
|
347
|
+
} catch (a) {
|
|
348
|
+
console.error("[BqIcon] Error processing SVG content:", a);
|
|
349
|
+
return "";
|
|
350
|
+
}
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Fetches and processes SVG content from URL
|
|
355
|
+
* @param url - The URL of the SVG to fetch
|
|
356
|
+
* @param shouldSanitize - Whether to sanitize the SVG content
|
|
357
|
+
* @returns Promise that resolves to the processed SVG content
|
|
358
|
+
*/ const fetchAndProcessSvg = async (a, r = true) => {
|
|
359
|
+
if (!q()) return "";
|
|
360
|
+
try {
|
|
361
|
+
const b = await fetch(a);
|
|
362
|
+
if (!b.ok) {
|
|
363
|
+
throw new Error(`HTTP ${b.status}: ${b.statusText}`);
|
|
364
|
+
}
|
|
365
|
+
const e = await b.text();
|
|
366
|
+
if (!e.trim()) {
|
|
367
|
+
console.warn(`[BqIcon] Empty SVG content received from ${a}`);
|
|
368
|
+
return "";
|
|
369
|
+
}
|
|
370
|
+
return r ? processSvgContent(e) : e;
|
|
371
|
+
} catch (r) {
|
|
372
|
+
console.error(`[BqIcon] Failed to fetch SVG from ${a}:`, r);
|
|
373
|
+
return "";
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Retrieves SVG content with caching, security validation, and sanitization
|
|
379
|
+
* @param url - The URL of the SVG to fetch
|
|
380
|
+
* @param sanitize - Whether to sanitize the SVG content (default: true)
|
|
381
|
+
* @returns Promise that resolves to the processed SVG content or undefined
|
|
382
|
+
*/ const getSvgContent = async (a, r = true) => {
|
|
383
|
+
if (!q() || i(a)) return undefined;
|
|
384
|
+
// Return cached content if available
|
|
385
|
+
if (p.content.has(a)) {
|
|
386
|
+
const r = p.content.get(a);
|
|
387
|
+
return r;
|
|
388
|
+
}
|
|
389
|
+
// Check if the request is already in the cache
|
|
390
|
+
if (!p.requests.has(a)) {
|
|
391
|
+
// Create new request with proper cleanup
|
|
392
|
+
const b = fetchAndProcessSvg(a, r).then((r => {
|
|
393
|
+
// Cache the result (including empty strings for failed requests)
|
|
394
|
+
p.content.set(a, r);
|
|
395
|
+
// Clean up the pending request
|
|
396
|
+
p.requests.delete(a);
|
|
397
|
+
return r;
|
|
398
|
+
}));
|
|
399
|
+
p.requests.set(a, b);
|
|
400
|
+
}
|
|
401
|
+
return p.requests.get(a);
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
const bqIconCss = () => `.bq-icon__svg,.scale-x-\\[--bq-icon--direction\\],.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{text-size-adjust:none;font-family:var(--bq-font-family);font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);line-height:var(--bq-font-line-height--regular);min-height:100vb;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:where(:root){--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:"Outfit",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq:not([bq-mode]),.light,:root:not([bq-theme]):not([bq-mode]),:root[bq-theme=beeq]:not([bq-mode]),[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}:where(.endava),:where([bq-theme=endava]){--bq-font-family:"Poppins",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,.endava:not([bq-mode]),[bq-theme=endava]:not([bq-mode]),[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-100);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-950);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.inline-block{display:inline-block}.scale-x-\\[--bq-icon--direction\\]{--tw-scale-x:var(--bq-icon--direction)}.scale-x-\\[--bq-icon--direction\\],.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-icon--color:currentColor;--bq-icon--size:24px;display:inline-block}.bq-icon__svg{--tw-scale-x:var(--bq-icon--direction);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.static{position:static}.flex{display:flex}.text-\\[--bq-icon--color\\]{color:var(--bq-icon--color)}.bs-\\[--bq-icon--size\\]{block-size:var(--bq-icon--size)}.is-\\[--bq-icon--size\\]{inline-size:var(--bq-icon--size)}`;
|
|
405
|
+
|
|
406
|
+
const k = class {
|
|
407
|
+
constructor(b) {
|
|
408
|
+
a(this, b);
|
|
409
|
+
this.svgLoaded = r(this, "svgLoaded");
|
|
410
|
+
}
|
|
411
|
+
// Own Properties
|
|
412
|
+
// ====================
|
|
413
|
+
// Reference to host HTML element
|
|
414
|
+
// ===================================
|
|
415
|
+
// State() variables
|
|
416
|
+
// Inlined decorator, alphabetical order
|
|
417
|
+
// =======================================
|
|
418
|
+
svgContent;
|
|
419
|
+
// Public Property API
|
|
420
|
+
// ========================
|
|
421
|
+
/** Label for the icon, used for accessibility */
|
|
422
|
+
label;
|
|
423
|
+
/** Set the stroke color of the SVG. The value should be a valid value of the palette color */
|
|
424
|
+
color;
|
|
425
|
+
/** Icon name to load. Please check all available icons [here](https://phosphoricons.com/) */
|
|
426
|
+
name;
|
|
427
|
+
/** Set the size of the SVG */
|
|
428
|
+
size=24;
|
|
429
|
+
/** Set the source of the SVG. If the source is set, the name property will be ignored */
|
|
430
|
+
src;
|
|
431
|
+
/** @deprecated It set the icon weight/style */
|
|
432
|
+
weight=undefined;
|
|
433
|
+
// Prop lifecycle events
|
|
434
|
+
// =======================
|
|
435
|
+
handlePropsChange() {
|
|
436
|
+
this.loadIcon(this.name);
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* !TO BE REMOVED: Delete this `@Watch()` once the deprecated `weight` property is removed
|
|
440
|
+
* We need to maintain retro-compatibility until the next major release
|
|
441
|
+
*/ handleWeightChange() {
|
|
442
|
+
if (this.name.includes(this.weight)) return;
|
|
443
|
+
console.warn(`❗️ [bq-icon]: the 'weight' property is deprecated, you should add the weight to the icon name.\n\n For example, '<bq-icon name="bell-fill"></bq-icon>' instead of '<bq-icon name="bell" weight="fill"></bq-icon>'`);
|
|
444
|
+
// Check if the icon is weighted. An icon is considered weighted if its weight is not 'regular' and ENV_SVG_PATH is not set.
|
|
445
|
+
// Eg: if the weight is 'bold' and ENV_SVG_PATH is not set, isWeightedIcon will be true.
|
|
446
|
+
const a = "regular";
|
|
447
|
+
const r = !i(this.weight) && this.weight !== a;
|
|
448
|
+
// If the icon is weighted, append the weight to the icon name. Otherwise, append nothing.
|
|
449
|
+
// Eg: if isWeightedIcon is true and the weight is 'bold', weightSuffix will be '-bold'.
|
|
450
|
+
const b = r ? `-${this.weight}` : "";
|
|
451
|
+
// Construct the icon name by appending the weight suffix (if any) and the file extension.
|
|
452
|
+
// Eg: if the name is 'my-icon' and weightSuffix is '-bold', iconName will be 'my-icon-bold.svg'.
|
|
453
|
+
const e = `${this.name}${b}`;
|
|
454
|
+
this.loadIcon(e);
|
|
455
|
+
}
|
|
456
|
+
// Events section
|
|
457
|
+
// Requires JSDocs for public API documentation
|
|
458
|
+
// ==============================================
|
|
459
|
+
/** Callback handler to be called when the SVG has loaded */
|
|
460
|
+
svgLoaded;
|
|
461
|
+
// Component lifecycle events
|
|
462
|
+
// Ordered by their natural call order
|
|
463
|
+
// =====================================
|
|
464
|
+
connectedCallback() {
|
|
465
|
+
this.setupIconComponent();
|
|
466
|
+
}
|
|
467
|
+
componentWillLoad() {
|
|
468
|
+
this.setupIconComponent();
|
|
469
|
+
}
|
|
470
|
+
// Listeners
|
|
471
|
+
// ==============
|
|
472
|
+
// Public methods API
|
|
473
|
+
// These methods are exposed on the host element.
|
|
474
|
+
// Always use two lines.
|
|
475
|
+
// Public Methods must be async.
|
|
476
|
+
// Requires JSDocs for public API documentation.
|
|
477
|
+
// ===============================================
|
|
478
|
+
// Local methods
|
|
479
|
+
// Internal business logic.
|
|
480
|
+
// These methods cannot be called from the host element.
|
|
481
|
+
// =======================================================
|
|
482
|
+
setupIconComponent=() => {
|
|
483
|
+
this.loadIcon(this.name);
|
|
484
|
+
// !TO BE REMOVED: Delete this once the deprecated `weight` property is removed
|
|
485
|
+
if (!i(this.weight)) this.handleWeightChange();
|
|
486
|
+
};
|
|
487
|
+
getIconSource=a => {
|
|
488
|
+
if (!this.name && !this.src) return undefined;
|
|
489
|
+
// Return the src if it is set
|
|
490
|
+
if (this.src) return this.src;
|
|
491
|
+
const r = ".svg";
|
|
492
|
+
const b = `${a}${r}`;
|
|
493
|
+
return l(b);
|
|
494
|
+
};
|
|
495
|
+
loadIcon=async a => {
|
|
496
|
+
const r = this.getIconSource(a);
|
|
497
|
+
if (!r) return;
|
|
498
|
+
try {
|
|
499
|
+
const a = await getSvgContent(r, true);
|
|
500
|
+
if (!a) return;
|
|
501
|
+
this.svgContent = a;
|
|
502
|
+
this.svgLoaded.emit(this.svgContent);
|
|
503
|
+
} catch (a) {
|
|
504
|
+
console.error("[BEEQ] Failed to load the icon SVG content", a);
|
|
505
|
+
}
|
|
506
|
+
};
|
|
507
|
+
// render() function
|
|
508
|
+
// Always the last one in the class.
|
|
509
|
+
// ===================================
|
|
510
|
+
render() {
|
|
511
|
+
const {color: a, label: r, name: b, size: t} = this;
|
|
512
|
+
const q = {
|
|
513
|
+
...a && {
|
|
514
|
+
"--bq-icon--color": c(a)
|
|
515
|
+
},
|
|
516
|
+
...t && {
|
|
517
|
+
"--bq-icon--size": `${t}px`
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
return n(e, {
|
|
521
|
+
style: q,
|
|
522
|
+
children: n("div", {
|
|
523
|
+
"aria-label": r ?? `${b} icon`,
|
|
524
|
+
class: "bs-[--bq-icon--size] is-[--bq-icon--size] flex text-[--bq-icon--color]",
|
|
525
|
+
innerHTML: this.svgContent,
|
|
526
|
+
part: "base",
|
|
527
|
+
role: "img"
|
|
528
|
+
}, "dd469cb5d05971c3521ebaf8ceb1a0fc530d5674")
|
|
529
|
+
}, "f969b183a0684a4471f7191e61d2b6a4a5d7dc0d");
|
|
530
|
+
}
|
|
531
|
+
static get assetsDirs() {
|
|
532
|
+
return [ "svg" ];
|
|
533
|
+
}
|
|
534
|
+
static get watchers() {
|
|
535
|
+
return {
|
|
536
|
+
color: [ {
|
|
537
|
+
handlePropsChange: 0
|
|
538
|
+
} ],
|
|
539
|
+
name: [ {
|
|
540
|
+
handlePropsChange: 0
|
|
541
|
+
} ],
|
|
542
|
+
size: [ {
|
|
543
|
+
handlePropsChange: 0
|
|
544
|
+
} ],
|
|
545
|
+
weight: [ {
|
|
546
|
+
handleWeightChange: 0
|
|
547
|
+
} ]
|
|
548
|
+
};
|
|
549
|
+
}
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
k.style = bqIconCss();
|
|
553
|
+
|
|
554
|
+
export { m as bq_button, k as bq_icon };
|
|
555
|
+
//# sourceMappingURL=bq-button.bq-icon.entry.esm.js.map
|
|
556
|
+
//# sourceMappingURL=p-8012f01d.entry.js.map
|