@pandacss/studio 0.0.0-dev-20231214163853 → 0.0.0-dev-20231214172157
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/studio",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20231214172157",
|
|
4
4
|
"description": "The automated token documentation for Panda CSS",
|
|
5
5
|
"main": "dist/studio.js",
|
|
6
6
|
"module": "dist/studio.mjs",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"react": "18.2.0",
|
|
42
42
|
"react-dom": "18.2.0",
|
|
43
43
|
"vite": "5.0.7",
|
|
44
|
-
"@pandacss/config": "0.0.0-dev-
|
|
45
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
46
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
47
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
48
|
-
"@pandacss/types": "0.0.0-dev-
|
|
49
|
-
"@pandacss/astro-plugin-studio": "0.0.0-dev-
|
|
44
|
+
"@pandacss/config": "0.0.0-dev-20231214172157",
|
|
45
|
+
"@pandacss/logger": "0.0.0-dev-20231214172157",
|
|
46
|
+
"@pandacss/shared": "0.0.0-dev-20231214172157",
|
|
47
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20231214172157",
|
|
48
|
+
"@pandacss/types": "0.0.0-dev-20231214172157",
|
|
49
|
+
"@pandacss/astro-plugin-studio": "0.0.0-dev-20231214172157"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/react": "18.2.42",
|
|
@@ -15,7 +15,7 @@ function filterBaseConditions(c) {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
// src/css-important.ts
|
|
18
|
-
var importantRegex = /!(important)
|
|
18
|
+
var importantRegex = /!(important)?/;
|
|
19
19
|
function isImportant(value) {
|
|
20
20
|
return typeof value === "string" ? importantRegex.test(value) : false;
|
|
21
21
|
}
|
|
@@ -90,7 +90,7 @@ function walkObject(target, predicate, options = {}) {
|
|
|
90
90
|
}
|
|
91
91
|
function mapObject(obj, fn) {
|
|
92
92
|
if (Array.isArray(obj))
|
|
93
|
-
return obj.map(fn);
|
|
93
|
+
return obj.map((value) => fn(value));
|
|
94
94
|
if (!isObject(obj))
|
|
95
95
|
return fn(obj);
|
|
96
96
|
return walkObject(obj, (value) => fn(value));
|