@miljodirektoratet/md-css 2.0.0 → 2.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miljodirektoratet/md-css",
3
- "version": "2.0.0",
3
+ "version": "2.2.0",
4
4
  "description": "CSS for Miljødirektoratet",
5
5
  "author": "Miljødirektoratet",
6
6
  "main": "./src/index.css",
@@ -37,14 +37,14 @@
37
37
  height: 1rem;
38
38
  width: 1rem;
39
39
  flex-shrink: 0;
40
- margin-right: 0.4rem;
40
+ margin-right: 1rem;
41
41
  }
42
42
 
43
43
  .md-button__rightIcon {
44
44
  height: 1rem;
45
45
  width: 1rem;
46
46
  flex-shrink: 0;
47
- margin-left: 0.4rem;
47
+ margin-left: 1rem;
48
48
  }
49
49
 
50
50
  .md-button:focus {
@@ -128,7 +128,7 @@
128
128
  }
129
129
 
130
130
  .md-button--tertiary:focus:hover:enabled {
131
- background-color: var(--mdPrimaryColor20);
131
+ background-color: var(--mdPrimaryColor20);
132
132
  }
133
133
 
134
134
  .md-button--tertiary:disabled {
@@ -18,9 +18,9 @@ See [Storybook](https://miljodir.github.io/md-components) for examples and more
18
18
  </div>
19
19
 
20
20
  <div class="md-filelist__file-actions">
21
- <button class="md-filelist__file-actions-button md-filelist__file-download">{downloadIcon}</button>
21
+ <button class="md-filelist__file-actions-button">{downloadIcon}</button>
22
22
 
23
- <button class="md-filelist__file-actions-button md-filelist__file-delete">{deleteIcon}</button>
23
+ <button class="md-filelist__file-actions-button">{deleteIcon}</button>
24
24
  }
25
25
  </div>
26
26
  </div>
@@ -60,11 +60,7 @@
60
60
  transition: background 0.1s linear;
61
61
  }
62
62
 
63
- .md-filelist__file-delete-icon {
63
+ .md-filelist__file-action-icon {
64
64
  width: 20px;
65
- }
66
-
67
- .md-filelist__file-download-icon {
68
65
  height: 20px;
69
- width: 20px;
70
66
  }