Skip to content

Commit

Permalink
Release v 0.17.0 (#340)
Browse files Browse the repository at this point in the history
* chore: synced file(s) with cds-snc/site-reliability-engineering (#323)

chore: synced local '.github/workflows/backstage-catalog-helper.yml' with remote 'tools/sre_file_sync/backstage-catalog-helper.yml'

Co-authored-by: sre-read-write[bot] <92993749+sre-read-write[bot]@users.noreply.github.com>

* Add heading component (#306)

* wip: add heading component

* add heading component

* add prettier formatting for storybook overview files + add missing resources links for signature

* add figma link to heading resources

* add default margins to heading component

* add default value in events & properties table for heading story

* fix: Change slot CSS in gcds-breadcrumbs to display text underline (#325)

Change slot CSS in gcds-breadcrumbs to display text underline

* Prep for v 0.16.0 (#326)

* update EN changelog

* create version v 0.16.0

* update EN changelog

* chore: synced file(s) with cds-snc/site-reliability-engineering (#324)

chore: synced local '.github/workflows/backstage-catalog-helper.yml' with remote 'tools/sre_file_sync/backstage-catalog-helper.yml'

Co-authored-by: sre-read-write[bot] <92993749+sre-read-write[bot]@users.noreply.github.com>

* fix: give `npm publish` time to complete (#329)

fix: give npm publish time to complete

Update the CDN publish step to sleep for `60s` so that the npm publish
has time to complete.

* chore(deps): lock file maintenance (#327)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update js-devtools/npm-publish digest to 8d0621f (#330)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Add catalog-info.yaml (#332)

Co-authored-by: melaniebmn <[email protected]>

* feat: Link component (#305)

* feat: init link component files (copied button component)

* feat: wip link component

* chore: updated component and tests

* wip: component changes and stories

* chore: add referrerpolicy inherited attribute

* chore: update link component to implementation requirements
also adds icons for email, download and phone numbers

* chore: update gcds-tokens package version

* fix: failing tests on introduction of non nullable attribute

* chore: replace Tag placeholder with a tag, add a11y considerations

* chore: remove unused css conditions for button text

* chore: update css and update tags on index.html

* chore: update spec tests

* chore: refactor / moved function

* chore: remove unnecessary slot

* chore: updates (noreferrer, required props, validation thoughts)

* chore: remove click handler

* chore: update link storybook

* chore: update default value for display storybook link component

* chore: remove "inherit" from display

* feat: add inherit as an option on size property

* chore: add todos for PR review questions

* chore: update todos, add variant tests for sizes, change prop target to string

* fix: event emmitters and cleanup

* chore: update build

* test: add more tests, and some cleanup

* chore: update stories

* chore: update package for gcds-tokens to v1.10.0

* chore: add back button text only styling

* chore: revert button styling

* chore: css updates

* chore: update default display settings

* chore: mark optional values, fix case for icon style

* chore: lint fix for button css

* chore: lint fixes

* chore: update i18n labels [en]

* chore: update i18n

* chore: update focus style, stories

* chore: storybook updates

* chore: story updates

* chore: story updates

* chore: update overview page

* chore: remove small button

* chore: cleanup

* chore: change size to default to inherit

* chore: update tests, add test for regular sized links

* chore: updates a11y test

* chore: update css

* chore: remove display option inline-block

* chore: change slot display for a11y fix and display settings

* chore: update target for external story

* chore: update story with link sizes

* chore: updated text and i18n

* chore: update link story

* chore: update component build

* chore: update tokens package version

* chore: css and story updates

* update demo page to use gcds-heading component (#334)

* add default value for margin top + bottom for text component (#333)

* fix gcds-link external icon spacing (#337)

* Improve storybook a11y (#338)

* storybook: replace boolean + radio controls in stories with select to improve support for assistive technologies

* storybook: improved focus styling for control form elements

* change focus colour for strybook control elements

* revert gcds-error-summary story update

* Update version + changelog for v 0.17.0 (#339)

* update changelog

* update version

---------

Co-authored-by: sre-read-write[bot] <92993749+sre-read-write[bot]@users.noreply.github.com>
Co-authored-by: Ethan Wallace <[email protected]>
Co-authored-by: Pat Heard <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: melaniebmn <[email protected]>
Co-authored-by: Daine Trinidad <[email protected]>
  • Loading branch information
7 people authored Nov 15, 2023
1 parent 160c44d commit c0ac5e9
Show file tree
Hide file tree
Showing 59 changed files with 5,801 additions and 3,738 deletions.
31 changes: 26 additions & 5 deletions .github/workflows/backstage-catalog-helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,30 @@ jobs:
update-catalog-info:
runs-on: ubuntu-latest
steps:
- name: Update catalog-info.yaml
uses: cds-snc/[email protected]
- name: Checkout Actions
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
github-app-id: ${{ secrets.SRE_BOT_RW_APP_ID }}
github-app-private-key: ${{ secrets.SRE_BOT_RW_APP_PRIVATE_KEY }}
github-organization: ${{ github.repository_owner}}
fetch-depth: 0
- name: Run Backstage Catalog Info Helper
uses: cds-snc/[email protected]
with:
github_app_id: ${{ secrets.SRE_BOT_RW_APP_ID }}
github_app_private_key: ${{ secrets.SRE_BOT_RW_PRIVATE_KEY }}
github_organization: cds-snc
- name: impersonate Read/Write GH App
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
id: generate_token
with:
app_id: ${{ secrets.SRE_BOT_RW_APP_ID }}
private_key: ${{ secrets.SRE_BOT_RW_PRIVATE_KEY }}
- name: Create pull request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ steps.generate_token.outputs.token}}
commit-message: 'Add catalog-info.yaml'
branch: 'backstage/catalog-info'
title: 'Add catalog-info.yaml'
body: 'Adding a basic catalog-info.yaml to start populating the backstage catalog with your components.'
labels: 'backstage'
add-paths: |
catalog-info.yaml
5 changes: 3 additions & 2 deletions .github/workflows/compile-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
working-directory: ${{ matrix.package }}

- name: Publish ${{ matrix.name }}
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
uses: JS-DevTools/npm-publish@8d0621f78dc8b291082e6b83c56f5a170305410b
id: publish
with:
token: ${{ secrets.NPM_TOKEN }}
Expand All @@ -65,6 +65,7 @@ jobs:
PUBLISHED_PACKAGE="${{ steps.publish.outputs.id }}"
mkdir -p ./tmp \
&& sleep 60 \
&& npm install --prefix ./tmp "$PUBLISHED_PACKAGE" \
&& cd ./tmp/node_modules
Expand Down Expand Up @@ -136,7 +137,7 @@ jobs:
working-directory: ${{ matrix.package }}

- name: Publish ${{ matrix.name }}
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552
uses: JS-DevTools/npm-publish@8d0621f78dc8b291082e6b83c56f5a170305410b
id: publish
with:
token: ${{ secrets.NPM_TOKEN }}
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@

All notable changes to this project will be documented in this file.

## v0.17.0

### New features

- Link component (`gcds-link`)
- New `gcds-link` component to allow users to navigate to a new page, website or section on the current page.

### Minor

- https://github.com/cds-snc/gcds-components/pull/305 - [2ffc292](https://github.com/cds-snc/gcds-components/commit/2ffc292828fd5eed53a4eb33cbe753da08f9dde0) - Add `gcds-link` to component library

### Patch

- https://github.com/cds-snc/gcds-components/pull/333 - [5da32e0](https://github.com/cds-snc/gcds-components/commit/5da32e0546d7af52fb318a77e22d315327038b18) - Add default value for margin top + bottom for text component
- https://github.com/cds-snc/gcds-components/pull/338 - [96e4787](https://github.com/cds-snc/gcds-components/commit/96e4787b7c7f061279fc650d2dd4894d5ae2e193) - Improve storybook a11y for live demos.

## v0.16.0

### New features
Expand Down
15 changes: 15 additions & 0 deletions catalog-info.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: gcds-components
description: >-
GC Design System Components is a monorepo managing the web components of the
GC Design System. | « GC Design System Components » (Composants de Système
de design GC) est un référentiel unique qui gère les composants Web de
Système de design GC.
labels:
license: MIT
spec:
type: website
lifecycle: experimental
owner: cds-snc
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useNx": true,
"version": "0.16.0",
"version": "0.17.0",
"packages": [
"packages/web",
"packages/react",
Expand Down
Loading

0 comments on commit c0ac5e9

Please sign in to comment.