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: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__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: true }), mod);

// src/components/pisellBaseCard/PisellBaseCard.stories.tsx
var PisellBaseCard_stories_exports = {};
__export(PisellBaseCard_stories_exports, {
  Clickable: () => Clickable,
  CustomStyle: () => CustomStyle,
  Default: () => Default,
  Disabled: () => Disabled,
  NotClickable: () => NotClickable,
  StateStyles: () => StateStyles,
  WithChildren: () => WithChildren,
  default: () => PisellBaseCard_stories_default
});
module.exports = __toCommonJS(PisellBaseCard_stories_exports);
var import_PisellBaseCard = require("./PisellBaseCard");
var meta = {
  title: "Data Display/PisellBaseCard",
  component: import_PisellBaseCard.PisellBaseCard,
  tags: ["autodocs"],
  argTypes: {
    clickable: {
      description: "是否可点击",
      control: "boolean"
    },
    disabled: {
      description: "是否禁用",
      control: "boolean"
    },
    children: {
      description: "卡片内容",
      control: "text"
    }
  }
};
var PisellBaseCard_stories_default = meta;
var Default = {
  args: {}
};
var WithChildren = {
  args: {
    children: /* @__PURE__ */ React.createElement("div", { style: { padding: 8 } }, /* @__PURE__ */ React.createElement("div", null, "标题"), /* @__PURE__ */ React.createElement("div", { style: { color: "#666", fontSize: 14 } }, "描述文字"))
  }
};
var Clickable = {
  args: {
    children: "点击我",
    onClick: () => alert("卡片被点击")
  }
};
var Disabled = {
  args: {
    children: "禁用卡片",
    disabled: true
  }
};
var NotClickable = {
  args: {
    children: "不可点击，无 role",
    clickable: false
  }
};
var CustomStyle = {
  args: {
    children: "自定义背景与圆角",
    style: {
      backgroundColor: "#f0f5ff",
      borderRadius: 16,
      padding: 24
    }
  }
};
var StateStyles = {
  args: {
    children: "悬停与按下有样式变化",
    style: { padding: 16 },
    hoverStyle: { backgroundColor: "#e6f4ff", borderColor: "#91caff" },
    activeStyle: { backgroundColor: "#bae0ff" },
    disabledStyle: { opacity: 0.6 }
  }
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  Clickable,
  CustomStyle,
  Default,
  Disabled,
  NotClickable,
  StateStyles,
  WithChildren
});
