@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,160 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { BreakpointCustomizable, PinCodeLength, PinCodeChangeEventDetail, PinCodeState, PinCodeType } from '../types';
|
|
3
|
-
export type PPinCodeProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Reduces the pin code field height and spacing for use in dense layouts where vertical space is limited.
|
|
6
|
-
* @default false
|
|
7
|
-
*/
|
|
8
|
-
compact?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Sets a supplementary description displayed below the label to give users additional guidance about the pin code.
|
|
11
|
-
* @default ''
|
|
12
|
-
*/
|
|
13
|
-
description?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Prevents user interaction with all pin code fields and blocks events while the component is disabled.
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Associates the pin code with a form element by its ID when it is not a direct descendant of that form.
|
|
21
|
-
*/
|
|
22
|
-
form?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Hides the visible label and description while keeping them accessible to screen readers. Supports responsive breakpoint values.
|
|
25
|
-
* @default false
|
|
26
|
-
*/
|
|
27
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
|
-
/**
|
|
29
|
-
* Sets the visible label text displayed above the pin code fields to identify their purpose.
|
|
30
|
-
* @default ''
|
|
31
|
-
*/
|
|
32
|
-
label?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Sets the number of individual input fields rendered, determining how many characters the pin code consists of.
|
|
35
|
-
* @default 4
|
|
36
|
-
*/
|
|
37
|
-
length?: PinCodeLength;
|
|
38
|
-
/**
|
|
39
|
-
* Disables the pin code fields and shows a loading spinner to indicate an ongoing background operation.
|
|
40
|
-
* @default false
|
|
41
|
-
*/
|
|
42
|
-
loading?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Sets the validation feedback message displayed below the pin code when `state` is `success` or `error`.
|
|
45
|
-
* @default ''
|
|
46
|
-
*/
|
|
47
|
-
message?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Sets the name of the control submitted with the form data to identify the pin code value on the server.
|
|
50
|
-
*/
|
|
51
|
-
name?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Emitted when the pin code component loses focus after the user finishes entering characters.
|
|
54
|
-
*/
|
|
55
|
-
onBlur?: (event: CustomEvent<void>) => void;
|
|
56
|
-
/**
|
|
57
|
-
* Emitted when the pin code value changes as the user types, carrying `{ value: string; isComplete: boolean }` in the event detail.
|
|
58
|
-
*/
|
|
59
|
-
onChange?: (event: CustomEvent<PinCodeChangeEventDetail>) => void;
|
|
60
|
-
/**
|
|
61
|
-
* Marks the pin code as required so the form cannot be submitted until all fields are filled.
|
|
62
|
-
* @default false
|
|
63
|
-
*/
|
|
64
|
-
required?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Sets the validation state of the pin code, which controls its visual appearance and feedback message style (`none`, `success`, `error`).
|
|
67
|
-
* @default 'none'
|
|
68
|
-
*/
|
|
69
|
-
state?: PinCodeState;
|
|
70
|
-
/**
|
|
71
|
-
* Controls whether the individual input fields mask their content as password dots (`password`) or show digits (`number`).
|
|
72
|
-
* @default 'number'
|
|
73
|
-
*/
|
|
74
|
-
type?: PinCodeType;
|
|
75
|
-
/**
|
|
76
|
-
* Sets the current concatenated value. Numbers are accepted for programmatic assignment, but user input updates the value as a string.
|
|
77
|
-
* @default ''
|
|
78
|
-
*/
|
|
79
|
-
value?: string | number | null;
|
|
80
|
-
};
|
|
81
|
-
export declare const PPinCode: 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"> & {
|
|
82
|
-
/**
|
|
83
|
-
* Reduces the pin code field height and spacing for use in dense layouts where vertical space is limited.
|
|
84
|
-
* @default false
|
|
85
|
-
*/
|
|
86
|
-
compact?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Sets a supplementary description displayed below the label to give users additional guidance about the pin code.
|
|
89
|
-
* @default ''
|
|
90
|
-
*/
|
|
91
|
-
description?: string;
|
|
92
|
-
/**
|
|
93
|
-
* Prevents user interaction with all pin code fields and blocks events while the component is disabled.
|
|
94
|
-
* @default false
|
|
95
|
-
*/
|
|
96
|
-
disabled?: boolean;
|
|
97
|
-
/**
|
|
98
|
-
* Associates the pin code with a form element by its ID when it is not a direct descendant of that form.
|
|
99
|
-
*/
|
|
100
|
-
form?: string;
|
|
101
|
-
/**
|
|
102
|
-
* Hides the visible label and description while keeping them accessible to screen readers. Supports responsive breakpoint values.
|
|
103
|
-
* @default false
|
|
104
|
-
*/
|
|
105
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
106
|
-
/**
|
|
107
|
-
* Sets the visible label text displayed above the pin code fields to identify their purpose.
|
|
108
|
-
* @default ''
|
|
109
|
-
*/
|
|
110
|
-
label?: string;
|
|
111
|
-
/**
|
|
112
|
-
* Sets the number of individual input fields rendered, determining how many characters the pin code consists of.
|
|
113
|
-
* @default 4
|
|
114
|
-
*/
|
|
115
|
-
length?: PinCodeLength;
|
|
116
|
-
/**
|
|
117
|
-
* Disables the pin code fields and shows a loading spinner to indicate an ongoing background operation.
|
|
118
|
-
* @default false
|
|
119
|
-
*/
|
|
120
|
-
loading?: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* Sets the validation feedback message displayed below the pin code when `state` is `success` or `error`.
|
|
123
|
-
* @default ''
|
|
124
|
-
*/
|
|
125
|
-
message?: string;
|
|
126
|
-
/**
|
|
127
|
-
* Sets the name of the control submitted with the form data to identify the pin code value on the server.
|
|
128
|
-
*/
|
|
129
|
-
name?: string;
|
|
130
|
-
/**
|
|
131
|
-
* Emitted when the pin code component loses focus after the user finishes entering characters.
|
|
132
|
-
*/
|
|
133
|
-
onBlur?: (event: CustomEvent<void>) => void;
|
|
134
|
-
/**
|
|
135
|
-
* Emitted when the pin code value changes as the user types, carrying `{ value: string; isComplete: boolean }` in the event detail.
|
|
136
|
-
*/
|
|
137
|
-
onChange?: (event: CustomEvent<PinCodeChangeEventDetail>) => void;
|
|
138
|
-
/**
|
|
139
|
-
* Marks the pin code as required so the form cannot be submitted until all fields are filled.
|
|
140
|
-
* @default false
|
|
141
|
-
*/
|
|
142
|
-
required?: boolean;
|
|
143
|
-
/**
|
|
144
|
-
* Sets the validation state of the pin code, which controls its visual appearance and feedback message style (`none`, `success`, `error`).
|
|
145
|
-
* @default 'none'
|
|
146
|
-
*/
|
|
147
|
-
state?: PinCodeState;
|
|
148
|
-
/**
|
|
149
|
-
* Controls whether the individual input fields mask their content as password dots (`password`) or show digits (`number`).
|
|
150
|
-
* @default 'number'
|
|
151
|
-
*/
|
|
152
|
-
type?: PinCodeType;
|
|
153
|
-
/**
|
|
154
|
-
* Sets the current concatenated value. Numbers are accepted for programmatic assignment, but user input updates the value as a string.
|
|
155
|
-
* @default ''
|
|
156
|
-
*/
|
|
157
|
-
value?: string | number | null;
|
|
158
|
-
} & {
|
|
159
|
-
children?: import("react").ReactNode | undefined;
|
|
160
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, PopoverAriaAttribute, PopoverDirection, PopoverDismissEventDetail } from '../types';
|
|
3
|
-
export type PPopoverProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets ARIA attributes on the popover panel to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<PopoverAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Reduces padding and spacing for a more compact layout, useful in space-constrained interfaces.
|
|
10
|
-
*/
|
|
11
|
-
compact?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Sets the text content displayed inside the popover panel when it is open, providing contextual help or information. Takes precedence over the default slot when both are provided.
|
|
14
|
-
*/
|
|
15
|
-
description?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Sets the preferred direction for the popover to open relative to its trigger button. Falls back to the direction with the most available viewport space.
|
|
18
|
-
* @default 'bottom'
|
|
19
|
-
*/
|
|
20
|
-
direction?: PopoverDirection;
|
|
21
|
-
/**
|
|
22
|
-
* Emitted in controlled mode when the user requests to close the popover via the Escape key, an outside click, or when keyboard focus leaves the popover (Tab / Shift+Tab). The event detail identifies which of the three was used.
|
|
23
|
-
*/
|
|
24
|
-
onDismiss?: (event: CustomEvent<PopoverDismissEventDetail>) => void;
|
|
25
|
-
/**
|
|
26
|
-
* Controls whether the popover is visible. When set (controlled mode), visibility follows this prop and the consumer owns the open state via a slotted `button`. When omitted (uncontrolled mode), the component manages visibility itself.
|
|
27
|
-
*/
|
|
28
|
-
open?: boolean;
|
|
29
|
-
};
|
|
30
|
-
export declare const PPopover: 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"> & {
|
|
31
|
-
/**
|
|
32
|
-
* Sets ARIA attributes on the popover panel to improve accessibility for screen readers.
|
|
33
|
-
*/
|
|
34
|
-
aria?: SelectedAriaAttributes<PopoverAriaAttribute>;
|
|
35
|
-
/**
|
|
36
|
-
* Reduces padding and spacing for a more compact layout, useful in space-constrained interfaces.
|
|
37
|
-
*/
|
|
38
|
-
compact?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Sets the text content displayed inside the popover panel when it is open, providing contextual help or information. Takes precedence over the default slot when both are provided.
|
|
41
|
-
*/
|
|
42
|
-
description?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Sets the preferred direction for the popover to open relative to its trigger button. Falls back to the direction with the most available viewport space.
|
|
45
|
-
* @default 'bottom'
|
|
46
|
-
*/
|
|
47
|
-
direction?: PopoverDirection;
|
|
48
|
-
/**
|
|
49
|
-
* Emitted in controlled mode when the user requests to close the popover via the Escape key, an outside click, or when keyboard focus leaves the popover (Tab / Shift+Tab). The event detail identifies which of the three was used.
|
|
50
|
-
*/
|
|
51
|
-
onDismiss?: (event: CustomEvent<PopoverDismissEventDetail>) => void;
|
|
52
|
-
/**
|
|
53
|
-
* Controls whether the popover is visible. When set (controlled mode), visibility follows this prop and the consumer owns the open state via a slotted `button`. When omitted (uncontrolled mode), the component manages visibility itself.
|
|
54
|
-
*/
|
|
55
|
-
open?: boolean;
|
|
56
|
-
} & {
|
|
57
|
-
children?: import("react").ReactNode | undefined;
|
|
58
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
export type PRadioGroupOptionProps = BaseProps & {
|
|
3
|
-
/**
|
|
4
|
-
* Prevents this option from being selected and excludes its value from form submissions while it is disabled.
|
|
5
|
-
* @default false
|
|
6
|
-
*/
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Sets the visible label text displayed next to the radio button that the user reads to identify the option.
|
|
10
|
-
*/
|
|
11
|
-
label?: string;
|
|
12
|
-
/**
|
|
13
|
-
* @experimental Disables this option and shows a spinner to indicate that this particular option is in a loading state.
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
16
|
-
loading?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Sets the required option value. Must be a string or number and is selected when it strictly matches the parent `p-radio-group` value by type and value.
|
|
19
|
-
*/
|
|
20
|
-
value: string | number;
|
|
21
|
-
};
|
|
22
|
-
export declare const PRadioGroupOption: 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"> & {
|
|
23
|
-
/**
|
|
24
|
-
* Prevents this option from being selected and excludes its value from form submissions while it is disabled.
|
|
25
|
-
* @default false
|
|
26
|
-
*/
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Sets the visible label text displayed next to the radio button that the user reads to identify the option.
|
|
30
|
-
*/
|
|
31
|
-
label?: string;
|
|
32
|
-
/**
|
|
33
|
-
* @experimental Disables this option and shows a spinner to indicate that this particular option is in a loading state.
|
|
34
|
-
* @default false
|
|
35
|
-
*/
|
|
36
|
-
loading?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Sets the required option value. Must be a string or number and is selected when it strictly matches the parent `p-radio-group` value by type and value.
|
|
39
|
-
*/
|
|
40
|
-
value: string | number;
|
|
41
|
-
} & {
|
|
42
|
-
children?: import("react").ReactNode | undefined;
|
|
43
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { BreakpointCustomizable, RadioGroupDirection, RadioGroupChangeEventDetail, RadioGroupState } from '../types';
|
|
3
|
-
export type PRadioGroupProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Reduces the spacing between radio options for use in dense layouts where vertical space is limited.
|
|
6
|
-
* @default false
|
|
7
|
-
*/
|
|
8
|
-
compact?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Sets a supplementary description displayed below the label to give users additional guidance about the radio group.
|
|
11
|
-
* @default ''
|
|
12
|
-
*/
|
|
13
|
-
description?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Sets the layout direction of the radio options. Use `column` to stack them vertically or `row` to arrange them horizontally. Supports responsive breakpoint values.
|
|
16
|
-
* @default 'column'
|
|
17
|
-
*/
|
|
18
|
-
direction?: BreakpointCustomizable<RadioGroupDirection>;
|
|
19
|
-
/**
|
|
20
|
-
* Disables all radio options in the group, preventing selection and excluding the value from form submissions.
|
|
21
|
-
* @default false
|
|
22
|
-
*/
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Associates the radio group with a form element by its ID when the group is not a direct descendant of that form.
|
|
26
|
-
*/
|
|
27
|
-
form?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
33
|
-
/**
|
|
34
|
-
* Sets the visible label text displayed above the radio group to identify the group's purpose.
|
|
35
|
-
* @default ''
|
|
36
|
-
*/
|
|
37
|
-
label?: string;
|
|
38
|
-
/**
|
|
39
|
-
* @experimental Disables all radio options and shows a spinner to indicate a background loading operation.
|
|
40
|
-
* @default false
|
|
41
|
-
*/
|
|
42
|
-
loading?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Sets the validation feedback message displayed below the radio group when `state` is `success` or `error`.
|
|
45
|
-
* @default ''
|
|
46
|
-
*/
|
|
47
|
-
message?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Sets the shared name attribute for all radio buttons in the group, grouping them for mutually exclusive selection.
|
|
50
|
-
*/
|
|
51
|
-
name: string;
|
|
52
|
-
/**
|
|
53
|
-
* Emitted when the radio group loses focus after the user interacts with it, useful for triggering validation on blur.
|
|
54
|
-
*/
|
|
55
|
-
onBlur?: (event: CustomEvent<void>) => void;
|
|
56
|
-
/**
|
|
57
|
-
* Emitted when the user selects a different option, carrying the new value and the native event in the event detail.
|
|
58
|
-
*/
|
|
59
|
-
onChange?: (event: CustomEvent<RadioGroupChangeEventDetail>) => void;
|
|
60
|
-
/**
|
|
61
|
-
* Marks the radio group as required so the form cannot be submitted until one option is selected.
|
|
62
|
-
* @default false
|
|
63
|
-
*/
|
|
64
|
-
required?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Sets the validation state of the radio group, controlling its visual appearance and feedback message style (`none`, `success`, `error`).
|
|
67
|
-
* @default 'none'
|
|
68
|
-
*/
|
|
69
|
-
state?: RadioGroupState;
|
|
70
|
-
/**
|
|
71
|
-
* Sets the currently selected value that pre-selects the matching radio option and reflects user changes. Matches an option strictly by type and value, meaning string or number only match an option whose value has the same type and equal value. Use undefined or null for no preselection; these values never match an option because every option requires a string or number value. 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 a number-typed option. This limitation only applies to native form state restoration; in controlled forms (where the consumer manages value directly via the change event), the number type is preserved end-to-end.
|
|
72
|
-
*/
|
|
73
|
-
value?: string | number | null;
|
|
74
|
-
};
|
|
75
|
-
export declare const PRadioGroup: 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"> & {
|
|
76
|
-
/**
|
|
77
|
-
* Reduces the spacing between radio options for use in dense layouts where vertical space is limited.
|
|
78
|
-
* @default false
|
|
79
|
-
*/
|
|
80
|
-
compact?: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Sets a supplementary description displayed below the label to give users additional guidance about the radio group.
|
|
83
|
-
* @default ''
|
|
84
|
-
*/
|
|
85
|
-
description?: string;
|
|
86
|
-
/**
|
|
87
|
-
* Sets the layout direction of the radio options. Use `column` to stack them vertically or `row` to arrange them horizontally. Supports responsive breakpoint values.
|
|
88
|
-
* @default 'column'
|
|
89
|
-
*/
|
|
90
|
-
direction?: BreakpointCustomizable<RadioGroupDirection>;
|
|
91
|
-
/**
|
|
92
|
-
* Disables all radio options in the group, preventing selection and excluding the value from form submissions.
|
|
93
|
-
* @default false
|
|
94
|
-
*/
|
|
95
|
-
disabled?: boolean;
|
|
96
|
-
/**
|
|
97
|
-
* Associates the radio group with a form element by its ID when the group is not a direct descendant of that form.
|
|
98
|
-
*/
|
|
99
|
-
form?: string;
|
|
100
|
-
/**
|
|
101
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
102
|
-
* @default false
|
|
103
|
-
*/
|
|
104
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
105
|
-
/**
|
|
106
|
-
* Sets the visible label text displayed above the radio group to identify the group's purpose.
|
|
107
|
-
* @default ''
|
|
108
|
-
*/
|
|
109
|
-
label?: string;
|
|
110
|
-
/**
|
|
111
|
-
* @experimental Disables all radio options and shows a spinner to indicate a background loading operation.
|
|
112
|
-
* @default false
|
|
113
|
-
*/
|
|
114
|
-
loading?: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Sets the validation feedback message displayed below the radio group when `state` is `success` or `error`.
|
|
117
|
-
* @default ''
|
|
118
|
-
*/
|
|
119
|
-
message?: string;
|
|
120
|
-
/**
|
|
121
|
-
* Sets the shared name attribute for all radio buttons in the group, grouping them for mutually exclusive selection.
|
|
122
|
-
*/
|
|
123
|
-
name: string;
|
|
124
|
-
/**
|
|
125
|
-
* Emitted when the radio group loses focus after the user interacts with it, useful for triggering validation on blur.
|
|
126
|
-
*/
|
|
127
|
-
onBlur?: (event: CustomEvent<void>) => void;
|
|
128
|
-
/**
|
|
129
|
-
* Emitted when the user selects a different option, carrying the new value and the native event in the event detail.
|
|
130
|
-
*/
|
|
131
|
-
onChange?: (event: CustomEvent<RadioGroupChangeEventDetail>) => void;
|
|
132
|
-
/**
|
|
133
|
-
* Marks the radio group as required so the form cannot be submitted until one option is selected.
|
|
134
|
-
* @default false
|
|
135
|
-
*/
|
|
136
|
-
required?: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* Sets the validation state of the radio group, controlling its visual appearance and feedback message style (`none`, `success`, `error`).
|
|
139
|
-
* @default 'none'
|
|
140
|
-
*/
|
|
141
|
-
state?: RadioGroupState;
|
|
142
|
-
/**
|
|
143
|
-
* Sets the currently selected value that pre-selects the matching radio option and reflects user changes. Matches an option strictly by type and value, meaning string or number only match an option whose value has the same type and equal value. Use undefined or null for no preselection; these values never match an option because every option requires a string or number value. 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 a number-typed option. This limitation only applies to native form state restoration; in controlled forms (where the consumer manages value directly via the change event), the number type is preserved end-to-end.
|
|
144
|
-
*/
|
|
145
|
-
value?: string | number | null;
|
|
146
|
-
} & {
|
|
147
|
-
children?: import("react").ReactNode | undefined;
|
|
148
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { ScrollerAlignScrollIndicator, SelectedAriaAttributes, ScrollerAriaAttribute, ScrollerScrollToPosition } from '../types';
|
|
3
|
-
export type PScrollerProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated since v4.0.0, will be removed with next major release, has no effect anymore.
|
|
6
|
-
* @default 'center'
|
|
7
|
-
*/
|
|
8
|
-
alignScrollIndicator?: ScrollerAlignScrollIndicator;
|
|
9
|
-
/**
|
|
10
|
-
* Sets ARIA role and attributes on the scroller's scroll container, useful for tablist navigation patterns and additional accessibility context.
|
|
11
|
-
*/
|
|
12
|
-
aria?: SelectedAriaAttributes<ScrollerAriaAttribute>;
|
|
13
|
-
/**
|
|
14
|
-
* Reduces the scroller's padding and the gap between slotted items for use in dense layouts.
|
|
15
|
-
*/
|
|
16
|
-
compact?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated since v4.0.0, use native `scrollIntoView()` on the slotted element itself.
|
|
19
|
-
*/
|
|
20
|
-
scrollToPosition?: ScrollerScrollToPosition;
|
|
21
|
-
/**
|
|
22
|
-
* Shows the browser's native scrollbar inside the scroller, in addition to the scroll indicator arrows.
|
|
23
|
-
* @default false
|
|
24
|
-
*/
|
|
25
|
-
scrollbar?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* @experimental Makes the indicator sticky at the top or bottom while scrolling depending on the scroll direction.
|
|
28
|
-
* @default false
|
|
29
|
-
*/
|
|
30
|
-
sticky?: boolean;
|
|
31
|
-
};
|
|
32
|
-
export declare const PScroller: 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"> & {
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated since v4.0.0, will be removed with next major release, has no effect anymore.
|
|
35
|
-
* @default 'center'
|
|
36
|
-
*/
|
|
37
|
-
alignScrollIndicator?: ScrollerAlignScrollIndicator;
|
|
38
|
-
/**
|
|
39
|
-
* Sets ARIA role and attributes on the scroller's scroll container, useful for tablist navigation patterns and additional accessibility context.
|
|
40
|
-
*/
|
|
41
|
-
aria?: SelectedAriaAttributes<ScrollerAriaAttribute>;
|
|
42
|
-
/**
|
|
43
|
-
* Reduces the scroller's padding and the gap between slotted items for use in dense layouts.
|
|
44
|
-
*/
|
|
45
|
-
compact?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* @deprecated since v4.0.0, use native `scrollIntoView()` on the slotted element itself.
|
|
48
|
-
*/
|
|
49
|
-
scrollToPosition?: ScrollerScrollToPosition;
|
|
50
|
-
/**
|
|
51
|
-
* Shows the browser's native scrollbar inside the scroller, in addition to the scroll indicator arrows.
|
|
52
|
-
* @default false
|
|
53
|
-
*/
|
|
54
|
-
scrollbar?: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* @experimental Makes the indicator sticky at the top or bottom while scrolling depending on the scroll direction.
|
|
57
|
-
* @default false
|
|
58
|
-
*/
|
|
59
|
-
sticky?: boolean;
|
|
60
|
-
} & {
|
|
61
|
-
children?: import("react").ReactNode | undefined;
|
|
62
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, SegmentedControlItemAriaAttribute, SegmentedControlItemIcon } from '../types';
|
|
3
|
-
export type PSegmentedControlItemProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets ARIA attributes on the item's button element to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<SegmentedControlItemAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Prevents this item from being selected and visually dims it; the parent's value will not change to this item's value.
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Sets an icon rendered inside the item button using an icon name from the PDS icon library.
|
|
15
|
-
*/
|
|
16
|
-
icon?: SegmentedControlItemIcon;
|
|
17
|
-
/**
|
|
18
|
-
* Sets a URL to a custom SVG icon for the item button, overriding the built-in icon set.
|
|
19
|
-
*/
|
|
20
|
-
iconSource?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Sets a visible text label rendered inside the item button, used when no slotted content is provided.
|
|
23
|
-
*/
|
|
24
|
-
label?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Sets the value emitted by the parent `p-segmented-control` when this item is selected. This property is **required**.
|
|
27
|
-
*/
|
|
28
|
-
value: string | number;
|
|
29
|
-
};
|
|
30
|
-
export declare const PSegmentedControlItem: 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"> & {
|
|
31
|
-
/**
|
|
32
|
-
* Sets ARIA attributes on the item's button element to improve accessibility for screen readers.
|
|
33
|
-
*/
|
|
34
|
-
aria?: SelectedAriaAttributes<SegmentedControlItemAriaAttribute>;
|
|
35
|
-
/**
|
|
36
|
-
* Prevents this item from being selected and visually dims it; the parent's value will not change to this item's value.
|
|
37
|
-
* @default false
|
|
38
|
-
*/
|
|
39
|
-
disabled?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Sets an icon rendered inside the item button using an icon name from the PDS icon library.
|
|
42
|
-
*/
|
|
43
|
-
icon?: SegmentedControlItemIcon;
|
|
44
|
-
/**
|
|
45
|
-
* Sets a URL to a custom SVG icon for the item button, overriding the built-in icon set.
|
|
46
|
-
*/
|
|
47
|
-
iconSource?: string;
|
|
48
|
-
/**
|
|
49
|
-
* Sets a visible text label rendered inside the item button, used when no slotted content is provided.
|
|
50
|
-
*/
|
|
51
|
-
label?: string;
|
|
52
|
-
/**
|
|
53
|
-
* Sets the value emitted by the parent `p-segmented-control` when this item is selected. This property is **required**.
|
|
54
|
-
*/
|
|
55
|
-
value: string | number;
|
|
56
|
-
} & {
|
|
57
|
-
children?: import("react").ReactNode | undefined;
|
|
58
|
-
} & import("react").RefAttributes<HTMLElement>>;
|