From f32dd0d02b68bf2aa536fe10b06398e8dba1dc2e Mon Sep 17 00:00:00 2001 From: Hugo Korte <63101006+Hugos68@users.noreply.github.com> Date: Wed, 1 Jan 2025 22:14:08 +0100 Subject: [PATCH] Add missing `FloatingArrowProps` export. (#147) --- .changeset/silly-donkeys-suffer.md | 5 ++ packages/floating-ui-svelte/package.json | 1 + .../src/components/floating-arrow.svelte | 54 ++++++++++++++++++- packages/floating-ui-svelte/src/index.ts | 1 + .../test/hooks/use-floating.svelte.ts | 7 +-- .../floating-ui-svelte/test/hooks/use-id.ts | 2 +- .../test/hooks/use-interactions.svelte.ts | 5 +- packages/floating-ui-svelte/tsconfig.json | 6 ++- packages/floating-ui-svelte/vite.config.ts | 3 -- pnpm-lock.yaml | 8 +++ 10 files changed, 76 insertions(+), 16 deletions(-) create mode 100644 .changeset/silly-donkeys-suffer.md diff --git a/.changeset/silly-donkeys-suffer.md b/.changeset/silly-donkeys-suffer.md new file mode 100644 index 00000000..73ee3510 --- /dev/null +++ b/.changeset/silly-donkeys-suffer.md @@ -0,0 +1,5 @@ +--- +"@skeletonlabs/floating-ui-svelte": patch +--- + +Add missing `FloatingArrowProps` export. diff --git a/packages/floating-ui-svelte/package.json b/packages/floating-ui-svelte/package.json index 6270181c..1c6e688a 100644 --- a/packages/floating-ui-svelte/package.json +++ b/packages/floating-ui-svelte/package.json @@ -33,6 +33,7 @@ "@testing-library/jest-dom": "^6.6.3", "@testing-library/svelte": "^5.2.6", "@testing-library/user-event": "^14.5.2", + "csstype": "^3.1.3", "svelte": "^5.16.0", "typescript": "^5.7.2", "vite": "^6.0.6", diff --git a/packages/floating-ui-svelte/src/components/floating-arrow.svelte b/packages/floating-ui-svelte/src/components/floating-arrow.svelte index 0cd2dd28..fda2b9b0 100644 --- a/packages/floating-ui-svelte/src/components/floating-arrow.svelte +++ b/packages/floating-ui-svelte/src/components/floating-arrow.svelte @@ -1,9 +1,61 @@ + +