@openeuropa/bcl-theme-default 1.13.0 → 1.13.1
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/bcl-builder.config.js +11 -4
- package/package.json +5 -5
- /package/templates/{bcl-twig-templates/templates/bcl-accordion → bcl-accordion}/accordion.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-alert → bcl-alert}/alert.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-badge → bcl-badge}/badge.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-banner → bcl-banner}/banner.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-base-templates → bcl-base-templates}/content-type.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-base-templates → bcl-base-templates}/listing-page.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-base-templates → bcl-base-templates}/sidebar-search.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-blockquote → bcl-blockquote}/blockquote.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-breadcrumb → bcl-breadcrumb}/breadcrumb.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-button → bcl-button}/button.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-button-group → bcl-button-group}/button-group.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-card → bcl-card}/card.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-card-layout → bcl-card-layout}/card-layout.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-carousel → bcl-carousel}/carousel.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-contact-form → bcl-contact-form}/contact-form.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-content-banner → bcl-content-banner}/content-banner.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-date-block → bcl-date-block}/date-block.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-description-list → bcl-description-list}/description-list-details.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-description-list → bcl-description-list}/description-list-title.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-description-list → bcl-description-list}/description-list.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-dropdown → bcl-dropdown}/dropdown.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-event → bcl-event}/event.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-fact-figures → bcl-fact-figures}/fact-figures.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-featured-media → bcl-featured-media}/featured-media.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-file → bcl-file}/file-translations.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-file → bcl-file}/file.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-footer → bcl-footer}/footer.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-form → bcl-form}/form.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-form-input → bcl-form-input}/form-input.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-gallery → bcl-gallery}/gallery-item.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-gallery → bcl-gallery}/gallery.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-glossary → bcl-glossary}/glossary-detail.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-glossary → bcl-glossary}/glossary-listing.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-group → bcl-group}/group-landing.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-group → bcl-group}/group.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-header → bcl-header}/header.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-heading → bcl-heading}/heading.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-icon → bcl-icon}/icon.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-inpage-navigation → bcl-inpage-navigation}/inpage-navigation.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-landing-page → bcl-landing-page}/landing-page.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-language-list → bcl-language-list}/language-list-grid.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-language-list → bcl-language-list}/language-list-modal.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-language-list → bcl-language-list}/language-list.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-language-switcher → bcl-language-switcher}/language-switcher.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-link → bcl-link}/link.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-links-block → bcl-links-block}/links-block.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-list-group → bcl-list-group}/list-group.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-listing → bcl-listing}/listing.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-mega-menu → bcl-mega-menu}/mega-menu-items.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-mega-menu → bcl-mega-menu}/mega-menu-submenu.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-mega-menu → bcl-mega-menu}/mega-menu.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-modal → bcl-modal}/modal.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-navbar → bcl-navbar}/navbar.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-navigation → bcl-navigation}/navigation.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-offcanvas → bcl-offcanvas}/offcanvas.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-page → bcl-page}/page.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-pagination → bcl-pagination}/pagination-item.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-pagination → bcl-pagination}/pagination.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-pagination-v2 → bcl-pagination-v2}/pagination-item.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-pagination-v2 → bcl-pagination-v2}/pagination.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-person → bcl-person}/person.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-placeholder → bcl-placeholder}/placeholder.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-progress → bcl-progress}/progress.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-project → bcl-project}/project-lists.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-project → bcl-project}/project.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-project-status → bcl-project-status}/project-contributions.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-project-status → bcl-project-status}/project-status.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-recent-activities → bcl-recent-activities}/recent-activities.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-search → bcl-search}/search.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-search-form → bcl-search-form}/search-form.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-select → bcl-select}/select.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-spinner → bcl-spinner}/spinner.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-subscription → bcl-subscription}/subscription-modal.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-subscription → bcl-subscription}/subscription.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-subscription-block → bcl-subscription-block}/subscription-block.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-table → bcl-table}/table.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-textarea → bcl-textarea}/textarea.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-timeline → bcl-timeline}/timeline-item.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-timeline → bcl-timeline}/timeline.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-toasts → bcl-toasts}/toasts.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-user → bcl-user}/user-compact.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-user → bcl-user}/user-terms.html.twig +0 -0
- /package/templates/{bcl-twig-templates/templates/bcl-user → bcl-user}/user.html.twig +0 -0
package/bcl-builder.config.js
CHANGED
|
@@ -39,8 +39,17 @@ const toOutputRelativePath = (targetPath) =>
|
|
|
39
39
|
path.relative(outputFolder, targetPath);
|
|
40
40
|
const toOutputRelativePackagePath = (packagePath, ...segments) =>
|
|
41
41
|
toOutputRelativePath(path.resolve(packagePath, ...segments));
|
|
42
|
+
const getCopyUpToGlobBase = (sourceGlob) =>
|
|
43
|
+
path
|
|
44
|
+
.normalize(sourceGlob.split("**")[0])
|
|
45
|
+
.replace(/[\\/]+$/, "")
|
|
46
|
+
.split(/[\\/]+/).length;
|
|
42
47
|
const bootstrapIconsPath = resolvePackagePath("bootstrap-icons");
|
|
43
48
|
const twigTemplatesPath = resolvePackagePath("@openeuropa/bcl-twig-templates");
|
|
49
|
+
const twigTemplatesGlob = toOutputRelativePackagePath(
|
|
50
|
+
twigTemplatesPath,
|
|
51
|
+
"templates/**/*.twig",
|
|
52
|
+
);
|
|
44
53
|
const resourcesFlagIconsPath = resolvePackagePath("@ecl/resources-flag-icons");
|
|
45
54
|
const resourcesEcLogoPath = resolvePackagePath("@ecl/resources-ec-logo");
|
|
46
55
|
const resourcesEuLogoPath = resolvePackagePath("@ecl/resources-eu-logo");
|
|
@@ -219,11 +228,9 @@ module.exports = {
|
|
|
219
228
|
options: { up: 7 },
|
|
220
229
|
},
|
|
221
230
|
{
|
|
222
|
-
from: [
|
|
223
|
-
toOutputRelativePackagePath(twigTemplatesPath, "templates/**/*.twig"),
|
|
224
|
-
],
|
|
231
|
+
from: [twigTemplatesGlob],
|
|
225
232
|
to: path.resolve(outputFolder, "templates"),
|
|
226
|
-
options: { up:
|
|
233
|
+
options: { up: getCopyUpToGlobBase(twigTemplatesGlob) },
|
|
227
234
|
},
|
|
228
235
|
],
|
|
229
236
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@openeuropa/bcl-theme-default",
|
|
3
3
|
"author": "European Commission",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
|
-
"version": "1.13.
|
|
5
|
+
"version": "1.13.1",
|
|
6
6
|
"description": "OE - BCL theme default",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"align-templates": "lerna --scope \"@openeuropa/bcl-twig-templates\" run prepublish",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"@ecl/resources-ec-logo": "3.13.0",
|
|
24
24
|
"@ecl/resources-eu-logo": "3.13.0",
|
|
25
25
|
"@ecl/resources-flag-icons": "3.13.0",
|
|
26
|
-
"@openeuropa/bcl-bootstrap": "^1.13.
|
|
27
|
-
"@openeuropa/bcl-builder": "^1.13.
|
|
28
|
-
"@openeuropa/bcl-twig-templates": "^1.13.
|
|
26
|
+
"@openeuropa/bcl-bootstrap": "^1.13.1",
|
|
27
|
+
"@openeuropa/bcl-builder": "^1.13.1",
|
|
28
|
+
"@openeuropa/bcl-twig-templates": "^1.13.1",
|
|
29
29
|
"@rollup/plugin-replace": "6.0.3",
|
|
30
30
|
"copyfiles": "2.4.1",
|
|
31
31
|
"cross-env": "10.1.0",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"design-system",
|
|
52
52
|
"twig"
|
|
53
53
|
],
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "3fc81d530b615c25e659f7c44bc7c10390987fed"
|
|
55
55
|
}
|
/package/templates/{bcl-twig-templates/templates/bcl-accordion → bcl-accordion}/accordion.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-carousel → bcl-carousel}/carousel.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-dropdown → bcl-dropdown}/dropdown.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-file → bcl-file}/file-translations.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-gallery → bcl-gallery}/gallery-item.html.twig
RENAMED
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-gallery → bcl-gallery}/gallery.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-group → bcl-group}/group-landing.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-heading → bcl-heading}/heading.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-listing → bcl-listing}/listing.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-mega-menu → bcl-mega-menu}/mega-menu.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-offcanvas → bcl-offcanvas}/offcanvas.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-progress → bcl-progress}/progress.html.twig
RENAMED
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-project → bcl-project}/project-lists.html.twig
RENAMED
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-project → bcl-project}/project.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-spinner → bcl-spinner}/spinner.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-textarea → bcl-textarea}/textarea.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-timeline → bcl-timeline}/timeline.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
/package/templates/{bcl-twig-templates/templates/bcl-user → bcl-user}/user-compact.html.twig
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|