@wacht/jsx 0.0.1-alpha.15 → 0.0.1-alpha.16

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.es.js CHANGED
@@ -19746,6 +19746,14 @@ const X0 = u.div`
19746
19746
  )
19747
19747
  ] });
19748
19748
  }, Sl = u.div`
19749
+ width: 20px;
19750
+ height: 20px;
19751
+ flex-shrink: 0;
19752
+ display: flex;
19753
+ align-items: center;
19754
+ justify-content: center;
19755
+ overflow: hidden;
19756
+
19749
19757
  svg {
19750
19758
  width: 20px;
19751
19759
  height: 20px;
@@ -19953,10 +19961,10 @@ const X0 = u.div`
19953
19961
  )
19954
19962
  ] });
19955
19963
  }, D1 = () => {
19956
- var v, y, w, S, z, x;
19964
+ var y, w, S, z, x, E, C;
19957
19965
  const { loading: e } = St(), { deployment: t } = Se(), [o, n] = P("profile"), [a, s] = P(null), [p, g] = P("info"), c = W(
19958
- (E, C = "info") => {
19959
- s(E), g(C), setTimeout(() => s(null), 3e3);
19966
+ (_, b = "info") => {
19967
+ s(_), g(b), setTimeout(() => s(null), 3e3);
19960
19968
  },
19961
19969
  [s]
19962
19970
  );
@@ -19972,7 +19980,7 @@ const X0 = u.div`
19972
19980
  children: /* @__PURE__ */ r(De, {})
19973
19981
  }
19974
19982
  ) });
19975
- const h = t == null ? void 0 : t.auth_settings, d = (v = h == null ? void 0 : h.email_address) == null ? void 0 : v.enabled, l = (y = h == null ? void 0 : h.phone_number) == null ? void 0 : y.enabled, m = ((w = h == null ? void 0 : h.password) == null ? void 0 : w.enabled) || ((S = h == null ? void 0 : h.auth_factors_enabled) == null ? void 0 : S.authenticator) || ((z = h == null ? void 0 : h.auth_factors_enabled) == null ? void 0 : z.phone_otp) || ((x = h == null ? void 0 : h.auth_factors_enabled) == null ? void 0 : x.backup_code);
19983
+ const h = t == null ? void 0 : t.auth_settings, d = (y = h == null ? void 0 : h.email_address) == null ? void 0 : y.enabled, l = (w = h == null ? void 0 : h.phone_number) == null ? void 0 : w.enabled, m = ((S = t == null ? void 0 : t.social_connections) == null ? void 0 : S.some((_) => _.enabled)) || !1, v = ((z = h == null ? void 0 : h.password) == null ? void 0 : z.enabled) || ((x = h == null ? void 0 : h.auth_factors_enabled) == null ? void 0 : x.authenticator) || ((E = h == null ? void 0 : h.auth_factors_enabled) == null ? void 0 : E.phone_otp) || ((C = h == null ? void 0 : h.auth_factors_enabled) == null ? void 0 : C.backup_code);
19976
19984
  return /* @__PURE__ */ r(ge, { children: /* @__PURE__ */ r(z1, { children: /* @__PURE__ */ r(
19977
19985
  It.Provider,
19978
19986
  {
@@ -20013,7 +20021,7 @@ const X0 = u.div`
20013
20021
  ] })
20014
20022
  }
20015
20023
  ),
20016
- /* @__PURE__ */ r(
20024
+ m && /* @__PURE__ */ r(
20017
20025
  gt,
20018
20026
  {
20019
20027
  $isActive: o === "social",
@@ -20024,7 +20032,7 @@ const X0 = u.div`
20024
20032
  ] })
20025
20033
  }
20026
20034
  ),
20027
- m && /* @__PURE__ */ r(
20035
+ v && /* @__PURE__ */ r(
20028
20036
  gt,
20029
20037
  {
20030
20038
  $isActive: o === "security",
@@ -20051,8 +20059,8 @@ const X0 = u.div`
20051
20059
  o === "profile" && /* @__PURE__ */ r(F1, {}),
20052
20060
  o === "email" && d && /* @__PURE__ */ r(M1, {}),
20053
20061
  o === "phone" && l && /* @__PURE__ */ r(L1, {}),
20054
- o === "social" && /* @__PURE__ */ r(A1, {}),
20055
- o === "security" && m && /* @__PURE__ */ r(N1, {}),
20062
+ o === "social" && m && /* @__PURE__ */ r(A1, {}),
20063
+ o === "security" && v && /* @__PURE__ */ r(N1, {}),
20056
20064
  o === "sessions" && /* @__PURE__ */ r(O1, {})
20057
20065
  ] }),
20058
20066
  a && /* @__PURE__ */ r(