@porsche-design-system/components-react 4.0.0-beta.2 → 4.0.0-beta.3
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 +293 -1
- package/cjs/lib/components/button-pure.wrapper.cjs +3 -3
- package/cjs/lib/components/display.wrapper.cjs +1 -0
- package/cjs/lib/components/flag.wrapper.cjs +1 -1
- package/cjs/lib/components/heading.wrapper.cjs +3 -3
- package/cjs/lib/components/icon.wrapper.cjs +1 -1
- package/cjs/lib/components/link-pure.wrapper.cjs +3 -3
- package/cjs/lib/components/spinner.wrapper.cjs +3 -3
- package/cjs/lib/components/text.wrapper.cjs +1 -1
- package/esm/lib/components/accordion.wrapper.d.ts +8 -8
- package/esm/lib/components/button-pure.wrapper.d.ts +15 -7
- package/esm/lib/components/button-pure.wrapper.mjs +3 -3
- package/esm/lib/components/button-tile.wrapper.d.ts +2 -2
- package/esm/lib/components/button.wrapper.d.ts +6 -6
- package/esm/lib/components/carousel.wrapper.d.ts +10 -10
- package/esm/lib/components/checkbox.wrapper.d.ts +6 -6
- package/esm/lib/components/crest.wrapper.d.ts +6 -6
- package/esm/lib/components/display.wrapper.d.ts +1 -0
- package/esm/lib/components/display.wrapper.mjs +1 -0
- package/esm/lib/components/drilldown-link.wrapper.d.ts +8 -8
- package/esm/lib/components/drilldown.wrapper.d.ts +8 -8
- package/esm/lib/components/fieldset.wrapper.d.ts +6 -6
- package/esm/lib/components/flag.wrapper.d.ts +5 -5
- package/esm/lib/components/flag.wrapper.mjs +1 -1
- package/esm/lib/components/flyout.wrapper.d.ts +2 -2
- package/esm/lib/components/heading.wrapper.d.ts +19 -11
- package/esm/lib/components/heading.wrapper.mjs +3 -3
- package/esm/lib/components/icon.wrapper.d.ts +7 -7
- package/esm/lib/components/icon.wrapper.mjs +1 -1
- package/esm/lib/components/input-date.wrapper.d.ts +12 -12
- package/esm/lib/components/input-email.wrapper.d.ts +8 -8
- package/esm/lib/components/input-month.wrapper.d.ts +12 -12
- package/esm/lib/components/input-number.wrapper.d.ts +8 -8
- package/esm/lib/components/input-password.wrapper.d.ts +6 -6
- package/esm/lib/components/input-search.wrapper.d.ts +6 -6
- package/esm/lib/components/input-tel.wrapper.d.ts +6 -6
- package/esm/lib/components/input-text.wrapper.d.ts +6 -6
- package/esm/lib/components/input-time.wrapper.d.ts +14 -14
- package/esm/lib/components/input-url.wrapper.d.ts +16 -16
- package/esm/lib/components/input-week.wrapper.d.ts +14 -14
- package/esm/lib/components/link-pure.wrapper.d.ts +23 -15
- package/esm/lib/components/link-pure.wrapper.mjs +3 -3
- package/esm/lib/components/link-tile-product.wrapper.d.ts +8 -8
- package/esm/lib/components/link-tile.wrapper.d.ts +8 -8
- package/esm/lib/components/link.wrapper.d.ts +14 -14
- package/esm/lib/components/modal.wrapper.d.ts +2 -2
- package/esm/lib/components/model-signature.wrapper.d.ts +2 -2
- package/esm/lib/components/multi-select.wrapper.d.ts +10 -10
- package/esm/lib/components/pin-code.wrapper.d.ts +8 -8
- package/esm/lib/components/popover.wrapper.d.ts +6 -6
- package/esm/lib/components/radio-group-option.wrapper.d.ts +2 -2
- package/esm/lib/components/radio-group.wrapper.d.ts +8 -8
- package/esm/lib/components/segmented-control-item.wrapper.d.ts +4 -4
- package/esm/lib/components/segmented-control.wrapper.d.ts +4 -4
- package/esm/lib/components/select.wrapper.d.ts +10 -10
- package/esm/lib/components/sheet.wrapper.d.ts +2 -2
- package/esm/lib/components/spinner.wrapper.d.ts +13 -5
- package/esm/lib/components/spinner.wrapper.mjs +3 -3
- package/esm/lib/components/switch.wrapper.d.ts +6 -6
- package/esm/lib/components/table-cell.wrapper.d.ts +2 -2
- package/esm/lib/components/table-head-cell.wrapper.d.ts +4 -4
- package/esm/lib/components/tabs-bar.wrapper.d.ts +2 -2
- package/esm/lib/components/tabs.wrapper.d.ts +2 -2
- package/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
- package/esm/lib/components/tag.wrapper.d.ts +2 -2
- package/esm/lib/components/text.wrapper.d.ts +12 -12
- package/esm/lib/components/text.wrapper.mjs +1 -1
- package/esm/lib/components/textarea.wrapper.d.ts +6 -6
- package/esm/lib/components/wordmark.wrapper.d.ts +8 -8
- package/esm/lib/types.d.ts +322 -141
- package/global-styles/cn/index.css +3 -7
- package/global-styles/index.css +3 -7
- package/global-styles/variables.css +3 -7
- package/package.json +6 -2
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +341 -319
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +18 -8
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/button-pure.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/display.wrapper.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/flag.wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/heading.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/icon.wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/link-pure.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/spinner.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/text.wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.cjs +3 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.cjs +2 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.cjs +1 -1
- 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-pure.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.cjs +1 -1
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +341 -319
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +18 -8
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/button-pure.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/display.wrapper.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/flag.wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/heading.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/icon.wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link-pure.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/spinner.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/text.wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +3 -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.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -0
- 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/flyout.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +1 -1
- 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-pure.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.mjs +1 -1
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +15 -7
- package/ssr/esm/lib/components/button-tile.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/button.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/checkbox.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/crest.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/display.wrapper.d.ts +1 -0
- package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/flag.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/heading.wrapper.d.ts +19 -11
- package/ssr/esm/lib/components/icon.wrapper.d.ts +7 -7
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +12 -12
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/input-month.wrapper.d.ts +12 -12
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +14 -14
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +16 -16
- package/ssr/esm/lib/components/input-week.wrapper.d.ts +14 -14
- package/ssr/esm/lib/components/link-pure.wrapper.d.ts +23 -15
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/link-tile.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/link.wrapper.d.ts +14 -14
- package/ssr/esm/lib/components/modal.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/model-signature.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/popover.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +8 -8
- package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/select.wrapper.d.ts +10 -10
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/spinner.wrapper.d.ts +13 -5
- package/ssr/esm/lib/components/switch.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/table-cell.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/tag.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/text.wrapper.d.ts +12 -12
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +8 -8
- package/ssr/esm/lib/dsr-components/carousel.d.ts +2 -2
- package/ssr/esm/lib/dsr-components/display.d.ts +2 -0
- package/ssr/esm/lib/dsr-components/drilldown-item.d.ts +2 -2
- package/ssr/esm/lib/dsr-components/flyout.d.ts +1 -1
- package/ssr/esm/lib/types.d.ts +322 -141
- package/tailwindcss/index.css +19 -4
|
@@ -6,7 +6,7 @@ export type PInputEmailProps = BaseProps & {
|
|
|
6
6
|
*/
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Displays the input field in compact mode.
|
|
10
10
|
*/
|
|
11
11
|
compact?: boolean;
|
|
12
12
|
/**
|
|
@@ -14,7 +14,7 @@ export type PInputEmailProps = BaseProps & {
|
|
|
14
14
|
*/
|
|
15
15
|
description?: string;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
18
18
|
*/
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
/**
|
|
@@ -22,7 +22,7 @@ export type PInputEmailProps = BaseProps & {
|
|
|
22
22
|
*/
|
|
23
23
|
form?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
26
26
|
*/
|
|
27
27
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
28
|
/**
|
|
@@ -50,7 +50,7 @@ export type PInputEmailProps = BaseProps & {
|
|
|
50
50
|
*/
|
|
51
51
|
minLength?: number;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Allows the user to enter a list of email addresses separated by commas (and optional whitespace). The browser validates each email address in the list.
|
|
54
54
|
*/
|
|
55
55
|
multiple?: boolean;
|
|
56
56
|
/**
|
|
@@ -100,7 +100,7 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
|
|
|
100
100
|
*/
|
|
101
101
|
autoComplete?: string;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* Displays the input field in compact mode.
|
|
104
104
|
*/
|
|
105
105
|
compact?: boolean;
|
|
106
106
|
/**
|
|
@@ -108,7 +108,7 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
|
|
|
108
108
|
*/
|
|
109
109
|
description?: string;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
112
112
|
*/
|
|
113
113
|
disabled?: boolean;
|
|
114
114
|
/**
|
|
@@ -116,7 +116,7 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
|
|
|
116
116
|
*/
|
|
117
117
|
form?: string;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
120
120
|
*/
|
|
121
121
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
122
122
|
/**
|
|
@@ -144,7 +144,7 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
|
|
|
144
144
|
*/
|
|
145
145
|
minLength?: number;
|
|
146
146
|
/**
|
|
147
|
-
*
|
|
147
|
+
* Allows the user to enter a list of email addresses separated by commas (and optional whitespace). The browser validates each email address in the list.
|
|
148
148
|
*/
|
|
149
149
|
multiple?: boolean;
|
|
150
150
|
/**
|
|
@@ -6,7 +6,7 @@ export type PInputMonthProps = BaseProps & {
|
|
|
6
6
|
*/
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Displays the input field in compact mode.
|
|
10
10
|
*/
|
|
11
11
|
compact?: boolean;
|
|
12
12
|
/**
|
|
@@ -14,7 +14,7 @@ export type PInputMonthProps = BaseProps & {
|
|
|
14
14
|
*/
|
|
15
15
|
description?: string;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
18
18
|
*/
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
/**
|
|
@@ -22,7 +22,7 @@ export type PInputMonthProps = BaseProps & {
|
|
|
22
22
|
*/
|
|
23
23
|
form?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
26
26
|
*/
|
|
27
27
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
28
|
/**
|
|
@@ -34,7 +34,7 @@ export type PInputMonthProps = BaseProps & {
|
|
|
34
34
|
*/
|
|
35
35
|
loading?: boolean;
|
|
36
36
|
/**
|
|
37
|
-
* Specifies the latest month that can be selected. The value must be a month string in YYYY-MM format(e.g., max='2024-12').
|
|
37
|
+
* Specifies the latest month that can be selected. The value must be a month string in YYYY-MM format (e.g., max='2024-12').
|
|
38
38
|
*/
|
|
39
39
|
max?: string;
|
|
40
40
|
/**
|
|
@@ -50,11 +50,11 @@ export type PInputMonthProps = BaseProps & {
|
|
|
50
50
|
*/
|
|
51
51
|
name: string;
|
|
52
52
|
/**
|
|
53
|
-
* Emitted when the
|
|
53
|
+
* Emitted when the month input has lost focus.
|
|
54
54
|
*/
|
|
55
55
|
onBlur?: (event: CustomEvent<InputMonthBlurEventDetail>) => void;
|
|
56
56
|
/**
|
|
57
|
-
* Emitted when the
|
|
57
|
+
* Emitted when the month input loses focus after its value was changed.
|
|
58
58
|
*/
|
|
59
59
|
onChange?: (event: CustomEvent<InputMonthChangeEventDetail>) => void;
|
|
60
60
|
/**
|
|
@@ -88,7 +88,7 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
|
|
|
88
88
|
*/
|
|
89
89
|
autoComplete?: string;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* Displays the input field in compact mode.
|
|
92
92
|
*/
|
|
93
93
|
compact?: boolean;
|
|
94
94
|
/**
|
|
@@ -96,7 +96,7 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
|
|
|
96
96
|
*/
|
|
97
97
|
description?: string;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
100
100
|
*/
|
|
101
101
|
disabled?: boolean;
|
|
102
102
|
/**
|
|
@@ -104,7 +104,7 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
|
|
|
104
104
|
*/
|
|
105
105
|
form?: string;
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
108
108
|
*/
|
|
109
109
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
110
110
|
/**
|
|
@@ -116,7 +116,7 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
|
|
|
116
116
|
*/
|
|
117
117
|
loading?: boolean;
|
|
118
118
|
/**
|
|
119
|
-
* Specifies the latest month that can be selected. The value must be a month string in YYYY-MM format(e.g., max='2024-12').
|
|
119
|
+
* Specifies the latest month that can be selected. The value must be a month string in YYYY-MM format (e.g., max='2024-12').
|
|
120
120
|
*/
|
|
121
121
|
max?: string;
|
|
122
122
|
/**
|
|
@@ -132,11 +132,11 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
|
|
|
132
132
|
*/
|
|
133
133
|
name: string;
|
|
134
134
|
/**
|
|
135
|
-
* Emitted when the
|
|
135
|
+
* Emitted when the month input has lost focus.
|
|
136
136
|
*/
|
|
137
137
|
onBlur?: (event: CustomEvent<InputMonthBlurEventDetail>) => void;
|
|
138
138
|
/**
|
|
139
|
-
* Emitted when the
|
|
139
|
+
* Emitted when the month input loses focus after its value was changed.
|
|
140
140
|
*/
|
|
141
141
|
onChange?: (event: CustomEvent<InputMonthChangeEventDetail>) => void;
|
|
142
142
|
/**
|
|
@@ -6,7 +6,7 @@ export type PInputNumberProps = BaseProps & {
|
|
|
6
6
|
*/
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Displays the input field in compact mode.
|
|
10
10
|
*/
|
|
11
11
|
compact?: boolean;
|
|
12
12
|
/**
|
|
@@ -18,7 +18,7 @@ export type PInputNumberProps = BaseProps & {
|
|
|
18
18
|
*/
|
|
19
19
|
description?: string;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
22
22
|
*/
|
|
23
23
|
disabled?: boolean;
|
|
24
24
|
/**
|
|
@@ -26,7 +26,7 @@ export type PInputNumberProps = BaseProps & {
|
|
|
26
26
|
*/
|
|
27
27
|
form?: string;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
30
30
|
*/
|
|
31
31
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
32
32
|
/**
|
|
@@ -86,7 +86,7 @@ export type PInputNumberProps = BaseProps & {
|
|
|
86
86
|
*/
|
|
87
87
|
step?: number;
|
|
88
88
|
/**
|
|
89
|
-
* The number input
|
|
89
|
+
* The value of the number input.
|
|
90
90
|
*/
|
|
91
91
|
value?: string;
|
|
92
92
|
};
|
|
@@ -96,7 +96,7 @@ export declare const PInputNumber: import("react").ForwardRefExoticComponent<Omi
|
|
|
96
96
|
*/
|
|
97
97
|
autoComplete?: string;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Displays the input field in compact mode.
|
|
100
100
|
*/
|
|
101
101
|
compact?: boolean;
|
|
102
102
|
/**
|
|
@@ -108,7 +108,7 @@ export declare const PInputNumber: import("react").ForwardRefExoticComponent<Omi
|
|
|
108
108
|
*/
|
|
109
109
|
description?: string;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
112
112
|
*/
|
|
113
113
|
disabled?: boolean;
|
|
114
114
|
/**
|
|
@@ -116,7 +116,7 @@ export declare const PInputNumber: import("react").ForwardRefExoticComponent<Omi
|
|
|
116
116
|
*/
|
|
117
117
|
form?: string;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
120
120
|
*/
|
|
121
121
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
122
122
|
/**
|
|
@@ -176,7 +176,7 @@ export declare const PInputNumber: import("react").ForwardRefExoticComponent<Omi
|
|
|
176
176
|
*/
|
|
177
177
|
step?: number;
|
|
178
178
|
/**
|
|
179
|
-
* The number input
|
|
179
|
+
* The value of the number input.
|
|
180
180
|
*/
|
|
181
181
|
value?: string;
|
|
182
182
|
} & {
|
|
@@ -6,7 +6,7 @@ export type PInputPasswordProps = BaseProps & {
|
|
|
6
6
|
*/
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Displays the input field in compact mode.
|
|
10
10
|
*/
|
|
11
11
|
compact?: boolean;
|
|
12
12
|
/**
|
|
@@ -14,7 +14,7 @@ export type PInputPasswordProps = BaseProps & {
|
|
|
14
14
|
*/
|
|
15
15
|
description?: string;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
18
18
|
*/
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
/**
|
|
@@ -22,7 +22,7 @@ export type PInputPasswordProps = BaseProps & {
|
|
|
22
22
|
*/
|
|
23
23
|
form?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
26
26
|
*/
|
|
27
27
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
28
|
/**
|
|
@@ -92,7 +92,7 @@ export declare const PInputPassword: import("react").ForwardRefExoticComponent<O
|
|
|
92
92
|
*/
|
|
93
93
|
autoComplete?: string;
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* Displays the input field in compact mode.
|
|
96
96
|
*/
|
|
97
97
|
compact?: boolean;
|
|
98
98
|
/**
|
|
@@ -100,7 +100,7 @@ export declare const PInputPassword: import("react").ForwardRefExoticComponent<O
|
|
|
100
100
|
*/
|
|
101
101
|
description?: string;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
104
104
|
*/
|
|
105
105
|
disabled?: boolean;
|
|
106
106
|
/**
|
|
@@ -108,7 +108,7 @@ export declare const PInputPassword: import("react").ForwardRefExoticComponent<O
|
|
|
108
108
|
*/
|
|
109
109
|
form?: string;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
112
112
|
*/
|
|
113
113
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
114
114
|
/**
|
|
@@ -10,7 +10,7 @@ export type PInputSearchProps = BaseProps & {
|
|
|
10
10
|
*/
|
|
11
11
|
clear?: boolean;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Displays the input field in compact mode.
|
|
14
14
|
*/
|
|
15
15
|
compact?: boolean;
|
|
16
16
|
/**
|
|
@@ -18,7 +18,7 @@ export type PInputSearchProps = BaseProps & {
|
|
|
18
18
|
*/
|
|
19
19
|
description?: string;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
22
22
|
*/
|
|
23
23
|
disabled?: boolean;
|
|
24
24
|
/**
|
|
@@ -26,7 +26,7 @@ export type PInputSearchProps = BaseProps & {
|
|
|
26
26
|
*/
|
|
27
27
|
form?: string;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
30
30
|
*/
|
|
31
31
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
32
32
|
/**
|
|
@@ -100,7 +100,7 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omi
|
|
|
100
100
|
*/
|
|
101
101
|
clear?: boolean;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* Displays the input field in compact mode.
|
|
104
104
|
*/
|
|
105
105
|
compact?: boolean;
|
|
106
106
|
/**
|
|
@@ -108,7 +108,7 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omi
|
|
|
108
108
|
*/
|
|
109
109
|
description?: string;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
112
112
|
*/
|
|
113
113
|
disabled?: boolean;
|
|
114
114
|
/**
|
|
@@ -116,7 +116,7 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omi
|
|
|
116
116
|
*/
|
|
117
117
|
form?: string;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
120
120
|
*/
|
|
121
121
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
122
122
|
/**
|
|
@@ -6,7 +6,7 @@ export type PInputTelProps = BaseProps & {
|
|
|
6
6
|
*/
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Displays the input field in compact mode.
|
|
10
10
|
*/
|
|
11
11
|
compact?: boolean;
|
|
12
12
|
/**
|
|
@@ -14,7 +14,7 @@ export type PInputTelProps = BaseProps & {
|
|
|
14
14
|
*/
|
|
15
15
|
description?: string;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
18
18
|
*/
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
/**
|
|
@@ -22,7 +22,7 @@ export type PInputTelProps = BaseProps & {
|
|
|
22
22
|
*/
|
|
23
23
|
form?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
26
26
|
*/
|
|
27
27
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
28
|
/**
|
|
@@ -96,7 +96,7 @@ export declare const PInputTel: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
96
96
|
*/
|
|
97
97
|
autoComplete?: string;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Displays the input field in compact mode.
|
|
100
100
|
*/
|
|
101
101
|
compact?: boolean;
|
|
102
102
|
/**
|
|
@@ -104,7 +104,7 @@ export declare const PInputTel: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
104
104
|
*/
|
|
105
105
|
description?: string;
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
108
108
|
*/
|
|
109
109
|
disabled?: boolean;
|
|
110
110
|
/**
|
|
@@ -112,7 +112,7 @@ export declare const PInputTel: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
112
112
|
*/
|
|
113
113
|
form?: string;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
116
116
|
*/
|
|
117
117
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
118
118
|
/**
|
|
@@ -6,7 +6,7 @@ export type PInputTextProps = BaseProps & {
|
|
|
6
6
|
*/
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Displays the input field in compact mode.
|
|
10
10
|
*/
|
|
11
11
|
compact?: boolean;
|
|
12
12
|
/**
|
|
@@ -18,7 +18,7 @@ export type PInputTextProps = BaseProps & {
|
|
|
18
18
|
*/
|
|
19
19
|
description?: string;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
22
22
|
*/
|
|
23
23
|
disabled?: boolean;
|
|
24
24
|
/**
|
|
@@ -26,7 +26,7 @@ export type PInputTextProps = BaseProps & {
|
|
|
26
26
|
*/
|
|
27
27
|
form?: string;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
30
30
|
*/
|
|
31
31
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
32
32
|
/**
|
|
@@ -96,7 +96,7 @@ export declare const PInputText: import("react").ForwardRefExoticComponent<Omit<
|
|
|
96
96
|
*/
|
|
97
97
|
autoComplete?: string;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Displays the input field in compact mode.
|
|
100
100
|
*/
|
|
101
101
|
compact?: boolean;
|
|
102
102
|
/**
|
|
@@ -108,7 +108,7 @@ export declare const PInputText: import("react").ForwardRefExoticComponent<Omit<
|
|
|
108
108
|
*/
|
|
109
109
|
description?: string;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
112
112
|
*/
|
|
113
113
|
disabled?: boolean;
|
|
114
114
|
/**
|
|
@@ -116,7 +116,7 @@ export declare const PInputText: import("react").ForwardRefExoticComponent<Omit<
|
|
|
116
116
|
*/
|
|
117
117
|
form?: string;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
120
120
|
*/
|
|
121
121
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
122
122
|
/**
|
|
@@ -2,11 +2,11 @@ import type { BaseProps } from '../../BaseProps';
|
|
|
2
2
|
import type { BreakpointCustomizable, InputTimeBlurEventDetail, InputTimeChangeEventDetail, InputTimeInputEventDetail, InputTimeState } from '../types';
|
|
3
3
|
export type PInputTimeProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
|
-
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g.,
|
|
5
|
+
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='on').
|
|
6
6
|
*/
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Displays the input field in compact mode.
|
|
10
10
|
*/
|
|
11
11
|
compact?: boolean;
|
|
12
12
|
/**
|
|
@@ -14,7 +14,7 @@ export type PInputTimeProps = BaseProps & {
|
|
|
14
14
|
*/
|
|
15
15
|
description?: string;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
18
18
|
*/
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
/**
|
|
@@ -22,7 +22,7 @@ export type PInputTimeProps = BaseProps & {
|
|
|
22
22
|
*/
|
|
23
23
|
form?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
26
26
|
*/
|
|
27
27
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
28
|
/**
|
|
@@ -50,11 +50,11 @@ export type PInputTimeProps = BaseProps & {
|
|
|
50
50
|
*/
|
|
51
51
|
name: string;
|
|
52
52
|
/**
|
|
53
|
-
* Emitted when the
|
|
53
|
+
* Emitted when the time input has lost focus.
|
|
54
54
|
*/
|
|
55
55
|
onBlur?: (event: CustomEvent<InputTimeBlurEventDetail>) => void;
|
|
56
56
|
/**
|
|
57
|
-
* Emitted when the
|
|
57
|
+
* Emitted when the time input loses focus after its value was changed.
|
|
58
58
|
*/
|
|
59
59
|
onChange?: (event: CustomEvent<InputTimeChangeEventDetail>) => void;
|
|
60
60
|
/**
|
|
@@ -74,7 +74,7 @@ export type PInputTimeProps = BaseProps & {
|
|
|
74
74
|
*/
|
|
75
75
|
state?: InputTimeState;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* Defines 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
78
|
*/
|
|
79
79
|
step?: number;
|
|
80
80
|
/**
|
|
@@ -84,11 +84,11 @@ export type PInputTimeProps = BaseProps & {
|
|
|
84
84
|
};
|
|
85
85
|
export declare const PInputTime: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
86
86
|
/**
|
|
87
|
-
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g.,
|
|
87
|
+
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='on').
|
|
88
88
|
*/
|
|
89
89
|
autoComplete?: string;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* Displays the input field in compact mode.
|
|
92
92
|
*/
|
|
93
93
|
compact?: boolean;
|
|
94
94
|
/**
|
|
@@ -96,7 +96,7 @@ export declare const PInputTime: import("react").ForwardRefExoticComponent<Omit<
|
|
|
96
96
|
*/
|
|
97
97
|
description?: string;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Disables the input field. The value will not be submitted with the form.
|
|
100
100
|
*/
|
|
101
101
|
disabled?: boolean;
|
|
102
102
|
/**
|
|
@@ -104,7 +104,7 @@ export declare const PInputTime: import("react").ForwardRefExoticComponent<Omit<
|
|
|
104
104
|
*/
|
|
105
105
|
form?: string;
|
|
106
106
|
/**
|
|
107
|
-
*
|
|
107
|
+
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
108
108
|
*/
|
|
109
109
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
110
110
|
/**
|
|
@@ -132,11 +132,11 @@ export declare const PInputTime: import("react").ForwardRefExoticComponent<Omit<
|
|
|
132
132
|
*/
|
|
133
133
|
name: string;
|
|
134
134
|
/**
|
|
135
|
-
* Emitted when the
|
|
135
|
+
* Emitted when the time input has lost focus.
|
|
136
136
|
*/
|
|
137
137
|
onBlur?: (event: CustomEvent<InputTimeBlurEventDetail>) => void;
|
|
138
138
|
/**
|
|
139
|
-
* Emitted when the
|
|
139
|
+
* Emitted when the time input loses focus after its value was changed.
|
|
140
140
|
*/
|
|
141
141
|
onChange?: (event: CustomEvent<InputTimeChangeEventDetail>) => void;
|
|
142
142
|
/**
|
|
@@ -156,7 +156,7 @@ export declare const PInputTime: import("react").ForwardRefExoticComponent<Omit<
|
|
|
156
156
|
*/
|
|
157
157
|
state?: InputTimeState;
|
|
158
158
|
/**
|
|
159
|
-
*
|
|
159
|
+
* Defines 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).
|
|
160
160
|
*/
|
|
161
161
|
step?: number;
|
|
162
162
|
/**
|