Skip to content

Commit

Permalink
Merge branch 'main' into 1503-demo-automate-version-selector
Browse files Browse the repository at this point in the history
  • Loading branch information
gfellerph committed Aug 25, 2023
2 parents 53ea8da + ffe4fa2 commit 9d49ad4
Show file tree
Hide file tree
Showing 507 changed files with 10,533 additions and 4,731 deletions.
6 changes: 0 additions & 6 deletions .changeset/2023-08-06-update-icons.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/calm-swans-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Deprecated sizes "regular" and "medium" for text inputs, textareas and select boxes. Future major versions of the Design System will only support the sizes "small" and "large". This change will make it easier to decide what variant to use where: small for internal applications, large for customer facing external applications.
5 changes: 0 additions & 5 deletions .changeset/fair-peas-build.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/few-ducks-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/internet-header': patch
'@swisspost/design-system-documentation': patch
---

Clarified and fixed which internet-header versions are available and how to use them.
6 changes: 6 additions & 0 deletions .changeset/honest-singers-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-documentation': minor
'@swisspost/design-system-styles': minor
---

Added the checkbox and radio-button card pattern. These two components are now available in the styles package
5 changes: 5 additions & 0 deletions .changeset/long-pumpkins-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Fixed the `.pi-calendar` class not showing an icon in the datepicker.
5 changes: 5 additions & 0 deletions .changeset/mighty-mails-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-demo': patch
---

Added the attribute type="button" to the datepicker to prevent submitting a form on click when the datepicker is directly integrated as shown on the demo page.
5 changes: 0 additions & 5 deletions .changeset/new-grapes-smell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/polite-radios-train.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/quick-parrots-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': minor
---

Added a foundation breakpoints docs page.
11 changes: 0 additions & 11 deletions .changeset/rare-kids-drum.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/serious-toes-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-demo': patch
---

Deprecated the `.pi-calendar` class in favor of the `.pi-3203` class to display the calendar icon in the datepicker.
5 changes: 0 additions & 5 deletions .changeset/shaggy-roses-yell.md

This file was deleted.

7 changes: 7 additions & 0 deletions .changeset/shy-cooks-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@swisspost/design-system-documentation': minor
'@swisspost/design-system-components': minor
'@swisspost/design-system-styles': patch
---

Added a new post-tabs component.
5 changes: 5 additions & 0 deletions .changeset/stale-shrimps-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/internet-header': patch
---

Fixed a line of code that was not compliant with quality rules
5 changes: 0 additions & 5 deletions .changeset/ten-poets-trade.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/three-shoes-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': major
---

Updated storybook to version 7 and switched display mode to show documentation pages only (playgrounds are hidden)
6 changes: 0 additions & 6 deletions .changeset/yellow-wombats-battle.md

This file was deleted.

6 changes: 5 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
#
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

* @gfellerph @oliverschuerch @alizedebray @imagoiq
# Maintainers have to sign off PRs to main as required in branch protection rules
* @swisspost/design-system-maintainers

# For the duration of the practical year
/packages/documentation @swisspost/design-system-maintainers @b1aserlu @davidritter-dotcom
5 changes: 2 additions & 3 deletions .github/actions/deploy-to-netlify/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:

- name: Install netlify-cli
shell: bash
run: pnpm i -g netlify-cli
run: pnpm i -g netlify-cli@15

- name: Deploy preview environment to netlify
id: netlify_deploy
Expand All @@ -83,8 +83,7 @@ runs:
# run command taken from https://gist.github.com/oneohthree/f528c7ae1e701ad990e6, shortened to 28 chars, prepended with build-number
run: |
url_alias=`echo "preview-${{ inputs.id }}" | iconv -t ascii//TRANSLIT | sed -E 's/[~\^]+//g' | sed -E 's/[^a-zA-Z0-9]+/-/g' | sed -E 's/^-+\|-+$//g' | sed -E 's/^-+//g' | sed -E 's/-+$//g' | tr A-Z a-z`
netlify link --id ${{ inputs.netlify_site_id }}
netlify deploy --alias $url_alias --build false --dir ${{ inputs.folder }}
netlify deploy --alias $url_alias --build false --dir ${{ inputs.folder }} --site ${{ inputs.netlify_site_id }}
echo "url_alias=$url_alias" >> $GITHUB_OUTPUT
- name: Prepare Comment Message
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
#
###

name: Build Documentation V7
name: Build Documentation V6
on:
pull_request:
paths:
- 'packages/documentation-v7/**'
- 'packages/documentation-v6/**'
- 'packages/styles/**'
- 'packages/components/**'
- 'packages/internet-header/**'
Expand All @@ -31,14 +31,14 @@ jobs:
- name: Setup
uses: swisspost/design-system/.github/actions/setup-pnpm@main

- name: Install documentation-v7 & dependencies
run: pnpm --filter design-system-documentation-v7... install
- name: Install documentation-v6 & dependencies
run: pnpm --filter design-system-documentation-v6... install

- name: Build documentation-v7 & dependencies
run: pnpm --filter design-system-documentation-v7... build
- name: Build documentation-v6 & dependencies
run: pnpm --filter design-system-documentation-v6... build

- name: Upload documentation-v7
- name: Upload documentation-v6
uses: swisspost/design-system/.github/actions/artifact-upload@main
with:
name: design-system-documentation-v7
folder: packages/documentation-v7/storybook-static
name: design-system-documentation-v6
folder: packages/documentation-v6/storybook-static
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
#
###

name: Deploy Documentation V7 Preview to Netlify
name: Deploy Documentation V6 Preview to Netlify
on:
workflow_run:
workflows: ['Build Documentation V7']
workflows: ['Build Documentation V6']
types: [completed]

jobs:
Expand All @@ -28,10 +28,10 @@ jobs:
uses: swisspost/design-system/.github/actions/artifact-download@main
id: build
with:
name: design-system-documentation-v7
name: design-system-documentation-v6
folder: build-output

- name: Deploy documentation v7 to netlify
- name: Deploy documentation v6 to netlify
uses: swisspost/design-system/.github/actions/deploy-to-netlify@main
id: deploy
with:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Mark stale issues'
permissions:
issues: write
on:
workflow_dispatch:
schedule:
- cron: '9 22 * * *' # the job will run every day at 22:09

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
days-before-stale: 180
days-before-close: -1
stale-issue-label: 'stale'
exempt-milestones: 'next'
operations-per-run: 100
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ yarn.lock
lerna-debug.log

# System Files
.DS_Store/
.DS_Store
styles/stylelint-report.txt

# dotfiles
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ npm install @swisspost/design-system-styles

[![npm](https://img.shields.io/npm/v/@swisspost/internet-header)](https://www.npmjs.com/package/@swisspost/internet-header)

[Documentation](https://next.design-system.post.ch/?path=/docs/internet-header-getting-started--page) · [Changelog](/packages/internet-header/CHANGELOG.md)
[Documentation](https://next.design-system.post.ch/?path=/docs/internet-header-getting-started--docs) · [Changelog](/packages/internet-header/CHANGELOG.md)

The header for client facing applications.

Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
"docs:test": "pnpm --filter design-system-documentation test",
"docs:e2e": "start-server-and-test docs:headless 9300 'pnpm --filter design-system-documentation e2e'",
"docs:e2e:watch": "start-server-and-test docs:headless 9300 'pnpm --filter design-system-documentation e2e:watch'",
"docsv7": "pnpm --filter design-system-documentation-v7 start",
"docsv7:start": "pnpm --filter design-system-documentation-v7... --parallel --stream start",
"docsv7:build": "pnpm --filter design-system-documentation-v7 build",
"docsv7:headless": "pnpm --filter design-system-documentation-v7 start:headless",
"docsv7:e2e": "start-server-and-test docsv7:headless 9300 'pnpm --filter design-system-documentation-v7 e2e'",
"docsv7:e2e:watch": "start-server-and-test docsv7:headless 9300 'pnpm --filter design-system-documentation-v7 e2e:watch'",
"docsv7:snapshots": "start-server-and-test 'pnpm docsv7:headless' 9300 'pnpm --filter design-system-documentation-v7 snapshots'",
"docsv6": "pnpm --filter design-system-documentation-v6 start",
"docsv6:start": "pnpm --filter design-system-documentation-v6... --parallel --stream start",
"docsv6:build": "pnpm --filter design-system-documentation-v6 build",
"docsv6:headless": "pnpm --filter design-system-documentation-v6 start:headless",
"docsv6:e2e": "start-server-and-test docsv6:headless 9300 'pnpm --filter design-system-documentation-v6 e2e'",
"docsv6:e2e:watch": "start-server-and-test docsv6:headless 9300 'pnpm --filter design-system-documentation-v6 e2e:watch'",
"docsv6:snapshots": "start-server-and-test 'pnpm docsv6:headless' 9300 'pnpm --filter design-system-documentation-v6 snapshots'",
"styles:start": "pnpm --filter design-system-styles start",
"styles:build": "pnpm --filter design-system-styles build",
"styles:test": "pnpm --filter design-system-styles test",
Expand Down
7 changes: 7 additions & 0 deletions packages/components-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @swisspost/design-system-components-angular

## 2.0.9

### Patch Changes

- Updated dependencies:
- @swisspost/design-system-styles@6.3.0

## 2.0.8

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/components-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swisspost/design-system-components-angular",
"version": "2.0.8",
"version": "2.0.9",
"license": "Apache-2.0",
"private": true,
"scripts": {
Expand All @@ -21,7 +21,7 @@
"@angular/router": "15.2.9",
"@ng-bootstrap/ng-bootstrap": "14.2.0",
"@popperjs/core": "2.11.8",
"@swisspost/design-system-styles": "workspace:6.2.6",
"@swisspost/design-system-styles": "workspace:6.3.0",
"rxjs": "7.8.1",
"tslib": "2.6.1",
"watch": "1.0.2",
Expand All @@ -37,10 +37,10 @@
"@angular/cli": "15.2.9",
"@angular/compiler-cli": "15.2.9",
"@types/jasmine": "4.3.5",
"@types/node": "18.17.3",
"@types/node": "18.17.5",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "8.46.0",
"eslint": "8.47.0",
"jasmine-core": "4.6.0",
"karma": "6.4.2",
"karma-chrome-launcher": "3.2.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @swisspost/design-system-intranet-header

## 4.0.9

### Patch Changes

- Updated dependencies:
- @swisspost/design-system-styles@6.3.0

## 4.0.8

### Patch Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swisspost/design-system-intranet-header",
"version": "4.0.8",
"version": "4.0.9",
"description": "Intranet header for internal Swiss Post applications as an Angular component.",
"author": "Swiss Post <[email protected]>",
"license": "Apache-2.0",
Expand All @@ -18,10 +18,10 @@
"linkDirectory": true
},
"dependencies": {
"@swisspost/design-system-styles": "workspace:6.2.6",
"@swisspost/design-system-styles": "workspace:6.3.0",
"tslib": "2.6.1"
},
"devDependencies": {
"@swisspost/design-system-components-angular": "workspace:2.0.8"
"@swisspost/design-system-components-angular": "workspace:2.0.9"
}
}
7 changes: 7 additions & 0 deletions packages/components-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @swisspost/design-system-components-react

## 1.0.16

### Patch Changes

- Updated dependencies:
- @swisspost/design-system-components@1.3.10

## 1.0.15

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/components-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swisspost/design-system-components-react",
"version": "1.0.15",
"version": "1.0.16",
"license": "Apache-2.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -19,15 +19,15 @@
"tsc": "tsc -p ."
},
"dependencies": {
"@swisspost/design-system-components": "workspace:1.3.9"
"@swisspost/design-system-components": "workspace:1.3.10"
},
"devDependencies": {
"@types/node": "18.17.3",
"@types/react": "18.2.18",
"@types/node": "18.17.5",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"eslint": "8.46.0",
"eslint": "8.47.0",
"eslint-config-standard-with-typescript": "37.0.0",
"eslint-plugin-import": "2.28.0",
"eslint-plugin-n": "16.0.1",
Expand Down
Loading

0 comments on commit 9d49ad4

Please sign in to comment.