@pandacss/types 0.0.0-dev-20230126071434 → 0.0.0-dev-20230126175306
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 +7 -13
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { LayerStyles, TextStyles } from './composition'
|
|
2
2
|
import type { Conditions as TConditions } from './conditions'
|
|
3
|
-
import type { CssKeyframes, GlobalStyleObject } from './system-types'
|
|
4
3
|
import type { PatternConfig } from './pattern'
|
|
5
4
|
import type { RecipeConfig } from './recipe'
|
|
6
|
-
import type {
|
|
7
|
-
import type { SemanticTokens, Tokens as PartialTokens } from './tokens'
|
|
8
|
-
import type { UtilityConfig } from './utility'
|
|
5
|
+
import type { Extendable, RequiredBy, UnwrapExtend } from './shared'
|
|
9
6
|
import type { StaticCssOptions } from './static-css'
|
|
7
|
+
import type { CssKeyframes, GlobalStyleObject } from './system-types'
|
|
8
|
+
import type { SemanticTokens, Tokens } from './tokens'
|
|
9
|
+
import type { UtilityConfig } from './utility'
|
|
10
10
|
|
|
11
11
|
export type Preset = Pick<Config, 'utilities' | 'theme' | 'patterns' | 'presets' | 'conditions'>
|
|
12
12
|
|
|
@@ -15,11 +15,7 @@ type Studio = {
|
|
|
15
15
|
logo: string
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export type Config
|
|
19
|
-
Conditions extends TConditions = TConditions,
|
|
20
|
-
Breakpoints extends Dict = Dict,
|
|
21
|
-
Tokens extends PartialTokens = PartialTokens,
|
|
22
|
-
> = {
|
|
18
|
+
export type Config = {
|
|
23
19
|
/**
|
|
24
20
|
* Whether to emit the artifacts to `node_modules` as a package.
|
|
25
21
|
*/
|
|
@@ -111,7 +107,7 @@ export type Config<
|
|
|
111
107
|
/**
|
|
112
108
|
* The breakpoints for your project.
|
|
113
109
|
*/
|
|
114
|
-
breakpoints?:
|
|
110
|
+
breakpoints?: Record<string, string>
|
|
115
111
|
/**
|
|
116
112
|
* The css animation keyframes definitions.
|
|
117
113
|
*/
|
|
@@ -123,7 +119,7 @@ export type Config<
|
|
|
123
119
|
/**
|
|
124
120
|
* The semantic design tokens for your project.
|
|
125
121
|
*/
|
|
126
|
-
semanticTokens?: SemanticTokens
|
|
122
|
+
semanticTokens?: SemanticTokens
|
|
127
123
|
/**
|
|
128
124
|
* The typography styles for your project.
|
|
129
125
|
*/
|
|
@@ -176,6 +172,4 @@ export type Config<
|
|
|
176
172
|
outExtension?: 'mjs' | 'js'
|
|
177
173
|
}
|
|
178
174
|
|
|
179
|
-
export type TConfig = Config<TConditions, Dict, Dict>
|
|
180
|
-
|
|
181
175
|
export type UserConfig = UnwrapExtend<RequiredBy<Config, 'outdir' | 'cwd' | 'include'>>
|