|
2326 | 2326 | ] |
2327 | 2327 | } |
2328 | 2328 | } |
| 2329 | +,{ |
| 2330 | + "@context": { |
| 2331 | + "@version": 1.1, |
| 2332 | + "dct": "http://purl.org/dc/terms/", |
| 2333 | + "title": { "@id": "dct:title", "@container": "@language" }, |
| 2334 | + "description": { "@id": "dct:description", "@container": "@language" }, |
| 2335 | + "modified": "dct:modified" |
| 2336 | + }, |
| 2337 | + "title": { |
| 2338 | + "en": "GCDS card", |
| 2339 | + "fr": "Carte GCDS" |
| 2340 | + }, |
| 2341 | + "description": { |
| 2342 | + "en": "Co-existence pilot of the GCDSs card in GCWeb.", |
| 2343 | + "fr": "Pilote de co-existance des cartes GCDS dans GCWeb." |
| 2344 | + }, |
| 2345 | + "modified": "2025-07-04", |
| 2346 | + "componentName": "gcds-card", |
| 2347 | + "status": "provisional", |
| 2348 | + "version": "1.0", |
| 2349 | + "pages": { |
| 2350 | + "examples": [ |
| 2351 | + { |
| 2352 | + "title": "GCDS card", |
| 2353 | + "language": "en", |
| 2354 | + "path": "card-en.html" |
| 2355 | + }, |
| 2356 | + { |
| 2357 | + "title": "Carte GCDS", |
| 2358 | + "language": "fr", |
| 2359 | + "path": "card-fr.html" |
| 2360 | + } |
| 2361 | + ], |
| 2362 | + "docs": [ |
| 2363 | + { |
| 2364 | + "title": "GCDS card", |
| 2365 | + "language": "en", |
| 2366 | + "path": "card-doc-en.html" |
| 2367 | + }, |
| 2368 | + { |
| 2369 | + "title": "Carte GCDS", |
| 2370 | + "language": "fr", |
| 2371 | + "path": "card-doc-fr.html" |
| 2372 | + } |
| 2373 | + ], |
| 2374 | + "test": [ |
| 2375 | + { |
| 2376 | + "title": "GCDS Card with images", |
| 2377 | + "language": "en", |
| 2378 | + "path": "withimg-en.html" |
| 2379 | + }, |
| 2380 | + { |
| 2381 | + "title": "Carte GCDS avec images", |
| 2382 | + "language": "fr", |
| 2383 | + "path": "withimg-fr.html" |
| 2384 | + }, |
| 2385 | + { |
| 2386 | + "title": "GCDS Card as implemented in MWS", |
| 2387 | + "language": "en", |
| 2388 | + "path": "mws-en.html" |
| 2389 | + }, |
| 2390 | + { |
| 2391 | + "title": "Carte GCDS tel que l'implémentation dans le système web géré", |
| 2392 | + "language": "fr", |
| 2393 | + "path": "mws-fr.html" |
| 2394 | + }, |
| 2395 | + { |
| 2396 | + "title": "GCDS Card like as implemented in MWS (without workaround)", |
| 2397 | + "language": "en", |
| 2398 | + "path": "mws-no-workaround-en.html" |
| 2399 | + }, |
| 2400 | + { |
| 2401 | + "title": "Carte GCDS similaire à l'implémentation dans le système web géré (sans contournement)", |
| 2402 | + "language": "fr", |
| 2403 | + "path": "mws-no-workaround-fr.html" |
| 2404 | + } |
| 2405 | + ] |
| 2406 | + }, |
| 2407 | + "a11yGuidance": "no accessibility guidance", |
| 2408 | + "variations": [ |
| 2409 | + { |
| 2410 | + "name": { |
| 2411 | + "en": "GCDS Card - default", |
| 2412 | + "fr": "Carte GCDS - par défaut" |
| 2413 | + }, |
| 2414 | + "status": "provisional", |
| 2415 | + "description": { |
| 2416 | + "en": "Co-existence pilot of the GCDS card in GCWeb.", |
| 2417 | + "fr": "Pilote de co-existance de la carte GCDS dans GCWeb." |
| 2418 | + }, |
| 2419 | + "iteration": "_:implement_card", |
| 2420 | + "example": [ |
| 2421 | + { |
| 2422 | + "en": { "href": "card-en.html", "text": "GCDS Card" }, |
| 2423 | + "fr": { "href": "card-fr.html", "text": "Carte GCDS" } |
| 2424 | + } |
| 2425 | + ], |
| 2426 | + "implementation": [ |
| 2427 | + "_:implement_card" |
| 2428 | + ], |
| 2429 | + "history": [ |
| 2430 | + { |
| 2431 | + "en": "July 2025 - Initial implementation of the component co-existing with GCWeb.", |
| 2432 | + "fr": "Juillet 2025 - Implémentation initiale de la composante co-existant avec GCWeb." |
| 2433 | + } |
| 2434 | + ] |
| 2435 | + } |
| 2436 | + ], |
| 2437 | + "implementation": [ |
| 2438 | + { |
| 2439 | + "@id": "_:implement_card", |
| 2440 | + "iteration": "_:iteration_card_1", |
| 2441 | + "name": { |
| 2442 | + "en": "Standard", |
| 2443 | + "fr": "Standard" |
| 2444 | + }, |
| 2445 | + "introduction": { |
| 2446 | + "en": "This implementation is meant for developers/publishers adding the component manually and want to participate to the Principal Publisher pilot.", |
| 2447 | + "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." |
| 2448 | + }, |
| 2449 | + "instructions": { |
| 2450 | + "en": [ |
| 2451 | + "Add the GCDS loader into your page, distributed here <code><script blocking=\"render\" src=\"dist/GCWeb/js/gcdsloader.min.js\"></script></code>", |
| 2452 | + "Add your <code>gcds-card</code> inside a <code>gcds-grid</code> and then you can configure according to GCDS documentation" |
| 2453 | + ], |
| 2454 | + "fr": [ |
| 2455 | + "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>", |
| 2456 | + "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." |
| 2457 | + ] |
| 2458 | + }, |
| 2459 | + "sample": { |
| 2460 | + "en": [ |
| 2461 | + { |
| 2462 | + "@type": "source-code", |
| 2463 | + "description": "Code sample:", |
| 2464 | + "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>" |
| 2465 | + } |
| 2466 | + ], |
| 2467 | + "fr": [ |
| 2468 | + { |
| 2469 | + "@type": "source-code", |
| 2470 | + "description": "Exemple de code :", |
| 2471 | + "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>" |
| 2472 | + } |
| 2473 | + ] |
| 2474 | + } |
| 2475 | + } |
| 2476 | + ], |
| 2477 | + "iteration": [ |
| 2478 | + { |
| 2479 | + "@id": "_:iteration_card_1", |
| 2480 | + "name": "GCDS card - Iteration 1", |
| 2481 | + "date": "2025-07", |
| 2482 | + "detectableBy": ".wb-enable gcds-card", |
| 2483 | + "assets": [ |
| 2484 | + { |
| 2485 | + "@type": "source-code", |
| 2486 | + "@language": "en", |
| 2487 | + "description": "Code sample", |
| 2488 | + "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>" |
| 2489 | + } |
| 2490 | + ] |
| 2491 | + } |
| 2492 | + ], |
| 2493 | + "changesets": [ |
| 2494 | + { |
| 2495 | + "@id": "_:cs_card_1", |
| 2496 | + "name": "GCDS card", |
| 2497 | + "status": "provisional", |
| 2498 | + "detectableBy": ".wb-enable gcds-card", |
| 2499 | + "layout": "Not applicable", |
| 2500 | + "semantic": "Not applicable", |
| 2501 | + "notes": "Tested when used with the gcds-grid." |
| 2502 | + } |
| 2503 | + ] |
| 2504 | +} |
2329 | 2505 | ,{ |
2330 | 2506 | "@context": { |
2331 | 2507 | "@version": 1.1, |
|
0 commit comments