modern-cmdk 1.0.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 (32) hide show
  1. package/LICENSE +21 -0
  2. package/dist/codemod/cli.d.mts +1 -0
  3. package/dist/codemod/cli.mjs +89836 -0
  4. package/dist/codemod/cli.mjs.map +1 -0
  5. package/dist/codemod/transforms/data-attrs.d.mts +11 -0
  6. package/dist/codemod/transforms/data-attrs.d.mts.map +1 -0
  7. package/dist/codemod/transforms/data-attrs.mjs +68 -0
  8. package/dist/codemod/transforms/data-attrs.mjs.map +1 -0
  9. package/dist/codemod/transforms/forward-ref.d.mts +11 -0
  10. package/dist/codemod/transforms/forward-ref.d.mts.map +1 -0
  11. package/dist/codemod/transforms/forward-ref.mjs +53 -0
  12. package/dist/codemod/transforms/forward-ref.mjs.map +1 -0
  13. package/dist/codemod/transforms/import-rewrite.d.mts +11 -0
  14. package/dist/codemod/transforms/import-rewrite.d.mts.map +1 -0
  15. package/dist/codemod/transforms/import-rewrite.mjs +45 -0
  16. package/dist/codemod/transforms/import-rewrite.mjs.map +1 -0
  17. package/dist/codemod/transforms/should-filter.d.mts +10 -0
  18. package/dist/codemod/transforms/should-filter.d.mts.map +1 -0
  19. package/dist/codemod/transforms/should-filter.mjs +21 -0
  20. package/dist/codemod/transforms/should-filter.mjs.map +1 -0
  21. package/dist/core/index.d.mts +2 -0
  22. package/dist/core/index.mjs +2 -0
  23. package/dist/core-Bq0eDvlc.mjs +1217 -0
  24. package/dist/core-Bq0eDvlc.mjs.map +1 -0
  25. package/dist/index-Ctz7l29k.d.mts +562 -0
  26. package/dist/index-Ctz7l29k.d.mts.map +1 -0
  27. package/dist/react/index.d.mts +358 -0
  28. package/dist/react/index.d.mts.map +1 -0
  29. package/dist/react/index.mjs +905 -0
  30. package/dist/react/index.mjs.map +1 -0
  31. package/package.json +71 -0
  32. package/src/react/styles.css +609 -0
@@ -0,0 +1,358 @@
1
+ import { D as CommandItem$1, L as GroupId, O as CommandMachineOptions, R as ItemId, d as CommandMachine, k as CommandState } from "../index-Ctz7l29k.mjs";
2
+ import { Component, ComponentPropsWithRef, ErrorInfo, ReactNode } from "react";
3
+
4
+ //#region src/react/activity.d.ts
5
+ /** Activity mode — maps directly to React's Activity API */
6
+ type ActivityMode = "visible" | "hidden";
7
+ /** Props for the CommandActivity wrapper that controls visibility via React's Activity API. */
8
+ interface CommandActivityProps {
9
+ /** Whether the wrapped content is active (visible) */
10
+ readonly mode: ActivityMode;
11
+ readonly children: ReactNode;
12
+ }
13
+ /**
14
+ * Wraps content in React 19.3.0-canary Activity API.
15
+ * When mode="hidden", the component tree is preserved in memory but not rendered.
16
+ * Falls back to conditional rendering if Activity is unavailable.
17
+ */
18
+ declare function CommandActivity({
19
+ mode,
20
+ children
21
+ }: CommandActivityProps): ReactNode;
22
+ //#endregion
23
+ //#region src/react/async-items.d.ts
24
+ interface CommandAsyncItemsProps {
25
+ /** Promise that resolves to items */
26
+ readonly items: Promise<readonly CommandItem$1[]>;
27
+ /** Fallback content while loading */
28
+ readonly fallback?: ReactNode;
29
+ /** Render function for resolved items */
30
+ readonly children: (items: readonly CommandItem$1[]) => ReactNode;
31
+ }
32
+ declare function CommandAsyncItems({
33
+ items,
34
+ fallback,
35
+ children
36
+ }: CommandAsyncItemsProps): ReactNode;
37
+ //#endregion
38
+ //#region src/react/badge.d.ts
39
+ interface CommandBadgeProps extends ComponentPropsWithRef<"span"> {}
40
+ declare function CommandBadge({
41
+ ref,
42
+ children,
43
+ ...props
44
+ }: CommandBadgeProps): ReactNode;
45
+ //#endregion
46
+ //#region src/react/dialog.d.ts
47
+ interface CommandDialogProps extends CommandMachineOptions {
48
+ readonly children?: ReactNode;
49
+ readonly className?: string;
50
+ readonly overlayClassName?: string;
51
+ readonly contentClassName?: string;
52
+ readonly label?: string;
53
+ readonly open?: boolean;
54
+ readonly onOpenChange?: (open: boolean) => void;
55
+ /** Container element for the portal (default: document.body) */
56
+ readonly container?: HTMLElement | null;
57
+ }
58
+ declare function CommandDialog({
59
+ children,
60
+ className,
61
+ overlayClassName,
62
+ contentClassName,
63
+ label,
64
+ open: controlledOpen,
65
+ onOpenChange,
66
+ container,
67
+ ...machineOptions
68
+ }: CommandDialogProps): ReactNode;
69
+ //#endregion
70
+ //#region src/react/empty.d.ts
71
+ interface CommandEmptyProps extends ComponentPropsWithRef<"div"> {}
72
+ declare function CommandEmpty({
73
+ ref,
74
+ children,
75
+ ...props
76
+ }: CommandEmptyProps): ReactNode;
77
+ //#endregion
78
+ //#region src/react/group.d.ts
79
+ interface CommandGroupProps extends ComponentPropsWithRef<"div"> {
80
+ /** Heading text displayed above the group */
81
+ readonly heading?: string;
82
+ /** Sort priority (lower = higher in list) */
83
+ readonly priority?: number;
84
+ /** Force a specific ID */
85
+ readonly forceId?: string;
86
+ }
87
+ declare function CommandGroup({
88
+ ref,
89
+ children,
90
+ heading,
91
+ priority,
92
+ forceId,
93
+ ...props
94
+ }: CommandGroupProps): ReactNode;
95
+ //#endregion
96
+ //#region src/react/highlight.d.ts
97
+ interface CommandHighlightProps {
98
+ /** The full text to display */
99
+ readonly text: string;
100
+ /** Match ranges from search scorer — [start, end] tuples */
101
+ readonly ranges: ReadonlyArray<readonly [start: number, end: number]>;
102
+ /** Custom className for highlighted segments */
103
+ readonly highlightClassName?: string;
104
+ }
105
+ declare function CommandHighlight({
106
+ text,
107
+ ranges,
108
+ highlightClassName
109
+ }: CommandHighlightProps): ReactNode;
110
+ //#endregion
111
+ //#region src/react/input.d.ts
112
+ interface CommandInputProps extends Omit<ComponentPropsWithRef<"input">, "value" | "onChange" | "type" | "role"> {
113
+ readonly onValueChange?: (value: string) => void;
114
+ }
115
+ declare function CommandInput({
116
+ ref,
117
+ placeholder,
118
+ onValueChange,
119
+ ...props
120
+ }: CommandInputProps): ReactNode;
121
+ //#endregion
122
+ //#region src/react/item.d.ts
123
+ interface CommandItemProps extends Omit<ComponentPropsWithRef<"div">, "onSelect" | "value"> {
124
+ readonly value: string;
125
+ readonly keywords?: readonly string[];
126
+ readonly onSelect?: () => void;
127
+ readonly disabled?: boolean;
128
+ readonly shortcut?: string;
129
+ readonly forceId?: string;
130
+ }
131
+ declare function CommandItem({
132
+ ref,
133
+ children,
134
+ value,
135
+ keywords,
136
+ onSelect,
137
+ disabled,
138
+ shortcut,
139
+ forceId,
140
+ ...props
141
+ }: CommandItemProps): ReactNode;
142
+ //#endregion
143
+ //#region src/react/list.d.ts
144
+ interface CommandListProps extends ComponentPropsWithRef<"div"> {
145
+ /** Override automatic virtualization (default: auto at >100 items, false to opt-out) */
146
+ readonly virtualize?: boolean;
147
+ /** Estimated item height for virtualization (default: 44px) */
148
+ readonly estimateSize?: number;
149
+ /** Overscan count for virtualization (default: 8) */
150
+ readonly overscan?: number;
151
+ }
152
+ declare function CommandList({
153
+ ref,
154
+ children,
155
+ virtualize,
156
+ estimateSize,
157
+ overscan,
158
+ style,
159
+ ...props
160
+ }: CommandListProps): ReactNode;
161
+ //#endregion
162
+ //#region src/react/loading.d.ts
163
+ interface CommandLoadingProps extends ComponentPropsWithRef<"div"> {
164
+ /** Override the loading state detection */
165
+ readonly loading?: boolean;
166
+ }
167
+ declare function CommandLoading({
168
+ ref,
169
+ children,
170
+ loading: loadingOverride,
171
+ ...props
172
+ }: CommandLoadingProps): ReactNode;
173
+ //#endregion
174
+ //#region src/react/page.d.ts
175
+ /** Branded page identifier */
176
+ type CommandPageId = string & {
177
+ readonly __brand: "CommandPageId";
178
+ };
179
+ interface CommandPageProps {
180
+ /** Page identifier */
181
+ readonly id: CommandPageId | string;
182
+ readonly children?: ReactNode;
183
+ }
184
+ declare function CommandPage({
185
+ id,
186
+ children
187
+ }: CommandPageProps): ReactNode;
188
+ //#endregion
189
+ //#region src/react/separator.d.ts
190
+ interface CommandSeparatorProps extends ComponentPropsWithRef<"div"> {}
191
+ declare function CommandSeparator({
192
+ ref,
193
+ ...props
194
+ }: CommandSeparatorProps): ReactNode;
195
+ //#endregion
196
+ //#region src/react/shortcut.d.ts
197
+ interface CommandShortcutProps extends ComponentPropsWithRef<"kbd"> {
198
+ /** Shortcut string to display (e.g., "Mod+K"). If not provided, reads from nearest Command.Item. */
199
+ readonly shortcut?: string;
200
+ }
201
+ declare function CommandShortcut({
202
+ ref,
203
+ shortcut,
204
+ children,
205
+ ...props
206
+ }: CommandShortcutProps): ReactNode;
207
+ //#endregion
208
+ //#region src/react/command.d.ts
209
+ interface CommandRootProps extends CommandMachineOptions {
210
+ readonly children?: ReactNode;
211
+ readonly className?: string;
212
+ readonly label?: string;
213
+ }
214
+ declare function CommandRoot({
215
+ children,
216
+ className,
217
+ label,
218
+ ...machineOptions
219
+ }: CommandRootProps): ReactNode;
220
+ /** Compound component namespace */
221
+ declare const Command: typeof CommandRoot & {
222
+ readonly Input: typeof CommandInput;
223
+ readonly List: typeof CommandList;
224
+ readonly Item: typeof CommandItem;
225
+ readonly Group: typeof CommandGroup;
226
+ readonly Empty: typeof CommandEmpty;
227
+ readonly Loading: typeof CommandLoading;
228
+ readonly Separator: typeof CommandSeparator;
229
+ readonly Dialog: typeof CommandDialog;
230
+ readonly Highlight: typeof CommandHighlight;
231
+ readonly Shortcut: typeof CommandShortcut;
232
+ readonly Badge: typeof CommandBadge;
233
+ readonly Page: typeof CommandPage;
234
+ readonly AsyncItems: typeof CommandAsyncItems;
235
+ readonly Activity: typeof CommandActivity;
236
+ };
237
+ //#endregion
238
+ //#region src/react/context.d.ts
239
+ /** Branded newtype for the root instance ID */
240
+ type CommandRootId = string & {
241
+ readonly __brand: "CommandRootId";
242
+ };
243
+ interface CommandContextValue {
244
+ readonly machine: CommandMachine;
245
+ readonly state: CommandState;
246
+ readonly isPending: boolean;
247
+ readonly updateSearch: (query: string) => void;
248
+ readonly setOptimisticActiveId: (id: ItemId | null) => void;
249
+ /** O(1) membership check for filtered items — avoids O(n) Array.includes per item */
250
+ readonly filteredIdSet: ReadonlySet<ItemId>;
251
+ readonly rootId: CommandRootId;
252
+ readonly listId: string;
253
+ readonly inputId: string;
254
+ readonly label: string;
255
+ }
256
+ interface CommandGroupContextValue {
257
+ readonly groupId: string;
258
+ readonly headingId: string;
259
+ }
260
+ //#endregion
261
+ //#region src/react/error-boundary.d.ts
262
+ interface CommandErrorBoundaryProps {
263
+ readonly children: ReactNode;
264
+ readonly fallback?: ReactNode | ((error: Error) => ReactNode);
265
+ readonly onError?: (error: Error, errorInfo: ErrorInfo) => void;
266
+ }
267
+ interface CommandErrorBoundaryState {
268
+ readonly error: Error | null;
269
+ }
270
+ declare class CommandErrorBoundary extends Component<CommandErrorBoundaryProps, CommandErrorBoundaryState> {
271
+ state: CommandErrorBoundaryState;
272
+ static getDerivedStateFromError(error: Error): CommandErrorBoundaryState;
273
+ componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
274
+ render(): ReactNode;
275
+ }
276
+ //#endregion
277
+ //#region src/react/hooks/use-command.d.ts
278
+ interface UseCommandReturn {
279
+ readonly state: CommandState;
280
+ readonly isPending: boolean;
281
+ readonly updateSearch: (query: string) => void;
282
+ readonly setOptimisticActiveId: (id: ItemId | null) => void;
283
+ /** O(1) membership set for filtered items — used by Item component */
284
+ readonly filteredIdSet: ReadonlySet<ItemId>;
285
+ readonly id: CommandRootId;
286
+ }
287
+ declare function useCommand(machine: CommandMachine): UseCommandReturn;
288
+ //#endregion
289
+ //#region src/react/hooks/use-command-state.d.ts
290
+ /** Get the full command state with proper subscription */
291
+ declare function useCommandState(): CommandState;
292
+ /** Get a selected slice of command state — only re-renders when selected value changes */
293
+ declare function useCommandState<T>(selector: (state: CommandState) => T): T;
294
+ //#endregion
295
+ //#region src/react/hooks/use-devtools.d.ts
296
+ /**
297
+ * Exposes command palette internals to browser devtools.
298
+ * Only active in development — completely tree-shaken in production builds.
299
+ *
300
+ * @example
301
+ * ```tsx
302
+ * function MyPalette() {
303
+ * useCommandDevtools('main');
304
+ * return <Command>...</Command>;
305
+ * }
306
+ * ```
307
+ */
308
+ declare function useCommandDevtools(label?: string): void;
309
+ //#endregion
310
+ //#region src/react/hooks/use-keyboard.d.ts
311
+ /** Create a keydown handler for command palette keyboard navigation */
312
+ declare function createKeydownHandler(machine: CommandMachine, getState: () => CommandState): (event: KeyboardEvent) => void;
313
+ //#endregion
314
+ //#region src/react/hooks/use-register.d.ts
315
+ /** Options for item registration */
316
+ interface RegisterItemOptions {
317
+ readonly keywords?: readonly string[];
318
+ readonly groupId?: string;
319
+ readonly shortcut?: string;
320
+ readonly disabled?: boolean;
321
+ readonly onSelect?: () => void;
322
+ readonly data?: Readonly<Record<string, unknown>>;
323
+ readonly forceId?: string;
324
+ }
325
+ /** Register a command item with the machine — auto-deregisters on unmount */
326
+ declare function useRegisterItem(value: string, options?: RegisterItemOptions): ItemId;
327
+ /** Options for group registration */
328
+ interface RegisterGroupOptions {
329
+ readonly priority?: number;
330
+ readonly forceId?: string;
331
+ }
332
+ /** Register a command group with the machine — auto-deregisters on unmount */
333
+ declare function useRegisterGroup(heading?: string, options?: RegisterGroupOptions): GroupId;
334
+ //#endregion
335
+ //#region src/react/hooks/use-virtualizer.d.ts
336
+ interface VirtualizerOptions {
337
+ readonly count: number;
338
+ readonly estimateSize: number;
339
+ readonly overscan?: number;
340
+ readonly scrollElement: HTMLElement | null;
341
+ readonly enabled?: boolean;
342
+ }
343
+ interface VirtualItem {
344
+ readonly index: number;
345
+ readonly start: number;
346
+ readonly size: number;
347
+ readonly key: number;
348
+ }
349
+ interface VirtualizerReturn {
350
+ readonly virtualItems: readonly VirtualItem[];
351
+ readonly totalSize: number;
352
+ readonly scrollToIndex: (index: number) => void;
353
+ readonly measureElement: (element: HTMLElement | null) => void;
354
+ }
355
+ declare function useVirtualizer(options: VirtualizerOptions): VirtualizerReturn;
356
+ //#endregion
357
+ export { type ActivityMode, Command, CommandActivity, type CommandActivityProps, CommandAsyncItems, type CommandAsyncItemsProps, CommandBadge, type CommandBadgeProps, type CommandContextValue, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, CommandErrorBoundary, type CommandErrorBoundaryProps, CommandGroup, type CommandGroupContextValue, type CommandGroupProps, CommandHighlight, type CommandHighlightProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, CommandLoading, type CommandLoadingProps, CommandPage, type CommandPageId, type CommandPageProps, type CommandRootId, type CommandRootProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, type RegisterGroupOptions, type RegisterItemOptions, type UseCommandReturn, type VirtualItem, type VirtualizerOptions, type VirtualizerReturn, createKeydownHandler, useCommand, useCommandDevtools, useCommandState, useRegisterGroup, useRegisterItem, useVirtualizer };
358
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/react/activity.tsx","../../src/react/async-items.tsx","../../src/react/badge.tsx","../../src/react/dialog.tsx","../../src/react/empty.tsx","../../src/react/group.tsx","../../src/react/highlight.tsx","../../src/react/input.tsx","../../src/react/item.tsx","../../src/react/list.tsx","../../src/react/loading.tsx","../../src/react/page.tsx","../../src/react/separator.tsx","../../src/react/shortcut.tsx","../../src/react/command.tsx","../../src/react/context.ts","../../src/react/error-boundary.tsx","../../src/react/hooks/use-command.ts","../../src/react/hooks/use-command-state.ts","../../src/react/hooks/use-devtools.ts","../../src/react/hooks/use-keyboard.ts","../../src/react/hooks/use-register.ts","../../src/react/hooks/use-virtualizer.ts"],"mappings":";;;;;KAaY,YAAA;;UAGK,oBAAA;EAHL;EAAA,SAKD,IAAA,EAAM,YAAA;EAAA,SACN,QAAA,EAAU,SAAA;AAAA;AAHrB;;;;;AAAA,iBAuBgB,eAAA,CAAA;EAAkB,IAAA;EAAM;AAAA,GAAY,oBAAA,GAAuB,SAAA;;;UC3B1D,sBAAA;;WAEN,KAAA,EAAO,OAAA,UAAiB,aAAA;EDDvB;EAAA,SCGD,QAAA,GAAW,SAAA;EDHV;EAAA,SCKD,QAAA,GAAW,KAAA,WAAgB,aAAA,OAAkB,SAAA;AAA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