diff --git a/.changeset/nine-shoes-enjoy.md b/.changeset/nine-shoes-enjoy.md new file mode 100644 index 0000000..dc909e6 --- /dev/null +++ b/.changeset/nine-shoes-enjoy.md @@ -0,0 +1,5 @@ +--- +"cmdk-sv": patch +--- + +Fix exports diff --git a/.gitignore b/.gitignore index ac7211b..868ecf3 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ node_modules !.env.example vite.config.js.timestamp-* vite.config.ts.timestamp-* +.vercel \ No newline at end of file diff --git a/src/lib/cmdk/index.ts b/src/lib/cmdk/index.ts index 3071d32..df8e3e7 100644 --- a/src/lib/cmdk/index.ts +++ b/src/lib/cmdk/index.ts @@ -40,8 +40,10 @@ export { Item as CommandItem, List as CommandList, Loading as CommandLoading, - Separator as CommandSeparator, - // Props + Separator as CommandSeparator +}; + +export type { LoadingProps, DialogProps, CommandProps, diff --git a/src/lib/index.ts b/src/lib/index.ts index d6c5951..f2f2d54 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -10,8 +10,9 @@ import { CommandLoading, CommandSeparator } from './cmdk/index.js'; + export * as Command from './cmdk/index.js'; -export * from './types.js'; +export type * from './cmdk/types.js'; export { createState }; export { diff --git a/src/styles/cmdk/vercel.postcss b/src/styles/cmdk/vercel.postcss index 3dd3989..7d90cef 100644 --- a/src/styles/cmdk/vercel.postcss +++ b/src/styles/cmdk/vercel.postcss @@ -105,7 +105,7 @@ margin-left: auto; gap: 8px; - kbd { + & kbd { font-family: var(--font-sans); font-size: 12px; min-width: 20px;