@pandacss/types 0.0.0-dev-20240624212930 → 0.0.0-dev-20240704152139
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/config.d.ts +0 -21
- package/dist/utility.d.ts +18 -17
- package/package.json +2 -2
package/dist/config.d.ts
CHANGED
|
@@ -311,11 +311,6 @@ interface CssgenOptions {
|
|
|
311
311
|
* @default '_'
|
|
312
312
|
*/
|
|
313
313
|
separator?: '_' | '=' | '-'
|
|
314
|
-
/**
|
|
315
|
-
* Whether to optimize the generated css.
|
|
316
|
-
* @default true
|
|
317
|
-
*/
|
|
318
|
-
optimize?: boolean
|
|
319
314
|
/**
|
|
320
315
|
* Whether to minify the generated css.
|
|
321
316
|
* @default false
|
|
@@ -355,22 +350,6 @@ interface CssgenOptions {
|
|
|
355
350
|
}
|
|
356
351
|
|
|
357
352
|
interface CodegenOptions {
|
|
358
|
-
/**
|
|
359
|
-
* Whether to emit the artifacts to `node_modules` as a package.
|
|
360
|
-
* @default false
|
|
361
|
-
* @deprecated `emitPackage` is deprecated, it's known for causing several issues:
|
|
362
|
-
* - bundlers sometimes eagerly cache the `node_modules`, leading to `panda codegen` updates to the `styled-system` not visible in the browser
|
|
363
|
-
* - auto-imports are not suggested in your IDE.
|
|
364
|
-
* - in some IDE the typings are not always reflected properly
|
|
365
|
-
*
|
|
366
|
-
* As alternatives, you can use:
|
|
367
|
-
* - relative paths instead of absolute paths (e.g. `../styled-system/css` instead of `styled-system/css`)
|
|
368
|
-
* - use package.json #imports and/or tsconfig path aliases (prefer package.json#imports when possible, TS 5.4 supports them by default) like `#styled-system/css` instead of `styled-system/css`
|
|
369
|
-
* @see https://nodejs.org/api/packages.html#subpath-imports
|
|
370
|
-
* - for a component library, use a dedicated workspace package (e.g. `@acme/styled-system`) and use `importMap: "@acme/styled-system"` so that Panda knows which entrypoint to extract, e.g. `import { css } from '@acme/styled-system/css'`
|
|
371
|
-
* @see https://panda-css.com/docs/guides/component-library
|
|
372
|
-
*/
|
|
373
|
-
emitPackage?: boolean
|
|
374
353
|
/**
|
|
375
354
|
* Whether to only emit the `tokens` directory
|
|
376
355
|
* @default false
|
package/dist/utility.d.ts
CHANGED
|
@@ -71,33 +71,34 @@ export interface PropertyConfig {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export type CssSemanticGroup =
|
|
74
|
-
| '
|
|
74
|
+
| 'Animation'
|
|
75
|
+
| 'Background Gradient'
|
|
76
|
+
| 'Background'
|
|
77
|
+
| 'Border Radius'
|
|
78
|
+
| 'Border'
|
|
79
|
+
| 'Color'
|
|
75
80
|
| 'Container'
|
|
76
81
|
| 'Display'
|
|
77
|
-
| '
|
|
78
|
-
| 'Position'
|
|
79
|
-
| 'Transform'
|
|
82
|
+
| 'Effect'
|
|
80
83
|
| 'Flex Layout'
|
|
81
84
|
| 'Grid Layout'
|
|
82
|
-
| 'Layout'
|
|
83
|
-
| 'Border'
|
|
84
|
-
| 'Border Radius'
|
|
85
|
-
| 'Width'
|
|
86
85
|
| 'Height'
|
|
86
|
+
| 'Interactivity'
|
|
87
|
+
| 'Layout'
|
|
88
|
+
| 'List'
|
|
87
89
|
| 'Margin'
|
|
90
|
+
| 'Other'
|
|
88
91
|
| 'Padding'
|
|
89
|
-
| '
|
|
90
|
-
| '
|
|
91
|
-
| 'Background'
|
|
92
|
-
| 'Background Gradient'
|
|
92
|
+
| 'Position'
|
|
93
|
+
| 'Scroll'
|
|
93
94
|
| 'Shadow'
|
|
95
|
+
| 'System'
|
|
94
96
|
| 'Table'
|
|
95
|
-
| '
|
|
96
|
-
| 'Scroll'
|
|
97
|
-
| 'Interactivity'
|
|
97
|
+
| 'Transform'
|
|
98
98
|
| 'Transition'
|
|
99
|
-
| '
|
|
100
|
-
| '
|
|
99
|
+
| 'Typography'
|
|
100
|
+
| 'Visibility'
|
|
101
|
+
| 'Width'
|
|
101
102
|
|
|
102
103
|
export type UtilityConfig = {
|
|
103
104
|
[property in LiteralUnion<CssProperty>]?: PropertyConfig
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/types",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20240704152139",
|
|
4
4
|
"description": "The types for css panda",
|
|
5
5
|
"main": "dist/index.d.ts",
|
|
6
6
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"ncp": "2.0.0",
|
|
32
32
|
"pkg-types": "1.0.3",
|
|
33
33
|
"ts-morph": "21.0.1",
|
|
34
|
-
"@pandacss/extractor": "0.0.0-dev-
|
|
34
|
+
"@pandacss/extractor": "0.0.0-dev-20240704152139"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"dev": "tsx scripts/watch.ts",
|