@pandacss/types 0.0.0-dev-20230512062311 → 0.0.0-dev-20230512164612

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
@@ -5,7 +5,7 @@ import type { AnyRecipeConfig, RecipeConfig } from './recipe'
5
5
  import type { Extendable, RequiredBy, UnwrapExtend } from './shared'
6
6
  import type { StaticCssOptions } from './static-css'
7
7
  import type { CssKeyframes, GlobalStyleObject } from './system-types'
8
- import type { SemanticTokens, Tokens } from '../tokens'
8
+ import type { SemanticTokens, Tokens } from './tokens'
9
9
  import type { UtilityConfig } from './utility'
10
10
 
11
11
  export type Preset = Pick<Config, 'utilities' | 'theme' | 'patterns' | 'presets' | 'conditions' | 'globalCss'>
package/dist/pattern.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { CssProperty, SystemStyleObject } from './system-types'
2
- import type { TokenCategory } from '../tokens'
2
+ import type { TokenCategory } from './tokens'
3
3
 
4
4
  type Primitive = string | number | boolean | null | undefined
5
5
  type LiteralUnion<T, K extends Primitive = string> = T | (K & Record<never, never>)
@@ -63,9 +63,11 @@ type HTMLProps = {
63
63
  htmlWidth?: string | number
64
64
  htmlHeight?: string | number
65
65
  htmlTranslate?: 'yes' | 'no' | undefined
66
+ htmlContent?: string
66
67
  }
67
68
 
68
- type WithHTMLProps<T> = Omit<T, 'color' | 'translate' | 'transition' | 'width' | 'height' | 'size'> & HTMLProps
69
+ type WithHTMLProps<T> = Omit<T, 'color' | 'translate' | 'transition' | 'width' | 'height' | 'size' | 'content'> &
70
+ HTMLProps
69
71
 
70
72
  export type JsxHTMLProps<T extends Record<string, any>, P extends Record<string, any> = {}> = Assign<
71
73
  WithHTMLProps<T>,
package/dist/utility.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { LiteralUnion } from './shared'
2
2
  import type { CssProperty, NestedCssProperties } from './system-types'
3
- import type { TokenCategory } from '../tokens'
3
+ import type { TokenCategory } from './tokens'
4
4
 
5
5
  type Getter = (path: string) => any
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20230512062311",
3
+ "version": "0.0.0-dev-20230512164612",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -9,15 +9,14 @@
9
9
  "access": "public"
10
10
  },
11
11
  "files": [
12
- "dist",
13
- "tokens.d.ts"
12
+ "dist"
14
13
  ],
15
14
  "devDependencies": {
16
15
  "chokidar-cli": "^3.0.0",
17
16
  "csstype": "3.1.2"
18
17
  },
19
18
  "dependencies": {
20
- "@pandacss/extractor": "0.0.0-dev-20230512062311"
19
+ "@pandacss/extractor": "0.0.0-dev-20230512164612"
21
20
  },
22
21
  "scripts": {
23
22
  "build": "tsx scripts/build.ts",
package/tokens.d.ts DELETED
@@ -1,5 +0,0 @@
1
- // we need that weird trick to make sure that:
2
- // - the tokens types are exported here in the `dist`
3
- // - the generated types (styled-system/tokens/tokens.ts) mirrored from `src/tokens.ts` correctly imports from "../tokens"
4
-
5
- export * from './src/tokens'