diff --git a/.github/actions/deploy-to-netlify/action.yaml b/.github/actions/deploy-to-netlify/action.yaml
deleted file mode 100644
index 0072f6fbcc..0000000000
--- a/.github/actions/deploy-to-netlify/action.yaml
+++ /dev/null
@@ -1,51 +0,0 @@
-###
-#
-# DEPRECATED: This Action can be removed, as soon as we remove deploy-demo.yaml
-#
-###
-
-name: Deploy to Netlify
-description: Deploys dist folder to Netlify. Make sure you set up node and pnpm before!
-
-inputs:
- id:
- description: The build id
- required: true
- netlify_auth_token:
- description: Netlify personal-access-token for use in shell scripts and API access.
- required: true
- netlify_site_id:
- description: Netlify site-id
- required: true
- netlify_site_url:
- description: The netlify base-url (incl. subdomain)
- folder:
- description: Path to the folder to deploy
- required: true
- package_name:
- description: The package that will be deployed
- required: true
-
-outputs:
- preview-url:
- description: The deployed preview url.
- value: https://${{ steps.netlify_deploy.outputs.url_alias }}--${{ inputs.netlify_site_url }}
-
-runs:
- using: composite
- steps:
- - name: Install netlify-cli
- shell: bash
- run: pnpm i -g netlify-cli@16
-
- - 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
- 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`
- echo "url_alias=$url_alias" >> $GITHUB_OUTPUT
- netlify deploy --filter ${{inputs.package_name}} --build false --dir ${{ inputs.folder }} --alias $url_alias
diff --git a/.github/workflows/build-demo.yaml b/.github/workflows/build-demo.yaml
deleted file mode 100644
index 1d8c7b52be..0000000000
--- a/.github/workflows/build-demo.yaml
+++ /dev/null
@@ -1,43 +0,0 @@
-###
-#
-# DEPRECATED: This Action can be removed as soon as we start working on V2/V9
-#
-###
-
-name: Build Demo App
-on:
- pull_request:
- types: [opened, synchronize, edited, reopened]
- paths:
- - 'packages/intranet-header-workspace/**'
- - 'packages/demo/**'
- - 'packages/styles/src/**'
- - 'packages/styles/*'
- - '!packages/styles/jest.*'
-
-jobs:
- build:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Create preview message
- uses: ./.github/actions/preview/message/create
- with:
- access-token: ${{ secrets.SWISSPOSTDEVS_ACCESS_TOKEN }}
-
- - name: Setup
- uses: ./.github/actions/setup-pnpm
-
- - name: Bootstrap & Build Design System
- run: |
- pnpm --filter design-system-demo... install
- pnpm --filter design-system-demo... build
-
- - name: Upload build artifacts
- uses: ./.github/actions/artifact-upload
- with:
- name: design-system-demo
- folder: packages/demo/dist/demo
diff --git a/.github/workflows/deploy-demo.yaml b/.github/workflows/deploy-demo.yaml
deleted file mode 100644
index c2ae152420..0000000000
--- a/.github/workflows/deploy-demo.yaml
+++ /dev/null
@@ -1,51 +0,0 @@
-###
-#
-# DEPRECATED: This Action can be removed as soon as we start working on V2/V9
-#
-###
-
-name: Deploy Demo App Preview to Netlify
-on:
- workflow_run:
- workflows: ['Build Demo App']
- types:
- - completed
-
-jobs:
- deploy:
- runs-on: ubuntu-latest
- if: >
- ${{ github.event.workflow_run.event == 'pull_request' &&
- github.event.workflow_run.conclusion == 'success' }}
-
- steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Setup
- uses: ./.github/actions/setup-pnpm
-
- - name: Download build artifacts
- uses: ./.github/actions/artifact-download
- id: build
- with:
- name: design-system-demo
- folder: build-output
-
- - name: Deploy demo app to netlify
- uses: ./.github/actions/deploy-to-netlify
- id: deploy
- with:
- id: ${{ steps.build.outputs.id }}
- netlify_auth_token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
- netlify_site_id: ${{ secrets.NETLIFY_SITE_ID }}
- netlify_site_url: swisspost-web-frontend.netlify.app
- folder: ${{ steps.build.outputs.folder }}
- package_name: '@swisspost/design-system-demo'
-
- - name: Update preview message
- uses: ./.github/actions/preview/message/update
- with:
- access-token: ${{ secrets.SWISSPOSTDEVS_ACCESS_TOKEN }}
- issue-number: ${{ steps.build.outputs.id }}
- preview-url: ${{ steps.deploy.outputs.preview-url }}
diff --git a/.github/workflows/release-demo.yaml b/.github/workflows/release-demo.yaml
deleted file mode 100644
index 095ab47e5f..0000000000
--- a/.github/workflows/release-demo.yaml
+++ /dev/null
@@ -1,59 +0,0 @@
-###
-#
-# DEPRECATED: This Action can be removed as soon as we start working on V2/V9
-#
-###
-
-name: Release Demo App to Netlify
-
-on:
- push:
- branches:
- - main
- paths:
- - 'packages/demo/package.json'
-
-concurrency: ${{ github.workflow }}-${{ github.ref }}
-
-jobs:
- release:
- name: Release demo
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Check if version has changed
- id: check # This will be the reference for getting the outputs.
- uses: EndBug/version-check@v2 # You can choose the version/branch you prefer.
- with:
- file-name: ./packages/demo/package.json
- diff-search: true
- token: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Setup
- if: steps.check.outputs.changed == 'true'
- uses: ./.github/actions/setup-pnpm
-
- # Install changesets locally
- - name: Install demo app & dependencies
- if: steps.check.outputs.changed == 'true'
- run: pnpm --filter "design-system-demo..." install
-
- # Build the demo app and it's dependencies
- - name: Build demo app & dependencies
- if: steps.check.outputs.changed == 'true'
- run: pnpm --filter "design-system-demo..." build
-
- - name: Install netlify cli
- if: steps.check.outputs.changed == 'true'
- run: pnpm -g i netlify-cli@16
-
- # Publish demo only if changesets published any packages
- - name: Publish demo app to netlify
- id: netlify
- if: steps.check.outputs.changed == 'true'
- env:
- NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
- NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
- run: netlify deploy --filter @swisspost/design-system-demo --build false --dir packages/demo/dist/demo --prod
diff --git a/package.json b/package.json
index 420767e2c7..dd6dc8fb92 100644
--- a/package.json
+++ b/package.json
@@ -20,10 +20,6 @@
"e2e": "start-server-and-test docs:headless 9001 'pnpm -r --stream e2e'",
"e2e:ci": "start-server-and-test docs:headless 9001 'pnpm --filter \"...[origin/main]\" --stream e2e:ci'",
"snapshots": "start-server-and-test 'pnpm docs:headless' 9001 'pnpm --filter design-system-documentation snapshots'",
- "demo": "pnpm demo:start",
- "demo:start": "pnpm --filter design-system-demo... --parallel --stream start",
- "demo:build": "pnpm --filter design-system-demo build",
- "demo:lint": "pnpm --filter design-system-demo lint",
"docs": "pnpm docs:start",
"docs:only": "pnpm --filter design-system-documentation start",
"docs:start": "pnpm --filter design-system-tokens build && pnpm --filter design-system-documentation... --parallel --stream start",
diff --git a/packages/demo/.browserslistrc b/packages/demo/.browserslistrc
deleted file mode 100644
index fc36a98c36..0000000000
--- a/packages/demo/.browserslistrc
+++ /dev/null
@@ -1,17 +0,0 @@
-# Swiss Post Browsersupport
-
-# https://web.post.ch/postweb/-/media/Corp/Intranet/Service-Portal/Kommunikation/Digital/Onlineredaktion/Dokumente/Browserunterst%C3%BCtzung.PDF
-
-# This file configures autoprefixer used in the build script
-
-# Docs: https://github.com/browserslist/browserslist
-
-last 2 Chrome versions
-last 2 Firefox versions
-last 2 Edge versions
-last 2 Safari versions
-last 2 iOS versions
-last 2 ChromeAndroid versions
-last 2 Samsung versions
-> 2%
-not dead
\ No newline at end of file
diff --git a/packages/demo/.editorconfig b/packages/demo/.editorconfig
deleted file mode 100644
index 6e87a003da..0000000000
--- a/packages/demo/.editorconfig
+++ /dev/null
@@ -1,13 +0,0 @@
-# Editor configuration, see http://editorconfig.org
-root = true
-
-[*]
-charset = utf-8
-indent_style = space
-indent_size = 2
-insert_final_newline = true
-trim_trailing_whitespace = true
-
-[*.md]
-max_line_length = off
-trim_trailing_whitespace = false
diff --git a/packages/demo/.eslintrc.js b/packages/demo/.eslintrc.js
deleted file mode 100644
index 8cdb7af815..0000000000
--- a/packages/demo/.eslintrc.js
+++ /dev/null
@@ -1,41 +0,0 @@
-module.exports = {
- root: true,
- ignorePatterns: ['.eslintrc.js', 'dist', '.angular'],
- overrides: [
- {
- files: ['*.ts'],
- parserOptions: {
- project: ['tsconfig.json'],
- tsconfigRootDir: __dirname,
- createDefaultProgram: true,
- },
- extends: [
- 'plugin:@angular-eslint/recommended',
- 'plugin:@angular-eslint/template/process-inline-templates',
- ],
- rules: {
- '@angular-eslint/directive-selector': [
- 'error',
- {
- type: 'attribute',
- prefix: 'app',
- style: 'camelCase',
- },
- ],
- '@angular-eslint/component-selector': [
- 'error',
- {
- type: 'element',
- prefix: 'app',
- style: 'kebab-case',
- },
- ],
- },
- },
- {
- files: ['*.html'],
- extends: ['plugin:@angular-eslint/template/recommended'],
- rules: {},
- },
- ],
-};
diff --git a/packages/demo/.gitignore b/packages/demo/.gitignore
deleted file mode 100644
index 84c8d4f093..0000000000
--- a/packages/demo/.gitignore
+++ /dev/null
@@ -1,40 +0,0 @@
-# See http://help.github.com/ignore-files/ for more about ignoring files.
-
-# compiled output
-/dist
-/tmp
-/out-tsc
-
-# dependencies
-/node_modules
-
-# IDEs and editors
-/.idea
-.project
-.classpath
-.c9/
-*.launch
-.settings/
-*.sublime-workspace
-
-# IDE - VSCode
-.vscode/*
-!.vscode/settings.json
-!.vscode/tasks.json
-!.vscode/launch.json
-!.vscode/extensions.json
-
-# misc
-/.angular/cache
-/.sass-cache
-/connect.lock
-/coverage
-/libpeerconnection.log
-npm-debug.log
-yarn-error.log
-testem.log
-/typings
-
-# System Files
-.DS_Store
-Thumbs.db
diff --git a/packages/demo/CHANGELOG.md b/packages/demo/CHANGELOG.md
deleted file mode 100644
index 75cae824e0..0000000000
--- a/packages/demo/CHANGELOG.md
+++ /dev/null
@@ -1,680 +0,0 @@
-# @swisspost/design-system-demo
-
-## 8.0.3-next.0
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@9.0.0-next.0
- - @swisspost/design-system-intranet-header@9.0.0-next.0
- - @swisspost/design-system-migrations@9.0.0-next.0
-
-## 8.0.2
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@8.2.0
- - @swisspost/design-system-intranet-header@8.2.0
- - @swisspost/design-system-migrations@8.2.0
-
-## 8.0.1
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@8.1.0
- - @swisspost/design-system-intranet-header@8.1.0
- - @swisspost/design-system-migrations@8.1.0
-
-## 8.0.0
-
-### Major Changes
-
-- Upgraded to Angular 18 (by [@gfellerph](https://github.com/gfellerph) with [#3243](https://github.com/swisspost/design-system/pull/3243))
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@8.0.0
- - @swisspost/design-system-intranet-header@8.0.0
- - @swisspost/design-system-migrations@8.0.0
-
-## 7.3.6
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@7.4.0
- - @swisspost/design-system-intranet-header@7.4.0
- - @swisspost/design-system-migrations@7.4.0
-
-## 7.3.5
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@7.3.1
- - @swisspost/design-system-intranet-header@7.3.1
- - @swisspost/design-system-migrations@7.3.1
-
-## 7.3.4
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@7.3.0
- - @swisspost/design-system-intranet-header@7.3.0
- - @swisspost/design-system-migrations@7.3.0
-
-## 7.3.3
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@7.2.1
- - @swisspost/design-system-intranet-header@7.2.1
- - @swisspost/design-system-migrations@7.2.1
-
-## 7.3.2
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@7.2.0
- - @swisspost/design-system-intranet-header@7.2.0
- - @swisspost/design-system-migrations@7.2.0
-
-## 7.3.1
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@7.1.0
- - @swisspost/design-system-intranet-header@7.1.0
- - @swisspost/design-system-migrations@7.1.0
-
-## 7.3.0
-
-### Minor Changes
-
-- Changed mobile navigation trigger to make it more accessible by default using a button element. (by [@imagoiq](https://github.com/imagoiq) with [#2834](https://github.com/swisspost/design-system/pull/2834))
-
-### Patch Changes
-
-- Updated instructions to run the automated migrations from the migration package. (by [@alizedebray](https://github.com/alizedebray) with [#2783](https://github.com/swisspost/design-system/pull/2783))
-
-- Fixed display of version switcher with new versions.json file. (by [@imagoiq](https://github.com/imagoiq) with [#2838](https://github.com/swisspost/design-system/pull/2838))
-
-- Refactored brand colors. Renamed `$gray-background` SCSS variable to `$gray` and removed `$gray-background-light` variable because it is a duplication of the already existing variable `$light`.
- Updated the usage of said variables in dependant packages accordingly. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/2861))
-
-- 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 (by [@gfellerph](https://github.com/gfellerph) with [#2802](https://github.com/swisspost/design-system/pull/2802))
-
-- Updated Sass color variables: - Removed variables `$success-green`, `$error-red`, `$warning-orange`, `$success-text`, `$error-text`, `$danger` as well as the Sass map `$contextual-colors`.
- Instead use the variables `$success`, `$error`, `$warning` and the Sass map `$signal-colors`.
-
- - Updated the Sass map `$signal-colors` keys and added a new Sass map `$signal-background-colors`.
- - Updated the Sass map `$background-colors` and all the dependant packages accordingly.
-
- With the exception of the components `notification`, `toast` and `tag`, there is no component providing a `danger` variant anymore. Instead use the `error` variant. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2861](https://github.com/swisspost/design-system/pull/2861))
-
-- Updated Angular to version 17. (by [@alizedebray](https://github.com/alizedebray) with [#2760](https://github.com/swisspost/design-system/pull/2760))
-- Updated dependencies:
- - @swisspost/design-system-styles@7.0.0
- - @swisspost/design-system-migrations@7.0.0
- - @swisspost/design-system-intranet-header@7.0.0
-
-## 7.2.4
-
-### Patch Changes
-
-- Fixed broken links. (by [@alizedebray](https://github.com/alizedebray) with [#2756](https://github.com/swisspost/design-system/pull/2756))
-- Updated dependencies:
- - @swisspost/design-system-styles@6.6.4
- - @swisspost/design-system-intranet-header@5.0.11
-
-## 7.2.3
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@6.6.3
- - @swisspost/design-system-intranet-header@5.0.10
-
-## 7.2.2
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@6.6.2
- - @swisspost/design-system-intranet-header@5.0.9
-
-## 7.2.1
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@6.6.1
- - @swisspost/design-system-intranet-header@5.0.8
-
-## 7.2.0
-
-### Minor Changes
-
-- Added internationalization guidelines for the following ng-bootstrap components: alert, carousel, datepicker, pagination, and timepicker. (by [@alizedebray](https://github.com/alizedebray) with [#2517](https://github.com/swisspost/design-system/pull/2517))
-
-### Patch Changes
-
-- Updated copyright year to 2024 in the footer of all documentation. (by [@imagoiq](https://github.com/imagoiq) with [#2491](https://github.com/swisspost/design-system/pull/2491))
-
-- Fixed links to new icons documentation. (by [@imagoiq](https://github.com/imagoiq) with [#2402](https://github.com/swisspost/design-system/pull/2402))
-- Updated dependencies:
- - @swisspost/design-system-styles@6.6.0
- - @swisspost/design-system-intranet-header@5.0.7
-
-## 7.1.2
-
-### Patch Changes
-
-- Documented how to translate specific labels on the ng-bootstrap datepicker. (by [@imagoiq](https://github.com/imagoiq) with [#2315](https://github.com/swisspost/design-system/pull/2315))
-- Updated dependencies:
- - @swisspost/design-system-styles@6.5.1
- - @swisspost/design-system-intranet-header@5.0.6
-
-## 7.1.1
-
-### Patch Changes
-
-- Updated ng-bootstrap component-based accordion example in favor of the directive-based implementation. (by [@gfellerph](https://github.com/gfellerph) with [#2368](https://github.com/swisspost/design-system/pull/2368))
-
-- Deprecated Bootstrap accordions in favor of the post-accordion web component. (by [@alizedebray](https://github.com/alizedebray) with [#2310](https://github.com/swisspost/design-system/pull/2310))
-
-- Update the commands to run the Design System migrations. (by [@alizedebray](https://github.com/alizedebray) with [#2270](https://github.com/swisspost/design-system/pull/2270))
-- Updated dependencies:
- - @swisspost/design-system-styles@6.5.0
- - @swisspost/design-system-intranet-header@5.0.5
-
-## 7.1.0
-
-### Minor Changes
-
-- Added link to new documentation (by [@davidritter-dotcom](https://github.com/davidritter-dotcom) with [#2142](https://github.com/swisspost/design-system/pull/2142))
-
-- Deprecated standard HTML alerts with a close button in favor of the `post-alert` component designed to correctly handle the dismissal animation. (by [@b1aserlu](https://github.com/b1aserlu) with [#2239](https://github.com/swisspost/design-system/pull/2239))
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@6.4.4
-
-## 7.0.4
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@6.4.4
- - @swisspost/design-system-intranet-header@5.0.4
-
-## 7.0.3
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@6.4.3
- - @swisspost/design-system-intranet-header@5.0.3
-
-## 7.0.2
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@6.4.2
- - @swisspost/design-system-intranet-header@5.0.2
-
-## 7.0.1
-
-### Patch Changes
-
-- Updated the installation intructions for the Intranet Header. (by [@alizedebray](https://github.com/alizedebray) with [#1942](https://github.com/swisspost/design-system/pull/1942))
-
-- Added deprecation alerts for `.form-control-rg`, `.form-control-md`, `.form-select-rg` and `.form-select-md` form-control variants. (by [@b1aserlu](https://github.com/b1aserlu) with [#1882](https://github.com/swisspost/design-system/pull/1882))
-
-- Fixed ngBootstrap documentation links. (by [@imagoiq](https://github.com/imagoiq) with [#1987](https://github.com/swisspost/design-system/pull/1987))
-- Updated dependencies:
- - @swisspost/design-system-intranet-header@5.0.1
- - @swisspost/design-system-styles@6.4.1
-
-## 7.0.0
-
-### Major Changes
-
-- Upgraded major version of Angular from v15 to v16. (by [@imagoiq](https://github.com/imagoiq) with [#1920](https://github.com/swisspost/design-system/pull/1920))
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-intranet-header@5.0.0
- - @swisspost/design-system-styles@6.4.0
-
-## 6.1.2
-
-### Patch Changes
-
-- Patched the documentation release workflow (by [@gfellerph](https://github.com/gfellerph) with [#1896](https://github.com/swisspost/design-system/pull/1896))
-
-## 6.1.1
-
-### Patch Changes
-
-- 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. (by [@b1aserlu](https://github.com/b1aserlu) with [#1856](https://github.com/swisspost/design-system/pull/1856))
-
-- Deprecated the `.pi-calendar` class in favor of the `.pi-3203` class to display the calendar icon in the datepicker. (by [@alizedebray](https://github.com/alizedebray) with [#1806](https://github.com/swisspost/design-system/pull/1806))
-- Updated dependencies:
- - @swisspost/design-system-styles@6.4.0
- - @swisspost/design-system-intranet-header@4.0.10
-
-## 6.1.0
-
-### Minor Changes
-
-- Added a gray notification variant for cookie banners. (by [@alizedebray](https://github.com/alizedebray) with [#1350](https://github.com/swisspost/design-system/pull/1350))
-
-### Patch Changes
-
-- Stepper: Remove interactivity on inactive next steps. (by [@imagoiq](https://github.com/imagoiq) with [#1646](https://github.com/swisspost/design-system/pull/1646))
-- Updated dependencies:
- - @swisspost/design-system-styles@6.3.0
- - @swisspost/design-system-intranet-header@4.0.9
-
-## 6.0.8
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@6.2.6
- - @swisspost/design-system-intranet-header@4.0.8
-
-## 6.0.7
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@6.2.5
- - @swisspost/design-system-intranet-header@4.0.7
-
-## 6.0.6
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@6.2.4
- - @swisspost/design-system-intranet-header@4.0.6
-
-## 6.0.5
-
-### Patch Changes
-
-- Fixed broken links to the storybook documentation. (by [@alizedebray](https://github.com/alizedebray) with [#1514](https://github.com/swisspost/design-system/pull/1514))
-
-- Updated the link in the demo app, to the internet-header documentation. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#1528](https://github.com/swisspost/design-system/pull/1528))
-- Updated dependencies:
- - @swisspost/design-system-styles@6.2.3
- - @swisspost/design-system-intranet-header@4.0.5
-
-## 6.0.4
-
-### Patch Changes
-
-- Update migration guide with installation instructions for precise major versions. (by [@gfellerph](https://github.com/gfellerph) with [#1473](https://github.com/swisspost/design-system/pull/1473))
-
-- Updated the version selector to correctly display the current demo version. (by [@alizedebray](https://github.com/alizedebray) with [#1502](https://github.com/swisspost/design-system/pull/1502))
-
-- Fixed a regression for the stepper component. Completed items should be links with a href attribute (or a routerLink in Angular) so users can navigate back to previous steps. (by [@gfellerph](https://github.com/gfellerph) with [#1497](https://github.com/swisspost/design-system/pull/1497))
-
-- Added a simple click listener for the stepper. It's now possible to click through the steps for testing purposes. (by [@gfellerph](https://github.com/gfellerph) with [#1317](https://github.com/swisspost/design-system/pull/1317))
-- Updated dependencies:
- - @swisspost/design-system-styles@6.2.2
- - @swisspost/design-system-intranet-header@4.0.4
-
-## 6.0.3
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@6.2.1
- - @swisspost/design-system-intranet-header@4.0.3
-
-## 6.0.2
-
-### Patch Changes
-
-- Updated the favicon and app-icons in the demo-app and the storybook documentation. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#1351](https://github.com/swisspost/design-system/pull/1351))
-- Updated dependencies:
- - @swisspost/design-system-styles@6.2.0
- - @swisspost/design-system-intranet-header@4.0.2
-
-## 6.0.1
-
-### Patch Changes
-
-- Updated the documentation for tooltips regarding the "auto" placement option which can be used to place the tooltip where it fits if there is not enough space for the initial placement. (by [@gfellerph](https://github.com/gfellerph) with [#1288](https://github.com/swisspost/design-system/pull/1288))
-
-- Added examples of button groups using reactive forms and having an option disabled. (by [@alizedebray](https://github.com/alizedebray) with [#1307](https://github.com/swisspost/design-system/pull/1307))
-
-- Fixed the favicon and app-icon setup. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#1296](https://github.com/swisspost/design-system/pull/1296))
-- Updated dependencies:
- - @swisspost/design-system-styles@6.1.0
- - @swisspost/design-system-intranet-header@4.0.1
-
-## 6.0.0
-
-### Major Changes
-
-- Removed documentation entry for the paragraph as duplicate, it's already documented under Typography (by [@gfellerph](https://github.com/gfellerph) with [#1238](https://github.com/swisspost/design-system/pull/1238))
-
-- Updated the markup for the stepper component in order to improve accessibility. Completed items now require the prefix "Complete" and incomplete steps are no longer links. (by [@gfellerph](https://github.com/gfellerph) with [#1232](https://github.com/swisspost/design-system/pull/1232))
-
-- Major dependency update. The following versions are now supported:
- - Angular 15
- - Bootstrap 5.2.3
- - ng-bootstrap 14 (by [@gfellerph](https://github.com/gfellerph) with [#1210](https://github.com/swisspost/design-system/pull/1210))
-
-### Minor Changes
-
-- Removed deprecated ng-bootstrap Checkbox and Radio buttons and replaced them with Bootstrap button groups. (by [@alizedebray](https://github.com/alizedebray) with [#1199](https://github.com/swisspost/design-system/pull/1199))
-
-- Added a version switch to the header to keep documentation for older versions available. (by [@gfellerph](https://github.com/gfellerph) with [#1241](https://github.com/swisspost/design-system/pull/1241))
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@6.0.0
- - @swisspost/design-system-intranet-header@4.0.0
-
-## 5.3.1
-
-### Patch Changes
-
-- Reverted the update to Bootstrap 5.2 and Angular 15. This update should have been a major release and will be re-released as such as soon as possible. (by [@gfellerph](https://github.com/gfellerph) with [#1207](https://github.com/swisspost/design-system/pull/1207))
-- Updated dependencies:
- - @swisspost/design-system-intranet-header@3.1.1
- - @swisspost/design-system-styles@5.4.1
-
-## 5.3.0
-
-### Minor Changes
-
-- Major dependency update. The following versions are now supported:
- - Angular 15
- - Bootstrap 5.2.3
- - ng-bootstrap 14 (by [@oliverschuerch](https://github.com/oliverschuerch) with [#1146](https://github.com/swisspost/design-system/pull/1146))
-
-### Patch Changes
-
-- Updated the angular version in the migration guide. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#1189](https://github.com/swisspost/design-system/pull/1189))
-- Updated dependencies:
- - @swisspost/design-system-intranet-header@3.1.0
- - @swisspost/design-system-styles@5.4.0
-
-## 5.2.3
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@5.3.2
- - @swisspost/design-system-intranet-header@3.0.8
-
-## 5.2.2
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-intranet-header@3.0.7
- - @swisspost/design-system-styles@5.3.1
-
-## 5.2.1
-
-### Patch Changes
-
-- Added link to the new internet header documentation (by [@gfellerph](https://github.com/gfellerph) with [#1045](https://github.com/swisspost/design-system/pull/1045))
-
-## 5.2.0
-
-### Minor Changes
-
-- Added two new icons number 2307 (roll container) and 2308 (collection container) (by [@gfellerph](https://github.com/gfellerph) with [#977](https://github.com/swisspost/design-system/pull/977))
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@5.3.0
- - @swisspost/design-system-intranet-header@3.0.6
-
-## 5.1.5
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@5.2.0
- - @swisspost/design-system-intranet-header@3.0.5
-
-## 5.1.4
-
-### Patch Changes
-
-- Added import instructions to the intranet-header documentation (by [@riscie](https://github.com/riscie) with [#812](https://github.com/swisspost/design-system/pull/812))
-- Updated dependencies:
- - @swisspost/design-system-styles@5.1.3
- - @swisspost/design-system-intranet-header@3.0.4
-
-## 5.1.3
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@5.1.2
- - @swisspost/design-system-intranet-header@3.0.3
-
-## 5.1.2
-
-### Patch Changes
-
-- Updated dependencies:
- - @swisspost/design-system-styles@5.1.1
- - @swisspost/design-system-intranet-header@3.0.2
-
-## 5.1.1
-
-### Patch Changes
-
-- Updated migration documentation for post topic-teaser component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Update migration documentation for bootstrap button component btn-icon class.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Updated migration documentation for bootstrap blockquote component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Updated migration documentation for bootstrap blockquote component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Added migration documentation jquery accordion component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Updated the migration documentation for close-button.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Updated migration documentation for post custom-select component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Removed alert-fixed-bottom class requirement from bootstrap alert component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Updated migration documentation for bootstrap form-select component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Updated migration documentation rtl helper classes.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Updated migration documentation for bootstrap form-switch component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Moved form-label class requirement form controls to forms migration documentation.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Fixed and updated general classes bg-opacity migration documentation.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Updated migration documentation for ngbootstrap buttons component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Upated migration documentation for bootstrap `form-control`, `form-select` and `textarea` components.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Updated migration documentation post accordion component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-
-- Added migration documentation for general classes sr-only and sr-only-focusable.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#687](https://github.com/swisspost/design-system/pull/687)
-- Updated dependencies:
- - @swisspost/design-system-styles@5.1.0
- - @swisspost/design-system-intranet-header@3.0.1
-
-## 5.1.0
-
-### Minor Changes
-
-- Enabled code copy to clipboard
- by [@alizedebray](https://github.com/alizedebray) with [#714](https://github.com/swisspost/design-system/pull/714)
-
-## 5.0.1
-
-### Patch Changes
-
-- Added migration instructions for changed sass entry file names.
- by [@gfellerph](https://github.com/gfellerph) with [#696](https://github.com/swisspost/design-system/pull/696)
-
-- Updated the target Angular version to 14 in the migration instructions. The Intranet Header is not compatible with older versions.
- by [@gfellerph](https://github.com/gfellerph) with [#698](https://github.com/swisspost/design-system/pull/698)
-
-- Fixed typos in the migration docs and removed a duplicated entry
- by [@gfellerph](https://github.com/gfellerph) with [#688](https://github.com/swisspost/design-system/pull/688)
-
-- Switched to displaying the styles package version number instead of the demo app version number. The styles version is more important to developers than thenow disconnected demo version number
- by [@gfellerph](https://github.com/gfellerph) with [#689](https://github.com/swisspost/design-system/pull/689)
-
-## 5.0.0
-
-### Major Changes
-
-- Refactored the stepper component in order to facilitate its use within a project.
- by [@alizedebray](https://github.com/alizedebray) with [#308](https://github.com/swisspost/design-system/pull/308)
-
-- Refactored colors. Bootstrap overrides are now clearly separated from Design System colors and only Design System colors are used in the components. This change also prepares for a dynamic dark mode by offering CSS variables for background and text contrast colors (see `buttons.scss` for an example).
- by [@gfellerph](https://github.com/gfellerph) with [#96](https://github.com/swisspost/design-system/pull/96)
-
-- Added and extended grid-cols definition for `.topic-teaser-content` and `.topic-teaser-image-container` containers inside css and removed col classes from html. Improved image `aspect-ratios`, as well as `font-size` and `padding` of `.link-list` elements on smaller devices.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#310](https://github.com/swisspost/design-system/pull/310)
-
-- Renamed Common Web Frontend to Swiss Post Design System.
- by [@gfellerph](https://github.com/gfellerph) with [#355](https://github.com/swisspost/design-system/pull/355)
-
-- Upgraded to Angular to version 14.
- by [@gfellerph](https://github.com/gfellerph) with [#406](https://github.com/swisspost/design-system/pull/406)
-
-- Dropped rounded and colored badges, updated dismissible badges and added checkable badges.
- by [@alizedebray](https://github.com/alizedebray) with [#353](https://github.com/swisspost/design-system/pull/353)
-
-- Added `font-size` in `.link-list` elements, without a `font-size-curve` and removed the corresponding classes from the html-example.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#310](https://github.com/swisspost/design-system/pull/310)
-
-### Minor Changes
-
-- Added searchengine-, og- and twitter-metatags for better previews when sharing links.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#674](https://github.com/swisspost/design-system/pull/674)
-
-### Patch Changes
-
-- Added `ng update` command for the styles package to the migration documentation.
- by [@gfellerph](https://github.com/gfellerph) with [#548](https://github.com/swisspost/design-system/pull/548)
-
-- Added the html property `inputmode="decimal"` to the form-range example with text input control, to improve userexperience. This will open a number-only keyboard on mobile devices, when the user selects the input field.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#309](https://github.com/swisspost/design-system/pull/309)
-
-- Refactored dynamic attribute bindings. Refactored bindings from `class="class1 class2-{{ angularVariable }}"` to `class="class1" [class]="'class2-' + {{ angularVariable }}"`.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#626](https://github.com/swisspost/design-system/pull/626)
-
-- Updated entry file names for the styles package.
-
- ```scss
- @use '@swisspost/design-system-styles'; // Default internet styles
- @use '@swisspost/design-system-styles/intranet'; // Default intranet styles
- @use '@swisspost/design-system-styles/core' as post; // Variables, mixins, functions and placeholders
- ```
-
- 1. Default import is now as simple as possible.
- 2. Intranet styles are clearly named as such.
- 3. Core functionality is a clear name, but for consistency with other prefixes, the core module can be namespaced as post. The usage would then be `background-color: post.$yellow;`.
- by [@gfellerph](https://github.com/gfellerph) with [#389](https://github.com/swisspost/design-system/pull/389)
-
-- Fixed heading styles. This includes the html tags `h1`, `h2`, `h3`, `h4`, `h5` and `h6`, as well as there css-class pendants `.h1`, `h2`...
- by [@gfellerph](https://github.com/gfellerph) with [#115](https://github.com/swisspost/design-system/pull/115)
-
-- Updated sizes for button components and reduced CSS output size.
- by [@gfellerph](https://github.com/gfellerph) with [#103](https://github.com/swisspost/design-system/pull/103)
-
-- Refactored tabs component, to get rid of the css-class `text-auto`.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#187](https://github.com/swisspost/design-system/pull/187)
-
-- Added styles to show floating-label `placeholder` in empty form-select component like a default input placeholder.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#169](https://github.com/swisspost/design-system/pull/169)
-
-- Updated documentation on toast and alert components for improved accessibility and a better user experience.
- by [@gfellerph](https://github.com/gfellerph) with [#235](https://github.com/swisspost/design-system/pull/235)
-
-- Fixed floating-label placeholder visibility in textarea component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#390](https://github.com/swisspost/design-system/pull/390)
-
-- Fixed typo which prevented alert component from being closed properly.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#391](https://github.com/swisspost/design-system/pull/391)
-
-- Added styles and documentation for ng-datatable component loading indicator.
- by [@Janobob](https://github.com/Janobob) with [#7](https://github.com/swisspost/design-system/pull/7)
-
-- Moved timepicker validation fix from version 4 to version 5.
- by [@Janobob](https://github.com/Janobob) with [#14](https://github.com/swisspost/design-system/pull/14)
-
-- Added default timeout-options for the ngbToast component, to close toast properly after mouseenter/mouseleave events.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#436](https://github.com/swisspost/design-system/pull/436)
-
-- Deprecated the text on image card example and presented it as a no-go. It's very difficult for content editors to always ensure that text is legible on an image for every browser size and all different languages.
- by [@gfellerph](https://github.com/gfellerph) with [#387](https://github.com/swisspost/design-system/pull/387)
-
-- Included last 2 safari versions in the `.browserslistrc` and aligned `.browserslistrc` files in all projects.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#162](https://github.com/swisspost/design-system/pull/162)
-
-- Added label "deprecated" to the custom-select component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#416](https://github.com/swisspost/design-system/pull/416)
-
-- Updated ngb-collapsible demo code from the ng-bootstrap documentation. Improved performance of the demo and prevented margin collapse.
- by [@gfellerph](https://github.com/gfellerph) with [#386](https://github.com/swisspost/design-system/pull/386)
-
-- Refactored background classes (`.bg-{colorname}`) for the alert and notification component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#357](https://github.com/swisspost/design-system/pull/357)
-
-- Added `popover` example with markup.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#346](https://github.com/swisspost/design-system/pull/346)
-
-- Corrected and completed the property documentation for the intranet-header component.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#447](https://github.com/swisspost/design-system/pull/447)
-
-- Switched to the Apache 2.0 License.
- by [@gfellerph](https://github.com/gfellerph) with [#12](https://github.com/swisspost/design-system/pull/12)
-
-- Fixed heights on `.form-control-lg` and `.floating-label .form-control` elements. Removed some Design System only scss-variables.
- by [@oliverschuerch](https://github.com/oliverschuerch) with [#450](https://github.com/swisspost/design-system/pull/450)
-- Updated dependencies:
- - @swisspost/design-system-styles@5.0.0
- - @swisspost/design-system-intranet-header@3.0.0
diff --git a/packages/demo/LICENSE b/packages/demo/LICENSE
deleted file mode 100644
index 93eb480e35..0000000000
--- a/packages/demo/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright 2022 Swiss Post, Ltd.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/packages/demo/README.md b/packages/demo/README.md
deleted file mode 100644
index 5fc5f9cfad..0000000000
--- a/packages/demo/README.md
+++ /dev/null
@@ -1,29 +0,0 @@
-![Swiss Post Design System splash screen](https://github.com/swisspost/design-system/assets/1659006/e84f1fea-e666-4853-8c85-726a6bf22e6c)
-
-# Demo App
-
-Pattern documentation, code snippets and implementation guidelines for the Design System Styles.
-
-## Setup
-
-These contribution guidelines extend the [general contribution guidelines](../../CONTRIBUTING.md).
-
-## Starting the development server
-
-```bash
-npm start
-```
-
-The default URL is [`http://localhost:9010/`](http://localhost:9010/). The app will automatically reload if you change any of the source files.
-
-## Code scaffolding
-
-Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
-
-## Build
-
-Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
-
-## Further help
-
-To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
diff --git a/packages/demo/angular.json b/packages/demo/angular.json
deleted file mode 100644
index 91064f3b67..0000000000
--- a/packages/demo/angular.json
+++ /dev/null
@@ -1,117 +0,0 @@
-{
- "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
- "version": 1,
- "newProjectRoot": "projects",
- "projects": {
- "design-system-demo": {
- "root": "",
- "sourceRoot": "src",
- "projectType": "application",
- "prefix": "app",
- "schematics": {},
- "architect": {
- "build": {
- "builder": "@angular-devkit/build-angular:browser",
- "options": {
- "allowedCommonJsDependencies": ["bootstrap/js/dist/collapse", "prettier"],
- "outputPath": "dist/demo",
- "index": "src/index.html",
- "main": "src/main.ts",
- "polyfills": "src/polyfills.ts",
- "tsConfig": "src/tsconfig.app.json",
- "assets": [
- "src/favicon.ico",
- "src/favicon.svg",
- "src/apple-touch-icon.png",
- "src/android-chrome-192x192.png",
- "src/android-chrome-512x512.png",
- "src/size.webmanifest",
- "src/assets",
- "src/netlify.toml"
- ],
- "styles": ["src/styles.scss", "./node_modules/highlight.js/styles/vs2015.css"],
- "stylePreprocessorOptions": {
- "includePaths": ["node_modules"]
- },
- "vendorChunk": true,
- "extractLicenses": false,
- "buildOptimizer": false,
- "sourceMap": true,
- "optimization": false,
- "namedChunks": true,
- "preserveSymlinks": true
- },
- "configurations": {
- "production": {
- "budgets": [
- {
- "type": "anyComponentStyle",
- "maximumWarning": "6kb"
- }
- ],
- "fileReplacements": [
- {
- "replace": "src/environments/environment.ts",
- "with": "src/environments/environment.prod.ts"
- }
- ],
- "outputHashing": "all",
- "sourceMap": false,
- "namedChunks": false,
- "extractLicenses": true,
- "vendorChunk": false,
- "buildOptimizer": true
- }
- },
- "defaultConfiguration": ""
- },
- "serve": {
- "builder": "@angular-devkit/build-angular:dev-server",
- "options": {
- "buildTarget": "design-system-demo:build"
- },
- "configurations": {
- "production": {
- "buildTarget": "design-system-demo:build:production"
- }
- }
- },
- "extract-i18n": {
- "builder": "@angular-devkit/build-angular:extract-i18n",
- "options": {
- "buildTarget": "design-system-demo:build"
- }
- },
- "test": {
- "builder": "@angular-devkit/build-angular:karma",
- "options": {
- "main": "src/test.ts",
- "polyfills": "src/polyfills.ts",
- "tsConfig": "src/tsconfig.spec.json",
- "karmaConfig": "src/karma.conf.js",
- "styles": ["src/styles.scss"],
- "scripts": [],
- "assets": ["src/favicon.ico", "src/assets"]
- }
- },
- "lint": {
- "builder": "@angular-eslint/builder:lint",
- "options": {
- "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
- }
- }
- }
- }
- },
- "schematics": {
- "@angular-eslint/schematics:application": {
- "setParserOptionsProject": true
- },
- "@angular-eslint/schematics:library": {
- "setParserOptionsProject": true
- }
- },
- "cli": {
- "packageManager": "pnpm"
- }
-}
diff --git a/packages/demo/package.json b/packages/demo/package.json
deleted file mode 100644
index 6adbfc036c..0000000000
--- a/packages/demo/package.json
+++ /dev/null
@@ -1,75 +0,0 @@
-{
- "name": "@swisspost/design-system-demo",
- "version": "8.0.3-next.0",
- "description": "Pattern documentation, code snippets and implementation guidelines for the Design System Styles.",
- "author": "Swiss Post ",
- "license": "Apache-2.0",
- "private": true,
- "scripts": {
- "clean": "rimraf dist",
- "start": "ng serve --port 9010",
- "build": "ng build",
- "lint": "ng lint"
- },
- "dependencies": {
- "@angular/animations": "18.1.3",
- "@angular/cdk": "18.1.3",
- "@angular/common": "18.1.3",
- "@angular/compiler": "18.1.3",
- "@angular/core": "18.1.3",
- "@angular/forms": "18.1.3",
- "@angular/localize": "18.1.3",
- "@angular/platform-browser": "18.1.3",
- "@angular/platform-browser-dynamic": "18.1.3",
- "@angular/router": "18.1.3",
- "@ng-bootstrap/ng-bootstrap": "17.0.0",
- "@popperjs/core": "2.11.8",
- "@swimlane/ngx-datatable": "20.1.0",
- "@swisspost/design-system-intranet-header": "workspace:9.0.0-next.0",
- "@swisspost/design-system-migrations": "workspace:9.0.0-next.0",
- "@swisspost/design-system-styles": "workspace:9.0.0-next.0",
- "bootstrap": "5.3.3",
- "core-js": "3.37.1",
- "highlight.js": "11.10.0",
- "ngx-highlightjs": "10.0.0",
- "ngx-toastr": "19.0.0",
- "prettier": "2.8.8",
- "rxjs": "7.8.1",
- "tslib": "2.6.3",
- "zone.js": "0.14.8"
- },
- "devDependencies": {
- "@angular-devkit/build-angular": "18.1.3",
- "@angular-eslint/builder": "18.2.0",
- "@angular-eslint/eslint-plugin": "18.2.0",
- "@angular-eslint/eslint-plugin-template": "18.2.0",
- "@angular-eslint/template-parser": "18.2.0",
- "@angular/cli": "18.1.3",
- "@angular/compiler-cli": "18.1.3",
- "@angular/elements": "18.1.3",
- "@angular/language-service": "18.1.3",
- "@types/jasmine": "5.1.4",
- "@types/jasminewd2": "2.0.13",
- "@types/node": "20.12.7",
- "@typescript-eslint/eslint-plugin": "7.18.0",
- "@typescript-eslint/parser": "7.18.0",
- "eslint": "8.57.0",
- "jasmine-core": "5.2.0",
- "jasmine-marbles": "0.9.2",
- "jasmine-spec-reporter": "7.0.0",
- "karma": "6.4.4",
- "karma-chrome-launcher": "3.2.0",
- "karma-coverage": "2.2.1",
- "karma-coverage-istanbul-reporter": "3.0.3",
- "karma-jasmine": "5.1.0",
- "karma-jasmine-html-reporter": "2.1.0",
- "raw-loader": "4.0.2",
- "rimraf": "6.0.1",
- "sass": "1.78.0",
- "sockjs": "0.3.24",
- "ts-node": "10.9.2",
- "typescript": "5.5.4",
- "undici-types": "6.19.5",
- "webpack": "5.94.0"
- }
-}
diff --git a/packages/demo/src/android-chrome-192x192.png b/packages/demo/src/android-chrome-192x192.png
deleted file mode 100644
index 26af7c8379..0000000000
Binary files a/packages/demo/src/android-chrome-192x192.png and /dev/null differ
diff --git a/packages/demo/src/android-chrome-512x512.png b/packages/demo/src/android-chrome-512x512.png
deleted file mode 100644
index 5772ee7087..0000000000
Binary files a/packages/demo/src/android-chrome-512x512.png and /dev/null differ
diff --git a/packages/demo/src/app/app-routing.module.ts b/packages/demo/src/app/app-routing.module.ts
deleted file mode 100644
index d127b80876..0000000000
--- a/packages/demo/src/app/app-routing.module.ts
+++ /dev/null
@@ -1,184 +0,0 @@
-/* tslint:disable:max-line-length */
-import { FormSwitchDemoPageComponent } from './bootstrap/components/form-switch/form-switch-demo-page/form-switch-demo-page.component';
-import { TopicTeaserDemoPageComponent } from './post-sample/components/topic-teaser/topic-teaser-demo-page/topic-teaser-demo-page.component';
-import { NgModule } from '@angular/core';
-import { RouterModule, Routes } from '@angular/router';
-import { IntranetLayoutComponent } from './intranet-layout/intranet-layout.component';
-import { AccordionDemoPageComponent } from './bootstrap/components/accordion/accordion-demo-page/accordion-demo-page.component';
-import { AlertDemoPageComponent } from './bootstrap/components/alert/alert-demo-page/alert-demo-page.component';
-import { BadgeDemoPageComponent } from './bootstrap/components/badge/badge-demo-page/badge-demo-page.component';
-import { ButtonsDemoPageComponent } from './bootstrap/components/buttons/buttons-demo-page/buttons-demo-page.component';
-import { ButtonGroupDemoPageComponent } from './bootstrap/components/button-group/button-group-demo-page/button-group-demo-page.component';
-import { BlockquotesDemoPageComponent } from './bootstrap/components/blockquotes/blockquotes-demo-page/blockquotes-demo-page.component';
-import { TablesDemoPageComponent } from './bootstrap/components/tables/tables-demo-page/tables-demo-page.component';
-import { TypographyDemoPageComponent } from './bootstrap/components/typography/typography-demo-page/typography-demo-page.component';
-import { FormsDemoPageComponent as BootstrapFormDemoPageComponent } from './bootstrap/components/forms/forms-demo-page/forms-demo-page.component';
-import { NgbAlertDemoPageComponent } from './ng-bootstrap/components/alert/alert-demo-page/alert-demo-page.component';
-import { NgbAccordionDemoPageComponent } from './ng-bootstrap/components/accordion/accordion-demo-page/accordion-demo-page.component';
-import { NgbDatepickerDemoPageComponent } from './ng-bootstrap/components/datepicker/datepicker-demo-page/datepicker-demo-page.component';
-import { NgbDropdownDemoPageComponent } from './ng-bootstrap/components/dropdown/dropdown-demo-page/dropdown-demo-page.component';
-import { NgbPopoverDemoPageComponent } from './ng-bootstrap/components/popover/popover-demo-page/popover-demo-page.component';
-import { NgbRatingDemoPageComponent } from './ng-bootstrap/components/rating/rating-demo-page/rating-demo-page.component';
-import { NgbModalDemoPageComponent } from './ng-bootstrap/components/modal/modal-demo-page/modal-demo-page.component';
-import { NgbCarouselDemoPageComponent } from './ng-bootstrap/components/carousel/carousel-demo-page/carousel-demo-page.component';
-import { NgbTimepickerDemoPageComponent } from './ng-bootstrap/components/timepicker/timepicker-demo-page/timepicker-demo-page.component';
-import { NgbPaginationDemoPageComponent } from './ng-bootstrap/components/pagination/pagination-demo-page/pagination-demo-page.component';
-import { NgbCollapseDemoPageComponent } from './ng-bootstrap/components/collapse/collapse-demo-page/collapse-demo-page.component';
-import { NgbProgressbarDemoPageComponent } from './ng-bootstrap/components/progressbar/progressbar-demo-page/progressbar-demo-page.component';
-import { NgbTabsDemoPageComponent } from './ng-bootstrap/components/tabs/tabs-demo-page/tabs-demo-page.component';
-import { NgbTooltipDemoPageComponent } from './ng-bootstrap/components/tooltip/tooltip-demo-page/tooltip-demo-page.component';
-import { NgbTypeaheadDemoPageComponent } from './ng-bootstrap/components/typeahead/typeahead-demo-page/typeahead-demo-page.component';
-import { FormRangeDemoPageComponent } from './bootstrap/components/form-range/form-range-demo-page/form-range-demo-page.component';
-import { FormSelectDemoPageComponent } from './bootstrap/components/form-select/form-select-demo-page/form-select-demo-page.component';
-import { FormSelectMultipleDemoPageComponent } from './bootstrap/components/form-select-multiple/form-select-multiple-demo-page/form-select-multiple-demo-page.component';
-import { FormTextareaDemoPageComponent } from './bootstrap/components/form-textarea/form-textarea-demo-page/form-textarea-demo-page.component';
-import { FormControlDemoPageComponent } from './bootstrap/components/form-control/form-control-demo-page/form-control-demo-page.component';
-import { FormRadioDemoPageComponent } from './bootstrap/components/form-radio/form-radio-demo-page/form-radio-demo-page.component';
-import { FormCheckDemoPageComponent } from './bootstrap/components/form-check/form-check-demo-page/form-check-demo-page.component';
-import { FeedbackDemoPageComponent } from './post-sample/components/feedback/feedback-demo-page/feedback-demo-page.component';
-import { IconsDemoPageComponent } from './post-sample/components/icons/icons-demo-page/icons-demo-page.component';
-import { SpinnerDemoPageComponent } from './post-sample/components/spinner/spinner-demo-page/spinner-demo-page.component';
-import { BackgroundDemoPageComponent } from './bootstrap/components/background/background-demo-page/background-demo-page.component';
-import { SizingDemoPageComponent } from './post-sample/components/sizing/sizing-demo-page/sizing-demo-page.component';
-import { NotificationOverlayPageComponent } from './post-sample/components/notification-overlay/notification-overlay-demo-page/notification-overlay-page.component';
-import { SubnavigationDemoPageComponent } from './post-sample/components/subnavigation/subnavigation-demo-page/subnavigation-demo-page.component';
-import { HomeComponent } from './home/home.component';
-import { FormFileDemoPageComponent } from './bootstrap/components/form-file/form-file-demo-page/form-file-demo-page.component';
-import { CardDemoPageComponent } from './bootstrap/components/card/card-demo-page/card-demo-page.component';
-import { CustomSelectDemoPageComponent } from './post-sample/components/custom-select/custom-select-demo-page/custom-select-demo-page.component';
-import { StepperDemoPageComponent } from './post-sample/components/stepper/stepper-demo-page/stepper-demo-page.component';
-import { DatatableDemoPageComponent } from './post-sample/components/datatable/datatable-demo-page/datatable-demo-page.component';
-import { FormsDemoPageComponent } from './post-sample/components/forms/forms-demo-page/forms-demo-page.component';
-import { PostCardsDemoPageComponent } from './post-sample/components/post-cards/post-cards-demo-page/post-cards-demo-page.component';
-import { LayoutContainerComponent } from './layout-container/layout-container.component';
-import { IntranetHeaderDemoRegularComponent } from './intranet-layout/components/intranet-header-demo-regular/intranet-header-demo-regular.component';
-import { IntranetHeaderDemoBigSidebarComponent } from './intranet-layout/components/intranet-header-demo-big-sidebar/intranet-header-demo-big-sidebar.component';
-import { IntranetHeaderDemoSmallSidebarComponent } from './intranet-layout/components/intranet-header-demo-small-sidebar/intranet-header-demo-small-sidebar.component';
-/* tslint:enable:max-line-length */
-
-const routes: Routes = [
- { path: '', redirectTo: 'home', pathMatch: 'full' },
- {
- path: 'home',
- component: LayoutContainerComponent,
- data: { fullWidth: true },
- children: [{ path: '', component: HomeComponent, data: { fullWidth: true } }],
- },
-
- {
- path: 'bootstrap-samples',
- component: LayoutContainerComponent,
- children: [
- { path: 'accordion', component: AccordionDemoPageComponent },
- { path: 'alerts', component: AlertDemoPageComponent },
- { path: 'background', component: BackgroundDemoPageComponent },
- { path: 'badge', component: BadgeDemoPageComponent },
- { path: 'blockquotes', component: BlockquotesDemoPageComponent },
- { path: 'buttons', component: ButtonsDemoPageComponent },
- { path: 'button-group', component: ButtonGroupDemoPageComponent },
- { path: 'tables', component: TablesDemoPageComponent },
- { path: 'typography', component: TypographyDemoPageComponent },
- { path: 'forms', component: BootstrapFormDemoPageComponent },
- { path: 'form-select', component: FormSelectDemoPageComponent },
- {
- path: 'form-multiple-select',
- component: FormSelectMultipleDemoPageComponent,
- },
- { path: 'form-textarea', component: FormTextareaDemoPageComponent },
- { path: 'form-control', component: FormControlDemoPageComponent },
- { path: 'form-range', component: FormRangeDemoPageComponent },
- { path: 'form-file', component: FormFileDemoPageComponent },
- { path: 'form-radio', component: FormRadioDemoPageComponent },
- { path: 'form-check', component: FormCheckDemoPageComponent },
- { path: 'form-switch', component: FormSwitchDemoPageComponent },
- {
- path: 'card',
- component: CardDemoPageComponent,
- data: { fullWidth: true },
- },
- ],
- },
- {
- path: 'ng-bootstrap-samples',
- component: LayoutContainerComponent,
- children: [
- { path: 'accordion', component: NgbAccordionDemoPageComponent },
- { path: 'rating', component: NgbRatingDemoPageComponent },
- { path: 'modal', component: NgbModalDemoPageComponent },
- { path: 'progressbar', component: NgbProgressbarDemoPageComponent },
- { path: 'alert', component: NgbAlertDemoPageComponent },
- { path: 'carousel', component: NgbCarouselDemoPageComponent },
- { path: 'popover', component: NgbPopoverDemoPageComponent },
- { path: 'collapse', component: NgbCollapseDemoPageComponent },
- { path: 'datepicker', component: NgbDatepickerDemoPageComponent },
- { path: 'dropdown', component: NgbDropdownDemoPageComponent },
- { path: 'pagination', component: NgbPaginationDemoPageComponent },
- {
- path: 'tabs',
- component: NgbTabsDemoPageComponent,
- data: { fullWidth: true },
- },
- { path: 'timepicker', component: NgbTimepickerDemoPageComponent },
- { path: 'tooltip', component: NgbTooltipDemoPageComponent },
- { path: 'typeahead', component: NgbTypeaheadDemoPageComponent },
- ],
- },
- {
- path: 'post-samples',
- component: LayoutContainerComponent,
- children: [
- { path: 'accordion', component: AccordionDemoPageComponent },
- { path: 'datatable', component: DatatableDemoPageComponent },
- { path: 'icons', component: IconsDemoPageComponent },
- { path: 'feedback', component: FeedbackDemoPageComponent },
- { path: 'spinner', component: SpinnerDemoPageComponent },
- { path: 'sizing', component: SizingDemoPageComponent },
- { path: 'card', component: PostCardsDemoPageComponent },
- {
- path: 'notification-overlay',
- component: NotificationOverlayPageComponent,
- },
- { path: 'subnavigation', component: SubnavigationDemoPageComponent },
- {
- path: 'topic-teaser',
- component: TopicTeaserDemoPageComponent,
- data: { fullWidth: true },
- },
- { path: 'custom-select', component: CustomSelectDemoPageComponent },
- { path: 'stepper', component: StepperDemoPageComponent },
- { path: 'forms', component: FormsDemoPageComponent },
- { path: 'intranet-layout', component: IntranetLayoutComponent, data: { fullWidth: true } },
- ],
- },
-
- {
- path: 'samples',
- children: [
- {
- path: 'intranet-layout-regular',
- component: IntranetHeaderDemoRegularComponent,
- },
- {
- path: 'intranet-layout-sidebar-big-sidebar',
- component: IntranetHeaderDemoBigSidebarComponent,
- },
- {
- path: 'intranet-layout-sidebar-small-sidebar',
- component: IntranetHeaderDemoSmallSidebarComponent,
- },
- ],
- },
-];
-
-@NgModule({
- imports: [
- RouterModule.forRoot(routes, {
- useHash: true,
- scrollPositionRestoration: 'enabled',
- anchorScrolling: 'enabled',
- scrollOffset: [0, 150],
- }),
- ],
- exports: [RouterModule],
-})
-export class AppRoutingModule {}
diff --git a/packages/demo/src/app/app.component.html b/packages/demo/src/app/app.component.html
deleted file mode 100644
index 0680b43f9c..0000000000
--- a/packages/demo/src/app/app.component.html
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/packages/demo/src/app/app.component.spec.ts b/packages/demo/src/app/app.component.spec.ts
deleted file mode 100644
index 1ccf158287..0000000000
--- a/packages/demo/src/app/app.component.spec.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import { TestBed, waitForAsync } from '@angular/core/testing';
-import { AppComponent } from './app.component';
-import { RouterModule } from '@angular/router';
-
-describe('AppComponent', () => {
- beforeEach(waitForAsync(() => {
- TestBed.configureTestingModule({
- imports: [RouterModule.forRoot([])],
- declarations: [AppComponent],
- }).compileComponents();
- }));
- it('should create the app', waitForAsync(() => {
- const fixture = TestBed.createComponent(AppComponent);
- const app = fixture.debugElement.componentInstance;
- expect(app).toBeTruthy();
- }));
- it(`should have as title 'app'`, waitForAsync(() => {
- const fixture = TestBed.createComponent(AppComponent);
- const app = fixture.debugElement.componentInstance;
- expect(app.title).toEqual('app');
- }));
-});
diff --git a/packages/demo/src/app/app.component.ts b/packages/demo/src/app/app.component.ts
deleted file mode 100644
index 7c802bdc05..0000000000
--- a/packages/demo/src/app/app.component.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- selector: 'app-root',
- templateUrl: './app.component.html',
-})
-export class AppComponent {
- public title = 'app';
-}
diff --git a/packages/demo/src/app/app.module.ts b/packages/demo/src/app/app.module.ts
deleted file mode 100644
index d008fe3864..0000000000
--- a/packages/demo/src/app/app.module.ts
+++ /dev/null
@@ -1,62 +0,0 @@
-import { BrowserModule } from '@angular/platform-browser';
-import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
-import { AppComponent } from './app.component';
-import { ToastrModule } from 'ngx-toastr';
-import { AppRoutingModule } from './app-routing.module';
-import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
-import { FormsModule, ReactiveFormsModule } from '@angular/forms';
-
-import { registerLocaleData } from '@angular/common';
-import localeDe from '@angular/common/locales/de';
-import localeFr from '@angular/common/locales/fr';
-import localeIt from '@angular/common/locales/it';
-import localeEn from '@angular/common/locales/en';
-
-import { HighlightModule } from 'ngx-highlightjs';
-import { CopyToClipboardDirective } from './common/copy-to-clipboard.directive';
-import { HighlightProvider } from './common/highlight.provider';
-
-import { IntranetLayoutComponent } from './intranet-layout/intranet-layout.component';
-
-import { ErrorService } from './intranet-layout/services/error.service';
-import { BootstrapComponentsModule } from './bootstrap/components/bootstrap-components.module';
-import { NgBootstrapComponentsModule } from './ng-bootstrap/components/ng-bootstrap-components.module';
-import { IntranetComponentsModule } from './intranet-layout/intranet-components.module';
-import { PostSampleComponentsModule } from './post-sample/post-sample-components.module';
-import { SwissPostIntranetHeaderModule } from '@swisspost/design-system-intranet-header';
-import { HomeComponent } from './home/home.component';
-import { PostCommonModule } from './common/post-common.module';
-import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
-import { LayoutContainerComponent } from './layout-container/layout-container.component';
-
-registerLocaleData(localeDe);
-registerLocaleData(localeFr);
-registerLocaleData(localeIt);
-registerLocaleData(localeEn);
-
-@NgModule({ declarations: [
- AppComponent,
- IntranetLayoutComponent,
- LayoutContainerComponent,
- HomeComponent,
- CopyToClipboardDirective,
- ],
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
- bootstrap: [AppComponent], imports: [BrowserModule,
- AppRoutingModule,
- FormsModule,
- ReactiveFormsModule,
- NgbModule,
- BootstrapComponentsModule,
- NgBootstrapComponentsModule,
- IntranetComponentsModule,
- PostCommonModule,
- PostSampleComponentsModule,
- SwissPostIntranetHeaderModule,
- ToastrModule.forRoot({
- extendedTimeOut: 0,
- closeButton: true,
- toastClass: 'toast',
- }),
- HighlightModule], providers: [ErrorService, HighlightProvider.Config, provideHttpClient(withInterceptorsFromDi())] })
-export class AppModule {}
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
deleted file mode 100644
index e99d6c7ebc..0000000000
--- a/packages/demo/src/app/bootstrap/components/accordion/accordion-demo-page/accordion-demo-page.component.html
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
Accordion
-
-
-
-
-
Bootstrap accordions are deprecated and will soon be removed.
- This is the first item's accordion body.
- It is shown by default, until the collapse plugin adds the appropriate classes that we use
- to style each element. These classes control the overall appearance, as well as the
- showing and hiding via CSS transitions. You can modify any of this with custom CSS or
- overriding our default variables. It's also worth noting that just about any HTML can go
- within the
- .accordion-body
- , though the transition does limit overflow.
-
-
-
-
-
-
-
-
-
-
-
- This is the second item's accordion body.
- It is hidden by default, until the collapse plugin adds the appropriate classes that we
- use to style each element. These classes control the overall appearance, as well as the
- showing and hiding via CSS transitions. You can modify any of this with custom CSS or
- overriding our default variables. It's also worth noting that just about any HTML can go
- within the
- .accordion-body
- , though the transition does limit overflow.
-
-
-
-
-
-
-
-
-
-
-
- This is the third item's accordion body.
- It is hidden by default, until the collapse plugin adds the appropriate classes that we
- use to style each element. These classes control the overall appearance, as well as the
- showing and hiding via CSS transitions. You can modify any of this with custom CSS or
- overriding our default variables. It's also worth noting that just about any HTML can go
- within the
- .accordion-body
- , though the transition does limit overflow.
-
-
-
-
-
diff --git a/packages/demo/src/app/bootstrap/components/accordion/accordion-demo/accordion-demo.component.ts b/packages/demo/src/app/bootstrap/components/accordion/accordion-demo/accordion-demo.component.ts
deleted file mode 100644
index 3d4256b193..0000000000
--- a/packages/demo/src/app/bootstrap/components/accordion/accordion-demo/accordion-demo.component.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { Component } from '@angular/core';
-import 'bootstrap/js/dist/collapse'; // collapse.js is required for the accordion to work properly
-
-@Component({
- selector: 'app-accordion-demo',
- templateUrl: './accordion-demo.component.html',
-})
-export class AccordionDemoComponent {}
diff --git a/packages/demo/src/app/bootstrap/components/alert/action-alert-demo/action-alert-demo.component.html b/packages/demo/src/app/bootstrap/components/alert/action-alert-demo/action-alert-demo.component.html
deleted file mode 100644
index 1be8e4d59f..0000000000
--- a/packages/demo/src/app/bootstrap/components/alert/action-alert-demo/action-alert-demo.component.html
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
Neue Nachricht erhalten
-
Sie haben eine neue Nachricht von Paula erhalten.
-
-
-
-
-
-
-
-
-
-
Die Zustellung wurde angepasst
-
Sie erhalten das Paket neu unter einer geänderten Adresse.
-
-
-
-
-
-
-
-
-
-
- This is an example with a lot of text, a lot of buttons and a special icon
-
-
- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
- invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et
- justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
- ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
- eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
-
-
- Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel
- illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui
- blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem
- ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut
- laoreet dolore magna aliquam erat volutpat.
-
- The following two color variants are deprecated and will be removed in the next major version of
- the styles package:
-
-
-
- alert-error
- becomes
- alert-danger
-
-
- alert-notification
- becomes
- alert-primary
-
-
- toast-notification
- becomes
- toast-primary
-
-
-
-
-
-
Usage
-
-
-
Dismissible alerts are deprecated
-
- There already exists a
-
- web component
-
- post-alert
- that will handle dissmissible alerts. HTML alerts should only be used for static alerts.
-
-
-
-
-
-
- The markup for alerts differs from the basic bootstrap implementation, to secure
- cross-browser compatibility!
-
-
- While all bootstrap classes related to alerts are still available and functional, there are
- some changes to their HTMs-Markup.
-
-
-
The close button for dismissible alerts needs to be the first tag inside the alert.
-
Alerts have an alert-container around them.
-
- All alert-content needs to be wrapped in their own tag, for example a <p>-tag.
-
-
- For thematic colors, only the alerts shown on this page are available. (No "alert-light"
- or "alert-dark" available.)
-
-
-
For Toasts, the bootstrap classes are not yet available!
-
-
-
-
-
Toast / Small notification bar
-
- These are not meant to be put on a page directly, they should only be used overlaying the site
- content. It should always close the toast when you click on it.
-
- A simple danger alert with
- an example link
- . Give it a click if you like.
-
-
-
-
alert-warning
-
A simple warning alert—check it out!
-
-
-
alert-info
-
A simple info alert—check it out!
-
-
-
Example with custom icon (pi-1001)
-
Only needs the corresponding "pi"-class added to the alert.
-
-
-
Example with white icon (pi-2063-white)
-
Icon needs to be extended in sass.
-
-
-
Example without an icon
-
Add class "no-icon" to the alert.
-
-
-
Example with more content
-
- Aww yeah, you successfully read this important alert message. This example text is going to
- run a bit longer so that you can see how spacing within an alert works with this kind of
- content.
-
-
-
Whenever you need to, be sure to use margin utilities to keep things nice and tidy.
-
-
-
-
Example for dismissible alert
-
Holy guacamole! You should check in on some of those fields below.
-
-
-
Example with only one line of text.
-
-
-
-
-
- We use cookies to improve your user experience. Depending on
- your settings
- , we also use cookies for analysis purposes and to provide you with personalized content and
- relevant advertising. You can find more information in our
- data protection declaration
- .
-
-
-
-
-
-
-
-
-
Fixed alert
-
-
-
-
-
This is an alert fixed to the bottom of the page.
-
- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt
- ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo
- dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
- sit amet.
-
- Screen reader output is a little better if the close button is disabled (alert messages can still
- be closed by clicking on them). Pass the following option to disable the close button:
-
- All these background-color classes automatically use the appropriate font color meeting the
- accessibility guidelines. When setting opacity, the contrast ratio cannot be guaranteed and should
- be checked individually.
-
-
- Nested quotes, consectetur adipiscing elit.
- I'm nested!
- Integer posuere erat a ante.
-
-
-
-
-
- It also works with a different language! Lorem ipsum dolor sit amet, consectetur adipiscing
- elit.
- I'm nested!
- Integer posuere erat a ante.
-
-
-
-
diff --git a/packages/demo/src/app/bootstrap/components/blockquotes/nested-blockquotes-demo/nested-blockquotes-demo.component.ts b/packages/demo/src/app/bootstrap/components/blockquotes/nested-blockquotes-demo/nested-blockquotes-demo.component.ts
deleted file mode 100644
index a159957503..0000000000
--- a/packages/demo/src/app/bootstrap/components/blockquotes/nested-blockquotes-demo/nested-blockquotes-demo.component.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- selector: 'app-nested-blockquotes-demo',
- templateUrl: './nested-blockquotes-demo.component.html',
-})
-export class NestedBlockquotesDemoComponent {}
diff --git a/packages/demo/src/app/bootstrap/components/blockquotes/quotes-demo/quotes-demo.component.html b/packages/demo/src/app/bootstrap/components/blockquotes/quotes-demo/quotes-demo.component.html
deleted file mode 100644
index 9f703725fb..0000000000
--- a/packages/demo/src/app/bootstrap/components/blockquotes/quotes-demo/quotes-demo.component.html
+++ /dev/null
@@ -1,14 +0,0 @@
-Just quotes
-
-Just quotes with a different language
-
-
- Long quotes, Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
- tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
-
-
-
- Long quotes with nested inside, Lorem ipsum dolor sit amet,
- consetetur sadipscing elitr
- , sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, voluptua.
-
diff --git a/packages/demo/src/app/bootstrap/components/blockquotes/quotes-demo/quotes-demo.component.ts b/packages/demo/src/app/bootstrap/components/blockquotes/quotes-demo/quotes-demo.component.ts
deleted file mode 100644
index cfa0fdf64b..0000000000
--- a/packages/demo/src/app/bootstrap/components/blockquotes/quotes-demo/quotes-demo.component.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- selector: 'app-quotes-demo',
- templateUrl: './quotes-demo.component.html',
-})
-export class QuotesDemoComponent {}
diff --git a/packages/demo/src/app/bootstrap/components/bootstrap-components.module.ts b/packages/demo/src/app/bootstrap/components/bootstrap-components.module.ts
deleted file mode 100644
index 5614a0d323..0000000000
--- a/packages/demo/src/app/bootstrap/components/bootstrap-components.module.ts
+++ /dev/null
@@ -1,175 +0,0 @@
-import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { RouterModule } from '@angular/router';
-import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
-import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
-
-import { HighlightModule } from 'ngx-highlightjs';
-import { HighlightProvider } from '../../common/highlight.provider';
-
-import { AccordionDemoComponent } from './accordion/accordion-demo/accordion-demo.component';
-import { AccordionDemoPageComponent } from './accordion/accordion-demo-page/accordion-demo-page.component';
-import { AlertDemoComponent } from './alert/alert-demo/alert-demo.component';
-import { AlertDemoPageComponent } from './alert/alert-demo-page/alert-demo-page.component';
-import { BadgeDemoPageComponent } from './badge/badge-demo-page/badge-demo-page.component';
-import { BadgeDemoComponent } from './badge/badge-demo/badge-demo.component';
-import { BadgeNestedDemoComponent } from './badge/badge-nested-demo/badge-nested-demo.component';
-import { BadgeInteractiveDemoComponent } from './badge/badge-interactive-demo/badge-interactive-demo.component';
-import { ButtonGroupCheckboxDemoComponent } from './button-group/button-group-checkbox-demo/button-group-checkbox-demo.component';
-import { ButtonGroupDemoPageComponent } from './button-group/button-group-demo-page/button-group-demo-page.component';
-import { ButtonGroupRadioDemoComponent } from './button-group/button-group-radio-demo/button-group-radio-demo.component';
-import { ButtonGroupReactiveCheckboxDemoComponent } from './button-group/button-group-reactive-checkbox-demo/button-group-reactive-checkbox-demo.component';
-import { ButtonGroupReactiveRadioDemoComponent } from './button-group/button-group-reactive-radio-demo/button-group-reactive-radio-demo.component';
-import { ButtonsDemoComponent } from './buttons/buttons-demo/buttons-demo.component';
-import { ButtonsDemoPageComponent } from './buttons/buttons-demo-page/buttons-demo-page.component';
-import { BlockquotesDemoComponent } from './blockquotes/blockquotes-demo/blockquotes-demo.component';
-import { NestedBlockquotesDemoComponent } from './blockquotes/nested-blockquotes-demo/nested-blockquotes-demo.component';
-import { BlockquotesDemoPageComponent } from './blockquotes/blockquotes-demo-page/blockquotes-demo-page.component';
-import { FormSwitchDemoPageComponent } from './form-switch/form-switch-demo-page/form-switch-demo-page.component';
-import { FormSwitchDemoComponent } from './form-switch/form-switch-demo/form-switch-demo.component';
-import { TablesDemoComponent } from './tables/tables-demo/tables-demo.component';
-import { TablesDemoPageComponent } from './tables/tables-demo-page/tables-demo-page.component';
-import { TypographyDemoComponent } from './typography/typography-demo/typography-demo.component';
-import { TypographyDemoPageComponent } from './typography/typography-demo-page/typography-demo-page.component';
-import { FormsDemoComponent } from './forms/forms-demo/forms-demo.component';
-import { FormsDemoPageComponent } from './forms/forms-demo-page/forms-demo-page.component';
-import { FormSelectDemoComponent } from './form-select/form-select-demo/form-select-demo.component';
-import { FormSelectDemoPageComponent } from './form-select/form-select-demo-page/form-select-demo-page.component';
-import { FormSelectMultipleDemoComponent } from './form-select-multiple/form-select-multiple-demo/form-select-multiple-demo.component';
-import { FormSelectMultipleDemoPageComponent } from './form-select-multiple/form-select-multiple-demo-page/form-select-multiple-demo-page.component';
-import { FormTextareaDemoComponent } from './form-textarea/form-textarea-demo/form-textarea-demo.component';
-import { FormTextareaDemoPageComponent } from './form-textarea/form-textarea-demo-page/form-textarea-demo-page.component';
-import { FormControlDemoComponent } from './form-control/form-control-demo/form-control-demo.component';
-import { FormControlDemoPageComponent } from './form-control/form-control-demo-page/form-control-demo-page.component';
-import { FormRangeDemoComponent } from './form-range/form-range-demo/form-range-demo.component';
-import { FormRangeCustomDemoModule } from './form-range/form-range-custom-demo/form-range-custom-demo.module';
-import { FormRangeDemoPageComponent } from './form-range/form-range-demo-page/form-range-demo-page.component';
-import { FormRadioDemoComponent } from './form-radio/form-radio-demo/form-radio-demo.component';
-import { FormRadioDemoPageComponent } from './form-radio/form-radio-demo-page/form-radio-demo-page.component';
-import { FormCheckDemoComponent } from './form-check/form-check-demo/form-check-demo.component';
-import { FormCheckDemoPageComponent } from './form-check/form-check-demo-page/form-check-demo-page.component';
-import { BackgroundDemoPageComponent } from './background/background-demo-page/background-demo-page.component';
-import { BackgroundDemoComponent } from './background/background-demo/background-demo.component';
-import { ToastDemoComponent } from './alert/toast-demo/toast-demo.component';
-import { ActionAlertDemoComponent } from './alert/action-alert-demo/action-alert-demo.component';
-import { OverlayNotificationDemoComponent } from './alert/overlay-notification-demo/overlay-notification-demo.component';
-import { DotNotificationDemoComponent } from './alert/dot-notification-demo/dot-notification-demo.component';
-import { ButtonNotificationDemoComponent } from './alert/button-notification-demo/button-notification-demo.component';
-import { FormFileDemoComponent } from './form-file/form-file-demo/form-file-demo.component';
-import { FormFileDemoPageComponent } from './form-file/form-file-demo-page/form-file-demo-page.component';
-import { CardDemoComponent } from './card/card-demo/card-demo.component';
-import { CardDemoPageComponent } from './card/card-demo-page/card-demo-page.component';
-import { ComplexCardDemoComponent } from './card/complex-card-demo/complex-card-demo.component';
-import { PostCardDemoComponent } from './card/post-card-demo/post-card-demo.component';
-import { FormsModule, ReactiveFormsModule } from '@angular/forms';
-import { PostCommonModule } from 'src/app/common/post-common.module';
-import { QuotesDemoComponent } from './blockquotes/quotes-demo/quotes-demo.component';
-import { DefaultButtonsComponent } from './buttons/buttons-demo/default-buttons/default-buttons.component';
-import { ButtonTagsComponent } from './buttons/buttons-demo/button-tags/button-tags.component';
-import { ButtonSizesComponent } from './buttons/buttons-demo/button-sizes/button-sizes.component';
-import { IconButtonsComponent } from './buttons/buttons-demo/icon-buttons/icon-buttons.component';
-import { IconButtonsTextComponent } from './buttons/buttons-demo/icon-buttons-text/icon-buttons-text.component';
-import { AnimatedButtonsComponent } from './buttons/buttons-demo/animated-buttons/animated-buttons.component';
-import { AccentButtonsComponent } from './buttons/buttons-demo/accent-buttons/accent-buttons.component';
-import { InvertedButtonsComponent } from './buttons/buttons-demo/inverted-buttons/inverted-buttons.component';
-import { ContextualButtonsComponent } from './buttons/buttons-demo/contextual-buttons/contextual-buttons.component';
-import { ButtonDisabledComponent } from './buttons/buttons-demo/button-disabled/button-disabled.component';
-
-@NgModule({
- imports: [
- CommonModule,
- RouterModule,
- NgbModule,
- BrowserAnimationsModule,
- FormsModule,
- ReactiveFormsModule,
- PostCommonModule,
- HighlightModule,
- FormRangeCustomDemoModule,
- ],
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
- declarations: [
- AccordionDemoComponent,
- AccordionDemoPageComponent,
- AlertDemoComponent,
- AlertDemoPageComponent,
- BadgeDemoPageComponent,
- BadgeDemoComponent,
- BadgeNestedDemoComponent,
- BadgeInteractiveDemoComponent,
- ButtonsDemoComponent,
- ButtonsDemoPageComponent,
- ButtonGroupCheckboxDemoComponent,
- ButtonGroupReactiveCheckboxDemoComponent,
- ButtonGroupRadioDemoComponent,
- ButtonGroupReactiveRadioDemoComponent,
- ButtonGroupDemoPageComponent,
- BlockquotesDemoComponent,
- NestedBlockquotesDemoComponent,
- BlockquotesDemoPageComponent,
- TablesDemoComponent,
- TablesDemoPageComponent,
- TypographyDemoComponent,
- TypographyDemoPageComponent,
- FormsDemoComponent,
- FormsDemoPageComponent,
- FormSelectDemoComponent,
- FormSelectDemoPageComponent,
- FormSelectMultipleDemoComponent,
- FormSelectMultipleDemoPageComponent,
- FormTextareaDemoComponent,
- FormTextareaDemoPageComponent,
- FormControlDemoComponent,
- FormControlDemoPageComponent,
- FormRangeDemoComponent,
- FormRangeDemoPageComponent,
- FormFileDemoComponent,
- FormFileDemoPageComponent,
- FormRadioDemoComponent,
- FormRadioDemoPageComponent,
- FormCheckDemoComponent,
- FormCheckDemoPageComponent,
- FormSwitchDemoComponent,
- FormSwitchDemoPageComponent,
- BackgroundDemoPageComponent,
- BackgroundDemoComponent,
- ToastDemoComponent,
- ActionAlertDemoComponent,
- OverlayNotificationDemoComponent,
- DotNotificationDemoComponent,
- ButtonNotificationDemoComponent,
- CardDemoComponent,
- CardDemoPageComponent,
- ComplexCardDemoComponent,
- PostCardDemoComponent,
- QuotesDemoComponent,
- DefaultButtonsComponent,
- ButtonTagsComponent,
- ButtonSizesComponent,
- IconButtonsComponent,
- IconButtonsTextComponent,
- AnimatedButtonsComponent,
- AccentButtonsComponent,
- InvertedButtonsComponent,
- ContextualButtonsComponent,
- ButtonDisabledComponent,
- ],
- exports: [
- AlertDemoComponent,
- AlertDemoPageComponent,
- BadgeDemoPageComponent,
- BadgeDemoComponent,
- ButtonsDemoComponent,
- ButtonsDemoPageComponent,
- ButtonGroupDemoPageComponent,
- BlockquotesDemoComponent,
- BlockquotesDemoPageComponent,
- TablesDemoComponent,
- TablesDemoPageComponent,
- TypographyDemoComponent,
- TypographyDemoPageComponent,
- CardDemoPageComponent,
- ],
- providers: [HighlightProvider.Config],
-})
-export class BootstrapComponentsModule {}
diff --git a/packages/demo/src/app/bootstrap/components/button-group/button-group-checkbox-demo/button-group-checkbox-demo.component.html b/packages/demo/src/app/bootstrap/components/button-group/button-group-checkbox-demo/button-group-checkbox-demo.component.html
deleted file mode 100644
index 4ca3d8bbfa..0000000000
--- a/packages/demo/src/app/bootstrap/components/button-group/button-group-checkbox-demo/button-group-checkbox-demo.component.html
+++ /dev/null
@@ -1,38 +0,0 @@
-
diff --git a/packages/demo/src/app/bootstrap/components/button-group/button-group-checkbox-demo/button-group-checkbox-demo.component.ts b/packages/demo/src/app/bootstrap/components/button-group/button-group-checkbox-demo/button-group-checkbox-demo.component.ts
deleted file mode 100644
index 8ae23d5376..0000000000
--- a/packages/demo/src/app/bootstrap/components/button-group/button-group-checkbox-demo/button-group-checkbox-demo.component.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- selector: 'app-button-group-checkbox-demo',
- templateUrl: './button-group-checkbox-demo.component.html',
-})
-export class ButtonGroupCheckboxDemoComponent {
- checkboxes = {
- one: true,
- two: false,
- three: true,
- four: false,
- };
-}
diff --git a/packages/demo/src/app/bootstrap/components/button-group/button-group-demo-page/button-group-demo-page.component.html b/packages/demo/src/app/bootstrap/components/button-group/button-group-demo-page/button-group-demo-page.component.html
deleted file mode 100644
index 320f1e97fe..0000000000
--- a/packages/demo/src/app/bootstrap/components/button-group/button-group-demo-page/button-group-demo-page.component.html
+++ /dev/null
@@ -1,128 +0,0 @@
-
-
Button Group
-
-
-
-
-
Checkbox buttons
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Radio buttons
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Bad example
-
- The only supported button variant for button groups is
- .btn-secondary
- .
-
- Use these buttons in most situations. If you don't want the animation, you can leave out the
- .btn-animated
- class.
-
-
-
-
-
Disabled buttons
-
-
Accessibility
-
Disabled controls are an accessibility anti-pattern for various reasons:
-
-
- They are not focussable, screen reader users or keyboard users cannot focus the button and
- might miss information that is hidden e.g. in a tooltip.
-
-
The color contrast of disabled button is very low.
-
-
- Try to avoid disabled buttons by displaying an error message for invalid forms or hiding the
- control if a user cannot perform a certain action.
-
-
-
-
-
-
-
Animated
-
-
The animated buttons need a span around the text!
-
-
-
-
-
Supported button tags
-
-
-
-
-
-
Sizes
-
-
-
-
-
-
Icon buttons
-
-
-
-
-
-
Icon buttons with text
-
-
- Icon buttons with text should not have the class
- .btn-icon
- , otherwise the horizontal padding is not correct.
-
-
-
-
-
-
-
-
Accent colors
-
-
-
-
-
-
Inverted buttons
-
- Inverted buttons don't need special classes anymore, just use any of the
- background classes
- to set the background and you're done for the day.
-
-
-
-
-
-
-
-
-
Contextual Buttons
-
-
-
-
These are only allowed for intranet applications! The link button cannot be animated.
For more information on those examples, check the bootstrap doc.
-
-
-
Complex spacing examples (Adopted from bootstrap website)
-
-
-
Post example (Actual use case)
-
- To use background-color utilities which span the entire viewport, you need to use a container
- nested within a container fluid! Make sure you are not setting up a container around the entire
- content.
-
- The bootstrap sizing utilities & contextual classes can be used as shown on the bootstrap
- documentation.
-
-
The nav's (tabs or pills) can't be used inside the card-header with our implementation.
-
-
Images in cards
-
-
-
-
-
-
-
Card title
-
- This is a wider card with supporting text below as a natural lead-in to additional
- content. This content is a little bit longer.
-
-
Last updated 3 mins ago
-
-
-
-
-
-
-
Card title
-
- This is a wider card with supporting text below as a natural lead-in to additional
- content. This content is a little bit longer.
-
-
Last updated 3 mins ago
-
-
-
-
-
-
-
Bad example
-
- Don't use this in production. It's very difficult for content editors to always ensure that text
- is legible on an image for every browser size and all different languages.
-
-
-
-
-
-
-
Card title
-
- This is a wider card with supporting text below as a natural lead-in to additional
- content. This content is a little bit longer.
-
-
Last updated 3 mins ago
-
-
-
-
-
-
Card groups
-
-
-
Card groups do not work correctly with images in IE.
-
-
-
-
-
-
-
-
Card title
-
- This is a wider card with supporting text below as a natural lead-in to additional content.
- This content is a little bit longer.
-
-
Last updated 3 mins ago
-
-
-
-
-
-
Card title
-
- This card has supporting text below as a natural lead-in to additional content.
-
-
Last updated 3 mins ago
-
-
-
-
-
-
Card title
-
- This is a wider card with supporting text below as a natural lead-in to additional content.
- This card has even longer content than the first to show that equal height action.
-
-
Last updated 3 mins ago
-
-
-
-
-
-
-
-
-
Card title
-
- This is a wider card with supporting text below as a natural lead-in to additional content.
- This content is a little bit longer.
-
-
-
-
-
-
-
-
Card title
-
- This card has supporting text below as a natural lead-in to additional content.
-
-
-
-
-
-
-
-
Card title
-
- This is a wider card with supporting text below as a natural lead-in to additional content.
- This card has even longer content than the first to show that equal height action.
-
-
-
-
-
-
-
Card columns
-
Card columns can be checked out in the Swiss Post example below.
-
-
- Default
- column-count: 2
- , breakpoint md and smaller
- column-count: 1
- . This can be adjusted as necessary.
-
- We're deprecating the regular and medium sizes for text input, textarea and select.
-
-
- This will make it easier to select the appropriate size variant: small for internal
- applications, large for external applications.
-
- .form-control-rg
- and
- .form-control-md
- are deprecated and will be removed in the next major version.
-
- We're deprecating the regular and medium sizes for text input, textarea and select.
-
-
- This will make it easier to select the appropriate size variant: small for internal
- applications, large for external applications.
-
- .form-control-rg
- and
- .form-control-md
- are deprecated and will be removed in the next major version.
-
- We're deprecating the regular and medium sizes for text input, textarea and select.
-
-
- This will make it easier to select the appropriate size variant: small for internal
- applications, large for external applications.
-
- .form-select-rg
- and
- .form-select-md
- are deprecated and will be removed in the next major version.
-
- We're deprecating the regular and medium sizes for text input, textarea and select.
-
-
- This will make it easier to select the appropriate size variant: small for internal
- applications, large for external applications.
-
- .form-select-rg
- and
- .form-select-md
- are deprecated and will be removed in the next major version.
-
diff --git a/packages/demo/src/app/bootstrap/components/form-switch/form-switch-demo/form-switch-demo.component.ts b/packages/demo/src/app/bootstrap/components/form-switch/form-switch-demo/form-switch-demo.component.ts
deleted file mode 100644
index dc8fdf0f02..0000000000
--- a/packages/demo/src/app/bootstrap/components/form-switch/form-switch-demo/form-switch-demo.component.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * Copyright 2022 by Swiss Post, Information Technology
- */
-
-import { Component } from '@angular/core';
-
-@Component({
- selector: 'app-switch-demo',
- templateUrl: './form-switch-demo.component.html',
-})
-export class FormSwitchDemoComponent {}
diff --git a/packages/demo/src/app/bootstrap/components/form-textarea/form-textarea-demo-page/form-textarea-demo-page.component.html b/packages/demo/src/app/bootstrap/components/form-textarea/form-textarea-demo-page/form-textarea-demo-page.component.html
deleted file mode 100644
index 82a7fd5026..0000000000
--- a/packages/demo/src/app/bootstrap/components/form-textarea/form-textarea-demo-page/form-textarea-demo-page.component.html
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
Form textarea
-
-
-
-
-
- We're deprecating the regular and medium sizes for text input, textarea and select.
-
-
- This will make it easier to select the appropriate size variant: small for internal
- applications, large for external applications.
-
- .form-control-rg
- and
- .form-control-md
- are deprecated and will be removed in the next major version.
-
- We're deprecating the regular and medium sizes for text input, textarea and select.
-
-
- This will make it easier to select the appropriate size variant: small for internal
- applications, large for external applications.
-
- .form-control-rg
- and
- .form-control-md
- are deprecated and will be removed in the next major version.
-
- Lorem ipsum dolor sit, amet consectetur adipisicing elit. Animi voluptatibus laborum atque
- explicabo consequuntur esse, ab debitis facere obcaecati aperiam suscipit officiis ut amet
- quasi optio porro odit maxime placeat.
-
-
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Aut iste pariatur laboriosam
- possimus suscipit, ullam nemo, laborum minima itaque sed obcaecati. Neque officia, non
- similique eius repudiandae sequi totam nihil?
-
-
-
-
-
-
Default paragraph (internal usage)
-
- Lorem ipsum dolor sit, amet consectetur adipisicing elit. Animi voluptatibus laborum atque
- explicabo consequuntur esse, ab debitis facere obcaecati aperiam suscipit officiis ut amet
- quasi optio porro odit maxime placeat.
-
-
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Aut iste pariatur laboriosam
- possimus suscipit, ullam nemo, laborum minima itaque sed obcaecati. Neque officia, non
- similique eius repudiandae sequi totam nihil?
-
-
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Aut iste pariatur laboriosam
- possimus suscipit, ullam nemo, laborum minima itaque sed obcaecati. Neque officia, non
- similique eius repudiandae sequi totam nihil?
-
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Animi voluptatibus laborum atque explicabo consequuntur esse, ab debitis facere obcaecati aperiam suscipit officiis ut amet quasi optio porro odit maxime placeat.
-
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aut iste pariatur laboriosam possimus suscipit, ullam nemo, laborum minima itaque sed obcaecati. Neque officia, non similique eius repudiandae sequi totam nihil?
-`;
- internalParagraph = `
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Animi voluptatibus laborum atque explicabo consequuntur esse, ab debitis facere obcaecati aperiam suscipit officiis ut amet quasi optio porro odit maxime placeat.
-
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aut iste pariatur laboriosam possimus suscipit, ullam nemo, laborum minima itaque sed obcaecati. Neque officia, non similique eius repudiandae sequi totam nihil?
-
Lorem ipsum dolor sit amet consectetur adipisicing elit. Aut iste pariatur laboriosam possimus suscipit, ullam nemo, laborum minima itaque sed obcaecati. Neque officia, non similique eius repudiandae sequi totam nihil?
- Some ng-bootstrap components contain static English text that does not appear on screen but is
- used in aria attributes needed for accessibility.
-
-
-
- The internationalization of this content is done using the
- @angular/localize
- package. To do this, make sure to add
- import '@angular/localize/init';
- to your
- polyfills.ts
- file, then use the implementation below to enable translations:
-
- The Swiss Post Design System documentation is migrating towards a new and revised version
- based on storybook.
-
-
- Since it is still a beta version it is not yet complete, but in general the new storybook
- version gives you a much better overview of the components and their possible states.
-
- Update Bootstrap to version
-
- 5.3.x
-
-
- and ng-bootstrap to version
-
- 15.x.x
-
-
- :
-
-
-
-
-
- Update Design System style package to version 6:
-
-
-
-
-
-
-
Automatic Migration ⚙️
-
- If you are migrating an Angular application, you can take advantage of our migration
- schematics.
-
-
-
Commit all the changes you have made so far
-
Make sure you are running on a node version >= 16
-
- You should now be able to run the following command to apply all automatic migrations
- to your application:
-
-
-
-
-
-
Component Migration 🤓
-
- Changes flagged with the ⚙️ symbol should be automatically migrated with our migration
- tool.
-
-
Accessibility
-
-
-
- Stepper
- breaking
-
-
- The markup of the
- stepper
- component has been changed in order to be more accessible.
-
-
-
- ⚙️
- The stepper container no longer has an aria-label attribute but contains a hidden
- header instead
-
-
- ⚙️
- The progress bar is hidden and no longer requires a type attribute
-
-
- ⚙️
- The stepper has a list role
-
-
Completed steps require an additional hidden "Completed: " text
-
Current and incomplete steps should not be links
-
-
-
-
Deprecations
-
-
-
- ngbButton ⚙️
- breaking
-
-
- The
- ngbButton
- and
- ngbButtonLabel
- directives are no longer a part of ng-bootstrap.
-
- The markup and styles have changed and everything now works with CSS Bootstrap
- classes only.
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
- Removed variables
- breaking
-
-
- The following Sass variables have been removed because they are not being used
- anymore.
-
-
-
$table-head-bg
-
-
-
-
-
-
-
-
-
Migration from v4 to v5
-
-
-
-
Clean Start 🧹
-
- Create a branch and commit all changes to have a clean, reversible starting point. If
- you like to upgrade from a Design System version lower than 4.0.0, it might be necessary
- to upgrade to v4 first.
-
-
-
-
-
Old Package Uninstallation 🗑️
-
-
Uninstall the old styles and the old intranet header packages.
-
-
-
-
-
- New Package Installation 📦
-
-
-
-
-
Package Update 🩺
-
-
- If your Angular version is lower than 13, use
-
- https://update.angular.io/
-
- to update Angular step by step to version 13.
-
-
-
-
-
-
-
-
-
-
-
- Update Bootstrap to version
-
- 5.1.x
-
-
- and ng-bootstrap to version
-
- 12.x.x
-
-
- :
-
-
-
-
-
Automatic Migration ⚙️
-
- If you are migrating an Angular application, you can take advantage of our migration
- schematics.
-
-
-
Commit all the changes you have made so far
-
Make sure you are running on a node version >= 16
-
- You should now be able to run the following command to apply all automatic migrations
- to your application:
-
-
-
-
-
-
Component Migration 🤓
-
- Changes flagged with the ⚙️ symbol should be automatically migrated with our migration
- tool.
-
-
-
Deprecations
-
-
-
- Dropped jQuery dependency
-
-
- Replace all jQuery components with the given one or integrate jQuery by your own
- (not recommended).
-
-
-
-
-
- The
- Custom-Select
- component has been marked as deprecated.
-
- For the moment there is only the alternative to use the
- Form-Select
- component instead. An alternative is being implemented.
-
-
-
-
-
-
Migrations list
-
- Some changes cannot be migrated automatically.
-
- Check the list of changes below and apply the transformations manually if your
- application is affected.
-
-
-
-
-
-
-
-
-
-
-
-
-
Paths & Files
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Variables
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Mixins
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Classes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Alert / Notification
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
Badge
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
Background
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
Blockquote
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
Button
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
Button Close
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
Card
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
Forms
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
From Control
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
From Select
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
From Textarea
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
Form File
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
From Checkbox
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
From Radio
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
Form Switch
-
-
- The
- switch
- component has been moved to the
- Bootstrap
- section since Bootstrap version 5.x now provides such a component.
-
- If you import this component manually, you need to update to the new file
- path.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Buttons
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
DatePicker
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
Modal
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Accordion
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Accordion
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Custom-Select
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
Subnavigation
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
-
-
-
-
-
Topic Teaser
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- See the
- documentation
- for more detailed information.
-
- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
- invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et
- accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
- sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
- elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
- diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd
- gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
- amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
- dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores
- et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
- amet.
-
- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
- invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et
- accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
- sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
- elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
- diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd
- gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit
- amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
- dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores
- et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
- amet.
-
- The Intranet Header is an
- Angular
- component and as such, only works with Angular projects.
-
-
-
-
- List of compatible version numbers with external dependencies.
-
-
-
-
Intranet-header
-
Bootstrap
-
Angular
-
Ng-Bootstrap
-
-
-
-
-
-
3.x
-
4.x
-
14.x
-
13.x
-
-
-
4.x
-
5.2
-
15.x
-
14.x
-
-
-
5.x
-
5.2
-
16.x
-
15.x
-
-
-
-
-
Install the latest version of the Intranet Header with:
-
-
Or specify the version you need:
-
-
-
Usage
-
-
- In your
- app.module.ts
- , add the header to your imports:
-
-
-
- On your layout page; create a container (e.g.
- <div>
- or
- <section>
- - or use the
- body
- container) and apply the following css classes:
-
-
-
layout-container
-
- header-big
- - if you are using the top with the navbar
-
-
- header-small
- - if you are using the top without the navbar
-
-
- with-searchbar
- - if you are using the top with the searchbar
-
-
-
- Inside, add the
- post-intranet-header
- component, with the applicable options (see below).
-
-
- If you are using the navbar, add the list-items for the navigation directly inside the tag.
- (see example "With top navigation, without sidenav")
-
-
- If you are using a side-nav, adjust your markup accordingly. (See examples "Without top
- navigation, with sidenav" and "Intranet-Header "postweb"").
-
- Make sure that you have the
- openedMenu
- Property in your angular app and that you apply the same classes to the markup as shown in the
- mentioned examples.
-
-
-
-
Options
-
-
-
-
-
Property
-
Type
-
Default
-
Description
-
-
-
-
-
- additionalInfo
-
-
- string
-
-
- ''
-
-
- Additional information about the user, shown as item in the user-dropdown.
-
- By default, the item will not be rendered.
-
-
-
-
- currentUserId
-
-
- string
-
-
- ''
-
-
- The user ID of the currently logged on user.
-
- Used to show the users profile image.
-
- The default value of
- 'user'
- is used to show the fallback-image.
-
-
-
-
- displayName
-
-
- string
-
-
- ''
-
-
- The name of the logged on user, shown as item in the user-dropdown.
-
- By default, the item will not be rendered.
-
-
-
-
- hasNavbar
-
-
- boolean
-
-
- true
-
-
Whether the navigation is rendered or not.
-
-
-
- languages
-
-
- string
-
-
- 'de,fr,it,en'
-
-
- A comma-separated string that specifies the languages available to the language-selector
- shown as items in the user-dropdown.
-
- Possible language values are:
- de
- ,
- fr
- ,
- it
- and
- en
-
-
-
-
- logoUrl
-
-
- string
-
-
- ''
-
-
- The url which is used for the
- href
- attribute on the logo.
-
-
-
-
- optionDropdownContent
-
-
TemplateRef<any>
-
null
-
- Represents an embedded angular template that can be used to instantiate embedded views.
-
- Shown as item in the user-dropdown.
-
- By default, the item will not be rendered.
-
-
-
-
- optionHeaderContent
-
-
TemplateRef<any>
-
null
-
- Represents an embedded angular template that can be used to instantiate embedded views.
-
- Shown as custom content before the user-dropdown.
-
- By default, the item will not be rendered.
-
-
-
-
- searchUrl
-
-
- string
-
-
- ''
-
-
- Used as the form
- action
- attribute on the search form.
-
- If
- showIntranetSearch
- is set to
- true
- the
- searchUrl
- must be set as well.
-
-
-
-
- showIntranetSearch
-
-
boolean
-
false
-
Whether the search is rendered or not.
-
-
-
- siteTitle
-
-
- string
-
-
- ''
-
-
The website/application name, shown next to the Logo.
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad
- squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck
- quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it
- squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica,
- craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur
- butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth
- nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad
- squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck
- quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it
- squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica,
- craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur
- butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth
- nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
-
- The
- .pi-calendar
- class previously used to display the calendar icon in the datepicker button has been deprecated
- in favor of the
- .pi-3203
- class which shows the same icon.
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam tempor nisi quis velit efficitur
- scelerisque. In convallis dui non molestie vestibulum. Maecenas tempor lorem sit amet augue
- tincidunt, non ornare diam semper. Curabitur tempus feugiat orci vitae suscipit. Nam
- sollicitudin varius leo, sed ultrices nisl suscipit eget. Quisque libero ipsum, blandit in
- vestibulum sed, ultricies maximus purus. Cras tempus lorem leo, venenatis varius dui pharetra
- sed. Proin et dignissim nunc. Cras et tristique ante. Integer faucibus magna felis, eget
- viverra turpis aliquet ut. Etiam dictum eleifend magna. Praesent hendrerit commodo massa, quis
- suscipit libero convallis a.
-
-
- Fusce maximus tempor semper. Donec gravida volutpat odio, in iaculis leo vehicula nec.
- Praesent vel dui et ligula cursus efficitur. Duis vitae diam nibh. Donec convallis, nisi at
- lobortis placerat, risus diam egestas lorem, et malesuada libero urna mattis orci. Integer
- bibendum odio laoreet convallis pretium. Nunc tortor lorem, eleifend at ante quis, molestie
- pellentesque augue. Aenean fringilla risus est, eu posuere velit condimentum sed. Ut in felis
- id sapien dictum scelerisque. Curabitur scelerisque velit pulvinar magna bibendum dictum. Nunc
- fringilla leo semper dolor consequat rhoncus. Vivamus sit amet elit et enim finibus semper.
- Sed et lobortis mi, sed gravida nisl. Donec et risus laoreet, condimentum orci eget, vehicula
- arcu. Pellentesque in semper purus, et porta urna.
-
-
- Fusce ultrices viverra eros a convallis. Cras et tempor mauris. Fusce tincidunt libero sit
- amet odio euismod, non placerat massa semper. Vivamus aliquet dolor eget justo posuere luctus.
- Aliquam id risus ante. Nulla urna felis, accumsan sed purus nec, dignissim scelerisque nisl.
- Aliquam at magna quis dolor mollis vestibulum non sit amet augue. Sed velit justo,
- pellentesque sit amet blandit sed, gravida at ante. Nulla sed mi erat. Proin at orci eu justo
- dapibus dapibus. Morbi ac mattis tellus. Phasellus fringilla elementum magna at finibus.
- Curabitur tempor consequat varius. Ut sit amet orci arcu. Curabitur dignissim libero ut
- bibendum venenatis.
-
-
- Morbi consequat rhoncus risus, in placerat diam mattis vitae. Ut vitae elementum nisl. Nullam
- sed ullamcorper nulla. Morbi ut justo odio. Suspendisse congue lectus et nisl iaculis,
- sagittis consequat leo tempus. Morbi a nisl dignissim, sollicitudin nisi vitae, convallis
- diam. Pellentesque nec cursus risus. Sed vestibulum augue vel nunc eleifend pulvinar. Aenean
- ut lobortis enim. Praesent lorem diam, iaculis vitae tellus ac, luctus hendrerit ex. Quisque
- vestibulum nibh ac euismod lacinia.
-
-
- Donec suscipit congue metus sed tristique. Nunc sagittis auctor ex vitae tristique. Integer
- lectus magna, pretium non purus eget, fringilla vulputate dolor. Lorem ipsum dolor sit amet,
- consectetur adipiscing elit. Phasellus mollis nunc nec velit dignissim, eu faucibus metus
- lobortis. Fusce lacus nibh, varius ultrices dignissim nec, gravida vitae enim. In blandit
- pretium ligula. Nulla imperdiet malesuada dui in fermentum. Mauris nisi augue, luctus nec
- ullamcorper ut, consectetur nec dolor. Aliquam at diam dolor.
-
- To manually remove the focus styles on close button in modal, you will need to add
- ngbAutofocus tabindex="-1"
- to the title with class modal-title. For advanced focus management (focus the [X] button, focus
- the [OK] button), please refer to
-
- https://ng-bootstrap.github.io/#/components/modal/examples#focus
-
- .
-
- The progress bar also requires an
- ariaLabel
- attribute which provides context to the current progress. See the example above for how to use
- it.
-
\ No newline at end of file
diff --git a/packages/demo/src/app/ng-bootstrap/components/tabs/tabs-demo-page/tabs-demo-page.component.html b/packages/demo/src/app/ng-bootstrap/components/tabs/tabs-demo-page/tabs-demo-page.component.html
deleted file mode 100644
index ace1f62a7c..0000000000
--- a/packages/demo/src/app/ng-bootstrap/components/tabs/tabs-demo-page/tabs-demo-page.component.html
+++ /dev/null
@@ -1,313 +0,0 @@
-
-
Tabs
-
-
-
-
-
-
-
Default
-
- The tabs pattern is designed to be used outside of a
- .container
- context to spread the background and lines to the edge of the viewport. However, the tabs
- can be used in another context as well (see at the bottom). In this case, notice the missing
- .container
- classes in the template.
-
-
-
-
-
-
-
-
-
-
Dark background
-
-
-
-
-
-
-
-
-
Light background
-
-
-
-
-
-
-
-
-
Colored tabs on white background
-
-
-
-
-
Heads up!
-
- Notice the three
- bg-*
- classes to see how to fine-tune the background colors.
-
- Inside Job
- is a 2010 American
- documentary film
- , directed by
-
- Charles Ferguson
-
- , about the
-
- late-2000s financial crisis
-
- . Ferguson, who began researching in 2008,
- [3]
- says the film is about "the systemic corruption of the United States by the
-
- financial services
-
- industry and the consequences of that systemic corruption".
- [4]
- In five parts, the film explores how changes in the policy environment and banking
- practices helped create the financial crisis.
-
- Mantis shrimps
- , or
- stomatopods
- , are
-
- carnivorous
-
-
- marine
-
-
- crustaceans
-
- of the
-
- order
-
- Stomatopoda
- ,
-
- branching
-
- from other members of the class
-
- Malacostraca
-
- around 340 million years ago.
- [2]
- Mantis shrimps typically grow to around 10 cm (3.9 in) in length, while a
- few can reach up to 38 cm (15 in).
-
- [3]
-
- The largest mantis shrimp ever caught had a length of 46 cm (18 in); it
- was caught in the
-
- Indian River
-
- near
-
- Fort Pierce, Florida
-
- , in the
-
- United States
-
- .
-
- [4]
-
- A mantis shrimp's
- carapace
- (the bony, thick shell that covers crustaceans and some other species) covers only
- the rear part of the head and the first four segments of the
- thorax
- . Varieties range in color from shades of brown to vivid colors, with more than 450
- species of mantis shrimps being known. They are among the most important
-
- predators
-
- in many shallow,
- tropical
- and
-
- subtropical
-
- marine
- habitats
- . However, despite being common, they are poorly understood, as many species spend
- most of their lives tucked away in burrows and holes.
- [5]
-
-
- Called "sea locusts" by
- ancient
-
- Assyrians
-
- , "prawn killers" in Australia,
- [6]
- and now sometimes referred to as "thumb splitters" — because of the animal's ability
- to inflict painful wounds if handled incautiously
- [7]
- — mantis shrimps have powerful
- raptorials
- that are used to attack and kill prey either by spearing, stunning, or
-
- dismembering
-
- . Some mantis shrimp species have specialised calcified "clubs" that can strike with
- great power, while others have sharp forelimbs used to seize the prey (hence the
- term "mantis" in its
-
- common name
-
- ).
-
- They have been found everywhere, from mountaintops to the
- deep sea
- and
-
- mud volcanoes
-
- ,
- [7]
- and from
-
- tropical rainforests
-
- to the
- Antarctic
- .
- [8]
- Tardigrades are among the most resilient animals known,
-
- [9]
-
-
- [10]
-
- with individual species able to survive extreme conditions—such as exposure to
- extreme temperatures, extreme
-
- pressures
-
- (both high and low), air deprivation,
- radiation
- ,
-
- dehydration
-
- , and
- starvation
- —that would quickly kill most other known forms of
- life
- .
- [11]
- Tardigrades have survived exposure to
-
- outer space
-
- .
- [12]
- [13]
- There are about 1,300 known species
- [14]
- in the
- phylum
- Tardigrada, a part of the superphylum
- Ecdysozoa
- consisting of animals that grow by
- ecdysis
- such as
- arthropods
- and
- nematodes
- . The earliest known true members of the group are known from Cretaceous amber in
- North America, but are essentially modern forms, and therefore likely have a
- significantly earlier origin, as they diverged from their closest relatives in the
- Cambrian
- , over 500 million years ago.
-
-
- Tardigrades are usually about 0.5 mm (0.02 in) long when fully grown.
-
- [1]
-
- They are short and plump, with four pairs of legs, each ending in claws (usually
- four to eight) or suction disks.
-
- [1]
-
-
- [15]
-
- Tardigrades are prevalent in
- mosses
- and
- lichens
- and feed on plant cells, algae, and small invertebrates. When collected, they may be
- viewed under a low-power
- microscope
- , making them accessible to students and amateur scientists.
- [16]
-
- Turritopsis dohrnii
- , also known as the
- immortal jellyfish
- , is a
- species
- of small,
-
- biologically immortal
-
- jellyfish
- [2]
-
- [3]
-
- found worldwide in temperate to tropic waters. It is one of the few known cases of
- animals
- capable of reverting completely to a sexually immature, colonial stage after having
- reached sexual maturity as a solitary individual. Others include the jellyfish
-
-
- Laodicea undulata
-
-
- [
-
- sv
-
- ]
-
-
- [4]
- and species of the genus
-
-
- Aurelia
-
-
- .
- [5]
-
-
- Like most other
-
- hydrozoans
-
- ,
- T. dohrnii
- begin their life as tiny, free-swimming
- larvae
- known as
- planulae
- . As a planula settles down, it gives rise to a colony of
-
- polyps
-
- that are attached to the
- sea-floor
- . All the polyps and jellyfish arising from a single planula are genetically
- identical clones.
- [6]
- The polyps form into an extensively branched form, which is not commonly seen in
- most jellyfish. Jellyfish, also known as medusae, then bud off these polyps and
- continue their life in a free-swimming form, eventually becoming sexually mature.
- When sexually mature, they have been known to prey on other jellyfish species at a
- rapid pace. If a
- T. dohrnii
- jellyfish is exposed to environmental stress, physical assault, or is sick or old,
- it can revert to the polyp stage, forming a new polyp colony.
-
- [7]
-
- It does this through the cell development process of
-
- transdifferentiation
-
- , which alters the
-
- differentiated state of the cells
-
- and transforms them into new types of cells.
-
-
- Theoretically, this process can go on indefinitely, effectively rendering the
- jellyfish biologically immortal,
-
- [3]
-
-
- [8]
-
- although in practice individuals can still die. In nature, most
- Turritopsis
- dohrnii
- are likely to succumb to predation or disease in the medusa stage without reverting
- to the polyp form.
-
- [9]
-
-
-
- The capability of biological immortality with no maximum lifespan makes
- T. dohrnii
- an important target of basic biological,
- aging
- and
-
- pharmaceutical
-
- research.
-
- [10]
-
-
- Together with the four species of
- echidna
- , it is one of the five
-
- extant
-
- species of
- monotremes
- , the only mammals that lay
-
- eggs
-
- instead of giving birth to live young. Like other monotremes, it senses prey through
-
- electrolocation
-
- . It is one of the few species of
-
- venomous mammals
-
- , as the male platypus has a
-
- spur
-
- on the hind foot that delivers a
-
- venom
-
- capable of causing severe pain to humans. The unusual appearance of this egg-laying,
- duck
- -billed,
- beaver
- -tailed,
- otter
- -footed mammal baffled European naturalists when they first encountered it, and the
- first scientists to examine a preserved platypus body (in 1799) judged it a fake,
- made of several animals sewn together.
-
-
- The unique features of the platypus make it an important subject in the study of
-
- evolutionary biology
-
- , and a recognisable and iconic symbol of
- Australia
- . It is culturally significant to several
-
- Aboriginal peoples of Australia
-
- , who also used to hunt the animal for food. It has appeared as a mascot at national
- events and features on the
-
- reverse
-
- of the
-
- Australian twenty-cent coin
-
- , and the platypus is the animal emblem of the state of
-
- New South Wales
-
- . Until the early 20th century humans hunted the platypus for its fur, but it is now
- protected throughout its range. Although
-
- captive-breeding
-
- programs have had only limited success, and the platypus is vulnerable to the
- effects of pollution, it is not under any immediate threat.
-
- Using
- placement="[position] auto"
- allows the tooltip to be displayed in another location if there is no room for the initial
- placement location.
-
- Lorem, ipsum dolor sit amet consectetur adipisicing elit. Temporibus nisi iusto cupiditate
- optio perferendis iure ipsa vitae assumenda! Consequuntur, pariatur necessitatibus nesciunt
- architecto quidem a unde rerum vero praesentium cum.
-
- The datatable offered by the ngx-datatable package does not meet the required accessibility
- standards, therefore it should be avoided in Internet applications.
-
- All things need to be contained inside a container. The container limits the size of the content
- and centers it on the page.
-
-
-
-
Basic input
-
- For accessibility reasons, form fields should always have a label linked via the id/for
- attributes. Screen-readers will announce the label when the input gets the focus. If there is no
- label, screen-reader users have no idea what the input should be, even if there is other text
- next to the field.
-
-
-
-
-
-
-
-
Vertical spacing
-
- To add space between input, you can use
- margin utilities
- .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Rows'n'cols
-
- If you want a form field to span the whole available width, you don't need a row nor a col. You
- only need those, if you want to place two things next to each other.
-
-
- Simply use
- .row
- and
- .col
- to have the width distributed evenly between all inputs. To make it responsive, you can add
- .row-cols-*
- classes to the row (
- Bootstrap Row Columns
- ).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- For finer adjustment, you can also use the
- .col-*
- classes (
-
- Bootstrap Columns
-
- ) on your columns. For example for a 2/1 ratio, given that a row has twelve columns in total,
- just add
- .col-8
- and
- .col-4
- to you two columns respectively.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Fields with custom width
-
- Some fields may not fit into the twelve row schema, they need a custom width. The PLZ field may
- be one of those cases. Two
- .col
- next to each other will have equal width. If one of the cols has the
- .col-auto
- class, this col is sized based on it's content. The other row is stretched to the container
- width. With this setup, we can define a max-width on the input field to shrink it.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Form buttons
-
- Buttons, often at the end of the form are right aligned. We can achieve this with the classes
- d-flex flex-row-reverse
- . This will ensure that the primary button is focused first (because of the markup order) but is
- still aligned to the right. To get some margin between the button we can use the
- .gap-8
- class. Note that for the buttons, we don't need any row/col structure. Read more about gap
- classes at
- Bootstrap Gaps
- .
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Floating labels
-
- For internet applications, bigger input fields with floating labels are the Post way of creating
- forms. The particularity of these fields, is that the
- <label>
- and
- <input>
- elements are inverted and wrapped in a
- .form-floating
- div. In addition, the input field needs a placeholder attribute, preferably equal to a single
- space.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Validation messages
-
- Validation messages are placed directly after the
- <input>
- (or after the
- <label>
- in the case of floating label). Showing and hiding of these messages is typically controlled by
- adding and removing validation classes on the input:
-
-
-
- The message needs the class
- .invalid-feedback/.valid-feedback
- ,
-
-
-
-
- The form needs the class
- .was-validated
- . With this class you can manage when to display errors. Usually, errors should not be
- shown on untouched fields.
-
-
Or
-
- The input field needs the class
- .is-invalid/.is-valid
- ,
-
-
-
-
-
-
-
-
-
-
Hints
-
- Hints can help users better understand the type of information they need to provide. Hints, like
- validation messages, must be placed after the
- <input>
- (or
- <label>
- in the case of floating label) and after validation messages if there are some.
-
-
- Hints use the class
- .form-text
- .
-
-
- To enable screen-readers to detect and read your hints, link the
- <input>
- with the aria-labelledby attribute to the hint via id.
-
- The usage of icons as base64 encoded background images in CSS will soon be deprecated. You can
- 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.
-
- so zwischen ca. 5g
-
- bis ungefähr etwa 500 g
-
-
1.20
-
-
-
bis 50 g
-
2.20
-
-
-
bis 100 g
-
2.90
-
-
-
bis 100 g
-
2.90
-
-
-
bis 100 g
-
2.90
-
-
-
bis 100 g
-
2.90
-
-
-
-
-
-
Sample Product
-
140 x 90 mm bis B5 (250 x 176 mm)
-
-
-
bis 500 g
-
1.20
-
-
-
bis 50 g
-
2.20
-
-
-
bis 100 g
-
2.90
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Schneller
-
Sample Product
-
- Lorem ipsum aafw ea aewfwe awef awfeaea awefa wawef waf wawefa ea dolor sit amet
- consectetur adipisicing elit. Iusto nulla laboriosam nesciunt. Unde velit dolores
- at fugiat dolorum nobis sit.
-
- The square below has a "Big" padding from the large (lg) breakpoint and a "Regular" padding
- below.
-
-
-
-
-
-
-
-
-
-
Using automatic responsive behavior
-
- The square below has a "Large" responsive padding, which means the padding size automatically
- changes based on the breakpoint but remains visually consistent.
-
- The current set of the post-specific sizing variables is deprecated in favour of a new naming system that is
- consistent with the Design. For further information, please read the
- discussion on sizing variables on GitHub
- and have a look at the
- implementation in Figma.
-
-
Affected properties:
-
-
- margin
- and
- padding
- (new solution with updated naming system up coming)
-
- Height and width can be set using
- h-*
- and
- w-*
- prefixes, max-height and max-width can be set using prefixes
- mh-*
- and
- mw-*
- .
-
-
-
- Bootstrap offers sizing classes with the following number suffixes:
- *-25
- ,
- *-50
- ,
- *-75
- ,
- *-100
- . They allow you to set a height / width as a percentage (see "Bootstrap Sizing" link above for
- reference).
-
-
- Post sizes can be used in the same way: by adding the name of the desired size to a prefix (to
- find out which size name to use, see the "Size name in classes" column in the reference table
- above or use the demo below).
-
-
-
Example
-
-
-
-
-
-
-
Padding & Margin
-
- Padding and margin can be set using
- p*
- and
- m*
- prefixes.
-
-
- You can apply the desired margin / padding all around an element using the prefix alone (
- m-*
- /
- p-*
- ), or you can specify a position (ex:
- pt-
- ,
- pb-
- ,
- pe-
- ,
- ps-
- respectively for a padding at top, bottom, right and left). You can also set a margin/padding
- along the horizontal axis (i.e. right and left) using
- px-
- /
- mx-
- or along the vertical axis (i.e. top and bottom) using
- py-
- /
- my-
- .
-
-
- Bootstrap offers spacing classes with suffixes going from 0 to 5 (
- *-0
- ,
- *-1
- ,
- *-2
- , ...) (see "Bootstrap Spacing" link above for reference).
-
-
- Post sizes can be used in the same way: by adding the name of the desired size to a prefix (to
- find out which size name to use, see the "Size name in classes" column in the reference table
- above or use the demo below).
-
-
-
Example
-
-
-
-
-
-
-
Responsive behaviour
-
By default, the above classes apply to all breakpoints.
-
- If you need to change the size or spacing of an element based on the breakpoint, you should
- mention it in the class name using one of the following infixes:
- *-sm-*
- ,
- *-rg-*
- ,
- *-md-*
- ,
- *-lg-*
- ,
- *-xl-*
- ,
- *-xxl-*
- . When a breakpoint is specified, the size applies to that breakpoint and to all those that are
- larger.
-
-
- Another way to define a responsive size is to use the
- *-r
- suffix. It allows to obtain a size which updates automatically and consistently depending on the
- breakpoint, without having to specify anything manually.
-
-
-
- There is some continous text here as an example. Lorem ipsum dolor sit amet, consetetur
- sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
- erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
-
-
-
-
-
-
-
-
-
- Small spinner. Usage: Loading asynchronous data for components like lists, tables, etc. Blocking
- only component.
-
-
-
-
-
- There is some continous text here as an example. Lorem ipsum dolor sit amet, consetetur
- sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
- erat, sed diam voluptua.
-
-
-
-
-
-
-
-
-
XS spinner. Usage: On button, inline with text, ...; when waiting for a response.
- If you use multiple topic teasers on one page, each topic teaser must have a different
- background.
-
- Only use "
- Extended Swiss Post backgrounds
- " or "bg-light" as background.
-