@porsche-design-system/components-react 4.0.0-beta.4 → 4.0.0-rc.1
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 +72 -4
- package/cjs/lib/components/banner.wrapper.cjs +3 -3
- package/esm/lib/components/accordion.wrapper.d.ts +8 -0
- package/esm/lib/components/banner.wrapper.d.ts +37 -15
- package/esm/lib/components/banner.wrapper.mjs +3 -3
- package/esm/lib/components/button-pure.wrapper.d.ts +22 -0
- package/esm/lib/components/button-tile.wrapper.d.ts +20 -0
- package/esm/lib/components/button.wrapper.d.ts +14 -0
- package/esm/lib/components/canvas.wrapper.d.ts +6 -0
- package/esm/lib/components/carousel.wrapper.d.ts +22 -0
- package/esm/lib/components/checkbox.wrapper.d.ts +24 -0
- package/esm/lib/components/crest.wrapper.d.ts +2 -0
- package/esm/lib/components/display.wrapper.d.ts +8 -0
- package/esm/lib/components/divider.wrapper.d.ts +4 -0
- package/esm/lib/components/drilldown-item.wrapper.d.ts +6 -0
- package/esm/lib/components/drilldown-link.wrapper.d.ts +4 -0
- package/esm/lib/components/drilldown.wrapper.d.ts +2 -0
- package/esm/lib/components/fieldset.wrapper.d.ts +10 -0
- package/esm/lib/components/flag.wrapper.d.ts +4 -0
- package/esm/lib/components/flyout.wrapper.d.ts +12 -0
- package/esm/lib/components/heading.wrapper.d.ts +12 -0
- package/esm/lib/components/icon.wrapper.d.ts +6 -0
- package/esm/lib/components/inline-notification.wrapper.d.ts +14 -0
- package/esm/lib/components/input-date.wrapper.d.ts +24 -0
- package/esm/lib/components/input-email.wrapper.d.ts +28 -0
- package/esm/lib/components/input-month.wrapper.d.ts +24 -0
- package/esm/lib/components/input-number.wrapper.d.ts +28 -0
- package/esm/lib/components/input-password.wrapper.d.ts +26 -0
- package/esm/lib/components/input-search.wrapper.d.ts +28 -0
- package/esm/lib/components/input-tel.wrapper.d.ts +26 -0
- package/esm/lib/components/input-text.wrapper.d.ts +26 -0
- package/esm/lib/components/input-time.wrapper.d.ts +24 -0
- package/esm/lib/components/input-url.wrapper.d.ts +26 -0
- package/esm/lib/components/input-week.wrapper.d.ts +24 -0
- package/esm/lib/components/link-pure.wrapper.d.ts +18 -0
- package/esm/lib/components/link-tile-product.wrapper.d.ts +8 -0
- package/esm/lib/components/link-tile.wrapper.d.ts +14 -0
- package/esm/lib/components/link.wrapper.d.ts +10 -0
- package/esm/lib/components/modal.wrapper.d.ts +12 -0
- package/esm/lib/components/model-signature.wrapper.d.ts +12 -0
- package/esm/lib/components/multi-select-option.wrapper.d.ts +2 -0
- package/esm/lib/components/multi-select.wrapper.d.ts +20 -0
- package/esm/lib/components/optgroup.wrapper.d.ts +2 -0
- package/esm/lib/components/pagination.wrapper.d.ts +10 -0
- package/esm/lib/components/pin-code.wrapper.d.ts +24 -0
- package/esm/lib/components/popover.wrapper.d.ts +2 -0
- package/esm/lib/components/radio-group-option.wrapper.d.ts +4 -0
- package/esm/lib/components/radio-group.wrapper.d.ts +22 -0
- package/esm/lib/components/scroller.wrapper.d.ts +6 -0
- package/esm/lib/components/segmented-control-item.wrapper.d.ts +2 -0
- package/esm/lib/components/segmented-control.wrapper.d.ts +18 -0
- package/esm/lib/components/select-option.wrapper.d.ts +2 -0
- package/esm/lib/components/select.wrapper.d.ts +20 -0
- package/esm/lib/components/sheet.wrapper.d.ts +8 -0
- package/esm/lib/components/spinner.wrapper.d.ts +4 -0
- package/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -0
- package/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -0
- package/esm/lib/components/switch.wrapper.d.ts +14 -0
- package/esm/lib/components/table-cell.wrapper.d.ts +2 -0
- package/esm/lib/components/table-head-cell.wrapper.d.ts +4 -0
- package/esm/lib/components/table.wrapper.d.ts +6 -0
- package/esm/lib/components/tabs-bar.wrapper.d.ts +6 -0
- package/esm/lib/components/tabs.wrapper.d.ts +8 -0
- package/esm/lib/components/tag-dismissible.wrapper.d.ts +2 -0
- package/esm/lib/components/tag.wrapper.d.ts +6 -0
- package/esm/lib/components/text-list.wrapper.d.ts +2 -0
- package/esm/lib/components/text.wrapper.d.ts +14 -0
- package/esm/lib/components/textarea.wrapper.d.ts +30 -0
- package/esm/lib/components/wordmark.wrapper.d.ts +4 -0
- package/esm/lib/types.d.ts +5 -0
- package/global-styles/cn/index.css +1 -0
- package/global-styles/index.css +1 -0
- package/global-styles/variables.css +1 -0
- package/package.json +4 -2
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +723 -775
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +16 -77
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.cjs +4 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.cjs +11 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.cjs +4 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.cjs +1 -4
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +723 -775
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +15 -76
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.mjs +4 -5
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +11 -6
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +5 -7
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.mjs +2 -5
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/banner.wrapper.d.ts +37 -15
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +22 -0
- package/ssr/esm/lib/components/button-tile.wrapper.d.ts +20 -0
- package/ssr/esm/lib/components/button.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/canvas.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +22 -0
- package/ssr/esm/lib/components/checkbox.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/crest.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/display.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/divider.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +10 -0
- package/ssr/esm/lib/components/flag.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/heading.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/icon.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/input-month.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-week.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/link-pure.wrapper.d.ts +18 -0
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/link-tile.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/link.wrapper.d.ts +10 -0
- package/ssr/esm/lib/components/modal.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/model-signature.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +20 -0
- package/ssr/esm/lib/components/optgroup.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/pagination.wrapper.d.ts +10 -0
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/popover.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +22 -0
- package/ssr/esm/lib/components/scroller.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +18 -0
- package/ssr/esm/lib/components/select-option.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/select.wrapper.d.ts +20 -0
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/spinner.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/switch.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/table-cell.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/table.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/tag.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/text-list.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/text.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +30 -0
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +4 -0
- package/ssr/esm/lib/dsr-components/banner.d.ts +2 -2
- package/ssr/esm/lib/types.d.ts +5 -0
- package/tailwindcss/index.css +73 -14
|
@@ -3,22 +3,27 @@ import type { HeadingAlign, HeadingColor, HeadingHyphens, BreakpointCustomizable
|
|
|
3
3
|
export type PHeadingProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Text alignment of the heading. Use 'start' for left-aligned text (in LTR), 'center' for centered, 'end' for right-aligned (in LTR), or 'inherit' to adopt the parent's alignment.
|
|
6
|
+
* @default 'start'
|
|
6
7
|
*/
|
|
7
8
|
align?: HeadingAlign;
|
|
8
9
|
/**
|
|
9
10
|
* Text color of the heading. Use 'primary' for default, 'contrast-higher' / 'contrast-high' / 'contrast-medium' for alternative emphasis levels, or 'inherit' to adopt the parent's color.
|
|
11
|
+
* @default 'primary'
|
|
10
12
|
*/
|
|
11
13
|
color?: HeadingColor;
|
|
12
14
|
/**
|
|
13
15
|
* Adds an ellipsis to a single line of text if it overflows the container width. When enabled, the text is truncated to a single line with `text-overflow: ellipsis`. Cannot be combined with multi-line content.
|
|
16
|
+
* @default false
|
|
14
17
|
*/
|
|
15
18
|
ellipsis?: boolean;
|
|
16
19
|
/**
|
|
17
20
|
* Controls the hyphenation behavior of the heading. Use 'auto' to let the browser automatically hyphenate words at appropriate points, 'manual' to only hyphenate at manually inserted hyphenation points (e.g. `­`), 'none' to disable hyphenation entirely, or 'inherit' to adopt the parent's hyphenation setting.
|
|
21
|
+
* @default 'none'
|
|
18
22
|
*/
|
|
19
23
|
hyphens?: HeadingHyphens;
|
|
20
24
|
/**
|
|
21
25
|
* Size of the heading. Also defines the size for specific breakpoints, like {base: "md", l: "2xl"}. You always need to provide a base value when doing this. Use 'inherit' to adopt the parent's font size.
|
|
26
|
+
* @default '2xl'
|
|
22
27
|
*/
|
|
23
28
|
size?: BreakpointCustomizable<HeadingSize>;
|
|
24
29
|
/**
|
|
@@ -27,28 +32,34 @@ export type PHeadingProps = BaseProps & {
|
|
|
27
32
|
tag?: HeadingTag;
|
|
28
33
|
/**
|
|
29
34
|
* The font weight of the heading. Use 'normal' for regular weight, 'semibold' for slightly emphasized text, or 'bold' for strong emphasis. For `size` values of 'sm' or smaller, it's recommended to use 'semibold' for better readability.
|
|
35
|
+
* @default 'normal'
|
|
30
36
|
*/
|
|
31
37
|
weight?: HeadingWeight;
|
|
32
38
|
};
|
|
33
39
|
export declare const PHeading: 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"> & {
|
|
34
40
|
/**
|
|
35
41
|
* Text alignment of the heading. Use 'start' for left-aligned text (in LTR), 'center' for centered, 'end' for right-aligned (in LTR), or 'inherit' to adopt the parent's alignment.
|
|
42
|
+
* @default 'start'
|
|
36
43
|
*/
|
|
37
44
|
align?: HeadingAlign;
|
|
38
45
|
/**
|
|
39
46
|
* Text color of the heading. Use 'primary' for default, 'contrast-higher' / 'contrast-high' / 'contrast-medium' for alternative emphasis levels, or 'inherit' to adopt the parent's color.
|
|
47
|
+
* @default 'primary'
|
|
40
48
|
*/
|
|
41
49
|
color?: HeadingColor;
|
|
42
50
|
/**
|
|
43
51
|
* Adds an ellipsis to a single line of text if it overflows the container width. When enabled, the text is truncated to a single line with `text-overflow: ellipsis`. Cannot be combined with multi-line content.
|
|
52
|
+
* @default false
|
|
44
53
|
*/
|
|
45
54
|
ellipsis?: boolean;
|
|
46
55
|
/**
|
|
47
56
|
* Controls the hyphenation behavior of the heading. Use 'auto' to let the browser automatically hyphenate words at appropriate points, 'manual' to only hyphenate at manually inserted hyphenation points (e.g. `­`), 'none' to disable hyphenation entirely, or 'inherit' to adopt the parent's hyphenation setting.
|
|
57
|
+
* @default 'none'
|
|
48
58
|
*/
|
|
49
59
|
hyphens?: HeadingHyphens;
|
|
50
60
|
/**
|
|
51
61
|
* Size of the heading. Also defines the size for specific breakpoints, like {base: "md", l: "2xl"}. You always need to provide a base value when doing this. Use 'inherit' to adopt the parent's font size.
|
|
62
|
+
* @default '2xl'
|
|
52
63
|
*/
|
|
53
64
|
size?: BreakpointCustomizable<HeadingSize>;
|
|
54
65
|
/**
|
|
@@ -57,6 +68,7 @@ export declare const PHeading: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
57
68
|
tag?: HeadingTag;
|
|
58
69
|
/**
|
|
59
70
|
* The font weight of the heading. Use 'normal' for regular weight, 'semibold' for slightly emphasized text, or 'bold' for strong emphasis. For `size` values of 'sm' or smaller, it's recommended to use 'semibold' for better readability.
|
|
71
|
+
* @default 'normal'
|
|
60
72
|
*/
|
|
61
73
|
weight?: HeadingWeight;
|
|
62
74
|
} & {
|
|
@@ -7,14 +7,17 @@ export type PIconProps = BaseProps & {
|
|
|
7
7
|
aria?: SelectedAriaAttributes<IconAriaAttribute>;
|
|
8
8
|
/**
|
|
9
9
|
* Basic color variations.
|
|
10
|
+
* @default 'primary'
|
|
10
11
|
*/
|
|
11
12
|
color?: IconColor;
|
|
12
13
|
/**
|
|
13
14
|
* Specifies which icon to use.
|
|
15
|
+
* @default 'arrow-right'
|
|
14
16
|
*/
|
|
15
17
|
name?: IconName;
|
|
16
18
|
/**
|
|
17
19
|
* Defines the size of the icon, aligned with the typographic scale used by components such as p-spinner, p-flag, p-text, and p-heading. When set to `inherit`, the size is derived from a custom font-size defined on a parent element, calculated against the global line-height (based on `ex`-unit) to remain visually consistent with other typographic-scale-based components.
|
|
20
|
+
* @default 'sm'
|
|
18
21
|
*/
|
|
19
22
|
size?: BreakpointCustomizable<IconSize>;
|
|
20
23
|
/**
|
|
@@ -29,14 +32,17 @@ export declare const PIcon: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
29
32
|
aria?: SelectedAriaAttributes<IconAriaAttribute>;
|
|
30
33
|
/**
|
|
31
34
|
* Basic color variations.
|
|
35
|
+
* @default 'primary'
|
|
32
36
|
*/
|
|
33
37
|
color?: IconColor;
|
|
34
38
|
/**
|
|
35
39
|
* Specifies which icon to use.
|
|
40
|
+
* @default 'arrow-right'
|
|
36
41
|
*/
|
|
37
42
|
name?: IconName;
|
|
38
43
|
/**
|
|
39
44
|
* Defines the size of the icon, aligned with the typographic scale used by components such as p-spinner, p-flag, p-text, and p-heading. When set to `inherit`, the size is derived from a custom font-size defined on a parent element, calculated against the global line-height (based on `ex`-unit) to remain visually consistent with other typographic-scale-based components.
|
|
45
|
+
* @default 'sm'
|
|
40
46
|
*/
|
|
41
47
|
size?: BreakpointCustomizable<IconSize>;
|
|
42
48
|
/**
|
|
@@ -3,6 +3,7 @@ import type { InlineNotificationActionIcon, InlineNotificationHeadingTag, Inline
|
|
|
3
3
|
export type PInlineNotificationProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Action icon of the inline-notification.
|
|
6
|
+
* @default 'arrow-right'
|
|
6
7
|
*/
|
|
7
8
|
actionIcon?: InlineNotificationActionIcon;
|
|
8
9
|
/**
|
|
@@ -11,22 +12,27 @@ export type PInlineNotificationProps = BaseProps & {
|
|
|
11
12
|
actionLabel?: string;
|
|
12
13
|
/**
|
|
13
14
|
* Disables the action button and shows a loading indicator. No events will be triggered while loading state is active.
|
|
15
|
+
* @default false
|
|
14
16
|
*/
|
|
15
17
|
actionLoading?: boolean;
|
|
16
18
|
/**
|
|
17
19
|
* Description of the inline-notification.
|
|
20
|
+
* @default ''
|
|
18
21
|
*/
|
|
19
22
|
description?: string;
|
|
20
23
|
/**
|
|
21
24
|
* If false, the inline-notification will not have a dismiss button.
|
|
25
|
+
* @default true
|
|
22
26
|
*/
|
|
23
27
|
dismissButton?: boolean;
|
|
24
28
|
/**
|
|
25
29
|
* Heading of the inline-notification.
|
|
30
|
+
* @default ''
|
|
26
31
|
*/
|
|
27
32
|
heading?: string;
|
|
28
33
|
/**
|
|
29
34
|
* Sets a heading tag, so it fits correctly within the outline of the page.
|
|
35
|
+
* @default 'h5'
|
|
30
36
|
*/
|
|
31
37
|
headingTag?: InlineNotificationHeadingTag;
|
|
32
38
|
/**
|
|
@@ -39,12 +45,14 @@ export type PInlineNotificationProps = BaseProps & {
|
|
|
39
45
|
onDismiss?: (event: CustomEvent<void>) => void;
|
|
40
46
|
/**
|
|
41
47
|
* State of the inline-notification.
|
|
48
|
+
* @default 'info'
|
|
42
49
|
*/
|
|
43
50
|
state?: InlineNotificationState;
|
|
44
51
|
};
|
|
45
52
|
export declare const PInlineNotification: 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"> & {
|
|
46
53
|
/**
|
|
47
54
|
* Action icon of the inline-notification.
|
|
55
|
+
* @default 'arrow-right'
|
|
48
56
|
*/
|
|
49
57
|
actionIcon?: InlineNotificationActionIcon;
|
|
50
58
|
/**
|
|
@@ -53,22 +61,27 @@ export declare const PInlineNotification: import("react").ForwardRefExoticCompon
|
|
|
53
61
|
actionLabel?: string;
|
|
54
62
|
/**
|
|
55
63
|
* Disables the action button and shows a loading indicator. No events will be triggered while loading state is active.
|
|
64
|
+
* @default false
|
|
56
65
|
*/
|
|
57
66
|
actionLoading?: boolean;
|
|
58
67
|
/**
|
|
59
68
|
* Description of the inline-notification.
|
|
69
|
+
* @default ''
|
|
60
70
|
*/
|
|
61
71
|
description?: string;
|
|
62
72
|
/**
|
|
63
73
|
* If false, the inline-notification will not have a dismiss button.
|
|
74
|
+
* @default true
|
|
64
75
|
*/
|
|
65
76
|
dismissButton?: boolean;
|
|
66
77
|
/**
|
|
67
78
|
* Heading of the inline-notification.
|
|
79
|
+
* @default ''
|
|
68
80
|
*/
|
|
69
81
|
heading?: string;
|
|
70
82
|
/**
|
|
71
83
|
* Sets a heading tag, so it fits correctly within the outline of the page.
|
|
84
|
+
* @default 'h5'
|
|
72
85
|
*/
|
|
73
86
|
headingTag?: InlineNotificationHeadingTag;
|
|
74
87
|
/**
|
|
@@ -81,6 +94,7 @@ export declare const PInlineNotification: import("react").ForwardRefExoticCompon
|
|
|
81
94
|
onDismiss?: (event: CustomEvent<void>) => void;
|
|
82
95
|
/**
|
|
83
96
|
* State of the inline-notification.
|
|
97
|
+
* @default 'info'
|
|
84
98
|
*/
|
|
85
99
|
state?: InlineNotificationState;
|
|
86
100
|
} & {
|
|
@@ -7,14 +7,17 @@ export type PInputDateProps = BaseProps & {
|
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
9
|
* Displays the input field in compact mode.
|
|
10
|
+
* @default false
|
|
10
11
|
*/
|
|
11
12
|
compact?: boolean;
|
|
12
13
|
/**
|
|
13
14
|
* Supplementary text providing more context or explanation for the input.
|
|
15
|
+
* @default ''
|
|
14
16
|
*/
|
|
15
17
|
description?: string;
|
|
16
18
|
/**
|
|
17
19
|
* Disables the input field. The value will not be submitted with the form.
|
|
20
|
+
* @default false
|
|
18
21
|
*/
|
|
19
22
|
disabled?: boolean;
|
|
20
23
|
/**
|
|
@@ -23,14 +26,17 @@ export type PInputDateProps = BaseProps & {
|
|
|
23
26
|
form?: string;
|
|
24
27
|
/**
|
|
25
28
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
29
|
+
* @default false
|
|
26
30
|
*/
|
|
27
31
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
32
|
/**
|
|
29
33
|
* Text content for a user-facing label.
|
|
34
|
+
* @default ''
|
|
30
35
|
*/
|
|
31
36
|
label?: string;
|
|
32
37
|
/**
|
|
33
38
|
* @experimental Shows a loading indicator.
|
|
39
|
+
* @default false
|
|
34
40
|
*/
|
|
35
41
|
loading?: boolean;
|
|
36
42
|
/**
|
|
@@ -39,6 +45,7 @@ export type PInputDateProps = BaseProps & {
|
|
|
39
45
|
max?: string;
|
|
40
46
|
/**
|
|
41
47
|
* Dynamic feedback text for validation or status.
|
|
48
|
+
* @default ''
|
|
42
49
|
*/
|
|
43
50
|
message?: string;
|
|
44
51
|
/**
|
|
@@ -63,22 +70,27 @@ export type PInputDateProps = BaseProps & {
|
|
|
63
70
|
onInput?: (event: CustomEvent<InputDateInputEventDetail>) => void;
|
|
64
71
|
/**
|
|
65
72
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
73
|
+
* @default false
|
|
66
74
|
*/
|
|
67
75
|
readOnly?: boolean;
|
|
68
76
|
/**
|
|
69
77
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
78
|
+
* @default false
|
|
70
79
|
*/
|
|
71
80
|
required?: boolean;
|
|
72
81
|
/**
|
|
73
82
|
* Indicates the validation or overall status of the input component.
|
|
83
|
+
* @default 'none'
|
|
74
84
|
*/
|
|
75
85
|
state?: InputDateState;
|
|
76
86
|
/**
|
|
77
87
|
* Defines the granularity of the date input. This value is given in days. The default is 1 (one day).
|
|
88
|
+
* @default 1
|
|
78
89
|
*/
|
|
79
90
|
step?: number;
|
|
80
91
|
/**
|
|
81
92
|
* The default date value for the input, in YYYY-MM-DD format (e.g., value='2025-07-02').
|
|
93
|
+
* @default ''
|
|
82
94
|
*/
|
|
83
95
|
value?: string;
|
|
84
96
|
};
|
|
@@ -89,14 +101,17 @@ export declare const PInputDate: import("react").ForwardRefExoticComponent<Omit<
|
|
|
89
101
|
autoComplete?: string;
|
|
90
102
|
/**
|
|
91
103
|
* Displays the input field in compact mode.
|
|
104
|
+
* @default false
|
|
92
105
|
*/
|
|
93
106
|
compact?: boolean;
|
|
94
107
|
/**
|
|
95
108
|
* Supplementary text providing more context or explanation for the input.
|
|
109
|
+
* @default ''
|
|
96
110
|
*/
|
|
97
111
|
description?: string;
|
|
98
112
|
/**
|
|
99
113
|
* Disables the input field. The value will not be submitted with the form.
|
|
114
|
+
* @default false
|
|
100
115
|
*/
|
|
101
116
|
disabled?: boolean;
|
|
102
117
|
/**
|
|
@@ -105,14 +120,17 @@ export declare const PInputDate: import("react").ForwardRefExoticComponent<Omit<
|
|
|
105
120
|
form?: string;
|
|
106
121
|
/**
|
|
107
122
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
123
|
+
* @default false
|
|
108
124
|
*/
|
|
109
125
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
110
126
|
/**
|
|
111
127
|
* Text content for a user-facing label.
|
|
128
|
+
* @default ''
|
|
112
129
|
*/
|
|
113
130
|
label?: string;
|
|
114
131
|
/**
|
|
115
132
|
* @experimental Shows a loading indicator.
|
|
133
|
+
* @default false
|
|
116
134
|
*/
|
|
117
135
|
loading?: boolean;
|
|
118
136
|
/**
|
|
@@ -121,6 +139,7 @@ export declare const PInputDate: import("react").ForwardRefExoticComponent<Omit<
|
|
|
121
139
|
max?: string;
|
|
122
140
|
/**
|
|
123
141
|
* Dynamic feedback text for validation or status.
|
|
142
|
+
* @default ''
|
|
124
143
|
*/
|
|
125
144
|
message?: string;
|
|
126
145
|
/**
|
|
@@ -145,22 +164,27 @@ export declare const PInputDate: import("react").ForwardRefExoticComponent<Omit<
|
|
|
145
164
|
onInput?: (event: CustomEvent<InputDateInputEventDetail>) => void;
|
|
146
165
|
/**
|
|
147
166
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
167
|
+
* @default false
|
|
148
168
|
*/
|
|
149
169
|
readOnly?: boolean;
|
|
150
170
|
/**
|
|
151
171
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
172
|
+
* @default false
|
|
152
173
|
*/
|
|
153
174
|
required?: boolean;
|
|
154
175
|
/**
|
|
155
176
|
* Indicates the validation or overall status of the input component.
|
|
177
|
+
* @default 'none'
|
|
156
178
|
*/
|
|
157
179
|
state?: InputDateState;
|
|
158
180
|
/**
|
|
159
181
|
* Defines the granularity of the date input. This value is given in days. The default is 1 (one day).
|
|
182
|
+
* @default 1
|
|
160
183
|
*/
|
|
161
184
|
step?: number;
|
|
162
185
|
/**
|
|
163
186
|
* The default date value for the input, in YYYY-MM-DD format (e.g., value='2025-07-02').
|
|
187
|
+
* @default ''
|
|
164
188
|
*/
|
|
165
189
|
value?: string;
|
|
166
190
|
} & {
|
|
@@ -7,14 +7,17 @@ export type PInputEmailProps = BaseProps & {
|
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
9
|
* Displays the input field in compact mode.
|
|
10
|
+
* @default false
|
|
10
11
|
*/
|
|
11
12
|
compact?: boolean;
|
|
12
13
|
/**
|
|
13
14
|
* Supplementary text providing more context or explanation for the input.
|
|
15
|
+
* @default ''
|
|
14
16
|
*/
|
|
15
17
|
description?: string;
|
|
16
18
|
/**
|
|
17
19
|
* Disables the input field. The value will not be submitted with the form.
|
|
20
|
+
* @default false
|
|
18
21
|
*/
|
|
19
22
|
disabled?: boolean;
|
|
20
23
|
/**
|
|
@@ -23,18 +26,22 @@ export type PInputEmailProps = BaseProps & {
|
|
|
23
26
|
form?: string;
|
|
24
27
|
/**
|
|
25
28
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
29
|
+
* @default false
|
|
26
30
|
*/
|
|
27
31
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
32
|
/**
|
|
29
33
|
* Controls the visibility of the email icon.
|
|
34
|
+
* @default false
|
|
30
35
|
*/
|
|
31
36
|
indicator?: boolean;
|
|
32
37
|
/**
|
|
33
38
|
* Text content for a user-facing label.
|
|
39
|
+
* @default ''
|
|
34
40
|
*/
|
|
35
41
|
label?: string;
|
|
36
42
|
/**
|
|
37
43
|
* @experimental Shows a loading indicator.
|
|
44
|
+
* @default false
|
|
38
45
|
*/
|
|
39
46
|
loading?: boolean;
|
|
40
47
|
/**
|
|
@@ -43,6 +50,7 @@ export type PInputEmailProps = BaseProps & {
|
|
|
43
50
|
maxLength?: number;
|
|
44
51
|
/**
|
|
45
52
|
* Dynamic feedback text for validation or status.
|
|
53
|
+
* @default ''
|
|
46
54
|
*/
|
|
47
55
|
message?: string;
|
|
48
56
|
/**
|
|
@@ -51,6 +59,7 @@ export type PInputEmailProps = BaseProps & {
|
|
|
51
59
|
minLength?: number;
|
|
52
60
|
/**
|
|
53
61
|
* 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.
|
|
62
|
+
* @default false
|
|
54
63
|
*/
|
|
55
64
|
multiple?: boolean;
|
|
56
65
|
/**
|
|
@@ -75,22 +84,27 @@ export type PInputEmailProps = BaseProps & {
|
|
|
75
84
|
pattern?: string;
|
|
76
85
|
/**
|
|
77
86
|
* A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='you@example.com'). This text is displayed when the input field is empty.
|
|
87
|
+
* @default ''
|
|
78
88
|
*/
|
|
79
89
|
placeholder?: string;
|
|
80
90
|
/**
|
|
81
91
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
92
|
+
* @default false
|
|
82
93
|
*/
|
|
83
94
|
readOnly?: boolean;
|
|
84
95
|
/**
|
|
85
96
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
97
|
+
* @default false
|
|
86
98
|
*/
|
|
87
99
|
required?: boolean;
|
|
88
100
|
/**
|
|
89
101
|
* Indicates the validation or overall status of the input component.
|
|
102
|
+
* @default 'none'
|
|
90
103
|
*/
|
|
91
104
|
state?: InputEmailState;
|
|
92
105
|
/**
|
|
93
106
|
* The default email address (or comma-separated list of addresses) for the input.
|
|
107
|
+
* @default ''
|
|
94
108
|
*/
|
|
95
109
|
value?: string;
|
|
96
110
|
};
|
|
@@ -101,14 +115,17 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
|
|
|
101
115
|
autoComplete?: string;
|
|
102
116
|
/**
|
|
103
117
|
* Displays the input field in compact mode.
|
|
118
|
+
* @default false
|
|
104
119
|
*/
|
|
105
120
|
compact?: boolean;
|
|
106
121
|
/**
|
|
107
122
|
* Supplementary text providing more context or explanation for the input.
|
|
123
|
+
* @default ''
|
|
108
124
|
*/
|
|
109
125
|
description?: string;
|
|
110
126
|
/**
|
|
111
127
|
* Disables the input field. The value will not be submitted with the form.
|
|
128
|
+
* @default false
|
|
112
129
|
*/
|
|
113
130
|
disabled?: boolean;
|
|
114
131
|
/**
|
|
@@ -117,18 +134,22 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
|
|
|
117
134
|
form?: string;
|
|
118
135
|
/**
|
|
119
136
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
137
|
+
* @default false
|
|
120
138
|
*/
|
|
121
139
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
122
140
|
/**
|
|
123
141
|
* Controls the visibility of the email icon.
|
|
142
|
+
* @default false
|
|
124
143
|
*/
|
|
125
144
|
indicator?: boolean;
|
|
126
145
|
/**
|
|
127
146
|
* Text content for a user-facing label.
|
|
147
|
+
* @default ''
|
|
128
148
|
*/
|
|
129
149
|
label?: string;
|
|
130
150
|
/**
|
|
131
151
|
* @experimental Shows a loading indicator.
|
|
152
|
+
* @default false
|
|
132
153
|
*/
|
|
133
154
|
loading?: boolean;
|
|
134
155
|
/**
|
|
@@ -137,6 +158,7 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
|
|
|
137
158
|
maxLength?: number;
|
|
138
159
|
/**
|
|
139
160
|
* Dynamic feedback text for validation or status.
|
|
161
|
+
* @default ''
|
|
140
162
|
*/
|
|
141
163
|
message?: string;
|
|
142
164
|
/**
|
|
@@ -145,6 +167,7 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
|
|
|
145
167
|
minLength?: number;
|
|
146
168
|
/**
|
|
147
169
|
* 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.
|
|
170
|
+
* @default false
|
|
148
171
|
*/
|
|
149
172
|
multiple?: boolean;
|
|
150
173
|
/**
|
|
@@ -169,22 +192,27 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
|
|
|
169
192
|
pattern?: string;
|
|
170
193
|
/**
|
|
171
194
|
* A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='you@example.com'). This text is displayed when the input field is empty.
|
|
195
|
+
* @default ''
|
|
172
196
|
*/
|
|
173
197
|
placeholder?: string;
|
|
174
198
|
/**
|
|
175
199
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
200
|
+
* @default false
|
|
176
201
|
*/
|
|
177
202
|
readOnly?: boolean;
|
|
178
203
|
/**
|
|
179
204
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
205
|
+
* @default false
|
|
180
206
|
*/
|
|
181
207
|
required?: boolean;
|
|
182
208
|
/**
|
|
183
209
|
* Indicates the validation or overall status of the input component.
|
|
210
|
+
* @default 'none'
|
|
184
211
|
*/
|
|
185
212
|
state?: InputEmailState;
|
|
186
213
|
/**
|
|
187
214
|
* The default email address (or comma-separated list of addresses) for the input.
|
|
215
|
+
* @default ''
|
|
188
216
|
*/
|
|
189
217
|
value?: string;
|
|
190
218
|
} & {
|
|
@@ -7,14 +7,17 @@ export type PInputMonthProps = BaseProps & {
|
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
9
|
* Displays the input field in compact mode.
|
|
10
|
+
* @default false
|
|
10
11
|
*/
|
|
11
12
|
compact?: boolean;
|
|
12
13
|
/**
|
|
13
14
|
* Supplementary text providing more context or explanation for the input.
|
|
15
|
+
* @default ''
|
|
14
16
|
*/
|
|
15
17
|
description?: string;
|
|
16
18
|
/**
|
|
17
19
|
* Disables the input field. The value will not be submitted with the form.
|
|
20
|
+
* @default false
|
|
18
21
|
*/
|
|
19
22
|
disabled?: boolean;
|
|
20
23
|
/**
|
|
@@ -23,14 +26,17 @@ export type PInputMonthProps = BaseProps & {
|
|
|
23
26
|
form?: string;
|
|
24
27
|
/**
|
|
25
28
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
29
|
+
* @default false
|
|
26
30
|
*/
|
|
27
31
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
32
|
/**
|
|
29
33
|
* Text content for a user-facing label.
|
|
34
|
+
* @default ''
|
|
30
35
|
*/
|
|
31
36
|
label?: string;
|
|
32
37
|
/**
|
|
33
38
|
* @experimental Shows a loading indicator.
|
|
39
|
+
* @default false
|
|
34
40
|
*/
|
|
35
41
|
loading?: boolean;
|
|
36
42
|
/**
|
|
@@ -39,6 +45,7 @@ export type PInputMonthProps = BaseProps & {
|
|
|
39
45
|
max?: string;
|
|
40
46
|
/**
|
|
41
47
|
* Dynamic feedback text for validation or status.
|
|
48
|
+
* @default ''
|
|
42
49
|
*/
|
|
43
50
|
message?: string;
|
|
44
51
|
/**
|
|
@@ -63,22 +70,27 @@ export type PInputMonthProps = BaseProps & {
|
|
|
63
70
|
onInput?: (event: CustomEvent<InputMonthInputEventDetail>) => void;
|
|
64
71
|
/**
|
|
65
72
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
73
|
+
* @default false
|
|
66
74
|
*/
|
|
67
75
|
readOnly?: boolean;
|
|
68
76
|
/**
|
|
69
77
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
78
|
+
* @default false
|
|
70
79
|
*/
|
|
71
80
|
required?: boolean;
|
|
72
81
|
/**
|
|
73
82
|
* Indicates the validation or overall status of the input component.
|
|
83
|
+
* @default 'none'
|
|
74
84
|
*/
|
|
75
85
|
state?: InputMonthState;
|
|
76
86
|
/**
|
|
77
87
|
* Defines the stepping interval in months. For example, step="1" increments by 1 month, step="12" by 1 year. The default is 1 month.
|
|
88
|
+
* @default 1
|
|
78
89
|
*/
|
|
79
90
|
step?: number;
|
|
80
91
|
/**
|
|
81
92
|
* The default month value for the input, in YYYY-MM format (e.g., value='2025-07').
|
|
93
|
+
* @default ''
|
|
82
94
|
*/
|
|
83
95
|
value?: string;
|
|
84
96
|
};
|
|
@@ -89,14 +101,17 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
|
|
|
89
101
|
autoComplete?: string;
|
|
90
102
|
/**
|
|
91
103
|
* Displays the input field in compact mode.
|
|
104
|
+
* @default false
|
|
92
105
|
*/
|
|
93
106
|
compact?: boolean;
|
|
94
107
|
/**
|
|
95
108
|
* Supplementary text providing more context or explanation for the input.
|
|
109
|
+
* @default ''
|
|
96
110
|
*/
|
|
97
111
|
description?: string;
|
|
98
112
|
/**
|
|
99
113
|
* Disables the input field. The value will not be submitted with the form.
|
|
114
|
+
* @default false
|
|
100
115
|
*/
|
|
101
116
|
disabled?: boolean;
|
|
102
117
|
/**
|
|
@@ -105,14 +120,17 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
|
|
|
105
120
|
form?: string;
|
|
106
121
|
/**
|
|
107
122
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
123
|
+
* @default false
|
|
108
124
|
*/
|
|
109
125
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
110
126
|
/**
|
|
111
127
|
* Text content for a user-facing label.
|
|
128
|
+
* @default ''
|
|
112
129
|
*/
|
|
113
130
|
label?: string;
|
|
114
131
|
/**
|
|
115
132
|
* @experimental Shows a loading indicator.
|
|
133
|
+
* @default false
|
|
116
134
|
*/
|
|
117
135
|
loading?: boolean;
|
|
118
136
|
/**
|
|
@@ -121,6 +139,7 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
|
|
|
121
139
|
max?: string;
|
|
122
140
|
/**
|
|
123
141
|
* Dynamic feedback text for validation or status.
|
|
142
|
+
* @default ''
|
|
124
143
|
*/
|
|
125
144
|
message?: string;
|
|
126
145
|
/**
|
|
@@ -145,22 +164,27 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
|
|
|
145
164
|
onInput?: (event: CustomEvent<InputMonthInputEventDetail>) => void;
|
|
146
165
|
/**
|
|
147
166
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
167
|
+
* @default false
|
|
148
168
|
*/
|
|
149
169
|
readOnly?: boolean;
|
|
150
170
|
/**
|
|
151
171
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
172
|
+
* @default false
|
|
152
173
|
*/
|
|
153
174
|
required?: boolean;
|
|
154
175
|
/**
|
|
155
176
|
* Indicates the validation or overall status of the input component.
|
|
177
|
+
* @default 'none'
|
|
156
178
|
*/
|
|
157
179
|
state?: InputMonthState;
|
|
158
180
|
/**
|
|
159
181
|
* Defines the stepping interval in months. For example, step="1" increments by 1 month, step="12" by 1 year. The default is 1 month.
|
|
182
|
+
* @default 1
|
|
160
183
|
*/
|
|
161
184
|
step?: number;
|
|
162
185
|
/**
|
|
163
186
|
* The default month value for the input, in YYYY-MM format (e.g., value='2025-07').
|
|
187
|
+
* @default ''
|
|
164
188
|
*/
|
|
165
189
|
value?: string;
|
|
166
190
|
} & {
|