@porsche-design-system/components-react 3.29.0-rc.3 → 3.29.0-rc.5
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 +37 -0
- package/cjs/lib/components/checkbox-wrapper.wrapper.cjs +1 -0
- package/cjs/lib/components/fieldset-wrapper.wrapper.cjs +1 -1
- package/cjs/lib/components/fieldset.wrapper.cjs +3 -3
- package/cjs/lib/components/flag.wrapper.cjs +26 -0
- package/cjs/lib/components/input-date.wrapper.cjs +29 -0
- package/cjs/lib/components/input-tel.wrapper.cjs +29 -0
- package/cjs/lib/components/input-time.wrapper.cjs +29 -0
- package/cjs/lib/components/input-url.wrapper.cjs +29 -0
- package/cjs/lib/components/multi-select.wrapper.cjs +3 -3
- package/cjs/lib/components/popover.wrapper.cjs +3 -4
- package/cjs/lib/components/scroller.wrapper.cjs +1 -1
- package/cjs/lib/components/select-wrapper.wrapper.cjs +1 -0
- package/cjs/lib/components/tabs-bar.wrapper.cjs +1 -1
- package/cjs/lib/components/tabs.wrapper.cjs +1 -1
- package/cjs/lib/components/text-field-wrapper.wrapper.cjs +1 -0
- package/cjs/lib/components/textarea-wrapper.wrapper.cjs +1 -0
- package/cjs/public-api.cjs +10 -0
- package/esm/lib/components/checkbox-wrapper.wrapper.d.ts +1 -0
- package/esm/lib/components/checkbox-wrapper.wrapper.mjs +1 -0
- package/esm/lib/components/fieldset-wrapper.wrapper.d.ts +1 -1
- package/esm/lib/components/fieldset-wrapper.wrapper.mjs +1 -1
- package/esm/lib/components/fieldset.wrapper.d.ts +9 -1
- package/esm/lib/components/fieldset.wrapper.mjs +3 -3
- package/esm/lib/components/flag.wrapper.d.ts +30 -0
- package/esm/lib/components/flag.wrapper.mjs +24 -0
- package/esm/lib/components/index.d.ts +5 -0
- package/esm/lib/components/input-date.wrapper.d.ts +176 -0
- package/esm/lib/components/input-date.wrapper.mjs +27 -0
- package/esm/lib/components/input-email.wrapper.d.ts +2 -2
- package/esm/lib/components/input-number.wrapper.d.ts +2 -2
- package/esm/lib/components/input-password.wrapper.d.ts +2 -2
- package/esm/lib/components/input-tel.wrapper.d.ts +192 -0
- package/esm/lib/components/input-tel.wrapper.mjs +27 -0
- package/esm/lib/components/input-time.wrapper.d.ts +176 -0
- package/esm/lib/components/input-time.wrapper.mjs +27 -0
- package/esm/lib/components/input-url.wrapper.d.ts +192 -0
- package/esm/lib/components/input-url.wrapper.mjs +27 -0
- package/esm/lib/components/multi-select.wrapper.d.ts +8 -0
- package/esm/lib/components/multi-select.wrapper.mjs +3 -3
- package/esm/lib/components/popover.wrapper.d.ts +0 -16
- package/esm/lib/components/popover.wrapper.mjs +4 -5
- package/esm/lib/components/scroller.wrapper.d.ts +4 -4
- package/esm/lib/components/scroller.wrapper.mjs +1 -1
- package/esm/lib/components/select-wrapper.wrapper.d.ts +1 -0
- package/esm/lib/components/select-wrapper.wrapper.mjs +1 -0
- package/esm/lib/components/tabs-bar.wrapper.d.ts +4 -4
- package/esm/lib/components/tabs-bar.wrapper.mjs +1 -1
- package/esm/lib/components/tabs.wrapper.d.ts +2 -2
- package/esm/lib/components/tabs.wrapper.mjs +1 -1
- package/esm/lib/components/text-field-wrapper.wrapper.d.ts +1 -0
- package/esm/lib/components/text-field-wrapper.wrapper.mjs +1 -0
- package/esm/lib/components/textarea-wrapper.wrapper.d.ts +1 -0
- package/esm/lib/components/textarea-wrapper.wrapper.mjs +1 -0
- package/esm/lib/types.d.ts +149 -14
- package/esm/public-api.mjs +5 -0
- package/package.json +7 -3
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +535 -515
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +46 -35
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/checkbox-wrapper.wrapper.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/fieldset-wrapper.wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/fieldset.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/flag.wrapper.cjs +36 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-date.wrapper.cjs +40 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-tel.wrapper.cjs +40 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-time.wrapper.cjs +40 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-url.wrapper.cjs +40 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/multi-select.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/popover.wrapper.cjs +4 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/scroller.wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/select-wrapper.wrapper.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/tabs-bar.wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/tabs.wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/text-field-wrapper.wrapper.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/textarea-wrapper.wrapper.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.cjs +2 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.cjs +3 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flag.cjs +17 -0
- 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/input-date.cjs +44 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-tel.cjs +43 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-time.cjs +44 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-url.cjs +43 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select-option.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +15 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/no-results-option.cjs +9 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +5 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.cjs +1 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.cjs +2 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +8 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.cjs +2 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.cjs +2 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/public-api.cjs +10 -0
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +495 -481
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +42 -34
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/checkbox-wrapper.wrapper.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/fieldset-wrapper.wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/fieldset.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/flag.wrapper.mjs +34 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-date.wrapper.mjs +38 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-tel.wrapper.mjs +38 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-time.wrapper.mjs +38 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-url.wrapper.mjs +38 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/multi-select.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/popover.wrapper.mjs +5 -6
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/scroller.wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/select-wrapper.wrapper.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tabs-bar.wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tabs.wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/text-field-wrapper.wrapper.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/textarea-wrapper.wrapper.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.mjs +4 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-link.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +5 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flag.mjs +15 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.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/input-date.mjs +42 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-number.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-password.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-search.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-tel.mjs +41 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-time.mjs +42 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-url.mjs +41 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select-option.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +18 -9
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/no-results-option.mjs +7 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/optgroup.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +5 -5
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.mjs +1 -5
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.mjs +2 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +9 -6
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.mjs +2 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.mjs +2 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.mjs +5 -0
- package/ssr/esm/lib/components/checkbox-wrapper.wrapper.d.ts +1 -0
- package/ssr/esm/lib/components/fieldset-wrapper.wrapper.d.ts +1 -1
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +9 -1
- package/ssr/esm/lib/components/flag.wrapper.d.ts +30 -0
- package/ssr/esm/lib/components/index.d.ts +5 -0
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +176 -0
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +192 -0
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +176 -0
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +192 -0
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/popover.wrapper.d.ts +0 -16
- package/ssr/esm/lib/components/scroller.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/select-wrapper.wrapper.d.ts +1 -0
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/text-field-wrapper.wrapper.d.ts +1 -0
- package/ssr/esm/lib/components/textarea-wrapper.wrapper.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/checkbox-wrapper.d.ts +2 -0
- package/ssr/esm/lib/dsr-components/fieldset-wrapper.d.ts +1 -1
- package/ssr/esm/lib/dsr-components/flag.d.ts +5 -0
- package/ssr/esm/lib/dsr-components/input-base.d.ts +2 -2
- package/ssr/esm/lib/dsr-components/input-date.d.ts +19 -0
- package/ssr/esm/lib/dsr-components/input-tel.d.ts +19 -0
- package/ssr/esm/lib/dsr-components/input-time.d.ts +19 -0
- package/ssr/esm/lib/dsr-components/input-url.d.ts +19 -0
- package/ssr/esm/lib/dsr-components/multi-select.d.ts +5 -1
- package/ssr/esm/lib/dsr-components/no-results-option.d.ts +2 -0
- package/ssr/esm/lib/dsr-components/popover.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/select-wrapper.d.ts +2 -0
- package/ssr/esm/lib/dsr-components/select.d.ts +4 -1
- package/ssr/esm/lib/dsr-components/text-field-wrapper.d.ts +2 -0
- package/ssr/esm/lib/dsr-components/textarea-wrapper.d.ts +2 -0
- package/ssr/esm/lib/types.d.ts +149 -14
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import type { BaseProps } from '../../BaseProps';
|
|
2
|
+
import type { BreakpointCustomizable, InputTimeBlurEventDetail, InputTimeChangeEventDetail, InputTimeInputEventDetail, InputTimeState, Theme } from '../types';
|
|
3
|
+
export type PInputTimeProps = BaseProps & {
|
|
4
|
+
/**
|
|
5
|
+
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., auto-complete='on').
|
|
6
|
+
*/
|
|
7
|
+
autoComplete?: string;
|
|
8
|
+
/**
|
|
9
|
+
* A boolean value that, if present, renders the input field as a compact version.
|
|
10
|
+
*/
|
|
11
|
+
compact?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Supplementary text providing more context or explanation for the input.
|
|
14
|
+
*/
|
|
15
|
+
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
|
|
18
|
+
*/
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
|
|
22
|
+
*/
|
|
23
|
+
form?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Controls the visibility of the label.
|
|
26
|
+
*/
|
|
27
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
|
+
/**
|
|
29
|
+
* Text content for a user-facing label.
|
|
30
|
+
*/
|
|
31
|
+
label?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @experimental Shows a loading indicator.
|
|
34
|
+
*/
|
|
35
|
+
loading?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Specifies the latest time that can be selected. The value must be a time string in hh:mm or hh:mm:ss format (e.g., max='17:30').
|
|
38
|
+
*/
|
|
39
|
+
max?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Dynamic feedback text for validation or status.
|
|
42
|
+
*/
|
|
43
|
+
message?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Specifies the earliest time that can be selected. The value must be a time string in hh:mm or hh:mm:ss format (e.g., min='09:00').
|
|
46
|
+
*/
|
|
47
|
+
min?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The name of the input field, used when submitting the form data.
|
|
50
|
+
*/
|
|
51
|
+
name: string;
|
|
52
|
+
/**
|
|
53
|
+
* Emitted when the number input has lost focus.
|
|
54
|
+
*/
|
|
55
|
+
onBlur?: (event: CustomEvent<InputTimeBlurEventDetail>) => void;
|
|
56
|
+
/**
|
|
57
|
+
* Emitted when the number input loses focus after its value was changed.
|
|
58
|
+
*/
|
|
59
|
+
onChange?: (event: CustomEvent<InputTimeChangeEventDetail>) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Emitted when the value has been changed as a direct result of a user action.
|
|
62
|
+
*/
|
|
63
|
+
onInput?: (event: CustomEvent<InputTimeInputEventDetail>) => void;
|
|
64
|
+
/**
|
|
65
|
+
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
66
|
+
*/
|
|
67
|
+
readOnly?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
70
|
+
*/
|
|
71
|
+
required?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Indicates the validation or overall status of the input component.
|
|
74
|
+
*/
|
|
75
|
+
state?: InputTimeState;
|
|
76
|
+
/**
|
|
77
|
+
* efines the granularity of the time input. The step value is given in seconds. The default is 60 (one minute). You can also specify smaller increments (e.g., step='1' for seconds, step='0.001' for milliseconds).
|
|
78
|
+
*/
|
|
79
|
+
step?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Controls the visual appearance of the component.
|
|
82
|
+
*/
|
|
83
|
+
theme?: Theme;
|
|
84
|
+
/**
|
|
85
|
+
* The default time value for the input, in hh:mm or hh:mm:ss format (e.g., value='14:00').
|
|
86
|
+
*/
|
|
87
|
+
value?: string;
|
|
88
|
+
};
|
|
89
|
+
export declare const PInputTime: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
90
|
+
/**
|
|
91
|
+
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., auto-complete='on').
|
|
92
|
+
*/
|
|
93
|
+
autoComplete?: string;
|
|
94
|
+
/**
|
|
95
|
+
* A boolean value that, if present, renders the input field as a compact version.
|
|
96
|
+
*/
|
|
97
|
+
compact?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Supplementary text providing more context or explanation for the input.
|
|
100
|
+
*/
|
|
101
|
+
description?: string;
|
|
102
|
+
/**
|
|
103
|
+
* A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
|
|
104
|
+
*/
|
|
105
|
+
disabled?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
|
|
108
|
+
*/
|
|
109
|
+
form?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Controls the visibility of the label.
|
|
112
|
+
*/
|
|
113
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
114
|
+
/**
|
|
115
|
+
* Text content for a user-facing label.
|
|
116
|
+
*/
|
|
117
|
+
label?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @experimental Shows a loading indicator.
|
|
120
|
+
*/
|
|
121
|
+
loading?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Specifies the latest time that can be selected. The value must be a time string in hh:mm or hh:mm:ss format (e.g., max='17:30').
|
|
124
|
+
*/
|
|
125
|
+
max?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Dynamic feedback text for validation or status.
|
|
128
|
+
*/
|
|
129
|
+
message?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Specifies the earliest time that can be selected. The value must be a time string in hh:mm or hh:mm:ss format (e.g., min='09:00').
|
|
132
|
+
*/
|
|
133
|
+
min?: string;
|
|
134
|
+
/**
|
|
135
|
+
* The name of the input field, used when submitting the form data.
|
|
136
|
+
*/
|
|
137
|
+
name: string;
|
|
138
|
+
/**
|
|
139
|
+
* Emitted when the number input has lost focus.
|
|
140
|
+
*/
|
|
141
|
+
onBlur?: (event: CustomEvent<InputTimeBlurEventDetail>) => void;
|
|
142
|
+
/**
|
|
143
|
+
* Emitted when the number input loses focus after its value was changed.
|
|
144
|
+
*/
|
|
145
|
+
onChange?: (event: CustomEvent<InputTimeChangeEventDetail>) => void;
|
|
146
|
+
/**
|
|
147
|
+
* Emitted when the value has been changed as a direct result of a user action.
|
|
148
|
+
*/
|
|
149
|
+
onInput?: (event: CustomEvent<InputTimeInputEventDetail>) => void;
|
|
150
|
+
/**
|
|
151
|
+
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
152
|
+
*/
|
|
153
|
+
readOnly?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
156
|
+
*/
|
|
157
|
+
required?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Indicates the validation or overall status of the input component.
|
|
160
|
+
*/
|
|
161
|
+
state?: InputTimeState;
|
|
162
|
+
/**
|
|
163
|
+
* efines the granularity of the time input. The step value is given in seconds. The default is 60 (one minute). You can also specify smaller increments (e.g., step='1' for seconds, step='0.001' for milliseconds).
|
|
164
|
+
*/
|
|
165
|
+
step?: number;
|
|
166
|
+
/**
|
|
167
|
+
* Controls the visual appearance of the component.
|
|
168
|
+
*/
|
|
169
|
+
theme?: Theme;
|
|
170
|
+
/**
|
|
171
|
+
* The default time value for the input, in hh:mm or hh:mm:ss format (e.g., value='14:00').
|
|
172
|
+
*/
|
|
173
|
+
value?: string;
|
|
174
|
+
} & {
|
|
175
|
+
children?: import("react").ReactNode | undefined;
|
|
176
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import type { BaseProps } from '../../BaseProps';
|
|
2
|
+
import type { BreakpointCustomizable, InputUrlBlurEventDetail, InputUrlChangeEventDetail, InputUrlInputEventDetail, InputUrlState, Theme } from '../types';
|
|
3
|
+
export type PInputUrlProps = BaseProps & {
|
|
4
|
+
/**
|
|
5
|
+
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='url').
|
|
6
|
+
*/
|
|
7
|
+
autoComplete?: string;
|
|
8
|
+
/**
|
|
9
|
+
* A boolean value that, if present, renders the input field as a compact version.
|
|
10
|
+
*/
|
|
11
|
+
compact?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Supplementary text providing more context or explanation for the input.
|
|
14
|
+
*/
|
|
15
|
+
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
|
|
18
|
+
*/
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
|
|
22
|
+
*/
|
|
23
|
+
form?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Controls the visibility of the label.
|
|
26
|
+
*/
|
|
27
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
|
+
/**
|
|
29
|
+
* Controls the visibility of the url icon.
|
|
30
|
+
*/
|
|
31
|
+
indicator?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Text content for a user-facing label.
|
|
34
|
+
*/
|
|
35
|
+
label?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @experimental Shows a loading indicator.
|
|
38
|
+
*/
|
|
39
|
+
loading?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* A non-negative integer specifying the maximum number of characters the user can enter into the input.
|
|
42
|
+
*/
|
|
43
|
+
maxLength?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Dynamic feedback text for validation or status.
|
|
46
|
+
*/
|
|
47
|
+
message?: string;
|
|
48
|
+
/**
|
|
49
|
+
* A non-negative integer specifying the minimum number of characters required for the input's value to be considered valid.
|
|
50
|
+
*/
|
|
51
|
+
minLength?: number;
|
|
52
|
+
/**
|
|
53
|
+
* The name of the input field, used when submitting the form data.
|
|
54
|
+
*/
|
|
55
|
+
name: string;
|
|
56
|
+
/**
|
|
57
|
+
* Emitted when the url input has lost focus.
|
|
58
|
+
*/
|
|
59
|
+
onBlur?: (event: CustomEvent<InputUrlBlurEventDetail>) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Emitted when the url input loses focus after its value was changed.
|
|
62
|
+
*/
|
|
63
|
+
onChange?: (event: CustomEvent<InputUrlChangeEventDetail>) => void;
|
|
64
|
+
/**
|
|
65
|
+
* Emitted when the value has been changed as a direct result of a user action.
|
|
66
|
+
*/
|
|
67
|
+
onInput?: (event: CustomEvent<InputUrlInputEventDetail>) => void;
|
|
68
|
+
/**
|
|
69
|
+
* Specifies a regular expression that the input's value must match for the value to pass constraint validation. This allows for more specific url validation rules than the browser's default. If provided, it overrides the browser's default tel validation.
|
|
70
|
+
*/
|
|
71
|
+
pattern?: string;
|
|
72
|
+
/**
|
|
73
|
+
* A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='https://porsche.com/')
|
|
74
|
+
*/
|
|
75
|
+
placeholder?: string;
|
|
76
|
+
/**
|
|
77
|
+
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
78
|
+
*/
|
|
79
|
+
readOnly?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
82
|
+
*/
|
|
83
|
+
required?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Indicates the validation or overall status of the input component.
|
|
86
|
+
*/
|
|
87
|
+
state?: InputUrlState;
|
|
88
|
+
/**
|
|
89
|
+
* Controls the visual appearance of the component.
|
|
90
|
+
*/
|
|
91
|
+
theme?: Theme;
|
|
92
|
+
/**
|
|
93
|
+
* The url input value.
|
|
94
|
+
*/
|
|
95
|
+
value?: string;
|
|
96
|
+
};
|
|
97
|
+
export declare const PInputUrl: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
98
|
+
/**
|
|
99
|
+
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='url').
|
|
100
|
+
*/
|
|
101
|
+
autoComplete?: string;
|
|
102
|
+
/**
|
|
103
|
+
* A boolean value that, if present, renders the input field as a compact version.
|
|
104
|
+
*/
|
|
105
|
+
compact?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Supplementary text providing more context or explanation for the input.
|
|
108
|
+
*/
|
|
109
|
+
description?: string;
|
|
110
|
+
/**
|
|
111
|
+
* A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
|
|
112
|
+
*/
|
|
113
|
+
disabled?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
|
|
116
|
+
*/
|
|
117
|
+
form?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Controls the visibility of the label.
|
|
120
|
+
*/
|
|
121
|
+
hideLabel?: BreakpointCustomizable<boolean>;
|
|
122
|
+
/**
|
|
123
|
+
* Controls the visibility of the url icon.
|
|
124
|
+
*/
|
|
125
|
+
indicator?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Text content for a user-facing label.
|
|
128
|
+
*/
|
|
129
|
+
label?: string;
|
|
130
|
+
/**
|
|
131
|
+
* @experimental Shows a loading indicator.
|
|
132
|
+
*/
|
|
133
|
+
loading?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* A non-negative integer specifying the maximum number of characters the user can enter into the input.
|
|
136
|
+
*/
|
|
137
|
+
maxLength?: number;
|
|
138
|
+
/**
|
|
139
|
+
* Dynamic feedback text for validation or status.
|
|
140
|
+
*/
|
|
141
|
+
message?: string;
|
|
142
|
+
/**
|
|
143
|
+
* A non-negative integer specifying the minimum number of characters required for the input's value to be considered valid.
|
|
144
|
+
*/
|
|
145
|
+
minLength?: number;
|
|
146
|
+
/**
|
|
147
|
+
* The name of the input field, used when submitting the form data.
|
|
148
|
+
*/
|
|
149
|
+
name: string;
|
|
150
|
+
/**
|
|
151
|
+
* Emitted when the url input has lost focus.
|
|
152
|
+
*/
|
|
153
|
+
onBlur?: (event: CustomEvent<InputUrlBlurEventDetail>) => void;
|
|
154
|
+
/**
|
|
155
|
+
* Emitted when the url input loses focus after its value was changed.
|
|
156
|
+
*/
|
|
157
|
+
onChange?: (event: CustomEvent<InputUrlChangeEventDetail>) => void;
|
|
158
|
+
/**
|
|
159
|
+
* Emitted when the value has been changed as a direct result of a user action.
|
|
160
|
+
*/
|
|
161
|
+
onInput?: (event: CustomEvent<InputUrlInputEventDetail>) => void;
|
|
162
|
+
/**
|
|
163
|
+
* Specifies a regular expression that the input's value must match for the value to pass constraint validation. This allows for more specific url validation rules than the browser's default. If provided, it overrides the browser's default tel validation.
|
|
164
|
+
*/
|
|
165
|
+
pattern?: string;
|
|
166
|
+
/**
|
|
167
|
+
* A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='https://porsche.com/')
|
|
168
|
+
*/
|
|
169
|
+
placeholder?: string;
|
|
170
|
+
/**
|
|
171
|
+
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
172
|
+
*/
|
|
173
|
+
readOnly?: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
176
|
+
*/
|
|
177
|
+
required?: boolean;
|
|
178
|
+
/**
|
|
179
|
+
* Indicates the validation or overall status of the input component.
|
|
180
|
+
*/
|
|
181
|
+
state?: InputUrlState;
|
|
182
|
+
/**
|
|
183
|
+
* Controls the visual appearance of the component.
|
|
184
|
+
*/
|
|
185
|
+
theme?: Theme;
|
|
186
|
+
/**
|
|
187
|
+
* The url input value.
|
|
188
|
+
*/
|
|
189
|
+
value?: string;
|
|
190
|
+
} & {
|
|
191
|
+
children?: import("react").ReactNode | undefined;
|
|
192
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { BaseProps } from '../../BaseProps';
|
|
2
2
|
import type { MultiSelectDropdownDirection, BreakpointCustomizable, MultiSelectUpdateEventDetail, MultiSelectState, Theme } from '../types';
|
|
3
3
|
export type PMultiSelectProps = BaseProps & {
|
|
4
|
+
/**
|
|
5
|
+
* Displays as compact version.
|
|
6
|
+
*/
|
|
7
|
+
compact?: boolean;
|
|
4
8
|
/**
|
|
5
9
|
* The description text.
|
|
6
10
|
*/
|
|
@@ -55,6 +59,10 @@ export type PMultiSelectProps = BaseProps & {
|
|
|
55
59
|
value?: string[];
|
|
56
60
|
};
|
|
57
61
|
export declare const PMultiSelect: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
62
|
+
/**
|
|
63
|
+
* Displays as compact version.
|
|
64
|
+
*/
|
|
65
|
+
compact?: boolean;
|
|
58
66
|
/**
|
|
59
67
|
* The description text.
|
|
60
68
|
*/
|
|
@@ -13,14 +13,6 @@ export type PPopoverProps = BaseProps & {
|
|
|
13
13
|
* Preferred direction in which popover should open, given there is enough space in viewport. Otherwise, it will be opened in the direction with most available space.
|
|
14
14
|
*/
|
|
15
15
|
direction?: PopoverDirection;
|
|
16
|
-
/**
|
|
17
|
-
* Emitted when the component requests to be dismissed.
|
|
18
|
-
*/
|
|
19
|
-
onDismiss?: (event: CustomEvent<void>) => void;
|
|
20
|
-
/**
|
|
21
|
-
* If true, the popover is open.
|
|
22
|
-
*/
|
|
23
|
-
open?: boolean;
|
|
24
16
|
/**
|
|
25
17
|
* Adapts the popover color depending on the theme.
|
|
26
18
|
*/
|
|
@@ -39,14 +31,6 @@ export declare const PPopover: import("react").ForwardRefExoticComponent<import(
|
|
|
39
31
|
* Preferred direction in which popover should open, given there is enough space in viewport. Otherwise, it will be opened in the direction with most available space.
|
|
40
32
|
*/
|
|
41
33
|
direction?: PopoverDirection;
|
|
42
|
-
/**
|
|
43
|
-
* Emitted when the component requests to be dismissed.
|
|
44
|
-
*/
|
|
45
|
-
onDismiss?: (event: CustomEvent<void>) => void;
|
|
46
|
-
/**
|
|
47
|
-
* If true, the popover is open.
|
|
48
|
-
*/
|
|
49
|
-
open?: boolean;
|
|
50
34
|
/**
|
|
51
35
|
* Adapts the popover color depending on the theme.
|
|
52
36
|
*/
|
|
@@ -10,11 +10,11 @@ export type PScrollerProps = BaseProps & {
|
|
|
10
10
|
*/
|
|
11
11
|
aria?: SelectedAriaAttributes<ScrollerAriaAttribute>;
|
|
12
12
|
/**
|
|
13
|
-
* Adapts the background gradient color of prev and next button.
|
|
13
|
+
* @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
14
14
|
*/
|
|
15
15
|
gradientColor?: ScrollerGradientColor;
|
|
16
16
|
/**
|
|
17
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
17
|
+
* @deprecated since v3.0.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
18
18
|
*/
|
|
19
19
|
gradientColorScheme?: ScrollerGradientColorScheme;
|
|
20
20
|
/**
|
|
@@ -44,11 +44,11 @@ export declare const PScroller: import("react").ForwardRefExoticComponent<import
|
|
|
44
44
|
*/
|
|
45
45
|
aria?: SelectedAriaAttributes<ScrollerAriaAttribute>;
|
|
46
46
|
/**
|
|
47
|
-
* Adapts the background gradient color of prev and next button.
|
|
47
|
+
* @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
48
48
|
*/
|
|
49
49
|
gradientColor?: ScrollerGradientColor;
|
|
50
50
|
/**
|
|
51
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
51
|
+
* @deprecated since v3.0.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
52
52
|
*/
|
|
53
53
|
gradientColorScheme?: ScrollerGradientColorScheme;
|
|
54
54
|
/**
|
|
@@ -38,6 +38,7 @@ export type PSelectWrapperProps = BaseProps & {
|
|
|
38
38
|
*/
|
|
39
39
|
theme?: Theme;
|
|
40
40
|
};
|
|
41
|
+
/** @deprecated since v3.29.0, will be removed with next major release. Please use `p-select` instead. */
|
|
41
42
|
export declare const PSelectWrapper: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
42
43
|
/**
|
|
43
44
|
* The description text.
|
|
@@ -6,11 +6,11 @@ export type PTabsBarProps = BaseProps & {
|
|
|
6
6
|
*/
|
|
7
7
|
activeTabIndex?: number | undefined;
|
|
8
8
|
/**
|
|
9
|
-
* Adapts the background gradient color of prev and next button.
|
|
9
|
+
* @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
10
10
|
*/
|
|
11
11
|
gradientColor?: TabsBarGradientColor;
|
|
12
12
|
/**
|
|
13
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
13
|
+
* @deprecated since v3.0.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
14
14
|
*/
|
|
15
15
|
gradientColorScheme?: TabsBarGradientColorScheme;
|
|
16
16
|
/**
|
|
@@ -40,11 +40,11 @@ export declare const PTabsBar: import("react").ForwardRefExoticComponent<import(
|
|
|
40
40
|
*/
|
|
41
41
|
activeTabIndex?: number | undefined;
|
|
42
42
|
/**
|
|
43
|
-
* Adapts the background gradient color of prev and next button.
|
|
43
|
+
* @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
44
44
|
*/
|
|
45
45
|
gradientColor?: TabsBarGradientColor;
|
|
46
46
|
/**
|
|
47
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
47
|
+
* @deprecated since v3.0.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
48
48
|
*/
|
|
49
49
|
gradientColorScheme?: TabsBarGradientColorScheme;
|
|
50
50
|
/**
|
|
@@ -6,7 +6,7 @@ export type PTabsProps = BaseProps & {
|
|
|
6
6
|
*/
|
|
7
7
|
activeTabIndex?: number;
|
|
8
8
|
/**
|
|
9
|
-
* Adapts the background gradient color of prev and next button.
|
|
9
|
+
* @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
10
10
|
*/
|
|
11
11
|
gradientColor?: TabsGradientColor;
|
|
12
12
|
/**
|
|
@@ -40,7 +40,7 @@ export declare const PTabs: import("react").ForwardRefExoticComponent<import("re
|
|
|
40
40
|
*/
|
|
41
41
|
activeTabIndex?: number;
|
|
42
42
|
/**
|
|
43
|
-
* Adapts the background gradient color of prev and next button.
|
|
43
|
+
* @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
44
44
|
*/
|
|
45
45
|
gradientColor?: TabsGradientColor;
|
|
46
46
|
/**
|
|
@@ -62,6 +62,7 @@ export type PTextFieldWrapperProps = BaseProps & {
|
|
|
62
62
|
*/
|
|
63
63
|
unitPosition?: TextFieldWrapperUnitPosition;
|
|
64
64
|
};
|
|
65
|
+
/** @deprecated since v3.29.0, will be removed with next major release. Please use one of the specific input components instead: `p-input-date`, `p-input-email`, `p-input-number`, `p-input-password`, `p-input-search`, `p-input-tel`, `p-input-text`, `p-input-time` or `p-input-url`. */
|
|
65
66
|
export declare const PTextFieldWrapper: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
66
67
|
/**
|
|
67
68
|
* Action icon can be set to `locate` for `input type="search"` in order to display an action button.
|
|
@@ -34,6 +34,7 @@ export type PTextareaWrapperProps = BaseProps & {
|
|
|
34
34
|
*/
|
|
35
35
|
theme?: Theme;
|
|
36
36
|
};
|
|
37
|
+
/** @deprecated since v3.29.0, will be removed with next major release. Please use `p-textarea` instead. */
|
|
37
38
|
export declare const PTextareaWrapper: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
38
39
|
/**
|
|
39
40
|
* The description text.
|
|
@@ -3,6 +3,8 @@ import { Component } from 'react';
|
|
|
3
3
|
* @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
|
|
4
4
|
* @slot {"name": "", "description": "Default slot for the input." }
|
|
5
5
|
* @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
|
|
6
|
+
*
|
|
7
|
+
* @deprecated since v3.29.0, will be removed with next major release. Please use `p-checkbox` instead.
|
|
6
8
|
*/
|
|
7
9
|
export declare class DSRCheckboxWrapper extends Component<any> {
|
|
8
10
|
host: HTMLElement;
|
|
@@ -4,7 +4,7 @@ import { Component } from 'react';
|
|
|
4
4
|
* @slot {"name": "", "description": "Default slot for the main content." }
|
|
5
5
|
* @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
|
|
6
6
|
*
|
|
7
|
-
* @deprecated since v3.0.0, will be removed with next major release. Please use
|
|
7
|
+
* @deprecated since v3.0.0, will be removed with next major release. Please use `p-fieldset` instead.
|
|
8
8
|
*/
|
|
9
9
|
export declare class DSRFieldsetWrapper extends Component<any> {
|
|
10
10
|
host: HTMLElement;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
4
|
+
* @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
5
|
+
* @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
6
|
+
* @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
|
|
7
|
+
* @slot {"name": "end", "description": "Shows content at the end of the input (e.g. toggle button, unit suffix)."}
|
|
8
|
+
*/
|
|
9
|
+
export declare class DSRInputDate extends Component<any> {
|
|
10
|
+
host: HTMLElement;
|
|
11
|
+
private internals;
|
|
12
|
+
private initialLoading;
|
|
13
|
+
private inputElement;
|
|
14
|
+
private defaultValue;
|
|
15
|
+
formResetCallback(): void;
|
|
16
|
+
formDisabledCallback(): void;
|
|
17
|
+
formStateRestoreCallback(): void;
|
|
18
|
+
render(): JSX.Element;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
4
|
+
* @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
5
|
+
* @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
6
|
+
* @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
|
|
7
|
+
* @slot {"name": "end", "description": "Shows content at the end of the input (e.g. toggle button, unit suffix)."}
|
|
8
|
+
*/
|
|
9
|
+
export declare class DSRInputTel extends Component<any> {
|
|
10
|
+
host: HTMLElement;
|
|
11
|
+
private internals;
|
|
12
|
+
private initialLoading;
|
|
13
|
+
private inputElement;
|
|
14
|
+
private defaultValue;
|
|
15
|
+
formResetCallback(): void;
|
|
16
|
+
formDisabledCallback(): void;
|
|
17
|
+
formStateRestoreCallback(): void;
|
|
18
|
+
render(): JSX.Element;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
4
|
+
* @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
5
|
+
* @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
6
|
+
* @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
|
|
7
|
+
* @slot {"name": "end", "description": "Shows content at the end of the input (e.g. toggle button, unit suffix)."}
|
|
8
|
+
*/
|
|
9
|
+
export declare class DSRInputTime extends Component<any> {
|
|
10
|
+
host: HTMLElement;
|
|
11
|
+
private internals;
|
|
12
|
+
private initialLoading;
|
|
13
|
+
private inputElement;
|
|
14
|
+
private defaultValue;
|
|
15
|
+
formResetCallback(): void;
|
|
16
|
+
formDisabledCallback(): void;
|
|
17
|
+
formStateRestoreCallback(): void;
|
|
18
|
+
render(): JSX.Element;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
4
|
+
* @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
5
|
+
* @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
6
|
+
* @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
|
|
7
|
+
* @slot {"name": "end", "description": "Shows content at the end of the input (e.g. toggle button, unit suffix)."}
|
|
8
|
+
*/
|
|
9
|
+
export declare class DSRInputUrl extends Component<any> {
|
|
10
|
+
host: HTMLElement;
|
|
11
|
+
private internals;
|
|
12
|
+
private initialLoading;
|
|
13
|
+
private inputElement;
|
|
14
|
+
private defaultValue;
|
|
15
|
+
formResetCallback(): void;
|
|
16
|
+
formDisabledCallback(): void;
|
|
17
|
+
formStateRestoreCallback(): void;
|
|
18
|
+
render(): JSX.Element;
|
|
19
|
+
}
|