Skip to content

Commit

Permalink
Merge pull request #5 from huntabyte/fix-exports
Browse files Browse the repository at this point in the history
Fix exports
  • Loading branch information
huntabyte authored Oct 25, 2023
2 parents f88402f + d116d18 commit b2ae963
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/nine-shoes-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cmdk-sv": patch
---

Fix exports
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ node_modules
!.env.example
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
.vercel
6 changes: 4 additions & 2 deletions src/lib/cmdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/styles/cmdk/vercel.postcss
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
margin-left: auto;
gap: 8px;

kbd {
& kbd {
font-family: var(--font-sans);
font-size: 12px;
min-width: 20px;
Expand Down

0 comments on commit b2ae963

Please sign in to comment.