@anywayseo/tools 5.8.1 → 5.8.2

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../index-p4b9Kywi.js");
3
+ const index = require("../index-D-WTkYJu.js");
4
4
  const index$1 = require("../index-BrpyfyHr.js");
5
5
  const index$2 = require("../index-DDg_PkD2.js");
6
6
  const index$3 = require("../index-BNkvrBOj.js");
@@ -1,4 +1,4 @@
1
- import { A, a, b, c, n, o, d, B, e, C, r, q, F, f, g, G, h, i, j, p, H, I, L, N, s, P, S, k, T, l, t, m } from "../index-CxXqR9sV.mjs";
1
+ import { A, a, b, c, n, o, d, B, e, C, r, q, F, f, g, G, h, i, j, p, H, I, L, N, s, P, S, k, T, l, t, m } from "../index-BN9vRBzY.mjs";
2
2
  import { C as C2, a as a2, b as b2, L as L2, c as c2, R, S as S2, d as d2 } from "../index-CodGh8Sq.mjs";
3
3
  import { H as H2, a as a3, b as b3, O, P as P2, U } from "../index-BEjKnOZA.mjs";
4
4
  import { I as I2, L as L3 } from "../index-C3FKVt3V.mjs";
@@ -1077,7 +1077,16 @@ const StrapiComponent = ({ type, props, imageComponent }) => {
1077
1077
  name: props.name,
1078
1078
  src: props == null ? void 0 : props.src,
1079
1079
  refLink: ((_a = props == null ? void 0 : props.partner) == null ? void 0 : _a.refLink) ?? (props == null ? void 0 : props.href),
1080
- previewImage: /* @__PURE__ */ jsx(ExternalImage, { image: props.previewImage, alt: props.name, component: imageComponent }),
1080
+ previewImage: /* @__PURE__ */ jsx(
1081
+ ExternalImage,
1082
+ {
1083
+ image: props.previewImage,
1084
+ alt: props.name,
1085
+ component: imageComponent,
1086
+ objectFit: "cover",
1087
+ style: { height: "100%", aspectRatio: "16/9" }
1088
+ }
1089
+ ),
1081
1090
  mb: 4
1082
1091
  }
1083
1092
  );
@@ -1078,7 +1078,16 @@ const StrapiComponent = ({ type, props, imageComponent }) => {
1078
1078
  name: props.name,
1079
1079
  src: props == null ? void 0 : props.src,
1080
1080
  refLink: ((_a = props == null ? void 0 : props.partner) == null ? void 0 : _a.refLink) ?? (props == null ? void 0 : props.href),
1081
- previewImage: /* @__PURE__ */ jsxRuntime.jsx(ExternalImage, { image: props.previewImage, alt: props.name, component: imageComponent }),
1081
+ previewImage: /* @__PURE__ */ jsxRuntime.jsx(
1082
+ ExternalImage,
1083
+ {
1084
+ image: props.previewImage,
1085
+ alt: props.name,
1086
+ component: imageComponent,
1087
+ objectFit: "cover",
1088
+ style: { height: "100%", aspectRatio: "16/9" }
1089
+ }
1090
+ ),
1082
1091
  mb: 4
1083
1092
  }
1084
1093
  );
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-p4b9Kywi.js");
3
+ const index = require("./index-D-WTkYJu.js");
4
4
  const index$1 = require("./index-BrpyfyHr.js");
5
5
  const index$2 = require("./index-DDg_PkD2.js");
6
6
  const index$3 = require("./index-BNkvrBOj.js");
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A, a, b, c, n, o, d, B, e, C, r, q, F, f, g, G, h, i, j, p, H, I, L, N, s, P, S, k, T, l, t, m } from "./index-CxXqR9sV.mjs";
1
+ import { A, a, b, c, n, o, d, B, e, C, r, q, F, f, g, G, h, i, j, p, H, I, L, N, s, P, S, k, T, l, t, m } from "./index-BN9vRBzY.mjs";
2
2
  import { C as C2, a as a2, b as b2, L as L2, c as c2, R, S as S2, d as d2 } from "./index-CodGh8Sq.mjs";
3
3
  import { H as H2, a as a3, b as b3, O, P as P2, U } from "./index-BEjKnOZA.mjs";
4
4
  import { I as I2, L as L3, P as P3, S as S3, u, a as a4 } from "./index-C3FKVt3V.mjs";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@anywayseo/tools",
3
3
  "description": "Shared UI Components and Modules",
4
- "version": "5.8.1",
4
+ "version": "5.8.2",
5
5
  "keywords": [
6
6
  "react",
7
7
  "ui",