@symbo.ls/scratch 3.8.8 → 3.8.9
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/dist/cjs/system/svg.js +2 -2
- package/dist/esm/system/svg.js +2 -2
- package/dist/iife/index.js +2 -2
- package/package.json +3 -3
- package/src/system/svg.js +2 -2
package/dist/cjs/system/svg.js
CHANGED
|
@@ -44,7 +44,7 @@ const setSVG = (val, key) => {
|
|
|
44
44
|
const appendSVGSprite = (LIBRARY, options = DEF_OPTIONS) => {
|
|
45
45
|
const CONFIG = (0, import_factory.getActiveConfig)();
|
|
46
46
|
const lib = Object.keys(LIBRARY).length ? {} : CONFIG.svg;
|
|
47
|
-
for (const key in LIBRARY) lib[key] =
|
|
47
|
+
for (const key in LIBRARY) lib[key] = LIBRARY[key];
|
|
48
48
|
appendSVG(lib, options);
|
|
49
49
|
};
|
|
50
50
|
const setSvgIcon = (val, key) => {
|
|
@@ -57,7 +57,7 @@ const setSvgIcon = (val, key) => {
|
|
|
57
57
|
const appendSvgIconsSprite = (LIBRARY, options = DEF_OPTIONS) => {
|
|
58
58
|
const CONFIG = (0, import_factory.getActiveConfig)();
|
|
59
59
|
const lib = Object.keys(LIBRARY).length ? {} : CONFIG.icons;
|
|
60
|
-
for (const key in LIBRARY) lib[key] =
|
|
60
|
+
for (const key in LIBRARY) lib[key] = LIBRARY[key];
|
|
61
61
|
appendSVG(lib, options);
|
|
62
62
|
};
|
|
63
63
|
const createSVGSpriteElement = (doc, options = { isRoot: true }) => {
|
package/dist/esm/system/svg.js
CHANGED
|
@@ -18,7 +18,7 @@ const setSVG = (val, key) => {
|
|
|
18
18
|
const appendSVGSprite = (LIBRARY, options = DEF_OPTIONS) => {
|
|
19
19
|
const CONFIG = getActiveConfig();
|
|
20
20
|
const lib = Object.keys(LIBRARY).length ? {} : CONFIG.svg;
|
|
21
|
-
for (const key in LIBRARY) lib[key] =
|
|
21
|
+
for (const key in LIBRARY) lib[key] = LIBRARY[key];
|
|
22
22
|
appendSVG(lib, options);
|
|
23
23
|
};
|
|
24
24
|
const setSvgIcon = (val, key) => {
|
|
@@ -31,7 +31,7 @@ const setSvgIcon = (val, key) => {
|
|
|
31
31
|
const appendSvgIconsSprite = (LIBRARY, options = DEF_OPTIONS) => {
|
|
32
32
|
const CONFIG = getActiveConfig();
|
|
33
33
|
const lib = Object.keys(LIBRARY).length ? {} : CONFIG.icons;
|
|
34
|
-
for (const key in LIBRARY) lib[key] =
|
|
34
|
+
for (const key in LIBRARY) lib[key] = LIBRARY[key];
|
|
35
35
|
appendSVG(lib, options);
|
|
36
36
|
};
|
|
37
37
|
const createSVGSpriteElement = (doc, options = { isRoot: true }) => {
|
package/dist/iife/index.js
CHANGED
|
@@ -2694,7 +2694,7 @@ var SmblsScratch = (() => {
|
|
|
2694
2694
|
var appendSVGSprite = (LIBRARY, options = DEF_OPTIONS) => {
|
|
2695
2695
|
const CONFIG2 = getActiveConfig();
|
|
2696
2696
|
const lib = Object.keys(LIBRARY).length ? {} : CONFIG2.svg;
|
|
2697
|
-
for (const key in LIBRARY) lib[key] =
|
|
2697
|
+
for (const key in LIBRARY) lib[key] = LIBRARY[key];
|
|
2698
2698
|
appendSVG(lib, options);
|
|
2699
2699
|
};
|
|
2700
2700
|
var setSvgIcon = (val, key) => {
|
|
@@ -2707,7 +2707,7 @@ var SmblsScratch = (() => {
|
|
|
2707
2707
|
var appendSvgIconsSprite = (LIBRARY, options = DEF_OPTIONS) => {
|
|
2708
2708
|
const CONFIG2 = getActiveConfig();
|
|
2709
2709
|
const lib = Object.keys(LIBRARY).length ? {} : CONFIG2.icons;
|
|
2710
|
-
for (const key in LIBRARY) lib[key] =
|
|
2710
|
+
for (const key in LIBRARY) lib[key] = LIBRARY[key];
|
|
2711
2711
|
appendSVG(lib, options);
|
|
2712
2712
|
};
|
|
2713
2713
|
var createSVGSpriteElement = (doc, options = { isRoot: true }) => {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@symbo.ls/scratch",
|
|
3
3
|
"description": "Φ / CSS framework and methodology.",
|
|
4
4
|
"author": "symbo.ls",
|
|
5
|
-
"version": "3.8.
|
|
5
|
+
"version": "3.8.9",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
8
8
|
"*.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"prepublish": "npm run build && npm run copy:package:cjs"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@domql/utils": "^3.8.
|
|
37
|
-
"@symbo.ls/smbls-utils": "^3.8.
|
|
36
|
+
"@domql/utils": "^3.8.9",
|
|
37
|
+
"@symbo.ls/smbls-utils": "^3.8.9",
|
|
38
38
|
"color-contrast-checker": "^1.5.0"
|
|
39
39
|
},
|
|
40
40
|
"gitHead": "9fc1b79b41cdc725ca6b24aec64920a599634681",
|
package/src/system/svg.js
CHANGED
|
@@ -23,7 +23,7 @@ export const appendSVGSprite = (LIBRARY, options = DEF_OPTIONS) => {
|
|
|
23
23
|
const CONFIG = getActiveConfig()
|
|
24
24
|
|
|
25
25
|
const lib = Object.keys(LIBRARY).length ? {} : CONFIG.svg
|
|
26
|
-
for (const key in LIBRARY) lib[key] =
|
|
26
|
+
for (const key in LIBRARY) lib[key] = LIBRARY[key]
|
|
27
27
|
|
|
28
28
|
appendSVG(lib, options)
|
|
29
29
|
}
|
|
@@ -39,7 +39,7 @@ export const appendSvgIconsSprite = (LIBRARY, options = DEF_OPTIONS) => {
|
|
|
39
39
|
const CONFIG = getActiveConfig()
|
|
40
40
|
|
|
41
41
|
const lib = Object.keys(LIBRARY).length ? {} : CONFIG.icons
|
|
42
|
-
for (const key in LIBRARY) lib[key] =
|
|
42
|
+
for (const key in LIBRARY) lib[key] = LIBRARY[key]
|
|
43
43
|
|
|
44
44
|
appendSVG(lib, options)
|
|
45
45
|
}
|