@warp-ds/elements 1.0.0-alpha.5 → 1.0.0-alpha.6

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.
@@ -0,0 +1,44 @@
1
+ export class WarpToast extends LitElement {
2
+ static styles: import("lit").CSSResult[];
3
+ static properties: {
4
+ id: {
5
+ type: StringConstructor;
6
+ attribute: boolean;
7
+ reflect: boolean;
8
+ };
9
+ type: {
10
+ type: StringConstructor;
11
+ attribute: boolean;
12
+ reflect: boolean;
13
+ };
14
+ text: {
15
+ type: StringConstructor;
16
+ attribute: boolean;
17
+ reflect: boolean;
18
+ };
19
+ canclose: {
20
+ type: BooleanConstructor;
21
+ attribute: boolean;
22
+ reflect: boolean;
23
+ };
24
+ };
25
+ type: string;
26
+ text: string;
27
+ canclose: boolean;
28
+ updated(): void;
29
+ _expanded: boolean;
30
+ get _primaryClasses(): import(".pnpm/lit-html@2.6.1/node_modules/lit-html/directive").DirectiveResult<typeof import(".pnpm/lit-html@2.6.1/node_modules/lit-html/directives/class-map").ClassMapDirective>;
31
+ get _iconClasses(): import(".pnpm/lit-html@2.6.1/node_modules/lit-html/directive").DirectiveResult<typeof import(".pnpm/lit-html@2.6.1/node_modules/lit-html/directives/class-map").ClassMapDirective>;
32
+ get _wrapper(): HTMLElement;
33
+ get _success(): boolean;
34
+ get _warning(): boolean;
35
+ get _error(): boolean;
36
+ get _info(): boolean;
37
+ get _role(): "alert" | "status";
38
+ get _typeLabel(): "Vellykket" | "Feil" | "Varsel" | "Info";
39
+ get _iconMarkup(): import("lit").TemplateResult<1>;
40
+ collapse(): Promise<any>;
41
+ close(): void;
42
+ render(): import("lit").TemplateResult<1>;
43
+ }
44
+ import { LitElement } from ".pnpm/lit-element@3.2.2/node_modules/lit-element/lit-element";
@@ -0,0 +1,21 @@
1
+ export class ExpandTransition extends LitElement {
2
+ static properties: {
3
+ show: {
4
+ type: BooleanConstructor;
5
+ reflect: boolean;
6
+ };
7
+ _removeElement: {
8
+ type: BooleanConstructor;
9
+ state: boolean;
10
+ };
11
+ };
12
+ static styles: import("lit").CSSResult[];
13
+ show: boolean;
14
+ _mounted: boolean;
15
+ _removeElement: boolean;
16
+ willUpdate(): void;
17
+ updated(): void;
18
+ get _wrapper(): ExpandTransition;
19
+ render(): import("lit").TemplateResult<1>;
20
+ }
21
+ import { LitElement } from ".pnpm/lit-element@3.2.2/node_modules/lit-element/lit-element.js";
@@ -0,0 +1,11 @@
1
+ export function kebabCaseAttributes(constructor: any): {
2
+ new (): {
3
+ [x: string]: any;
4
+ };
5
+ [x: string]: any;
6
+ createProperty(name: any, options: any): void;
7
+ };
8
+ export function classes(defn: any): string;
9
+ export function fclasses(definition: any): import(".pnpm/lit-html@2.6.1/node_modules/lit-html/directive").DirectiveResult<typeof import(".pnpm/lit-html@2.6.1/node_modules/lit-html/directives/class-map").ClassMapDirective>;
10
+ export function generateRandomId(): string;
11
+ export const windowExists: boolean;
@@ -0,0 +1,11 @@
1
+ export class UnstyledHeading extends LitElement {
2
+ static properties: {
3
+ level: {
4
+ type: NumberConstructor;
5
+ };
6
+ };
7
+ static styles: import("lit").CSSResult[];
8
+ get _markup(): string;
9
+ render(): import(".pnpm/lit-html@2.6.1/node_modules/lit-html/directive.js").DirectiveResult<typeof import("lit/directives/unsafe-html.js").UnsafeHTMLDirective>;
10
+ }
11
+ import { LitElement } from ".pnpm/lit-element@3.2.2/node_modules/lit-element/lit-element.js";