import { b as a } from "./chunk-T4LMBG2G.js";
import { f as e } from "./chunk-C3VGP4CA.js";
import { b as o, d as r } from "./chunk-ACVLF55Q.js";
import { c as n } from "./chunk-UU2MSQXY.js";
import { b as p } from "./chunk-RGLVKILY.js";
import { e as d } from "./chunk-YBGPPF7T.js";
import { e as l } from "./chunk-VZPXXFVX.js";
import { a as s } from "./chunk-VGRYSAXA.js";
import { BsCardText as c } from "../../../../node_modules/.pnpm/react-icons@5.5.0_react@18.3.0-canary-3d9b20132-20240124/node_modules/react-icons/bs/index.js";
import { Type as t } from "@sinclair/typebox";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
var k = s({ type: "card", name: "Card", description: "A card that can have a title, image, and content", icon: c, defaultWidth: { desktop: "400px", mobile: "100%" }, minWidth: { desktop: 300 }, minHeight: { mobile: 200, desktop: 200 }, maxWidth: { desktop: 650 }, props: n({ colorPreset: t.Optional(l({ title: "Color preset", default: { color: "base-100" } })), cardImage: t.Optional(p({ "ui:responsive": "desktop", metadata: { category: "content" } })), imagePosition: t.Optional(t.Union([t.Literal("top", { title: "Top" }), t.Literal("middle", { title: "Middle" }), t.Literal("bottom", { title: "Bottom" }), t.Literal("left", { title: "Left" }), t.Literal("right", { title: "Right" })], { title: "Image Position", description: "Where the image should be placed in the card", default: "top", "ui:responsive": "desktop", metadata: { category: "content", filter: (m, i) => !!i.cardImage?.src } })), noTitle: t.Optional(t.Boolean({ title: "No Title", description: "Whether to hide the card title", default: !1, "ui:responsive": "desktop" })), title: t.Optional(e({ title: "Title" })), text: t.Optional(e({ title: "Text" })), rounding: t.Optional(r({ default: "rounded-md" })), border: t.Optional(o({})), shadow: t.Optional(a({ default: "shadow-sm" })), loop: t.Optional(d()) }) }), O = [{ description: "A simple card with a title and content", type: "card", props: { title: "Card Title", text: "This is the body of the card." } }, { description: "Card with image and overlay text", type: "card", props: { cardImage: { src: "https://via.placeholder.com/400x300", alt: "Placeholder image" }, title: "Overlay Title", text: "Beautiful overlay content with semi-transparent background." } }, { description: "Product card with image on the left", type: "card", props: { cardImage: { src: "https://via.placeholder.com/200x200", alt: "Product image" }, title: "Premium Headphones", text: "High-quality wireless headphones with noise cancellation and 30-hour battery life." } }, { description: "Feature card with large padding and background", type: "card", props: { title: "Key Feature", text: "This feature provides exceptional value and enhances user experience significantly." } }, { description: "Blog post card with image at the bottom", type: "card", props: { title: "The Future of Technology", text: "Exploring emerging trends and innovations that will shape our digital landscape in the coming decade.", cardImage: { src: "https://via.placeholder.com/400x200", alt: "Technology concept" } } }, { description: "Testimonial card with right-side image", type: "card", props: { title: "Customer Review", text: '"This product exceeded my expectations. The quality is outstanding and the customer service is top-notch!"', cardImage: { src: "https://via.placeholder.com/150x150", alt: "Customer photo" } } }, { description: "Minimal centered card without image", type: "card", props: { title: "Simple Announcement", text: "Important updates will be posted here regularly." } }, { description: "Event card with multiple variants", type: "card", props: { cardImage: { src: "https://via.placeholder.com/400x250", alt: "Event venue" }, title: "Annual Conference 2025", text: "Join us for three days of inspiring talks, networking opportunities, and hands-on workshops." } }, { description: "News article card with compact layout", type: "card", props: { cardImage: { src: "https://via.placeholder.com/120x120", alt: "News thumbnail" }, title: "Breaking News Update", text: "Latest developments in the ongoing story with expert analysis and community reactions." } }, { description: "Call-to-action card with prominent styling", type: "card", props: { title: "Get Started Today", text: "Transform your workflow with our powerful tools. Sign up now and get 30 days free!" } }];
export {
  k as a,
  O as b
};
//# sourceMappingURL=chunk-IIFTGWFZ.js.map
