@openeuropa/bcl-theme-joinup 0.4185.202512021245 → 0.4230.202512021730
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/css/oe-bcl-joinup.css +48 -50
- package/css/oe-bcl-joinup.css.map +1 -1
- package/css/oe-bcl-joinup.min.css +1 -1
- package/css/oe-bcl-joinup.min.css.map +1 -1
- package/js/oe-bcl-joinup.bundle.js +1 -68
- package/js/oe-bcl-joinup.bundle.js.map +1 -1
- package/js/oe-bcl-joinup.bundle.min.js +1 -1
- package/js/oe-bcl-joinup.bundle.min.js.map +1 -1
- package/js/oe-bcl-joinup.esm.js +1 -67
- package/js/oe-bcl-joinup.esm.js.map +1 -1
- package/js/oe-bcl-joinup.esm.min.js +1 -1
- package/js/oe-bcl-joinup.esm.min.js.map +1 -1
- package/js/oe-bcl-joinup.umd.js +1 -68
- package/js/oe-bcl-joinup.umd.js.map +1 -1
- package/js/oe-bcl-joinup.umd.min.js +1 -1
- package/js/oe-bcl-joinup.umd.min.js.map +1 -1
- package/package.json +6 -6
- package/src/js/index.esm.js +0 -2
- package/src/js/index.umd.js +0 -2
- package/templates/bcl-accordion/accordion.html.twig +0 -3
- package/templates/bcl-alert/alert.html.twig +0 -3
- package/templates/bcl-badge/badge.html.twig +0 -3
- package/templates/bcl-banner/banner.html.twig +0 -3
- package/templates/bcl-base-templates/content-type.html.twig +0 -3
- package/templates/bcl-blockquote/blockquote.html.twig +0 -3
- package/templates/bcl-breadcrumb/breadcrumb.html.twig +0 -3
- package/templates/bcl-button/button.html.twig +0 -3
- package/templates/bcl-button-group/button-group.html.twig +0 -3
- package/templates/bcl-card/card.html.twig +0 -3
- package/templates/bcl-card-layout/card-layout.html.twig +0 -3
- package/templates/bcl-carousel/carousel.html.twig +0 -3
- package/templates/bcl-content-banner/content-banner.html.twig +0 -3
- package/templates/bcl-date-block/date-block.html.twig +0 -3
- package/templates/bcl-description-list/description-list-details.html.twig +0 -3
- package/templates/bcl-description-list/description-list-title.html.twig +0 -3
- package/templates/bcl-description-list/description-list.html.twig +0 -3
- package/templates/bcl-dropdown/dropdown.html.twig +0 -3
- package/templates/bcl-fact-figures/fact-figures.html.twig +0 -3
- package/templates/bcl-featured-media/featured-media.html.twig +0 -3
- package/templates/bcl-file/file-translations.html.twig +0 -3
- package/templates/bcl-file/file.html.twig +0 -3
- package/templates/bcl-footer/footer.html.twig +0 -3
- package/templates/bcl-form/form.html.twig +0 -3
- package/templates/bcl-form-input/form-input.html.twig +0 -3
- package/templates/bcl-gallery/gallery-item.html.twig +0 -3
- package/templates/bcl-gallery/gallery.html.twig +0 -3
- package/templates/bcl-header/header.html.twig +50 -46
- package/templates/bcl-heading/heading.html.twig +0 -3
- package/templates/bcl-icon/icon.html.twig +0 -3
- package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +0 -3
- package/templates/bcl-language-list/language-list-grid.html.twig +0 -3
- package/templates/bcl-language-list/language-list.html.twig +0 -3
- package/templates/bcl-language-switcher/language-switcher.html.twig +0 -3
- package/templates/bcl-link/link.html.twig +0 -3
- package/templates/bcl-links-block/links-block.html.twig +0 -3
- package/templates/bcl-list-group/list-group.html.twig +0 -3
- package/templates/bcl-listing/listing.html.twig +0 -3
- package/templates/bcl-mega-menu/mega-menu-items.html.twig +0 -3
- package/templates/bcl-mega-menu/mega-menu-submenu.html.twig +6 -12
- package/templates/bcl-mega-menu/mega-menu.html.twig +0 -3
- package/templates/bcl-modal/modal.html.twig +0 -3
- package/templates/bcl-navbar/navbar.html.twig +0 -3
- package/templates/bcl-navigation/navigation.html.twig +1 -6
- package/templates/bcl-offcanvas/offcanvas.html.twig +0 -3
- package/templates/bcl-pagination/pagination-item.html.twig +0 -3
- package/templates/bcl-pagination/pagination.html.twig +0 -3
- package/templates/bcl-pagination-v2/pagination-item.html.twig +0 -3
- package/templates/bcl-pagination-v2/pagination.html.twig +0 -3
- package/templates/bcl-placeholder/placeholder.html.twig +0 -3
- package/templates/bcl-progress/progress.html.twig +0 -3
- package/templates/bcl-project/project-lists.html.twig +0 -4
- package/templates/bcl-project-status/project-contributions.html.twig +0 -3
- package/templates/bcl-project-status/project-status.html.twig +0 -3
- package/templates/bcl-recent-activities/recent-activities.html.twig +0 -3
- package/templates/bcl-search-form/search-form.html.twig +0 -3
- package/templates/bcl-select/select.html.twig +0 -3
- package/templates/bcl-spinner/spinner.html.twig +0 -3
- package/templates/bcl-subscription-block/subscription-block.html.twig +0 -3
- package/templates/bcl-table/table.html.twig +0 -3
- package/templates/bcl-textarea/textarea.html.twig +0 -3
- package/templates/bcl-timeline/timeline-item.html.twig +0 -3
- package/templates/bcl-timeline/timeline.html.twig +0 -3
- package/templates/bcl-toasts/toasts.html.twig +0 -3
- package/templates/bcl-user/user-compact.html.twig +0 -3
package/js/oe-bcl-joinup.esm.js
CHANGED
|
@@ -5256,71 +5256,5 @@ enableDismissTrigger(Toast);
|
|
|
5256
5256
|
|
|
5257
5257
|
defineJQueryPlugin$1(Toast);
|
|
5258
5258
|
|
|
5259
|
-
|
|
5260
|
-
const TOGGLER_SELECTOR = ".bcl-navbar-toggler";
|
|
5261
|
-
const OFFSET_VARIABLE = "--oel-mega-menu-offset-top";
|
|
5262
|
-
class Header {
|
|
5263
|
-
scheduleUpdate = () => {
|
|
5264
|
-
if (this.frameRequest) {
|
|
5265
|
-
return;
|
|
5266
|
-
}
|
|
5267
|
-
this.frameRequest = window.requestAnimationFrame(() => {
|
|
5268
|
-
this.frameRequest = null;
|
|
5269
|
-
this.updateOffset();
|
|
5270
|
-
});
|
|
5271
|
-
};
|
|
5272
|
-
constructor(element) {
|
|
5273
|
-
this.element = element;
|
|
5274
|
-
this.frameRequest = null;
|
|
5275
|
-
this.resizeObserver = null;
|
|
5276
|
-
this.init();
|
|
5277
|
-
}
|
|
5278
|
-
init() {
|
|
5279
|
-
this.updateOffset();
|
|
5280
|
-
EventHandler.on(window, "resize", this.scheduleUpdate);
|
|
5281
|
-
EventHandler.on(window, "orientationchange", this.scheduleUpdate);
|
|
5282
|
-
const togglers = SelectorEngine.find(TOGGLER_SELECTOR, this.element);
|
|
5283
|
-
togglers.forEach(toggler => {
|
|
5284
|
-
// Some layouts move the header when the nav toggler expands; keep offset in sync.
|
|
5285
|
-
EventHandler.on(toggler, "click", this.scheduleUpdate);
|
|
5286
|
-
});
|
|
5287
|
-
}
|
|
5288
|
-
updateOffset() {
|
|
5289
|
-
if (!this.element) {
|
|
5290
|
-
return;
|
|
5291
|
-
}
|
|
5292
|
-
const rect = this.element.getBoundingClientRect();
|
|
5293
|
-
const offset = Math.max(0, rect.top);
|
|
5294
|
-
const value = `${offset}px`;
|
|
5295
|
-
if (this.element.style.getPropertyValue(OFFSET_VARIABLE) === value) {
|
|
5296
|
-
return;
|
|
5297
|
-
}
|
|
5298
|
-
this.element.style.setProperty(OFFSET_VARIABLE, value);
|
|
5299
|
-
}
|
|
5300
|
-
static init(root) {
|
|
5301
|
-
if (typeof document === "undefined" || typeof window === "undefined") {
|
|
5302
|
-
return;
|
|
5303
|
-
}
|
|
5304
|
-
const resolvedRoot = root || document;
|
|
5305
|
-
const context = resolvedRoot instanceof Element ? resolvedRoot : resolvedRoot.documentElement || document.documentElement;
|
|
5306
|
-
const headers = SelectorEngine.find(HEADER_SELECTOR, context);
|
|
5307
|
-
headers.forEach(headerElement => {
|
|
5308
|
-
if (headerElement.dataset.headerOffsetInitialized === "true") {
|
|
5309
|
-
return;
|
|
5310
|
-
}
|
|
5311
|
-
headerElement.dataset.headerOffsetInitialized = "true";
|
|
5312
|
-
new Header(headerElement);
|
|
5313
|
-
});
|
|
5314
|
-
}
|
|
5315
|
-
}
|
|
5316
|
-
if (typeof document !== "undefined") {
|
|
5317
|
-
const initializeHeaderOffset = () => Header.init();
|
|
5318
|
-
if (document.readyState === "loading") {
|
|
5319
|
-
document.addEventListener("DOMContentLoaded", initializeHeaderOffset);
|
|
5320
|
-
} else {
|
|
5321
|
-
initializeHeaderOffset();
|
|
5322
|
-
}
|
|
5323
|
-
}
|
|
5324
|
-
|
|
5325
|
-
export { AccessibleToggle, AccordionToggle, Alert, Button, Carousel, Collapse, Dropdown, Gallery, Header, MainNavigation, MegaMenu, Modal, Offcanvas, Popover, ScrollSpy, ScrollSpy$1 as ScrollSpyV2, Tab, Toast, Tooltip };
|
|
5259
|
+
export { AccessibleToggle, AccordionToggle, Alert, Button, Carousel, Collapse, Dropdown, Gallery, MainNavigation, MegaMenu, Modal, Offcanvas, Popover, ScrollSpy, ScrollSpy$1 as ScrollSpyV2, Tab, Toast, Tooltip };
|
|
5326
5260
|
//# sourceMappingURL=oe-bcl-joinup.esm.js.map
|