@porsche-design-system/components-react 4.5.0 → 4.6.0-rc.1
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 +32 -0
- package/bin/pds-skill.js +346 -0
- package/esm/lib/components/button.wrapper.d.ts +2 -2
- package/esm/lib/components/link.wrapper.d.ts +2 -2
- package/package.json +4 -3
- package/skills/pds-knowledge-react/SKILL.md +136 -0
- package/skills/pds-knowledge-react/references/components/p-accordion/accessibility.md +63 -0
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/Default.tsx +24 -0
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/InteractiveElementsInSummary.tsx +28 -0
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/StickySummary.tsx +24 -0
- package/skills/pds-knowledge-react/references/components/p-accordion/p-accordion.md +99 -0
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinCheckbox.tsx +30 -0
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinFormLabel.tsx +37 -0
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinImage.tsx +13 -0
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinInputSearch.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinRadioGroup.tsx +29 -0
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinTable.tsx +91 -0
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinText.tsx +14 -0
- package/skills/pds-knowledge-react/references/components/p-ai-tag/p-ai-tag.md +47 -0
- package/skills/pds-knowledge-react/references/components/p-banner/accessibility.md +37 -0
- package/skills/pds-knowledge-react/references/components/p-banner/examples/Customization.tsx +35 -0
- package/skills/pds-knowledge-react/references/components/p-banner/examples/Default.tsx +24 -0
- package/skills/pds-knowledge-react/references/components/p-banner/p-banner.md +96 -0
- package/skills/pds-knowledge-react/references/components/p-button/accessibility.md +61 -0
- package/skills/pds-knowledge-react/references/components/p-button/examples/Default.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-button/examples/Form.tsx +28 -0
- package/skills/pds-knowledge-react/references/components/p-button/examples/FormAttribute.tsx +31 -0
- package/skills/pds-knowledge-react/references/components/p-button/p-button.md +122 -0
- package/skills/pds-knowledge-react/references/components/p-button-pure/accessibility.md +61 -0
- package/skills/pds-knowledge-react/references/components/p-button-pure/examples/CustomClickableArea.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-button-pure/examples/Default.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-button-pure/examples/Form.tsx +28 -0
- package/skills/pds-knowledge-react/references/components/p-button-pure/examples/FormAttribute.tsx +32 -0
- package/skills/pds-knowledge-react/references/components/p-button-pure/p-button-pure.md +122 -0
- package/skills/pds-knowledge-react/references/components/p-button-tile/accessibility.md +31 -0
- package/skills/pds-knowledge-react/references/components/p-button-tile/examples/ColorScheme.tsx +15 -0
- package/skills/pds-knowledge-react/references/components/p-button-tile/examples/Default.tsx +18 -0
- package/skills/pds-knowledge-react/references/components/p-button-tile/examples/FooterSlot.tsx +29 -0
- package/skills/pds-knowledge-react/references/components/p-button-tile/examples/Hyphens.tsx +33 -0
- package/skills/pds-knowledge-react/references/components/p-button-tile/examples/UiBehaviour.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-button-tile/p-button-tile.md +119 -0
- package/skills/pds-knowledge-react/references/components/p-canvas/examples/Default.tsx +111 -0
- package/skills/pds-knowledge-react/references/components/p-canvas/p-canvas.md +95 -0
- package/skills/pds-knowledge-react/references/components/p-carousel/accessibility.md +61 -0
- package/skills/pds-knowledge-react/references/components/p-carousel/examples/Default.tsx +23 -0
- package/skills/pds-knowledge-react/references/components/p-carousel/examples/DynamicSlides.tsx +32 -0
- package/skills/pds-knowledge-react/references/components/p-carousel/examples/FlexibleWidths.tsx +29 -0
- package/skills/pds-knowledge-react/references/components/p-carousel/examples/FocusOnCenterSlide.tsx +56 -0
- package/skills/pds-knowledge-react/references/components/p-carousel/examples/Intl.tsx +20 -0
- package/skills/pds-knowledge-react/references/components/p-carousel/examples/JumpToSlide.tsx +42 -0
- package/skills/pds-knowledge-react/references/components/p-carousel/p-carousel.md +146 -0
- package/skills/pds-knowledge-react/references/components/p-checkbox/accessibility.md +31 -0
- package/skills/pds-knowledge-react/references/components/p-checkbox/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-checkbox/examples/Form.tsx +45 -0
- package/skills/pds-knowledge-react/references/components/p-checkbox/examples/Indeterminate.tsx +13 -0
- package/skills/pds-knowledge-react/references/components/p-checkbox/examples/Slots.tsx +54 -0
- package/skills/pds-knowledge-react/references/components/p-checkbox/examples/WrappedLabel.tsx +24 -0
- package/skills/pds-knowledge-react/references/components/p-checkbox/p-checkbox.md +126 -0
- package/skills/pds-knowledge-react/references/components/p-crest/accessibility.md +17 -0
- package/skills/pds-knowledge-react/references/components/p-crest/examples/CustomClickableArea.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-crest/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-crest/examples/Link.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-crest/p-crest.md +69 -0
- package/skills/pds-knowledge-react/references/components/p-display/examples/Color.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-display/examples/Default.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-display/examples/Semantics.tsx +18 -0
- package/skills/pds-knowledge-react/references/components/p-display/examples/Size.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-display/examples/SizeResponsive.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-display/p-display.md +78 -0
- package/skills/pds-knowledge-react/references/components/p-divider/accessibility.md +41 -0
- package/skills/pds-knowledge-react/references/components/p-divider/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-divider/examples/Responsive.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-divider/examples/Vertical.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-divider/p-divider.md +53 -0
- package/skills/pds-knowledge-react/references/components/p-drilldown/accessibility.md +65 -0
- package/skills/pds-knowledge-react/references/components/p-drilldown/examples/CustomContent.tsx +164 -0
- package/skills/pds-knowledge-react/references/components/p-drilldown/examples/Default.tsx +117 -0
- package/skills/pds-knowledge-react/references/components/p-drilldown/p-drilldown.md +172 -0
- package/skills/pds-knowledge-react/references/components/p-fieldset/accessibility.md +37 -0
- package/skills/pds-knowledge-react/references/components/p-fieldset/examples/Default.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-fieldset/examples/Required.tsx +13 -0
- package/skills/pds-knowledge-react/references/components/p-fieldset/examples/SlottedLabel.tsx +15 -0
- package/skills/pds-knowledge-react/references/components/p-fieldset/examples/SlottedMessage.tsx +15 -0
- package/skills/pds-knowledge-react/references/components/p-fieldset/p-fieldset.md +92 -0
- package/skills/pds-knowledge-react/references/components/p-flag/accessibility.md +39 -0
- package/skills/pds-knowledge-react/references/components/p-flag/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-flag/examples/ResponsiveSize.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-flag/examples/Size.tsx +13 -0
- package/skills/pds-knowledge-react/references/components/p-flag/examples/SizeCssVar.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-flag/p-flag.md +72 -0
- package/skills/pds-knowledge-react/references/components/p-flyout/accessibility.md +80 -0
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/CustomStyling.tsx +45 -0
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/Default.tsx +42 -0
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/Form.tsx +54 -0
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/StickyTop.tsx +42 -0
- package/skills/pds-knowledge-react/references/components/p-flyout/p-flyout.md +132 -0
- package/skills/pds-knowledge-react/references/components/p-heading/accessibility.md +29 -0
- package/skills/pds-knowledge-react/references/components/p-heading/examples/Color.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-heading/examples/Default.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-heading/examples/Semantics.tsx +18 -0
- package/skills/pds-knowledge-react/references/components/p-heading/p-heading.md +82 -0
- package/skills/pds-knowledge-react/references/components/p-icon/accessibility.md +39 -0
- package/skills/pds-knowledge-react/references/components/p-icon/examples/Color.tsx +13 -0
- package/skills/pds-knowledge-react/references/components/p-icon/examples/ColorCssVar.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-icon/examples/Custom.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-icon/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-icon/examples/Overview.tsx +588 -0
- package/skills/pds-knowledge-react/references/components/p-icon/examples/ResponsiveSize.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-icon/examples/Size.tsx +13 -0
- package/skills/pds-knowledge-react/references/components/p-icon/examples/SizeCssVar.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-icon/p-icon.md +92 -0
- package/skills/pds-knowledge-react/references/components/p-inline-notification/accessibility.md +36 -0
- package/skills/pds-knowledge-react/references/components/p-inline-notification/examples/ActionButton.tsx +25 -0
- package/skills/pds-knowledge-react/references/components/p-inline-notification/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-inline-notification/examples/EventHandling.tsx +25 -0
- package/skills/pds-knowledge-react/references/components/p-inline-notification/p-inline-notification.md +78 -0
- package/skills/pds-knowledge-react/references/components/p-input-date/accessibility.md +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-date/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-input-date/examples/Form.tsx +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-date/examples/Slots.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-input-date/p-input-date.md +146 -0
- package/skills/pds-knowledge-react/references/components/p-input-email/accessibility.md +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-email/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-input-email/examples/Form.tsx +51 -0
- package/skills/pds-knowledge-react/references/components/p-input-email/examples/Slots.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-input-email/p-input-email.md +150 -0
- package/skills/pds-knowledge-react/references/components/p-input-month/accessibility.md +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-month/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-input-month/examples/Form.tsx +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-month/examples/Slots.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-input-month/p-input-month.md +146 -0
- package/skills/pds-knowledge-react/references/components/p-input-number/accessibility.md +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-number/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-input-number/examples/Form.tsx +51 -0
- package/skills/pds-knowledge-react/references/components/p-input-number/examples/Slots.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-input-number/p-input-number.md +154 -0
- package/skills/pds-knowledge-react/references/components/p-input-password/accessibility.md +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-password/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-input-password/examples/Form.tsx +51 -0
- package/skills/pds-knowledge-react/references/components/p-input-password/examples/Slots.tsx +39 -0
- package/skills/pds-knowledge-react/references/components/p-input-password/examples/Toggle.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-input-password/p-input-password.md +149 -0
- package/skills/pds-knowledge-react/references/components/p-input-search/accessibility.md +59 -0
- package/skills/pds-knowledge-react/references/components/p-input-search/examples/AriaCombobox.tsx +35 -0
- package/skills/pds-knowledge-react/references/components/p-input-search/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-input-search/examples/Form.tsx +52 -0
- package/skills/pds-knowledge-react/references/components/p-input-search/examples/Slots.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-input-search/p-input-search.md +186 -0
- package/skills/pds-knowledge-react/references/components/p-input-tel/accessibility.md +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-tel/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-input-tel/examples/Form.tsx +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-tel/examples/Slots.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-input-tel/p-input-tel.md +149 -0
- package/skills/pds-knowledge-react/references/components/p-input-text/accessibility.md +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-text/examples/Controlled.tsx +36 -0
- package/skills/pds-knowledge-react/references/components/p-input-text/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-input-text/examples/Form.tsx +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-text/examples/Slots.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-input-text/p-input-text.md +154 -0
- package/skills/pds-knowledge-react/references/components/p-input-time/accessibility.md +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-time/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-input-time/examples/Form.tsx +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-time/examples/Slots.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-input-time/p-input-time.md +148 -0
- package/skills/pds-knowledge-react/references/components/p-input-url/accessibility.md +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-url/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-input-url/examples/Form.tsx +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-url/examples/Slots.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-input-url/p-input-url.md +149 -0
- package/skills/pds-knowledge-react/references/components/p-input-week/accessibility.md +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-week/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-input-week/examples/Form.tsx +45 -0
- package/skills/pds-knowledge-react/references/components/p-input-week/examples/Slots.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-input-week/p-input-week.md +146 -0
- package/skills/pds-knowledge-react/references/components/p-link/accessibility.md +73 -0
- package/skills/pds-knowledge-react/references/components/p-link/examples/Default.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-link/examples/FrameworkRouting.tsx +14 -0
- package/skills/pds-knowledge-react/references/components/p-link/examples/Icon.tsx +17 -0
- package/skills/pds-knowledge-react/references/components/p-link/p-link.md +105 -0
- package/skills/pds-knowledge-react/references/components/p-link-pure/accessibility.md +73 -0
- package/skills/pds-knowledge-react/references/components/p-link-pure/examples/CustomClickableArea.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-link-pure/examples/Default.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-link-pure/examples/FrameworkRouting.tsx +14 -0
- package/skills/pds-knowledge-react/references/components/p-link-pure/examples/Icon.tsx +17 -0
- package/skills/pds-knowledge-react/references/components/p-link-pure/p-link-pure.md +114 -0
- package/skills/pds-knowledge-react/references/components/p-link-tile/accessibility.md +31 -0
- package/skills/pds-knowledge-react/references/components/p-link-tile/examples/ColorScheme.tsx +15 -0
- package/skills/pds-knowledge-react/references/components/p-link-tile/examples/Default.tsx +18 -0
- package/skills/pds-knowledge-react/references/components/p-link-tile/examples/FooterSlot.tsx +29 -0
- package/skills/pds-knowledge-react/references/components/p-link-tile/examples/Hyphens.tsx +34 -0
- package/skills/pds-knowledge-react/references/components/p-link-tile/examples/UiBehaviour.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-link-tile/examples/WithVideo.tsx +15 -0
- package/skills/pds-knowledge-react/references/components/p-link-tile/p-link-tile.md +109 -0
- package/skills/pds-knowledge-react/references/components/p-link-tile-product/examples/Default.tsx +22 -0
- package/skills/pds-knowledge-react/references/components/p-link-tile-product/examples/FrameworkRouting.tsx +25 -0
- package/skills/pds-knowledge-react/references/components/p-link-tile-product/p-link-tile-product.md +93 -0
- package/skills/pds-knowledge-react/references/components/p-modal/accessibility.md +80 -0
- package/skills/pds-knowledge-react/references/components/p-modal/examples/AlertDialog.tsx +39 -0
- package/skills/pds-knowledge-react/references/components/p-modal/examples/CustomStyling.tsx +26 -0
- package/skills/pds-knowledge-react/references/components/p-modal/examples/Default.tsx +39 -0
- package/skills/pds-knowledge-react/references/components/p-modal/examples/Scrollable.tsx +43 -0
- package/skills/pds-knowledge-react/references/components/p-modal/p-modal.md +139 -0
- package/skills/pds-knowledge-react/references/components/p-model-signature/examples/CustomStyling.tsx +14 -0
- package/skills/pds-knowledge-react/references/components/p-model-signature/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-model-signature/examples/MaskBlendMode.tsx +32 -0
- package/skills/pds-knowledge-react/references/components/p-model-signature/examples/MaskImage.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-model-signature/examples/MaskVideo.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-model-signature/examples/SafeZone.tsx +60 -0
- package/skills/pds-knowledge-react/references/components/p-model-signature/p-model-signature.md +62 -0
- package/skills/pds-knowledge-react/references/components/p-multi-select/accessibility.md +78 -0
- package/skills/pds-knowledge-react/references/components/p-multi-select/examples/AsyncFilter.tsx +136 -0
- package/skills/pds-knowledge-react/references/components/p-multi-select/examples/Default.tsx +29 -0
- package/skills/pds-knowledge-react/references/components/p-multi-select/examples/Form.tsx +53 -0
- package/skills/pds-knowledge-react/references/components/p-multi-select/examples/Optgroups.tsx +42 -0
- package/skills/pds-knowledge-react/references/components/p-multi-select/examples/SelectedSlot.tsx +94 -0
- package/skills/pds-knowledge-react/references/components/p-multi-select/examples/SetValue.tsx +80 -0
- package/skills/pds-knowledge-react/references/components/p-multi-select/examples/Slots.tsx +48 -0
- package/skills/pds-knowledge-react/references/components/p-multi-select/p-multi-select.md +201 -0
- package/skills/pds-knowledge-react/references/components/p-pagination/accessibility.md +23 -0
- package/skills/pds-knowledge-react/references/components/p-pagination/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-pagination/p-pagination.md +87 -0
- package/skills/pds-knowledge-react/references/components/p-pin-code/accessibility.md +45 -0
- package/skills/pds-knowledge-react/references/components/p-pin-code/examples/CopyPaste.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-pin-code/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-pin-code/examples/Form.tsx +45 -0
- package/skills/pds-knowledge-react/references/components/p-pin-code/examples/Slots.tsx +39 -0
- package/skills/pds-knowledge-react/references/components/p-pin-code/p-pin-code.md +113 -0
- package/skills/pds-knowledge-react/references/components/p-popover/accessibility.md +61 -0
- package/skills/pds-knowledge-react/references/components/p-popover/examples/Default.tsx +14 -0
- package/skills/pds-knowledge-react/references/components/p-popover/examples/SlottedButton.tsx +15 -0
- package/skills/pds-knowledge-react/references/components/p-popover/p-popover.md +120 -0
- package/skills/pds-knowledge-react/references/components/p-radio-group/accessibility.md +63 -0
- package/skills/pds-knowledge-react/references/components/p-radio-group/examples/Default.tsx +17 -0
- package/skills/pds-knowledge-react/references/components/p-radio-group/examples/Form.tsx +53 -0
- package/skills/pds-knowledge-react/references/components/p-radio-group/examples/Slots.tsx +69 -0
- package/skills/pds-knowledge-react/references/components/p-radio-group/p-radio-group.md +161 -0
- package/skills/pds-knowledge-react/references/components/p-scroller/accessibility.md +31 -0
- package/skills/pds-knowledge-react/references/components/p-scroller/examples/Default.tsx +51 -0
- package/skills/pds-knowledge-react/references/components/p-scroller/examples/Height.tsx +26 -0
- package/skills/pds-knowledge-react/references/components/p-scroller/examples/ScrollToPosition.tsx +58 -0
- package/skills/pds-knowledge-react/references/components/p-scroller/p-scroller.md +97 -0
- package/skills/pds-knowledge-react/references/components/p-segmented-control/accessibility.md +67 -0
- package/skills/pds-knowledge-react/references/components/p-segmented-control/examples/Default.tsx +26 -0
- package/skills/pds-knowledge-react/references/components/p-segmented-control/examples/Form.tsx +52 -0
- package/skills/pds-knowledge-react/references/components/p-segmented-control/examples/Slots.tsx +54 -0
- package/skills/pds-knowledge-react/references/components/p-segmented-control/examples/WithLabels.tsx +26 -0
- package/skills/pds-knowledge-react/references/components/p-segmented-control/p-segmented-control.md +166 -0
- package/skills/pds-knowledge-react/references/components/p-select/accessibility.md +140 -0
- package/skills/pds-knowledge-react/references/components/p-select/examples/AsyncFilter.tsx +136 -0
- package/skills/pds-knowledge-react/references/components/p-select/examples/Default.tsx +29 -0
- package/skills/pds-knowledge-react/references/components/p-select/examples/Form.tsx +53 -0
- package/skills/pds-knowledge-react/references/components/p-select/examples/Optgroups.tsx +42 -0
- package/skills/pds-knowledge-react/references/components/p-select/examples/Required.tsx +48 -0
- package/skills/pds-knowledge-react/references/components/p-select/examples/SelectedSlot.tsx +124 -0
- package/skills/pds-knowledge-react/references/components/p-select/examples/SetValue.tsx +80 -0
- package/skills/pds-knowledge-react/references/components/p-select/examples/Slots.tsx +48 -0
- package/skills/pds-knowledge-react/references/components/p-select/examples/SlottedImages.tsx +35 -0
- package/skills/pds-knowledge-react/references/components/p-select/p-select.md +198 -0
- package/skills/pds-knowledge-react/references/components/p-sheet/accessibility.md +80 -0
- package/skills/pds-knowledge-react/references/components/p-sheet/examples/Default.tsx +31 -0
- package/skills/pds-knowledge-react/references/components/p-sheet/p-sheet.md +125 -0
- package/skills/pds-knowledge-react/references/components/p-spinner/accessibility.md +31 -0
- package/skills/pds-knowledge-react/references/components/p-spinner/examples/Color.tsx +13 -0
- package/skills/pds-knowledge-react/references/components/p-spinner/examples/ColorCssVar.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-spinner/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-spinner/examples/ResponsiveSize.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-spinner/examples/Size.tsx +13 -0
- package/skills/pds-knowledge-react/references/components/p-spinner/examples/SizeCssVar.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-spinner/p-spinner.md +100 -0
- package/skills/pds-knowledge-react/references/components/p-stepper-horizontal/accessibility.md +34 -0
- package/skills/pds-knowledge-react/references/components/p-stepper-horizontal/examples/Default.tsx +23 -0
- package/skills/pds-knowledge-react/references/components/p-stepper-horizontal/examples/FrameworkImplementation.tsx +100 -0
- package/skills/pds-knowledge-react/references/components/p-stepper-horizontal/p-stepper-horizontal.md +113 -0
- package/skills/pds-knowledge-react/references/components/p-switch/accessibility.md +35 -0
- package/skills/pds-knowledge-react/references/components/p-switch/examples/Default.tsx +19 -0
- package/skills/pds-knowledge-react/references/components/p-switch/p-switch.md +107 -0
- package/skills/pds-knowledge-react/references/components/p-table/accessibility.md +47 -0
- package/skills/pds-knowledge-react/references/components/p-table/examples/Advanced.tsx +186 -0
- package/skills/pds-knowledge-react/references/components/p-table/examples/CaptionProperty.tsx +37 -0
- package/skills/pds-knowledge-react/references/components/p-table/examples/CaptionSlot.tsx +40 -0
- package/skills/pds-knowledge-react/references/components/p-table/examples/Default.tsx +117 -0
- package/skills/pds-knowledge-react/references/components/p-table/examples/HideLabel.tsx +37 -0
- package/skills/pds-knowledge-react/references/components/p-table/examples/LayoutFixed.tsx +50 -0
- package/skills/pds-knowledge-react/references/components/p-table/examples/Sorting.tsx +87 -0
- package/skills/pds-knowledge-react/references/components/p-table/p-table.md +193 -0
- package/skills/pds-knowledge-react/references/components/p-tabs/accessibility.md +56 -0
- package/skills/pds-knowledge-react/references/components/p-tabs/examples/ActiveTab.tsx +26 -0
- package/skills/pds-knowledge-react/references/components/p-tabs/examples/Default.tsx +26 -0
- package/skills/pds-knowledge-react/references/components/p-tabs/examples/Gradient.tsx +111 -0
- package/skills/pds-knowledge-react/references/components/p-tabs/examples/Labelling.tsx +26 -0
- package/skills/pds-knowledge-react/references/components/p-tabs/p-tabs.md +140 -0
- package/skills/pds-knowledge-react/references/components/p-tabs-bar/accessibility.md +61 -0
- package/skills/pds-knowledge-react/references/components/p-tabs-bar/examples/Default.tsx +27 -0
- package/skills/pds-knowledge-react/references/components/p-tabs-bar/examples/Gradient.tsx +78 -0
- package/skills/pds-knowledge-react/references/components/p-tabs-bar/examples/Labelling.tsx +27 -0
- package/skills/pds-knowledge-react/references/components/p-tabs-bar/examples/Links.tsx +20 -0
- package/skills/pds-knowledge-react/references/components/p-tabs-bar/p-tabs-bar.md +185 -0
- package/skills/pds-knowledge-react/references/components/p-tag/accessibility.md +19 -0
- package/skills/pds-knowledge-react/references/components/p-tag/examples/Default.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-tag/examples/Multiline.tsx +14 -0
- package/skills/pds-knowledge-react/references/components/p-tag/examples/SlottedButton.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-tag/examples/SlottedLink.tsx +41 -0
- package/skills/pds-knowledge-react/references/components/p-tag/p-tag.md +70 -0
- package/skills/pds-knowledge-react/references/components/p-tag-dismissible/accessibility.md +35 -0
- package/skills/pds-knowledge-react/references/components/p-tag-dismissible/examples/Default.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-tag-dismissible/p-tag-dismissible.md +79 -0
- package/skills/pds-knowledge-react/references/components/p-text/accessibility.md +21 -0
- package/skills/pds-knowledge-react/references/components/p-text/examples/Default.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-text/examples/Semantics.tsx +18 -0
- package/skills/pds-knowledge-react/references/components/p-text/examples/Size.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-text/examples/SizeResponsive.tsx +12 -0
- package/skills/pds-knowledge-react/references/components/p-text/p-text.md +72 -0
- package/skills/pds-knowledge-react/references/components/p-text-list/accessibility.md +31 -0
- package/skills/pds-knowledge-react/references/components/p-text-list/examples/Default.tsx +28 -0
- package/skills/pds-knowledge-react/references/components/p-text-list/p-text-list.md +72 -0
- package/skills/pds-knowledge-react/references/components/p-textarea/accessibility.md +45 -0
- package/skills/pds-knowledge-react/references/components/p-textarea/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-textarea/examples/Form.tsx +45 -0
- package/skills/pds-knowledge-react/references/components/p-textarea/examples/Slots.tsx +39 -0
- package/skills/pds-knowledge-react/references/components/p-textarea/p-textarea.md +126 -0
- package/skills/pds-knowledge-react/references/components/p-toast/examples/Default.tsx +22 -0
- package/skills/pds-knowledge-react/references/components/p-toast/p-toast.md +61 -0
- package/skills/pds-knowledge-react/references/components/p-wordmark/accessibility.md +31 -0
- package/skills/pds-knowledge-react/references/components/p-wordmark/examples/CustomClickableArea.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-wordmark/examples/Default.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-wordmark/examples/Size.tsx +10 -0
- package/skills/pds-knowledge-react/references/components/p-wordmark/p-wordmark.md +70 -0
- package/skills/pds-knowledge-react/references/icons.md +5 -0
- package/skills/pds-knowledge-react/references/styles/emotion.md +439 -0
- package/skills/pds-knowledge-react/references/styles/scss.md +402 -0
- package/skills/pds-knowledge-react/references/styles/tailwindcss.md +356 -0
- package/skills/pds-knowledge-react/references/styles/vanilla-extract.md +444 -0
- package/skills/pds-knowledge-react/references/stylesheets.md +331 -0
- package/skills/pds-knowledge-react/references/tokens.md +323 -0
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +5 -5
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +1 -1
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +5 -5
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +1 -1
- package/ssr/esm/lib/components/button.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/link.wrapper.d.ts +2 -2
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
# Design tokens
|
|
2
|
+
|
|
3
|
+
The Porsche Design System design tokens — the source values for breakpoints, color, spacing,
|
|
4
|
+
typography, motion and more. Each table lists the token `name`, its `value` and a description.
|
|
5
|
+
|
|
6
|
+
The entire system is built on these tokens: the global stylesheets, the components and the custom
|
|
7
|
+
styling themes all depend on them. They can also be used standalone to support other styling
|
|
8
|
+
solutions or to build custom UI directly.
|
|
9
|
+
|
|
10
|
+
Import the resolved values from the package's `tokens` subpath, e.g.:
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
import { spacingStaticMd } from '@porsche-design-system/components-react/tokens';
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
For the same values as ready-to-use CSS custom properties, see `stylesheets.md` (`variables.css`).
|
|
17
|
+
|
|
18
|
+
## Contents
|
|
19
|
+
|
|
20
|
+
- [Blur](#blur)
|
|
21
|
+
- [Border](#border)
|
|
22
|
+
- [Breakpoint](#breakpoint)
|
|
23
|
+
- [Color](#color)
|
|
24
|
+
- [Font](#font)
|
|
25
|
+
- [Gradient](#gradient)
|
|
26
|
+
- [Motion](#motion)
|
|
27
|
+
- [Shadow](#shadow)
|
|
28
|
+
- [Spacing](#spacing)
|
|
29
|
+
|
|
30
|
+
## Blur
|
|
31
|
+
|
|
32
|
+
| Token | Value | Description |
|
|
33
|
+
| --- | --- | --- |
|
|
34
|
+
| `blurFrosted` | `blur(32px)` | Holds a **frosted** blur effect value. |
|
|
35
|
+
|
|
36
|
+
## Border
|
|
37
|
+
|
|
38
|
+
### Radius
|
|
39
|
+
|
|
40
|
+
| Token | Value | Description |
|
|
41
|
+
| --- | --- | --- |
|
|
42
|
+
| `radiusXs` | `2px` | Holds a **xs** `border-radius`. |
|
|
43
|
+
| `radiusSm` | `4px` | Holds a **sm** `border-radius`. |
|
|
44
|
+
| `radiusMd` | `6px` | Holds a **md** `border-radius`. Used for `p-checkbox` in **compact mode**. |
|
|
45
|
+
| `radiusLg` | `8px` | Holds a **lg** `border-radius`. Used for interactive controls in **compact mode** (e.g. `p-tabs-bar`, `p-input-*`, `p-textarea`, `p-select`, `p-button`, `p-link`,…). |
|
|
46
|
+
| `radiusXl` | `12px` | Holds a **xl** `border-radius`. Used for interactive controls (e.g. `p-tabs-bar`, `p-input-*`, `p-textarea`, `p-select`, `p-button`, `p-link`,…). Defines the primary visual appearance alongside **radius3Xl**. |
|
|
47
|
+
| `radius2Xl` | `16px` | Holds a **2xl** `border-radius`. Used for notification components (e.g. `p-banner`, `p-inline-notification`, `p-toast`,…). |
|
|
48
|
+
| `radius3Xl` | `24px` | Holds a **3xl** `border-radius`. Used for card-like containers or dialogs (e.g. `p-link-tile`, `p-modal`, `p-flyout`, `p-sheet`,…). Defines the primary visual appearance alongside **radiusXl**. |
|
|
49
|
+
| `radius4Xl` | `32px` | Holds a **4xl** `border-radius`. |
|
|
50
|
+
| `radiusFull` | `calc(infinity * 1px)` | Holds a **full** `border-radius`. Used for pill shapes (e.g. `p-tag`, `p-switch`,…). Recommended only for standalone indicators. |
|
|
51
|
+
|
|
52
|
+
## Breakpoint
|
|
53
|
+
|
|
54
|
+
| Token | Value | Description |
|
|
55
|
+
| --- | --- | --- |
|
|
56
|
+
| `breakpointXs` | `480` | Holds the `xs` breakpoint value, usable with `px`. |
|
|
57
|
+
| `breakpointSm` | `760` | Holds the `sm` breakpoint value, usable with `px`. |
|
|
58
|
+
| `breakpointMd` | `1000` | Holds the `md` breakpoint value, usable with `px`. |
|
|
59
|
+
| `breakpointLg` | `1300` | Holds the `lg` breakpoint value, usable with `px`. |
|
|
60
|
+
| `breakpointXl` | `1760` | Holds the `xl` breakpoint value, usable with `px`. |
|
|
61
|
+
| `breakpoint2Xl` | `1920` | Holds the `2xl` breakpoint value, usable with `px`. |
|
|
62
|
+
|
|
63
|
+
## Color
|
|
64
|
+
|
|
65
|
+
### Dark
|
|
66
|
+
|
|
67
|
+
#### A11y
|
|
68
|
+
|
|
69
|
+
| Token | Value | Description |
|
|
70
|
+
| --- | --- | --- |
|
|
71
|
+
| `colorFocusDark` | `#1A44EA` | Holds the **focus** color (dark), typically used as the outline for `:focus-visible` states. |
|
|
72
|
+
|
|
73
|
+
#### Background
|
|
74
|
+
|
|
75
|
+
| Token | Value | Description |
|
|
76
|
+
| --- | --- | --- |
|
|
77
|
+
| `colorBackdropDark` | `hsl(240 5.3% 14.9% / 0.5)` | Holds the **backdrop** color, typically used for backdrops. |
|
|
78
|
+
| `colorCanvasDark` | `hsl(225 66.7% 1.2%)` | Holds the **canvas** color (dark), typically used for surfaces. |
|
|
79
|
+
| `colorFrostedDark` | `hsl(240 2% 43% / 0.228)` | Holds the **frosted** color (dark), typically used as a background in combination with a blur effect. |
|
|
80
|
+
| `colorFrostedSoftDark` | `hsl(240 3.7% 26.5% / 0.154)` | Holds the **frosted-soft** color (dark), typically used as a background `:hover`. |
|
|
81
|
+
| `colorFrostedStrongDark` | `hsl(240 1.5% 61.8% / 0.302)` | Holds the **frosted-strong** color (dark), typically used as a stronger frosted background. |
|
|
82
|
+
| `colorSurfaceDark` | `hsl(240 2% 10%)` | Holds the **surface** color (dark), typically used for surfaces. |
|
|
83
|
+
|
|
84
|
+
#### Foreground
|
|
85
|
+
|
|
86
|
+
| Token | Value | Description |
|
|
87
|
+
| --- | --- | --- |
|
|
88
|
+
| `colorPrimaryDark` | `hsl(225 100% 99%)` | Holds the **primary** color (dark), typically used for text. |
|
|
89
|
+
| `colorContrastHighDark` | `hsl(240 12.5% 96.9% / 0.67)` | Holds the **contrast-high** color (dark), typically used for text. |
|
|
90
|
+
| `colorContrastHigherDark` | `hsl(240 12.5% 96.9% / 0.78)` | Holds the **contrast-higher** color (dark), typically used for text. |
|
|
91
|
+
| `colorContrastLowDark` | `hsl(240 12.5% 96.9% / 0.45)` | Holds the **contrast-low** color (dark), intended only for decorative elements, as it is not accessibility-compliant. |
|
|
92
|
+
| `colorContrastLowerDark` | `hsl(240 1.5% 61.8% / 0.302)` | Holds the **contrast-lower** color (dark), intended only for decorative elements, as it is not accessibility-compliant. |
|
|
93
|
+
| `colorContrastMediumDark` | `hsl(240 12.5% 96.9% / 0.56)` | Holds the **contrast-medium** color (dark), typically used for text. |
|
|
94
|
+
|
|
95
|
+
#### Semantic
|
|
96
|
+
|
|
97
|
+
| Token | Value | Description |
|
|
98
|
+
| --- | --- | --- |
|
|
99
|
+
| `colorInfoDark` | `hsl(210 100% 54.5%)` | Holds the **info** color (dark), typically used for text. |
|
|
100
|
+
| `colorInfoFrostedDark` | `hsl(210 79% 20% / 0.66)` | Holds the **info-frosted** color (dark), typically used as background in combination with a blur effect. |
|
|
101
|
+
| `colorInfoFrostedSoftDark` | `hsl(210 59% 15% / 0.66)` | Holds the **info-frosted-soft** color (dark), typically used as background `:hover`. |
|
|
102
|
+
| `colorInfoLowDark` | `hsl(210 100% 54.5% / 0.18)` | Holds the **info-low** color (dark), typically used for text or border. |
|
|
103
|
+
| `colorInfoMediumDark` | `hsl(210 100% 54.5% / 0.6)` | Holds the **info-medium** color (dark), typically used for text or border. |
|
|
104
|
+
| `colorSuccessDark` | `hsl(157 84.9% 41.6%)` | Holds the **success** color (dark), typically used for text. |
|
|
105
|
+
| `colorSuccessFrostedDark` | `hsl(157 79% 20% / 0.66)` | Holds the **success-frosted** color (dark), typically used as background in combination with a blur effect. |
|
|
106
|
+
| `colorSuccessFrostedSoftDark` | `hsl(157 59% 15% / 0.66)` | Holds the **success-frosted-soft** color (dark), typically used as background `:hover`. |
|
|
107
|
+
| `colorSuccessLowDark` | `hsl(157 84.9% 41.6% / 0.18)` | Holds the **success-low** color (dark), typically used for text or border. |
|
|
108
|
+
| `colorSuccessMediumDark` | `hsl(157 84.9% 41.6% / 0.6)` | Holds the **success-medium** color (dark), typically used for text or border. |
|
|
109
|
+
| `colorWarningDark` | `hsl(28 90.2% 56.1%)` | Holds the **warning** color (dark), typically used for text. |
|
|
110
|
+
| `colorWarningFrostedDark` | `hsl(52 79% 20% / 0.66)` | Holds the **warning-frosted** color (dark), typically used as background in combination with a blur effect. |
|
|
111
|
+
| `colorWarningFrostedSoftDark` | `hsl(52 59% 15% / 0.66)` | Holds the **warning-frosted-soft** color (dark), typically used as background `:hover`. |
|
|
112
|
+
| `colorWarningLowDark` | `hsl(28 90.2% 56.1% / 0.18)` | Holds the **warning-low** color (dark), typically used for text or border. |
|
|
113
|
+
| `colorWarningMediumDark` | `hsl(28 90.2% 56.1% / 0.6)` | Holds the **warning-medium** color (dark), typically used for text or border. |
|
|
114
|
+
| `colorErrorDark` | `hsl(0 96.9% 62%)` | Holds the **error** color (dark), typically used for text. |
|
|
115
|
+
| `colorErrorFrostedDark` | `hsl(0 79% 20% / 0.66)` | Holds the **error-frosted** color (dark), typically used as background in combination with a blur effect. |
|
|
116
|
+
| `colorErrorFrostedSoftDark` | `hsl(0 59% 15% / 0.66)` | Holds the **error-frosted-soft** color (dark), typically used as background `:hover`. |
|
|
117
|
+
| `colorErrorLowDark` | `hsl(0 96.9% 62% / 0.18)` | Holds the **error-low** color (dark), typically used for text or border. |
|
|
118
|
+
| `colorErrorMediumDark` | `hsl(0 96.9% 62% / 0.6)` | Holds the **error-medium** color (dark), typically used for text or border. |
|
|
119
|
+
|
|
120
|
+
### Light dark
|
|
121
|
+
|
|
122
|
+
#### A11y
|
|
123
|
+
|
|
124
|
+
| Token | Value | Description |
|
|
125
|
+
| --- | --- | --- |
|
|
126
|
+
| `colorFocus` | `light-dark(#1A44EA,#1A44EA)` | Holds the **focus** color, typically used as the outline for `:focus-visible` states. |
|
|
127
|
+
|
|
128
|
+
#### Background
|
|
129
|
+
|
|
130
|
+
| Token | Value | Description |
|
|
131
|
+
| --- | --- | --- |
|
|
132
|
+
| `colorBackdrop` | `light-dark(hsl(240 5.3% 14.9% / 0.5),hsl(240 5.3% 14.9% / 0.5))` | Holds the **backdrop** color, typically used for backdrops. |
|
|
133
|
+
| `colorCanvas` | `light-dark(#fff,hsl(225 66.7% 1.2%))` | Holds the **canvas** color, typically used for surfaces. |
|
|
134
|
+
| `colorFrosted` | `light-dark(hsl(240 5% 70% / 0.148),hsl(240 2% 43% / 0.228))` | Holds the **frosted** color, typically used as a background in combination with a blur effect. |
|
|
135
|
+
| `colorFrostedSoft` | `light-dark(hsl(234 9.8% 60% / 0.06),hsl(240 3.7% 26.5% / 0.154))` | Holds the **frosted-soft** color, typically used as a background `:hover`. |
|
|
136
|
+
| `colorFrostedStrong` | `light-dark(hsl(236 6.5% 42% / 0.236),hsl(240 1.5% 61.8% / 0.302))` | Holds the **frosted-strong** color, typically used as a stronger frosted background. |
|
|
137
|
+
| `colorSurface` | `light-dark(hsl(240 10% 95%),hsl(240 2% 10%))` | Holds the **surface** color, typically used for surfaces. |
|
|
138
|
+
|
|
139
|
+
#### Foreground
|
|
140
|
+
|
|
141
|
+
| Token | Value | Description |
|
|
142
|
+
| --- | --- | --- |
|
|
143
|
+
| `colorPrimary` | `light-dark(hsl(225 66.7% 1.2%),hsl(225 100% 99%))` | Holds the **primary** color, typically used for text. |
|
|
144
|
+
| `colorContrastHigher` | `light-dark(hsl(240 8.7% 9% / 0.8),hsl(240 12.5% 96.9% / 0.78))` | Holds the **contrast-higher** color, typically used for text. |
|
|
145
|
+
| `colorContrastHigh` | `light-dark(hsl(240 7.1% 11% / 0.7),hsl(240 12.5% 96.9% / 0.67))` | Holds the **contrast-high** color, typically used for text. |
|
|
146
|
+
| `colorContrastMedium` | `light-dark(hsl(240 6.1% 7% / 0.6),hsl(240 12.5% 96.9% / 0.56))` | Holds the **contrast-medium** color, typically used for text. |
|
|
147
|
+
| `colorContrastLow` | `light-dark(hsl(240 5.3% 14.9% / 0.5),hsl(240 12.5% 96.9% / 0.45))` | Holds the **contrast-low** color, intended only for decorative elements, as it is not accessibility-compliant. |
|
|
148
|
+
| `colorContrastLower` | `light-dark(hsl(234 6% 32.9% / 0.324),hsl(240 1.5% 61.8% / 0.302))` | Holds the **contrast-lower** color, intended only for decorative elements, as it is not accessibility-compliant. |
|
|
149
|
+
|
|
150
|
+
#### Semantic
|
|
151
|
+
|
|
152
|
+
| Token | Value | Description |
|
|
153
|
+
| --- | --- | --- |
|
|
154
|
+
| `colorInfo` | `light-dark(hsl(228 83.2% 51%),hsl(210 100% 54.5%))` | Holds the **info** color, typically used for text. |
|
|
155
|
+
| `colorInfoMedium` | `light-dark(hsl(228 83.2% 51% / 0.6),hsl(210 100% 54.5% / 0.6))` | Holds the **info-medium** color, typically used for text or border. |
|
|
156
|
+
| `colorInfoLow` | `light-dark(hsl(228 83.2% 51% / 0.18),hsl(210 100% 54.5% / 0.18))` | Holds the **info-low** color, typically used for text or border. |
|
|
157
|
+
| `colorInfoFrosted` | `light-dark(hsl(211 100% 90% / 0.55),hsl(210 79% 20% / 0.66))` | Holds the **info-frosted** color, typically used as background in combination with a blur effect. |
|
|
158
|
+
| `colorInfoFrostedSoft` | `light-dark(hsl(211 80% 95% / 0.55),hsl(210 59% 15% / 0.66))` | Holds the **info-frosted-soft** color, typically used as background `:hover`. |
|
|
159
|
+
| `colorSuccess` | `light-dark(hsl(115 77.5% 27.8%),hsl(157 84.9% 41.6%))` | Holds the **success** color, typically used for text. |
|
|
160
|
+
| `colorSuccessMedium` | `light-dark(hsl(115 77.5% 27.8% / 0.6),hsl(157 84.9% 41.6% / 0.6))` | Holds the **success-medium** color, typically used for text or border. |
|
|
161
|
+
| `colorSuccessLow` | `light-dark(hsl(115 77.5% 27.8% / 0.18),hsl(157 84.9% 41.6% / 0.18))` | Holds the **success-low** color, typically used for text or border. |
|
|
162
|
+
| `colorSuccessFrosted` | `light-dark(hsl(109 100% 90% / 0.55),hsl(157 79% 20% / 0.66))` | Holds the **success-frosted** color, typically used as background in combination with a blur effect. |
|
|
163
|
+
| `colorSuccessFrostedSoft` | `light-dark(hsl(109 80% 95% / 0.55),hsl(157 59% 15% / 0.66))` | Holds the **success-frosted-soft** color, typically used as background `:hover`. |
|
|
164
|
+
| `colorWarning` | `light-dark(hsl(28 97.7% 34.1%),hsl(28 90.2% 56.1%))` | Holds the **warning** color, typically used for text. |
|
|
165
|
+
| `colorWarningMedium` | `light-dark(hsl(28 97.7% 34.1% / 0.6),hsl(28 90.2% 56.1% / 0.6))` | Holds the **warning-medium** color, typically used for text or border. |
|
|
166
|
+
| `colorWarningLow` | `light-dark(hsl(28 97.7% 34.1% / 0.18),hsl(28 90.2% 56.1% / 0.18))` | Holds the **warning-low** color, typically used for text or border. |
|
|
167
|
+
| `colorWarningFrosted` | `light-dark(hsl(40 100% 90% / 0.55),hsl(52 79% 20% / 0.66))` | Holds the **warning-frosted** color, typically used as background in combination with a blur effect. |
|
|
168
|
+
| `colorWarningFrostedSoft` | `light-dark(hsl(40 80% 95% / 0.55),hsl(52 59% 15% / 0.66))` | Holds the **warning-frosted-soft** color, typically used as background `:hover`. |
|
|
169
|
+
| `colorError` | `light-dark(hsl(357 78% 41%),hsl(0 96.9% 62%))` | Holds the **error** color, typically used for text. |
|
|
170
|
+
| `colorErrorMedium` | `light-dark(hsl(357 78% 41% / 0.6),hsl(0 96.9% 62% / 0.6))` | Holds the **error-medium** color, typically used for text or border. |
|
|
171
|
+
| `colorErrorLow` | `light-dark(hsl(357 78% 41% / 0.18),hsl(0 96.9% 62% / 0.18))` | Holds the **error-low** color, typically used for text or border. |
|
|
172
|
+
| `colorErrorFrosted` | `light-dark(hsl(0 100% 90% / 0.55),hsl(0 79% 20% / 0.66))` | Holds the **error-frosted** color, typically used as background in combination with a blur effect. |
|
|
173
|
+
| `colorErrorFrostedSoft` | `light-dark(hsl(0 80% 95% / 0.55),hsl(0 59% 15% / 0.66))` | Holds the **error-frosted-soft** color, typically used as background `:hover`. |
|
|
174
|
+
|
|
175
|
+
### Light
|
|
176
|
+
|
|
177
|
+
#### A11y
|
|
178
|
+
|
|
179
|
+
| Token | Value | Description |
|
|
180
|
+
| --- | --- | --- |
|
|
181
|
+
| `colorFocusLight` | `#1A44EA` | Holds the **focus** color (light), typically used as the outline for `:focus-visible` states. |
|
|
182
|
+
|
|
183
|
+
#### Background
|
|
184
|
+
|
|
185
|
+
| Token | Value | Description |
|
|
186
|
+
| --- | --- | --- |
|
|
187
|
+
| `colorBackdropLight` | `hsl(240 5.3% 14.9% / 0.5)` | Holds the **backdrop** color, typically used for backdrops. |
|
|
188
|
+
| `colorCanvasLight` | `#fff` | Holds the **canvas** color (light), typically used for surfaces. |
|
|
189
|
+
| `colorFrostedLight` | `hsl(240 5% 70% / 0.148)` | Holds the **frosted** color (light), typically used as a background in combination with a blur effect. |
|
|
190
|
+
| `colorFrostedSoftLight` | `hsl(234 9.8% 60% / 0.06)` | Holds the **frosted-soft** color (light), typically used as a background `:hover`. |
|
|
191
|
+
| `colorFrostedStrongLight` | `hsl(236 6.5% 42% / 0.236)` | Holds the **frosted-strong** color (light), typically used as a stronger frosted background. |
|
|
192
|
+
| `colorSurfaceLight` | `hsl(240 10% 95%)` | Holds the **surface** color (light), typically used for surfaces. |
|
|
193
|
+
|
|
194
|
+
#### Foreground
|
|
195
|
+
|
|
196
|
+
| Token | Value | Description |
|
|
197
|
+
| --- | --- | --- |
|
|
198
|
+
| `colorPrimaryLight` | `hsl(225 66.7% 1.2%)` | Holds the **primary** color (light), typically used for text. |
|
|
199
|
+
| `colorContrastHighLight` | `hsl(240 7.1% 11% / 0.7)` | Holds the **contrast-high** color (light), typically used for text. |
|
|
200
|
+
| `colorContrastHigherLight` | `hsl(240 8.7% 9% / 0.8)` | Holds the **contrast-higher** color (light), typically used for text. |
|
|
201
|
+
| `colorContrastLowLight` | `hsl(240 5.3% 14.9% / 0.5)` | Holds the **contrast-low** color (light), intended only for decorative elements, as it is not accessibility-compliant. |
|
|
202
|
+
| `colorContrastLowerLight` | `hsl(234 6% 32.9% / 0.324)` | Holds the **contrast-lower** color (light), intended only for decorative elements, as it is not accessibility-compliant. |
|
|
203
|
+
| `colorContrastMediumLight` | `hsl(240 6.1% 7% / 0.6)` | Holds the **contrast-medium** color (light), typically used for text. |
|
|
204
|
+
|
|
205
|
+
#### Semantic
|
|
206
|
+
|
|
207
|
+
| Token | Value | Description |
|
|
208
|
+
| --- | --- | --- |
|
|
209
|
+
| `colorInfoFrostedLight` | `hsl(211 100% 90% / 0.55)` | Holds the **info-frosted** color (light), typically used as background in combination with a blur effect. |
|
|
210
|
+
| `colorInfoFrostedSoftLight` | `hsl(211 80% 95% / 0.55)` | Holds the **info-frosted-soft** color (light), typically used as background `:hover`. |
|
|
211
|
+
| `colorInfoLight` | `hsl(228 83.2% 51%)` | Holds the **info** color (light), typically used for text. |
|
|
212
|
+
| `colorInfoLowLight` | `hsl(228 83.2% 51% / 0.18)` | Holds the **info-low** color (light), typically used for text or border. |
|
|
213
|
+
| `colorInfoMediumLight` | `hsl(228 83.2% 51% / 0.6)` | Holds the **info-medium** color (light), typically used for text or border. |
|
|
214
|
+
| `colorSuccessFrostedLight` | `hsl(109 100% 90% / 0.55)` | Holds the **success-frosted** color (light), typically used as background in combination with a blur effect. |
|
|
215
|
+
| `colorSuccessFrostedSoftLight` | `hsl(109 80% 95% / 0.55)` | Holds the **success-frosted-soft** color (light), typically used as background `:hover`. |
|
|
216
|
+
| `colorSuccessLight` | `hsl(115 77.5% 27.8%)` | Holds the **success** color (light), typically used for text. |
|
|
217
|
+
| `colorSuccessLowLight` | `hsl(115 77.5% 27.8% / 0.18)` | Holds the **success-low** color (light), typically used for text or border. |
|
|
218
|
+
| `colorSuccessMediumLight` | `hsl(115 77.5% 27.8% / 0.6)` | Holds the **success-medium** color (light), typically used for text or border. |
|
|
219
|
+
| `colorWarningFrostedLight` | `hsl(40 100% 90% / 0.55)` | Holds the **warning-frosted** color (light), typically used as background in combination with a blur effect. |
|
|
220
|
+
| `colorWarningFrostedSoftLight` | `hsl(40 80% 95% / 0.55)` | Holds the **warning-frosted-soft** color (light), typically used as background `:hover`. |
|
|
221
|
+
| `colorWarningLight` | `hsl(28 97.7% 34.1%)` | Holds the **warning** color (light), typically used for text. |
|
|
222
|
+
| `colorWarningLowLight` | `hsl(28 97.7% 34.1% / 0.18)` | Holds the **warning-low** color (light), typically used for text or border. |
|
|
223
|
+
| `colorWarningMediumLight` | `hsl(28 97.7% 34.1% / 0.6)` | Holds the **warning-medium** color (light), typically used for text or border. |
|
|
224
|
+
| `colorErrorFrostedLight` | `hsl(0 100% 90% / 0.55)` | Holds the **error-frosted** color (light), typically used as background in combination with a blur effect. |
|
|
225
|
+
| `colorErrorFrostedSoftLight` | `hsl(0 80% 95% / 0.55)` | Holds the **error-frosted-soft** color (light), typically used as background `:hover`. |
|
|
226
|
+
| `colorErrorLight` | `hsl(357 78% 41%)` | Holds the **error** color (light), typically used for text. |
|
|
227
|
+
| `colorErrorLowLight` | `hsl(357 78% 41% / 0.18)` | Holds the **error-low** color (light), typically used for text or border. |
|
|
228
|
+
| `colorErrorMediumLight` | `hsl(357 78% 41% / 0.6)` | Holds the **error-medium** color (light), typically used for text or border. |
|
|
229
|
+
|
|
230
|
+
## Font
|
|
231
|
+
|
|
232
|
+
### Family
|
|
233
|
+
|
|
234
|
+
| Token | Value | Description |
|
|
235
|
+
| --- | --- | --- |
|
|
236
|
+
| `fontPorscheNext` | `'Porsche Next','Arial Narrow',Arial,'Heiti SC',SimHei,sans-serif` | Holds the **Porsche Next** font family along with fallback fonts. |
|
|
237
|
+
|
|
238
|
+
### Line height
|
|
239
|
+
|
|
240
|
+
| Token | Value | Description |
|
|
241
|
+
| --- | --- | --- |
|
|
242
|
+
| `leadingNormal` | `calc(6px + 2.125ex)` | Holds a dynamic default line height specifically optimized for the Porsche Next typeface. |
|
|
243
|
+
|
|
244
|
+
### Size
|
|
245
|
+
|
|
246
|
+
| Token | Value | Description |
|
|
247
|
+
| --- | --- | --- |
|
|
248
|
+
| `typescale2Xs` | `.75rem` | Holds the **2x-small** font size optimized for the Porsche Next typeface. |
|
|
249
|
+
| `typescaleXs` | `.875rem` | Holds the **x-small** font size optimized for the Porsche Next typeface. |
|
|
250
|
+
| `typescaleSm` | `1rem` | Holds the **small** font size optimized for the Porsche Next typeface. |
|
|
251
|
+
| `typescaleMd` | `clamp(1.13rem, 0.21vw + 1.08rem, 1.33rem)` | Holds the **medium** font size optimized for the Porsche Next typeface. |
|
|
252
|
+
| `typescaleLg` | `clamp(1.27rem, 0.51vw + 1.16rem, 1.78rem)` | Holds the **large** font size optimized for the Porsche Next typeface. |
|
|
253
|
+
| `typescaleXl` | `clamp(1.42rem, 0.94vw + 1.23rem, 2.37rem)` | Holds the **x-large** font size optimized for the Porsche Next typeface. |
|
|
254
|
+
| `typescale2Xl` | `clamp(1.6rem, 1.56vw + 1.29rem, 3.16rem)` | Holds the **2x-large** font size optimized for the Porsche Next typeface. |
|
|
255
|
+
| `typescale3Xl` | `clamp(1.8rem, 2.41vw + 1.32rem, 4.21rem)` | Holds the **3x-large** font size optimized for the Porsche Next typeface. |
|
|
256
|
+
| `typescale4Xl` | `clamp(2.03rem, 3.58vw + 1.31rem, 5.61rem)` | Holds the **4x-large** font size optimized for the Porsche Next typeface. |
|
|
257
|
+
| `typescale5Xl` | `clamp(2.28rem, 5.2vw + 1.24rem, 7.48rem)` | Holds the **5x-large** font size optimized for the Porsche Next typeface. |
|
|
258
|
+
|
|
259
|
+
### Weight
|
|
260
|
+
|
|
261
|
+
| Token | Value | Description |
|
|
262
|
+
| --- | --- | --- |
|
|
263
|
+
| `fontWeightNormal` | `400` | Holds the **normal** font weight optimized for the Porsche Next typeface. |
|
|
264
|
+
| `fontWeightSemibold` | `600` | Holds the **semibold** font weight optimized for the Porsche Next typeface. |
|
|
265
|
+
| `fontWeightBold` | `700` | Holds the **bold** font weight optimized for the Porsche Next typeface. |
|
|
266
|
+
|
|
267
|
+
## Gradient
|
|
268
|
+
|
|
269
|
+
| Token | Value | Description |
|
|
270
|
+
| --- | --- | --- |
|
|
271
|
+
| `gradientStopsFadeDark` | `hsla(0,0%,0%,.8) 0%,hsla(0,0%,0%,.8) 8.1%,hsla(0,0%,0%,.8) 15.5%,hsla(0,0%,0%,.8) 22.5%,hsla(0,0%,0%,.78) 29%,hsla(0,0%,0%,.73) 35.3%,hsla(0,0%,0%,.67) 41.2%,hsla(0,0%,0%,.6) 47.1%,hsla(0,0%,0%,.52) 52.9%,hsla(0,0%,0%,.44) 58.8%,hsla(0,0%,0%,.33) 64.7%,hsla(0,0%,0%,.22) 71%,hsla(0,0%,0%,.12) 77.5%,hsla(0,0%,0%,.05) 84.5%,hsla(0,0%,0%,.011) 91.9%,hsla(0,0%,0%,0) 100%` | Holds a gradient fade. |
|
|
272
|
+
|
|
273
|
+
## Motion
|
|
274
|
+
|
|
275
|
+
### Duration
|
|
276
|
+
|
|
277
|
+
| Token | Value | Description |
|
|
278
|
+
| --- | --- | --- |
|
|
279
|
+
| `durationSm` | `.25s` | Holds a **short** motion/transition duration value. |
|
|
280
|
+
| `durationMd` | `.4s` | Holds a **moderate** motion/transition duration value. |
|
|
281
|
+
| `durationLg` | `.6s` | Holds a **long** motion/transition duration value. |
|
|
282
|
+
| `durationXl` | `1.2s` | Holds a **very long** motion/transition duration value. |
|
|
283
|
+
|
|
284
|
+
### Ease
|
|
285
|
+
|
|
286
|
+
| Token | Value | Description |
|
|
287
|
+
| --- | --- | --- |
|
|
288
|
+
| `easeIn` | `cubic-bezier(0,0,.2,1)` | Holds an **in** `transition-timing-function`. |
|
|
289
|
+
| `easeInOut` | `cubic-bezier(.25,.1,.25,1)` | Holds an **in-out** `transition-timing-function`. |
|
|
290
|
+
| `easeOut` | `cubic-bezier(.4,0,.5,1)` | Holds an **out** `transition-timing-function`. |
|
|
291
|
+
|
|
292
|
+
## Shadow
|
|
293
|
+
|
|
294
|
+
| Token | Value | Description |
|
|
295
|
+
| --- | --- | --- |
|
|
296
|
+
| `shadowSm` | `0px 3px 8px rgba(0,0,0,.16)` | Holds a **low** `box-shadow`. |
|
|
297
|
+
| `shadowMd` | `0px 4px 16px rgba(0,0,0,.16)` | Holds a **medium** `box-shadow`. |
|
|
298
|
+
| `shadowLg` | `0px 8px 40px rgba(0,0,0,.16)` | Holds a **high** `box-shadow`. |
|
|
299
|
+
|
|
300
|
+
## Spacing
|
|
301
|
+
|
|
302
|
+
### Fluid
|
|
303
|
+
|
|
304
|
+
| Token | Value | Description |
|
|
305
|
+
| --- | --- | --- |
|
|
306
|
+
| `spacingFluidXs` | `clamp(4px, 0.25vw + 3px, 8px)` | Holds the **x-small fluid** spacing. |
|
|
307
|
+
| `spacingFluidSm` | `clamp(8px, 0.5vw + 6px, 16px)` | Holds the **small fluid** spacing. |
|
|
308
|
+
| `spacingFluidMd` | `clamp(16px, 1.25vw + 12px, 36px)` | Holds the **medium fluid** spacing. |
|
|
309
|
+
| `spacingFluidLg` | `clamp(32px, 2.75vw + 23px, 76px)` | Holds the **large fluid** spacing. |
|
|
310
|
+
| `spacingFluidXl` | `clamp(48px, 3vw + 38px, 96px)` | Holds the **x-large fluid** spacing. |
|
|
311
|
+
| `spacingFluid2Xl` | `clamp(80px, 7.5vw + 56px, 200px)` | Holds the **2x-large fluid** spacing. |
|
|
312
|
+
|
|
313
|
+
### Static
|
|
314
|
+
|
|
315
|
+
| Token | Value | Description |
|
|
316
|
+
| --- | --- | --- |
|
|
317
|
+
| `spacingStatic2Xs` | `1px` | Holds the **2x-small static** spacing. |
|
|
318
|
+
| `spacingStaticXs` | `4px` | Holds the **x-small static** spacing. |
|
|
319
|
+
| `spacingStaticSm` | `8px` | Holds the **small static** spacing. |
|
|
320
|
+
| `spacingStaticMd` | `16px` | Holds the **medium static** spacing. |
|
|
321
|
+
| `spacingStaticLg` | `32px` | Holds the **large static** spacing. |
|
|
322
|
+
| `spacingStaticXl` | `48px` | Holds the **x-large static** spacing. |
|
|
323
|
+
| `spacingStatic2Xl` | `80px` | Holds the **2x-large static** spacing. |
|
|
@@ -3849,7 +3849,7 @@ const OPTION_LIST_SAFE_ZONE = 6;
|
|
|
3849
3849
|
|
|
3850
3850
|
const getCDNBaseURL = () => global.PORSCHE_DESIGN_SYSTEM_CDN_URL + "/porsche-design-system";
|
|
3851
3851
|
|
|
3852
|
-
const prefix = `[Porsche Design System v${"4.
|
|
3852
|
+
const prefix = `[Porsche Design System v${"4.6.0-rc.1"}]` // this part isn't covered by unit tests
|
|
3853
3853
|
;
|
|
3854
3854
|
const consoleError = (...messages) => {
|
|
3855
3855
|
console.error(prefix, ...messages);
|
|
@@ -9073,7 +9073,7 @@ const getComponentCss$r = (isCompact, isDisabled, isSelected, state, hasIcon, ha
|
|
|
9073
9073
|
padding: padding,
|
|
9074
9074
|
border: `1px solid ${isSelected ? formStateBorderHoverColor : formStateBorderColor}`,
|
|
9075
9075
|
borderRadius: isCompact ? ref(radiusLg) : ref(radiusXl),
|
|
9076
|
-
background: formStateBackgroundColor,
|
|
9076
|
+
background: isSelected ? ref(colorFrostedStrong) : formStateBackgroundColor,
|
|
9077
9077
|
color: ref(colorPrimary),
|
|
9078
9078
|
...textSmallStyle,
|
|
9079
9079
|
...(isDisabled
|
|
@@ -9088,9 +9088,9 @@ const getComponentCss$r = (isCompact, isDisabled, isSelected, state, hasIcon, ha
|
|
|
9088
9088
|
cursor: 'pointer',
|
|
9089
9089
|
...(!isSelected &&
|
|
9090
9090
|
hoverMediaQuery({
|
|
9091
|
-
transition: getTransition('
|
|
9091
|
+
transition: getTransition('background-color'),
|
|
9092
9092
|
'&:hover': {
|
|
9093
|
-
|
|
9093
|
+
backgroundColor: ref(colorFrostedStrong),
|
|
9094
9094
|
},
|
|
9095
9095
|
})),
|
|
9096
9096
|
}),
|
|
@@ -9101,7 +9101,7 @@ const getComponentCss$r = (isCompact, isDisabled, isSelected, state, hasIcon, ha
|
|
|
9101
9101
|
display: 'block',
|
|
9102
9102
|
...textXSmallStyle,
|
|
9103
9103
|
overflowWrap: 'normal',
|
|
9104
|
-
color: ref(colorContrastMedium),
|
|
9104
|
+
color: isSelected ? ref(colorContrastHigh) : ref(colorContrastMedium),
|
|
9105
9105
|
...(isDisabled &&
|
|
9106
9106
|
forcedColorsMediaQuery({
|
|
9107
9107
|
color: 'GrayText',
|
|
@@ -3482,7 +3482,7 @@ const hasShowPickerSupport = () => (hasDocument &&
|
|
|
3482
3482
|
'showPicker' in HTMLInputElement.prototype &&
|
|
3483
3483
|
CSS.supports('selector(::-webkit-calendar-picker-indicator)'));
|
|
3484
3484
|
|
|
3485
|
-
const prefix = `[Porsche Design System v${"4.
|
|
3485
|
+
const prefix = `[Porsche Design System v${"4.6.0-rc.1"}]` // this part isn't covered by unit tests
|
|
3486
3486
|
;
|
|
3487
3487
|
const consoleError$1 = (...messages) => {
|
|
3488
3488
|
console.error(prefix, ...messages);
|
|
@@ -3847,7 +3847,7 @@ const OPTION_LIST_SAFE_ZONE = 6;
|
|
|
3847
3847
|
|
|
3848
3848
|
const getCDNBaseURL = () => global.PORSCHE_DESIGN_SYSTEM_CDN_URL + "/porsche-design-system";
|
|
3849
3849
|
|
|
3850
|
-
const prefix = `[Porsche Design System v${"4.
|
|
3850
|
+
const prefix = `[Porsche Design System v${"4.6.0-rc.1"}]` // this part isn't covered by unit tests
|
|
3851
3851
|
;
|
|
3852
3852
|
const consoleError = (...messages) => {
|
|
3853
3853
|
console.error(prefix, ...messages);
|
|
@@ -9071,7 +9071,7 @@ const getComponentCss$r = (isCompact, isDisabled, isSelected, state, hasIcon, ha
|
|
|
9071
9071
|
padding: padding,
|
|
9072
9072
|
border: `1px solid ${isSelected ? formStateBorderHoverColor : formStateBorderColor}`,
|
|
9073
9073
|
borderRadius: isCompact ? ref(radiusLg) : ref(radiusXl),
|
|
9074
|
-
background: formStateBackgroundColor,
|
|
9074
|
+
background: isSelected ? ref(colorFrostedStrong) : formStateBackgroundColor,
|
|
9075
9075
|
color: ref(colorPrimary),
|
|
9076
9076
|
...textSmallStyle,
|
|
9077
9077
|
...(isDisabled
|
|
@@ -9086,9 +9086,9 @@ const getComponentCss$r = (isCompact, isDisabled, isSelected, state, hasIcon, ha
|
|
|
9086
9086
|
cursor: 'pointer',
|
|
9087
9087
|
...(!isSelected &&
|
|
9088
9088
|
hoverMediaQuery({
|
|
9089
|
-
transition: getTransition('
|
|
9089
|
+
transition: getTransition('background-color'),
|
|
9090
9090
|
'&:hover': {
|
|
9091
|
-
|
|
9091
|
+
backgroundColor: ref(colorFrostedStrong),
|
|
9092
9092
|
},
|
|
9093
9093
|
})),
|
|
9094
9094
|
}),
|
|
@@ -9099,7 +9099,7 @@ const getComponentCss$r = (isCompact, isDisabled, isSelected, state, hasIcon, ha
|
|
|
9099
9099
|
display: 'block',
|
|
9100
9100
|
...textXSmallStyle,
|
|
9101
9101
|
overflowWrap: 'normal',
|
|
9102
|
-
color: ref(colorContrastMedium),
|
|
9102
|
+
color: isSelected ? ref(colorContrastHigh) : ref(colorContrastMedium),
|
|
9103
9103
|
...(isDisabled &&
|
|
9104
9104
|
forcedColorsMediaQuery({
|
|
9105
9105
|
color: 'GrayText',
|
|
@@ -3480,7 +3480,7 @@ const hasShowPickerSupport = () => (hasDocument &&
|
|
|
3480
3480
|
'showPicker' in HTMLInputElement.prototype &&
|
|
3481
3481
|
CSS.supports('selector(::-webkit-calendar-picker-indicator)'));
|
|
3482
3482
|
|
|
3483
|
-
const prefix = `[Porsche Design System v${"4.
|
|
3483
|
+
const prefix = `[Porsche Design System v${"4.6.0-rc.1"}]` // this part isn't covered by unit tests
|
|
3484
3484
|
;
|
|
3485
3485
|
const consoleError$1 = (...messages) => {
|
|
3486
3486
|
console.error(prefix, ...messages);
|
|
@@ -52,7 +52,7 @@ export type PButtonProps = BaseProps & {
|
|
|
52
52
|
*/
|
|
53
53
|
value?: string;
|
|
54
54
|
/**
|
|
55
|
-
* Sets the visual style variant of the button (
|
|
55
|
+
* Sets the visual style variant of the button (`primary` or `secondary`).
|
|
56
56
|
* @default 'primary'
|
|
57
57
|
*/
|
|
58
58
|
variant?: ButtonVariant;
|
|
@@ -109,7 +109,7 @@ export declare const PButton: import("react").ForwardRefExoticComponent<Omit<imp
|
|
|
109
109
|
*/
|
|
110
110
|
value?: string;
|
|
111
111
|
/**
|
|
112
|
-
* Sets the visual style variant of the button (
|
|
112
|
+
* Sets the visual style variant of the button (`primary` or `secondary`).
|
|
113
113
|
* @default 'primary'
|
|
114
114
|
*/
|
|
115
115
|
variant?: ButtonVariant;
|
|
@@ -42,7 +42,7 @@ export type PLinkProps = BaseProps & {
|
|
|
42
42
|
*/
|
|
43
43
|
target?: LinkTarget;
|
|
44
44
|
/**
|
|
45
|
-
* Sets the visual style variant of the link (
|
|
45
|
+
* Sets the visual style variant of the link (`primary` or `secondary`).
|
|
46
46
|
* @default 'primary'
|
|
47
47
|
*/
|
|
48
48
|
variant?: LinkVariant;
|
|
@@ -89,7 +89,7 @@ export declare const PLink: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
89
89
|
*/
|
|
90
90
|
target?: LinkTarget;
|
|
91
91
|
/**
|
|
92
|
-
* Sets the visual style variant of the link (
|
|
92
|
+
* Sets the visual style variant of the link (`primary` or `secondary`).
|
|
93
93
|
* @default 'primary'
|
|
94
94
|
*/
|
|
95
95
|
variant?: LinkVariant;
|