|
2194 | 2194 | ] |
2195 | 2195 | } |
2196 | 2196 | } |
| 2197 | +,{ |
| 2198 | + "@context": { |
| 2199 | + "@version": 1.1, |
| 2200 | + "dct": "http://purl.org/dc/terms/", |
| 2201 | + "title": { "@id": "dct:title", "@container": "@language" }, |
| 2202 | + "description": { "@id": "dct:description", "@container": "@language" }, |
| 2203 | + "modified": "dct:modified" |
| 2204 | + }, |
| 2205 | + "title": { |
| 2206 | + "en": "GCDS card", |
| 2207 | + "fr": "Carte GCDS" |
| 2208 | + }, |
| 2209 | + "description": { |
| 2210 | + "en": "Co-existence pilot of the GCDSs card in GCWeb.", |
| 2211 | + "fr": "Pilote de co-existance des cartes GCDS dans GCWeb." |
| 2212 | + }, |
| 2213 | + "modified": "2025-07-04", |
| 2214 | + "componentName": "gcds-card", |
| 2215 | + "status": "provisional", |
| 2216 | + "version": "1.0", |
| 2217 | + "pages": { |
| 2218 | + "examples": [ |
| 2219 | + { |
| 2220 | + "title": "GCDS card", |
| 2221 | + "language": "en", |
| 2222 | + "path": "card-en.html" |
| 2223 | + }, |
| 2224 | + { |
| 2225 | + "title": "Carte GCDS", |
| 2226 | + "language": "fr", |
| 2227 | + "path": "card-fr.html" |
| 2228 | + } |
| 2229 | + ], |
| 2230 | + "docs": [ |
| 2231 | + { |
| 2232 | + "title": "GCDS card", |
| 2233 | + "language": "en", |
| 2234 | + "path": "card-doc-en.html" |
| 2235 | + }, |
| 2236 | + { |
| 2237 | + "title": "Carte GCDS", |
| 2238 | + "language": "fr", |
| 2239 | + "path": "card-doc-fr.html" |
| 2240 | + } |
| 2241 | + ], |
| 2242 | + "test": [ |
| 2243 | + { |
| 2244 | + "title": "GCDS Card with images", |
| 2245 | + "language": "en", |
| 2246 | + "path": "withimg-en.html" |
| 2247 | + }, |
| 2248 | + { |
| 2249 | + "title": "Carte GCDS avec images", |
| 2250 | + "language": "fr", |
| 2251 | + "path": "withimg-fr.html" |
| 2252 | + }, |
| 2253 | + { |
| 2254 | + "title": "GCDS Card as implemented in MWS", |
| 2255 | + "language": "en", |
| 2256 | + "path": "mws-en.html" |
| 2257 | + }, |
| 2258 | + { |
| 2259 | + "title": "Carte GCDS tel que l'implémentation dans le système web géré", |
| 2260 | + "language": "fr", |
| 2261 | + "path": "mws-fr.html" |
| 2262 | + }, |
| 2263 | + { |
| 2264 | + "title": "GCDS Card like as implemented in MWS (without workaround)", |
| 2265 | + "language": "en", |
| 2266 | + "path": "mws-no-workaround-en.html" |
| 2267 | + }, |
| 2268 | + { |
| 2269 | + "title": "Carte GCDS similaire à l'implémentation dans le système web géré (sans contournement)", |
| 2270 | + "language": "fr", |
| 2271 | + "path": "mws-no-workaround-fr.html" |
| 2272 | + } |
| 2273 | + ] |
| 2274 | + }, |
| 2275 | + "a11yGuidance": "no accessibility guidance", |
| 2276 | + "variations": [ |
| 2277 | + { |
| 2278 | + "name": { |
| 2279 | + "en": "GCDS Card - default", |
| 2280 | + "fr": "Carte GCDS - par défaut" |
| 2281 | + }, |
| 2282 | + "status": "provisional", |
| 2283 | + "description": { |
| 2284 | + "en": "Co-existence pilot of the GCDS card in GCWeb.", |
| 2285 | + "fr": "Pilote de co-existance de la carte GCDS dans GCWeb." |
| 2286 | + }, |
| 2287 | + "iteration": "_:implement_card", |
| 2288 | + "example": [ |
| 2289 | + { |
| 2290 | + "en": { "href": "card-en.html", "text": "GCDS Card" }, |
| 2291 | + "fr": { "href": "card-fr.html", "text": "Carte GCDS" } |
| 2292 | + } |
| 2293 | + ], |
| 2294 | + "implementation": [ |
| 2295 | + "_:implement_card" |
| 2296 | + ], |
| 2297 | + "history": [ |
| 2298 | + { |
| 2299 | + "en": "July 2025 - Initial implementation of the component co-existing with GCWeb.", |
| 2300 | + "fr": "Juillet 2025 - Implémentation initiale de la composante co-existant avec GCWeb." |
| 2301 | + } |
| 2302 | + ] |
| 2303 | + } |
| 2304 | + ], |
| 2305 | + "implementation": [ |
| 2306 | + { |
| 2307 | + "@id": "_:implement_card", |
| 2308 | + "iteration": "_:iteration_card_1", |
| 2309 | + "name": { |
| 2310 | + "en": "Standard", |
| 2311 | + "fr": "Standard" |
| 2312 | + }, |
| 2313 | + "introduction": { |
| 2314 | + "en": "This implementation is meant for developers/publishers adding the component manually and want to participate to the Principal Publisher pilot.", |
| 2315 | + "fr": "Cette implémentation est destinée aux développeurs/éditeurs qui ajoutent le composant manuellement et qui veulent participer au pilote avec l'Éditeur Principal." |
| 2316 | + }, |
| 2317 | + "instructions": { |
| 2318 | + "en": [ |
| 2319 | + "Add the GCDS loader into your page, distributed here <code><script blocking=\"render\" src=\"dist/GCWeb/js/gcdsloader.min.js\"></script></code>", |
| 2320 | + "Add your <code>gcds-card</code> inside a <code>gcds-grid</code> and then you can configure according to GCDS documentation" |
| 2321 | + ], |
| 2322 | + "fr": [ |
| 2323 | + "Ajoutez le chargeur de GCDS dans votre page, ce dernier est distribué ici <code><script blocking=\"render\" src=\"dist/GCWeb/js/gcdsloader.min.js\"></script></code>", |
| 2324 | + "Ajoutez vos <code>gcds-card</code> à l'intérieur d'une <code>gcds-grid</code> et après vous pouvez faire votre configuration tel que la documenation de GCDS." |
| 2325 | + ] |
| 2326 | + }, |
| 2327 | + "sample": { |
| 2328 | + "en": [ |
| 2329 | + { |
| 2330 | + "@type": "source-code", |
| 2331 | + "description": "Code sample:", |
| 2332 | + "code": "<gcds-grid columns=\"1fr\" columns-tablet=\"1fr 1fr\" columns-desktop=\"1fr 1fr 1fr\">\n\n\t<gcds-card card-title=\"Lorem ipsum\" href=\"#\">\n\t\t<gcds-text>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</gcds-text>\n\t</gcds-card>\n\n\t<gcds-card card-title=\"Aenean id\" href=\"#\">\n\t\t<gcds-text>Aenean id sem tellus. Sed sodales mauris non sagittis auctor. Etiam tempus a metus in porta.</gcds-text>\n\t</gcds-card>\n\n\t<gcds-card card-title=\"Pellentesque dapibus\" href=\"#\" badge=\"badge\">\n\t\t<gcds-text>Pellentesque dapibus erat sit amet lectus scelerisque, sed gravida metus pellentesque.</gcds-text>\n\t</gcds-card>\n\n\t<gcds-card card-title=\"Proin at ligula\" href=\"#\">\n\t\t<gcds-text>Proin at ligula tincidunt neque convallis varius.</gcds-text>\n\t</gcds-card>\n\n</gcds-grid>" |
| 2333 | + } |
| 2334 | + ], |
| 2335 | + "fr": [ |
| 2336 | + { |
| 2337 | + "@type": "source-code", |
| 2338 | + "description": "Exemple de code :", |
| 2339 | + "code": "<gcds-grid columns=\"1fr\" columns-tablet=\"1fr 1fr\" columns-desktop=\"1fr 1fr 1fr\">\n\n\t<gcds-card card-title=\"Lorem ipsum\" href=\"#\">\n\t\t<gcds-text>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</gcds-text>\n\t</gcds-card>\n\n\t<gcds-card card-title=\"Aenean id\" href=\"#\">\n\t\t<gcds-text>Aenean id sem tellus. Sed sodales mauris non sagittis auctor. Etiam tempus a metus in porta.</gcds-text>\n\t</gcds-card>\n\n\t<gcds-card card-title=\"Pellentesque dapibus\" href=\"#\" badge=\"badge\">\n\t\t<gcds-text>Pellentesque dapibus erat sit amet lectus scelerisque, sed gravida metus pellentesque.</gcds-text>\n\t</gcds-card>\n\n\t<gcds-card card-title=\"Proin at ligula\" href=\"#\">\n\t\t<gcds-text>Proin at ligula tincidunt neque convallis varius.</gcds-text>\n\t</gcds-card>\n\n</gcds-grid>" |
| 2340 | + } |
| 2341 | + ] |
| 2342 | + } |
| 2343 | + } |
| 2344 | + ], |
| 2345 | + "iteration": [ |
| 2346 | + { |
| 2347 | + "@id": "_:iteration_card_1", |
| 2348 | + "name": "GCDS card - Iteration 1", |
| 2349 | + "date": "2025-07", |
| 2350 | + "detectableBy": ".wb-enable gcds-card", |
| 2351 | + "assets": [ |
| 2352 | + { |
| 2353 | + "@type": "source-code", |
| 2354 | + "@language": "en", |
| 2355 | + "description": "Code sample", |
| 2356 | + "code": "<gcds-grid columns=\"1fr\" columns-tablet=\"1fr 1fr\" columns-desktop=\"1fr 1fr 1fr\">\n\n\t<gcds-card card-title=\"Lorem ipsum\" href=\"#\">\n\t\t<gcds-text>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</gcds-text>\n\t</gcds-card>\n\n\t<gcds-card card-title=\"Aenean id\" href=\"#\">\n\t\t<gcds-text>Aenean id sem tellus. Sed sodales mauris non sagittis auctor. Etiam tempus a metus in porta.</gcds-text>\n\t</gcds-card>\n\n\t<gcds-card card-title=\"Pellentesque dapibus\" href=\"#\" badge=\"badge\">\n\t\t<gcds-text>Pellentesque dapibus erat sit amet lectus scelerisque, sed gravida metus pellentesque.</gcds-text>\n\t</gcds-card>\n\n\t<gcds-card card-title=\"Proin at ligula\" href=\"#\">\n\t\t<gcds-text>Proin at ligula tincidunt neque convallis varius.</gcds-text>\n\t</gcds-card>\n\n</gcds-grid>" |
| 2357 | + } |
| 2358 | + ] |
| 2359 | + } |
| 2360 | + ], |
| 2361 | + "changesets": [ |
| 2362 | + { |
| 2363 | + "@id": "_:cs_card_1", |
| 2364 | + "name": "GCDS card", |
| 2365 | + "status": "provisional", |
| 2366 | + "detectableBy": ".wb-enable gcds-card", |
| 2367 | + "layout": "Not applicable", |
| 2368 | + "semantic": "Not applicable", |
| 2369 | + "notes": "Tested when used with the gcds-grid." |
| 2370 | + } |
| 2371 | + ] |
| 2372 | +} |
2197 | 2373 | ,{ |
2198 | 2374 | "@context": { |
2199 | 2375 | "@version": 1.1, |
|
0 commit comments