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.
- package/example.js +283 -417
- package/lib/example/view/button.js +2 -2
- package/lib/example/view.js +2 -1
- package/lib/item/entry/drag.js +2 -2
- package/lib/list/entries.js +21 -11
- package/lib/rubbishBin.js +5 -9
- package/lib/svg/directoryName.js +7 -53
- package/lib/svg/fileName.js +7 -53
- package/lib/svg/marker.js +7 -53
- package/lib/svg/rubbishBin/closed.js +6 -53
- package/lib/svg/rubbishBin/open.js +6 -52
- package/lib/svg/toggle/down.js +7 -54
- package/lib/svg/toggle/up.js +7 -53
- package/lib/svg.js +179 -0
- package/package.json +5 -5
- package/src/example/view/button.js +1 -0
- package/src/example/view.js +1 -1
- package/src/item/entry/drag.js +1 -1
- package/src/list/entries.js +25 -11
- package/src/rubbishBin.js +4 -8
- package/src/svg/directoryName.js +2 -4
- package/src/svg/fileName.js +2 -4
- package/src/svg/marker.js +2 -4
- package/src/svg/rubbishBin/closed.js +2 -6
- package/src/svg/rubbishBin/open.js +2 -4
- package/src/svg/toggle/down.js +2 -7
- package/src/svg/toggle/up.js +2 -5
- package/src/svg.js +17 -0
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import withStyle from "easy-with-style"; ///
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import SVG from "../../svg";
|
|
6
6
|
|
|
7
7
|
import { rubbishBinSVGHeight } from "../../styles";
|
|
8
8
|
|
|
9
|
-
class OpenRubbishBinSVG extends
|
|
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
|
`;
|
package/src/svg/toggle/down.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import withStyle from "easy-with-style"; ///
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import SVG from "../../svg";
|
|
6
6
|
|
|
7
7
|
import { toggleSVGHeight, toggleSVGPaddingRight } from "../../styles";
|
|
8
8
|
|
|
9
|
-
class DownToggleSVG extends
|
|
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
|
`;
|
package/src/svg/toggle/up.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import withStyle from "easy-with-style"; ///
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import SVG from "../../svg";
|
|
6
6
|
|
|
7
7
|
import { toggleSVGHeight, toggleSVGPaddingRight } from "../../styles";
|
|
8
8
|
|
|
9
|
-
class UpToggleSVG extends
|
|
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
|
+
`;
|