@wacht/jsx 1.0.0-beta.48 → 1.0.0-beta.49

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
@@ -232,7 +232,7 @@ declare interface CreateWorkspaceFormProps {
232
232
  onCreateOrganization?: () => void;
233
233
  }
234
234
 
235
- export declare function DefaultStylesProvider({ children, style, ...props }: DefaultStylesProviderProps): JSX.Element;
235
+ export declare function DefaultStylesProvider({ children, style, ...props }: DefaultStylesProviderProps): JSX.Element | null;
236
236
 
237
237
  declare type DefaultStylesProviderProps = ComponentPropsWithoutRef<"div">;
238
238
 
package/dist/index.es.js CHANGED
@@ -8493,16 +8493,20 @@ function ye({
8493
8493
  style: r,
8494
8494
  ...a
8495
8495
  }) {
8496
- var s, p, l, u;
8497
- const o = mr(Ai), i = r4(
8498
- (p = (s = o == null ? void 0 : o.deployment) == null ? void 0 : s.ui_settings) == null ? void 0 : p.light_mode_settings,
8499
- (u = (l = o == null ? void 0 : o.deployment) == null ? void 0 : l.ui_settings) == null ? void 0 : u.dark_mode_settings
8496
+ var l, u, m, h;
8497
+ const [o, i] = S(!1);
8498
+ J(() => i(!0), []);
8499
+ const s = mr(Ai);
8500
+ if (!o) return null;
8501
+ const p = r4(
8502
+ (u = (l = s == null ? void 0 : s.deployment) == null ? void 0 : l.ui_settings) == null ? void 0 : u.light_mode_settings,
8503
+ (h = (m = s == null ? void 0 : s.deployment) == null ? void 0 : m.ui_settings) == null ? void 0 : h.dark_mode_settings
8500
8504
  );
8501
8505
  return /* @__PURE__ */ t(
8502
8506
  Y8,
8503
8507
  {
8504
8508
  ...a,
8505
- style: { ...i, ...r },
8509
+ style: { ...p, ...r },
8506
8510
  children: e
8507
8511
  }
8508
8512
  );