@pandacss/language-server 0.0.0-dev-20230720173817 → 0.0.0-dev-20230721153104

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/index.js +10 -2
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -23076,12 +23076,16 @@ export type ${u}<T extends ElementType> = ComponentProps<T>
23076
23076
  import { ${o} } from '../types/jsx'
23077
23077
  export declare const ${e}: ${o}
23078
23078
  `,jsxType:Hf`
23079
- import type { ComponentProps, ElementType } from 'react'
23079
+ import type { ComponentPropsWithoutRef, ElementType, ElementRef, Ref } from 'react'
23080
23080
  import type { Assign, JsxStyleProps, JsxHTMLProps } from './system-types'
23081
23081
  import type { RecipeDefinition, RecipeSelection, RecipeVariantRecord } from './recipe'
23082
23082
 
23083
23083
  type Dict = Record<string, unknown>
23084
23084
 
23085
+ type ComponentProps<T extends ElementType> = Omit<ComponentPropsWithoutRef<T>, 'ref'> & {
23086
+ ref?: Ref<ElementRef<T>>
23087
+ }
23088
+
23085
23089
  export type ${r}<T extends ElementType, P extends Dict = {}> = {
23086
23090
  (props: JsxHTMLProps<ComponentProps<T>, Assign<JsxStyleProps, P>>): JSX.Element
23087
23091
  displayName?: string
@@ -23148,10 +23152,14 @@ export type ${u}<T extends ElementType> = JsxHTMLProps<ComponentProps<T>, JsxSty
23148
23152
  import { ${o} } from '../types/jsx'
23149
23153
  export declare const ${e}: ${o}
23150
23154
  `,jsxType:Hf`
23151
- import type { ComponentProps, ElementType } from 'react'
23155
+ import type { ComponentPropsWithoutRef, ElementType, ElementRef, Ref } from 'react'
23152
23156
 
23153
23157
  type Dict = Record<string, unknown>
23154
23158
 
23159
+ type ComponentProps<T extends ElementType> = Omit<ComponentPropsWithoutRef<T>, 'ref'> & {
23160
+ ref?: Ref<ElementRef<T>>
23161
+ }
23162
+
23155
23163
  export type ${r}<T extends ElementType> = {
23156
23164
  (args: { raw: readonly string[] | ArrayLike<string> }): (props: ComponentProps<T>) => JSX.Element
23157
23165
  displayName?: string
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pandacss/language-server",
3
3
  "displayName": "Panda CSS",
4
4
  "description": "🐼 The official Panda language server",
5
- "version": "0.0.0-dev-20230720173817",
5
+ "version": "0.0.0-dev-20230721153104",
6
6
  "main": "dist/index.js",
7
7
  "repository": {
8
8
  "url": "https://github.com/chakra-ui/panda",
@@ -32,14 +32,14 @@
32
32
  "vscode-languageserver": "^8.1.0",
33
33
  "vscode-languageserver-textdocument": "^1.0.8",
34
34
  "vscode-uri": "^3.0.7",
35
- "@pandacss/core": "0.0.0-dev-20230720173817",
36
- "@pandacss/extension-shared": "0.0.0-dev-20230720173817",
37
- "@pandacss/extractor": "0.0.0-dev-20230720173817",
38
- "@pandacss/node": "0.0.0-dev-20230720173817",
39
- "@pandacss/parser": "0.0.0-dev-20230720173817",
40
- "@pandacss/shared": "0.0.0-dev-20230720173817",
41
- "@pandacss/token-dictionary": "0.0.0-dev-20230720173817",
42
- "@pandacss/types": "0.0.0-dev-20230720173817"
35
+ "@pandacss/core": "0.0.0-dev-20230721153104",
36
+ "@pandacss/extension-shared": "0.0.0-dev-20230721153104",
37
+ "@pandacss/extractor": "0.0.0-dev-20230721153104",
38
+ "@pandacss/node": "0.0.0-dev-20230721153104",
39
+ "@pandacss/parser": "0.0.0-dev-20230721153104",
40
+ "@pandacss/shared": "0.0.0-dev-20230721153104",
41
+ "@pandacss/token-dictionary": "0.0.0-dev-20230721153104",
42
+ "@pandacss/types": "0.0.0-dev-20230721153104"
43
43
  },
44
44
  "dependencies": {
45
45
  "fast-glob": "^3.3.0"