@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,200 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, InputDateAriaAttribute, BreakpointCustomizable, InputDateBlurEventDetail, InputDateChangeEventDetail, InputDateInputEventDetail, InputDateState } from '../types';
|
|
3
|
-
export type PInputDateProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<InputDateAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Provides the browser with a date autofill hint (e.g. `autocomplete='bday'` for a birthday field).
|
|
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 date 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 date in YYYY-MM-DD format. Dates 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 date in YYYY-MM-DD format. Dates 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<InputDateBlurEventDetail>) => void;
|
|
67
|
-
/**
|
|
68
|
-
* Emitted when the input loses focus after its value was changed.
|
|
69
|
-
*/
|
|
70
|
-
onChange?: (event: CustomEvent<InputDateChangeEventDetail>) => void;
|
|
71
|
-
/**
|
|
72
|
-
* Emitted on every value change as the user interacts with the date picker.
|
|
73
|
-
*/
|
|
74
|
-
onInput?: (event: CustomEvent<InputDateInputEventDetail>) => void;
|
|
75
|
-
/**
|
|
76
|
-
* Makes the field read-only — the date 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 date 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?: InputDateState;
|
|
90
|
-
/**
|
|
91
|
-
* Sets the stepping interval in days. The selected date must align with the `min` date by a multiple of this value.
|
|
92
|
-
* @default 1
|
|
93
|
-
*/
|
|
94
|
-
step?: number;
|
|
95
|
-
/**
|
|
96
|
-
* Sets the current date value in YYYY-MM-DD format (e.g. `2025-07-02`).
|
|
97
|
-
* @default ''
|
|
98
|
-
*/
|
|
99
|
-
value?: string | null;
|
|
100
|
-
};
|
|
101
|
-
export declare const PInputDate: 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<InputDateAriaAttribute>;
|
|
106
|
-
/**
|
|
107
|
-
* Provides the browser with a date autofill hint (e.g. `autocomplete='bday'` for a birthday field).
|
|
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 date 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 date in YYYY-MM-DD format. Dates 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 date in YYYY-MM-DD format. Dates 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<InputDateBlurEventDetail>) => void;
|
|
165
|
-
/**
|
|
166
|
-
* Emitted when the input loses focus after its value was changed.
|
|
167
|
-
*/
|
|
168
|
-
onChange?: (event: CustomEvent<InputDateChangeEventDetail>) => void;
|
|
169
|
-
/**
|
|
170
|
-
* Emitted on every value change as the user interacts with the date picker.
|
|
171
|
-
*/
|
|
172
|
-
onInput?: (event: CustomEvent<InputDateInputEventDetail>) => void;
|
|
173
|
-
/**
|
|
174
|
-
* Makes the field read-only — the date 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 date 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?: InputDateState;
|
|
188
|
-
/**
|
|
189
|
-
* Sets the stepping interval in days. The selected date must align with the `min` date by a multiple of this value.
|
|
190
|
-
* @default 1
|
|
191
|
-
*/
|
|
192
|
-
step?: number;
|
|
193
|
-
/**
|
|
194
|
-
* Sets the current date value in YYYY-MM-DD format (e.g. `2025-07-02`).
|
|
195
|
-
* @default ''
|
|
196
|
-
*/
|
|
197
|
-
value?: string | null;
|
|
198
|
-
} & {
|
|
199
|
-
children?: import("react").ReactNode | undefined;
|
|
200
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, InputEmailAriaAttribute, BreakpointCustomizable, InputEmailBlurEventDetail, InputEmailChangeEventDetail, InputEmailInputEventDetail, InputEmailState } from '../types';
|
|
3
|
-
export type PInputEmailProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<InputEmailAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Provides the browser with a data type hint to enable relevant autofill suggestions (e.g. `autocomplete='email'`).
|
|
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 an email icon at the start of the field as a visual indicator.
|
|
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
|
-
* Allows entry of multiple email addresses separated by commas. The browser validates each address individually.
|
|
66
|
-
* @default false
|
|
67
|
-
*/
|
|
68
|
-
multiple?: boolean;
|
|
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<InputEmailBlurEventDetail>) => void;
|
|
77
|
-
/**
|
|
78
|
-
* Emitted when the input loses focus after its value was changed.
|
|
79
|
-
*/
|
|
80
|
-
onChange?: (event: CustomEvent<InputEmailChangeEventDetail>) => void;
|
|
81
|
-
/**
|
|
82
|
-
* Emitted on every value change as the user types.
|
|
83
|
-
*/
|
|
84
|
-
onInput?: (event: CustomEvent<InputEmailInputEventDetail>) => void;
|
|
85
|
-
/**
|
|
86
|
-
* Sets a regular expression the entered value must match to be valid. Overrides the browser's default email validation.
|
|
87
|
-
*/
|
|
88
|
-
pattern?: string;
|
|
89
|
-
/**
|
|
90
|
-
* Sets placeholder text shown inside the field when it is empty, to hint at the expected format.
|
|
91
|
-
* @default ''
|
|
92
|
-
*/
|
|
93
|
-
placeholder?: string;
|
|
94
|
-
/**
|
|
95
|
-
* Makes the field read-only — the value is displayed but cannot be edited. The value is still submitted with the form.
|
|
96
|
-
* @default false
|
|
97
|
-
*/
|
|
98
|
-
readOnly?: boolean;
|
|
99
|
-
/**
|
|
100
|
-
* Marks the field as required — form submission is blocked while this field is empty.
|
|
101
|
-
* @default false
|
|
102
|
-
*/
|
|
103
|
-
required?: boolean;
|
|
104
|
-
/**
|
|
105
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
106
|
-
* @default 'none'
|
|
107
|
-
*/
|
|
108
|
-
state?: InputEmailState;
|
|
109
|
-
/**
|
|
110
|
-
* Sets the current email value. When `multiple` is enabled, accepts a comma-separated list of email addresses.
|
|
111
|
-
* @default ''
|
|
112
|
-
*/
|
|
113
|
-
value?: string | null;
|
|
114
|
-
};
|
|
115
|
-
export declare const PInputEmail: 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"> & {
|
|
116
|
-
/**
|
|
117
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
118
|
-
*/
|
|
119
|
-
aria?: SelectedAriaAttributes<InputEmailAriaAttribute>;
|
|
120
|
-
/**
|
|
121
|
-
* Provides the browser with a data type hint to enable relevant autofill suggestions (e.g. `autocomplete='email'`).
|
|
122
|
-
*/
|
|
123
|
-
autoComplete?: string;
|
|
124
|
-
/**
|
|
125
|
-
* Reduces the input height and padding for a more compact layout.
|
|
126
|
-
* @default false
|
|
127
|
-
*/
|
|
128
|
-
compact?: 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
|
-
* Shows an email icon at the start of the field as a visual indicator.
|
|
150
|
-
* @default false
|
|
151
|
-
*/
|
|
152
|
-
indicator?: boolean;
|
|
153
|
-
/**
|
|
154
|
-
* Sets the visible label text displayed above the input field.
|
|
155
|
-
* @default ''
|
|
156
|
-
*/
|
|
157
|
-
label?: string;
|
|
158
|
-
/**
|
|
159
|
-
* @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
|
|
160
|
-
* @default false
|
|
161
|
-
*/
|
|
162
|
-
loading?: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* Sets the maximum number of characters the user can enter.
|
|
165
|
-
*/
|
|
166
|
-
maxLength?: number;
|
|
167
|
-
/**
|
|
168
|
-
* Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
|
|
169
|
-
* @default ''
|
|
170
|
-
*/
|
|
171
|
-
message?: string;
|
|
172
|
-
/**
|
|
173
|
-
* Sets the minimum number of characters required for the field to be considered valid.
|
|
174
|
-
*/
|
|
175
|
-
minLength?: number;
|
|
176
|
-
/**
|
|
177
|
-
* Allows entry of multiple email addresses separated by commas. The browser validates each address individually.
|
|
178
|
-
* @default false
|
|
179
|
-
*/
|
|
180
|
-
multiple?: boolean;
|
|
181
|
-
/**
|
|
182
|
-
* Sets the name submitted with the form data to identify this field's value on the server.
|
|
183
|
-
*/
|
|
184
|
-
name: string;
|
|
185
|
-
/**
|
|
186
|
-
* Emitted when the input loses focus, regardless of whether the value changed.
|
|
187
|
-
*/
|
|
188
|
-
onBlur?: (event: CustomEvent<InputEmailBlurEventDetail>) => void;
|
|
189
|
-
/**
|
|
190
|
-
* Emitted when the input loses focus after its value was changed.
|
|
191
|
-
*/
|
|
192
|
-
onChange?: (event: CustomEvent<InputEmailChangeEventDetail>) => void;
|
|
193
|
-
/**
|
|
194
|
-
* Emitted on every value change as the user types.
|
|
195
|
-
*/
|
|
196
|
-
onInput?: (event: CustomEvent<InputEmailInputEventDetail>) => void;
|
|
197
|
-
/**
|
|
198
|
-
* Sets a regular expression the entered value must match to be valid. Overrides the browser's default email validation.
|
|
199
|
-
*/
|
|
200
|
-
pattern?: string;
|
|
201
|
-
/**
|
|
202
|
-
* Sets placeholder text shown inside the field when it is empty, to hint at the expected format.
|
|
203
|
-
* @default ''
|
|
204
|
-
*/
|
|
205
|
-
placeholder?: string;
|
|
206
|
-
/**
|
|
207
|
-
* Makes the field read-only — the value is displayed but cannot be edited. The value is still submitted with the form.
|
|
208
|
-
* @default false
|
|
209
|
-
*/
|
|
210
|
-
readOnly?: boolean;
|
|
211
|
-
/**
|
|
212
|
-
* Marks the field as required — form submission is blocked while this field is empty.
|
|
213
|
-
* @default false
|
|
214
|
-
*/
|
|
215
|
-
required?: boolean;
|
|
216
|
-
/**
|
|
217
|
-
* Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
|
|
218
|
-
* @default 'none'
|
|
219
|
-
*/
|
|
220
|
-
state?: InputEmailState;
|
|
221
|
-
/**
|
|
222
|
-
* Sets the current email value. When `multiple` is enabled, accepts a comma-separated list of email addresses.
|
|
223
|
-
* @default ''
|
|
224
|
-
*/
|
|
225
|
-
value?: string | null;
|
|
226
|
-
} & {
|
|
227
|
-
children?: import("react").ReactNode | undefined;
|
|
228
|
-
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type { SelectedAriaAttributes, InputMonthAriaAttribute, BreakpointCustomizable, InputMonthBlurEventDetail, InputMonthChangeEventDetail, InputMonthInputEventDetail, InputMonthState } from '../types';
|
|
3
|
-
export type PInputMonthProps = BaseProps & {
|
|
4
|
-
/**
|
|
5
|
-
* Sets additional ARIA attributes on the native input to improve accessibility for screen readers.
|
|
6
|
-
*/
|
|
7
|
-
aria?: SelectedAriaAttributes<InputMonthAriaAttribute>;
|
|
8
|
-
/**
|
|
9
|
-
* Provides the browser with a month/year 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 month 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 month in YYYY-MM format. Months 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 month in YYYY-MM format. Months 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<InputMonthBlurEventDetail>) => void;
|
|
67
|
-
/**
|
|
68
|
-
* Emitted when the input loses focus after its value was changed.
|
|
69
|
-
*/
|
|
70
|
-
onChange?: (event: CustomEvent<InputMonthChangeEventDetail>) => void;
|
|
71
|
-
/**
|
|
72
|
-
* Emitted on every value change as the user interacts with the month picker.
|
|
73
|
-
*/
|
|
74
|
-
onInput?: (event: CustomEvent<InputMonthInputEventDetail>) => 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 month 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?: InputMonthState;
|
|
90
|
-
/**
|
|
91
|
-
* Sets the stepping interval in months (e.g. `1` for monthly, `12` for annual).
|
|
92
|
-
* @default 1
|
|
93
|
-
*/
|
|
94
|
-
step?: number;
|
|
95
|
-
/**
|
|
96
|
-
* Sets the current month value in YYYY-MM format (e.g. `2025-07`).
|
|
97
|
-
* @default ''
|
|
98
|
-
*/
|
|
99
|
-
value?: string | null;
|
|
100
|
-
};
|
|
101
|
-
export declare const PInputMonth: 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<InputMonthAriaAttribute>;
|
|
106
|
-
/**
|
|
107
|
-
* Provides the browser with a month/year 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 month 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 month in YYYY-MM format. Months 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 month in YYYY-MM format. Months 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<InputMonthBlurEventDetail>) => void;
|
|
165
|
-
/**
|
|
166
|
-
* Emitted when the input loses focus after its value was changed.
|
|
167
|
-
*/
|
|
168
|
-
onChange?: (event: CustomEvent<InputMonthChangeEventDetail>) => void;
|
|
169
|
-
/**
|
|
170
|
-
* Emitted on every value change as the user interacts with the month picker.
|
|
171
|
-
*/
|
|
172
|
-
onInput?: (event: CustomEvent<InputMonthInputEventDetail>) => 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 month 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?: InputMonthState;
|
|
188
|
-
/**
|
|
189
|
-
* Sets the stepping interval in months (e.g. `1` for monthly, `12` for annual).
|
|
190
|
-
* @default 1
|
|
191
|
-
*/
|
|
192
|
-
step?: number;
|
|
193
|
-
/**
|
|
194
|
-
* Sets the current month value in YYYY-MM format (e.g. `2025-07`).
|
|
195
|
-
* @default ''
|
|
196
|
-
*/
|
|
197
|
-
value?: string | null;
|
|
198
|
-
} & {
|
|
199
|
-
children?: import("react").ReactNode | undefined;
|
|
200
|
-
} & import("react").RefAttributes<HTMLElement>>;
|