@porsche-design-system/components-react 2.16.2 → 2.16.3-rc.0

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 (54) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/jsdom-polyfill/index.js +1 -1
  3. package/lib/components/accordion.wrapper.d.ts +2 -2
  4. package/lib/components/banner.wrapper.d.ts +2 -2
  5. package/lib/components/button-group.wrapper.d.ts +2 -2
  6. package/lib/components/button-pure.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/divider.wrapper.d.ts +2 -2
  12. package/lib/components/fieldset-wrapper.wrapper.d.ts +2 -2
  13. package/lib/components/flex-item.wrapper.d.ts +2 -2
  14. package/lib/components/flex.wrapper.d.ts +2 -2
  15. package/lib/components/grid-item.wrapper.d.ts +2 -2
  16. package/lib/components/grid.wrapper.d.ts +2 -2
  17. package/lib/components/headline.wrapper.d.ts +2 -2
  18. package/lib/components/icon.wrapper.d.ts +2 -2
  19. package/lib/components/inline-notification.wrapper.d.ts +2 -2
  20. package/lib/components/link-pure.wrapper.d.ts +2 -2
  21. package/lib/components/link-social.wrapper.d.ts +2 -2
  22. package/lib/components/link.wrapper.d.ts +2 -2
  23. package/lib/components/marque.wrapper.d.ts +2 -2
  24. package/lib/components/modal.wrapper.d.ts +2 -2
  25. package/lib/components/pagination.wrapper.d.ts +2 -2
  26. package/lib/components/popover.wrapper.d.ts +2 -2
  27. package/lib/components/radio-button-wrapper.wrapper.d.ts +2 -2
  28. package/lib/components/scroller.wrapper.d.ts +2 -2
  29. package/lib/components/segmented-control-item.wrapper.d.ts +2 -2
  30. package/lib/components/segmented-control.wrapper.d.ts +2 -2
  31. package/lib/components/select-wrapper.wrapper.d.ts +2 -2
  32. package/lib/components/spinner.wrapper.d.ts +2 -2
  33. package/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -2
  34. package/lib/components/stepper-horizontal.wrapper.d.ts +2 -2
  35. package/lib/components/switch.wrapper.d.ts +2 -2
  36. package/lib/components/table-body.wrapper.d.ts +2 -2
  37. package/lib/components/table-cell.wrapper.d.ts +2 -2
  38. package/lib/components/table-head-cell.wrapper.d.ts +2 -2
  39. package/lib/components/table-head-row.wrapper.d.ts +2 -2
  40. package/lib/components/table-head.wrapper.d.ts +2 -2
  41. package/lib/components/table-row.wrapper.d.ts +2 -2
  42. package/lib/components/table.wrapper.d.ts +2 -2
  43. package/lib/components/tabs-bar.wrapper.d.ts +2 -2
  44. package/lib/components/tabs-item.wrapper.d.ts +2 -2
  45. package/lib/components/tabs.wrapper.d.ts +2 -2
  46. package/lib/components/tag-dismissible.wrapper.d.ts +2 -2
  47. package/lib/components/tag.wrapper.d.ts +2 -2
  48. package/lib/components/text-field-wrapper.wrapper.d.ts +2 -2
  49. package/lib/components/text-list-item.wrapper.d.ts +2 -2
  50. package/lib/components/text-list.wrapper.d.ts +2 -2
  51. package/lib/components/text.wrapper.d.ts +2 -2
  52. package/lib/components/textarea-wrapper.wrapper.d.ts +2 -2
  53. package/lib/components/toast.wrapper.d.ts +2 -2
  54. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export declare type PTableHeadRowProps = HTMLAttributes<{}> & {};
3
- export declare const PTableHeadRow: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
2
+ export declare 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 declare type PTableHeadProps = HTMLAttributes<{}> & {};
3
- export declare const PTableHead: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
2
+ export declare 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 declare type PTableRowProps = HTMLAttributes<{}> & {};
3
- export declare const PTableRow: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
2
+ export declare 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 { SortingChangeEvent } from '../types';
3
- export declare type PTableProps = HTMLAttributes<{}> & {
3
+ export declare 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
  */
@@ -10,7 +10,7 @@ export declare type PTableProps = HTMLAttributes<{}> & {
10
10
  */
11
11
  onSortingChange?: (event: CustomEvent<SortingChangeEvent>) => void;
12
12
  };
13
- export declare const PTable: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
13
+ export declare const PTable: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
14
14
  /**
15
15
  * 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.
16
16
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { TabGradientColorTheme, TabChangeEvent, BreakpointCustomizable, TabSize, ThemeExtendedElectric, TabWeight } from '../types';
3
- export declare type PTabsBarProps = HTMLAttributes<{}> & {
3
+ export declare 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
  */
@@ -26,7 +26,7 @@ export declare type PTabsBarProps = HTMLAttributes<{}> & {
26
26
  */
27
27
  weight?: TabWeight;
28
28
  };
29
- export declare const PTabsBar: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
29
+ export declare const PTabsBar: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
30
30
  /**
31
31
  * Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
32
32
  */
@@ -1,11 +1,11 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export declare type PTabsItemProps = HTMLAttributes<{}> & {
2
+ export declare 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<HTMLAttributes<{}> & {
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 { TabGradientColorTheme, TabChangeEvent, BreakpointCustomizable, TabSize, ThemeExtendedElectric, TabWeight } from '../types';
3
- export declare type PTabsProps = HTMLAttributes<{}> & {
3
+ export declare type PTabsProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Defines which tab to be visualized as selected (zero-based numbering).
6
6
  */
@@ -26,7 +26,7 @@ export declare type PTabsProps = HTMLAttributes<{}> & {
26
26
  */
27
27
  weight?: TabWeight;
28
28
  };
29
- export declare const PTabs: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
29
+ export declare const PTabs: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
30
30
  /**
31
31
  * Defines which tab to be visualized as selected (zero-based numbering).
32
32
  */
@@ -1,6 +1,6 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { SelectedAriaAttributes, TagDismissibleAriaAttribute, TagDismissibleColor } from '../types';
3
- export declare type PTagDismissibleProps = HTMLAttributes<{}> & {
3
+ export declare type PTagDismissibleProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Add ARIA attributes.
6
6
  */
@@ -14,7 +14,7 @@ export declare type PTagDismissibleProps = HTMLAttributes<{}> & {
14
14
  */
15
15
  label?: string;
16
16
  };
17
- export declare const PTagDismissible: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
17
+ export declare const PTagDismissible: 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 { TagColor, IconName, Theme } from '../types';
3
- export declare type PTagProps = HTMLAttributes<{}> & {
3
+ export declare type PTagProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Background color variations depending on theme property.
6
6
  */
@@ -18,7 +18,7 @@ export declare type PTagProps = HTMLAttributes<{}> & {
18
18
  */
19
19
  theme?: Theme;
20
20
  };
21
- export declare const PTag: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
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 { IconName, BreakpointCustomizable, FormState, TextFieldWrapperUnitPosition } from '../types';
3
- export declare type PTextFieldWrapperProps = HTMLAttributes<{}> & {
3
+ export declare 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
  */
@@ -46,7 +46,7 @@ export declare type PTextFieldWrapperProps = HTMLAttributes<{}> & {
46
46
  */
47
47
  unitPosition?: TextFieldWrapperUnitPosition;
48
48
  };
49
- export declare const PTextFieldWrapper: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
49
+ export declare const PTextFieldWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
50
50
  /**
51
51
  * Action icon can be set to `locate` for `input type="search"` in order to display an action button.
52
52
  */
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export declare type PTextListItemProps = HTMLAttributes<{}> & {};
3
- export declare const PTextListItem: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
2
+ export declare 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 { ListType, OrderType, Theme } from '../types';
3
- export declare type PTextListProps = HTMLAttributes<{}> & {
3
+ export declare type PTextListProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * The type of the text list.
6
6
  */
@@ -14,7 +14,7 @@ export declare type PTextListProps = HTMLAttributes<{}> & {
14
14
  */
15
15
  theme?: Theme;
16
16
  };
17
- export declare const PTextList: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
17
+ export declare const PTextList: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
18
18
  /**
19
19
  * The type of the text list.
20
20
  */
@@ -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 declare type PTextProps = HTMLAttributes<{}> & {
3
+ export declare type PTextProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Text alignment of the component.
6
6
  */
@@ -30,7 +30,7 @@ export declare type PTextProps = HTMLAttributes<{}> & {
30
30
  */
31
31
  weight?: TextWeight;
32
32
  };
33
- export declare const PText: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
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, FormState } from '../types';
3
- export declare type PTextareaWrapperProps = HTMLAttributes<{}> & {
3
+ export declare type PTextareaWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * The description text.
6
6
  */
@@ -26,7 +26,7 @@ export declare type PTextareaWrapperProps = HTMLAttributes<{}> & {
26
26
  */
27
27
  state?: FormState;
28
28
  };
29
- export declare const PTextareaWrapper: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
29
+ export declare const PTextareaWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
30
30
  /**
31
31
  * The description text.
32
32
  */
@@ -1,12 +1,12 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import type { Theme } from '../types';
3
- export declare type PToastProps = HTMLAttributes<{}> & {
3
+ export declare 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<HTMLAttributes<{}> & {
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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porsche-design-system/components-react",
3
- "version": "2.16.2",
3
+ "version": "2.16.3-rc.0",
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": "2.16.2"
20
+ "@porsche-design-system/components-js": "2.16.3-rc.0"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": ">=17.0.0 <19.0.0",