Skip to content

Commit

Permalink
chore: ECL webcomponents release 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
planctus committed Jul 27, 2023
1 parent 236c269 commit 0df8f69
Show file tree
Hide file tree
Showing 65 changed files with 90 additions and 71 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.8.0",
"version": "0.9.0",
"npmClient": "yarn",
"changelog": {
"repo": "ec-europa/ecl-webcomponents",
Expand Down
6 changes: 3 additions & 3 deletions packages/ecl-webcomponents-angular-workspace/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ecl/ecl-webcomponents-angular-workspace",
"version": "0.8.0",
"version": "0.9.0",
"scripts": {
"clean": "rimraf dist",
"ng": "ng",
Expand Down Expand Up @@ -29,9 +29,9 @@
"@angular-devkit/build-angular": "16.1.5",
"@angular/cli": "16.1.5",
"@angular/compiler-cli": "16.1.6",
"@ecl/ecl-webcomponents": "0.8.0",
"@ecl/ecl-webcomponents-angular": "0.8.0",
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@ecl/ecl-webcomponents": "0.9.0",
"@ecl/ecl-webcomponents-angular": "0.9.0",
"browser-sync": "2.29.3",
"express": "4.18.2",
"karma": "~6.4.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ecl/ecl-webcomponents-angular",
"version": "0.8.0",
"version": "0.9.0",
"publishConfig": {
"access": "public"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/ecl-webcomponents-react-consumer/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ecl/ecl-webcomponents-react-consumer",
"private": true,
"version": "0.8.0",
"version": "0.9.0",
"type": "module",
"scripts": {
"clean": "rimraf dist",
Expand All @@ -12,7 +12,7 @@
"pre-publish": "npm run build"
},
"dependencies": {
"@ecl/ecl-webcomponents-react": "0.8.0",
"@ecl/ecl-webcomponents-react": "0.9.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"rimraf": "5.0.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/ecl-webcomponents-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ecl/ecl-webcomponents-react",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL react app",
"main": "lib/index.ts",
"module": "dist/index.js",
Expand All @@ -26,7 +26,7 @@
"access": "public"
},
"dependencies": {
"@ecl/ecl-webcomponents": "0.8.0"
"@ecl/ecl-webcomponents": "0.9.0"
},
"devDependencies": {
"@types/react": "18.2.16",
Expand Down
2 changes: 1 addition & 1 deletion packages/ecl-webcomponents/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ecl/ecl-webcomponents",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL web components",
"license": "EUPL-1.2",
"main": "dist/index.cjs.js",
Expand Down
8 changes: 7 additions & 1 deletion playground/editor/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -30239,11 +30239,16 @@
'next-label': 'Next',
'prev-label': 'Previous',
'close-label': 'Close',
'download-label': 'Download',
'full-screen-label': 'View original',
'share-label': 'Share',
'visible-items': 8,
'view-all-expanded-label': 'Back',
'full-width': !1,
'expandable': !0,
'no-overlay': !1,
'footer-link-path': '',
'footer-link-label': '',
'meta': '',
},
inline: !1,
editable: !0,
Expand Down Expand Up @@ -30382,6 +30387,7 @@
'title-attr': 'Title attribute',
'external': 'false',
'download': !1,
'target': '',
'slot': '',
},
inline: !0,
Expand Down
2 changes: 1 addition & 1 deletion playground/editor/ckeditor.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-playground",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL web components playground",
"main": "index.html",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-accordion",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Button",
"main": "ecl-accordion.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-banner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-banner",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Page Banner",
"main": "ecl-banner.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-blockquote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-blockquote",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Blockquote",
"main": "ecl-blockquote.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-breadcrumb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-breadcrumb",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Breadcrumb",
"main": "ecl-breadcrumb.js",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-button",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Button",
"main": "ecl-button.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-card",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Content Item",
"main": "ecl-card.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-carousel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-carousel",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Carousel",
"main": "ecl-carousel.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-category-filter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-category-filter",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Category Filter",
"main": "ecl-category-filter.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-content-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-content-block",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Content Block",
"main": "ecl-content-block.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-content-item/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-content-item",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Content Item",
"main": "ecl-content-item.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-date-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-date-block",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Date Block",
"main": "ecl-date-block.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-datepicker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-datepicker",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Datepicker",
"main": "ecl-datepicker.ts",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-description-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-description-list",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Link",
"main": "ecl-description-list.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-expandable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-expandable",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Expandable",
"main": "ecl-expandable.js",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-fact-figures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-fact-figures",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Fact & figures",
"main": "ecl-media-container.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-featured-item/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-featured-item",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Featured item",
"main": "ecl-featured-item.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-file-upload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-file-upload",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL File upload",
"main": "ecl-file-upload.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-file",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL File",
"main": "ecl-hero-banner.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-footer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-footer",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Footer",
"main": "ecl-hero-banner.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-form-group/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-form-group",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL form group",
"main": "ecl-form-group.tsx",
"private": true,
Expand Down
13 changes: 10 additions & 3 deletions src/components/ecl-gallery/ecl-gallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,24 @@ export class EclGallery {
@Prop() footerLinkPath: string;
@Prop() footerLinkLabel: string;
@Prop() visibleItems: number = 8;
@Prop() disableOverlay: boolean = false;
@Prop() fullWidth: boolean = false;
@Prop() viewAllLabel: string;
@Prop() viewAllExpandedLabel: string;
@Prop() expandable: boolean = true;
@Prop() fullScreenLabel: string = '';
@Prop() noOverlay: boolean = false;

getClass(): string {
return [
const styleClasses = [
`ecl-gallery`,
this.styleClass
].join(' ');
];

if (this.fullWidth) {
styleClasses.push('ecl-gallery--full-width');
}

return styleClasses.join(' ');
}

componentDidRender() {
Expand Down Expand Up @@ -71,6 +77,7 @@ export class EclGallery {
data-ecl-gallery
data-ecl-gallery-visible-items={this.visibleItems}
{...!this.expandable && ({ 'data-ecl-gallery-not-expandable' : true })}
{...this.noOverlay && ({ 'data-ecl-gallery-no-overlay' : true })}
>
<ul class="ecl-gallery__list">
<slot></slot>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-gallery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-gallery",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Page Banner",
"main": "ecl-hero-banner.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-grid",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Grid",
"main": "ecl-grid.ts",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-hero-banner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-hero-banner",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Page Banner",
"main": "ecl-hero-banner.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-icon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-icon",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Icon",
"main": "ecl-icon.ts",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-inpage-navigation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-inpage-navigation",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL inpage navigation",
"main": "ecl-inpage-navigation.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-input",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Select",
"main": "ecl-input.tsx",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/components/ecl-label/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@ecl/web-components-label",
"author": "European Commission",
"license": "EUPL-1.2",
"version": "0.8.0",
"version": "0.9.0",
"description": "ECL Label",
"main": "ecl-label.tsx",
"private": true,
Expand Down
Loading

0 comments on commit 0df8f69

Please sign in to comment.