import { b as o } from "./chunk-TWBY2GOR.js";
import { b as n, f as t } from "./chunk-C3VGP4CA.js";
import { a } from "./chunk-YIFNKP4J.js";
import { c as i } from "./chunk-UU2MSQXY.js";
import { e as r } from "./chunk-YBGPPF7T.js";
import { e as l } from "./chunk-VZPXXFVX.js";
import { a as s } from "./chunk-SFKZAUPW.js";
import { a as c } from "./chunk-VGRYSAXA.js";
import { Type as e } from "@sinclair/typebox";
import { TfiLayoutAccordionSeparated as d } from "../../../../node_modules/.pnpm/react-icons@5.5.0_react@18.3.0-canary-3d9b20132-20240124/node_modules/react-icons/tfi/index.js";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
var w = c({ type: "accordion", name: "Accordion", description: "An accordion/collapse element for expandable content", aiInstructions: `
This accordion element displays content in collapsible panels.
It is typically used for FAQ sections, organized documentation, or to save space.
Each item has a title and expandable content area.
Multiple panels can be open simultaneously or limited to one at a time.
  `.trim(), icon: d, defaultWidth: { desktop: "450px", mobile: "100%" }, props: i({ items: e.Array(e.Object({ title: t({ title: "Title", default: "My title", disableSizing: !0, showInSettings: !0 }), content: t({ title: "Content", default: "Expandable content goes here" }), defaultOpen: e.Optional(a("Open by default", !1)) }), { title: "Accordion items", metadata: { category: "content" } }), fontSize: e.Optional(n({ default: "inherit" })), restrictOneOpen: a("Restrict to one open item", !1, { description: "Restrict to one open item at a time. If false, multiple items can be open simultaneously." }), gap: e.Optional(o({ allowNoGap: !1, default: "gap-px" })), rounding: e.Optional(s(["rounded-auto", "rounded-none", "rounded-sm", "rounded-md", "rounded-lg", "rounded-xl", "rounded-2xl", "rounded-3xl"], { title: "Corner rounding", enumNames: ["Auto", "None", "Small", "Medium", "Large", "Extra large", "2xl", "3xl"], "ui:placeholder": "Not specified", "ui:field": "enum", "ui:display": "select", "ui:styleId": "styles:rounding", default: "rounded-auto" })), colorPreset: e.Optional(l({ title: "Color", default: { color: "bg-primary-500 text-primary-500-content" } })), loop: e.Optional(r()) }) }), A = [{ description: "FAQ section with card styling with single open", type: "accordion", props: { restrictOneOpen: !0, items: [{ title: "What is included in the basic plan?", content: "The basic plan includes access to all core features, up to 10 projects, 5GB storage, email support, and basic analytics. You can upgrade at any time to access advanced features like API access, priority support, and unlimited projects.", defaultOpen: !0 }, { title: "How do I cancel my subscription?", content: "You can cancel your subscription at any time from your account settings. Go to Billing > Manage Subscription > Cancel. Your access will continue until the end of your current billing period, and you won't be charged for the next cycle." }, { title: "Is there a free trial available?", content: "Yes! We offer a 14-day free trial with full access to all premium features. No credit card required to start. You can upgrade to a paid plan anytime during or after the trial period." }, { title: "What payment methods do you accept?", content: "We accept all major credit cards (Visa, MasterCard, American Express), PayPal, and bank transfers for annual subscriptions. All payments are processed securely through our payment partners." }, { title: "Do you offer refunds?", content: "We offer a 30-day money-back guarantee for all new subscriptions. If you're not satisfied with our service, contact our support team within 30 days of your purchase for a full refund." }] } }];
export {
  w as a,
  A as b
};
//# sourceMappingURL=chunk-ZQGNYK5I.js.map
