Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add @magicbell/in-app package #329

Merged
merged 14 commits into from
Jul 15, 2024
Merged

feat: add @magicbell/in-app package #329

merged 14 commits into from
Jul 15, 2024

Conversation

smeijer
Copy link
Member

@smeijer smeijer commented Jul 14, 2024

This adds the @magicbell/in-app package, a component library for web browsers, which focuses on the MagicBell v2 API.

Note that these are native web components. Frameworks that do not support web components on the server side need to be instructed to render the components on the client only.

---
import '@magicbell/inapp/css/core.css';
import '@magicbell/inapp/css/theme.css';
import '@magicbell/inapp/components/mb-webpush-button.js';
---

<mb-webpush-button access-token="{USER_AUTH_TOKEN}">subscribe</mb-webpush-button>

@smeijer smeijer self-assigned this Jul 14, 2024
Copy link

vercel bot commented Jul 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 15, 2024 7:11pm

@smeijer smeijer changed the title feat: add @magicbell/inapp package feat: add @magicbell/in-app package Jul 15, 2024
Copy link

pkg-pr-new bot commented Jul 15, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

commit: 9d8a840

@magicbell/cli

npm i https://pkg.pr.new/@magicbell/cli@329

@magicbell/core

npm i https://pkg.pr.new/@magicbell/core@329

@magicbell/embeddable

npm i https://pkg.pr.new/@magicbell/embeddable@329

@magicbell/in-app

npm i https://pkg.pr.new/@magicbell/in-app@329

magicbell

npm i https://pkg.pr.new/magicbell@329

@magicbell/magicbell-react

npm i https://pkg.pr.new/@magicbell/magicbell-react@329

@magicbell/react-headless

npm i https://pkg.pr.new/@magicbell/react-headless@329

@magicbell/user-client

npm i https://pkg.pr.new/@magicbell/user-client@329

@magicbell/webpush

npm i https://pkg.pr.new/@magicbell/webpush@329

@smeijer smeijer merged commit d99ef65 into main Jul 15, 2024
8 checks passed
@smeijer smeijer deleted the feature/webcomponents branch July 15, 2024 19:21
@MagicBella MagicBella mentioned this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant