@porsche-design-system/components-react 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/link.wrapper.cjs +3 -3
- package/cjs/lib/components/popover.wrapper.cjs +3 -3
- package/cjs/lib/components/sheet.wrapper.cjs +3 -3
- package/esm/lib/components/input-search.wrapper.d.ts +2 -2
- package/esm/lib/components/link.wrapper.d.ts +10 -0
- package/esm/lib/components/link.wrapper.mjs +3 -3
- package/esm/lib/components/popover.wrapper.d.ts +10 -0
- package/esm/lib/components/popover.wrapper.mjs +3 -3
- package/esm/lib/components/sheet.wrapper.d.ts +12 -2
- package/esm/lib/components/sheet.wrapper.mjs +3 -3
- package/esm/lib/types.d.ts +7 -3
- package/package.json +2 -2
- package/skills/pds-audit-deprecations-react/SKILL.md +2 -2
- package/skills/pds-knowledge-react/SKILL.md +8 -7
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/InteractiveElementsInSummary.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/StickySummary.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinRadioGroup.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinTable.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-banner/examples/Customization.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-banner/p-banner.md +2 -2
- package/skills/pds-knowledge-react/references/components/p-button-pure/p-button-pure.md +9 -0
- package/skills/pds-knowledge-react/references/components/p-carousel/p-carousel.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-fieldset/p-fieldset.md +7 -9
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/CustomStyling.tsx +3 -3
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/StickyTop.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-inline-notification/p-inline-notification.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-input-search/p-input-search.md +26 -8
- package/skills/pds-knowledge-react/references/components/p-link/examples/Cover.tsx +20 -0
- package/skills/pds-knowledge-react/references/components/p-link/p-link.md +3 -0
- package/skills/pds-knowledge-react/references/components/p-link-pure/p-link-pure.md +39 -1
- package/skills/pds-knowledge-react/references/components/p-modal/examples/AlertDialog.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-modal/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-modal/examples/Scrollable.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-popover/p-popover.md +4 -2
- package/skills/pds-knowledge-react/references/components/p-sheet/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-sheet/p-sheet.md +6 -3
- package/skills/pds-knowledge-react/references/components/p-table/examples/CaptionSlot.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-toast/p-toast.md +2 -2
- package/skills/pds-knowledge-react/references/deprecations.md +4 -4
- package/skills/pds-knowledge-react/references/examples/patterns/feedback/dialog.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/feedback/inline.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/{footer.md → footer/extended.md} +9 -8
- package/skills/pds-knowledge-react/references/examples/patterns/footer/simple.md +75 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/booking.md +479 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/contact.md +211 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/personal-details.md +253 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/search-combobox-link-list.md +363 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/search-combobox-option-list.md +499 -0
- package/skills/pds-knowledge-react/references/examples/patterns/header/overlay.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/header/stacked.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/popover/feature-tour.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/popover/local-market-switch.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/popover/priority-navigation.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/tile/call-to-action.md +71 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/category.md +60 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/disclosure.md +84 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/equipment-stacked.md +54 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/equipment.md +69 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/image.md +64 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/model-navigation.md +52 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/model-selection.md +66 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/model-teaser.md +78 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/product.md +92 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/vehicle-listing.md +107 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/video.md +114 -0
- package/skills/pds-knowledge-react/references/examples/templates/admin-panel.md +1 -0
- package/skills/pds-knowledge-react/references/examples/templates/landing-page.md +4 -3
- package/skills/pds-knowledge-react/references/examples/templates/personalized-mailing/no-video.md +1166 -0
- package/skills/pds-knowledge-react/references/examples/templates/personalized-mailing/video.md +1252 -0
- package/skills/pds-knowledge-react/references/examples.md +50 -1
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +239 -70
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +424 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/link.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/popover.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/sheet.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +2 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/dialog-base.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.cjs +4 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +14 -3
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +239 -70
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +411 -7
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/popover.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/sheet.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/dialog-base.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +5 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +15 -4
- package/ssr/esm/public-api.d.ts +8696 -5
- package/skills/pds-knowledge-react/references/components/p-input-search/examples/AriaCombobox.tsx +0 -35
- package/ssr/esm/BaseProps.d.ts +0 -2
- package/ssr/esm/getCachedMinifiedCss.d.ts +0 -23
- package/ssr/esm/hooks.d.ts +0 -15
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +0 -98
- package/ssr/esm/lib/components/ai-tag.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/banner.wrapper.d.ts +0 -86
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +0 -158
- package/ssr/esm/lib/components/button-tile.wrapper.d.ts +0 -140
- package/ssr/esm/lib/components/button.wrapper.d.ts +0 -118
- package/ssr/esm/lib/components/canvas.wrapper.d.ts +0 -54
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +0 -166
- package/ssr/esm/lib/components/checkbox.wrapper.d.ts +0 -160
- package/ssr/esm/lib/components/crest.wrapper.d.ts +0 -32
- package/ssr/esm/lib/components/display.wrapper.d.ts +0 -57
- package/ssr/esm/lib/components/divider.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +0 -53
- package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +0 -60
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +0 -50
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +0 -66
- package/ssr/esm/lib/components/flag.wrapper.d.ts +0 -34
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +0 -110
- package/ssr/esm/lib/components/heading.wrapper.d.ts +0 -76
- package/ssr/esm/lib/components/icon.wrapper.d.ts +0 -52
- package/ssr/esm/lib/components/index.d.ts +0 -74
- package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +0 -102
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +0 -228
- package/ssr/esm/lib/components/input-month.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +0 -220
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +0 -210
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +0 -220
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +0 -218
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +0 -218
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +0 -218
- package/ssr/esm/lib/components/input-week.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/link-pure.wrapper.d.ts +0 -138
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +0 -104
- package/ssr/esm/lib/components/link-tile.wrapper.d.ts +0 -126
- package/ssr/esm/lib/components/link.wrapper.d.ts +0 -98
- package/ssr/esm/lib/components/modal.wrapper.d.ts +0 -100
- package/ssr/esm/lib/components/model-signature.wrapper.d.ts +0 -68
- package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +0 -25
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +0 -156
- package/ssr/esm/lib/components/optgroup.wrapper.d.ts +0 -25
- package/ssr/esm/lib/components/pagination.wrapper.d.ts +0 -64
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +0 -160
- package/ssr/esm/lib/components/popover.wrapper.d.ts +0 -58
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +0 -43
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +0 -148
- package/ssr/esm/lib/components/scroller.wrapper.d.ts +0 -62
- package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +0 -58
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +0 -148
- package/ssr/esm/lib/components/select-option.wrapper.d.ts +0 -25
- package/ssr/esm/lib/components/select.wrapper.d.ts +0 -164
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +0 -80
- package/ssr/esm/lib/components/spinner.wrapper.d.ts +0 -34
- package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/switch.wrapper.d.ts +0 -94
- package/ssr/esm/lib/components/table-body.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table-cell.wrapper.d.ts +0 -17
- package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +0 -36
- package/ssr/esm/lib/components/table-head-row.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table-head.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table-row.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table.wrapper.d.ts +0 -54
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +0 -70
- package/ssr/esm/lib/components/tabs-item.wrapper.d.ts +0 -15
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +0 -72
- package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +0 -34
- package/ssr/esm/lib/components/tag.wrapper.d.ts +0 -46
- package/ssr/esm/lib/components/text-list-item.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/text-list.wrapper.d.ts +0 -18
- package/ssr/esm/lib/components/text.wrapper.d.ts +0 -78
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +0 -238
- package/ssr/esm/lib/components/toast.wrapper.d.ts +0 -3
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +0 -42
- package/ssr/esm/lib/dsr-components/accordion.d.ts +0 -18
- package/ssr/esm/lib/dsr-components/ai-tag.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/banner.d.ts +0 -20
- package/ssr/esm/lib/dsr-components/button-pure.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/button-tile.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/button.d.ts +0 -19
- package/ssr/esm/lib/dsr-components/canvas.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/carousel.d.ts +0 -27
- package/ssr/esm/lib/dsr-components/checkbox.d.ts +0 -19
- package/ssr/esm/lib/dsr-components/crest.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/dialog-base.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/display.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/divider.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/drilldown-item.d.ts +0 -15
- package/ssr/esm/lib/dsr-components/drilldown-link.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/drilldown.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/fc-dismiss-button.d.ts +0 -16
- package/ssr/esm/lib/dsr-components/fieldset.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/filter-status-announcer.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/flag.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/flyout.d.ts +0 -26
- package/ssr/esm/lib/dsr-components/heading.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/icon.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/inline-notification.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/input-base.d.ts +0 -38
- package/ssr/esm/lib/dsr-components/input-date.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-email.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-month.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-number.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-password.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/input-search.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/input-tel.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-text.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-time.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-url.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-week.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/label.d.ts +0 -24
- package/ssr/esm/lib/dsr-components/link-pure.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/link-tile-product.d.ts +0 -15
- package/ssr/esm/lib/dsr-components/link-tile.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/link.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/loading-message.d.ts +0 -8
- package/ssr/esm/lib/dsr-components/modal.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/model-signature.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/multi-select-option.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/multi-select.d.ts +0 -40
- package/ssr/esm/lib/dsr-components/no-results-option.d.ts +0 -2
- package/ssr/esm/lib/dsr-components/notification-base.d.ts +0 -14
- package/ssr/esm/lib/dsr-components/optgroup.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/pagination.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/pin-code.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/popover.d.ts +0 -27
- package/ssr/esm/lib/dsr-components/radio-group-option.d.ts +0 -13
- package/ssr/esm/lib/dsr-components/radio-group.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/required.d.ts +0 -2
- package/ssr/esm/lib/dsr-components/scroller.d.ts +0 -15
- package/ssr/esm/lib/dsr-components/segmented-control-item.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/segmented-control.d.ts +0 -21
- package/ssr/esm/lib/dsr-components/select-option.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/select.d.ts +0 -41
- package/ssr/esm/lib/dsr-components/sheet.d.ts +0 -20
- package/ssr/esm/lib/dsr-components/spinner.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/state-message.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/stepper-horizontal-item.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/stepper-horizontal.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/switch.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/table-body.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-cell.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-head-cell.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-head-row.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-head.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-row.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/tabs-bar.d.ts +0 -17
- package/ssr/esm/lib/dsr-components/tabs-item.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/tabs.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/tag-dismissible.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/tag.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/text-list-item.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/text-list.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/text.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/textarea.d.ts +0 -19
- package/ssr/esm/lib/dsr-components/toast.d.ts +0 -7
- package/ssr/esm/lib/dsr-components/wordmark.d.ts +0 -6
- package/ssr/esm/lib/types.d.ts +0 -1862
- package/ssr/esm/minifyCss.d.ts +0 -1
- package/ssr/esm/provider.d.ts +0 -10
- package/ssr/esm/splitChildren.d.ts +0 -17
- package/ssr/esm/utils.d.ts +0 -4
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { LinkTileAlign, SelectedAriaAttributes, LinkTileAriaAttribute, BreakpointCustomizable, LinkTileAspectRatio, LinkTileSize, LinkTileTarget, LinkTileWeight } from '../types';
|
|
3
|
-
export type PLinkTileProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Controls the vertical placement of the description and link — `top` or `bottom`.
|
|
6
|
-
* @default 'bottom'
|
|
7
|
-
*/
|
|
8
|
-
align?: LinkTileAlign;
|
|
9
|
-
/**
|
|
10
|
-
* Sets ARIA attributes on the tile's anchor element to improve accessibility for screen readers.
|
|
11
|
-
*/
|
|
12
|
-
aria?: SelectedAriaAttributes<LinkTileAriaAttribute>;
|
|
13
|
-
/**
|
|
14
|
-
* Sets the width-to-height ratio of the tile media area. Supports responsive breakpoint values.
|
|
15
|
-
* @default '4/3'
|
|
16
|
-
*/
|
|
17
|
-
aspectRatio?: BreakpointCustomizable<LinkTileAspectRatio>;
|
|
18
|
-
/**
|
|
19
|
-
* Renders only the icon link without the full label. Supports responsive breakpoint values.
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
compact?: BreakpointCustomizable<boolean>;
|
|
23
|
-
/**
|
|
24
|
-
* Sets the description text displayed in the tile's content area.
|
|
25
|
-
*/
|
|
26
|
-
description: string;
|
|
27
|
-
/**
|
|
28
|
-
* Sets the native `download` attribute to trigger a file download.
|
|
29
|
-
*/
|
|
30
|
-
download?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Shows a gradient overlay over the media slot to improve text legibility on bright images or videos.
|
|
33
|
-
* @default false
|
|
34
|
-
*/
|
|
35
|
-
gradient?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Sets the URL the tile's anchor element navigates to when clicked.
|
|
38
|
-
*/
|
|
39
|
-
href: string;
|
|
40
|
-
/**
|
|
41
|
-
* Sets the accessible label text of the link rendered inside the tile.
|
|
42
|
-
*/
|
|
43
|
-
label: string;
|
|
44
|
-
/**
|
|
45
|
-
* Sets the `rel` attribute on the link (e.g. `noopener`).
|
|
46
|
-
*/
|
|
47
|
-
rel?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Sets the font size of the description text in the tile content area. Supports responsive breakpoint values.
|
|
50
|
-
* @default 'medium'
|
|
51
|
-
*/
|
|
52
|
-
size?: BreakpointCustomizable<LinkTileSize>;
|
|
53
|
-
/**
|
|
54
|
-
* Specifies where to open the linked URL (e.g. `_self`, `_blank`).
|
|
55
|
-
* @default '_self'
|
|
56
|
-
*/
|
|
57
|
-
target?: LinkTileTarget;
|
|
58
|
-
/**
|
|
59
|
-
* Sets the font weight of the description text in the tile content area. Supports responsive breakpoint values.
|
|
60
|
-
* @default 'semi-bold'
|
|
61
|
-
*/
|
|
62
|
-
weight?: BreakpointCustomizable<LinkTileWeight>;
|
|
63
|
-
};
|
|
64
|
-
export declare const PLinkTile: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
65
|
-
/**
|
|
66
|
-
* Controls the vertical placement of the description and link — `top` or `bottom`.
|
|
67
|
-
* @default 'bottom'
|
|
68
|
-
*/
|
|
69
|
-
align?: LinkTileAlign;
|
|
70
|
-
/**
|
|
71
|
-
* Sets ARIA attributes on the tile's anchor element to improve accessibility for screen readers.
|
|
72
|
-
*/
|
|
73
|
-
aria?: SelectedAriaAttributes<LinkTileAriaAttribute>;
|
|
74
|
-
/**
|
|
75
|
-
* Sets the width-to-height ratio of the tile media area. Supports responsive breakpoint values.
|
|
76
|
-
* @default '4/3'
|
|
77
|
-
*/
|
|
78
|
-
aspectRatio?: BreakpointCustomizable<LinkTileAspectRatio>;
|
|
79
|
-
/**
|
|
80
|
-
* Renders only the icon link without the full label. Supports responsive breakpoint values.
|
|
81
|
-
* @default false
|
|
82
|
-
*/
|
|
83
|
-
compact?: BreakpointCustomizable<boolean>;
|
|
84
|
-
/**
|
|
85
|
-
* Sets the description text displayed in the tile's content area.
|
|
86
|
-
*/
|
|
87
|
-
description: string;
|
|
88
|
-
/**
|
|
89
|
-
* Sets the native `download` attribute to trigger a file download.
|
|
90
|
-
*/
|
|
91
|
-
download?: string;
|
|
92
|
-
/**
|
|
93
|
-
* Shows a gradient overlay over the media slot to improve text legibility on bright images or videos.
|
|
94
|
-
* @default false
|
|
95
|
-
*/
|
|
96
|
-
gradient?: boolean;
|
|
97
|
-
/**
|
|
98
|
-
* Sets the URL the tile's anchor element navigates to when clicked.
|
|
99
|
-
*/
|
|
100
|
-
href: string;
|
|
101
|
-
/**
|
|
102
|
-
* Sets the accessible label text of the link rendered inside the tile.
|
|
103
|
-
*/
|
|
104
|
-
label: string;
|
|
105
|
-
/**
|
|
106
|
-
* Sets the `rel` attribute on the link (e.g. `noopener`).
|
|
107
|
-
*/
|
|
108
|
-
rel?: string;
|
|
109
|
-
/**
|
|
110
|
-
* Sets the font size of the description text in the tile content area. Supports responsive breakpoint values.
|
|
111
|
-
* @default 'medium'
|
|
112
|
-
*/
|
|
113
|
-
size?: BreakpointCustomizable<LinkTileSize>;
|
|
114
|
-
/**
|
|
115
|
-
* Specifies where to open the linked URL (e.g. `_self`, `_blank`).
|
|
116
|
-
* @default '_self'
|
|
117
|
-
*/
|
|
118
|
-
target?: LinkTileTarget;
|
|
119
|
-
/**
|
|
120
|
-
* Sets the font weight of the description text in the tile content area. Supports responsive breakpoint values.
|
|
121
|
-
* @default 'semi-bold'
|
|
122
|
-
*/
|
|
123
|
-
weight?: BreakpointCustomizable<LinkTileWeight>;
|
|
124
|
-
} & {
|
|
125
|
-
children?: import("react").ReactNode | undefined;
|
|
126
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, LinkAriaAttribute, BreakpointCustomizable, LinkIcon, LinkTarget, LinkVariant } from '../types';
|
|
3
|
-
export type PLinkProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets ARIA attributes on the link element to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<LinkAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Reduces the link's padding and height for denser layouts. Supports responsive breakpoint values.
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
compact?: BreakpointCustomizable<boolean>;
|
|
13
|
-
/**
|
|
14
|
-
* Sets the native `download` attribute to trigger a file download. Only applies when `href` is set.
|
|
15
|
-
*/
|
|
16
|
-
download?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
22
|
-
/**
|
|
23
|
-
* 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.
|
|
24
|
-
*/
|
|
25
|
-
href?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Sets the icon displayed next to the link label. Use `none` to show no icon.
|
|
28
|
-
* @default 'none'
|
|
29
|
-
*/
|
|
30
|
-
icon?: LinkIcon;
|
|
31
|
-
/**
|
|
32
|
-
* Sets a path to a custom SVG icon, used instead of the built-in icon set.
|
|
33
|
-
*/
|
|
34
|
-
iconSource?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Sets the `rel` attribute on the link (e.g. `noopener`). Only applies when `href` is set.
|
|
37
|
-
*/
|
|
38
|
-
rel?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Specifies where to open the linked URL (e.g. `_self`, `_blank`). Only applies when `href` is set.
|
|
41
|
-
* @default '_self'
|
|
42
|
-
*/
|
|
43
|
-
target?: LinkTarget;
|
|
44
|
-
/**
|
|
45
|
-
* Sets the visual style variant of the link (`primary` or `secondary`).
|
|
46
|
-
* @default 'primary'
|
|
47
|
-
*/
|
|
48
|
-
variant?: LinkVariant;
|
|
49
|
-
};
|
|
50
|
-
export declare const PLink: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
51
|
-
/**
|
|
52
|
-
* Sets ARIA attributes on the link element to improve accessibility for screen readers.
|
|
53
|
-
*/
|
|
54
|
-
aria?: SelectedAriaAttributes<LinkAriaAttribute>;
|
|
55
|
-
/**
|
|
56
|
-
* Reduces the link's padding and height for denser layouts. Supports responsive breakpoint values.
|
|
57
|
-
* @default false
|
|
58
|
-
*/
|
|
59
|
-
compact?: BreakpointCustomizable<boolean>;
|
|
60
|
-
/**
|
|
61
|
-
* Sets the native `download` attribute to trigger a file download. Only applies when `href` is set.
|
|
62
|
-
*/
|
|
63
|
-
download?: string;
|
|
64
|
-
/**
|
|
65
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
66
|
-
* @default false
|
|
67
|
-
*/
|
|
68
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
69
|
-
/**
|
|
70
|
-
* 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.
|
|
71
|
-
*/
|
|
72
|
-
href?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Sets the icon displayed next to the link label. Use `none` to show no icon.
|
|
75
|
-
* @default 'none'
|
|
76
|
-
*/
|
|
77
|
-
icon?: LinkIcon;
|
|
78
|
-
/**
|
|
79
|
-
* Sets a path to a custom SVG icon, used instead of the built-in icon set.
|
|
80
|
-
*/
|
|
81
|
-
iconSource?: string;
|
|
82
|
-
/**
|
|
83
|
-
* Sets the `rel` attribute on the link (e.g. `noopener`). Only applies when `href` is set.
|
|
84
|
-
*/
|
|
85
|
-
rel?: string;
|
|
86
|
-
/**
|
|
87
|
-
* Specifies where to open the linked URL (e.g. `_self`, `_blank`). Only applies when `href` is set.
|
|
88
|
-
* @default '_self'
|
|
89
|
-
*/
|
|
90
|
-
target?: LinkTarget;
|
|
91
|
-
/**
|
|
92
|
-
* Sets the visual style variant of the link (`primary` or `secondary`).
|
|
93
|
-
* @default 'primary'
|
|
94
|
-
*/
|
|
95
|
-
variant?: LinkVariant;
|
|
96
|
-
} & {
|
|
97
|
-
children?: import("react").ReactNode | undefined;
|
|
98
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, ModalAriaAttribute, ModalBackdrop, ModalBackground, BreakpointCustomizable, ModalDismissEventDetail, ModalMotionHiddenEndEventDetail, ModalMotionVisibleEndEventDetail } from '../types';
|
|
3
|
-
export type PModalProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets ARIA attributes on the dialog element for improved accessibility when no visible heading is present.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<ModalAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Sets the backdrop style. Use `blur` when the modal is opened by user interaction; use `shading` when opened automatically (e.g. Cookie Consent).
|
|
10
|
-
* @default 'blur'
|
|
11
|
-
*/
|
|
12
|
-
backdrop?: ModalBackdrop;
|
|
13
|
-
/**
|
|
14
|
-
* Sets the background color of the modal panel (`canvas` or `surface`).
|
|
15
|
-
* @default 'canvas'
|
|
16
|
-
*/
|
|
17
|
-
background?: ModalBackground;
|
|
18
|
-
/**
|
|
19
|
-
* When enabled, clicking the backdrop will not close the modal.
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
disableBackdropClick?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Shows a dismiss button in the modal header so the user can manually close it.
|
|
25
|
-
* @default true
|
|
26
|
-
*/
|
|
27
|
-
dismissButton?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Expands the modal to the full viewport size, intended for mobile use cases. Supports responsive breakpoint values.
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
fullscreen?: BreakpointCustomizable<boolean>;
|
|
33
|
-
/**
|
|
34
|
-
* Emitted when the user closes the modal via the dismiss button, backdrop click, or Escape key. The event detail identifies which of the three was used.
|
|
35
|
-
*/
|
|
36
|
-
onDismiss?: (event: CustomEvent<ModalDismissEventDetail>) => void;
|
|
37
|
-
/**
|
|
38
|
-
* Emitted after the modal's close transition completes and the dialog is fully hidden.
|
|
39
|
-
*/
|
|
40
|
-
onMotionHiddenEnd?: (event: CustomEvent<ModalMotionHiddenEndEventDetail>) => void;
|
|
41
|
-
/**
|
|
42
|
-
* Emitted after the modal's open transition completes and the dialog is fully visible.
|
|
43
|
-
*/
|
|
44
|
-
onMotionVisibleEnd?: (event: CustomEvent<ModalMotionVisibleEndEventDetail>) => void;
|
|
45
|
-
/**
|
|
46
|
-
* Controls whether the modal dialog is visible.
|
|
47
|
-
* @default false
|
|
48
|
-
*/
|
|
49
|
-
open: boolean;
|
|
50
|
-
};
|
|
51
|
-
export declare const PModal: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
52
|
-
/**
|
|
53
|
-
* Sets ARIA attributes on the dialog element for improved accessibility when no visible heading is present.
|
|
54
|
-
*/
|
|
55
|
-
aria?: SelectedAriaAttributes<ModalAriaAttribute>;
|
|
56
|
-
/**
|
|
57
|
-
* Sets the backdrop style. Use `blur` when the modal is opened by user interaction; use `shading` when opened automatically (e.g. Cookie Consent).
|
|
58
|
-
* @default 'blur'
|
|
59
|
-
*/
|
|
60
|
-
backdrop?: ModalBackdrop;
|
|
61
|
-
/**
|
|
62
|
-
* Sets the background color of the modal panel (`canvas` or `surface`).
|
|
63
|
-
* @default 'canvas'
|
|
64
|
-
*/
|
|
65
|
-
background?: ModalBackground;
|
|
66
|
-
/**
|
|
67
|
-
* When enabled, clicking the backdrop will not close the modal.
|
|
68
|
-
* @default false
|
|
69
|
-
*/
|
|
70
|
-
disableBackdropClick?: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* Shows a dismiss button in the modal header so the user can manually close it.
|
|
73
|
-
* @default true
|
|
74
|
-
*/
|
|
75
|
-
dismissButton?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Expands the modal to the full viewport size, intended for mobile use cases. Supports responsive breakpoint values.
|
|
78
|
-
* @default false
|
|
79
|
-
*/
|
|
80
|
-
fullscreen?: BreakpointCustomizable<boolean>;
|
|
81
|
-
/**
|
|
82
|
-
* Emitted when the user closes the modal via the dismiss button, backdrop click, or Escape key. The event detail identifies which of the three was used.
|
|
83
|
-
*/
|
|
84
|
-
onDismiss?: (event: CustomEvent<ModalDismissEventDetail>) => void;
|
|
85
|
-
/**
|
|
86
|
-
* Emitted after the modal's close transition completes and the dialog is fully hidden.
|
|
87
|
-
*/
|
|
88
|
-
onMotionHiddenEnd?: (event: CustomEvent<ModalMotionHiddenEndEventDetail>) => void;
|
|
89
|
-
/**
|
|
90
|
-
* Emitted after the modal's open transition completes and the dialog is fully visible.
|
|
91
|
-
*/
|
|
92
|
-
onMotionVisibleEnd?: (event: CustomEvent<ModalMotionVisibleEndEventDetail>) => void;
|
|
93
|
-
/**
|
|
94
|
-
* Controls whether the modal dialog is visible.
|
|
95
|
-
* @default false
|
|
96
|
-
*/
|
|
97
|
-
open: boolean;
|
|
98
|
-
} & {
|
|
99
|
-
children?: import("react").ReactNode | undefined;
|
|
100
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { ModelSignatureColor, ModelSignatureFetchPriority, ModelSignatureModel, ModelSignatureSize } from '../types';
|
|
3
|
-
export type PModelSignatureProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets the fill color of the signature using PDS color tokens.
|
|
6
|
-
* @default 'primary'
|
|
7
|
-
*/
|
|
8
|
-
color?: ModelSignatureColor;
|
|
9
|
-
/**
|
|
10
|
-
* Sets the browser's fetch priority hint for the signature asset (`auto`, `high`, `low`).
|
|
11
|
-
* @default 'auto'
|
|
12
|
-
*/
|
|
13
|
-
fetchPriority?: ModelSignatureFetchPriority;
|
|
14
|
-
/**
|
|
15
|
-
* Defers loading the signature until it enters the viewport to improve initial page performance.
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
lazy?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Selects the Porsche model whose typographic signature SVG is displayed.
|
|
21
|
-
* @default '911'
|
|
22
|
-
*/
|
|
23
|
-
model?: ModelSignatureModel;
|
|
24
|
-
/**
|
|
25
|
-
* When enabled, adds invisible padding so all model signatures visually align to a consistent baseline.
|
|
26
|
-
* @default true
|
|
27
|
-
*/
|
|
28
|
-
safeZone?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Sets the display size of the signature using predefined PDS sizes. Use `inherit` with a CSS `width` or `height` on the host for custom sizing.
|
|
31
|
-
* @default 'small'
|
|
32
|
-
*/
|
|
33
|
-
size?: ModelSignatureSize;
|
|
34
|
-
};
|
|
35
|
-
export declare const PModelSignature: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
36
|
-
/**
|
|
37
|
-
* Sets the fill color of the signature using PDS color tokens.
|
|
38
|
-
* @default 'primary'
|
|
39
|
-
*/
|
|
40
|
-
color?: ModelSignatureColor;
|
|
41
|
-
/**
|
|
42
|
-
* Sets the browser's fetch priority hint for the signature asset (`auto`, `high`, `low`).
|
|
43
|
-
* @default 'auto'
|
|
44
|
-
*/
|
|
45
|
-
fetchPriority?: ModelSignatureFetchPriority;
|
|
46
|
-
/**
|
|
47
|
-
* Defers loading the signature until it enters the viewport to improve initial page performance.
|
|
48
|
-
* @default false
|
|
49
|
-
*/
|
|
50
|
-
lazy?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Selects the Porsche model whose typographic signature SVG is displayed.
|
|
53
|
-
* @default '911'
|
|
54
|
-
*/
|
|
55
|
-
model?: ModelSignatureModel;
|
|
56
|
-
/**
|
|
57
|
-
* When enabled, adds invisible padding so all model signatures visually align to a consistent baseline.
|
|
58
|
-
* @default true
|
|
59
|
-
*/
|
|
60
|
-
safeZone?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Sets the display size of the signature using predefined PDS sizes. Use `inherit` with a CSS `width` or `height` on the host for custom sizing.
|
|
63
|
-
* @default 'small'
|
|
64
|
-
*/
|
|
65
|
-
size?: ModelSignatureSize;
|
|
66
|
-
} & {
|
|
67
|
-
children?: import("react").ReactNode | undefined;
|
|
68
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
export type PMultiSelectOptionProps = BaseProps & {
|
|
3
|
-
/**
|
|
4
|
-
* Disables the option, preventing it from being selected.
|
|
5
|
-
* @default false
|
|
6
|
-
*/
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Sets the required option value submitted with the form data when selected. Must be a string or number.
|
|
10
|
-
*/
|
|
11
|
-
value: string | number;
|
|
12
|
-
};
|
|
13
|
-
export declare const PMultiSelectOption: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
14
|
-
/**
|
|
15
|
-
* Disables the option, preventing it from being selected.
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Sets the required option value submitted with the form data when selected. Must be a string or number.
|
|
21
|
-
*/
|
|
22
|
-
value: string | number;
|
|
23
|
-
} & {
|
|
24
|
-
children?: import("react").ReactNode | undefined;
|
|
25
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, MultiSelectAriaAttribute, MultiSelectDropdownDirection, BreakpointCustomizable, MultiSelectChangeEventDetail, MultiSelectToggleEventDetail, MultiSelectState } from '../types';
|
|
3
|
-
export type PMultiSelectProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets additional ARIA attributes on the combobox to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<MultiSelectAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Reduces the control height and padding for a more compact layout.
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
compact?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Sets a supplementary description displayed below the label to provide additional context.
|
|
15
|
-
* @default ''
|
|
16
|
-
*/
|
|
17
|
-
description?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Disables the multi-select, preventing all interaction. Selected values are not submitted with the form.
|
|
20
|
-
* @default false
|
|
21
|
-
*/
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Controls whether the dropdown opens upward (`up`) or downward (`down`), or decides automatically (`auto`).
|
|
25
|
-
* @default 'auto'
|
|
26
|
-
*/
|
|
27
|
-
dropdownDirection?: MultiSelectDropdownDirection;
|
|
28
|
-
/**
|
|
29
|
-
* Associates the multi-select with a form element by its ID when not directly nested inside it.
|
|
30
|
-
*/
|
|
31
|
-
form?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
34
|
-
* @default false
|
|
35
|
-
*/
|
|
36
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
37
|
-
/**
|
|
38
|
-
* Sets the visible label text displayed above the multi-select control.
|
|
39
|
-
* @default ''
|
|
40
|
-
*/
|
|
41
|
-
label?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Sets the validation feedback message displayed below the control when `state` is `success` or `error`.
|
|
44
|
-
* @default ''
|
|
45
|
-
*/
|
|
46
|
-
message?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Sets the name submitted with the form data to identify the selected values on the server.
|
|
49
|
-
*/
|
|
50
|
-
name: string;
|
|
51
|
-
/**
|
|
52
|
-
* Emitted when the multi-select loses focus.
|
|
53
|
-
*/
|
|
54
|
-
onBlur?: (event: CustomEvent<void>) => void;
|
|
55
|
-
/**
|
|
56
|
-
* Emitted when the user selects or deselects an option, with the updated array of values in the event detail.
|
|
57
|
-
*/
|
|
58
|
-
onChange?: (event: CustomEvent<MultiSelectChangeEventDetail>) => void;
|
|
59
|
-
/**
|
|
60
|
-
* Emitted when the dropdown opens or closes, with the new open state in the event detail.
|
|
61
|
-
*/
|
|
62
|
-
onToggle?: (event: CustomEvent<MultiSelectToggleEventDetail>) => void;
|
|
63
|
-
/**
|
|
64
|
-
* Marks the multi-select as required — form submission is blocked unless at least one option is selected.
|
|
65
|
-
* @default false
|
|
66
|
-
*/
|
|
67
|
-
required?: boolean;
|
|
68
|
-
/**
|
|
69
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
70
|
-
* @default 'none'
|
|
71
|
-
*/
|
|
72
|
-
state?: MultiSelectState;
|
|
73
|
-
/**
|
|
74
|
-
* The selected values. Matches options strictly by type and value, meaning a string value only matches options whose value is the same string, a number value only matches options whose value is the same number. Pass null or [] to clear the selection. Please note that FormData always serializes values as strings, so when participating in a native (uncontrolled) form a number[] value is restored as string[] via formStateRestoreCallback and will no longer strictly match number-typed options. This limitation only applies to native form state restoration; in controlled forms (where the consumer manages value directly via the change event), number[] types are preserved end-to-end.
|
|
75
|
-
* @default []
|
|
76
|
-
*/
|
|
77
|
-
value?: string[] | number[] | null;
|
|
78
|
-
};
|
|
79
|
-
export declare const PMultiSelect: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
80
|
-
/**
|
|
81
|
-
* Sets additional ARIA attributes on the combobox to improve accessibility for screen readers.
|
|
82
|
-
*/
|
|
83
|
-
aria?: SelectedAriaAttributes<MultiSelectAriaAttribute>;
|
|
84
|
-
/**
|
|
85
|
-
* Reduces the control height and padding for a more compact layout.
|
|
86
|
-
* @default false
|
|
87
|
-
*/
|
|
88
|
-
compact?: boolean;
|
|
89
|
-
/**
|
|
90
|
-
* Sets a supplementary description displayed below the label to provide additional context.
|
|
91
|
-
* @default ''
|
|
92
|
-
*/
|
|
93
|
-
description?: string;
|
|
94
|
-
/**
|
|
95
|
-
* Disables the multi-select, preventing all interaction. Selected values are not submitted with the form.
|
|
96
|
-
* @default false
|
|
97
|
-
*/
|
|
98
|
-
disabled?: boolean;
|
|
99
|
-
/**
|
|
100
|
-
* Controls whether the dropdown opens upward (`up`) or downward (`down`), or decides automatically (`auto`).
|
|
101
|
-
* @default 'auto'
|
|
102
|
-
*/
|
|
103
|
-
dropdownDirection?: MultiSelectDropdownDirection;
|
|
104
|
-
/**
|
|
105
|
-
* Associates the multi-select with a form element by its ID when not directly nested inside it.
|
|
106
|
-
*/
|
|
107
|
-
form?: string;
|
|
108
|
-
/**
|
|
109
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
110
|
-
* @default false
|
|
111
|
-
*/
|
|
112
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
113
|
-
/**
|
|
114
|
-
* Sets the visible label text displayed above the multi-select control.
|
|
115
|
-
* @default ''
|
|
116
|
-
*/
|
|
117
|
-
label?: string;
|
|
118
|
-
/**
|
|
119
|
-
* Sets the validation feedback message displayed below the control when `state` is `success` or `error`.
|
|
120
|
-
* @default ''
|
|
121
|
-
*/
|
|
122
|
-
message?: string;
|
|
123
|
-
/**
|
|
124
|
-
* Sets the name submitted with the form data to identify the selected values on the server.
|
|
125
|
-
*/
|
|
126
|
-
name: string;
|
|
127
|
-
/**
|
|
128
|
-
* Emitted when the multi-select loses focus.
|
|
129
|
-
*/
|
|
130
|
-
onBlur?: (event: CustomEvent<void>) => void;
|
|
131
|
-
/**
|
|
132
|
-
* Emitted when the user selects or deselects an option, with the updated array of values in the event detail.
|
|
133
|
-
*/
|
|
134
|
-
onChange?: (event: CustomEvent<MultiSelectChangeEventDetail>) => void;
|
|
135
|
-
/**
|
|
136
|
-
* Emitted when the dropdown opens or closes, with the new open state in the event detail.
|
|
137
|
-
*/
|
|
138
|
-
onToggle?: (event: CustomEvent<MultiSelectToggleEventDetail>) => void;
|
|
139
|
-
/**
|
|
140
|
-
* Marks the multi-select as required — form submission is blocked unless at least one option is selected.
|
|
141
|
-
* @default false
|
|
142
|
-
*/
|
|
143
|
-
required?: boolean;
|
|
144
|
-
/**
|
|
145
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
146
|
-
* @default 'none'
|
|
147
|
-
*/
|
|
148
|
-
state?: MultiSelectState;
|
|
149
|
-
/**
|
|
150
|
-
* The selected values. Matches options strictly by type and value, meaning a string value only matches options whose value is the same string, a number value only matches options whose value is the same number. Pass null or [] to clear the selection. Please note that FormData always serializes values as strings, so when participating in a native (uncontrolled) form a number[] value is restored as string[] via formStateRestoreCallback and will no longer strictly match number-typed options. This limitation only applies to native form state restoration; in controlled forms (where the consumer manages value directly via the change event), number[] types are preserved end-to-end.
|
|
151
|
-
* @default []
|
|
152
|
-
*/
|
|
153
|
-
value?: string[] | number[] | null;
|
|
154
|
-
} & {
|
|
155
|
-
children?: import("react").ReactNode | undefined;
|
|
156
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
export type POptgroupProps = BaseProps & {
|
|
3
|
-
/**
|
|
4
|
-
* Disables all options in the group, preventing any of them from being selected.
|
|
5
|
-
* @default false
|
|
6
|
-
*/
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Sets the visible group heading displayed above the grouped options.
|
|
10
|
-
*/
|
|
11
|
-
label?: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const POptgroup: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
14
|
-
/**
|
|
15
|
-
* Disables all options in the group, preventing any of them from being selected.
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Sets the visible group heading displayed above the grouped options.
|
|
21
|
-
*/
|
|
22
|
-
label?: string;
|
|
23
|
-
} & {
|
|
24
|
-
children?: import("react").ReactNode | undefined;
|
|
25
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { PaginationInternationalization, PaginationUpdateEventDetail } from '../types';
|
|
3
|
-
export type PPaginationProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets the one-based index of the currently active page; update this prop to navigate programmatically.
|
|
6
|
-
* @default 1
|
|
7
|
-
*/
|
|
8
|
-
activePage: number;
|
|
9
|
-
/**
|
|
10
|
-
* Overrides the default ARIA label strings used for the previous, next, and page number buttons to support localisation.
|
|
11
|
-
* @default { root: 'Pagination', prev: 'Previous page', next: 'Next page', page: 'Page', }
|
|
12
|
-
*/
|
|
13
|
-
intl?: PaginationInternationalization;
|
|
14
|
-
/**
|
|
15
|
-
* Sets the number of items displayed per page, used together with `totalItemsCount` to compute the page count.
|
|
16
|
-
* @default 1
|
|
17
|
-
*/
|
|
18
|
-
itemsPerPage?: number;
|
|
19
|
-
/**
|
|
20
|
-
* Emitted when the user navigates to a different page, carrying the new `activePage` index in the event detail.
|
|
21
|
-
*/
|
|
22
|
-
onUpdate?: (event: CustomEvent<PaginationUpdateEventDetail>) => void;
|
|
23
|
-
/**
|
|
24
|
-
* Shows or hides the button that jumps directly to the last page of the pagination.
|
|
25
|
-
* @default true
|
|
26
|
-
*/
|
|
27
|
-
showLastPage?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Sets the total number of items in the dataset, used to calculate the number of pages.
|
|
30
|
-
* @default 1
|
|
31
|
-
*/
|
|
32
|
-
totalItemsCount: number;
|
|
33
|
-
};
|
|
34
|
-
export declare const PPagination: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
35
|
-
/**
|
|
36
|
-
* Sets the one-based index of the currently active page; update this prop to navigate programmatically.
|
|
37
|
-
* @default 1
|
|
38
|
-
*/
|
|
39
|
-
activePage: number;
|
|
40
|
-
/**
|
|
41
|
-
* Overrides the default ARIA label strings used for the previous, next, and page number buttons to support localisation.
|
|
42
|
-
* @default { root: 'Pagination', prev: 'Previous page', next: 'Next page', page: 'Page', }
|
|
43
|
-
*/
|
|
44
|
-
intl?: PaginationInternationalization;
|
|
45
|
-
/**
|
|
46
|
-
* Sets the number of items displayed per page, used together with `totalItemsCount` to compute the page count.
|
|
47
|
-
* @default 1
|
|
48
|
-
*/
|
|
49
|
-
itemsPerPage?: number;
|
|
50
|
-
/**
|
|
51
|
-
* Emitted when the user navigates to a different page, carrying the new `activePage` index in the event detail.
|
|
52
|
-
*/
|
|
53
|
-
onUpdate?: (event: CustomEvent<PaginationUpdateEventDetail>) => void;
|
|
54
|
-
/**
|
|
55
|
-
* Shows or hides the button that jumps directly to the last page of the pagination.
|
|
56
|
-
* @default true
|
|
57
|
-
*/
|
|
58
|
-
showLastPage?: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Sets the total number of items in the dataset, used to calculate the number of pages.
|
|
61
|
-
* @default 1
|
|
62
|
-
*/
|
|
63
|
-
totalItemsCount: number;
|
|
64
|
-
} & import("react").RefAttributes<HTMLElement>>;
|