@atlaskit/share 3.0.8 → 3.0.9
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
|
@@ -76,8 +76,10 @@ var allowEmails = function allowEmails(config) {
|
|
|
76
76
|
exports.allowEmails = allowEmails;
|
|
77
77
|
|
|
78
78
|
var resolveShareFooter = function resolveShareFooter(integrationMode, tabIndex, customFooter) {
|
|
79
|
-
if (
|
|
80
|
-
|
|
79
|
+
if (customFooter) {
|
|
80
|
+
if (integrationMode !== 'tabs' || tabIndex === 0) {
|
|
81
|
+
return customFooter;
|
|
82
|
+
}
|
|
81
83
|
}
|
|
82
84
|
};
|
|
83
85
|
|
package/dist/cjs/version.json
CHANGED
|
@@ -51,7 +51,9 @@ export const optionDataToUsers = optionDataArray => optionDataArray.map(optionDa
|
|
|
51
51
|
});
|
|
52
52
|
export const allowEmails = config => !(config && config.disableSharingToEmails);
|
|
53
53
|
export const resolveShareFooter = (integrationMode, tabIndex, customFooter) => {
|
|
54
|
-
if (
|
|
55
|
-
|
|
54
|
+
if (customFooter) {
|
|
55
|
+
if (integrationMode !== 'tabs' || tabIndex === 0) {
|
|
56
|
+
return customFooter;
|
|
57
|
+
}
|
|
56
58
|
}
|
|
57
59
|
};
|
package/dist/es2019/version.json
CHANGED
|
@@ -55,7 +55,9 @@ export var allowEmails = function allowEmails(config) {
|
|
|
55
55
|
return !(config && config.disableSharingToEmails);
|
|
56
56
|
};
|
|
57
57
|
export var resolveShareFooter = function resolveShareFooter(integrationMode, tabIndex, customFooter) {
|
|
58
|
-
if (
|
|
59
|
-
|
|
58
|
+
if (customFooter) {
|
|
59
|
+
if (integrationMode !== 'tabs' || tabIndex === 0) {
|
|
60
|
+
return customFooter;
|
|
61
|
+
}
|
|
60
62
|
}
|
|
61
63
|
};
|
package/dist/esm/version.json
CHANGED