@vidispine/vdt-materialui 22.3.0-pre.5 → 22.3.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/dist/index.es.js CHANGED
@@ -44,7 +44,7 @@ import Box from '@material-ui/core/Box';
44
44
  import Button$1 from '@material-ui/core/Button';
45
45
  import { FORM_ERROR } from 'final-form';
46
46
  import Paper from '@material-ui/core/Paper';
47
- import { parseFacetType, parseNowDate, formatSeconds, roles, parseShapeType, parseTranscodePreset, parseTimespan, formatTimeBase, formatSmpte, createMetadataType, formatTimeCodeText, formatTimeCodeType, parseMetadataType, parseAudioComponent, parseContainerComponent, parseVideoComponent, parseSimpleMetadataType, findNearestThumbnail, parseHighlightTimespanList, metadataTypeToWebVtt, filterShapeSource, getShapeMediaType, getDocumentType } from '@vidispine/vdt-js';
47
+ import { parseFacetType, parseNowDate, formatTimeCodeSeconds, roles, parseShapeType, parseTranscodePreset, parseTimespan, createTimeBase, formatTimeCodeSmpte, createMetadataType, formatTimeCodeText, formatTimeCodeType, parseMetadataType, parseAudioComponent, parseContainerComponent, parseVideoComponent, parseSimpleMetadataType, findNearestThumbnail, parseHighlightTimespanList, metadataTypeToWebVtt, filterShapeSource, getShapeMediaType, getDocumentType } from '@vidispine/vdt-js';
48
48
  import IconButton from '@material-ui/core/IconButton';
49
49
  import CancelIcon from '@material-ui/icons/Cancel';
50
50
  import { Cancel, CheckCircle, Replay, ExpandLess, Label, Search, Delete, Block, ExpandMore, Folder, ArrowDropUp, ArrowDropDown, Wallpaper, Add, Visibility as Visibility$1, VisibilityOff as VisibilityOff$1 } from '@material-ui/icons';
@@ -241,9 +241,7 @@ function ThemeProvider(_ref) {
241
241
  var newPaletteKey = paletteKeys[0];
242
242
 
243
243
  if (paletteKeys.length > 0 && palette === paletteKeys[0]) {
244
- var _paletteKeys = _slicedToArray(paletteKeys, 2);
245
-
246
- newPaletteKey = _paletteKeys[1];
244
+ newPaletteKey = paletteKeys[1];
247
245
  }
248
246
 
249
247
  updatePalette(newPaletteKey);
@@ -5502,10 +5500,10 @@ function _objectSpread$2t(target) { for (var i = 1; i < arguments.length; i++) {
5502
5500
  var humanizeDuration = function humanizeDuration() {
5503
5501
  var samples = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
5504
5502
 
5505
- var _formatSeconds$toTime = formatSeconds(samples).toTime(),
5506
- hours = _formatSeconds$toTime.hours,
5507
- minutes = _formatSeconds$toTime.minutes,
5508
- seconds = _formatSeconds$toTime.seconds;
5503
+ var _formatTimeCodeSecond = formatTimeCodeSeconds(samples).toTime(),
5504
+ hours = _formatTimeCodeSecond.hours,
5505
+ minutes = _formatTimeCodeSecond.minutes,
5506
+ seconds = _formatTimeCodeSecond.seconds;
5509
5507
 
5510
5508
  var duration = ["".concat(seconds !== undefined ? seconds : 1, "s")];
5511
5509
  if (minutes > 0) duration.unshift("".concat(minutes, "m"));
@@ -6093,7 +6091,7 @@ function JobFooterContextProvider(_ref) {
6093
6091
 
6094
6092
  var _style, _path$3, _g$1;
6095
6093
 
6096
- function _extends$3() { _extends$3 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
6094
+ function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
6097
6095
 
6098
6096
  var SvgBitmovin24 = function SvgBitmovin24(props) {
6099
6097
  return /*#__PURE__*/React.createElement("svg", _extends$3({
@@ -6136,7 +6134,7 @@ function BitmovinIcon(props) {
6136
6134
 
6137
6135
  var _defs$1, _path$2, _g;
6138
6136
 
6139
- function _extends$2() { _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
6137
+ function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
6140
6138
 
6141
6139
  var SvgMediaconvert24 = function SvgMediaconvert24(props) {
6142
6140
  return /*#__PURE__*/React.createElement("svg", _extends$2({
@@ -6182,7 +6180,7 @@ function MediaConvertIcon(props) {
6182
6180
 
6183
6181
  var _defs, _path$1, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _path25;
6184
6182
 
6185
- function _extends$1() { _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
6183
+ function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
6186
6184
 
6187
6185
  var SvgVidispine24 = function SvgVidispine24(props) {
6188
6186
  return /*#__PURE__*/React.createElement("svg", _extends$1({
@@ -7663,8 +7661,10 @@ var useItemTimespanEdit = function useItemTimespanEdit(_ref) {
7663
7661
  if (video && !initialValues.startSmpte && !initialValues.endSmpte) {
7664
7662
  var _video$currentTime = video.currentTime,
7665
7663
  currentTime = _video$currentTime === void 0 ? 0 : _video$currentTime;
7666
- var timeBase = formatTimeBase(sampleRate);
7667
- var currentSmpte = formatSeconds(currentTime, timeBase).toSmpte();
7664
+ var timeBase = createTimeBase(sampleRate);
7665
+ var currentSmpte = formatTimeCodeSeconds(currentTime, {
7666
+ timeBase: timeBase
7667
+ }).toSmpte();
7668
7668
  initialValues.startSmpte = currentSmpte;
7669
7669
  initialValues.endSmpte = currentSmpte;
7670
7670
  }
@@ -7697,8 +7697,12 @@ var useItemTimespanEdit = function useItemTimespanEdit(_ref) {
7697
7697
  };
7698
7698
  }
7699
7699
 
7700
- var start = hasChangedStart || !initialStart ? formatSmpte(startSmpte, sampleRate).toText() : initialStart;
7701
- var end = hasChangedEnd || !initialEnd ? formatSmpte(endSmpte, sampleRate).toText() : initialEnd;
7700
+ var start = hasChangedStart || !initialStart ? formatTimeCodeSmpte(startSmpte, {
7701
+ timeBase: sampleRate
7702
+ }).toText() : initialStart;
7703
+ var end = hasChangedEnd || !initialEnd ? formatTimeCodeSmpte(endSmpte, {
7704
+ timeBase: sampleRate
7705
+ }).toText() : initialEnd;
7702
7706
  var metadataDocument = createMetadataType(_objectSpread$2g({
7703
7707
  start: start,
7704
7708
  end: end
@@ -21953,7 +21957,7 @@ var defaultListItemAvatarComponent = function defaultListItemAvatarComponent(_re
21953
21957
  if (isEvent) {
21954
21958
  labelRightBottom = end.subtract(start).toSmpte();
21955
21959
  } else if (durationSeconds) {
21956
- labelRightBottom = formatSeconds(durationSeconds).toDuration();
21960
+ labelRightBottom = formatTimeCodeSeconds(durationSeconds).toDuration();
21957
21961
  }
21958
21962
 
21959
21963
  var thumbnail = findNearestThumbnail(itemType, startTimecodeText);
@@ -26119,10 +26123,12 @@ function ItemVideoPlayer(_ref) {
26119
26123
  var _thumbnailList = _slicedToArray(thumbnailList, 1),
26120
26124
  poster = _thumbnailList[0];
26121
26125
 
26122
- var timeBase = formatTimeBase(sampleRate);
26126
+ var timeBase = createTimeBase(sampleRate);
26123
26127
 
26124
26128
  var defaultOnScreenshot = function defaultOnScreenshot(seconds) {
26125
- var timeText = formatSeconds(seconds, timeBase).toText();
26129
+ var timeText = formatTimeCodeSeconds(seconds, {
26130
+ timeBase: timeBase
26131
+ }).toText();
26126
26132
  var priority = 'HIGHEST';
26127
26133
  var createThumbnails = timeText;
26128
26134
  var createPosters = timeText;
@@ -28815,7 +28821,7 @@ function SearchResultTable(_ref) {
28815
28821
 
28816
28822
  var _path;
28817
28823
 
28818
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
28824
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
28819
28825
 
28820
28826
  var SvgFoldermultiple24 = function SvgFoldermultiple24(props) {
28821
28827
  return /*#__PURE__*/React.createElement("svg", _extends({
@@ -33116,7 +33122,9 @@ var useComments = function useComments(_ref) {
33116
33122
  commentTimecode = _useState6[0],
33117
33123
  setCommentTimecode = _useState6[1];
33118
33124
 
33119
- var smpteTimecode = commentTimecode ? formatSeconds(commentTimecode, timeBase).toSmpte() : undefined;
33125
+ var smpteTimecode = commentTimecode ? formatTimeCodeSeconds(commentTimecode, {
33126
+ timeBase: timeBase
33127
+ }).toSmpte() : undefined;
33120
33128
  var commentList = useMemo(function () {
33121
33129
  if (!metadataType || !metadataType.timespan) return undefined;
33122
33130
  var _metadataType$timespa = metadataType.timespan,
@@ -33200,7 +33208,9 @@ var useComments = function useComments(_ref) {
33200
33208
  var metadataDocument = createMetadataType(_defineProperty({}, commentField, newComment));
33201
33209
 
33202
33210
  if (commentTimecode) {
33203
- var start = formatSeconds(commentTimecode, timeBase);
33211
+ var start = formatTimeCodeSeconds(commentTimecode, {
33212
+ timeBase: timeBase
33213
+ });
33204
33214
  start.samples = Math.round(start.samples);
33205
33215
  metadataDocument.timespan[0].start = start.toText();
33206
33216
  start.samples += 1;
package/dist/index.js CHANGED
@@ -430,9 +430,7 @@ function ThemeProvider(_ref) {
430
430
  var newPaletteKey = paletteKeys[0];
431
431
 
432
432
  if (paletteKeys.length > 0 && palette === paletteKeys[0]) {
433
- var _paletteKeys = _slicedToArray__default["default"](paletteKeys, 2);
434
-
435
- newPaletteKey = _paletteKeys[1];
433
+ newPaletteKey = paletteKeys[1];
436
434
  }
437
435
 
438
436
  updatePalette(newPaletteKey);
@@ -5691,10 +5689,10 @@ function _objectSpread$2t(target) { for (var i = 1; i < arguments.length; i++) {
5691
5689
  var humanizeDuration = function humanizeDuration() {
5692
5690
  var samples = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
5693
5691
 
5694
- var _formatSeconds$toTime = vdtJs.formatSeconds(samples).toTime(),
5695
- hours = _formatSeconds$toTime.hours,
5696
- minutes = _formatSeconds$toTime.minutes,
5697
- seconds = _formatSeconds$toTime.seconds;
5692
+ var _formatTimeCodeSecond = vdtJs.formatTimeCodeSeconds(samples).toTime(),
5693
+ hours = _formatTimeCodeSecond.hours,
5694
+ minutes = _formatTimeCodeSecond.minutes,
5695
+ seconds = _formatTimeCodeSecond.seconds;
5698
5696
 
5699
5697
  var duration = ["".concat(seconds !== undefined ? seconds : 1, "s")];
5700
5698
  if (minutes > 0) duration.unshift("".concat(minutes, "m"));
@@ -6282,7 +6280,7 @@ function JobFooterContextProvider(_ref) {
6282
6280
 
6283
6281
  var _style, _path$3, _g$1;
6284
6282
 
6285
- function _extends$3() { _extends$3 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
6283
+ function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
6286
6284
 
6287
6285
  var SvgBitmovin24 = function SvgBitmovin24(props) {
6288
6286
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$3({
@@ -6325,7 +6323,7 @@ function BitmovinIcon(props) {
6325
6323
 
6326
6324
  var _defs$1, _path$2, _g;
6327
6325
 
6328
- function _extends$2() { _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
6326
+ function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
6329
6327
 
6330
6328
  var SvgMediaconvert24 = function SvgMediaconvert24(props) {
6331
6329
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$2({
@@ -6371,7 +6369,7 @@ function MediaConvertIcon(props) {
6371
6369
 
6372
6370
  var _defs, _path$1, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24, _path25;
6373
6371
 
6374
- function _extends$1() { _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
6372
+ function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }
6375
6373
 
6376
6374
  var SvgVidispine24 = function SvgVidispine24(props) {
6377
6375
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$1({
@@ -7852,8 +7850,10 @@ var useItemTimespanEdit = function useItemTimespanEdit(_ref) {
7852
7850
  if (video && !initialValues.startSmpte && !initialValues.endSmpte) {
7853
7851
  var _video$currentTime = video.currentTime,
7854
7852
  currentTime = _video$currentTime === void 0 ? 0 : _video$currentTime;
7855
- var timeBase = vdtJs.formatTimeBase(sampleRate);
7856
- var currentSmpte = vdtJs.formatSeconds(currentTime, timeBase).toSmpte();
7853
+ var timeBase = vdtJs.createTimeBase(sampleRate);
7854
+ var currentSmpte = vdtJs.formatTimeCodeSeconds(currentTime, {
7855
+ timeBase: timeBase
7856
+ }).toSmpte();
7857
7857
  initialValues.startSmpte = currentSmpte;
7858
7858
  initialValues.endSmpte = currentSmpte;
7859
7859
  }
@@ -7886,8 +7886,12 @@ var useItemTimespanEdit = function useItemTimespanEdit(_ref) {
7886
7886
  };
7887
7887
  }
7888
7888
 
7889
- var start = hasChangedStart || !initialStart ? vdtJs.formatSmpte(startSmpte, sampleRate).toText() : initialStart;
7890
- var end = hasChangedEnd || !initialEnd ? vdtJs.formatSmpte(endSmpte, sampleRate).toText() : initialEnd;
7889
+ var start = hasChangedStart || !initialStart ? vdtJs.formatTimeCodeSmpte(startSmpte, {
7890
+ timeBase: sampleRate
7891
+ }).toText() : initialStart;
7892
+ var end = hasChangedEnd || !initialEnd ? vdtJs.formatTimeCodeSmpte(endSmpte, {
7893
+ timeBase: sampleRate
7894
+ }).toText() : initialEnd;
7891
7895
  var metadataDocument = vdtJs.createMetadataType(_objectSpread$2g({
7892
7896
  start: start,
7893
7897
  end: end
@@ -22142,7 +22146,7 @@ var defaultListItemAvatarComponent = function defaultListItemAvatarComponent(_re
22142
22146
  if (isEvent) {
22143
22147
  labelRightBottom = end.subtract(start).toSmpte();
22144
22148
  } else if (durationSeconds) {
22145
- labelRightBottom = vdtJs.formatSeconds(durationSeconds).toDuration();
22149
+ labelRightBottom = vdtJs.formatTimeCodeSeconds(durationSeconds).toDuration();
22146
22150
  }
22147
22151
 
22148
22152
  var thumbnail = vdtJs.findNearestThumbnail(itemType, startTimecodeText);
@@ -26308,10 +26312,12 @@ function ItemVideoPlayer(_ref) {
26308
26312
  var _thumbnailList = _slicedToArray__default["default"](thumbnailList, 1),
26309
26313
  poster = _thumbnailList[0];
26310
26314
 
26311
- var timeBase = vdtJs.formatTimeBase(sampleRate);
26315
+ var timeBase = vdtJs.createTimeBase(sampleRate);
26312
26316
 
26313
26317
  var defaultOnScreenshot = function defaultOnScreenshot(seconds) {
26314
- var timeText = vdtJs.formatSeconds(seconds, timeBase).toText();
26318
+ var timeText = vdtJs.formatTimeCodeSeconds(seconds, {
26319
+ timeBase: timeBase
26320
+ }).toText();
26315
26321
  var priority = 'HIGHEST';
26316
26322
  var createThumbnails = timeText;
26317
26323
  var createPosters = timeText;
@@ -29004,7 +29010,7 @@ function SearchResultTable(_ref) {
29004
29010
 
29005
29011
  var _path;
29006
29012
 
29007
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
29013
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
29008
29014
 
29009
29015
  var SvgFoldermultiple24 = function SvgFoldermultiple24(props) {
29010
29016
  return /*#__PURE__*/React__namespace.createElement("svg", _extends({
@@ -33305,7 +33311,9 @@ var useComments = function useComments(_ref) {
33305
33311
  commentTimecode = _useState6[0],
33306
33312
  setCommentTimecode = _useState6[1];
33307
33313
 
33308
- var smpteTimecode = commentTimecode ? vdtJs.formatSeconds(commentTimecode, timeBase).toSmpte() : undefined;
33314
+ var smpteTimecode = commentTimecode ? vdtJs.formatTimeCodeSeconds(commentTimecode, {
33315
+ timeBase: timeBase
33316
+ }).toSmpte() : undefined;
33309
33317
  var commentList = React.useMemo(function () {
33310
33318
  if (!metadataType || !metadataType.timespan) return undefined;
33311
33319
  var _metadataType$timespa = metadataType.timespan,
@@ -33389,7 +33397,9 @@ var useComments = function useComments(_ref) {
33389
33397
  var metadataDocument = vdtJs.createMetadataType(_defineProperty__default["default"]({}, commentField, newComment));
33390
33398
 
33391
33399
  if (commentTimecode) {
33392
- var start = vdtJs.formatSeconds(commentTimecode, timeBase);
33400
+ var start = vdtJs.formatTimeCodeSeconds(commentTimecode, {
33401
+ timeBase: timeBase
33402
+ });
33393
33403
  start.samples = Math.round(start.samples);
33394
33404
  metadataDocument.timespan[0].start = start.toText();
33395
33405
  start.samples += 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidispine/vdt-materialui",
3
- "version": "22.3.0-pre.5",
3
+ "version": "22.3.0",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -26,15 +26,15 @@
26
26
  "new:component": "hygen new component"
27
27
  },
28
28
  "dependencies": {
29
- "@babel/runtime": "^7.17.0",
30
- "@vidispine/vdt-api": "22.3.0-pre.5",
31
- "@vidispine/vdt-js": "22.3.0-pre.5",
32
- "@vidispine/vdt-react": "22.3.0-pre.5",
33
- "@vidispine/vdt-videojs-react": "22.3.0-pre.5",
34
- "clsx": "^1.1.1",
35
- "core-js": "^3.8.3",
36
- "filesize": "^6.1.0",
37
- "final-form": "^4.20.1",
29
+ "@babel/runtime": "^7.18.9",
30
+ "@vidispine/vdt-api": "22.3.0",
31
+ "@vidispine/vdt-js": "22.3.0",
32
+ "@vidispine/vdt-react": "22.3.0",
33
+ "@vidispine/vdt-videojs-react": "22.3.0",
34
+ "clsx": "^1.2.1",
35
+ "core-js": "^3.24.1",
36
+ "filesize": "^6.4.0",
37
+ "final-form": "^4.20.7",
38
38
  "lodash.clonedeep": "^4.5.0",
39
39
  "lodash.constant": "^3.0.0",
40
40
  "lodash.debounce": "^4.0.8",
@@ -43,49 +43,49 @@
43
43
  "lodash.truncate": "^4.4.2",
44
44
  "lodash.update": "^4.10.2",
45
45
  "lodash.updatewith": "^4.10.2",
46
- "moment": "2.28.0",
47
- "pdfjs-dist": "2.9.359",
46
+ "moment": "^2.29.4",
47
+ "pdfjs-dist": "^2.15.349",
48
48
  "react-beautiful-dnd": "^13.1.0",
49
49
  "react-dnd": "^11.1.3",
50
50
  "react-dnd-html5-backend": "^11.1.3",
51
- "react-dropzone": "^11.2.4",
52
- "react-final-form": "^6.5.2",
53
- "react-pdf": "^5.4.0",
54
- "react-select": "^4.3.1",
51
+ "react-dropzone": "^11.7.1",
52
+ "react-final-form": "^6.5.9",
53
+ "react-pdf": "^5.7.2",
54
+ "react-select": "^5.4.0",
55
55
  "react-sizeme": "^3.0.2",
56
- "typeface-exo-2": "^1.1.4",
57
- "typeface-roboto": "^0.0.75"
56
+ "typeface-exo-2": "^1.1.13",
57
+ "typeface-roboto": "^1.1.13"
58
58
  },
59
59
  "peerDependencies": {
60
- "@material-ui/core": "^4.11.1",
61
- "@material-ui/icons": "^4.9.1",
62
- "@material-ui/lab": "^4.0.0-alpha.56",
63
- "react": "^17.0.2",
64
- "react-dom": "^17.0.2"
60
+ "@material-ui/core": "^4.0.0",
61
+ "@material-ui/icons": "^4.0.0",
62
+ "@material-ui/lab": "^4.0.0-alpha.0",
63
+ "react": "^17.0.0",
64
+ "react-dom": "^17.0.0"
65
65
  },
66
66
  "devDependencies": {
67
- "@babel/core": "^7.17.0",
68
- "@babel/plugin-transform-runtime": "^7.17.0",
69
- "@babel/preset-env": "^7.16.11",
70
- "@babel/preset-react": "^7.16.7",
71
- "@rollup/plugin-babel": "^5.3.0",
72
- "@rollup/plugin-commonjs": "^21.0.1",
73
- "@rollup/plugin-node-resolve": "^13.1.3",
74
- "@svgr/rollup": "^6.2.1",
75
- "@vidispine/eslint-config-react": "22.3.0-pre.5",
76
- "@vidispine/eslint-config-storybook": "22.3.0-pre.5",
77
- "@vidispine/prettier-config": "22.3.0-pre.5",
78
- "@vidispine/proptypes": "22.3.0-pre.5",
79
- "@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
80
- "axios-mock-adapter": "^1.20.0",
67
+ "@babel/core": "^7.18.10",
68
+ "@babel/plugin-transform-runtime": "^7.18.10",
69
+ "@babel/preset-env": "^7.18.10",
70
+ "@babel/preset-react": "^7.18.6",
71
+ "@rollup/plugin-babel": "^5.3.1",
72
+ "@rollup/plugin-commonjs": "^21.1.0",
73
+ "@rollup/plugin-node-resolve": "^13.3.0",
74
+ "@svgr/rollup": "^6.3.1",
75
+ "@vidispine/eslint-config-react": "22.3.0",
76
+ "@vidispine/eslint-config-storybook": "22.3.0",
77
+ "@vidispine/prettier-config": "22.3.0",
78
+ "@vidispine/proptypes": "22.3.0",
79
+ "@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
80
+ "axios-mock-adapter": "^1.21.2",
81
81
  "enzyme": "^3.11.0",
82
82
  "faker": "^5.5.3",
83
- "hygen": "^6.1.0",
83
+ "hygen": "^6.2.8",
84
84
  "lodash.sample": "^4.2.1",
85
85
  "lodash.times": "^4.3.2",
86
86
  "moment-duration-format": "^2.3.2",
87
87
  "prop-types": "^15.8.1",
88
- "rollup": "^2.67.0",
88
+ "rollup": "^2.78.0",
89
89
  "rollup-plugin-peer-deps-external": "^2.2.4"
90
90
  },
91
91
  "scarfSettings": {
@@ -110,5 +110,5 @@
110
110
  }
111
111
  },
112
112
  "prettier": "@vidispine/prettier-config",
113
- "gitHead": "b7c1ead11e7e2fc68c5fb0072e6dbdb019f26ddc"
113
+ "gitHead": "bf53eaf85f596bc3cc70b490d18dbf3c59045350"
114
114
  }