@cal.macconnachie/web-components 2.0.4 → 2.1.0
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/index.d.ts +16 -0
- package/dist/index.js +2357 -1993
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -246,6 +246,18 @@ declare class BaseElement extends LitElement {
|
|
|
246
246
|
applyTheme(): void;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
+
export declare class BaseIcon extends BaseElement {
|
|
250
|
+
name: string;
|
|
251
|
+
size: string;
|
|
252
|
+
color: string;
|
|
253
|
+
private svgContent;
|
|
254
|
+
static styles: CSSResult;
|
|
255
|
+
connectedCallback(): void;
|
|
256
|
+
updated(changedProperties: Map<string, any>): void;
|
|
257
|
+
private loadIcon;
|
|
258
|
+
render(): TemplateResult<1>;
|
|
259
|
+
}
|
|
260
|
+
|
|
249
261
|
export declare class BaseInput extends BaseElement {
|
|
250
262
|
value: string;
|
|
251
263
|
label?: string;
|
|
@@ -496,6 +508,8 @@ export declare const registerBaseDateTimePicker: () => void;
|
|
|
496
508
|
|
|
497
509
|
export declare const registerBaseDrawer: () => void;
|
|
498
510
|
|
|
511
|
+
export declare const registerBaseIcon: () => void;
|
|
512
|
+
|
|
499
513
|
export declare const registerBaseInput: () => void;
|
|
500
514
|
|
|
501
515
|
export declare const registerBaseSelect: () => void;
|
|
@@ -551,12 +565,14 @@ export declare class ThemeToggle extends BaseElement {
|
|
|
551
565
|
variant: 'ghost' | 'outline' | 'solid';
|
|
552
566
|
themes: ThemeInput[];
|
|
553
567
|
private currentTheme;
|
|
568
|
+
private animating;
|
|
554
569
|
connectedCallback(): void;
|
|
555
570
|
updated(changedProperties: Map<string, any>): void;
|
|
556
571
|
private syncCurrentTheme;
|
|
557
572
|
private toggleTheme;
|
|
558
573
|
private getSizeClass;
|
|
559
574
|
private getVariantClass;
|
|
575
|
+
private getIconSize;
|
|
560
576
|
render(): TemplateResult<1>;
|
|
561
577
|
static styles: CSSResult;
|
|
562
578
|
}
|