@databricks/appkit-ui 0.12.0 → 0.12.2

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 (357) hide show
  1. package/CLAUDE.md +155 -147
  2. package/dist/cli/commands/docs.js +80 -17
  3. package/dist/cli/commands/docs.js.map +1 -1
  4. package/dist/react/charts/area/index.d.ts +2 -2
  5. package/dist/react/charts/bar/index.d.ts +2 -2
  6. package/dist/react/charts/base.d.ts +2 -2
  7. package/dist/react/charts/base.d.ts.map +1 -1
  8. package/dist/react/charts/create-chart.d.ts +2 -2
  9. package/dist/react/charts/create-chart.d.ts.map +1 -1
  10. package/dist/react/charts/heatmap/index.d.ts +2 -2
  11. package/dist/react/charts/line/index.d.ts +2 -2
  12. package/dist/react/charts/pie/index.d.ts +3 -3
  13. package/dist/react/charts/radar/index.d.ts +2 -2
  14. package/dist/react/charts/scatter/index.d.ts +2 -2
  15. package/dist/react/charts/wrapper.d.ts +2 -2
  16. package/dist/react/charts/wrapper.d.ts.map +1 -1
  17. package/dist/react/table/data-table.d.ts +2 -2
  18. package/dist/react/table/data-table.d.ts.map +1 -1
  19. package/dist/react/ui/accordion.d.ts +5 -5
  20. package/dist/react/ui/accordion.d.ts.map +1 -1
  21. package/dist/react/ui/alert-dialog.d.ts +12 -12
  22. package/dist/react/ui/alert.d.ts +4 -4
  23. package/dist/react/ui/alert.d.ts.map +1 -1
  24. package/dist/react/ui/aspect-ratio.d.ts +2 -2
  25. package/dist/react/ui/avatar.d.ts +4 -4
  26. package/dist/react/ui/badge.d.ts +2 -2
  27. package/dist/react/ui/breadcrumb.d.ts +8 -8
  28. package/dist/react/ui/button-group.d.ts +4 -4
  29. package/dist/react/ui/button.d.ts +2 -2
  30. package/dist/react/ui/calendar.d.ts +3 -3
  31. package/dist/react/ui/card.d.ts +8 -8
  32. package/dist/react/ui/carousel.d.ts +6 -6
  33. package/dist/react/ui/chart.d.ts +19 -19
  34. package/dist/react/ui/chart.d.ts.map +1 -1
  35. package/dist/react/ui/checkbox.d.ts +2 -2
  36. package/dist/react/ui/collapsible.d.ts +4 -4
  37. package/dist/react/ui/command.d.ts +10 -10
  38. package/dist/react/ui/context-menu.d.ts +16 -16
  39. package/dist/react/ui/dialog.d.ts +11 -11
  40. package/dist/react/ui/drawer.d.ts +11 -11
  41. package/dist/react/ui/drawer.d.ts.map +1 -1
  42. package/dist/react/ui/dropdown-menu.d.ts +16 -16
  43. package/dist/react/ui/empty.d.ts +7 -7
  44. package/dist/react/ui/field.d.ts +11 -11
  45. package/dist/react/ui/form.d.ts +9 -9
  46. package/dist/react/ui/form.d.ts.map +1 -1
  47. package/dist/react/ui/hover-card.d.ts +4 -4
  48. package/dist/react/ui/input-group.d.ts +7 -7
  49. package/dist/react/ui/input-otp.d.ts +5 -5
  50. package/dist/react/ui/input.d.ts +2 -2
  51. package/dist/react/ui/item.d.ts +11 -11
  52. package/dist/react/ui/kbd.d.ts +3 -3
  53. package/dist/react/ui/label.d.ts +2 -2
  54. package/dist/react/ui/menubar.d.ts +17 -17
  55. package/dist/react/ui/navigation-menu.d.ts +9 -9
  56. package/dist/react/ui/pagination.d.ts +8 -8
  57. package/dist/react/ui/popover.d.ts +5 -5
  58. package/dist/react/ui/progress.d.ts +2 -2
  59. package/dist/react/ui/radio-group.d.ts +3 -3
  60. package/dist/react/ui/resizable.d.ts +4 -4
  61. package/dist/react/ui/scroll-area.d.ts +3 -3
  62. package/dist/react/ui/select.d.ts +11 -11
  63. package/dist/react/ui/separator.d.ts +2 -2
  64. package/dist/react/ui/sheet.d.ts +9 -9
  65. package/dist/react/ui/sidebar.d.ts +41 -24
  66. package/dist/react/ui/sidebar.d.ts.map +1 -1
  67. package/dist/react/ui/sidebar.js.map +1 -1
  68. package/dist/react/ui/skeleton.d.ts +2 -2
  69. package/dist/react/ui/slider.d.ts +2 -2
  70. package/dist/react/ui/sonner.d.ts +2 -2
  71. package/dist/react/ui/spinner.d.ts +2 -2
  72. package/dist/react/ui/switch.d.ts +2 -2
  73. package/dist/react/ui/table.d.ts +9 -9
  74. package/dist/react/ui/tabs.d.ts +5 -5
  75. package/dist/react/ui/textarea.d.ts +2 -2
  76. package/dist/react/ui/toggle-group.d.ts +3 -3
  77. package/dist/react/ui/toggle.d.ts +2 -2
  78. package/dist/react/ui/tooltip.d.ts +5 -5
  79. package/dist/react/ui/tooltip.d.ts.map +1 -1
  80. package/docs/{docs/api → api}/appkit/Class.AppKitError.md +8 -8
  81. package/docs/{docs/api → api}/appkit/Class.AuthenticationError.md +9 -9
  82. package/docs/{docs/api → api}/appkit/Class.ConfigurationError.md +9 -9
  83. package/docs/{docs/api → api}/appkit/Class.ConnectionError.md +9 -9
  84. package/docs/{docs/api → api}/appkit/Class.ExecutionError.md +9 -9
  85. package/docs/{docs/api → api}/appkit/Class.InitializationError.md +9 -9
  86. package/docs/{docs/api → api}/appkit/Class.Plugin.md +22 -2
  87. package/docs/{docs/api → api}/appkit/Class.ResourceRegistry.md +11 -11
  88. package/docs/{docs/api → api}/appkit/Class.ServerError.md +9 -9
  89. package/docs/{docs/api → api}/appkit/Class.TunnelError.md +9 -9
  90. package/docs/{docs/api → api}/appkit/Class.ValidationError.md +9 -9
  91. package/docs/{docs/api → api}/appkit/Function.createApp.md +32 -3
  92. package/docs/{docs/api → api}/appkit/Function.createLakebasePool.md +1 -1
  93. package/docs/{docs/api → api}/appkit/Function.generateDatabaseCredential.md +2 -2
  94. package/docs/{docs/api → api}/appkit/Function.getLakebaseOrmConfig.md +1 -1
  95. package/docs/{docs/api → api}/appkit/Function.getLakebasePgConfig.md +1 -1
  96. package/docs/{docs/api → api}/appkit/Function.getPluginManifest.md +1 -1
  97. package/docs/{docs/api → api}/appkit/Function.getUsernameWithApiLookup.md +1 -1
  98. package/docs/{docs/api → api}/appkit/Function.getWorkspaceClient.md +1 -1
  99. package/docs/{docs/api → api}/appkit/Interface.ResourceEntry.md +8 -8
  100. package/docs/{docs/api → api}/appkit/Interface.ResourceRequirement.md +1 -1
  101. package/docs/{docs/api → api}/appkit-ui/styling.md +1 -1
  102. package/docs/{docs/api → api}/appkit-ui/ui/Sidebar.md +304 -37
  103. package/docs/api/appkit.md +78 -0
  104. package/docs/{docs/api.md → api.md} +4 -4
  105. package/docs/{docs/app-management.md → app-management.md} +2 -2
  106. package/docs/{docs/architecture.md → architecture.md} +6 -6
  107. package/docs/{docs/configuration.md → configuration.md} +2 -2
  108. package/docs/development/ai-assisted-development.md +88 -0
  109. package/docs/{docs/development → development}/llm-guide.md +8 -7
  110. package/docs/{docs/development → development}/local-development.md +2 -2
  111. package/docs/{docs/development → development}/project-setup.md +11 -11
  112. package/docs/{docs/development → development}/remote-bridge.md +1 -1
  113. package/docs/{docs/development → development}/type-generation.md +2 -2
  114. package/docs/development.md +22 -0
  115. package/docs/plugins/analytics.md +169 -0
  116. package/docs/{docs/plugins → plugins}/custom-plugins.md +6 -6
  117. package/docs/{docs/plugins → plugins}/server.md +1 -1
  118. package/docs/{docs/plugins.md → plugins.md} +2 -2
  119. package/{docs/docs.md → docs.md} +36 -5
  120. package/llms.txt +155 -147
  121. package/package.json +2 -1
  122. package/docs/docs/api/appkit/Class.AppKitError/index.html +0 -79
  123. package/docs/docs/api/appkit/Class.AuthenticationError/index.html +0 -110
  124. package/docs/docs/api/appkit/Class.ConfigurationError/index.html +0 -112
  125. package/docs/docs/api/appkit/Class.ConnectionError/index.html +0 -120
  126. package/docs/docs/api/appkit/Class.ExecutionError/index.html +0 -116
  127. package/docs/docs/api/appkit/Class.InitializationError/index.html +0 -104
  128. package/docs/docs/api/appkit/Class.Plugin/index.html +0 -168
  129. package/docs/docs/api/appkit/Class.ResourceRegistry/index.html +0 -150
  130. package/docs/docs/api/appkit/Class.ServerError/index.html +0 -108
  131. package/docs/docs/api/appkit/Class.TunnelError/index.html +0 -108
  132. package/docs/docs/api/appkit/Class.ValidationError/index.html +0 -106
  133. package/docs/docs/api/appkit/Enumeration.RequestedClaimsPermissionSet/index.html +0 -21
  134. package/docs/docs/api/appkit/Enumeration.ResourceType/index.html +0 -53
  135. package/docs/docs/api/appkit/Function.appKitTypesPlugin/index.html +0 -24
  136. package/docs/docs/api/appkit/Function.createApp/index.html +0 -24
  137. package/docs/docs/api/appkit/Function.createLakebasePool/index.html +0 -24
  138. package/docs/docs/api/appkit/Function.generateDatabaseCredential/index.html +0 -30
  139. package/docs/docs/api/appkit/Function.getExecutionContext/index.html +0 -26
  140. package/docs/docs/api/appkit/Function.getLakebaseOrmConfig/index.html +0 -39
  141. package/docs/docs/api/appkit/Function.getLakebasePgConfig/index.html +0 -27
  142. package/docs/docs/api/appkit/Function.getPluginManifest/index.html +0 -26
  143. package/docs/docs/api/appkit/Function.getResourceRequirements/index.html +0 -28
  144. package/docs/docs/api/appkit/Function.getUsernameWithApiLookup/index.html +0 -35
  145. package/docs/docs/api/appkit/Function.getWorkspaceClient/index.html +0 -22
  146. package/docs/docs/api/appkit/Function.isSQLTypeMarker/index.html +0 -25
  147. package/docs/docs/api/appkit/Interface.BasePluginConfig/index.html +0 -28
  148. package/docs/docs/api/appkit/Interface.CacheConfig/index.html +0 -63
  149. package/docs/docs/api/appkit/Interface.DatabaseCredential/index.html +0 -28
  150. package/docs/docs/api/appkit/Interface.GenerateDatabaseCredentialRequest/index.html +0 -32
  151. package/docs/docs/api/appkit/Interface.ITelemetry/index.html +0 -73
  152. package/docs/docs/api/appkit/Interface.LakebasePoolConfig/index.html +0 -75
  153. package/docs/docs/api/appkit/Interface.PluginManifest/index.html +0 -67
  154. package/docs/docs/api/appkit/Interface.RequestedClaims/index.html +0 -26
  155. package/docs/docs/api/appkit/Interface.RequestedResource/index.html +0 -27
  156. package/docs/docs/api/appkit/Interface.ResourceEntry/index.html +0 -83
  157. package/docs/docs/api/appkit/Interface.ResourceFieldEntry/index.html +0 -26
  158. package/docs/docs/api/appkit/Interface.ResourceRequirement/index.html +0 -51
  159. package/docs/docs/api/appkit/Interface.StreamExecutionSettings/index.html +0 -26
  160. package/docs/docs/api/appkit/Interface.TelemetryConfig/index.html +0 -32
  161. package/docs/docs/api/appkit/Interface.ValidationResult/index.html +0 -29
  162. package/docs/docs/api/appkit/TypeAlias.ConfigSchema/index.html +0 -21
  163. package/docs/docs/api/appkit/TypeAlias.IAppRouter/index.html +0 -18
  164. package/docs/docs/api/appkit/TypeAlias.ResourcePermission/index.html +0 -18
  165. package/docs/docs/api/appkit/TypeAlias.ToPlugin/index.html +0 -23
  166. package/docs/docs/api/appkit/Variable.sql/index.html +0 -98
  167. package/docs/docs/api/appkit/index.html +0 -30
  168. package/docs/docs/api/appkit-ui/data/AreaChart/index.html +0 -29
  169. package/docs/docs/api/appkit-ui/data/BarChart/index.html +0 -29
  170. package/docs/docs/api/appkit-ui/data/DataTable/index.html +0 -36
  171. package/docs/docs/api/appkit-ui/data/DonutChart/index.html +0 -29
  172. package/docs/docs/api/appkit-ui/data/HeatmapChart/index.html +0 -35
  173. package/docs/docs/api/appkit-ui/data/LineChart/index.html +0 -29
  174. package/docs/docs/api/appkit-ui/data/PieChart/index.html +0 -29
  175. package/docs/docs/api/appkit-ui/data/RadarChart/index.html +0 -29
  176. package/docs/docs/api/appkit-ui/data/ScatterChart/index.html +0 -29
  177. package/docs/docs/api/appkit-ui/genie/GenieChat/index.html +0 -26
  178. package/docs/docs/api/appkit-ui/genie/GenieChatInput/index.html +0 -24
  179. package/docs/docs/api/appkit-ui/genie/GenieChatMessage/index.html +0 -24
  180. package/docs/docs/api/appkit-ui/genie/GenieChatMessageList/index.html +0 -24
  181. package/docs/docs/api/appkit-ui/index.html +0 -23
  182. package/docs/docs/api/appkit-ui/styling/index.html +0 -74
  183. package/docs/docs/api/appkit-ui/ui/Accordion/index.html +0 -48
  184. package/docs/docs/api/appkit-ui/ui/Alert/index.html +0 -41
  185. package/docs/docs/api/appkit-ui/ui/AlertDialog/index.html +0 -97
  186. package/docs/docs/api/appkit-ui/ui/AspectRatio/index.html +0 -27
  187. package/docs/docs/api/appkit-ui/ui/Avatar/index.html +0 -41
  188. package/docs/docs/api/appkit-ui/ui/Badge/index.html +0 -27
  189. package/docs/docs/api/appkit-ui/ui/Breadcrumb/index.html +0 -69
  190. package/docs/docs/api/appkit-ui/ui/Button/index.html +0 -27
  191. package/docs/docs/api/appkit-ui/ui/ButtonGroup/index.html +0 -38
  192. package/docs/docs/api/appkit-ui/ui/Calendar/index.html +0 -34
  193. package/docs/docs/api/appkit-ui/ui/Card/index.html +0 -69
  194. package/docs/docs/api/appkit-ui/ui/Carousel/index.html +0 -55
  195. package/docs/docs/api/appkit-ui/ui/ChartContainer/index.html +0 -58
  196. package/docs/docs/api/appkit-ui/ui/Checkbox/index.html +0 -27
  197. package/docs/docs/api/appkit-ui/ui/Collapsible/index.html +0 -41
  198. package/docs/docs/api/appkit-ui/ui/Command/index.html +0 -83
  199. package/docs/docs/api/appkit-ui/ui/ContextMenu/index.html +0 -111
  200. package/docs/docs/api/appkit-ui/ui/Dialog/index.html +0 -90
  201. package/docs/docs/api/appkit-ui/ui/Drawer/index.html +0 -90
  202. package/docs/docs/api/appkit-ui/ui/DropdownMenu/index.html +0 -111
  203. package/docs/docs/api/appkit-ui/ui/Empty/index.html +0 -54
  204. package/docs/docs/api/appkit-ui/ui/Field/index.html +0 -87
  205. package/docs/docs/api/appkit-ui/ui/FormControl/index.html +0 -59
  206. package/docs/docs/api/appkit-ui/ui/HoverCard/index.html +0 -39
  207. package/docs/docs/api/appkit-ui/ui/Input/index.html +0 -27
  208. package/docs/docs/api/appkit-ui/ui/InputGroup/index.html +0 -59
  209. package/docs/docs/api/appkit-ui/ui/InputOTP/index.html +0 -48
  210. package/docs/docs/api/appkit-ui/ui/Item/index.html +0 -78
  211. package/docs/docs/api/appkit-ui/ui/Kbd/index.html +0 -30
  212. package/docs/docs/api/appkit-ui/ui/Label/index.html +0 -27
  213. package/docs/docs/api/appkit-ui/ui/Menubar/index.html +0 -117
  214. package/docs/docs/api/appkit-ui/ui/NavigationMenu/index.html +0 -76
  215. package/docs/docs/api/appkit-ui/ui/Pagination/index.html +0 -69
  216. package/docs/docs/api/appkit-ui/ui/Popover/index.html +0 -45
  217. package/docs/docs/api/appkit-ui/ui/Progress/index.html +0 -27
  218. package/docs/docs/api/appkit-ui/ui/RadioGroup/index.html +0 -33
  219. package/docs/docs/api/appkit-ui/ui/ResizableHandle/index.html +0 -41
  220. package/docs/docs/api/appkit-ui/ui/ScrollArea/index.html +0 -34
  221. package/docs/docs/api/appkit-ui/ui/Select/index.html +0 -82
  222. package/docs/docs/api/appkit-ui/ui/Separator/index.html +0 -27
  223. package/docs/docs/api/appkit-ui/ui/Sheet/index.html +0 -76
  224. package/docs/docs/api/appkit-ui/ui/Sidebar/index.html +0 -183
  225. package/docs/docs/api/appkit-ui/ui/Skeleton/index.html +0 -27
  226. package/docs/docs/api/appkit-ui/ui/Slider/index.html +0 -27
  227. package/docs/docs/api/appkit-ui/ui/Spinner/index.html +0 -24
  228. package/docs/docs/api/appkit-ui/ui/Switch/index.html +0 -27
  229. package/docs/docs/api/appkit-ui/ui/Table/index.html +0 -69
  230. package/docs/docs/api/appkit-ui/ui/Tabs/index.html +0 -48
  231. package/docs/docs/api/appkit-ui/ui/Textarea/index.html +0 -27
  232. package/docs/docs/api/appkit-ui/ui/Toaster/index.html +0 -27
  233. package/docs/docs/api/appkit-ui/ui/Toggle/index.html +0 -27
  234. package/docs/docs/api/appkit-ui/ui/ToggleGroup/index.html +0 -33
  235. package/docs/docs/api/appkit-ui/ui/Tooltip/index.html +0 -46
  236. package/docs/docs/api/appkit.md +0 -78
  237. package/docs/docs/api/index.html +0 -28
  238. package/docs/docs/app-management/index.html +0 -106
  239. package/docs/docs/architecture/index.html +0 -71
  240. package/docs/docs/category/development/index.html +0 -16
  241. package/docs/docs/category/development.md +0 -3
  242. package/docs/docs/configuration/index.html +0 -66
  243. package/docs/docs/core-principles/index.html +0 -38
  244. package/docs/docs/development/ai-assisted-development/index.html +0 -33
  245. package/docs/docs/development/ai-assisted-development.md +0 -26
  246. package/docs/docs/development/index.html +0 -35
  247. package/docs/docs/development/llm-guide/index.html +0 -84
  248. package/docs/docs/development/local-development/index.html +0 -27
  249. package/docs/docs/development/project-setup/index.html +0 -69
  250. package/docs/docs/development/remote-bridge/index.html +0 -76
  251. package/docs/docs/development/type-generation/index.html +0 -65
  252. package/docs/docs/development.md +0 -22
  253. package/docs/docs/index.html +0 -58
  254. package/docs/docs/plugins/analytics/index.html +0 -53
  255. package/docs/docs/plugins/analytics.md +0 -66
  256. package/docs/docs/plugins/caching/index.html +0 -23
  257. package/docs/docs/plugins/custom-plugins/index.html +0 -49
  258. package/docs/docs/plugins/execution-context/index.html +0 -40
  259. package/docs/docs/plugins/index.html +0 -29
  260. package/docs/docs/plugins/lakebase/index.html +0 -62
  261. package/docs/docs/plugins/plugin-management/index.html +0 -44
  262. package/docs/docs/plugins/server/index.html +0 -45
  263. /package/docs/{docs/api → api}/appkit/Enumeration.RequestedClaimsPermissionSet.md +0 -0
  264. /package/docs/{docs/api → api}/appkit/Enumeration.ResourceType.md +0 -0
  265. /package/docs/{docs/api → api}/appkit/Function.appKitTypesPlugin.md +0 -0
  266. /package/docs/{docs/api → api}/appkit/Function.getExecutionContext.md +0 -0
  267. /package/docs/{docs/api → api}/appkit/Function.getResourceRequirements.md +0 -0
  268. /package/docs/{docs/api → api}/appkit/Function.isSQLTypeMarker.md +0 -0
  269. /package/docs/{docs/api → api}/appkit/Interface.BasePluginConfig.md +0 -0
  270. /package/docs/{docs/api → api}/appkit/Interface.CacheConfig.md +0 -0
  271. /package/docs/{docs/api → api}/appkit/Interface.DatabaseCredential.md +0 -0
  272. /package/docs/{docs/api → api}/appkit/Interface.GenerateDatabaseCredentialRequest.md +0 -0
  273. /package/docs/{docs/api → api}/appkit/Interface.ITelemetry.md +0 -0
  274. /package/docs/{docs/api → api}/appkit/Interface.LakebasePoolConfig.md +0 -0
  275. /package/docs/{docs/api → api}/appkit/Interface.PluginManifest.md +0 -0
  276. /package/docs/{docs/api → api}/appkit/Interface.RequestedClaims.md +0 -0
  277. /package/docs/{docs/api → api}/appkit/Interface.RequestedResource.md +0 -0
  278. /package/docs/{docs/api → api}/appkit/Interface.ResourceFieldEntry.md +0 -0
  279. /package/docs/{docs/api → api}/appkit/Interface.StreamExecutionSettings.md +0 -0
  280. /package/docs/{docs/api → api}/appkit/Interface.TelemetryConfig.md +0 -0
  281. /package/docs/{docs/api → api}/appkit/Interface.ValidationResult.md +0 -0
  282. /package/docs/{docs/api → api}/appkit/TypeAlias.ConfigSchema.md +0 -0
  283. /package/docs/{docs/api → api}/appkit/TypeAlias.IAppRouter.md +0 -0
  284. /package/docs/{docs/api → api}/appkit/TypeAlias.ResourcePermission.md +0 -0
  285. /package/docs/{docs/api → api}/appkit/TypeAlias.ToPlugin.md +0 -0
  286. /package/docs/{docs/api → api}/appkit/Variable.sql.md +0 -0
  287. /package/docs/{docs/api → api}/appkit-ui/data/AreaChart.md +0 -0
  288. /package/docs/{docs/api → api}/appkit-ui/data/BarChart.md +0 -0
  289. /package/docs/{docs/api → api}/appkit-ui/data/DataTable.md +0 -0
  290. /package/docs/{docs/api → api}/appkit-ui/data/DonutChart.md +0 -0
  291. /package/docs/{docs/api → api}/appkit-ui/data/HeatmapChart.md +0 -0
  292. /package/docs/{docs/api → api}/appkit-ui/data/LineChart.md +0 -0
  293. /package/docs/{docs/api → api}/appkit-ui/data/PieChart.md +0 -0
  294. /package/docs/{docs/api → api}/appkit-ui/data/RadarChart.md +0 -0
  295. /package/docs/{docs/api → api}/appkit-ui/data/ScatterChart.md +0 -0
  296. /package/docs/{docs/api → api}/appkit-ui/genie/GenieChat.md +0 -0
  297. /package/docs/{docs/api → api}/appkit-ui/genie/GenieChatInput.md +0 -0
  298. /package/docs/{docs/api → api}/appkit-ui/genie/GenieChatMessage.md +0 -0
  299. /package/docs/{docs/api → api}/appkit-ui/genie/GenieChatMessageList.md +0 -0
  300. /package/docs/{docs/api → api}/appkit-ui/ui/Accordion.md +0 -0
  301. /package/docs/{docs/api → api}/appkit-ui/ui/Alert.md +0 -0
  302. /package/docs/{docs/api → api}/appkit-ui/ui/AlertDialog.md +0 -0
  303. /package/docs/{docs/api → api}/appkit-ui/ui/AspectRatio.md +0 -0
  304. /package/docs/{docs/api → api}/appkit-ui/ui/Avatar.md +0 -0
  305. /package/docs/{docs/api → api}/appkit-ui/ui/Badge.md +0 -0
  306. /package/docs/{docs/api → api}/appkit-ui/ui/Breadcrumb.md +0 -0
  307. /package/docs/{docs/api → api}/appkit-ui/ui/Button.md +0 -0
  308. /package/docs/{docs/api → api}/appkit-ui/ui/ButtonGroup.md +0 -0
  309. /package/docs/{docs/api → api}/appkit-ui/ui/Calendar.md +0 -0
  310. /package/docs/{docs/api → api}/appkit-ui/ui/Card.md +0 -0
  311. /package/docs/{docs/api → api}/appkit-ui/ui/Carousel.md +0 -0
  312. /package/docs/{docs/api → api}/appkit-ui/ui/ChartContainer.md +0 -0
  313. /package/docs/{docs/api → api}/appkit-ui/ui/Checkbox.md +0 -0
  314. /package/docs/{docs/api → api}/appkit-ui/ui/Collapsible.md +0 -0
  315. /package/docs/{docs/api → api}/appkit-ui/ui/Command.md +0 -0
  316. /package/docs/{docs/api → api}/appkit-ui/ui/ContextMenu.md +0 -0
  317. /package/docs/{docs/api → api}/appkit-ui/ui/Dialog.md +0 -0
  318. /package/docs/{docs/api → api}/appkit-ui/ui/Drawer.md +0 -0
  319. /package/docs/{docs/api → api}/appkit-ui/ui/DropdownMenu.md +0 -0
  320. /package/docs/{docs/api → api}/appkit-ui/ui/Empty.md +0 -0
  321. /package/docs/{docs/api → api}/appkit-ui/ui/Field.md +0 -0
  322. /package/docs/{docs/api → api}/appkit-ui/ui/FormControl.md +0 -0
  323. /package/docs/{docs/api → api}/appkit-ui/ui/HoverCard.md +0 -0
  324. /package/docs/{docs/api → api}/appkit-ui/ui/Input.md +0 -0
  325. /package/docs/{docs/api → api}/appkit-ui/ui/InputGroup.md +0 -0
  326. /package/docs/{docs/api → api}/appkit-ui/ui/InputOTP.md +0 -0
  327. /package/docs/{docs/api → api}/appkit-ui/ui/Item.md +0 -0
  328. /package/docs/{docs/api → api}/appkit-ui/ui/Kbd.md +0 -0
  329. /package/docs/{docs/api → api}/appkit-ui/ui/Label.md +0 -0
  330. /package/docs/{docs/api → api}/appkit-ui/ui/Menubar.md +0 -0
  331. /package/docs/{docs/api → api}/appkit-ui/ui/NavigationMenu.md +0 -0
  332. /package/docs/{docs/api → api}/appkit-ui/ui/Pagination.md +0 -0
  333. /package/docs/{docs/api → api}/appkit-ui/ui/Popover.md +0 -0
  334. /package/docs/{docs/api → api}/appkit-ui/ui/Progress.md +0 -0
  335. /package/docs/{docs/api → api}/appkit-ui/ui/RadioGroup.md +0 -0
  336. /package/docs/{docs/api → api}/appkit-ui/ui/ResizableHandle.md +0 -0
  337. /package/docs/{docs/api → api}/appkit-ui/ui/ScrollArea.md +0 -0
  338. /package/docs/{docs/api → api}/appkit-ui/ui/Select.md +0 -0
  339. /package/docs/{docs/api → api}/appkit-ui/ui/Separator.md +0 -0
  340. /package/docs/{docs/api → api}/appkit-ui/ui/Sheet.md +0 -0
  341. /package/docs/{docs/api → api}/appkit-ui/ui/Skeleton.md +0 -0
  342. /package/docs/{docs/api → api}/appkit-ui/ui/Slider.md +0 -0
  343. /package/docs/{docs/api → api}/appkit-ui/ui/Spinner.md +0 -0
  344. /package/docs/{docs/api → api}/appkit-ui/ui/Switch.md +0 -0
  345. /package/docs/{docs/api → api}/appkit-ui/ui/Table.md +0 -0
  346. /package/docs/{docs/api → api}/appkit-ui/ui/Tabs.md +0 -0
  347. /package/docs/{docs/api → api}/appkit-ui/ui/Textarea.md +0 -0
  348. /package/docs/{docs/api → api}/appkit-ui/ui/Toaster.md +0 -0
  349. /package/docs/{docs/api → api}/appkit-ui/ui/Toggle.md +0 -0
  350. /package/docs/{docs/api → api}/appkit-ui/ui/ToggleGroup.md +0 -0
  351. /package/docs/{docs/api → api}/appkit-ui/ui/Tooltip.md +0 -0
  352. /package/docs/{docs/api → api}/appkit-ui.md +0 -0
  353. /package/docs/{docs/core-principles.md → core-principles.md} +0 -0
  354. /package/docs/{docs/plugins → plugins}/caching.md +0 -0
  355. /package/docs/{docs/plugins → plugins}/execution-context.md +0 -0
  356. /package/docs/{docs/plugins → plugins}/lakebase.md +0 -0
  357. /package/docs/{docs/plugins → plugins}/plugin-management.md +0 -0
@@ -4,7 +4,7 @@ Internal representation of a resource in the registry. Extends ResourceRequireme
4
4
 
5
5
  ## Extends[​](#extends "Direct link to Extends")
6
6
 
7
- * [`ResourceRequirement`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md)
7
+ * [`ResourceRequirement`](./docs/api/appkit/Interface.ResourceRequirement.md)
8
8
 
9
9
  ## Properties[​](#properties "Direct link to Properties")
10
10
 
@@ -19,7 +19,7 @@ Unique alias for this resource within the plugin (e.g., 'warehouse', 'secrets').
19
19
 
20
20
  #### Inherited from[​](#inherited-from "Direct link to Inherited from")
21
21
 
22
- [`ResourceRequirement`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md).[`alias`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md#alias)
22
+ [`ResourceRequirement`](./docs/api/appkit/Interface.ResourceRequirement.md).[`alias`](./docs/api/appkit/Interface.ResourceRequirement.md#alias)
23
23
 
24
24
  ***
25
25
 
@@ -34,7 +34,7 @@ Human-readable description of why this resource is needed
34
34
 
35
35
  #### Inherited from[​](#inherited-from-1 "Direct link to Inherited from")
36
36
 
37
- [`ResourceRequirement`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md).[`description`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md#description)
37
+ [`ResourceRequirement`](./docs/api/appkit/Interface.ResourceRequirement.md).[`description`](./docs/api/appkit/Interface.ResourceRequirement.md#description)
38
38
 
39
39
  ***
40
40
 
@@ -49,7 +49,7 @@ Map of field name to env and optional description. Single-value types use one ke
49
49
 
50
50
  #### Inherited from[​](#inherited-from-2 "Direct link to Inherited from")
51
51
 
52
- [`ResourceRequirement`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md).[`fields`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md#fields)
52
+ [`ResourceRequirement`](./docs/api/appkit/Interface.ResourceRequirement.md).[`fields`](./docs/api/appkit/Interface.ResourceRequirement.md#fields)
53
53
 
54
54
  ***
55
55
 
@@ -64,7 +64,7 @@ Required permission level for the resource
64
64
 
65
65
  #### Inherited from[​](#inherited-from-3 "Direct link to Inherited from")
66
66
 
67
- [`ResourceRequirement`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md).[`permission`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md#permission)
67
+ [`ResourceRequirement`](./docs/api/appkit/Interface.ResourceRequirement.md).[`permission`](./docs/api/appkit/Interface.ResourceRequirement.md#permission)
68
68
 
69
69
  ***
70
70
 
@@ -101,7 +101,7 @@ Whether this resource is required (true) or optional (false)
101
101
 
102
102
  #### Inherited from[​](#inherited-from-4 "Direct link to Inherited from")
103
103
 
104
- [`ResourceRequirement`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md).[`required`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md#required)
104
+ [`ResourceRequirement`](./docs/api/appkit/Interface.ResourceRequirement.md).[`required`](./docs/api/appkit/Interface.ResourceRequirement.md#required)
105
105
 
106
106
  ***
107
107
 
@@ -127,7 +127,7 @@ Stable key for machine use (env naming, composite keys, app.yaml). Required.
127
127
 
128
128
  #### Inherited from[​](#inherited-from-5 "Direct link to Inherited from")
129
129
 
130
- [`ResourceRequirement`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md).[`resourceKey`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md#resourcekey)
130
+ [`ResourceRequirement`](./docs/api/appkit/Interface.ResourceRequirement.md).[`resourceKey`](./docs/api/appkit/Interface.ResourceRequirement.md#resourcekey)
131
131
 
132
132
  ***
133
133
 
@@ -142,7 +142,7 @@ Type of Databricks resource required
142
142
 
143
143
  #### Inherited from[​](#inherited-from-6 "Direct link to Inherited from")
144
144
 
145
- [`ResourceRequirement`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md).[`type`](/appkit/docs/api/appkit/Interface.ResourceRequirement.md#type)
145
+ [`ResourceRequirement`](./docs/api/appkit/Interface.ResourceRequirement.md).[`type`](./docs/api/appkit/Interface.ResourceRequirement.md#type)
146
146
 
147
147
  ***
148
148
 
@@ -4,7 +4,7 @@ Declares a resource requirement for a plugin. Can be defined statically in a man
4
4
 
5
5
  ## Extended by[​](#extended-by "Direct link to Extended by")
6
6
 
7
- * [`ResourceEntry`](/appkit/docs/api/appkit/Interface.ResourceEntry.md)
7
+ * [`ResourceEntry`](./docs/api/appkit/Interface.ResourceEntry.md)
8
8
 
9
9
  ## Properties[​](#properties "Direct link to Properties")
10
10
 
@@ -78,4 +78,4 @@ Where:
78
78
 
79
79
  ## See also[​](#see-also "Direct link to See also")
80
80
 
81
- * [API Reference](/appkit/docs/api/appkit-ui.md) - Complete UI components API documentation
81
+ * [API Reference](./docs/api/appkit-ui.md) - Complete UI components API documentation
@@ -2,6 +2,271 @@
2
2
 
3
3
  Collapsible navigation sidebar with mobile support
4
4
 
5
+ ## Example[​](#example "Direct link to Example")
6
+
7
+ <!-- -->
8
+
9
+ ```tsx
10
+ import {
11
+ Button,
12
+ DropdownMenu,
13
+ DropdownMenuContent,
14
+ DropdownMenuGroup,
15
+ DropdownMenuItem,
16
+ DropdownMenuTrigger,
17
+ Sidebar,
18
+ SidebarContent,
19
+ SidebarGroup,
20
+ SidebarGroupContent,
21
+ SidebarGroupLabel,
22
+ SidebarHeader,
23
+ SidebarInput,
24
+ SidebarInset,
25
+ SidebarMenu,
26
+ SidebarMenuButton,
27
+ SidebarMenuItem,
28
+ SidebarProvider,
29
+ SidebarRail,
30
+ SidebarTrigger,
31
+ Item,
32
+ ItemActions,
33
+ ItemContent,
34
+ ItemDescription,
35
+ ItemTitle,
36
+ Label,
37
+ } from "@databricks/appkit-ui/react"
38
+ import { useState } from "react"
39
+
40
+ export default function SidebarExample() {
41
+ const data = {
42
+ versions: ["1.0.1", "1.1.0-alpha", "2.0.0-beta1"],
43
+ navMain: [
44
+ {
45
+ title: "Getting Started",
46
+ url: "#",
47
+ items: [
48
+ {
49
+ title: "Installation",
50
+ url: "#",
51
+ },
52
+ {
53
+ title: "Project Structure",
54
+ url: "#",
55
+ },
56
+ ],
57
+ },
58
+ {
59
+ title: "Build Your Application",
60
+ url: "#",
61
+ items: [
62
+ {
63
+ title: "Routing",
64
+ url: "#",
65
+ },
66
+ {
67
+ title: "Data Fetching",
68
+ url: "#",
69
+ isActive: true,
70
+ },
71
+ {
72
+ title: "Rendering",
73
+ url: "#",
74
+ },
75
+ {
76
+ title: "Caching",
77
+ url: "#",
78
+ },
79
+ {
80
+ title: "Styling",
81
+ url: "#",
82
+ },
83
+ {
84
+ title: "Optimizing",
85
+ url: "#",
86
+ },
87
+ {
88
+ title: "Configuring",
89
+ url: "#",
90
+ },
91
+ {
92
+ title: "Testing",
93
+ url: "#",
94
+ },
95
+ {
96
+ title: "Authentication",
97
+ url: "#",
98
+ },
99
+ {
100
+ title: "Deploying",
101
+ url: "#",
102
+ },
103
+ {
104
+ title: "Upgrading",
105
+ url: "#",
106
+ },
107
+ {
108
+ title: "Examples",
109
+ url: "#",
110
+ },
111
+ ],
112
+ },
113
+ {
114
+ title: "API Reference",
115
+ url: "#",
116
+ items: [
117
+ {
118
+ title: "Components",
119
+ url: "#",
120
+ },
121
+ {
122
+ title: "File Conventions",
123
+ url: "#",
124
+ },
125
+ {
126
+ title: "Functions",
127
+ url: "#",
128
+ },
129
+ {
130
+ title: "next.config.js Options",
131
+ url: "#",
132
+ },
133
+ {
134
+ title: "CLI",
135
+ url: "#",
136
+ },
137
+ {
138
+ title: "Edge Runtime",
139
+ url: "#",
140
+ },
141
+ ],
142
+ },
143
+ {
144
+ title: "Architecture",
145
+ url: "#",
146
+ items: [
147
+ {
148
+ title: "Accessibility",
149
+ url: "#",
150
+ },
151
+ {
152
+ title: "Fast Refresh",
153
+ url: "#",
154
+ },
155
+ {
156
+ title: "Next.js Compiler",
157
+ url: "#",
158
+ },
159
+ {
160
+ title: "Supported Browsers",
161
+ url: "#",
162
+ },
163
+ {
164
+ title: "Turbopack",
165
+ url: "#",
166
+ },
167
+ ],
168
+ },
169
+ ],
170
+ }
171
+
172
+ const [selectedVersion, setSelectedVersion] = useState(data.versions[0])
173
+
174
+ return (
175
+ <SidebarProvider>
176
+ <Sidebar>
177
+ <SidebarHeader>
178
+ <SidebarMenu>
179
+ <SidebarMenuItem>
180
+ <DropdownMenu>
181
+ <DropdownMenuTrigger asChild>
182
+ <SidebarMenuButton
183
+ size="lg"
184
+ className="data-open:bg-sidebar-accent data-open:text-sidebar-accent-foreground"
185
+ >
186
+ <Item className="p-0 w-full" size="sm">
187
+ <ItemContent>
188
+ <ItemTitle className="text-sm">Documentation</ItemTitle>
189
+ <ItemDescription>v{selectedVersion}</ItemDescription>
190
+ </ItemContent>
191
+ <ItemActions className="ml-auto">
192
+ <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className="size-4 shrink-0 opacity-50"><path d="m7 15 5 5 5-5"/><path d="m7 9 5-5 5 5"/></svg>
193
+ </ItemActions>
194
+ </Item>
195
+ </SidebarMenuButton>
196
+ </DropdownMenuTrigger>
197
+ <DropdownMenuContent>
198
+ <DropdownMenuGroup>
199
+ {data.versions.map((version) => (
200
+ <DropdownMenuItem
201
+ key={version}
202
+ onSelect={() => setSelectedVersion(version)}
203
+ >
204
+ v{version}{" "}
205
+ {version === selectedVersion && (
206
+ <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className="ml-auto size-4"><path d="M20 6 9 17l-5-5"/></svg>
207
+ )}
208
+ </DropdownMenuItem>
209
+ ))}
210
+ </DropdownMenuGroup>
211
+ </DropdownMenuContent>
212
+ </DropdownMenu>
213
+ </SidebarMenuItem>
214
+ </SidebarMenu>
215
+ <form>
216
+ <SidebarGroup className="py-0">
217
+ <SidebarGroupContent className="relative">
218
+ <Label htmlFor="search" className="sr-only">
219
+ Search
220
+ </Label>
221
+ <SidebarInput
222
+ id="search"
223
+ placeholder="Search the docs..."
224
+ className="pl-8"
225
+ />
226
+ <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" className="pointer-events-none absolute top-1/2 left-2 size-4 -translate-y-1/2 opacity-50 select-none"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>
227
+ </SidebarGroupContent>
228
+ </SidebarGroup>
229
+ </form>
230
+ </SidebarHeader>
231
+ <SidebarContent>
232
+ {data.navMain.map((item) => (
233
+ <SidebarGroup key={item.title}>
234
+ <SidebarGroupLabel>{item.title}</SidebarGroupLabel>
235
+ <SidebarGroupContent>
236
+ <SidebarMenu>
237
+ {item.items.map((subItem) => (
238
+ <SidebarMenuItem key={subItem.title}>
239
+ <SidebarMenuButton asChild isActive={subItem.isActive}>
240
+ <a href={subItem.url}>{subItem.title}</a>
241
+ </SidebarMenuButton>
242
+ </SidebarMenuItem>
243
+ ))}
244
+ </SidebarMenu>
245
+ </SidebarGroupContent>
246
+ </SidebarGroup>
247
+ ))}
248
+ </SidebarContent>
249
+ <SidebarRail />
250
+ </Sidebar>
251
+ <SidebarInset>
252
+ <header className="flex h-16 shrink-0 items-center gap-2 border-b px-4">
253
+ <SidebarTrigger className="-ml-1" />
254
+ </header>
255
+ <div className="flex flex-1 flex-col gap-4 p-4">
256
+ <div className="grid auto-rows-min gap-4 md:grid-cols-3">
257
+ <div className="bg-muted/50 aspect-video rounded-xl" />
258
+ <div className="bg-muted/50 aspect-video rounded-xl" />
259
+ <div className="bg-muted/50 aspect-video rounded-xl" />
260
+ </div>
261
+ <div className="bg-muted/50 min-h-[100vh] flex-1 rounded-xl md:min-h-min" />
262
+ </div>
263
+ </SidebarInset>
264
+ </SidebarProvider>
265
+ )
266
+ }
267
+
268
+ ```
269
+
5
270
  ## Sidebar[​](#sidebar-1 "Direct link to Sidebar")
6
271
 
7
272
  Collapsible navigation sidebar with mobile support
@@ -10,11 +275,11 @@ Collapsible navigation sidebar with mobile support
10
275
 
11
276
  ### Props[​](#props "Direct link to Props")
12
277
 
13
- | Prop | Type | Required | Default | Description |
14
- | ------------- | ------ | -------- | ----------- | ----------- |
15
- | `side` | `enum` | | `left` | - |
16
- | `variant` | `enum` | | `sidebar` | - |
17
- | `collapsible` | `enum` | | `offcanvas` | - |
278
+ | Prop | Type | Required | Default | Description |
279
+ | ------------- | ------ | -------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------- |
280
+ | `side` | `enum` | | `left` | Which side of the viewport the sidebar appears on |
281
+ | `variant` | `enum` | | `sidebar` | Visual style: `"sidebar"` (standard with border), `"floating"` (rounded with shadow), or `"inset"` (content area gets rounded margin) |
282
+ | `collapsible` | `enum` | | `offcanvas` | Collapse behavior: `"offcanvas"` (slides off-screen), `"icon"` (collapses to icon width), or `"none"` (always expanded) |
18
283
 
19
284
  ### Usage[​](#usage "Direct link to Usage")
20
285
 
@@ -90,9 +355,9 @@ Action button displayed next to a sidebar group label
90
355
 
91
356
  ### Props[​](#props-4 "Direct link to Props")
92
357
 
93
- | Prop | Type | Required | Default | Description |
94
- | --------- | --------- | -------- | ------- | ----------- |
95
- | `asChild` | `boolean` | | `false` | - |
358
+ | Prop | Type | Required | Default | Description |
359
+ | --------- | --------- | -------- | ------- | ---------------------------------------------- |
360
+ | `asChild` | `boolean` | | `false` | Render as child element instead of default tag |
96
361
 
97
362
  ### Usage[​](#usage-4 "Direct link to Usage")
98
363
 
@@ -130,9 +395,9 @@ Label heading for a sidebar group
130
395
 
131
396
  ### Props[​](#props-6 "Direct link to Props")
132
397
 
133
- | Prop | Type | Required | Default | Description |
134
- | --------- | --------- | -------- | ------- | ----------- |
135
- | `asChild` | `boolean` | | `false` | - |
398
+ | Prop | Type | Required | Default | Description |
399
+ | --------- | --------- | -------- | ------- | ---------------------------------------------- |
400
+ | `asChild` | `boolean` | | `false` | Render as child element instead of default tag |
136
401
 
137
402
  ### Usage[​](#usage-6 "Direct link to Usage")
138
403
 
@@ -227,10 +492,10 @@ Action button displayed alongside a menu item
227
492
 
228
493
  ### Props[​](#props-11 "Direct link to Props")
229
494
 
230
- | Prop | Type | Required | Default | Description |
231
- | ------------- | --------- | -------- | ------- | ----------- |
232
- | `asChild` | `boolean` | | `false` | - |
233
- | `showOnHover` | `boolean` | | `false` | - |
495
+ | Prop | Type | Required | Default | Description |
496
+ | ------------- | --------- | -------- | ------- | ---------------------------------------------- |
497
+ | `asChild` | `boolean` | | `false` | Render as child element instead of default tag |
498
+ | `showOnHover` | `boolean` | | `false` | Only show when parent menu item is hovered |
234
499
 
235
500
  ### Usage[​](#usage-11 "Direct link to Usage")
236
501
 
@@ -266,13 +531,13 @@ import { SidebarMenuBadge } from '@databricks/appkit-ui';
266
531
 
267
532
  ### Props[​](#props-13 "Direct link to Props")
268
533
 
269
- | Prop | Type | Required | Default | Description |
270
- | ---------- | ----------------------------------------------------------------- | -------- | --------- | ----------- |
271
- | `asChild` | `boolean` | | `false` | - |
272
- | `isActive` | `boolean` | | `false` | - |
273
- | `tooltip` | `string \| (TooltipContentProps & RefAttributes<HTMLDivElement>)` | | - | - |
274
- | `variant` | `"default" \| "outline" \| null` | | `default` | - |
275
- | `size` | `"default" \| "sm" \| "lg" \| null` | | `default` | - |
534
+ | Prop | Type | Required | Default | Description |
535
+ | ---------- | ----------------------------------------------------------------- | -------- | --------- | ---------------------------------------------------- |
536
+ | `asChild` | `boolean` | | `false` | Render as child element instead of default tag |
537
+ | `isActive` | `boolean` | | `false` | Whether this item is currently active/selected |
538
+ | `tooltip` | `string \| (TooltipContentProps & RefAttributes<HTMLDivElement>)` | | - | Tooltip shown when sidebar is collapsed to icon mode |
539
+ | `variant` | `"default" \| "outline" \| null` | | `default` | - |
540
+ | `size` | `"default" \| "sm" \| "lg" \| null` | | `default` | - |
276
541
 
277
542
  ### Usage[​](#usage-13 "Direct link to Usage")
278
543
 
@@ -310,9 +575,9 @@ Loading skeleton placeholder for menu items
310
575
 
311
576
  ### Props[​](#props-15 "Direct link to Props")
312
577
 
313
- | Prop | Type | Required | Default | Description |
314
- | ---------- | --------- | -------- | ------- | ----------- |
315
- | `showIcon` | `boolean` | | `false` | - |
578
+ | Prop | Type | Required | Default | Description |
579
+ | ---------- | --------- | -------- | ------- | ------------------------------------------------------------ |
580
+ | `showIcon` | `boolean` | | `false` | Show a circular icon placeholder alongside the text skeleton |
316
581
 
317
582
  ### Usage[​](#usage-15 "Direct link to Usage")
318
583
 
@@ -350,11 +615,11 @@ Button for submenu items
350
615
 
351
616
  ### Props[​](#props-17 "Direct link to Props")
352
617
 
353
- | Prop | Type | Required | Default | Description |
354
- | ---------- | --------- | -------- | ------- | ----------- |
355
- | `asChild` | `boolean` | | `false` | - |
356
- | `size` | `enum` | | `md` | - |
357
- | `isActive` | `boolean` | | `false` | - |
618
+ | Prop | Type | Required | Default | Description |
619
+ | ---------- | --------- | -------- | ------- | ------------------------------------------------------ |
620
+ | `asChild` | `boolean` | | `false` | Render as child element instead of default tag |
621
+ | `size` | `enum` | | `md` | Text size of the submenu button |
622
+ | `isActive` | `boolean` | | `false` | Whether this submenu item is currently active/selected |
358
623
 
359
624
  ### Usage[​](#usage-17 "Direct link to Usage")
360
625
 
@@ -390,11 +655,11 @@ import { SidebarMenuSubItem } from '@databricks/appkit-ui';
390
655
 
391
656
  ### Props[​](#props-19 "Direct link to Props")
392
657
 
393
- | Prop | Type | Required | Default | Description |
394
- | -------------- | --------------------------- | -------- | ------- | ----------- |
395
- | `defaultOpen` | `boolean` | | `true` | - |
396
- | `open` | `boolean` | | - | - |
397
- | `onOpenChange` | `((open: boolean) => void)` | | - | - |
658
+ | Prop | Type | Required | Default | Description |
659
+ | -------------- | --------------------------- | -------- | ------- | ----------------------------------------- |
660
+ | `defaultOpen` | `boolean` | | `true` | Initial open state for uncontrolled usage |
661
+ | `open` | `boolean` | | - | Controlled open state |
662
+ | `onOpenChange` | `((open: boolean) => void)` | | - | Callback when open state changes |
398
663
 
399
664
  ### Usage[​](#usage-19 "Direct link to Usage")
400
665
 
@@ -478,13 +743,15 @@ Hook to access sidebar state and controls
478
743
 
479
744
  ### Props[​](#props-23 "Direct link to Props")
480
745
 
481
- This component extends standard HTML element attributes.
746
+ This hook takes no parameters.
482
747
 
483
748
  ### Usage[​](#usage-23 "Direct link to Usage")
484
749
 
485
750
  ```tsx
486
751
  import { useSidebar } from '@databricks/appkit-ui';
487
752
 
488
- <useSidebar /* props */ />
753
+ function MyComponent() {
754
+ const sidebar = useSidebar();
755
+ }
489
756
 
490
757
  ```
@@ -0,0 +1,78 @@
1
+ # @databricks/appkit
2
+
3
+ Core library for building Databricks applications with type-safe SQL queries, plugin architecture, and React integration.
4
+
5
+ ## Enumerations[​](#enumerations "Direct link to Enumerations")
6
+
7
+ | Enumeration | Description |
8
+ | --------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
9
+ | [RequestedClaimsPermissionSet](./docs/api/appkit/Enumeration.RequestedClaimsPermissionSet.md) | Permission set for Unity Catalog table access |
10
+ | [ResourceType](./docs/api/appkit/Enumeration.ResourceType.md) | Resource types from schema $defs.resourceType.enum |
11
+
12
+ ## Classes[​](#classes "Direct link to Classes")
13
+
14
+ | Class | Description |
15
+ | --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
16
+ | [AppKitError](./docs/api/appkit/Class.AppKitError.md) | Base error class for all AppKit errors. Provides a consistent structure for error handling across the framework. |
17
+ | [AuthenticationError](./docs/api/appkit/Class.AuthenticationError.md) | Error thrown when authentication fails. Use for missing tokens, invalid credentials, or authorization failures. |
18
+ | [ConfigurationError](./docs/api/appkit/Class.ConfigurationError.md) | Error thrown when configuration is missing or invalid. Use for missing environment variables, invalid settings, or setup issues. |
19
+ | [ConnectionError](./docs/api/appkit/Class.ConnectionError.md) | Error thrown when a connection or network operation fails. Use for database pool errors, API failures, timeouts, etc. |
20
+ | [ExecutionError](./docs/api/appkit/Class.ExecutionError.md) | Error thrown when an operation execution fails. Use for statement failures, canceled operations, or unexpected states. |
21
+ | [InitializationError](./docs/api/appkit/Class.InitializationError.md) | Error thrown when a service or component is not properly initialized. Use when accessing services before they are ready. |
22
+ | [Plugin](./docs/api/appkit/Class.Plugin.md) | Base abstract class for creating AppKit plugins. |
23
+ | [ResourceRegistry](./docs/api/appkit/Class.ResourceRegistry.md) | Central registry for tracking plugin resource requirements. Deduplication uses type + resourceKey (machine-stable); alias is for display only. |
24
+ | [ServerError](./docs/api/appkit/Class.ServerError.md) | Error thrown when server lifecycle operations fail. Use for server start/stop issues, configuration conflicts, etc. |
25
+ | [TunnelError](./docs/api/appkit/Class.TunnelError.md) | Error thrown when remote tunnel operations fail. Use for tunnel connection issues, message parsing failures, etc. |
26
+ | [ValidationError](./docs/api/appkit/Class.ValidationError.md) | Error thrown when input validation fails. Use for invalid parameters, missing required fields, or type mismatches. |
27
+
28
+ ## Interfaces[​](#interfaces "Direct link to Interfaces")
29
+
30
+ | Interface | Description |
31
+ | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
32
+ | [BasePluginConfig](./docs/api/appkit/Interface.BasePluginConfig.md) | Base configuration interface for AppKit plugins |
33
+ | [CacheConfig](./docs/api/appkit/Interface.CacheConfig.md) | Configuration for caching |
34
+ | [DatabaseCredential](./docs/api/appkit/Interface.DatabaseCredential.md) | Database credentials with OAuth token for Postgres connection |
35
+ | [GenerateDatabaseCredentialRequest](./docs/api/appkit/Interface.GenerateDatabaseCredentialRequest.md) | Request parameters for generating database OAuth credentials |
36
+ | [ITelemetry](./docs/api/appkit/Interface.ITelemetry.md) | Plugin-facing interface for OpenTelemetry instrumentation. Provides a thin abstraction over OpenTelemetry APIs for plugins. |
37
+ | [LakebasePoolConfig](./docs/api/appkit/Interface.LakebasePoolConfig.md) | Configuration for creating a Lakebase connection pool |
38
+ | [PluginManifest](./docs/api/appkit/Interface.PluginManifest.md) | Plugin manifest that declares metadata and resource requirements. Attached to plugin classes as a static property. |
39
+ | [RequestedClaims](./docs/api/appkit/Interface.RequestedClaims.md) | Optional claims for fine-grained Unity Catalog table permissions When specified, the returned token will be scoped to only the requested tables |
40
+ | [RequestedResource](./docs/api/appkit/Interface.RequestedResource.md) | Resource to request permissions for in Unity Catalog |
41
+ | [ResourceEntry](./docs/api/appkit/Interface.ResourceEntry.md) | Internal representation of a resource in the registry. Extends ResourceRequirement with resolution state and plugin ownership. |
42
+ | [ResourceFieldEntry](./docs/api/appkit/Interface.ResourceFieldEntry.md) | Defines a single field for a resource. Each field has its own environment variable and optional description. Single-value types use one key (e.g. id); multi-value types (database, secret) use multiple (e.g. instance\_name, database\_name or scope, key). |
43
+ | [ResourceRequirement](./docs/api/appkit/Interface.ResourceRequirement.md) | Declares a resource requirement for a plugin. Can be defined statically in a manifest or dynamically via getResourceRequirements(). |
44
+ | [StreamExecutionSettings](./docs/api/appkit/Interface.StreamExecutionSettings.md) | Configuration for streaming execution with default and user-scoped settings |
45
+ | [TelemetryConfig](./docs/api/appkit/Interface.TelemetryConfig.md) | OpenTelemetry configuration for AppKit applications |
46
+ | [ValidationResult](./docs/api/appkit/Interface.ValidationResult.md) | Result of validating all registered resources against the environment. |
47
+
48
+ ## Type Aliases[​](#type-aliases "Direct link to Type Aliases")
49
+
50
+ | Type Alias | Description |
51
+ | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
52
+ | [ConfigSchema](./docs/api/appkit/TypeAlias.ConfigSchema.md) | Configuration schema definition for plugin config. Re-exported from the standard JSON Schema Draft 7 types. |
53
+ | [IAppRouter](./docs/api/appkit/TypeAlias.IAppRouter.md) | Express router type for plugin route registration |
54
+ | [ResourcePermission](./docs/api/appkit/TypeAlias.ResourcePermission.md) | Union of all possible permission levels across all resource types. |
55
+ | [ToPlugin](./docs/api/appkit/TypeAlias.ToPlugin.md) | - |
56
+
57
+ ## Variables[​](#variables "Direct link to Variables")
58
+
59
+ | Variable | Description |
60
+ | ---------------------------------------------- | -------------------- |
61
+ | [sql](./docs/api/appkit/Variable.sql.md) | SQL helper namespace |
62
+
63
+ ## Functions[​](#functions "Direct link to Functions")
64
+
65
+ | Function | Description |
66
+ | -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
67
+ | [appKitTypesPlugin](./docs/api/appkit/Function.appKitTypesPlugin.md) | Vite plugin to generate types for AppKit queries. Calls generateFromEntryPoint under the hood. |
68
+ | [createApp](./docs/api/appkit/Function.createApp.md) | Bootstraps AppKit with the provided configuration. |
69
+ | [createLakebasePool](./docs/api/appkit/Function.createLakebasePool.md) | Create a Lakebase pool with appkit's logger integration. Telemetry automatically uses appkit's OpenTelemetry configuration via global registry. |
70
+ | [generateDatabaseCredential](./docs/api/appkit/Function.generateDatabaseCredential.md) | Generate OAuth credentials for Postgres database connection using the proper Postgres API. |
71
+ | [getExecutionContext](./docs/api/appkit/Function.getExecutionContext.md) | Get the current execution context. |
72
+ | [getLakebaseOrmConfig](./docs/api/appkit/Function.getLakebaseOrmConfig.md) | Get Lakebase connection configuration for ORMs that don't accept pg.Pool directly. |
73
+ | [getLakebasePgConfig](./docs/api/appkit/Function.getLakebasePgConfig.md) | Get Lakebase connection configuration for PostgreSQL clients. |
74
+ | [getPluginManifest](./docs/api/appkit/Function.getPluginManifest.md) | Loads and validates the manifest from a plugin constructor. Normalizes string type/permission to strict ResourceType/ResourcePermission. |
75
+ | [getResourceRequirements](./docs/api/appkit/Function.getResourceRequirements.md) | Gets the resource requirements from a plugin's manifest. |
76
+ | [getUsernameWithApiLookup](./docs/api/appkit/Function.getUsernameWithApiLookup.md) | Resolves the PostgreSQL username for a Lakebase connection. |
77
+ | [getWorkspaceClient](./docs/api/appkit/Function.getWorkspaceClient.md) | Get workspace client from config or SDK default auth chain |
78
+ | [isSQLTypeMarker](./docs/api/appkit/Function.isSQLTypeMarker.md) | Type guard to check if a value is a SQL type marker |
@@ -4,14 +4,14 @@ This section contains the API reference for the AppKit packages.
4
4
 
5
5
  ## Modules[​](#modules "Direct link to Modules")
6
6
 
7
- * [`appkit`](/appkit/docs/api/appkit.md) - Core library. Provides the core functionality for building Databricks applications.
8
- * [`appkit-ui`](/appkit/docs/api/appkit-ui.md) - UI components library. Provides a set of UI primitives for building Databricks apps in [React](https://react.dev/).
7
+ * [`appkit`](./docs/api/appkit.md) - Core library. Provides the core functionality for building Databricks applications.
8
+ * [`appkit-ui`](./docs/api/appkit-ui.md) - UI components library. Provides a set of UI primitives for building Databricks apps in [React](https://react.dev/).
9
9
 
10
- Learn more about the architecture of AppKit in the [architecture](/appkit/docs/architecture.md) document.
10
+ Learn more about the architecture of AppKit in the [architecture](./docs/architecture.md) document.
11
11
 
12
12
  ## Getting started[​](#getting-started "Direct link to Getting started")
13
13
 
14
- To learn how to get started with AppKit, see the [getting started guide](/appkit/docs.md) for AI-assisted and manual quick start options.
14
+ To learn how to get started with AppKit, see the [getting started guide](./docs.md) for AI-assisted and manual quick start options.
15
15
 
16
16
  ## Installation[​](#installation "Direct link to Installation")
17
17
 
@@ -9,11 +9,11 @@ Manage your AppKit application throughout its lifecycle using the Databricks CLI
9
9
 
10
10
  ## Create app[​](#create-app "Direct link to Create app")
11
11
 
12
- See the [Quick start](/appkit/docs.md#quick-start) section to create a new Databricks app with AppKit installed.
12
+ See the [Quick start](./docs.md#quick-start-options) section to create a new Databricks app with AppKit installed.
13
13
 
14
14
  ## Configuration[​](#configuration "Direct link to Configuration")
15
15
 
16
- Before deploying your app, you need to configure it. See the [Configuration guide](/appkit/docs/configuration.md) for details on:
16
+ Before deploying your app, you need to configure it. See the [Configuration guide](./docs/configuration.md) for details on:
17
17
 
18
18
  * `app.yaml` configuration and command specification
19
19
  * Environment variables and SQL warehouse binding