@symbo.ls/scratch 2.11.249 → 2.11.255
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/factory.js +1 -1
- package/dist/cjs/index.js +5 -6
- package/dist/cjs/set.js +5 -6
- package/dist/cjs/system/color.js +1 -1
- package/dist/cjs/system/document.js +1 -1
- package/dist/cjs/system/font.js +5 -6
- package/dist/cjs/system/index.js +5 -6
- package/dist/cjs/system/reset.js +1 -1
- package/dist/cjs/system/shadow.js +5 -6
- package/dist/cjs/system/spacing.js +5 -6
- package/dist/cjs/system/svg.js +1 -1
- package/dist/cjs/system/theme.js +1 -1
- package/dist/cjs/system/timing.js +1 -1
- package/dist/cjs/system/typography.js +1 -1
- package/dist/cjs/transforms/index.js +5 -6
- package/dist/cjs/utils/color.js +1 -1
- package/dist/cjs/utils/index.js +1 -1
- package/dist/cjs/utils/sequence.js +1 -1
- package/dist/cjs/utils/sprite.js +1 -1
- package/dist/cjs/utils/var.js +1 -1
- package/package.json +2 -2
- package/src/system/font.js +1 -0
package/dist/cjs/factory.js
CHANGED
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
package/dist/cjs/index.js
CHANGED
|
@@ -688,7 +688,7 @@ var require_object = __commonJS({
|
|
|
688
688
|
const spaces = " ".repeat(indent);
|
|
689
689
|
let str = "{\n";
|
|
690
690
|
for (const [key, value] of Object.entries(obj)) {
|
|
691
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
691
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
692
692
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
693
693
|
str += `${spaces} ${stringedKey}: `;
|
|
694
694
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -1761,14 +1761,13 @@ var toCamelCase = (str) => {
|
|
|
1761
1761
|
};
|
|
1762
1762
|
var toDashCase = (val) => val.replace(/[^a-zA-Z0-9]/g, " ").trim().toLowerCase().replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
1763
1763
|
var arrayzeValue = (val) => {
|
|
1764
|
+
if ((0, import_utils3.isArray)(val))
|
|
1765
|
+
return val;
|
|
1764
1766
|
if ((0, import_utils3.isString)(val))
|
|
1765
1767
|
return val.split(" ");
|
|
1766
1768
|
if ((0, import_utils3.isObject)(val))
|
|
1767
|
-
return Object.
|
|
1768
|
-
|
|
1769
|
-
return [val];
|
|
1770
|
-
if ((0, import_utils3.isArray)(val))
|
|
1771
|
-
return val;
|
|
1769
|
+
return Object.values(val);
|
|
1770
|
+
return [val];
|
|
1772
1771
|
};
|
|
1773
1772
|
|
|
1774
1773
|
// src/factory.js
|
package/dist/cjs/set.js
CHANGED
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -1737,14 +1737,13 @@ var import_utils3 = __toESM(require_cjs());
|
|
|
1737
1737
|
// ../utils/src/index.js
|
|
1738
1738
|
var toDashCase = (val) => val.replace(/[^a-zA-Z0-9]/g, " ").trim().toLowerCase().replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
1739
1739
|
var arrayzeValue = (val) => {
|
|
1740
|
+
if ((0, import_utils4.isArray)(val))
|
|
1741
|
+
return val;
|
|
1740
1742
|
if ((0, import_utils4.isString)(val))
|
|
1741
1743
|
return val.split(" ");
|
|
1742
1744
|
if ((0, import_utils4.isObject)(val))
|
|
1743
|
-
return Object.
|
|
1744
|
-
|
|
1745
|
-
return [val];
|
|
1746
|
-
if ((0, import_utils4.isArray)(val))
|
|
1747
|
-
return val;
|
|
1745
|
+
return Object.values(val);
|
|
1746
|
+
return [val];
|
|
1748
1747
|
};
|
|
1749
1748
|
|
|
1750
1749
|
// src/utils/sequence.js
|
package/dist/cjs/system/color.js
CHANGED
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
package/dist/cjs/system/font.js
CHANGED
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -1384,14 +1384,13 @@ var import_utils = __toESM(require_cjs());
|
|
|
1384
1384
|
|
|
1385
1385
|
// ../utils/src/index.js
|
|
1386
1386
|
var arrayzeValue = (val) => {
|
|
1387
|
+
if ((0, import_utils2.isArray)(val))
|
|
1388
|
+
return val;
|
|
1387
1389
|
if ((0, import_utils2.isString)(val))
|
|
1388
1390
|
return val.split(" ");
|
|
1389
1391
|
if ((0, import_utils2.isObject)(val))
|
|
1390
|
-
return Object.
|
|
1391
|
-
|
|
1392
|
-
return [val];
|
|
1393
|
-
if ((0, import_utils2.isArray)(val))
|
|
1394
|
-
return val;
|
|
1392
|
+
return Object.values(val);
|
|
1393
|
+
return [val];
|
|
1395
1394
|
};
|
|
1396
1395
|
|
|
1397
1396
|
// src/factory.js
|
package/dist/cjs/system/index.js
CHANGED
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -1760,14 +1760,13 @@ var toCamelCase = (str) => {
|
|
|
1760
1760
|
};
|
|
1761
1761
|
var toDashCase = (val) => val.replace(/[^a-zA-Z0-9]/g, " ").trim().toLowerCase().replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
1762
1762
|
var arrayzeValue = (val) => {
|
|
1763
|
+
if ((0, import_utils4.isArray)(val))
|
|
1764
|
+
return val;
|
|
1763
1765
|
if ((0, import_utils4.isString)(val))
|
|
1764
1766
|
return val.split(" ");
|
|
1765
1767
|
if ((0, import_utils4.isObject)(val))
|
|
1766
|
-
return Object.
|
|
1767
|
-
|
|
1768
|
-
return [val];
|
|
1769
|
-
if ((0, import_utils4.isArray)(val))
|
|
1770
|
-
return val;
|
|
1768
|
+
return Object.values(val);
|
|
1769
|
+
return [val];
|
|
1771
1770
|
};
|
|
1772
1771
|
|
|
1773
1772
|
// src/utils/sequence.js
|
package/dist/cjs/system/reset.js
CHANGED
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -1702,14 +1702,13 @@ var import_utils3 = __toESM(require_cjs());
|
|
|
1702
1702
|
// ../utils/src/index.js
|
|
1703
1703
|
var toDashCase = (val) => val.replace(/[^a-zA-Z0-9]/g, " ").trim().toLowerCase().replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
1704
1704
|
var arrayzeValue = (val) => {
|
|
1705
|
+
if ((0, import_utils4.isArray)(val))
|
|
1706
|
+
return val;
|
|
1705
1707
|
if ((0, import_utils4.isString)(val))
|
|
1706
1708
|
return val.split(" ");
|
|
1707
1709
|
if ((0, import_utils4.isObject)(val))
|
|
1708
|
-
return Object.
|
|
1709
|
-
|
|
1710
|
-
return [val];
|
|
1711
|
-
if ((0, import_utils4.isArray)(val))
|
|
1712
|
-
return val;
|
|
1710
|
+
return Object.values(val);
|
|
1711
|
+
return [val];
|
|
1713
1712
|
};
|
|
1714
1713
|
|
|
1715
1714
|
// src/utils/sequence.js
|
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -1384,14 +1384,13 @@ var import_utils = __toESM(require_cjs());
|
|
|
1384
1384
|
// ../utils/src/index.js
|
|
1385
1385
|
var toDashCase = (val) => val.replace(/[^a-zA-Z0-9]/g, " ").trim().toLowerCase().replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
1386
1386
|
var arrayzeValue = (val) => {
|
|
1387
|
+
if ((0, import_utils2.isArray)(val))
|
|
1388
|
+
return val;
|
|
1387
1389
|
if ((0, import_utils2.isString)(val))
|
|
1388
1390
|
return val.split(" ");
|
|
1389
1391
|
if ((0, import_utils2.isObject)(val))
|
|
1390
|
-
return Object.
|
|
1391
|
-
|
|
1392
|
-
return [val];
|
|
1393
|
-
if ((0, import_utils2.isArray)(val))
|
|
1394
|
-
return val;
|
|
1392
|
+
return Object.values(val);
|
|
1393
|
+
return [val];
|
|
1395
1394
|
};
|
|
1396
1395
|
|
|
1397
1396
|
// src/system/spacing.js
|
package/dist/cjs/system/svg.js
CHANGED
|
@@ -688,7 +688,7 @@ var require_object = __commonJS({
|
|
|
688
688
|
const spaces = " ".repeat(indent);
|
|
689
689
|
let str = "{\n";
|
|
690
690
|
for (const [key, value] of Object.entries(obj)) {
|
|
691
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
691
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
692
692
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
693
693
|
str += `${spaces} ${stringedKey}: `;
|
|
694
694
|
if ((0, import_types.isArray)(value)) {
|
package/dist/cjs/system/theme.js
CHANGED
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -1715,14 +1715,13 @@ var toCamelCase = (str) => {
|
|
|
1715
1715
|
};
|
|
1716
1716
|
var toDashCase = (val) => val.replace(/[^a-zA-Z0-9]/g, " ").trim().toLowerCase().replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
1717
1717
|
var arrayzeValue = (val) => {
|
|
1718
|
+
if ((0, import_utils4.isArray)(val))
|
|
1719
|
+
return val;
|
|
1718
1720
|
if ((0, import_utils4.isString)(val))
|
|
1719
1721
|
return val.split(" ");
|
|
1720
1722
|
if ((0, import_utils4.isObject)(val))
|
|
1721
|
-
return Object.
|
|
1722
|
-
|
|
1723
|
-
return [val];
|
|
1724
|
-
if ((0, import_utils4.isArray)(val))
|
|
1725
|
-
return val;
|
|
1723
|
+
return Object.values(val);
|
|
1724
|
+
return [val];
|
|
1726
1725
|
};
|
|
1727
1726
|
|
|
1728
1727
|
// src/utils/sequence.js
|
package/dist/cjs/utils/color.js
CHANGED
|
@@ -688,7 +688,7 @@ var require_object = __commonJS({
|
|
|
688
688
|
const spaces = " ".repeat(indent);
|
|
689
689
|
let str = "{\n";
|
|
690
690
|
for (const [key, value] of Object.entries(obj)) {
|
|
691
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
691
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
692
692
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
693
693
|
str += `${spaces} ${stringedKey}: `;
|
|
694
694
|
if ((0, import_types.isArray)(value)) {
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -688,7 +688,7 @@ var require_object = __commonJS({
|
|
|
688
688
|
const spaces = " ".repeat(indent);
|
|
689
689
|
let str = "{\n";
|
|
690
690
|
for (const [key, value] of Object.entries(obj)) {
|
|
691
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
691
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
692
692
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
693
693
|
str += `${spaces} ${stringedKey}: `;
|
|
694
694
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
package/dist/cjs/utils/sprite.js
CHANGED
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
package/dist/cjs/utils/var.js
CHANGED
|
@@ -652,7 +652,7 @@ var require_object = __commonJS({
|
|
|
652
652
|
const spaces = " ".repeat(indent);
|
|
653
653
|
let str = "{\n";
|
|
654
654
|
for (const [key, value] of Object.entries(obj)) {
|
|
655
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
655
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
656
656
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
657
657
|
str += `${spaces} ${stringedKey}: `;
|
|
658
658
|
if ((0, import_types.isArray)(value)) {
|
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": "2.11.
|
|
5
|
+
"version": "2.11.255",
|
|
6
6
|
"files": [
|
|
7
7
|
"src",
|
|
8
8
|
"dist"
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"@symbo.ls/utils": "latest",
|
|
30
30
|
"color-contrast-checker": "^1.5.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "789077788ae862a474a34ae9d8844186c44624c1"
|
|
33
33
|
}
|