-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from ec-europa/chore-3.8
chore: Updating components to ECL 3.8.3
- Loading branch information
Showing
275 changed files
with
3,701 additions
and
1,377 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<link rel="shortcut icon" href="/favicon.ico" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import { addons } from '@storybook/addons'; | ||
import browserUpdate from 'browser-update'; | ||
import { create } from '@storybook/theming'; | ||
|
||
addons.setConfig({ | ||
isFullscreen: false, | ||
showNav: true, | ||
showPanel: true, | ||
panelPosition: 'bottom', | ||
sidebarAnimations: true, | ||
enableShortcuts: true, | ||
isToolshown: true, | ||
theme: create({ | ||
base: 'light', | ||
brandTitle: `ECL Webcomponents`, | ||
brandUrl: 'https://github.com/ec-europa/ecl-webcomponents', | ||
brandImage: undefined, | ||
}), | ||
initialActive: 'sidebar', | ||
sidebar: { | ||
showRoots: false, | ||
}, | ||
}); | ||
|
||
browserUpdate({ | ||
required: { | ||
i: 999, | ||
e: 79, | ||
f: -4, | ||
c: -4, | ||
s: -2, | ||
}, | ||
text: { | ||
msg: 'This websites uses <a href="http://storybook.js.org" title="storybook ui">storybook<a> which doesn\'t fully support <b>{brow_name}</b>.', | ||
msgmore: '(supported browsers are: chrome latest 5, firefox latest 5, safari latest 3, Edge latest 5)', | ||
}, | ||
text_for_i: { | ||
msg: 'Sorry, Internet Explorer is not supported on this website.', | ||
msgmore: '', | ||
}, | ||
text_for_e: { | ||
msg: 'Sorry, Microsoft Edge is only supported starting from version 79 on this website.', | ||
msgmore: '', | ||
}, | ||
noclose: false, | ||
no_permanent_hide: false, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<link rel="shortcut icon" href="/favicon.ico" /> | ||
<meta data-ecl-asset-path="/" /> | ||
<style> | ||
.sbdocs-content { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
## Software requirements | ||
|
||
- Node.js = 14 | ||
- Node.js = 18 | ||
- yarn >= 1.10.1 | ||
|
||
## How to start? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
13 changes: 6 additions & 7 deletions
13
patches/@ecl+theme-dev+3.7.1.patch → patches/@ecl+theme-dev+3.8.2.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
diff --git a/node_modules/@ecl/theme-dev/maps/color.scss b/node_modules/@ecl/theme-dev/maps/color.scss | ||
index 867d310..6061473 100644 | ||
index 0c6ca02..42ecd0b 100644 | ||
--- a/node_modules/@ecl/theme-dev/maps/color.scss | ||
+++ b/node_modules/@ecl/theme-dev/maps/color.scss | ||
@@ -10,6 +10,7 @@ $color: ( | ||
@@ -32,12 +32,14 @@ $color: ( | ||
'blue-120': #003776, | ||
'blue-110': #003d84, | ||
'blue-100': #004494, | ||
+ 'blue-80': #3e6cd5, | ||
'blue-75': #4073af, | ||
'blue-50': #7fa1c9, | ||
'blue-25': #bfd0e4, | ||
@@ -20,6 +21,7 @@ $color: ( | ||
'yellow-75': #ffde39, | ||
'yellow-50': #ffe879, | ||
'yellow-25': #fff4bb, | ||
+ 'grey-140': #171a22, | ||
'blue-5': #f2f5f9, | ||
'green-100': #467a39, | ||
'grey-100': #404040, | ||
+ 'grey-140': #171a22, | ||
'grey-75': #707070, | ||
'grey-50': #9f9f9f, | ||
'grey-25': #cfcfcf, |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/node_modules/@ecl/vanilla-component-button/_button.scss b/node_modules/@ecl/vanilla-component-button/_button.scss | ||
index 4531e25..8698461 100644 | ||
--- a/node_modules/@ecl/vanilla-component-button/_button.scss | ||
+++ b/node_modules/@ecl/vanilla-component-button/_button.scss | ||
@@ -67,10 +67,6 @@ $_shadow-hover: null !default; | ||
margin-inline-start: map.get(theme.$spacing, 'xs'); | ||
} | ||
|
||
-.ecl-button__icon:only-child { | ||
- margin: 0; | ||
-} | ||
- | ||
/** | ||
* Primary | ||
*/ |
4 changes: 2 additions & 2 deletions
4
...cl+vanilla-component-carousel+3.7.1.patch → ...cl+vanilla-component-carousel+3.8.2.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
14 changes: 14 additions & 0 deletions
14
patches/@ecl+vanilla-component-description-list+3.8.2.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/node_modules/@ecl/vanilla-component-description-list/description-list.js b/node_modules/@ecl/vanilla-component-description-list/description-list.js | ||
index 5bd1846..29c6ff3 100644 | ||
--- a/node_modules/@ecl/vanilla-component-description-list/description-list.js | ||
+++ b/node_modules/@ecl/vanilla-component-description-list/description-list.js | ||
@@ -141,7 +141,8 @@ export class DescriptionList { | ||
|
||
const parent = e.target.parentNode; | ||
if (this.element.contains(parent)) { | ||
- [...parent.children].forEach((item) => { | ||
+ const parentChildren = Array.from(parent.children); | ||
+ parentChildren.forEach((item) => { | ||
item.classList.remove('ecl-description-list__definition-item--hidden'); | ||
item.classList.remove( | ||
'ecl-description-list__definition-item--last-visible' |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
907f46a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Deployed on https://dev--ecl-webcomponents.netlify.app