import { a as e } from "./chunk-EJGNYD4V.js";
import { a as r } from "./chunk-SFKZAUPW.js";
import { Type as o } from "@sinclair/typebox";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
function m(t = {}) {
  return r(["inherit", "text-xs", "text-sm", "text-base", "text-lg", "text-xl"], { enumNames: ["Same as parent", "Extra small", "Small", "Medium", "Large", "Extra large"], default: "inherit", title: "Font size", $id: "styles:fontSize", "ui:styleId": "styles:fontSize", "ui:field": "enum", "ui:display": "select", ...t });
}
function x(t = {}) {
  return e("styles:fontSize", t);
}
function g({ title: t = "Text", default: i, showInSettings: n, disableSizing: a = !1, disableAlignment: s = !1, ...l } = {}) {
  return o.String({ title: t, description: "Text content. Can contain basic HTML tags like `<strong>`, `<em>`, `<br>` and `<a>` as well as `<p>` and `<span>` and lists <ul> <ol> <li>.", $id: "content:text", default: i ?? "My text", "ui:disable-sizing": a, "ui:disable-alignment": s, ...l, "ui:field": n ? "string" : "hidden" });
}
function c(t = {}) {
  return e("content:text", t);
}
export {
  m as a,
  x as b,
  g as e,
  c as f
};
//# sourceMappingURL=chunk-C3VGP4CA.js.map
