@cal.macconnachie/web-components 2.6.9 → 2.6.11

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 CHANGED
@@ -203,7 +203,7 @@ export declare class BaseDateTimePicker extends BaseElement {
203
203
 
204
204
  export declare class BaseDrawer extends BaseElement {
205
205
  open: boolean;
206
- size: 'sm' | 'md' | 'lg';
206
+ size: 'sm' | 'md' | 'lg' | 'full';
207
207
  detents: number[];
208
208
  persistOnOverlayClick: boolean;
209
209
  private isClosing;
package/dist/index.js CHANGED
@@ -1012,7 +1012,7 @@ class A extends M {
1012
1012
  async checkExistingSession() {
1013
1013
  try {
1014
1014
  const { user: e } = await this.getApiService().checkSession();
1015
- e && this.handleAuthSuccess(e);
1015
+ e ? this.handleAuthSuccess(e) : this.dispatchEvent(new CustomEvent("no-session"));
1016
1016
  } catch {
1017
1017
  try {
1018
1018
  window.__authRefreshPromise || (window.__authRefreshPromise = (async () => {
@@ -1025,6 +1025,7 @@ class A extends M {
1025
1025
  const { user: t } = await this.getApiService().checkSession();
1026
1026
  t && this.handleAuthSuccess(t);
1027
1027
  } catch {
1028
+ this.dispatchEvent(new CustomEvent("no-session"));
1028
1029
  }
1029
1030
  }
1030
1031
  }
@@ -4965,6 +4966,10 @@ class j extends M {
4965
4966
  max-width: 900px;
4966
4967
  }
4967
4968
 
4969
+ .drawer-content--full {
4970
+ max-width: 100%;
4971
+ }
4972
+
4968
4973
  @keyframes fadeIn {
4969
4974
  from {
4970
4975
  opacity: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cal.macconnachie/web-components",
3
- "version": "2.6.9",
3
+ "version": "2.6.11",
4
4
  "description": "Web components hosted on a CDN",
5
5
  "keywords": [
6
6
  "web-components",