@openeuropa/bcl-theme-default 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/bcl-builder.config.js +16 -2
  2. package/css/oe-bcl-ckeditor5.min.css +2 -0
  3. package/css/oe-bcl-ckeditor5.min.css.map +1 -0
  4. package/css/oe-bcl-default.css +11 -152
  5. package/css/oe-bcl-default.css.map +1 -1
  6. package/css/oe-bcl-default.min.css +1 -1
  7. package/css/oe-bcl-default.min.css.map +1 -1
  8. package/icons/bcl-default-icons.svg +1 -1
  9. package/icons/bootstrap-icons.svg +1 -1
  10. package/icons/icons-flag.svg +1 -1
  11. package/js/oe-bcl-default.bundle.js +8 -8
  12. package/js/oe-bcl-default.bundle.js.map +1 -1
  13. package/js/oe-bcl-default.bundle.min.js +1 -1
  14. package/js/oe-bcl-default.bundle.min.js.map +1 -1
  15. package/js/oe-bcl-default.esm.js +5 -4
  16. package/js/oe-bcl-default.esm.js.map +1 -1
  17. package/js/oe-bcl-default.esm.min.js +1 -1
  18. package/js/oe-bcl-default.esm.min.js.map +1 -1
  19. package/js/oe-bcl-default.umd.js +8 -8
  20. package/js/oe-bcl-default.umd.js.map +1 -1
  21. package/js/oe-bcl-default.umd.min.js +1 -1
  22. package/js/oe-bcl-default.umd.min.js.map +1 -1
  23. package/package.json +9 -9
  24. package/src/icons/custom-icons/email.svg +3 -0
  25. package/src/icons/custom-icons/flickr.svg +3 -0
  26. package/src/icons/custom-icons/pinterest.svg +10 -0
  27. package/src/icons/custom-icons/storify.svg +10 -0
  28. package/src/icons/custom-icons/yammer.svg +3 -0
  29. package/src/icons/custom-icons.js +8 -0
  30. package/src/js/gallery/gallery.js +4 -3
  31. package/src/scss/_badge.scss +1 -30
  32. package/src/scss/_multiselect.scss +6 -2
  33. package/templates/bcl-badge/badge.html.twig +2 -1
  34. package/templates/bcl-offcanvas/offcanvas.html.twig +1 -0
@@ -2066,12 +2066,13 @@ const EVENT_CLICK_DATA_API$3 = `click${EVENT_KEY$7}${DATA_API_KEY$4}`;
2066
2066
  class Gallery extends BaseComponent {
2067
2067
  constructor(element, config) {
2068
2068
  super(element, config);
2069
- this.carousel = SelectorEngine.findOne(CAROUSEL_SELECTOR, this.element);
2070
- this.carouselPager = SelectorEngine.findOne(CAROUSEL_PAGER_SELECTOR, this.element);
2069
+ /* eslint no-underscore-dangle: ["error", { "allow": ["_element"] }] */
2070
+ this.carousel = SelectorEngine.findOne(CAROUSEL_SELECTOR, this._element);
2071
+ this.carouselPager = SelectorEngine.findOne(CAROUSEL_PAGER_SELECTOR, this._element);
2071
2072
  this.carouselStartIndex = element.getAttribute('data-gallery-start');
2072
2073
  this.carouselActiveItem = SelectorEngine.find(CAROUSEL_ITEM_SELECTOR, this.carousel)[this.carouselStartIndex];
2073
2074
  this.carouselPager.textContent = Number(this.carouselStartIndex) + 1;
2074
- this.modal = SelectorEngine.findOne(MODAL_SELECTOR, this.element);
2075
+ this.modal = SelectorEngine.findOne(MODAL_SELECTOR, this._element);
2075
2076
  this.addEventListeners();
2076
2077
  this.carouselLazyLoad(this.carouselActiveItem);
2077
2078
  }
@@ -4065,7 +4066,7 @@ let ScrollSpy$1 = class ScrollSpy extends BaseComponent {
4065
4066
  // Static
4066
4067
  static jQueryInterface(config) {
4067
4068
  return this.each(function () {
4068
- const data = ScrollSpy$1.getOrCreateInstance(this, config);
4069
+ const data = ScrollSpy.getOrCreateInstance(this, config);
4069
4070
  if (typeof config !== 'string') {
4070
4071
  return;
4071
4072
  }