mf-styling 1.5.4 → 1.7.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.5.4",
3
+ "version": "1.7.0",
4
4
  "files": [
5
5
  "src/button.css",
6
6
  "src/card.css",
@@ -16,6 +16,7 @@
16
16
  "src/global.css",
17
17
  "src/images/sort-ascending.svg",
18
18
  "src/images/sort-descending.svg",
19
+ "src/images/sort-none.svg",
19
20
  "src/layout.css",
20
21
  "src/log.css",
21
22
  "src/nav.css",
package/src/form.css CHANGED
@@ -37,6 +37,14 @@ input:invalid {
37
37
  background-color: var(--color-warn-50-80);
38
38
  }
39
39
 
40
+ input:optional {
41
+ background-color: var(--color-neutral-100);
42
+ }
43
+
44
+ input:required {
45
+ background-color: var(--color-neutral-300);
46
+ }
47
+
40
48
  .modal {
41
49
  position: fixed;
42
50
  z-index: 1000;
@@ -0,0 +1,41 @@
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="svg208"
8
+ sodipodi:docname="sort-none.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="defs212" />
16
+ <sodipodi:namedview
17
+ id="namedview210"
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.0827653"
28
+ inkscape:cy="11.256086"
29
+ inkscape:window-width="1594"
30
+ inkscape:window-height="1683"
31
+ inkscape:window-x="1413"
32
+ inkscape:window-y="277"
33
+ inkscape:window-maximized="0"
34
+ inkscape:current-layer="svg208" />
35
+ <path
36
+ d="m 2.0181771,13.236045 5.9999998,5.999998 6.0000001,-5.999998 2,1.999999 -8.0000001,8 -7.99999979,-8 z"
37
+ id="path2" />
38
+ <path
39
+ d="m 1.9974043,9.256166 6,-6 6.0000007,6 1.999999,-2 -7.9999997,-8.0000001 -7.99999997,8.0000001 z"
40
+ id="path2-4" />
41
+ </svg>
package/src/table.css CHANGED
@@ -33,3 +33,13 @@ td {
33
33
  .hoverable tbody tr:hover {
34
34
  background-color: var(--color-accent-100);
35
35
  }
36
+
37
+ .sticky thead {
38
+ position: sticky;
39
+ inset-block-start: 0;
40
+ }
41
+
42
+ .sticky tfoot {
43
+ position: sticky;
44
+ inset-block-end: 0;
45
+ }