easy-file-system 2.1.250 → 2.1.252

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.
@@ -2,11 +2,11 @@
2
2
 
3
3
  import withStyle from "easy-with-style"; ///
4
4
 
5
- import { Element } from "easy";
5
+ import SVG from "../../svg";
6
6
 
7
7
  import { rubbishBinSVGHeight } from "../../styles";
8
8
 
9
- class OpenRubbishBinSVG extends Element {
9
+ class OpenRubbishBinSVG extends SVG {
10
10
  childElements() {
11
11
  return (
12
12
 
@@ -48,8 +48,6 @@ class OpenRubbishBinSVG extends Element {
48
48
  export default withStyle(OpenRubbishBinSVG)`
49
49
 
50
50
  fill: none;
51
- width: auto;
52
- stroke: #000000;
53
51
  height: ${rubbishBinSVGHeight};
54
52
 
55
53
  `;
@@ -2,11 +2,11 @@
2
2
 
3
3
  import withStyle from "easy-with-style"; ///
4
4
 
5
- import { Element } from "easy";
5
+ import SVG from "../../svg";
6
6
 
7
7
  import { toggleSVGHeight, toggleSVGPaddingRight } from "../../styles";
8
8
 
9
- class DownToggleSVG extends Element {
9
+ class DownToggleSVG extends SVG {
10
10
  childElements() {
11
11
  return (
12
12
 
@@ -27,8 +27,6 @@ class DownToggleSVG extends Element {
27
27
  });
28
28
  }
29
29
 
30
- static tagName = "svg";
31
-
32
30
  static defaultProperties = {
33
31
  width: "32",
34
32
  height: "32",
@@ -39,10 +37,7 @@ class DownToggleSVG extends Element {
39
37
 
40
38
  export default withStyle(DownToggleSVG)`
41
39
 
42
- fill: #000000;
43
- width: auto;
44
40
  height: ${toggleSVGHeight};
45
- stroke: #000000;
46
41
  padding-right: ${toggleSVGPaddingRight};
47
42
 
48
43
  `;
@@ -2,11 +2,11 @@
2
2
 
3
3
  import withStyle from "easy-with-style"; ///
4
4
 
5
- import { Element } from "easy";
5
+ import SVG from "../../svg";
6
6
 
7
7
  import { toggleSVGHeight, toggleSVGPaddingRight } from "../../styles";
8
8
 
9
- class UpToggleSVG extends Element {
9
+ class UpToggleSVG extends SVG {
10
10
  childElements() {
11
11
  return (
12
12
 
@@ -39,10 +39,7 @@ class UpToggleSVG extends Element {
39
39
 
40
40
  export default withStyle(UpToggleSVG)`
41
41
 
42
- fill: #000000;
43
- width: auto;
44
42
  height: ${toggleSVGHeight};
45
- stroke: #000000;
46
43
  margin-right: ${toggleSVGPaddingRight};
47
44
 
48
45
  `;
package/src/svg.js ADDED
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ import withStyle from "easy-with-style"; ///
4
+
5
+ import { Element } from "easy";
6
+
7
+ class SVG extends Element {
8
+ static tagName = "svg";
9
+ }
10
+
11
+ export default withStyle(SVG)`
12
+
13
+ width: auto;
14
+ stroke: #000000;
15
+ pointer-events: none;
16
+
17
+ `;