@seamapi/react 5.2.1 → 5.2.3
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.
- package/README.md +13 -5
- package/dist/ecosystem.js +10 -11
- package/dist/ecosystem.js.map +1 -1
- package/dist/elements.js +8547 -8365
- package/dist/elements.js.map +1 -1
- package/dist/index.css +121 -23
- package/dist/index.css.map +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.min.css.map +1 -1
- package/lib/seam/components/SupportedDevices/DeviceModelRow.js +33 -31
- package/lib/seam/components/SupportedDevices/DeviceModelRow.js.map +1 -1
- package/lib/seam/components/SupportedDevices/ManufacturerSection.js +2 -7
- package/lib/seam/components/SupportedDevices/ManufacturerSection.js.map +1 -1
- package/lib/seam/components/SupportedDevices/RequirementIcon.d.ts +5 -0
- package/lib/seam/components/SupportedDevices/RequirementIcon.js +6 -0
- package/lib/seam/components/SupportedDevices/RequirementIcon.js.map +1 -0
- package/lib/seam/components/SupportedDevices/SupportedDevices.js +14 -5
- package/lib/seam/components/SupportedDevices/SupportedDevices.js.map +1 -1
- package/lib/seam/components/SupportedDevices/device-models.d.ts +6 -1
- package/lib/seam/components/SupportedDevices/device-models.js +70 -2
- package/lib/seam/components/SupportedDevices/device-models.js.map +1 -1
- package/lib/seam/ecosystem/types.d.ts +9 -0
- package/lib/seam/ecosystem/use-ecosystem-provider-requirements.d.ts +4 -0
- package/lib/seam/ecosystem/use-ecosystem-provider-requirements.js +49 -0
- package/lib/seam/ecosystem/use-ecosystem-provider-requirements.js.map +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/lib/seam/components/SupportedDevices/DeviceModelRow.tsx +120 -65
- package/src/lib/seam/components/SupportedDevices/ManufacturerSection.tsx +1 -25
- package/src/lib/seam/components/SupportedDevices/RequirementIcon.tsx +39 -0
- package/src/lib/seam/components/SupportedDevices/SupportedDevices.tsx +36 -3
- package/src/lib/seam/components/SupportedDevices/device-models.ts +109 -4
- package/src/lib/seam/ecosystem/types.ts +11 -0
- package/src/lib/seam/ecosystem/use-ecosystem-provider-requirements.ts +62 -0
- package/src/lib/version.ts +1 -1
- package/src/styles/_supported-devices.scss +141 -22
package/README.md
CHANGED
|
@@ -86,7 +86,7 @@ export function App() {
|
|
|
86
86
|
<seam-device-table publishable-key="your_publishable_key"></seam-device-table>
|
|
87
87
|
<script
|
|
88
88
|
type="module"
|
|
89
|
-
src="https://react.seam.co/v/5.2.
|
|
89
|
+
src="https://react.seam.co/v/5.2.3/dist/elements.js"
|
|
90
90
|
></script>
|
|
91
91
|
</body>
|
|
92
92
|
```
|
|
@@ -173,7 +173,7 @@ Load the lightweight `ecosystem.js` bundle, which only contains these two elemen
|
|
|
173
173
|
></seam-supported-devices>
|
|
174
174
|
<script
|
|
175
175
|
type="module"
|
|
176
|
-
src="https://react.seam.co/v/5.2.
|
|
176
|
+
src="https://react.seam.co/v/5.2.3/dist/ecosystem.js"
|
|
177
177
|
></script>
|
|
178
178
|
</body>
|
|
179
179
|
```
|
|
@@ -252,8 +252,11 @@ Query parameters are `manufacturer`, `provider` (Ecosystem slugs, not Seam Conne
|
|
|
252
252
|
provider keys), `device_type`, `capability`, and `theme` (`light`, `dark`, `auto`).
|
|
253
253
|
For example, use `?manufacturer=dormakaba&provider=oracode` to avoid listing other
|
|
254
254
|
Dormakaba systems. Provider scoping applies to both models and capability badges.
|
|
255
|
-
Unavailable, planned, and stale capabilities are not advertised as supported
|
|
256
|
-
|
|
255
|
+
Unavailable, planned, and stale capabilities are not advertised as supported.
|
|
256
|
+
Feature icons distinguish support from features with requirements. Specific
|
|
257
|
+
requirements are grouped with the features they affect, without repeating
|
|
258
|
+
generic compatibility prose. Model numbers and integration providers are in
|
|
259
|
+
expandable model details and remain searchable.
|
|
257
260
|
|
|
258
261
|
Embed the page in an iframe with `referrerpolicy="origin"`. Approved frame
|
|
259
262
|
ancestors are Seam's website/docs, Mintlify previews, and localhost development.
|
|
@@ -261,6 +264,11 @@ Other routes retain their existing frame restrictions. The host should always
|
|
|
261
264
|
provide a device catalog link outside the iframe, so it remains available if
|
|
262
265
|
scripts or the iframe fail to load.
|
|
263
266
|
|
|
267
|
+
The document canvas follows the host theme as well as the component. Manufacturer
|
|
268
|
+
logos use a white tile in both themes: monochrome catalog assets may be black,
|
|
269
|
+
so they are not assumed to be dark-mode variants. The catalog footer appears
|
|
270
|
+
only on standalone visits; embedded docs provide their own fallback link.
|
|
271
|
+
|
|
264
272
|
The iframe posts `{ type: 'seam-supported-devices:resize', height }` to the exact
|
|
265
273
|
origin from `document.referrer` whenever its content height changes. The host
|
|
266
274
|
must check both `event.origin === 'https://react.seam.co'` and
|
|
@@ -349,7 +357,7 @@ or place the following in the `<head>` tag:
|
|
|
349
357
|
```html
|
|
350
358
|
<link
|
|
351
359
|
rel="stylesheet"
|
|
352
|
-
href="https://react.seam.co/v/5.2.
|
|
360
|
+
href="https://react.seam.co/v/5.2.3/dist/index.min.css"
|
|
353
361
|
/>
|
|
354
362
|
```
|
|
355
363
|
|