mf-styling 1.3.0 → 1.5.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": "mf-styling",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "files": [
5
5
  "src/button.css",
6
6
  "src/card.css",
@@ -14,12 +14,14 @@
14
14
  "src/dropdown.css",
15
15
  "src/form.css",
16
16
  "src/global.css",
17
+ "src/images/down.svg",
18
+ "src/images/up.svg",
17
19
  "src/layout.css",
18
20
  "src/log.css",
19
21
  "src/nav.css",
20
22
  "src/tab.css",
21
- "src/table.css",
22
- "src/sort.svg"
23
+ "src/table-sort.css",
24
+ "src/table.css"
23
25
  ],
24
26
  "description": "css as used for mf apps",
25
27
  "keywords": [
@@ -48,9 +50,9 @@
48
50
  "@semantic-release/exec": "^6.0.3",
49
51
  "@semantic-release/release-notes-generator": "^10.0.3",
50
52
  "npm-pkgbuild": "^10.14.8",
51
- "semantic-release": "^19.0.3",
52
- "stylelint": "^14.10.0",
53
- "stylelint-config-standard": "^27.0.0",
53
+ "semantic-release": "^19.0.5",
54
+ "stylelint": "^14.11.0",
55
+ "stylelint-config-standard": "^28.0.0",
54
56
  "testcafe": "^1.20.1",
55
57
  "vite": "^3.0.9"
56
58
  },
package/src/dropdown.css CHANGED
@@ -231,3 +231,9 @@
231
231
  top: -14px;
232
232
  left: 10px;
233
233
  }
234
+
235
+ /*
236
+ .dropdown-trigger {
237
+ background-image: url("images/down.svg");
238
+ }
239
+ */
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="16" viewBox="0 0 24 20"><path d="M8 7l6 6 6-6 2 2-8 8-8-8z"/></svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="16" viewBox="0 0 24 20">
2
+ <path d="M8 10 l6 -6 6 6 2 -2 -8 -8 -8 8z"/>
3
+ </svg>
@@ -0,0 +1,24 @@
1
+
2
+
3
+ th[aria-sort]:hover {
4
+ background-color: var(--color-primary-400);
5
+ }
6
+
7
+ th[aria-sort]::before {
8
+ float: right;
9
+ margin-left: 0.5em;
10
+ margin-right: 0.5em;
11
+ font-size: inherit;
12
+ line-height: inherit;
13
+ cursor: pointer;
14
+ content: "↕";
15
+ }
16
+
17
+ th[aria-sort="descending"]::before {
18
+ content: "↑";
19
+ }
20
+
21
+ th[aria-sort="ascending"]::before {
22
+ content: "↓";
23
+ }
24
+
package/src/table.css CHANGED
@@ -17,24 +17,6 @@ th {
17
17
  vertical-align: bottom;
18
18
  }
19
19
 
20
- th[aria-sort]::before {
21
- float: right;
22
- margin-left: 0.5em;
23
- margin-right: 0.5em;
24
- font-size: inherit;
25
- line-height: inherit;
26
- cursor: pointer;
27
- content: "↕";
28
- }
29
-
30
- th[aria-sort="descending"]::before {
31
- content: "↑";
32
- }
33
-
34
- th[aria-sort="ascending"]::before {
35
- content: "↓";
36
- }
37
-
38
20
  td {
39
21
  padding: var(--table-padding);
40
22
  vertical-align: top;
package/src/sort.svg DELETED
@@ -1,18 +0,0 @@
1
- <svg version="1.1" xmlns="http://www.w3.org/2000/svg">
2
- <defs>
3
- <g id="icon-sort">
4
- <path class="t" d="M20.4 233.7L212.5 41.6l192.1 192.1z"/>
5
- <path class="l" d="M414.4 223.1L212.5 21.2 10.6 223.1"/>
6
- <path class="t" d="M404.6 306L212.5 498.1 20.4 306z"/>
7
- <path class="l" d="M10.6 316.6l201.9 201.9 201.9-201.9"/>
8
- </g>
9
- <g id="icon-sort-asc">
10
- <path class="t" d="M20.4 233.7L212.5 41.6l192.1 192.1z"/>
11
- <path class="l" d="M414.4 223.1L212.5 21.2 10.6 223.1"/>
12
- </g>
13
- <g id="icon-sort-des">
14
- <path class="t" d="M404.6 0L212.5 192.1 20.4 0z"/>
15
- <path class="l" d="M10.6 10.6l201.9 201.9L414.4 10.6"/>
16
- </g>
17
- </defs>
18
- </svg>