@tui-cruises/mein-schiff-web-react-component-library 3.0.1 → 3.0.2
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 +7 -0
- package/package.json +1 -1
- package/src/helpers/children.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [3.0.2](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v3.0.1...v3.0.2) (2025-09-12)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* next15 prep ([cd34983](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/commit/cd3498382498e9476bcf6a9b9972e8ffa7638482))
|
|
11
|
+
|
|
5
12
|
### [3.0.1](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v3.0.0...v3.0.1) (2025-09-12)
|
|
6
13
|
|
|
7
14
|
## [3.0.0](https://bitbucket.org/yours_truly/tuic-mein-schiff-web-react-component-library/compare/v2.2.9...v3.0.0) (2025-09-12)
|
package/package.json
CHANGED
package/src/helpers/children.ts
CHANGED
|
@@ -18,6 +18,9 @@ export const getChildrenAsArrayOfElements = (
|
|
|
18
18
|
if (!isFragment(maybeFragment)) {
|
|
19
19
|
return asArray;
|
|
20
20
|
}
|
|
21
|
+
if (!isElementWithProps(maybeFragment)) {
|
|
22
|
+
return asArray;
|
|
23
|
+
}
|
|
21
24
|
|
|
22
25
|
// ... and if so, return its children instead.
|
|
23
26
|
// We could make this recursive, but let's not dive too deep into the rabbit hole.
|