@porsche-design-system/components-react 3.10.0-rc.0 → 3.10.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 (114) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/cjs/lib/components/link-tile-product.wrapper.cjs +26 -0
  3. package/cjs/public-api.cjs +2 -0
  4. package/esm/lib/components/index.d.ts +1 -0
  5. package/esm/lib/components/link-tile-product.wrapper.d.ts +96 -0
  6. package/esm/lib/components/link-tile-product.wrapper.mjs +24 -0
  7. package/esm/lib/types.d.ts +9 -0
  8. package/esm/public-api.mjs +1 -0
  9. package/package.json +2 -2
  10. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +230 -58
  11. package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +4 -0
  12. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/link-tile-product.wrapper.cjs +40 -0
  13. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +1 -0
  14. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.cjs +1 -0
  15. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.cjs +1 -0
  16. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.cjs +1 -0
  17. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.cjs +1 -0
  18. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +1 -0
  19. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.cjs +1 -0
  20. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout-navigation-item.cjs +1 -0
  21. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout-navigation.cjs +2 -0
  22. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +1 -0
  23. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.cjs +1 -0
  24. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.cjs +1 -0
  25. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.cjs +1 -0
  26. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.cjs +1 -0
  27. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-product.cjs +92 -0
  28. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.cjs +1 -0
  29. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.cjs +1 -0
  30. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.cjs +1 -0
  31. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select-option.cjs +1 -0
  32. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +1 -0
  33. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.cjs +1 -0
  34. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +1 -0
  35. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +1 -0
  36. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.cjs +1 -0
  37. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.cjs +1 -0
  38. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.cjs +1 -0
  39. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper-dropdown.cjs +1 -0
  40. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.cjs +1 -0
  41. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.cjs +1 -0
  42. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.cjs +1 -0
  43. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.cjs +1 -0
  44. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.cjs +1 -0
  45. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.cjs +1 -0
  46. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.cjs +1 -0
  47. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.cjs +1 -0
  48. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.cjs +1 -0
  49. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.cjs +1 -0
  50. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.cjs +1 -0
  51. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.cjs +1 -0
  52. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/public-api.cjs +2 -0
  53. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +201 -30
  54. package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +3 -1
  55. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link-tile-product.wrapper.mjs +38 -0
  56. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +3 -2
  57. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +3 -2
  58. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.mjs +2 -2
  59. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +3 -2
  60. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.mjs +3 -2
  61. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +3 -2
  62. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +3 -2
  63. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.mjs +3 -2
  64. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.mjs +2 -2
  65. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +2 -2
  66. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -2
  67. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.mjs +2 -2
  68. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.mjs +2 -2
  69. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +2 -2
  70. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.mjs +2 -2
  71. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.mjs +2 -2
  72. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout-navigation-item.mjs +3 -2
  73. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout-navigation.mjs +4 -2
  74. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +3 -2
  75. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.mjs +2 -2
  76. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.mjs +2 -2
  77. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +2 -2
  78. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.mjs +2 -2
  79. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +2 -2
  80. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +3 -2
  81. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.mjs +3 -2
  82. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.mjs +3 -2
  83. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.mjs +3 -2
  84. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-product.mjs +90 -0
  85. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.mjs +1 -0
  86. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +3 -2
  87. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +1 -0
  88. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select-option.mjs +1 -0
  89. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +1 -0
  90. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.mjs +1 -0
  91. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +1 -0
  92. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +1 -0
  93. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.mjs +1 -0
  94. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.mjs +1 -0
  95. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.mjs +1 -0
  96. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper-dropdown.mjs +1 -0
  97. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.mjs +1 -0
  98. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.mjs +1 -0
  99. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.mjs +1 -0
  100. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.mjs +1 -0
  101. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.mjs +1 -0
  102. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.mjs +1 -0
  103. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.mjs +1 -0
  104. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.mjs +1 -0
  105. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.mjs +1 -0
  106. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.mjs +1 -0
  107. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.mjs +1 -0
  108. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.mjs +1 -0
  109. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.mjs +1 -0
  110. package/ssr/esm/lib/components/index.d.ts +1 -0
  111. package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +96 -0
  112. package/ssr/esm/lib/dsr-components/flyout-navigation.d.ts +1 -0
  113. package/ssr/esm/lib/dsr-components/link-tile-product.d.ts +6 -0
  114. package/ssr/esm/lib/types.d.ts +9 -0
@@ -30,6 +30,7 @@ import '../components/link-pure.wrapper.mjs';
30
30
  import '../components/link-social.wrapper.mjs';
31
31
  import '../components/link-tile.wrapper.mjs';
32
32
  import '../components/link-tile-model-signature.wrapper.mjs';
33
+ import '../components/link-tile-product.wrapper.mjs';
33
34
  import '../components/marque.wrapper.mjs';
34
35
  import '../components/modal.wrapper.mjs';
35
36
  import '../components/model-signature.wrapper.mjs';
@@ -69,7 +70,7 @@ import '../components/wordmark.wrapper.mjs';
69
70
  import { splitChildren } from '../../splitChildren.mjs';
70
71
  import { minifyCss } from '../../minifyCss.mjs';
71
72
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
72
- import { getButtonTileCss as getComponentCss$_ } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
+ import { getButtonTileCss as getComponentCss$$ } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
74
  import { isDisabledOrLoading } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
74
75
 
75
76
  class DSRButtonTile extends Component {
@@ -87,7 +88,7 @@ class DSRButtonTile extends Component {
87
88
  };
88
89
  const button = (createElement(PButton, { ...buttonProps, icon: this.props.icon, key: "link-or-button", className: "link-or-button" }, this.props.label));
89
90
  const buttonPure = (createElement(PButtonPure, { ...buttonProps, key: "link-or-button-pure", className: "link-or-button-pure", hideLabel: true, icon: this.props.icon === 'none' ? 'arrow-right' : this.props.icon }, this.props.label));
90
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$_(isDisabledOrLoading(this.props.disabled, this.props.loading), this.props.aspectRatio, this.props.size, this.props.weight, this.props.background, this.props.align, this.props.compact, this.props.gradient, this.props.disabled)));
91
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$$(isDisabledOrLoading(this.props.disabled, this.props.loading), this.props.aspectRatio, this.props.size, this.props.weight, this.props.background, this.props.align, this.props.compact, this.props.gradient, this.props.disabled)));
91
92
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("div", { className: "root", children: [jsx("div", { className: "image-container", children: jsx("slot", {}) }), jsxs("div", { className: "content", children: [jsx("p", { children: this.props.description }), typeof this.props.compact === 'boolean' ? (this.props.compact ? buttonPure : button) : [buttonPure, button]] })] })] }), this.props.children] }));
92
93
  }
93
94
  }
@@ -29,6 +29,7 @@ import '../components/link-pure.wrapper.mjs';
29
29
  import '../components/link-social.wrapper.mjs';
30
30
  import '../components/link-tile.wrapper.mjs';
31
31
  import '../components/link-tile-model-signature.wrapper.mjs';
32
+ import '../components/link-tile-product.wrapper.mjs';
32
33
  import '../components/marque.wrapper.mjs';
33
34
  import '../components/modal.wrapper.mjs';
34
35
  import '../components/model-signature.wrapper.mjs';
@@ -69,14 +70,14 @@ import { splitChildren } from '../../splitChildren.mjs';
69
70
  import { Component } from 'react';
70
71
  import { minifyCss } from '../../minifyCss.mjs';
71
72
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
72
- import { getButtonCss as getComponentCss$Z } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
+ import { getButtonCss as getComponentCss$_ } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
74
  import { getButtonAriaAttributes, hasVisibleIcon } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
74
75
 
75
76
  class DSRButton extends Component {
76
77
  host;
77
78
  render() {
78
79
  splitChildren(this.props.children);
79
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$Z(this.props.icon, this.props.iconSource, this.props.variant, this.props.hideLabel, this.props.disabled, this.props.loading, this.props.theme)));
80
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$_(this.props.icon, this.props.iconSource, this.props.variant, this.props.hideLabel, this.props.disabled, this.props.loading, this.props.theme)));
80
81
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("button", { ...getButtonAriaAttributes(this.props.disabled, this.props.loading, this.props.aria), className: "root", type: this.props.type, name: this.props.name, value: this.props.value, children: [this.props.loading && (jsx(PSpinner, { className: "spinner", size: "inherit", theme: this.props.theme, aria: { 'aria-label': 'Loading state' } })), hasVisibleIcon(this.props.icon, this.props.iconSource) && (jsx(PIcon, { className: "icon", size: "inherit", name: this.props.iconSource ? undefined : this.props.icon, source: this.props.iconSource, color: this.props.disabled ? (this.props.variant === 'primary' ? 'contrast-high' : 'state-disabled') : 'primary', theme: this.props.theme, "aria-hidden": "true" })), jsx("span", { className: "label", children: jsx("slot", {}) })] })] }), this.props.children] }));
81
82
  }
82
83
  }
@@ -29,6 +29,7 @@ import { PLinkPure } from '../components/link-pure.wrapper.mjs';
29
29
  import '../components/link-social.wrapper.mjs';
30
30
  import '../components/link-tile.wrapper.mjs';
31
31
  import '../components/link-tile-model-signature.wrapper.mjs';
32
+ import '../components/link-tile-product.wrapper.mjs';
32
33
  import '../components/marque.wrapper.mjs';
33
34
  import '../components/modal.wrapper.mjs';
34
35
  import '../components/model-signature.wrapper.mjs';
@@ -69,7 +70,7 @@ import { splitChildren } from '../../splitChildren.mjs';
69
70
  import { Component } from 'react';
70
71
  import { minifyCss } from '../../minifyCss.mjs';
71
72
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
72
- import { getCarouselCss as getComponentCss$Y } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
+ import { getCarouselCss as getComponentCss$Z } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
74
  import { isInfinitePagination } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
74
75
 
75
76
  class DSRCarousel extends Component {
@@ -96,7 +97,7 @@ class DSRCarousel extends Component {
96
97
  theme: this.props.theme,
97
98
  // 'aria-controls': 'splide-track', // TODO: cross shadow dom? use native button tag instead of p-button-pure?
98
99
  };
99
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$Y(this.props.width,
100
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$Z(this.props.width,
100
101
  // flip boolean values of disablePagination since it is the inverse of pagination
101
102
  this.props.disablePagination
102
103
  ? typeof this.props.disablePagination === 'object'
@@ -29,6 +29,7 @@ import '../components/link-pure.wrapper.mjs';
29
29
  import '../components/link-social.wrapper.mjs';
30
30
  import '../components/link-tile.wrapper.mjs';
31
31
  import '../components/link-tile-model-signature.wrapper.mjs';
32
+ import '../components/link-tile-product.wrapper.mjs';
32
33
  import '../components/marque.wrapper.mjs';
33
34
  import '../components/modal.wrapper.mjs';
34
35
  import '../components/model-signature.wrapper.mjs';
@@ -69,7 +70,7 @@ import { splitChildren } from '../../splitChildren.mjs';
69
70
  import { Component } from 'react';
70
71
  import { minifyCss } from '../../minifyCss.mjs';
71
72
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
72
- import { getCheckboxWrapperCss as getComponentCss$X } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
+ import { getCheckboxWrapperCss as getComponentCss$Y } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
74
  import { StateMessage } from './state-message.mjs';
74
75
  import { Label } from './label.mjs';
75
76
 
@@ -79,7 +80,7 @@ class DSRCheckboxWrapper extends Component {
79
80
  render() {
80
81
  const { children, namedSlotChildren, otherChildren } = splitChildren(this.props.children);
81
82
  const { disabled } = typeof otherChildren[0] === 'object' && 'props' in otherChildren[0] && otherChildren[0]?.props || {};
82
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$X(this.props.hideLabel, this.props.state, disabled, this.props.loading, this.props.theme)));
83
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$Y(this.props.hideLabel, this.props.state, disabled, this.props.loading, this.props.theme)));
83
84
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("div", { 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, label: this.props.label, isLoading: this.props.loading, isDisabled: disabled, formElement: typeof otherChildren[0] === 'object' && 'props' in otherChildren[0] && otherChildren[0]?.props }), jsxs("div", { className: "wrapper", children: [jsx("slot", {}), this.props.loading && (jsx(PSpinner, { className: "spinner", size: "inherit", theme: this.props.theme, aria: { 'aria-label': `Loading state of ${this.props.label}` } }))] }), 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, theme: this.props.theme, host: null })] })] }), this.props.children] }));
84
85
  }
85
86
  }
@@ -3,14 +3,14 @@ import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
6
- import { getContentWrapperCss as getComponentCss$W } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getContentWrapperCss as getComponentCss$X } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
 
8
8
  /** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
9
9
  class DSRContentWrapper extends Component {
10
10
  host;
11
11
  render() {
12
12
  splitChildren(this.props.children);
13
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$W(this.props.width)));
13
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$X(this.props.width)));
14
14
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("div", { className: "root", children: jsx("slot", {}) })] }), this.props.children] }));
15
15
  }
16
16
  }
@@ -2,7 +2,7 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { Component } from 'react';
3
3
  import { minifyCss } from '../../minifyCss.mjs';
4
4
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
5
- import { getCrestCss as getComponentCss$V } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getCrestCss as getComponentCss$W } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
  import { buildCrestSrcSet, buildCrestImgSrc, parseAndGetAriaAttributes, crestSize } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
7
7
 
8
8
  const { width, height } = crestSize;
@@ -10,7 +10,7 @@ class DSRCrest extends Component {
10
10
  host;
11
11
  render() {
12
12
  const picture = (jsxs("picture", { children: [jsx("source", { srcSet: buildCrestSrcSet('webp'), type: "image/webp" }, "webp"), jsx("source", { srcSet: buildCrestSrcSet('png'), type: "image/png" }, "png"), jsx("img", { src: buildCrestImgSrc(), width: width, height: height, alt: "Porsche" })] }));
13
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$V()));
13
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$W()));
14
14
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: this.props.href === undefined ? (picture) : (jsx("a", { href: this.props.href, target: this.props.target, ...parseAndGetAriaAttributes(this.props.aria), children: picture })) })] }) }));
15
15
  }
16
16
  }
@@ -3,7 +3,7 @@ import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
6
- import { getDisplayCss as getComponentCss$U } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getDisplayCss as getComponentCss$V } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { getDisplayTagType } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
8
8
 
9
9
  class DSRDisplay extends Component {
@@ -15,7 +15,7 @@ class DSRDisplay extends Component {
15
15
  right: 'end',
16
16
  };
17
17
  const TagType = getDisplayTagType(null, this.props.size, this.props.tag);
18
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$U(this.props.size, (alignDeprecationMap[this.props.align] || this.props.align), this.props.color, this.props.ellipsis, this.props.theme)));
18
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$V(this.props.size, (alignDeprecationMap[this.props.align] || this.props.align), this.props.color, this.props.ellipsis, this.props.theme)));
19
19
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(TagType, { className: "root", children: jsx("slot", {}) })] }), this.props.children] }));
20
20
  }
21
21
  }
@@ -2,7 +2,7 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
2
  import { Component } from 'react';
3
3
  import { minifyCss } from '../../minifyCss.mjs';
4
4
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
5
- import { getDividerCss as getComponentCss$T } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getDividerCss as getComponentCss$U } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
 
7
7
  class DSRDivider extends Component {
8
8
  host;
@@ -12,7 +12,7 @@ class DSRDivider extends Component {
12
12
  'neutral-contrast-medium': 'contrast-medium',
13
13
  'neutral-contrast-high': 'contrast-high',
14
14
  };
15
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$T((deprecationMap[this.props.color] || this.props.color), this.props.orientation || this.props.direction, this.props.theme)));
15
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$U((deprecationMap[this.props.color] || this.props.color), this.props.orientation || this.props.direction, this.props.theme)));
16
16
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("hr", {})] }) }));
17
17
  }
18
18
  }
@@ -3,7 +3,7 @@ import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
6
- import { getFieldsetWrapperCss as getComponentCss$S } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getFieldsetWrapperCss as getComponentCss$T } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { messageId, StateMessage } from './state-message.mjs';
8
8
  import { Required } from './required.mjs';
9
9
 
@@ -13,7 +13,7 @@ class DSRFieldsetWrapper extends Component {
13
13
  render() {
14
14
  const { children, namedSlotChildren, otherChildren } = splitChildren(this.props.children);
15
15
  const hasMessageValue = (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state);
16
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$S(this.props.state, this.props.labelSize, (this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0), this.props.theme)));
16
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$T(this.props.state, this.props.labelSize, (this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0), this.props.theme)));
17
17
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("fieldset", { "aria-describedby": hasMessageValue ? messageId : null, children: [(this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0) && (jsxs("legend", { children: [this.props.label || jsx("slot", { name: "label" }), this.props.required && jsx(Required, {})] })), 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, theme: this.props.theme, host: null })] })] }), this.props.children] }));
18
18
  }
19
19
  }
@@ -3,7 +3,7 @@ import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
6
- import { getFieldsetCss as getComponentCss$R } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getFieldsetCss as getComponentCss$S } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { messageId, StateMessage } from './state-message.mjs';
8
8
  import { Required } from './required.mjs';
9
9
 
@@ -12,7 +12,7 @@ class DSRFieldset extends Component {
12
12
  render() {
13
13
  const { children, namedSlotChildren, otherChildren } = splitChildren(this.props.children);
14
14
  const hasMessageValue = (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state);
15
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$R(this.props.state, this.props.labelSize, (this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0), this.props.theme)));
15
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$S(this.props.state, this.props.labelSize, (this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0), this.props.theme)));
16
16
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("fieldset", { "aria-describedby": hasMessageValue ? messageId : null, children: [(this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0) && (jsxs("legend", { children: [this.props.label || jsx("slot", { name: "label" }), this.props.required && jsx(Required, {})] })), 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, theme: this.props.theme, host: null })] })] }), this.props.children] }));
17
17
  }
18
18
  }
@@ -3,14 +3,14 @@ import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
6
- import { getFlexItemCss as getComponentCss$Q } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getFlexItemCss as getComponentCss$R } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
 
8
8
  /** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Flex instead. */
9
9
  class DSRFlexItem extends Component {
10
10
  host;
11
11
  render() {
12
12
  splitChildren(this.props.children);
13
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$Q(this.props.width, this.props.offset, this.props.alignSelf, this.props.grow, this.props.shrink, this.props.flex)));
13
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$R(this.props.width, this.props.offset, this.props.alignSelf, this.props.grow, this.props.shrink, this.props.flex)));
14
14
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("slot", {})] }), this.props.children] }));
15
15
  }
16
16
  }
@@ -3,14 +3,14 @@ import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
6
- import { getFlexCss as getComponentCss$P } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getFlexCss as getComponentCss$Q } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
 
8
8
  /** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Flex instead. */
9
9
  class DSRFlex extends Component {
10
10
  host;
11
11
  render() {
12
12
  splitChildren(this.props.children);
13
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$P(this.props.inline, this.props.wrap, this.props.direction, this.props.justifyContent, this.props.alignItems, this.props.alignContent)));
13
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$Q(this.props.inline, this.props.wrap, this.props.direction, this.props.justifyContent, this.props.alignItems, this.props.alignContent)));
14
14
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("slot", {})] }), this.props.children] }));
15
15
  }
16
16
  }
@@ -29,6 +29,7 @@ import '../components/link-pure.wrapper.mjs';
29
29
  import '../components/link-social.wrapper.mjs';
30
30
  import '../components/link-tile.wrapper.mjs';
31
31
  import '../components/link-tile-model-signature.wrapper.mjs';
32
+ import '../components/link-tile-product.wrapper.mjs';
32
33
  import '../components/marque.wrapper.mjs';
33
34
  import '../components/modal.wrapper.mjs';
34
35
  import '../components/model-signature.wrapper.mjs';
@@ -69,7 +70,7 @@ import { splitChildren } from '../../splitChildren.mjs';
69
70
  import { Component } from 'react';
70
71
  import { minifyCss } from '../../minifyCss.mjs';
71
72
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
72
- import { getFlyoutNavigationItemCss as getComponentCss$N } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
+ import { getFlyoutNavigationItemCss as getComponentCss$O } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
74
 
74
75
  class DSRFlyoutNavigationItem extends Component {
75
76
  host;
@@ -81,7 +82,7 @@ class DSRFlyoutNavigationItem extends Component {
81
82
  }
82
83
  render() {
83
84
  splitChildren(this.props.children);
84
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$N(this.open, this.theme)));
85
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$O(this.open, this.theme)));
85
86
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [jsx(PButtonPure, { className: "button", type: "button", size: "medium", alignLabel: "start", stretch: true, icon: "arrow-head-right", active: this.open, aria: { 'aria-expanded': this.open }, theme: this.theme, children: this.props.label }), jsxs("div", { className: "scroller",
86
87
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
87
88
  /* @ts-ignore */
@@ -29,6 +29,7 @@ import '../components/link-pure.wrapper.mjs';
29
29
  import '../components/link-social.wrapper.mjs';
30
30
  import '../components/link-tile.wrapper.mjs';
31
31
  import '../components/link-tile-model-signature.wrapper.mjs';
32
+ import '../components/link-tile-product.wrapper.mjs';
32
33
  import '../components/marque.wrapper.mjs';
33
34
  import '../components/modal.wrapper.mjs';
34
35
  import '../components/model-signature.wrapper.mjs';
@@ -69,9 +70,10 @@ import { splitChildren } from '../../splitChildren.mjs';
69
70
  import { Component } from 'react';
70
71
  import { minifyCss } from '../../minifyCss.mjs';
71
72
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
72
- import { getFlyoutNavigationCss as getComponentCss$O } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
+ import { getFlyoutNavigationCss as getComponentCss$P } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
74
  import { parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
74
75
 
76
+ /** __Experimental__ */
75
77
  class DSRFlyoutNavigation extends Component {
76
78
  host;
77
79
  // TODO: shouldn't open prop be changed internally too?
@@ -79,7 +81,7 @@ class DSRFlyoutNavigation extends Component {
79
81
  flyoutNavigationItemElements = [];
80
82
  render() {
81
83
  splitChildren(this.props.children);
82
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$O(this.props.open, !!this.props.activeIdentifier, this.props.theme)));
84
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$P(this.props.open, !!this.props.activeIdentifier, this.props.theme)));
83
85
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("dialog", {
84
86
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
85
87
  /* @ts-ignore */
@@ -29,6 +29,7 @@ import '../components/link-pure.wrapper.mjs';
29
29
  import '../components/link-social.wrapper.mjs';
30
30
  import '../components/link-tile.wrapper.mjs';
31
31
  import '../components/link-tile-model-signature.wrapper.mjs';
32
+ import '../components/link-tile-product.wrapper.mjs';
32
33
  import '../components/marque.wrapper.mjs';
33
34
  import '../components/modal.wrapper.mjs';
34
35
  import '../components/model-signature.wrapper.mjs';
@@ -69,7 +70,7 @@ import { splitChildren } from '../../splitChildren.mjs';
69
70
  import { Component } from 'react';
70
71
  import { minifyCss } from '../../minifyCss.mjs';
71
72
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
72
- import { getFlyoutCss as getComponentCss$M } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
+ import { getFlyoutCss as getComponentCss$N } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
74
  import { parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
74
75
 
75
76
  class DSRFlyout extends Component {
@@ -92,7 +93,7 @@ class DSRFlyout extends Component {
92
93
  const hasHeader = namedSlotChildren.filter(({ props: { slot } }) => slot === 'header').length > 0;
93
94
  const hasFooter = namedSlotChildren.filter(({ props: { slot } }) => slot === 'footer').length > 0;
94
95
  const hasSubFooter = namedSlotChildren.filter(({ props: { slot } }) => slot === 'sub-footer').length > 0;
95
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$M(this.props.open, (positionDeprecationMap[this.props.position] || this.props.position), hasFooter, hasSubFooter, this.props.theme)));
96
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$N(this.props.open, (positionDeprecationMap[this.props.position] || this.props.position), hasFooter, hasSubFooter, this.props.theme)));
96
97
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsxs("div", { className: "root", role: "dialog", ...parseAndGetAriaAttributes({
97
98
  'aria-modal': true,
98
99
  'aria-hidden': !this.props.open,
@@ -3,14 +3,14 @@ import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
6
- import { getGridItemCss as getComponentCss$L } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getGridItemCss as getComponentCss$M } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
 
8
8
  /** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
9
9
  class DSRGridItem extends Component {
10
10
  host;
11
11
  render() {
12
12
  splitChildren(this.props.children);
13
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$L(this.props.size, this.props.offset)));
13
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$M(this.props.size, this.props.offset)));
14
14
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("slot", {})] }), this.props.children] }));
15
15
  }
16
16
  }
@@ -3,7 +3,7 @@ import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
6
- import { getGridCss as getComponentCss$K } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getGridCss as getComponentCss$L } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
 
8
8
  /** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
9
9
  class DSRGrid extends Component {
@@ -13,7 +13,7 @@ class DSRGrid extends Component {
13
13
  const manipulatedChildren = children.map((child) => typeof child === 'object' && 'props' in child && otherChildren.includes(child)
14
14
  ? { ...child, props: { ...child.props, gutter: this.props.gutter } }
15
15
  : child);
16
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$K(this.props.direction, this.props.wrap)));
16
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$L(this.props.direction, this.props.wrap)));
17
17
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("slot", {})] }), manipulatedChildren] }));
18
18
  }
19
19
  }
@@ -3,7 +3,7 @@ import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
6
- import { getHeadingCss as getComponentCss$J } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getHeadingCss as getComponentCss$K } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { getHeadingTagType } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
8
8
 
9
9
  class DSRHeading extends Component {
@@ -15,7 +15,7 @@ class DSRHeading extends Component {
15
15
  right: 'end',
16
16
  };
17
17
  const TagType = getHeadingTagType(null, this.props.size, this.props.tag);
18
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$J(this.props.size, (alignDeprecationMap[this.props.align] || this.props.align), this.props.color, this.props.ellipsis, this.props.theme)));
18
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$K(this.props.size, (alignDeprecationMap[this.props.align] || this.props.align), this.props.color, this.props.ellipsis, this.props.theme)));
19
19
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(TagType, { className: "root", children: jsx("slot", {}) })] }), this.props.children] }));
20
20
  }
21
21
  }
@@ -3,7 +3,7 @@ import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
6
- import { getHeadlineCss as getComponentCss$I } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getHeadlineCss as getComponentCss$J } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { getHeadlineTagType } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
8
8
 
9
9
  /** @deprecated since v3.0.0, will be removed with next major release. Please use "p-heading" instead. */
@@ -16,7 +16,7 @@ class DSRHeadline extends Component {
16
16
  right: 'end',
17
17
  };
18
18
  const TagType = getHeadlineTagType(null, this.props.variant, this.props.tag);
19
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$I(this.props.variant, (alignDeprecationMap[this.props.align] || this.props.align), this.props.color, this.props.ellipsis, this.props.theme)));
19
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$J(this.props.variant, (alignDeprecationMap[this.props.align] || this.props.align), this.props.color, this.props.ellipsis, this.props.theme)));
20
20
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(TagType, { className: "root", children: jsx("slot", {}) })] }), this.props.children] }));
21
21
  }
22
22
  }
@@ -2,7 +2,7 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
2
  import { Component } from 'react';
3
3
  import { minifyCss } from '../../minifyCss.mjs';
4
4
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
5
- import { getIconCss as getComponentCss$H } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getIconCss as getComponentCss$I } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
  import { buildIconUrl, parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
7
7
 
8
8
  class DSRIcon extends Component {
@@ -16,7 +16,7 @@ class DSRIcon extends Component {
16
16
  'neutral-contrast-high': 'contrast-high',
17
17
  'notification-neutral': 'notification-info',
18
18
  };
19
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$H((deprecationMap[this.props.color] || this.props.color), this.props.size, this.props.theme)));
19
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$I((deprecationMap[this.props.color] || this.props.color), this.props.size, this.props.theme)));
20
20
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("img", { src: buildIconUrl(this.props.source || this.props.name), width: 24, height: 24, loading: "lazy", alt: parseAndGetAriaAttributes(this.props.aria)?.['aria-label'] ?? '' })] }) }));
21
21
  }
22
22
  }
@@ -29,6 +29,7 @@ import '../components/link-pure.wrapper.mjs';
29
29
  import '../components/link-social.wrapper.mjs';
30
30
  import '../components/link-tile.wrapper.mjs';
31
31
  import '../components/link-tile-model-signature.wrapper.mjs';
32
+ import '../components/link-tile-product.wrapper.mjs';
32
33
  import '../components/marque.wrapper.mjs';
33
34
  import '../components/modal.wrapper.mjs';
34
35
  import '../components/model-signature.wrapper.mjs';
@@ -69,7 +70,7 @@ import { splitChildren } from '../../splitChildren.mjs';
69
70
  import { Component } from 'react';
70
71
  import { minifyCss } from '../../minifyCss.mjs';
71
72
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
72
- import { getInlineNotificationCss as getComponentCss$G } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
+ import { getInlineNotificationCss as getComponentCss$H } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
74
  import { getInlineNotificationIconName, getContentAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
74
75
 
75
76
  class DSRInlineNotification extends Component {
@@ -82,7 +83,7 @@ class DSRInlineNotification extends Component {
82
83
  const bannerId = 'banner';
83
84
  const labelId = 'label';
84
85
  const descriptionId = 'description';
85
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$G(this.props.state, !!this.props.actionLabel, this.hasDismissButton, this.props.theme)));
86
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$H(this.props.state, !!this.props.actionLabel, this.hasDismissButton, this.props.theme)));
86
87
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [jsx(PIcon, { className: "icon", name: getInlineNotificationIconName(this.props.state), color: `notification-${this.props.state}`, theme: this.props.theme, "aria-hidden": "true" }), jsxs("div", { id: bannerId, className: "content", ...getContentAriaAttributes(this.props.state, labelId, descriptionId), children: [(this.props.heading || namedSlotChildren.filter(({ props: { slot } }) => slot === 'heading').length > 0) && jsx("h5", { id: labelId, children: this.props.heading || jsx("slot", { name: "heading" }) }), jsx("p", { id: descriptionId, children: this.props.description || jsx("slot", {}) })] }), this.props.actionLabel && (jsx(PButtonPure, { className: "action", theme: this.props.theme, icon: this.props.actionIcon, loading: this.props.actionLoading, children: this.props.actionLabel })), this.hasDismissButton && (jsx(PButtonPure, { className: "close", type: "button", icon: "close", theme: this.props.theme, hideLabel: true, "aria-controls": bannerId, children: "Close notification" }))] })] }), this.props.children] }));
87
88
  }
88
89
  }
@@ -29,6 +29,7 @@ import '../components/link-pure.wrapper.mjs';
29
29
  import '../components/link-social.wrapper.mjs';
30
30
  import '../components/link-tile.wrapper.mjs';
31
31
  import '../components/link-tile-model-signature.wrapper.mjs';
32
+ import '../components/link-tile-product.wrapper.mjs';
32
33
  import '../components/marque.wrapper.mjs';
33
34
  import '../components/modal.wrapper.mjs';
34
35
  import '../components/model-signature.wrapper.mjs';
@@ -69,7 +70,7 @@ import { splitChildren } from '../../splitChildren.mjs';
69
70
  import { Component } from 'react';
70
71
  import { minifyCss } from '../../minifyCss.mjs';
71
72
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
72
- import { getLinkPureCss as getComponentCss$F } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
+ import { getLinkPureCss as getComponentCss$G } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
74
  import { hasVisibleIcon, parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
74
75
 
75
76
  class DSRLinkPure extends Component {
@@ -78,7 +79,7 @@ class DSRLinkPure extends Component {
78
79
  splitChildren(this.props.children);
79
80
  const TagType = this.props.href === undefined ? 'span' : 'a';
80
81
  const hasIcon = hasVisibleIcon(this.props.icon, this.props.iconSource);
81
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$F(this.props.icon, this.props.iconSource, this.props.active, this.props.stretch, this.props.size, this.props.hideLabel, this.props.alignLabel, this.props.underline, !this.props.href, this.props.theme)));
82
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$G(this.props.icon, this.props.iconSource, this.props.active, this.props.stretch, this.props.size, this.props.hideLabel, this.props.alignLabel, this.props.underline, !this.props.href, this.props.theme)));
82
83
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(TagType, { className: "root", ...(TagType === 'a' && {
83
84
  href: this.props.href,
84
85
  target: this.props.target,
@@ -29,6 +29,7 @@ import '../components/link-pure.wrapper.mjs';
29
29
  import '../components/link-social.wrapper.mjs';
30
30
  import '../components/link-tile.wrapper.mjs';
31
31
  import '../components/link-tile-model-signature.wrapper.mjs';
32
+ import '../components/link-tile-product.wrapper.mjs';
32
33
  import '../components/marque.wrapper.mjs';
33
34
  import '../components/modal.wrapper.mjs';
34
35
  import '../components/model-signature.wrapper.mjs';
@@ -69,7 +70,7 @@ import { splitChildren } from '../../splitChildren.mjs';
69
70
  import { Component } from 'react';
70
71
  import { minifyCss } from '../../minifyCss.mjs';
71
72
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
72
- import { getLinkCss as getComponentCss$E } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
+ import { getLinkCss as getComponentCss$F } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
74
 
74
75
  /** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
75
76
  class DSRLinkSocial extends Component {
@@ -77,7 +78,7 @@ class DSRLinkSocial extends Component {
77
78
  render() {
78
79
  splitChildren(this.props.children);
79
80
  const TagType = this.props.href === undefined ? 'span' : 'a';
80
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$E(this.props.icon, this.props.iconSource, 'primary', this.props.hideLabel, !this.props.href, this.props.theme)));
81
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$F(this.props.icon, this.props.iconSource, 'primary', this.props.hideLabel, !this.props.href, this.props.theme)));
81
82
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(TagType, { className: "root", ...(TagType === 'a' && {
82
83
  href: this.props.href,
83
84
  target: this.props.target,
@@ -29,6 +29,7 @@ import '../components/link-pure.wrapper.mjs';
29
29
  import '../components/link-social.wrapper.mjs';
30
30
  import '../components/link-tile.wrapper.mjs';
31
31
  import '../components/link-tile-model-signature.wrapper.mjs';
32
+ import '../components/link-tile-product.wrapper.mjs';
32
33
  import '../components/marque.wrapper.mjs';
33
34
  import '../components/modal.wrapper.mjs';
34
35
  import { PModelSignature } from '../components/model-signature.wrapper.mjs';
@@ -69,7 +70,7 @@ import { splitChildren } from '../../splitChildren.mjs';
69
70
  import { Component } from 'react';
70
71
  import { minifyCss } from '../../minifyCss.mjs';
71
72
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.mjs';
72
- import { getLinkTileModelSignatureCss as getComponentCss$D } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
+ import { getLinkTileModelSignatureCss as getComponentCss$E } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
73
74
 
74
75
  class DSRLinkTileModelSignature extends Component {
75
76
  host;
@@ -94,7 +95,7 @@ class DSRLinkTileModelSignature extends Component {
94
95
  tabIndex: -1,
95
96
  'aria-hidden': 'true',
96
97
  };
97
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$D(this.props.aspectRatio, this.props.weight, this.props.linkDirection, !!this.props.description)));
98
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$E(this.props.aspectRatio, this.props.weight, this.props.linkDirection, !!this.props.description)));
98
99
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("div", { className: "root", children: [jsx("div", { className: "image-container", children: jsx("slot", {}) }), jsx("div", { className: "signature", children: jsx(PModelSignature, { theme: "dark", model: this.props.model }) }), jsxs("div", { className: "content", children: [jsx("a", { ...overlayLinkProps }), jsx(this.props.headingTag, { className: "heading", children: this.props.heading }), this.props.description && jsx("p", { className: "description", children: this.props.description }), jsxs("div", { className: "link-group", role: "group", children: [jsx("slot", { name: "primary" }), jsx("slot", { name: "secondary" })] })] })] })] }), manipulatedChildren] }));
99
100
  }
100
101
  }