@porsche-design-system/components-react 4.10.1 → 4.11.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +102 -9
- package/cjs/lib/components/link.wrapper.cjs +3 -3
- package/cjs/lib/components/popover.wrapper.cjs +3 -3
- package/cjs/lib/components/sheet.wrapper.cjs +3 -3
- package/esm/lib/components/input-search.wrapper.d.ts +2 -2
- package/esm/lib/components/link.wrapper.d.ts +10 -0
- package/esm/lib/components/link.wrapper.mjs +3 -3
- package/esm/lib/components/popover.wrapper.d.ts +10 -0
- package/esm/lib/components/popover.wrapper.mjs +3 -3
- package/esm/lib/components/sheet.wrapper.d.ts +12 -2
- package/esm/lib/components/sheet.wrapper.mjs +3 -3
- package/esm/lib/types.d.ts +7 -3
- package/package.json +2 -2
- package/skills/pds-audit-deprecations-react/SKILL.md +2 -2
- package/skills/pds-knowledge-react/SKILL.md +8 -7
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/InteractiveElementsInSummary.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-accordion/examples/StickySummary.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinRadioGroup.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinTable.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-banner/examples/Customization.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-banner/p-banner.md +2 -2
- package/skills/pds-knowledge-react/references/components/p-button-pure/p-button-pure.md +9 -0
- package/skills/pds-knowledge-react/references/components/p-carousel/p-carousel.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-fieldset/p-fieldset.md +7 -9
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/CustomStyling.tsx +3 -3
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-flyout/examples/StickyTop.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-inline-notification/p-inline-notification.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-input-search/p-input-search.md +26 -8
- package/skills/pds-knowledge-react/references/components/p-link/examples/Cover.tsx +20 -0
- package/skills/pds-knowledge-react/references/components/p-link/p-link.md +3 -0
- package/skills/pds-knowledge-react/references/components/p-link-pure/p-link-pure.md +39 -1
- package/skills/pds-knowledge-react/references/components/p-modal/examples/AlertDialog.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-modal/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-modal/examples/Scrollable.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-popover/p-popover.md +4 -2
- package/skills/pds-knowledge-react/references/components/p-sheet/examples/Default.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-sheet/p-sheet.md +6 -3
- package/skills/pds-knowledge-react/references/components/p-table/examples/CaptionSlot.tsx +1 -1
- package/skills/pds-knowledge-react/references/components/p-toast/p-toast.md +2 -2
- package/skills/pds-knowledge-react/references/deprecations.md +4 -4
- package/skills/pds-knowledge-react/references/examples/patterns/feedback/dialog.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/feedback/inline.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/{footer.md → footer/extended.md} +9 -8
- package/skills/pds-knowledge-react/references/examples/patterns/footer/simple.md +75 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/booking.md +479 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/contact.md +211 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/personal-details.md +253 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/search-combobox-link-list.md +363 -0
- package/skills/pds-knowledge-react/references/examples/patterns/forms/search-combobox-option-list.md +499 -0
- package/skills/pds-knowledge-react/references/examples/patterns/header/overlay.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/header/stacked.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/popover/feature-tour.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/popover/local-market-switch.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/popover/priority-navigation.md +2 -1
- package/skills/pds-knowledge-react/references/examples/patterns/tile/call-to-action.md +71 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/category.md +60 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/disclosure.md +84 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/equipment-stacked.md +54 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/equipment.md +69 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/image.md +64 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/model-navigation.md +52 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/model-selection.md +66 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/model-teaser.md +78 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/product.md +92 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/vehicle-listing.md +107 -0
- package/skills/pds-knowledge-react/references/examples/patterns/tile/video.md +114 -0
- package/skills/pds-knowledge-react/references/examples/templates/admin-panel.md +1 -0
- package/skills/pds-knowledge-react/references/examples/templates/landing-page.md +4 -3
- package/skills/pds-knowledge-react/references/examples/templates/personalized-mailing/no-video.md +1166 -0
- package/skills/pds-knowledge-react/references/examples/templates/personalized-mailing/video.md +1252 -0
- package/skills/pds-knowledge-react/references/examples.md +50 -1
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +239 -70
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +424 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/link.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/popover.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/sheet.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +2 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/dialog-base.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.cjs +4 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +14 -3
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +239 -70
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +411 -7
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/popover.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/sheet.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/dialog-base.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +5 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +15 -4
- package/ssr/esm/public-api.d.ts +8696 -5
- package/skills/pds-knowledge-react/references/components/p-input-search/examples/AriaCombobox.tsx +0 -35
- package/ssr/esm/BaseProps.d.ts +0 -2
- package/ssr/esm/getCachedMinifiedCss.d.ts +0 -23
- package/ssr/esm/hooks.d.ts +0 -15
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +0 -98
- package/ssr/esm/lib/components/ai-tag.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/banner.wrapper.d.ts +0 -86
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +0 -158
- package/ssr/esm/lib/components/button-tile.wrapper.d.ts +0 -140
- package/ssr/esm/lib/components/button.wrapper.d.ts +0 -118
- package/ssr/esm/lib/components/canvas.wrapper.d.ts +0 -54
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +0 -166
- package/ssr/esm/lib/components/checkbox.wrapper.d.ts +0 -160
- package/ssr/esm/lib/components/crest.wrapper.d.ts +0 -32
- package/ssr/esm/lib/components/display.wrapper.d.ts +0 -57
- package/ssr/esm/lib/components/divider.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +0 -53
- package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +0 -60
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +0 -50
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +0 -66
- package/ssr/esm/lib/components/flag.wrapper.d.ts +0 -34
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +0 -110
- package/ssr/esm/lib/components/heading.wrapper.d.ts +0 -76
- package/ssr/esm/lib/components/icon.wrapper.d.ts +0 -52
- package/ssr/esm/lib/components/index.d.ts +0 -74
- package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +0 -102
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +0 -228
- package/ssr/esm/lib/components/input-month.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +0 -220
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +0 -210
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +0 -220
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +0 -218
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +0 -218
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +0 -218
- package/ssr/esm/lib/components/input-week.wrapper.d.ts +0 -200
- package/ssr/esm/lib/components/link-pure.wrapper.d.ts +0 -138
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +0 -104
- package/ssr/esm/lib/components/link-tile.wrapper.d.ts +0 -126
- package/ssr/esm/lib/components/link.wrapper.d.ts +0 -98
- package/ssr/esm/lib/components/modal.wrapper.d.ts +0 -100
- package/ssr/esm/lib/components/model-signature.wrapper.d.ts +0 -68
- package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +0 -25
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +0 -156
- package/ssr/esm/lib/components/optgroup.wrapper.d.ts +0 -25
- package/ssr/esm/lib/components/pagination.wrapper.d.ts +0 -64
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +0 -160
- package/ssr/esm/lib/components/popover.wrapper.d.ts +0 -58
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +0 -43
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +0 -148
- package/ssr/esm/lib/components/scroller.wrapper.d.ts +0 -62
- package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +0 -58
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +0 -148
- package/ssr/esm/lib/components/select-option.wrapper.d.ts +0 -25
- package/ssr/esm/lib/components/select.wrapper.d.ts +0 -164
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +0 -80
- package/ssr/esm/lib/components/spinner.wrapper.d.ts +0 -34
- package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +0 -26
- package/ssr/esm/lib/components/switch.wrapper.d.ts +0 -94
- package/ssr/esm/lib/components/table-body.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table-cell.wrapper.d.ts +0 -17
- package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +0 -36
- package/ssr/esm/lib/components/table-head-row.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table-head.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table-row.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/table.wrapper.d.ts +0 -54
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +0 -70
- package/ssr/esm/lib/components/tabs-item.wrapper.d.ts +0 -15
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +0 -72
- package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +0 -34
- package/ssr/esm/lib/components/tag.wrapper.d.ts +0 -46
- package/ssr/esm/lib/components/text-list-item.wrapper.d.ts +0 -5
- package/ssr/esm/lib/components/text-list.wrapper.d.ts +0 -18
- package/ssr/esm/lib/components/text.wrapper.d.ts +0 -78
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +0 -238
- package/ssr/esm/lib/components/toast.wrapper.d.ts +0 -3
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +0 -42
- package/ssr/esm/lib/dsr-components/accordion.d.ts +0 -18
- package/ssr/esm/lib/dsr-components/ai-tag.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/banner.d.ts +0 -20
- package/ssr/esm/lib/dsr-components/button-pure.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/button-tile.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/button.d.ts +0 -19
- package/ssr/esm/lib/dsr-components/canvas.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/carousel.d.ts +0 -27
- package/ssr/esm/lib/dsr-components/checkbox.d.ts +0 -19
- package/ssr/esm/lib/dsr-components/crest.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/dialog-base.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/display.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/divider.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/drilldown-item.d.ts +0 -15
- package/ssr/esm/lib/dsr-components/drilldown-link.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/drilldown.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/fc-dismiss-button.d.ts +0 -16
- package/ssr/esm/lib/dsr-components/fieldset.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/filter-status-announcer.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/flag.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/flyout.d.ts +0 -26
- package/ssr/esm/lib/dsr-components/heading.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/icon.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/inline-notification.d.ts +0 -11
- package/ssr/esm/lib/dsr-components/input-base.d.ts +0 -38
- package/ssr/esm/lib/dsr-components/input-date.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-email.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-month.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-number.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-password.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/input-search.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/input-tel.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-text.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-time.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-url.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/input-week.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/label.d.ts +0 -24
- package/ssr/esm/lib/dsr-components/link-pure.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/link-tile-product.d.ts +0 -15
- package/ssr/esm/lib/dsr-components/link-tile.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/link.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/loading-message.d.ts +0 -8
- package/ssr/esm/lib/dsr-components/modal.d.ts +0 -23
- package/ssr/esm/lib/dsr-components/model-signature.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/multi-select-option.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/multi-select.d.ts +0 -40
- package/ssr/esm/lib/dsr-components/no-results-option.d.ts +0 -2
- package/ssr/esm/lib/dsr-components/notification-base.d.ts +0 -14
- package/ssr/esm/lib/dsr-components/optgroup.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/pagination.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/pin-code.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/popover.d.ts +0 -27
- package/ssr/esm/lib/dsr-components/radio-group-option.d.ts +0 -13
- package/ssr/esm/lib/dsr-components/radio-group.d.ts +0 -22
- package/ssr/esm/lib/dsr-components/required.d.ts +0 -2
- package/ssr/esm/lib/dsr-components/scroller.d.ts +0 -15
- package/ssr/esm/lib/dsr-components/segmented-control-item.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/segmented-control.d.ts +0 -21
- package/ssr/esm/lib/dsr-components/select-option.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/select.d.ts +0 -41
- package/ssr/esm/lib/dsr-components/sheet.d.ts +0 -20
- package/ssr/esm/lib/dsr-components/spinner.d.ts +0 -6
- package/ssr/esm/lib/dsr-components/state-message.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/stepper-horizontal-item.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/stepper-horizontal.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/switch.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/table-body.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-cell.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-head-cell.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-head-row.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-head.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table-row.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/table.d.ts +0 -10
- package/ssr/esm/lib/dsr-components/tabs-bar.d.ts +0 -17
- package/ssr/esm/lib/dsr-components/tabs-item.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/tabs.d.ts +0 -12
- package/ssr/esm/lib/dsr-components/tag-dismissible.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/tag.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/text-list-item.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/text-list.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/text.d.ts +0 -9
- package/ssr/esm/lib/dsr-components/textarea.d.ts +0 -19
- package/ssr/esm/lib/dsr-components/toast.d.ts +0 -7
- package/ssr/esm/lib/dsr-components/wordmark.d.ts +0 -6
- package/ssr/esm/lib/types.d.ts +0 -1862
- package/ssr/esm/minifyCss.d.ts +0 -1
- package/ssr/esm/provider.d.ts +0 -10
- package/ssr/esm/splitChildren.d.ts +0 -17
- package/ssr/esm/utils.d.ts +0 -4
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, TextareaAriaAttribute, BreakpointCustomizable, TextareaBlurEventDetail, TextareaChangeEventDetail, TextareaInputEventDetail, TextareaResize, TextareaState, TextareaWrap } from '../types';
|
|
3
|
-
export type PTextareaProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets additional ARIA attributes on the native textarea to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<TextareaAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Provides the browser with a hint to enable text autofill suggestions for the textarea (e.g. `autocomplete='on'`).
|
|
10
|
-
*/
|
|
11
|
-
autoComplete?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Reduces the textarea's initial height and padding for use in dense layouts where vertical space is limited.
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
16
|
-
compact?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Shows a live character counter below the textarea indicating how many characters the user has typed relative to `maxLength`.
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
counter?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Sets a supplementary description displayed below the label to give users additional guidance about the textarea.
|
|
24
|
-
* @default ''
|
|
25
|
-
*/
|
|
26
|
-
description?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Prevents user interaction with the textarea and excludes its value from form submissions.
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Associates the textarea with a form element by its ID when the textarea is not a direct descendant of that form.
|
|
34
|
-
*/
|
|
35
|
-
form?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
38
|
-
* @default false
|
|
39
|
-
*/
|
|
40
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
41
|
-
/**
|
|
42
|
-
* Sets the visible label text displayed above the textarea to identify its purpose.
|
|
43
|
-
* @default ''
|
|
44
|
-
*/
|
|
45
|
-
label?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Sets the maximum number of characters the user is allowed to enter into the textarea.
|
|
48
|
-
*/
|
|
49
|
-
maxLength?: number;
|
|
50
|
-
/**
|
|
51
|
-
* Sets the validation feedback message displayed below the textarea when `state` is `success` or `error`.
|
|
52
|
-
* @default ''
|
|
53
|
-
*/
|
|
54
|
-
message?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Sets the minimum number of characters required for the textarea's value to pass constraint validation.
|
|
57
|
-
*/
|
|
58
|
-
minLength?: number;
|
|
59
|
-
/**
|
|
60
|
-
* Sets the name of the textarea submitted with the form data to identify this field's value on the server.
|
|
61
|
-
*/
|
|
62
|
-
name: string;
|
|
63
|
-
/**
|
|
64
|
-
* Emitted when the textarea element loses focus, regardless of whether the value changed.
|
|
65
|
-
*/
|
|
66
|
-
onBlur?: (event: CustomEvent<TextareaBlurEventDetail>) => void;
|
|
67
|
-
/**
|
|
68
|
-
* Emitted when the textarea loses focus after its value was changed, equivalent to the native `change` event.
|
|
69
|
-
*/
|
|
70
|
-
onChange?: (event: CustomEvent<TextareaChangeEventDetail>) => void;
|
|
71
|
-
/**
|
|
72
|
-
* Emitted on every keystroke or value change as a direct result of user interaction, equivalent to the native `input` event.
|
|
73
|
-
*/
|
|
74
|
-
onInput?: (event: CustomEvent<TextareaInputEventDetail>) => void;
|
|
75
|
-
/**
|
|
76
|
-
* Sets placeholder text displayed inside the textarea when it is empty to hint at the expected content format.
|
|
77
|
-
* @default ''
|
|
78
|
-
*/
|
|
79
|
-
placeholder?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Makes the textarea read-only so users cannot modify the value, while still including it in form submissions.
|
|
82
|
-
* @default false
|
|
83
|
-
*/
|
|
84
|
-
readOnly?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Marks the textarea as required so the form cannot be submitted while this field is empty.
|
|
87
|
-
* @default false
|
|
88
|
-
*/
|
|
89
|
-
required?: boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Controls whether and in which direction the user can resize the textarea (`horizontal`, `vertical`, `both`, or `none`).
|
|
92
|
-
* @default 'vertical'
|
|
93
|
-
*/
|
|
94
|
-
resize?: TextareaResize;
|
|
95
|
-
/**
|
|
96
|
-
* Sets the initial visible height of the textarea in lines of text. Has no effect when the `--p-textarea-field-sizing` CSS variable is set to `content`.
|
|
97
|
-
* @default 7
|
|
98
|
-
*/
|
|
99
|
-
rows?: number;
|
|
100
|
-
/**
|
|
101
|
-
* Controls whether the browser's built-in spell-checking and grammar checking is enabled for the textarea content.
|
|
102
|
-
*/
|
|
103
|
-
spellCheck?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Sets the validation state of the textarea, which controls its visual appearance and feedback message style (`none`, `success`, `error`).
|
|
106
|
-
* @default 'none'
|
|
107
|
-
*/
|
|
108
|
-
state?: TextareaState;
|
|
109
|
-
/**
|
|
110
|
-
* Sets the current multi-line text value of the textarea and reflects any changes made by the user.
|
|
111
|
-
* @default ''
|
|
112
|
-
*/
|
|
113
|
-
value?: string | null;
|
|
114
|
-
/**
|
|
115
|
-
* Controls how the submitted text wraps in the form data: `soft` wraps only visually, `hard` inserts line breaks at the textarea width.
|
|
116
|
-
* @default 'soft'
|
|
117
|
-
*/
|
|
118
|
-
wrap?: TextareaWrap;
|
|
119
|
-
};
|
|
120
|
-
export declare const PTextarea: 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"> & {
|
|
121
|
-
/**
|
|
122
|
-
* Sets additional ARIA attributes on the native textarea to improve accessibility for screen readers.
|
|
123
|
-
*/
|
|
124
|
-
aria?: SelectedAriaAttributes<TextareaAriaAttribute>;
|
|
125
|
-
/**
|
|
126
|
-
* Provides the browser with a hint to enable text autofill suggestions for the textarea (e.g. `autocomplete='on'`).
|
|
127
|
-
*/
|
|
128
|
-
autoComplete?: string;
|
|
129
|
-
/**
|
|
130
|
-
* Reduces the textarea's initial height and padding for use in dense layouts where vertical space is limited.
|
|
131
|
-
* @default false
|
|
132
|
-
*/
|
|
133
|
-
compact?: boolean;
|
|
134
|
-
/**
|
|
135
|
-
* Shows a live character counter below the textarea indicating how many characters the user has typed relative to `maxLength`.
|
|
136
|
-
* @default false
|
|
137
|
-
*/
|
|
138
|
-
counter?: boolean;
|
|
139
|
-
/**
|
|
140
|
-
* Sets a supplementary description displayed below the label to give users additional guidance about the textarea.
|
|
141
|
-
* @default ''
|
|
142
|
-
*/
|
|
143
|
-
description?: string;
|
|
144
|
-
/**
|
|
145
|
-
* Prevents user interaction with the textarea and excludes its value from form submissions.
|
|
146
|
-
* @default false
|
|
147
|
-
*/
|
|
148
|
-
disabled?: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* Associates the textarea with a form element by its ID when the textarea is not a direct descendant of that form.
|
|
151
|
-
*/
|
|
152
|
-
form?: string;
|
|
153
|
-
/**
|
|
154
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
155
|
-
* @default false
|
|
156
|
-
*/
|
|
157
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
158
|
-
/**
|
|
159
|
-
* Sets the visible label text displayed above the textarea to identify its purpose.
|
|
160
|
-
* @default ''
|
|
161
|
-
*/
|
|
162
|
-
label?: string;
|
|
163
|
-
/**
|
|
164
|
-
* Sets the maximum number of characters the user is allowed to enter into the textarea.
|
|
165
|
-
*/
|
|
166
|
-
maxLength?: number;
|
|
167
|
-
/**
|
|
168
|
-
* Sets the validation feedback message displayed below the textarea when `state` is `success` or `error`.
|
|
169
|
-
* @default ''
|
|
170
|
-
*/
|
|
171
|
-
message?: string;
|
|
172
|
-
/**
|
|
173
|
-
* Sets the minimum number of characters required for the textarea's value to pass constraint validation.
|
|
174
|
-
*/
|
|
175
|
-
minLength?: number;
|
|
176
|
-
/**
|
|
177
|
-
* Sets the name of the textarea submitted with the form data to identify this field's value on the server.
|
|
178
|
-
*/
|
|
179
|
-
name: string;
|
|
180
|
-
/**
|
|
181
|
-
* Emitted when the textarea element loses focus, regardless of whether the value changed.
|
|
182
|
-
*/
|
|
183
|
-
onBlur?: (event: CustomEvent<TextareaBlurEventDetail>) => void;
|
|
184
|
-
/**
|
|
185
|
-
* Emitted when the textarea loses focus after its value was changed, equivalent to the native `change` event.
|
|
186
|
-
*/
|
|
187
|
-
onChange?: (event: CustomEvent<TextareaChangeEventDetail>) => void;
|
|
188
|
-
/**
|
|
189
|
-
* Emitted on every keystroke or value change as a direct result of user interaction, equivalent to the native `input` event.
|
|
190
|
-
*/
|
|
191
|
-
onInput?: (event: CustomEvent<TextareaInputEventDetail>) => void;
|
|
192
|
-
/**
|
|
193
|
-
* Sets placeholder text displayed inside the textarea when it is empty to hint at the expected content format.
|
|
194
|
-
* @default ''
|
|
195
|
-
*/
|
|
196
|
-
placeholder?: string;
|
|
197
|
-
/**
|
|
198
|
-
* Makes the textarea read-only so users cannot modify the value, while still including it in form submissions.
|
|
199
|
-
* @default false
|
|
200
|
-
*/
|
|
201
|
-
readOnly?: boolean;
|
|
202
|
-
/**
|
|
203
|
-
* Marks the textarea as required so the form cannot be submitted while this field is empty.
|
|
204
|
-
* @default false
|
|
205
|
-
*/
|
|
206
|
-
required?: boolean;
|
|
207
|
-
/**
|
|
208
|
-
* Controls whether and in which direction the user can resize the textarea (`horizontal`, `vertical`, `both`, or `none`).
|
|
209
|
-
* @default 'vertical'
|
|
210
|
-
*/
|
|
211
|
-
resize?: TextareaResize;
|
|
212
|
-
/**
|
|
213
|
-
* Sets the initial visible height of the textarea in lines of text. Has no effect when the `--p-textarea-field-sizing` CSS variable is set to `content`.
|
|
214
|
-
* @default 7
|
|
215
|
-
*/
|
|
216
|
-
rows?: number;
|
|
217
|
-
/**
|
|
218
|
-
* Controls whether the browser's built-in spell-checking and grammar checking is enabled for the textarea content.
|
|
219
|
-
*/
|
|
220
|
-
spellCheck?: boolean;
|
|
221
|
-
/**
|
|
222
|
-
* Sets the validation state of the textarea, which controls its visual appearance and feedback message style (`none`, `success`, `error`).
|
|
223
|
-
* @default 'none'
|
|
224
|
-
*/
|
|
225
|
-
state?: TextareaState;
|
|
226
|
-
/**
|
|
227
|
-
* Sets the current multi-line text value of the textarea and reflects any changes made by the user.
|
|
228
|
-
* @default ''
|
|
229
|
-
*/
|
|
230
|
-
value?: string | null;
|
|
231
|
-
/**
|
|
232
|
-
* Controls how the submitted text wraps in the form data: `soft` wraps only visually, `hard` inserts line breaks at the textarea width.
|
|
233
|
-
* @default 'soft'
|
|
234
|
-
*/
|
|
235
|
-
wrap?: TextareaWrap;
|
|
236
|
-
} & {
|
|
237
|
-
children?: import("react").ReactNode | undefined;
|
|
238
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
export type PToastProps = BaseProps & {};
|
|
3
|
-
export declare const PToast: 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"> & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, WordmarkAriaAttribute, WordmarkSize, WordmarkTarget } from '../types';
|
|
3
|
-
export type PWordmarkProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets ARIA attributes on the anchor element to improve accessibility when the wordmark is used as a link.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<WordmarkAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* When set, wraps the wordmark in an anchor element that navigates to the given URL on click.
|
|
10
|
-
*/
|
|
11
|
-
href?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Sets the display size of the Porsche wordmark SVG using predefined PDS size tokens.
|
|
14
|
-
* @default 'small'
|
|
15
|
-
*/
|
|
16
|
-
size?: WordmarkSize;
|
|
17
|
-
/**
|
|
18
|
-
* Specifies where to open the linked URL when `href` is set (e.g. `_self`, `_blank`).
|
|
19
|
-
* @default '_self'
|
|
20
|
-
*/
|
|
21
|
-
target?: WordmarkTarget;
|
|
22
|
-
};
|
|
23
|
-
export declare const PWordmark: 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"> & {
|
|
24
|
-
/**
|
|
25
|
-
* Sets ARIA attributes on the anchor element to improve accessibility when the wordmark is used as a link.
|
|
26
|
-
*/
|
|
27
|
-
aria?: SelectedAriaAttributes<WordmarkAriaAttribute>;
|
|
28
|
-
/**
|
|
29
|
-
* When set, wraps the wordmark in an anchor element that navigates to the given URL on click.
|
|
30
|
-
*/
|
|
31
|
-
href?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Sets the display size of the Porsche wordmark SVG using predefined PDS size tokens.
|
|
34
|
-
* @default 'small'
|
|
35
|
-
*/
|
|
36
|
-
size?: WordmarkSize;
|
|
37
|
-
/**
|
|
38
|
-
* Specifies where to open the linked URL when `href` is set (e.g. `_self`, `_blank`).
|
|
39
|
-
* @default '_self'
|
|
40
|
-
*/
|
|
41
|
-
target?: WordmarkTarget;
|
|
42
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "summary", "description": "Content for the accordion's summary section. Clicking toggles the accordion open and closed." }
|
|
5
|
-
* @slot {"name": "summary-before", "description": "Content or interactive elements placed before the accordion's summary section." }
|
|
6
|
-
* @slot {"name": "summary-after", "description": "Content or interactive elements placed after the accordion's summary section." }
|
|
7
|
-
* @slot {"name": "heading", "description": "Content for the accordion's heading section. Clicking toggles the accordion open and closed.", "isDeprecated": true }
|
|
8
|
-
* @slot {"name": "", "description": "Main content displayed when the accordion is expanded." }
|
|
9
|
-
*
|
|
10
|
-
* @controlled {"props": ["open"], "event": "update"}
|
|
11
|
-
*/
|
|
12
|
-
export declare class DSRAccordion extends Component<any> {
|
|
13
|
-
host: HTMLElement;
|
|
14
|
-
private hasSummary;
|
|
15
|
-
private hasSummaryBefore;
|
|
16
|
-
private hasSummaryAfter;
|
|
17
|
-
render(): JSX.Element;
|
|
18
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "heading", "description": "Defines the heading of the banner. Can be used as an alternative to the `heading` prop for rich content." }
|
|
5
|
-
* @slot {"name": "", "description": "Default slot for the banner description content." }
|
|
6
|
-
* @slot {"name": "description", "description": "Deprecated: Use the default slot instead.", "isDeprecated": true }
|
|
7
|
-
*
|
|
8
|
-
* @controlled {"props": ["open"], "event": "dismiss"}
|
|
9
|
-
*/
|
|
10
|
-
export declare class DSRBanner extends Component<any> {
|
|
11
|
-
host: HTMLElement;
|
|
12
|
-
private refPopover;
|
|
13
|
-
private refDismiss;
|
|
14
|
-
private hasHeadingSlot;
|
|
15
|
-
private hasDescriptionSlot;
|
|
16
|
-
private hasKeydownListener;
|
|
17
|
-
private isInitialRender;
|
|
18
|
-
private topLayer;
|
|
19
|
-
render(): JSX.Element;
|
|
20
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "", "description": "Default slot for the button label." }
|
|
5
|
-
*/
|
|
6
|
-
export declare class DSRButtonPure extends Component<any> {
|
|
7
|
-
host: HTMLElement;
|
|
8
|
-
private internals;
|
|
9
|
-
private initialLoading;
|
|
10
|
-
private get isDisabledOrLoading();
|
|
11
|
-
render(): JSX.Element;
|
|
12
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "header", "description": "Renders a header section above the content area." }
|
|
5
|
-
* @slot {"name": "", "description": "Default slot for the img or picture tag." }
|
|
6
|
-
* @slot {"name": "footer", "description": "Renders a footer section below the description." }
|
|
7
|
-
*/
|
|
8
|
-
export declare class DSRButtonTile extends Component<any> {
|
|
9
|
-
host: HTMLElement;
|
|
10
|
-
private hasFooterSlot;
|
|
11
|
-
render(): JSX.Element;
|
|
12
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "", "description": "Default slot for the button label." }
|
|
5
|
-
*/
|
|
6
|
-
export declare class DSRButton extends Component<any> {
|
|
7
|
-
host: HTMLElement;
|
|
8
|
-
private internals;
|
|
9
|
-
private initialLoading;
|
|
10
|
-
/**
|
|
11
|
-
* Exposes the loading state as CSS custom state, which can be targeted with the `:state()` pseudo-class,
|
|
12
|
-
* e.g. `p-button:state(loading) { --p-button-bg: deeppink; }`.
|
|
13
|
-
* This is experimental and a progressive enhancement: it silently does nothing in browsers without `CustomStateSet`
|
|
14
|
-
* support and it can't be expressed during SSR, since custom states are only applied once the component hydrates.
|
|
15
|
-
* The disabled state doesn't need a custom state, since the button is form-associated and therefore matched by the
|
|
16
|
-
* native `:disabled` pseudo-class.
|
|
17
|
-
*/
|
|
18
|
-
render(): JSX.Element;
|
|
19
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "title", "description": "Renders the application name in the header section of the sidebar start area." }
|
|
5
|
-
* @slot {"name": "header-start", "description": "Renders a **sticky** header section above the content area on the **start** side (**left** in **LTR** mode / **right** in **RTL** mode)." }
|
|
6
|
-
* @slot {"name": "header-end", "description": "Renders a **sticky** header section above the content area on the **end** side (**right** in **LTR** mode / **left** in **RTL** mode)." }
|
|
7
|
-
* @slot {"name": "", "description": "Default slot for the main content." }
|
|
8
|
-
* @slot {"name": "footer", "description": "Renders a **sticky** footer section underneath the main content." }
|
|
9
|
-
* @slot {"name": "sidebar-start", "description": "Renders a sidebar area on the **start** side (**left** in **LTR** mode / **right** in **RTL** mode). On mobile view it transforms into a flyout." }
|
|
10
|
-
* @slot {"name": "sidebar-end", "description": "Renders a sidebar area on the **end** side (**right** in **LTR** mode / **left** in **RTL** mode). On mobile view it transforms into a flyout." }
|
|
11
|
-
* @slot {"name": "sidebar-end-header", "description": "Renders in the header section of the sidebar end area." }
|
|
12
|
-
* @slot {"name": "background", "description": "Can be used to pass a sticky media element <img/> or <video/> placed underneath the main content." }
|
|
13
|
-
*
|
|
14
|
-
* @experimental
|
|
15
|
-
*/
|
|
16
|
-
export declare class DSRCanvas extends Component<any> {
|
|
17
|
-
host: HTMLElement;
|
|
18
|
-
private hasTitle;
|
|
19
|
-
private hasSidebarEnd;
|
|
20
|
-
private hasFooter;
|
|
21
|
-
private hasBackground;
|
|
22
|
-
render(): JSX.Element;
|
|
23
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "heading", "description": "Renders a heading above the carousel." }
|
|
5
|
-
* @slot {"name": "description", "description": "Renders descriptive content below the heading." }
|
|
6
|
-
* @slot {"name": "controls", "description": "Renders custom controls such as navigation buttons or indicators." }
|
|
7
|
-
* @slot {"name": "", "description": "Default slot for the carousel slides." }
|
|
8
|
-
*
|
|
9
|
-
* @controlled { "props": ["activeSlideIndex"], "event": "update", "isInternallyMutated": true }
|
|
10
|
-
*/
|
|
11
|
-
export declare class DSRCarousel extends Component<any> {
|
|
12
|
-
host: HTMLElement;
|
|
13
|
-
private amountOfPages;
|
|
14
|
-
private splide;
|
|
15
|
-
private container;
|
|
16
|
-
private btnPrev;
|
|
17
|
-
private btnNext;
|
|
18
|
-
private paginationEl;
|
|
19
|
-
private slideStatusEl;
|
|
20
|
-
private slides;
|
|
21
|
-
/** Skips the next live-region update when navigation was caused by focusing a slide. */
|
|
22
|
-
private suppressNextStatusAnnounce;
|
|
23
|
-
private get splideSlides();
|
|
24
|
-
private get hasNavigation();
|
|
25
|
-
render(): JSX.Element;
|
|
26
|
-
private getPageCount;
|
|
27
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
5
|
-
* @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
|
|
6
|
-
* @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
7
|
-
*/
|
|
8
|
-
export declare class DSRCheckbox extends Component<any> {
|
|
9
|
-
host: HTMLElement;
|
|
10
|
-
private internals;
|
|
11
|
-
private initialLoading;
|
|
12
|
-
private defaultChecked;
|
|
13
|
-
private checkboxInputElement;
|
|
14
|
-
private externalLabel;
|
|
15
|
-
formResetCallback(): void;
|
|
16
|
-
formDisabledCallback(): void;
|
|
17
|
-
formStateRestoreCallback(): void;
|
|
18
|
-
render(): JSX.Element;
|
|
19
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { AriaAttributes } from '../types';
|
|
2
|
-
import type { FC } from 'react';
|
|
3
|
-
import type { JSX } from 'react';
|
|
4
|
-
type DialogBaseProps = {
|
|
5
|
-
children?: JSX.Element;
|
|
6
|
-
inert: boolean;
|
|
7
|
-
dialogRef?: (el: HTMLDialogElement) => void;
|
|
8
|
-
scrollerRef?: (el: HTMLDivElement) => void;
|
|
9
|
-
containerClass: 'flyout' | 'modal' | 'sheet';
|
|
10
|
-
onCancel?: (e: Event) => void;
|
|
11
|
-
onClick?: (e: MouseEvent) => void;
|
|
12
|
-
onMouseDown?: (e: MouseEvent) => void;
|
|
13
|
-
onTransitionEnd?: (e: TransitionEvent) => void;
|
|
14
|
-
onDismiss?: () => void;
|
|
15
|
-
ariaAttributes?: AriaAttributes;
|
|
16
|
-
dismissable?: boolean;
|
|
17
|
-
header?: JSX.Element;
|
|
18
|
-
footer?: JSX.Element;
|
|
19
|
-
subFooter?: JSX.Element;
|
|
20
|
-
};
|
|
21
|
-
export declare const DialogBase: FC<DialogBaseProps>;
|
|
22
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "", "description": "Default slot for the display text." }
|
|
5
|
-
*
|
|
6
|
-
* @deprecated since v4.0.0, will be removed with next major release. Please use `p-heading` instead.
|
|
7
|
-
*/
|
|
8
|
-
export declare class DSRDisplay extends Component<any> {
|
|
9
|
-
host: HTMLElement;
|
|
10
|
-
render(): JSX.Element;
|
|
11
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "", "description": "Default slot for the main content." }
|
|
5
|
-
* @slot {"name": "button", "description": "Shows a custom button to reach a deeper level of the navigation structure." }
|
|
6
|
-
* @slot {"name": "header", "description": "Shows a custom header section on mobile view." }
|
|
7
|
-
* @experimental
|
|
8
|
-
*/
|
|
9
|
-
export declare class DSRDrilldownItem extends Component<any> {
|
|
10
|
-
host: HTMLElement;
|
|
11
|
-
private scroller;
|
|
12
|
-
private hasSlottedHeader;
|
|
13
|
-
private hasSlottedButton;
|
|
14
|
-
render(): JSX.Element;
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "", "description": "Default slot to render the link label." }
|
|
5
|
-
*
|
|
6
|
-
* @experimental
|
|
7
|
-
*/
|
|
8
|
-
export declare class DSRDrilldownLink extends Component<any> {
|
|
9
|
-
host: HTMLElement;
|
|
10
|
-
render(): JSX.Element;
|
|
11
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "", "description": "Default slot to render p-drilldown items." }
|
|
5
|
-
*
|
|
6
|
-
* @controlled {"props": ["open"], "event": "dismiss"}
|
|
7
|
-
* @controlled {"props": ["activeIdentifier"], "event": "update"}
|
|
8
|
-
*
|
|
9
|
-
* @experimental
|
|
10
|
-
*/
|
|
11
|
-
export declare class DSRDrilldown extends Component<any> {
|
|
12
|
-
host: HTMLElement;
|
|
13
|
-
private drilldownItemElements;
|
|
14
|
-
private primary;
|
|
15
|
-
private isSecondaryDrawerVisible;
|
|
16
|
-
private dialog;
|
|
17
|
-
private drawer;
|
|
18
|
-
private isDesktop;
|
|
19
|
-
private isPointerDownInside;
|
|
20
|
-
componentWillLoad(): Promise<void>;
|
|
21
|
-
render(): JSX.Element;
|
|
22
|
-
private onDismissButtonClick;
|
|
23
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
type FCDismissButtonProps = {
|
|
3
|
-
/** Accessible (visually hidden) label of the dismiss button. */
|
|
4
|
-
label: string;
|
|
5
|
-
/** Optional value forwarded as `aria-description` to provide additional context (e.g. the notification heading). */
|
|
6
|
-
ariaDescription?: string;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Shared dismiss/close button used across dialog-based (flyout/modal/sheet) and notification-based
|
|
10
|
-
* (banner/inline-notification/toast) components. Renders a native `<button className="dismiss">` with the close icon
|
|
11
|
-
* inlined as a CSS mask (see `fc-dismiss-button-styles.ts`) — so it needs neither a nested `p-button` nor a `p-icon`
|
|
12
|
-
* (avoiding the async CDN icon fetch). Each consumer supplies the variant/positioning styling via the `.dismiss` class.
|
|
13
|
-
* The visible label text is visually hidden but exposed to assistive technology as the accessible name.
|
|
14
|
-
*/
|
|
15
|
-
export declare const FCDismissButton: FC<FCDismissButtonProps>;
|
|
16
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
|
|
5
|
-
* @slot {"name": "", "description": "Default slot for the main content." }
|
|
6
|
-
* @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
|
|
7
|
-
*/
|
|
8
|
-
export declare class DSRFieldset extends Component<any> {
|
|
9
|
-
host: HTMLElement;
|
|
10
|
-
render(): JSX.Element;
|
|
11
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "header", "description": "Renders a sticky header section above the content area." }
|
|
5
|
-
* @slot {"name": "", "description": "Default slot for the main content." }
|
|
6
|
-
* @slot {"name": "footer", "description": "Shows a sticky footer section, flowing under the content area when scrollable." }
|
|
7
|
-
* @slot {"name": "sub-footer", "description": "Renders additional content below the footer, such as legal information or FAQs. It appears when the flyout has enough space or when the user scrolls to the end." }
|
|
8
|
-
*
|
|
9
|
-
* @controlled {"props": ["open"], "event": "dismiss"}
|
|
10
|
-
*/
|
|
11
|
-
export declare class DSRFlyout extends Component<any> {
|
|
12
|
-
host: HTMLElement;
|
|
13
|
-
private dialog;
|
|
14
|
-
private scroller;
|
|
15
|
-
private header;
|
|
16
|
-
private footer;
|
|
17
|
-
private hasHeader;
|
|
18
|
-
private hasFooter;
|
|
19
|
-
private hasSubFooter;
|
|
20
|
-
private isPointerDownInside;
|
|
21
|
-
private topLayer;
|
|
22
|
-
render(): JSX.Element;
|
|
23
|
-
private onDialogCancel;
|
|
24
|
-
private onDialogBackdropClick;
|
|
25
|
-
private onDismissButtonClick;
|
|
26
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Component } from 'react';
|
|
2
|
-
import type { JSX } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* @slot {"name": "", "description": "Default slot to render the heading." }
|
|
5
|
-
*/
|
|
6
|
-
export declare class DSRHeading extends Component<any> {
|
|
7
|
-
host: HTMLElement;
|
|
8
|
-
render(): JSX.Element;
|
|
9
|
-
}
|