@atlaskit/smart-card 19.1.2 → 19.1.3

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
+ ## 19.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3de372f6670`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3de372f6670) - Hover Previews: use black flex-ui theme
8
+
3
9
  ## 19.1.2
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.2",
3
+ "version": "19.1.3",
4
4
  "sideEffects": false
5
5
  }
@@ -157,7 +157,9 @@ var HoverCardComponent = function HoverCardComponent(_ref) {
157
157
  url: url,
158
158
  ui: {
159
159
  hideElevation: true,
160
- size: _constants.SmartLinkSize.Large
160
+ size: _constants.SmartLinkSize.Large,
161
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
162
+ theme: _constants.SmartLinkTheme.Black
161
163
  },
162
164
  onResolve: update
163
165
  }, (0, _core.jsx)(_blocks.TitleBlock, {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.2",
3
+ "version": "19.1.3",
4
4
  "sideEffects": false
5
5
  }
@@ -6,7 +6,7 @@ import React, { useCallback, useRef, useMemo } from 'react';
6
6
  import { TitleBlock, SnippetBlock, FooterBlock, MetadataBlock, PreviewBlock } from '../FlexibleCard/components/blocks';
7
7
  import { Card } from '../Card';
8
8
  import Popup from '@atlaskit/popup';
9
- import { SmartLinkSize, ActionName } from '../../constants';
9
+ import { SmartLinkSize, ActionName, SmartLinkTheme } from '../../constants';
10
10
  import { useSmartLinkActions } from '../../state/hooks-external/useSmartLinkActions';
11
11
  import { HoverCardContainer } from './styled';
12
12
  import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
@@ -110,7 +110,9 @@ export const HoverCardComponent = ({
110
110
  url: url,
111
111
  ui: {
112
112
  hideElevation: true,
113
- size: SmartLinkSize.Large
113
+ size: SmartLinkSize.Large,
114
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
115
+ theme: SmartLinkTheme.Black
114
116
  },
115
117
  onResolve: update
116
118
  }, jsx(TitleBlock, {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.2",
3
+ "version": "19.1.3",
4
4
  "sideEffects": false
5
5
  }
@@ -7,7 +7,7 @@ import React, { useCallback, useRef, useMemo } from 'react';
7
7
  import { TitleBlock, SnippetBlock, FooterBlock, MetadataBlock, PreviewBlock } from '../FlexibleCard/components/blocks';
8
8
  import { Card } from '../Card';
9
9
  import Popup from '@atlaskit/popup';
10
- import { SmartLinkSize, ActionName } from '../../constants';
10
+ import { SmartLinkSize, ActionName, SmartLinkTheme } from '../../constants';
11
11
  import { useSmartLinkActions } from '../../state/hooks-external/useSmartLinkActions';
12
12
  import { HoverCardContainer } from './styled';
13
13
  import ShortcutIcon from '@atlaskit/icon/glyph/shortcut';
@@ -124,7 +124,9 @@ export var HoverCardComponent = function HoverCardComponent(_ref) {
124
124
  url: url,
125
125
  ui: {
126
126
  hideElevation: true,
127
- size: SmartLinkSize.Large
127
+ size: SmartLinkSize.Large,
128
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
129
+ theme: SmartLinkTheme.Black
128
130
  },
129
131
  onResolve: update
130
132
  }, jsx(TitleBlock, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.2",
3
+ "version": "19.1.3",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"