Skip to content

Commit

Permalink
chore: change refs from next to main docs URL (#2802)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfellerph authored Mar 18, 2024
1 parent 319a42b commit 879883f
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 28 deletions.
6 changes: 6 additions & 0 deletions .changeset/polite-eggs-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-documentation': patch
'@swisspost/design-system-demo': patch
---

Changed references from https://next.design-system.post.ch to https://design-system.post.ch after the migration of Storybook, which is now our main documentation
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,21 @@ The Swiss Post Design System pattern library for a unified and accessible user e

## Documentation

[Current documentation](https://design-system.post.ch/#/home) - Migration guides, `bootstrap` & `ng-bootstrap` documentation

[Next documentation](https://next.design-system.post.ch/?path=/docs/home--docs) - styles, internet header and web components documentation
[Documentation](https://design-system.post.ch) - Technical implementation guidelines

[Figma design files](https://www.figma.com/file/xZ0IW0MJO0vnFicmrHiKaY/Components-Post?type=design&node-id=3209%3A72270&mode=design&t=jhmGcSqeWq2SgQXT-1) - Figma component library

🔒 [Experience Hub](https://www.experience-hub.ch/document/2803) - Pattern usage documentation ([request access](https://www.experience-hub.ch/request-access/))

## Packages

| Name | Description | Version | Changelog URL |
|:-------------------------------------------------------------------------------------------------------------| :------------------------------------------------------------------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------- |
| [Styles](https://next.design-system.post.ch/?path=/docs/e53e2de8-0bbf-4f70-babc-074c5466f700--docs) | The styling package, including theming for [Bootstrap](https://getbootstrap.com/) and [ng-bootstrap](https://ng-bootstrap.github.io/#/home) components. | [![Styles pacakge version shield for npm](https://img.shields.io/npm/v/%40swisspost%2Fdesign-system-styles?style=flat-square&logo=npm&label=%20&color=%23fc0)](https://www.npmjs.com/package/@swisspost/design-system-styles) | [Styles changelog](/packages/styles/CHANGELOG.md) |
| [Components](https://next.design-system.post.ch/?path=/docs/edfb619b-fda1-4570-bf25-20830303d483--docs) | A set of standard web components for easy integration with every framework or no framework at all. | [![Components package version shield for npm](https://img.shields.io/npm/v/%40swisspost%2Fdesign-system-components?style=flat-square&logo=npm&label=%20&color=%23fc0)](https://www.npmjs.com/package/@swisspost/design-system-components) | [Components changelog](/packages/components/CHANGELOG.md) |
| [Internet Header](https://next.design-system.post.ch/?path=/docs/9b02bcb2-3b6a-4271-b550-675a62ff3890--docs) | The header for client facing applications. | [![Internet Header package version shield for npm](https://img.shields.io/npm/v/%40swisspost%2Finternet-header?style=flat-square&logo=npm&label=%20&color=%23fc0)](https://www.npmjs.com/package/@swisspost/internet-header) | [Interet Header changelog](/packages/internet-header/CHANGELOG.md) |
| [Intranet Header](https://next.design-system.post.ch/?path=/docs/d59a459b-6f14-47c6-9f98-a36a3f79a6e3--docs) | The Angular component for internal usage. | [![Intranet Header package version shield for npm](https://img.shields.io/npm/v/%40swisspost%2Fdesign-system-intranet-header?style=flat-square&logo=npm&label=%20&color=%23fc0)](https://www.npmjs.com/package/@swisspost/design-system-intranet-header) | [Intranet Header changelog](/packages/intranet-header-workspace/CHANGELOG.md) |
| [Icons](https://next.design-system.post.ch/?path=/docs/40ed323b-9c1a-42ab-91ed-15f97f214608--docs) | A collection of Post icons in svg format. | [![Icons package version shield for npm](https://img.shields.io/npm/v/%40swisspost%2Fdesign-system-icons?style=flat-square&logo=npm&label=%20&color=%23fc0)](https://www.npmjs.com/package/@swisspost/design-system-icons) | [Icons changelog](/packages/icons/CHANGELOG.md) |
| Name | Description | Version | Changelog URL |
| :------------------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------- |
| [Styles](https://design-system.post.ch/?path=/docs/e53e2de8-0bbf-4f70-babc-074c5466f700--docs) | The styling package, including theming for [Bootstrap](https://getbootstrap.com/) and [ng-bootstrap](https://ng-bootstrap.github.io/#/home) components. | [![Styles pacakge version shield for npm](https://img.shields.io/npm/v/%40swisspost%2Fdesign-system-styles?style=flat-square&logo=npm&label=%20&color=%23fc0)](https://www.npmjs.com/package/@swisspost/design-system-styles) | [Styles changelog](/packages/styles/CHANGELOG.md) |
| [Components](https://design-system.post.ch/?path=/docs/edfb619b-fda1-4570-bf25-20830303d483--docs) | A set of standard web components for easy integration with every framework or no framework at all. | [![Components package version shield for npm](https://img.shields.io/npm/v/%40swisspost%2Fdesign-system-components?style=flat-square&logo=npm&label=%20&color=%23fc0)](https://www.npmjs.com/package/@swisspost/design-system-components) | [Components changelog](/packages/components/CHANGELOG.md) |
| [Internet Header](https://design-system.post.ch/?path=/docs/9b02bcb2-3b6a-4271-b550-675a62ff3890--docs) | The header for client facing applications. | [![Internet Header package version shield for npm](https://img.shields.io/npm/v/%40swisspost%2Finternet-header?style=flat-square&logo=npm&label=%20&color=%23fc0)](https://www.npmjs.com/package/@swisspost/internet-header) | [Interet Header changelog](/packages/internet-header/CHANGELOG.md) |
| [Intranet Header](https://design-system.post.ch/?path=/docs/d59a459b-6f14-47c6-9f98-a36a3f79a6e3--docs) | The Angular component for internal usage. | [![Intranet Header package version shield for npm](https://img.shields.io/npm/v/%40swisspost%2Fdesign-system-intranet-header?style=flat-square&logo=npm&label=%20&color=%23fc0)](https://www.npmjs.com/package/@swisspost/design-system-intranet-header) | [Intranet Header changelog](/packages/intranet-header-workspace/CHANGELOG.md) |
| [Icons](https://design-system.post.ch/?path=/docs/40ed323b-9c1a-42ab-91ed-15f97f214608--docs) | A collection of Post icons in svg format. | [![Icons package version shield for npm](https://img.shields.io/npm/v/%40swisspost%2Fdesign-system-icons?style=flat-square&logo=npm&label=%20&color=%23fc0)](https://www.npmjs.com/package/@swisspost/design-system-icons) | [Icons changelog](/packages/icons/CHANGELOG.md) |

## Contribute

Expand Down
2 changes: 1 addition & 1 deletion packages/components-angular/projects/components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A collection of angular-components built with Stencil JS for the Swiss Post Desi

## Documentation

- Technical docs: [Swiss Post Design System](https://next.design-system.post.ch)
- Technical docs: [Swiss Post Design System](https://design-system.post.ch)

## Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A collection of web components built with Stencil JS for the Swiss Post Design S

## Documentation

- Technical docs: [Swiss Post Design System](https://next.design-system.post.ch)
- Technical docs: [Swiss Post Design System](https://design-system.post.ch)
- Design docs: [Experience Hub](https://www.experience-hub.ch/document/2803)

## Installation
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
<a
ngbDropdownItem
[ngClass]="{ active: router.url.indexOf('/post-samples/intranet-layout') > -1 }"
href="https://next.design-system.post.ch/?path=/docs/9b02bcb2-3b6a-4271-b550-675a62ff3890--docs"
href="https://design-system.post.ch/?path=/docs/9b02bcb2-3b6a-4271-b550-675a62ff3890--docs"
>
Internet header
<i style="height: 1em" aria-hidden="true" class="pi pi-2038"></i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h1 class="bold font-curve-large">Accordion</h1>
<p>
For a similar behavior, check out our new
<a
href="https://next.design-system.post.ch/?path=/docs/4d1b4185-e04d-494a-ab38-2b56c1778b0b--docs"
href="https://design-system.post.ch/?path=/docs/4d1b4185-e04d-494a-ab38-2b56c1778b0b--docs"
rel="noopener"
target="_blank"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h5>Dismissible alerts are deprecated</h5>
<p>
There already exists a
<a
href="https://next.design-system.post.ch/?path=/docs/105e67d8-31e9-4d0b-87ff-685aba31fd4c--docs"
href="https://design-system.post.ch/?path=/docs/105e67d8-31e9-4d0b-87ff-685aba31fd4c--docs"
>
web component
</a>
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h4 class="alert-heading">
</p>
<div class="mt-3">
<a
href="https://next.design-system.post.ch"
href="https://design-system.post.ch"
rel="noopener"
target="_blank"
class="btn btn-primary"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ <h2 class="h5">We have something new for you!</h2>
switch to the brand new icon component
<code>post-icon</code>
today. Go ahead and have a look at the
<a
href="https://next.design-system.post.ch/?path=/docs/40ed323b-9c1a-42ab-91ed-15f97f214608--docs"
>
<a href="https://design-system.post.ch/?path=/docs/40ed323b-9c1a-42ab-91ed-15f97f214608--docs">
brand new icons documentation
</a>
featuring a search and over 800 icons.
</p>
<p class="mt-3">
<a
href="https://next.design-system.post.ch/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs"
href="https://design-system.post.ch/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs"
class="btn btn-primary"
>
Discover the new icons
Expand Down
4 changes: 2 additions & 2 deletions packages/documentation/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ const config: StorybookConfig = {
STORYBOOK_GTM_PAGE_CONTEXT_SOURCE_CODE_VERSION: pkg.version,
STORYBOOK_GTM_PAGE_CONTEXT_ENVIRONMENT_DEV: 'localhost',
STORYBOOK_GTM_PAGE_CONTEXT_ENVIRONMENT_INT: 'preview-',
STORYBOOK_GTM_PAGE_CONTEXT_ENVIRONMENT_PROD: 'design-system.post.ch,next.design-system.post.ch',
STORYBOOK_GTM_PAGE_CONTEXT_ENVIRONMENT_PROD: 'design-system.post.ch',
STORYBOOK_GTM_PAGE_CONTEXT_ENVIRONMENT_FALLBACK: 'dev',
STORYBOOK_BASE_URL: 'https://next.design-system-post.ch',
STORYBOOK_BASE_URL: 'https://design-system.post.ch',
}),
async viteFinal(config, options) {
return mergeConfig(config, {
Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Includes stories for the following packages:

## Documentation

- Technical docs: [Swiss Post Design System](https://next.design-system.post.ch)
- Technical docs: [Swiss Post Design System](https://design-system.post.ch)
- Design docs: [Experience Hub](https://www.experience-hub.ch/document/2803)

## Contribute
Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "git",
"url": "https://github.com/swisspost/design-system.git"
},
"homepage": "https://next.design-system.post.ch",
"homepage": "https://design-system.post.ch",
"bugs": {
"url": "https://github.com/swisspost/design-system/issues"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/icons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Icons for the Swiss Post Design System.

## Documentation

- Icon search: https://next.design-system.post.ch/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs
- `post-icon` component: https://next.design-system.post.ch/?path=/docs/0dcfe3c0-bfc0-4107-b43b-7e9d825b805f--docs
- Icon search: https://design-system.post.ch/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs
- `post-icon` component: https://design-system.post.ch/?path=/docs/0dcfe3c0-bfc0-4107-b43b-7e9d825b805f--docs

## Adding new icons

Expand Down
2 changes: 1 addition & 1 deletion packages/internet-header/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "git",
"url": "https://github.com/swisspost/design-system.git"
},
"homepage": "https://next.design-system.post.ch",
"homepage": "https://design-system.post.ch",
"bugs": {
"url": "https://github.com/swisspost/design-system/issues"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/internet-header/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The official Swiss Post Internet Header implementation, built with [Stencil JS](

The header docs are part of the storybook docs for the Design System.

[Internet Header Documentation](https://next.design-system.post.ch/?path=/docs/9b02bcb2-3b6a-4271-b550-675a62ff3890--docs)
[Internet Header Documentation](https://design-system.post.ch/?path=/docs/9b02bcb2-3b6a-4271-b550-675a62ff3890--docs)

## Installation

Expand Down Expand Up @@ -66,6 +66,7 @@ Make sure to replace `{version}` with the version you want to use or remove `@{v
</script>
</html>
```

#### Bare component

```html
Expand Down

0 comments on commit 879883f

Please sign in to comment.