@porsche-design-system/components-react 3.25.0-rc.0 → 3.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/package.json +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +3 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +3 -1
- package/ssr/esm/lib/dsr-components/carousel.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
14
14
|
|
|
15
15
|
### [Unreleased]
|
|
16
16
|
|
|
17
|
+
### [3.25.0] - 2025-01-23
|
|
18
|
+
|
|
19
|
+
### [3.25.0-rc.1] - 2025-01-22
|
|
20
|
+
|
|
21
|
+
#### Fixed
|
|
22
|
+
|
|
23
|
+
- `Carousel`: throws error when object-like string is passed by `slides-per-page`
|
|
24
|
+
([#3710](https://github.com/porsche-design-system/porsche-design-system/pull/3710))
|
|
25
|
+
|
|
17
26
|
### [3.25.0-rc.0] - 2025-01-21
|
|
18
27
|
|
|
19
28
|
#### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-react",
|
|
3
|
-
"version": "3.25.0
|
|
3
|
+
"version": "3.25.0",
|
|
4
4
|
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"porsche",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "3.25.0
|
|
20
|
+
"@porsche-design-system/components-js": "3.25.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"ag-grid-community": ">= 32.0.0 <33.0.0",
|
package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs
CHANGED
|
@@ -28,11 +28,13 @@ class DSRCarousel extends react.Component {
|
|
|
28
28
|
btnNext;
|
|
29
29
|
paginationEl;
|
|
30
30
|
slides = [];
|
|
31
|
+
get parsedSlidesPerPage() {
|
|
32
|
+
}
|
|
31
33
|
get splideSlides() {
|
|
32
34
|
return this.props.splide.Components.Elements.slides;
|
|
33
35
|
}
|
|
34
36
|
get hasNavigation() {
|
|
35
|
-
return this.props.
|
|
37
|
+
return this.props.parsedSlidesPerPage === 'auto' || this.props.amountOfPages > 1;
|
|
36
38
|
}
|
|
37
39
|
render() {
|
|
38
40
|
const { children, namedSlotChildren, otherChildren } = splitChildren.splitChildren(this.props.children);
|
package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs
CHANGED
|
@@ -26,11 +26,13 @@ class DSRCarousel extends Component {
|
|
|
26
26
|
btnNext;
|
|
27
27
|
paginationEl;
|
|
28
28
|
slides = [];
|
|
29
|
+
get parsedSlidesPerPage() {
|
|
30
|
+
}
|
|
29
31
|
get splideSlides() {
|
|
30
32
|
return this.props.splide.Components.Elements.slides;
|
|
31
33
|
}
|
|
32
34
|
get hasNavigation() {
|
|
33
|
-
return this.props.
|
|
35
|
+
return this.props.parsedSlidesPerPage === 'auto' || this.props.amountOfPages > 1;
|
|
34
36
|
}
|
|
35
37
|
render() {
|
|
36
38
|
const { children, namedSlotChildren, otherChildren } = splitChildren(this.props.children);
|