@contentful/field-editor-reference 5.27.5 → 5.27.6

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.
@@ -74,7 +74,9 @@ const styles = {
74
74
  }),
75
75
  fileInformation: {
76
76
  menuItem: (0, _emotion.css)({
77
- opacity: 1
77
+ '&:disabled': {
78
+ opacity: 1
79
+ }
78
80
  }),
79
81
  dl: (0, _emotion.css)({
80
82
  backgroundColor: _f36tokens.default.gray100,
@@ -118,7 +120,8 @@ function renderAssetInfo(props) {
118
120
  _react.createElement(_f36components.Menu.Item, {
119
121
  key: "file-information",
120
122
  className: styles.fileInformation.menuItem,
121
- isDisabled: true
123
+ isDisabled: true,
124
+ disabled: true
122
125
  }, _react.createElement("dl", {
123
126
  className: styles.fileInformation.dl
124
127
  }, fileName && _react.createElement(_react.Fragment, null, _react.createElement("dt", null, "File Name:"), _react.createElement(_f36components.Text, {
@@ -10,7 +10,9 @@ const styles = {
10
10
  }),
11
11
  fileInformation: {
12
12
  menuItem: css({
13
- opacity: 1
13
+ '&:disabled': {
14
+ opacity: 1
15
+ }
14
16
  }),
15
17
  dl: css({
16
18
  backgroundColor: tokens.gray100,
@@ -54,7 +56,8 @@ export function renderAssetInfo(props) {
54
56
  React.createElement(Menu.Item, {
55
57
  key: "file-information",
56
58
  className: styles.fileInformation.menuItem,
57
- isDisabled: true
59
+ isDisabled: true,
60
+ disabled: true
58
61
  }, React.createElement("dl", {
59
62
  className: styles.fileInformation.dl
60
63
  }, fileName && React.createElement(React.Fragment, null, React.createElement("dt", null, "File Name:"), React.createElement(Text, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-reference",
3
- "version": "5.27.5",
3
+ "version": "5.27.6",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "registry": "https://npm.pkg.github.com/"
69
69
  },
70
- "gitHead": "29cf5fb16a8d61f6c23678dad618c61aceec320d"
70
+ "gitHead": "aba605cb270ad856f7a9712305d0eba5e1f03423"
71
71
  }