@porsche-design-system/components-react 2.19.0-rc.2 → 2.19.1-rc.1

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 (137) hide show
  1. package/CHANGELOG.md +33 -3
  2. package/jsdom-polyfill/index.js +12 -1
  3. package/jsdom-polyfill.d.ts +1 -0
  4. package/lib/components/button-group.wrapper.d.ts +3 -3
  5. package/lib/components/button-pure.wrapper.d.ts +3 -3
  6. package/lib/components/divider.wrapper.d.ts +3 -3
  7. package/lib/components/flex-item.wrapper.d.ts +13 -13
  8. package/lib/components/flex.wrapper.d.ts +13 -13
  9. package/lib/components/grid-item.wrapper.d.ts +5 -5
  10. package/lib/components/grid.wrapper.d.ts +7 -7
  11. package/lib/components/icon.wrapper.d.ts +3 -3
  12. package/lib/components/link-pure.wrapper.d.ts +5 -5
  13. package/lib/components/link-tile.wrapper.d.ts +3 -3
  14. package/lib/components/link.wrapper.d.ts +3 -3
  15. package/lib/components/marque.wrapper.d.ts +3 -3
  16. package/lib/components/modal.wrapper.d.ts +3 -3
  17. package/lib/components/spinner.wrapper.d.ts +5 -5
  18. package/lib/components/switch.wrapper.d.ts +3 -3
  19. package/lib/types.d.ts +26 -47
  20. package/package.json +2 -2
  21. package/ssr/components/dist/styles/esm/styles-entry.js +46 -23
  22. package/ssr/components/dist/utils/esm/utils-entry.js +46 -23
  23. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +2 -7
  24. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +3 -8
  25. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.js +2 -7
  26. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +4 -9
  27. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +2 -7
  28. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +4 -9
  29. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.js +4 -9
  30. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.js +2 -7
  31. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.js +5 -10
  32. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.js +2 -7
  33. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.js +2 -7
  34. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.js +2 -7
  35. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.js +3 -8
  36. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.js +2 -7
  37. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +3 -8
  38. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +4 -9
  39. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +2 -7
  40. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +2 -7
  41. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +2 -7
  42. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +3 -8
  43. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +2 -7
  44. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.js +4 -9
  45. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +2 -7
  46. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +2 -7
  47. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.js +3 -8
  48. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +4 -9
  49. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +2 -7
  50. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +3 -8
  51. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +2 -7
  52. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-body.js +2 -7
  53. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-cell.js +2 -7
  54. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +2 -7
  55. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-row.js +2 -7
  56. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head.js +2 -7
  57. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-row.js +2 -7
  58. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +3 -8
  59. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +2 -7
  60. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-item.js +2 -7
  61. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +4 -9
  62. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +2 -7
  63. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +2 -7
  64. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +7 -12
  65. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +2 -7
  66. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +3 -8
  67. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text.js +2 -7
  68. package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.js +4 -9
  69. package/ssr/components-react/projects/react-ssr-wrapper/src/splitChildren.js +28 -0
  70. package/ssr/esm/components/dist/styles/esm/styles-entry.js +46 -23
  71. package/ssr/esm/components/dist/utils/esm/utils-entry.js +46 -23
  72. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +2 -7
  73. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.js +3 -8
  74. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.js +2 -7
  75. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.js +4 -9
  76. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.js +2 -7
  77. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.js +4 -9
  78. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.js +4 -9
  79. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.js +2 -7
  80. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.js +5 -10
  81. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.js +2 -7
  82. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.js +2 -7
  83. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.js +2 -7
  84. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.js +3 -8
  85. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.js +2 -7
  86. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.js +3 -8
  87. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.js +4 -9
  88. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.js +2 -7
  89. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.js +2 -7
  90. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.js +2 -7
  91. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.js +3 -8
  92. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.js +2 -7
  93. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.js +4 -9
  94. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +2 -7
  95. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.js +2 -7
  96. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.js +3 -8
  97. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +4 -9
  98. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal-item.js +2 -7
  99. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +3 -8
  100. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.js +2 -7
  101. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-body.js +2 -7
  102. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-cell.js +2 -7
  103. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-cell.js +2 -7
  104. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head-row.js +2 -7
  105. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-head.js +2 -7
  106. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table-row.js +2 -7
  107. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.js +3 -8
  108. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +2 -7
  109. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-item.js +2 -7
  110. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.js +4 -9
  111. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.js +2 -7
  112. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag.js +2 -7
  113. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.js +7 -12
  114. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list-item.js +2 -7
  115. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-list.js +3 -8
  116. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text.js +2 -7
  117. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.js +4 -9
  118. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/splitChildren.js +26 -0
  119. package/ssr/lib/components/button-group.wrapper.d.ts +3 -3
  120. package/ssr/lib/components/button-pure.wrapper.d.ts +3 -3
  121. package/ssr/lib/components/divider.wrapper.d.ts +3 -3
  122. package/ssr/lib/components/flex-item.wrapper.d.ts +13 -13
  123. package/ssr/lib/components/flex.wrapper.d.ts +13 -13
  124. package/ssr/lib/components/grid-item.wrapper.d.ts +5 -5
  125. package/ssr/lib/components/grid.wrapper.d.ts +7 -7
  126. package/ssr/lib/components/icon.wrapper.d.ts +3 -3
  127. package/ssr/lib/components/link-pure.wrapper.d.ts +5 -5
  128. package/ssr/lib/components/link-tile.wrapper.d.ts +3 -3
  129. package/ssr/lib/components/link.wrapper.d.ts +3 -3
  130. package/ssr/lib/components/marque.wrapper.d.ts +3 -3
  131. package/ssr/lib/components/modal.wrapper.d.ts +3 -3
  132. package/ssr/lib/components/spinner.wrapper.d.ts +5 -5
  133. package/ssr/lib/components/switch.wrapper.d.ts +3 -3
  134. package/ssr/lib/types.d.ts +26 -47
  135. package/ssr/splitChildren.d.ts +17 -0
  136. package/testing/index.js +8 -42
  137. package/testing.d.ts +1 -9
@@ -0,0 +1 @@
1
+ export * from '@porsche-design-system/components-js/jsdom-polyfill';
@@ -1,16 +1,16 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { ButtonGroupDirection } from '../types';
2
+ import type { BreakpointCustomizable, ButtonGroupDirection } from '../types';
3
3
  export type PButtonGroupProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Defines the direction of the main and cross axis. The default is ’{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint ‘xs’. You always need to provide a base value when using breakpoints.
6
6
  */
7
- direction?: ButtonGroupDirection;
7
+ direction?: BreakpointCustomizable<ButtonGroupDirection>;
8
8
  };
9
9
  export declare const PButtonGroup: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
10
10
  /**
11
11
  * Defines the direction of the main and cross axis. The default is ’{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint ‘xs’. You always need to provide a base value when using breakpoints.
12
12
  */
13
- direction?: ButtonGroupDirection;
13
+ direction?: BreakpointCustomizable<ButtonGroupDirection>;
14
14
  } & {
15
15
  children?: import("react").ReactNode;
16
16
  } & import("react").RefAttributes<HTMLElement>>;
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { AlignLabel, SelectedAriaAttributes, ButtonAriaAttributes, BreakpointCustomizable, LinkButtonPureIconName, TextSize, ThemeExtendedElectricDark, ButtonType, TextWeight } from '../types';
2
+ import type { BreakpointCustomizable, AlignLabel, SelectedAriaAttributes, ButtonAriaAttributes, LinkButtonPureIconName, TextSize, ThemeExtendedElectricDark, ButtonType, TextWeight } from '../types';
3
3
  export type PButtonPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Display button in active state.
@@ -8,7 +8,7 @@ export type PButtonPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
8
8
  /**
9
9
  * Aligns the label.
10
10
  */
11
- alignLabel?: AlignLabel;
11
+ alignLabel?: BreakpointCustomizable<AlignLabel>;
12
12
  /**
13
13
  * Add ARIA attributes.
14
14
  */
@@ -67,7 +67,7 @@ export declare const PButtonPure: import("react").ForwardRefExoticComponent<Omit
67
67
  /**
68
68
  * Aligns the label.
69
69
  */
70
- alignLabel?: AlignLabel;
70
+ alignLabel?: BreakpointCustomizable<AlignLabel>;
71
71
  /**
72
72
  * Add ARIA attributes.
73
73
  */
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { DividerColor, DividerOrientation, Theme } from '../types';
2
+ import type { DividerColor, BreakpointCustomizable, DividerOrientation, Theme } from '../types';
3
3
  export type PDividerProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Defines color depending on theme.
@@ -8,7 +8,7 @@ export type PDividerProps = Omit<HTMLAttributes<{}>, 'color'> & {
8
8
  /**
9
9
  * Defines orientation.
10
10
  */
11
- orientation?: DividerOrientation;
11
+ orientation?: BreakpointCustomizable<DividerOrientation>;
12
12
  /**
13
13
  * Adapts color depending on theme.
14
14
  */
@@ -22,7 +22,7 @@ export declare const PDivider: import("react").ForwardRefExoticComponent<Omit<HT
22
22
  /**
23
23
  * Defines orientation.
24
24
  */
25
- orientation?: DividerOrientation;
25
+ orientation?: BreakpointCustomizable<DividerOrientation>;
26
26
  /**
27
27
  * Adapts color depending on theme.
28
28
  */
@@ -1,56 +1,56 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { FlexItemAlignSelf, FlexItemFlex, FlexItemGrow, FlexItemOffset, FlexItemShrink, FlexItemWidth } from '../types';
2
+ import type { BreakpointCustomizable, FlexItemAlignSelf, FlexItemFlex, FlexItemGrow, FlexItemOffset, FlexItemShrink, FlexItemWidth } from '../types';
3
3
  export type PFlexItemProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Defines how this flex item is aligned along the cross axis. This overwrites the cross axis alignment set by the container. Corresponds to the "alignSelf" css property.
6
6
  */
7
- alignSelf?: FlexItemAlignSelf;
7
+ alignSelf?: BreakpointCustomizable<FlexItemAlignSelf>;
8
8
  /**
9
9
  * The shorthand property for the combined definition of "shrink", "grow" and "basis"
10
10
  */
11
- flex?: FlexItemFlex;
11
+ flex?: BreakpointCustomizable<FlexItemFlex>;
12
12
  /**
13
13
  * The ability to allow/disallow the flex child to grow.
14
14
  */
15
- grow?: FlexItemGrow;
15
+ grow?: BreakpointCustomizable<FlexItemGrow>;
16
16
  /**
17
17
  * The offset of the column. You can also supply values for specific breakpoints, like {base: "none", l: "one-quarter"}. You always need to provide a base value when doing this.
18
18
  */
19
- offset?: FlexItemOffset;
19
+ offset?: BreakpointCustomizable<FlexItemOffset>;
20
20
  /**
21
21
  * The ability to allow/disallow the flex child to shrink.
22
22
  */
23
- shrink?: FlexItemShrink;
23
+ shrink?: BreakpointCustomizable<FlexItemShrink>;
24
24
  /**
25
25
  * The width of the flex item. You can also supply values for specific breakpoints, like {base: "full", l: "one-quarter"}. You always need to provide a base value when doing this.
26
26
  */
27
- width?: FlexItemWidth;
27
+ width?: BreakpointCustomizable<FlexItemWidth>;
28
28
  };
29
29
  export declare const PFlexItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
30
30
  /**
31
31
  * Defines how this flex item is aligned along the cross axis. This overwrites the cross axis alignment set by the container. Corresponds to the "alignSelf" css property.
32
32
  */
33
- alignSelf?: FlexItemAlignSelf;
33
+ alignSelf?: BreakpointCustomizable<FlexItemAlignSelf>;
34
34
  /**
35
35
  * The shorthand property for the combined definition of "shrink", "grow" and "basis"
36
36
  */
37
- flex?: FlexItemFlex;
37
+ flex?: BreakpointCustomizable<FlexItemFlex>;
38
38
  /**
39
39
  * The ability to allow/disallow the flex child to grow.
40
40
  */
41
- grow?: FlexItemGrow;
41
+ grow?: BreakpointCustomizable<FlexItemGrow>;
42
42
  /**
43
43
  * The offset of the column. You can also supply values for specific breakpoints, like {base: "none", l: "one-quarter"}. You always need to provide a base value when doing this.
44
44
  */
45
- offset?: FlexItemOffset;
45
+ offset?: BreakpointCustomizable<FlexItemOffset>;
46
46
  /**
47
47
  * The ability to allow/disallow the flex child to shrink.
48
48
  */
49
- shrink?: FlexItemShrink;
49
+ shrink?: BreakpointCustomizable<FlexItemShrink>;
50
50
  /**
51
51
  * The width of the flex item. You can also supply values for specific breakpoints, like {base: "full", l: "one-quarter"}. You always need to provide a base value when doing this.
52
52
  */
53
- width?: FlexItemWidth;
53
+ width?: BreakpointCustomizable<FlexItemWidth>;
54
54
  } & {
55
55
  children?: import("react").ReactNode;
56
56
  } & import("react").RefAttributes<HTMLElement>>;
@@ -1,56 +1,56 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { FlexAlignContent, FlexAlignItems, FlexDirection, FlexInline, FlexJustifyContent, FlexWrap } from '../types';
2
+ import type { BreakpointCustomizable, FlexAlignContent, FlexAlignItems, FlexDirection, FlexInline, FlexJustifyContent, FlexWrap } from '../types';
3
3
  export type PFlexProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * This aligns a flex container's individual lines when there is extra space in the cross-axis, similar to how "justifyContent" aligns individual items along the main axis.
6
6
  */
7
- alignContent?: FlexAlignContent;
7
+ alignContent?: BreakpointCustomizable<FlexAlignContent>;
8
8
  /**
9
9
  * Defines how the flex items are aligned along the cross axis.
10
10
  */
11
- alignItems?: FlexAlignItems;
11
+ alignItems?: BreakpointCustomizable<FlexAlignItems>;
12
12
  /**
13
13
  * Defines the direction of the main and cross axis. The default "row" defines the main axis as horizontal left to right.
14
14
  */
15
- direction?: FlexDirection;
15
+ direction?: BreakpointCustomizable<FlexDirection>;
16
16
  /**
17
17
  * Defines the flex containers content flow if 2 or more containers are siblings of each other.
18
18
  */
19
- inline?: FlexInline;
19
+ inline?: BreakpointCustomizable<FlexInline>;
20
20
  /**
21
21
  * Defines how the flex items are aligned along the main axis.
22
22
  */
23
- justifyContent?: FlexJustifyContent;
23
+ justifyContent?: BreakpointCustomizable<FlexJustifyContent>;
24
24
  /**
25
25
  * Handles wrapping behaviour of elements.
26
26
  */
27
- wrap?: FlexWrap;
27
+ wrap?: BreakpointCustomizable<FlexWrap>;
28
28
  };
29
29
  export declare const PFlex: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
30
30
  /**
31
31
  * This aligns a flex container's individual lines when there is extra space in the cross-axis, similar to how "justifyContent" aligns individual items along the main axis.
32
32
  */
33
- alignContent?: FlexAlignContent;
33
+ alignContent?: BreakpointCustomizable<FlexAlignContent>;
34
34
  /**
35
35
  * Defines how the flex items are aligned along the cross axis.
36
36
  */
37
- alignItems?: FlexAlignItems;
37
+ alignItems?: BreakpointCustomizable<FlexAlignItems>;
38
38
  /**
39
39
  * Defines the direction of the main and cross axis. The default "row" defines the main axis as horizontal left to right.
40
40
  */
41
- direction?: FlexDirection;
41
+ direction?: BreakpointCustomizable<FlexDirection>;
42
42
  /**
43
43
  * Defines the flex containers content flow if 2 or more containers are siblings of each other.
44
44
  */
45
- inline?: FlexInline;
45
+ inline?: BreakpointCustomizable<FlexInline>;
46
46
  /**
47
47
  * Defines how the flex items are aligned along the main axis.
48
48
  */
49
- justifyContent?: FlexJustifyContent;
49
+ justifyContent?: BreakpointCustomizable<FlexJustifyContent>;
50
50
  /**
51
51
  * Handles wrapping behaviour of elements.
52
52
  */
53
- wrap?: FlexWrap;
53
+ wrap?: BreakpointCustomizable<FlexWrap>;
54
54
  } & {
55
55
  children?: import("react").ReactNode;
56
56
  } & import("react").RefAttributes<HTMLElement>>;
@@ -1,24 +1,24 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { GridItemOffset, GridItemSize } from '../types';
2
+ import type { BreakpointCustomizable, GridItemOffset, GridItemSize } from '../types';
3
3
  export type PGridItemProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
6
6
  */
7
- offset?: GridItemOffset;
7
+ offset?: BreakpointCustomizable<GridItemOffset>;
8
8
  /**
9
9
  * The size of the column. Can be between 1 and 12. Also defines the size of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
10
10
  */
11
- size?: GridItemSize;
11
+ size?: BreakpointCustomizable<GridItemSize>;
12
12
  };
13
13
  export declare const PGridItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
14
14
  /**
15
15
  * The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
16
16
  */
17
- offset?: GridItemOffset;
17
+ offset?: BreakpointCustomizable<GridItemOffset>;
18
18
  /**
19
19
  * The size of the column. Can be between 1 and 12. Also defines the size of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
20
20
  */
21
- size?: GridItemSize;
21
+ size?: BreakpointCustomizable<GridItemSize>;
22
22
  } & {
23
23
  children?: import("react").ReactNode;
24
24
  } & import("react").RefAttributes<HTMLElement>>;
@@ -1,32 +1,32 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { GridDirection, GridGutter, GridWrap } from '../types';
2
+ import type { BreakpointCustomizable, GridDirection, GridGutter, GridWrap } from '../types';
3
3
  export type PGridProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Defines the direction of the main and cross axis. The default "row" defines the main axis as horizontal left to right. Also defines the direction for specific breakpoints, like {base: "column", l: "row"}. You always need to provide a base value when doing this.
6
6
  */
7
- direction?: GridDirection;
7
+ direction?: BreakpointCustomizable<GridDirection>;
8
8
  /**
9
9
  * Defines the gutter size for specific breakpoints. You always need to provide a base value when doing this.
10
10
  */
11
- gutter?: GridGutter;
11
+ gutter?: BreakpointCustomizable<GridGutter>;
12
12
  /**
13
13
  * Handles wrapping behaviour of elements.
14
14
  */
15
- wrap?: GridWrap;
15
+ wrap?: BreakpointCustomizable<GridWrap>;
16
16
  };
17
17
  export declare const PGrid: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
18
18
  /**
19
19
  * Defines the direction of the main and cross axis. The default "row" defines the main axis as horizontal left to right. Also defines the direction for specific breakpoints, like {base: "column", l: "row"}. You always need to provide a base value when doing this.
20
20
  */
21
- direction?: GridDirection;
21
+ direction?: BreakpointCustomizable<GridDirection>;
22
22
  /**
23
23
  * Defines the gutter size for specific breakpoints. You always need to provide a base value when doing this.
24
24
  */
25
- gutter?: GridGutter;
25
+ gutter?: BreakpointCustomizable<GridGutter>;
26
26
  /**
27
27
  * Handles wrapping behaviour of elements.
28
28
  */
29
- wrap?: GridWrap;
29
+ wrap?: BreakpointCustomizable<GridWrap>;
30
30
  } & {
31
31
  children?: import("react").ReactNode;
32
32
  } & import("react").RefAttributes<HTMLElement>>;
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { SelectedAriaAttributes, IconAriaAttributes, TextColor, IconName, IconSize, ThemeExtendedElectricDark } from '../types';
2
+ import type { SelectedAriaAttributes, IconAriaAttribute, TextColor, IconName, IconSize, ThemeExtendedElectricDark } from '../types';
3
3
  export type PIconProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Add ARIA attributes.
6
6
  */
7
- aria?: SelectedAriaAttributes<IconAriaAttributes>;
7
+ aria?: SelectedAriaAttributes<IconAriaAttribute>;
8
8
  /**
9
9
  * Basic color variations depending on theme property.
10
10
  */
@@ -34,7 +34,7 @@ export declare const PIcon: import("react").ForwardRefExoticComponent<Omit<HTMLA
34
34
  /**
35
35
  * Add ARIA attributes.
36
36
  */
37
- aria?: SelectedAriaAttributes<IconAriaAttributes>;
37
+ aria?: SelectedAriaAttributes<IconAriaAttribute>;
38
38
  /**
39
39
  * Basic color variations depending on theme property.
40
40
  */
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { AlignLabel, SelectedAriaAttributes, LinkAriaAttributes, BreakpointCustomizable, LinkButtonPureIconName, TextSize, LinkTarget, ThemeExtendedElectricDark, TextWeight } from '../types';
2
+ import type { BreakpointCustomizable, AlignLabel, SelectedAriaAttributes, LinkAriaAttribute, LinkButtonPureIconName, TextSize, LinkTarget, ThemeExtendedElectricDark, TextWeight } from '../types';
3
3
  export type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Display link in active state.
@@ -8,11 +8,11 @@ export type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
8
8
  /**
9
9
  * Aligns the label.
10
10
  */
11
- alignLabel?: AlignLabel;
11
+ alignLabel?: BreakpointCustomizable<AlignLabel>;
12
12
  /**
13
13
  * Add ARIA attributes.
14
14
  */
15
- aria?: SelectedAriaAttributes<LinkAriaAttributes>;
15
+ aria?: SelectedAriaAttributes<LinkAriaAttribute>;
16
16
  /**
17
17
  * Special download attribute to open native browser download dialog if target url points to a downloadable file.
18
18
  */
@@ -66,11 +66,11 @@ export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<H
66
66
  /**
67
67
  * Aligns the label.
68
68
  */
69
- alignLabel?: AlignLabel;
69
+ alignLabel?: BreakpointCustomizable<AlignLabel>;
70
70
  /**
71
71
  * Add ARIA attributes.
72
72
  */
73
- aria?: SelectedAriaAttributes<LinkAriaAttributes>;
73
+ aria?: SelectedAriaAttributes<LinkAriaAttribute>;
74
74
  /**
75
75
  * Special download attribute to open native browser download dialog if target url points to a downloadable file.
76
76
  */
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { LinkTileAlign, SelectedAriaAttributes, LinkAriaAttributes, BreakpointCustomizable, LinkTileAspectRatio, LinkTileSize, LinkTarget, LinkTileWeight } from '../types';
2
+ import type { LinkTileAlign, SelectedAriaAttributes, LinkAriaAttribute, BreakpointCustomizable, LinkTileAspectRatio, LinkTileSize, LinkTarget, LinkTileWeight } from '../types';
3
3
  export type PLinkTileProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Alignment of link and description.
@@ -8,7 +8,7 @@ export type PLinkTileProps = Omit<HTMLAttributes<{}>, 'color'> & {
8
8
  /**
9
9
  * Add ARIA attributes.
10
10
  */
11
- aria?: SelectedAriaAttributes<LinkAriaAttributes>;
11
+ aria?: SelectedAriaAttributes<LinkAriaAttribute>;
12
12
  /**
13
13
  * Aspect ratio of the link-tile.
14
14
  */
@@ -62,7 +62,7 @@ export declare const PLinkTile: import("react").ForwardRefExoticComponent<Omit<H
62
62
  /**
63
63
  * Add ARIA attributes.
64
64
  */
65
- aria?: SelectedAriaAttributes<LinkAriaAttributes>;
65
+ aria?: SelectedAriaAttributes<LinkAriaAttribute>;
66
66
  /**
67
67
  * Aspect ratio of the link-tile.
68
68
  */
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { SelectedAriaAttributes, LinkAriaAttributes, BreakpointCustomizable, IconName, LinkTarget, ThemeExtendedElectric, LinkVariant } from '../types';
2
+ import type { SelectedAriaAttributes, LinkAriaAttribute, BreakpointCustomizable, IconName, LinkTarget, ThemeExtendedElectric, LinkVariant } from '../types';
3
3
  export type PLinkProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Add ARIA attributes.
6
6
  */
7
- aria?: SelectedAriaAttributes<LinkAriaAttributes>;
7
+ aria?: SelectedAriaAttributes<LinkAriaAttribute>;
8
8
  /**
9
9
  * Special download attribute to open native browser download dialog if target url points to a downloadable file.
10
10
  */
@@ -46,7 +46,7 @@ export declare const PLink: import("react").ForwardRefExoticComponent<Omit<HTMLA
46
46
  /**
47
47
  * Add ARIA attributes.
48
48
  */
49
- aria?: SelectedAriaAttributes<LinkAriaAttributes>;
49
+ aria?: SelectedAriaAttributes<LinkAriaAttribute>;
50
50
  /**
51
51
  * Special download attribute to open native browser download dialog if target url points to a downloadable file.
52
52
  */
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { SelectedAriaAttributes, MarqueAriaAttributes, MarqueSize, LinkTarget } from '../types';
2
+ import type { SelectedAriaAttributes, MarqueAriaAttribute, MarqueSize, LinkTarget } from '../types';
3
3
  export type PMarqueProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Add ARIA attributes.
6
6
  */
7
- aria?: SelectedAriaAttributes<MarqueAriaAttributes>;
7
+ aria?: SelectedAriaAttributes<MarqueAriaAttribute>;
8
8
  /**
9
9
  * When providing an url then the component will be rendered as `<a>`.
10
10
  */
@@ -26,7 +26,7 @@ export declare const PMarque: import("react").ForwardRefExoticComponent<Omit<HTM
26
26
  /**
27
27
  * Add ARIA attributes.
28
28
  */
29
- aria?: SelectedAriaAttributes<MarqueAriaAttributes>;
29
+ aria?: SelectedAriaAttributes<MarqueAriaAttribute>;
30
30
  /**
31
31
  * When providing an url then the component will be rendered as `<a>`.
32
32
  */
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { SelectedAriaAttributes, ModalAriaAttributes, BreakpointCustomizable } from '../types';
2
+ import type { SelectedAriaAttributes, ModalAriaAttribute, BreakpointCustomizable } from '../types';
3
3
  export type PModalProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Add ARIA attributes.
6
6
  */
7
- aria?: SelectedAriaAttributes<ModalAriaAttributes>;
7
+ aria?: SelectedAriaAttributes<ModalAriaAttribute>;
8
8
  /**
9
9
  * If true, the modal will not be closable via backdrop click.
10
10
  */
@@ -34,7 +34,7 @@ export declare const PModal: import("react").ForwardRefExoticComponent<Omit<HTML
34
34
  /**
35
35
  * Add ARIA attributes.
36
36
  */
37
- aria?: SelectedAriaAttributes<ModalAriaAttributes>;
37
+ aria?: SelectedAriaAttributes<ModalAriaAttribute>;
38
38
  /**
39
39
  * If true, the modal will not be closable via backdrop click.
40
40
  */
@@ -1,14 +1,14 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { SelectedAriaAttributes, SpinnerAriaAttributes, SpinnerSize, ThemeExtendedElectricDark } from '../types';
2
+ import type { SelectedAriaAttributes, SpinnerAriaAttribute, BreakpointCustomizable, SpinnerSize, ThemeExtendedElectricDark } from '../types';
3
3
  export type PSpinnerProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Add ARIA attributes.
6
6
  */
7
- aria?: SelectedAriaAttributes<SpinnerAriaAttributes>;
7
+ aria?: SelectedAriaAttributes<SpinnerAriaAttribute>;
8
8
  /**
9
9
  * Size of the spinner.
10
10
  */
11
- size?: SpinnerSize;
11
+ size?: BreakpointCustomizable<SpinnerSize>;
12
12
  /**
13
13
  * Adapts the spinner color depending on the theme.
14
14
  */
@@ -18,11 +18,11 @@ export declare const PSpinner: import("react").ForwardRefExoticComponent<Omit<HT
18
18
  /**
19
19
  * Add ARIA attributes.
20
20
  */
21
- aria?: SelectedAriaAttributes<SpinnerAriaAttributes>;
21
+ aria?: SelectedAriaAttributes<SpinnerAriaAttribute>;
22
22
  /**
23
23
  * Size of the spinner.
24
24
  */
25
- size?: SpinnerSize;
25
+ size?: BreakpointCustomizable<SpinnerSize>;
26
26
  /**
27
27
  * Adapts the spinner color depending on the theme.
28
28
  */
@@ -1,10 +1,10 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import type { AlignLabel, BreakpointCustomizable, SwitchChangeEvent, ThemeExtendedElectric } from '../types';
2
+ import type { BreakpointCustomizable, AlignLabel, SwitchChangeEvent, ThemeExtendedElectric } from '../types';
3
3
  export type PSwitchProps = Omit<HTMLAttributes<{}>, 'color'> & {
4
4
  /**
5
5
  * Aligns the label.
6
6
  */
7
- alignLabel?: AlignLabel;
7
+ alignLabel?: BreakpointCustomizable<AlignLabel>;
8
8
  /**
9
9
  * Visualize the switch with on/off status.
10
10
  */
@@ -43,7 +43,7 @@ export declare const PSwitch: import("react").ForwardRefExoticComponent<Omit<HTM
43
43
  /**
44
44
  * Aligns the label.
45
45
  */
46
- alignLabel?: AlignLabel;
46
+ alignLabel?: BreakpointCustomizable<AlignLabel>;
47
47
  /**
48
48
  * Visualize the switch with on/off status.
49
49
  */