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 Fab_exports = {};
__export(Fab_exports, {
  Fab: () => Fab
});
module.exports = __toCommonJS(Fab_exports);
var import_tamagui = require("tamagui"),
  import_Icon = require("./Icon.cjs");
const FabContext = (0, import_tamagui.createStyledContext)({
    size: "medium",
    variant: "primary"
  }),
  FabFrame = (0, import_tamagui.styled)(import_tamagui.View, {
    name: "Fab",
    context: FabContext,
    disabledStyle: {
      o: 0.4,
      pe: "none"
    },
    cursor: "pointer",
    br: 18,
    dsp: "flex",
    ai: "center",
    jc: "center",
    shadowColor: "$shadow_opacity",
    shadowRadius: "$shadow.3",
    variants: {
      variant: {
        primary: {
          bg: "$primaryContainer"
        },
        success: {
          bg: "$successContainer"
        },
        secondary: {
          bg: "$secondaryContainer"
        },
        tertiary: {
          bg: "$tertiaryContainer"
        },
        surface: {
          bg: "$surfaceContainer"
        }
      },
      size: {
        small: {
          width: 40,
          height: 40
        },
        medium: {
          width: 56,
          height: 56
        },
        large: {
          width: 96,
          height: 96
        }
      }
    },
    defaultVariants: {
      size: "medium",
      variant: "primary"
    }
  }),
  FabIcon = (0, import_tamagui.styled)(import_Icon.Icon, {
    context: FabContext,
    name: "FabIcon",
    col: "$onSurface",
    variants: {
      variant: {
        primary: {
          col: "$onPrimaryContainer"
        },
        secondary: {
          col: "$onSecondaryContainer"
        },
        tertiary: {
          col: "$onTertiaryContainer"
        },
        success: {
          col: "$onSuccessContainer"
        },
        "action-red": {
          col: "$onActionRed"
        }
      }
    }
  }),
  Fab = (0, import_tamagui.withStaticProperties)(FabFrame, {
    Props: FabContext.Provider,
    Icon: FabIcon
  });