@supersoniks/concorde 1.0.1 → 1.0.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": "@supersoniks/concorde",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -21,6 +21,7 @@
21
21
  "serve": "tsc && vite preview"
22
22
  },
23
23
  "dependencies": {
24
+ "@lit-labs/motion": "^1.0.1",
24
25
  "lit": "^2.0.2",
25
26
  "publisherproxy": "^2.5.3"
26
27
  },
@@ -0,0 +1,14 @@
1
+ import { LitElement } from "lit";
2
+ declare const SonicEventIllustration_base: (new (...args: any[]) => import("../../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
+ export declare class SonicEventIllustration extends SonicEventIllustration_base {
4
+ static styles: import("lit").CSSResult;
5
+ illustration: string;
6
+ loadingMode: string;
7
+ render(): import("lit-html").TemplateResult<1>;
8
+ }
9
+ declare global {
10
+ interface HTMLElementTagNameMap {
11
+ "sonic-event-illustation": SonicEventIllustration;
12
+ }
13
+ }
14
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from "lit";
2
- declare const SSKSEventPrice_base: (new (...args: any[]) => import("../../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
- export declare class SSKSEventPrice extends SSKSEventPrice_base {
2
+ declare const SonicEventPrice_base: (new (...args: any[]) => import("../../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
+ export declare class SonicEventPrice extends SonicEventPrice_base {
4
4
  price_name: string;
5
5
  price_amount: string;
6
6
  render(): import("lit-html").TemplateResult<1>;
@@ -1,7 +1,7 @@
1
1
  import { LitElement } from "lit";
2
- import './ssks-event-price';
3
- declare const SSKSEventPrices_base: (new (...args: any[]) => import("../../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
4
- export declare class SSKSEventPrices extends SSKSEventPrices_base {
2
+ import './sonic-event-price';
3
+ declare const SonicEventPrices_base: (new (...args: any[]) => import("../../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
4
+ export declare class SonicEventPrices extends SonicEventPrices_base {
5
5
  prices: never[];
6
6
  render(): import("lit-html").TemplateResult<1>;
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from "lit";
2
- declare const SSKSEventTitle_base: (new (...args: any[]) => import("../../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
- export declare class SSKSEventTitle extends SSKSEventTitle_base {
2
+ declare const SonicEventTitle_base: (new (...args: any[]) => import("../../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
+ export declare class SonicEventTitle extends SonicEventTitle_base {
4
4
  title: string;
5
5
  render(): import("lit-html").TemplateResult<1>;
6
6
  }
@@ -1,8 +1,8 @@
1
1
  import { LitElement } from "lit";
2
2
  import './event-card/event-card';
3
3
  import './event-title/event-title';
4
- declare const SSKSEvent_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
5
- export declare class SSKSEvent extends SSKSEvent_base {
4
+ declare const SonicEvent_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
5
+ export declare class SonicEvent extends SonicEvent_base {
6
6
  render(): import("lit-html").TemplateResult<1>;
7
7
  }
8
8
  export {};
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from "lit";
2
- declare const SSKSFetch_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
- export declare class SSKSFetch extends SSKSFetch_base {
2
+ declare const SonicFetch_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
+ export declare class SonicFetch extends SonicFetch_base {
4
4
  render(): import("lit-html").TemplateResult<1>;
5
5
  }
6
6
  export {};
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from "lit";
2
- declare const SSKSList_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
- export declare class SSKSList extends SSKSList_base {
2
+ declare const SonicList_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
+ export declare class SonicList extends SonicList_base {
4
4
  template: HTMLTemplateElement | null;
5
5
  connectedCallback(): void;
6
6
  render(): import("lit-html").TemplateResult<1>;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from "lit";
2
- declare const SSKSSubscriber_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
- export declare class SSKSSubscriber extends SSKSSubscriber_base {
2
+ declare const SonicSubscriber_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
+ export declare class SonicSubscriber extends SonicSubscriber_base {
4
4
  render(): import("lit-html").TemplateResult<1>;
5
5
  }
6
6
  export {};
@@ -1,13 +1,13 @@
1
1
  import { LitElement } from "lit";
2
- declare const SsksTaxonomy_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
- export declare class SsksTaxonomy extends SsksTaxonomy_base {
2
+ declare const SonicTaxonomy_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
+ export declare class SonicTaxonomy extends SonicTaxonomy_base {
4
4
  taxonomy: never[];
5
5
  separator: string;
6
6
  render(): import("lit-html").TemplateResult<1> | undefined;
7
7
  }
8
8
  declare global {
9
9
  interface HTMLElementTagNameMap {
10
- "ssks-taxonomy": SsksTaxonomy;
10
+ "sonic-taxonomy": SonicTaxonomy;
11
11
  }
12
12
  }
13
13
  export {};
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from "lit";
2
- declare const SsksTextFormatted_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
- export declare class SsksTextFormatted extends SsksTextFormatted_base {
2
+ declare const SonicTextFormatted_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
+ export declare class SonicTextFormatted extends SonicTextFormatted_base {
4
4
  static styles: import("lit").CSSResult[];
5
5
  html: string;
6
6
  leading: string;
@@ -8,7 +8,7 @@ export declare class SsksTextFormatted extends SsksTextFormatted_base {
8
8
  }
9
9
  declare global {
10
10
  interface HTMLElementTagNameMap {
11
- "ssks-text-formatted": SsksTextFormatted;
11
+ "sonic-text-formatted": SonicTextFormatted;
12
12
  }
13
13
  }
14
14
  export {};
@@ -1,8 +1,12 @@
1
1
  import { LitElement } from "lit";
2
- declare const SSKSText_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
- export declare class SSKSText extends SSKSText_base {
2
+ declare const SonicText_base: (new (...args: any[]) => import("../../mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
+ export declare class SonicText extends SonicText_base {
4
4
  key: string;
5
- text: string;
6
5
  render(): import("lit-html").TemplateResult<1>;
7
6
  }
7
+ declare global {
8
+ interface HTMLElementTagNameMap {
9
+ "sonic-text": SonicText;
10
+ }
11
+ }
8
12
  export {};
@@ -1,19 +1,33 @@
1
1
  import { LitElement } from "lit";
2
+ declare type ToastStatus = "success" | "error" | "info";
3
+ declare type Toast = {
4
+ id: number;
5
+ text: string;
6
+ title?: string;
7
+ status?: ToastStatus;
8
+ preserve?: boolean;
9
+ };
2
10
  declare const SonicToast_base: (new (...args: any[]) => import("../../../core/mixins/Subscriber").SubscriberInterface) & typeof LitElement;
3
11
  export declare class SonicToast extends SonicToast_base {
4
12
  static styles: import("lit").CSSResult[];
5
- static show(conf: {
6
- text: string;
7
- status?: string;
8
- toastTitle?: string;
9
- styled?: boolean;
10
- }): void;
11
- status: string;
12
- toastTitle: string;
13
- text: string;
13
+ toasts: Toast[];
14
14
  className: string;
15
- btnClass: string;
15
+ styled: boolean;
16
16
  render(): import("lit-html").TemplateResult<1>;
17
- _remove(): void;
17
+ static add(conf: {
18
+ text: string;
19
+ status?: ToastStatus;
20
+ title?: string;
21
+ styled?: boolean;
22
+ preserve?: boolean;
23
+ }): {
24
+ id: number;
25
+ text: string;
26
+ title: string | undefined;
27
+ status: ToastStatus | undefined;
28
+ preserve: boolean | undefined;
29
+ };
30
+ removeItem(item: Toast): void;
31
+ autoRemoveItem(item: Toast): void;
18
32
  }
19
33
  export {};
@@ -0,0 +1,12 @@
1
+ import { LitElement } from "lit";
2
+ import "../components/illustration/illustration";
3
+ declare class SonicGiftCard extends LitElement {
4
+ props: any;
5
+ render(): import("lit-html").TemplateResult<1>;
6
+ }
7
+ declare global {
8
+ interface HTMLElementTagNameMap {
9
+ "sonic-giftcard": SonicGiftCard;
10
+ }
11
+ }
12
+ export {};
@@ -0,0 +1,15 @@
1
+ import { LitElement } from "lit";
2
+ import "./giftcard";
3
+ declare class SonicGiftCards extends LitElement {
4
+ _fetchGiftCardsData(url: string): void;
5
+ connectedCallback(): void;
6
+ giftCards: any;
7
+ url: string;
8
+ render(): import("lit-html").TemplateResult<1> | null;
9
+ }
10
+ declare global {
11
+ interface HTMLElementTagNameMap {
12
+ "sonic-giftcards": SonicGiftCards;
13
+ }
14
+ }
15
+ export {};
@@ -0,0 +1,14 @@
1
+ import { LitElement } from "lit";
2
+ declare class SonicIllustration extends LitElement {
3
+ static styles: import("lit").CSSResult;
4
+ src: string;
5
+ loadingMode: string;
6
+ render(): import("lit-html").TemplateResult<1>;
7
+ protected createRenderRoot(): this;
8
+ }
9
+ declare global {
10
+ interface HTMLElementTagNameMap {
11
+ "sonic-illustration": SonicIllustration;
12
+ }
13
+ }
14
+ export {};
@@ -0,0 +1 @@
1
+ export declare const cssTextFormatted: import("lit").CSSResult;