@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.
Files changed (157) hide show
  1. package/CHANGELOG.md +72 -4
  2. package/cjs/lib/components/banner.wrapper.cjs +3 -3
  3. package/esm/lib/components/accordion.wrapper.d.ts +8 -0
  4. package/esm/lib/components/banner.wrapper.d.ts +37 -15
  5. package/esm/lib/components/banner.wrapper.mjs +3 -3
  6. package/esm/lib/components/button-pure.wrapper.d.ts +22 -0
  7. package/esm/lib/components/button-tile.wrapper.d.ts +20 -0
  8. package/esm/lib/components/button.wrapper.d.ts +14 -0
  9. package/esm/lib/components/canvas.wrapper.d.ts +6 -0
  10. package/esm/lib/components/carousel.wrapper.d.ts +22 -0
  11. package/esm/lib/components/checkbox.wrapper.d.ts +24 -0
  12. package/esm/lib/components/crest.wrapper.d.ts +2 -0
  13. package/esm/lib/components/display.wrapper.d.ts +8 -0
  14. package/esm/lib/components/divider.wrapper.d.ts +4 -0
  15. package/esm/lib/components/drilldown-item.wrapper.d.ts +6 -0
  16. package/esm/lib/components/drilldown-link.wrapper.d.ts +4 -0
  17. package/esm/lib/components/drilldown.wrapper.d.ts +2 -0
  18. package/esm/lib/components/fieldset.wrapper.d.ts +10 -0
  19. package/esm/lib/components/flag.wrapper.d.ts +4 -0
  20. package/esm/lib/components/flyout.wrapper.d.ts +12 -0
  21. package/esm/lib/components/heading.wrapper.d.ts +12 -0
  22. package/esm/lib/components/icon.wrapper.d.ts +6 -0
  23. package/esm/lib/components/inline-notification.wrapper.d.ts +14 -0
  24. package/esm/lib/components/input-date.wrapper.d.ts +24 -0
  25. package/esm/lib/components/input-email.wrapper.d.ts +28 -0
  26. package/esm/lib/components/input-month.wrapper.d.ts +24 -0
  27. package/esm/lib/components/input-number.wrapper.d.ts +28 -0
  28. package/esm/lib/components/input-password.wrapper.d.ts +26 -0
  29. package/esm/lib/components/input-search.wrapper.d.ts +28 -0
  30. package/esm/lib/components/input-tel.wrapper.d.ts +26 -0
  31. package/esm/lib/components/input-text.wrapper.d.ts +26 -0
  32. package/esm/lib/components/input-time.wrapper.d.ts +24 -0
  33. package/esm/lib/components/input-url.wrapper.d.ts +26 -0
  34. package/esm/lib/components/input-week.wrapper.d.ts +24 -0
  35. package/esm/lib/components/link-pure.wrapper.d.ts +18 -0
  36. package/esm/lib/components/link-tile-product.wrapper.d.ts +8 -0
  37. package/esm/lib/components/link-tile.wrapper.d.ts +14 -0
  38. package/esm/lib/components/link.wrapper.d.ts +10 -0
  39. package/esm/lib/components/modal.wrapper.d.ts +12 -0
  40. package/esm/lib/components/model-signature.wrapper.d.ts +12 -0
  41. package/esm/lib/components/multi-select-option.wrapper.d.ts +2 -0
  42. package/esm/lib/components/multi-select.wrapper.d.ts +20 -0
  43. package/esm/lib/components/optgroup.wrapper.d.ts +2 -0
  44. package/esm/lib/components/pagination.wrapper.d.ts +10 -0
  45. package/esm/lib/components/pin-code.wrapper.d.ts +24 -0
  46. package/esm/lib/components/popover.wrapper.d.ts +2 -0
  47. package/esm/lib/components/radio-group-option.wrapper.d.ts +4 -0
  48. package/esm/lib/components/radio-group.wrapper.d.ts +22 -0
  49. package/esm/lib/components/scroller.wrapper.d.ts +6 -0
  50. package/esm/lib/components/segmented-control-item.wrapper.d.ts +2 -0
  51. package/esm/lib/components/segmented-control.wrapper.d.ts +18 -0
  52. package/esm/lib/components/select-option.wrapper.d.ts +2 -0
  53. package/esm/lib/components/select.wrapper.d.ts +20 -0
  54. package/esm/lib/components/sheet.wrapper.d.ts +8 -0
  55. package/esm/lib/components/spinner.wrapper.d.ts +4 -0
  56. package/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -0
  57. package/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -0
  58. package/esm/lib/components/switch.wrapper.d.ts +14 -0
  59. package/esm/lib/components/table-cell.wrapper.d.ts +2 -0
  60. package/esm/lib/components/table-head-cell.wrapper.d.ts +4 -0
  61. package/esm/lib/components/table.wrapper.d.ts +6 -0
  62. package/esm/lib/components/tabs-bar.wrapper.d.ts +6 -0
  63. package/esm/lib/components/tabs.wrapper.d.ts +8 -0
  64. package/esm/lib/components/tag-dismissible.wrapper.d.ts +2 -0
  65. package/esm/lib/components/tag.wrapper.d.ts +6 -0
  66. package/esm/lib/components/text-list.wrapper.d.ts +2 -0
  67. package/esm/lib/components/text.wrapper.d.ts +14 -0
  68. package/esm/lib/components/textarea.wrapper.d.ts +30 -0
  69. package/esm/lib/components/wordmark.wrapper.d.ts +4 -0
  70. package/esm/lib/types.d.ts +5 -0
  71. package/global-styles/cn/index.css +1 -0
  72. package/global-styles/index.css +1 -0
  73. package/global-styles/variables.css +1 -0
  74. package/package.json +4 -2
  75. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +723 -775
  76. package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +16 -77
  77. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.cjs +4 -5
  78. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.cjs +11 -6
  79. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.cjs +1 -1
  80. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.cjs +4 -6
  81. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.cjs +1 -4
  82. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +723 -775
  83. package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +15 -76
  84. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.mjs +4 -5
  85. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +11 -6
  86. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +1 -1
  87. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +5 -7
  88. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.mjs +2 -5
  89. package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -0
  90. package/ssr/esm/lib/components/banner.wrapper.d.ts +37 -15
  91. package/ssr/esm/lib/components/button-pure.wrapper.d.ts +22 -0
  92. package/ssr/esm/lib/components/button-tile.wrapper.d.ts +20 -0
  93. package/ssr/esm/lib/components/button.wrapper.d.ts +14 -0
  94. package/ssr/esm/lib/components/canvas.wrapper.d.ts +6 -0
  95. package/ssr/esm/lib/components/carousel.wrapper.d.ts +22 -0
  96. package/ssr/esm/lib/components/checkbox.wrapper.d.ts +24 -0
  97. package/ssr/esm/lib/components/crest.wrapper.d.ts +2 -0
  98. package/ssr/esm/lib/components/display.wrapper.d.ts +8 -0
  99. package/ssr/esm/lib/components/divider.wrapper.d.ts +4 -0
  100. package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +6 -0
  101. package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +4 -0
  102. package/ssr/esm/lib/components/drilldown.wrapper.d.ts +2 -0
  103. package/ssr/esm/lib/components/fieldset.wrapper.d.ts +10 -0
  104. package/ssr/esm/lib/components/flag.wrapper.d.ts +4 -0
  105. package/ssr/esm/lib/components/flyout.wrapper.d.ts +12 -0
  106. package/ssr/esm/lib/components/heading.wrapper.d.ts +12 -0
  107. package/ssr/esm/lib/components/icon.wrapper.d.ts +6 -0
  108. package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +14 -0
  109. package/ssr/esm/lib/components/input-date.wrapper.d.ts +24 -0
  110. package/ssr/esm/lib/components/input-email.wrapper.d.ts +28 -0
  111. package/ssr/esm/lib/components/input-month.wrapper.d.ts +24 -0
  112. package/ssr/esm/lib/components/input-number.wrapper.d.ts +28 -0
  113. package/ssr/esm/lib/components/input-password.wrapper.d.ts +26 -0
  114. package/ssr/esm/lib/components/input-search.wrapper.d.ts +28 -0
  115. package/ssr/esm/lib/components/input-tel.wrapper.d.ts +26 -0
  116. package/ssr/esm/lib/components/input-text.wrapper.d.ts +26 -0
  117. package/ssr/esm/lib/components/input-time.wrapper.d.ts +24 -0
  118. package/ssr/esm/lib/components/input-url.wrapper.d.ts +26 -0
  119. package/ssr/esm/lib/components/input-week.wrapper.d.ts +24 -0
  120. package/ssr/esm/lib/components/link-pure.wrapper.d.ts +18 -0
  121. package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +8 -0
  122. package/ssr/esm/lib/components/link-tile.wrapper.d.ts +14 -0
  123. package/ssr/esm/lib/components/link.wrapper.d.ts +10 -0
  124. package/ssr/esm/lib/components/modal.wrapper.d.ts +12 -0
  125. package/ssr/esm/lib/components/model-signature.wrapper.d.ts +12 -0
  126. package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +2 -0
  127. package/ssr/esm/lib/components/multi-select.wrapper.d.ts +20 -0
  128. package/ssr/esm/lib/components/optgroup.wrapper.d.ts +2 -0
  129. package/ssr/esm/lib/components/pagination.wrapper.d.ts +10 -0
  130. package/ssr/esm/lib/components/pin-code.wrapper.d.ts +24 -0
  131. package/ssr/esm/lib/components/popover.wrapper.d.ts +2 -0
  132. package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +4 -0
  133. package/ssr/esm/lib/components/radio-group.wrapper.d.ts +22 -0
  134. package/ssr/esm/lib/components/scroller.wrapper.d.ts +6 -0
  135. package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +2 -0
  136. package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +18 -0
  137. package/ssr/esm/lib/components/select-option.wrapper.d.ts +2 -0
  138. package/ssr/esm/lib/components/select.wrapper.d.ts +20 -0
  139. package/ssr/esm/lib/components/sheet.wrapper.d.ts +8 -0
  140. package/ssr/esm/lib/components/spinner.wrapper.d.ts +4 -0
  141. package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -0
  142. package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -0
  143. package/ssr/esm/lib/components/switch.wrapper.d.ts +14 -0
  144. package/ssr/esm/lib/components/table-cell.wrapper.d.ts +2 -0
  145. package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +4 -0
  146. package/ssr/esm/lib/components/table.wrapper.d.ts +6 -0
  147. package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +6 -0
  148. package/ssr/esm/lib/components/tabs.wrapper.d.ts +8 -0
  149. package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +2 -0
  150. package/ssr/esm/lib/components/tag.wrapper.d.ts +6 -0
  151. package/ssr/esm/lib/components/text-list.wrapper.d.ts +2 -0
  152. package/ssr/esm/lib/components/text.wrapper.d.ts +14 -0
  153. package/ssr/esm/lib/components/textarea.wrapper.d.ts +30 -0
  154. package/ssr/esm/lib/components/wordmark.wrapper.d.ts +4 -0
  155. package/ssr/esm/lib/dsr-components/banner.d.ts +2 -2
  156. package/ssr/esm/lib/types.d.ts +5 -0
  157. package/tailwindcss/index.css +73 -14
@@ -3,6 +3,7 @@ import type { CanvasBackground, CanvasSidebarStartUpdateEventDetail } from '../t
3
3
  export type PCanvasProps = BaseProps & {
4
4
  /**
5
5
  * Defines the background color of the main section and auto adjust it for the sidebar
6
+ * @default 'canvas'
6
7
  */
7
8
  background?: CanvasBackground;
8
9
  /**
@@ -15,16 +16,19 @@ export type PCanvasProps = BaseProps & {
15
16
  onSidebarStartUpdate?: (event: CustomEvent<CanvasSidebarStartUpdateEventDetail>) => void;
16
17
  /**
17
18
  * Open the sidebar on the end side
19
+ * @default false
18
20
  */
19
21
  sidebarEndOpen?: boolean;
20
22
  /**
21
23
  * Open the sidebar on the start side
24
+ * @default false
22
25
  */
23
26
  sidebarStartOpen?: boolean;
24
27
  };
25
28
  export declare const PCanvas: 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"> & {
26
29
  /**
27
30
  * Defines the background color of the main section and auto adjust it for the sidebar
31
+ * @default 'canvas'
28
32
  */
29
33
  background?: CanvasBackground;
30
34
  /**
@@ -37,10 +41,12 @@ export declare const PCanvas: import("react").ForwardRefExoticComponent<Omit<imp
37
41
  onSidebarStartUpdate?: (event: CustomEvent<CanvasSidebarStartUpdateEventDetail>) => void;
38
42
  /**
39
43
  * Open the sidebar on the end side
44
+ * @default false
40
45
  */
41
46
  sidebarEndOpen?: boolean;
42
47
  /**
43
48
  * Open the sidebar on the start side
49
+ * @default false
44
50
  */
45
51
  sidebarStartOpen?: boolean;
46
52
  } & {
@@ -3,14 +3,17 @@ import type { CarouselAlignControls, CarouselAlignHeader, SelectedAriaAttributes
3
3
  export type PCarouselProps = BaseProps & {
4
4
  /**
5
5
  * Defines which slide is active (zero-based numbering).
6
+ * @default 0
6
7
  */
7
8
  activeSlideIndex?: number;
8
9
  /**
9
10
  * Aligns the slotted controls.
11
+ * @default 'auto'
10
12
  */
11
13
  alignControls?: CarouselAlignControls;
12
14
  /**
13
15
  * Aligns the heading and description.
16
+ * @default 'start'
14
17
  */
15
18
  alignHeader?: CarouselAlignHeader;
16
19
  /**
@@ -23,10 +26,12 @@ export type PCarouselProps = BaseProps & {
23
26
  description?: string;
24
27
  /**
25
28
  * Indicates whether focus should be set on the center slide. If true, the carousel loops by individual slide; otherwise, it loops by page.
29
+ * @default false
26
30
  */
27
31
  focusOnCenterSlide?: boolean;
28
32
  /**
29
33
  * Fades the slides out.
34
+ * @default false
30
35
  */
31
36
  gradient?: boolean;
32
37
  /**
@@ -35,6 +40,7 @@ export type PCarouselProps = BaseProps & {
35
40
  heading?: string;
36
41
  /**
37
42
  * Defines the heading size used in the carousel.
43
+ * @default 'x-large'
38
44
  */
39
45
  headingSize?: CarouselHeadingSize;
40
46
  /**
@@ -47,10 +53,12 @@ export type PCarouselProps = BaseProps & {
47
53
  onUpdate?: (event: CustomEvent<CarouselUpdateEventDetail>) => void;
48
54
  /**
49
55
  * If false, the carousel will not show pagination bullets at the bottom.
56
+ * @default false
50
57
  */
51
58
  pagination?: BreakpointCustomizable<boolean>;
52
59
  /**
53
60
  * Whether the slides should rewind from last to first slide and vice versa.
61
+ * @default false
54
62
  */
55
63
  rewind?: boolean;
56
64
  /**
@@ -59,28 +67,34 @@ export type PCarouselProps = BaseProps & {
59
67
  skipLinkTarget?: string;
60
68
  /**
61
69
  * Sets the amount of slides visible at the same time. Can be set to `auto` if you want to define different widths per slide via CSS.
70
+ * @default 1
62
71
  */
63
72
  slidesPerPage?: BreakpointCustomizable<CarouselSlidesPerPage>;
64
73
  /**
65
74
  * Determines whether to trim spaces before/after the carousel if `focusOnCenterSlide` option is true.
75
+ * @default false
66
76
  */
67
77
  trimSpace?: boolean;
68
78
  /**
69
79
  * Defines the outer spacings between the carousel and the left and right screen sides.
80
+ * @default 'basic'
70
81
  */
71
82
  width?: CarouselWidth;
72
83
  };
73
84
  export declare const PCarousel: 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"> & {
74
85
  /**
75
86
  * Defines which slide is active (zero-based numbering).
87
+ * @default 0
76
88
  */
77
89
  activeSlideIndex?: number;
78
90
  /**
79
91
  * Aligns the slotted controls.
92
+ * @default 'auto'
80
93
  */
81
94
  alignControls?: CarouselAlignControls;
82
95
  /**
83
96
  * Aligns the heading and description.
97
+ * @default 'start'
84
98
  */
85
99
  alignHeader?: CarouselAlignHeader;
86
100
  /**
@@ -93,10 +107,12 @@ export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<i
93
107
  description?: string;
94
108
  /**
95
109
  * Indicates whether focus should be set on the center slide. If true, the carousel loops by individual slide; otherwise, it loops by page.
110
+ * @default false
96
111
  */
97
112
  focusOnCenterSlide?: boolean;
98
113
  /**
99
114
  * Fades the slides out.
115
+ * @default false
100
116
  */
101
117
  gradient?: boolean;
102
118
  /**
@@ -105,6 +121,7 @@ export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<i
105
121
  heading?: string;
106
122
  /**
107
123
  * Defines the heading size used in the carousel.
124
+ * @default 'x-large'
108
125
  */
109
126
  headingSize?: CarouselHeadingSize;
110
127
  /**
@@ -117,10 +134,12 @@ export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<i
117
134
  onUpdate?: (event: CustomEvent<CarouselUpdateEventDetail>) => void;
118
135
  /**
119
136
  * If false, the carousel will not show pagination bullets at the bottom.
137
+ * @default false
120
138
  */
121
139
  pagination?: BreakpointCustomizable<boolean>;
122
140
  /**
123
141
  * Whether the slides should rewind from last to first slide and vice versa.
142
+ * @default false
124
143
  */
125
144
  rewind?: boolean;
126
145
  /**
@@ -129,14 +148,17 @@ export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<i
129
148
  skipLinkTarget?: string;
130
149
  /**
131
150
  * Sets the amount of slides visible at the same time. Can be set to `auto` if you want to define different widths per slide via CSS.
151
+ * @default 1
132
152
  */
133
153
  slidesPerPage?: BreakpointCustomizable<CarouselSlidesPerPage>;
134
154
  /**
135
155
  * Determines whether to trim spaces before/after the carousel if `focusOnCenterSlide` option is true.
156
+ * @default false
136
157
  */
137
158
  trimSpace?: boolean;
138
159
  /**
139
160
  * Defines the outer spacings between the carousel and the left and right screen sides.
161
+ * @default 'basic'
140
162
  */
141
163
  width?: CarouselWidth;
142
164
  } & {
@@ -3,14 +3,17 @@ import type { BreakpointCustomizable, CheckboxBlurEventDetail, CheckboxChangeEve
3
3
  export type PCheckboxProps = BaseProps & {
4
4
  /**
5
5
  * Reflects the checkbox current checked state and allows setting the initial checked state.
6
+ * @default false
6
7
  */
7
8
  checked?: boolean;
8
9
  /**
9
10
  * Displays the checkbox in compact mode.
11
+ * @default false
10
12
  */
11
13
  compact?: boolean;
12
14
  /**
13
15
  * Marks the checkbox as disabled.
16
+ * @default false
14
17
  */
15
18
  disabled?: boolean;
16
19
  /**
@@ -19,26 +22,32 @@ export type PCheckboxProps = BaseProps & {
19
22
  form?: string;
20
23
  /**
21
24
  * Shows or hides the label. For better accessibility, it is recommended to show the label.
25
+ * @default false
22
26
  */
23
27
  hideLabel?: BreakpointCustomizable<boolean>;
24
28
  /**
25
29
  * Marks the checkbox as indeterminate.
30
+ * @default false
26
31
  */
27
32
  indeterminate?: boolean;
28
33
  /**
29
34
  * Text content for a user-facing label.
35
+ * @default ''
30
36
  */
31
37
  label?: string;
32
38
  /**
33
39
  * @experimental Disables the checkbox and shows a loading indicator.
40
+ * @default false
34
41
  */
35
42
  loading?: boolean;
36
43
  /**
37
44
  * The message styled depending on validation state.
45
+ * @default ''
38
46
  */
39
47
  message?: string;
40
48
  /**
41
49
  * The name of the checkbox.
50
+ * @default ''
42
51
  */
43
52
  name?: string;
44
53
  /**
@@ -51,28 +60,34 @@ export type PCheckboxProps = BaseProps & {
51
60
  onChange?: (event: CustomEvent<CheckboxChangeEventDetail>) => void;
52
61
  /**
53
62
  * Marks the checkbox as required.
63
+ * @default false
54
64
  */
55
65
  required?: boolean;
56
66
  /**
57
67
  * The validation state.
68
+ * @default 'none'
58
69
  */
59
70
  state?: CheckboxState;
60
71
  /**
61
72
  * The checkbox value. When a form is submitted, only a checkbox which is currently checked is included in the submission.
73
+ * @default 'on'
62
74
  */
63
75
  value?: string;
64
76
  };
65
77
  export declare const PCheckbox: 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"> & {
66
78
  /**
67
79
  * Reflects the checkbox current checked state and allows setting the initial checked state.
80
+ * @default false
68
81
  */
69
82
  checked?: boolean;
70
83
  /**
71
84
  * Displays the checkbox in compact mode.
85
+ * @default false
72
86
  */
73
87
  compact?: boolean;
74
88
  /**
75
89
  * Marks the checkbox as disabled.
90
+ * @default false
76
91
  */
77
92
  disabled?: boolean;
78
93
  /**
@@ -81,26 +96,32 @@ export declare const PCheckbox: import("react").ForwardRefExoticComponent<Omit<i
81
96
  form?: string;
82
97
  /**
83
98
  * Shows or hides the label. For better accessibility, it is recommended to show the label.
99
+ * @default false
84
100
  */
85
101
  hideLabel?: BreakpointCustomizable<boolean>;
86
102
  /**
87
103
  * Marks the checkbox as indeterminate.
104
+ * @default false
88
105
  */
89
106
  indeterminate?: boolean;
90
107
  /**
91
108
  * Text content for a user-facing label.
109
+ * @default ''
92
110
  */
93
111
  label?: string;
94
112
  /**
95
113
  * @experimental Disables the checkbox and shows a loading indicator.
114
+ * @default false
96
115
  */
97
116
  loading?: boolean;
98
117
  /**
99
118
  * The message styled depending on validation state.
119
+ * @default ''
100
120
  */
101
121
  message?: string;
102
122
  /**
103
123
  * The name of the checkbox.
124
+ * @default ''
104
125
  */
105
126
  name?: string;
106
127
  /**
@@ -113,14 +134,17 @@ export declare const PCheckbox: import("react").ForwardRefExoticComponent<Omit<i
113
134
  onChange?: (event: CustomEvent<CheckboxChangeEventDetail>) => void;
114
135
  /**
115
136
  * Marks the checkbox as required.
137
+ * @default false
116
138
  */
117
139
  required?: boolean;
118
140
  /**
119
141
  * The validation state.
142
+ * @default 'none'
120
143
  */
121
144
  state?: CheckboxState;
122
145
  /**
123
146
  * The checkbox value. When a form is submitted, only a checkbox which is currently checked is included in the submission.
147
+ * @default 'on'
124
148
  */
125
149
  value?: string;
126
150
  } & {
@@ -11,6 +11,7 @@ export type PCrestProps = BaseProps & {
11
11
  href?: string;
12
12
  /**
13
13
  * Specifies where to open the linked document.
14
+ * @default '_self'
14
15
  */
15
16
  target?: CrestTarget;
16
17
  };
@@ -25,6 +26,7 @@ export declare const PCrest: import("react").ForwardRefExoticComponent<Omit<impo
25
26
  href?: string;
26
27
  /**
27
28
  * Specifies where to open the linked document.
29
+ * @default '_self'
28
30
  */
29
31
  target?: CrestTarget;
30
32
  } & import("react").RefAttributes<HTMLElement>>;
@@ -3,18 +3,22 @@ import type { DisplayAlign, DisplayColor, BreakpointCustomizable, DisplaySize, D
3
3
  export type PDisplayProps = BaseProps & {
4
4
  /**
5
5
  * Text alignment of the component.
6
+ * @default 'start'
6
7
  */
7
8
  align?: DisplayAlign;
8
9
  /**
9
10
  * Basic text color variations.
11
+ * @default 'primary'
10
12
  */
11
13
  color?: DisplayColor;
12
14
  /**
13
15
  * Adds an ellipsis to a single line of text if it overflows.
16
+ * @default false
14
17
  */
15
18
  ellipsis?: boolean;
16
19
  /**
17
20
  * Size of the component. Also defines the size for specific breakpoints, like {base: "medium", l: "large"}. You always need to provide a base value when doing this.
21
+ * @default 'large'
18
22
  */
19
23
  size?: BreakpointCustomizable<DisplaySize>;
20
24
  /**
@@ -26,18 +30,22 @@ export type PDisplayProps = BaseProps & {
26
30
  export declare const PDisplay: 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"> & {
27
31
  /**
28
32
  * Text alignment of the component.
33
+ * @default 'start'
29
34
  */
30
35
  align?: DisplayAlign;
31
36
  /**
32
37
  * Basic text color variations.
38
+ * @default 'primary'
33
39
  */
34
40
  color?: DisplayColor;
35
41
  /**
36
42
  * Adds an ellipsis to a single line of text if it overflows.
43
+ * @default false
37
44
  */
38
45
  ellipsis?: boolean;
39
46
  /**
40
47
  * Size of the component. Also defines the size for specific breakpoints, like {base: "medium", l: "large"}. You always need to provide a base value when doing this.
48
+ * @default 'large'
41
49
  */
42
50
  size?: BreakpointCustomizable<DisplaySize>;
43
51
  /**
@@ -3,20 +3,24 @@ import type { DividerColor, BreakpointCustomizable, DividerDirection } from '../
3
3
  export type PDividerProps = BaseProps & {
4
4
  /**
5
5
  * Defines color.
6
+ * @default 'contrast-lower'
6
7
  */
7
8
  color?: DividerColor;
8
9
  /**
9
10
  * Defines direction.
11
+ * @default 'horizontal'
10
12
  */
11
13
  direction?: BreakpointCustomizable<DividerDirection>;
12
14
  };
13
15
  export declare const PDivider: 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"> & {
14
16
  /**
15
17
  * Defines color.
18
+ * @default 'contrast-lower'
16
19
  */
17
20
  color?: DividerColor;
18
21
  /**
19
22
  * Defines direction.
23
+ * @default 'horizontal'
20
24
  */
21
25
  direction?: BreakpointCustomizable<DividerDirection>;
22
26
  } & import("react").RefAttributes<HTMLElement>>;
@@ -2,6 +2,7 @@ import type { BaseProps } from '../../BaseProps';
2
2
  export type PDrilldownItemProps = BaseProps & {
3
3
  /**
4
4
  * Private property set by the component itself.
5
+ * @default false
5
6
  */
6
7
  cascade?: boolean;
7
8
  /**
@@ -14,16 +15,19 @@ export type PDrilldownItemProps = BaseProps & {
14
15
  label?: string;
15
16
  /**
16
17
  * Private property set by the component itself.
18
+ * @default false
17
19
  */
18
20
  primary?: boolean;
19
21
  /**
20
22
  * Private property set by the component itself.
23
+ * @default false
21
24
  */
22
25
  secondary?: boolean;
23
26
  };
24
27
  export declare const PDrilldownItem: 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"> & {
25
28
  /**
26
29
  * Private property set by the component itself.
30
+ * @default false
27
31
  */
28
32
  cascade?: boolean;
29
33
  /**
@@ -36,10 +40,12 @@ export declare const PDrilldownItem: import("react").ForwardRefExoticComponent<O
36
40
  label?: string;
37
41
  /**
38
42
  * Private property set by the component itself.
43
+ * @default false
39
44
  */
40
45
  primary?: boolean;
41
46
  /**
42
47
  * Private property set by the component itself.
48
+ * @default false
43
49
  */
44
50
  secondary?: boolean;
45
51
  } & {
@@ -3,6 +3,7 @@ import type { SelectedAriaAttributes, DrilldownLinkAriaAttribute, DrilldownLinkT
3
3
  export type PDrilldownLinkProps = BaseProps & {
4
4
  /**
5
5
  * Displays the link in its active state.
6
+ * @default false
6
7
  */
7
8
  active?: boolean;
8
9
  /**
@@ -23,12 +24,14 @@ export type PDrilldownLinkProps = BaseProps & {
23
24
  rel?: string;
24
25
  /**
25
26
  * Target attribute where the link should be opened (only has effect when `href` is defined and no slotted anchor is used).
27
+ * @default '_self'
26
28
  */
27
29
  target?: DrilldownLinkTarget;
28
30
  };
29
31
  export declare const PDrilldownLink: 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"> & {
30
32
  /**
31
33
  * Displays the link in its active state.
34
+ * @default false
32
35
  */
33
36
  active?: boolean;
34
37
  /**
@@ -49,6 +52,7 @@ export declare const PDrilldownLink: import("react").ForwardRefExoticComponent<O
49
52
  rel?: string;
50
53
  /**
51
54
  * Target attribute where the link should be opened (only has effect when `href` is defined and no slotted anchor is used).
55
+ * @default '_self'
52
56
  */
53
57
  target?: DrilldownLinkTarget;
54
58
  } & {
@@ -19,6 +19,7 @@ export type PDrilldownProps = BaseProps & {
19
19
  onUpdate?: (event: CustomEvent<DrilldownUpdateEventDetail>) => void;
20
20
  /**
21
21
  * If `true`, the drilldown is shown as open.
22
+ * @default false
22
23
  */
23
24
  open?: boolean;
24
25
  };
@@ -41,6 +42,7 @@ export declare const PDrilldown: import("react").ForwardRefExoticComponent<Omit<
41
42
  onUpdate?: (event: CustomEvent<DrilldownUpdateEventDetail>) => void;
42
43
  /**
43
44
  * If `true`, the drilldown is shown as open.
45
+ * @default false
44
46
  */
45
47
  open?: boolean;
46
48
  } & {
@@ -7,22 +7,27 @@ export type PFieldsetProps = BaseProps & {
7
7
  aria?: SelectedAriaRole<"radiogroup">;
8
8
  /**
9
9
  * Text content for a user-facing label.
10
+ * @default ''
10
11
  */
11
12
  label?: string;
12
13
  /**
13
14
  * Controls the size of the label text.
15
+ * @default 'medium'
14
16
  */
15
17
  labelSize?: FieldsetLabelSize;
16
18
  /**
17
19
  * The message styled depending on validation state.
20
+ * @default ''
18
21
  */
19
22
  message?: string;
20
23
  /**
21
24
  * Marks the Fieldset as required.
25
+ * @default false
22
26
  */
23
27
  required?: boolean;
24
28
  /**
25
29
  * The validation state.
30
+ * @default 'none'
26
31
  */
27
32
  state?: FieldsetState;
28
33
  };
@@ -33,22 +38,27 @@ export declare const PFieldset: import("react").ForwardRefExoticComponent<Omit<i
33
38
  aria?: SelectedAriaRole<"radiogroup">;
34
39
  /**
35
40
  * Text content for a user-facing label.
41
+ * @default ''
36
42
  */
37
43
  label?: string;
38
44
  /**
39
45
  * Controls the size of the label text.
46
+ * @default 'medium'
40
47
  */
41
48
  labelSize?: FieldsetLabelSize;
42
49
  /**
43
50
  * The message styled depending on validation state.
51
+ * @default ''
44
52
  */
45
53
  message?: string;
46
54
  /**
47
55
  * Marks the Fieldset as required.
56
+ * @default false
48
57
  */
49
58
  required?: boolean;
50
59
  /**
51
60
  * The validation state.
61
+ * @default 'none'
52
62
  */
53
63
  state?: FieldsetState;
54
64
  } & {
@@ -7,10 +7,12 @@ export type PFlagProps = BaseProps & {
7
7
  aria?: SelectedAriaAttributes<FlagAriaAttribute>;
8
8
  /**
9
9
  * Specifies the country flag to display. Use the two-letter ISO 3166-1 alpha-2 country code. For example, use `us` for the United States, `de` for Germany, `gb` for Great Britain.
10
+ * @default 'de'
10
11
  */
11
12
  name?: FlagName;
12
13
  /**
13
14
  * Defines the size of the flag, aligned with the typographic scale used by components such as p-icon, p-spinner, 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.
15
+ * @default 'sm'
14
16
  */
15
17
  size?: BreakpointCustomizable<FlagSize>;
16
18
  };
@@ -21,10 +23,12 @@ export declare const PFlag: import("react").ForwardRefExoticComponent<Omit<impor
21
23
  aria?: SelectedAriaAttributes<FlagAriaAttribute>;
22
24
  /**
23
25
  * Specifies the country flag to display. Use the two-letter ISO 3166-1 alpha-2 country code. For example, use `us` for the United States, `de` for Germany, `gb` for Great Britain.
26
+ * @default 'de'
24
27
  */
25
28
  name?: FlagName;
26
29
  /**
27
30
  * Defines the size of the flag, aligned with the typographic scale used by components such as p-icon, p-spinner, 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.
31
+ * @default 'sm'
28
32
  */
29
33
  size?: BreakpointCustomizable<FlagSize>;
30
34
  } & import("react").RefAttributes<HTMLElement>>;
@@ -7,18 +7,22 @@ export type PFlyoutProps = BaseProps & {
7
7
  aria?: SelectedAriaAttributes<FlyoutAriaAttribute>;
8
8
  /**
9
9
  * Defines the backdrop, 'blur' (should be used when the underlying content is not relevant for users) and 'shading' (should be used when the user still needs a visual connection to the underlying content).
10
+ * @default 'blur'
10
11
  */
11
12
  backdrop?: FlyoutBackdrop;
12
13
  /**
13
14
  * Defines the background color
15
+ * @default 'canvas'
14
16
  */
15
17
  background?: FlyoutBackground;
16
18
  /**
17
19
  * If true, the flyout will not be closable via backdrop click.
20
+ * @default false
18
21
  */
19
22
  disableBackdropClick?: boolean;
20
23
  /**
21
24
  * Determines the footer's position behavior. When set to "fixed," the flyout content stretches to fill the full height, keeping the footer permanently at the bottom. When set to "sticky," the footer flows beneath the content and only becomes fixed if the content overflows.
25
+ * @default 'sticky'
22
26
  */
23
27
  footerBehavior?: FlyoutFooterBehavior;
24
28
  /**
@@ -35,10 +39,12 @@ export type PFlyoutProps = BaseProps & {
35
39
  onMotionVisibleEnd?: (event: CustomEvent<FlyoutMotionVisibleEndEventDetail>) => void;
36
40
  /**
37
41
  * If true, the flyout is open.
42
+ * @default false
38
43
  */
39
44
  open: boolean;
40
45
  /**
41
46
  * The position of the flyout
47
+ * @default 'end'
42
48
  */
43
49
  position?: FlyoutPosition;
44
50
  };
@@ -49,18 +55,22 @@ export declare const PFlyout: import("react").ForwardRefExoticComponent<Omit<imp
49
55
  aria?: SelectedAriaAttributes<FlyoutAriaAttribute>;
50
56
  /**
51
57
  * Defines the backdrop, 'blur' (should be used when the underlying content is not relevant for users) and 'shading' (should be used when the user still needs a visual connection to the underlying content).
58
+ * @default 'blur'
52
59
  */
53
60
  backdrop?: FlyoutBackdrop;
54
61
  /**
55
62
  * Defines the background color
63
+ * @default 'canvas'
56
64
  */
57
65
  background?: FlyoutBackground;
58
66
  /**
59
67
  * If true, the flyout will not be closable via backdrop click.
68
+ * @default false
60
69
  */
61
70
  disableBackdropClick?: boolean;
62
71
  /**
63
72
  * Determines the footer's position behavior. When set to "fixed," the flyout content stretches to fill the full height, keeping the footer permanently at the bottom. When set to "sticky," the footer flows beneath the content and only becomes fixed if the content overflows.
73
+ * @default 'sticky'
64
74
  */
65
75
  footerBehavior?: FlyoutFooterBehavior;
66
76
  /**
@@ -77,10 +87,12 @@ export declare const PFlyout: import("react").ForwardRefExoticComponent<Omit<imp
77
87
  onMotionVisibleEnd?: (event: CustomEvent<FlyoutMotionVisibleEndEventDetail>) => void;
78
88
  /**
79
89
  * If true, the flyout is open.
90
+ * @default false
80
91
  */
81
92
  open: boolean;
82
93
  /**
83
94
  * The position of the flyout
95
+ * @default 'end'
84
96
  */
85
97
  position?: FlyoutPosition;
86
98
  } & {