@outmarket-ai/react-sdk 0.2.0 → 0.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -129,6 +129,9 @@ CDN, `https://embed.outmarket.ai`, when the first `<OutmarketProvider>` mounts (
129
129
  - The `environment` you pass to `<OutmarketProvider>` picks the version: `production` (the default)
130
130
  loads the stable version, `qa` the beta and `staging` the alpha.
131
131
  - The components render with your app's React.
132
+ - The stylesheet sets Inter, served from the CDN with the components, as the font of your page's
133
+ `html` and `body`. The components inherit it, so a font you set on one of their ancestors applies
134
+ instead.
132
135
  - You don't import a stylesheet. `@outmarket-ai/react-sdk/styles.css` still exists, empty, so an
133
136
  existing import keeps working; you can remove it. The package's `pdf.worker.min.mjs` is empty too:
134
137
  if you served a copy of it as the PDF worker (`NEXT_PUBLIC_PDF_WORKER_URL`), remove that setting.
@@ -143,6 +146,7 @@ If your page has a Content Security Policy, loading the components from the CDN
143
146
  | --- | --- |
144
147
  | `script-src` | `https://embed.outmarket.ai` |
145
148
  | `style-src` | `https://embed.outmarket.ai` |
149
+ | `font-src` | `https://embed.outmarket.ai` |
146
150
  | `worker-src` | `https://embed.outmarket.ai` and `blob:` (the PDF worker starts from a `blob:` URL) |
147
151
  | `connect-src` | `https://embed.outmarket.ai` and the Outmarket APIs of your `environment` |
148
152
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outmarket-ai/react-sdk",
3
- "version": "0.2.0",
3
+ "version": "0.3.0-alpha.0",
4
4
  "description": "Embed the real Outmarket workflow surface (catalog + single workflow) in any React app.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -47,6 +47,7 @@
47
47
  "react-dom": ">=19"
48
48
  },
49
49
  "devDependencies": {
50
+ "@fontsource-variable/inter": "5.3.0",
50
51
  "@outmarket/eslint-config": "*",
51
52
  "react": "19.3.0",
52
53
  "react-dom": "19.3.0"
@@ -60,5 +61,5 @@
60
61
  "url": "git+https://github.com/Outmarket-AI/outmarket-monorepo.git",
61
62
  "directory": "apps/product-frontend/packages/outmarket-react-sdk"
62
63
  },
63
- "gitHead": "f9fb16678bb3390c42abe6d5be63230bb44c5bab"
64
+ "gitHead": "6a310d7515748ed000f712fec7bfd7ec58c75b7d"
64
65
  }