@enjoys/context-engine 1.2.0 → 1.4.1

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 (270) hide show
  1. package/data/codeActions/angular.json +126 -0
  2. package/data/codeActions/css.json +111 -0
  3. package/data/codeActions/nestjs.json +124 -0
  4. package/data/codeActions/nextjs.json +198 -0
  5. package/data/codeActions/react.json +154 -0
  6. package/data/codeActions/shadcn.json +112 -0
  7. package/data/codeActions/shell.json +169 -26
  8. package/data/codeActions/tailwindcss.json +76 -0
  9. package/data/codeLens/angular.json +22 -0
  10. package/data/codeLens/css.json +68 -0
  11. package/data/codeLens/nestjs.json +21 -0
  12. package/data/codeLens/nextjs.json +117 -0
  13. package/data/codeLens/react.json +89 -0
  14. package/data/codeLens/shadcn.json +89 -0
  15. package/data/codeLens/shell.json +59 -17
  16. package/data/codeLens/tailwindcss.json +103 -0
  17. package/data/color/angular.json +21 -0
  18. package/data/color/css.json +124 -0
  19. package/data/color/nestjs.json +18 -0
  20. package/data/color/nextjs.json +22 -0
  21. package/data/color/react.json +93 -0
  22. package/data/color/shadcn.json +66 -0
  23. package/data/color/shell.json +106 -80
  24. package/data/color/tailwindcss.json +53 -0
  25. package/data/commands/angular.json +312 -0
  26. package/data/commands/css.json +41 -0
  27. package/data/commands/manifest.json +734 -727
  28. package/data/commands/nestjs.json +273 -0
  29. package/data/commands/nextjs.json +123 -0
  30. package/data/commands/react.json +210 -0
  31. package/data/commands/shadcn.json +410 -0
  32. package/data/commands/shell.json +571 -41
  33. package/data/commands/tailwindcss.json +53 -0
  34. package/data/completion/angular.json +1490 -0
  35. package/data/completion/css.json +1176 -0
  36. package/data/completion/javascript.json +27 -0
  37. package/data/completion/nestjs.json +1454 -0
  38. package/data/completion/nextjs.json +1373 -0
  39. package/data/completion/react.json +1319 -0
  40. package/data/completion/redis-cli.json +1 -1
  41. package/data/completion/shadcn.json +1202 -0
  42. package/data/completion/shell.json +2446 -510
  43. package/data/completion/tailwindcss.json +284 -0
  44. package/data/completion/typescript.json +27 -0
  45. package/data/declaration/angular.json +46 -0
  46. package/data/declaration/css.json +59 -0
  47. package/data/declaration/nestjs.json +47 -0
  48. package/data/declaration/nextjs.json +274 -0
  49. package/data/declaration/react.json +199 -0
  50. package/data/declaration/shadcn.json +211 -0
  51. package/data/declaration/shell.json +343 -24
  52. package/data/declaration/tailwindcss.json +137 -0
  53. package/data/definition/angular.json +670 -0
  54. package/data/definition/css.json +115 -0
  55. package/data/definition/nestjs.json +684 -0
  56. package/data/definition/nextjs.json +439 -0
  57. package/data/definition/react.json +397 -0
  58. package/data/definition/redis-cli.json +1 -1
  59. package/data/definition/shadcn.json +99 -0
  60. package/data/definition/shell.json +820 -0
  61. package/data/definition/tailwindcss.json +115 -0
  62. package/data/documentHighlight/angular.json +414 -0
  63. package/data/documentHighlight/css.json +125 -0
  64. package/data/documentHighlight/nestjs.json +115 -0
  65. package/data/documentHighlight/nextjs.json +212 -0
  66. package/data/documentHighlight/react.json +119 -0
  67. package/data/documentHighlight/shadcn.json +168 -0
  68. package/data/documentHighlight/shell.json +664 -334
  69. package/data/documentHighlight/tailwindcss.json +160 -0
  70. package/data/documentRangeFormatting/angular.json +45 -0
  71. package/data/documentRangeFormatting/css.json +101 -0
  72. package/data/documentRangeFormatting/nestjs.json +17 -0
  73. package/data/documentRangeFormatting/nextjs.json +17 -0
  74. package/data/documentRangeFormatting/react.json +78 -0
  75. package/data/documentRangeFormatting/shadcn.json +45 -0
  76. package/data/documentRangeFormatting/shell.json +120 -53
  77. package/data/documentRangeFormatting/tailwindcss.json +55 -0
  78. package/data/documentSymbol/angular.json +180 -0
  79. package/data/documentSymbol/css.json +96 -0
  80. package/data/documentSymbol/nestjs.json +152 -0
  81. package/data/documentSymbol/nextjs.json +159 -0
  82. package/data/documentSymbol/react.json +145 -0
  83. package/data/documentSymbol/shadcn.json +131 -0
  84. package/data/documentSymbol/shell.json +166 -26
  85. package/data/documentSymbol/tailwindcss.json +110 -0
  86. package/data/foldingRange/angular.json +99 -0
  87. package/data/foldingRange/css.json +66 -0
  88. package/data/foldingRange/nestjs.json +26 -0
  89. package/data/foldingRange/nextjs.json +26 -0
  90. package/data/foldingRange/react.json +120 -0
  91. package/data/foldingRange/shadcn.json +93 -0
  92. package/data/foldingRange/shell.json +106 -46
  93. package/data/foldingRange/tailwindcss.json +60 -0
  94. package/data/formatting/angular.json +21 -0
  95. package/data/formatting/css.json +73 -0
  96. package/data/formatting/nestjs.json +23 -0
  97. package/data/formatting/nextjs.json +23 -0
  98. package/data/formatting/react.json +71 -0
  99. package/data/formatting/shadcn.json +61 -0
  100. package/data/formatting/shell.json +103 -19
  101. package/data/formatting/tailwindcss.json +48 -0
  102. package/data/hover/angular.json +455 -0
  103. package/data/hover/css.json +300 -0
  104. package/data/hover/nestjs.json +296 -0
  105. package/data/hover/nextjs.json +305 -0
  106. package/data/hover/react.json +173 -0
  107. package/data/hover/redis-cli.json +1 -1
  108. package/data/hover/shadcn.json +450 -0
  109. package/data/hover/shell.json +684 -75
  110. package/data/hover/tailwindcss.json +968 -0
  111. package/data/implementation/angular.json +22 -0
  112. package/data/implementation/css.json +65 -0
  113. package/data/implementation/nestjs.json +24 -0
  114. package/data/implementation/nextjs.json +137 -0
  115. package/data/implementation/react.json +125 -0
  116. package/data/implementation/shadcn.json +89 -0
  117. package/data/implementation/shell.json +59 -3
  118. package/data/implementation/tailwindcss.json +59 -0
  119. package/data/inlayHints/angular.json +24 -0
  120. package/data/inlayHints/css.json +87 -0
  121. package/data/inlayHints/nestjs.json +24 -0
  122. package/data/inlayHints/nextjs.json +143 -0
  123. package/data/inlayHints/react.json +177 -0
  124. package/data/inlayHints/shadcn.json +109 -0
  125. package/data/inlayHints/shell.json +223 -35
  126. package/data/inlayHints/tailwindcss.json +111 -0
  127. package/data/inlineCompletions/angular.json +135 -0
  128. package/data/inlineCompletions/css.json +125 -0
  129. package/data/inlineCompletions/javascript.json +12 -0
  130. package/data/inlineCompletions/nestjs.json +25 -0
  131. package/data/inlineCompletions/nextjs.json +179 -0
  132. package/data/inlineCompletions/react.json +203 -0
  133. package/data/inlineCompletions/shadcn.json +115 -0
  134. package/data/inlineCompletions/shell.json +185 -35
  135. package/data/inlineCompletions/tailwindcss.json +411 -0
  136. package/data/inlineCompletions/typescript.json +12 -0
  137. package/data/linkedEditingRange/angular.json +23 -0
  138. package/data/linkedEditingRange/css.json +40 -0
  139. package/data/linkedEditingRange/nestjs.json +10 -0
  140. package/data/linkedEditingRange/nextjs.json +11 -0
  141. package/data/linkedEditingRange/react.json +75 -0
  142. package/data/linkedEditingRange/shadcn.json +23 -0
  143. package/data/linkedEditingRange/shell.json +25 -25
  144. package/data/linkedEditingRange/tailwindcss.json +30 -0
  145. package/data/links/angular.json +95 -0
  146. package/data/links/css.json +55 -0
  147. package/data/links/nestjs.json +130 -0
  148. package/data/links/nextjs.json +91 -0
  149. package/data/links/react.json +75 -0
  150. package/data/links/shadcn.json +98 -0
  151. package/data/links/shell.json +56 -0
  152. package/data/links/tailwindcss.json +65 -0
  153. package/data/manifest.json +399 -150
  154. package/data/onTypeFormatting/angular.json +14 -0
  155. package/data/onTypeFormatting/css.json +82 -0
  156. package/data/onTypeFormatting/nestjs.json +16 -0
  157. package/data/onTypeFormatting/nextjs.json +17 -0
  158. package/data/onTypeFormatting/react.json +127 -0
  159. package/data/onTypeFormatting/shadcn.json +54 -0
  160. package/data/onTypeFormatting/shell.json +72 -68
  161. package/data/onTypeFormatting/tailwindcss.json +63 -0
  162. package/data/rangeSemanticTokens/angular.json +140 -0
  163. package/data/rangeSemanticTokens/css.json +125 -0
  164. package/data/rangeSemanticTokens/nestjs.json +27 -0
  165. package/data/rangeSemanticTokens/nextjs.json +28 -0
  166. package/data/rangeSemanticTokens/react.json +216 -0
  167. package/data/rangeSemanticTokens/shadcn.json +140 -0
  168. package/data/rangeSemanticTokens/shell.json +247 -69
  169. package/data/rangeSemanticTokens/tailwindcss.json +186 -0
  170. package/data/references/angular.json +26 -0
  171. package/data/references/css.json +65 -0
  172. package/data/references/nestjs.json +24 -0
  173. package/data/references/nextjs.json +178 -0
  174. package/data/references/react.json +192 -0
  175. package/data/references/shadcn.json +101 -0
  176. package/data/references/shell.json +323 -92
  177. package/data/references/tailwindcss.json +125 -0
  178. package/data/rename/angular.json +131 -0
  179. package/data/rename/css.json +91 -0
  180. package/data/rename/nestjs.json +32 -0
  181. package/data/rename/nextjs.json +31 -0
  182. package/data/rename/react.json +88 -0
  183. package/data/rename/shadcn.json +79 -0
  184. package/data/rename/shell.json +101 -31
  185. package/data/rename/tailwindcss.json +58 -0
  186. package/data/selectionRange/angular.json +95 -0
  187. package/data/selectionRange/css.json +55 -0
  188. package/data/selectionRange/nestjs.json +21 -0
  189. package/data/selectionRange/nextjs.json +22 -0
  190. package/data/selectionRange/react.json +87 -0
  191. package/data/selectionRange/shadcn.json +89 -0
  192. package/data/selectionRange/shell.json +65 -35
  193. package/data/selectionRange/tailwindcss.json +35 -0
  194. package/data/semanticTokens/angular.json +198 -0
  195. package/data/semanticTokens/css.json +107 -0
  196. package/data/semanticTokens/nestjs.json +35 -0
  197. package/data/semanticTokens/nextjs.json +38 -0
  198. package/data/semanticTokens/react.json +215 -0
  199. package/data/semanticTokens/shadcn.json +180 -0
  200. package/data/semanticTokens/shell.json +238 -65
  201. package/data/semanticTokens/tailwindcss.json +161 -0
  202. package/data/signatureHelp/angular.json +182 -0
  203. package/data/signatureHelp/css.json +137 -0
  204. package/data/signatureHelp/nestjs.json +128 -0
  205. package/data/signatureHelp/nextjs.json +127 -0
  206. package/data/signatureHelp/react.json +281 -0
  207. package/data/signatureHelp/shadcn.json +237 -0
  208. package/data/signatureHelp/shell.json +797 -104
  209. package/data/signatureHelp/tailwindcss.json +64 -0
  210. package/data/typeDefinition/angular.json +362 -0
  211. package/data/typeDefinition/css.json +53 -0
  212. package/data/typeDefinition/nestjs.json +334 -0
  213. package/data/typeDefinition/nextjs.json +285 -0
  214. package/data/typeDefinition/react.json +236 -0
  215. package/data/typeDefinition/shadcn.json +292 -0
  216. package/data/typeDefinition/shell.json +104 -40
  217. package/data/typeDefinition/tailwindcss.json +47 -0
  218. package/package.json +1 -1
  219. package/data/codeActions/bash.json +0 -169
  220. package/data/codeActions/zsh.json +0 -49
  221. package/data/codeLens/bash.json +0 -75
  222. package/data/codeLens/zsh.json +0 -19
  223. package/data/color/bash.json +0 -100
  224. package/data/color/zsh.json +0 -80
  225. package/data/commands/bash.json +0 -102
  226. package/data/commands/zsh.json +0 -166
  227. package/data/completion/bash.json +0 -1184
  228. package/data/completion/zsh.json +0 -973
  229. package/data/declaration/bash.json +0 -301
  230. package/data/declaration/zsh.json +0 -205
  231. package/data/definition/bash.json +0 -565
  232. package/data/definition/zsh.json +0 -350
  233. package/data/documentHighlight/bash.json +0 -393
  234. package/data/documentHighlight/zsh.json +0 -266
  235. package/data/documentRangeFormatting/bash.json +0 -41
  236. package/data/documentRangeFormatting/zsh.json +0 -59
  237. package/data/documentSymbol/bash.json +0 -124
  238. package/data/documentSymbol/zsh.json +0 -26
  239. package/data/foldingRange/bash.json +0 -76
  240. package/data/foldingRange/zsh.json +0 -46
  241. package/data/formatting/bash.json +0 -88
  242. package/data/formatting/zsh.json +0 -28
  243. package/data/hover/bash.json +0 -579
  244. package/data/hover/zsh.json +0 -96
  245. package/data/implementation/bash.json +0 -44
  246. package/data/implementation/zsh.json +0 -41
  247. package/data/inlayHints/bash.json +0 -207
  248. package/data/inlayHints/zsh.json +0 -43
  249. package/data/inlineCompletions/bash.json +0 -155
  250. package/data/inlineCompletions/zsh.json +0 -17
  251. package/data/linkedEditingRange/bash.json +0 -25
  252. package/data/linkedEditingRange/zsh.json +0 -25
  253. package/data/links/bash.json +0 -56
  254. package/data/links/zsh.json +0 -15
  255. package/data/onTypeFormatting/bash.json +0 -68
  256. package/data/onTypeFormatting/zsh.json +0 -68
  257. package/data/rangeSemanticTokens/bash.json +0 -90
  258. package/data/rangeSemanticTokens/zsh.json +0 -76
  259. package/data/references/bash.json +0 -221
  260. package/data/references/zsh.json +0 -166
  261. package/data/rename/bash.json +0 -37
  262. package/data/rename/zsh.json +0 -31
  263. package/data/selectionRange/bash.json +0 -35
  264. package/data/selectionRange/zsh.json +0 -35
  265. package/data/semanticTokens/bash.json +0 -71
  266. package/data/semanticTokens/zsh.json +0 -71
  267. package/data/signatureHelp/bash.json +0 -111
  268. package/data/signatureHelp/zsh.json +0 -118
  269. package/data/typeDefinition/bash.json +0 -95
  270. package/data/typeDefinition/zsh.json +0 -40
@@ -0,0 +1,236 @@
1
+ {
2
+ "language": "react",
3
+ "typeDefinitions": {
4
+ "FC": {
5
+ "type": "type_alias",
6
+ "signature": "type FC<P = {}> = FunctionComponent<P>",
7
+ "description": "Type alias for a React functional component. Generic over props type P. Includes children in props by default (deprecated in React 18+).",
8
+ "module": "react",
9
+ "url": "https://react.dev/reference/react/FC"
10
+ },
11
+ "ReactNode": {
12
+ "type": "type_alias",
13
+ "signature": "type ReactNode = ReactElement | string | number | Iterable<ReactNode> | ReactPortal | boolean | null | undefined",
14
+ "description": "Union type representing any renderable React content: elements, strings, numbers, fragments, portals, booleans, null, and undefined.",
15
+ "module": "react",
16
+ "url": "https://react.dev/reference/react/ReactNode"
17
+ },
18
+ "ReactElement": {
19
+ "type": "interface",
20
+ "signature": "interface ReactElement<P = any, T extends string | JSXElementConstructor<any> = string | JSXElementConstructor<any>> { type: T; props: P; key: string | null; }",
21
+ "description": "Represents a React element created by JSX or createElement. Has type, props, and key. Narrower than ReactNode.",
22
+ "module": "react",
23
+ "url": "https://react.dev/reference/react/ReactElement"
24
+ },
25
+ "CSSProperties": {
26
+ "type": "interface",
27
+ "signature": "interface CSSProperties extends CSS.Properties<string | number>",
28
+ "description": "Type for inline style objects. All standard CSS properties in camelCase (e.g., backgroundColor, fontSize). Values are strings or numbers.",
29
+ "module": "react",
30
+ "url": "https://react.dev/reference/react/CSSProperties"
31
+ },
32
+ "ChangeEvent": {
33
+ "type": "interface",
34
+ "signature": "interface ChangeEvent<T = Element> extends SyntheticEvent<T>",
35
+ "description": "Event type fired when the value of an input, select, or textarea element changes. Access the value via e.target.value.",
36
+ "module": "react",
37
+ "url": "https://react.dev/reference/react-dom/components/input"
38
+ },
39
+ "FormEvent": {
40
+ "type": "interface",
41
+ "signature": "interface FormEvent<T = Element> extends SyntheticEvent<T>",
42
+ "description": "Event type fired when a form is submitted. Call e.preventDefault() to prevent the default browser submission.",
43
+ "module": "react",
44
+ "url": "https://react.dev/reference/react-dom/components/form"
45
+ },
46
+ "MouseEvent": {
47
+ "type": "interface",
48
+ "signature": "interface MouseEvent<T = Element, E = NativeMouseEvent> extends UIEvent<T, E>",
49
+ "description": "Event type for mouse interactions including click, double-click, mouseenter, mouseleave, mousemove, and context menu.",
50
+ "module": "react",
51
+ "url": "https://react.dev/reference/react-dom/components/common#mouseevent-handler"
52
+ },
53
+ "KeyboardEvent": {
54
+ "type": "interface",
55
+ "signature": "interface KeyboardEvent<T = Element> extends UIEvent<T, NativeKeyboardEvent>",
56
+ "description": "Event type for keyboard interactions. Provides key, code, altKey, ctrlKey, metaKey, shiftKey, and repeat properties.",
57
+ "module": "react",
58
+ "url": "https://react.dev/reference/react-dom/components/common#keyboardevent-handler"
59
+ },
60
+ "RefObject": {
61
+ "type": "interface",
62
+ "signature": "interface RefObject<T> { readonly current: T | null; }",
63
+ "description": "Type for read-only refs typically created by createRef or useRef when not providing an initial value. The .current property starts as null.",
64
+ "module": "react",
65
+ "url": "https://react.dev/reference/react/useRef"
66
+ },
67
+ "MutableRefObject": {
68
+ "type": "interface",
69
+ "signature": "interface MutableRefObject<T> { current: T; }",
70
+ "description": "Type for mutable refs created by useRef with an initial value. The .current property can be freely read and written.",
71
+ "module": "react",
72
+ "url": "https://react.dev/reference/react/useRef"
73
+ },
74
+ "Dispatch": {
75
+ "type": "type_alias",
76
+ "signature": "type Dispatch<A> = (value: A) => void",
77
+ "description": "Type for the dispatch function returned by useReducer. Generic over the action type A.",
78
+ "module": "react",
79
+ "url": "https://react.dev/reference/react/useReducer"
80
+ },
81
+ "SetStateAction": {
82
+ "type": "type_alias",
83
+ "signature": "type SetStateAction<S> = S | ((prevState: S) => S)",
84
+ "description": "Type for the argument passed to a setState function. Can be the next state value directly or an updater function.",
85
+ "module": "react",
86
+ "url": "https://react.dev/reference/react/useState"
87
+ },
88
+ "Context": {
89
+ "type": "interface",
90
+ "signature": "interface Context<T> { Provider: Provider<T>; Consumer: Consumer<T>; displayName?: string; }",
91
+ "description": "Type for a context object created by createContext. Has Provider and Consumer components.",
92
+ "module": "react",
93
+ "url": "https://react.dev/reference/react/createContext"
94
+ },
95
+ "ComponentType": {
96
+ "type": "type_alias",
97
+ "signature": "type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>",
98
+ "description": "Union type of class components and function components. Useful for HOCs, dynamic rendering, and route configurations.",
99
+ "module": "react",
100
+ "url": "https://react.dev/reference/react/ComponentType"
101
+ },
102
+ "PropsWithChildren": {
103
+ "type": "type_alias",
104
+ "signature": "type PropsWithChildren<P = unknown> = P & { children?: ReactNode | undefined }",
105
+ "description": "Utility type that adds an optional children prop of type ReactNode to the given props type P.",
106
+ "module": "react",
107
+ "url": "https://react.dev/reference/react/PropsWithChildren"
108
+ },
109
+ "HTMLAttributes": {
110
+ "type": "interface",
111
+ "signature": "interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T>",
112
+ "description": "Type containing all standard HTML attributes for a given element type. Includes className, id, style, event handlers, ARIA attributes, and data attributes.",
113
+ "module": "react",
114
+ "url": "https://react.dev/reference/react-dom/components/common"
115
+ },
116
+ "ComponentProps": {
117
+ "type": "type_alias",
118
+ "signature": "type ComponentProps<T extends keyof JSX.IntrinsicElements | JSXElementConstructor<any>>",
119
+ "description": "Extracts the props type from a component type. Works with both intrinsic elements ('button') and custom components (typeof MyComponent).",
120
+ "module": "react",
121
+ "url": "https://react.dev/reference/react/ComponentProps"
122
+ },
123
+ "ElementType": {
124
+ "type": "type_alias",
125
+ "signature": "type ElementType<P = any> = { [K in keyof JSX.IntrinsicElements]: P extends JSX.IntrinsicElements[K] ? K : never }[keyof JSX.IntrinsicElements] | ComponentType<P>",
126
+ "description": "Represents any valid component type: an HTML/SVG tag name string or a React component (function or class).",
127
+ "module": "react",
128
+ "url": "https://react.dev/reference/react/ElementType"
129
+ },
130
+ "SyntheticEvent": {
131
+ "type": "interface",
132
+ "signature": "interface SyntheticEvent<T = Element, E = Event> { bubbles: boolean; cancelable: boolean; currentTarget: T; defaultPrevented: boolean; eventPhase: number; isTrusted: boolean; nativeEvent: E; preventDefault(): void; stopPropagation(): void; target: EventTarget; timeStamp: number; type: string; }",
133
+ "description": "Base event type for all React synthetic events. Cross-browser wrapper around native browser events with identical interface.",
134
+ "module": "react",
135
+ "url": "https://react.dev/reference/react-dom/components/common#react-event-object"
136
+ },
137
+ "JSX.Element": {
138
+ "type": "interface",
139
+ "signature": "namespace JSX { interface Element extends React.ReactElement<any, any> {} }",
140
+ "description": "Represents the return type of a JSX expression. Equivalent to ReactElement. Used by TypeScript for JSX type checking.",
141
+ "module": "react",
142
+ "url": "https://react.dev/reference/react/JSX.Element"
143
+ },
144
+ "JSX.IntrinsicElements": {
145
+ "type": "interface",
146
+ "signature": "namespace JSX { interface IntrinsicElements { div: HTMLAttributes<HTMLDivElement>; span: HTMLAttributes<HTMLSpanElement>; /* ...all HTML/SVG elements */ } }",
147
+ "description": "Maps HTML and SVG tag names to their attribute types. Used by TypeScript to type-check props on built-in JSX elements.",
148
+ "module": "react",
149
+ "url": "https://react.dev/reference/react/JSX.IntrinsicElements"
150
+ },
151
+ "ReactPortal": {
152
+ "type": "interface",
153
+ "signature": "interface ReactPortal extends ReactElement { children: ReactNode; }",
154
+ "description": "Represents a React portal element returned by createPortal. Contains the children and the container DOM node.",
155
+ "module": "react-dom",
156
+ "url": "https://react.dev/reference/react-dom/createPortal"
157
+ },
158
+ "ErrorInfo": {
159
+ "type": "interface",
160
+ "signature": "interface ErrorInfo { componentStack: string; digest?: string; }",
161
+ "description": "Contains the component stack trace when an error is caught by componentDidCatch. Useful for error reporting.",
162
+ "module": "react",
163
+ "url": "https://react.dev/reference/react/Component#componentdidcatch"
164
+ },
165
+ "Reducer": {
166
+ "type": "type_alias",
167
+ "signature": "type Reducer<S, A> = (prevState: S, action: A) => S",
168
+ "description": "Type for a reducer function used with useReducer. Takes the previous state and an action, returns the new state.",
169
+ "module": "react",
170
+ "url": "https://react.dev/reference/react/useReducer"
171
+ },
172
+ "ReducerAction": {
173
+ "type": "type_alias",
174
+ "signature": "type ReducerAction<R extends Reducer<any, any>> = R extends Reducer<any, infer A> ? A : never",
175
+ "description": "Extracts the action type from a Reducer type. Useful for typing dispatch functions.",
176
+ "module": "react",
177
+ "url": "https://react.dev/reference/react/useReducer"
178
+ },
179
+ "ReducerState": {
180
+ "type": "type_alias",
181
+ "signature": "type ReducerState<R extends Reducer<any, any>> = R extends Reducer<infer S, any> ? S : never",
182
+ "description": "Extracts the state type from a Reducer type. Useful for accessing the state shape from a reducer.",
183
+ "module": "react",
184
+ "url": "https://react.dev/reference/react/useReducer"
185
+ },
186
+ "DragEvent": {
187
+ "type": "interface",
188
+ "signature": "interface DragEvent<T = Element> extends MouseEvent<T, NativeDragEvent>",
189
+ "description": "Event type for HTML5 drag and drop operations. Provides dataTransfer property for accessing dragged data.",
190
+ "module": "react",
191
+ "url": "https://react.dev/reference/react-dom/components/common#dragevent-handler"
192
+ },
193
+ "FocusEvent": {
194
+ "type": "interface",
195
+ "signature": "interface FocusEvent<T = Element, R = Element> extends SyntheticEvent<T, NativeFocusEvent>",
196
+ "description": "Event type for focus and blur events. Provides relatedTarget for the element gaining or losing focus.",
197
+ "module": "react",
198
+ "url": "https://react.dev/reference/react-dom/components/common#focusevent-handler"
199
+ },
200
+ "TouchEvent": {
201
+ "type": "interface",
202
+ "signature": "interface TouchEvent<T = Element> extends UIEvent<T, NativeTouchEvent>",
203
+ "description": "Event type for touch interactions on mobile devices. Provides changedTouches, targetTouches, and touches lists.",
204
+ "module": "react",
205
+ "url": "https://react.dev/reference/react-dom/components/common#touchevent-handler"
206
+ },
207
+ "PointerEvent": {
208
+ "type": "interface",
209
+ "signature": "interface PointerEvent<T = Element> extends MouseEvent<T, NativePointerEvent>",
210
+ "description": "Unified event type for mouse, touch, and pen input. Provides pointerId, pressure, tiltX, tiltY, and pointerType.",
211
+ "module": "react",
212
+ "url": "https://react.dev/reference/react-dom/components/common#pointerevent-handler"
213
+ },
214
+ "ClipboardEvent": {
215
+ "type": "interface",
216
+ "signature": "interface ClipboardEvent<T = Element> extends SyntheticEvent<T, NativeClipboardEvent>",
217
+ "description": "Event type for clipboard operations (onCopy, onCut, onPaste). Provides clipboardData for accessing clipboard content.",
218
+ "module": "react",
219
+ "url": "https://react.dev/reference/react-dom/components/common#clipboardevent-handler"
220
+ },
221
+ "AnimationEvent": {
222
+ "type": "interface",
223
+ "signature": "interface AnimationEvent<T = Element> extends SyntheticEvent<T, NativeAnimationEvent>",
224
+ "description": "Event type for CSS animation events (onAnimationStart, onAnimationEnd, onAnimationIteration). Provides animationName and elapsedTime.",
225
+ "module": "react",
226
+ "url": "https://react.dev/reference/react-dom/components/common#animationevent-handler"
227
+ },
228
+ "TransitionEvent": {
229
+ "type": "interface",
230
+ "signature": "interface TransitionEvent<T = Element> extends SyntheticEvent<T, NativeTransitionEvent>",
231
+ "description": "Event type for CSS transition events (onTransitionEnd). Provides propertyName, elapsedTime, and pseudoElement.",
232
+ "module": "react",
233
+ "url": "https://react.dev/reference/react-dom/components/common#transitionevent-handler"
234
+ }
235
+ }
236
+ }
@@ -0,0 +1,292 @@
1
+ {
2
+ "language": "shadcn",
3
+ "typeDefinitions": {
4
+ "ButtonProps": {
5
+ "type": "interface",
6
+ "signature": "interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> { asChild?: boolean }",
7
+ "description": "Props for the Button component. Extends HTML button attributes with variant and size props from CVA.",
8
+ "module": "@/components/ui/button",
9
+ "url": "https://ui.shadcn.com/docs/components/button"
10
+ },
11
+ "ButtonVariants": {
12
+ "type": "type",
13
+ "signature": "type ButtonVariants = VariantProps<typeof buttonVariants>",
14
+ "description": "Type for Button variant props: variant ('default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link') and size ('default' | 'sm' | 'lg' | 'icon').",
15
+ "module": "@/components/ui/button",
16
+ "url": "https://ui.shadcn.com/docs/components/button"
17
+ },
18
+ "BadgeVariants": {
19
+ "type": "type",
20
+ "signature": "type BadgeVariants = VariantProps<typeof badgeVariants>",
21
+ "description": "Type for Badge variant props: variant ('default' | 'secondary' | 'outline' | 'destructive').",
22
+ "module": "@/components/ui/badge",
23
+ "url": "https://ui.shadcn.com/docs/components/badge"
24
+ },
25
+ "CardProps": {
26
+ "type": "interface",
27
+ "signature": "interface CardProps extends React.HTMLAttributes<HTMLDivElement> {}",
28
+ "description": "Props for the Card component. Extends standard HTML div attributes.",
29
+ "module": "@/components/ui/card",
30
+ "url": "https://ui.shadcn.com/docs/components/card"
31
+ },
32
+ "DialogProps": {
33
+ "type": "interface",
34
+ "signature": "interface DialogProps extends Radix.DialogProps { open?: boolean; onOpenChange?: (open: boolean) => void; defaultOpen?: boolean; modal?: boolean }",
35
+ "description": "Props for the Dialog component. Controls open state and modality.",
36
+ "module": "@/components/ui/dialog",
37
+ "url": "https://ui.shadcn.com/docs/components/dialog"
38
+ },
39
+ "DialogContentProps": {
40
+ "type": "interface",
41
+ "signature": "interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> { className?: string }",
42
+ "description": "Props for DialogContent. Accepts className and Radix Dialog.Content props.",
43
+ "module": "@/components/ui/dialog",
44
+ "url": "https://ui.shadcn.com/docs/components/dialog"
45
+ },
46
+ "FormFieldProps": {
47
+ "type": "interface",
48
+ "signature": "interface FormFieldProps<TFieldValues extends FieldValues, TName extends FieldPath<TFieldValues>> { control: Control<TFieldValues>; name: TName; render: ({ field, fieldState, formState }) => React.ReactElement }",
49
+ "description": "Props for FormField component. Connects to react-hook-form via control, name, and render props.",
50
+ "module": "@/components/ui/form",
51
+ "url": "https://ui.shadcn.com/docs/components/form"
52
+ },
53
+ "InputProps": {
54
+ "type": "interface",
55
+ "signature": "interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {}",
56
+ "description": "Props for the Input component. Extends native HTML input attributes.",
57
+ "module": "@/components/ui/input",
58
+ "url": "https://ui.shadcn.com/docs/components/input"
59
+ },
60
+ "TextareaProps": {
61
+ "type": "interface",
62
+ "signature": "interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}",
63
+ "description": "Props for the Textarea component. Extends native HTML textarea attributes.",
64
+ "module": "@/components/ui/textarea",
65
+ "url": "https://ui.shadcn.com/docs/components/textarea"
66
+ },
67
+ "SelectProps": {
68
+ "type": "interface",
69
+ "signature": "interface SelectProps extends Radix.SelectProps { value?: string; onValueChange?: (value: string) => void; defaultValue?: string; open?: boolean; onOpenChange?: (open: boolean) => void }",
70
+ "description": "Props for the Select component. Built on Radix UI Select primitive.",
71
+ "module": "@/components/ui/select",
72
+ "url": "https://ui.shadcn.com/docs/components/select"
73
+ },
74
+ "ToastProps": {
75
+ "type": "interface",
76
+ "signature": "interface ToastProps { title?: string; description?: string; variant?: 'default' | 'destructive'; action?: ToastActionElement; open?: boolean; onOpenChange?: (open: boolean) => void }",
77
+ "description": "Props for creating a toast notification.",
78
+ "module": "@/components/ui/toast",
79
+ "url": "https://ui.shadcn.com/docs/components/toast"
80
+ },
81
+ "ToastActionElement": {
82
+ "type": "type",
83
+ "signature": "type ToastActionElement = React.ReactElement<typeof ToastAction>",
84
+ "description": "The type for the action element in a toast notification. Must be a ToastAction component.",
85
+ "module": "@/components/ui/toast",
86
+ "url": "https://ui.shadcn.com/docs/components/toast"
87
+ },
88
+ "ToasterToast": {
89
+ "type": "interface",
90
+ "signature": "interface ToasterToast extends ToastProps { id: string; title?: string; description?: string; action?: ToastActionElement }",
91
+ "description": "Internal toast state type with unique id. Used by the toast store.",
92
+ "module": "@/components/ui/use-toast",
93
+ "url": "https://ui.shadcn.com/docs/components/toast"
94
+ },
95
+ "VariantProps": {
96
+ "type": "type",
97
+ "signature": "type VariantProps<T extends (...args: any) => any> = Omit<OmitUndefined<Parameters<T>[0]>, 'class' | 'className'>",
98
+ "description": "Extracts variant prop types from a CVA function. Used to type component props that accept CVA variants.",
99
+ "module": "class-variance-authority",
100
+ "url": "https://cva.style/docs"
101
+ },
102
+ "ClassValue": {
103
+ "type": "type",
104
+ "signature": "type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined",
105
+ "description": "Type for values accepted by clsx. Supports strings, objects, arrays, and falsy values for conditional class names.",
106
+ "module": "clsx",
107
+ "url": "https://github.com/lukeed/clsx"
108
+ },
109
+ "DataTableProps": {
110
+ "type": "interface",
111
+ "signature": "interface DataTableProps<TData, TValue> { columns: ColumnDef<TData, TValue>[]; data: TData[] }",
112
+ "description": "Props for the DataTable component pattern. Requires column definitions and data array.",
113
+ "module": "@/components/ui/data-table",
114
+ "url": "https://ui.shadcn.com/docs/components/data-table"
115
+ },
116
+ "ColumnDef": {
117
+ "type": "interface",
118
+ "signature": "interface ColumnDef<TData, TValue = unknown> { id?: string; accessorKey?: keyof TData & string; accessorFn?: (row: TData) => TValue; header?: string | HeaderContext<TData, TValue>; cell?: CellContext<TData, TValue>; footer?: string; enableSorting?: boolean; enableHiding?: boolean }",
119
+ "description": "Column definition for TanStack Table. Defines how each column accesses data, renders headers and cells.",
120
+ "module": "@tanstack/react-table",
121
+ "url": "https://tanstack.com/table/latest/docs/guide/column-defs"
122
+ },
123
+ "UseFormFieldReturn": {
124
+ "type": "interface",
125
+ "signature": "interface UseFormFieldReturn { invalid: boolean; isDirty: boolean; isTouched: boolean; error?: FieldError; id: string; name: string; formItemId: string; formDescriptionId: string; formMessageId: string }",
126
+ "description": "Return type of useFormField hook. Provides form field state and accessibility IDs.",
127
+ "module": "@/components/ui/form",
128
+ "url": "https://ui.shadcn.com/docs/components/form"
129
+ },
130
+ "TooltipProviderProps": {
131
+ "type": "interface",
132
+ "signature": "interface TooltipProviderProps { children: React.ReactNode; delayDuration?: number; skipDelayDuration?: number; disableHoverableContent?: boolean }",
133
+ "description": "Props for TooltipProvider. Controls tooltip delay and hover behavior globally.",
134
+ "module": "@/components/ui/tooltip",
135
+ "url": "https://ui.shadcn.com/docs/components/tooltip"
136
+ },
137
+ "AccordionProps": {
138
+ "type": "interface",
139
+ "signature": "interface AccordionProps extends React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root> { type: 'single' | 'multiple'; collapsible?: boolean; defaultValue?: string | string[]; value?: string | string[] }",
140
+ "description": "Props for the Accordion component. Type determines single or multiple selection mode.",
141
+ "module": "@/components/ui/accordion",
142
+ "url": "https://ui.shadcn.com/docs/components/accordion"
143
+ },
144
+ "AlertProps": {
145
+ "type": "interface",
146
+ "signature": "interface AlertProps extends React.HTMLAttributes<HTMLDivElement> { variant?: 'default' | 'destructive' }",
147
+ "description": "Props for the Alert component with variant support.",
148
+ "module": "@/components/ui/alert",
149
+ "url": "https://ui.shadcn.com/docs/components/alert"
150
+ },
151
+ "AvatarProps": {
152
+ "type": "interface",
153
+ "signature": "interface AvatarProps extends React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root> { className?: string }",
154
+ "description": "Props for the Avatar component.",
155
+ "module": "@/components/ui/avatar",
156
+ "url": "https://ui.shadcn.com/docs/components/avatar"
157
+ },
158
+ "BadgeProps": {
159
+ "type": "interface",
160
+ "signature": "interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {}",
161
+ "description": "Props for the Badge component with variant support.",
162
+ "module": "@/components/ui/badge",
163
+ "url": "https://ui.shadcn.com/docs/components/badge"
164
+ },
165
+ "CalendarProps": {
166
+ "type": "interface",
167
+ "signature": "interface CalendarProps extends Omit<DayPickerProps, 'className'> { className?: string; classNames?: Record<string, string> }",
168
+ "description": "Props for the Calendar component. Extends react-day-picker DayPickerProps.",
169
+ "module": "@/components/ui/calendar",
170
+ "url": "https://ui.shadcn.com/docs/components/calendar"
171
+ },
172
+ "CheckboxProps": {
173
+ "type": "interface",
174
+ "signature": "interface CheckboxProps extends React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> { checked?: boolean | 'indeterminate'; onCheckedChange?: (checked: boolean | 'indeterminate') => void }",
175
+ "description": "Props for the Checkbox component. Supports boolean and indeterminate states.",
176
+ "module": "@/components/ui/checkbox",
177
+ "url": "https://ui.shadcn.com/docs/components/checkbox"
178
+ },
179
+ "SheetProps": {
180
+ "type": "interface",
181
+ "signature": "interface SheetProps extends Radix.DialogProps { open?: boolean; onOpenChange?: (open: boolean) => void; defaultOpen?: boolean }",
182
+ "description": "Props for the Sheet component. Uses same API as Dialog.",
183
+ "module": "@/components/ui/sheet",
184
+ "url": "https://ui.shadcn.com/docs/components/sheet"
185
+ },
186
+ "SheetContentProps": {
187
+ "type": "interface",
188
+ "signature": "interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content> { side?: 'top' | 'right' | 'bottom' | 'left'; className?: string }",
189
+ "description": "Props for SheetContent. The 'side' prop controls which edge the sheet slides from.",
190
+ "module": "@/components/ui/sheet",
191
+ "url": "https://ui.shadcn.com/docs/components/sheet"
192
+ },
193
+ "TabsProps": {
194
+ "type": "interface",
195
+ "signature": "interface TabsProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> { defaultValue?: string; value?: string; onValueChange?: (value: string) => void; orientation?: 'horizontal' | 'vertical' }",
196
+ "description": "Props for the Tabs component.",
197
+ "module": "@/components/ui/tabs",
198
+ "url": "https://ui.shadcn.com/docs/components/tabs"
199
+ },
200
+ "ToggleProps": {
201
+ "type": "interface",
202
+ "signature": "interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> { pressed?: boolean; onPressedChange?: (pressed: boolean) => void }",
203
+ "description": "Props for the Toggle component with variant support.",
204
+ "module": "@/components/ui/toggle",
205
+ "url": "https://ui.shadcn.com/docs/components/toggle"
206
+ },
207
+ "ProgressProps": {
208
+ "type": "interface",
209
+ "signature": "interface ProgressProps extends React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> { value?: number; max?: number }",
210
+ "description": "Props for the Progress component. Value is 0-100 by default.",
211
+ "module": "@/components/ui/progress",
212
+ "url": "https://ui.shadcn.com/docs/components/progress"
213
+ },
214
+ "SliderProps": {
215
+ "type": "interface",
216
+ "signature": "interface SliderProps extends React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root> { defaultValue?: number[]; value?: number[]; onValueChange?: (value: number[]) => void; min?: number; max?: number; step?: number }",
217
+ "description": "Props for the Slider component. Value is an array for range support.",
218
+ "module": "@/components/ui/slider",
219
+ "url": "https://ui.shadcn.com/docs/components/slider"
220
+ },
221
+ "SwitchProps": {
222
+ "type": "interface",
223
+ "signature": "interface SwitchProps extends React.ComponentPropsWithoutRef<typeof SwitchPrimitive.Root> { checked?: boolean; onCheckedChange?: (checked: boolean) => void; disabled?: boolean }",
224
+ "description": "Props for the Switch component.",
225
+ "module": "@/components/ui/switch",
226
+ "url": "https://ui.shadcn.com/docs/components/switch"
227
+ },
228
+ "RadioGroupProps": {
229
+ "type": "interface",
230
+ "signature": "interface RadioGroupProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root> { value?: string; onValueChange?: (value: string) => void; defaultValue?: string }",
231
+ "description": "Props for the RadioGroup component.",
232
+ "module": "@/components/ui/radio-group",
233
+ "url": "https://ui.shadcn.com/docs/components/radio-group"
234
+ },
235
+ "LabelProps": {
236
+ "type": "interface",
237
+ "signature": "interface LabelProps extends React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof labelVariants> {}",
238
+ "description": "Props for the Label component.",
239
+ "module": "@/components/ui/label",
240
+ "url": "https://ui.shadcn.com/docs/components/label"
241
+ },
242
+ "ScrollAreaProps": {
243
+ "type": "interface",
244
+ "signature": "interface ScrollAreaProps extends React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> { className?: string; type?: 'auto' | 'always' | 'scroll' | 'hover' }",
245
+ "description": "Props for the ScrollArea component. Type controls scrollbar visibility behavior.",
246
+ "module": "@/components/ui/scroll-area",
247
+ "url": "https://ui.shadcn.com/docs/components/scroll-area"
248
+ },
249
+ "SeparatorProps": {
250
+ "type": "interface",
251
+ "signature": "interface SeparatorProps extends React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> { orientation?: 'horizontal' | 'vertical'; decorative?: boolean }",
252
+ "description": "Props for the Separator component.",
253
+ "module": "@/components/ui/separator",
254
+ "url": "https://ui.shadcn.com/docs/components/separator"
255
+ },
256
+ "PopoverProps": {
257
+ "type": "interface",
258
+ "signature": "interface PopoverProps extends Radix.PopoverProps { open?: boolean; onOpenChange?: (open: boolean) => void; defaultOpen?: boolean; modal?: boolean }",
259
+ "description": "Props for the Popover component.",
260
+ "module": "@/components/ui/popover",
261
+ "url": "https://ui.shadcn.com/docs/components/popover"
262
+ },
263
+ "DropdownMenuProps": {
264
+ "type": "interface",
265
+ "signature": "interface DropdownMenuProps extends Radix.DropdownMenuProps { open?: boolean; onOpenChange?: (open: boolean) => void; defaultOpen?: boolean; modal?: boolean }",
266
+ "description": "Props for the DropdownMenu component.",
267
+ "module": "@/components/ui/dropdown-menu",
268
+ "url": "https://ui.shadcn.com/docs/components/dropdown-menu"
269
+ },
270
+ "NavigationMenuProps": {
271
+ "type": "interface",
272
+ "signature": "interface NavigationMenuProps extends React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Root> { className?: string; orientation?: 'horizontal' | 'vertical' }",
273
+ "description": "Props for the NavigationMenu component. Provides a navigation menu with animated sub-menus and indicators.",
274
+ "module": "@/components/ui/navigation-menu",
275
+ "url": "https://ui.shadcn.com/docs/components/navigation-menu"
276
+ },
277
+ "ContextMenuProps": {
278
+ "type": "interface",
279
+ "signature": "interface ContextMenuProps extends Radix.ContextMenuProps { onOpenChange?: (open: boolean) => void; modal?: boolean }",
280
+ "description": "Props for the ContextMenu component. Displays a menu triggered by right-click.",
281
+ "module": "@/components/ui/context-menu",
282
+ "url": "https://ui.shadcn.com/docs/components/context-menu"
283
+ },
284
+ "ComponentPropsWithoutRef": {
285
+ "type": "type",
286
+ "signature": "type React.ComponentPropsWithoutRef<T extends React.ElementType> = PropsWithoutRef<ComponentProps<T>>",
287
+ "description": "React utility type that extracts component props without the ref prop. Commonly used in shadcn/ui forwardRef components.",
288
+ "module": "react",
289
+ "url": "https://react.dev/reference/react/ComponentPropsWithoutRef"
290
+ }
291
+ }
292
+ }