@porsche-design-system/components-react 4.0.0-alpha.0 → 4.0.0-beta.0

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 (122) hide show
  1. package/CHANGELOG.md +187 -1
  2. package/bin/patchRemixRunProcessBrowserGlobalIdentifier.js +0 -0
  3. package/cjs/lib/components/canvas.wrapper.cjs +3 -3
  4. package/{styles → emotion}/cjs/index.cjs +3 -3
  5. package/emotion/esm/index.d.ts +1 -0
  6. package/emotion/esm/index.mjs +1 -0
  7. package/{styles → emotion}/package.json +0 -5
  8. package/esm/lib/components/canvas.wrapper.d.ts +9 -1
  9. package/esm/lib/components/canvas.wrapper.mjs +3 -3
  10. package/esm/lib/components/display.wrapper.d.ts +2 -2
  11. package/esm/lib/components/divider.wrapper.d.ts +2 -2
  12. package/esm/lib/components/heading.wrapper.d.ts +2 -2
  13. package/esm/lib/components/icon.wrapper.d.ts +2 -2
  14. package/esm/lib/components/radio-group-option.wrapper.d.ts +2 -0
  15. package/esm/lib/components/text.wrapper.d.ts +2 -2
  16. package/esm/lib/components/textarea.wrapper.d.ts +2 -2
  17. package/esm/lib/types.d.ts +8 -1
  18. package/global-styles/cn/font-face.css +1 -1
  19. package/global-styles/cn/index.css +264 -115
  20. package/global-styles/color-scheme.css +135 -0
  21. package/global-styles/font-face.css +1 -1
  22. package/global-styles/index.css +264 -115
  23. package/global-styles/variables.css +158 -144
  24. package/package.json +16 -14
  25. package/scss/_index.scss +1 -0
  26. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +671 -600
  27. package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +37 -29
  28. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/canvas.wrapper.cjs +4 -4
  29. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group-option.wrapper.cjs +3 -2
  30. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.cjs +5 -4
  31. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.cjs +2 -13
  32. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +5 -3
  33. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-date.cjs +1 -0
  34. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.cjs +1 -0
  35. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-month.cjs +1 -0
  36. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-number.cjs +1 -0
  37. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-password.cjs +1 -0
  38. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-search.cjs +1 -0
  39. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-tel.cjs +1 -0
  40. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.cjs +1 -0
  41. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-time.cjs +1 -0
  42. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-url.cjs +1 -0
  43. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-week.cjs +1 -0
  44. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/label.cjs +4 -2
  45. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.cjs +5 -4
  46. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +3 -2
  47. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +3 -2
  48. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.cjs +11 -3
  49. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +3 -4
  50. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.cjs +4 -2
  51. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +2 -1
  52. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.cjs +1 -1
  53. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.cjs +1 -0
  54. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +671 -601
  55. package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +37 -29
  56. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/canvas.wrapper.mjs +4 -4
  57. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group-option.wrapper.mjs +3 -2
  58. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.mjs +5 -4
  59. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +2 -13
  60. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +5 -3
  61. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-date.mjs +1 -0
  62. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.mjs +1 -0
  63. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-month.mjs +1 -0
  64. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-number.mjs +1 -0
  65. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-password.mjs +1 -0
  66. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-search.mjs +1 -0
  67. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-tel.mjs +1 -0
  68. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.mjs +1 -0
  69. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-time.mjs +1 -0
  70. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-url.mjs +1 -0
  71. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-week.mjs +1 -0
  72. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/label.mjs +4 -2
  73. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.mjs +5 -4
  74. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +3 -2
  75. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +5 -4
  76. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.mjs +12 -4
  77. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +4 -5
  78. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.mjs +4 -2
  79. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +2 -1
  80. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.mjs +1 -1
  81. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.mjs +1 -0
  82. package/ssr/esm/lib/components/canvas.wrapper.d.ts +9 -1
  83. package/ssr/esm/lib/components/display.wrapper.d.ts +2 -2
  84. package/ssr/esm/lib/components/divider.wrapper.d.ts +2 -2
  85. package/ssr/esm/lib/components/heading.wrapper.d.ts +2 -2
  86. package/ssr/esm/lib/components/icon.wrapper.d.ts +2 -2
  87. package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +2 -0
  88. package/ssr/esm/lib/components/text.wrapper.d.ts +2 -2
  89. package/ssr/esm/lib/components/textarea.wrapper.d.ts +2 -2
  90. package/ssr/esm/lib/dsr-components/canvas.d.ts +0 -3
  91. package/ssr/esm/lib/dsr-components/checkbox.d.ts +4 -2
  92. package/ssr/esm/lib/dsr-components/input-date.d.ts +1 -0
  93. package/ssr/esm/lib/dsr-components/input-email.d.ts +1 -0
  94. package/ssr/esm/lib/dsr-components/input-month.d.ts +1 -0
  95. package/ssr/esm/lib/dsr-components/input-number.d.ts +1 -0
  96. package/ssr/esm/lib/dsr-components/input-password.d.ts +1 -0
  97. package/ssr/esm/lib/dsr-components/input-search.d.ts +1 -0
  98. package/ssr/esm/lib/dsr-components/input-tel.d.ts +1 -0
  99. package/ssr/esm/lib/dsr-components/input-text.d.ts +1 -0
  100. package/ssr/esm/lib/dsr-components/input-time.d.ts +1 -0
  101. package/ssr/esm/lib/dsr-components/input-url.d.ts +1 -0
  102. package/ssr/esm/lib/dsr-components/input-week.d.ts +1 -0
  103. package/ssr/esm/lib/dsr-components/label.d.ts +1 -0
  104. package/ssr/esm/lib/dsr-components/multi-select.d.ts +2 -1
  105. package/ssr/esm/lib/dsr-components/pin-code.d.ts +2 -1
  106. package/ssr/esm/lib/dsr-components/radio-group-option.d.ts +4 -0
  107. package/ssr/esm/lib/dsr-components/radio-group.d.ts +2 -1
  108. package/ssr/esm/lib/dsr-components/segmented-control.d.ts +2 -1
  109. package/ssr/esm/lib/dsr-components/select.d.ts +2 -1
  110. package/ssr/esm/lib/dsr-components/textarea.d.ts +1 -0
  111. package/ssr/esm/lib/types.d.ts +8 -1
  112. package/tailwindcss/index.css +223 -135
  113. package/{styles/vanilla-extract → vanilla-extract}/cjs/index.cjs +1 -1
  114. package/vanilla-extract/esm/index.d.ts +1 -0
  115. package/vanilla-extract/esm/index.mjs +1 -0
  116. package/vanilla-extract/package.json +13 -0
  117. package/ssr/esm/lib/dsr-components/legacy-label.d.ts +0 -14
  118. package/styles/_index.scss +0 -1
  119. package/styles/esm/index.d.ts +0 -1
  120. package/styles/esm/index.mjs +0 -1
  121. package/styles/vanilla-extract/esm/index.d.ts +0 -1
  122. package/styles/vanilla-extract/esm/index.mjs +0 -1
@@ -4,7 +4,7 @@ import '../../provider.mjs';
4
4
  import { splitChildren } from '../../splitChildren.mjs';
5
5
  import { minifyCss } from '../../minifyCss.mjs';
6
6
  import { getRadioGroupCss as getComponentCss$t } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
- import { descriptionId } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
7
+ import { labelId, descriptionId, getFieldsetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
8
8
  import { loadingId, LoadingMessage } from './loading-message.mjs';
9
9
  import { Label } from './label.mjs';
10
10
  import { messageId, StateMessage } from './state-message.mjs';
@@ -12,8 +12,9 @@ import { PSpinner } from '../components/spinner.wrapper.mjs';
12
12
 
13
13
  /**
14
14
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
15
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
15
16
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
16
- * @slot {"name": "", "description": "Default slot for the p-radio-group-option tags." }
17
+ * @slot {"name": "", "description": "Default slot for the p-radio-group-option tags."}
17
18
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
18
19
  */
19
20
  class DSRRadioGroup extends Component {
@@ -36,9 +37,7 @@ class DSRRadioGroup extends Component {
36
37
  render() {
37
38
  const { namedSlotChildren} = splitChildren(this.props.children);
38
39
  const style = minifyCss(getComponentCss$t(this.props.disabled, this.props.loading, this.props.hideLabel, this.props.state, this.props.compact, this.props.direction));
39
- return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("fieldset", { className: "root",
40
- // biome-ignore lint/a11y/noNoninteractiveElementToInteractiveRole: radiogroup is the correct role for a fieldset containing radio buttons
41
- role: "radiogroup", "aria-required": this.props.required ? 'true' : null, "aria-describedby": this.props.loading ? loadingId : `${descriptionId} ${messageId}`, "aria-invalid": this.props.state === 'error' ? 'true' : null, children: [jsx(Label, { hasLabel: this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0, hasDescription: this.props.description || namedSlotChildren.filter(({ props: { slot } }) => slot === 'description').length > 0, host: null, tag: "legend", label: this.props.label, description: this.props.description, isRequired: this.props.required, isLoading: this.props.loading, isDisabled: this.props.disabled }), jsxs("div", { className: "wrapper", children: [jsx("slot", {}), this.props.loading && jsx(PSpinner, { className: "spinner", size: "inherit", "aria-hidden": "true" })] }), jsx(StateMessage, { hasMessage: (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state), state: this.props.state, message: this.props.message, host: null }), jsx(LoadingMessage, { loading: this.props.loading, initialLoading: this.props.initialLoading })] })] }), this.props.children] }));
40
+ return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("fieldset", { className: "root", disabled: this.props.disabled, ...getFieldsetAriaAttributes(this.props.required, this.props.state === 'error', { role: 'radiogroup' }), "aria-describedby": this.props.loading ? loadingId : `${descriptionId} ${messageId}`, "aria-labelledby": labelId, children: [jsx(Label, { hasLabel: this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0, hasDescription: this.props.description || namedSlotChildren.filter(({ props: { slot } }) => slot === 'description').length > 0, host: null, tag: "div", label: this.props.label, description: this.props.description, isRequired: this.props.required, isLoading: this.props.loading, isDisabled: this.props.disabled }), jsxs("div", { className: "wrapper", children: [jsx("slot", {}), this.props.loading && jsx(PSpinner, { className: "spinner", size: "inherit", "aria-hidden": "true" })] }), jsx(StateMessage, { hasMessage: (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state), state: this.props.state, message: this.props.message, host: null }), jsx(LoadingMessage, { loading: this.props.loading, initialLoading: this.props.initialLoading })] })] }), this.props.children] }));
42
41
  }
43
42
  }
44
43
 
@@ -3,16 +3,18 @@ import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
5
  import { getSegmentedControlCss as getComponentCss$q } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { descriptionId, labelId, getFieldsetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
6
7
  import { Label } from './label.mjs';
7
8
  import { StateMessage } from './state-message.mjs';
8
9
 
9
10
  /**
10
11
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
12
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
11
13
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
12
14
  * @slot {"name": "", "description": "Default slot for the `p-segmented-control-item` tags." }
13
15
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
14
16
  *
15
- * @controlled { "props": ["value"], "event": "update", "isInternallyMutated": true }
17
+ * @controlled { "props": ["value"], "event": "change", "isInternallyMutated": true }
16
18
  */
17
19
  class DSRSegmentedControl extends Component {
18
20
  host;
@@ -33,7 +35,7 @@ class DSRSegmentedControl extends Component {
33
35
  : child);
34
36
  const { minWidth, maxWidth } = { minWidth: 100, maxWidth: 100 };
35
37
  const style = minifyCss(getComponentCss$q(minWidth, maxWidth, this.props.columns, this.props.disabled, this.props.hideLabel, this.props.state));
36
- return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("fieldset", { inert: this.props.disabled, "aria-invalid": this.props.state === 'error' ? 'true' : null, className: "root", children: [jsx(Label, { hasLabel: this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0, hasDescription: this.props.description || namedSlotChildren.filter(({ props: { slot } }) => slot === 'description').length > 0, host: null, tag: "legend", label: this.props.label, description: this.props.description, isRequired: this.props.required, isDisabled: this.props.disabled }), jsx("slot", {}), jsx(StateMessage, { hasMessage: (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state), state: this.props.state, message: this.props.message, host: null })] })] }), manipulatedChildren] }));
38
+ return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("fieldset", { className: "root", disabled: this.props.disabled, ...getFieldsetAriaAttributes(this.props.required, this.props.state === 'error'), "aria-labelledby": labelId, "aria-describedby": descriptionId, children: [jsx(Label, { hasLabel: this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0, hasDescription: this.props.description || namedSlotChildren.filter(({ props: { slot } }) => slot === 'description').length > 0, host: null, tag: "div", label: this.props.label, description: this.props.description, isRequired: this.props.required, isDisabled: this.props.disabled }), jsx("slot", {}), jsx(StateMessage, { hasMessage: (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state), state: this.props.state, message: this.props.message, host: null })] })] }), manipulatedChildren] }));
37
39
  }
38
40
  }
39
41
 
@@ -13,6 +13,7 @@ import { NoResultsOption } from './no-results-option.mjs';
13
13
 
14
14
  /**
15
15
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
16
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
16
17
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
17
18
  * @slot {"name": "selected", "description": "Use this slot to provide custom markup for the selected option display in the button area." }
18
19
  * @slot {"name": "", "description": "Default slot for the `p-select-option` tags." }
@@ -20,7 +21,7 @@ import { NoResultsOption } from './no-results-option.mjs';
20
21
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
21
22
  * @slot {"name": "filter", "description": "Optional slot for providing a custom `p-input-search` input. When used, the default filter input is replaced and the built-in filter logic is disabled, giving full control over filtering behavior." }
22
23
  *
23
- * @controlled { "props": ["value"], "event": "update", "isInternallyMutated": true }
24
+ * @controlled { "props": ["value"], "event": "change", "isInternallyMutated": true }
24
25
  */
25
26
  class DSRSelect extends Component {
26
27
  host;
@@ -16,7 +16,7 @@ class DSRTag extends Component {
16
16
  splitChildren(this.props.children);
17
17
  const hasIcon = this.props.icon !== 'none' || !!this.props.iconSource;
18
18
  const style = minifyCss(getComponentCss$7(this.props.variant, this.props.compact, !!getDirectChildHTMLElement(null, 'a,button'), hasIcon));
19
- return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("span", { children: [hasIcon && (jsx(PIcon, { className: "icon", name: this.props.icon, source: this.props.iconSource, color: "inherit", size: "x-small", "aria-hidden": "true" })), jsx("slot", {})] })] }), this.props.children] }));
19
+ return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("span", { children: [hasIcon && (jsx(PIcon, { className: "icon", ...(this.props.icon !== 'none' && { name: this.props.icon }), source: this.props.iconSource, color: "inherit", size: "x-small", "aria-hidden": "true" })), jsx("slot", {})] })] }), this.props.children] }));
20
20
  }
21
21
  }
22
22
 
@@ -9,6 +9,7 @@ import { messageId, StateMessage } from './state-message.mjs';
9
9
 
10
10
  /**
11
11
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
12
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
12
13
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
13
14
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
14
15
  */
@@ -1,6 +1,10 @@
1
1
  import type { BaseProps } from '../../BaseProps';
2
- import type { CanvasSidebarStartUpdateEventDetail } from '../types';
2
+ import type { CanvasBackground, CanvasSidebarStartUpdateEventDetail } from '../types';
3
3
  export type PCanvasProps = BaseProps & {
4
+ /**
5
+ * Defines the background color of the main section and auto adjust it for the sidebar
6
+ */
7
+ background?: CanvasBackground;
4
8
  /**
5
9
  * Emitted when the sidebar end requests to be dismissed.
6
10
  */
@@ -19,6 +23,10 @@ export type PCanvasProps = BaseProps & {
19
23
  sidebarStartOpen?: boolean;
20
24
  };
21
25
  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
+ /**
27
+ * Defines the background color of the main section and auto adjust it for the sidebar
28
+ */
29
+ background?: CanvasBackground;
22
30
  /**
23
31
  * Emitted when the sidebar end requests to be dismissed.
24
32
  */
@@ -6,7 +6,7 @@ export type PDisplayProps = BaseProps & {
6
6
  */
7
7
  align?: DisplayAlign;
8
8
  /**
9
- * Basic text color variations depending on theme property.
9
+ * Basic text color variations.
10
10
  */
11
11
  color?: DisplayColor;
12
12
  /**
@@ -28,7 +28,7 @@ export declare const PDisplay: import("react").ForwardRefExoticComponent<Omit<im
28
28
  */
29
29
  align?: DisplayAlign;
30
30
  /**
31
- * Basic text color variations depending on theme property.
31
+ * Basic text color variations.
32
32
  */
33
33
  color?: DisplayColor;
34
34
  /**
@@ -2,7 +2,7 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { DividerColor, BreakpointCustomizable, DividerDirection } from '../types';
3
3
  export type PDividerProps = BaseProps & {
4
4
  /**
5
- * Defines color depending on theme.
5
+ * Defines color.
6
6
  */
7
7
  color?: DividerColor;
8
8
  /**
@@ -12,7 +12,7 @@ export type PDividerProps = BaseProps & {
12
12
  };
13
13
  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
14
  /**
15
- * Defines color depending on theme.
15
+ * Defines color.
16
16
  */
17
17
  color?: DividerColor;
18
18
  /**
@@ -6,7 +6,7 @@ export type PHeadingProps = BaseProps & {
6
6
  */
7
7
  align?: HeadingAlign;
8
8
  /**
9
- * Basic text color variations depending on theme property.
9
+ * Basic text color variations.
10
10
  */
11
11
  color?: HeadingColor;
12
12
  /**
@@ -28,7 +28,7 @@ export declare const PHeading: import("react").ForwardRefExoticComponent<Omit<im
28
28
  */
29
29
  align?: HeadingAlign;
30
30
  /**
31
- * Basic text color variations depending on theme property.
31
+ * Basic text color variations.
32
32
  */
33
33
  color?: HeadingColor;
34
34
  /**
@@ -6,7 +6,7 @@ export type PIconProps = BaseProps & {
6
6
  */
7
7
  aria?: SelectedAriaAttributes<IconAriaAttribute>;
8
8
  /**
9
- * Basic color variations depending on theme property.
9
+ * Basic color variations.
10
10
  */
11
11
  color?: IconColor;
12
12
  /**
@@ -28,7 +28,7 @@ export declare const PIcon: import("react").ForwardRefExoticComponent<Omit<impor
28
28
  */
29
29
  aria?: SelectedAriaAttributes<IconAriaAttribute>;
30
30
  /**
31
- * Basic color variations depending on theme property.
31
+ * Basic color variations.
32
32
  */
33
33
  color?: IconColor;
34
34
  /**
@@ -34,4 +34,6 @@ export declare const PRadioGroupOption: import("react").ForwardRefExoticComponen
34
34
  * The value for the input.
35
35
  */
36
36
  value?: string;
37
+ } & {
38
+ children?: import("react").ReactNode | undefined;
37
39
  } & import("react").RefAttributes<HTMLElement>>;
@@ -6,7 +6,7 @@ export type PTextProps = BaseProps & {
6
6
  */
7
7
  align?: TextAlign;
8
8
  /**
9
- * Basic text color variations depending on theme property.
9
+ * Basic text color variations.
10
10
  */
11
11
  color?: TextColor;
12
12
  /**
@@ -32,7 +32,7 @@ export declare const PText: import("react").ForwardRefExoticComponent<Omit<impor
32
32
  */
33
33
  align?: TextAlign;
34
34
  /**
35
- * Basic text color variations depending on theme property.
35
+ * Basic text color variations.
36
36
  */
37
37
  color?: TextColor;
38
38
  /**
@@ -78,7 +78,7 @@ export type PTextareaProps = BaseProps & {
78
78
  */
79
79
  resize?: TextareaResize;
80
80
  /**
81
- * The number of rows of the textarea.
81
+ * The number of rows. Has no effect when field-sizing CSS Variable '--p-textarea-field-sizing' is set to 'content'.
82
82
  */
83
83
  rows?: number;
84
84
  /**
@@ -176,7 +176,7 @@ export declare const PTextarea: import("react").ForwardRefExoticComponent<Omit<i
176
176
  */
177
177
  resize?: TextareaResize;
178
178
  /**
179
- * The number of rows of the textarea.
179
+ * The number of rows. Has no effect when field-sizing CSS Variable '--p-textarea-field-sizing' is set to 'content'.
180
180
  */
181
181
  rows?: number;
182
182
  /**
@@ -14,11 +14,8 @@ import { Component } from 'react';
14
14
  */
15
15
  export declare class DSRCanvas extends Component<any> {
16
16
  host: HTMLElement;
17
- private isMediaQueryS;
18
- private isMediaQueryM;
19
17
  private hasTitle;
20
18
  private hasSidebarEnd;
21
- private hasSidebarEndHeader;
22
19
  private hasFooter;
23
20
  private hasBackground;
24
21
  render(): JSX.Element;
@@ -1,7 +1,8 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
- * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
4
- * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
3
+ * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
5
+ * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  */
6
7
  export declare class DSRCheckbox extends Component<any> {
7
8
  host: HTMLElement;
@@ -9,6 +10,7 @@ export declare class DSRCheckbox extends Component<any> {
9
10
  private initialLoading;
10
11
  private defaultChecked;
11
12
  private checkboxInputElement;
13
+ private externalLabel;
12
14
  formResetCallback(): void;
13
15
  formDisabledCallback(): void;
14
16
  formStateRestoreCallback(): void;
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
6
7
  * @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
6
7
  * @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
6
7
  * @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
6
7
  * @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
6
7
  * @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
6
7
  * @slot {"name": "start", "description": "Shows content at the start of the input (e.g. icon)."}
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
6
7
  * @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
6
7
  * @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
6
7
  * @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
6
7
  * @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
6
7
  * @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
@@ -3,6 +3,7 @@ import { type LabelTag } from '@porsche-design-system/components/dist/utils';
3
3
  type LabelProps = {
4
4
  hasLabel: boolean;
5
5
  hasDescription: boolean;
6
+ children?: JSX.Element;
6
7
  htmlFor?: string;
7
8
  tag?: LabelTag;
8
9
  isRequired?: boolean;
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
5
6
  * @slot {"name": "selected", "description": "Use this slot to provide custom markup for the selected options display in the button area." }
6
7
  * @slot {"name": "", "description": "Default slot for the p-multi-select-option tags." }
@@ -8,7 +9,7 @@ import { Component } from 'react';
8
9
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
9
10
  * @slot {"name": "filter", "description": "Optional slot for providing a custom `p-input-search` input. When used, the default filter input is replaced and the built-in filter logic is disabled, giving full control over filtering behavior." }
10
11
  *
11
- * @controlled { "props": ["value"], "event": "update", "isInternallyMutated": true }
12
+ * @controlled { "props": ["value"], "event": "change", "isInternallyMutated": true }
12
13
  */
13
14
  export declare class DSRMultiSelect extends Component<any> {
14
15
  host: HTMLElement;
@@ -1,10 +1,11 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
6
7
  *
7
- * @controlled { "props": ["value"], "event": "update", "isInternallyMutated": true }
8
+ * @controlled { "props": ["value"], "event": "change", "isInternallyMutated": true }
8
9
  */
9
10
  export declare class DSRPinCode extends Component<any> {
10
11
  host: HTMLElement;
@@ -1,5 +1,9 @@
1
1
  import { Component } from 'react';
2
2
  import type { RadioGroupOptionInternalHTMLProps } from '@porsche-design-system/components/dist/utils';
3
+ /**
4
+ * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)." }
6
+ */
3
7
  export declare class DSRRadioGroupOption extends Component<any> {
4
8
  host: HTMLElement & RadioGroupOptionInternalHTMLProps;
5
9
  private initialLoading;
@@ -1,8 +1,9 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
- * @slot {"name": "", "description": "Default slot for the p-radio-group-option tags." }
6
+ * @slot {"name": "", "description": "Default slot for the p-radio-group-option tags."}
6
7
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
7
8
  */
8
9
  export declare class DSRRadioGroup extends Component<any> {
@@ -1,11 +1,12 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
5
6
  * @slot {"name": "", "description": "Default slot for the `p-segmented-control-item` tags." }
6
7
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
7
8
  *
8
- * @controlled { "props": ["value"], "event": "update", "isInternallyMutated": true }
9
+ * @controlled { "props": ["value"], "event": "change", "isInternallyMutated": true }
9
10
  */
10
11
  export declare class DSRSegmentedControl extends Component<any> {
11
12
  host: HTMLElement;
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
5
6
  * @slot {"name": "selected", "description": "Use this slot to provide custom markup for the selected option display in the button area." }
6
7
  * @slot {"name": "", "description": "Default slot for the `p-select-option` tags." }
@@ -8,7 +9,7 @@ import { Component } from 'react';
8
9
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
9
10
  * @slot {"name": "filter", "description": "Optional slot for providing a custom `p-input-search` input. When used, the default filter input is replaced and the built-in filter logic is disabled, giving full control over filtering behavior." }
10
11
  *
11
- * @controlled { "props": ["value"], "event": "update", "isInternallyMutated": true }
12
+ * @controlled { "props": ["value"], "event": "change", "isInternallyMutated": true }
12
13
  */
13
14
  export declare class DSRSelect extends Component<any> {
14
15
  host: HTMLElement;
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
4
+ * @slot {"name": "label-after", "description": "Places additional content after the label text (for content that should not be part of the label, e.g. external links or `p-popover`)."}
4
5
  * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
5
6
  * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed." }
6
7
  */
@@ -847,9 +847,16 @@ export type ButtonTileAlign = TileAlign;
847
847
  export type CanvasSidebarStartUpdateEventDetail = {
848
848
  open: boolean;
849
849
  };
850
+ declare const CANVAS_BACKGROUNDS: readonly [
851
+ "canvas",
852
+ "surface"
853
+ ];
854
+ export type CanvasBackground = (typeof CANVAS_BACKGROUNDS)[number];
850
855
  declare const CAROUSEL_WIDTHS: readonly [
851
856
  "basic",
852
- "extended"
857
+ "extended",
858
+ "wide",
859
+ "full"
853
860
  ];
854
861
  export type CarouselWidth = (typeof CAROUSEL_WIDTHS)[number];
855
862
  declare const CAROUSEL_SLIDES_PER_PAGE: (string | number)[];