@apollosproject/canvas-embeds 2.1.2302 → 2.1.2304
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/package.json +1 -2
- package/widget/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apollosproject/canvas-embeds",
|
|
3
3
|
"description": "Apollos React embed widgets",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.2304",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -105,7 +105,6 @@
|
|
|
105
105
|
"prompts": "^2.4.2",
|
|
106
106
|
"react-refresh": "^0.19.0",
|
|
107
107
|
"rolldown": "~1.2.6",
|
|
108
|
-
"ts-loader": "^9.5.1",
|
|
109
108
|
"vite": "^8.2.2",
|
|
110
109
|
"vitest": "^5.0.0"
|
|
111
110
|
},
|
package/widget/index.js
CHANGED
|
@@ -533,7 +533,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
533
533
|
...ActionHandlerFragment
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
`);var INr=({feature:e})=>{let{isInline:t}=cT();return e.cards
|
|
536
|
+
`);var INr=({feature:e})=>{let{isInline:t,cardGrid:n=t}=cT();if(!e.cards?.length)return null;let r=n&&e.cards.filter(Boolean).length>1;return(0,q.jsxs)(`div`,{className:`mb-8`,children:[(0,q.jsx)(Iw,{variant:`section`,title:e.title,subtitle:e.subtitle}),(0,q.jsx)(`div`,{"data-testid":`vertical-card-list`,className:r?`mt-4 grid grid-cols-1 gap-x-6 gap-y-8 pb-4 sm:grid-cols-2 md:grid-cols-3`:`flex flex-col mt-4 gap-y-8 pb-4`,children:e.cards?.map(e=>e?(0,q.jsx)(FNr,{card:e,tile:r,showSeries:!1},e.id):null)})]})};Xw(`
|
|
537
537
|
fragment VerticalCardListFeatureFragment on VerticalCardListFeature {
|
|
538
538
|
title
|
|
539
539
|
subtitle
|