Skip to content

[feat] Add Isolated and NonIsolated components#12753

Merged
sfc-gh-bnisco merged 1 commit intodevelopfrom
bnisco/ccv2-stack-29
Oct 24, 2025
Merged

[feat] Add Isolated and NonIsolated components#12753
sfc-gh-bnisco merged 1 commit intodevelopfrom
bnisco/ccv2-stack-29

Conversation

@sfc-gh-bnisco
Copy link
Copy Markdown
Collaborator

@sfc-gh-bnisco sfc-gh-bnisco commented Oct 10, 2025

Describe your changes

Added isolated and non-isolated component implementations for the CCv2 widget. This includes:

  1. IsolatedComponent.tsx - A component that uses Shadow DOM for content isolation
  2. NonIsolatedComponent.tsx - A component that renders content directly without isolation
  3. styled-components.ts - Shared styled components for both implementations

The isolated component creates a shadow root for content encapsulation, while the non-isolated version renders directly to a div. Both components use shared hooks for handling HTML, CSS, and JavaScript content.

GitHub Issue Link (if applicable)

Testing Plan


Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@snyk-io
Copy link
Copy Markdown
Contributor

snyk-io bot commented Oct 10, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Licenses 0 0 0 0 0 issues
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link
Copy Markdown
Collaborator Author

sfc-gh-bnisco commented Oct 10, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 10, 2025

✅ PR preview is ready!

Name Link
📦 Wheel file https://core-previews.s3-us-west-2.amazonaws.com/pr-12753/streamlit-1.50.0-py3-none-any.whl
📦 @streamlit/component-v2-lib Download from artifacts
🕹️ Preview app pr-12753.streamlit.app (☁️ Deploy here if not accessible)

@sfc-gh-bnisco sfc-gh-bnisco force-pushed the bnisco/ccv2-stack-28 branch 2 times, most recently from 1e6e44c to 16f2a9b Compare October 24, 2025 22:01
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the bnisco/ccv2-stack-29 branch 2 times, most recently from 229751b to 72089c6 Compare October 24, 2025 22:04
@sfc-gh-bnisco sfc-gh-bnisco changed the base branch from bnisco/ccv2-stack-28 to graphite-base/12753 October 24, 2025 22:32
@graphite-app graphite-app bot changed the base branch from graphite-base/12753 to develop October 24, 2025 22:33
Copy link
Copy Markdown
Collaborator Author

sfc-gh-bnisco commented Oct 24, 2025

Merge activity

  • Oct 24, 11:01 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Oct 24, 11:01 PM UTC: @sfc-gh-bnisco merged this pull request with Graphite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:feature PR contains new feature or enhancement implementation impact:internal PR changes only affect internal code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants