@perspective-ai/sdk 1.6.1 → 1.6.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perspective-ai/sdk",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Embed SDK for Perspective AI research interviews",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -48,10 +48,10 @@ describe("createLoadingIndicator", () => {
48
48
  expect(pill.style.borderRadius).toBe("9999px");
49
49
  });
50
50
 
51
- it("renders footer hint line", () => {
51
+ it("does not render footer hint line", () => {
52
52
  const el = createLoadingIndicator();
53
53
  const footer = el.children[4] as HTMLElement;
54
- expect(footer).toBeTruthy();
54
+ expect(footer).toBeFalsy();
55
55
  });
56
56
 
57
57
  it("shimmer elements have animation applied", () => {
package/src/loading.ts CHANGED
@@ -199,9 +199,9 @@ export function createLoadingIndicator(options?: LoadingOptions): HTMLElement {
199
199
  container.appendChild(inputArea);
200
200
 
201
201
  // -- Footer: centered hint text --
202
- const footer = shimmer("14rem", "0.75rem");
203
- footer.style.margin = "0.75rem auto 0";
204
- container.appendChild(footer);
202
+ // const footer = shimmer("14rem", "0.75rem");
203
+ // footer.style.margin = "0.75rem auto 0";
204
+ // container.appendChild(footer);
205
205
 
206
206
  return container;
207
207
  }