@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,220 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, InputNumberAriaAttribute, BreakpointCustomizable, InputNumberBlurEventDetail, InputNumberChangeEventDetail, InputNumberInputEventDetail, InputNumberState } from '../types';
|
|
3
|
-
export type PInputNumberProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<InputNumberAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Provides the browser with a data type hint to enable relevant autofill suggestions (e.g. `autocomplete='postal-code'`).
|
|
10
|
-
*/
|
|
11
|
-
autoComplete?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Reduces the input height and padding for a more compact layout.
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
16
|
-
compact?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Shows increment/decrement spin buttons inside the field to adjust the numeric value by clicking.
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
controls?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Sets a supplementary description displayed below the label to provide additional context.
|
|
24
|
-
* @default ''
|
|
25
|
-
*/
|
|
26
|
-
description?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Disables the field, preventing all input. The value is not submitted with the form.
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Associates the field with a form element by its ID when the field is not nested directly inside it.
|
|
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 input field.
|
|
43
|
-
* @default ''
|
|
44
|
-
*/
|
|
45
|
-
label?: string;
|
|
46
|
-
/**
|
|
47
|
-
* @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
|
|
48
|
-
* @default false
|
|
49
|
-
*/
|
|
50
|
-
loading?: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Sets the maximum allowed numeric value. Values above this are invalid.
|
|
53
|
-
*/
|
|
54
|
-
max?: number;
|
|
55
|
-
/**
|
|
56
|
-
* Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
|
|
57
|
-
* @default ''
|
|
58
|
-
*/
|
|
59
|
-
message?: string;
|
|
60
|
-
/**
|
|
61
|
-
* Sets the minimum allowed numeric value. Values below this are invalid.
|
|
62
|
-
*/
|
|
63
|
-
min?: number;
|
|
64
|
-
/**
|
|
65
|
-
* Sets the name submitted with the form data to identify this field's value on the server.
|
|
66
|
-
*/
|
|
67
|
-
name: string;
|
|
68
|
-
/**
|
|
69
|
-
* Emitted when the number input has lost focus.
|
|
70
|
-
*/
|
|
71
|
-
onBlur?: (event: CustomEvent<InputNumberBlurEventDetail>) => void;
|
|
72
|
-
/**
|
|
73
|
-
* Emitted when the number input loses focus after its value was changed. The component value and native event target value are strings after user input.
|
|
74
|
-
*/
|
|
75
|
-
onChange?: (event: CustomEvent<InputNumberChangeEventDetail>) => void;
|
|
76
|
-
/**
|
|
77
|
-
* Emitted when the value has been changed as a direct result of a user action. The component value and native event target value are strings.
|
|
78
|
-
*/
|
|
79
|
-
onInput?: (event: CustomEvent<InputNumberInputEventDetail>) => void;
|
|
80
|
-
/**
|
|
81
|
-
* Sets placeholder text shown inside the field when it is empty, to hint at the expected format.
|
|
82
|
-
* @default ''
|
|
83
|
-
*/
|
|
84
|
-
placeholder?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Makes the field read-only — the value is displayed but cannot be edited. The value is still submitted with the form.
|
|
87
|
-
* @default false
|
|
88
|
-
*/
|
|
89
|
-
readOnly?: boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Marks the field as required — form submission is blocked while this field is empty.
|
|
92
|
-
* @default false
|
|
93
|
-
*/
|
|
94
|
-
required?: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
97
|
-
* @default 'none'
|
|
98
|
-
*/
|
|
99
|
-
state?: InputNumberState;
|
|
100
|
-
/**
|
|
101
|
-
* Sets the stepping granularity — the value must be a multiple of this number. Also controls step button increment size.
|
|
102
|
-
* @default 1
|
|
103
|
-
*/
|
|
104
|
-
step?: number;
|
|
105
|
-
/**
|
|
106
|
-
* Sets the current numeric value. Strings and numbers are accepted for programmatic assignment, but user input updates the value as a string to mirror native input behavior.
|
|
107
|
-
* @default ''
|
|
108
|
-
*/
|
|
109
|
-
value?: string | number | null;
|
|
110
|
-
};
|
|
111
|
-
export declare const PInputNumber: 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"> & {
|
|
112
|
-
/**
|
|
113
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
114
|
-
*/
|
|
115
|
-
aria?: SelectedAriaAttributes<InputNumberAriaAttribute>;
|
|
116
|
-
/**
|
|
117
|
-
* Provides the browser with a data type hint to enable relevant autofill suggestions (e.g. `autocomplete='postal-code'`).
|
|
118
|
-
*/
|
|
119
|
-
autoComplete?: string;
|
|
120
|
-
/**
|
|
121
|
-
* Reduces the input height and padding for a more compact layout.
|
|
122
|
-
* @default false
|
|
123
|
-
*/
|
|
124
|
-
compact?: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* Shows increment/decrement spin buttons inside the field to adjust the numeric value by clicking.
|
|
127
|
-
* @default false
|
|
128
|
-
*/
|
|
129
|
-
controls?: boolean;
|
|
130
|
-
/**
|
|
131
|
-
* Sets a supplementary description displayed below the label to provide additional context.
|
|
132
|
-
* @default ''
|
|
133
|
-
*/
|
|
134
|
-
description?: string;
|
|
135
|
-
/**
|
|
136
|
-
* Disables the field, preventing all input. The value is not submitted with the form.
|
|
137
|
-
* @default false
|
|
138
|
-
*/
|
|
139
|
-
disabled?: boolean;
|
|
140
|
-
/**
|
|
141
|
-
* Associates the field with a form element by its ID when the field is not nested directly inside it.
|
|
142
|
-
*/
|
|
143
|
-
form?: string;
|
|
144
|
-
/**
|
|
145
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
146
|
-
* @default false
|
|
147
|
-
*/
|
|
148
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
149
|
-
/**
|
|
150
|
-
* Sets the visible label text displayed above the input field.
|
|
151
|
-
* @default ''
|
|
152
|
-
*/
|
|
153
|
-
label?: string;
|
|
154
|
-
/**
|
|
155
|
-
* @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
|
|
156
|
-
* @default false
|
|
157
|
-
*/
|
|
158
|
-
loading?: boolean;
|
|
159
|
-
/**
|
|
160
|
-
* Sets the maximum allowed numeric value. Values above this are invalid.
|
|
161
|
-
*/
|
|
162
|
-
max?: number;
|
|
163
|
-
/**
|
|
164
|
-
* Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
|
|
165
|
-
* @default ''
|
|
166
|
-
*/
|
|
167
|
-
message?: string;
|
|
168
|
-
/**
|
|
169
|
-
* Sets the minimum allowed numeric value. Values below this are invalid.
|
|
170
|
-
*/
|
|
171
|
-
min?: number;
|
|
172
|
-
/**
|
|
173
|
-
* Sets the name submitted with the form data to identify this field's value on the server.
|
|
174
|
-
*/
|
|
175
|
-
name: string;
|
|
176
|
-
/**
|
|
177
|
-
* Emitted when the number input has lost focus.
|
|
178
|
-
*/
|
|
179
|
-
onBlur?: (event: CustomEvent<InputNumberBlurEventDetail>) => void;
|
|
180
|
-
/**
|
|
181
|
-
* Emitted when the number input loses focus after its value was changed. The component value and native event target value are strings after user input.
|
|
182
|
-
*/
|
|
183
|
-
onChange?: (event: CustomEvent<InputNumberChangeEventDetail>) => void;
|
|
184
|
-
/**
|
|
185
|
-
* Emitted when the value has been changed as a direct result of a user action. The component value and native event target value are strings.
|
|
186
|
-
*/
|
|
187
|
-
onInput?: (event: CustomEvent<InputNumberInputEventDetail>) => void;
|
|
188
|
-
/**
|
|
189
|
-
* Sets placeholder text shown inside the field when it is empty, to hint at the expected format.
|
|
190
|
-
* @default ''
|
|
191
|
-
*/
|
|
192
|
-
placeholder?: string;
|
|
193
|
-
/**
|
|
194
|
-
* Makes the field read-only — the value is displayed but cannot be edited. The value is still submitted with the form.
|
|
195
|
-
* @default false
|
|
196
|
-
*/
|
|
197
|
-
readOnly?: boolean;
|
|
198
|
-
/**
|
|
199
|
-
* Marks the field as required — form submission is blocked while this field is empty.
|
|
200
|
-
* @default false
|
|
201
|
-
*/
|
|
202
|
-
required?: boolean;
|
|
203
|
-
/**
|
|
204
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
205
|
-
* @default 'none'
|
|
206
|
-
*/
|
|
207
|
-
state?: InputNumberState;
|
|
208
|
-
/**
|
|
209
|
-
* Sets the stepping granularity — the value must be a multiple of this number. Also controls step button increment size.
|
|
210
|
-
* @default 1
|
|
211
|
-
*/
|
|
212
|
-
step?: number;
|
|
213
|
-
/**
|
|
214
|
-
* Sets the current numeric value. Strings and numbers are accepted for programmatic assignment, but user input updates the value as a string to mirror native input behavior.
|
|
215
|
-
* @default ''
|
|
216
|
-
*/
|
|
217
|
-
value?: string | number | null;
|
|
218
|
-
} & {
|
|
219
|
-
children?: import("react").ReactNode | undefined;
|
|
220
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,210 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, InputPasswordAriaAttribute, BreakpointCustomizable, InputPasswordBlurEventDetail, InputPasswordChangeEventDetail, InputPasswordInputEventDetail, InputPasswordState } from '../types';
|
|
3
|
-
export type PInputPasswordProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<InputPasswordAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Provides the browser with a password autofill hint (e.g. `autocomplete='current-password'` or `autocomplete='new-password'`).
|
|
10
|
-
*/
|
|
11
|
-
autoComplete?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Reduces the input height and padding for a more compact layout.
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
16
|
-
compact?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Sets a supplementary description displayed below the label to provide additional context.
|
|
19
|
-
* @default ''
|
|
20
|
-
*/
|
|
21
|
-
description?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Disables the field, preventing all input. The value is not submitted with the form.
|
|
24
|
-
* @default false
|
|
25
|
-
*/
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Associates the field with a form element by its ID when the field is not nested directly inside it.
|
|
29
|
-
*/
|
|
30
|
-
form?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
33
|
-
* @default false
|
|
34
|
-
*/
|
|
35
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
36
|
-
/**
|
|
37
|
-
* Sets the visible label text displayed above the input field.
|
|
38
|
-
* @default ''
|
|
39
|
-
*/
|
|
40
|
-
label?: string;
|
|
41
|
-
/**
|
|
42
|
-
* @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
|
|
43
|
-
* @default false
|
|
44
|
-
*/
|
|
45
|
-
loading?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Sets the maximum number of characters the user can enter.
|
|
48
|
-
*/
|
|
49
|
-
maxLength?: number;
|
|
50
|
-
/**
|
|
51
|
-
* Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
|
|
52
|
-
* @default ''
|
|
53
|
-
*/
|
|
54
|
-
message?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Sets the minimum number of characters required for the field to be considered valid.
|
|
57
|
-
*/
|
|
58
|
-
minLength?: number;
|
|
59
|
-
/**
|
|
60
|
-
* Sets the name submitted with the form data to identify this field's value on the server.
|
|
61
|
-
*/
|
|
62
|
-
name: string;
|
|
63
|
-
/**
|
|
64
|
-
* Emitted when the password input has lost focus.
|
|
65
|
-
*/
|
|
66
|
-
onBlur?: (event: CustomEvent<InputPasswordBlurEventDetail>) => void;
|
|
67
|
-
/**
|
|
68
|
-
* Emitted when the password input loses focus after its value was changed.
|
|
69
|
-
*/
|
|
70
|
-
onChange?: (event: CustomEvent<InputPasswordChangeEventDetail>) => void;
|
|
71
|
-
/**
|
|
72
|
-
* Emitted when the value has been changed as a direct result of a user action.
|
|
73
|
-
*/
|
|
74
|
-
onInput?: (event: CustomEvent<InputPasswordInputEventDetail>) => void;
|
|
75
|
-
/**
|
|
76
|
-
* Sets placeholder text shown inside the field when it is empty.
|
|
77
|
-
* @default ''
|
|
78
|
-
*/
|
|
79
|
-
placeholder?: string;
|
|
80
|
-
/**
|
|
81
|
-
* Makes the field read-only — the value is displayed but cannot be edited. The value is still submitted with the form.
|
|
82
|
-
* @default false
|
|
83
|
-
*/
|
|
84
|
-
readOnly?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Marks the field as required — form submission is blocked while this field is empty.
|
|
87
|
-
* @default false
|
|
88
|
-
*/
|
|
89
|
-
required?: boolean;
|
|
90
|
-
/**
|
|
91
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
92
|
-
* @default 'none'
|
|
93
|
-
*/
|
|
94
|
-
state?: InputPasswordState;
|
|
95
|
-
/**
|
|
96
|
-
* Shows a toggle button that switches the password between masked and plain text visibility.
|
|
97
|
-
* @default false
|
|
98
|
-
*/
|
|
99
|
-
toggle?: boolean;
|
|
100
|
-
/**
|
|
101
|
-
* Sets the current password value of the field.
|
|
102
|
-
* @default ''
|
|
103
|
-
*/
|
|
104
|
-
value?: string | null;
|
|
105
|
-
};
|
|
106
|
-
export declare const PInputPassword: 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"> & {
|
|
107
|
-
/**
|
|
108
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
109
|
-
*/
|
|
110
|
-
aria?: SelectedAriaAttributes<InputPasswordAriaAttribute>;
|
|
111
|
-
/**
|
|
112
|
-
* Provides the browser with a password autofill hint (e.g. `autocomplete='current-password'` or `autocomplete='new-password'`).
|
|
113
|
-
*/
|
|
114
|
-
autoComplete?: string;
|
|
115
|
-
/**
|
|
116
|
-
* Reduces the input height and padding for a more compact layout.
|
|
117
|
-
* @default false
|
|
118
|
-
*/
|
|
119
|
-
compact?: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* Sets a supplementary description displayed below the label to provide additional context.
|
|
122
|
-
* @default ''
|
|
123
|
-
*/
|
|
124
|
-
description?: string;
|
|
125
|
-
/**
|
|
126
|
-
* Disables the field, preventing all input. The value is not submitted with the form.
|
|
127
|
-
* @default false
|
|
128
|
-
*/
|
|
129
|
-
disabled?: boolean;
|
|
130
|
-
/**
|
|
131
|
-
* Associates the field with a form element by its ID when the field is not nested directly inside it.
|
|
132
|
-
*/
|
|
133
|
-
form?: string;
|
|
134
|
-
/**
|
|
135
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
136
|
-
* @default false
|
|
137
|
-
*/
|
|
138
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
139
|
-
/**
|
|
140
|
-
* Sets the visible label text displayed above the input field.
|
|
141
|
-
* @default ''
|
|
142
|
-
*/
|
|
143
|
-
label?: string;
|
|
144
|
-
/**
|
|
145
|
-
* @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
|
|
146
|
-
* @default false
|
|
147
|
-
*/
|
|
148
|
-
loading?: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* Sets the maximum number of characters the user can enter.
|
|
151
|
-
*/
|
|
152
|
-
maxLength?: number;
|
|
153
|
-
/**
|
|
154
|
-
* Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
|
|
155
|
-
* @default ''
|
|
156
|
-
*/
|
|
157
|
-
message?: string;
|
|
158
|
-
/**
|
|
159
|
-
* Sets the minimum number of characters required for the field to be considered valid.
|
|
160
|
-
*/
|
|
161
|
-
minLength?: number;
|
|
162
|
-
/**
|
|
163
|
-
* Sets the name submitted with the form data to identify this field's value on the server.
|
|
164
|
-
*/
|
|
165
|
-
name: string;
|
|
166
|
-
/**
|
|
167
|
-
* Emitted when the password input has lost focus.
|
|
168
|
-
*/
|
|
169
|
-
onBlur?: (event: CustomEvent<InputPasswordBlurEventDetail>) => void;
|
|
170
|
-
/**
|
|
171
|
-
* Emitted when the password input loses focus after its value was changed.
|
|
172
|
-
*/
|
|
173
|
-
onChange?: (event: CustomEvent<InputPasswordChangeEventDetail>) => void;
|
|
174
|
-
/**
|
|
175
|
-
* Emitted when the value has been changed as a direct result of a user action.
|
|
176
|
-
*/
|
|
177
|
-
onInput?: (event: CustomEvent<InputPasswordInputEventDetail>) => void;
|
|
178
|
-
/**
|
|
179
|
-
* Sets placeholder text shown inside the field when it is empty.
|
|
180
|
-
* @default ''
|
|
181
|
-
*/
|
|
182
|
-
placeholder?: string;
|
|
183
|
-
/**
|
|
184
|
-
* Makes the field read-only — the value is displayed but cannot be edited. The value is still submitted with the form.
|
|
185
|
-
* @default false
|
|
186
|
-
*/
|
|
187
|
-
readOnly?: boolean;
|
|
188
|
-
/**
|
|
189
|
-
* Marks the field as required — form submission is blocked while this field is empty.
|
|
190
|
-
* @default false
|
|
191
|
-
*/
|
|
192
|
-
required?: boolean;
|
|
193
|
-
/**
|
|
194
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
195
|
-
* @default 'none'
|
|
196
|
-
*/
|
|
197
|
-
state?: InputPasswordState;
|
|
198
|
-
/**
|
|
199
|
-
* Shows a toggle button that switches the password between masked and plain text visibility.
|
|
200
|
-
* @default false
|
|
201
|
-
*/
|
|
202
|
-
toggle?: boolean;
|
|
203
|
-
/**
|
|
204
|
-
* Sets the current password value of the field.
|
|
205
|
-
* @default ''
|
|
206
|
-
*/
|
|
207
|
-
value?: string | null;
|
|
208
|
-
} & {
|
|
209
|
-
children?: import("react").ReactNode | undefined;
|
|
210
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, InputSearchAriaAttribute, BreakpointCustomizable, InputSearchBlurEventDetail, InputSearchChangeEventDetail, InputSearchInputEventDetail, InputSearchState } from '../types';
|
|
3
|
-
export type PInputSearchProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets additional ARIA attributes on the search input, useful for combobox patterns (e.g. `role="combobox"`, `aria-expanded`) and extra labelling (`aria-label`, `aria-description`).
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<InputSearchAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Provides the browser with a data type hint to enable relevant autofill suggestions.
|
|
10
|
-
*/
|
|
11
|
-
autoComplete?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Shows a clear button (×) inside the field that resets the value to empty when clicked.
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
16
|
-
clear?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Reduces the input height and padding for a more compact layout.
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
compact?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Sets a supplementary description displayed below the label to provide additional context.
|
|
24
|
-
* @default ''
|
|
25
|
-
*/
|
|
26
|
-
description?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Disables the field, preventing all input. The value is not submitted with the form.
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Associates the field with a form element by its ID when the field is not nested directly inside it.
|
|
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
|
-
* Shows a magnifying glass icon inside the field as a visual affordance for search input.
|
|
43
|
-
* @default false
|
|
44
|
-
*/
|
|
45
|
-
indicator?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Sets the visible label text displayed above the input field.
|
|
48
|
-
* @default ''
|
|
49
|
-
*/
|
|
50
|
-
label?: string;
|
|
51
|
-
/**
|
|
52
|
-
* @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
|
|
53
|
-
* @default false
|
|
54
|
-
*/
|
|
55
|
-
loading?: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Sets the maximum number of characters the user can enter.
|
|
58
|
-
*/
|
|
59
|
-
maxLength?: number;
|
|
60
|
-
/**
|
|
61
|
-
* Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
|
|
62
|
-
* @default ''
|
|
63
|
-
*/
|
|
64
|
-
message?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Sets the minimum number of characters required for the field to be considered valid.
|
|
67
|
-
*/
|
|
68
|
-
minLength?: number;
|
|
69
|
-
/**
|
|
70
|
-
* Sets the name submitted with the form data to identify this field's value on the server.
|
|
71
|
-
*/
|
|
72
|
-
name: string;
|
|
73
|
-
/**
|
|
74
|
-
* Emitted when the input loses focus, regardless of whether the value changed.
|
|
75
|
-
*/
|
|
76
|
-
onBlur?: (event: CustomEvent<InputSearchBlurEventDetail>) => void;
|
|
77
|
-
/**
|
|
78
|
-
* Emitted when the input loses focus after its value was changed.
|
|
79
|
-
*/
|
|
80
|
-
onChange?: (event: CustomEvent<InputSearchChangeEventDetail>) => void;
|
|
81
|
-
/**
|
|
82
|
-
* Emitted when the value has been changed as a direct result of a user action.
|
|
83
|
-
*/
|
|
84
|
-
onInput?: (event: CustomEvent<InputSearchInputEventDetail>) => void;
|
|
85
|
-
/**
|
|
86
|
-
* Sets placeholder text shown inside the field when it is empty.
|
|
87
|
-
* @default ''
|
|
88
|
-
*/
|
|
89
|
-
placeholder?: string;
|
|
90
|
-
/**
|
|
91
|
-
* Makes the field read-only — the value is displayed but cannot be edited. The value is still submitted with the form.
|
|
92
|
-
* @default false
|
|
93
|
-
*/
|
|
94
|
-
readOnly?: boolean;
|
|
95
|
-
/**
|
|
96
|
-
* Marks the field as required — form submission is blocked while this field is empty.
|
|
97
|
-
* @default false
|
|
98
|
-
*/
|
|
99
|
-
required?: boolean;
|
|
100
|
-
/**
|
|
101
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
102
|
-
* @default 'none'
|
|
103
|
-
*/
|
|
104
|
-
state?: InputSearchState;
|
|
105
|
-
/**
|
|
106
|
-
* Sets the current search query value of the field.
|
|
107
|
-
* @default ''
|
|
108
|
-
*/
|
|
109
|
-
value?: string | null;
|
|
110
|
-
};
|
|
111
|
-
export declare const PInputSearch: 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"> & {
|
|
112
|
-
/**
|
|
113
|
-
* Sets additional ARIA attributes on the search input, useful for combobox patterns (e.g. `role="combobox"`, `aria-expanded`) and extra labelling (`aria-label`, `aria-description`).
|
|
114
|
-
*/
|
|
115
|
-
aria?: SelectedAriaAttributes<InputSearchAriaAttribute>;
|
|
116
|
-
/**
|
|
117
|
-
* Provides the browser with a data type hint to enable relevant autofill suggestions.
|
|
118
|
-
*/
|
|
119
|
-
autoComplete?: string;
|
|
120
|
-
/**
|
|
121
|
-
* Shows a clear button (×) inside the field that resets the value to empty when clicked.
|
|
122
|
-
* @default false
|
|
123
|
-
*/
|
|
124
|
-
clear?: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* Reduces the input height and padding for a more compact layout.
|
|
127
|
-
* @default false
|
|
128
|
-
*/
|
|
129
|
-
compact?: boolean;
|
|
130
|
-
/**
|
|
131
|
-
* Sets a supplementary description displayed below the label to provide additional context.
|
|
132
|
-
* @default ''
|
|
133
|
-
*/
|
|
134
|
-
description?: string;
|
|
135
|
-
/**
|
|
136
|
-
* Disables the field, preventing all input. The value is not submitted with the form.
|
|
137
|
-
* @default false
|
|
138
|
-
*/
|
|
139
|
-
disabled?: boolean;
|
|
140
|
-
/**
|
|
141
|
-
* Associates the field with a form element by its ID when the field is not nested directly inside it.
|
|
142
|
-
*/
|
|
143
|
-
form?: string;
|
|
144
|
-
/**
|
|
145
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
146
|
-
* @default false
|
|
147
|
-
*/
|
|
148
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
149
|
-
/**
|
|
150
|
-
* Shows a magnifying glass icon inside the field as a visual affordance for search input.
|
|
151
|
-
* @default false
|
|
152
|
-
*/
|
|
153
|
-
indicator?: boolean;
|
|
154
|
-
/**
|
|
155
|
-
* Sets the visible label text displayed above the input field.
|
|
156
|
-
* @default ''
|
|
157
|
-
*/
|
|
158
|
-
label?: string;
|
|
159
|
-
/**
|
|
160
|
-
* @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
|
|
161
|
-
* @default false
|
|
162
|
-
*/
|
|
163
|
-
loading?: boolean;
|
|
164
|
-
/**
|
|
165
|
-
* Sets the maximum number of characters the user can enter.
|
|
166
|
-
*/
|
|
167
|
-
maxLength?: number;
|
|
168
|
-
/**
|
|
169
|
-
* Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
|
|
170
|
-
* @default ''
|
|
171
|
-
*/
|
|
172
|
-
message?: string;
|
|
173
|
-
/**
|
|
174
|
-
* Sets the minimum number of characters required for the field to be considered valid.
|
|
175
|
-
*/
|
|
176
|
-
minLength?: number;
|
|
177
|
-
/**
|
|
178
|
-
* Sets the name submitted with the form data to identify this field's value on the server.
|
|
179
|
-
*/
|
|
180
|
-
name: string;
|
|
181
|
-
/**
|
|
182
|
-
* Emitted when the input loses focus, regardless of whether the value changed.
|
|
183
|
-
*/
|
|
184
|
-
onBlur?: (event: CustomEvent<InputSearchBlurEventDetail>) => void;
|
|
185
|
-
/**
|
|
186
|
-
* Emitted when the input loses focus after its value was changed.
|
|
187
|
-
*/
|
|
188
|
-
onChange?: (event: CustomEvent<InputSearchChangeEventDetail>) => void;
|
|
189
|
-
/**
|
|
190
|
-
* Emitted when the value has been changed as a direct result of a user action.
|
|
191
|
-
*/
|
|
192
|
-
onInput?: (event: CustomEvent<InputSearchInputEventDetail>) => void;
|
|
193
|
-
/**
|
|
194
|
-
* Sets placeholder text shown inside the field when it is empty.
|
|
195
|
-
* @default ''
|
|
196
|
-
*/
|
|
197
|
-
placeholder?: string;
|
|
198
|
-
/**
|
|
199
|
-
* Makes the field read-only — the value is displayed but cannot be edited. The value is still submitted with the form.
|
|
200
|
-
* @default false
|
|
201
|
-
*/
|
|
202
|
-
readOnly?: boolean;
|
|
203
|
-
/**
|
|
204
|
-
* Marks the field as required — form submission is blocked while this field is empty.
|
|
205
|
-
* @default false
|
|
206
|
-
*/
|
|
207
|
-
required?: boolean;
|
|
208
|
-
/**
|
|
209
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
210
|
-
* @default 'none'
|
|
211
|
-
*/
|
|
212
|
-
state?: InputSearchState;
|
|
213
|
-
/**
|
|
214
|
-
* Sets the current search query value of the field.
|
|
215
|
-
* @default ''
|
|
216
|
-
*/
|
|
217
|
-
value?: string | null;
|
|
218
|
-
} & {
|
|
219
|
-
children?: import("react").ReactNode | undefined;
|
|
220
|
-
} & import("react").RefAttributes<HTMLElement>>;
|