var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: !0 });
}, __copyProps = (to, from, except, desc) => {
  if (from && typeof from == "object" || typeof from == "function")
    for (let key of __getOwnPropNames(from))
      !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
var NavFab_exports = {};
__export(NavFab_exports, {
  NavFab: () => NavFab
});
module.exports = __toCommonJS(NavFab_exports);
var import_jsx_runtime = require("react/jsx-runtime"), import_icons_ui = require("@truststack/icons-ui"), import_tamagui = require("tamagui"), import_Dialog = require("./Dialog"), import_Fab = require("./Fab"), import_Sheet = require("./Sheet");
function NavFab(param) {
  var { children } = param;
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_Dialog.Dialog, {
    modal: !0,
    children: [
      /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Dialog.Dialog.Trigger, {
        asChild: !0,
        style: {
          borderStyle: "hidden"
        },
        children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Fab.Fab, {
          children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Fab.Fab.Icon, {
            icon: import_icons_ui.Plus
          })
        })
      }),
      /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Adapt, {
        when: "sm",
        platform: "touch",
        children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_Sheet.Sheet, {
          animation: "medium",
          zIndex: 2e5,
          modal: !0,
          dismissOnOverlayPress: !0,
          dismissOnSnapToBottom: !0,
          children: [
            /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Sheet.Sheet.Overlay, {}),
            /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Sheet.Sheet.Handle, {}),
            /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Sheet.Sheet.Frame, {
              children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.Adapt.Contents, {})
            })
          ]
        })
      }),
      /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_Dialog.Dialog.Portal, {
        children: [
          /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Dialog.Dialog.Overlay, {}),
          /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Dialog.Dialog.Content, {
            children
          })
        ]
      })
    ]
  });
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  NavFab
});
//# sourceMappingURL=NavFab.js.map
