@pandacss/types 0.0.0-dev-20230927131248 → 0.0.0-dev-20230927132629
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 +20 -0
- package/dist/index.d.ts +10 -1
- package/package.json +2 -2
package/dist/config.d.ts
CHANGED
|
@@ -95,6 +95,13 @@ export interface ExtendableOptions {
|
|
|
95
95
|
patterns?: ExtendablePatterns
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
+
export interface OutdirImportMap {
|
|
99
|
+
css: string
|
|
100
|
+
recipes: string
|
|
101
|
+
patterns: string
|
|
102
|
+
jsx?: string
|
|
103
|
+
}
|
|
104
|
+
|
|
98
105
|
interface FileSystemOptions {
|
|
99
106
|
/**
|
|
100
107
|
* Whether to clean the output directory before generating the css.
|
|
@@ -106,6 +113,19 @@ interface FileSystemOptions {
|
|
|
106
113
|
* @default 'styled-system'
|
|
107
114
|
*/
|
|
108
115
|
outdir?: string
|
|
116
|
+
/**
|
|
117
|
+
* Allows you to customize the import paths for the generated outdir.
|
|
118
|
+
* @default
|
|
119
|
+
* ```js
|
|
120
|
+
* {
|
|
121
|
+
* css: 'styled-system/css',
|
|
122
|
+
* recipes: 'styled-system/recipes',
|
|
123
|
+
* patterns: 'styled-system/patterns',
|
|
124
|
+
* jsx: 'styled-system/jsx',
|
|
125
|
+
* }
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
importMap?: OutdirImportMap
|
|
109
129
|
/**
|
|
110
130
|
* List of files glob to watch for changes.
|
|
111
131
|
* @default []
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,16 @@ 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 {
|
|
12
|
+
export type {
|
|
13
|
+
Config,
|
|
14
|
+
ConfigTsOptions,
|
|
15
|
+
LoadConfigResult,
|
|
16
|
+
Preset,
|
|
17
|
+
UserConfig,
|
|
18
|
+
TSConfig,
|
|
19
|
+
CascadeLayers,
|
|
20
|
+
OutdirImportMap,
|
|
21
|
+
} from './config'
|
|
13
22
|
export type { ConfigResultWithHooks, PandaHooks, PandaHookable } from './hooks'
|
|
14
23
|
export type { ParserResultType, ResultItem } from './parser'
|
|
15
24
|
export type { Part, Parts } from './parts'
|
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-20230927132629",
|
|
4
4
|
"description": "The types for css panda",
|
|
5
5
|
"main": "dist/index.d.ts",
|
|
6
6
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"hookable": "5.5.3",
|
|
18
18
|
"ncp": "^2.0.0",
|
|
19
19
|
"pkg-types": "1.0.3",
|
|
20
|
-
"@pandacss/extractor": "0.0.0-dev-
|
|
20
|
+
"@pandacss/extractor": "0.0.0-dev-20230927132629"
|
|
21
21
|
},
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "tsx scripts/build.ts",
|