@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 +6 -0
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/HoverCard/index.js +3 -1
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/HoverCard/index.js +4 -2
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/HoverCard/index.js +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
|
@@ -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, {
|
package/dist/es2019/version.json
CHANGED
|
@@ -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, {
|
package/dist/esm/version.json
CHANGED
|
@@ -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, {
|