@pandacss/types 0.5.0 → 0.5.1
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 +6 -1
- package/dist/index.d.ts +1 -1
- package/dist/static-css.d.ts +6 -4
- package/dist/tokens.d.ts +0 -1
- package/package.json +4 -3
package/dist/config.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { TSConfig } from 'pkg-types'
|
|
1
2
|
import type { Conditions } from './conditions'
|
|
2
3
|
import type { PandaHooks } from './hooks'
|
|
3
4
|
import type { PatternConfig } from './pattern'
|
|
@@ -7,6 +8,8 @@ import type { GlobalStyleObject } from './system-types'
|
|
|
7
8
|
import type { Theme } from './theme'
|
|
8
9
|
import type { UtilityConfig } from './utility'
|
|
9
10
|
|
|
11
|
+
export type { TSConfig }
|
|
12
|
+
|
|
10
13
|
type StudioOptions = {
|
|
11
14
|
/**
|
|
12
15
|
* Used to customize the design system studio
|
|
@@ -230,8 +233,10 @@ export type Preset = ExtendableOptions & PresetOptions
|
|
|
230
233
|
|
|
231
234
|
export type UserConfig = UnwrapExtend<RequiredBy<Config, 'outdir' | 'cwd' | 'include'>>
|
|
232
235
|
|
|
233
|
-
export
|
|
236
|
+
export interface LoadConfigResult {
|
|
234
237
|
path: string
|
|
235
238
|
config: UserConfig
|
|
239
|
+
tsconfig?: TSConfig
|
|
240
|
+
tsconfigFile?: string
|
|
236
241
|
dependencies: string[]
|
|
237
242
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type {
|
|
|
9
9
|
} from './analyze-report'
|
|
10
10
|
export type { CompositionStyles, LayerStyles, TextStyles } from './composition'
|
|
11
11
|
export type { ConditionDetails, ConditionType, Conditions, RawCondition } from './conditions'
|
|
12
|
-
export type { Config, LoadConfigResult, Preset, UserConfig } from './config'
|
|
12
|
+
export type { Config, LoadConfigResult, Preset, UserConfig, TSConfig } from './config'
|
|
13
13
|
export type { ConfigResultWithHooks, PandaHooks, PandaHookable } from './hooks'
|
|
14
14
|
export type { ParserResultType, ResultItem } from './parser'
|
|
15
15
|
export type { Part, Parts } from './parts'
|
package/dist/static-css.d.ts
CHANGED
|
@@ -17,10 +17,12 @@ type CssRule = {
|
|
|
17
17
|
responsive?: boolean
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
type RecipeRule =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
type RecipeRule =
|
|
21
|
+
| '*'
|
|
22
|
+
| ({
|
|
23
|
+
conditions?: string[]
|
|
24
|
+
responsive?: boolean
|
|
25
|
+
} & { [variant: string]: boolean | string[] })
|
|
24
26
|
|
|
25
27
|
export type StaticCssOptions = {
|
|
26
28
|
/**
|
package/dist/tokens.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/types",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "The types for css panda",
|
|
5
5
|
"main": "dist/index.d.ts",
|
|
6
6
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
@@ -15,8 +15,9 @@
|
|
|
15
15
|
"chokidar-cli": "^3.0.0",
|
|
16
16
|
"csstype": "3.1.2",
|
|
17
17
|
"hookable": "5.5.3",
|
|
18
|
-
"
|
|
19
|
-
"@pandacss/
|
|
18
|
+
"pkg-types": "1.0.3",
|
|
19
|
+
"@pandacss/extractor": "0.5.1",
|
|
20
|
+
"@pandacss/token-dictionary": "0.5.1"
|
|
20
21
|
},
|
|
21
22
|
"scripts": {
|
|
22
23
|
"build": "tsx scripts/build.ts",
|