@porsche-design-system/components-react 3.0.0-alpha.0 → 3.0.0-alpha.2

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 (116) hide show
  1. package/CHANGELOG.md +65 -2
  2. package/OSS_NOTICE +65234 -2280
  3. package/bin/patchRemixRunProcessBrowserGlobalIdentifier.js +58 -0
  4. package/esm/lib/components/carousel.wrapper.js +3 -3
  5. package/esm/lib/components/content-wrapper.wrapper.js +1 -1
  6. package/esm/lib/components/divider.wrapper.js +1 -1
  7. package/esm/lib/components/model-signature.wrapper.js +22 -0
  8. package/esm/public-api.js +1 -0
  9. package/lib/components/carousel.wrapper.d.ts +21 -3
  10. package/lib/components/carousel.wrapper.js +3 -3
  11. package/lib/components/content-wrapper.wrapper.js +1 -1
  12. package/lib/components/divider.wrapper.js +1 -1
  13. package/lib/components/index.d.ts +1 -0
  14. package/lib/components/model-signature.wrapper.d.ts +38 -0
  15. package/lib/components/model-signature.wrapper.js +24 -0
  16. package/lib/components/text-list.wrapper.d.ts +6 -6
  17. package/lib/types.d.ts +89 -32
  18. package/package.json +6 -3
  19. package/public-api.js +2 -0
  20. package/ssr/components/dist/styles/esm/styles-entry.js +346 -296
  21. package/ssr/components/dist/utils/esm/utils-entry.js +48 -32
  22. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/carousel.wrapper.js +4 -4
  23. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/content-wrapper.wrapper.js +1 -1
  24. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/divider.wrapper.js +1 -1
  25. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/model-signature.wrapper.js +37 -0
  26. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/text-list-item.wrapper.js +2 -4
  27. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +1 -0
  28. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +1 -0
  29. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +2 -1
  30. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +2 -1
  31. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +3 -2
  32. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +1 -0
  33. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +1 -0
  34. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +1 -0
  35. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +1 -0
  36. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +1 -0
  37. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +1 -0
  38. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.js +17 -0
  39. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +3 -2
  40. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +1 -0
  41. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +2 -1
  42. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +1 -0
  43. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +2 -1
  44. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +1 -0
  45. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +2 -1
  46. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +1 -0
  47. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +1 -0
  48. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +1 -0
  49. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +1 -0
  50. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +1 -0
  51. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +1 -0
  52. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +1 -0
  53. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +1 -0
  54. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +2 -1
  55. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +1 -3
  56. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +5 -7
  57. package/ssr/components-react/projects/react-ssr-wrapper/src/public-api.js +2 -0
  58. package/ssr/esm/components/dist/styles/esm/styles-entry.js +319 -270
  59. package/ssr/esm/components/dist/utils/esm/utils-entry.js +46 -33
  60. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/carousel.wrapper.js +4 -4
  61. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/content-wrapper.wrapper.js +1 -1
  62. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/divider.wrapper.js +1 -1
  63. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/model-signature.wrapper.js +35 -0
  64. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/text-list-item.wrapper.js +2 -4
  65. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +3 -2
  66. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +3 -2
  67. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.js +2 -2
  68. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +4 -3
  69. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +4 -3
  70. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +4 -3
  71. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.js +2 -2
  72. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.js +2 -2
  73. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.js +2 -2
  74. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.js +2 -2
  75. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.js +2 -2
  76. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.js +2 -2
  77. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.js +2 -2
  78. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.js +2 -2
  79. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.js +2 -2
  80. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.js +2 -2
  81. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.js +2 -2
  82. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.js +2 -2
  83. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +3 -2
  84. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +3 -2
  85. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +3 -2
  86. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +3 -2
  87. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +3 -2
  88. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +2 -2
  89. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +3 -2
  90. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.js +15 -0
  91. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +3 -2
  92. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +1 -0
  93. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +2 -1
  94. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +1 -0
  95. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +2 -1
  96. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +1 -0
  97. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +2 -1
  98. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +1 -0
  99. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +1 -0
  100. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +1 -0
  101. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +1 -0
  102. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +1 -0
  103. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +1 -0
  104. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +1 -0
  105. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +1 -0
  106. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +2 -1
  107. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +2 -4
  108. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +6 -8
  109. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.js +1 -0
  110. package/ssr/lib/components/carousel.wrapper.d.ts +21 -3
  111. package/ssr/lib/components/index.d.ts +1 -0
  112. package/ssr/lib/components/model-signature.wrapper.d.ts +38 -0
  113. package/ssr/lib/components/text-list.wrapper.d.ts +6 -6
  114. package/ssr/lib/dsr-components/model-signature.d.ts +5 -0
  115. package/ssr/lib/dsr-components/text-list-item.d.ts +1 -2
  116. package/ssr/lib/types.d.ts +89 -32
@@ -3,13 +3,13 @@ import { splitChildren } from '../../splitChildren.js';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.js';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
6
- import { getFlexCss as getComponentCss$G } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getFlexCss as getComponentCss$H } from '../../../../../../components/dist/styles/esm/styles-entry.js';
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
  render() {
11
11
  splitChildren(this.props.children);
12
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$G(this.props.inline, this.props.wrap, this.props.direction, this.props.justifyContent, this.props.alignItems, this.props.alignContent)));
12
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$H(this.props.inline, this.props.wrap, this.props.direction, this.props.justifyContent, this.props.alignItems, this.props.alignContent)));
13
13
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("slot", {})] }), this.props.children] }));
14
14
  }
15
15
  }
@@ -3,13 +3,13 @@ import { splitChildren } from '../../splitChildren.js';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.js';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
6
- import { getGridItemCss as getComponentCss$F } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getGridItemCss as getComponentCss$G } from '../../../../../../components/dist/styles/esm/styles-entry.js';
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
  render() {
11
11
  splitChildren(this.props.children);
12
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$F(this.props.size, this.props.offset)));
12
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$G(this.props.size, this.props.offset)));
13
13
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("slot", {})] }), this.props.children] }));
14
14
  }
15
15
  }
@@ -3,7 +3,7 @@ import { splitChildren } from '../../splitChildren.js';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.js';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
6
- import { getGridCss as getComponentCss$E } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getGridCss as getComponentCss$F } from '../../../../../../components/dist/styles/esm/styles-entry.js';
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 {
@@ -12,7 +12,7 @@ class DSRGrid extends Component {
12
12
  const manipulatedChildren = children.map((child, i) => typeof child === 'object' && 'props' in child && otherChildren.includes(child)
13
13
  ? { ...child, props: { ...child.props, gutter: this.props.gutter } }
14
14
  : child);
15
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$E(this.props.direction, this.props.wrap)));
15
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$F(this.props.direction, this.props.wrap)));
16
16
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("slot", {})] }), manipulatedChildren] }));
17
17
  }
18
18
  }
@@ -3,14 +3,14 @@ import { splitChildren } from '../../splitChildren.js';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.js';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
6
- import { getHeadingCss as getComponentCss$D } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getHeadingCss as getComponentCss$E } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
  import { getHeadingTagType } from '../../../../../../components/dist/utils/esm/utils-entry.js';
8
8
 
9
9
  class DSRHeading extends Component {
10
10
  render() {
11
11
  splitChildren(this.props.children);
12
12
  const TagType = getHeadingTagType(null, this.props.size, this.props.tag);
13
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$D(this.props.size, this.props.align, this.props.color, this.props.ellipsis, this.props.theme)));
13
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$E(this.props.size, this.props.align, this.props.color, this.props.ellipsis, this.props.theme)));
14
14
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx(TagType, { className: "root", children: jsx("slot", {}) }) })] }), this.props.children] }));
15
15
  }
16
16
  }
@@ -3,7 +3,7 @@ import { splitChildren } from '../../splitChildren.js';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.js';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
6
- import { getHeadlineCss as getComponentCss$C } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getHeadlineCss as getComponentCss$D } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
  import { getHeadlineTagType } from '../../../../../../components/dist/utils/esm/utils-entry.js';
8
8
 
9
9
  /** @deprecated since v3.0.0, will be removed with next major release. Please use "p-heading" instead. */
@@ -11,7 +11,7 @@ class DSRHeadline extends Component {
11
11
  render() {
12
12
  splitChildren(this.props.children);
13
13
  const TagType = getHeadlineTagType(null, this.props.variant, this.props.tag);
14
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$C(this.props.variant, this.props.align, this.props.color, this.props.ellipsis, this.props.theme)));
14
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$D(this.props.variant, this.props.align, this.props.color, this.props.ellipsis, this.props.theme)));
15
15
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx(TagType, { className: "root", children: jsx("slot", {}) }) })] }), this.props.children] }));
16
16
  }
17
17
  }
@@ -2,14 +2,14 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
2
  import { Component } from 'react';
3
3
  import { minifyCss } from '../../minifyCss.js';
4
4
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
5
- import { getIconCss as getComponentCss$B } from '../../../../../../components/dist/styles/esm/styles-entry.js';
5
+ import { getIconCss as getComponentCss$C } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
6
  import { buildIconUrl, parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
7
7
 
8
8
  class DSRIcon extends Component {
9
9
  render() {
10
10
  // TODO: add validation, which warns if a deprecated color is used
11
11
  // TODO: wouldn't it be better to set alt attribute instead of aria-label?
12
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$B(this.props.color, this.props.size, this.props.theme)));
12
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$C(this.props.color, this.props.size, this.props.theme)));
13
13
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("img", { src: buildIconUrl(this.props.source || this.props.name), ...parseAndGetAriaAttributes(this.props.aria), alt: "" })] }) }));
14
14
  }
15
15
  }
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -57,7 +58,7 @@ import { splitChildren } from '../../splitChildren.js';
57
58
  import { Component } from 'react';
58
59
  import { minifyCss } from '../../minifyCss.js';
59
60
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
60
- import { getInlineNotificationCss as getComponentCss$A } from '../../../../../../components/dist/styles/esm/styles-entry.js';
61
+ import { getInlineNotificationCss as getComponentCss$B } from '../../../../../../components/dist/styles/esm/styles-entry.js';
61
62
  import { getInlineNotificationIconName, getContentAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
62
63
 
63
64
  class DSRInlineNotification extends Component {
@@ -66,7 +67,7 @@ class DSRInlineNotification extends Component {
66
67
  const bannerId = 'banner';
67
68
  const labelId = 'label';
68
69
  const descriptionId = 'description';
69
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$A(this.props.state, !!this.props.actionLabel, !this.props.persistent, this.props.theme)));
70
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$B(this.props.state, !!this.props.actionLabel, !this.props.persistent, this.props.theme)));
70
71
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "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.props.persistent && (jsx(PButtonPure, { className: "close", type: "button", icon: "close", theme: this.props.theme, hideLabel: true, "aria-controls": bannerId, children: "Close notification" }))] })] }), this.props.children] }));
71
72
  }
72
73
  }
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -57,7 +58,7 @@ import { splitChildren } from '../../splitChildren.js';
57
58
  import { Component } from 'react';
58
59
  import { minifyCss } from '../../minifyCss.js';
59
60
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
60
- import { getLinkPureCss as getComponentCss$z } from '../../../../../../components/dist/styles/esm/styles-entry.js';
61
+ import { getLinkPureCss as getComponentCss$A } from '../../../../../../components/dist/styles/esm/styles-entry.js';
61
62
  import { hasVisibleIcon, parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
62
63
 
63
64
  class DSRLinkPure extends Component {
@@ -65,7 +66,7 @@ class DSRLinkPure extends Component {
65
66
  splitChildren(this.props.children);
66
67
  const TagType = this.props.href === undefined ? 'span' : 'a';
67
68
  const hasIcon = hasVisibleIcon(this.props.icon, this.props.iconSource);
68
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$z(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)));
69
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$A(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)));
69
70
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(TagType, { className: "root", ...(TagType === 'a' && {
70
71
  href: this.props.href,
71
72
  target: this.props.target,
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -57,7 +58,7 @@ import { splitChildren } from '../../splitChildren.js';
57
58
  import { Component } from 'react';
58
59
  import { minifyCss } from '../../minifyCss.js';
59
60
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
60
- import { getLinkCss as getComponentCss$y } from '../../../../../../components/dist/styles/esm/styles-entry.js';
61
+ import { getLinkCss as getComponentCss$z } from '../../../../../../components/dist/styles/esm/styles-entry.js';
61
62
  import { getLinkButtonThemeForIcon } from '../../../../../../components/dist/utils/esm/utils-entry.js';
62
63
 
63
64
  /** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social instead. */
@@ -65,7 +66,7 @@ class DSRLinkSocial extends Component {
65
66
  render() {
66
67
  splitChildren(this.props.children);
67
68
  const TagType = this.props.href === undefined ? 'span' : 'a';
68
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$y(this.props.icon, this.props.iconSource, 'primary', this.props.hideLabel, !this.props.href, this.props.theme)));
69
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$z(this.props.icon, this.props.iconSource, 'primary', this.props.hideLabel, !this.props.href, this.props.theme)));
69
70
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(TagType, { className: "root", ...(TagType === 'a' && {
70
71
  href: this.props.href,
71
72
  target: this.props.target,
@@ -25,6 +25,7 @@ import '../components/link-social.wrapper.js';
25
25
  import '../components/link-tile.wrapper.js';
26
26
  import '../components/marque.wrapper.js';
27
27
  import '../components/modal.wrapper.js';
28
+ import '../components/model-signature.wrapper.js';
28
29
  import '../components/pagination.wrapper.js';
29
30
  import '../components/popover.wrapper.js';
30
31
  import '../components/radio-button-wrapper.wrapper.js';
@@ -57,7 +58,7 @@ import '../components/toast.wrapper.js';
57
58
  import { splitChildren } from '../../splitChildren.js';
58
59
  import { minifyCss } from '../../minifyCss.js';
59
60
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
60
- import { getLinkTileCss as getComponentCss$x } from '../../../../../../components/dist/styles/esm/styles-entry.js';
61
+ import { getLinkTileCss as getComponentCss$y } from '../../../../../../components/dist/styles/esm/styles-entry.js';
61
62
  import { parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
62
63
 
63
64
  class DSRLinkTile extends Component {
@@ -80,7 +81,7 @@ class DSRLinkTile extends Component {
80
81
  jsx("a", { ...anchorProps, children: this.props.label })));
81
82
  const linkPure = (createElement(PLinkPure, { ...linkProps, key: "link-pure", className: "link-pure", hideLabel: true, icon: "arrow-right" },
82
83
  jsx("a", { ...anchorProps, children: this.props.label })));
83
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$x(this.props.aspectRatio, this.props.size, this.props.weight, this.props.align, this.props.compact, this.props.gradient)));
84
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$y(this.props.aspectRatio, this.props.size, this.props.weight, this.props.align, this.props.compact, this.props.gradient)));
84
85
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "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", { id: descriptionId, children: this.props.description }), typeof this.props.compact === 'boolean' ? (this.props.compact ? linkPure : link) : [linkPure, link]] })] })] }), this.props.children] }));
85
86
  }
86
87
  }
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -57,14 +58,14 @@ import { splitChildren } from '../../splitChildren.js';
57
58
  import { Component } from 'react';
58
59
  import { minifyCss } from '../../minifyCss.js';
59
60
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
60
- import { getLinkCss as getComponentCss$y } from '../../../../../../components/dist/styles/esm/styles-entry.js';
61
+ import { getLinkCss as getComponentCss$z } from '../../../../../../components/dist/styles/esm/styles-entry.js';
61
62
  import { parseAndGetAriaAttributes, hasVisibleIcon, getLinkButtonThemeForIcon } from '../../../../../../components/dist/utils/esm/utils-entry.js';
62
63
 
63
64
  class DSRLink extends Component {
64
65
  render() {
65
66
  splitChildren(this.props.children);
66
67
  const TagType = this.props.href === undefined ? 'span' : 'a';
67
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$y(this.props.icon, this.props.iconSource, this.props.variant, this.props.hideLabel, !this.props.href, this.props.theme)));
68
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$z(this.props.icon, this.props.iconSource, this.props.variant, this.props.hideLabel, !this.props.href, this.props.theme)));
68
69
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(TagType, { className: "root", ...(TagType === 'a' && {
69
70
  href: this.props.href,
70
71
  target: this.props.target,
@@ -2,7 +2,7 @@ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { Component } from 'react';
3
3
  import { minifyCss } from '../../minifyCss.js';
4
4
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
5
- import { getMarqueCss as getComponentCss$w } from '../../../../../../components/dist/styles/esm/styles-entry.js';
5
+ import { getMarqueCss as getComponentCss$x } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
6
  import { getInnerManifest, buildSrcSet, cdnBaseUrl, parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
7
7
 
8
8
  class DSRMarque extends Component {
@@ -20,7 +20,7 @@ class DSRMarque extends Component {
20
20
  jsx("source", { srcSet: buildSrcSet(innerManifest, this.props.size, 'webp'), type: "image/webp" }, "webp"),
21
21
  jsx("source", { srcSet: buildSrcSet(innerManifest, this.props.size, 'png'), type: "image/png" }, "png"),
22
22
  ], jsx("img", { src: `${cdnBaseUrl}/${innerManifest.medium['2x'].png}`, alt: "Porsche" })] }));
23
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$w(this.props.size)));
23
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$x(this.props.size)));
24
24
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "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 })) })] }) }));
25
25
  }
26
26
  }
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -57,7 +58,7 @@ import { splitChildren } from '../../splitChildren.js';
57
58
  import { Component } from 'react';
58
59
  import { minifyCss } from '../../minifyCss.js';
59
60
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
60
- import { getModalCss as getComponentCss$v } from '../../../../../../components/dist/styles/esm/styles-entry.js';
61
+ import { getModalCss as getComponentCss$w } from '../../../../../../components/dist/styles/esm/styles-entry.js';
61
62
  import { parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
62
63
 
63
64
  class DSRModal extends Component {
@@ -65,7 +66,7 @@ class DSRModal extends Component {
65
66
  const { children, namedSlotChildren, otherChildren } = splitChildren(this.props.children);
66
67
  if (this.props.open) ;
67
68
  const hasHeader = !!this.props.heading || namedSlotChildren.filter(({ props: { slot } }) => slot === 'heading').length > 0;
68
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$v(this.props.open, this.props.fullscreen, this.props.disableCloseButton, hasHeader)));
69
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$w(this.props.open, this.props.fullscreen, this.props.disableCloseButton, hasHeader)));
69
70
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsxs("div", { className: "root", role: "dialog", ...parseAndGetAriaAttributes({
70
71
  'aria-modal': true,
71
72
  'aria-label': this.props.heading,
@@ -0,0 +1,15 @@
1
+ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
+ import { Component } from 'react';
3
+ import { minifyCss } from '../../minifyCss.js';
4
+ import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
5
+ import { getModelSignatureCss as getComponentCss$v } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getSvgUrl } from '../../../../../../components/dist/utils/esm/utils-entry.js';
7
+
8
+ class DSRModelSignature extends Component {
9
+ render() {
10
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$v(this.props.size, this.props.color, this.props.theme)));
11
+ return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("img", { src: getSvgUrl(this.props.model), height: 36, alt: this.props.model })] }) }));
12
+ }
13
+ }
14
+
15
+ export { DSRModelSignature };
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -75,13 +76,13 @@ class DSRPagination extends Component {
75
76
  };
76
77
  switch (type) {
77
78
  case itemTypes.PREVIOUS_PAGE_LINK:
78
- return (jsx("li", { children: jsx("span", { ...spanProps, tabIndex: isActive ? 0 : null, "aria-disabled": !isActive ? 'true' : null, "aria-label": this.props.allyLabelPrev, children: jsx(PIcon, { name: "arrow-left", theme: this.props.theme, color: isActive ? 'default' : 'contrast-medium', "aria-hidden": "true" }) }) }, "prev"));
79
+ return (jsx("li", { children: jsx("span", { ...spanProps, tabIndex: isActive ? 0 : null, "aria-disabled": !isActive ? 'true' : null, "aria-label": this.props.allyLabelPrev, children: jsx(PIcon, { name: "arrow-left", theme: this.props.theme, color: isActive ? 'default' : 'disabled', "aria-hidden": "true" }) }) }, "prev"));
79
80
  case itemTypes.ELLIPSIS:
80
81
  return (jsx("li", { children: jsx("span", { className: "ellipsis" }) }, "ellipsis"));
81
82
  case itemTypes.PAGE:
82
83
  return (jsx("li", { children: jsx("span", { ...spanProps, tabIndex: 0, "aria-label": `${this.props.allyLabelPage} ${value}`, "aria-current": isActive ? 'page' : null, children: value }) }, value));
83
84
  case itemTypes.NEXT_PAGE_LINK:
84
- return (jsx("li", { children: jsx("span", { ...spanProps, tabIndex: isActive ? 0 : null, "aria-disabled": !isActive ? 'true' : null, "aria-label": this.props.allyLabelNext, children: jsx(PIcon, { name: "arrow-right", theme: this.props.theme, color: isActive ? 'default' : 'contrast-medium', "aria-hidden": "true" }) }) }, "next"));
85
+ return (jsx("li", { children: jsx("span", { ...spanProps, tabIndex: isActive ? 0 : null, "aria-disabled": !isActive ? 'true' : null, "aria-label": this.props.allyLabelNext, children: jsx(PIcon, { name: "arrow-right", theme: this.props.theme, color: isActive ? 'default' : 'disabled', "aria-hidden": "true" }) }) }, "next"));
85
86
  }
86
87
  }) }) })] }) }));
87
88
  }
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -71,7 +72,7 @@ class DSRScroller extends Component {
71
72
  render() {
72
73
  splitChildren(this.props.children);
73
74
  const renderPrevNextButton = (direction) => {
74
- return (jsx("div", { className: direction === 'next' ? 'action-next' : 'action-prev', children: jsx("button", { type: "button", tabIndex: -1, "aria-hidden": "true", "aria-label": direction, children: jsx(PIcon, { className: "icon", name: direction === 'next' ? 'arrow-head-right' : 'arrow-head-left' }) }) }, direction));
75
+ return (jsx("div", { className: direction === 'next' ? 'action-next' : 'action-prev', children: jsx("button", { type: "button", tabIndex: -1, "aria-hidden": "true", "aria-label": direction, children: jsx(PIcon, { className: "icon", name: direction === 'next' ? 'arrow-head-right' : 'arrow-head-left', theme: this.props.theme }) }) }, direction));
75
76
  };
76
77
  const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$r(this.props.gradientColorScheme, this.isNextHidden, this.isPrevHidden, this.props.scrollIndicatorPosition, this.props.theme)));
77
78
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("div", { className: "root", children: [jsx("div", { className: "scroll-area", children: jsxs("div", { className: "scroll-wrapper", tabIndex: isScrollable(this.isPrevHidden, this.isNextHidden) ? 0 : null, children: [jsx("slot", {}), jsx("div", { className: "trigger" }), jsx("div", { className: "trigger" })] }) }), ['prev', 'next'].map(renderPrevNextButton)] })] }), this.props.children] }));
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -69,7 +70,7 @@ class DSRSelectWrapper extends Component {
69
70
  ? {}
70
71
  : {};
71
72
  const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$o(disabled, this.props.hideLabel, this.props.state, this.props.theme)));
72
- return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [jsxs("div", { className: "root", children: [jsxs("label", { className: "label", children: [(this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0) && (jsx("span", { className: "label__text", ...labelProps, children: this.props.label || jsx("slot", { name: "label" }) })), (this.props.description || namedSlotChildren.filter(({ props: { slot } }) => slot === 'description').length > 0) && (jsx("span", { className: "label__text", ...labelProps, children: this.props.description || jsx("slot", { name: "description" }) })), jsx(PIcon, { className: "icon", name: "arrow-head-down", theme: this.props.theme, color: disabled ? 'contrast-medium' : 'primary', "aria-hidden": "true" }), jsx("slot", {})] }), this.props.hasCustomDropdown && (jsx(Fragment, {}))] }), (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state) && (jsx(StateMessage, { state: this.props.state, message: this.props.message, theme: this.props.theme, host: null }))] })] }), this.props.children] }));
73
+ return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [jsxs("div", { className: "root", children: [jsxs("label", { className: "label", children: [(this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0) && (jsx("span", { className: "label__text", ...labelProps, children: this.props.label || jsx("slot", { name: "label" }) })), (this.props.description || namedSlotChildren.filter(({ props: { slot } }) => slot === 'description').length > 0) && (jsx("span", { className: "label__text", ...labelProps, children: this.props.description || jsx("slot", { name: "description" }) })), jsx(PIcon, { className: "icon", name: "arrow-head-down", theme: this.props.theme, color: disabled ? 'disabled' : 'primary', "aria-hidden": "true" }), jsx("slot", {})] }), this.props.hasCustomDropdown && (jsx(Fragment, {}))] }), (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state) && (jsx(StateMessage, { state: this.props.state, message: this.props.message, theme: this.props.theme, host: null }))] })] }), this.props.children] }));
73
74
  }
74
75
  }
75
76
 
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -64,7 +65,7 @@ class DSRStepperHorizontalItem extends Component {
64
65
  render() {
65
66
  splitChildren(this.props.children);
66
67
  const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$l(this.props.state, this.props.disabled, this.props.theme || 'light')));
67
- return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsxs("button", { type: "button", "aria-disabled": !this.props.state || this.props.disabled ? 'true' : null, "aria-current": this.props.state === 'current' ? 'step' : null, children: [isStateCompleteOrWarning(this.props.state) && (jsx(PIcon, { className: "icon", name: getStepperHorizontalIconName(this.props.state), size: "inherit", theme: this.props.theme || 'light', color: "inherit", "aria-hidden": "true" })), this.props.state && jsxs("span", { className: "sr-only", children: [this.props.state, ": "] }), jsx("slot", {})] }) })] }), this.props.children] }));
68
+ return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsxs("button", { type: "button", "aria-disabled": !this.props.state || this.props.disabled ? 'true' : null, "aria-current": this.props.state === 'current' ? 'step' : null, children: [isStateCompleteOrWarning(this.props.state) && (jsx(PIcon, { className: "icon", name: getStepperHorizontalIconName(this.props.state), size: "inherit", theme: this.props.theme || 'light', color: this.props.disabled ? 'disabled' : `notification-${getStepperHorizontalIconName(this.props.state)}`, "aria-hidden": "true" })), this.props.state && jsxs("span", { className: "sr-only", children: [this.props.state, ": "] }), jsx("slot", {})] }) })] }), this.props.children] }));
68
69
  }
69
70
  }
70
71
 
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -24,6 +24,7 @@ import '../components/link-social.wrapper.js';
24
24
  import '../components/link-tile.wrapper.js';
25
25
  import '../components/marque.wrapper.js';
26
26
  import '../components/modal.wrapper.js';
27
+ import '../components/model-signature.wrapper.js';
27
28
  import '../components/pagination.wrapper.js';
28
29
  import '../components/popover.wrapper.js';
29
30
  import '../components/radio-button-wrapper.wrapper.js';
@@ -83,7 +84,7 @@ class DSRTextFieldWrapper extends Component {
83
84
  const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$6(disabled, this.props.hideLabel, this.props.state, isCounterVisible, isCounterVisible ? 'suffix' : this.props.unitPosition, isPassword ? 'password' : type, this.props.isWithinForm, this.props.theme)));
84
85
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [jsxs("div", { className: "root", children: [jsxs("label", { className: "label", children: [(this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0) && (jsx("span", { className: "label__text", ...labelProps, children: this.props.label || jsx("slot", { name: "label" }) })), (this.props.description || namedSlotChildren.filter(({ props: { slot } }) => slot === 'description').length > 0) && (jsx("span", { className: "label__text", ...labelProps, children: this.props.description || jsx("slot", { name: "description" }) })), (isCounterVisible) && (jsx("span", { className: "unit", "aria-hidden": "true", children: this.props.unit })), jsx("slot", {}), hasCounter ] }), isPassword ? (jsx(PButtonPure, { className: "button", type: "button", hideLabel: true, icon: this.props.showPassword ? 'view-off' : 'view', disabled: disabled, theme: this.props.theme, aria: { 'aria-pressed': this.props.showPassword ? 'true' : 'false' }, children: "Toggle password visibility" })) : (isSearch && [
85
86
  // TODO: create an own component, which would fix SSR support too
86
- this.props.isWithinForm ? (jsx(PButtonPure, { className: "button", type: "submit", icon: "search", disabled: disabledOrReadOnly, theme: this.props.theme, hideLabel: true, children: "Search" }, "btn-submit")) : (jsx(PIcon, { className: "icon", name: "search", color: "contrast-medium", theme: this.props.theme, "aria-hidden": "true" }, "icon")),
87
+ this.props.isWithinForm ? (jsx(PButtonPure, { className: "button", type: "submit", icon: "search", disabled: disabledOrReadOnly, theme: this.props.theme, hideLabel: true, children: "Search" }, "btn-submit")) : (jsx(PIcon, { className: "icon", name: "search", color: "disabled", theme: this.props.theme, "aria-hidden": "true" }, "icon")),
87
88
  jsx(PButtonPure, { className: "button", type: "button", icon: "close", hideLabel: true, tabIndex: -1, hidden: !isClearable, theme: this.props.theme, disabled: disabledOrReadOnly, "aria-hidden": "true" }, "btn-clear"),
88
89
  hasAction && (jsx(PButtonPure, { className: "button", type: "button", icon: "locate", hidden: isClearable, disabled: disabledOrReadOnly, theme: this.props.theme, hideLabel: true, loading: this.props.actionLoading, children: "Locate me" }, "btn-action")),
89
90
  ])] }), (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state) && (jsx(StateMessage, { state: this.props.state, message: this.props.message, theme: "light", host: null }))] })] }), this.props.children] }));
@@ -3,14 +3,12 @@ import { splitChildren } from '../../splitChildren.js';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.js';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
6
- import { getTextListItemCss as getComponentCss$5 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getTextListItemCss as getComponentCss$4 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
 
8
8
  class DSRTextListItem extends Component {
9
9
  render() {
10
10
  splitChildren(this.props.children);
11
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$5(this.props.listType || 'unordered', // default as fallback
12
- this.props.orderType || 'numbered' // default as fallback
13
- )));
11
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$4()));
14
12
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx("slot", {}) })] }), this.props.children] }));
15
13
  }
16
14
  }
@@ -3,17 +3,15 @@ import { splitChildren } from '../../splitChildren.js';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.js';
5
5
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
6
- import { getTextListCss as getComponentCss$4 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getTextListCss as getComponentCss$5 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
+ import { isListTypeOrdered } from '../../../../../../components/dist/utils/esm/utils-entry.js';
7
8
 
8
9
  class DSRTextList extends Component {
9
10
  render() {
10
- const { children, namedSlotChildren, otherChildren } = splitChildren(this.props.children);
11
- const manipulatedChildren = children.map((child, i) => typeof child === 'object' && 'props' in child && otherChildren.includes(child)
12
- ? { ...child, props: { ...child.props, listType: this.props.listType, orderType: this.props.orderType } }
13
- : child);
14
- const TagType = this.props.listType === 'unordered' ? 'ul' : 'ol';
15
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$4(this.props.theme)));
16
- return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx(TagType, { role: "list", children: jsx("slot", {}) }) })] }), manipulatedChildren] }));
11
+ splitChildren(this.props.children);
12
+ const TagType = isListTypeOrdered(this.props.listType) ? 'ol' : 'ul';
13
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$5(this.props.listType, this.props.orderType, this.props.theme)));
14
+ return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx(TagType, { children: jsx("slot", {}) }) })] }), this.props.children] }));
17
15
  }
18
16
  }
19
17
 
@@ -24,6 +24,7 @@ export { PLinkSocial } from './lib/components/link-social.wrapper.js';
24
24
  export { PLinkTile } from './lib/components/link-tile.wrapper.js';
25
25
  export { PMarque } from './lib/components/marque.wrapper.js';
26
26
  export { PModal } from './lib/components/modal.wrapper.js';
27
+ export { PModelSignature } from './lib/components/model-signature.wrapper.js';
27
28
  export { PPagination } from './lib/components/pagination.wrapper.js';
28
29
  export { PPopover } from './lib/components/popover.wrapper.js';
29
30
  export { PRadioButtonWrapper } from './lib/components/radio-button-wrapper.wrapper.js';