@porsche-design-system/components-vue 4.10.1 → 4.11.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 +104 -9
- package/cjs/lib/components/LinkWrapper.vue_vue_type_script_setup_true_lang.cjs +1 -1
- package/cjs/lib/components/PopoverWrapper.vue_vue_type_script_setup_true_lang.cjs +1 -1
- package/cjs/lib/components/SheetWrapper.vue_vue_type_script_setup_true_lang.cjs +1 -1
- package/esm/PorscheDesignSystemProvider.mjs +1 -2
- package/esm/PorscheDesignSystemProvider.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/AccordionWrapper.mjs +1 -2
- package/esm/lib/components/AccordionWrapper.vue.d.ts +4 -4
- package/esm/lib/components/AccordionWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/AiTagWrapper.mjs +1 -2
- package/esm/lib/components/AiTagWrapper.vue.d.ts +1 -1
- package/esm/lib/components/AiTagWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/BannerWrapper.mjs +1 -2
- package/esm/lib/components/BannerWrapper.vue.d.ts +3 -3
- package/esm/lib/components/BannerWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/ButtonPureWrapper.mjs +1 -2
- package/esm/lib/components/ButtonPureWrapper.vue.d.ts +5 -5
- package/esm/lib/components/ButtonPureWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/ButtonTileWrapper.mjs +1 -2
- package/esm/lib/components/ButtonTileWrapper.vue.d.ts +6 -6
- package/esm/lib/components/ButtonTileWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/ButtonWrapper.mjs +1 -2
- package/esm/lib/components/ButtonWrapper.vue.d.ts +3 -3
- package/esm/lib/components/ButtonWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/CanvasWrapper.mjs +1 -2
- package/esm/lib/components/CanvasWrapper.vue.d.ts +1 -1
- package/esm/lib/components/CanvasWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/CarouselWrapper.mjs +1 -2
- package/esm/lib/components/CarouselWrapper.vue.d.ts +5 -5
- package/esm/lib/components/CarouselWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/CheckboxWrapper.mjs +1 -2
- package/esm/lib/components/CheckboxWrapper.vue.d.ts +1 -1
- package/esm/lib/components/CheckboxWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/CrestWrapper.mjs +1 -2
- package/esm/lib/components/CrestWrapper.vue.d.ts +1 -1
- package/esm/lib/components/CrestWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/DisplayWrapper.mjs +1 -2
- package/esm/lib/components/DisplayWrapper.vue.d.ts +3 -3
- package/esm/lib/components/DisplayWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/DividerWrapper.mjs +1 -2
- package/esm/lib/components/DividerWrapper.vue.d.ts +2 -2
- package/esm/lib/components/DividerWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/DrilldownItemWrapper.mjs +1 -2
- package/esm/lib/components/DrilldownItemWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/DrilldownLinkWrapper.mjs +1 -2
- package/esm/lib/components/DrilldownLinkWrapper.vue.d.ts +1 -1
- package/esm/lib/components/DrilldownLinkWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/DrilldownWrapper.mjs +1 -2
- package/esm/lib/components/DrilldownWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/FieldsetWrapper.mjs +1 -2
- package/esm/lib/components/FieldsetWrapper.vue.d.ts +2 -2
- package/esm/lib/components/FieldsetWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/FlagWrapper.mjs +1 -2
- package/esm/lib/components/FlagWrapper.vue.d.ts +2 -2
- package/esm/lib/components/FlagWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/FlyoutWrapper.mjs +1 -2
- package/esm/lib/components/FlyoutWrapper.vue.d.ts +4 -4
- package/esm/lib/components/FlyoutWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/HeadingWrapper.mjs +1 -2
- package/esm/lib/components/HeadingWrapper.vue.d.ts +5 -5
- package/esm/lib/components/HeadingWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/IconWrapper.mjs +1 -2
- package/esm/lib/components/IconWrapper.vue.d.ts +3 -3
- package/esm/lib/components/IconWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/InlineNotificationWrapper.mjs +1 -2
- package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +3 -3
- package/esm/lib/components/InlineNotificationWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/InputDateWrapper.mjs +1 -2
- package/esm/lib/components/InputDateWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputDateWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/InputEmailWrapper.mjs +1 -2
- package/esm/lib/components/InputEmailWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputEmailWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/InputMonthWrapper.mjs +1 -2
- package/esm/lib/components/InputMonthWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputMonthWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/InputNumberWrapper.mjs +1 -2
- package/esm/lib/components/InputNumberWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputNumberWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/InputPasswordWrapper.mjs +1 -2
- package/esm/lib/components/InputPasswordWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputPasswordWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/InputSearchWrapper.mjs +1 -2
- package/esm/lib/components/InputSearchWrapper.vue.d.ts +2 -2
- package/esm/lib/components/InputSearchWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/InputTelWrapper.mjs +1 -2
- package/esm/lib/components/InputTelWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputTelWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/InputTextWrapper.mjs +1 -2
- package/esm/lib/components/InputTextWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputTextWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/InputTimeWrapper.mjs +1 -2
- package/esm/lib/components/InputTimeWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputTimeWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/InputUrlWrapper.mjs +1 -2
- package/esm/lib/components/InputUrlWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputUrlWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/InputWeekWrapper.mjs +1 -2
- package/esm/lib/components/InputWeekWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputWeekWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/LinkPureWrapper.mjs +1 -2
- package/esm/lib/components/LinkPureWrapper.vue.d.ts +5 -5
- package/esm/lib/components/LinkPureWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/LinkTileProductWrapper.mjs +1 -2
- package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +2 -2
- package/esm/lib/components/LinkTileProductWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/LinkTileWrapper.mjs +1 -2
- package/esm/lib/components/LinkTileWrapper.vue.d.ts +5 -5
- package/esm/lib/components/LinkTileWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/LinkWrapper.mjs +1 -2
- package/esm/lib/components/LinkWrapper.vue.d.ts +9 -3
- package/esm/lib/components/LinkWrapper.vue_vue_type_script_setup_true_lang.mjs +5 -2
- package/esm/lib/components/ModalWrapper.mjs +1 -2
- package/esm/lib/components/ModalWrapper.vue.d.ts +2 -2
- package/esm/lib/components/ModalWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/ModelSignatureWrapper.mjs +1 -2
- package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +4 -4
- package/esm/lib/components/ModelSignatureWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/MultiSelectOptionWrapper.mjs +1 -2
- package/esm/lib/components/MultiSelectOptionWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/MultiSelectWrapper.mjs +1 -2
- package/esm/lib/components/MultiSelectWrapper.vue.d.ts +2 -2
- package/esm/lib/components/MultiSelectWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/OptgroupWrapper.mjs +1 -2
- package/esm/lib/components/OptgroupWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/PaginationWrapper.mjs +1 -2
- package/esm/lib/components/PaginationWrapper.vue.d.ts +1 -1
- package/esm/lib/components/PaginationWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/PinCodeWrapper.mjs +1 -2
- package/esm/lib/components/PinCodeWrapper.vue.d.ts +3 -3
- package/esm/lib/components/PinCodeWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/PopoverWrapper.mjs +1 -2
- package/esm/lib/components/PopoverWrapper.vue.d.ts +7 -1
- package/esm/lib/components/PopoverWrapper.vue_vue_type_script_setup_true_lang.mjs +5 -2
- package/esm/lib/components/RadioGroupOptionWrapper.mjs +1 -2
- package/esm/lib/components/RadioGroupOptionWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/RadioGroupWrapper.mjs +1 -2
- package/esm/lib/components/RadioGroupWrapper.vue.d.ts +2 -2
- package/esm/lib/components/RadioGroupWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/ScrollerWrapper.mjs +1 -2
- package/esm/lib/components/ScrollerWrapper.vue.d.ts +1 -1
- package/esm/lib/components/ScrollerWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/SegmentedControlItemWrapper.mjs +1 -2
- package/esm/lib/components/SegmentedControlItemWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/SegmentedControlWrapper.mjs +1 -2
- package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +2 -2
- package/esm/lib/components/SegmentedControlWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/SelectOptionWrapper.mjs +1 -2
- package/esm/lib/components/SelectOptionWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/SelectWrapper.mjs +1 -2
- package/esm/lib/components/SelectWrapper.vue.d.ts +2 -2
- package/esm/lib/components/SelectWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/SheetWrapper.mjs +1 -2
- package/esm/lib/components/SheetWrapper.vue.d.ts +10 -4
- package/esm/lib/components/SheetWrapper.vue_vue_type_script_setup_true_lang.mjs +5 -2
- package/esm/lib/components/SpinnerWrapper.mjs +1 -2
- package/esm/lib/components/SpinnerWrapper.vue.d.ts +2 -2
- package/esm/lib/components/SpinnerWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/StepperHorizontalItemWrapper.mjs +1 -2
- package/esm/lib/components/StepperHorizontalItemWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/StepperHorizontalWrapper.mjs +1 -2
- package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +1 -1
- package/esm/lib/components/StepperHorizontalWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/SwitchWrapper.mjs +1 -2
- package/esm/lib/components/SwitchWrapper.vue.d.ts +1 -1
- package/esm/lib/components/SwitchWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TableBodyWrapper.mjs +1 -2
- package/esm/lib/components/TableBodyWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TableCellWrapper.mjs +1 -2
- package/esm/lib/components/TableCellWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TableHeadCellWrapper.mjs +1 -2
- package/esm/lib/components/TableHeadCellWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TableHeadRowWrapper.mjs +1 -2
- package/esm/lib/components/TableHeadRowWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TableHeadWrapper.mjs +1 -2
- package/esm/lib/components/TableHeadWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TableRowWrapper.mjs +1 -2
- package/esm/lib/components/TableRowWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TableWrapper.mjs +1 -2
- package/esm/lib/components/TableWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TableWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TabsBarWrapper.mjs +1 -2
- package/esm/lib/components/TabsBarWrapper.vue.d.ts +3 -3
- package/esm/lib/components/TabsBarWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TabsItemWrapper.mjs +1 -2
- package/esm/lib/components/TabsItemWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TabsWrapper.mjs +1 -2
- package/esm/lib/components/TabsWrapper.vue.d.ts +3 -3
- package/esm/lib/components/TabsWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TagDismissibleWrapper.mjs +1 -2
- package/esm/lib/components/TagDismissibleWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TagWrapper.mjs +1 -2
- package/esm/lib/components/TagWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TagWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TextListItemWrapper.mjs +1 -2
- package/esm/lib/components/TextListItemWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TextListWrapper.mjs +1 -2
- package/esm/lib/components/TextListWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TextListWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TextWrapper.mjs +1 -2
- package/esm/lib/components/TextWrapper.vue.d.ts +6 -6
- package/esm/lib/components/TextWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/TextareaWrapper.mjs +1 -2
- package/esm/lib/components/TextareaWrapper.vue.d.ts +3 -3
- package/esm/lib/components/TextareaWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/ToastWrapper.mjs +1 -2
- package/esm/lib/components/ToastWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/components/WordmarkWrapper.mjs +1 -2
- package/esm/lib/components/WordmarkWrapper.vue.d.ts +2 -2
- package/esm/lib/components/WordmarkWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/esm/lib/types.d.ts +7 -3
- package/esm/plugin.mjs +1 -2
- package/esm/utils.mjs +1 -2
- package/package.json +2 -2
- package/skills/pds-audit-deprecations-vue/SKILL.md +2 -2
- package/skills/pds-knowledge-vue/SKILL.md +7 -6
- package/skills/pds-knowledge-vue/references/components/p-accordion/examples/Default.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-accordion/examples/InteractiveElementsInSummary.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-accordion/examples/StickySummary.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-ai-tag/examples/WithinRadioGroup.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-ai-tag/examples/WithinTable.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-banner/examples/Customization.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-banner/p-banner.md +2 -2
- package/skills/pds-knowledge-vue/references/components/p-button-pure/p-button-pure.md +9 -0
- package/skills/pds-knowledge-vue/references/components/p-carousel/p-carousel.md +1 -1
- package/skills/pds-knowledge-vue/references/components/p-fieldset/p-fieldset.md +7 -9
- package/skills/pds-knowledge-vue/references/components/p-flyout/examples/CustomStyling.vue +3 -3
- package/skills/pds-knowledge-vue/references/components/p-flyout/examples/Default.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-flyout/examples/StickyTop.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-inline-notification/p-inline-notification.md +1 -1
- package/skills/pds-knowledge-vue/references/components/p-input-search/p-input-search.md +26 -8
- package/skills/pds-knowledge-vue/references/components/p-link/examples/Cover.vue +17 -0
- package/skills/pds-knowledge-vue/references/components/p-link/p-link.md +3 -0
- package/skills/pds-knowledge-vue/references/components/p-link-pure/p-link-pure.md +39 -1
- package/skills/pds-knowledge-vue/references/components/p-modal/examples/AlertDialog.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-modal/examples/Default.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-modal/examples/Scrollable.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-popover/p-popover.md +4 -2
- package/skills/pds-knowledge-vue/references/components/p-sheet/examples/Default.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-sheet/p-sheet.md +6 -3
- package/skills/pds-knowledge-vue/references/components/p-table/examples/CaptionSlot.vue +1 -1
- package/skills/pds-knowledge-vue/references/components/p-toast/p-toast.md +2 -2
- package/skills/pds-knowledge-vue/references/deprecations.md +4 -4
- package/skills/pds-knowledge-vue/references/examples/patterns/feedback/dialog.md +2 -1
- package/skills/pds-knowledge-vue/references/examples/patterns/feedback/inline.md +2 -1
- package/skills/pds-knowledge-vue/references/examples/patterns/{footer.md → footer/extended.md} +9 -8
- package/skills/pds-knowledge-vue/references/examples/patterns/footer/simple.md +75 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/forms/booking.md +479 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/forms/contact.md +211 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/forms/personal-details.md +253 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/forms/search-combobox-link-list.md +363 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/forms/search-combobox-option-list.md +499 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/header/overlay.md +2 -1
- package/skills/pds-knowledge-vue/references/examples/patterns/header/stacked.md +2 -1
- package/skills/pds-knowledge-vue/references/examples/patterns/popover/feature-tour.md +2 -1
- package/skills/pds-knowledge-vue/references/examples/patterns/popover/local-market-switch.md +2 -1
- package/skills/pds-knowledge-vue/references/examples/patterns/popover/priority-navigation.md +2 -1
- package/skills/pds-knowledge-vue/references/examples/patterns/tile/call-to-action.md +71 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/tile/category.md +60 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/tile/disclosure.md +84 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/tile/equipment-stacked.md +54 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/tile/equipment.md +69 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/tile/image.md +64 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/tile/model-navigation.md +52 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/tile/model-selection.md +66 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/tile/model-teaser.md +78 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/tile/product.md +92 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/tile/vehicle-listing.md +107 -0
- package/skills/pds-knowledge-vue/references/examples/patterns/tile/video.md +114 -0
- package/skills/pds-knowledge-vue/references/examples/templates/admin-panel.md +1 -0
- package/skills/pds-knowledge-vue/references/examples/templates/landing-page.md +4 -3
- package/skills/pds-knowledge-vue/references/examples/templates/personalized-mailing/no-video.md +1166 -0
- package/skills/pds-knowledge-vue/references/examples/templates/personalized-mailing/video.md +1252 -0
- package/skills/pds-knowledge-vue/references/examples.md +50 -1
- package/skills/pds-knowledge-vue/references/components/p-input-search/examples/AriaCombobox.vue +0 -32
|
@@ -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/v4.
|
|
19
|
+
> If you need to use a specific property dynamically, please open a [feature request](https://designsystem.porsche.com/v4.11.0/help/feature-request/).
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
@@ -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.
|
|
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.
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
@@ -21,14 +21,6 @@ The `p-fieldset` is a grouping component for wrapping contextual associated form
|
|
|
21
21
|
- Don't use to hide important information or fields that users need to complete a form.
|
|
22
22
|
- Don't rely solely on field sets to improve the usability of your forms or page layouts.
|
|
23
23
|
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
## Behavior
|
|
27
|
-
|
|
28
|
-
### Sections including form elements
|
|
29
|
-
|
|
30
|
-
[Form pattern guideline](https://designsystem.porsche.com/v4.10.1/patterns/forms/).
|
|
31
|
-
|
|
32
24
|
## Accessibility support
|
|
33
25
|
|
|
34
26
|
### ARIA enhancements
|
|
@@ -82,6 +74,12 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
82
74
|
| _(default)_ | no | — | Default slot for the main content. |
|
|
83
75
|
| `message` | no | — | Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed. |
|
|
84
76
|
|
|
77
|
+
### CSS Variables
|
|
78
|
+
|
|
79
|
+
| CSS Variable | Default | Description |
|
|
80
|
+
| --- | --- | --- |
|
|
81
|
+
| `--p-fieldset-label-mb` | `16px` | Bottom margin of the fieldset label. It is recommended to apply an existing Porsche Design System spacing token, e.g. the CSS declaration `--p-fieldset-label-mb: var(--p-spacing-static-sm)`, the Tailwind CSS arbitrary property `[--p-fieldset-label-mb:var(--spacing-static-sm)]` or the equivalent SCSS/JS token. |
|
|
82
|
+
|
|
85
83
|
## Examples
|
|
86
84
|
|
|
87
85
|
| Example | When to use | File |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { ref } from 'vue';
|
|
3
|
-
import { PButton, PButtonPure,
|
|
3
|
+
import { PButton, PButtonPure, PFlyout, PHeading, PText } from '@porsche-design-system/components-vue';
|
|
4
4
|
|
|
5
5
|
const open = ref(false);
|
|
6
6
|
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
<div class="-mt-(--ref-p-flyout-pt) -mx-(--ref-p-flyout-px) h-[300px]">
|
|
22
22
|
<img class="w-full h-full object-cover" src="assets/lights.jpg" alt="Some image description" />
|
|
23
23
|
</div>
|
|
24
|
-
<
|
|
24
|
+
<PHeading class="mt-fluid-md" size="3xl" tag="h2">
|
|
25
25
|
Some heading
|
|
26
|
-
</
|
|
26
|
+
</PHeading>
|
|
27
27
|
<PText class="mt-fluid-sm">
|
|
28
28
|
Some paragraph.
|
|
29
29
|
</PText>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</PButton>
|
|
19
19
|
|
|
20
20
|
<PFlyout :open="open" :aria="{'aria-label': 'Some Heading'}" @dismiss="onDismiss">
|
|
21
|
-
<PHeading slot="header" size="
|
|
21
|
+
<PHeading slot="header" size="lg" tag="h2">
|
|
22
22
|
Some Heading
|
|
23
23
|
</PHeading>
|
|
24
24
|
<div class="grid grid-cols-[2fr_1fr] gap-static-md items-start">
|
|
@@ -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/v4.
|
|
5
|
+
Review the [notification decision tree](https://designsystem.porsche.com/v4.11.0/patterns/notifications/decision-tree/) to determine which notification component is best for a particular scenario.
|
|
6
6
|
|
|
7
7
|
# Inline Notification
|
|
8
8
|
|
|
@@ -59,7 +59,8 @@ Use the `aria` property to pass supported attributes to the **native `<input>` i
|
|
|
59
59
|
| --- | --- |
|
|
60
60
|
| `role` | Overrides the implicit role when needed (e.g. `combobox` for an autocomplete pattern alongside a separate listbox). |
|
|
61
61
|
| `aria-autocomplete` | Indicates whether and how the component predicts text (`none`, `inline`, `list`, `both`). |
|
|
62
|
-
| `aria-
|
|
62
|
+
| `aria-activedescendant` | Identifies the currently highlighted suggestion. Pass the element itself when it lives outside the shadow tree. |
|
|
63
|
+
| `aria-controls` | Identifies the element(s) whose contents or presence are controlled by the input (e.g. the suggestion list). Pass the element, or a list of elements, when it lives outside the shadow tree. |
|
|
63
64
|
| `aria-expanded` | Indicates whether the suggestion popup or related surface is expanded or collapsed. |
|
|
64
65
|
| `aria-haspopup` | Indicates that activating the input triggers a popup (e.g. `listbox`, `dialog`). |
|
|
65
66
|
| `aria-label` | Defines an accessible name when the visible label is insufficient or hidden; prefer a visible `label` for most cases. |
|
|
@@ -88,15 +89,16 @@ In general, avoid using the `disabled` state. Disabled elements are no longer fo
|
|
|
88
89
|
|
|
89
90
|
### Combobox and suggestion lists
|
|
90
91
|
|
|
91
|
-
For a search field that controls a separate list of
|
|
92
|
+
A working list of choices that writes the selected one back into the field lives in the [search combobox option list example](https://designsystem.porsche.com/v4.11.0/patterns/forms/#search-combobox-option-list). When a match is a page of its own, the [search combobox link list example](https://designsystem.porsche.com/v4.11.0/patterns/forms/#search-combobox-link-list) keeps the results as links inside a dialog. Both patterns use a dealer search as an integration example. For a search field that controls a separate list of choices and writes the choice back into the field, set the `aria` property so the input exposes the expected semantics supported by this component, for example:
|
|
92
93
|
|
|
93
94
|
- `role: 'combobox'`
|
|
94
|
-
- `aria-controls` referring to the id
|
|
95
|
+
- `aria-controls` referring to the controlled region. A string id does not resolve across the shadow boundary; pass the element (or a list of elements) instead: `aria={{ 'aria-controls': listElement, 'aria-activedescendant': activeElement }}`. That sets `ariaControlsElements` and `ariaActiveDescendantElement` on the native `<input>`
|
|
96
|
+
- `aria-activedescendant` referring to the highlighted suggestion, again as an element when that suggestion is outside the shadow tree
|
|
95
97
|
- `aria-expanded` reflecting open/closed state
|
|
96
98
|
- `aria-haspopup` indicating the presence of a popup (e.g. `listbox`)
|
|
97
99
|
- `aria-autocomplete` as required by your pattern
|
|
98
100
|
|
|
99
|
-
Associate the suggestion list and keyboard interaction in the host application according to the [ARIA combobox pattern](https://www.w3.org/WAI/ARIA/apg/patterns/combobox
|
|
101
|
+
Associate the suggestion list and keyboard interaction in the host application according to the [ARIA combobox pattern](https://www.w3.org/WAI/ARIA/apg/patterns/combobox) you implement there.
|
|
100
102
|
|
|
101
103
|
### Common do's and don'ts
|
|
102
104
|
|
|
@@ -109,24 +111,41 @@ Associate the suggestion list and keyboard interaction in the host application a
|
|
|
109
111
|
|
|
110
112
|
## Limitations
|
|
111
113
|
|
|
112
|
-
|
|
114
|
+
A string id in `aria-controls` or `aria-activedescendant` cannot name an element across the shadow boundary. Pass the element instead (`aria={{ 'aria-controls': listElement, 'aria-activedescendant': activeElement }}`) and the component sets `ariaControlsElements` and `ariaActiveDescendantElement` on the native `<input>`. `aria-owns` is not forwarded.
|
|
113
115
|
|
|
114
116
|
| ARIA | Support |
|
|
115
117
|
| --- | --- |
|
|
116
118
|
| `aria-owns` | 🚫 |
|
|
117
|
-
| `aria-
|
|
119
|
+
| `aria-controls` | String id only inside the same tree. An element, or a list of elements, crosses the shadow boundary. |
|
|
120
|
+
| `aria-activedescendant` | String id only inside the same tree. An element crosses the shadow boundary. |
|
|
118
121
|
|
|
119
122
|
## Integration examples
|
|
120
123
|
|
|
121
124
|
See [accessibility integration examples](./accessibility.md) for paired anti-pattern and recommended implementations.
|
|
122
125
|
|
|
126
|
+
## Notes
|
|
127
|
+
|
|
128
|
+
### Used as a Combobox
|
|
129
|
+
|
|
130
|
+
A search field with a result list composed with [`p-popover`](../p-popover/p-popover.md) is provided as different patterns:
|
|
131
|
+
|
|
132
|
+
### The combobox option list pattern
|
|
133
|
+
|
|
134
|
+
The [search combobox option list](https://designsystem.porsche.com/v4.11.0/patterns/forms/#search-combobox-option-list) pattern shows this with a dealer search as an integration example. Typing filters the options, the arrow keys move a highlight, and Enter or the search button writes the highlighted option into the field.
|
|
135
|
+
|
|
136
|
+
### The combobox link list pattern
|
|
137
|
+
|
|
138
|
+
The [search combobox link list](https://designsystem.porsche.com/v4.11.0/patterns/forms/#search-combobox-link-list) pattern uses the same field when a match is a page of its own, also demonstrated with a dealer search integration example. The results stay real links inside a dialog, the arrow keys move a highlight, and Enter or a click opens the highlighted page.
|
|
139
|
+
|
|
140
|
+
Both patterns pass the controlled region and the highlighted item as elements on the `aria` prop (`'aria-controls': listOrDialog`, `'aria-activedescendant': activeElement`). A string id would not resolve from inside the input's shadow tree; the element reference sets `ariaControlsElements` and `ariaActiveDescendantElement` on the native `<input>`.
|
|
141
|
+
|
|
123
142
|
## API
|
|
124
143
|
|
|
125
144
|
### Properties
|
|
126
145
|
|
|
127
146
|
| Property | Type | Default | Description |
|
|
128
147
|
| --- | --- | --- | --- |
|
|
129
|
-
| `aria` | `InputSearchAriaAttribute` | `undefined` | 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`). |
|
|
148
|
+
| `aria` | `InputSearchAriaAttribute` | `undefined` | 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. |
|
|
130
149
|
| `autoComplete` | `string` | `undefined` | Provides the browser with a data type hint to enable relevant autofill suggestions. |
|
|
131
150
|
| `clear` | `boolean` | `false` | Shows a clear button (×) inside the field that resets the value to empty when clicked. |
|
|
132
151
|
| `compact` | `boolean` | `false` | Reduces the input height and padding for a more compact layout. |
|
|
@@ -180,4 +199,3 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
180
199
|
| Default | Minimal default configuration. | [./examples/Default.vue](./examples/Default.vue) |
|
|
181
200
|
| Form | The `p-input-search` can be integrated into a form in two ways: **controlled** or **uncontrolled**, depending on your needs. | [./examples/Form.vue](./examples/Form.vue) |
|
|
182
201
|
| Slots | Use named slots when `label`, `description` or `message` need markup such as a link. | [./examples/Slots.vue](./examples/Slots.vue) |
|
|
183
|
-
| Used as a Combobox | You can pass an `aria` property to expose extra semantics on the **native input** (see [accessibility](./p-input-search.md)). | [./examples/AriaCombobox.vue](./examples/AriaCombobox.vue) |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { PHeading, PLink, PText } from '@porsche-design-system/components-vue';
|
|
3
|
+
</script>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<div class="relative isolate flex flex-col items-start gap-static-md max-w-[400px] p-fluid-md rounded-3xl bg-surface [--p-link-cover-radius:var(--radius-3xl)]">
|
|
7
|
+
<PHeading tag="h3" size="md">
|
|
8
|
+
Porsche Approved
|
|
9
|
+
</PHeading>
|
|
10
|
+
<PText>
|
|
11
|
+
Pre-owned vehicles that meet the highest standards, with a warranty of up to 24 months.
|
|
12
|
+
</PText>
|
|
13
|
+
<PLink href="https://porsche.com" variant="primary" :cover="true">
|
|
14
|
+
Discover more
|
|
15
|
+
</PLink>
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
@@ -81,6 +81,7 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
81
81
|
| --- | --- | --- | --- |
|
|
82
82
|
| `aria` | `LinkAriaAttribute` | `undefined` | Sets ARIA attributes on the link element to improve accessibility for screen readers. |
|
|
83
83
|
| `compact` | `boolean`<br>`BreakpointCustomizable<boolean>` | `false` | Reduces the link's padding and height for denser layouts. Supports responsive breakpoint values. |
|
|
84
|
+
| `cover` | `boolean` | `false` | 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`. |
|
|
84
85
|
| `download` | `string` | `undefined` | Sets the native `download` attribute to trigger a file download. Only applies when `href` is set. |
|
|
85
86
|
| `hideLabel` | `boolean`<br>`BreakpointCustomizable<boolean>` | `false` | Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values. |
|
|
86
87
|
| `href` | `string` | `undefined` | When set, the component renders as an anchor navigating to this URL. Otherwise, provide a slotted anchor element, but not both. Without either, it renders as plain text. |
|
|
@@ -106,6 +107,7 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
106
107
|
| `--p-link-py` | — | Vertical padding of the link. |
|
|
107
108
|
| `--p-link-gap` | — | Gap between the link's content (label and icon). |
|
|
108
109
|
| `--p-link-radius` | — | Radius of the link |
|
|
110
|
+
| `--p-link-cover-radius` | `0` | Corner radius of the clickable area and its focus ring when `cover` is set, e.g. the radius of the card the link covers. |
|
|
109
111
|
|
|
110
112
|
## Examples
|
|
111
113
|
|
|
@@ -114,3 +116,4 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
114
116
|
| Default | Minimal default configuration. | [./examples/Default.vue](./examples/Default.vue) |
|
|
115
117
|
| Framework routing (anchor nesting) | To support custom anchor tags (e.g. framework specific routing) you can provide them as a **slotted element** of the component. | [./examples/FrameworkRouting.vue](./examples/FrameworkRouting.vue) |
|
|
116
118
|
| Link with specific icon | If an icon needs to be implemented, just set another predefined icon. | [./examples/Icon.vue](./examples/Icon.vue) |
|
|
119
|
+
| Cover a card | With `cover`, the clickable area of the link stretches over its nearest positioned ancestor, e.g. a card with `position: relative`, so the whole card navigates without a second, hidden link. | [./examples/Cover.vue](./examples/Cover.vue) |
|
|
@@ -76,6 +76,36 @@ If the text of a link does not clearly indicate what the link's target is, add a
|
|
|
76
76
|
|
|
77
77
|
See [accessibility integration examples](./accessibility.md) for paired anti-pattern and recommended implementations.
|
|
78
78
|
|
|
79
|
+
## Notes
|
|
80
|
+
|
|
81
|
+
### Framework specific router with "active state" support
|
|
82
|
+
|
|
83
|
+
Examples how to use the component together with a framework specific router with "active state" support.
|
|
84
|
+
|
|
85
|
+
### Angular
|
|
86
|
+
|
|
87
|
+
```html
|
|
88
|
+
<p-link-pure [active]="rla.isActive">
|
|
89
|
+
<a routerLink="/path/to/heaven" routerLinkActive #rla="routerLinkActive"></a>
|
|
90
|
+
</p-link-pure>
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### React
|
|
94
|
+
|
|
95
|
+
```typescript
|
|
96
|
+
<PLinkPure active={isActive}>
|
|
97
|
+
<Link to="/path/to/heaven">Some label</Link>
|
|
98
|
+
</PLinkPure>
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### VueJs
|
|
102
|
+
|
|
103
|
+
```typescript
|
|
104
|
+
<router-link :to="/path/to/heaven" v-slot="{ href, navigate, isActive }">
|
|
105
|
+
<p-link-pure :href="href" @click="navigate" :active="isActive">Some label</p-link-pure>
|
|
106
|
+
</router-link>
|
|
107
|
+
```
|
|
108
|
+
|
|
79
109
|
## API
|
|
80
110
|
|
|
81
111
|
### Properties
|
|
@@ -103,6 +133,15 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
103
133
|
| --- | --- | --- | --- |
|
|
104
134
|
| _(default)_ | no | — | Default slot to render the link label. This slot can be used to slot an anchor tag instead of using the `href` prop, but not in combination with it. |
|
|
105
135
|
|
|
136
|
+
### CSS Variables
|
|
137
|
+
|
|
138
|
+
| CSS Variable | Default | Description |
|
|
139
|
+
| --- | --- | --- |
|
|
140
|
+
| `--p-link-pure-px` | `0px` | Horizontal padding of the link. Enlarges the clickable and focusable area. |
|
|
141
|
+
| `--p-link-pure-py` | `0px` | Vertical padding of the link. Enlarges the clickable and focusable area. |
|
|
142
|
+
| `--p-link-pure-hover-inset-x` | `-4px` | Horizontal inset of the hover, active and focus indicator. |
|
|
143
|
+
| `--p-link-pure-hover-inset-y` | `-2px` | Vertical inset of the hover, active and focus indicator. |
|
|
144
|
+
|
|
106
145
|
## Examples
|
|
107
146
|
|
|
108
147
|
| Example | When to use | File |
|
|
@@ -110,5 +149,4 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
110
149
|
| Default | Minimal default configuration. | [./examples/Default.vue](./examples/Default.vue) |
|
|
111
150
|
| Link with specific icon | If another icon needs to be implemented, just replace the default icon with another predefined icon. | [./examples/Icon.vue](./examples/Icon.vue) |
|
|
112
151
|
| Framework routing (anchor nesting) | To support custom anchor tags (e.g. framework specific routing) you can provide them as a **slotted element** (recommended) of the component. | [./examples/FrameworkRouting.vue](./examples/FrameworkRouting.vue) |
|
|
113
|
-
| Framework specific router with "active state" support | Examples how to use the component together with a framework specific router with "active state" support. | — |
|
|
114
152
|
| Link Pure with custom clickable/focusable area | Sometimes it might be useful to enlarge the clickable/focusable area of a link to fulfill accessibility guidelines. | [./examples/CustomClickableArea.vue](./examples/CustomClickableArea.vue) |
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</PButton>
|
|
19
19
|
|
|
20
20
|
<PModal :open="open" :aria="{'role': 'alertdialog'}" :disableBackdropClick="true" @dismiss="onDismiss">
|
|
21
|
-
<PHeading slot="header" size="
|
|
21
|
+
<PHeading slot="header" size="lg" tag="h2">
|
|
22
22
|
Some important Heading
|
|
23
23
|
</PHeading>
|
|
24
24
|
<PText>
|
|
@@ -4,9 +4,9 @@ The `p-popover` component displays additional contextual content in an overlay a
|
|
|
4
4
|
|
|
5
5
|
By default, the Popover works **uncontrolled**: it manages its own visibility and toggles open or closed when its info button (or a slotted trigger) is clicked. It is dismissed on outside click, on `Escape`, or when keyboard focus leaves the Popover.
|
|
6
6
|
|
|
7
|
-
Alternatively, the Popover can be used in a **controlled** mode by setting the `open` prop together with a slotted `button` (the default info button does not toggle in this mode). In this mode you own the open state: the Popover only emits the `dismiss` event when the user requests to close it (via `Escape`, an outside click or when keyboard focus leaves the Popover), and you decide whether to update `open` in response.
|
|
7
|
+
Alternatively, the Popover can be used in a **controlled** mode by setting the `open` prop together with a slotted `button` or another trigger element (the default info button does not toggle in this mode). In this mode you own the open state: the Popover only emits the `dismiss` event when the user requests to close it (via `Escape`, an outside click or when keyboard focus leaves the Popover), and you decide whether to update `open` in response.
|
|
8
8
|
|
|
9
|
-
**Hint:** The `p-popover` utilizes the [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API) and gets rendered on the `#top-layer` which enables it to be shown correctly even when used e.g. within a scroll container.
|
|
9
|
+
**Hint:** The `p-popover` utilizes the [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API) and gets rendered on the `#top-layer` which enables it to be shown correctly even when used e.g. within a scroll container. Set `arrow={false}` to drop the arrow and the extra offset it adds, which keeps a wide trigger (such as an input search field) flush with the panel.
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
@@ -15,6 +15,7 @@ Alternatively, the Popover can be used in a **controlled** mode by setting the `
|
|
|
15
15
|
- Use it to display additional information that is not necessary for task completion or to provide further explanation about a workflow.
|
|
16
16
|
- Position popovers in a way that they do not block related content.
|
|
17
17
|
- Choose a preferred direction in which the popover should open, or it will automatically open in the direction with the most available space.
|
|
18
|
+
- Hide the arrow with `arrow={false}` when the popover is anchored to a wide control, such as a search field, so the panel sits close to the trigger.
|
|
18
19
|
- Use it consistently throughout your site.
|
|
19
20
|
|
|
20
21
|
### Don't:
|
|
@@ -76,6 +77,7 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
76
77
|
| Property | Type | Default | Description |
|
|
77
78
|
| --- | --- | --- | --- |
|
|
78
79
|
| `aria` | `PopoverAriaAttribute` | `undefined` | Sets ARIA attributes on the popover panel to improve accessibility for screen readers. |
|
|
80
|
+
| `arrow` | `boolean` | `true` | Shows the arrow that points at the trigger. When `false`, the panel keeps a small gap and is not offset by the arrow thickness. |
|
|
79
81
|
| `compact` | `boolean` | `undefined` | Reduces padding and spacing for a more compact layout, useful in space-constrained interfaces. |
|
|
80
82
|
| `description` | `string` | `undefined` | Sets the text content displayed inside the popover panel when it is open, providing contextual help or information. Takes precedence over the default slot when both are provided. |
|
|
81
83
|
| `direction` | `'top'` `'right'` `'bottom'` `'left'` | `'bottom'` | Sets the preferred direction for the popover to open relative to its trigger button. Falls back to the direction with the most available viewport space. |
|
|
@@ -42,8 +42,9 @@ The `Sheet` component uses the native `dialog` element to provide a modal dialog
|
|
|
42
42
|
|
|
43
43
|
| Key / state | Function |
|
|
44
44
|
| --- | --- |
|
|
45
|
-
| `Tab`, `Shift-Tab` | Moves focus to the next (or previous) focusable element inside the dialog. Focus is trapped (browser behavior). |
|
|
46
|
-
| `ESC` | Closes the dialog. |
|
|
45
|
+
| `Tab`, `Shift-Tab` | Moves focus to the next (or previous) focusable element inside the dialog. Focus is trapped (browser behavior). When `swipe-handle` is set and the dismiss button is shown, the handle is removed from this sequence. |
|
|
46
|
+
| `ESC` | Closes the dialog. This stays available when `swipe-handle` is set, including when the dismiss button is hidden. |
|
|
47
|
+
| `Enter`, `Space` | Activates the focused dismiss button or, when the dismiss button is hidden, the swipe handle. |
|
|
47
48
|
| `focus` on trigger element | The focus is returned to the trigger element after closing the dialog (browser behavior). |
|
|
48
49
|
|
|
49
50
|
### ARIA enhancements
|
|
@@ -60,6 +61,7 @@ The `Sheet` component uses the native `dialog` element to provide a modal dialog
|
|
|
60
61
|
| ARIA | Usage |
|
|
61
62
|
| --- | --- |
|
|
62
63
|
| `aria-label="STRING"` | Defines the accessible name if no `aria` property is provided, uses the contents of the header slot and falls back to a fixed name. |
|
|
64
|
+
| `aria-hidden="true"` | Hides the swipe handle from assistive technologies while the dismiss button is shown, which closes the sheet for them. Without the dismiss button, the swipe handle is exposed as a button. |
|
|
63
65
|
|
|
64
66
|
## Development considerations
|
|
65
67
|
|
|
@@ -88,12 +90,13 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
88
90
|
| `disableBackdropClick` | `boolean` | `false` | When enabled, clicking the backdrop will not close the sheet. |
|
|
89
91
|
| `dismissButton` | `boolean` | `true` | Shows a dismiss button in the sheet header so users can manually close it. |
|
|
90
92
|
| `open` _(required)_ | `boolean` | `false` | Controls whether the sheet panel slides in from the bottom and is visible to the user. |
|
|
93
|
+
| `swipeHandle` | `boolean` | `false` | Shows a swipe handle and lets a downward drag close the sheet when its content is scrolled to the top. |
|
|
91
94
|
|
|
92
95
|
### Events
|
|
93
96
|
|
|
94
97
|
| Event | Type | Description |
|
|
95
98
|
| --- | --- | --- |
|
|
96
|
-
| `dismiss` | `CustomEvent<SheetDismissEventDetail>`<br>`{ reason: 'dismiss-button' | 'backdrop' | 'escape' }` | Emitted when the user closes the sheet via the dismiss button, backdrop click, or
|
|
99
|
+
| `dismiss` | `CustomEvent<SheetDismissEventDetail>`<br>`{ reason: 'dismiss-button' | 'backdrop' | 'escape' | 'swipe' }` | 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. |
|
|
97
100
|
| `motionHiddenEnd` | `CustomEvent<SheetMotionHiddenEndEventDetail>`<br>`TransitionEvent` | Emitted after the sheet's close transition has fully completed and the panel is hidden. |
|
|
98
101
|
| `motionVisibleEnd` | `CustomEvent<SheetMotionVisibleEndEventDetail>`<br>`TransitionEvent` | Emitted after the sheet's open transition has fully completed and the panel is visible. |
|
|
99
102
|
|
|
@@ -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/v4.
|
|
5
|
+
Review the [notification decision tree](https://designsystem.porsche.com/v4.11.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/v4.
|
|
18
|
+
For more information about the Usage of the `p-toast` checkout the [Notification](https://designsystem.porsche.com/v4.11.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.
|
|
3
|
+
Every deprecated Porsche Design System API in `4.11.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.
|
|
678
|
+
No deprecations in `4.11.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.
|
|
682
|
+
No deprecations in `4.11.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.
|
|
686
|
+
No deprecations in `4.11.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.
|
|
@@ -4,13 +4,14 @@ A trigger button opens the same rating-and-comment flow inside a dialog, keeping
|
|
|
4
4
|
|
|
5
5
|
- **Type:** Pattern
|
|
6
6
|
- **Components:** [`p-button`](../../../components/p-button/p-button.md), [`p-heading`](../../../components/p-heading/p-heading.md), [`p-modal`](../../../components/p-modal/p-modal.md), [`p-segmented-control`](../../../components/p-segmented-control/p-segmented-control.md), [`p-text`](../../../components/p-text/p-text.md), [`p-textarea`](../../../components/p-textarea/p-textarea.md)
|
|
7
|
+
- **Color schemes:** light and dark – see Conventions
|
|
7
8
|
- **Conventions and stylesheet:** shared by all examples, see [examples.md](../../../examples.md)
|
|
8
9
|
|
|
9
10
|
## Markup
|
|
10
11
|
|
|
11
12
|
```html
|
|
12
13
|
<html lang="en">
|
|
13
|
-
<body>
|
|
14
|
+
<body class="bg-canvas">
|
|
14
15
|
<main id="main" class="grid-template gap-y-fluid-xl py-fluid-lg">
|
|
15
16
|
<section class="col-wide grid gap-fluid-md">
|
|
16
17
|
<p-heading tag="h1" size="xl">Feedback in a dialog</p-heading>
|
|
@@ -4,13 +4,14 @@ The rating sits directly in the page flow, typically at the end of the content,
|
|
|
4
4
|
|
|
5
5
|
- **Type:** Pattern
|
|
6
6
|
- **Components:** [`p-button`](../../../components/p-button/p-button.md), [`p-heading`](../../../components/p-heading/p-heading.md), [`p-segmented-control`](../../../components/p-segmented-control/p-segmented-control.md), [`p-text`](../../../components/p-text/p-text.md), [`p-textarea`](../../../components/p-textarea/p-textarea.md)
|
|
7
|
+
- **Color schemes:** light and dark – see Conventions
|
|
7
8
|
- **Conventions and stylesheet:** shared by all examples, see [examples.md](../../../examples.md)
|
|
8
9
|
|
|
9
10
|
## Markup
|
|
10
11
|
|
|
11
12
|
```html
|
|
12
13
|
<html lang="en">
|
|
13
|
-
<body>
|
|
14
|
+
<body class="bg-canvas">
|
|
14
15
|
<main id="main" class="grid-template gap-y-fluid-xl py-fluid-lg">
|
|
15
16
|
<section class="col-wide grid gap-fluid-md">
|
|
16
17
|
<p-heading tag="h1" size="xl">Inline feedback</p-heading>
|
package/skills/pds-knowledge-vue/references/examples/patterns/{footer.md → footer/extended.md}
RENAMED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
# Footer
|
|
1
|
+
# Footer: Extended
|
|
2
2
|
|
|
3
|
-
The footer
|
|
3
|
+
The footer of a site. Besides the legal information – consumption and emission disclaimers, the wordmark, the copyright and the legal links – it offers the delivery country, the site navigation in columns, social media and payment service providers, so users can reach key information from wherever they are on the site. All texts and links are placeholders: the legal texts, the legal links and the pages they lead to, such as the imprint or the privacy policy, differ by market and have to be checked for each one.
|
|
4
4
|
|
|
5
5
|
- **Type:** Pattern
|
|
6
|
-
- **Components:** [`p-flag`](
|
|
7
|
-
- **
|
|
6
|
+
- **Components:** [`p-flag`](../../../components/p-flag/p-flag.md), [`p-heading`](../../../components/p-heading/p-heading.md), [`p-link-pure`](../../../components/p-link-pure/p-link-pure.md), [`p-select`](../../../components/p-select/p-select.md), [`p-text`](../../../components/p-text/p-text.md), [`p-wordmark`](../../../components/p-wordmark/p-wordmark.md)
|
|
7
|
+
- **Color schemes:** light and dark – see Conventions
|
|
8
|
+
- **Conventions and stylesheet:** shared by all examples, see [examples.md](../../../examples.md)
|
|
8
9
|
|
|
9
10
|
## Markup
|
|
10
11
|
|
|
11
12
|
```html
|
|
12
13
|
<html lang="en">
|
|
13
|
-
<body>
|
|
14
|
+
<body class="bg-canvas">
|
|
14
15
|
<main id="main"></main>
|
|
15
16
|
<footer class="grid-template py-fluid-lg bg-surface">
|
|
16
17
|
<form
|
|
@@ -151,7 +152,7 @@ The footer serves as a universal navigation and information hub located at the b
|
|
|
151
152
|
class="col-extended grid sm:grid-cols-[auto_minmax(0,1fr)] items-center gap-x-fluid-lg gap-y-static-lg"
|
|
152
153
|
aria-label="Social media and payment service providers"
|
|
153
154
|
>
|
|
154
|
-
<div class="flex gap-fluid-md">
|
|
155
|
+
<div class="flex flex-wrap gap-fluid-md">
|
|
155
156
|
<p-link-pure class="p-static-sm -m-static-sm" icon="logo-instagram" hide-label="true" size="md">
|
|
156
157
|
<a href="#">Instagram</a>
|
|
157
158
|
</p-link-pure>
|
|
@@ -223,8 +224,8 @@ The footer serves as a universal navigation and information hub located at the b
|
|
|
223
224
|
</article>
|
|
224
225
|
<div class="col-extended grid gap-fluid-md justify-items-center mt-fluid-md">
|
|
225
226
|
<p-wordmark></p-wordmark>
|
|
226
|
-
<p-text size="2xs" color="contrast-medium">© 2026 Porsche Sales and Marketplace, Inc.</p-text>
|
|
227
|
-
<ul class="flex flex-wrap justify-center gap-fluid-md">
|
|
227
|
+
<p-text size="2xs" color="contrast-medium" align="center">© 2026 Porsche Sales and Marketplace, Inc.</p-text>
|
|
228
|
+
<ul class="flex flex-wrap justify-center gap-fluid-md text-center">
|
|
228
229
|
<li>
|
|
229
230
|
<p-link-pure icon="none" size="xs" underline><a href="#">Legal notice</a></p-link-pure>
|
|
230
231
|
</li>
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Footer: Simple
|
|
2
|
+
|
|
3
|
+
A reduced footer with nothing but the legal information: consumption and emission disclaimers, the wordmark, the copyright and the legal links. It suits a page that stands on its own, such as a campaign or a personalized landing page, where the site navigation would lead away from it. All texts and links are placeholders: the legal texts, the legal links and the pages they lead to, such as the imprint or the privacy policy, differ by market and have to be checked for each one.
|
|
4
|
+
|
|
5
|
+
- **Type:** Pattern
|
|
6
|
+
- **Components:** [`p-link-pure`](../../../components/p-link-pure/p-link-pure.md), [`p-text`](../../../components/p-text/p-text.md), [`p-wordmark`](../../../components/p-wordmark/p-wordmark.md)
|
|
7
|
+
- **Color schemes:** light and dark – see Conventions
|
|
8
|
+
- **Conventions and stylesheet:** shared by all examples, see [examples.md](../../../examples.md)
|
|
9
|
+
|
|
10
|
+
## Markup
|
|
11
|
+
|
|
12
|
+
```html
|
|
13
|
+
<html lang="en">
|
|
14
|
+
<body class="bg-canvas">
|
|
15
|
+
<main id="main"></main>
|
|
16
|
+
<footer class="grid-template py-fluid-lg bg-canvas">
|
|
17
|
+
<article class="col-extended grid gap-fluid-md mt-fluid-md" aria-label="Consumption and emission information">
|
|
18
|
+
<p-text size="2xs" color="contrast-medium">
|
|
19
|
+
The consumption and emission values stated were determined in accordance with the legally prescribed
|
|
20
|
+
measurement procedures. Since September 1, 2017, certain new vehicles have been type-approved in accordance
|
|
21
|
+
with the Worldwide Harmonized Vehicles Test Procedure (WLTP), a more realistic test procedure for measuring
|
|
22
|
+
fuel/electricity consumption and CO₂ emissions. Since September 1, 2018, the WLTP has replaced the New
|
|
23
|
+
European Driving Cycle (NEDC). Due to the more realistic testing conditions, the fuel/electricity consumption
|
|
24
|
+
and CO₂ emission values measured according to the WLTP are, in many cases, higher than those measured
|
|
25
|
+
according to the NEDC. As a result, vehicle taxation may change accordingly starting September 1, 2018.
|
|
26
|
+
Further information on the differences between WLTP and NEDC can be found at www.porsche.com/wltp.
|
|
27
|
+
</p-text>
|
|
28
|
+
<p-text size="2xs" color="contrast-medium">
|
|
29
|
+
Currently, regardless of the applied type-approval procedure, it remains mandatory to communicate NEDC values.
|
|
30
|
+
The additional disclosure of WLTP values may be done on a voluntary basis until their mandatory use. In the
|
|
31
|
+
case of new vehicles type-approved according to WLTP, NEDC values are derived from WLTP values and stated
|
|
32
|
+
during the transitional period. Where NEDC values are stated as ranges, they do not refer to a specific
|
|
33
|
+
individual vehicle and are not part of the offer. They serve solely for comparison purposes between different
|
|
34
|
+
vehicle types. Optional equipment and accessories (attachments, tire formats, etc.) can alter relevant vehicle
|
|
35
|
+
parameters such as weight, rolling resistance, and aerodynamics, and can influence fuel/electricity
|
|
36
|
+
consumption, CO₂ emissions, and performance values of a vehicle in addition to weather and traffic conditions
|
|
37
|
+
and individual driving behavior. Further information on the official fuel/electricity consumption and official
|
|
38
|
+
specific CO₂ emissions of new passenger cars can be found in the "Guide on fuel consumption, CO₂
|
|
39
|
+
emissions and electricity consumption of new passenger cars," available free of charge at all sales
|
|
40
|
+
outlets and from DAT.
|
|
41
|
+
</p-text>
|
|
42
|
+
<p-text size="2xs" color="contrast-medium">
|
|
43
|
+
Neither the number of active users of this Porsche Connect Store nor the number of active users of the App
|
|
44
|
+
Center available in the connected vehicle (Macan electric) upon activation of the Connect services exceeds the
|
|
45
|
+
threshold of 45 million active users in the European Union as defined by the Digital Services Act (DSA).
|
|
46
|
+
Important information regarding fully electric Porsche models can be found here.
|
|
47
|
+
</p-text>
|
|
48
|
+
</article>
|
|
49
|
+
<div class="col-extended grid gap-fluid-md justify-items-center mt-fluid-md">
|
|
50
|
+
<p-wordmark></p-wordmark>
|
|
51
|
+
<p-text size="2xs" color="contrast-medium" align="center">© 2026 Porsche Sales and Marketplace, Inc.</p-text>
|
|
52
|
+
<ul class="flex flex-wrap justify-center gap-fluid-md text-center">
|
|
53
|
+
<li>
|
|
54
|
+
<p-link-pure icon="none" size="xs" underline><a href="#">Legal notice</a></p-link-pure>
|
|
55
|
+
</li>
|
|
56
|
+
<li>
|
|
57
|
+
<p-link-pure icon="none" size="xs" underline><a href="#">Privacy notice</a></p-link-pure>
|
|
58
|
+
</li>
|
|
59
|
+
<li>
|
|
60
|
+
<p-link-pure icon="none" size="xs" underline><a href="#">Accessibility Statement</a></p-link-pure>
|
|
61
|
+
</li>
|
|
62
|
+
<li>
|
|
63
|
+
<p-link-pure icon="none" size="xs" underline><a href="#">Open Source Software Notice</a></p-link-pure>
|
|
64
|
+
</li>
|
|
65
|
+
</ul>
|
|
66
|
+
</div>
|
|
67
|
+
</footer>
|
|
68
|
+
<script type="module" src="main.js"></script>
|
|
69
|
+
</body>
|
|
70
|
+
</html>
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Script
|
|
74
|
+
|
|
75
|
+
None – the components cover all of the behaviour.
|