From 604843db6d549f249ca6c82395b358971b80047f Mon Sep 17 00:00:00 2001 From: Hunter Johnston Date: Wed, 25 Oct 2023 09:56:52 -0400 Subject: [PATCH 1/3] update types --- src/lib/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { From 91a14bf8d59c4a0e06bc813d54b08439b04ed6da Mon Sep 17 00:00:00 2001 From: Hunter Johnston Date: Wed, 25 Oct 2023 10:01:30 -0400 Subject: [PATCH 2/3] export types --- .gitignore | 1 + src/lib/cmdk/index.ts | 6 ++++-- src/styles/cmdk/vercel.postcss | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) 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/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; From d116d18215872689e43dab4253c61ffa10da61aa Mon Sep 17 00:00:00 2001 From: Hunter Johnston <64506580+huntabyte@users.noreply.github.com> Date: Wed, 25 Oct 2023 10:02:45 -0400 Subject: [PATCH 3/3] add changeset --- .changeset/nine-shoes-enjoy.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/nine-shoes-enjoy.md 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