@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/dist/browser.cjs +1 -4
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.js +1 -4
- package/dist/browser.js.map +1 -1
- package/dist/cdn/perspective.global.js +4 -4
- package/dist/cdn/perspective.global.js.map +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/index.cjs +1 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/loading.test.ts +2 -2
- package/src/loading.ts +3 -3
package/package.json
CHANGED
package/src/loading.test.ts
CHANGED
|
@@ -48,10 +48,10 @@ describe("createLoadingIndicator", () => {
|
|
|
48
48
|
expect(pill.style.borderRadius).toBe("9999px");
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
it("
|
|
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).
|
|
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
|
}
|