mf-styling 1.4.0 → 1.5.2
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 +5 -4
- package/src/images/sort-ascending.svg +39 -0
- package/src/images/sort-descending.svg +38 -0
- package/src/table-sort.css +30 -2
- package/src/images/down.svg +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mf-styling",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"files": [
|
|
5
5
|
"src/button.css",
|
|
6
6
|
"src/card.css",
|
|
@@ -14,13 +14,14 @@
|
|
|
14
14
|
"src/dropdown.css",
|
|
15
15
|
"src/form.css",
|
|
16
16
|
"src/global.css",
|
|
17
|
+
"src/images/sort-ascending.svg",
|
|
18
|
+
"src/images/sort-descending.svg",
|
|
17
19
|
"src/layout.css",
|
|
18
20
|
"src/log.css",
|
|
19
21
|
"src/nav.css",
|
|
20
22
|
"src/tab.css",
|
|
21
23
|
"src/table-sort.css",
|
|
22
|
-
"src/table.css"
|
|
23
|
-
"src/images/down.svg"
|
|
24
|
+
"src/table.css"
|
|
24
25
|
],
|
|
25
26
|
"description": "css as used for mf apps",
|
|
26
27
|
"keywords": [
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
"@semantic-release/exec": "^6.0.3",
|
|
50
51
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
51
52
|
"npm-pkgbuild": "^10.14.8",
|
|
52
|
-
"semantic-release": "^19.0.
|
|
53
|
+
"semantic-release": "^19.0.5",
|
|
53
54
|
"stylelint": "^14.11.0",
|
|
54
55
|
"stylelint-config-standard": "^28.0.0",
|
|
55
56
|
"testcafe": "^1.20.1",
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
width="12"
|
|
4
|
+
height="18"
|
|
5
|
+
viewBox="0 0 16.000002 22.5"
|
|
6
|
+
version="1.1"
|
|
7
|
+
id="svg4"
|
|
8
|
+
sodipodi:docname="sort-ascending.svg"
|
|
9
|
+
inkscape:version="1.2 (dc2aeda, 2022-05-15)"
|
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
11
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
14
|
+
<defs
|
|
15
|
+
id="defs8" />
|
|
16
|
+
<sodipodi:namedview
|
|
17
|
+
id="namedview6"
|
|
18
|
+
pagecolor="#ffffff"
|
|
19
|
+
bordercolor="#000000"
|
|
20
|
+
borderopacity="0.25"
|
|
21
|
+
inkscape:showpageshadow="2"
|
|
22
|
+
inkscape:pageopacity="0.0"
|
|
23
|
+
inkscape:pagecheckerboard="0"
|
|
24
|
+
inkscape:deskcolor="#d1d1d1"
|
|
25
|
+
showgrid="false"
|
|
26
|
+
inkscape:zoom="64.1875"
|
|
27
|
+
inkscape:cx="9.2619279"
|
|
28
|
+
inkscape:cy="11.232717"
|
|
29
|
+
inkscape:window-width="1607"
|
|
30
|
+
inkscape:window-height="1914"
|
|
31
|
+
inkscape:window-x="1633"
|
|
32
|
+
inkscape:window-y="218"
|
|
33
|
+
inkscape:window-maximized="0"
|
|
34
|
+
inkscape:current-layer="svg4"
|
|
35
|
+
showborder="false" />
|
|
36
|
+
<path
|
|
37
|
+
d="m 2.0175268,9.2729633 6,-6 6.0000002,6 2,-2 L 8.0175268,-0.72703673 0.01752678,7.2729633 Z"
|
|
38
|
+
id="path2" />
|
|
39
|
+
</svg>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
width="12"
|
|
4
|
+
height="18"
|
|
5
|
+
viewBox="0 0 16.000002 22.5"
|
|
6
|
+
version="1.1"
|
|
7
|
+
id="svg174"
|
|
8
|
+
sodipodi:docname="sort-descending.svg"
|
|
9
|
+
inkscape:version="1.2 (dc2aeda, 2022-05-15)"
|
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
11
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
14
|
+
<defs
|
|
15
|
+
id="defs178" />
|
|
16
|
+
<sodipodi:namedview
|
|
17
|
+
id="namedview176"
|
|
18
|
+
pagecolor="#ffffff"
|
|
19
|
+
bordercolor="#000000"
|
|
20
|
+
borderopacity="0.25"
|
|
21
|
+
inkscape:showpageshadow="2"
|
|
22
|
+
inkscape:pageopacity="0.0"
|
|
23
|
+
inkscape:pagecheckerboard="0"
|
|
24
|
+
inkscape:deskcolor="#d1d1d1"
|
|
25
|
+
showgrid="false"
|
|
26
|
+
inkscape:zoom="64.1875"
|
|
27
|
+
inkscape:cx="4.7906524"
|
|
28
|
+
inkscape:cy="8.895813"
|
|
29
|
+
inkscape:window-width="1749"
|
|
30
|
+
inkscape:window-height="1494"
|
|
31
|
+
inkscape:window-x="412"
|
|
32
|
+
inkscape:window-y="415"
|
|
33
|
+
inkscape:window-maximized="0"
|
|
34
|
+
inkscape:current-layer="svg174" />
|
|
35
|
+
<path
|
|
36
|
+
d="m 1.9974044,13.215272 5.9999998,5.999998 5.9999998,-5.999998 2,1.999999 -7.9999998,8 -7.99999976,-8 z"
|
|
37
|
+
id="path2" />
|
|
38
|
+
</svg>
|
package/src/table-sort.css
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
th[aria-sort]:hover {
|
|
2
|
+
[aria-sort]:hover {
|
|
4
3
|
background-color: var(--color-primary-400);
|
|
5
4
|
}
|
|
6
5
|
|
|
@@ -22,3 +21,32 @@ th[aria-sort="ascending"]::before {
|
|
|
22
21
|
content: "↓";
|
|
23
22
|
}
|
|
24
23
|
|
|
24
|
+
|
|
25
|
+
th > button {
|
|
26
|
+
background: transparent;
|
|
27
|
+
border: 1px solid transparent;
|
|
28
|
+
color: inherit;
|
|
29
|
+
font: inherit;
|
|
30
|
+
text-align: left;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
padding: 0.25em 0.5em 0.25em 1em;
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
width: 100%;
|
|
35
|
+
min-width: 4.5em;
|
|
36
|
+
display: grid;
|
|
37
|
+
grid-template-columns: minmax(2em, max-content) .65em auto;
|
|
38
|
+
grid-template-areas: "t a x" "t d x";
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
[aria-sort="descending"] img {
|
|
43
|
+
content: url(images/sort-descending.svg)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
[aria-sort="ascending"] img {
|
|
47
|
+
content: url(images/sort-ascending.svg)
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[aria-sort="none"] img {
|
|
51
|
+
content: url(images/sort-none.svg)
|
|
52
|
+
}
|
package/src/images/down.svg
DELETED