occam-styles 4.1.49 → 4.1.52
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 +223 -335
- package/lib/colours.js +5 -1
- package/lib/scheme/common.js +6 -1
- package/lib/svg/directoryName.js +5 -63
- package/lib/svg/fileName.js +5 -63
- package/lib/svg/marker.js +5 -63
- package/lib/svg/title.js +5 -63
- package/lib/svg/toolbar.js +5 -63
- package/lib/svg.js +190 -0
- package/package.json +1 -1
- package/src/colours.js +1 -0
- package/src/scheme/common.js +4 -1
- package/src/svg/directoryName.js +2 -4
- package/src/svg/fileName.js +2 -4
- package/src/svg/marker.js +2 -4
- package/src/svg/title.js +2 -4
- package/src/svg/toolbar.js +2 -4
- package/src/svg.js +15 -0
package/lib/svg/toolbar.js
CHANGED
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "default", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _easyWithStyle = /*#__PURE__*/ _interopRequireDefault(require("easy-with-style"));
|
|
12
|
-
var
|
|
12
|
+
var _svg = /*#__PURE__*/ _interopRequireDefault(require("../svg"));
|
|
13
13
|
var _common = require("../scheme/common");
|
|
14
14
|
function _assertThisInitialized(self) {
|
|
15
15
|
if (self === void 0) {
|
|
@@ -22,34 +22,6 @@ function _classCallCheck(instance, Constructor) {
|
|
|
22
22
|
throw new TypeError("Cannot call a class as a function");
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
function isNativeReflectConstruct() {
|
|
26
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
27
|
-
if (Reflect.construct.sham) return false;
|
|
28
|
-
if (typeof Proxy === "function") return true;
|
|
29
|
-
try {
|
|
30
|
-
Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
|
|
31
|
-
return true;
|
|
32
|
-
} catch (e) {
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
function _construct(Parent, args, Class) {
|
|
37
|
-
if (isNativeReflectConstruct()) {
|
|
38
|
-
_construct = Reflect.construct;
|
|
39
|
-
} else {
|
|
40
|
-
_construct = function _construct(Parent, args, Class) {
|
|
41
|
-
var a = [
|
|
42
|
-
null
|
|
43
|
-
];
|
|
44
|
-
a.push.apply(a, args);
|
|
45
|
-
var Constructor = Function.bind.apply(Parent, a);
|
|
46
|
-
var instance = new Constructor();
|
|
47
|
-
if (Class) _setPrototypeOf(instance, Class.prototype);
|
|
48
|
-
return instance;
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
return _construct.apply(null, arguments);
|
|
52
|
-
}
|
|
53
25
|
function _defineProperty(obj, key, value) {
|
|
54
26
|
if (key in obj) {
|
|
55
27
|
Object.defineProperty(obj, key, {
|
|
@@ -87,9 +59,6 @@ function _interopRequireDefault(obj) {
|
|
|
87
59
|
default: obj
|
|
88
60
|
};
|
|
89
61
|
}
|
|
90
|
-
function _isNativeFunction(fn) {
|
|
91
|
-
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
92
|
-
}
|
|
93
62
|
function _possibleConstructorReturn(self, call) {
|
|
94
63
|
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
95
64
|
return call;
|
|
@@ -117,32 +86,6 @@ var _typeof = function(obj) {
|
|
|
117
86
|
"@swc/helpers - typeof";
|
|
118
87
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
119
88
|
};
|
|
120
|
-
function _wrapNativeSuper(Class) {
|
|
121
|
-
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
122
|
-
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
123
|
-
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
124
|
-
if (typeof Class !== "function") {
|
|
125
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
126
|
-
}
|
|
127
|
-
if (typeof _cache !== "undefined") {
|
|
128
|
-
if (_cache.has(Class)) return _cache.get(Class);
|
|
129
|
-
_cache.set(Class, Wrapper);
|
|
130
|
-
}
|
|
131
|
-
function Wrapper() {
|
|
132
|
-
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
133
|
-
}
|
|
134
|
-
Wrapper.prototype = Object.create(Class.prototype, {
|
|
135
|
-
constructor: {
|
|
136
|
-
value: Wrapper,
|
|
137
|
-
enumerable: false,
|
|
138
|
-
writable: true,
|
|
139
|
-
configurable: true
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
return _setPrototypeOf(Wrapper, Class);
|
|
143
|
-
};
|
|
144
|
-
return _wrapNativeSuper(Class);
|
|
145
|
-
}
|
|
146
89
|
function _isNativeReflectConstruct() {
|
|
147
90
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
148
91
|
if (Reflect.construct.sham) return false;
|
|
@@ -178,20 +121,19 @@ function _templateObject() {
|
|
|
178
121
|
};
|
|
179
122
|
return data;
|
|
180
123
|
}
|
|
181
|
-
var ToolbarSVG = /*#__PURE__*/ function(
|
|
182
|
-
_inherits(ToolbarSVG,
|
|
124
|
+
var ToolbarSVG = /*#__PURE__*/ function(SVG) {
|
|
125
|
+
_inherits(ToolbarSVG, SVG);
|
|
183
126
|
var _super = _createSuper(ToolbarSVG);
|
|
184
127
|
function ToolbarSVG() {
|
|
185
128
|
_classCallCheck(this, ToolbarSVG);
|
|
186
129
|
return _super.apply(this, arguments);
|
|
187
130
|
}
|
|
188
131
|
return ToolbarSVG;
|
|
189
|
-
}(
|
|
190
|
-
_defineProperty(ToolbarSVG, "tagName", "svg");
|
|
132
|
+
}(_svg.default);
|
|
191
133
|
_defineProperty(ToolbarSVG, "defaultProperties", {
|
|
192
134
|
viewBox: "0 0 25 25",
|
|
193
135
|
className: "toolbar"
|
|
194
136
|
});
|
|
195
137
|
var _default = (0, _easyWithStyle.default)(ToolbarSVG)(_templateObject(), _common.commonColour, _common.commonColour);
|
|
196
138
|
|
|
197
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
139
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zdmcvdG9vbGJhci5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuaW1wb3J0IHdpdGhTdHlsZSBmcm9tIFwiZWFzeS13aXRoLXN0eWxlXCI7ICAvLy9cblxuaW1wb3J0IFNWRyBmcm9tIFwiLi4vc3ZnXCI7XG5cbmltcG9ydCB7IGNvbW1vbkNvbG91ciB9IGZyb20gXCIuLi9zY2hlbWUvY29tbW9uXCI7XG5cbmNsYXNzIFRvb2xiYXJTVkcgZXh0ZW5kcyBTVkcge1xuICBzdGF0aWMgZGVmYXVsdFByb3BlcnRpZXMgPSB7XG4gICAgdmlld0JveDogXCIwIDAgMjUgMjVcIixcbiAgICBjbGFzc05hbWU6IFwidG9vbGJhclwiXG4gIH07XG59XG5cbmV4cG9ydCBkZWZhdWx0IHdpdGhTdHlsZShUb29sYmFyU1ZHKWBcblxuICBmaWxsOiAke2NvbW1vbkNvbG91cn07XG4gIHdpZHRoOiBhdXRvO1xuICBoZWlnaHQ6IDEwMCU7XG4gIHN0cm9rZTogJHtjb21tb25Db2xvdXJ9O1xuICBcbmA7XG4iXSwibmFtZXMiOlsiVG9vbGJhclNWRyIsIlNWRyIsImRlZmF1bHRQcm9wZXJ0aWVzIiwidmlld0JveCIsImNsYXNzTmFtZSIsIndpdGhTdHlsZSIsImNvbW1vbkNvbG91ciJdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7K0JBZUE7OztlQUFBOzs7a0VBYnNCO3dEQUVOO3NCQUVhOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFFN0IsSUFBQSxBQUFNQSwyQkFPSCxBQVBIO2NBQU1BOzhCQUFBQTthQUFBQTs4QkFBQUE7OztXQUFBQTtFQUFtQkMsWUFBRztBQUMxQixnQkFESUQsWUFDR0UscUJBQW9CO0lBQ3pCQyxTQUFTO0lBQ1RDLFdBQVc7QUFDYjtJQUdGLFdBQWVDLElBQUFBLHNCQUFTLEVBQUNMLCtCQUVmTSxvQkFBWSxFQUdWQSxvQkFBWSJ9
|
package/lib/svg.js
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "default", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return _default;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
var _easyWithStyle = /*#__PURE__*/ _interopRequireDefault(require("easy-with-style"));
|
|
12
|
+
var _easy = require("easy");
|
|
13
|
+
function _assertThisInitialized(self) {
|
|
14
|
+
if (self === void 0) {
|
|
15
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16
|
+
}
|
|
17
|
+
return self;
|
|
18
|
+
}
|
|
19
|
+
function _classCallCheck(instance, Constructor) {
|
|
20
|
+
if (!(instance instanceof Constructor)) {
|
|
21
|
+
throw new TypeError("Cannot call a class as a function");
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function isNativeReflectConstruct() {
|
|
25
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
26
|
+
if (Reflect.construct.sham) return false;
|
|
27
|
+
if (typeof Proxy === "function") return true;
|
|
28
|
+
try {
|
|
29
|
+
Date.prototype.toString.call(Reflect.construct(Date, [], function() {}));
|
|
30
|
+
return true;
|
|
31
|
+
} catch (e) {
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function _construct(Parent, args, Class) {
|
|
36
|
+
if (isNativeReflectConstruct()) {
|
|
37
|
+
_construct = Reflect.construct;
|
|
38
|
+
} else {
|
|
39
|
+
_construct = function _construct(Parent, args, Class) {
|
|
40
|
+
var a = [
|
|
41
|
+
null
|
|
42
|
+
];
|
|
43
|
+
a.push.apply(a, args);
|
|
44
|
+
var Constructor = Function.bind.apply(Parent, a);
|
|
45
|
+
var instance = new Constructor();
|
|
46
|
+
if (Class) _setPrototypeOf(instance, Class.prototype);
|
|
47
|
+
return instance;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
return _construct.apply(null, arguments);
|
|
51
|
+
}
|
|
52
|
+
function _defineProperty(obj, key, value) {
|
|
53
|
+
if (key in obj) {
|
|
54
|
+
Object.defineProperty(obj, key, {
|
|
55
|
+
value: value,
|
|
56
|
+
enumerable: true,
|
|
57
|
+
configurable: true,
|
|
58
|
+
writable: true
|
|
59
|
+
});
|
|
60
|
+
} else {
|
|
61
|
+
obj[key] = value;
|
|
62
|
+
}
|
|
63
|
+
return obj;
|
|
64
|
+
}
|
|
65
|
+
function _getPrototypeOf(o) {
|
|
66
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
67
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
68
|
+
};
|
|
69
|
+
return _getPrototypeOf(o);
|
|
70
|
+
}
|
|
71
|
+
function _inherits(subClass, superClass) {
|
|
72
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
73
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
74
|
+
}
|
|
75
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
76
|
+
constructor: {
|
|
77
|
+
value: subClass,
|
|
78
|
+
writable: true,
|
|
79
|
+
configurable: true
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
83
|
+
}
|
|
84
|
+
function _interopRequireDefault(obj) {
|
|
85
|
+
return obj && obj.__esModule ? obj : {
|
|
86
|
+
default: obj
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
function _isNativeFunction(fn) {
|
|
90
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
91
|
+
}
|
|
92
|
+
function _possibleConstructorReturn(self, call) {
|
|
93
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
94
|
+
return call;
|
|
95
|
+
}
|
|
96
|
+
return _assertThisInitialized(self);
|
|
97
|
+
}
|
|
98
|
+
function _setPrototypeOf(o, p) {
|
|
99
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
100
|
+
o.__proto__ = p;
|
|
101
|
+
return o;
|
|
102
|
+
};
|
|
103
|
+
return _setPrototypeOf(o, p);
|
|
104
|
+
}
|
|
105
|
+
function _taggedTemplateLiteral(strings, raw) {
|
|
106
|
+
if (!raw) {
|
|
107
|
+
raw = strings.slice(0);
|
|
108
|
+
}
|
|
109
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
110
|
+
raw: {
|
|
111
|
+
value: Object.freeze(raw)
|
|
112
|
+
}
|
|
113
|
+
}));
|
|
114
|
+
}
|
|
115
|
+
var _typeof = function(obj) {
|
|
116
|
+
"@swc/helpers - typeof";
|
|
117
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
118
|
+
};
|
|
119
|
+
function _wrapNativeSuper(Class) {
|
|
120
|
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
121
|
+
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
122
|
+
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
123
|
+
if (typeof Class !== "function") {
|
|
124
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
125
|
+
}
|
|
126
|
+
if (typeof _cache !== "undefined") {
|
|
127
|
+
if (_cache.has(Class)) return _cache.get(Class);
|
|
128
|
+
_cache.set(Class, Wrapper);
|
|
129
|
+
}
|
|
130
|
+
function Wrapper() {
|
|
131
|
+
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
132
|
+
}
|
|
133
|
+
Wrapper.prototype = Object.create(Class.prototype, {
|
|
134
|
+
constructor: {
|
|
135
|
+
value: Wrapper,
|
|
136
|
+
enumerable: false,
|
|
137
|
+
writable: true,
|
|
138
|
+
configurable: true
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
return _setPrototypeOf(Wrapper, Class);
|
|
142
|
+
};
|
|
143
|
+
return _wrapNativeSuper(Class);
|
|
144
|
+
}
|
|
145
|
+
function _isNativeReflectConstruct() {
|
|
146
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
147
|
+
if (Reflect.construct.sham) return false;
|
|
148
|
+
if (typeof Proxy === "function") return true;
|
|
149
|
+
try {
|
|
150
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
151
|
+
return true;
|
|
152
|
+
} catch (e) {
|
|
153
|
+
return false;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
function _createSuper(Derived) {
|
|
157
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
158
|
+
return function _createSuperInternal() {
|
|
159
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
160
|
+
if (hasNativeReflectConstruct) {
|
|
161
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
162
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
163
|
+
} else {
|
|
164
|
+
result = Super.apply(this, arguments);
|
|
165
|
+
}
|
|
166
|
+
return _possibleConstructorReturn(this, result);
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
function _templateObject() {
|
|
170
|
+
var data = _taggedTemplateLiteral([
|
|
171
|
+
"\n\n pointer-events: none;\n \n"
|
|
172
|
+
]);
|
|
173
|
+
_templateObject = function _templateObject() {
|
|
174
|
+
return data;
|
|
175
|
+
};
|
|
176
|
+
return data;
|
|
177
|
+
}
|
|
178
|
+
var SVG = /*#__PURE__*/ function(Element) {
|
|
179
|
+
_inherits(SVG, Element);
|
|
180
|
+
var _super = _createSuper(SVG);
|
|
181
|
+
function SVG() {
|
|
182
|
+
_classCallCheck(this, SVG);
|
|
183
|
+
return _super.apply(this, arguments);
|
|
184
|
+
}
|
|
185
|
+
return SVG;
|
|
186
|
+
}(_wrapNativeSuper(_easy.Element));
|
|
187
|
+
_defineProperty(SVG, "tagName", "svg");
|
|
188
|
+
var _default = (0, _easyWithStyle.default)(SVG)(_templateObject());
|
|
189
|
+
|
|
190
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zdmcuanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmltcG9ydCB3aXRoU3R5bGUgZnJvbSBcImVhc3ktd2l0aC1zdHlsZVwiOyAgLy8vXG5cbmltcG9ydCB7IEVsZW1lbnQgfSBmcm9tIFwiZWFzeVwiO1xuXG5jbGFzcyBTVkcgZXh0ZW5kcyBFbGVtZW50IHtcbiAgc3RhdGljIHRhZ05hbWUgPSBcInN2Z1wiO1xufVxuXG5leHBvcnQgZGVmYXVsdCB3aXRoU3R5bGUoU1ZHKWBcblxuICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgXG5gO1xuIl0sIm5hbWVzIjpbIlNWRyIsIkVsZW1lbnQiLCJ0YWdOYW1lIiwid2l0aFN0eWxlIl0sIm1hcHBpbmdzIjoiQUFBQTs7OzsrQkFVQTs7O2VBQUE7OztrRUFSc0I7b0JBRUU7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFFeEIsSUFBQSxBQUFNQSxvQkFJSCxBQUpIO2NBQU1BOzhCQUFBQTthQUFBQTs4QkFBQUE7OztXQUFBQTttQkFBWUMsYUFBTztBQUN2QixnQkFESUQsS0FDR0UsV0FBVTtJQUduQixXQUFlQyxJQUFBQSxzQkFBUyxFQUFDSCJ9
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "occam-styles",
|
|
3
3
|
"author": "James Smith",
|
|
4
|
-
"version": "4.1.
|
|
4
|
+
"version": "4.1.52",
|
|
5
5
|
"license": "MIT, Anti-996",
|
|
6
6
|
"homepage": "https://github.com/djalbat/occam-styles",
|
|
7
7
|
"description": "Occam's colours, syntax schemes, common styles and images.",
|
package/src/colours.js
CHANGED
package/src/scheme/common.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { dawn, bonjour, woodsmoke, stormDust, walnut, emperor } from "../colours";
|
|
3
|
+
import { dawn, bonjour, bianca, woodsmoke, stormDust, walnut, emperor } from "../colours";
|
|
4
4
|
|
|
5
5
|
export const commonColour = woodsmoke;
|
|
6
6
|
|
|
@@ -8,6 +8,8 @@ export const titleSVGColour = emperor;
|
|
|
8
8
|
|
|
9
9
|
export const clearConsoleColour = walnut; ///
|
|
10
10
|
|
|
11
|
+
export const tooltipBackgroundColour = bianca; ///
|
|
12
|
+
|
|
11
13
|
export const commonBorderColour = stormDust;
|
|
12
14
|
|
|
13
15
|
export const commonBackgroundColour = dawn;
|
|
@@ -32,6 +34,7 @@ export default {
|
|
|
32
34
|
commonColour,
|
|
33
35
|
titleSVGColour,
|
|
34
36
|
clearConsoleColour,
|
|
37
|
+
tooltipBackgroundColour,
|
|
35
38
|
commonBorderColour,
|
|
36
39
|
commonBackgroundColour,
|
|
37
40
|
commonInputBackgroundColour,
|
package/src/svg/directoryName.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import withStyle from "easy-with-style"; ///
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import SVG from "../svg";
|
|
6
6
|
|
|
7
7
|
import { commonColour } from "../scheme/common";
|
|
8
8
|
import { nameSVGHeight } from "../styles";
|
|
9
9
|
|
|
10
|
-
class DirectoryNameSVG extends
|
|
10
|
+
class DirectoryNameSVG extends SVG {
|
|
11
11
|
childElements() {
|
|
12
12
|
return (
|
|
13
13
|
|
|
@@ -23,8 +23,6 @@ class DirectoryNameSVG extends Element {
|
|
|
23
23
|
);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
static tagName = "svg";
|
|
27
|
-
|
|
28
26
|
static defaultProperties = {
|
|
29
27
|
viewBox: "0 0 24 18",
|
|
30
28
|
className: "directory-name"
|
package/src/svg/fileName.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import withStyle from "easy-with-style"; ///
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import SVG from "../svg";
|
|
6
6
|
|
|
7
7
|
import { commonColour } from "../scheme/common";
|
|
8
8
|
import { nameSVGHeight } from "../styles";
|
|
9
9
|
|
|
10
|
-
class FileNameSVG extends
|
|
10
|
+
class FileNameSVG extends SVG {
|
|
11
11
|
childElements() {
|
|
12
12
|
return (
|
|
13
13
|
|
|
@@ -22,8 +22,6 @@ class FileNameSVG extends Element {
|
|
|
22
22
|
);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
static tagName = "svg";
|
|
26
|
-
|
|
27
25
|
static defaultProperties = {
|
|
28
26
|
viewBox: "0 0 24 18",
|
|
29
27
|
className: "file-name"
|
package/src/svg/marker.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import withStyle from "easy-with-style"; ///
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import SVG from "../svg";
|
|
6
6
|
|
|
7
7
|
import { commonColour } from "../scheme/common";
|
|
8
8
|
import { markerSVGHeight, markerSVGMarginLeft } from "../styles";
|
|
9
9
|
|
|
10
|
-
class MarkerSVG extends
|
|
10
|
+
class MarkerSVG extends SVG {
|
|
11
11
|
childElements() {
|
|
12
12
|
return (
|
|
13
13
|
|
|
@@ -18,8 +18,6 @@ class MarkerSVG extends Element {
|
|
|
18
18
|
);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
static tagName = "svg";
|
|
22
|
-
|
|
23
21
|
static defaultProperties = {
|
|
24
22
|
viewBox: "0 0 25 25",
|
|
25
23
|
className: "marker"
|
package/src/svg/title.js
CHANGED
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import withStyle from "easy-with-style"; ///
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import SVG from "../svg";
|
|
6
6
|
|
|
7
7
|
import { titleSVGHeight } from "../styles";
|
|
8
8
|
import { titleSVGColour } from "../scheme/common";
|
|
9
9
|
|
|
10
|
-
class TitleSVG extends
|
|
11
|
-
static tagName = "svg";
|
|
12
|
-
|
|
10
|
+
class TitleSVG extends SVG {
|
|
13
11
|
static defaultProperties = {
|
|
14
12
|
viewBox: "0 0 25 25",
|
|
15
13
|
className: "title"
|
package/src/svg/toolbar.js
CHANGED
|
@@ -2,13 +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 { commonColour } from "../scheme/common";
|
|
8
8
|
|
|
9
|
-
class ToolbarSVG extends
|
|
10
|
-
static tagName = "svg";
|
|
11
|
-
|
|
9
|
+
class ToolbarSVG extends SVG {
|
|
12
10
|
static defaultProperties = {
|
|
13
11
|
viewBox: "0 0 25 25",
|
|
14
12
|
className: "toolbar"
|
package/src/svg.js
ADDED