@porsche-design-system/components-vue 4.8.0 → 4.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/package.json +2 -2
  3. package/skills/pds-audit-deprecations-vue/SKILL.md +2 -2
  4. package/skills/pds-knowledge-vue/SKILL.md +2 -2
  5. package/skills/pds-knowledge-vue/references/components/p-banner/p-banner.md +2 -2
  6. package/skills/pds-knowledge-vue/references/components/p-carousel/p-carousel.md +1 -1
  7. package/skills/pds-knowledge-vue/references/components/p-crest/p-crest.md +1 -1
  8. package/skills/pds-knowledge-vue/references/components/p-display/p-display.md +1 -1
  9. package/skills/pds-knowledge-vue/references/components/p-fieldset/p-fieldset.md +2 -2
  10. package/skills/pds-knowledge-vue/references/components/p-flyout/p-flyout.md +1 -3
  11. package/skills/pds-knowledge-vue/references/components/p-heading/p-heading.md +1 -1
  12. package/skills/pds-knowledge-vue/references/components/p-icon/p-icon.md +39 -0
  13. package/skills/pds-knowledge-vue/references/components/p-inline-notification/p-inline-notification.md +1 -1
  14. package/skills/pds-knowledge-vue/references/components/p-input-date/p-input-date.md +1 -1
  15. package/skills/pds-knowledge-vue/references/components/p-input-email/p-input-email.md +1 -1
  16. package/skills/pds-knowledge-vue/references/components/p-input-month/p-input-month.md +1 -1
  17. package/skills/pds-knowledge-vue/references/components/p-input-number/p-input-number.md +1 -1
  18. package/skills/pds-knowledge-vue/references/components/p-input-password/p-input-password.md +1 -1
  19. package/skills/pds-knowledge-vue/references/components/p-input-search/p-input-search.md +1 -1
  20. package/skills/pds-knowledge-vue/references/components/p-input-tel/p-input-tel.md +1 -1
  21. package/skills/pds-knowledge-vue/references/components/p-input-text/p-input-text.md +1 -1
  22. package/skills/pds-knowledge-vue/references/components/p-input-time/p-input-time.md +1 -1
  23. package/skills/pds-knowledge-vue/references/components/p-input-week/p-input-week.md +1 -1
  24. package/skills/pds-knowledge-vue/references/components/p-modal/p-modal.md +1 -3
  25. package/skills/pds-knowledge-vue/references/components/p-sheet/p-sheet.md +1 -3
  26. package/skills/pds-knowledge-vue/references/components/p-text/p-text.md +1 -1
  27. package/skills/pds-knowledge-vue/references/components/p-toast/p-toast.md +2 -2
  28. package/skills/pds-knowledge-vue/references/deprecations.md +4 -4
  29. package/skills/pds-knowledge-vue/references/styles/emotion.md +9 -3
  30. package/skills/pds-knowledge-vue/references/styles/scss.md +9 -3
  31. package/skills/pds-knowledge-vue/references/styles/tailwindcss.md +9 -3
  32. package/skills/pds-knowledge-vue/references/styles/vanilla-extract.md +9 -3
  33. package/skills/pds-knowledge-vue/references/stylesheets.md +22 -10
  34. package/stylesheets/cn/index.css +1 -1
  35. package/stylesheets/index.css +1 -1
  36. package/stylesheets/variables.css +1 -1
package/CHANGELOG.md CHANGED
@@ -14,6 +14,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [4.9.0] - 2026-10-21
18
+
19
+ ## [4.9.0-rc.0] - 2026-10-20
20
+
21
+ ### Added
22
+
23
+ - `Knowledge Skill`: the guideline for creating custom icons in the `p-icon` reference
24
+ ([#4781](https://github.com/porsche-design-system/porsche-design-system/pull/4781))
25
+
26
+ ### Changed
27
+
28
+ - **Global Styles**: the default `color-scheme` on `:root` is now `only light` instead of `light`. This prevents
29
+ browsers with an automatic dark mode (e.g. Chrome on Android, Samsung Internet) from recoloring pages that use the
30
+ default light theme, which made icons practically invisible. The PDS light theme looks unchanged, and `.scheme-*`
31
+ classes behave as before. To allow automatic darkening again, set `.scheme-light` on the `<html>` element.
32
+ ([#4783](https://github.com/porsche-design-system/porsche-design-system/pull/4783))
33
+ - **React SSR**: components from `@porsche-design-system/components-react/ssr` cache their styles per combination of
34
+ props instead of generating them on every server render, which reduces the server's CPU time per render. The rendered
35
+ markup is unchanged. ([#4788](https://github.com/porsche-design-system/porsche-design-system/pull/4788))
36
+
37
+ ### Fixed
38
+
39
+ - `Knowledge Skill`: links to Storefront pages the skill doesn't include led to an error page instead of the
40
+ documentation; they now open the Storefront of the skill's version
41
+ ([#4781](https://github.com/porsche-design-system/porsche-design-system/pull/4781))
42
+ - `Button`, `Drilldown`, `Link`, `Multi Select`, `Segmented Control`, `Select`, `Tabs`, `Tabs Bar`: colors could lose contrast in high contrast mode, including hover, highlighted and selected states.
43
+ ([#4775](https://github.com/porsche-design-system/porsche-design-system/pull/4775))
44
+ - `Multi Select Option`: slotted content only took up the width of its own content, so it could not fill the option,
45
+ e.g. with `w-full`, and right-aligned elements were not aligned to the right edge
46
+ ([#4787](https://github.com/porsche-design-system/porsche-design-system/pull/4787))
47
+
17
48
  ## [4.8.0] - 2026-10-02
18
49
 
19
50
  ## [4.8.0-rc.1] - 2026-10-01
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porsche-design-system/components-vue",
3
- "version": "4.8.0",
3
+ "version": "4.9.0",
4
4
  "description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
5
5
  "keywords": [
6
6
  "porsche",
@@ -21,7 +21,7 @@
21
21
  "url": "https://github.com/porsche-design-system/porsche-design-system"
22
22
  },
23
23
  "dependencies": {
24
- "@porsche-design-system/components-js": "4.8.0"
24
+ "@porsche-design-system/components-js": "4.9.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "ag-grid-enterprise": ">= 36.0.0 <37.0.0",
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: pds-audit-deprecations-vue
3
3
  description: Audit an existing vue project for deprecated Porsche Design System (PDS) API usage — components, props, prop values, events, slots, CSS variables, tokens and styling-package aliases. Produces a JSON report and a Markdown report rendered from it, every finding carrying quoted evidence, a concrete fix and a derived confidence. Read-only apart from its two report files.
4
- compatibility: Requires the pds-knowledge-vue skill, which ships alongside this one in @porsche-design-system/components-vue@4.8.0. The audited project must depend on that exact version.
4
+ compatibility: Requires the pds-knowledge-vue skill, which ships alongside this one in @porsche-design-system/components-vue@4.9.0. The audited project must depend on that exact version.
5
5
  disable-model-invocation: true
6
6
  ---
7
7
 
@@ -135,7 +135,7 @@ Every finding carries:
135
135
  - `evidence` — every location where the project **uses** the API, each with a project-relative path, a line number and the source line **quoted verbatim**. The quote is not decoration: it is what lets a reader, or a later fix, confirm the finding against the file instead of trusting it.
136
136
  - `anchor` on a location — the line that proves that usage is PDS, with its own path, line and quoted source. The import, the resolved SCSS `@use` **including one injected by build config**, the Tailwind `@theme` import, or the PDS root at the far end of a wrapper chain. Record it whenever it is not the evidence line itself; it is frequently in another file, and it is the only truthful place to put `vite.config.ts` for a stylesheet that names PDS nowhere. Omit it only where the usage anchors itself, as a `--p-` custom property does.
137
137
  - `remediation` — a `replacement` with the exact `from` and `to` spelling whenever the index documents an unambiguous one, plus an `instruction` in words. Where the index documents no replacement, say so plainly in the instruction rather than inventing one.
138
- - `sources` — the knowledge-skill reference the fact came from, as a path relative to that skill’s root, at version `4.8.0`.
138
+ - `sources` — the knowledge-skill reference the fact came from, as a path relative to that skill’s root, at version `4.9.0`.
139
139
  - the index entry’s message as `deprecationMessage`, verbatim, when it has one. Some say an API has no effect anymore; that wording matters to whoever reads the finding, so do not paraphrase it.
140
140
 
141
141
  An evidence `line` is the **usage** — the attribute, tag, custom property or alias reference itself. Never the `import`, `@use` or `@theme` that anchored it, never the wrapper call it arrived through, and never the declaration line of a constant it resolved from — including a key inside an object that is applied to the element as a whole, which is such a declaration and not a usage. For such an object, the evidence line is the element it is applied to. Where a component is reached through a local binding, the evidence line is the reference to the PDS binding, not the render of the local alias. Those lines are real and they matter, which is exactly why the anchor has a field of its own: counted as locations instead, they inflate a finding by however many anchors it happens to have, and occurrence count is a sort key in §8 — so two runs of an unchanged project stop being comparable.
@@ -15,11 +15,11 @@ Prefer Porsche Design System components and tokens for new UI, even when the use
15
15
 
16
16
  This skill currently covers components, global stylesheets and theming, tokens, styling integrations, patterns and templates, and the deprecated API index. It does not yet include complete getting-started, setup, and installation guidance; the v3-to-v4 migration guide; the changelog; partials; the AG Grid theme; or the Storefront’s Must Know and Help sections.
17
17
 
18
- Before using documentation outside this skill or the installed package, match it to the installed PDS version. This skill was generated for `4.8.0`; prefer the [exact-version Porsche Design System Storefront](https://designsystem.porsche.com/v4.8.0/). Major-version URLs such as `/v4/` always serve the latest v4 release and may describe APIs or setup introduced after the installed version. Use them only as a fallback and verify relevant details against the installed package.
18
+ Before using documentation outside this skill or the installed package, match it to the installed PDS version. This skill was generated for `4.9.0`; prefer the [exact-version Porsche Design System Storefront](https://designsystem.porsche.com/v4.9.0/). Major-version URLs such as `/v4/` always serve the latest v4 release and may describe APIs or setup introduced after the installed version. Use them only as a fallback and verify relevant details against the installed package.
19
19
 
20
20
  For runnable starter apps per framework, consult the [Porsche Design System examples repository](https://github.com/porsche-design-system/examples), selecting a release tag or commit that matches the installed package instead of assuming its default branch is compatible. For release-specific changes, read `../../CHANGELOG.md`.
21
21
 
22
- For exact API facts, inspect the installed typings and metadata first. When readable implementation details are necessary, use the [exact-version component source](https://github.com/porsche-design-system/porsche-design-system/tree/v4.8.0/packages/components/src/components) under the repository's `packages/components/src/components/<component>` directory. Do not use the default branch, which may represent a newer release.
22
+ For exact API facts, inspect the installed typings and metadata first. When readable implementation details are necessary, use the [exact-version component source](https://github.com/porsche-design-system/porsche-design-system/tree/v4.9.0/packages/components/src/components) under the repository's `packages/components/src/components/<component>` directory. Do not use the default branch, which may represent a newer release.
23
23
 
24
24
  For deployed browser behavior, inspect component requests in the Network panel. Treat these minified, content-hashed CDN artifacts as a debugging fallback; use the exact-version repository source for readable implementation details.
25
25
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  The `p-banner` component provides action-based feedback messages (e.g. after performing a task) or to convey informational and/or critical notification like some site related topics.
4
4
 
5
- Review the [notification decision tree](https://designsystem.porsche.com/patterns/notifications/decision-tree) to determine which notification component is best for a particular scenario.
5
+ Review the [notification decision tree](https://designsystem.porsche.com/v4.9.0/patterns/notifications/decision-tree/) to determine which notification component is best for a particular scenario.
6
6
 
7
- For more information about the Usage of the `p-banner` checkout the [Notification](https://designsystem.porsche.com/patterns/notifications/introduction) page.
7
+ For more information about the Usage of the `p-banner` checkout the [Notification](https://designsystem.porsche.com/v4.9.0/patterns/notifications/introduction/) page.
8
8
 
9
9
  ## Accessibility support
10
10
 
@@ -16,7 +16,7 @@ Therefore, the `p-carousel`'s content has to be divided into multiple parts or s
16
16
  >
17
17
  > This component has limited support for dynamic property changes due to the way it is implemented.
18
18
  >
19
- > If you need to use a specific property dynamically, please open a [feature request](https://designsystem.porsche.com/help/feature-request/).
19
+ > If you need to use a specific property dynamically, please open a [feature request](https://designsystem.porsche.com/v4.9.0/help/feature-request/).
20
20
 
21
21
  ## Usage
22
22
 
@@ -4,7 +4,7 @@ The `p-crest` gives the Porsche brand a distinctive look, sets it apart from oth
4
4
 
5
5
  > **Usage hint**
6
6
  >
7
- > This component shall only be used on viewports below 480px (breakpoint "S"). Otherwise, [p-wordmark](../p-wordmark/p-wordmark.md) has to be used.
7
+ > This component shall only be used on viewports below 480px (breakpoint "S"). Otherwise, the [Wordmark](../p-wordmark/p-wordmark.md) has to be used.
8
8
 
9
9
  You can use native `click`, `focus`, `focusin`, `blur` and `focusout` events on the `p-crest`.
10
10
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  > **Recommendation**
8
8
  >
9
- > Although the component is very sophisticated, it's recommended (if possible) to use the corresponding utility classes of the "@porsche-design-system/components-{js | angular | react | vue}/tailwindcss" sub-package or any of the other styling solutions for best performance since way less DOM nodes are required to render. Further information can be found [here](../../styles/tailwindcss.md).
9
+ > Although the component is very sophisticated, it's recommended (if possible) to use the corresponding utility classes of the "@porsche-design-system/components-{js | angular | react | vue}/tailwindcss" sub-package or any of the other styling solutions for best performance since way less DOM nodes are required to render. See the [Tailwind CSS typography examples](../../styles/tailwindcss.md) for details.
10
10
 
11
11
  ## Usage
12
12
 
@@ -1,6 +1,6 @@
1
1
  # p-fieldset
2
2
 
3
- The `p-fieldset` is a grouping component for wrapping contextual associated form elements. Its visible part is an HTML *legend* element, which can be seen like a headline for describing the meaning of a form block. You can see some usage examples on our [form patterns section](https://designsystem.porsche.com/patterns/forms/resources/).
3
+ The `p-fieldset` is a grouping component for wrapping contextual associated form elements. Its visible part is an HTML *legend* element, which can be seen like a headline for describing the meaning of a form block. You can see some usage examples on our [form patterns section](https://designsystem.porsche.com/v4.9.0/patterns/forms/resources/).
4
4
 
5
5
  ## Usage
6
6
 
@@ -27,7 +27,7 @@ The `p-fieldset` is a grouping component for wrapping contextual associated form
27
27
 
28
28
  ### Sections including form elements
29
29
 
30
- [Form pattern guideline](https://designsystem.porsche.com/patterns/forms).
30
+ [Form pattern guideline](https://designsystem.porsche.com/v4.9.0/patterns/forms/).
31
31
 
32
32
  ## Accessibility support
33
33
 
@@ -10,9 +10,7 @@ It is a controlled component. This grants flexible control over the flyout's beh
10
10
  >
11
11
  > This doesn't work completely reliable under iOS but is the most stable solution.
12
12
  >
13
- > Feel free to address this issue in an Open Source PR, if you can provide a better solution.
14
- >
15
- > **[Current implementation](https://github.com/porsche-design-system/porsche-design-system/blob/main/packages/components/src/utils/setScrollLock.ts)**
13
+ > Feel free to address this issue in an Open Source PR, if you can provide a better solution. See the [current implementation of the scroll lock](https://github.com/porsche-design-system/porsche-design-system/blob/main/packages/components/src/utils/setScrollLock.ts).
16
14
 
17
15
  ## Usage
18
16
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **Recommendation**
6
6
  >
7
- > Although the component is very sophisticated, it's recommended (if possible) to use the corresponding utility classes of the "@porsche-design-system/components-{js | angular | react | vue}/tailwindcss" sub-package or any of the other styling solutions for best performance since way less DOM nodes are required to render. Further information can be found [here](../../styles/tailwindcss.md).
7
+ > Although the component is very sophisticated, it's recommended (if possible) to use the corresponding utility classes of the "@porsche-design-system/components-{js | angular | react | vue}/tailwindcss" sub-package or any of the other styling solutions for best performance since way less DOM nodes are required to render. See the [Tailwind CSS typography examples](../../styles/tailwindcss.md) for details.
8
8
 
9
9
  ## Usage
10
10
 
@@ -13,6 +13,45 @@ Along with other Porsche basic elements - such as colors, typography and the Por
13
13
 
14
14
  - Don't use icons without label.
15
15
 
16
+ ## Custom icons
17
+
18
+ We want to enable you to use the icons you need. Check the [Porsche Design System](https://icons.porsche.com) for an appropriate icon you are looking for. If there is no match, we encourage you to build, test and use the icons you need. To help you meet the quality standards of Porsche, you will find the guidelines below.
19
+
20
+ Do you have an icon that is mandatory for several teams and purposes? We are happy to include it in the Porsche Design System. Feel free to get in touch with us on our [Porsche Design System Slack](https://porschedev.slack.com/archives/CT7AVHTTQ)
21
+
22
+ ### Metaphor and Appearance
23
+
24
+ - Check the Porsche environment for similar or close icons to adapt (Web, App, In Car, Print)
25
+ - Stick to the basic geometric shapes.
26
+ - Use easy and commonly known metaphors.
27
+ - Keep the details and complexity to a minimum.
28
+ - Make sure corresponding icons have the same position, e.g. the "add" and "remove" icons.
29
+ - Check your design about other icons from the Porsche Design System.
30
+
31
+ ### Quality assurance
32
+
33
+ - Build your icons based on the default grid (48x48px). Default Porsche icons use 2px lines.
34
+ - Fill areas smaller than 4px.
35
+ - Snap pixels to the grid to ensure a sharp visual appearance (prevents blurred lines because of anti-aliasing on low-resolution displays).
36
+ - Try to balance the width and height of the icon to ensure a uniform appearance in icon groups.
37
+ - Respect the safe area around the icon (approximately 4px, which can vary depending on the ratio of the icon).
38
+ - Design with only one color.
39
+
40
+ ### SVG Export
41
+
42
+ - Transform vector forms in a full, coherent vector shape. (convert strokes to shapes and merge objects).
43
+ - Delete everything that is not necessary (layers, strokes, variants, etc.).
44
+ - Export your icon as an SVG.
45
+ - Name SVG files according to the icon (e.g. "delete.svg" or "edit.svg").
46
+ - Name social icons "logo-companyname.svg".
47
+ - Run an SVG optimizer to create clean, semantic code.
48
+
49
+ ### Read more on
50
+
51
+ [Nielsen Norman Group](https://nngroup.com/articles/icon-testing)
52
+
53
+ [UsabilityHub](https://usabilityhub.com/examples/easiest-icon-to-understand)
54
+
16
55
  ## Accessibility support
17
56
 
18
57
  ### ARIA enhancements
@@ -2,7 +2,7 @@
2
2
 
3
3
  The `p-inline-notification` is a controlled component that provides action-based feedback messages (e.g. after performing a task) or to convey informational and/or critical notification like some site related topics.
4
4
 
5
- Review the [notification decision tree](https://designsystem.porsche.com/patterns/notifications/decision-tree/) to determine which notification component is best for a particular scenario.
5
+ Review the [notification decision tree](https://designsystem.porsche.com/v4.9.0/patterns/notifications/decision-tree/) to determine which notification component is best for a particular scenario.
6
6
 
7
7
  # Inline Notification
8
8
 
@@ -32,7 +32,7 @@ A `label` is a caption which informs the user what information a particular form
32
32
  - [Input Tel](../p-input-tel/p-input-tel.md)
33
33
  - [Input Text](../p-input-text/p-input-text.md)
34
34
  - [Input Time](../p-input-time/p-input-time.md)
35
- - [Input Url](../p-input-url/p-input-url.md)
35
+ - [Input URL](../p-input-url/p-input-url.md)
36
36
  - [Input Week](../p-input-week/p-input-week.md)
37
37
 
38
38
  ## Accessibility support
@@ -34,7 +34,7 @@ While a `placeholder` is optional but recommended to be set whenever bits of exa
34
34
  - [Input Tel](../p-input-tel/p-input-tel.md)
35
35
  - [Input Text](../p-input-text/p-input-text.md)
36
36
  - [Input Time](../p-input-time/p-input-time.md)
37
- - [Input Url](../p-input-url/p-input-url.md)
37
+ - [Input URL](../p-input-url/p-input-url.md)
38
38
  - [Input Week](../p-input-week/p-input-week.md)
39
39
 
40
40
  ## Accessibility support
@@ -32,7 +32,7 @@ A `label` is a caption which informs the user what information a particular form
32
32
  - [Input Tel](../p-input-tel/p-input-tel.md)
33
33
  - [Input Text](../p-input-text/p-input-text.md)
34
34
  - [Input Time](../p-input-time/p-input-time.md)
35
- - [Input Url](../p-input-url/p-input-url.md)
35
+ - [Input URL](../p-input-url/p-input-url.md)
36
36
  - [Input Week](../p-input-week/p-input-week.md)
37
37
 
38
38
  ## Accessibility support
@@ -34,7 +34,7 @@ While a `placeholder` is optional but recommended to be set whenever bits of exa
34
34
  - [Input Tel](../p-input-tel/p-input-tel.md)
35
35
  - [Input Text](../p-input-text/p-input-text.md)
36
36
  - [Input Time](../p-input-time/p-input-time.md)
37
- - [Input Url](../p-input-url/p-input-url.md)
37
+ - [Input URL](../p-input-url/p-input-url.md)
38
38
  - [Input Week](../p-input-week/p-input-week.md)
39
39
 
40
40
  ## Accessibility support
@@ -33,7 +33,7 @@ While a `placeholder` is optional but recommended to be set whenever bits of exa
33
33
  - [Input Tel](../p-input-tel/p-input-tel.md)
34
34
  - [Input Text](../p-input-text/p-input-text.md)
35
35
  - [Input Time](../p-input-time/p-input-time.md)
36
- - [Input Url](../p-input-url/p-input-url.md)
36
+ - [Input URL](../p-input-url/p-input-url.md)
37
37
  - [Input Week](../p-input-week/p-input-week.md)
38
38
 
39
39
  ## Accessibility support
@@ -38,7 +38,7 @@ While a `placeholder` is optional but recommended to be set whenever bits of exa
38
38
  - [Input Tel](../p-input-tel/p-input-tel.md)
39
39
  - [Input Text](../p-input-text/p-input-text.md)
40
40
  - [Input Time](../p-input-time/p-input-time.md)
41
- - [Input Url](../p-input-url/p-input-url.md)
41
+ - [Input URL](../p-input-url/p-input-url.md)
42
42
  - [Input Week](../p-input-week/p-input-week.md)
43
43
 
44
44
  ## Accessibility support
@@ -34,7 +34,7 @@ The `p-input-tel` component is specifically designed for collecting telephone nu
34
34
  - [Input Search](../p-input-search/p-input-search.md)
35
35
  - [Input Text](../p-input-text/p-input-text.md)
36
36
  - [Input Time](../p-input-time/p-input-time.md)
37
- - [Input Url](../p-input-url/p-input-url.md)
37
+ - [Input URL](../p-input-url/p-input-url.md)
38
38
  - [Input Week](../p-input-week/p-input-week.md)
39
39
 
40
40
  ## Accessibility support
@@ -34,7 +34,7 @@ While a `placeholder` is optional but recommended to be set whenever bits of exa
34
34
  - [Input Search](../p-input-search/p-input-search.md)
35
35
  - [Input Tel](../p-input-tel/p-input-tel.md)
36
36
  - [Input Time](../p-input-time/p-input-time.md)
37
- - [Input Url](../p-input-url/p-input-url.md)
37
+ - [Input URL](../p-input-url/p-input-url.md)
38
38
  - [Input Week](../p-input-week/p-input-week.md)
39
39
 
40
40
  ## Accessibility support
@@ -34,7 +34,7 @@ While a `placeholder` is optional but recommended to be set whenever bits of exa
34
34
  - [Input Search](../p-input-search/p-input-search.md)
35
35
  - [Input Tel](../p-input-tel/p-input-tel.md)
36
36
  - [Input Text](../p-input-text/p-input-text.md)
37
- - [Input Url](../p-input-url/p-input-url.md)
37
+ - [Input URL](../p-input-url/p-input-url.md)
38
38
  - [Input Week](../p-input-week/p-input-week.md)
39
39
 
40
40
  ## Accessibility support
@@ -33,7 +33,7 @@ A `label` is a caption which informs the user what information a particular form
33
33
  - [Input Tel](../p-input-tel/p-input-tel.md)
34
34
  - [Input Text](../p-input-text/p-input-text.md)
35
35
  - [Input Time](../p-input-time/p-input-time.md)
36
- - [Input Url](../p-input-url/p-input-url.md)
36
+ - [Input URL](../p-input-url/p-input-url.md)
37
37
 
38
38
  ## Accessibility support
39
39
 
@@ -10,9 +10,7 @@ It is a controlled component. This grants flexible control over the modal's beha
10
10
  >
11
11
  > This doesn't work completely reliable under iOS but is the most stable solution.
12
12
  >
13
- > Feel free to address this issue in an Open Source PR, if you can provide a better solution.
14
- >
15
- > **[Current implementation](https://github.com/porsche-design-system/porsche-design-system/blob/main/packages/components/src/utils/setScrollLock.ts)**
13
+ > Feel free to address this issue in an Open Source PR, if you can provide a better solution. See the [current implementation of the scroll lock](https://github.com/porsche-design-system/porsche-design-system/blob/main/packages/components/src/utils/setScrollLock.ts).
16
14
 
17
15
  Following **web standards**, the component uses the native `<dialog />` element internally which ensures proper focus handling including a **focus trap**. In addition, it's rendered on the `#top-layer` which ensures the element to be on top of the page independent of where `p-modal` is placed in the DOM hierarchy (`z-index` is not relevant anymore and won't have any effect).
18
16
 
@@ -10,9 +10,7 @@ It is a controlled component. This grants flexible control over the sheet's beha
10
10
  >
11
11
  > This doesn't work completely reliable under iOS but is the most stable solution.
12
12
  >
13
- > Feel free to address this issue in an Open Source PR, if you can provide a better solution.
14
- >
15
- > **[Current implementation](https://github.com/porsche-design-system/porsche-design-system/blob/main/packages/components/src/utils/setScrollLock.ts)**
13
+ > Feel free to address this issue in an Open Source PR, if you can provide a better solution. See the [current implementation of the scroll lock](https://github.com/porsche-design-system/porsche-design-system/blob/main/packages/components/src/utils/setScrollLock.ts).
16
14
 
17
15
  Following **web standards**, the component uses the native `<dialog />` element internally which ensures proper focus handling including a **focus trap**. In addition, it's rendered on the `#top-layer` which ensures the element to be on top of the page independent of where `p-sheet` is placed in the DOM hierarchy (`z-index` is not relevant anymore and won't have any effect).
18
16
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **Recommendation**
6
6
  >
7
- > Although the component is very sophisticated, it's recommended (if possible) to use the corresponding utility classes of the "@porsche-design-system/components-{js | angular | react | vue}/tailwindcss" sub-package or any of the other styling solutions for best performance since way less DOM nodes are required to render. Further information can be found [here](../../styles/tailwindcss.md).
7
+ > Although the component is very sophisticated, it's recommended (if possible) to use the corresponding utility classes of the "@porsche-design-system/components-{js | angular | react | vue}/tailwindcss" sub-package or any of the other styling solutions for best performance since way less DOM nodes are required to render. See the [Tailwind CSS typography examples](../../styles/tailwindcss.md) for details.
8
8
 
9
9
  ## Usage
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  The `p-toast` component manages both, the queue and display of toast messages. Therefore, you can only have a single instance of this component within your application. Its messages are rendered on the `#top-layer` which ensures the element to be on top of the page, independent of where `p-toast` is placed in the DOM hierarchy (z-index is not relevant anymore and won't have any effect).
4
4
 
5
- Review the [notification decision tree](https://designsystem.porsche.com/patterns/notifications/decision-tree/) to determine which notification component is best for a particular scenario.
5
+ Review the [notification decision tree](https://designsystem.porsche.com/v4.9.0/patterns/notifications/decision-tree/) to determine which notification component is best for a particular scenario.
6
6
 
7
7
  Queuing messages on `p-toast` component happens via its `addMessage()` method. For Angular users, we offer the injectable `ToastManager` service; for React and Vue, there is the `useToastManager()` hook (a composable in Vue). All expose the `addMessage()` method, which needs to be called with a parameter that has the following structure:
8
8
 
@@ -15,7 +15,7 @@ type ToastMessage = {
15
15
 
16
16
  The bottom position of the `p-toast` can be adjusted via the `--p-toast-position-bottom` CSS variable.
17
17
 
18
- For more information about the Usage of the `p-toast` checkout the [Notification](https://designsystem.porsche.com/patterns/notifications/introduction) page.
18
+ For more information about the Usage of the `p-toast` checkout the [Notification](https://designsystem.porsche.com/v4.9.0/patterns/notifications/introduction/) page.
19
19
 
20
20
  ## Accessibility support
21
21
 
@@ -1,6 +1,6 @@
1
1
  # Deprecated API
2
2
 
3
- Every deprecated Porsche Design System API in `4.8.0`, indexed by what is deprecated rather than by which component owns it. Use it to check an existing codebase; use the component and styling references to build with the current API.
3
+ Every deprecated Porsche Design System API in `4.9.0`, indexed by what is deprecated rather than by which component owns it. Use it to check an existing codebase; use the component and styling references to build with the current API.
4
4
 
5
5
  Deprecated APIs still work in this version. Each will be removed in the next major release, so usage is a compatibility risk rather than a present-day defect — except where a message says an API has no effect anymore, which means the behavior is already gone and only the declaration remains.
6
6
 
@@ -675,12 +675,12 @@ Derived from the Tailwind theme exposed by `@porsche-design-system/components-vu
675
675
 
676
676
  ## Tokens
677
677
 
678
- No deprecations in `4.8.0`. Derived from the design-token API exposed by `@porsche-design-system/components-vue/tokens`, which was checked and found to carry none — this is a verified result, not an omission.
678
+ No deprecations in `4.9.0`. Derived from the design-token API exposed by `@porsche-design-system/components-vue/tokens`, which was checked and found to carry none — this is a verified result, not an omission.
679
679
 
680
680
  ## Icons
681
681
 
682
- No deprecations in `4.8.0`. Derived from the `p-icon` `name` values exposed by `@porsche-design-system/components-vue`, which was checked and found to carry none — this is a verified result, not an omission.
682
+ No deprecations in `4.9.0`. Derived from the `p-icon` `name` values exposed by `@porsche-design-system/components-vue`, which was checked and found to carry none — this is a verified result, not an omission.
683
683
 
684
684
  ## Stylesheets
685
685
 
686
- No deprecations in `4.8.0`. Derived from the global CSS exposed by `@porsche-design-system/components-vue/index.css`, including `@porsche-design-system/components-vue/variables.css` and `@porsche-design-system/components-vue/color-scheme.css`, which was checked and found to carry none — this is a verified result, not an omission.
686
+ No deprecations in `4.9.0`. Derived from the global CSS exposed by `@porsche-design-system/components-vue/index.css`, including `@porsche-design-system/components-vue/variables.css` and `@porsche-design-system/components-vue/color-scheme.css`, which was checked and found to carry none — this is a verified result, not an omission.
@@ -53,9 +53,15 @@ Then use the light-dark color tokens in your component styles; they resolve to t
53
53
  the active theme automatically. Apply one of the `.scheme-*` classes to the document or any container
54
54
  and the selected context cascades to all child elements:
55
55
 
56
- - `.scheme-light` — forces light mode.
57
- - `.scheme-dark` — forces dark mode.
58
- - `.scheme-light-dark` — dynamically follows the system/OS setting.
56
+ - `.scheme-light-dark` — dynamically follows the system/OS setting. Recommended to support dark mode.
57
+ - `.scheme-only-light` — forces light mode and prevents the browser from recoloring it.
58
+ - `.scheme-only-dark` — forces dark mode and prevents the browser from recoloring it.
59
+ - `.scheme-light` — uses light mode, but allows the browser's automatic dark mode (e.g. Chrome on
60
+ Android, Samsung Internet) to recolor it, which can leave icons with insufficient contrast. Prefer
61
+ `.scheme-only-light`.
62
+ - `.scheme-dark` — uses dark mode.
63
+
64
+ Without any class, the PDS global styles apply `color-scheme: only light`.
59
65
 
60
66
  The same class themes **both** the PDS components and your own Emotion-styled markup — one
61
67
  `light-dark()` palette drives both layers. There is no separate component theming API and no `theme`
@@ -61,9 +61,15 @@ for the active theme automatically:
61
61
  Apply one of the `.scheme-*` classes to the document or any container; the selected context cascades
62
62
  to all child elements:
63
63
 
64
- - `.scheme-light` — forces light mode.
65
- - `.scheme-dark` — forces dark mode.
66
- - `.scheme-light-dark` — dynamically follows the system/OS setting.
64
+ - `.scheme-light-dark` — dynamically follows the system/OS setting. Recommended to support dark mode.
65
+ - `.scheme-only-light` — forces light mode and prevents the browser from recoloring it.
66
+ - `.scheme-only-dark` — forces dark mode and prevents the browser from recoloring it.
67
+ - `.scheme-light` — uses light mode, but allows the browser's automatic dark mode (e.g. Chrome on
68
+ Android, Samsung Internet) to recolor it, which can leave icons with insufficient contrast. Prefer
69
+ `.scheme-only-light`.
70
+ - `.scheme-dark` — uses dark mode.
71
+
72
+ Without any class, the PDS global styles apply `color-scheme: only light`.
67
73
 
68
74
  The same class themes **both** the PDS components and your own SCSS-styled markup — one `light-dark()`
69
75
  palette drives both layers. There is no separate component theming API and no `theme` prop on
@@ -34,9 +34,15 @@ property — no proprietary switching logic. The Tailwind `.scheme-*` utilities
34
34
  with a polyfill for browsers without `light-dark()` support. Apply one of these classes to
35
35
  the document or any container; the selected context cascades to all child elements:
36
36
 
37
- - `.scheme-light` — forces light mode.
38
- - `.scheme-dark` — forces dark mode.
39
- - `.scheme-light-dark` — dynamically follows the system/OS setting.
37
+ - `.scheme-light-dark` — dynamically follows the system/OS setting. Recommended to support dark mode.
38
+ - `.scheme-only-light` — forces light mode and prevents the browser from recoloring it.
39
+ - `.scheme-only-dark` — forces dark mode and prevents the browser from recoloring it.
40
+ - `.scheme-light` — uses light mode, but allows the browser's automatic dark mode (e.g. Chrome on
41
+ Android, Samsung Internet) to recolor it, which can leave icons with insufficient contrast. Prefer
42
+ `.scheme-only-light`.
43
+ - `.scheme-dark` — uses dark mode.
44
+
45
+ Without any class, the PDS global styles apply `color-scheme: only light`.
40
46
 
41
47
  The same class themes **both** the PDS components and the custom UI you build with these utilities —
42
48
  one `light-dark()` palette drives both layers. There is no separate component theming API and no
@@ -57,9 +57,15 @@ Then use the light-dark color tokens in your component styles; they resolve to t
57
57
  the active theme automatically. Apply one of the `.scheme-*` classes to the document or any container
58
58
  and the selected context cascades to all child elements:
59
59
 
60
- - `.scheme-light` — forces light mode.
61
- - `.scheme-dark` — forces dark mode.
62
- - `.scheme-light-dark` — dynamically follows the system/OS setting.
60
+ - `.scheme-light-dark` — dynamically follows the system/OS setting. Recommended to support dark mode.
61
+ - `.scheme-only-light` — forces light mode and prevents the browser from recoloring it.
62
+ - `.scheme-only-dark` — forces dark mode and prevents the browser from recoloring it.
63
+ - `.scheme-light` — uses light mode, but allows the browser's automatic dark mode (e.g. Chrome on
64
+ Android, Samsung Internet) to recolor it, which can leave icons with insufficient contrast. Prefer
65
+ `.scheme-only-light`.
66
+ - `.scheme-dark` — uses dark mode.
67
+
68
+ Without any class, the PDS global styles apply `color-scheme: only light`.
63
69
 
64
70
  The same class themes **both** the PDS components and your own vanilla-extract-styled markup — one
65
71
  `light-dark()` palette drives both layers. There is no separate component theming API and no `theme`
@@ -84,15 +84,26 @@ the correct value for the active color scheme automatically:
84
84
 
85
85
  Colors are driven by the native CSS [`light-dark()`](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/color_value/light-dark)
86
86
  function via the CSS [`color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/color-scheme)
87
- property — no proprietary switching logic. By default, color tokens use the light color scheme. To
88
- enable the dark color scheme or automatic switching, add one of the `.scheme-*` classes to the
89
- `<html>` element or any ancestor; the selected scheme cascades to all child elements:
90
-
91
- - `.scheme-light` — enforces the light color scheme.
87
+ property — no proprietary switching logic. By default, the global styles set
88
+ `:root { color-scheme: only light; }`: color tokens use the light color scheme, and browsers with an
89
+ automatic dark mode (e.g. Chrome on Android, Samsung Internet, Android WebViews) are prevented from
90
+ recoloring the page. To enable the dark color scheme or automatic switching, add one of the
91
+ `.scheme-*` classes to the `<html>` element or any ancestor; the selected scheme cascades to all
92
+ child elements:
93
+
94
+ - `.scheme-light-dark` — automatically switches based on the user's system preference. This is the
95
+ recommended way to support dark mode.
96
+ - `.scheme-only-light` — forces the light color scheme and prevents the browser from overriding it.
97
+ - `.scheme-only-dark` — forces the dark color scheme and prevents the browser from overriding it.
98
+ - `.scheme-light` — uses the light color scheme, but still allows the browser's automatic dark mode
99
+ to recolor it. Prefer `.scheme-only-light`.
92
100
  - `.scheme-dark` — enforces the dark color scheme.
93
- - `.scheme-light-dark` — automatically switches based on the user's system preference.
94
- - `.scheme-only-light` — forces a light page island and prevents the browser from overriding it.
95
- - `.scheme-only-dark` — forces a dark page island and prevents the browser from overriding it.
101
+
102
+ Browser automatic dark mode recolors the page algorithmically, but not reliably images such as icons,
103
+ which can end up with insufficient contrast. Never use `color-scheme: light` (or `.scheme-light`) to force a
104
+ light scheme; use `.scheme-only-light` instead. In apps that embed web content in a WebView, pass the
105
+ app theme on to the web content (e.g. by setting `.scheme-only-light` or `.scheme-only-dark` on
106
+ `<html>`).
96
107
 
97
108
  This one class themes **both** PDS components and your own custom markup — everything resolves colors
98
109
  through the same `light-dark()` palette, so there is no separate component-level theming API and no
@@ -142,7 +153,8 @@ PDS-owned variables such as `--p-color-*` to force a local scheme.**
142
153
  The `color-scheme.css` stylesheet additionally ships a polyfill for browsers without `light-dark()`
143
154
  support. If [browser support](https://caniuse.com/mdn-css_types_color_light-dark) is already
144
155
  sufficient for your project, you can skip the polyfill and use the native `color-scheme` property and
145
- `light-dark()` function directly (e.g. `html { color-scheme: light dark; }`).
156
+ `light-dark()` function directly (e.g. `html { color-scheme: light dark; }` or
157
+ `html { color-scheme: only light; }`).
146
158
 
147
159
  ## Contents
148
160
 
@@ -154,7 +166,7 @@ sufficient for your project, you can skip the polyfill and use the native `color
154
166
 
155
167
  | Stylesheet | Description |
156
168
  | --- | --- |
157
- | `variables.css` | Exposes the design system **CSS variables** (custom properties) on `:root`, including theme-aware colors resolved via `light-dark()` and `:lang()` font overrides. |
169
+ | `variables.css` | Exposes the design system **CSS variables** (custom properties) on `:root`, including theme-aware colors resolved via `light-dark()` and `:lang()` font overrides. Sets the default `color-scheme: only light`, which prevents browsers with an automatic dark mode from recoloring the page. |
158
170
  | `color-scheme.css` | Provides the `.scheme-*` utility classes controlling the CSS `color-scheme` property, plus the `@supports` `light-dark()` polyfill. |
159
171
  | `normalize.css` | Recommended **normalize** styles including CSS reset rules and base typography (font family and line height) for `html` and `body`. |
160
172
 
@@ -17,7 +17,7 @@ body {
17
17
  -webkit-text-size-adjust: none;
18
18
  }
19
19
  :root {
20
- color-scheme: light;
20
+ color-scheme: only light;
21
21
  --p-color-canvas: light-dark(#fff, hsl(225 66.7% 1.2%));
22
22
  --p-color-surface: light-dark(hsl(240 10% 95%), hsl(240 2% 10%));
23
23
  --p-color-frosted: light-dark(
@@ -17,7 +17,7 @@ body {
17
17
  -webkit-text-size-adjust: none;
18
18
  }
19
19
  :root {
20
- color-scheme: light;
20
+ color-scheme: only light;
21
21
  --p-color-canvas: light-dark(#fff, hsl(225 66.7% 1.2%));
22
22
  --p-color-surface: light-dark(hsl(240 10% 95%), hsl(240 2% 10%));
23
23
  --p-color-frosted: light-dark(
@@ -1,5 +1,5 @@
1
1
  :root {
2
- color-scheme: light;
2
+ color-scheme: only light;
3
3
  --p-color-canvas: light-dark(#fff, hsl(225 66.7% 1.2%));
4
4
  --p-color-surface: light-dark(hsl(240 10% 95%), hsl(240 2% 10%));
5
5
  --p-color-frosted: light-dark(