@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.
Files changed (37) hide show
  1. package/README.md +13 -5
  2. package/dist/ecosystem.js +10 -11
  3. package/dist/ecosystem.js.map +1 -1
  4. package/dist/elements.js +8547 -8365
  5. package/dist/elements.js.map +1 -1
  6. package/dist/index.css +121 -23
  7. package/dist/index.css.map +1 -1
  8. package/dist/index.min.css +1 -1
  9. package/dist/index.min.css.map +1 -1
  10. package/lib/seam/components/SupportedDevices/DeviceModelRow.js +33 -31
  11. package/lib/seam/components/SupportedDevices/DeviceModelRow.js.map +1 -1
  12. package/lib/seam/components/SupportedDevices/ManufacturerSection.js +2 -7
  13. package/lib/seam/components/SupportedDevices/ManufacturerSection.js.map +1 -1
  14. package/lib/seam/components/SupportedDevices/RequirementIcon.d.ts +5 -0
  15. package/lib/seam/components/SupportedDevices/RequirementIcon.js +6 -0
  16. package/lib/seam/components/SupportedDevices/RequirementIcon.js.map +1 -0
  17. package/lib/seam/components/SupportedDevices/SupportedDevices.js +14 -5
  18. package/lib/seam/components/SupportedDevices/SupportedDevices.js.map +1 -1
  19. package/lib/seam/components/SupportedDevices/device-models.d.ts +6 -1
  20. package/lib/seam/components/SupportedDevices/device-models.js +70 -2
  21. package/lib/seam/components/SupportedDevices/device-models.js.map +1 -1
  22. package/lib/seam/ecosystem/types.d.ts +9 -0
  23. package/lib/seam/ecosystem/use-ecosystem-provider-requirements.d.ts +4 -0
  24. package/lib/seam/ecosystem/use-ecosystem-provider-requirements.js +49 -0
  25. package/lib/seam/ecosystem/use-ecosystem-provider-requirements.js.map +1 -0
  26. package/lib/version.d.ts +1 -1
  27. package/lib/version.js +1 -1
  28. package/package.json +1 -1
  29. package/src/lib/seam/components/SupportedDevices/DeviceModelRow.tsx +120 -65
  30. package/src/lib/seam/components/SupportedDevices/ManufacturerSection.tsx +1 -25
  31. package/src/lib/seam/components/SupportedDevices/RequirementIcon.tsx +39 -0
  32. package/src/lib/seam/components/SupportedDevices/SupportedDevices.tsx +36 -3
  33. package/src/lib/seam/components/SupportedDevices/device-models.ts +109 -4
  34. package/src/lib/seam/ecosystem/types.ts +11 -0
  35. package/src/lib/seam/ecosystem/use-ecosystem-provider-requirements.ts +62 -0
  36. package/src/lib/version.ts +1 -1
  37. 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.1/dist/elements.js"
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.1/dist/ecosystem.js"
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
- beta capabilities are labelled, and conditional requirements can be expanded.
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.1/dist/index.min.css"
360
+ href="https://react.seam.co/v/5.2.3/dist/index.min.css"
353
361
  />
354
362
  ```
355
363