@atlaskit/smart-card 26.50.9 → 26.50.10

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
+ ## 26.50.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [#83297](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83297) [`6b1707c169e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b1707c169e0) - The internal composition of this component has changed. There is no expected change in behaviour.
8
+
3
9
  ## 26.50.9
4
10
 
5
11
  ### Patch Changes
@@ -22,7 +22,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
22
22
  var context = exports.context = {
23
23
  componentName: 'smart-cards',
24
24
  packageName: "@atlaskit/smart-card",
25
- packageVersion: "26.50.9"
25
+ packageVersion: "26.50.10"
26
26
  };
27
27
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
28
28
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -86,7 +86,7 @@ var Wrapper = exports.Wrapper = _styled.default.div(function (props) {
86
86
  }, {
87
87
  // We are keeping this margin as a hardcoded variable as it is not a standard token size and needs
88
88
  // to be thoroughly checked with a designer so that we do not miss an unintended visual change
89
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
89
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
90
90
  marginTop: '10px'
91
91
  });
92
92
  var embedHeaderHeight = exports.embedHeaderHeight = 32;
@@ -31,7 +31,7 @@ var styles = (0, _react2.css)({
31
31
  '> div': {
32
32
  alignItems: 'center',
33
33
  'button:focus-visible': {
34
- outlineOffset: '-2px'
34
+ outlineOffset: "var(--ds-space-negative-025, -2px)"
35
35
  }
36
36
  }
37
37
  });
@@ -18,7 +18,7 @@ var dropdownItemGroupStyles = exports.dropdownItemGroupStyles = (0, _react.css)(
18
18
  });
19
19
  var sharedBlockStyles = (0, _react.css)({
20
20
  display: 'flex',
21
- gap: '0.5rem',
21
+ gap: "var(--ds-space-100, 0.5rem)",
22
22
  lineHeight: '1rem',
23
23
  minWidth: 0,
24
24
  overflow: 'hidden',
@@ -17,7 +17,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId"],
17
17
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
18
18
  var PACKAGE_DATA = {
19
19
  packageName: "@atlaskit/smart-card",
20
- packageVersion: "26.50.9",
20
+ packageVersion: "26.50.10",
21
21
  componentName: 'linkUrl'
22
22
  };
23
23
  var Link = (0, _click.withLinkClickedEvent)('a');
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
4
4
  export const context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "26.50.9"
7
+ packageVersion: "26.50.10"
8
8
  };
9
9
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -146,7 +146,7 @@ export const LinkWrapper = styled.div`
146
146
  export const Wrapper = styled.div(props => wrapperStyles(props), {
147
147
  // We are keeping this margin as a hardcoded variable as it is not a standard token size and needs
148
148
  // to be thoroughly checked with a designer so that we do not miss an unintended visual change
149
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
149
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
150
150
  marginTop: '10px'
151
151
  });
152
152
  export const embedHeaderHeight = 32;
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
+
3
4
  import { useCallback, useMemo, useState } from 'react';
4
5
  import { FormattedMessage } from 'react-intl-next';
5
6
  import { css, jsx } from '@emotion/react';
@@ -21,7 +22,7 @@ const styles = css({
21
22
  '> div': {
22
23
  alignItems: 'center',
23
24
  'button:focus-visible': {
24
- outlineOffset: '-2px'
25
+ outlineOffset: "var(--ds-space-negative-025, -2px)"
25
26
  }
26
27
  }
27
28
  });
@@ -12,7 +12,7 @@ export const dropdownItemGroupStyles = css({
12
12
  });
13
13
  const sharedBlockStyles = css({
14
14
  display: 'flex',
15
- gap: '0.5rem',
15
+ gap: "var(--ds-space-100, 0.5rem)",
16
16
  lineHeight: '1rem',
17
17
  minWidth: 0,
18
18
  overflow: 'hidden',
@@ -7,7 +7,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
7
7
  import LinkWarningModal from './LinkWarningModal';
8
8
  const PACKAGE_DATA = {
9
9
  packageName: "@atlaskit/smart-card",
10
- packageVersion: "26.50.9",
10
+ packageVersion: "26.50.10",
11
11
  componentName: 'linkUrl'
12
12
  };
13
13
  const Link = withLinkClickedEvent('a');
@@ -15,7 +15,7 @@ export var ANALYTICS_CHANNEL = 'media';
15
15
  export var context = {
16
16
  componentName: 'smart-cards',
17
17
  packageName: "@atlaskit/smart-card",
18
- packageVersion: "26.50.9"
18
+ packageVersion: "26.50.10"
19
19
  };
20
20
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
21
21
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -76,7 +76,7 @@ export var Wrapper = styled.div(function (props) {
76
76
  }, {
77
77
  // We are keeping this margin as a hardcoded variable as it is not a standard token size and needs
78
78
  // to be thoroughly checked with a designer so that we do not miss an unintended visual change
79
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
79
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
80
80
  marginTop: '10px'
81
81
  });
82
82
  export var embedHeaderHeight = 32;
@@ -3,6 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  var _excluded = ["triggerRef"];
5
5
  /** @jsx jsx */
6
+
6
7
  import { useCallback, useMemo, useState } from 'react';
7
8
  import { FormattedMessage } from 'react-intl-next';
8
9
  import { css, jsx } from '@emotion/react';
@@ -24,7 +25,7 @@ var styles = css({
24
25
  '> div': {
25
26
  alignItems: 'center',
26
27
  'button:focus-visible': {
27
- outlineOffset: '-2px'
28
+ outlineOffset: "var(--ds-space-negative-025, -2px)"
28
29
  }
29
30
  }
30
31
  });
@@ -12,7 +12,7 @@ export var dropdownItemGroupStyles = css({
12
12
  });
13
13
  var sharedBlockStyles = css({
14
14
  display: 'flex',
15
- gap: '0.5rem',
15
+ gap: "var(--ds-space-100, 0.5rem)",
16
16
  lineHeight: '1rem',
17
17
  minWidth: 0,
18
18
  overflow: 'hidden',
@@ -10,7 +10,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
10
10
  import LinkWarningModal from './LinkWarningModal';
11
11
  var PACKAGE_DATA = {
12
12
  packageName: "@atlaskit/smart-card",
13
- packageVersion: "26.50.9",
13
+ packageVersion: "26.50.10",
14
14
  componentName: 'linkUrl'
15
15
  };
16
16
  var Link = withLinkClickedEvent('a');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.50.9",
3
+ "version": "26.50.10",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"