@seamapi/react 1.10.0 → 1.11.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
@@ -72,7 +72,7 @@ export const App = () => {
72
72
  <seam-device-table publishable-key="your_publishable_key"></seam-device-table>
73
73
  <script
74
74
  type="module"
75
- src="https://react.seam.co/v/1.7.0/dist/elements.js"
75
+ src="https://react.seam.co/v/1.8.0/dist/elements.js"
76
76
  ></script>
77
77
  </body>
78
78
  ```
@@ -102,7 +102,10 @@ or place the following in the `<head>` tag:
102
102
  > You must match the version string below with the exact version of this package used by your application.
103
103
 
104
104
  ```html
105
- <link rel="stylesheet" href="https://react.seam.co/v/1.7.0/index.min.css" />
105
+ <link
106
+ rel="stylesheet"
107
+ href="https://react.seam.co/v/1.8.0/dist/index.min.css"
108
+ />
106
109
  ```
107
110
 
108
111
  #### Customizing Styles
package/dist/elements.js CHANGED
@@ -8077,11 +8077,11 @@ const mm = "https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;60
8077
8077
  const n = globalThis.document.createElement("link");
8078
8078
  n.rel = "stylesheet", n.type = "text/css", n.href = mm, globalThis.document.head.appendChild(n);
8079
8079
  }, [t]);
8080
- }, NE = "1.10.0", HE = "https://react.seam.co", DE = ({
8080
+ }, NE = "1.11.0", HE = "https://react.seam.co", DE = ({
8081
8081
  disabled: t = !1,
8082
8082
  unminified: e = !1
8083
8083
  }) => {
8084
- const r = `${HE}/v/${NE}/index.${`${e ? "" : "min."}css`}`;
8084
+ const r = `${HE}/v/dist/${NE}/index.${`${e ? "" : "min."}css`}`;
8085
8085
  k.useEffect(() => {
8086
8086
  if (t || globalThis.document == null || globalThis.document.querySelector(`link[href="${r}"]`) != null)
8087
8087
  return;
@@ -25036,7 +25036,7 @@ const kT = "seam-supported-device-table", NT = {
25036
25036
  DeviceDetails: oT,
25037
25037
  DeviceTable: AT,
25038
25038
  SupportedDeviceTable: HT
25039
- }, Symbol.toStringTag, { value: "Module" })), Xy = DT;
25039
+ }, Symbol.toStringTag, { value: "Module" })), Xy = DT, VT = [];
25040
25040
  for (const t of Object.keys(Xy)) {
25041
25041
  const e = Xy[t];
25042
25042
  if (e == null)
@@ -25046,6 +25046,9 @@ for (const t of Object.keys(Xy)) {
25046
25046
  throw new Error(`Missing element name for ${t}`);
25047
25047
  if (r == null)
25048
25048
  throw new Error(`Missing element Component for ${t}`);
25049
- QE({ name: n, Component: r, props: i });
25049
+ VT.push(n), QE({ name: n, Component: r, props: i });
25050
25050
  }
25051
+ export {
25052
+ VT as default
25053
+ };
25051
25054
  //# sourceMappingURL=elements.js.map