@flytedan/flytebot-design-system 0.12.7 → 0.12.8

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.cjs CHANGED
@@ -8114,6 +8114,7 @@ function FeatureGate({
8114
8114
  if (!preview) return fallback;
8115
8115
  const f = SessionKit.findFlag(flag) || {};
8116
8116
  const missing = rt.missing || [];
8117
+ const canBypass = bypassPerm === null ? false : !bypassPerm || SessionKit.can(bypassPerm);
8117
8118
  return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
8118
8119
  ComingSoon,
8119
8120
  {
@@ -8127,7 +8128,7 @@ function FeatureGate({
8127
8128
  minHeight,
8128
8129
  onRoadmap,
8129
8130
  bypassKey: flag,
8130
- canBypass: !bypassPerm || SessionKit.can(bypassPerm),
8131
+ canBypass,
8131
8132
  children
8132
8133
  }
8133
8134
  );