Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
tibi2303 committed Feb 21, 2024
2 parents e8750bd + 08a975a commit 57c9a94
Show file tree
Hide file tree
Showing 204 changed files with 815 additions and 508 deletions.
13 changes: 13 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.2.0",
"version": "1.2.1",
"npmClient": "yarn",
"useWorkspaces": true,
"changelog": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
1 change: 1 addition & 0 deletions src/components/bcl-accordion/accordion.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default {
title: "Paragraphs/Accordion",
decorators: [withCode, withDesign],
parameters: {
badges: ["deprecated"],
design: [
{
name: "Mockup",
Expand Down
4 changes: 2 additions & 2 deletions src/components/bcl-accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/components/bcl-alert/alert.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export default {
title: "Components/Alert",
decorators: [withCode, withDesign],
parameters: {
badges: ["deprecated"],
design: [
{
name: "Mockup",
Expand Down
2 changes: 1 addition & 1 deletion src/components/bcl-alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
3 changes: 3 additions & 0 deletions src/components/bcl-alert/test-alert.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const data = correctPaths(demoData);

export default {
title: "Components/Alert",
parameters: {
badges: ["deprecated"],
},
};

export const WithoutIcon = () => alert({ ...data, icon_path: "" });
Expand Down
1 change: 1 addition & 0 deletions src/components/bcl-badge/badge.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export default {
title: "Components/Badge",
decorators: [withCode, withDesign, initBadges],
parameters: {
badges: ["deprecated"],
design: [
{
name: "Mockup",
Expand Down
4 changes: 2 additions & 2 deletions src/components/bcl-badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 3 additions & 0 deletions src/components/bcl-badge/test-badge.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down
1 change: 1 addition & 0 deletions src/components/bcl-blockquote/blockquote.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default {
title: "Paragraphs/Blockquote",
decorators: [withCode, withDesign],
parameters: {
badges: ["deprecated"],
design: [
{
name: "Wireframe",
Expand Down
2 changes: 1 addition & 1 deletion src/components/bcl-blockquote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
1 change: 1 addition & 0 deletions src/components/bcl-blockquote/test-blockquote.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import blockquote from "@openeuropa/bcl-blockquote/blockquote.html.twig";
export default {
title: "Paragraphs/Blockquote",
parameters: {
badges: ["deprecated"],
controls: { disable: true },
},
};
Expand Down
1 change: 1 addition & 0 deletions src/components/bcl-breadcrumb/breadcrumb.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default {
title: "Components/Breadcrumb",
decorators: [withCode, withDesign],
parameters: {
badges: ["deprecated"],
design: [
{
name: "Mockup",
Expand Down
4 changes: 2 additions & 2 deletions src/components/bcl-breadcrumb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/components/bcl-button-group/button-group.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export default {
title: "Components/Button Group",
decorators: [withCode, withDesign],
parameters: {
badges: ["deprecated"],
design: [
{
name: "Mockup",
Expand Down
6 changes: 3 additions & 3 deletions src/components/bcl-button-group/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions src/components/bcl-button/button.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -262,6 +263,7 @@ Collapse.args = getArgs(toggleDemoData, "collapse");
Collapse.argTypes = getArgTypes(toggleDemoData, "collapse");
Collapse.decorators = [withCollapse];
Collapse.parameters = {
badges: ["deprecated"],
design: [
{
name: "Mockup",
Expand Down Expand Up @@ -290,6 +292,7 @@ Popover.args = getArgs(popoverDemoData, "popover");
Popover.argTypes = getArgTypes(popoverDemoData, "popover");
Popover.decorators = [initPopover];
Popover.parameters = {
badges: ["deprecated"],
design: [
{
name: "Wireframe",
Expand Down Expand Up @@ -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",
Expand All @@ -340,6 +344,7 @@ Spinner.storyName = "Spinner";
Spinner.args = getArgs(spinnerDemoData);
Spinner.argTypes = getArgTypes(spinnerDemoData);
Spinner.parameters = {
badges: ["deprecated"],
chromatic: { pauseAnimationAtEnd: true },
design: [
{
Expand Down
6 changes: 3 additions & 3 deletions src/components/bcl-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/components/bcl-card-layout/card-layout.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export default {
title: "Components/Card/Layout",
decorators: [withCode, withDesign],
parameters: {
badges: ["deprecated"],
design: [
{
name: "Mockup",
Expand Down
4 changes: 2 additions & 2 deletions src/components/bcl-card-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/components/bcl-card/card.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ export default {
title: "Components/Card",
decorators: [withCode, withDesign, withBodyPadding],
parameters: {
badges: ["deprecated"],
chromatic: { viewports: [1200] },
design: [
{
Expand Down
4 changes: 2 additions & 2 deletions src/components/bcl-card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/components/bcl-carousel/carousel.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export default {
title: "Paragraphs/Carousel",
decorators: [withCode, withDesign],
parameters: {
badges: ["deprecated"],
viewport: {
defaultViewport: "tablet",
},
Expand Down
4 changes: 2 additions & 2 deletions src/components/bcl-carousel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/components/bcl-dropdown/dropdown.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export default {
title: "Components/Dropdown",
decorators: [withCode, withDesign, paddingBody],
parameters: {
badges: ["deprecated"],
design: [
{
name: "Mockup",
Expand Down
Loading

2 comments on commit 57c9a94

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.