@atlaskit/smart-card 18.0.20 → 18.0.21
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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 18.0.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ffaf122189e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ffaf122189e) - Flexible UI: TitleBlock is now composory to display Flexible UI on Smart Links
|
|
8
|
+
|
|
3
9
|
## 18.0.20
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -21,7 +21,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
21
21
|
|
|
22
22
|
var isFlexibleUiCard = function isFlexibleUiCard(children) {
|
|
23
23
|
if (children && _react.default.Children.toArray(children).some(function (child) {
|
|
24
|
-
return
|
|
24
|
+
return isFlexibleUiTitleBlock(child);
|
|
25
25
|
})) {
|
|
26
26
|
return true;
|
|
27
27
|
}
|
package/dist/cjs/version.json
CHANGED
|
@@ -3,7 +3,7 @@ import * as Blocks from '../view/FlexibleCard/components/blocks';
|
|
|
3
3
|
import { TitleBlock } from '../view/FlexibleCard/components/blocks';
|
|
4
4
|
import * as Elements from '../view/FlexibleCard/components/elements';
|
|
5
5
|
export const isFlexibleUiCard = children => {
|
|
6
|
-
if (children && React.Children.toArray(children).some(child =>
|
|
6
|
+
if (children && React.Children.toArray(children).some(child => isFlexibleUiTitleBlock(child))) {
|
|
7
7
|
return true;
|
|
8
8
|
}
|
|
9
9
|
|
package/dist/es2019/version.json
CHANGED
|
@@ -4,7 +4,7 @@ import { TitleBlock } from '../view/FlexibleCard/components/blocks';
|
|
|
4
4
|
import * as Elements from '../view/FlexibleCard/components/elements';
|
|
5
5
|
export var isFlexibleUiCard = function isFlexibleUiCard(children) {
|
|
6
6
|
if (children && React.Children.toArray(children).some(function (child) {
|
|
7
|
-
return
|
|
7
|
+
return isFlexibleUiTitleBlock(child);
|
|
8
8
|
})) {
|
|
9
9
|
return true;
|
|
10
10
|
}
|
package/dist/esm/version.json
CHANGED