@databricks/appkit 0.2.0 → 0.4.0

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 (248) hide show
  1. package/CLAUDE.md +121 -1228
  2. package/NOTICE.md +1 -1
  3. package/bin/appkit.js +3 -0
  4. package/dist/analytics/analytics.d.ts.map +1 -1
  5. package/dist/analytics/analytics.js +17 -30
  6. package/dist/analytics/analytics.js.map +1 -1
  7. package/dist/app/index.d.ts +5 -1
  8. package/dist/app/index.d.ts.map +1 -1
  9. package/dist/app/index.js +38 -9
  10. package/dist/app/index.js.map +1 -1
  11. package/dist/appkit/package.js +1 -1
  12. package/dist/cache/index.js +3 -3
  13. package/dist/cache/index.js.map +1 -1
  14. package/dist/cli/commands/docs.js +47 -0
  15. package/dist/cli/commands/docs.js.map +1 -0
  16. package/dist/cli/commands/generate-types.js +38 -0
  17. package/dist/cli/commands/generate-types.js.map +1 -0
  18. package/dist/cli/commands/lint.js +104 -0
  19. package/dist/cli/commands/lint.js.map +1 -0
  20. package/dist/cli/commands/setup.js +121 -0
  21. package/dist/cli/commands/setup.js.map +1 -0
  22. package/dist/cli/index.d.ts +1 -0
  23. package/dist/cli/index.js +24 -0
  24. package/dist/cli/index.js.map +1 -0
  25. package/dist/index.js.map +1 -1
  26. package/dist/plugin/plugin.d.ts +1 -0
  27. package/dist/plugin/plugin.d.ts.map +1 -1
  28. package/dist/plugin/plugin.js +1 -0
  29. package/dist/plugin/plugin.js.map +1 -1
  30. package/dist/server/remote-tunnel/remote-tunnel-manager.js +9 -9
  31. package/dist/server/remote-tunnel/remote-tunnel-manager.js.map +1 -1
  32. package/dist/server/utils.js +6 -6
  33. package/dist/server/utils.js.map +1 -1
  34. package/dist/shared/src/execute.d.ts +1 -0
  35. package/dist/shared/src/execute.d.ts.map +1 -1
  36. package/dist/shared/src/plugin.d.ts +3 -0
  37. package/dist/shared/src/plugin.d.ts.map +1 -1
  38. package/dist/telemetry/types.d.ts +1 -0
  39. package/dist/telemetry/types.d.ts.map +1 -1
  40. package/dist/type-generator/index.js +1 -1
  41. package/dist/type-generator/index.js.map +1 -1
  42. package/dist/type-generator/query-registry.js +9 -1
  43. package/dist/type-generator/query-registry.js.map +1 -1
  44. package/docs/docs/api/appkit/Class.AppKitError/index.html +77 -0
  45. package/docs/docs/api/appkit/Class.AppKitError.md +154 -0
  46. package/docs/docs/api/appkit/Class.AuthenticationError/index.html +110 -0
  47. package/docs/docs/api/appkit/Class.AuthenticationError.md +236 -0
  48. package/docs/docs/api/appkit/Class.ConfigurationError/index.html +112 -0
  49. package/docs/docs/api/appkit/Class.ConfigurationError.md +243 -0
  50. package/docs/docs/api/appkit/Class.ConnectionError/index.html +120 -0
  51. package/docs/docs/api/appkit/Class.ConnectionError.md +265 -0
  52. package/docs/docs/api/appkit/Class.ExecutionError/index.html +116 -0
  53. package/docs/docs/api/appkit/Class.ExecutionError.md +250 -0
  54. package/docs/docs/api/appkit/Class.InitializationError/index.html +104 -0
  55. package/docs/docs/api/appkit/Class.InitializationError.md +222 -0
  56. package/docs/docs/api/appkit/Class.Plugin/index.html +149 -0
  57. package/docs/docs/api/appkit/Class.Plugin.md +392 -0
  58. package/docs/docs/api/appkit/Class.ServerError/index.html +108 -0
  59. package/docs/docs/api/appkit/Class.ServerError.md +229 -0
  60. package/docs/docs/api/appkit/Class.TunnelError/index.html +108 -0
  61. package/docs/docs/api/appkit/Class.TunnelError.md +231 -0
  62. package/docs/docs/api/appkit/Class.ValidationError/index.html +106 -0
  63. package/docs/docs/api/appkit/Class.ValidationError.md +225 -0
  64. package/docs/docs/api/appkit/Function.appKitTypesPlugin/index.html +24 -0
  65. package/docs/docs/api/appkit/Function.appKitTypesPlugin.md +20 -0
  66. package/docs/docs/api/appkit/Function.createApp/index.html +24 -0
  67. package/docs/docs/api/appkit/Function.createApp.md +31 -0
  68. package/docs/docs/api/appkit/Function.isSQLTypeMarker/index.html +25 -0
  69. package/docs/docs/api/appkit/Function.isSQLTypeMarker.md +32 -0
  70. package/docs/docs/api/appkit/Interface.BasePluginConfig/index.html +28 -0
  71. package/docs/docs/api/appkit/Interface.BasePluginConfig.md +37 -0
  72. package/docs/docs/api/appkit/Interface.CacheConfig/index.html +63 -0
  73. package/docs/docs/api/appkit/Interface.CacheConfig.md +131 -0
  74. package/docs/docs/api/appkit/Interface.ITelemetry/index.html +73 -0
  75. package/docs/docs/api/appkit/Interface.ITelemetry.md +144 -0
  76. package/docs/docs/api/appkit/Interface.StreamExecutionSettings/index.html +26 -0
  77. package/docs/docs/api/appkit/Interface.StreamExecutionSettings.md +30 -0
  78. package/docs/docs/api/appkit/Interface.TelemetryConfig/index.html +32 -0
  79. package/docs/docs/api/appkit/Interface.TelemetryConfig.md +48 -0
  80. package/docs/docs/api/appkit/TypeAlias.IAppRouter/index.html +18 -0
  81. package/docs/docs/api/appkit/TypeAlias.IAppRouter.md +8 -0
  82. package/docs/docs/api/appkit/Variable.sql/index.html +98 -0
  83. package/docs/docs/api/appkit/Variable.sql.md +260 -0
  84. package/docs/docs/api/appkit/index.html +28 -0
  85. package/docs/docs/api/appkit-ui/data/AreaChart/index.html +29 -0
  86. package/docs/docs/api/appkit-ui/data/AreaChart.md +79 -0
  87. package/docs/docs/api/appkit-ui/data/BarChart/index.html +29 -0
  88. package/docs/docs/api/appkit-ui/data/BarChart.md +74 -0
  89. package/docs/docs/api/appkit-ui/data/DataTable/index.html +36 -0
  90. package/docs/docs/api/appkit-ui/data/DataTable.md +69 -0
  91. package/docs/docs/api/appkit-ui/data/DonutChart/index.html +29 -0
  92. package/docs/docs/api/appkit-ui/data/DonutChart.md +72 -0
  93. package/docs/docs/api/appkit-ui/data/HeatmapChart/index.html +35 -0
  94. package/docs/docs/api/appkit-ui/data/HeatmapChart.md +91 -0
  95. package/docs/docs/api/appkit-ui/data/LineChart/index.html +29 -0
  96. package/docs/docs/api/appkit-ui/data/LineChart.md +77 -0
  97. package/docs/docs/api/appkit-ui/data/PieChart/index.html +29 -0
  98. package/docs/docs/api/appkit-ui/data/PieChart.md +72 -0
  99. package/docs/docs/api/appkit-ui/data/RadarChart/index.html +29 -0
  100. package/docs/docs/api/appkit-ui/data/RadarChart.md +74 -0
  101. package/docs/docs/api/appkit-ui/data/ScatterChart/index.html +29 -0
  102. package/docs/docs/api/appkit-ui/data/ScatterChart.md +76 -0
  103. package/docs/docs/api/appkit-ui/index.html +23 -0
  104. package/docs/docs/api/appkit-ui/styling/index.html +74 -0
  105. package/docs/docs/api/appkit-ui/styling.md +81 -0
  106. package/docs/docs/api/appkit-ui/ui/Accordion/index.html +48 -0
  107. package/docs/docs/api/appkit-ui/ui/Accordion.md +139 -0
  108. package/docs/docs/api/appkit-ui/ui/Alert/index.html +41 -0
  109. package/docs/docs/api/appkit-ui/ui/Alert.md +89 -0
  110. package/docs/docs/api/appkit-ui/ui/AlertDialog/index.html +97 -0
  111. package/docs/docs/api/appkit-ui/ui/AlertDialog.md +282 -0
  112. package/docs/docs/api/appkit-ui/ui/AspectRatio/index.html +27 -0
  113. package/docs/docs/api/appkit-ui/ui/AspectRatio.md +46 -0
  114. package/docs/docs/api/appkit-ui/ui/Avatar/index.html +41 -0
  115. package/docs/docs/api/appkit-ui/ui/Avatar.md +90 -0
  116. package/docs/docs/api/appkit-ui/ui/Badge/index.html +27 -0
  117. package/docs/docs/api/appkit-ui/ui/Badge.md +38 -0
  118. package/docs/docs/api/appkit-ui/ui/Breadcrumb/index.html +69 -0
  119. package/docs/docs/api/appkit-ui/ui/Breadcrumb.md +193 -0
  120. package/docs/docs/api/appkit-ui/ui/Button/index.html +27 -0
  121. package/docs/docs/api/appkit-ui/ui/Button.md +39 -0
  122. package/docs/docs/api/appkit-ui/ui/ButtonGroup/index.html +38 -0
  123. package/docs/docs/api/appkit-ui/ui/ButtonGroup.md +68 -0
  124. package/docs/docs/api/appkit-ui/ui/Calendar/index.html +34 -0
  125. package/docs/docs/api/appkit-ui/ui/Calendar.md +154 -0
  126. package/docs/docs/api/appkit-ui/ui/Card/index.html +69 -0
  127. package/docs/docs/api/appkit-ui/ui/Card.md +222 -0
  128. package/docs/docs/api/appkit-ui/ui/Carousel/index.html +55 -0
  129. package/docs/docs/api/appkit-ui/ui/Carousel.md +152 -0
  130. package/docs/docs/api/appkit-ui/ui/ChartContainer/index.html +58 -0
  131. package/docs/docs/api/appkit-ui/ui/ChartContainer.md +343 -0
  132. package/docs/docs/api/appkit-ui/ui/Checkbox/index.html +27 -0
  133. package/docs/docs/api/appkit-ui/ui/Checkbox.md +53 -0
  134. package/docs/docs/api/appkit-ui/ui/Collapsible/index.html +41 -0
  135. package/docs/docs/api/appkit-ui/ui/Collapsible.md +125 -0
  136. package/docs/docs/api/appkit-ui/ui/Command/index.html +83 -0
  137. package/docs/docs/api/appkit-ui/ui/Command.md +287 -0
  138. package/docs/docs/api/appkit-ui/ui/ContextMenu/index.html +111 -0
  139. package/docs/docs/api/appkit-ui/ui/ContextMenu.md +419 -0
  140. package/docs/docs/api/appkit-ui/ui/Dialog/index.html +90 -0
  141. package/docs/docs/api/appkit-ui/ui/Dialog.md +285 -0
  142. package/docs/docs/api/appkit-ui/ui/Drawer/index.html +90 -0
  143. package/docs/docs/api/appkit-ui/ui/Drawer.md +387 -0
  144. package/docs/docs/api/appkit-ui/ui/DropdownMenu/index.html +111 -0
  145. package/docs/docs/api/appkit-ui/ui/DropdownMenu.md +478 -0
  146. package/docs/docs/api/appkit-ui/ui/Empty/index.html +54 -0
  147. package/docs/docs/api/appkit-ui/ui/Empty.md +109 -0
  148. package/docs/docs/api/appkit-ui/ui/Field/index.html +87 -0
  149. package/docs/docs/api/appkit-ui/ui/Field.md +201 -0
  150. package/docs/docs/api/appkit-ui/ui/FormControl/index.html +59 -0
  151. package/docs/docs/api/appkit-ui/ui/FormControl.md +128 -0
  152. package/docs/docs/api/appkit-ui/ui/HoverCard/index.html +39 -0
  153. package/docs/docs/api/appkit-ui/ui/HoverCard.md +131 -0
  154. package/docs/docs/api/appkit-ui/ui/Input/index.html +27 -0
  155. package/docs/docs/api/appkit-ui/ui/Input.md +35 -0
  156. package/docs/docs/api/appkit-ui/ui/InputGroup/index.html +59 -0
  157. package/docs/docs/api/appkit-ui/ui/InputGroup.md +123 -0
  158. package/docs/docs/api/appkit-ui/ui/InputOTP/index.html +48 -0
  159. package/docs/docs/api/appkit-ui/ui/InputOTP.md +124 -0
  160. package/docs/docs/api/appkit-ui/ui/Item/index.html +78 -0
  161. package/docs/docs/api/appkit-ui/ui/Item.md +185 -0
  162. package/docs/docs/api/appkit-ui/ui/Kbd/index.html +30 -0
  163. package/docs/docs/api/appkit-ui/ui/Kbd.md +39 -0
  164. package/docs/docs/api/appkit-ui/ui/Label/index.html +27 -0
  165. package/docs/docs/api/appkit-ui/ui/Label.md +44 -0
  166. package/docs/docs/api/appkit-ui/ui/Menubar/index.html +117 -0
  167. package/docs/docs/api/appkit-ui/ui/Menubar.md +484 -0
  168. package/docs/docs/api/appkit-ui/ui/NavigationMenu/index.html +76 -0
  169. package/docs/docs/api/appkit-ui/ui/NavigationMenu.md +338 -0
  170. package/docs/docs/api/appkit-ui/ui/Pagination/index.html +69 -0
  171. package/docs/docs/api/appkit-ui/ui/Pagination.md +191 -0
  172. package/docs/docs/api/appkit-ui/ui/Popover/index.html +45 -0
  173. package/docs/docs/api/appkit-ui/ui/Popover.md +173 -0
  174. package/docs/docs/api/appkit-ui/ui/Progress/index.html +27 -0
  175. package/docs/docs/api/appkit-ui/ui/Progress.md +51 -0
  176. package/docs/docs/api/appkit-ui/ui/RadioGroup/index.html +33 -0
  177. package/docs/docs/api/appkit-ui/ui/RadioGroup.md +83 -0
  178. package/docs/docs/api/appkit-ui/ui/ResizableHandle/index.html +41 -0
  179. package/docs/docs/api/appkit-ui/ui/ResizableHandle.md +136 -0
  180. package/docs/docs/api/appkit-ui/ui/ScrollArea/index.html +34 -0
  181. package/docs/docs/api/appkit-ui/ui/ScrollArea.md +83 -0
  182. package/docs/docs/api/appkit-ui/ui/Select/index.html +82 -0
  183. package/docs/docs/api/appkit-ui/ui/Select.md +267 -0
  184. package/docs/docs/api/appkit-ui/ui/Separator/index.html +27 -0
  185. package/docs/docs/api/appkit-ui/ui/Separator.md +56 -0
  186. package/docs/docs/api/appkit-ui/ui/Sheet/index.html +76 -0
  187. package/docs/docs/api/appkit-ui/ui/Sheet.md +236 -0
  188. package/docs/docs/api/appkit-ui/ui/Sidebar/index.html +183 -0
  189. package/docs/docs/api/appkit-ui/ui/Sidebar.md +490 -0
  190. package/docs/docs/api/appkit-ui/ui/Skeleton/index.html +27 -0
  191. package/docs/docs/api/appkit-ui/ui/Skeleton.md +43 -0
  192. package/docs/docs/api/appkit-ui/ui/Slider/index.html +27 -0
  193. package/docs/docs/api/appkit-ui/ui/Slider.md +61 -0
  194. package/docs/docs/api/appkit-ui/ui/Spinner/index.html +24 -0
  195. package/docs/docs/api/appkit-ui/ui/Spinner.md +22 -0
  196. package/docs/docs/api/appkit-ui/ui/Switch/index.html +27 -0
  197. package/docs/docs/api/appkit-ui/ui/Switch.md +46 -0
  198. package/docs/docs/api/appkit-ui/ui/Table/index.html +69 -0
  199. package/docs/docs/api/appkit-ui/ui/Table.md +236 -0
  200. package/docs/docs/api/appkit-ui/ui/Tabs/index.html +48 -0
  201. package/docs/docs/api/appkit-ui/ui/Tabs.md +177 -0
  202. package/docs/docs/api/appkit-ui/ui/Textarea/index.html +27 -0
  203. package/docs/docs/api/appkit-ui/ui/Textarea.md +35 -0
  204. package/docs/docs/api/appkit-ui/ui/Toaster/index.html +27 -0
  205. package/docs/docs/api/appkit-ui/ui/Toaster.md +75 -0
  206. package/docs/docs/api/appkit-ui/ui/Toggle/index.html +27 -0
  207. package/docs/docs/api/appkit-ui/ui/Toggle.md +48 -0
  208. package/docs/docs/api/appkit-ui/ui/ToggleGroup/index.html +33 -0
  209. package/docs/docs/api/appkit-ui/ui/ToggleGroup.md +88 -0
  210. package/docs/docs/api/appkit-ui/ui/Tooltip/index.html +46 -0
  211. package/docs/docs/api/appkit-ui/ui/Tooltip.md +134 -0
  212. package/docs/docs/api/appkit-ui.md +15 -0
  213. package/docs/docs/api/appkit.md +48 -0
  214. package/docs/docs/api/index.html +28 -0
  215. package/docs/docs/api.md +24 -0
  216. package/docs/docs/app-management/index.html +106 -0
  217. package/docs/docs/app-management.md +171 -0
  218. package/docs/docs/architecture/index.html +71 -0
  219. package/docs/docs/architecture.md +69 -0
  220. package/docs/docs/category/development/index.html +16 -0
  221. package/docs/docs/category/development.md +3 -0
  222. package/docs/docs/configuration/index.html +66 -0
  223. package/docs/docs/configuration.md +150 -0
  224. package/docs/docs/core-principles/index.html +38 -0
  225. package/docs/docs/core-principles.md +31 -0
  226. package/docs/docs/development/index.html +34 -0
  227. package/docs/docs/development/llm-guide/index.html +74 -0
  228. package/docs/docs/development/llm-guide.md +74 -0
  229. package/docs/docs/development/local-development/index.html +27 -0
  230. package/docs/docs/development/local-development.md +20 -0
  231. package/docs/docs/development/project-setup/index.html +69 -0
  232. package/docs/docs/development/project-setup.md +246 -0
  233. package/docs/docs/development/remote-bridge/index.html +76 -0
  234. package/docs/docs/development/remote-bridge.md +80 -0
  235. package/docs/docs/development/type-generation/index.html +65 -0
  236. package/docs/docs/development/type-generation.md +110 -0
  237. package/docs/docs/development.md +21 -0
  238. package/docs/docs/index.html +58 -0
  239. package/docs/docs/plugins/index.html +151 -0
  240. package/docs/docs/plugins.md +313 -0
  241. package/docs/docs.md +64 -0
  242. package/llms.txt +121 -1228
  243. package/package.json +11 -11
  244. package/scripts/postinstall.js +1 -1
  245. package/AGENTS.md +0 -1231
  246. package/bin/appkit-lint.js +0 -129
  247. package/bin/generate-types.js +0 -27
  248. package/bin/setup-claude.js +0 -190
@@ -0,0 +1,287 @@
1
+ # Command
2
+
3
+ Command palette for keyboard-driven navigation and actions
4
+
5
+ ## Example[​](#example "Direct link to Example")
6
+
7
+ <!-- -->
8
+
9
+ ```tsx
10
+ import {
11
+ Calculator,
12
+ Calendar,
13
+ CreditCard,
14
+ Settings,
15
+ Smile,
16
+ User,
17
+ } from "lucide-react"
18
+
19
+ import {
20
+ Command,
21
+ CommandEmpty,
22
+ CommandGroup,
23
+ CommandInput,
24
+ CommandItem,
25
+ CommandList,
26
+ CommandSeparator,
27
+ CommandShortcut,
28
+ } from "@databricks/appkit-ui/react"
29
+
30
+ export default function CommandExample() {
31
+ return (
32
+ <Command className="rounded-lg border shadow-md md:min-w-[450px]">
33
+ <CommandInput placeholder="Type a command or search..." />
34
+ <CommandList>
35
+ <CommandEmpty>No results found.</CommandEmpty>
36
+ <CommandGroup heading="Suggestions">
37
+ <CommandItem>
38
+ <Calendar />
39
+ <span>Calendar</span>
40
+ </CommandItem>
41
+ <CommandItem>
42
+ <Smile />
43
+ <span>Search Emoji</span>
44
+ </CommandItem>
45
+ <CommandItem disabled>
46
+ <Calculator />
47
+ <span>Calculator</span>
48
+ </CommandItem>
49
+ </CommandGroup>
50
+ <CommandSeparator />
51
+ <CommandGroup heading="Settings">
52
+ <CommandItem>
53
+ <User />
54
+ <span>Profile</span>
55
+ <CommandShortcut>⌘P</CommandShortcut>
56
+ </CommandItem>
57
+ <CommandItem>
58
+ <CreditCard />
59
+ <span>Billing</span>
60
+ <CommandShortcut>⌘B</CommandShortcut>
61
+ </CommandItem>
62
+ <CommandItem>
63
+ <Settings />
64
+ <span>Settings</span>
65
+ <CommandShortcut>⌘S</CommandShortcut>
66
+ </CommandItem>
67
+ </CommandGroup>
68
+ </CommandList>
69
+ </Command>
70
+ )
71
+ }
72
+
73
+ ```
74
+
75
+ ## Command[​](#command-1 "Direct link to Command")
76
+
77
+ Command palette for keyboard-driven navigation and actions
78
+
79
+ **Source:** [`packages/appkit-ui/src/react/ui/command.tsx`](https://github.com/databricks/appkit/blob/main/packages/appkit-ui/src/react/ui/command.tsx)
80
+
81
+ ### Props[​](#props "Direct link to Props")
82
+
83
+ | Prop | Type | Required | Default | Description |
84
+ | ------------------------- | --------------------------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
85
+ | `asChild` | `boolean` | | - | - |
86
+ | `label` | `string` | | - | Accessible label for this command menu. Not shown visibly. |
87
+ | `shouldFilter` | `boolean` | | - | Optionally set to `false` to turn off the automatic filtering and sorting. If `false`, you must conditionally render valid items based on the search query yourself. |
88
+ | `filter` | `CommandFilter` | | - | Custom filter function for whether each command menu item should matches the given search query. It should return a number between 0 and 1, with 1 being the best match and 0 being hidden entirely. By default, uses the `command-score` library. |
89
+ | `value` | `string` | | - | Optional controlled state of the selected command menu item. |
90
+ | `onValueChange` | `((value: string) => void)` | | - | Event handler called when the selected item of the menu changes. |
91
+ | `loop` | `boolean` | | - | Optionally set to `true` to turn on looping around when using the arrow keys. |
92
+ | `disablePointerSelection` | `boolean` | | - | Optionally set to `true` to disable selection via pointer events. |
93
+ | `vimBindings` | `boolean` | | - | Set to `false` to disable ctrl+n/j/p/k shortcuts. Defaults to `true`. |
94
+
95
+ ### Usage[​](#usage "Direct link to Usage")
96
+
97
+ ```tsx
98
+ import { Command } from '@databricks/appkit-ui';
99
+
100
+ <Command /* props */ />
101
+
102
+ ```
103
+
104
+ ## CommandDialog[​](#commanddialog "Direct link to CommandDialog")
105
+
106
+ Dialog wrapper for the command palette
107
+
108
+ **Source:** [`packages/appkit-ui/src/react/ui/command.tsx`](https://github.com/databricks/appkit/blob/main/packages/appkit-ui/src/react/ui/command.tsx)
109
+
110
+ ### Props[​](#props-1 "Direct link to Props")
111
+
112
+ | Prop | Type | Required | Default | Description |
113
+ | ----------------- | --------------------------- | -------- | -------------------------------- | ----------- |
114
+ | `open` | `boolean` | | - | - |
115
+ | `defaultOpen` | `boolean` | | - | - |
116
+ | `onOpenChange` | `((open: boolean) => void)` | | - | - |
117
+ | `modal` | `boolean` | | - | - |
118
+ | `title` | `string` | | `Command Palette` | - |
119
+ | `description` | `string` | | `Search for a command to run...` | - |
120
+ | `className` | `string` | | - | - |
121
+ | `showCloseButton` | `boolean` | | `true` | - |
122
+
123
+ ### Usage[​](#usage-1 "Direct link to Usage")
124
+
125
+ ```tsx
126
+ import { CommandDialog } from '@databricks/appkit-ui';
127
+
128
+ <CommandDialog /* props */ />
129
+
130
+ ```
131
+
132
+ ## CommandEmpty[​](#commandempty "Direct link to CommandEmpty")
133
+
134
+ Empty state displayed when no commands match the search
135
+
136
+ **Source:** [`packages/appkit-ui/src/react/ui/command.tsx`](https://github.com/databricks/appkit/blob/main/packages/appkit-ui/src/react/ui/command.tsx)
137
+
138
+ ### Props[​](#props-2 "Direct link to Props")
139
+
140
+ | Prop | Type | Required | Default | Description |
141
+ | --------- | --------- | -------- | ------- | ----------- |
142
+ | `asChild` | `boolean` | | - | - |
143
+
144
+ ### Usage[​](#usage-2 "Direct link to Usage")
145
+
146
+ ```tsx
147
+ import { CommandEmpty } from '@databricks/appkit-ui';
148
+
149
+ <CommandEmpty /* props */ />
150
+
151
+ ```
152
+
153
+ ## CommandGroup[​](#commandgroup "Direct link to CommandGroup")
154
+
155
+ Group of related command items with an optional heading
156
+
157
+ **Source:** [`packages/appkit-ui/src/react/ui/command.tsx`](https://github.com/databricks/appkit/blob/main/packages/appkit-ui/src/react/ui/command.tsx)
158
+
159
+ ### Props[​](#props-3 "Direct link to Props")
160
+
161
+ | Prop | Type | Required | Default | Description |
162
+ | ------------ | ----------- | -------- | ------- | ---------------------------------------------------------------------------------- |
163
+ | `asChild` | `boolean` | | - | - |
164
+ | `heading` | `ReactNode` | | - | Optional heading to render for this group. |
165
+ | `value` | `string` | | - | If no heading is provided, you must provide a value that is unique for this group. |
166
+ | `forceMount` | `boolean` | | - | Whether this group is forcibly rendered regardless of filtering. |
167
+
168
+ ### Usage[​](#usage-3 "Direct link to Usage")
169
+
170
+ ```tsx
171
+ import { CommandGroup } from '@databricks/appkit-ui';
172
+
173
+ <CommandGroup /* props */ />
174
+
175
+ ```
176
+
177
+ ## CommandInput[​](#commandinput "Direct link to CommandInput")
178
+
179
+ Search input field for filtering command items
180
+
181
+ **Source:** [`packages/appkit-ui/src/react/ui/command.tsx`](https://github.com/databricks/appkit/blob/main/packages/appkit-ui/src/react/ui/command.tsx)
182
+
183
+ ### Props[​](#props-4 "Direct link to Props")
184
+
185
+ | Prop | Type | Required | Default | Description |
186
+ | --------------- | ---------------------------- | -------- | ------- | ------------------------------------------------------------ |
187
+ | `asChild` | `boolean` | | - | - |
188
+ | `value` | `string` | | - | Optional controlled state for the value of the search input. |
189
+ | `onValueChange` | `((search: string) => void)` | | - | Event handler called when the search value changes. |
190
+
191
+ ### Usage[​](#usage-4 "Direct link to Usage")
192
+
193
+ ```tsx
194
+ import { CommandInput } from '@databricks/appkit-ui';
195
+
196
+ <CommandInput /* props */ />
197
+
198
+ ```
199
+
200
+ ## CommandItem[​](#commanditem "Direct link to CommandItem")
201
+
202
+ Individual selectable command item
203
+
204
+ **Source:** [`packages/appkit-ui/src/react/ui/command.tsx`](https://github.com/databricks/appkit/blob/main/packages/appkit-ui/src/react/ui/command.tsx)
205
+
206
+ ### Props[​](#props-5 "Direct link to Props")
207
+
208
+ | Prop | Type | Required | Default | Description |
209
+ | ------------ | --------------------------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
210
+ | `asChild` | `boolean` | | - | - |
211
+ | `disabled` | `boolean` | | - | Whether this item is currently disabled. |
212
+ | `onSelect` | `((value: string) => void)` | | - | Event handler for when this item is selected, either via click or keyboard selection. |
213
+ | `value` | `string` | | - | A unique value for this item. If no value is provided, it will be inferred from `children` or the rendered `textContent`. If your `textContent` changes between renders, you *must* provide a stable, unique `value`. |
214
+ | `keywords` | `string[]` | | - | Optional keywords to match against when filtering. |
215
+ | `forceMount` | `boolean` | | - | Whether this item is forcibly rendered regardless of filtering. |
216
+
217
+ ### Usage[​](#usage-5 "Direct link to Usage")
218
+
219
+ ```tsx
220
+ import { CommandItem } from '@databricks/appkit-ui';
221
+
222
+ <CommandItem /* props */ />
223
+
224
+ ```
225
+
226
+ ## CommandList[​](#commandlist "Direct link to CommandList")
227
+
228
+ Scrollable list container for command items
229
+
230
+ **Source:** [`packages/appkit-ui/src/react/ui/command.tsx`](https://github.com/databricks/appkit/blob/main/packages/appkit-ui/src/react/ui/command.tsx)
231
+
232
+ ### Props[​](#props-6 "Direct link to Props")
233
+
234
+ | Prop | Type | Required | Default | Description |
235
+ | --------- | --------- | -------- | ------- | ----------------------------------------------------------------- |
236
+ | `asChild` | `boolean` | | - | - |
237
+ | `label` | `string` | | - | Accessible label for this List of suggestions. Not shown visibly. |
238
+
239
+ ### Usage[​](#usage-6 "Direct link to Usage")
240
+
241
+ ```tsx
242
+ import { CommandList } from '@databricks/appkit-ui';
243
+
244
+ <CommandList /* props */ />
245
+
246
+ ```
247
+
248
+ ## CommandSeparator[​](#commandseparator "Direct link to CommandSeparator")
249
+
250
+ Visual separator between command groups
251
+
252
+ **Source:** [`packages/appkit-ui/src/react/ui/command.tsx`](https://github.com/databricks/appkit/blob/main/packages/appkit-ui/src/react/ui/command.tsx)
253
+
254
+ ### Props[​](#props-7 "Direct link to Props")
255
+
256
+ | Prop | Type | Required | Default | Description |
257
+ | -------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------------------- |
258
+ | `asChild` | `boolean` | | - | - |
259
+ | `alwaysRender` | `boolean` | | - | Whether this separator should always be rendered. Useful if you disable automatic filtering. |
260
+
261
+ ### Usage[​](#usage-7 "Direct link to Usage")
262
+
263
+ ```tsx
264
+ import { CommandSeparator } from '@databricks/appkit-ui';
265
+
266
+ <CommandSeparator /* props */ />
267
+
268
+ ```
269
+
270
+ ## CommandShortcut[​](#commandshortcut "Direct link to CommandShortcut")
271
+
272
+ Keyboard shortcut indicator displayed next to command items
273
+
274
+ **Source:** [`packages/appkit-ui/src/react/ui/command.tsx`](https://github.com/databricks/appkit/blob/main/packages/appkit-ui/src/react/ui/command.tsx)
275
+
276
+ ### Props[​](#props-8 "Direct link to Props")
277
+
278
+ This component extends standard HTML element attributes.
279
+
280
+ ### Usage[​](#usage-8 "Direct link to Usage")
281
+
282
+ ```tsx
283
+ import { CommandShortcut } from '@databricks/appkit-ui';
284
+
285
+ <CommandShortcut /* props */ />
286
+
287
+ ```