@porsche-design-system/components-react 4.10.1 → 4.11.0-rc.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.
- package/CHANGELOG.md +102 -9
- package/cjs/lib/components/link.wrapper.cjs +3 -3
- package/cjs/lib/components/popover.wrapper.cjs +3 -3
- package/cjs/lib/components/sheet.wrapper.cjs +3 -3
- package/esm/lib/components/input-search.wrapper.d.ts +2 -2
- package/esm/lib/components/link.wrapper.d.ts +10 -0
- package/esm/lib/components/link.wrapper.mjs +3 -3
- package/esm/lib/components/popover.wrapper.d.ts +10 -0
- package/esm/lib/components/popover.wrapper.mjs +3 -3
- package/esm/lib/components/sheet.wrapper.d.ts +12 -2
- package/esm/lib/components/sheet.wrapper.mjs +3 -3
- package/esm/lib/types.d.ts +7 -3
- package/package.json +2 -2
- package/skills/pds-audit-deprecations-react/SKILL.md +2 -2
- package/skills/pds-knowledge-react/SKILL.md +8 -7
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/InteractiveElementsInSummary.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/StickySummary.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinRadioGroup.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinTable.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-banner/examples/Customization.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-banner/p-banner.md +2 -2
- package/skills/pds-knowledge-react/references/components/p-button-pure/p-button-pure.md +9 -0
- package/skills/pds-knowledge-react/references/components/p-carousel/p-carousel.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-fieldset/p-fieldset.md +7 -9
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/CustomStyling.tsx +3 -3
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/StickyTop.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-inline-notification/p-inline-notification.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-input-search/p-input-search.md +26 -8
- package/skills/pds-knowledge-react/references/components/p-link/examples/Cover.tsx +20 -0
- package/skills/pds-knowledge-react/references/components/p-link/p-link.md +3 -0
- package/skills/pds-knowledge-react/references/components/p-link-pure/p-link-pure.md +39 -1
- package/skills/pds-knowledge-react/references/components/p-modal/examples/AlertDialog.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-modal/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-modal/examples/Scrollable.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-popover/p-popover.md +4 -2
- package/skills/pds-knowledge-react/references/components/p-sheet/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-sheet/p-sheet.md +6 -3
- package/skills/pds-knowledge-react/references/components/p-table/examples/CaptionSlot.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-toast/p-toast.md +2 -2
- package/skills/pds-knowledge-react/references/deprecations.md +4 -4
- package/skills/pds-knowledge-react/references/examples/patterns/feedback/dialog.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/feedback/inline.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/{footer.md → footer/extended.md} +9 -8
- package/skills/pds-knowledge-react/references/examples/patterns/footer/simple.md +75 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/booking.md +479 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/contact.md +211 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/personal-details.md +253 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/search-combobox-link-list.md +363 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/search-combobox-option-list.md +499 -0
- package/skills/pds-knowledge-react/references/examples/patterns/header/overlay.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/header/stacked.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/popover/feature-tour.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/popover/local-market-switch.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/popover/priority-navigation.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/tile/call-to-action.md +71 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/category.md +60 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/disclosure.md +84 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/equipment-stacked.md +54 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/equipment.md +69 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/image.md +64 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/model-navigation.md +52 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/model-selection.md +66 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/model-teaser.md +78 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/product.md +92 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/vehicle-listing.md +107 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/video.md +114 -0
- package/skills/pds-knowledge-react/references/examples/templates/admin-panel.md +1 -0
- package/skills/pds-knowledge-react/references/examples/templates/landing-page.md +4 -3
- package/skills/pds-knowledge-react/references/examples/templates/personalized-mailing/no-video.md +1166 -0
- package/skills/pds-knowledge-react/references/examples/templates/personalized-mailing/video.md +1252 -0
- package/skills/pds-knowledge-react/references/examples.md +50 -1
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +239 -70
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +424 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/link.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/popover.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/sheet.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +2 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/dialog-base.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.cjs +4 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +14 -3
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +239 -70
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +411 -7
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/popover.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/sheet.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/dialog-base.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +5 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +15 -4
- package/ssr/esm/public-api.d.ts +8696 -5
- package/skills/pds-knowledge-react/references/components/p-input-search/examples/AriaCombobox.tsx +0 -35
- package/ssr/esm/BaseProps.d.ts +0 -2
- package/ssr/esm/getCachedMinifiedCss.d.ts +0 -23
- package/ssr/esm/hooks.d.ts +0 -15
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +0 -98
- package/ssr/esm/lib/components/ai-tag.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/banner.wrapper.d.ts +0 -86
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +0 -158
- package/ssr/esm/lib/components/button-tile.wrapper.d.ts +0 -140
- package/ssr/esm/lib/components/button.wrapper.d.ts +0 -118
- package/ssr/esm/lib/components/canvas.wrapper.d.ts +0 -54
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +0 -166
- package/ssr/esm/lib/components/checkbox.wrapper.d.ts +0 -160
- package/ssr/esm/lib/components/crest.wrapper.d.ts +0 -32
- package/ssr/esm/lib/components/display.wrapper.d.ts +0 -57
- package/ssr/esm/lib/components/divider.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +0 -53
- package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +0 -60
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +0 -50
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +0 -66
- package/ssr/esm/lib/components/flag.wrapper.d.ts +0 -34
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +0 -110
- package/ssr/esm/lib/components/heading.wrapper.d.ts +0 -76
- package/ssr/esm/lib/components/icon.wrapper.d.ts +0 -52
- package/ssr/esm/lib/components/index.d.ts +0 -74
- package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +0 -102
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +0 -228
- package/ssr/esm/lib/components/input-month.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +0 -220
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +0 -210
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +0 -220
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +0 -218
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +0 -218
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +0 -218
- package/ssr/esm/lib/components/input-week.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/link-pure.wrapper.d.ts +0 -138
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +0 -104
- package/ssr/esm/lib/components/link-tile.wrapper.d.ts +0 -126
- package/ssr/esm/lib/components/link.wrapper.d.ts +0 -98
- package/ssr/esm/lib/components/modal.wrapper.d.ts +0 -100
- package/ssr/esm/lib/components/model-signature.wrapper.d.ts +0 -68
- package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +0 -25
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +0 -156
- package/ssr/esm/lib/components/optgroup.wrapper.d.ts +0 -25
- package/ssr/esm/lib/components/pagination.wrapper.d.ts +0 -64
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +0 -160
- package/ssr/esm/lib/components/popover.wrapper.d.ts +0 -58
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +0 -43
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +0 -148
- package/ssr/esm/lib/components/scroller.wrapper.d.ts +0 -62
- package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +0 -58
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +0 -148
- package/ssr/esm/lib/components/select-option.wrapper.d.ts +0 -25
- package/ssr/esm/lib/components/select.wrapper.d.ts +0 -164
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +0 -80
- package/ssr/esm/lib/components/spinner.wrapper.d.ts +0 -34
- package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/switch.wrapper.d.ts +0 -94
- package/ssr/esm/lib/components/table-body.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table-cell.wrapper.d.ts +0 -17
- package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +0 -36
- package/ssr/esm/lib/components/table-head-row.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table-head.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table-row.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table.wrapper.d.ts +0 -54
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +0 -70
- package/ssr/esm/lib/components/tabs-item.wrapper.d.ts +0 -15
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +0 -72
- package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +0 -34
- package/ssr/esm/lib/components/tag.wrapper.d.ts +0 -46
- package/ssr/esm/lib/components/text-list-item.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/text-list.wrapper.d.ts +0 -18
- package/ssr/esm/lib/components/text.wrapper.d.ts +0 -78
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +0 -238
- package/ssr/esm/lib/components/toast.wrapper.d.ts +0 -3
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +0 -42
- package/ssr/esm/lib/dsr-components/accordion.d.ts +0 -18
- package/ssr/esm/lib/dsr-components/ai-tag.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/banner.d.ts +0 -20
- package/ssr/esm/lib/dsr-components/button-pure.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/button-tile.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/button.d.ts +0 -19
- package/ssr/esm/lib/dsr-components/canvas.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/carousel.d.ts +0 -27
- package/ssr/esm/lib/dsr-components/checkbox.d.ts +0 -19
- package/ssr/esm/lib/dsr-components/crest.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/dialog-base.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/display.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/divider.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/drilldown-item.d.ts +0 -15
- package/ssr/esm/lib/dsr-components/drilldown-link.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/drilldown.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/fc-dismiss-button.d.ts +0 -16
- package/ssr/esm/lib/dsr-components/fieldset.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/filter-status-announcer.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/flag.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/flyout.d.ts +0 -26
- package/ssr/esm/lib/dsr-components/heading.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/icon.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/inline-notification.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/input-base.d.ts +0 -38
- package/ssr/esm/lib/dsr-components/input-date.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-email.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-month.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-number.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-password.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/input-search.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/input-tel.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-text.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-time.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-url.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-week.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/label.d.ts +0 -24
- package/ssr/esm/lib/dsr-components/link-pure.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/link-tile-product.d.ts +0 -15
- package/ssr/esm/lib/dsr-components/link-tile.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/link.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/loading-message.d.ts +0 -8
- package/ssr/esm/lib/dsr-components/modal.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/model-signature.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/multi-select-option.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/multi-select.d.ts +0 -40
- package/ssr/esm/lib/dsr-components/no-results-option.d.ts +0 -2
- package/ssr/esm/lib/dsr-components/notification-base.d.ts +0 -14
- package/ssr/esm/lib/dsr-components/optgroup.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/pagination.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/pin-code.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/popover.d.ts +0 -27
- package/ssr/esm/lib/dsr-components/radio-group-option.d.ts +0 -13
- package/ssr/esm/lib/dsr-components/radio-group.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/required.d.ts +0 -2
- package/ssr/esm/lib/dsr-components/scroller.d.ts +0 -15
- package/ssr/esm/lib/dsr-components/segmented-control-item.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/segmented-control.d.ts +0 -21
- package/ssr/esm/lib/dsr-components/select-option.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/select.d.ts +0 -41
- package/ssr/esm/lib/dsr-components/sheet.d.ts +0 -20
- package/ssr/esm/lib/dsr-components/spinner.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/state-message.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/stepper-horizontal-item.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/stepper-horizontal.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/switch.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/table-body.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-cell.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-head-cell.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-head-row.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-head.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-row.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/tabs-bar.d.ts +0 -17
- package/ssr/esm/lib/dsr-components/tabs-item.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/tabs.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/tag-dismissible.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/tag.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/text-list-item.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/text-list.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/text.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/textarea.d.ts +0 -19
- package/ssr/esm/lib/dsr-components/toast.d.ts +0 -7
- package/ssr/esm/lib/dsr-components/wordmark.d.ts +0 -6
- package/ssr/esm/lib/types.d.ts +0 -1862
- package/ssr/esm/minifyCss.d.ts +0 -1
- package/ssr/esm/provider.d.ts +0 -10
- package/ssr/esm/splitChildren.d.ts +0 -17
- package/ssr/esm/utils.d.ts +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,100 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [4.11.0-rc.0] - 2026-11-25
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `Knowledge Skill`: two form search patterns – search combobox option list (combobox with a listbox of choices) and
|
|
22
|
+
search combobox link list (combobox with a dialog of links) – composed from `p-input-search` and `p-popover`
|
|
23
|
+
([#4779](https://github.com/porsche-design-system/porsche-design-system/pull/4779))
|
|
24
|
+
- `Link Pure`, `Button Pure`: `--p-link-pure-px`, `--p-link-pure-py`, `--p-link-pure-hover-inset-x`,
|
|
25
|
+
`--p-link-pure-hover-inset-y`, `--p-button-pure-px`, `--p-button-pure-py`, `--p-button-pure-hover-inset-x` and
|
|
26
|
+
`--p-button-pure-hover-inset-y` CSS variables to override the horizontal and vertical padding of the clickable area
|
|
27
|
+
and the inset of the hover, active and focus indicator.
|
|
28
|
+
([#4779](https://github.com/porsche-design-system/porsche-design-system/pull/4779))
|
|
29
|
+
- `Popover`: `arrow` prop to drop the arrow and the extra offset it adds when set to `false`.
|
|
30
|
+
([#4779](https://github.com/porsche-design-system/porsche-design-system/pull/4779))
|
|
31
|
+
- `Input Search`: `aria` accepts `aria-activedescendant`, and `aria-controls` and `aria-activedescendant` accept an
|
|
32
|
+
element (or, for `aria-controls`, a list of elements) so the relationship reaches the input across the shadow
|
|
33
|
+
boundary. ([#4779](https://github.com/porsche-design-system/porsche-design-system/pull/4779))
|
|
34
|
+
- `Knowledge Skill`: personalized mailing template – a personal follow-up page for a configured vehicle – in a video and
|
|
35
|
+
a no-video variant ([#4782](https://github.com/porsche-design-system/porsche-design-system/pull/4782))
|
|
36
|
+
- `Knowledge Skill`: simple footer pattern with the legal information only, next to the extended footer
|
|
37
|
+
([#4782](https://github.com/porsche-design-system/porsche-design-system/pull/4782))
|
|
38
|
+
- `Link`: prop `cover` stretches the clickable area of the link over its nearest positioned ancestor, e.g. a card, so
|
|
39
|
+
the whole area navigates without a second, hidden link
|
|
40
|
+
([#4773](https://github.com/porsche-design-system/porsche-design-system/pull/4773))
|
|
41
|
+
- `Link`: CSS variable `--p-link-cover-radius` sets the corner radius of the clickable area and the focus ring of a link
|
|
42
|
+
with `cover`, e.g. to match the corners of the card it covers
|
|
43
|
+
([#4773](https://github.com/porsche-design-system/porsche-design-system/pull/4773))
|
|
44
|
+
- `Knowledge Skill`: tile patterns – common use cases of a tile (model selection and navigation, categories, video,
|
|
45
|
+
product, vehicle listing, features, call to action and teasers) built with HTML and Tailwind CSS, with their
|
|
46
|
+
description, the components they use and their complete markup and script
|
|
47
|
+
([#4773](https://github.com/porsche-design-system/porsche-design-system/pull/4773))
|
|
48
|
+
- `Fieldset`: `--p-fieldset-label-mb` CSS variable to override the bottom margin of the label
|
|
49
|
+
([#4846](https://github.com/porsche-design-system/porsche-design-system/pull/4846))
|
|
50
|
+
- `Knowledge Skill`: contact form, personal details form and booking form patterns
|
|
51
|
+
([#4846](https://github.com/porsche-design-system/porsche-design-system/pull/4846))
|
|
52
|
+
- `Sheet`: `swipe-handle` prop to show a dismiss handle and enable downward drag-to-close when content is scrolled to
|
|
53
|
+
the top. ([#4866](https://github.com/porsche-design-system/porsche-design-system/pull/4866))
|
|
54
|
+
- `Sheet`: `dismiss` event detail `reason` can be `'swipe'` for swipe or drag dismissal.
|
|
55
|
+
([#4866](https://github.com/porsche-design-system/porsche-design-system/pull/4866))
|
|
56
|
+
|
|
57
|
+
### Changed
|
|
58
|
+
|
|
59
|
+
- **Angular**: `@angular/forms` is now a peer dependency, because the form components import it
|
|
60
|
+
([#4809](https://github.com/porsche-design-system/porsche-design-system/pull/4809))
|
|
61
|
+
- `Knowledge Skill`: instructs the agent to load `references/components/<tag>/accessibility.md` before generating a
|
|
62
|
+
component and to load the `accessible-frontend` APM skill for page-level WCAG 2.2 AA and EN 301 549 composition when
|
|
63
|
+
installed ([#4584](https://github.com/porsche-design-system/porsche-design-system/pull/4584))
|
|
64
|
+
- `Knowledge Skill`: the references of the patterns and templates name the color schemes they are built for, and the
|
|
65
|
+
conventions state that an example leaves the color scheme of `<html>` to the application
|
|
66
|
+
([#4773](https://github.com/porsche-design-system/porsche-design-system/pull/4773))
|
|
67
|
+
- `Accordion`: the shadow root no longer uses `delegatesFocus`. `focus()` and `blur()` on `p-accordion` still reach the
|
|
68
|
+
summary, except when called from an isolated context such as Playwright's `locator.focus()` – call them through
|
|
69
|
+
`locator.evaluate()` or on the summary there.
|
|
70
|
+
([#4870](https://github.com/porsche-design-system/porsche-design-system/pull/4870))
|
|
71
|
+
- `Checkbox`, `Input Date`, `Input Email`, `Input Month`, `Input Number`, `Input Password`, `Input Search`, `Input Tel`,
|
|
72
|
+
`Input Text`, `Input Time`, `Input Url`, `Input Week`, `Multi Select`, `Pin Code`, `Radio Group`, `Select`,
|
|
73
|
+
`Textarea`: the text of the label, including content in the `label` slot, can no longer be selected in Chromium
|
|
74
|
+
browsers and Firefox. For `Radio Group` this applies to the labels of its options, not to the label of the group. The
|
|
75
|
+
description and the message stay selectable.
|
|
76
|
+
([#4854](https://github.com/porsche-design-system/porsche-design-system/pull/4854))
|
|
77
|
+
|
|
78
|
+
### Fixed
|
|
79
|
+
|
|
80
|
+
- **Partials**: type checking failed with `Cannot find module 'react'` in projects without React and with `skipLibCheck`
|
|
81
|
+
disabled ([#4809](https://github.com/porsche-design-system/porsche-design-system/pull/4809))
|
|
82
|
+
- `Link Pure`, `Button Pure`: `active` state had no visible indicator in High Contrast Mode (`forced-colors: active`)
|
|
83
|
+
([#4779](https://github.com/porsche-design-system/porsche-design-system/pull/4779))
|
|
84
|
+
- **Angular**: Signal Forms `[formField]` did not work on `Input Email`, `Input Tel` and `Input Url`, and on
|
|
85
|
+
`Input Number` with a field holding text
|
|
86
|
+
([#4856](https://github.com/porsche-design-system/porsche-design-system/pull/4856))
|
|
87
|
+
- `Input Date`, `Input Email`, `Input Month`, `Input Number`, `Input Password`, `Input Search`, `Input Tel`,
|
|
88
|
+
`Input Text`, `Input Time`, `Input Url`, `Input Week`, `Pin Code`: pressing `Enter` didn't submit the form like a
|
|
89
|
+
native input. It submitted even when the `keydown` or `keypress` event was cancelled, e.g. by a password manager, or
|
|
90
|
+
when it confirmed a candidate of an input method, e.g. for Japanese, and in a form without a submit button it ignored
|
|
91
|
+
which other fields the form contained, e.g. it submitted next to an `Input Password` or from an `Input Date`
|
|
92
|
+
([#4833](https://github.com/porsche-design-system/porsche-design-system/pull/4833))
|
|
93
|
+
- `Pin Code`: pressing `Enter` submitted the form without clicking its submit button, so the button's `name` and `value`
|
|
94
|
+
were missing and a disabled submit button didn't prevent the submission
|
|
95
|
+
([#4833](https://github.com/porsche-design-system/porsche-design-system/pull/4833))
|
|
96
|
+
- `Accordion`: a click on static text inside the content of an open accordion moved focus to the summary, which in
|
|
97
|
+
Chrome and Safari scrolled the page back to the top of the accordion. In Safari a click on a slotted `<button>` did
|
|
98
|
+
the same. ([#4870](https://github.com/porsche-design-system/porsche-design-system/pull/4870))
|
|
99
|
+
- `Knowledge Skill`: the `p-link-pure` reference listed the example of a framework router with active state without its
|
|
100
|
+
code, and the `p-input-search` reference cut its guidance on combobox use after the first sentence; both are now shown
|
|
101
|
+
in full ([#4800](https://github.com/porsche-design-system/porsche-design-system/pull/4800))
|
|
102
|
+
- `Link`: a link with an empty `href` had no focus ring
|
|
103
|
+
([#4773](https://github.com/porsche-design-system/porsche-design-system/pull/4773))
|
|
104
|
+
- `Input Email`, `Input Number`, `Input Password`, `Input Search`, `Input Tel`, `Input Text`, `Input Url`, `Textarea`:
|
|
105
|
+
the caret disappeared and keys such as `Backspace` had no effect after the label was clicked more than once in
|
|
106
|
+
Chromium browsers ([#4854](https://github.com/porsche-design-system/porsche-design-system/pull/4854))
|
|
107
|
+
- `Flyout`, `Modal`, `Sheet`: `motionVisibleEnd` was emitted again whenever a `background-color` transition ended on an
|
|
108
|
+
element inside the dialog, e.g. after hovering the dismiss button
|
|
109
|
+
([#4866](https://github.com/porsche-design-system/porsche-design-system/pull/4866))
|
|
110
|
+
|
|
17
111
|
## [4.10.1] - 2026-10-23
|
|
18
112
|
|
|
19
113
|
### Fixed
|
|
@@ -57,7 +151,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
57
151
|
- `Knowledge Skill`: links to Storefront pages the skill doesn't include led to an error page instead of the
|
|
58
152
|
documentation; they now open the Storefront of the skill's version
|
|
59
153
|
([#4781](https://github.com/porsche-design-system/porsche-design-system/pull/4781))
|
|
60
|
-
- `Button`, `Drilldown`, `Link`, `Multi Select`, `Segmented Control`, `Select`, `Tabs`, `Tabs Bar`: colors could lose
|
|
154
|
+
- `Button`, `Drilldown`, `Link`, `Multi Select`, `Segmented Control`, `Select`, `Tabs`, `Tabs Bar`: colors could lose
|
|
155
|
+
contrast in high contrast mode, including hover, highlighted and selected states.
|
|
61
156
|
([#4775](https://github.com/porsche-design-system/porsche-design-system/pull/4775))
|
|
62
157
|
- `Multi Select Option`: slotted content only took up the width of its own content, so it could not fill the option,
|
|
63
158
|
e.g. with `w-full`, and right-aligned elements were not aligned to the right edge
|
|
@@ -80,8 +175,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
80
175
|
|
|
81
176
|
- `Pin Code`: Support for `ArrowLeft`/`ArrowRight` keyboard navigation.
|
|
82
177
|
([#4690](https://github.com/porsche-design-system/porsche-design-system/pull/4690))
|
|
83
|
-
- `Ai Tag`: Arabic, Japanese and Korean translations, plus region-specific Chinese translations for `zh-CN`,
|
|
84
|
-
`zh-
|
|
178
|
+
- `Ai Tag`: Arabic, Japanese and Korean translations, plus region-specific Chinese translations for `zh-CN`, `zh-HK` and
|
|
179
|
+
`zh-TW`, replacing the English fallback.
|
|
85
180
|
([#4678](https://github.com/porsche-design-system/porsche-design-system/pull/4678))
|
|
86
181
|
- `Checkbox`, `Input Date`, `Input Email`, `Input Month`, `Input Number`, `Input Password`, `Input Search`, `Input Tel`,
|
|
87
182
|
`Input Text`, `Input Time`, `Input Url`, `Input Week`, `Multi Select`, `Select`, `Switch`, `Textarea`: `aria` prop to
|
|
@@ -109,10 +204,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
109
204
|
being moved in the DOM (disconnected and reconnected)
|
|
110
205
|
([#4732](https://github.com/porsche-design-system/porsche-design-system/pull/4732))
|
|
111
206
|
- `Select`, `Multi Select`: an option added inside an `Optgroup` was not marked as selected when it matched the
|
|
112
|
-
currently set value
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
below the fold and the current step required a horizontal scroll
|
|
207
|
+
currently set value ([#4732](https://github.com/porsche-design-system/porsche-design-system/pull/4732))
|
|
208
|
+
- `Stepper Horizontal`: the page scrolled vertically at initial render in Firefox and Safari when the stepper was below
|
|
209
|
+
the fold and the current step required a horizontal scroll
|
|
116
210
|
([#4732](https://github.com/porsche-design-system/porsche-design-system/pull/4732))
|
|
117
211
|
- `Radio Group Option`, `Multi Select Option`, `Segmented Control Item`: stayed empty when `value` was set only after
|
|
118
212
|
the component had rendered, e.g. by an Angular property binding after navigating back to a route. A missing `value` no
|
|
@@ -222,8 +316,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
222
316
|
slide left an empty slot and a surplus pagination bullet behind.
|
|
223
317
|
([#4686](https://github.com/porsche-design-system/porsche-design-system/pull/4686))
|
|
224
318
|
- `Carousel`: changing `slides-per-page` at runtime had no effect. Slide widths and the pagination kept the value the
|
|
225
|
-
carousel was initialised with.
|
|
226
|
-
([#4686](https://github.com/porsche-design-system/porsche-design-system/pull/4686))
|
|
319
|
+
carousel was initialised with. ([#4686](https://github.com/porsche-design-system/porsche-design-system/pull/4686))
|
|
227
320
|
|
|
228
321
|
## [4.6.0] - 2026-08-20
|
|
229
322
|
|
|
@@ -6,13 +6,13 @@ var react = require('react');
|
|
|
6
6
|
var hooks = require('../../hooks.cjs');
|
|
7
7
|
var utils = require('../../utils.cjs');
|
|
8
8
|
|
|
9
|
-
const PLink = /*#__PURE__*/ react.forwardRef(({ aria, compact = false, download, hideLabel = false, href, icon = 'none', iconSource, rel, target = '_self', variant = 'primary', className, ...rest }, ref) => {
|
|
9
|
+
const PLink = /*#__PURE__*/ react.forwardRef(({ aria, compact = false, cover = false, download, hideLabel = false, href, icon = 'none', iconSource, rel, target = '_self', variant = 'primary', className, ...rest }, ref) => {
|
|
10
10
|
const elementRef = react.useRef(undefined);
|
|
11
11
|
const WebComponentTag = hooks.usePrefix('p-link');
|
|
12
|
-
const propsToSync = [aria, compact, download, hideLabel, href, icon, iconSource, rel, target, variant];
|
|
12
|
+
const propsToSync = [aria, compact, cover, download, hideLabel, href, icon, iconSource, rel, target, variant];
|
|
13
13
|
hooks.useBrowserLayoutEffect(() => {
|
|
14
14
|
const { current } = elementRef;
|
|
15
|
-
['aria', 'compact', 'download', 'hideLabel', 'href', 'icon', 'iconSource', 'rel', 'target', 'variant'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
15
|
+
['aria', 'compact', 'cover', 'download', 'hideLabel', 'href', 'icon', 'iconSource', 'rel', 'target', 'variant'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
16
16
|
}, propsToSync);
|
|
17
17
|
const props = {
|
|
18
18
|
...rest,
|
|
@@ -6,14 +6,14 @@ var react = require('react');
|
|
|
6
6
|
var hooks = require('../../hooks.cjs');
|
|
7
7
|
var utils = require('../../utils.cjs');
|
|
8
8
|
|
|
9
|
-
const PPopover = /*#__PURE__*/ react.forwardRef(({ aria, compact, description, direction = 'bottom', onDismiss, open, className, ...rest }, ref) => {
|
|
9
|
+
const PPopover = /*#__PURE__*/ react.forwardRef(({ aria, arrow = true, compact, description, direction = 'bottom', onDismiss, open, className, ...rest }, ref) => {
|
|
10
10
|
const elementRef = react.useRef(undefined);
|
|
11
11
|
hooks.useEventCallback(elementRef, 'dismiss', onDismiss);
|
|
12
12
|
const WebComponentTag = hooks.usePrefix('p-popover');
|
|
13
|
-
const propsToSync = [aria, compact, description, direction, open];
|
|
13
|
+
const propsToSync = [aria, arrow, compact, description, direction, open];
|
|
14
14
|
hooks.useBrowserLayoutEffect(() => {
|
|
15
15
|
const { current } = elementRef;
|
|
16
|
-
['aria', 'compact', 'description', 'direction', 'open'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
16
|
+
['aria', 'arrow', 'compact', 'description', 'direction', 'open'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
17
17
|
}, propsToSync);
|
|
18
18
|
const props = {
|
|
19
19
|
...rest,
|
|
@@ -6,16 +6,16 @@ var react = require('react');
|
|
|
6
6
|
var hooks = require('../../hooks.cjs');
|
|
7
7
|
var utils = require('../../utils.cjs');
|
|
8
8
|
|
|
9
|
-
const PSheet = /*#__PURE__*/ react.forwardRef(({ aria, background = 'canvas', disableBackdropClick = false, dismissButton = true, onDismiss, onMotionHiddenEnd, onMotionVisibleEnd, open = false, className, ...rest }, ref) => {
|
|
9
|
+
const PSheet = /*#__PURE__*/ react.forwardRef(({ aria, background = 'canvas', disableBackdropClick = false, dismissButton = true, onDismiss, onMotionHiddenEnd, onMotionVisibleEnd, open = false, swipeHandle = false, className, ...rest }, ref) => {
|
|
10
10
|
const elementRef = react.useRef(undefined);
|
|
11
11
|
hooks.useEventCallback(elementRef, 'dismiss', onDismiss);
|
|
12
12
|
hooks.useEventCallback(elementRef, 'motionHiddenEnd', onMotionHiddenEnd);
|
|
13
13
|
hooks.useEventCallback(elementRef, 'motionVisibleEnd', onMotionVisibleEnd);
|
|
14
14
|
const WebComponentTag = hooks.usePrefix('p-sheet');
|
|
15
|
-
const propsToSync = [aria, background, disableBackdropClick, dismissButton, open];
|
|
15
|
+
const propsToSync = [aria, background, disableBackdropClick, dismissButton, open, swipeHandle];
|
|
16
16
|
hooks.useBrowserLayoutEffect(() => {
|
|
17
17
|
const { current } = elementRef;
|
|
18
|
-
['aria', 'background', 'disableBackdropClick', 'dismissButton', 'open'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
18
|
+
['aria', 'background', 'disableBackdropClick', 'dismissButton', 'open', 'swipeHandle'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
19
19
|
}, propsToSync);
|
|
20
20
|
const props = {
|
|
21
21
|
...rest,
|
|
@@ -2,7 +2,7 @@ import type { BaseProps } from '../../BaseProps';
|
|
|
2
2
|
import type { SelectedAriaAttributes, InputSearchAriaAttribute, BreakpointCustomizable, InputSearchBlurEventDetail, InputSearchChangeEventDetail, InputSearchInputEventDetail, InputSearchState } from '../types';
|
|
3
3
|
export type PInputSearchProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
|
-
* Sets additional ARIA attributes on the search input, useful for combobox patterns (e.g. `role="combobox"`, `aria-expanded`) and extra labelling (`aria-label`, `aria-description`).
|
|
5
|
+
* Sets additional ARIA attributes on the search input, useful for combobox patterns (e.g. `role="combobox"`, `aria-expanded`) and extra labelling (`aria-label`, `aria-description`). `aria-controls` and `aria-activedescendant` also accept an element reference (or, for `aria-controls`, a list of elements) so the relationship crosses the shadow boundary.
|
|
6
6
|
*/
|
|
7
7
|
aria?: SelectedAriaAttributes<InputSearchAriaAttribute>;
|
|
8
8
|
/**
|
|
@@ -110,7 +110,7 @@ export type PInputSearchProps = BaseProps & {
|
|
|
110
110
|
};
|
|
111
111
|
export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
112
112
|
/**
|
|
113
|
-
* Sets additional ARIA attributes on the search input, useful for combobox patterns (e.g. `role="combobox"`, `aria-expanded`) and extra labelling (`aria-label`, `aria-description`).
|
|
113
|
+
* Sets additional ARIA attributes on the search input, useful for combobox patterns (e.g. `role="combobox"`, `aria-expanded`) and extra labelling (`aria-label`, `aria-description`). `aria-controls` and `aria-activedescendant` also accept an element reference (or, for `aria-controls`, a list of elements) so the relationship crosses the shadow boundary.
|
|
114
114
|
*/
|
|
115
115
|
aria?: SelectedAriaAttributes<InputSearchAriaAttribute>;
|
|
116
116
|
/**
|
|
@@ -10,6 +10,11 @@ export type PLinkProps = BaseProps & {
|
|
|
10
10
|
* @default false
|
|
11
11
|
*/
|
|
12
12
|
compact?: BreakpointCustomizable<boolean>;
|
|
13
|
+
/**
|
|
14
|
+
* Stretches the clickable area of the link over its nearest positioned ancestor, e.g. a card, which also renders the focus ring around it. Its corners follow `--p-link-cover-radius`. Content within that area is covered, so independent interactive elements have to be placed above it, e.g. via `position: relative; z-index: 2`.
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
17
|
+
cover?: boolean;
|
|
13
18
|
/**
|
|
14
19
|
* Sets the native `download` attribute to trigger a file download. Only applies when `href` is set.
|
|
15
20
|
*/
|
|
@@ -57,6 +62,11 @@ export declare const PLink: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
57
62
|
* @default false
|
|
58
63
|
*/
|
|
59
64
|
compact?: BreakpointCustomizable<boolean>;
|
|
65
|
+
/**
|
|
66
|
+
* Stretches the clickable area of the link over its nearest positioned ancestor, e.g. a card, which also renders the focus ring around it. Its corners follow `--p-link-cover-radius`. Content within that area is covered, so independent interactive elements have to be placed above it, e.g. via `position: relative; z-index: 2`.
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
69
|
+
cover?: boolean;
|
|
60
70
|
/**
|
|
61
71
|
* Sets the native `download` attribute to trigger a file download. Only applies when `href` is set.
|
|
62
72
|
*/
|
|
@@ -4,13 +4,13 @@ import { forwardRef, useRef } from 'react';
|
|
|
4
4
|
import { usePrefix, useBrowserLayoutEffect, useMergedClass } from '../../hooks.mjs';
|
|
5
5
|
import { syncRef } from '../../utils.mjs';
|
|
6
6
|
|
|
7
|
-
const PLink = /*#__PURE__*/ forwardRef(({ aria, compact = false, download, hideLabel = false, href, icon = 'none', iconSource, rel, target = '_self', variant = 'primary', className, ...rest }, ref) => {
|
|
7
|
+
const PLink = /*#__PURE__*/ forwardRef(({ aria, compact = false, cover = false, download, hideLabel = false, href, icon = 'none', iconSource, rel, target = '_self', variant = 'primary', className, ...rest }, ref) => {
|
|
8
8
|
const elementRef = useRef(undefined);
|
|
9
9
|
const WebComponentTag = usePrefix('p-link');
|
|
10
|
-
const propsToSync = [aria, compact, download, hideLabel, href, icon, iconSource, rel, target, variant];
|
|
10
|
+
const propsToSync = [aria, compact, cover, download, hideLabel, href, icon, iconSource, rel, target, variant];
|
|
11
11
|
useBrowserLayoutEffect(() => {
|
|
12
12
|
const { current } = elementRef;
|
|
13
|
-
['aria', 'compact', 'download', 'hideLabel', 'href', 'icon', 'iconSource', 'rel', 'target', 'variant'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
13
|
+
['aria', 'compact', 'cover', 'download', 'hideLabel', 'href', 'icon', 'iconSource', 'rel', 'target', 'variant'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
14
14
|
}, propsToSync);
|
|
15
15
|
const props = {
|
|
16
16
|
...rest,
|
|
@@ -5,6 +5,11 @@ export type PPopoverProps = BaseProps & {
|
|
|
5
5
|
* Sets ARIA attributes on the popover panel to improve accessibility for screen readers.
|
|
6
6
|
*/
|
|
7
7
|
aria?: SelectedAriaAttributes<PopoverAriaAttribute>;
|
|
8
|
+
/**
|
|
9
|
+
* Shows the arrow that points at the trigger. When `false`, the panel keeps a small gap and is not offset by the arrow thickness.
|
|
10
|
+
* @default true
|
|
11
|
+
*/
|
|
12
|
+
arrow?: boolean;
|
|
8
13
|
/**
|
|
9
14
|
* Reduces padding and spacing for a more compact layout, useful in space-constrained interfaces.
|
|
10
15
|
*/
|
|
@@ -32,6 +37,11 @@ export declare const PPopover: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
32
37
|
* Sets ARIA attributes on the popover panel to improve accessibility for screen readers.
|
|
33
38
|
*/
|
|
34
39
|
aria?: SelectedAriaAttributes<PopoverAriaAttribute>;
|
|
40
|
+
/**
|
|
41
|
+
* Shows the arrow that points at the trigger. When `false`, the panel keeps a small gap and is not offset by the arrow thickness.
|
|
42
|
+
* @default true
|
|
43
|
+
*/
|
|
44
|
+
arrow?: boolean;
|
|
35
45
|
/**
|
|
36
46
|
* Reduces padding and spacing for a more compact layout, useful in space-constrained interfaces.
|
|
37
47
|
*/
|
|
@@ -4,14 +4,14 @@ import { forwardRef, useRef } from 'react';
|
|
|
4
4
|
import { useEventCallback, usePrefix, useBrowserLayoutEffect, useMergedClass } from '../../hooks.mjs';
|
|
5
5
|
import { syncRef } from '../../utils.mjs';
|
|
6
6
|
|
|
7
|
-
const PPopover = /*#__PURE__*/ forwardRef(({ aria, compact, description, direction = 'bottom', onDismiss, open, className, ...rest }, ref) => {
|
|
7
|
+
const PPopover = /*#__PURE__*/ forwardRef(({ aria, arrow = true, compact, description, direction = 'bottom', onDismiss, open, className, ...rest }, ref) => {
|
|
8
8
|
const elementRef = useRef(undefined);
|
|
9
9
|
useEventCallback(elementRef, 'dismiss', onDismiss);
|
|
10
10
|
const WebComponentTag = usePrefix('p-popover');
|
|
11
|
-
const propsToSync = [aria, compact, description, direction, open];
|
|
11
|
+
const propsToSync = [aria, arrow, compact, description, direction, open];
|
|
12
12
|
useBrowserLayoutEffect(() => {
|
|
13
13
|
const { current } = elementRef;
|
|
14
|
-
['aria', 'compact', 'description', 'direction', 'open'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
14
|
+
['aria', 'arrow', 'compact', 'description', 'direction', 'open'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
15
15
|
}, propsToSync);
|
|
16
16
|
const props = {
|
|
17
17
|
...rest,
|
|
@@ -21,7 +21,7 @@ export type PSheetProps = BaseProps & {
|
|
|
21
21
|
*/
|
|
22
22
|
dismissButton?: boolean;
|
|
23
23
|
/**
|
|
24
|
-
* Emitted when the user closes the sheet via the dismiss button, backdrop click, or
|
|
24
|
+
* Emitted when the user closes the sheet via the dismiss button, swipe handle, backdrop click, Escape key, or a downward swipe. The event detail identifies which was used.
|
|
25
25
|
*/
|
|
26
26
|
onDismiss?: (event: CustomEvent<SheetDismissEventDetail>) => void;
|
|
27
27
|
/**
|
|
@@ -37,6 +37,11 @@ export type PSheetProps = BaseProps & {
|
|
|
37
37
|
* @default false
|
|
38
38
|
*/
|
|
39
39
|
open: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Shows a swipe handle and lets a downward drag close the sheet when its content is scrolled to the top.
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
swipeHandle?: boolean;
|
|
40
45
|
};
|
|
41
46
|
export declare const PSheet: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
42
47
|
/**
|
|
@@ -59,7 +64,7 @@ export declare const PSheet: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
59
64
|
*/
|
|
60
65
|
dismissButton?: boolean;
|
|
61
66
|
/**
|
|
62
|
-
* Emitted when the user closes the sheet via the dismiss button, backdrop click, or
|
|
67
|
+
* Emitted when the user closes the sheet via the dismiss button, swipe handle, backdrop click, Escape key, or a downward swipe. The event detail identifies which was used.
|
|
63
68
|
*/
|
|
64
69
|
onDismiss?: (event: CustomEvent<SheetDismissEventDetail>) => void;
|
|
65
70
|
/**
|
|
@@ -75,6 +80,11 @@ export declare const PSheet: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
75
80
|
* @default false
|
|
76
81
|
*/
|
|
77
82
|
open: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Shows a swipe handle and lets a downward drag close the sheet when its content is scrolled to the top.
|
|
85
|
+
* @default false
|
|
86
|
+
*/
|
|
87
|
+
swipeHandle?: boolean;
|
|
78
88
|
} & {
|
|
79
89
|
children?: import("react").ReactNode | undefined;
|
|
80
90
|
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -4,16 +4,16 @@ import { forwardRef, useRef } from 'react';
|
|
|
4
4
|
import { useEventCallback, usePrefix, useBrowserLayoutEffect, useMergedClass } from '../../hooks.mjs';
|
|
5
5
|
import { syncRef } from '../../utils.mjs';
|
|
6
6
|
|
|
7
|
-
const PSheet = /*#__PURE__*/ forwardRef(({ aria, background = 'canvas', disableBackdropClick = false, dismissButton = true, onDismiss, onMotionHiddenEnd, onMotionVisibleEnd, open = false, className, ...rest }, ref) => {
|
|
7
|
+
const PSheet = /*#__PURE__*/ forwardRef(({ aria, background = 'canvas', disableBackdropClick = false, dismissButton = true, onDismiss, onMotionHiddenEnd, onMotionVisibleEnd, open = false, swipeHandle = false, className, ...rest }, ref) => {
|
|
8
8
|
const elementRef = useRef(undefined);
|
|
9
9
|
useEventCallback(elementRef, 'dismiss', onDismiss);
|
|
10
10
|
useEventCallback(elementRef, 'motionHiddenEnd', onMotionHiddenEnd);
|
|
11
11
|
useEventCallback(elementRef, 'motionVisibleEnd', onMotionVisibleEnd);
|
|
12
12
|
const WebComponentTag = usePrefix('p-sheet');
|
|
13
|
-
const propsToSync = [aria, background, disableBackdropClick, dismissButton, open];
|
|
13
|
+
const propsToSync = [aria, background, disableBackdropClick, dismissButton, open, swipeHandle];
|
|
14
14
|
useBrowserLayoutEffect(() => {
|
|
15
15
|
const { current } = elementRef;
|
|
16
|
-
['aria', 'background', 'disableBackdropClick', 'dismissButton', 'open'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
16
|
+
['aria', 'background', 'disableBackdropClick', 'dismissButton', 'open', 'swipeHandle'].forEach((propName, i) => (current[propName] = propsToSync[i]));
|
|
17
17
|
}, propsToSync);
|
|
18
18
|
const props = {
|
|
19
19
|
...rest,
|
package/esm/lib/types.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export type AccordionSize = (typeof ACCORDION_SIZES)[number];
|
|
|
32
32
|
export type Booleanish = boolean | "true" | "false";
|
|
33
33
|
export type AriaAttributes = {
|
|
34
34
|
/** Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. */
|
|
35
|
-
"aria-activedescendant"?: string | undefined;
|
|
35
|
+
"aria-activedescendant"?: string | Element | null | undefined;
|
|
36
36
|
/** Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. */
|
|
37
37
|
"aria-atomic"?: Booleanish | undefined;
|
|
38
38
|
/**
|
|
@@ -81,7 +81,7 @@ export type AriaAttributes = {
|
|
|
81
81
|
* Identifies the element (or elements) whose contents or presence are controlled by the current element.
|
|
82
82
|
* @see aria-owns.
|
|
83
83
|
*/
|
|
84
|
-
"aria-controls"?: string | undefined;
|
|
84
|
+
"aria-controls"?: string | Element | readonly Element[] | null | undefined;
|
|
85
85
|
/** Indicates the element that represents the current item within a container or set of related elements. */
|
|
86
86
|
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
87
87
|
/**
|
|
@@ -1349,6 +1349,7 @@ export type InputSearchInputEventDetail = InputEvent;
|
|
|
1349
1349
|
declare const INPUT_SEARCH_ARIA_ATTRIBUTES: readonly [
|
|
1350
1350
|
"role",
|
|
1351
1351
|
"aria-autocomplete",
|
|
1352
|
+
"aria-activedescendant",
|
|
1352
1353
|
"aria-controls",
|
|
1353
1354
|
"aria-expanded",
|
|
1354
1355
|
"aria-haspopup",
|
|
@@ -1619,9 +1620,12 @@ declare const SHEET_BACKGROUNDS: readonly [
|
|
|
1619
1620
|
"surface"
|
|
1620
1621
|
];
|
|
1621
1622
|
export type SheetBackground = (typeof SHEET_BACKGROUNDS)[number];
|
|
1623
|
+
export type SheetDismissReason = "dismiss-button" | "backdrop" | "escape" | "swipe";
|
|
1622
1624
|
export type SheetMotionVisibleEndEventDetail = TransitionEvent;
|
|
1623
1625
|
export type SheetMotionHiddenEndEventDetail = TransitionEvent;
|
|
1624
|
-
export type SheetDismissEventDetail =
|
|
1626
|
+
export type SheetDismissEventDetail = {
|
|
1627
|
+
reason: SheetDismissReason;
|
|
1628
|
+
};
|
|
1625
1629
|
declare const SPINNER_COLORS: readonly [
|
|
1626
1630
|
"primary",
|
|
1627
1631
|
"inherit"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.0-rc.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.
|
|
24
|
+
"@porsche-design-system/components-js": "4.11.0-rc.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"ag-grid-community": ">= 36.0.0 <37.0.0",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pds-audit-deprecations-react
|
|
3
3
|
description: Audit an existing react 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-react skill, which ships alongside this one in @porsche-design-system/components-react@4.
|
|
4
|
+
compatibility: Requires the pds-knowledge-react skill, which ships alongside this one in @porsche-design-system/components-react@4.11.0-rc.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.
|
|
138
|
+
- `sources` — the knowledge-skill reference the fact came from, as a path relative to that skill’s root, at version `4.11.0-rc.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.
|
|
@@ -14,18 +14,19 @@ Prefer Porsche Design System components and tokens for new UI, even when the use
|
|
|
14
14
|
## Coverage and fallbacks
|
|
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
|
+
Page-level WCAG 2.2 AA and EN 301 549 composition is not in this skill. If the APM skill `accessible-frontend` is installed, load it.
|
|
17
18
|
|
|
18
|
-
Before using documentation outside this skill or the installed package, match it to the installed PDS version. This skill was generated for `4.
|
|
19
|
+
Before using documentation outside this skill or the installed package, match it to the installed PDS version. This skill was generated for `4.11.0-rc.0`; prefer the [exact-version Porsche Design System Storefront](https://designsystem.porsche.com/v4.11.0-rc.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
20
|
|
|
20
21
|
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
22
|
|
|
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.
|
|
23
|
+
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.11.0-rc.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
24
|
|
|
24
25
|
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
26
|
|
|
26
27
|
## Components
|
|
27
28
|
|
|
28
|
-
The Porsche Design System ships 58 components. Open a component's reference for its props, slots, events, CSS variables and examples before using it. Each reference's "Examples" table links runnable, framework-specific example files under `references/components/<tag>/examples/`.
|
|
29
|
+
The Porsche Design System ships 58 components. Open a component's reference for its props, slots, events, CSS variables and examples before using it. Each reference's "Examples" table links runnable, framework-specific example files under `references/components/<tag>/examples/`. Before generating a component, also load `references/components/<tag>/accessibility.md` when that file exists.
|
|
29
30
|
|
|
30
31
|
`component-meta` is authoritative: when it disagrees with the examples or prose here, follow `component-meta` (raw data at `@porsche-design-system/components-js/meta`).
|
|
31
32
|
|
|
@@ -110,7 +111,7 @@ import { PButton, PorscheDesignSystemProvider } from '@porsche-design-system/com
|
|
|
110
111
|
|
|
111
112
|
On the server, the `/ssr` build emits component markup and styles as Declarative Shadow DOM so the browser can create the Shadow DOM before JavaScript runs. In the browser, it initializes like the standard React wrapper. The framework build must replace `process.browser` for its server and client targets and eliminate the unused branch.
|
|
112
113
|
|
|
113
|
-
Framework setup differs. Follow the [Next.js integration guide](https://designsystem.porsche.com/v4.
|
|
114
|
+
Framework setup differs. Follow the [Next.js integration guide](https://designsystem.porsche.com/v4.11.0-rc.0/developing/next-js/getting-started/) or the [React Router integration guide](https://designsystem.porsche.com/v4.11.0-rc.0/developing/react-router/getting-started/). Remix users should follow the React Router guidance because Remix v2 was upstreamed into React Router.
|
|
114
115
|
|
|
115
116
|
## Stylesheets
|
|
116
117
|
|
|
@@ -137,12 +138,12 @@ Note: the code examples in the component references use PDS Tailwind utility cla
|
|
|
137
138
|
|
|
138
139
|
## Patterns and templates
|
|
139
140
|
|
|
140
|
-
Patterns and templates are curated use cases composed of PDS components, each with a defined layout, styling and behaviour – the way the Porsche Design System puts its components together for a recurring task. Patterns cover a single section of a page – a header, a footer, a popover flow, a feedback form – shown in the place it occupies on a real page; templates cover a whole page. They are written in vanilla HTML and JavaScript with the PDS web components and the PDS Tailwind CSS theme. Whatever the framework of a project, they are the reference for how such a pattern is meant to be built – the components, their props, the layout, the styling and the behaviour they show – and only their syntax has to be converted to the framework. Before building a page or one of these sections, open [examples.md](references/examples.md) for the catalog with descriptions and what all examples share, then the reference of the closest example for its complete markup and script.
|
|
141
|
+
Patterns and templates are curated use cases composed of PDS components, each with a defined layout, styling and behaviour – the way the Porsche Design System puts its components together for a recurring task. Patterns cover a single section of a page – a header, a footer, a tile, a popover flow, a feedback form – shown in the place it occupies on a real page; templates cover a whole page. They are written in vanilla HTML and JavaScript with the PDS web components and the PDS Tailwind CSS theme. Whatever the framework of a project, they are the reference for how such a pattern is meant to be built – the components, their props, the layout, the styling and the behaviour they show – and only their syntax has to be converted to the framework. Before building a page or one of these sections, open [examples.md](references/examples.md) for the catalog with descriptions and what all examples share, then the reference of the closest example for its complete markup and script.
|
|
141
142
|
|
|
142
143
|
> **Convert to React before use.** The examples are written in vanilla HTML and JavaScript with the PDS web components, not in React. Never copy them verbatim: rebuild them with the components of `@porsche-design-system/components-react` and the conventions of React (see the framework syntax in SKILL.md), and move the behaviour of the script into React state and event handlers. Import the stylesheet entries of that package as well – `@porsche-design-system/components-react/index.css` and `@porsche-design-system/components-react/tailwindcss` instead of the `components-js` ones. Keep the components, props, layout and styling they show: that usage is how the pattern is meant to be built.
|
|
143
144
|
|
|
144
|
-
- **Patterns:** [Feedback: Dialog](references/examples/patterns/feedback/dialog.md), [Feedback: Inline](references/examples/patterns/feedback/inline.md), [Footer](references/examples/patterns/footer.md), [Header: Overlay](references/examples/patterns/header/overlay.md), [Header: Stacked](references/examples/patterns/header/stacked.md), [Popover: Feature tour](references/examples/patterns/popover/feature-tour.md), [Popover: Local market switch](references/examples/patterns/popover/local-market-switch.md), [Popover: Priority navigation](references/examples/patterns/popover/priority-navigation.md)
|
|
145
|
-
- **Templates:** [Admin panel](references/examples/templates/admin-panel.md), [Landing page](references/examples/templates/landing-page.md)
|
|
145
|
+
- **Patterns:** [Feedback: Dialog](references/examples/patterns/feedback/dialog.md), [Feedback: Inline](references/examples/patterns/feedback/inline.md), [Footer: Extended](references/examples/patterns/footer/extended.md), [Footer: Simple](references/examples/patterns/footer/simple.md), [Booking form](references/examples/patterns/forms/booking.md), [Contact form](references/examples/patterns/forms/contact.md), [Personal details form](references/examples/patterns/forms/personal-details.md), [Search: Combobox link list](references/examples/patterns/forms/search-combobox-link-list.md), [Search: Combobox option list](references/examples/patterns/forms/search-combobox-option-list.md), [Header: Overlay](references/examples/patterns/header/overlay.md), [Header: Stacked](references/examples/patterns/header/stacked.md), [Popover: Feature tour](references/examples/patterns/popover/feature-tour.md), [Popover: Local market switch](references/examples/patterns/popover/local-market-switch.md), [Popover: Priority navigation](references/examples/patterns/popover/priority-navigation.md), [Tile: Call to Action](references/examples/patterns/tile/call-to-action.md), [Tile: Category](references/examples/patterns/tile/category.md), [Tile: Disclosure](references/examples/patterns/tile/disclosure.md), [Tile: Equipment Stacked](references/examples/patterns/tile/equipment-stacked.md), [Tile: Equipment](references/examples/patterns/tile/equipment.md), [Tile: Image](references/examples/patterns/tile/image.md), [Tile: Model Navigation](references/examples/patterns/tile/model-navigation.md), [Tile: Model Selection](references/examples/patterns/tile/model-selection.md), [Tile: Model Teaser](references/examples/patterns/tile/model-teaser.md), [Tile: Product](references/examples/patterns/tile/product.md), [Tile: Vehicle Listing](references/examples/patterns/tile/vehicle-listing.md), [Tile: Video](references/examples/patterns/tile/video.md)
|
|
146
|
+
- **Templates:** [Admin panel](references/examples/templates/admin-panel.md), [Landing page](references/examples/templates/landing-page.md), [Personalized mailing: No video](references/examples/templates/personalized-mailing/no-video.md), [Personalized mailing: Video](references/examples/templates/personalized-mailing/video.md)
|
|
146
147
|
|
|
147
148
|
## Deprecations
|
|
148
149
|
|
|
@@ -12,7 +12,7 @@ export const Example = () => {
|
|
|
12
12
|
return (
|
|
13
13
|
<>
|
|
14
14
|
<PAccordion open={open} onUpdate={onUpdate}>
|
|
15
|
-
<PHeading slot="summary" tag="h2" size="
|
|
15
|
+
<PHeading slot="summary" tag="h2" size="sm" weight="semibold">
|
|
16
16
|
Some summary
|
|
17
17
|
</PHeading>
|
|
18
18
|
<PText>
|
|
@@ -12,7 +12,7 @@ export const Example = () => {
|
|
|
12
12
|
return (
|
|
13
13
|
<>
|
|
14
14
|
<PAccordion open={open} background="surface" onUpdate={onUpdate}>
|
|
15
|
-
<PHeading slot="summary" tag="h3" size="
|
|
15
|
+
<PHeading slot="summary" tag="h3" size="sm" weight="semibold">
|
|
16
16
|
Some summary
|
|
17
17
|
</PHeading>
|
|
18
18
|
<PCheckbox slot="summary-before" name="some-name" label="Some label" hideLabel={true}></PCheckbox>
|
package/skills/pds-knowledge-react/references/components/p-accordion/examples/StickySummary.tsx
CHANGED
|
@@ -12,7 +12,7 @@ export const Example = () => {
|
|
|
12
12
|
return (
|
|
13
13
|
<>
|
|
14
14
|
<PAccordion open={open} sticky={true} background="surface" className="[--p-accordion-summary-top:40px]" onUpdate={onUpdate}>
|
|
15
|
-
<PHeading slot="summary" tag="h3" size="
|
|
15
|
+
<PHeading slot="summary" tag="h3" size="sm" weight="semibold">
|
|
16
16
|
Some summary
|
|
17
17
|
</PHeading>
|
|
18
18
|
<PText>
|
package/skills/pds-knowledge-react/references/components/p-banner/examples/Customization.tsx
CHANGED
|
@@ -22,7 +22,7 @@ export const Example = () => {
|
|
|
22
22
|
<PHeading slot="heading" size="sm" weight="semibold">
|
|
23
23
|
Some heading
|
|
24
24
|
</PHeading>
|
|
25
|
-
<PText
|
|
25
|
+
<PText>
|
|
26
26
|
Some description. You can also add inline
|
|
27
27
|
<PLinkPure href="https://porsche.com" icon="none" underline={true}>
|
|
28
28
|
links
|
|
@@ -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/v4.
|
|
5
|
+
Review the [notification decision tree](https://designsystem.porsche.com/v4.11.0-rc.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/v4.
|
|
7
|
+
For more information about the Usage of the `p-banner` checkout the [Notification](https://designsystem.porsche.com/v4.11.0-rc.0/patterns/notifications/introduction/) page.
|
|
8
8
|
|
|
9
9
|
## Accessibility support
|
|
10
10
|
|