@pandacss/types 0.0.0-dev-20240619215959 → 0.0.0-dev-20240627180503
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/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/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-20240627180503",
|
|
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-20240627180503"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"dev": "tsx scripts/watch.ts",
|