@ecl/button 5.0.0-alpha.1 → 5.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/button.html.twig CHANGED
@@ -4,7 +4,7 @@
4
4
  {#
5
5
  Parameters:
6
6
  - "label" (string) (default: '')
7
- - "variant" (string) (default: 'primary'): can be 'primary', 'secondary', 'cta', 'ghost', 'ghost-inverted', 'tertiaty'
7
+ - "variant" (string) (default: 'primary'): can be 'primary', 'secondary', 'cta', 'ghost', 'ghost-inverted', 'tertiary'
8
8
  - "type" (string) (default: 'submit'): can be the same type as HTML button - 'submit', 'reset', 'button'
9
9
  - "icon" (associative array) OR (array) of associative arrays : format
10
10
  {
package/button.scss CHANGED
@@ -10,9 +10,6 @@
10
10
  $theme: null !default;
11
11
  $button: null !default;
12
12
 
13
- // Internal variables
14
- $min-width: 44px; // According to COMM every interactive element should be at least 44px large
15
-
16
13
  .ecl-button,
17
14
  %ecl-button {
18
15
  appearance: none;
@@ -25,7 +22,7 @@ $min-width: 44px; // According to COMM every interactive element should be at le
25
22
  font: map.get($button, 'font');
26
23
  margin: 0;
27
24
  min-height: map.get($button, 'min-height');
28
- min-width: $min-width;
25
+ min-width: map.get($button, 'min-width');
29
26
  text-decoration: none;
30
27
 
31
28
  &:hover {
package/package.json CHANGED
@@ -2,15 +2,15 @@
2
2
  "name": "@ecl/button",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "5.0.0-alpha.1",
5
+ "version": "5.0.0-alpha.10",
6
6
  "description": "ECL Button",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
10
  "style": "button.scss",
11
11
  "dependencies": {
12
- "@ecl/icon": "5.0.0-alpha.1",
13
- "@ecl/indicator": "5.0.0-alpha.1"
12
+ "@ecl/icon": "5.0.0-alpha.10",
13
+ "@ecl/indicator": "5.0.0-alpha.10"
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
@@ -26,5 +26,5 @@
26
26
  "design-system",
27
27
  "twig"
28
28
  ],
29
- "gitHead": "f800b6d2de209fcfe182aadca5f7e45ad497b23a"
29
+ "gitHead": "8f085d9bbc9ebe568932bc297fdcf7f7a47da47b"
30
30
  }