@treely/strapi-slices 8.2.0 → 8.2.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slicesConfig.d.ts","sourceRoot":"","sources":["../../src/constants/slicesConfig.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,UAMtC,CAAC;AACF,eAAO,MAAM,0BAA0B,UAGtC,CAAC;AACF,eAAO,MAAM,sBAAsB,UAA2C,CAAC;AAC/E,eAAO,MAAM,4BAA4B,UAAgC,CAAC;AAC1E,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"slicesConfig.d.ts","sourceRoot":"","sources":["../../src/constants/slicesConfig.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,UAMtC,CAAC;AACF,eAAO,MAAM,0BAA0B,UAGtC,CAAC;AACF,eAAO,MAAM,sBAAsB,UAA2C,CAAC;AAC/E,eAAO,MAAM,4BAA4B,UAAgC,CAAC;AAC1E,eAAO,MAAM,oBAAoB,UAMhC,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -298,6 +298,7 @@ var SLICES_WITH_BLOG_POSTS = ["sections.blog", "sections.blog-cards"];
|
|
|
298
298
|
var SLICES_WITH_CUSTOMER_STORIES = ["sections.customer-stories"];
|
|
299
299
|
var SLICES_WITH_PROJECTS = [
|
|
300
300
|
"sections.projects-grid",
|
|
301
|
+
"sections.projects-grid-v2",
|
|
301
302
|
"sections.projects-map",
|
|
302
303
|
"sections.project-facts",
|
|
303
304
|
"sections.text-with-card"
|
|
@@ -4129,7 +4130,7 @@ var ProjectsGridV2 = ({
|
|
|
4129
4130
|
(strapiProject) => strapiProject.attributes.fpmProjectId === fpmProject.id
|
|
4130
4131
|
)
|
|
4131
4132
|
);
|
|
4132
|
-
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_boemly33.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_boemly33.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_boemly33.SimpleGrid, { columns: [1, null, 2,
|
|
4133
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_boemly33.DefaultSectionContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_boemly33.Wrapper, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_boemly33.SimpleGrid, { columns: [1, null, 2, 3, 4], gap: "16", children: filteredProjects.map((project) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4133
4134
|
ConditionalWrapper2,
|
|
4134
4135
|
{
|
|
4135
4136
|
condition: !!project.slug,
|
|
@@ -4137,21 +4138,15 @@ var ProjectsGridV2 = ({
|
|
|
4137
4138
|
import_link6.default,
|
|
4138
4139
|
{
|
|
4139
4140
|
href: `${project.portfolioHost || ""}/portfolio/${project.slug}`,
|
|
4140
|
-
passHref: true,
|
|
4141
|
-
legacyBehavior: true,
|
|
4142
4141
|
children
|
|
4143
|
-
}
|
|
4144
|
-
project.id
|
|
4142
|
+
}
|
|
4145
4143
|
),
|
|
4146
4144
|
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4147
4145
|
import_boemly33.Box,
|
|
4148
4146
|
{
|
|
4149
|
-
as: "a",
|
|
4150
|
-
cursor: "pointer",
|
|
4151
4147
|
borderRadius: "2xl",
|
|
4152
4148
|
transition: `box-shadow ease ${MEDIUM_TRANSITION_DURATION}s`,
|
|
4153
4149
|
_hover: { boxShadow: "lg" },
|
|
4154
|
-
maxWidth: "xs",
|
|
4155
4150
|
children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ProjectGridCardV2_default, { project })
|
|
4156
4151
|
}
|
|
4157
4152
|
)
|