@porsche-design-system/components-react 3.0.0-rc.1 → 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.
- package/CHANGELOG.md +54 -0
- package/bin/patchRemixRunProcessBrowserGlobalIdentifier.js +35 -26
- package/esm/lib/components/icon.wrapper.js +1 -1
- package/esm/lib/components/scroller.wrapper.js +3 -3
- 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-tile.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/crest.wrapper.d.ts +2 -2
- package/lib/components/display.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/fieldset.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/heading.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/icon.wrapper.js +1 -1
- 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-tile-model-signature.wrapper.d.ts +2 -2
- package/lib/components/link-tile.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/model-signature.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 +17 -9
- package/lib/components/scroller.wrapper.js +3 -3
- 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/lib/components/wordmark.wrapper.d.ts +2 -2
- package/lib/types.d.ts +210 -191
- package/package.json +2 -2
- package/ssr/components/dist/styles/esm/styles-entry.js +203 -88
- package/ssr/components/dist/utils/esm/utils-entry.js +45 -7
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/icon.wrapper.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/scroller.wrapper.js +4 -4
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/select-wrapper-dropdown.wrapper.js +38 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/components/stepper-horizontal.wrapper.js +0 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +2 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper-dropdown.js +34 -0
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +6 -3
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +1 -1
- package/ssr/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +1 -1
- package/ssr/esm/components/dist/styles/esm/styles-entry.js +203 -89
- package/ssr/esm/components/dist/utils/esm/utils-entry.js +40 -8
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/icon.wrapper.js +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/scroller.wrapper.js +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/select-wrapper-dropdown.wrapper.js +36 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/stepper-horizontal.wrapper.js +0 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.js +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.js +3 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper-dropdown.js +32 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.js +6 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.js +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.js +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/wordmark.js +1 -1
- package/ssr/lib/components/accordion.wrapper.d.ts +2 -2
- package/ssr/lib/components/banner.wrapper.d.ts +2 -2
- package/ssr/lib/components/button-group.wrapper.d.ts +2 -2
- package/ssr/lib/components/button-pure.wrapper.d.ts +2 -2
- package/ssr/lib/components/button-tile.wrapper.d.ts +2 -2
- package/ssr/lib/components/button.wrapper.d.ts +2 -2
- package/ssr/lib/components/carousel.wrapper.d.ts +2 -2
- package/ssr/lib/components/checkbox-wrapper.wrapper.d.ts +2 -2
- package/ssr/lib/components/content-wrapper.wrapper.d.ts +2 -2
- package/ssr/lib/components/crest.wrapper.d.ts +2 -2
- package/ssr/lib/components/display.wrapper.d.ts +2 -2
- package/ssr/lib/components/divider.wrapper.d.ts +2 -2
- package/ssr/lib/components/fieldset-wrapper.wrapper.d.ts +2 -2
- package/ssr/lib/components/fieldset.wrapper.d.ts +2 -2
- package/ssr/lib/components/flex-item.wrapper.d.ts +2 -2
- package/ssr/lib/components/flex.wrapper.d.ts +2 -2
- package/ssr/lib/components/grid-item.wrapper.d.ts +2 -2
- package/ssr/lib/components/grid.wrapper.d.ts +2 -2
- package/ssr/lib/components/heading.wrapper.d.ts +2 -2
- package/ssr/lib/components/headline.wrapper.d.ts +2 -2
- package/ssr/lib/components/icon.wrapper.d.ts +2 -2
- package/ssr/lib/components/inline-notification.wrapper.d.ts +2 -2
- package/ssr/lib/components/link-pure.wrapper.d.ts +2 -2
- package/ssr/lib/components/link-social.wrapper.d.ts +2 -2
- package/ssr/lib/components/link-tile-model-signature.wrapper.d.ts +2 -2
- package/ssr/lib/components/link-tile.wrapper.d.ts +2 -2
- package/ssr/lib/components/link.wrapper.d.ts +2 -2
- package/ssr/lib/components/marque.wrapper.d.ts +2 -2
- package/ssr/lib/components/modal.wrapper.d.ts +2 -2
- package/ssr/lib/components/model-signature.wrapper.d.ts +2 -2
- package/ssr/lib/components/pagination.wrapper.d.ts +2 -2
- package/ssr/lib/components/popover.wrapper.d.ts +2 -2
- package/ssr/lib/components/radio-button-wrapper.wrapper.d.ts +2 -2
- package/ssr/lib/components/scroller.wrapper.d.ts +17 -9
- package/ssr/lib/components/segmented-control-item.wrapper.d.ts +2 -2
- package/ssr/lib/components/segmented-control.wrapper.d.ts +2 -2
- package/ssr/lib/components/select-wrapper-dropdown.wrapper.d.ts +30 -0
- package/ssr/lib/components/select-wrapper.wrapper.d.ts +2 -2
- package/ssr/lib/components/spinner.wrapper.d.ts +2 -2
- package/ssr/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -2
- package/ssr/lib/components/stepper-horizontal.wrapper.d.ts +2 -2
- package/ssr/lib/components/switch.wrapper.d.ts +2 -2
- package/ssr/lib/components/table-body.wrapper.d.ts +2 -2
- package/ssr/lib/components/table-cell.wrapper.d.ts +2 -2
- package/ssr/lib/components/table-head-cell.wrapper.d.ts +2 -2
- package/ssr/lib/components/table-head-row.wrapper.d.ts +2 -2
- package/ssr/lib/components/table-head.wrapper.d.ts +2 -2
- package/ssr/lib/components/table-row.wrapper.d.ts +2 -2
- package/ssr/lib/components/table.wrapper.d.ts +2 -2
- package/ssr/lib/components/tabs-bar.wrapper.d.ts +2 -2
- package/ssr/lib/components/tabs-item.wrapper.d.ts +2 -2
- package/ssr/lib/components/tabs.wrapper.d.ts +2 -2
- package/ssr/lib/components/tag-dismissible.wrapper.d.ts +2 -2
- package/ssr/lib/components/tag.wrapper.d.ts +2 -2
- package/ssr/lib/components/text-field-wrapper.wrapper.d.ts +2 -2
- package/ssr/lib/components/text-list-item.wrapper.d.ts +2 -2
- package/ssr/lib/components/text-list.wrapper.d.ts +2 -2
- package/ssr/lib/components/text.wrapper.d.ts +2 -2
- package/ssr/lib/components/textarea-wrapper.wrapper.d.ts +2 -2
- package/ssr/lib/components/toast.wrapper.d.ts +2 -2
- package/ssr/lib/components/wordmark.wrapper.d.ts +2 -2
- package/ssr/lib/dsr-components/select-wrapper.d.ts +0 -1
- package/ssr/lib/types.d.ts +210 -191
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, FlexAlignContent, FlexAlignItems, FlexDirection, FlexInline, FlexJustifyContent, FlexWrap } from '../types';
|
|
3
|
-
export type PFlexProps = Omit<HTMLAttributes<{}>, 'color'
|
|
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
|
*/
|
|
@@ -27,7 +27,7 @@ export type PFlexProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
27
27
|
wrap?: BreakpointCustomizable<FlexWrap>;
|
|
28
28
|
};
|
|
29
29
|
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Flex instead. */
|
|
30
|
-
export declare const PFlex: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
30
|
+
export declare const PFlex: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
31
31
|
/**
|
|
32
32
|
* 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.
|
|
33
33
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, GridItemOffset, GridItemSize } from '../types';
|
|
3
|
-
export type PGridItemProps = Omit<HTMLAttributes<{}>, 'color'
|
|
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
|
*/
|
|
@@ -11,7 +11,7 @@ export type PGridItemProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
11
11
|
size?: BreakpointCustomizable<GridItemSize>;
|
|
12
12
|
};
|
|
13
13
|
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
|
|
14
|
-
export declare const PGridItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
14
|
+
export declare const PGridItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
15
15
|
/**
|
|
16
16
|
* 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.
|
|
17
17
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, GridDirection, GridGutter, GridWrap } from '../types';
|
|
3
|
-
export type PGridProps = Omit<HTMLAttributes<{}>, 'color'
|
|
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
|
*/
|
|
@@ -16,7 +16,7 @@ export type PGridProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
16
16
|
wrap?: BreakpointCustomizable<GridWrap>;
|
|
17
17
|
};
|
|
18
18
|
/** @deprecated since v3.0.0, will be removed with next major release. Use native CSS Grid instead. */
|
|
19
|
-
export declare const PGrid: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
19
|
+
export declare const PGrid: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
20
20
|
/**
|
|
21
21
|
* 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.
|
|
22
22
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { HeadingAlign, HeadingColor, BreakpointCustomizable, HeadingSize, HeadingTag, Theme } from '../types';
|
|
3
|
-
export type PHeadingProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PHeadingProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Text alignment of the component.
|
|
6
6
|
*/
|
|
@@ -26,7 +26,7 @@ export type PHeadingProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
26
26
|
*/
|
|
27
27
|
theme?: Theme;
|
|
28
28
|
};
|
|
29
|
-
export declare const PHeading: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
29
|
+
export declare const PHeading: 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 { HeadlineAlign, HeadlineColor, HeadlineTag, Theme, HeadlineVariant } from '../types';
|
|
3
|
-
export type PHeadlineProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PHeadlineProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Text alignment of the component.
|
|
6
6
|
*/
|
|
@@ -27,7 +27,7 @@ export type PHeadlineProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
27
27
|
variant?: HeadlineVariant;
|
|
28
28
|
};
|
|
29
29
|
/** @deprecated since v3.0.0, will be removed with next major release. Please use "p-heading" instead. */
|
|
30
|
-
export declare const PHeadline: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
30
|
+
export declare const PHeadline: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
31
31
|
/**
|
|
32
32
|
* Text alignment of the component.
|
|
33
33
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { SelectedAriaAttributes, IconAriaAttribute, IconColor, IconName, IconSize, Theme } from '../types';
|
|
3
|
-
export type PIconProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PIconProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -31,7 +31,7 @@ export type PIconProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
31
31
|
*/
|
|
32
32
|
theme?: Theme;
|
|
33
33
|
};
|
|
34
|
-
export declare const PIcon: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
34
|
+
export declare const PIcon: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
35
35
|
/**
|
|
36
36
|
* Add ARIA attributes.
|
|
37
37
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { InlineNotificationActionIcon, InlineNotificationState, Theme } from '../types';
|
|
3
|
-
export type PInlineNotificationProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PInlineNotificationProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Action icon of the inline-notification.
|
|
6
6
|
*/
|
|
@@ -46,7 +46,7 @@ export type PInlineNotificationProps = Omit<HTMLAttributes<{}>, 'color' | 'onCha
|
|
|
46
46
|
*/
|
|
47
47
|
theme?: Theme;
|
|
48
48
|
};
|
|
49
|
-
export declare const PInlineNotification: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
49
|
+
export declare const PInlineNotification: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
50
50
|
/**
|
|
51
51
|
* Action icon of the inline-notification.
|
|
52
52
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, LinkPureAlignLabel, SelectedAriaAttributes, LinkPureAriaAttribute, LinkPureIcon, LinkPureSize, LinkPureTarget, Theme, LinkPureWeight } from '../types';
|
|
3
|
-
export type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Display link in active state.
|
|
6
6
|
*/
|
|
@@ -63,7 +63,7 @@ export type PLinkPureProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
63
63
|
*/
|
|
64
64
|
weight?: LinkPureWeight;
|
|
65
65
|
};
|
|
66
|
-
export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
66
|
+
export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
67
67
|
/**
|
|
68
68
|
* Display link in active state.
|
|
69
69
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, LinkSocialIcon, LinkSocialTarget, Theme } from '../types';
|
|
3
|
-
export type PLinkSocialProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PLinkSocialProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Show or hide label.
|
|
6
6
|
*/
|
|
@@ -31,7 +31,7 @@ export type PLinkSocialProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> &
|
|
|
31
31
|
theme?: Theme;
|
|
32
32
|
};
|
|
33
33
|
/** @deprecated since v3.0.0, will be removed with next major release. Use `p-link` with corresponding social icon instead. */
|
|
34
|
-
export declare const PLinkSocial: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
34
|
+
export declare const PLinkSocial: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
35
35
|
/**
|
|
36
36
|
* Show or hide label.
|
|
37
37
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { BreakpointCustomizable, LinkTileModelSignatureAspectRatio, LinkTileModelSignatureHeadingTag, LinkTileModelSignatureLinkDirection, LinkTileModelSignatureModel, LinkTileModelSignatureWeight } from '../types';
|
|
3
|
-
export type PLinkTileModelSignatureProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PLinkTileModelSignatureProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Aspect ratio of the link-tile-model-signature.
|
|
6
6
|
*/
|
|
@@ -30,7 +30,7 @@ export type PLinkTileModelSignatureProps = Omit<HTMLAttributes<{}>, 'color' | 'o
|
|
|
30
30
|
*/
|
|
31
31
|
weight?: BreakpointCustomizable<LinkTileModelSignatureWeight>;
|
|
32
32
|
};
|
|
33
|
-
export declare const PLinkTileModelSignature: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
33
|
+
export declare const PLinkTileModelSignature: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
34
34
|
/**
|
|
35
35
|
* Aspect ratio of the link-tile-model-signature.
|
|
36
36
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { LinkTileAlign, SelectedAriaAttributes, LinkTileAriaAttribute, BreakpointCustomizable, LinkTileAspectRatio, LinkTileSize, LinkTileTarget, LinkTileWeight } from '../types';
|
|
3
|
-
export type PLinkTileProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PLinkTileProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Alignment of link and description.
|
|
6
6
|
*/
|
|
@@ -54,7 +54,7 @@ export type PLinkTileProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
54
54
|
*/
|
|
55
55
|
weight?: BreakpointCustomizable<LinkTileWeight>;
|
|
56
56
|
};
|
|
57
|
-
export declare const PLinkTile: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
57
|
+
export declare const PLinkTile: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
58
58
|
/**
|
|
59
59
|
* Alignment of link and description.
|
|
60
60
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { SelectedAriaAttributes, LinkAriaAttribute, BreakpointCustomizable, LinkIcon, LinkTarget, Theme, LinkVariant } from '../types';
|
|
3
|
-
export type PLinkProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PLinkProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -42,7 +42,7 @@ export type PLinkProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
42
42
|
*/
|
|
43
43
|
variant?: LinkVariant;
|
|
44
44
|
};
|
|
45
|
-
export declare const PLink: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
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, MarqueAriaAttribute, MarqueSize, MarqueTarget } from '../types';
|
|
3
|
-
export type PMarqueProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PMarqueProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -23,7 +23,7 @@ export type PMarqueProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
23
23
|
trademark?: boolean;
|
|
24
24
|
};
|
|
25
25
|
/** @deprecated since v3.0.0, will be removed with next major release. Please use "p-wordmark" instead. */
|
|
26
|
-
export declare const PMarque: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
26
|
+
export declare const PMarque: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
27
27
|
/**
|
|
28
28
|
* Add ARIA attributes.
|
|
29
29
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { SelectedAriaAttributes, ModalAriaAttribute, BreakpointCustomizable } from '../types';
|
|
3
|
-
export type PModalProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PModalProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -38,7 +38,7 @@ export type PModalProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
38
38
|
*/
|
|
39
39
|
open: boolean;
|
|
40
40
|
};
|
|
41
|
-
export declare const PModal: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
41
|
+
export declare const PModal: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
42
42
|
/**
|
|
43
43
|
* Add ARIA attributes.
|
|
44
44
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { ModelSignatureColor, ModelSignatureModel, ModelSignatureSize, Theme } from '../types';
|
|
3
|
-
export type PModelSignatureProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PModelSignatureProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Adapts the color of the component.
|
|
6
6
|
*/
|
|
@@ -18,7 +18,7 @@ export type PModelSignatureProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'
|
|
|
18
18
|
*/
|
|
19
19
|
theme?: Theme;
|
|
20
20
|
};
|
|
21
|
-
export declare const PModelSignature: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
21
|
+
export declare const PModelSignature: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
22
22
|
/**
|
|
23
23
|
* Adapts the color of the component.
|
|
24
24
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { PaginationInternationalization, BreakpointCustomizable, PaginationMaxNumberOfPageLinks, PaginationUpdateEvent, Theme } from '../types';
|
|
3
|
-
export type PPaginationProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PPaginationProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Index of the currently active page.
|
|
6
6
|
*/
|
|
@@ -50,7 +50,7 @@ export type PPaginationProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> &
|
|
|
50
50
|
*/
|
|
51
51
|
totalItemsCount: number;
|
|
52
52
|
};
|
|
53
|
-
export declare const PPagination: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
53
|
+
export declare const PPagination: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
54
54
|
/**
|
|
55
55
|
* Index of the currently active page.
|
|
56
56
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { SelectedAriaAttributes, PopoverAriaAttribute, PopoverDirection, Theme } from '../types';
|
|
3
|
-
export type PPopoverProps = Omit<HTMLAttributes<{}>, 'color'
|
|
3
|
+
export type PPopoverProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Add ARIA attributes.
|
|
6
6
|
*/
|
|
@@ -18,7 +18,7 @@ export type PPopoverProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
18
18
|
*/
|
|
19
19
|
theme?: Theme;
|
|
20
20
|
};
|
|
21
|
-
export declare const PPopover: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
21
|
+
export declare const PPopover: 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 { BreakpointCustomizable, RadioButtonWrapperState, Theme } from '../types';
|
|
3
|
-
export type PRadioButtonWrapperProps = Omit<HTMLAttributes<{}>, 'color'
|
|
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"
|
|
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,10 +1,14 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
import type { ScrollerAlignScrollIndicator, ScrollerGradientColor, ScrollerGradientColorScheme, ScrollerScrollIndicatorPosition, ScrollerScrollToPosition, Theme } from '../types';
|
|
3
|
-
export type PScrollerProps = Omit<HTMLAttributes<{}>, 'color'
|
|
2
|
+
import type { ScrollerAlignScrollIndicator, SelectedAriaAttributes, ScrollerAriaAttribute, ScrollerGradientColor, ScrollerGradientColorScheme, ScrollerScrollIndicatorPosition, ScrollerScrollToPosition, Theme } from '../types';
|
|
3
|
+
export type PScrollerProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
|
-
* Sets the vertical position of scroll indicator
|
|
5
|
+
* Sets the vertical position of scroll indicator.
|
|
6
6
|
*/
|
|
7
7
|
alignScrollIndicator?: ScrollerAlignScrollIndicator;
|
|
8
|
+
/**
|
|
9
|
+
* Add ARIA role.
|
|
10
|
+
*/
|
|
11
|
+
aria?: SelectedAriaAttributes<ScrollerAriaAttribute>;
|
|
8
12
|
/**
|
|
9
13
|
* Adapts the background gradient color of prev and next button.
|
|
10
14
|
*/
|
|
@@ -18,11 +22,11 @@ export type PScrollerProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
18
22
|
*/
|
|
19
23
|
scrollIndicatorPosition?: ScrollerScrollIndicatorPosition;
|
|
20
24
|
/**
|
|
21
|
-
* Scrolls the scroll area to the left either smooth or immediately
|
|
25
|
+
* Scrolls the scroll area to the left either smooth or immediately.
|
|
22
26
|
*/
|
|
23
27
|
scrollToPosition?: ScrollerScrollToPosition;
|
|
24
28
|
/**
|
|
25
|
-
* Specifies if scrollbar should be shown
|
|
29
|
+
* Specifies if scrollbar should be shown.
|
|
26
30
|
*/
|
|
27
31
|
scrollbar?: boolean;
|
|
28
32
|
/**
|
|
@@ -30,11 +34,15 @@ export type PScrollerProps = Omit<HTMLAttributes<{}>, 'color' | 'onChange'> & {
|
|
|
30
34
|
*/
|
|
31
35
|
theme?: Theme;
|
|
32
36
|
};
|
|
33
|
-
export declare const PScroller: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
37
|
+
export declare const PScroller: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
34
38
|
/**
|
|
35
|
-
* Sets the vertical position of scroll indicator
|
|
39
|
+
* Sets the vertical position of scroll indicator.
|
|
36
40
|
*/
|
|
37
41
|
alignScrollIndicator?: ScrollerAlignScrollIndicator;
|
|
42
|
+
/**
|
|
43
|
+
* Add ARIA role.
|
|
44
|
+
*/
|
|
45
|
+
aria?: SelectedAriaAttributes<ScrollerAriaAttribute>;
|
|
38
46
|
/**
|
|
39
47
|
* Adapts the background gradient color of prev and next button.
|
|
40
48
|
*/
|
|
@@ -48,11 +56,11 @@ export declare const PScroller: import("react").ForwardRefExoticComponent<Omit<H
|
|
|
48
56
|
*/
|
|
49
57
|
scrollIndicatorPosition?: ScrollerScrollIndicatorPosition;
|
|
50
58
|
/**
|
|
51
|
-
* Scrolls the scroll area to the left either smooth or immediately
|
|
59
|
+
* Scrolls the scroll area to the left either smooth or immediately.
|
|
52
60
|
*/
|
|
53
61
|
scrollToPosition?: ScrollerScrollToPosition;
|
|
54
62
|
/**
|
|
55
|
-
* Specifies if scrollbar should be shown
|
|
63
|
+
* Specifies if scrollbar should be shown.
|
|
56
64
|
*/
|
|
57
65
|
scrollbar?: boolean;
|
|
58
66
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
2
|
import type { SegmentedControlItemIcon } from '../types';
|
|
3
|
-
export type PSegmentedControlItemProps = Omit<HTMLAttributes<{}>, 'color'
|
|
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"
|
|
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'
|
|
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"
|
|
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
|
*/
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import type { SelectWrapperDropdownDirection, SelectWrapperState, Theme } from '../types';
|
|
3
|
+
export type PSelectWrapperDropdownProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
|
+
description?: string;
|
|
5
|
+
direction?: SelectWrapperDropdownDirection;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
filter?: boolean;
|
|
8
|
+
isOpenOverride?: boolean;
|
|
9
|
+
label?: string;
|
|
10
|
+
message?: string;
|
|
11
|
+
onOpenChange: (isOpen: boolean) => void;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
selectRef?: HTMLSelectElement;
|
|
14
|
+
state?: SelectWrapperState;
|
|
15
|
+
theme?: Theme;
|
|
16
|
+
};
|
|
17
|
+
export declare const PSelectWrapperDropdown: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
18
|
+
description?: string;
|
|
19
|
+
direction?: SelectWrapperDropdownDirection;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
filter?: boolean;
|
|
22
|
+
isOpenOverride?: boolean;
|
|
23
|
+
label?: string;
|
|
24
|
+
message?: string;
|
|
25
|
+
onOpenChange: (isOpen: boolean) => void;
|
|
26
|
+
required?: boolean;
|
|
27
|
+
selectRef?: HTMLSelectElement;
|
|
28
|
+
state?: SelectWrapperState;
|
|
29
|
+
theme?: Theme;
|
|
30
|
+
} & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -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'
|
|
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"
|
|
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'
|
|
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"
|
|
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'
|
|
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"
|
|
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'
|
|
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"
|
|
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'
|
|
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"
|
|
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'
|
|
3
|
-
export declare const PTableBody: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
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'
|
|
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"
|
|
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'
|
|
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"
|
|
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'
|
|
3
|
-
export declare const PTableHeadRow: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
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'
|
|
3
|
-
export declare const PTableHead: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
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'
|
|
3
|
-
export declare const PTableRow: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"
|
|
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>>;
|