@porsche-design-system/components-react 3.0.0-rc.2 → 3.0.0-rc.3

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 (131) hide show
  1. package/CHANGELOG.md +20 -2
  2. package/lib/components/accordion.wrapper.d.ts +2 -2
  3. package/lib/components/banner.wrapper.d.ts +2 -2
  4. package/lib/components/button-group.wrapper.d.ts +2 -2
  5. package/lib/components/button-pure.wrapper.d.ts +2 -2
  6. package/lib/components/button-tile.wrapper.d.ts +2 -2
  7. package/lib/components/button.wrapper.d.ts +2 -2
  8. package/lib/components/carousel.wrapper.d.ts +2 -2
  9. package/lib/components/checkbox-wrapper.wrapper.d.ts +2 -2
  10. package/lib/components/content-wrapper.wrapper.d.ts +2 -2
  11. package/lib/components/crest.wrapper.d.ts +2 -2
  12. package/lib/components/display.wrapper.d.ts +2 -2
  13. package/lib/components/divider.wrapper.d.ts +2 -2
  14. package/lib/components/fieldset-wrapper.wrapper.d.ts +2 -2
  15. package/lib/components/fieldset.wrapper.d.ts +2 -2
  16. package/lib/components/flex-item.wrapper.d.ts +2 -2
  17. package/lib/components/flex.wrapper.d.ts +2 -2
  18. package/lib/components/grid-item.wrapper.d.ts +2 -2
  19. package/lib/components/grid.wrapper.d.ts +2 -2
  20. package/lib/components/heading.wrapper.d.ts +2 -2
  21. package/lib/components/headline.wrapper.d.ts +2 -2
  22. package/lib/components/icon.wrapper.d.ts +2 -2
  23. package/lib/components/inline-notification.wrapper.d.ts +2 -2
  24. package/lib/components/link-pure.wrapper.d.ts +2 -2
  25. package/lib/components/link-social.wrapper.d.ts +2 -2
  26. package/lib/components/link-tile-model-signature.wrapper.d.ts +2 -2
  27. package/lib/components/link-tile.wrapper.d.ts +2 -2
  28. package/lib/components/link.wrapper.d.ts +2 -2
  29. package/lib/components/marque.wrapper.d.ts +2 -2
  30. package/lib/components/modal.wrapper.d.ts +2 -2
  31. package/lib/components/model-signature.wrapper.d.ts +2 -2
  32. package/lib/components/pagination.wrapper.d.ts +2 -2
  33. package/lib/components/popover.wrapper.d.ts +2 -2
  34. package/lib/components/radio-button-wrapper.wrapper.d.ts +2 -2
  35. package/lib/components/scroller.wrapper.d.ts +2 -2
  36. package/lib/components/segmented-control-item.wrapper.d.ts +2 -2
  37. package/lib/components/segmented-control.wrapper.d.ts +2 -2
  38. package/lib/components/select-wrapper.wrapper.d.ts +2 -2
  39. package/lib/components/spinner.wrapper.d.ts +2 -2
  40. package/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -2
  41. package/lib/components/stepper-horizontal.wrapper.d.ts +2 -2
  42. package/lib/components/switch.wrapper.d.ts +2 -2
  43. package/lib/components/table-body.wrapper.d.ts +2 -2
  44. package/lib/components/table-cell.wrapper.d.ts +2 -2
  45. package/lib/components/table-head-cell.wrapper.d.ts +2 -2
  46. package/lib/components/table-head-row.wrapper.d.ts +2 -2
  47. package/lib/components/table-head.wrapper.d.ts +2 -2
  48. package/lib/components/table-row.wrapper.d.ts +2 -2
  49. package/lib/components/table.wrapper.d.ts +2 -2
  50. package/lib/components/tabs-bar.wrapper.d.ts +2 -2
  51. package/lib/components/tabs-item.wrapper.d.ts +2 -2
  52. package/lib/components/tabs.wrapper.d.ts +2 -2
  53. package/lib/components/tag-dismissible.wrapper.d.ts +2 -2
  54. package/lib/components/tag.wrapper.d.ts +2 -2
  55. package/lib/components/text-field-wrapper.wrapper.d.ts +2 -2
  56. package/lib/components/text-list-item.wrapper.d.ts +2 -2
  57. package/lib/components/text-list.wrapper.d.ts +2 -2
  58. package/lib/components/text.wrapper.d.ts +2 -2
  59. package/lib/components/textarea-wrapper.wrapper.d.ts +2 -2
  60. package/lib/components/toast.wrapper.d.ts +2 -2
  61. package/lib/components/wordmark.wrapper.d.ts +2 -2
  62. package/package.json +2 -2
  63. package/ssr/components/dist/styles/esm/styles-entry.js +23 -11
  64. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +1 -1
  65. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper-dropdown.js +2 -2
  66. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +1 -1
  67. package/ssr/esm/components/dist/styles/esm/styles-entry.js +23 -11
  68. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +1 -1
  69. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper-dropdown.js +2 -2
  70. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +1 -1
  71. package/ssr/lib/components/accordion.wrapper.d.ts +2 -2
  72. package/ssr/lib/components/banner.wrapper.d.ts +2 -2
  73. package/ssr/lib/components/button-group.wrapper.d.ts +2 -2
  74. package/ssr/lib/components/button-pure.wrapper.d.ts +2 -2
  75. package/ssr/lib/components/button-tile.wrapper.d.ts +2 -2
  76. package/ssr/lib/components/button.wrapper.d.ts +2 -2
  77. package/ssr/lib/components/carousel.wrapper.d.ts +2 -2
  78. package/ssr/lib/components/checkbox-wrapper.wrapper.d.ts +2 -2
  79. package/ssr/lib/components/content-wrapper.wrapper.d.ts +2 -2
  80. package/ssr/lib/components/crest.wrapper.d.ts +2 -2
  81. package/ssr/lib/components/display.wrapper.d.ts +2 -2
  82. package/ssr/lib/components/divider.wrapper.d.ts +2 -2
  83. package/ssr/lib/components/fieldset-wrapper.wrapper.d.ts +2 -2
  84. package/ssr/lib/components/fieldset.wrapper.d.ts +2 -2
  85. package/ssr/lib/components/flex-item.wrapper.d.ts +2 -2
  86. package/ssr/lib/components/flex.wrapper.d.ts +2 -2
  87. package/ssr/lib/components/grid-item.wrapper.d.ts +2 -2
  88. package/ssr/lib/components/grid.wrapper.d.ts +2 -2
  89. package/ssr/lib/components/heading.wrapper.d.ts +2 -2
  90. package/ssr/lib/components/headline.wrapper.d.ts +2 -2
  91. package/ssr/lib/components/icon.wrapper.d.ts +2 -2
  92. package/ssr/lib/components/inline-notification.wrapper.d.ts +2 -2
  93. package/ssr/lib/components/link-pure.wrapper.d.ts +2 -2
  94. package/ssr/lib/components/link-social.wrapper.d.ts +2 -2
  95. package/ssr/lib/components/link-tile-model-signature.wrapper.d.ts +2 -2
  96. package/ssr/lib/components/link-tile.wrapper.d.ts +2 -2
  97. package/ssr/lib/components/link.wrapper.d.ts +2 -2
  98. package/ssr/lib/components/marque.wrapper.d.ts +2 -2
  99. package/ssr/lib/components/modal.wrapper.d.ts +2 -2
  100. package/ssr/lib/components/model-signature.wrapper.d.ts +2 -2
  101. package/ssr/lib/components/pagination.wrapper.d.ts +2 -2
  102. package/ssr/lib/components/popover.wrapper.d.ts +2 -2
  103. package/ssr/lib/components/radio-button-wrapper.wrapper.d.ts +2 -2
  104. package/ssr/lib/components/scroller.wrapper.d.ts +2 -2
  105. package/ssr/lib/components/segmented-control-item.wrapper.d.ts +2 -2
  106. package/ssr/lib/components/segmented-control.wrapper.d.ts +2 -2
  107. package/ssr/lib/components/select-wrapper-dropdown.wrapper.d.ts +2 -2
  108. package/ssr/lib/components/select-wrapper.wrapper.d.ts +2 -2
  109. package/ssr/lib/components/spinner.wrapper.d.ts +2 -2
  110. package/ssr/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -2
  111. package/ssr/lib/components/stepper-horizontal.wrapper.d.ts +2 -2
  112. package/ssr/lib/components/switch.wrapper.d.ts +2 -2
  113. package/ssr/lib/components/table-body.wrapper.d.ts +2 -2
  114. package/ssr/lib/components/table-cell.wrapper.d.ts +2 -2
  115. package/ssr/lib/components/table-head-cell.wrapper.d.ts +2 -2
  116. package/ssr/lib/components/table-head-row.wrapper.d.ts +2 -2
  117. package/ssr/lib/components/table-head.wrapper.d.ts +2 -2
  118. package/ssr/lib/components/table-row.wrapper.d.ts +2 -2
  119. package/ssr/lib/components/table.wrapper.d.ts +2 -2
  120. package/ssr/lib/components/tabs-bar.wrapper.d.ts +2 -2
  121. package/ssr/lib/components/tabs-item.wrapper.d.ts +2 -2
  122. package/ssr/lib/components/tabs.wrapper.d.ts +2 -2
  123. package/ssr/lib/components/tag-dismissible.wrapper.d.ts +2 -2
  124. package/ssr/lib/components/tag.wrapper.d.ts +2 -2
  125. package/ssr/lib/components/text-field-wrapper.wrapper.d.ts +2 -2
  126. package/ssr/lib/components/text-list-item.wrapper.d.ts +2 -2
  127. package/ssr/lib/components/text-list.wrapper.d.ts +2 -2
  128. package/ssr/lib/components/text.wrapper.d.ts +2 -2
  129. package/ssr/lib/components/textarea-wrapper.wrapper.d.ts +2 -2
  130. package/ssr/lib/components/toast.wrapper.d.ts +2 -2
  131. package/ssr/lib/components/wordmark.wrapper.d.ts +2 -2
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { BreakpointCustomizable, RadioButtonWrapperState, Theme } from '../types';
3
- export type PRadioButtonWrapperProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PRadioButtonWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Show or hide label. For better accessibility it's recommended to show the label.
6
6
  */
@@ -22,7 +22,7 @@ export type PRadioButtonWrapperProps = Omit<HTMLAttributes<{}>, 'color' | 'onCha
22
22
  */
23
23
  theme?: Theme;
24
24
  };
25
- export declare const PRadioButtonWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
25
+ export declare const PRadioButtonWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
26
26
  /**
27
27
  * Show or hide label. For better accessibility it's recommended to show the label.
28
28
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { ScrollerAlignScrollIndicator, SelectedAriaAttributes, ScrollerAriaAttribute, ScrollerGradientColor, ScrollerGradientColorScheme, ScrollerScrollIndicatorPosition, ScrollerScrollToPosition, Theme } from '../types';
3
- export type PScrollerProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PScrollerProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Sets the vertical position of scroll indicator.
6
6
  */
@@ -34,7 +34,7 @@ export type PScrollerProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
34
34
  */
35
35
  theme?: Theme;
36
36
  };
37
- export declare const PScroller: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
37
+ export declare const PScroller: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
38
38
  /**
39
39
  * Sets the vertical position of scroll indicator.
40
40
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { SegmentedControlItemIcon } from '../types';
3
- export type PSegmentedControlItemProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PSegmentedControlItemProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Disables the button. No events will be triggered while disabled state is active.
6
6
  */
@@ -22,7 +22,7 @@ export type PSegmentedControlItemProps = Omit<HTMLAttributes<{}>, 'color' | 'onC
22
22
  */
23
23
  value: string | number;
24
24
  };
25
- export declare const PSegmentedControlItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
25
+ export declare const PSegmentedControlItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
26
26
  /**
27
27
  * Disables the button. No events will be triggered while disabled state is active.
28
28
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { SegmentedControlBackgroundColor, SegmentedControlUpdateEvent, Theme } from '../types';
3
- export type PSegmentedControlProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PSegmentedControlProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * @deprecated since v3.0.0, will be removed with next major release. Background color variations
6
6
  */
@@ -22,7 +22,7 @@ export type PSegmentedControlProps = Omit<HTMLAttributes<{}>, 'color' | 'onChang
22
22
  */
23
23
  value?: string | number;
24
24
  };
25
- export declare const PSegmentedControl: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
25
+ export declare const PSegmentedControl: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
26
26
  /**
27
27
  * @deprecated since v3.0.0, will be removed with next major release. Background color variations
28
28
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { SelectWrapperDropdownDirection, BreakpointCustomizable, SelectWrapperState, Theme } from '../types';
3
- export type PSelectWrapperProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PSelectWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * The description text.
6
6
  */
@@ -38,7 +38,7 @@ export type PSelectWrapperProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'>
38
38
  */
39
39
  theme?: Theme;
40
40
  };
41
- export declare const PSelectWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
41
+ export declare const PSelectWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
42
42
  /**
43
43
  * The description text.
44
44
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { SelectedAriaAttributes, SpinnerAriaAttribute, BreakpointCustomizable, SpinnerSize, Theme } from '../types';
3
- export type PSpinnerProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PSpinnerProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Add ARIA attributes.
6
6
  */
@@ -14,7 +14,7 @@ export type PSpinnerProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
14
14
  */
15
15
  theme?: Theme;
16
16
  };
17
- export declare const PSpinner: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
17
+ export declare const PSpinner: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
18
18
  /**
19
19
  * Add ARIA attributes.
20
20
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { StepperHorizontalItemState } from '../types';
3
- export type PStepperHorizontalItemProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PStepperHorizontalItemProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Disables the stepper-horizontal-item. No events will be triggered while disabled state is active.
6
6
  */
@@ -10,7 +10,7 @@ export type PStepperHorizontalItemProps = Omit<HTMLAttributes<{}>, 'color' | 'on
10
10
  */
11
11
  state?: StepperHorizontalItemState;
12
12
  };
13
- export declare const PStepperHorizontalItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
13
+ export declare const PStepperHorizontalItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
14
14
  /**
15
15
  * Disables the stepper-horizontal-item. No events will be triggered while disabled state is active.
16
16
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { StepperHorizontalUpdateEvent, BreakpointCustomizable, StepperHorizontalSize, Theme } from '../types';
3
- export type PStepperHorizontalProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PStepperHorizontalProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when active step is changed.
6
6
  */
@@ -18,7 +18,7 @@ export type PStepperHorizontalProps = Omit<HTMLAttributes<{}>, 'color' | 'onChan
18
18
  */
19
19
  theme?: Theme;
20
20
  };
21
- export declare const PStepperHorizontal: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
21
+ export declare const PStepperHorizontal: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
22
22
  /**
23
23
  * @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when active step is changed.
24
24
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { BreakpointCustomizable, SwitchAlignLabel, SwitchUpdateEvent, Theme } from '../types';
3
- export type PSwitchProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PSwitchProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Aligns the label.
6
6
  */
@@ -38,7 +38,7 @@ export type PSwitchProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
38
38
  */
39
39
  theme?: Theme;
40
40
  };
41
- export declare const PSwitch: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
41
+ export declare const PSwitch: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
42
42
  /**
43
43
  * Aligns the label.
44
44
  */
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export type PTableBodyProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {};
3
- export declare const PTableBody: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
2
+ export type PTableBodyProps = Omit<HTMLAttributes<{}>, 'color'> & {};
3
+ export declare const PTableBody: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
4
4
  children?: import("react").ReactNode;
5
5
  } & import("react").RefAttributes<HTMLElement>>;
@@ -1,11 +1,11 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export type PTableCellProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
2
+ export type PTableCellProps = Omit<HTMLAttributes<{}>, 'color'> & {
3
3
  /**
4
4
  * Displays slotted text multiline or forced into a single line.
5
5
  */
6
6
  multiline?: boolean;
7
7
  };
8
- export declare const PTableCell: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
8
+ export declare const PTableCell: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
9
9
  /**
10
10
  * Displays slotted text multiline or forced into a single line.
11
11
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { TableHeadCellSort } from '../types';
3
- export type PTableHeadCellProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PTableHeadCellProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Hides the label but stays accessible for screen readers. This property only takes effect when sort property is not defined.
6
6
  */
@@ -14,7 +14,7 @@ export type PTableHeadCellProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'>
14
14
  */
15
15
  sort?: TableHeadCellSort;
16
16
  };
17
- export declare const PTableHeadCell: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
17
+ export declare const PTableHeadCell: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
18
18
  /**
19
19
  * Hides the label but stays accessible for screen readers. This property only takes effect when sort property is not defined.
20
20
  */
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export type PTableHeadRowProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {};
3
- export declare const PTableHeadRow: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
2
+ export type PTableHeadRowProps = Omit<HTMLAttributes<{}>, 'color'> & {};
3
+ export declare const PTableHeadRow: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
4
4
  children?: import("react").ReactNode;
5
5
  } & import("react").RefAttributes<HTMLElement>>;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export type PTableHeadProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {};
3
- export declare const PTableHead: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
2
+ export type PTableHeadProps = Omit<HTMLAttributes<{}>, 'color'> & {};
3
+ export declare const PTableHead: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
4
4
  children?: import("react").ReactNode;
5
5
  } & import("react").RefAttributes<HTMLElement>>;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export type PTableRowProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {};
3
- export declare const PTableRow: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
2
+ export type PTableRowProps = Omit<HTMLAttributes<{}>, 'color'> & {};
3
+ export declare const PTableRow: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
4
4
  children?: import("react").ReactNode;
5
5
  } & import("react").RefAttributes<HTMLElement>>;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { TableUpdateEvent, Theme } from '../types';
3
- export type PTableProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PTableProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * A caption describing the contents of the table for accessibility only. This won't be visible in the browser. Use an element with an attribute of `slot="caption"` for a visible caption.
6
6
  */
@@ -18,7 +18,7 @@ export type PTableProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
18
18
  */
19
19
  theme?: Theme;
20
20
  };
21
- export declare const PTable: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
21
+ export declare const PTable: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
22
22
  /**
23
23
  * A caption describing the contents of the table for accessibility only. This won't be visible in the browser. Use an element with an attribute of `slot="caption"` for a visible caption.
24
24
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { TabsBarGradientColor, TabsBarGradientColorScheme, TabsBarUpdateEvent, BreakpointCustomizable, TabsBarSize, Theme, TabsBarWeight } from '../types';
3
- export type PTabsBarProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PTabsBarProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
6
6
  */
@@ -34,7 +34,7 @@ export type PTabsBarProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
34
34
  */
35
35
  weight?: TabsBarWeight;
36
36
  };
37
- export declare const PTabsBar: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
37
+ export declare const PTabsBar: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
38
38
  /**
39
39
  * Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
40
40
  */
@@ -1,11 +1,11 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export type PTabsItemProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
2
+ export type PTabsItemProps = Omit<HTMLAttributes<{}>, 'color'> & {
3
3
  /**
4
4
  * Defines the label used in tabs.
5
5
  */
6
6
  label: string;
7
7
  };
8
- export declare const PTabsItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
8
+ export declare const PTabsItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
9
9
  /**
10
10
  * Defines the label used in tabs.
11
11
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { TabsGradientColor, TabsGradientColorScheme, TabsUpdateEvent, BreakpointCustomizable, TabsSize, Theme, TabsWeight } from '../types';
3
- export type PTabsProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PTabsProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Defines which tab to be visualized as selected (zero-based numbering).
6
6
  */
@@ -34,7 +34,7 @@ export type PTabsProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
34
34
  */
35
35
  weight?: TabsWeight;
36
36
  };
37
- export declare const PTabs: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
37
+ export declare const PTabs: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
38
38
  /**
39
39
  * Defines which tab to be visualized as selected (zero-based numbering).
40
40
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { SelectedAriaAttributes, TagDismissibleAriaAttribute, TagDismissibleColor, Theme } from '../types';
3
- export type PTagDismissibleProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PTagDismissibleProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Add ARIA attributes.
6
6
  */
@@ -18,7 +18,7 @@ export type PTagDismissibleProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'
18
18
  */
19
19
  theme?: Theme;
20
20
  };
21
- export declare const PTagDismissible: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
21
+ export declare const PTagDismissible: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
22
22
  /**
23
23
  * Add ARIA attributes.
24
24
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { TagColor, TagIcon, Theme } from '../types';
3
- export type PTagProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PTagProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Background color variations depending on theme property.
6
6
  */
@@ -18,7 +18,7 @@ export type PTagProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
18
18
  */
19
19
  theme?: Theme;
20
20
  };
21
- export declare const PTag: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
21
+ export declare const PTag: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
22
22
  /**
23
23
  * Background color variations depending on theme property.
24
24
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { TextFieldWrapperActionIcon, BreakpointCustomizable, TextFieldWrapperState, Theme, TextFieldWrapperUnitPosition } from '../types';
3
- export type PTextFieldWrapperProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PTextFieldWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Action icon can be set to `locate` for `input type="search"` in order to display an action button.
6
6
  */
@@ -54,7 +54,7 @@ export type PTextFieldWrapperProps = Omit<HTMLAttributes<{}>, 'color' | 'onChang
54
54
  */
55
55
  unitPosition?: TextFieldWrapperUnitPosition;
56
56
  };
57
- export declare const PTextFieldWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
57
+ export declare const PTextFieldWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
58
58
  /**
59
59
  * Action icon can be set to `locate` for `input type="search"` in order to display an action button.
60
60
  */
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export type PTextListItemProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {};
3
- export declare const PTextListItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
2
+ export type PTextListItemProps = Omit<HTMLAttributes<{}>, 'color'> & {};
3
+ export declare const PTextListItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
4
4
  children?: import("react").ReactNode;
5
5
  } & import("react").RefAttributes<HTMLElement>>;
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { TextListListType, TextListOrderType, Theme, TextListType } from '../types';
3
- export type PTextListProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PTextListProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The type of the list.
6
6
  */
@@ -18,7 +18,7 @@ export type PTextListProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
18
18
  */
19
19
  type?: TextListType;
20
20
  };
21
- export declare const PTextList: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
21
+ export declare const PTextList: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
22
22
  /**
23
23
  * @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The type of the list.
24
24
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { TextAlign, TextColor, BreakpointCustomizable, TextSize, TextTag, Theme, TextWeight } from '../types';
3
- export type PTextProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PTextProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Text alignment of the component.
6
6
  */
@@ -30,7 +30,7 @@ export type PTextProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
30
30
  */
31
31
  weight?: TextWeight;
32
32
  };
33
- export declare const PText: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
33
+ export declare const PText: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
34
34
  /**
35
35
  * Text alignment of the component.
36
36
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { BreakpointCustomizable, TextareaWrapperState, Theme } from '../types';
3
- export type PTextareaWrapperProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PTextareaWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * The description text.
6
6
  */
@@ -34,7 +34,7 @@ export type PTextareaWrapperProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange
34
34
  */
35
35
  theme?: Theme;
36
36
  };
37
- export declare const PTextareaWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
37
+ export declare const PTextareaWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
38
38
  /**
39
39
  * The description text.
40
40
  */
@@ -1,12 +1,12 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { Theme } from '../types';
3
- export type PToastProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PToastProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Adapts the toast color depending on the theme.
6
6
  */
7
7
  theme?: Theme;
8
8
  };
9
- export declare const PToast: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
9
+ export declare const PToast: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
10
10
  /**
11
11
  * Adapts the toast color depending on the theme.
12
12
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { SelectedAriaAttributes, WordmarkAriaAttribute, WordmarkSize, WordmarkTarget, Theme } from '../types';
3
- export type PWordmarkProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
3
+ export type PWordmarkProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Add ARIA attributes.
6
6
  */
@@ -22,7 +22,7 @@ export type PWordmarkProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
22
22
  */
23
23
  theme?: Theme;
24
24
  };
25
- export declare const PWordmark: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color" | "onChange"> & {
25
+ export declare const PWordmark: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
26
26
  /**
27
27
  * Add ARIA attributes.
28
28
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porsche-design-system/components-react",
3
- "version": "3.0.0-rc.2",
3
+ "version": "3.0.0-rc.3",
4
4
  "description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
5
5
  "keywords": [
6
6
  "porsche",
@@ -17,7 +17,7 @@
17
17
  "license": "SEE LICENSE IN LICENSE",
18
18
  "homepage": "https://designsystem.porsche.com",
19
19
  "dependencies": {
20
- "@porsche-design-system/components-js": "3.0.0-rc.2"
20
+ "@porsche-design-system/components-js": "3.0.0-rc.3"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": ">=17.0.0 <19.0.0",
@@ -50,11 +50,11 @@ const borderWidthBase = '2px';
50
50
  const _dropShadowBackgroundColor = 'rgba(0, 0, 0, 0.16)';
51
51
 
52
52
  const dropShadowLowStyle = {
53
- filter: `drop-shadow(0px 3px 8px ${_dropShadowBackgroundColor})`,
53
+ boxShadow: `0px 3px 8px ${_dropShadowBackgroundColor}`, // filter: drop-shadow() causes visual glitches in Firefox in combination with frostedGlassStyle
54
54
  };
55
55
 
56
56
  const dropShadowHighStyle = {
57
- filter: `drop-shadow(0px 8px 40px ${_dropShadowBackgroundColor})`,
57
+ boxShadow: `0px 8px 40px ${_dropShadowBackgroundColor}`, // filter: drop-shadow() causes visual glitches in Firefox in combination with frostedGlassStyle
58
58
  };
59
59
 
60
60
  const themeLightStateFocus = '#1A44EA';
@@ -3924,7 +3924,7 @@ const getComponentCss$Y = (size, compact, open, theme) => {
3924
3924
  })), hostHiddenStyles)),
3925
3925
  button: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ display: 'flex', position: 'relative', justifyContent: 'space-between', width: '100%', textDecoration: 'none', border: 0, outline: 0, gap: '24px', background: 'transparent', cursor: 'pointer', textAlign: 'left', color: primaryColor }, textSmallStyle), { fontWeight: fontWeightSemiBold }), buildResponsiveStyles(size, (s) => ({
3926
3926
  fontSize: s === 'medium' ? fontSizeTextMedium : fontSizeTextSmall,
3927
- padding: `${compact ? '4px' : s === 'medium' ? '20px' : '12px'} 0`,
3927
+ padding: `${compact ? '4px' : s === 'medium' ? '20px' : '15px'} 0`,
3928
3928
  }))), mergeDeep({
3929
3929
  '&::before': Object.assign({ content: '""', position: 'absolute', borderRadius: borderRadiusSmall, left: '-4px', right: '-4px' }, (compact
3930
3930
  ? {
@@ -3950,11 +3950,16 @@ const getComponentCss$Y = (size, compact, open, theme) => {
3950
3950
  },
3951
3951
  heading: {
3952
3952
  margin: 0,
3953
- padding: '0 0 2px',
3953
+ },
3954
+ 'icon-container': {
3955
+ height: fontLineHeight,
3956
+ display: 'flex',
3957
+ alignItems: 'center',
3954
3958
  },
3955
3959
  icon: {
3956
3960
  width: fontLineHeight,
3957
3961
  height: fontLineHeight,
3962
+ fontSize: fontSizeTextXXSmall,
3958
3963
  transform: open ? 'rotate3d(0)' : 'rotate3d(0,0,1,90deg)',
3959
3964
  transition: getTransition('transform'),
3960
3965
  },
@@ -3993,24 +3998,25 @@ const ANIMATION_DURATION$1 = 600;
3993
3998
  const duration$1 = `var(${cssVariableAnimationDuration},${ANIMATION_DURATION$1}ms)`;
3994
3999
  const easeInQuad$1 = 'cubic-bezier(0.45,0,0.55,1)';
3995
4000
  const easeOutQuad$1 = 'cubic-bezier(0.5,1,0.89,1)';
4001
+ const topBottomFallback = '56px';
3996
4002
  const getComponentCss$X = (isOpen) => {
3997
4003
  return getCss({
3998
4004
  '@global': {
3999
- ':host': addImportantToEachRule(Object.assign(Object.assign(Object.assign(Object.assign({ [cssVariableTop]: '56px', [cssVariableBottom]: '56px', position: 'fixed', top: 'auto', bottom: `var(${cssVariableBottom})`, left: gridExtendedOffsetBase, right: gridExtendedOffsetBase, margin: 0, padding: 0, width: 'auto', maxWidth: '100%', zIndex: `var(${cssVariableZIndex},${BANNER_Z_INDEX})` }, dropShadowHighStyle), (isOpen
4005
+ ':host': addImportantToEachRule(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({ position: 'fixed', bottom: `var(${cssVariableBottom},${topBottomFallback})`, left: gridExtendedOffsetBase, right: gridExtendedOffsetBase, margin: 0, padding: 0, width: 'auto', maxWidth: '100%', zIndex: `var(${cssVariableZIndex},${BANNER_Z_INDEX})` }, dropShadowHighStyle), { borderRadius: borderRadiusSmall }), (isOpen
4000
4006
  ? {
4001
4007
  opacity: 1,
4002
4008
  visibility: 'inherit',
4003
4009
  transform: 'translate3d(0,0,0)',
4004
- transition: `opacity ${duration$1} ${easeInQuad$1}, transform ${duration$1} ${easeInQuad$1}`,
4010
+ transition: `opacity ${duration$1} ${easeInQuad$1},transform ${duration$1} ${easeInQuad$1}`,
4005
4011
  }
4006
4012
  : {
4007
4013
  opacity: 0,
4008
4014
  visibility: 'hidden',
4009
- transform: `translate3d(0,calc(var(${cssVariableBottom}) + 100%),0)`,
4015
+ transform: `translate3d(0,calc(var(${cssVariableBottom},${topBottomFallback}) + 100%),0)`,
4010
4016
  '&(.hydrated),&(.ssr)': {
4011
- transition: `visibility 0s linear ${duration$1}, opacity ${duration$1} ${easeOutQuad$1}, transform ${duration$1} ${easeOutQuad$1}`,
4017
+ transition: `visibility 0s linear ${duration$1},opacity ${duration$1} ${easeOutQuad$1},transform ${duration$1} ${easeOutQuad$1}`,
4012
4018
  },
4013
- })), { [getMediaQueryMin('s')]: Object.assign({ top: `var(${cssVariableTop})`, bottom: 'auto', left: gridExtendedOffsetS, right: gridExtendedOffsetS }, (!isOpen && { transform: `translate3d(0,calc(-100% - var(${cssVariableTop})),0)` })), [getMediaQueryMin('xxl')]: {
4019
+ })), { [getMediaQueryMin('s')]: Object.assign({ top: `var(${cssVariableTop},${topBottomFallback})`, bottom: 'auto', left: gridExtendedOffsetS, right: gridExtendedOffsetS }, (!isOpen && { transform: `translate3d(0,calc(-100% - var(${cssVariableTop},${topBottomFallback})),0)` })), [getMediaQueryMin('xxl')]: {
4014
4020
  left: gridExtendedOffsetXXL,
4015
4021
  right: gridExtendedOffsetXXL,
4016
4022
  } }), hostHiddenStyles)),
@@ -4906,7 +4912,7 @@ const getComponentCss$E = (color, size, theme) => {
4906
4912
  const isSizeInherit = size === 'inherit';
4907
4913
  const isDark = isThemeDark(theme);
4908
4914
  return getCss({
4909
- '@global': Object.assign({ ':host': Object.assign({ display: 'inline-block', verticalAlign: 'top' }, addImportantToEachRule(hostHiddenStyles)), img: Object.assign(Object.assign({ display: 'block', margin: 0, padding: 0 }, (!isColorInherit && Object.assign(Object.assign({ filter: filter[theme][color] }, (isHighContrastMode &&
4915
+ '@global': Object.assign({ ':host': Object.assign({ display: 'inline-block', verticalAlign: 'top' }, addImportantToEachRule(hostHiddenStyles)), img: Object.assign(Object.assign({ display: 'block', margin: 0, padding: 0, pointerEvents: 'none' }, (!isColorInherit && Object.assign(Object.assign({ filter: filter[theme][color] }, (isHighContrastMode &&
4910
4916
  getSchemedHighContrastMediaQuery({
4911
4917
  filter: filter.light[color],
4912
4918
  }, {
@@ -6491,7 +6497,13 @@ const getComponentCss$1 = () => {
6491
6497
  const getComponentCss = (size, theme) => {
6492
6498
  return getCss({
6493
6499
  '@global': {
6494
- ':host': Object.assign({ position: 'relative', display: 'inline-block', verticalAlign: 'top' }, addImportantToEachRule(Object.assign(Object.assign({ outline: 0, maxWidth: '100%', maxHeight: '100%', boxSizing: 'content-box' }, (!(size === 'inherit') && { height: 'clamp(0.63rem, 0.42vw + 0.5rem, 1rem)' })), hostHiddenStyles))),
6500
+ ':host': Object.assign({ position: 'relative', display: 'inline-block', verticalAlign: 'top' }, addImportantToEachRule(Object.assign(Object.assign({ outline: 0, maxWidth: '100%', maxHeight: '100%', boxSizing: 'content-box' }, (size !== 'inherit' && {
6501
+ height: 'clamp(0.63rem, 0.42vw + 0.5rem, 1rem)',
6502
+ // workaround for Safari to optimize image rendering
6503
+ '@supports (height: round(down, 1px, 1px))': {
6504
+ height: 'round(down, clamp(0.63rem, 0.42vw + 0.5rem, 1rem), 1px)',
6505
+ },
6506
+ })), hostHiddenStyles))),
6495
6507
  'a, svg': {
6496
6508
  display: 'block',
6497
6509
  maxWidth: '100%',
@@ -74,7 +74,7 @@ class DSRAccordion extends react.Component {
74
74
  const contentId = 'accordion-panel';
75
75
  const Heading = this.props.tag;
76
76
  const style = minifyCss.minifyCss(stripFocusAndHoverStyles.stripFocusAndHoverStyles(stylesEntry.getAccordionCss(this.props.size, this.props.compact, this.props.open, this.props.theme)));
77
- return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Heading, { className: "heading", children: jsxRuntime.jsxs("button", { id: buttonId, type: "button", "aria-expanded": this.props.open ? 'true' : 'false', "aria-controls": contentId, children: [this.props.heading || jsxRuntime.jsx("slot", { name: "heading" }), jsxRuntime.jsx(icon_wrapper.PIcon, { className: "icon", name: this.props.open ? 'minus' : 'plus', theme: this.props.theme, size: "inherit", "aria-hidden": "true" })] }) }), jsxRuntime.jsx("div", { id: contentId, className: "collapsible", role: "region", "aria-labelledby": buttonId, children: jsxRuntime.jsx("div", { children: jsxRuntime.jsx("slot", {}) }) })] })] }), this.props.children] }));
77
+ return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(Heading, { className: "heading", children: jsxRuntime.jsxs("button", { id: buttonId, type: "button", "aria-expanded": this.props.open ? 'true' : 'false', "aria-controls": contentId, children: [this.props.heading || jsxRuntime.jsx("slot", { name: "heading" }), jsxRuntime.jsx("span", { className: "icon-container", children: jsxRuntime.jsx(icon_wrapper.PIcon, { className: "icon", name: this.props.open ? 'minus' : 'plus', theme: this.props.theme, size: "xx-small", "aria-hidden": "true" }) })] }) }), jsxRuntime.jsx("div", { id: contentId, className: "collapsible", role: "region", "aria-labelledby": buttonId, children: jsxRuntime.jsx("div", { children: jsxRuntime.jsx("slot", {}) }) })] })] }), this.props.children] }));
78
78
  }
79
79
  }
80
80
 
@@ -25,8 +25,8 @@ class DSRSelectWrapperDropdown extends react.Component {
25
25
  const buttonId = 'value';
26
26
  const style = minifyCss.minifyCss(stripFocusAndHoverStyles.stripFocusAndHoverStyles(stylesEntry.getSelectWrapperDropdownCss(this.props.direction === 'auto' ? 'down' : this.props.direction, this.isOpen, this.props.state, this.props.disabled, this.props.filter, this.props.theme)));
27
27
  return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxRuntime.jsx(jsxRuntime.Fragment, { children: this.props.filter ? ([
28
- jsxRuntime.jsx("input", { type: "text", role: "combobox", disabled: this.props.disabled, placeholder: ((_a = utilsEntry.getSelectedOptionMap(this.optionMaps)) === null || _a === void 0 ? void 0 : _a.value) || null, autoComplete: "off", value: this.searchString, ...utilsEntry.getFilterInputAriaAttributes(this.isOpen, this.props.required, labelId, descriptionId, dropdownId, utilsEntry.getHighlightedOptionMapIndex(this.optionMaps)) }),
29
- jsxRuntime.jsx("span", {}),
28
+ jsxRuntime.jsx("input", { type: "text", role: "combobox", disabled: this.props.disabled, placeholder: ((_a = utilsEntry.getSelectedOptionMap(this.optionMaps)) === null || _a === void 0 ? void 0 : _a.value) || null, autoComplete: "off", defaultValue: this.searchString, ...utilsEntry.getFilterInputAriaAttributes(this.isOpen, this.props.required, labelId, descriptionId, dropdownId, utilsEntry.getHighlightedOptionMapIndex(this.optionMaps)) }, "input"),
29
+ jsxRuntime.jsx("span", {}, "span"),
30
30
  ]) : (jsxRuntime.jsx("button", { type: "button", role: "combobox", id: buttonId, disabled: this.props.disabled, ...utilsEntry.getSelectWrapperDropdownButtonAriaAttributes(this.isOpen, labelId, descriptionId, dropdownId, utilsEntry.getHighlightedOptionMapIndex(this.optionMaps)) })) })] }) }));
31
31
  }
32
32
  }
@@ -10,7 +10,7 @@ var utilsEntry = require('../../../../../../components/dist/utils/esm/utils-entr
10
10
  class DSRWordmark extends react.Component {
11
11
  render() {
12
12
  // optimized with SVGO, see docs in assets folder
13
- const svg = (jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 4383 300", children: [jsxRuntime.jsx("title", { children: "Porsche" }), jsxRuntime.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" })] }));
13
+ const svg = (jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 4500 300", children: [jsxRuntime.jsx("title", { children: "Porsche" }), jsxRuntime.jsx("path", { d: "M502 221c48.1 0 74-25.9 74-74V74c0-48.1-25.9-74-74-74H0v300h68v-79h434zm6-143v65c0 7.8-4.2 12-12 12H68V66h428c7.8 0 12 4.2 12 12zm228 222c-48.1 0-74-25.9-74-74V74c0-48.1 25.9-74 74-74h417c48.1 0 74 25.9 74 74v152c0 48.1-25.9 74-74 74H736zm411-66c7.8 0 12-4.2 12-12V78c0-7.8-4.2-12-12-12H742c-7.8 0-12 4.2-12 12v144c0 7.8 4.2 12 12 12h405zm675-36c39.844 16.757 67.853 56.1 68 102h-68c0-54-25-79-79-79h-361v79h-68V0h502c48.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-428v89h428zm162-81c0-48.1 25.9-74 74-74h492v56h-486c-7.8 0-12 4.2-12 12v42c0 7.8 4.2 12 12 12h422c48.1 0 74 25.9 74 74v30c0 48.1-25.9 74-74 74h-492v-56h486c7.8 0 12-4.2 12-12v-42c0-7.8-4.2-12-12-12h-422c-48.1 0-74-25.9-74-74V74zm661 0c0-48.1 25.9-74 74-74h480v66h-474c-7.8 0-12 4.2-12 12v144c0 7.8 4.2 12 12 12h474v66h-480c-48.1 0-74-25.9-74-74V74zM3817 0v300h-68V183h-407v117h-68V0h68v117h407V0h68zm156 56v66h527v56h-527v66h527v56h-595V0h595v56h-527z" })] }));
14
14
  const style = minifyCss.minifyCss(stripFocusAndHoverStyles.stripFocusAndHoverStyles(stylesEntry.getWordmarkCss(this.props.size, this.props.theme)));
15
15
  return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsxRuntime.jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxRuntime.jsx(jsxRuntime.Fragment, { children: this.props.href === undefined ? (svg) : (jsxRuntime.jsx("a", { href: this.props.href, target: this.props.target, ...utilsEntry.parseAndGetAriaAttributes(this.props.aria), children: svg })) })] }) }));
16
16
  }