@pandacss/generator 0.0.0-dev-20230513102701 → 0.0.0-dev-20230515185702
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.d.ts +3 -1
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,7 @@ declare const getEngine: (conf: LoadConfigResult) => {
|
|
|
93
93
|
conditions: _pandacss_core.Conditions;
|
|
94
94
|
utility: _pandacss_core.Utility;
|
|
95
95
|
tokens: _pandacss_token_dictionary.TokenDictionary;
|
|
96
|
+
configDependencies: string[];
|
|
96
97
|
dependencies: string[];
|
|
97
98
|
createSheet: (options?: _pandacss_core.StylesheetOptions | undefined) => _pandacss_core.Stylesheet;
|
|
98
99
|
properties: string[];
|
|
@@ -180,6 +181,8 @@ declare const createGenerator: (conf: LoadConfigResult) => {
|
|
|
180
181
|
splitProps: (name: string, props: Record<string, any>) => Record<string, any>[];
|
|
181
182
|
isEmpty: () => boolean;
|
|
182
183
|
};
|
|
184
|
+
configDependencies: string[];
|
|
185
|
+
dependencies: string[];
|
|
183
186
|
patterns: {
|
|
184
187
|
transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
|
|
185
188
|
nodes: {
|
|
@@ -210,7 +213,6 @@ declare const createGenerator: (conf: LoadConfigResult) => {
|
|
|
210
213
|
getFnName: (jsx: string) => string;
|
|
211
214
|
isEmpty: () => boolean;
|
|
212
215
|
};
|
|
213
|
-
dependencies: string[];
|
|
214
216
|
createSheet: (options?: _pandacss_core.StylesheetOptions | undefined) => _pandacss_core.Stylesheet;
|
|
215
217
|
properties: string[];
|
|
216
218
|
isValidProperty: (key: string) => boolean;
|
package/dist/index.js
CHANGED
|
@@ -2126,6 +2126,7 @@ var import_postcss3 = __toESM(require("postcss"));
|
|
|
2126
2126
|
var helpers = { map: import_shared4.mapObject };
|
|
2127
2127
|
var getBaseEngine = (conf) => (0, import_lil_fp.pipe)(
|
|
2128
2128
|
conf,
|
|
2129
|
+
import_lil_fp.Obj.bind("configDependencies", ({ dependencies }) => dependencies ?? []),
|
|
2129
2130
|
import_lil_fp.Obj.bind("tokens", ({ config: { theme = {}, prefix } }) => {
|
|
2130
2131
|
const { breakpoints, tokens, semanticTokens } = theme;
|
|
2131
2132
|
return new import_token_dictionary.TokenDictionary({ breakpoints, tokens, semanticTokens, prefix });
|
package/dist/index.mjs
CHANGED
|
@@ -2095,6 +2095,7 @@ import postcss3 from "postcss";
|
|
|
2095
2095
|
var helpers = { map: mapObject };
|
|
2096
2096
|
var getBaseEngine = (conf) => pipe2(
|
|
2097
2097
|
conf,
|
|
2098
|
+
Obj.bind("configDependencies", ({ dependencies }) => dependencies ?? []),
|
|
2098
2099
|
Obj.bind("tokens", ({ config: { theme = {}, prefix } }) => {
|
|
2099
2100
|
const { breakpoints, tokens, semanticTokens } = theme;
|
|
2100
2101
|
return new TokenDictionary({ breakpoints, tokens, semanticTokens, prefix });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/generator",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20230515185702",
|
|
4
4
|
"description": "The css generator for css panda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
"pluralize": "8.0.0",
|
|
21
21
|
"postcss": "8.4.23",
|
|
22
22
|
"ts-pattern": "4.3.0",
|
|
23
|
-
"@pandacss/core": "0.0.0-dev-
|
|
24
|
-
"@pandacss/logger": "0.0.0-dev-
|
|
25
|
-
"@pandacss/is-valid-prop": "0.0.0-dev-
|
|
26
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
27
|
-
"@pandacss/types": "0.0.0-dev-
|
|
28
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
23
|
+
"@pandacss/core": "0.0.0-dev-20230515185702",
|
|
24
|
+
"@pandacss/logger": "0.0.0-dev-20230515185702",
|
|
25
|
+
"@pandacss/is-valid-prop": "0.0.0-dev-20230515185702",
|
|
26
|
+
"@pandacss/shared": "0.0.0-dev-20230515185702",
|
|
27
|
+
"@pandacss/types": "0.0.0-dev-20230515185702",
|
|
28
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230515185702"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/pluralize": "0.0.29",
|
|
32
|
-
"@pandacss/fixture": "0.0.0-dev-
|
|
32
|
+
"@pandacss/fixture": "0.0.0-dev-20230515185702"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"prebuild": "tsx scripts/prebuild.ts",
|