From 8adb161f82979c550d8e340f50aeda70f8a393f3 Mon Sep 17 00:00:00 2001 From: Daine Trinidad Date: Thu, 5 Dec 2024 15:35:28 -0800 Subject: [PATCH 01/11] chore(deps): update gcds-components, gcds-tokens, gcds-utility packages --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3a4fb924d..415aa4ceb 100644 --- a/package.json +++ b/package.json @@ -34,9 +34,9 @@ }, "devDependencies": { "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0", - "@cdssnc/gcds-components": "^0.26.2", - "@cdssnc/gcds-tokens": "^1.19.1", - "@cdssnc/gcds-utility": "^1.4.0", + "@cdssnc/gcds-components": "^0.28.0", + "@cdssnc/gcds-tokens": "^2.0.0", + "@cdssnc/gcds-utility": "^1.5.0", "@quasibit/eleventy-plugin-sitemap": "^2.1.4", "chroma-js": "^2.4.2", "eleventy-plugin-svg-contents": "^0.7.0", From d3d64151a146d306f4a442f48865b7fa15d61ce3 Mon Sep 17 00:00:00 2001 From: Melanie Boeckmann Date: Mon, 9 Dec 2024 16:22:12 -0800 Subject: [PATCH 02/11] refactor: update docs site with new typography and spacing --- src/404.md | 6 +- src/_includes/layouts/base.njk | 4 +- .../layouts/component-documentation.njk | 2 +- src/_includes/layouts/demo.njk | 35 ++++--- src/_includes/layouts/home.njk | 12 +-- src/_includes/partials/card-list.njk | 6 +- src/_includes/partials/components-tags.njk | 4 +- src/_includes/partials/helpus.njk | 6 +- .../partials/installation/step-1.njk | 4 +- .../partials/installation/step-2-angular.njk | 14 +-- .../partials/installation/step-2-cdn.njk | 16 +-- .../partials/installation/step-2-choose.njk | 4 +- .../partials/installation/step-2-figma.njk | 6 +- .../partials/installation/step-2-node.njk | 12 +-- .../partials/installation/step-2-none.njk | 6 +- .../partials/installation/step-2-react.njk | 12 +-- .../partials/installation/step-2-vue.njk | 20 ++-- .../partials/installation/step-3.njk | 6 +- src/_includes/partials/lookingfor.njk | 12 +-- src/_includes/partials/token_table.njk | 2 +- src/en/components/breadcrumbs/design.md | 4 +- src/en/components/breadcrumbs/use-case.md | 4 +- src/en/components/button/base.md | 6 +- src/en/components/button/design.md | 2 +- src/en/components/button/use-case.md | 28 +++--- src/en/components/card/design.md | 2 +- src/en/components/card/use-case.md | 4 +- src/en/components/checkbox/base.md | 2 +- src/en/components/checkbox/design.md | 4 +- src/en/components/checkbox/use-case.md | 6 +- src/en/components/container/base.md | 6 +- src/en/components/container/design.md | 2 +- src/en/components/container/use-case.md | 4 +- src/en/components/data-table/design.md | 2 +- src/en/components/data-table/use-case.md | 4 +- src/en/components/date-input/design.md | 4 +- src/en/components/date-input/use-case.md | 4 +- src/en/components/date-modified/design.md | 2 +- src/en/components/date-modified/use-case.md | 26 ++--- src/en/components/details/design.md | 4 +- src/en/components/details/use-case.md | 4 +- src/en/components/error-message/base.md | 2 +- src/en/components/error-message/design.md | 4 +- src/en/components/error-message/use-case.md | 4 +- src/en/components/error-summary/design.md | 2 +- src/en/components/error-summary/use-case.md | 4 +- src/en/components/fieldset/base.md | 2 +- src/en/components/fieldset/design.md | 2 +- src/en/components/fieldset/use-case.md | 4 +- src/en/components/file-uploader/design.md | 2 +- src/en/components/file-uploader/use-case.md | 4 +- src/en/components/footer/code.md | 6 +- src/en/components/footer/design.md | 4 +- src/en/components/footer/use-case.md | 4 +- src/en/components/grid/code.md | 12 +-- src/en/components/grid/design.md | 2 +- src/en/components/grid/use-case.md | 4 +- src/en/components/header/base.md | 2 +- src/en/components/header/design.md | 4 +- src/en/components/header/use-case.md | 6 +- src/en/components/heading/design.md | 2 +- src/en/components/heading/use-case.md | 4 +- src/en/components/image/design.md | 2 +- src/en/components/image/use-case.md | 4 +- src/en/components/input/base.md | 2 +- src/en/components/input/design.md | 2 +- src/en/components/input/use-case.md | 4 +- src/en/components/language-toggle/design.md | 2 +- src/en/components/language-toggle/use-case.md | 4 +- src/en/components/link/base.md | 6 +- src/en/components/link/design.md | 2 +- src/en/components/link/use-case.md | 4 +- src/en/components/pagination/base.md | 2 +- src/en/components/pagination/design.md | 12 +-- src/en/components/pagination/use-case.md | 4 +- src/en/components/radio-group/base.md | 2 +- src/en/components/radio-group/design.md | 2 +- src/en/components/radio-group/use-case.md | 6 +- src/en/components/radio/design.md | 2 +- src/en/components/radio/use-case.md | 4 +- src/en/components/search/design.md | 2 +- src/en/components/search/use-case.md | 4 +- src/en/components/select/design.md | 2 +- src/en/components/select/use-case.md | 4 +- src/en/components/side-navigation/design.md | 2 +- src/en/components/side-navigation/use-case.md | 4 +- src/en/components/signature/base.md | 4 +- src/en/components/signature/design.md | 10 +- src/en/components/signature/use-case.md | 8 +- src/en/components/stepper/base.md | 2 +- src/en/components/stepper/design.md | 2 +- src/en/components/stepper/use-case.md | 4 +- src/en/components/text/design.md | 2 +- src/en/components/text/use-case.md | 4 +- src/en/components/textarea/base.md | 2 +- src/en/components/textarea/design.md | 2 +- src/en/components/textarea/use-case.md | 4 +- .../components/theme-and-topic-menu/base.md | 2 +- .../components/theme-and-topic-menu/design.md | 2 +- .../theme-and-topic-menu/use-case.md | 4 +- src/en/components/top-navigation/design.md | 2 +- src/en/components/top-navigation/use-case.md | 4 +- src/en/contact/contact.md | 4 +- src/en/get-involved.md | 16 +-- src/en/pages/index.md | 72 +++++++------- src/en/search.md | 2 +- src/en/styles/design-tokens/design-tokens.md | 14 +-- .../tokens/design-tokens-global.svg | 32 +++--- src/scripts/code-copy.js | 2 +- src/scripts/search.js | 26 ++--- src/styles/_general.scss | 4 +- src/styles/_typography.scss | 30 +++--- src/styles/components/_anatomy-list.scss | 12 +-- src/styles/components/_code-showcase.scss | 4 +- src/styles/components/_table.scss | 22 ++--- src/styles/components/_tabs.scss | 20 ++-- src/styles/pages/_home.scss | 2 +- src/styles/pages/_search.scss | 22 +++-- src/styles/style.css | 98 +++++++++---------- src/styles/style.css.map | 2 +- src/styles/utilities/_backgrounds.scss | 6 +- utils/anchor.js | 14 +-- 122 files changed, 469 insertions(+), 470 deletions(-) diff --git a/src/404.md b/src/404.md index ad7823422..375a6c9d5 100644 --- a/src/404.md +++ b/src/404.md @@ -7,10 +7,10 @@ nocrawl: true locale: en --- -

- Page could not be found | Page introuvable +

+ Page could not be found
Page introuvable

Check you’ve entered the correct web address. -

Assurez-vous d’avoir saisi la bonne adresse Web.

+

Assurez-vous d’avoir saisi la bonne adresse Web.

diff --git a/src/_includes/layouts/base.njk b/src/_includes/layouts/base.njk index ae3be4b7b..79c5f78cd 100644 --- a/src/_includes/layouts/base.njk +++ b/src/_includes/layouts/base.njk @@ -41,10 +41,10 @@ {% include "partials/header.njk" %}
-
+
{% block content %}{{ content | safe }}{% endblock %} - + {{ page.date | dateLastModified}}
diff --git a/src/_includes/layouts/component-documentation.njk b/src/_includes/layouts/component-documentation.njk index 5cbfe4f8b..b3dce19bd 100644 --- a/src/_includes/layouts/component-documentation.njk +++ b/src/_includes/layouts/component-documentation.njk @@ -7,7 +7,7 @@ {% block content %} {% if tabs %} {{ tabs.header.templateContent | safe }} -