@likec4/styles 1.29.0 → 1.29.1
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/helpers.mjs +3 -0
- package/package.json +6 -6
package/dist/helpers.mjs
CHANGED
|
@@ -64,11 +64,14 @@ var memo = (fn) => {
|
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
// src/merge-props.ts
|
|
67
|
+
var MERGE_OMIT = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
67
68
|
function mergeProps(...sources) {
|
|
68
69
|
return sources.reduce((prev, obj) => {
|
|
69
70
|
if (!obj)
|
|
70
71
|
return prev;
|
|
71
72
|
Object.keys(obj).forEach((key) => {
|
|
73
|
+
if (MERGE_OMIT.has(key))
|
|
74
|
+
return;
|
|
72
75
|
const prevValue = prev[key];
|
|
73
76
|
const value = obj[key];
|
|
74
77
|
if (isObject(prevValue) && isObject(value)) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/styles",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.29.
|
|
4
|
+
"version": "1.29.1",
|
|
5
5
|
"bugs": "https://github.com/likec4/likec4/issues",
|
|
6
6
|
"homepage": "https://likec4.dev",
|
|
7
7
|
"author": "Denis Davydkov <denis@davydkov.com>",
|
|
@@ -59,22 +59,22 @@
|
|
|
59
59
|
"./dev": "./dev.ts"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@pandacss/dev": "^0.53.
|
|
62
|
+
"@pandacss/dev": "^0.53.4",
|
|
63
63
|
"@pandabox/unplugin": "^0.2.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@pandabox/utils": "^0.0.5",
|
|
67
67
|
"@pandabox/panda-plugins": "^0.0.8",
|
|
68
68
|
"std-env": "^3.9.0",
|
|
69
|
-
"@types/react": "^19.
|
|
70
|
-
"@types/react-dom": "^19.
|
|
69
|
+
"@types/react": "^19.1.1",
|
|
70
|
+
"@types/react-dom": "^19.1.2",
|
|
71
71
|
"postcss": "^8.5.3",
|
|
72
72
|
"remeda": "^2.21.2",
|
|
73
73
|
"nano-spawn": "^0.2.0",
|
|
74
74
|
"unbuild": "^3.5.0",
|
|
75
75
|
"typescript": "^5.8.3",
|
|
76
|
-
"@likec4/style-preset": "1.29.
|
|
77
|
-
"@likec4/tsconfig": "1.29.
|
|
76
|
+
"@likec4/style-preset": "1.29.1",
|
|
77
|
+
"@likec4/tsconfig": "1.29.1"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"typecheck": "tsc --noEmit",
|