@pandacss/types 0.0.0-dev-20230426205606 → 0.0.0-dev-20230428204429

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 CHANGED
@@ -87,6 +87,10 @@ export type Config = {
87
87
  * Whether to include css reset styles in the generated css.
88
88
  */
89
89
  preflight?: boolean
90
+ /**
91
+ * Whether to optimize the generated css.
92
+ */
93
+ optimize?: boolean
90
94
  /**
91
95
  * Whether to minify the generated css.
92
96
  */
package/dist/pattern.d.ts CHANGED
@@ -1,6 +1,29 @@
1
- import type { LiteralUnion } from './shared'
2
1
  import type { NativeCssProperty, SystemStyleObject } from './system-types'
3
- import type { TokenCategory } from './tokens'
2
+
3
+ type Primitive = string | number | boolean | null | undefined
4
+ type LiteralUnion<T, K extends Primitive = string> = T | (K & Record<never, never>)
5
+
6
+ type TokenCategory =
7
+ | 'zIndex'
8
+ | 'opacity'
9
+ | 'colors'
10
+ | 'fonts'
11
+ | 'fontSizes'
12
+ | 'fontWeights'
13
+ | 'lineHeights'
14
+ | 'letterSpacings'
15
+ | 'sizes'
16
+ | 'shadows'
17
+ | 'spacing'
18
+ | 'radii'
19
+ | 'borders'
20
+ | 'durations'
21
+ | 'easings'
22
+ | 'animations'
23
+ | 'blurs'
24
+ | 'gradients'
25
+ | 'breakpoints'
26
+ | 'assets'
4
27
 
5
28
  export type PatternProperty =
6
29
  | { type: 'property'; value: NativeCssProperty }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20230426205606",
3
+ "version": "0.0.0-dev-20230428204429",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -16,7 +16,7 @@
16
16
  "csstype": "3.1.2"
17
17
  },
18
18
  "dependencies": {
19
- "@pandacss/extractor": "0.0.0-dev-20230426205606"
19
+ "@pandacss/extractor": "0.0.0-dev-20230428204429"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tsx scripts/build.ts",