@atlaskit/editor-plugin-card 0.13.0 → 0.13.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 +6 -0
- package/dist/cjs/toolbar.js +4 -3
- package/dist/es2019/toolbar.js +4 -3
- package/dist/esm/toolbar.js +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 0.13.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#43078](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43078) [`088d6edebd4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/088d6edebd4) - [ux] Passing the value of showUpgradeDiscoverability prop to toolbar component
|
|
8
|
+
|
|
3
9
|
## 0.13.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/cjs/toolbar.js
CHANGED
|
@@ -279,8 +279,8 @@ var generateToolbarItems = function generateToolbarItems(state, featureFlags, in
|
|
|
279
279
|
}
|
|
280
280
|
var allowBlockCards = cardOptions.allowBlockCards,
|
|
281
281
|
allowEmbeds = cardOptions.allowEmbeds,
|
|
282
|
-
allowDatasource = cardOptions.allowDatasource
|
|
283
|
-
|
|
282
|
+
allowDatasource = cardOptions.allowDatasource,
|
|
283
|
+
showUpgradeDiscoverability = cardOptions.showUpgradeDiscoverability;
|
|
284
284
|
// This code will be executed only for appearances such as "inline", "block" & "embed"
|
|
285
285
|
// For url appearance, please see HyperlinkToolbarAppearanceProps
|
|
286
286
|
if (currentAppearance) {
|
|
@@ -299,7 +299,8 @@ var generateToolbarItems = function generateToolbarItems(state, featureFlags, in
|
|
|
299
299
|
allowBlockCards: allowBlockCards,
|
|
300
300
|
platform: platform,
|
|
301
301
|
editorAnalyticsApi: editorAnalyticsApi,
|
|
302
|
-
cardActions: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.card.actions
|
|
302
|
+
cardActions: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.card.actions,
|
|
303
|
+
showUpgradeDiscoverability: showUpgradeDiscoverability
|
|
303
304
|
});
|
|
304
305
|
}
|
|
305
306
|
}, {
|
package/dist/es2019/toolbar.js
CHANGED
|
@@ -276,9 +276,9 @@ const generateToolbarItems = (state, featureFlags, intl, providerFactory, cardOp
|
|
|
276
276
|
const {
|
|
277
277
|
allowBlockCards,
|
|
278
278
|
allowEmbeds,
|
|
279
|
-
allowDatasource
|
|
279
|
+
allowDatasource,
|
|
280
|
+
showUpgradeDiscoverability
|
|
280
281
|
} = cardOptions;
|
|
281
|
-
|
|
282
282
|
// This code will be executed only for appearances such as "inline", "block" & "embed"
|
|
283
283
|
// For url appearance, please see HyperlinkToolbarAppearanceProps
|
|
284
284
|
if (currentAppearance) {
|
|
@@ -296,7 +296,8 @@ const generateToolbarItems = (state, featureFlags, intl, providerFactory, cardOp
|
|
|
296
296
|
allowBlockCards: allowBlockCards,
|
|
297
297
|
platform: platform,
|
|
298
298
|
editorAnalyticsApi: editorAnalyticsApi,
|
|
299
|
-
cardActions: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.card.actions
|
|
299
|
+
cardActions: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.card.actions,
|
|
300
|
+
showUpgradeDiscoverability: showUpgradeDiscoverability
|
|
300
301
|
})
|
|
301
302
|
}, {
|
|
302
303
|
type: 'separator'
|
package/dist/esm/toolbar.js
CHANGED
|
@@ -269,8 +269,8 @@ var generateToolbarItems = function generateToolbarItems(state, featureFlags, in
|
|
|
269
269
|
}
|
|
270
270
|
var allowBlockCards = cardOptions.allowBlockCards,
|
|
271
271
|
allowEmbeds = cardOptions.allowEmbeds,
|
|
272
|
-
allowDatasource = cardOptions.allowDatasource
|
|
273
|
-
|
|
272
|
+
allowDatasource = cardOptions.allowDatasource,
|
|
273
|
+
showUpgradeDiscoverability = cardOptions.showUpgradeDiscoverability;
|
|
274
274
|
// This code will be executed only for appearances such as "inline", "block" & "embed"
|
|
275
275
|
// For url appearance, please see HyperlinkToolbarAppearanceProps
|
|
276
276
|
if (currentAppearance) {
|
|
@@ -289,7 +289,8 @@ var generateToolbarItems = function generateToolbarItems(state, featureFlags, in
|
|
|
289
289
|
allowBlockCards: allowBlockCards,
|
|
290
290
|
platform: platform,
|
|
291
291
|
editorAnalyticsApi: editorAnalyticsApi,
|
|
292
|
-
cardActions: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.card.actions
|
|
292
|
+
cardActions: pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.card.actions,
|
|
293
|
+
showUpgradeDiscoverability: showUpgradeDiscoverability
|
|
293
294
|
});
|
|
294
295
|
}
|
|
295
296
|
}, {
|