Skip to content

Commit

Permalink
Merge branch 'main' into 2069-styles-for-prime-ng-datatable
Browse files Browse the repository at this point in the history
  • Loading branch information
alizedebray committed Jul 16, 2024
2 parents de9f738 + 38a9af3 commit 357bf5a
Show file tree
Hide file tree
Showing 168 changed files with 6,220 additions and 4,762 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
'@swisspost/design-system-icons': minor
---

Added icons number 2589, 2590 and 2591.
Added icons number 2592, 2593, 2594 and 2595.

5 changes: 5 additions & 0 deletions .changeset/beige-cooks-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed an issue with popovers on Firefox ESR that unexpectedly closed popovers when clicking on content.
5 changes: 0 additions & 5 deletions .changeset/curly-plums-refuse.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/famous-emus-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Deprecated accent colors.
5 changes: 5 additions & 0 deletions .changeset/few-houses-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Fixed visual issues with validated form-elements who receive focus.
6 changes: 0 additions & 6 deletions .changeset/few-news-switch.md

This file was deleted.

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

Added a new stylesheet containing `:root` CSS custom properties to facilitate implementing styles relative to the header. This will allow putting sticky content right below the header.
6 changes: 6 additions & 0 deletions .changeset/giant-bees-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-components': minor
'@swisspost/design-system-styles': minor
---

Added an invalid message for the card-control component and an icon in the invalid message of the checkbox and radio button
5 changes: 5 additions & 0 deletions .changeset/gorgeous-frogs-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': patch
---

Updated tabs to improve visual continuity and readability.
5 changes: 0 additions & 5 deletions .changeset/metal-rivers-suffer.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/ninety-spoons-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-documentation': minor
'@swisspost/design-system-components': minor
---

Added a `delayed` property to the `post-tooltip` component to allow delaying its display for a few milliseconds after it is triggered.
5 changes: 0 additions & 5 deletions .changeset/pretty-clouds-exercise.md

This file was deleted.

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

Fix headers for the `versions.json` file. So it can be loaded and used from the version-switcher of older documentation pages.
5 changes: 0 additions & 5 deletions .changeset/rich-buttons-complain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/seven-foxes-melt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/short-ways-arrive.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/spicy-nails-fix.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thirty-lemons-remember.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wicked-bees-dance.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/yellow-bikes-rhyme.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/yellow-spies-rhyme.md

This file was deleted.

40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve
title: '[bug]: '
labels: "\U0001F41E bug"
assignees: ''
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/component-v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Component v2
description: Add a working item for a component targeted at the new Design v2
title: '[component]: '
labels: ['📦 components']
projects: ['swisspost/3']
assignees: []
body:
- type: textarea
id: description
attributes:
label: Description
description: A short description of the component, disambiguation if needed
placeholder: A tooltip shows short, additional information on focusable elements.
validations:
required: false
- type: input
id: designurl
attributes:
label: Design
description: Link to the component in Figma
validations:
required: true
- type: checkboxes
id: tokens
attributes:
label: Tokens
description: Indicates whether tokens already exist for this component
options:
- label: Tokens for this component are ready
- type: textarea
id: tasks
attributes:
label: Tasks
description: Default tasks for the dev team. Can be edited later according to needs.
value: |
```[tasklist]
### 💻 Tasks
- [ ] Review Design (All states present? Possible to implement?)
- [ ] HTML/CSS implementation
- [ ] Web component implementation
- [ ] Documentation in Storybook
- [ ] Unit tests
- [ ] End to end tests
- [ ] Visual regression tests
- [ ] Design review
```
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: true
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: '✨ feature'
assignees: ''
---

**Is your feature request related to a problem? Please describe it.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
11 changes: 1 addition & 10 deletions .github/actions/artifact-download/action.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
###
#
# If you need to do some changes in a local-action used in this
# workflow, make sure you change the action-flag to your working
# branch-name to get the latest action functionality.
#
# Example: swisspost/design-system/.github/actions/setup-environment-pnpm@my-working-branch-name
#
# Don't forget to change the action-flag back to 'main',
# once you have finished your work on the local-action!
#
# https://docs.github.com/en/actions/creating-actions/about-custom-actions#using-release-management-for-actions
#
###
Expand Down Expand Up @@ -41,7 +32,7 @@ runs:
using: composite
steps:
- name: Download artifact
uses: dawidd6/action-download-artifact@v3
uses: dawidd6/action-download-artifact@v6
with:
name: ${{ inputs.name }}
run_id: ${{ github.event.workflow_run.id }}
Expand Down
9 changes: 0 additions & 9 deletions .github/actions/artifact-upload/action.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
###
#
# If you need to do some changes in a local-action used in this
# workflow, make sure you change the action-flag to your working
# branch-name to get the latest action functionality.
#
# Example: swisspost/design-system/.github/actions/setup-environment-pnpm@my-working-branch-name
#
# Don't forget to change the action-flag back to 'main',
# once you have finished your work on the local-action!
#
# https://docs.github.com/en/actions/creating-actions/about-custom-actions#using-release-management-for-actions
#
###
Expand Down
19 changes: 4 additions & 15 deletions .github/actions/deploy-to-netlify/action.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
###
#
# This action needs a proper node and pnpm setup before!
#
# If you need to do some changes in a local-action used in this
# workflow, make sure you change the action-flag to your working
# branch-name to get the latest action functionality.
#
# Example: swisspost/design-system/.github/actions/setup-pnpm@my-working-branch-name
#
# Don't forget to change the action-flag back to 'main',
# once you have finished your work on the local-action!
#
# https://docs.github.com/en/actions/creating-actions/about-custom-actions#using-release-management-for-actions
# DEPRECATED: This Action can be removed, as soon as we remove deploy-demo.yaml
#
###

Expand Down Expand Up @@ -47,16 +36,16 @@ runs:
steps:
- name: Install netlify-cli
shell: bash
run: pnpm i -g netlify-cli@16
run: pnpm i -g netlify-cli@17

- name: Deploy preview environment to netlify
id: netlify_deploy
shell: bash
env:
NETLIFY_AUTH_TOKEN: ${{ inputs.netlify_auth_token }}
NETLIFY_SITE_ID: ${{ inputs.netlify_site_id }}
# run command taken from https://gist.github.com/oneohthree/f528c7ae1e701ad990e6, shortened to 28 chars, prepended with build-number
# edited for netifly v16
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 deploy --alias $url_alias --build false --dir ${{ inputs.folder }} --site ${{ inputs.netlify_site_id }} --filter ${{inputs.package_name}}
echo "url_alias=$url_alias" >> $GITHUB_OUTPUT
netlify deploy --filter ${{inputs.package_name}} --build false --dir ${{ inputs.folder }} --alias $url_alias
15 changes: 15 additions & 0 deletions .github/actions/setup-netlify-cli/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
###
#
# NOTE: We've created this action to ensure, we are using the same Netlify-CLI version everywhere
#
###

name: Setup Netlify CLI
description: Provides node and pnpm in a specific version.

runs:
using: composite
steps:
- name: Install netlify-cli
shell: bash
run: pnpm i -g netlify-cli@17
Loading

0 comments on commit 357bf5a

Please sign in to comment.