@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,218 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, InputTelAriaAttribute, BreakpointCustomizable, InputTelBlurEventDetail, InputTelChangeEventDetail, InputTelInputEventDetail, InputTelState } from '../types';
|
|
3
|
-
export type PInputTelProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<InputTelAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Provides the browser with a phone number autofill hint (e.g. `autocomplete='tel'`).
|
|
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
|
-
* Shows a phone icon at the start of the field as a visual indicator for telephone input.
|
|
38
|
-
* @default false
|
|
39
|
-
*/
|
|
40
|
-
indicator?: 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 number of characters the user can enter.
|
|
53
|
-
*/
|
|
54
|
-
maxLength?: 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 number of characters required for the field to be considered valid.
|
|
62
|
-
*/
|
|
63
|
-
minLength?: 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 input loses focus, regardless of whether the value changed.
|
|
70
|
-
*/
|
|
71
|
-
onBlur?: (event: CustomEvent<InputTelBlurEventDetail>) => void;
|
|
72
|
-
/**
|
|
73
|
-
* Emitted when the input loses focus after its value was changed.
|
|
74
|
-
*/
|
|
75
|
-
onChange?: (event: CustomEvent<InputTelChangeEventDetail>) => void;
|
|
76
|
-
/**
|
|
77
|
-
* Emitted on every value change as the user types.
|
|
78
|
-
*/
|
|
79
|
-
onInput?: (event: CustomEvent<InputTelInputEventDetail>) => void;
|
|
80
|
-
/**
|
|
81
|
-
* Sets a regular expression the entered value must match to be valid. Overrides the browser's default telephone validation.
|
|
82
|
-
*/
|
|
83
|
-
pattern?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Sets placeholder text shown inside the field when it is empty, such as an example phone number format.
|
|
86
|
-
* @default ''
|
|
87
|
-
*/
|
|
88
|
-
placeholder?: string;
|
|
89
|
-
/**
|
|
90
|
-
* Makes the field read-only — the value is displayed but cannot be edited. The value is still submitted with the form.
|
|
91
|
-
* @default false
|
|
92
|
-
*/
|
|
93
|
-
readOnly?: boolean;
|
|
94
|
-
/**
|
|
95
|
-
* Marks the field as required — form submission is blocked while this field is empty.
|
|
96
|
-
* @default false
|
|
97
|
-
*/
|
|
98
|
-
required?: boolean;
|
|
99
|
-
/**
|
|
100
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
101
|
-
* @default 'none'
|
|
102
|
-
*/
|
|
103
|
-
state?: InputTelState;
|
|
104
|
-
/**
|
|
105
|
-
* Sets the current telephone number value of the field.
|
|
106
|
-
* @default ''
|
|
107
|
-
*/
|
|
108
|
-
value?: string | null;
|
|
109
|
-
};
|
|
110
|
-
export declare const PInputTel: 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"> & {
|
|
111
|
-
/**
|
|
112
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
113
|
-
*/
|
|
114
|
-
aria?: SelectedAriaAttributes<InputTelAriaAttribute>;
|
|
115
|
-
/**
|
|
116
|
-
* Provides the browser with a phone number autofill hint (e.g. `autocomplete='tel'`).
|
|
117
|
-
*/
|
|
118
|
-
autoComplete?: string;
|
|
119
|
-
/**
|
|
120
|
-
* Reduces the input height and padding for a more compact layout.
|
|
121
|
-
* @default false
|
|
122
|
-
*/
|
|
123
|
-
compact?: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Sets a supplementary description displayed below the label to provide additional context.
|
|
126
|
-
* @default ''
|
|
127
|
-
*/
|
|
128
|
-
description?: string;
|
|
129
|
-
/**
|
|
130
|
-
* Disables the field, preventing all input. The value is not submitted with the form.
|
|
131
|
-
* @default false
|
|
132
|
-
*/
|
|
133
|
-
disabled?: boolean;
|
|
134
|
-
/**
|
|
135
|
-
* Associates the field with a form element by its ID when the field is not nested directly inside it.
|
|
136
|
-
*/
|
|
137
|
-
form?: string;
|
|
138
|
-
/**
|
|
139
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
140
|
-
* @default false
|
|
141
|
-
*/
|
|
142
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
143
|
-
/**
|
|
144
|
-
* Shows a phone icon at the start of the field as a visual indicator for telephone input.
|
|
145
|
-
* @default false
|
|
146
|
-
*/
|
|
147
|
-
indicator?: boolean;
|
|
148
|
-
/**
|
|
149
|
-
* Sets the visible label text displayed above the input field.
|
|
150
|
-
* @default ''
|
|
151
|
-
*/
|
|
152
|
-
label?: string;
|
|
153
|
-
/**
|
|
154
|
-
* @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
|
|
155
|
-
* @default false
|
|
156
|
-
*/
|
|
157
|
-
loading?: boolean;
|
|
158
|
-
/**
|
|
159
|
-
* Sets the maximum number of characters the user can enter.
|
|
160
|
-
*/
|
|
161
|
-
maxLength?: number;
|
|
162
|
-
/**
|
|
163
|
-
* Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
|
|
164
|
-
* @default ''
|
|
165
|
-
*/
|
|
166
|
-
message?: string;
|
|
167
|
-
/**
|
|
168
|
-
* Sets the minimum number of characters required for the field to be considered valid.
|
|
169
|
-
*/
|
|
170
|
-
minLength?: number;
|
|
171
|
-
/**
|
|
172
|
-
* Sets the name submitted with the form data to identify this field's value on the server.
|
|
173
|
-
*/
|
|
174
|
-
name: string;
|
|
175
|
-
/**
|
|
176
|
-
* Emitted when the input loses focus, regardless of whether the value changed.
|
|
177
|
-
*/
|
|
178
|
-
onBlur?: (event: CustomEvent<InputTelBlurEventDetail>) => void;
|
|
179
|
-
/**
|
|
180
|
-
* Emitted when the input loses focus after its value was changed.
|
|
181
|
-
*/
|
|
182
|
-
onChange?: (event: CustomEvent<InputTelChangeEventDetail>) => void;
|
|
183
|
-
/**
|
|
184
|
-
* Emitted on every value change as the user types.
|
|
185
|
-
*/
|
|
186
|
-
onInput?: (event: CustomEvent<InputTelInputEventDetail>) => void;
|
|
187
|
-
/**
|
|
188
|
-
* Sets a regular expression the entered value must match to be valid. Overrides the browser's default telephone validation.
|
|
189
|
-
*/
|
|
190
|
-
pattern?: string;
|
|
191
|
-
/**
|
|
192
|
-
* Sets placeholder text shown inside the field when it is empty, such as an example phone number format.
|
|
193
|
-
* @default ''
|
|
194
|
-
*/
|
|
195
|
-
placeholder?: string;
|
|
196
|
-
/**
|
|
197
|
-
* Makes the field read-only — the value is displayed but cannot be edited. The value is still submitted with the form.
|
|
198
|
-
* @default false
|
|
199
|
-
*/
|
|
200
|
-
readOnly?: boolean;
|
|
201
|
-
/**
|
|
202
|
-
* Marks the field as required — form submission is blocked while this field is empty.
|
|
203
|
-
* @default false
|
|
204
|
-
*/
|
|
205
|
-
required?: boolean;
|
|
206
|
-
/**
|
|
207
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
208
|
-
* @default 'none'
|
|
209
|
-
*/
|
|
210
|
-
state?: InputTelState;
|
|
211
|
-
/**
|
|
212
|
-
* Sets the current telephone number value of the field.
|
|
213
|
-
* @default ''
|
|
214
|
-
*/
|
|
215
|
-
value?: string | null;
|
|
216
|
-
} & {
|
|
217
|
-
children?: import("react").ReactNode | undefined;
|
|
218
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, InputTextAriaAttribute, BreakpointCustomizable, InputTextBlurEventDetail, InputTextChangeEventDetail, InputTextInputEventDetail, InputTextState } from '../types';
|
|
3
|
-
export type PInputTextProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<InputTextAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Provides the browser with a data type hint to enable relevant autofill suggestions (e.g. `autocomplete='name'`).
|
|
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 a live character counter below the field indicating how many characters have been entered relative to `maxLength`.
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
counter?: 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 number of characters the user can enter.
|
|
53
|
-
*/
|
|
54
|
-
maxLength?: 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 number of characters required for the field to be considered valid.
|
|
62
|
-
*/
|
|
63
|
-
minLength?: 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 input loses focus, regardless of whether the value changed.
|
|
70
|
-
*/
|
|
71
|
-
onBlur?: (event: CustomEvent<InputTextBlurEventDetail>) => void;
|
|
72
|
-
/**
|
|
73
|
-
* Emitted when the 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<InputTextChangeEventDetail>) => void;
|
|
76
|
-
/**
|
|
77
|
-
* Emitted on every value change as the user types. The component value and native event target value are strings.
|
|
78
|
-
*/
|
|
79
|
-
onInput?: (event: CustomEvent<InputTextInputEventDetail>) => 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 by the user. 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
|
-
* Controls whether the browser's built-in spell-checking is enabled for this field.
|
|
97
|
-
*/
|
|
98
|
-
spellCheck?: boolean;
|
|
99
|
-
/**
|
|
100
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
101
|
-
* @default 'none'
|
|
102
|
-
*/
|
|
103
|
-
state?: InputTextState;
|
|
104
|
-
/**
|
|
105
|
-
* Sets the current text value. Numbers are accepted for programmatic assignment, but user input updates the value as a string.
|
|
106
|
-
* @default ''
|
|
107
|
-
*/
|
|
108
|
-
value?: string | number | null;
|
|
109
|
-
};
|
|
110
|
-
export declare const PInputText: 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"> & {
|
|
111
|
-
/**
|
|
112
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
113
|
-
*/
|
|
114
|
-
aria?: SelectedAriaAttributes<InputTextAriaAttribute>;
|
|
115
|
-
/**
|
|
116
|
-
* Provides the browser with a data type hint to enable relevant autofill suggestions (e.g. `autocomplete='name'`).
|
|
117
|
-
*/
|
|
118
|
-
autoComplete?: string;
|
|
119
|
-
/**
|
|
120
|
-
* Reduces the input height and padding for a more compact layout.
|
|
121
|
-
* @default false
|
|
122
|
-
*/
|
|
123
|
-
compact?: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Shows a live character counter below the field indicating how many characters have been entered relative to `maxLength`.
|
|
126
|
-
* @default false
|
|
127
|
-
*/
|
|
128
|
-
counter?: boolean;
|
|
129
|
-
/**
|
|
130
|
-
* Sets a supplementary description displayed below the label to provide additional context.
|
|
131
|
-
* @default ''
|
|
132
|
-
*/
|
|
133
|
-
description?: string;
|
|
134
|
-
/**
|
|
135
|
-
* Disables the field, preventing all input. The value is not submitted with the form.
|
|
136
|
-
* @default false
|
|
137
|
-
*/
|
|
138
|
-
disabled?: boolean;
|
|
139
|
-
/**
|
|
140
|
-
* Associates the field with a form element by its ID when the field is not nested directly inside it.
|
|
141
|
-
*/
|
|
142
|
-
form?: string;
|
|
143
|
-
/**
|
|
144
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
145
|
-
* @default false
|
|
146
|
-
*/
|
|
147
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
148
|
-
/**
|
|
149
|
-
* Sets the visible label text displayed above the input field.
|
|
150
|
-
* @default ''
|
|
151
|
-
*/
|
|
152
|
-
label?: string;
|
|
153
|
-
/**
|
|
154
|
-
* @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
|
|
155
|
-
* @default false
|
|
156
|
-
*/
|
|
157
|
-
loading?: boolean;
|
|
158
|
-
/**
|
|
159
|
-
* Sets the maximum number of characters the user can enter.
|
|
160
|
-
*/
|
|
161
|
-
maxLength?: number;
|
|
162
|
-
/**
|
|
163
|
-
* Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
|
|
164
|
-
* @default ''
|
|
165
|
-
*/
|
|
166
|
-
message?: string;
|
|
167
|
-
/**
|
|
168
|
-
* Sets the minimum number of characters required for the field to be considered valid.
|
|
169
|
-
*/
|
|
170
|
-
minLength?: number;
|
|
171
|
-
/**
|
|
172
|
-
* Sets the name submitted with the form data to identify this field's value on the server.
|
|
173
|
-
*/
|
|
174
|
-
name: string;
|
|
175
|
-
/**
|
|
176
|
-
* Emitted when the input loses focus, regardless of whether the value changed.
|
|
177
|
-
*/
|
|
178
|
-
onBlur?: (event: CustomEvent<InputTextBlurEventDetail>) => void;
|
|
179
|
-
/**
|
|
180
|
-
* Emitted when the input loses focus after its value was changed. The component value and native event target value are strings after user input.
|
|
181
|
-
*/
|
|
182
|
-
onChange?: (event: CustomEvent<InputTextChangeEventDetail>) => void;
|
|
183
|
-
/**
|
|
184
|
-
* Emitted on every value change as the user types. The component value and native event target value are strings.
|
|
185
|
-
*/
|
|
186
|
-
onInput?: (event: CustomEvent<InputTextInputEventDetail>) => void;
|
|
187
|
-
/**
|
|
188
|
-
* Sets placeholder text shown inside the field when it is empty, to hint at the expected format.
|
|
189
|
-
* @default ''
|
|
190
|
-
*/
|
|
191
|
-
placeholder?: string;
|
|
192
|
-
/**
|
|
193
|
-
* Makes the field read-only — the value is displayed but cannot be edited by the user. The value is still submitted with the form.
|
|
194
|
-
* @default false
|
|
195
|
-
*/
|
|
196
|
-
readOnly?: boolean;
|
|
197
|
-
/**
|
|
198
|
-
* Marks the field as required — form submission is blocked while this field is empty.
|
|
199
|
-
* @default false
|
|
200
|
-
*/
|
|
201
|
-
required?: boolean;
|
|
202
|
-
/**
|
|
203
|
-
* Controls whether the browser's built-in spell-checking is enabled for this field.
|
|
204
|
-
*/
|
|
205
|
-
spellCheck?: boolean;
|
|
206
|
-
/**
|
|
207
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
208
|
-
* @default 'none'
|
|
209
|
-
*/
|
|
210
|
-
state?: InputTextState;
|
|
211
|
-
/**
|
|
212
|
-
* Sets the current text value. Numbers are accepted for programmatic assignment, but user input updates the value as a string.
|
|
213
|
-
* @default ''
|
|
214
|
-
*/
|
|
215
|
-
value?: string | number | null;
|
|
216
|
-
} & {
|
|
217
|
-
children?: import("react").ReactNode | undefined;
|
|
218
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, InputTimeAriaAttribute, BreakpointCustomizable, InputTimeBlurEventDetail, InputTimeChangeEventDetail, InputTimeInputEventDetail, InputTimeState } from '../types';
|
|
3
|
-
export type PInputTimeProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<InputTimeAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Provides the browser with a time autofill hint.
|
|
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 time selection. 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 latest selectable time in `hh:mm` or `hh:mm:ss` format. Times after this are disabled in the picker.
|
|
48
|
-
*/
|
|
49
|
-
max?: string;
|
|
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 earliest selectable time in `hh:mm` or `hh:mm:ss` format. Times before this are disabled in the picker.
|
|
57
|
-
*/
|
|
58
|
-
min?: string;
|
|
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 input loses focus, regardless of whether the value changed.
|
|
65
|
-
*/
|
|
66
|
-
onBlur?: (event: CustomEvent<InputTimeBlurEventDetail>) => void;
|
|
67
|
-
/**
|
|
68
|
-
* Emitted when the input loses focus after its value was changed.
|
|
69
|
-
*/
|
|
70
|
-
onChange?: (event: CustomEvent<InputTimeChangeEventDetail>) => void;
|
|
71
|
-
/**
|
|
72
|
-
* Emitted on every value change as the user interacts with the time picker.
|
|
73
|
-
*/
|
|
74
|
-
onInput?: (event: CustomEvent<InputTimeInputEventDetail>) => void;
|
|
75
|
-
/**
|
|
76
|
-
* Makes the field read-only — the value is displayed but cannot be changed. The value is still submitted with the form.
|
|
77
|
-
* @default false
|
|
78
|
-
*/
|
|
79
|
-
readOnly?: boolean;
|
|
80
|
-
/**
|
|
81
|
-
* Marks the field as required — form submission is blocked while no time is selected.
|
|
82
|
-
* @default false
|
|
83
|
-
*/
|
|
84
|
-
required?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
87
|
-
* @default 'none'
|
|
88
|
-
*/
|
|
89
|
-
state?: InputTimeState;
|
|
90
|
-
/**
|
|
91
|
-
* Sets the stepping interval in seconds. Use `60` for minute-level selection, `1` to also expose seconds.
|
|
92
|
-
* @default 60
|
|
93
|
-
*/
|
|
94
|
-
step?: number;
|
|
95
|
-
/**
|
|
96
|
-
* Sets the current time value in `hh:mm` or `hh:mm:ss` format (e.g. `14:00`).
|
|
97
|
-
* @default ''
|
|
98
|
-
*/
|
|
99
|
-
value?: string | null;
|
|
100
|
-
};
|
|
101
|
-
export declare const PInputTime: 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"> & {
|
|
102
|
-
/**
|
|
103
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
104
|
-
*/
|
|
105
|
-
aria?: SelectedAriaAttributes<InputTimeAriaAttribute>;
|
|
106
|
-
/**
|
|
107
|
-
* Provides the browser with a time autofill hint.
|
|
108
|
-
*/
|
|
109
|
-
autoComplete?: string;
|
|
110
|
-
/**
|
|
111
|
-
* Reduces the input height and padding for a more compact layout.
|
|
112
|
-
* @default false
|
|
113
|
-
*/
|
|
114
|
-
compact?: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Sets a supplementary description displayed below the label to provide additional context.
|
|
117
|
-
* @default ''
|
|
118
|
-
*/
|
|
119
|
-
description?: string;
|
|
120
|
-
/**
|
|
121
|
-
* Disables the field, preventing time selection. The value is not submitted with the form.
|
|
122
|
-
* @default false
|
|
123
|
-
*/
|
|
124
|
-
disabled?: boolean;
|
|
125
|
-
/**
|
|
126
|
-
* Associates the field with a form element by its ID when the field is not nested directly inside it.
|
|
127
|
-
*/
|
|
128
|
-
form?: string;
|
|
129
|
-
/**
|
|
130
|
-
* Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
|
|
131
|
-
* @default false
|
|
132
|
-
*/
|
|
133
|
-
hideLabel?: BreakpointCustomizable<boolean>;
|
|
134
|
-
/**
|
|
135
|
-
* Sets the visible label text displayed above the input field.
|
|
136
|
-
* @default ''
|
|
137
|
-
*/
|
|
138
|
-
label?: string;
|
|
139
|
-
/**
|
|
140
|
-
* @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
|
|
141
|
-
* @default false
|
|
142
|
-
*/
|
|
143
|
-
loading?: boolean;
|
|
144
|
-
/**
|
|
145
|
-
* Sets the latest selectable time in `hh:mm` or `hh:mm:ss` format. Times after this are disabled in the picker.
|
|
146
|
-
*/
|
|
147
|
-
max?: string;
|
|
148
|
-
/**
|
|
149
|
-
* Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
|
|
150
|
-
* @default ''
|
|
151
|
-
*/
|
|
152
|
-
message?: string;
|
|
153
|
-
/**
|
|
154
|
-
* Sets the earliest selectable time in `hh:mm` or `hh:mm:ss` format. Times before this are disabled in the picker.
|
|
155
|
-
*/
|
|
156
|
-
min?: string;
|
|
157
|
-
/**
|
|
158
|
-
* Sets the name submitted with the form data to identify this field's value on the server.
|
|
159
|
-
*/
|
|
160
|
-
name: string;
|
|
161
|
-
/**
|
|
162
|
-
* Emitted when the input loses focus, regardless of whether the value changed.
|
|
163
|
-
*/
|
|
164
|
-
onBlur?: (event: CustomEvent<InputTimeBlurEventDetail>) => void;
|
|
165
|
-
/**
|
|
166
|
-
* Emitted when the input loses focus after its value was changed.
|
|
167
|
-
*/
|
|
168
|
-
onChange?: (event: CustomEvent<InputTimeChangeEventDetail>) => void;
|
|
169
|
-
/**
|
|
170
|
-
* Emitted on every value change as the user interacts with the time picker.
|
|
171
|
-
*/
|
|
172
|
-
onInput?: (event: CustomEvent<InputTimeInputEventDetail>) => void;
|
|
173
|
-
/**
|
|
174
|
-
* Makes the field read-only — the value is displayed but cannot be changed. The value is still submitted with the form.
|
|
175
|
-
* @default false
|
|
176
|
-
*/
|
|
177
|
-
readOnly?: boolean;
|
|
178
|
-
/**
|
|
179
|
-
* Marks the field as required — form submission is blocked while no time is selected.
|
|
180
|
-
* @default false
|
|
181
|
-
*/
|
|
182
|
-
required?: boolean;
|
|
183
|
-
/**
|
|
184
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
185
|
-
* @default 'none'
|
|
186
|
-
*/
|
|
187
|
-
state?: InputTimeState;
|
|
188
|
-
/**
|
|
189
|
-
* Sets the stepping interval in seconds. Use `60` for minute-level selection, `1` to also expose seconds.
|
|
190
|
-
* @default 60
|
|
191
|
-
*/
|
|
192
|
-
step?: number;
|
|
193
|
-
/**
|
|
194
|
-
* Sets the current time value in `hh:mm` or `hh:mm:ss` format (e.g. `14:00`).
|
|
195
|
-
* @default ''
|
|
196
|
-
*/
|
|
197
|
-
value?: string | null;
|
|
198
|
-
} & {
|
|
199
|
-
children?: import("react").ReactNode | undefined;
|
|
200
|
-
} & import("react").RefAttributes<HTMLElement>>;
|