@squeletteapp/widget 0.3.3 → 0.3.5

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.
@@ -8,8 +8,9 @@ type Ticket = {
8
8
  };
9
9
  export declare const showModal: import("@preact/signals").Signal<boolean>;
10
10
  export declare const modalTicket: import("@preact/signals").Signal<Ticket | null>;
11
- export declare function BannerModal({ workspaceSlug, theme, }: {
11
+ export declare function BannerModal({ workspaceSlug, theme, base, }: {
12
12
  workspaceSlug: string;
13
13
  theme: "light" | "dark";
14
+ base: string;
14
15
  }): import("preact").VNode<any> | null;
15
16
  export {};
@@ -1,8 +1,9 @@
1
1
  type SqueletteBannerWidgetProps = {
2
2
  workspaceSlug: string;
3
3
  theme: "light" | "dark";
4
+ base?: string;
4
5
  };
5
- export declare function Banner({ workspaceSlug, theme, }: SqueletteBannerWidgetProps): import("preact").JSX.Element | null;
6
+ export declare function Banner({ workspaceSlug, theme, base, }: SqueletteBannerWidgetProps): import("preact").JSX.Element | null;
6
7
  type MarqueeSpanProps = {
7
8
  children: string;
8
9
  duration?: number;
@@ -4,6 +4,7 @@ type BannerInitPayload = {
4
4
  slug: string;
5
5
  contentTheme?: "light" | "dark";
6
6
  theme?: BannerTheme;
7
+ base?: string;
7
8
  };
8
9
  export type BannerTheme = {
9
10
  bg?: string;
@@ -14,6 +15,6 @@ export type BannerTheme = {
14
15
  buttonHover?: string | number;
15
16
  };
16
17
  export declare const SqueletteBanner: {
17
- init({ slug, theme, contentTheme, }: BannerInitPayload): SqueletteBannerElement | null;
18
+ init({ slug, theme, contentTheme, base, }: BannerInitPayload): SqueletteBannerElement | null;
18
19
  setTheme(theme: BannerTheme): void;
19
20
  };
package/dist/widget.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as a, g as r, S as s, c as d, e as i, b as l, d as g, a as n, f as c, i as W, r as o } from "./index-p5opKtwa.js";
1
+ import { h as a, g as r, S as s, c as d, e as i, b as l, d as g, a as n, f as c, i as W, r as o } from "./index-Bk1mDGB8.js";
2
2
  export {
3
3
  a as SqueletteBanner,
4
4
  r as SqueletteBannerElement,