@vidispine/vdt-materialui 22.2.0-pre.3 → 22.3.0-pre.1

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/dist/index.es.js CHANGED
@@ -9274,6 +9274,7 @@ var toCapsCase$1 = function toCapsCase(string) {
9274
9274
  function EntityAccessMenu(_ref) {
9275
9275
  var _ref$className = _ref.className,
9276
9276
  className = _ref$className === void 0 ? 'VdtEntityAccessMenu-root' : _ref$className,
9277
+ classes = _ref.classes,
9277
9278
  onRemove = _ref.onRemove,
9278
9279
  accessType = _ref.accessType,
9279
9280
  entityType = _ref.entityType,
@@ -9314,16 +9315,19 @@ function EntityAccessMenu(_ref) {
9314
9315
  keepMounted: true,
9315
9316
  open: Boolean(anchorEl),
9316
9317
  onClose: onClose,
9317
- children: /*#__PURE__*/jsxs(MenuItem, {
9318
- onClick: handleRemove,
9319
- children: [/*#__PURE__*/jsx(ListItemIcon$1, {
9320
- children: /*#__PURE__*/jsx(DeleteIcon, {})
9321
- }), /*#__PURE__*/jsx(ListItemText, {
9322
- primary: entityAccessMenuText,
9323
- primaryTypographyProps: {
9324
- color: 'secondary'
9325
- }
9326
- })]
9318
+ children: /*#__PURE__*/jsx("div", {
9319
+ className: classes.entityAccessMenuContext,
9320
+ children: /*#__PURE__*/jsxs(MenuItem, {
9321
+ onClick: handleRemove,
9322
+ children: [/*#__PURE__*/jsx(ListItemIcon$1, {
9323
+ children: /*#__PURE__*/jsx(DeleteIcon, {})
9324
+ }), /*#__PURE__*/jsx(ListItemText, {
9325
+ primary: entityAccessMenuText,
9326
+ primaryTypographyProps: {
9327
+ color: 'secondary'
9328
+ }
9329
+ })]
9330
+ })
9327
9331
  })
9328
9332
  })]
9329
9333
  });
@@ -29010,6 +29014,7 @@ function SavedSearchRow(_ref) {
29010
29014
  horizontal: 'right'
29011
29015
  },
29012
29016
  children: /*#__PURE__*/jsxs("div", {
29017
+ className: classes.menuContext,
29013
29018
  children: [allowListAccess(searchMetadata) && type === 'folder' && /*#__PURE__*/jsxs(MenuItem, {
29014
29019
  dense: true,
29015
29020
  onClick: handleNewField({
package/dist/index.js CHANGED
@@ -9463,6 +9463,7 @@ var toCapsCase$1 = function toCapsCase(string) {
9463
9463
  function EntityAccessMenu(_ref) {
9464
9464
  var _ref$className = _ref.className,
9465
9465
  className = _ref$className === void 0 ? 'VdtEntityAccessMenu-root' : _ref$className,
9466
+ classes = _ref.classes,
9466
9467
  onRemove = _ref.onRemove,
9467
9468
  accessType = _ref.accessType,
9468
9469
  entityType = _ref.entityType,
@@ -9503,16 +9504,19 @@ function EntityAccessMenu(_ref) {
9503
9504
  keepMounted: true,
9504
9505
  open: Boolean(anchorEl),
9505
9506
  onClose: onClose,
9506
- children: /*#__PURE__*/jsxRuntime.jsxs(MenuItem__default["default"], {
9507
- onClick: handleRemove,
9508
- children: [/*#__PURE__*/jsxRuntime.jsx(ListItemIcon__default["default"], {
9509
- children: /*#__PURE__*/jsxRuntime.jsx(DeleteIcon__default["default"], {})
9510
- }), /*#__PURE__*/jsxRuntime.jsx(ListItemText__default["default"], {
9511
- primary: entityAccessMenuText,
9512
- primaryTypographyProps: {
9513
- color: 'secondary'
9514
- }
9515
- })]
9507
+ children: /*#__PURE__*/jsxRuntime.jsx("div", {
9508
+ className: classes.entityAccessMenuContext,
9509
+ children: /*#__PURE__*/jsxRuntime.jsxs(MenuItem__default["default"], {
9510
+ onClick: handleRemove,
9511
+ children: [/*#__PURE__*/jsxRuntime.jsx(ListItemIcon__default["default"], {
9512
+ children: /*#__PURE__*/jsxRuntime.jsx(DeleteIcon__default["default"], {})
9513
+ }), /*#__PURE__*/jsxRuntime.jsx(ListItemText__default["default"], {
9514
+ primary: entityAccessMenuText,
9515
+ primaryTypographyProps: {
9516
+ color: 'secondary'
9517
+ }
9518
+ })]
9519
+ })
9516
9520
  })
9517
9521
  })]
9518
9522
  });
@@ -29199,6 +29203,7 @@ function SavedSearchRow(_ref) {
29199
29203
  horizontal: 'right'
29200
29204
  },
29201
29205
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
29206
+ className: classes.menuContext,
29202
29207
  children: [allowListAccess(searchMetadata) && type === 'folder' && /*#__PURE__*/jsxRuntime.jsxs(MenuItem__default["default"], {
29203
29208
  dense: true,
29204
29209
  onClick: handleNewField({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidispine/vdt-materialui",
3
- "version": "22.2.0-pre.3",
3
+ "version": "22.3.0-pre.1",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -27,10 +27,10 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@babel/runtime": "^7.17.0",
30
- "@vidispine/vdt-api": "^22.2.0-pre.3",
31
- "@vidispine/vdt-js": "^22.2.0-pre.3",
32
- "@vidispine/vdt-react": "^22.2.0-pre.3",
33
- "@vidispine/vdt-videojs-react": "^22.2.0-pre.3",
30
+ "@vidispine/vdt-api": "22.3.0-pre.1",
31
+ "@vidispine/vdt-js": "22.3.0-pre.1",
32
+ "@vidispine/vdt-react": "22.3.0-pre.1",
33
+ "@vidispine/vdt-videojs-react": "22.3.0-pre.1",
34
34
  "clsx": "^1.1.1",
35
35
  "core-js": "^3.8.3",
36
36
  "filesize": "^6.1.0",
@@ -72,10 +72,10 @@
72
72
  "@rollup/plugin-commonjs": "^21.0.1",
73
73
  "@rollup/plugin-node-resolve": "^13.1.3",
74
74
  "@svgr/rollup": "^6.2.1",
75
- "@vidispine/eslint-config-react": "^22.2.0-pre.3",
76
- "@vidispine/eslint-config-storybook": "*",
77
- "@vidispine/prettier-config": "^22.2.0-pre.3",
78
- "@vidispine/proptypes": "^22.2.0-pre.3",
75
+ "@vidispine/eslint-config-react": "22.3.0-pre.1",
76
+ "@vidispine/eslint-config-storybook": "22.3.0-pre.1",
77
+ "@vidispine/prettier-config": "22.3.0-pre.1",
78
+ "@vidispine/proptypes": "22.3.0-pre.1",
79
79
  "@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
80
80
  "axios-mock-adapter": "^1.20.0",
81
81
  "enzyme": "^3.11.0",
@@ -110,5 +110,5 @@
110
110
  }
111
111
  },
112
112
  "prettier": "@vidispine/prettier-config",
113
- "gitHead": "817cf85f82123735f459189c73448ed27b45b53b"
113
+ "gitHead": "37102605aa7e42295e697e9157143bc6363c55f2"
114
114
  }