@atlaskit/smart-card 25.1.0 → 25.1.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 25.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a3b9ef40d09`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a3b9ef40d09) - [ux] Adds white-space style to FlexUI text element
8
+
3
9
  ## 25.1.0
4
10
 
5
11
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "25.1.0",
3
+ "version": "25.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -12,7 +12,7 @@ var _utils = require("../../utils");
12
12
  var _token = require("../../../../../utils/token");
13
13
  var _templateObject;
14
14
  var getStyles = function getStyles(maxLines) {
15
- return (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n color: ", ";\n font-size: 0.75rem;\n line-height: 1rem;\n ", "\n"])), _token.tokens.text, (0, _utils.getTruncateStyles)(maxLines));
15
+ return (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n color: ", ";\n font-size: 0.75rem;\n line-height: 1rem;\n white-space: normal;\n ", "\n"])), _token.tokens.text, (0, _utils.getTruncateStyles)(maxLines));
16
16
  };
17
17
 
18
18
  /**
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "25.1.0",
3
+ "version": "25.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -7,6 +7,7 @@ const getStyles = maxLines => css`
7
7
  color: ${tokens.text};
8
8
  font-size: 0.75rem;
9
9
  line-height: 1rem;
10
+ white-space: normal;
10
11
  ${getTruncateStyles(maxLines)}
11
12
  `;
12
13
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "25.1.0",
3
+ "version": "25.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -6,7 +6,7 @@ import { css, jsx } from '@emotion/react';
6
6
  import { getFormattedMessage, getTruncateStyles } from '../../utils';
7
7
  import { tokens } from '../../../../../utils/token';
8
8
  var getStyles = function getStyles(maxLines) {
9
- return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: ", ";\n font-size: 0.75rem;\n line-height: 1rem;\n ", "\n"])), tokens.text, getTruncateStyles(maxLines));
9
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: ", ";\n font-size: 0.75rem;\n line-height: 1rem;\n white-space: normal;\n ", "\n"])), tokens.text, getTruncateStyles(maxLines));
10
10
  };
11
11
 
12
12
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "25.1.0",
3
+ "version": "25.1.1",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"