@porsche-design-system/components-react 3.10.0-rc.3 → 3.10.0-rc.5
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 +75 -0
- package/cjs/lib/components/carousel.wrapper.cjs +3 -3
- package/cjs/public-api.cjs +1 -1
- package/esm/lib/components/accordion.wrapper.d.ts +5 -5
- package/esm/lib/components/button-pure.wrapper.d.ts +1 -1
- package/esm/lib/components/carousel.wrapper.d.ts +21 -5
- package/esm/lib/components/carousel.wrapper.mjs +3 -3
- package/esm/lib/components/checkbox-wrapper.wrapper.d.ts +2 -2
- package/esm/lib/components/flyout-navigation-item.wrapper.d.ts +12 -0
- package/esm/lib/components/flyout-navigation.wrapper.d.ts +3 -3
- package/esm/lib/components/icon.wrapper.d.ts +1 -1
- package/esm/lib/components/link-pure.wrapper.d.ts +1 -1
- package/esm/lib/components/link-tile-product.wrapper.d.ts +3 -3
- package/esm/lib/components/multi-select.wrapper.d.ts +3 -3
- package/esm/lib/components/pagination.wrapper.d.ts +5 -5
- package/esm/lib/components/pin-code.wrapper.d.ts +3 -3
- package/esm/lib/components/radio-button-wrapper.wrapper.d.ts +2 -2
- package/esm/lib/components/segmented-control.wrapper.d.ts +5 -5
- package/esm/lib/components/stepper-horizontal.wrapper.d.ts +5 -5
- package/esm/lib/components/switch.wrapper.d.ts +5 -5
- package/esm/lib/components/table.wrapper.d.ts +5 -5
- package/esm/lib/components/tabs-bar.wrapper.d.ts +5 -5
- package/esm/lib/components/tabs.wrapper.d.ts +5 -5
- package/esm/lib/components/text-field-wrapper.wrapper.d.ts +2 -2
- package/esm/lib/components/text.wrapper.d.ts +1 -1
- package/esm/lib/types.d.ts +88 -55
- package/jsdom-polyfill/index.d.ts +1 -0
- package/package.json +2 -2
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +332 -338
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +41 -24
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/carousel.wrapper.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +10 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout-navigation-item.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout-navigation.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-product.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.cjs +12 -11
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +2 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/minifyCss.cjs +4 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/public-api.cjs +1 -1
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +332 -338
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +40 -24
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/carousel.wrapper.mjs +4 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +11 -5
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout-navigation-item.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout-navigation.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-product.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +12 -11
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +2 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/minifyCss.mjs +4 -4
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +21 -5
- package/ssr/esm/lib/components/checkbox-wrapper.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/flyout-navigation-item.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/flyout-navigation.wrapper.d.ts +3 -3
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +3 -3
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +3 -3
- package/ssr/esm/lib/components/pagination.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +3 -3
- package/ssr/esm/lib/components/radio-button-wrapper.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/switch.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/table.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/text-field-wrapper.wrapper.d.ts +2 -2
- package/ssr/esm/lib/dsr-components/flyout-navigation-item.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/flyout-navigation.d.ts +2 -2
- package/ssr/esm/lib/dsr-components/link-tile-product.d.ts +1 -1
- package/ssr/esm/lib/dsr-components/modal.d.ts +1 -0
- package/ssr/esm/lib/types.d.ts +88 -55
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
2
|
export type PFlyoutNavigationItemProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
3
|
+
/**
|
|
4
|
+
* Unique identifier which controls if this item should be shown when the active-identifier on the flyout-navigation is set to this value.
|
|
5
|
+
*/
|
|
3
6
|
identifier: string;
|
|
7
|
+
/**
|
|
8
|
+
* Label of the item.
|
|
9
|
+
*/
|
|
4
10
|
label?: string;
|
|
5
11
|
};
|
|
6
12
|
export declare const PFlyoutNavigationItem: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<{}>, "color"> & {
|
|
13
|
+
/**
|
|
14
|
+
* Unique identifier which controls if this item should be shown when the active-identifier on the flyout-navigation is set to this value.
|
|
15
|
+
*/
|
|
7
16
|
identifier: string;
|
|
17
|
+
/**
|
|
18
|
+
* Label of the item.
|
|
19
|
+
*/
|
|
8
20
|
label?: string;
|
|
9
21
|
} & {
|
|
10
22
|
children?: import("react").ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
-
import type { SelectedAriaAttributes, FlyoutNavigationAriaAttribute,
|
|
2
|
+
import type { SelectedAriaAttributes, FlyoutNavigationAriaAttribute, FlyoutNavigationUpdateEventDetail, Theme } from '../types';
|
|
3
3
|
export type PFlyoutNavigationProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Defines which flyout-navigation-item to be visualized as opened.
|
|
@@ -16,7 +16,7 @@ export type PFlyoutNavigationProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
16
16
|
/**
|
|
17
17
|
* Emitted when activeIdentifier is changed.
|
|
18
18
|
*/
|
|
19
|
-
onUpdate?: (event: CustomEvent<
|
|
19
|
+
onUpdate?: (event: CustomEvent<FlyoutNavigationUpdateEventDetail>) => void;
|
|
20
20
|
/**
|
|
21
21
|
* If true, the flyout-navigation is visualized as opened.
|
|
22
22
|
*/
|
|
@@ -42,7 +42,7 @@ export declare const PFlyoutNavigation: import("react").ForwardRefExoticComponen
|
|
|
42
42
|
/**
|
|
43
43
|
* Emitted when activeIdentifier is changed.
|
|
44
44
|
*/
|
|
45
|
-
onUpdate?: (event: CustomEvent<
|
|
45
|
+
onUpdate?: (event: CustomEvent<FlyoutNavigationUpdateEventDetail>) => void;
|
|
46
46
|
/**
|
|
47
47
|
* If true, the flyout-navigation is visualized as opened.
|
|
48
48
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
-
import type { BreakpointCustomizable, LinkTileProductAspectRatio,
|
|
2
|
+
import type { BreakpointCustomizable, LinkTileProductAspectRatio, LinkTileProductLikeEventDetail, LinkTileProductTarget, Theme } from '../types';
|
|
3
3
|
export type PLinkTileProductProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Aspect ratio of the link-tile-product.
|
|
@@ -28,7 +28,7 @@ export type PLinkTileProductProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
28
28
|
/**
|
|
29
29
|
* Emitted when the like button is clicked.
|
|
30
30
|
*/
|
|
31
|
-
onLike?: (event: CustomEvent<
|
|
31
|
+
onLike?: (event: CustomEvent<LinkTileProductLikeEventDetail>) => void;
|
|
32
32
|
/**
|
|
33
33
|
* Product price
|
|
34
34
|
*/
|
|
@@ -74,7 +74,7 @@ export declare const PLinkTileProduct: import("react").ForwardRefExoticComponent
|
|
|
74
74
|
/**
|
|
75
75
|
* Emitted when the like button is clicked.
|
|
76
76
|
*/
|
|
77
|
-
onLike?: (event: CustomEvent<
|
|
77
|
+
onLike?: (event: CustomEvent<LinkTileProductLikeEventDetail>) => void;
|
|
78
78
|
/**
|
|
79
79
|
* Product price
|
|
80
80
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
-
import type { MultiSelectDropdownDirection, BreakpointCustomizable,
|
|
2
|
+
import type { MultiSelectDropdownDirection, BreakpointCustomizable, MultiSelectUpdateEventDetail, MultiSelectState, Theme } from '../types';
|
|
3
3
|
export type PMultiSelectProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* The description text.
|
|
@@ -32,7 +32,7 @@ export type PMultiSelectProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
32
32
|
/**
|
|
33
33
|
* Emitted when the selection is changed.
|
|
34
34
|
*/
|
|
35
|
-
onUpdate?: (event: CustomEvent<
|
|
35
|
+
onUpdate?: (event: CustomEvent<MultiSelectUpdateEventDetail>) => void;
|
|
36
36
|
/**
|
|
37
37
|
* A Boolean attribute indicating that an option with a non-empty string value must be selected.
|
|
38
38
|
*/
|
|
@@ -82,7 +82,7 @@ export declare const PMultiSelect: import("react").ForwardRefExoticComponent<Omi
|
|
|
82
82
|
/**
|
|
83
83
|
* Emitted when the selection is changed.
|
|
84
84
|
*/
|
|
85
|
-
onUpdate?: (event: CustomEvent<
|
|
85
|
+
onUpdate?: (event: CustomEvent<MultiSelectUpdateEventDetail>) => void;
|
|
86
86
|
/**
|
|
87
87
|
* A Boolean attribute indicating that an option with a non-empty string value must be selected.
|
|
88
88
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
-
import type { PaginationInternationalization, BreakpointCustomizable, PaginationMaxNumberOfPageLinks,
|
|
2
|
+
import type { PaginationInternationalization, BreakpointCustomizable, PaginationMaxNumberOfPageLinks, PaginationUpdateEventDetail, Theme } from '../types';
|
|
3
3
|
export type PPaginationProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Index of the currently active page.
|
|
@@ -37,11 +37,11 @@ export type PPaginationProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
37
37
|
/**
|
|
38
38
|
* @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when the page changes.
|
|
39
39
|
*/
|
|
40
|
-
onPageChange?: (event: CustomEvent<
|
|
40
|
+
onPageChange?: (event: CustomEvent<PaginationUpdateEventDetail>) => void;
|
|
41
41
|
/**
|
|
42
42
|
* Emitted when the page changes.
|
|
43
43
|
*/
|
|
44
|
-
onUpdate?: (event: CustomEvent<
|
|
44
|
+
onUpdate?: (event: CustomEvent<PaginationUpdateEventDetail>) => void;
|
|
45
45
|
/**
|
|
46
46
|
* Show or hide the button to jump to the last page.
|
|
47
47
|
*/
|
|
@@ -92,11 +92,11 @@ export declare const PPagination: import("react").ForwardRefExoticComponent<Omit
|
|
|
92
92
|
/**
|
|
93
93
|
* @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when the page changes.
|
|
94
94
|
*/
|
|
95
|
-
onPageChange?: (event: CustomEvent<
|
|
95
|
+
onPageChange?: (event: CustomEvent<PaginationUpdateEventDetail>) => void;
|
|
96
96
|
/**
|
|
97
97
|
* Emitted when the page changes.
|
|
98
98
|
*/
|
|
99
|
-
onUpdate?: (event: CustomEvent<
|
|
99
|
+
onUpdate?: (event: CustomEvent<PaginationUpdateEventDetail>) => void;
|
|
100
100
|
/**
|
|
101
101
|
* Show or hide the button to jump to the last page.
|
|
102
102
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
-
import type { BreakpointCustomizable, PinCodeLength,
|
|
2
|
+
import type { BreakpointCustomizable, PinCodeLength, PinCodeUpdateEventDetail, PinCodeState, Theme, PinCodeType } from '../types';
|
|
3
3
|
export type PPinCodeProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* The description text.
|
|
@@ -36,7 +36,7 @@ export type PPinCodeProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
36
36
|
/**
|
|
37
37
|
* Emitted when selected element changes.
|
|
38
38
|
*/
|
|
39
|
-
onUpdate?: (event: CustomEvent<
|
|
39
|
+
onUpdate?: (event: CustomEvent<PinCodeUpdateEventDetail>) => void;
|
|
40
40
|
/**
|
|
41
41
|
* Marks the Pin Code as required.
|
|
42
42
|
*/
|
|
@@ -94,7 +94,7 @@ export declare const PPinCode: import("react").ForwardRefExoticComponent<Omit<HT
|
|
|
94
94
|
/**
|
|
95
95
|
* Emitted when selected element changes.
|
|
96
96
|
*/
|
|
97
|
-
onUpdate?: (event: CustomEvent<
|
|
97
|
+
onUpdate?: (event: CustomEvent<PinCodeUpdateEventDetail>) => void;
|
|
98
98
|
/**
|
|
99
99
|
* Marks the Pin Code as required.
|
|
100
100
|
*/
|
|
@@ -10,7 +10,7 @@ export type PRadioButtonWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
10
10
|
*/
|
|
11
11
|
label?: string;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* @experimental Disables the radio button and shows a loading indicator.
|
|
14
14
|
*/
|
|
15
15
|
loading?: boolean;
|
|
16
16
|
/**
|
|
@@ -36,7 +36,7 @@ export declare const PRadioButtonWrapper: import("react").ForwardRefExoticCompon
|
|
|
36
36
|
*/
|
|
37
37
|
label?: string;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* @experimental Disables the radio button and shows a loading indicator.
|
|
40
40
|
*/
|
|
41
41
|
loading?: boolean;
|
|
42
42
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
-
import type { SegmentedControlBackgroundColor, BreakpointCustomizable, SegmentedControlColumns,
|
|
2
|
+
import type { SegmentedControlBackgroundColor, BreakpointCustomizable, SegmentedControlColumns, SegmentedControlUpdateEventDetail, Theme } from '../types';
|
|
3
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
|
|
@@ -12,11 +12,11 @@ export type PSegmentedControlProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
12
12
|
/**
|
|
13
13
|
* @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when selected element changes.
|
|
14
14
|
*/
|
|
15
|
-
onSegmentedControlChange?: (event: CustomEvent<
|
|
15
|
+
onSegmentedControlChange?: (event: CustomEvent<SegmentedControlUpdateEventDetail>) => void;
|
|
16
16
|
/**
|
|
17
17
|
* Emitted when selected element changes.
|
|
18
18
|
*/
|
|
19
|
-
onUpdate?: (event: CustomEvent<
|
|
19
|
+
onUpdate?: (event: CustomEvent<SegmentedControlUpdateEventDetail>) => void;
|
|
20
20
|
/**
|
|
21
21
|
* Adapts the segmented-control color depending on the theme.
|
|
22
22
|
*/
|
|
@@ -38,11 +38,11 @@ export declare const PSegmentedControl: import("react").ForwardRefExoticComponen
|
|
|
38
38
|
/**
|
|
39
39
|
* @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when selected element changes.
|
|
40
40
|
*/
|
|
41
|
-
onSegmentedControlChange?: (event: CustomEvent<
|
|
41
|
+
onSegmentedControlChange?: (event: CustomEvent<SegmentedControlUpdateEventDetail>) => void;
|
|
42
42
|
/**
|
|
43
43
|
* Emitted when selected element changes.
|
|
44
44
|
*/
|
|
45
|
-
onUpdate?: (event: CustomEvent<
|
|
45
|
+
onUpdate?: (event: CustomEvent<SegmentedControlUpdateEventDetail>) => void;
|
|
46
46
|
/**
|
|
47
47
|
* Adapts the segmented-control color depending on the theme.
|
|
48
48
|
*/
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { StepperHorizontalUpdateEventDetail, BreakpointCustomizable, StepperHorizontalSize, Theme } from '../types';
|
|
3
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
|
*/
|
|
7
|
-
onStepChange?: (event: CustomEvent<
|
|
7
|
+
onStepChange?: (event: CustomEvent<StepperHorizontalUpdateEventDetail>) => void;
|
|
8
8
|
/**
|
|
9
9
|
* Emitted when active step is changed.
|
|
10
10
|
*/
|
|
11
|
-
onUpdate?: (event: CustomEvent<
|
|
11
|
+
onUpdate?: (event: CustomEvent<StepperHorizontalUpdateEventDetail>) => void;
|
|
12
12
|
/**
|
|
13
13
|
* The text size.
|
|
14
14
|
*/
|
|
@@ -22,11 +22,11 @@ export declare const PStepperHorizontal: import("react").ForwardRefExoticCompone
|
|
|
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
|
*/
|
|
25
|
-
onStepChange?: (event: CustomEvent<
|
|
25
|
+
onStepChange?: (event: CustomEvent<StepperHorizontalUpdateEventDetail>) => void;
|
|
26
26
|
/**
|
|
27
27
|
* Emitted when active step is changed.
|
|
28
28
|
*/
|
|
29
|
-
onUpdate?: (event: CustomEvent<
|
|
29
|
+
onUpdate?: (event: CustomEvent<StepperHorizontalUpdateEventDetail>) => void;
|
|
30
30
|
/**
|
|
31
31
|
* The text size.
|
|
32
32
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
-
import type { BreakpointCustomizable, SwitchAlignLabel,
|
|
2
|
+
import type { BreakpointCustomizable, SwitchAlignLabel, SwitchUpdateEventDetail, Theme } from '../types';
|
|
3
3
|
export type PSwitchProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Aligns the label.
|
|
@@ -24,11 +24,11 @@ export type PSwitchProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
24
24
|
/**
|
|
25
25
|
* @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when checked status is changed.
|
|
26
26
|
*/
|
|
27
|
-
onSwitchChange?: (event: CustomEvent<
|
|
27
|
+
onSwitchChange?: (event: CustomEvent<SwitchUpdateEventDetail>) => void;
|
|
28
28
|
/**
|
|
29
29
|
* Emitted when checked status is changed.
|
|
30
30
|
*/
|
|
31
|
-
onUpdate?: (event: CustomEvent<
|
|
31
|
+
onUpdate?: (event: CustomEvent<SwitchUpdateEventDetail>) => void;
|
|
32
32
|
/**
|
|
33
33
|
* Stretches the contents to max available space.
|
|
34
34
|
*/
|
|
@@ -62,11 +62,11 @@ export declare const PSwitch: import("react").ForwardRefExoticComponent<Omit<HTM
|
|
|
62
62
|
/**
|
|
63
63
|
* @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when checked status is changed.
|
|
64
64
|
*/
|
|
65
|
-
onSwitchChange?: (event: CustomEvent<
|
|
65
|
+
onSwitchChange?: (event: CustomEvent<SwitchUpdateEventDetail>) => void;
|
|
66
66
|
/**
|
|
67
67
|
* Emitted when checked status is changed.
|
|
68
68
|
*/
|
|
69
|
-
onUpdate?: (event: CustomEvent<
|
|
69
|
+
onUpdate?: (event: CustomEvent<SwitchUpdateEventDetail>) => void;
|
|
70
70
|
/**
|
|
71
71
|
* Stretches the contents to max available space.
|
|
72
72
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TableUpdateEventDetail, Theme } from '../types';
|
|
3
3
|
export type PTableProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* A caption describing the contents of the table for accessibility only. This won't be visible in the browser. Use an element with an attribute of `slot="caption"` for a visible caption.
|
|
@@ -8,11 +8,11 @@ export type PTableProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
8
8
|
/**
|
|
9
9
|
* @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when sorting is changed.
|
|
10
10
|
*/
|
|
11
|
-
onSortingChange?: (event: CustomEvent<
|
|
11
|
+
onSortingChange?: (event: CustomEvent<TableUpdateEventDetail>) => void;
|
|
12
12
|
/**
|
|
13
13
|
* Emitted when sorting is changed.
|
|
14
14
|
*/
|
|
15
|
-
onUpdate?: (event: CustomEvent<
|
|
15
|
+
onUpdate?: (event: CustomEvent<TableUpdateEventDetail>) => void;
|
|
16
16
|
/**
|
|
17
17
|
* Adapts the color when used on dark background.
|
|
18
18
|
*/
|
|
@@ -26,11 +26,11 @@ export declare const PTable: import("react").ForwardRefExoticComponent<Omit<HTML
|
|
|
26
26
|
/**
|
|
27
27
|
* @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when sorting is changed.
|
|
28
28
|
*/
|
|
29
|
-
onSortingChange?: (event: CustomEvent<
|
|
29
|
+
onSortingChange?: (event: CustomEvent<TableUpdateEventDetail>) => void;
|
|
30
30
|
/**
|
|
31
31
|
* Emitted when sorting is changed.
|
|
32
32
|
*/
|
|
33
|
-
onUpdate?: (event: CustomEvent<
|
|
33
|
+
onUpdate?: (event: CustomEvent<TableUpdateEventDetail>) => void;
|
|
34
34
|
/**
|
|
35
35
|
* Adapts the color when used on dark background.
|
|
36
36
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
-
import type { TabsBarGradientColor, TabsBarGradientColorScheme,
|
|
2
|
+
import type { TabsBarGradientColor, TabsBarGradientColorScheme, TabsBarUpdateEventDetail, BreakpointCustomizable, TabsBarSize, Theme, TabsBarWeight } from '../types';
|
|
3
3
|
export type PTabsBarProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Defines which tab to be visualized as selected (zero-based numbering), undefined if none should be selected.
|
|
@@ -16,11 +16,11 @@ export type PTabsBarProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
16
16
|
/**
|
|
17
17
|
* @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when active tab is changed.
|
|
18
18
|
*/
|
|
19
|
-
onTabChange?: (event: CustomEvent<
|
|
19
|
+
onTabChange?: (event: CustomEvent<TabsBarUpdateEventDetail>) => void;
|
|
20
20
|
/**
|
|
21
21
|
* Emitted when active tab is changed.
|
|
22
22
|
*/
|
|
23
|
-
onUpdate?: (event: CustomEvent<
|
|
23
|
+
onUpdate?: (event: CustomEvent<TabsBarUpdateEventDetail>) => void;
|
|
24
24
|
/**
|
|
25
25
|
* The text size.
|
|
26
26
|
*/
|
|
@@ -50,11 +50,11 @@ export declare const PTabsBar: import("react").ForwardRefExoticComponent<Omit<HT
|
|
|
50
50
|
/**
|
|
51
51
|
* @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when active tab is changed.
|
|
52
52
|
*/
|
|
53
|
-
onTabChange?: (event: CustomEvent<
|
|
53
|
+
onTabChange?: (event: CustomEvent<TabsBarUpdateEventDetail>) => void;
|
|
54
54
|
/**
|
|
55
55
|
* Emitted when active tab is changed.
|
|
56
56
|
*/
|
|
57
|
-
onUpdate?: (event: CustomEvent<
|
|
57
|
+
onUpdate?: (event: CustomEvent<TabsBarUpdateEventDetail>) => void;
|
|
58
58
|
/**
|
|
59
59
|
* The text size.
|
|
60
60
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'react';
|
|
2
|
-
import type { TabsGradientColor, TabsGradientColorScheme,
|
|
2
|
+
import type { TabsGradientColor, TabsGradientColorScheme, TabsUpdateEventDetail, BreakpointCustomizable, TabsSize, Theme, TabsWeight } from '../types';
|
|
3
3
|
export type PTabsProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Defines which tab to be visualized as selected (zero-based numbering).
|
|
@@ -16,11 +16,11 @@ export type PTabsProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
16
16
|
/**
|
|
17
17
|
* @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when active tab is changed.
|
|
18
18
|
*/
|
|
19
|
-
onTabChange?: (event: CustomEvent<
|
|
19
|
+
onTabChange?: (event: CustomEvent<TabsUpdateEventDetail>) => void;
|
|
20
20
|
/**
|
|
21
21
|
* Emitted when active tab is changed.
|
|
22
22
|
*/
|
|
23
|
-
onUpdate?: (event: CustomEvent<
|
|
23
|
+
onUpdate?: (event: CustomEvent<TabsUpdateEventDetail>) => void;
|
|
24
24
|
/**
|
|
25
25
|
* The text size.
|
|
26
26
|
*/
|
|
@@ -50,11 +50,11 @@ export declare const PTabs: import("react").ForwardRefExoticComponent<Omit<HTMLA
|
|
|
50
50
|
/**
|
|
51
51
|
* @deprecated since v3.0.0, will be removed with next major release, use `update` event instead. Emitted when active tab is changed.
|
|
52
52
|
*/
|
|
53
|
-
onTabChange?: (event: CustomEvent<
|
|
53
|
+
onTabChange?: (event: CustomEvent<TabsUpdateEventDetail>) => void;
|
|
54
54
|
/**
|
|
55
55
|
* Emitted when active tab is changed.
|
|
56
56
|
*/
|
|
57
|
-
onUpdate?: (event: CustomEvent<
|
|
57
|
+
onUpdate?: (event: CustomEvent<TabsUpdateEventDetail>) => void;
|
|
58
58
|
/**
|
|
59
59
|
* The text size.
|
|
60
60
|
*/
|
|
@@ -38,7 +38,7 @@ export type PTextFieldWrapperProps = Omit<HTMLAttributes<{}>, 'color'> & {
|
|
|
38
38
|
*/
|
|
39
39
|
showCounter?: boolean;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* @experimental Show or hide password toggle for `input type="password"`.
|
|
42
42
|
*/
|
|
43
43
|
showPasswordToggle?: boolean;
|
|
44
44
|
/**
|
|
@@ -100,7 +100,7 @@ export declare const PTextFieldWrapper: import("react").ForwardRefExoticComponen
|
|
|
100
100
|
*/
|
|
101
101
|
showCounter?: boolean;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* @experimental Show or hide password toggle for `input type="password"`.
|
|
104
104
|
*/
|
|
105
105
|
showPasswordToggle?: boolean;
|
|
106
106
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
2
|
import { type FlyoutNavigationItemInternalHTMLProps } from '@porsche-design-system/components/dist/utils';
|
|
3
|
+
/** @experimental */
|
|
3
4
|
export declare class DSRFlyoutNavigationItem extends Component<any> {
|
|
4
5
|
host: HTMLElement & FlyoutNavigationItemInternalHTMLProps;
|
|
5
6
|
private get theme();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
|
-
/**
|
|
2
|
+
/** @experimental */
|
|
3
3
|
export declare class DSRFlyoutNavigation extends Component<any> {
|
|
4
4
|
host: HTMLElement;
|
|
5
|
-
private dialog;
|
|
6
5
|
private flyoutNavigationItemElements;
|
|
6
|
+
private dialog;
|
|
7
7
|
render(): JSX.Element;
|
|
8
8
|
}
|