UNPKG

@anoki/fse-ui

Version:

FSE UI components library

3 lines (2 loc) 1.5 kB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./sections/SuggestedServices/SuggestedServices.css');const e=require("./index.cjs244.js"),n=require("./index.cjs54.js"),a=require("./index.cjs246.js");;/* empty css */const d=require("./index.cjs34.js"),j=require("./index.cjs10.js"),g=require("./index.cjs42.js"),p=({title:i,description:c,goToLabel:t,href:o,asLink:l="a",items:r,className:x})=>e.jsxRuntimeExports.jsxs(n.Section,{className:a.clsx("base-col ui-suggested-services-section",x),children:[e.jsxRuntimeExports.jsxs(j.Col,{className:"ui-suggested-services-sectirron-content",children:[e.jsxRuntimeExports.jsxs("div",{className:"ui-suggested-services-section-title",children:[e.jsxRuntimeExports.jsx(n.Section.Description,{color:"slate-14",className:"fw-regular fs-3",children:i}),t&&o&&e.jsxRuntimeExports.jsx(g.ArrowLink,{href:o,asLink:l,fs:"7",children:t.toUpperCase()})]}),c&&e.jsxRuntimeExports.jsx(n.Section.Description,{children:c})]}),e.jsxRuntimeExports.jsx("ul",{role:"list","aria-label":`Lista di ${i}`,className:"list-style-none ui-suggested-services-layout",children:r==null?void 0:r.map((s,u)=>e.jsxRuntimeExports.jsx("li",{children:e.jsxRuntimeExports.jsx(d.CardService,{title:s==null?void 0:s.name,href:(s==null?void 0:s.link)||(s==null?void 0:s.externalLink),iconType:u===1?"icon2":u===2?"icon3":"icon1",titleTag:"h1",asLink:l},s._id)},s._id))})]});exports.SuggestedServices=p; //# sourceMappingURL=index.cjs143.js.map