diff --git a/.storybook/preview.js b/.storybook/preview.js index ccde4c50a..65f3eb1cd 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -30,6 +30,19 @@ export const parameters = { paddingBlock: '5px', } }, + [BADGE.DEPRECATED]: { + title: 'DEPRECATED', + styles: { + fontSize: '20', + paddingInline: '24px', + backgroundColor: '#ff0000', + borderColor: '#DCDCDC', + color: '#FFFFFF', + textTransform: 'lowercase', + borderWidth: '2px', + paddingBlock: '5px', + } + }, }, viewport: { defaultViewport: "responsive", diff --git a/CHANGELOG.md b/CHANGELOG.md index f2dc23783..97943046c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## v1.2.1 (2024-02-21) + +#### :nail_care: Enhancement +* [#578](https://github.com/openeuropa/bootstrap-component-library/pull/578) feat(renaming): Renaming and added deprecated badge. ([@tibi2303](https://github.com/tibi2303)) +* [#505](https://github.com/openeuropa/bootstrap-component-library/pull/505) feat(banner): Fixed height variant on banners - OEL-2164 ([@tibi2303](https://github.com/tibi2303)) +* [#572](https://github.com/openeuropa/bootstrap-component-library/pull/572) feat(multiselect): Fixed multiselect overflow. - OEL-2784 ([@tibi2303](https://github.com/tibi2303)) + +#### Committers: 1 +- Dumitru Tiberiu-Andrei ([@tibi2303](https://github.com/tibi2303)) + ## v1.2.0 (2023-08-24) #### :bug: Bug Fix diff --git a/README.md b/README.md index f7a85512d..a966abf55 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Openeuropa Bootstrap Component Library template +## OEL Bootstrap based Component Library template Library of components based on [Bootstrap 5](https://github.com/twbs/bootstrap/tree/v5.0.1) diff --git a/bootstrap/package.json b/bootstrap/package.json index 3fea7368e..de1556ea1 100644 --- a/bootstrap/package.json +++ b/bootstrap/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-bootstrap", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL bootstrap 5 sources", "bin": { "plugins-builder": "./bin/build-plugins.js" diff --git a/builder/package.json b/builder/package.json index d045ebd0e..5c611af55 100644 --- a/builder/package.json +++ b/builder/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-builder", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "Bootstrap Component Library builder", "publishConfig": { "access": "public" @@ -26,7 +26,7 @@ "copyfiles": "2.4.1", "cross-env": "7.0.3", "cssnano": "6.0.1", - "postcss": "8.4.27", + "postcss": "8.4.31", "postcss-prefix-selector": "^1.16.0", "rollup": "3.27.0", "rollup-plugin-istanbul": "4.0.0", diff --git a/lerna.json b/lerna.json index 417db02d0..9aee673e3 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "1.2.0", + "version": "1.2.1", "npmClient": "yarn", "useWorkspaces": true, "changelog": { diff --git a/package.json b/package.json index b381cf5db..94c996dc8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "oe-bootstrap-component-library", "version": "0.1.0", "private": true, - "description": "Openeuropa Bootstrap Component Library", + "description": "OEL Component Library", "author": "EUROPEAN COMMISSION", "license": "EUPL", "repository": { diff --git a/src/components/bcl-accordion/accordion.story.js b/src/components/bcl-accordion/accordion.story.js index 40652e097..0e07b6170 100644 --- a/src/components/bcl-accordion/accordion.story.js +++ b/src/components/bcl-accordion/accordion.story.js @@ -72,6 +72,7 @@ export default { title: "Paragraphs/Accordion", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-accordion/package.json b/src/components/bcl-accordion/package.json index caae3c18a..c2f6d8be2 100644 --- a/src/components/bcl-accordion/package.json +++ b/src/components/bcl-accordion/package.json @@ -2,13 +2,13 @@ "name": "@openeuropa/bcl-accordion", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL accordion", "dependencies": { - "@openeuropa/bcl-button": "^1.2.0" + "@openeuropa/bcl-button": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-alert/alert.story.js b/src/components/bcl-alert/alert.story.js index 5a44fbf1f..46cd6875c 100644 --- a/src/components/bcl-alert/alert.story.js +++ b/src/components/bcl-alert/alert.story.js @@ -100,6 +100,7 @@ export default { title: "Components/Alert", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-alert/package.json b/src/components/bcl-alert/package.json index 14466610b..86ec23de1 100644 --- a/src/components/bcl-alert/package.json +++ b/src/components/bcl-alert/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-alert", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, diff --git a/src/components/bcl-alert/test-alert.story.js b/src/components/bcl-alert/test-alert.story.js index ff0411401..f12546fb3 100644 --- a/src/components/bcl-alert/test-alert.story.js +++ b/src/components/bcl-alert/test-alert.story.js @@ -7,6 +7,9 @@ const data = correctPaths(demoData); export default { title: "Components/Alert", + parameters: { + badges: ["deprecated"], + }, }; export const WithoutIcon = () => alert({ ...data, icon_path: "" }); diff --git a/src/components/bcl-badge/badge.story.js b/src/components/bcl-badge/badge.story.js index 38a8b2b14..a830f6091 100644 --- a/src/components/bcl-badge/badge.story.js +++ b/src/components/bcl-badge/badge.story.js @@ -116,6 +116,7 @@ export default { title: "Components/Badge", decorators: [withCode, withDesign, initBadges], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-badge/package.json b/src/components/bcl-badge/package.json index b0938728f..ea7669977 100644 --- a/src/components/bcl-badge/package.json +++ b/src/components/bcl-badge/package.json @@ -2,12 +2,12 @@ "name": "@openeuropa/bcl-badge", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "dependencies": { - "@openeuropa/bcl-link": "^1.2.0" + "@openeuropa/bcl-link": "^1.2.1" }, "description": "OE - BCL badge", "repository": { diff --git a/src/components/bcl-badge/test-badge.story.js b/src/components/bcl-badge/test-badge.story.js index 7b75b0129..6c00ec99c 100644 --- a/src/components/bcl-badge/test-badge.story.js +++ b/src/components/bcl-badge/test-badge.story.js @@ -12,6 +12,9 @@ const data = correctPaths(demoData); export default { title: "Components/Badge", decorators: [initBadges], + parameters: { + badges: ["deprecated"], + }, }; export const Dismissible = () => badge({ ...data, dismissible: true }); diff --git a/src/components/bcl-blockquote/blockquote.story.js b/src/components/bcl-blockquote/blockquote.story.js index 12ff73e09..6baba07d8 100644 --- a/src/components/bcl-blockquote/blockquote.story.js +++ b/src/components/bcl-blockquote/blockquote.story.js @@ -69,6 +69,7 @@ export default { title: "Paragraphs/Blockquote", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Wireframe", diff --git a/src/components/bcl-blockquote/package.json b/src/components/bcl-blockquote/package.json index 29103fecb..078cff546 100644 --- a/src/components/bcl-blockquote/package.json +++ b/src/components/bcl-blockquote/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-blockquote", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, diff --git a/src/components/bcl-blockquote/test-blockquote.story.js b/src/components/bcl-blockquote/test-blockquote.story.js index e3fcc7d13..7ebcd176b 100644 --- a/src/components/bcl-blockquote/test-blockquote.story.js +++ b/src/components/bcl-blockquote/test-blockquote.story.js @@ -4,6 +4,7 @@ import blockquote from "@openeuropa/bcl-blockquote/blockquote.html.twig"; export default { title: "Paragraphs/Blockquote", parameters: { + badges: ["deprecated"], controls: { disable: true }, }, }; diff --git a/src/components/bcl-breadcrumb/breadcrumb.story.js b/src/components/bcl-breadcrumb/breadcrumb.story.js index 02b80cce9..442639b1d 100644 --- a/src/components/bcl-breadcrumb/breadcrumb.story.js +++ b/src/components/bcl-breadcrumb/breadcrumb.story.js @@ -26,6 +26,7 @@ export default { title: "Components/Breadcrumb", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-breadcrumb/package.json b/src/components/bcl-breadcrumb/package.json index 701ed8a6b..46061e9be 100644 --- a/src/components/bcl-breadcrumb/package.json +++ b/src/components/bcl-breadcrumb/package.json @@ -2,13 +2,13 @@ "name": "@openeuropa/bcl-breadcrumb", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL breadcrumb", "dependencies": { - "@openeuropa/bcl-link": "^1.2.0" + "@openeuropa/bcl-link": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-button-group/button-group.story.js b/src/components/bcl-button-group/button-group.story.js index 4644c10c2..91aac3811 100644 --- a/src/components/bcl-button-group/button-group.story.js +++ b/src/components/bcl-button-group/button-group.story.js @@ -86,6 +86,7 @@ export default { title: "Components/Button Group", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-button-group/package.json b/src/components/bcl-button-group/package.json index fb9d97747..2e9780a95 100644 --- a/src/components/bcl-button-group/package.json +++ b/src/components/bcl-button-group/package.json @@ -2,14 +2,14 @@ "name": "@openeuropa/bcl-button-group", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL button group", "dependencies": { - "@openeuropa/bcl-button": "^1.2.0", - "@openeuropa/bcl-form-input": "^1.2.0" + "@openeuropa/bcl-button": "^1.2.1", + "@openeuropa/bcl-form-input": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-button/button.story.js b/src/components/bcl-button/button.story.js index 39af7c84d..a360e7fca 100644 --- a/src/components/bcl-button/button.story.js +++ b/src/components/bcl-button/button.story.js @@ -241,6 +241,7 @@ export const Default = (args) => button(applyArgs(demoData, args)); Default.args = getArgs(demoData); Default.argTypes = getArgTypes(demoData); Default.parameters = { + badges: ["deprecated"], design: [ { name: "Mockup", @@ -262,6 +263,7 @@ Collapse.args = getArgs(toggleDemoData, "collapse"); Collapse.argTypes = getArgTypes(toggleDemoData, "collapse"); Collapse.decorators = [withCollapse]; Collapse.parameters = { + badges: ["deprecated"], design: [ { name: "Mockup", @@ -290,6 +292,7 @@ Popover.args = getArgs(popoverDemoData, "popover"); Popover.argTypes = getArgTypes(popoverDemoData, "popover"); Popover.decorators = [initPopover]; Popover.parameters = { + badges: ["deprecated"], design: [ { name: "Wireframe", @@ -318,6 +321,7 @@ Tooltip.args = getArgs(tooltipDemoData, "tooltip"); Tooltip.argTypes = getArgTypes(tooltipDemoData, "tooltip"); Tooltip.decorators = [initTooltip]; Tooltip.parameters = { + badges: ["deprecated"], chromatic: { delay: 1000 }, design: { name: "Bootstrap docs", @@ -340,6 +344,7 @@ Spinner.storyName = "Spinner"; Spinner.args = getArgs(spinnerDemoData); Spinner.argTypes = getArgTypes(spinnerDemoData); Spinner.parameters = { + badges: ["deprecated"], chromatic: { pauseAnimationAtEnd: true }, design: [ { diff --git a/src/components/bcl-button/package.json b/src/components/bcl-button/package.json index 09d2eea15..6f4fd9723 100644 --- a/src/components/bcl-button/package.json +++ b/src/components/bcl-button/package.json @@ -2,14 +2,14 @@ "name": "@openeuropa/bcl-button", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL button", "dependencies": { - "@openeuropa/bcl-icon": "^1.2.0", - "@openeuropa/bcl-spinner": "^1.2.0" + "@openeuropa/bcl-icon": "^1.2.1", + "@openeuropa/bcl-spinner": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-card-layout/card-layout.story.js b/src/components/bcl-card-layout/card-layout.story.js index 941fb2950..2b2c71eaf 100644 --- a/src/components/bcl-card-layout/card-layout.story.js +++ b/src/components/bcl-card-layout/card-layout.story.js @@ -128,6 +128,7 @@ export default { title: "Components/Card/Layout", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-card-layout/package.json b/src/components/bcl-card-layout/package.json index 264e239dc..31e927134 100644 --- a/src/components/bcl-card-layout/package.json +++ b/src/components/bcl-card-layout/package.json @@ -2,13 +2,13 @@ "name": "@openeuropa/bcl-card-layout", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL card layout", "dependencies": { - "@openeuropa/bcl-card": "^1.2.0" + "@openeuropa/bcl-card": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-card/card.story.js b/src/components/bcl-card/card.story.js index 1fc014003..9faf3e454 100644 --- a/src/components/bcl-card/card.story.js +++ b/src/components/bcl-card/card.story.js @@ -220,6 +220,7 @@ export default { title: "Components/Card", decorators: [withCode, withDesign, withBodyPadding], parameters: { + badges: ["deprecated"], chromatic: { viewports: [1200] }, design: [ { diff --git a/src/components/bcl-card/package.json b/src/components/bcl-card/package.json index 7720b1ba5..7894449eb 100644 --- a/src/components/bcl-card/package.json +++ b/src/components/bcl-card/package.json @@ -2,13 +2,13 @@ "name": "@openeuropa/bcl-card", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL card", "dependencies": { - "@openeuropa/bcl-badge": "^1.2.0" + "@openeuropa/bcl-badge": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-carousel/carousel.story.js b/src/components/bcl-carousel/carousel.story.js index a5cb146c1..3a6235624 100644 --- a/src/components/bcl-carousel/carousel.story.js +++ b/src/components/bcl-carousel/carousel.story.js @@ -159,6 +159,7 @@ export default { title: "Paragraphs/Carousel", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], viewport: { defaultViewport: "tablet", }, diff --git a/src/components/bcl-carousel/package.json b/src/components/bcl-carousel/package.json index b1387c1ab..cfcd2a58c 100644 --- a/src/components/bcl-carousel/package.json +++ b/src/components/bcl-carousel/package.json @@ -2,13 +2,13 @@ "name": "@openeuropa/bcl-carousel", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL Carousel", "dependencies": { - "@openeuropa/bcl-button": "^1.2.0" + "@openeuropa/bcl-button": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-dropdown/dropdown.story.js b/src/components/bcl-dropdown/dropdown.story.js index 240f564e2..e5968f72b 100644 --- a/src/components/bcl-dropdown/dropdown.story.js +++ b/src/components/bcl-dropdown/dropdown.story.js @@ -67,6 +67,7 @@ export default { title: "Components/Dropdown", decorators: [withCode, withDesign, paddingBody], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-dropdown/package.json b/src/components/bcl-dropdown/package.json index 1809ae995..c9abca5a3 100644 --- a/src/components/bcl-dropdown/package.json +++ b/src/components/bcl-dropdown/package.json @@ -2,14 +2,14 @@ "name": "@openeuropa/bcl-dropdown", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL dropdown", "dependencies": { - "@openeuropa/bcl-button": "^1.2.0", - "@openeuropa/bcl-link": "^1.2.0" + "@openeuropa/bcl-button": "^1.2.1", + "@openeuropa/bcl-link": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-form-input/form-input.story.js b/src/components/bcl-form-input/form-input.story.js index 676e23efe..4af4dee94 100644 --- a/src/components/bcl-form-input/form-input.story.js +++ b/src/components/bcl-form-input/form-input.story.js @@ -115,6 +115,7 @@ FormInput.storyName = "text field"; FormInput.args = getArgs(demoData, "text"); FormInput.argTypes = getArgTypes(demoData, "text"); FormInput.parameters = { + badges: ["deprecated"], design: [ { name: "Mockup", @@ -136,6 +137,7 @@ Checkbox.storyName = "checkbox"; Checkbox.args = getArgs(checkboxData, "checkbox"); Checkbox.argTypes = getArgTypes(checkboxData, "checkbox"); Checkbox.parameters = { + badges: ["deprecated"], design: [ { name: "Mockup", @@ -157,6 +159,7 @@ Switch.storyName = "switch"; Switch.args = getArgs(switchData, "checkbox"); Switch.argTypes = getArgTypes(switchData, "checkbox"); Switch.parameters = { + badges: ["deprecated"], design: [ { name: "Mockup", @@ -178,6 +181,7 @@ Radio.storyName = "radio"; Radio.args = getArgs(radioData, "radio"); Radio.argTypes = getArgTypes(radioData, "radio"); Radio.parameters = { + badges: ["deprecated"], design: [ { name: "Mockup", @@ -199,6 +203,7 @@ File.storyName = "file"; File.args = getArgs(fileData, "file"); File.argTypes = getArgTypes(fileData, "file"); File.parameters = { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-form-input/package.json b/src/components/bcl-form-input/package.json index cb99358f2..420642f43 100644 --- a/src/components/bcl-form-input/package.json +++ b/src/components/bcl-form-input/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-form-input", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, diff --git a/src/components/bcl-form/form.story.js b/src/components/bcl-form/form.story.js index d1c744fab..4840437f1 100644 --- a/src/components/bcl-form/form.story.js +++ b/src/components/bcl-form/form.story.js @@ -16,8 +16,10 @@ export default { title: "Components/Forms/Form", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], controls: { disable: true }, parameters: { + badges: ["deprecated"], design: [ { name: "Bootstrap docs", diff --git a/src/components/bcl-form/package.json b/src/components/bcl-form/package.json index 1a69db7cb..40a9c4b32 100644 --- a/src/components/bcl-form/package.json +++ b/src/components/bcl-form/package.json @@ -2,16 +2,16 @@ "name": "@openeuropa/bcl-form", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL Form", "dependencies": { - "@openeuropa/bcl-button": "^1.2.0", - "@openeuropa/bcl-form-input": "^1.2.0", - "@openeuropa/bcl-select": "^1.2.0", - "@openeuropa/bcl-textarea": "^1.2.0" + "@openeuropa/bcl-button": "^1.2.1", + "@openeuropa/bcl-form-input": "^1.2.1", + "@openeuropa/bcl-select": "^1.2.1", + "@openeuropa/bcl-textarea": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-heading/heading.story.js b/src/components/bcl-heading/heading.story.js index 1dc05b497..be8aedf5a 100644 --- a/src/components/bcl-heading/heading.story.js +++ b/src/components/bcl-heading/heading.story.js @@ -47,6 +47,7 @@ export default { title: "Components/Heading(s)", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Bootstrap docs", diff --git a/src/components/bcl-heading/package.json b/src/components/bcl-heading/package.json index 76c0034ca..0ae27dcd9 100644 --- a/src/components/bcl-heading/package.json +++ b/src/components/bcl-heading/package.json @@ -2,12 +2,12 @@ "name": "@openeuropa/bcl-heading", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "dependencies": { - "@openeuropa/bcl-link": "^1.2.0" + "@openeuropa/bcl-link": "^1.2.1" }, "description": "OE - BCL heading", "repository": { diff --git a/src/components/bcl-icon/icon.story.js b/src/components/bcl-icon/icon.story.js index d3056f75c..efb851054 100644 --- a/src/components/bcl-icon/icon.story.js +++ b/src/components/bcl-icon/icon.story.js @@ -47,6 +47,7 @@ export default { title: "Components/Icon", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-icon/package.json b/src/components/bcl-icon/package.json index ac617da2b..cc05bd2f3 100644 --- a/src/components/bcl-icon/package.json +++ b/src/components/bcl-icon/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-icon", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, diff --git a/src/components/bcl-link/link.story.js b/src/components/bcl-link/link.story.js index 6df382d12..2bc923fd1 100644 --- a/src/components/bcl-link/link.story.js +++ b/src/components/bcl-link/link.story.js @@ -156,6 +156,7 @@ export default { title: "Components/Link", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-link/package.json b/src/components/bcl-link/package.json index 2b5b3457b..2bff351ee 100644 --- a/src/components/bcl-link/package.json +++ b/src/components/bcl-link/package.json @@ -2,13 +2,13 @@ "name": "@openeuropa/bcl-link", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL link", "dependencies": { - "@openeuropa/bcl-icon": "^1.2.0" + "@openeuropa/bcl-icon": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-list-group/list-group.story.js b/src/components/bcl-list-group/list-group.story.js index adcb69537..ebc62ee78 100644 --- a/src/components/bcl-list-group/list-group.story.js +++ b/src/components/bcl-list-group/list-group.story.js @@ -79,6 +79,7 @@ export default { title: "Components/List Group", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-list-group/package.json b/src/components/bcl-list-group/package.json index 29b00ea14..f81a9cd33 100644 --- a/src/components/bcl-list-group/package.json +++ b/src/components/bcl-list-group/package.json @@ -2,16 +2,16 @@ "name": "@openeuropa/bcl-list-group", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL list group", "dependencies": { - "@openeuropa/bcl-badge": "^1.2.0", - "@openeuropa/bcl-button": "^1.2.0", - "@openeuropa/bcl-form-input": "^1.2.0", - "@openeuropa/bcl-link": "^1.2.0" + "@openeuropa/bcl-badge": "^1.2.1", + "@openeuropa/bcl-button": "^1.2.1", + "@openeuropa/bcl-form-input": "^1.2.1", + "@openeuropa/bcl-link": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-modal/modal.story.js b/src/components/bcl-modal/modal.story.js index 7b987aa77..6b1b07181 100644 --- a/src/components/bcl-modal/modal.story.js +++ b/src/components/bcl-modal/modal.story.js @@ -87,6 +87,7 @@ export default { title: "Components/Modal", decorators: [withCode, withDesign, modalButton], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-modal/package.json b/src/components/bcl-modal/package.json index 90fcfea9e..321876605 100644 --- a/src/components/bcl-modal/package.json +++ b/src/components/bcl-modal/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-modal", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, diff --git a/src/components/bcl-navbar/navbar.story.js b/src/components/bcl-navbar/navbar.story.js index 237ac0026..fe40f29c6 100644 --- a/src/components/bcl-navbar/navbar.story.js +++ b/src/components/bcl-navbar/navbar.story.js @@ -72,6 +72,7 @@ export default { title: "Components/Navbar", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-navbar/package.json b/src/components/bcl-navbar/package.json index 392b36b80..57e5ba75a 100644 --- a/src/components/bcl-navbar/package.json +++ b/src/components/bcl-navbar/package.json @@ -2,10 +2,10 @@ "name": "@openeuropa/bcl-navbar", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "dependencies": { - "@openeuropa/bcl-form": "^1.2.0", - "@openeuropa/bcl-navigation": "^1.2.0" + "@openeuropa/bcl-form": "^1.2.1", + "@openeuropa/bcl-navigation": "^1.2.1" }, "publishConfig": { "access": "public" diff --git a/src/components/bcl-navigation/navigation.story.js b/src/components/bcl-navigation/navigation.story.js index a5a57027b..7ea243869 100644 --- a/src/components/bcl-navigation/navigation.story.js +++ b/src/components/bcl-navigation/navigation.story.js @@ -101,6 +101,7 @@ export default { title: "Components/Navigation", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-navigation/package.json b/src/components/bcl-navigation/package.json index 2c0f5b2d0..9fbc2652d 100644 --- a/src/components/bcl-navigation/package.json +++ b/src/components/bcl-navigation/package.json @@ -2,15 +2,15 @@ "name": "@openeuropa/bcl-navigation", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL navigation", "dependencies": { - "@openeuropa/bcl-button": "^1.2.0", - "@openeuropa/bcl-dropdown": "^1.2.0", - "@openeuropa/bcl-link": "^1.2.0" + "@openeuropa/bcl-button": "^1.2.1", + "@openeuropa/bcl-dropdown": "^1.2.1", + "@openeuropa/bcl-link": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-offcanvas/offcanvas.story.js b/src/components/bcl-offcanvas/offcanvas.story.js index 5c75d9d68..5ba8d7ca0 100644 --- a/src/components/bcl-offcanvas/offcanvas.story.js +++ b/src/components/bcl-offcanvas/offcanvas.story.js @@ -114,6 +114,7 @@ export default { title: "Components/Offcanvas", decorators: [withCode, withDesign, initOffcanvas], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-offcanvas/package.json b/src/components/bcl-offcanvas/package.json index 23809e6e7..2b6e62f5c 100644 --- a/src/components/bcl-offcanvas/package.json +++ b/src/components/bcl-offcanvas/package.json @@ -2,13 +2,13 @@ "name": "@openeuropa/bcl-offcanvas", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL offcanvas", "dependencies": { - "@openeuropa/bcl-button": "^1.2.0" + "@openeuropa/bcl-button": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-pagination/package.json b/src/components/bcl-pagination/package.json index 7b796249f..5f1383960 100644 --- a/src/components/bcl-pagination/package.json +++ b/src/components/bcl-pagination/package.json @@ -2,13 +2,13 @@ "name": "@openeuropa/bcl-pagination", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL pagination", "dependencies": { - "@openeuropa/bcl-link": "^1.2.0" + "@openeuropa/bcl-link": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/components/bcl-pagination/pagination.story.js b/src/components/bcl-pagination/pagination.story.js index f98e4ebfd..74b162635 100644 --- a/src/components/bcl-pagination/pagination.story.js +++ b/src/components/bcl-pagination/pagination.story.js @@ -134,6 +134,7 @@ export default { title: "Components/Pagination", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-placeholder/package.json b/src/components/bcl-placeholder/package.json index 68560017f..daa4a6e55 100644 --- a/src/components/bcl-placeholder/package.json +++ b/src/components/bcl-placeholder/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-placeholder", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, diff --git a/src/components/bcl-placeholder/placeholder.story.js b/src/components/bcl-placeholder/placeholder.story.js index ac158ba00..c76b88f30 100644 --- a/src/components/bcl-placeholder/placeholder.story.js +++ b/src/components/bcl-placeholder/placeholder.story.js @@ -65,6 +65,7 @@ export default { title: "Components/Placeholder", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Bootstrap docs", diff --git a/src/components/bcl-progress/package.json b/src/components/bcl-progress/package.json index 7730fb768..0189479d2 100644 --- a/src/components/bcl-progress/package.json +++ b/src/components/bcl-progress/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-progress", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, diff --git a/src/components/bcl-progress/progress.story.js b/src/components/bcl-progress/progress.story.js index da9b22cd7..7143ca3c4 100644 --- a/src/components/bcl-progress/progress.story.js +++ b/src/components/bcl-progress/progress.story.js @@ -91,6 +91,7 @@ export default { title: "Components/Progress", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-select/package.json b/src/components/bcl-select/package.json index 65dd4b366..9c53174d0 100644 --- a/src/components/bcl-select/package.json +++ b/src/components/bcl-select/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-select", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, diff --git a/src/components/bcl-select/select.story.js b/src/components/bcl-select/select.story.js index 946c1071e..dda2eba47 100644 --- a/src/components/bcl-select/select.story.js +++ b/src/components/bcl-select/select.story.js @@ -79,6 +79,7 @@ export const Default = (args) => select(applyArgs(demoData, args)); Default.args = getArgs(demoData, "select"); Default.argTypes = getArgTypes(demoData, "select"); Default.parameters = { + badges: ["deprecated"], design: [ { name: "Mockup", @@ -99,6 +100,7 @@ Multiselect.argTypes = getArgTypes(demoMultiData, "multiselect"); Multiselect.args = getArgs(demoMultiData, "multiselect"); Multiselect.decorators = [initMultiselect]; Multiselect.parameters = { + badges: ["deprecated"], a11y: { config: { rules: [ diff --git a/src/components/bcl-spinner/package.json b/src/components/bcl-spinner/package.json index 43246b450..908a462a9 100644 --- a/src/components/bcl-spinner/package.json +++ b/src/components/bcl-spinner/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-spinner", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, diff --git a/src/components/bcl-spinner/spinner.story.js b/src/components/bcl-spinner/spinner.story.js index 66866e423..776ff29fd 100644 --- a/src/components/bcl-spinner/spinner.story.js +++ b/src/components/bcl-spinner/spinner.story.js @@ -69,6 +69,7 @@ export default { title: "Components/Spinner", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-table/package.json b/src/components/bcl-table/package.json index 5a8ab4226..0700015cc 100644 --- a/src/components/bcl-table/package.json +++ b/src/components/bcl-table/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-table", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, diff --git a/src/components/bcl-table/table.story.js b/src/components/bcl-table/table.story.js index 3d80a4d23..cf3ad2feb 100644 --- a/src/components/bcl-table/table.story.js +++ b/src/components/bcl-table/table.story.js @@ -115,6 +115,7 @@ export default { title: "Components/Table", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-textarea/package.json b/src/components/bcl-textarea/package.json index 32fea7be8..92445bf7d 100644 --- a/src/components/bcl-textarea/package.json +++ b/src/components/bcl-textarea/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-textarea", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, diff --git a/src/components/bcl-textarea/textarea.story.js b/src/components/bcl-textarea/textarea.story.js index 8661905c6..ee3648346 100644 --- a/src/components/bcl-textarea/textarea.story.js +++ b/src/components/bcl-textarea/textarea.story.js @@ -81,6 +81,7 @@ export default { title: "Components/Forms/Textarea", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-toasts/package.json b/src/components/bcl-toasts/package.json index 79c3f2158..11c3d1a68 100644 --- a/src/components/bcl-toasts/package.json +++ b/src/components/bcl-toasts/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-toast", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, diff --git a/src/components/bcl-toasts/toasts.story.js b/src/components/bcl-toasts/toasts.story.js index ff5edd7dd..7ea40e3c9 100644 --- a/src/components/bcl-toasts/toasts.story.js +++ b/src/components/bcl-toasts/toasts.story.js @@ -53,6 +53,7 @@ export default { title: "Components/Toasts", decorators: [withCode, withDesign, initToast], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/components/bcl-twig-templates/package.json b/src/components/bcl-twig-templates/package.json index 837a26727..f0169e193 100644 --- a/src/components/bcl-twig-templates/package.json +++ b/src/components/bcl-twig-templates/package.json @@ -2,75 +2,75 @@ "name": "@openeuropa/bcl-twig-templates", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE Bcl Twig Templates", "publishConfig": { "access": "public" }, "devDependencies": { - "@openeuropa/bcl-accordion": "^1.2.0", - "@openeuropa/bcl-alert": "^1.2.0", - "@openeuropa/bcl-badge": "^1.2.0", - "@openeuropa/bcl-banner": "^1.2.0", - "@openeuropa/bcl-base-templates": "^1.2.0", - "@openeuropa/bcl-blockquote": "^1.2.0", - "@openeuropa/bcl-breadcrumb": "^1.2.0", - "@openeuropa/bcl-button": "^1.2.0", - "@openeuropa/bcl-button-group": "^1.2.0", - "@openeuropa/bcl-card": "^1.2.0", - "@openeuropa/bcl-card-layout": "^1.2.0", - "@openeuropa/bcl-carousel": "^1.2.0", - "@openeuropa/bcl-contact-form": "^1.2.0", - "@openeuropa/bcl-content-banner": "^1.2.0", - "@openeuropa/bcl-date-block": "^1.2.0", - "@openeuropa/bcl-description-list": "^1.2.0", - "@openeuropa/bcl-dropdown": "^1.2.0", - "@openeuropa/bcl-event": "^1.2.0", - "@openeuropa/bcl-fact-figures": "^1.2.0", - "@openeuropa/bcl-featured-media": "^1.2.0", - "@openeuropa/bcl-file": "^1.2.0", - "@openeuropa/bcl-footer": "^1.2.0", - "@openeuropa/bcl-form": "^1.2.0", - "@openeuropa/bcl-form-input": "^1.2.0", - "@openeuropa/bcl-gallery": "^1.2.0", - "@openeuropa/bcl-glossary": "^1.2.0", - "@openeuropa/bcl-group": "^1.2.0", - "@openeuropa/bcl-header": "^1.2.0", - "@openeuropa/bcl-heading": "^1.2.0", - "@openeuropa/bcl-icon": "^1.2.0", - "@openeuropa/bcl-inpage-navigation": "^1.2.0", - "@openeuropa/bcl-landing-page": "^1.2.0", - "@openeuropa/bcl-language-list": "^1.2.0", - "@openeuropa/bcl-language-switcher": "^1.2.0", - "@openeuropa/bcl-link": "^1.2.0", - "@openeuropa/bcl-links-block": "^1.2.0", - "@openeuropa/bcl-list-group": "^1.2.0", - "@openeuropa/bcl-listing": "^1.2.0", - "@openeuropa/bcl-modal": "^1.2.0", - "@openeuropa/bcl-multilingual": "^1.2.0", - "@openeuropa/bcl-navbar": "^1.2.0", - "@openeuropa/bcl-navigation": "^1.2.0", - "@openeuropa/bcl-news": "^1.2.0", - "@openeuropa/bcl-offcanvas": "^1.2.0", - "@openeuropa/bcl-page": "^1.2.0", - "@openeuropa/bcl-pagination": "^1.2.0", - "@openeuropa/bcl-person": "^1.2.0", - "@openeuropa/bcl-placeholder": "^1.2.0", - "@openeuropa/bcl-progress": "^1.2.0", - "@openeuropa/bcl-project": "^1.2.0", - "@openeuropa/bcl-project-status": "^1.2.0", - "@openeuropa/bcl-recent-activities": "^1.2.0", - "@openeuropa/bcl-search": "^1.2.0", - "@openeuropa/bcl-search-form": "^1.2.0", - "@openeuropa/bcl-select": "^1.2.0", - "@openeuropa/bcl-spinner": "^1.2.0", - "@openeuropa/bcl-subscription": "^1.2.0", - "@openeuropa/bcl-subscription-block": "^1.2.0", - "@openeuropa/bcl-table": "^1.2.0", - "@openeuropa/bcl-textarea": "^1.2.0", - "@openeuropa/bcl-timeline": "^1.2.0", - "@openeuropa/bcl-toast": "^1.2.0", - "@openeuropa/bcl-user": "^1.2.0", + "@openeuropa/bcl-accordion": "^1.2.1", + "@openeuropa/bcl-alert": "^1.2.1", + "@openeuropa/bcl-badge": "^1.2.1", + "@openeuropa/bcl-banner": "^1.2.1", + "@openeuropa/bcl-base-templates": "^1.2.1", + "@openeuropa/bcl-blockquote": "^1.2.1", + "@openeuropa/bcl-breadcrumb": "^1.2.1", + "@openeuropa/bcl-button": "^1.2.1", + "@openeuropa/bcl-button-group": "^1.2.1", + "@openeuropa/bcl-card": "^1.2.1", + "@openeuropa/bcl-card-layout": "^1.2.1", + "@openeuropa/bcl-carousel": "^1.2.1", + "@openeuropa/bcl-contact-form": "^1.2.1", + "@openeuropa/bcl-content-banner": "^1.2.1", + "@openeuropa/bcl-date-block": "^1.2.1", + "@openeuropa/bcl-description-list": "^1.2.1", + "@openeuropa/bcl-dropdown": "^1.2.1", + "@openeuropa/bcl-event": "^1.2.1", + "@openeuropa/bcl-fact-figures": "^1.2.1", + "@openeuropa/bcl-featured-media": "^1.2.1", + "@openeuropa/bcl-file": "^1.2.1", + "@openeuropa/bcl-footer": "^1.2.1", + "@openeuropa/bcl-form": "^1.2.1", + "@openeuropa/bcl-form-input": "^1.2.1", + "@openeuropa/bcl-gallery": "^1.2.1", + "@openeuropa/bcl-glossary": "^1.2.1", + "@openeuropa/bcl-group": "^1.2.1", + "@openeuropa/bcl-header": "^1.2.1", + "@openeuropa/bcl-heading": "^1.2.1", + "@openeuropa/bcl-icon": "^1.2.1", + "@openeuropa/bcl-inpage-navigation": "^1.2.1", + "@openeuropa/bcl-landing-page": "^1.2.1", + "@openeuropa/bcl-language-list": "^1.2.1", + "@openeuropa/bcl-language-switcher": "^1.2.1", + "@openeuropa/bcl-link": "^1.2.1", + "@openeuropa/bcl-links-block": "^1.2.1", + "@openeuropa/bcl-list-group": "^1.2.1", + "@openeuropa/bcl-listing": "^1.2.1", + "@openeuropa/bcl-modal": "^1.2.1", + "@openeuropa/bcl-multilingual": "^1.2.1", + "@openeuropa/bcl-navbar": "^1.2.1", + "@openeuropa/bcl-navigation": "^1.2.1", + "@openeuropa/bcl-news": "^1.2.1", + "@openeuropa/bcl-offcanvas": "^1.2.1", + "@openeuropa/bcl-page": "^1.2.1", + "@openeuropa/bcl-pagination": "^1.2.1", + "@openeuropa/bcl-person": "^1.2.1", + "@openeuropa/bcl-placeholder": "^1.2.1", + "@openeuropa/bcl-progress": "^1.2.1", + "@openeuropa/bcl-project": "^1.2.1", + "@openeuropa/bcl-project-status": "^1.2.1", + "@openeuropa/bcl-recent-activities": "^1.2.1", + "@openeuropa/bcl-search": "^1.2.1", + "@openeuropa/bcl-search-form": "^1.2.1", + "@openeuropa/bcl-select": "^1.2.1", + "@openeuropa/bcl-spinner": "^1.2.1", + "@openeuropa/bcl-subscription": "^1.2.1", + "@openeuropa/bcl-subscription-block": "^1.2.1", + "@openeuropa/bcl-table": "^1.2.1", + "@openeuropa/bcl-textarea": "^1.2.1", + "@openeuropa/bcl-timeline": "^1.2.1", + "@openeuropa/bcl-toast": "^1.2.1", + "@openeuropa/bcl-user": "^1.2.1", "copyfiles": "2.4.1", "rimraf": "5.0.1" }, diff --git a/src/compositions/bcl-banner/__snapshots__/banner.test.js.snap b/src/compositions/bcl-banner/__snapshots__/banner.test.js.snap index 9a9f890cf..b9ccda37c 100644 --- a/src/compositions/bcl-banner/__snapshots__/banner.test.js.snap +++ b/src/compositions/bcl-banner/__snapshots__/banner.test.js.snap @@ -3,7 +3,7 @@ exports[`OE - Hero banner default renders correctly 1`] = `
+
+
+
+ EU Budget for the future +
+

+ Innovation, economy, environment and geopolitics +

+ + Subscribe + + + + +
+
+
+ +`; + +exports[`OE - Page banner default renders correctly fixed height 1`] = ` + +
{ centered: true, hero: false, full_width: false, + fixed_height: false, }; if (data.image) { args.image = data.image || ""; @@ -66,6 +67,16 @@ const getArgTypes = (data) => { category: "Display", }, }, + fixed_height: { + name: "fixed-height", + type: "boolean", + description: "Disable aspect ratio and keep a fixed height", + table: { + type: { summary: "boolean" }, + defaultValue: { summary: false }, + category: "Display", + }, + }, }; if (data.image) { argTypes.image = { @@ -83,7 +94,12 @@ const getArgTypes = (data) => { }; const resetAttrs = (data, args) => { - data.attributes.removeClass(["text-center", "hero", "full-width"]); + data.attributes.removeClass([ + "text-center", + "hero", + "full-width", + "fixed-height", + ]); if (args.centered) { data.attributes.addClass("text-center"); } @@ -114,6 +130,7 @@ export default { title: "Paragraphs/Banner", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/compositions/bcl-banner/banner.test.js b/src/compositions/bcl-banner/banner.test.js index e55da3bf0..33a02b7c9 100644 --- a/src/compositions/bcl-banner/banner.test.js +++ b/src/compositions/bcl-banner/banner.test.js @@ -10,98 +10,132 @@ import dataImage from "@openeuropa/bcl-banner/data/data--image"; import dataShade from "@openeuropa/bcl-banner/data/data--shade"; const template = "@oe-bcl/bcl-banner/banner.html.twig"; -const render = (params) => renderTwigFileAsNode(template, params); +const render = (params, reset) => renderTwigFileAsNode(template, params, reset); expect.extend(toHaveNoViolations); describe("OE - Page banner", () => { test("default renders correctly", () => { expect.assertions(1); - return expect(render(dataDefault)).resolves.toMatchSnapshot(); + return expect(render(dataDefault, true)).resolves.toMatchSnapshot(); }); test("primary renders correctly", () => { expect.assertions(1); - return expect(render(dataPrimary)).resolves.toMatchSnapshot(); + return expect(render(dataPrimary, true)).resolves.toMatchSnapshot(); }); test("image text-block renders correctly", () => { expect.assertions(1); - return expect(render(dataImage)).resolves.toMatchSnapshot(); + return expect(render(dataImage, true)).resolves.toMatchSnapshot(); }); test("image shade renders correctly", () => { expect.assertions(1); - return expect(render(dataShade)).resolves.toMatchSnapshot(); + return expect(render(dataShade, true)).resolves.toMatchSnapshot(); }); test("default renders correctly with title", () => { expect.assertions(1); return expect( - render({ - ...dataDefault, - title: "Page banner test title", - title_tag: "h6", - }) + render( + { + ...dataDefault, + title: "Page banner test title", + title_tag: "h6", + }, + true + ) ).resolves.toMatchSnapshot(); }); test("primary renders correctly with title", () => { expect.assertions(1); return expect( - render({ - ...dataPrimary, - title: "Page banner test title", - title_tag: "h6", - }) + render( + { + ...dataPrimary, + title: "Page banner test title", + title_tag: "h6", + }, + true + ) ).resolves.toMatchSnapshot(); }); test("default renders correctly with title and link", () => { expect.assertions(1); return expect( - render({ - ...dataDefault, - title: "Page banner test title", - title_tag: "h6", - title_link: { - path: "/example.html", + render( + { + ...dataDefault, + title: "Page banner test title", + title_tag: "h6", + title_link: { + path: "/example.html", + }, }, - }) + true + ) ).resolves.toMatchSnapshot(); }); test("image text-block renders correctly with title", () => { expect.assertions(1); return expect( - render({ ...dataImage, title: "Page banner test title", title_tag: "h6" }) + render( + { ...dataImage, title: "Page banner test title", title_tag: "h6" }, + true + ) ).resolves.toMatchSnapshot(); }); test("image shade renders correctly with title", () => { expect.assertions(1); return expect( - render({ ...dataShade, title: "Page banner test title", title_tag: "h6" }) + render( + { ...dataShade, title: "Page banner test title", title_tag: "h6" }, + true + ) ).resolves.toMatchSnapshot(); }); test("default renders correctly with content classes", () => { expect.assertions(1); return expect( - render({ - ...dataDefault, - content_classes: "new-content-class", - }) + render( + { + ...dataDefault, + content_classes: "new-content-class", + }, + true + ) + ).resolves.toMatchSnapshot(); + }); + + test("default renders correctly fixed height", () => { + expect.assertions(1); + return expect( + render( + { + ...dataDefault, + fixed_height: true, + }, + true + ) ).resolves.toMatchSnapshot(); }); test("default renders correctly full width", () => { expect.assertions(1); return expect( - render({ - ...dataDefault, - full_width: true, - }) + render( + { + ...dataDefault, + full_width: true, + }, + true + ) ).resolves.toMatchSnapshot(); }); @@ -116,91 +150,106 @@ describe("OE - Hero banner", () => { test("default renders correctly", () => { expect.assertions(1); return expect( - render({ ...dataDefault, hero: true }) + render({ ...dataDefault, hero: true }, true) ).resolves.toMatchSnapshot(); }); test("primary renders correctly", () => { expect.assertions(1); return expect( - render({ ...dataPrimary, hero: true }) + render({ ...dataPrimary, hero: true }, true) ).resolves.toMatchSnapshot(); }); test("image text-block renders correctly", () => { expect.assertions(1); return expect( - render({ ...dataImage, hero: true }) + render({ ...dataImage, hero: true }, true) ).resolves.toMatchSnapshot(); }); test("image shade renders correctly", () => { expect.assertions(1); return expect( - render({ ...dataShade, hero: true }) + render({ ...dataShade, hero: true }, true) ).resolves.toMatchSnapshot(); }); test("default renders correctly with title", () => { expect.assertions(1); return expect( - render({ - ...dataDefault, - hero: true, - title: "Hero banner test title", - title_tag: "h6", - }) + render( + { + ...dataDefault, + hero: true, + title: "Hero banner test title", + title_tag: "h6", + }, + true + ) ).resolves.toMatchSnapshot(); }); test("primary renders correctly with title", () => { expect.assertions(1); return expect( - render({ - ...dataPrimary, - hero: true, - title: "Hero banner test title", - title_tag: "h6", - }) + render( + { + ...dataPrimary, + hero: true, + title: "Hero banner test title", + title_tag: "h6", + }, + true + ) ).resolves.toMatchSnapshot(); }); test("default renders correctly with title and link", () => { expect.assertions(1); return expect( - render({ - ...dataDefault, - hero: true, - title: "Hero banner test title", - title_tag: "h6", - title_link: { - path: "/example.html", + render( + { + ...dataDefault, + hero: true, + title: "Hero banner test title", + title_tag: "h6", + title_link: { + path: "/example.html", + }, }, - }) + true + ) ).resolves.toMatchSnapshot(); }); test("image text-block renders correctly with title", () => { expect.assertions(1); return expect( - render({ - ...dataImage, - hero: true, - title: "Hero banner test title", - title_tag: "h6", - }) + render( + { + ...dataImage, + hero: true, + title: "Hero banner test title", + title_tag: "h6", + }, + true + ) ).resolves.toMatchSnapshot(); }); test("image shade renders correctly with title", () => { expect.assertions(1); return expect( - render({ - ...dataShade, - hero: true, - title: "Hero banner test title", - title_tag: "h6", - }) + render( + { + ...dataShade, + hero: true, + title: "Hero banner test title", + title_tag: "h6", + }, + true + ) ).resolves.toMatchSnapshot(); }); diff --git a/src/compositions/bcl-banner/package.json b/src/compositions/bcl-banner/package.json index 158e2e70b..a508c4a60 100644 --- a/src/compositions/bcl-banner/package.json +++ b/src/compositions/bcl-banner/package.json @@ -2,14 +2,14 @@ "name": "@openeuropa/bcl-banner", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL banner", "publishConfig": { "access": "public" }, "dependencies": { - "@openeuropa/bcl-heading": "^1.2.0", - "@openeuropa/bcl-link": "^1.2.0" + "@openeuropa/bcl-heading": "^1.2.1", + "@openeuropa/bcl-link": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-base-templates/package.json b/src/compositions/bcl-base-templates/package.json index 32ed9cae3..26ee8689b 100644 --- a/src/compositions/bcl-base-templates/package.json +++ b/src/compositions/bcl-base-templates/package.json @@ -2,21 +2,21 @@ "name": "@openeuropa/bcl-base-templates", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL base templates", "publishConfig": { "access": "public" }, "dependencies": { - "@openeuropa/bcl-badge": "^1.2.0", - "@openeuropa/bcl-button": "^1.2.0", - "@openeuropa/bcl-content-banner": "^1.2.0", - "@openeuropa/bcl-footer": "^1.2.0", - "@openeuropa/bcl-header": "^1.2.0", - "@openeuropa/bcl-listing": "^1.2.0", - "@openeuropa/bcl-offcanvas": "^1.2.0", - "@openeuropa/bcl-pagination": "^1.2.0", - "@openeuropa/bcl-select": "^1.2.0" + "@openeuropa/bcl-badge": "^1.2.1", + "@openeuropa/bcl-button": "^1.2.1", + "@openeuropa/bcl-content-banner": "^1.2.1", + "@openeuropa/bcl-footer": "^1.2.1", + "@openeuropa/bcl-header": "^1.2.1", + "@openeuropa/bcl-listing": "^1.2.1", + "@openeuropa/bcl-offcanvas": "^1.2.1", + "@openeuropa/bcl-pagination": "^1.2.1", + "@openeuropa/bcl-select": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-colors/package.json b/src/compositions/bcl-colors/package.json index b97fa2d8e..6fee8a71b 100644 --- a/src/compositions/bcl-colors/package.json +++ b/src/compositions/bcl-colors/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-colors", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL colors", "private": true, "repository": { diff --git a/src/compositions/bcl-contact-form/contact-form.story.js b/src/compositions/bcl-contact-form/contact-form.story.js index 1eaf7e321..785a7fa77 100644 --- a/src/compositions/bcl-contact-form/contact-form.story.js +++ b/src/compositions/bcl-contact-form/contact-form.story.js @@ -72,7 +72,7 @@ export default { url: "https://www.figma.com/file/NQlGvTiTXZYN8TwY2Ur5EI/BCL-Features?node-id=5191%3A180830", }, ], - badges: ["stable"], + badges: ["stable", "deprecated"], }, }; diff --git a/src/compositions/bcl-contact-form/package.json b/src/compositions/bcl-contact-form/package.json index 4897fd8cb..7cbb21e7c 100644 --- a/src/compositions/bcl-contact-form/package.json +++ b/src/compositions/bcl-contact-form/package.json @@ -2,14 +2,14 @@ "name": "@openeuropa/bcl-contact-form", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL Contact formr", "publishConfig": { "access": "public" }, "dependencies": { - "@openeuropa/bcl-base-templates": "^1.2.0", - "@openeuropa/bcl-form": "^1.2.0" + "@openeuropa/bcl-base-templates": "^1.2.1", + "@openeuropa/bcl-form": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-content-banner/content-banner.story.js b/src/compositions/bcl-content-banner/content-banner.story.js index d4694eedf..6fc10eeed 100644 --- a/src/compositions/bcl-content-banner/content-banner.story.js +++ b/src/compositions/bcl-content-banner/content-banner.story.js @@ -113,7 +113,7 @@ export default { url: "https://www.figma.com/file/7aJedLkk8hiDoD3RcxTnQi/BCL-Starter-kit---Components?node-id=9664%3A107055", }, ], - badges: ["stable"], + badges: ["stable", "deprecated"], }, }; diff --git a/src/compositions/bcl-content-banner/package.json b/src/compositions/bcl-content-banner/package.json index 1f06f0518..611effd9f 100644 --- a/src/compositions/bcl-content-banner/package.json +++ b/src/compositions/bcl-content-banner/package.json @@ -2,14 +2,14 @@ "name": "@openeuropa/bcl-content-banner", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL Content banner", "publishConfig": { "access": "public" }, "dependencies": { - "@openeuropa/bcl-button": "^1.2.0", - "@openeuropa/bcl-card": "^1.2.0" + "@openeuropa/bcl-button": "^1.2.1", + "@openeuropa/bcl-card": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-content-banner/test-content-banner.story.js b/src/compositions/bcl-content-banner/test-content-banner.story.js index 0708b9d51..3d08b144a 100644 --- a/src/compositions/bcl-content-banner/test-content-banner.story.js +++ b/src/compositions/bcl-content-banner/test-content-banner.story.js @@ -10,6 +10,9 @@ demoData.image.classes = "chromatic-ignore"; export default { title: "Compositions/Content banner", + parameters: { + badges: ["deprecated"], + }, }; export const LargeImage = () => diff --git a/src/compositions/bcl-date-block/date-block.story.js b/src/compositions/bcl-date-block/date-block.story.js index bc6e87e13..209d5bbf9 100644 --- a/src/compositions/bcl-date-block/date-block.story.js +++ b/src/compositions/bcl-date-block/date-block.story.js @@ -83,6 +83,7 @@ export default { title: "Compositions/Date block", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/compositions/bcl-date-block/package.json b/src/compositions/bcl-date-block/package.json index 1ccc3bea9..76db2c249 100644 --- a/src/compositions/bcl-date-block/package.json +++ b/src/compositions/bcl-date-block/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-date-block", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL Date block", "publishConfig": { "access": "public" diff --git a/src/compositions/bcl-date-block/test-date-block.story.js b/src/compositions/bcl-date-block/test-date-block.story.js index ff28f8a5d..b7a1035b1 100644 --- a/src/compositions/bcl-date-block/test-date-block.story.js +++ b/src/compositions/bcl-date-block/test-date-block.story.js @@ -3,6 +3,9 @@ import demoData from "@openeuropa/bcl-date-block/data/data--end-date"; export default { title: "Compositions/Date block", + parameters: { + badges: ["deprecated"], + }, }; export const EndDate = () => dateBlock(demoData); diff --git a/src/compositions/bcl-description-list/description-list.story.js b/src/compositions/bcl-description-list/description-list.story.js index 3d8a30db5..c62da9e7a 100644 --- a/src/compositions/bcl-description-list/description-list.story.js +++ b/src/compositions/bcl-description-list/description-list.story.js @@ -42,6 +42,7 @@ export default { title: "Paragraphs/Description List", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], viewport: { defaultViewport: "tablet", }, diff --git a/src/compositions/bcl-description-list/package.json b/src/compositions/bcl-description-list/package.json index e420dff7d..eb55a9e9b 100644 --- a/src/compositions/bcl-description-list/package.json +++ b/src/compositions/bcl-description-list/package.json @@ -2,14 +2,14 @@ "name": "@openeuropa/bcl-description-list", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL description-list", "publishConfig": { "access": "public" }, "dependencies": { - "@openeuropa/bcl-heading": "^1.2.0", - "@openeuropa/bcl-icon": "^1.2.0" + "@openeuropa/bcl-heading": "^1.2.1", + "@openeuropa/bcl-icon": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-event/event.story.js b/src/compositions/bcl-event/event.story.js index f97b64dd7..afe18ee6d 100644 --- a/src/compositions/bcl-event/event.story.js +++ b/src/compositions/bcl-event/event.story.js @@ -37,7 +37,7 @@ export default { decorators: [withCode, withDesign], parameters: { layout: "fullscreen", - badges: ["stable"], + badges: ["stable", "deprecated"], badgesConfig: { stable: { title: "v1.2", diff --git a/src/compositions/bcl-event/package.json b/src/compositions/bcl-event/package.json index 6df857a81..2d7478469 100644 --- a/src/compositions/bcl-event/package.json +++ b/src/compositions/bcl-event/package.json @@ -2,13 +2,13 @@ "name": "@openeuropa/bcl-event", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL Event", "publishConfig": { "access": "public" }, "dependencies": { - "@openeuropa/bcl-base-templates": "^1.2.0" + "@openeuropa/bcl-base-templates": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-fact-figures/fact-figures.story.js b/src/compositions/bcl-fact-figures/fact-figures.story.js index 8cf5264d7..78a06e74c 100644 --- a/src/compositions/bcl-fact-figures/fact-figures.story.js +++ b/src/compositions/bcl-fact-figures/fact-figures.story.js @@ -89,6 +89,7 @@ export default { title: "Paragraphs/Fact and Figures", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/compositions/bcl-fact-figures/package.json b/src/compositions/bcl-fact-figures/package.json index c228f797a..08a0ae513 100644 --- a/src/compositions/bcl-fact-figures/package.json +++ b/src/compositions/bcl-fact-figures/package.json @@ -2,15 +2,15 @@ "name": "@openeuropa/bcl-fact-figures", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL fact & figures", "publishConfig": { "access": "public" }, "dependencies": { - "@openeuropa/bcl-heading": "^1.2.0", - "@openeuropa/bcl-icon": "^1.2.0", - "@openeuropa/bcl-link": "^1.2.0" + "@openeuropa/bcl-heading": "^1.2.1", + "@openeuropa/bcl-icon": "^1.2.1", + "@openeuropa/bcl-link": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-featured-media/featured-media.story.js b/src/compositions/bcl-featured-media/featured-media.story.js index 72064e785..6c39fe804 100644 --- a/src/compositions/bcl-featured-media/featured-media.story.js +++ b/src/compositions/bcl-featured-media/featured-media.story.js @@ -129,6 +129,7 @@ export default { title: "Paragraphs/Featured media", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/compositions/bcl-featured-media/package.json b/src/compositions/bcl-featured-media/package.json index b17cacfb7..33942bfcd 100644 --- a/src/compositions/bcl-featured-media/package.json +++ b/src/compositions/bcl-featured-media/package.json @@ -2,14 +2,14 @@ "name": "@openeuropa/bcl-featured-media", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL featured media", "publishConfig": { "access": "public" }, "dependencies": { - "@openeuropa/bcl-heading": "^1.2.0", - "@openeuropa/bcl-link": "^1.2.0" + "@openeuropa/bcl-heading": "^1.2.1", + "@openeuropa/bcl-link": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-file/file.story.js b/src/compositions/bcl-file/file.story.js index 233a32936..926c1add0 100644 --- a/src/compositions/bcl-file/file.story.js +++ b/src/compositions/bcl-file/file.story.js @@ -29,6 +29,7 @@ export default { title: "Paragraphs/File", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], viewport: { defaultViewport: "tablet", }, diff --git a/src/compositions/bcl-file/package.json b/src/compositions/bcl-file/package.json index 5c805aaeb..d8b9af49c 100644 --- a/src/compositions/bcl-file/package.json +++ b/src/compositions/bcl-file/package.json @@ -2,15 +2,15 @@ "name": "@openeuropa/bcl-file", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL file", "dependencies": { - "@openeuropa/bcl-heading": "^1.2.0", - "@openeuropa/bcl-icon": "^1.2.0", - "@openeuropa/bcl-link": "^1.2.0" + "@openeuropa/bcl-heading": "^1.2.1", + "@openeuropa/bcl-icon": "^1.2.1", + "@openeuropa/bcl-link": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-footer/footer.story.js b/src/compositions/bcl-footer/footer.story.js index 633392b06..7b5bd0073 100644 --- a/src/compositions/bcl-footer/footer.story.js +++ b/src/compositions/bcl-footer/footer.story.js @@ -15,6 +15,7 @@ export default { title: "Compositions/Footer", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], layout: "fullscreen", design: [ { diff --git a/src/compositions/bcl-footer/package.json b/src/compositions/bcl-footer/package.json index 1ce34291e..5b601d7c8 100644 --- a/src/compositions/bcl-footer/package.json +++ b/src/compositions/bcl-footer/package.json @@ -2,14 +2,14 @@ "name": "@openeuropa/bcl-footer", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL footer", "dependencies": { - "@openeuropa/bcl-modal": "^1.2.0", - "@openeuropa/bcl-navbar": "^1.2.0" + "@openeuropa/bcl-modal": "^1.2.1", + "@openeuropa/bcl-navbar": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-gallery/gallery.story.js b/src/compositions/bcl-gallery/gallery.story.js index 5e03002fc..c65a8760f 100644 --- a/src/compositions/bcl-gallery/gallery.story.js +++ b/src/compositions/bcl-gallery/gallery.story.js @@ -24,6 +24,7 @@ export default { title: "Paragraphs/Gallery", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/compositions/bcl-gallery/package.json b/src/compositions/bcl-gallery/package.json index 9ea229f8e..babd821f9 100644 --- a/src/compositions/bcl-gallery/package.json +++ b/src/compositions/bcl-gallery/package.json @@ -2,16 +2,16 @@ "name": "@openeuropa/bcl-gallery", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL gallery", "publishConfig": { "access": "public" }, "dependencies": { - "@openeuropa/bcl-button": "^1.2.0", - "@openeuropa/bcl-carousel": "^1.2.0", - "@openeuropa/bcl-heading": "^1.2.0", - "@openeuropa/bcl-icon": "^1.2.0" + "@openeuropa/bcl-button": "^1.2.1", + "@openeuropa/bcl-carousel": "^1.2.1", + "@openeuropa/bcl-heading": "^1.2.1", + "@openeuropa/bcl-icon": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-gallery/test-gallery.story.js b/src/compositions/bcl-gallery/test-gallery.story.js index c59ccb4d9..0fdde8e12 100644 --- a/src/compositions/bcl-gallery/test-gallery.story.js +++ b/src/compositions/bcl-gallery/test-gallery.story.js @@ -8,6 +8,9 @@ const chromatic = process.env.STORYBOOK_ENV; export default { title: "Paragraphs/Gallery", + parameters: { + badges: ["deprecated"], + }, }; export const Modal = () => gallery(correctPaths(dataDefault)); diff --git a/src/compositions/bcl-glossary/glossary.story.js b/src/compositions/bcl-glossary/glossary.story.js index 5fe1097a2..b1cdddbd8 100644 --- a/src/compositions/bcl-glossary/glossary.story.js +++ b/src/compositions/bcl-glossary/glossary.story.js @@ -16,7 +16,7 @@ export default { controls: { disable: true, }, - badges: ["stable"], + badges: ["stable", "deprecated"], badgesConfig: { stable: { title: "v1", diff --git a/src/compositions/bcl-glossary/package.json b/src/compositions/bcl-glossary/package.json index 84e421f9a..5ef18997a 100644 --- a/src/compositions/bcl-glossary/package.json +++ b/src/compositions/bcl-glossary/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-glossary", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL glossary", "private": true, "repository": { @@ -10,12 +10,12 @@ "url": "git+https://github.com/openeuropa/bootstrap-component-library.git" }, "dependencies": { - "@openeuropa/bcl-base-templates": "^1.2.0", - "@openeuropa/bcl-file": "^1.2.0", - "@openeuropa/bcl-heading": "^1.2.0", - "@openeuropa/bcl-pagination": "^1.2.0", - "@openeuropa/bcl-search-form": "^1.2.0", - "@openeuropa/bcl-select": "^1.2.0" + "@openeuropa/bcl-base-templates": "^1.2.1", + "@openeuropa/bcl-file": "^1.2.1", + "@openeuropa/bcl-heading": "^1.2.1", + "@openeuropa/bcl-pagination": "^1.2.1", + "@openeuropa/bcl-search-form": "^1.2.1", + "@openeuropa/bcl-select": "^1.2.1" }, "bugs": { "url": "https://github.com/openeuropa/bootstrap-component-library.git/issues" diff --git a/src/compositions/bcl-group/group.story.js b/src/compositions/bcl-group/group.story.js index e895bef2f..04677a7dd 100644 --- a/src/compositions/bcl-group/group.story.js +++ b/src/compositions/bcl-group/group.story.js @@ -28,7 +28,7 @@ export default { rules: [{ id: "aria-input-field-name", enabled: false }], }, }, - badges: ["stable"], + badges: ["stable", "deprecated"], controls: { disable: true, }, diff --git a/src/compositions/bcl-group/package.json b/src/compositions/bcl-group/package.json index 51e97858a..c58a35891 100644 --- a/src/compositions/bcl-group/package.json +++ b/src/compositions/bcl-group/package.json @@ -2,21 +2,21 @@ "name": "@openeuropa/bcl-group", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL group", "dependencies": { - "@openeuropa/bcl-base-templates": "^1.2.0", - "@openeuropa/bcl-button": "^1.2.0", - "@openeuropa/bcl-dropdown": "^1.2.0", - "@openeuropa/bcl-icon": "^1.2.0", - "@openeuropa/bcl-link": "^1.2.0", - "@openeuropa/bcl-listing": "^1.2.0", - "@openeuropa/bcl-navigation": "^1.2.0", - "@openeuropa/bcl-recent-activities": "^1.2.0", - "@openeuropa/bcl-user": "^1.2.0" + "@openeuropa/bcl-base-templates": "^1.2.1", + "@openeuropa/bcl-button": "^1.2.1", + "@openeuropa/bcl-dropdown": "^1.2.1", + "@openeuropa/bcl-icon": "^1.2.1", + "@openeuropa/bcl-link": "^1.2.1", + "@openeuropa/bcl-listing": "^1.2.1", + "@openeuropa/bcl-navigation": "^1.2.1", + "@openeuropa/bcl-recent-activities": "^1.2.1", + "@openeuropa/bcl-user": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-header/header.story.js b/src/compositions/bcl-header/header.story.js index 9a3cbd936..cb5302302 100644 --- a/src/compositions/bcl-header/header.story.js +++ b/src/compositions/bcl-header/header.story.js @@ -59,6 +59,7 @@ export default { title: "Compositions/Header", decorators: [withCode, withDesign], parameters: { + badges: ["deprecated"], layout: "fullscreen", design: [ { diff --git a/src/compositions/bcl-header/package.json b/src/compositions/bcl-header/package.json index 16710f93c..b84efa09f 100644 --- a/src/compositions/bcl-header/package.json +++ b/src/compositions/bcl-header/package.json @@ -2,16 +2,16 @@ "name": "@openeuropa/bcl-header", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "publishConfig": { "access": "public" }, "description": "OE - BCL header", "dependencies": { - "@openeuropa/bcl-breadcrumb": "^1.2.0", - "@openeuropa/bcl-language-list": "^1.2.0", - "@openeuropa/bcl-modal": "^1.2.0", - "@openeuropa/bcl-navbar": "^1.2.0" + "@openeuropa/bcl-breadcrumb": "^1.2.1", + "@openeuropa/bcl-language-list": "^1.2.1", + "@openeuropa/bcl-modal": "^1.2.1", + "@openeuropa/bcl-navbar": "^1.2.1" }, "repository": { "type": "git", diff --git a/src/compositions/bcl-icons-list/icons-list.story.js b/src/compositions/bcl-icons-list/icons-list.story.js index 53b71d86e..0e8e0232b 100644 --- a/src/compositions/bcl-icons-list/icons-list.story.js +++ b/src/compositions/bcl-icons-list/icons-list.story.js @@ -9,6 +9,7 @@ iconsList = iconsList.map((icon) => icon.substring(0, icon.length - 4)); export default { title: "Resources/Icons", parameters: { + badges: ["deprecated"], layout: "fullscreen", controls: { disable: true }, }, diff --git a/src/compositions/bcl-icons-list/package.json b/src/compositions/bcl-icons-list/package.json index 0734141be..f82635d42 100644 --- a/src/compositions/bcl-icons-list/package.json +++ b/src/compositions/bcl-icons-list/package.json @@ -2,7 +2,7 @@ "name": "@openeuropa/bcl-icons-list", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL Icons list", "private": true, "repository": { diff --git a/src/compositions/bcl-inpage-navigation/inpage-navigation.story.js b/src/compositions/bcl-inpage-navigation/inpage-navigation.story.js index f7083a224..086782b4b 100644 --- a/src/compositions/bcl-inpage-navigation/inpage-navigation.story.js +++ b/src/compositions/bcl-inpage-navigation/inpage-navigation.story.js @@ -58,6 +58,7 @@ export default { title: "Paragraphs/Inpage navigation", decorators: [withCode, withDesign, initScrollspy, withContent], parameters: { + badges: ["deprecated"], design: [ { name: "Mockup", diff --git a/src/compositions/bcl-inpage-navigation/package.json b/src/compositions/bcl-inpage-navigation/package.json index 698d680b4..f745f9035 100644 --- a/src/compositions/bcl-inpage-navigation/package.json +++ b/src/compositions/bcl-inpage-navigation/package.json @@ -2,13 +2,13 @@ "name": "@openeuropa/bcl-inpage-navigation", "author": "European Commission", "license": "EUPL-1.2", - "version": "1.2.0", + "version": "1.2.1", "description": "OE - BCL inpage navigation", "publishConfig": { "access": "public" }, "dependencies": { - "@openeuropa/bcl-navigation": "^1.2.0" + "@openeuropa/bcl-navigation": "^1.2.1" }, "devDependencies": { "lorem-ipsum": "2.0.8" diff --git a/src/compositions/bcl-landing-page/__snapshots__/landing-page.test.js.snap b/src/compositions/bcl-landing-page/__snapshots__/landing-page.test.js.snap index 743f3da6e..c90f6c221 100644 --- a/src/compositions/bcl-landing-page/__snapshots__/landing-page.test.js.snap +++ b/src/compositions/bcl-landing-page/__snapshots__/landing-page.test.js.snap @@ -722,7 +722,7 @@ exports[`OE - Landing page renders correctly 1`] = `
- Bootstrap component library + OEL component library