@porsche-design-system/components-react 4.0.0-beta.4 → 4.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +72 -4
- package/cjs/lib/components/banner.wrapper.cjs +3 -3
- package/esm/lib/components/accordion.wrapper.d.ts +8 -0
- package/esm/lib/components/banner.wrapper.d.ts +37 -15
- package/esm/lib/components/banner.wrapper.mjs +3 -3
- package/esm/lib/components/button-pure.wrapper.d.ts +22 -0
- package/esm/lib/components/button-tile.wrapper.d.ts +20 -0
- package/esm/lib/components/button.wrapper.d.ts +14 -0
- package/esm/lib/components/canvas.wrapper.d.ts +6 -0
- package/esm/lib/components/carousel.wrapper.d.ts +22 -0
- package/esm/lib/components/checkbox.wrapper.d.ts +24 -0
- package/esm/lib/components/crest.wrapper.d.ts +2 -0
- package/esm/lib/components/display.wrapper.d.ts +8 -0
- package/esm/lib/components/divider.wrapper.d.ts +4 -0
- package/esm/lib/components/drilldown-item.wrapper.d.ts +6 -0
- package/esm/lib/components/drilldown-link.wrapper.d.ts +4 -0
- package/esm/lib/components/drilldown.wrapper.d.ts +2 -0
- package/esm/lib/components/fieldset.wrapper.d.ts +10 -0
- package/esm/lib/components/flag.wrapper.d.ts +4 -0
- package/esm/lib/components/flyout.wrapper.d.ts +12 -0
- package/esm/lib/components/heading.wrapper.d.ts +12 -0
- package/esm/lib/components/icon.wrapper.d.ts +6 -0
- package/esm/lib/components/inline-notification.wrapper.d.ts +14 -0
- package/esm/lib/components/input-date.wrapper.d.ts +24 -0
- package/esm/lib/components/input-email.wrapper.d.ts +28 -0
- package/esm/lib/components/input-month.wrapper.d.ts +24 -0
- package/esm/lib/components/input-number.wrapper.d.ts +28 -0
- package/esm/lib/components/input-password.wrapper.d.ts +26 -0
- package/esm/lib/components/input-search.wrapper.d.ts +28 -0
- package/esm/lib/components/input-tel.wrapper.d.ts +26 -0
- package/esm/lib/components/input-text.wrapper.d.ts +26 -0
- package/esm/lib/components/input-time.wrapper.d.ts +24 -0
- package/esm/lib/components/input-url.wrapper.d.ts +26 -0
- package/esm/lib/components/input-week.wrapper.d.ts +24 -0
- package/esm/lib/components/link-pure.wrapper.d.ts +18 -0
- package/esm/lib/components/link-tile-product.wrapper.d.ts +8 -0
- package/esm/lib/components/link-tile.wrapper.d.ts +14 -0
- package/esm/lib/components/link.wrapper.d.ts +10 -0
- package/esm/lib/components/modal.wrapper.d.ts +12 -0
- package/esm/lib/components/model-signature.wrapper.d.ts +12 -0
- package/esm/lib/components/multi-select-option.wrapper.d.ts +2 -0
- package/esm/lib/components/multi-select.wrapper.d.ts +20 -0
- package/esm/lib/components/optgroup.wrapper.d.ts +2 -0
- package/esm/lib/components/pagination.wrapper.d.ts +10 -0
- package/esm/lib/components/pin-code.wrapper.d.ts +24 -0
- package/esm/lib/components/popover.wrapper.d.ts +2 -0
- package/esm/lib/components/radio-group-option.wrapper.d.ts +4 -0
- package/esm/lib/components/radio-group.wrapper.d.ts +22 -0
- package/esm/lib/components/scroller.wrapper.d.ts +6 -0
- package/esm/lib/components/segmented-control-item.wrapper.d.ts +2 -0
- package/esm/lib/components/segmented-control.wrapper.d.ts +18 -0
- package/esm/lib/components/select-option.wrapper.d.ts +2 -0
- package/esm/lib/components/select.wrapper.d.ts +20 -0
- package/esm/lib/components/sheet.wrapper.d.ts +8 -0
- package/esm/lib/components/spinner.wrapper.d.ts +4 -0
- package/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -0
- package/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -0
- package/esm/lib/components/switch.wrapper.d.ts +14 -0
- package/esm/lib/components/table-cell.wrapper.d.ts +2 -0
- package/esm/lib/components/table-head-cell.wrapper.d.ts +4 -0
- package/esm/lib/components/table.wrapper.d.ts +6 -0
- package/esm/lib/components/tabs-bar.wrapper.d.ts +6 -0
- package/esm/lib/components/tabs.wrapper.d.ts +8 -0
- package/esm/lib/components/tag-dismissible.wrapper.d.ts +2 -0
- package/esm/lib/components/tag.wrapper.d.ts +6 -0
- package/esm/lib/components/text-list.wrapper.d.ts +2 -0
- package/esm/lib/components/text.wrapper.d.ts +14 -0
- package/esm/lib/components/textarea.wrapper.d.ts +30 -0
- package/esm/lib/components/wordmark.wrapper.d.ts +4 -0
- package/esm/lib/types.d.ts +5 -0
- package/global-styles/cn/index.css +1 -0
- package/global-styles/index.css +1 -0
- package/global-styles/variables.css +1 -0
- package/package.json +4 -2
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +723 -775
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +16 -77
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.cjs +4 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.cjs +11 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.cjs +4 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.cjs +1 -4
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +723 -775
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +15 -76
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.mjs +4 -5
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +11 -6
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +5 -7
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.mjs +2 -5
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/banner.wrapper.d.ts +37 -15
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +22 -0
- package/ssr/esm/lib/components/button-tile.wrapper.d.ts +20 -0
- package/ssr/esm/lib/components/button.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/canvas.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +22 -0
- package/ssr/esm/lib/components/checkbox.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/crest.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/display.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/divider.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +10 -0
- package/ssr/esm/lib/components/flag.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/heading.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/icon.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/input-month.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-week.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/link-pure.wrapper.d.ts +18 -0
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/link-tile.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/link.wrapper.d.ts +10 -0
- package/ssr/esm/lib/components/modal.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/model-signature.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +20 -0
- package/ssr/esm/lib/components/optgroup.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/pagination.wrapper.d.ts +10 -0
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/popover.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +22 -0
- package/ssr/esm/lib/components/scroller.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +18 -0
- package/ssr/esm/lib/components/select-option.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/select.wrapper.d.ts +20 -0
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/spinner.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/switch.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/table-cell.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/table.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/tag.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/text-list.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/text.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +30 -0
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +4 -0
- package/ssr/esm/lib/dsr-components/banner.d.ts +2 -2
- package/ssr/esm/lib/types.d.ts +5 -0
- package/tailwindcss/index.css +73 -14
|
@@ -3,10 +3,12 @@ import type { BreakpointCustomizable, LinkPureAlignLabel, SelectedAriaAttributes
|
|
|
3
3
|
export type PLinkPureProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Displays the link in its active state.
|
|
6
|
+
* @default false
|
|
6
7
|
*/
|
|
7
8
|
active?: boolean;
|
|
8
9
|
/**
|
|
9
10
|
* Aligns the label.
|
|
11
|
+
* @default 'end'
|
|
10
12
|
*/
|
|
11
13
|
alignLabel?: BreakpointCustomizable<LinkPureAlignLabel>;
|
|
12
14
|
/**
|
|
@@ -15,6 +17,7 @@ export type PLinkPureProps = BaseProps & {
|
|
|
15
17
|
aria?: SelectedAriaAttributes<LinkPureAriaAttribute>;
|
|
16
18
|
/**
|
|
17
19
|
* The color.
|
|
20
|
+
* @default 'primary'
|
|
18
21
|
*/
|
|
19
22
|
color?: LinkPureColor;
|
|
20
23
|
/**
|
|
@@ -23,6 +26,7 @@ export type PLinkPureProps = BaseProps & {
|
|
|
23
26
|
download?: string;
|
|
24
27
|
/**
|
|
25
28
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
29
|
+
* @default false
|
|
26
30
|
*/
|
|
27
31
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
32
|
/**
|
|
@@ -31,6 +35,7 @@ export type PLinkPureProps = BaseProps & {
|
|
|
31
35
|
href?: string;
|
|
32
36
|
/**
|
|
33
37
|
* The icon shown. By choosing 'none', no icon is displayed
|
|
38
|
+
* @default 'arrow-right'
|
|
34
39
|
*/
|
|
35
40
|
icon?: LinkPureIcon;
|
|
36
41
|
/**
|
|
@@ -43,28 +48,34 @@ export type PLinkPureProps = BaseProps & {
|
|
|
43
48
|
rel?: string;
|
|
44
49
|
/**
|
|
45
50
|
* Size of the link.
|
|
51
|
+
* @default 'sm'
|
|
46
52
|
*/
|
|
47
53
|
size?: BreakpointCustomizable<LinkPureSize>;
|
|
48
54
|
/**
|
|
49
55
|
* Stretches the area between icon and label to max available space.
|
|
56
|
+
* @default false
|
|
50
57
|
*/
|
|
51
58
|
stretch?: BreakpointCustomizable<boolean>;
|
|
52
59
|
/**
|
|
53
60
|
* Specifies where to open the linked document.
|
|
61
|
+
* @default '_self'
|
|
54
62
|
*/
|
|
55
63
|
target?: LinkPureTarget;
|
|
56
64
|
/**
|
|
57
65
|
* Shows an underline under the label.
|
|
66
|
+
* @default false
|
|
58
67
|
*/
|
|
59
68
|
underline?: boolean;
|
|
60
69
|
};
|
|
61
70
|
export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
62
71
|
/**
|
|
63
72
|
* Displays the link in its active state.
|
|
73
|
+
* @default false
|
|
64
74
|
*/
|
|
65
75
|
active?: boolean;
|
|
66
76
|
/**
|
|
67
77
|
* Aligns the label.
|
|
78
|
+
* @default 'end'
|
|
68
79
|
*/
|
|
69
80
|
alignLabel?: BreakpointCustomizable<LinkPureAlignLabel>;
|
|
70
81
|
/**
|
|
@@ -73,6 +84,7 @@ export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
73
84
|
aria?: SelectedAriaAttributes<LinkPureAriaAttribute>;
|
|
74
85
|
/**
|
|
75
86
|
* The color.
|
|
87
|
+
* @default 'primary'
|
|
76
88
|
*/
|
|
77
89
|
color?: LinkPureColor;
|
|
78
90
|
/**
|
|
@@ -81,6 +93,7 @@ export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
81
93
|
download?: string;
|
|
82
94
|
/**
|
|
83
95
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
96
|
+
* @default false
|
|
84
97
|
*/
|
|
85
98
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
86
99
|
/**
|
|
@@ -89,6 +102,7 @@ export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
89
102
|
href?: string;
|
|
90
103
|
/**
|
|
91
104
|
* The icon shown. By choosing 'none', no icon is displayed
|
|
105
|
+
* @default 'arrow-right'
|
|
92
106
|
*/
|
|
93
107
|
icon?: LinkPureIcon;
|
|
94
108
|
/**
|
|
@@ -101,18 +115,22 @@ export declare const PLinkPure: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
101
115
|
rel?: string;
|
|
102
116
|
/**
|
|
103
117
|
* Size of the link.
|
|
118
|
+
* @default 'sm'
|
|
104
119
|
*/
|
|
105
120
|
size?: BreakpointCustomizable<LinkPureSize>;
|
|
106
121
|
/**
|
|
107
122
|
* Stretches the area between icon and label to max available space.
|
|
123
|
+
* @default false
|
|
108
124
|
*/
|
|
109
125
|
stretch?: BreakpointCustomizable<boolean>;
|
|
110
126
|
/**
|
|
111
127
|
* Specifies where to open the linked document.
|
|
128
|
+
* @default '_self'
|
|
112
129
|
*/
|
|
113
130
|
target?: LinkPureTarget;
|
|
114
131
|
/**
|
|
115
132
|
* Shows an underline under the label.
|
|
133
|
+
* @default false
|
|
116
134
|
*/
|
|
117
135
|
underline?: boolean;
|
|
118
136
|
} & {
|
|
@@ -3,6 +3,7 @@ import type { BreakpointCustomizable, LinkTileProductAspectRatio, LinkTileProduc
|
|
|
3
3
|
export type PLinkTileProductProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Aspect ratio of the link-tile-product.
|
|
6
|
+
* @default '3/4'
|
|
6
7
|
*/
|
|
7
8
|
aspectRatio?: BreakpointCustomizable<LinkTileProductAspectRatio>;
|
|
8
9
|
/**
|
|
@@ -19,10 +20,12 @@ export type PLinkTileProductProps = BaseProps & {
|
|
|
19
20
|
href?: string;
|
|
20
21
|
/**
|
|
21
22
|
* Shows a like button.
|
|
23
|
+
* @default true
|
|
22
24
|
*/
|
|
23
25
|
likeButton?: boolean;
|
|
24
26
|
/**
|
|
25
27
|
* Indicates whether the product is liked.
|
|
28
|
+
* @default false
|
|
26
29
|
*/
|
|
27
30
|
liked?: boolean;
|
|
28
31
|
/**
|
|
@@ -43,12 +46,14 @@ export type PLinkTileProductProps = BaseProps & {
|
|
|
43
46
|
rel?: string;
|
|
44
47
|
/**
|
|
45
48
|
* Specifies where to open the linked document.
|
|
49
|
+
* @default '_self'
|
|
46
50
|
*/
|
|
47
51
|
target?: LinkTileProductTarget;
|
|
48
52
|
};
|
|
49
53
|
export declare const PLinkTileProduct: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
50
54
|
/**
|
|
51
55
|
* Aspect ratio of the link-tile-product.
|
|
56
|
+
* @default '3/4'
|
|
52
57
|
*/
|
|
53
58
|
aspectRatio?: BreakpointCustomizable<LinkTileProductAspectRatio>;
|
|
54
59
|
/**
|
|
@@ -65,10 +70,12 @@ export declare const PLinkTileProduct: import("react").ForwardRefExoticComponent
|
|
|
65
70
|
href?: string;
|
|
66
71
|
/**
|
|
67
72
|
* Shows a like button.
|
|
73
|
+
* @default true
|
|
68
74
|
*/
|
|
69
75
|
likeButton?: boolean;
|
|
70
76
|
/**
|
|
71
77
|
* Indicates whether the product is liked.
|
|
78
|
+
* @default false
|
|
72
79
|
*/
|
|
73
80
|
liked?: boolean;
|
|
74
81
|
/**
|
|
@@ -89,6 +96,7 @@ export declare const PLinkTileProduct: import("react").ForwardRefExoticComponent
|
|
|
89
96
|
rel?: string;
|
|
90
97
|
/**
|
|
91
98
|
* Specifies where to open the linked document.
|
|
99
|
+
* @default '_self'
|
|
92
100
|
*/
|
|
93
101
|
target?: LinkTileProductTarget;
|
|
94
102
|
} & {
|
|
@@ -3,6 +3,7 @@ import type { LinkTileAlign, SelectedAriaAttributes, LinkTileAriaAttribute, Brea
|
|
|
3
3
|
export type PLinkTileProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Alignment of link and description.
|
|
6
|
+
* @default 'bottom'
|
|
6
7
|
*/
|
|
7
8
|
align?: LinkTileAlign;
|
|
8
9
|
/**
|
|
@@ -11,10 +12,12 @@ export type PLinkTileProps = BaseProps & {
|
|
|
11
12
|
aria?: SelectedAriaAttributes<LinkTileAriaAttribute>;
|
|
12
13
|
/**
|
|
13
14
|
* Aspect ratio of the link-tile.
|
|
15
|
+
* @default '4/3'
|
|
14
16
|
*/
|
|
15
17
|
aspectRatio?: BreakpointCustomizable<LinkTileAspectRatio>;
|
|
16
18
|
/**
|
|
17
19
|
* Displays the link-tile as compact version with description and link icon only.
|
|
20
|
+
* @default false
|
|
18
21
|
*/
|
|
19
22
|
compact?: BreakpointCustomizable<boolean>;
|
|
20
23
|
/**
|
|
@@ -27,6 +30,7 @@ export type PLinkTileProps = BaseProps & {
|
|
|
27
30
|
download?: string;
|
|
28
31
|
/**
|
|
29
32
|
* Show gradient.
|
|
33
|
+
* @default false
|
|
30
34
|
*/
|
|
31
35
|
gradient?: boolean;
|
|
32
36
|
/**
|
|
@@ -43,20 +47,24 @@ export type PLinkTileProps = BaseProps & {
|
|
|
43
47
|
rel?: string;
|
|
44
48
|
/**
|
|
45
49
|
* Font size of the description.
|
|
50
|
+
* @default 'medium'
|
|
46
51
|
*/
|
|
47
52
|
size?: BreakpointCustomizable<LinkTileSize>;
|
|
48
53
|
/**
|
|
49
54
|
* Specifies where to open the linked document.
|
|
55
|
+
* @default '_self'
|
|
50
56
|
*/
|
|
51
57
|
target?: LinkTileTarget;
|
|
52
58
|
/**
|
|
53
59
|
* Font weight of the description.
|
|
60
|
+
* @default 'semi-bold'
|
|
54
61
|
*/
|
|
55
62
|
weight?: BreakpointCustomizable<LinkTileWeight>;
|
|
56
63
|
};
|
|
57
64
|
export declare const PLinkTile: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
58
65
|
/**
|
|
59
66
|
* Alignment of link and description.
|
|
67
|
+
* @default 'bottom'
|
|
60
68
|
*/
|
|
61
69
|
align?: LinkTileAlign;
|
|
62
70
|
/**
|
|
@@ -65,10 +73,12 @@ export declare const PLinkTile: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
65
73
|
aria?: SelectedAriaAttributes<LinkTileAriaAttribute>;
|
|
66
74
|
/**
|
|
67
75
|
* Aspect ratio of the link-tile.
|
|
76
|
+
* @default '4/3'
|
|
68
77
|
*/
|
|
69
78
|
aspectRatio?: BreakpointCustomizable<LinkTileAspectRatio>;
|
|
70
79
|
/**
|
|
71
80
|
* Displays the link-tile as compact version with description and link icon only.
|
|
81
|
+
* @default false
|
|
72
82
|
*/
|
|
73
83
|
compact?: BreakpointCustomizable<boolean>;
|
|
74
84
|
/**
|
|
@@ -81,6 +91,7 @@ export declare const PLinkTile: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
81
91
|
download?: string;
|
|
82
92
|
/**
|
|
83
93
|
* Show gradient.
|
|
94
|
+
* @default false
|
|
84
95
|
*/
|
|
85
96
|
gradient?: boolean;
|
|
86
97
|
/**
|
|
@@ -97,14 +108,17 @@ export declare const PLinkTile: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
97
108
|
rel?: string;
|
|
98
109
|
/**
|
|
99
110
|
* Font size of the description.
|
|
111
|
+
* @default 'medium'
|
|
100
112
|
*/
|
|
101
113
|
size?: BreakpointCustomizable<LinkTileSize>;
|
|
102
114
|
/**
|
|
103
115
|
* Specifies where to open the linked document.
|
|
116
|
+
* @default '_self'
|
|
104
117
|
*/
|
|
105
118
|
target?: LinkTileTarget;
|
|
106
119
|
/**
|
|
107
120
|
* Font weight of the description.
|
|
121
|
+
* @default 'semi-bold'
|
|
108
122
|
*/
|
|
109
123
|
weight?: BreakpointCustomizable<LinkTileWeight>;
|
|
110
124
|
} & {
|
|
@@ -7,6 +7,7 @@ export type PLinkProps = BaseProps & {
|
|
|
7
7
|
aria?: SelectedAriaAttributes<LinkAriaAttribute>;
|
|
8
8
|
/**
|
|
9
9
|
* Displays the link in compact mode.
|
|
10
|
+
* @default false
|
|
10
11
|
*/
|
|
11
12
|
compact?: BreakpointCustomizable<boolean>;
|
|
12
13
|
/**
|
|
@@ -15,6 +16,7 @@ export type PLinkProps = BaseProps & {
|
|
|
15
16
|
download?: string;
|
|
16
17
|
/**
|
|
17
18
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
19
|
+
* @default false
|
|
18
20
|
*/
|
|
19
21
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
20
22
|
/**
|
|
@@ -23,6 +25,7 @@ export type PLinkProps = BaseProps & {
|
|
|
23
25
|
href?: string;
|
|
24
26
|
/**
|
|
25
27
|
* The icon shown. By choosing 'none', no icon is displayed.
|
|
28
|
+
* @default 'none'
|
|
26
29
|
*/
|
|
27
30
|
icon?: LinkIcon;
|
|
28
31
|
/**
|
|
@@ -35,10 +38,12 @@ export type PLinkProps = BaseProps & {
|
|
|
35
38
|
rel?: string;
|
|
36
39
|
/**
|
|
37
40
|
* Specifies where to open the linked document.
|
|
41
|
+
* @default '_self'
|
|
38
42
|
*/
|
|
39
43
|
target?: LinkTarget;
|
|
40
44
|
/**
|
|
41
45
|
* The style variant of the link.
|
|
46
|
+
* @default 'primary'
|
|
42
47
|
*/
|
|
43
48
|
variant?: LinkVariant;
|
|
44
49
|
};
|
|
@@ -49,6 +54,7 @@ export declare const PLink: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
49
54
|
aria?: SelectedAriaAttributes<LinkAriaAttribute>;
|
|
50
55
|
/**
|
|
51
56
|
* Displays the link in compact mode.
|
|
57
|
+
* @default false
|
|
52
58
|
*/
|
|
53
59
|
compact?: BreakpointCustomizable<boolean>;
|
|
54
60
|
/**
|
|
@@ -57,6 +63,7 @@ export declare const PLink: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
57
63
|
download?: string;
|
|
58
64
|
/**
|
|
59
65
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
66
|
+
* @default false
|
|
60
67
|
*/
|
|
61
68
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
62
69
|
/**
|
|
@@ -65,6 +72,7 @@ export declare const PLink: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
65
72
|
href?: string;
|
|
66
73
|
/**
|
|
67
74
|
* The icon shown. By choosing 'none', no icon is displayed.
|
|
75
|
+
* @default 'none'
|
|
68
76
|
*/
|
|
69
77
|
icon?: LinkIcon;
|
|
70
78
|
/**
|
|
@@ -77,10 +85,12 @@ export declare const PLink: import("react").ForwardRefExoticComponent<Omit<impor
|
|
|
77
85
|
rel?: string;
|
|
78
86
|
/**
|
|
79
87
|
* Specifies where to open the linked document.
|
|
88
|
+
* @default '_self'
|
|
80
89
|
*/
|
|
81
90
|
target?: LinkTarget;
|
|
82
91
|
/**
|
|
83
92
|
* The style variant of the link.
|
|
93
|
+
* @default 'primary'
|
|
84
94
|
*/
|
|
85
95
|
variant?: LinkVariant;
|
|
86
96
|
} & {
|
|
@@ -7,22 +7,27 @@ export type PModalProps = BaseProps & {
|
|
|
7
7
|
aria?: SelectedAriaAttributes<ModalAriaAttribute>;
|
|
8
8
|
/**
|
|
9
9
|
* Defines the backdrop, 'blur' (should be used when Modal is opened by user interaction, e.g. after a click on a button) and 'shading' (should be used when Modal gets opened automatically, e.g. Cookie Consent).
|
|
10
|
+
* @default 'blur'
|
|
10
11
|
*/
|
|
11
12
|
backdrop?: ModalBackdrop;
|
|
12
13
|
/**
|
|
13
14
|
* Defines the background color
|
|
15
|
+
* @default 'canvas'
|
|
14
16
|
*/
|
|
15
17
|
background?: ModalBackground;
|
|
16
18
|
/**
|
|
17
19
|
* If true, the modal will not be closable via backdrop click.
|
|
20
|
+
* @default false
|
|
18
21
|
*/
|
|
19
22
|
disableBackdropClick?: boolean;
|
|
20
23
|
/**
|
|
21
24
|
* If false, the modal will not have a dismiss button.
|
|
25
|
+
* @default true
|
|
22
26
|
*/
|
|
23
27
|
dismissButton?: boolean;
|
|
24
28
|
/**
|
|
25
29
|
* If true the modal uses max viewport height and width. Should only be used for mobile.
|
|
30
|
+
* @default false
|
|
26
31
|
*/
|
|
27
32
|
fullscreen?: BreakpointCustomizable<boolean>;
|
|
28
33
|
/**
|
|
@@ -39,6 +44,7 @@ export type PModalProps = BaseProps & {
|
|
|
39
44
|
onMotionVisibleEnd?: (event: CustomEvent<ModalMotionVisibleEndEventDetail>) => void;
|
|
40
45
|
/**
|
|
41
46
|
* If true, the modal is open.
|
|
47
|
+
* @default false
|
|
42
48
|
*/
|
|
43
49
|
open: boolean;
|
|
44
50
|
};
|
|
@@ -49,22 +55,27 @@ export declare const PModal: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
49
55
|
aria?: SelectedAriaAttributes<ModalAriaAttribute>;
|
|
50
56
|
/**
|
|
51
57
|
* Defines the backdrop, 'blur' (should be used when Modal is opened by user interaction, e.g. after a click on a button) and 'shading' (should be used when Modal gets opened automatically, e.g. Cookie Consent).
|
|
58
|
+
* @default 'blur'
|
|
52
59
|
*/
|
|
53
60
|
backdrop?: ModalBackdrop;
|
|
54
61
|
/**
|
|
55
62
|
* Defines the background color
|
|
63
|
+
* @default 'canvas'
|
|
56
64
|
*/
|
|
57
65
|
background?: ModalBackground;
|
|
58
66
|
/**
|
|
59
67
|
* If true, the modal will not be closable via backdrop click.
|
|
68
|
+
* @default false
|
|
60
69
|
*/
|
|
61
70
|
disableBackdropClick?: boolean;
|
|
62
71
|
/**
|
|
63
72
|
* If false, the modal will not have a dismiss button.
|
|
73
|
+
* @default true
|
|
64
74
|
*/
|
|
65
75
|
dismissButton?: boolean;
|
|
66
76
|
/**
|
|
67
77
|
* If true the modal uses max viewport height and width. Should only be used for mobile.
|
|
78
|
+
* @default false
|
|
68
79
|
*/
|
|
69
80
|
fullscreen?: BreakpointCustomizable<boolean>;
|
|
70
81
|
/**
|
|
@@ -81,6 +92,7 @@ export declare const PModal: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
81
92
|
onMotionVisibleEnd?: (event: CustomEvent<ModalMotionVisibleEndEventDetail>) => void;
|
|
82
93
|
/**
|
|
83
94
|
* If true, the modal is open.
|
|
95
|
+
* @default false
|
|
84
96
|
*/
|
|
85
97
|
open: boolean;
|
|
86
98
|
} & {
|
|
@@ -3,52 +3,64 @@ import type { ModelSignatureColor, ModelSignatureFetchPriority, ModelSignatureMo
|
|
|
3
3
|
export type PModelSignatureProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Adapts the color of the component.
|
|
6
|
+
* @default 'primary'
|
|
6
7
|
*/
|
|
7
8
|
color?: ModelSignatureColor;
|
|
8
9
|
/**
|
|
9
10
|
* Sets the browser's fetch priority hint for the model signature asset.
|
|
11
|
+
* @default 'auto'
|
|
10
12
|
*/
|
|
11
13
|
fetchPriority?: ModelSignatureFetchPriority;
|
|
12
14
|
/**
|
|
13
15
|
* Defines whether the model signature is always loaded or only loaded when it is in the viewport (this feature may not work reliably).
|
|
16
|
+
* @default false
|
|
14
17
|
*/
|
|
15
18
|
lazy?: boolean;
|
|
16
19
|
/**
|
|
17
20
|
* Adapts the model of the component.
|
|
21
|
+
* @default '911'
|
|
18
22
|
*/
|
|
19
23
|
model?: ModelSignatureModel;
|
|
20
24
|
/**
|
|
21
25
|
* When set to `true`, then all model signatures are visually aligned with each other. When set to `false` the model signature comes without any safe zone.
|
|
26
|
+
* @default true
|
|
22
27
|
*/
|
|
23
28
|
safeZone?: boolean;
|
|
24
29
|
/**
|
|
25
30
|
* Adapts the size of the component. When set to `inherit` a CSS `width` or `height` needs to be defined on the host but not both.
|
|
31
|
+
* @default 'small'
|
|
26
32
|
*/
|
|
27
33
|
size?: ModelSignatureSize;
|
|
28
34
|
};
|
|
29
35
|
export declare const PModelSignature: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
30
36
|
/**
|
|
31
37
|
* Adapts the color of the component.
|
|
38
|
+
* @default 'primary'
|
|
32
39
|
*/
|
|
33
40
|
color?: ModelSignatureColor;
|
|
34
41
|
/**
|
|
35
42
|
* Sets the browser's fetch priority hint for the model signature asset.
|
|
43
|
+
* @default 'auto'
|
|
36
44
|
*/
|
|
37
45
|
fetchPriority?: ModelSignatureFetchPriority;
|
|
38
46
|
/**
|
|
39
47
|
* Defines whether the model signature is always loaded or only loaded when it is in the viewport (this feature may not work reliably).
|
|
48
|
+
* @default false
|
|
40
49
|
*/
|
|
41
50
|
lazy?: boolean;
|
|
42
51
|
/**
|
|
43
52
|
* Adapts the model of the component.
|
|
53
|
+
* @default '911'
|
|
44
54
|
*/
|
|
45
55
|
model?: ModelSignatureModel;
|
|
46
56
|
/**
|
|
47
57
|
* When set to `true`, then all model signatures are visually aligned with each other. When set to `false` the model signature comes without any safe zone.
|
|
58
|
+
* @default true
|
|
48
59
|
*/
|
|
49
60
|
safeZone?: boolean;
|
|
50
61
|
/**
|
|
51
62
|
* Adapts the size of the component. When set to `inherit` a CSS `width` or `height` needs to be defined on the host but not both.
|
|
63
|
+
* @default 'small'
|
|
52
64
|
*/
|
|
53
65
|
size?: ModelSignatureSize;
|
|
54
66
|
} & {
|
|
@@ -2,6 +2,7 @@ import type { BaseProps } from '../../BaseProps';
|
|
|
2
2
|
export type PMultiSelectOptionProps = BaseProps & {
|
|
3
3
|
/**
|
|
4
4
|
* Disables the option.
|
|
5
|
+
* @default false
|
|
5
6
|
*/
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
/**
|
|
@@ -12,6 +13,7 @@ export type PMultiSelectOptionProps = BaseProps & {
|
|
|
12
13
|
export declare const PMultiSelectOption: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
13
14
|
/**
|
|
14
15
|
* Disables the option.
|
|
16
|
+
* @default false
|
|
15
17
|
*/
|
|
16
18
|
disabled?: boolean;
|
|
17
19
|
/**
|
|
@@ -3,18 +3,22 @@ import type { MultiSelectDropdownDirection, BreakpointCustomizable, MultiSelectC
|
|
|
3
3
|
export type PMultiSelectProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Displays the multi-select in compact mode.
|
|
6
|
+
* @default false
|
|
6
7
|
*/
|
|
7
8
|
compact?: boolean;
|
|
8
9
|
/**
|
|
9
10
|
* Supplementary text providing more context or explanation for the multi-select.
|
|
11
|
+
* @default ''
|
|
10
12
|
*/
|
|
11
13
|
description?: string;
|
|
12
14
|
/**
|
|
13
15
|
* Disables the multi-select
|
|
16
|
+
* @default false
|
|
14
17
|
*/
|
|
15
18
|
disabled?: boolean;
|
|
16
19
|
/**
|
|
17
20
|
* Changes the direction to which the dropdown list appears.
|
|
21
|
+
* @default 'auto'
|
|
18
22
|
*/
|
|
19
23
|
dropdownDirection?: MultiSelectDropdownDirection;
|
|
20
24
|
/**
|
|
@@ -23,14 +27,17 @@ export type PMultiSelectProps = BaseProps & {
|
|
|
23
27
|
form?: string;
|
|
24
28
|
/**
|
|
25
29
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
30
|
+
* @default false
|
|
26
31
|
*/
|
|
27
32
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
33
|
/**
|
|
29
34
|
* Text content for a user-facing label.
|
|
35
|
+
* @default ''
|
|
30
36
|
*/
|
|
31
37
|
label?: string;
|
|
32
38
|
/**
|
|
33
39
|
* The message styled depending on validation state.
|
|
40
|
+
* @default ''
|
|
34
41
|
*/
|
|
35
42
|
message?: string;
|
|
36
43
|
/**
|
|
@@ -51,32 +58,39 @@ export type PMultiSelectProps = BaseProps & {
|
|
|
51
58
|
onToggle?: (event: CustomEvent<MultiSelectToggleEventDetail>) => void;
|
|
52
59
|
/**
|
|
53
60
|
* Requires an option with a non-empty string value to be selected.
|
|
61
|
+
* @default false
|
|
54
62
|
*/
|
|
55
63
|
required?: boolean;
|
|
56
64
|
/**
|
|
57
65
|
* The validation state.
|
|
66
|
+
* @default 'none'
|
|
58
67
|
*/
|
|
59
68
|
state?: MultiSelectState;
|
|
60
69
|
/**
|
|
61
70
|
* The selected values.
|
|
71
|
+
* @default []
|
|
62
72
|
*/
|
|
63
73
|
value?: string[];
|
|
64
74
|
};
|
|
65
75
|
export declare const PMultiSelect: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
66
76
|
/**
|
|
67
77
|
* Displays the multi-select in compact mode.
|
|
78
|
+
* @default false
|
|
68
79
|
*/
|
|
69
80
|
compact?: boolean;
|
|
70
81
|
/**
|
|
71
82
|
* Supplementary text providing more context or explanation for the multi-select.
|
|
83
|
+
* @default ''
|
|
72
84
|
*/
|
|
73
85
|
description?: string;
|
|
74
86
|
/**
|
|
75
87
|
* Disables the multi-select
|
|
88
|
+
* @default false
|
|
76
89
|
*/
|
|
77
90
|
disabled?: boolean;
|
|
78
91
|
/**
|
|
79
92
|
* Changes the direction to which the dropdown list appears.
|
|
93
|
+
* @default 'auto'
|
|
80
94
|
*/
|
|
81
95
|
dropdownDirection?: MultiSelectDropdownDirection;
|
|
82
96
|
/**
|
|
@@ -85,14 +99,17 @@ export declare const PMultiSelect: import("react").ForwardRefExoticComponent<Omi
|
|
|
85
99
|
form?: string;
|
|
86
100
|
/**
|
|
87
101
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
102
|
+
* @default false
|
|
88
103
|
*/
|
|
89
104
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
90
105
|
/**
|
|
91
106
|
* Text content for a user-facing label.
|
|
107
|
+
* @default ''
|
|
92
108
|
*/
|
|
93
109
|
label?: string;
|
|
94
110
|
/**
|
|
95
111
|
* The message styled depending on validation state.
|
|
112
|
+
* @default ''
|
|
96
113
|
*/
|
|
97
114
|
message?: string;
|
|
98
115
|
/**
|
|
@@ -113,14 +130,17 @@ export declare const PMultiSelect: import("react").ForwardRefExoticComponent<Omi
|
|
|
113
130
|
onToggle?: (event: CustomEvent<MultiSelectToggleEventDetail>) => void;
|
|
114
131
|
/**
|
|
115
132
|
* Requires an option with a non-empty string value to be selected.
|
|
133
|
+
* @default false
|
|
116
134
|
*/
|
|
117
135
|
required?: boolean;
|
|
118
136
|
/**
|
|
119
137
|
* The validation state.
|
|
138
|
+
* @default 'none'
|
|
120
139
|
*/
|
|
121
140
|
state?: MultiSelectState;
|
|
122
141
|
/**
|
|
123
142
|
* The selected values.
|
|
143
|
+
* @default []
|
|
124
144
|
*/
|
|
125
145
|
value?: string[];
|
|
126
146
|
} & {
|
|
@@ -2,6 +2,7 @@ import type { BaseProps } from '../../BaseProps';
|
|
|
2
2
|
export type POptgroupProps = BaseProps & {
|
|
3
3
|
/**
|
|
4
4
|
* Disables the optgroup.
|
|
5
|
+
* @default false
|
|
5
6
|
*/
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
/**
|
|
@@ -12,6 +13,7 @@ export type POptgroupProps = BaseProps & {
|
|
|
12
13
|
export declare const POptgroup: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
13
14
|
/**
|
|
14
15
|
* Disables the optgroup.
|
|
16
|
+
* @default false
|
|
15
17
|
*/
|
|
16
18
|
disabled?: boolean;
|
|
17
19
|
/**
|
|
@@ -3,14 +3,17 @@ import type { PaginationInternationalization, PaginationUpdateEventDetail } from
|
|
|
3
3
|
export type PPaginationProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
5
|
* Index of the currently active page.
|
|
6
|
+
* @default 1
|
|
6
7
|
*/
|
|
7
8
|
activePage: number;
|
|
8
9
|
/**
|
|
9
10
|
* Override the default wordings that are used for aria-labels on the next/prev and page buttons.
|
|
11
|
+
* @default { root: 'Pagination', prev: 'Previous page', next: 'Next page', page: 'Page', }
|
|
10
12
|
*/
|
|
11
13
|
intl?: PaginationInternationalization;
|
|
12
14
|
/**
|
|
13
15
|
* The total count of items which should be shown per page.
|
|
16
|
+
* @default 1
|
|
14
17
|
*/
|
|
15
18
|
itemsPerPage?: number;
|
|
16
19
|
/**
|
|
@@ -19,24 +22,29 @@ export type PPaginationProps = BaseProps & {
|
|
|
19
22
|
onUpdate?: (event: CustomEvent<PaginationUpdateEventDetail>) => void;
|
|
20
23
|
/**
|
|
21
24
|
* Show or hide the button to jump to the last page.
|
|
25
|
+
* @default true
|
|
22
26
|
*/
|
|
23
27
|
showLastPage?: boolean;
|
|
24
28
|
/**
|
|
25
29
|
* The total count of items.
|
|
30
|
+
* @default 1
|
|
26
31
|
*/
|
|
27
32
|
totalItemsCount: number;
|
|
28
33
|
};
|
|
29
34
|
export declare const PPagination: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
30
35
|
/**
|
|
31
36
|
* Index of the currently active page.
|
|
37
|
+
* @default 1
|
|
32
38
|
*/
|
|
33
39
|
activePage: number;
|
|
34
40
|
/**
|
|
35
41
|
* Override the default wordings that are used for aria-labels on the next/prev and page buttons.
|
|
42
|
+
* @default { root: 'Pagination', prev: 'Previous page', next: 'Next page', page: 'Page', }
|
|
36
43
|
*/
|
|
37
44
|
intl?: PaginationInternationalization;
|
|
38
45
|
/**
|
|
39
46
|
* The total count of items which should be shown per page.
|
|
47
|
+
* @default 1
|
|
40
48
|
*/
|
|
41
49
|
itemsPerPage?: number;
|
|
42
50
|
/**
|
|
@@ -45,10 +53,12 @@ export declare const PPagination: import("react").ForwardRefExoticComponent<Omit
|
|
|
45
53
|
onUpdate?: (event: CustomEvent<PaginationUpdateEventDetail>) => void;
|
|
46
54
|
/**
|
|
47
55
|
* Show or hide the button to jump to the last page.
|
|
56
|
+
* @default true
|
|
48
57
|
*/
|
|
49
58
|
showLastPage?: boolean;
|
|
50
59
|
/**
|
|
51
60
|
* The total count of items.
|
|
61
|
+
* @default 1
|
|
52
62
|
*/
|
|
53
63
|
totalItemsCount: number;
|
|
54
64
|
} & import("react").RefAttributes<HTMLElement>>;
|