@orangelogic/design-system 2.0.0-41YQXP-beta-4 → 2.0.0-41YQXP-beta-5

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.
@@ -208,7 +208,7 @@ class Wi {
208
208
  token: r,
209
209
  useSession: a
210
210
  }) {
211
- this.availableFacets = [], this.facets = [], this.items = [], this.totalCount = 0, this.lastRequest = null, this.sortOrders = {}, this.parameters = null, this.availableExtensions = null, this.userInfo = null, this.loading = !1, this.isLoggedIn = !1, this.#t = null, this.#e = null, this._debouncePromise = null, this._debounceResolve = null, this.host = e, this.availableDocTypes = i, C.defaults.baseURL = s, C.interceptors.request.use((o) => (o.url && ![
211
+ this.availableFacets = [], this.facets = [], this.items = [], this.totalCount = 0, this.lastRequest = null, this.sortOrders = {}, this.parameters = null, this.availableExtensions = null, this.userInfo = null, this.loading = !1, this.isLoggedIn = !0, this.#t = null, this.#e = null, this._debouncePromise = null, this._debounceResolve = null, this.host = e, this.availableDocTypes = i, C.defaults.baseURL = s, C.interceptors.request.use((o) => (o.url && ![
212
212
  K.GET_AVAILABLE_EXTENSIONS,
213
213
  K.GET_ASSET_VERSION_HISTORY,
214
214
  K.GET_CONTENT_V1,
@@ -229,7 +229,7 @@ class Wi {
229
229
  ...o.params,
230
230
  Token: r || void 0,
231
231
  UseSession: a || void 0
232
- }), o)), C.interceptors.response.use((o) => (o.status, o)), this.host.addController?.(this);
232
+ }), o)), C.interceptors.response.use((o) => (o.status === 401 && (this.isLoggedIn = !1, this.host.requestUpdate()), o)), this.host.addController?.(this);
233
233
  }
234
234
  #t;
235
235
  #e;
@@ -3644,7 +3644,7 @@ class br {
3644
3644
  delete r.type, i = r;
3645
3645
  } else
3646
3646
  i = e;
3647
- s === void 0 && (ft = s = (await import("./flow.NfsQcLjS.js")).FlowLayout), this._layout = new s((r) => this._handleLayoutMessage(r), i), this._layout.measureChildren && typeof this._layout.updateItemSizes == "function" && (typeof this._layout.measureChildren == "function" && (this._measureChildOverride = this._layout.measureChildren), this._measureCallback = this._layout.updateItemSizes.bind(this._layout)), this._layout.listenForChildLoadEvents && this._hostElement.addEventListener("load", this._loadListener, !0), this._schedule(this._updateLayout);
3647
+ s === void 0 && (ft = s = (await import("./flow.C4UuwsOx.js")).FlowLayout), this._layout = new s((r) => this._handleLayoutMessage(r), i), this._layout.measureChildren && typeof this._layout.updateItemSizes == "function" && (typeof this._layout.measureChildren == "function" && (this._measureChildOverride = this._layout.measureChildren), this._measureCallback = this._layout.updateItemSizes.bind(this._layout)), this._layout.listenForChildLoadEvents && this._hostElement.addEventListener("load", this._loadListener, !0), this._schedule(this._updateLayout);
3648
3648
  }
3649
3649
  // TODO (graynorton): Rework benchmarking so that it has no API and
3650
3650
  // instead is always on except in production builds
@@ -1,4 +1,4 @@
1
- import { B as z, d as S } from "./dam-view.C_6NxisN.js";
1
+ import { B as z, d as S } from "./dam-view.C46u36tS.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2021 Google LLC
@@ -3,7 +3,7 @@ import "./icon-button.js";
3
3
  import "./space.js";
4
4
  import "../chunks/custom-element.vnXBMQxc.js";
5
5
  import "../chunks/component.styles.CI-v8BZa.js";
6
- import { g as E, C as d } from "../chunks/dam-view.C_6NxisN.js";
6
+ import { g as E, C as d } from "../chunks/dam-view.C46u36tS.js";
7
7
  import "../chunks/i18n.DogXZvuQ.js";
8
8
  import "../chunks/state.Cw55xXlb.js";
9
9
  import "../chunks/query.BBf1UFkC.js";
@@ -1,7 +1,7 @@
1
1
  import { default as a } from "./asset-link-format.js";
2
2
  import { C as t } from "../chunks/color-swatch-group.BWonzcak.js";
3
3
  import { C } from "../chunks/file-on-demand.DuAumwPi.js";
4
- import { C as s } from "../chunks/dam-view.C_6NxisN.js";
4
+ import { C as s } from "../chunks/dam-view.C46u36tS.js";
5
5
  export {
6
6
  a as CxAssetLinkFormat,
7
7
  t as CxColorSwatchGroup,
@@ -115,8 +115,8 @@ import { F as Gu, C as v9, b as F_, M as aY } from "../chunks/folder-select.BXyT
115
115
  import { a as Io, E as Fn, b as Hm, O as Ld, T as zu, G as W7 } from "../chunks/index.Cpamj0jB.js";
116
116
  import { C as YVt } from "../chunks/index.Cpamj0jB.js";
117
117
  import { g as y9, c as ey } from "../chunks/_commonjsHelpers.ByX85dGu.js";
118
- import { c as sY, a as Kh, b as Ol, e as cY, f as lY } from "../chunks/dam-view.C_6NxisN.js";
119
- import { C as JVt } from "../chunks/dam-view.C_6NxisN.js";
118
+ import { c as sY, a as Kh, b as Ol, e as cY, f as lY } from "../chunks/dam-view.C46u36tS.js";
119
+ import { C as JVt } from "../chunks/dam-view.C46u36tS.js";
120
120
  import dY from "./masonry.js";
121
121
  import uY from "./padding-input-group.js";
122
122
  import pY from "./position-picker.js";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.0.0-41YQXP-beta-4",
4
+ "version": "2.0.0-41YQXP-beta-5",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.0.0-41YQXP-beta-4",
4
+ "version": "2.0.0-41YQXP-beta-5",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {