import { b as o } from "./chunk-C3VGP4CA.js";
import { b as e, d as i } from "./chunk-ACVLF55Q.js";
import { c as a } from "./chunk-UU2MSQXY.js";
import { a as r, d as n } from "./chunk-T3LIA4YB.js";
import { e as l } from "./chunk-VZPXXFVX.js";
import { a as p } from "./chunk-VGRYSAXA.js";
import { Type as t } from "@sinclair/typebox";
import { RxButton as d } from "../../../../node_modules/.pnpm/react-icons@5.5.0_react@18.3.0-canary-3d9b20132-20240124/node_modules/react-icons/rx/index.js";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
var k = p({ type: "button", name: "Button", category: "basic", description: "A button with text and optional icon", resizable: "horizontal", icon: d, minWidth: { desktop: 120, mobile: 120 }, defaultWidth: { mobile: "100%" }, props: a({ colorPreset: t.Optional(l({ default: { color: "primary-500" }, title: "Color", "ui:default-gradient-direction": "bg-gradient-to-b" })), label: r("Label", { default: "My button", metadata: { category: "content" } }), fontSize: t.Optional(o({ title: "Font Size", description: "The font size of the button text.", default: "text-base", "ui:responsive": "desktop", "ui:no-extra-large-sizes": !0 })), rounding: t.Optional(i({ default: "rounded-md" })), border: t.Optional(e({ default: { width: "border-0" }, "ui:responsive": "desktop" })), linkToUrlOrPageId: t.Optional(n({ title: "Link", "ui:placeholder": "https://example.com", metadata: { category: "content" } })) }) }), y = [{ description: "Primary button, full width, linking to a URL", type: "button", props: { label: "Click me", linkToUrlOrPageId: "https://example.com" } }, { description: "Secondary button, block width, linking to a page", type: "button", props: { label: "Go to page", linkToUrlOrPageId: "page-id-123" } }];
export {
  k as a,
  y as b
};
//# sourceMappingURL=chunk-BZGNY7LB.js.map
