@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.
- package/CHANGELOG.md +12 -2
- package/jsdom-polyfill/index.js +1 -1
- package/lib/components/accordion.wrapper.d.ts +2 -2
- package/lib/components/banner.wrapper.d.ts +2 -2
- package/lib/components/button-group.wrapper.d.ts +2 -2
- package/lib/components/button-pure.wrapper.d.ts +2 -2
- package/lib/components/button.wrapper.d.ts +2 -2
- package/lib/components/carousel.wrapper.d.ts +2 -2
- package/lib/components/checkbox-wrapper.wrapper.d.ts +2 -2
- package/lib/components/content-wrapper.wrapper.d.ts +2 -2
- package/lib/components/divider.wrapper.d.ts +2 -2
- package/lib/components/fieldset-wrapper.wrapper.d.ts +2 -2
- package/lib/components/flex-item.wrapper.d.ts +2 -2
- package/lib/components/flex.wrapper.d.ts +2 -2
- package/lib/components/grid-item.wrapper.d.ts +2 -2
- package/lib/components/grid.wrapper.d.ts +2 -2
- package/lib/components/headline.wrapper.d.ts +2 -2
- package/lib/components/icon.wrapper.d.ts +2 -2
- package/lib/components/inline-notification.wrapper.d.ts +2 -2
- package/lib/components/link-pure.wrapper.d.ts +2 -2
- package/lib/components/link-social.wrapper.d.ts +2 -2
- package/lib/components/link.wrapper.d.ts +2 -2
- package/lib/components/marque.wrapper.d.ts +2 -2
- package/lib/components/modal.wrapper.d.ts +2 -2
- package/lib/components/pagination.wrapper.d.ts +2 -2
- package/lib/components/popover.wrapper.d.ts +2 -2
- package/lib/components/radio-button-wrapper.wrapper.d.ts +2 -2
- package/lib/components/scroller.wrapper.d.ts +2 -2
- package/lib/components/segmented-control-item.wrapper.d.ts +2 -2
- package/lib/components/segmented-control.wrapper.d.ts +2 -2
- package/lib/components/select-wrapper.wrapper.d.ts +2 -2
- package/lib/components/spinner.wrapper.d.ts +2 -2
- package/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -2
- package/lib/components/stepper-horizontal.wrapper.d.ts +2 -2
- package/lib/components/switch.wrapper.d.ts +2 -2
- package/lib/components/table-body.wrapper.d.ts +2 -2
- package/lib/components/table-cell.wrapper.d.ts +2 -2
- package/lib/components/table-head-cell.wrapper.d.ts +2 -2
- package/lib/components/table-head-row.wrapper.d.ts +2 -2
- package/lib/components/table-head.wrapper.d.ts +2 -2
- package/lib/components/table-row.wrapper.d.ts +2 -2
- package/lib/components/table.wrapper.d.ts +2 -2
- package/lib/components/tabs-bar.wrapper.d.ts +2 -2
- package/lib/components/tabs-item.wrapper.d.ts +2 -2
- package/lib/components/tabs.wrapper.d.ts +2 -2
- package/lib/components/tag-dismissible.wrapper.d.ts +2 -2
- package/lib/components/tag.wrapper.d.ts +2 -2
- package/lib/components/text-field-wrapper.wrapper.d.ts +2 -2
- package/lib/components/text-list-item.wrapper.d.ts +2 -2
- package/lib/components/text-list.wrapper.d.ts +2 -2
- package/lib/components/text.wrapper.d.ts +2 -2
- package/lib/components/textarea-wrapper.wrapper.d.ts +2 -2
- package/lib/components/toast.wrapper.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { AccordionChangeEvent, BreakpointCustomizable, AccordionSize, HeadlineTag, ThemeExtendedElectric } from '../types';
|
|
3
|
-
export declare type PAccordionProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PAccordionProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Displays the Accordion as compact version with thinner border and smaller paddings.
|
|
6
6
|
*/
|
|
@@ -30,7 +30,7 @@ export declare type PAccordionProps = HTMLAttributes<{}> & {
|
|
|
30
30
|
*/
|
|
31
31
|
theme?: ThemeExtendedElectric;
|
|
32
32
|
};
|
|
33
|
-
export declare const PAccordion: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
33
|
+
export declare const PAccordion: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
34
34
|
/**
|
|
35
35
|
* Displays the Accordion as compact version with thinner border and smaller paddings.
|
|
36
36
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BannerState, Theme, BannerWidth } from '../types';
|
|
3
|
-
export declare type PBannerProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PBannerProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Emitted when the close button is clicked.
|
|
6
6
|
*/
|
|
@@ -22,7 +22,7 @@ export declare type PBannerProps = HTMLAttributes<{}> & {
|
|
|
22
22
|
*/
|
|
23
23
|
width?: BannerWidth;
|
|
24
24
|
};
|
|
25
|
-
export declare const PBanner: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
25
|
+
export declare const PBanner: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
26
26
|
/**
|
|
27
27
|
* Emitted when the close button is clicked.
|
|
28
28
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { ButtonGroupDirection } from '../types';
|
|
3
|
-
export declare type PButtonGroupProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare 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
7
|
direction?: ButtonGroupDirection;
|
|
8
8
|
};
|
|
9
|
-
export declare const PButtonGroup: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
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
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { AlignLabel, SelectedAriaAttributes, ButtonAriaAttributes, BreakpointCustomizable, LinkButtonPureIconName, TextSize, ThemeExtendedElectricDark, ButtonType, TextWeight } from '../types';
|
|
3
|
-
export declare type PButtonPureProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PButtonPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Display button in active state.
|
|
6
6
|
*/
|
|
@@ -59,7 +59,7 @@ export declare type PButtonPureProps = HTMLAttributes<{}> & {
|
|
|
59
59
|
*/
|
|
60
60
|
weight?: TextWeight;
|
|
61
61
|
};
|
|
62
|
-
export declare const PButtonPure: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
62
|
+
export declare const PButtonPure: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
63
63
|
/**
|
|
64
64
|
* Display button in active state.
|
|
65
65
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { SelectedAriaAttributes, ButtonAriaAttributes, BreakpointCustomizable, IconName, ThemeExtendedElectric, ButtonType, ButtonVariant } from '../types';
|
|
3
|
-
export declare type PButtonProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PButtonProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -43,7 +43,7 @@ export declare type PButtonProps = HTMLAttributes<{}> & {
|
|
|
43
43
|
*/
|
|
44
44
|
variant?: ButtonVariant;
|
|
45
45
|
};
|
|
46
|
-
export declare const PButton: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
46
|
+
export declare const PButton: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
47
47
|
/**
|
|
48
48
|
* Add ARIA attributes.
|
|
49
49
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, CarouselInternationalization, CarouselChangeEvent, Theme } from '../types';
|
|
3
|
-
export declare type PCarouselProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PCarouselProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Defines the description used in the carousel.
|
|
6
6
|
*/
|
|
@@ -34,7 +34,7 @@ export declare type PCarouselProps = HTMLAttributes<{}> & {
|
|
|
34
34
|
*/
|
|
35
35
|
wrapContent?: boolean;
|
|
36
36
|
};
|
|
37
|
-
export declare const PCarousel: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
37
|
+
export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
38
38
|
/**
|
|
39
39
|
* Defines the description used in the carousel.
|
|
40
40
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, FormState } from '../types';
|
|
3
|
-
export declare type PCheckboxWrapperProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PCheckboxWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Show or hide label. For better accessibility it's recommended to show the label.
|
|
6
6
|
*/
|
|
@@ -18,7 +18,7 @@ export declare type PCheckboxWrapperProps = HTMLAttributes<{}> & {
|
|
|
18
18
|
*/
|
|
19
19
|
state?: FormState;
|
|
20
20
|
};
|
|
21
|
-
export declare const PCheckboxWrapper: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
21
|
+
export declare const PCheckboxWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
22
22
|
/**
|
|
23
23
|
* Show or hide label. For better accessibility it's recommended to show the label.
|
|
24
24
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { ContentWrapperBackgroundColor, Theme, ContentWrapperWidth } from '../types';
|
|
3
|
-
export declare type PContentWrapperProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PContentWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Defines the background color.
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type PContentWrapperProps = HTMLAttributes<{}> & {
|
|
|
14
14
|
*/
|
|
15
15
|
width?: ContentWrapperWidth;
|
|
16
16
|
};
|
|
17
|
-
export declare const PContentWrapper: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
17
|
+
export declare const PContentWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
18
18
|
/**
|
|
19
19
|
* Defines the background color.
|
|
20
20
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { DividerColor, DividerOrientation, Theme } from '../types';
|
|
3
|
-
export declare type PDividerProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PDividerProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Defines color depending on theme.
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type PDividerProps = HTMLAttributes<{}> & {
|
|
|
14
14
|
*/
|
|
15
15
|
theme?: Theme;
|
|
16
16
|
};
|
|
17
|
-
export declare const PDivider: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
17
|
+
export declare const PDivider: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
18
18
|
/**
|
|
19
19
|
* Defines color depending on theme.
|
|
20
20
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { FieldsetWrapperLabelSize, FormState } from '../types';
|
|
3
|
-
export declare type PFieldsetWrapperProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PFieldsetWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* The label text.
|
|
6
6
|
*/
|
|
@@ -22,7 +22,7 @@ export declare type PFieldsetWrapperProps = HTMLAttributes<{}> & {
|
|
|
22
22
|
*/
|
|
23
23
|
state?: FormState;
|
|
24
24
|
};
|
|
25
|
-
export declare const PFieldsetWrapper: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
25
|
+
export declare const PFieldsetWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
26
26
|
/**
|
|
27
27
|
* The label text.
|
|
28
28
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { FlexItemAlignSelf, FlexItemFlex, FlexItemGrow, FlexItemOffset, FlexItemShrink, FlexItemWidth } from '../types';
|
|
3
|
-
export declare type PFlexItemProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare 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
|
*/
|
|
@@ -26,7 +26,7 @@ export declare type PFlexItemProps = HTMLAttributes<{}> & {
|
|
|
26
26
|
*/
|
|
27
27
|
width?: FlexItemWidth;
|
|
28
28
|
};
|
|
29
|
-
export declare const PFlexItem: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
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
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { FlexAlignContent, FlexAlignItems, FlexDirection, FlexInline, FlexJustifyContent, FlexWrap } from '../types';
|
|
3
|
-
export declare type PFlexProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare 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
|
*/
|
|
@@ -26,7 +26,7 @@ export declare type PFlexProps = HTMLAttributes<{}> & {
|
|
|
26
26
|
*/
|
|
27
27
|
wrap?: FlexWrap;
|
|
28
28
|
};
|
|
29
|
-
export declare const PFlex: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
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
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { GridItemOffset, GridItemSize } from '../types';
|
|
3
|
-
export declare type PGridItemProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare 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
|
*/
|
|
@@ -10,7 +10,7 @@ export declare type PGridItemProps = HTMLAttributes<{}> & {
|
|
|
10
10
|
*/
|
|
11
11
|
size?: GridItemSize;
|
|
12
12
|
};
|
|
13
|
-
export declare const PGridItem: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
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
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { GridDirection, GridGutter, GridWrap } from '../types';
|
|
3
|
-
export declare type PGridProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare 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
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type PGridProps = HTMLAttributes<{}> & {
|
|
|
14
14
|
*/
|
|
15
15
|
wrap?: GridWrap;
|
|
16
16
|
};
|
|
17
|
-
export declare const PGrid: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
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
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { TextAlign, TextColor, HeadlineTag, Theme, HeadlineVariant } from '../types';
|
|
3
|
-
export declare type PHeadlineProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PHeadlineProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Text alignment of the component.
|
|
6
6
|
*/
|
|
@@ -26,7 +26,7 @@ export declare type PHeadlineProps = HTMLAttributes<{}> & {
|
|
|
26
26
|
*/
|
|
27
27
|
variant?: HeadlineVariant;
|
|
28
28
|
};
|
|
29
|
-
export declare const PHeadline: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
29
|
+
export declare const PHeadline: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
30
30
|
/**
|
|
31
31
|
* Text alignment of the component.
|
|
32
32
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { SelectedAriaAttributes, IconAriaAttributes, TextColor, IconName, IconSize, ThemeExtendedElectricDark } from '../types';
|
|
3
|
-
export declare type PIconProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PIconProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -30,7 +30,7 @@ export declare type PIconProps = HTMLAttributes<{}> & {
|
|
|
30
30
|
*/
|
|
31
31
|
theme?: ThemeExtendedElectricDark;
|
|
32
32
|
};
|
|
33
|
-
export declare const PIcon: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
33
|
+
export declare const PIcon: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
34
34
|
/**
|
|
35
35
|
* Add ARIA attributes.
|
|
36
36
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { IconName, InlineNotificationState, Theme } from '../types';
|
|
3
|
-
export declare type PInlineNotificationProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PInlineNotificationProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Action icon of the inline-notification.
|
|
6
6
|
*/
|
|
@@ -42,7 +42,7 @@ export declare type PInlineNotificationProps = HTMLAttributes<{}> & {
|
|
|
42
42
|
*/
|
|
43
43
|
theme?: Theme;
|
|
44
44
|
};
|
|
45
|
-
export declare const PInlineNotification: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
45
|
+
export declare const PInlineNotification: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
46
46
|
/**
|
|
47
47
|
* Action icon of the inline-notification.
|
|
48
48
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { AlignLabel, SelectedAriaAttributes, LinkAriaAttributes, BreakpointCustomizable, LinkButtonPureIconName, TextSize, LinkTarget, ThemeExtendedElectricDark, TextWeight } from '../types';
|
|
3
|
-
export declare type PLinkPureProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Display link in active state.
|
|
6
6
|
*/
|
|
@@ -58,7 +58,7 @@ export declare type PLinkPureProps = HTMLAttributes<{}> & {
|
|
|
58
58
|
*/
|
|
59
59
|
weight?: TextWeight;
|
|
60
60
|
};
|
|
61
|
-
export declare const PLinkPure: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
61
|
+
export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
62
62
|
/**
|
|
63
63
|
* Display link in active state.
|
|
64
64
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, SocialIconName, LinkTarget, Theme } from '../types';
|
|
3
|
-
export declare type PLinkSocialProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PLinkSocialProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Show or hide label.
|
|
6
6
|
*/
|
|
@@ -30,7 +30,7 @@ export declare type PLinkSocialProps = HTMLAttributes<{}> & {
|
|
|
30
30
|
*/
|
|
31
31
|
theme?: Theme;
|
|
32
32
|
};
|
|
33
|
-
export declare const PLinkSocial: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
33
|
+
export declare const PLinkSocial: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
34
34
|
/**
|
|
35
35
|
* Show or hide label.
|
|
36
36
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { SelectedAriaAttributes, LinkAriaAttributes, BreakpointCustomizable, IconName, LinkTarget, ThemeExtendedElectric, LinkVariant } from '../types';
|
|
3
|
-
export declare type PLinkProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PLinkProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -42,7 +42,7 @@ export declare type PLinkProps = HTMLAttributes<{}> & {
|
|
|
42
42
|
*/
|
|
43
43
|
variant?: LinkVariant;
|
|
44
44
|
};
|
|
45
|
-
export declare const PLink: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
45
|
+
export declare const PLink: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
46
46
|
/**
|
|
47
47
|
* Add ARIA attributes.
|
|
48
48
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { SelectedAriaAttributes, MarqueAriaAttributes, MarqueSize, LinkTarget } from '../types';
|
|
3
|
-
export declare type PMarqueProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PMarqueProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -22,7 +22,7 @@ export declare type PMarqueProps = HTMLAttributes<{}> & {
|
|
|
22
22
|
*/
|
|
23
23
|
trademark?: boolean;
|
|
24
24
|
};
|
|
25
|
-
export declare const PMarque: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
25
|
+
export declare const PMarque: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
26
26
|
/**
|
|
27
27
|
* Add ARIA attributes.
|
|
28
28
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { SelectedAriaAttributes, ModalAriaAttributes, BreakpointCustomizable } from '../types';
|
|
3
|
-
export declare type PModalProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PModalProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -30,7 +30,7 @@ export declare type PModalProps = HTMLAttributes<{}> & {
|
|
|
30
30
|
*/
|
|
31
31
|
open: boolean;
|
|
32
32
|
};
|
|
33
|
-
export declare const PModal: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
33
|
+
export declare const PModal: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
34
34
|
/**
|
|
35
35
|
* Add ARIA attributes.
|
|
36
36
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, NumberOfPageLinks, PageChangeEvent, Theme } from '../types';
|
|
3
|
-
export declare type PPaginationProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PPaginationProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Index of the currently active page.
|
|
6
6
|
*/
|
|
@@ -42,7 +42,7 @@ export declare type PPaginationProps = HTMLAttributes<{}> & {
|
|
|
42
42
|
*/
|
|
43
43
|
totalItemsCount: number;
|
|
44
44
|
};
|
|
45
|
-
export declare const PPagination: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
45
|
+
export declare const PPagination: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
46
46
|
/**
|
|
47
47
|
* Index of the currently active page.
|
|
48
48
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { SelectedAriaAttributes, PopoverDirection } from '../types';
|
|
3
|
-
export declare type PPopoverProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PPopoverProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type PPopoverProps = HTMLAttributes<{}> & {
|
|
|
14
14
|
*/
|
|
15
15
|
direction?: PopoverDirection;
|
|
16
16
|
};
|
|
17
|
-
export declare const PPopover: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
17
|
+
export declare const PPopover: 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 { BreakpointCustomizable, FormState } from '../types';
|
|
3
|
-
export declare type PRadioButtonWrapperProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare 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
|
*/
|
|
@@ -18,7 +18,7 @@ export declare type PRadioButtonWrapperProps = HTMLAttributes<{}> & {
|
|
|
18
18
|
*/
|
|
19
19
|
state?: FormState;
|
|
20
20
|
};
|
|
21
|
-
export declare const PRadioButtonWrapper: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
21
|
+
export declare const PRadioButtonWrapper: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
22
22
|
/**
|
|
23
23
|
* Show or hide label. For better accessibility it's recommended to show the label.
|
|
24
24
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { GradientColorTheme, ScrollIndicatorPosition, ScrollToPosition, ThemeExtendedElectric } from '../types';
|
|
3
|
-
export declare type PScrollerProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PScrollerProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Adapts the background gradient color of prev and next button.
|
|
6
6
|
*/
|
|
@@ -18,7 +18,7 @@ export declare type PScrollerProps = HTMLAttributes<{}> & {
|
|
|
18
18
|
*/
|
|
19
19
|
theme?: ThemeExtendedElectric;
|
|
20
20
|
};
|
|
21
|
-
export declare const PScroller: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
21
|
+
export declare const PScroller: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
22
22
|
/**
|
|
23
23
|
* Adapts the background gradient color of prev and next button.
|
|
24
24
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { IconName } from '../types';
|
|
3
|
-
export declare type PSegmentedControlItemProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare 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 declare type PSegmentedControlItemProps = HTMLAttributes<{}> & {
|
|
|
22
22
|
*/
|
|
23
23
|
value: string | number;
|
|
24
24
|
};
|
|
25
|
-
export declare const PSegmentedControlItem: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
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, SegmentedControlChangeEvent, Theme } from '../types';
|
|
3
|
-
export declare type PSegmentedControlProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PSegmentedControlProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Background color variations
|
|
6
6
|
*/
|
|
@@ -18,7 +18,7 @@ export declare type PSegmentedControlProps = HTMLAttributes<{}> & {
|
|
|
18
18
|
*/
|
|
19
19
|
value?: string | number;
|
|
20
20
|
};
|
|
21
|
-
export declare const PSegmentedControl: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
21
|
+
export declare const PSegmentedControl: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
22
22
|
/**
|
|
23
23
|
* Background color variations
|
|
24
24
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { DropdownDirection, BreakpointCustomizable, FormState, Theme } from '../types';
|
|
3
|
-
export declare type PSelectWrapperProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PSelectWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* The description text.
|
|
6
6
|
*/
|
|
@@ -38,7 +38,7 @@ export declare type PSelectWrapperProps = HTMLAttributes<{}> & {
|
|
|
38
38
|
*/
|
|
39
39
|
theme?: Theme;
|
|
40
40
|
};
|
|
41
|
-
export declare const PSelectWrapper: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
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, SpinnerAriaAttributes, SpinnerSize, ThemeExtendedElectricDark } from '../types';
|
|
3
|
-
export declare type PSpinnerProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PSpinnerProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type PSpinnerProps = HTMLAttributes<{}> & {
|
|
|
14
14
|
*/
|
|
15
15
|
theme?: ThemeExtendedElectricDark;
|
|
16
16
|
};
|
|
17
|
-
export declare const PSpinner: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
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 { StepperState } from '../types';
|
|
3
|
-
export declare type PStepperHorizontalItemProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare 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 declare type PStepperHorizontalItemProps = HTMLAttributes<{}> & {
|
|
|
10
10
|
*/
|
|
11
11
|
state?: StepperState;
|
|
12
12
|
};
|
|
13
|
-
export declare const PStepperHorizontalItem: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
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 { StepChangeEvent, BreakpointCustomizable, StepperHorizontalSize, Theme } from '../types';
|
|
3
|
-
export declare type PStepperHorizontalProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PStepperHorizontalProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Emitted when active step is changed.
|
|
6
6
|
*/
|
|
@@ -14,7 +14,7 @@ export declare type PStepperHorizontalProps = HTMLAttributes<{}> & {
|
|
|
14
14
|
*/
|
|
15
15
|
theme?: Theme;
|
|
16
16
|
};
|
|
17
|
-
export declare const PStepperHorizontal: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
17
|
+
export declare const PStepperHorizontal: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
18
18
|
/**
|
|
19
19
|
* Emitted when active step is changed.
|
|
20
20
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { AlignLabel, BreakpointCustomizable, SwitchChangeEvent, ThemeExtendedElectric } from '../types';
|
|
3
|
-
export declare type PSwitchProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare type PSwitchProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Aligns the label.
|
|
6
6
|
*/
|
|
@@ -39,7 +39,7 @@ export declare type PSwitchProps = HTMLAttributes<{}> & {
|
|
|
39
39
|
*/
|
|
40
40
|
theme?: ThemeExtendedElectric;
|
|
41
41
|
};
|
|
42
|
-
export declare const PSwitch: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
42
|
+
export declare const PSwitch: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
43
43
|
/**
|
|
44
44
|
* Aligns the label.
|
|
45
45
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
export declare type PTableBodyProps = HTMLAttributes<{}> & {};
|
|
3
|
-
export declare const PTableBody: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
2
|
+
export declare 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 declare type PTableCellProps = HTMLAttributes<{}> & {
|
|
2
|
+
export declare 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<HTMLAttributes<{}> & {
|
|
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 declare type PTableHeadCellProps = HTMLAttributes<{}> & {
|
|
3
|
+
export declare 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 declare type PTableHeadCellProps = HTMLAttributes<{}> & {
|
|
|
14
14
|
*/
|
|
15
15
|
sort?: TableHeadCellSort;
|
|
16
16
|
};
|
|
17
|
-
export declare const PTableHeadCell: import("react").ForwardRefExoticComponent<HTMLAttributes<{}> & {
|
|
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
|
*/
|