@atlaskit/editor-common 110.47.2 → 110.48.0

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,16 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 110.48.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`a1fc015297d52`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a1fc015297d52) -
8
+ Adding another hostname for images that is exempted from external badge
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 110.47.2
4
15
 
5
16
  ### Patch Changes
@@ -20,7 +20,7 @@ var baseStyles = (0, _primitives.xcss)({
20
20
  lineHeight: "var(--ds-space-200, 16px)",
21
21
  cursor: 'pointer'
22
22
  });
23
- var NO_EXTERNAL_BADGE_HOSTS = ['atlassian.com', 'loom.com'];
23
+ var NO_EXTERNAL_BADGE_HOSTS = ['atlassian.com', 'loom.com', 'dam-cdn.atl.orangelogic.com'];
24
24
  var isUnbadgedUrl = exports.isUnbadgedUrl = function isUnbadgedUrl(url) {
25
25
  if (!url) {
26
26
  return false;
@@ -12,7 +12,7 @@ const baseStyles = xcss({
12
12
  lineHeight: "var(--ds-space-200, 16px)",
13
13
  cursor: 'pointer'
14
14
  });
15
- const NO_EXTERNAL_BADGE_HOSTS = ['atlassian.com', 'loom.com'];
15
+ const NO_EXTERNAL_BADGE_HOSTS = ['atlassian.com', 'loom.com', 'dam-cdn.atl.orangelogic.com'];
16
16
  export const isUnbadgedUrl = url => {
17
17
  if (!url) {
18
18
  return false;
@@ -12,7 +12,7 @@ var baseStyles = xcss({
12
12
  lineHeight: "var(--ds-space-200, 16px)",
13
13
  cursor: 'pointer'
14
14
  });
15
- var NO_EXTERNAL_BADGE_HOSTS = ['atlassian.com', 'loom.com'];
15
+ var NO_EXTERNAL_BADGE_HOSTS = ['atlassian.com', 'loom.com', 'dam-cdn.atl.orangelogic.com'];
16
16
  export var isUnbadgedUrl = function isUnbadgedUrl(url) {
17
17
  if (!url) {
18
18
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "110.47.2",
3
+ "version": "110.48.0",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -81,7 +81,7 @@
81
81
  "@atlaskit/task-decision": "^19.2.0",
82
82
  "@atlaskit/textfield": "^8.2.0",
83
83
  "@atlaskit/theme": "^21.0.0",
84
- "@atlaskit/tmp-editor-statsig": "^16.0.0",
84
+ "@atlaskit/tmp-editor-statsig": "^16.1.0",
85
85
  "@atlaskit/tokens": "^9.0.0",
86
86
  "@atlaskit/tooltip": "^20.11.0",
87
87
  "@atlaskit/width-detector": "^5.0.0",