@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 { ButtonTileAlign, SelectedAriaAttributes, ButtonTileAriaAttribute,
3
3
  export type PButtonTileProps = BaseProps & {
4
4
  /**
5
5
  * Alignment of button and description.
6
+ * @default 'bottom'
6
7
  */
7
8
  align?: ButtonTileAlign;
8
9
  /**
@@ -11,10 +12,12 @@ export type PButtonTileProps = BaseProps & {
11
12
  aria?: SelectedAriaAttributes<ButtonTileAriaAttribute>;
12
13
  /**
13
14
  * Aspect ratio of the button-tile.
15
+ * @default '4/3'
14
16
  */
15
17
  aspectRatio?: BreakpointCustomizable<ButtonTileAspectRatio>;
16
18
  /**
17
19
  * Displays the button-tile as compact version with description and button icon only.
20
+ * @default false
18
21
  */
19
22
  compact?: BreakpointCustomizable<boolean>;
20
23
  /**
@@ -23,14 +26,17 @@ export type PButtonTileProps = BaseProps & {
23
26
  description: string;
24
27
  /**
25
28
  * Disables the button. No events will be triggered while disabled state is active.
29
+ * @default false
26
30
  */
27
31
  disabled?: boolean;
28
32
  /**
29
33
  * Show gradient.
34
+ * @default false
30
35
  */
31
36
  gradient?: boolean;
32
37
  /**
33
38
  * The icon shown. By choosing 'none', no icon is displayed.
39
+ * @default 'none'
34
40
  */
35
41
  icon?: ButtonTileIcon;
36
42
  /**
@@ -43,24 +49,29 @@ export type PButtonTileProps = BaseProps & {
43
49
  label: string;
44
50
  /**
45
51
  * Disables the button-tile and shows a loading indicator. No events will be triggered while loading state is active.
52
+ * @default false
46
53
  */
47
54
  loading?: boolean;
48
55
  /**
49
56
  * Font size of the description.
57
+ * @default 'medium'
50
58
  */
51
59
  size?: BreakpointCustomizable<ButtonTileSize>;
52
60
  /**
53
61
  * Specifies the type of the button.
62
+ * @default 'submit'
54
63
  */
55
64
  type?: ButtonTileType;
56
65
  /**
57
66
  * Font weight of the description.
67
+ * @default 'semi-bold'
58
68
  */
59
69
  weight?: BreakpointCustomizable<ButtonTileWeight>;
60
70
  };
61
71
  export declare const PButtonTile: 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"> & {
62
72
  /**
63
73
  * Alignment of button and description.
74
+ * @default 'bottom'
64
75
  */
65
76
  align?: ButtonTileAlign;
66
77
  /**
@@ -69,10 +80,12 @@ export declare const PButtonTile: import("react").ForwardRefExoticComponent<Omit
69
80
  aria?: SelectedAriaAttributes<ButtonTileAriaAttribute>;
70
81
  /**
71
82
  * Aspect ratio of the button-tile.
83
+ * @default '4/3'
72
84
  */
73
85
  aspectRatio?: BreakpointCustomizable<ButtonTileAspectRatio>;
74
86
  /**
75
87
  * Displays the button-tile as compact version with description and button icon only.
88
+ * @default false
76
89
  */
77
90
  compact?: BreakpointCustomizable<boolean>;
78
91
  /**
@@ -81,14 +94,17 @@ export declare const PButtonTile: import("react").ForwardRefExoticComponent<Omit
81
94
  description: string;
82
95
  /**
83
96
  * Disables the button. No events will be triggered while disabled state is active.
97
+ * @default false
84
98
  */
85
99
  disabled?: boolean;
86
100
  /**
87
101
  * Show gradient.
102
+ * @default false
88
103
  */
89
104
  gradient?: boolean;
90
105
  /**
91
106
  * The icon shown. By choosing 'none', no icon is displayed.
107
+ * @default 'none'
92
108
  */
93
109
  icon?: ButtonTileIcon;
94
110
  /**
@@ -101,18 +117,22 @@ export declare const PButtonTile: import("react").ForwardRefExoticComponent<Omit
101
117
  label: string;
102
118
  /**
103
119
  * Disables the button-tile and shows a loading indicator. No events will be triggered while loading state is active.
120
+ * @default false
104
121
  */
105
122
  loading?: boolean;
106
123
  /**
107
124
  * Font size of the description.
125
+ * @default 'medium'
108
126
  */
109
127
  size?: BreakpointCustomizable<ButtonTileSize>;
110
128
  /**
111
129
  * Specifies the type of the button.
130
+ * @default 'submit'
112
131
  */
113
132
  type?: ButtonTileType;
114
133
  /**
115
134
  * Font weight of the description.
135
+ * @default 'semi-bold'
116
136
  */
117
137
  weight?: BreakpointCustomizable<ButtonTileWeight>;
118
138
  } & {
@@ -7,10 +7,12 @@ export type PButtonProps = BaseProps & {
7
7
  aria?: SelectedAriaAttributes<ButtonAriaAttribute>;
8
8
  /**
9
9
  * Displays the button in compact mode.
10
+ * @default false
10
11
  */
11
12
  compact?: BreakpointCustomizable<boolean>;
12
13
  /**
13
14
  * Disables the button. No events will be triggered while disabled state is active.
15
+ * @default false
14
16
  */
15
17
  disabled?: boolean;
16
18
  /**
@@ -19,10 +21,12 @@ export type PButtonProps = BaseProps & {
19
21
  form?: string;
20
22
  /**
21
23
  * Shows or hides the label. For better accessibility, it is recommended to show the label.
24
+ * @default false
22
25
  */
23
26
  hideLabel?: BreakpointCustomizable<boolean>;
24
27
  /**
25
28
  * The icon shown. By choosing 'none', no icon is displayed.
29
+ * @default 'none'
26
30
  */
27
31
  icon?: ButtonIcon;
28
32
  /**
@@ -31,6 +35,7 @@ export type PButtonProps = BaseProps & {
31
35
  iconSource?: string;
32
36
  /**
33
37
  * Disables the button and shows a loading indicator. No events will be triggered while loading state is active.
38
+ * @default false
34
39
  */
35
40
  loading?: boolean;
36
41
  /**
@@ -39,6 +44,7 @@ export type PButtonProps = BaseProps & {
39
44
  name?: string;
40
45
  /**
41
46
  * Specifies the type of the button.
47
+ * @default 'submit'
42
48
  */
43
49
  type?: ButtonType;
44
50
  /**
@@ -47,6 +53,7 @@ export type PButtonProps = BaseProps & {
47
53
  value?: string;
48
54
  /**
49
55
  * The style variant of the button.
56
+ * @default 'primary'
50
57
  */
51
58
  variant?: ButtonVariant;
52
59
  };
@@ -57,10 +64,12 @@ export declare const PButton: import("react").ForwardRefExoticComponent<Omit<imp
57
64
  aria?: SelectedAriaAttributes<ButtonAriaAttribute>;
58
65
  /**
59
66
  * Displays the button in compact mode.
67
+ * @default false
60
68
  */
61
69
  compact?: BreakpointCustomizable<boolean>;
62
70
  /**
63
71
  * Disables the button. No events will be triggered while disabled state is active.
72
+ * @default false
64
73
  */
65
74
  disabled?: boolean;
66
75
  /**
@@ -69,10 +78,12 @@ export declare const PButton: import("react").ForwardRefExoticComponent<Omit<imp
69
78
  form?: string;
70
79
  /**
71
80
  * Shows or hides the label. For better accessibility, it is recommended to show the label.
81
+ * @default false
72
82
  */
73
83
  hideLabel?: BreakpointCustomizable<boolean>;
74
84
  /**
75
85
  * The icon shown. By choosing 'none', no icon is displayed.
86
+ * @default 'none'
76
87
  */
77
88
  icon?: ButtonIcon;
78
89
  /**
@@ -81,6 +92,7 @@ export declare const PButton: import("react").ForwardRefExoticComponent<Omit<imp
81
92
  iconSource?: string;
82
93
  /**
83
94
  * Disables the button and shows a loading indicator. No events will be triggered while loading state is active.
95
+ * @default false
84
96
  */
85
97
  loading?: boolean;
86
98
  /**
@@ -89,6 +101,7 @@ export declare const PButton: import("react").ForwardRefExoticComponent<Omit<imp
89
101
  name?: string;
90
102
  /**
91
103
  * Specifies the type of the button.
104
+ * @default 'submit'
92
105
  */
93
106
  type?: ButtonType;
94
107
  /**
@@ -97,6 +110,7 @@ export declare const PButton: import("react").ForwardRefExoticComponent<Omit<imp
97
110
  value?: string;
98
111
  /**
99
112
  * The style variant of the button.
113
+ * @default 'primary'
100
114
  */
101
115
  variant?: ButtonVariant;
102
116
  } & {
@@ -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
  } & {