From 879883f04d38c2029201f6de12452d4729a8a2f9 Mon Sep 17 00:00:00 2001 From: Philipp Gfeller <1659006+gfellerph@users.noreply.github.com> Date: Mon, 18 Mar 2024 09:25:17 +0100 Subject: [PATCH] chore: change refs from next to main docs URL (#2802) --- .changeset/polite-eggs-sell.md | 6 ++++++ README.md | 18 ++++++++---------- .../projects/components/README.md | 2 +- packages/components/README.md | 2 +- packages/demo/src/app/app.component.html | 2 +- .../accordion-demo-page.component.html | 2 +- .../alert-demo-page.component.html | 2 +- packages/demo/src/app/home/home.component.html | 2 +- .../icons-demo-page.component.html | 6 ++---- packages/documentation/.storybook/main.ts | 4 ++-- packages/documentation/README.md | 2 +- packages/documentation/package.json | 2 +- packages/icons/README.md | 4 ++-- packages/internet-header/package.json | 2 +- packages/internet-header/readme.md | 3 ++- 15 files changed, 31 insertions(+), 28 deletions(-) create mode 100644 .changeset/polite-eggs-sell.md diff --git a/.changeset/polite-eggs-sell.md b/.changeset/polite-eggs-sell.md new file mode 100644 index 0000000000..18527e8724 --- /dev/null +++ b/.changeset/polite-eggs-sell.md @@ -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 diff --git a/README.md b/README.md index 4f258655d6..ef2e885da4 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,7 @@ 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 @@ -16,13 +14,13 @@ The Swiss Post Design System pattern library for a unified and accessible user e ## 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 diff --git a/packages/components-angular/projects/components/README.md b/packages/components-angular/projects/components/README.md index c4b46f1ddb..d623131195 100644 --- a/packages/components-angular/projects/components/README.md +++ b/packages/components-angular/projects/components/README.md @@ -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 diff --git a/packages/components/README.md b/packages/components/README.md index e9d1a075b8..90e6176a11 100644 --- a/packages/components/README.md +++ b/packages/components/README.md @@ -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 diff --git a/packages/demo/src/app/app.component.html b/packages/demo/src/app/app.component.html index 21d8b95b74..504c069775 100644 --- a/packages/demo/src/app/app.component.html +++ b/packages/demo/src/app/app.component.html @@ -378,7 +378,7 @@ Internet header diff --git a/packages/demo/src/app/bootstrap/components/accordion/accordion-demo-page/accordion-demo-page.component.html b/packages/demo/src/app/bootstrap/components/accordion/accordion-demo-page/accordion-demo-page.component.html index cb701ad125..b5ce4cf38d 100644 --- a/packages/demo/src/app/bootstrap/components/accordion/accordion-demo-page/accordion-demo-page.component.html +++ b/packages/demo/src/app/bootstrap/components/accordion/accordion-demo-page/accordion-demo-page.component.html @@ -8,7 +8,7 @@

Accordion

For a similar behavior, check out our new diff --git a/packages/demo/src/app/bootstrap/components/alert/alert-demo-page/alert-demo-page.component.html b/packages/demo/src/app/bootstrap/components/alert/alert-demo-page/alert-demo-page.component.html index 21c19aa712..5fbde73b66 100644 --- a/packages/demo/src/app/bootstrap/components/alert/alert-demo-page/alert-demo-page.component.html +++ b/packages/demo/src/app/bootstrap/components/alert/alert-demo-page/alert-demo-page.component.html @@ -35,7 +35,7 @@

Dismissible alerts are deprecated

There already exists a web component diff --git a/packages/demo/src/app/home/home.component.html b/packages/demo/src/app/home/home.component.html index df62b9177d..f63be124d8 100644 --- a/packages/demo/src/app/home/home.component.html +++ b/packages/demo/src/app/home/home.component.html @@ -62,7 +62,7 @@

We have something new for you!

switch to the brand new icon component post-icon today. Go ahead and have a look at the - + brand new icons documentation featuring a search and over 800 icons.

Discover the new icons diff --git a/packages/documentation/.storybook/main.ts b/packages/documentation/.storybook/main.ts index aa5d72ea85..b32da12853 100644 --- a/packages/documentation/.storybook/main.ts +++ b/packages/documentation/.storybook/main.ts @@ -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, { diff --git a/packages/documentation/README.md b/packages/documentation/README.md index 28c7d5b643..5cc4ff97f3 100644 --- a/packages/documentation/README.md +++ b/packages/documentation/README.md @@ -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 diff --git a/packages/documentation/package.json b/packages/documentation/package.json index 23f361239c..72516d4507 100644 --- a/packages/documentation/package.json +++ b/packages/documentation/package.json @@ -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" }, diff --git a/packages/icons/README.md b/packages/icons/README.md index f711b5e122..dc8863e76e 100644 --- a/packages/icons/README.md +++ b/packages/icons/README.md @@ -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 diff --git a/packages/internet-header/package.json b/packages/internet-header/package.json index 74504087ae..9fc35d4a84 100644 --- a/packages/internet-header/package.json +++ b/packages/internet-header/package.json @@ -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" }, diff --git a/packages/internet-header/readme.md b/packages/internet-header/readme.md index 88120b618f..0dc8ce80c7 100644 --- a/packages/internet-header/readme.md +++ b/packages/internet-header/readme.md @@ -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 @@ -66,6 +66,7 @@ Make sure to replace `{version}` with the version you want to use or remove `@{v ``` + #### Bare component ```html