@atlaskit/editor-plugin-loom 3.1.5 → 3.1.7

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,22 @@
1
1
  # @atlaskit/editor-plugin-loom
2
2
 
3
+ ## 3.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#157550](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157550)
8
+ [`57749c4f9fd9f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/57749c4f9fd9f) -
9
+ Add disabled color to Loom icon in editor
10
+
11
+ ## 3.1.6
12
+
13
+ ### Patch Changes
14
+
15
+ - [#155735](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155735)
16
+ [`1beeeda29023a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1beeeda29023a) -
17
+ Upgrades editor packages to react 18
18
+ - Updated dependencies
19
+
3
20
  ## 3.1.5
4
21
 
5
22
  ### Patch Changes
@@ -56,7 +56,7 @@ var LoomToolbarButtonInternal = /*#__PURE__*/_react.default.forwardRef(function
56
56
  title: label,
57
57
  iconBefore: (0, _react2.jsx)(_video.default, {
58
58
  label: label,
59
- color: "var(--ds-text, #172B4D)",
59
+ color: disabled ? "var(--ds-text-disabled, #091E424F)" : "var(--ds-text, #172B4D)",
60
60
  spacing: "spacious"
61
61
  }),
62
62
  selected: selected,
@@ -52,7 +52,7 @@ const LoomToolbarButtonInternal = /*#__PURE__*/React.forwardRef(({
52
52
  title: label,
53
53
  iconBefore: jsx(VideoIcon, {
54
54
  label: label,
55
- color: "var(--ds-text, #172B4D)",
55
+ color: disabled ? "var(--ds-text-disabled, #091E424F)" : "var(--ds-text, #172B4D)",
56
56
  spacing: "spacious"
57
57
  }),
58
58
  selected: selected,
@@ -48,7 +48,7 @@ var LoomToolbarButtonInternal = /*#__PURE__*/React.forwardRef(function (_ref, re
48
48
  title: label,
49
49
  iconBefore: jsx(VideoIcon, {
50
50
  label: label,
51
- color: "var(--ds-text, #172B4D)",
51
+ color: disabled ? "var(--ds-text-disabled, #091E424F)" : "var(--ds-text, #172B4D)",
52
52
  spacing: "spacious"
53
53
  }),
54
54
  selected: selected,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-loom",
3
- "version": "3.1.5",
3
+ "version": "3.1.7",
4
4
  "description": "Loom plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -13,7 +13,7 @@
13
13
  "name": "EditorPluginLoom",
14
14
  "category": "Components"
15
15
  },
16
- "runReact18": false
16
+ "runReact18": true
17
17
  },
18
18
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
19
19
  "main": "dist/cjs/index.js",
@@ -34,15 +34,15 @@
34
34
  ".": "./src/index.ts"
35
35
  },
36
36
  "dependencies": {
37
- "@atlaskit/button": "^20.2.0",
38
- "@atlaskit/editor-common": "^94.0.0",
37
+ "@atlaskit/button": "^20.3.0",
38
+ "@atlaskit/editor-common": "^94.8.0",
39
39
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
40
40
  "@atlaskit/editor-plugin-hyperlink": "^3.1.0",
41
41
  "@atlaskit/editor-plugin-primary-toolbar": "^2.0.0",
42
- "@atlaskit/editor-plugin-quick-insert": "^1.4.0",
42
+ "@atlaskit/editor-plugin-quick-insert": "^1.5.0",
43
43
  "@atlaskit/editor-plugin-width": "^1.3.0",
44
44
  "@atlaskit/editor-prosemirror": "6.0.0",
45
- "@atlaskit/icon": "22.23.0",
45
+ "@atlaskit/icon": "22.24.0",
46
46
  "@atlaskit/platform-feature-flags": "0.3.0",
47
47
  "@atlaskit/tokens": "2.0.4",
48
48
  "@babel/runtime": "^7.0.0",
@@ -51,6 +51,7 @@
51
51
  },
52
52
  "peerDependencies": {
53
53
  "react": "^16.8.0 || ^17.0.0 || ~18.2.0",
54
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.2.0",
54
55
  "react-intl-next": "npm:react-intl@^5.18.1"
55
56
  },
56
57
  "platform-feature-flags": {
@@ -65,12 +66,11 @@
65
66
  "@atlaskit/editor-plugin-decorations": "^1.3.0",
66
67
  "@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
67
68
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
68
- "@atlaskit/editor-plugin-floating-toolbar": "^1.13.0",
69
+ "@atlaskit/editor-plugin-floating-toolbar": "^1.14.0",
69
70
  "@atlaskit/editor-plugin-grid": "^1.2.0",
70
71
  "@testing-library/react": "^12.1.5",
71
72
  "@testing-library/user-event": "^14.4.3",
72
73
  "raf-stub": "^2.0.1",
73
- "react-dom": "^16.8.0",
74
74
  "typescript": "~5.4.2"
75
75
  },
76
76
  "techstack": {