frst-components 0.28.6 → 0.28.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -25061,7 +25061,8 @@ const CardInfo = styled__default["default"]('div') `
25061
25061
 
25062
25062
  function TrailCard({ banner, trailName, company, handleClick }) {
25063
25063
  return (jsxRuntime.jsxs(TrailCardContainer, { onClick: handleClick, children: [jsxRuntime.jsx(WrapperBanner, { children: jsxRuntime.jsx("img", { src: banner, alt: "banner" }) }), jsxRuntime.jsxs(CardInfo, { children: [jsxRuntime.jsxs("p", { className: "trailName", children: [" ", trailName, " "] }), company &&
25064
- jsxRuntime.jsxs("p", { className: "company", children: [jsxRuntime.jsx("img", { src: company.icon }), company.name] })] })] }));
25064
+ jsxRuntime.jsxs("p", { className: "company", children: [company.icon && company.icon !== '' &&
25065
+ jsxRuntime.jsx("img", { src: company.icon }), company.name] })] })] }));
25065
25066
  }
25066
25067
 
25067
25068
  exports.AccordionList = AccordionList$2;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/trail/index.tsx"],"names":[],"mappings":"AAMA,UAAU,OAAO;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,UAAU,cAAc;IACpB,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,EAAE,MAAM,IAAI,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAE,EAC/B,MAAM,EACN,SAAS,EACT,OAAO,EACP,WAAW,EACd,EAAE,cAAc,2CAkBhB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DS/newCards/trail/index.tsx"],"names":[],"mappings":"AAMA,UAAU,OAAO;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,UAAU,cAAc;IACpB,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,EAAE,MAAM,IAAI,CAAA;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAE,EAC/B,MAAM,EACN,SAAS,EACT,OAAO,EACP,WAAW,EACd,EAAE,cAAc,2CAoBhB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "frst-components",
3
3
  "homepage": "http://FRST-Falconi.github.io/storybook.frstfalconi.com",
4
- "version": "0.28.6",
4
+ "version": "0.28.7",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",