@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 isFlexibleUiBlock(child);
24
+ return isFlexibleUiTitleBlock(child);
25
25
  })) {
26
26
  return true;
27
27
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "18.0.20",
3
+ "version": "18.0.21",
4
4
  "sideEffects": false
5
5
  }
@@ -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 => isFlexibleUiBlock(child))) {
6
+ if (children && React.Children.toArray(children).some(child => isFlexibleUiTitleBlock(child))) {
7
7
  return true;
8
8
  }
9
9
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "18.0.20",
3
+ "version": "18.0.21",
4
4
  "sideEffects": false
5
5
  }
@@ -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 isFlexibleUiBlock(child);
7
+ return isFlexibleUiTitleBlock(child);
8
8
  })) {
9
9
  return true;
10
10
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "18.0.20",
3
+ "version": "18.0.21",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "18.0.20",
3
+ "version": "18.0.21",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"