@symbo.ls/uikit 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/index.cjs.js +12 -9
- package/dist/index.cjs.js.map +2 -2
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -705,7 +705,7 @@ var require_cjs = __commonJS({
|
|
|
705
705
|
const spaces = " ".repeat(indent);
|
|
706
706
|
let str = "{\n";
|
|
707
707
|
for (const [key, value] of Object.entries(obj)) {
|
|
708
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
708
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
709
709
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
710
710
|
str += `${spaces} ${stringedKey}: `;
|
|
711
711
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -1748,14 +1748,13 @@ var require_cjs = __commonJS({
|
|
|
1748
1748
|
};
|
|
1749
1749
|
var toDashCase = (val) => val.replace(/[^a-zA-Z0-9]/g, " ").trim().toLowerCase().replace(/\s+/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
1750
1750
|
var arrayzeValue = (val) => {
|
|
1751
|
+
if ((0, import_utils32.isArray)(val))
|
|
1752
|
+
return val;
|
|
1751
1753
|
if ((0, import_utils32.isString)(val))
|
|
1752
1754
|
return val.split(" ");
|
|
1753
1755
|
if ((0, import_utils32.isObject)(val))
|
|
1754
|
-
return Object.
|
|
1755
|
-
|
|
1756
|
-
return [val];
|
|
1757
|
-
if ((0, import_utils32.isArray)(val))
|
|
1758
|
-
return val;
|
|
1756
|
+
return Object.values(val);
|
|
1757
|
+
return [val];
|
|
1759
1758
|
};
|
|
1760
1759
|
var import_utils42 = __toESM2(require_cjs22(), 1);
|
|
1761
1760
|
var defaultConfig_exports = {};
|
|
@@ -3943,7 +3942,7 @@ var require_object = __commonJS({
|
|
|
3943
3942
|
const spaces = " ".repeat(indent);
|
|
3944
3943
|
let str = "{\n";
|
|
3945
3944
|
for (const [key, value] of Object.entries(obj)) {
|
|
3946
|
-
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "@", ".", "/", "!", " "]);
|
|
3945
|
+
const keyNotAllowdChars = (0, import_string.stringIncludesAny)(key, ["&", "*", "-", ":", "%", "{", "}", ">", "<", "@", ".", "/", "!", " "]);
|
|
3947
3946
|
const stringedKey = keyNotAllowdChars ? `'${key}'` : key;
|
|
3948
3947
|
str += `${spaces} ${stringedKey}: `;
|
|
3949
3948
|
if ((0, import_types.isArray)(value)) {
|
|
@@ -6467,9 +6466,8 @@ var execClass = (key, props4, result, element) => {
|
|
|
6467
6466
|
state: element.state,
|
|
6468
6467
|
deps: element.deps
|
|
6469
6468
|
});
|
|
6470
|
-
if ((0, import_utils2.isArray)(classExec))
|
|
6469
|
+
if ((0, import_utils2.isArray)(classExec))
|
|
6471
6470
|
classExec = classExec.reduce((a, c) => (0, import_utils2.merge)(a, c), {});
|
|
6472
|
-
}
|
|
6473
6471
|
for (const finalProp in classExec) {
|
|
6474
6472
|
result[finalProp] = classExec[finalProp];
|
|
6475
6473
|
}
|
|
@@ -6571,6 +6569,11 @@ var beforeClassAssign = (element, s) => {
|
|
|
6571
6569
|
if (setter)
|
|
6572
6570
|
setter(key, props4[key], CLASS_NAMES, element);
|
|
6573
6571
|
}
|
|
6572
|
+
if (props4["-"]) {
|
|
6573
|
+
for (const key in props4["-"]) {
|
|
6574
|
+
execClass(key, props4, CLASS_NAMES, element);
|
|
6575
|
+
}
|
|
6576
|
+
}
|
|
6574
6577
|
const parentProps = element.parent && element.parent.props;
|
|
6575
6578
|
if (parentProps && parentProps.spacingRatio && parentProps.inheritSpacingRatio) {
|
|
6576
6579
|
element.setProps({
|