@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
@@ -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,6 +58,7 @@ 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 { getRole } from '../../../../../../components/dist/utils/esm/utils-entry.js';
61
63
 
62
64
  const StateMessage = ({ id, state, message, theme, host }) => {
@@ -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,17 +58,18 @@ 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 { getStepperHorizontalItemCss as getComponentCss$l } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getStepperHorizontalItemCss as getComponentCss$m } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { isStateCompleteOrWarning, getStepperHorizontalIconName } from '../../../../../../components/dist/utils/esm/utils-entry.js';
66
68
 
67
69
  class DSRStepperHorizontalItem extends Component {
68
70
  render() {
69
71
  splitChildren(this.props.children);
70
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$l(this.props.state, this.props.disabled, this.props.theme || 'light')));
72
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$m(this.props.state, this.props.disabled, this.props.theme || 'light')));
71
73
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "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 ? 'state-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] }));
72
74
  }
73
75
  }
@@ -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 { getStepperHorizontalCss as getComponentCss$k } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getStepperHorizontalCss as getComponentCss$l } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
 
66
68
  class DSRStepperHorizontal extends Component {
67
69
  constructor() {
@@ -73,7 +75,7 @@ class DSRStepperHorizontal extends Component {
73
75
  const manipulatedChildren = children.map((child, i) => typeof child === 'object' && 'props' in child && otherChildren.includes(child)
74
76
  ? { ...child, props: { ...child.props, theme: this.props.theme } }
75
77
  : child);
76
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$k(this.props.size)));
78
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$l(this.props.size)));
77
79
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx(PScroller, { className: "scroller", theme: this.props.theme, children: jsx("slot", {}) }) })] }), manipulatedChildren] }));
78
80
  }
79
81
  }
@@ -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,17 +58,18 @@ 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 { getSwitchCss as getComponentCss$j } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getSwitchCss as getComponentCss$k } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { getSwitchButtonAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
66
68
 
67
69
  class DSRSwitch extends Component {
68
70
  render() {
69
71
  splitChildren(this.props.children);
70
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$j(this.props.alignLabel, this.props.hideLabel, this.props.stretch, this.props.checked, this.props.disabled, this.props.loading, this.props.theme)));
72
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$k(this.props.alignLabel, this.props.hideLabel, this.props.stretch, this.props.checked, this.props.disabled, this.props.loading, this.props.theme)));
71
73
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("button", { ...getSwitchButtonAriaAttributes(this.props.disabled, this.props.loading, this.props.checked), className: "root", type: "button", role: "switch", children: [jsx("span", { className: "switch", children: jsx("span", { className: "toggle", children: this.props.loading && (jsx(PSpinner, { className: "spinner", size: "inherit", theme: this.props.theme, aria: { 'aria-label': 'Loading state' } })) }) }), jsx("span", { className: "label", children: jsx("slot", {}) })] })] }), this.props.children] }));
72
74
  }
73
75
  }
@@ -3,12 +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 { getTableBodyCss as getComponentCss$i } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getTableBodyCss as getComponentCss$j } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
 
8
8
  class DSRTableBody extends Component {
9
9
  render() {
10
10
  splitChildren(this.props.children);
11
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$i()));
11
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$j()));
12
12
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx("slot", {}) })] }), this.props.children] }));
13
13
  }
14
14
  }
@@ -3,12 +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 { getTableCellCss as getComponentCss$h } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getTableCellCss as getComponentCss$i } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
 
8
8
  class DSRTableCell extends Component {
9
9
  render() {
10
10
  splitChildren(this.props.children);
11
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$h(this.props.multiline)));
11
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$i(this.props.multiline)));
12
12
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx("slot", {}) })] }), this.props.children] }));
13
13
  }
14
14
  }
@@ -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 { getTableHeadCellCss as getComponentCss$f } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getTableHeadCellCss as getComponentCss$g } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { isSortable } from '../../../../../../components/dist/utils/esm/utils-entry.js';
66
68
 
67
69
  class DSRTableHeadCell extends Component {
68
70
  render() {
69
71
  splitChildren(this.props.children);
70
72
  const { active, direction } = this.props.sort || {};
71
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$f(active, direction, this.props.hideLabel, this.props.multiline)));
73
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$g(active, direction, this.props.hideLabel, this.props.multiline)));
72
74
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: isSortable(active, direction) ? (jsxs("button", { type: "button", children: [jsx("slot", {}), jsx(PIcon, { className: "icon", color: "inherit", size: "x-small", name: "arrow-up", "aria-hidden": "true" })] })) : (jsx("span", { children: jsx("slot", {}) })) })] }), this.props.children] }));
73
75
  }
74
76
  }
@@ -3,12 +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 { getTableHeadRowCss as getComponentCss$e } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getTableHeadRowCss as getComponentCss$f } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
 
8
8
  class DSRTableHeadRow extends Component {
9
9
  render() {
10
10
  splitChildren(this.props.children);
11
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$e()));
11
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$f()));
12
12
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx("slot", {}) })] }), this.props.children] }));
13
13
  }
14
14
  }
@@ -3,12 +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 { getTableHeadCss as getComponentCss$d } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getTableHeadCss as getComponentCss$e } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
 
8
8
  class DSRTableHead extends Component {
9
9
  render() {
10
10
  splitChildren(this.props.children);
11
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$d()));
11
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$e()));
12
12
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx("slot", {}) })] }), this.props.children] }));
13
13
  }
14
14
  }
@@ -3,12 +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 { getTableRowCss as getComponentCss$c } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getTableRowCss as getComponentCss$d } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
 
8
8
  class DSRTableRow extends Component {
9
9
  render() {
10
10
  splitChildren(this.props.children);
11
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$c()));
11
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$d()));
12
12
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx("slot", {}) })] }), this.props.children] }));
13
13
  }
14
14
  }
@@ -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 { getTableCss as getComponentCss$g } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getTableCss as getComponentCss$h } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
 
66
68
  class DSRTable extends Component {
67
69
  render() {
@@ -71,7 +73,7 @@ class DSRTable extends Component {
71
73
  const tableAttr = this.props.caption
72
74
  ? { 'aria-label': this.props.caption }
73
75
  : hasSlottedCaption && { 'aria-labelledby': captionId };
74
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$g(this.props.theme)));
76
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$h(this.props.theme)));
75
77
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [hasSlottedCaption && (jsx("div", { id: captionId, className: "caption", children: jsx("slot", { name: "caption" }) })), jsx(PScroller, { scrollbar: true, theme: this.props.theme, children: jsx("div", { className: "table", role: "table", ...tableAttr, children: jsx("slot", {}) }) })] })] }), this.props.children] }));
76
78
  }
77
79
  }
@@ -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 { getTabsBarCss as getComponentCss$b } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getTabsBarCss as getComponentCss$c } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
 
66
68
  class DSRTabsBar extends Component {
67
69
  constructor() {
@@ -74,7 +76,7 @@ class DSRTabsBar extends Component {
74
76
  const deprecationMap = {
75
77
  semibold: 'semi-bold',
76
78
  };
77
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$b(this.props.size, (deprecationMap[this.props.weight] || this.props.weight), this.props.theme)));
79
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$c(this.props.size, (deprecationMap[this.props.weight] || this.props.weight), this.props.theme)));
78
80
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(PScroller, { className: "scroller", role: "tablist", theme: this.props.theme, gradientColorScheme: this.props.gradientColorScheme, gradientColor: this.props.gradientColor, alignScrollIndicator: "top", children: [jsx("slot", {}), jsx("span", { className: "bar" })] })] }), this.props.children] }));
79
81
  }
80
82
  }
@@ -3,12 +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 { getTabsItemCss as getComponentCss$a } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getTabsItemCss as getComponentCss$b } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
 
8
8
  class DSRTabsItem extends Component {
9
9
  render() {
10
10
  splitChildren(this.props.children);
11
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$a(this.props.theme || 'light' // default as fallback
11
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$b(this.props.theme || 'light' // default as fallback
12
12
  )));
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
  }
@@ -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 { getTabsCss as getComponentCss$9 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getTabsCss as getComponentCss$a } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
 
66
68
  class DSRTabs extends Component {
67
69
  constructor() {
@@ -73,7 +75,7 @@ class DSRTabs extends Component {
73
75
  const manipulatedChildren = children.map((child, i) => typeof child === 'object' && 'props' in child && otherChildren.includes(child)
74
76
  ? { ...child, props: { ...child.props, theme: this.props.theme, hidden: this.props.activeTabIndex !== i ? true : null } }
75
77
  : child);
76
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$9()));
78
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$a()));
77
79
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [jsx(PTabsBar, { className: "root", size: this.props.size, weight: this.props.weight, theme: this.props.theme, gradientColorScheme: this.props.gradientColorScheme, gradientColor: this.props.gradientColor, activeTabIndex: this.props.activeTabIndex, children: otherChildren.map((tab, index) => (jsx("button", { type: "button", children: typeof tab === 'object' && 'props' in tab && tab.props.label }, index))) }), jsx("slot", {})] })] }), manipulatedChildren] }));
78
80
  }
79
81
  }
@@ -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 { getTagDismissibleCss as getComponentCss$8 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getTagDismissibleCss as getComponentCss$9 } 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 DSRTagDismissible extends Component {
@@ -70,7 +72,7 @@ class DSRTagDismissible extends Component {
70
72
  const deprecationMap = {
71
73
  'background-default': 'background-base',
72
74
  };
73
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$8((deprecationMap[this.props.color] || this.props.color), !!this.props.label, this.props.theme)));
75
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$9((deprecationMap[this.props.color] || this.props.color), !!this.props.label, this.props.theme)));
74
76
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("button", { type: "button", ...parseAndGetAriaAttributes(this.props.aria), children: [jsx("span", { className: "sr-only", children: "Remove:" }), jsxs("span", { children: [this.props.label && jsx("span", { className: "label", children: this.props.label }), jsx("slot", {})] }), jsx(PIcon, { className: "icon", name: "close", theme: this.props.theme, "aria-hidden": "true" })] })] }), 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 { getTagCss as getComponentCss$7 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getTagCss as getComponentCss$8 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { getDirectChildHTMLElement, getThemeForIcon } from '../../../../../../components/dist/utils/esm/utils-entry.js';
66
68
 
67
69
  class DSRTag extends Component {
@@ -75,7 +77,7 @@ class DSRTag extends Component {
75
77
  'notification-success': 'notification-success-soft',
76
78
  'notification-error': 'notification-error-soft',
77
79
  };
78
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$7((deprecationMap[this.props.color] || this.props.color), !!getDirectChildHTMLElement(null, 'a,button'), this.props.theme)));
80
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$8((deprecationMap[this.props.color] || this.props.color), !!getDirectChildHTMLElement(null, 'a,button'), this.props.theme)));
79
81
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("span", { children: [(this.props.icon || this.props.iconSource) && (jsx(PIcon, { className: "icon", name: this.props.icon, source: this.props.iconSource, color: "primary", size: "x-small", theme: getThemeForIcon(this.props.color, this.props.theme), "aria-hidden": "true" })), jsx("div", { className: "label", children: jsx("slot", {}) })] })] }), this.props.children] }));
80
82
  }
81
83
  }
@@ -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 { getTextFieldWrapperCss as getComponentCss$6 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
66
+ import { getTextFieldWrapperCss as getComponentCss$7 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
65
67
  import { StateMessage } from './state-message.js';
66
68
  import { isWithinForm, hasLocateAction, showCustomCalendarOrTimeIndicator, isType } from '../../../../../../components/dist/utils/esm/utils-entry.js';
67
69
 
@@ -90,7 +92,7 @@ class DSRTextFieldWrapper extends Component {
90
92
  const hasAction = hasLocateAction(this.props.actionIcon);
91
93
  const hasCounter = false; // hasCounterAndIsTypeText(otherChildren[0]?.props);
92
94
  const isClearable = typeof otherChildren[0] === 'object' && 'props' in otherChildren[0] && !!((_b = otherChildren[0]) === null || _b === void 0 ? void 0 : _b.props.value);
93
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$6(disabled, this.props.hideLabel, this.props.state, this.props.isCounterVisible, this.props.isCounterVisible ? 'suffix' : this.props.unitPosition, isPassword ? 'password' : type, this.props.isWithinForm, this.props.theme)));
95
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$7(disabled, this.props.hideLabel, this.props.state, this.props.isCounterVisible, this.props.isCounterVisible ? 'suffix' : this.props.unitPosition, isPassword ? 'password' : type, this.props.isWithinForm, this.props.theme)));
94
96
  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" }) })), (this.props.isCounterVisible) && (jsx("span", { className: "unit", "aria-hidden": "true", children: this.props.unit })), jsx("slot", {}), hasCounter ] }), isPassword ? (jsx(PButtonPure, { ...buttonProps, type: "button", icon: this.props.showPassword ? 'view-off' : 'view', disabled: disabled, aria: { 'aria-pressed': this.props.showPassword ? 'true' : 'false' }, children: "Toggle password visibility" })) : showCustomCalendarOrTimeIndicator(isCalendar, isTime) ? (jsx(PButtonPure, { ...buttonProps, type: "button", icon: isCalendar ? 'calendar' : 'clock', disabled: disabled, children: `Show ${isCalendar ? 'date' : 'time'} picker` })) : (isSearch && [
95
97
  // TODO: create an own component, which would fix SSR support too
96
98
  this.props.isWithinForm ? (createElement(PButtonPure, { ...buttonProps, key: "btn-submit", type: "submit", icon: "search", disabled: disabledOrReadOnly }, "Search")) : (jsx(PIcon, { className: "icon", name: "search", color: "state-disabled", theme: this.props.theme, "aria-hidden": "true" }, "icon")),
@@ -3,12 +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$4 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getTextListItemCss as getComponentCss$5 } 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$4()));
11
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$5()));
12
12
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: jsx("slot", {}) })] }), this.props.children] }));
13
13
  }
14
14
  }
@@ -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 { getTextListCss as getComponentCss$5 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getTextListCss as getComponentCss$6 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
  import { isListTypeOrdered } from '../../../../../../components/dist/utils/esm/utils-entry.js';
8
8
 
9
9
  class DSRTextList extends Component {
10
10
  render() {
11
11
  splitChildren(this.props.children);
12
12
  const TagType = isListTypeOrdered(this.props.listType || this.props.type) ? 'ol' : 'ul';
13
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$5(this.props.listType === 'ordered' ? this.props.orderType || 'numbered' : this.props.type, this.props.theme)));
13
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$6(this.props.listType === 'ordered' ? this.props.orderType || 'numbered' : this.props.type, this.props.theme)));
14
14
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(TagType, { 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 { getTextCss as getComponentCss$3 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getTextCss as getComponentCss$4 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
  import { getTextTagType } from '../../../../../../components/dist/utils/esm/utils-entry.js';
8
8
 
9
9
  class DSRText extends Component {
@@ -22,7 +22,7 @@ class DSRText extends Component {
22
22
  semibold: 'semi-bold',
23
23
  };
24
24
  const TagType = getTextTagType(null, this.props.tag);
25
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$3(this.props.size, (weightDeprecationMap[this.props.weight] || this.props.weight), this.props.align, (colorDeprecationMap[this.props.color] || this.props.color), this.props.ellipsis, this.props.theme)));
25
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$4(this.props.size, (weightDeprecationMap[this.props.weight] || this.props.weight), this.props.align, (colorDeprecationMap[this.props.color] || this.props.color), this.props.ellipsis, this.props.theme)));
26
26
  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] }));
27
27
  }
28
28
  }
@@ -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 { getTextareaWrapperCss as getComponentCss$2 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { getTextareaWrapperCss as getComponentCss$3 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
7
7
  import { StateMessage } from './state-message.js';
8
8
 
9
9
  class DSRTextareaWrapper extends Component {
@@ -11,7 +11,7 @@ class DSRTextareaWrapper extends Component {
11
11
  var _a;
12
12
  const { children, namedSlotChildren, otherChildren } = splitChildren(this.props.children);
13
13
  const labelProps = {};
14
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$2(typeof otherChildren[0] === 'object' && 'props' in otherChildren[0] && ((_a = otherChildren[0]) === null || _a === void 0 ? void 0 : _a.props.disabled), this.props.hideLabel, this.props.state, this.props.hasCounter, this.props.theme)));
14
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$3(typeof otherChildren[0] === 'object' && 'props' in otherChildren[0] && ((_a = otherChildren[0]) === null || _a === void 0 ? void 0 : _a.props.disabled), this.props.hideLabel, this.props.state, this.props.hasCounter, this.props.theme)));
15
15
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { 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" }) })), this.props.hasCounter && jsx("span", { className: "counter", "aria-hidden": "true" }), jsx("slot", {}), this.props.hasCounter && jsx("span", { className: "sr-only", "aria-live": "polite" })] }), (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] }));
16
16
  }
17
17
  }
@@ -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 { getToastCss as getComponentCss } from '../../../../../../components/dist/styles/esm/styles-entry.js';
5
+ import { getToastCss as getComponentCss$1 } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
6
 
7
7
  class DSRToast extends Component {
8
8
  render() {
9
9
  const toast = false;
10
- const style = minifyCss(stripFocusAndHoverStyles(getComponentCss().replace(/(:host {[\S\s]+?})[\S\s]+/, '$1')));
10
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss$1().replace(/(:host {[\S\s]+?})[\S\s]+/, '$1')));
11
11
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: toast })] }) }));
12
12
  }
13
13
  }
@@ -0,0 +1,17 @@
1
+ import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
+ import { Component } from 'react';
3
+ import { minifyCss } from '../../minifyCss.js';
4
+ import { stripFocusAndHoverStyles } from '../../stripFocusAndHoverStyles.js';
5
+ import { getWordmarkCss as getComponentCss } from '../../../../../../components/dist/styles/esm/styles-entry.js';
6
+ import { parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.js';
7
+
8
+ class DSRWordmark extends Component {
9
+ render() {
10
+ // optimized with SVGO, see docs in assets folder
11
+ const svg = (jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 4383 300", children: [jsx("title", { children: "Porsche" }), jsx("path", { d: "M492 221c48.1 0 74-25.9 74-74V74c0-48.1-25.9-74-74-74H0v300h68v-79h424zm6-143v65c0 7.8-4.2 12-12 12H68V66h418c7.8 0 12 4.2 12 12zm220 222c-48.1 0-74-25.9-74-74V74c0-48.1 25.9-74 74-74h407c48.1 0 74 25.9 74 74v152c0 48.1-25.9 74-74 74H718zm401-66c7.8 0 12-4.2 12-12V78c0-7.8-4.2-12-12-12H724c-7.8 0-12 4.2-12 12v144c0 7.8 4.2 12 12 12h395zm657-36c39.844 16.757 67.853 56.1 68 102h-68c0-54-25-79-79-79h-351v79h-68V0h492c48.1 0 74 25.9 74 74v50.14c0 46.06-23.75 71.76-68 73.86zm-12-43c7.8 0 12-4.2 12-12V78c0-7.8-4.2-12-12-12h-418v89h418zm155-81c0-48.1 25.9-74 74-74h482v56h-476c-7.8 0-12 4.2-12 12v42c0 7.8 4.2 12 12 12h412c48.1 0 74 25.9 74 74v30c0 48.1-25.9 74-74 74h-482v-56h476c7.8 0 12-4.2 12-12v-42c0-7.8-4.2-12-12-12h-412c-48.1 0-74-25.9-74-74V74zm643 0c0-48.1 25.9-74 74-74h470v66h-464c-7.8 0-12 4.2-12 12v144c0 7.8 4.2 12 12 12h464v66h-470c-48.1 0-74-25.9-74-74V74zM3718 0v300h-68V183h-397v117h-68V0h68v117h397V0h68zm148 56v66h517v56h-517v66h517v56h-585V0h585v56h-517z" })] }));
12
+ const style = minifyCss(stripFocusAndHoverStyles(getComponentCss(this.props.size, this.props.theme)));
13
+ 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 ? (svg) : (jsx("a", { href: this.props.href, target: this.props.target, ...parseAndGetAriaAttributes(this.props.aria), children: svg })) })] }) }));
14
+ }
15
+ }
16
+
17
+ export { DSRWordmark };
@@ -8,6 +8,7 @@ export { PButtonTile } from './lib/components/button-tile.wrapper.js';
8
8
  export { PCarousel } from './lib/components/carousel.wrapper.js';
9
9
  export { PCheckboxWrapper } from './lib/components/checkbox-wrapper.wrapper.js';
10
10
  export { PContentWrapper } from './lib/components/content-wrapper.wrapper.js';
11
+ export { PCrest } from './lib/components/crest.wrapper.js';
11
12
  export { PDisplay } from './lib/components/display.wrapper.js';
12
13
  export { PDivider } from './lib/components/divider.wrapper.js';
13
14
  export { PFieldset } from './lib/components/fieldset.wrapper.js';
@@ -57,6 +58,7 @@ export { PTextList } from './lib/components/text-list.wrapper.js';
57
58
  export { PTextListItem } from './lib/components/text-list-item.wrapper.js';
58
59
  export { PTextareaWrapper } from './lib/components/textarea-wrapper.wrapper.js';
59
60
  export { PToast } from './lib/components/toast.wrapper.js';
61
+ export { PWordmark } from './lib/components/wordmark.wrapper.js';
60
62
  export { PorscheDesignSystemProvider } from './provider.js';
61
63
  export { skipCheckForPorscheDesignSystemProviderDuringTests, useToastManager } from './hooks.js';
62
64
  export { skipPorscheDesignSystemCDNRequestsDuringTests } from './utils.js';
@@ -0,0 +1,30 @@
1
+ import { HTMLAttributes } from 'react';
2
+ import type { SelectedAriaAttributes, CrestAriaAttribute, CrestTarget } from '../types';
3
+ export type PCrestProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
4
+ /**
5
+ * Add ARIA attributes.
6
+ */
7
+ aria?: SelectedAriaAttributes<CrestAriaAttribute>;
8
+ /**
9
+ * When providing an url then the component will be rendered as `<a>`.
10
+ */
11
+ href?: string;
12
+ /**
13
+ * Target attribute where the link should be opened.
14
+ */
15
+ target?: CrestTarget;
16
+ };
17
+ export declare const PCrest: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
18
+ /**
19
+ * Add ARIA attributes.
20
+ */
21
+ aria?: SelectedAriaAttributes<CrestAriaAttribute>;
22
+ /**
23
+ * When providing an url then the component will be rendered as `<a>`.
24
+ */
25
+ href?: string;
26
+ /**
27
+ * Target attribute where the link should be opened.
28
+ */
29
+ target?: CrestTarget;
30
+ } & import("react").RefAttributes<HTMLElement>>;