UNPKG

@anoki/fse-ui

Version:

FSE UI components library

39 lines (38 loc) 1.65 kB
import { j as e } from "./index.es180.js"; import './components/ui/ChangeRelatedCard/ChangeRelatedCard.css';/* empty css */ import { Divider as d } from "./index.es202.js"; import { LOGOS as n } from "./index.es24.js"; import { Col as h } from "./index.es10.js"; import { Row as i } from "./index.es9.js"; const u = ({ title: s, isSelected: o = !1, region: t }) => { const a = n.nazionale, c = n[t], l = (r) => r.charAt(0).toUpperCase() + r.slice(1); return /* @__PURE__ */ e.jsxs( h, { className: `position-relative change-related-card-container ${o ? "change-related-card-container-selected" : ""}`, children: [ /* @__PURE__ */ e.jsx(i, { mb: "x16", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx("strong", { children: s }) }) }), /* @__PURE__ */ e.jsxs(i, { gap: "x24", alignItems: "center", justifyContent: "center", children: [ /* @__PURE__ */ e.jsx(a, { width: 27, height: 44 }), /* @__PURE__ */ e.jsx(d, { bg: "border-divider", direction: "vertical" }), /* @__PURE__ */ e.jsx(c, { width: 44, height: 44 }) ] }), /* @__PURE__ */ e.jsxs("h3", { className: "fs-custom fw-normal text-slate-20 text-align-center", children: [ /* @__PURE__ */ e.jsx("span", { children: "Fascicolo Sanitario" }), /* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsxs("strong", { children: [ "Salute", l(t) ] }) }) ] }) ] } ); }; export { u as ChangeRelatedCard }; //# sourceMappingURL=index.es99.js.map