@pandacss/types 0.10.0 → 0.11.0

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.
Files changed (2) hide show
  1. package/dist/hooks.d.ts +1 -6
  2. package/package.json +2 -3
package/dist/hooks.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import type { TokenDictionary } from '@pandacss/token-dictionary'
2
1
  import type { HookKeys, Hookable } from 'hookable'
3
2
  import type { LoadConfigResult, UserConfig } from './config'
4
3
  import type { ParserResultType } from './parser'
@@ -14,10 +13,6 @@ export interface PandaHooks {
14
13
  * Called when the config file or one of its dependencies (imports) has changed.
15
14
  */
16
15
  'config:change': (ctx: UserConfig) => MaybeAsyncReturn
17
- /**
18
- * Called after creating the TokenDictionary from the resolved config.
19
- */
20
- 'generator:tokens': (tokenDictionary: TokenDictionary) => void
21
16
  /**
22
17
  * Called after reading the file content but before parsing it.
23
18
  */
@@ -34,7 +29,7 @@ export interface PandaHooks {
34
29
  * Called before generating the design-system CSS files (global, static, preflight, tokens, keyframes)
35
30
  */
36
31
  'generator:css': (
37
- file: 'global.css' | 'static.css' | 'reset.css' | 'tokens.css' | 'keyframes.css',
32
+ file: 'global.css' | 'static.css' | 'reset.css' | 'tokens.css' | 'keyframes.css' | 'styles.css',
38
33
  css: string,
39
34
  ) => void
40
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -17,8 +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.10.0",
21
- "@pandacss/token-dictionary": "0.10.0"
20
+ "@pandacss/extractor": "0.11.0"
22
21
  },
23
22
  "scripts": {
24
23
  "build": "tsx scripts/build.ts",