@cal.macconnachie/web-components 0.0.7 → 0.0.9

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.
@@ -16,6 +16,7 @@ export declare class CalsAuth extends LitElement {
16
16
  oauthUserPoolId: string;
17
17
  oauthClientId: string;
18
18
  oauthRedirectUri: string;
19
+ oauthSpaDomain: string;
19
20
  size: 'sm' | 'md' | 'lg';
20
21
  theme: 'light' | 'dark';
21
22
  private mode;
@@ -89,6 +90,7 @@ export declare class CalsAuth extends LitElement {
89
90
  logout(): Promise<void>;
90
91
  private handleGoogleSignIn;
91
92
  private handleAppleSignIn;
93
+ private handleOAuthSignIn;
92
94
  private handleOtpInput;
93
95
  private handleOtpKeydown;
94
96
  private handleOtpPaste;
@@ -108,4 +110,19 @@ export declare class CalsAuth extends LitElement {
108
110
  static styles: CSSResult;
109
111
  }
110
112
 
113
+ export declare class CalsThemeToggle extends LitElement {
114
+ theme: 'light' | 'dark';
115
+ storageKey: string;
116
+ size: 'sm' | 'md' | 'lg';
117
+ variant: 'ghost' | 'outline' | 'solid';
118
+ private isDark;
119
+ connectedCallback(): void;
120
+ private applyTheme;
121
+ private toggleTheme;
122
+ private getSizeClass;
123
+ private getVariantClass;
124
+ render(): TemplateResult<1>;
125
+ static styles: CSSResult;
126
+ }
127
+
111
128
  export { }