@pandacss/config 0.3.0 → 0.3.2

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/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Segun Adebayo
3
+ Copyright (c) 2023 Segun Adebayo
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/config",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Find and load panda config",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13,21 +13,17 @@
13
13
  "files": [
14
14
  "dist"
15
15
  ],
16
- "bundledDependencies": [
17
- "@pandacss/preset-base",
18
- "@pandacss/preset-panda"
19
- ],
20
16
  "dependencies": {
21
17
  "bundle-n-require": "^1.0.1",
22
18
  "escalade": "3.1.1",
23
19
  "jiti": "^1.18.2",
24
20
  "merge-anything": "^5.1.7",
25
21
  "tsconfck": "^2.1.1",
26
- "@pandacss/error": "0.3.0",
27
- "@pandacss/logger": "0.3.0",
28
- "@pandacss/preset-base": "0.3.0",
29
- "@pandacss/preset-panda": "0.3.0",
30
- "@pandacss/types": "0.3.0"
22
+ "@pandacss/error": "0.3.2",
23
+ "@pandacss/logger": "0.3.2",
24
+ "@pandacss/preset-base": "0.3.2",
25
+ "@pandacss/preset-panda": "0.3.2",
26
+ "@pandacss/types": "0.3.2"
31
27
  },
32
28
  "devDependencies": {
33
29
  "pkg-types": "1.0.3"
@@ -1,473 +0,0 @@
1
- import * as _pandacss_types_dist_pattern from '@pandacss/types/dist/pattern';
2
- import * as _pandacss_types from '@pandacss/types';
3
-
4
- declare const preset: {
5
- conditions: {
6
- hover: string;
7
- focus: string;
8
- focusWithin: string;
9
- focusVisible: string;
10
- disabled: string;
11
- active: string;
12
- visited: string;
13
- target: string;
14
- readOnly: string;
15
- readWrite: string;
16
- empty: string;
17
- checked: string;
18
- enabled: string;
19
- expanded: string;
20
- highlighted: string;
21
- before: string;
22
- after: string;
23
- firstLetter: string;
24
- firstLine: string;
25
- marker: string;
26
- selection: string;
27
- file: string;
28
- backdrop: string;
29
- first: string;
30
- last: string;
31
- only: string;
32
- even: string;
33
- odd: string;
34
- firstOfType: string;
35
- lastOfType: string;
36
- onlyOfType: string;
37
- peerFocus: string;
38
- peerHover: string;
39
- peerActive: string;
40
- peerFocusWithin: string;
41
- peerFocusVisible: string;
42
- peerDisabled: string;
43
- peerChecked: string;
44
- peerInvalid: string;
45
- peerExpanded: string;
46
- peerPlaceholderShown: string;
47
- groupFocus: string;
48
- groupHover: string;
49
- groupActive: string;
50
- groupFocusWithin: string;
51
- groupFocusVisible: string;
52
- groupDisabled: string;
53
- groupChecked: string;
54
- groupExpanded: string;
55
- groupInvalid: string;
56
- indeterminate: string;
57
- required: string;
58
- valid: string;
59
- invalid: string;
60
- autofill: string;
61
- inRange: string;
62
- outOfRange: string;
63
- placeholder: string;
64
- placeholderShown: string;
65
- pressed: string;
66
- selected: string;
67
- default: string;
68
- optional: string;
69
- open: string;
70
- fullscreen: string;
71
- loading: string;
72
- currentPage: string;
73
- currentStep: string;
74
- motionReduce: string;
75
- motionSafe: string;
76
- print: string;
77
- landscape: string;
78
- portrait: string;
79
- dark: string;
80
- light: string;
81
- osDark: string;
82
- osLight: string;
83
- highConstrast: string;
84
- lessContrast: string;
85
- moreContrast: string;
86
- ltr: string;
87
- rtl: string;
88
- scrollbar: string;
89
- scrollbarThumb: string;
90
- scrollbarTrack: string;
91
- horizontal: string;
92
- vertical: string;
93
- };
94
- utilities: _pandacss_types.UtilityConfig;
95
- patterns: {
96
- box: {
97
- properties: {};
98
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>;
99
- };
100
- flex: {
101
- properties: {
102
- align: {
103
- type: "property";
104
- value: "alignItems";
105
- };
106
- justify: {
107
- type: "property";
108
- value: "justifyContent";
109
- };
110
- direction: {
111
- type: "property";
112
- value: "flexDirection";
113
- };
114
- wrap: {
115
- type: "property";
116
- value: "flexWrap";
117
- };
118
- basis: {
119
- type: "property";
120
- value: "flexBasis";
121
- };
122
- grow: {
123
- type: "property";
124
- value: "flexGrow";
125
- };
126
- shrink: {
127
- type: "property";
128
- value: "flexShrink";
129
- };
130
- };
131
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
132
- display: "flex";
133
- flexDirection: any;
134
- alignItems: any;
135
- justifyContent: any;
136
- flexWrap: any;
137
- flexBasis: any;
138
- flexGrow: any;
139
- flexShrink: any;
140
- };
141
- };
142
- stack: {
143
- properties: {
144
- align: {
145
- type: "property";
146
- value: "alignItems";
147
- };
148
- justify: {
149
- type: "property";
150
- value: "justifyContent";
151
- };
152
- direction: {
153
- type: "property";
154
- value: "flexDirection";
155
- };
156
- gap: {
157
- type: "property";
158
- value: "gap";
159
- };
160
- };
161
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
162
- display: "flex";
163
- flexDirection: any;
164
- alignItems: any;
165
- justifyContent: any;
166
- gap: any;
167
- };
168
- };
169
- vstack: {
170
- jsx: string;
171
- properties: {
172
- justify: {
173
- type: "property";
174
- value: "justifyContent";
175
- };
176
- gap: {
177
- type: "property";
178
- value: "gap";
179
- };
180
- };
181
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
182
- display: "flex";
183
- alignItems: "center";
184
- justifyContent: any;
185
- gap: any;
186
- flexDirection: "column";
187
- };
188
- };
189
- hstack: {
190
- jsx: string;
191
- properties: {
192
- justify: {
193
- type: "property";
194
- value: "justifyContent";
195
- };
196
- gap: {
197
- type: "property";
198
- value: "gap";
199
- };
200
- };
201
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
202
- display: "flex";
203
- alignItems: "center";
204
- justifyContent: any;
205
- gap: any;
206
- flexDirection: "row";
207
- };
208
- };
209
- spacer: {
210
- properties: {
211
- size: {
212
- type: "token";
213
- value: "spacing";
214
- };
215
- };
216
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
217
- alignSelf: "stretch";
218
- justifySelf: "stretch";
219
- flex: any;
220
- };
221
- };
222
- square: {
223
- properties: {
224
- size: {
225
- type: "property";
226
- value: "width";
227
- };
228
- };
229
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
230
- display: "flex";
231
- alignItems: "center";
232
- justifyContent: "center";
233
- flex: "0 0 auto";
234
- width: any;
235
- height: any;
236
- };
237
- };
238
- circle: {
239
- properties: {
240
- size: {
241
- type: "property";
242
- value: "width";
243
- };
244
- };
245
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
246
- display: "flex";
247
- alignItems: "center";
248
- justifyContent: "center";
249
- flex: "0 0 auto";
250
- width: any;
251
- height: any;
252
- borderRadius: "9999px";
253
- };
254
- };
255
- center: {
256
- properties: {
257
- inline: {
258
- type: "boolean";
259
- };
260
- };
261
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
262
- display: "flex" | "inline-flex";
263
- alignItems: "center";
264
- justifyContent: "center";
265
- };
266
- };
267
- linkBox: {
268
- properties: {};
269
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
270
- position: "relative";
271
- '& :where(a, abbr)': {
272
- position: "relative";
273
- zIndex: "1";
274
- };
275
- };
276
- };
277
- linkOverlay: {
278
- jsxElement: string;
279
- properties: {};
280
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
281
- position: "static";
282
- _before: any;
283
- };
284
- };
285
- aspectRatio: {
286
- properties: {
287
- ratio: {
288
- type: "number";
289
- };
290
- };
291
- blocklist: "aspectRatio"[];
292
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
293
- aspectRatio: any;
294
- overflow: "hidden";
295
- display: "flex";
296
- justifyContent: "center";
297
- alignItems: "center";
298
- '&>img, &>video': {
299
- width: "100%";
300
- height: "100%";
301
- objectFit: "cover";
302
- };
303
- };
304
- };
305
- grid: {
306
- properties: {
307
- gap: {
308
- type: "property";
309
- value: "gap";
310
- };
311
- columnGap: {
312
- type: "property";
313
- value: "gap";
314
- };
315
- rowGap: {
316
- type: "property";
317
- value: "gap";
318
- };
319
- columns: {
320
- type: "number";
321
- };
322
- minChildWidth: {
323
- type: "token";
324
- value: "sizes";
325
- property: "width";
326
- };
327
- };
328
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
329
- display: "grid";
330
- gridTemplateColumns: any;
331
- gap: any;
332
- columnGap: any;
333
- rowGap: any;
334
- };
335
- };
336
- gridItem: {
337
- properties: {
338
- colSpan: {
339
- type: "number";
340
- };
341
- rowSpan: {
342
- type: "number";
343
- };
344
- colStart: {
345
- type: "number";
346
- };
347
- rowStart: {
348
- type: "number";
349
- };
350
- colEnd: {
351
- type: "number";
352
- };
353
- rowEnd: {
354
- type: "number";
355
- };
356
- };
357
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
358
- gridColumn: any;
359
- gridRow: any;
360
- gridColumnEnd: any;
361
- gridRowEnd: any;
362
- };
363
- };
364
- wrap: {
365
- properties: {
366
- gap: {
367
- type: "property";
368
- value: "gap";
369
- };
370
- rowGap: {
371
- type: "property";
372
- value: "gap";
373
- };
374
- columnGap: {
375
- type: "property";
376
- value: "gap";
377
- };
378
- align: {
379
- type: "property";
380
- value: "alignItems";
381
- };
382
- justify: {
383
- type: "property";
384
- value: "justifyContent";
385
- };
386
- };
387
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
388
- display: "flex";
389
- flexWrap: "wrap";
390
- alignItems: any;
391
- justifyContent: any;
392
- gap: any;
393
- columnGap: any;
394
- rowGap: any;
395
- };
396
- };
397
- container: {
398
- properties: {};
399
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>): {
400
- position: "relative";
401
- maxWidth: "8xl";
402
- mx: string;
403
- px: {
404
- base: string;
405
- md: string;
406
- lg: string;
407
- };
408
- };
409
- };
410
- divider: {
411
- properties: {
412
- orientation: {
413
- type: "enum";
414
- value: string[];
415
- };
416
- thickness: {
417
- type: "token";
418
- value: "sizes";
419
- property: "borderWidth";
420
- };
421
- color: {
422
- type: "token";
423
- value: "colors";
424
- property: "borderColor";
425
- };
426
- };
427
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
428
- '--thickness': any;
429
- width: any;
430
- height: any;
431
- borderInlineStartWidth: any;
432
- borderInlineEndWidth: any;
433
- borderColor: any;
434
- };
435
- };
436
- float: {
437
- properties: {
438
- offsetX: {
439
- type: "token";
440
- value: "spacing";
441
- property: "left";
442
- };
443
- offsetY: {
444
- type: "token";
445
- value: "spacing";
446
- property: "top";
447
- };
448
- offset: {
449
- type: "token";
450
- value: "spacing";
451
- property: "top";
452
- };
453
- placement: {
454
- type: "enum";
455
- value: string[];
456
- };
457
- };
458
- transform(props: _pandacss_types_dist_pattern.Props<_pandacss_types_dist_pattern.PatternProperties>, { map }: _pandacss_types.PatternHelpers): {
459
- display: "inline-flex";
460
- justifyContent: "center";
461
- alignItems: "center";
462
- position: "absolute";
463
- insetBlockStart: any;
464
- insetBlockEnd: any;
465
- insetInlineStart: any;
466
- insetInlineEnd: any;
467
- translate: any;
468
- };
469
- };
470
- };
471
- };
472
-
473
- export { preset as default, preset };