@atlaskit/editor-plugin-loom 3.1.6 → 3.1.8

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,19 @@
1
1
  # @atlaskit/editor-plugin-loom
2
2
 
3
+ ## 3.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.1.7
10
+
11
+ ### Patch Changes
12
+
13
+ - [#157550](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157550)
14
+ [`57749c4f9fd9f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/57749c4f9fd9f) -
15
+ Add disabled color to Loom icon in editor
16
+
3
17
  ## 3.1.6
4
18
 
5
19
  ### 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.6",
3
+ "version": "3.1.8",
4
4
  "description": "Loom plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@atlaskit/button": "^20.3.0",
38
- "@atlaskit/editor-common": "^94.2.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",
@@ -44,7 +44,7 @@
44
44
  "@atlaskit/editor-prosemirror": "6.0.0",
45
45
  "@atlaskit/icon": "22.24.0",
46
46
  "@atlaskit/platform-feature-flags": "0.3.0",
47
- "@atlaskit/tokens": "2.0.4",
47
+ "@atlaskit/tokens": "2.0.5",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1",
50
50
  "@loomhq/record-sdk": "^2.36.18"
@@ -66,7 +66,7 @@
66
66
  "@atlaskit/editor-plugin-decorations": "^1.3.0",
67
67
  "@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
68
68
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
69
- "@atlaskit/editor-plugin-floating-toolbar": "^1.13.0",
69
+ "@atlaskit/editor-plugin-floating-toolbar": "^1.14.0",
70
70
  "@atlaskit/editor-plugin-grid": "^1.2.0",
71
71
  "@testing-library/react": "^12.1.5",
72
72
  "@testing-library/user-event": "^14.4.3",