|
433 | 433 | ] |
434 | 434 | } |
435 | 435 | } |
436 | | -,{ |
437 | | - "@context": { |
438 | | - "@version": 1.1, |
439 | | - "dct": "http://purl.org/dc/terms/", |
440 | | - "title": { "@id": "dct:title", "@container": "@language" }, |
441 | | - "description": { "@id": "dct:description", "@container": "@language" }, |
442 | | - "modified": "dct:modified" |
443 | | - }, |
444 | | - "title": { |
445 | | - "en": "Contributors", |
446 | | - "fr": "Collaborateurs" |
447 | | - }, |
448 | | - "description": { |
449 | | - "en": "Links to institutions or organizations that support the content on the page.", |
450 | | - "fr": "Liens menant aux institutions ou aux organisations qui soutiennent le contenu sur la page." |
451 | | - }, |
452 | | - "modified": "2024-05-28", |
453 | | - "componentName": "gc-contributors", |
454 | | - "status": "stable", |
455 | | - "version": "1.0.0", |
456 | | - "pages": { |
457 | | - "docs": [ |
458 | | - { |
459 | | - "title": "Contributors", |
460 | | - "language": "en", |
461 | | - "path": "gc-contributors-doc-en.html" |
462 | | - }, |
463 | | - { |
464 | | - "title": "Collaborateurs", |
465 | | - "language": "fr", |
466 | | - "path": "gc-contributors-doc-fr.html" |
467 | | - } |
468 | | - ], |
469 | | - "examples": [ |
470 | | - { |
471 | | - "title": "Contributors", |
472 | | - "language": "en", |
473 | | - "path": "gc-contributors-en.html" |
474 | | - }, |
475 | | - { |
476 | | - "title": "Collaborateurs", |
477 | | - "language": "fr", |
478 | | - "path": "gc-contributors-fr.html" |
479 | | - } |
480 | | - ] |
481 | | - }, |
482 | | - "a11yGuidance": "No accessibility guidance.", |
483 | | - "variations": [ |
484 | | - { |
485 | | - "name": { |
486 | | - "en": "Contributors - default", |
487 | | - "fr": "Collaborateurs - par défaut" |
488 | | - }, |
489 | | - "status": "stable", |
490 | | - "description": { |
491 | | - "en": "Links to institutions or organizations that support the content on the page.", |
492 | | - "fr": "Liens menant aux institutions ou aux organisations qui soutiennent le contenu sur la page." |
493 | | - }, |
494 | | - "iteration": "_:iteration_contributors_2", |
495 | | - "example": [ |
496 | | - { |
497 | | - "en": { "href": "gc-contributors-en.html", "text": "Contributors" }, |
498 | | - "fr": { "href": "gc-contributors-fr.html", "text": "Collaborateurs" } |
499 | | - } |
500 | | - ], |
501 | | - "implementation": [ |
502 | | - "_:implement_contributors" |
503 | | - ], |
504 | | - "history": [ |
505 | | - { |
506 | | - "en": "May 2024 - Stabilizing component.", |
507 | | - "fr": "Mai 2024 - Stabilisation du composant." |
508 | | - }, |
509 | | - { |
510 | | - "en": "January 2021 - Initial provisional implementation to gather user experience data.", |
511 | | - "fr": "Janvier 2021 - Implémentation provisoire initiale pour recueillir des données sur l'expérience utilisateur." |
512 | | - } |
513 | | - ] |
514 | | - } |
515 | | - ], |
516 | | - "implementation": [ |
517 | | - { |
518 | | - "@id": "_:implement_contributors", |
519 | | - "iteration": "_:iteration_contributors_2", |
520 | | - "name": { |
521 | | - "en": "Standard", |
522 | | - "fr": "Standard" |
523 | | - }, |
524 | | - "introduction": { |
525 | | - "en": "This implementation is meant for developers/publishers adding the component manually.", |
526 | | - "fr": "Cette implémentation est destinée aux développeurs/éditeurs qui ajoutent le composant manuellement." |
527 | | - }, |
528 | | - "instructions": { |
529 | | - "en": [ |
530 | | - "Refer to the following code sample." |
531 | | - ], |
532 | | - "fr": [ |
533 | | - "Référez-vous au code qui suit." |
534 | | - ] |
535 | | - }, |
536 | | - "sample": { |
537 | | - "en": [ |
538 | | - { |
539 | | - "@type": "source-code", |
540 | | - "description": "Code sample:", |
541 | | - "code": "<section class=\"gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency 1]</a></li>\n\t\t<li><a href=\"#\">[Department or agency 2]</a></li>\n\t</ul>\n</section>" |
542 | | - } |
543 | | - ], |
544 | | - "fr": [ |
545 | | - { |
546 | | - "@type": "source-code", |
547 | | - "description": "Exemple de code :", |
548 | | - "code": "<section class=\"gc-contributors\">\n\t<h2>De :</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Ministère ou agence 1]</a></li>\n\t\t<li><a href=\"#\">[Ministère ou agence 2]</a></li>\n\t</ul>\n</section>" |
549 | | - } |
550 | | - ] |
551 | | - } |
552 | | - } |
553 | | - ], |
554 | | - "iteration": [ |
555 | | - { |
556 | | - "@id": "_:iteration_contributors_2", |
557 | | - "name": "Contributors - Iteration 2", |
558 | | - "date": "2024-05", |
559 | | - "detectableBy": ".gc-contributors:not(.provisional)", |
560 | | - "additions": [ |
561 | | - "Stabilized component" |
562 | | - ], |
563 | | - "assets": [ |
564 | | - { |
565 | | - "@type": "source-code", |
566 | | - "@language": "en", |
567 | | - "description": "Code sample", |
568 | | - "code": "<section class=\"gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency 1]</a></li>\n\t\t<li><a href=\"#\">[Department or agency 2]</a></li>\n\t</ul>\n</section>" |
569 | | - } |
570 | | - ], |
571 | | - "predecessor": "_:iteration_contributors_1" |
572 | | - }, |
573 | | - { |
574 | | - "@id": "_:iteration_contributors_1", |
575 | | - "name": "Contributors - Iteration 1", |
576 | | - "date": "2021-01", |
577 | | - "detectableBy": ".provisional.gc-contributors", |
578 | | - "assets": [ |
579 | | - { |
580 | | - "@type": "source-code", |
581 | | - "@language": "en", |
582 | | - "description": "Code sample", |
583 | | - "code": "<section class=\"provisional gc-contributors\">\n\t<h2>From:</h2>\n\t<ul>\n\t\t<li><a href=\"#\">[Department or agency 1]</a></li>\n\t\t<li><a href=\"#\">[Department or agency 2]</a></li>\n\t</ul>\n</section>" |
584 | | - } |
585 | | - ], |
586 | | - "successor": "_:iteration_contributors_2" |
587 | | - } |
588 | | - ], |
589 | | - "changesets": [ |
590 | | - { |
591 | | - "@id": "_:cs_contributors", |
592 | | - "name": "Contributors", |
593 | | - "status": "stable", |
594 | | - "baseOnIteration": "_:iteration_contributors_2", |
595 | | - "detectableBy": ".gc-contributors", |
596 | | - "layout": "Title and list are displayed inline on medium screens and up. They are displayed vertically on smaller screens.", |
597 | | - "semantic": "section>h2+ul>li*n>a", |
598 | | - "style": "The <h2> font size is smaller. The links are bolded.", |
599 | | - "static": [ |
600 | | - "From:", |
601 | | - "De :" |
602 | | - ], |
603 | | - "schema": [ |
604 | | - "Array of contributors objects", |
605 | | - "contributors object: contributor name, contributor link" |
606 | | - ] |
607 | | - } |
608 | | - ] |
609 | | -} |
610 | 436 | ,{ |
611 | 437 | "@context": { |
612 | 438 | "@version": 1.1, |
|
0 commit comments