diff --git a/.changeset/float-teaser-dismissible-react.md b/.changeset/float-teaser-dismissible-react.md deleted file mode 100644 index fb92032..0000000 --- a/.changeset/float-teaser-dismissible-react.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@perspective-ai/sdk-react": patch -"@perspective-ai/sdk": patch ---- - -Forward the `teaser.dismissible` option through `FloatBubble` / `useFloatBubble` to the core SDK. The hook that stabilizes the teaser prop only carried `enabled`, `delay`, and `sound`, so it silently dropped `dismissible` — setting `teaser={{ dismissible: false }}` had no effect when using the React package (the × dismiss button still rendered). It is now forwarded alongside the other teaser fields. - -Also corrects the `EmbedConfig.teaser` JSDoc to list `dismissible` among the fields it controls. The vanilla config, CDN `data-perspective-teaser-dismissible` attribute, and core resolution already handled `dismissible` correctly; only the React wrapper was dropping it. diff --git a/packages/sdk-react/CHANGELOG.md b/packages/sdk-react/CHANGELOG.md index 0b51889..1cf5b13 100644 --- a/packages/sdk-react/CHANGELOG.md +++ b/packages/sdk-react/CHANGELOG.md @@ -1,5 +1,16 @@ # @perspective-ai/sdk-react +## 1.15.1 + +### Patch Changes + +- 86d1ddb: Forward the `teaser.dismissible` option through `FloatBubble` / `useFloatBubble` to the core SDK. The hook that stabilizes the teaser prop only carried `enabled`, `delay`, and `sound`, so it silently dropped `dismissible` — setting `teaser={{ dismissible: false }}` had no effect when using the React package (the × dismiss button still rendered). It is now forwarded alongside the other teaser fields. + + Also corrects the `EmbedConfig.teaser` JSDoc to list `dismissible` among the fields it controls. The vanilla config, CDN `data-perspective-teaser-dismissible` attribute, and core resolution already handled `dismissible` correctly; only the React wrapper was dropping it. + +- Updated dependencies [86d1ddb] + - @perspective-ai/sdk@1.15.1 + ## 1.15.0 ### Minor Changes diff --git a/packages/sdk-react/package.json b/packages/sdk-react/package.json index 07ff7c9..3a58e0f 100644 --- a/packages/sdk-react/package.json +++ b/packages/sdk-react/package.json @@ -1,6 +1,6 @@ { "name": "@perspective-ai/sdk-react", - "version": "1.15.0", + "version": "1.15.1", "description": "React components for Perspective AI embed SDK", "type": "module", "sideEffects": false, diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 96ea1c9..d3ada78 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,13 @@ # @perspective-ai/sdk +## 1.15.1 + +### Patch Changes + +- 86d1ddb: Forward the `teaser.dismissible` option through `FloatBubble` / `useFloatBubble` to the core SDK. The hook that stabilizes the teaser prop only carried `enabled`, `delay`, and `sound`, so it silently dropped `dismissible` — setting `teaser={{ dismissible: false }}` had no effect when using the React package (the × dismiss button still rendered). It is now forwarded alongside the other teaser fields. + + Also corrects the `EmbedConfig.teaser` JSDoc to list `dismissible` among the fields it controls. The vanilla config, CDN `data-perspective-teaser-dismissible` attribute, and core resolution already handled `dismissible` correctly; only the React wrapper was dropping it. + ## 1.15.0 ### Minor Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 7e48847..f8925ae 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@perspective-ai/sdk", - "version": "1.15.0", + "version": "1.15.1", "description": "Embed SDK for Perspective AI research interviews", "type": "module", "sideEffects": [