@charisol/plexo-sdk 2.0.10 → 2.0.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.
@@ -1,6 +1,6 @@
1
1
  import { a as e, c as t, d as n, f as r, i, l as a, o, p as s, r as c, s as l, t as u, u as d } from "./schemas-Bq5o5MfF.js";
2
2
  import { a as f, n as p, o as m, s as h, t as g } from "./colorUtils-BaVkGjFC.js";
3
- import { C as _, F as v, I as y, M as b, N as x, O as S, d as C, f as w, i as ee, l as T, m as te, n as E, o as D, p as O, r as ne, t as re, u as ie, x as ae } from "./lint-R02q3_M0.js";
3
+ import { C as _, F as v, I as y, M as b, N as x, O as S, d as C, f as w, i as ee, l as T, m as te, n as E, o as D, p as O, r as ne, t as re, u as ie, x as ae } from "./lint-BWdiaRwp.js";
4
4
  //#region src/v2/utils/id.ts
5
5
  var oe = 0;
6
6
  function k(e = "node") {
@@ -4133,7 +4133,7 @@ var se = [
4133
4133
  {
4134
4134
  name: "Container",
4135
4135
  variant: "default",
4136
- props: { maxWidth: "1280px" },
4136
+ props: { maxWidth: "var(--semantic-width-container)" },
4137
4137
  nodes: [{
4138
4138
  tag: "div",
4139
4139
  role: "root",
@@ -20,7 +20,9 @@ export interface StrataSync {
20
20
  busy: string | null;
21
21
  error: string | null;
22
22
  notice: string | null;
23
- connect(): Promise<void>;
23
+ connect(options?: {
24
+ switchAccount?: boolean;
25
+ }): Promise<void>;
24
26
  disconnect(): Promise<void>;
25
27
  loadProjects(): Promise<void>;
26
28
  link(project: StrataProjectSummary): Promise<void>;
@@ -13,10 +13,4 @@ export interface DesignSystemIssue {
13
13
  fixable: boolean;
14
14
  }
15
15
  export declare function lintDesignSystem(ds: DesignSystem): DesignSystemIssue[];
16
- /**
17
- * Fixes what can be fixed without asking: drops units from tokens that point at other tokens, drops duplicate keys (the
18
- * first wins), gives brand tokens real values instead of references, defines the heading/body font tokens that semantic
19
- * font tokens point at, and renames tokens older design systems got wrong. Returns the same object when nothing needed
20
- * fixing, so it is safe to run on every load.
21
- */
22
16
  export declare function repairDesignSystem(ds: DesignSystem): DesignSystem;
@@ -43,8 +43,13 @@ export interface StrataPushResult {
43
43
  }
44
44
  export interface StrataAdapter {
45
45
  status(): Promise<StrataStatus>;
46
- /** Runs the sign-in (a popup that is silent when the person is already signed in to Charisol) and resolves once done. */
47
- connect(): Promise<StrataStatus>;
46
+ /**
47
+ * Connects Strata. By default it uses the person's own account without asking them to sign in (the host decides how); with
48
+ * `switchAccount` it asks which Strata account to use instead. Resolves once done.
49
+ */
50
+ connect(options?: {
51
+ switchAccount?: boolean;
52
+ }): Promise<StrataStatus>;
48
53
  disconnect(): Promise<void>;
49
54
  listProjects(): Promise<StrataProjectSummary[]>;
50
55
  /** `blank` = an empty project; `base` = Strata's starter set (optionally in the given brand colour). */
@@ -1,5 +1,5 @@
1
- import { $ as e, A as t, C as n, Ct as r, Dt as i, E as a, Et as o, N as s, Ot as c, P as l, St as u, Tt as d, _ as f, a as p, at as m, c as h, d as g, et as _, f as v, g as y, gn as b, h as x, i as S, it as C, j as w, kt as T, l as E, m as D, n as O, nt as ee, o as k, on as A, ot as j, p as M, r as N, rt as P, s as F, sn as I, st as L, t as R, tt as z, u as B, v as V, vn as H, wt as U, xn as W, yn as G } from "./v1-D3FlzDvV.js";
2
- import { n as K, t as q } from "./lint-R02q3_M0.js";
1
+ import { $ as e, A as t, C as n, Ct as r, Dt as i, E as a, Et as o, N as s, Ot as c, P as l, St as u, Tt as d, _ as f, a as p, at as m, c as h, d as g, et as _, f as v, g as y, gn as b, h as x, i as S, it as C, j as w, kt as T, l as E, m as D, n as O, nt as ee, o as k, on as A, ot as j, p as M, r as N, rt as P, s as F, sn as I, st as L, t as R, tt as z, u as B, v as V, vn as H, wt as U, xn as W, yn as G } from "./v1-IIzUA4pk.js";
2
+ import { n as K, t as q } from "./lint-BWdiaRwp.js";
3
3
  //#region src/v2/compile/react.ts
4
4
  var J = /^[A-Z][A-Za-z0-9]*$/, Y = (e) => JSON.stringify(e);
5
5
  function X(e) {
package/dist/v2-strata.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./client-fhZP1U3m.js";
1
+ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./client-C4x8S8h9.js";
2
2
  export { l as StrataError, c as applySync, t as baseOf, a as componentFromStrata, s as createStrataClient, i as hasAnything, o as planAutoUpdate, u as planSync, r as projectFromStrata, n as summarize, e as tokenFromStrata };