@app-studio/components 0.11.9 → 0.11.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/web.esm.js CHANGED
@@ -11705,27 +11705,29 @@ const pr = (e = "id") => `${e}-${Math.random().toString(36).substring(2, 9)}`, z
11705
11705
  children: e,
11706
11706
  config: o,
11707
11707
  configId: r,
11708
- mode: t
11708
+ mode: t,
11709
+ targetWindow: a
11709
11710
  }) => {
11710
- const a = o || (r ? Tl[r] : null) || wu, { themeMode: l } = Ie(), i = t ?? l ?? a.metadata.defaultAppearance, d = ye(
11711
+ const l = o || (r ? Tl[r] : null) || wu, { themeMode: i } = Ie(), d = t ?? i ?? l.metadata.defaultAppearance, c = ye(
11711
11712
  () => ({
11712
- config: a,
11713
- configId: a.metadata.id,
11713
+ config: l,
11714
+ configId: l.metadata.id,
11714
11715
  isEnabled: !0
11715
11716
  }),
11716
- [a]
11717
+ [l]
11717
11718
  );
11718
- return /* @__PURE__ */ n(jl.Provider, { value: d, children: /* @__PURE__ */ n(
11719
+ return /* @__PURE__ */ n(jl.Provider, { value: c, children: /* @__PURE__ */ n(
11719
11720
  ks,
11720
11721
  {
11721
- theme: a.theme,
11722
- mode: i,
11722
+ theme: l.theme,
11723
+ mode: d,
11724
+ targetWindow: a,
11723
11725
  transparentWrapper: !0,
11724
11726
  children: /* @__PURE__ */ n(
11725
11727
  "div",
11726
11728
  {
11727
- "data-design-system": a.metadata.id,
11728
- "data-appearance": i,
11729
+ "data-design-system": l.metadata.id,
11730
+ "data-appearance": d,
11729
11731
  style: { display: "contents" },
11730
11732
  children: e
11731
11733
  }