@pandacss/config 0.0.0-dev-20230609132211 → 0.0.0-dev-20230611145407

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 CHANGED
@@ -6,7 +6,28 @@ declare function findConfigFile({ cwd, file }: {
6
6
  file?: string;
7
7
  }): string | void;
8
8
 
9
- declare function getConfigDependencies(filePath: string): Set<string>;
9
+ type PathMapping = {
10
+ pattern: RegExp;
11
+ paths: string[];
12
+ };
13
+
14
+ type GetDepsOptions = {
15
+ filename: string;
16
+ ext: string;
17
+ cwd: string;
18
+ seen: Set<string>;
19
+ baseUrl: string | undefined;
20
+ pathMappings: PathMapping[];
21
+ foundModuleAliases: Map<string, string>;
22
+ };
23
+ type GetConfigDependenciesTsOptions = {
24
+ baseUrl?: string | undefined;
25
+ pathMappings: PathMapping[];
26
+ };
27
+ declare function getConfigDependencies(filePath: string, tsOptions?: GetConfigDependenciesTsOptions): {
28
+ deps: Set<string>;
29
+ aliases: Map<string, string>;
30
+ };
10
31
 
11
32
  type ConfigFileOptions = {
12
33
  cwd: string;
@@ -33,4 +54,4 @@ declare function mergeConfigs(configs: ExtendableConfig[]): any;
33
54
  */
34
55
  declare function getResolvedConfig(config: ExtendableConfig, cwd: string): Promise<Config>;
35
56
 
36
- export { bundleConfigFile, findConfigFile, getConfigDependencies, getResolvedConfig, loadConfigFile, mergeConfigs, resolveConfigFile };
57
+ export { GetConfigDependenciesTsOptions, GetDepsOptions, bundleConfigFile, findConfigFile, getConfigDependencies, getResolvedConfig, loadConfigFile, mergeConfigs, resolveConfigFile };
package/dist/index.js CHANGED
@@ -57,6 +57,26 @@ function findConfigFile({ cwd, file }) {
57
57
  // src/get-mod-deps.ts
58
58
  var import_fs = __toESM(require("fs"));
59
59
  var import_path2 = __toESM(require("path"));
60
+
61
+ // src/ts-config-paths-mappings.ts
62
+ var resolveTsPathPattern = (pathMappings, moduleSpecifier) => {
63
+ for (const mapping of pathMappings) {
64
+ const match = moduleSpecifier.match(mapping.pattern);
65
+ if (!match) {
66
+ continue;
67
+ }
68
+ for (const pathTemplate of mapping.paths) {
69
+ let starCount = 0;
70
+ const mappedId = pathTemplate.replace(/\*/g, () => {
71
+ const matchIndex = Math.min(++starCount, match.length - 1);
72
+ return match[matchIndex];
73
+ });
74
+ return mappedId;
75
+ }
76
+ }
77
+ };
78
+
79
+ // src/get-mod-deps.ts
60
80
  var jsExtensions = [".js", ".cjs", ".mjs"];
61
81
  var jsResolutionOrder = ["", ".js", ".cjs", ".mjs", ".ts", ".cts", ".mts", ".jsx", ".tsx"];
62
82
  var tsResolutionOrder = ["", ".ts", ".cts", ".mts", ".tsx", ".js", ".cjs", ".mjs", ".jsx"];
@@ -75,59 +95,84 @@ function resolveWithExtension(file, extensions) {
75
95
  }
76
96
  return null;
77
97
  }
78
- function* getDeps(filename, base, seen, ext = import_path2.default.extname(filename)) {
98
+ var importRegex = /import[\s\S]*?['"](.{3,}?)['"]/gi;
99
+ var importFromRegex = /import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi;
100
+ var requireRegex = /require\(['"`](.+)['"`]\)/gi;
101
+ var exportRegex = /export[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi;
102
+ function getDeps(opts, fromAlias) {
103
+ const { filename, seen } = opts;
79
104
  const absoluteFile = resolveWithExtension(
80
- import_path2.default.resolve(base, filename),
81
- jsExtensions.includes(ext) ? jsResolutionOrder : tsResolutionOrder
105
+ import_path2.default.resolve(opts.cwd, filename),
106
+ jsExtensions.includes(opts.ext) ? jsResolutionOrder : tsResolutionOrder
82
107
  );
83
108
  if (absoluteFile === null)
84
109
  return;
110
+ if (fromAlias) {
111
+ opts.foundModuleAliases.set(fromAlias, absoluteFile);
112
+ }
85
113
  if (seen.has(absoluteFile))
86
114
  return;
87
115
  seen.add(absoluteFile);
88
- yield absoluteFile;
89
- base = import_path2.default.dirname(absoluteFile);
90
- ext = import_path2.default.extname(absoluteFile);
91
116
  const contents = import_fs.default.readFileSync(absoluteFile, "utf-8");
92
- for (const match of [
93
- ...contents.matchAll(/import[\s\S]*?['"](.{3,}?)['"]/gi),
94
- ...contents.matchAll(/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi),
95
- ...contents.matchAll(/require\(['"`](.+)['"`]\)/gi)
96
- ]) {
97
- if (!match[1].startsWith("."))
98
- continue;
99
- yield* getDeps(match[1], base, seen, ext);
100
- }
117
+ const fileDeps = [
118
+ ...contents.matchAll(importRegex),
119
+ ...contents.matchAll(importFromRegex),
120
+ ...contents.matchAll(requireRegex),
121
+ ...contents.matchAll(exportRegex)
122
+ ];
123
+ if (!fileDeps.length)
124
+ return;
125
+ const nextOpts = {
126
+ // Resolve new base for new imports/requires
127
+ cwd: import_path2.default.dirname(absoluteFile),
128
+ ext: import_path2.default.extname(absoluteFile),
129
+ seen,
130
+ baseUrl: opts.baseUrl,
131
+ pathMappings: opts.pathMappings,
132
+ foundModuleAliases: opts.foundModuleAliases
133
+ };
134
+ fileDeps.forEach((match) => {
135
+ const mod = match[1];
136
+ if (mod[0] === ".") {
137
+ getDeps(Object.assign({}, nextOpts, { filename: mod }));
138
+ return;
139
+ }
140
+ if (!opts.pathMappings)
141
+ return;
142
+ const filename2 = resolveTsPathPattern(opts.pathMappings, mod);
143
+ if (!filename2)
144
+ return;
145
+ getDeps(Object.assign({}, nextOpts, { filename: filename2 }), mod);
146
+ });
101
147
  }
102
- function getConfigDependencies(filePath) {
148
+ function getConfigDependencies(filePath, tsOptions = { pathMappings: [] }) {
103
149
  if (filePath === null)
104
- return /* @__PURE__ */ new Set();
105
- return new Set(getDeps(filePath, import_path2.default.dirname(filePath), /* @__PURE__ */ new Set()));
150
+ return { deps: /* @__PURE__ */ new Set(), aliases: /* @__PURE__ */ new Map() };
151
+ const foundModuleAliases = /* @__PURE__ */ new Map();
152
+ const deps = /* @__PURE__ */ new Set();
153
+ deps.add(filePath);
154
+ getDeps({
155
+ filename: filePath,
156
+ ext: import_path2.default.extname(filePath),
157
+ cwd: import_path2.default.dirname(filePath),
158
+ seen: deps,
159
+ baseUrl: tsOptions.baseUrl,
160
+ pathMappings: tsOptions.pathMappings ?? [],
161
+ foundModuleAliases
162
+ });
163
+ return { deps, aliases: foundModuleAliases };
106
164
  }
107
165
 
108
166
  // src/load-config.ts
109
167
  var import_error = require("@pandacss/error");
110
- var import_logger2 = require("@pandacss/logger");
168
+ var import_logger = require("@pandacss/logger");
111
169
 
112
170
  // src/bundle.ts
113
- var import_jiti = __toESM(require("jiti"));
114
- var import_logger = require("@pandacss/logger");
115
- var jiti;
116
- var bundle = async (filePath, cwd) => {
117
- let conf;
118
- try {
119
- jiti = jiti ?? (0, import_jiti.default)(cwd, { esmResolve: true, interopDefault: true });
120
- conf = jiti(filePath);
121
- } catch {
122
- import_logger.logger.debug("bundle", "Couldn't load config with jiti, trying require: " + filePath);
123
- conf = require(filePath);
124
- }
125
- return {
126
- config: Object.assign({}, conf.default ?? conf),
127
- // prevent mutating the original config
128
- dependencies: Array.from(getConfigDependencies(filePath))
129
- };
130
- };
171
+ var import_bundle_n_require = require("bundle-n-require");
172
+ async function bundle(filepath, cwd) {
173
+ const { mod: config, dependencies } = await (0, import_bundle_n_require.bundleNRequire)(filepath, { cwd, interopDefault: true });
174
+ return { config: config?.default ?? config, dependencies };
175
+ }
131
176
 
132
177
  // src/merge-config.ts
133
178
  var import_merge_anything = require("merge-anything");
@@ -168,7 +213,12 @@ function assign(target, ...sources) {
168
213
  // src/merge-config.ts
169
214
  function getExtends(items) {
170
215
  return items.reduce((merged, { extend }) => {
216
+ if (!extend)
217
+ return merged;
171
218
  return mergeWith(merged, extend, (originalValue, newValue) => {
219
+ if (newValue === void 0) {
220
+ return originalValue ?? [];
221
+ }
172
222
  if (originalValue === void 0) {
173
223
  return [newValue];
174
224
  }
@@ -231,18 +281,34 @@ async function getResolvedConfig(config, cwd) {
231
281
  }
232
282
 
233
283
  // src/load-config.ts
284
+ var import_preset_base = require("@pandacss/preset-base");
285
+ var import_preset_panda = require("@pandacss/preset-panda");
286
+ var bundledPresets = {
287
+ "@pandacss/preset-base": import_preset_base.preset,
288
+ "@pandacss/preset-panda": import_preset_panda.preset,
289
+ "@pandacss/dev/presets": import_preset_panda.preset
290
+ };
291
+ var bundledPresetsNames = Object.keys(bundledPresets);
292
+ var isBundledPreset = (preset) => bundledPresetsNames.includes(preset);
234
293
  async function loadConfigFile(options) {
235
294
  const result = await bundleConfigFile(options);
236
295
  return resolveConfigFile(result, options.cwd);
237
296
  }
238
297
  async function resolveConfigFile(result, cwd) {
239
- const presets = ["@pandacss/preset-base"];
298
+ const presets = /* @__PURE__ */ new Set();
299
+ presets.add(import_preset_base.preset);
240
300
  if (!result.config.presets) {
241
- presets.push("@pandacss/dev/presets");
301
+ presets.add(import_preset_panda.preset);
242
302
  } else {
243
- presets.push(...result.config.presets);
303
+ result.config.presets.forEach((preset) => {
304
+ if (typeof preset === "string" && isBundledPreset(preset)) {
305
+ presets.add(bundledPresets[preset]);
306
+ } else {
307
+ presets.add(preset);
308
+ }
309
+ });
244
310
  }
245
- result.config.presets = presets;
311
+ result.config.presets = Array.from(presets);
246
312
  const mergedConfig = await getResolvedConfig(result.config, cwd);
247
313
  return { ...result, config: mergedConfig };
248
314
  }
@@ -252,7 +318,7 @@ async function bundleConfigFile(options) {
252
318
  if (!filePath) {
253
319
  throw new import_error.ConfigNotFoundError();
254
320
  }
255
- import_logger2.logger.debug("config:path", filePath);
321
+ import_logger.logger.debug("config:path", filePath);
256
322
  const result = await bundle(filePath, cwd);
257
323
  if (typeof result.config !== "object") {
258
324
  throw new import_error.ConfigError(`\u{1F4A5} Config must export or return an object.`);
package/dist/index.mjs CHANGED
@@ -1,11 +1,3 @@
1
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
- }) : x)(function(x) {
4
- if (typeof require !== "undefined")
5
- return require.apply(this, arguments);
6
- throw new Error('Dynamic require of "' + x + '" is not supported');
7
- });
8
-
9
1
  // src/find-config.ts
10
2
  import findUp from "escalade/sync";
11
3
  import { resolve } from "path";
@@ -23,6 +15,26 @@ function findConfigFile({ cwd, file }) {
23
15
  // src/get-mod-deps.ts
24
16
  import fs from "fs";
25
17
  import path from "path";
18
+
19
+ // src/ts-config-paths-mappings.ts
20
+ var resolveTsPathPattern = (pathMappings, moduleSpecifier) => {
21
+ for (const mapping of pathMappings) {
22
+ const match = moduleSpecifier.match(mapping.pattern);
23
+ if (!match) {
24
+ continue;
25
+ }
26
+ for (const pathTemplate of mapping.paths) {
27
+ let starCount = 0;
28
+ const mappedId = pathTemplate.replace(/\*/g, () => {
29
+ const matchIndex = Math.min(++starCount, match.length - 1);
30
+ return match[matchIndex];
31
+ });
32
+ return mappedId;
33
+ }
34
+ }
35
+ };
36
+
37
+ // src/get-mod-deps.ts
26
38
  var jsExtensions = [".js", ".cjs", ".mjs"];
27
39
  var jsResolutionOrder = ["", ".js", ".cjs", ".mjs", ".ts", ".cts", ".mts", ".jsx", ".tsx"];
28
40
  var tsResolutionOrder = ["", ".ts", ".cts", ".mts", ".tsx", ".js", ".cjs", ".mjs", ".jsx"];
@@ -41,59 +53,84 @@ function resolveWithExtension(file, extensions) {
41
53
  }
42
54
  return null;
43
55
  }
44
- function* getDeps(filename, base, seen, ext = path.extname(filename)) {
56
+ var importRegex = /import[\s\S]*?['"](.{3,}?)['"]/gi;
57
+ var importFromRegex = /import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi;
58
+ var requireRegex = /require\(['"`](.+)['"`]\)/gi;
59
+ var exportRegex = /export[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi;
60
+ function getDeps(opts, fromAlias) {
61
+ const { filename, seen } = opts;
45
62
  const absoluteFile = resolveWithExtension(
46
- path.resolve(base, filename),
47
- jsExtensions.includes(ext) ? jsResolutionOrder : tsResolutionOrder
63
+ path.resolve(opts.cwd, filename),
64
+ jsExtensions.includes(opts.ext) ? jsResolutionOrder : tsResolutionOrder
48
65
  );
49
66
  if (absoluteFile === null)
50
67
  return;
68
+ if (fromAlias) {
69
+ opts.foundModuleAliases.set(fromAlias, absoluteFile);
70
+ }
51
71
  if (seen.has(absoluteFile))
52
72
  return;
53
73
  seen.add(absoluteFile);
54
- yield absoluteFile;
55
- base = path.dirname(absoluteFile);
56
- ext = path.extname(absoluteFile);
57
74
  const contents = fs.readFileSync(absoluteFile, "utf-8");
58
- for (const match of [
59
- ...contents.matchAll(/import[\s\S]*?['"](.{3,}?)['"]/gi),
60
- ...contents.matchAll(/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi),
61
- ...contents.matchAll(/require\(['"`](.+)['"`]\)/gi)
62
- ]) {
63
- if (!match[1].startsWith("."))
64
- continue;
65
- yield* getDeps(match[1], base, seen, ext);
66
- }
75
+ const fileDeps = [
76
+ ...contents.matchAll(importRegex),
77
+ ...contents.matchAll(importFromRegex),
78
+ ...contents.matchAll(requireRegex),
79
+ ...contents.matchAll(exportRegex)
80
+ ];
81
+ if (!fileDeps.length)
82
+ return;
83
+ const nextOpts = {
84
+ // Resolve new base for new imports/requires
85
+ cwd: path.dirname(absoluteFile),
86
+ ext: path.extname(absoluteFile),
87
+ seen,
88
+ baseUrl: opts.baseUrl,
89
+ pathMappings: opts.pathMappings,
90
+ foundModuleAliases: opts.foundModuleAliases
91
+ };
92
+ fileDeps.forEach((match) => {
93
+ const mod = match[1];
94
+ if (mod[0] === ".") {
95
+ getDeps(Object.assign({}, nextOpts, { filename: mod }));
96
+ return;
97
+ }
98
+ if (!opts.pathMappings)
99
+ return;
100
+ const filename2 = resolveTsPathPattern(opts.pathMappings, mod);
101
+ if (!filename2)
102
+ return;
103
+ getDeps(Object.assign({}, nextOpts, { filename: filename2 }), mod);
104
+ });
67
105
  }
68
- function getConfigDependencies(filePath) {
106
+ function getConfigDependencies(filePath, tsOptions = { pathMappings: [] }) {
69
107
  if (filePath === null)
70
- return /* @__PURE__ */ new Set();
71
- return new Set(getDeps(filePath, path.dirname(filePath), /* @__PURE__ */ new Set()));
108
+ return { deps: /* @__PURE__ */ new Set(), aliases: /* @__PURE__ */ new Map() };
109
+ const foundModuleAliases = /* @__PURE__ */ new Map();
110
+ const deps = /* @__PURE__ */ new Set();
111
+ deps.add(filePath);
112
+ getDeps({
113
+ filename: filePath,
114
+ ext: path.extname(filePath),
115
+ cwd: path.dirname(filePath),
116
+ seen: deps,
117
+ baseUrl: tsOptions.baseUrl,
118
+ pathMappings: tsOptions.pathMappings ?? [],
119
+ foundModuleAliases
120
+ });
121
+ return { deps, aliases: foundModuleAliases };
72
122
  }
73
123
 
74
124
  // src/load-config.ts
75
125
  import { ConfigError, ConfigNotFoundError } from "@pandacss/error";
76
- import { logger as logger2 } from "@pandacss/logger";
126
+ import { logger } from "@pandacss/logger";
77
127
 
78
128
  // src/bundle.ts
79
- import createJITI from "jiti";
80
- import { logger } from "@pandacss/logger";
81
- var jiti;
82
- var bundle = async (filePath, cwd) => {
83
- let conf;
84
- try {
85
- jiti = jiti ?? createJITI(cwd, { esmResolve: true, interopDefault: true });
86
- conf = jiti(filePath);
87
- } catch {
88
- logger.debug("bundle", "Couldn't load config with jiti, trying require: " + filePath);
89
- conf = __require(filePath);
90
- }
91
- return {
92
- config: Object.assign({}, conf.default ?? conf),
93
- // prevent mutating the original config
94
- dependencies: Array.from(getConfigDependencies(filePath))
95
- };
96
- };
129
+ import { bundleNRequire } from "bundle-n-require";
130
+ async function bundle(filepath, cwd) {
131
+ const { mod: config, dependencies } = await bundleNRequire(filepath, { cwd, interopDefault: true });
132
+ return { config: config?.default ?? config, dependencies };
133
+ }
97
134
 
98
135
  // src/merge-config.ts
99
136
  import { mergeAndConcat } from "merge-anything";
@@ -134,7 +171,12 @@ function assign(target, ...sources) {
134
171
  // src/merge-config.ts
135
172
  function getExtends(items) {
136
173
  return items.reduce((merged, { extend }) => {
174
+ if (!extend)
175
+ return merged;
137
176
  return mergeWith(merged, extend, (originalValue, newValue) => {
177
+ if (newValue === void 0) {
178
+ return originalValue ?? [];
179
+ }
138
180
  if (originalValue === void 0) {
139
181
  return [newValue];
140
182
  }
@@ -197,18 +239,34 @@ async function getResolvedConfig(config, cwd) {
197
239
  }
198
240
 
199
241
  // src/load-config.ts
242
+ import { preset as presetBase } from "@pandacss/preset-base";
243
+ import { preset as presetPanda } from "@pandacss/preset-panda";
244
+ var bundledPresets = {
245
+ "@pandacss/preset-base": presetBase,
246
+ "@pandacss/preset-panda": presetPanda,
247
+ "@pandacss/dev/presets": presetPanda
248
+ };
249
+ var bundledPresetsNames = Object.keys(bundledPresets);
250
+ var isBundledPreset = (preset) => bundledPresetsNames.includes(preset);
200
251
  async function loadConfigFile(options) {
201
252
  const result = await bundleConfigFile(options);
202
253
  return resolveConfigFile(result, options.cwd);
203
254
  }
204
255
  async function resolveConfigFile(result, cwd) {
205
- const presets = ["@pandacss/preset-base"];
256
+ const presets = /* @__PURE__ */ new Set();
257
+ presets.add(presetBase);
206
258
  if (!result.config.presets) {
207
- presets.push("@pandacss/dev/presets");
259
+ presets.add(presetPanda);
208
260
  } else {
209
- presets.push(...result.config.presets);
261
+ result.config.presets.forEach((preset) => {
262
+ if (typeof preset === "string" && isBundledPreset(preset)) {
263
+ presets.add(bundledPresets[preset]);
264
+ } else {
265
+ presets.add(preset);
266
+ }
267
+ });
210
268
  }
211
- result.config.presets = presets;
269
+ result.config.presets = Array.from(presets);
212
270
  const mergedConfig = await getResolvedConfig(result.config, cwd);
213
271
  return { ...result, config: mergedConfig };
214
272
  }
@@ -218,7 +276,7 @@ async function bundleConfigFile(options) {
218
276
  if (!filePath) {
219
277
  throw new ConfigNotFoundError();
220
278
  }
221
- logger2.debug("config:path", filePath);
279
+ logger.debug("config:path", filePath);
222
280
  const result = await bundle(filePath, cwd);
223
281
  if (typeof result.config !== "object") {
224
282
  throw new ConfigError(`\u{1F4A5} Config must export or return an object.`);
@@ -0,0 +1,115 @@
1
+ import * as _pandacss_types from '@pandacss/types';
2
+
3
+ declare const preset: {
4
+ conditions: {
5
+ hover: string;
6
+ focus: string;
7
+ focusWithin: string;
8
+ focusVisible: string;
9
+ disabled: string;
10
+ active: string;
11
+ visited: string;
12
+ target: string;
13
+ readOnly: string;
14
+ readWrite: string;
15
+ empty: string;
16
+ checked: string;
17
+ enabled: string;
18
+ expanded: string;
19
+ highlighted: string;
20
+ before: string;
21
+ after: string;
22
+ firstLetter: string;
23
+ firstLine: string;
24
+ marker: string;
25
+ selection: string;
26
+ file: string;
27
+ backdrop: string;
28
+ first: string;
29
+ last: string;
30
+ only: string;
31
+ even: string;
32
+ odd: string;
33
+ firstOfType: string;
34
+ lastOfType: string;
35
+ onlyOfType: string;
36
+ peerFocus: string;
37
+ peerHover: string;
38
+ peerActive: string;
39
+ peerFocusWithin: string;
40
+ peerFocusVisible: string;
41
+ peerDisabled: string;
42
+ peerChecked: string;
43
+ peerInvalid: string;
44
+ peerExpanded: string;
45
+ peerPlaceholderShown: string;
46
+ groupFocus: string;
47
+ groupHover: string;
48
+ groupActive: string;
49
+ groupFocusWithin: string;
50
+ groupFocusVisible: string;
51
+ groupDisabled: string;
52
+ groupChecked: string;
53
+ groupExpanded: string;
54
+ groupInvalid: string;
55
+ indeterminate: string;
56
+ required: string;
57
+ valid: string;
58
+ invalid: string;
59
+ autofill: string;
60
+ inRange: string;
61
+ outOfRange: string;
62
+ placeholder: string;
63
+ placeholderShown: string;
64
+ pressed: string;
65
+ selected: string;
66
+ default: string;
67
+ optional: string;
68
+ open: string;
69
+ fullscreen: string;
70
+ loading: string;
71
+ currentPage: string;
72
+ currentStep: string;
73
+ motionReduce: string;
74
+ motionSafe: string;
75
+ print: string;
76
+ landscape: string;
77
+ portrait: string;
78
+ dark: string;
79
+ light: string;
80
+ osDark: string;
81
+ osLight: string;
82
+ highConstrast: string;
83
+ lessContrast: string;
84
+ moreContrast: string;
85
+ ltr: string;
86
+ rtl: string;
87
+ scrollbar: string;
88
+ scrollbarThumb: string;
89
+ scrollbarTrack: string;
90
+ horizontal: string;
91
+ vertical: string;
92
+ };
93
+ utilities: _pandacss_types.UtilityConfig;
94
+ patterns: {
95
+ box: _pandacss_types.PatternConfig;
96
+ flex: _pandacss_types.PatternConfig;
97
+ stack: _pandacss_types.PatternConfig;
98
+ vstack: _pandacss_types.PatternConfig;
99
+ hstack: _pandacss_types.PatternConfig;
100
+ spacer: _pandacss_types.PatternConfig;
101
+ square: _pandacss_types.PatternConfig;
102
+ circle: _pandacss_types.PatternConfig;
103
+ center: _pandacss_types.PatternConfig;
104
+ absoluteCenter: _pandacss_types.PatternConfig;
105
+ aspectRatio: _pandacss_types.PatternConfig;
106
+ grid: _pandacss_types.PatternConfig;
107
+ gridItem: _pandacss_types.PatternConfig;
108
+ wrap: _pandacss_types.PatternConfig;
109
+ container: _pandacss_types.PatternConfig;
110
+ divider: _pandacss_types.PatternConfig;
111
+ float: _pandacss_types.PatternConfig;
112
+ };
113
+ };
114
+
115
+ export { preset as default, preset };