chore: version packages#60
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
6a9d777 to
fbf1b3c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@perspective-ai/sdk@1.11.0
Minor Changes
7a592f7: Widget: polished default appearance with a non-breaking, fully overridable
frame.
A bare inline widget (
<div data-perspective-widget>/<Widget />with nocontainer sizing) now renders as a centered, framed card — border, rounded
corners, soft shadow, a comfortable height, and a sensible max-width — so it
looks finished with zero CSS. Previously it was an unstyled, full-bleed iframe
that looked awkward on wide pages.
Backward compatible: when the host has sized the container (a height,
flex,height: 100%, etc.), the widget keeps filling it edge to edge with no framing,exactly as before.
New
frameconfig object (also a<Widget frame={…} />prop) controls theinline widget's layout and appearance:
layout: "card" | "fill"— force a mode regardless of detection ("fill"restores the full-width behaviour; omit to auto-detect).
maxWidth,minHeight,radius,border,shadow,background— eachmaps to a
--perspective-widget-*CSS custom property the card reads, so thesame knob is reachable from the
frameobject, a stylesheet, or inlinestyle. Because the SDK only reads these vars, an override wins at anyspecificity and isn't clobbered by global resets.
Script-tag users get the same control declaratively via a packed
data-perspective-frameattribute, mirroringdata-perspective-brand:data-perspective-frame="layout=fill,radius=4px,shadow=none,bg=#fff".@perspective-ai/sdk-react@1.11.0
Minor Changes
7a592f7: Widget: polished default appearance with a non-breaking, fully overridable
frame.
A bare inline widget (
<div data-perspective-widget>/<Widget />with nocontainer sizing) now renders as a centered, framed card — border, rounded
corners, soft shadow, a comfortable height, and a sensible max-width — so it
looks finished with zero CSS. Previously it was an unstyled, full-bleed iframe
that looked awkward on wide pages.
Backward compatible: when the host has sized the container (a height,
flex,height: 100%, etc.), the widget keeps filling it edge to edge with no framing,exactly as before.
New
frameconfig object (also a<Widget frame={…} />prop) controls theinline widget's layout and appearance:
layout: "card" | "fill"— force a mode regardless of detection ("fill"restores the full-width behaviour; omit to auto-detect).
maxWidth,minHeight,radius,border,shadow,background— eachmaps to a
--perspective-widget-*CSS custom property the card reads, so thesame knob is reachable from the
frameobject, a stylesheet, or inlinestyle. Because the SDK only reads these vars, an override wins at anyspecificity and isn't clobbered by global resets.
Script-tag users get the same control declaratively via a packed
data-perspective-frameattribute, mirroringdata-perspective-brand:data-perspective-frame="layout=fill,radius=4px,shadow=none,bg=#fff".Patch Changes