@pandacss/language-server 0.0.0-dev-20230911132038 → 0.0.0-dev-20230911135518
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/index.js +44 -280
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -32748,304 +32748,68 @@ ${r.file.importType(p,"../types/jsx")}
|
|
|
32748
32748
|
|
|
32749
32749
|
export declare const ${n}: ${p}
|
|
32750
32750
|
`,jsxType:jc`
|
|
32751
|
-
import type { Component, FunctionalComponent } from 'vue'
|
|
32751
|
+
import type { Component, FunctionalComponent, NativeElements } from 'vue'
|
|
32752
32752
|
|
|
32753
32753
|
${r.file.importType("RecipeDefinition, RecipeSelection, RecipeVariantRecord","./recipe")}
|
|
32754
32754
|
${r.file.importType("Assign, JsxStyleProps, JsxHTMLProps","./system-types")}
|
|
32755
32755
|
|
|
32756
|
-
type IntrinsicElement =
|
|
32757
|
-
|
|
32758
|
-
| 'abbr'
|
|
32759
|
-
| 'address'
|
|
32760
|
-
| 'area'
|
|
32761
|
-
| 'article'
|
|
32762
|
-
| 'aside'
|
|
32763
|
-
| 'audio'
|
|
32764
|
-
| 'b'
|
|
32765
|
-
| 'base'
|
|
32766
|
-
| 'bdi'
|
|
32767
|
-
| 'bdo'
|
|
32768
|
-
| 'blockquote'
|
|
32769
|
-
| 'body'
|
|
32770
|
-
| 'br'
|
|
32771
|
-
| 'button'
|
|
32772
|
-
| 'canvas'
|
|
32773
|
-
| 'caption'
|
|
32774
|
-
| 'cite'
|
|
32775
|
-
| 'code'
|
|
32776
|
-
| 'col'
|
|
32777
|
-
| 'colgroup'
|
|
32778
|
-
| 'data'
|
|
32779
|
-
| 'datalist'
|
|
32780
|
-
| 'dd'
|
|
32781
|
-
| 'del'
|
|
32782
|
-
| 'details'
|
|
32783
|
-
| 'dfn'
|
|
32784
|
-
| 'dialog'
|
|
32785
|
-
| 'div'
|
|
32786
|
-
| 'dl'
|
|
32787
|
-
| 'dt'
|
|
32788
|
-
| 'em'
|
|
32789
|
-
| 'embed'
|
|
32790
|
-
| 'fieldset'
|
|
32791
|
-
| 'figcaption'
|
|
32792
|
-
| 'figure'
|
|
32793
|
-
| 'footer'
|
|
32794
|
-
| 'form'
|
|
32795
|
-
| 'h1'
|
|
32796
|
-
| 'h2'
|
|
32797
|
-
| 'h3'
|
|
32798
|
-
| 'h4'
|
|
32799
|
-
| 'h5'
|
|
32800
|
-
| 'h6'
|
|
32801
|
-
| 'head'
|
|
32802
|
-
| 'header'
|
|
32803
|
-
| 'hgroup'
|
|
32804
|
-
| 'hr'
|
|
32805
|
-
| 'html'
|
|
32806
|
-
| 'i'
|
|
32807
|
-
| 'iframe'
|
|
32808
|
-
| 'img'
|
|
32809
|
-
| 'input'
|
|
32810
|
-
| 'ins'
|
|
32811
|
-
| 'kbd'
|
|
32812
|
-
| 'label'
|
|
32813
|
-
| 'legend'
|
|
32814
|
-
| 'li'
|
|
32815
|
-
| 'link'
|
|
32816
|
-
| 'main'
|
|
32817
|
-
| 'map'
|
|
32818
|
-
| 'mark'
|
|
32819
|
-
| 'math'
|
|
32820
|
-
| 'menu'
|
|
32821
|
-
| 'menuitem'
|
|
32822
|
-
| 'meta'
|
|
32823
|
-
| 'meter'
|
|
32824
|
-
| 'nav'
|
|
32825
|
-
| 'noscript'
|
|
32826
|
-
| 'object'
|
|
32827
|
-
| 'ol'
|
|
32828
|
-
| 'optgroup'
|
|
32829
|
-
| 'option'
|
|
32830
|
-
| 'output'
|
|
32831
|
-
| 'p'
|
|
32832
|
-
| 'param'
|
|
32833
|
-
| 'picture'
|
|
32834
|
-
| 'pre'
|
|
32835
|
-
| 'progress'
|
|
32836
|
-
| 'q'
|
|
32837
|
-
| 'rb'
|
|
32838
|
-
| 'rp'
|
|
32839
|
-
| 'rt'
|
|
32840
|
-
| 'rtc'
|
|
32841
|
-
| 'ruby'
|
|
32842
|
-
| 's'
|
|
32843
|
-
| 'samp'
|
|
32844
|
-
| 'script'
|
|
32845
|
-
| 'section'
|
|
32846
|
-
| 'select'
|
|
32847
|
-
| 'slot'
|
|
32848
|
-
| 'small'
|
|
32849
|
-
| 'source'
|
|
32850
|
-
| 'span'
|
|
32851
|
-
| 'strong'
|
|
32852
|
-
| 'style'
|
|
32853
|
-
| 'sub'
|
|
32854
|
-
| 'summary'
|
|
32855
|
-
| 'sup'
|
|
32856
|
-
| 'svg'
|
|
32857
|
-
| 'table'
|
|
32858
|
-
| 'tbody'
|
|
32859
|
-
| 'td'
|
|
32860
|
-
| 'template'
|
|
32861
|
-
| 'textarea'
|
|
32862
|
-
| 'tfoot'
|
|
32863
|
-
| 'th'
|
|
32864
|
-
| 'thead'
|
|
32865
|
-
| 'time'
|
|
32866
|
-
| 'title'
|
|
32867
|
-
| 'tr'
|
|
32868
|
-
| 'track'
|
|
32869
|
-
| 'u'
|
|
32870
|
-
| 'ul'
|
|
32871
|
-
| 'var'
|
|
32872
|
-
| 'video'
|
|
32873
|
-
| 'wbr'
|
|
32874
|
-
|
|
32875
|
-
type ElementType = IntrinsicElement | Component
|
|
32876
|
-
|
|
32877
|
-
type ComponentProps<T extends ElementType> = T extends keyof JSX.IntrinsicElements
|
|
32878
|
-
? JSX.IntrinsicElements[T]
|
|
32879
|
-
: T extends Component<infer Props>
|
|
32880
|
-
? Props
|
|
32881
|
-
: never
|
|
32882
|
-
|
|
32883
|
-
type ${l}<T extends ElementType, P extends Dict = {}> = FunctionalComponent<
|
|
32884
|
-
JsxHTMLProps<ComponentProps<T>, Assign<JsxStyleProps, P>>
|
|
32885
|
-
>
|
|
32756
|
+
type IntrinsicElement = keyof NativeElements
|
|
32757
|
+
type ElementType = IntrinsicElement | Component
|
|
32886
32758
|
|
|
32887
|
-
|
|
32759
|
+
type ComponentProps<T extends ElementType> = T extends IntrinsicElement
|
|
32760
|
+
? NativeElements[T]
|
|
32761
|
+
: T extends Component<infer Props>
|
|
32762
|
+
? Props
|
|
32763
|
+
: never
|
|
32888
32764
|
|
|
32889
|
-
|
|
32890
|
-
|
|
32891
|
-
|
|
32892
|
-
|
|
32893
|
-
|
|
32894
|
-
|
|
32895
|
-
|
|
32896
|
-
}
|
|
32765
|
+
type ${l}<T extends ElementType, P extends Dict = {}> = FunctionalComponent<
|
|
32766
|
+
JsxHTMLProps<ComponentProps<T>, Assign<JsxStyleProps, P>>
|
|
32767
|
+
>
|
|
32768
|
+
|
|
32769
|
+
type RecipeFn = { __type: any }
|
|
32770
|
+
|
|
32771
|
+
interface JsxFactory {
|
|
32772
|
+
${i==="none"?"":`<T extends ElementType>(component: T): ${l}<T, {}>`}
|
|
32773
|
+
<T extends ElementType, P extends RecipeVariantRecord>(component: T, recipe: RecipeDefinition<P>): ${l}<
|
|
32774
|
+
T,
|
|
32775
|
+
RecipeSelection<P>
|
|
32776
|
+
>
|
|
32777
|
+
<T extends ElementType, P extends RecipeFn>(component: T, recipeFn: P): ${l}<T, P['__type']>
|
|
32778
|
+
}
|
|
32897
32779
|
|
|
32898
|
-
|
|
32780
|
+
type JsxElements = { [K in IntrinsicElement]: ${l}<K, {}> }
|
|
32899
32781
|
|
|
32900
|
-
|
|
32782
|
+
export type ${p} = JsxFactory ${i==="none"?"":"& JsxElements"}
|
|
32901
32783
|
|
|
32902
|
-
|
|
32784
|
+
export type ${m}<T extends ElementType> = JsxHTMLProps<ComponentProps<T>, JsxStyleProps>
|
|
32903
32785
|
`}}function sCr(r){let{factoryName:n,styleProps:i,componentName:l,upperName:p,typeName:m}=r.jsx;return{jsxFactory:jc`
|
|
32904
32786
|
${r.file.importType(p,"../types/jsx")}
|
|
32905
32787
|
|
|
32906
32788
|
export declare const ${n}: ${p}
|
|
32907
32789
|
`,jsxType:jc`
|
|
32908
|
-
import type { Component, FunctionalComponent } from 'vue'
|
|
32909
|
-
|
|
32910
|
-
type IntrinsicElement =
|
|
32911
|
-
| 'a'
|
|
32912
|
-
| 'abbr'
|
|
32913
|
-
| 'address'
|
|
32914
|
-
| 'area'
|
|
32915
|
-
| 'article'
|
|
32916
|
-
| 'aside'
|
|
32917
|
-
| 'audio'
|
|
32918
|
-
| 'b'
|
|
32919
|
-
| 'base'
|
|
32920
|
-
| 'bdi'
|
|
32921
|
-
| 'bdo'
|
|
32922
|
-
| 'blockquote'
|
|
32923
|
-
| 'body'
|
|
32924
|
-
| 'br'
|
|
32925
|
-
| 'button'
|
|
32926
|
-
| 'canvas'
|
|
32927
|
-
| 'caption'
|
|
32928
|
-
| 'cite'
|
|
32929
|
-
| 'code'
|
|
32930
|
-
| 'col'
|
|
32931
|
-
| 'colgroup'
|
|
32932
|
-
| 'data'
|
|
32933
|
-
| 'datalist'
|
|
32934
|
-
| 'dd'
|
|
32935
|
-
| 'del'
|
|
32936
|
-
| 'details'
|
|
32937
|
-
| 'dfn'
|
|
32938
|
-
| 'dialog'
|
|
32939
|
-
| 'div'
|
|
32940
|
-
| 'dl'
|
|
32941
|
-
| 'dt'
|
|
32942
|
-
| 'em'
|
|
32943
|
-
| 'embed'
|
|
32944
|
-
| 'fieldset'
|
|
32945
|
-
| 'figcaption'
|
|
32946
|
-
| 'figure'
|
|
32947
|
-
| 'footer'
|
|
32948
|
-
| 'form'
|
|
32949
|
-
| 'h1'
|
|
32950
|
-
| 'h2'
|
|
32951
|
-
| 'h3'
|
|
32952
|
-
| 'h4'
|
|
32953
|
-
| 'h5'
|
|
32954
|
-
| 'h6'
|
|
32955
|
-
| 'head'
|
|
32956
|
-
| 'header'
|
|
32957
|
-
| 'hgroup'
|
|
32958
|
-
| 'hr'
|
|
32959
|
-
| 'html'
|
|
32960
|
-
| 'i'
|
|
32961
|
-
| 'iframe'
|
|
32962
|
-
| 'img'
|
|
32963
|
-
| 'input'
|
|
32964
|
-
| 'ins'
|
|
32965
|
-
| 'kbd'
|
|
32966
|
-
| 'label'
|
|
32967
|
-
| 'legend'
|
|
32968
|
-
| 'li'
|
|
32969
|
-
| 'link'
|
|
32970
|
-
| 'main'
|
|
32971
|
-
| 'map'
|
|
32972
|
-
| 'mark'
|
|
32973
|
-
| 'math'
|
|
32974
|
-
| 'menu'
|
|
32975
|
-
| 'menuitem'
|
|
32976
|
-
| 'meta'
|
|
32977
|
-
| 'meter'
|
|
32978
|
-
| 'nav'
|
|
32979
|
-
| 'noscript'
|
|
32980
|
-
| 'object'
|
|
32981
|
-
| 'ol'
|
|
32982
|
-
| 'optgroup'
|
|
32983
|
-
| 'option'
|
|
32984
|
-
| 'output'
|
|
32985
|
-
| 'p'
|
|
32986
|
-
| 'param'
|
|
32987
|
-
| 'picture'
|
|
32988
|
-
| 'pre'
|
|
32989
|
-
| 'progress'
|
|
32990
|
-
| 'q'
|
|
32991
|
-
| 'rb'
|
|
32992
|
-
| 'rp'
|
|
32993
|
-
| 'rt'
|
|
32994
|
-
| 'rtc'
|
|
32995
|
-
| 'ruby'
|
|
32996
|
-
| 's'
|
|
32997
|
-
| 'samp'
|
|
32998
|
-
| 'script'
|
|
32999
|
-
| 'section'
|
|
33000
|
-
| 'select'
|
|
33001
|
-
| 'slot'
|
|
33002
|
-
| 'small'
|
|
33003
|
-
| 'source'
|
|
33004
|
-
| 'span'
|
|
33005
|
-
| 'strong'
|
|
33006
|
-
| 'style'
|
|
33007
|
-
| 'sub'
|
|
33008
|
-
| 'summary'
|
|
33009
|
-
| 'sup'
|
|
33010
|
-
| 'svg'
|
|
33011
|
-
| 'table'
|
|
33012
|
-
| 'tbody'
|
|
33013
|
-
| 'td'
|
|
33014
|
-
| 'template'
|
|
33015
|
-
| 'textarea'
|
|
33016
|
-
| 'tfoot'
|
|
33017
|
-
| 'th'
|
|
33018
|
-
| 'thead'
|
|
33019
|
-
| 'time'
|
|
33020
|
-
| 'title'
|
|
33021
|
-
| 'tr'
|
|
33022
|
-
| 'track'
|
|
33023
|
-
| 'u'
|
|
33024
|
-
| 'ul'
|
|
33025
|
-
| 'var'
|
|
33026
|
-
| 'video'
|
|
33027
|
-
| 'wbr'
|
|
33028
|
-
|
|
33029
|
-
type ElementType = IntrinsicElement | Component
|
|
33030
|
-
|
|
33031
|
-
type ComponentProps<T extends ElementType> = T extends keyof JSX.IntrinsicElements
|
|
33032
|
-
? JSX.IntrinsicElements[T]
|
|
33033
|
-
: T extends Component<infer Props>
|
|
33034
|
-
? Props
|
|
33035
|
-
: never
|
|
33036
|
-
|
|
33037
|
-
type ${l}<T extends ElementType> = FunctionalComponent<ComponentProps<T>>
|
|
33038
|
-
>
|
|
32790
|
+
import type { Component, FunctionalComponent, NativeElements } from 'vue'
|
|
33039
32791
|
|
|
33040
|
-
|
|
33041
|
-
|
|
33042
|
-
}
|
|
32792
|
+
type IntrinsicElement = keyof NativeElements
|
|
32793
|
+
type ElementType = IntrinsicElement | Component
|
|
33043
32794
|
|
|
33044
|
-
|
|
32795
|
+
type ComponentProps<T extends ElementType> = T extends IntrinsicElement
|
|
32796
|
+
? NativeElements[T]
|
|
32797
|
+
: T extends Component<infer Props>
|
|
32798
|
+
? Props
|
|
32799
|
+
: never
|
|
33045
32800
|
|
|
33046
|
-
|
|
32801
|
+
type ${l}<T extends ElementType> = FunctionalComponent<ComponentProps<T>>
|
|
32802
|
+
>
|
|
33047
32803
|
|
|
33048
|
-
|
|
32804
|
+
interface JsxFactory {
|
|
32805
|
+
<T extends ElementType>(component: T): ${l}<T>
|
|
32806
|
+
}
|
|
32807
|
+
|
|
32808
|
+
type JsxElements = { [K in IntrinsicElement]: ${l}<K> }
|
|
32809
|
+
|
|
32810
|
+
export type ${p} = JsxFactory ${i==="none"?"":"& JsxElements"}
|
|
32811
|
+
|
|
32812
|
+
export type ${m}<T extends ElementType> = ComponentProps<T>
|
|
33049
32813
|
`}}var aCr={react:Kyr,preact:Oyr,solid:Zyr,vue:oCr,qwik:Vyr},lCr={react:Yyr,solid:tCr,qwik:Hyr,preact:Gyr,vue:sCr};function qIn(r){return r.jsx.framework?(r.isTemplateLiteralSyntax?lCr[r.jsx.framework]:aCr[r.jsx.framework])?.(r):void 0}var cCr={react:Jyr,solid:Qyr,preact:Myr,vue:nCr,qwik:zyr},uCr={react:Xyr,solid:eCr,qwik:Uyr,preact:Wyr,vue:rCr};function pCr(r){return r.jsx.framework?(r.isTemplateLiteralSyntax?uCr[r.jsx.framework]:cCr[r.jsx.framework])?.(r):void 0}var fCr={react:qyr,solid:$yr,preact:Fyr,vue:iCr,qwik:jyr};function dCr(r){return r.isTemplateLiteralSyntax?[]:r.patterns.isEmpty()&&!r.jsx.framework?[]:fCr[r.jsx.framework](r)}function mCr(r){let{config:{outdir:n}}=r,i={name:n,description:"This package is auto-generated by Panda CSS",version:`0.0.0-${performance.now()}`,type:"module",exports:{"./css":{types:r.file.extDts("./css/index"),require:r.file.ext("./css/index"),import:r.file.ext("./css/index")},"./jsx":{types:r.file.extDts("./jsx/index"),require:r.file.ext("./jsx/index"),import:r.file.ext("./jsx/index")},"./patterns":{types:r.file.extDts("./patterns/index"),require:r.file.ext("./patterns/index"),import:r.file.ext("./patterns/index")},"./recipes":{types:r.file.extDts("./recipes/index"),require:r.file.ext("./recipes/index"),import:r.file.ext("./recipes/index")},"./tokens":{types:r.file.extDts("./tokens/index"),require:r.file.ext("./tokens/index"),import:r.file.ext("./tokens/index")},"./types":{types:r.file.extDts("./types/index")},"./styles.css":"./styles.css"}};return JSON.stringify(i,null,2)}var _Cr={content:`export {};
|
|
33050
32814
|
|
|
33051
32815
|
export type PropertyValue<TValue> = TValue extends Array<infer AValue>
|
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-
|
|
5
|
+
"version": "0.0.0-dev-20230911135518",
|
|
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-
|
|
36
|
-
"@pandacss/extension-shared": "0.0.0-dev-
|
|
37
|
-
"@pandacss/extractor": "0.0.0-dev-
|
|
38
|
-
"@pandacss/node": "0.0.0-dev-
|
|
39
|
-
"@pandacss/parser": "0.0.0-dev-
|
|
40
|
-
"@pandacss/shared": "0.0.0-dev-
|
|
41
|
-
"@pandacss/token-dictionary": "0.0.0-dev-
|
|
42
|
-
"@pandacss/types": "0.0.0-dev-
|
|
35
|
+
"@pandacss/core": "0.0.0-dev-20230911135518",
|
|
36
|
+
"@pandacss/extension-shared": "0.0.0-dev-20230911135518",
|
|
37
|
+
"@pandacss/extractor": "0.0.0-dev-20230911135518",
|
|
38
|
+
"@pandacss/node": "0.0.0-dev-20230911135518",
|
|
39
|
+
"@pandacss/parser": "0.0.0-dev-20230911135518",
|
|
40
|
+
"@pandacss/shared": "0.0.0-dev-20230911135518",
|
|
41
|
+
"@pandacss/token-dictionary": "0.0.0-dev-20230911135518",
|
|
42
|
+
"@pandacss/types": "0.0.0-dev-20230911135518"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"fast-glob": "^3.3.1"
|