@porsche-design-system/components-react 3.0.0-alpha.4 → 3.0.0-alpha.5

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 (128) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/esm/lib/components/crest.wrapper.js +22 -0
  3. package/esm/lib/components/marque.wrapper.js +1 -0
  4. package/esm/lib/components/wordmark.wrapper.js +22 -0
  5. package/esm/public-api.js +2 -0
  6. package/lib/components/crest.wrapper.d.ts +30 -0
  7. package/lib/components/crest.wrapper.js +24 -0
  8. package/lib/components/index.d.ts +2 -0
  9. package/lib/components/marque.wrapper.d.ts +1 -0
  10. package/lib/components/marque.wrapper.js +1 -0
  11. package/lib/components/wordmark.wrapper.d.ts +46 -0
  12. package/lib/components/wordmark.wrapper.js +24 -0
  13. package/lib/types.d.ts +15 -0
  14. package/package.json +2 -2
  15. package/public-api.js +4 -0
  16. package/ssr/components/dist/styles/esm/styles-entry.js +201 -191
  17. package/ssr/components/dist/utils/esm/utils-entry.js +66 -33
  18. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/crest.wrapper.js +37 -0
  19. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/marque.wrapper.js +1 -0
  20. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/wordmark.wrapper.js +37 -0
  21. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +2 -0
  22. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +2 -0
  23. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +2 -0
  24. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.js +2 -0
  25. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +2 -0
  26. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +2 -0
  27. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.js +18 -0
  28. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +2 -0
  29. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +2 -0
  30. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +2 -0
  31. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.js +2 -0
  32. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +2 -0
  33. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +2 -0
  34. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +1 -0
  35. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +2 -0
  36. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +2 -0
  37. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +2 -0
  38. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +2 -0
  39. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +2 -0
  40. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +2 -0
  41. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +2 -0
  42. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +2 -0
  43. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +2 -0
  44. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +2 -0
  45. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +2 -0
  46. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +2 -0
  47. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +2 -0
  48. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +2 -0
  49. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +2 -0
  50. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +2 -0
  51. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +2 -0
  52. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +19 -0
  53. package/ssr/components-react/projects/react-ssr-wrapper/src/public-api.js +4 -0
  54. package/ssr/esm/components/dist/styles/esm/styles-entry.js +142 -134
  55. package/ssr/esm/components/dist/utils/esm/utils-entry.js +64 -34
  56. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/crest.wrapper.js +35 -0
  57. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/marque.wrapper.js +1 -0
  58. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/wordmark.wrapper.js +35 -0
  59. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +4 -2
  60. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +4 -2
  61. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.js +2 -2
  62. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +4 -2
  63. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.js +4 -2
  64. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +4 -2
  65. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +4 -2
  66. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.js +2 -2
  67. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.js +2 -2
  68. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.js +16 -0
  69. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.js +2 -2
  70. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.js +2 -2
  71. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.js +2 -2
  72. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.js +2 -2
  73. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.js +2 -2
  74. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.js +2 -2
  75. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.js +2 -2
  76. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.js +2 -2
  77. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.js +2 -2
  78. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.js +2 -2
  79. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.js +2 -2
  80. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +4 -2
  81. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +4 -2
  82. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +4 -2
  83. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.js +4 -2
  84. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +4 -2
  85. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +4 -2
  86. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.js +3 -2
  87. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +4 -2
  88. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.js +2 -2
  89. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.js +4 -2
  90. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +4 -2
  91. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.js +2 -2
  92. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +4 -2
  93. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +4 -2
  94. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.js +2 -2
  95. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +4 -2
  96. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.js +2 -2
  97. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.js +2 -0
  98. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +4 -2
  99. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +4 -2
  100. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +4 -2
  101. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-body.js +2 -2
  102. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-cell.js +2 -2
  103. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +4 -2
  104. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-row.js +2 -2
  105. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head.js +2 -2
  106. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-row.js +2 -2
  107. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +4 -2
  108. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +4 -2
  109. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-item.js +2 -2
  110. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +4 -2
  111. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +4 -2
  112. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +4 -2
  113. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +4 -2
  114. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +2 -2
  115. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +2 -2
  116. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text.js +2 -2
  117. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.js +2 -2
  118. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/toast.js +2 -2
  119. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +17 -0
  120. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.js +2 -0
  121. package/ssr/lib/components/crest.wrapper.d.ts +30 -0
  122. package/ssr/lib/components/index.d.ts +2 -0
  123. package/ssr/lib/components/marque.wrapper.d.ts +1 -0
  124. package/ssr/lib/components/wordmark.wrapper.d.ts +46 -0
  125. package/ssr/lib/dsr-components/crest.d.ts +5 -0
  126. package/ssr/lib/dsr-components/marque.d.ts +1 -0
  127. package/ssr/lib/dsr-components/wordmark.d.ts +5 -0
  128. package/ssr/lib/types.d.ts +15 -0
@@ -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$I } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getFlexCss as getComponentCss$J } 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$I(this.props.inline, this.props.wrap, this.props.direction, this.props.justifyContent, this.props.alignItems, this.props.alignContent)));
12
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$J(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", shadowrootmode: "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$H } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getGridItemCss as getComponentCss$I } 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$H(this.props.size, this.props.offset)));
12
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$I(this.props.size, this.props.offset)));
13
13
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "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$G } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getGridCss 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 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$G(this.props.direction, this.props.wrap)));
15
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$H(this.props.direction, this.props.wrap)));
16
16
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "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$F } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getHeadingCss as getComponentCss$G } 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$F(this.props.size, this.props.align, this.props.color, this.props.ellipsis, this.props.theme)));
13
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$G(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", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), 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$E } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getHeadlineCss as getComponentCss$F } 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$E(this.props.variant, this.props.align, this.props.color, this.props.ellipsis, this.props.theme)));
14
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$F(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", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(TagType, { className: "root", children: jsx("slot", {}) })] }), this.props.children] }));
16
16
  }
17
17
  }
@@ -2,7 +2,7 @@ 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$D } from '../../../../../../components/dist/styles/esm/styles-entry.js';
5
+ import { getIconCss as getComponentCss$E } 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 {
@@ -16,7 +16,7 @@ class DSRIcon extends Component {
16
16
  'notification-neutral': 'notification-info',
17
17
  };
18
18
  // TODO: wouldn't it be better to set alt attribute instead of aria-label?
19
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$D((deprecationMap[this.props.color] || this.props.color), this.props.size, this.props.theme)));
19
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$E((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), ...parseAndGetAriaAttributes(this.props.aria), alt: "" })] }) }));
21
21
  }
22
22
  }
@@ -8,6 +8,7 @@ import '../components/button-tile.wrapper.js';
8
8
  import '../components/carousel.wrapper.js';
9
9
  import '../components/checkbox-wrapper.wrapper.js';
10
10
  import '../components/content-wrapper.wrapper.js';
11
+ import '../components/crest.wrapper.js';
11
12
  import '../components/display.wrapper.js';
12
13
  import '../components/divider.wrapper.js';
13
14
  import '../components/fieldset.wrapper.js';
@@ -57,11 +58,12 @@ import '../components/text-list.wrapper.js';
57
58
  import '../components/text-list-item.wrapper.js';
58
59
  import '../components/textarea-wrapper.wrapper.js';
59
60
  import '../components/toast.wrapper.js';
61
+ import '../components/wordmark.wrapper.js';
60
62
  import { splitChildren } from '../../splitChildren.js';
61
63
  import { Component } from 'react';
62
64
  import { minifyCss } from '../../minifyCss.js';
63
65
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
64
- import { getInlineNotificationCss as getComponentCss$C } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getInlineNotificationCss as getComponentCss$D } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { getInlineNotificationIconName, getContentAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
66
68
 
67
69
  class DSRInlineNotification extends Component {
@@ -70,7 +72,7 @@ class DSRInlineNotification extends Component {
70
72
  const bannerId = 'banner';
71
73
  const labelId = 'label';
72
74
  const descriptionId = 'description';
73
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$C(this.props.state, !!this.props.actionLabel, !this.props.persistent, this.props.theme)));
75
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$D(this.props.state, !!this.props.actionLabel, !this.props.persistent, this.props.theme)));
74
76
  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.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] }));
75
77
  }
76
78
  }
@@ -8,6 +8,7 @@ import '../components/button-tile.wrapper.js';
8
8
  import '../components/carousel.wrapper.js';
9
9
  import '../components/checkbox-wrapper.wrapper.js';
10
10
  import '../components/content-wrapper.wrapper.js';
11
+ import '../components/crest.wrapper.js';
11
12
  import '../components/display.wrapper.js';
12
13
  import '../components/divider.wrapper.js';
13
14
  import '../components/fieldset.wrapper.js';
@@ -57,11 +58,12 @@ import '../components/text-list.wrapper.js';
57
58
  import '../components/text-list-item.wrapper.js';
58
59
  import '../components/textarea-wrapper.wrapper.js';
59
60
  import '../components/toast.wrapper.js';
61
+ import '../components/wordmark.wrapper.js';
60
62
  import { splitChildren } from '../../splitChildren.js';
61
63
  import { Component } from 'react';
62
64
  import { minifyCss } from '../../minifyCss.js';
63
65
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
64
- import { getLinkPureCss as getComponentCss$B } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getLinkPureCss as getComponentCss$C } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { hasVisibleIcon, parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
66
68
 
67
69
  class DSRLinkPure extends Component {
@@ -69,7 +71,7 @@ class DSRLinkPure extends Component {
69
71
  splitChildren(this.props.children);
70
72
  const TagType = this.props.href === undefined ? 'span' : 'a';
71
73
  const hasIcon = hasVisibleIcon(this.props.icon, this.props.iconSource);
72
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$B(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)));
74
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$C(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)));
73
75
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(TagType, { className: "root", ...(TagType === 'a' && {
74
76
  href: this.props.href,
75
77
  target: this.props.target,
@@ -8,6 +8,7 @@ import '../components/button-tile.wrapper.js';
8
8
  import '../components/carousel.wrapper.js';
9
9
  import '../components/checkbox-wrapper.wrapper.js';
10
10
  import '../components/content-wrapper.wrapper.js';
11
+ import '../components/crest.wrapper.js';
11
12
  import '../components/display.wrapper.js';
12
13
  import '../components/divider.wrapper.js';
13
14
  import '../components/fieldset.wrapper.js';
@@ -57,11 +58,12 @@ import '../components/text-list.wrapper.js';
57
58
  import '../components/text-list-item.wrapper.js';
58
59
  import '../components/textarea-wrapper.wrapper.js';
59
60
  import '../components/toast.wrapper.js';
61
+ import '../components/wordmark.wrapper.js';
60
62
  import { splitChildren } from '../../splitChildren.js';
61
63
  import { Component } from 'react';
62
64
  import { minifyCss } from '../../minifyCss.js';
63
65
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
64
- import { getLinkCss as getComponentCss$A } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getLinkCss as getComponentCss$B } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { getLinkButtonThemeForIcon } from '../../../../../../components/dist/utils/esm/utils-entry.js';
66
68
 
67
69
  /** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
@@ -69,7 +71,7 @@ class DSRLinkSocial extends Component {
69
71
  render() {
70
72
  splitChildren(this.props.children);
71
73
  const TagType = this.props.href === undefined ? 'span' : 'a';
72
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$A(this.props.icon, this.props.iconSource, 'primary', this.props.hideLabel, !this.props.href, this.props.theme)));
74
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$B(this.props.icon, this.props.iconSource, 'primary', this.props.hideLabel, !this.props.href, this.props.theme)));
73
75
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(TagType, { className: "root", ...(TagType === 'a' && {
74
76
  href: this.props.href,
75
77
  target: this.props.target,
@@ -8,6 +8,7 @@ import '../components/button-tile.wrapper.js';
8
8
  import '../components/carousel.wrapper.js';
9
9
  import '../components/checkbox-wrapper.wrapper.js';
10
10
  import '../components/content-wrapper.wrapper.js';
11
+ import '../components/crest.wrapper.js';
11
12
  import '../components/display.wrapper.js';
12
13
  import '../components/divider.wrapper.js';
13
14
  import '../components/fieldset.wrapper.js';
@@ -57,11 +58,12 @@ import '../components/text-list.wrapper.js';
57
58
  import '../components/text-list-item.wrapper.js';
58
59
  import '../components/textarea-wrapper.wrapper.js';
59
60
  import '../components/toast.wrapper.js';
61
+ import '../components/wordmark.wrapper.js';
60
62
  import { splitChildren } from '../../splitChildren.js';
61
63
  import { Component } from 'react';
62
64
  import { minifyCss } from '../../minifyCss.js';
63
65
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
64
- import { getLinkTileModelSignatureCss as getComponentCss$z } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getLinkTileModelSignatureCss as getComponentCss$A } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
 
66
68
  class DSRLinkTileModelSignature extends Component {
67
69
  render() {
@@ -85,7 +87,7 @@ class DSRLinkTileModelSignature extends Component {
85
87
  tabIndex: -1,
86
88
  'aria-hidden': 'true',
87
89
  };
88
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$z(this.props.aspectRatio, this.props.weight, this.props.linkDirection, !!this.props.description)));
90
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$A(this.props.aspectRatio, this.props.weight, this.props.linkDirection, !!this.props.description)));
89
91
  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(PModelSignature, { className: "model", 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] }));
90
92
  }
91
93
  }
@@ -9,6 +9,7 @@ import '../components/button-tile.wrapper.js';
9
9
  import '../components/carousel.wrapper.js';
10
10
  import '../components/checkbox-wrapper.wrapper.js';
11
11
  import '../components/content-wrapper.wrapper.js';
12
+ import '../components/crest.wrapper.js';
12
13
  import '../components/display.wrapper.js';
13
14
  import '../components/divider.wrapper.js';
14
15
  import '../components/fieldset.wrapper.js';
@@ -58,10 +59,11 @@ import '../components/text-list.wrapper.js';
58
59
  import '../components/text-list-item.wrapper.js';
59
60
  import '../components/textarea-wrapper.wrapper.js';
60
61
  import '../components/toast.wrapper.js';
62
+ import '../components/wordmark.wrapper.js';
61
63
  import { splitChildren } from '../../splitChildren.js';
62
64
  import { minifyCss } from '../../minifyCss.js';
63
65
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
64
- import { getLinkTileCss as getComponentCss$y } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getLinkTileCss as getComponentCss$z } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
 
66
68
  class DSRLinkTile extends Component {
67
69
  render() {
@@ -79,7 +81,7 @@ class DSRLinkTile extends Component {
79
81
  };
80
82
  const link = (createElement(PLink, { ...sharedLinkProps, ...linkProps, key: "link-or-button", className: "link-or-button" }, this.props.label));
81
83
  const linkPure = (createElement(PLinkPure, { ...sharedLinkProps, ...linkProps, key: "link-or-button-pure", className: "link-or-button-pure", hideLabel: true, icon: "arrow-right" }, this.props.label));
82
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$y(this.props.aspectRatio, this.props.size, this.props.weight, // potentially breakpoint customizable, so we can't easily access the deprecation map
84
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$z(this.props.aspectRatio, this.props.size, this.props.weight, // potentially breakpoint customizable, so we can't easily access the deprecation map
83
85
  this.props.align, this.props.compact, this.props.gradient)));
84
86
  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("a", { ...sharedLinkProps, className: "link-overlay", tabIndex: -1, "aria-hidden": "true" }), jsx("p", { children: this.props.description }), typeof this.props.compact === 'boolean' ? (this.props.compact ? linkPure : link) : [linkPure, link]] })] })] }), this.props.children] }));
85
87
  }
@@ -8,6 +8,7 @@ import '../components/button-tile.wrapper.js';
8
8
  import '../components/carousel.wrapper.js';
9
9
  import '../components/checkbox-wrapper.wrapper.js';
10
10
  import '../components/content-wrapper.wrapper.js';
11
+ import '../components/crest.wrapper.js';
11
12
  import '../components/display.wrapper.js';
12
13
  import '../components/divider.wrapper.js';
13
14
  import '../components/fieldset.wrapper.js';
@@ -57,18 +58,19 @@ import '../components/text-list.wrapper.js';
57
58
  import '../components/text-list-item.wrapper.js';
58
59
  import '../components/textarea-wrapper.wrapper.js';
59
60
  import '../components/toast.wrapper.js';
61
+ import '../components/wordmark.wrapper.js';
60
62
  import { splitChildren } from '../../splitChildren.js';
61
63
  import { Component } from 'react';
62
64
  import { minifyCss } from '../../minifyCss.js';
63
65
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
64
- import { getLinkCss as getComponentCss$A } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getLinkCss as getComponentCss$B } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { parseAndGetAriaAttributes, hasVisibleIcon, getLinkButtonThemeForIcon } from '../../../../../../components/dist/utils/esm/utils-entry.js';
66
68
 
67
69
  class DSRLink extends Component {
68
70
  render() {
69
71
  splitChildren(this.props.children);
70
72
  const TagType = this.props.href === undefined ? 'span' : 'a';
71
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$A(this.props.icon, this.props.iconSource, this.props.variant, this.props.hideLabel, !this.props.href, this.props.theme)));
73
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$B(this.props.icon, this.props.iconSource, this.props.variant, this.props.hideLabel, !this.props.href, this.props.theme)));
72
74
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(TagType, { className: "root", ...(TagType === 'a' && {
73
75
  href: this.props.href,
74
76
  target: this.props.target,
@@ -2,9 +2,10 @@ 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$x } from '../../../../../../components/dist/styles/esm/styles-entry.js';
5
+ import { getMarqueCss as getComponentCss$y } 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
+ /** @deprecated since v3.0.0, will be removed with next major release. Please use "p-wordmark" instead. */
8
9
  class DSRMarque extends Component {
9
10
  render() {
10
11
  const innerManifest = getInnerManifest(this.props.trademark);
@@ -20,7 +21,7 @@ class DSRMarque extends Component {
20
21
  jsx("source", { srcSet: buildSrcSet(innerManifest, this.props.size, 'webp'), type: "image/webp" }, "webp"),
21
22
  jsx("source", { srcSet: buildSrcSet(innerManifest, this.props.size, 'png'), type: "image/png" }, "png"),
22
23
  ], jsx("img", { src: `${cdnBaseUrl}/${innerManifest.medium['2x'].png}`, alt: "Porsche" })] }));
23
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$x(this.props.size)));
24
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$y(this.props.size)));
24
25
  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 })) })] }) }));
25
26
  }
26
27
  }
@@ -8,6 +8,7 @@ import '../components/button-tile.wrapper.js';
8
8
  import '../components/carousel.wrapper.js';
9
9
  import '../components/checkbox-wrapper.wrapper.js';
10
10
  import '../components/content-wrapper.wrapper.js';
11
+ import '../components/crest.wrapper.js';
11
12
  import '../components/display.wrapper.js';
12
13
  import '../components/divider.wrapper.js';
13
14
  import '../components/fieldset.wrapper.js';
@@ -57,11 +58,12 @@ import '../components/text-list.wrapper.js';
57
58
  import '../components/text-list-item.wrapper.js';
58
59
  import '../components/textarea-wrapper.wrapper.js';
59
60
  import '../components/toast.wrapper.js';
61
+ import '../components/wordmark.wrapper.js';
60
62
  import { splitChildren } from '../../splitChildren.js';
61
63
  import { Component } from 'react';
62
64
  import { minifyCss } from '../../minifyCss.js';
63
65
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
64
- import { getModalCss as getComponentCss$w } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getModalCss as getComponentCss$x } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
66
68
 
67
69
  class DSRModal extends Component {
@@ -73,7 +75,7 @@ class DSRModal extends Component {
73
75
  if (this.props.open) ;
74
76
  const hasHeader = !!this.props.heading || namedSlotChildren.filter(({ props: { slot } }) => slot === 'heading').length > 0;
75
77
  const hasDismissButton = this.props.disableCloseButton ? false : this.props.dismissButton;
76
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$w(this.props.open, this.props.fullscreen, hasDismissButton, hasHeader)));
78
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$x(this.props.open, this.props.fullscreen, hasDismissButton, hasHeader)));
77
79
  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({
78
80
  'aria-modal': true,
79
81
  'aria-label': this.props.heading,
@@ -2,12 +2,12 @@ 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 { getModelSignatureCss as getComponentCss$v } from '../../../../../../components/dist/styles/esm/styles-entry.js';
5
+ import { getModelSignatureCss as getComponentCss$w } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
6
  import { getSvgUrl } from '../../../../../../components/dist/utils/esm/utils-entry.js';
7
7
 
8
8
  class DSRModelSignature extends Component {
9
9
  render() {
10
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$v(this.props.size, this.props.color, this.props.theme)));
10
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$w(this.props.size, this.props.color, this.props.theme)));
11
11
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("img", { src: getSvgUrl(this.props.model), height: 36, alt: this.props.model })] }) }));
12
12
  }
13
13
  }
@@ -8,6 +8,7 @@ import '../components/button-tile.wrapper.js';
8
8
  import '../components/carousel.wrapper.js';
9
9
  import '../components/checkbox-wrapper.wrapper.js';
10
10
  import '../components/content-wrapper.wrapper.js';
11
+ import '../components/crest.wrapper.js';
11
12
  import '../components/display.wrapper.js';
12
13
  import '../components/divider.wrapper.js';
13
14
  import '../components/fieldset.wrapper.js';
@@ -57,10 +58,11 @@ import '../components/text-list.wrapper.js';
57
58
  import '../components/text-list-item.wrapper.js';
58
59
  import '../components/textarea-wrapper.wrapper.js';
59
60
  import '../components/toast.wrapper.js';
61
+ import '../components/wordmark.wrapper.js';
60
62
  import { Component } from 'react';
61
63
  import { minifyCss } from '../../minifyCss.js';
62
64
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
63
- import { getPaginationCss as getComponentCss$u } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
+ import { getPaginationCss as getComponentCss$v } from '../../../../../../components/dist/styles/esm/styles-entry.js';
64
66
  import { getTotalPages, createPaginationModel, getCurrentActivePage, itemTypes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
65
67
 
66
68
  class DSRPagination extends Component {
@@ -75,7 +77,7 @@ class DSRPagination extends Component {
75
77
  pageTotal,
76
78
  pageRange: this.props.breakpointMaxNumberOfPageLinks === 7 ? 1 : 0,
77
79
  });
78
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$u(this.props.maxNumberOfPageLinks, this.props.theme)));
80
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$v(this.props.maxNumberOfPageLinks, this.props.theme)));
79
81
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("nav", { role: "navigation", "aria-label": this.props.allyLabel || this.props.intl.root, children: jsx("ul", { children: paginationModel.map((pageModel) => {
80
82
  const { type, isActive, value } = pageModel;
81
83
  const spanProps = {
@@ -8,6 +8,7 @@ import '../components/button-tile.wrapper.js';
8
8
  import '../components/carousel.wrapper.js';
9
9
  import '../components/checkbox-wrapper.wrapper.js';
10
10
  import '../components/content-wrapper.wrapper.js';
11
+ import '../components/crest.wrapper.js';
11
12
  import '../components/display.wrapper.js';
12
13
  import '../components/divider.wrapper.js';
13
14
  import '../components/fieldset.wrapper.js';
@@ -57,11 +58,12 @@ import '../components/text-list.wrapper.js';
57
58
  import '../components/text-list-item.wrapper.js';
58
59
  import '../components/textarea-wrapper.wrapper.js';
59
60
  import '../components/toast.wrapper.js';
61
+ import '../components/wordmark.wrapper.js';
60
62
  import { splitChildren } from '../../splitChildren.js';
61
63
  import { Component } from 'react';
62
64
  import { minifyCss } from '../../minifyCss.js';
63
65
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
64
- import { getPopoverCss as getComponentCss$t } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getPopoverCss as getComponentCss$u } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
66
68
 
67
69
  class DSRPopover extends Component {
@@ -71,7 +73,7 @@ class DSRPopover extends Component {
71
73
  }
72
74
  render() {
73
75
  splitChildren(this.props.children);
74
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$t(this.props.direction, this.props.theme).replace(/(:host {[\S\s]+?})[\S\s]+(button {[\S\s]+?})[\S\s]+(.icon {[\S\s]+?})[\S\s]+(.label {[\S\s]+?})[\S\s]+/, '$1\n$2\n$3\n$4')));
76
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$u(this.props.direction, this.props.theme).replace(/(:host {[\S\s]+?})[\S\s]+(button {[\S\s]+?})[\S\s]+(.icon {[\S\s]+?})[\S\s]+(.label {[\S\s]+?})[\S\s]+/, '$1\n$2\n$3\n$4')));
75
77
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [jsxs("button", { type: "button", ...parseAndGetAriaAttributes({
76
78
  ...parseAndGetAriaAttributes(this.props.aria),
77
79
  'aria-expanded': this.props.open,
@@ -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 { getRadioButtonWrapperCss as getComponentCss$s } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getRadioButtonWrapperCss as getComponentCss$t } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
  import { StateMessage } from './state-message.js';
8
8
 
9
9
  class DSRRadioButtonWrapper extends Component {
10
10
  render() {
11
11
  var _a;
12
12
  const { children, namedSlotChildren, otherChildren } = splitChildren(this.props.children);
13
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$s(this.props.hideLabel, this.props.state, typeof otherChildren[0] === 'object' && 'props' in otherChildren[0] && ((_a = otherChildren[0]) === null || _a === void 0 ? void 0 : _a.props.disabled), this.props.theme)));
13
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$t(this.props.hideLabel, this.props.state, typeof otherChildren[0] === 'object' && 'props' in otherChildren[0] && ((_a = otherChildren[0]) === null || _a === void 0 ? void 0 : _a.props.disabled), this.props.theme)));
14
14
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [jsxs("label", { children: [(this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0) && (jsx("span", { className: "text", children: this.props.label || jsx("slot", { name: "label" }) })), jsx("slot", {})] }), (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] }));
15
15
  }
16
16
  }
@@ -8,6 +8,7 @@ import '../components/button-tile.wrapper.js';
8
8
  import '../components/carousel.wrapper.js';
9
9
  import '../components/checkbox-wrapper.wrapper.js';
10
10
  import '../components/content-wrapper.wrapper.js';
11
+ import '../components/crest.wrapper.js';
11
12
  import '../components/display.wrapper.js';
12
13
  import '../components/divider.wrapper.js';
13
14
  import '../components/fieldset.wrapper.js';
@@ -57,11 +58,12 @@ import '../components/text-list.wrapper.js';
57
58
  import '../components/text-list-item.wrapper.js';
58
59
  import '../components/textarea-wrapper.wrapper.js';
59
60
  import '../components/toast.wrapper.js';
61
+ import '../components/wordmark.wrapper.js';
60
62
  import { splitChildren } from '../../splitChildren.js';
61
63
  import { Component } from 'react';
62
64
  import { minifyCss } from '../../minifyCss.js';
63
65
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
64
- import { getScrollerCss as getComponentCss$r } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getScrollerCss as getComponentCss$s } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { isScrollable } from '../../../../../../components/dist/utils/esm/utils-entry.js';
66
68
 
67
69
  class DSRScroller extends Component {
@@ -81,7 +83,7 @@ class DSRScroller extends Component {
81
83
  // TODO: why not use p-button?
82
84
  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));
83
85
  };
84
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$r(deprecationMap[this.props.gradientColorScheme] || this.props.gradientColor, this.isNextHidden, this.isPrevHidden, this.props.scrollIndicatorPosition || this.props.alignScrollIndicator, this.props.scrollbar, this.props.theme)));
86
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$s(deprecationMap[this.props.gradientColorScheme] || this.props.gradientColor, this.isNextHidden, this.isPrevHidden, this.props.scrollIndicatorPosition || this.props.alignScrollIndicator, this.props.scrollbar, this.props.theme)));
85
87
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "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] }));
86
88
  }
87
89
  }
@@ -8,6 +8,7 @@ import '../components/button-tile.wrapper.js';
8
8
  import '../components/carousel.wrapper.js';
9
9
  import '../components/checkbox-wrapper.wrapper.js';
10
10
  import '../components/content-wrapper.wrapper.js';
11
+ import '../components/crest.wrapper.js';
11
12
  import '../components/display.wrapper.js';
12
13
  import '../components/divider.wrapper.js';
13
14
  import '../components/fieldset.wrapper.js';
@@ -57,11 +58,12 @@ import '../components/text-list.wrapper.js';
57
58
  import '../components/text-list-item.wrapper.js';
58
59
  import '../components/textarea-wrapper.wrapper.js';
59
60
  import '../components/toast.wrapper.js';
61
+ import '../components/wordmark.wrapper.js';
60
62
  import { splitChildren } from '../../splitChildren.js';
61
63
  import { Component } from 'react';
62
64
  import { minifyCss } from '../../minifyCss.js';
63
65
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
64
- import { getSegmentedControlItemCss as getComponentCss$q } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getSegmentedControlItemCss as getComponentCss$r } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { getButtonAttributes, getIconColor } from '../../../../../../components/dist/utils/esm/utils-entry.js';
66
68
 
67
69
  class DSRSegmentedControlItem extends Component {
@@ -69,7 +71,7 @@ class DSRSegmentedControlItem extends Component {
69
71
  splitChildren(this.props.children);
70
72
  // this additional validation is still needed because undefined is allowed with current propTypes
71
73
  const hasIcon = !!this.props.icon || !!this.props.iconSource;
72
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$q(this.props.disabled, this.props.selected, hasIcon, this.props.theme || 'light' // default as fallback
74
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$r(this.props.disabled, this.props.selected, hasIcon, this.props.theme || 'light' // default as fallback
73
75
  )));
74
76
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("button", { type: "button", ...getButtonAttributes(this.props.selected, this.props.disabled), children: [this.props.label && jsx("span", { children: this.props.label }), hasIcon && (jsx(PIcon, { className: "icon", size: "inherit", name: this.props.icon, source: this.props.iconSource, color: getIconColor(this.props.disabled), theme: this.props.theme || 'light', "aria-hidden": "true" })), jsx("slot", {})] })] }), this.props.children] }));
75
77
  }
@@ -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 { getSegmentedControlCss as getComponentCss$p } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getSegmentedControlCss as getComponentCss$q } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
 
8
8
  class DSRSegmentedControl extends Component {
9
9
  render() {
@@ -14,7 +14,7 @@ class DSRSegmentedControl extends Component {
14
14
  ? { ...child, props: { ...child.props, selected: ((_a = child.props) === null || _a === void 0 ? void 0 : _a.value) === this.props.value, backgroundColor: this.props.backgroundColor, theme: this.props.theme } }
15
15
  : child;
16
16
  });
17
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$p(100)));
17
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$q(100)));
18
18
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx("slot", {}) })] }), manipulatedChildren] }));
19
19
  }
20
20
  }
@@ -8,6 +8,7 @@ import '../components/button-tile.wrapper.js';
8
8
  import '../components/carousel.wrapper.js';
9
9
  import '../components/checkbox-wrapper.wrapper.js';
10
10
  import '../components/content-wrapper.wrapper.js';
11
+ import '../components/crest.wrapper.js';
11
12
  import '../components/display.wrapper.js';
12
13
  import '../components/divider.wrapper.js';
13
14
  import '../components/fieldset.wrapper.js';
@@ -57,11 +58,12 @@ import '../components/text-list.wrapper.js';
57
58
  import '../components/text-list-item.wrapper.js';
58
59
  import '../components/textarea-wrapper.wrapper.js';
59
60
  import '../components/toast.wrapper.js';
61
+ import '../components/wordmark.wrapper.js';
60
62
  import { splitChildren } from '../../splitChildren.js';
61
63
  import { Component } from 'react';
62
64
  import { minifyCss } from '../../minifyCss.js';
63
65
  import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
64
- import { getSelectWrapperCss as getComponentCss$o } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getSelectWrapperCss as getComponentCss$p } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { StateMessage } from './state-message.js';
66
68
 
67
69
  class DSRSelectWrapper extends Component {
@@ -72,7 +74,7 @@ class DSRSelectWrapper extends Component {
72
74
  const labelProps = disabled
73
75
  ? {}
74
76
  : {};
75
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$o(disabled, this.props.hideLabel, this.props.state, this.props.theme)));
77
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$p(disabled, this.props.hideLabel, this.props.state, this.props.theme)));
76
78
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "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 ? 'state-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] }));
77
79
  }
78
80
  }
@@ -2,12 +2,12 @@ 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 { getSpinnerCss as getComponentCss$m } from '../../../../../../components/dist/styles/esm/styles-entry.js';
5
+ import { getSpinnerCss as getComponentCss$n } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
6
  import { parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
7
7
 
8
8
  class DSRSpinner extends Component {
9
9
  render() {
10
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$m(this.props.size, this.props.theme)));
10
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$n(this.props.size, this.props.theme)));
11
11
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("span", { className: "root", role: "alert", "aria-live": "assertive", ...parseAndGetAriaAttributes(this.props.aria), children: [jsx("span", { className: "sr-only", children: "\u00A0" }), jsxs("svg", { viewBox: "-16 -16 32 32", width: "100%", height: "100%", focusable: "false", "aria-hidden": "true", children: [jsx("circle", { r: "9" }), jsx("circle", { r: "9" })] })] })] }) }));
12
12
  }
13
13
  }