@seamapi/react 2.15.0 → 2.16.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.
package/README.md CHANGED
@@ -87,7 +87,7 @@ export function App() {
87
87
  <seam-device-table publishable-key="your_publishable_key"></seam-device-table>
88
88
  <script
89
89
  type="module"
90
- src="https://react.seam.co/v/2.15.0/dist/elements.js"
90
+ src="https://react.seam.co/v/2.16.0/dist/elements.js"
91
91
  ></script>
92
92
  </body>
93
93
  ```
@@ -215,7 +215,7 @@ or place the following in the `<head>` tag:
215
215
  ```html
216
216
  <link
217
217
  rel="stylesheet"
218
- href="https://react.seam.co/v/2.15.0/dist/index.min.css"
218
+ href="https://react.seam.co/v/2.16.0/dist/index.min.css"
219
219
  />
220
220
  ```
221
221
 
package/dist/elements.js CHANGED
@@ -8106,7 +8106,7 @@ const oE = "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;60
8106
8106
  const n = globalThis.document.createElement("link");
8107
8107
  n.rel = "stylesheet", n.type = "text/css", n.href = oE, globalThis.document.head.appendChild(n);
8108
8108
  }, [t]);
8109
- }, VO = "2.15.0", yM = "https://react.seam.co", gM = ({
8109
+ }, VO = "2.16.0", yM = "https://react.seam.co", gM = ({
8110
8110
  disabled: t = !1,
8111
8111
  unminified: e = !1
8112
8112
  }) => {
@@ -27467,14 +27467,15 @@ function MD({ children: t }) {
27467
27467
  function Ws({
27468
27468
  label: t,
27469
27469
  tooltipContent: e,
27470
- children: n
27470
+ className: n,
27471
+ children: r
27471
27472
  }) {
27472
- return /* @__PURE__ */ h.jsxs("div", { className: "seam-detail-section", children: [
27473
+ return /* @__PURE__ */ h.jsxs("div", { className: xe("seam-detail-section", n), children: [
27473
27474
  /* @__PURE__ */ h.jsxs("div", { className: "seam-detail-label-wrap", children: [
27474
27475
  t != null && /* @__PURE__ */ h.jsx("p", { className: "seam-detail-label", children: t }),
27475
27476
  e != null && /* @__PURE__ */ h.jsx(MD, { children: e })
27476
27477
  ] }),
27477
- /* @__PURE__ */ h.jsx("div", { className: "seam-detail-group", children: n })
27478
+ /* @__PURE__ */ h.jsx("div", { className: "seam-detail-group", children: r })
27478
27479
  ] });
27479
27480
  }
27480
27481
  function ew({
@@ -27484,20 +27485,27 @@ function ew({
27484
27485
  }) {
27485
27486
  var i;
27486
27487
  const { connectedAccount: r } = _D(t.connected_account_id);
27487
- return /* @__PURE__ */ h.jsxs(Ws, { label: Wh.deviceInfo, children: [
27488
- /* @__PURE__ */ h.jsx(Jn, { label: Wh.manufacturer, children: /* @__PURE__ */ h.jsxs("div", { className: "seam-detail-row-hstack", children: [
27489
- t.properties.model.manufacturer_display_name,
27490
- t.properties.manufacturer === "ecobee" && /* @__PURE__ */ h.jsx(CD, {})
27491
- ] }) }),
27492
- !e && /* @__PURE__ */ h.jsx(
27493
- Jn,
27494
- {
27495
- label: Wh.linkedAccount,
27496
- sublabel: ((i = r == null ? void 0 : r.user_identifier) == null ? void 0 : i.email) ?? t.connected_account_id
27497
- }
27498
- ),
27499
- !n && /* @__PURE__ */ h.jsx(Jn, { label: Wh.deviceId, sublabel: t.device_id })
27500
- ] });
27488
+ return /* @__PURE__ */ h.jsxs(
27489
+ Ws,
27490
+ {
27491
+ label: Wh.deviceInfo,
27492
+ className: "seam-device-details-device-info",
27493
+ children: [
27494
+ /* @__PURE__ */ h.jsx(Jn, { label: Wh.manufacturer, children: /* @__PURE__ */ h.jsxs("div", { className: "seam-detail-row-hstack", children: [
27495
+ t.properties.model.manufacturer_display_name,
27496
+ t.properties.manufacturer === "ecobee" && /* @__PURE__ */ h.jsx(CD, {})
27497
+ ] }) }),
27498
+ !e && /* @__PURE__ */ h.jsx(
27499
+ Jn,
27500
+ {
27501
+ label: Wh.linkedAccount,
27502
+ sublabel: ((i = r == null ? void 0 : r.user_identifier) == null ? void 0 : i.email) ?? t.connected_account_id
27503
+ }
27504
+ ),
27505
+ !n && /* @__PURE__ */ h.jsx(Jn, { label: Wh.deviceId, sublabel: t.device_id })
27506
+ ]
27507
+ }
27508
+ );
27501
27509
  }
27502
27510
  const Wh = {
27503
27511
  deviceInfo: "Device info",