@atlaskit/smart-card 32.7.10 → 32.7.12

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,19 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 32.7.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 32.7.11
10
+
11
+ ### Patch Changes
12
+
13
+ - [#179934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/179934)
14
+ [`be121b1cf4f54`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be121b1cf4f54) -
15
+ Internal changes to typography font family style definitions.
16
+
3
17
  ## 32.7.10
4
18
 
5
19
  ### Patch Changes
@@ -15,7 +15,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
15
15
  var context = exports.context = {
16
16
  componentName: 'smart-cards',
17
17
  packageName: "@atlaskit/smart-card",
18
- packageVersion: "32.7.10"
18
+ packageVersion: "32.7.12"
19
19
  };
20
20
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
21
21
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -10,7 +10,6 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
10
10
  var _styled = _interopRequireDefault(require("@emotion/styled"));
11
11
  var _colors = _interopRequireWildcard(require("@atlaskit/theme/colors"));
12
12
  var colors = _colors;
13
- var _constants = require("@atlaskit/theme/constants");
14
13
  var _utils = require("../../common/utils");
15
14
  var _templateObject, _templateObject2; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
@@ -60,7 +59,7 @@ var height = function height(_ref5) {
60
59
  return inheritDimensions ? 'height: 100%;' : "height: ".concat((0, _utils.gs)(54));
61
60
  };
62
61
  var wrapperStyles = function wrapperStyles(props) {
63
- return "\n ".concat(wrapperBorderRadius, "\n ").concat(minWidth(props), "\n ").concat(maxWidth(props), "\n ").concat(getInteractiveStyles(props), "\n ").concat(visible(props), "\n display: inline-flex;\n flex-direction: column;\n box-sizing: border-box;\n font-family: ").concat((0, _constants.fontFamily)(), ";\n width: 100%;\n user-select: none;\n line-height: initial;\n transition: background 0.3s;\n position: relative;\n ").concat(height(props), ";\n ").concat(selected(props), "\n\n &:after {\n content: '';\n transition: background 0.3s, box-shadow 0.3s;\n position: absolute;\n height: calc(100% + ", "var(--ds-space-100, 8px)", ");\n ").concat(wrapperBorderRadius, "\n\n ").concat(wrapperSizing(props), "\n }\n");
62
+ return "\n ".concat(wrapperBorderRadius, "\n ").concat(minWidth(props), "\n ").concat(maxWidth(props), "\n ").concat(getInteractiveStyles(props), "\n ").concat(visible(props), "\n display: inline-flex;\n flex-direction: column;\n box-sizing: border-box;\n font-family: ", "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)", ";\n width: 100%;\n user-select: none;\n line-height: initial;\n transition: background 0.3s;\n position: relative;\n ").concat(height(props), ";\n ").concat(selected(props), "\n\n &:after {\n content: '';\n transition: background 0.3s, box-shadow 0.3s;\n position: absolute;\n height: calc(100% + ", "var(--ds-space-100, 8px)", ");\n ").concat(wrapperBorderRadius, "\n\n ").concat(wrapperSizing(props), "\n }\n");
64
63
  };
65
64
 
66
65
  // if frameStyle !== 'show' then set the width of the frame to be
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
20
20
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
21
21
  var PACKAGE_DATA = {
22
22
  packageName: "@atlaskit/smart-card",
23
- packageVersion: "32.7.10",
23
+ packageVersion: "32.7.12",
24
24
  componentName: 'linkUrl'
25
25
  };
26
26
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -3,7 +3,7 @@ export const ANALYTICS_CHANNEL = 'media';
3
3
  export const context = {
4
4
  componentName: 'smart-cards',
5
5
  packageName: "@atlaskit/smart-card",
6
- packageVersion: "32.7.10"
6
+ packageVersion: "32.7.12"
7
7
  };
8
8
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
9
9
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -2,7 +2,6 @@
2
2
  import styled from '@emotion/styled';
3
3
  import * as colors from '@atlaskit/theme/colors';
4
4
  import { N40 } from '@atlaskit/theme/colors';
5
- import { fontFamily } from '@atlaskit/theme/constants';
6
5
  import { gs as gridSize } from '../../common/utils';
7
6
  export const className = 'media-card-frame';
8
7
  export const borderRadius = `
@@ -93,7 +92,7 @@ const wrapperStyles = props => `
93
92
  display: inline-flex;
94
93
  flex-direction: column;
95
94
  box-sizing: border-box;
96
- font-family: ${fontFamily()};
95
+ font-family: ${"var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"};
97
96
  width: 100%;
98
97
  user-select: none;
99
98
  line-height: initial;
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
10
10
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
11
11
  const PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "32.7.10",
13
+ packageVersion: "32.7.12",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  const Anchor = withLinkClickedEvent('a');
@@ -8,7 +8,7 @@ export var ANALYTICS_CHANNEL = 'media';
8
8
  export var context = {
9
9
  componentName: 'smart-cards',
10
10
  packageName: "@atlaskit/smart-card",
11
- packageVersion: "32.7.10"
11
+ packageVersion: "32.7.12"
12
12
  };
13
13
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
14
14
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -4,7 +4,6 @@ var _templateObject, _templateObject2;
4
4
  import styled from '@emotion/styled';
5
5
  import * as colors from '@atlaskit/theme/colors';
6
6
  import { N40 } from '@atlaskit/theme/colors';
7
- import { fontFamily } from '@atlaskit/theme/constants';
8
7
  import { gs as gridSize } from '../../common/utils';
9
8
  export var className = 'media-card-frame';
10
9
  export var borderRadius = "\n border-radius: ".concat("var(--ds-border-radius, 3px)", ";\n");
@@ -51,7 +50,7 @@ var height = function height(_ref5) {
51
50
  return inheritDimensions ? 'height: 100%;' : "height: ".concat(gridSize(54));
52
51
  };
53
52
  var wrapperStyles = function wrapperStyles(props) {
54
- return "\n ".concat(wrapperBorderRadius, "\n ").concat(minWidth(props), "\n ").concat(maxWidth(props), "\n ").concat(getInteractiveStyles(props), "\n ").concat(visible(props), "\n display: inline-flex;\n flex-direction: column;\n box-sizing: border-box;\n font-family: ").concat(fontFamily(), ";\n width: 100%;\n user-select: none;\n line-height: initial;\n transition: background 0.3s;\n position: relative;\n ").concat(height(props), ";\n ").concat(selected(props), "\n\n &:after {\n content: '';\n transition: background 0.3s, box-shadow 0.3s;\n position: absolute;\n height: calc(100% + ", "var(--ds-space-100, 8px)", ");\n ").concat(wrapperBorderRadius, "\n\n ").concat(wrapperSizing(props), "\n }\n");
53
+ return "\n ".concat(wrapperBorderRadius, "\n ").concat(minWidth(props), "\n ").concat(maxWidth(props), "\n ").concat(getInteractiveStyles(props), "\n ").concat(visible(props), "\n display: inline-flex;\n flex-direction: column;\n box-sizing: border-box;\n font-family: ", "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)", ";\n width: 100%;\n user-select: none;\n line-height: initial;\n transition: background 0.3s;\n position: relative;\n ").concat(height(props), ";\n ").concat(selected(props), "\n\n &:after {\n content: '';\n transition: background 0.3s, box-shadow 0.3s;\n position: absolute;\n height: calc(100% + ", "var(--ds-space-100, 8px)", ");\n ").concat(wrapperBorderRadius, "\n\n ").concat(wrapperSizing(props), "\n }\n");
55
54
  };
56
55
 
57
56
  // if frameStyle !== 'show' then set the width of the frame to be
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
13
13
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
14
14
  var PACKAGE_DATA = {
15
15
  packageName: "@atlaskit/smart-card",
16
- packageVersion: "32.7.10",
16
+ packageVersion: "32.7.12",
17
17
  componentName: 'linkUrl'
18
18
  };
19
19
  var Anchor = withLinkClickedEvent('a');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "32.7.10",
3
+ "version": "32.7.12",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/icon-object": "^6.9.0",
42
42
  "@atlaskit/icon-priority": "^6.3.0",
43
43
  "@atlaskit/legacy-custom-icons": "^0.20.0",
44
- "@atlaskit/link": "^1.2.1",
44
+ "@atlaskit/link": "^2.0.0",
45
45
  "@atlaskit/link-analytics": "^8.6.0",
46
46
  "@atlaskit/link-client-extension": "^3.0.0",
47
47
  "@atlaskit/link-extractors": "^1.9.0",
@@ -61,7 +61,7 @@
61
61
  "@atlaskit/textarea": "^5.7.0",
62
62
  "@atlaskit/textfield": "^6.7.0",
63
63
  "@atlaskit/theme": "^14.0.0",
64
- "@atlaskit/tokens": "^2.4.0",
64
+ "@atlaskit/tokens": "^2.5.0",
65
65
  "@atlaskit/tooltip": "^19.0.0",
66
66
  "@atlaskit/ufo": "^0.3.0",
67
67
  "@babel/runtime": "^7.0.0",