@treely/strapi-slices 8.0.1 → 8.0.3

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
@@ -6416,22 +6416,16 @@ var Facts = ({ slice }) => /* @__PURE__ */ jsx40(
6416
6416
  /* @__PURE__ */ jsx40(
6417
6417
  Flex17,
6418
6418
  {
6419
- justifyContent: slice.facts.length <= 4 ? "center" : "flex-start",
6419
+ justifyContent: slice.facts.length < 3 ? "center" : "flex-start",
6420
6420
  alignItems: "center",
6421
6421
  flexWrap: "wrap",
6422
6422
  mx: [null, null, null, "22", "28"],
6423
6423
  flexDir: ["column", null, null, "row"],
6424
- gap: [null, null, null, "12"],
6425
6424
  children: slice.facts.map((fact) => /* @__PURE__ */ jsxs33(
6426
6425
  Flex17,
6427
6426
  {
6428
6427
  flexDir: "column",
6429
- width: [
6430
- "var(--boemly-sizes-full)",
6431
- null,
6432
- null,
6433
- "calc((var(--boemly-sizes-full) - var(--boemly-space-24))/ 3 )"
6434
- ],
6428
+ width: ["100%", null, null, "calc(100% / 3)"],
6435
6429
  mt: ["8", "8", "8", slice.facts.length > 3 ? "16" : "0"],
6436
6430
  children: [
6437
6431
  /* @__PURE__ */ jsx40(
@@ -7910,11 +7904,10 @@ import {
7910
7904
  BoemlyTag as BoemlyTag4
7911
7905
  } from "boemly";
7912
7906
  import Image33 from "next/image.js";
7913
- import { IntlContext as IntlContext2 } from "react-intl";
7914
7907
  import { useState as useState10 } from "react";
7915
7908
  import { Fragment as Fragment29, jsx as jsx54, jsxs as jsxs45 } from "react/jsx-runtime";
7916
7909
  var Timeline = ({ slice }) => {
7917
- const { formatMessage } = useContext22(IntlContext2);
7910
+ const { formatMessage } = useContext22(IntlContext);
7918
7911
  const [visibleItems, setVisibleItems] = useState10(3);
7919
7912
  const [mobile] = useMediaQuery8([BREAKPOINT_MD_QUERY]);
7920
7913
  const [isOpen, setIsOpen] = useState10(false);